aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/tests/sql/suites/join/left_join_null_column.sql
blob: c7e38d6e0cb8ea9552f58e93c90823268853eacd (plain) (blame)
1
2
3
4
5
6
7
8
9
/* syntax version 1 */
/* postgres can not */

USE plato;

$t = [<|"x":"150", "y":1, "z":Null|>, <|"x":"150", "y":2, "z":Null|>];

SELECT * FROM Input1 AS a LEFT JOIN AS_TABLE($t) AS b ON a.key = b.x ORDER BY key, y;