An Azure relational database service.
; WITH numbering AS (
SELECT row_number() OVER(PARTITION BY a, b, c ORDER BY somecolumn) AS rowno
FROM tbl
)
DELETE numbering
WHERE rowno > 1
The column you specify after ORDER BY determines which row you keep. For instance, if you want to keep the most recently inserted column, you would specify
ORDER BY insertdate DESC
This assumes that you actually have a column that tracks when the row was inserted.