Weather Observation Station 20

  • + 1 comment

    Here's my solution ... please share your thoughts ...

    with cols as 
    (
        select lat_n,
        ROW_NUMBER() OVER (ORDER BY lat_n) AS row_num
        from station
    )
    
    select round(lat_n,4)
    from cols
    where row_num = (select ceil(count(lat_n)/2) from station);