Nested if in select query in mysql

SELECT * FROM Table WHERE IF(condition, true, IF(condition,  true, IF(condition, false, zero or else condition)))

Advertisements