Complete the sentence to identify the key that uniquely identifies each record in a table.
The [1] key uniquely identifies each record in a database table.
The primary key is a unique identifier for each record in a table. It cannot be null and must be unique.
Complete the sentence to identify the key that can potentially be chosen as a primary key.
A [1] key is a minimal set of attributes that can uniquely identify a record.A candidate key is a column or set of columns that can uniquely identify rows in a table. One candidate key is chosen as the primary key.
Complete the sentence to identify the key that links two tables.
A [1] key is used to link two tables.A foreign key is a field in one table that refers to the primary key in another table, creating a link between the two tables.
Fill both blanks to complete the definition of a super key.
A [1] key is a set of one or more attributes that [2] uniquely identify a record in a table.
A super key is any combination of columns that can uniquely identify a record. It can include extra attributes beyond what is necessary.
Fill all three blanks to complete the dictionary comprehension that selects candidate keys from a list.
candidate_keys = { [1]: [2] for [3] in keys if is_candidate([3]) }This comprehension creates a dictionary where keys are candidate keys in uppercase, and values are the original keys. The variable k iterates over keys.