2
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
5
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
7
create database mysqltest;
8
drop database if exists mysqltest;
10
Note 1008 Can't drop database 'mysqltest'; database doesn't exist
11
show tables from mysqltest;
12
ERROR 42000: Unknown database 'mysqltest'
13
create table t1 (a int);
14
drop table if exists t1;
16
Note 1051 Unknown table 't1'
18
ERROR 42S02: Table 'test.t1' doesn't exist
19
create table t1 (a int, b int);
20
insert into t1 values(1,1);
24
insert into t1 values(1,1);
25
insert into t1 values(2,1);
31
create table t2 (a int, b int);
33
insert into t1 values(1,1);
34
insert into t2 values(1,1);
36
UPDATE t1, t2 SET t1.a = t2.a;
45
insert into t1 values(1,1);
46
insert into t2 values(1,1);
47
DELETE t1.*, t2.* from t1, t2;