Answer the question
In order to leave comments, you need to log in
How to write a sql query to replace null with 0?
We need a query that will convert the value of the column to 0 if it is null, but if not, then the value of the column should be returned.
'select price + price2 + price3 as suma from prices'
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question