사이트 내 전체검색
[php] [Mysql] ifnull
로빈아빠
https://cmd.kr/server/1068 URL이 복사되었습니다.

본문

[Mysql] ifnull

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

댓글목록

등록된 댓글이 없습니다.

1,139 (9/23P)

Search

Copyright © Cmd 명령어 3.17.165.168