select column_name,column_comment,data_type 数据库
from information_schema.columns orm
where table_name='查询表名称' and table_schema='数据库名称'io
经过以上语句能够查到数据库表的字段属性table
end~form