L
Lina
I need some one to help me Optimize my query using MAX or DMax or Top 1,
however.
I have a large result query that sumirized the sales (for each region) from
past months. Then I need to find the max data from last months for each year.
I have used Dmax, I have used a subquery in the select section, I have used a
Top 1 in the having section... all of them give me the same result which is
the correct one. My problem is the speed. It takes too long to be executed.
Is there a way I can work this out more efficiently?
Thanks a lot in advanced, Lina
however.
I have a large result query that sumirized the sales (for each region) from
past months. Then I need to find the max data from last months for each year.
I have used Dmax, I have used a subquery in the select section, I have used a
Top 1 in the having section... all of them give me the same result which is
the correct one. My problem is the speed. It takes too long to be executed.
Is there a way I can work this out more efficiently?
Thanks a lot in advanced, Lina