Question:medium

Given two relations:

Employee with structure as (ID, Name, Address, Phone, Deptno)
Department with structure as (Deptno, Dname)
__________ is used to represent the relationship between two relations Employee and Department.

Show Hint

Primary key = unique identifier in a table. Foreign key = reference to primary key in another table.
Updated On: Feb 16, 2026
  • Primary key
  • Alternate key
  • Foreign key
  • Candidate key
Show Solution

The Correct Option is C

Solution and Explanation

Step 1: Define the concept.
A foreign key is an attribute in one table that references the primary key of another table. It creates a connection between the two tables.
Step 2: Analyze the provided tables.
- The Department table has Deptno as its primary key.
- The Employee table contains the attribute Deptno.
- Thus, Employee's Deptno serves as a foreign key referencing Department's Deptno.
Step 3: Discard incorrect options.
- Primary key: Uniquely identifies rows within a single table, not between tables.
- Alternate key: A candidate key that was not selected as the primary key.
- Candidate key: Attributes capable of uniquely identifying rows, serving as potential primary keys.
Final Answer: \[\boxed{\text{Foreign key establishes the relationship between tables.}}\]
Was this answer helpful?
0