mysql查询那些表中包含某个字段

select * from information_schema.columns where TABLE_SCHEMA=‘数据库名’ and COLUMN_NAME=‘字段名’

发布了45 篇原创文章 · 获赞 0 · 访问量 1242

猜你喜欢

转载自blog.csdn.net/weixin_44853669/article/details/104710033