def get_char_stats(self, col_name):
        q = """
            select %s as GRP, min(%s), max(%s), count(*)
            FROM %s
            %s