Computer Science, asked by dancerqueenpp, 2 months ago

11. Define: (a) primary key. (b) foreign
key​

Answers

Answered by tiachaudhary311
3

{a)}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.

{b)}{➠}Definition: Foreign keys are the columns of a table that points to the primary key of another table.

{➠}A FOREIGN KEY is a field (or collection of fields) in one table, that refers to the PRIMARY KEY in another table. The table with the foreign key is called the child table, and the table with the primary key is called the referenced or parent table.

Answered by lalbabusah222
0

this is my answer hope it is helpful

Attachments:
Similar questions