CREATE OR REPLACE PROCEDURE CustomerTotal
(pl_cname s5.saleinv.cname%TYPE)
AS
BEGIN
SELECT SUM(totalprice) FROM s5.saleinv WHERE UPPER(cname) = UPPER(pl_cname);
END CustomerTotal;
当我输入SHOW ERROR
时,它会告诉我identifier 's5.saleinv' must be declared
。 s5.saleinv是我的表名。