mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 05:22:25 +01:00
77bc68f99d
Change mode to -rw-rw----
579 lines
13 KiB
Text
579 lines
13 KiB
Text
drop table if exists `£Ô£±`;
|
||
drop table if exists `£Ô£²`;
|
||
drop table if exists `£Ô£³`;
|
||
drop table if exists `£Ô£´`;
|
||
drop table if exists `£Ô£µ`;
|
||
drop table if exists `£Ô£¶`;
|
||
drop table if exists `£Ô£·`;
|
||
drop table if exists `£Ô£¸`;
|
||
drop table if exists `£Ô£¹`;
|
||
drop table if exists `£Ô£±£°`;
|
||
drop table if exists `£Ô£±£±`;
|
||
drop table if exists `£Ô£±£²`;
|
||
SET NAMES ujis;
|
||
SET character_set_database = ucs2;
|
||
SET collation_connection = ucs2_general_ci;
|
||
CREATE TABLE `£Ô£±a` (`£Ã£±` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
|
||
CREATE TABLE `£Ô£±b` (`£Ã£±` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
|
||
CREATE TABLE `£Ô£²a` (`£Ã£±` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
|
||
CREATE TABLE `£Ô£²b` (`£Ã£±` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
|
||
CREATE TABLE `£Ô£³a` (`£Ã£±` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
|
||
CREATE TABLE `£Ô£³b` (`£Ã£±` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
|
||
CREATE TABLE `£Ô£´a` (`£Ã£±` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
|
||
CREATE TABLE `£Ô£´b` (`£Ã£±` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
|
||
CREATE TABLE `£Ô£µa` (`£Ã£±` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
|
||
CREATE TABLE `£Ô£µb` (`£Ã£±` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
|
||
CREATE TABLE `£Ô£¶a` (`£Ã£±` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
|
||
CREATE TABLE `£Ô£¶b` (`£Ã£±` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
|
||
CREATE TABLE `£Ô£·a` (`£Ã£±` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
|
||
CREATE TABLE `£Ô£·b` (`£Ã£±` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
|
||
CREATE TABLE `£Ô£¸a` (`£Ã£±` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
|
||
CREATE TABLE `£Ô£¸b` (`£Ã£±` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
|
||
CREATE TABLE `£Ô£¹a` (`£Ã£±` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
|
||
CREATE TABLE `£Ô£¹b` (`£Ã£±` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
|
||
CREATE TABLE `£Ô£±£°a` (`£Ã£±` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
|
||
CREATE TABLE `£Ô£±£°b` (`£Ã£±` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
|
||
CREATE TABLE `£Ô£±£±a` (`£Ã£±` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
|
||
CREATE TABLE `£Ô£±£±b` (`£Ã£±` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
|
||
CREATE TABLE `£Ô£±£²a` (`£Ã£±` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
|
||
CREATE TABLE `£Ô£±£²b` (`£Ã£±` char(1) PRIMARY KEY) DEFAULT CHARSET = ucs2 engine = innodb;
|
||
INSERT INTO `£Ô£±a` VALUES ('Ž±'),('Ž¶'),('Ž»');
|
||
INSERT INTO `£Ô£±b` VALUES ('Ž±');
|
||
INSERT INTO `£Ô£²a` VALUES ('¤¢'),('¤«'),('¤µ');
|
||
INSERT INTO `£Ô£²b` VALUES ('¤¢');
|
||
INSERT INTO `£Ô£³a` VALUES ('<27>íÜ'),('<27>íÝ'),('<27>íÞ');
|
||
INSERT INTO `£Ô£³b` VALUES ('<27>íÜ');
|
||
INSERT INTO `£Ô£´a` VALUES ('Ž±'),('Ž¶'),('Ž»');
|
||
INSERT INTO `£Ô£´b` VALUES ('Ž±');
|
||
INSERT INTO `£Ô£µa` VALUES ('¤¢'),('¤«'),('¤µ');
|
||
INSERT INTO `£Ô£µb` VALUES ('¤¢');
|
||
INSERT INTO `£Ô£¶a` VALUES ('<27>íÜ'),('<27>íÝ'),('<27>íÞ');
|
||
INSERT INTO `£Ô£¶b` VALUES ('<27>íÜ');
|
||
INSERT INTO `£Ô£·a` VALUES ('Ž±'),('Ž¶'),('Ž»');
|
||
INSERT INTO `£Ô£·b` VALUES ('Ž±');
|
||
INSERT INTO `£Ô£¸a` VALUES ('¤¢'),('¤«'),('¤µ');
|
||
INSERT INTO `£Ô£¸b` VALUES ('¤¢');
|
||
INSERT INTO `£Ô£¹a` VALUES ('<27>íÜ'),('<27>íÝ'),('<27>íÞ');
|
||
INSERT INTO `£Ô£¹b` VALUES ('<27>íÜ');
|
||
INSERT INTO `£Ô£±£°a` VALUES ('Ž±'),('Ž¶'),('Ž»');
|
||
INSERT INTO `£Ô£±£°b` VALUES ('Ž±');
|
||
INSERT INTO `£Ô£±£±a` VALUES ('¤¢'),('¤«'),('¤µ');
|
||
INSERT INTO `£Ô£±£±b` VALUES ('¤¢');
|
||
INSERT INTO `£Ô£±£²a` VALUES ('<27>íÜ'),('<27>íÝ'),('<27>íÞ');
|
||
INSERT INTO `£Ô£±£²b` VALUES ('<27>íÜ');
|
||
SELECT * FROM `£Ô£±a` JOIN `£Ô£±b`;
|
||
£Ã£± £Ã£±
|
||
Ž± Ž±
|
||
Ž¶ Ž±
|
||
Ž» Ž±
|
||
SELECT * FROM `£Ô£±a` INNER JOIN `£Ô£±b`;
|
||
£Ã£± £Ã£±
|
||
Ž± Ž±
|
||
Ž¶ Ž±
|
||
Ž» Ž±
|
||
SELECT * FROM `£Ô£±a` JOIN `£Ô£±b` USING (`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
Ž± Ž±
|
||
SELECT * FROM `£Ô£±a` INNER JOIN `£Ô£±b` USING (`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
Ž± Ž±
|
||
SELECT * FROM `£Ô£±a` CROSS JOIN `£Ô£±b`;
|
||
£Ã£± £Ã£±
|
||
Ž± Ž±
|
||
Ž¶ Ž±
|
||
Ž» Ž±
|
||
SELECT * FROM `£Ô£±a` LEFT JOIN `£Ô£±b` USING (`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
Ž± Ž±
|
||
Ž¶ NULL
|
||
Ž» NULL
|
||
SELECT * FROM `£Ô£±a` LEFT JOIN `£Ô£±b` ON (`£Ô£±a`.`£Ã£±` = `£Ô£±b`.`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
Ž± Ž±
|
||
Ž¶ NULL
|
||
Ž» NULL
|
||
SELECT * FROM `£Ô£±b` RIGHT JOIN `£Ô£±a` USING (`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
Ž± Ž±
|
||
NULL Ž¶
|
||
NULL Ž»
|
||
SELECT * FROM `£Ô£±b` RIGHT JOIN `£Ô£±a` ON (`£Ô£±a`.`£Ã£±` = `£Ô£±b`.`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
Ž± Ž±
|
||
NULL Ž¶
|
||
NULL Ž»
|
||
SELECT * FROM `£Ô£²a` JOIN `£Ô£²b`;
|
||
£Ã£± £Ã£±
|
||
¤¢ ¤¢
|
||
¤« ¤¢
|
||
¤µ ¤¢
|
||
SELECT * FROM `£Ô£²a` INNER JOIN `£Ô£²b`;
|
||
£Ã£± £Ã£±
|
||
¤¢ ¤¢
|
||
¤« ¤¢
|
||
¤µ ¤¢
|
||
SELECT * FROM `£Ô£²a` JOIN `£Ô£²b` USING (`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
¤¢ ¤¢
|
||
SELECT * FROM `£Ô£²a` INNER JOIN `£Ô£²b` USING (`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
¤¢ ¤¢
|
||
SELECT * FROM `£Ô£²a` CROSS JOIN `£Ô£²b`;
|
||
£Ã£± £Ã£±
|
||
¤¢ ¤¢
|
||
¤« ¤¢
|
||
¤µ ¤¢
|
||
SELECT * FROM `£Ô£²a` LEFT JOIN `£Ô£²b` USING (`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
¤¢ ¤¢
|
||
¤« NULL
|
||
¤µ NULL
|
||
SELECT * FROM `£Ô£²a` LEFT JOIN `£Ô£²b` ON (`£Ô£²a`.`£Ã£±` = `£Ô£²b`.`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
¤¢ ¤¢
|
||
¤« NULL
|
||
¤µ NULL
|
||
SELECT * FROM `£Ô£²b` RIGHT JOIN `£Ô£²a` USING (`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
¤¢ ¤¢
|
||
NULL ¤«
|
||
NULL ¤µ
|
||
SELECT * FROM `£Ô£²b` RIGHT JOIN `£Ô£²a` ON (`£Ô£²a`.`£Ã£±` = `£Ô£²b`.`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
¤¢ ¤¢
|
||
NULL ¤«
|
||
NULL ¤µ
|
||
SELECT * FROM `£Ô£³a` JOIN `£Ô£³b`;
|
||
£Ã£± £Ã£±
|
||
<EFBFBD>íÜ <09>íÜ
|
||
<EFBFBD>íÝ <09>íÜ
|
||
<EFBFBD>íÞ <09>íÜ
|
||
SELECT * FROM `£Ô£³a` INNER JOIN `£Ô£³b`;
|
||
£Ã£± £Ã£±
|
||
<EFBFBD>íÜ <09>íÜ
|
||
<EFBFBD>íÝ <09>íÜ
|
||
<EFBFBD>íÞ <09>íÜ
|
||
SELECT * FROM `£Ô£³a` JOIN `£Ô£³b` USING (`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
<EFBFBD>íÜ <09>íÜ
|
||
SELECT * FROM `£Ô£³a` INNER JOIN `£Ô£³b` USING (`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
<EFBFBD>íÜ <09>íÜ
|
||
SELECT * FROM `£Ô£³a` CROSS JOIN `£Ô£³b`;
|
||
£Ã£± £Ã£±
|
||
<EFBFBD>íÜ <09>íÜ
|
||
<EFBFBD>íÝ <09>íÜ
|
||
<EFBFBD>íÞ <09>íÜ
|
||
SELECT * FROM `£Ô£³a` LEFT JOIN `£Ô£³b` USING (`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
<EFBFBD>íÜ <09>íÜ
|
||
<EFBFBD>íÝ NULL
|
||
<EFBFBD>íÞ NULL
|
||
SELECT * FROM `£Ô£³a` LEFT JOIN `£Ô£³b` ON (`£Ô£³a`.`£Ã£±` = `£Ô£³b`.`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
<EFBFBD>íÜ <09>íÜ
|
||
<EFBFBD>íÝ NULL
|
||
<EFBFBD>íÞ NULL
|
||
SELECT * FROM `£Ô£³b` RIGHT JOIN `£Ô£³a` USING (`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
<EFBFBD>íÜ <09>íÜ
|
||
NULL <09>íÝ
|
||
NULL <09>íÞ
|
||
SELECT * FROM `£Ô£³b` RIGHT JOIN `£Ô£³a` ON (`£Ô£³a`.`£Ã£±` = `£Ô£³b`.`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
<EFBFBD>íÜ <09>íÜ
|
||
NULL <09>íÝ
|
||
NULL <09>íÞ
|
||
SELECT * FROM `£Ô£´a` JOIN `£Ô£´b`;
|
||
£Ã£± £Ã£±
|
||
Ž± Ž±
|
||
Ž¶ Ž±
|
||
Ž» Ž±
|
||
SELECT * FROM `£Ô£´a` INNER JOIN `£Ô£´b`;
|
||
£Ã£± £Ã£±
|
||
Ž± Ž±
|
||
Ž¶ Ž±
|
||
Ž» Ž±
|
||
SELECT * FROM `£Ô£´a` JOIN `£Ô£´b` USING (`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
Ž± Ž±
|
||
SELECT * FROM `£Ô£´a` INNER JOIN `£Ô£´b` USING (`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
Ž± Ž±
|
||
SELECT * FROM `£Ô£´a` CROSS JOIN `£Ô£´b`;
|
||
£Ã£± £Ã£±
|
||
Ž± Ž±
|
||
Ž¶ Ž±
|
||
Ž» Ž±
|
||
SELECT * FROM `£Ô£´a` LEFT JOIN `£Ô£´b` USING (`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
Ž± Ž±
|
||
Ž¶ NULL
|
||
Ž» NULL
|
||
SELECT * FROM `£Ô£´a` LEFT JOIN `£Ô£´b` ON (`£Ô£´a`.`£Ã£±` = `£Ô£´b`.`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
Ž± Ž±
|
||
Ž¶ NULL
|
||
Ž» NULL
|
||
SELECT * FROM `£Ô£´b` RIGHT JOIN `£Ô£´a` USING (`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
Ž± Ž±
|
||
NULL Ž¶
|
||
NULL Ž»
|
||
SELECT * FROM `£Ô£´b` RIGHT JOIN `£Ô£´a` ON (`£Ô£´a`.`£Ã£±` = `£Ô£´b`.`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
Ž± Ž±
|
||
NULL Ž¶
|
||
NULL Ž»
|
||
SELECT * FROM `£Ô£µa` JOIN `£Ô£µb`;
|
||
£Ã£± £Ã£±
|
||
¤¢ ¤¢
|
||
¤« ¤¢
|
||
¤µ ¤¢
|
||
SELECT * FROM `£Ô£µa` INNER JOIN `£Ô£µb`;
|
||
£Ã£± £Ã£±
|
||
¤¢ ¤¢
|
||
¤« ¤¢
|
||
¤µ ¤¢
|
||
SELECT * FROM `£Ô£µa` JOIN `£Ô£µb` USING (`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
¤¢ ¤¢
|
||
SELECT * FROM `£Ô£µa` INNER JOIN `£Ô£µb` USING (`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
¤¢ ¤¢
|
||
SELECT * FROM `£Ô£µa` CROSS JOIN `£Ô£µb`;
|
||
£Ã£± £Ã£±
|
||
¤¢ ¤¢
|
||
¤« ¤¢
|
||
¤µ ¤¢
|
||
SELECT * FROM `£Ô£µa` LEFT JOIN `£Ô£µb` USING (`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
¤¢ ¤¢
|
||
¤« NULL
|
||
¤µ NULL
|
||
SELECT * FROM `£Ô£µa` LEFT JOIN `£Ô£µb` ON (`£Ô£µa`.`£Ã£±` = `£Ô£µb`.`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
¤¢ ¤¢
|
||
¤« NULL
|
||
¤µ NULL
|
||
SELECT * FROM `£Ô£µb` RIGHT JOIN `£Ô£µa` USING (`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
¤¢ ¤¢
|
||
NULL ¤«
|
||
NULL ¤µ
|
||
SELECT * FROM `£Ô£µb` RIGHT JOIN `£Ô£µa` ON (`£Ô£µa`.`£Ã£±` = `£Ô£µb`.`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
¤¢ ¤¢
|
||
NULL ¤«
|
||
NULL ¤µ
|
||
SELECT * FROM `£Ô£¶a` JOIN `£Ô£¶b`;
|
||
£Ã£± £Ã£±
|
||
<EFBFBD>íÜ <09>íÜ
|
||
<EFBFBD>íÝ <09>íÜ
|
||
<EFBFBD>íÞ <09>íÜ
|
||
SELECT * FROM `£Ô£¶a` INNER JOIN `£Ô£¶b`;
|
||
£Ã£± £Ã£±
|
||
<EFBFBD>íÜ <09>íÜ
|
||
<EFBFBD>íÝ <09>íÜ
|
||
<EFBFBD>íÞ <09>íÜ
|
||
SELECT * FROM `£Ô£¶a` JOIN `£Ô£¶b` USING (`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
<EFBFBD>íÜ <09>íÜ
|
||
SELECT * FROM `£Ô£¶a` INNER JOIN `£Ô£¶b` USING (`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
<EFBFBD>íÜ <09>íÜ
|
||
SELECT * FROM `£Ô£¶a` CROSS JOIN `£Ô£¶b`;
|
||
£Ã£± £Ã£±
|
||
<EFBFBD>íÜ <09>íÜ
|
||
<EFBFBD>íÝ <09>íÜ
|
||
<EFBFBD>íÞ <09>íÜ
|
||
SELECT * FROM `£Ô£¶a` LEFT JOIN `£Ô£¶b` USING (`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
<EFBFBD>íÜ <09>íÜ
|
||
<EFBFBD>íÝ NULL
|
||
<EFBFBD>íÞ NULL
|
||
SELECT * FROM `£Ô£¶a` LEFT JOIN `£Ô£¶b` ON (`£Ô£¶a`.`£Ã£±` = `£Ô£¶b`.`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
<EFBFBD>íÜ <09>íÜ
|
||
<EFBFBD>íÝ NULL
|
||
<EFBFBD>íÞ NULL
|
||
SELECT * FROM `£Ô£¶b` RIGHT JOIN `£Ô£¶a` USING (`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
<EFBFBD>íÜ <09>íÜ
|
||
NULL <09>íÝ
|
||
NULL <09>íÞ
|
||
SELECT * FROM `£Ô£¶b` RIGHT JOIN `£Ô£¶a` ON (`£Ô£¶a`.`£Ã£±` = `£Ô£¶b`.`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
<EFBFBD>íÜ <09>íÜ
|
||
NULL <09>íÝ
|
||
NULL <09>íÞ
|
||
SELECT * FROM `£Ô£·a` JOIN `£Ô£·b`;
|
||
£Ã£± £Ã£±
|
||
Ž± Ž±
|
||
Ž¶ Ž±
|
||
Ž» Ž±
|
||
SELECT * FROM `£Ô£·a` INNER JOIN `£Ô£·b`;
|
||
£Ã£± £Ã£±
|
||
Ž± Ž±
|
||
Ž¶ Ž±
|
||
Ž» Ž±
|
||
SELECT * FROM `£Ô£·a` JOIN `£Ô£·b` USING (`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
Ž± Ž±
|
||
SELECT * FROM `£Ô£·a` INNER JOIN `£Ô£·b` USING (`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
Ž± Ž±
|
||
SELECT * FROM `£Ô£·a` CROSS JOIN `£Ô£·b`;
|
||
£Ã£± £Ã£±
|
||
Ž± Ž±
|
||
Ž¶ Ž±
|
||
Ž» Ž±
|
||
SELECT * FROM `£Ô£·a` LEFT JOIN `£Ô£·b` USING (`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
Ž± Ž±
|
||
Ž¶ NULL
|
||
Ž» NULL
|
||
SELECT * FROM `£Ô£·a` LEFT JOIN `£Ô£·b` ON (`£Ô£·a`.`£Ã£±` = `£Ô£·b`.`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
Ž± Ž±
|
||
Ž¶ NULL
|
||
Ž» NULL
|
||
SELECT * FROM `£Ô£·b` RIGHT JOIN `£Ô£·a` USING (`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
Ž± Ž±
|
||
NULL Ž¶
|
||
NULL Ž»
|
||
SELECT * FROM `£Ô£·b` RIGHT JOIN `£Ô£·a` ON (`£Ô£·a`.`£Ã£±` = `£Ô£·b`.`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
Ž± Ž±
|
||
NULL Ž¶
|
||
NULL Ž»
|
||
SELECT * FROM `£Ô£¸a` JOIN `£Ô£¸b`;
|
||
£Ã£± £Ã£±
|
||
¤¢ ¤¢
|
||
¤« ¤¢
|
||
¤µ ¤¢
|
||
SELECT * FROM `£Ô£¸a` INNER JOIN `£Ô£¸b`;
|
||
£Ã£± £Ã£±
|
||
¤¢ ¤¢
|
||
¤« ¤¢
|
||
¤µ ¤¢
|
||
SELECT * FROM `£Ô£¸a` JOIN `£Ô£¸b` USING (`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
¤¢ ¤¢
|
||
SELECT * FROM `£Ô£¸a` INNER JOIN `£Ô£¸b` USING (`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
¤¢ ¤¢
|
||
SELECT * FROM `£Ô£¸a` CROSS JOIN `£Ô£¸b`;
|
||
£Ã£± £Ã£±
|
||
¤¢ ¤¢
|
||
¤« ¤¢
|
||
¤µ ¤¢
|
||
SELECT * FROM `£Ô£¸a` LEFT JOIN `£Ô£¸b` USING (`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
¤¢ ¤¢
|
||
¤« NULL
|
||
¤µ NULL
|
||
SELECT * FROM `£Ô£¸a` LEFT JOIN `£Ô£¸b` ON (`£Ô£¸a`.`£Ã£±` = `£Ô£¸b`.`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
¤¢ ¤¢
|
||
¤« NULL
|
||
¤µ NULL
|
||
SELECT * FROM `£Ô£¸b` RIGHT JOIN `£Ô£¸a` USING (`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
¤¢ ¤¢
|
||
NULL ¤«
|
||
NULL ¤µ
|
||
SELECT * FROM `£Ô£¸b` RIGHT JOIN `£Ô£¸a` ON (`£Ô£¸a`.`£Ã£±` = `£Ô£¸b`.`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
¤¢ ¤¢
|
||
NULL ¤«
|
||
NULL ¤µ
|
||
SELECT * FROM `£Ô£¹a` JOIN `£Ô£¹b`;
|
||
£Ã£± £Ã£±
|
||
<EFBFBD>íÜ <09>íÜ
|
||
<EFBFBD>íÝ <09>íÜ
|
||
<EFBFBD>íÞ <09>íÜ
|
||
SELECT * FROM `£Ô£¹a` INNER JOIN `£Ô£¹b`;
|
||
£Ã£± £Ã£±
|
||
<EFBFBD>íÜ <09>íÜ
|
||
<EFBFBD>íÝ <09>íÜ
|
||
<EFBFBD>íÞ <09>íÜ
|
||
SELECT * FROM `£Ô£¹a` JOIN `£Ô£¹b` USING (`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
<EFBFBD>íÜ <09>íÜ
|
||
SELECT * FROM `£Ô£¹a` INNER JOIN `£Ô£¹b` USING (`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
<EFBFBD>íÜ <09>íÜ
|
||
SELECT * FROM `£Ô£¹a` CROSS JOIN `£Ô£¹b`;
|
||
£Ã£± £Ã£±
|
||
<EFBFBD>íÜ <09>íÜ
|
||
<EFBFBD>íÝ <09>íÜ
|
||
<EFBFBD>íÞ <09>íÜ
|
||
SELECT * FROM `£Ô£¹a` LEFT JOIN `£Ô£¹b` USING (`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
<EFBFBD>íÜ <09>íÜ
|
||
<EFBFBD>íÝ NULL
|
||
<EFBFBD>íÞ NULL
|
||
SELECT * FROM `£Ô£¹a` LEFT JOIN `£Ô£¹b` ON (`£Ô£¹a`.`£Ã£±` = `£Ô£¹b`.`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
<EFBFBD>íÜ <09>íÜ
|
||
<EFBFBD>íÝ NULL
|
||
<EFBFBD>íÞ NULL
|
||
SELECT * FROM `£Ô£¹b` RIGHT JOIN `£Ô£¹a` USING (`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
<EFBFBD>íÜ <09>íÜ
|
||
NULL <09>íÝ
|
||
NULL <09>íÞ
|
||
SELECT * FROM `£Ô£¹b` RIGHT JOIN `£Ô£¹a` ON (`£Ô£¹a`.`£Ã£±` = `£Ô£¹b`.`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
<EFBFBD>íÜ <09>íÜ
|
||
NULL <09>íÝ
|
||
NULL <09>íÞ
|
||
SELECT * FROM `£Ô£±£°a` JOIN `£Ô£±£°b`;
|
||
£Ã£± £Ã£±
|
||
Ž± Ž±
|
||
Ž¶ Ž±
|
||
Ž» Ž±
|
||
SELECT * FROM `£Ô£±£°a` INNER JOIN `£Ô£±£°b`;
|
||
£Ã£± £Ã£±
|
||
Ž± Ž±
|
||
Ž¶ Ž±
|
||
Ž» Ž±
|
||
SELECT * FROM `£Ô£±£°a` JOIN `£Ô£±£°b` USING (`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
Ž± Ž±
|
||
SELECT * FROM `£Ô£±£°a` INNER JOIN `£Ô£±£°b` USING (`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
Ž± Ž±
|
||
SELECT * FROM `£Ô£±£°a` CROSS JOIN `£Ô£±£°b`;
|
||
£Ã£± £Ã£±
|
||
Ž± Ž±
|
||
Ž¶ Ž±
|
||
Ž» Ž±
|
||
SELECT * FROM `£Ô£±£°a` LEFT JOIN `£Ô£±£°b` USING (`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
Ž± Ž±
|
||
Ž¶ NULL
|
||
Ž» NULL
|
||
SELECT * FROM `£Ô£±£°a` LEFT JOIN `£Ô£±£°b` ON (`£Ô£±£°a`.`£Ã£±` = `£Ô£±£°b`.`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
Ž± Ž±
|
||
Ž¶ NULL
|
||
Ž» NULL
|
||
SELECT * FROM `£Ô£±£°b` RIGHT JOIN `£Ô£±£°a` USING (`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
Ž± Ž±
|
||
NULL Ž¶
|
||
NULL Ž»
|
||
SELECT * FROM `£Ô£±£°b` RIGHT JOIN `£Ô£±£°a` ON (`£Ô£±£°a`.`£Ã£±` = `£Ô£±£°b`.`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
Ž± Ž±
|
||
NULL Ž¶
|
||
NULL Ž»
|
||
SELECT * FROM `£Ô£±£±a` JOIN `£Ô£±£±b`;
|
||
£Ã£± £Ã£±
|
||
¤¢ ¤¢
|
||
¤« ¤¢
|
||
¤µ ¤¢
|
||
SELECT * FROM `£Ô£±£±a` INNER JOIN `£Ô£±£±b`;
|
||
£Ã£± £Ã£±
|
||
¤¢ ¤¢
|
||
¤« ¤¢
|
||
¤µ ¤¢
|
||
SELECT * FROM `£Ô£±£±a` JOIN `£Ô£±£±b` USING (`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
¤¢ ¤¢
|
||
SELECT * FROM `£Ô£±£±a` INNER JOIN `£Ô£±£±b` USING (`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
¤¢ ¤¢
|
||
SELECT * FROM `£Ô£±£±a` CROSS JOIN `£Ô£±£±b`;
|
||
£Ã£± £Ã£±
|
||
¤¢ ¤¢
|
||
¤« ¤¢
|
||
¤µ ¤¢
|
||
SELECT * FROM `£Ô£±£±a` LEFT JOIN `£Ô£±£±b` USING (`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
¤¢ ¤¢
|
||
¤« NULL
|
||
¤µ NULL
|
||
SELECT * FROM `£Ô£±£±a` LEFT JOIN `£Ô£±£±b` ON (`£Ô£±£±a`.`£Ã£±` = `£Ô£±£±b`.`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
¤¢ ¤¢
|
||
¤« NULL
|
||
¤µ NULL
|
||
SELECT * FROM `£Ô£±£±b` RIGHT JOIN `£Ô£±£±a` USING (`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
¤¢ ¤¢
|
||
NULL ¤«
|
||
NULL ¤µ
|
||
SELECT * FROM `£Ô£±£±b` RIGHT JOIN `£Ô£±£±a` ON (`£Ô£±£±a`.`£Ã£±` = `£Ô£±£±b`.`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
¤¢ ¤¢
|
||
NULL ¤«
|
||
NULL ¤µ
|
||
SELECT * FROM `£Ô£±£²a` JOIN `£Ô£±£²b`;
|
||
£Ã£± £Ã£±
|
||
<EFBFBD>íÜ <09>íÜ
|
||
<EFBFBD>íÝ <09>íÜ
|
||
<EFBFBD>íÞ <09>íÜ
|
||
SELECT * FROM `£Ô£±£²a` INNER JOIN `£Ô£±£²b`;
|
||
£Ã£± £Ã£±
|
||
<EFBFBD>íÜ <09>íÜ
|
||
<EFBFBD>íÝ <09>íÜ
|
||
<EFBFBD>íÞ <09>íÜ
|
||
SELECT * FROM `£Ô£±£²a` JOIN `£Ô£±£²b` USING (`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
<EFBFBD>íÜ <09>íÜ
|
||
SELECT * FROM `£Ô£±£²a` INNER JOIN `£Ô£±£²b` USING (`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
<EFBFBD>íÜ <09>íÜ
|
||
SELECT * FROM `£Ô£±£²a` CROSS JOIN `£Ô£±£²b`;
|
||
£Ã£± £Ã£±
|
||
<EFBFBD>íÜ <09>íÜ
|
||
<EFBFBD>íÝ <09>íÜ
|
||
<EFBFBD>íÞ <09>íÜ
|
||
SELECT * FROM `£Ô£±£²a` LEFT JOIN `£Ô£±£²b` USING (`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
<EFBFBD>íÜ <09>íÜ
|
||
<EFBFBD>íÝ NULL
|
||
<EFBFBD>íÞ NULL
|
||
SELECT * FROM `£Ô£±£²a` LEFT JOIN `£Ô£±£²b` ON (`£Ô£±£²a`.`£Ã£±` = `£Ô£±£²b`.`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
<EFBFBD>íÜ <09>íÜ
|
||
<EFBFBD>íÝ NULL
|
||
<EFBFBD>íÞ NULL
|
||
SELECT * FROM `£Ô£±£²b` RIGHT JOIN `£Ô£±£²a` USING (`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
<EFBFBD>íÜ <09>íÜ
|
||
NULL <09>íÝ
|
||
NULL <09>íÞ
|
||
SELECT * FROM `£Ô£±£²b` RIGHT JOIN `£Ô£±£²a` ON (`£Ô£±£²a`.`£Ã£±` = `£Ô£±£²b`.`£Ã£±`);
|
||
£Ã£± £Ã£±
|
||
<EFBFBD>íÜ <09>íÜ
|
||
NULL <09>íÝ
|
||
NULL <09>íÞ
|
||
DROP TABLE `£Ô£±a`;
|
||
DROP TABLE `£Ô£±b`;
|
||
DROP TABLE `£Ô£²a`;
|
||
DROP TABLE `£Ô£²b`;
|
||
DROP TABLE `£Ô£³a`;
|
||
DROP TABLE `£Ô£³b`;
|
||
DROP TABLE `£Ô£´a`;
|
||
DROP TABLE `£Ô£´b`;
|
||
DROP TABLE `£Ô£µa`;
|
||
DROP TABLE `£Ô£µb`;
|
||
DROP TABLE `£Ô£¶a`;
|
||
DROP TABLE `£Ô£¶b`;
|
||
DROP TABLE `£Ô£·a`;
|
||
DROP TABLE `£Ô£·b`;
|
||
DROP TABLE `£Ô£¸a`;
|
||
DROP TABLE `£Ô£¸b`;
|
||
DROP TABLE `£Ô£¹a`;
|
||
DROP TABLE `£Ô£¹b`;
|
||
DROP TABLE `£Ô£±£°a`;
|
||
DROP TABLE `£Ô£±£°b`;
|
||
DROP TABLE `£Ô£±£±a`;
|
||
DROP TABLE `£Ô£±£±b`;
|
||
DROP TABLE `£Ô£±£²a`;
|
||
DROP TABLE `£Ô£±£²b`;
|