Question: Consider the relational database of Figure. Give expressions in QBE for each of the following queries: a. Modify the database so that Jones now lives

Consider the relational database of Figure. Give expressions in QBE for each of the following queries:

a. Modify the database so that Jones now lives in Newtown.

b. Give all employees of First Bank Corporation a 10 percent raise.

c. Give all managers in the database a 10 percent raise.

d. Give allmanagers in the database a 10 percent raise, unless the salarywould be greater than $100,000. In such cases, give only a 3 percent raise.?

e. Delete all tuples in the works relation for employees of Small BankCorporation.

employee (person-name, street, city) works (person-name, company-name, salary) mpny (cmpam-, city) manages

employee (person-name, street, city) works (person-name, company-name, salary) mpny (cmpam-, city) manages (person-name, manager-name)

Step by Step Solution

3.33 Rating (174 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

The solutions assume that each person has only one tuple in the em ployee relation The solutions to ... 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 (153).docx

120 KBs Word File

Students Have Also Explored These Related Databases Questions!