Removing 2 years from date in where clause
I have a table that has a date and I want to select all the rows where the date is between the current date and 2 years back.
What is the cleanest way to do it?
I have the this so far
select TO_DATE(CURRENT_DATE, 'DD-MON-YYYY') from dual
Thank you