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;




codesadda.com

Codesadda.com is your home of programming solutions, tutorials, video tutorials and much more. Sign Up for our weekly newsletter to get update about new content.

Like us on Facebook | Connect with us on LinkedIn | Subscribe our Channel on Youtube