blob: f68eaabcc91d9f0daf8a0be58ffeee7ac7ae9340 (
plain) (
blame)
1
2
3
4
5
6
7
|
use plato;
$a = select key from Input order by key limit 1;
$b = select key from Input order by key limit 1 offset 1;
insert into Output1 select * from Input where key <= $a;
insert into Output2 select * from Input where key >= $a and key != $b;
|