以下已经测试通过 创建函数: create or replace function get_annual_sal(in_name varchar2) return number is annual_sal ,); begin into annual_sal from t_employee t where name=in_name; return annual_sal; end; 1. 在PLsql中测试函数的运行结果 select get_annual_sal('李红') from dual;…