根据某个字段查找该字段在哪里表中存在

SELECT * from information_schema.columns where TABLE_SCHEMA='数据库' and COLUMN_NAME='列名'

 

相关文章: