* IFNULL(필드, 표현)
select id, ifnull(read_count, 0) from board
'프로그램 경험 > Database' 카테고리의 다른 글
[SqlServer] 날짜 함수 (0) | 2012.08.08 |
---|---|
[MySql] delete (0) | 2012.03.29 |
[MySql] 비밀번호 초기화 (0) | 2011.10.04 |
[Oracle] DB LINK (0) | 2011.07.07 |
[Oracle] 임시 테이블 생성 (0) | 2011.07.05 |