📞 0339-0387701 (WhatsApp) Contact

« Back to Database & Data Handling (NCCIA)

In the tables Department(DeptID, DeptName) and Employee(EmpID, Name, DeptID), which column is the foreign key?

A. EmpID in Employee
B. DeptID in Employee ✅
C. DeptID in Department
D. DeptName in Department

Correct Answer: B. DeptID in Employee

Explanation

DeptID in Employee references DeptID in Department, linking each employee to a department.