mariadb/mysql-test/suite/jp/r/jp_subquery_utf8.result

207 lines
8.7 KiB
Text
Raw Normal View History

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 utf8;
SET character_set_database = utf8;
CREATE TABLE `a` (`` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
CREATE TABLE `b` (`` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
CREATE TABLE `a` (`` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
CREATE TABLE `b` (`` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
CREATE TABLE `a` (`` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
CREATE TABLE `b` (`` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = innodb;
CREATE TABLE `a` (`` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `b` (`` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `a` (`` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `b` (`` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `a` (`` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `b` (`` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = myisam;
CREATE TABLE `a` (`` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = heap;
CREATE TABLE `b` (`` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = heap;
CREATE TABLE `a` (`` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = heap;
CREATE TABLE `b` (`` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = heap;
CREATE TABLE `a` (`` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = heap;
CREATE TABLE `b` (`` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = heap;
CREATE TABLE `a` (`` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = heap;
CREATE TABLE `b` (`` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = heap;
CREATE TABLE `a` (`` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = heap;
CREATE TABLE `b` (`` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = heap;
CREATE TABLE `a` (`` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = heap;
CREATE TABLE `b` (`` char(1) PRIMARY KEY) DEFAULT CHARSET = utf8 engine = heap;
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 ('龔');
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` WHERE `` IN (SELECT `` FROM `b`);
SELECT `` FROM `a` WHERE EXISTS (SELECT `` FROM `b` WHERE `a`.`` = `b`.``);
SELECT `` FROM `a` WHERE NOT EXISTS (SELECT `` FROM `b` WHERE `a`.`` = `b`.``);
SELECT `` FROM `a` WHERE `` IN (SELECT `` FROM `b`);
SELECT `` FROM `a` WHERE EXISTS (SELECT `` FROM `b` WHERE `a`.`` = `b`.``);
SELECT `` FROM `a` WHERE NOT EXISTS (SELECT `` FROM `b` WHERE `a`.`` = `b`.``);
SELECT `` FROM `a` WHERE `` IN (SELECT `` FROM `b`);
SELECT `` FROM `a` WHERE EXISTS (SELECT `` FROM `b` WHERE `a`.`` = `b`.``);
SELECT `` FROM `a` WHERE NOT EXISTS (SELECT `` FROM `b` WHERE `a`.`` = `b`.``);
SELECT `` FROM `a` WHERE `` IN (SELECT `` FROM `b`);
SELECT `` FROM `a` WHERE EXISTS (SELECT `` FROM `b` WHERE `a`.`` = `b`.``);
SELECT `` FROM `a` WHERE NOT EXISTS (SELECT `` FROM `b` WHERE `a`.`` = `b`.``);
SELECT `` FROM `a` WHERE `` IN (SELECT `` FROM `b`);
SELECT `` FROM `a` WHERE EXISTS (SELECT `` FROM `b` WHERE `a`.`` = `b`.``);
SELECT `` FROM `a` WHERE NOT EXISTS (SELECT `` FROM `b` WHERE `a`.`` = `b`.``);
SELECT `` FROM `a` WHERE `` IN (SELECT `` FROM `b`);
SELECT `` FROM `a` WHERE EXISTS (SELECT `` FROM `b` WHERE `a`.`` = `b`.``);
SELECT `` FROM `a` WHERE NOT EXISTS (SELECT `` FROM `b` WHERE `a`.`` = `b`.``);
SELECT `` FROM `a` WHERE `` IN (SELECT `` FROM `b`);
SELECT `` FROM `a` WHERE EXISTS (SELECT `` FROM `b` WHERE `a`.`` = `b`.``);
SELECT `` FROM `a` WHERE NOT EXISTS (SELECT `` FROM `b` WHERE `a`.`` = `b`.``);
SELECT `` FROM `a` WHERE `` IN (SELECT `` FROM `b`);
SELECT `` FROM `a` WHERE EXISTS (SELECT `` FROM `b` WHERE `a`.`` = `b`.``);
SELECT `` FROM `a` WHERE NOT EXISTS (SELECT `` FROM `b` WHERE `a`.`` = `b`.``);
SELECT `` FROM `a` WHERE `` IN (SELECT `` FROM `b`);
SELECT `` FROM `a` WHERE EXISTS (SELECT `` FROM `b` WHERE `a`.`` = `b`.``);
SELECT `` FROM `a` WHERE NOT EXISTS (SELECT `` FROM `b` WHERE `a`.`` = `b`.``);
SELECT `` FROM `a` WHERE `` IN (SELECT `` FROM `b`);
SELECT `` FROM `a` WHERE EXISTS (SELECT `` FROM `b` WHERE `a`.`` = `b`.``);
SELECT `` FROM `a` WHERE NOT EXISTS (SELECT `` FROM `b` WHERE `a`.`` = `b`.``);
SELECT `` FROM `a` WHERE `` IN (SELECT `` FROM `b`);
SELECT `` FROM `a` WHERE EXISTS (SELECT `` FROM `b` WHERE `a`.`` = `b`.``);
SELECT `` FROM `a` WHERE NOT EXISTS (SELECT `` FROM `b` WHERE `a`.`` = `b`.``);
SELECT `` FROM `a` WHERE `` IN (SELECT `` FROM `b`);
SELECT `` FROM `a` WHERE EXISTS (SELECT `` FROM `b` WHERE `a`.`` = `b`.``);
SELECT `` FROM `a` WHERE NOT EXISTS (SELECT `` FROM `b` WHERE `a`.`` = `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`;
DROP TABLE `a`;
DROP TABLE `b`;