Home Forums SQL Server 2005 T-SQL (SS2K5) find out the customers having maximum number of unique orders. RE: find out the customers having maximum number of unique orders.
SQLZ
SSChampion
Points: 12872
More actions
June 11, 2009 at 4:59 am
#1007893
This sounds a bit like a school work type question so without wanting to give too much of an answer I'd suggest you look at the GROUP BY clause - that should help you find the answer.
Karlsource control for SQL Server