XDCCSC CDC
XDCCSC CDC
The employee table represents all employees working for the company. Each
employee has the following attributes:
Each project of the company is represented in the project table. This table has
the following columns:
1
The works_on table specifies the relationship between employees and projects.
It has the following columns:
emp_no, a foreign key referencing the employee table, specifies the employee
number and project_no, a foreign key referencing the project table, specifies the
number of the project on which the employee works. In addition to being
individual foreign keys, they should together be defined as composite primary
key. This would ensure that the combination of data values belonging to these
two columns will always be unique. job and enter_date specify the task and the
starting date of an employee in the corresponding project, respectively.
4. How can you drop the index that is implicitly created for the primary key of
a table? Hint: do some research for this. We did not treat it in class.