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 department_no=2;
As you delete the contents of department_no =2 in the department table it automatically deletes the details of department_no=2 from the employee table also. This works out because the foreign key constraint ON DELETE CASCADE is specified
14. Convert the ER schema for Bank database given below into a relationd schema.
 DELETE FROM department WHERE department_no=2; As you delete the contents of

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!