for i in `seq 1000000`; do mysql -uroot -P4000 -h127.0.0.1 -e "insert into test.t1 values($i,floor(rand()*10000000),substring(md5(rand()),1,5),substring(md5(rand()),1,10))";done;
insert into t9
WITH RECURSIVE xxx (sort, category, interesting) AS
(
SELECT 51000001, 1, 1
UNION ALL
SELECT sort + 1, (sort+1)%1000, (sort+1)>50000 FROM xxx WHERE sort<=52000000
)
SELECT * FROM xxx;