Erreur SQL !
select *, date_format(a.date,'%d/%m/%Y') as vdate, a.date as order_date from sessions a, riders r where a.id_rider=1346 and (date>'2021-02-04' or (date='2021-02-04' and id_session>274527)) and a.id_rider=r.id_rider and profil_public=1 order by order_date asc, id_session asc
Lost connection to MySQL server during query