SELECT * FROM warning_form wf
where wf.start_time between trunc(sysdate,'mm') and sysdate
;

 

start_time 为oracle的date类型;oracle系统时间sysdate也为date类型;

 

此处查询start_time 介于当月初至当前时间之间的数据;

 

相关文章:

  • 2021-12-30
  • 2022-12-23
  • 2022-12-23
  • 2022-01-26
  • 2022-12-23
  • 2021-08-24
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-09-03
  • 2022-12-23
  • 2021-07-26
  • 2022-02-08
  • 2021-10-17
相关资源
相似解决方案