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