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

325 lines
5.6 KiB
Text
Raw Normal View History

drop table if exists `<60>ԣ<EFBFBD>`;
drop table if exists `<60>ԣ<EFBFBD>`;
drop table if exists `<60>ԣ<EFBFBD>`;
drop table if exists `<60>ԣ<EFBFBD>`;
drop table if exists `<60>ԣ<EFBFBD>`;
drop table if exists `<60>ԣ<EFBFBD>`;
drop table if exists `<60>ԣ<EFBFBD>`;
drop table if exists `<60>ԣ<EFBFBD>`;
drop table if exists `<60>ԣ<EFBFBD>`;
SET NAMES ujis;
SET character_set_database = ujis;
CREATE TABLE `<60>ԣ<EFBFBD>` (`<60>ã<EFBFBD>` char(1), INDEX(`<60>ã<EFBFBD>`)) DEFAULT CHARSET = ujis engine = innodb;
CREATE TABLE `<60>ԣ<EFBFBD>` (`<60>ã<EFBFBD>` char(1), INDEX(`<60>ã<EFBFBD>`)) DEFAULT CHARSET = ujis engine = innodb;
CREATE TABLE `<60>ԣ<EFBFBD>` (`<60>ã<EFBFBD>` char(1), INDEX(`<60>ã<EFBFBD>`)) DEFAULT CHARSET = ujis engine = innodb;
INSERT INTO `<60>ԣ<EFBFBD>` VALUES('<27><>'),('<27><>'),('<27><>'),('<27><>'),('<27><><EFBFBD>'),('<27><><EFBFBD>');
INSERT INTO `<60>ԣ<EFBFBD>` VALUES('<27><>'),('<27><>'),('<27><>'),('<27><>'),('<27><><EFBFBD>'),('<27><><EFBFBD>');
INSERT INTO `<60>ԣ<EFBFBD>` VALUES('<27><>'),('<27><>'),('<27><>'),('<27><>'),('<27><><EFBFBD>'),('<27><><EFBFBD>');
SELECT * FROM `<60>ԣ<EFBFBD>` UNION DISTINCT SELECT * FROM `<60>ԣ<EFBFBD>` ORDER BY `<60>ã<EFBFBD>`;
<EFBFBD>ã<EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
SELECT * FROM `<60>ԣ<EFBFBD>` UNION ALL SELECT * FROM `<60>ԣ<EFBFBD>` ORDER BY `<60>ã<EFBFBD>`;
<EFBFBD>ã<EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
(SELECT * FROM `<60>ԣ<EFBFBD>`) UNION (SELECT * FROM `<60>ԣ<EFBFBD>`) UNION (SELECT '<27><>') ORDER BY `<60>ã<EFBFBD>`;
<EFBFBD>ã<EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
(SELECT '<27><>' AS `<60>ã<EFBFBD>`) UNION (SELECT * FROM `<60>ԣ<EFBFBD>`) UNION (SELECT * FROM `<60>ԣ<EFBFBD>`) ORDER BY `<60>ã<EFBFBD>`;
<EFBFBD>ã<EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
SELECT `<60>ã<EFBFBD>`, COUNT(*) FROM `<60>ԣ<EFBFBD>` GROUP BY `<60>ã<EFBFBD>` UNION
SELECT `<60>ã<EFBFBD>`, COUNT(*) FROM `<60>ԣ<EFBFBD>` GROUP BY `<60>ã<EFBFBD>` ORDER BY `<60>ã<EFBFBD>`;
<EFBFBD>ã<EFBFBD> COUNT(*)
<EFBFBD><EFBFBD> 2
<EFBFBD><EFBFBD> 2
<EFBFBD><EFBFBD><EFBFBD> 2
<EFBFBD><EFBFBD><EFBFBD> 2
<EFBFBD><EFBFBD> 2
<EFBFBD><EFBFBD> 2
SELECT * FROM `<60>ԣ<EFBFBD>` UNION DISTINCT
SELECT * FROM `<60>ԣ<EFBFBD>` UNION ALL
SELECT * FROM `<60>ԣ<EFBFBD>` ORDER BY `<60>ã<EFBFBD>`;
<EFBFBD>ã<EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
SELECT * FROM `<60>ԣ<EFBFBD>` UNION ALL
SELECT * FROM `<60>ԣ<EFBFBD>` UNION DISTINCT
SELECT * FROM `<60>ԣ<EFBFBD>` ORDER BY `<60>ã<EFBFBD>`;
<EFBFBD>ã<EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
SELECT * FROM `<60>ԣ<EFBFBD>` UNION SELECT REPEAT(`<60>ã<EFBFBD>`,5) FROM `<60>ԣ<EFBFBD>` ORDER BY `<60>ã<EFBFBD>`;
<EFBFBD>ã<EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>ݏ<EFBFBD>ݏ<EFBFBD>ݏ<EFBFBD>ݏ<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
DROP TABLE `<60>ԣ<EFBFBD>` ;
DROP TABLE `<60>ԣ<EFBFBD>` ;
DROP TABLE `<60>ԣ<EFBFBD>` ;
CREATE TABLE `<60>ԣ<EFBFBD>` (`<60>ã<EFBFBD>` char(1), INDEX(`<60>ã<EFBFBD>`)) DEFAULT CHARSET = ujis engine = MYISAM;
CREATE TABLE `<60>ԣ<EFBFBD>` (`<60>ã<EFBFBD>` char(1), INDEX(`<60>ã<EFBFBD>`)) DEFAULT CHARSET = ujis engine = MYISAM;
CREATE TABLE `<60>ԣ<EFBFBD>` (`<60>ã<EFBFBD>` char(1), INDEX(`<60>ã<EFBFBD>`)) DEFAULT CHARSET = ujis engine = MYISAM;
INSERT INTO `<60>ԣ<EFBFBD>` VALUES('<27><>'),('<27><>'),('<27><>'),('<27><>'),('<27><><EFBFBD>'),('<27><><EFBFBD>');
INSERT INTO `<60>ԣ<EFBFBD>` VALUES('<27><>'),('<27><>'),('<27><>'),('<27><>'),('<27><><EFBFBD>'),('<27><><EFBFBD>');
INSERT INTO `<60>ԣ<EFBFBD>` VALUES('<27><>'),('<27><>'),('<27><>'),('<27><>'),('<27><><EFBFBD>'),('<27><><EFBFBD>');
SELECT * FROM `<60>ԣ<EFBFBD>` UNION DISTINCT SELECT * FROM `<60>ԣ<EFBFBD>` ORDER BY `<60>ã<EFBFBD>`;
<EFBFBD>ã<EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
SELECT * FROM `<60>ԣ<EFBFBD>` UNION ALL SELECT * FROM `<60>ԣ<EFBFBD>` ORDER BY `<60>ã<EFBFBD>`;
<EFBFBD>ã<EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
(SELECT * FROM `<60>ԣ<EFBFBD>`) UNION (SELECT * FROM `<60>ԣ<EFBFBD>`) UNION (SELECT '<27><>') ORDER BY `<60>ã<EFBFBD>`;
<EFBFBD>ã<EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
(SELECT '<27><>' AS `<60>ã<EFBFBD>`) UNION (SELECT * FROM `<60>ԣ<EFBFBD>`) UNION (SELECT * FROM `<60>ԣ<EFBFBD>`) ORDER BY `<60>ã<EFBFBD>`;
<EFBFBD>ã<EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
SELECT `<60>ã<EFBFBD>`, COUNT(*) FROM `<60>ԣ<EFBFBD>` GROUP BY `<60>ã<EFBFBD>` UNION
SELECT `<60>ã<EFBFBD>`, COUNT(*) FROM `<60>ԣ<EFBFBD>` GROUP BY `<60>ã<EFBFBD>` ORDER BY `<60>ã<EFBFBD>`;
<EFBFBD>ã<EFBFBD> COUNT(*)
<EFBFBD><EFBFBD> 2
<EFBFBD><EFBFBD> 2
<EFBFBD><EFBFBD><EFBFBD> 2
<EFBFBD><EFBFBD><EFBFBD> 2
<EFBFBD><EFBFBD> 2
<EFBFBD><EFBFBD> 2
SELECT * FROM `<60>ԣ<EFBFBD>` UNION DISTINCT
SELECT * FROM `<60>ԣ<EFBFBD>` UNION ALL
SELECT * FROM `<60>ԣ<EFBFBD>` ORDER BY `<60>ã<EFBFBD>`;
<EFBFBD>ã<EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
SELECT * FROM `<60>ԣ<EFBFBD>` UNION ALL
SELECT * FROM `<60>ԣ<EFBFBD>` UNION DISTINCT
SELECT * FROM `<60>ԣ<EFBFBD>` ORDER BY `<60>ã<EFBFBD>`;
<EFBFBD>ã<EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
SELECT * FROM `<60>ԣ<EFBFBD>` UNION SELECT REPEAT(`<60>ã<EFBFBD>`,5) FROM `<60>ԣ<EFBFBD>` ORDER BY `<60>ã<EFBFBD>`;
<EFBFBD>ã<EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>ݏ<EFBFBD>ݏ<EFBFBD>ݏ<EFBFBD>ݏ<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
DROP TABLE `<60>ԣ<EFBFBD>` ;
DROP TABLE `<60>ԣ<EFBFBD>` ;
DROP TABLE `<60>ԣ<EFBFBD>` ;
CREATE TABLE `<60>ԣ<EFBFBD>` (`<60>ã<EFBFBD>` char(1), INDEX(`<60>ã<EFBFBD>`)) DEFAULT CHARSET = ujis engine = MEMORY;
CREATE TABLE `<60>ԣ<EFBFBD>` (`<60>ã<EFBFBD>` char(1), INDEX(`<60>ã<EFBFBD>`)) DEFAULT CHARSET = ujis engine = MEMORY;
CREATE TABLE `<60>ԣ<EFBFBD>` (`<60>ã<EFBFBD>` char(1), INDEX(`<60>ã<EFBFBD>`)) DEFAULT CHARSET = ujis engine = MEMORY;
INSERT INTO `<60>ԣ<EFBFBD>` VALUES('<27><>'),('<27><>'),('<27><>'),('<27><>'),('<27><><EFBFBD>'),('<27><><EFBFBD>');
INSERT INTO `<60>ԣ<EFBFBD>` VALUES('<27><>'),('<27><>'),('<27><>'),('<27><>'),('<27><><EFBFBD>'),('<27><><EFBFBD>');
INSERT INTO `<60>ԣ<EFBFBD>` VALUES('<27><>'),('<27><>'),('<27><>'),('<27><>'),('<27><><EFBFBD>'),('<27><><EFBFBD>');
SELECT * FROM `<60>ԣ<EFBFBD>` UNION DISTINCT SELECT * FROM `<60>ԣ<EFBFBD>` ORDER BY `<60>ã<EFBFBD>`;
<EFBFBD>ã<EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
SELECT * FROM `<60>ԣ<EFBFBD>` UNION ALL SELECT * FROM `<60>ԣ<EFBFBD>` ORDER BY `<60>ã<EFBFBD>`;
<EFBFBD>ã<EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
(SELECT * FROM `<60>ԣ<EFBFBD>`) UNION (SELECT * FROM `<60>ԣ<EFBFBD>`) UNION (SELECT '<27><>') ORDER BY `<60>ã<EFBFBD>`;
<EFBFBD>ã<EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
(SELECT '<27><>' AS `<60>ã<EFBFBD>`) UNION (SELECT * FROM `<60>ԣ<EFBFBD>`) UNION (SELECT * FROM `<60>ԣ<EFBFBD>`) ORDER BY `<60>ã<EFBFBD>`;
<EFBFBD>ã<EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
SELECT `<60>ã<EFBFBD>`, COUNT(*) FROM `<60>ԣ<EFBFBD>` GROUP BY `<60>ã<EFBFBD>` UNION
SELECT `<60>ã<EFBFBD>`, COUNT(*) FROM `<60>ԣ<EFBFBD>` GROUP BY `<60>ã<EFBFBD>` ORDER BY `<60>ã<EFBFBD>`;
<EFBFBD>ã<EFBFBD> COUNT(*)
<EFBFBD><EFBFBD> 2
<EFBFBD><EFBFBD> 2
<EFBFBD><EFBFBD><EFBFBD> 2
<EFBFBD><EFBFBD><EFBFBD> 2
<EFBFBD><EFBFBD> 2
<EFBFBD><EFBFBD> 2
SELECT * FROM `<60>ԣ<EFBFBD>` UNION DISTINCT
SELECT * FROM `<60>ԣ<EFBFBD>` UNION ALL
SELECT * FROM `<60>ԣ<EFBFBD>` ORDER BY `<60>ã<EFBFBD>`;
<EFBFBD>ã<EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
SELECT * FROM `<60>ԣ<EFBFBD>` UNION ALL
SELECT * FROM `<60>ԣ<EFBFBD>` UNION DISTINCT
SELECT * FROM `<60>ԣ<EFBFBD>` ORDER BY `<60>ã<EFBFBD>`;
<EFBFBD>ã<EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
SELECT * FROM `<60>ԣ<EFBFBD>` UNION SELECT REPEAT(`<60>ã<EFBFBD>`,5) FROM `<60>ԣ<EFBFBD>` ORDER BY `<60>ã<EFBFBD>`;
<EFBFBD>ã<EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>ݏ<EFBFBD>ݏ<EFBFBD>ݏ<EFBFBD>ݏ<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
DROP TABLE `<60>ԣ<EFBFBD>` ;
DROP TABLE `<60>ԣ<EFBFBD>` ;
DROP TABLE `<60>ԣ<EFBFBD>` ;
CREATE TABLE `<60>ԣ<EFBFBD>` (`<60>ã<EFBFBD>` char(1), INDEX(`<60>ã<EFBFBD>`)) DEFAULT CHARSET = ujis engine = InnoDB;
CREATE TABLE `<60>ԣ<EFBFBD>` (`<60>ã<EFBFBD>` char(1), INDEX(`<60>ã<EFBFBD>`)) DEFAULT CHARSET = ujis engine = MyISAM;
INSERT INTO `<60>ԣ<EFBFBD>` VALUES('<27><>'),('<27><>'),('<27><>'),('<27><>'),('<27><><EFBFBD>'),('<27><><EFBFBD>');
INSERT INTO `<60>ԣ<EFBFBD>` VALUES('<27><>'),('<27><>'),('<27><>'),('<27><>'),('<27><><EFBFBD>'),('<27><><EFBFBD>');
SELECT * FROM `<60>ԣ<EFBFBD>` UNION DISTINCT SELECT * FROM `<60>ԣ<EFBFBD>` ORDER BY `<60>ã<EFBFBD>`;
<EFBFBD>ã<EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
SELECT * FROM `<60>ԣ<EFBFBD>` UNION ALL SELECT * FROM `<60>ԣ<EFBFBD>` ORDER BY `<60>ã<EFBFBD>`;
<EFBFBD>ã<EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
<EFBFBD><EFBFBD>
DROP TABLE `<60>ԣ<EFBFBD>`;
DROP TABLE `<60>ԣ<EFBFBD>`;