Documentos de Académico
Documentos de Profesional
Documentos de Cultura
return number
is
total number(8,2);
begin
total := var1+var2;
return total;
end;
begin
dbms_output.PUT_LINE('LA SUMA TOTAL DE DOS NUMEROS ES:'||f_suma(100,200));
end;
select FIRST_NAME,LAST_NAME,SALARY,COMMISSION_PCT,
f_suma(SALARY,COMMISSION_PCT) as salario_total
from EMPLOYEES
ORDER BY salario_total desc
EXECUTE P_Salario_Total(5020);