Weather Observation Station 20

  • + 0 comments

    SELECT CAST(ROUND(AVG(LAT_N),4) AS DECIMAL(10,4)) AS median FROM ( SELECT LAT_N, ROW_NUMBER() OVER (ORDER BY LAT_N) AS row_num, COUNT(*) OVER () AS total_count FROM STATION ) AS ranked_data WHERE row_num = (total_count + 1) / 2;