Topics: Database A foreign key is an attribute in a table that refers to the primary key of another table.