mysql查询某个表的所有列名:
select group_concat(column_name) from information_schema.COLUMNS where table_name='你的表名' and table_schema='你的数据库名';
执行结果
mysql查询某个表的所有列名:
select group_concat(column_name) from information_schema.COLUMNS where table_name='你的表名' and table_schema='你的数据库名';
执行结果