Answer by LukStorms for How to find tables with two column names in a database
Use OR or IN.Then grouped by the table_name, it should be having 2 columns.MySqlSELECT table_name FROM information_schema.columnsWHERE column_name IN ('COLUMN_1', 'COLUMN_2') GROUP BY table_nameHAVING...
View ArticleAnswer by Ali Fidanli for How to find tables with two column names in a database
You can use :select table_name from all_tab_columns where column_name = 'COLUMN_1' and table_name in (select table_name from all_tab_columns where column_name = 'COLUMN_2')
View ArticleHow to find tables with two column names in a database
I am trying to find a table in a database that has two column names. If I try to search the DB for a table with one column name I am able to pull back a list of table names that has that column, but...
View Article