TO DISPLAY 1 TO 10 IN REVERSE ORDER
DECLARE
I NUMBER:=10;
BEGIN
DBMS_OUTPUT.PUT_LINE('REVERSE NUMBER 1-10 ');
FOR I IN REVERSE 1..10 LOOP
DBMS_OUTPUT.PUT_LINE(I);
END LOOP;
END;
DECLARE
I NUMBER:=10;
BEGIN
DBMS_OUTPUT.PUT_LINE('REVERSE NUMBER 1-10 ');
FOR I IN REVERSE 1..10 LOOP
DBMS_OUTPUT.PUT_LINE(I);
END LOOP;
END;