Re: Group BY ...(cont.)

From: "tjk(at)tksoft(dot)com" <tjk(at)tksoft(dot)com>
To: alligator(at)all(dot)ee (Antti Linno)
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Group BY ...(cont.)
Date: 2000-07-05 12:15:12
Message-ID: 200007051215.FAA29154@uno.tksoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

E.g.

select workgroup from job group by workgroup;

will that do?

Troy

>
> 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.
>
>
>

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Jesus Aneiros 2000-07-05 12:17:00 Re: Group BY ...(cont.)
Previous Message Gerhard Dieringer 2000-07-05 12:11:22 Antw: GROUP by