select column_name from information_schema.`COLUMNS` where table_schema='recheck_model' and table_name = 'problem_model';
调用information_schema中的columns视图,使用where语句将自己的数据库和数据表的名称
MySQL查询表中的列表名称
最新推荐文章于 2024-07-03 03:22:23 发布
select column_name from information_schema.`COLUMNS` where table_schema='recheck_model' and table_name = 'problem_model';
调用information_schema中的columns视图,使用where语句将自己的数据库和数据表的名称