I want to get first day of every corresponding month of current year. For example, if user selects \'2010-06-15\', query demands to run from \'2010-06-01\' instead of \'2010
date_add(subdate(curdate(), interval day(?) day), interval 1 day)
change the ? for the corresponding date