Sign in
apache
/
drill-test-framework
/
0c85b4fdd97d4bceb9f295eb434983b210bff100
/
.
/
framework
/
resources
/
Functional
/
joins
/
inner
/
2way_on_1_cols.sql
blob: bbb7b236c39ba9366461d2132c71d5dd18138999 [
file
] [
log
] [
blame
]
select
count
(*)
from
j1
INNER
JOIN
j4
ON
(
j1
.
c_date
=
j4
.
c_date
)
where
j1
.
c_date
IN
(
select
c_date
from
j2
)
--and exists (select c_date from j3 )
and
cast
(
j1
.
c_integer
as
bigint
)
<>
j4
.
c_bigint
;