DECLARE
new_employees hr.EMPLOYEES%ROWTYPE;
CURSOR cur_employees IS
SELECt * FROM hr.EMPLOYEES
FOR UPDATe OF DEPARTMENT_ID;
BEGIN
OPEN cur_employees;
LOOP
FETCH cur_employees INTO new_employees;
EXIT WHEN cur_toy%NOTFOUND;
DELETE FROM hr.EMPLOYEES WHERe DEPARTMENT_ID=30
WHERe CURRENT OF cur_employees;
END LOOP;
COMMIT;
END;
请路过的大侠帮我看下错在哪里了?