Is it possible to write a query:
SELECT * from table1, table 2, table 3 ...
where table1.column name like table2.column name like table3.column name
We don't know the name of our column, we say any of our columns which are in table1.column name like table2.column name in like table3.column name
For example: employee id maybe is a column that is common to 3 tables, or publisher id is a column that is common to 3 tables.
I can find the foreign key or primary key with a diagram in my database, but I want to write a query that shows just columns which have a same title as column name.