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 (person-name, manager-name)
Step by Step Solution
3.33 Rating (174 Votes )
There are 3 Steps involved in it
The solutions assume that each person has only one tuple in the em ployee relation The solutions to ... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (1 attachment)
16-CS-DB (153).docx
120 KBs Word File
