Computer Science, asked by sehar5799, 1 year ago

How to create table in sql with foreign key without quary?

Answers

Answered by swatisharma28589
0
A FOREIGN KEY constraint does not have to be linked only to a PRIMARY KEY constraint in another table; it can also be defined to reference the columns of a UNIQUE constraint in another table. So in your case if you make AnotherID unique, it will be allowed.
Similar questions