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);