Select year,month,count(1) as Project_count,sum(ocount) as Object_count from (
SELECT distinct B.PROJECTNAME,TO_CHAR(B.LASTUPDDTTM ,'yyyy' ) as year,
TO_CHAR(B.LASTUPDDTTM ,'mm' ) as month,
count(1) over (Partition by B.PROJECTNAME) as oCount
FROM PSPROJECTITEM A,
PSPROJECTDEFN B
WHERE ( A.PROJECTNAME = B.PROJECTNAME )
and B.LASTUPDDTTM >sysdate-365)
group by year,month order by year,month

Views: 78

Reply to This

Replies to This Discussion

Worth Giving it a try !

it's a pleasure to meet you. I am USA Army personnel, i have an important thing to discus with you.
Please write me on my email (captkristen899@gmail.com)

RSS

PeopleSoft Jobs in US

Videos

  • Add Videos
  • View All

© 2024   Created by Maisam Agha.   Powered by

Badges  |  Report an Issue  |  Terms of Service