mysql 查询某一主键在那些表中中被设置为外键了 use information_schema; show tables; select * from KEY_COLUMN_USAGE where COLUMN_NAME='areaid';