Mysql – Update end date of current record with today's date and and update start_date of new record with today's date
Current record: When I update the value of current record's activity_weightage as 2 it should pick up start_date as current_date and end_date as 31/12/2099. and it should update the original record's end date with today's date. How to write SQL…