Select Question

From: Alex <alex(at)meerkatsoft(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Select Question
Date: 2004-02-02 15:22:29
Message-ID: 401E6B35.6060109@meerkatsoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,
I need to remove duplicate records from a table like

Code Date
XS111111 2004-01-26
XS111111 2003-01-22
XS222222 2004-02-01
XS222222 2004-01-26
XS222222 2003-01-22

where only the newest record of Code XSxxxxxxx is kept in the table. Is
there an easy way to do that?

Thanks
Alex

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jan Wieck 2004-02-02 15:24:01 Re: DB cache size strategies
Previous Message Keith C. Perry 2004-02-02 15:13:36 Re: business references for postgresql