PLSQL:Procedural Language SQL (1) plsql的基本结构(a) declare id constant number(2):=2;--常量定义 name varchar2(10);--变量定义 mysal emp.sal%type;--引用emp表sal列的类型 myrow emp%type; --引用emp表行类型,相当于java中对象,该行类型包含所有列 no_data exception;--异常定义 cursor c1 is select sal from…