config root man

Current Path : /home/usr.opt/mysql57/mysql-test/suite/jp/r/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : /home/usr.opt/mysql57/mysql-test/suite/jp/r/jp_union_ujis.result

drop table if exists `T1`;
drop table if exists `T2`;
drop table if exists `T3`;
drop table if exists `T4`;
drop table if exists `T5`;
drop table if exists `T6`;
drop table if exists `T7`;
drop table if exists `T8`;
drop table if exists `T9`;
SET NAMES ujis;
SET character_set_database = ujis;
Warnings:
Warning	1681	Updating 'character_set_database' is deprecated. It will be made read-only in a future release.
CREATE TABLE `T1` (`C1` char(1), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = innodb;
CREATE TABLE `T2` (`C1` char(1), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = innodb;
CREATE TABLE `T3` (`C1` char(1), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = innodb;
INSERT INTO `T1` VALUES('ア'),('ア'),('あ'),('あ'),('龔'),('龔');
INSERT INTO `T2` VALUES('イ'),('イ'),('い'),('い'),('龖'),('龖');
INSERT INTO `T3` VALUES('ウ'),('ウ'),('う'),('う'),('龗'),('龗');
SELECT * FROM `T1` UNION DISTINCT SELECT * FROM `T2` ORDER BY `C1`;
C1
ア
イ
龔
龖
あ
い
SELECT * FROM `T1` UNION ALL SELECT * FROM `T2` ORDER BY `C1`;
C1
ア
ア
イ
イ
龔
龔
龖
龖
あ
あ
い
い
(SELECT * FROM `T1`) UNION (SELECT * FROM `T2`) UNION (SELECT 'う') ORDER BY `C1`;
C1
ア
イ
龔
龖
あ
い
う
(SELECT 'う' AS `C1`) UNION (SELECT * FROM `T1`) UNION (SELECT * FROM `T2`) ORDER BY `C1`;
C1
ア
イ
龔
龖
あ
い
う
SELECT `C1`, COUNT(*) FROM `T1` GROUP BY `C1` UNION
SELECT `C1`, COUNT(*) FROM `T2` GROUP BY `C1` ORDER BY `C1`;
C1	COUNT(*)
ア	2
イ	2
龔	2
龖	2
あ	2
い	2
SELECT * FROM `T1` UNION DISTINCT
SELECT * FROM `T2` UNION ALL
SELECT * FROM `T3` ORDER BY `C1`;
C1
ア
イ
ウ
ウ
龔
龖
龗
龗
あ
い
う
う
SELECT * FROM `T1` UNION ALL
SELECT * FROM `T2` UNION DISTINCT
SELECT * FROM `T3` ORDER BY `C1`;
C1
ア
イ
ウ
龔
龖
龗
あ
い
う
SELECT * FROM `T1` UNION SELECT REPEAT(`C1`,5) FROM `T2` ORDER BY `C1`;
C1
ア
イイイイイ
龔
龖龖龖龖龖
あ
いいいいい
DROP TABLE `T1` ;
DROP TABLE `T2` ;
DROP TABLE `T3` ;
CREATE TABLE `T1` (`C1` char(1), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MYISAM;
CREATE TABLE `T2` (`C1` char(1), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MYISAM;
CREATE TABLE `T3` (`C1` char(1), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MYISAM;
INSERT INTO `T1` VALUES('ア'),('ア'),('あ'),('あ'),('龔'),('龔');
INSERT INTO `T2` VALUES('イ'),('イ'),('い'),('い'),('龖'),('龖');
INSERT INTO `T3` VALUES('ウ'),('ウ'),('う'),('う'),('龗'),('龗');
SELECT * FROM `T1` UNION DISTINCT SELECT * FROM `T2` ORDER BY `C1`;
C1
ア
イ
龔
龖
あ
い
SELECT * FROM `T1` UNION ALL SELECT * FROM `T2` ORDER BY `C1`;
C1
ア
ア
イ
イ
龔
龔
龖
龖
あ
あ
い
い
(SELECT * FROM `T1`) UNION (SELECT * FROM `T2`) UNION (SELECT 'う') ORDER BY `C1`;
C1
ア
イ
龔
龖
あ
い
う
(SELECT 'う' AS `C1`) UNION (SELECT * FROM `T1`) UNION (SELECT * FROM `T2`) ORDER BY `C1`;
C1
ア
イ
龔
龖
あ
い
う
SELECT `C1`, COUNT(*) FROM `T1` GROUP BY `C1` UNION
SELECT `C1`, COUNT(*) FROM `T2` GROUP BY `C1` ORDER BY `C1`;
C1	COUNT(*)
ア	2
イ	2
龔	2
龖	2
あ	2
い	2
SELECT * FROM `T1` UNION DISTINCT
SELECT * FROM `T2` UNION ALL
SELECT * FROM `T3` ORDER BY `C1`;
C1
ア
イ
ウ
ウ
龔
龖
龗
龗
あ
い
う
う
SELECT * FROM `T1` UNION ALL
SELECT * FROM `T2` UNION DISTINCT
SELECT * FROM `T3` ORDER BY `C1`;
C1
ア
イ
ウ
龔
龖
龗
あ
い
う
SELECT * FROM `T1` UNION SELECT REPEAT(`C1`,5) FROM `T2` ORDER BY `C1`;
C1
ア
イイイイイ
龔
龖龖龖龖龖
あ
いいいいい
DROP TABLE `T1` ;
DROP TABLE `T2` ;
DROP TABLE `T3` ;
CREATE TABLE `T1` (`C1` char(1), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
CREATE TABLE `T2` (`C1` char(1), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
CREATE TABLE `T3` (`C1` char(1), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MEMORY;
INSERT INTO `T1` VALUES('ア'),('ア'),('あ'),('あ'),('龔'),('龔');
INSERT INTO `T2` VALUES('イ'),('イ'),('い'),('い'),('龖'),('龖');
INSERT INTO `T3` VALUES('ウ'),('ウ'),('う'),('う'),('龗'),('龗');
SELECT * FROM `T1` UNION DISTINCT SELECT * FROM `T2` ORDER BY `C1`;
C1
ア
イ
龔
龖
あ
い
SELECT * FROM `T1` UNION ALL SELECT * FROM `T2` ORDER BY `C1`;
C1
ア
ア
イ
イ
龔
龔
龖
龖
あ
あ
い
い
(SELECT * FROM `T1`) UNION (SELECT * FROM `T2`) UNION (SELECT 'う') ORDER BY `C1`;
C1
ア
イ
龔
龖
あ
い
う
(SELECT 'う' AS `C1`) UNION (SELECT * FROM `T1`) UNION (SELECT * FROM `T2`) ORDER BY `C1`;
C1
ア
イ
龔
龖
あ
い
う
SELECT `C1`, COUNT(*) FROM `T1` GROUP BY `C1` UNION
SELECT `C1`, COUNT(*) FROM `T2` GROUP BY `C1` ORDER BY `C1`;
C1	COUNT(*)
ア	2
イ	2
龔	2
龖	2
あ	2
い	2
SELECT * FROM `T1` UNION DISTINCT
SELECT * FROM `T2` UNION ALL
SELECT * FROM `T3` ORDER BY `C1`;
C1
ア
イ
ウ
ウ
龔
龖
龗
龗
あ
い
う
う
SELECT * FROM `T1` UNION ALL
SELECT * FROM `T2` UNION DISTINCT
SELECT * FROM `T3` ORDER BY `C1`;
C1
ア
イ
ウ
龔
龖
龗
あ
い
う
SELECT * FROM `T1` UNION SELECT REPEAT(`C1`,5) FROM `T2` ORDER BY `C1`;
C1
ア
イイイイイ
龔
龖龖龖龖龖
あ
いいいいい
DROP TABLE `T1` ;
DROP TABLE `T2` ;
DROP TABLE `T3` ;
CREATE TABLE `T1` (`C1` char(1), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = InnoDB;
CREATE TABLE `T2` (`C1` char(1), INDEX(`C1`)) DEFAULT CHARSET = ujis engine = MyISAM;
INSERT INTO `T1` VALUES('ア'),('ア'),('あ'),('あ'),('龔'),('龔');
INSERT INTO `T2` VALUES('イ'),('イ'),('い'),('い'),('龖'),('龖');
SELECT * FROM `T1` UNION DISTINCT SELECT * FROM `T2` ORDER BY `C1`;
C1
ア
イ
龔
龖
あ
い
SELECT * FROM `T1` UNION ALL SELECT * FROM `T2` ORDER BY `C1`;
C1
ア
ア
イ
イ
龔
龔
龖
龖
あ
あ
い
い
DROP TABLE `T1`;
DROP TABLE `T2`;

Man Man