mysql query to get table column names code example
Example: mysql to get column name in database
SELECT table_name, column_name from information_schema.columns WHERE column_name LIKE '%column_name_to_search%';
SELECT table_name, column_name from information_schema.columns WHERE column_name LIKE '%column_name_to_search%';