Question: Consider the following relational DB schema. Show the correct SQL statements to have the following tables created. Emp (eid: int, ename: varchar(20), age: int, salary:

Consider the following relational DB schema. Show the correct SQL statements to have the following tables created. Emp (eid: int, ename: varchar(20), age: int, salary: real) Dept (did: int, budget: real, manager_id: int) Works (eid: int, did: int, work_ time: int) Note that primary keys are underlined. Please specify ALL the primary key and foreign key constraints when you create the tables above.

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!