Sign in
apache
/
drill-test-framework
/
0c85b4fdd97d4bceb9f295eb434983b210bff100
/
.
/
framework
/
resources
/
Functional
/
joins
/
explicit_cast
/
on_c_date_and_c_timestamp.sql
blob: 40d53e84478ea32f20e80dd4e4e349e03d7071c1 [
file
] [
log
] [
blame
]
select
count
(*)
from
cast_tbl_1 a
INNER
JOIN
cast_tbl_2 b
ON
(
a
.
c_integer
=
b
.
c_integer
AND
CAST
(
a
.
c_date
as
TIMESTAMP
)
<
b
.
c_timestamp
);