Get installed sqlpatches in db - oracle database script

Get installed sqlpatches in db - Oracle Database Script.

--- From 12c onward  set lines 2000 select patch_id,status,description from dba_registry_sqlpatch;  --- For 11g and below:  set lines 2000 select * from dba_registry_history;