Afficher la ligne de commande des colonnes de table mysql
SHOW COLUMNS from tablename;
ama-lion
SHOW COLUMNS from tablename;
SELECT COLUMN_NAME
FROM INFORMATION_SCHEMA.COLUMNS
WHERE TABLE_SCHEMA = 'my_database' AND TABLE_NAME = 'my_table';
DESCRIBE my_table;
DESCRIBE table_name; /* List all columns of a database's table*/