Need to display only the records which are created after the expiry of the previous request id.
https://i.stack.imgur.com/jUm97.png
I/P -
REQUEST_ID CREATED_DATE EXPIRY_DATE
1 2020-06-02 2020-06-06
2 2020-06-04 2020-06-10
3 2020-06-08 2020-06-12
4 2020-06-09 2020-06-16
5 2020-06-09 2020-06-15
6 2020-06-18 2020-06-20
7 2020-06-21 2020-06-25
O/P -
REQUEST_ID CREATED_DATE EXPIRY_DATE
1 2020-06-02 2020-06-06
3 2020-06-08 2020-06-12
6 2020-06-18 2020-06-20
7 2020-06-21 2020-06-25