I have the following problem, I want the column Months
to stop repeating, and the column Qty
is added, but the table is the result of a query, I leave the query and the result table as an example:
select DateName(month,date_estimated)as Months,count(date_estimated) as Qty
from tbl_Crs
where Date_Estimated between (select dateadd(yy, datediff(yy, 0, getdate()),
0)) and getdate()
group by date_estimated