Learn or Die

生涯勉強。Macです。

指定されたカラム名を持つテーブルを検索する

コード

select table_name, column_name from information_schema.columns where column_name = '検索したいカラム名' and table_schema = '検索対象のデータベース名';