Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- 알고리즘
- Spring Web MVC
- 싱글톤패턴
- java
- 투포인터알고리즘
- 구간합구하기
- 재귀와반복문
- MySQL
- 성능테스트툴
- 클라우드에서 도커 실행하기
- 백준
- String.valueOf()
- 재귀함수
- vm인스턴스생성
- 코드스테이츠 백엔드
- 코드스테이츠
- 프로그래머스
- List.of
- 코딩테스트
- GCP
- 자바
- 11659
- 스택
- 버블정렬
- OOP
- Array.asList
- Spring MVC 구성요소
- Spring MVC 동작원리
- 인텔리제이
- 백준 11659
Archives
- Today
- Total
순간을 기록으로
[LeetCode] Big Countries | MySQL 본문
문제
- name, population, and area of the big countires --> select name, population, area
- area은 적어도 3백만km^2이다. --> area > 3000000
-또는 --> or
- population은 적어도 2천5백만이다. --> population > 25000000
풀이
select name, population, area
from world
where area >= 3000000 or population >= 25000000;
출처: https://leetcode.com/problems/big-countries/
Big Countries - LeetCode
Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview.
leetcode.com
'Problem Solving' 카테고리의 다른 글
[HakerRank] 2D Array - DS | 모래시계 모양으로 배열 탐색 (0) | 2022.04.12 |
---|---|
[HackerRank] Arrays - DS | 리스트 역순으로 만들기 (0) | 2022.04.12 |
[MySQL] 보호소에서 중성화한 동물 | JOIN (0) | 2022.04.07 |
[MySQL] 있었는데요 없었습니다 | 날짜형 데이터 크기 비교 (0) | 2022.04.06 |
[MySQL] DATETIME에서 DATE로 형 변환 | DATE_FORMAT() (0) | 2022.04.06 |
Comments