반응형
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
- Navigation
- array
- JSX
- queue
- MySQL
- Context
- axios
- DP
- state
- server
- route
- leetcode
- bit
- count
- node.js
- event
- UE5
- nodeJS
- 비트연산
- priority_queue
- map
- Props
- Callback
- React
- BinaryTree
- component
- c++
- routes
- treenode
- css
Archives
- Today
- Total
우사미 코딩
[MySQL] 홀수, 짝수 조건 설정하기 (ft. Mod연산) 본문
반응형
Weather Observation Station 3
Query a list of CITY names from STATION for cities that have an even ID number. Print the results in any order, but exclude duplicates from the answer.
SELECT CITY
FROM STATION
WHERE MOD(ID, 2) = 0
GROUP BY CITY;
반응형
'MySQL' 카테고리의 다른 글
[MySQL] 문자열 일치 조건 SUBSTRING (0) | 2024.01.04 |
---|---|
[MySQL] 중복값 계산 (COUNT, DISTINCT) (0) | 2024.01.03 |
[MySQL] A에는 있지만 B에는 없는 데이터 + COUNT (0) | 2023.09.19 |
[MySQL] LEFT JOIN (0) | 2023.09.19 |
Comments