From http://sunsite.mff.cuni.cz/MIRRORS/ftp.mysql.com/doc/en/Control_flow_functions.html I read this SQL command example with IF THEN ELSE.
mysql> SELECT CASE WHEN 1>0 THEN "true" ELSE "false" END; -> "true"
Tailor this to your SQL server's needs.
Bob
I want to do an "if then else" statment, I can't find it in help or online.. is it possible?

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic