mysql如何查看表名及注释
时间:2022-02-25 11:44
mysql查看表名及注释的方法:执行【select table_name from information_schema.tables where table_schema='数据库名称';】语句即可查看。 查询所有表名 (推荐教程:mysql视频教程) 查询数据库表名的注释: 相关推荐:mysql教程 以上就是mysql如何查看表名及注释的详细内容,更多请关注gxlsystem.com其它相关文章!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 ="表名"