﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2005 / T-SQL (SS2K5)  / find out the customers having maximum number of unique orders. / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Tue, 18 Jun 2013 19:34:05 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: find out the customers having maximum number of unique orders.</title><link>http://www.sqlservercentral.com/Forums/Topic732893-338-1.aspx</link><description>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.</description><pubDate>Thu, 11 Jun 2009 04:59:12 GMT</pubDate><dc:creator>SQLZ</dc:creator></item><item><title>find out the customers having maximum number of unique orders.</title><link>http://www.sqlservercentral.com/Forums/Topic732893-338-1.aspx</link><description>I have 2 tables with customer id in one coulmn and orderid in another table.I need to find out the customers having maximum number of unique orders.finf customer 1 has 4 different orders i need to display the count as 4 against customer 1.</description><pubDate>Thu, 11 Jun 2009 04:36:53 GMT</pubDate><dc:creator>sreekirt-1108866</dc:creator></item></channel></rss>