MySQLで特定の列名を持つテーブル情報を検索する
特定の列名を持つテーブル情報を検索する
SELECT table_schema, -- データベース名 table_name, -- テーブル名 column_name -- カラム名 FROM information_schema.columns WHERE column_name = [検索するカラム名] ;
SELECT table_schema, -- データベース名 table_name, -- テーブル名 column_name -- カラム名 FROM information_schema.columns WHERE column_name = [検索するカラム名] ;