'If-else' is a condition statement that is used to write conditional statement in a PL/SQL program. For example, the following code will print a message depending on whether the value of A is greater, B is greater or both of them have the same values -
if a>b then
dbms_output.put_line('A is greater');
elsif b>a then
dbms_output.put_line('B is greater');
else
dbms_output.put_line('Both are equal');
end if;