Weather Observation Station 20

  • + 0 comments

    In MySQL, with rn as (select row_number() over (order by lat_n) as rownumber, lat_n, count(*) over() as c from station) select round(avg(lat_n),4) from rn where rownumber in ((c/2) + 1, (c+1)/2) ;