1
drop table if exists `�s�P`;
2
drop table if exists `�s�Q`;
3
drop table if exists `�s�R`;
4
drop table if exists `�s�S`;
5
drop table if exists `�s�T`;
6
drop table if exists `�s�U`;
7
drop table if exists `�s�V`;
8
drop table if exists `�s�W`;
9
drop table if exists `�s�X`;
10
drop table if exists `�s�P�O`;
11
drop table if exists `�s�P�P`;
12
drop table if exists `�s�P�Q`;
14
SET character_set_database = sjis;
15
CREATE TABLE `�s�Pa` (`�b�P` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = innodb;
16
CREATE TABLE `�s�Pb` (`�b�P` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = innodb;
17
CREATE TABLE `�s�Qa` (`�b�P` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = innodb;
18
CREATE TABLE `�s�Qb` (`�b�P` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = innodb;
19
CREATE TABLE `�s�Ra` (`�b�P` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = innodb;
20
CREATE TABLE `�s�Rb` (`�b�P` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = innodb;
21
CREATE TABLE `�s�Sa` (`�b�P` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = myisam;
22
CREATE TABLE `�s�Sb` (`�b�P` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = myisam;
23
CREATE TABLE `�s�Ta` (`�b�P` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = myisam;
24
CREATE TABLE `�s�Tb` (`�b�P` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = myisam;
25
CREATE TABLE `�s�Ua` (`�b�P` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = myisam;
26
CREATE TABLE `�s�Ub` (`�b�P` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = myisam;
27
CREATE TABLE `�s�Va` (`�b�P` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = heap;
28
CREATE TABLE `�s�Vb` (`�b�P` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = heap;
29
CREATE TABLE `�s�Wa` (`�b�P` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = heap;
30
CREATE TABLE `�s�Wb` (`�b�P` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = heap;
31
CREATE TABLE `�s�Xa` (`�b�P` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = heap;
32
CREATE TABLE `�s�Xb` (`�b�P` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = heap;
33
CREATE TABLE `�s�P�Oa` (`�b�P` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = heap;
34
CREATE TABLE `�s�P�Ob` (`�b�P` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = heap;
35
CREATE TABLE `�s�P�Pa` (`�b�P` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = heap;
36
CREATE TABLE `�s�P�Pb` (`�b�P` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = heap;
37
CREATE TABLE `�s�P�Qa` (`�b�P` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = heap;
38
CREATE TABLE `�s�P�Qb` (`�b�P` char(1) PRIMARY KEY) DEFAULT CHARSET = sjis engine = heap;
39
INSERT INTO `�s�Pa` VALUES ('�'),('�'),('�');
40
INSERT INTO `�s�Pb` VALUES ('�');
41
INSERT INTO `�s�Qa` VALUES ('��'),('��'),('��');
42
INSERT INTO `�s�Qb` VALUES ('��');
43
INSERT INTO `�s�Ra` VALUES ('�\'),('�\'),('�\');
44
INSERT INTO `�s�Rb` VALUES ('�\');
45
INSERT INTO `�s�Sa` VALUES ('�'),('�'),('�');
46
INSERT INTO `�s�Sb` VALUES ('�');
47
INSERT INTO `�s�Ta` VALUES ('��'),('��'),('��');
48
INSERT INTO `�s�Tb` VALUES ('��');
49
INSERT INTO `�s�Ua` VALUES ('�\'),('�\'),('�\');
50
INSERT INTO `�s�Ub` VALUES ('�\');
51
INSERT INTO `�s�Va` VALUES ('�'),('�'),('�');
52
INSERT INTO `�s�Vb` VALUES ('�');
53
INSERT INTO `�s�Wa` VALUES ('��'),('��'),('��');
54
INSERT INTO `�s�Wb` VALUES ('��');
55
INSERT INTO `�s�Xa` VALUES ('�\'),('�\'),('�\');
56
INSERT INTO `�s�Xb` VALUES ('�\');
57
INSERT INTO `�s�P�Oa` VALUES ('�'),('�'),('�');
58
INSERT INTO `�s�P�Ob` VALUES ('�');
59
INSERT INTO `�s�P�Pa` VALUES ('��'),('��'),('��');
60
INSERT INTO `�s�P�Pb` VALUES ('��');
61
INSERT INTO `�s�P�Qa` VALUES ('�\'),('�\'),('�\');
62
INSERT INTO `�s�P�Qb` VALUES ('�\');
63
SELECT `�b�P` FROM `�s�Pa` WHERE `�b�P` IN (SELECT `�b�P` FROM `�s�Pb`);
66
SELECT `�b�P` FROM `�s�Pa` WHERE EXISTS (SELECT `�b�P` FROM `�s�Pb` WHERE `�s�Pa`.`�b�P` = `�s�Pb`.`�b�P`);
69
SELECT `�b�P` FROM `�s�Pa` WHERE NOT EXISTS (SELECT `�b�P` FROM `�s�Pb` WHERE `�s�Pa`.`�b�P` = `�s�Pb`.`�b�P`);
73
SELECT `�b�P` FROM `�s�Qa` WHERE `�b�P` IN (SELECT `�b�P` FROM `�s�Qb`);
76
SELECT `�b�P` FROM `�s�Qa` WHERE EXISTS (SELECT `�b�P` FROM `�s�Qb` WHERE `�s�Qa`.`�b�P` = `�s�Qb`.`�b�P`);
79
SELECT `�b�P` FROM `�s�Qa` WHERE NOT EXISTS (SELECT `�b�P` FROM `�s�Qb` WHERE `�s�Qa`.`�b�P` = `�s�Qb`.`�b�P`);
83
SELECT `�b�P` FROM `�s�Ra` WHERE `�b�P` IN (SELECT `�b�P` FROM `�s�Rb`);
86
SELECT `�b�P` FROM `�s�Ra` WHERE EXISTS (SELECT `�b�P` FROM `�s�Rb` WHERE `�s�Ra`.`�b�P` = `�s�Rb`.`�b�P`);
89
SELECT `�b�P` FROM `�s�Ra` WHERE NOT EXISTS (SELECT `�b�P` FROM `�s�Rb` WHERE `�s�Ra`.`�b�P` = `�s�Rb`.`�b�P`);
93
SELECT `�b�P` FROM `�s�Sa` WHERE `�b�P` IN (SELECT `�b�P` FROM `�s�Sb`);
96
SELECT `�b�P` FROM `�s�Sa` WHERE EXISTS (SELECT `�b�P` FROM `�s�Sb` WHERE `�s�Sa`.`�b�P` = `�s�Sb`.`�b�P`);
99
SELECT `�b�P` FROM `�s�Sa` WHERE NOT EXISTS (SELECT `�b�P` FROM `�s�Sb` WHERE `�s�Sa`.`�b�P` = `�s�Sb`.`�b�P`);
103
SELECT `�b�P` FROM `�s�Ta` WHERE `�b�P` IN (SELECT `�b�P` FROM `�s�Tb`);
106
SELECT `�b�P` FROM `�s�Ta` WHERE EXISTS (SELECT `�b�P` FROM `�s�Tb` WHERE `�s�Ta`.`�b�P` = `�s�Tb`.`�b�P`);
109
SELECT `�b�P` FROM `�s�Ta` WHERE NOT EXISTS (SELECT `�b�P` FROM `�s�Tb` WHERE `�s�Ta`.`�b�P` = `�s�Tb`.`�b�P`);
113
SELECT `�b�P` FROM `�s�Ua` WHERE `�b�P` IN (SELECT `�b�P` FROM `�s�Ub`);
116
SELECT `�b�P` FROM `�s�Ua` WHERE EXISTS (SELECT `�b�P` FROM `�s�Ub` WHERE `�s�Ua`.`�b�P` = `�s�Ub`.`�b�P`);
119
SELECT `�b�P` FROM `�s�Ua` WHERE NOT EXISTS (SELECT `�b�P` FROM `�s�Ub` WHERE `�s�Ua`.`�b�P` = `�s�Ub`.`�b�P`);
123
SELECT `�b�P` FROM `�s�Va` WHERE `�b�P` IN (SELECT `�b�P` FROM `�s�Vb`);
126
SELECT `�b�P` FROM `�s�Va` WHERE EXISTS (SELECT `�b�P` FROM `�s�Vb` WHERE `�s�Va`.`�b�P` = `�s�Vb`.`�b�P`);
129
SELECT `�b�P` FROM `�s�Va` WHERE NOT EXISTS (SELECT `�b�P` FROM `�s�Vb` WHERE `�s�Va`.`�b�P` = `�s�Vb`.`�b�P`);
133
SELECT `�b�P` FROM `�s�Wa` WHERE `�b�P` IN (SELECT `�b�P` FROM `�s�Wb`);
136
SELECT `�b�P` FROM `�s�Wa` WHERE EXISTS (SELECT `�b�P` FROM `�s�Wb` WHERE `�s�Wa`.`�b�P` = `�s�Wb`.`�b�P`);
139
SELECT `�b�P` FROM `�s�Wa` WHERE NOT EXISTS (SELECT `�b�P` FROM `�s�Wb` WHERE `�s�Wa`.`�b�P` = `�s�Wb`.`�b�P`);
143
SELECT `�b�P` FROM `�s�Xa` WHERE `�b�P` IN (SELECT `�b�P` FROM `�s�Xb`);
146
SELECT `�b�P` FROM `�s�Xa` WHERE EXISTS (SELECT `�b�P` FROM `�s�Xb` WHERE `�s�Xa`.`�b�P` = `�s�Xb`.`�b�P`);
149
SELECT `�b�P` FROM `�s�Xa` WHERE NOT EXISTS (SELECT `�b�P` FROM `�s�Xb` WHERE `�s�Xa`.`�b�P` = `�s�Xb`.`�b�P`);
153
SELECT `�b�P` FROM `�s�P�Oa` WHERE `�b�P` IN (SELECT `�b�P` FROM `�s�P�Ob`);
156
SELECT `�b�P` FROM `�s�P�Oa` WHERE EXISTS (SELECT `�b�P` FROM `�s�P�Ob` WHERE `�s�P�Oa`.`�b�P` = `�s�P�Ob`.`�b�P`);
159
SELECT `�b�P` FROM `�s�P�Oa` WHERE NOT EXISTS (SELECT `�b�P` FROM `�s�P�Ob` WHERE `�s�P�Oa`.`�b�P` = `�s�P�Ob`.`�b�P`);
163
SELECT `�b�P` FROM `�s�P�Pa` WHERE `�b�P` IN (SELECT `�b�P` FROM `�s�P�Pb`);
166
SELECT `�b�P` FROM `�s�P�Pa` WHERE EXISTS (SELECT `�b�P` FROM `�s�P�Pb` WHERE `�s�P�Pa`.`�b�P` = `�s�P�Pb`.`�b�P`);
169
SELECT `�b�P` FROM `�s�P�Pa` WHERE NOT EXISTS (SELECT `�b�P` FROM `�s�P�Pb` WHERE `�s�P�Pa`.`�b�P` = `�s�P�Pb`.`�b�P`);
173
SELECT `�b�P` FROM `�s�P�Qa` WHERE `�b�P` IN (SELECT `�b�P` FROM `�s�P�Qb`);
176
SELECT `�b�P` FROM `�s�P�Qa` WHERE EXISTS (SELECT `�b�P` FROM `�s�P�Qb` WHERE `�s�P�Qa`.`�b�P` = `�s�P�Qb`.`�b�P`);
179
SELECT `�b�P` FROM `�s�P�Qa` WHERE NOT EXISTS (SELECT `�b�P` FROM `�s�P�Qb` WHERE `�s�P�Qa`.`�b�P` = `�s�P�Qb`.`�b�P`);
201
DROP TABLE `�s�P�Oa`;
202
DROP TABLE `�s�P�Ob`;
203
DROP TABLE `�s�P�Pa`;
204
DROP TABLE `�s�P�Pb`;
205
DROP TABLE `�s�P�Qa`;
206
DROP TABLE `�s�P�Qb`;