Tags
- Article & User
- 큐
- drf
- regexp
- Queue
- stack
- delete
- 뷰
- 쟝고
- update
- 통계학
- DB
- outer join
- migrations
- 백트래킹
- N:1
- 이진트리
- create
- distinct
- 스택
- M:N
- SQL
- 트리
- count
- 그리디
- 완전검색
- Django
- ORM
- Vue
- Tree
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Notice
Recent Posts
Link
목록2024/10/02 (1)
데이터 분석 기술 블로그

SolutionSELECT st.student_id, st.student_name, su.subject_name, COUNT(ex.student_id) AS attended_examsFROM Students stCROSS JOIN Subjects suLEFT JOIN Examinations exON st.student_id = ex.student_id AND su.subject_name = ex.subject_nameGROUP BY st.student_id, st.student_name, su.subject_nameORDER BY st.student_id ASC, su.subject_name ASC;1. CROSS JOIN과 LEFT JOIN은 동시에 쓸 수 있다는 것을 몰랐다.2...
SQL/문제풀이
2024. 10. 2. 10:59