Question: Consider the relational database of Figure. Using SQL, define a view consisting of manager-name and the average salary of all employees who work for that
Consider the relational database of Figure. Using SQL, define a view consisting of manager-name and the average salary of all employees who work for that manager. Explain why the database system should not allow updates to be expressed in terms of this view.

employee (employee-name, street, city) works (employee-name, company-name, salary) mpany (compa-, ity) manages (employee-name, manager-name)
Step by Step Solution
3.46 Rating (169 Votes )
There are 3 Steps involved in it
Create view salinfo as select managername avgsalary from ... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (1 attachment)
16-CS-DB (141).docx
120 KBs Word File
