Rennkalender

SQL Error: SELECT e.id, e.name, e.datum_start, e.datum_ende, e.datum_schluss, e.bemerkung, e.website, s.name AS strecke, r.name AS rennen, r.strecke AS rennstrecke, r.dauer, r.p_a, r.p_b, r.p_c, r.p_d FROM rennen r LEFT JOIN events e ON (r.event = e.id) LEFT JOIN strecken s ON (s.id = e.strecke) WHERE NOW() < e.datum_ende AND e.deleted = 0 AND r.serie = AND (e.saison = 2017 OR e.saison = 2016) ORDER BY e.datum_start ASC;