Difference between primary key and foreign key.
Answers
Answered by
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
Answered by
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
English,
8 months ago