1. A method, comprising: processing at least one query using a wavelet transformation to produce a transformed query; and performing a range-sum query on a database using the transformed query to produce a result.