What is the difference between a primary key and a foreign key?
Q1. What is the difference between a primary key and a foreign key?
Answer: Primary key uniquely identifies a record, foreign key references a primary key
Explanation: A primary key is a unique identifier for a record, while a foreign key is a field that references the primary key of another table.