> The spots > Tabarka > Statistics of the spot > Average wind per month of the year (12 last months)
select ventMin as moyenne from sessions a where a.id_spot=2900 and date_format(date,'%m')=12 and isnull(ventMin)=false and isnull(ventMax)=true and period_diff(date_format(now(),'%Y%m'),date_format(date,'%Y%m'))<12
Lost connection to MySQL server during query