i don't quite understand your question.


i don't quite understand your question. The database provider does not have to modify anything on its side, and just does a normal query between two values. Alice just needs to encrypt the values for her range, and pass the SQL query to Bob.