blob: 8adcc7bf356d3a2f7fbc9d581252e4aa03110dd0 [file] [log] [blame]
select a.c_custkey, b.c_custkey from
(select c_custkey, c_nationkey from customer where c_nationkey < 0
union all
select c_custkey, c_nationkey from customer where c_nationkey > 0
) a
left outer join customer b
on a.c_custkey = b.c_custkey