不常用的Sql

不常用的Sql


查询指定表的所有字段
SELECT GROUP_CONCAT(column_name) FROM information_schema.columns 
WHERE table_name='表名' AND table_schema='数据库名称';
posted @ 2020-03-30 13:22  HelloZyjS  阅读(119)  评论(0编辑  收藏  举报