*** empty log message ***
[csql.git] / test / tools / csql / composite1.sql
bloba4679cc0acd9e1a28f682fb5f80f7dc1630b0f0b
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,f2) hash unique;
4 create index idx1 on t1(f1,f2) 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,2,4);
8 insert into t1 values(1,2,4);
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 not null,f3 int);
15 create table t1(f1 int not null,f2 int not null,f3 int);
16 echo create index idx2 on t1(f1,f2) hash primary;
17 create index idx2 on t1(f1,f2) hash primary;
18 echo insert into t1 values(1,2,3);
19 insert into t1 values(1,2,3);
20 echo insert into t1 values(1,2,4);
21 insert into t1 values(1,2,4);
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,primary key(f1,f2));
28 create table t1(f1 int not null,f2 int,f3 int,primary key(f1,f2));
29 echo insert into t1 values(1,2,3);
30 insert into t1 values(1,2,3);
31 echo insert into t1 values(1,2,4);
32 insert into t1 values(1,2,4);
33 echo select * from t1;
34 select * from t1;
35 echo drop table t1;
36 drop table t1;