I’m new to Oracle 11g & I have a question about a query.
I have a table dummy which has created_date column of type Date.
I want a query which will return all the records where created_date + 7 days is less than today’s date.
What type of query in Oracle 11g accomplishes this?
Oracle lets you use
+for date arithmetic, sowill find rows between exactly now and exactly now plus 7 days.
If you don’t want to include the time component, you can use the
trunc()function