In a relational database, what is a foreign key?

Practice Questions

1 question
Q1
In a relational database, what is a foreign key?
  1. A unique identifier for a record
  2. A key that links two tables together
  3. A key that is not indexed
  4. A key used for data encryption

Questions & Step-by-step Solutions

1 item
Q
Q: In a relational database, what is a foreign key?
Solution: A foreign key is a field (or collection of fields) in one table that uniquely identifies a row of another table, establishing a link between them.
Steps: 5

Related Questions