mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-11 05:29:30 +00:00
26 lines
445 B
SQL
26 lines
445 B
SQL
use test;
|
|
|
|
drop table if exists table_1;
|
|
drop table if exists table_2;
|
|
|
|
create table table_1(
|
|
a int not null primary key,
|
|
b int,
|
|
c int not null,
|
|
d varchar(50),
|
|
key(b)
|
|
) engine=myisam;
|
|
|
|
create table table_2(
|
|
a int not null primary key auto_increment,
|
|
b int,
|
|
c int not null,
|
|
d varchar(50)
|
|
) engine=myisam;
|
|
|
|
insert into table_1 values
|
|
(1, 2, 3, 4),
|
|
(2, null, 3, 4),
|
|
(3, 2, 3, "\t"),
|
|
(4, 2, 3, "\n");
|