Sign in
apache
/
tajo
/
f115833b9ff97a178febf3753f516888a3161af7
/
.
/
tajo-core-tests
/
src
/
test
/
resources
/
queries
/
TestUnionQuery
/
testUnionCaseOfFirstEmptyAndJoin.sql
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