In the sales table I have a field called end_date (date type),
I want to display the result if the end_date is current month.
also If the end_date is future date then dispay the result if end_date is 1 month before current month.
How to get that to work in SQL query?
For example like that: