Sign in
apache
/
hive
/
6b095edc31a9baa0ae805e2b5aea88101284d84b
/
.
/
ql
/
src
/
test
/
queries
/
clientnegative
/
subquery_any_aggregate.q
blob: 485a33c9605b48a8e6db1b8815b6b2bad009ecd9 [
file
] [
log
] [
blame
]
create table t
(
i
int
,
j
int
);
insert
into
t values
(
0
,
1
),
(
0
,
2
);
create table tt
(
i
int
,
j
int
);
insert
into
tt values
(
0
,
3
);
select
*
from
t
where
i
>
ANY
(
select
count
(
i
)
from
tt
where
tt
.
j
=
t
.
j
);
drop table t
;
drop table tt
;