mysql查找字段在哪个表中

select table_schema 数据库名称,table_name  表名 from information_schema.columns where column_name = 'comparison_approval_status'(要查询的列)

例:

  select table_schema ,table_name   from information_schema.columns where column_name = 'comparison_approval_status'

文章来源:https://www.cnblogs.com/shuilangyizu/p/8793339.html

原文地址:https://www.cnblogs.com/zl96291/p/10488064.html