📞 0339-0387701 (WhatsApp) Contact

« Back to Database & Data Handling (NCCIA)

A company has Departments and Projects. One department runs many projects and each project belongs to one department. What is the foreign key?

A. A junction table key
B. ProjectID in the Department table
C. EmployeeID in both tables
D. DepartmentID in the Project table ✅

Correct Answer: D. DepartmentID in the Project table

Explanation

Each project row stores the ID of its single department, so DepartmentID is the foreign key on the many side.