select avg(cur_use) from EMP inner join DEPT on EMP.DNO = DEPT.DNO where SALARY>=600 gropu by DNO
b. update EMP set SALARY=SALARY+SALARY*0.1 where ENO in (select ENO from EMP inner join DEPT on EMP.DNO = DEPT.DNO where SALARY <600 and DNANE='ÏúÊÛ²¿' ) a.
select avg(salary) from EMP where SALARY>=600 gropu by DNO
ÕâÑùÒ²¿ÉÒÔ b: update empt set salary = salary * 0.1 where salary < 600 and dno in (select dno from dept where dname = 'ÏúÊÛ²¿') Ó¦¸ÃÊÇsalary * 1.1 Õâ¸ö¼ÓÒ»¸öÅжÏÓï¾ä¾Í¿ÉÒÔ Á˰¡ A: