db_id
stringlengths 4
31
| 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
|
---|---|---|---|---|---|
store_product
|
SELECT DISTINCT District_name FROM district ORDER BY city_area DESC
|
Find all the distinct district names ordered by city area in descending.
|
[
"SELECT",
"DISTINCT",
"District_name",
"FROM",
"district",
"ORDER",
"BY",
"city_area",
"DESC"
] |
[
"select",
"distinct",
"district_name",
"from",
"district",
"order",
"by",
"city_area",
"desc"
] |
[
"Find",
"all",
"the",
"distinct",
"district",
"names",
"ordered",
"by",
"city",
"area",
"in",
"descending",
"."
] |
store_product
|
SELECT DISTINCT District_name FROM district ORDER BY city_area DESC
|
What are the different district names in order of descending city area?
|
[
"SELECT",
"DISTINCT",
"District_name",
"FROM",
"district",
"ORDER",
"BY",
"city_area",
"DESC"
] |
[
"select",
"distinct",
"district_name",
"from",
"district",
"order",
"by",
"city_area",
"desc"
] |
[
"What",
"are",
"the",
"different",
"district",
"names",
"in",
"order",
"of",
"descending",
"city",
"area",
"?"
] |
store_product
|
SELECT max_page_size FROM product GROUP BY max_page_size HAVING count(*) > 3
|
Find the list of page size which have more than 3 product listed
|
[
"SELECT",
"max_page_size",
"FROM",
"product",
"GROUP",
"BY",
"max_page_size",
"HAVING",
"count",
"(",
"*",
")",
">",
"3"
] |
[
"select",
"max_page_size",
"from",
"product",
"group",
"by",
"max_page_size",
"having",
"count",
"(",
"*",
")",
">",
"value"
] |
[
"Find",
"the",
"list",
"of",
"page",
"size",
"which",
"have",
"more",
"than",
"3",
"product",
"listed"
] |
store_product
|
SELECT max_page_size FROM product GROUP BY max_page_size HAVING count(*) > 3
|
What is the maximum page size for everything that has more than 3 products listed?
|
[
"SELECT",
"max_page_size",
"FROM",
"product",
"GROUP",
"BY",
"max_page_size",
"HAVING",
"count",
"(",
"*",
")",
">",
"3"
] |
[
"select",
"max_page_size",
"from",
"product",
"group",
"by",
"max_page_size",
"having",
"count",
"(",
"*",
")",
">",
"value"
] |
[
"What",
"is",
"the",
"maximum",
"page",
"size",
"for",
"everything",
"that",
"has",
"more",
"than",
"3",
"products",
"listed",
"?"
] |
store_product
|
SELECT District_name , City_Population FROM district WHERE City_Population BETWEEN 200000 AND 2000000
|
Find the name and population of district with population between 200000 and 2000000
|
[
"SELECT",
"District_name",
",",
"City_Population",
"FROM",
"district",
"WHERE",
"City_Population",
"BETWEEN",
"200000",
"AND",
"2000000"
] |
[
"select",
"district_name",
",",
"city_population",
"from",
"district",
"where",
"city_population",
"between",
"value",
"and",
"value"
] |
[
"Find",
"the",
"name",
"and",
"population",
"of",
"district",
"with",
"population",
"between",
"200000",
"and",
"2000000"
] |
store_product
|
SELECT District_name , City_Population FROM district WHERE City_Population BETWEEN 200000 AND 2000000
|
What are the district names and city populations for all districts that between 200,000 and 2,000,000 residents?
|
[
"SELECT",
"District_name",
",",
"City_Population",
"FROM",
"district",
"WHERE",
"City_Population",
"BETWEEN",
"200000",
"AND",
"2000000"
] |
[
"select",
"district_name",
",",
"city_population",
"from",
"district",
"where",
"city_population",
"between",
"value",
"and",
"value"
] |
[
"What",
"are",
"the",
"district",
"names",
"and",
"city",
"populations",
"for",
"all",
"districts",
"that",
"between",
"200,000",
"and",
"2,000,000",
"residents",
"?"
] |
store_product
|
SELECT district_name FROM district WHERE city_area > 10 OR City_Population > 100000
|
Find the name all districts with city area greater than 10 or population larger than 100000
|
[
"SELECT",
"district_name",
"FROM",
"district",
"WHERE",
"city_area",
">",
"10",
"OR",
"City_Population",
">",
"100000"
] |
[
"select",
"district_name",
"from",
"district",
"where",
"city_area",
">",
"value",
"or",
"city_population",
">",
"value"
] |
[
"Find",
"the",
"name",
"all",
"districts",
"with",
"city",
"area",
"greater",
"than",
"10",
"or",
"population",
"larger",
"than",
"100000"
] |
store_product
|
SELECT district_name FROM district WHERE city_area > 10 OR City_Population > 100000
|
What are the names of all districts with a city area greater than 10 or have more than 100000 people living there?
|
[
"SELECT",
"district_name",
"FROM",
"district",
"WHERE",
"city_area",
">",
"10",
"OR",
"City_Population",
">",
"100000"
] |
[
"select",
"district_name",
"from",
"district",
"where",
"city_area",
">",
"value",
"or",
"city_population",
">",
"value"
] |
[
"What",
"are",
"the",
"names",
"of",
"all",
"districts",
"with",
"a",
"city",
"area",
"greater",
"than",
"10",
"or",
"have",
"more",
"than",
"100000",
"people",
"living",
"there",
"?"
] |
store_product
|
SELECT district_name FROM district ORDER BY city_population DESC LIMIT 1
|
Which district has the largest population?
|
[
"SELECT",
"district_name",
"FROM",
"district",
"ORDER",
"BY",
"city_population",
"DESC",
"LIMIT",
"1"
] |
[
"select",
"district_name",
"from",
"district",
"order",
"by",
"city_population",
"desc",
"limit",
"value"
] |
[
"Which",
"district",
"has",
"the",
"largest",
"population",
"?"
] |
store_product
|
SELECT district_name FROM district ORDER BY city_population DESC LIMIT 1
|
What is the name of the district with the most residents?
|
[
"SELECT",
"district_name",
"FROM",
"district",
"ORDER",
"BY",
"city_population",
"DESC",
"LIMIT",
"1"
] |
[
"select",
"district_name",
"from",
"district",
"order",
"by",
"city_population",
"desc",
"limit",
"value"
] |
[
"What",
"is",
"the",
"name",
"of",
"the",
"district",
"with",
"the",
"most",
"residents",
"?"
] |
store_product
|
SELECT district_name FROM district ORDER BY city_area ASC LIMIT 1
|
Which district has the least area?
|
[
"SELECT",
"district_name",
"FROM",
"district",
"ORDER",
"BY",
"city_area",
"ASC",
"LIMIT",
"1"
] |
[
"select",
"district_name",
"from",
"district",
"order",
"by",
"city_area",
"asc",
"limit",
"value"
] |
[
"Which",
"district",
"has",
"the",
"least",
"area",
"?"
] |
store_product
|
SELECT district_name FROM district ORDER BY city_area ASC LIMIT 1
|
What is the name of the district with the smallest area?
|
[
"SELECT",
"district_name",
"FROM",
"district",
"ORDER",
"BY",
"city_area",
"ASC",
"LIMIT",
"1"
] |
[
"select",
"district_name",
"from",
"district",
"order",
"by",
"city_area",
"asc",
"limit",
"value"
] |
[
"What",
"is",
"the",
"name",
"of",
"the",
"district",
"with",
"the",
"smallest",
"area",
"?"
] |
store_product
|
SELECT sum(city_population) FROM district ORDER BY city_area DESC LIMIT 3
|
Find the total population of the top 3 districts with the largest area.
|
[
"SELECT",
"sum",
"(",
"city_population",
")",
"FROM",
"district",
"ORDER",
"BY",
"city_area",
"DESC",
"LIMIT",
"3"
] |
[
"select",
"sum",
"(",
"city_population",
")",
"from",
"district",
"order",
"by",
"city_area",
"desc",
"limit",
"value"
] |
[
"Find",
"the",
"total",
"population",
"of",
"the",
"top",
"3",
"districts",
"with",
"the",
"largest",
"area",
"."
] |
store_product
|
SELECT sum(city_population) FROM district ORDER BY city_area DESC LIMIT 3
|
What is the total number of residents for the districts with the 3 largest areas?
|
[
"SELECT",
"sum",
"(",
"city_population",
")",
"FROM",
"district",
"ORDER",
"BY",
"city_area",
"DESC",
"LIMIT",
"3"
] |
[
"select",
"sum",
"(",
"city_population",
")",
"from",
"district",
"order",
"by",
"city_area",
"desc",
"limit",
"value"
] |
[
"What",
"is",
"the",
"total",
"number",
"of",
"residents",
"for",
"the",
"districts",
"with",
"the",
"3",
"largest",
"areas",
"?"
] |
store_product
|
SELECT TYPE , count(*) FROM store GROUP BY TYPE
|
Find all types of store and number of them.
|
[
"SELECT",
"TYPE",
",",
"count",
"(",
"*",
")",
"FROM",
"store",
"GROUP",
"BY",
"TYPE"
] |
[
"select",
"type",
",",
"count",
"(",
"*",
")",
"from",
"store",
"group",
"by",
"type"
] |
[
"Find",
"all",
"types",
"of",
"store",
"and",
"number",
"of",
"them",
"."
] |
store_product
|
SELECT TYPE , count(*) FROM store GROUP BY TYPE
|
For each type of store, how many of them are there?
|
[
"SELECT",
"TYPE",
",",
"count",
"(",
"*",
")",
"FROM",
"store",
"GROUP",
"BY",
"TYPE"
] |
[
"select",
"type",
",",
"count",
"(",
"*",
")",
"from",
"store",
"group",
"by",
"type"
] |
[
"For",
"each",
"type",
"of",
"store",
",",
"how",
"many",
"of",
"them",
"are",
"there",
"?"
] |
store_product
|
SELECT t1.store_name FROM store AS t1 JOIN store_district AS t2 ON t1.store_id = t2.store_id JOIN district AS t3 ON t2.district_id = t3.district_id WHERE t3.district_name = "Khanewal District"
|
Find the names of all stores in Khanewal District.
|
[
"SELECT",
"t1.store_name",
"FROM",
"store",
"AS",
"t1",
"JOIN",
"store_district",
"AS",
"t2",
"ON",
"t1.store_id",
"=",
"t2.store_id",
"JOIN",
"district",
"AS",
"t3",
"ON",
"t2.district_id",
"=",
"t3.district_id",
"WHERE",
"t3.district_name",
"=",
"``",
"Khanewal",
"District",
"''"
] |
[
"select",
"t1",
".",
"store_name",
"from",
"store",
"as",
"t1",
"join",
"store_district",
"as",
"t2",
"on",
"t1",
".",
"store_id",
"=",
"t2",
".",
"store_id",
"join",
"district",
"as",
"t3",
"on",
"t2",
".",
"district_id",
"=",
"t3",
".",
"district_id",
"where",
"t3",
".",
"district_name",
"=",
"value"
] |
[
"Find",
"the",
"names",
"of",
"all",
"stores",
"in",
"Khanewal",
"District",
"."
] |
store_product
|
SELECT t1.store_name FROM store AS t1 JOIN store_district AS t2 ON t1.store_id = t2.store_id JOIN district AS t3 ON t2.district_id = t3.district_id WHERE t3.district_name = "Khanewal District"
|
What are the names of all the stores located in Khanewal District?
|
[
"SELECT",
"t1.store_name",
"FROM",
"store",
"AS",
"t1",
"JOIN",
"store_district",
"AS",
"t2",
"ON",
"t1.store_id",
"=",
"t2.store_id",
"JOIN",
"district",
"AS",
"t3",
"ON",
"t2.district_id",
"=",
"t3.district_id",
"WHERE",
"t3.district_name",
"=",
"``",
"Khanewal",
"District",
"''"
] |
[
"select",
"t1",
".",
"store_name",
"from",
"store",
"as",
"t1",
"join",
"store_district",
"as",
"t2",
"on",
"t1",
".",
"store_id",
"=",
"t2",
".",
"store_id",
"join",
"district",
"as",
"t3",
"on",
"t2",
".",
"district_id",
"=",
"t3",
".",
"district_id",
"where",
"t3",
".",
"district_name",
"=",
"value"
] |
[
"What",
"are",
"the",
"names",
"of",
"all",
"the",
"stores",
"located",
"in",
"Khanewal",
"District",
"?"
] |
store_product
|
SELECT t1.store_name FROM store AS t1 JOIN store_district AS t2 ON t1.store_id = t2.store_id WHERE district_id = (SELECT district_id FROM district ORDER BY city_population DESC LIMIT 1)
|
Find all the stores in the district with the most population.
|
[
"SELECT",
"t1.store_name",
"FROM",
"store",
"AS",
"t1",
"JOIN",
"store_district",
"AS",
"t2",
"ON",
"t1.store_id",
"=",
"t2.store_id",
"WHERE",
"district_id",
"=",
"(",
"SELECT",
"district_id",
"FROM",
"district",
"ORDER",
"BY",
"city_population",
"DESC",
"LIMIT",
"1",
")"
] |
[
"select",
"t1",
".",
"store_name",
"from",
"store",
"as",
"t1",
"join",
"store_district",
"as",
"t2",
"on",
"t1",
".",
"store_id",
"=",
"t2",
".",
"store_id",
"where",
"district_id",
"=",
"(",
"select",
"district_id",
"from",
"district",
"order",
"by",
"city_population",
"desc",
"limit",
"value",
")"
] |
[
"Find",
"all",
"the",
"stores",
"in",
"the",
"district",
"with",
"the",
"most",
"population",
"."
] |
store_product
|
SELECT t1.store_name FROM store AS t1 JOIN store_district AS t2 ON t1.store_id = t2.store_id WHERE district_id = (SELECT district_id FROM district ORDER BY city_population DESC LIMIT 1)
|
What are the names of all the stores in the largest district by population?
|
[
"SELECT",
"t1.store_name",
"FROM",
"store",
"AS",
"t1",
"JOIN",
"store_district",
"AS",
"t2",
"ON",
"t1.store_id",
"=",
"t2.store_id",
"WHERE",
"district_id",
"=",
"(",
"SELECT",
"district_id",
"FROM",
"district",
"ORDER",
"BY",
"city_population",
"DESC",
"LIMIT",
"1",
")"
] |
[
"select",
"t1",
".",
"store_name",
"from",
"store",
"as",
"t1",
"join",
"store_district",
"as",
"t2",
"on",
"t1",
".",
"store_id",
"=",
"t2",
".",
"store_id",
"where",
"district_id",
"=",
"(",
"select",
"district_id",
"from",
"district",
"order",
"by",
"city_population",
"desc",
"limit",
"value",
")"
] |
[
"What",
"are",
"the",
"names",
"of",
"all",
"the",
"stores",
"in",
"the",
"largest",
"district",
"by",
"population",
"?"
] |
store_product
|
SELECT t3.headquartered_city FROM store AS t1 JOIN store_district AS t2 ON t1.store_id = t2.store_id JOIN district AS t3 ON t2.district_id = t3.district_id WHERE t1.store_name = "Blackville"
|
Which city is the headquarter of the store named "Blackville" in?
|
[
"SELECT",
"t3.headquartered_city",
"FROM",
"store",
"AS",
"t1",
"JOIN",
"store_district",
"AS",
"t2",
"ON",
"t1.store_id",
"=",
"t2.store_id",
"JOIN",
"district",
"AS",
"t3",
"ON",
"t2.district_id",
"=",
"t3.district_id",
"WHERE",
"t1.store_name",
"=",
"``",
"Blackville",
"''"
] |
[
"select",
"t3",
".",
"headquartered_city",
"from",
"store",
"as",
"t1",
"join",
"store_district",
"as",
"t2",
"on",
"t1",
".",
"store_id",
"=",
"t2",
".",
"store_id",
"join",
"district",
"as",
"t3",
"on",
"t2",
".",
"district_id",
"=",
"t3",
".",
"district_id",
"where",
"t1",
".",
"store_name",
"=",
"value"
] |
[
"Which",
"city",
"is",
"the",
"headquarter",
"of",
"the",
"store",
"named",
"``",
"Blackville",
"''",
"in",
"?"
] |
store_product
|
SELECT t3.headquartered_city FROM store AS t1 JOIN store_district AS t2 ON t1.store_id = t2.store_id JOIN district AS t3 ON t2.district_id = t3.district_id WHERE t1.store_name = "Blackville"
|
What city is the headquarter of the store Blackville?
|
[
"SELECT",
"t3.headquartered_city",
"FROM",
"store",
"AS",
"t1",
"JOIN",
"store_district",
"AS",
"t2",
"ON",
"t1.store_id",
"=",
"t2.store_id",
"JOIN",
"district",
"AS",
"t3",
"ON",
"t2.district_id",
"=",
"t3.district_id",
"WHERE",
"t1.store_name",
"=",
"``",
"Blackville",
"''"
] |
[
"select",
"t3",
".",
"headquartered_city",
"from",
"store",
"as",
"t1",
"join",
"store_district",
"as",
"t2",
"on",
"t1",
".",
"store_id",
"=",
"t2",
".",
"store_id",
"join",
"district",
"as",
"t3",
"on",
"t2",
".",
"district_id",
"=",
"t3",
".",
"district_id",
"where",
"t1",
".",
"store_name",
"=",
"value"
] |
[
"What",
"city",
"is",
"the",
"headquarter",
"of",
"the",
"store",
"Blackville",
"?"
] |
store_product
|
SELECT t3.headquartered_city , count(*) FROM store AS t1 JOIN store_district AS t2 ON t1.store_id = t2.store_id JOIN district AS t3 ON t2.district_id = t3.district_id GROUP BY t3.headquartered_city
|
Find the number of stores in each city.
|
[
"SELECT",
"t3.headquartered_city",
",",
"count",
"(",
"*",
")",
"FROM",
"store",
"AS",
"t1",
"JOIN",
"store_district",
"AS",
"t2",
"ON",
"t1.store_id",
"=",
"t2.store_id",
"JOIN",
"district",
"AS",
"t3",
"ON",
"t2.district_id",
"=",
"t3.district_id",
"GROUP",
"BY",
"t3.headquartered_city"
] |
[
"select",
"t3",
".",
"headquartered_city",
",",
"count",
"(",
"*",
")",
"from",
"store",
"as",
"t1",
"join",
"store_district",
"as",
"t2",
"on",
"t1",
".",
"store_id",
"=",
"t2",
".",
"store_id",
"join",
"district",
"as",
"t3",
"on",
"t2",
".",
"district_id",
"=",
"t3",
".",
"district_id",
"group",
"by",
"t3",
".",
"headquartered_city"
] |
[
"Find",
"the",
"number",
"of",
"stores",
"in",
"each",
"city",
"."
] |
store_product
|
SELECT t3.headquartered_city , count(*) FROM store AS t1 JOIN store_district AS t2 ON t1.store_id = t2.store_id JOIN district AS t3 ON t2.district_id = t3.district_id GROUP BY t3.headquartered_city
|
How many stores are headquarted in each city?
|
[
"SELECT",
"t3.headquartered_city",
",",
"count",
"(",
"*",
")",
"FROM",
"store",
"AS",
"t1",
"JOIN",
"store_district",
"AS",
"t2",
"ON",
"t1.store_id",
"=",
"t2.store_id",
"JOIN",
"district",
"AS",
"t3",
"ON",
"t2.district_id",
"=",
"t3.district_id",
"GROUP",
"BY",
"t3.headquartered_city"
] |
[
"select",
"t3",
".",
"headquartered_city",
",",
"count",
"(",
"*",
")",
"from",
"store",
"as",
"t1",
"join",
"store_district",
"as",
"t2",
"on",
"t1",
".",
"store_id",
"=",
"t2",
".",
"store_id",
"join",
"district",
"as",
"t3",
"on",
"t2",
".",
"district_id",
"=",
"t3",
".",
"district_id",
"group",
"by",
"t3",
".",
"headquartered_city"
] |
[
"How",
"many",
"stores",
"are",
"headquarted",
"in",
"each",
"city",
"?"
] |
store_product
|
SELECT t3.headquartered_city FROM store AS t1 JOIN store_district AS t2 ON t1.store_id = t2.store_id JOIN district AS t3 ON t2.district_id = t3.district_id GROUP BY t3.headquartered_city ORDER BY count(*) DESC LIMIT 1
|
Find the city with the most number of stores.
|
[
"SELECT",
"t3.headquartered_city",
"FROM",
"store",
"AS",
"t1",
"JOIN",
"store_district",
"AS",
"t2",
"ON",
"t1.store_id",
"=",
"t2.store_id",
"JOIN",
"district",
"AS",
"t3",
"ON",
"t2.district_id",
"=",
"t3.district_id",
"GROUP",
"BY",
"t3.headquartered_city",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"DESC",
"LIMIT",
"1"
] |
[
"select",
"t3",
".",
"headquartered_city",
"from",
"store",
"as",
"t1",
"join",
"store_district",
"as",
"t2",
"on",
"t1",
".",
"store_id",
"=",
"t2",
".",
"store_id",
"join",
"district",
"as",
"t3",
"on",
"t2",
".",
"district_id",
"=",
"t3",
".",
"district_id",
"group",
"by",
"t3",
".",
"headquartered_city",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"value"
] |
[
"Find",
"the",
"city",
"with",
"the",
"most",
"number",
"of",
"stores",
"."
] |
store_product
|
SELECT t3.headquartered_city FROM store AS t1 JOIN store_district AS t2 ON t1.store_id = t2.store_id JOIN district AS t3 ON t2.district_id = t3.district_id GROUP BY t3.headquartered_city ORDER BY count(*) DESC LIMIT 1
|
What is the city with the most number of flagship stores?
|
[
"SELECT",
"t3.headquartered_city",
"FROM",
"store",
"AS",
"t1",
"JOIN",
"store_district",
"AS",
"t2",
"ON",
"t1.store_id",
"=",
"t2.store_id",
"JOIN",
"district",
"AS",
"t3",
"ON",
"t2.district_id",
"=",
"t3.district_id",
"GROUP",
"BY",
"t3.headquartered_city",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"DESC",
"LIMIT",
"1"
] |
[
"select",
"t3",
".",
"headquartered_city",
"from",
"store",
"as",
"t1",
"join",
"store_district",
"as",
"t2",
"on",
"t1",
".",
"store_id",
"=",
"t2",
".",
"store_id",
"join",
"district",
"as",
"t3",
"on",
"t2",
".",
"district_id",
"=",
"t3",
".",
"district_id",
"group",
"by",
"t3",
".",
"headquartered_city",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"value"
] |
[
"What",
"is",
"the",
"city",
"with",
"the",
"most",
"number",
"of",
"flagship",
"stores",
"?"
] |
store_product
|
SELECT avg(pages_per_minute_color) FROM product
|
What is the average pages per minute color?
|
[
"SELECT",
"avg",
"(",
"pages_per_minute_color",
")",
"FROM",
"product"
] |
[
"select",
"avg",
"(",
"pages_per_minute_color",
")",
"from",
"product"
] |
[
"What",
"is",
"the",
"average",
"pages",
"per",
"minute",
"color",
"?"
] |
store_product
|
SELECT avg(pages_per_minute_color) FROM product
|
What is the average number of pages per minute color?
|
[
"SELECT",
"avg",
"(",
"pages_per_minute_color",
")",
"FROM",
"product"
] |
[
"select",
"avg",
"(",
"pages_per_minute_color",
")",
"from",
"product"
] |
[
"What",
"is",
"the",
"average",
"number",
"of",
"pages",
"per",
"minute",
"color",
"?"
] |
store_product
|
SELECT t1.product FROM product AS t1 JOIN store_product AS t2 ON t1.product_id = t2.product_id JOIN store AS t3 ON t2.store_id = t3.store_id WHERE t3.store_name = "Miramichi"
|
What products are available at store named "Miramichi"?
|
[
"SELECT",
"t1.product",
"FROM",
"product",
"AS",
"t1",
"JOIN",
"store_product",
"AS",
"t2",
"ON",
"t1.product_id",
"=",
"t2.product_id",
"JOIN",
"store",
"AS",
"t3",
"ON",
"t2.store_id",
"=",
"t3.store_id",
"WHERE",
"t3.store_name",
"=",
"``",
"Miramichi",
"''"
] |
[
"select",
"t1",
".",
"product",
"from",
"product",
"as",
"t1",
"join",
"store_product",
"as",
"t2",
"on",
"t1",
".",
"product_id",
"=",
"t2",
".",
"product_id",
"join",
"store",
"as",
"t3",
"on",
"t2",
".",
"store_id",
"=",
"t3",
".",
"store_id",
"where",
"t3",
".",
"store_name",
"=",
"value"
] |
[
"What",
"products",
"are",
"available",
"at",
"store",
"named",
"``",
"Miramichi",
"''",
"?"
] |
store_product
|
SELECT t1.product FROM product AS t1 JOIN store_product AS t2 ON t1.product_id = t2.product_id JOIN store AS t3 ON t2.store_id = t3.store_id WHERE t3.store_name = "Miramichi"
|
What products are sold at the store named Miramichi?
|
[
"SELECT",
"t1.product",
"FROM",
"product",
"AS",
"t1",
"JOIN",
"store_product",
"AS",
"t2",
"ON",
"t1.product_id",
"=",
"t2.product_id",
"JOIN",
"store",
"AS",
"t3",
"ON",
"t2.store_id",
"=",
"t3.store_id",
"WHERE",
"t3.store_name",
"=",
"``",
"Miramichi",
"''"
] |
[
"select",
"t1",
".",
"product",
"from",
"product",
"as",
"t1",
"join",
"store_product",
"as",
"t2",
"on",
"t1",
".",
"product_id",
"=",
"t2",
".",
"product_id",
"join",
"store",
"as",
"t3",
"on",
"t2",
".",
"store_id",
"=",
"t3",
".",
"store_id",
"where",
"t3",
".",
"store_name",
"=",
"value"
] |
[
"What",
"products",
"are",
"sold",
"at",
"the",
"store",
"named",
"Miramichi",
"?"
] |
store_product
|
SELECT product FROM product WHERE max_page_size = "A4" AND pages_per_minute_color < 5
|
Find products with max page size as "A4" and pages per minute color smaller than 5.
|
[
"SELECT",
"product",
"FROM",
"product",
"WHERE",
"max_page_size",
"=",
"``",
"A4",
"''",
"AND",
"pages_per_minute_color",
"<",
"5"
] |
[
"select",
"product",
"from",
"product",
"where",
"max_page_size",
"=",
"value",
"and",
"pages_per_minute_color",
"<",
"value"
] |
[
"Find",
"products",
"with",
"max",
"page",
"size",
"as",
"``",
"A4",
"''",
"and",
"pages",
"per",
"minute",
"color",
"smaller",
"than",
"5",
"."
] |
store_product
|
SELECT product FROM product WHERE max_page_size = "A4" AND pages_per_minute_color < 5
|
What are the products with the maximum page size A4 that also have a pages per minute color smaller than 5?
|
[
"SELECT",
"product",
"FROM",
"product",
"WHERE",
"max_page_size",
"=",
"``",
"A4",
"''",
"AND",
"pages_per_minute_color",
"<",
"5"
] |
[
"select",
"product",
"from",
"product",
"where",
"max_page_size",
"=",
"value",
"and",
"pages_per_minute_color",
"<",
"value"
] |
[
"What",
"are",
"the",
"products",
"with",
"the",
"maximum",
"page",
"size",
"A4",
"that",
"also",
"have",
"a",
"pages",
"per",
"minute",
"color",
"smaller",
"than",
"5",
"?"
] |
store_product
|
SELECT product FROM product WHERE max_page_size = "A4" OR pages_per_minute_color < 5
|
Find products with max page size as "A4" or pages per minute color smaller than 5.
|
[
"SELECT",
"product",
"FROM",
"product",
"WHERE",
"max_page_size",
"=",
"``",
"A4",
"''",
"OR",
"pages_per_minute_color",
"<",
"5"
] |
[
"select",
"product",
"from",
"product",
"where",
"max_page_size",
"=",
"value",
"or",
"pages_per_minute_color",
"<",
"value"
] |
[
"Find",
"products",
"with",
"max",
"page",
"size",
"as",
"``",
"A4",
"''",
"or",
"pages",
"per",
"minute",
"color",
"smaller",
"than",
"5",
"."
] |
store_product
|
SELECT product FROM product WHERE max_page_size = "A4" OR pages_per_minute_color < 5
|
What are the products with the maximum page size eqal to A4 or a pages per minute color less than 5?
|
[
"SELECT",
"product",
"FROM",
"product",
"WHERE",
"max_page_size",
"=",
"``",
"A4",
"''",
"OR",
"pages_per_minute_color",
"<",
"5"
] |
[
"select",
"product",
"from",
"product",
"where",
"max_page_size",
"=",
"value",
"or",
"pages_per_minute_color",
"<",
"value"
] |
[
"What",
"are",
"the",
"products",
"with",
"the",
"maximum",
"page",
"size",
"eqal",
"to",
"A4",
"or",
"a",
"pages",
"per",
"minute",
"color",
"less",
"than",
"5",
"?"
] |
store_product
|
SELECT product FROM product WHERE product LIKE "%Scanner%"
|
Find all the product whose name contains the word "Scanner".
|
[
"SELECT",
"product",
"FROM",
"product",
"WHERE",
"product",
"LIKE",
"``",
"%",
"Scanner",
"%",
"''"
] |
[
"select",
"product",
"from",
"product",
"where",
"product",
"like",
"value"
] |
[
"Find",
"all",
"the",
"product",
"whose",
"name",
"contains",
"the",
"word",
"``",
"Scanner",
"''",
"."
] |
store_product
|
SELECT product FROM product WHERE product LIKE "%Scanner%"
|
What are all of the products whose name includes the substring "Scanner"?
|
[
"SELECT",
"product",
"FROM",
"product",
"WHERE",
"product",
"LIKE",
"``",
"%",
"Scanner",
"%",
"''"
] |
[
"select",
"product",
"from",
"product",
"where",
"product",
"like",
"value"
] |
[
"What",
"are",
"all",
"of",
"the",
"products",
"whose",
"name",
"includes",
"the",
"substring",
"``",
"Scanner",
"''",
"?"
] |
store_product
|
SELECT max_page_size FROM product GROUP BY max_page_size ORDER BY count(*) DESC LIMIT 1
|
Find the most prominent max page size among all the products.
|
[
"SELECT",
"max_page_size",
"FROM",
"product",
"GROUP",
"BY",
"max_page_size",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"DESC",
"LIMIT",
"1"
] |
[
"select",
"max_page_size",
"from",
"product",
"group",
"by",
"max_page_size",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"value"
] |
[
"Find",
"the",
"most",
"prominent",
"max",
"page",
"size",
"among",
"all",
"the",
"products",
"."
] |
store_product
|
SELECT max_page_size FROM product GROUP BY max_page_size ORDER BY count(*) DESC LIMIT 1
|
What is the most common maximum page size?
|
[
"SELECT",
"max_page_size",
"FROM",
"product",
"GROUP",
"BY",
"max_page_size",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"DESC",
"LIMIT",
"1"
] |
[
"select",
"max_page_size",
"from",
"product",
"group",
"by",
"max_page_size",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"value"
] |
[
"What",
"is",
"the",
"most",
"common",
"maximum",
"page",
"size",
"?"
] |
store_product
|
SELECT product FROM product WHERE product != (SELECT max_page_size FROM product GROUP BY max_page_size ORDER BY count(*) DESC LIMIT 1)
|
Find the name of the products that are not using the most frequently-used max page size.
|
[
"SELECT",
"product",
"FROM",
"product",
"WHERE",
"product",
"!",
"=",
"(",
"SELECT",
"max_page_size",
"FROM",
"product",
"GROUP",
"BY",
"max_page_size",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"DESC",
"LIMIT",
"1",
")"
] |
[
"select",
"product",
"from",
"product",
"where",
"product",
"!",
"=",
"(",
"select",
"max_page_size",
"from",
"product",
"group",
"by",
"max_page_size",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"value",
")"
] |
[
"Find",
"the",
"name",
"of",
"the",
"products",
"that",
"are",
"not",
"using",
"the",
"most",
"frequently-used",
"max",
"page",
"size",
"."
] |
store_product
|
SELECT product FROM product WHERE product != (SELECT max_page_size FROM product GROUP BY max_page_size ORDER BY count(*) DESC LIMIT 1)
|
What are the names of all products that are not the most frequently-used maximum page size?
|
[
"SELECT",
"product",
"FROM",
"product",
"WHERE",
"product",
"!",
"=",
"(",
"SELECT",
"max_page_size",
"FROM",
"product",
"GROUP",
"BY",
"max_page_size",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"DESC",
"LIMIT",
"1",
")"
] |
[
"select",
"product",
"from",
"product",
"where",
"product",
"!",
"=",
"(",
"select",
"max_page_size",
"from",
"product",
"group",
"by",
"max_page_size",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"value",
")"
] |
[
"What",
"are",
"the",
"names",
"of",
"all",
"products",
"that",
"are",
"not",
"the",
"most",
"frequently-used",
"maximum",
"page",
"size",
"?"
] |
store_product
|
SELECT sum(city_population) FROM district WHERE city_area > (SELECT avg(city_area) FROM district)
|
Find the total population of the districts where the area is bigger than the average city area.
|
[
"SELECT",
"sum",
"(",
"city_population",
")",
"FROM",
"district",
"WHERE",
"city_area",
">",
"(",
"SELECT",
"avg",
"(",
"city_area",
")",
"FROM",
"district",
")"
] |
[
"select",
"sum",
"(",
"city_population",
")",
"from",
"district",
"where",
"city_area",
">",
"(",
"select",
"avg",
"(",
"city_area",
")",
"from",
"district",
")"
] |
[
"Find",
"the",
"total",
"population",
"of",
"the",
"districts",
"where",
"the",
"area",
"is",
"bigger",
"than",
"the",
"average",
"city",
"area",
"."
] |
store_product
|
SELECT sum(city_population) FROM district WHERE city_area > (SELECT avg(city_area) FROM district)
|
What is the total population for all the districts that have an area larger tahn the average city area?
|
[
"SELECT",
"sum",
"(",
"city_population",
")",
"FROM",
"district",
"WHERE",
"city_area",
">",
"(",
"SELECT",
"avg",
"(",
"city_area",
")",
"FROM",
"district",
")"
] |
[
"select",
"sum",
"(",
"city_population",
")",
"from",
"district",
"where",
"city_area",
">",
"(",
"select",
"avg",
"(",
"city_area",
")",
"from",
"district",
")"
] |
[
"What",
"is",
"the",
"total",
"population",
"for",
"all",
"the",
"districts",
"that",
"have",
"an",
"area",
"larger",
"tahn",
"the",
"average",
"city",
"area",
"?"
] |
store_product
|
SELECT t3.District_name FROM store AS t1 JOIN store_district AS t2 ON t1.store_id = t2.store_id JOIN district AS t3 ON t2.district_id = t3.district_id WHERE t1.Type = "City Mall" INTERSECT SELECT t3.District_name FROM store AS t1 JOIN store_district AS t2 ON t1.store_id = t2.store_id JOIN district AS t3 ON t2.district_id = t3.district_id WHERE t1.Type = "Village Store"
|
Find the names of districts where have both city mall and village store type stores.
|
[
"SELECT",
"t3.District_name",
"FROM",
"store",
"AS",
"t1",
"JOIN",
"store_district",
"AS",
"t2",
"ON",
"t1.store_id",
"=",
"t2.store_id",
"JOIN",
"district",
"AS",
"t3",
"ON",
"t2.district_id",
"=",
"t3.district_id",
"WHERE",
"t1.Type",
"=",
"``",
"City",
"Mall",
"''",
"INTERSECT",
"SELECT",
"t3.District_name",
"FROM",
"store",
"AS",
"t1",
"JOIN",
"store_district",
"AS",
"t2",
"ON",
"t1.store_id",
"=",
"t2.store_id",
"JOIN",
"district",
"AS",
"t3",
"ON",
"t2.district_id",
"=",
"t3.district_id",
"WHERE",
"t1.Type",
"=",
"``",
"Village",
"Store",
"''"
] |
[
"select",
"t3",
".",
"district_name",
"from",
"store",
"as",
"t1",
"join",
"store_district",
"as",
"t2",
"on",
"t1",
".",
"store_id",
"=",
"t2",
".",
"store_id",
"join",
"district",
"as",
"t3",
"on",
"t2",
".",
"district_id",
"=",
"t3",
".",
"district_id",
"where",
"t1",
".",
"type",
"=",
"value",
"intersect",
"select",
"t3",
".",
"district_name",
"from",
"store",
"as",
"t1",
"join",
"store_district",
"as",
"t2",
"on",
"t1",
".",
"store_id",
"=",
"t2",
".",
"store_id",
"join",
"district",
"as",
"t3",
"on",
"t2",
".",
"district_id",
"=",
"t3",
".",
"district_id",
"where",
"t1",
".",
"type",
"=",
"value"
] |
[
"Find",
"the",
"names",
"of",
"districts",
"where",
"have",
"both",
"city",
"mall",
"and",
"village",
"store",
"type",
"stores",
"."
] |
store_product
|
SELECT t3.District_name FROM store AS t1 JOIN store_district AS t2 ON t1.store_id = t2.store_id JOIN district AS t3 ON t2.district_id = t3.district_id WHERE t1.Type = "City Mall" INTERSECT SELECT t3.District_name FROM store AS t1 JOIN store_district AS t2 ON t1.store_id = t2.store_id JOIN district AS t3 ON t2.district_id = t3.district_id WHERE t1.Type = "Village Store"
|
What are the names of the districts that have both mall and village store style shops?
|
[
"SELECT",
"t3.District_name",
"FROM",
"store",
"AS",
"t1",
"JOIN",
"store_district",
"AS",
"t2",
"ON",
"t1.store_id",
"=",
"t2.store_id",
"JOIN",
"district",
"AS",
"t3",
"ON",
"t2.district_id",
"=",
"t3.district_id",
"WHERE",
"t1.Type",
"=",
"``",
"City",
"Mall",
"''",
"INTERSECT",
"SELECT",
"t3.District_name",
"FROM",
"store",
"AS",
"t1",
"JOIN",
"store_district",
"AS",
"t2",
"ON",
"t1.store_id",
"=",
"t2.store_id",
"JOIN",
"district",
"AS",
"t3",
"ON",
"t2.district_id",
"=",
"t3.district_id",
"WHERE",
"t1.Type",
"=",
"``",
"Village",
"Store",
"''"
] |
[
"select",
"t3",
".",
"district_name",
"from",
"store",
"as",
"t1",
"join",
"store_district",
"as",
"t2",
"on",
"t1",
".",
"store_id",
"=",
"t2",
".",
"store_id",
"join",
"district",
"as",
"t3",
"on",
"t2",
".",
"district_id",
"=",
"t3",
".",
"district_id",
"where",
"t1",
".",
"type",
"=",
"value",
"intersect",
"select",
"t3",
".",
"district_name",
"from",
"store",
"as",
"t1",
"join",
"store_district",
"as",
"t2",
"on",
"t1",
".",
"store_id",
"=",
"t2",
".",
"store_id",
"join",
"district",
"as",
"t3",
"on",
"t2",
".",
"district_id",
"=",
"t3",
".",
"district_id",
"where",
"t1",
".",
"type",
"=",
"value"
] |
[
"What",
"are",
"the",
"names",
"of",
"the",
"districts",
"that",
"have",
"both",
"mall",
"and",
"village",
"store",
"style",
"shops",
"?"
] |
soccer_2
|
SELECT sum(enr) FROM College
|
What is the total enrollment number of all colleges?
|
[
"SELECT",
"sum",
"(",
"enr",
")",
"FROM",
"College"
] |
[
"select",
"sum",
"(",
"enr",
")",
"from",
"college"
] |
[
"What",
"is",
"the",
"total",
"enrollment",
"number",
"of",
"all",
"colleges",
"?"
] |
soccer_2
|
SELECT sum(enr) FROM College
|
How many students are enrolled in college?
|
[
"SELECT",
"sum",
"(",
"enr",
")",
"FROM",
"College"
] |
[
"select",
"sum",
"(",
"enr",
")",
"from",
"college"
] |
[
"How",
"many",
"students",
"are",
"enrolled",
"in",
"college",
"?"
] |
soccer_2
|
SELECT avg(enr) FROM College
|
What is the average enrollment number?
|
[
"SELECT",
"avg",
"(",
"enr",
")",
"FROM",
"College"
] |
[
"select",
"avg",
"(",
"enr",
")",
"from",
"college"
] |
[
"What",
"is",
"the",
"average",
"enrollment",
"number",
"?"
] |
soccer_2
|
SELECT avg(enr) FROM College
|
How many students, on average, does each college have enrolled?
|
[
"SELECT",
"avg",
"(",
"enr",
")",
"FROM",
"College"
] |
[
"select",
"avg",
"(",
"enr",
")",
"from",
"college"
] |
[
"How",
"many",
"students",
",",
"on",
"average",
",",
"does",
"each",
"college",
"have",
"enrolled",
"?"
] |
soccer_2
|
SELECT count(*) FROM College
|
How many colleges in total?
|
[
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"College"
] |
[
"select",
"count",
"(",
"*",
")",
"from",
"college"
] |
[
"How",
"many",
"colleges",
"in",
"total",
"?"
] |
soccer_2
|
SELECT count(*) FROM College
|
How many different colleges are there?
|
[
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"College"
] |
[
"select",
"count",
"(",
"*",
")",
"from",
"college"
] |
[
"How",
"many",
"different",
"colleges",
"are",
"there",
"?"
] |
soccer_2
|
SELECT count(*) FROM Player WHERE HS > 1000
|
How many players have more than 1000 hours of training?
|
[
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"Player",
"WHERE",
"HS",
">",
"1000"
] |
[
"select",
"count",
"(",
"*",
")",
"from",
"player",
"where",
"hs",
">",
"value"
] |
[
"How",
"many",
"players",
"have",
"more",
"than",
"1000",
"hours",
"of",
"training",
"?"
] |
soccer_2
|
SELECT count(*) FROM Player WHERE HS > 1000
|
How many different players trained for more than 1000 hours?
|
[
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"Player",
"WHERE",
"HS",
">",
"1000"
] |
[
"select",
"count",
"(",
"*",
")",
"from",
"player",
"where",
"hs",
">",
"value"
] |
[
"How",
"many",
"different",
"players",
"trained",
"for",
"more",
"than",
"1000",
"hours",
"?"
] |
soccer_2
|
SELECT count(*) FROM College WHERE enr > 15000
|
How many colleges has more than 15000 students?
|
[
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"College",
"WHERE",
"enr",
">",
"15000"
] |
[
"select",
"count",
"(",
"*",
")",
"from",
"college",
"where",
"enr",
">",
"value"
] |
[
"How",
"many",
"colleges",
"has",
"more",
"than",
"15000",
"students",
"?"
] |
soccer_2
|
SELECT count(*) FROM College WHERE enr > 15000
|
What is the number of colleges with a student population greater than 15000?
|
[
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"College",
"WHERE",
"enr",
">",
"15000"
] |
[
"select",
"count",
"(",
"*",
")",
"from",
"college",
"where",
"enr",
">",
"value"
] |
[
"What",
"is",
"the",
"number",
"of",
"colleges",
"with",
"a",
"student",
"population",
"greater",
"than",
"15000",
"?"
] |
soccer_2
|
SELECT avg(HS) FROM Player
|
What is the average training hours of all players?
|
[
"SELECT",
"avg",
"(",
"HS",
")",
"FROM",
"Player"
] |
[
"select",
"avg",
"(",
"hs",
")",
"from",
"player"
] |
[
"What",
"is",
"the",
"average",
"training",
"hours",
"of",
"all",
"players",
"?"
] |
soccer_2
|
SELECT avg(HS) FROM Player
|
How many hours do the players train on average?
|
[
"SELECT",
"avg",
"(",
"HS",
")",
"FROM",
"Player"
] |
[
"select",
"avg",
"(",
"hs",
")",
"from",
"player"
] |
[
"How",
"many",
"hours",
"do",
"the",
"players",
"train",
"on",
"average",
"?"
] |
soccer_2
|
SELECT pName , HS FROM Player WHERE HS < 1500
|
Find the name and training hours of players whose hours are below 1500.
|
[
"SELECT",
"pName",
",",
"HS",
"FROM",
"Player",
"WHERE",
"HS",
"<",
"1500"
] |
[
"select",
"pname",
",",
"hs",
"from",
"player",
"where",
"hs",
"<",
"value"
] |
[
"Find",
"the",
"name",
"and",
"training",
"hours",
"of",
"players",
"whose",
"hours",
"are",
"below",
"1500",
"."
] |
soccer_2
|
SELECT pName , HS FROM Player WHERE HS < 1500
|
What are the names and number of hours spent training for each player who trains for less than 1500 hours?
|
[
"SELECT",
"pName",
",",
"HS",
"FROM",
"Player",
"WHERE",
"HS",
"<",
"1500"
] |
[
"select",
"pname",
",",
"hs",
"from",
"player",
"where",
"hs",
"<",
"value"
] |
[
"What",
"are",
"the",
"names",
"and",
"number",
"of",
"hours",
"spent",
"training",
"for",
"each",
"player",
"who",
"trains",
"for",
"less",
"than",
"1500",
"hours",
"?"
] |
soccer_2
|
SELECT count(DISTINCT cName) FROM tryout
|
How many different colleges do attend the tryout test?
|
[
"SELECT",
"count",
"(",
"DISTINCT",
"cName",
")",
"FROM",
"tryout"
] |
[
"select",
"count",
"(",
"distinct",
"cname",
")",
"from",
"tryout"
] |
[
"How",
"many",
"different",
"colleges",
"do",
"attend",
"the",
"tryout",
"test",
"?"
] |
soccer_2
|
SELECT count(DISTINCT cName) FROM tryout
|
How many different colleges were represented at tryouts?
|
[
"SELECT",
"count",
"(",
"DISTINCT",
"cName",
")",
"FROM",
"tryout"
] |
[
"select",
"count",
"(",
"distinct",
"cname",
")",
"from",
"tryout"
] |
[
"How",
"many",
"different",
"colleges",
"were",
"represented",
"at",
"tryouts",
"?"
] |
soccer_2
|
SELECT count(DISTINCT pPos) FROM tryout
|
What are the unique types of player positions in the tryout?
|
[
"SELECT",
"count",
"(",
"DISTINCT",
"pPos",
")",
"FROM",
"tryout"
] |
[
"select",
"count",
"(",
"distinct",
"ppos",
")",
"from",
"tryout"
] |
[
"What",
"are",
"the",
"unique",
"types",
"of",
"player",
"positions",
"in",
"the",
"tryout",
"?"
] |
soccer_2
|
SELECT count(DISTINCT pPos) FROM tryout
|
What are the different types of player positions?
|
[
"SELECT",
"count",
"(",
"DISTINCT",
"pPos",
")",
"FROM",
"tryout"
] |
[
"select",
"count",
"(",
"distinct",
"ppos",
")",
"from",
"tryout"
] |
[
"What",
"are",
"the",
"different",
"types",
"of",
"player",
"positions",
"?"
] |
soccer_2
|
SELECT count(*) FROM tryout WHERE decision = 'yes'
|
How many students got accepted after the tryout?
|
[
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"tryout",
"WHERE",
"decision",
"=",
"'yes",
"'"
] |
[
"select",
"count",
"(",
"*",
")",
"from",
"tryout",
"where",
"decision",
"=",
"value"
] |
[
"How",
"many",
"students",
"got",
"accepted",
"after",
"the",
"tryout",
"?"
] |
soccer_2
|
SELECT count(*) FROM tryout WHERE decision = 'yes'
|
How many students received a yes from tryouts?
|
[
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"tryout",
"WHERE",
"decision",
"=",
"'yes",
"'"
] |
[
"select",
"count",
"(",
"*",
")",
"from",
"tryout",
"where",
"decision",
"=",
"value"
] |
[
"How",
"many",
"students",
"received",
"a",
"yes",
"from",
"tryouts",
"?"
] |
soccer_2
|
SELECT count(*) FROM tryout WHERE pPos = 'goalie'
|
How many students whose are playing the role of goalie?
|
[
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"tryout",
"WHERE",
"pPos",
"=",
"'goalie",
"'"
] |
[
"select",
"count",
"(",
"*",
")",
"from",
"tryout",
"where",
"ppos",
"=",
"value"
] |
[
"How",
"many",
"students",
"whose",
"are",
"playing",
"the",
"role",
"of",
"goalie",
"?"
] |
soccer_2
|
SELECT count(*) FROM tryout WHERE pPos = 'goalie'
|
What is the number of students playing as a goalie?
|
[
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"tryout",
"WHERE",
"pPos",
"=",
"'goalie",
"'"
] |
[
"select",
"count",
"(",
"*",
")",
"from",
"tryout",
"where",
"ppos",
"=",
"value"
] |
[
"What",
"is",
"the",
"number",
"of",
"students",
"playing",
"as",
"a",
"goalie",
"?"
] |
soccer_2
|
SELECT avg(HS) , max(HS) , min(HS) FROM Player
|
Find the max, average and min training hours of all players.
|
[
"SELECT",
"avg",
"(",
"HS",
")",
",",
"max",
"(",
"HS",
")",
",",
"min",
"(",
"HS",
")",
"FROM",
"Player"
] |
[
"select",
"avg",
"(",
"hs",
")",
",",
"max",
"(",
"hs",
")",
",",
"min",
"(",
"hs",
")",
"from",
"player"
] |
[
"Find",
"the",
"max",
",",
"average",
"and",
"min",
"training",
"hours",
"of",
"all",
"players",
"."
] |
soccer_2
|
SELECT avg(HS) , max(HS) , min(HS) FROM Player
|
What is the average, maximum, and minimum for the number of hours spent training?
|
[
"SELECT",
"avg",
"(",
"HS",
")",
",",
"max",
"(",
"HS",
")",
",",
"min",
"(",
"HS",
")",
"FROM",
"Player"
] |
[
"select",
"avg",
"(",
"hs",
")",
",",
"max",
"(",
"hs",
")",
",",
"min",
"(",
"hs",
")",
"from",
"player"
] |
[
"What",
"is",
"the",
"average",
",",
"maximum",
",",
"and",
"minimum",
"for",
"the",
"number",
"of",
"hours",
"spent",
"training",
"?"
] |
soccer_2
|
SELECT avg(enr) FROM College WHERE state = 'FL'
|
What is average enrollment of colleges in the state FL?
|
[
"SELECT",
"avg",
"(",
"enr",
")",
"FROM",
"College",
"WHERE",
"state",
"=",
"'FL",
"'"
] |
[
"select",
"avg",
"(",
"enr",
")",
"from",
"college",
"where",
"state",
"=",
"value"
] |
[
"What",
"is",
"average",
"enrollment",
"of",
"colleges",
"in",
"the",
"state",
"FL",
"?"
] |
soccer_2
|
SELECT avg(enr) FROM College WHERE state = 'FL'
|
What is average number of students enrolled in Florida colleges?
|
[
"SELECT",
"avg",
"(",
"enr",
")",
"FROM",
"College",
"WHERE",
"state",
"=",
"'FL",
"'"
] |
[
"select",
"avg",
"(",
"enr",
")",
"from",
"college",
"where",
"state",
"=",
"value"
] |
[
"What",
"is",
"average",
"number",
"of",
"students",
"enrolled",
"in",
"Florida",
"colleges",
"?"
] |
soccer_2
|
SELECT pName FROM Player WHERE HS BETWEEN 500 AND 1500
|
What are the names of players whose training hours is between 500 and 1500?
|
[
"SELECT",
"pName",
"FROM",
"Player",
"WHERE",
"HS",
"BETWEEN",
"500",
"AND",
"1500"
] |
[
"select",
"pname",
"from",
"player",
"where",
"hs",
"between",
"value",
"and",
"value"
] |
[
"What",
"are",
"the",
"names",
"of",
"players",
"whose",
"training",
"hours",
"is",
"between",
"500",
"and",
"1500",
"?"
] |
soccer_2
|
SELECT pName FROM Player WHERE HS BETWEEN 500 AND 1500
|
What are the names of players who train between 500 and 1500 hours?
|
[
"SELECT",
"pName",
"FROM",
"Player",
"WHERE",
"HS",
"BETWEEN",
"500",
"AND",
"1500"
] |
[
"select",
"pname",
"from",
"player",
"where",
"hs",
"between",
"value",
"and",
"value"
] |
[
"What",
"are",
"the",
"names",
"of",
"players",
"who",
"train",
"between",
"500",
"and",
"1500",
"hours",
"?"
] |
soccer_2
|
SELECT DISTINCT pName FROM Player WHERE pName LIKE '%a%'
|
Find the players whose names contain letter 'a'.
|
[
"SELECT",
"DISTINCT",
"pName",
"FROM",
"Player",
"WHERE",
"pName",
"LIKE",
"'",
"%",
"a",
"%",
"'"
] |
[
"select",
"distinct",
"pname",
"from",
"player",
"where",
"pname",
"like",
"value"
] |
[
"Find",
"the",
"players",
"whose",
"names",
"contain",
"letter",
"'a",
"'",
"."
] |
soccer_2
|
SELECT DISTINCT pName FROM Player WHERE pName LIKE '%a%'
|
Who are the players that have names containing the letter a?
|
[
"SELECT",
"DISTINCT",
"pName",
"FROM",
"Player",
"WHERE",
"pName",
"LIKE",
"'",
"%",
"a",
"%",
"'"
] |
[
"select",
"distinct",
"pname",
"from",
"player",
"where",
"pname",
"like",
"value"
] |
[
"Who",
"are",
"the",
"players",
"that",
"have",
"names",
"containing",
"the",
"letter",
"a",
"?"
] |
soccer_2
|
SELECT cName , enr FROM College WHERE enr > 10000 AND state = "LA"
|
Find the name, enrollment of the colleges whose size is bigger than 10000 and location is in state LA.
|
[
"SELECT",
"cName",
",",
"enr",
"FROM",
"College",
"WHERE",
"enr",
">",
"10000",
"AND",
"state",
"=",
"``",
"LA",
"''"
] |
[
"select",
"cname",
",",
"enr",
"from",
"college",
"where",
"enr",
">",
"value",
"and",
"state",
"=",
"value"
] |
[
"Find",
"the",
"name",
",",
"enrollment",
"of",
"the",
"colleges",
"whose",
"size",
"is",
"bigger",
"than",
"10000",
"and",
"location",
"is",
"in",
"state",
"LA",
"."
] |
soccer_2
|
SELECT cName , enr FROM College WHERE enr > 10000 AND state = "LA"
|
What are the names and enrollment numbers for colleges that have more than 10000 enrolled and are located in Louisiana?
|
[
"SELECT",
"cName",
",",
"enr",
"FROM",
"College",
"WHERE",
"enr",
">",
"10000",
"AND",
"state",
"=",
"``",
"LA",
"''"
] |
[
"select",
"cname",
",",
"enr",
"from",
"college",
"where",
"enr",
">",
"value",
"and",
"state",
"=",
"value"
] |
[
"What",
"are",
"the",
"names",
"and",
"enrollment",
"numbers",
"for",
"colleges",
"that",
"have",
"more",
"than",
"10000",
"enrolled",
"and",
"are",
"located",
"in",
"Louisiana",
"?"
] |
soccer_2
|
SELECT * FROM College ORDER BY enr
|
List all information about college sorted by enrollment number in the ascending order.
|
[
"SELECT",
"*",
"FROM",
"College",
"ORDER",
"BY",
"enr"
] |
[
"select",
"*",
"from",
"college",
"order",
"by",
"enr"
] |
[
"List",
"all",
"information",
"about",
"college",
"sorted",
"by",
"enrollment",
"number",
"in",
"the",
"ascending",
"order",
"."
] |
soccer_2
|
SELECT * FROM College ORDER BY enr
|
What information do you have on colleges sorted by increasing enrollment numbers?
|
[
"SELECT",
"*",
"FROM",
"College",
"ORDER",
"BY",
"enr"
] |
[
"select",
"*",
"from",
"college",
"order",
"by",
"enr"
] |
[
"What",
"information",
"do",
"you",
"have",
"on",
"colleges",
"sorted",
"by",
"increasing",
"enrollment",
"numbers",
"?"
] |
soccer_2
|
SELECT cName FROM College WHERE enr > 18000 ORDER BY cName
|
List the name of the colleges whose enrollment is greater 18000 sorted by the college's name.
|
[
"SELECT",
"cName",
"FROM",
"College",
"WHERE",
"enr",
">",
"18000",
"ORDER",
"BY",
"cName"
] |
[
"select",
"cname",
"from",
"college",
"where",
"enr",
">",
"value",
"order",
"by",
"cname"
] |
[
"List",
"the",
"name",
"of",
"the",
"colleges",
"whose",
"enrollment",
"is",
"greater",
"18000",
"sorted",
"by",
"the",
"college",
"'s",
"name",
"."
] |
soccer_2
|
SELECT cName FROM College WHERE enr > 18000 ORDER BY cName
|
What is the name of every college in alphabetical order that has more than 18000 students enrolled?
|
[
"SELECT",
"cName",
"FROM",
"College",
"WHERE",
"enr",
">",
"18000",
"ORDER",
"BY",
"cName"
] |
[
"select",
"cname",
"from",
"college",
"where",
"enr",
">",
"value",
"order",
"by",
"cname"
] |
[
"What",
"is",
"the",
"name",
"of",
"every",
"college",
"in",
"alphabetical",
"order",
"that",
"has",
"more",
"than",
"18000",
"students",
"enrolled",
"?"
] |
soccer_2
|
SELECT pName FROM Player WHERE yCard = 'yes' ORDER BY HS DESC
|
Find the name of players whose card is yes in the descending order of training hours.
|
[
"SELECT",
"pName",
"FROM",
"Player",
"WHERE",
"yCard",
"=",
"'yes",
"'",
"ORDER",
"BY",
"HS",
"DESC"
] |
[
"select",
"pname",
"from",
"player",
"where",
"ycard",
"=",
"value",
"order",
"by",
"hs",
"desc"
] |
[
"Find",
"the",
"name",
"of",
"players",
"whose",
"card",
"is",
"yes",
"in",
"the",
"descending",
"order",
"of",
"training",
"hours",
"."
] |
soccer_2
|
SELECT pName FROM Player WHERE yCard = 'yes' ORDER BY HS DESC
|
What are the name of the players who received a card in descending order of the hours of training?
|
[
"SELECT",
"pName",
"FROM",
"Player",
"WHERE",
"yCard",
"=",
"'yes",
"'",
"ORDER",
"BY",
"HS",
"DESC"
] |
[
"select",
"pname",
"from",
"player",
"where",
"ycard",
"=",
"value",
"order",
"by",
"hs",
"desc"
] |
[
"What",
"are",
"the",
"name",
"of",
"the",
"players",
"who",
"received",
"a",
"card",
"in",
"descending",
"order",
"of",
"the",
"hours",
"of",
"training",
"?"
] |
soccer_2
|
SELECT DISTINCT cName FROM tryout ORDER BY cName
|
Find the name of different colleges involved in the tryout in alphabetical order.
|
[
"SELECT",
"DISTINCT",
"cName",
"FROM",
"tryout",
"ORDER",
"BY",
"cName"
] |
[
"select",
"distinct",
"cname",
"from",
"tryout",
"order",
"by",
"cname"
] |
[
"Find",
"the",
"name",
"of",
"different",
"colleges",
"involved",
"in",
"the",
"tryout",
"in",
"alphabetical",
"order",
"."
] |
soccer_2
|
SELECT DISTINCT cName FROM tryout ORDER BY cName
|
What are the different names of the colleges involved in the tryout in alphabetical order?
|
[
"SELECT",
"DISTINCT",
"cName",
"FROM",
"tryout",
"ORDER",
"BY",
"cName"
] |
[
"select",
"distinct",
"cname",
"from",
"tryout",
"order",
"by",
"cname"
] |
[
"What",
"are",
"the",
"different",
"names",
"of",
"the",
"colleges",
"involved",
"in",
"the",
"tryout",
"in",
"alphabetical",
"order",
"?"
] |
soccer_2
|
SELECT pPos FROM tryout GROUP BY pPos ORDER BY count(*) DESC LIMIT 1
|
Which position is most popular among players in the tryout?
|
[
"SELECT",
"pPos",
"FROM",
"tryout",
"GROUP",
"BY",
"pPos",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"DESC",
"LIMIT",
"1"
] |
[
"select",
"ppos",
"from",
"tryout",
"group",
"by",
"ppos",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"value"
] |
[
"Which",
"position",
"is",
"most",
"popular",
"among",
"players",
"in",
"the",
"tryout",
"?"
] |
soccer_2
|
SELECT pPos FROM tryout GROUP BY pPos ORDER BY count(*) DESC LIMIT 1
|
What was the most popular position at tryouts?
|
[
"SELECT",
"pPos",
"FROM",
"tryout",
"GROUP",
"BY",
"pPos",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"DESC",
"LIMIT",
"1"
] |
[
"select",
"ppos",
"from",
"tryout",
"group",
"by",
"ppos",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"value"
] |
[
"What",
"was",
"the",
"most",
"popular",
"position",
"at",
"tryouts",
"?"
] |
soccer_2
|
SELECT count(*) , cName FROM tryout GROUP BY cName ORDER BY count(*) DESC
|
Find the number of students who participate in the tryout for each college ordered by descending count.
|
[
"SELECT",
"count",
"(",
"*",
")",
",",
"cName",
"FROM",
"tryout",
"GROUP",
"BY",
"cName",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"DESC"
] |
[
"select",
"count",
"(",
"*",
")",
",",
"cname",
"from",
"tryout",
"group",
"by",
"cname",
"order",
"by",
"count",
"(",
"*",
")",
"desc"
] |
[
"Find",
"the",
"number",
"of",
"students",
"who",
"participate",
"in",
"the",
"tryout",
"for",
"each",
"college",
"ordered",
"by",
"descending",
"count",
"."
] |
soccer_2
|
SELECT count(*) , cName FROM tryout GROUP BY cName ORDER BY count(*) DESC
|
How many students participated in tryouts for each college by descennding count?
|
[
"SELECT",
"count",
"(",
"*",
")",
",",
"cName",
"FROM",
"tryout",
"GROUP",
"BY",
"cName",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"DESC"
] |
[
"select",
"count",
"(",
"*",
")",
",",
"cname",
"from",
"tryout",
"group",
"by",
"cname",
"order",
"by",
"count",
"(",
"*",
")",
"desc"
] |
[
"How",
"many",
"students",
"participated",
"in",
"tryouts",
"for",
"each",
"college",
"by",
"descennding",
"count",
"?"
] |
soccer_2
|
SELECT min(T2.HS) , T1.pPos FROM tryout AS T1 JOIN player AS T2 ON T1.pID = T2.pID GROUP BY T1.pPos
|
What is minimum hours of the students playing in different position?
|
[
"SELECT",
"min",
"(",
"T2.HS",
")",
",",
"T1.pPos",
"FROM",
"tryout",
"AS",
"T1",
"JOIN",
"player",
"AS",
"T2",
"ON",
"T1.pID",
"=",
"T2.pID",
"GROUP",
"BY",
"T1.pPos"
] |
[
"select",
"min",
"(",
"t2",
".",
"hs",
")",
",",
"t1",
".",
"ppos",
"from",
"tryout",
"as",
"t1",
"join",
"player",
"as",
"t2",
"on",
"t1",
".",
"pid",
"=",
"t2",
".",
"pid",
"group",
"by",
"t1",
".",
"ppos"
] |
[
"What",
"is",
"minimum",
"hours",
"of",
"the",
"students",
"playing",
"in",
"different",
"position",
"?"
] |
soccer_2
|
SELECT min(T2.HS) , T1.pPos FROM tryout AS T1 JOIN player AS T2 ON T1.pID = T2.pID GROUP BY T1.pPos
|
For each position, what is the minimum time students spent practicing?
|
[
"SELECT",
"min",
"(",
"T2.HS",
")",
",",
"T1.pPos",
"FROM",
"tryout",
"AS",
"T1",
"JOIN",
"player",
"AS",
"T2",
"ON",
"T1.pID",
"=",
"T2.pID",
"GROUP",
"BY",
"T1.pPos"
] |
[
"select",
"min",
"(",
"t2",
".",
"hs",
")",
",",
"t1",
".",
"ppos",
"from",
"tryout",
"as",
"t1",
"join",
"player",
"as",
"t2",
"on",
"t1",
".",
"pid",
"=",
"t2",
".",
"pid",
"group",
"by",
"t1",
".",
"ppos"
] |
[
"For",
"each",
"position",
",",
"what",
"is",
"the",
"minimum",
"time",
"students",
"spent",
"practicing",
"?"
] |
soccer_2
|
SELECT cName FROM college ORDER BY enr DESC LIMIT 3
|
What are the names of schools with the top 3 largest size?
|
[
"SELECT",
"cName",
"FROM",
"college",
"ORDER",
"BY",
"enr",
"DESC",
"LIMIT",
"3"
] |
[
"select",
"cname",
"from",
"college",
"order",
"by",
"enr",
"desc",
"limit",
"value"
] |
[
"What",
"are",
"the",
"names",
"of",
"schools",
"with",
"the",
"top",
"3",
"largest",
"size",
"?"
] |
soccer_2
|
SELECT cName FROM college ORDER BY enr DESC LIMIT 3
|
What are the names of the schools with the top 3 largest class sizes?
|
[
"SELECT",
"cName",
"FROM",
"college",
"ORDER",
"BY",
"enr",
"DESC",
"LIMIT",
"3"
] |
[
"select",
"cname",
"from",
"college",
"order",
"by",
"enr",
"desc",
"limit",
"value"
] |
[
"What",
"are",
"the",
"names",
"of",
"the",
"schools",
"with",
"the",
"top",
"3",
"largest",
"class",
"sizes",
"?"
] |
soccer_2
|
SELECT cName , state , min(enr) FROM college GROUP BY state
|
What is the name of school that has the smallest enrollment in each state?
|
[
"SELECT",
"cName",
",",
"state",
",",
"min",
"(",
"enr",
")",
"FROM",
"college",
"GROUP",
"BY",
"state"
] |
[
"select",
"cname",
",",
"state",
",",
"min",
"(",
"enr",
")",
"from",
"college",
"group",
"by",
"state"
] |
[
"What",
"is",
"the",
"name",
"of",
"school",
"that",
"has",
"the",
"smallest",
"enrollment",
"in",
"each",
"state",
"?"
] |
soccer_2
|
SELECT cName , state , min(enr) FROM college GROUP BY state
|
What is the name of the school with smallest enrollment size per state?
|
[
"SELECT",
"cName",
",",
"state",
",",
"min",
"(",
"enr",
")",
"FROM",
"college",
"GROUP",
"BY",
"state"
] |
[
"select",
"cname",
",",
"state",
",",
"min",
"(",
"enr",
")",
"from",
"college",
"group",
"by",
"state"
] |
[
"What",
"is",
"the",
"name",
"of",
"the",
"school",
"with",
"smallest",
"enrollment",
"size",
"per",
"state",
"?"
] |
soccer_2
|
SELECT DISTINCT state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName
|
Find the states where have some college students in tryout.
|
[
"SELECT",
"DISTINCT",
"state",
"FROM",
"college",
"AS",
"T1",
"JOIN",
"tryout",
"AS",
"T2",
"ON",
"T1.cName",
"=",
"T2.cName"
] |
[
"select",
"distinct",
"state",
"from",
"college",
"as",
"t1",
"join",
"tryout",
"as",
"t2",
"on",
"t1",
".",
"cname",
"=",
"t2",
".",
"cname"
] |
[
"Find",
"the",
"states",
"where",
"have",
"some",
"college",
"students",
"in",
"tryout",
"."
] |
soccer_2
|
SELECT DISTINCT state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName
|
What are the different states that have students trying out?
|
[
"SELECT",
"DISTINCT",
"state",
"FROM",
"college",
"AS",
"T1",
"JOIN",
"tryout",
"AS",
"T2",
"ON",
"T1.cName",
"=",
"T2.cName"
] |
[
"select",
"distinct",
"state",
"from",
"college",
"as",
"t1",
"join",
"tryout",
"as",
"t2",
"on",
"t1",
".",
"cname",
"=",
"t2",
".",
"cname"
] |
[
"What",
"are",
"the",
"different",
"states",
"that",
"have",
"students",
"trying",
"out",
"?"
] |
soccer_2
|
SELECT DISTINCT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.decision = 'yes'
|
Find the states where have some college students in tryout and their decisions are yes.
|
[
"SELECT",
"DISTINCT",
"T1.state",
"FROM",
"college",
"AS",
"T1",
"JOIN",
"tryout",
"AS",
"T2",
"ON",
"T1.cName",
"=",
"T2.cName",
"WHERE",
"T2.decision",
"=",
"'yes",
"'"
] |
[
"select",
"distinct",
"t1",
".",
"state",
"from",
"college",
"as",
"t1",
"join",
"tryout",
"as",
"t2",
"on",
"t1",
".",
"cname",
"=",
"t2",
".",
"cname",
"where",
"t2",
".",
"decision",
"=",
"value"
] |
[
"Find",
"the",
"states",
"where",
"have",
"some",
"college",
"students",
"in",
"tryout",
"and",
"their",
"decisions",
"are",
"yes",
"."
] |
soccer_2
|
SELECT DISTINCT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.decision = 'yes'
|
What are the different states that had students successfully try out?
|
[
"SELECT",
"DISTINCT",
"T1.state",
"FROM",
"college",
"AS",
"T1",
"JOIN",
"tryout",
"AS",
"T2",
"ON",
"T1.cName",
"=",
"T2.cName",
"WHERE",
"T2.decision",
"=",
"'yes",
"'"
] |
[
"select",
"distinct",
"t1",
".",
"state",
"from",
"college",
"as",
"t1",
"join",
"tryout",
"as",
"t2",
"on",
"t1",
".",
"cname",
"=",
"t2",
".",
"cname",
"where",
"t2",
".",
"decision",
"=",
"value"
] |
[
"What",
"are",
"the",
"different",
"states",
"that",
"had",
"students",
"successfully",
"try",
"out",
"?"
] |
soccer_2
|
SELECT T1.pName , T2.cName FROM player AS T1 JOIN tryout AS T2 ON T1.pID = T2.pID WHERE T2.decision = 'yes'
|
Find the name and college of students whose decisions are yes in the tryout.
|
[
"SELECT",
"T1.pName",
",",
"T2.cName",
"FROM",
"player",
"AS",
"T1",
"JOIN",
"tryout",
"AS",
"T2",
"ON",
"T1.pID",
"=",
"T2.pID",
"WHERE",
"T2.decision",
"=",
"'yes",
"'"
] |
[
"select",
"t1",
".",
"pname",
",",
"t2",
".",
"cname",
"from",
"player",
"as",
"t1",
"join",
"tryout",
"as",
"t2",
"on",
"t1",
".",
"pid",
"=",
"t2",
".",
"pid",
"where",
"t2",
".",
"decision",
"=",
"value"
] |
[
"Find",
"the",
"name",
"and",
"college",
"of",
"students",
"whose",
"decisions",
"are",
"yes",
"in",
"the",
"tryout",
"."
] |
soccer_2
|
SELECT T1.pName , T2.cName FROM player AS T1 JOIN tryout AS T2 ON T1.pID = T2.pID WHERE T2.decision = 'yes'
|
What are the names of all the players who received a yes during tryouts, and also what are the names of their colleges?
|
[
"SELECT",
"T1.pName",
",",
"T2.cName",
"FROM",
"player",
"AS",
"T1",
"JOIN",
"tryout",
"AS",
"T2",
"ON",
"T1.pID",
"=",
"T2.pID",
"WHERE",
"T2.decision",
"=",
"'yes",
"'"
] |
[
"select",
"t1",
".",
"pname",
",",
"t2",
".",
"cname",
"from",
"player",
"as",
"t1",
"join",
"tryout",
"as",
"t2",
"on",
"t1",
".",
"pid",
"=",
"t2",
".",
"pid",
"where",
"t2",
".",
"decision",
"=",
"value"
] |
[
"What",
"are",
"the",
"names",
"of",
"all",
"the",
"players",
"who",
"received",
"a",
"yes",
"during",
"tryouts",
",",
"and",
"also",
"what",
"are",
"the",
"names",
"of",
"their",
"colleges",
"?"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.