What is the function of the foreign key when referring to tables in a relational database?
Question options:
To encrypt data using a symmetrical key
To provide a unique identifier for each row of a table
To decrypt data using an asymmetrical key
To lookup values in a parent table to ensure referential integrity
The table containing the foreign key is called the child table, and the table containing the candidate key is called the referenced or parent table.
A foreign key is a column or group of columns in a relational database table that provides a link between data in two tables. It acts as a cross-reference between tables because it references the primary key of another table, thereby establishing a link between them
Get Answers For Free
Most questions answered within 1 hours.