| [{"id": "multi_aggregation_0000", "db_id": "concert_singer", "query": "select avg(age) from singer where country = \"france\"", "query_toks": ["select", "avg", "(", "age", ")", "from", "singer", "where", "country", "=", "``", "france", "''"], "query_toks_no_value": ["select", "avg", "(", "age", ")", "from", "singer", "where", "country", "=", "value"], "question": "What is the average age of all singers from France?", "question_toks": ["What", "is", "the", "average", "age", "of", "all", "singers", "from", "France", "?"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[5, [0, [0, 13, false], null]]]], "where": [[false, 2, [0, [0, 10, false], null], "\"france\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "dev_0004", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0001", "db_id": "concert_singer", "query": "select min(age) from singer where country = \"france\"", "query_toks": ["select", "min", "(", "age", ")", "from", "singer", "where", "country", "=", "``", "france", "''"], "query_toks_no_value": ["select", "min", "(", "age", ")", "from", "singer", "where", "country", "=", "value"], "question": "What is the minimum age of singers from France?", "question_toks": ["What", "is", "the", "minimum", "age", "of", "singers", "from", "France", "?"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[2, [0, [0, 13, false], null]]]], "where": [[false, 2, [0, [0, 10, false], null], "\"france\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_multi_aggregation_0001", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0002", "db_id": "concert_singer", "query": "select max(age) from singer where country = \"france\"", "query_toks": ["select", "max", "(", "age", ")", "from", "singer", "where", "country", "=", "``", "france", "''"], "query_toks_no_value": ["select", "max", "(", "age", ")", "from", "singer", "where", "country", "=", "value"], "question": "What is the maximum age of all singers from France?", "question_toks": ["What", "is", "the", "maximum", "age", "of", "all", "singers", "from", "France", "?"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[1, [0, [0, 13, false], null]]]], "where": [[false, 2, [0, [0, 10, false], null], "\"france\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_multi_aggregation_0002", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0003", "db_id": "concert_singer", "query": "select avg(age) from singer where country = \"france\"", "query_toks": ["select", "avg", "(", "age", ")", "from", "singer", "where", "country", "=", "``", "france", "''"], "query_toks_no_value": ["select", "avg", "(", "age", ")", "from", "singer", "where", "country", "=", "value"], "question": "What is the average age for all French singers?", "question_toks": ["What", "is", "the", "average", "age", "for", "all", "French", "singers", "?"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[5, [0, [0, 13, false], null]]]], "where": [[false, 2, [0, [0, 10, false], null], "\"france\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "dev_0005", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0004", "db_id": "concert_singer", "query": "select min(age) from singer where country = \"france\"", "query_toks": ["select", "min", "(", "age", ")", "from", "singer", "where", "country", "=", "``", "france", "''"], "query_toks_no_value": ["select", "min", "(", "age", ")", "from", "singer", "where", "country", "=", "value"], "question": "What is the minimum age for all French singers?", "question_toks": ["What", "is", "the", "minimum", "age", "for", "all", "French", "singers", "?"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[2, [0, [0, 13, false], null]]]], "where": [[false, 2, [0, [0, 10, false], null], "\"france\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_multi_aggregation_0004", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0005", "db_id": "concert_singer", "query": "select max(age) from singer where country = \"france\"", "query_toks": ["select", "max", "(", "age", ")", "from", "singer", "where", "country", "=", "``", "france", "''"], "query_toks_no_value": ["select", "max", "(", "age", ")", "from", "singer", "where", "country", "=", "value"], "question": "What is the maximum age for all French singers?", "question_toks": ["What", "is", "the", "maximum", "age", "for", "all", "French", "singers", "?"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[1, [0, [0, 13, false], null]]]], "where": [[false, 2, [0, [0, 10, false], null], "\"france\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_multi_aggregation_0005", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0006", "db_id": "concert_singer", "query": "select avg(capacity) from stadium", "query_toks": ["select", "avg", "(", "capacity", ")", "from", "stadium"], "query_toks_no_value": ["select", "avg", "(", "capacity", ")", "from", "stadium"], "question": "What is the average capacities for all stadiums ?", "question_toks": ["What", "is", "the", "average", "capacities", "for", "all", "stadiums", "?"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[5, [0, [0, 4, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "dev_0017", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0007", "db_id": "concert_singer", "query": "select max(capacity) from stadium", "query_toks": ["select", "max", "(", "capacity", ")", "from", "stadium"], "query_toks_no_value": ["select", "max", "(", "capacity", ")", "from", "stadium"], "question": "What is the maximum capacities for all stadiums ?", "question_toks": ["What", "is", "the", "maximum", "capacities", "for", "all", "stadiums", "?"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[1, [0, [0, 4, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_multi_aggregation_0007", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0008", "db_id": "pets_1", "query": "select avg(pet_age), pettype from pets group by pettype", "query_toks": ["select", "avg", "(", "pet_age", "),", "pettype", "from", "pets", "group", "by", "pettype"], "query_toks_no_value": ["select", "avg", "(", "pet_age", "),", "pettype", "from", "pets", "group", "by", "pettype"], "question": "Find the average age for each type of pet.", "question_toks": ["Find", "the", "average", "age", "for", "each", "type", "of", "pet", "."], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[5, [0, [0, 13, false], null]], [0, [0, [0, 12, false], null]]]], "where": [], "groupBy": [[0, 12, false]], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "dev_0071", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0009", "db_id": "pets_1", "query": "select max(pet_age), pettype from pets group by pettype", "query_toks": ["select", "max", "(", "pet_age", "),", "pettype", "from", "pets", "group", "by", "pettype"], "query_toks_no_value": ["select", "max", "(", "pet_age", "),", "pettype", "from", "pets", "group", "by", "pettype"], "question": "Find the maximum age for each type of pet.", "question_toks": ["Find", "the", "maximum", "age", "for", "each", "type", "of", "pet", "."], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[1, [0, [0, 13, false], null]], [0, [0, [0, 12, false], null]]]], "where": [], "groupBy": [[0, 12, false]], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_multi_aggregation_0009", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0010", "db_id": "pets_1", "query": "select avg(pet_age), pettype from pets group by pettype", "query_toks": ["select", "avg", "(", "pet_age", "),", "pettype", "from", "pets", "group", "by", "pettype"], "query_toks_no_value": ["select", "avg", "(", "pet_age", "),", "pettype", "from", "pets", "group", "by", "pettype"], "question": "What is the average age for each pet type?", "question_toks": ["What", "is", "the", "average", "age", "for", "each", "pet", "type", "?"], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[5, [0, [0, 13, false], null]], [0, [0, [0, 12, false], null]]]], "where": [], "groupBy": [[0, 12, false]], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "dev_0072", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0011", "db_id": "pets_1", "query": "select max(pet_age) , pettype from pets group by pettype", "query_toks": ["select", "max", "(", "pet_age", ")", ",", "pettype", "from", "pets", "group", "by", "pettype"], "query_toks_no_value": ["select", "max", "(", "pet_age", ")", ",", "pettype", "from", "pets", "group", "by", "pettype"], "question": "What is the maximum age for each pet type?", "question_toks": ["What", "is", "the", "maximum", "age", "for", "each", "pet", "type", "?"], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[1, [0, [0, 13, false], null]], [0, [0, [0, 12, false], null]]]], "where": [], "groupBy": [[0, 12, false]], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_multi_aggregation_0011", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0012", "db_id": "employee_hire_evaluation", "query": "select min(number_products) from shop", "query_toks": ["select", "min", "(", "number_products", ")", "from", "shop"], "query_toks_no_value": ["select", "min", "(", "number_products", ")", "from", "shop"], "question": "find the minimum number of products of all stores.", "question_toks": ["find", "the", "minimum", "number", "of", "products", "of", "all", "stores", "."], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[2, [0, [0, 9, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "dev_0271", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0013", "db_id": "employee_hire_evaluation", "query": "select max(number_products) from shop", "query_toks": ["select", "max", "(", "number_products", ")", "from", "shop"], "query_toks_no_value": ["select", "max", "(", "number_products", ")", "from", "shop"], "question": "find the maximum number of products of all stores.", "question_toks": ["find", "the", "maximum", "number", "of", "products", "of", "all", "stores", "."], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[1, [0, [0, 9, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_multi_aggregation_0013", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0014", "db_id": "employee_hire_evaluation", "query": "select min(number_products) from shop", "query_toks": ["select", "min", "(", "number_products", ")", "from", "shop"], "query_toks_no_value": ["select", "min", "(", "number_products", ")", "from", "shop"], "question": "What is the minimum number of products across all the shops?", "question_toks": ["What", "is", "the", "minimum", "number", "of", "products", "across", "all", "the", "shops", "?"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[2, [0, [0, 9, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "dev_0272", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0015", "db_id": "employee_hire_evaluation", "query": "select max(number_products) from shop", "query_toks": ["select", "max", "(", "number_products", ")", "from", "shop"], "query_toks_no_value": ["select", "max", "(", "number_products", ")", "from", "shop"], "question": "What is the maximum number of products across all the shops?", "question_toks": ["What", "is", "the", "maximum", "number", "of", "products", "across", "all", "the", "shops", "?"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[1, [0, [0, 9, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_multi_aggregation_0015", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0016", "db_id": "museum_visit", "query": "select avg(num_of_ticket) from visit", "query_toks": ["select", "avg", "(", "num_of_ticket", ")", "from", "visit"], "query_toks_no_value": ["select", "avg", "(", "num_of_ticket", ")", "from", "visit"], "question": "What is the average number of tickets bought in all visits?", "question_toks": ["What", "is", "the", "average", "number", "of", "tickets", "bought", "in", "all", "visits", "?"], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[5, [0, [0, 11, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_multi_aggregation_0016", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0017", "db_id": "museum_visit", "query": "select max(num_of_ticket) from visit", "query_toks": ["select", "max", "(", "num_of_ticket", ")", "from", "visit"], "query_toks_no_value": ["select", "max", "(", "num_of_ticket", ")", "from", "visit"], "question": "What is the maximum number of tickets bought in all visits?", "question_toks": ["What", "is", "the", "maximum", "number", "of", "tickets", "bought", "in", "all", "visits", "?"], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[1, [0, [0, 11, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "dev_0424", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0018", "db_id": "battle_death", "query": "select max(killed) from death", "query_toks": ["select", "max", "(", "killed", ")", "from", "death"], "query_toks_no_value": ["select", "max", "(", "killed", ")", "from", "death"], "question": "What is maximum death toll caused each time?", "question_toks": ["What", "is", "maximum", "death", "toll", "caused", "each", "time", "?"], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[1, [0, [0, 17, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_multi_aggregation_0018", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0019", "db_id": "battle_death", "query": "select min(killed) from death", "query_toks": ["select", "min", "(", "killed", ")", "from", "death"], "query_toks_no_value": ["select", "min", "(", "killed", ")", "from", "death"], "question": "What is minimum death toll caused each time?", "question_toks": ["What", "is", "minimum", "death", "toll", "caused", "each", "time", "?"], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[2, [0, [0, 17, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "dev_0494", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0020", "db_id": "tvshow", "query": "select min(share) from tv_series", "query_toks": ["select", "min", "(", "share", ")", "from", "tv_series"], "query_toks_no_value": ["select", "min", "(", "share", ")", "from", "tv_series"], "question": "What is the minimum share of TV series?", "question_toks": ["What", "is", "the", "minimum", "share", "of", "TV", "series", "?"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[2, [0, [0, 14, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_multi_aggregation_0020", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0021", "db_id": "tvshow", "query": "select max(share) from tv_series", "query_toks": ["select", "max", "(", "share", ")", "from", "tv_series"], "query_toks_no_value": ["select", "max", "(", "share", ")", "from", "tv_series"], "question": "What is the maximum share of TV series?", "question_toks": ["What", "is", "the", "maximum", "share", "of", "TV", "series", "?"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[1, [0, [0, 14, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "dev_0617", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0022", "db_id": "tvshow", "query": "select max(share) from tv_series", "query_toks": ["select", "max", "(", "share", ")", "from", "tv_series"], "query_toks_no_value": ["select", "max", "(", "share", ")", "from", "tv_series"], "question": "What is the maximum share for the TV series?", "question_toks": ["What", "is", "the", "maximum", "share", "for", "the", "TV", "series", "?"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[1, [0, [0, 14, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "dev_0618", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0023", "db_id": "tvshow", "query": "select min(share) from tv_series", "query_toks": ["select", "min", "(", "share", ")", "from", "tv_series"], "query_toks_no_value": ["select", "min", "(", "share", ")", "from", "tv_series"], "question": "What is the minimum share for the TV series?", "question_toks": ["What", "is", "the", "minimum", "share", "for", "the", "TV", "series", "?"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[2, [0, [0, 14, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_multi_aggregation_0023", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0024", "db_id": "voter_1", "query": "select max(area_code) from area_code_state", "query_toks": ["select", "max", "(", "area_code", ")", "from", "area_code_state"], "query_toks_no_value": ["select", "max", "(", "area_code", ")", "from", "area_code_state"], "question": "What is the maximum values of area codes?", "question_toks": ["What", "is", "the", "maximum", "values", "of", "area", "codes", "?"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[1, [0, [0, 1, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "dev_0690", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0025", "db_id": "voter_1", "query": "select min(area_code) from area_code_state", "query_toks": ["select", "min", "(", "area_code", ")", "from", "area_code_state"], "query_toks_no_value": ["select", "min", "(", "area_code", ")", "from", "area_code_state"], "question": "What is the minimum values of area codes?", "question_toks": ["What", "is", "the", "minimum", "values", "of", "area", "codes", "?"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[2, [0, [0, 1, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_multi_aggregation_0025", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0026", "db_id": "orchestra", "query": "select max(share) from performance where type != \"live final\"", "query_toks": ["select", "max", "(", "share", ")", "from", "performance", "where", "type", "!=", "``", "live", "final", "''"], "query_toks_no_value": ["select", "max", "(", "share", ")", "from", "performance", "where", "type", "!=", "value", "final"], "question": "What is the maximum share of performances whose type is not \"Live final\".", "question_toks": ["What", "is", "the", "maximum", "share", "of", "performances", "whose", "type", "is", "not", "\"", "Live", "final", "\"."], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[1, [0, [0, 18, false], null]]]], "where": [[false, 7, [0, [0, 14, false], null], "\"live final\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "dev_0832", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0027", "db_id": "orchestra", "query": "select min(share) from performance where type != \"live final\"", "query_toks": ["select", "min", "(", "share", ")", "from", "performance", "where", "type", "!=", "``", "live", "final", "''"], "query_toks_no_value": ["select", "min", "(", "share", ")", "from", "performance", "where", "type", "!=", "value", "final"], "question": "What is the minimum share of performances whose type is not \"Live final\".", "question_toks": ["What", "is", "the", "minimum", "share", "of", "performances", "whose", "type", "is", "not", "\"", "Live", "final", "\"."], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[2, [0, [0, 18, false], null]]]], "where": [[false, 7, [0, [0, 14, false], null], "\"live final\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_multi_aggregation_0027", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0028", "db_id": "orchestra", "query": "select max(share) from performance where type != \"live final\"", "query_toks": ["select", "max", "(", "share", ")", "from", "performance", "where", "type", "!=", "``", "live", "final", "''"], "query_toks_no_value": ["select", "max", "(", "share", ")", "from", "performance", "where", "type", "!=", "value", "final"], "question": "Return the maximum share for performances that do not have the type \"Live final\".", "question_toks": ["Return", "the", "maximum", "share", "for", "performances", "that", "do", "not", "have", "the", "type", "\"", "Live", "final", "\"."], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[1, [0, [0, 18, false], null]]]], "where": [[false, 7, [0, [0, 14, false], null], "\"live final\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "dev_0833", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0029", "db_id": "orchestra", "query": "select min(share) from performance where type != \"live final\"", "query_toks": ["select", "min", "(", "share", ")", "from", "performance", "where", "type", "!=", "``", "live", "final", "''"], "query_toks_no_value": ["select", "min", "(", "share", ")", "from", "performance", "where", "type", "!=", "value", "final"], "question": "Return the minimum share for performances that do not have the type \"Live final\".", "question_toks": ["Return", "the", "minimum", "share", "for", "performances", "that", "do", "not", "have", "the", "type", "\"", "Live", "final", "\"."], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[2, [0, [0, 18, false], null]]]], "where": [[false, 7, [0, [0, 14, false], null], "\"live final\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_multi_aggregation_0029", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0030", "db_id": "department_management", "query": "select max(budget_in_billions) from department", "query_toks": ["select", "max", "(", "budget_in_billions", ")", "from", "department"], "query_toks_no_value": ["select", "max", "(", "budget_in_billions", ")", "from", "department"], "question": "What is the maximum budget of the departments?", "question_toks": ["What", "is", "the", "maximum", "budget", "of", "the", "departments", "?"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[1, [0, [0, 5, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_0003", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0031", "db_id": "department_management", "query": "select min(budget_in_billions) from department", "query_toks": ["select", "min", "(", "budget_in_billions", ")", "from", "department"], "query_toks_no_value": ["select", "min", "(", "budget_in_billions", ")", "from", "department"], "question": "What is the minimum budget of the departments?", "question_toks": ["What", "is", "the", "minimum", "budget", "of", "the", "departments", "?"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[2, [0, [0, 5, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_multi_aggregation_0031", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0032", "db_id": "farm", "query": "select max(cows) from farm", "query_toks": ["select", "max", "(", "cows", ")", "from", "farm"], "query_toks_no_value": ["select", "max", "(", "cows", ")", "from", "farm"], "question": "What is the maximum number of cows across all farms.", "question_toks": ["What", "is", "the", "maximum", "number", "of", "cows", "across", "all", "farms", "."], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[1, [0, [0, 14, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_0026", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0033", "db_id": "farm", "query": "select min(cows) from farm", "query_toks": ["select", "min", "(", "cows", ")", "from", "farm"], "query_toks_no_value": ["select", "min", "(", "cows", ")", "from", "farm"], "question": "What is the minimum number of cows across all farms.", "question_toks": ["What", "is", "the", "minimum", "number", "of", "cows", "across", "all", "farms", "."], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[2, [0, [0, 14, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_multi_aggregation_0033", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0034", "db_id": "farm", "query": "select max(cows) from farm", "query_toks": ["select", "max", "(", "cows", ")", "from", "farm"], "query_toks_no_value": ["select", "max", "(", "cows", ")", "from", "farm"], "question": "Return the maximum number of cows across all farms.", "question_toks": ["Return", "the", "maximum", "number", "of", "cows", "across", "all", "farms", "."], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[1, [0, [0, 14, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_0027", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0035", "db_id": "farm", "query": "select min(cows) from farm", "query_toks": ["select", "min", "(", "cows", ")", "from", "farm"], "query_toks_no_value": ["select", "min", "(", "cows", ")", "from", "farm"], "question": "Return the minimum number of cows across all farms.", "question_toks": ["Return", "the", "minimum", "number", "of", "cows", "across", "all", "farms", "."], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[2, [0, [0, 14, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_multi_aggregation_0035", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0036", "db_id": "bike_1", "query": "select sum(duration) from trip where bike_id = 636", "query_toks": ["select", "sum", "(", "duration", ")", "from", "trip", "where", "bike_id", "=", "636"], "query_toks_no_value": ["select", "sum", "(", "duration", ")", "from", "trip", "where", "bike_id", "=", "value"], "question": "What is the total duration of trips with bike id 636?", "question_toks": ["What", "is", "the", "total", "duration", "of", "trips", "with", "bike", "id", "636", "?"], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[4, [0, [0, 13, false], null]]]], "where": [[false, 2, [0, [0, 20, false], null], 636.0, null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_0121", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0037", "db_id": "bike_1", "query": "select max(duration) from trip where bike_id = 636", "query_toks": ["select", "max", "(", "duration", ")", "from", "trip", "where", "bike_id", "=", "636"], "query_toks_no_value": ["select", "max", "(", "duration", ")", "from", "trip", "where", "bike_id", "=", "value"], "question": "What is the maximum duration of trips with bike id 636?", "question_toks": ["What", "is", "the", "maximum", "duration", "of", "trips", "with", "bike", "id", "636", "?"], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[1, [0, [0, 13, false], null]]]], "where": [[false, 2, [0, [0, 20, false], null], 636.0, null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_multi_aggregation_0037", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0038", "db_id": "bike_1", "query": "select sum(duration) from trip where bike_id = 636", "query_toks": ["select", "sum", "(", "duration", ")", "from", "trip", "where", "bike_id", "=", "636"], "query_toks_no_value": ["select", "sum", "(", "duration", ")", "from", "trip", "where", "bike_id", "=", "value"], "question": "What is the total duration for all trips with the bike id 636?", "question_toks": ["What", "is", "the", "total", "duration", "for", "all", "trips", "with", "the", "bike", "id", "636", "?"], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[4, [0, [0, 13, false], null]]]], "where": [[false, 2, [0, [0, 20, false], null], 636.0, null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_0122", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0039", "db_id": "bike_1", "query": "select max(duration) from trip where bike_id = 636", "query_toks": ["select", "max", "(", "duration", ")", "from", "trip", "where", "bike_id", "=", "636"], "query_toks_no_value": ["select", "max", "(", "duration", ")", "from", "trip", "where", "bike_id", "=", "value"], "question": "What is the maximum duration for all trips with the bike id 636?", "question_toks": ["What", "is", "the", "maximum", "duration", "for", "all", "trips", "with", "the", "bike", "id", "636", "?"], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[1, [0, [0, 13, false], null]]]], "where": [[false, 2, [0, [0, 20, false], null], 636.0, null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_multi_aggregation_0039", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0040", "db_id": "twitter_1", "query": "select max(followers) from user_profiles", "query_toks": ["select", "max", "(", "followers", ")", "from", "user_profiles"], "query_toks_no_value": ["select", "max", "(", "followers", ")", "from", "user_profiles"], "question": "Find the maximum number of followers of all users.", "question_toks": ["Find", "the", "maximum", "number", "of", "followers", "of", "all", "users", "."], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[1, [0, [0, 11, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_0300", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0041", "db_id": "twitter_1", "query": "select sum(followers) from user_profiles", "query_toks": ["select", "sum", "(", "followers", ")", "from", "user_profiles"], "query_toks_no_value": ["select", "sum", "(", "followers", ")", "from", "user_profiles"], "question": "Find the total number of followers of all users.", "question_toks": ["Find", "the", "total", "number", "of", "followers", "of", "all", "users", "."], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[4, [0, [0, 11, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_multi_aggregation_0041", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0042", "db_id": "product_catalog", "query": "select avg(price_in_euros) from catalog_contents", "query_toks": ["select", "avg", "(", "price_in_euros", ")", "from", "catalog_contents"], "query_toks_no_value": ["select", "avg", "(", "price_in_euros", ")", "from", "catalog_contents"], "question": "What is the average price (in Euro) of all products?", "question_toks": ["What", "is", "the", "average", "price", "(", "in", "Euro", ")", "of", "all", "products", "?"], "sql": {"from": {"table_units": [["table_unit", 3]], "conds": []}, "select": [false, [[5, [0, [0, 20, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_0321", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0043", "db_id": "product_catalog", "query": "select min(price_in_euros) from catalog_contents", "query_toks": ["select", "min", "(", "price_in_euros", ")", "from", "catalog_contents"], "query_toks_no_value": ["select", "min", "(", "price_in_euros", ")", "from", "catalog_contents"], "question": "What is the minimum price (in Euro) of all products?", "question_toks": ["What", "is", "the", "minimum", "price", "(", "in", "Euro", ")", "of", "all", "products", "?"], "sql": {"from": {"table_units": [["table_unit", 3]], "conds": []}, "select": [false, [[2, [0, [0, 20, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_multi_aggregation_0043", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0044", "db_id": "product_catalog", "query": "select avg(price_in_euros) from catalog_contents", "query_toks": ["select", "avg", "(", "price_in_euros", ")", "from", "catalog_contents"], "query_toks_no_value": ["select", "avg", "(", "price_in_euros", ")", "from", "catalog_contents"], "question": "Give me the average price (in Euro) of the products.", "question_toks": ["Give", "me", "the", "average", "price", "(", "in", "Euro", ")", "of", "the", "products", "."], "sql": {"from": {"table_units": [["table_unit", 3]], "conds": []}, "select": [false, [[5, [0, [0, 20, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_0322", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0045", "db_id": "product_catalog", "query": "select min(price_in_euros) from catalog_contents", "query_toks": ["select", "min", "(", "price_in_euros", ")", "from", "catalog_contents"], "query_toks_no_value": ["select", "min", "(", "price_in_euros", ")", "from", "catalog_contents"], "question": "Give me the minimum price (in Euro) of the products.", "question_toks": ["Give", "me", "the", "minimum", "price", "(", "in", "Euro", ")", "of", "the", "products", "."], "sql": {"from": {"table_units": [["table_unit", 3]], "conds": []}, "select": [false, [[2, [0, [0, 20, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_multi_aggregation_0045", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0046", "db_id": "flight_1", "query": "select min(distance) from aircraft", "query_toks": ["select", "min", "(", "distance", ")", "from", "aircraft"], "query_toks_no_value": ["select", "min", "(", "distance", ")", "from", "aircraft"], "question": "What is the minimum distance of all aircrafts.", "question_toks": ["What", "is", "the", "minimum", "distance", "of", "all", "aircrafts", "."], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[2, [0, [0, 11, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_0353", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0047", "db_id": "flight_1", "query": "select avg(distance) from aircraft", "query_toks": ["select", "avg", "(", "distance", ")", "from", "aircraft"], "query_toks_no_value": ["select", "avg", "(", "distance", ")", "from", "aircraft"], "question": "Return the average distances traveled across all aircrafts.", "question_toks": ["Return", "the", "average", "distances", "traveled", "across", "all", "aircrafts", "."], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[5, [0, [0, 11, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_0354", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0048", "db_id": "flight_1", "query": "select max(salary) from employee", "query_toks": ["select", "max", "(", "salary", ")", "from", "employee"], "query_toks_no_value": ["select", "max", "(", "salary", ")", "from", "employee"], "question": "What is maximum salary of all employees.", "question_toks": ["What", "is", "maximum", "salary", "of", "all", "employees", "."], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[1, [0, [0, 14, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_0371", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0049", "db_id": "flight_1", "query": "select max(salary) from employee", "query_toks": ["select", "max", "(", "salary", ")", "from", "employee"], "query_toks_no_value": ["select", "max", "(", "salary", ")", "from", "employee"], "question": "What is the largest salary of all employees?", "question_toks": ["What", "is", "the", "largest", "salary", "of", "all", "employees", "?"], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[1, [0, [0, 14, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_0372", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0050", "db_id": "flight_1", "query": "select avg(salary) from employee", "query_toks": ["select", "avg", "(", "salary", ")", "from", "employee"], "query_toks_no_value": ["select", "avg", "(", "salary", ")", "from", "employee"], "question": "What is the average salary of all employees?", "question_toks": ["What", "is", "the", "average", "salary", "of", "all", "employees", "?"], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[5, [0, [0, 14, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_multi_aggregation_0050", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0051", "db_id": "allergy_1", "query": "select max(age) from student", "query_toks": ["select", "max", "(", "age", ")", "from", "student"], "query_toks_no_value": ["select", "max", "(", "age", ")", "from", "student"], "question": "Show the maximum age of all students.", "question_toks": ["Show", "the", "maximum", "age", "of", "all", "students", "."], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[1, [0, [0, 8, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_0483", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0052", "db_id": "allergy_1", "query": "select avg(age) from student", "query_toks": ["select", "avg", "(", "age", ")", "from", "student"], "query_toks_no_value": ["select", "avg", "(", "age", ")", "from", "student"], "question": "What is the mean age across all students?", "question_toks": ["What", "is", "the", "mean", "age", "across", "all", "students", "?"], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[5, [0, [0, 8, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_0484", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0053", "db_id": "customers_card_transactions", "query": "select sum(transaction_amount) from financial_transactions", "query_toks": ["select", "sum", "(", "transaction_amount", ")", "from", "financial_transactions"], "query_toks_no_value": ["select", "sum", "(", "transaction_amount", ")", "from", "financial_transactions"], "question": "Return the total amount of all transactions.", "question_toks": ["Return", "the", "total", "amount", "of", "all", "transactions", "."], "sql": {"from": {"table_units": [["table_unit", 3]], "conds": []}, "select": [false, [[4, [0, [0, 25, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_0738", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0054", "db_id": "customers_card_transactions", "query": "select avg(transaction_amount) from financial_transactions", "query_toks": ["select", "avg", "(", "transaction_amount", ")", "from", "financial_transactions"], "query_toks_no_value": ["select", "avg", "(", "transaction_amount", ")", "from", "financial_transactions"], "question": "Return the mean transaction amount.", "question_toks": ["Return", "the", "mean", "transaction", "amount", "."], "sql": {"from": {"table_units": [["table_unit", 3]], "conds": []}, "select": [false, [[5, [0, [0, 25, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_multi_aggregation_0054", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0055", "db_id": "race_track", "query": "select avg(seating) from track", "query_toks": ["select", "avg", "(", "seating", ")", "from", "track"], "query_toks_no_value": ["select", "avg", "(", "seating", ")", "from", "track"], "question": "What is the average seating for all tracks.", "question_toks": ["What", "is", "the", "average", "seating", "for", "all", "tracks", "."], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[5, [0, [0, 9, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_0755", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0056", "db_id": "race_track", "query": "select max(seating) from track", "query_toks": ["select", "max", "(", "seating", ")", "from", "track"], "query_toks_no_value": ["select", "max", "(", "seating", ")", "from", "track"], "question": "Return the maximum seating across all tracks.", "question_toks": ["Return", "the", "maximum", "seating", "across", "all", "tracks", "."], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[1, [0, [0, 9, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_0756", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0057", "db_id": "chinook_1", "query": "select max(milliseconds) from track", "query_toks": ["select", "max", "(", "milliseconds", ")", "from", "track"], "query_toks_no_value": ["select", "max", "(", "milliseconds", ")", "from", "track"], "question": "What are the durations of the longest track in milliseconds?", "question_toks": ["What", "are", "the", "durations", "of", "the", "longest", "track", "in", "milliseconds", "?"], "sql": {"from": {"table_units": [["table_unit", 10]], "conds": []}, "select": [false, [[1, [0, [0, 62, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_0831", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0058", "db_id": "chinook_1", "query": "select min(milliseconds) from track", "query_toks": ["select", "min", "(", "milliseconds", ")", "from", "track"], "query_toks_no_value": ["select", "min", "(", "milliseconds", ")", "from", "track"], "question": "What are the durations of the shortest tracks in milliseconds?", "question_toks": ["What", "are", "the", "durations", "of", "the", "shortest", "tracks", "in", "milliseconds", "?"], "sql": {"from": {"table_units": [["table_unit", 10]], "conds": []}, "select": [false, [[2, [0, [0, 62, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_multi_aggregation_0058", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0059", "db_id": "chinook_1", "query": "select max(milliseconds) from track", "query_toks": ["select", "max", "(", "milliseconds", ")", "from", "track"], "query_toks_no_value": ["select", "max", "(", "milliseconds", ")", "from", "track"], "question": "Find the maximum durations of tracks in milliseconds.", "question_toks": ["Find", "the", "maximum", "durations", "of", "tracks", "in", "milliseconds", "."], "sql": {"from": {"table_units": [["table_unit", 10]], "conds": []}, "select": [false, [[1, [0, [0, 62, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_0832", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0060", "db_id": "chinook_1", "query": "select min(milliseconds) from genre as t1 join track as t2 on t1.genreid = t2.genreid where t1.name = \"pop\"", "query_toks": ["select", "min", "(", "milliseconds", ")", "from", "genre", "as", "t1", "join", "track", "as", "t2", "on", "t1", ".", "genreid", "=", "t2", ".", "genreid", "where", "t1", ".", "name", "=", "``", "pop", "''"], "query_toks_no_value": ["select", "min", "(", "milliseconds", ")", "from", "genre", "as", "t1", "join", "track", "as", "t2", "on", "t1", ".", "genreid", "=", "t2", ".", "genreid", "where", "t1", ".", "name", "=", "value"], "question": "Find the minimum millisecond lengths of pop tracks.", "question_toks": ["Find", "the", "minimum", "millisecond", "lengths", "of", "pop", "tracks", "."], "sql": {"from": {"table_units": [["table_unit", 4], ["table_unit", 10]], "conds": [[false, 2, [0, [0, 34, false], null], [0, 60, false], null]]}, "select": [false, [[2, [0, [0, 62, false], null]]]], "where": [[false, 2, [0, [0, 35, false], null], "\"pop\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_0882", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0061", "db_id": "insurance_fnol", "query": "select sum(settlement_amount) from settlements", "query_toks": ["select", "sum", "(", "settlement_amount", ")", "from", "settlements"], "query_toks_no_value": ["select", "sum", "(", "settlement_amount", ")", "from", "settlements"], "question": "Find the total amount of settlements.", "question_toks": ["Find", "the", "total", "amount", "of", "settlements", "."], "sql": {"from": {"table_units": [["table_unit", 6]], "conds": []}, "select": [false, [[4, [0, [0, 22, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_0901", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0062", "db_id": "insurance_fnol", "query": "select avg(settlement_amount) from settlements", "query_toks": ["select", "avg", "(", "settlement_amount", ")", "from", "settlements"], "query_toks_no_value": ["select", "avg", "(", "settlement_amount", ")", "from", "settlements"], "question": "Find the average amount of settlements.", "question_toks": ["Find", "the", "average", "amount", "of", "settlements", "."], "sql": {"from": {"table_units": [["table_unit", 6]], "conds": []}, "select": [false, [[5, [0, [0, 22, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_multi_aggregation_0062", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0063", "db_id": "insurance_fnol", "query": "select sum(settlement_amount) from settlements", "query_toks": ["select", "sum", "(", "settlement_amount", ")", "from", "settlements"], "query_toks_no_value": ["select", "sum", "(", "settlement_amount", ")", "from", "settlements"], "question": "Return the sum of all settlement amounts.", "question_toks": ["Return", "the", "sum", "of", "all", "settlement", "amounts", "."], "sql": {"from": {"table_units": [["table_unit", 6]], "conds": []}, "select": [false, [[4, [0, [0, 22, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_0902", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0064", "db_id": "insurance_fnol", "query": "select max(settlement_amount) from settlements", "query_toks": ["select", "max", "(", "settlement_amount", ")", "from", "settlements"], "query_toks_no_value": ["select", "max", "(", "settlement_amount", ")", "from", "settlements"], "question": "What are the maximum settlement amount on record?", "question_toks": ["What", "are", "the", "maximum", "settlement", "amount", "on", "record", "?"], "sql": {"from": {"table_units": [["table_unit", 6]], "conds": []}, "select": [false, [[1, [0, [0, 22, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_0927", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0065", "db_id": "insurance_fnol", "query": "select min(settlement_amount) from settlements", "query_toks": ["select", "min", "(", "settlement_amount", ")", "from", "settlements"], "query_toks_no_value": ["select", "min", "(", "settlement_amount", ")", "from", "settlements"], "question": "Find the minimum settlement amount.", "question_toks": ["Find", "the", "minimum", "settlement", "amount", "."], "sql": {"from": {"table_units": [["table_unit", 6]], "conds": []}, "select": [false, [[2, [0, [0, 22, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_0928", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0066", "db_id": "university_basketball", "query": "select sum(enrollment) from university", "query_toks": ["select", "sum", "(", "enrollment", ")", "from", "university"], "query_toks_no_value": ["select", "sum", "(", "enrollment", ")", "from", "university"], "question": "What is the total enrollment of all schools?", "question_toks": ["What", "is", "the", "total", "enrollment", "of", "all", "schools", "?"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[4, [0, [0, 18, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_0999", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0067", "db_id": "university_basketball", "query": "select min(enrollment) from university", "query_toks": ["select", "min", "(", "enrollment", ")", "from", "university"], "query_toks_no_value": ["select", "min", "(", "enrollment", ")", "from", "university"], "question": "Return the minimum enrollments across all schools.", "question_toks": ["Return", "the", "minimum", "enrollments", "across", "all", "schools", "."], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[2, [0, [0, 18, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_1000", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0068", "db_id": "phone_1", "query": "select max(t1.ram_mib) from chip_model as t1 join phone as t2 on t1.model_name = t2.chip_model where t2.company_name = \"nokia corporation\"", "query_toks": ["select", "max", "(", "t1", ".", "ram_mib", ")", "from", "chip_model", "as", "t1", "join", "phone", "as", "t2", "on", "t1", ".", "model_name", "=", "t2", ".", "chip_model", "where", "t2", ".", "company_name", "=", "``", "nokia", "corporation", "''"], "query_toks_no_value": ["select", "max", "(", "t1", ".", "ram_mib", ")", "from", "chip_model", "as", "t1", "join", "phone", "as", "t2", "on", "t1", ".", "model_name", "=", "t2", ".", "chip_model", "where", "t2", ".", "company_name", "=", "value", "corporation"], "question": "What is maximum RAM size of phone produced by company named \"Nokia Corporation\"?", "question_toks": ["What", "is", "maximum", "RAM", "size", "of", "phone", "produced", "by", "company", "named", "\"", "Nokia", "Corporation", "\"?"], "sql": {"from": {"table_units": [["table_unit", 0], ["table_unit", 2]], "conds": [[false, 2, [0, [0, 1, false], null], [0, 20, false], null]]}, "select": [false, [[1, [0, [0, 3, false], null]]]], "where": [[false, 2, [0, [0, 15, false], null], "\"nokia corporation\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_1027", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0069", "db_id": "phone_1", "query": "select min(used_kb) , avg(used_kb) from screen_mode", "query_toks": ["select", "min", "(", "used_kb", ")", ",", "avg", "(", "used_kb", ")", "from", "screen_mode"], "query_toks_no_value": ["select", "min", "(", "used_kb", ")", ",", "avg", "(", "used_kb", ")", "from", "screen_mode"], "question": "List the minimum and average number of used kb in screen mode.", "question_toks": ["List", "the", "minimum", "and", "average", "number", "of", "used", "kb", "in", "screen", "mode", "."], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[2, [0, [0, 12, false], null]], [5, [0, [0, 12, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_1035", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0070", "db_id": "election_representative", "query": "select min(vote_percent) from election", "query_toks": ["select", "min", "(", "vote_percent", ")", "from", "election"], "query_toks_no_value": ["select", "min", "(", "vote_percent", ")", "from", "election"], "question": "What are the minimum vote percents of elections?", "question_toks": ["What", "are", "the", "minimum", "vote", "percents", "of", "elections", "?"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[2, [0, [0, 5, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_1177", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0071", "db_id": "apartment_rentals", "query": "select max(bathroom_count) from apartments", "query_toks": ["select", "max", "(", "bathroom_count", ")", "from", "apartments"], "query_toks_no_value": ["select", "max", "(", "bathroom_count", ")", "from", "apartments"], "question": "What is the maximum number of bathrooms of all the apartments?", "question_toks": ["What", "is", "the", "maximum", "number", "of", "bathrooms", "of", "all", "the", "apartments", "?"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[1, [0, [0, 12, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_1206", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0072", "db_id": "apartment_rentals", "query": "select min(bathroom_count) from apartments", "query_toks": ["select", "min", "(", "bathroom_count", ")", "from", "apartments"], "query_toks_no_value": ["select", "min", "(", "bathroom_count", ")", "from", "apartments"], "question": "Give me the minimum bathroom count among all the apartments.", "question_toks": ["Give", "me", "the", "minimum", "bathroom", "count", "among", "all", "the", "apartments", "."], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[2, [0, [0, 12, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_1207", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0073", "db_id": "apartment_rentals", "query": "select apt_type_code , max(room_count) from apartments group by apt_type_code", "query_toks": ["select", "apt_type_code", ",", "max", "(", "room_count", ")", "from", "apartments", "group", "by", "apt_type_code"], "query_toks_no_value": ["select", "apt_type_code", ",", "max", "(", "room_count", ")", "from", "apartments", "group", "by", "apt_type_code"], "question": "Show each apartment type code, and the maximum number of rooms for each type.", "question_toks": ["Show", "each", "apartment", "type", "code", ",", "and", "the", "maximum", "number", "of", "rooms", "for", "each", "type", "."], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[0, [0, [0, 10, false], null]], [1, [0, [0, 14, false], null]]]], "where": [], "groupBy": [[0, 10, false]], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_1264", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0074", "db_id": "apartment_rentals", "query": "select apt_type_code , min(room_count) from apartments group by apt_type_code", "query_toks": ["select", "apt_type_code", ",", "min", "(", "room_count", ")", "from", "apartments", "group", "by", "apt_type_code"], "query_toks_no_value": ["select", "apt_type_code", ",", "min", "(", "room_count", ")", "from", "apartments", "group", "by", "apt_type_code"], "question": "Return each apartment type code along with the minimum number of rooms among each type.", "question_toks": ["Return", "each", "apartment", "type", "code", "along", "with", "the", "minimum", "number", "of", "rooms", "among", "each", "type", "."], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[0, [0, [0, 10, false], null]], [2, [0, [0, 14, false], null]]]], "where": [], "groupBy": [[0, 10, false]], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_1265", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0075", "db_id": "game_injury", "query": "select name, avg(home_games) from stadium group by name;", "query_toks": ["select", "avg", "(", "home_games", ")", "from", "stadium"], "query_toks_no_value": ["select", "avg", "(", "home_games", ")", "from", "stadium"], "question": "What are the average home games each stadium held?", "question_toks": ["What", "are", "the", "average", "home", "games", "each", "stadium", "held", "?"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[5, [0, [0, 3, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_1277", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0076", "db_id": "soccer_1", "query": "select min(height) from player;", "query_toks": ["select", "min", "(", "weight", ")", "from", "player"], "query_toks_no_value": ["select", "min", "(", "weight", ")", "from", "player"], "question": "What is the minimum height of all players?", "question_toks": ["What", "is", "the", "minimum", "height", "of", "all", "players", "?"], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[2, [0, [0, 51, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_1296", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0077", "db_id": "college_2", "query": "select avg(capacity) , building from classroom group by building", "query_toks": ["select", "avg", "(", "capacity", ")", ",", "building", "from", "classroom", "group", "by", "building"], "query_toks_no_value": ["select", "avg", "(", "capacity", ")", ",", "building", "from", "classroom", "group", "by", "building"], "question": "Find the average capacity among rooms in each building.", "question_toks": ["Find", "the", "average", "capacity", "among", "rooms", "in", "each", "building", "."], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[5, [0, [0, 3, false], null]], [0, [0, [0, 1, false], null]]]], "where": [], "groupBy": [[0, 1, false]], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_1394", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0078", "db_id": "college_2", "query": "select max(capacity) building from classroom group by building", "query_toks": ["select", "max", "(", "capacity", ")", "building", "from", "classroom", "group", "by", "building"], "query_toks_no_value": ["select", "max", "(", "capacity", ")", "building", "from", "classroom", "group", "by", "building"], "question": "Find the maximum capacity among rooms in each building.", "question_toks": ["Find", "the", "maximum", "capacity", "among", "rooms", "in", "each", "building", "."], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[1, [0, [0, 3, false], null]], [0, [0, [0, 1, false], null]]]], "where": [], "groupBy": [[0, 1, false]], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_multi_aggregation_0078", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0079", "db_id": "college_2", "query": "select max(capacity) , avg(capacity) , building from classroom group by building", "query_toks": ["select", "max", "(", "capacity", ")", ",", "avg", "(", "capacity", ")", ",", "building", "from", "classroom", "group", "by", "building"], "query_toks_no_value": ["select", "max", "(", "capacity", ")", ",", "avg", "(", "capacity", ")", ",", "building", "from", "classroom", "group", "by", "building"], "question": "What is the greatest capacity for rooms in each building?", "question_toks": ["What", "is", "the", "greatest", "capacity", "for", "rooms", "in", "each", "building", "?"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[1, [0, [0, 3, false], null]], [5, [0, [0, 3, false], null]], [0, [0, [0, 1, false], null]]]], "where": [], "groupBy": [[0, 1, false]], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_1395", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0080", "db_id": "college_2", "query": "select avg(capacity) , building from classroom group by building", "query_toks": ["select", "avg", "(", "capacity", ")", ",", "building", "from", "classroom", "group", "by", "building"], "query_toks_no_value": ["select", "avg", "(", "capacity", ")", ",", "building", "from", "classroom", "group", "by", "building"], "question": "What is the average capacity for rooms in each building?", "question_toks": ["What", "is", "the", "average", "capacity", "for", "rooms", "in", "each", "building", "?"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[5, [0, [0, 3, false], null]], [0, [0, [0, 1, false], null]]]], "where": [], "groupBy": [[0, 1, false]], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_multi_aggregation_0080", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0081", "db_id": "insurance_and_eClaims", "query": "select sum(amount_piad) from claim_headers", "query_toks": ["select", "sum", "(", "amount_piad", ")", "from", "claim_headers"], "query_toks_no_value": ["select", "sum", "(", "amount_piad", ")", "from", "claim_headers"], "question": "Find the total amount paid in claim headers.", "question_toks": ["Find", "the", "total", "amount", "paid", "in", "claim", "headers", "."], "sql": {"from": {"table_units": [["table_unit", 3]], "conds": []}, "select": [false, [[4, [0, [0, 17, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_1515", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0082", "db_id": "insurance_and_eClaims", "query": "select avg(amount_piad) from claim_headers", "query_toks": ["select", "avg", "(", "amount_piad", ")", "from", "claim_headers"], "query_toks_no_value": ["select", "avg", "(", "amount_piad", ")", "from", "claim_headers"], "question": "What are the average amount paid in claim headers?", "question_toks": ["What", "are", "the", "average", "amount", "paid", "in", "claim", "headers", "?"], "sql": {"from": {"table_units": [["table_unit", 3]], "conds": []}, "select": [false, [[5, [0, [0, 17, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_1516", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0083", "db_id": "customers_and_invoices", "query": "select sum(transaction_amount) from financial_transactions", "query_toks": ["select", "sum", "(", "transaction_amount", ")", "from", "financial_transactions"], "query_toks_no_value": ["select", "sum", "(", "transaction_amount", ")", "from", "financial_transactions"], "question": "What is the total transaction amount?", "question_toks": ["What", "is", "the", "total", "transaction", "amount", "?"], "sql": {"from": {"table_units": [["table_unit", 6]], "conds": []}, "select": [false, [[4, [0, [0, 40, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_1583", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0084", "db_id": "customers_and_invoices", "query": "select avg(transaction_amount) from financial_transactions", "query_toks": ["select", "avg", "(", "transaction_amount", ")", "from", "financial_transactions"], "query_toks_no_value": ["select", "avg", "(", "transaction_amount", ")", "from", "financial_transactions"], "question": "What is the average transaction amount?", "question_toks": ["What", "is", "the", "average", "transaction", "amount", "?"], "sql": {"from": {"table_units": [["table_unit", 6]], "conds": []}, "select": [false, [[5, [0, [0, 40, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_multi_aggregation_0084", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0085", "db_id": "customers_and_invoices", "query": "select min(transaction_amount) from financial_transactions", "query_toks": ["select", "min", "(", "transaction_amount", ")", "from", "financial_transactions"], "query_toks_no_value": ["select", "min", "(", "transaction_amount", ")", "from", "financial_transactions"], "question": "Return the minimum transaction amounts.", "question_toks": ["Return", "the", "minimum", "transaction", "amounts", "."], "sql": {"from": {"table_units": [["table_unit", 6]], "conds": []}, "select": [false, [[2, [0, [0, 40, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_multi_aggregation_0085", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0086", "db_id": "wedding", "query": "select max(age) from people", "query_toks": ["select", "max", "(", "age", ")", "from", "people"], "query_toks_no_value": ["select", "max", "(", "age", ")", "from", "people"], "question": "Show the maximum age for all people.", "question_toks": ["Show", "the", "maximum", "age", "for", "all", "people", "."], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[1, [0, [0, 5, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_1638", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0087", "db_id": "theme_gallery", "query": "select avg(age) from artist where country = \"united states\"", "query_toks": ["select", "avg", "(", "age", ")", "from", "artist", "where", "country", "=", "``", "united", "states", "''"], "query_toks_no_value": ["select", "avg", "(", "age", ")", "from", "artist", "where", "country", "=", "value", "states"], "question": "What is the average age of all artists from United States.", "question_toks": ["What", "is", "the", "average", "age", "of", "all", "artists", "from", "United", "States", "."], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[5, [0, [0, 5, false], null]]]], "where": [[false, 2, [0, [0, 3, false], null], "\"united states\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_1659", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0088", "db_id": "theme_gallery", "query": "select min(age) from artist where country = \"united states\"", "query_toks": ["select", "min", "(", "age", ")", "from", "artist", "where", "country", "=", "``", "united", "states", "''"], "query_toks_no_value": ["select", "min", "(", "age", ")", "from", "artist", "where", "country", "=", "value", "states"], "question": "Return the minimum ages across artists from the United States.", "question_toks": ["Return", "the", "minimum", "ages", "across", "artists", "from", "the", "United", "States", "."], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[2, [0, [0, 5, false], null]]]], "where": [[false, 2, [0, [0, 3, false], null], "\"united states\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_1660", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0089", "db_id": "theme_gallery", "query": "select max(ticket_price) from exhibition where year < 2009", "query_toks": ["select", "max", "(", "ticket_price", ")", "from", "exhibition", "where", "year", "<", "2009"], "query_toks_no_value": ["select", "max", "(", "ticket_price", ")", "from", "exhibition", "where", "year", "<", "value"], "question": "Show the maximum ticket prices for exhibitions for all years before 2009.", "question_toks": ["Show", "the", "maximum", "ticket", "prices", "for", "exhibitions", "for", "all", "years", "before", "2009", "."], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[1, [0, [0, 10, false], null]]]], "where": [[false, 4, [0, [0, 7, false], null], 2009.0, null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_1675", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0090", "db_id": "theme_gallery", "query": "select avg(ticket_price) from exhibition where year < 2009", "query_toks": ["select", "avg", "(", "ticket_price", ")", "from", "exhibition", "where", "year", "<", "2009"], "query_toks_no_value": ["select", "avg", "(", "ticket_price", ")", "from", "exhibition", "where", "year", "<", "value"], "question": "What are the average ticket prices for exhibitions that happened prior to 2009?", "question_toks": ["What", "are", "the", "average", "ticket", "prices", "for", "exhibitions", "that", "happened", "prior", "to", "2009", "?"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[5, [0, [0, 10, false], null]]]], "where": [[false, 4, [0, [0, 7, false], null], 2009.0, null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_1676", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0091", "db_id": "epinions_1", "query": "select max(rating) from review", "query_toks": ["select", "max", "(", "rating", ")", "from", "review"], "query_toks_no_value": ["select", "max", "(", "rating", ")", "from", "review"], "question": "Find the maximum rating of all reviews.", "question_toks": ["Find", "the", "maximum", "rating", "of", "all", "reviews", "."], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[1, [0, [0, 6, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_1693", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0092", "db_id": "browser_web", "query": "select min(market_share) from browser", "query_toks": ["select", "min", "(", "market_share", ")", "from", "browser"], "query_toks_no_value": ["select", "min", "(", "market_share", ")", "from", "browser"], "question": "What is the minimum market share of the listed browsers?", "question_toks": ["What", "is", "the", "minimum", "market", "share", "of", "the", "listed", "browsers", "?"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[2, [0, [0, 8, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_1829", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0093", "db_id": "school_finance", "query": "select sum(enrollment) from school", "query_toks": ["select", "sum", "(", "enrollment", ")", "from", "school"], "query_toks_no_value": ["select", "sum", "(", "enrollment", ")", "from", "school"], "question": "What is the total enrollment of all schools?", "question_toks": ["What", "is", "the", "total", "enrollment", "of", "all", "schools", "?"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[4, [0, [0, 5, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_1888", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0094", "db_id": "school_finance", "query": "select avg(enrollment) from school", "query_toks": ["select", "avg", "(", "enrollment", ")", "from", "school"], "query_toks_no_value": ["select", "avg", "(", "enrollment", ")", "from", "school"], "question": "What is the average enrollment of all schools?", "question_toks": ["What", "is", "the", "average", "enrollment", "of", "all", "schools", "?"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[5, [0, [0, 5, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_multi_aggregation_0094", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0095", "db_id": "school_finance", "query": "select min(enrollment) from school", "query_toks": ["select", "min", "(", "enrollment", ")", "from", "school"], "query_toks_no_value": ["select", "min", "(", "enrollment", ")", "from", "school"], "question": "Show the minimum enrollment of all schools.", "question_toks": ["Show", "the", "minimum", "enrollment", "of", "all", "schools", "."], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[2, [0, [0, 5, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_1891", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0096", "db_id": "protein_institute", "query": "select avg(floors) from building", "query_toks": ["select", "avg", "(", "floors", ")", "from", "building"], "query_toks_no_value": ["select", "avg", "(", "floors", ")", "from", "building"], "question": "What is the average number of floors for all buildings?", "question_toks": ["What", "is", "the", "average", "number", "of", "floors", "for", "all", "buildings", "?"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[5, [0, [0, 6, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_1913", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0097", "db_id": "cinema", "query": "select min(capacity) from cinema where openning_year >= 2011", "query_toks": ["select", "min", "(", "capacity", ")", "from", "cinema", "where", "openning_year", ">=", "2011"], "query_toks_no_value": ["select", "min", "(", "capacity", ")", "from", "cinema", "where", "openning_year", ">=", "value"], "question": "Show the minimum capacity for all the cinemas opened in year 2011 or later.", "question_toks": ["Show", "the", "minimum", "capacity", "for", "all", "the", "cinemas", "opened", "in", "year", "2011", "or", "later", "."], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[2, [0, [0, 11, false], null]]]], "where": [[false, 5, [0, [0, 10, false], null], 2011.0, null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_1940", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0098", "db_id": "products_for_hire", "query": "select max(booked_count) from products_booked", "query_toks": ["select", "max", "(", "booked_count", ")", "from", "products_booked"], "query_toks_no_value": ["select", "max", "(", "booked_count", ")", "from", "products_booked"], "question": "What are the maximum booked count for the products booked?", "question_toks": ["What", "are", "the", "maximum", "booked", "count", "for", "the", "products", "booked", "?"], "sql": {"from": {"table_units": [["table_unit", 5]], "conds": []}, "select": [false, [[1, [0, [0, 40, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_1971", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0099", "db_id": "gas_company", "query": "select avg(market_value) from company", "query_toks": ["select", "avg", "(", "market_value", ")", "from", "company"], "query_toks_no_value": ["select", "avg", "(", "market_value", ")", "from", "company"], "question": "Show average market value for all companies.", "question_toks": ["Show", "average", "market", "value", "for", "all", "companies", "."], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[5, [0, [0, 9, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_2001", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0100", "db_id": "gas_company", "query": "select company, min(market_value) from company group by company;", "query_toks": ["select", "min", "(", "market_value", ")", "from", "company"], "query_toks_no_value": ["select", "min", "(", "market_value", ")", "from", "company"], "question": "What is the minimum market value for every company?", "question_toks": ["What", "is", "the", "minimum", "market", "value", "for", "every", "company", "?"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[2, [0, [0, 9, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_2002", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0101", "db_id": "candidate_poll", "query": "select avg(weight), sex from people group by sex", "query_toks": ["select", "avg", "(", "weight", "),", "sex", "from", "people", "group", "by", "sex"], "query_toks_no_value": ["select", "avg", "(", "weight", "),", "sex", "from", "people", "group", "by", "sex"], "question": "Find the average weight for each gender.", "question_toks": ["Find", "the", "average", "weight", "for", "each", "gender", "."], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[5, [0, [0, 14, false], null]], [0, [0, [0, 10, false], null]]]], "where": [], "groupBy": [[0, 10, false]], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_2412", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0102", "db_id": "candidate_poll", "query": "select min(weight) , sex from people group by sex", "query_toks": ["select", "min", "(", "weight", ")", ",", "sex", "from", "people", "group", "by", "sex"], "query_toks_no_value": ["select", "min", "(", "weight", ")", ",", "sex", "from", "people", "group", "by", "sex"], "question": "What is the minimum weights for people of each sex?", "question_toks": ["What", "is", "the", "minimum", "weights", "for", "people", "of", "each", "sex", "?"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[2, [0, [0, 14, false], null]], [0, [0, [0, 10, false], null]]]], "where": [], "groupBy": [[0, 10, false]], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_2413", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0103", "db_id": "movie_1", "query": "select min(stars) from rating", "query_toks": ["select", "min", "(", "stars", ")", "from", "rating"], "query_toks_no_value": ["select", "min", "(", "stars", ")", "from", "rating"], "question": "What is the lowest rating star?", "question_toks": ["What", "is", "the", "lowest", "rating", "star", "?"], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[2, [0, [0, 9, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_2450", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0104", "db_id": "movie_1", "query": "select max(stars) from rating", "query_toks": ["select", "max", "(", "stars", ")", "from", "rating"], "query_toks_no_value": ["select", "max", "(", "stars", ")", "from", "rating"], "question": "What is the highest rating star?", "question_toks": ["What", "is", "the", "highest", "rating", "star", "?"], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[1, [0, [0, 9, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_multi_aggregation_0104", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0105", "db_id": "movie_1", "query": "select max(stars) from rating", "query_toks": ["select", "max", "(", "stars", ")", "from", "rating"], "query_toks_no_value": ["select", "max", "(", "stars", ")", "from", "rating"], "question": "What is the maximum number of stars a rating can receive?", "question_toks": ["What", "is", "the", "maximum", "number", "of", "stars", "a", "rating", "can", "receive", "?"], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[1, [0, [0, 9, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_2451", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0106", "db_id": "county_public_safety", "query": "select min(crime_rate) from county_public_safety", "query_toks": ["select", "min", "(", "crime_rate", ")", "from", "county_public_safety"], "query_toks_no_value": ["select", "min", "(", "crime_rate", ")", "from", "county_public_safety"], "question": "What is the minimum crime rate of counties?", "question_toks": ["What", "is", "the", "minimum", "crime", "rate", "of", "counties", "?"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[2, [0, [0, 7, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_2538", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0107", "db_id": "county_public_safety", "query": "select max(crime_rate) from county_public_safety", "query_toks": ["select", "max", "(", "crime_rate", ")", "from", "county_public_safety"], "query_toks_no_value": ["select", "max", "(", "crime_rate", ")", "from", "county_public_safety"], "question": "Return the maximum crime rates across all counties.", "question_toks": ["Return", "the", "maximum", "crime", "rates", "across", "all", "counties", "."], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[1, [0, [0, 7, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_2539", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0108", "db_id": "inn_1", "query": "select decor , avg(baseprice) from rooms group by decor", "query_toks": ["select", "decor", ",", "avg", "(", "baseprice", ")", "from", "rooms", "group", "by", "decor"], "query_toks_no_value": ["select", "decor", ",", "avg", "(", "baseprice", ")", "from", "rooms", "group", "by", "decor"], "question": "Find the average price of the rooms in different decor.", "question_toks": ["Find", "the", "average", "price", "of", "the", "rooms", "in", "different", "decor", "."], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 7, false], null]], [5, [0, [0, 6, false], null]]]], "where": [], "groupBy": [[0, 7, false]], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_2620", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0109", "db_id": "inn_1", "query": "select decor , min(baseprice) from rooms group by decor", "query_toks": ["select", "decor", ",", "min", "(", "baseprice", ")", "from", "rooms", "group", "by", "decor"], "query_toks_no_value": ["select", "decor", ",", "min", "(", "baseprice", ")", "from", "rooms", "group", "by", "decor"], "question": "What is the minimum price of the rooms for each different decor.", "question_toks": ["What", "is", "the", "minimum", "price", "of", "the", "rooms", "for", "each", "different", "decor", "."], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 7, false], null]], [2, [0, [0, 6, false], null]]]], "where": [], "groupBy": [[0, 7, false]], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_multi_aggregation_0109", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0110", "db_id": "storm_record", "query": "select avg(damage_millions_usd) from storm where max_speed > 1000", "query_toks": ["select", "avg", "(", "damage_millions_usd", ")", "from", "storm", "where", "max_speed", ">", "1000"], "query_toks_no_value": ["select", "avg", "(", "damage_millions_usd", ")", "from", "storm", "where", "max_speed", ">", "value"], "question": "Show the average damage for all storms with max speed higher than 1000.", "question_toks": ["Show", "the", "average", "damage", "for", "all", "storms", "with", "max", "speed", "higher", "than", "1000", "."], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[5, [0, [0, 5, false], null]]]], "where": [[false, 3, [0, [0, 4, false], null], 1000.0, null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_2702", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0111", "db_id": "storm_record", "query": "select max(damage_millions_usd) from storm where max_speed > 1000", "query_toks": ["select", "max", "(", "damage_millions_usd", ")", "from", "storm", "where", "max_speed", ">", "1000"], "query_toks_no_value": ["select", "max", "(", "damage_millions_usd", ")", "from", "storm", "where", "max_speed", ">", "value"], "question": "What is the maximum damage in millions for storms that had a max speed over 1000?", "question_toks": ["What", "is", "the", "maximum", "damage", "in", "millions", "for", "storms", "that", "had", "a", "max", "speed", "over", "1000", "?"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[1, [0, [0, 5, false], null]]]], "where": [[false, 3, [0, [0, 4, false], null], 1000.0, null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_2703", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0112", "db_id": "election", "query": "select min(population) from county", "query_toks": ["select", "min", "(", "population", ")", "from", "county"], "query_toks_no_value": ["select", "min", "(", "population", ")", "from", "county"], "question": "Return the minimum population among all counties.", "question_toks": ["Return", "the", "minimum", "population", "among", "all", "counties", "."], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[2, [0, [0, 3, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_2740", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0113", "db_id": "election", "query": "select max(population) from county", "query_toks": ["select", "max", "(", "population", ")", "from", "county"], "query_toks_no_value": ["select", "max", "(", "population", ")", "from", "county"], "question": "What is the maximum population of the counties?", "question_toks": ["What", "is", "the", "maximum", "population", "of", "the", "counties", "?"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[1, [0, [0, 3, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_2741", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0114", "db_id": "news_report", "query": "select avg(event_attendance) from event", "query_toks": ["select", "avg", "(", "event_attendance", ")", "from", "event"], "query_toks_no_value": ["select", "avg", "(", "event_attendance", ")", "from", "event"], "question": "what is the average attendance of all events?", "question_toks": ["what", "is", "the", "average", "attendance", "of", "all", "events", "?"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[5, [0, [0, 5, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_2817", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0115", "db_id": "behavior_monitoring", "query": "select max(monthly_rental) from student_addresses", "query_toks": ["select", "max", "(", "monthly_rental", ")", "from", "student_addresses"], "query_toks_no_value": ["select", "max", "(", "monthly_rental", ")", "from", "student_addresses"], "question": "Find the maximum monthly rental for all student addresses.", "question_toks": ["Find", "the", "maximum", "monthly", "rental", "for", "all", "student", "addresses", "."], "sql": {"from": {"table_units": [["table_unit", 9]], "conds": []}, "select": [false, [[1, [0, [0, 60, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_3098", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0116", "db_id": "college_1", "query": "select min(stu_gpa), dept_code from student group by dept_code", "query_toks": ["select", "min", "(", "stu_gpa", "),", "dept_code", "from", "student", "group", "by", "dept_code"], "query_toks_no_value": ["select", "min", "(", "stu_gpa", "),", "dept_code", "from", "student", "group", "by", "dept_code"], "question": "Find the minimum gpa of all students in each department.", "question_toks": ["Find", "the", "minimum", "gpa", "of", "all", "students", "in", "each", "department", "."], "sql": {"from": {"table_units": [["table_unit", 6]], "conds": []}, "select": [false, [[2, [0, [0, 39, false], null]], [0, [0, [0, 41, false], null]]]], "where": [], "groupBy": [[0, 41, false]], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_3221", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0117", "db_id": "college_1", "query": "select max(stu_gpa), dept_code from student group by dept_code", "query_toks": ["select", "max", "(", "stu_gpa", "),", "dept_code", "from", "student", "group", "by", "dept_code"], "query_toks_no_value": ["select", "max", "(", "stu_gpa", "),", "dept_code", "from", "student", "group", "by", "dept_code"], "question": "What is the highest student GPA for every department?", "question_toks": ["What", "is", "the", "highest", "student", "GPA", "for", "every", "department", "?"], "sql": {"from": {"table_units": [["table_unit", 6]], "conds": []}, "select": [false, [[1, [0, [0, 39, false], null]], [0, [0, [0, 41, false], null]]]], "where": [], "groupBy": [[0, 41, false]], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_3222", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0118", "db_id": "college_1", "query": "select min(stu_gpa), dept_code from student group by dept_code", "query_toks": ["select", "min", "(", "stu_gpa", "),", "dept_code", "from", "student", "group", "by", "dept_code"], "query_toks_no_value": ["select", "min", "(", "stu_gpa", "),", "dept_code", "from", "student", "group", "by", "dept_code"], "question": "What is the lowest student GPA for every department?", "question_toks": ["What", "is", "the", "lowest", "student", "GPA", "for", "every", "department", "?"], "sql": {"from": {"table_units": [["table_unit", 6]], "conds": []}, "select": [false, [[2, [0, [0, 39, false], null]], [0, [0, [0, 41, false], null]]]], "where": [], "groupBy": [[0, 41, false]], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_multi_aggregation_0118", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0119", "db_id": "college_1", "query": "select avg(stu_gpa), dept_code from student group by dept_code", "query_toks": ["select", "avg", "(", "stu_gpa", "),", "dept_code", "from", "student", "group", "by", "dept_code"], "query_toks_no_value": ["select", "avg", "(", "stu_gpa", "),", "dept_code", "from", "student", "group", "by", "dept_code"], "question": "What is the average student GPA for every department?", "question_toks": ["What", "is", "the", "average", "student", "GPA", "for", "every", "department", "?"], "sql": {"from": {"table_units": [["table_unit", 6]], "conds": []}, "select": [false, [[5, [0, [0, 39, false], null]], [0, [0, [0, 41, false], null]]]], "where": [], "groupBy": [[0, 41, false]], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_multi_aggregation_0119", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0120", "db_id": "sports_competition", "query": "select max(silver) from club_rank", "query_toks": ["select", "max", "(", "silver", ")", "from", "club_rank"], "query_toks_no_value": ["select", "max", "(", "silver", ")", "from", "club_rank"], "question": "What is the maximum number of silver medals for clubs.", "question_toks": ["What", "is", "the", "maximum", "number", "of", "silver", "medals", "for", "clubs", "."], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[1, [0, [0, 8, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_3347", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0121", "db_id": "sports_competition", "query": "select min(silver) from club_rank", "query_toks": ["select", "min", "(", "silver", ")", "from", "club_rank"], "query_toks_no_value": ["select", "min", "(", "silver", ")", "from", "club_rank"], "question": "What is the minimum number of silver medals for all the clubs?", "question_toks": ["What", "is", "the", "minimum", "number", "of", "silver", "medals", "for", "all", "the", "clubs", "?"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[2, [0, [0, 8, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_3348", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0122", "db_id": "music_1", "query": "select max(t2.resolution) from files as t1 join song as t2 on t1.f_id = t2.f_id where t1.duration like \"3:%\"", "query_toks": ["select", "max", "(", "t2", ".", "resolution", ")", "from", "files", "as", "t1", "join", "song", "as", "t2", "on", "t1", ".", "f_id", "=", "t2", ".", "f_id", "where", "t1", ".", "duration", "like", "``", "3", ":%\""], "query_toks_no_value": ["select", "max", "(", "t2", ".", "resolution", ")", "from", "files", "as", "t1", "join", "song", "as", "t2", "on", "t1", ".", "f_id", "=", "t2", ".", "f_id", "where", "t1", ".", "duration", "like", "value", ":%\""], "question": "What is the maximum resolution of songs whose duration is 3 minutes?", "question_toks": ["What", "is", "the", "maximum", "resolution", "of", "songs", "whose", "duration", "is", "3", "minutes", "?"], "sql": {"from": {"table_units": [["table_unit", 2], ["table_unit", 3]], "conds": [[false, 2, [0, [0, 8, false], null], [0, 16, false], null]]}, "select": [false, [[1, [0, [0, 21, false], null]]]], "where": [[false, 9, [0, [0, 11, false], null], "\"3:%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_3599", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0123", "db_id": "music_1", "query": "select min(t2.resolution) from files as t1 join song as t2 on t1.f_id = t2.f_id where t1.duration like \"3:%\"", "query_toks": ["select", "min", "(", "t2", ".", "resolution", ")", "from", "files", "as", "t1", "join", "song", "as", "t2", "on", "t1", ".", "f_id", "=", "t2", ".", "f_id", "where", "t1", ".", "duration", "like", "``", "3", ":%\""], "query_toks_no_value": ["select", "min", "(", "t2", ".", "resolution", ")", "from", "files", "as", "t1", "join", "song", "as", "t2", "on", "t1", ".", "f_id", "=", "t2", ".", "f_id", "where", "t1", ".", "duration", "like", "value", ":%\""], "question": "What is the minimum resolution of all songs that are approximately 3 minutes long?", "question_toks": ["What", "is", "the", "minimum", "resolution", "of", "all", "songs", "that", "are", "approximately", "3", "minutes", "long", "?"], "sql": {"from": {"table_units": [["table_unit", 2], ["table_unit", 3]], "conds": [[false, 2, [0, [0, 8, false], null], [0, 16, false], null]]}, "select": [false, [[2, [0, [0, 21, false], null]]]], "where": [[false, 9, [0, [0, 11, false], null], "\"3:%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_3600", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0124", "db_id": "mountain_photos", "query": "select avg(height) from mountain", "query_toks": ["select", "avg", "(", "height", ")", "from", "mountain"], "query_toks_no_value": ["select", "avg", "(", "height", ")", "from", "mountain"], "question": "What is the average height of the mountains?", "question_toks": ["What", "is", "the", "average", "height", "of", "the", "mountains", "?"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[5, [0, [0, 3, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_3714", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0125", "db_id": "hospital_1", "query": "select max(cost) from procedures", "query_toks": ["select", "max", "(", "cost", ")", "from", "procedures"], "query_toks_no_value": ["select", "max", "(", "cost", ")", "from", "procedures"], "question": "What is the highest cost of procedures?", "question_toks": ["What", "is", "the", "highest", "cost", "of", "procedures", "?"], "sql": {"from": {"table_units": [["table_unit", 3]], "conds": []}, "select": [false, [[1, [0, [0, 13, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_3966", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0126", "db_id": "hospital_1", "query": "select min(cost) from procedures", "query_toks": ["select", "min", "(", "cost", ")", "from", "procedures"], "query_toks_no_value": ["select", "min", "(", "cost", ")", "from", "procedures"], "question": "What is the lowest cost of procedures?", "question_toks": ["What", "is", "the", "lowest", "cost", "of", "procedures", "?"], "sql": {"from": {"table_units": [["table_unit", 3]], "conds": []}, "select": [false, [[2, [0, [0, 13, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_multi_aggregation_0126", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0127", "db_id": "hospital_1", "query": "select avg(cost) from procedures", "query_toks": ["select", "avg", "(", "cost", ")", "from", "procedures"], "query_toks_no_value": ["select", "avg", "(", "cost", ")", "from", "procedures"], "question": "What is the average cost of procedures?", "question_toks": ["What", "is", "the", "average", "cost", "of", "procedures", "?"], "sql": {"from": {"table_units": [["table_unit", 3]], "conds": []}, "select": [false, [[5, [0, [0, 13, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_multi_aggregation_0127", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0128", "db_id": "hospital_1", "query": "select max(cost) from procedures", "query_toks": ["select", "max", "(", "cost", ")", "from", "procedures"], "query_toks_no_value": ["select", "max", "(", "cost", ")", "from", "procedures"], "question": "Tell me the highest cost of procedures.", "question_toks": ["Tell", "me", "the", "highest", "cost", "of", "procedures", "."], "sql": {"from": {"table_units": [["table_unit", 3]], "conds": []}, "select": [false, [[1, [0, [0, 13, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_3967", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0129", "db_id": "company_employee", "query": "select max(market_value_in_billion) from company", "query_toks": ["select", "max", "(", "market_value_in_billion", ")", "from", "company"], "query_toks_no_value": ["select", "max", "(", "market_value_in_billion", ")", "from", "company"], "question": "What is the maximum market value of companies?", "question_toks": ["What", "is", "the", "maximum", "market", "value", "of", "companies", "?"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[1, [0, [0, 13, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_4100", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0130", "db_id": "film_rank", "query": "select min(number_cities) from market", "query_toks": ["select", "min", "(", "number_cities", ")", "from", "market"], "query_toks_no_value": ["select", "min", "(", "number_cities", ")", "from", "market"], "question": "What is the minimum number of cities in all markets.", "question_toks": ["What", "is", "the", "minimum", "number", "of", "cities", "in", "all", "markets", "."], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[2, [0, [0, 8, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_4122", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0131", "db_id": "film_rank", "query": "select max(number_cities) from market", "query_toks": ["select", "max", "(", "number_cities", ")", "from", "market"], "query_toks_no_value": ["select", "max", "(", "number_cities", ")", "from", "market"], "question": "Return the maximum number of cities across all markets.", "question_toks": ["Return", "the", "maximum", "number", "of", "cities", "across", "all", "markets", "."], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[1, [0, [0, 8, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_4123", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0132", "db_id": "company_office", "query": "select min(sales_billion) from companies where industry != \"banking\"", "query_toks": ["select", "min", "(", "sales_billion", ")", "from", "companies", "where", "industry", "!=", "``", "banking", "''"], "query_toks_no_value": ["select", "min", "(", "sales_billion", ")", "from", "companies", "where", "industry", "!=", "value"], "question": "What is the minimum sales of the companies whose industries are not \"Banking\".", "question_toks": ["What", "is", "the", "minimum", "sales", "of", "the", "companies", "whose", "industries", "are", "not", "\"", "Banking", "\"."], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[2, [0, [0, 11, false], null]]]], "where": [[false, 7, [0, [0, 10, false], null], "\"banking\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_4553", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0133", "db_id": "company_office", "query": "select max(sales_billion) from companies where industry != \"banking\"", "query_toks": ["select", "max", "(", "sales_billion", ")", "from", "companies", "where", "industry", "!=", "``", "banking", "''"], "query_toks_no_value": ["select", "max", "(", "sales_billion", ")", "from", "companies", "where", "industry", "!=", "value"], "question": "Find the maximum sales of the companies that are not in the \"Banking\" industry.", "question_toks": ["Find", "the", "maximum", "sales", "of", "the", "companies", "that", "are", "not", "in", "the", "\"", "Banking", "\"", "industry", "."], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[1, [0, [0, 11, false], null]]]], "where": [[false, 7, [0, [0, 10, false], null], "\"banking\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_4554", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0134", "db_id": "college_3", "query": "select min(gradepoint) from gradeconversion", "query_toks": ["select", "min", "(", "gradepoint", ")", "from", "gradeconversion"], "query_toks_no_value": ["select", "min", "(", "gradepoint", ")", "from", "gradeconversion"], "question": "Find the min grade point for all letter grade.", "question_toks": ["Find", "the", "min", "grade", "point", "for", "all", "letter", "grade", "."], "sql": {"from": {"table_units": [["table_unit", 7]], "conds": []}, "select": [false, [[2, [0, [0, 39, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_4649", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0135", "db_id": "college_3", "query": "select max(gradepoint) from gradeconversion", "query_toks": ["select", "max", "(", "gradepoint", ")", "from", "gradeconversion"], "query_toks_no_value": ["select", "max", "(", "gradepoint", ")", "from", "gradeconversion"], "question": "Find the max grade point for all letter grade.", "question_toks": ["Find", "the", "max", "grade", "point", "for", "all", "letter", "grade", "."], "sql": {"from": {"table_units": [["table_unit", 7]], "conds": []}, "select": [false, [[1, [0, [0, 39, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_multi_aggregation_0135", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0136", "db_id": "college_3", "query": "select max(gradepoint) from gradeconversion", "query_toks": ["select", "max", "(", "gradepoint", ")", "from", "gradeconversion"], "query_toks_no_value": ["select", "max", "(", "gradepoint", ")", "from", "gradeconversion"], "question": "What is the maximum grade points?", "question_toks": ["What", "is", "the", "maximum", "grade", "points", "?"], "sql": {"from": {"table_units": [["table_unit", 7]], "conds": []}, "select": [false, [[1, [0, [0, 39, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_4650", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0137", "db_id": "college_3", "query": "select min(t2.gradepoint) from enrolled_in as t1 join gradeconversion as t2 join student as t3 on t1.grade = t2.lettergrade and t1.stuid = t3.stuid where t3.city_code = \"nyc\"", "query_toks": ["select", "min", "(", "t2", ".", "gradepoint", ")", "from", "enrolled_in", "as", "t1", "join", "gradeconversion", "as", "t2", "join", "student", "as", "t3", "on", "t1", ".", "grade", "=", "t2", ".", "lettergrade", "and", "t1", ".", "stuid", "=", "t3", ".", "stuid", "where", "t3", ".", "city_code", "=", "``", "nyc", "''"], "query_toks_no_value": ["select", "min", "(", "t2", ".", "gradepoint", ")", "from", "enrolled_in", "as", "t1", "join", "gradeconversion", "as", "t2", "join", "student", "as", "t3", "on", "t1", ".", "grade", "=", "t2", ".", "lettergrade", "and", "t1", ".", "stuid", "=", "t3", ".", "stuid", "where", "t3", ".", "city_code", "=", "value"], "question": "What is the minimum grade point of students who live in NYC?", "question_toks": ["What", "is", "the", "minimum", "grade", "point", "of", "students", "who", "live", "in", "NYC", "?"], "sql": {"from": {"table_units": [["table_unit", 6], ["table_unit", 7], ["table_unit", 0]], "conds": [[false, 2, [0, [0, 37, false], null], [0, 38, false], null], "and", [false, 2, [0, [0, 35, false], null], [0, 1, false], null]]}, "select": [false, [[2, [0, [0, 39, false], null]]]], "where": [[false, 2, [0, [0, 8, false], null], "\"nyc\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_4701", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0138", "db_id": "college_3", "query": "select max(t2.gradepoint) from enrolled_in as t1 join gradeconversion as t2 join student as t3 on t1.grade = t2.lettergrade and t1.stuid = t3.stuid where t3.city_code = \"nyc\"", "query_toks": ["select", "max", "(", "t2", ".", "gradepoint", ")", "from", "enrolled_in", "as", "t1", "join", "gradeconversion", "as", "t2", "join", "student", "as", "t3", "on", "t1", ".", "grade", "=", "t2", ".", "lettergrade", "and", "t1", ".", "stuid", "=", "t3", ".", "stuid", "where", "t3", ".", "city_code", "=", "``", "nyc", "''"], "query_toks_no_value": ["select", "max", "(", "t2", ".", "gradepoint", ")", "from", "enrolled_in", "as", "t1", "join", "gradeconversion", "as", "t2", "join", "student", "as", "t3", "on", "t1", ".", "grade", "=", "t2", ".", "lettergrade", "and", "t1", ".", "stuid", "=", "t3", ".", "stuid", "where", "t3", ".", "city_code", "=", "value"], "question": "Give the maximum gradepoints for students living in NYC?", "question_toks": ["Give", "the", "maximum", "gradepoints", "for", "students", "living", "in", "NYC", "?"], "sql": {"from": {"table_units": [["table_unit", 6], ["table_unit", 7], ["table_unit", 0]], "conds": [[false, 2, [0, [0, 37, false], null], [0, 38, false], null], "and", [false, 2, [0, [0, 35, false], null], [0, 1, false], null]]}, "select": [false, [[1, [0, [0, 39, false], null]]]], "where": [[false, 2, [0, [0, 8, false], null], "\"nyc\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_4702", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0139", "db_id": "department_store", "query": "select max(customer_code) from customers", "query_toks": ["select", "max", "(", "customer_code", ")", "from", "customers"], "query_toks_no_value": ["select", "max", "(", "customer_code", ")", "from", "customers"], "question": "What is the largest customer codes?", "question_toks": ["What", "is", "the", "largest", "customer", "codes", "?"], "sql": {"from": {"table_units": [["table_unit", 4]], "conds": []}, "select": [false, [[1, [0, [0, 13, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_4775", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0140", "db_id": "department_store", "query": "select min(customer_code) from customers", "query_toks": ["select", "min", "(", "customer_code", ")", "from", "customers"], "query_toks_no_value": ["select", "min", "(", "customer_code", ")", "from", "customers"], "question": "What is the smallest customer codes?", "question_toks": ["What", "is", "the", "smallest", "customer", "codes", "?"], "sql": {"from": {"table_units": [["table_unit", 4]], "conds": []}, "select": [false, [[2, [0, [0, 13, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_multi_aggregation_0140", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0141", "db_id": "department_store", "query": "select max(customer_code) from customers", "query_toks": ["select", "max", "(", "customer_code", ")", "from", "customers"], "query_toks_no_value": ["select", "max", "(", "customer_code", ")", "from", "customers"], "question": "Return the maximum customer codes.", "question_toks": ["Return", "the", "maximum", "customer", "codes", "."], "sql": {"from": {"table_units": [["table_unit", 4]], "conds": []}, "select": [false, [[1, [0, [0, 13, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_4776", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0142", "db_id": "department_store", "query": "select max(product_price) from products group by product_type_code order by product_type_code", "query_toks": ["select", "max", "(", "product_price", ")", "product_type_code", "from", "products", "group", "by", "product_type_code", "order", "by", "product_type_code"], "query_toks_no_value": ["select", "max", "(", "product_price", ")", "product_type_code", "from", "products", "group", "by", "product_type_code", "order", "by", "product_type_code"], "question": "What is the highest price of products, grouped by and alphabetically ordered by product type?", "question_toks": ["What", "is", "the", "highest", "price", "of", "products", ",", "grouped", "by", "and", "alphabetically", "ordered", "by", "product", "type", "?"], "sql": {"from": {"table_units": [["table_unit", 5]], "conds": []}, "select": [false, [[1, [0, [0, 21, false], null]], [0, [0, [0, 19, false], null]]]], "where": [], "groupBy": [[0, 19, false]], "having": [], "orderBy": ["asc", [[0, [0, 19, false], null]]], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_4781", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0143", "db_id": "department_store", "query": "select min(product_price) , product_type_code from products group by product_type_code order by product_type_code", "query_toks": ["select", "min", "(", "product_price", ")", ",", "product_type_code", "from", "products", "group", "by", "product_type_code", "order", "by", "product_type_code"], "query_toks_no_value": ["select", "min", "(", "product_price", ")", ",", "product_type_code", "from", "products", "group", "by", "product_type_code", "order", "by", "product_type_code"], "question": "What is the lowest price of products, grouped by and alphabetically ordered by product type?", "question_toks": ["What", "is", "the", "lowest", "price", "of", "products", ",", "grouped", "by", "and", "alphabetically", "ordered", "by", "product", "type", "?"], "sql": {"from": {"table_units": [["table_unit", 5]], "conds": []}, "select": [false, [[2, [0, [0, 21, false], null]], [0, [0, [0, 19, false], null]]]], "where": [], "groupBy": [[0, 19, false]], "having": [], "orderBy": ["asc", [[0, [0, 19, false], null]]], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_multi_aggregation_0143", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0144", "db_id": "department_store", "query": "select max(product_price), product_type_code from products group by product_type_code order by product_type_code", "query_toks": ["select", "max", "(", "product_price", "),", "product_type_code", "from", "products", "group", "by", "product_type_code", "order", "by", "product_type_code"], "query_toks_no_value": ["select", "max", "(", "product_price", "),", "product_type_code", "from", "products", "group", "by", "product_type_code", "order", "by", "product_type_code"], "question": "Give the maximum product price for each product type, grouped and ordered by product type.", "question_toks": ["Give", "the", "maximum", "product", "price", "for", "each", "product", "type", ",", "grouped", "and", "ordered", "by", "product", "type", "."], "sql": {"from": {"table_units": [["table_unit", 5]], "conds": []}, "select": [false, [[1, [0, [0, 21, false], null]], [0, [0, [0, 19, false], null]]]], "where": [], "groupBy": [[0, 19, false]], "having": [], "orderBy": ["asc", [[0, [0, 19, false], null]]], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_4782", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0145", "db_id": "aircraft", "query": "select min(transit_passengers) from airport", "query_toks": ["select", "min", "(", "transit_passengers", ")", "from", "airport"], "query_toks_no_value": ["select", "min", "(", "transit_passengers", ")", "from", "airport"], "question": "What is the minimum number of transit passengers of all aiports.", "question_toks": ["What", "is", "the", "minimum", "number", "of", "transit", "passengers", "of", "all", "aiports", "."], "sql": {"from": {"table_units": [["table_unit", 3]], "conds": []}, "select": [false, [[2, [0, [0, 23, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_4807", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0146", "db_id": "aircraft", "query": "select min(transit_passengers) from airport", "query_toks": ["select", "min", "(", "transit_passengers", ")", "from", "airport"], "query_toks_no_value": ["select", "min", "(", "transit_passengers", ")", "from", "airport"], "question": "What is the mininum number of transit passengers for all airports?", "question_toks": ["What", "is", "the", "mininum", "number", "of", "transit", "passengers", "for", "all", "airports", "?"], "sql": {"from": {"table_units": [["table_unit", 3]], "conds": []}, "select": [false, [[2, [0, [0, 23, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_4808", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0147", "db_id": "soccer_2", "query": "select min(hs) from player", "query_toks": ["select", "min", "(", "hs", ")", "from", "player"], "query_toks_no_value": ["select", "min", "(", "hs", ")", "from", "player"], "question": "Find the min training hours of all players.", "question_toks": ["Find", "the", "min", "training", "hours", "of", "all", "players", "."], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[2, [0, [0, 7, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_4966", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0148", "db_id": "soccer_2", "query": "select avg(hs) from player", "query_toks": ["select", "avg", "(", "hs", ")", "from", "player"], "query_toks_no_value": ["select", "avg", "(", "hs", ")", "from", "player"], "question": "What is the average for the number of hours spent training?", "question_toks": ["What", "is", "the", "average", "for", "the", "number", "of", "hours", "spent", "training", "?"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[5, [0, [0, 7, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_4967", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0149", "db_id": "soccer_2", "query": "select avg(t1.hs) from player as t1 join tryout as t2 on t1.pid = t2.pid where t2.decision = \"yes\"", "query_toks": ["select", "avg", "(", "t1", ".", "hs", ")", "from", "player", "as", "t1", "join", "tryout", "as", "t2", "on", "t1", ".", "pid", "=", "t2", ".", "pid", "where", "t2", ".", "decision", "=", "``", "yes", "''"], "query_toks_no_value": ["select", "avg", "(", "t1", ".", "hs", ")", "from", "player", "as", "t1", "join", "tryout", "as", "t2", "on", "t1", ".", "pid", "=", "t2", ".", "pid", "where", "t2", ".", "decision", "=", "value"], "question": "Find the average hours for the students whose tryout decision is yes.", "question_toks": ["Find", "the", "average", "hours", "for", "the", "students", "whose", "tryout", "decision", "is", "yes", "."], "sql": {"from": {"table_units": [["table_unit", 1], ["table_unit", 2]], "conds": [[false, 2, [0, [0, 4, false], null], [0, 8, false], null]]}, "select": [false, [[5, [0, [0, 7, false], null]]]], "where": [[false, 2, [0, [0, 11, false], null], "\"yes\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_5010", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0150", "db_id": "soccer_2", "query": "select max(t1.hs) from player as t1 join tryout as t2 on t1.pid = t2.pid where t2.decision = \"yes\"", "query_toks": ["select", "max", "(", "t1", ".", "hs", ")", "from", "player", "as", "t1", "join", "tryout", "as", "t2", "on", "t1", ".", "pid", "=", "t2", ".", "pid", "where", "t2", ".", "decision", "=", "``", "yes", "''"], "query_toks_no_value": ["select", "max", "(", "t1", ".", "hs", ")", "from", "player", "as", "t1", "join", "tryout", "as", "t2", "on", "t1", ".", "pid", "=", "t2", ".", "pid", "where", "t2", ".", "decision", "=", "value"], "question": "What is the maximum number of hours students who made the team practiced?", "question_toks": ["What", "is", "the", "maximum", "number", "of", "hours", "students", "who", "made", "the", "team", "practiced", "?"], "sql": {"from": {"table_units": [["table_unit", 1], ["table_unit", 2]], "conds": [[false, 2, [0, [0, 4, false], null], [0, 8, false], null]]}, "select": [false, [[1, [0, [0, 7, false], null]]]], "where": [[false, 2, [0, [0, 11, false], null], "\"yes\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_5011", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0151", "db_id": "cre_Drama_Workshop_Groups", "query": "select avg(order_quantity) from invoices", "query_toks": ["select", "avg", "(", "order_quantity", ")", "from", "invoices"], "query_toks_no_value": ["select", "avg", "(", "order_quantity", ")", "from", "invoices"], "question": "Show the average order quantity of all invoices.", "question_toks": ["Show", "the", "average", "order", "quantity", "of", "all", "invoices", "."], "sql": {"from": {"table_units": [["table_unit", 14]], "conds": []}, "select": [false, [[5, [0, [0, 81, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_5102", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0152", "db_id": "cre_Drama_Workshop_Groups", "query": "select min(order_quantity) from invoices", "query_toks": ["select", "min", "(", "order_quantity", ")", "from", "invoices"], "query_toks_no_value": ["select", "min", "(", "order_quantity", ")", "from", "invoices"], "question": "What is the minimum quantity ordered? Check all the invoices.", "question_toks": ["What", "is", "the", "minimum", "quantity", "ordered", "?", "Check", "all", "the", "invoices", "."], "sql": {"from": {"table_units": [["table_unit", 14]], "conds": []}, "select": [false, [[2, [0, [0, 81, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_5103", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0153", "db_id": "manufactory_1", "query": "select sum(revenue) from manufacturers", "query_toks": ["select", "sum", "(", "revenue", ")", "from", "manufacturers"], "query_toks_no_value": ["select", "sum", "(", "revenue", ")", "from", "manufacturers"], "question": "What is the total revenue of all companies?", "question_toks": ["What", "is", "the", "total", "revenue", "of", "all", "companies", "?"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[4, [0, [0, 5, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_5278", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0154", "db_id": "manufactory_1", "query": "select avg(revenue) from manufacturers", "query_toks": ["select", "avg", "(", "revenue", ")", "from", "manufacturers"], "query_toks_no_value": ["select", "avg", "(", "revenue", ")", "from", "manufacturers"], "question": "Return the average revenue across all manufacturers.", "question_toks": ["Return", "the", "average", "revenue", "across", "all", "manufacturers", "."], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[5, [0, [0, 5, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_5279", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0155", "db_id": "shop_membership", "query": "select min(membership_amount) from branch where open_year = 2011 or city = \"london\"", "query_toks": ["select", "min", "(", "membership_amount", ")", "from", "branch", "where", "open_year", "=", "2011", "or", "city", "=", "``", "london", "''"], "query_toks_no_value": ["select", "min", "(", "membership_amount", ")", "from", "branch", "where", "open_year", "=", "value", "or", "city", "=", "value"], "question": "Show minimum amount of memberships for all branches opened in 2011 or located at city London.", "question_toks": ["Show", "minimum", "amount", "of", "memberships", "for", "all", "branches", "opened", "in", "2011", "or", "located", "at", "city", "London", "."], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[2, [0, [0, 11, false], null]]]], "where": [[false, 2, [0, [0, 8, false], null], 2011.0, null], "or", [false, 2, [0, [0, 10, false], null], "\"london\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_5410", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0156", "db_id": "shop_membership", "query": "select max(membership_amount) from branch where open_year = 2011 or city = \"london\"", "query_toks": ["select", "max", "(", "membership_amount", ")", "from", "branch", "where", "open_year", "=", "2011", "or", "city", "=", "``", "london", "''"], "query_toks_no_value": ["select", "max", "(", "membership_amount", ")", "from", "branch", "where", "open_year", "=", "value", "or", "city", "=", "value"], "question": "What is the maximum membership amount for all branches that either opened in 2011 or are located in London?", "question_toks": ["What", "is", "the", "maximum", "membership", "amount", "for", "all", "branches", "that", "either", "opened", "in", "2011", "or", "are", "located", "in", "London", "?"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[1, [0, [0, 11, false], null]]]], "where": [[false, 2, [0, [0, 8, false], null], 2011.0, null], "or", [false, 2, [0, [0, 10, false], null], "\"london\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_5411", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0157", "db_id": "voter_2", "query": "select min(age) from student where major = 600", "query_toks": ["select", "min", "(", "age", ")", "from", "student", "where", "major", "=", "600"], "query_toks_no_value": ["select", "min", "(", "age", ")", "from", "student", "where", "major", "=", "value"], "question": "What is the minimum age of students with major 600?", "question_toks": ["What", "is", "the", "minimum", "age", "of", "students", "with", "major", "600", "?"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[2, [0, [0, 4, false], null]]]], "where": [[false, 2, [0, [0, 6, false], null], 600.0, null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_5460", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0158", "db_id": "voter_2", "query": "select max(age) from student where major = 600", "query_toks": ["select", "max", "(", "age", ")", "from", "student", "where", "major", "=", "600"], "query_toks_no_value": ["select", "max", "(", "age", ")", "from", "student", "where", "major", "=", "value"], "question": "Tell me the ages of the oldest students studying major 600.", "question_toks": ["Tell", "me", "the", "ages", "of", "the", "oldest", "students", "studying", "major", "600", "."], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[1, [0, [0, 4, false], null]]]], "where": [[false, 2, [0, [0, 6, false], null], 600.0, null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_5461", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0159", "db_id": "voter_2", "query": "select min(age) from student where major = 600", "query_toks": ["select", "min", "(", "age", ")", "from", "student", "where", "major", "=", "600"], "query_toks_no_value": ["select", "min", "(", "age", ")", "from", "student", "where", "major", "=", "value"], "question": "Tell me the ages of the youngest students studying major 600.", "question_toks": ["Tell", "me", "the", "ages", "of", "the", "youngest", "students", "studying", "major", "600", "."], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[2, [0, [0, 4, false], null]]]], "where": [[false, 2, [0, [0, 6, false], null], 600.0, null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_multi_aggregation_0159", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0160", "db_id": "customers_and_products_contacts", "query": "select avg(product_price) from products", "query_toks": ["select", "avg", "(", "product_price", ")", "from", "products"], "query_toks_no_value": ["select", "avg", "(", "product_price", ")", "from", "products"], "question": "Show the average price for all products.", "question_toks": ["Show", "the", "average", "price", "for", "all", "products", "."], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[5, [0, [0, 10, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_5662", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0161", "db_id": "dorm_1", "query": "select sum(student_capacity) from dorm where gender = \"x\"", "query_toks": ["select", "sum", "(", "student_capacity", ")", "from", "dorm", "where", "gender", "=", "``", "x", "''"], "query_toks_no_value": ["select", "sum", "(", "student_capacity", ")", "from", "dorm", "where", "gender", "=", "value"], "question": "Find the total capacity of dorms for the students with gender X.", "question_toks": ["Find", "the", "total", "capacity", "of", "dorms", "for", "the", "students", "with", "gender", "X", "."], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[4, [0, [0, 11, false], null]]]], "where": [[false, 2, [0, [0, 12, false], null], "\"x\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_5688", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0162", "db_id": "dorm_1", "query": "select avg(student_capacity) from dorm where gender = \"x\"", "query_toks": ["select", "avg", "(", "student_capacity", ")", "from", "dorm", "where", "gender", "=", "``", "x", "''"], "query_toks_no_value": ["select", "avg", "(", "student_capacity", ")", "from", "dorm", "where", "gender", "=", "value"], "question": "What is the average capacity for all dorms who are of gender X?", "question_toks": ["What", "is", "the", "average", "capacity", "for", "all", "dorms", "who", "are", "of", "gender", "X", "?"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[5, [0, [0, 11, false], null]]]], "where": [[false, 2, [0, [0, 12, false], null], "\"x\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_5689", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0163", "db_id": "dorm_1", "query": "select max(age) , sex from student group by sex", "query_toks": ["select", "max", "(", "age", ")", ",", "sex", "from", "student", "group", "by", "sex"], "query_toks_no_value": ["select", "max", "(", "age", ")", ",", "sex", "from", "student", "group", "by", "sex"], "question": "Find the oldest age for students with different sex.", "question_toks": ["Find", "the", "oldest", "age", "for", "students", "with", "different", "sex", "."], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[1, [0, [0, 4, false], null]], [0, [0, [0, 5, false], null]]]], "where": [], "groupBy": [[0, 5, false]], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_5722", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0164", "db_id": "dorm_1", "query": "select avg(age), sex from student group by sex", "query_toks": ["select", "avg", "(", "age", "),", "sex", "from", "student", "group", "by", "sex"], "query_toks_no_value": ["select", "avg", "(", "age", "),", "sex", "from", "student", "group", "by", "sex"], "question": "What is the average age for each gender of student?", "question_toks": ["What", "is", "the", "average", "age", "for", "each", "gender", "of", "student", "?"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[5, [0, [0, 4, false], null]], [0, [0, [0, 5, false], null]]]], "where": [], "groupBy": [[0, 5, false]], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_5723", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0165", "db_id": "music_4", "query": "select max(weeks_on_top) from volume", "query_toks": ["select", "max", "(", "weeks_on_top", ")", "from", "volume"], "query_toks_no_value": ["select", "max", "(", "weeks_on_top", ")", "from", "volume"], "question": "What is the maximum week on top of all volumes?", "question_toks": ["What", "is", "the", "maximum", "week", "on", "top", "of", "all", "volumes", "?"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[1, [0, [0, 9, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_6157", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0166", "db_id": "music_4", "query": "select min(weeks_on_top) from volume", "query_toks": ["select", "min", "(", "weeks_on_top", ")", "from", "volume"], "query_toks_no_value": ["select", "min", "(", "weeks_on_top", ")", "from", "volume"], "question": "Give the minimum weeks on top across all volumes.", "question_toks": ["Give", "the", "minimum", "weeks", "on", "top", "across", "all", "volumes", "."], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[2, [0, [0, 9, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_6158", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0167", "db_id": "ship_1", "query": "select avg(age), class from captain group by class", "query_toks": ["select", "avg", "(", "age", "),", "class", "from", "captain", "group", "by", "class"], "query_toks_no_value": ["select", "avg", "(", "age", "),", "class", "from", "captain", "group", "by", "class"], "question": "What is the average age of captains in different class?", "question_toks": ["What", "is", "the", "average", "age", "of", "captains", "in", "different", "class", "?"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[5, [0, [0, 4, false], null]], [0, [0, [0, 5, false], null]]]], "where": [], "groupBy": [[0, 5, false]], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_6236", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0168", "db_id": "ship_1", "query": "select min(age), class from captain group by class", "query_toks": ["select", "min", "(", "age", "),", "class", "from", "captain", "group", "by", "class"], "query_toks_no_value": ["select", "min", "(", "age", "),", "class", "from", "captain", "group", "by", "class"], "question": "Return the minimum age of captains in each class.", "question_toks": ["Return", "the", "minimum", "age", "of", "captains", "in", "each", "class", "."], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[2, [0, [0, 4, false], null]], [0, [0, [0, 5, false], null]]]], "where": [], "groupBy": [[0, 5, false]], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_6237", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0169", "db_id": "school_bus", "query": "select max(years_working) from school_bus", "query_toks": ["select", "max", "(", "years_working", ")", "from", "school_bus"], "query_toks_no_value": ["select", "max", "(", "years_working", ")", "from", "school_bus"], "question": "What is the maximum year spent working on a school bus?", "question_toks": ["What", "is", "the", "maximum", "year", "spent", "working", "on", "a", "school", "bus", "?"], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[1, [0, [0, 13, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_6360", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0170", "db_id": "driving_school", "query": "select avg(amount_outstanding) from customers", "query_toks": ["select", "avg", "(", "amount_outstanding", ")", "from", "customers"], "query_toks_no_value": ["select", "avg", "(", "amount_outstanding", ")", "from", "customers"], "question": "What is average amount of outstanding of customer?", "question_toks": ["What", "is", "average", "amount", "of", "outstanding", "of", "customer", "?"], "sql": {"from": {"table_units": [["table_unit", 3]], "conds": []}, "select": [false, [[5, [0, [0, 25, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_6678", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0171", "db_id": "driving_school", "query": "select max(amount_outstanding) from customers", "query_toks": ["select", "max", "(", "amount_outstanding", ")", "from", "customers"], "query_toks_no_value": ["select", "max", "(", "amount_outstanding", ")", "from", "customers"], "question": "What is the maximum amount of money outsanding for all customers?", "question_toks": ["What", "is", "the", "maximum", "amount", "of", "money", "outsanding", "for", "all", "customers", "?"], "sql": {"from": {"table_units": [["table_unit", 3]], "conds": []}, "select": [false, [[1, [0, [0, 25, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_6679", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0172", "db_id": "culture_company", "query": "select avg(budget_million) from movie where year < 2000", "query_toks": ["select", "avg", "(", "budget_million", ")", "from", "movie", "where", "year", "<", "2000"], "query_toks_no_value": ["select", "avg", "(", "budget_million", ")", "from", "movie", "where", "year", "<", "value"], "question": "What is the average budget for all movies before 2000.", "question_toks": ["What", "is", "the", "average", "budget", "for", "all", "movies", "before", "2000", "."], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[5, [0, [0, 12, false], null]]]], "where": [[false, 4, [0, [0, 10, false], null], 2000.0, null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_6992", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}, {"id": "multi_aggregation_0173", "db_id": "culture_company", "query": "select min(budget_million) from movie where year < 2000", "query_toks": ["select", "min", "(", "budget_million", ")", "from", "movie", "where", "year", "<", "2000"], "query_toks_no_value": ["select", "min", "(", "budget_million", ")", "from", "movie", "where", "year", "<", "value"], "question": "Return the minimum budgets in millions for movies made before the year 2000.", "question_toks": ["Return", "the", "minimum", "budgets", "in", "millions", "for", "movies", "made", "before", "the", "year", "2000", "."], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[2, [0, [0, 12, false], null]]]], "where": [[false, 4, [0, [0, 10, false], null], 2000.0, null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_6993", "is_simplification": true, "simplifications_tags": ["MULTI_AGGREGATION"]}] |