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 |
Tags
- 자바
- string
- Class
- hash table
- 파이썬
- database
- java
- dynamic programming
- Binary Search
- 코딩테스트
- geometry
- Binary Tree
- simulation
- 구현
- SQL
- implement
- bit manipulation
- sorting
- 코테
- Counting
- two pointers
- Method
- greedy
- Stack
- Number Theory
- Data Structure
- array
- Tree
- Matrix
- Math
Archives
- Today
- Total
코린이의 소소한 공부노트
[LeetCode/Easy] 595. Big Countries 본문
1. Input
1) Table: World (primary key: name)
2. Output
1) 대도시로 정할 수 있는 곳의 이름, 인구 수, 넓이를 차례대로 담은 결과 반환
- 대도시가 되려면 넓이가 300만km^2 이상이거나 인구수가 2500만 이상이어야 한다.
- 출력 순서는 상관 없다.
3. Example
4. Code
1) 첫 코드(2023/03/16)
select name, population, area from World where area>=3000000 or population>=25000000;
'코딩테스트 풀이 > SQL' 카테고리의 다른 글
[LeetCode/Easy] 607. Sales Person (0) | 2023.03.16 |
---|---|
[LeetCode/Easy] 596. Classes More Than 5 Students (0) | 2023.03.16 |
[LeetCode/Easy] 584. Find Customer Referee (0) | 2023.03.16 |
[LeetCode/Easy] 183. Customers Who Never Order (0) | 2023.03.14 |
[LeetCode/Easy] 182. Duplicate Emails (0) | 2023.03.14 |