Questions and Answers
What is a primary key in a relational database?
A field that is unique for each entity
What is the purpose of a foreign key in a relational database?
To create a relationship between two tables
What is the advantage of using primary keys in a relational database?
Used to join tables and ensure data integrity
What is the purpose of an entity in a relational database?
Signup and view all the answers
What is the purpose of a database schema?
Signup and view all the answers