Answers for "if mysql statement"

SQL
7

mysql else if

IF condition1 THEN
    statements;
ELSEIF condition2 THEN # OPTIONAL
	statements;
ELSE # OPTIONAL
    statements;
END IF;
Posted by: Guest on October-16-2020
2

if inside select mysql

SELECT IF(1>3,'true','false');
Posted by: Guest on April-30-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language