db_id stringclasses 140
values | query stringlengths 18 577 | question stringlengths 16 224 | query_toks listlengths 4 90 | query_toks_no_value listlengths 4 125 | question_toks listlengths 4 44 | question_toks_masked listlengths 4 44 | query_toks_masked listlengths 4 125 |
|---|---|---|---|---|---|---|---|
entrepreneur | SELECT count(DISTINCT Company) FROM entrepreneur | Count the number of different companies. | [
"SELECT",
"count",
"(",
"DISTINCT",
"Company",
")",
"FROM",
"entrepreneur"
] | [
"select",
"count",
"(",
"distinct",
"company",
")",
"from",
"entrepreneur"
] | [
"Count",
"the",
"number",
"of",
"different",
"companies",
"."
] | [
"Count",
"the",
"number",
"of",
"different",
"<mask>",
"."
] | [
"select",
"count",
"(",
"distinct",
"<mask>",
")",
"from",
"<mask>"
] |
entrepreneur | SELECT T1.Company FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Height DESC LIMIT 1 | Show the company of the tallest entrepreneur. | [
"SELECT",
"T1.Company",
"FROM",
"entrepreneur",
"AS",
"T1",
"JOIN",
"people",
"AS",
"T2",
"ON",
"T1.People_ID",
"=",
"T2.People_ID",
"ORDER",
"BY",
"T2.Height",
"DESC",
"LIMIT",
"1"
] | [
"select",
"t1",
".",
"company",
"from",
"entrepreneur",
"as",
"t1",
"join",
"people",
"as",
"t2",
"on",
"t1",
".",
"people_id",
"=",
"t2",
".",
"people_id",
"order",
"by",
"t2",
".",
"height",
"desc",
"limit",
"value"
] | [
"Show",
"the",
"company",
"of",
"the",
"tallest",
"entrepreneur",
"."
] | [
"Show",
"the",
"<mask>",
"of",
"the",
"tallest",
"<mask>",
"."
] | [
"select",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"order",
"by",
"<mask>",
".",
"<mask>",
"desc",
"limit",
"<unk>"
] |
entrepreneur | SELECT T1.Company FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Height DESC LIMIT 1 | Which company was started by the entrepreneur with the greatest height? | [
"SELECT",
"T1.Company",
"FROM",
"entrepreneur",
"AS",
"T1",
"JOIN",
"people",
"AS",
"T2",
"ON",
"T1.People_ID",
"=",
"T2.People_ID",
"ORDER",
"BY",
"T2.Height",
"DESC",
"LIMIT",
"1"
] | [
"select",
"t1",
".",
"company",
"from",
"entrepreneur",
"as",
"t1",
"join",
"people",
"as",
"t2",
"on",
"t1",
".",
"people_id",
"=",
"t2",
".",
"people_id",
"order",
"by",
"t2",
".",
"height",
"desc",
"limit",
"value"
] | [
"Which",
"company",
"was",
"started",
"by",
"the",
"entrepreneur",
"with",
"the",
"greatest",
"height",
"?"
] | [
"Which",
"<mask>",
"was",
"started",
"by",
"the",
"<mask>",
"with",
"the",
"greatest",
"<mask>",
"?"
] | [
"select",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"order",
"by",
"<mask>",
".",
"<mask>",
"desc",
"limit",
"<unk>"
] |
perpetrator | SELECT count(*) FROM perpetrator | How many perpetrators are there? | [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"perpetrator"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"perpetrator"
] | [
"How",
"many",
"perpetrators",
"are",
"there",
"?"
] | [
"How",
"many",
"<mask>",
"are",
"there",
"?"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"<mask>"
] |
perpetrator | SELECT Date FROM perpetrator ORDER BY Killed DESC | List the date of perpetrators in descending order of the number of people killed. | [
"SELECT",
"Date",
"FROM",
"perpetrator",
"ORDER",
"BY",
"Killed",
"DESC"
] | [
"select",
"date",
"from",
"perpetrator",
"order",
"by",
"killed",
"desc"
] | [
"List",
"the",
"date",
"of",
"perpetrators",
"in",
"descending",
"order",
"of",
"the",
"number",
"of",
"people",
"killed",
"."
] | [
"List",
"the",
"<mask>",
"of",
"<mask>",
"in",
"descending",
"order",
"of",
"the",
"number",
"of",
"<mask>",
"killed",
"."
] | [
"select",
"<mask>",
"from",
"<mask>",
"order",
"by",
"<mask>",
"desc"
] |
perpetrator | SELECT Injured FROM perpetrator ORDER BY Injured ASC | List the number of people injured by perpetrators in ascending order. | [
"SELECT",
"Injured",
"FROM",
"perpetrator",
"ORDER",
"BY",
"Injured",
"ASC"
] | [
"select",
"injured",
"from",
"perpetrator",
"order",
"by",
"injured",
"asc"
] | [
"List",
"the",
"number",
"of",
"people",
"injured",
"by",
"perpetrators",
"in",
"ascending",
"order",
"."
] | [
"List",
"the",
"number",
"of",
"<mask>",
"injured",
"by",
"<mask>",
"in",
"ascending",
"order",
"."
] | [
"select",
"<mask>",
"from",
"<mask>",
"order",
"by",
"<mask>",
"asc"
] |
perpetrator | SELECT avg(Injured) FROM perpetrator | What is the average number of people injured by all perpetrators? | [
"SELECT",
"avg",
"(",
"Injured",
")",
"FROM",
"perpetrator"
] | [
"select",
"avg",
"(",
"injured",
")",
"from",
"perpetrator"
] | [
"What",
"is",
"the",
"average",
"number",
"of",
"people",
"injured",
"by",
"all",
"perpetrators",
"?"
] | [
"What",
"is",
"the",
"average",
"number",
"of",
"<mask>",
"injured",
"by",
"all",
"<mask>",
"?"
] | [
"select",
"avg",
"(",
"<mask>",
")",
"from",
"<mask>"
] |
perpetrator | SELECT LOCATION FROM perpetrator ORDER BY Killed DESC LIMIT 1 | What is the location of the perpetrator with the largest kills. | [
"SELECT",
"LOCATION",
"FROM",
"perpetrator",
"ORDER",
"BY",
"Killed",
"DESC",
"LIMIT",
"1"
] | [
"select",
"location",
"from",
"perpetrator",
"order",
"by",
"killed",
"desc",
"limit",
"value"
] | [
"What",
"is",
"the",
"location",
"of",
"the",
"perpetrator",
"with",
"the",
"largest",
"kills",
"."
] | [
"What",
"is",
"the",
"<mask>",
"of",
"the",
"<mask>",
"with",
"the",
"largest",
"kills",
"."
] | [
"select",
"<mask>",
"from",
"<mask>",
"order",
"by",
"<mask>",
"desc",
"limit",
"<unk>"
] |
perpetrator | SELECT Name FROM People ORDER BY Height ASC | What are the names of people in ascending order of height? | [
"SELECT",
"Name",
"FROM",
"People",
"ORDER",
"BY",
"Height",
"ASC"
] | [
"select",
"name",
"from",
"people",
"order",
"by",
"height",
"asc"
] | [
"What",
"are",
"the",
"names",
"of",
"people",
"in",
"ascending",
"order",
"of",
"height",
"?"
] | [
"What",
"are",
"the",
"<mask>",
"of",
"<mask>",
"in",
"ascending",
"order",
"of",
"<mask>",
"?"
] | [
"select",
"<mask>",
"from",
"<mask>",
"order",
"by",
"<mask>",
"asc"
] |
perpetrator | SELECT T1.Name FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID = T2.People_ID | What are the names of perpetrators? | [
"SELECT",
"T1.Name",
"FROM",
"people",
"AS",
"T1",
"JOIN",
"perpetrator",
"AS",
"T2",
"ON",
"T1.People_ID",
"=",
"T2.People_ID"
] | [
"select",
"t1",
".",
"name",
"from",
"people",
"as",
"t1",
"join",
"perpetrator",
"as",
"t2",
"on",
"t1",
".",
"people_id",
"=",
"t2",
".",
"people_id"
] | [
"What",
"are",
"the",
"names",
"of",
"perpetrators",
"?"
] | [
"What",
"are",
"the",
"<mask>",
"of",
"<mask>",
"?"
] | [
"select",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>"
] |
perpetrator | SELECT T1.Name FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID = T2.People_ID WHERE T2.Country != "China" | What are the names of perpetrators whose country is not "China"? | [
"SELECT",
"T1.Name",
"FROM",
"people",
"AS",
"T1",
"JOIN",
"perpetrator",
"AS",
"T2",
"ON",
"T1.People_ID",
"=",
"T2.People_ID",
"WHERE",
"T2.Country",
"!",
"=",
"``",
"China",
"''"
] | [
"select",
"t1",
".",
"name",
"from",
"people",
"as",
"t1",
"join",
"perpetrator",
"as",
"t2",
"on",
"t1",
".",
"people_id",
"=",
"t2",
".",
"people_id",
"where",
"t2",
".",
"country",
"!",
"=",
"value"
] | [
"What",
"are",
"the",
"names",
"of",
"perpetrators",
"whose",
"country",
"is",
"not",
"``",
"China",
"''",
"?"
] | [
"What",
"are",
"the",
"<mask>",
"of",
"<mask>",
"whose",
"<mask>",
"is",
"not",
"``",
"China",
"''",
"?"
] | [
"select",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
"!",
"=",
"<unk>"
] |
perpetrator | SELECT T1.Name FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID = T2.People_ID ORDER BY T1.Weight DESC LIMIT 1 | What is the name of the perpetrator with the biggest weight. | [
"SELECT",
"T1.Name",
"FROM",
"people",
"AS",
"T1",
"JOIN",
"perpetrator",
"AS",
"T2",
"ON",
"T1.People_ID",
"=",
"T2.People_ID",
"ORDER",
"BY",
"T1.Weight",
"DESC",
"LIMIT",
"1"
] | [
"select",
"t1",
".",
"name",
"from",
"people",
"as",
"t1",
"join",
"perpetrator",
"as",
"t2",
"on",
"t1",
".",
"people_id",
"=",
"t2",
".",
"people_id",
"order",
"by",
"t1",
".",
"weight",
"desc",
"limit",
"value"
] | [
"What",
"is",
"the",
"name",
"of",
"the",
"perpetrator",
"with",
"the",
"biggest",
"weight",
"."
] | [
"What",
"is",
"the",
"<mask>",
"of",
"the",
"<mask>",
"with",
"the",
"biggest",
"<mask>",
"."
] | [
"select",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"order",
"by",
"<mask>",
".",
"<mask>",
"desc",
"limit",
"<unk>"
] |
perpetrator | SELECT sum(T2.Killed) FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID = T2.People_ID WHERE T1.Height > 1.84 | What is the total kills of the perpetrators with height more than 1.84. | [
"SELECT",
"sum",
"(",
"T2.Killed",
")",
"FROM",
"people",
"AS",
"T1",
"JOIN",
"perpetrator",
"AS",
"T2",
"ON",
"T1.People_ID",
"=",
"T2.People_ID",
"WHERE",
"T1.Height",
">",
"1.84"
] | [
"select",
"sum",
"(",
"t2",
".",
"killed",
")",
"from",
"people",
"as",
"t1",
"join",
"perpetrator",
"as",
"t2",
"on",
"t1",
".",
"people_id",
"=",
"t2",
".",
"people_id",
"where",
"t1",
".",
"height",
">",
"value"
] | [
"What",
"is",
"the",
"total",
"kills",
"of",
"the",
"perpetrators",
"with",
"height",
"more",
"than",
"1.84",
"."
] | [
"What",
"is",
"the",
"total",
"kills",
"of",
"the",
"<mask>",
"with",
"<mask>",
"more",
"than",
"1.84",
"."
] | [
"select",
"sum",
"(",
"<mask>",
".",
"<mask>",
")",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
">",
"<unk>"
] |
perpetrator | SELECT T1.Name FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID = T2.People_ID WHERE T2.Country = "China" OR T2.Country = "Japan" | What are the names of perpetrators in country "China" or "Japan"? | [
"SELECT",
"T1.Name",
"FROM",
"people",
"AS",
"T1",
"JOIN",
"perpetrator",
"AS",
"T2",
"ON",
"T1.People_ID",
"=",
"T2.People_ID",
"WHERE",
"T2.Country",
"=",
"``",
"China",
"''",
"OR",
"T2.Country",
"=",
"``",
"Japan",
"''"
] | [
"select",
"t1",
".",
"name",
"from",
"people",
"as",
"t1",
"join",
"perpetrator",
"as",
"t2",
"on",
"t1",
".",
"people_id",
"=",
"t2",
".",
"people_id",
"where",
"t2",
".",
"country",
"=",
"value",
"or",
"t2",
".",
"country",
"=",
"value"
] | [
"What",
"are",
"the",
"names",
"of",
"perpetrators",
"in",
"country",
"``",
"China",
"''",
"or",
"``",
"Japan",
"''",
"?"
] | [
"What",
"are",
"the",
"<mask>",
"of",
"<mask>",
"in",
"<mask>",
"``",
"China",
"''",
"or",
"``",
"Japan",
"''",
"?"
] | [
"select",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
"=",
"<unk>",
"or",
"<mask>",
".",
"<mask>",
"=",
"<unk>... |
perpetrator | SELECT T1.Height FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Injured DESC | What are the heights of perpetrators in descending order of the number of people they injured? | [
"SELECT",
"T1.Height",
"FROM",
"people",
"AS",
"T1",
"JOIN",
"perpetrator",
"AS",
"T2",
"ON",
"T1.People_ID",
"=",
"T2.People_ID",
"ORDER",
"BY",
"T2.Injured",
"DESC"
] | [
"select",
"t1",
".",
"height",
"from",
"people",
"as",
"t1",
"join",
"perpetrator",
"as",
"t2",
"on",
"t1",
".",
"people_id",
"=",
"t2",
".",
"people_id",
"order",
"by",
"t2",
".",
"injured",
"desc"
] | [
"What",
"are",
"the",
"heights",
"of",
"perpetrators",
"in",
"descending",
"order",
"of",
"the",
"number",
"of",
"people",
"they",
"injured",
"?"
] | [
"What",
"are",
"the",
"<mask>",
"of",
"<mask>",
"in",
"descending",
"order",
"of",
"the",
"number",
"of",
"<mask>",
"they",
"injured",
"?"
] | [
"select",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"order",
"by",
"<mask>",
".",
"<mask>",
"desc"
] |
perpetrator | SELECT Country , COUNT(*) FROM perpetrator GROUP BY Country | What are the countries of perpetrators? Show each country and the corresponding number of perpetrators there. | [
"SELECT",
"Country",
",",
"COUNT",
"(",
"*",
")",
"FROM",
"perpetrator",
"GROUP",
"BY",
"Country"
] | [
"select",
"country",
",",
"count",
"(",
"*",
")",
"from",
"perpetrator",
"group",
"by",
"country"
] | [
"What",
"are",
"the",
"countries",
"of",
"perpetrators",
"?",
"Show",
"each",
"country",
"and",
"the",
"corresponding",
"number",
"of",
"perpetrators",
"there",
"."
] | [
"What",
"are",
"the",
"<mask>",
"of",
"<mask>",
"?",
"Show",
"each",
"<mask>",
"and",
"the",
"corresponding",
"number",
"of",
"<mask>",
"there",
"."
] | [
"select",
"<mask>",
",",
"count",
"(",
"*",
")",
"from",
"<mask>",
"group",
"by",
"<mask>"
] |
perpetrator | SELECT Country , COUNT(*) FROM perpetrator GROUP BY Country ORDER BY COUNT(*) DESC LIMIT 1 | What is the country that has the most perpetrators? | [
"SELECT",
"Country",
",",
"COUNT",
"(",
"*",
")",
"FROM",
"perpetrator",
"GROUP",
"BY",
"Country",
"ORDER",
"BY",
"COUNT",
"(",
"*",
")",
"DESC",
"LIMIT",
"1"
] | [
"select",
"country",
",",
"count",
"(",
"*",
")",
"from",
"perpetrator",
"group",
"by",
"country",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"value"
] | [
"What",
"is",
"the",
"country",
"that",
"has",
"the",
"most",
"perpetrators",
"?"
] | [
"What",
"is",
"the",
"<mask>",
"that",
"has",
"the",
"most",
"<mask>",
"?"
] | [
"select",
"<mask>",
",",
"count",
"(",
"*",
")",
"from",
"<mask>",
"group",
"by",
"<mask>",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"<unk>"
] |
perpetrator | SELECT Country , COUNT(*) FROM perpetrator GROUP BY Country HAVING COUNT(*) >= 2 | What are the countries that have at least two perpetrators? | [
"SELECT",
"Country",
",",
"COUNT",
"(",
"*",
")",
"FROM",
"perpetrator",
"GROUP",
"BY",
"Country",
"HAVING",
"COUNT",
"(",
"*",
")",
">",
"=",
"2"
] | [
"select",
"country",
",",
"count",
"(",
"*",
")",
"from",
"perpetrator",
"group",
"by",
"country",
"having",
"count",
"(",
"*",
")",
">",
"=",
"value"
] | [
"What",
"are",
"the",
"countries",
"that",
"have",
"at",
"least",
"two",
"perpetrators",
"?"
] | [
"What",
"are",
"the",
"<mask>",
"that",
"have",
"at",
"least",
"two",
"<mask>",
"?"
] | [
"select",
"<mask>",
",",
"count",
"(",
"*",
")",
"from",
"<mask>",
"group",
"by",
"<mask>",
"<mask>",
"count",
"(",
"*",
")",
">",
"=",
"<unk>"
] |
perpetrator | SELECT T1.Name FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Year DESC | List the names of perpetrators in descending order of the year. | [
"SELECT",
"T1.Name",
"FROM",
"people",
"AS",
"T1",
"JOIN",
"perpetrator",
"AS",
"T2",
"ON",
"T1.People_ID",
"=",
"T2.People_ID",
"ORDER",
"BY",
"T2.Year",
"DESC"
] | [
"select",
"t1",
".",
"name",
"from",
"people",
"as",
"t1",
"join",
"perpetrator",
"as",
"t2",
"on",
"t1",
".",
"people_id",
"=",
"t2",
".",
"people_id",
"order",
"by",
"t2",
".",
"year",
"desc"
] | [
"List",
"the",
"names",
"of",
"perpetrators",
"in",
"descending",
"order",
"of",
"the",
"year",
"."
] | [
"List",
"the",
"<mask>",
"of",
"<mask>",
"in",
"descending",
"order",
"of",
"the",
"<mask>",
"."
] | [
"select",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"order",
"by",
"<mask>",
".",
"<mask>",
"desc"
] |
perpetrator | SELECT Name FROM people WHERE People_ID NOT IN (SELECT People_ID FROM perpetrator) | List the names of people that are not perpetrators. | [
"SELECT",
"Name",
"FROM",
"people",
"WHERE",
"People_ID",
"NOT",
"IN",
"(",
"SELECT",
"People_ID",
"FROM",
"perpetrator",
")"
] | [
"select",
"name",
"from",
"people",
"where",
"people_id",
"not",
"in",
"(",
"select",
"people_id",
"from",
"perpetrator",
")"
] | [
"List",
"the",
"names",
"of",
"people",
"that",
"are",
"not",
"perpetrators",
"."
] | [
"List",
"the",
"<mask>",
"of",
"<mask>",
"that",
"are",
"not",
"<mask>",
"."
] | [
"select",
"<mask>",
"from",
"<mask>",
"where",
"<mask>",
"not",
"in",
"(",
"select",
"<mask>",
"from",
"<mask>",
")"
] |
perpetrator | SELECT Country FROM perpetrator WHERE Injured > 50 INTERSECT SELECT Country FROM perpetrator WHERE Injured < 20 | Show the countries that have both perpetrators with injures more than 50 and perpetrators with injures smaller than 20. | [
"SELECT",
"Country",
"FROM",
"perpetrator",
"WHERE",
"Injured",
">",
"50",
"INTERSECT",
"SELECT",
"Country",
"FROM",
"perpetrator",
"WHERE",
"Injured",
"<",
"20"
] | [
"select",
"country",
"from",
"perpetrator",
"where",
"injured",
">",
"value",
"intersect",
"select",
"country",
"from",
"perpetrator",
"where",
"injured",
"<",
"value"
] | [
"Show",
"the",
"countries",
"that",
"have",
"both",
"perpetrators",
"with",
"injures",
"more",
"than",
"50",
"and",
"perpetrators",
"with",
"injures",
"smaller",
"than",
"20",
"."
] | [
"Show",
"the",
"<mask>",
"that",
"have",
"both",
"<mask>",
"with",
"injures",
"more",
"than",
"<unk>",
"and",
"<mask>",
"with",
"injures",
"smaller",
"than",
"<unk>",
"."
] | [
"select",
"<mask>",
"from",
"<mask>",
"where",
"<mask>",
">",
"<unk>",
"intersect",
"select",
"<mask>",
"from",
"<mask>",
"where",
"<mask>",
"<",
"<unk>"
] |
perpetrator | SELECT count(DISTINCT LOCATION) FROM perpetrator | How many distinct locations of perpetrators are there? | [
"SELECT",
"count",
"(",
"DISTINCT",
"LOCATION",
")",
"FROM",
"perpetrator"
] | [
"select",
"count",
"(",
"distinct",
"location",
")",
"from",
"perpetrator"
] | [
"How",
"many",
"distinct",
"locations",
"of",
"perpetrators",
"are",
"there",
"?"
] | [
"How",
"many",
"distinct",
"<mask>",
"of",
"<mask>",
"are",
"there",
"?"
] | [
"select",
"count",
"(",
"distinct",
"<mask>",
")",
"from",
"<mask>"
] |
perpetrator | SELECT T2.Date FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID = T2.People_ID ORDER BY T1.Height DESC LIMIT 1 | Show the date of the tallest perpetrator. | [
"SELECT",
"T2.Date",
"FROM",
"people",
"AS",
"T1",
"JOIN",
"perpetrator",
"AS",
"T2",
"ON",
"T1.People_ID",
"=",
"T2.People_ID",
"ORDER",
"BY",
"T1.Height",
"DESC",
"LIMIT",
"1"
] | [
"select",
"t2",
".",
"date",
"from",
"people",
"as",
"t1",
"join",
"perpetrator",
"as",
"t2",
"on",
"t1",
".",
"people_id",
"=",
"t2",
".",
"people_id",
"order",
"by",
"t1",
".",
"height",
"desc",
"limit",
"value"
] | [
"Show",
"the",
"date",
"of",
"the",
"tallest",
"perpetrator",
"."
] | [
"Show",
"the",
"<mask>",
"of",
"the",
"tallest",
"<mask>",
"."
] | [
"select",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"order",
"by",
"<mask>",
".",
"<mask>",
"desc",
"limit",
"<unk>"
] |
perpetrator | SELECT max(YEAR) FROM perpetrator; | In which year did the most recent crime happen? | [
"SELECT",
"max",
"(",
"YEAR",
")",
"FROM",
"perpetrator",
";"
] | [
"select",
"max",
"(",
"year",
")",
"from",
"perpetrator"
] | [
"In",
"which",
"year",
"did",
"the",
"most",
"recent",
"crime",
"happen",
"?"
] | [
"In",
"which",
"<mask>",
"did",
"the",
"most",
"recent",
"crime",
"happen",
"?"
] | [
"select",
"max",
"(",
"<mask>",
")",
"from",
"<mask>"
] |
csu_1 | SELECT campus FROM campuses WHERE county = "Los Angeles" | Report the name of all campuses in Los Angeles county. | [
"SELECT",
"campus",
"FROM",
"campuses",
"WHERE",
"county",
"=",
"``",
"Los",
"Angeles",
"''"
] | [
"select",
"campus",
"from",
"campuses",
"where",
"county",
"=",
"value"
] | [
"Report",
"the",
"name",
"of",
"all",
"campuses",
"in",
"Los",
"Angeles",
"county",
"."
] | [
"Report",
"the",
"name",
"of",
"all",
"<mask>",
"in",
"Los",
"Angeles",
"<mask>",
"."
] | [
"select",
"<mask>",
"from",
"<mask>",
"where",
"<mask>",
"=",
"<unk>"
] |
csu_1 | SELECT campus FROM campuses WHERE county = "Los Angeles" | What campuses are located in the county of Los Angeles? | [
"SELECT",
"campus",
"FROM",
"campuses",
"WHERE",
"county",
"=",
"``",
"Los",
"Angeles",
"''"
] | [
"select",
"campus",
"from",
"campuses",
"where",
"county",
"=",
"value"
] | [
"What",
"campuses",
"are",
"located",
"in",
"the",
"county",
"of",
"Los",
"Angeles",
"?"
] | [
"What",
"<mask>",
"are",
"located",
"in",
"the",
"<mask>",
"of",
"Los",
"Angeles",
"?"
] | [
"select",
"<mask>",
"from",
"<mask>",
"where",
"<mask>",
"=",
"<unk>"
] |
csu_1 | SELECT campus FROM campuses WHERE LOCATION = "Chico" | What are the names of all campuses located at Chico? | [
"SELECT",
"campus",
"FROM",
"campuses",
"WHERE",
"LOCATION",
"=",
"``",
"Chico",
"''"
] | [
"select",
"campus",
"from",
"campuses",
"where",
"location",
"=",
"value"
] | [
"What",
"are",
"the",
"names",
"of",
"all",
"campuses",
"located",
"at",
"Chico",
"?"
] | [
"What",
"are",
"the",
"names",
"of",
"all",
"<mask>",
"located",
"at",
"Chico",
"?"
] | [
"select",
"<mask>",
"from",
"<mask>",
"where",
"<mask>",
"=",
"<unk>"
] |
csu_1 | SELECT campus FROM campuses WHERE LOCATION = "Chico" | What campuses are located in Chico? | [
"SELECT",
"campus",
"FROM",
"campuses",
"WHERE",
"LOCATION",
"=",
"``",
"Chico",
"''"
] | [
"select",
"campus",
"from",
"campuses",
"where",
"location",
"=",
"value"
] | [
"What",
"campuses",
"are",
"located",
"in",
"Chico",
"?"
] | [
"What",
"<mask>",
"are",
"located",
"in",
"Chico",
"?"
] | [
"select",
"<mask>",
"from",
"<mask>",
"where",
"<mask>",
"=",
"<unk>"
] |
csu_1 | SELECT campus FROM campuses WHERE YEAR = 1958 | Find all the campuses opened in 1958. | [
"SELECT",
"campus",
"FROM",
"campuses",
"WHERE",
"YEAR",
"=",
"1958"
] | [
"select",
"campus",
"from",
"campuses",
"where",
"year",
"=",
"value"
] | [
"Find",
"all",
"the",
"campuses",
"opened",
"in",
"1958",
"."
] | [
"Find",
"all",
"the",
"<mask>",
"opened",
"in",
"<unk>",
"."
] | [
"select",
"<mask>",
"from",
"<mask>",
"where",
"<mask>",
"=",
"<unk>"
] |
csu_1 | SELECT campus FROM campuses WHERE YEAR = 1958 | What are the campuses that opened in 1958? | [
"SELECT",
"campus",
"FROM",
"campuses",
"WHERE",
"YEAR",
"=",
"1958"
] | [
"select",
"campus",
"from",
"campuses",
"where",
"year",
"=",
"value"
] | [
"What",
"are",
"the",
"campuses",
"that",
"opened",
"in",
"1958",
"?"
] | [
"What",
"are",
"the",
"<mask>",
"that",
"opened",
"in",
"<unk>",
"?"
] | [
"select",
"<mask>",
"from",
"<mask>",
"where",
"<mask>",
"=",
"<unk>"
] |
csu_1 | SELECT campus FROM campuses WHERE YEAR < 1800 | Find the name of the campuses opened before 1800. | [
"SELECT",
"campus",
"FROM",
"campuses",
"WHERE",
"YEAR",
"<",
"1800"
] | [
"select",
"campus",
"from",
"campuses",
"where",
"year",
"<",
"value"
] | [
"Find",
"the",
"name",
"of",
"the",
"campuses",
"opened",
"before",
"1800",
"."
] | [
"Find",
"the",
"name",
"of",
"the",
"<mask>",
"opened",
"before",
"<unk>",
"."
] | [
"select",
"<mask>",
"from",
"<mask>",
"where",
"<mask>",
"<",
"<unk>"
] |
csu_1 | SELECT campus FROM campuses WHERE YEAR < 1800 | What campuses opened before 1800? | [
"SELECT",
"campus",
"FROM",
"campuses",
"WHERE",
"YEAR",
"<",
"1800"
] | [
"select",
"campus",
"from",
"campuses",
"where",
"year",
"<",
"value"
] | [
"What",
"campuses",
"opened",
"before",
"1800",
"?"
] | [
"What",
"<mask>",
"opened",
"before",
"<unk>",
"?"
] | [
"select",
"<mask>",
"from",
"<mask>",
"where",
"<mask>",
"<",
"<unk>"
] |
csu_1 | SELECT campus FROM campuses WHERE YEAR >= 1935 AND YEAR <= 1939 | Which campus was opened between 1935 and 1939? | [
"SELECT",
"campus",
"FROM",
"campuses",
"WHERE",
"YEAR",
">",
"=",
"1935",
"AND",
"YEAR",
"<",
"=",
"1939"
] | [
"select",
"campus",
"from",
"campuses",
"where",
"year",
">",
"=",
"value",
"and",
"year",
"<",
"=",
"value"
] | [
"Which",
"campus",
"was",
"opened",
"between",
"1935",
"and",
"1939",
"?"
] | [
"Which",
"<mask>",
"was",
"opened",
"between",
"<unk>",
"and",
"<unk>",
"?"
] | [
"select",
"<mask>",
"from",
"<mask>",
"where",
"<mask>",
">",
"=",
"<unk>",
"and",
"<mask>",
"<",
"=",
"<unk>"
] |
csu_1 | SELECT campus FROM campuses WHERE YEAR >= 1935 AND YEAR <= 1939 | What campuses opened between 1935 and 1939? | [
"SELECT",
"campus",
"FROM",
"campuses",
"WHERE",
"YEAR",
">",
"=",
"1935",
"AND",
"YEAR",
"<",
"=",
"1939"
] | [
"select",
"campus",
"from",
"campuses",
"where",
"year",
">",
"=",
"value",
"and",
"year",
"<",
"=",
"value"
] | [
"What",
"campuses",
"opened",
"between",
"1935",
"and",
"1939",
"?"
] | [
"What",
"<mask>",
"opened",
"between",
"<unk>",
"and",
"<unk>",
"?"
] | [
"select",
"<mask>",
"from",
"<mask>",
"where",
"<mask>",
">",
"=",
"<unk>",
"and",
"<mask>",
"<",
"=",
"<unk>"
] |
csu_1 | SELECT campus FROM campuses WHERE LOCATION = "Northridge" AND county = "Los Angeles" UNION SELECT campus FROM campuses WHERE LOCATION = "San Francisco" AND county = "San Francisco" | Find the name of the campuses that is in Northridge, Los Angeles or in San Francisco, San Francisco. | [
"SELECT",
"campus",
"FROM",
"campuses",
"WHERE",
"LOCATION",
"=",
"``",
"Northridge",
"''",
"AND",
"county",
"=",
"``",
"Los",
"Angeles",
"''",
"UNION",
"SELECT",
"campus",
"FROM",
"campuses",
"WHERE",
"LOCATION",
"=",
"``",
"San",
"Francisco",
"''",
"AND",
... | [
"select",
"campus",
"from",
"campuses",
"where",
"location",
"=",
"value",
"and",
"county",
"=",
"value",
"union",
"select",
"campus",
"from",
"campuses",
"where",
"location",
"=",
"value",
"and",
"county",
"=",
"value"
] | [
"Find",
"the",
"name",
"of",
"the",
"campuses",
"that",
"is",
"in",
"Northridge",
",",
"Los",
"Angeles",
"or",
"in",
"San",
"Francisco",
",",
"San",
"Francisco",
"."
] | [
"Find",
"the",
"name",
"of",
"the",
"<mask>",
"that",
"is",
"in",
"Northridge",
",",
"Los",
"Angeles",
"or",
"in",
"San",
"Francisco",
",",
"San",
"Francisco",
"."
] | [
"select",
"<mask>",
"from",
"<mask>",
"where",
"<mask>",
"=",
"<unk>",
"and",
"<mask>",
"=",
"<unk>",
"union",
"select",
"<mask>",
"from",
"<mask>",
"where",
"<mask>",
"=",
"<unk>",
"and",
"<mask>",
"=",
"<unk>"
] |
csu_1 | SELECT campus FROM campuses WHERE LOCATION = "Northridge" AND county = "Los Angeles" UNION SELECT campus FROM campuses WHERE LOCATION = "San Francisco" AND county = "San Francisco" | What campuses are located in Northridge, Los Angeles or in San Francisco, San Francisco? | [
"SELECT",
"campus",
"FROM",
"campuses",
"WHERE",
"LOCATION",
"=",
"``",
"Northridge",
"''",
"AND",
"county",
"=",
"``",
"Los",
"Angeles",
"''",
"UNION",
"SELECT",
"campus",
"FROM",
"campuses",
"WHERE",
"LOCATION",
"=",
"``",
"San",
"Francisco",
"''",
"AND",
... | [
"select",
"campus",
"from",
"campuses",
"where",
"location",
"=",
"value",
"and",
"county",
"=",
"value",
"union",
"select",
"campus",
"from",
"campuses",
"where",
"location",
"=",
"value",
"and",
"county",
"=",
"value"
] | [
"What",
"campuses",
"are",
"located",
"in",
"Northridge",
",",
"Los",
"Angeles",
"or",
"in",
"San",
"Francisco",
",",
"San",
"Francisco",
"?"
] | [
"What",
"<mask>",
"are",
"located",
"in",
"Northridge",
",",
"Los",
"Angeles",
"or",
"in",
"San",
"Francisco",
",",
"San",
"Francisco",
"?"
] | [
"select",
"<mask>",
"from",
"<mask>",
"where",
"<mask>",
"=",
"<unk>",
"and",
"<mask>",
"=",
"<unk>",
"union",
"select",
"<mask>",
"from",
"<mask>",
"where",
"<mask>",
"=",
"<unk>",
"and",
"<mask>",
"=",
"<unk>"
] |
csu_1 | SELECT campusfee FROM campuses AS T1 JOIN csu_fees AS T2 ON T1.id = t2.campus WHERE t1.campus = "San Jose State University" AND T2.year = 1996 | What is the campus fee of "San Jose State University" in year 1996? | [
"SELECT",
"campusfee",
"FROM",
"campuses",
"AS",
"T1",
"JOIN",
"csu_fees",
"AS",
"T2",
"ON",
"T1.id",
"=",
"t2.campus",
"WHERE",
"t1.campus",
"=",
"``",
"San",
"Jose",
"State",
"University",
"''",
"AND",
"T2.year",
"=",
"1996"
] | [
"select",
"campusfee",
"from",
"campuses",
"as",
"t1",
"join",
"csu_fees",
"as",
"t2",
"on",
"t1",
".",
"id",
"=",
"t2",
".",
"campus",
"where",
"t1",
".",
"campus",
"=",
"value",
"and",
"t2",
".",
"year",
"=",
"value"
] | [
"What",
"is",
"the",
"campus",
"fee",
"of",
"``",
"San",
"Jose",
"State",
"University",
"''",
"in",
"year",
"1996",
"?"
] | [
"What",
"is",
"the",
"<mask>",
"<mask>",
"of",
"``",
"San",
"Jose",
"State",
"University",
"''",
"in",
"<mask>",
"<unk>",
"?"
] | [
"select",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
"=",
"<unk>",
"and",
"<mask>",
".",
"<mask>",
"=",
"<unk>"
] |
csu_1 | SELECT campusfee FROM campuses AS T1 JOIN csu_fees AS T2 ON T1.id = t2.campus WHERE t1.campus = "San Jose State University" AND T2.year = 1996 | What is the campus fee for San Jose State University in 1996? | [
"SELECT",
"campusfee",
"FROM",
"campuses",
"AS",
"T1",
"JOIN",
"csu_fees",
"AS",
"T2",
"ON",
"T1.id",
"=",
"t2.campus",
"WHERE",
"t1.campus",
"=",
"``",
"San",
"Jose",
"State",
"University",
"''",
"AND",
"T2.year",
"=",
"1996"
] | [
"select",
"campusfee",
"from",
"campuses",
"as",
"t1",
"join",
"csu_fees",
"as",
"t2",
"on",
"t1",
".",
"id",
"=",
"t2",
".",
"campus",
"where",
"t1",
".",
"campus",
"=",
"value",
"and",
"t2",
".",
"year",
"=",
"value"
] | [
"What",
"is",
"the",
"campus",
"fee",
"for",
"San",
"Jose",
"State",
"University",
"in",
"1996",
"?"
] | [
"What",
"is",
"the",
"<mask>",
"<mask>",
"for",
"San",
"Jose",
"State",
"University",
"in",
"<unk>",
"?"
] | [
"select",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
"=",
"<unk>",
"and",
"<mask>",
".",
"<mask>",
"=",
"<unk>"
] |
csu_1 | SELECT campusfee FROM campuses AS T1 JOIN csu_fees AS T2 ON T1.id = t2.campus WHERE t1.campus = "San Francisco State University" AND T2.year = 1996 | What is the campus fee of "San Francisco State University" in year 1996? | [
"SELECT",
"campusfee",
"FROM",
"campuses",
"AS",
"T1",
"JOIN",
"csu_fees",
"AS",
"T2",
"ON",
"T1.id",
"=",
"t2.campus",
"WHERE",
"t1.campus",
"=",
"``",
"San",
"Francisco",
"State",
"University",
"''",
"AND",
"T2.year",
"=",
"1996"
] | [
"select",
"campusfee",
"from",
"campuses",
"as",
"t1",
"join",
"csu_fees",
"as",
"t2",
"on",
"t1",
".",
"id",
"=",
"t2",
".",
"campus",
"where",
"t1",
".",
"campus",
"=",
"value",
"and",
"t2",
".",
"year",
"=",
"value"
] | [
"What",
"is",
"the",
"campus",
"fee",
"of",
"``",
"San",
"Francisco",
"State",
"University",
"''",
"in",
"year",
"1996",
"?"
] | [
"What",
"is",
"the",
"<mask>",
"<mask>",
"of",
"``",
"San",
"Francisco",
"State",
"University",
"''",
"in",
"<mask>",
"<unk>",
"?"
] | [
"select",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
"=",
"<unk>",
"and",
"<mask>",
".",
"<mask>",
"=",
"<unk>"
] |
csu_1 | SELECT campusfee FROM campuses AS T1 JOIN csu_fees AS T2 ON T1.id = t2.campus WHERE t1.campus = "San Francisco State University" AND T2.year = 1996 | What is the campus fee for San Francisco State University in 1996? | [
"SELECT",
"campusfee",
"FROM",
"campuses",
"AS",
"T1",
"JOIN",
"csu_fees",
"AS",
"T2",
"ON",
"T1.id",
"=",
"t2.campus",
"WHERE",
"t1.campus",
"=",
"``",
"San",
"Francisco",
"State",
"University",
"''",
"AND",
"T2.year",
"=",
"1996"
] | [
"select",
"campusfee",
"from",
"campuses",
"as",
"t1",
"join",
"csu_fees",
"as",
"t2",
"on",
"t1",
".",
"id",
"=",
"t2",
".",
"campus",
"where",
"t1",
".",
"campus",
"=",
"value",
"and",
"t2",
".",
"year",
"=",
"value"
] | [
"What",
"is",
"the",
"campus",
"fee",
"for",
"San",
"Francisco",
"State",
"University",
"in",
"1996",
"?"
] | [
"What",
"is",
"the",
"<mask>",
"<mask>",
"for",
"San",
"Francisco",
"State",
"University",
"in",
"<unk>",
"?"
] | [
"select",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
"=",
"<unk>",
"and",
"<mask>",
".",
"<mask>",
"=",
"<unk>"
] |
csu_1 | SELECT count(*) FROM csu_fees WHERE campusfee > (SELECT avg(campusfee) FROM csu_fees) | Find the count of universities whose campus fee is greater than the average campus fee. | [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"csu_fees",
"WHERE",
"campusfee",
">",
"(",
"SELECT",
"avg",
"(",
"campusfee",
")",
"FROM",
"csu_fees",
")"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"csu_fees",
"where",
"campusfee",
">",
"(",
"select",
"avg",
"(",
"campusfee",
")",
"from",
"csu_fees",
")"
] | [
"Find",
"the",
"count",
"of",
"universities",
"whose",
"campus",
"fee",
"is",
"greater",
"than",
"the",
"average",
"campus",
"fee",
"."
] | [
"Find",
"the",
"count",
"of",
"universities",
"whose",
"<mask>",
"<mask>",
"is",
"greater",
"than",
"the",
"average",
"<mask>",
"<mask>",
"."
] | [
"select",
"count",
"(",
"*",
")",
"from",
"<mask>",
"where",
"<mask>",
">",
"(",
"select",
"avg",
"(",
"<mask>",
")",
"from",
"<mask>",
")"
] |
csu_1 | SELECT count(*) FROM csu_fees WHERE campusfee > (SELECT avg(campusfee) FROM csu_fees) | How many universities have a campus fee higher than average? | [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"csu_fees",
"WHERE",
"campusfee",
">",
"(",
"SELECT",
"avg",
"(",
"campusfee",
")",
"FROM",
"csu_fees",
")"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"csu_fees",
"where",
"campusfee",
">",
"(",
"select",
"avg",
"(",
"campusfee",
")",
"from",
"csu_fees",
")"
] | [
"How",
"many",
"universities",
"have",
"a",
"campus",
"fee",
"higher",
"than",
"average",
"?"
] | [
"How",
"many",
"universities",
"have",
"a",
"<mask>",
"<mask>",
"higher",
"than",
"average",
"?"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"<mask>",
"where",
"<mask>",
">",
"(",
"select",
"avg",
"(",
"<mask>",
")",
"from",
"<mask>",
")"
] |
csu_1 | SELECT count(*) FROM csu_fees WHERE campusfee > (SELECT avg(campusfee) FROM csu_fees) | Find the count of universities whose campus fee is greater than the average campus fee. | [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"csu_fees",
"WHERE",
"campusfee",
">",
"(",
"SELECT",
"avg",
"(",
"campusfee",
")",
"FROM",
"csu_fees",
")"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"csu_fees",
"where",
"campusfee",
">",
"(",
"select",
"avg",
"(",
"campusfee",
")",
"from",
"csu_fees",
")"
] | [
"Find",
"the",
"count",
"of",
"universities",
"whose",
"campus",
"fee",
"is",
"greater",
"than",
"the",
"average",
"campus",
"fee",
"."
] | [
"Find",
"the",
"count",
"of",
"universities",
"whose",
"<mask>",
"<mask>",
"is",
"greater",
"than",
"the",
"average",
"<mask>",
"<mask>",
"."
] | [
"select",
"count",
"(",
"*",
")",
"from",
"<mask>",
"where",
"<mask>",
">",
"(",
"select",
"avg",
"(",
"<mask>",
")",
"from",
"<mask>",
")"
] |
csu_1 | SELECT count(*) FROM csu_fees WHERE campusfee > (SELECT avg(campusfee) FROM csu_fees) | How many universities have a campus fee greater than the average? | [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"csu_fees",
"WHERE",
"campusfee",
">",
"(",
"SELECT",
"avg",
"(",
"campusfee",
")",
"FROM",
"csu_fees",
")"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"csu_fees",
"where",
"campusfee",
">",
"(",
"select",
"avg",
"(",
"campusfee",
")",
"from",
"csu_fees",
")"
] | [
"How",
"many",
"universities",
"have",
"a",
"campus",
"fee",
"greater",
"than",
"the",
"average",
"?"
] | [
"How",
"many",
"universities",
"have",
"a",
"<mask>",
"<mask>",
"greater",
"than",
"the",
"average",
"?"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"<mask>",
"where",
"<mask>",
">",
"(",
"select",
"avg",
"(",
"<mask>",
")",
"from",
"<mask>",
")"
] |
csu_1 | SELECT campus FROM campuses WHERE county = "Los Angeles" AND YEAR > 1950 | Which university is in Los Angeles county and opened after 1950? | [
"SELECT",
"campus",
"FROM",
"campuses",
"WHERE",
"county",
"=",
"``",
"Los",
"Angeles",
"''",
"AND",
"YEAR",
">",
"1950"
] | [
"select",
"campus",
"from",
"campuses",
"where",
"county",
"=",
"value",
"and",
"year",
">",
"value"
] | [
"Which",
"university",
"is",
"in",
"Los",
"Angeles",
"county",
"and",
"opened",
"after",
"1950",
"?"
] | [
"Which",
"university",
"is",
"in",
"Los",
"Angeles",
"<mask>",
"and",
"opened",
"after",
"<unk>",
"?"
] | [
"select",
"<mask>",
"from",
"<mask>",
"where",
"<mask>",
"=",
"<unk>",
"and",
"<mask>",
">",
"<unk>"
] |
csu_1 | SELECT campus FROM campuses WHERE county = "Los Angeles" AND YEAR > 1950 | What campuses are located in Los Angeles county and opened after 1950? | [
"SELECT",
"campus",
"FROM",
"campuses",
"WHERE",
"county",
"=",
"``",
"Los",
"Angeles",
"''",
"AND",
"YEAR",
">",
"1950"
] | [
"select",
"campus",
"from",
"campuses",
"where",
"county",
"=",
"value",
"and",
"year",
">",
"value"
] | [
"What",
"campuses",
"are",
"located",
"in",
"Los",
"Angeles",
"county",
"and",
"opened",
"after",
"1950",
"?"
] | [
"What",
"<mask>",
"are",
"located",
"in",
"Los",
"Angeles",
"<mask>",
"and",
"opened",
"after",
"<unk>",
"?"
] | [
"select",
"<mask>",
"from",
"<mask>",
"where",
"<mask>",
"=",
"<unk>",
"and",
"<mask>",
">",
"<unk>"
] |
csu_1 | SELECT YEAR FROM degrees GROUP BY YEAR ORDER BY sum(degrees) DESC LIMIT 1 | Which year has the most degrees conferred? | [
"SELECT",
"YEAR",
"FROM",
"degrees",
"GROUP",
"BY",
"YEAR",
"ORDER",
"BY",
"sum",
"(",
"degrees",
")",
"DESC",
"LIMIT",
"1"
] | [
"select",
"year",
"from",
"degrees",
"group",
"by",
"year",
"order",
"by",
"sum",
"(",
"degrees",
")",
"desc",
"limit",
"value"
] | [
"Which",
"year",
"has",
"the",
"most",
"degrees",
"conferred",
"?"
] | [
"Which",
"<mask>",
"has",
"the",
"most",
"degrees",
"conferred",
"?"
] | [
"select",
"<mask>",
"from",
"<mask>",
"group",
"by",
"<mask>",
"order",
"by",
"sum",
"(",
"<mask>",
")",
"desc",
"limit",
"<unk>"
] |
csu_1 | SELECT YEAR FROM degrees GROUP BY YEAR ORDER BY sum(degrees) DESC LIMIT 1 | In what year was the most degrees conferred? | [
"SELECT",
"YEAR",
"FROM",
"degrees",
"GROUP",
"BY",
"YEAR",
"ORDER",
"BY",
"sum",
"(",
"degrees",
")",
"DESC",
"LIMIT",
"1"
] | [
"select",
"year",
"from",
"degrees",
"group",
"by",
"year",
"order",
"by",
"sum",
"(",
"degrees",
")",
"desc",
"limit",
"value"
] | [
"In",
"what",
"year",
"was",
"the",
"most",
"degrees",
"conferred",
"?"
] | [
"In",
"what",
"<mask>",
"was",
"the",
"most",
"degrees",
"conferred",
"?"
] | [
"select",
"<mask>",
"from",
"<mask>",
"group",
"by",
"<mask>",
"order",
"by",
"sum",
"(",
"<mask>",
")",
"desc",
"limit",
"<unk>"
] |
csu_1 | SELECT campus FROM degrees GROUP BY campus ORDER BY sum(degrees) DESC LIMIT 1 | Which campus has the most degrees conferred in all times? | [
"SELECT",
"campus",
"FROM",
"degrees",
"GROUP",
"BY",
"campus",
"ORDER",
"BY",
"sum",
"(",
"degrees",
")",
"DESC",
"LIMIT",
"1"
] | [
"select",
"campus",
"from",
"degrees",
"group",
"by",
"campus",
"order",
"by",
"sum",
"(",
"degrees",
")",
"desc",
"limit",
"value"
] | [
"Which",
"campus",
"has",
"the",
"most",
"degrees",
"conferred",
"in",
"all",
"times",
"?"
] | [
"Which",
"<mask>",
"has",
"the",
"most",
"degrees",
"conferred",
"in",
"all",
"times",
"?"
] | [
"select",
"<mask>",
"from",
"<mask>",
"group",
"by",
"<mask>",
"order",
"by",
"sum",
"(",
"<mask>",
")",
"desc",
"limit",
"<unk>"
] |
csu_1 | SELECT campus FROM degrees GROUP BY campus ORDER BY sum(degrees) DESC LIMIT 1 | What campus has the most degrees conferrred over its entire existence? | [
"SELECT",
"campus",
"FROM",
"degrees",
"GROUP",
"BY",
"campus",
"ORDER",
"BY",
"sum",
"(",
"degrees",
")",
"DESC",
"LIMIT",
"1"
] | [
"select",
"campus",
"from",
"degrees",
"group",
"by",
"campus",
"order",
"by",
"sum",
"(",
"degrees",
")",
"desc",
"limit",
"value"
] | [
"What",
"campus",
"has",
"the",
"most",
"degrees",
"conferrred",
"over",
"its",
"entire",
"existence",
"?"
] | [
"What",
"<mask>",
"has",
"the",
"most",
"degrees",
"conferrred",
"over",
"its",
"entire",
"existence",
"?"
] | [
"select",
"<mask>",
"from",
"<mask>",
"group",
"by",
"<mask>",
"order",
"by",
"sum",
"(",
"<mask>",
")",
"desc",
"limit",
"<unk>"
] |
csu_1 | SELECT T1.campus FROM campuses AS T1 JOIN faculty AS T2 ON T1.id = T2.campus WHERE T2.year = 2003 ORDER BY T2.faculty DESC LIMIT 1 | Which campus has the most faculties in year 2003? | [
"SELECT",
"T1.campus",
"FROM",
"campuses",
"AS",
"T1",
"JOIN",
"faculty",
"AS",
"T2",
"ON",
"T1.id",
"=",
"T2.campus",
"WHERE",
"T2.year",
"=",
"2003",
"ORDER",
"BY",
"T2.faculty",
"DESC",
"LIMIT",
"1"
] | [
"select",
"t1",
".",
"campus",
"from",
"campuses",
"as",
"t1",
"join",
"faculty",
"as",
"t2",
"on",
"t1",
".",
"id",
"=",
"t2",
".",
"campus",
"where",
"t2",
".",
"year",
"=",
"value",
"order",
"by",
"t2",
".",
"faculty",
"desc",
"limit",
"value"
] | [
"Which",
"campus",
"has",
"the",
"most",
"faculties",
"in",
"year",
"2003",
"?"
] | [
"Which",
"<mask>",
"has",
"the",
"most",
"<mask>",
"in",
"<mask>",
"<unk>",
"?"
] | [
"select",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
"=",
"<unk>",
"order",
"by",
"<mask>",
".",
"<mask>",
"d... |
csu_1 | SELECT T1.campus FROM campuses AS T1 JOIN faculty AS T2 ON T1.id = T2.campus WHERE T2.year = 2003 ORDER BY T2.faculty DESC LIMIT 1 | What campus has the most faculties in 2003? | [
"SELECT",
"T1.campus",
"FROM",
"campuses",
"AS",
"T1",
"JOIN",
"faculty",
"AS",
"T2",
"ON",
"T1.id",
"=",
"T2.campus",
"WHERE",
"T2.year",
"=",
"2003",
"ORDER",
"BY",
"T2.faculty",
"DESC",
"LIMIT",
"1"
] | [
"select",
"t1",
".",
"campus",
"from",
"campuses",
"as",
"t1",
"join",
"faculty",
"as",
"t2",
"on",
"t1",
".",
"id",
"=",
"t2",
".",
"campus",
"where",
"t2",
".",
"year",
"=",
"value",
"order",
"by",
"t2",
".",
"faculty",
"desc",
"limit",
"value"
] | [
"What",
"campus",
"has",
"the",
"most",
"faculties",
"in",
"2003",
"?"
] | [
"What",
"<mask>",
"has",
"the",
"most",
"<mask>",
"in",
"<unk>",
"?"
] | [
"select",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
"=",
"<unk>",
"order",
"by",
"<mask>",
".",
"<mask>",
"d... |
csu_1 | SELECT avg(campusfee) FROM csu_fees WHERE YEAR = 1996 | Find the average fee on a CSU campus in 1996 | [
"SELECT",
"avg",
"(",
"campusfee",
")",
"FROM",
"csu_fees",
"WHERE",
"YEAR",
"=",
"1996"
] | [
"select",
"avg",
"(",
"campusfee",
")",
"from",
"csu_fees",
"where",
"year",
"=",
"value"
] | [
"Find",
"the",
"average",
"fee",
"on",
"a",
"CSU",
"campus",
"in",
"1996"
] | [
"Find",
"the",
"average",
"<mask>",
"on",
"a",
"CSU",
"<mask>",
"in",
"<unk>"
] | [
"select",
"avg",
"(",
"<mask>",
")",
"from",
"<mask>",
"where",
"<mask>",
"=",
"<unk>"
] |
csu_1 | SELECT avg(campusfee) FROM csu_fees WHERE YEAR = 1996 | What is the average fee for a CSU campus in the year of 1996? | [
"SELECT",
"avg",
"(",
"campusfee",
")",
"FROM",
"csu_fees",
"WHERE",
"YEAR",
"=",
"1996"
] | [
"select",
"avg",
"(",
"campusfee",
")",
"from",
"csu_fees",
"where",
"year",
"=",
"value"
] | [
"What",
"is",
"the",
"average",
"fee",
"for",
"a",
"CSU",
"campus",
"in",
"the",
"year",
"of",
"1996",
"?"
] | [
"What",
"is",
"the",
"average",
"<mask>",
"for",
"a",
"CSU",
"<mask>",
"in",
"the",
"<mask>",
"of",
"<unk>",
"?"
] | [
"select",
"avg",
"(",
"<mask>",
")",
"from",
"<mask>",
"where",
"<mask>",
"=",
"<unk>"
] |
csu_1 | SELECT avg(campusfee) FROM csu_fees WHERE YEAR = 2005 | What is the average fee on a CSU campus in 2005? | [
"SELECT",
"avg",
"(",
"campusfee",
")",
"FROM",
"csu_fees",
"WHERE",
"YEAR",
"=",
"2005"
] | [
"select",
"avg",
"(",
"campusfee",
")",
"from",
"csu_fees",
"where",
"year",
"=",
"value"
] | [
"What",
"is",
"the",
"average",
"fee",
"on",
"a",
"CSU",
"campus",
"in",
"2005",
"?"
] | [
"What",
"is",
"the",
"average",
"<mask>",
"on",
"a",
"CSU",
"<mask>",
"in",
"<unk>",
"?"
] | [
"select",
"avg",
"(",
"<mask>",
")",
"from",
"<mask>",
"where",
"<mask>",
"=",
"<unk>"
] |
csu_1 | SELECT avg(campusfee) FROM csu_fees WHERE YEAR = 2005 | What is the average fee for a CSU campus in the year of 2005? | [
"SELECT",
"avg",
"(",
"campusfee",
")",
"FROM",
"csu_fees",
"WHERE",
"YEAR",
"=",
"2005"
] | [
"select",
"avg",
"(",
"campusfee",
")",
"from",
"csu_fees",
"where",
"year",
"=",
"value"
] | [
"What",
"is",
"the",
"average",
"fee",
"for",
"a",
"CSU",
"campus",
"in",
"the",
"year",
"of",
"2005",
"?"
] | [
"What",
"is",
"the",
"average",
"<mask>",
"for",
"a",
"CSU",
"<mask>",
"in",
"the",
"<mask>",
"of",
"<unk>",
"?"
] | [
"select",
"avg",
"(",
"<mask>",
")",
"from",
"<mask>",
"where",
"<mask>",
"=",
"<unk>"
] |
csu_1 | SELECT T1.campus , sum(T2.degrees) FROM campuses AS T1 JOIN degrees AS T2 ON T1.id = T2.campus WHERE T2.year >= 1998 AND T2.year <= 2002 GROUP BY T1.campus | report the total number of degrees granted between 1998 and 2002. | [
"SELECT",
"T1.campus",
",",
"sum",
"(",
"T2.degrees",
")",
"FROM",
"campuses",
"AS",
"T1",
"JOIN",
"degrees",
"AS",
"T2",
"ON",
"T1.id",
"=",
"T2.campus",
"WHERE",
"T2.year",
">",
"=",
"1998",
"AND",
"T2.year",
"<",
"=",
"2002",
"GROUP",
"BY",
"T1.campus... | [
"select",
"t1",
".",
"campus",
",",
"sum",
"(",
"t2",
".",
"degrees",
")",
"from",
"campuses",
"as",
"t1",
"join",
"degrees",
"as",
"t2",
"on",
"t1",
".",
"id",
"=",
"t2",
".",
"campus",
"where",
"t2",
".",
"year",
">",
"=",
"value",
"and",
"t2",... | [
"report",
"the",
"total",
"number",
"of",
"degrees",
"granted",
"between",
"1998",
"and",
"2002",
"."
] | [
"report",
"the",
"total",
"number",
"of",
"degrees",
"granted",
"between",
"<unk>",
"and",
"<unk>",
"."
] | [
"select",
"<mask>",
".",
"<mask>",
",",
"sum",
"(",
"<mask>",
".",
"<mask>",
")",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
">",
"=... |
csu_1 | SELECT T1.campus , sum(T2.degrees) FROM campuses AS T1 JOIN degrees AS T2 ON T1.id = T2.campus WHERE T2.year >= 1998 AND T2.year <= 2002 GROUP BY T1.campus | how many degrees were conferred between 1998 and 2002? | [
"SELECT",
"T1.campus",
",",
"sum",
"(",
"T2.degrees",
")",
"FROM",
"campuses",
"AS",
"T1",
"JOIN",
"degrees",
"AS",
"T2",
"ON",
"T1.id",
"=",
"T2.campus",
"WHERE",
"T2.year",
">",
"=",
"1998",
"AND",
"T2.year",
"<",
"=",
"2002",
"GROUP",
"BY",
"T1.campus... | [
"select",
"t1",
".",
"campus",
",",
"sum",
"(",
"t2",
".",
"degrees",
")",
"from",
"campuses",
"as",
"t1",
"join",
"degrees",
"as",
"t2",
"on",
"t1",
".",
"id",
"=",
"t2",
".",
"campus",
"where",
"t2",
".",
"year",
">",
"=",
"value",
"and",
"t2",... | [
"how",
"many",
"degrees",
"were",
"conferred",
"between",
"1998",
"and",
"2002",
"?"
] | [
"how",
"many",
"degrees",
"were",
"conferred",
"between",
"<unk>",
"and",
"<unk>",
"?"
] | [
"select",
"<mask>",
".",
"<mask>",
",",
"sum",
"(",
"<mask>",
".",
"<mask>",
")",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
">",
"=... |
csu_1 | SELECT T1.campus , sum(T2.degrees) FROM campuses AS T1 JOIN degrees AS T2 ON T1.id = T2.campus WHERE T1.county = "Orange" AND T2.year >= 2000 GROUP BY T1.campus | For each Orange county campus, report the number of degrees granted after 2000. | [
"SELECT",
"T1.campus",
",",
"sum",
"(",
"T2.degrees",
")",
"FROM",
"campuses",
"AS",
"T1",
"JOIN",
"degrees",
"AS",
"T2",
"ON",
"T1.id",
"=",
"T2.campus",
"WHERE",
"T1.county",
"=",
"``",
"Orange",
"''",
"AND",
"T2.year",
">",
"=",
"2000",
"GROUP",
"BY",... | [
"select",
"t1",
".",
"campus",
",",
"sum",
"(",
"t2",
".",
"degrees",
")",
"from",
"campuses",
"as",
"t1",
"join",
"degrees",
"as",
"t2",
"on",
"t1",
".",
"id",
"=",
"t2",
".",
"campus",
"where",
"t1",
".",
"county",
"=",
"value",
"and",
"t2",
".... | [
"For",
"each",
"Orange",
"county",
"campus",
",",
"report",
"the",
"number",
"of",
"degrees",
"granted",
"after",
"2000",
"."
] | [
"For",
"each",
"Orange",
"<mask>",
"<mask>",
",",
"report",
"the",
"number",
"of",
"degrees",
"granted",
"after",
"<unk>",
"."
] | [
"select",
"<mask>",
".",
"<mask>",
",",
"sum",
"(",
"<mask>",
".",
"<mask>",
")",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
"=",
"<... |
csu_1 | SELECT T1.campus , sum(T2.degrees) FROM campuses AS T1 JOIN degrees AS T2 ON T1.id = T2.campus WHERE T1.county = "Orange" AND T2.year >= 2000 GROUP BY T1.campus | What is the total number of degrees granted after 2000 for each Orange county campus? | [
"SELECT",
"T1.campus",
",",
"sum",
"(",
"T2.degrees",
")",
"FROM",
"campuses",
"AS",
"T1",
"JOIN",
"degrees",
"AS",
"T2",
"ON",
"T1.id",
"=",
"T2.campus",
"WHERE",
"T1.county",
"=",
"``",
"Orange",
"''",
"AND",
"T2.year",
">",
"=",
"2000",
"GROUP",
"BY",... | [
"select",
"t1",
".",
"campus",
",",
"sum",
"(",
"t2",
".",
"degrees",
")",
"from",
"campuses",
"as",
"t1",
"join",
"degrees",
"as",
"t2",
"on",
"t1",
".",
"id",
"=",
"t2",
".",
"campus",
"where",
"t1",
".",
"county",
"=",
"value",
"and",
"t2",
".... | [
"What",
"is",
"the",
"total",
"number",
"of",
"degrees",
"granted",
"after",
"2000",
"for",
"each",
"Orange",
"county",
"campus",
"?"
] | [
"What",
"is",
"the",
"total",
"number",
"of",
"degrees",
"granted",
"after",
"<unk>",
"for",
"each",
"Orange",
"<mask>",
"<mask>",
"?"
] | [
"select",
"<mask>",
".",
"<mask>",
",",
"sum",
"(",
"<mask>",
".",
"<mask>",
")",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
"=",
"<... |
csu_1 | SELECT T1.campus FROM campuses AS T1 JOIN faculty AS T2 ON T1.id = T2.campus WHERE T2.year = 2002 AND faculty > (SELECT max(faculty) FROM campuses AS T1 JOIN faculty AS T2 ON T1.id = T2.campus WHERE T2.year = 2002 AND T1.county = "Orange") | Find the names of the campus which has more faculties in 2002 than every campus in Orange county. | [
"SELECT",
"T1.campus",
"FROM",
"campuses",
"AS",
"T1",
"JOIN",
"faculty",
"AS",
"T2",
"ON",
"T1.id",
"=",
"T2.campus",
"WHERE",
"T2.year",
"=",
"2002",
"AND",
"faculty",
">",
"(",
"SELECT",
"max",
"(",
"faculty",
")",
"FROM",
"campuses",
"AS",
"T1",
"JOI... | [
"select",
"t1",
".",
"campus",
"from",
"campuses",
"as",
"t1",
"join",
"faculty",
"as",
"t2",
"on",
"t1",
".",
"id",
"=",
"t2",
".",
"campus",
"where",
"t2",
".",
"year",
"=",
"value",
"and",
"faculty",
">",
"(",
"select",
"max",
"(",
"faculty",
")... | [
"Find",
"the",
"names",
"of",
"the",
"campus",
"which",
"has",
"more",
"faculties",
"in",
"2002",
"than",
"every",
"campus",
"in",
"Orange",
"county",
"."
] | [
"Find",
"the",
"names",
"of",
"the",
"<mask>",
"which",
"has",
"more",
"<mask>",
"in",
"<unk>",
"than",
"every",
"<mask>",
"in",
"Orange",
"<mask>",
"."
] | [
"select",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
"=",
"<unk>",
"and",
"<mask>",
">",
"(",
"select",
"max"... |
csu_1 | SELECT T1.campus FROM campuses AS T1 JOIN faculty AS T2 ON T1.id = T2.campus WHERE T2.year = 2002 AND faculty > (SELECT max(faculty) FROM campuses AS T1 JOIN faculty AS T2 ON T1.id = T2.campus WHERE T2.year = 2002 AND T1.county = "Orange") | What are the names of the campus that have more faculties in 2002 than the maximum number in Orange county? | [
"SELECT",
"T1.campus",
"FROM",
"campuses",
"AS",
"T1",
"JOIN",
"faculty",
"AS",
"T2",
"ON",
"T1.id",
"=",
"T2.campus",
"WHERE",
"T2.year",
"=",
"2002",
"AND",
"faculty",
">",
"(",
"SELECT",
"max",
"(",
"faculty",
")",
"FROM",
"campuses",
"AS",
"T1",
"JOI... | [
"select",
"t1",
".",
"campus",
"from",
"campuses",
"as",
"t1",
"join",
"faculty",
"as",
"t2",
"on",
"t1",
".",
"id",
"=",
"t2",
".",
"campus",
"where",
"t2",
".",
"year",
"=",
"value",
"and",
"faculty",
">",
"(",
"select",
"max",
"(",
"faculty",
")... | [
"What",
"are",
"the",
"names",
"of",
"the",
"campus",
"that",
"have",
"more",
"faculties",
"in",
"2002",
"than",
"the",
"maximum",
"number",
"in",
"Orange",
"county",
"?"
] | [
"What",
"are",
"the",
"names",
"of",
"the",
"<mask>",
"that",
"have",
"more",
"<mask>",
"in",
"<unk>",
"than",
"the",
"maximum",
"number",
"in",
"Orange",
"<mask>",
"?"
] | [
"select",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
"=",
"<unk>",
"and",
"<mask>",
">",
"(",
"select",
"max"... |
csu_1 | SELECT T1.campus FROM campuses AS t1 JOIN enrollments AS t2 ON t1.id = t2.campus WHERE t2.year = 1956 AND totalenrollment_ay > 400 AND FTE_AY > 200 | What campus had more than 400 total enrollment but more than 200 full time enrollment in year 1956? | [
"SELECT",
"T1.campus",
"FROM",
"campuses",
"AS",
"t1",
"JOIN",
"enrollments",
"AS",
"t2",
"ON",
"t1.id",
"=",
"t2.campus",
"WHERE",
"t2.year",
"=",
"1956",
"AND",
"totalenrollment_ay",
">",
"400",
"AND",
"FTE_AY",
">",
"200"
] | [
"select",
"t1",
".",
"campus",
"from",
"campuses",
"as",
"t1",
"join",
"enrollments",
"as",
"t2",
"on",
"t1",
".",
"id",
"=",
"t2",
".",
"campus",
"where",
"t2",
".",
"year",
"=",
"value",
"and",
"totalenrollment_ay",
">",
"value",
"and",
"fte_ay",
">"... | [
"What",
"campus",
"had",
"more",
"than",
"400",
"total",
"enrollment",
"but",
"more",
"than",
"200",
"full",
"time",
"enrollment",
"in",
"year",
"1956",
"?"
] | [
"What",
"<mask>",
"had",
"more",
"than",
"<unk>",
"total",
"enrollment",
"but",
"more",
"than",
"<unk>",
"full",
"time",
"enrollment",
"in",
"<mask>",
"<unk>",
"?"
] | [
"select",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
"=",
"<unk>",
"and",
"<mask>",
">",
"<unk>",
"and",
"<ma... |
csu_1 | SELECT T1.campus FROM campuses AS t1 JOIN enrollments AS t2 ON t1.id = t2.campus WHERE t2.year = 1956 AND totalenrollment_ay > 400 AND FTE_AY > 200 | What campus started in year 1956, has more than 200 full time students, and more than 400 students enrolled? | [
"SELECT",
"T1.campus",
"FROM",
"campuses",
"AS",
"t1",
"JOIN",
"enrollments",
"AS",
"t2",
"ON",
"t1.id",
"=",
"t2.campus",
"WHERE",
"t2.year",
"=",
"1956",
"AND",
"totalenrollment_ay",
">",
"400",
"AND",
"FTE_AY",
">",
"200"
] | [
"select",
"t1",
".",
"campus",
"from",
"campuses",
"as",
"t1",
"join",
"enrollments",
"as",
"t2",
"on",
"t1",
".",
"id",
"=",
"t2",
".",
"campus",
"where",
"t2",
".",
"year",
"=",
"value",
"and",
"totalenrollment_ay",
">",
"value",
"and",
"fte_ay",
">"... | [
"What",
"campus",
"started",
"in",
"year",
"1956",
",",
"has",
"more",
"than",
"200",
"full",
"time",
"students",
",",
"and",
"more",
"than",
"400",
"students",
"enrolled",
"?"
] | [
"What",
"<mask>",
"started",
"in",
"<mask>",
"<unk>",
",",
"has",
"more",
"than",
"<unk>",
"full",
"time",
"students",
",",
"and",
"more",
"than",
"<unk>",
"students",
"enrolled",
"?"
] | [
"select",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
"=",
"<unk>",
"and",
"<mask>",
">",
"<unk>",
"and",
"<ma... |
csu_1 | SELECT count(*) FROM campuses WHERE county = "Los Angeles" | How many campuses are there in Los Angeles county? | [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"campuses",
"WHERE",
"county",
"=",
"``",
"Los",
"Angeles",
"''"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"campuses",
"where",
"county",
"=",
"value"
] | [
"How",
"many",
"campuses",
"are",
"there",
"in",
"Los",
"Angeles",
"county",
"?"
] | [
"How",
"many",
"<mask>",
"are",
"there",
"in",
"Los",
"Angeles",
"<mask>",
"?"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"<mask>",
"where",
"<mask>",
"=",
"<unk>"
] |
csu_1 | SELECT count(*) FROM campuses WHERE county = "Los Angeles" | How many campuses exist are in the county of LA? | [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"campuses",
"WHERE",
"county",
"=",
"``",
"Los",
"Angeles",
"''"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"campuses",
"where",
"county",
"=",
"value"
] | [
"How",
"many",
"campuses",
"exist",
"are",
"in",
"the",
"county",
"of",
"LA",
"?"
] | [
"How",
"many",
"<mask>",
"exist",
"are",
"in",
"the",
"<mask>",
"of",
"LA",
"?"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"<mask>",
"where",
"<mask>",
"=",
"<unk>"
] |
csu_1 | SELECT campus FROM campuses WHERE county = "Los Angeles" | List the campuses in Los Angeles county. | [
"SELECT",
"campus",
"FROM",
"campuses",
"WHERE",
"county",
"=",
"``",
"Los",
"Angeles",
"''"
] | [
"select",
"campus",
"from",
"campuses",
"where",
"county",
"=",
"value"
] | [
"List",
"the",
"campuses",
"in",
"Los",
"Angeles",
"county",
"."
] | [
"List",
"the",
"<mask>",
"in",
"Los",
"Angeles",
"<mask>",
"."
] | [
"select",
"<mask>",
"from",
"<mask>",
"where",
"<mask>",
"=",
"<unk>"
] |
csu_1 | SELECT campus FROM campuses WHERE county = "Los Angeles" | What campuses are in Los Angeles county? | [
"SELECT",
"campus",
"FROM",
"campuses",
"WHERE",
"county",
"=",
"``",
"Los",
"Angeles",
"''"
] | [
"select",
"campus",
"from",
"campuses",
"where",
"county",
"=",
"value"
] | [
"What",
"campuses",
"are",
"in",
"Los",
"Angeles",
"county",
"?"
] | [
"What",
"<mask>",
"are",
"in",
"Los",
"Angeles",
"<mask>",
"?"
] | [
"select",
"<mask>",
"from",
"<mask>",
"where",
"<mask>",
"=",
"<unk>"
] |
csu_1 | SELECT degrees FROM campuses AS T1 JOIN degrees AS T2 ON t1.id = t2.campus WHERE t1.campus = "San Jose State University" AND t2.year = 2000 | How many degrees were conferred in "San Jose State University" in 2000? | [
"SELECT",
"degrees",
"FROM",
"campuses",
"AS",
"T1",
"JOIN",
"degrees",
"AS",
"T2",
"ON",
"t1.id",
"=",
"t2.campus",
"WHERE",
"t1.campus",
"=",
"``",
"San",
"Jose",
"State",
"University",
"''",
"AND",
"t2.year",
"=",
"2000"
] | [
"select",
"degrees",
"from",
"campuses",
"as",
"t1",
"join",
"degrees",
"as",
"t2",
"on",
"t1",
".",
"id",
"=",
"t2",
".",
"campus",
"where",
"t1",
".",
"campus",
"=",
"value",
"and",
"t2",
".",
"year",
"=",
"value"
] | [
"How",
"many",
"degrees",
"were",
"conferred",
"in",
"``",
"San",
"Jose",
"State",
"University",
"''",
"in",
"2000",
"?"
] | [
"How",
"many",
"degrees",
"were",
"conferred",
"in",
"``",
"San",
"Jose",
"State",
"University",
"''",
"in",
"<unk>",
"?"
] | [
"select",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
"=",
"<unk>",
"and",
"<mask>",
".",
"<mask>",
"=",
"<unk>"
] |
csu_1 | SELECT degrees FROM campuses AS T1 JOIN degrees AS T2 ON t1.id = t2.campus WHERE t1.campus = "San Jose State University" AND t2.year = 2000 | How many degrees were conferred at San Jose State University in 2000? | [
"SELECT",
"degrees",
"FROM",
"campuses",
"AS",
"T1",
"JOIN",
"degrees",
"AS",
"T2",
"ON",
"t1.id",
"=",
"t2.campus",
"WHERE",
"t1.campus",
"=",
"``",
"San",
"Jose",
"State",
"University",
"''",
"AND",
"t2.year",
"=",
"2000"
] | [
"select",
"degrees",
"from",
"campuses",
"as",
"t1",
"join",
"degrees",
"as",
"t2",
"on",
"t1",
".",
"id",
"=",
"t2",
".",
"campus",
"where",
"t1",
".",
"campus",
"=",
"value",
"and",
"t2",
".",
"year",
"=",
"value"
] | [
"How",
"many",
"degrees",
"were",
"conferred",
"at",
"San",
"Jose",
"State",
"University",
"in",
"2000",
"?"
] | [
"How",
"many",
"degrees",
"were",
"conferred",
"at",
"San",
"Jose",
"State",
"University",
"in",
"<unk>",
"?"
] | [
"select",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
"=",
"<unk>",
"and",
"<mask>",
".",
"<mask>",
"=",
"<unk>"
] |
csu_1 | SELECT degrees FROM campuses AS T1 JOIN degrees AS T2 ON t1.id = t2.campus WHERE t1.campus = "San Francisco State University" AND t2.year = 2001 | What are the degrees conferred in "San Francisco State University" in 2001. | [
"SELECT",
"degrees",
"FROM",
"campuses",
"AS",
"T1",
"JOIN",
"degrees",
"AS",
"T2",
"ON",
"t1.id",
"=",
"t2.campus",
"WHERE",
"t1.campus",
"=",
"``",
"San",
"Francisco",
"State",
"University",
"''",
"AND",
"t2.year",
"=",
"2001"
] | [
"select",
"degrees",
"from",
"campuses",
"as",
"t1",
"join",
"degrees",
"as",
"t2",
"on",
"t1",
".",
"id",
"=",
"t2",
".",
"campus",
"where",
"t1",
".",
"campus",
"=",
"value",
"and",
"t2",
".",
"year",
"=",
"value"
] | [
"What",
"are",
"the",
"degrees",
"conferred",
"in",
"``",
"San",
"Francisco",
"State",
"University",
"''",
"in",
"2001",
"."
] | [
"What",
"are",
"the",
"degrees",
"conferred",
"in",
"``",
"San",
"Francisco",
"State",
"University",
"''",
"in",
"<unk>",
"."
] | [
"select",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
"=",
"<unk>",
"and",
"<mask>",
".",
"<mask>",
"=",
"<unk>"
] |
csu_1 | SELECT degrees FROM campuses AS T1 JOIN degrees AS T2 ON t1.id = t2.campus WHERE t1.campus = "San Francisco State University" AND t2.year = 2001 | What degrees were conferred in San Francisco State University in the year 2001? | [
"SELECT",
"degrees",
"FROM",
"campuses",
"AS",
"T1",
"JOIN",
"degrees",
"AS",
"T2",
"ON",
"t1.id",
"=",
"t2.campus",
"WHERE",
"t1.campus",
"=",
"``",
"San",
"Francisco",
"State",
"University",
"''",
"AND",
"t2.year",
"=",
"2001"
] | [
"select",
"degrees",
"from",
"campuses",
"as",
"t1",
"join",
"degrees",
"as",
"t2",
"on",
"t1",
".",
"id",
"=",
"t2",
".",
"campus",
"where",
"t1",
".",
"campus",
"=",
"value",
"and",
"t2",
".",
"year",
"=",
"value"
] | [
"What",
"degrees",
"were",
"conferred",
"in",
"San",
"Francisco",
"State",
"University",
"in",
"the",
"year",
"2001",
"?"
] | [
"What",
"degrees",
"were",
"conferred",
"in",
"San",
"Francisco",
"State",
"University",
"in",
"the",
"<mask>",
"<unk>",
"?"
] | [
"select",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
"=",
"<unk>",
"and",
"<mask>",
".",
"<mask>",
"=",
"<unk>"
] |
csu_1 | SELECT sum(faculty) FROM faculty WHERE YEAR = 2002 | How many faculty is there in total in the year of 2002? | [
"SELECT",
"sum",
"(",
"faculty",
")",
"FROM",
"faculty",
"WHERE",
"YEAR",
"=",
"2002"
] | [
"select",
"sum",
"(",
"faculty",
")",
"from",
"faculty",
"where",
"year",
"=",
"value"
] | [
"How",
"many",
"faculty",
"is",
"there",
"in",
"total",
"in",
"the",
"year",
"of",
"2002",
"?"
] | [
"How",
"many",
"<mask>",
"is",
"there",
"in",
"total",
"in",
"the",
"<mask>",
"of",
"<unk>",
"?"
] | [
"select",
"sum",
"(",
"<mask>",
")",
"from",
"<mask>",
"where",
"<mask>",
"=",
"<unk>"
] |
csu_1 | SELECT sum(faculty) FROM faculty WHERE YEAR = 2002 | How many faculty, in total, are there in the year 2002? | [
"SELECT",
"sum",
"(",
"faculty",
")",
"FROM",
"faculty",
"WHERE",
"YEAR",
"=",
"2002"
] | [
"select",
"sum",
"(",
"faculty",
")",
"from",
"faculty",
"where",
"year",
"=",
"value"
] | [
"How",
"many",
"faculty",
",",
"in",
"total",
",",
"are",
"there",
"in",
"the",
"year",
"2002",
"?"
] | [
"How",
"many",
"<mask>",
",",
"in",
"total",
",",
"are",
"there",
"in",
"the",
"<mask>",
"<unk>",
"?"
] | [
"select",
"sum",
"(",
"<mask>",
")",
"from",
"<mask>",
"where",
"<mask>",
"=",
"<unk>"
] |
csu_1 | SELECT faculty FROM faculty AS T1 JOIN campuses AS T2 ON T1.campus = T2.id WHERE T1.year = 2002 AND T2.campus = "Long Beach State University" | What is the number of faculty lines in campus "Long Beach State University" in 2002? | [
"SELECT",
"faculty",
"FROM",
"faculty",
"AS",
"T1",
"JOIN",
"campuses",
"AS",
"T2",
"ON",
"T1.campus",
"=",
"T2.id",
"WHERE",
"T1.year",
"=",
"2002",
"AND",
"T2.campus",
"=",
"``",
"Long",
"Beach",
"State",
"University",
"''"
] | [
"select",
"faculty",
"from",
"faculty",
"as",
"t1",
"join",
"campuses",
"as",
"t2",
"on",
"t1",
".",
"campus",
"=",
"t2",
".",
"id",
"where",
"t1",
".",
"year",
"=",
"value",
"and",
"t2",
".",
"campus",
"=",
"value"
] | [
"What",
"is",
"the",
"number",
"of",
"faculty",
"lines",
"in",
"campus",
"``",
"Long",
"Beach",
"State",
"University",
"''",
"in",
"2002",
"?"
] | [
"What",
"is",
"the",
"number",
"of",
"<mask>",
"lines",
"in",
"<mask>",
"``",
"Long",
"Beach",
"State",
"University",
"''",
"in",
"<unk>",
"?"
] | [
"select",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
"=",
"<unk>",
"and",
"<mask>",
".",
"<mask>",
"=",
"<unk>"
] |
csu_1 | SELECT faculty FROM faculty AS T1 JOIN campuses AS T2 ON T1.campus = T2.id WHERE T1.year = 2002 AND T2.campus = "Long Beach State University" | What is the number of faculty at Long Beach State University in 2002? | [
"SELECT",
"faculty",
"FROM",
"faculty",
"AS",
"T1",
"JOIN",
"campuses",
"AS",
"T2",
"ON",
"T1.campus",
"=",
"T2.id",
"WHERE",
"T1.year",
"=",
"2002",
"AND",
"T2.campus",
"=",
"``",
"Long",
"Beach",
"State",
"University",
"''"
] | [
"select",
"faculty",
"from",
"faculty",
"as",
"t1",
"join",
"campuses",
"as",
"t2",
"on",
"t1",
".",
"campus",
"=",
"t2",
".",
"id",
"where",
"t1",
".",
"year",
"=",
"value",
"and",
"t2",
".",
"campus",
"=",
"value"
] | [
"What",
"is",
"the",
"number",
"of",
"faculty",
"at",
"Long",
"Beach",
"State",
"University",
"in",
"2002",
"?"
] | [
"What",
"is",
"the",
"number",
"of",
"<mask>",
"at",
"Long",
"Beach",
"State",
"University",
"in",
"<unk>",
"?"
] | [
"select",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
"=",
"<unk>",
"and",
"<mask>",
".",
"<mask>",
"=",
"<unk>"
] |
csu_1 | SELECT faculty FROM faculty AS T1 JOIN campuses AS T2 ON T1.campus = T2.id WHERE T1.year = 2004 AND T2.campus = "San Francisco State University" | How many faculty lines are there in "San Francisco State University" in year 2004? | [
"SELECT",
"faculty",
"FROM",
"faculty",
"AS",
"T1",
"JOIN",
"campuses",
"AS",
"T2",
"ON",
"T1.campus",
"=",
"T2.id",
"WHERE",
"T1.year",
"=",
"2004",
"AND",
"T2.campus",
"=",
"``",
"San",
"Francisco",
"State",
"University",
"''"
] | [
"select",
"faculty",
"from",
"faculty",
"as",
"t1",
"join",
"campuses",
"as",
"t2",
"on",
"t1",
".",
"campus",
"=",
"t2",
".",
"id",
"where",
"t1",
".",
"year",
"=",
"value",
"and",
"t2",
".",
"campus",
"=",
"value"
] | [
"How",
"many",
"faculty",
"lines",
"are",
"there",
"in",
"``",
"San",
"Francisco",
"State",
"University",
"''",
"in",
"year",
"2004",
"?"
] | [
"How",
"many",
"<mask>",
"lines",
"are",
"there",
"in",
"``",
"San",
"Francisco",
"State",
"University",
"''",
"in",
"<mask>",
"<unk>",
"?"
] | [
"select",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
"=",
"<unk>",
"and",
"<mask>",
".",
"<mask>",
"=",
"<unk>"
] |
csu_1 | SELECT faculty FROM faculty AS T1 JOIN campuses AS T2 ON T1.campus = T2.id WHERE T1.year = 2004 AND T2.campus = "San Francisco State University" | How many faculty lines are there at San Francisco State University in 2004? | [
"SELECT",
"faculty",
"FROM",
"faculty",
"AS",
"T1",
"JOIN",
"campuses",
"AS",
"T2",
"ON",
"T1.campus",
"=",
"T2.id",
"WHERE",
"T1.year",
"=",
"2004",
"AND",
"T2.campus",
"=",
"``",
"San",
"Francisco",
"State",
"University",
"''"
] | [
"select",
"faculty",
"from",
"faculty",
"as",
"t1",
"join",
"campuses",
"as",
"t2",
"on",
"t1",
".",
"campus",
"=",
"t2",
".",
"id",
"where",
"t1",
".",
"year",
"=",
"value",
"and",
"t2",
".",
"campus",
"=",
"value"
] | [
"How",
"many",
"faculty",
"lines",
"are",
"there",
"at",
"San",
"Francisco",
"State",
"University",
"in",
"2004",
"?"
] | [
"How",
"many",
"<mask>",
"lines",
"are",
"there",
"at",
"San",
"Francisco",
"State",
"University",
"in",
"<unk>",
"?"
] | [
"select",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
"=",
"<unk>",
"and",
"<mask>",
".",
"<mask>",
"=",
"<unk>"
] |
csu_1 | SELECT T1.campus FROM campuses AS t1 JOIN faculty AS t2 ON t1.id = t2.campus WHERE t2.faculty >= 600 AND t2.faculty <= 1000 AND T1.year = 2004 | List the campus that have between 600 and 1000 faculty lines in year 2004. | [
"SELECT",
"T1.campus",
"FROM",
"campuses",
"AS",
"t1",
"JOIN",
"faculty",
"AS",
"t2",
"ON",
"t1.id",
"=",
"t2.campus",
"WHERE",
"t2.faculty",
">",
"=",
"600",
"AND",
"t2.faculty",
"<",
"=",
"1000",
"AND",
"T1.year",
"=",
"2004"
] | [
"select",
"t1",
".",
"campus",
"from",
"campuses",
"as",
"t1",
"join",
"faculty",
"as",
"t2",
"on",
"t1",
".",
"id",
"=",
"t2",
".",
"campus",
"where",
"t2",
".",
"faculty",
">",
"=",
"value",
"and",
"t2",
".",
"faculty",
"<",
"=",
"value",
"and",
... | [
"List",
"the",
"campus",
"that",
"have",
"between",
"600",
"and",
"1000",
"faculty",
"lines",
"in",
"year",
"2004",
"."
] | [
"List",
"the",
"<mask>",
"that",
"have",
"between",
"<unk>",
"and",
"<unk>",
"<mask>",
"lines",
"in",
"<mask>",
"<unk>",
"."
] | [
"select",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
">",
"=",
"<unk>",
"and",
"<mask>",
".",
"<mask>",
"<",
... |
csu_1 | SELECT T1.campus FROM campuses AS t1 JOIN faculty AS t2 ON t1.id = t2.campus WHERE t2.faculty >= 600 AND t2.faculty <= 1000 AND T1.year = 2004 | What are the campuses that had between 600 and 1000 faculty members in 2004? | [
"SELECT",
"T1.campus",
"FROM",
"campuses",
"AS",
"t1",
"JOIN",
"faculty",
"AS",
"t2",
"ON",
"t1.id",
"=",
"t2.campus",
"WHERE",
"t2.faculty",
">",
"=",
"600",
"AND",
"t2.faculty",
"<",
"=",
"1000",
"AND",
"T1.year",
"=",
"2004"
] | [
"select",
"t1",
".",
"campus",
"from",
"campuses",
"as",
"t1",
"join",
"faculty",
"as",
"t2",
"on",
"t1",
".",
"id",
"=",
"t2",
".",
"campus",
"where",
"t2",
".",
"faculty",
">",
"=",
"value",
"and",
"t2",
".",
"faculty",
"<",
"=",
"value",
"and",
... | [
"What",
"are",
"the",
"campuses",
"that",
"had",
"between",
"600",
"and",
"1000",
"faculty",
"members",
"in",
"2004",
"?"
] | [
"What",
"are",
"the",
"<mask>",
"that",
"had",
"between",
"<unk>",
"and",
"<unk>",
"<mask>",
"members",
"in",
"<unk>",
"?"
] | [
"select",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
">",
"=",
"<unk>",
"and",
"<mask>",
".",
"<mask>",
"<",
... |
csu_1 | SELECT T2.faculty FROM campuses AS T1 JOIN faculty AS T2 ON T1.id = t2.campus JOIN degrees AS T3 ON T1.id = t3.campus AND t2.year = t3.year WHERE t2.year = 2002 ORDER BY t3.degrees DESC LIMIT 1 | How many faculty lines are there in the university that conferred the most number of degrees in year 2002? | [
"SELECT",
"T2.faculty",
"FROM",
"campuses",
"AS",
"T1",
"JOIN",
"faculty",
"AS",
"T2",
"ON",
"T1.id",
"=",
"t2.campus",
"JOIN",
"degrees",
"AS",
"T3",
"ON",
"T1.id",
"=",
"t3.campus",
"AND",
"t2.year",
"=",
"t3.year",
"WHERE",
"t2.year",
"=",
"2002",
"ORDE... | [
"select",
"t2",
".",
"faculty",
"from",
"campuses",
"as",
"t1",
"join",
"faculty",
"as",
"t2",
"on",
"t1",
".",
"id",
"=",
"t2",
".",
"campus",
"join",
"degrees",
"as",
"t3",
"on",
"t1",
".",
"id",
"=",
"t3",
".",
"campus",
"and",
"t2",
".",
"yea... | [
"How",
"many",
"faculty",
"lines",
"are",
"there",
"in",
"the",
"university",
"that",
"conferred",
"the",
"most",
"number",
"of",
"degrees",
"in",
"year",
"2002",
"?"
] | [
"How",
"many",
"<mask>",
"lines",
"are",
"there",
"in",
"the",
"university",
"that",
"conferred",
"the",
"most",
"number",
"of",
"degrees",
"in",
"<mask>",
"<unk>",
"?"
] | [
"select",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mas... |
csu_1 | SELECT T2.faculty FROM campuses AS T1 JOIN faculty AS T2 ON T1.id = t2.campus JOIN degrees AS T3 ON T1.id = t3.campus AND t2.year = t3.year WHERE t2.year = 2002 ORDER BY t3.degrees DESC LIMIT 1 | How many faculty members did the university that conferred the most degrees in 2002 have? | [
"SELECT",
"T2.faculty",
"FROM",
"campuses",
"AS",
"T1",
"JOIN",
"faculty",
"AS",
"T2",
"ON",
"T1.id",
"=",
"t2.campus",
"JOIN",
"degrees",
"AS",
"T3",
"ON",
"T1.id",
"=",
"t3.campus",
"AND",
"t2.year",
"=",
"t3.year",
"WHERE",
"t2.year",
"=",
"2002",
"ORDE... | [
"select",
"t2",
".",
"faculty",
"from",
"campuses",
"as",
"t1",
"join",
"faculty",
"as",
"t2",
"on",
"t1",
".",
"id",
"=",
"t2",
".",
"campus",
"join",
"degrees",
"as",
"t3",
"on",
"t1",
".",
"id",
"=",
"t3",
".",
"campus",
"and",
"t2",
".",
"yea... | [
"How",
"many",
"faculty",
"members",
"did",
"the",
"university",
"that",
"conferred",
"the",
"most",
"degrees",
"in",
"2002",
"have",
"?"
] | [
"How",
"many",
"<mask>",
"members",
"did",
"the",
"university",
"that",
"conferred",
"the",
"most",
"degrees",
"in",
"<unk>",
"have",
"?"
] | [
"select",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mas... |
csu_1 | SELECT T2.faculty FROM campuses AS T1 JOIN faculty AS T2 ON T1.id = t2.campus JOIN degrees AS T3 ON T1.id = t3.campus AND t2.year = t3.year WHERE t2.year = 2001 ORDER BY t3.degrees LIMIT 1 | How many faculty lines are there in the university that conferred the least number of degrees in year 2001? | [
"SELECT",
"T2.faculty",
"FROM",
"campuses",
"AS",
"T1",
"JOIN",
"faculty",
"AS",
"T2",
"ON",
"T1.id",
"=",
"t2.campus",
"JOIN",
"degrees",
"AS",
"T3",
"ON",
"T1.id",
"=",
"t3.campus",
"AND",
"t2.year",
"=",
"t3.year",
"WHERE",
"t2.year",
"=",
"2001",
"ORDE... | [
"select",
"t2",
".",
"faculty",
"from",
"campuses",
"as",
"t1",
"join",
"faculty",
"as",
"t2",
"on",
"t1",
".",
"id",
"=",
"t2",
".",
"campus",
"join",
"degrees",
"as",
"t3",
"on",
"t1",
".",
"id",
"=",
"t3",
".",
"campus",
"and",
"t2",
".",
"yea... | [
"How",
"many",
"faculty",
"lines",
"are",
"there",
"in",
"the",
"university",
"that",
"conferred",
"the",
"least",
"number",
"of",
"degrees",
"in",
"year",
"2001",
"?"
] | [
"How",
"many",
"<mask>",
"lines",
"are",
"there",
"in",
"the",
"university",
"that",
"conferred",
"the",
"least",
"number",
"of",
"degrees",
"in",
"<mask>",
"<unk>",
"?"
] | [
"select",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mas... |
csu_1 | SELECT T2.faculty FROM campuses AS T1 JOIN faculty AS T2 ON T1.id = t2.campus JOIN degrees AS T3 ON T1.id = t3.campus AND t2.year = t3.year WHERE t2.year = 2001 ORDER BY t3.degrees LIMIT 1 | How many faculty members are at the university that gave the least number of degrees in 2001? | [
"SELECT",
"T2.faculty",
"FROM",
"campuses",
"AS",
"T1",
"JOIN",
"faculty",
"AS",
"T2",
"ON",
"T1.id",
"=",
"t2.campus",
"JOIN",
"degrees",
"AS",
"T3",
"ON",
"T1.id",
"=",
"t3.campus",
"AND",
"t2.year",
"=",
"t3.year",
"WHERE",
"t2.year",
"=",
"2001",
"ORDE... | [
"select",
"t2",
".",
"faculty",
"from",
"campuses",
"as",
"t1",
"join",
"faculty",
"as",
"t2",
"on",
"t1",
".",
"id",
"=",
"t2",
".",
"campus",
"join",
"degrees",
"as",
"t3",
"on",
"t1",
".",
"id",
"=",
"t3",
".",
"campus",
"and",
"t2",
".",
"yea... | [
"How",
"many",
"faculty",
"members",
"are",
"at",
"the",
"university",
"that",
"gave",
"the",
"least",
"number",
"of",
"degrees",
"in",
"2001",
"?"
] | [
"How",
"many",
"<mask>",
"members",
"are",
"at",
"the",
"university",
"that",
"gave",
"the",
"least",
"number",
"of",
"degrees",
"in",
"<unk>",
"?"
] | [
"select",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mas... |
csu_1 | SELECT sum(t1.undergraduate) FROM discipline_enrollments AS t1 JOIN campuses AS t2 ON t1.campus = t2.id WHERE t1.year = 2004 AND t2.campus = "San Jose State University" | How many undergraduates are there in "San Jose State University" in year 2004? | [
"SELECT",
"sum",
"(",
"t1.undergraduate",
")",
"FROM",
"discipline_enrollments",
"AS",
"t1",
"JOIN",
"campuses",
"AS",
"t2",
"ON",
"t1.campus",
"=",
"t2.id",
"WHERE",
"t1.year",
"=",
"2004",
"AND",
"t2.campus",
"=",
"``",
"San",
"Jose",
"State",
"University",
... | [
"select",
"sum",
"(",
"t1",
".",
"undergraduate",
")",
"from",
"discipline_enrollments",
"as",
"t1",
"join",
"campuses",
"as",
"t2",
"on",
"t1",
".",
"campus",
"=",
"t2",
".",
"id",
"where",
"t1",
".",
"year",
"=",
"value",
"and",
"t2",
".",
"campus",
... | [
"How",
"many",
"undergraduates",
"are",
"there",
"in",
"``",
"San",
"Jose",
"State",
"University",
"''",
"in",
"year",
"2004",
"?"
] | [
"How",
"many",
"<mask>",
"are",
"there",
"in",
"``",
"San",
"Jose",
"State",
"University",
"''",
"in",
"<mask>",
"<unk>",
"?"
] | [
"select",
"sum",
"(",
"<mask>",
".",
"<mask>",
")",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
"=",
"<unk>",
"and",
"<mask>",
".",
"... |
csu_1 | SELECT sum(t1.undergraduate) FROM discipline_enrollments AS t1 JOIN campuses AS t2 ON t1.campus = t2.id WHERE t1.year = 2004 AND t2.campus = "San Jose State University" | How many undergraduates are there at San Jose State | [
"SELECT",
"sum",
"(",
"t1.undergraduate",
")",
"FROM",
"discipline_enrollments",
"AS",
"t1",
"JOIN",
"campuses",
"AS",
"t2",
"ON",
"t1.campus",
"=",
"t2.id",
"WHERE",
"t1.year",
"=",
"2004",
"AND",
"t2.campus",
"=",
"``",
"San",
"Jose",
"State",
"University",
... | [
"select",
"sum",
"(",
"t1",
".",
"undergraduate",
")",
"from",
"discipline_enrollments",
"as",
"t1",
"join",
"campuses",
"as",
"t2",
"on",
"t1",
".",
"campus",
"=",
"t2",
".",
"id",
"where",
"t1",
".",
"year",
"=",
"value",
"and",
"t2",
".",
"campus",
... | [
"How",
"many",
"undergraduates",
"are",
"there",
"at",
"San",
"Jose",
"State"
] | [
"How",
"many",
"<mask>",
"are",
"there",
"at",
"San",
"Jose",
"State"
] | [
"select",
"sum",
"(",
"<mask>",
".",
"<mask>",
")",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
"=",
"<unk>",
"and",
"<mask>",
".",
"... |
csu_1 | SELECT sum(t1.graduate) FROM discipline_enrollments AS t1 JOIN campuses AS t2 ON t1.campus = t2.id WHERE t1.year = 2004 AND t2.campus = "San Francisco State University" | What is the number of graduates in "San Francisco State University" in year 2004? | [
"SELECT",
"sum",
"(",
"t1.graduate",
")",
"FROM",
"discipline_enrollments",
"AS",
"t1",
"JOIN",
"campuses",
"AS",
"t2",
"ON",
"t1.campus",
"=",
"t2.id",
"WHERE",
"t1.year",
"=",
"2004",
"AND",
"t2.campus",
"=",
"``",
"San",
"Francisco",
"State",
"University",
... | [
"select",
"sum",
"(",
"t1",
".",
"graduate",
")",
"from",
"discipline_enrollments",
"as",
"t1",
"join",
"campuses",
"as",
"t2",
"on",
"t1",
".",
"campus",
"=",
"t2",
".",
"id",
"where",
"t1",
".",
"year",
"=",
"value",
"and",
"t2",
".",
"campus",
"="... | [
"What",
"is",
"the",
"number",
"of",
"graduates",
"in",
"``",
"San",
"Francisco",
"State",
"University",
"''",
"in",
"year",
"2004",
"?"
] | [
"What",
"is",
"the",
"number",
"of",
"<mask>",
"in",
"``",
"San",
"Francisco",
"State",
"University",
"''",
"in",
"<mask>",
"<unk>",
"?"
] | [
"select",
"sum",
"(",
"<mask>",
".",
"<mask>",
")",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
"=",
"<unk>",
"and",
"<mask>",
".",
"... |
csu_1 | SELECT sum(t1.graduate) FROM discipline_enrollments AS t1 JOIN campuses AS t2 ON t1.campus = t2.id WHERE t1.year = 2004 AND t2.campus = "San Francisco State University" | How many people graduated from San Francisco State University in 2004? | [
"SELECT",
"sum",
"(",
"t1.graduate",
")",
"FROM",
"discipline_enrollments",
"AS",
"t1",
"JOIN",
"campuses",
"AS",
"t2",
"ON",
"t1.campus",
"=",
"t2.id",
"WHERE",
"t1.year",
"=",
"2004",
"AND",
"t2.campus",
"=",
"``",
"San",
"Francisco",
"State",
"University",
... | [
"select",
"sum",
"(",
"t1",
".",
"graduate",
")",
"from",
"discipline_enrollments",
"as",
"t1",
"join",
"campuses",
"as",
"t2",
"on",
"t1",
".",
"campus",
"=",
"t2",
".",
"id",
"where",
"t1",
".",
"year",
"=",
"value",
"and",
"t2",
".",
"campus",
"="... | [
"How",
"many",
"people",
"graduated",
"from",
"San",
"Francisco",
"State",
"University",
"in",
"2004",
"?"
] | [
"How",
"many",
"people",
"<mask>",
"from",
"San",
"Francisco",
"State",
"University",
"in",
"<unk>",
"?"
] | [
"select",
"sum",
"(",
"<mask>",
".",
"<mask>",
")",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
"=",
"<unk>",
"and",
"<mask>",
".",
"... |
csu_1 | SELECT t1.campusfee FROM csu_fees AS t1 JOIN campuses AS t2 ON t1.campus = t2.id WHERE t2.campus = "San Francisco State University" AND t1.year = 2000 | What is the campus fee of "San Francisco State University" in year 2000? | [
"SELECT",
"t1.campusfee",
"FROM",
"csu_fees",
"AS",
"t1",
"JOIN",
"campuses",
"AS",
"t2",
"ON",
"t1.campus",
"=",
"t2.id",
"WHERE",
"t2.campus",
"=",
"``",
"San",
"Francisco",
"State",
"University",
"''",
"AND",
"t1.year",
"=",
"2000"
] | [
"select",
"t1",
".",
"campusfee",
"from",
"csu_fees",
"as",
"t1",
"join",
"campuses",
"as",
"t2",
"on",
"t1",
".",
"campus",
"=",
"t2",
".",
"id",
"where",
"t2",
".",
"campus",
"=",
"value",
"and",
"t1",
".",
"year",
"=",
"value"
] | [
"What",
"is",
"the",
"campus",
"fee",
"of",
"``",
"San",
"Francisco",
"State",
"University",
"''",
"in",
"year",
"2000",
"?"
] | [
"What",
"is",
"the",
"<mask>",
"<mask>",
"of",
"``",
"San",
"Francisco",
"State",
"University",
"''",
"in",
"<mask>",
"<unk>",
"?"
] | [
"select",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
"=",
"<unk>",
"and",
"<mask>",
".",
"<mask>",
"=",
"<unk... |
csu_1 | SELECT t1.campusfee FROM csu_fees AS t1 JOIN campuses AS t2 ON t1.campus = t2.id WHERE t2.campus = "San Francisco State University" AND t1.year = 2000 | In the year 2000, what is the campus fee for San Francisco State University? | [
"SELECT",
"t1.campusfee",
"FROM",
"csu_fees",
"AS",
"t1",
"JOIN",
"campuses",
"AS",
"t2",
"ON",
"t1.campus",
"=",
"t2.id",
"WHERE",
"t2.campus",
"=",
"``",
"San",
"Francisco",
"State",
"University",
"''",
"AND",
"t1.year",
"=",
"2000"
] | [
"select",
"t1",
".",
"campusfee",
"from",
"csu_fees",
"as",
"t1",
"join",
"campuses",
"as",
"t2",
"on",
"t1",
".",
"campus",
"=",
"t2",
".",
"id",
"where",
"t2",
".",
"campus",
"=",
"value",
"and",
"t1",
".",
"year",
"=",
"value"
] | [
"In",
"the",
"year",
"2000",
",",
"what",
"is",
"the",
"campus",
"fee",
"for",
"San",
"Francisco",
"State",
"University",
"?"
] | [
"In",
"the",
"<mask>",
"<unk>",
",",
"what",
"is",
"the",
"<mask>",
"<mask>",
"for",
"San",
"Francisco",
"State",
"University",
"?"
] | [
"select",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
"=",
"<unk>",
"and",
"<mask>",
".",
"<mask>",
"=",
"<unk... |
csu_1 | SELECT t1.campusfee FROM csu_fees AS t1 JOIN campuses AS t2 ON t1.campus = t2.id WHERE t2.campus = "San Jose State University" AND t1.year = 2000 | Find the campus fee of "San Jose State University" in year 2000. | [
"SELECT",
"t1.campusfee",
"FROM",
"csu_fees",
"AS",
"t1",
"JOIN",
"campuses",
"AS",
"t2",
"ON",
"t1.campus",
"=",
"t2.id",
"WHERE",
"t2.campus",
"=",
"``",
"San",
"Jose",
"State",
"University",
"''",
"AND",
"t1.year",
"=",
"2000"
] | [
"select",
"t1",
".",
"campusfee",
"from",
"csu_fees",
"as",
"t1",
"join",
"campuses",
"as",
"t2",
"on",
"t1",
".",
"campus",
"=",
"t2",
".",
"id",
"where",
"t2",
".",
"campus",
"=",
"value",
"and",
"t1",
".",
"year",
"=",
"value"
] | [
"Find",
"the",
"campus",
"fee",
"of",
"``",
"San",
"Jose",
"State",
"University",
"''",
"in",
"year",
"2000",
"."
] | [
"Find",
"the",
"<mask>",
"<mask>",
"of",
"``",
"San",
"Jose",
"State",
"University",
"''",
"in",
"<mask>",
"<unk>",
"."
] | [
"select",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
"=",
"<unk>",
"and",
"<mask>",
".",
"<mask>",
"=",
"<unk... |
csu_1 | SELECT t1.campusfee FROM csu_fees AS t1 JOIN campuses AS t2 ON t1.campus = t2.id WHERE t2.campus = "San Jose State University" AND t1.year = 2000 | What is the campus fee in the year 2000 for San Jose State University? | [
"SELECT",
"t1.campusfee",
"FROM",
"csu_fees",
"AS",
"t1",
"JOIN",
"campuses",
"AS",
"t2",
"ON",
"t1.campus",
"=",
"t2.id",
"WHERE",
"t2.campus",
"=",
"``",
"San",
"Jose",
"State",
"University",
"''",
"AND",
"t1.year",
"=",
"2000"
] | [
"select",
"t1",
".",
"campusfee",
"from",
"csu_fees",
"as",
"t1",
"join",
"campuses",
"as",
"t2",
"on",
"t1",
".",
"campus",
"=",
"t2",
".",
"id",
"where",
"t2",
".",
"campus",
"=",
"value",
"and",
"t1",
".",
"year",
"=",
"value"
] | [
"What",
"is",
"the",
"campus",
"fee",
"in",
"the",
"year",
"2000",
"for",
"San",
"Jose",
"State",
"University",
"?"
] | [
"What",
"is",
"the",
"<mask>",
"<mask>",
"in",
"the",
"<mask>",
"<unk>",
"for",
"San",
"Jose",
"State",
"University",
"?"
] | [
"select",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
"=",
"<unk>",
"and",
"<mask>",
".",
"<mask>",
"=",
"<unk... |
csu_1 | SELECT count(*) FROM campuses | How many CSU campuses are there? | [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"campuses"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"campuses"
] | [
"How",
"many",
"CSU",
"campuses",
"are",
"there",
"?"
] | [
"How",
"many",
"CSU",
"<mask>",
"are",
"there",
"?"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"<mask>"
] |
csu_1 | SELECT count(*) FROM campuses | What is the total number of campuses? | [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"campuses"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"campuses"
] | [
"What",
"is",
"the",
"total",
"number",
"of",
"campuses",
"?"
] | [
"What",
"is",
"the",
"total",
"number",
"of",
"<mask>",
"?"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"<mask>"
] |
candidate_poll | SELECT count(*) FROM candidate | How many candidates are there? | [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"candidate"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"candidate"
] | [
"How",
"many",
"candidates",
"are",
"there",
"?"
] | [
"How",
"many",
"<mask>",
"are",
"there",
"?"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"<mask>"
] |
candidate_poll | SELECT count(*) FROM candidate | Count the number of candidates. | [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"candidate"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"candidate"
] | [
"Count",
"the",
"number",
"of",
"candidates",
"."
] | [
"Count",
"the",
"number",
"of",
"<mask>",
"."
] | [
"select",
"count",
"(",
"*",
")",
"from",
"<mask>"
] |
candidate_poll | SELECT poll_source FROM candidate GROUP BY poll_source ORDER BY count(*) DESC LIMIT 1 | Which poll resource provided the most number of candidate information? | [
"SELECT",
"poll_source",
"FROM",
"candidate",
"GROUP",
"BY",
"poll_source",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"DESC",
"LIMIT",
"1"
] | [
"select",
"poll_source",
"from",
"candidate",
"group",
"by",
"poll_source",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"value"
] | [
"Which",
"poll",
"resource",
"provided",
"the",
"most",
"number",
"of",
"candidate",
"information",
"?"
] | [
"Which",
"<mask>",
"resource",
"provided",
"the",
"most",
"number",
"of",
"<mask>",
"information",
"?"
] | [
"select",
"<mask>",
"from",
"<mask>",
"group",
"by",
"<mask>",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"<unk>"
] |
candidate_poll | SELECT poll_source FROM candidate GROUP BY poll_source ORDER BY count(*) DESC LIMIT 1 | Return the poll resource associated with the most candidates. | [
"SELECT",
"poll_source",
"FROM",
"candidate",
"GROUP",
"BY",
"poll_source",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"DESC",
"LIMIT",
"1"
] | [
"select",
"poll_source",
"from",
"candidate",
"group",
"by",
"poll_source",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"value"
] | [
"Return",
"the",
"poll",
"resource",
"associated",
"with",
"the",
"most",
"candidates",
"."
] | [
"Return",
"the",
"<mask>",
"resource",
"associated",
"with",
"the",
"most",
"<mask>",
"."
] | [
"select",
"<mask>",
"from",
"<mask>",
"group",
"by",
"<mask>",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"<unk>"
] |
candidate_poll | SELECT support_rate FROM candidate ORDER BY support_rate DESC LIMIT 3 | what are the top 3 highest support rates? | [
"SELECT",
"support_rate",
"FROM",
"candidate",
"ORDER",
"BY",
"support_rate",
"DESC",
"LIMIT",
"3"
] | [
"select",
"support_rate",
"from",
"candidate",
"order",
"by",
"support_rate",
"desc",
"limit",
"value"
] | [
"what",
"are",
"the",
"top",
"3",
"highest",
"support",
"rates",
"?"
] | [
"what",
"are",
"the",
"top",
"<unk>",
"highest",
"<mask>",
"<mask>",
"?"
] | [
"select",
"<mask>",
"from",
"<mask>",
"order",
"by",
"<mask>",
"desc",
"limit",
"<unk>"
] |
candidate_poll | SELECT support_rate FROM candidate ORDER BY support_rate DESC LIMIT 3 | Return the top 3 greatest support rates. | [
"SELECT",
"support_rate",
"FROM",
"candidate",
"ORDER",
"BY",
"support_rate",
"DESC",
"LIMIT",
"3"
] | [
"select",
"support_rate",
"from",
"candidate",
"order",
"by",
"support_rate",
"desc",
"limit",
"value"
] | [
"Return",
"the",
"top",
"3",
"greatest",
"support",
"rates",
"."
] | [
"Return",
"the",
"top",
"<unk>",
"greatest",
"<mask>",
"<mask>",
"."
] | [
"select",
"<mask>",
"from",
"<mask>",
"order",
"by",
"<mask>",
"desc",
"limit",
"<unk>"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.