1SELECT IFNULL(Price, 0) FROM Products;
2SELECT COALESCE(Price, 0) FROM Products;
3-- Oracle (extra):
4SELECT NVL(Price, 0) FROM Products;
1CASE WHEN ColumnName IS NULL THEN 'anyText'
2ELSE ColumnName END
3---------EXAMPLE --------------------------
4SELECT E.Name as Employee, CASE WHEN M.Name IS NULL THEN 'No Manager'
5 ELSE M.Name END as Manager
6FROM tblEmployee E
7LEFT JOIN tblEmployee M
8ON E.ManagerID = M.EmployeeID
1--See records where specific column is NULL
2SELECT * from table1 WHERE column1 ISNULL
3
4--Update all the NULL values in the selected column
5UPDATE table1 SET column1 = replace_value WHERE column1 ISNULL