In a database, what does a 'foreign key' do?

Practice Questions

1 question
Q1
In a database, what does a 'foreign key' do?
  1. Links two tables together
  2. Identifies a unique record
  3. Stores large amounts of data
  4. Indexes a table for faster access

Questions & Step-by-step Solutions

1 item
Q
Q: In a database, what does a 'foreign key' do?
Solution: A foreign key links two tables together by referencing the primary key of another table.
Steps: 5

Related Questions