テーブルのカラム名取得
select table_schema , table_name, column_name , column_comment from information_schema.columns where column_name like '%shohin_id%' ### 探したい項目名称を指定 and table_schema like '%DB%'; ### 探したいDB範囲を指定
上記の実行結果例

この通り、column_nameにshohin_idを持っているテーブルを全て洗い出せる。