Answers for "mysql get column list"

SQL
1

MySql get fields of table

SELECT COLUMN_NAME
  FROM INFORMATION_SCHEMA.COLUMNS
  WHERE TABLE_SCHEMA = 'my_database' AND TABLE_NAME = 'my_table';
Posted by: Guest on November-03-2020
1

mysql list table columns

DESCRIBE [TABLE_NAME];
Posted by: Guest on July-01-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language