I lost the format of the column type (time) when I add using this mysql query
Code: Select all
SELECT `hesk_categories`.`name` AS Category, sum( time_worked ) AS "Time Worked"
FROM hesk_tickets, hesk_categories
WHERE (
hesk_categories.id = hesk_tickets.category)
GROUP BY hesk_categories.name
looks like this
category / time worked
User Access Requests 586536