Answers for "select all field names for a table mysql"

SQL
1

select all field names for a table mysql

DESCRIBE my_table;
Posted by: Guest on February-24-2022
-1

mysql select all table that have field names

SELECT DISTINCT
	TABLE_NAME
FROM
	INFORMATION_SCHEMA.COLUMNS
WHERE
	COLUMN_NAME IN('column1', 'column2')
	AND TABLE_SCHEMA = 'schema_name';
Posted by: Guest on November-12-2020

Code answers related to "select all field names for a table mysql"

Code answers related to "SQL"

Browse Popular Code Answers by Language