Question: Which statement is true for the diagram below
- carid is the primary key for purchases
- carid is the foreign key for cars.carid
- customerid is the foreign key for customers.id
- customerid is the primary key for purchases
Answer: The correct answer of the above question is Option C:customerid is the foreign key for customers.id