Hello!I need to use an UPDATE clause instead of SELECT in the following script.Any help?Thank YOU!
select SALARIU,nume_profesor,
(case count(nume_sectie)
when 1 then SALARIU
when 2 then SALARIU*1.01
else salariu*1.03
end) noul_salariu
from tbl_profesor,tbl_catedra,tbl_sectie
where tbl_profesor.CATEDRA=tbl_Catedra.cod_catedra
and tbl_catedra.COD_CATEDRA=tbl_sectie.COD_CATEDRA
group by salariu,nume_profesor