set in column the null value to zero mysql code example Example: null column as zero in mysql COALESCE(null_column, 0)