File tree Expand file tree Collapse file tree 3 files changed +20
-2
lines changed Expand file tree Collapse file tree 3 files changed +20
-2
lines changed Original file line number Diff line number Diff line change 3
3
<img src =" ./art/36.png " alt =" solution " >
4
4
5
5
#### eng:
6
+ Query the greatest value of the Northern Latitudes (LAT_N) from STATION that is less than . Truncate your answer to decimal places.
6
7
8
+ Input Format
9
+
10
+ The STATION table is described as follows:
7
11
8
12
9
13
#### рус:
14
+ Запросите наибольшее значение северных широт (LAT_N) из STATION, которое меньше. Сократите свой ответ до десятичных знаков.
15
+
16
+ Формат ввода
10
17
18
+ Таблица STATION описывается следующим образом:
11
19
12
20
13
21
#### код с коментариями:
14
22
``` sql
15
-
23
+ SELECT /* выбрать данные */
24
+ TRUNCATE(MAX (lat_N),4 ) /* столбец */
25
+ FROM STATION /* из таблицы */
26
+ WHERE LAT_N < 137 .2345 /* где условие */
16
27
```
17
28
18
29
#### код для hackerrank:
19
30
``` sql
20
-
31
+ SELECT
32
+ TRUNCATE(MAX (lat_N),4 )
33
+ FROM STATION
34
+ WHERE LAT_N < 137 .2345
21
35
```
22
36
23
37
Original file line number Diff line number Diff line change
1
+ SELECT
2
+ TRUNCATE(MAX (lat_N),4 )
3
+ FROM STATION
4
+ WHERE LAT_N < 137 .2345
You can’t perform that action at this time.
0 commit comments