伊谢尔伦2017-04-17 16:52:28
select * from table WHERE date_format(date,'%Y-%m') = '2017-3'
If you need to add the year in front, you can use the database function date_format
For the format, please refer to this article
http://blog.csdn.net/kangbrot...