File Removed
[csql.git] / test / tools / csql / composite2.sql
blobedd56e7a47890740470bef9c696d1aa2ed9cd8ea
1 echo create table t1(f1 int not null,f2 int,f3 int);
2 create table t1(f1 int not null,f2 int,f3 int);
3 echo create index idx1 on t1(f1,f3) hash unique;
4 create index idx1 on t1(f1,f3) hash unique;
5 echo insert into t1 values(1,2,3);
6 insert into t1 values(1,2,3);
7 echo insert into t1 values(1,4,3);
8 insert into t1 values(1,4,3);
9 echo select * from t1;
10 select * from t1;
11 echo drop table t1;
12 drop table t1;
14 echo create table t1(f1 int not null,f2 int,f3 int);
15 create table t1(f1 int not null,f2 int,f3 int);
16 echo create index idx2 on t1(f1,f3) tree unique;
17 create index idx2 on t1(f1,f3) tree unique;
18 echo insert into t1 values(1,2,3);
19 insert into t1 values(1,2,3);
20 echo insert into t1 values(1,4,3);
21 insert into t1 values(1,4,3);
22 echo select * from t1;
23 select * from t1;
24 echo drop table t1;
25 drop table t1;
27 echo create table t1(f1 int not null,f2 int,f3 int not null);
28 create table t1(f1 int not null,f2 int,f3 int not null);
29 echo create index idx2 on t1(f1,f3) hash primary;
30 create index idx2 on t1(f1,f3) hash primary;
31 echo insert into t1 values(1,2,3);
32 insert into t1 values(1,2,3);
33 echo insert into t1 values(1,4,3);
34 insert into t1 values(1,4,3);
35 echo select * from t1;
36 select * from t1;
37 echo drop table t1;
38 drop table t1;
40 echo create table t1(f1 int not null,f2 int,f3 int not null);
41 create table t1(f1 int not null,f2 int,f3 int not null);
42 echo create index idx2 on t1(f1,f3) tree primary;
43 create index idx2 on t1(f1,f3) tree primary;
44 echo insert into t1 values(1,2,3);
45 insert into t1 values(1,2,3);
46 echo insert into t1 values(1,4,3);
47 insert into t1 values(1,4,3);
48 echo select * from t1;
49 select * from t1;
50 echo drop table t1;
51 drop table t1;
53 echo create table t1(f1 int not null,f2 int,f3 int,primary key(f1,f3));
54 create table t1(f1 int not null,f2 int,f3 int,primary key(f1,f3));
55 echo insert into t1 values(1,2,3);
56 insert into t1 values(1,2,3);
57 echo insert into t1 values(1,4,3);
58 insert into t1 values(1,4,3);
59 echo select * from t1;
60 select * from t1;
61 echo drop table t1;
62 drop table t1;