Hey All,
I have a question concerning a query I am trying to write; I have a table with years and types
SELECT Veh_Year, COUNT(NoPlateType)AS COUNT
FROM dbo.AUG13_PM_RSD
GROUP BY Veh_Year, NoPlateType
WITH CUBE
What i want to do is get how many "reds" subtotoal were for each individual year so if there were 5 reds scattered in the table for the year 2000, it would display:
Veh_Year Count
2000 5