Home Forums SQL Server 2008 T-SQL (SS2K8) distinct / top....??? RE: distinct / top....???
lahatfield
SSC Rookie
Points: 26
More actions
October 12, 2010 at 3:28 am
#1235367
Thanks, I was being dumb and have figured it out now by doing a MIN() on the Value column and using GROUP BY on the UserId and Answer column. I didn't mind which gets returned to be honest, I just completely forgot how to do it 🙂