Question: Consider the relational schema shown in Figure below. a. Give a schema definition in SQL: 1999 corresponding to the relational schema, but using references to

Consider the relational schema shown in Figure below.

a. Give a schema definition in SQL: 1999 corresponding to the relational schema, but using references to express foreign-key relationships.

b. Write each of the queries in Exercise 3.10 on the above schema, using SQL:1999.

employee (person-name, street, city) works (person-nanme, company-name, salary) mpy (company-, city) manages

employee (person-name, street, city) works (person-nanme, company-name, salary) mpy (company-, city) manages (person-name, manager-name)

Step by Step Solution

3.31 Rating (169 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

a The schema definition is given below Note that backward references can be addedbut they are not so ... 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

Document Format (1 attachment)

Word file Icon

16-CS-DB (226).docx

120 KBs Word File

Students Have Also Explored These Related Databases Questions!