User Profile

Collapse

Profile Sidebar

Collapse
xlDude
xlDude
Last Activity: Aug 26 '16, 02:59 PM
Joined: Sep 30 '15
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • xlDude
    replied to Ranking Queries in MS Access SQL
    That's a crazy amount of data lol. I'm limited to MS Access only so maybe that's why the query wouldn't work that well. I'm lucky if I hit 2 million rows of data before splitting the tables up because of the limitations on Access. You guys are in the big leagues....
    See more | Go to post

    Leave a comment:


  • xlDude
    replied to Ranking Queries in MS Access SQL
    It ran in seconds for my dataset of 500K records. The method described in the article was taking over 10 min when I stopped it....
    See more | Go to post
    Last edited by zmbd; Oct 26 '15, 05:37 PM. Reason: [z{modified to show quoted post}]

    Leave a comment:


  • xlDude
    replied to Ranking Queries in MS Access SQL
    This might be posting a little late but I found a way that is way way much faster:



    SELECT
    t1.Salesperson,
    t1.Division,
    t1.NumberSold,
    (SELECT Count(*) As CountS FROM
    (SELECT t1.Salesperson, t1.NumberSold
    FROM [Table1] t2) As Alias1
    WHERE Alias1.Salesper son = t1.Salesperson AND Alias1.NumberSo ld <= t1.NumberSold) as Rank...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...