Question: Consider the relational database of Figure. Give an expression in SQL for each of the following queries. a. Modify the database so that Jones now
Consider the relational database of Figure. Give an expression in SQL 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 of First Bank Corporation a 10 percent raise.
d. Give all managers of First Bank Corporation a 10 percent raise unless the salary becomes greater than $100,000; in such cases, give only a 3 percent raisee.
e. Delete all tuples in the works relation for employees of Small BankCorporation.

employee (employee-name, street, city) works (employee-name, company-name, salary) mpany (compa-, ity) manages (employee-name, manager-name)
Step by Step Solution
3.25 Rating (166 Votes )
There are 3 Steps involved in it
The solution for part 0a assumes that each person has only one tuple in the employee relation The so... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (1 attachment)
16-CS-DB (136).docx
120 KBs Word File
