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='数据库名称'
亿速云「云数据库 MySQL」免部署即开即用,比自行安装部署数据库高出1倍以上的性能,双节点冗余防止单节点故障,数据自动定期备份随时恢复。点击查看>>
相关推荐:mysql表新增字段语句怎么写