Parsing w3c logs, I want to get the count of 500 errors and not for each month. This gives the count of 500s per month:
SELECT TO_STRING(date, \'yyyy-MM\') AS