Re: select unique items in db

Поиск
Список
Период
Сортировка
От Stijn Vanroye
Тема Re: select unique items in db
Дата
Msg-id ee8bc4$11em$1@news.hub.org
обсуждение исходный текст
Ответы Re: select unique items in db  ("a" <a@tempinbox.com>)
Список pgsql-general
a schreef:
>  "select unique id" - i found this line in google search
> but i want to make
> select * as unique
>
> select unique * is
> or select distinct
>
> pls point out how to select unique items from a list of million items
>
Maybe
select distinct <fieldlist> from ...
or
select distinct on (field1,field2) <fieldlist> from ... ?

Regards,

Stijn.

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

Предыдущее
От: "J S B"
Дата:
Сообщение: Re: berkley sockets
Следующее
От: Alban Hertroys
Дата:
Сообщение: Template1 oops