Computer Science, asked by 26sabnoorkhan, 5 months ago

Define primary key and foreign key .​

Answers

Answered by alizaaly999
12

Answer:

Explanation:

A primary key is used to ensure data in the specific column is unique. A foreign key is a column or group of columns in a relational database table that provides a link between data in two tables. ... It refers to the field in a table which is the primary key of another table. 3. Only one primary key is allowed in a table

Answered by sareliyakrrish
7

Answer:

A primary key is used to ensure data in the specific column is unique. A foreign key is a column or group of columns in a relational database table that provides a link between data in two tables. It uniquely identifies a record in the relational database table. ... Only one primary key is allowed in a table

Similar questions