Check out example codes for "TSQL IFNULL". It will help you in understanding the concepts better.

Code Example 1

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

FROM Products;

Learn ReactJs, React Native from akashmittal.com