Home Forums SQL Server 2008 T-SQL (SS2K8) Retrieve subject name with max mark RE: Retrieve subject name with max mark
John Mitchell-245523
SSC Guru
Points: 148809
More actions
December 16, 2013 at 8:32 am
#1673727
Ah yes, that works. I was thinking you need the same columns in the SELECT list as in the GROUP BY clause, but of course you don't. Thanks Sean.
John