查看一个表有多少字段:
MySQL:
select count(*) from information_schema.COLUMNS where TABLE_SCHEMA='数据库名称' and table_name='表名'select count(*)
查看一个表有多少字段:
MySQL:
select count(*) from information_schema.COLUMNS where TABLE_SCHEMA='数据库名称' and table_name='表名'select count(*)