Check out example codes for "how return o instead null in sql". It will help you in understanding the concepts better.

Code Example 1

SELECT ProductName, UnitPrice * (UnitsInStock + ISNULL(UnitsOnOrder, 0))

FROM Products;

Learn ReactJs, React Native from akashmittal.com