14,494 questions
Try something like this:
select [Date], [Day], sum([Calls]) as Calls
from MyTable
group by [Date], [Day]
order by [Date]
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi Have a table where I m having data like below
Now I want to group my data based on only country like below
I has to sum the data based on country only and show remaining columns.
Try something like this:
select [Date], [Day], sum([Calls]) as Calls
from MyTable
group by [Date], [Day]
order by [Date]