On Fri, Jun 27, 2008 at 2:09 PM, Bill Thoen <bthoen@xxxxxxxxxx> wrote: > Thanks for tip on OFFSET. That's just what I needed. It's so easy when you > know the command you're looking for, and so hard when you know what you want > to do but don't know what the command is called! I would strongly suggest taking a second look at Ragnar's suggestion. It may be a bit more difficult to implement, but I is a clear performance winner when you start to deal with large datasets and the OFFSET get really big. -- Regards, Richard Broersma Jr. Visit the Los Angles PostgreSQL Users Group (LAPUG) http://pugs.postgresql.org/lapug