Request error: SELECT ts.id_session AS s1, ts.date_from, ts.date_to, ts.amount AS rawamount, ts.max_students, (ts.max_students - ts.nb_students) AS dispo, tp.caption AS place, tp.adr, tp.zipcode, tp.city, tp.maincity, tp.id_region, tp.id_dept, CONCAT_WS('. ', g.code, g.caption) AS dept FROM extranetformation.tsessions ts INNER JOIN extranetformation.tplaces tp ON ts.id_place=tp.id_place AND tp.id_region='27' INNER JOIN lmcf.geo g ON tp.id_dept=g.id_geo AND g.level='3' WHERE ts.id_course='4' AND ts.date_from>='2024-06-23' AND ts.date_to<='2024-09-20' AND ts.internal='Y' AND NOT(ts.status='9') AND ts.amount IS NOT NULL AND ts.timezone_id=428 ORDER BY ts.date_from