Question: Consider the employee database of Figure 4.12. Give an SQL DDL definition of this database. Identify referential-integrity constraints that should hold, and include them in

Consider the employee database of Figure 4.12. Give an SQL DDL definition of this database. Identify referential-integrity constraints that should hold, and include them in the DDL definition.


Figure 4.12.salary) employee (ID, person_name, street, city) works (ID, company_name, company (company_name, city)

salary) employee (ID, person_name, street, city) works (ID, company_name, company (company_name, city) manages (ID, manager_id)

Step by Step Solution

3.26 Rating (155 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

DDL Data definition language in SQL is used to CREATE ALTER or DELETE objects from database DDL of d... 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 Database System Concepts Questions!