[Mysql] ifnull
필드값이 NULL일 경우 에러가 발생하면 특정값으로 대체한다.
select ifnull(max(rank),-1) from table
select ifnull(name,'MintSate') form table
A space we build together
Community
Explore
Travel
MintState November 3, 2008 at 11:15 AM Views 20872
Translated by your browser's built-in AI. It may be wrong, so check the original for anything important. The text never leaves this device.
[Mysql] ifnull
필드값이 NULL일 경우 에러가 발생하면 특정값으로 대체한다.
select ifnull(max(rank),-1) from table
select ifnull(name,'MintSate') form table
Be the first to comment.