I am looking at my customer sales history for the past 12 months based on the SALES table. I want to group my customers as follows based on sales volume over the last 12 months and show how many customers I have in each group:
$10,000+
$5000 - $9999
$2500 - 4999
1000 - 2499
0 - 999
SALES table
<SaleTTL>
<CustNum>
CUSTOMER table
<CustNum>
<Name>
I can group the customers based on CUSTNUM just fine and see their total sales. My problem is that I don't know how to group them into the aformentioned sales volume categories.
$10,000+
$5000 - $9999
$2500 - 4999
1000 - 2499
0 - 999
SALES table
<SaleTTL>
<CustNum>
CUSTOMER table
<CustNum>
<Name>
I can group the customers based on CUSTNUM just fine and see their total sales. My problem is that I don't know how to group them into the aformentioned sales volume categories.