Ver originalSELECT COALESCE(horario,'TOTAL'), COUNT(horario) FROM `tabla` GROUP BY horario WITH ROLLUP