mysql只显示表名和备注

select table_name,table_comment from information_schema.tables  where table_schema='db' ;

只要改后面的table_schema为你的数据库名

结果:

猜你喜欢

转载自www.cnblogs.com/feiquan/p/10928595.html
今日推荐