把emp表中工作时间最长的员工提升为副总 通过游标实现这功能 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 用max吧 不过好像max效率差一点 副总? 也该是PRESIDENT吧?declare Cursor c is select empno from emp where hiredate = (select min(hiredate) hiredate from emp);beginfor c1 in c loopupdate emp set job = 'PRESIDENT' where empno = c1.empno;end loop;end;/ 如何删掉它? 在线等 一个Sql语句 关于动态拼接分区名,然后查询的问题 oracle 表空间文件丢失不能启动oracle System.Data.OracleClient 需有 Oracle 用戶端軟體版本 8.1.7 或以上版本 oracle触发器求助 如何解决 insert into 与 order by 不能同时用 的问题 好像很简单,但是做起来很烦! oracle编译错误,请帮忙翻译 在oracle中有没有像在sql server一样用命令行创建数据库的命令? oracle 扩展优化器问题 在哪建表呀
declare
Cursor c is select empno from emp where hiredate = (select min(hiredate) hiredate from emp);
begin
for c1 in c loop
update emp set job = 'PRESIDENT' where empno = c1.empno;
end loop;
end;
/