Removing unnecessary DSN=myodbc3 lines from conf files
[csql.git] / test / tools / csql / composite1.sql
blobbd4280b9f70db786b816dc55f2487d9ef0905101
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,f3 int);
15 create table t1(f1 int not null,f2 int,f3 int);
16 echo create index idx2 on t1(f1,f2) tree unique;
17 create index idx2 on t1(f1,f2) 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,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 not null,f3 int);
28 create table t1(f1 int not null,f2 int not null,f3 int);
29 echo create index idx2 on t1(f1,f2) hash primary;
30 create index idx2 on t1(f1,f2) 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,2,4);
34 insert into t1 values(1,2,4);
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 not null,f3 int);
41 create table t1(f1 int not null,f2 int not null,f3 int);
42 echo create index idx2 on t1(f1,f2) tree primary;
43 create index idx2 on t1(f1,f2) 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,2,4);
47 insert into t1 values(1,2,4);
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,f2));
54 create table t1(f1 int not null,f2 int,f3 int,primary key(f1,f2));
55 echo insert into t1 values(1,2,3);
56 insert into t1 values(1,2,3);
57 echo insert into t1 values(1,2,4);
58 insert into t1 values(1,2,4);
59 echo select * from t1;
60 select * from t1;
61 echo drop table t1;
62 drop table t1;