Podcast
Questions and Answers
What is the primary key in a relational database?
What is the primary key in a relational database?
- A key that can be NULL
- A key that uniquely identifies each record in a table (correct)
- A key that is a combination of foreign keys
- A key that allows duplicate values
What is the purpose of normalization in database design?
What is the purpose of normalization in database design?
- To complicate the database structure
- To allow duplicate values in tables
- To minimize redundancy and prevent anomalies (correct)
- To maximize redundancy for better data integrity
What is a foreign key in a relational database?
What is a foreign key in a relational database?
- A field in a table that matches the primary key of another table (correct)
- A key that allows duplicate values
- A key that can be NULL
- A key that uniquely identifies each record in a table
In relational database design, what does the term 'composite key' refer to?
In relational database design, what does the term 'composite key' refer to?
What is the purpose of integrity constraints in a relational database?
What is the purpose of integrity constraints in a relational database?