4
QuizMultiple Choice

Creating a Database — Unit test

Question 4 • VA-Information Technology Fundamentals B

What is a foreign key?

Answer
A
a security key to a database that stores foreign data
B
a security key to a database located in another country
C
a field in a table that uniquely identifies a record in a relational database
D
a field in a table that links it to other tables in a relational database

Explanation

A foreign key is a field (or set of fields) in one table that refers to a key in another table, linking related records. For example, an Orders table might contain a CustomerID that matches a customer’s ID in the Customers table. Choice C describes a primary key, which uniquely identifies a record within its own table.

AI-written and checked against the verified answer.

Previous
Next