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

Code Example 1

Coalesce

Code Example 2

SELECT 
  COALESCE(NULL, NULL, NULL, 'W3Schools.com', NULL, 'Example.com');

Learn ReactJs, React Native from akashmittal.com