Overview of PL/SQL Control Structures. Testing Conditions (IF and CASE Statements). Controlling Loop Iterations (LOOP, EXIT, and CONTINUE Statements).
docs.oracle.com