Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started