ClickHouse/tests/queries/0_stateless/02315_replace_multiif_to_if.sql

3 lines
191 B
MySQL
Raw Normal View History

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);