Erreur SQL !
select distinct year(date) as année from sessions s where s.id_rider=396 order by date desc
Lost connection to MySQL server during query