CREATE TABLE HOTELS (price_range NUMBER, star_rating_code VARCHAR2, pets_allowed_yn VARCHAR2)

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 "5" = "star_rating_code" AND "pets_allowed_yn" = 1