The statement returns the total count for each different WORKTYPE. But I also want to return the total rows counted in the statement, how can I do this? This column should have the same value for all rows returned. Eventually, I want to find the percentage of count compare to the overall for each WORKTYPE.
Any help is appreciated.
Code:
SELECT WORKTYPE, COUNT(*) AS ITEMCOUNT
FROM BK_WOBQUEUE
GROUP BY WORKTYPE
Any help is appreciated.