------解决方案-------------------- 没什么问题啊
------解决方案-------------------- no problem
------解决方案-------------------- 以上可以打100分
SQL code
-----B
Update a SET SALARY=SALARY*1.1
from PERSON a inner join DEPART b on a.DEPT_ID=b.ID
WHERE SEX=’女’ AND WORKED_YEARS>=4 AND b.DEPT_TYPE ='0'
----C
delete a from PERSON a inner join DEPART b on a.DEPT_ID=b.ID
WHERE SEX=’女’ AND WORKED_YEARS<2 AND b.DEPT_TYPE ='1'
------解决方案-------------------- Good Boy!
------解决方案--------------------