Lets suppose I have a following table in sql server 2008.
Column1   Column2   Column3
  1          2         1
  1          2         1
  5          1         1
  3          2         1
  3          2         1
  4          1         1
The output should be following
Column1   Column2   Column3
  5          1          1
  4          1          1
If a row has a duplicates present then , the original row and all the duplicate rows are to be deleted.If a row doesnot have any duplicates. Then it is kept. How can i achieve this?
 
    