第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

下面這個測試不出來結果,但是存儲過程寫對了. 哪位大神幫忙看下

下面這個測試不出來結果,但是存儲過程寫對了. 哪位大神幫忙看下

qq__5778 2017-04-02 11:37:47
5.寫一個存儲過程? 輸入: 部門編號? 查出該部門的人,工資比ADAMS高,則提成增加100, 比ADAMS低,則提成增加200? 顯示提成增加后的員工信息create or replace procedure a_sc(i_deptno number)iscursor c_emp is select * from emp where deptno=i_deptno;l_sal number;a_sal number;l_commnew number;begin? select sal into l_sal from emp where deptno=i_deptno;? select sal into a_sal from emp where deptno=i_deptno and ename='ADAMS';? if l_sal > a_sal then ??? update emp2 set comm=comm+100 where deptno=i_deptno??? returning comm into l_commnew;??? else ????? update emp2 set comm=comm+200 where deptno=i_deptno????? returning comm into l_commnew;?? end if;?? for v_emp in c_emp loop???? dbms_output.put_line('姓名:'||v_emp.ename);???? end loop;end;
查看完整描述

目前暫無任何回答

  • 0 回答
  • 0 關注
  • 1167 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號