일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 29 |
30 | 31 |
Tags
- 백준온라인저지
- airflow architecture
- 빅데이터를 지탱하는 기술
- docker container
- dsf
- SQL
- Pseudo Lab
- Spark
- hackerrank
- 프로그래머스
- 데이터 엔지니어
- telegram
- BOT
- 그리디
- terraform
- leetcode
- Dynamic Programming
- MySQL
- datacamp
- airflow webserver
- docker image
- data_engineer
- Airflow
- delete join
- Data Engineering
- 2023년 목표
- docker
- 알고리즘
- Python
- 백준 온라인 저지
Archives
- Today
- Total
Lim Seunghyun Space
[HackerRank] Weather Observation Station 4 본문
문제 : https://www.hackerrank.com/challenges/weather-observation-station-4/problem?isFullScreen=true
Weather Observation Station 4 | HackerRank
Find the number of duplicate CITY names in STATION.
www.hackerrank.com
문제 해설
- 전체 CITY의 수에서 중복을 제거한 CITY의 수의 차이를 조회
풀이 (MySQL)
SELECT COUNT(CITY) - COUNT(DISTINCT(CITY))
FROM STATION
728x90
'SQL > SQL 문제' 카테고리의 다른 글
[HackerRank] Weather Observation Station 6 (0) | 2021.11.19 |
---|---|
[HackerRank] Weather Observation Station 5 (0) | 2021.11.19 |
[HackerRank] Weather Observation Station 3 (0) | 2021.11.19 |
[HackerRank] Weather Observation Station 1 (0) | 2021.11.19 |
[HackerRank] Japanese Cities' Names (0) | 2021.11.19 |