pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew C.R. Martin <a.c.r.martin@reading.ac.uk>
To: pgsql-sql@postgresql.org
Subject: Re: GROUP BY / HAVING - am I being thick?
Date: Thu, 13 Apr 2000 16:52:12 +0100
Message-ID: <00041316540301.04663@sapc13.rdg.ac.uk> (raw)



> I have a question about GROUP BY / HAVING. It seems I can't do
> something I *think* I should be able to do!
[...]
> SELECT codon, sum(nexamples)
> FROM summary
> WHERE expl = 'f'
> GROUP BY codon
> HAVING expl = 'f';

OK! As I thought, I was being thick - helps to read the book properly instead
of dipping into it. Thanks Tom for clearing this up!


Andrew

--
Dr. Andrew C.R. Martin          EMail:  a.c.r.martin@reading.ac.uk  (work)
Lecturer in Bioinformatics              andrew@stagleys.demon.co.uk (home)
University of Reading
Tel.: +44 (0)118 987 5123x7022  Fax:    +44 (0)118 931 0180



view thread (3+ messages)

Message-ID: <00041316540301.04663@sapc13.rdg.ac.uk>
Permalink:  ../00041316540301.04663@sapc13.rdg.ac.uk/
Also on:    postgresql.org/message-id/00041316540301.04663@sapc13.rdg.ac.uk

 · 

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: a.c.r.martin@reading.ac.uk
  Subject: Re: GROUP BY / HAVING - am I being thick?
  In-Reply-To: <00041316540301.04663@sapc13.rdg.ac.uk>
  References: <00041316540301.04663@sapc13.rdg.ac.uk>

* 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