;WITH CET
AS (
SELECT *, ROW_NUMBER()
OVER (PARTITION BY SearchTask_PKID ORDER BY SearchTask_PKID) RowNo
FROM [SiteAnalysis].[dbo].[UrlQueue]
)
DELETE CET
WHERE RowNo > 1

05-11 15:51