Quiz 3 Ch3 Flashcards
A __ is used to link one table with another in a relational database
Foreign Key
Which concept ensures that each row in a table has unique identifier and that no part of the primary key can have null value?
Entity Integrity
Which type of JOIN retains unmatched rows from one of the tables?
Outer Join
Which type of integrity does a Foreign Key enforce?
Referential Integrity
Which key is primarily used for data retrieval purposes in a relational database?
Secondary Key
What operation between two sets, A and B, results in a set C that contains the tuples common to both A and B?
Intersection
How is a Many-to-Many (M:N) relationship typically handled in a relational database?
By creating a middle (linking) table
Which relationship type would best describe Employees working in Departments where each department can have many employees, but each employee works in only one department?
One-to-Many (1:M)
Many-to-One (M:1)
In a bookstore database, each book can have multiple authors, and each author can write multiple books. How would you model this relationship?
Many-to-Many (M:M)
What does an attribute describe in a database?
A characteristic of an entity