Others/데이터베이스

# fullstack/database/p240610/quiz-240610.sql# DB 선택use employees;[문제 1] 공백이 있는 부서명 조회공백을 찾아주는 instr () 함수 사용 !select dept_name, instr(dept_name, ' ')from departments; 사진처럼 0이 나왔다는 건 공백이 없다는 뜻 ! 근데 공백이 없는 것을 찾고 싶으니까 조건을 주면 된다 !select dept_name, instr(dept_name, ' ')from departmentswhere instr(dept_name, ' ') > 0; 9, 6, 8 은 공백의 위치를 반환한 것 ! 근데 그냥 where 절에 컬럼이 오는 것과 함수를 사용하는 것을 생각을 해야되는데시간이 걸릴 수 있기 ..
https://velog.io/@kwontae1313/%EC%98%B5%ED%8B%B0%EB%A7%88%EC%9D%B4%EC%A0%80
https://dev.mysql.com/  MySQL :: Developer Zone"The Documents contained within this site may include statements about Oracle's product development plans. Many factors can materially affect Oracle's product development plans and the nature and timing of future product releases. Accordingly, this Informadev.mysql.com 최신 버전 말고 8.0 쓸 것 ! 다른 버전은 Archives 탭에서 사용   MySQL 기본 포트 3306기본적으로 root 사용자가 있는데 비..
https://velog.io/@99mon/Mysql-CSV-%ED%8C%8C%EC%9D%BC-%EB%84%A3%EA%B8%B0
print(blue)