1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

ctype_many.test:

Insert constants with an explicit character set
ctype_many.result:
  Fix according test change


mysql-test/r/ctype_many.result:
  Fix according test change
mysql-test/t/ctype_many.test:
  Insert constants with an explicit character set
This commit is contained in:
unknown
2003-02-27 11:48:48 +04:00
parent e3b22fbbe2
commit 4d36263ea8
2 changed files with 128 additions and 128 deletions

View File

@ -93,70 +93,70 @@ INSERT INTO t1 (koi8_ru_f,comment) VALUES ('W','LAT CAPIT W');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('X','LAT CAPIT X');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('Y','LAT CAPIT Y');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('Z','LAT CAPIT Z');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL A');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL BE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL VE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL GE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL DE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL IE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL IO');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL ZHE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL ZE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL I');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL KA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL EL');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL EM');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL EN');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL O');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL PE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL ER');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL ES');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL TE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL U');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL EF');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL HA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL TSE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL CHE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL SHA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL SCHA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL HARD SIGN');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL YERU');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL SOFT SIGN');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL E');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL YU');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL YA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT A');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT BE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT VE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT GE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT DE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT IE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT IO');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT ZHE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT ZE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT I');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT KA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT EL');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT EM');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT EN');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT O');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT PE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT ER');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT ES');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT TE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT U');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT EF');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT HA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT TSE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT CHE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT SHA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT SCHA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT HARD SIGN');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT YERU');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT SOFT SIGN');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT E');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT YU');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT YA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL A');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL BE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL VE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL GE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL DE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL IE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL IO');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL ZHE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL ZE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL I');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL KA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL EL');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL EM');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL EN');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL O');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL PE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL ER');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL ES');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL TE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL U');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL EF');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL HA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL TSE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL CHE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL SHA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL SCHA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL HARD SIGN');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL YERU');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL SOFT SIGN');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL E');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL YU');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL YA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT A');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT BE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT VE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT GE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT DE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT IE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT IO');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT ZHE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT ZE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT I');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT KA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT EL');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT EM');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT EN');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT O');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT PE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT ER');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT ES');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT TE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT U');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT EF');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT HA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT TSE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT CHE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT SHA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT SCHA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT HARD SIGN');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT YERU');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT SOFT SIGN');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT E');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT YU');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT YA');
SELECT CONVERT(koi8_ru_f USING utf8),MIN(comment),COUNT(*) FROM t1 GROUP BY 1;
CONVERT(koi8_ru_f USING utf8) MIN(comment) COUNT(*)
a LAT CAPIT A 2

View File

@ -70,70 +70,70 @@ INSERT INTO t1 (koi8_ru_f,comment) VALUES ('W','LAT CAPIT W');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('X','LAT CAPIT X');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('Y','LAT CAPIT Y');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('Z','LAT CAPIT Z');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL A');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL BE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL VE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL GE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL DE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL IE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL IO');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL ZHE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL ZE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL I');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL KA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL EL');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL EM');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL EN');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL O');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL PE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL ER');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL ES');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL TE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL U');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL EF');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL HA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL TSE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL CHE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL SHA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL SCHA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL HARD SIGN');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL YERU');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL SOFT SIGN');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL E');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL YU');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR SMALL YA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT A');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT BE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT VE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT GE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT DE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT IE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT IO');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT ZHE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT ZE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT I');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT KA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT EL');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT EM');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT EN');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT O');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT PE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT ER');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT ES');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT TE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT U');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT EF');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT HA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT TSE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT CHE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT SHA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT SCHA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT HARD SIGN');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT YERU');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT SOFT SIGN');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT E');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT YU');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('<27>','CYR CAPIT YA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL A');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL BE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL VE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL GE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL DE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL IE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL IO');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL ZHE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL ZE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL I');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL KA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL EL');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL EM');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL EN');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL O');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL PE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL ER');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL ES');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL TE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL U');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL EF');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL HA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL TSE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL CHE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL SHA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL SCHA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL HARD SIGN');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL YERU');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL SOFT SIGN');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL E');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL YU');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR SMALL YA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT A');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT BE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT VE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT GE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT DE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT IE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT IO');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT ZHE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT ZE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT I');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT KA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT EL');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT EM');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT EN');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT O');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT PE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT ER');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT ES');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT TE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT U');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT EF');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT HA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT TSE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT CHE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT SHA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT SCHA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT HARD SIGN');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT YERU');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT SOFT SIGN');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT E');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT YU');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'<27>','CYR CAPIT YA');
SELECT CONVERT(koi8_ru_f USING utf8),MIN(comment),COUNT(*) FROM t1 GROUP BY 1;