SW 프로그래밍/Mariadb
Mariadb NULL , NOT NULL
N2info
2020. 9. 26. 02:47
전부 선택
select rdate, tot, g1, g1, g3, g4, g5, g6, g7, g8 dtype from `cc_3f_test`
NULL 이 아닌것 선택
select rdate, tot, g1, g1, g3, g4, g5, g6, g7, g8 dtype from `cc_3f_test` where tot is not null
NULL 인것 선택
select rdate, tot, g1, g1, g3, g4, g5, g6, g7, g8 dtype from `cc_3f_test` where tot is null