mysql 查询指定数据库中包含指定字段的表名
2022-05-10 本文已影响0人
公输昊少
select table_name from information_schema.columns where column_name='字段名' and table_schema='数据库名称'
select table_name from information_schema.columns where column_name='字段名' and table_schema='数据库名称'