본문 바로가기

분류 전체보기

(158)
220817 CASE WHEN ... THEN ... (ELSE ...) END ... SELECT de.dept_no, e.first_name, e.gender, (SELECT s.salary FROM salaries s WHERE s.emp_no = e.emp_no ORDER BY from_date DESC LIMIT 1) AS last_salary FROM dept_emp de, employees e WHERE e.emp_no = de.emp_no AND de.dept_no = 'd001'; -- 조건 추가 : 성별 F인 경우에만 last_salary 출력 (M일 경우, 0) SELECT de.dept_no, e.first_name, e.gender, CASE WHEN e.gender = 'F' THEN (SE..
오류 발생 : Module not found: Error: Can't resolve 'zlib' in 리액트 배우는 중.. onChange 함수 부분 강의를 듣다가 위와 같은 오류가 발생 > import e from "express"
Prettier 태그 분리 vscode에서 prettier 설정 이후, 태그가 긴 경우 안의 모든 속성들이 분리되는 현상 1. 설정 확인 Quote Props의 설정을 consistent로 변경 > 해결X 2. (참고) Print Width 수정 80 > 180 등으로 수정 > 해결
ERwin 스키마 생성 Column > Physical Order 체크 해제 > Preview... 클릭하면 스키마 생성 완료
PowerShell - gm 사용. Select-Object로 사용한 값이 이상한 것 같을 때 > Get-Entity -Collection users 위의 결과 중 Type이 user인 것만 추출하고 싶다면 > Get-Entity -Collection users -Type user 위의 결과 중 Name, Type의 값만 가져오고 싶을 때 > Get-Entity -Collection users -Type user | Select-Object name,type type의 경우 값이 나오지 않고 있음 > Select-Object에서 type이 아닌 다른 이름으로 검색해야 함 > 그 이름을 알아내기 위해 gm 사용 > Get-Entity -Collection users -Type user | gm type이 아닌 _type으로 검색해야 함을 파악 > Get-Entity -Collection users ..
git pull 에러 : cannot open git-upload-pack 1. 방법1 1) Window > Preferences 2) Team > Git > Configuration 3) Add Entry... 4) Key : http.sslVerify / Value : false 5) 결과 : 실패... 2. 방법2 검색어 : org.eclipse.jgit.api.errors.transportexception ...? gitlab 접속도 안되고 있는 걸 보니 gitlab 문제인 듯 함.
추가 필요 / autocomplete off not working 비밀번호를 입력하는 곳에서 자동완성이 되는 문제 발생 1. autocomplete = "off" > 실패 2. autocomplete = "nope" > 실패 2. autocomplete = "new-password" > 자동입력은 안 됨. 다만 비밀번호를 저장해놓은 쿠키가 있을 때 해당 input창을 클릭만 해도 비밀번호들이 드랍다운으로 주르륵 뜸. 이건... 더 찾아보기. 참고 : stackoverflow.com/questions/12374442/chrome-ignores-autocomplete-off
공공데이터 포털 api 사용 - 한글 깨짐 공공데이터 포털 api 사용할 때 한글 깨짐 참고 BufferedReader rd; if(conn.getResponseCode() >= 200 && conn.getResponseCode()