Skip to Main Content

SQL & PL/SQL

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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Data extraction

Els A6 days ago — edited 6 days ago

I need help in writing query for below scenario, here CD means Calendar Day.

Scenario:

When CD-17, then fetch current month data (CD1 to CD15);

When CD-2, then fetch previous month data (CD16 to Last day).

This post has been answered by Arun Kumar Gupta on Oct 30 2024
Jump to Answer
Comments
Post Details
Added 6 days ago
9 comments
91 views