SELECT GROUP_CONCAT(column_name) FROM information_schema.columns WHERE table_name=‘表名‘ AND table_schema=‘数据库名称‘;
不常用的Sql
原文:https://www.cnblogs.com/HelloZyjS/p/12598006.html