Answers for "mysql print all fields from table"

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
0

mysql all columns

-- MySQL
SELECT * 
FROM INFORMATION_SCHEMA.COLUMNS;
Posted by: Guest on May-15-2020

Code answers related to "mysql print all fields from table"

Code answers related to "SQL"

Browse Popular Code Answers by Language