range + query