SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,367 questions
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]