adding test scripts
[csql.git] / test / tools / csql / tree5.sql
blob88696420d4a80abd3fa28c992191fd79b8a4a53c
1 create table t1(f1 int not null,f2 int);
2 create index idx on t1(f1) tree unique;
3 insert into t1 values(1,1);
4 insert into t1 values(2,2);
5 insert into t1 values(3,3);
6 insert into t1 values(4,4);
7 insert into t1 values(5,5);
8 insert into t1 values(6,6);
9 insert into t1 values(7,7);
10 insert into t1 values(8,8);
11 insert into t1 values(9,9);
12 insert into t1 values(10,10);
13 commit;
14 echo select * from t1;
15 select * from t1;
16 echo select * from t1 where f1>-1;
17 select * from t1 where f1>-1;
18 echo select * from t1 where f1>-2;
19 select * from t1 where f1>-2;
20 echo select * from t1 where f1>-3;
21 select * from t1 where f1>-3;
22 echo select * from t1 where f1>-4;
23 select * from t1 where f1>-4;
24 echo select * from t1 where f1>-5;
25 select * from t1 where f1>-5;
26 echo select * from t1 where f1>-10;
27 select * from t1 where f1>-10;
28 echo select * from t1 where f1>-100;
29 select * from t1 where f1>-100;
30 echo select * from t1 where f1>-1000;
31 select * from t1 where f1>-1000;