mysql如何查看表名及注释

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

mysql如何查看表名及注释

查询所有表名

(推荐教程: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视频教程

以上就是

© 版权声明
THE END
喜欢就支持一下吧
点赞15 分享