004: SELECT EV.event_id FROM `event` AS EV JOIN `eventtypes` AS ET ON EV.event_id = ET.event_id JOIN `franchise` AS FR ON EV.access_level = FR.franchise_id JOIN `levels` AS LV ON LV.franchise = 2769 and EV.level = LV.level WHERE EV.publish_event = 'y' AND EV.access_level = 2769 AND year(EV.start_date) >= 2020,2021,2022,2023 AND FR.franchise_cname = 'travelballelite' GROUP BY event_id ORDER BY EV.start_date
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '2021,2022,2023 AND FR.franchise_cname = 'travelballelite' GROUP BY event_id ORD' at line 8