cards
Decks
FB10
Sign in
Sign up
Menu
next card
Go back to all cards in this deck
back
previous card
Delete duplicate rows in database table (postgresql).
Posted
12 years ago
. Visible to the public.
DELETE FROM in_mam WHERE ctid NOT IN (SELECT MAX(ctid) FROM in_mam GROUP BY video_id, mam_id);
stackoverflow.com
mgns
Say thanks
Tags
database
,
duplicates
,
postgresql
Posted by mgns to FB10 (2012-11-19 13:50)
This website uses short-lived cookies to improve usability.
Accept
or
learn more