write a plsq block to do the followingselect the


Write a PL/SQ block to do the following:

Select the average salary of all employees in department number 20.

If the average salary is less than 5000, then increase the salary of all employees in that Department by 10% (using an UPDATE command). If the average salary is greater than 5000, then display the message ‘No action needs to be taken'.

Solution Preview :

Prepared by a verified Expert
PL-SQL Programming: write a plsq block to do the followingselect the
Reference No:- TGS0489776

Now Priced at $30 (50% Discount)

Recommended (94%)

Rated (4.6/5)