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

Dividing partial count by total count

$
0
0
I have a table of items and their class rank. I need to count the class and divide by the total number of items. Here is a sample of 10 items across 4 classes. What I hope to get back is the percentage level of the classes based on the overall items, so I

Viewing all articles
Browse latest Browse all 3145

Trending Articles