CASE
Executes the THEN sql_statement_list where the boolean expression is true, or the optional ELSE sql_statement_list if no conditions match.
Grammar Syntax
Click here to go to the BigQuery specification for this syntax.
The grammar is fully supported by Snowflake.
Sample Source Patterns
Simple CASE
CASE search_expression
Last updated