From: Nicolas <bnk@medialife.net>
To: pgsql-sql@postgresql.org
Subject: Distinct Values
Date: Wed, 30 May 2001 18:22:31 GMT
Message-ID: <HTaR6.40412$712.4747796@amsnews02.chello.com> (raw)
Hi,
I'm trying to retreive DISTINCT Values from a two colomn table called
"Books". The colomns are named "Author" and "URL".
DISTINCT values should be retieved from the "Author" Colomn , and then I
should be able to retrieve the corresponding URL.
How do I build the SQL Query ?
I tried to use: "SELECT DISTINCT Author FROM Books" But this does not allow
me to fetch the URL value on the other colomn.
Thanks
Nicolas
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: pgsql-sql@postgresql.org
Cc: bnk@medialife.net
Subject: Re: Distinct Values
In-Reply-To: <HTaR6.40412$712.4747796@amsnews02.chello.com>
* 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