select distinct(dateColumn) from table where trunc(to_char(to_date('2005-8-1','yyyy-mm-dd'),'yyyymm')-to_char(dateColumn,'yyyymm'))=0

select distinct(dateColumn) from table where trunc(to_char(to_date('2005-8-1','yyyy-mm-dd'),'yyyy')-to_char(dateColumn,'yyyy'))=0

相关文章:

  • 2021-11-20
  • 2021-10-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-09-09
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-20
相关资源
相似解决方案