Fehler bei der Ausführung der Abfrage:

sql_create = CREATE TABLE IF NOT EXISTS `pliening_events_export` AS ( SELECT DISTINCT v.v_version_title, v.v_version_subtitle, v.v_version_abstract, e.e_startdate, e.e_enddate, e.e_url, e.e_country, e.e_city, e.e_district, e.e_venue, e.e_organizer, e.e_contact, e.e_contactemail, v.v_version_primary_rubric, e.e_version_id, e.e_category_id, n.n_title FROM pliening_version v, pliening_navigation n, pliening_events e WHERE e.e_version_id = v.v_id AND v.v_version_wfstatus = 2 AND v.v_version_primary_rubric = n.n_id AND e.e_startdate >= '2020-07-14 00:00:00' AND (e.e_enddate >= '2020-07-14 00:00:00' OR e.e_enddate = '0000-00-00 00:00:00') AND e.e_enddate <= '2030-12-31' AND e.e_startdate <= '2030-12-31' ORDER BY e.e_startdate, e.e_enddate, v.v_version_title );