Return-Path: pg_adm@postgres.berkeley.edu
Received: by postgres.Berkeley.EDU (5.61/1.29)
	id AA09299; Sat, 13 Mar 93 04:01:10 -0800
Message-Id: <9303131201.AA09299@postgres.Berkeley.EDU>
From: Peter van Oosterom <Peter.van.Oosterom@fel.tno.nl>
Subject: counting combinations
To: postgres@postgres.berkeley.edu
Sender: pg_adm@postgres.berkeley.edu
To: postgres@postgres.berkeley.edu
Date: Sat, 13 Mar 93 13:01:03 MET
X-Mailer: ELM [version 2.3 PL11]

Dear Postgres-group,

I want to count combinations of attribute values.
For example in relation X:
   a     b
   3     6
   2     3
   3     8
I would like to obtain the following result Y:
   a     number_of_b
   3     2
   2     1
Is this possible in Postquel?

Kind regards, Peter van Oosterom.
