Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The following query will imereave update cringlesyere sel sialary case when salary = 0 . when salary 0 . 2 8 avg ealary then

The following query will imereave
update cringlesyere sel sialary case
when salary =0.
when salary 0.28" avg ealary then salary "1.05
cloe salary *1,00
und.
a) all salaries by 15%
b) all salaries by 5%
(c) Dalaries at the bottom by 1 s%, the ones at the top by 5%.
d) salaries at the top by 15%, the ones at the bottom by 5%
c) salaries at the top by 15%, the ones at the bottom by 5% and all others by 1.
The following query will delete
with avg sal as (select avg(salary) from employee)
delete from employee where id in (select
employee.id from
((employee join department on employee.dep =
department.id)
join location on employee.loc =
location.id)) and city= 'Kars' and salary 0.150. avg sal:
a) all employees unconditionally
b) all employees if they are located in Kars
c) all employees if they are earning less than 15% of the average salary
d) all employees if they are located in Kars and earning more than 15% of the average salary
e) all employees if they are earning less than 15% of the average salary and located in Kars
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Structured Search For Big Data From Keywords To Key-objects

Authors: Mikhail Gilula

1st Edition

012804652X, 9780128046524

More Books

Students also viewed these Databases questions

Question

Explain the factors influencing wage and salary administration.

Answered: 1 week ago

Question

Examine various types of executive compensation plans.

Answered: 1 week ago

Question

1. What is the meaning and definition of banks ?

Answered: 1 week ago

Question

2. What is the meaning and definition of Banking?

Answered: 1 week ago

Question

=+a. Does it flow? (Can anyone read it out loud without stumbling?)

Answered: 1 week ago

Question

=+e. Does it use simple language, not technical jargon?

Answered: 1 week ago