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=613 and (date<'2019-10-11' or (date='2019-10-11' and id_session<237149)) and a.id_rider=r.id_rider and profil_public=1 order by order_date desc, id_session desc
Lost connection to MySQL server during query