define primary key and foreign key
plz tell me the ans in a very simple way
Answers
Answered by
3
Answer:
A primary key is a special key in a relational database that acts as a unique identifier for each record meaning it uniquely identifies each row/record in a table and its value should be unique for each row of the table. A foreign key, on the other hand, is a field in one table that link two tables together.
Similar questions
Political Science,
5 months ago
Biology,
10 months ago
Math,
10 months ago
Math,
1 year ago
Science,
1 year ago