SQL语句查询数据库某一张表的列名
select table_name,column_name,column_comment,column_type,column_key from information_schema.Columns where table_name='表名' and table_schema='数据库名'
效果如下图:
更多推荐
SQL语句查询数据库某一张表的列名
select table_name,column_name,column_comment,column_type,column_key from information_schema.Columns where table_name='表名' and table_schema='数据库名'
效果如下图:
更多推荐
SQL语句查询数据库某一张表的列名
发布评论