Something went wrong. Try again.
SQLite file format and SQL engine in pure OCaml
Something went wrong. Try again.
123456789101112131415-- group: plans-- seed: join-- A range count, a key lookup and a grouped top row, then joins whose access-- path the planner has to find: pinned on either side (the second only-- through an equality closure), a two-column key that only an index scored by-- what it binds reaches, an unpinned LEFT JOIN, and one ordered under a LIMIT.SELECT count(*) FROM t1 WHERE b >= 5000 AND b < 10000;SELECT c FROM t1 WHERE a = 10000;SELECT b, count(*) FROM t1 GROUP BY b ORDER BY b LIMIT 1;SELECT count(*) FROM t1 JOIN t2 ON t2.k = t1.a WHERE t1.a = 2500;SELECT count(*) FROM t2 JOIN t1 ON t2.k = t1.a WHERE t1.a = 2500;SELECT tag FROM t1 JOIN t2 ON t2.k = t1.a AND t2.y = 2 WHERE t1.a = 2500;SELECT count(*) FROM t1 LEFT JOIN t2 ON t2.k = t1.a;SELECT c, tag FROM t1 JOIN t2 ON t2.k = t1.a WHERE t1.a = 2500 ORDER BY tag LIMIT 3;