标签:pos rom sele to_date sel where lin now() res
select * from task where to_date(deadline, ‘yyyymm‘)<to_date(‘201909‘, ‘yyyymmdd‘)//查询指定月份之前
select * from task where to_date(deadline, ‘yyyymmdd‘)<now() //查询当前日期之前
标签:pos rom sele to_date sel where lin now() res
原文地址:https://www.cnblogs.com/cjb1/p/11582689.html