Question: DELETE FROM department WHERE department _ no = 2 ; As you delete the contents of department _ no = 2 in the department table
DELETE FROM department WHERE departmentno;
As you delete the contents of departmentno in the department table it automatically deletes the details of departmentno from the employee table also. This works out because the foreign key constraint ON DELETE CASCADE is specified
Convert the ER schema for Bank database given below into a relationd schema.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
