我想要知道父表中的记录,有没有被子表中的外键指向。
父表建表语句:
CREATE TABLE tb_super_specialist(super_id integer primary key, super_name varchar(10), super_hospital integer, super_infor TEXT, foreign key(super_hospital) references tb_hospital(hospital_id) on delete cascade )CREATE