Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Get the Count for each row

$
0
0

I'm trying to get the count for each row to total count for each month

Something like this

Hardware     |      Jan

Monitors       |       5

Processors   |      137

Printers        |      57

etc........

How can I write a query for this. I can get the Hardware column but don't know how to get the next column.



Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>