mysql查询字段类型语句的写法:
示例
select column_name,column_comment,data_typefrom information_schema.columnswhere table_name='查询表名称' and table_schema='数据库名称'
from information_schema.columns
where table_name='查询表名称' and table_schema='数据库名称'