HackerRank MySQL - Weather Observation Station 20



A median is defined as a number separating the higher half of a data set from the lower half. Query the median of the Northern Latitudes (LAT_N) from STATION and round your answer to 4 decimal places.



  1. /*
  2. Enter your query here.
  3. Please append a semicolon ";" at the end of the query and enter your query in a single line to avoid error.
  4. */
  5. SELECT ROUND(MEDIAN(LAT_N), 4)
  6. FROM STATION;

download android app