precompute_parallel.sql 177 B

1234567
  1. use plato;
  2. $a = select key from Input order by key limit 1;
  3. insert into Output1 select * from Input where key <= $a;
  4. insert into Output2 select * from Input where key >= $a;