1 drop table if exists `T1`;
2 drop table if exists `T2`;
3 drop table if exists `T3`;
4 drop table if exists `T4`;
5 drop table if exists `T5`;
6 drop table if exists `T6`;
7 drop table if exists `T7`;
8 drop table if exists `T8`;
9 drop table if exists `T9`;
11 SET character_set_database = utf8;
12 CREATE TABLE `T1` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = utf8 engine = innodb;
13 CREATE TABLE `T2` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = utf8 engine = innodb;
14 CREATE TABLE `T3` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = utf8 engine = innodb;
15 CREATE TABLE `T4` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = utf8 engine = myisam;
16 CREATE TABLE `T5` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = utf8 engine = myisam;
17 CREATE TABLE `T6` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = utf8 engine = myisam;
18 CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = utf8 engine = MEMORY;
19 CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = utf8 engine = MEMORY;
20 CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = utf8 engine = MEMORY;
21 INSERT INTO `T1` VALUES ('アイウエオ');
22 INSERT INTO `T2` VALUES ('あいうえお');
23 INSERT INTO `T3` VALUES ('龔龖龗龞龡');
24 INSERT INTO `T4` VALUES ('アイウエオ');
25 INSERT INTO `T5` VALUES ('あいうえお');
26 INSERT INTO `T6` VALUES ('龔龖龗龞龡');
27 INSERT INTO `T7` VALUES ('アイウエオ');
28 INSERT INTO `T8` VALUES ('あいうえお');
29 INSERT INTO `T9` VALUES ('龔龖龗龞龡');
30 SELECT INSTR(`C1`,'ア') from `T1`;
33 SELECT INSTR(`C1`,'イ') from `T1`;
36 SELECT INSTR(`C1`,'ウ') from `T1`;
39 SELECT INSTR(`C1`,'エ') from `T1`;
42 SELECT INSTR(`C1`,'オ') from `T1`;
45 SELECT INSTR(`C1`,'ン') from `T1`;
48 SELECT INSTR(`C1`,'あ') from `T2`;
51 SELECT INSTR(`C1`,'い') from `T2`;
54 SELECT INSTR(`C1`,'う') from `T2`;
57 SELECT INSTR(`C1`,'え') from `T2`;
60 SELECT INSTR(`C1`,'お') from `T2`;
63 SELECT INSTR(`C1`,'ん') from `T2`;
66 SELECT INSTR(`C1`,'龔') from `T3`;
69 SELECT INSTR(`C1`,'龖') from `T3`;
72 SELECT INSTR(`C1`,'龗') from `T3`;
75 SELECT INSTR(`C1`,'龞') from `T3`;
78 SELECT INSTR(`C1`,'龡') from `T3`;
81 SELECT INSTR(`C1`,'丂') from `T3`;
84 SELECT INSTR(`C1`,'ア') from `T4`;
87 SELECT INSTR(`C1`,'イ') from `T4`;
90 SELECT INSTR(`C1`,'ウ') from `T4`;
93 SELECT INSTR(`C1`,'エ') from `T4`;
96 SELECT INSTR(`C1`,'オ') from `T4`;
99 SELECT INSTR(`C1`,'ン') from `T4`;
102 SELECT INSTR(`C1`,'あ') from `T5`;
105 SELECT INSTR(`C1`,'い') from `T5`;
108 SELECT INSTR(`C1`,'う') from `T5`;
111 SELECT INSTR(`C1`,'え') from `T5`;
114 SELECT INSTR(`C1`,'お') from `T5`;
117 SELECT INSTR(`C1`,'ん') from `T5`;
120 SELECT INSTR(`C1`,'龔') from `T6`;
123 SELECT INSTR(`C1`,'龖') from `T6`;
126 SELECT INSTR(`C1`,'龗') from `T6`;
129 SELECT INSTR(`C1`,'龞') from `T6`;
132 SELECT INSTR(`C1`,'龡') from `T6`;
135 SELECT INSTR(`C1`,'丂') from `T6`;
138 SELECT INSTR(`C1`,'ア') from `T7`;
141 SELECT INSTR(`C1`,'イ') from `T7`;
144 SELECT INSTR(`C1`,'ウ') from `T7`;
147 SELECT INSTR(`C1`,'エ') from `T7`;
150 SELECT INSTR(`C1`,'オ') from `T7`;
153 SELECT INSTR(`C1`,'ン') from `T7`;
156 SELECT INSTR(`C1`,'あ') from `T8`;
159 SELECT INSTR(`C1`,'い') from `T8`;
162 SELECT INSTR(`C1`,'う') from `T8`;
165 SELECT INSTR(`C1`,'え') from `T8`;
168 SELECT INSTR(`C1`,'お') from `T8`;
171 SELECT INSTR(`C1`,'ん') from `T8`;
174 SELECT INSTR(`C1`,'龔') from `T9`;
177 SELECT INSTR(`C1`,'龖') from `T9`;
180 SELECT INSTR(`C1`,'龗') from `T9`;
183 SELECT INSTR(`C1`,'龞') from `T9`;
186 SELECT INSTR(`C1`,'龡') from `T9`;
189 SELECT INSTR(`C1`,'丂') from `T9`;