SELECT avg(price_range) FROM HOTELS WHERE star_rating_code  =  "5" AND pets_allowed_yn  =  1
What is the average price range of five star hotels that allow pets?
SELECT avg ( price_range ) FROM HOTELS WHERE star_rating_code = `` 5 '' AND pets_allowed_yn = 1
select avg ( price_range ) from hotels where star_rating_code = value and pets_allowed_yn = value
What is the average price range of five star hotels that allow pets ?