Question: From the above DDL it was found that TAB 2 is not created because ( Hint : Foreign key works with unique keys only )

From the above DDL it was found that TAB2 is not created because
(Hint : Foreign key works with unique keys only)
TAB1 and TAB2 have same column name
TAB1 has no PRIMARY KEY
UNIQUE Constraint is not mentioned for COL1 in TAB1
TAB2 has no PRIMARY KEY

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!