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;