File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 545428 . Разница в плотности населения - [ Population Density Difference] ( ./tasks/28.md )
555529 . Ошибка - [ The Blunder] ( ./tasks/29.md )
565630 . Лучшие заработки - [ Top Earners] ( ./tasks/30.md )
57+ 31 . Проверка агрегатов — функция подсчета - [ Revising Aggregations - The Count Function] ( ./tasks/31.md )
5758
5859
5960## В процессе... , будет дополнено)
Original file line number Diff line number Diff line change 33<img src =" ./art/31.png " alt =" solution " >
44
55#### eng:
6-
6+ Query a count of the number of cities in CITY having a Population larger than 100000
77
88
99#### рус:
10-
10+ Запрос количества городов в CITY с населением более 100000 человек
1111
1212
1313#### код с коментариями:
1414``` sql
15-
15+ SELECT /* выбрать данные */
16+ COUNT (POPULATION) /* столбец подсчета населения */
17+ FROM CITY /* из таблицы */
18+ WHERE POPULATION > 100000 ; /* где условие */
1619```
1720
1821#### код для hackerrank:
1922``` sql
20-
23+ SELECT
24+ COUNT (POPULATION)
25+ FROM CITY
26+ WHERE POPULATION > 100000 ;
2127```
2228
2329
Original file line number Diff line number Diff line change 1+ SELECT
2+ COUNT (POPULATION)
3+ FROM CITY
4+ WHERE POPULATION > 100000 ;
You can’t perform that action at this time.
0 commit comments