[SQL] Weather Observation Station 2
1948 ワード
✅ Weather Observation Station 2
📝 質問する
Query the following two values from the
STATION
table:2
decimal places. 2
decimal places. Input Format
The STATION
table is described as follows:
where LAT_N is the northern latitude and LONG_W is the western longitude.
Sample Input

Output Format
Your results must be in the form:lat lon
where lat
is the sum of all values in LAT_N and lon
is the sum of all values in LONG_W. Both results must be rounded to a scale of 2
decimal places.💻 に答える
SELECT
ROUND(SUM(LAT_N), 2) AS lat,
ROUND(SUM(LONG_W), 2) AS lon
FROM STATION;
Reference
この問題について([SQL] Weather Observation Station 2), 我々は、より多くの情報をここで見つけました https://velog.io/@revudn46/Weather-Observation-Station-2テキストは自由に共有またはコピーできます。ただし、このドキュメントのURLは参考URLとして残しておいてください。
Collection and Share based on the CC Protocol