Home Forums Article Discussions Article Discussions by Author Discuss content posted by Luigi Marinescu Display COUNT(*) but ONLY TOP 100 RE: Display COUNT(*) but ONLY TOP 100
gorr-688214
SSC Enthusiast
Points: 187
More actions
November 20, 2009 at 7:03 am
#1082189
You should use ROW_NUMBER() instead of rank. Rank will assign the same number to the first to items in your data set. They are both 1 so they have the same rank. ROW_Number will be unique.