I am trying to keep count the hits of similar values (val1,val2) within a specified threshold (± some value). For exact matches I would use UPSERT, but I can\'t figure out