From: tjk@tksoft.com <tjk@tksoft.com>
To: alligator@all.ee
Cc: pgsql-sql@postgresql.org
Subject: Re: Group BY ...(cont.)
Date: Wed, 5 Jul 2000 05:15:12 -0700 (PDT)
Message-ID: <200007051215.FAA29154@uno.tksoft.com> (raw)
In-Reply-To: <Pine.LNX.4.04.10007051459020.13491-100000@all.ee>
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.
>
>
>
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: tjk@tksoft.com, alligator@all.ee
Subject: Re: Group BY ...(cont.)
In-Reply-To: <200007051215.FAA29154@uno.tksoft.com>
References: <Pine.LNX.4.04.10007051459020.13491-100000@all.ee> <200007051215.FAA29154@uno.tksoft.com>
* 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