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

Report Showing Month with Highest Count

$
0
0
I have a table that stores EmployeeID, and Date. I want to create a report for 2016 that shows what the best month, by highest record count, for each employee. I have no idea how to accomplish this. I've been fiddling around with counts, but I'm not even close. Basically, I'm looking for results like:EmployeeID BestMonth10000 May10101 December12345 JuneIf I can get the number of the month, I can take care of making it look pretty. I just don't have any idea how to get counts for each EmployeeID per month.Any help would be, well, helpful.

Viewing all articles
Browse latest Browse all 3145

Latest Images

Trending Articles



Latest Images