1. Computer Science Engineering (CSE)
  2. DataBase Management System (DBMS)
  3. Relational Modal
  4. What is a foreign key?
Q.

What is a foreign key?

A. A foreign key is a primary key of a relation which is an attribute in another relation
B. A foreign key is a superkey of a relation which is an attribute in more than one other relations
C. A foreign key is an attribute of a relation that is a primary key of another relation
D. A foreign key is the primary key of a relation that does not occur anywhere else in the schema
Answer» C. A foreign key is an attribute of a relation that is a primary key of another relation

Discussion