SELECT e.firstName,t.setDate, w.wageAmount
FROM TimeSheet t
INNER JOIN Employee e
ON e.employeeID = t.employeeID
INNER JOIN Salary s
ON s.salaryID = t.salaryID
INNER JOIN Wage w
ON w.wageID = s.wageID
INNER JOIN EmpHiringInfo ehf
ON ehf.EmpHiringInfoID = s.EmpHiringInfoID
INNER JOIN WageType wt
ON wt.wageTypeID = w.wageTypeID
WHERE (wt.wageTypeID = 19) AND (ehf.isActive = 1 AND s.isActive = 1
AND ehf.employeeID = 300) AND (CONVERT(varchar, t.setDate, 23) BETWEEN '2000-08-02' AND '2020-08-04')
By the way, the wage is only one for every month, so the wage is repetitive. So for the month 11,2010 wage is 3600 regardless how many days in 11,2010 …
The above sample produce the following sample code:

I need to gather all similar month/year into one cell discarding days and time. For example
2010-11-12 and 2010-11-26 has to be contracted to one cell as 2010-11 (in any format).
Any help is appreciated.
To Unify all the dates to months you can do something like this:
But you will need to group by this is you want to do aggregations: