最佳答案
select id,join_date
from tab
where month(join_date) in (11,12) and year(join_date)=2015
试试这个
关于mysql - 仅将时间戳字段与年份和月份进行比较,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34487681/
最佳答案
select id,join_date
from tab
where month(join_date) in (11,12) and year(join_date)=2015
试试这个
关于mysql - 仅将时间戳字段与年份和月份进行比较,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34487681/