Loops and IF
Published July 26, 2025
By Sai Sree Ram Gundepudi
Control Structures in PL/SQL
IF Condition
IF salary > 10000 THEN
DBMS_OUTPUT.PUT_LINE('High Earner');
END IF;LOOP
FOR i IN 1..5 LOOP
DBMS_OUTPUT.PUT_LINE(i);
END LOOP;