sql (3) 썸네일형 리스트형 [SQL] where 절 작성시 조심해야하는 것 (feat. null) 1. = != 은 null을 포함하지 않는다. (does not contain null) 아래 예시처럼 where 절은 null을 포함하지 않는다. null을 포함하고 싶으면 NVL로 처리를 한번 하거나 or 절로 처리해주어야 한다. test Table ================== a | b | c ================== 1 | ㄱ | A 2 | null | B 3 | ㄷ | B 4 | ㄹ | null 5 | null | A 6 | null | B select * from test where b != 'ㄱ'; result ================== a | b | c ================== 3 | ㄷ | B 4 | ㄹ | null https://gent.tistory.co.. [SQL] Pushing http://wiki.gurubee.net/pages/viewpage.action?pageId=6259630 4. 조건절 Pushing - [종료]대용량 데이터베이스 스터디 - 개발자, DBA가 함께 만들어가는 구루비 지 Added by 이창헌, last edited by 이창헌 on 10월 10, 2010 조건절 Pushing 뷰를 액세스하는 쿼리를 최적화할 때 옵티마이져는 1차적으로 뷰 Merging을 고려한다. 하지만 아래와 같은 이유로 뷰 Merging에 실패할 wiki.gurubee.net Sequelize 참고 사이트 https://sequelize.org/master/index.html Manual | Sequelize Constraints & Circularities Adding constraints between tables means that tables must be created in the database in a certain order, when using sequelize.sync. If Task has a reference to User, the User table must be created before the Task table can be crea sequelize.org https://velog.io/@cadenzah/sequelize-document-4 Sequelize 공식 Documen.. 이전 1 다음