prova a utilizzare la funzione http://dev. mysql.com/doc/refman/5.0/en/control-flow-functions.html#function_if
SELECT IF(@result = 0, 'true', '((something here))') AS message
prova a utilizzare la funzione http://dev. mysql.com/doc/refman/5.0/en/control-flow-functions.html#function_if
SELECT IF(@result = 0, 'true', '((something here))') AS message