Re: a row disapearing - Mailing list pgsql-general

From Rafal Pietrak
Subject Re: a row disapearing
Date
Msg-id 1148756777.14902.38.camel@model.home.waw.pl
Whole thread Raw
In response to Re: a row disapearing  (Richard Broersma Jr <rabroersma@yahoo.com>)
List pgsql-general
On Sat, 2006-05-27 at 11:51 -0700, Richard Broersma Jr wrote:
> select  count(xxx.id) as cnt,
>         xxx.id,
>         xxx_grp.id as grpid,
>         xxx_grp.grp
> from    xxx
> right join xxx_grp
> on      (xxx.id = xxx_grp.id)
> group by xxx.id, grpid, xxx_grp.grp
> order by xxx_grp.id;
>
>  cnt | id | grpid |  grp
> -----+----+-------+--------
>    0 |    |     0 | group0
>    1 |  1 |     1 | group1
>    2 |  2 |     2 | group2

The count() in my case may easyly reach 10k (so the group table wont end
up too light, and it have to have a margin), but that's something
concrete to start with.

Thenx.

--
-R

pgsql-general by date:

Previous
From: Richard Broersma Jr
Date:
Subject: Re: a row disapearing
Next
From: Eric Montague
Date:
Subject: Re: psql: krb5_sendauth: Bad application version was sent