|
| 1 | +QUERY: drop table ��ג�������ђ��; |
| 2 | +ERROR: Relation ��ג�������ђ�� Does Not Exist! |
| 3 | +QUERY: create table ��ג�������ђ�� (��ђ�� text, �ʬ������������ varchar, ������1A������ char(16)); |
| 4 | +QUERY: create index ��ג�������ђ��index1 on ��ג�������ђ�� using btree (��ђ��); |
| 5 | +QUERY: create index ��ג�������ђ��index2 on ��ג�������ђ�� using hash (�ʬ������������); |
| 6 | +QUERY: insert into ��ג�������ђ�� values('������Ԓ�咡������ǒ�������ג�쒥�','���A01���'); |
| 7 | +QUERY: insert into ��ג�������ђ�� values('������Ԓ�咡���������钥Ւ����Ò�����','�ʬB10���'); |
| 8 | +QUERY: insert into ��ג�������ђ�� values('������Ԓ�咡������ג�풥���钥ޒ��','���Z01���'); |
| 9 | +QUERY: insert into ��ג�������ђ�� values('����ԑ�ԑʾ���','���A01���'); |
| 10 | +QUERY: insert into ��ג�������ђ�� values('����ԑͼ���','���B01���'); |
| 11 | +QUERY: insert into ��ג�������ђ�� values('����ԑ�̑��Ա','���Z01���'); |
| 12 | +QUERY: vacuum ��ג�������ђ��; |
| 13 | +QUERY: select * from ��ג�������ђ��; |
| 14 | +��ђ�� |�ʬ������������|������1a������ |
| 15 | +---------------------------------------+---------------+-------------- |
| 16 | +������Ԓ�咡������ǒ�������ג�쒥� |���A01��� | |
| 17 | +������Ԓ�咡���������钥Ւ����Ò�����|�ʬB10��� | |
| 18 | +������Ԓ�咡������ג�풥���钥ޒ�� |���Z01��� | |
| 19 | +����ԑ�ԑʾ��� |���A01��� | |
| 20 | +����ԑͼ��� |���B01��� | |
| 21 | +����ԑ�̑��Ա |���Z01��� | |
| 22 | +(6 rows) |
| 23 | + |
| 24 | +QUERY: select * from ��ג�������ђ�� where �ʬ������������ = '���Z01���'; |
| 25 | +��ђ�� |�ʬ������������|������1a������ |
| 26 | +------------------------------------+---------------+-------------- |
| 27 | +������Ԓ�咡������ג�풥���钥ޒ��|���Z01��� | |
| 28 | +(1 row) |
| 29 | + |
| 30 | +QUERY: select * from ��ג�������ђ�� where �ʬ������������ ~ 'Z01'; |
| 31 | +��ђ�� |�ʬ������������|������1a������ |
| 32 | +------------------------------------+---------------+-------------- |
| 33 | +������Ԓ�咡������ג�풥���钥ޒ��|���Z01��� | |
| 34 | +����ԑ�̑��Ա |���Z01��� | |
| 35 | +(2 rows) |
| 36 | + |
| 37 | +QUERY: select * from ��ג�������ђ�� where �ʬ������������ ~* 'z01'; |
| 38 | +��ђ�� |�ʬ������������|������1a������ |
| 39 | +------------------------------------+---------------+-------------- |
| 40 | +������Ԓ�咡������ג�풥���钥ޒ��|���Z01��� | |
| 41 | +����ԑ�̑��Ա |���Z01��� | |
| 42 | +(2 rows) |
| 43 | + |
| 44 | +QUERY: select * from ��ג�������ђ�� where �ʬ������������ like '_Z01_'; |
| 45 | +��ђ�� |�ʬ������������|������1a������ |
| 46 | +------------------------------------+---------------+-------------- |
| 47 | +������Ԓ�咡������ג�풥���钥ޒ��|���Z01��� | |
| 48 | +����ԑ�̑��Ա |���Z01��� | |
| 49 | +(2 rows) |
| 50 | + |
| 51 | +QUERY: select * from ��ג�������ђ�� where �ʬ������������ like '_Z%'; |
| 52 | +��ђ�� |�ʬ������������|������1a������ |
| 53 | +------------------------------------+---------------+-------------- |
| 54 | +������Ԓ�咡������ג�풥���钥ޒ��|���Z01��� | |
| 55 | +����ԑ�̑��Ա |���Z01��� | |
| 56 | +(2 rows) |
| 57 | + |
| 58 | +QUERY: select * from ��ג�������ђ�� where ��ђ�� ~ '������Ԓ�咡����[��ǒ��]'; |
| 59 | +��ђ�� |�ʬ������������|������1a������ |
| 60 | +---------------------------------------+---------------+-------------- |
| 61 | +������Ԓ�咡������ǒ�������ג�쒥� |���A01��� | |
| 62 | +������Ԓ�咡���������钥Ւ����Ò�����|�ʬB10��� | |
| 63 | +(2 rows) |
| 64 | + |
| 65 | +QUERY: select * from ��ג�������ђ�� where ��ђ�� ~* '������Ԓ�咡����[��ǒ��]'; |
| 66 | +��ђ�� |�ʬ������������|������1a������ |
| 67 | +---------------------------------------+---------------+-------------- |
| 68 | +������Ԓ�咡������ǒ�������ג�쒥� |���A01��� | |
| 69 | +������Ԓ�咡���������钥Ւ����Ò�����|�ʬB10��� | |
| 70 | +(2 rows) |
| 71 | + |
| 72 | +QUERY: select * from ��ג�������ђ�� where ��ђ�� ~ '�����[��ԑͼ]'; |
| 73 | +��ђ�� |�ʬ������������|������1a������ |
| 74 | +---------------+---------------+-------------- |
| 75 | +����ԑ�ԑʾ���|���A01��� | |
| 76 | +����ԑͼ��� |���B01��� | |
| 77 | +(2 rows) |
| 78 | + |
| 79 | +QUERY: select * from ��ג�������ђ�� where ��ђ�� ~* '�����[��ԑͼ]'; |
| 80 | +��ђ�� |�ʬ������������|������1a������ |
| 81 | +---------------+---------------+-------------- |
| 82 | +����ԑ�ԑʾ���|���A01��� | |
| 83 | +����ԑͼ��� |���B01��� | |
| 84 | +(2 rows) |
| 85 | + |
0 commit comments