标签: sql
当我尝试在apply表中插入一行时,出现1452错误:
apply
错误#1452 - 无法添加或更新子行:外键约束失败(banking。apply,CONSTRAINT apply_ibfk_2 FOREIGN KEY(loanID)REFERENCES { {1}}(loan))
banking
apply_ibfk_2
loanID
loan
我为申请贷款的客户创建了一个表格,我的申请指导员是这样的;