SQL change; eventType changed to eventCategory under eventCategory table