1.

Differentiate between Primary key and Foreign key.

Answer»

A primary key is a unique value that identifies a row in a table whereas a foreign key identifies a column or set of columns in one (referencing) table that refers to a column or set of columns in another (referenced) table. A table can have only one primary Key but a table can have multiple foreign keys.



Discussion

No Comment Found

Related InterviewSolutions