1 echo create table t1
(f1 int
,f2 int auto_increment
);
3 echo insert into t1 values
(12,NULL
);
4 Statement Executed
: Rows Affected
= 1
5 echo insert into t1
(f1
)values
(12);
6 Statement Executed
: Rows Affected
= 1
7 echo insert into t1 values
(12,232);
8 Statement Executed
: Rows Affected
= 1
10 ---------------------------------------------------------
12 ---------------------------------------------------------
17 echo create table t2
(f1 int
,f2 int auto_increment
);
19 echo insert into t2 values
(12,200);
20 Statement Executed
: Rows Affected
= 1
21 echo insert into t2 values
(12,NULL
);
22 Statement Executed
: Rows Affected
= 1
23 echo insert into t2
(f1
) values
(12);
24 Statement Executed
: Rows Affected
= 1
25 echo select * from t2
;
26 ---------------------------------------------------------
28 ---------------------------------------------------------
37 echo create table t1
(f1 int auto_increment
, f2 int auto_increment
);
38 Statement prepare failed with error
-19
39 echo create table t1
(f1 int
, f2 char
(10) auto_increment
);
40 Statement prepare failed with error
-19