troubleshooting Question

query needed to make table of top 10 orders for each sales person

Avatar of pcoghlan
pcoghlan asked on
Microsoft AccessSQL
5 Comments1 Solution314 ViewsLast Modified:
I need to make a table that includes the top 10 records from another table. I think this analogy describes it quite well.

I have 3 fields in a table;
[SalesPerson] - [OrderNo] - [OrderAmount]

Each sales person has thousands of orders. I want to use a Make Table query that inserts the top 10 (by value) orders for each and every sale person. Its as simple as that!

I want to include all three fields in the new table that will effectively be a subset of records in the first table.

I hope I have made this clear!
Paul
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 5 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros