Re: COPY from .csv File and Remove Duplicates - Mailing list pgsql-general

From Rich Shepard
Subject Re: COPY from .csv File and Remove Duplicates
Date
Msg-id alpine.LNX.2.00.1108120936240.25454@salmo.appl-ecosys.com
Whole thread Raw
In response to Re: COPY from .csv File and Remove Duplicates  (David Johnston <polobo@yahoo.com>)
List pgsql-general
On Fri, 12 Aug 2011, David Johnston wrote:

> Select *
> From table
> Natural Inner join (
> SELECT loc_name, sample_date, param, Count(*) as duplicate_count
> FROM table
> Group by loc_name, sample_date, param
> ) grouped
> Where duplicate_count > 1
> ;

David,

   Thank you. I was close in my attempts, but not sufficiently close. This
works.

Much appreciated,

Rich


pgsql-general by date:

Previous
From: George MacKerron
Date:
Subject: Re: Functions returning setof record -- can I use a table type as my return type hint?
Next
From: Merlin Moncure
Date:
Subject: Re: Functions returning setof record -- can I use a table type as my return type hint?