Question: Give an SQL schema definition for the employee database of Figure 3.19. Choose an appropriate domain for each attribute and an appropriate primary key for
Give an SQL schema definition for the employee database of Figure 3.19. Choose an appropriate domain for each attribute and an appropriate primary key for each relation schema. Include any foreign-key constraints that might be appropriate
employee (ID, person_name, street, city) works (ID, company_name, salary) company (company_name, city) manages (ID, manager_id)
Step by Step Solution
3.54 Rating (164 Votes )
There are 3 Steps involved in it
CREATE TABLE employee ID INT NOT NULL personname VARC... View full answer
Get step-by-step solutions from verified subject matter experts
