Con la vela 4,5 de Joaquin. Solo surf pero muy bueno
Erreur SQL !
select id_session, p.id_spot, rider, spot, code, pays as pays, en, profil_public from sessions s, riders r, spots p, pays y where date='2016-05-31' and s.id_rider=r.id_rider and s.id_spot=p.id_spot and y.id_pays=p.pays and r.id_rider not in (0, 14, 1004) union select id_session, 0, rider, '' as spot, '' as code, '' as pays, '', profil_public from sessions s, riders r where date='2016-05-31' and s.id_rider=r.id_rider and s.id_spot=0 and r.id_rider not in (0, 14, 1004) order by pays desc, id_spot desc
Lost connection to MySQL server during query