title: MySQL how to get Month and Year with separation like date format
body: <p>I have "datetime" field on my database,
  but what I want is only take YEAR-MONTH e.g ("2012-02")</p>
  
  <p>I've tried using function YEAR_MONTH but the output without "-" which is similar like "201202".</p>
  
  <p>Is there any way I could make that select?</p>