ClickHouse/tests/queries/0_stateless/01398_any_with_alias.sql
2020-07-20 12:04:03 +03:00

6 lines
289 B
SQL

SELECT any(number * number) AS n FROM numbers(100) FORMAT CSVWithNames;
EXPLAIN SYNTAX SELECT any(number * number) AS n FROM numbers(100);
SELECT any((number, number * 2)) as n FROM numbers(100) FORMAT CSVWithNames;
EXPLAIN SYNTAX SELECT any((number, number * 2)) as n FROM numbers(100);