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

时间:2021-08-30 03:32:18   收藏:0   阅读:9
select COLUMN_NAME 
from INFORMATION_SCHEMA.Columns 
where table_name=‘表名称‘ and table_schema=‘数据库名称‘;

 

原文:https://www.cnblogs.com/hany-postq473111315/p/15202618.html

评论(0)
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!