Hi Experts,
Database :- Oracle Database 12c Enterprise Edition Release 12.1.0.1.0 - 64bit Production.
I have to list out all tables that have both columns ST_NUM and ST_TYPE. If a table has only ST_NUM, then I do not want to display results. Similarly if the table has only ST_TYPE column I do not want to display results. I need list of table as result that has both columns ST_NUM and ST_TYPE.
I tried below query :-
-- Did not give me proper results.
SELECT TABLE_NAME from dba_tab_columns where column_name = 'ST_NUM' and column_name ='ST_TYPE'
Appreciate help.
Thanks.