[php] [Mysql] ifnull

페이지 정보

profile_image
작성자 로빈아빠
댓글 0건 조회 6,475회 작성일 09-12-11 12:59

본문

[Mysql] ifnull

필드값이 NULL일 경우 에러가 발생하면 특정값으로 대체한다.
select ifnull(max(rank),-1) from table
select ifnull(name,'MintSate') form table

댓글목록

등록된 댓글이 없습니다.