mysql 获取一张表的所有的字段

来源:互联网 发布:淘宝代理分销 编辑:程序博客网 时间:2024/05/20 13:09


select GROUP_CONCAT(COLUMN_NAME) FROM information_schema.COLUMNS where table_name='core_team_match_events_copy';

select COLUMN_NAME from information_schema.COLUMNS where table_name = 'your_table_name' and table_schema = 'your_db_name';

原创粉丝点击