Weather Observation Station 17 SQL Hacker Rank Solution

Hello coders, In this post, you will learn how to solve the Weather Observation Station 17 SQL Hacker Rank Solution. This problem is a part of the SQL Hacker Rank series.

Weather Observation Station 17 SQL Hacker Rank Solution
Weathers Observation Station 17 SQL Hacker Rank Solution

Weather Observation Station 17 SQL Hacker Rank Solution

Problem

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.

Input Format

The STATION table is described as follows:

Weather Observation Station 17 SQL Hacker Rank Solution

where LAT_N is the northern latitude and LONG_W is the western longitude.

Weather Observation Station 17 SQL Hacker Rank Solution

SELECT ROUND(LONG_W, 4) FROM STATION
WHERE LAT_N > 38.7780 ORDER BY LAT_N LIMIT 1;

Disclaimer: The above Problem (Weather Observation Station 17) generated by Hackerrank but the Solution is Provided by Chase2Learn. This tutorial is only for Educational and Learning purposes.

Sharing Is Caring