pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Markus Bertheau <twanger@bluetwanger.de>
To: Haller Christoph <ch@rodos.fzk.de>
To: postgres sql list <pgsql-sql@postgresql.org>
Subject: Re: integer attribute 1672 != 1672
Date: 12 Nov 2001 16:55:51 +0100
Message-ID: <1005580552.31390.10.camel@entwicklung01.cenes.de> (raw)
In-Reply-To: <200111121505.QAA23169@rodos>
References: <200111121505.QAA23169@rodos>

> 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





view thread (6+ messages)  latest in thread

Message-ID: <1005580552.31390.10.camel@entwicklung01.cenes.de>
Permalink:  ../1005580552.31390.10.camel@entwicklung01.cenes.de/
Also on:    postgresql.org/message-id/1005580552.31390.10.camel@entwicklung01.cenes.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: twanger@bluetwanger.de, ch@rodos.fzk.de
  Subject: Re: integer attribute 1672 != 1672
  In-Reply-To: <1005580552.31390.10.camel@entwicklung01.cenes.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox