1 echo create table and constraints with integer fields
2 create table t1 (f1 int, f2 int);
3 insert into t1 values (10, 20);
4 insert into t1 (f1, f2) values (11, 21);
5 insert into t1 (f2, f1) values (22, 12);
6 insert into t1 (f1) values (13);
7 insert into t1 (f2) values (24);
10 create table t2 (f1 int not null, f2 int);
11 insert into t2 values (10, 20);
12 insert into t2 (f1, f2) values (11, 21);
13 insert into t2 (f2, f1) values (22, 12);
14 insert into t2 (f1) values (13);
15 insert into t2 (f2) values (24);
18 create table t3 (f1 int, f2 int, primary key(f1));
19 insert into t3 values (10, 20);
20 insert into t3 (f1, f2) values (11, 21);
21 insert into t3 (f2, f1) values (22, 12);
22 insert into t3 (f1) values (13);
23 insert into t3 (f2) values (24);