polardbxengine/mysql-test/suite/jp/r/jp_join_utf8.result

485 lines
14 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

drop table if exists `a`;
drop table if exists `b`;
drop table if exists `a`;
drop table if exists `b`;
drop table if exists `a`;
drop table if exists `b`;
drop table if exists `a`;
drop table if exists `b`;
drop table if exists `a`;
drop table if exists `b`;
drop table if exists `a`;
drop table if exists `b`;
drop table if exists `a`;
drop table if exists `b`;
drop table if exists `a`;
drop table if exists `b`;
drop table if exists `a`;
drop table if exists `b`;
SET NAMES utf8;
Warnings:
Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
SET character_set_database = utf8;
Warnings:
Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
Warning 1681 Updating 'character_set_database' is deprecated. It will be made read-only in a future release.
CREATE TABLE `a` (`` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = InnoDB;
Warnings:
Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
CREATE TABLE `b` (`` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = InnoDB;
Warnings:
Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
CREATE TABLE `a` (`` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = InnoDB;
Warnings:
Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
CREATE TABLE `b` (`` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = InnoDB;
Warnings:
Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
CREATE TABLE `a` (`` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = InnoDB;
Warnings:
Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
CREATE TABLE `b` (`` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = InnoDB;
Warnings:
Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
CREATE TABLE `a` (`` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = MyISAM;
Warnings:
Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
CREATE TABLE `b` (`` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = MyISAM;
Warnings:
Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
CREATE TABLE `a` (`` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = MyISAM;
Warnings:
Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
CREATE TABLE `b` (`` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = MyISAM;
Warnings:
Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
CREATE TABLE `a` (`` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = MyISAM;
Warnings:
Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
CREATE TABLE `b` (`` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = MyISAM;
Warnings:
Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
CREATE TABLE `a` (`` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = MEMORY;
Warnings:
Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
CREATE TABLE `b` (`` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = MEMORY;
Warnings:
Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
CREATE TABLE `a` (`` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = MEMORY;
Warnings:
Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
CREATE TABLE `b` (`` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = MEMORY;
Warnings:
Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
CREATE TABLE `a` (`` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = MEMORY;
Warnings:
Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
CREATE TABLE `b` (`` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = MEMORY;
Warnings:
Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
INSERT INTO `a` VALUES ('ア'),('カ'),('サ');
INSERT INTO `b` VALUES ('ア');
INSERT INTO `a` VALUES ('あ'),('か'),('さ');
INSERT INTO `b` VALUES ('あ');
INSERT INTO `a` VALUES ('龔'),('龖'),('龗');
INSERT INTO `b` VALUES ('龔');
INSERT INTO `a` VALUES ('ア'),('カ'),('サ');
INSERT INTO `b` VALUES ('ア');
INSERT INTO `a` VALUES ('あ'),('か'),('さ');
INSERT INTO `b` VALUES ('あ');
INSERT INTO `a` VALUES ('龔'),('龖'),('龗');
INSERT INTO `b` VALUES ('龔');
INSERT INTO `a` VALUES ('ア'),('カ'),('サ');
INSERT INTO `b` VALUES ('ア');
INSERT INTO `a` VALUES ('あ'),('か'),('さ');
INSERT INTO `b` VALUES ('あ');
INSERT INTO `a` VALUES ('龔'),('龖'),('龗');
INSERT INTO `b` VALUES ('龔');
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 (``);
SELECT * FROM `a` LEFT JOIN `b` ON (`a`.`` = `b`.``);
ア ア
カ NULL
サ NULL
SELECT * FROM `b` RIGHT JOIN `a` USING (``);
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 (``);
SELECT * FROM `a` LEFT JOIN `b` ON (`a`.`` = `b`.``);
あ あ
か NULL
さ NULL
SELECT * FROM `b` RIGHT JOIN `a` USING (``);
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 (``);
SELECT * FROM `a` LEFT JOIN `b` ON (`a`.`` = `b`.``);
龔 龔
龖 NULL
龗 NULL
SELECT * FROM `b` RIGHT JOIN `a` USING (``);
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 (``);
SELECT * FROM `a` LEFT JOIN `b` ON (`a`.`` = `b`.``);
ア ア
カ NULL
サ NULL
SELECT * FROM `b` RIGHT JOIN `a` USING (``);
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 (``);
SELECT * FROM `a` LEFT JOIN `b` ON (`a`.`` = `b`.``);
あ あ
か NULL
さ NULL
SELECT * FROM `b` RIGHT JOIN `a` USING (``);
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 (``);
SELECT * FROM `a` LEFT JOIN `b` ON (`a`.`` = `b`.``);
龔 龔
龖 NULL
龗 NULL
SELECT * FROM `b` RIGHT JOIN `a` USING (``);
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 (``);
SELECT * FROM `a` LEFT JOIN `b` ON (`a`.`` = `b`.``);
ア ア
カ NULL
サ NULL
SELECT * FROM `b` RIGHT JOIN `a` USING (``);
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 (``);
SELECT * FROM `a` LEFT JOIN `b` ON (`a`.`` = `b`.``);
あ あ
か NULL
さ NULL
SELECT * FROM `b` RIGHT JOIN `a` USING (``);
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 (``);
SELECT * FROM `a` LEFT JOIN `b` ON (`a`.`` = `b`.``);
龔 龔
龖 NULL
龗 NULL
SELECT * FROM `b` RIGHT JOIN `a` USING (``);
SELECT * FROM `b` RIGHT JOIN `a` ON (`a`.`` = `b`.``);
龔 龔
NULL 龖
NULL 龗
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`;