Question: create primary key constraints for eID and dID on Employee and Departmetn table -create constraint that ensures salary is not less than 2500 -add constraints

create primary key constraints for eID and dID on Employee and Departmetn table

-create constraint that ensures salary is not less than 2500

-add constraints to table Employee to ensure that attribute dID refers to attribute Departmnt.dID

-add constraints to table Deparment to ensure that attribute chairID refers to attribute Employee.eID

add the above integrity constrains to table schema:

Employe( eID, ename, salary, mangerID, dID)

Departnemtn ( dID, dname, address, chairID)

Step by Step Solution

3.40 Rating (147 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To create the primary key constraints ensure the minimum salary constraint and foreig... View full answer

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!