1
drop table if exists t1;
2
create table t1 (a integer, b integer,c1 CHAR(10), primary key (a,b));
3
insert into t1 (a,b) values (1,3),(2,3);
5
select count(*) from t1;
8
insert into t1 values(1,2,"test");
9
select count(*) from t1;
16
select count(*) from t1;
17
ERROR 42S02: Unknown table 'test.t1'
18
create table t1 (n int primary key);
19
insert into t1 values (1),(2),(3);
24
truncate non_existing_table;
25
ERROR 42S02: Unknown table 'test.non_existing_table'
26
create table t1 (a integer auto_increment primary key);
27
insert into t1 (a) values (NULL),(NULL);
29
insert into t1 (a) values (NULL),(NULL);
35
insert into t1 (a) values (NULL),(NULL);
41
create table t1 (a integer auto_increment primary key);
42
insert into t1 (a) values (NULL),(NULL);
44
insert into t1 (a) values (NULL),(NULL);
50
insert into t1 (a) values (NULL),(NULL);