ClickHouse/tests/queries/0_stateless/01430_fix_any_rewrite_aliases.sql
2020-08-07 01:36:14 +03:00

2 lines
63 B
SQL

SELECT any(if(if(x, 1, 2) AS a_, a_, 0)) FROM (SELECT 1 AS x);