Weather Observation Station 20

  • + 0 comments

    This one for SQL server:

    select cast (lat_n as decimal(8,4)) 
    from (
        select id , lat_n , 
        row_number() over (order by lat_n) as rowNum
        from station
    ) temp
    where rowNum=CEILING((select count(id)/2 from station))+1;