IF statement 

show you how to use the IF THEN statement in stored procedures.