Question: Given two tables, EMP and SAL, how would you add a foreign key constraint on the emp _ no column in the SAL table, referring

Given two tables, EMP and SAL, how would you add a foreign key constraint on the emp_no column in the SAL table, referring to the id column in the EMP table?
Group of answer choices
Use the ALTER TABLE command with the MODIFY clause on the EMP table.
Use the ALTER TABLE command with the MODIFY clause on the SAL table.
Use the ALTER TABLE command with the ADD clause on the SAL table.
Use the ALTER TABLE command with the ADD clause on the EMP table.

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!