and mit or verwechselt und Klammer drum fehlt.
Code:
and (not exists ( select * from caseevent where caseevent.casekey=cases.casekey and caseevent.Eventkey=20241462)
or not exists ( select * from caseevent where caseevent.casekey=cases.casekey and caseevent.Eventkey=20241534)
or not exists ( select * from caseevent where caseevent.casekey=cases.casekey and caseevent.Eventkey=20241561))