lancemonotone on 02/22/10
Last Edited at 02/22/10 12:25pm
SELECT DISTINCT TABLE_NAME FROM INFORMATION_SCHEMA.COLUMNS WHERE COLUMN_NAME IN ('columnA','ColumnB') AND TABLE_SCHEMA='YourDatabase';
URL: http://stackoverflow.com/questions/193780/how-to-find-all-the-tables-in-mysql-with-specific-column-names-in-them
Report this snippet Tweet
Comment:
You need to login to post a comment.