Re: Group BY ...(cont.) - Mailing list pgsql-sql

From tjk@tksoft.com
Subject Re: Group BY ...(cont.)
Date
Msg-id 200007051215.FAA29154@uno.tksoft.com
Whole thread Raw
In response to Group BY ...(cont.)  (Antti Linno <alligator@all.ee>)
List 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.
>
>
>

pgsql-sql by date:

Previous
From: Jesus Aneiros
Date:
Subject: Re: GROUP by
Next
From: "Grigori Soloviov"
Date:
Subject: PLPGSQL - does not support more than 8 args?