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`;
10
drop table if exists `T10`;
12
SET character_set_database = utf8;
13
CREATE TABLE `T1` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = utf8 engine = innodb;
14
CREATE TABLE `T2` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = utf8 engine = innodb;
15
CREATE TABLE `T3` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = utf8 engine = innodb;
16
CREATE TABLE `T4` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = utf8 engine = myisam;
17
CREATE TABLE `T5` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = utf8 engine = myisam;
18
CREATE TABLE `T6` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = utf8 engine = myisam;
19
CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = utf8 engine = heap;
20
CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = utf8 engine = heap;
21
CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = utf8 engine = heap;
22
CREATE TABLE `T10` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = utf8 engine = bdb;
23
CREATE TABLE `T11` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = utf8 engine = bdb;
24
CREATE TABLE `T12` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = utf8 engine = bdb;
25
INSERT INTO `T1` VALUES ('アイウエオ');
26
INSERT INTO `T2` VALUES ('あいうえお');
27
INSERT INTO `T3` VALUES ('龔龖龗龞龡');
28
INSERT INTO `T4` VALUES ('アイウエオ');
29
INSERT INTO `T5` VALUES ('あいうえお');
30
INSERT INTO `T6` VALUES ('龔龖龗龞龡');
31
INSERT INTO `T7` VALUES ('アイウエオ');
32
INSERT INTO `T8` VALUES ('あいうえお');
33
INSERT INTO `T9` VALUES ('龔龖龗龞龡');
34
INSERT INTO `T10` VALUES ('アイウエオ');
35
INSERT INTO `T11` VALUES ('あいうえお');
36
INSERT INTO `T12` VALUES ('龔龖龗龞龡');
37
SELECT LOCATE('ア',`C1`) from `T1`;
40
SELECT LOCATE('イ',`C1`) from `T1`;
43
SELECT LOCATE('ウ',`C1`) from `T1`;
46
SELECT LOCATE('エ',`C1`) from `T1`;
49
SELECT LOCATE('オ',`C1`) from `T1`;
52
SELECT LOCATE('ン',`C1`) from `T1`;
55
SELECT LOCATE('あ',`C1`) from `T2`;
58
SELECT LOCATE('い',`C1`) from `T2`;
61
SELECT LOCATE('う',`C1`) from `T2`;
64
SELECT LOCATE('え',`C1`) from `T2`;
67
SELECT LOCATE('お',`C1`) from `T2`;
70
SELECT LOCATE('ん',`C1`) from `T2`;
73
SELECT LOCATE('龔',`C1`) from `T3`;
76
SELECT LOCATE('龖',`C1`) from `T3`;
79
SELECT LOCATE('龗',`C1`) from `T3`;
82
SELECT LOCATE('龞',`C1`) from `T3`;
85
SELECT LOCATE('龡',`C1`) from `T3`;
88
SELECT LOCATE('丂',`C1`) from `T3`;
91
SELECT LOCATE('ア',`C1`) from `T4`;
94
SELECT LOCATE('イ',`C1`) from `T4`;
97
SELECT LOCATE('ウ',`C1`) from `T4`;
100
SELECT LOCATE('エ',`C1`) from `T4`;
103
SELECT LOCATE('オ',`C1`) from `T4`;
106
SELECT LOCATE('ン',`C1`) from `T4`;
109
SELECT LOCATE('あ',`C1`) from `T5`;
112
SELECT LOCATE('い',`C1`) from `T5`;
115
SELECT LOCATE('う',`C1`) from `T5`;
118
SELECT LOCATE('え',`C1`) from `T5`;
121
SELECT LOCATE('お',`C1`) from `T5`;
124
SELECT LOCATE('ん',`C1`) from `T5`;
127
SELECT LOCATE('龔',`C1`) from `T6`;
130
SELECT LOCATE('龖',`C1`) from `T6`;
133
SELECT LOCATE('龗',`C1`) from `T6`;
136
SELECT LOCATE('龞',`C1`) from `T6`;
139
SELECT LOCATE('龡',`C1`) from `T6`;
142
SELECT LOCATE('丂',`C1`) from `T6`;
145
SELECT LOCATE('ア',`C1`) from `T7`;
148
SELECT LOCATE('イ',`C1`) from `T7`;
151
SELECT LOCATE('ウ',`C1`) from `T7`;
154
SELECT LOCATE('エ',`C1`) from `T7`;
157
SELECT LOCATE('オ',`C1`) from `T7`;
160
SELECT LOCATE('ン',`C1`) from `T7`;
163
SELECT LOCATE('あ',`C1`) from `T8`;
166
SELECT LOCATE('い',`C1`) from `T8`;
169
SELECT LOCATE('う',`C1`) from `T8`;
172
SELECT LOCATE('え',`C1`) from `T8`;
175
SELECT LOCATE('お',`C1`) from `T8`;
178
SELECT LOCATE('ん',`C1`) from `T8`;
181
SELECT LOCATE('龔',`C1`) from `T9`;
184
SELECT LOCATE('龖',`C1`) from `T9`;
187
SELECT LOCATE('龗',`C1`) from `T9`;
190
SELECT LOCATE('龞',`C1`) from `T9`;
193
SELECT LOCATE('龡',`C1`) from `T9`;
196
SELECT LOCATE('丂',`C1`) from `T9`;
199
SELECT LOCATE('ア',`C1`) from `T10`;
202
SELECT LOCATE('イ',`C1`) from `T10`;
205
SELECT LOCATE('ウ',`C1`) from `T10`;
208
SELECT LOCATE('エ',`C1`) from `T10`;
211
SELECT LOCATE('オ',`C1`) from `T10`;
214
SELECT LOCATE('ン',`C1`) from `T10`;
217
SELECT LOCATE('あ',`C1`) from `T11`;
220
SELECT LOCATE('い',`C1`) from `T11`;
223
SELECT LOCATE('う',`C1`) from `T11`;
226
SELECT LOCATE('え',`C1`) from `T11`;
229
SELECT LOCATE('お',`C1`) from `T11`;
232
SELECT LOCATE('ん',`C1`) from `T11`;
235
SELECT LOCATE('龔',`C1`) from `T12`;
238
SELECT LOCATE('龖',`C1`) from `T12`;
241
SELECT LOCATE('龗',`C1`) from `T12`;
244
SELECT LOCATE('龞',`C1`) from `T12`;
247
SELECT LOCATE('龡',`C1`) from `T12`;
250
SELECT LOCATE('丂',`C1`) from `T12`;