adding test scripts
[csql.git] / test / tools / csql / null5.sql
blob9b8d94bd9f7d3cf7c6760f090b5c6f9f4bc066e5
1 echo "<<<<<<<<<<<<<<<<<<< DELETE FROM t1 WHERE f3>=4 >>>>>>>>>>>>>>>>>>>>>>>>>";
2 echo create table t1(f1 int not null,f2 int,f3 int);
3 create table t1(f1 int not null,f2 int,f3 int);
4 echo insert into t1 values(1,2,3);
5 insert into t1 values(1,2,3);
6 echo insert into t1 values(2,NULL,4);
7 insert into t1 values(2,NULL,4);
8 echo insert into t1 values(3,4,NULL);
9 insert into t1 values(3,4,NULL);
10 echo insert into t1 values(10,20,30);
11 insert into t1 values(10,20,30);
12 echo insert into t1 values(11,NULL,NULL);
13 insert into t1 values(11,NULL,NULL);
14 echo commit;
15 commit;
16 echo select * from t1;
17 select * from t1;
18 echo DELETE FROM t1 WHERE f3>=4;
19 DELETE FROM t1 WHERE f3>=4;
20 echo commit;
21 commit;
22 echo select * from t1;
23 select * from t1;
24 echo drop table t1;
25 drop table t1;