2 create table ŒvŽZ‹@—pŒê (—pŒê text, •ª—ÞƒR�[ƒh varchar, ”õ�l1A‚¾‚æ char(16));
3 create index ŒvŽZ‹@—pŒêindex1 on ŒvŽZ‹@—pŒê using btree (—pŒê);
4 create index ŒvŽZ‹@—pŒêindex2 on ŒvŽZ‹@—pŒê using hash (•ª—ÞƒR�[ƒh);
5 insert into ŒvŽZ‹@—pŒê values('ƒRƒ“ƒsƒ…�[ƒ^ƒfƒBƒXƒvƒŒƒC','‹@A01�ã');
6 insert into ŒvŽZ‹@—pŒê values('ƒRƒ“ƒsƒ…�[ƒ^ƒOƒ‰ƒtƒBƒbƒNƒX','•ªB10’†');
7 insert into ŒvŽZ‹@—pŒê values('ƒRƒ“ƒsƒ…�[ƒ^ƒvƒ�ƒOƒ‰ƒ}�[','�lZ01‰º');
9 select * from ŒvŽZ‹@—pŒê;
10 select * from ŒvŽZ‹@—pŒê where •ª—ÞƒR�[ƒh = '�lZ01‰º';
11 select * from ŒvŽZ‹@—pŒê where •ª—ÞƒR�[ƒh ~* '�lz01‰º';
12 select * from ŒvŽZ‹@—pŒê where •ª—ÞƒR�[ƒh like '_Z01_';
13 select * from ŒvŽZ‹@—pŒê where •ª—ÞƒR�[ƒh like '_Z%';
14 select * from ŒvŽZ‹@—pŒê where —pŒê ~ 'ƒRƒ“ƒsƒ…�[ƒ^[ƒfƒO]';
15 select * from ŒvŽZ‹@—pŒê where —pŒê ~* 'ƒRƒ“ƒsƒ…�[ƒ^[ƒfƒO]';
16 select *,character_length(—pŒê) from ŒvŽZ‹@—pŒê;
17 select *,octet_length(—pŒê) from ŒvŽZ‹@—pŒê;
18 select *,position('ƒf' in —pŒê) from ŒvŽZ‹@—pŒê;
19 select *,substring(—pŒê from 10 for 4) from ŒvŽZ‹@—pŒê;
20 copy ŒvŽZ‹@—pŒê to stdout;