CASE expressions

Provides conditional SQL expressions.

 Syntax 1
 Syntax 2
 Remarks
 Example