ClickHouse/tests/queries/0_stateless/02469_fix_aliases_parser.sql
2022-12-13 12:48:14 +01:00

9 lines
427 B
SQL

SELECT sum(number number number) FROM numbers(10); -- { clientError 62 }
SELECT sum(number number) FROM numbers(10); -- { clientError 62 }
SELECT sum(number AS number) FROM numbers(10);
SELECT [number number number] FROM numbers(1); -- { clientError 62 }
SELECT [number number] FROM numbers(1); -- { clientError 62 }
SELECT [number AS number] FROM numbers(1);
SELECT cast('1234' lhs lhs, 'UInt32'), lhs; -- { clientError 62 }