SELECT Id FROM new_searchtable where (town = 'Cornish' and state='NH' or town = 'Eastman' and state='NH' or town = 'Enfield' and state='NH' or town = 'Hanover' and state='NH' or town = 'Lebanon' and state='NH' or town = 'Lyme' and state='NH' or town = 'Plainfield' and state='NH' ) and type ='T' and wf_owned = 'Owned' and wf_owned = 'Owned' AND list_price BETWEEN '0' AND '30000000' ORDER BY list_price Desc