SQL:
select group_concat(column_name) from information_schema.columns where table_name = 't_user' and table_schema='test';
- table_name:表名
- table_schema : 库名
SQL:
select group_concat(column_name) from information_schema.columns where table_name = 't_user' and table_schema='test';