MySQL fill NULL row with value based on the nearest value in another row
I'm trying to update rows in a scores table based on the following logic: Get the feat_sum for ids that don't have a score. For each feat_sum that has a NULL score, get the row with the nearest feat_sum and…