ClickHouse/tests/queries/0_stateless/02315_replace_multiif_to_if.sql
2022-05-31 14:45:12 +00:00

3 lines
191 B
SQL

EXPLAIN SYNTAX SELECT multiIf(number = 0, NULL, toNullable(number)) FROM numbers(10000);
EXPLAIN SYNTAX SELECT CASE WHEN number = 0 THEN NULL ELSE toNullable(number) END FROM numbers(10000);