Question: Given two tables, DEPARTMENT ( dept _ id , dept _ location, dept _ name ) and EMPLOYEE ( emp _ id , emp _

Given two tables, DEPARTMENT(dept_id, dept_location, dept_name) and EMPLOYEE(emp_id, emp_name, emp_dept_id, emp_name, emp_salary), which attribute (column) is the foreign key?
Question 4 options:
DEPARTMENT table, dept_id column
DEPARTMENT table, dept_location column
DEPARTMENT table, dept_name column
EMPLOYEE table, emp_id column
EMPLOYEE table, emp_salary column
EMPLOYEE table, dept_id column
EMPLOYEE table, emp_name column

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!