Answers for "mysql describe table with comments"

SQL
0

mysql, how to query the table comments?

SELECT a.COLUMN_NAME, a.COLUMN_COMMENT
FROM  information_schema.COLUMNS a 
WHERE a.TABLE_NAME = 'YOUR_TABLE_NAME'
Posted by: Guest on April-27-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language