79415252

Date: 2025-02-05 15:19:56
Score: 0.5
Natty:
Report link

I use it in the following context (removing duplicates):

delete from a        
from
   (select
           f1
          ,f2
          ,ROW_NUMBER() over (partition by f1, f2
                              order by f1, f2
           ) RowNumber 
    from TABLE) a
where a.RowNumber > 1 
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Tomek