使用如下命令:
select table_schema,table_name,column_name,column_type,column_key,is_nullable,column_default,column_comment,character_set_name

from information_schema.columns where table_schema='库名' and table_name='表明';


快捷方式:
desc 表名;    无注释显示

SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。

 

扫码关注我们
微信号:SRE实战
拒绝背锅 运筹帷幄