Wavelet-based histograms for selectivity estimation | Synapse