ClickHouse/tests/queries/0_stateless/01950_aliases_bad_cast.sql
2024-05-30 19:41:08 +00:00

3 lines
173 B
SQL

SELECT 1, * FROM (SELECT NULL AS `1`); -- { serverError AMBIGUOUS_COLUMN_NAME }
SELECT '7', 'xyz', * FROM (SELECT NULL AS `'xyz'`); -- { serverError AMBIGUOUS_COLUMN_NAME }