mysql display column names with different data 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%';