On Thu, Oct 28, 2010 at 1:49 PM, AI Rumman <rummandba(at)gmail(dot)com> wrote:
> But I am using Postgresql 8.1 and it is not possible to write query as your
> one here.
with 8.1, you are limited to subquery approach, application derived
count, plpgsql hacks, etc.
merlin