Hi all:
I have two tables I am joining on the field "name" and grouping by the field "subdivision".
This is the issue I have. I want to pull only the top 5 names based on sales value (which is one of the fields) in each subdivision. Currently, each subdisivion has almost 100 names each. How can I restrict the result set to include only the top 5 names from each subdivision.
Thanks.
I have two tables I am joining on the field "name" and grouping by the field "subdivision".
This is the issue I have. I want to pull only the top 5 names based on sales value (which is one of the fields) in each subdivision. Currently, each subdisivion has almost 100 names each. How can I restrict the result set to include only the top 5 names from each subdivision.
Thanks.