Hello coders, today we are going to solve Weather Observation Station 17 HackerRank Solution in SQL.
Query the Western Longitude (LONG_W)where the smallest Northern Latitude (LAT_N) in STATION is greater than 38.7780. Round your answer to 4 decimal places.
The STATION table is described as follows:
where LAT_N is the northern latitude and LONG_W is the western longitude.
Solution – Weather Observation Station 17 in SQL
select round(long_w, 4) from station where lat_n = (select min(lat_n) from station where lat_n > 38.7780);
Disclaimer: The above Problem (Weather Observation Station 17) is generated by Hacker Rank but the Solution is Provided by CodingBroz. This tutorial is only for Educational and Learning Purpose.