pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Antti Linno <alligator@all.ee>
To: pgsql-sql@postgresql.org
Subject: Group BY ...(cont.)
Date: Wed, 5 Jul 2000 15:01:44 +0300 (EEST)
Message-ID: <Pine.LNX.4.04.10007051459020.13491-100000@all.ee> (raw)

Ok, if I want to use group by, then I have to put every select field
afterwards to group by. But I do want to group by one field.
Hence
select workgroup,id from job group by workgroup,id;
would create groups of 1?
But I want to group by workgroups.
Sorry if my explanation is fuzzy.
A.





view thread (3+ messages)  latest in thread

Message-ID: <Pine.LNX.4.04.10007051459020.13491-100000@all.ee>
Permalink:  ../Pine.LNX.4.04.10007051459020.13491-100000@all.ee/
Also on:    postgresql.org/message-id/Pine.LNX.4.04.10007051459020.13491-100000@all.ee

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: alligator@all.ee
  Subject: Re: Group BY ...(cont.)
  In-Reply-To: <Pine.LNX.4.04.10007051459020.13491-100000@all.ee>
  References: <Pine.LNX.4.04.10007051459020.13491-100000@all.ee>

* 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