asked 88.2k views
4 votes
An attribute in a table that serves as a unique identifier in another table and is used to link the two tables is a?

1) Primary key
2) Foreign key
3) Index
4) Constraint

asked
User Vimdude
by
7.6k points

1 Answer

3 votes

Final answer:

A foreign key is an attribute in a table that serves as a unique identifier in another table and is used to link the two tables.

Step-by-step explanation:

An attribute in a table that serves as a unique identifier in another table and is used to link the two tables is a foreign key. It is a column in one table that refers to the primary key of another table, establishing a relationship between the two tables. The foreign key helps maintain data integrity and enforce referential integrity constraints.

answered
User Chris Gilardi
by
8.1k points