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如何查看表名及注释的详细内容,更多请关注本站其它相关文章!
- THE END -
最后修改:2021年1月19日
非特殊说明,本博所有文章均为博主原创。
如若转载,请注明出处:https://www.xuanloog.cn/3578.html