不常用的Sql

不常用的Sql


查询指定表的所有字段
SELECT GROUP_CONCAT(column_name) FROM information_schema.columns 
WHERE table_name='表名' AND table_schema='数据库名称';
原文地址:https://www.cnblogs.com/HelloZyjS/p/12598006.html