The attempt will fail because DELETE is set to RESTRICT (see the Table Setup SQL window) and there are two employees with the foreign key of DeptID = ‘d002’ referencing this department row in the Departments table.
The attempt willfail because DELETE is set to RESTRICT (see the Table SetupSQL window) and there are two employees with the foreign key ofDeptID = ‘d002’ referencing this department row in theDepartments table.