Approximate Range Queries by Histograms in OLAP