Re: integer attribute 1672 != 1672 - Mailing list pgsql-sql

From Markus Bertheau
Subject Re: integer attribute 1672 != 1672
Date
Msg-id 1005580552.31390.10.camel@entwicklung01.cenes.de
Whole thread Raw
In response to Re: integer attribute 1672 != 1672  (Haller Christoph <ch@rodos.fzk.de>)
List pgsql-sql
> AFAIK if you use an aggregate function on a column and 
> group by this column the result is undefined. 
> Re-think what you want to query. 
For each view there is a row in partner_views (the partner_id and a
timestamp). I want to know how many views each partner has. I think the
query is semantically correct.

Markus Bertheau




pgsql-sql by date:

Previous
From: Markus Bertheau
Date:
Subject: Re: integer attribute 1672 != 1672
Next
From: Tom Lane
Date:
Subject: Re: integer attribute 1672 != 1672