Sign in
apache
/
datafusion
/
refs/heads/fix-disable-migration-aggregate-default
/
.
/
benchmarks
/
sql_benchmarks
/
predicate_eval
/
queries
/
selectivity
/
q21.sql
blob: 5181faf38784f4d31da7c47ea79963fefd7a803b [
file
]
-- Same two equally-cheap compares as q20 (`c4 < 95` ~95%, `c0 < 5` ~5%),
-- opposite written order. cf. q20.
SELECT
count
(*)
FROM
t
WHERE
c0
<
5
AND
c4
<
95
;