1SELECT `COLUMN_NAME`
2FROM `INFORMATION_SCHEMA`.`COLUMNS`
3WHERE `TABLE_SCHEMA`='yourdatabasename'
4 AND `TABLE_NAME`='yourtablename';
5
1SELECT table_name, column_name from information_schema.columns WHERE column_name LIKE '%column_name_to_search%';