I need to make some real time updates on database without user interactions. I have columns as below
- ID
- Flight_Departure_Time
- Flight_Arrival_Time
- Status
User previously updates database as they can update Flight_Departure_Time & Flight_Arrival_Time . Now If arrival_time matches with current time it should automatically update status = Arrived at destination
How can I achieve this using mySQL?