precompute_tree.sql 202 B

123456789
  1. use plato;
  2. $a = select max(key) from Input;
  3. $b = select min(subkey) from Input where key < $a;
  4. $c = select min(key) from Input where key < "080";
  5. select * from Input where key > $c and subkey > $b;