Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

if in mysql

The if accept one condition, if this condition is true then the true_value will occur 
else the false_value will occur.
IF(condition, true_value, false_value)
Tips : can be to update some data
 
PREVIOUS NEXT
Tagged: #mysql
ADD COMMENT
Topic
Name
5+2 =