aggregation question

From: Chris Withers <chris(at)simplistix(dot)co(dot)uk>
To: pgsql-general(at)postgresql(dot)org
Subject: aggregation question
Date: 2015-12-08 11:44:23
Message-ID: 5666C297.9010304@simplistix.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi All,

I hope this is quite a simple one...

I have a fixtures table containing home_club and away_club, and I'd like
to select the distinct list of clubs contained in all rows but in either
the home_club or away_club columns.

How would I do that?

thanks for the help!

Chris

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David Rowley 2015-12-08 11:51:53 Re: aggregation question
Previous Message Adrian Klaver 2015-12-07 17:45:01 Re: Packages for Ubuntu Wily (15.10)