SELECT evenements.*, evenements.id eID, evenements_dates.start_date, evenements_dates.end_date, evenements_dates.date_status, evenements_dates.comment, zones.code zCode, IF((date_hidden<>'YES' OR ISNULL(date_hidden)), '0', IF(start_date='2025-04-07','1','2') ) ordre_expo, IF( (SELECT COUNT(evenements_categories.id) FROM evenements_categories, evenements_to_evenements_categories WHERE evenements_categories_id = evenements_categories.id AND evenements_id = evenements.id AND est_periode='YES') > 0, 1, 0) ordre_tri FROM evenements_dates, evenements, zones WHERE zones.id = zones_id AND evenements.id = evenements_dates.evenements_id AND event_status='PUBLIC' AND (is_hidden<>'YES' OR ISNULL(is_hidden)) AND ( start_date BETWEEN '2028-02-01' AND DATE_ADD('2028-02-29', INTERVAL 1 DAY) OR end_date BETWEEN '2028-02-01' AND DATE_ADD('2028-02-29', INTERVAL 1 DAY) OR (end_date>='2028-02-29' AND start_date<='2028-02-29') ) AND (start_date>='2025-04-07' OR end_date>='2025-04-07 06:00:00') AND zones_id = ( SELECT id FROM zones WHERE slug='bienne') ORDER BY ordre_expo ASC, ordre_tri ASC, start_date, event_title ASC65 0 //

include: 0.002874

page: -0.452595

dist: 3.9999999999485E-6

evt: 0.071059

reg: 0.029741

cat: 0.081125

lab: 0.033285

month: -0.275809