Question: 3 9 - The following query will increase with avg _ salary as ( select avg ( salary ) from employee ) update employee set
The following query will increase
with avgsalary as select avgsalary from employee
update employee set salary case
when salary avgsalary then salary
when salary avgsalary then salary
else salary
end;
a all salaries by
b all salaries by
c salaries at the bottom by the ones at the top by
d salaries at the top by the ones at the bottom by
e salaries at the top by the ones at the bottom by and all others by
The following query will delete
with avgsal as select avgsalary from employee
delete from employee where id in select
employee.id from
employee join department on employee.dep
department.id
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
