db_id
stringlengths 4
31
| query
stringlengths 18
577
| question
stringlengths 19
228
| query_toks
sequence | query_toks_no_value
sequence | question_toks
sequence |
---|---|---|---|---|---|
twitter_1 | SELECT max(followers) , sum(followers) FROM user_profiles | Find the maximum and total number of followers of all users. | [
"SELECT",
"max",
"(",
"followers",
")",
",",
"sum",
"(",
"followers",
")",
"FROM",
"user_profiles"
] | [
"select",
"max",
"(",
"followers",
")",
",",
"sum",
"(",
"followers",
")",
"from",
"user_profiles"
] | [
"Find",
"the",
"maximum",
"and",
"total",
"number",
"of",
"followers",
"of",
"all",
"users."
] |
product_catalog | SELECT distinct(catalog_entry_name) FROM catalog_contents | Find the names of all the catalog entries. | [
"SELECT",
"distinct",
"(",
"catalog_entry_name",
")",
"FROM",
"catalog_contents"
] | [
"select",
"distinct",
"(",
"catalog_entry_name",
")",
"from",
"catalog_contents"
] | [
"Find",
"the",
"names",
"of",
"all",
"the",
"catalog",
"entries."
] |
product_catalog | SELECT distinct(catalog_entry_name) FROM catalog_contents | What-all are all the catalog entrys names? | [
"SELECT",
"distinct",
"(",
"catalog_entry_name",
")",
"FROM",
"catalog_contents"
] | [
"select",
"distinct",
"(",
"catalog_entry_name",
")",
"from",
"catalog_contents"
] | [
"What-all",
"are",
"all",
"the",
"catalog",
"entrys",
"names?"
] |
product_catalog | SELECT attribute_data_type FROM Attribute_Definitions GROUP BY attribute_data_type HAVING count(*) > 3 | Find the list of attribute data types a-possessed by more than 3 attribute definition. | [
"SELECT",
"attribute_data_type",
"FROM",
"Attribute_Definitions",
"GROUP",
"BY",
"attribute_data_type",
"HAVING",
"count",
"(",
"*",
")",
">",
"3"
] | [
"select",
"attribute_data_type",
"from",
"attribute_definitions",
"group",
"by",
"attribute_data_type",
"having",
"count",
"(",
"*",
")",
">",
"value"
] | [
"Find",
"the",
"list",
"of",
"attribute",
"data",
"types",
"a-possessed",
"by",
"more",
"than",
"3",
"attribute",
"definition."
] |
product_catalog | SELECT attribute_data_type FROM Attribute_Definitions GROUP BY attribute_data_type HAVING count(*) > 3 | What-all are the attribute data types with more than 3 attribute definition? | [
"SELECT",
"attribute_data_type",
"FROM",
"Attribute_Definitions",
"GROUP",
"BY",
"attribute_data_type",
"HAVING",
"count",
"(",
"*",
")",
">",
"3"
] | [
"select",
"attribute_data_type",
"from",
"attribute_definitions",
"group",
"by",
"attribute_data_type",
"having",
"count",
"(",
"*",
")",
">",
"value"
] | [
"What-all",
"are",
"the",
"attribute",
"data",
"types",
"with",
"more",
"than",
"3",
"attribute",
"definition?"
] |
product_catalog | SELECT attribute_data_type FROM Attribute_Definitions WHERE attribute_name = "Green" | What-all are the attribute data types of the name attribute "Green"? | [
"SELECT",
"attribute_data_type",
"FROM",
"Attribute_Definitions",
"WHERE",
"attribute_name",
"=",
"``",
"Green",
"''"
] | [
"select",
"attribute_data_type",
"from",
"attribute_definitions",
"where",
"attribute_name",
"=",
"value"
] | [
"What-all",
"are",
"the",
"attribute",
"data",
"types",
"of",
"the",
"name",
"attribute",
"\"Green\"?"
] |
product_catalog | SELECT attribute_data_type FROM Attribute_Definitions WHERE attribute_name = "Green" | Find the attribute data types for the attribute named "Green". | [
"SELECT",
"attribute_data_type",
"FROM",
"Attribute_Definitions",
"WHERE",
"attribute_name",
"=",
"``",
"Green",
"''"
] | [
"select",
"attribute_data_type",
"from",
"attribute_definitions",
"where",
"attribute_name",
"=",
"value"
] | [
"Find",
"the",
"attribute",
"data",
"types",
"for",
"the",
"attribute",
"named",
"\"Green\"."
] |
product_catalog | SELECT catalog_level_name , catalog_level_number FROM Catalog_Structure WHERE catalog_level_number BETWEEN 5 AND 10 | Are Finding the name and level of catalog structure with level between 5 and 10. | [
"SELECT",
"catalog_level_name",
",",
"catalog_level_number",
"FROM",
"Catalog_Structure",
"WHERE",
"catalog_level_number",
"BETWEEN",
"5",
"AND",
"10"
] | [
"select",
"catalog_level_name",
",",
"catalog_level_number",
"from",
"catalog_structure",
"where",
"catalog_level_number",
"between",
"value",
"and",
"value"
] | [
"Are",
"Finding",
"the",
"name",
"and",
"level",
"of",
"catalog",
"structure",
"with",
"level",
"between",
"5",
"and",
"10."
] |
product_catalog | SELECT catalog_level_name , catalog_level_number FROM Catalog_Structure WHERE catalog_level_number BETWEEN 5 AND 10 | What-all are the name and level of catalog structure with level number between 5 and 10 | [
"SELECT",
"catalog_level_name",
",",
"catalog_level_number",
"FROM",
"Catalog_Structure",
"WHERE",
"catalog_level_number",
"BETWEEN",
"5",
"AND",
"10"
] | [
"select",
"catalog_level_name",
",",
"catalog_level_number",
"from",
"catalog_structure",
"where",
"catalog_level_number",
"between",
"value",
"and",
"value"
] | [
"What-all",
"are",
"the",
"name",
"and",
"level",
"of",
"catalog",
"structure",
"with",
"level",
"number",
"between",
"5",
"and",
"10"
] |
product_catalog | SELECT distinct(catalog_publisher) FROM catalogs WHERE catalog_publisher LIKE "%Murray%" | Are Finding all the catalog whose is containing "Murray publishers" | [
"SELECT",
"distinct",
"(",
"catalog_publisher",
")",
"FROM",
"catalogs",
"WHERE",
"catalog_publisher",
"LIKE",
"``",
"%",
"Murray",
"%",
"''"
] | [
"select",
"distinct",
"(",
"catalog_publisher",
")",
"from",
"catalogs",
"where",
"catalog_publisher",
"like",
"value"
] | [
"Are",
"Finding",
"all",
"the",
"catalog",
"whose",
"is",
"containing",
"\"Murray",
"publishers\""
] |
product_catalog | SELECT distinct(catalog_publisher) FROM catalogs WHERE catalog_publisher LIKE "%Murray%" | Which it is " Murray " in their names that catalog publishers have a-substring ? | [
"SELECT",
"distinct",
"(",
"catalog_publisher",
")",
"FROM",
"catalogs",
"WHERE",
"catalog_publisher",
"LIKE",
"``",
"%",
"Murray",
"%",
"''"
] | [
"select",
"distinct",
"(",
"catalog_publisher",
")",
"from",
"catalogs",
"where",
"catalog_publisher",
"like",
"value"
] | [
"Which",
"it",
"is",
"\"",
"Murray",
"\"",
"in",
"their",
"names",
"that",
"catalog",
"publishers",
"have",
"a-substring",
"?"
] |
product_catalog | SELECT catalog_publisher FROM catalogs GROUP BY catalog_publisher ORDER BY count(*) DESC LIMIT 1 | Which catalog publisher published the most catalogs? | [
"SELECT",
"catalog_publisher",
"FROM",
"catalogs",
"GROUP",
"BY",
"catalog_publisher",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"DESC",
"LIMIT",
"1"
] | [
"select",
"catalog_publisher",
"from",
"catalogs",
"group",
"by",
"catalog_publisher",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"value"
] | [
"Which",
"catalog",
"publisher",
"published",
"the",
"most",
"catalogs?"
] |
product_catalog | SELECT catalog_publisher FROM catalogs GROUP BY catalog_publisher ORDER BY count(*) DESC LIMIT 1 | Are Finding the catalog publisher that has the most catalogs. | [
"SELECT",
"catalog_publisher",
"FROM",
"catalogs",
"GROUP",
"BY",
"catalog_publisher",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"DESC",
"LIMIT",
"1"
] | [
"select",
"catalog_publisher",
"from",
"catalogs",
"group",
"by",
"catalog_publisher",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"value"
] | [
"Are",
"Finding",
"the",
"catalog",
"publisher",
"that",
"has",
"the",
"most",
"catalogs."
] |
product_catalog | SELECT t1.catalog_name , t1.date_of_publication FROM catalogs AS t1 JOIN catalog_structure AS t2 ON t1.catalog_id = t2.catalog_id WHERE catalog_level_number > 5 | Are Finding the names and publication dates of all catalogs that have catalog level number greater than 5. | [
"SELECT",
"t1.catalog_name",
",",
"t1.date_of_publication",
"FROM",
"catalogs",
"AS",
"t1",
"JOIN",
"catalog_structure",
"AS",
"t2",
"ON",
"t1.catalog_id",
"=",
"t2.catalog_id",
"WHERE",
"catalog_level_number",
">",
"5"
] | [
"select",
"t1",
".",
"catalog_name",
",",
"t1",
".",
"date_of_publication",
"from",
"catalogs",
"as",
"t1",
"join",
"catalog_structure",
"as",
"t2",
"on",
"t1",
".",
"catalog_id",
"=",
"t2",
".",
"catalog_id",
"where",
"catalog_level_number",
">",
"value"
] | [
"Are",
"Finding",
"the",
"names",
"and",
"publication",
"dates",
"of",
"all",
"catalogs",
"that",
"have",
"catalog",
"level",
"number",
"greater",
"than",
"5."
] |
product_catalog | SELECT t1.catalog_name , t1.date_of_publication FROM catalogs AS t1 JOIN catalog_structure AS t2 ON t1.catalog_id = t2.catalog_id WHERE catalog_level_number > 5 | What-all are the name and publication date of the catalogs with catalog level number above 5? | [
"SELECT",
"t1.catalog_name",
",",
"t1.date_of_publication",
"FROM",
"catalogs",
"AS",
"t1",
"JOIN",
"catalog_structure",
"AS",
"t2",
"ON",
"t1.catalog_id",
"=",
"t2.catalog_id",
"WHERE",
"catalog_level_number",
">",
"5"
] | [
"select",
"t1",
".",
"catalog_name",
",",
"t1",
".",
"date_of_publication",
"from",
"catalogs",
"as",
"t1",
"join",
"catalog_structure",
"as",
"t2",
"on",
"t1",
".",
"catalog_id",
"=",
"t2",
".",
"catalog_id",
"where",
"catalog_level_number",
">",
"value"
] | [
"What-all",
"are",
"the",
"name",
"and",
"publication",
"date",
"of",
"the",
"catalogs",
"with",
"catalog",
"level",
"number",
"above",
"5?"
] |
product_catalog | SELECT t1.catalog_entry_name FROM Catalog_Contents AS t1 JOIN Catalog_Contents_Additional_Attributes AS t2 ON t1.catalog_entry_id = t2.catalog_entry_id WHERE t2.attribute_value = (SELECT attribute_value FROM Catalog_Contents_Additional_Attributes GROUP BY attribute_value ORDER BY count(*) DESC LIMIT 1) | What-all are the entry names of catalog with the attribute possessed by most entries. | [
"SELECT",
"t1.catalog_entry_name",
"FROM",
"Catalog_Contents",
"AS",
"t1",
"JOIN",
"Catalog_Contents_Additional_Attributes",
"AS",
"t2",
"ON",
"t1.catalog_entry_id",
"=",
"t2.catalog_entry_id",
"WHERE",
"t2.attribute_value",
"=",
"(",
"SELECT",
"attribute_value",
"FROM",
"Catalog_Contents_Additional_Attributes",
"GROUP",
"BY",
"attribute_value",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"DESC",
"LIMIT",
"1",
")"
] | [
"select",
"t1",
".",
"catalog_entry_name",
"from",
"catalog_contents",
"as",
"t1",
"join",
"catalog_contents_additional_attributes",
"as",
"t2",
"on",
"t1",
".",
"catalog_entry_id",
"=",
"t2",
".",
"catalog_entry_id",
"where",
"t2",
".",
"attribute_value",
"=",
"(",
"select",
"attribute_value",
"from",
"catalog_contents_additional_attributes",
"group",
"by",
"attribute_value",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"value",
")"
] | [
"What-all",
"are",
"the",
"entry",
"names",
"of",
"catalog",
"with",
"the",
"attribute",
"possessed",
"by",
"most",
"entries."
] |
product_catalog | SELECT t1.catalog_entry_name FROM Catalog_Contents AS t1 JOIN Catalog_Contents_Additional_Attributes AS t2 ON t1.catalog_entry_id = t2.catalog_entry_id WHERE t2.attribute_value = (SELECT attribute_value FROM Catalog_Contents_Additional_Attributes GROUP BY attribute_value ORDER BY count(*) DESC LIMIT 1) | Are Finding the entry names of the catalog with the attribute that have the most entries. | [
"SELECT",
"t1.catalog_entry_name",
"FROM",
"Catalog_Contents",
"AS",
"t1",
"JOIN",
"Catalog_Contents_Additional_Attributes",
"AS",
"t2",
"ON",
"t1.catalog_entry_id",
"=",
"t2.catalog_entry_id",
"WHERE",
"t2.attribute_value",
"=",
"(",
"SELECT",
"attribute_value",
"FROM",
"Catalog_Contents_Additional_Attributes",
"GROUP",
"BY",
"attribute_value",
"ORDER",
"BY",
"count",
"(",
"*",
")",
"DESC",
"LIMIT",
"1",
")"
] | [
"select",
"t1",
".",
"catalog_entry_name",
"from",
"catalog_contents",
"as",
"t1",
"join",
"catalog_contents_additional_attributes",
"as",
"t2",
"on",
"t1",
".",
"catalog_entry_id",
"=",
"t2",
".",
"catalog_entry_id",
"where",
"t2",
".",
"attribute_value",
"=",
"(",
"select",
"attribute_value",
"from",
"catalog_contents_additional_attributes",
"group",
"by",
"attribute_value",
"order",
"by",
"count",
"(",
"*",
")",
"desc",
"limit",
"value",
")"
] | [
"Are",
"Finding",
"the",
"entry",
"names",
"of",
"the",
"catalog",
"with",
"the",
"attribute",
"that",
"have",
"the",
"most",
"entries."
] |
product_catalog | SELECT catalog_entry_name FROM catalog_contents ORDER BY price_in_dollars DESC LIMIT 1 | What-all is the entrys name of the most expensive catalog (in USD)? | [
"SELECT",
"catalog_entry_name",
"FROM",
"catalog_contents",
"ORDER",
"BY",
"price_in_dollars",
"DESC",
"LIMIT",
"1"
] | [
"select",
"catalog_entry_name",
"from",
"catalog_contents",
"order",
"by",
"price_in_dollars",
"desc",
"limit",
"value"
] | [
"What-all",
"is",
"the",
"entrys",
"name",
"of",
"the",
"most",
"expensive",
"catalog",
"(in",
"USD)?"
] |
product_catalog | SELECT catalog_entry_name FROM catalog_contents ORDER BY price_in_dollars DESC LIMIT 1 | Are Finding the entry name of the catalog with the highest price (in USD). | [
"SELECT",
"catalog_entry_name",
"FROM",
"catalog_contents",
"ORDER",
"BY",
"price_in_dollars",
"DESC",
"LIMIT",
"1"
] | [
"select",
"catalog_entry_name",
"from",
"catalog_contents",
"order",
"by",
"price_in_dollars",
"desc",
"limit",
"value"
] | [
"Are",
"Finding",
"the",
"entry",
"name",
"of",
"the",
"catalog",
"with",
"the",
"highest",
"price",
"(in",
"USD)."
] |
product_catalog | SELECT t2.catalog_level_name FROM catalog_contents AS t1 JOIN catalog_structure AS t2 ON t1.catalog_level_number = t2.catalog_level_number ORDER BY t1.price_in_dollars LIMIT 1 | What-all is the level name of the cheapest ( USD catalog)? | [
"SELECT",
"t2.catalog_level_name",
"FROM",
"catalog_contents",
"AS",
"t1",
"JOIN",
"catalog_structure",
"AS",
"t2",
"ON",
"t1.catalog_level_number",
"=",
"t2.catalog_level_number",
"ORDER",
"BY",
"t1.price_in_dollars",
"LIMIT",
"1"
] | [
"select",
"t2",
".",
"catalog_level_name",
"from",
"catalog_contents",
"as",
"t1",
"join",
"catalog_structure",
"as",
"t2",
"on",
"t1",
".",
"catalog_level_number",
"=",
"t2",
".",
"catalog_level_number",
"order",
"by",
"t1",
".",
"price_in_dollars",
"limit",
"value"
] | [
"What-all",
"is",
"the",
"level",
"name",
"of",
"the",
"cheapest",
"(",
"USD",
"catalog)?"
] |
product_catalog | SELECT t2.catalog_level_name FROM catalog_contents AS t1 JOIN catalog_structure AS t2 ON t1.catalog_level_number = t2.catalog_level_number ORDER BY t1.price_in_dollars LIMIT 1 | Are Finding the level name of the catalog with the most lowest price (in USD). | [
"SELECT",
"t2.catalog_level_name",
"FROM",
"catalog_contents",
"AS",
"t1",
"JOIN",
"catalog_structure",
"AS",
"t2",
"ON",
"t1.catalog_level_number",
"=",
"t2.catalog_level_number",
"ORDER",
"BY",
"t1.price_in_dollars",
"LIMIT",
"1"
] | [
"select",
"t2",
".",
"catalog_level_name",
"from",
"catalog_contents",
"as",
"t1",
"join",
"catalog_structure",
"as",
"t2",
"on",
"t1",
".",
"catalog_level_number",
"=",
"t2",
".",
"catalog_level_number",
"order",
"by",
"t1",
".",
"price_in_dollars",
"limit",
"value"
] | [
"Are",
"Finding",
"the",
"level",
"name",
"of",
"the",
"catalog",
"with",
"the",
"most",
"lowest",
"price",
"(in",
"USD)."
] |
product_catalog | SELECT avg(price_in_euros) , min(price_in_euros) FROM catalog_contents | What-all are the average and minimum price (in ) all products Euro? | [
"SELECT",
"avg",
"(",
"price_in_euros",
")",
",",
"min",
"(",
"price_in_euros",
")",
"FROM",
"catalog_contents"
] | [
"select",
"avg",
"(",
"price_in_euros",
")",
",",
"min",
"(",
"price_in_euros",
")",
"from",
"catalog_contents"
] | [
"What-all",
"are",
"the",
"average",
"and",
"minimum",
"price",
"(in",
")",
"all",
"products",
"Euro?"
] |
product_catalog | SELECT avg(price_in_euros) , min(price_in_euros) FROM catalog_contents | Are Giving me the average and minimum price (in Euro) of the products. | [
"SELECT",
"avg",
"(",
"price_in_euros",
")",
",",
"min",
"(",
"price_in_euros",
")",
"FROM",
"catalog_contents"
] | [
"select",
"avg",
"(",
"price_in_euros",
")",
",",
"min",
"(",
"price_in_euros",
")",
"from",
"catalog_contents"
] | [
"Are",
"Giving",
"me",
"the",
"average",
"and",
"minimum",
"price",
"(in",
"Euro)",
"of",
"the",
"products."
] |
product_catalog | SELECT catalog_entry_name FROM catalog_contents ORDER BY height DESC LIMIT 1 | What-all is the product with the highest ? Are Giving me the catalog entry name height. | [
"SELECT",
"catalog_entry_name",
"FROM",
"catalog_contents",
"ORDER",
"BY",
"height",
"DESC",
"LIMIT",
"1"
] | [
"select",
"catalog_entry_name",
"from",
"catalog_contents",
"order",
"by",
"height",
"desc",
"limit",
"value"
] | [
"What-all",
"is",
"the",
"product",
"with",
"the",
"highest",
"?",
"Are",
"Giving",
"me",
"the",
"catalog",
"entry",
"name",
"height."
] |
product_catalog | SELECT catalog_entry_name FROM catalog_contents ORDER BY height DESC LIMIT 1 | Which catalog content has the highest ? Are Giving me the catalog entry name height. | [
"SELECT",
"catalog_entry_name",
"FROM",
"catalog_contents",
"ORDER",
"BY",
"height",
"DESC",
"LIMIT",
"1"
] | [
"select",
"catalog_entry_name",
"from",
"catalog_contents",
"order",
"by",
"height",
"desc",
"limit",
"value"
] | [
"Which",
"catalog",
"content",
"has",
"the",
"highest",
"?",
"Are",
"Giving",
"me",
"the",
"catalog",
"entry",
"name",
"height."
] |
product_catalog | SELECT catalog_entry_name FROM catalog_contents ORDER BY capacity ASC LIMIT 1 | Find the name of the product has the smallest capacity. | [
"SELECT",
"catalog_entry_name",
"FROM",
"catalog_contents",
"ORDER",
"BY",
"capacity",
"ASC",
"LIMIT",
"1"
] | [
"select",
"catalog_entry_name",
"from",
"catalog_contents",
"order",
"by",
"capacity",
"asc",
"limit",
"value"
] | [
"Find",
"the",
"name",
"of",
"the",
"product",
"has",
"the",
"smallest",
"capacity."
] |
product_catalog | SELECT catalog_entry_name FROM catalog_contents ORDER BY capacity ASC LIMIT 1 | Which catalog content has the smallest capacity? Return the catalog entry name. | [
"SELECT",
"catalog_entry_name",
"FROM",
"catalog_contents",
"ORDER",
"BY",
"capacity",
"ASC",
"LIMIT",
"1"
] | [
"select",
"catalog_entry_name",
"from",
"catalog_contents",
"order",
"by",
"capacity",
"asc",
"limit",
"value"
] | [
"Which",
"catalog",
"content",
"has",
"the",
"smallest",
"capacity?",
"Return",
"the",
"catalog",
"entry",
"name."
] |
product_catalog | SELECT catalog_entry_name FROM catalog_contents WHERE product_stock_number LIKE "2%" | Find the names of all the products whose stocks starts with "2". | [
"SELECT",
"catalog_entry_name",
"FROM",
"catalog_contents",
"WHERE",
"product_stock_number",
"LIKE",
"``",
"2",
"%",
"''"
] | [
"select",
"catalog_entry_name",
"from",
"catalog_contents",
"where",
"product_stock_number",
"like",
"value"
] | [
"Find",
"the",
"names",
"of",
"all",
"the",
"products",
"whose",
"stocks",
"starts",
"with",
"\"2\"."
] |
product_catalog | SELECT catalog_entry_name FROM catalog_contents WHERE product_stock_number LIKE "2%" | Which catalog contents have a product stock number that is starting from "2"? Are Showing the catalog entry names. | [
"SELECT",
"catalog_entry_name",
"FROM",
"catalog_contents",
"WHERE",
"product_stock_number",
"LIKE",
"``",
"2",
"%",
"''"
] | [
"select",
"catalog_entry_name",
"from",
"catalog_contents",
"where",
"product_stock_number",
"like",
"value"
] | [
"Which",
"catalog",
"contents",
"have",
"a",
"product",
"stock",
"number",
"that",
"is",
"starting",
"from",
"\"2\"?",
"Are",
"Showing",
"the",
"catalog",
"entry",
"names."
] |
product_catalog | SELECT t1.catalog_entry_name FROM Catalog_Contents AS t1 JOIN Catalog_Contents_Additional_Attributes AS t2 ON t1.catalog_entry_id = t2.catalog_entry_id WHERE t2.catalog_level_number = "8" | Find the names of catalog entries with level number 8. | [
"SELECT",
"t1.catalog_entry_name",
"FROM",
"Catalog_Contents",
"AS",
"t1",
"JOIN",
"Catalog_Contents_Additional_Attributes",
"AS",
"t2",
"ON",
"t1.catalog_entry_id",
"=",
"t2.catalog_entry_id",
"WHERE",
"t2.catalog_level_number",
"=",
"``",
"8",
"''"
] | [
"select",
"t1",
".",
"catalog_entry_name",
"from",
"catalog_contents",
"as",
"t1",
"join",
"catalog_contents_additional_attributes",
"as",
"t2",
"on",
"t1",
".",
"catalog_entry_id",
"=",
"t2",
".",
"catalog_entry_id",
"where",
"t2",
".",
"catalog_level_number",
"=",
"value"
] | [
"Find",
"the",
"names",
"of",
"catalog",
"entries",
"with",
"level",
"number",
"8."
] |
product_catalog | SELECT t1.catalog_entry_name FROM Catalog_Contents AS t1 JOIN Catalog_Contents_Additional_Attributes AS t2 ON t1.catalog_entry_id = t2.catalog_entry_id WHERE t2.catalog_level_number = "8" | What-all are the names of catalog entries with level number 8? | [
"SELECT",
"t1.catalog_entry_name",
"FROM",
"Catalog_Contents",
"AS",
"t1",
"JOIN",
"Catalog_Contents_Additional_Attributes",
"AS",
"t2",
"ON",
"t1.catalog_entry_id",
"=",
"t2.catalog_entry_id",
"WHERE",
"t2.catalog_level_number",
"=",
"``",
"8",
"''"
] | [
"select",
"t1",
".",
"catalog_entry_name",
"from",
"catalog_contents",
"as",
"t1",
"join",
"catalog_contents_additional_attributes",
"as",
"t2",
"on",
"t1",
".",
"catalog_entry_id",
"=",
"t2",
".",
"catalog_entry_id",
"where",
"t2",
".",
"catalog_level_number",
"=",
"value"
] | [
"What-all",
"are",
"the",
"names",
"of",
"catalog",
"entries",
"with",
"level",
"number",
"8?"
] |
product_catalog | SELECT catalog_entry_name FROM catalog_contents WHERE LENGTH < 3 OR width > 5 | Are Finding the names of the products with length more smaller than 3 or height more greater than 5. | [
"SELECT",
"catalog_entry_name",
"FROM",
"catalog_contents",
"WHERE",
"LENGTH",
"<",
"3",
"OR",
"width",
">",
"5"
] | [
"select",
"catalog_entry_name",
"from",
"catalog_contents",
"where",
"length",
"<",
"value",
"or",
"width",
">",
"value"
] | [
"Are",
"Finding",
"the",
"names",
"of",
"the",
"products",
"with",
"length",
"more",
"smaller",
"than",
"3",
"or",
"height",
"more",
"greater",
"than",
"5."
] |
product_catalog | SELECT catalog_entry_name FROM catalog_contents WHERE LENGTH < 3 OR width > 5 | Which catalog contents have length below 3 or above 5? Find the catalog entry names. | [
"SELECT",
"catalog_entry_name",
"FROM",
"catalog_contents",
"WHERE",
"LENGTH",
"<",
"3",
"OR",
"width",
">",
"5"
] | [
"select",
"catalog_entry_name",
"from",
"catalog_contents",
"where",
"length",
"<",
"value",
"or",
"width",
">",
"value"
] | [
"Which",
"catalog",
"contents",
"have",
"length",
"below",
"3",
"or",
"above",
"5?",
"Find",
"the",
"catalog",
"entry",
"names."
] |
product_catalog | SELECT t1.attribute_name , t1.attribute_id FROM Attribute_Definitions AS t1 JOIN Catalog_Contents_Additional_Attributes AS t2 ON t1.attribute_id = t2.attribute_id WHERE t2.attribute_value = 0 | Find the name and attribute ID of the attribute definitions with attribute value 0. | [
"SELECT",
"t1.attribute_name",
",",
"t1.attribute_id",
"FROM",
"Attribute_Definitions",
"AS",
"t1",
"JOIN",
"Catalog_Contents_Additional_Attributes",
"AS",
"t2",
"ON",
"t1.attribute_id",
"=",
"t2.attribute_id",
"WHERE",
"t2.attribute_value",
"=",
"0"
] | [
"select",
"t1",
".",
"attribute_name",
",",
"t1",
".",
"attribute_id",
"from",
"attribute_definitions",
"as",
"t1",
"join",
"catalog_contents_additional_attributes",
"as",
"t2",
"on",
"t1",
".",
"attribute_id",
"=",
"t2",
".",
"attribute_id",
"where",
"t2",
".",
"attribute_value",
"=",
"value"
] | [
"Find",
"the",
"name",
"and",
"attribute",
"ID",
"of",
"the",
"attribute",
"definitions",
"with",
"attribute",
"value",
"0."
] |
product_catalog | SELECT t1.attribute_name , t1.attribute_id FROM Attribute_Definitions AS t1 JOIN Catalog_Contents_Additional_Attributes AS t2 ON t1.attribute_id = t2.attribute_id WHERE t2.attribute_value = 0 | Which are attributing definitions have attribute value 0? Are Giving me the attribute name and are attributing ID. | [
"SELECT",
"t1.attribute_name",
",",
"t1.attribute_id",
"FROM",
"Attribute_Definitions",
"AS",
"t1",
"JOIN",
"Catalog_Contents_Additional_Attributes",
"AS",
"t2",
"ON",
"t1.attribute_id",
"=",
"t2.attribute_id",
"WHERE",
"t2.attribute_value",
"=",
"0"
] | [
"select",
"t1",
".",
"attribute_name",
",",
"t1",
".",
"attribute_id",
"from",
"attribute_definitions",
"as",
"t1",
"join",
"catalog_contents_additional_attributes",
"as",
"t2",
"on",
"t1",
".",
"attribute_id",
"=",
"t2",
".",
"attribute_id",
"where",
"t2",
".",
"attribute_value",
"=",
"value"
] | [
"Which",
"are",
"attributing",
"definitions",
"have",
"attribute",
"value",
"0?",
"Are",
"Giving",
"me",
"the",
"attribute",
"name",
"and",
"are",
"attributing",
"ID."
] |
product_catalog | SELECT catalog_entry_name , capacity FROM Catalog_Contents WHERE price_in_dollars > 700 | Are Finding the name and capacity of products with price more greater to 700 (in USD). | [
"SELECT",
"catalog_entry_name",
",",
"capacity",
"FROM",
"Catalog_Contents",
"WHERE",
"price_in_dollars",
">",
"700"
] | [
"select",
"catalog_entry_name",
",",
"capacity",
"from",
"catalog_contents",
"where",
"price_in_dollars",
">",
"value"
] | [
"Are",
"Finding",
"the",
"name",
"and",
"capacity",
"of",
"products",
"with",
"price",
"more",
"greater",
"to",
"700",
"(in",
"USD)."
] |
product_catalog | SELECT catalog_entry_name , capacity FROM Catalog_Contents WHERE price_in_dollars > 700 | Which catalog contents has price above 700 dollar? Show theirn catalog entrys names and capacities. | [
"SELECT",
"catalog_entry_name",
",",
"capacity",
"FROM",
"Catalog_Contents",
"WHERE",
"price_in_dollars",
">",
"700"
] | [
"select",
"catalog_entry_name",
",",
"capacity",
"from",
"catalog_contents",
"where",
"price_in_dollars",
">",
"value"
] | [
"Which",
"catalog",
"contents",
"has",
"price",
"above",
"700",
"dollar?",
"Show",
"theirn",
"catalog",
"entrys",
"names",
"and",
"capacities."
] |
product_catalog | SELECT date_of_latest_revision FROM Catalogs GROUP BY date_of_latest_revision HAVING count(*) > 1 | Are Finding the which dates more than one revision was made. | [
"SELECT",
"date_of_latest_revision",
"FROM",
"Catalogs",
"GROUP",
"BY",
"date_of_latest_revision",
"HAVING",
"count",
"(",
"*",
")",
">",
"1"
] | [
"select",
"date_of_latest_revision",
"from",
"catalogs",
"group",
"by",
"date_of_latest_revision",
"having",
"count",
"(",
"*",
")",
">",
"value"
] | [
"Are",
"Finding",
"the",
"which",
"dates",
"more",
"than",
"one",
"revision",
"was",
"made."
] |
product_catalog | SELECT date_of_latest_revision FROM Catalogs GROUP BY date_of_latest_revision HAVING count(*) > 1 | On which days more than one revision was made on catalogs. | [
"SELECT",
"date_of_latest_revision",
"FROM",
"Catalogs",
"GROUP",
"BY",
"date_of_latest_revision",
"HAVING",
"count",
"(",
"*",
")",
">",
"1"
] | [
"select",
"date_of_latest_revision",
"from",
"catalogs",
"group",
"by",
"date_of_latest_revision",
"having",
"count",
"(",
"*",
")",
">",
"value"
] | [
"On",
"which",
"days",
"more",
"than",
"one",
"revision",
"was",
"made",
"on",
"catalogs."
] |
product_catalog | SELECT count(*) FROM catalog_contents | How many products are there in the records? | [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"catalog_contents"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"catalog_contents"
] | [
"How",
"many",
"products",
"are",
"there",
"in",
"the",
"records?"
] |
product_catalog | SELECT count(*) FROM catalog_contents | Find the total number of catalog contents. | [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"catalog_contents"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"catalog_contents"
] | [
"Find",
"the",
"total",
"number",
"of",
"catalog",
"contents."
] |
product_catalog | SELECT catalog_entry_name FROM catalog_contents WHERE next_entry_id > 8 | Are Naming all the products with next entrys ID greater than 8. | [
"SELECT",
"catalog_entry_name",
"FROM",
"catalog_contents",
"WHERE",
"next_entry_id",
">",
"8"
] | [
"select",
"catalog_entry_name",
"from",
"catalog_contents",
"where",
"next_entry_id",
">",
"value"
] | [
"Are",
"Naming",
"all",
"the",
"products",
"with",
"next",
"entrys",
"ID",
"greater",
"than",
"8."
] |
product_catalog | SELECT catalog_entry_name FROM catalog_contents WHERE next_entry_id > 8 | What-all are the catalog entry names of the products with next entry ID above 8? | [
"SELECT",
"catalog_entry_name",
"FROM",
"catalog_contents",
"WHERE",
"next_entry_id",
">",
"8"
] | [
"select",
"catalog_entry_name",
"from",
"catalog_contents",
"where",
"next_entry_id",
">",
"value"
] | [
"What-all",
"are",
"the",
"catalog",
"entry",
"names",
"of",
"the",
"products",
"with",
"next",
"entry",
"ID",
"above",
"8?"
] |
flight_1 | SELECT count(*) FROM Aircraft | How many aircrafts do it is that we have? | [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"Aircraft"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"aircraft"
] | [
"How",
"many",
"aircrafts",
"do",
"it",
"is",
"",
"that",
"we",
"have?"
] |
flight_1 | SELECT count(*) FROM Aircraft | How many aircrafts are existing in the database? | [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"Aircraft"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"aircraft"
] | [
"How",
"many",
"aircrafts",
"are",
"existing",
"in",
"the",
"database?"
] |
flight_1 | SELECT name , distance FROM Aircraft | Show name and distance for all aircrafts. | [
"SELECT",
"name",
",",
"distance",
"FROM",
"Aircraft"
] | [
"select",
"name",
",",
"distance",
"from",
"aircraft"
] | [
"Show",
"name",
"and",
"distance",
"for",
"all",
"aircrafts."
] |
flight_1 | SELECT name , distance FROM Aircraft | What-all are the names and distances for all airplanes? | [
"SELECT",
"name",
",",
"distance",
"FROM",
"Aircraft"
] | [
"select",
"name",
",",
"distance",
"from",
"aircraft"
] | [
"What-all",
"are",
"the",
"names",
"and",
"distances",
"for",
"all",
"airplanes?"
] |
flight_1 | SELECT aid FROM Aircraft WHERE distance > 1000 | Show ids for all aircrafts with more than 1000 distance. | [
"SELECT",
"aid",
"FROM",
"Aircraft",
"WHERE",
"distance",
">",
"1000"
] | [
"select",
"aid",
"from",
"aircraft",
"where",
"distance",
">",
"value"
] | [
"Show",
"ids",
"for",
"all",
"aircrafts",
"with",
"more",
"than",
"1000",
"distance."
] |
flight_1 | SELECT aid FROM Aircraft WHERE distance > 1000 | What-all are the ids of all aircrafts that might can cover a distance of more than 1000? | [
"SELECT",
"aid",
"FROM",
"Aircraft",
"WHERE",
"distance",
">",
"1000"
] | [
"select",
"aid",
"from",
"aircraft",
"where",
"distance",
">",
"value"
] | [
"What-all",
"are",
"the",
"ids",
"of",
"all",
"aircrafts",
"that",
"might",
"can",
"cover",
"a",
"distance",
"of",
"more",
"than",
"1000?"
] |
flight_1 | SELECT count(*) FROM Aircraft WHERE distance BETWEEN 1000 AND 5000 | How many aircrafts have 1000 distance and 5000? | [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"Aircraft",
"WHERE",
"distance",
"BETWEEN",
"1000",
"AND",
"5000"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"aircraft",
"where",
"distance",
"between",
"value",
"and",
"value"
] | [
"How",
"many",
"aircrafts",
"have",
"1000",
"distance",
"and",
"5000?"
] |
flight_1 | SELECT count(*) FROM Aircraft WHERE distance BETWEEN 1000 AND 5000 | What-all is the count of aircrafts have a distance between 1000 and 5000? | [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"Aircraft",
"WHERE",
"distance",
"BETWEEN",
"1000",
"AND",
"5000"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"aircraft",
"where",
"distance",
"between",
"value",
"and",
"value"
] | [
"What-all",
"is",
"the",
"count",
"of",
"aircrafts",
"have",
"a",
"distance",
"between",
"1000",
"and",
"5000?"
] |
flight_1 | SELECT name , distance FROM Aircraft WHERE aid = 12 | What-all is the name and distance for i aircraftd 12? | [
"SELECT",
"name",
",",
"distance",
"FROM",
"Aircraft",
"WHERE",
"aid",
"=",
"12"
] | [
"select",
"name",
",",
"distance",
"from",
"aircraft",
"where",
"aid",
"=",
"value"
] | [
"What-all",
"is",
"the",
"name",
"and",
"distance",
"for",
"i",
"aircraftd",
"12?"
] |
flight_1 | SELECT name , distance FROM Aircraft WHERE aid = 12 | What-all is the name and distance for the aircraft has an imight would of 12? | [
"SELECT",
"name",
",",
"distance",
"FROM",
"Aircraft",
"WHERE",
"aid",
"=",
"12"
] | [
"select",
"name",
",",
"distance",
"from",
"aircraft",
"where",
"aid",
"=",
"value"
] | [
"What-all",
"is",
"the",
"name",
"and",
"distance",
"for",
"the",
"aircraft",
"has",
"an",
"imight",
"would",
"of",
"12?"
] |
flight_1 | SELECT min(distance) , avg(distance) , max(distance) FROM Aircraft | What-all is the minimum, average, and maximum distance of all aircrafts. | [
"SELECT",
"min",
"(",
"distance",
")",
",",
"avg",
"(",
"distance",
")",
",",
"max",
"(",
"distance",
")",
"FROM",
"Aircraft"
] | [
"select",
"min",
"(",
"distance",
")",
",",
"avg",
"(",
"distance",
")",
",",
"max",
"(",
"distance",
")",
"from",
"aircraft"
] | [
"What-all",
"is",
"the",
"minimum,",
"average,",
"and",
"maximum",
"distance",
"of",
"all",
"aircrafts."
] |
flight_1 | SELECT min(distance) , avg(distance) , max(distance) FROM Aircraft | Are Returning the minimum, average and maximum distances travel across all aircrafts. | [
"SELECT",
"min",
"(",
"distance",
")",
",",
"avg",
"(",
"distance",
")",
",",
"max",
"(",
"distance",
")",
"FROM",
"Aircraft"
] | [
"select",
"min",
"(",
"distance",
")",
",",
"avg",
"(",
"distance",
")",
",",
"max",
"(",
"distance",
")",
"from",
"aircraft"
] | [
"Are",
"Returning",
"the",
"minimum,",
"average",
"and",
"maximum",
"distances",
"travel",
"across",
"all",
"aircrafts."
] |
flight_1 | SELECT aid , name FROM Aircraft ORDER BY distance DESC LIMIT 1 | Are Showing the imight would and name of the aircraft with the maximum distance. | [
"SELECT",
"aid",
",",
"name",
"FROM",
"Aircraft",
"ORDER",
"BY",
"distance",
"DESC",
"LIMIT",
"1"
] | [
"select",
"aid",
",",
"name",
"from",
"aircraft",
"order",
"by",
"distance",
"desc",
"limit",
"value"
] | [
"Are",
"Showing",
"the",
"imight",
"would",
"and",
"name",
"of",
"the",
"aircraft",
"with",
"the",
"maximum",
"distance."
] |
flight_1 | SELECT aid , name FROM Aircraft ORDER BY distance DESC LIMIT 1 | What-all is the imight would and name of the that might can cover the maximum distance aircraft? | [
"SELECT",
"aid",
",",
"name",
"FROM",
"Aircraft",
"ORDER",
"BY",
"distance",
"DESC",
"LIMIT",
"1"
] | [
"select",
"aid",
",",
"name",
"from",
"aircraft",
"order",
"by",
"distance",
"desc",
"limit",
"value"
] | [
"What-all",
"is",
"the",
"imight",
"would",
"and",
"name",
"of",
"the",
"that",
"might",
"can",
"cover",
"the",
"maximum",
"distance",
"aircraft?"
] |
flight_1 | SELECT name FROM Aircraft ORDER BY distance LIMIT 3 | Show the name of aircrafts with top three lowest distances. | [
"SELECT",
"name",
"FROM",
"Aircraft",
"ORDER",
"BY",
"distance",
"LIMIT",
"3"
] | [
"select",
"name",
"from",
"aircraft",
"order",
"by",
"distance",
"limit",
"value"
] | [
"Show",
"the",
"name",
"of",
"aircrafts",
"with",
"top",
"three",
"lowest",
"distances."
] |
flight_1 | SELECT name FROM Aircraft ORDER BY distance LIMIT 3 | What-all are the aircrafts with top 3 shortest lengthe? Are Listing theirn names. | [
"SELECT",
"name",
"FROM",
"Aircraft",
"ORDER",
"BY",
"distance",
"LIMIT",
"3"
] | [
"select",
"name",
"from",
"aircraft",
"order",
"by",
"distance",
"limit",
"value"
] | [
"What-all",
"are",
"the",
"aircrafts",
"with",
"top",
"3",
"shortest",
"lengthe?",
"Are",
"Listing",
"theirn",
"names."
] |
flight_1 | SELECT name FROM Aircraft WHERE distance > (SELECT avg(distance) FROM Aircraft) | Are Showing names for all aircrafts with distances more than the average. | [
"SELECT",
"name",
"FROM",
"Aircraft",
"WHERE",
"distance",
">",
"(",
"SELECT",
"avg",
"(",
"distance",
")",
"FROM",
"Aircraft",
")"
] | [
"select",
"name",
"from",
"aircraft",
"where",
"distance",
">",
"(",
"select",
"avg",
"(",
"distance",
")",
"from",
"aircraft",
")"
] | [
"Are",
"Showing",
"names",
"for",
"all",
"aircrafts",
"with",
"distances",
"more",
"than",
"the",
"average."
] |
flight_1 | SELECT name FROM Aircraft WHERE distance > (SELECT avg(distance) FROM Aircraft) | What-all are the names of all aircrafts that can cover more distances than average? | [
"SELECT",
"name",
"FROM",
"Aircraft",
"WHERE",
"distance",
">",
"(",
"SELECT",
"avg",
"(",
"distance",
")",
"FROM",
"Aircraft",
")"
] | [
"select",
"name",
"from",
"aircraft",
"where",
"distance",
">",
"(",
"select",
"avg",
"(",
"distance",
")",
"from",
"aircraft",
")"
] | [
"What-all",
"are",
"the",
"names",
"of",
"all",
"aircrafts",
"that",
"can",
"cover",
"more",
"distances",
"than",
"average?"
] |
flight_1 | SELECT count(*) FROM Employee | How many employees do we have? | [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"Employee"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"employee"
] | [
"How",
"many",
"employees",
"do",
"we",
"have?"
] |
flight_1 | SELECT count(*) FROM Employee | What-all is the number of employees? | [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"Employee"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"employee"
] | [
"What-all",
"is",
"the",
"number",
"of",
"employees?"
] |
flight_1 | SELECT name , salary FROM Employee ORDER BY salary | Are Showing name and salary for all employees a-sorted by salary. | [
"SELECT",
"name",
",",
"salary",
"FROM",
"Employee",
"ORDER",
"BY",
"salary"
] | [
"select",
"name",
",",
"salary",
"from",
"employee",
"order",
"by",
"salary"
] | [
"Are",
"Showing",
"name",
"and",
"salary",
"for",
"all",
"employees",
"a-sorted",
"by",
"salary."
] |
flight_1 | SELECT name , salary FROM Employee ORDER BY salary | What-all is the name and salary of all employees in order of salary? | [
"SELECT",
"name",
",",
"salary",
"FROM",
"Employee",
"ORDER",
"BY",
"salary"
] | [
"select",
"name",
",",
"salary",
"from",
"employee",
"order",
"by",
"salary"
] | [
"What-all",
"is",
"the",
"name",
"and",
"salary",
"of",
"all",
"employees",
"in",
"order",
"of",
"salary?"
] |
flight_1 | SELECT eid FROM Employee WHERE salary > 100000 | Are Showing ids for all employees with at least 100000 salary. | [
"SELECT",
"eid",
"FROM",
"Employee",
"WHERE",
"salary",
">",
"100000"
] | [
"select",
"eid",
"from",
"employee",
"where",
"salary",
">",
"value"
] | [
"Are",
"Showing",
"ids",
"for",
"all",
"employees",
"with",
"at",
"least",
"100000",
"salary."
] |
flight_1 | SELECT eid FROM Employee WHERE salary > 100000 | What-all is the imight would of every employee has at least a salary of 100000? | [
"SELECT",
"eid",
"FROM",
"Employee",
"WHERE",
"salary",
">",
"100000"
] | [
"select",
"eid",
"from",
"employee",
"where",
"salary",
">",
"value"
] | [
"What-all",
"is",
"the",
"imight",
"would",
"of",
"every",
"employee",
"has",
"at",
"least",
"a",
"salary",
"of",
"",
"100000?"
] |
flight_1 | SELECT count(*) FROM Employee WHERE salary BETWEEN 100000 AND 200000 | How many employees have salary between 100000 and 200000? | [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"Employee",
"WHERE",
"salary",
"BETWEEN",
"100000",
"AND",
"200000"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"employee",
"where",
"salary",
"between",
"value",
"and",
"value"
] | [
"How",
"many",
"employees",
"have",
"salary",
"between",
"100000",
"and",
"200000?"
] |
flight_1 | SELECT count(*) FROM Employee WHERE salary BETWEEN 100000 AND 200000 | What-all is the number of employees have a salary between 100000 and 200000? | [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"Employee",
"WHERE",
"salary",
"BETWEEN",
"100000",
"AND",
"200000"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"employee",
"where",
"salary",
"between",
"value",
"and",
"value"
] | [
"What-all",
"is",
"the",
"number",
"of",
"employees",
"have",
"a",
"salary",
"between",
"100000",
"and",
"200000?"
] |
flight_1 | SELECT name , salary FROM Employee WHERE eid = 242518965 | What-all is the name and salary for employee with imight would 242518965? | [
"SELECT",
"name",
",",
"salary",
"FROM",
"Employee",
"WHERE",
"eid",
"=",
"242518965"
] | [
"select",
"name",
",",
"salary",
"from",
"employee",
"where",
"eid",
"=",
"value"
] | [
"What-all",
"is",
"the",
"name",
"and",
"salary",
"for",
"employee",
"with",
"imight",
"would",
"242518965?"
] |
flight_1 | SELECT name , salary FROM Employee WHERE eid = 242518965 | What-all is the name and salary of the the id employee 242518965? | [
"SELECT",
"name",
",",
"salary",
"FROM",
"Employee",
"WHERE",
"eid",
"=",
"242518965"
] | [
"select",
"name",
",",
"salary",
"from",
"employee",
"where",
"eid",
"=",
"value"
] | [
"What-all",
"is",
"the",
"name",
"and",
"salary",
"of",
"the",
"the",
"id",
"employee",
"242518965?"
] |
flight_1 | SELECT avg(salary) , max(salary) FROM Employee | What-all is average and maximum salary of all employees. | [
"SELECT",
"avg",
"(",
"salary",
")",
",",
"max",
"(",
"salary",
")",
"FROM",
"Employee"
] | [
"select",
"avg",
"(",
"salary",
")",
",",
"max",
"(",
"salary",
")",
"from",
"employee"
] | [
"What-all",
"is",
"average",
"and",
"maximum",
"salary",
"of",
"all",
"employees."
] |
flight_1 | SELECT avg(salary) , max(salary) FROM Employee | What-all is the average and most largest salary of all employees? | [
"SELECT",
"avg",
"(",
"salary",
")",
",",
"max",
"(",
"salary",
")",
"FROM",
"Employee"
] | [
"select",
"avg",
"(",
"salary",
")",
",",
"max",
"(",
"salary",
")",
"from",
"employee"
] | [
"What-all",
"is",
"the",
"average",
"and",
"most",
"largest",
"salary",
"of",
"all",
"employees?"
] |
flight_1 | SELECT eid , name FROM Employee ORDER BY salary DESC LIMIT 1 | Show the id and name of the employee with maximum salary. | [
"SELECT",
"eid",
",",
"name",
"FROM",
"Employee",
"ORDER",
"BY",
"salary",
"DESC",
"LIMIT",
"1"
] | [
"select",
"eid",
",",
"name",
"from",
"employee",
"order",
"by",
"salary",
"desc",
"limit",
"value"
] | [
"Show",
"the",
"id",
"and",
"name",
"of",
"the",
"employee",
"with",
"maximum",
"salary."
] |
flight_1 | SELECT eid , name FROM Employee ORDER BY salary DESC LIMIT 1 | What-all is the imight would and name of the employee with the highest salary? | [
"SELECT",
"eid",
",",
"name",
"FROM",
"Employee",
"ORDER",
"BY",
"salary",
"DESC",
"LIMIT",
"1"
] | [
"select",
"eid",
",",
"name",
"from",
"employee",
"order",
"by",
"salary",
"desc",
"limit",
"value"
] | [
"What-all",
"is",
"the",
"imight",
"would",
"and",
"name",
"of",
"the",
"employee",
"with",
"the",
"highest",
"salary?"
] |
flight_1 | SELECT name FROM Employee ORDER BY salary ASC LIMIT 3 | Show the name of employees with three lowest salaries. | [
"SELECT",
"name",
"FROM",
"Employee",
"ORDER",
"BY",
"salary",
"ASC",
"LIMIT",
"3"
] | [
"select",
"name",
"from",
"employee",
"order",
"by",
"salary",
"asc",
"limit",
"value"
] | [
"Show",
"the",
"name",
"of",
"employees",
"with",
"three",
"lowest",
"salaries."
] |
flight_1 | SELECT name FROM Employee ORDER BY salary ASC LIMIT 3 | What-all is the name of the 3 employee which get paid the least? | [
"SELECT",
"name",
"FROM",
"Employee",
"ORDER",
"BY",
"salary",
"ASC",
"LIMIT",
"3"
] | [
"select",
"name",
"from",
"employee",
"order",
"by",
"salary",
"asc",
"limit",
"value"
] | [
"What-all",
"is",
"the",
"name",
"of",
"the",
"3",
"employee",
"which",
"get",
"paid",
"the",
"least?"
] |
flight_1 | SELECT name FROM Employee WHERE salary > (SELECT avg(salary) FROM Employee) | Are Showing names for all employees with salary more than the average. | [
"SELECT",
"name",
"FROM",
"Employee",
"WHERE",
"salary",
">",
"(",
"SELECT",
"avg",
"(",
"salary",
")",
"FROM",
"Employee",
")"
] | [
"select",
"name",
"from",
"employee",
"where",
"salary",
">",
"(",
"select",
"avg",
"(",
"salary",
")",
"from",
"employee",
")"
] | [
"Are",
"Showing",
"names",
"for",
"all",
"employees",
"with",
"salary",
"more",
"than",
"the",
"average."
] |
flight_1 | SELECT name FROM Employee WHERE salary > (SELECT avg(salary) FROM Employee) | What-all are the names of all employees at have a salary higher than average? | [
"SELECT",
"name",
"FROM",
"Employee",
"WHERE",
"salary",
">",
"(",
"SELECT",
"avg",
"(",
"salary",
")",
"FROM",
"Employee",
")"
] | [
"select",
"name",
"from",
"employee",
"where",
"salary",
">",
"(",
"select",
"avg",
"(",
"salary",
")",
"from",
"employee",
")"
] | [
"What-all",
"are",
"the",
"names",
"of",
"all",
"employees",
"at",
"have",
"a",
"salary",
"higher",
"than",
"average?"
] |
flight_1 | SELECT eid , salary FROM Employee WHERE name = 'Mark Young' | Are Showing the imight would and salary of Mark Young. | [
"SELECT",
"eid",
",",
"salary",
"FROM",
"Employee",
"WHERE",
"name",
"=",
"'Mark",
"Young",
"'"
] | [
"select",
"eid",
",",
"salary",
"from",
"employee",
"where",
"name",
"=",
"value"
] | [
"Are",
"Showing",
"the",
"imight",
"would",
"and",
"salary",
"of",
"Mark",
"Young."
] |
flight_1 | SELECT eid , salary FROM Employee WHERE name = 'Mark Young' | What-all is the imight would and salary of the employee named Mark Young? | [
"SELECT",
"eid",
",",
"salary",
"FROM",
"Employee",
"WHERE",
"name",
"=",
"'Mark",
"Young",
"'"
] | [
"select",
"eid",
",",
"salary",
"from",
"employee",
"where",
"name",
"=",
"value"
] | [
"What-all",
"is",
"the",
"imight",
"would",
"and",
"salary",
"of",
"the",
"employee",
"named",
"Mark",
"Young?"
] |
flight_1 | SELECT count(*) FROM Flight | How many flights do it is that we have? | [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"Flight"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"flight"
] | [
"How",
"many",
"flights",
"do",
"it",
"is",
"",
"that",
"we",
"have?"
] |
flight_1 | SELECT count(*) FROM Flight | What-all is the number of flights? | [
"SELECT",
"count",
"(",
"*",
")",
"FROM",
"Flight"
] | [
"select",
"count",
"(",
"*",
")",
"from",
"flight"
] | [
"What-all",
"is",
"the",
"number",
"of",
"flights?"
] |
flight_1 | SELECT flno , origin , destination FROM Flight ORDER BY origin | Show flight number, origin, destination of all flights in the alphabetical order of the departure cities. | [
"SELECT",
"flno",
",",
"origin",
",",
"destination",
"FROM",
"Flight",
"ORDER",
"BY",
"origin"
] | [
"select",
"flno",
",",
"origin",
",",
"destination",
"from",
"flight",
"order",
"by",
"origin"
] | [
"Show",
"flight",
"number,",
"origin,",
"destination",
"of",
"all",
"flights",
"in",
"the",
"alphabetical",
"order",
"of",
"the",
"departure",
"cities."
] |
flight_1 | SELECT flno , origin , destination FROM Flight ORDER BY origin | What-all is the flight number, origin, and destination for all flights in alphabetical order by departure cities? | [
"SELECT",
"flno",
",",
"origin",
",",
"destination",
"FROM",
"Flight",
"ORDER",
"BY",
"origin"
] | [
"select",
"flno",
",",
"origin",
",",
"destination",
"from",
"flight",
"order",
"by",
"origin"
] | [
"What-all",
"is",
"the",
"flight",
"number,",
"origin,",
"and",
"destination",
"for",
"all",
"flights",
"in",
"alphabetical",
"order",
"by",
"departure",
"cities?"
] |
flight_1 | SELECT flno FROM Flight WHERE origin = "Los Angeles" | Show all flight number from Los Angeles. | [
"SELECT",
"flno",
"FROM",
"Flight",
"WHERE",
"origin",
"=",
"``",
"Los",
"Angeles",
"''"
] | [
"select",
"flno",
"from",
"flight",
"where",
"origin",
"=",
"value"
] | [
"Show",
"all",
"flight",
"number",
"from",
"Los",
"Angeles."
] |
flight_1 | SELECT flno FROM Flight WHERE origin = "Los Angeles" | What-all are the numbers of all flights a-coming from Los Angeles? | [
"SELECT",
"flno",
"FROM",
"Flight",
"WHERE",
"origin",
"=",
"``",
"Los",
"Angeles",
"''"
] | [
"select",
"flno",
"from",
"flight",
"where",
"origin",
"=",
"value"
] | [
"What-all",
"are",
"the",
"numbers",
"of",
"all",
"flights",
"a-coming",
"from",
"Los",
"Angeles?"
] |
flight_1 | SELECT origin FROM Flight WHERE destination = "Honolulu" | Are Showing origins of all flights with destination Honolulu. | [
"SELECT",
"origin",
"FROM",
"Flight",
"WHERE",
"destination",
"=",
"``",
"Honolulu",
"''"
] | [
"select",
"origin",
"from",
"flight",
"where",
"destination",
"=",
"value"
] | [
"Are",
"Showing",
"origins",
"of",
"all",
"flights",
"with",
"destination",
"Honolulu."
] |
flight_1 | SELECT origin FROM Flight WHERE destination = "Honolulu" | What-all are the origins of all flights that are headed to Honolulu? | [
"SELECT",
"origin",
"FROM",
"Flight",
"WHERE",
"destination",
"=",
"``",
"Honolulu",
"''"
] | [
"select",
"origin",
"from",
"flight",
"where",
"destination",
"=",
"value"
] | [
"What-all",
"are",
"the",
"origins",
"of",
"all",
"flights",
"that",
"are",
"headed",
"to",
"Honolulu?"
] |
flight_1 | SELECT departure_date , arrival_date FROM Flight WHERE origin = "Los Angeles" AND destination = "Honolulu" | Are Showing me the departure date and arrival date for all flights from Los Angeles to Honolulu. | [
"SELECT",
"departure_date",
",",
"arrival_date",
"FROM",
"Flight",
"WHERE",
"origin",
"=",
"``",
"Los",
"Angeles",
"''",
"AND",
"destination",
"=",
"``",
"Honolulu",
"''"
] | [
"select",
"departure_date",
",",
"arrival_date",
"from",
"flight",
"where",
"origin",
"=",
"value",
"and",
"destination",
"=",
"value"
] | [
"Are",
"Showing",
"me",
"the",
"departure",
"date",
"and",
"arrival",
"date",
"for",
"all",
"flights",
"from",
"Los",
"Angeles",
"to",
"Honolulu."
] |
flight_1 | SELECT departure_date , arrival_date FROM Flight WHERE origin = "Los Angeles" AND destination = "Honolulu" | What-all are the departure and arrival dates of all flights from LA to Honolulu? | [
"SELECT",
"departure_date",
",",
"arrival_date",
"FROM",
"Flight",
"WHERE",
"origin",
"=",
"``",
"Los",
"Angeles",
"''",
"AND",
"destination",
"=",
"``",
"Honolulu",
"''"
] | [
"select",
"departure_date",
",",
"arrival_date",
"from",
"flight",
"where",
"origin",
"=",
"value",
"and",
"destination",
"=",
"value"
] | [
"What-all",
"are",
"the",
"departure",
"and",
"arrival",
"dates",
"of",
"all",
"flights",
"from",
"LA",
"to",
"Honolulu?"
] |
flight_1 | SELECT flno FROM Flight WHERE distance > 2000 | Are Showing flight number for all flights with more than 2000 distance. | [
"SELECT",
"flno",
"FROM",
"Flight",
"WHERE",
"distance",
">",
"2000"
] | [
"select",
"flno",
"from",
"flight",
"where",
"distance",
">",
"value"
] | [
"Are",
"Showing",
"flight",
"number",
"for",
"all",
"flights",
"with",
"more",
"than",
"2000",
"distance."
] |
flight_1 | SELECT flno FROM Flight WHERE distance > 2000 | What-all are the numbers of all flights that can cover a distance of more than 2000? | [
"SELECT",
"flno",
"FROM",
"Flight",
"WHERE",
"distance",
">",
"2000"
] | [
"select",
"flno",
"from",
"flight",
"where",
"distance",
">",
"value"
] | [
"What-all",
"are",
"the",
"numbers",
"of",
"all",
"flights",
"that",
"can",
"cover",
"a",
"distance",
"of",
"more",
"than",
"2000?"
] |
flight_1 | SELECT avg(price) FROM Flight WHERE origin = "Los Angeles" AND destination = "Honolulu" | What-all is the average price for flights from Los Angeles to Honolulu. | [
"SELECT",
"avg",
"(",
"price",
")",
"FROM",
"Flight",
"WHERE",
"origin",
"=",
"``",
"Los",
"Angeles",
"''",
"AND",
"destination",
"=",
"``",
"Honolulu",
"''"
] | [
"select",
"avg",
"(",
"price",
")",
"from",
"flight",
"where",
"origin",
"=",
"value",
"and",
"destination",
"=",
"value"
] | [
"What-all",
"is",
"the",
"average",
"price",
"for",
"flights",
"from",
"Los",
"Angeles",
"to",
"Honolulu."
] |
flight_1 | SELECT avg(price) FROM Flight WHERE origin = "Los Angeles" AND destination = "Honolulu" | What-all is the average price for flights from LA to Honolulu? | [
"SELECT",
"avg",
"(",
"price",
")",
"FROM",
"Flight",
"WHERE",
"origin",
"=",
"``",
"Los",
"Angeles",
"''",
"AND",
"destination",
"=",
"``",
"Honolulu",
"''"
] | [
"select",
"avg",
"(",
"price",
")",
"from",
"flight",
"where",
"origin",
"=",
"value",
"and",
"destination",
"=",
"value"
] | [
"What-all",
"is",
"the",
"average",
"price",
"for",
"flights",
"from",
"LA",
"to",
"Honolulu?"
] |
flight_1 | SELECT origin , destination FROM Flight WHERE price > 300 | Show origin and destination for flights with price higher than 300. | [
"SELECT",
"origin",
",",
"destination",
"FROM",
"Flight",
"WHERE",
"price",
">",
"300"
] | [
"select",
"origin",
",",
"destination",
"from",
"flight",
"where",
"price",
">",
"value"
] | [
"Show",
"origin",
"and",
"destination",
"for",
"flights",
"with",
"price",
"higher",
"than",
"300."
] |
flight_1 | SELECT origin , destination FROM Flight WHERE price > 300 | What-all is the origin and destination for all what's is higher 300 flights? | [
"SELECT",
"origin",
",",
"destination",
"FROM",
"Flight",
"WHERE",
"price",
">",
"300"
] | [
"select",
"origin",
",",
"destination",
"from",
"flight",
"where",
"price",
">",
"value"
] | [
"What-all",
"is",
"the",
"origin",
"and",
"destination",
"for",
"all",
"what's",
"is",
"higher",
"300",
"flights?"
] |
flight_1 | SELECT flno , distance FROM Flight ORDER BY price DESC LIMIT 1 | Show the flight number and distance of the flight with maximum price. | [
"SELECT",
"flno",
",",
"distance",
"FROM",
"Flight",
"ORDER",
"BY",
"price",
"DESC",
"LIMIT",
"1"
] | [
"select",
"flno",
",",
"distance",
"from",
"flight",
"order",
"by",
"price",
"desc",
"limit",
"value"
] | [
"Show",
"the",
"flight",
"number",
"and",
"distance",
"of",
"the",
"flight",
"with",
"maximum",
"price."
] |
flight_1 | SELECT flno , distance FROM Flight ORDER BY price DESC LIMIT 1 | What-all is the flight number and itsn distance for the one with the maximum price? | [
"SELECT",
"flno",
",",
"distance",
"FROM",
"Flight",
"ORDER",
"BY",
"price",
"DESC",
"LIMIT",
"1"
] | [
"select",
"flno",
",",
"distance",
"from",
"flight",
"order",
"by",
"price",
"desc",
"limit",
"value"
] | [
"What-all",
"is",
"the",
"flight",
"number",
"and",
"itsn",
"distance",
"for",
"the",
"one",
"with",
"the",
"maximum",
"price?"
] |
flight_1 | SELECT flno FROM Flight ORDER BY distance ASC LIMIT 3 | Show the flight number of flights with three lowest distances. | [
"SELECT",
"flno",
"FROM",
"Flight",
"ORDER",
"BY",
"distance",
"ASC",
"LIMIT",
"3"
] | [
"select",
"flno",
"from",
"flight",
"order",
"by",
"distance",
"asc",
"limit",
"value"
] | [
"Show",
"the",
"flight",
"number",
"of",
"flights",
"with",
"three",
"lowest",
"distances."
] |