日期:2014-05-16 浏览次数:20705 次
WHERE YEAR(djsj)<>YEAR(CURRENT_DATE()) ------解决方案--------------------select * from 一张表 where djsj not between '2012-01-01' and '2012-12-31'; ------解决方案--------------------SELECT * FROM tbWHERE YEAR(djsj)='2012';