-
In MySQL, backticks quote names, while single quotes create strings. If you have a column called
select
, MySQL would throw an syntax error when using this name without backticks — like inSELECT select FROM foo
— as it would interpret it as keyword which may not occur there. -
This IF function can be used as a column specification in SELECT statements. See the MySQL reference.
-
This function returns the value from the
default
column, ifvalue
is the empty string. Else it returns the value fromvalue
itself. The result will be calledvalue
. See the MySQL reference for details.