So i have a table
id message
01 started
01 finished
i want to created a row
01 finished
but the difference is that some rows with "started" do not have a corresponding "finished".
So based on this condition the message should be filled with "finished" or "failed"
How do i do this?
Regards