Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

MySQL if condition

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
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #MySQL #condition
ADD COMMENT
Topic
Name
8+7 =