How can I delete duplicate rows where no unique row id exists?
unique row id
My table is
col1 col2 col3 col4 col5 col6 col7 john 1
Try to Use:
SELECT linkorder ,Row_Number() OVER ( PARTITION BY linkorder ORDER BY linkorder DESC ) AS RowNum FROM u_links