db_id stringclasses 140
values | query stringlengths 18 577 | question stringlengths 16 224 | query_toks listlengths 4 90 | query_toks_no_value listlengths 4 125 | question_toks listlengths 4 44 | question_toks_masked listlengths 4 44 | query_toks_masked listlengths 4 125 |
|---|---|---|---|---|---|---|---|
cre_Theme_park | SELECT Address FROM LOCATIONS WHERE Location_Name = "UK Gallery" | Find the address of the location named "UK Gallery". | [
"SELECT",
"Address",
"FROM",
"LOCATIONS",
"WHERE",
"Location_Name",
"=",
"``",
"UK",
"Gallery",
"''"
] | [
"select",
"address",
"from",
"locations",
"where",
"location_name",
"=",
"value"
] | [
"Find",
"the",
"address",
"of",
"the",
"location",
"named",
"``",
"UK",
"Gallery",
"''",
"."
] | [
"Find",
"the",
"<mask>",
"of",
"the",
"<mask>",
"<mask>",
"``",
"UK",
"Gallery",
"''",
"."
] | [
"select",
"<mask>",
"from",
"<mask>",
"where",
"<mask>",
"=",
"<unk>"
] |
cre_Theme_park | SELECT Other_Details FROM LOCATIONS WHERE Location_Name = "UK Gallery" | What is the detail of the location UK Gallery? | [
"SELECT",
"Other_Details",
"FROM",
"LOCATIONS",
"WHERE",
"Location_Name",
"=",
"``",
"UK",
"Gallery",
"''"
] | [
"select",
"other_details",
"from",
"locations",
"where",
"location_name",
"=",
"value"
] | [
"What",
"is",
"the",
"detail",
"of",
"the",
"location",
"UK",
"Gallery",
"?"
] | [
"What",
"is",
"the",
"detail",
"of",
"the",
"<mask>",
"UK",
"Gallery",
"?"
] | [
"select",
"<mask>",
"from",
"<mask>",
"where",
"<mask>",
"=",
"<unk>"
] |
cre_Theme_park | SELECT Other_Details FROM LOCATIONS WHERE Location_Name = "UK Gallery" | Return the detail of the location named "UK Gallery". | [
"SELECT",
"Other_Details",
"FROM",
"LOCATIONS",
"WHERE",
"Location_Name",
"=",
"``",
"UK",
"Gallery",
"''"
] | [
"select",
"other_details",
"from",
"locations",
"where",
"location_name",
"=",
"value"
] | [
"Return",
"the",
"detail",
"of",
"the",
"location",
"named",
"``",
"UK",
"Gallery",
"''",
"."
] | [
"Return",
"the",
"detail",
"of",
"the",
"<mask>",
"<mask>",
"``",
"UK",
"Gallery",
"''",
"."
] | [
"select",
"<mask>",
"from",
"<mask>",
"where",
"<mask>",
"=",
"<unk>"
] |
cre_Theme_park | SELECT Location_Name FROM LOCATIONS WHERE Location_Name LIKE "%film%" | Which location names contain the word "film"? | [
"SELECT",
"Location_Name",
"FROM",
"LOCATIONS",
"WHERE",
"Location_Name",
"LIKE",
"``",
"%",
"film",
"%",
"''"
] | [
"select",
"location_name",
"from",
"locations",
"where",
"location_name",
"like",
"value"
] | [
"Which",
"location",
"names",
"contain",
"the",
"word",
"``",
"film",
"''",
"?"
] | [
"Which",
"<mask>",
"<mask>",
"contain",
"the",
"word",
"``",
"film",
"''",
"?"
] | [
"select",
"<mask>",
"from",
"<mask>",
"where",
"<mask>",
"like",
"<unk>"
] |
cre_Theme_park | SELECT Location_Name FROM LOCATIONS WHERE Location_Name LIKE "%film%" | Find all the locations whose names contain the word "film". | [
"SELECT",
"Location_Name",
"FROM",
"LOCATIONS",
"WHERE",
"Location_Name",
"LIKE",
"``",
"%",
"film",
"%",
"''"
] | [
"select",
"location_name",
"from",
"locations",
"where",
"location_name",
"like",
"value"
] | [
"Find",
"all",
"the",
"locations",
"whose",
"names",
"contain",
"the",
"word",
"``",
"film",
"''",
"."
] | [
"Find",
"all",
"the",
"<mask>",
"whose",
"<mask>",
"contain",
"the",
"word",
"``",
"film",
"''",
"."
] | [
"select",
"<mask>",
"from",
"<mask>",
"where",
"<mask>",
"like",
"<unk>"
] |
cre_Theme_park | SELECT count(DISTINCT Name) FROM PHOTOS | How many distinct names are associated with all the photos? | [
"SELECT",
"count",
"(",
"DISTINCT",
"Name",
")",
"FROM",
"PHOTOS"
] | [
"select",
"count",
"(",
"distinct",
"name",
")",
"from",
"photos"
] | [
"How",
"many",
"distinct",
"names",
"are",
"associated",
"with",
"all",
"the",
"photos",
"?"
] | [
"<mask>",
"many",
"distinct",
"<mask>",
"are",
"associated",
"with",
"all",
"the",
"<mask>",
"?"
] | [
"select",
"count",
"(",
"distinct",
"<mask>",
")",
"from",
"<mask>"
] |
cre_Theme_park | SELECT count(DISTINCT Name) FROM PHOTOS | Count the number of distinct names associated with the photos. | [
"SELECT",
"count",
"(",
"DISTINCT",
"Name",
")",
"FROM",
"PHOTOS"
] | [
"select",
"count",
"(",
"distinct",
"name",
")",
"from",
"photos"
] | [
"Count",
"the",
"number",
"of",
"distinct",
"names",
"associated",
"with",
"the",
"photos",
"."
] | [
"Count",
"the",
"number",
"of",
"distinct",
"<mask>",
"associated",
"with",
"the",
"<mask>",
"."
] | [
"select",
"count",
"(",
"distinct",
"<mask>",
")",
"from",
"<mask>"
] |
cre_Theme_park | SELECT DISTINCT Visit_Date FROM VISITS | What are the distinct visit dates? | [
"SELECT",
"DISTINCT",
"Visit_Date",
"FROM",
"VISITS"
] | [
"select",
"distinct",
"visit_date",
"from",
"visits"
] | [
"What",
"are",
"the",
"distinct",
"visit",
"dates",
"?"
] | [
"What",
"are",
"the",
"distinct",
"<mask>",
"<mask>",
"?"
] | [
"select",
"distinct",
"<mask>",
"from",
"<mask>"
] |
cre_Theme_park | SELECT DISTINCT Visit_Date FROM VISITS | Find all the distinct visit dates. | [
"SELECT",
"DISTINCT",
"Visit_Date",
"FROM",
"VISITS"
] | [
"select",
"distinct",
"visit_date",
"from",
"visits"
] | [
"Find",
"all",
"the",
"distinct",
"visit",
"dates",
"."
] | [
"Find",
"all",
"the",
"distinct",
"<mask>",
"<mask>",
"."
] | [
"select",
"distinct",
"<mask>",
"from",
"<mask>"
] |
cre_Theme_park | SELECT Name FROM TOURIST_ATTRACTIONS WHERE How_to_Get_There = "bus" | What are the names of the tourist attractions that can be accessed by bus? | [
"SELECT",
"Name",
"FROM",
"TOURIST_ATTRACTIONS",
"WHERE",
"How_to_Get_There",
"=",
"``",
"bus",
"''"
] | [
"select",
"name",
"from",
"tourist_attractions",
"where",
"how_to_get_there",
"=",
"value"
] | [
"What",
"are",
"the",
"names",
"of",
"the",
"tourist",
"attractions",
"that",
"can",
"be",
"accessed",
"by",
"bus",
"?"
] | [
"What",
"are",
"the",
"<mask>",
"of",
"the",
"<mask>",
"<mask>",
"that",
"can",
"be",
"accessed",
"by",
"bus",
"?"
] | [
"select",
"<mask>",
"from",
"<mask>",
"where",
"<mask>",
"=",
"<unk>"
] |
cre_Theme_park | SELECT Name FROM TOURIST_ATTRACTIONS WHERE How_to_Get_There = "bus" | Which tourist attractions can we get to by bus? Tell me the names of the attractions. | [
"SELECT",
"Name",
"FROM",
"TOURIST_ATTRACTIONS",
"WHERE",
"How_to_Get_There",
"=",
"``",
"bus",
"''"
] | [
"select",
"name",
"from",
"tourist_attractions",
"where",
"how_to_get_there",
"=",
"value"
] | [
"Which",
"tourist",
"attractions",
"can",
"we",
"get",
"to",
"by",
"bus",
"?",
"Tell",
"me",
"the",
"names",
"of",
"the",
"attractions",
"."
] | [
"Which",
"<mask>",
"<mask>",
"can",
"we",
"<mask>",
"to",
"by",
"bus",
"?",
"Tell",
"me",
"the",
"<mask>",
"of",
"the",
"<mask>",
"."
] | [
"select",
"<mask>",
"from",
"<mask>",
"where",
"<mask>",
"=",
"<unk>"
] |
cre_Theme_park | SELECT Name , Opening_Hours FROM TOURIST_ATTRACTIONS WHERE How_to_Get_There = "bus" OR How_to_Get_There = "walk" | What are the names and opening hours of the tourist attractions that can be accessed by bus or walk? | [
"SELECT",
"Name",
",",
"Opening_Hours",
"FROM",
"TOURIST_ATTRACTIONS",
"WHERE",
"How_to_Get_There",
"=",
"``",
"bus",
"''",
"OR",
"How_to_Get_There",
"=",
"``",
"walk",
"''"
] | [
"select",
"name",
",",
"opening_hours",
"from",
"tourist_attractions",
"where",
"how_to_get_there",
"=",
"value",
"or",
"how_to_get_there",
"=",
"value"
] | [
"What",
"are",
"the",
"names",
"and",
"opening",
"hours",
"of",
"the",
"tourist",
"attractions",
"that",
"can",
"be",
"accessed",
"by",
"bus",
"or",
"walk",
"?"
] | [
"What",
"are",
"the",
"<mask>",
"and",
"opening",
"hours",
"of",
"the",
"<mask>",
"<mask>",
"that",
"can",
"be",
"accessed",
"by",
"bus",
"or",
"walk",
"?"
] | [
"select",
"<mask>",
",",
"<mask>",
"from",
"<mask>",
"where",
"<mask>",
"=",
"<unk>",
"or",
"<mask>",
"=",
"<unk>"
] |
cre_Theme_park | SELECT Name , Opening_Hours FROM TOURIST_ATTRACTIONS WHERE How_to_Get_There = "bus" OR How_to_Get_There = "walk" | Find the names and opening hours of the tourist attractions that we get to by bus or walk. | [
"SELECT",
"Name",
",",
"Opening_Hours",
"FROM",
"TOURIST_ATTRACTIONS",
"WHERE",
"How_to_Get_There",
"=",
"``",
"bus",
"''",
"OR",
"How_to_Get_There",
"=",
"``",
"walk",
"''"
] | [
"select",
"name",
",",
"opening_hours",
"from",
"tourist_attractions",
"where",
"how_to_get_there",
"=",
"value",
"or",
"how_to_get_there",
"=",
"value"
] | [
"Find",
"the",
"names",
"and",
"opening",
"hours",
"of",
"the",
"tourist",
"attractions",
"that",
"we",
"get",
"to",
"by",
"bus",
"or",
"walk",
"."
] | [
"Find",
"the",
"<mask>",
"and",
"opening",
"hours",
"of",
"the",
"<mask>",
"<mask>",
"that",
"we",
"<mask>",
"to",
"by",
"bus",
"or",
"walk",
"."
] | [
"select",
"<mask>",
",",
"<mask>",
"from",
"<mask>",
"where",
"<mask>",
"=",
"<unk>",
"or",
"<mask>",
"=",
"<unk>"
] |
cre_Theme_park | SELECT T2.star_rating_description FROM HOTELS AS T1 JOIN Ref_Hotel_Star_Ratings AS T2 ON T1.star_rating_code = T2.star_rating_code WHERE T1.price_range > 10000 | What are the star rating descriptions of the hotels with price above 10000? | [
"SELECT",
"T2.star_rating_description",
"FROM",
"HOTELS",
"AS",
"T1",
"JOIN",
"Ref_Hotel_Star_Ratings",
"AS",
"T2",
"ON",
"T1.star_rating_code",
"=",
"T2.star_rating_code",
"WHERE",
"T1.price_range",
">",
"10000"
] | [
"select",
"t2",
".",
"star_rating_description",
"from",
"hotels",
"as",
"t1",
"join",
"ref_hotel_star_ratings",
"as",
"t2",
"on",
"t1",
".",
"star_rating_code",
"=",
"t2",
".",
"star_rating_code",
"where",
"t1",
".",
"price_range",
">",
"value"
] | [
"What",
"are",
"the",
"star",
"rating",
"descriptions",
"of",
"the",
"hotels",
"with",
"price",
"above",
"10000",
"?"
] | [
"What",
"are",
"the",
"<mask>",
"<mask>",
"<mask>",
"of",
"the",
"<mask>",
"with",
"<mask>",
"above",
"<unk>",
"?"
] | [
"select",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
">",
"<unk>"
] |
cre_Theme_park | SELECT T2.star_rating_description FROM HOTELS AS T1 JOIN Ref_Hotel_Star_Ratings AS T2 ON T1.star_rating_code = T2.star_rating_code WHERE T1.price_range > 10000 | Give me the star rating descriptions of the hotels that cost more than 10000. | [
"SELECT",
"T2.star_rating_description",
"FROM",
"HOTELS",
"AS",
"T1",
"JOIN",
"Ref_Hotel_Star_Ratings",
"AS",
"T2",
"ON",
"T1.star_rating_code",
"=",
"T2.star_rating_code",
"WHERE",
"T1.price_range",
">",
"10000"
] | [
"select",
"t2",
".",
"star_rating_description",
"from",
"hotels",
"as",
"t1",
"join",
"ref_hotel_star_ratings",
"as",
"t2",
"on",
"t1",
".",
"star_rating_code",
"=",
"t2",
".",
"star_rating_code",
"where",
"t1",
".",
"price_range",
">",
"value"
] | [
"Give",
"me",
"the",
"star",
"rating",
"descriptions",
"of",
"the",
"hotels",
"that",
"cost",
"more",
"than",
"10000",
"."
] | [
"Give",
"me",
"the",
"<mask>",
"<mask>",
"<mask>",
"of",
"the",
"<mask>",
"that",
"cost",
"more",
"than",
"<unk>",
"."
] | [
"select",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
">",
"<unk>"
] |
cre_Theme_park | SELECT T1.Museum_Details , T2.Opening_Hours FROM MUSEUMS AS T1 JOIN TOURIST_ATTRACTIONS AS T2 ON T1.Museum_ID = T2.Tourist_Attraction_ID | What are the details and opening hours of the museums? | [
"SELECT",
"T1.Museum_Details",
",",
"T2.Opening_Hours",
"FROM",
"MUSEUMS",
"AS",
"T1",
"JOIN",
"TOURIST_ATTRACTIONS",
"AS",
"T2",
"ON",
"T1.Museum_ID",
"=",
"T2.Tourist_Attraction_ID"
] | [
"select",
"t1",
".",
"museum_details",
",",
"t2",
".",
"opening_hours",
"from",
"museums",
"as",
"t1",
"join",
"tourist_attractions",
"as",
"t2",
"on",
"t1",
".",
"museum_id",
"=",
"t2",
".",
"tourist_attraction_id"
] | [
"What",
"are",
"the",
"details",
"and",
"opening",
"hours",
"of",
"the",
"museums",
"?"
] | [
"What",
"are",
"the",
"details",
"and",
"opening",
"hours",
"of",
"the",
"<mask>",
"?"
] | [
"select",
"<mask>",
".",
"<mask>",
",",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>"
] |
cre_Theme_park | SELECT T1.Museum_Details , T2.Opening_Hours FROM MUSEUMS AS T1 JOIN TOURIST_ATTRACTIONS AS T2 ON T1.Museum_ID = T2.Tourist_Attraction_ID | Give me the detail and opening hour for each museum. | [
"SELECT",
"T1.Museum_Details",
",",
"T2.Opening_Hours",
"FROM",
"MUSEUMS",
"AS",
"T1",
"JOIN",
"TOURIST_ATTRACTIONS",
"AS",
"T2",
"ON",
"T1.Museum_ID",
"=",
"T2.Tourist_Attraction_ID"
] | [
"select",
"t1",
".",
"museum_details",
",",
"t2",
".",
"opening_hours",
"from",
"museums",
"as",
"t1",
"join",
"tourist_attractions",
"as",
"t2",
"on",
"t1",
".",
"museum_id",
"=",
"t2",
".",
"tourist_attraction_id"
] | [
"Give",
"me",
"the",
"detail",
"and",
"opening",
"hour",
"for",
"each",
"museum",
"."
] | [
"Give",
"me",
"the",
"detail",
"and",
"opening",
"hour",
"for",
"each",
"<mask>",
"."
] | [
"select",
"<mask>",
".",
"<mask>",
",",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>"
] |
cre_Theme_park | SELECT T2.Name FROM PHOTOS AS T1 JOIN TOURIST_ATTRACTIONS AS T2 ON T1.Tourist_Attraction_ID = T2.Tourist_Attraction_ID WHERE T1.Name = "game1" | What is the name of the tourist attraction that is associated with the photo "game1"? | [
"SELECT",
"T2.Name",
"FROM",
"PHOTOS",
"AS",
"T1",
"JOIN",
"TOURIST_ATTRACTIONS",
"AS",
"T2",
"ON",
"T1.Tourist_Attraction_ID",
"=",
"T2.Tourist_Attraction_ID",
"WHERE",
"T1.Name",
"=",
"``",
"game1",
"''"
] | [
"select",
"t2",
".",
"name",
"from",
"photos",
"as",
"t1",
"join",
"tourist_attractions",
"as",
"t2",
"on",
"t1",
".",
"tourist_attraction_id",
"=",
"t2",
".",
"tourist_attraction_id",
"where",
"t1",
".",
"name",
"=",
"value"
] | [
"What",
"is",
"the",
"name",
"of",
"the",
"tourist",
"attraction",
"that",
"is",
"associated",
"with",
"the",
"photo",
"``",
"game1",
"''",
"?"
] | [
"What",
"is",
"the",
"<mask>",
"of",
"the",
"<mask>",
"<mask>",
"that",
"is",
"associated",
"with",
"the",
"<mask>",
"``",
"game1",
"''",
"?"
] | [
"select",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
"=",
"<unk>"
] |
cre_Theme_park | SELECT T2.Name FROM PHOTOS AS T1 JOIN TOURIST_ATTRACTIONS AS T2 ON T1.Tourist_Attraction_ID = T2.Tourist_Attraction_ID WHERE T1.Name = "game1" | Which tourist attraction is associated with the photo "game1"? Return its name. | [
"SELECT",
"T2.Name",
"FROM",
"PHOTOS",
"AS",
"T1",
"JOIN",
"TOURIST_ATTRACTIONS",
"AS",
"T2",
"ON",
"T1.Tourist_Attraction_ID",
"=",
"T2.Tourist_Attraction_ID",
"WHERE",
"T1.Name",
"=",
"``",
"game1",
"''"
] | [
"select",
"t2",
".",
"name",
"from",
"photos",
"as",
"t1",
"join",
"tourist_attractions",
"as",
"t2",
"on",
"t1",
".",
"tourist_attraction_id",
"=",
"t2",
".",
"tourist_attraction_id",
"where",
"t1",
".",
"name",
"=",
"value"
] | [
"Which",
"tourist",
"attraction",
"is",
"associated",
"with",
"the",
"photo",
"``",
"game1",
"''",
"?",
"Return",
"its",
"name",
"."
] | [
"Which",
"<mask>",
"<mask>",
"is",
"associated",
"with",
"the",
"<mask>",
"``",
"game1",
"''",
"?",
"Return",
"its",
"<mask>",
"."
] | [
"select",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
"=",
"<unk>"
] |
cre_Theme_park | SELECT T1.Name , T1.Description FROM PHOTOS AS T1 JOIN TOURIST_ATTRACTIONS AS T2 ON T1.Tourist_Attraction_ID = T2.Tourist_Attraction_ID WHERE T2.Name = "film festival" | What are the names and descriptions of the photos taken at the tourist attraction "film festival"? | [
"SELECT",
"T1.Name",
",",
"T1.Description",
"FROM",
"PHOTOS",
"AS",
"T1",
"JOIN",
"TOURIST_ATTRACTIONS",
"AS",
"T2",
"ON",
"T1.Tourist_Attraction_ID",
"=",
"T2.Tourist_Attraction_ID",
"WHERE",
"T2.Name",
"=",
"``",
"film",
"festival",
"''"
] | [
"select",
"t1",
".",
"name",
",",
"t1",
".",
"description",
"from",
"photos",
"as",
"t1",
"join",
"tourist_attractions",
"as",
"t2",
"on",
"t1",
".",
"tourist_attraction_id",
"=",
"t2",
".",
"tourist_attraction_id",
"where",
"t2",
".",
"name",
"=",
"value"
] | [
"What",
"are",
"the",
"names",
"and",
"descriptions",
"of",
"the",
"photos",
"taken",
"at",
"the",
"tourist",
"attraction",
"``",
"film",
"festival",
"''",
"?"
] | [
"What",
"are",
"the",
"<mask>",
"and",
"<mask>",
"of",
"the",
"<mask>",
"taken",
"at",
"the",
"<mask>",
"<mask>",
"``",
"film",
"festival",
"''",
"?"
] | [
"select",
"<mask>",
".",
"<mask>",
",",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
"=",
"<unk>"
] |
cre_Theme_park | SELECT T1.Name , T1.Description FROM PHOTOS AS T1 JOIN TOURIST_ATTRACTIONS AS T2 ON T1.Tourist_Attraction_ID = T2.Tourist_Attraction_ID WHERE T2.Name = "film festival" | Find the names and descriptions of the photos taken at the tourist attraction called "film festival". | [
"SELECT",
"T1.Name",
",",
"T1.Description",
"FROM",
"PHOTOS",
"AS",
"T1",
"JOIN",
"TOURIST_ATTRACTIONS",
"AS",
"T2",
"ON",
"T1.Tourist_Attraction_ID",
"=",
"T2.Tourist_Attraction_ID",
"WHERE",
"T2.Name",
"=",
"``",
"film",
"festival",
"''"
] | [
"select",
"t1",
".",
"name",
",",
"t1",
".",
"description",
"from",
"photos",
"as",
"t1",
"join",
"tourist_attractions",
"as",
"t2",
"on",
"t1",
".",
"tourist_attraction_id",
"=",
"t2",
".",
"tourist_attraction_id",
"where",
"t2",
".",
"name",
"=",
"value"
] | [
"Find",
"the",
"names",
"and",
"descriptions",
"of",
"the",
"photos",
"taken",
"at",
"the",
"tourist",
"attraction",
"called",
"``",
"film",
"festival",
"''",
"."
] | [
"Find",
"the",
"<mask>",
"and",
"<mask>",
"of",
"the",
"<mask>",
"taken",
"at",
"the",
"<mask>",
"<mask>",
"called",
"``",
"film",
"festival",
"''",
"."
] | [
"select",
"<mask>",
".",
"<mask>",
",",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
"=",
"<unk>"
] |
cre_Theme_park | SELECT T1.Royal_Family_Details , T2.How_to_Get_There FROM ROYAL_FAMILY AS T1 JOIN TOURIST_ATTRACTIONS AS T2 ON T1.Royal_Family_ID = T2.Tourist_Attraction_ID | What are the details and ways to get to tourist attractions related to royal family? | [
"SELECT",
"T1.Royal_Family_Details",
",",
"T2.How_to_Get_There",
"FROM",
"ROYAL_FAMILY",
"AS",
"T1",
"JOIN",
"TOURIST_ATTRACTIONS",
"AS",
"T2",
"ON",
"T1.Royal_Family_ID",
"=",
"T2.Tourist_Attraction_ID"
] | [
"select",
"t1",
".",
"royal_family_details",
",",
"t2",
".",
"how_to_get_there",
"from",
"royal_family",
"as",
"t1",
"join",
"tourist_attractions",
"as",
"t2",
"on",
"t1",
".",
"royal_family_id",
"=",
"t2",
".",
"tourist_attraction_id"
] | [
"What",
"are",
"the",
"details",
"and",
"ways",
"to",
"get",
"to",
"tourist",
"attractions",
"related",
"to",
"royal",
"family",
"?"
] | [
"What",
"are",
"the",
"details",
"and",
"ways",
"to",
"<mask>",
"to",
"<mask>",
"<mask>",
"related",
"to",
"<mask>",
"<mask>",
"?"
] | [
"select",
"<mask>",
".",
"<mask>",
",",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>"
] |
cre_Theme_park | SELECT T1.Royal_Family_Details , T2.How_to_Get_There FROM ROYAL_FAMILY AS T1 JOIN TOURIST_ATTRACTIONS AS T2 ON T1.Royal_Family_ID = T2.Tourist_Attraction_ID | Which tourist attractions are related to royal family? Tell me their details and how we can get there. | [
"SELECT",
"T1.Royal_Family_Details",
",",
"T2.How_to_Get_There",
"FROM",
"ROYAL_FAMILY",
"AS",
"T1",
"JOIN",
"TOURIST_ATTRACTIONS",
"AS",
"T2",
"ON",
"T1.Royal_Family_ID",
"=",
"T2.Tourist_Attraction_ID"
] | [
"select",
"t1",
".",
"royal_family_details",
",",
"t2",
".",
"how_to_get_there",
"from",
"royal_family",
"as",
"t1",
"join",
"tourist_attractions",
"as",
"t2",
"on",
"t1",
".",
"royal_family_id",
"=",
"t2",
".",
"tourist_attraction_id"
] | [
"Which",
"tourist",
"attractions",
"are",
"related",
"to",
"royal",
"family",
"?",
"Tell",
"me",
"their",
"details",
"and",
"how",
"we",
"can",
"get",
"there",
"."
] | [
"Which",
"<mask>",
"<mask>",
"are",
"related",
"to",
"<mask>",
"<mask>",
"?",
"Tell",
"me",
"their",
"details",
"and",
"<mask>",
"we",
"can",
"<mask>",
"<mask>",
"."
] | [
"select",
"<mask>",
".",
"<mask>",
",",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>"
] |
cre_Theme_park | SELECT T1.Shop_Details FROM SHOPS AS T1 JOIN TOURIST_ATTRACTIONS AS T2 ON T1.Shop_ID = T2.Tourist_Attraction_ID WHERE T2.How_to_Get_There = "walk" | What are the details of the shops that can be accessed by walk? | [
"SELECT",
"T1.Shop_Details",
"FROM",
"SHOPS",
"AS",
"T1",
"JOIN",
"TOURIST_ATTRACTIONS",
"AS",
"T2",
"ON",
"T1.Shop_ID",
"=",
"T2.Tourist_Attraction_ID",
"WHERE",
"T2.How_to_Get_There",
"=",
"``",
"walk",
"''"
] | [
"select",
"t1",
".",
"shop_details",
"from",
"shops",
"as",
"t1",
"join",
"tourist_attractions",
"as",
"t2",
"on",
"t1",
".",
"shop_id",
"=",
"t2",
".",
"tourist_attraction_id",
"where",
"t2",
".",
"how_to_get_there",
"=",
"value"
] | [
"What",
"are",
"the",
"details",
"of",
"the",
"shops",
"that",
"can",
"be",
"accessed",
"by",
"walk",
"?"
] | [
"What",
"are",
"the",
"details",
"of",
"the",
"<mask>",
"that",
"can",
"be",
"accessed",
"by",
"walk",
"?"
] | [
"select",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
"=",
"<unk>"
] |
cre_Theme_park | SELECT T1.Shop_Details FROM SHOPS AS T1 JOIN TOURIST_ATTRACTIONS AS T2 ON T1.Shop_ID = T2.Tourist_Attraction_ID WHERE T2.How_to_Get_There = "walk" | Find the details of the shops that can be reached by walk. | [
"SELECT",
"T1.Shop_Details",
"FROM",
"SHOPS",
"AS",
"T1",
"JOIN",
"TOURIST_ATTRACTIONS",
"AS",
"T2",
"ON",
"T1.Shop_ID",
"=",
"T2.Tourist_Attraction_ID",
"WHERE",
"T2.How_to_Get_There",
"=",
"``",
"walk",
"''"
] | [
"select",
"t1",
".",
"shop_details",
"from",
"shops",
"as",
"t1",
"join",
"tourist_attractions",
"as",
"t2",
"on",
"t1",
".",
"shop_id",
"=",
"t2",
".",
"tourist_attraction_id",
"where",
"t2",
".",
"how_to_get_there",
"=",
"value"
] | [
"Find",
"the",
"details",
"of",
"the",
"shops",
"that",
"can",
"be",
"reached",
"by",
"walk",
"."
] | [
"Find",
"the",
"details",
"of",
"the",
"<mask>",
"that",
"can",
"be",
"reached",
"by",
"walk",
"."
] | [
"select",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
"=",
"<unk>"
] |
cre_Theme_park | SELECT T1.Name FROM STAFF AS T1 JOIN TOURIST_ATTRACTIONS AS T2 ON T1.Tourist_Attraction_ID = T2.Tourist_Attraction_ID WHERE T2.Name = "US museum" | What is the name of the staff that is in charge of the attraction named "US museum"? | [
"SELECT",
"T1.Name",
"FROM",
"STAFF",
"AS",
"T1",
"JOIN",
"TOURIST_ATTRACTIONS",
"AS",
"T2",
"ON",
"T1.Tourist_Attraction_ID",
"=",
"T2.Tourist_Attraction_ID",
"WHERE",
"T2.Name",
"=",
"``",
"US",
"museum",
"''"
] | [
"select",
"t1",
".",
"name",
"from",
"staff",
"as",
"t1",
"join",
"tourist_attractions",
"as",
"t2",
"on",
"t1",
".",
"tourist_attraction_id",
"=",
"t2",
".",
"tourist_attraction_id",
"where",
"t2",
".",
"name",
"=",
"value"
] | [
"What",
"is",
"the",
"name",
"of",
"the",
"staff",
"that",
"is",
"in",
"charge",
"of",
"the",
"attraction",
"named",
"``",
"US",
"museum",
"''",
"?"
] | [
"What",
"is",
"the",
"<mask>",
"of",
"the",
"<mask>",
"that",
"is",
"in",
"charge",
"of",
"the",
"<mask>",
"<mask>",
"``",
"US",
"<mask>",
"''",
"?"
] | [
"select",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
"=",
"<unk>"
] |
cre_Theme_park | SELECT T1.Name FROM STAFF AS T1 JOIN TOURIST_ATTRACTIONS AS T2 ON T1.Tourist_Attraction_ID = T2.Tourist_Attraction_ID WHERE T2.Name = "US museum" | Tell me the name of the staff in charge of the attraction called "US museum". | [
"SELECT",
"T1.Name",
"FROM",
"STAFF",
"AS",
"T1",
"JOIN",
"TOURIST_ATTRACTIONS",
"AS",
"T2",
"ON",
"T1.Tourist_Attraction_ID",
"=",
"T2.Tourist_Attraction_ID",
"WHERE",
"T2.Name",
"=",
"``",
"US",
"museum",
"''"
] | [
"select",
"t1",
".",
"name",
"from",
"staff",
"as",
"t1",
"join",
"tourist_attractions",
"as",
"t2",
"on",
"t1",
".",
"tourist_attraction_id",
"=",
"t2",
".",
"tourist_attraction_id",
"where",
"t2",
".",
"name",
"=",
"value"
] | [
"Tell",
"me",
"the",
"name",
"of",
"the",
"staff",
"in",
"charge",
"of",
"the",
"attraction",
"called",
"``",
"US",
"museum",
"''",
"."
] | [
"Tell",
"me",
"the",
"<mask>",
"of",
"the",
"<mask>",
"in",
"charge",
"of",
"the",
"<mask>",
"called",
"``",
"US",
"<mask>",
"''",
"."
] | [
"select",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
"=",
"<unk>"
] |
cre_Theme_park | SELECT T1.Market_Details FROM Street_Markets AS T1 JOIN TOURIST_ATTRACTIONS AS T2 ON T1.Market_ID = T2.Tourist_Attraction_ID WHERE T2.How_to_Get_There = "walk" OR T2.How_to_Get_There = "bus" | What are the details of the markets that can be accessed by walk or bus? | [
"SELECT",
"T1.Market_Details",
"FROM",
"Street_Markets",
"AS",
"T1",
"JOIN",
"TOURIST_ATTRACTIONS",
"AS",
"T2",
"ON",
"T1.Market_ID",
"=",
"T2.Tourist_Attraction_ID",
"WHERE",
"T2.How_to_Get_There",
"=",
"``",
"walk",
"''",
"OR",
"T2.How_to_Get_There",
"=",
"``",
"bus... | [
"select",
"t1",
".",
"market_details",
"from",
"street_markets",
"as",
"t1",
"join",
"tourist_attractions",
"as",
"t2",
"on",
"t1",
".",
"market_id",
"=",
"t2",
".",
"tourist_attraction_id",
"where",
"t2",
".",
"how_to_get_there",
"=",
"value",
"or",
"t2",
"."... | [
"What",
"are",
"the",
"details",
"of",
"the",
"markets",
"that",
"can",
"be",
"accessed",
"by",
"walk",
"or",
"bus",
"?"
] | [
"What",
"are",
"the",
"details",
"of",
"the",
"<mask>",
"that",
"can",
"be",
"accessed",
"by",
"walk",
"or",
"bus",
"?"
] | [
"select",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
"=",
"<unk>",
"or",
"<mask>",
".",
"<mask>",
"=",
"<unk>... |
cre_Theme_park | SELECT T1.Market_Details FROM Street_Markets AS T1 JOIN TOURIST_ATTRACTIONS AS T2 ON T1.Market_ID = T2.Tourist_Attraction_ID WHERE T2.How_to_Get_There = "walk" OR T2.How_to_Get_There = "bus" | Find the details of all the markets that are accessible by walk or bus. | [
"SELECT",
"T1.Market_Details",
"FROM",
"Street_Markets",
"AS",
"T1",
"JOIN",
"TOURIST_ATTRACTIONS",
"AS",
"T2",
"ON",
"T1.Market_ID",
"=",
"T2.Tourist_Attraction_ID",
"WHERE",
"T2.How_to_Get_There",
"=",
"``",
"walk",
"''",
"OR",
"T2.How_to_Get_There",
"=",
"``",
"bus... | [
"select",
"t1",
".",
"market_details",
"from",
"street_markets",
"as",
"t1",
"join",
"tourist_attractions",
"as",
"t2",
"on",
"t1",
".",
"market_id",
"=",
"t2",
".",
"tourist_attraction_id",
"where",
"t2",
".",
"how_to_get_there",
"=",
"value",
"or",
"t2",
"."... | [
"Find",
"the",
"details",
"of",
"all",
"the",
"markets",
"that",
"are",
"accessible",
"by",
"walk",
"or",
"bus",
"."
] | [
"Find",
"the",
"details",
"of",
"all",
"the",
"<mask>",
"that",
"are",
"accessible",
"by",
"walk",
"or",
"bus",
"."
] | [
"select",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
"=",
"<unk>",
"or",
"<mask>",
".",
"<mask>",
"=",
"<unk>... |
cre_Theme_park | SELECT T2.Visit_Date , T2.Visit_Details FROM VISITORS AS T1 JOIN VISITS AS T2 ON T1.Tourist_ID = T2.Tourist_ID WHERE T1.Tourist_Details = "Vincent" | What are the visit date and details of the visitor whose detail is 'Vincent'? | [
"SELECT",
"T2.Visit_Date",
",",
"T2.Visit_Details",
"FROM",
"VISITORS",
"AS",
"T1",
"JOIN",
"VISITS",
"AS",
"T2",
"ON",
"T1.Tourist_ID",
"=",
"T2.Tourist_ID",
"WHERE",
"T1.Tourist_Details",
"=",
"``",
"Vincent",
"''"
] | [
"select",
"t2",
".",
"visit_date",
",",
"t2",
".",
"visit_details",
"from",
"visitors",
"as",
"t1",
"join",
"visits",
"as",
"t2",
"on",
"t1",
".",
"tourist_id",
"=",
"t2",
".",
"tourist_id",
"where",
"t1",
".",
"tourist_details",
"=",
"value"
] | [
"What",
"are",
"the",
"visit",
"date",
"and",
"details",
"of",
"the",
"visitor",
"whose",
"detail",
"is",
"'Vincent",
"'",
"?"
] | [
"What",
"are",
"the",
"<mask>",
"<mask>",
"and",
"details",
"of",
"the",
"visitor",
"whose",
"detail",
"is",
"'Vincent",
"'",
"?"
] | [
"select",
"<mask>",
".",
"<mask>",
",",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
"=",
"<unk>"
] |
cre_Theme_park | SELECT T2.Visit_Date , T2.Visit_Details FROM VISITORS AS T1 JOIN VISITS AS T2 ON T1.Tourist_ID = T2.Tourist_ID WHERE T1.Tourist_Details = "Vincent" | Find the visit date and details of the tourist whose detail is 'Vincent' | [
"SELECT",
"T2.Visit_Date",
",",
"T2.Visit_Details",
"FROM",
"VISITORS",
"AS",
"T1",
"JOIN",
"VISITS",
"AS",
"T2",
"ON",
"T1.Tourist_ID",
"=",
"T2.Tourist_ID",
"WHERE",
"T1.Tourist_Details",
"=",
"``",
"Vincent",
"''"
] | [
"select",
"t2",
".",
"visit_date",
",",
"t2",
".",
"visit_details",
"from",
"visitors",
"as",
"t1",
"join",
"visits",
"as",
"t2",
"on",
"t1",
".",
"tourist_id",
"=",
"t2",
".",
"tourist_id",
"where",
"t1",
".",
"tourist_details",
"=",
"value"
] | [
"Find",
"the",
"visit",
"date",
"and",
"details",
"of",
"the",
"tourist",
"whose",
"detail",
"is",
"'Vincent",
"'"
] | [
"Find",
"the",
"<mask>",
"<mask>",
"and",
"details",
"of",
"the",
"<mask>",
"whose",
"detail",
"is",
"'Vincent",
"'"
] | [
"select",
"<mask>",
".",
"<mask>",
",",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
"=",
"<unk>"
] |
cre_Theme_park | SELECT T1.Name FROM Tourist_Attractions AS T1 JOIN VISITS AS T2 ON T1.Tourist_Attraction_ID = T2.Tourist_Attraction_ID JOIN VISITORS AS T3 ON T2.Tourist_ID = T3.Tourist_ID WHERE T3.Tourist_Details = "Vincent" | Which tourist attractions does the visitor with detail 'Vincent' visit? | [
"SELECT",
"T1.Name",
"FROM",
"Tourist_Attractions",
"AS",
"T1",
"JOIN",
"VISITS",
"AS",
"T2",
"ON",
"T1.Tourist_Attraction_ID",
"=",
"T2.Tourist_Attraction_ID",
"JOIN",
"VISITORS",
"AS",
"T3",
"ON",
"T2.Tourist_ID",
"=",
"T3.Tourist_ID",
"WHERE",
"T3.Tourist_Details",
... | [
"select",
"t1",
".",
"name",
"from",
"tourist_attractions",
"as",
"t1",
"join",
"visits",
"as",
"t2",
"on",
"t1",
".",
"tourist_attraction_id",
"=",
"t2",
".",
"tourist_attraction_id",
"join",
"visitors",
"as",
"t3",
"on",
"t2",
".",
"tourist_id",
"=",
"t3",... | [
"Which",
"tourist",
"attractions",
"does",
"the",
"visitor",
"with",
"detail",
"'Vincent",
"'",
"visit",
"?"
] | [
"Which",
"<mask>",
"<mask>",
"does",
"the",
"visitor",
"with",
"detail",
"'Vincent",
"'",
"<mask>",
"?"
] | [
"select",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mas... |
cre_Theme_park | SELECT T1.Name FROM Tourist_Attractions AS T1 JOIN VISITS AS T2 ON T1.Tourist_Attraction_ID = T2.Tourist_Attraction_ID JOIN VISITORS AS T3 ON T2.Tourist_ID = T3.Tourist_ID WHERE T3.Tourist_Details = "Vincent" | Show the tourist attractions visited by the tourist whose detail is 'Vincent'. | [
"SELECT",
"T1.Name",
"FROM",
"Tourist_Attractions",
"AS",
"T1",
"JOIN",
"VISITS",
"AS",
"T2",
"ON",
"T1.Tourist_Attraction_ID",
"=",
"T2.Tourist_Attraction_ID",
"JOIN",
"VISITORS",
"AS",
"T3",
"ON",
"T2.Tourist_ID",
"=",
"T3.Tourist_ID",
"WHERE",
"T3.Tourist_Details",
... | [
"select",
"t1",
".",
"name",
"from",
"tourist_attractions",
"as",
"t1",
"join",
"visits",
"as",
"t2",
"on",
"t1",
".",
"tourist_attraction_id",
"=",
"t2",
".",
"tourist_attraction_id",
"join",
"visitors",
"as",
"t3",
"on",
"t2",
".",
"tourist_id",
"=",
"t3",... | [
"Show",
"the",
"tourist",
"attractions",
"visited",
"by",
"the",
"tourist",
"whose",
"detail",
"is",
"'Vincent",
"'",
"."
] | [
"Show",
"the",
"<mask>",
"<mask>",
"<mask>",
"by",
"the",
"<mask>",
"whose",
"detail",
"is",
"'Vincent",
"'",
"."
] | [
"select",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mas... |
cre_Theme_park | SELECT T1.Name , T3.Visit_Date FROM Tourist_Attractions AS T1 JOIN VISITORS AS T2 JOIN VISITS AS T3 ON T1.Tourist_Attraction_ID = T3.Tourist_Attraction_ID AND T2.Tourist_ID = T3.Tourist_ID WHERE T2.Tourist_Details = "Vincent" OR T2.Tourist_Details = "Vivian" | What are the names of the tourist attractions and the dates when the tourists named Vincent or Vivian visited there? | [
"SELECT",
"T1.Name",
",",
"T3.Visit_Date",
"FROM",
"Tourist_Attractions",
"AS",
"T1",
"JOIN",
"VISITORS",
"AS",
"T2",
"JOIN",
"VISITS",
"AS",
"T3",
"ON",
"T1.Tourist_Attraction_ID",
"=",
"T3.Tourist_Attraction_ID",
"AND",
"T2.Tourist_ID",
"=",
"T3.Tourist_ID",
"WHERE"... | [
"select",
"t1",
".",
"name",
",",
"t3",
".",
"visit_date",
"from",
"tourist_attractions",
"as",
"t1",
"join",
"visitors",
"as",
"t2",
"join",
"visits",
"as",
"t3",
"on",
"t1",
".",
"tourist_attraction_id",
"=",
"t3",
".",
"tourist_attraction_id",
"and",
"t2"... | [
"What",
"are",
"the",
"names",
"of",
"the",
"tourist",
"attractions",
"and",
"the",
"dates",
"when",
"the",
"tourists",
"named",
"Vincent",
"or",
"Vivian",
"visited",
"there",
"?"
] | [
"What",
"are",
"the",
"<mask>",
"of",
"the",
"<mask>",
"<mask>",
"and",
"the",
"<mask>",
"when",
"the",
"<mask>",
"<mask>",
"Vincent",
"or",
"Vivian",
"<mask>",
"<mask>",
"?"
] | [
"select",
"<mask>",
".",
"<mask>",
",",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"and",
"<mask>",
".",
"<ma... |
cre_Theme_park | SELECT T1.Name , T3.Visit_Date FROM Tourist_Attractions AS T1 JOIN VISITORS AS T2 JOIN VISITS AS T3 ON T1.Tourist_Attraction_ID = T3.Tourist_Attraction_ID AND T2.Tourist_ID = T3.Tourist_ID WHERE T2.Tourist_Details = "Vincent" OR T2.Tourist_Details = "Vivian" | For each tourist attraction, return its name and the date when the tourists named Vincent or Vivian visited there. | [
"SELECT",
"T1.Name",
",",
"T3.Visit_Date",
"FROM",
"Tourist_Attractions",
"AS",
"T1",
"JOIN",
"VISITORS",
"AS",
"T2",
"JOIN",
"VISITS",
"AS",
"T3",
"ON",
"T1.Tourist_Attraction_ID",
"=",
"T3.Tourist_Attraction_ID",
"AND",
"T2.Tourist_ID",
"=",
"T3.Tourist_ID",
"WHERE"... | [
"select",
"t1",
".",
"name",
",",
"t3",
".",
"visit_date",
"from",
"tourist_attractions",
"as",
"t1",
"join",
"visitors",
"as",
"t2",
"join",
"visits",
"as",
"t3",
"on",
"t1",
".",
"tourist_attraction_id",
"=",
"t3",
".",
"tourist_attraction_id",
"and",
"t2"... | [
"For",
"each",
"tourist",
"attraction",
",",
"return",
"its",
"name",
"and",
"the",
"date",
"when",
"the",
"tourists",
"named",
"Vincent",
"or",
"Vivian",
"visited",
"there",
"."
] | [
"For",
"each",
"<mask>",
"<mask>",
",",
"return",
"its",
"<mask>",
"and",
"the",
"<mask>",
"when",
"the",
"<mask>",
"<mask>",
"Vincent",
"or",
"Vivian",
"<mask>",
"<mask>",
"."
] | [
"select",
"<mask>",
".",
"<mask>",
",",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"and",
"<mask>",
".",
"<ma... |
cre_Theme_park | SELECT star_rating_code , avg(price_range) FROM HOTELS GROUP BY star_rating_code | Show the average price of hotels for each star rating code. | [
"SELECT",
"star_rating_code",
",",
"avg",
"(",
"price_range",
")",
"FROM",
"HOTELS",
"GROUP",
"BY",
"star_rating_code"
] | [
"select",
"star_rating_code",
",",
"avg",
"(",
"price_range",
")",
"from",
"hotels",
"group",
"by",
"star_rating_code"
] | [
"Show",
"the",
"average",
"price",
"of",
"hotels",
"for",
"each",
"star",
"rating",
"code",
"."
] | [
"Show",
"the",
"average",
"<mask>",
"of",
"<mask>",
"for",
"each",
"<mask>",
"<mask>",
"<mask>",
"."
] | [
"select",
"<mask>",
",",
"avg",
"(",
"<mask>",
")",
"from",
"<mask>",
"group",
"by",
"<mask>"
] |
cre_Theme_park | SELECT star_rating_code , avg(price_range) FROM HOTELS GROUP BY star_rating_code | What is the average price range of hotels for each each star rating code? | [
"SELECT",
"star_rating_code",
",",
"avg",
"(",
"price_range",
")",
"FROM",
"HOTELS",
"GROUP",
"BY",
"star_rating_code"
] | [
"select",
"star_rating_code",
",",
"avg",
"(",
"price_range",
")",
"from",
"hotels",
"group",
"by",
"star_rating_code"
] | [
"What",
"is",
"the",
"average",
"price",
"range",
"of",
"hotels",
"for",
"each",
"each",
"star",
"rating",
"code",
"?"
] | [
"What",
"is",
"the",
"average",
"<mask>",
"<mask>",
"of",
"<mask>",
"for",
"each",
"each",
"<mask>",
"<mask>",
"<mask>",
"?"
] | [
"select",
"<mask>",
",",
"avg",
"(",
"<mask>",
")",
"from",
"<mask>",
"group",
"by",
"<mask>"
] |
cre_Theme_park | SELECT pets_allowed_yn , avg(price_range) FROM HOTELS GROUP BY pets_allowed_yn | Show the average price of hotels for different pet policy. | [
"SELECT",
"pets_allowed_yn",
",",
"avg",
"(",
"price_range",
")",
"FROM",
"HOTELS",
"GROUP",
"BY",
"pets_allowed_yn"
] | [
"select",
"pets_allowed_yn",
",",
"avg",
"(",
"price_range",
")",
"from",
"hotels",
"group",
"by",
"pets_allowed_yn"
] | [
"Show",
"the",
"average",
"price",
"of",
"hotels",
"for",
"different",
"pet",
"policy",
"."
] | [
"Show",
"the",
"average",
"<mask>",
"of",
"<mask>",
"for",
"different",
"pet",
"policy",
"."
] | [
"select",
"<mask>",
",",
"avg",
"(",
"<mask>",
")",
"from",
"<mask>",
"group",
"by",
"<mask>"
] |
cre_Theme_park | SELECT pets_allowed_yn , avg(price_range) FROM HOTELS GROUP BY pets_allowed_yn | What are the average prices of hotels grouped by their pet policy. | [
"SELECT",
"pets_allowed_yn",
",",
"avg",
"(",
"price_range",
")",
"FROM",
"HOTELS",
"GROUP",
"BY",
"pets_allowed_yn"
] | [
"select",
"pets_allowed_yn",
",",
"avg",
"(",
"price_range",
")",
"from",
"hotels",
"group",
"by",
"pets_allowed_yn"
] | [
"What",
"are",
"the",
"average",
"prices",
"of",
"hotels",
"grouped",
"by",
"their",
"pet",
"policy",
"."
] | [
"What",
"are",
"the",
"average",
"<mask>",
"of",
"<mask>",
"grouped",
"by",
"their",
"pet",
"policy",
"."
] | [
"select",
"<mask>",
",",
"avg",
"(",
"<mask>",
")",
"from",
"<mask>",
"group",
"by",
"<mask>"
] |
cre_Theme_park | SELECT hotel_id , star_rating_code FROM HOTELS ORDER BY price_range ASC | Show the id and star rating of each hotel, ordered by its price from low to high. | [
"SELECT",
"hotel_id",
",",
"star_rating_code",
"FROM",
"HOTELS",
"ORDER",
"BY",
"price_range",
"ASC"
] | [
"select",
"hotel_id",
",",
"star_rating_code",
"from",
"hotels",
"order",
"by",
"price_range",
"asc"
] | [
"Show",
"the",
"id",
"and",
"star",
"rating",
"of",
"each",
"hotel",
",",
"ordered",
"by",
"its",
"price",
"from",
"low",
"to",
"high",
"."
] | [
"Show",
"the",
"id",
"and",
"<mask>",
"<mask>",
"of",
"each",
"<mask>",
",",
"ordered",
"by",
"its",
"<mask>",
"from",
"low",
"to",
"high",
"."
] | [
"select",
"<mask>",
",",
"<mask>",
"from",
"<mask>",
"order",
"by",
"<mask>",
"asc"
] |
cre_Theme_park | SELECT hotel_id , star_rating_code FROM HOTELS ORDER BY price_range ASC | Find the id and star rating of each hotel and sort them in increasing order of price. | [
"SELECT",
"hotel_id",
",",
"star_rating_code",
"FROM",
"HOTELS",
"ORDER",
"BY",
"price_range",
"ASC"
] | [
"select",
"hotel_id",
",",
"star_rating_code",
"from",
"hotels",
"order",
"by",
"price_range",
"asc"
] | [
"Find",
"the",
"id",
"and",
"star",
"rating",
"of",
"each",
"hotel",
"and",
"sort",
"them",
"in",
"increasing",
"order",
"of",
"price",
"."
] | [
"Find",
"the",
"id",
"and",
"<mask>",
"<mask>",
"of",
"each",
"<mask>",
"and",
"sort",
"them",
"in",
"increasing",
"order",
"of",
"<mask>",
"."
] | [
"select",
"<mask>",
",",
"<mask>",
"from",
"<mask>",
"order",
"by",
"<mask>",
"asc"
] |
cre_Theme_park | SELECT other_hotel_details FROM HOTELS ORDER BY price_range DESC LIMIT 3 | Show the details of the top 3 most expensive hotels. | [
"SELECT",
"other_hotel_details",
"FROM",
"HOTELS",
"ORDER",
"BY",
"price_range",
"DESC",
"LIMIT",
"3"
] | [
"select",
"other_hotel_details",
"from",
"hotels",
"order",
"by",
"price_range",
"desc",
"limit",
"value"
] | [
"Show",
"the",
"details",
"of",
"the",
"top",
"3",
"most",
"expensive",
"hotels",
"."
] | [
"Show",
"the",
"details",
"of",
"the",
"top",
"<unk>",
"most",
"expensive",
"<mask>",
"."
] | [
"select",
"<mask>",
"from",
"<mask>",
"order",
"by",
"<mask>",
"desc",
"limit",
"<unk>"
] |
cre_Theme_park | SELECT other_hotel_details FROM HOTELS ORDER BY price_range DESC LIMIT 3 | What are the details of the three most expensive hotels? | [
"SELECT",
"other_hotel_details",
"FROM",
"HOTELS",
"ORDER",
"BY",
"price_range",
"DESC",
"LIMIT",
"3"
] | [
"select",
"other_hotel_details",
"from",
"hotels",
"order",
"by",
"price_range",
"desc",
"limit",
"value"
] | [
"What",
"are",
"the",
"details",
"of",
"the",
"three",
"most",
"expensive",
"hotels",
"?"
] | [
"What",
"are",
"the",
"details",
"of",
"the",
"three",
"most",
"expensive",
"<mask>",
"?"
] | [
"select",
"<mask>",
"from",
"<mask>",
"order",
"by",
"<mask>",
"desc",
"limit",
"<unk>"
] |
cre_Theme_park | SELECT other_hotel_details , star_rating_code FROM HOTELS ORDER BY price_range ASC LIMIT 3 | Show the details and star ratings of the 3 least expensive hotels. | [
"SELECT",
"other_hotel_details",
",",
"star_rating_code",
"FROM",
"HOTELS",
"ORDER",
"BY",
"price_range",
"ASC",
"LIMIT",
"3"
] | [
"select",
"other_hotel_details",
",",
"star_rating_code",
"from",
"hotels",
"order",
"by",
"price_range",
"asc",
"limit",
"value"
] | [
"Show",
"the",
"details",
"and",
"star",
"ratings",
"of",
"the",
"3",
"least",
"expensive",
"hotels",
"."
] | [
"Show",
"the",
"details",
"and",
"<mask>",
"<mask>",
"of",
"the",
"<unk>",
"least",
"expensive",
"<mask>",
"."
] | [
"select",
"<mask>",
",",
"<mask>",
"from",
"<mask>",
"order",
"by",
"<mask>",
"asc",
"limit",
"<unk>"
] |
cre_Theme_park | SELECT other_hotel_details , star_rating_code FROM HOTELS ORDER BY price_range ASC LIMIT 3 | What are the details and star ratings of the three hotels with the lowest price ranges? | [
"SELECT",
"other_hotel_details",
",",
"star_rating_code",
"FROM",
"HOTELS",
"ORDER",
"BY",
"price_range",
"ASC",
"LIMIT",
"3"
] | [
"select",
"other_hotel_details",
",",
"star_rating_code",
"from",
"hotels",
"order",
"by",
"price_range",
"asc",
"limit",
"value"
] | [
"What",
"are",
"the",
"details",
"and",
"star",
"ratings",
"of",
"the",
"three",
"hotels",
"with",
"the",
"lowest",
"price",
"ranges",
"?"
] | [
"What",
"are",
"the",
"details",
"and",
"<mask>",
"<mask>",
"of",
"the",
"three",
"<mask>",
"with",
"the",
"lowest",
"<mask>",
"<mask>",
"?"
] | [
"select",
"<mask>",
",",
"<mask>",
"from",
"<mask>",
"order",
"by",
"<mask>",
"asc",
"limit",
"<unk>"
] |
cre_Theme_park | SELECT How_to_Get_There FROM Tourist_Attractions GROUP BY How_to_Get_There ORDER BY COUNT(*) DESC LIMIT 1 | Show the transportation method most people choose to get to tourist attractions. | [
"SELECT",
"How_to_Get_There",
"FROM",
"Tourist_Attractions",
"GROUP",
"BY",
"How_to_Get_There",
"ORDER",
"BY",
"COUNT",
"(",
"*",
")",
"DESC",
"LIMIT",
"1"
] | [
"select",
"how_to_get_there",
"from",
"tourist_attractions",
"group",
"by",
"how_to_get_there",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"value"
] | [
"Show",
"the",
"transportation",
"method",
"most",
"people",
"choose",
"to",
"get",
"to",
"tourist",
"attractions",
"."
] | [
"Show",
"the",
"transportation",
"method",
"most",
"people",
"choose",
"to",
"<mask>",
"to",
"<mask>",
"<mask>",
"."
] | [
"select",
"<mask>",
"from",
"<mask>",
"group",
"by",
"<mask>",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"<unk>"
] |
cre_Theme_park | SELECT How_to_Get_There FROM Tourist_Attractions GROUP BY How_to_Get_There ORDER BY COUNT(*) DESC LIMIT 1 | Which transportation method is used the most often to get to tourist attractions? | [
"SELECT",
"How_to_Get_There",
"FROM",
"Tourist_Attractions",
"GROUP",
"BY",
"How_to_Get_There",
"ORDER",
"BY",
"COUNT",
"(",
"*",
")",
"DESC",
"LIMIT",
"1"
] | [
"select",
"how_to_get_there",
"from",
"tourist_attractions",
"group",
"by",
"how_to_get_there",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"value"
] | [
"Which",
"transportation",
"method",
"is",
"used",
"the",
"most",
"often",
"to",
"get",
"to",
"tourist",
"attractions",
"?"
] | [
"Which",
"transportation",
"method",
"is",
"used",
"the",
"most",
"often",
"to",
"<mask>",
"to",
"<mask>",
"<mask>",
"?"
] | [
"select",
"<mask>",
"from",
"<mask>",
"group",
"by",
"<mask>",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"<unk>"
] |
cre_Theme_park | SELECT T1.Attraction_Type_Description , T2.Attraction_Type_Code FROM Ref_Attraction_Types AS T1 JOIN Tourist_Attractions AS T2 ON T1.Attraction_Type_Code = T2.Attraction_Type_Code GROUP BY T2.Attraction_Type_Code ORDER BY COUNT(*) DESC LIMIT 1 | Show the description and code of the attraction type most tourist attractions belong to. | [
"SELECT",
"T1.Attraction_Type_Description",
",",
"T2.Attraction_Type_Code",
"FROM",
"Ref_Attraction_Types",
"AS",
"T1",
"JOIN",
"Tourist_Attractions",
"AS",
"T2",
"ON",
"T1.Attraction_Type_Code",
"=",
"T2.Attraction_Type_Code",
"GROUP",
"BY",
"T2.Attraction_Type_Code",
"ORDER",... | [
"select",
"t1",
".",
"attraction_type_description",
",",
"t2",
".",
"attraction_type_code",
"from",
"ref_attraction_types",
"as",
"t1",
"join",
"tourist_attractions",
"as",
"t2",
"on",
"t1",
".",
"attraction_type_code",
"=",
"t2",
".",
"attraction_type_code",
"group",... | [
"Show",
"the",
"description",
"and",
"code",
"of",
"the",
"attraction",
"type",
"most",
"tourist",
"attractions",
"belong",
"to",
"."
] | [
"Show",
"the",
"<mask>",
"and",
"<mask>",
"of",
"the",
"<mask>",
"<mask>",
"most",
"<mask>",
"<mask>",
"belong",
"to",
"."
] | [
"select",
"<mask>",
".",
"<mask>",
",",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"group",
"by",
"<mask>",
".",
"<mask>",
"order",
"by",
"coun... |
cre_Theme_park | SELECT T1.Attraction_Type_Description , T2.Attraction_Type_Code FROM Ref_Attraction_Types AS T1 JOIN Tourist_Attractions AS T2 ON T1.Attraction_Type_Code = T2.Attraction_Type_Code GROUP BY T2.Attraction_Type_Code ORDER BY COUNT(*) DESC LIMIT 1 | Which attraction type does the most tourist attractions belong to? Tell me its attraction type description and code. | [
"SELECT",
"T1.Attraction_Type_Description",
",",
"T2.Attraction_Type_Code",
"FROM",
"Ref_Attraction_Types",
"AS",
"T1",
"JOIN",
"Tourist_Attractions",
"AS",
"T2",
"ON",
"T1.Attraction_Type_Code",
"=",
"T2.Attraction_Type_Code",
"GROUP",
"BY",
"T2.Attraction_Type_Code",
"ORDER",... | [
"select",
"t1",
".",
"attraction_type_description",
",",
"t2",
".",
"attraction_type_code",
"from",
"ref_attraction_types",
"as",
"t1",
"join",
"tourist_attractions",
"as",
"t2",
"on",
"t1",
".",
"attraction_type_code",
"=",
"t2",
".",
"attraction_type_code",
"group",... | [
"Which",
"attraction",
"type",
"does",
"the",
"most",
"tourist",
"attractions",
"belong",
"to",
"?",
"Tell",
"me",
"its",
"attraction",
"type",
"description",
"and",
"code",
"."
] | [
"Which",
"<mask>",
"<mask>",
"does",
"the",
"most",
"<mask>",
"<mask>",
"belong",
"to",
"?",
"Tell",
"me",
"its",
"<mask>",
"<mask>",
"<mask>",
"and",
"<mask>",
"."
] | [
"select",
"<mask>",
".",
"<mask>",
",",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"group",
"by",
"<mask>",
".",
"<mask>",
"order",
"by",
"coun... |
cre_Theme_park | SELECT How_to_Get_There , COUNT(*) FROM Tourist_Attractions GROUP BY How_to_Get_There | Show different ways to get to attractions and the number of attractions that can be accessed in the corresponding way. | [
"SELECT",
"How_to_Get_There",
",",
"COUNT",
"(",
"*",
")",
"FROM",
"Tourist_Attractions",
"GROUP",
"BY",
"How_to_Get_There"
] | [
"select",
"how_to_get_there",
",",
"count",
"(",
"*",
")",
"from",
"tourist_attractions",
"group",
"by",
"how_to_get_there"
] | [
"Show",
"different",
"ways",
"to",
"get",
"to",
"attractions",
"and",
"the",
"number",
"of",
"attractions",
"that",
"can",
"be",
"accessed",
"in",
"the",
"corresponding",
"way",
"."
] | [
"Show",
"different",
"ways",
"to",
"<mask>",
"to",
"<mask>",
"and",
"the",
"number",
"of",
"<mask>",
"that",
"can",
"be",
"accessed",
"in",
"the",
"corresponding",
"way",
"."
] | [
"select",
"<mask>",
",",
"count",
"(",
"*",
")",
"from",
"<mask>",
"group",
"by",
"<mask>"
] |
cre_Theme_park | SELECT How_to_Get_There , COUNT(*) FROM Tourist_Attractions GROUP BY How_to_Get_There | List all the possible ways to get to attractions, together with the number of attractions accessible by these methods. | [
"SELECT",
"How_to_Get_There",
",",
"COUNT",
"(",
"*",
")",
"FROM",
"Tourist_Attractions",
"GROUP",
"BY",
"How_to_Get_There"
] | [
"select",
"how_to_get_there",
",",
"count",
"(",
"*",
")",
"from",
"tourist_attractions",
"group",
"by",
"how_to_get_there"
] | [
"List",
"all",
"the",
"possible",
"ways",
"to",
"get",
"to",
"attractions",
",",
"together",
"with",
"the",
"number",
"of",
"attractions",
"accessible",
"by",
"these",
"methods",
"."
] | [
"List",
"all",
"the",
"possible",
"ways",
"to",
"<mask>",
"to",
"<mask>",
",",
"together",
"with",
"the",
"number",
"of",
"<mask>",
"accessible",
"by",
"these",
"methods",
"."
] | [
"select",
"<mask>",
",",
"count",
"(",
"*",
")",
"from",
"<mask>",
"group",
"by",
"<mask>"
] |
cre_Theme_park | SELECT T1.Name , T2.Tourist_Attraction_ID , COUNT(*) FROM Tourist_Attractions AS T1 JOIN VISITS AS T2 ON T1.Tourist_Attraction_ID = T2.Tourist_Attraction_ID GROUP BY T2.Tourist_Attraction_ID | Show different tourist attractions' names, ids, and the corresponding number of visits. | [
"SELECT",
"T1.Name",
",",
"T2.Tourist_Attraction_ID",
",",
"COUNT",
"(",
"*",
")",
"FROM",
"Tourist_Attractions",
"AS",
"T1",
"JOIN",
"VISITS",
"AS",
"T2",
"ON",
"T1.Tourist_Attraction_ID",
"=",
"T2.Tourist_Attraction_ID",
"GROUP",
"BY",
"T2.Tourist_Attraction_ID"
] | [
"select",
"t1",
".",
"name",
",",
"t2",
".",
"tourist_attraction_id",
",",
"count",
"(",
"*",
")",
"from",
"tourist_attractions",
"as",
"t1",
"join",
"visits",
"as",
"t2",
"on",
"t1",
".",
"tourist_attraction_id",
"=",
"t2",
".",
"tourist_attraction_id",
"gr... | [
"Show",
"different",
"tourist",
"attractions",
"'",
"names",
",",
"ids",
",",
"and",
"the",
"corresponding",
"number",
"of",
"visits",
"."
] | [
"Show",
"different",
"<mask>",
"<mask>",
"'",
"<mask>",
",",
"ids",
",",
"and",
"the",
"corresponding",
"number",
"of",
"<mask>",
"."
] | [
"select",
"<mask>",
".",
"<mask>",
",",
"<mask>",
".",
"<mask>",
",",
"count",
"(",
"*",
")",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"group",
"by",
"<mask>",
".",... |
cre_Theme_park | SELECT T1.Name , T2.Tourist_Attraction_ID , COUNT(*) FROM Tourist_Attractions AS T1 JOIN VISITS AS T2 ON T1.Tourist_Attraction_ID = T2.Tourist_Attraction_ID GROUP BY T2.Tourist_Attraction_ID | What are the name, id and the corresponding number of visits for each tourist attraction? | [
"SELECT",
"T1.Name",
",",
"T2.Tourist_Attraction_ID",
",",
"COUNT",
"(",
"*",
")",
"FROM",
"Tourist_Attractions",
"AS",
"T1",
"JOIN",
"VISITS",
"AS",
"T2",
"ON",
"T1.Tourist_Attraction_ID",
"=",
"T2.Tourist_Attraction_ID",
"GROUP",
"BY",
"T2.Tourist_Attraction_ID"
] | [
"select",
"t1",
".",
"name",
",",
"t2",
".",
"tourist_attraction_id",
",",
"count",
"(",
"*",
")",
"from",
"tourist_attractions",
"as",
"t1",
"join",
"visits",
"as",
"t2",
"on",
"t1",
".",
"tourist_attraction_id",
"=",
"t2",
".",
"tourist_attraction_id",
"gr... | [
"What",
"are",
"the",
"name",
",",
"id",
"and",
"the",
"corresponding",
"number",
"of",
"visits",
"for",
"each",
"tourist",
"attraction",
"?"
] | [
"What",
"are",
"the",
"<mask>",
",",
"id",
"and",
"the",
"corresponding",
"number",
"of",
"<mask>",
"for",
"each",
"<mask>",
"<mask>",
"?"
] | [
"select",
"<mask>",
".",
"<mask>",
",",
"<mask>",
".",
"<mask>",
",",
"count",
"(",
"*",
")",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"group",
"by",
"<mask>",
".",... |
cre_Theme_park | SELECT T1.Name , T2.Tourist_Attraction_ID FROM Tourist_Attractions AS T1 JOIN VISITS AS T2 ON T1.Tourist_Attraction_ID = T2.Tourist_Attraction_ID GROUP BY T2.Tourist_Attraction_ID HAVING count(*) >= 2 | Show the names and ids of tourist attractions that are visited at least two times. | [
"SELECT",
"T1.Name",
",",
"T2.Tourist_Attraction_ID",
"FROM",
"Tourist_Attractions",
"AS",
"T1",
"JOIN",
"VISITS",
"AS",
"T2",
"ON",
"T1.Tourist_Attraction_ID",
"=",
"T2.Tourist_Attraction_ID",
"GROUP",
"BY",
"T2.Tourist_Attraction_ID",
"HAVING",
"count",
"(",
"*",
")",... | [
"select",
"t1",
".",
"name",
",",
"t2",
".",
"tourist_attraction_id",
"from",
"tourist_attractions",
"as",
"t1",
"join",
"visits",
"as",
"t2",
"on",
"t1",
".",
"tourist_attraction_id",
"=",
"t2",
".",
"tourist_attraction_id",
"group",
"by",
"t2",
".",
"tourist... | [
"Show",
"the",
"names",
"and",
"ids",
"of",
"tourist",
"attractions",
"that",
"are",
"visited",
"at",
"least",
"two",
"times",
"."
] | [
"Show",
"the",
"<mask>",
"and",
"ids",
"of",
"<mask>",
"<mask>",
"that",
"are",
"<mask>",
"at",
"least",
"two",
"times",
"."
] | [
"select",
"<mask>",
".",
"<mask>",
",",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"group",
"by",
"<mask>",
".",
"<mask>",
"<mask>",
"count",
"... |
cre_Theme_park | SELECT T1.Name , T2.Tourist_Attraction_ID FROM Tourist_Attractions AS T1 JOIN VISITS AS T2 ON T1.Tourist_Attraction_ID = T2.Tourist_Attraction_ID GROUP BY T2.Tourist_Attraction_ID HAVING count(*) >= 2 | Which tourist attractions are visited at least twice? Give me their names and ids. | [
"SELECT",
"T1.Name",
",",
"T2.Tourist_Attraction_ID",
"FROM",
"Tourist_Attractions",
"AS",
"T1",
"JOIN",
"VISITS",
"AS",
"T2",
"ON",
"T1.Tourist_Attraction_ID",
"=",
"T2.Tourist_Attraction_ID",
"GROUP",
"BY",
"T2.Tourist_Attraction_ID",
"HAVING",
"count",
"(",
"*",
")",... | [
"select",
"t1",
".",
"name",
",",
"t2",
".",
"tourist_attraction_id",
"from",
"tourist_attractions",
"as",
"t1",
"join",
"visits",
"as",
"t2",
"on",
"t1",
".",
"tourist_attraction_id",
"=",
"t2",
".",
"tourist_attraction_id",
"group",
"by",
"t2",
".",
"tourist... | [
"Which",
"tourist",
"attractions",
"are",
"visited",
"at",
"least",
"twice",
"?",
"Give",
"me",
"their",
"names",
"and",
"ids",
"."
] | [
"Which",
"<mask>",
"<mask>",
"are",
"<mask>",
"at",
"least",
"twice",
"?",
"Give",
"me",
"their",
"<mask>",
"and",
"ids",
"."
] | [
"select",
"<mask>",
".",
"<mask>",
",",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"group",
"by",
"<mask>",
".",
"<mask>",
"<mask>",
"count",
"... |
cre_Theme_park | SELECT T1.Name , T1.Tourist_Attraction_ID FROM Tourist_Attractions AS T1 JOIN VISITS AS T2 ON T1.Tourist_Attraction_ID = T2.Tourist_Attraction_ID GROUP BY T2.Tourist_Attraction_ID HAVING count(*) <= 1 | Show the names and ids of tourist attractions that are visited at most once. | [
"SELECT",
"T1.Name",
",",
"T1.Tourist_Attraction_ID",
"FROM",
"Tourist_Attractions",
"AS",
"T1",
"JOIN",
"VISITS",
"AS",
"T2",
"ON",
"T1.Tourist_Attraction_ID",
"=",
"T2.Tourist_Attraction_ID",
"GROUP",
"BY",
"T2.Tourist_Attraction_ID",
"HAVING",
"count",
"(",
"*",
")",... | [
"select",
"t1",
".",
"name",
",",
"t1",
".",
"tourist_attraction_id",
"from",
"tourist_attractions",
"as",
"t1",
"join",
"visits",
"as",
"t2",
"on",
"t1",
".",
"tourist_attraction_id",
"=",
"t2",
".",
"tourist_attraction_id",
"group",
"by",
"t2",
".",
"tourist... | [
"Show",
"the",
"names",
"and",
"ids",
"of",
"tourist",
"attractions",
"that",
"are",
"visited",
"at",
"most",
"once",
"."
] | [
"Show",
"the",
"<mask>",
"and",
"ids",
"of",
"<mask>",
"<mask>",
"that",
"are",
"<mask>",
"at",
"most",
"once",
"."
] | [
"select",
"<mask>",
".",
"<mask>",
",",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"group",
"by",
"<mask>",
".",
"<mask>",
"<mask>",
"count",
"... |
cre_Theme_park | SELECT T1.Name , T1.Tourist_Attraction_ID FROM Tourist_Attractions AS T1 JOIN VISITS AS T2 ON T1.Tourist_Attraction_ID = T2.Tourist_Attraction_ID GROUP BY T2.Tourist_Attraction_ID HAVING count(*) <= 1 | What are the names and ids of the tourist attractions that are visited at most once? | [
"SELECT",
"T1.Name",
",",
"T1.Tourist_Attraction_ID",
"FROM",
"Tourist_Attractions",
"AS",
"T1",
"JOIN",
"VISITS",
"AS",
"T2",
"ON",
"T1.Tourist_Attraction_ID",
"=",
"T2.Tourist_Attraction_ID",
"GROUP",
"BY",
"T2.Tourist_Attraction_ID",
"HAVING",
"count",
"(",
"*",
")",... | [
"select",
"t1",
".",
"name",
",",
"t1",
".",
"tourist_attraction_id",
"from",
"tourist_attractions",
"as",
"t1",
"join",
"visits",
"as",
"t2",
"on",
"t1",
".",
"tourist_attraction_id",
"=",
"t2",
".",
"tourist_attraction_id",
"group",
"by",
"t2",
".",
"tourist... | [
"What",
"are",
"the",
"names",
"and",
"ids",
"of",
"the",
"tourist",
"attractions",
"that",
"are",
"visited",
"at",
"most",
"once",
"?"
] | [
"What",
"are",
"the",
"<mask>",
"and",
"ids",
"of",
"the",
"<mask>",
"<mask>",
"that",
"are",
"<mask>",
"at",
"most",
"once",
"?"
] | [
"select",
"<mask>",
".",
"<mask>",
",",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"group",
"by",
"<mask>",
".",
"<mask>",
"<mask>",
"count",
"... |
cre_Theme_park | SELECT T2.Name FROM Locations AS T1 JOIN Tourist_Attractions AS T2 ON T1.Location_ID = T2.Location_ID WHERE T1.Address = "660 Shea Crescent" OR T2.How_to_Get_There = "walk" | What are the names of tourist attractions that can be reached by walk or is at address 660 Shea Crescent? | [
"SELECT",
"T2.Name",
"FROM",
"Locations",
"AS",
"T1",
"JOIN",
"Tourist_Attractions",
"AS",
"T2",
"ON",
"T1.Location_ID",
"=",
"T2.Location_ID",
"WHERE",
"T1.Address",
"=",
"``",
"660",
"Shea",
"Crescent",
"''",
"OR",
"T2.How_to_Get_There",
"=",
"``",
"walk",
"''... | [
"select",
"t2",
".",
"name",
"from",
"locations",
"as",
"t1",
"join",
"tourist_attractions",
"as",
"t2",
"on",
"t1",
".",
"location_id",
"=",
"t2",
".",
"location_id",
"where",
"t1",
".",
"address",
"=",
"value",
"or",
"t2",
".",
"how_to_get_there",
"=",
... | [
"What",
"are",
"the",
"names",
"of",
"tourist",
"attractions",
"that",
"can",
"be",
"reached",
"by",
"walk",
"or",
"is",
"at",
"address",
"660",
"Shea",
"Crescent",
"?"
] | [
"What",
"are",
"the",
"<mask>",
"of",
"<mask>",
"<mask>",
"that",
"can",
"be",
"reached",
"by",
"walk",
"or",
"is",
"at",
"<mask>",
"<unk>",
"Shea",
"Crescent",
"?"
] | [
"select",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
"=",
"<unk>",
"or",
"<mask>",
".",
"<mask>",
"=",
"<unk>... |
cre_Theme_park | SELECT T2.Name FROM Locations AS T1 JOIN Tourist_Attractions AS T2 ON T1.Location_ID = T2.Location_ID WHERE T1.Address = "660 Shea Crescent" OR T2.How_to_Get_There = "walk" | Find the names of the tourist attractions that is either accessible by walk or at address 660 Shea Crescent. | [
"SELECT",
"T2.Name",
"FROM",
"Locations",
"AS",
"T1",
"JOIN",
"Tourist_Attractions",
"AS",
"T2",
"ON",
"T1.Location_ID",
"=",
"T2.Location_ID",
"WHERE",
"T1.Address",
"=",
"``",
"660",
"Shea",
"Crescent",
"''",
"OR",
"T2.How_to_Get_There",
"=",
"``",
"walk",
"''... | [
"select",
"t2",
".",
"name",
"from",
"locations",
"as",
"t1",
"join",
"tourist_attractions",
"as",
"t2",
"on",
"t1",
".",
"location_id",
"=",
"t2",
".",
"location_id",
"where",
"t1",
".",
"address",
"=",
"value",
"or",
"t2",
".",
"how_to_get_there",
"=",
... | [
"Find",
"the",
"names",
"of",
"the",
"tourist",
"attractions",
"that",
"is",
"either",
"accessible",
"by",
"walk",
"or",
"at",
"address",
"660",
"Shea",
"Crescent",
"."
] | [
"Find",
"the",
"<mask>",
"of",
"the",
"<mask>",
"<mask>",
"that",
"is",
"either",
"accessible",
"by",
"walk",
"or",
"at",
"<mask>",
"<unk>",
"Shea",
"Crescent",
"."
] | [
"select",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
"=",
"<unk>",
"or",
"<mask>",
".",
"<mask>",
"=",
"<unk>... |
cre_Theme_park | SELECT T1.Name FROM Tourist_Attractions AS T1 JOIN Tourist_Attraction_Features AS T2 ON T1.tourist_attraction_id = T2.tourist_attraction_id JOIN Features AS T3 ON T2.Feature_ID = T3.Feature_ID WHERE T3.feature_Details = 'park' UNION SELECT T1.Name FROM Tourist_Attractions AS T1 JOIN Tourist_Attraction_Features AS... | What are the names of the tourist attractions that have parking or shopping as their feature details? | [
"SELECT",
"T1.Name",
"FROM",
"Tourist_Attractions",
"AS",
"T1",
"JOIN",
"Tourist_Attraction_Features",
"AS",
"T2",
"ON",
"T1.tourist_attraction_id",
"=",
"T2.tourist_attraction_id",
"JOIN",
"Features",
"AS",
"T3",
"ON",
"T2.Feature_ID",
"=",
"T3.Feature_ID",
"WHERE",
"T... | [
"select",
"t1",
".",
"name",
"from",
"tourist_attractions",
"as",
"t1",
"join",
"tourist_attraction_features",
"as",
"t2",
"on",
"t1",
".",
"tourist_attraction_id",
"=",
"t2",
".",
"tourist_attraction_id",
"join",
"features",
"as",
"t3",
"on",
"t2",
".",
"featur... | [
"What",
"are",
"the",
"names",
"of",
"the",
"tourist",
"attractions",
"that",
"have",
"parking",
"or",
"shopping",
"as",
"their",
"feature",
"details",
"?"
] | [
"What",
"are",
"the",
"<mask>",
"of",
"the",
"<mask>",
"<mask>",
"that",
"have",
"parking",
"or",
"<mask>",
"as",
"their",
"<mask>",
"details",
"?"
] | [
"select",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mas... |
cre_Theme_park | SELECT T1.Name FROM Tourist_Attractions AS T1 JOIN Tourist_Attraction_Features AS T2 ON T1.tourist_attraction_id = T2.tourist_attraction_id JOIN Features AS T3 ON T2.Feature_ID = T3.Feature_ID WHERE T3.feature_Details = 'park' UNION SELECT T1.Name FROM Tourist_Attractions AS T1 JOIN Tourist_Attraction_Features AS... | Find the tourist attractions that have parking or shopping as their feature details. What are the names of the attractions? | [
"SELECT",
"T1.Name",
"FROM",
"Tourist_Attractions",
"AS",
"T1",
"JOIN",
"Tourist_Attraction_Features",
"AS",
"T2",
"ON",
"T1.tourist_attraction_id",
"=",
"T2.tourist_attraction_id",
"JOIN",
"Features",
"AS",
"T3",
"ON",
"T2.Feature_ID",
"=",
"T3.Feature_ID",
"WHERE",
"T... | [
"select",
"t1",
".",
"name",
"from",
"tourist_attractions",
"as",
"t1",
"join",
"tourist_attraction_features",
"as",
"t2",
"on",
"t1",
".",
"tourist_attraction_id",
"=",
"t2",
".",
"tourist_attraction_id",
"join",
"features",
"as",
"t3",
"on",
"t2",
".",
"featur... | [
"Find",
"the",
"tourist",
"attractions",
"that",
"have",
"parking",
"or",
"shopping",
"as",
"their",
"feature",
"details",
".",
"What",
"are",
"the",
"names",
"of",
"the",
"attractions",
"?"
] | [
"Find",
"the",
"<mask>",
"<mask>",
"that",
"have",
"parking",
"or",
"<mask>",
"as",
"their",
"<mask>",
"details",
".",
"What",
"are",
"the",
"<mask>",
"of",
"the",
"<mask>",
"?"
] | [
"select",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mas... |
cre_Theme_park | SELECT T2.Name FROM Locations AS T1 JOIN Tourist_Attractions AS T2 ON T1.Location_ID = T2.Location_ID WHERE T1.Address = "254 Ottilie Junction" OR T2.How_to_Get_There = "bus" | What are the names of tourist attractions that can be reached by bus or is at address 254 Ottilie Junction? | [
"SELECT",
"T2.Name",
"FROM",
"Locations",
"AS",
"T1",
"JOIN",
"Tourist_Attractions",
"AS",
"T2",
"ON",
"T1.Location_ID",
"=",
"T2.Location_ID",
"WHERE",
"T1.Address",
"=",
"``",
"254",
"Ottilie",
"Junction",
"''",
"OR",
"T2.How_to_Get_There",
"=",
"``",
"bus",
"... | [
"select",
"t2",
".",
"name",
"from",
"locations",
"as",
"t1",
"join",
"tourist_attractions",
"as",
"t2",
"on",
"t1",
".",
"location_id",
"=",
"t2",
".",
"location_id",
"where",
"t1",
".",
"address",
"=",
"value",
"or",
"t2",
".",
"how_to_get_there",
"=",
... | [
"What",
"are",
"the",
"names",
"of",
"tourist",
"attractions",
"that",
"can",
"be",
"reached",
"by",
"bus",
"or",
"is",
"at",
"address",
"254",
"Ottilie",
"Junction",
"?"
] | [
"What",
"are",
"the",
"<mask>",
"of",
"<mask>",
"<mask>",
"that",
"can",
"be",
"reached",
"by",
"bus",
"or",
"is",
"at",
"<mask>",
"<unk>",
"Ottilie",
"Junction",
"?"
] | [
"select",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
"=",
"<unk>",
"or",
"<mask>",
".",
"<mask>",
"=",
"<unk>... |
cre_Theme_park | SELECT T2.Name FROM Locations AS T1 JOIN Tourist_Attractions AS T2 ON T1.Location_ID = T2.Location_ID WHERE T1.Address = "254 Ottilie Junction" OR T2.How_to_Get_There = "bus" | Find the names of the tourist attractions that is either accessible by bus or at address 254 Ottilie Junction. | [
"SELECT",
"T2.Name",
"FROM",
"Locations",
"AS",
"T1",
"JOIN",
"Tourist_Attractions",
"AS",
"T2",
"ON",
"T1.Location_ID",
"=",
"T2.Location_ID",
"WHERE",
"T1.Address",
"=",
"``",
"254",
"Ottilie",
"Junction",
"''",
"OR",
"T2.How_to_Get_There",
"=",
"``",
"bus",
"... | [
"select",
"t2",
".",
"name",
"from",
"locations",
"as",
"t1",
"join",
"tourist_attractions",
"as",
"t2",
"on",
"t1",
".",
"location_id",
"=",
"t2",
".",
"location_id",
"where",
"t1",
".",
"address",
"=",
"value",
"or",
"t2",
".",
"how_to_get_there",
"=",
... | [
"Find",
"the",
"names",
"of",
"the",
"tourist",
"attractions",
"that",
"is",
"either",
"accessible",
"by",
"bus",
"or",
"at",
"address",
"254",
"Ottilie",
"Junction",
"."
] | [
"Find",
"the",
"<mask>",
"of",
"the",
"<mask>",
"<mask>",
"that",
"is",
"either",
"accessible",
"by",
"bus",
"or",
"at",
"<mask>",
"<unk>",
"Ottilie",
"Junction",
"."
] | [
"select",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
"=",
"<unk>",
"or",
"<mask>",
".",
"<mask>",
"=",
"<unk>... |
cre_Theme_park | SELECT T1.Name FROM Tourist_Attractions AS T1 JOIN VISITORS AS T2 JOIN VISITS AS T3 ON T1.Tourist_Attraction_ID = T3.Tourist_Attraction_ID AND T2.Tourist_ID = T3.Tourist_ID WHERE T2.Tourist_Details = "Vincent" INTERSECT SELECT T1.Name FROM Tourist_Attractions AS T1 JOIN VISITORS AS T2 JOIN VISITS AS T3 ON T1.Tour... | What are the names of the tourist attractions Vincent and Marcelle visit? | [
"SELECT",
"T1.Name",
"FROM",
"Tourist_Attractions",
"AS",
"T1",
"JOIN",
"VISITORS",
"AS",
"T2",
"JOIN",
"VISITS",
"AS",
"T3",
"ON",
"T1.Tourist_Attraction_ID",
"=",
"T3.Tourist_Attraction_ID",
"AND",
"T2.Tourist_ID",
"=",
"T3.Tourist_ID",
"WHERE",
"T2.Tourist_Details",
... | [
"select",
"t1",
".",
"name",
"from",
"tourist_attractions",
"as",
"t1",
"join",
"visitors",
"as",
"t2",
"join",
"visits",
"as",
"t3",
"on",
"t1",
".",
"tourist_attraction_id",
"=",
"t3",
".",
"tourist_attraction_id",
"and",
"t2",
".",
"tourist_id",
"=",
"t3"... | [
"What",
"are",
"the",
"names",
"of",
"the",
"tourist",
"attractions",
"Vincent",
"and",
"Marcelle",
"visit",
"?"
] | [
"What",
"are",
"the",
"<mask>",
"of",
"the",
"<mask>",
"<mask>",
"Vincent",
"and",
"Marcelle",
"<mask>",
"?"
] | [
"select",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"and",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<ma... |
cre_Theme_park | SELECT T1.Name FROM Tourist_Attractions AS T1 JOIN VISITORS AS T2 JOIN VISITS AS T3 ON T1.Tourist_Attraction_ID = T3.Tourist_Attraction_ID AND T2.Tourist_ID = T3.Tourist_ID WHERE T2.Tourist_Details = "Vincent" INTERSECT SELECT T1.Name FROM Tourist_Attractions AS T1 JOIN VISITORS AS T2 JOIN VISITS AS T3 ON T1.Tour... | Which tourist attractions do the tourists Vincent and Marcelle visit? Tell me the names of the attractions. | [
"SELECT",
"T1.Name",
"FROM",
"Tourist_Attractions",
"AS",
"T1",
"JOIN",
"VISITORS",
"AS",
"T2",
"JOIN",
"VISITS",
"AS",
"T3",
"ON",
"T1.Tourist_Attraction_ID",
"=",
"T3.Tourist_Attraction_ID",
"AND",
"T2.Tourist_ID",
"=",
"T3.Tourist_ID",
"WHERE",
"T2.Tourist_Details",
... | [
"select",
"t1",
".",
"name",
"from",
"tourist_attractions",
"as",
"t1",
"join",
"visitors",
"as",
"t2",
"join",
"visits",
"as",
"t3",
"on",
"t1",
".",
"tourist_attraction_id",
"=",
"t3",
".",
"tourist_attraction_id",
"and",
"t2",
".",
"tourist_id",
"=",
"t3"... | [
"Which",
"tourist",
"attractions",
"do",
"the",
"tourists",
"Vincent",
"and",
"Marcelle",
"visit",
"?",
"Tell",
"me",
"the",
"names",
"of",
"the",
"attractions",
"."
] | [
"Which",
"<mask>",
"<mask>",
"do",
"the",
"<mask>",
"Vincent",
"and",
"Marcelle",
"<mask>",
"?",
"Tell",
"me",
"the",
"<mask>",
"of",
"the",
"<mask>",
"."
] | [
"select",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"and",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<ma... |
cre_Theme_park | SELECT T1.Name FROM Tourist_Attractions AS T1 JOIN VISITORS AS T2 JOIN VISITS AS T3 ON T1.Tourist_Attraction_ID = T3.Tourist_Attraction_ID AND T2.Tourist_ID = T3.Tourist_ID WHERE T2.Tourist_Details = "Alison" EXCEPT SELECT T1.Name FROM Tourist_Attractions AS T1 JOIN VISITORS AS T2 JOIN VISITS AS T3 ON T1.Tourist_... | What are the names of tourist attraction that Alison visited but Rosalind did not visit? | [
"SELECT",
"T1.Name",
"FROM",
"Tourist_Attractions",
"AS",
"T1",
"JOIN",
"VISITORS",
"AS",
"T2",
"JOIN",
"VISITS",
"AS",
"T3",
"ON",
"T1.Tourist_Attraction_ID",
"=",
"T3.Tourist_Attraction_ID",
"AND",
"T2.Tourist_ID",
"=",
"T3.Tourist_ID",
"WHERE",
"T2.Tourist_Details",
... | [
"select",
"t1",
".",
"name",
"from",
"tourist_attractions",
"as",
"t1",
"join",
"visitors",
"as",
"t2",
"join",
"visits",
"as",
"t3",
"on",
"t1",
".",
"tourist_attraction_id",
"=",
"t3",
".",
"tourist_attraction_id",
"and",
"t2",
".",
"tourist_id",
"=",
"t3"... | [
"What",
"are",
"the",
"names",
"of",
"tourist",
"attraction",
"that",
"Alison",
"visited",
"but",
"Rosalind",
"did",
"not",
"visit",
"?"
] | [
"What",
"are",
"the",
"<mask>",
"of",
"<mask>",
"<mask>",
"that",
"Alison",
"<mask>",
"but",
"Rosalind",
"did",
"not",
"<mask>",
"?"
] | [
"select",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"and",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<ma... |
cre_Theme_park | SELECT T1.Name FROM Tourist_Attractions AS T1 JOIN VISITORS AS T2 JOIN VISITS AS T3 ON T1.Tourist_Attraction_ID = T3.Tourist_Attraction_ID AND T2.Tourist_ID = T3.Tourist_ID WHERE T2.Tourist_Details = "Alison" EXCEPT SELECT T1.Name FROM Tourist_Attractions AS T1 JOIN VISITORS AS T2 JOIN VISITS AS T3 ON T1.Tourist_... | Find the the names of the tourist attractions that the tourist named Alison visited but Rosalind did not visit. | [
"SELECT",
"T1.Name",
"FROM",
"Tourist_Attractions",
"AS",
"T1",
"JOIN",
"VISITORS",
"AS",
"T2",
"JOIN",
"VISITS",
"AS",
"T3",
"ON",
"T1.Tourist_Attraction_ID",
"=",
"T3.Tourist_Attraction_ID",
"AND",
"T2.Tourist_ID",
"=",
"T3.Tourist_ID",
"WHERE",
"T2.Tourist_Details",
... | [
"select",
"t1",
".",
"name",
"from",
"tourist_attractions",
"as",
"t1",
"join",
"visitors",
"as",
"t2",
"join",
"visits",
"as",
"t3",
"on",
"t1",
".",
"tourist_attraction_id",
"=",
"t3",
".",
"tourist_attraction_id",
"and",
"t2",
".",
"tourist_id",
"=",
"t3"... | [
"Find",
"the",
"the",
"names",
"of",
"the",
"tourist",
"attractions",
"that",
"the",
"tourist",
"named",
"Alison",
"visited",
"but",
"Rosalind",
"did",
"not",
"visit",
"."
] | [
"Find",
"the",
"the",
"<mask>",
"of",
"the",
"<mask>",
"<mask>",
"that",
"the",
"<mask>",
"<mask>",
"Alison",
"<mask>",
"but",
"Rosalind",
"did",
"not",
"<mask>",
"."
] | [
"select",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"and",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<ma... |
cre_Theme_park | SELECT count(*) FROM Visitors WHERE Tourist_ID NOT IN ( SELECT Tourist_ID FROM Visits ) | How many tourists did not make any visit? | [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"Visitors",
"WHERE",
"Tourist_ID",
"NOT",
"IN",
"(",
"SELECT",
"Tourist_ID",
"FROM",
"Visits",
")"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"visitors",
"where",
"tourist_id",
"not",
"in",
"(",
"select",
"tourist_id",
"from",
"visits",
")"
] | [
"How",
"many",
"tourists",
"did",
"not",
"make",
"any",
"visit",
"?"
] | [
"<mask>",
"many",
"<mask>",
"did",
"not",
"make",
"any",
"<mask>",
"?"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"<mask>",
"where",
"<mask>",
"not",
"in",
"(",
"select",
"<mask>",
"from",
"<mask>",
")"
] |
cre_Theme_park | SELECT count(*) FROM Visitors WHERE Tourist_ID NOT IN ( SELECT Tourist_ID FROM Visits ) | Count the number of tourists who did not visit any place. | [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"Visitors",
"WHERE",
"Tourist_ID",
"NOT",
"IN",
"(",
"SELECT",
"Tourist_ID",
"FROM",
"Visits",
")"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"visitors",
"where",
"tourist_id",
"not",
"in",
"(",
"select",
"tourist_id",
"from",
"visits",
")"
] | [
"Count",
"the",
"number",
"of",
"tourists",
"who",
"did",
"not",
"visit",
"any",
"place",
"."
] | [
"Count",
"the",
"number",
"of",
"<mask>",
"who",
"did",
"not",
"<mask>",
"any",
"place",
"."
] | [
"select",
"count",
"(",
"*",
")",
"from",
"<mask>",
"where",
"<mask>",
"not",
"in",
"(",
"select",
"<mask>",
"from",
"<mask>",
")"
] |
game_1 | SELECT count(*) FROM Video_games | How many video games exist? | [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"Video_games"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"video_games"
] | [
"How",
"many",
"video",
"games",
"exist",
"?"
] | [
"How",
"many",
"<mask>",
"<mask>",
"exist",
"?"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"<mask>"
] |
game_1 | SELECT count(*) FROM Video_games | How many video games do you have? | [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"Video_games"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"video_games"
] | [
"How",
"many",
"video",
"games",
"do",
"you",
"have",
"?"
] | [
"How",
"many",
"<mask>",
"<mask>",
"do",
"you",
"have",
"?"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"<mask>"
] |
game_1 | SELECT count(DISTINCT gtype) FROM Video_games | How many video game types exist? | [
"SELECT",
"count",
"(",
"DISTINCT",
"gtype",
")",
"FROM",
"Video_games"
] | [
"select",
"count",
"(",
"distinct",
"gtype",
")",
"from",
"video_games"
] | [
"How",
"many",
"video",
"game",
"types",
"exist",
"?"
] | [
"How",
"many",
"<mask>",
"<mask>",
"<mask>",
"exist",
"?"
] | [
"select",
"count",
"(",
"distinct",
"<mask>",
")",
"from",
"<mask>"
] |
game_1 | SELECT count(DISTINCT gtype) FROM Video_games | What is the count of different game types? | [
"SELECT",
"count",
"(",
"DISTINCT",
"gtype",
")",
"FROM",
"Video_games"
] | [
"select",
"count",
"(",
"distinct",
"gtype",
")",
"from",
"video_games"
] | [
"What",
"is",
"the",
"count",
"of",
"different",
"game",
"types",
"?"
] | [
"What",
"is",
"the",
"count",
"of",
"different",
"<mask>",
"<mask>",
"?"
] | [
"select",
"count",
"(",
"distinct",
"<mask>",
")",
"from",
"<mask>"
] |
game_1 | SELECT DISTINCT gtype FROM Video_games | Show all video game types. | [
"SELECT",
"DISTINCT",
"gtype",
"FROM",
"Video_games"
] | [
"select",
"distinct",
"gtype",
"from",
"video_games"
] | [
"Show",
"all",
"video",
"game",
"types",
"."
] | [
"Show",
"all",
"<mask>",
"<mask>",
"<mask>",
"."
] | [
"select",
"distinct",
"<mask>",
"from",
"<mask>"
] |
game_1 | SELECT DISTINCT gtype FROM Video_games | What are the different types of video games? | [
"SELECT",
"DISTINCT",
"gtype",
"FROM",
"Video_games"
] | [
"select",
"distinct",
"gtype",
"from",
"video_games"
] | [
"What",
"are",
"the",
"different",
"types",
"of",
"video",
"games",
"?"
] | [
"What",
"are",
"the",
"different",
"<mask>",
"of",
"<mask>",
"<mask>",
"?"
] | [
"select",
"distinct",
"<mask>",
"from",
"<mask>"
] |
game_1 | SELECT gname , gtype FROM Video_games ORDER BY gname | Show all video games and their types in the order of their names. | [
"SELECT",
"gname",
",",
"gtype",
"FROM",
"Video_games",
"ORDER",
"BY",
"gname"
] | [
"select",
"gname",
",",
"gtype",
"from",
"video_games",
"order",
"by",
"gname"
] | [
"Show",
"all",
"video",
"games",
"and",
"their",
"types",
"in",
"the",
"order",
"of",
"their",
"names",
"."
] | [
"Show",
"all",
"<mask>",
"<mask>",
"and",
"their",
"<mask>",
"in",
"the",
"order",
"of",
"their",
"<mask>",
"."
] | [
"select",
"<mask>",
",",
"<mask>",
"from",
"<mask>",
"order",
"by",
"<mask>"
] |
game_1 | SELECT gname , gtype FROM Video_games ORDER BY gname | What are the names of all the video games and their types in alphabetical order? | [
"SELECT",
"gname",
",",
"gtype",
"FROM",
"Video_games",
"ORDER",
"BY",
"gname"
] | [
"select",
"gname",
",",
"gtype",
"from",
"video_games",
"order",
"by",
"gname"
] | [
"What",
"are",
"the",
"names",
"of",
"all",
"the",
"video",
"games",
"and",
"their",
"types",
"in",
"alphabetical",
"order",
"?"
] | [
"What",
"are",
"the",
"<mask>",
"of",
"all",
"the",
"<mask>",
"<mask>",
"and",
"their",
"<mask>",
"in",
"alphabetical",
"order",
"?"
] | [
"select",
"<mask>",
",",
"<mask>",
"from",
"<mask>",
"order",
"by",
"<mask>"
] |
game_1 | SELECT gname FROM Video_games WHERE gtype = "Collectible card game" | Show all video games with type Collectible card game. | [
"SELECT",
"gname",
"FROM",
"Video_games",
"WHERE",
"gtype",
"=",
"``",
"Collectible",
"card",
"game",
"''"
] | [
"select",
"gname",
"from",
"video_games",
"where",
"gtype",
"=",
"value"
] | [
"Show",
"all",
"video",
"games",
"with",
"type",
"Collectible",
"card",
"game",
"."
] | [
"Show",
"all",
"<mask>",
"<mask>",
"with",
"<mask>",
"Collectible",
"card",
"<mask>",
"."
] | [
"select",
"<mask>",
"from",
"<mask>",
"where",
"<mask>",
"=",
"<unk>"
] |
game_1 | SELECT gname FROM Video_games WHERE gtype = "Collectible card game" | What are the names of all video games that are collectible cards? | [
"SELECT",
"gname",
"FROM",
"Video_games",
"WHERE",
"gtype",
"=",
"``",
"Collectible",
"card",
"game",
"''"
] | [
"select",
"gname",
"from",
"video_games",
"where",
"gtype",
"=",
"value"
] | [
"What",
"are",
"the",
"names",
"of",
"all",
"video",
"games",
"that",
"are",
"collectible",
"cards",
"?"
] | [
"What",
"are",
"the",
"<mask>",
"of",
"all",
"<mask>",
"<mask>",
"that",
"are",
"collectible",
"cards",
"?"
] | [
"select",
"<mask>",
"from",
"<mask>",
"where",
"<mask>",
"=",
"<unk>"
] |
game_1 | SELECT gtype FROM Video_games WHERE gname = "Call of Destiny" | What is the type of video game Call of Destiny. | [
"SELECT",
"gtype",
"FROM",
"Video_games",
"WHERE",
"gname",
"=",
"``",
"Call",
"of",
"Destiny",
"''"
] | [
"select",
"gtype",
"from",
"video_games",
"where",
"gname",
"=",
"value"
] | [
"What",
"is",
"the",
"type",
"of",
"video",
"game",
"Call",
"of",
"Destiny",
"."
] | [
"What",
"is",
"the",
"<mask>",
"of",
"<mask>",
"<mask>",
"Call",
"of",
"Destiny",
"."
] | [
"select",
"<mask>",
"from",
"<mask>",
"where",
"<mask>",
"=",
"<unk>"
] |
game_1 | SELECT gtype FROM Video_games WHERE gname = "Call of Destiny" | What type of game is Call of Destiny? | [
"SELECT",
"gtype",
"FROM",
"Video_games",
"WHERE",
"gname",
"=",
"``",
"Call",
"of",
"Destiny",
"''"
] | [
"select",
"gtype",
"from",
"video_games",
"where",
"gname",
"=",
"value"
] | [
"What",
"type",
"of",
"game",
"is",
"Call",
"of",
"Destiny",
"?"
] | [
"What",
"<mask>",
"of",
"<mask>",
"is",
"Call",
"of",
"Destiny",
"?"
] | [
"select",
"<mask>",
"from",
"<mask>",
"where",
"<mask>",
"=",
"<unk>"
] |
game_1 | SELECT count(*) FROM Video_games WHERE gtype = "Massively multiplayer online game" | How many video games have type Massively multiplayer online game? | [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"Video_games",
"WHERE",
"gtype",
"=",
"``",
"Massively",
"multiplayer",
"online",
"game",
"''"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"video_games",
"where",
"gtype",
"=",
"value"
] | [
"How",
"many",
"video",
"games",
"have",
"type",
"Massively",
"multiplayer",
"online",
"game",
"?"
] | [
"How",
"many",
"<mask>",
"<mask>",
"have",
"<mask>",
"Massively",
"multiplayer",
"online",
"<mask>",
"?"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"<mask>",
"where",
"<mask>",
"=",
"<unk>"
] |
game_1 | SELECT count(*) FROM Video_games WHERE gtype = "Massively multiplayer online game" | Count the number of video games with Massively multiplayer online game type . | [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"Video_games",
"WHERE",
"gtype",
"=",
"``",
"Massively",
"multiplayer",
"online",
"game",
"''"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"video_games",
"where",
"gtype",
"=",
"value"
] | [
"Count",
"the",
"number",
"of",
"video",
"games",
"with",
"Massively",
"multiplayer",
"online",
"game",
"type",
"."
] | [
"Count",
"the",
"number",
"of",
"<mask>",
"<mask>",
"with",
"Massively",
"multiplayer",
"online",
"<mask>",
"<mask>",
"."
] | [
"select",
"count",
"(",
"*",
")",
"from",
"<mask>",
"where",
"<mask>",
"=",
"<unk>"
] |
game_1 | SELECT gtype , count(*) FROM Video_games GROUP BY gtype | Show all video game types and the number of video games in each type. | [
"SELECT",
"gtype",
",",
"count",
"(",
"*",
")",
"FROM",
"Video_games",
"GROUP",
"BY",
"gtype"
] | [
"select",
"gtype",
",",
"count",
"(",
"*",
")",
"from",
"video_games",
"group",
"by",
"gtype"
] | [
"Show",
"all",
"video",
"game",
"types",
"and",
"the",
"number",
"of",
"video",
"games",
"in",
"each",
"type",
"."
] | [
"Show",
"all",
"<mask>",
"<mask>",
"<mask>",
"and",
"the",
"number",
"of",
"<mask>",
"<mask>",
"in",
"each",
"<mask>",
"."
] | [
"select",
"<mask>",
",",
"count",
"(",
"*",
")",
"from",
"<mask>",
"group",
"by",
"<mask>"
] |
game_1 | SELECT gtype , count(*) FROM Video_games GROUP BY gtype | What are the types of video games and how many are in each type? | [
"SELECT",
"gtype",
",",
"count",
"(",
"*",
")",
"FROM",
"Video_games",
"GROUP",
"BY",
"gtype"
] | [
"select",
"gtype",
",",
"count",
"(",
"*",
")",
"from",
"video_games",
"group",
"by",
"gtype"
] | [
"What",
"are",
"the",
"types",
"of",
"video",
"games",
"and",
"how",
"many",
"are",
"in",
"each",
"type",
"?"
] | [
"What",
"are",
"the",
"<mask>",
"of",
"<mask>",
"<mask>",
"and",
"how",
"many",
"are",
"in",
"each",
"<mask>",
"?"
] | [
"select",
"<mask>",
",",
"count",
"(",
"*",
")",
"from",
"<mask>",
"group",
"by",
"<mask>"
] |
game_1 | SELECT gtype FROM Video_games GROUP BY gtype ORDER BY count(*) DESC LIMIT 1 | Which game type has most number of games? | [
"SELECT",
"gtype",
"FROM",
"Video_games",
"GROUP",
"BY",
"gtype",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"DESC",
"LIMIT",
"1"
] | [
"select",
"gtype",
"from",
"video_games",
"group",
"by",
"gtype",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"value"
] | [
"Which",
"game",
"type",
"has",
"most",
"number",
"of",
"games",
"?"
] | [
"Which",
"<mask>",
"<mask>",
"has",
"most",
"number",
"of",
"<mask>",
"?"
] | [
"select",
"<mask>",
"from",
"<mask>",
"group",
"by",
"<mask>",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"<unk>"
] |
game_1 | SELECT gtype FROM Video_games GROUP BY gtype ORDER BY count(*) DESC LIMIT 1 | What type has the most games? | [
"SELECT",
"gtype",
"FROM",
"Video_games",
"GROUP",
"BY",
"gtype",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"DESC",
"LIMIT",
"1"
] | [
"select",
"gtype",
"from",
"video_games",
"group",
"by",
"gtype",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"value"
] | [
"What",
"type",
"has",
"the",
"most",
"games",
"?"
] | [
"What",
"<mask>",
"has",
"the",
"most",
"<mask>",
"?"
] | [
"select",
"<mask>",
"from",
"<mask>",
"group",
"by",
"<mask>",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"<unk>"
] |
game_1 | SELECT gtype FROM Video_games GROUP BY gtype ORDER BY count(*) LIMIT 1 | Which game type has least number of games? | [
"SELECT",
"gtype",
"FROM",
"Video_games",
"GROUP",
"BY",
"gtype",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"LIMIT",
"1"
] | [
"select",
"gtype",
"from",
"video_games",
"group",
"by",
"gtype",
"order",
"by",
"count",
"(",
"*",
")",
"limit",
"value"
] | [
"Which",
"game",
"type",
"has",
"least",
"number",
"of",
"games",
"?"
] | [
"Which",
"<mask>",
"<mask>",
"has",
"least",
"number",
"of",
"<mask>",
"?"
] | [
"select",
"<mask>",
"from",
"<mask>",
"group",
"by",
"<mask>",
"order",
"by",
"count",
"(",
"*",
")",
"limit",
"<unk>"
] |
game_1 | SELECT gtype FROM Video_games GROUP BY gtype ORDER BY count(*) LIMIT 1 | What is the type with the fewest games? | [
"SELECT",
"gtype",
"FROM",
"Video_games",
"GROUP",
"BY",
"gtype",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"LIMIT",
"1"
] | [
"select",
"gtype",
"from",
"video_games",
"group",
"by",
"gtype",
"order",
"by",
"count",
"(",
"*",
")",
"limit",
"value"
] | [
"What",
"is",
"the",
"type",
"with",
"the",
"fewest",
"games",
"?"
] | [
"What",
"is",
"the",
"<mask>",
"with",
"the",
"fewest",
"<mask>",
"?"
] | [
"select",
"<mask>",
"from",
"<mask>",
"group",
"by",
"<mask>",
"order",
"by",
"count",
"(",
"*",
")",
"limit",
"<unk>"
] |
game_1 | SELECT StuID FROM Student WHERE city_code = "CHI" | Show ids for all students who live in CHI. | [
"SELECT",
"StuID",
"FROM",
"Student",
"WHERE",
"city_code",
"=",
"``",
"CHI",
"''"
] | [
"select",
"stuid",
"from",
"student",
"where",
"city_code",
"=",
"value"
] | [
"Show",
"ids",
"for",
"all",
"students",
"who",
"live",
"in",
"CHI",
"."
] | [
"Show",
"ids",
"for",
"all",
"<mask>",
"who",
"live",
"in",
"CHI",
"."
] | [
"select",
"<mask>",
"from",
"<mask>",
"where",
"<mask>",
"=",
"<unk>"
] |
game_1 | SELECT StuID FROM Student WHERE city_code = "CHI" | What are the ids of all students who live in CHI? | [
"SELECT",
"StuID",
"FROM",
"Student",
"WHERE",
"city_code",
"=",
"``",
"CHI",
"''"
] | [
"select",
"stuid",
"from",
"student",
"where",
"city_code",
"=",
"value"
] | [
"What",
"are",
"the",
"ids",
"of",
"all",
"students",
"who",
"live",
"in",
"CHI",
"?"
] | [
"What",
"are",
"the",
"ids",
"of",
"all",
"<mask>",
"who",
"live",
"in",
"CHI",
"?"
] | [
"select",
"<mask>",
"from",
"<mask>",
"where",
"<mask>",
"=",
"<unk>"
] |
game_1 | SELECT StuID FROM Student WHERE Advisor = 1121 | Show ids for all students who have advisor 1121. | [
"SELECT",
"StuID",
"FROM",
"Student",
"WHERE",
"Advisor",
"=",
"1121"
] | [
"select",
"stuid",
"from",
"student",
"where",
"advisor",
"=",
"value"
] | [
"Show",
"ids",
"for",
"all",
"students",
"who",
"have",
"advisor",
"1121",
"."
] | [
"Show",
"ids",
"for",
"all",
"<mask>",
"who",
"have",
"<mask>",
"<unk>",
"."
] | [
"select",
"<mask>",
"from",
"<mask>",
"where",
"<mask>",
"=",
"<unk>"
] |
game_1 | SELECT StuID FROM Student WHERE Advisor = 1121 | What are the ids of all students who have advisor number 1121? | [
"SELECT",
"StuID",
"FROM",
"Student",
"WHERE",
"Advisor",
"=",
"1121"
] | [
"select",
"stuid",
"from",
"student",
"where",
"advisor",
"=",
"value"
] | [
"What",
"are",
"the",
"ids",
"of",
"all",
"students",
"who",
"have",
"advisor",
"number",
"1121",
"?"
] | [
"What",
"are",
"the",
"ids",
"of",
"all",
"<mask>",
"who",
"have",
"<mask>",
"number",
"<unk>",
"?"
] | [
"select",
"<mask>",
"from",
"<mask>",
"where",
"<mask>",
"=",
"<unk>"
] |
game_1 | SELECT Fname FROM Student WHERE Major = 600 | Show first name for all students with major 600. | [
"SELECT",
"Fname",
"FROM",
"Student",
"WHERE",
"Major",
"=",
"600"
] | [
"select",
"fname",
"from",
"student",
"where",
"major",
"=",
"value"
] | [
"Show",
"first",
"name",
"for",
"all",
"students",
"with",
"major",
"600",
"."
] | [
"Show",
"<mask>",
"<mask>",
"for",
"all",
"<mask>",
"with",
"<mask>",
"<unk>",
"."
] | [
"select",
"<mask>",
"from",
"<mask>",
"where",
"<mask>",
"=",
"<unk>"
] |
game_1 | SELECT Fname FROM Student WHERE Major = 600 | What are the first names for all students who are from the major numbered 600? | [
"SELECT",
"Fname",
"FROM",
"Student",
"WHERE",
"Major",
"=",
"600"
] | [
"select",
"fname",
"from",
"student",
"where",
"major",
"=",
"value"
] | [
"What",
"are",
"the",
"first",
"names",
"for",
"all",
"students",
"who",
"are",
"from",
"the",
"major",
"numbered",
"600",
"?"
] | [
"What",
"are",
"the",
"<mask>",
"<mask>",
"for",
"all",
"<mask>",
"who",
"are",
"from",
"the",
"<mask>",
"numbered",
"<unk>",
"?"
] | [
"select",
"<mask>",
"from",
"<mask>",
"where",
"<mask>",
"=",
"<unk>"
] |
game_1 | SELECT major , avg(age) , min(age) , max(age) FROM Student GROUP BY major | Show the average, minimum, and maximum age for different majors. | [
"SELECT",
"major",
",",
"avg",
"(",
"age",
")",
",",
"min",
"(",
"age",
")",
",",
"max",
"(",
"age",
")",
"FROM",
"Student",
"GROUP",
"BY",
"major"
] | [
"select",
"major",
",",
"avg",
"(",
"age",
")",
",",
"min",
"(",
"age",
")",
",",
"max",
"(",
"age",
")",
"from",
"student",
"group",
"by",
"major"
] | [
"Show",
"the",
"average",
",",
"minimum",
",",
"and",
"maximum",
"age",
"for",
"different",
"majors",
"."
] | [
"Show",
"the",
"average",
",",
"minimum",
",",
"and",
"maximum",
"<mask>",
"for",
"different",
"<mask>",
"."
] | [
"select",
"<mask>",
",",
"avg",
"(",
"<mask>",
")",
",",
"min",
"(",
"<mask>",
")",
",",
"max",
"(",
"<mask>",
")",
"from",
"<mask>",
"group",
"by",
"<mask>"
] |
game_1 | SELECT major , avg(age) , min(age) , max(age) FROM Student GROUP BY major | What are the average, minimum, and max ages for each of the different majors? | [
"SELECT",
"major",
",",
"avg",
"(",
"age",
")",
",",
"min",
"(",
"age",
")",
",",
"max",
"(",
"age",
")",
"FROM",
"Student",
"GROUP",
"BY",
"major"
] | [
"select",
"major",
",",
"avg",
"(",
"age",
")",
",",
"min",
"(",
"age",
")",
",",
"max",
"(",
"age",
")",
"from",
"student",
"group",
"by",
"major"
] | [
"What",
"are",
"the",
"average",
",",
"minimum",
",",
"and",
"max",
"ages",
"for",
"each",
"of",
"the",
"different",
"majors",
"?"
] | [
"What",
"are",
"the",
"average",
",",
"minimum",
",",
"and",
"max",
"<mask>",
"for",
"each",
"of",
"the",
"different",
"<mask>",
"?"
] | [
"select",
"<mask>",
",",
"avg",
"(",
"<mask>",
")",
",",
"min",
"(",
"<mask>",
")",
",",
"max",
"(",
"<mask>",
")",
"from",
"<mask>",
"group",
"by",
"<mask>"
] |
game_1 | SELECT advisor FROM Student GROUP BY advisor HAVING count(*) >= 2 | Show all advisors who have at least two students. | [
"SELECT",
"advisor",
"FROM",
"Student",
"GROUP",
"BY",
"advisor",
"HAVING",
"count",
"(",
"*",
")",
">",
"=",
"2"
] | [
"select",
"advisor",
"from",
"student",
"group",
"by",
"advisor",
"having",
"count",
"(",
"*",
")",
">",
"=",
"value"
] | [
"Show",
"all",
"advisors",
"who",
"have",
"at",
"least",
"two",
"students",
"."
] | [
"Show",
"all",
"<mask>",
"who",
"have",
"at",
"least",
"two",
"<mask>",
"."
] | [
"select",
"<mask>",
"from",
"<mask>",
"group",
"by",
"<mask>",
"<mask>",
"count",
"(",
"*",
")",
">",
"=",
"<unk>"
] |
game_1 | SELECT advisor FROM Student GROUP BY advisor HAVING count(*) >= 2 | What are the advisors | [
"SELECT",
"advisor",
"FROM",
"Student",
"GROUP",
"BY",
"advisor",
"HAVING",
"count",
"(",
"*",
")",
">",
"=",
"2"
] | [
"select",
"advisor",
"from",
"student",
"group",
"by",
"advisor",
"having",
"count",
"(",
"*",
")",
">",
"=",
"value"
] | [
"What",
"are",
"the",
"advisors"
] | [
"What",
"are",
"the",
"<mask>"
] | [
"select",
"<mask>",
"from",
"<mask>",
"group",
"by",
"<mask>",
"<mask>",
"count",
"(",
"*",
")",
">",
"=",
"<unk>"
] |
game_1 | SELECT count(DISTINCT sportname) FROM Sportsinfo | How many sports do we have? | [
"SELECT",
"count",
"(",
"DISTINCT",
"sportname",
")",
"FROM",
"Sportsinfo"
] | [
"select",
"count",
"(",
"distinct",
"sportname",
")",
"from",
"sportsinfo"
] | [
"How",
"many",
"sports",
"do",
"we",
"have",
"?"
] | [
"How",
"many",
"<mask>",
"do",
"we",
"have",
"?"
] | [
"select",
"count",
"(",
"distinct",
"<mask>",
")",
"from",
"<mask>"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.