DBA_HIST_SQLTEXT displays the text of SQL statements belonging to shared SQL cursors captured in the Workload Repository. This view captures information from V$SQL and is used with the DBA_HIST_SQLSTAT view.
SQL identifier of the parent cursor in the library cache
Full text for the SQL statement exposed as a CLOB column
Oracle command type definition
The database ID of the PDB for the sampled session
The ID of the container that CON_DBID identifies. Possible values include:
0: This value is used for rows containing data that pertain to the entire CDB. This value is also used for rows in non-CDBs.
1: This value is used for rows containing data that pertain to only the root
n: Where n is the applicable container ID for the rows containing data