I have this query that brings me the minutes of each day, however I want to add them all, but it returns me values different:
SELECT
DATENAME(WEEKDAY,DateOpen) as Dias,
SUM(DATEPART(MINUTE, CONVERT(Datetime,MTTA))) as Minutos
FROM
GeneralReport
WHERE
Week='4'
GROUP BY
GeneralReport.DateOpen