db_id stringclasses 140
values | query stringlengths 18 577 | question stringlengths 16 224 | query_toks listlengths 4 90 | query_toks_no_value listlengths 4 125 | question_toks listlengths 4 44 | question_toks_masked listlengths 4 44 | query_toks_masked listlengths 4 125 |
|---|---|---|---|---|---|---|---|
cre_Doc_Tracking_DB | SELECT employee_ID FROM Employees WHERE employee_name = "Ebba" | What is the id for the employee called Ebba? | [
"SELECT",
"employee_ID",
"FROM",
"Employees",
"WHERE",
"employee_name",
"=",
"``",
"Ebba",
"''"
] | [
"select",
"employee_id",
"from",
"employees",
"where",
"employee_name",
"=",
"value"
] | [
"What",
"is",
"the",
"id",
"for",
"the",
"employee",
"called",
"Ebba",
"?"
] | [
"What",
"is",
"the",
"id",
"for",
"the",
"<mask>",
"called",
"Ebba",
"?"
] | [
"select",
"<mask>",
"from",
"<mask>",
"where",
"<mask>",
"=",
"<unk>"
] |
cre_Doc_Tracking_DB | SELECT employee_ID FROM Employees WHERE employee_name = "Ebba" | Show the id of the employee named Ebba. | [
"SELECT",
"employee_ID",
"FROM",
"Employees",
"WHERE",
"employee_name",
"=",
"``",
"Ebba",
"''"
] | [
"select",
"employee_id",
"from",
"employees",
"where",
"employee_name",
"=",
"value"
] | [
"Show",
"the",
"id",
"of",
"the",
"employee",
"named",
"Ebba",
"."
] | [
"Show",
"the",
"id",
"of",
"the",
"<mask>",
"<mask>",
"Ebba",
"."
] | [
"select",
"<mask>",
"from",
"<mask>",
"where",
"<mask>",
"=",
"<unk>"
] |
cre_Doc_Tracking_DB | SELECT employee_name FROM Employees WHERE role_code = "HR" | Show the names of all the employees with role "HR". | [
"SELECT",
"employee_name",
"FROM",
"Employees",
"WHERE",
"role_code",
"=",
"``",
"HR",
"''"
] | [
"select",
"employee_name",
"from",
"employees",
"where",
"role_code",
"=",
"value"
] | [
"Show",
"the",
"names",
"of",
"all",
"the",
"employees",
"with",
"role",
"``",
"HR",
"''",
"."
] | [
"Show",
"the",
"<mask>",
"of",
"<mask>",
"the",
"<mask>",
"with",
"<mask>",
"``",
"HR",
"''",
"."
] | [
"select",
"<mask>",
"from",
"<mask>",
"where",
"<mask>",
"=",
"<unk>"
] |
cre_Doc_Tracking_DB | SELECT employee_name FROM Employees WHERE role_code = "HR" | Which employees have the role with code "HR"? Find their names. | [
"SELECT",
"employee_name",
"FROM",
"Employees",
"WHERE",
"role_code",
"=",
"``",
"HR",
"''"
] | [
"select",
"employee_name",
"from",
"employees",
"where",
"role_code",
"=",
"value"
] | [
"Which",
"employees",
"have",
"the",
"role",
"with",
"code",
"``",
"HR",
"''",
"?",
"Find",
"their",
"names",
"."
] | [
"Which",
"<mask>",
"have",
"the",
"<mask>",
"with",
"<mask>",
"``",
"HR",
"''",
"?",
"Find",
"their",
"<mask>",
"."
] | [
"select",
"<mask>",
"from",
"<mask>",
"where",
"<mask>",
"=",
"<unk>"
] |
cre_Doc_Tracking_DB | SELECT role_code , count(*) FROM Employees GROUP BY role_code | Show all role codes and the number of employees in each role. | [
"SELECT",
"role_code",
",",
"count",
"(",
"*",
")",
"FROM",
"Employees",
"GROUP",
"BY",
"role_code"
] | [
"select",
"role_code",
",",
"count",
"(",
"*",
")",
"from",
"employees",
"group",
"by",
"role_code"
] | [
"Show",
"all",
"role",
"codes",
"and",
"the",
"number",
"of",
"employees",
"in",
"each",
"role",
"."
] | [
"Show",
"<mask>",
"<mask>",
"<mask>",
"and",
"the",
"<mask>",
"of",
"<mask>",
"in",
"each",
"<mask>",
"."
] | [
"select",
"<mask>",
",",
"count",
"(",
"*",
")",
"from",
"<mask>",
"group",
"by",
"<mask>"
] |
cre_Doc_Tracking_DB | SELECT role_code , count(*) FROM Employees GROUP BY role_code | What is the code of each role and the number of employees in each role? | [
"SELECT",
"role_code",
",",
"count",
"(",
"*",
")",
"FROM",
"Employees",
"GROUP",
"BY",
"role_code"
] | [
"select",
"role_code",
",",
"count",
"(",
"*",
")",
"from",
"employees",
"group",
"by",
"role_code"
] | [
"What",
"is",
"the",
"code",
"of",
"each",
"role",
"and",
"the",
"number",
"of",
"employees",
"in",
"each",
"role",
"?"
] | [
"What",
"is",
"the",
"<mask>",
"of",
"each",
"<mask>",
"and",
"the",
"<mask>",
"of",
"<mask>",
"in",
"each",
"<mask>",
"?"
] | [
"select",
"<mask>",
",",
"count",
"(",
"*",
")",
"from",
"<mask>",
"group",
"by",
"<mask>"
] |
cre_Doc_Tracking_DB | SELECT role_code FROM Employees GROUP BY role_code ORDER BY count(*) DESC LIMIT 1 | What is the role code with the largest number of employees? | [
"SELECT",
"role_code",
"FROM",
"Employees",
"GROUP",
"BY",
"role_code",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"DESC",
"LIMIT",
"1"
] | [
"select",
"role_code",
"from",
"employees",
"group",
"by",
"role_code",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"value"
] | [
"What",
"is",
"the",
"role",
"code",
"with",
"the",
"largest",
"number",
"of",
"employees",
"?"
] | [
"What",
"is",
"the",
"<mask>",
"<mask>",
"with",
"the",
"largest",
"<mask>",
"of",
"<mask>",
"?"
] | [
"select",
"<mask>",
"from",
"<mask>",
"group",
"by",
"<mask>",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"<unk>"
] |
cre_Doc_Tracking_DB | SELECT role_code FROM Employees GROUP BY role_code ORDER BY count(*) DESC LIMIT 1 | Find the code of the role that have the most employees. | [
"SELECT",
"role_code",
"FROM",
"Employees",
"GROUP",
"BY",
"role_code",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"DESC",
"LIMIT",
"1"
] | [
"select",
"role_code",
"from",
"employees",
"group",
"by",
"role_code",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"value"
] | [
"Find",
"the",
"code",
"of",
"the",
"role",
"that",
"have",
"the",
"most",
"employees",
"."
] | [
"Find",
"the",
"<mask>",
"of",
"the",
"<mask>",
"that",
"have",
"the",
"most",
"<mask>",
"."
] | [
"select",
"<mask>",
"from",
"<mask>",
"group",
"by",
"<mask>",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"<unk>"
] |
cre_Doc_Tracking_DB | SELECT role_code FROM Employees GROUP BY role_code HAVING count(*) >= 3 | Show all role codes with at least 3 employees. | [
"SELECT",
"role_code",
"FROM",
"Employees",
"GROUP",
"BY",
"role_code",
"HAVING",
"count",
"(",
"*",
")",
">",
"=",
"3"
] | [
"select",
"role_code",
"from",
"employees",
"group",
"by",
"role_code",
"having",
"count",
"(",
"*",
")",
">",
"=",
"value"
] | [
"Show",
"all",
"role",
"codes",
"with",
"at",
"least",
"3",
"employees",
"."
] | [
"Show",
"<mask>",
"<mask>",
"<mask>",
"with",
"at",
"least",
"<unk>",
"<mask>",
"."
] | [
"select",
"<mask>",
"from",
"<mask>",
"group",
"by",
"<mask>",
"<mask>",
"count",
"(",
"*",
")",
">",
"=",
"<unk>"
] |
cre_Doc_Tracking_DB | SELECT role_code FROM Employees GROUP BY role_code HAVING count(*) >= 3 | What are the roles with three or more employees? Give me the role codes. | [
"SELECT",
"role_code",
"FROM",
"Employees",
"GROUP",
"BY",
"role_code",
"HAVING",
"count",
"(",
"*",
")",
">",
"=",
"3"
] | [
"select",
"role_code",
"from",
"employees",
"group",
"by",
"role_code",
"having",
"count",
"(",
"*",
")",
">",
"=",
"value"
] | [
"What",
"are",
"the",
"roles",
"with",
"three",
"or",
"more",
"employees",
"?",
"Give",
"me",
"the",
"role",
"codes",
"."
] | [
"What",
"are",
"the",
"<mask>",
"with",
"three",
"or",
"more",
"<mask>",
"?",
"Give",
"me",
"the",
"<mask>",
"<mask>",
"."
] | [
"select",
"<mask>",
"from",
"<mask>",
"group",
"by",
"<mask>",
"<mask>",
"count",
"(",
"*",
")",
">",
"=",
"<unk>"
] |
cre_Doc_Tracking_DB | SELECT role_code FROM Employees GROUP BY role_code ORDER BY count(*) ASC LIMIT 1 | Show the role code with the least employees. | [
"SELECT",
"role_code",
"FROM",
"Employees",
"GROUP",
"BY",
"role_code",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"ASC",
"LIMIT",
"1"
] | [
"select",
"role_code",
"from",
"employees",
"group",
"by",
"role_code",
"order",
"by",
"count",
"(",
"*",
")",
"asc",
"limit",
"value"
] | [
"Show",
"the",
"role",
"code",
"with",
"the",
"least",
"employees",
"."
] | [
"Show",
"the",
"<mask>",
"<mask>",
"with",
"the",
"least",
"<mask>",
"."
] | [
"select",
"<mask>",
"from",
"<mask>",
"group",
"by",
"<mask>",
"order",
"by",
"count",
"(",
"*",
")",
"asc",
"limit",
"<unk>"
] |
cre_Doc_Tracking_DB | SELECT role_code FROM Employees GROUP BY role_code ORDER BY count(*) ASC LIMIT 1 | What is the role with the smallest number of employees? Find the role codes. | [
"SELECT",
"role_code",
"FROM",
"Employees",
"GROUP",
"BY",
"role_code",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"ASC",
"LIMIT",
"1"
] | [
"select",
"role_code",
"from",
"employees",
"group",
"by",
"role_code",
"order",
"by",
"count",
"(",
"*",
")",
"asc",
"limit",
"value"
] | [
"What",
"is",
"the",
"role",
"with",
"the",
"smallest",
"number",
"of",
"employees",
"?",
"Find",
"the",
"role",
"codes",
"."
] | [
"What",
"is",
"the",
"<mask>",
"with",
"the",
"smallest",
"<mask>",
"of",
"<mask>",
"?",
"Find",
"the",
"<mask>",
"<mask>",
"."
] | [
"select",
"<mask>",
"from",
"<mask>",
"group",
"by",
"<mask>",
"order",
"by",
"count",
"(",
"*",
")",
"asc",
"limit",
"<unk>"
] |
cre_Doc_Tracking_DB | SELECT T2.role_name , T2.role_description FROM Employees AS T1 JOIN ROLES AS T2 ON T1.role_code = T2.role_code WHERE T1.employee_name = "Ebba" | What is the role name and role description for employee called Ebba? | [
"SELECT",
"T2.role_name",
",",
"T2.role_description",
"FROM",
"Employees",
"AS",
"T1",
"JOIN",
"ROLES",
"AS",
"T2",
"ON",
"T1.role_code",
"=",
"T2.role_code",
"WHERE",
"T1.employee_name",
"=",
"``",
"Ebba",
"''"
] | [
"select",
"t2",
".",
"role_name",
",",
"t2",
".",
"role_description",
"from",
"employees",
"as",
"t1",
"join",
"roles",
"as",
"t2",
"on",
"t1",
".",
"role_code",
"=",
"t2",
".",
"role_code",
"where",
"t1",
".",
"employee_name",
"=",
"value"
] | [
"What",
"is",
"the",
"role",
"name",
"and",
"role",
"description",
"for",
"employee",
"called",
"Ebba",
"?"
] | [
"What",
"is",
"the",
"<mask>",
"<mask>",
"and",
"<mask>",
"<mask>",
"for",
"<mask>",
"called",
"Ebba",
"?"
] | [
"select",
"<mask>",
".",
"<mask>",
",",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
"=",
"<unk>"
] |
cre_Doc_Tracking_DB | SELECT T2.role_name , T2.role_description FROM Employees AS T1 JOIN ROLES AS T2 ON T1.role_code = T2.role_code WHERE T1.employee_name = "Ebba" | Show the name and description of the role played by the employee named Ebba. | [
"SELECT",
"T2.role_name",
",",
"T2.role_description",
"FROM",
"Employees",
"AS",
"T1",
"JOIN",
"ROLES",
"AS",
"T2",
"ON",
"T1.role_code",
"=",
"T2.role_code",
"WHERE",
"T1.employee_name",
"=",
"``",
"Ebba",
"''"
] | [
"select",
"t2",
".",
"role_name",
",",
"t2",
".",
"role_description",
"from",
"employees",
"as",
"t1",
"join",
"roles",
"as",
"t2",
"on",
"t1",
".",
"role_code",
"=",
"t2",
".",
"role_code",
"where",
"t1",
".",
"employee_name",
"=",
"value"
] | [
"Show",
"the",
"name",
"and",
"description",
"of",
"the",
"role",
"played",
"by",
"the",
"employee",
"named",
"Ebba",
"."
] | [
"Show",
"the",
"<mask>",
"and",
"<mask>",
"of",
"the",
"<mask>",
"played",
"by",
"the",
"<mask>",
"<mask>",
"Ebba",
"."
] | [
"select",
"<mask>",
".",
"<mask>",
",",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
"=",
"<unk>"
] |
cre_Doc_Tracking_DB | SELECT T1.employee_name FROM Employees AS T1 JOIN ROLES AS T2 ON T1.role_code = T2.role_code WHERE T2.role_name = "Editor" | Show the names of employees with role name Editor. | [
"SELECT",
"T1.employee_name",
"FROM",
"Employees",
"AS",
"T1",
"JOIN",
"ROLES",
"AS",
"T2",
"ON",
"T1.role_code",
"=",
"T2.role_code",
"WHERE",
"T2.role_name",
"=",
"``",
"Editor",
"''"
] | [
"select",
"t1",
".",
"employee_name",
"from",
"employees",
"as",
"t1",
"join",
"roles",
"as",
"t2",
"on",
"t1",
".",
"role_code",
"=",
"t2",
".",
"role_code",
"where",
"t2",
".",
"role_name",
"=",
"value"
] | [
"Show",
"the",
"names",
"of",
"employees",
"with",
"role",
"name",
"Editor",
"."
] | [
"Show",
"the",
"<mask>",
"of",
"<mask>",
"with",
"<mask>",
"<mask>",
"Editor",
"."
] | [
"select",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
"=",
"<unk>"
] |
cre_Doc_Tracking_DB | SELECT T1.employee_name FROM Employees AS T1 JOIN ROLES AS T2 ON T1.role_code = T2.role_code WHERE T2.role_name = "Editor" | Find the names of all the employees whose the role name is "Editor". | [
"SELECT",
"T1.employee_name",
"FROM",
"Employees",
"AS",
"T1",
"JOIN",
"ROLES",
"AS",
"T2",
"ON",
"T1.role_code",
"=",
"T2.role_code",
"WHERE",
"T2.role_name",
"=",
"``",
"Editor",
"''"
] | [
"select",
"t1",
".",
"employee_name",
"from",
"employees",
"as",
"t1",
"join",
"roles",
"as",
"t2",
"on",
"t1",
".",
"role_code",
"=",
"t2",
".",
"role_code",
"where",
"t2",
".",
"role_name",
"=",
"value"
] | [
"Find",
"the",
"names",
"of",
"all",
"the",
"employees",
"whose",
"the",
"role",
"name",
"is",
"``",
"Editor",
"''",
"."
] | [
"Find",
"the",
"<mask>",
"of",
"<mask>",
"the",
"<mask>",
"whose",
"the",
"<mask>",
"<mask>",
"is",
"``",
"Editor",
"''",
"."
] | [
"select",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
"=",
"<unk>"
] |
cre_Doc_Tracking_DB | SELECT T1.employee_id FROM Employees AS T1 JOIN ROLES AS T2 ON T1.role_code = T2.role_code WHERE T2.role_name = "Human Resource" OR T2.role_name = "Manager" | Show the employee ids for all employees with role name "Human Resource" or "Manager". | [
"SELECT",
"T1.employee_id",
"FROM",
"Employees",
"AS",
"T1",
"JOIN",
"ROLES",
"AS",
"T2",
"ON",
"T1.role_code",
"=",
"T2.role_code",
"WHERE",
"T2.role_name",
"=",
"``",
"Human",
"Resource",
"''",
"OR",
"T2.role_name",
"=",
"``",
"Manager",
"''"
] | [
"select",
"t1",
".",
"employee_id",
"from",
"employees",
"as",
"t1",
"join",
"roles",
"as",
"t2",
"on",
"t1",
".",
"role_code",
"=",
"t2",
".",
"role_code",
"where",
"t2",
".",
"role_name",
"=",
"value",
"or",
"t2",
".",
"role_name",
"=",
"value"
] | [
"Show",
"the",
"employee",
"ids",
"for",
"all",
"employees",
"with",
"role",
"name",
"``",
"Human",
"Resource",
"''",
"or",
"``",
"Manager",
"''",
"."
] | [
"Show",
"the",
"<mask>",
"ids",
"for",
"<mask>",
"<mask>",
"with",
"<mask>",
"<mask>",
"``",
"Human",
"Resource",
"''",
"or",
"``",
"Manager",
"''",
"."
] | [
"select",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
"=",
"<unk>",
"or",
"<mask>",
".",
"<mask>",
"=",
"<unk>... |
cre_Doc_Tracking_DB | SELECT T1.employee_id FROM Employees AS T1 JOIN ROLES AS T2 ON T1.role_code = T2.role_code WHERE T2.role_name = "Human Resource" OR T2.role_name = "Manager" | What are the employee ids of the employees whose role name is "Human Resource" or "Manager"? | [
"SELECT",
"T1.employee_id",
"FROM",
"Employees",
"AS",
"T1",
"JOIN",
"ROLES",
"AS",
"T2",
"ON",
"T1.role_code",
"=",
"T2.role_code",
"WHERE",
"T2.role_name",
"=",
"``",
"Human",
"Resource",
"''",
"OR",
"T2.role_name",
"=",
"``",
"Manager",
"''"
] | [
"select",
"t1",
".",
"employee_id",
"from",
"employees",
"as",
"t1",
"join",
"roles",
"as",
"t2",
"on",
"t1",
".",
"role_code",
"=",
"t2",
".",
"role_code",
"where",
"t2",
".",
"role_name",
"=",
"value",
"or",
"t2",
".",
"role_name",
"=",
"value"
] | [
"What",
"are",
"the",
"employee",
"ids",
"of",
"the",
"employees",
"whose",
"role",
"name",
"is",
"``",
"Human",
"Resource",
"''",
"or",
"``",
"Manager",
"''",
"?"
] | [
"What",
"are",
"the",
"<mask>",
"ids",
"of",
"the",
"<mask>",
"whose",
"<mask>",
"<mask>",
"is",
"``",
"Human",
"Resource",
"''",
"or",
"``",
"Manager",
"''",
"?"
] | [
"select",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
"=",
"<unk>",
"or",
"<mask>",
".",
"<mask>",
"=",
"<unk>... |
cre_Doc_Tracking_DB | SELECT DISTINCT location_code FROM Document_locations | What are the different location codes for documents? | [
"SELECT",
"DISTINCT",
"location_code",
"FROM",
"Document_locations"
] | [
"select",
"distinct",
"location_code",
"from",
"document_locations"
] | [
"What",
"are",
"the",
"different",
"location",
"codes",
"for",
"documents",
"?"
] | [
"What",
"are",
"the",
"different",
"<mask>",
"<mask>",
"for",
"<mask>",
"?"
] | [
"select",
"distinct",
"<mask>",
"from",
"<mask>"
] |
cre_Doc_Tracking_DB | SELECT DISTINCT location_code FROM Document_locations | Give me all the distinct location codes for documents. | [
"SELECT",
"DISTINCT",
"location_code",
"FROM",
"Document_locations"
] | [
"select",
"distinct",
"location_code",
"from",
"document_locations"
] | [
"Give",
"me",
"all",
"the",
"distinct",
"location",
"codes",
"for",
"documents",
"."
] | [
"Give",
"me",
"<mask>",
"the",
"distinct",
"<mask>",
"<mask>",
"for",
"<mask>",
"."
] | [
"select",
"distinct",
"<mask>",
"from",
"<mask>"
] |
cre_Doc_Tracking_DB | SELECT T3.location_name FROM All_documents AS T1 JOIN Document_locations AS T2 ON T1.document_id = T2.document_id JOIN Ref_locations AS T3 ON T2.location_code = T3.location_code WHERE T1.document_name = "Robin CV" | Show the location name for document "Robin CV". | [
"SELECT",
"T3.location_name",
"FROM",
"All_documents",
"AS",
"T1",
"JOIN",
"Document_locations",
"AS",
"T2",
"ON",
"T1.document_id",
"=",
"T2.document_id",
"JOIN",
"Ref_locations",
"AS",
"T3",
"ON",
"T2.location_code",
"=",
"T3.location_code",
"WHERE",
"T1.document_name... | [
"select",
"t3",
".",
"location_name",
"from",
"all_documents",
"as",
"t1",
"join",
"document_locations",
"as",
"t2",
"on",
"t1",
".",
"document_id",
"=",
"t2",
".",
"document_id",
"join",
"ref_locations",
"as",
"t3",
"on",
"t2",
".",
"location_code",
"=",
"t... | [
"Show",
"the",
"location",
"name",
"for",
"document",
"``",
"Robin",
"CV",
"''",
"."
] | [
"Show",
"the",
"<mask>",
"<mask>",
"for",
"<mask>",
"``",
"Robin",
"CV",
"''",
"."
] | [
"select",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mas... |
cre_Doc_Tracking_DB | SELECT T3.location_name FROM All_documents AS T1 JOIN Document_locations AS T2 ON T1.document_id = T2.document_id JOIN Ref_locations AS T3 ON T2.location_code = T3.location_code WHERE T1.document_name = "Robin CV" | What is the location name of the document "Robin CV"? | [
"SELECT",
"T3.location_name",
"FROM",
"All_documents",
"AS",
"T1",
"JOIN",
"Document_locations",
"AS",
"T2",
"ON",
"T1.document_id",
"=",
"T2.document_id",
"JOIN",
"Ref_locations",
"AS",
"T3",
"ON",
"T2.location_code",
"=",
"T3.location_code",
"WHERE",
"T1.document_name... | [
"select",
"t3",
".",
"location_name",
"from",
"all_documents",
"as",
"t1",
"join",
"document_locations",
"as",
"t2",
"on",
"t1",
".",
"document_id",
"=",
"t2",
".",
"document_id",
"join",
"ref_locations",
"as",
"t3",
"on",
"t2",
".",
"location_code",
"=",
"t... | [
"What",
"is",
"the",
"location",
"name",
"of",
"the",
"document",
"``",
"Robin",
"CV",
"''",
"?"
] | [
"What",
"is",
"the",
"<mask>",
"<mask>",
"of",
"the",
"<mask>",
"``",
"Robin",
"CV",
"''",
"?"
] | [
"select",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mas... |
cre_Doc_Tracking_DB | SELECT location_code , date_in_location_from , date_in_locaton_to FROM Document_locations | Show the location code, the starting date and ending data in that location for all the documents. | [
"SELECT",
"location_code",
",",
"date_in_location_from",
",",
"date_in_locaton_to",
"FROM",
"Document_locations"
] | [
"select",
"location_code",
",",
"date_in_location_from",
",",
"date_in_locaton_to",
"from",
"document_locations"
] | [
"Show",
"the",
"location",
"code",
",",
"the",
"starting",
"date",
"and",
"ending",
"data",
"in",
"that",
"location",
"for",
"all",
"the",
"documents",
"."
] | [
"Show",
"the",
"<mask>",
"<mask>",
",",
"the",
"starting",
"<mask>",
"and",
"ending",
"data",
"in",
"that",
"<mask>",
"for",
"<mask>",
"the",
"<mask>",
"."
] | [
"select",
"<mask>",
",",
"<mask>",
",",
"<mask>",
"from",
"<mask>"
] |
cre_Doc_Tracking_DB | SELECT location_code , date_in_location_from , date_in_locaton_to FROM Document_locations | What are each document's location code, and starting date and ending data in that location? | [
"SELECT",
"location_code",
",",
"date_in_location_from",
",",
"date_in_locaton_to",
"FROM",
"Document_locations"
] | [
"select",
"location_code",
",",
"date_in_location_from",
",",
"date_in_locaton_to",
"from",
"document_locations"
] | [
"What",
"are",
"each",
"document",
"'s",
"location",
"code",
",",
"and",
"starting",
"date",
"and",
"ending",
"data",
"in",
"that",
"location",
"?"
] | [
"What",
"are",
"each",
"<mask>",
"'s",
"<mask>",
"<mask>",
",",
"and",
"starting",
"<mask>",
"and",
"ending",
"data",
"in",
"that",
"<mask>",
"?"
] | [
"select",
"<mask>",
",",
"<mask>",
",",
"<mask>",
"from",
"<mask>"
] |
cre_Doc_Tracking_DB | SELECT T1.date_in_location_from , T1.date_in_locaton_to FROM Document_locations AS T1 JOIN All_documents AS T2 ON T1.document_id = T2.document_id WHERE T2.document_name = "Robin CV" | What is "the date in location from" and "the date in location to" for the document with name "Robin CV"? | [
"SELECT",
"T1.date_in_location_from",
",",
"T1.date_in_locaton_to",
"FROM",
"Document_locations",
"AS",
"T1",
"JOIN",
"All_documents",
"AS",
"T2",
"ON",
"T1.document_id",
"=",
"T2.document_id",
"WHERE",
"T2.document_name",
"=",
"``",
"Robin",
"CV",
"''"
] | [
"select",
"t1",
".",
"date_in_location_from",
",",
"t1",
".",
"date_in_locaton_to",
"from",
"document_locations",
"as",
"t1",
"join",
"all_documents",
"as",
"t2",
"on",
"t1",
".",
"document_id",
"=",
"t2",
".",
"document_id",
"where",
"t2",
".",
"document_name",... | [
"What",
"is",
"``",
"the",
"date",
"in",
"location",
"from",
"''",
"and",
"``",
"the",
"date",
"in",
"location",
"to",
"''",
"for",
"the",
"document",
"with",
"name",
"``",
"Robin",
"CV",
"''",
"?"
] | [
"What",
"is",
"``",
"the",
"<mask>",
"in",
"<mask>",
"<mask>",
"''",
"and",
"``",
"the",
"<mask>",
"in",
"<mask>",
"to",
"''",
"for",
"the",
"<mask>",
"with",
"<mask>",
"``",
"Robin",
"CV",
"''",
"?"
] | [
"select",
"<mask>",
".",
"<mask>",
",",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
"=",
"<unk>"
] |
cre_Doc_Tracking_DB | SELECT T1.date_in_location_from , T1.date_in_locaton_to FROM Document_locations AS T1 JOIN All_documents AS T2 ON T1.document_id = T2.document_id WHERE T2.document_name = "Robin CV" | Find the starting date and ending data in location for the document named "Robin CV". | [
"SELECT",
"T1.date_in_location_from",
",",
"T1.date_in_locaton_to",
"FROM",
"Document_locations",
"AS",
"T1",
"JOIN",
"All_documents",
"AS",
"T2",
"ON",
"T1.document_id",
"=",
"T2.document_id",
"WHERE",
"T2.document_name",
"=",
"``",
"Robin",
"CV",
"''"
] | [
"select",
"t1",
".",
"date_in_location_from",
",",
"t1",
".",
"date_in_locaton_to",
"from",
"document_locations",
"as",
"t1",
"join",
"all_documents",
"as",
"t2",
"on",
"t1",
".",
"document_id",
"=",
"t2",
".",
"document_id",
"where",
"t2",
".",
"document_name",... | [
"Find",
"the",
"starting",
"date",
"and",
"ending",
"data",
"in",
"location",
"for",
"the",
"document",
"named",
"``",
"Robin",
"CV",
"''",
"."
] | [
"Find",
"the",
"starting",
"<mask>",
"and",
"ending",
"data",
"in",
"<mask>",
"for",
"the",
"<mask>",
"<mask>",
"``",
"Robin",
"CV",
"''",
"."
] | [
"select",
"<mask>",
".",
"<mask>",
",",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
"=",
"<unk>"
] |
cre_Doc_Tracking_DB | SELECT location_code , count(*) FROM Document_locations GROUP BY location_code | Show the location codes and the number of documents in each location. | [
"SELECT",
"location_code",
",",
"count",
"(",
"*",
")",
"FROM",
"Document_locations",
"GROUP",
"BY",
"location_code"
] | [
"select",
"location_code",
",",
"count",
"(",
"*",
")",
"from",
"document_locations",
"group",
"by",
"location_code"
] | [
"Show",
"the",
"location",
"codes",
"and",
"the",
"number",
"of",
"documents",
"in",
"each",
"location",
"."
] | [
"Show",
"the",
"<mask>",
"<mask>",
"and",
"the",
"<mask>",
"of",
"<mask>",
"in",
"each",
"<mask>",
"."
] | [
"select",
"<mask>",
",",
"count",
"(",
"*",
")",
"from",
"<mask>",
"group",
"by",
"<mask>"
] |
cre_Doc_Tracking_DB | SELECT location_code , count(*) FROM Document_locations GROUP BY location_code | What is the code of each location and the number of documents in that location? | [
"SELECT",
"location_code",
",",
"count",
"(",
"*",
")",
"FROM",
"Document_locations",
"GROUP",
"BY",
"location_code"
] | [
"select",
"location_code",
",",
"count",
"(",
"*",
")",
"from",
"document_locations",
"group",
"by",
"location_code"
] | [
"What",
"is",
"the",
"code",
"of",
"each",
"location",
"and",
"the",
"number",
"of",
"documents",
"in",
"that",
"location",
"?"
] | [
"What",
"is",
"the",
"<mask>",
"of",
"each",
"<mask>",
"and",
"the",
"<mask>",
"of",
"<mask>",
"in",
"that",
"<mask>",
"?"
] | [
"select",
"<mask>",
",",
"count",
"(",
"*",
")",
"from",
"<mask>",
"group",
"by",
"<mask>"
] |
cre_Doc_Tracking_DB | SELECT location_code FROM Document_locations GROUP BY location_code ORDER BY count(*) DESC LIMIT 1 | What is the location code with the most documents? | [
"SELECT",
"location_code",
"FROM",
"Document_locations",
"GROUP",
"BY",
"location_code",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"DESC",
"LIMIT",
"1"
] | [
"select",
"location_code",
"from",
"document_locations",
"group",
"by",
"location_code",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"value"
] | [
"What",
"is",
"the",
"location",
"code",
"with",
"the",
"most",
"documents",
"?"
] | [
"What",
"is",
"the",
"<mask>",
"<mask>",
"with",
"the",
"most",
"<mask>",
"?"
] | [
"select",
"<mask>",
"from",
"<mask>",
"group",
"by",
"<mask>",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"<unk>"
] |
cre_Doc_Tracking_DB | SELECT location_code FROM Document_locations GROUP BY location_code ORDER BY count(*) DESC LIMIT 1 | Find the code of the location with the largest number of documents. | [
"SELECT",
"location_code",
"FROM",
"Document_locations",
"GROUP",
"BY",
"location_code",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"DESC",
"LIMIT",
"1"
] | [
"select",
"location_code",
"from",
"document_locations",
"group",
"by",
"location_code",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"value"
] | [
"Find",
"the",
"code",
"of",
"the",
"location",
"with",
"the",
"largest",
"number",
"of",
"documents",
"."
] | [
"Find",
"the",
"<mask>",
"of",
"the",
"<mask>",
"with",
"the",
"largest",
"<mask>",
"of",
"<mask>",
"."
] | [
"select",
"<mask>",
"from",
"<mask>",
"group",
"by",
"<mask>",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"<unk>"
] |
cre_Doc_Tracking_DB | SELECT location_code FROM Document_locations GROUP BY location_code HAVING count(*) >= 3 | Show the location codes with at least 3 documents. | [
"SELECT",
"location_code",
"FROM",
"Document_locations",
"GROUP",
"BY",
"location_code",
"HAVING",
"count",
"(",
"*",
")",
">",
"=",
"3"
] | [
"select",
"location_code",
"from",
"document_locations",
"group",
"by",
"location_code",
"having",
"count",
"(",
"*",
")",
">",
"=",
"value"
] | [
"Show",
"the",
"location",
"codes",
"with",
"at",
"least",
"3",
"documents",
"."
] | [
"Show",
"the",
"<mask>",
"<mask>",
"with",
"at",
"least",
"<unk>",
"<mask>",
"."
] | [
"select",
"<mask>",
"from",
"<mask>",
"group",
"by",
"<mask>",
"<mask>",
"count",
"(",
"*",
")",
">",
"=",
"<unk>"
] |
cre_Doc_Tracking_DB | SELECT location_code FROM Document_locations GROUP BY location_code HAVING count(*) >= 3 | What are the codes of the locations with at least three documents? | [
"SELECT",
"location_code",
"FROM",
"Document_locations",
"GROUP",
"BY",
"location_code",
"HAVING",
"count",
"(",
"*",
")",
">",
"=",
"3"
] | [
"select",
"location_code",
"from",
"document_locations",
"group",
"by",
"location_code",
"having",
"count",
"(",
"*",
")",
">",
"=",
"value"
] | [
"What",
"are",
"the",
"codes",
"of",
"the",
"locations",
"with",
"at",
"least",
"three",
"documents",
"?"
] | [
"What",
"are",
"the",
"<mask>",
"of",
"the",
"<mask>",
"with",
"at",
"least",
"three",
"<mask>",
"?"
] | [
"select",
"<mask>",
"from",
"<mask>",
"group",
"by",
"<mask>",
"<mask>",
"count",
"(",
"*",
")",
">",
"=",
"<unk>"
] |
cre_Doc_Tracking_DB | SELECT T2.location_name , T1.location_code FROM Document_locations AS T1 JOIN Ref_locations AS T2 ON T1.location_code = T2.location_code GROUP BY T1.location_code ORDER BY count(*) ASC LIMIT 1 | Show the location name and code with the least documents. | [
"SELECT",
"T2.location_name",
",",
"T1.location_code",
"FROM",
"Document_locations",
"AS",
"T1",
"JOIN",
"Ref_locations",
"AS",
"T2",
"ON",
"T1.location_code",
"=",
"T2.location_code",
"GROUP",
"BY",
"T1.location_code",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"ASC",
... | [
"select",
"t2",
".",
"location_name",
",",
"t1",
".",
"location_code",
"from",
"document_locations",
"as",
"t1",
"join",
"ref_locations",
"as",
"t2",
"on",
"t1",
".",
"location_code",
"=",
"t2",
".",
"location_code",
"group",
"by",
"t1",
".",
"location_code",
... | [
"Show",
"the",
"location",
"name",
"and",
"code",
"with",
"the",
"least",
"documents",
"."
] | [
"Show",
"the",
"<mask>",
"<mask>",
"and",
"<mask>",
"with",
"the",
"least",
"<mask>",
"."
] | [
"select",
"<mask>",
".",
"<mask>",
",",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"group",
"by",
"<mask>",
".",
"<mask>",
"order",
"by",
"coun... |
cre_Doc_Tracking_DB | SELECT T2.location_name , T1.location_code FROM Document_locations AS T1 JOIN Ref_locations AS T2 ON T1.location_code = T2.location_code GROUP BY T1.location_code ORDER BY count(*) ASC LIMIT 1 | What are the name and code of the location with the smallest number of documents? | [
"SELECT",
"T2.location_name",
",",
"T1.location_code",
"FROM",
"Document_locations",
"AS",
"T1",
"JOIN",
"Ref_locations",
"AS",
"T2",
"ON",
"T1.location_code",
"=",
"T2.location_code",
"GROUP",
"BY",
"T1.location_code",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"ASC",
... | [
"select",
"t2",
".",
"location_name",
",",
"t1",
".",
"location_code",
"from",
"document_locations",
"as",
"t1",
"join",
"ref_locations",
"as",
"t2",
"on",
"t1",
".",
"location_code",
"=",
"t2",
".",
"location_code",
"group",
"by",
"t1",
".",
"location_code",
... | [
"What",
"are",
"the",
"name",
"and",
"code",
"of",
"the",
"location",
"with",
"the",
"smallest",
"number",
"of",
"documents",
"?"
] | [
"What",
"are",
"the",
"<mask>",
"and",
"<mask>",
"of",
"the",
"<mask>",
"with",
"the",
"smallest",
"<mask>",
"of",
"<mask>",
"?"
] | [
"select",
"<mask>",
".",
"<mask>",
",",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"group",
"by",
"<mask>",
".",
"<mask>",
"order",
"by",
"coun... |
cre_Doc_Tracking_DB | SELECT T2.employee_name , T3.employee_name FROM Documents_to_be_destroyed AS T1 JOIN Employees AS T2 ON T1.Destruction_Authorised_by_Employee_ID = T2.employee_id JOIN Employees AS T3 ON T1.Destroyed_by_Employee_ID = T3.employee_id; | What are the names of the employees who authorised the destruction and the employees who destroyed the corresponding documents? | [
"SELECT",
"T2.employee_name",
",",
"T3.employee_name",
"FROM",
"Documents_to_be_destroyed",
"AS",
"T1",
"JOIN",
"Employees",
"AS",
"T2",
"ON",
"T1.Destruction_Authorised_by_Employee_ID",
"=",
"T2.employee_id",
"JOIN",
"Employees",
"AS",
"T3",
"ON",
"T1.Destroyed_by_Employee... | [
"select",
"t2",
".",
"employee_name",
",",
"t3",
".",
"employee_name",
"from",
"documents_to_be_destroyed",
"as",
"t1",
"join",
"employees",
"as",
"t2",
"on",
"t1",
".",
"destruction_authorised_by_employee_id",
"=",
"t2",
".",
"employee_id",
"join",
"employees",
"... | [
"What",
"are",
"the",
"names",
"of",
"the",
"employees",
"who",
"authorised",
"the",
"destruction",
"and",
"the",
"employees",
"who",
"destroyed",
"the",
"corresponding",
"documents",
"?"
] | [
"What",
"are",
"the",
"<mask>",
"of",
"the",
"<mask>",
"who",
"authorised",
"the",
"<mask>",
"and",
"the",
"<mask>",
"who",
"destroyed",
"the",
"corresponding",
"<mask>",
"?"
] | [
"select",
"<mask>",
".",
"<mask>",
",",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mas... |
cre_Doc_Tracking_DB | SELECT T2.employee_name , T3.employee_name FROM Documents_to_be_destroyed AS T1 JOIN Employees AS T2 ON T1.Destruction_Authorised_by_Employee_ID = T2.employee_id JOIN Employees AS T3 ON T1.Destroyed_by_Employee_ID = T3.employee_id; | List the names of the employees who authorized the destruction of documents and the employees who destroyed the corresponding documents. | [
"SELECT",
"T2.employee_name",
",",
"T3.employee_name",
"FROM",
"Documents_to_be_destroyed",
"AS",
"T1",
"JOIN",
"Employees",
"AS",
"T2",
"ON",
"T1.Destruction_Authorised_by_Employee_ID",
"=",
"T2.employee_id",
"JOIN",
"Employees",
"AS",
"T3",
"ON",
"T1.Destroyed_by_Employee... | [
"select",
"t2",
".",
"employee_name",
",",
"t3",
".",
"employee_name",
"from",
"documents_to_be_destroyed",
"as",
"t1",
"join",
"employees",
"as",
"t2",
"on",
"t1",
".",
"destruction_authorised_by_employee_id",
"=",
"t2",
".",
"employee_id",
"join",
"employees",
"... | [
"List",
"the",
"names",
"of",
"the",
"employees",
"who",
"authorized",
"the",
"destruction",
"of",
"documents",
"and",
"the",
"employees",
"who",
"destroyed",
"the",
"corresponding",
"documents",
"."
] | [
"List",
"the",
"<mask>",
"of",
"the",
"<mask>",
"who",
"authorized",
"the",
"<mask>",
"of",
"<mask>",
"and",
"the",
"<mask>",
"who",
"destroyed",
"the",
"corresponding",
"<mask>",
"."
] | [
"select",
"<mask>",
".",
"<mask>",
",",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mas... |
cre_Doc_Tracking_DB | SELECT Destruction_Authorised_by_Employee_ID , count(*) FROM Documents_to_be_destroyed GROUP BY Destruction_Authorised_by_Employee_ID | Show the id of each employee and the number of document destruction authorised by that employee. | [
"SELECT",
"Destruction_Authorised_by_Employee_ID",
",",
"count",
"(",
"*",
")",
"FROM",
"Documents_to_be_destroyed",
"GROUP",
"BY",
"Destruction_Authorised_by_Employee_ID"
] | [
"select",
"destruction_authorised_by_employee_id",
",",
"count",
"(",
"*",
")",
"from",
"documents_to_be_destroyed",
"group",
"by",
"destruction_authorised_by_employee_id"
] | [
"Show",
"the",
"id",
"of",
"each",
"employee",
"and",
"the",
"number",
"of",
"document",
"destruction",
"authorised",
"by",
"that",
"employee",
"."
] | [
"Show",
"the",
"id",
"of",
"each",
"<mask>",
"and",
"the",
"<mask>",
"of",
"<mask>",
"<mask>",
"authorised",
"by",
"that",
"<mask>",
"."
] | [
"select",
"<mask>",
",",
"count",
"(",
"*",
")",
"from",
"<mask>",
"group",
"by",
"<mask>"
] |
cre_Doc_Tracking_DB | SELECT Destruction_Authorised_by_Employee_ID , count(*) FROM Documents_to_be_destroyed GROUP BY Destruction_Authorised_by_Employee_ID | What are the id of each employee and the number of document destruction authorised by that employee? | [
"SELECT",
"Destruction_Authorised_by_Employee_ID",
",",
"count",
"(",
"*",
")",
"FROM",
"Documents_to_be_destroyed",
"GROUP",
"BY",
"Destruction_Authorised_by_Employee_ID"
] | [
"select",
"destruction_authorised_by_employee_id",
",",
"count",
"(",
"*",
")",
"from",
"documents_to_be_destroyed",
"group",
"by",
"destruction_authorised_by_employee_id"
] | [
"What",
"are",
"the",
"id",
"of",
"each",
"employee",
"and",
"the",
"number",
"of",
"document",
"destruction",
"authorised",
"by",
"that",
"employee",
"?"
] | [
"What",
"are",
"the",
"id",
"of",
"each",
"<mask>",
"and",
"the",
"<mask>",
"of",
"<mask>",
"<mask>",
"authorised",
"by",
"that",
"<mask>",
"?"
] | [
"select",
"<mask>",
",",
"count",
"(",
"*",
")",
"from",
"<mask>",
"group",
"by",
"<mask>"
] |
cre_Doc_Tracking_DB | SELECT Destroyed_by_Employee_ID , count(*) FROM Documents_to_be_destroyed GROUP BY Destroyed_by_Employee_ID | Show the employee ids and the number of documents destroyed by each employee. | [
"SELECT",
"Destroyed_by_Employee_ID",
",",
"count",
"(",
"*",
")",
"FROM",
"Documents_to_be_destroyed",
"GROUP",
"BY",
"Destroyed_by_Employee_ID"
] | [
"select",
"destroyed_by_employee_id",
",",
"count",
"(",
"*",
")",
"from",
"documents_to_be_destroyed",
"group",
"by",
"destroyed_by_employee_id"
] | [
"Show",
"the",
"employee",
"ids",
"and",
"the",
"number",
"of",
"documents",
"destroyed",
"by",
"each",
"employee",
"."
] | [
"Show",
"the",
"<mask>",
"ids",
"and",
"the",
"<mask>",
"of",
"<mask>",
"destroyed",
"by",
"each",
"<mask>",
"."
] | [
"select",
"<mask>",
",",
"count",
"(",
"*",
")",
"from",
"<mask>",
"group",
"by",
"<mask>"
] |
cre_Doc_Tracking_DB | SELECT Destroyed_by_Employee_ID , count(*) FROM Documents_to_be_destroyed GROUP BY Destroyed_by_Employee_ID | What are the id of each employee and the number of document destroyed by that employee? | [
"SELECT",
"Destroyed_by_Employee_ID",
",",
"count",
"(",
"*",
")",
"FROM",
"Documents_to_be_destroyed",
"GROUP",
"BY",
"Destroyed_by_Employee_ID"
] | [
"select",
"destroyed_by_employee_id",
",",
"count",
"(",
"*",
")",
"from",
"documents_to_be_destroyed",
"group",
"by",
"destroyed_by_employee_id"
] | [
"What",
"are",
"the",
"id",
"of",
"each",
"employee",
"and",
"the",
"number",
"of",
"document",
"destroyed",
"by",
"that",
"employee",
"?"
] | [
"What",
"are",
"the",
"id",
"of",
"each",
"<mask>",
"and",
"the",
"<mask>",
"of",
"<mask>",
"destroyed",
"by",
"that",
"<mask>",
"?"
] | [
"select",
"<mask>",
",",
"count",
"(",
"*",
")",
"from",
"<mask>",
"group",
"by",
"<mask>"
] |
cre_Doc_Tracking_DB | SELECT employee_id FROM Employees EXCEPT SELECT Destruction_Authorised_by_Employee_ID FROM Documents_to_be_destroyed | Show the ids of the employees who don't authorize destruction for any document. | [
"SELECT",
"employee_id",
"FROM",
"Employees",
"EXCEPT",
"SELECT",
"Destruction_Authorised_by_Employee_ID",
"FROM",
"Documents_to_be_destroyed"
] | [
"select",
"employee_id",
"from",
"employees",
"except",
"select",
"destruction_authorised_by_employee_id",
"from",
"documents_to_be_destroyed"
] | [
"Show",
"the",
"ids",
"of",
"the",
"employees",
"who",
"do",
"n't",
"authorize",
"destruction",
"for",
"any",
"document",
"."
] | [
"Show",
"the",
"ids",
"of",
"the",
"<mask>",
"who",
"do",
"n't",
"authorize",
"<mask>",
"for",
"any",
"<mask>",
"."
] | [
"select",
"<mask>",
"from",
"<mask>",
"except",
"select",
"<mask>",
"from",
"<mask>"
] |
cre_Doc_Tracking_DB | SELECT employee_id FROM Employees EXCEPT SELECT Destruction_Authorised_by_Employee_ID FROM Documents_to_be_destroyed | Which employees do not authorize destruction for any document? Give me their employee ids. | [
"SELECT",
"employee_id",
"FROM",
"Employees",
"EXCEPT",
"SELECT",
"Destruction_Authorised_by_Employee_ID",
"FROM",
"Documents_to_be_destroyed"
] | [
"select",
"employee_id",
"from",
"employees",
"except",
"select",
"destruction_authorised_by_employee_id",
"from",
"documents_to_be_destroyed"
] | [
"Which",
"employees",
"do",
"not",
"authorize",
"destruction",
"for",
"any",
"document",
"?",
"Give",
"me",
"their",
"employee",
"ids",
"."
] | [
"Which",
"<mask>",
"do",
"not",
"authorize",
"<mask>",
"for",
"any",
"<mask>",
"?",
"Give",
"me",
"their",
"<mask>",
"ids",
"."
] | [
"select",
"<mask>",
"from",
"<mask>",
"except",
"select",
"<mask>",
"from",
"<mask>"
] |
cre_Doc_Tracking_DB | SELECT DISTINCT Destruction_Authorised_by_Employee_ID FROM Documents_to_be_destroyed | Show the ids of all employees who have authorized destruction. | [
"SELECT",
"DISTINCT",
"Destruction_Authorised_by_Employee_ID",
"FROM",
"Documents_to_be_destroyed"
] | [
"select",
"distinct",
"destruction_authorised_by_employee_id",
"from",
"documents_to_be_destroyed"
] | [
"Show",
"the",
"ids",
"of",
"all",
"employees",
"who",
"have",
"authorized",
"destruction",
"."
] | [
"Show",
"the",
"ids",
"of",
"<mask>",
"<mask>",
"who",
"have",
"authorized",
"<mask>",
"."
] | [
"select",
"distinct",
"<mask>",
"from",
"<mask>"
] |
cre_Doc_Tracking_DB | SELECT DISTINCT Destruction_Authorised_by_Employee_ID FROM Documents_to_be_destroyed | What are the ids of all the employees who authorize document destruction? | [
"SELECT",
"DISTINCT",
"Destruction_Authorised_by_Employee_ID",
"FROM",
"Documents_to_be_destroyed"
] | [
"select",
"distinct",
"destruction_authorised_by_employee_id",
"from",
"documents_to_be_destroyed"
] | [
"What",
"are",
"the",
"ids",
"of",
"all",
"the",
"employees",
"who",
"authorize",
"document",
"destruction",
"?"
] | [
"What",
"are",
"the",
"ids",
"of",
"<mask>",
"the",
"<mask>",
"who",
"authorize",
"<mask>",
"<mask>",
"?"
] | [
"select",
"distinct",
"<mask>",
"from",
"<mask>"
] |
cre_Doc_Tracking_DB | SELECT DISTINCT Destroyed_by_Employee_ID FROM Documents_to_be_destroyed | Show the ids of all employees who have destroyed a document. | [
"SELECT",
"DISTINCT",
"Destroyed_by_Employee_ID",
"FROM",
"Documents_to_be_destroyed"
] | [
"select",
"distinct",
"destroyed_by_employee_id",
"from",
"documents_to_be_destroyed"
] | [
"Show",
"the",
"ids",
"of",
"all",
"employees",
"who",
"have",
"destroyed",
"a",
"document",
"."
] | [
"Show",
"the",
"ids",
"of",
"<mask>",
"<mask>",
"who",
"have",
"destroyed",
"a",
"<mask>",
"."
] | [
"select",
"distinct",
"<mask>",
"from",
"<mask>"
] |
cre_Doc_Tracking_DB | SELECT DISTINCT Destroyed_by_Employee_ID FROM Documents_to_be_destroyed | What are the ids of all the employees who have destroyed documents? | [
"SELECT",
"DISTINCT",
"Destroyed_by_Employee_ID",
"FROM",
"Documents_to_be_destroyed"
] | [
"select",
"distinct",
"destroyed_by_employee_id",
"from",
"documents_to_be_destroyed"
] | [
"What",
"are",
"the",
"ids",
"of",
"all",
"the",
"employees",
"who",
"have",
"destroyed",
"documents",
"?"
] | [
"What",
"are",
"the",
"ids",
"of",
"<mask>",
"the",
"<mask>",
"who",
"have",
"destroyed",
"<mask>",
"?"
] | [
"select",
"distinct",
"<mask>",
"from",
"<mask>"
] |
cre_Doc_Tracking_DB | SELECT employee_id FROM Employees EXCEPT SELECT Destroyed_by_Employee_ID FROM Documents_to_be_destroyed | Show the ids of all employees who don't destroy any document. | [
"SELECT",
"employee_id",
"FROM",
"Employees",
"EXCEPT",
"SELECT",
"Destroyed_by_Employee_ID",
"FROM",
"Documents_to_be_destroyed"
] | [
"select",
"employee_id",
"from",
"employees",
"except",
"select",
"destroyed_by_employee_id",
"from",
"documents_to_be_destroyed"
] | [
"Show",
"the",
"ids",
"of",
"all",
"employees",
"who",
"do",
"n't",
"destroy",
"any",
"document",
"."
] | [
"Show",
"the",
"ids",
"of",
"<mask>",
"<mask>",
"who",
"do",
"n't",
"destroy",
"any",
"<mask>",
"."
] | [
"select",
"<mask>",
"from",
"<mask>",
"except",
"select",
"<mask>",
"from",
"<mask>"
] |
cre_Doc_Tracking_DB | SELECT employee_id FROM Employees EXCEPT SELECT Destroyed_by_Employee_ID FROM Documents_to_be_destroyed | Which employees do not destroy any document? Find their employee ids. | [
"SELECT",
"employee_id",
"FROM",
"Employees",
"EXCEPT",
"SELECT",
"Destroyed_by_Employee_ID",
"FROM",
"Documents_to_be_destroyed"
] | [
"select",
"employee_id",
"from",
"employees",
"except",
"select",
"destroyed_by_employee_id",
"from",
"documents_to_be_destroyed"
] | [
"Which",
"employees",
"do",
"not",
"destroy",
"any",
"document",
"?",
"Find",
"their",
"employee",
"ids",
"."
] | [
"Which",
"<mask>",
"do",
"not",
"destroy",
"any",
"<mask>",
"?",
"Find",
"their",
"<mask>",
"ids",
"."
] | [
"select",
"<mask>",
"from",
"<mask>",
"except",
"select",
"<mask>",
"from",
"<mask>"
] |
cre_Doc_Tracking_DB | SELECT Destroyed_by_Employee_ID FROM Documents_to_be_destroyed UNION SELECT Destruction_Authorised_by_Employee_ID FROM Documents_to_be_destroyed | Show the ids of all employees who have either destroyed a document or made an authorization to do this. | [
"SELECT",
"Destroyed_by_Employee_ID",
"FROM",
"Documents_to_be_destroyed",
"UNION",
"SELECT",
"Destruction_Authorised_by_Employee_ID",
"FROM",
"Documents_to_be_destroyed"
] | [
"select",
"destroyed_by_employee_id",
"from",
"documents_to_be_destroyed",
"union",
"select",
"destruction_authorised_by_employee_id",
"from",
"documents_to_be_destroyed"
] | [
"Show",
"the",
"ids",
"of",
"all",
"employees",
"who",
"have",
"either",
"destroyed",
"a",
"document",
"or",
"made",
"an",
"authorization",
"to",
"do",
"this",
"."
] | [
"Show",
"the",
"ids",
"of",
"<mask>",
"<mask>",
"who",
"have",
"either",
"destroyed",
"a",
"<mask>",
"or",
"made",
"an",
"authorization",
"to",
"do",
"this",
"."
] | [
"select",
"<mask>",
"from",
"<mask>",
"union",
"select",
"<mask>",
"from",
"<mask>"
] |
cre_Doc_Tracking_DB | SELECT Destroyed_by_Employee_ID FROM Documents_to_be_destroyed UNION SELECT Destruction_Authorised_by_Employee_ID FROM Documents_to_be_destroyed | Which employees have either destroyed a document or made an authorization to do so? Return their employee ids. | [
"SELECT",
"Destroyed_by_Employee_ID",
"FROM",
"Documents_to_be_destroyed",
"UNION",
"SELECT",
"Destruction_Authorised_by_Employee_ID",
"FROM",
"Documents_to_be_destroyed"
] | [
"select",
"destroyed_by_employee_id",
"from",
"documents_to_be_destroyed",
"union",
"select",
"destruction_authorised_by_employee_id",
"from",
"documents_to_be_destroyed"
] | [
"Which",
"employees",
"have",
"either",
"destroyed",
"a",
"document",
"or",
"made",
"an",
"authorization",
"to",
"do",
"so",
"?",
"Return",
"their",
"employee",
"ids",
"."
] | [
"Which",
"<mask>",
"have",
"either",
"destroyed",
"a",
"<mask>",
"or",
"made",
"an",
"authorization",
"to",
"do",
"so",
"?",
"Return",
"their",
"<mask>",
"ids",
"."
] | [
"select",
"<mask>",
"from",
"<mask>",
"union",
"select",
"<mask>",
"from",
"<mask>"
] |
club_1 | SELECT count(*) FROM club | How many clubs are there? | [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"club"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"club"
] | [
"How",
"many",
"clubs",
"are",
"there",
"?"
] | [
"How",
"many",
"<mask>",
"are",
"there",
"?"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"<mask>"
] |
club_1 | SELECT count(*) FROM club | Count the total number of clubs. | [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"club"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"club"
] | [
"Count",
"the",
"total",
"number",
"of",
"clubs",
"."
] | [
"Count",
"the",
"total",
"number",
"of",
"<mask>",
"."
] | [
"select",
"count",
"(",
"*",
")",
"from",
"<mask>"
] |
club_1 | SELECT clubname FROM club | What are the names of all clubs? | [
"SELECT",
"clubname",
"FROM",
"club"
] | [
"select",
"clubname",
"from",
"club"
] | [
"What",
"are",
"the",
"names",
"of",
"all",
"clubs",
"?"
] | [
"What",
"are",
"the",
"<mask>",
"of",
"all",
"<mask>",
"?"
] | [
"select",
"<mask>",
"from",
"<mask>"
] |
club_1 | SELECT clubname FROM club | Give me the name of each club. | [
"SELECT",
"clubname",
"FROM",
"club"
] | [
"select",
"clubname",
"from",
"club"
] | [
"Give",
"me",
"the",
"name",
"of",
"each",
"club",
"."
] | [
"Give",
"me",
"the",
"<mask>",
"of",
"each",
"<mask>",
"."
] | [
"select",
"<mask>",
"from",
"<mask>"
] |
club_1 | SELECT count(*) FROM student | How many students are there? | [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"student"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"student"
] | [
"How",
"many",
"students",
"are",
"there",
"?"
] | [
"How",
"many",
"<mask>",
"are",
"there",
"?"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"<mask>"
] |
club_1 | SELECT count(*) FROM student | Count the total number of students. | [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"student"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"student"
] | [
"Count",
"the",
"total",
"number",
"of",
"students",
"."
] | [
"Count",
"the",
"total",
"number",
"of",
"<mask>",
"."
] | [
"select",
"count",
"(",
"*",
")",
"from",
"<mask>"
] |
club_1 | SELECT DISTINCT fname FROM student | What are the first names of all the students? | [
"SELECT",
"DISTINCT",
"fname",
"FROM",
"student"
] | [
"select",
"distinct",
"fname",
"from",
"student"
] | [
"What",
"are",
"the",
"first",
"names",
"of",
"all",
"the",
"students",
"?"
] | [
"What",
"are",
"the",
"<mask>",
"<mask>",
"of",
"all",
"the",
"<mask>",
"?"
] | [
"select",
"distinct",
"<mask>",
"from",
"<mask>"
] |
club_1 | SELECT DISTINCT fname FROM student | Find each student's first name. | [
"SELECT",
"DISTINCT",
"fname",
"FROM",
"student"
] | [
"select",
"distinct",
"fname",
"from",
"student"
] | [
"Find",
"each",
"student",
"'s",
"first",
"name",
"."
] | [
"Find",
"each",
"<mask>",
"'s",
"<mask>",
"<mask>",
"."
] | [
"select",
"distinct",
"<mask>",
"from",
"<mask>"
] |
club_1 | SELECT t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Bootup Baltimore" | Find the last names of the members of the club "Bootup Baltimore". | [
"SELECT",
"t3.lname",
"FROM",
"club",
"AS",
"t1",
"JOIN",
"member_of_club",
"AS",
"t2",
"ON",
"t1.clubid",
"=",
"t2.clubid",
"JOIN",
"student",
"AS",
"t3",
"ON",
"t2.stuid",
"=",
"t3.stuid",
"WHERE",
"t1.clubname",
"=",
"``",
"Bootup",
"Baltimore",
"''"
] | [
"select",
"t3",
".",
"lname",
"from",
"club",
"as",
"t1",
"join",
"member_of_club",
"as",
"t2",
"on",
"t1",
".",
"clubid",
"=",
"t2",
".",
"clubid",
"join",
"student",
"as",
"t3",
"on",
"t2",
".",
"stuid",
"=",
"t3",
".",
"stuid",
"where",
"t1",
".... | [
"Find",
"the",
"last",
"names",
"of",
"the",
"members",
"of",
"the",
"club",
"``",
"Bootup",
"Baltimore",
"''",
"."
] | [
"Find",
"the",
"<mask>",
"<mask>",
"of",
"the",
"<mask>",
"of",
"the",
"<mask>",
"``",
"Bootup",
"Baltimore",
"''",
"."
] | [
"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... |
club_1 | SELECT t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Bootup Baltimore" | Who are the members of the club named "Bootup Baltimore"? Give me their last names. | [
"SELECT",
"t3.lname",
"FROM",
"club",
"AS",
"t1",
"JOIN",
"member_of_club",
"AS",
"t2",
"ON",
"t1.clubid",
"=",
"t2.clubid",
"JOIN",
"student",
"AS",
"t3",
"ON",
"t2.stuid",
"=",
"t3.stuid",
"WHERE",
"t1.clubname",
"=",
"``",
"Bootup",
"Baltimore",
"''"
] | [
"select",
"t3",
".",
"lname",
"from",
"club",
"as",
"t1",
"join",
"member_of_club",
"as",
"t2",
"on",
"t1",
".",
"clubid",
"=",
"t2",
".",
"clubid",
"join",
"student",
"as",
"t3",
"on",
"t2",
".",
"stuid",
"=",
"t3",
".",
"stuid",
"where",
"t1",
".... | [
"Who",
"are",
"the",
"members",
"of",
"the",
"club",
"named",
"``",
"Bootup",
"Baltimore",
"''",
"?",
"Give",
"me",
"their",
"last",
"names",
"."
] | [
"Who",
"are",
"the",
"<mask>",
"of",
"the",
"<mask>",
"<mask>",
"``",
"Bootup",
"Baltimore",
"''",
"?",
"Give",
"me",
"their",
"<mask>",
"<mask>",
"."
] | [
"select",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mas... |
club_1 | SELECT t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Hopkins Student Enterprises" | Who are the members of the club named "Hopkins Student Enterprises"? Show the last name. | [
"SELECT",
"t3.lname",
"FROM",
"club",
"AS",
"t1",
"JOIN",
"member_of_club",
"AS",
"t2",
"ON",
"t1.clubid",
"=",
"t2.clubid",
"JOIN",
"student",
"AS",
"t3",
"ON",
"t2.stuid",
"=",
"t3.stuid",
"WHERE",
"t1.clubname",
"=",
"``",
"Hopkins",
"Student",
"Enterprises... | [
"select",
"t3",
".",
"lname",
"from",
"club",
"as",
"t1",
"join",
"member_of_club",
"as",
"t2",
"on",
"t1",
".",
"clubid",
"=",
"t2",
".",
"clubid",
"join",
"student",
"as",
"t3",
"on",
"t2",
".",
"stuid",
"=",
"t3",
".",
"stuid",
"where",
"t1",
".... | [
"Who",
"are",
"the",
"members",
"of",
"the",
"club",
"named",
"``",
"Hopkins",
"Student",
"Enterprises",
"''",
"?",
"Show",
"the",
"last",
"name",
"."
] | [
"Who",
"are",
"the",
"<mask>",
"of",
"the",
"<mask>",
"<mask>",
"``",
"Hopkins",
"<mask>",
"Enterprises",
"''",
"?",
"Show",
"the",
"<mask>",
"<mask>",
"."
] | [
"select",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mas... |
club_1 | SELECT t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Hopkins Student Enterprises" | Return the last name for the members of the club named "Hopkins Student Enterprises". | [
"SELECT",
"t3.lname",
"FROM",
"club",
"AS",
"t1",
"JOIN",
"member_of_club",
"AS",
"t2",
"ON",
"t1.clubid",
"=",
"t2.clubid",
"JOIN",
"student",
"AS",
"t3",
"ON",
"t2.stuid",
"=",
"t3.stuid",
"WHERE",
"t1.clubname",
"=",
"``",
"Hopkins",
"Student",
"Enterprises... | [
"select",
"t3",
".",
"lname",
"from",
"club",
"as",
"t1",
"join",
"member_of_club",
"as",
"t2",
"on",
"t1",
".",
"clubid",
"=",
"t2",
".",
"clubid",
"join",
"student",
"as",
"t3",
"on",
"t2",
".",
"stuid",
"=",
"t3",
".",
"stuid",
"where",
"t1",
".... | [
"Return",
"the",
"last",
"name",
"for",
"the",
"members",
"of",
"the",
"club",
"named",
"``",
"Hopkins",
"Student",
"Enterprises",
"''",
"."
] | [
"Return",
"the",
"<mask>",
"<mask>",
"for",
"the",
"<mask>",
"of",
"the",
"<mask>",
"<mask>",
"``",
"Hopkins",
"<mask>",
"Enterprises",
"''",
"."
] | [
"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... |
club_1 | SELECT count(*) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Tennis Club" | How many members does the club "Tennis Club" has? | [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"club",
"AS",
"t1",
"JOIN",
"member_of_club",
"AS",
"t2",
"ON",
"t1.clubid",
"=",
"t2.clubid",
"JOIN",
"student",
"AS",
"t3",
"ON",
"t2.stuid",
"=",
"t3.stuid",
"WHERE",
"t1.clubname",
"=",
"``",
"Tennis",
"Club",
... | [
"select",
"count",
"(",
"*",
")",
"from",
"club",
"as",
"t1",
"join",
"member_of_club",
"as",
"t2",
"on",
"t1",
".",
"clubid",
"=",
"t2",
".",
"clubid",
"join",
"student",
"as",
"t3",
"on",
"t2",
".",
"stuid",
"=",
"t3",
".",
"stuid",
"where",
"t1"... | [
"How",
"many",
"members",
"does",
"the",
"club",
"``",
"Tennis",
"Club",
"''",
"has",
"?"
] | [
"How",
"many",
"<mask>",
"does",
"the",
"<mask>",
"``",
"Tennis",
"<mask>",
"''",
"has",
"?"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<ma... |
club_1 | SELECT count(*) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Tennis Club" | Count the members of the club "Tennis Club". | [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"club",
"AS",
"t1",
"JOIN",
"member_of_club",
"AS",
"t2",
"ON",
"t1.clubid",
"=",
"t2.clubid",
"JOIN",
"student",
"AS",
"t3",
"ON",
"t2.stuid",
"=",
"t3.stuid",
"WHERE",
"t1.clubname",
"=",
"``",
"Tennis",
"Club",
... | [
"select",
"count",
"(",
"*",
")",
"from",
"club",
"as",
"t1",
"join",
"member_of_club",
"as",
"t2",
"on",
"t1",
".",
"clubid",
"=",
"t2",
".",
"clubid",
"join",
"student",
"as",
"t3",
"on",
"t2",
".",
"stuid",
"=",
"t3",
".",
"stuid",
"where",
"t1"... | [
"Count",
"the",
"members",
"of",
"the",
"club",
"``",
"Tennis",
"Club",
"''",
"."
] | [
"Count",
"the",
"<mask>",
"of",
"the",
"<mask>",
"``",
"Tennis",
"<mask>",
"''",
"."
] | [
"select",
"count",
"(",
"*",
")",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<ma... |
club_1 | SELECT count(*) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Pen and Paper Gaming" | Find the number of members of club "Pen and Paper Gaming". | [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"club",
"AS",
"t1",
"JOIN",
"member_of_club",
"AS",
"t2",
"ON",
"t1.clubid",
"=",
"t2.clubid",
"JOIN",
"student",
"AS",
"t3",
"ON",
"t2.stuid",
"=",
"t3.stuid",
"WHERE",
"t1.clubname",
"=",
"``",
"Pen",
"and",
"P... | [
"select",
"count",
"(",
"*",
")",
"from",
"club",
"as",
"t1",
"join",
"member_of_club",
"as",
"t2",
"on",
"t1",
".",
"clubid",
"=",
"t2",
".",
"clubid",
"join",
"student",
"as",
"t3",
"on",
"t2",
".",
"stuid",
"=",
"t3",
".",
"stuid",
"where",
"t1"... | [
"Find",
"the",
"number",
"of",
"members",
"of",
"club",
"``",
"Pen",
"and",
"Paper",
"Gaming",
"''",
"."
] | [
"Find",
"the",
"number",
"of",
"<mask>",
"of",
"<mask>",
"``",
"Pen",
"and",
"Paper",
"Gaming",
"''",
"."
] | [
"select",
"count",
"(",
"*",
")",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<ma... |
club_1 | SELECT count(*) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Pen and Paper Gaming" | How many people have membership in the club "Pen and Paper Gaming"? | [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"club",
"AS",
"t1",
"JOIN",
"member_of_club",
"AS",
"t2",
"ON",
"t1.clubid",
"=",
"t2.clubid",
"JOIN",
"student",
"AS",
"t3",
"ON",
"t2.stuid",
"=",
"t3.stuid",
"WHERE",
"t1.clubname",
"=",
"``",
"Pen",
"and",
"P... | [
"select",
"count",
"(",
"*",
")",
"from",
"club",
"as",
"t1",
"join",
"member_of_club",
"as",
"t2",
"on",
"t1",
".",
"clubid",
"=",
"t2",
".",
"clubid",
"join",
"student",
"as",
"t3",
"on",
"t2",
".",
"stuid",
"=",
"t3",
".",
"stuid",
"where",
"t1"... | [
"How",
"many",
"people",
"have",
"membership",
"in",
"the",
"club",
"``",
"Pen",
"and",
"Paper",
"Gaming",
"''",
"?"
] | [
"How",
"many",
"people",
"have",
"membership",
"in",
"the",
"<mask>",
"``",
"Pen",
"and",
"Paper",
"Gaming",
"''",
"?"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<ma... |
club_1 | SELECT count(*) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t3.fname = "Linda" AND t3.lname = "Smith" | How many clubs does "Linda Smith" belong to? | [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"club",
"AS",
"t1",
"JOIN",
"member_of_club",
"AS",
"t2",
"ON",
"t1.clubid",
"=",
"t2.clubid",
"JOIN",
"student",
"AS",
"t3",
"ON",
"t2.stuid",
"=",
"t3.stuid",
"WHERE",
"t3.fname",
"=",
"``",
"Linda",
"''",
"AND... | [
"select",
"count",
"(",
"*",
")",
"from",
"club",
"as",
"t1",
"join",
"member_of_club",
"as",
"t2",
"on",
"t1",
".",
"clubid",
"=",
"t2",
".",
"clubid",
"join",
"student",
"as",
"t3",
"on",
"t2",
".",
"stuid",
"=",
"t3",
".",
"stuid",
"where",
"t3"... | [
"How",
"many",
"clubs",
"does",
"``",
"Linda",
"Smith",
"''",
"belong",
"to",
"?"
] | [
"How",
"many",
"<mask>",
"does",
"``",
"Linda",
"Smith",
"''",
"belong",
"to",
"?"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<ma... |
club_1 | SELECT count(*) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t3.fname = "Linda" AND t3.lname = "Smith" | How many clubs does "Linda Smith" have membership for? | [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"club",
"AS",
"t1",
"JOIN",
"member_of_club",
"AS",
"t2",
"ON",
"t1.clubid",
"=",
"t2.clubid",
"JOIN",
"student",
"AS",
"t3",
"ON",
"t2.stuid",
"=",
"t3.stuid",
"WHERE",
"t3.fname",
"=",
"``",
"Linda",
"''",
"AND... | [
"select",
"count",
"(",
"*",
")",
"from",
"club",
"as",
"t1",
"join",
"member_of_club",
"as",
"t2",
"on",
"t1",
".",
"clubid",
"=",
"t2",
".",
"clubid",
"join",
"student",
"as",
"t3",
"on",
"t2",
".",
"stuid",
"=",
"t3",
".",
"stuid",
"where",
"t3"... | [
"How",
"many",
"clubs",
"does",
"``",
"Linda",
"Smith",
"''",
"have",
"membership",
"for",
"?"
] | [
"How",
"many",
"<mask>",
"does",
"``",
"Linda",
"Smith",
"''",
"have",
"membership",
"for",
"?"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<ma... |
club_1 | SELECT count(*) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t3.fname = "Tracy" AND t3.lname = "Kim" | Find the number of clubs where "Tracy Kim" is a member. | [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"club",
"AS",
"t1",
"JOIN",
"member_of_club",
"AS",
"t2",
"ON",
"t1.clubid",
"=",
"t2.clubid",
"JOIN",
"student",
"AS",
"t3",
"ON",
"t2.stuid",
"=",
"t3.stuid",
"WHERE",
"t3.fname",
"=",
"``",
"Tracy",
"''",
"AND... | [
"select",
"count",
"(",
"*",
")",
"from",
"club",
"as",
"t1",
"join",
"member_of_club",
"as",
"t2",
"on",
"t1",
".",
"clubid",
"=",
"t2",
".",
"clubid",
"join",
"student",
"as",
"t3",
"on",
"t2",
".",
"stuid",
"=",
"t3",
".",
"stuid",
"where",
"t3"... | [
"Find",
"the",
"number",
"of",
"clubs",
"where",
"``",
"Tracy",
"Kim",
"''",
"is",
"a",
"member",
"."
] | [
"Find",
"the",
"number",
"of",
"<mask>",
"where",
"``",
"Tracy",
"Kim",
"''",
"is",
"a",
"<mask>",
"."
] | [
"select",
"count",
"(",
"*",
")",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<ma... |
club_1 | SELECT count(*) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t3.fname = "Tracy" AND t3.lname = "Kim" | For how many clubs is "Tracy Kim" a member? | [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"club",
"AS",
"t1",
"JOIN",
"member_of_club",
"AS",
"t2",
"ON",
"t1.clubid",
"=",
"t2.clubid",
"JOIN",
"student",
"AS",
"t3",
"ON",
"t2.stuid",
"=",
"t3.stuid",
"WHERE",
"t3.fname",
"=",
"``",
"Tracy",
"''",
"AND... | [
"select",
"count",
"(",
"*",
")",
"from",
"club",
"as",
"t1",
"join",
"member_of_club",
"as",
"t2",
"on",
"t1",
".",
"clubid",
"=",
"t2",
".",
"clubid",
"join",
"student",
"as",
"t3",
"on",
"t2",
".",
"stuid",
"=",
"t3",
".",
"stuid",
"where",
"t3"... | [
"For",
"how",
"many",
"clubs",
"is",
"``",
"Tracy",
"Kim",
"''",
"a",
"member",
"?"
] | [
"For",
"how",
"many",
"<mask>",
"is",
"``",
"Tracy",
"Kim",
"''",
"a",
"<mask>",
"?"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<ma... |
club_1 | SELECT t3.fname , t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Bootup Baltimore" AND t3.sex = "F" | Find all the female members of club "Bootup Baltimore". Show the first name and last name. | [
"SELECT",
"t3.fname",
",",
"t3.lname",
"FROM",
"club",
"AS",
"t1",
"JOIN",
"member_of_club",
"AS",
"t2",
"ON",
"t1.clubid",
"=",
"t2.clubid",
"JOIN",
"student",
"AS",
"t3",
"ON",
"t2.stuid",
"=",
"t3.stuid",
"WHERE",
"t1.clubname",
"=",
"``",
"Bootup",
"Balt... | [
"select",
"t3",
".",
"fname",
",",
"t3",
".",
"lname",
"from",
"club",
"as",
"t1",
"join",
"member_of_club",
"as",
"t2",
"on",
"t1",
".",
"clubid",
"=",
"t2",
".",
"clubid",
"join",
"student",
"as",
"t3",
"on",
"t2",
".",
"stuid",
"=",
"t3",
".",
... | [
"Find",
"all",
"the",
"female",
"members",
"of",
"club",
"``",
"Bootup",
"Baltimore",
"''",
".",
"Show",
"the",
"first",
"name",
"and",
"last",
"name",
"."
] | [
"Find",
"all",
"the",
"female",
"<mask>",
"of",
"<mask>",
"``",
"Bootup",
"Baltimore",
"''",
".",
"Show",
"the",
"<mask>",
"<mask>",
"and",
"<mask>",
"<mask>",
"."
] | [
"select",
"<mask>",
".",
"<mask>",
",",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mas... |
club_1 | SELECT t3.fname , t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Bootup Baltimore" AND t3.sex = "F" | Give me the first name and last name for all the female members of the club "Bootup Baltimore". | [
"SELECT",
"t3.fname",
",",
"t3.lname",
"FROM",
"club",
"AS",
"t1",
"JOIN",
"member_of_club",
"AS",
"t2",
"ON",
"t1.clubid",
"=",
"t2.clubid",
"JOIN",
"student",
"AS",
"t3",
"ON",
"t2.stuid",
"=",
"t3.stuid",
"WHERE",
"t1.clubname",
"=",
"``",
"Bootup",
"Balt... | [
"select",
"t3",
".",
"fname",
",",
"t3",
".",
"lname",
"from",
"club",
"as",
"t1",
"join",
"member_of_club",
"as",
"t2",
"on",
"t1",
".",
"clubid",
"=",
"t2",
".",
"clubid",
"join",
"student",
"as",
"t3",
"on",
"t2",
".",
"stuid",
"=",
"t3",
".",
... | [
"Give",
"me",
"the",
"first",
"name",
"and",
"last",
"name",
"for",
"all",
"the",
"female",
"members",
"of",
"the",
"club",
"``",
"Bootup",
"Baltimore",
"''",
"."
] | [
"Give",
"me",
"the",
"<mask>",
"<mask>",
"and",
"<mask>",
"<mask>",
"for",
"all",
"the",
"female",
"<mask>",
"of",
"the",
"<mask>",
"``",
"Bootup",
"Baltimore",
"''",
"."
] | [
"select",
"<mask>",
".",
"<mask>",
",",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mas... |
club_1 | SELECT t3.fname , t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Hopkins Student Enterprises" AND t3.sex = "M" | Find all the male members of club "Hopkins Student Enterprises". Show the first name and last name. | [
"SELECT",
"t3.fname",
",",
"t3.lname",
"FROM",
"club",
"AS",
"t1",
"JOIN",
"member_of_club",
"AS",
"t2",
"ON",
"t1.clubid",
"=",
"t2.clubid",
"JOIN",
"student",
"AS",
"t3",
"ON",
"t2.stuid",
"=",
"t3.stuid",
"WHERE",
"t1.clubname",
"=",
"``",
"Hopkins",
"Stu... | [
"select",
"t3",
".",
"fname",
",",
"t3",
".",
"lname",
"from",
"club",
"as",
"t1",
"join",
"member_of_club",
"as",
"t2",
"on",
"t1",
".",
"clubid",
"=",
"t2",
".",
"clubid",
"join",
"student",
"as",
"t3",
"on",
"t2",
".",
"stuid",
"=",
"t3",
".",
... | [
"Find",
"all",
"the",
"male",
"members",
"of",
"club",
"``",
"Hopkins",
"Student",
"Enterprises",
"''",
".",
"Show",
"the",
"first",
"name",
"and",
"last",
"name",
"."
] | [
"Find",
"all",
"the",
"male",
"<mask>",
"of",
"<mask>",
"``",
"Hopkins",
"<mask>",
"Enterprises",
"''",
".",
"Show",
"the",
"<mask>",
"<mask>",
"and",
"<mask>",
"<mask>",
"."
] | [
"select",
"<mask>",
".",
"<mask>",
",",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mas... |
club_1 | SELECT t3.fname , t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Hopkins Student Enterprises" AND t3.sex = "M" | What are the first name and last name of each male member in club "Hopkins Student Enterprises"? | [
"SELECT",
"t3.fname",
",",
"t3.lname",
"FROM",
"club",
"AS",
"t1",
"JOIN",
"member_of_club",
"AS",
"t2",
"ON",
"t1.clubid",
"=",
"t2.clubid",
"JOIN",
"student",
"AS",
"t3",
"ON",
"t2.stuid",
"=",
"t3.stuid",
"WHERE",
"t1.clubname",
"=",
"``",
"Hopkins",
"Stu... | [
"select",
"t3",
".",
"fname",
",",
"t3",
".",
"lname",
"from",
"club",
"as",
"t1",
"join",
"member_of_club",
"as",
"t2",
"on",
"t1",
".",
"clubid",
"=",
"t2",
".",
"clubid",
"join",
"student",
"as",
"t3",
"on",
"t2",
".",
"stuid",
"=",
"t3",
".",
... | [
"What",
"are",
"the",
"first",
"name",
"and",
"last",
"name",
"of",
"each",
"male",
"member",
"in",
"club",
"``",
"Hopkins",
"Student",
"Enterprises",
"''",
"?"
] | [
"What",
"are",
"the",
"<mask>",
"<mask>",
"and",
"<mask>",
"<mask>",
"of",
"each",
"male",
"<mask>",
"in",
"<mask>",
"``",
"Hopkins",
"<mask>",
"Enterprises",
"''",
"?"
] | [
"select",
"<mask>",
".",
"<mask>",
",",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mas... |
club_1 | SELECT t3.fname , t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Bootup Baltimore" AND t3.major = "600" | Find all members of "Bootup Baltimore" whose major is "600". Show the first name and last name. | [
"SELECT",
"t3.fname",
",",
"t3.lname",
"FROM",
"club",
"AS",
"t1",
"JOIN",
"member_of_club",
"AS",
"t2",
"ON",
"t1.clubid",
"=",
"t2.clubid",
"JOIN",
"student",
"AS",
"t3",
"ON",
"t2.stuid",
"=",
"t3.stuid",
"WHERE",
"t1.clubname",
"=",
"``",
"Bootup",
"Balt... | [
"select",
"t3",
".",
"fname",
",",
"t3",
".",
"lname",
"from",
"club",
"as",
"t1",
"join",
"member_of_club",
"as",
"t2",
"on",
"t1",
".",
"clubid",
"=",
"t2",
".",
"clubid",
"join",
"student",
"as",
"t3",
"on",
"t2",
".",
"stuid",
"=",
"t3",
".",
... | [
"Find",
"all",
"members",
"of",
"``",
"Bootup",
"Baltimore",
"''",
"whose",
"major",
"is",
"``",
"600",
"''",
".",
"Show",
"the",
"first",
"name",
"and",
"last",
"name",
"."
] | [
"Find",
"all",
"<mask>",
"of",
"``",
"Bootup",
"Baltimore",
"''",
"whose",
"<mask>",
"is",
"``",
"<unk>",
"''",
".",
"Show",
"the",
"<mask>",
"<mask>",
"and",
"<mask>",
"<mask>",
"."
] | [
"select",
"<mask>",
".",
"<mask>",
",",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mas... |
club_1 | SELECT t3.fname , t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Bootup Baltimore" AND t3.major = "600" | Which members of "Bootup Baltimore" major in "600"? Give me their first names and last names. | [
"SELECT",
"t3.fname",
",",
"t3.lname",
"FROM",
"club",
"AS",
"t1",
"JOIN",
"member_of_club",
"AS",
"t2",
"ON",
"t1.clubid",
"=",
"t2.clubid",
"JOIN",
"student",
"AS",
"t3",
"ON",
"t2.stuid",
"=",
"t3.stuid",
"WHERE",
"t1.clubname",
"=",
"``",
"Bootup",
"Balt... | [
"select",
"t3",
".",
"fname",
",",
"t3",
".",
"lname",
"from",
"club",
"as",
"t1",
"join",
"member_of_club",
"as",
"t2",
"on",
"t1",
".",
"clubid",
"=",
"t2",
".",
"clubid",
"join",
"student",
"as",
"t3",
"on",
"t2",
".",
"stuid",
"=",
"t3",
".",
... | [
"Which",
"members",
"of",
"``",
"Bootup",
"Baltimore",
"''",
"major",
"in",
"``",
"600",
"''",
"?",
"Give",
"me",
"their",
"first",
"names",
"and",
"last",
"names",
"."
] | [
"Which",
"<mask>",
"of",
"``",
"Bootup",
"Baltimore",
"''",
"<mask>",
"in",
"``",
"<unk>",
"''",
"?",
"Give",
"me",
"their",
"<mask>",
"<mask>",
"and",
"<mask>",
"<mask>",
"."
] | [
"select",
"<mask>",
".",
"<mask>",
",",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mas... |
club_1 | SELECT t1.clubname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t3.major = "600" GROUP BY t1.clubname ORDER BY count(*) DESC LIMIT 1 | Which club has the most members majoring in "600"? | [
"SELECT",
"t1.clubname",
"FROM",
"club",
"AS",
"t1",
"JOIN",
"member_of_club",
"AS",
"t2",
"ON",
"t1.clubid",
"=",
"t2.clubid",
"JOIN",
"student",
"AS",
"t3",
"ON",
"t2.stuid",
"=",
"t3.stuid",
"WHERE",
"t3.major",
"=",
"``",
"600",
"''",
"GROUP",
"BY",
"t... | [
"select",
"t1",
".",
"clubname",
"from",
"club",
"as",
"t1",
"join",
"member_of_club",
"as",
"t2",
"on",
"t1",
".",
"clubid",
"=",
"t2",
".",
"clubid",
"join",
"student",
"as",
"t3",
"on",
"t2",
".",
"stuid",
"=",
"t3",
".",
"stuid",
"where",
"t3",
... | [
"Which",
"club",
"has",
"the",
"most",
"members",
"majoring",
"in",
"``",
"600",
"''",
"?"
] | [
"Which",
"<mask>",
"has",
"the",
"most",
"<mask>",
"<mask>",
"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... |
club_1 | SELECT t1.clubname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t3.major = "600" GROUP BY t1.clubname ORDER BY count(*) DESC LIMIT 1 | Find the club which has the largest number of members majoring in "600". | [
"SELECT",
"t1.clubname",
"FROM",
"club",
"AS",
"t1",
"JOIN",
"member_of_club",
"AS",
"t2",
"ON",
"t1.clubid",
"=",
"t2.clubid",
"JOIN",
"student",
"AS",
"t3",
"ON",
"t2.stuid",
"=",
"t3.stuid",
"WHERE",
"t3.major",
"=",
"``",
"600",
"''",
"GROUP",
"BY",
"t... | [
"select",
"t1",
".",
"clubname",
"from",
"club",
"as",
"t1",
"join",
"member_of_club",
"as",
"t2",
"on",
"t1",
".",
"clubid",
"=",
"t2",
".",
"clubid",
"join",
"student",
"as",
"t3",
"on",
"t2",
".",
"stuid",
"=",
"t3",
".",
"stuid",
"where",
"t3",
... | [
"Find",
"the",
"club",
"which",
"has",
"the",
"largest",
"number",
"of",
"members",
"majoring",
"in",
"``",
"600",
"''",
"."
] | [
"Find",
"the",
"<mask>",
"which",
"has",
"the",
"largest",
"number",
"of",
"<mask>",
"<mask>",
"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... |
club_1 | SELECT t1.clubname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t3.sex = "F" GROUP BY t1.clubname ORDER BY count(*) DESC LIMIT 1 | Find the name of the club that has the most female students. | [
"SELECT",
"t1.clubname",
"FROM",
"club",
"AS",
"t1",
"JOIN",
"member_of_club",
"AS",
"t2",
"ON",
"t1.clubid",
"=",
"t2.clubid",
"JOIN",
"student",
"AS",
"t3",
"ON",
"t2.stuid",
"=",
"t3.stuid",
"WHERE",
"t3.sex",
"=",
"``",
"F",
"''",
"GROUP",
"BY",
"t1.cl... | [
"select",
"t1",
".",
"clubname",
"from",
"club",
"as",
"t1",
"join",
"member_of_club",
"as",
"t2",
"on",
"t1",
".",
"clubid",
"=",
"t2",
".",
"clubid",
"join",
"student",
"as",
"t3",
"on",
"t2",
".",
"stuid",
"=",
"t3",
".",
"stuid",
"where",
"t3",
... | [
"Find",
"the",
"name",
"of",
"the",
"club",
"that",
"has",
"the",
"most",
"female",
"students",
"."
] | [
"Find",
"the",
"<mask>",
"of",
"the",
"<mask>",
"that",
"has",
"the",
"most",
"female",
"<mask>",
"."
] | [
"select",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mas... |
club_1 | SELECT t1.clubname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t3.sex = "F" GROUP BY t1.clubname ORDER BY count(*) DESC LIMIT 1 | Which club has the most female students as their members? Give me the name of the club. | [
"SELECT",
"t1.clubname",
"FROM",
"club",
"AS",
"t1",
"JOIN",
"member_of_club",
"AS",
"t2",
"ON",
"t1.clubid",
"=",
"t2.clubid",
"JOIN",
"student",
"AS",
"t3",
"ON",
"t2.stuid",
"=",
"t3.stuid",
"WHERE",
"t3.sex",
"=",
"``",
"F",
"''",
"GROUP",
"BY",
"t1.cl... | [
"select",
"t1",
".",
"clubname",
"from",
"club",
"as",
"t1",
"join",
"member_of_club",
"as",
"t2",
"on",
"t1",
".",
"clubid",
"=",
"t2",
".",
"clubid",
"join",
"student",
"as",
"t3",
"on",
"t2",
".",
"stuid",
"=",
"t3",
".",
"stuid",
"where",
"t3",
... | [
"Which",
"club",
"has",
"the",
"most",
"female",
"students",
"as",
"their",
"members",
"?",
"Give",
"me",
"the",
"name",
"of",
"the",
"club",
"."
] | [
"Which",
"<mask>",
"has",
"the",
"most",
"female",
"<mask>",
"as",
"their",
"<mask>",
"?",
"Give",
"me",
"the",
"<mask>",
"of",
"the",
"<mask>",
"."
] | [
"select",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mas... |
club_1 | SELECT clubdesc FROM club WHERE clubname = "Tennis Club" | What is the description of the club named "Tennis Club"? | [
"SELECT",
"clubdesc",
"FROM",
"club",
"WHERE",
"clubname",
"=",
"``",
"Tennis",
"Club",
"''"
] | [
"select",
"clubdesc",
"from",
"club",
"where",
"clubname",
"=",
"value"
] | [
"What",
"is",
"the",
"description",
"of",
"the",
"club",
"named",
"``",
"Tennis",
"Club",
"''",
"?"
] | [
"What",
"is",
"the",
"<mask>",
"of",
"the",
"<mask>",
"<mask>",
"``",
"Tennis",
"<mask>",
"''",
"?"
] | [
"select",
"<mask>",
"from",
"<mask>",
"where",
"<mask>",
"=",
"<unk>"
] |
club_1 | SELECT clubdesc FROM club WHERE clubname = "Tennis Club" | Find the description of the club called "Tennis Club". | [
"SELECT",
"clubdesc",
"FROM",
"club",
"WHERE",
"clubname",
"=",
"``",
"Tennis",
"Club",
"''"
] | [
"select",
"clubdesc",
"from",
"club",
"where",
"clubname",
"=",
"value"
] | [
"Find",
"the",
"description",
"of",
"the",
"club",
"called",
"``",
"Tennis",
"Club",
"''",
"."
] | [
"Find",
"the",
"<mask>",
"of",
"the",
"<mask>",
"called",
"``",
"Tennis",
"<mask>",
"''",
"."
] | [
"select",
"<mask>",
"from",
"<mask>",
"where",
"<mask>",
"=",
"<unk>"
] |
club_1 | SELECT clubdesc FROM club WHERE clubname = "Pen and Paper Gaming" | Find the description of the club "Pen and Paper Gaming". | [
"SELECT",
"clubdesc",
"FROM",
"club",
"WHERE",
"clubname",
"=",
"``",
"Pen",
"and",
"Paper",
"Gaming",
"''"
] | [
"select",
"clubdesc",
"from",
"club",
"where",
"clubname",
"=",
"value"
] | [
"Find",
"the",
"description",
"of",
"the",
"club",
"``",
"Pen",
"and",
"Paper",
"Gaming",
"''",
"."
] | [
"Find",
"the",
"<mask>",
"of",
"the",
"<mask>",
"``",
"Pen",
"and",
"Paper",
"Gaming",
"''",
"."
] | [
"select",
"<mask>",
"from",
"<mask>",
"where",
"<mask>",
"=",
"<unk>"
] |
club_1 | SELECT clubdesc FROM club WHERE clubname = "Pen and Paper Gaming" | What is the description of the club "Pen and Paper Gaming"? | [
"SELECT",
"clubdesc",
"FROM",
"club",
"WHERE",
"clubname",
"=",
"``",
"Pen",
"and",
"Paper",
"Gaming",
"''"
] | [
"select",
"clubdesc",
"from",
"club",
"where",
"clubname",
"=",
"value"
] | [
"What",
"is",
"the",
"description",
"of",
"the",
"club",
"``",
"Pen",
"and",
"Paper",
"Gaming",
"''",
"?"
] | [
"What",
"is",
"the",
"<mask>",
"of",
"the",
"<mask>",
"``",
"Pen",
"and",
"Paper",
"Gaming",
"''",
"?"
] | [
"select",
"<mask>",
"from",
"<mask>",
"where",
"<mask>",
"=",
"<unk>"
] |
club_1 | SELECT clublocation FROM club WHERE clubname = "Tennis Club" | What is the location of the club named "Tennis Club"? | [
"SELECT",
"clublocation",
"FROM",
"club",
"WHERE",
"clubname",
"=",
"``",
"Tennis",
"Club",
"''"
] | [
"select",
"clublocation",
"from",
"club",
"where",
"clubname",
"=",
"value"
] | [
"What",
"is",
"the",
"location",
"of",
"the",
"club",
"named",
"``",
"Tennis",
"Club",
"''",
"?"
] | [
"What",
"is",
"the",
"<mask>",
"of",
"the",
"<mask>",
"<mask>",
"``",
"Tennis",
"<mask>",
"''",
"?"
] | [
"select",
"<mask>",
"from",
"<mask>",
"where",
"<mask>",
"=",
"<unk>"
] |
club_1 | SELECT clublocation FROM club WHERE clubname = "Tennis Club" | Where us the club named "Tennis Club" located? | [
"SELECT",
"clublocation",
"FROM",
"club",
"WHERE",
"clubname",
"=",
"``",
"Tennis",
"Club",
"''"
] | [
"select",
"clublocation",
"from",
"club",
"where",
"clubname",
"=",
"value"
] | [
"Where",
"us",
"the",
"club",
"named",
"``",
"Tennis",
"Club",
"''",
"located",
"?"
] | [
"Where",
"us",
"the",
"<mask>",
"<mask>",
"``",
"Tennis",
"<mask>",
"''",
"located",
"?"
] | [
"select",
"<mask>",
"from",
"<mask>",
"where",
"<mask>",
"=",
"<unk>"
] |
club_1 | SELECT clublocation FROM club WHERE clubname = "Pen and Paper Gaming" | Find the location of the club "Pen and Paper Gaming". | [
"SELECT",
"clublocation",
"FROM",
"club",
"WHERE",
"clubname",
"=",
"``",
"Pen",
"and",
"Paper",
"Gaming",
"''"
] | [
"select",
"clublocation",
"from",
"club",
"where",
"clubname",
"=",
"value"
] | [
"Find",
"the",
"location",
"of",
"the",
"club",
"``",
"Pen",
"and",
"Paper",
"Gaming",
"''",
"."
] | [
"Find",
"the",
"<mask>",
"of",
"the",
"<mask>",
"``",
"Pen",
"and",
"Paper",
"Gaming",
"''",
"."
] | [
"select",
"<mask>",
"from",
"<mask>",
"where",
"<mask>",
"=",
"<unk>"
] |
club_1 | SELECT clublocation FROM club WHERE clubname = "Pen and Paper Gaming" | Where is the club "Pen and Paper Gaming" located? | [
"SELECT",
"clublocation",
"FROM",
"club",
"WHERE",
"clubname",
"=",
"``",
"Pen",
"and",
"Paper",
"Gaming",
"''"
] | [
"select",
"clublocation",
"from",
"club",
"where",
"clubname",
"=",
"value"
] | [
"Where",
"is",
"the",
"club",
"``",
"Pen",
"and",
"Paper",
"Gaming",
"''",
"located",
"?"
] | [
"Where",
"is",
"the",
"<mask>",
"``",
"Pen",
"and",
"Paper",
"Gaming",
"''",
"located",
"?"
] | [
"select",
"<mask>",
"from",
"<mask>",
"where",
"<mask>",
"=",
"<unk>"
] |
club_1 | SELECT clublocation FROM club WHERE clubname = "Hopkins Student Enterprises" | Where is the club "Hopkins Student Enterprises" located? | [
"SELECT",
"clublocation",
"FROM",
"club",
"WHERE",
"clubname",
"=",
"``",
"Hopkins",
"Student",
"Enterprises",
"''"
] | [
"select",
"clublocation",
"from",
"club",
"where",
"clubname",
"=",
"value"
] | [
"Where",
"is",
"the",
"club",
"``",
"Hopkins",
"Student",
"Enterprises",
"''",
"located",
"?"
] | [
"Where",
"is",
"the",
"<mask>",
"``",
"Hopkins",
"<mask>",
"Enterprises",
"''",
"located",
"?"
] | [
"select",
"<mask>",
"from",
"<mask>",
"where",
"<mask>",
"=",
"<unk>"
] |
club_1 | SELECT clublocation FROM club WHERE clubname = "Hopkins Student Enterprises" | Tell me the location of the club "Hopkins Student Enterprises". | [
"SELECT",
"clublocation",
"FROM",
"club",
"WHERE",
"clubname",
"=",
"``",
"Hopkins",
"Student",
"Enterprises",
"''"
] | [
"select",
"clublocation",
"from",
"club",
"where",
"clubname",
"=",
"value"
] | [
"Tell",
"me",
"the",
"location",
"of",
"the",
"club",
"``",
"Hopkins",
"Student",
"Enterprises",
"''",
"."
] | [
"Tell",
"me",
"the",
"<mask>",
"of",
"the",
"<mask>",
"``",
"Hopkins",
"<mask>",
"Enterprises",
"''",
"."
] | [
"select",
"<mask>",
"from",
"<mask>",
"where",
"<mask>",
"=",
"<unk>"
] |
club_1 | SELECT clubname FROM club WHERE clublocation = "AKW" | Find the name of all the clubs at "AKW". | [
"SELECT",
"clubname",
"FROM",
"club",
"WHERE",
"clublocation",
"=",
"``",
"AKW",
"''"
] | [
"select",
"clubname",
"from",
"club",
"where",
"clublocation",
"=",
"value"
] | [
"Find",
"the",
"name",
"of",
"all",
"the",
"clubs",
"at",
"``",
"AKW",
"''",
"."
] | [
"Find",
"the",
"<mask>",
"of",
"all",
"the",
"<mask>",
"at",
"``",
"AKW",
"''",
"."
] | [
"select",
"<mask>",
"from",
"<mask>",
"where",
"<mask>",
"=",
"<unk>"
] |
club_1 | SELECT clubname FROM club WHERE clublocation = "AKW" | Which clubs are located at "AKW"? Return the club names. | [
"SELECT",
"clubname",
"FROM",
"club",
"WHERE",
"clublocation",
"=",
"``",
"AKW",
"''"
] | [
"select",
"clubname",
"from",
"club",
"where",
"clublocation",
"=",
"value"
] | [
"Which",
"clubs",
"are",
"located",
"at",
"``",
"AKW",
"''",
"?",
"Return",
"the",
"club",
"names",
"."
] | [
"Which",
"<mask>",
"are",
"located",
"at",
"``",
"AKW",
"''",
"?",
"Return",
"the",
"<mask>",
"<mask>",
"."
] | [
"select",
"<mask>",
"from",
"<mask>",
"where",
"<mask>",
"=",
"<unk>"
] |
club_1 | SELECT count(*) FROM club WHERE clublocation = "HHH" | How many clubs are located at "HHH"? | [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"club",
"WHERE",
"clublocation",
"=",
"``",
"HHH",
"''"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"club",
"where",
"clublocation",
"=",
"value"
] | [
"How",
"many",
"clubs",
"are",
"located",
"at",
"``",
"HHH",
"''",
"?"
] | [
"How",
"many",
"<mask>",
"are",
"located",
"at",
"``",
"HHH",
"''",
"?"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"<mask>",
"where",
"<mask>",
"=",
"<unk>"
] |
club_1 | SELECT count(*) FROM club WHERE clublocation = "HHH" | Count the number of clubs located at "HHH". | [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"club",
"WHERE",
"clublocation",
"=",
"``",
"HHH",
"''"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"club",
"where",
"clublocation",
"=",
"value"
] | [
"Count",
"the",
"number",
"of",
"clubs",
"located",
"at",
"``",
"HHH",
"''",
"."
] | [
"Count",
"the",
"number",
"of",
"<mask>",
"located",
"at",
"``",
"HHH",
"''",
"."
] | [
"select",
"count",
"(",
"*",
")",
"from",
"<mask>",
"where",
"<mask>",
"=",
"<unk>"
] |
club_1 | SELECT t3.fname , t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Bootup Baltimore" AND t2.position = "President" | What are the first and last name of the president of the club "Bootup Baltimore"? | [
"SELECT",
"t3.fname",
",",
"t3.lname",
"FROM",
"club",
"AS",
"t1",
"JOIN",
"member_of_club",
"AS",
"t2",
"ON",
"t1.clubid",
"=",
"t2.clubid",
"JOIN",
"student",
"AS",
"t3",
"ON",
"t2.stuid",
"=",
"t3.stuid",
"WHERE",
"t1.clubname",
"=",
"``",
"Bootup",
"Balt... | [
"select",
"t3",
".",
"fname",
",",
"t3",
".",
"lname",
"from",
"club",
"as",
"t1",
"join",
"member_of_club",
"as",
"t2",
"on",
"t1",
".",
"clubid",
"=",
"t2",
".",
"clubid",
"join",
"student",
"as",
"t3",
"on",
"t2",
".",
"stuid",
"=",
"t3",
".",
... | [
"What",
"are",
"the",
"first",
"and",
"last",
"name",
"of",
"the",
"president",
"of",
"the",
"club",
"``",
"Bootup",
"Baltimore",
"''",
"?"
] | [
"What",
"are",
"the",
"<mask>",
"and",
"<mask>",
"<mask>",
"of",
"the",
"president",
"of",
"the",
"<mask>",
"``",
"Bootup",
"Baltimore",
"''",
"?"
] | [
"select",
"<mask>",
".",
"<mask>",
",",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mas... |
club_1 | SELECT t3.fname , t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Bootup Baltimore" AND t2.position = "President" | Who is the president of the club "Bootup Baltimore"? Give me the first and last name. | [
"SELECT",
"t3.fname",
",",
"t3.lname",
"FROM",
"club",
"AS",
"t1",
"JOIN",
"member_of_club",
"AS",
"t2",
"ON",
"t1.clubid",
"=",
"t2.clubid",
"JOIN",
"student",
"AS",
"t3",
"ON",
"t2.stuid",
"=",
"t3.stuid",
"WHERE",
"t1.clubname",
"=",
"``",
"Bootup",
"Balt... | [
"select",
"t3",
".",
"fname",
",",
"t3",
".",
"lname",
"from",
"club",
"as",
"t1",
"join",
"member_of_club",
"as",
"t2",
"on",
"t1",
".",
"clubid",
"=",
"t2",
".",
"clubid",
"join",
"student",
"as",
"t3",
"on",
"t2",
".",
"stuid",
"=",
"t3",
".",
... | [
"Who",
"is",
"the",
"president",
"of",
"the",
"club",
"``",
"Bootup",
"Baltimore",
"''",
"?",
"Give",
"me",
"the",
"first",
"and",
"last",
"name",
"."
] | [
"Who",
"is",
"the",
"president",
"of",
"the",
"<mask>",
"``",
"Bootup",
"Baltimore",
"''",
"?",
"Give",
"me",
"the",
"<mask>",
"and",
"<mask>",
"<mask>",
"."
] | [
"select",
"<mask>",
".",
"<mask>",
",",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mas... |
club_1 | SELECT t3.fname , t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Hopkins Student Enterprises" AND t2.position = "CTO" | Who is the "CTO" of club "Hopkins Student Enterprises"? Show the first name and last name. | [
"SELECT",
"t3.fname",
",",
"t3.lname",
"FROM",
"club",
"AS",
"t1",
"JOIN",
"member_of_club",
"AS",
"t2",
"ON",
"t1.clubid",
"=",
"t2.clubid",
"JOIN",
"student",
"AS",
"t3",
"ON",
"t2.stuid",
"=",
"t3.stuid",
"WHERE",
"t1.clubname",
"=",
"``",
"Hopkins",
"Stu... | [
"select",
"t3",
".",
"fname",
",",
"t3",
".",
"lname",
"from",
"club",
"as",
"t1",
"join",
"member_of_club",
"as",
"t2",
"on",
"t1",
".",
"clubid",
"=",
"t2",
".",
"clubid",
"join",
"student",
"as",
"t3",
"on",
"t2",
".",
"stuid",
"=",
"t3",
".",
... | [
"Who",
"is",
"the",
"``",
"CTO",
"''",
"of",
"club",
"``",
"Hopkins",
"Student",
"Enterprises",
"''",
"?",
"Show",
"the",
"first",
"name",
"and",
"last",
"name",
"."
] | [
"Who",
"is",
"the",
"``",
"CTO",
"''",
"of",
"<mask>",
"``",
"Hopkins",
"<mask>",
"Enterprises",
"''",
"?",
"Show",
"the",
"<mask>",
"<mask>",
"and",
"<mask>",
"<mask>",
"."
] | [
"select",
"<mask>",
".",
"<mask>",
",",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mas... |
club_1 | SELECT t3.fname , t3.lname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Hopkins Student Enterprises" AND t2.position = "CTO" | Find the first name and last name for the "CTO" of the club "Hopkins Student Enterprises"? | [
"SELECT",
"t3.fname",
",",
"t3.lname",
"FROM",
"club",
"AS",
"t1",
"JOIN",
"member_of_club",
"AS",
"t2",
"ON",
"t1.clubid",
"=",
"t2.clubid",
"JOIN",
"student",
"AS",
"t3",
"ON",
"t2.stuid",
"=",
"t3.stuid",
"WHERE",
"t1.clubname",
"=",
"``",
"Hopkins",
"Stu... | [
"select",
"t3",
".",
"fname",
",",
"t3",
".",
"lname",
"from",
"club",
"as",
"t1",
"join",
"member_of_club",
"as",
"t2",
"on",
"t1",
".",
"clubid",
"=",
"t2",
".",
"clubid",
"join",
"student",
"as",
"t3",
"on",
"t2",
".",
"stuid",
"=",
"t3",
".",
... | [
"Find",
"the",
"first",
"name",
"and",
"last",
"name",
"for",
"the",
"``",
"CTO",
"''",
"of",
"the",
"club",
"``",
"Hopkins",
"Student",
"Enterprises",
"''",
"?"
] | [
"Find",
"the",
"<mask>",
"<mask>",
"and",
"<mask>",
"<mask>",
"for",
"the",
"``",
"CTO",
"''",
"of",
"the",
"<mask>",
"``",
"Hopkins",
"<mask>",
"Enterprises",
"''",
"?"
] | [
"select",
"<mask>",
".",
"<mask>",
",",
"<mask>",
".",
"<mask>",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mas... |
club_1 | SELECT count(DISTINCT t2.position) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid WHERE t1.clubname = "Bootup Baltimore" | How many different roles are there in the club "Bootup Baltimore"? | [
"SELECT",
"count",
"(",
"DISTINCT",
"t2.position",
")",
"FROM",
"club",
"AS",
"t1",
"JOIN",
"member_of_club",
"AS",
"t2",
"ON",
"t1.clubid",
"=",
"t2.clubid",
"WHERE",
"t1.clubname",
"=",
"``",
"Bootup",
"Baltimore",
"''"
] | [
"select",
"count",
"(",
"distinct",
"t2",
".",
"position",
")",
"from",
"club",
"as",
"t1",
"join",
"member_of_club",
"as",
"t2",
"on",
"t1",
".",
"clubid",
"=",
"t2",
".",
"clubid",
"where",
"t1",
".",
"clubname",
"=",
"value"
] | [
"How",
"many",
"different",
"roles",
"are",
"there",
"in",
"the",
"club",
"``",
"Bootup",
"Baltimore",
"''",
"?"
] | [
"How",
"many",
"different",
"roles",
"are",
"there",
"in",
"the",
"<mask>",
"``",
"Bootup",
"Baltimore",
"''",
"?"
] | [
"select",
"count",
"(",
"distinct",
"<mask>",
".",
"<mask>",
")",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
"=",
"<unk>"
] |
club_1 | SELECT count(DISTINCT t2.position) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid WHERE t1.clubname = "Bootup Baltimore" | Count the number of different positions in the club "Bootup Baltimore". | [
"SELECT",
"count",
"(",
"DISTINCT",
"t2.position",
")",
"FROM",
"club",
"AS",
"t1",
"JOIN",
"member_of_club",
"AS",
"t2",
"ON",
"t1.clubid",
"=",
"t2.clubid",
"WHERE",
"t1.clubname",
"=",
"``",
"Bootup",
"Baltimore",
"''"
] | [
"select",
"count",
"(",
"distinct",
"t2",
".",
"position",
")",
"from",
"club",
"as",
"t1",
"join",
"member_of_club",
"as",
"t2",
"on",
"t1",
".",
"clubid",
"=",
"t2",
".",
"clubid",
"where",
"t1",
".",
"clubname",
"=",
"value"
] | [
"Count",
"the",
"number",
"of",
"different",
"positions",
"in",
"the",
"club",
"``",
"Bootup",
"Baltimore",
"''",
"."
] | [
"Count",
"the",
"number",
"of",
"different",
"<mask>",
"in",
"the",
"<mask>",
"``",
"Bootup",
"Baltimore",
"''",
"."
] | [
"select",
"count",
"(",
"distinct",
"<mask>",
".",
"<mask>",
")",
"from",
"<mask>",
"as",
"<mask>",
"join",
"<mask>",
"as",
"<mask>",
"on",
"<mask>",
".",
"<mask>",
"=",
"<mask>",
".",
"<mask>",
"where",
"<mask>",
".",
"<mask>",
"=",
"<unk>"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.