I need to delete all duplicate rows except the first occurrence of similar rows from a Table Log
having the same customer_id
and deactivation_date
. How do I achieve that with minimum number of sql statements.
I Am using MS SQL Server 2008 express edition.