Hi Nitin,
I didn't clearly understand. Should I need to put the join condition or not. could you specify more on it. Thank you so much.
I want txn_dt which is between sysdate-7 and sysdate -1, everytime I run it on Sunday, so that it will grab data for one week, and so that I don't have to keep on putting new dates every week I run the query.
Thank you again.