mysql数据库查询某个字段在哪张表中

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

posted @ 2020-01-02 09:40  superming168  阅读(4211)  评论(0编辑  收藏  举报