IFNULL(count,0) as count
select IFNULL(count,0) as count from table_name
可以设置当某个字段为空的时候默认值。
IFNULL(count,0) as count
select IFNULL(count,0) as count from table_name
可以设置当某个字段为空的时候默认值。
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。