Home Forums SQL Server 2008 T-SQL (SS2K8) Need help with this query RE: Need help with this query
Ray M
SSC-Insane
Points: 21093
More actions
November 12, 2012 at 12:54 pm
#1558289
What have you tried?
a couple hints.
Use the case statement, wrapped in Min, or Max
Group by Col 1, Col 2
Check this out.
http://www.sqlservercentral.com/articles/Best+Practices/61537/[/url]