SELECT avg(price_range) FROM HOTELS WHERE star_rating_code  =  "5" AND pets_allowed_yn  =  1
Show the average price range of hotels that have 5 star ratings and 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
Show the average price range of hotels that have 5 star ratings and allow pets .