1
by brian
clean slate |
1 |
drop table if exists `T1`;
|
2 |
drop table if exists `T2`;
|
|
3 |
drop table if exists `T3`;
|
|
4 |
drop table if exists `T4`;
|
|
5 |
drop table if exists `T5`;
|
|
6 |
drop table if exists `T6`;
|
|
7 |
drop table if exists `T7`;
|
|
8 |
drop table if exists `T8`;
|
|
9 |
drop table if exists `T9`;
|
|
10 |
drop table if exists `T10`;
|
|
11 |
drop table if exists `T11`;
|
|
12 |
drop table if exists `T12`;
|
|
13 |
SET NAMES utf8;
|
|
14 |
SET character_set_database = utf8;
|
|
15 |
CREATE TABLE `T1a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
|
|
16 |
CREATE TABLE `T1b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
|
|
17 |
CREATE TABLE `T2a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
|
|
18 |
CREATE TABLE `T2b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
|
|
19 |
CREATE TABLE `T3a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
|
|
20 |
CREATE TABLE `T3b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
|
|
21 |
CREATE TABLE `T4a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
|
|
22 |
CREATE TABLE `T4b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
|
|
23 |
CREATE TABLE `T5a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
|
|
24 |
CREATE TABLE `T5b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
|
|
25 |
CREATE TABLE `T6a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
|
|
26 |
CREATE TABLE `T6b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
|
|
27 |
CREATE TABLE `T7a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
|
|
28 |
CREATE TABLE `T7b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
|
|
29 |
CREATE TABLE `T8a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
|
|
30 |
CREATE TABLE `T8b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
|
|
31 |
CREATE TABLE `T9a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
|
|
32 |
CREATE TABLE `T9b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
|
|
33 |
CREATE TABLE `T10a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
|
|
34 |
CREATE TABLE `T10b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
|
|
35 |
CREATE TABLE `T11a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
|
|
36 |
CREATE TABLE `T11b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
|
|
37 |
CREATE TABLE `T12a` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
|
|
38 |
CREATE TABLE `T12b` (`C1` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
|
|
39 |
INSERT INTO `T1a` VALUES ('ア'),('カ'),('サ');
|
|
40 |
INSERT INTO `T1b` VALUES ('ア');
|
|
41 |
INSERT INTO `T2a` VALUES ('あ'),('か'),('さ');
|
|
42 |
INSERT INTO `T2b` VALUES ('あ');
|
|
43 |
INSERT INTO `T3a` VALUES ('龔'),('龖'),('龗');
|
|
44 |
INSERT INTO `T3b` VALUES ('龔');
|
|
45 |
INSERT INTO `T4a` VALUES ('ア'),('カ'),('サ');
|
|
46 |
INSERT INTO `T4b` VALUES ('ア');
|
|
47 |
INSERT INTO `T5a` VALUES ('あ'),('か'),('さ');
|
|
48 |
INSERT INTO `T5b` VALUES ('あ');
|
|
49 |
INSERT INTO `T6a` VALUES ('龔'),('龖'),('龗');
|
|
50 |
INSERT INTO `T6b` VALUES ('龔');
|
|
51 |
INSERT INTO `T7a` VALUES ('ア'),('カ'),('サ');
|
|
52 |
INSERT INTO `T7b` VALUES ('ア');
|
|
53 |
INSERT INTO `T8a` VALUES ('あ'),('か'),('さ');
|
|
54 |
INSERT INTO `T8b` VALUES ('あ');
|
|
55 |
INSERT INTO `T9a` VALUES ('龔'),('龖'),('龗');
|
|
56 |
INSERT INTO `T9b` VALUES ('龔');
|
|
57 |
INSERT INTO `T10a` VALUES ('ア'),('カ'),('サ');
|
|
58 |
INSERT INTO `T10b` VALUES ('ア');
|
|
59 |
INSERT INTO `T11a` VALUES ('あ'),('か'),('さ');
|
|
60 |
INSERT INTO `T11b` VALUES ('あ');
|
|
61 |
INSERT INTO `T12a` VALUES ('龔'),('龖'),('龗');
|
|
62 |
INSERT INTO `T12b` VALUES ('龔');
|
|
63 |
SELECT * FROM `T1a` JOIN `T1b`;
|
|
64 |
C1 C1
|
|
65 |
ア ア
|
|
66 |
カ ア
|
|
67 |
サ ア
|
|
68 |
SELECT * FROM `T1a` INNER JOIN `T1b`;
|
|
69 |
C1 C1
|
|
70 |
ア ア
|
|
71 |
カ ア
|
|
72 |
サ ア
|
|
73 |
SELECT * FROM `T1a` JOIN `T1b` USING (`C1`);
|
|
74 |
C1 C1
|
|
75 |
ア ア
|
|
76 |
SELECT * FROM `T1a` INNER JOIN `T1b` USING (`C1`);
|
|
77 |
C1 C1
|
|
78 |
ア ア
|
|
79 |
SELECT * FROM `T1a` CROSS JOIN `T1b`;
|
|
80 |
C1 C1
|
|
81 |
ア ア
|
|
82 |
カ ア
|
|
83 |
サ ア
|
|
84 |
SELECT * FROM `T1a` LEFT JOIN `T1b` USING (`C1`);
|
|
85 |
C1 C1
|
|
86 |
ア ア
|
|
87 |
カ NULL
|
|
88 |
サ NULL
|
|
89 |
SELECT * FROM `T1a` LEFT JOIN `T1b` ON (`T1a`.`C1` = `T1b`.`C1`);
|
|
90 |
C1 C1
|
|
91 |
ア ア
|
|
92 |
カ NULL
|
|
93 |
サ NULL
|
|
94 |
SELECT * FROM `T1b` RIGHT JOIN `T1a` USING (`C1`);
|
|
95 |
C1 C1
|
|
96 |
ア ア
|
|
97 |
NULL カ
|
|
98 |
NULL サ
|
|
99 |
SELECT * FROM `T1b` RIGHT JOIN `T1a` ON (`T1a`.`C1` = `T1b`.`C1`);
|
|
100 |
C1 C1
|
|
101 |
ア ア
|
|
102 |
NULL カ
|
|
103 |
NULL サ
|
|
104 |
SELECT * FROM `T2a` JOIN `T2b`;
|
|
105 |
C1 C1
|
|
106 |
あ あ
|
|
107 |
か あ
|
|
108 |
さ あ
|
|
109 |
SELECT * FROM `T2a` INNER JOIN `T2b`;
|
|
110 |
C1 C1
|
|
111 |
あ あ
|
|
112 |
か あ
|
|
113 |
さ あ
|
|
114 |
SELECT * FROM `T2a` JOIN `T2b` USING (`C1`);
|
|
115 |
C1 C1
|
|
116 |
あ あ
|
|
117 |
SELECT * FROM `T2a` INNER JOIN `T2b` USING (`C1`);
|
|
118 |
C1 C1
|
|
119 |
あ あ
|
|
120 |
SELECT * FROM `T2a` CROSS JOIN `T2b`;
|
|
121 |
C1 C1
|
|
122 |
あ あ
|
|
123 |
か あ
|
|
124 |
さ あ
|
|
125 |
SELECT * FROM `T2a` LEFT JOIN `T2b` USING (`C1`);
|
|
126 |
C1 C1
|
|
127 |
あ あ
|
|
128 |
か NULL
|
|
129 |
さ NULL
|
|
130 |
SELECT * FROM `T2a` LEFT JOIN `T2b` ON (`T2a`.`C1` = `T2b`.`C1`);
|
|
131 |
C1 C1
|
|
132 |
あ あ
|
|
133 |
か NULL
|
|
134 |
さ NULL
|
|
135 |
SELECT * FROM `T2b` RIGHT JOIN `T2a` USING (`C1`);
|
|
136 |
C1 C1
|
|
137 |
あ あ
|
|
138 |
NULL か
|
|
139 |
NULL さ
|
|
140 |
SELECT * FROM `T2b` RIGHT JOIN `T2a` ON (`T2a`.`C1` = `T2b`.`C1`);
|
|
141 |
C1 C1
|
|
142 |
あ あ
|
|
143 |
NULL か
|
|
144 |
NULL さ
|
|
145 |
SELECT * FROM `T3a` JOIN `T3b`;
|
|
146 |
C1 C1
|
|
147 |
龔 龔
|
|
148 |
龖 龔
|
|
149 |
龗 龔
|
|
150 |
SELECT * FROM `T3a` INNER JOIN `T3b`;
|
|
151 |
C1 C1
|
|
152 |
龔 龔
|
|
153 |
龖 龔
|
|
154 |
龗 龔
|
|
155 |
SELECT * FROM `T3a` JOIN `T3b` USING (`C1`);
|
|
156 |
C1 C1
|
|
157 |
龔 龔
|
|
158 |
SELECT * FROM `T3a` INNER JOIN `T3b` USING (`C1`);
|
|
159 |
C1 C1
|
|
160 |
龔 龔
|
|
161 |
SELECT * FROM `T3a` CROSS JOIN `T3b`;
|
|
162 |
C1 C1
|
|
163 |
龔 龔
|
|
164 |
龖 龔
|
|
165 |
龗 龔
|
|
166 |
SELECT * FROM `T3a` LEFT JOIN `T3b` USING (`C1`);
|
|
167 |
C1 C1
|
|
168 |
龔 龔
|
|
169 |
龖 NULL
|
|
170 |
龗 NULL
|
|
171 |
SELECT * FROM `T3a` LEFT JOIN `T3b` ON (`T3a`.`C1` = `T3b`.`C1`);
|
|
172 |
C1 C1
|
|
173 |
龔 龔
|
|
174 |
龖 NULL
|
|
175 |
龗 NULL
|
|
176 |
SELECT * FROM `T3b` RIGHT JOIN `T3a` USING (`C1`);
|
|
177 |
C1 C1
|
|
178 |
龔 龔
|
|
179 |
NULL 龖
|
|
180 |
NULL 龗
|
|
181 |
SELECT * FROM `T3b` RIGHT JOIN `T3a` ON (`T3a`.`C1` = `T3b`.`C1`);
|
|
182 |
C1 C1
|
|
183 |
龔 龔
|
|
184 |
NULL 龖
|
|
185 |
NULL 龗
|
|
186 |
SELECT * FROM `T4a` JOIN `T4b`;
|
|
187 |
C1 C1
|
|
188 |
ア ア
|
|
189 |
カ ア
|
|
190 |
サ ア
|
|
191 |
SELECT * FROM `T4a` INNER JOIN `T4b`;
|
|
192 |
C1 C1
|
|
193 |
ア ア
|
|
194 |
カ ア
|
|
195 |
サ ア
|
|
196 |
SELECT * FROM `T4a` JOIN `T4b` USING (`C1`);
|
|
197 |
C1 C1
|
|
198 |
ア ア
|
|
199 |
SELECT * FROM `T4a` INNER JOIN `T4b` USING (`C1`);
|
|
200 |
C1 C1
|
|
201 |
ア ア
|
|
202 |
SELECT * FROM `T4a` CROSS JOIN `T4b`;
|
|
203 |
C1 C1
|
|
204 |
ア ア
|
|
205 |
カ ア
|
|
206 |
サ ア
|
|
207 |
SELECT * FROM `T4a` LEFT JOIN `T4b` USING (`C1`);
|
|
208 |
C1 C1
|
|
209 |
ア ア
|
|
210 |
カ NULL
|
|
211 |
サ NULL
|
|
212 |
SELECT * FROM `T4a` LEFT JOIN `T4b` ON (`T4a`.`C1` = `T4b`.`C1`);
|
|
213 |
C1 C1
|
|
214 |
ア ア
|
|
215 |
カ NULL
|
|
216 |
サ NULL
|
|
217 |
SELECT * FROM `T4b` RIGHT JOIN `T4a` USING (`C1`);
|
|
218 |
C1 C1
|
|
219 |
ア ア
|
|
220 |
NULL カ
|
|
221 |
NULL サ
|
|
222 |
SELECT * FROM `T4b` RIGHT JOIN `T4a` ON (`T4a`.`C1` = `T4b`.`C1`);
|
|
223 |
C1 C1
|
|
224 |
ア ア
|
|
225 |
NULL カ
|
|
226 |
NULL サ
|
|
227 |
SELECT * FROM `T5a` JOIN `T5b`;
|
|
228 |
C1 C1
|
|
229 |
あ あ
|
|
230 |
か あ
|
|
231 |
さ あ
|
|
232 |
SELECT * FROM `T5a` INNER JOIN `T5b`;
|
|
233 |
C1 C1
|
|
234 |
あ あ
|
|
235 |
か あ
|
|
236 |
さ あ
|
|
237 |
SELECT * FROM `T5a` JOIN `T5b` USING (`C1`);
|
|
238 |
C1 C1
|
|
239 |
あ あ
|
|
240 |
SELECT * FROM `T5a` INNER JOIN `T5b` USING (`C1`);
|
|
241 |
C1 C1
|
|
242 |
あ あ
|
|
243 |
SELECT * FROM `T5a` CROSS JOIN `T5b`;
|
|
244 |
C1 C1
|
|
245 |
あ あ
|
|
246 |
か あ
|
|
247 |
さ あ
|
|
248 |
SELECT * FROM `T5a` LEFT JOIN `T5b` USING (`C1`);
|
|
249 |
C1 C1
|
|
250 |
あ あ
|
|
251 |
か NULL
|
|
252 |
さ NULL
|
|
253 |
SELECT * FROM `T5a` LEFT JOIN `T5b` ON (`T5a`.`C1` = `T5b`.`C1`);
|
|
254 |
C1 C1
|
|
255 |
あ あ
|
|
256 |
か NULL
|
|
257 |
さ NULL
|
|
258 |
SELECT * FROM `T5b` RIGHT JOIN `T5a` USING (`C1`);
|
|
259 |
C1 C1
|
|
260 |
あ あ
|
|
261 |
NULL か
|
|
262 |
NULL さ
|
|
263 |
SELECT * FROM `T5b` RIGHT JOIN `T5a` ON (`T5a`.`C1` = `T5b`.`C1`);
|
|
264 |
C1 C1
|
|
265 |
あ あ
|
|
266 |
NULL か
|
|
267 |
NULL さ
|
|
268 |
SELECT * FROM `T6a` JOIN `T6b`;
|
|
269 |
C1 C1
|
|
270 |
龔 龔
|
|
271 |
龖 龔
|
|
272 |
龗 龔
|
|
273 |
SELECT * FROM `T6a` INNER JOIN `T6b`;
|
|
274 |
C1 C1
|
|
275 |
龔 龔
|
|
276 |
龖 龔
|
|
277 |
龗 龔
|
|
278 |
SELECT * FROM `T6a` JOIN `T6b` USING (`C1`);
|
|
279 |
C1 C1
|
|
280 |
龔 龔
|
|
281 |
SELECT * FROM `T6a` INNER JOIN `T6b` USING (`C1`);
|
|
282 |
C1 C1
|
|
283 |
龔 龔
|
|
284 |
SELECT * FROM `T6a` CROSS JOIN `T6b`;
|
|
285 |
C1 C1
|
|
286 |
龔 龔
|
|
287 |
龖 龔
|
|
288 |
龗 龔
|
|
289 |
SELECT * FROM `T6a` LEFT JOIN `T6b` USING (`C1`);
|
|
290 |
C1 C1
|
|
291 |
龔 龔
|
|
292 |
龖 NULL
|
|
293 |
龗 NULL
|
|
294 |
SELECT * FROM `T6a` LEFT JOIN `T6b` ON (`T6a`.`C1` = `T6b`.`C1`);
|
|
295 |
C1 C1
|
|
296 |
龔 龔
|
|
297 |
龖 NULL
|
|
298 |
龗 NULL
|
|
299 |
SELECT * FROM `T6b` RIGHT JOIN `T6a` USING (`C1`);
|
|
300 |
C1 C1
|
|
301 |
龔 龔
|
|
302 |
NULL 龖
|
|
303 |
NULL 龗
|
|
304 |
SELECT * FROM `T6b` RIGHT JOIN `T6a` ON (`T6a`.`C1` = `T6b`.`C1`);
|
|
305 |
C1 C1
|
|
306 |
龔 龔
|
|
307 |
NULL 龖
|
|
308 |
NULL 龗
|
|
309 |
SELECT * FROM `T7a` JOIN `T7b`;
|
|
310 |
C1 C1
|
|
311 |
ア ア
|
|
312 |
カ ア
|
|
313 |
サ ア
|
|
314 |
SELECT * FROM `T7a` INNER JOIN `T7b`;
|
|
315 |
C1 C1
|
|
316 |
ア ア
|
|
317 |
カ ア
|
|
318 |
サ ア
|
|
319 |
SELECT * FROM `T7a` JOIN `T7b` USING (`C1`);
|
|
320 |
C1 C1
|
|
321 |
ア ア
|
|
322 |
SELECT * FROM `T7a` INNER JOIN `T7b` USING (`C1`);
|
|
323 |
C1 C1
|
|
324 |
ア ア
|
|
325 |
SELECT * FROM `T7a` CROSS JOIN `T7b`;
|
|
326 |
C1 C1
|
|
327 |
ア ア
|
|
328 |
カ ア
|
|
329 |
サ ア
|
|
330 |
SELECT * FROM `T7a` LEFT JOIN `T7b` USING (`C1`);
|
|
331 |
C1 C1
|
|
332 |
ア ア
|
|
333 |
カ NULL
|
|
334 |
サ NULL
|
|
335 |
SELECT * FROM `T7a` LEFT JOIN `T7b` ON (`T7a`.`C1` = `T7b`.`C1`);
|
|
336 |
C1 C1
|
|
337 |
ア ア
|
|
338 |
カ NULL
|
|
339 |
サ NULL
|
|
340 |
SELECT * FROM `T7b` RIGHT JOIN `T7a` USING (`C1`);
|
|
341 |
C1 C1
|
|
342 |
ア ア
|
|
343 |
NULL カ
|
|
344 |
NULL サ
|
|
345 |
SELECT * FROM `T7b` RIGHT JOIN `T7a` ON (`T7a`.`C1` = `T7b`.`C1`);
|
|
346 |
C1 C1
|
|
347 |
ア ア
|
|
348 |
NULL カ
|
|
349 |
NULL サ
|
|
350 |
SELECT * FROM `T8a` JOIN `T8b`;
|
|
351 |
C1 C1
|
|
352 |
あ あ
|
|
353 |
か あ
|
|
354 |
さ あ
|
|
355 |
SELECT * FROM `T8a` INNER JOIN `T8b`;
|
|
356 |
C1 C1
|
|
357 |
あ あ
|
|
358 |
か あ
|
|
359 |
さ あ
|
|
360 |
SELECT * FROM `T8a` JOIN `T8b` USING (`C1`);
|
|
361 |
C1 C1
|
|
362 |
あ あ
|
|
363 |
SELECT * FROM `T8a` INNER JOIN `T8b` USING (`C1`);
|
|
364 |
C1 C1
|
|
365 |
あ あ
|
|
366 |
SELECT * FROM `T8a` CROSS JOIN `T8b`;
|
|
367 |
C1 C1
|
|
368 |
あ あ
|
|
369 |
か あ
|
|
370 |
さ あ
|
|
371 |
SELECT * FROM `T8a` LEFT JOIN `T8b` USING (`C1`);
|
|
372 |
C1 C1
|
|
373 |
あ あ
|
|
374 |
か NULL
|
|
375 |
さ NULL
|
|
376 |
SELECT * FROM `T8a` LEFT JOIN `T8b` ON (`T8a`.`C1` = `T8b`.`C1`);
|
|
377 |
C1 C1
|
|
378 |
あ あ
|
|
379 |
か NULL
|
|
380 |
さ NULL
|
|
381 |
SELECT * FROM `T8b` RIGHT JOIN `T8a` USING (`C1`);
|
|
382 |
C1 C1
|
|
383 |
あ あ
|
|
384 |
NULL か
|
|
385 |
NULL さ
|
|
386 |
SELECT * FROM `T8b` RIGHT JOIN `T8a` ON (`T8a`.`C1` = `T8b`.`C1`);
|
|
387 |
C1 C1
|
|
388 |
あ あ
|
|
389 |
NULL か
|
|
390 |
NULL さ
|
|
391 |
SELECT * FROM `T9a` JOIN `T9b`;
|
|
392 |
C1 C1
|
|
393 |
龔 龔
|
|
394 |
龖 龔
|
|
395 |
龗 龔
|
|
396 |
SELECT * FROM `T9a` INNER JOIN `T9b`;
|
|
397 |
C1 C1
|
|
398 |
龔 龔
|
|
399 |
龖 龔
|
|
400 |
龗 龔
|
|
401 |
SELECT * FROM `T9a` JOIN `T9b` USING (`C1`);
|
|
402 |
C1 C1
|
|
403 |
龔 龔
|
|
404 |
SELECT * FROM `T9a` INNER JOIN `T9b` USING (`C1`);
|
|
405 |
C1 C1
|
|
406 |
龔 龔
|
|
407 |
SELECT * FROM `T9a` CROSS JOIN `T9b`;
|
|
408 |
C1 C1
|
|
409 |
龔 龔
|
|
410 |
龖 龔
|
|
411 |
龗 龔
|
|
412 |
SELECT * FROM `T9a` LEFT JOIN `T9b` USING (`C1`);
|
|
413 |
C1 C1
|
|
414 |
龔 龔
|
|
415 |
龖 NULL
|
|
416 |
龗 NULL
|
|
417 |
SELECT * FROM `T9a` LEFT JOIN `T9b` ON (`T9a`.`C1` = `T9b`.`C1`);
|
|
418 |
C1 C1
|
|
419 |
龔 龔
|
|
420 |
龖 NULL
|
|
421 |
龗 NULL
|
|
422 |
SELECT * FROM `T9b` RIGHT JOIN `T9a` USING (`C1`);
|
|
423 |
C1 C1
|
|
424 |
龔 龔
|
|
425 |
NULL 龖
|
|
426 |
NULL 龗
|
|
427 |
SELECT * FROM `T9b` RIGHT JOIN `T9a` ON (`T9a`.`C1` = `T9b`.`C1`);
|
|
428 |
C1 C1
|
|
429 |
龔 龔
|
|
430 |
NULL 龖
|
|
431 |
NULL 龗
|
|
432 |
SELECT * FROM `T10a` JOIN `T10b`;
|
|
433 |
C1 C1
|
|
434 |
ア ア
|
|
435 |
カ ア
|
|
436 |
サ ア
|
|
437 |
SELECT * FROM `T10a` INNER JOIN `T10b`;
|
|
438 |
C1 C1
|
|
439 |
ア ア
|
|
440 |
カ ア
|
|
441 |
サ ア
|
|
442 |
SELECT * FROM `T10a` JOIN `T10b` USING (`C1`);
|
|
443 |
C1 C1
|
|
444 |
ア ア
|
|
445 |
SELECT * FROM `T10a` INNER JOIN `T10b` USING (`C1`);
|
|
446 |
C1 C1
|
|
447 |
ア ア
|
|
448 |
SELECT * FROM `T10a` CROSS JOIN `T10b`;
|
|
449 |
C1 C1
|
|
450 |
ア ア
|
|
451 |
カ ア
|
|
452 |
サ ア
|
|
453 |
SELECT * FROM `T10a` LEFT JOIN `T10b` USING (`C1`);
|
|
454 |
C1 C1
|
|
455 |
ア ア
|
|
456 |
カ NULL
|
|
457 |
サ NULL
|
|
458 |
SELECT * FROM `T10a` LEFT JOIN `T10b` ON (`T10a`.`C1` = `T10b`.`C1`);
|
|
459 |
C1 C1
|
|
460 |
ア ア
|
|
461 |
カ NULL
|
|
462 |
サ NULL
|
|
463 |
SELECT * FROM `T10b` RIGHT JOIN `T10a` USING (`C1`);
|
|
464 |
C1 C1
|
|
465 |
ア ア
|
|
466 |
NULL カ
|
|
467 |
NULL サ
|
|
468 |
SELECT * FROM `T10b` RIGHT JOIN `T10a` ON (`T10a`.`C1` = `T10b`.`C1`);
|
|
469 |
C1 C1
|
|
470 |
ア ア
|
|
471 |
NULL カ
|
|
472 |
NULL サ
|
|
473 |
SELECT * FROM `T11a` JOIN `T11b`;
|
|
474 |
C1 C1
|
|
475 |
あ あ
|
|
476 |
か あ
|
|
477 |
さ あ
|
|
478 |
SELECT * FROM `T11a` INNER JOIN `T11b`;
|
|
479 |
C1 C1
|
|
480 |
あ あ
|
|
481 |
か あ
|
|
482 |
さ あ
|
|
483 |
SELECT * FROM `T11a` JOIN `T11b` USING (`C1`);
|
|
484 |
C1 C1
|
|
485 |
あ あ
|
|
486 |
SELECT * FROM `T11a` INNER JOIN `T11b` USING (`C1`);
|
|
487 |
C1 C1
|
|
488 |
あ あ
|
|
489 |
SELECT * FROM `T11a` CROSS JOIN `T11b`;
|
|
490 |
C1 C1
|
|
491 |
あ あ
|
|
492 |
か あ
|
|
493 |
さ あ
|
|
494 |
SELECT * FROM `T11a` LEFT JOIN `T11b` USING (`C1`);
|
|
495 |
C1 C1
|
|
496 |
あ あ
|
|
497 |
か NULL
|
|
498 |
さ NULL
|
|
499 |
SELECT * FROM `T11a` LEFT JOIN `T11b` ON (`T11a`.`C1` = `T11b`.`C1`);
|
|
500 |
C1 C1
|
|
501 |
あ あ
|
|
502 |
か NULL
|
|
503 |
さ NULL
|
|
504 |
SELECT * FROM `T11b` RIGHT JOIN `T11a` USING (`C1`);
|
|
505 |
C1 C1
|
|
506 |
あ あ
|
|
507 |
NULL か
|
|
508 |
NULL さ
|
|
509 |
SELECT * FROM `T11b` RIGHT JOIN `T11a` ON (`T11a`.`C1` = `T11b`.`C1`);
|
|
510 |
C1 C1
|
|
511 |
あ あ
|
|
512 |
NULL か
|
|
513 |
NULL さ
|
|
514 |
SELECT * FROM `T12a` JOIN `T12b`;
|
|
515 |
C1 C1
|
|
516 |
龔 龔
|
|
517 |
龖 龔
|
|
518 |
龗 龔
|
|
519 |
SELECT * FROM `T12a` INNER JOIN `T12b`;
|
|
520 |
C1 C1
|
|
521 |
龔 龔
|
|
522 |
龖 龔
|
|
523 |
龗 龔
|
|
524 |
SELECT * FROM `T12a` JOIN `T12b` USING (`C1`);
|
|
525 |
C1 C1
|
|
526 |
龔 龔
|
|
527 |
SELECT * FROM `T12a` INNER JOIN `T12b` USING (`C1`);
|
|
528 |
C1 C1
|
|
529 |
龔 龔
|
|
530 |
SELECT * FROM `T12a` CROSS JOIN `T12b`;
|
|
531 |
C1 C1
|
|
532 |
龔 龔
|
|
533 |
龖 龔
|
|
534 |
龗 龔
|
|
535 |
SELECT * FROM `T12a` LEFT JOIN `T12b` USING (`C1`);
|
|
536 |
C1 C1
|
|
537 |
龔 龔
|
|
538 |
龖 NULL
|
|
539 |
龗 NULL
|
|
540 |
SELECT * FROM `T12a` LEFT JOIN `T12b` ON (`T12a`.`C1` = `T12b`.`C1`);
|
|
541 |
C1 C1
|
|
542 |
龔 龔
|
|
543 |
龖 NULL
|
|
544 |
龗 NULL
|
|
545 |
SELECT * FROM `T12b` RIGHT JOIN `T12a` USING (`C1`);
|
|
546 |
C1 C1
|
|
547 |
龔 龔
|
|
548 |
NULL 龖
|
|
549 |
NULL 龗
|
|
550 |
SELECT * FROM `T12b` RIGHT JOIN `T12a` ON (`T12a`.`C1` = `T12b`.`C1`);
|
|
551 |
C1 C1
|
|
552 |
龔 龔
|
|
553 |
NULL 龖
|
|
554 |
NULL 龗
|
|
555 |
DROP TABLE `T1a`;
|
|
556 |
DROP TABLE `T1b`;
|
|
557 |
DROP TABLE `T2a`;
|
|
558 |
DROP TABLE `T2b`;
|
|
559 |
DROP TABLE `T3a`;
|
|
560 |
DROP TABLE `T3b`;
|
|
561 |
DROP TABLE `T4a`;
|
|
562 |
DROP TABLE `T4b`;
|
|
563 |
DROP TABLE `T5a`;
|
|
564 |
DROP TABLE `T5b`;
|
|
565 |
DROP TABLE `T6a`;
|
|
566 |
DROP TABLE `T6b`;
|
|
567 |
DROP TABLE `T7a`;
|
|
568 |
DROP TABLE `T7b`;
|
|
569 |
DROP TABLE `T8a`;
|
|
570 |
DROP TABLE `T8b`;
|
|
571 |
DROP TABLE `T9a`;
|
|
572 |
DROP TABLE `T9b`;
|
|
573 |
DROP TABLE `T10a`;
|
|
574 |
DROP TABLE `T10b`;
|
|
575 |
DROP TABLE `T11a`;
|
|
576 |
DROP TABLE `T11b`;
|
|
577 |
DROP TABLE `T12a`;
|
|
578 |
DROP TABLE `T12b`;
|