版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/m0_38126105/article/details/85451865
select COLUMN_NAME from information_schema.COLUMNS where table_name = '表名' and table_schema='数据库名';
实测有效
select COLUMN_NAME from information_schema.COLUMNS where table_name = '表名' and table_schema='数据库名';
实测有效