IF « Flow Control « SQL / MySQL






1.Use IF in select clause
2.The SQL syntax for IF branching looks like this: