Sign in
apache
/
tajo
/
8b644e62feddd453d752355303d7dc8a698c1c2b
/
.
/
tajo-core-tests
/
src
/
test
/
resources
/
queries
/
TestGroupByQuery
/
testDistinctAggregationWithUnion1.sql
blob: a14f982c06e68d8d6f6c04a74f6a04a15dbd53aa [
file
] [
log
] [
blame
]
select
sum
(
distinct
l_orderkey
),
l_linenumber
,
count
(
distinct
l_orderkey
),
count
(*)
as
total
from
(
select
*
from
lineitem
union
all
select
*
from
lineitem
)
t1
group
by
l_linenumber
;