📅  最后修改于: 2022-03-11 15:05:01.939000             🧑  作者: Mango
select tab.table_schema as database_name,
tab.table_name
from information_schema.tables as tab
inner join information_schema.columns as col
on col.table_schema = tab.table_schema
and col.table_name = tab.table_name
and column_name = 'your column name'
where tab.table_type = 'BASE TABLE'
order by tab.table_schema,
tab.table_name;