--
select to_char(a.effective_date, 'DD'), sum(a.entered_cr)
from gl_je_lines a
group by to_char(a.effective_date, 'DD');
--
select to_char(a.effective_date, 'MM'), sum(a.entered_cr)
from gl_je_lines a
group by to_char(a.effective_date, 'MM');
--

select to_char(a.effective_date, 'YYYY'), sum(a.entered_cr)
from gl_je_lines a
group by to_char(a.effective_date, 'YYYY');

--

select to_char(a.effective_date, 'iw'), sum(a.entered_cr)
from gl_je_lines a
group by to_char(a.effective_date, 'iw');
--季度
select to_char(a.effective_date, 'q'), sum(a.entered_cr)
from gl_je_lines a
group by to_char(a.effective_date, 'q');

 

相关文章:

  • 2021-06-27
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-04
  • 2022-12-23
  • 2021-12-24
猜你喜欢
  • 2021-06-04
  • 2022-12-23
  • 2022-12-23
  • 2021-05-20
  • 2021-06-27
  • 2022-12-23
  • 2021-08-12
相关资源
相似解决方案