A relational database is designed to enforce the uniqueness of primary keys by allowing only one row with a given primary key value in a table. A foreign key is a column or a set of columns in a table whose values correspond to the values of the primary key in another table.
Answers & Comments
Answer:
A primary key generally focuses on the uniqueness of the table. It assures the value in the specific column is unique.
A foreign key is generally used to build a relationship between the two tables. Table allows only one primary key.
Verified answer
Explanation:
A relational database is designed to enforce the uniqueness of primary keys by allowing only one row with a given primary key value in a table. A foreign key is a column or a set of columns in a table whose values correspond to the values of the primary key in another table.
THANKS