Group BY ...(cont.)

From: Antti Linno <alligator(at)all(dot)ee>
To: pgsql-sql(at)postgresql(dot)org
Subject: Group BY ...(cont.)
Date: 2000-07-05 12:01:44
Message-ID: Pine.LNX.4.04.10007051459020.13491-100000@all.ee
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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.

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Gerhard Dieringer 2000-07-05 12:11:22 Antw: GROUP by
Previous Message Jesus Aneiros 2000-07-05 11:52:28 Re: GROUP by