rubbernilly
Programmer
Hello, all,
I am returning the top 5 product groups in a query. No problem. Now, for each of these 5 product groups, I would like to return the top 5 products contributing towards making the groups the top 5 of the groups. In the end, what I want is:
Group1 - Product1/1
Group1 - Product1/2
Group1 - Product1/3
Group1 - Product1/4
Group1 - Product1/5
Group2 - Product2/1
Group2 - Product2/2
Group2 - Product2/3
etc...
Is there a way to do this via a query rather than code?
I am returning the top 5 product groups in a query. No problem. Now, for each of these 5 product groups, I would like to return the top 5 products contributing towards making the groups the top 5 of the groups. In the end, what I want is:
Group1 - Product1/1
Group1 - Product1/2
Group1 - Product1/3
Group1 - Product1/4
Group1 - Product1/5
Group2 - Product2/1
Group2 - Product2/2
Group2 - Product2/3
etc...
Is there a way to do this via a query rather than code?