text: delete from t2 where 1
  set transaction read committed
  begin
  insert into t2 values(1);
  insert into t2 values(2);
  insert into t2 values(3);
  insert into t2 values(3);
  insert into t2 values(4);
  
  insert into t2 values(3);
  
  select * from t2 where a = 0
  select * from t2 where a = 0 order by a desc
  select * from t2 where a = 0 order by a asc
  select * from t2 where a = 1
  select * from t2 where a = 1 order by a desc
  select * from t2 where a = 1 order by a asc
  select * from t2 where a = 2
  select * from t2 where a = 2 order by a desc
  select * from t2 where a = 2 order by a asc
  select * from t2 where a = 3
  select * from t2 where a = 3 order by a desc
  select * from t2 where a = 3 order by a asc
  select * from t2 where a = 4
  select * from t2 where a = 4 order by a desc
  select * from t2 where a = 4 order by a asc
  select * from t2 where a = 5
  select * from t2 where a = 5 order by a desc
  select * from t2 where a = 5 order by a asc
  
  select * from t2 where a < 0
  select * from t2 where a < 0 order by a desc
  select * from t2 where a < 0 order by a asc
  select * from t2 where a < 1
  select * from t2 where a < 1 order by a desc
  select * from t2 where a < 1 order by a asc
  select * from t2 where a < 2
  select * from t2 where a < 2 order by a desc
  select * from t2 where a < 2 order by a asc
  select * from t2 where a < 3
  select * from t2 where a < 3 order by a desc
  select * from t2 where a < 3 order by a asc
  select * from t2 where a < 4
  select * from t2 where a < 4 order by a desc
  select * from t2 where a < 4 order by a asc
  select * from t2 where a < 5
  select * from t2 where a < 5 order by a desc
  select * from t2 where a < 5 order by a asc
  
  select * from t2 where a > 0
  select * from t2 where a > 0 order by a desc
  select * from t2 where a > 0 order by a asc
  select * from t2 where a > 1
  select * from t2 where a > 1 order by a desc
  select * from t2 where a > 1 order by a asc
  select * from t2 where a > 2
  select * from t2 where a > 2 order by a desc
  select * from t2 where a > 2 order by a asc
  select * from t2 where a > 3
  select * from t2 where a > 3 order by a desc
  select * from t2 where a > 3 order by a asc
  select * from t2 where a > 4
  select * from t2 where a > 4 order by a desc
  select * from t2 where a > 4 order by a asc
  select * from t2 where a > 5
  select * from t2 where a > 5 order by a desc
  select * from t2 where a > 5 order by a asc
  
  select * from t2 where a >= 0
  select * from t2 where a >= 0 order by a desc
  select * from t2 where a >= 0 order by a asc
  select * from t2 where a >= 1
  select * from t2 where a >= 1 order by a desc
  select * from t2 where a >= 1 order by a asc
  select * from t2 where a >= 2
  select * from t2 where a >= 2 order by a desc
  select * from t2 where a >= 2 order by a asc
  select * from t2 where a >= 3
  select * from t2 where a >= 3 order by a desc
  select * from t2 where a >= 3 order by a asc
  select * from t2 where a >= 4
  select * from t2 where a >= 4 order by a desc
  select * from t2 where a >= 4 order by a asc
  select * from t2 where a >= 5
  select * from t2 where a >= 5 order by a desc
  select * from t2 where a >= 5 order by a asc
  
  select * from t2 where a <= 0
  select * from t2 where a <= 0 order by a desc
  select * from t2 where a <= 0 order by a asc
  select * from t2 where a <= 1
  select * from t2 where a <= 1 order by a desc
  select * from t2 where a <= 1 order by a asc
  select * from t2 where a <= 2
  select * from t2 where a <= 2 order by a desc
  select * from t2 where a <= 2 order by a asc
  select * from t2 where a <= 3
  select * from t2 where a <= 3 order by a desc
  select * from t2 where a <= 3 order by a asc
  select * from t2 where a <= 4
  select * from t2 where a <= 4 order by a desc
  select * from t2 where a <= 4 order by a asc
  select * from t2 where a <= 5
  select * from t2 where a <= 5 order by a desc
  select * from t2 where a <= 5 order by a asc
  
  select * from t2 where a != 0 order by a desc
  select * from t2 where a != 0 order by a asc
  select * from t2 where a != 1 order by a desc
  select * from t2 where a != 1 order by a asc
  select * from t2 where a != 2 order by a desc
  select * from t2 where a != 2 order by a asc
  select * from t2 where a != 3 order by a desc
  select * from t2 where a != 3 order by a asc
  select * from t2 where a != 4 order by a desc
  select * from t2 where a != 4 order by a asc
  select * from t2 where a != 5 order by a desc
  select * from t2 where a != 5 order by a asc
  
  rollback
  