pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jerome Alet <alet@unice.fr>
To: Antti Linno <alligator@all.ee>
Cc: pgsql-sql@postgresql.org
Subject: Re: GROUP by
Date: Wed, 5 Jul 2000 13:50:44 +0200 (MET DST)
Message-ID: <Pine.LNX.3.96.1000705134903.22213A-100000@cortex.unice.fr> (raw)
In-Reply-To: <Pine.LNX.4.04.10007051409050.13491-100000@all.ee>

On Wed, 5 Jul 2000, Antti Linno wrote:

> I have table job, and I want to select data from it, grouping by
> workgroups. When I use 
>  select id,name from job where workgroup='top leaders' AND ...  group by
> workgroup;

this query is probably incorrect: because of the "where workgroup=" the
"group by workgroup" can't do anything.

bye,

Jerome ALET - alet@unice.fr - http://cortex.unice.fr/~jerome
Faculte de Medecine de Nice - http://noe.unice.fr - Tel: 04 93 37 76 30 
28 Avenue de Valombrose - 06107 NICE Cedex 2 - FRANCE





view thread (5+ messages)  latest in thread

Message-ID: <Pine.LNX.3.96.1000705134903.22213A-100000@cortex.unice.fr>
Permalink:  ../Pine.LNX.3.96.1000705134903.22213A-100000@cortex.unice.fr/
Also on:    postgresql.org/message-id/Pine.LNX.3.96.1000705134903.22213A-100000@cortex.unice.fr

 · 

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: alet@unice.fr, alligator@all.ee
  Subject: Re: GROUP by
  In-Reply-To: <Pine.LNX.3.96.1000705134903.22213A-100000@cortex.unice.fr>
  References: <Pine.LNX.4.04.10007051409050.13491-100000@all.ee> <Pine.LNX.3.96.1000705134903.22213A-100000@cortex.unice.fr>

* 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