I need to change the status column depending on other two columns which are dates.
| id | start | end | status |
| 1 | 2020-04-23 | 2020-04-28 | inprogress| -->current date is > than start date and < than end date
| 2 | 2020-02-20 | 2020-02-25 | ended | -->current date is > than end date
| 3 | 2020-05-15 | 2020-05-20 | upcoming | -->current date is < than start date
So as you can see we can have 3 types of STATUS to be set, INPROGRESS, ENDED, UPCOMING Is there a way to set these statuses based on the START and END columns? If this cannot be done, can you suggest a way to implement such thing in the application?