mysql怎么查看表的comment[mysql基础教程]
查看表的 comment
(推荐教程:mysql数据库学习教程)
SELECT table_name, table_commentFROM information_schema.tables
WHERE table_schema = 'schema_name' AND table_name = 'table_name';
查看表中 columns 的 comment
SELECT column_name, column_commentFROM information_schema.columns
WHERE table_schema = 'schema_name' AND table_name = 'table_name';
以上是 mysql怎么查看表的comment[mysql基础教程] 的全部内容, 来源链接: utcz.com/z/528972.html