Using MySQL's TO_DAYS() Function To Group Same-Day Events