Re: limited field duplicates - Mailing list pgsql-general

From Don Isgitt
Subject Re: limited field duplicates
Date
Msg-id 3E3AE222.90501@soundenergy.com
Whole thread Raw
In response to limited field duplicates  (Don Isgitt <djisgitt@soundenergy.com>)
List pgsql-general
Yes! Thank you very much!!

Tom Lane wrote:

>Don Isgitt <djisgitt@soundenergy.com> writes:
>
>>I am trying to find rows in a table that are duplicates only in the
>>sense of certain columns; i.e, not all columns are the same, and then
>>for each duplicate entry, I want to retrieve one of the columns that is
>>not part of the duplication criteria.
>>
>
>Try SELECT DISTINCT ON.  There's a simple example in the SELECT
>reference page (something about weather reports I think).
>
>            regards, tom lane
>
>



pgsql-general by date:

Previous
From: Medi Montaseri
Date:
Subject: Re: SELECT question
Next
From: "Andy Kriger"
Date:
Subject: empty contrib diurectories?