일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- 파이썬
- sort
- Heap
- DeepLearning
- kakao
- MySQL
- hash
- PPMI
- algorithm
- FullyConnectedLayer
- 프로그래머스
- 자연어처리
- Word2vec
- Stack
- select
- Programmers
- backward
- Sigmoid
- que
- dl
- SQL
- skip-gram
- affine
- boj
- Numpy
- Python
- 딥러닝
- 신경망
- CBOW
- stak
Archives
- Today
- Total
혜온의 이것저것
[HackerRank] Revising Aggregations- The Count Function (MySQL) 본문
Data Analysis/SQL
[HackerRank] Revising Aggregations- The Count Function (MySQL)
혜온 :) 2022. 8. 12. 14:23Revising Aggregations - The Count Function | HackerRank
Query the number of cities having populations larger than 100000.
www.hackerrank.com
문제
Query a count of the number of cities in CITY having a Population larger than .
Input Format
The CITY table is described as follows:
![](https://blog.kakaocdn.net/dn/bVWWhg/btrJwZxakoE/MJPJNFZ0RSUDmEPCIzni1K/img.jpg)
풀이
select count(id)
from city
where population>100000
'Data Analysis > SQL' 카테고리의 다른 글
[HackerRank] Revising Aggregations- Averages (MySQL) (0) | 2022.08.12 |
---|---|
[HackerRank] Revising Aggregations- The Sum Function (MySQL) (0) | 2022.08.12 |
[HackerRank] New Companies (MySQL) (0) | 2022.08.11 |
[HackerRank] Binary Tree Nodes (MySQL) (0) | 2022.08.11 |
[HackerRank] Occupations (MySQL) (0) | 2022.08.11 |
Comments