SELECT Expression
[ CASE Expression [ , Expression ... ]
... ]
[ CASE Expression [ , Expression ... ]
... ]
[ ( CASE ELSE | DEFAULT )
... ]
END SELECT
Selects an expression to compare, and execute the code enclosed in the corresponding matching CASE statement. If no CASE statement matches, the DEFAULT or CASE ELSE statement is executed.