SELECT Id FROM new_searchtable where town = 'Groton' and state='NH' and (type = 'R' or type ='O') AND list_price BETWEEN '250000' AND '500000' ORDER BY list_price Desc Groton NH Homes page 0