Knowledge in SQL IFNULL()

SQL IFNULL(), ISNULL(), COALESCE(), and NVL() Functions

SQL IFNULL(),ISNULL(), COALESCE(), and NVL() Functions Suppose that the "UnitsOnOrder" column is optional, and may contain NULL values. Look at the following SELECT statement: SELECT ProductName, UnitPrice * (UnitsInStock + UnitsOnOrder) FROM Products; In the example above, if any of the "UnitsOnOrder" values are NULL, the result will be NULL. ________________________________________