Skip to content
RED SAGSkills
medium10 pts · first answer countswindow-functionssqldata-cleaning

Marking duplicates in an UPDATE

You want to set is_duplicate = true on every copy except the first per email. Why can't you write ROW_NUMBER() directly in the UPDATE's WHERE?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions