select table_name ,column_name from information_schema.columns where table_schema='mydb' and column_name='mycol'
查找mydb数据库中mycol字段都在哪些表中存在。
select table_name ,column_name from information_schema.columns where table_schema='mydb' and column_name='mycol'
查找mydb数据库中mycol字段都在哪些表中存在。