mysql 查询每张表中所有的字段名

select COLUMN_NAME 
from INFORMATION_SCHEMA.Columns 
where table_name='表名称' and table_schema='数据库名称';

 

posted @ 2021-08-29 15:04  Hany47315  阅读(166)  评论(0)    收藏  举报