CASE

Allows for conditional branching.

CASE statement chooses from a sequence of conditions, and executes a corresponding statemnt.

Syntax

Where to use CASE statements

SELECT CLAUSE

WHERE CLAUSE

ORDER BY CLAUSE

GROUP BY CLAUSE

HAVING CLAUSE

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top