mysql查表的字段名

select COLUMN_NAME from information_schema.columns where table_name='表名' and TABLE_SCHEMA='库名'

猜你喜欢

转载自blog.csdn.net/haige025/article/details/84862403