企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
## 34、给任职日期超过30年的员工加薪10%. select empno from emp where (to_days(now())-to_days(hiredate))/365>30 错误的 ,更新时where 写不了子查询 update emp set sal=sal*1.1 where empno in( select empno from emp where (to_days(now())-to_days(hiredate))/365>30) update emp set sal=sal*1.1 where (to_days(now())-to_days(hiredate))/365>30