Select Question

Поиск
Список
Период
Сортировка
От Alex
Тема Select Question
Дата
Msg-id 401E6B35.6060109@meerkatsoft.com
обсуждение исходный текст
Ответы Re: Select Question  (Martijn van Oosterhout <kleptog@svana.org>)
Список 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






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

Предыдущее
От: "Keith C. Perry"
Дата:
Сообщение: Re: business references for postgresql
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: Return Value of a Function