sql query to find oracle version code example Example: oracle db version query SELECT * FROM v$version;