mysql查询一个表的主键被哪些表所调用 发表于 2018-05-30 更新于 2019-07-18 分类于 mysql , 数据库 use information_schema; show tables; select * from KEY_COLUMN_USAGE where COLUMN_NAME=’xx_id’;