MySQL 또는 MariaDB 를 사용하여 컬럼에 unqiue 제약 조건을 걸었더니 대소문자를 구별하지 않는 것을 새로 알게 되었고 그 이유에 대해서 알아보았다. 즉, AAA 와 aaa 와 동일하게 취급하여 유니크 제약 조건으로 인해 둘 중 하나의 insert가 안되는 것이다. unquie 제약 조건을 추가하는 DDL 명령어는 아래와 같다. AL...
ec2 기본 설정 1. 키 파일의 접근권한 변경 $ chmod 400 ~/Desktop/AWSkey/keyfile.pem 2. 맥 터미널을 이용한 접속 $ ssh -i ~/Desktop/AWSkey/keyfile.pem ec2-user@[서버 아이피 또는 도메인]<br> 3. ec2 시간대 변경 1) 기본 시간대 설정은 UTC로 설...
Outer Join Inner Join이 Join조건에 부합하는 행만 Join이 발생하는 것이라면, Outer Join은 조건에 부합하지 않는 행까지도 포함시켜 결합하는 것을 의미한다.(합집합의 영역) 자주는 아니지만, 가끔 유용하게 사용될 수 있으므로 꼭 알아둘 필요는 있다. Outer Join 구조 SELECT <열 목록> ...
[클린코드] Chapter17-냄새와 휴리스틱
-