I have this query:
SELECT COUNT(ID) AS FREQ, TO_CHAR(TRUNC(CREATED_AT),\'DD-MON\') DATES FROM TICKETS WHERE TRUNC(CREATED_AT) > TRUNC(SYSDATE) - 32 GROUP