Sort Graph SQL Decending

S

SoggyCashew

Hello, I have a graph in my report and I want to sort it Decending by the
SumOfAverageDailyScrap. How would I do this in my SQL? Thanks


SELECT [EMPLOYEE NAME],Sum([AverageDailyScrap]) AS [SumOfAverageDailyScrap]
FROM [qryAverageDailyScrapGraph] GROUP BY [EMPLOYEE NAME];
 
S

SoggyCashew

I got it... I kept trying Order By [SumOfAverageDailyScrap] Asc;

SELECT [EMPLOYEE NAME],Sum([AverageDailyScrap]) AS [SumOfAverageDailyScrap]
FROM [qryAverageDailyScrapGraph] GROUP BY [EMPLOYEE NAME] Order By
Sum([AverageDailyScrap]) Asc;
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top