Stang70Fastback
Registered User.
- Local time
- Yesterday, 21:17
- Joined
- Dec 24, 2012
- Messages
- 132
Hey guys, this is the query I am attempting to run:
The last line seems to make absolutely no difference. I can change it to ASC, or I can remove the line entirely, and nothing changes. Can someone explain to me what I am missing? I need these sorted by the NumberofReRoutes field, but this method isn't working!
The output at the moment is two columns: Route, and NumberofReRoutes.
Thanks!
SELECT Count(Query1.Route) AS NumberofReRoutes, Query1.Route
FROM Query1
WHERE [Start Date] <= #9/30/2014# AND [End Date] >= #9/1/2014#
GROUP BY Query1.Route
ORDER BY "NumberofReRoutes" DESC;
The last line seems to make absolutely no difference. I can change it to ASC, or I can remove the line entirely, and nothing changes. Can someone explain to me what I am missing? I need these sorted by the NumberofReRoutes field, but this method isn't working!
The output at the moment is two columns: Route, and NumberofReRoutes.
Thanks!