Distinct Values

Поиск
Список
Период
Сортировка
От Nicolas
Тема Distinct Values
Дата
Msg-id HTaR6.40412$712.4747796@amsnews02.chello.com
обсуждение исходный текст
Ответы Re: Distinct Values  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Список pgsql-sql
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




В списке pgsql-sql по дате отправления:

Предыдущее
От: "Frank Contrepois"
Дата:
Сообщение: Re: START for SERIAL type?
Следующее
От: Hans-Jürgen Schönig
Дата:
Сообщение: Re: How to use the template table in postgresql