ClickHouse/tests/queries/0_stateless/01430_fix_any_rewrite_aliases.sql

2 lines
63 B
MySQL
Raw Normal View History

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