one way is as followsSELECT t. required columns here....FROM YourTable tINNER JOIN (SELECT Col1,Col2,Col3,MIN(PK) AS First FROM YourTable GROUP BY Col1,Col2,Col3)t1ON t1.Col1 = t.Col1AND t1.Col2 = t.Col2AND t1.Col3 = t.Col3AND t1.First=t.PK
Col1,Col2,Col3 is columns for which you need distinct combinationPK is your primary key------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/