1

I have to display the results of the below query as columns.

select to_char(sysdate + 1 - rownum,'MON-YYYY') as d
from all_objects 
where trunc(sysdate + 1 - rownum,'MM') >= trunc(to_date(:from_date,'MON-YYYY'),'MM')
minus
select to_char(sysdate + 1 - rownum,'MON-YYYY') as d
from all_objects 
where trunc(sysdate + 1 - rownum,'MM') > trunc(to_date(':to_date','MON-YYYY'),'MM')

Please help me in figuring that out.

1 Answer 1

3

See http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:766825833740

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.