/[pgestraier]/trunk/test.sql
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/test.sql

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 31 by dpavlin, Wed Jul 6 14:47:56 2005 UTC revision 37 by dpavlin, Thu Jul 7 17:24:22 2005 UTC
# Line 5  Line 5 
5  --select * from pgest('##dir##/data/casket', 'a OR b OR c', '@uri ISTREW .txt', 100, 0);  --select * from pgest('##dir##/data/casket', 'a OR b OR c', '@uri ISTREW .txt', 100, 0);
6    
7  -- find all references to blade runner in other films  -- find all references to blade runner in other films
8  select substr(uri,45),title,year from pgest('##dir##/data/casket','blade runner', '@title !ISTRINC blade runner', null, null, null, array['@uri','@title','year']) as (uri text, title text, year int);  select uri,title,year from pgest('##dir##/data/casket','blade runner', '@title !ISTRINC blade runner', null, null, null, array['@uri','@title','year']) as (uri text, title text, year int);
9    
10  -- find all references and count them to blade runner after 1990  -- find all references and count them to blade runner after 1990
11  select count(title),title from pgest('##dir##/data/casket', 'blade runner', 'year NUMGT 1990', null, null, null, array['@title']) as (title text) group by title order by title;  select count(title),title from pgest('##dir##/data/casket', 'blade runner', 'year NUMGT 1990', null, null, null, array['@title']) as (title text) group by title order by title;

Legend:
Removed from v.31  
changed lines
  Added in v.37

  ViewVC Help
Powered by ViewVC 1.1.26