does histogram with sqlite