db_id
stringlengths 4
31
| query
stringlengths 18
577
| question
stringlengths 19
228
| query_toks
list | query_toks_no_value
list | question_toks
list |
---|---|---|---|---|---|
university_basketball | SELECT sum(enrollment) , min(enrollment) FROM university | Return the total and minimum enrollments across all schools. | [
"SELECT",
"sum",
"(",
"enrollment",
")",
",",
"min",
"(",
"enrollment",
")",
"FROM",
"university"
]
| [
"select",
"sum",
"(",
"enrollment",
")",
",",
"min",
"(",
"enrollment",
")",
"from",
"university"
]
| [
"Return",
"the",
"total",
"and",
"minimum",
"enrollments",
"across",
"all",
"schools."
]
|
university_basketball | SELECT sum(enrollment) , affiliation FROM university GROUP BY affiliation | Find the total student enrollment for different affiliation type schools. | [
"SELECT",
"sum",
"(",
"enrollment",
")",
",",
"affiliation",
"FROM",
"university",
"GROUP",
"BY",
"affiliation"
]
| [
"select",
"sum",
"(",
"enrollment",
")",
",",
"affiliation",
"from",
"university",
"group",
"by",
"affiliation"
]
| [
"Find",
"the",
"total",
"student",
"enrollment",
"for",
"different",
"affiliation",
"type",
"schools."
]
|
university_basketball | SELECT sum(enrollment) , affiliation FROM university GROUP BY affiliation | What-all are the total enrollments of each affiliation type universities? | [
"SELECT",
"sum",
"(",
"enrollment",
")",
",",
"affiliation",
"FROM",
"university",
"GROUP",
"BY",
"affiliation"
]
| [
"select",
"sum",
"(",
"enrollment",
")",
",",
"affiliation",
"from",
"university",
"group",
"by",
"affiliation"
]
| [
"What-all",
"are",
"the",
"total",
"enrollments",
"of",
"each",
"affiliation",
"type",
"universities?"
]
|
university_basketball | SELECT count(*) FROM university WHERE school_id NOT IN (SELECT school_id FROM basketball_match) | How many schools do not participate in basketball no match? | [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"university",
"WHERE",
"school_id",
"NOT",
"IN",
"(",
"SELECT",
"school_id",
"FROM",
"basketball_match",
")"
]
| [
"select",
"count",
"(",
"*",
")",
"from",
"university",
"where",
"school_id",
"not",
"in",
"(",
"select",
"school_id",
"from",
"basketball_match",
")"
]
| [
"How",
"many",
"schools",
"do",
"not",
"participate",
"in",
"basketball",
"no",
"match?"
]
|
university_basketball | SELECT count(*) FROM university WHERE school_id NOT IN (SELECT school_id FROM basketball_match) | Are Counting the number of universities that is not participating in baketball no match. | [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"university",
"WHERE",
"school_id",
"NOT",
"IN",
"(",
"SELECT",
"school_id",
"FROM",
"basketball_match",
")"
]
| [
"select",
"count",
"(",
"*",
")",
"from",
"university",
"where",
"school_id",
"not",
"in",
"(",
"select",
"school_id",
"from",
"basketball_match",
")"
]
| [
"Are",
"Counting",
"the",
"number",
"of",
"universities",
"that",
"is",
"not",
"participating",
"in",
"baketball",
"no",
"match."
]
|
university_basketball | SELECT school FROM university WHERE founded > 1850 OR affiliation = 'Public' | Find the schools that have been either founded them after 1850 or public. | [
"SELECT",
"school",
"FROM",
"university",
"WHERE",
"founded",
">",
"1850",
"OR",
"affiliation",
"=",
"'Public",
"'"
]
| [
"select",
"school",
"from",
"university",
"where",
"founded",
">",
"value",
"or",
"affiliation",
"=",
"value"
]
| [
"Find",
"the",
"schools",
"that",
"have",
"been",
"either",
"founded",
"them",
"after",
"1850",
"or",
"public."
]
|
university_basketball | SELECT school FROM university WHERE founded > 1850 OR affiliation = 'Public' | What-all are the schools that was either a-founded before 1850 or are public? | [
"SELECT",
"school",
"FROM",
"university",
"WHERE",
"founded",
">",
"1850",
"OR",
"affiliation",
"=",
"'Public",
"'"
]
| [
"select",
"school",
"from",
"university",
"where",
"founded",
">",
"value",
"or",
"affiliation",
"=",
"value"
]
| [
"What-all",
"are",
"the",
"schools",
"that",
"was",
"either",
"a-founded",
"before",
"1850",
"or",
"are",
"public?"
]
|
university_basketball | SELECT count(DISTINCT affiliation) FROM university | Find how many different affiliation types there is. | [
"SELECT",
"count",
"(",
"DISTINCT",
"affiliation",
")",
"FROM",
"university"
]
| [
"select",
"count",
"(",
"distinct",
"affiliation",
")",
"from",
"university"
]
| [
"Find",
"how",
"many",
"different",
"affiliation",
"types",
"there",
"is."
]
|
university_basketball | SELECT count(DISTINCT affiliation) FROM university | Count the different affiliation types number. | [
"SELECT",
"count",
"(",
"DISTINCT",
"affiliation",
")",
"FROM",
"university"
]
| [
"select",
"count",
"(",
"distinct",
"affiliation",
")",
"from",
"university"
]
| [
"Count",
"the",
"different",
"affiliation",
"types",
"number."
]
|
university_basketball | SELECT count(*) FROM university WHERE LOCATION LIKE "%NY%" | Find how many school locations have the word 'NY'. | [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"university",
"WHERE",
"LOCATION",
"LIKE",
"``",
"%",
"NY",
"%",
"''"
]
| [
"select",
"count",
"(",
"*",
")",
"from",
"university",
"where",
"location",
"like",
"value"
]
| [
"Find",
"how",
"many",
"school",
"locations",
"have",
"the",
"word",
"'NY'."
]
|
university_basketball | SELECT count(*) FROM university WHERE LOCATION LIKE "%NY%" | How many universities have a that is containing NY location? | [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"university",
"WHERE",
"LOCATION",
"LIKE",
"``",
"%",
"NY",
"%",
"''"
]
| [
"select",
"count",
"(",
"*",
")",
"from",
"university",
"where",
"location",
"like",
"value"
]
| [
"How",
"many",
"universities",
"have",
"a",
"that",
"is",
"containing",
"NY",
"location?"
]
|
university_basketball | SELECT t2.team_name FROM university AS t1 JOIN basketball_match AS t2 ON t1.school_id = t2.school_id WHERE enrollment < (SELECT avg(enrollment) FROM university) | Are Finding the team names of the universities whose are smaller than the average enrollment size. | [
"SELECT",
"t2.team_name",
"FROM",
"university",
"AS",
"t1",
"JOIN",
"basketball_match",
"AS",
"t2",
"ON",
"t1.school_id",
"=",
"t2.school_id",
"WHERE",
"enrollment",
"<",
"(",
"SELECT",
"avg",
"(",
"enrollment",
")",
"FROM",
"university",
")"
]
| [
"select",
"t2",
".",
"team_name",
"from",
"university",
"as",
"t1",
"join",
"basketball_match",
"as",
"t2",
"on",
"t1",
".",
"school_id",
"=",
"t2",
".",
"school_id",
"where",
"enrollment",
"<",
"(",
"select",
"avg",
"(",
"enrollment",
")",
"from",
"university",
")"
]
| [
"Are",
"Finding",
"the",
"team",
"names",
"of",
"the",
"universities",
"whose",
"are",
"smaller",
"than",
"the",
"average",
"enrollment",
"size."
]
|
university_basketball | SELECT t2.team_name FROM university AS t1 JOIN basketball_match AS t2 ON t1.school_id = t2.school_id WHERE enrollment < (SELECT avg(enrollment) FROM university) | What-all are the names of teams from universities have a below average enrollment? | [
"SELECT",
"t2.team_name",
"FROM",
"university",
"AS",
"t1",
"JOIN",
"basketball_match",
"AS",
"t2",
"ON",
"t1.school_id",
"=",
"t2.school_id",
"WHERE",
"enrollment",
"<",
"(",
"SELECT",
"avg",
"(",
"enrollment",
")",
"FROM",
"university",
")"
]
| [
"select",
"t2",
".",
"team_name",
"from",
"university",
"as",
"t1",
"join",
"basketball_match",
"as",
"t2",
"on",
"t1",
".",
"school_id",
"=",
"t2",
".",
"school_id",
"where",
"enrollment",
"<",
"(",
"select",
"avg",
"(",
"enrollment",
")",
"from",
"university",
")"
]
| [
"What-all",
"are",
"the",
"names",
"of",
"teams",
"from",
"universities",
"have",
"a",
"below",
"average",
"enrollment?"
]
|
university_basketball | SELECT count(*) , affiliation FROM university WHERE enrollment > 20000 GROUP BY affiliation | Are Finding the number of universities have over a 20000 enrollment size for each affiliation type. | [
"SELECT",
"count",
"(",
"*",
")",
",",
"affiliation",
"FROM",
"university",
"WHERE",
"enrollment",
">",
"20000",
"GROUP",
"BY",
"affiliation"
]
| [
"select",
"count",
"(",
"*",
")",
",",
"affiliation",
"from",
"university",
"where",
"enrollment",
">",
"value",
"group",
"by",
"affiliation"
]
| [
"Are",
"Finding",
"the",
"number",
"of",
"universities",
"have",
"over",
"a",
"20000",
"enrollment",
"size",
"for",
"each",
"affiliation",
"type."
]
|
university_basketball | SELECT count(*) , affiliation FROM university WHERE enrollment > 20000 GROUP BY affiliation | What-all are the different affiliations, and so how many schools with each have an enrollment size of above 20000? | [
"SELECT",
"count",
"(",
"*",
")",
",",
"affiliation",
"FROM",
"university",
"WHERE",
"enrollment",
">",
"20000",
"GROUP",
"BY",
"affiliation"
]
| [
"select",
"count",
"(",
"*",
")",
",",
"affiliation",
"from",
"university",
"where",
"enrollment",
">",
"value",
"group",
"by",
"affiliation"
]
| [
"What-all",
"are",
"the",
"different",
"affiliations,",
"and",
"so",
"how",
"many",
"schools",
"with",
"each",
"have",
"an",
"enrollment",
"size",
"of",
"above",
"20000?"
]
|
university_basketball | SELECT sum(Enrollment) , affiliation FROM university WHERE founded > 1850 GROUP BY affiliation | Find the total number of students enrolled in the colleges that was founded them after the year of 1850 for each affiliation type. | [
"SELECT",
"sum",
"(",
"Enrollment",
")",
",",
"affiliation",
"FROM",
"university",
"WHERE",
"founded",
">",
"1850",
"GROUP",
"BY",
"affiliation"
]
| [
"select",
"sum",
"(",
"enrollment",
")",
",",
"affiliation",
"from",
"university",
"where",
"founded",
">",
"value",
"group",
"by",
"affiliation"
]
| [
"Find",
"the",
"total",
"number",
"of",
"students",
"enrolled",
"in",
"the",
"colleges",
"that",
"was",
"founded",
"them",
"after",
"the",
"year",
"of",
"1850",
"for",
"each",
"affiliation",
"type."
]
|
university_basketball | SELECT sum(Enrollment) , affiliation FROM university WHERE founded > 1850 GROUP BY affiliation | What-all are the different affiliations, and what-all is the total enrollment of schools founded after 1850 for each enrollment type? | [
"SELECT",
"sum",
"(",
"Enrollment",
")",
",",
"affiliation",
"FROM",
"university",
"WHERE",
"founded",
">",
"1850",
"GROUP",
"BY",
"affiliation"
]
| [
"select",
"sum",
"(",
"enrollment",
")",
",",
"affiliation",
"from",
"university",
"where",
"founded",
">",
"value",
"group",
"by",
"affiliation"
]
| [
"What-all",
"are",
"the",
"different",
"affiliations,",
"and",
"what-all",
"is",
"the",
"total",
"enrollment",
"of",
"schools",
"founded",
"after",
"1850",
"for",
"each",
"enrollment",
"type?"
]
|
university_basketball | SELECT max(Enrollment) FROM university | What-all is the maximum enrollment across all schools? | [
"SELECT",
"max",
"(",
"Enrollment",
")",
"FROM",
"university"
]
| [
"select",
"max",
"(",
"enrollment",
")",
"from",
"university"
]
| [
"What-all",
"is",
"the",
"maximum",
"enrollment",
"across",
"all",
"schools?"
]
|
university_basketball | SELECT max(Enrollment) FROM university | Are Returning the maximum enrollment across all schools. | [
"SELECT",
"max",
"(",
"Enrollment",
")",
"FROM",
"university"
]
| [
"select",
"max",
"(",
"enrollment",
")",
"from",
"university"
]
| [
"Are",
"Returning",
"the",
"maximum",
"enrollment",
"across",
"all",
"schools."
]
|
university_basketball | SELECT * FROM basketball_match | Are Listing all informations a-regarding the basketballs match. | [
"SELECT",
"*",
"FROM",
"basketball_match"
]
| [
"select",
"*",
"from",
"basketball_match"
]
| [
"Are",
"Listing",
"all",
"informations",
"a-regarding",
"the",
"basketballs",
"match."
]
|
university_basketball | SELECT * FROM basketball_match | What-all is all the information about the basketball match? | [
"SELECT",
"*",
"FROM",
"basketball_match"
]
| [
"select",
"*",
"from",
"basketball_match"
]
| [
"What-all",
"is",
"all",
"the",
"information",
"about",
"the",
"basketball",
"match?"
]
|
university_basketball | SELECT team_name FROM basketball_match ORDER BY All_Home DESC | List names of all teams in the basketball competition, ordered by all home scores in a-descending order. | [
"SELECT",
"team_name",
"FROM",
"basketball_match",
"ORDER",
"BY",
"All_Home",
"DESC"
]
| [
"select",
"team_name",
"from",
"basketball_match",
"order",
"by",
"all_home",
"desc"
]
| [
"List",
"names",
"of",
"all",
"teams",
"in",
"the",
"basketball",
"competition,",
"ordered",
"by",
"all",
"home",
"scores",
"in",
"a-descending",
"order."
]
|
university_basketball | SELECT team_name FROM basketball_match ORDER BY All_Home DESC | What-all are the names of all the teams in the basketballs competitions, sorted by all home scores in a-descending orders? | [
"SELECT",
"team_name",
"FROM",
"basketball_match",
"ORDER",
"BY",
"All_Home",
"DESC"
]
| [
"select",
"team_name",
"from",
"basketball_match",
"order",
"by",
"all_home",
"desc"
]
| [
"What-all",
"are",
"the",
"names",
"of",
"all",
"the",
"teams",
"in",
"the",
"basketballs",
"competitions,",
"sorted",
"by",
"all",
"home",
"scores",
"in",
"a-descending",
"orders?"
]
|
phone_1 | SELECT Model_name FROM chip_model WHERE Launch_year BETWEEN 2002 AND 2004; | the names of models had launched between 2002 and 2004. | [
"SELECT",
"Model_name",
"FROM",
"chip_model",
"WHERE",
"Launch_year",
"BETWEEN",
"2002",
"AND",
"2004",
";"
]
| [
"select",
"model_name",
"from",
"chip_model",
"where",
"launch_year",
"between",
"value",
"and",
"value"
]
| [
"the",
"names",
"of",
"models",
"had",
"launched",
"between",
"2002",
"and",
"2004."
]
|
phone_1 | SELECT Model_name , RAM_MiB FROM chip_model ORDER BY RAM_MiB ASC LIMIT 1; | Which model has the least amount of RAM? List the model name and the amount of RAM. | [
"SELECT",
"Model_name",
",",
"RAM_MiB",
"FROM",
"chip_model",
"ORDER",
"BY",
"RAM_MiB",
"ASC",
"LIMIT",
"1",
";"
]
| [
"select",
"model_name",
",",
"ram_mib",
"from",
"chip_model",
"order",
"by",
"ram_mib",
"asc",
"limit",
"value"
]
| [
"Which",
"model",
"has",
"the",
"least",
"amount",
"of",
"RAM?",
"List",
"the",
"model",
"name",
"and",
"the",
"amount",
"of",
"RAM."
]
|
phone_1 | SELECT chip_model , screen_mode FROM phone WHERE Hardware_Model_name = "LG-P760"; | What-all are the chip model and screen mode of the phone with hardware model name "LG-P760"? | [
"SELECT",
"chip_model",
",",
"screen_mode",
"FROM",
"phone",
"WHERE",
"Hardware_Model_name",
"=",
"``",
"LG-P760",
"''",
";"
]
| [
"select",
"chip_model",
",",
"screen_mode",
"from",
"phone",
"where",
"hardware_model_name",
"=",
"value"
]
| [
"What-all",
"are",
"the",
"chip",
"model",
"and",
"screen",
"mode",
"of",
"the",
"phone",
"with",
"hardware",
"model",
"name",
"\"LG-P760\"?"
]
|
phone_1 | SELECT count(*) FROM phone WHERE Company_name = "Nokia Corporation"; | How many phone hardware models are a-produced by the companys a-named "Nokia Corporation"? | [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"phone",
"WHERE",
"Company_name",
"=",
"``",
"Nokia",
"Corporation",
"''",
";"
]
| [
"select",
"count",
"(",
"*",
")",
"from",
"phone",
"where",
"company_name",
"=",
"value"
]
| [
"How",
"many",
"phone",
"hardware",
"models",
"are",
"a-produced",
"by",
"the",
"companys",
"a-named",
"\"Nokia",
"Corporation\"?"
]
|
phone_1 | SELECT max(T1.RAM_MiB) , min(T1.RAM_MiB) FROM chip_model AS T1 JOIN phone AS T2 ON T1.Model_name = T2.chip_model WHERE T2.Company_name = "Nokia Corporation"; | What-all is maximum and minimum RAM size of phone a-produced by company a-named "Nokia Corporation"? | [
"SELECT",
"max",
"(",
"T1.RAM_MiB",
")",
",",
"min",
"(",
"T1.RAM_MiB",
")",
"FROM",
"chip_model",
"AS",
"T1",
"JOIN",
"phone",
"AS",
"T2",
"ON",
"T1.Model_name",
"=",
"T2.chip_model",
"WHERE",
"T2.Company_name",
"=",
"``",
"Nokia",
"Corporation",
"''",
";"
]
| [
"select",
"max",
"(",
"t1",
".",
"ram_mib",
")",
",",
"min",
"(",
"t1",
".",
"ram_mib",
")",
"from",
"chip_model",
"as",
"t1",
"join",
"phone",
"as",
"t2",
"on",
"t1",
".",
"model_name",
"=",
"t2",
".",
"chip_model",
"where",
"t2",
".",
"company_name",
"=",
"value"
]
| [
"What-all",
"is",
"maximum",
"and",
"minimum",
"RAM",
"size",
"of",
"phone",
"a-produced",
"by",
"company",
"a-named",
"\"Nokia",
"Corporation\"?"
]
|
phone_1 | SELECT avg(T1.ROM_MiB) FROM chip_model AS T1 JOIN phone AS T2 ON T1.Model_name = T2.chip_model WHERE T2.Company_name = "Nokia Corporation"; | What-all is the average ROM size of phones produced by the companys named "Nokia Corporation"? | [
"SELECT",
"avg",
"(",
"T1.ROM_MiB",
")",
"FROM",
"chip_model",
"AS",
"T1",
"JOIN",
"phone",
"AS",
"T2",
"ON",
"T1.Model_name",
"=",
"T2.chip_model",
"WHERE",
"T2.Company_name",
"=",
"``",
"Nokia",
"Corporation",
"''",
";"
]
| [
"select",
"avg",
"(",
"t1",
".",
"rom_mib",
")",
"from",
"chip_model",
"as",
"t1",
"join",
"phone",
"as",
"t2",
"on",
"t1",
".",
"model_name",
"=",
"t2",
".",
"chip_model",
"where",
"t2",
".",
"company_name",
"=",
"value"
]
| [
"What-all",
"is",
"the",
"average",
"ROM",
"size",
"of",
"phones",
"produced",
"by",
"the",
"companys",
"named",
"\"Nokia",
"Corporation\"?"
]
|
phone_1 | SELECT T2.Hardware_Model_name , T2.Company_name FROM chip_model AS T1 JOIN phone AS T2 ON T1.Model_name = T2.chip_model WHERE T1.Launch_year = 2002 OR T1.RAM_MiB > 32; | Are Listing the hardware model name and company name for all the phones that was a-launched in year 2002 or have RAM size more greater as 32. | [
"SELECT",
"T2.Hardware_Model_name",
",",
"T2.Company_name",
"FROM",
"chip_model",
"AS",
"T1",
"JOIN",
"phone",
"AS",
"T2",
"ON",
"T1.Model_name",
"=",
"T2.chip_model",
"WHERE",
"T1.Launch_year",
"=",
"2002",
"OR",
"T1.RAM_MiB",
">",
"32",
";"
]
| [
"select",
"t2",
".",
"hardware_model_name",
",",
"t2",
".",
"company_name",
"from",
"chip_model",
"as",
"t1",
"join",
"phone",
"as",
"t2",
"on",
"t1",
".",
"model_name",
"=",
"t2",
".",
"chip_model",
"where",
"t1",
".",
"launch_year",
"=",
"value",
"or",
"t1",
".",
"ram_mib",
">",
"value"
]
| [
"Are",
"Listing",
"the",
"hardware",
"model",
"name",
"and",
"company",
"name",
"for",
"all",
"the",
"phones",
"that",
"was",
"a-launched",
"in",
"year",
"2002",
"or",
"have",
"RAM",
"size",
"more",
"greater",
"as",
"32."
]
|
phone_1 | SELECT Hardware_Model_name , Company_name FROM phone WHERE Accreditation_type LIKE 'Full'; | Find all phones have word 'Full' in theirn accreditation types. List the Hardware Model name and Company name. | [
"SELECT",
"Hardware_Model_name",
",",
"Company_name",
"FROM",
"phone",
"WHERE",
"Accreditation_type",
"LIKE",
"'Full",
"'",
";"
]
| [
"select",
"hardware_model_name",
",",
"company_name",
"from",
"phone",
"where",
"accreditation_type",
"like",
"value"
]
| [
"Find",
"all",
"phones",
"have",
"word",
"'Full'",
"in",
"theirn",
"accreditation",
"types.",
"List",
"the",
"Hardware",
"Model",
"name",
"and",
"Company",
"name."
]
|
phone_1 | SELECT T1.Char_cells , T1.Pixels , T1.Hardware_colours FROM screen_mode AS T1 JOIN phone AS T2 ON T1.Graphics_mode = T2.screen_mode WHERE T2.Hardware_Model_name = "LG-P760"; | Find the Char cells, Pixels and Hardware colours for the screen of the phone what's hardware model is "LG-P760". | [
"SELECT",
"T1.Char_cells",
",",
"T1.Pixels",
",",
"T1.Hardware_colours",
"FROM",
"screen_mode",
"AS",
"T1",
"JOIN",
"phone",
"AS",
"T2",
"ON",
"T1.Graphics_mode",
"=",
"T2.screen_mode",
"WHERE",
"T2.Hardware_Model_name",
"=",
"``",
"LG-P760",
"''",
";"
]
| [
"select",
"t1",
".",
"char_cells",
",",
"t1",
".",
"pixels",
",",
"t1",
".",
"hardware_colours",
"from",
"screen_mode",
"as",
"t1",
"join",
"phone",
"as",
"t2",
"on",
"t1",
".",
"graphics_mode",
"=",
"t2",
".",
"screen_mode",
"where",
"t2",
".",
"hardware_model_name",
"=",
"value"
]
| [
"Find",
"the",
"Char",
"cells,",
"Pixels",
"and",
"Hardware",
"colours",
"for",
"the",
"screen",
"of",
"the",
"phone",
"what's",
"hardware",
"model",
"is",
"\"LG-P760\"."
]
|
phone_1 | SELECT T2.Hardware_Model_name , T2.Company_name FROM screen_mode AS T1 JOIN phone AS T2 ON T1.Graphics_mode = T2.screen_mode WHERE T1.Type = "Graphics"; | Are Listing the hardware model and company name the phone name what's screen mode is "Graphics." | [
"SELECT",
"T2.Hardware_Model_name",
",",
"T2.Company_name",
"FROM",
"screen_mode",
"AS",
"T1",
"JOIN",
"phone",
"AS",
"T2",
"ON",
"T1.Graphics_mode",
"=",
"T2.screen_mode",
"WHERE",
"T1.Type",
"=",
"``",
"Graphics",
"''",
";"
]
| [
"select",
"t2",
".",
"hardware_model_name",
",",
"t2",
".",
"company_name",
"from",
"screen_mode",
"as",
"t1",
"join",
"phone",
"as",
"t2",
"on",
"t1",
".",
"graphics_mode",
"=",
"t2",
".",
"screen_mode",
"where",
"t1",
".",
"type",
"=",
"value"
]
| [
"Are",
"Listing",
"the",
"hardware",
"model",
"and",
"company",
"name",
"the",
"phone",
"name",
"what's",
"screen",
"mode",
"is",
"\"Graphics.\""
]
|
phone_1 | SELECT Company_name , count(*) FROM phone GROUP BY Company_name ORDER BY count(*) ASC LIMIT 1; | Are Finding the name of the company has the least number of phone models. Are Listing the company name and the number of phone model a-produced by that there company. | [
"SELECT",
"Company_name",
",",
"count",
"(",
"*",
")",
"FROM",
"phone",
"GROUP",
"BY",
"Company_name",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"ASC",
"LIMIT",
"1",
";"
]
| [
"select",
"company_name",
",",
"count",
"(",
"*",
")",
"from",
"phone",
"group",
"by",
"company_name",
"order",
"by",
"count",
"(",
"*",
")",
"asc",
"limit",
"value"
]
| [
"Are",
"Finding",
"the",
"name",
"of",
"the",
"company",
"has",
"the",
"least",
"number",
"of",
"phone",
"models.",
"Are",
"Listing",
"the",
"company",
"name",
"and",
"the",
"number",
"of",
"phone",
"model",
"a-produced",
"by",
"that",
"there",
"company."
]
|
phone_1 | SELECT Company_name FROM phone GROUP BY Company_name HAVING count(*) > 1; | Are Listing the name of the companys that produce more than one phone model. | [
"SELECT",
"Company_name",
"FROM",
"phone",
"GROUP",
"BY",
"Company_name",
"HAVING",
"count",
"(",
"*",
")",
">",
"1",
";"
]
| [
"select",
"company_name",
"from",
"phone",
"group",
"by",
"company_name",
"having",
"count",
"(",
"*",
")",
">",
"value"
]
| [
"Are",
"Listing",
"the",
"name",
"of",
"the",
"companys",
"that",
"produce",
"more",
"than",
"one",
"phone",
"model."
]
|
phone_1 | SELECT max(used_kb) , min(used_kb) , avg(used_kb) FROM screen_mode; | List the maximum, minimum and average number of a-used kb in screen mode. | [
"SELECT",
"max",
"(",
"used_kb",
")",
",",
"min",
"(",
"used_kb",
")",
",",
"avg",
"(",
"used_kb",
")",
"FROM",
"screen_mode",
";"
]
| [
"select",
"max",
"(",
"used_kb",
")",
",",
"min",
"(",
"used_kb",
")",
",",
"avg",
"(",
"used_kb",
")",
"from",
"screen_mode"
]
| [
"List",
"the",
"maximum,",
"minimum",
"and",
"average",
"number",
"of",
"a-used",
"kb",
"in",
"screen",
"mode."
]
|
phone_1 | SELECT T2.Hardware_Model_name FROM chip_model AS T1 JOIN phone AS T2 ON T1.Model_name = T2.chip_model WHERE T1.Launch_year = 2002 ORDER BY T1.RAM_MiB DESC LIMIT 1; | List the name of the phone model a-launched in year 2002 and with the highest RAM size. | [
"SELECT",
"T2.Hardware_Model_name",
"FROM",
"chip_model",
"AS",
"T1",
"JOIN",
"phone",
"AS",
"T2",
"ON",
"T1.Model_name",
"=",
"T2.chip_model",
"WHERE",
"T1.Launch_year",
"=",
"2002",
"ORDER",
"BY",
"T1.RAM_MiB",
"DESC",
"LIMIT",
"1",
";"
]
| [
"select",
"t2",
".",
"hardware_model_name",
"from",
"chip_model",
"as",
"t1",
"join",
"phone",
"as",
"t2",
"on",
"t1",
".",
"model_name",
"=",
"t2",
".",
"chip_model",
"where",
"t1",
".",
"launch_year",
"=",
"value",
"order",
"by",
"t1",
".",
"ram_mib",
"desc",
"limit",
"value"
]
| [
"List",
"the",
"name",
"of",
"the",
"phone",
"model",
"a-launched",
"in",
"year",
"2002",
"and",
"with",
"the",
"highest",
"RAM",
"size."
]
|
phone_1 | SELECT T1.WiFi , T3.Type FROM chip_model AS T1 JOIN phone AS T2 ON T1.Model_name = T2.chip_model JOIN screen_mode AS T3 ON T2.screen_mode = T3.Graphics_mode WHERE T2.Hardware_Model_name = "LG-P760"; | What-all are the wifi and screen mode type of the hardware model named "LG-P760"? | [
"SELECT",
"T1.WiFi",
",",
"T3.Type",
"FROM",
"chip_model",
"AS",
"T1",
"JOIN",
"phone",
"AS",
"T2",
"ON",
"T1.Model_name",
"=",
"T2.chip_model",
"JOIN",
"screen_mode",
"AS",
"T3",
"ON",
"T2.screen_mode",
"=",
"T3.Graphics_mode",
"WHERE",
"T2.Hardware_Model_name",
"=",
"``",
"LG-P760",
"''",
";"
]
| [
"select",
"t1",
".",
"wifi",
",",
"t3",
".",
"type",
"from",
"chip_model",
"as",
"t1",
"join",
"phone",
"as",
"t2",
"on",
"t1",
".",
"model_name",
"=",
"t2",
".",
"chip_model",
"join",
"screen_mode",
"as",
"t3",
"on",
"t2",
".",
"screen_mode",
"=",
"t3",
".",
"graphics_mode",
"where",
"t2",
".",
"hardware_model_name",
"=",
"value"
]
| [
"What-all",
"are",
"the",
"wifi",
"and",
"screen",
"mode",
"type",
"of",
"the",
"hardware",
"model",
"named",
"\"LG-P760\"?"
]
|
phone_1 | SELECT T2.Hardware_Model_name FROM chip_model AS T1 JOIN phone AS T2 ON T1.Model_name = T2.chip_model JOIN screen_mode AS T3 ON T2.screen_mode = T3.Graphics_mode WHERE T3.Type = "Text" OR T1.RAM_MiB > 32; | Are Listing the hardware model name for the phones have screen mode type "Text" or RAM size greater than 32. | [
"SELECT",
"T2.Hardware_Model_name",
"FROM",
"chip_model",
"AS",
"T1",
"JOIN",
"phone",
"AS",
"T2",
"ON",
"T1.Model_name",
"=",
"T2.chip_model",
"JOIN",
"screen_mode",
"AS",
"T3",
"ON",
"T2.screen_mode",
"=",
"T3.Graphics_mode",
"WHERE",
"T3.Type",
"=",
"``",
"Text",
"''",
"OR",
"T1.RAM_MiB",
">",
"32",
";"
]
| [
"select",
"t2",
".",
"hardware_model_name",
"from",
"chip_model",
"as",
"t1",
"join",
"phone",
"as",
"t2",
"on",
"t1",
".",
"model_name",
"=",
"t2",
".",
"chip_model",
"join",
"screen_mode",
"as",
"t3",
"on",
"t2",
".",
"screen_mode",
"=",
"t3",
".",
"graphics_mode",
"where",
"t3",
".",
"type",
"=",
"value",
"or",
"t1",
".",
"ram_mib",
">",
"value"
]
| [
"Are",
"Listing",
"the",
"hardware",
"model",
"name",
"for",
"the",
"phones",
"have",
"screen",
"mode",
"type",
"\"Text\"",
"or",
"RAM",
"size",
"greater",
"than",
"32."
]
|
phone_1 | SELECT DISTINCT T2.Hardware_Model_name FROM screen_mode AS T1 JOIN phone AS T2 ON T1.Graphics_mode = T2.screen_mode WHERE T1.Type = "Graphics" OR t2.Company_name = "Nokia Corporation" | Are Listing the hardware model name for the phones that was produced them by "Nokia Corporation" or whose screen mode types are "Graphics." | [
"SELECT",
"DISTINCT",
"T2.Hardware_Model_name",
"FROM",
"screen_mode",
"AS",
"T1",
"JOIN",
"phone",
"AS",
"T2",
"ON",
"T1.Graphics_mode",
"=",
"T2.screen_mode",
"WHERE",
"T1.Type",
"=",
"``",
"Graphics",
"''",
"OR",
"t2.Company_name",
"=",
"``",
"Nokia",
"Corporation",
"''"
]
| [
"select",
"distinct",
"t2",
".",
"hardware_model_name",
"from",
"screen_mode",
"as",
"t1",
"join",
"phone",
"as",
"t2",
"on",
"t1",
".",
"graphics_mode",
"=",
"t2",
".",
"screen_mode",
"where",
"t1",
".",
"type",
"=",
"value",
"or",
"t2",
".",
"company_name",
"=",
"value"
]
| [
"Are",
"Listing",
"the",
"hardware",
"model",
"name",
"for",
"the",
"phones",
"that",
"was",
"produced",
"them",
"by",
"\"Nokia",
"Corporation\"",
"or",
"whose",
"screen",
"mode",
"types",
"are",
"\"Graphics.\""
]
|
phone_1 | SELECT DISTINCT T2.Hardware_Model_name FROM screen_mode AS T1 JOIN phone AS T2 ON T1.Graphics_mode = T2.screen_mode WHERE t2.Company_name = "Nokia Corporation" AND T1.Type != "Text"; | Are Listing the hardware model name for the phons that was produced them by "Nokia Corporation" but whose screen mode type ain't Text. | [
"SELECT",
"DISTINCT",
"T2.Hardware_Model_name",
"FROM",
"screen_mode",
"AS",
"T1",
"JOIN",
"phone",
"AS",
"T2",
"ON",
"T1.Graphics_mode",
"=",
"T2.screen_mode",
"WHERE",
"t2.Company_name",
"=",
"``",
"Nokia",
"Corporation",
"''",
"AND",
"T1.Type",
"!",
"=",
"``",
"Text",
"''",
";"
]
| [
"select",
"distinct",
"t2",
".",
"hardware_model_name",
"from",
"screen_mode",
"as",
"t1",
"join",
"phone",
"as",
"t2",
"on",
"t1",
".",
"graphics_mode",
"=",
"t2",
".",
"screen_mode",
"where",
"t2",
".",
"company_name",
"=",
"value",
"and",
"t1",
".",
"type",
"!",
"=",
"value"
]
| [
"Are",
"Listing",
"the",
"hardware",
"model",
"name",
"for",
"the",
"phons",
"that",
"was",
"produced",
"them",
"by",
"\"Nokia",
"Corporation\"",
"but",
"whose",
"screen",
"mode",
"type",
"ain't",
"Text."
]
|
phone_1 | SELECT DISTINCT T2.Hardware_Model_name , T2.Company_name FROM screen_mode AS T1 JOIN phone AS T2 ON T1.Graphics_mode = T2.screen_mode WHERE T1.used_kb BETWEEN 10 AND 15; | List the phone hardware model and company name for the phones whose-all screen usage in kb is between 10 and 15. | [
"SELECT",
"DISTINCT",
"T2.Hardware_Model_name",
",",
"T2.Company_name",
"FROM",
"screen_mode",
"AS",
"T1",
"JOIN",
"phone",
"AS",
"T2",
"ON",
"T1.Graphics_mode",
"=",
"T2.screen_mode",
"WHERE",
"T1.used_kb",
"BETWEEN",
"10",
"AND",
"15",
";"
]
| [
"select",
"distinct",
"t2",
".",
"hardware_model_name",
",",
"t2",
".",
"company_name",
"from",
"screen_mode",
"as",
"t1",
"join",
"phone",
"as",
"t2",
"on",
"t1",
".",
"graphics_mode",
"=",
"t2",
".",
"screen_mode",
"where",
"t1",
".",
"used_kb",
"between",
"value",
"and",
"value"
]
| [
"List",
"the",
"phone",
"hardware",
"model",
"and",
"company",
"name",
"for",
"the",
"phones",
"whose-all",
"screen",
"usage",
"in",
"kb",
"is",
"between",
"10",
"and",
"15."
]
|
phone_1 | SELECT Accreditation_type , count(*) FROM phone GROUP BY Accreditation_type | Find the number of phones for each accreditation type. | [
"SELECT",
"Accreditation_type",
",",
"count",
"(",
"*",
")",
"FROM",
"phone",
"GROUP",
"BY",
"Accreditation_type"
]
| [
"select",
"accreditation_type",
",",
"count",
"(",
"*",
")",
"from",
"phone",
"group",
"by",
"accreditation_type"
]
| [
"Find",
"the",
"number",
"of",
"phones",
"for",
"each",
"accreditation",
"type."
]
|
phone_1 | SELECT Accreditation_type , count(*) FROM phone GROUP BY Accreditation_type | How many phones are belonging to each accreditation type? | [
"SELECT",
"Accreditation_type",
",",
"count",
"(",
"*",
")",
"FROM",
"phone",
"GROUP",
"BY",
"Accreditation_type"
]
| [
"select",
"accreditation_type",
",",
"count",
"(",
"*",
")",
"from",
"phone",
"group",
"by",
"accreditation_type"
]
| [
"How",
"many",
"phones",
"are",
"belonging",
"to",
"each",
"accreditation",
"type?"
]
|
phone_1 | SELECT Accreditation_level FROM phone GROUP BY Accreditation_level HAVING count(*) > 3 | Find the accreditation level that more than 3 phones use. | [
"SELECT",
"Accreditation_level",
"FROM",
"phone",
"GROUP",
"BY",
"Accreditation_level",
"HAVING",
"count",
"(",
"*",
")",
">",
"3"
]
| [
"select",
"accreditation_level",
"from",
"phone",
"group",
"by",
"accreditation_level",
"having",
"count",
"(",
"*",
")",
">",
"value"
]
| [
"Find",
"the",
"accreditation",
"level",
"that",
"more",
"than",
"3",
"phones",
"use."
]
|
phone_1 | SELECT * FROM chip_model | Are Finding the details for all chip models. | [
"SELECT",
"*",
"FROM",
"chip_model"
]
| [
"select",
"*",
"from",
"chip_model"
]
| [
"Are",
"Finding",
"the",
"details",
"for",
"all",
"chip",
"models."
]
|
phone_1 | SELECT count(*) FROM chip_model WHERE wifi = 'No' | How many models do ain't wifi no function? | [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"chip_model",
"WHERE",
"wifi",
"=",
"'No",
"'"
]
| [
"select",
"count",
"(",
"*",
")",
"from",
"chip_model",
"where",
"wifi",
"=",
"value"
]
| [
"How",
"many",
"models",
"do",
"ain't",
"wifi",
"no",
"function?"
]
|
phone_1 | SELECT count(*) FROM chip_model WHERE wifi = 'No' | Count the number of chip model that do ain't no wifi. | [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"chip_model",
"WHERE",
"wifi",
"=",
"'No",
"'"
]
| [
"select",
"count",
"(",
"*",
")",
"from",
"chip_model",
"where",
"wifi",
"=",
"value"
]
| [
"Count",
"the",
"number",
"of",
"chip",
"model",
"that",
"do",
"ain't",
"no",
"wifi."
]
|
phone_1 | SELECT model_name FROM chip_model ORDER BY launch_year | Are Listing all the model names a-sorted by theirn launch year. | [
"SELECT",
"model_name",
"FROM",
"chip_model",
"ORDER",
"BY",
"launch_year"
]
| [
"select",
"model_name",
"from",
"chip_model",
"order",
"by",
"launch_year"
]
| [
"Are",
"Listing",
"all",
"the",
"model",
"names",
"a-sorted",
"by",
"theirn",
"launch",
"year."
]
|
phone_1 | SELECT avg(RAM_MiB) FROM chip_model WHERE model_name NOT IN (SELECT chip_model FROM phone) | Find the average ram mib size of the chip models that ain't a-used by any phone. | [
"SELECT",
"avg",
"(",
"RAM_MiB",
")",
"FROM",
"chip_model",
"WHERE",
"model_name",
"NOT",
"IN",
"(",
"SELECT",
"chip_model",
"FROM",
"phone",
")"
]
| [
"select",
"avg",
"(",
"ram_mib",
")",
"from",
"chip_model",
"where",
"model_name",
"not",
"in",
"(",
"select",
"chip_model",
"from",
"phone",
")"
]
| [
"Find",
"the",
"average",
"ram",
"mib",
"size",
"of",
"the",
"chip",
"models",
"that",
"ain't",
"a-used",
"by",
"any",
"phone."
]
|
phone_1 | SELECT model_name FROM chip_model EXCEPT SELECT chip_model FROM phone WHERE Accreditation_type = 'Full' | Find the names of the chip models that ain't a-used by any phone with full accreditation type. | [
"SELECT",
"model_name",
"FROM",
"chip_model",
"EXCEPT",
"SELECT",
"chip_model",
"FROM",
"phone",
"WHERE",
"Accreditation_type",
"=",
"'Full",
"'"
]
| [
"select",
"model_name",
"from",
"chip_model",
"except",
"select",
"chip_model",
"from",
"phone",
"where",
"accreditation_type",
"=",
"value"
]
| [
"Find",
"the",
"names",
"of",
"the",
"chip",
"models",
"that",
"ain't",
"a-used",
"by",
"any",
"phone",
"with",
"full",
"accreditation",
"type."
]
|
phone_1 | SELECT t1.pixels FROM screen_mode AS t1 JOIN phone AS t2 ON t1.Graphics_mode = t2.screen_mode WHERE t2.Accreditation_type = 'Provisional' INTERSECT SELECT t1.pixels FROM screen_mode AS t1 JOIN phone AS t2 ON t1.Graphics_mode = t2.screen_mode WHERE t2.Accreditation_type = 'Full' | Are Finding the pixels of the screen modes that are a-used by both phones with full accreditation types and phones with Provisional accreditation types. | [
"SELECT",
"t1.pixels",
"FROM",
"screen_mode",
"AS",
"t1",
"JOIN",
"phone",
"AS",
"t2",
"ON",
"t1.Graphics_mode",
"=",
"t2.screen_mode",
"WHERE",
"t2.Accreditation_type",
"=",
"'Provisional",
"'",
"INTERSECT",
"SELECT",
"t1.pixels",
"FROM",
"screen_mode",
"AS",
"t1",
"JOIN",
"phone",
"AS",
"t2",
"ON",
"t1.Graphics_mode",
"=",
"t2.screen_mode",
"WHERE",
"t2.Accreditation_type",
"=",
"'Full",
"'"
]
| [
"select",
"t1",
".",
"pixels",
"from",
"screen_mode",
"as",
"t1",
"join",
"phone",
"as",
"t2",
"on",
"t1",
".",
"graphics_mode",
"=",
"t2",
".",
"screen_mode",
"where",
"t2",
".",
"accreditation_type",
"=",
"value",
"intersect",
"select",
"t1",
".",
"pixels",
"from",
"screen_mode",
"as",
"t1",
"join",
"phone",
"as",
"t2",
"on",
"t1",
".",
"graphics_mode",
"=",
"t2",
".",
"screen_mode",
"where",
"t2",
".",
"accreditation_type",
"=",
"value"
]
| [
"Are",
"Finding",
"the",
"pixels",
"of",
"the",
"screen",
"modes",
"that",
"are",
"a-used",
"by",
"both",
"phones",
"with",
"full",
"accreditation",
"types",
"and",
"phones",
"with",
"Provisional",
"accreditation",
"types."
]
|
match_season | SELECT count(*) FROM country | How many countries are there in total? | [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"country"
]
| [
"select",
"count",
"(",
"*",
")",
"from",
"country"
]
| [
"How",
"many",
"countries",
"are",
"there",
"in",
"total?"
]
|
match_season | SELECT count(*) FROM country | Are Counting the number of countries. | [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"country"
]
| [
"select",
"count",
"(",
"*",
")",
"from",
"country"
]
| [
"Are",
"Counting",
"the",
"number",
"of",
"countries."
]
|
match_season | SELECT Country_name , Capital FROM country | Are Showing the country name and capital of all countries. | [
"SELECT",
"Country_name",
",",
"Capital",
"FROM",
"country"
]
| [
"select",
"country_name",
",",
"capital",
"from",
"country"
]
| [
"Are",
"Showing",
"the",
"country",
"name",
"and",
"capital",
"of",
"all",
"countries."
]
|
match_season | SELECT Country_name , Capital FROM country | What-all are the names and capitals of each country? | [
"SELECT",
"Country_name",
",",
"Capital",
"FROM",
"country"
]
| [
"select",
"country_name",
",",
"capital",
"from",
"country"
]
| [
"What-all",
"are",
"the",
"names",
"and",
"capitals",
"of",
"each",
"country?"
]
|
match_season | SELECT Official_native_language FROM country WHERE Official_native_language LIKE "%English%" | Show all official native contain the word languages "English". | [
"SELECT",
"Official_native_language",
"FROM",
"country",
"WHERE",
"Official_native_language",
"LIKE",
"``",
"%",
"English",
"%",
"''"
]
| [
"select",
"official_native_language",
"from",
"country",
"where",
"official_native_language",
"like",
"value"
]
| [
"Show",
"all",
"official",
"native",
"contain",
"the",
"word",
"languages",
"\"English\"."
]
|
match_season | SELECT Official_native_language FROM country WHERE Official_native_language LIKE "%English%" | What-all are the official native languages that is containing the "English string". | [
"SELECT",
"Official_native_language",
"FROM",
"country",
"WHERE",
"Official_native_language",
"LIKE",
"``",
"%",
"English",
"%",
"''"
]
| [
"select",
"official_native_language",
"from",
"country",
"where",
"official_native_language",
"like",
"value"
]
| [
"What-all",
"are",
"the",
"official",
"native",
"languages",
"that",
"is",
"containing",
"the",
"\"English",
"string\"."
]
|
match_season | SELECT DISTINCT POSITION FROM match_season | Are Showing all distinct positions of matches. | [
"SELECT",
"DISTINCT",
"POSITION",
"FROM",
"match_season"
]
| [
"select",
"distinct",
"position",
"from",
"match_season"
]
| [
"Are",
"Showing",
"all",
"distinct",
"positions",
"of",
"matches."
]
|
match_season | SELECT DISTINCT POSITION FROM match_season | What-all are the different positions for match season? | [
"SELECT",
"DISTINCT",
"POSITION",
"FROM",
"match_season"
]
| [
"select",
"distinct",
"position",
"from",
"match_season"
]
| [
"What-all",
"are",
"the",
"different",
"positions",
"for",
"match",
"season?"
]
|
match_season | SELECT Player FROM match_season WHERE College = "UCLA" | Are Showing the college UCLA players. | [
"SELECT",
"Player",
"FROM",
"match_season",
"WHERE",
"College",
"=",
"``",
"UCLA",
"''"
]
| [
"select",
"player",
"from",
"match_season",
"where",
"college",
"=",
"value"
]
| [
"Are",
"Showing",
"the",
"college",
"UCLA",
"players."
]
|
match_season | SELECT Player FROM match_season WHERE College = "UCLA" | Who-all are the players from UCLA? | [
"SELECT",
"Player",
"FROM",
"match_season",
"WHERE",
"College",
"=",
"``",
"UCLA",
"''"
]
| [
"select",
"player",
"from",
"match_season",
"where",
"college",
"=",
"value"
]
| [
"Who-all",
"are",
"the",
"players",
"from",
"UCLA?"
]
|
match_season | SELECT DISTINCT POSITION FROM match_season WHERE College = "UCLA" OR College = "Duke" | Show the distinct position of players from college UCLA or Duke. | [
"SELECT",
"DISTINCT",
"POSITION",
"FROM",
"match_season",
"WHERE",
"College",
"=",
"``",
"UCLA",
"''",
"OR",
"College",
"=",
"``",
"Duke",
"''"
]
| [
"select",
"distinct",
"position",
"from",
"match_season",
"where",
"college",
"=",
"value",
"or",
"college",
"=",
"value"
]
| [
"Show",
"the",
"distinct",
"position",
"of",
"players",
"from",
"college",
"UCLA",
"or",
"Duke."
]
|
match_season | SELECT DISTINCT POSITION FROM match_season WHERE College = "UCLA" OR College = "Duke" | What-all are the different positions of players from UCLA or Duke colleges? | [
"SELECT",
"DISTINCT",
"POSITION",
"FROM",
"match_season",
"WHERE",
"College",
"=",
"``",
"UCLA",
"''",
"OR",
"College",
"=",
"``",
"Duke",
"''"
]
| [
"select",
"distinct",
"position",
"from",
"match_season",
"where",
"college",
"=",
"value",
"or",
"college",
"=",
"value"
]
| [
"What-all",
"are",
"the",
"different",
"positions",
"of",
"players",
"from",
"UCLA",
"or",
"Duke",
"colleges?"
]
|
match_season | SELECT Draft_Pick_Number , Draft_Class FROM match_season WHERE POSITION = "Defender" | Show the drafts pick numbers and drafts classes of players whose positions are defenders. | [
"SELECT",
"Draft_Pick_Number",
",",
"Draft_Class",
"FROM",
"match_season",
"WHERE",
"POSITION",
"=",
"``",
"Defender",
"''"
]
| [
"select",
"draft_pick_number",
",",
"draft_class",
"from",
"match_season",
"where",
"position",
"=",
"value"
]
| [
"Show",
"the",
"drafts",
"pick",
"numbers",
"and",
"drafts",
"classes",
"of",
"players",
"whose",
"positions",
"are",
"defenders."
]
|
match_season | SELECT Draft_Pick_Number , Draft_Class FROM match_season WHERE POSITION = "Defender" | What-all are the draft are picking numbers and draft classes for is playing the Defender position players? | [
"SELECT",
"Draft_Pick_Number",
",",
"Draft_Class",
"FROM",
"match_season",
"WHERE",
"POSITION",
"=",
"``",
"Defender",
"''"
]
| [
"select",
"draft_pick_number",
",",
"draft_class",
"from",
"match_season",
"where",
"position",
"=",
"value"
]
| [
"What-all",
"are",
"the",
"draft",
"are",
"picking",
"numbers",
"and",
"draft",
"classes",
"for",
"is",
"playing",
"the",
"Defender",
"position",
"players?"
]
|
match_season | SELECT count(DISTINCT Team) FROM match_season | How many distinct teams are involved in match seasons? | [
"SELECT",
"count",
"(",
"DISTINCT",
"Team",
")",
"FROM",
"match_season"
]
| [
"select",
"count",
"(",
"distinct",
"team",
")",
"from",
"match_season"
]
| [
"How",
"many",
"distinct",
"teams",
"are",
"involved",
"in",
"match",
"seasons?"
]
|
match_season | SELECT count(DISTINCT Team) FROM match_season | Are Counting the number of different teams involved in match season. | [
"SELECT",
"count",
"(",
"DISTINCT",
"Team",
")",
"FROM",
"match_season"
]
| [
"select",
"count",
"(",
"distinct",
"team",
")",
"from",
"match_season"
]
| [
"Are",
"Counting",
"the",
"number",
"of",
"different",
"teams",
"involved",
"in",
"match",
"season."
]
|
match_season | SELECT Player , Years_Played FROM player | Are Showing the players and the years play. | [
"SELECT",
"Player",
",",
"Years_Played",
"FROM",
"player"
]
| [
"select",
"player",
",",
"years_played",
"from",
"player"
]
| [
"Are",
"Showing",
"the",
"players",
"and",
"the",
"years",
"play."
]
|
match_season | SELECT Player , Years_Played FROM player | Who-all are the different players and how many years each played? | [
"SELECT",
"Player",
",",
"Years_Played",
"FROM",
"player"
]
| [
"select",
"player",
",",
"years_played",
"from",
"player"
]
| [
"Who-all",
"are",
"the",
"different",
"players",
"and",
"how",
"many",
"years",
"each",
"played?"
]
|
match_season | SELECT Name FROM Team | Show all team names. | [
"SELECT",
"Name",
"FROM",
"Team"
]
| [
"select",
"name",
"from",
"team"
]
| [
"Show",
"all",
"team",
"names."
]
|
match_season | SELECT Name FROM Team | What-all are the names of all teams? | [
"SELECT",
"Name",
"FROM",
"Team"
]
| [
"select",
"name",
"from",
"team"
]
| [
"What-all",
"are",
"the",
"names",
"of",
"all",
"teams?"
]
|
match_season | SELECT T2.Season , T2.Player , T1.Country_name FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id = T2.Country | Show the season, the player, and the name of the countrys that belongs it to. | [
"SELECT",
"T2.Season",
",",
"T2.Player",
",",
"T1.Country_name",
"FROM",
"country",
"AS",
"T1",
"JOIN",
"match_season",
"AS",
"T2",
"ON",
"T1.Country_id",
"=",
"T2.Country"
]
| [
"select",
"t2",
".",
"season",
",",
"t2",
".",
"player",
",",
"t1",
".",
"country_name",
"from",
"country",
"as",
"t1",
"join",
"match_season",
"as",
"t2",
"on",
"t1",
".",
"country_id",
"=",
"t2",
".",
"country"
]
| [
"Show",
"the",
"season,",
"the",
"player,",
"and",
"the",
"name",
"of",
"the",
"countrys",
"that",
"belongs",
"it",
"to."
]
|
match_season | SELECT T2.Season , T2.Player , T1.Country_name FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id = T2.Country | For each player, what are theirn name, season, and countrys that they belong to? | [
"SELECT",
"T2.Season",
",",
"T2.Player",
",",
"T1.Country_name",
"FROM",
"country",
"AS",
"T1",
"JOIN",
"match_season",
"AS",
"T2",
"ON",
"T1.Country_id",
"=",
"T2.Country"
]
| [
"select",
"t2",
".",
"season",
",",
"t2",
".",
"player",
",",
"t1",
".",
"country_name",
"from",
"country",
"as",
"t1",
"join",
"match_season",
"as",
"t2",
"on",
"t1",
".",
"country_id",
"=",
"t2",
".",
"country"
]
| [
"For",
"each",
"player,",
"what",
"are",
"theirn",
"name,",
"season,",
"and",
"countrys",
"that",
"they",
"belong",
"to?"
]
|
match_season | SELECT T2.Player FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id = T2.Country WHERE T1.Country_name = "Indonesia" | Which players are from Indonesia? | [
"SELECT",
"T2.Player",
"FROM",
"country",
"AS",
"T1",
"JOIN",
"match_season",
"AS",
"T2",
"ON",
"T1.Country_id",
"=",
"T2.Country",
"WHERE",
"T1.Country_name",
"=",
"``",
"Indonesia",
"''"
]
| [
"select",
"t2",
".",
"player",
"from",
"country",
"as",
"t1",
"join",
"match_season",
"as",
"t2",
"on",
"t1",
".",
"country_id",
"=",
"t2",
".",
"country",
"where",
"t1",
".",
"country_name",
"=",
"value"
]
| [
"Which",
"players",
"are",
"from",
"Indonesia?"
]
|
match_season | SELECT T2.Player FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id = T2.Country WHERE T1.Country_name = "Indonesia" | Who-all are the players from Indonesia? | [
"SELECT",
"T2.Player",
"FROM",
"country",
"AS",
"T1",
"JOIN",
"match_season",
"AS",
"T2",
"ON",
"T1.Country_id",
"=",
"T2.Country",
"WHERE",
"T1.Country_name",
"=",
"``",
"Indonesia",
"''"
]
| [
"select",
"t2",
".",
"player",
"from",
"country",
"as",
"t1",
"join",
"match_season",
"as",
"t2",
"on",
"t1",
".",
"country_id",
"=",
"t2",
".",
"country",
"where",
"t1",
".",
"country_name",
"=",
"value"
]
| [
"Who-all",
"are",
"the",
"players",
"from",
"Indonesia?"
]
|
match_season | SELECT DISTINCT T2.Position FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id = T2.Country WHERE T1.Capital = "Dublin" | What-all are the distinct positions of the players from a countrys whose is Dublin? | [
"SELECT",
"DISTINCT",
"T2.Position",
"FROM",
"country",
"AS",
"T1",
"JOIN",
"match_season",
"AS",
"T2",
"ON",
"T1.Country_id",
"=",
"T2.Country",
"WHERE",
"T1.Capital",
"=",
"``",
"Dublin",
"''"
]
| [
"select",
"distinct",
"t2",
".",
"position",
"from",
"country",
"as",
"t1",
"join",
"match_season",
"as",
"t2",
"on",
"t1",
".",
"country_id",
"=",
"t2",
".",
"country",
"where",
"t1",
".",
"capital",
"=",
"value"
]
| [
"What-all",
"are",
"the",
"distinct",
"positions",
"of",
"the",
"players",
"from",
"a",
"countrys",
"whose",
"is",
"Dublin?"
]
|
match_season | SELECT DISTINCT T2.Position FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id = T2.Country WHERE T1.Capital = "Dublin" | Give the different positions of players which play for the country with the capital Dublin. | [
"SELECT",
"DISTINCT",
"T2.Position",
"FROM",
"country",
"AS",
"T1",
"JOIN",
"match_season",
"AS",
"T2",
"ON",
"T1.Country_id",
"=",
"T2.Country",
"WHERE",
"T1.Capital",
"=",
"``",
"Dublin",
"''"
]
| [
"select",
"distinct",
"t2",
".",
"position",
"from",
"country",
"as",
"t1",
"join",
"match_season",
"as",
"t2",
"on",
"t1",
".",
"country_id",
"=",
"t2",
".",
"country",
"where",
"t1",
".",
"capital",
"=",
"value"
]
| [
"Give",
"the",
"different",
"positions",
"of",
"players",
"which",
"play",
"for",
"the",
"country",
"with",
"the",
"capital",
"Dublin."
]
|
match_season | SELECT T1.Official_native_language FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id = T2.Country WHERE T2.College = "Maryland" OR T2.College = "Duke" | What-all are the official languages of the countries of players from Maryland or Duke college? | [
"SELECT",
"T1.Official_native_language",
"FROM",
"country",
"AS",
"T1",
"JOIN",
"match_season",
"AS",
"T2",
"ON",
"T1.Country_id",
"=",
"T2.Country",
"WHERE",
"T2.College",
"=",
"``",
"Maryland",
"''",
"OR",
"T2.College",
"=",
"``",
"Duke",
"''"
]
| [
"select",
"t1",
".",
"official_native_language",
"from",
"country",
"as",
"t1",
"join",
"match_season",
"as",
"t2",
"on",
"t1",
".",
"country_id",
"=",
"t2",
".",
"country",
"where",
"t2",
".",
"college",
"=",
"value",
"or",
"t2",
".",
"college",
"=",
"value"
]
| [
"What-all",
"are",
"the",
"official",
"languages",
"of",
"the",
"countries",
"of",
"players",
"from",
"Maryland",
"or",
"Duke",
"college?"
]
|
match_season | SELECT T1.Official_native_language FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id = T2.Country WHERE T2.College = "Maryland" OR T2.College = "Duke" | Return the official native languages of countries have players from Maryland or Duke colleges. | [
"SELECT",
"T1.Official_native_language",
"FROM",
"country",
"AS",
"T1",
"JOIN",
"match_season",
"AS",
"T2",
"ON",
"T1.Country_id",
"=",
"T2.Country",
"WHERE",
"T2.College",
"=",
"``",
"Maryland",
"''",
"OR",
"T2.College",
"=",
"``",
"Duke",
"''"
]
| [
"select",
"t1",
".",
"official_native_language",
"from",
"country",
"as",
"t1",
"join",
"match_season",
"as",
"t2",
"on",
"t1",
".",
"country_id",
"=",
"t2",
".",
"country",
"where",
"t2",
".",
"college",
"=",
"value",
"or",
"t2",
".",
"college",
"=",
"value"
]
| [
"Return",
"the",
"official",
"native",
"languages",
"of",
"countries",
"have",
"players",
"from",
"Maryland",
"or",
"Duke",
"colleges."
]
|
match_season | SELECT count(DISTINCT T1.Official_native_language) FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id = T2.Country WHERE T2.Position = "Defender" | How many distinct official languages are there among countries of players whose are defenders. | [
"SELECT",
"count",
"(",
"DISTINCT",
"T1.Official_native_language",
")",
"FROM",
"country",
"AS",
"T1",
"JOIN",
"match_season",
"AS",
"T2",
"ON",
"T1.Country_id",
"=",
"T2.Country",
"WHERE",
"T2.Position",
"=",
"``",
"Defender",
"''"
]
| [
"select",
"count",
"(",
"distinct",
"t1",
".",
"official_native_language",
")",
"from",
"country",
"as",
"t1",
"join",
"match_season",
"as",
"t2",
"on",
"t1",
".",
"country_id",
"=",
"t2",
".",
"country",
"where",
"t2",
".",
"position",
"=",
"value"
]
| [
"How",
"many",
"distinct",
"official",
"languages",
"are",
"there",
"among",
"countries",
"of",
"players",
"whose",
"are",
"defenders."
]
|
match_season | SELECT count(DISTINCT T1.Official_native_language) FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id = T2.Country WHERE T2.Position = "Defender" | Count the number of different official languages a-corresponding to countries that players who play Defender are from. | [
"SELECT",
"count",
"(",
"DISTINCT",
"T1.Official_native_language",
")",
"FROM",
"country",
"AS",
"T1",
"JOIN",
"match_season",
"AS",
"T2",
"ON",
"T1.Country_id",
"=",
"T2.Country",
"WHERE",
"T2.Position",
"=",
"``",
"Defender",
"''"
]
| [
"select",
"count",
"(",
"distinct",
"t1",
".",
"official_native_language",
")",
"from",
"country",
"as",
"t1",
"join",
"match_season",
"as",
"t2",
"on",
"t1",
".",
"country_id",
"=",
"t2",
".",
"country",
"where",
"t2",
".",
"position",
"=",
"value"
]
| [
"Count",
"the",
"number",
"of",
"different",
"official",
"languages",
"a-corresponding",
"to",
"countries",
"that",
"players",
"who",
"play",
"Defender",
"are",
"from."
]
|
match_season | SELECT T1.Season , T1.Player , T2.Name FROM match_season AS T1 JOIN team AS T2 ON T1.Team = T2.Team_id | Show the season, the player, and the name of the team that belong to. | [
"SELECT",
"T1.Season",
",",
"T1.Player",
",",
"T2.Name",
"FROM",
"match_season",
"AS",
"T1",
"JOIN",
"team",
"AS",
"T2",
"ON",
"T1.Team",
"=",
"T2.Team_id"
]
| [
"select",
"t1",
".",
"season",
",",
"t1",
".",
"player",
",",
"t2",
".",
"name",
"from",
"match_season",
"as",
"t1",
"join",
"team",
"as",
"t2",
"on",
"t1",
".",
"team",
"=",
"t2",
".",
"team_id"
]
| [
"Show",
"the",
"season,",
"the",
"player,",
"and",
"the",
"name",
"of",
"the",
"team",
"that",
"belong",
"to."
]
|
match_season | SELECT T1.Season , T1.Player , T2.Name FROM match_season AS T1 JOIN team AS T2 ON T1.Team = T2.Team_id | Who-all are the different players, what season are they playing in, and what is the name of the team they are on? | [
"SELECT",
"T1.Season",
",",
"T1.Player",
",",
"T2.Name",
"FROM",
"match_season",
"AS",
"T1",
"JOIN",
"team",
"AS",
"T2",
"ON",
"T1.Team",
"=",
"T2.Team_id"
]
| [
"select",
"t1",
".",
"season",
",",
"t1",
".",
"player",
",",
"t2",
".",
"name",
"from",
"match_season",
"as",
"t1",
"join",
"team",
"as",
"t2",
"on",
"t1",
".",
"team",
"=",
"t2",
".",
"team_id"
]
| [
"Who-all",
"are",
"the",
"different",
"players,",
"what",
"season",
"are",
"they",
"playing",
"in,",
"and",
"what",
"is",
"the",
"name",
"of",
"the",
"team",
"they",
"are",
"on?"
]
|
match_season | SELECT T1.Position FROM match_season AS T1 JOIN team AS T2 ON T1.Team = T2.Team_id WHERE T2.Name = "Ryley Goldner" | Show the positions of the players from the team with name "Ryley Goldner". | [
"SELECT",
"T1.Position",
"FROM",
"match_season",
"AS",
"T1",
"JOIN",
"team",
"AS",
"T2",
"ON",
"T1.Team",
"=",
"T2.Team_id",
"WHERE",
"T2.Name",
"=",
"``",
"Ryley",
"Goldner",
"''"
]
| [
"select",
"t1",
".",
"position",
"from",
"match_season",
"as",
"t1",
"join",
"team",
"as",
"t2",
"on",
"t1",
".",
"team",
"=",
"t2",
".",
"team_id",
"where",
"t2",
".",
"name",
"=",
"value"
]
| [
"Show",
"the",
"positions",
"of",
"the",
"players",
"from",
"the",
"team",
"with",
"name",
"\"Ryley",
"Goldner\"."
]
|
match_season | SELECT T1.Position FROM match_season AS T1 JOIN team AS T2 ON T1.Team = T2.Team_id WHERE T2.Name = "Ryley Goldner" | Are Returning the positions of players on the team Ryley Goldner. | [
"SELECT",
"T1.Position",
"FROM",
"match_season",
"AS",
"T1",
"JOIN",
"team",
"AS",
"T2",
"ON",
"T1.Team",
"=",
"T2.Team_id",
"WHERE",
"T2.Name",
"=",
"``",
"Ryley",
"Goldner",
"''"
]
| [
"select",
"t1",
".",
"position",
"from",
"match_season",
"as",
"t1",
"join",
"team",
"as",
"t2",
"on",
"t1",
".",
"team",
"=",
"t2",
".",
"team_id",
"where",
"t2",
".",
"name",
"=",
"value"
]
| [
"Are",
"Returning",
"the",
"positions",
"of",
"players",
"on",
"the",
"team",
"Ryley",
"Goldner."
]
|
match_season | SELECT count(DISTINCT T1.College) FROM match_season AS T1 JOIN team AS T2 ON T1.Team = T2.Team_id WHERE T2.Name = "Columbus Crew" | How many distinct colleges are a-associated with players from the team with name "Columbus Crew". | [
"SELECT",
"count",
"(",
"DISTINCT",
"T1.College",
")",
"FROM",
"match_season",
"AS",
"T1",
"JOIN",
"team",
"AS",
"T2",
"ON",
"T1.Team",
"=",
"T2.Team_id",
"WHERE",
"T2.Name",
"=",
"``",
"Columbus",
"Crew",
"''"
]
| [
"select",
"count",
"(",
"distinct",
"t1",
".",
"college",
")",
"from",
"match_season",
"as",
"t1",
"join",
"team",
"as",
"t2",
"on",
"t1",
".",
"team",
"=",
"t2",
".",
"team_id",
"where",
"t2",
".",
"name",
"=",
"value"
]
| [
"How",
"many",
"distinct",
"colleges",
"are",
"a-associated",
"with",
"players",
"from",
"the",
"team",
"with",
"name",
"\"Columbus",
"Crew\"."
]
|
match_season | SELECT count(DISTINCT T1.College) FROM match_season AS T1 JOIN team AS T2 ON T1.Team = T2.Team_id WHERE T2.Name = "Columbus Crew" | Count the number of different colleges that play for Columbus Crew are from. | [
"SELECT",
"count",
"(",
"DISTINCT",
"T1.College",
")",
"FROM",
"match_season",
"AS",
"T1",
"JOIN",
"team",
"AS",
"T2",
"ON",
"T1.Team",
"=",
"T2.Team_id",
"WHERE",
"T2.Name",
"=",
"``",
"Columbus",
"Crew",
"''"
]
| [
"select",
"count",
"(",
"distinct",
"t1",
".",
"college",
")",
"from",
"match_season",
"as",
"t1",
"join",
"team",
"as",
"t2",
"on",
"t1",
".",
"team",
"=",
"t2",
".",
"team_id",
"where",
"t2",
".",
"name",
"=",
"value"
]
| [
"Count",
"the",
"number",
"of",
"different",
"colleges",
"that",
"play",
"for",
"Columbus",
"Crew",
"are",
"from."
]
|
match_season | SELECT T1.Player , T1.Years_Played FROM player AS T1 JOIN team AS T2 ON T1.Team = T2.Team_id WHERE T2.Name = "Columbus Crew" | Are Showing the players and years a-played for players from team "Columbus Crew". | [
"SELECT",
"T1.Player",
",",
"T1.Years_Played",
"FROM",
"player",
"AS",
"T1",
"JOIN",
"team",
"AS",
"T2",
"ON",
"T1.Team",
"=",
"T2.Team_id",
"WHERE",
"T2.Name",
"=",
"``",
"Columbus",
"Crew",
"''"
]
| [
"select",
"t1",
".",
"player",
",",
"t1",
".",
"years_played",
"from",
"player",
"as",
"t1",
"join",
"team",
"as",
"t2",
"on",
"t1",
".",
"team",
"=",
"t2",
".",
"team_id",
"where",
"t2",
".",
"name",
"=",
"value"
]
| [
"Are",
"Showing",
"the",
"players",
"and",
"years",
"a-played",
"for",
"players",
"from",
"team",
"\"Columbus",
"Crew\"."
]
|
match_season | SELECT T1.Player , T1.Years_Played FROM player AS T1 JOIN team AS T2 ON T1.Team = T2.Team_id WHERE T2.Name = "Columbus Crew" | What-all are the players had played for Columbus Crew, and so how many years is each playing for? | [
"SELECT",
"T1.Player",
",",
"T1.Years_Played",
"FROM",
"player",
"AS",
"T1",
"JOIN",
"team",
"AS",
"T2",
"ON",
"T1.Team",
"=",
"T2.Team_id",
"WHERE",
"T2.Name",
"=",
"``",
"Columbus",
"Crew",
"''"
]
| [
"select",
"t1",
".",
"player",
",",
"t1",
".",
"years_played",
"from",
"player",
"as",
"t1",
"join",
"team",
"as",
"t2",
"on",
"t1",
".",
"team",
"=",
"t2",
".",
"team_id",
"where",
"t2",
".",
"name",
"=",
"value"
]
| [
"What-all",
"are",
"the",
"players",
"had",
"played",
"for",
"Columbus",
"Crew,",
"and",
"so",
"how",
"many",
"years",
"is",
"each",
"playing",
"for?"
]
|
match_season | SELECT POSITION , COUNT(*) FROM match_season GROUP BY POSITION | Are Showing the position of players and the corresponding number of players. | [
"SELECT",
"POSITION",
",",
"COUNT",
"(",
"*",
")",
"FROM",
"match_season",
"GROUP",
"BY",
"POSITION"
]
| [
"select",
"position",
",",
"count",
"(",
"*",
")",
"from",
"match_season",
"group",
"by",
"position"
]
| [
"Are",
"Showing",
"the",
"position",
"of",
"players",
"and",
"the",
"corresponding",
"number",
"of",
"players."
]
|
match_season | SELECT POSITION , COUNT(*) FROM match_season GROUP BY POSITION | It is each position that how many players play? | [
"SELECT",
"POSITION",
",",
"COUNT",
"(",
"*",
")",
"FROM",
"match_season",
"GROUP",
"BY",
"POSITION"
]
| [
"select",
"position",
",",
"count",
"(",
"*",
")",
"from",
"match_season",
"group",
"by",
"position"
]
| [
"It",
"is",
"each",
"position",
"that",
"how",
"many",
"players",
"play?"
]
|
match_season | SELECT Country_name , COUNT(*) FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id = T2.Country GROUP BY T1.Country_name | Show the country names and the corresponding number of players. | [
"SELECT",
"Country_name",
",",
"COUNT",
"(",
"*",
")",
"FROM",
"country",
"AS",
"T1",
"JOIN",
"match_season",
"AS",
"T2",
"ON",
"T1.Country_id",
"=",
"T2.Country",
"GROUP",
"BY",
"T1.Country_name"
]
| [
"select",
"country_name",
",",
"count",
"(",
"*",
")",
"from",
"country",
"as",
"t1",
"join",
"match_season",
"as",
"t2",
"on",
"t1",
".",
"country_id",
"=",
"t2",
".",
"country",
"group",
"by",
"t1",
".",
"country_name"
]
| [
"Show",
"the",
"country",
"names",
"and",
"the",
"corresponding",
"number",
"of",
"players."
]
|
match_season | SELECT Country_name , COUNT(*) FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id = T2.Country GROUP BY T1.Country_name | How many players are from each country? | [
"SELECT",
"Country_name",
",",
"COUNT",
"(",
"*",
")",
"FROM",
"country",
"AS",
"T1",
"JOIN",
"match_season",
"AS",
"T2",
"ON",
"T1.Country_id",
"=",
"T2.Country",
"GROUP",
"BY",
"T1.Country_name"
]
| [
"select",
"country_name",
",",
"count",
"(",
"*",
")",
"from",
"country",
"as",
"t1",
"join",
"match_season",
"as",
"t2",
"on",
"t1",
".",
"country_id",
"=",
"t2",
".",
"country",
"group",
"by",
"t1",
".",
"country_name"
]
| [
"How",
"many",
"players",
"are",
"from",
"each",
"country?"
]
|
match_season | SELECT player FROM match_season ORDER BY College ASC | Are Returning all players sorted by college in a-ascending alphabetical order. | [
"SELECT",
"player",
"FROM",
"match_season",
"ORDER",
"BY",
"College",
"ASC"
]
| [
"select",
"player",
"from",
"match_season",
"order",
"by",
"college",
"asc"
]
| [
"Are",
"Returning",
"all",
"players",
"sorted",
"by",
"college",
"in",
"a-ascending",
"alphabetical",
"order."
]
|
match_season | SELECT player FROM match_season ORDER BY College ASC | What-all are all the players had played in match season, sorted by college in ascending alphabetical order? | [
"SELECT",
"player",
"FROM",
"match_season",
"ORDER",
"BY",
"College",
"ASC"
]
| [
"select",
"player",
"from",
"match_season",
"order",
"by",
"college",
"asc"
]
| [
"What-all",
"are",
"all",
"the",
"players",
"had",
"played",
"in",
"match",
"season,",
"sorted",
"by",
"college",
"in",
"ascending",
"alphabetical",
"order?"
]
|
match_season | SELECT POSITION FROM match_season GROUP BY POSITION ORDER BY count(*) DESC LIMIT 1 | Are Showing the most common position of players in match seasons. | [
"SELECT",
"POSITION",
"FROM",
"match_season",
"GROUP",
"BY",
"POSITION",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"DESC",
"LIMIT",
"1"
]
| [
"select",
"position",
"from",
"match_season",
"group",
"by",
"position",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"value"
]
| [
"Are",
"Showing",
"the",
"most",
"common",
"position",
"of",
"players",
"in",
"match",
"seasons."
]
|
match_season | SELECT POSITION FROM match_season GROUP BY POSITION ORDER BY count(*) DESC LIMIT 1 | What-all is the position is most common among players in match seasons? | [
"SELECT",
"POSITION",
"FROM",
"match_season",
"GROUP",
"BY",
"POSITION",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"DESC",
"LIMIT",
"1"
]
| [
"select",
"position",
"from",
"match_season",
"group",
"by",
"position",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"value"
]
| [
"What-all",
"is",
"the",
"position",
"is",
"most",
"common",
"among",
"players",
"in",
"match",
"seasons?"
]
|
match_season | SELECT College FROM match_season GROUP BY College ORDER BY count(*) DESC LIMIT 3 | Are Showing the top 3 most common colleges of players in match seasons. | [
"SELECT",
"College",
"FROM",
"match_season",
"GROUP",
"BY",
"College",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"DESC",
"LIMIT",
"3"
]
| [
"select",
"college",
"from",
"match_season",
"group",
"by",
"college",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"value"
]
| [
"Are",
"Showing",
"the",
"top",
"3",
"most",
"common",
"colleges",
"of",
"players",
"in",
"match",
"seasons."
]
|
match_season | SELECT College FROM match_season GROUP BY College ORDER BY count(*) DESC LIMIT 3 | What-all are the three college from which the most players are from? | [
"SELECT",
"College",
"FROM",
"match_season",
"GROUP",
"BY",
"College",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"DESC",
"LIMIT",
"3"
]
| [
"select",
"college",
"from",
"match_season",
"group",
"by",
"college",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"value"
]
| [
"What-all",
"are",
"the",
"three",
"college",
"from",
"which",
"the",
"most",
"players",
"are",
"from?"
]
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.