mysql where month number equel a date month code example Example: month mysql SELECT MONTH("2017-06-15");