[ <<label>> ] CASE WHEN boolean_expression THEN statement ; [ WHEN boolean_expression THEN statement ; ]... [ ELSE statement [ statement ]... ; END CASE [ label ];