I am trying to write a query that will take the best two sales for a single salesperson, then average them. Some salespeople have one or two sales, and some have several hundred.
My table is set up thusly:
SalesID, SalesAmount, SalesType
SalesType doesn't matter. I want to take all types in figuring out their average.
I'm guessing I'll have to write this in sql, but can't quite get access to cooperate.
My table is set up thusly:
SalesID, SalesAmount, SalesType
SalesType doesn't matter. I want to take all types in figuring out their average.
I'm guessing I'll have to write this in sql, but can't quite get access to cooperate.