Answers for "if and else in mysql query"

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
-1

if condition mysql

IF(condition, value_if_true, value_if_false)
Posted by: Guest on October-24-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language