Question: Show the average share count of transactions for different investors.

investors : investor_id (number) , investor_details (text) | lots : lot_id (number) , investor_id (number) , lot_details (text) | ref_transaction_types : transaction_type_code (text) , transaction_type_description (text) | transactions : transaction_id (number) , investor_id (number) , transaction_type_code (text) , date_of_transaction (time) , amount_of_transaction (number) , share_count (text) , other_details (text) | sales : sales_transaction_id (number) , sales_details (text) | purchases : purchase_transaction_id (number) , purchase_details (text) | transactions_lots : transaction_id (number) , lot_id (number)

transactions : investor_id (number) , share_count (text)


Question: Show the average share count of transactions each each investor, ordered by average share count.

investors : investor_id (number) , investor_details (text) | lots : lot_id (number) , investor_id (number) , lot_details (text) | ref_transaction_types : transaction_type_code (text) , transaction_type_description (text) | transactions : transaction_id (number) , investor_id (number) , transaction_type_code (text) , date_of_transaction (time) , amount_of_transaction (number) , share_count (text) , other_details (text) | sales : sales_transaction_id (number) , sales_details (text) | purchases : purchase_transaction_id (number) , purchase_details (text) | transactions_lots : transaction_id (number) , lot_id (number)

transactions : investor_id (number) , share_count (text)


Question: Show the average amount of transactions for different investors.

investors : investor_id (number) , investor_details (text) | lots : lot_id (number) , investor_id (number) , lot_details (text) | ref_transaction_types : transaction_type_code (text) , transaction_type_description (text) | transactions : transaction_id (number) , investor_id (number) , transaction_type_code (text) , date_of_transaction (time) , amount_of_transaction (number) , share_count (text) , other_details (text) | sales : sales_transaction_id (number) , sales_details (text) | purchases : purchase_transaction_id (number) , purchase_details (text) | transactions_lots : transaction_id (number) , lot_id (number)

transactions : investor_id (number) , amount_of_transaction (number)


Question: Show the average amount of transactions for different lots.

investors : investor_id (number) , investor_details (text) | lots : lot_id (number) , investor_id (number) , lot_details (text) | ref_transaction_types : transaction_type_code (text) , transaction_type_description (text) | transactions : transaction_id (number) , investor_id (number) , transaction_type_code (text) , date_of_transaction (time) , amount_of_transaction (number) , share_count (text) , other_details (text) | sales : sales_transaction_id (number) , sales_details (text) | purchases : purchase_transaction_id (number) , purchase_details (text) | transactions_lots : transaction_id (number) , lot_id (number)

transactions_lots : lot_id (number) , transaction_id (number) | transactions : amount_of_transaction (number) , transaction_id (number)


Question: Show the average amount of transactions for different lots, ordered by average amount of transactions.

investors : investor_id (number) , investor_details (text) | lots : lot_id (number) , investor_id (number) , lot_details (text) | ref_transaction_types : transaction_type_code (text) , transaction_type_description (text) | transactions : transaction_id (number) , investor_id (number) , transaction_type_code (text) , date_of_transaction (time) , amount_of_transaction (number) , share_count (text) , other_details (text) | sales : sales_transaction_id (number) , sales_details (text) | purchases : purchase_transaction_id (number) , purchase_details (text) | transactions_lots : transaction_id (number) , lot_id (number)

transactions_lots : lot_id (number) , transaction_id (number) | transactions : amount_of_transaction (number) , transaction_id (number)


Question: Show the number of transactions with transaction type code "SALE" for different investors if it is larger than 0.

investors : investor_id (number) , investor_details (text) | lots : lot_id (number) , investor_id (number) , lot_details (text) | ref_transaction_types : transaction_type_code (text) , transaction_type_description (text) | transactions : transaction_id (number) , investor_id (number) , transaction_type_code (text) , date_of_transaction (time) , amount_of_transaction (number) , share_count (text) , other_details (text) | sales : sales_transaction_id (number) , sales_details (text) | purchases : purchase_transaction_id (number) , purchase_details (text) | transactions_lots : transaction_id (number) , lot_id (number)

transactions : investor_id (number) , transaction_type_code (text) , transaction_id (number)


Question: Show the number of transactions for different investors.

investors : investor_id (number) , investor_details (text) | lots : lot_id (number) , investor_id (number) , lot_details (text) | ref_transaction_types : transaction_type_code (text) , transaction_type_description (text) | transactions : transaction_id (number) , investor_id (number) , transaction_type_code (text) , date_of_transaction (time) , amount_of_transaction (number) , share_count (text) , other_details (text) | sales : sales_transaction_id (number) , sales_details (text) | purchases : purchase_transaction_id (number) , purchase_details (text) | transactions_lots : transaction_id (number) , lot_id (number)

transactions : investor_id (number) , transaction_id (number)


Question: Show the transaction type code that occurs the fewest times.

investors : investor_id (number) , investor_details (text) | lots : lot_id (number) , investor_id (number) , lot_details (text) | ref_transaction_types : transaction_type_code (text) , transaction_type_description (text) | transactions : transaction_id (number) , investor_id (number) , transaction_type_code (text) , date_of_transaction (time) , amount_of_transaction (number) , share_count (text) , other_details (text) | sales : sales_transaction_id (number) , sales_details (text) | purchases : purchase_transaction_id (number) , purchase_details (text) | transactions_lots : transaction_id (number) , lot_id (number)

transactions : transaction_type_code (text) , transaction_id (number)


Question: Show the transaction type code that occurs the most frequently.

investors : investor_id (number) , investor_details (text) | lots : lot_id (number) , investor_id (number) , lot_details (text) | ref_transaction_types : transaction_type_code (text) , transaction_type_description (text) | transactions : transaction_id (number) , investor_id (number) , transaction_type_code (text) , date_of_transaction (time) , amount_of_transaction (number) , share_count (text) , other_details (text) | sales : sales_transaction_id (number) , sales_details (text) | purchases : purchase_transaction_id (number) , purchase_details (text) | transactions_lots : transaction_id (number) , lot_id (number)

transactions : transaction_type_code (text) , transaction_id (number)


Question: Show the description of the transaction type that occurs most frequently.

investors : investor_id (number) , investor_details (text) | lots : lot_id (number) , investor_id (number) , lot_details (text) | ref_transaction_types : transaction_type_code (text) , transaction_type_description (text) | transactions : transaction_id (number) , investor_id (number) , transaction_type_code (text) , date_of_transaction (time) , amount_of_transaction (number) , share_count (text) , other_details (text) | sales : sales_transaction_id (number) , sales_details (text) | purchases : purchase_transaction_id (number) , purchase_details (text) | transactions_lots : transaction_id (number) , lot_id (number)

ref_transaction_types : transaction_type_description (text) , transaction_type_code (text) | transactions : transaction_type_code (text) , transaction_id (number)


Question: Show the id and details of the investor that has the largest number of transactions.

investors : investor_id (number) , investor_details (text) | lots : lot_id (number) , investor_id (number) , lot_details (text) | ref_transaction_types : transaction_type_code (text) , transaction_type_description (text) | transactions : transaction_id (number) , investor_id (number) , transaction_type_code (text) , date_of_transaction (time) , amount_of_transaction (number) , share_count (text) , other_details (text) | sales : sales_transaction_id (number) , sales_details (text) | purchases : purchase_transaction_id (number) , purchase_details (text) | transactions_lots : transaction_id (number) , lot_id (number)

investors : investor_id (number) , investor_details (text) | transactions : investor_id (number) , transaction_id (number)


Question: Show the id and details for the investors who have the top 3 number of transactions.

investors : investor_id (number) , investor_details (text) | lots : lot_id (number) , investor_id (number) , lot_details (text) | ref_transaction_types : transaction_type_code (text) , transaction_type_description (text) | transactions : transaction_id (number) , investor_id (number) , transaction_type_code (text) , date_of_transaction (time) , amount_of_transaction (number) , share_count (text) , other_details (text) | sales : sales_transaction_id (number) , sales_details (text) | purchases : purchase_transaction_id (number) , purchase_details (text) | transactions_lots : transaction_id (number) , lot_id (number)

investors : investor_id (number) , investor_details (text) | transactions : investor_id (number) , transaction_id (number)


Question: Show the ids of the investors who have at least two transactions.

investors : investor_id (number) , investor_details (text) | lots : lot_id (number) , investor_id (number) , lot_details (text) | ref_transaction_types : transaction_type_code (text) , transaction_type_description (text) | transactions : transaction_id (number) , investor_id (number) , transaction_type_code (text) , date_of_transaction (time) , amount_of_transaction (number) , share_count (text) , other_details (text) | sales : sales_transaction_id (number) , sales_details (text) | purchases : purchase_transaction_id (number) , purchase_details (text) | transactions_lots : transaction_id (number) , lot_id (number)

investors : investor_id (number) | transactions : investor_id (number) , transaction_id (number)


Question: Show the ids and details of the investors who have at least two transactions with type code "SALE".

investors : investor_id (number) , investor_details (text) | lots : lot_id (number) , investor_id (number) , lot_details (text) | ref_transaction_types : transaction_type_code (text) , transaction_type_description (text) | transactions : transaction_id (number) , investor_id (number) , transaction_type_code (text) , date_of_transaction (time) , amount_of_transaction (number) , share_count (text) , other_details (text) | sales : sales_transaction_id (number) , sales_details (text) | purchases : purchase_transaction_id (number) , purchase_details (text) | transactions_lots : transaction_id (number) , lot_id (number)

investors : investor_id (number) , investor_details (text) | transactions : investor_id (number) , transaction_type_code (text) , transaction_id (number)


Question: What are the dates of transactions with at least 100 share count or amount bigger than 100?

investors : investor_id (number) , investor_details (text) | lots : lot_id (number) , investor_id (number) , lot_details (text) | ref_transaction_types : transaction_type_code (text) , transaction_type_description (text) | transactions : transaction_id (number) , investor_id (number) , transaction_type_code (text) , date_of_transaction (time) , amount_of_transaction (number) , share_count (text) , other_details (text) | sales : sales_transaction_id (number) , sales_details (text) | purchases : purchase_transaction_id (number) , purchase_details (text) | transactions_lots : transaction_id (number) , lot_id (number)

transactions : date_of_transaction (time) , share_count (text) , amount_of_transaction (number)


Question: What are the details of all sales and purchases?

investors : investor_id (number) , investor_details (text) | lots : lot_id (number) , investor_id (number) , lot_details (text) | ref_transaction_types : transaction_type_code (text) , transaction_type_description (text) | transactions : transaction_id (number) , investor_id (number) , transaction_type_code (text) , date_of_transaction (time) , amount_of_transaction (number) , share_count (text) , other_details (text) | sales : sales_transaction_id (number) , sales_details (text) | purchases : purchase_transaction_id (number) , purchase_details (text) | transactions_lots : transaction_id (number) , lot_id (number)

sales : sales_details (text) | purchases : purchase_details (text)


Question: What are the details of the lots which are not used in any transactions?

investors : investor_id (number) , investor_details (text) | lots : lot_id (number) , investor_id (number) , lot_details (text) | ref_transaction_types : transaction_type_code (text) , transaction_type_description (text) | transactions : transaction_id (number) , investor_id (number) , transaction_type_code (text) , date_of_transaction (time) , amount_of_transaction (number) , share_count (text) , other_details (text) | sales : sales_transaction_id (number) , sales_details (text) | purchases : purchase_transaction_id (number) , purchase_details (text) | transactions_lots : transaction_id (number) , lot_id (number)

lots : lot_details (text) , lot_id (number) | transactions_lots : lot_id (number)


Question: How many available hotels are there in total?

ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)


Question: Find the total number of available hotels.

ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)


Question: What are the price ranges of hotels?

ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)


Question: Tell me the price ranges for all the hotels.

ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)


Question: Show all distinct location names.

ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)


Question: What are the distinct location names?

ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)


Question: Show the names and details of all the staff members.

ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)

staff : name (text) , other_details (text)


Question: What is the name and detail of each staff member?

ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)

staff : name (text) , other_details (text)


Question: Show details of all visitors.

ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)


Question: What is the detail of each visitor?

ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)


Question: Show the price ranges of hotels with 5 star ratings.

ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)

hotels : price_range (number) , star_rating_code (text)


Question: What are the price ranges of five star hotels?

ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)

hotels : price_range (number) , star_rating_code (text)


Question: Show the average price range of hotels that have 5 star ratings and allow pets.

ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)

hotels : price_range (number) , star_rating_code (text) , pets_allowed_yn (text)


Question: What is the average price range of five star hotels that allow pets?

ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)

hotels : price_range (number) , star_rating_code (text) , pets_allowed_yn (text)


Question: What is the address of the location "UK Gallery"?

ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)

locations : address (text) , location_name (text)


Question: Find the address of the location named "UK Gallery".

ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)

locations : address (text) , location_name (text)


Question: What is the detail of the location UK Gallery?

ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)

locations : other_details (text) , location_name (text)


Question: Return the detail of the location named "UK Gallery".

ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)

locations : other_details (text) , location_name (text)


Question: Which location names contain the word "film"?

ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)


Question: Find all the locations whose names contain the word "film".

ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)


Question: How many distinct names are associated with all the photos?

ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)


Question: Count the number of distinct names associated with the photos.

ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)


Question: What are the distinct visit dates?

ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)


Question: Find all the distinct visit dates.

ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)


Question: What are the names of the tourist attractions that can be accessed by bus?

ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)

tourist_attractions : name (text) , how_to_get_there (text)


Question: Which tourist attractions can we get to by bus? Tell me the names of the attractions.

ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)

tourist_attractions : name (text) , how_to_get_there (text)


Question: What are the names and opening hours of the tourist attractions that can be accessed by bus or walk?

ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)

tourist_attractions : name (text) , opening_hours (text) , how_to_get_there (text)


Question: Find the names and opening hours of the tourist attractions that we get to by bus or walk.

ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)

tourist_attractions : name (text) , opening_hours (text) , how_to_get_there (text)


Question: What are the star rating descriptions of the hotels with price above 10000?

ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)

ref_hotel_star_ratings : star_rating_description (text) , star_rating_code (text) | hotels : star_rating_code (text) , price_range (number)


Question: Give me the star rating descriptions of the hotels that cost more than 10000.

ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)

ref_hotel_star_ratings : star_rating_description (text) , star_rating_code (text) | hotels : star_rating_code (text) , price_range (number)


Question: What are the details and opening hours of the museums?

ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)

museums : museum_details (text) , museum_id (number) | tourist_attractions : opening_hours (text) , tourist_attraction_id (number)


Question: Give me the detail and opening hour for each museum.

ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)

museums : museum_details (text) , museum_id (number) | tourist_attractions : opening_hours (text) , tourist_attraction_id (number)


Question: What is the name of the tourist attraction that is associated with the photo "game1"?

ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)

tourist_attractions : name (text) , tourist_attraction_id (number) | photos : name (text) , tourist_attraction_id (number)


Question: Which tourist attraction is associated with the photo "game1"? Return its name.

ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)

tourist_attractions : name (text) , tourist_attraction_id (number) | photos : name (text) , tourist_attraction_id (number)


Question: What are the names and descriptions of the photos taken at the tourist attraction "film festival"?

ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)

tourist_attractions : name (text) , description (text) , tourist_attraction_id (number) | photos : name (text) , description (text) , tourist_attraction_id (number)


Question: Find the names and descriptions of the photos taken at the tourist attraction called "film festival".

ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)

tourist_attractions : name (text) , description (text) , tourist_attraction_id (number) | photos : name (text) , description (text) , tourist_attraction_id (number)


Question: What are the details and ways to get to tourist attractions related to royal family?

ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)

royal_family : royal_family_details (text) , royal_family_id (number) | tourist_attractions : how_to_get_there (text) , tourist_attraction_id (number)


Question: Which tourist attractions are related to royal family? Tell me their details and how we can get there.

ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)

royal_family : royal_family_details (text) , royal_family_id (number) | tourist_attractions : how_to_get_there (text) , tourist_attraction_id (number)


Question: What are the details of the shops that can be accessed by walk?

ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)

shops : shop_details (text) , shop_id (number) | tourist_attractions : tourist_attraction_id (number) , how_to_get_there (text)


Question: Find the details of the shops that can be reached by walk.

ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)

shops : shop_details (text) , shop_id (number) | tourist_attractions : tourist_attraction_id (number) , how_to_get_there (text)


Question: What is the name of the staff that is in charge of the attraction named "US museum"?

ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)

tourist_attractions : name (text) , tourist_attraction_id (number) | staff : name (text) , tourist_attraction_id (number)


Question: Tell me the name of the staff in charge of the attraction called "US museum".

ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)

tourist_attractions : name (text) , tourist_attraction_id (number) | staff : name (text) , tourist_attraction_id (number)


Question: What are the details of the markets that can be accessed by walk or bus?

ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)

street_markets : market_details (text) , market_id (number) | tourist_attractions : tourist_attraction_id (number) , how_to_get_there (text)


Question: Find the details of all the markets that are accessible by walk or bus.

ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)

street_markets : market_details (text) , market_id (number) | tourist_attractions : tourist_attraction_id (number) , how_to_get_there (text)


Question: What are the visit date and details of the visitor whose detail is 'Vincent'?

ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)

visits : visit_date (time) , visit_details (text) , tourist_id (number) | visitors : tourist_id (number) , tourist_details (text)


Question: Find the visit date and details of the tourist whose detail is 'Vincent'

ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)

visits : visit_date (time) , visit_details (text) , tourist_id (number) | visitors : tourist_id (number) , tourist_details (text)


Question: Which tourist attractions does the visitor with detail 'Vincent' visit?

ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)

tourist_attractions : name (text) , tourist_attraction_id (number) | visits : tourist_attraction_id (number) , tourist_id (number) | visitors : tourist_id (number) , tourist_details (text)


Question: Show the tourist attractions visited by the tourist whose detail is 'Vincent'.

ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)

tourist_attractions : name (text) , tourist_attraction_id (number) | visits : tourist_attraction_id (number) , tourist_id (number) | visitors : tourist_id (number) , tourist_details (text)


Question: What are the names of the tourist attractions and the dates when the tourists named Vincent or Vivian visited there?

ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)

tourist_attractions : name (text) , tourist_attraction_id (number) | visits : visit_date (time) , tourist_attraction_id (number) , tourist_id (number) | visitors : tourist_id (number) , tourist_details (text)


Question: For each tourist attraction, return its name and the date when the tourists named Vincent or Vivian visited there.

ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)

tourist_attractions : name (text) , tourist_attraction_id (number) | visits : visit_date (time) , tourist_attraction_id (number) , tourist_id (number) | visitors : tourist_id (number) , tourist_details (text)


Question: Show the average price of hotels for each star rating code.

ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)

hotels : star_rating_code (text) , price_range (number)


Question: What is the average price range of hotels for each each star rating code?

ref_hotel_star_ratings : star_rating_code (text) , star_rating_description (text) | locations : location_id (number) , location_name (text) , address (text) , other_details (text) | ref_attraction_types : attraction_type_code (text) , attraction_type_description (text) | visitors : tourist_id (number) , tourist_details (text) | features : feature_id (number) , feature_details (text) | hotels : hotel_id (number) , star_rating_code (text) , pets_allowed_yn (text) , price_range (number) , other_hotel_details (text) | tourist_attractions : tourist_attraction_id (number) , attraction_type_code (text) , location_id (number) , how_to_get_there (text) , name (text) , description (text) , opening_hours (text) , other_details (text) | street_markets : market_id (number) , market_details (text) | shops : shop_id (number) , shop_details (text) | museums : museum_id (number) , museum_details (text) | royal_family : royal_family_id (number) , royal_family_details (text) | theme_parks : theme_park_id (number) , theme_park_details (text) | visits : visit_id (number) , tourist_attraction_id (number) , tourist_id (number) , visit_date (time) , visit_details (text) | photos : photo_id (number) , tourist_attraction_id (number) , name (text) , description (text) , filename (text) , other_details (text) | staff : staff_id (number) , tourist_attraction_id (number) , name (text) , other_details (text) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number)

hotels : star_rating_code (text) , price_range (number)