Let's say I have a table that consists of just employee name and the date he/she started. I want to delete all records in the table that are less than the last year's current date, but not delete the end dates for the given months in the past two years of the current date.

For example - if the current date was '29-SEP-2020'

```
Emp     Date-Started
---     ------------
John    01-SEP-2020
Jane    29-SEP-2019
Adam    28-SEP-2019
Lauren  30-SEP-2019
Caleb   30-SEP-2018
Melanie 27-SEP-2018
Isaac   30-SEP-2017

```

The expected records to be deleted from my statement should be

```
Adam    28-SEP-2019
Melanie 27-SEP-2018
Isaac   30-SEP-2017

```

Again, please note that 30-SEP-2019 and 30-SEP-2018 won't be deleted because they are still the end dates in the range for the last two years of 2020 of September. 30-SEP-2017 records will be deleted because it is outside that range. For all of the daily dates, those records will be deleted from the last year's current date.