Check Oracle Database Version: SQL Query Guide
You can obtain more detailed version information by using the following SQL statement when querying version information in an Oracle database:
SELECT * FROM v$version;
This will return results similar to the following:
BANNER
---------------------------------------------------------------------------
Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.5.0.0.0
In the results, you will see rows that contain database version information, including the Oracle database version, edition information, and version number.