minor typo, I think SQL is case insensitive, but that eventTYpe should be eventType :-)