mysql设置文档快捷写

select distinct column_name,column_comment,column_type from information_schema.columns where
table_name = '表名' and TABLE_schema='数据库名' order by ordinal_position ;

原文地址:https://www.cnblogs.com/jcz1206/p/5627217.html