问题描述 plsql调用函数返回值为空 函数: create or replace function avg_pric(v_ctgry in varchar2,v_pric in out number) return number is Result number; v_qnty number; begin if v_pric is null then v_pric := 0; end if; select avg(productprice),min(quantity) into v_pric,