当前位置:Gxlcms > mysql > Mysql查询列注释及列名称_MySQL

Mysql查询列注释及列名称_MySQL

时间:2021-07-01 10:21:17 帮助过:99人阅读

//查询列注释及列名称
select column_name, column_comment from information_schema.columns where table_schema ='databaseName' and table_name = 'tableName';//查询表注释及表名称
select table_name,table_comment from information_schema.tables where table_schema = 'image' and table_name ='tableName';

人气教程排行