alter table tb2 add constraint b_fk foreign key (aid) references tb1(id) on delete cascade
转载于:https://www.cnblogs.com/bingyuw/articles/1319322.html
alter table tb2 add constraint b_fk foreign key (aid) references tb1(id) on delete cascade
转载于:https://www.cnblogs.com/bingyuw/articles/1319322.html