range query 6