Files
percona-toolkit/t/pt-query-advisor/samples/issue-950.sql
2011-06-24 16:02:05 -06:00

12 lines
261 B
SQL

use test;
create table L (
l_id int not null primary key
);
insert into L(l_id) values(1),(2),(3);
create table R (
r_id int not null primary key,
r_other int NULL -- notice that this is NULL-able
);
insert into R(r_id, r_other) values(1, 5), (2, NULL);