Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Administration - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 6525

How to Group By Dates

$
0
0
Hi,I have some data in SQL that has staff name, case ref and case date completed.What I am hoping to get from my data is see how many cases were completed on each day for each member of staff:Example:Mr Smith 2015-01-18Mr Smith 2015-01-18Mr Smith 2015-01-18Mr Smith 2015-01-18Total 4 cases for the 2015-01-18.Is there a way I can do this Using Group By.Many thanks

Viewing all articles
Browse latest Browse all 6525

Trending Articles