Computer Science, asked by princeranjit, 1 year ago

Difference between primary key and foreign key.

Answers

Answered by jahidsonu
58
A primary key is a column or a set of columns that uniquely identify a row in a table. A primary key should be short, stable and simple. A foreign key is a field (or collection of fields) in a table whose value is required to match the value of the primary key for a second table. ... A table can have multipleforeign keys.

princeranjit: Thanks
jahidsonu: welcum bri
jahidsonu: bro*
Answered by bvenkaiahkvnpa
39

Answer:

Explanation:

HEY MATE HERE IS YOUR ANSWER

Primary key : is unique key which identifies a row In a table of dbms.

It cannot accept null values

Foreign key : is key which identifies a column/set of columns in one (referencing table ) to column / set of columns in (referenced table).

Can accept null values

Please mark this ans has brainliest.

Similar questions