I'm trying to translate this Sql Server statement into MySQL
IF(SELECT count(*) FROM MyTable) = 0 THEN
// Do Something
ELSE
// Do Another Thing
I just can't make it work.
I can't even make some variables do their job. MySQL help isn't helpfull at all.
Can anyone tell me the correct syntax?
Thanks