Home Forums SQL Server 2008 SQL Server 2008 - General group by, distinct not working as expected RE: group by, distinct not working as expected
mattech06
SSCrazy
Points: 2484
More actions
January 2, 2014 at 4:53 am
#1676831
The current sql will bring back
900032592013-05-28 16:05:13.000GroblerDOCTOR
900032592013-05-28 16:05:13.000GroblerOTHER
Where as I want it to bring back just one row for each dbPatID, I'm not bothered which RefTypeWord it is
thanks