mysql 查询字段名所在的表

select * from (select * from information_schema.COLUMNS where table_schema = '数据库名') temp where column_name = '字段名'

posted @ 2018-11-09 18:23  西瓜霜  阅读(1851)  评论(0编辑  收藏  举报