Login
Enregistrement
Password
EN

Erreur SQL !
select id_session, a.id_spot as champ1, spot, id_orientation as champ4, date_format(a.date,'%d/%m/%Y') as date from sessions a, spots b where a.id_spot=1602 and a.id_spot=b.id_spot and a.date <= now() and period_diff(date_format(now(),'%Y%m'),date_format(date,'%Y%m'))<12 order by date_format(a.date,'%d'), date_format(a.date,'%Y'), date_format(a.date,'%m'), champ4 desc
Lost connection to MySQL server during query