Hi,
I'm not sure how to do what I need so maybe someone here will know.
I have a table with the following fields:
SalesName
SalesDate
SalesAmount
There can be multiple sales for each sales people each month. And not each month has the same sale people. I want to show a list of the total sales for January for each salesName, then the same for Feb, etc. for a few months ahead. How do I do this without knowing the salesName of everyone? If I know that I could write a select with sum for each sales person and then union the results. That is probably slow though.
Thanks!
Warren
I'm not sure how to do what I need so maybe someone here will know.
I have a table with the following fields:
SalesName
SalesDate
SalesAmount
There can be multiple sales for each sales people each month. And not each month has the same sale people. I want to show a list of the total sales for January for each salesName, then the same for Feb, etc. for a few months ahead. How do I do this without knowing the salesName of everyone? If I know that I could write a select with sum for each sales person and then union the results. That is probably slow though.
Thanks!
Warren