In SQL, the CASE statement evaluates a list of conditions and returns one of multiple possible result expressions.
In some ways, the SQL CASE statement is kind of similar to the IF...ELSE statement in that it allows us to check for a given condition and return a different result depending on the outcome.