Re: [GENERAL] Delete Duplicates with Using

Поиск
Список
Период
Сортировка
От legrand legrand
Тема Re: [GENERAL] Delete Duplicates with Using
Дата
Msg-id 1507966359715-0.post@n3.nabble.com
обсуждение исходный текст
Ответ на [GENERAL] Delete Duplicates with Using  ("Igal @ Lucee.org" <igal@lucee.org>)
Ответы Re: [GENERAL] Delete Duplicates with Using  ("Igal @ Lucee.org" <igal@lucee.org>)
Список pgsql-general
DELETE FROM table_with_duplicates AS T1 USING table_with_duplicates AS T2
WHERE        T1.column_1 = T2.column_1       AND T1.column_2 = T2.column_2       AND T1.column_3 = T2.column_3
ANDT1.row_num < T2.row_num
 




--
Sent from: http://www.postgresql-archive.org/PostgreSQL-general-f1843780.html


-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

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

Предыдущее
От: legrand legrand
Дата:
Сообщение: [GENERAL] Where to find development builds of pg for windows
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: [GENERAL] time series data