mysql 查询数据表的所有列名

 

 

查询数据表的所有列的列名

 select group_concat(COLUMN_NAME SEPARATOR  ',') from information_schema.COLUMNS where table_name = 'wx_fans';

 

posted on 2019-12-03 16:01  running-fly  阅读(2580)  评论(0编辑  收藏  举报

导航