ClickHouse/tests/queries/0_stateless/01478_not_equi-join_on.sql
2024-05-30 19:41:08 +00:00

8 lines
291 B
SQL

SELECT * FROM (SELECT NULL AS a, 1 AS b) AS foo
RIGHT JOIN (SELECT 1024 AS b) AS bar
ON 1 = foo.b; -- { serverError INVALID_JOIN_ON_EXPRESSION }
SELECT * FROM (SELECT NULL AS a, 1 AS b) AS foo
RIGHT JOIN (SELECT 1024 AS b) AS bar
ON 1 = bar.b; -- { serverError INVALID_JOIN_ON_EXPRESSION }