How to select all tables that contain a specific column?
Advertisement
Answer
Is this what you expect?
SELECT table_name FROM information_schema.columns WHERE column_name = 'your_column_name'
How to select all tables that contain a specific column?
Is this what you expect?
SELECT table_name FROM information_schema.columns WHERE column_name = 'your_column_name'