MySQL snippet to select data between first day of the current month and current date.
When you make a Left Join or make a UNION query the DBMS will put NULL where their is no match in the set. This tutorial is aimed to discuss the options by which NULL can be substituted with 0 in MySQL DBMS.