What are primary keys and foreign keys?
Primary keys are the unique identifiers for every row. They must have unique values and cannot be null. Due to their significance in relational databases, Primary keys are the most fundamental of all keys and constraints. A table can have only one Primary key. Foreign keys are both a method of ensuring data integrity and a manifestation of the relationship among tables.