Search Postgresql Archives

Re: Delete Duplicates with Using

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
        AND T1.row_num < T2.row_num




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


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



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux