Conditional Statements in PL/SQL
As the name implies, PL/SQL supports programming language features like conditional statements, iterative statements.
The programming constructs are similar to how you use in programming languages like Java and C++. In this section I will provide you syntax of how to use conditional statements in PL/SQL programming.
IF THEN ELSE STATEMENT:
1) IF condition THEN
2) IF condition 1 THEN
ELSIF condtion2 THEN