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
use date_format method and check just month & year
select * from table_name where date_format(date_column, "%Y-%m")="2010-06"