Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Rolling past 12 Months in SQL

woof777Aug 2 2012 — edited Aug 2 2012
Hi Forum

I've got a month field with values such as 'Jan-10', 'Jul-10' etc.

I only want to chart the last 12 months of data, & I've tried using "MAX' on the month field but it selects September as it's the highest in the Alphabet.

I need it to select the latest month in chronoligical order & also chart the previous 12 months from there.

Any suggests?

Thanks
This post has been answered by Scott Wesley on Aug 2 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 30 2012
Added on Aug 2 2012
6 comments
3,458 views