Question: Show the average price of hotels for different pet policy.

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 : pets_allowed_yn (text) , price_range (number)


Question: What are the average prices of hotels grouped by their pet policy.

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 : pets_allowed_yn (text) , price_range (number)


Question: Show the id and star rating of each hotel, ordered by its price from low to high.

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 : hotel_id (number) , star_rating_code (text) , price_range (number)


Question: Find the id and star rating of each hotel and sort them in increasing order of price.

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 : hotel_id (number) , star_rating_code (text) , price_range (number)


Question: Show the details of the top 3 most expensive 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 : other_hotel_details (text) , price_range (number)


Question: What are the details of the three most expensive 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 : other_hotel_details (text) , price_range (number)


Question: Show the details and star ratings of the 3 least expensive 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 : other_hotel_details (text) , star_rating_code (text) , price_range (number)


Question: What are the details and star ratings of the three hotels with the lowest price ranges?

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 : other_hotel_details (text) , star_rating_code (text) , price_range (number)


Question: Show the transportation method most people choose to get to tourist 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 : how_to_get_there (text) , tourist_attraction_id (number)


Question: Which transportation method is used the most often to get to tourist 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 : how_to_get_there (text) , tourist_attraction_id (number)


Question: Show the description and code of the attraction type most tourist attractions belong to.

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_attraction_types : attraction_type_description (text) , attraction_type_code (text) | tourist_attractions : attraction_type_code (text) , tourist_attraction_id (number)


Question: Which attraction type does the most tourist attractions belong to? Tell me its  attraction type description and 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)

ref_attraction_types : attraction_type_description (text) , attraction_type_code (text) | tourist_attractions : attraction_type_code (text) , tourist_attraction_id (number)


Question: Show different ways to get to attractions and the number of attractions that can be accessed in the corresponding way.

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 : how_to_get_there (text) , tourist_attraction_id (number)


Question: List all the possible ways to get to attractions, together with the number of attractions accessible by these methods.

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 : how_to_get_there (text) , tourist_attraction_id (number)


Question: Show different tourist attractions' names, ids, and the corresponding number of visits.

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) , visit_id (number)


Question: What are the name, id and the corresponding number of visits for each  tourist attraction?

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) , visit_id (number)


Question: Show the names and ids of tourist attractions that are visited at least two times.

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) , visit_id (number)


Question: Which tourist attractions are visited at least twice? Give me their names and ids.

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) , visit_id (number)


Question: Show the names and ids of tourist attractions that are visited at most once.

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) , visit_id (number)


Question: What are the names and ids of the tourist attractions that are visited at most once?

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) , visit_id (number)


Question: What are the names of tourist attractions that can be reached by walk or is at address 660 Shea Crescent?

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) , location_id (number) , how_to_get_there (text) | locations : location_id (number) , address (text)


Question: Find the names of the tourist attractions that is either accessible by walk or at address 660 Shea Crescent.

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) , location_id (number) , how_to_get_there (text) | locations : location_id (number) , address (text)


Question: What are the names of the tourist attractions that have parking or shopping as their feature details?

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) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number) | features : feature_id (number) , feature_details (text)


Question: Find the tourist attractions that have parking or shopping as their feature details. What are 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) , tourist_attraction_id (number) | tourist_attraction_features : tourist_attraction_id (number) , feature_id (number) | features : feature_id (number) , feature_details (text)


Question: What are the names of tourist attractions that can be reached by bus or is at address 254 Ottilie Junction?

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) , location_id (number) , how_to_get_there (text) | locations : location_id (number) , address (text)


Question: Find the names of the tourist attractions that is either accessible by bus or at address 254 Ottilie Junction.

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) , location_id (number) , how_to_get_there (text) | locations : location_id (number) , address (text)


Question: What are the names of the tourist attractions Vincent and Marcelle 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: Which tourist attractions do the tourists Vincent and Marcelle visit? 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) , 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 tourist attraction that Alison visited but Rosalind did not 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: Find the the names of the tourist attractions that the tourist named Alison visited but Rosalind did not 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: How many tourists did not make any 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)

visitors : tourist_id (number) | visits : tourist_id (number) , visit_id (number)


Question: Count the number of tourists who did not visit any place.

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)

visitors : tourist_id (number) | visits : tourist_id (number) , visit_id (number)


Question: How many video games exist?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)


Question: How many video games do you have?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)


Question: How many video game types exist?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)


Question: What is the count of different game types?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)


Question: Show all video game types.

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)


Question: What are the different types of video games?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)


Question: Show all video games and their types in the order of their names.

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

video_games : gname (text) , gtype (text)


Question: What are the names of all the video games and their types in alphabetical order?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

video_games : gname (text) , gtype (text)


Question: Show all video games with type Collectible card game.

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

video_games : gname (text) , gtype (text)


Question: What are the names of all video games that are collectible cards?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

video_games : gname (text) , gtype (text)


Question: What is the type of video game Call of Destiny.

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

video_games : gtype (text) , gname (text)


Question: What type of game is Call of Destiny?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

video_games : gtype (text) , gname (text)


Question: How many video games have type Massively multiplayer online game?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

video_games : gtype (text) , gameid (number)


Question: Count the number of video games with Massively multiplayer online game type .

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

video_games : gtype (text) , gameid (number)


Question: Show all video game types and the number of video games in each type.

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

video_games : gtype (text) , gameid (number)


Question: What are the types of video games and how many are in each type?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

video_games : gtype (text) , gameid (number)


Question: Which game type has most number of games?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

video_games : gtype (text) , gameid (number)


Question: What type has the most games?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

video_games : gtype (text) , gameid (number)


Question: Which game type has least number of games?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

video_games : gtype (text) , gameid (number)


Question: What is the type with the fewest games?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

video_games : gtype (text) , gameid (number)


Question: Show ids for all students who live in CHI.

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

student : stuid (number) , city_code (text)


Question: What are the ids of all students who live in CHI?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

student : stuid (number) , city_code (text)


Question: Show ids for all students who have advisor 1121.

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

student : stuid (number) , advisor (number)


Question: What are the ids of all students who have advisor number 1121?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

student : stuid (number) , advisor (number)


Question: Show first name for all students with major 600.

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)


Question: What are the first names for all students who are from the major numbered 600?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)


Question: Show the average, minimum, and maximum age for different majors.

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)


Question: What are the average, minimum, and max ages for each of the different majors?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)


Question: Show all advisors who have at least two students.

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

student : advisor (number) , stuid (number)


Question: What are the advisors

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

student : advisor (number) , stuid (number)


Question: How many sports do we have?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)


Question: How many different types of sports do we offer?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)


Question: How many students play sports?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)


Question: How many different students are involved in sports?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)


Question: List ids for all student who are on scholarship.

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

sportsinfo : stuid (number) , onscholarship (text)


Question: What are the ids for all sporty students who are on scholarship?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

sportsinfo : stuid (number) , onscholarship (text)


Question: Show last names for all student who are on scholarship.

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

student : lname (text) , stuid (number) | sportsinfo : stuid (number) , onscholarship (text)


Question: What are the last names for all scholarship students?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

student : lname (text) , stuid (number) | sportsinfo : stuid (number) , onscholarship (text)


Question: How many games are played for all students?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)


Question: What is the total number of games played?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)


Question: How many games are played for all football games by students on scholarship?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

sportsinfo : gamesplayed (number) , sportname (text) , onscholarship (text)


Question: What is the total number of all football games played by scholarship students?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

sportsinfo : gamesplayed (number) , sportname (text) , onscholarship (text)


Question: Show all sport name and the number of students.

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)


Question: How many students play each sport?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)


Question: Show all student IDs with the number of sports and total number of games played

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

sportsinfo : stuid (number) , gamesplayed (number)


Question: What are the ids of all students along with how many sports and games did they play?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

sportsinfo : stuid (number) , gamesplayed (number)


Question: Show all student IDs with more than total 10 hours per week on all sports played.

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

sportsinfo : stuid (number) , hoursperweek (number)


Question: What are the student IDs for everybody who worked for more than 10 hours per week on all sports?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

sportsinfo : stuid (number) , hoursperweek (number)


Question: What is the first name and last name of the student who have most number of sports?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

student : fname (text) , lname (text) , stuid (number) | sportsinfo : stuid (number)


Question: What is the first and last name of the student who played the most sports?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

student : fname (text) , lname (text) , stuid (number) | sportsinfo : stuid (number)


Question: Which sport has most number of students on scholarship?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

sportsinfo : sportname (text) , onscholarship (text)


Question: What is the sport with the most scholarship students?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

sportsinfo : sportname (text) , onscholarship (text)


Question: Show student ids who don't have any sports.

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

student : stuid (number) | sportsinfo : stuid (number)


Question: What are the ids of all students who don't play sports?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

student : stuid (number) | sportsinfo : stuid (number)


Question: Show student ids who are on scholarship and have major 600.

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

student : stuid (number) , major (number) | sportsinfo : stuid (number) , onscholarship (text)


Question: What are the student ids for those on scholarship in major number 600?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

student : stuid (number) , major (number) | sportsinfo : stuid (number) , onscholarship (text)


Question: Show student ids who are female and play football.

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

student : stuid (number) , sex (text) | sportsinfo : stuid (number) , sportname (text)


Question: What are the ids of all female students who play football?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

student : stuid (number) , sex (text) | sportsinfo : stuid (number) , sportname (text)


Question: Show all male student ids who don't play football.

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

student : stuid (number) , sex (text) | sportsinfo : stuid (number) , sportname (text)


Question: What are the ids of all male students who do not play football?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

student : stuid (number) , sex (text) | sportsinfo : stuid (number) , sportname (text)


Question: Show total hours per week and number of games played for student David Shieber.

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

sportsinfo : hoursperweek (number) , gamesplayed (number) , stuid (number) | student : stuid (number) , fname (text) , lname (text)


Question: What is the total number of hours per work and number of games played by David Shieber?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

sportsinfo : hoursperweek (number) , gamesplayed (number) , stuid (number) | student : stuid (number) , fname (text) , lname (text)


Question: Show total hours per week and number of games played for students under 20.

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

sportsinfo : hoursperweek (number) , gamesplayed (number) , stuid (number) | student : stuid (number) , age (number)


Question: What is the total number of hours per week and number of games played by students under 20?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

sportsinfo : hoursperweek (number) , gamesplayed (number) , stuid (number) | student : stuid (number) , age (number)


Question: How many students play video games?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)


Question: How many different students play games?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)


Question: Show ids of students who don't play video game.

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

student : stuid (number) | plays_games : stuid (number)


Question: What are the ids of all students who are not video game players?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

student : stuid (number) | plays_games : stuid (number)


Question: Show ids of students who play video game and play sports.

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

plays_games : stuid (number) | sportsinfo : stuid (number)


Question: What are the ids of all students who played video games and sports?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

plays_games : stuid (number) | sportsinfo : stuid (number)


Question: Show all game ids and the number of hours played.

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

plays_games : gameid (number) , hours_played (number)


Question: What are ids and total number of hours played for each game?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

plays_games : gameid (number) , hours_played (number)


Question: Show all student ids and the number of hours played.

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

plays_games : stuid (number) , hours_played (number)


Question: What are the ids of all students and number of hours played?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

plays_games : stuid (number) , hours_played (number)


Question: Show the game name that has most number of hours played.

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

video_games : gname (text) , gameid (number) | plays_games : gameid (number) , hours_played (number)


Question: What is the name of the game that has been played the most?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

video_games : gname (text) , gameid (number) | plays_games : gameid (number) , hours_played (number)


Question: Show all game names played by at least 1000 hours.

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

video_games : gname (text) , gameid (number) | plays_games : gameid (number) , hours_played (number)


Question: What are the names of all the games that have been played for at least 1000 hours?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

video_games : gname (text) , gameid (number) | plays_games : gameid (number) , hours_played (number)


Question: Show all game names played by Linda Smith

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

video_games : gname (text) , gameid (number) | plays_games : gameid (number) , stuid (number) | student : stuid (number) , lname (text) , fname (text)


Question: What are the names of all games played by Linda Smith?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

video_games : gname (text) , gameid (number) | plays_games : gameid (number) , stuid (number) | student : stuid (number) , lname (text) , fname (text)


Question: Find the last and first name of students who are playing Football or Lacrosse.

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

student : lname (text) , fname (text) , stuid (number) | sportsinfo : stuid (number) , sportname (text)


Question: What is the first and last name of all students who play Football or Lacrosse?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

student : lname (text) , fname (text) , stuid (number) | sportsinfo : stuid (number) , sportname (text)


Question: Find the first name and age of the students who are playing both Football and Lacrosse.

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

student : fname (text) , age (number) , stuid (number) | sportsinfo : stuid (number) , sportname (text)


Question: What are the first names and ages of all students who are playing both Football and Lacrosse?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

student : fname (text) , age (number) , stuid (number) | sportsinfo : stuid (number) , sportname (text)


Question: Find the last name and gender of the students who are playing both Call of Destiny and Works of Widenius games.

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

student : lname (text) , sex (text) , stuid (number) | plays_games : stuid (number) , gameid (number) | video_games : gameid (number) , gname (text)


Question: what is the last name and gender of all students who played both Call of Destiny and Works of Widenius?

student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | video_games : gameid (number) , gname (text) , gtype (text) | plays_games : stuid (number) , gameid (number) , hours_played (number) | sportsinfo : stuid (number) , sportname (text) , hoursperweek (number) , gamesplayed (number) , onscholarship (text)

student : lname (text) , sex (text) , stuid (number) | plays_games : stuid (number) , gameid (number) | video_games : gameid (number) , gname (text)