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
- assertequals
- 부적합한열
- HTML
- Java
- springboot
- JDBC
- SQL
- git revase
- content-box
- oracle
- CRUD
- Spring
- localStorage
- MVC
- WHEREIN
- JavaScript
- git reset
- Thymeleaf
- passwordencoder
- ResultType
- react
- BCryptPasswordEncoder
- 이딴게개발자
- useContext
- 배열
- Variabla
- mybatis
- git
- PathVariable
- git amend
Archives
- Today
- Total
목록WHEREIN (1)
개발새발

옆자리 어텀이랑 열심히 문제를 풀고있는데, 뒤에서 다가온 숭쩝 언니가 이걸 왜 이렇게 쓰냐고 물어봤다. 전혀 이상할 것 없다고 생각한 우리의 코드는... SELECT student_name FROM tb_student WHERE student_no = 'A513079' OR student_no = 'A513090' OR student_no = 'A513091' OR student_no = 'A513110' OR student_no = 'A513119' ORDER BY student_name DESC; ㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋ;;;;; 쓰면서도 좀 힘들다고 생각하긴 했다... 하지만 잘 돌아가는데 왜? 하던 찰나... 숭쩝 언니가 WHERE IN을 알려줬다 SELECT student_name AS where..
SQL
2023. 10. 18. 01:41