What is a foreign key in a relational database?

Practice Questions

1 question
Q1
What is a foreign key in a relational database?
  1. A key that uniquely identifies a record
  2. A key that links two tables together
  3. A key that is used for indexing
  4. A key that is automatically generated

Questions & Step-by-step Solutions

1 item
Q
Q: What is a foreign key in a relational database?
Solution: A foreign key is a field (or collection of fields) in one table that uniquely identifies a row of another table.
Steps: 7

Related Questions

Soulshift Feedback ×

On a scale of 0–10, how likely are you to recommend The Soulshift Academy?

Not likely Very likely