agora inbox for postgres@postgres.berkeley.edu  
help / color / mirror / Atom feed
From: Neil Parker <ccnp@unitrix.utr.ac.za>
To: Postgres Database <postgres@postgres.Berkeley.EDU>
Subject: Group By
Date: Wed, 14 Sep 1994 16:18:40 +0200 (GMT)
Message-ID: <m0qkvAW-0001w2C@unitrix.utr.ac.za> (raw)

Hi 

Is it possible to do this using postgres postquel ?

select avg (Qty) from parts group by supplier

Qty and supplier are attributes in the parts table.

Neil
-- 
Neil Parker                              Just       *
Computer Centre, University of Transkei      visiting   *   
Pvt Bag X1 Umtata . Tel (0471)-3022461         *     this
Email: ccnp@unitrix.utr.ac.za                         *   Planet !

==============================================================================
   To add/remove yourself to/from the POSTGRES mailing list: send mail with 
   the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU"

   If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and
   a human will deal with it.  DO NOT post to the "postgres" mailing list.
==============================================================================



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 using the --to and --cc options:
  reply via email

  To: postgres@postgres.berkeley.edu
  Cc: ccnp@unitrix.utr.ac.za
  Subject: Re: Group By
  In-Reply-To: <m0qkvAW-0001w2C@unitrix.utr.ac.za>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox