mysql - SQL IF - ELSE Statement - Stack Overflow
I have a table like this : +-----+-----+-----+-----+-----+-----+ | Field | Type | Null | Key | Default | Extra | +-----+-----+-----+-----+-----+-----+ | ID | ... You can only use MySQL's if in a stored procedure. For example: DELIMITER // CREATE PROCEDURE
stackoverflow.com |