mysql查看表名及注释的方法:执行【select table_name from information_schema.tables where table_schema='数据库名称';】语句即可查看。

查询所有表名
(推荐教程:mysql视频教程)
select table_name from information_schema.tables where table_schema='数据库名称';查询数据库表名的注释:
select table_name 表名,TABLE_COMMENT 表注释 from INFORMATION_SCHEMA.TABLES Where table_schema = '数据库名称' AND table_name ="表名"相关推荐:mysql教程
以上就是mysql如何查看表名及注释的详细内容,转载自php中文网

发表评论 取消回复