[{"id": "group_by_0000", "db_id": "car_1", "query": "select avg(weight) from cars_data", "query_toks": ["select", "avg", "(", "weight", ")", "from", "cars_data"], "query_toks_no_value": ["select", "avg", "(", "weight", ")", "from", "cars_data"], "question": "What is the average weight?", "question_toks": ["What", "is", "the", "average", "weight", "and", "year", "?"], "sql": {"from": {"table_units": [["table_unit", 5]], "conds": []}, "select": [false, [[5, [0, [0, 21, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "dev_0128", "is_simplification": true, "simplifications_tags": ["GROUP_BY"]}, {"id": "group_by_0001", "db_id": "car_1", "query": "select max(accelerate) from cars_data", "query_toks": ["select", "max", "(", "accelerate", ")", "from", "cars_data"], "query_toks_no_value": ["select", "max", "(", "accelerate", ")", "from", "cars_data"], "question": "What is the maximum accelerate?", "question_toks": ["What", "is", "the", "maximum", "accelerate", "?"], "sql": {"from": {"table_units": [["table_unit", 5]], "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": "dev_0139", "is_simplification": true, "simplifications_tags": ["GROUP_BY"]}, {"id": "group_by_0002", "db_id": "car_1", "query": "select max(accelerate) from cars_data", "query_toks": ["select", "max", "(", "accelerate", ")", "from", "cars_data"], "query_toks_no_value": ["select", "max", "(", "accelerate", ")", "from", "cars_data"], "question": "What is the maximum accelerate?", "question_toks": ["What", "is", "the", "maximum", "accelerate", "?"], "sql": {"from": {"table_units": [["table_unit", 5]], "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": "dev_0140", "is_simplification": true, "simplifications_tags": ["GROUP_BY"]}, {"id": "group_by_0003", "db_id": "concert_singer", "query": "select country from singer", "query_toks": ["select", "country", "from", "singer"], "query_toks_no_value": ["select", "country", "from", "singer"], "question": "Show all countries.", "question_toks": ["Show", "all", "countries", "."], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[0, [0, [0, 10, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "dev_0010", "is_simplification": true, "simplifications_tags": ["GROUP_BY"]}, {"id": "group_by_0004", "db_id": "concert_singer", "query": "select count(*) from singer", "query_toks": ["select", "count", "(*)", "from", "singer"], "query_toks_no_value": ["select", "count", "(*)", "from", "singer"], "question": "How many singers are?", "question_toks": ["How", "many", "singers", "are", "?"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[3, [0, [0, 0, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "dev_0011", "is_simplification": true, "simplifications_tags": ["GROUP_BY"]}, {"id": "group_by_0005", "db_id": "concert_singer", "query": "select name from stadium", "query_toks": ["select", "name", "from", "stadium"], "query_toks_no_value": ["select", "name", "from", "stadium"], "question": "Show the stadium names.", "question_toks": ["Show", "the", "stadium", "names", "."], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 3, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "dev_0022", "is_simplification": true, "simplifications_tags": ["GROUP_BY"]}, {"id": "group_by_0006", "db_id": "course_teach", "query": "select hometown from teacher", "query_toks": ["select", "hometown", "from", "teacher"], "query_toks_no_value": ["select", "hometown", "from", "teacher"], "question": "Show different hometown of teachers.", "question_toks": ["Show", "different", "hometown", "of", "teachers", "."], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[0, [0, [0, 7, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "dev_0393", "is_simplification": true, "simplifications_tags": ["GROUP_BY"]}, {"id": "group_by_0007", "db_id": "course_teach", "query": "select count(*) from teacher", "query_toks": ["select", "count", "(*)", "from", "teacher"], "query_toks_no_value": ["select", "count", "(*)", "from", "teacher"], "question": "How many teachers are there?", "question_toks": ["How", "many", "teachers", "are", "there", "?"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[3, [0, [0, 0, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "dev_0394", "is_simplification": true, "simplifications_tags": ["GROUP_BY"]}, {"id": "group_by_0008", "db_id": "course_teach", "query": "select name from teacher", "query_toks": ["select", "name", "from", "teacher"], "query_toks_no_value": ["select", "name", "from", "teacher"], "question": "Show names of teachers.", "question_toks": ["Show", "names", "of", "teachers", "."], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[0, [0, [0, 5, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "dev_0405", "is_simplification": true, "simplifications_tags": ["GROUP_BY"]}, {"id": "group_by_0009", "db_id": "course_teach", "query": "select name from teacher", "query_toks": ["select", "name", "from", "teacher"], "query_toks_no_value": ["select", "name", "from", "teacher"], "question": "What are the names of the teachers?", "question_toks": ["What", "are", "the", "names", "of", "the", "teachers", "?"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[0, [0, [0, 5, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "dev_0406", "is_simplification": true, "simplifications_tags": ["GROUP_BY"]}, {"id": "group_by_0010", "db_id": "orchestra", "query": "select record_company from orchestra ", "query_toks": ["select", "record_company", "from", "orchestra"], "query_toks_no_value": ["select", "record_company", "from", "orchestra"], "question": "Please show the different record companies.", "question_toks": ["Please", "show", "the", "different", "record", "companies", "."], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[0, [0, [0, 9, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "dev_0848", "is_simplification": true, "simplifications_tags": ["GROUP_BY"]}, {"id": "group_by_0011", "db_id": "orchestra", "query": "select count(*) from orchestra", "query_toks": ["select", "count", "(*)", "from", "orchestra"], "query_toks_no_value": ["select", "count", "(*)", "from", "orchestra"], "question": "How many orchestras are?", "question_toks": ["How", "many", "orchestras", "does", "record", "companies", "manage", "?"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[3, [0, [0, 0, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "dev_0849", "is_simplification": true, "simplifications_tags": ["GROUP_BY"]}, {"id": "group_by_0012", "db_id": "pets_1", "query": "select max(weight) from pets", "query_toks": ["select", "max", "(", "weight", ")", "from", "pets"], "query_toks_no_value": ["select", "max", "(", "weight", ")", "from", "pets"], "question": "List the maximum weight", "question_toks": ["List", "the", "maximum", "weight"], "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": "dev_0049", "is_simplification": true, "simplifications_tags": ["GROUP_BY"]}, {"id": "group_by_0013", "db_id": "pets_1", "query": "select pettype from pets", "query_toks": ["select", "pettype", "from", "pets"], "query_toks_no_value": ["select", "pettype", "from", "pets"], "question": "List the type of pet.", "question_toks": ["List", "the", "type", "of", "pet", "."], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[0, [0, [0, 12, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "dev_0050", "is_simplification": true, "simplifications_tags": ["GROUP_BY"]}, {"id": "group_by_0014", "db_id": "pets_1", "query": "select avg(pet_age) , max(pet_age) from pets", "query_toks": ["select", "avg", "(", "pet_age", ")", ",", "max", "(", "pet_age", ")", "from", "pets"], "query_toks_no_value": ["select", "avg", "(", "pet_age", ")", ",", "max", "(", "pet_age", ")", "from", "pets"], "question": "Find the average and maximum age of pet.", "question_toks": ["Find", "the", "average", "and", "maximum", "age", "of", "pet", "."], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[5, [0, [0, 13, false], null]], [1, [0, [0, 13, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "dev_0071", "is_simplification": true, "simplifications_tags": ["GROUP_BY"]}, {"id": "group_by_0015", "db_id": "pets_1", "query": "select avg(pet_age) , max(pet_age) from pets", "query_toks": ["select", "avg", "(", "pet_age", ")", ",", "max", "(", "pet_age", ")", "from", "pets"], "query_toks_no_value": ["select", "avg", "(", "pet_age", ")", ",", "max", "(", "pet_age", ")", "from", "pets"], "question": "What is the average and maximum age of pet?", "question_toks": ["What", "is", "the", "average", "and", "maximum", "age", "of", "pet", "?"], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[5, [0, [0, 13, false], null]], [1, [0, [0, 13, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "dev_0072", "is_simplification": true, "simplifications_tags": ["GROUP_BY"]}, {"id": "group_by_0016", "db_id": "poker_player", "query": "select nationality from people", "query_toks": ["select", "nationality", "from", "people"], "query_toks_no_value": ["select", "nationality", "from", "people"], "question": "What are different nationalities of people?", "question_toks": ["What", "are", "different", "nationalities", "of", "people", "?"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[0, [0, [0, 8, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "dev_0673", "is_simplification": true, "simplifications_tags": ["GROUP_BY"]}, {"id": "group_by_0017", "db_id": "singer", "query": "select citizenship from singer", "query_toks": ["select", "citizenship", "from", "singer"], "query_toks_no_value": ["select", "citizenship", "from", "singer"], "question": "Show different citizenship of singers.", "question_toks": ["Show", "different", "citizenship", "of", "singers", "."], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 5, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "dev_1012", "is_simplification": true, "simplifications_tags": ["GROUP_BY"]}, {"id": "group_by_0018", "db_id": "singer", "query": "select max(net_worth_millions) from singer", "query_toks": ["select", "max", "(", "net_worth_millions", ")", "from", "singer"], "query_toks_no_value": ["select", "max", "(", "net_worth_millions", ")", "from", "singer"], "question": "Show the maximum net worth of singers .", "question_toks": ["Show", "the", "maximum", "net", "worth", "of", "singers", "."], "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": "dev_1016", "is_simplification": true, "simplifications_tags": ["GROUP_BY"]}, {"id": "group_by_0019", "db_id": "tvshow", "query": "select language from tv_channel", "query_toks": ["select", "language", "from", "tv_channel"], "query_toks_no_value": ["select", "language", "from", "tv_channel"], "question": "List each language of TV Channels.", "question_toks": ["List", "each", "language", "of", "TV", "Channels", "."], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 4, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "dev_0607", "is_simplification": true, "simplifications_tags": ["GROUP_BY"]}, {"id": "group_by_0020", "db_id": "tvshow", "query": "select count(*) from cartoon", "query_toks": ["select", "count", "(*)", "from", "cartoon"], "query_toks_no_value": ["select", "count", "(*)", "from", "cartoon"], "question": "Find the number of cartoons.", "question_toks": ["Find", "the", "number", "of", "cartoons", "."], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[3, [0, [0, 0, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "dev_0627", "is_simplification": true, "simplifications_tags": ["GROUP_BY"]}, {"id": "group_by_0021", "db_id": "tvshow", "query": "select count(*) from cartoon", "query_toks": ["select", "count", "(*)", "from", "cartoon"], "query_toks_no_value": ["select", "count", "(*)", "from", "cartoon"], "question": "How many cartoons did all director create?", "question_toks": ["How", "many", "cartoons", "did", "all", "director", "create", "?"], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[3, [0, [0, 0, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "dev_0628", "is_simplification": true, "simplifications_tags": ["GROUP_BY"]}, {"id": "group_by_0022", "db_id": "world_1", "query": "select district from city where population > (select avg(population) from city) ", "query_toks": ["select", "district", "from", "city", "where", "population", ">", "(", "select", "avg", "(", "population", ")", "from", "city", ")"], "query_toks_no_value": ["select", "district", "from", "city", "where", "population", ">", "value", "select", "avg", "(", "population", ")", "from", "city", ")"], "question": "Find the districts whose population is greater than the average population of cities?", "question_toks": ["Find", "the", "districts", "whose", "population", "is", "greater", "than", "the", "average", "population", "of", "cities", "?"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 4, false], null]]]], "where": [[false, 3, [0, [0, 5, false], null], {"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}, null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "dev_0794", "is_simplification": true, "simplifications_tags": ["GROUP_BY"]}, {"id": "group_by_0023", "db_id": "world_1", "query": "select max(percentage) from countrylanguage", "query_toks": ["select", "max", "(", "percentage", ")", "from", "countrylanguage"], "query_toks_no_value": ["select", "max", "(", "percentage", ")", "from", "countrylanguage"], "question": "What is the largest percentage of people?", "question_toks": ["What", "is", "the", "largest", "percentage", "of", "people", "?"], "sql": {"from": {"table_units": [["table_unit", 3]], "conds": []}, "select": [false, [[1, [0, [0, 26, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "dev_0816", "is_simplification": true, "simplifications_tags": ["GROUP_BY"]}, {"id": "group_by_0024", "db_id": "wta_1", "query": "select avg(ranking) from rankings", "query_toks": ["select", "avg", "(", "ranking", ")", "from", "rankings"], "query_toks_no_value": ["select", "avg", "(", "ranking", ")", "from", "rankings"], "question": "Find the average ranking of players.", "question_toks": ["Find", "the", "average", "ranking", "of", "players", "."], "sql": {"from": {"table_units": [["table_unit", 2]], "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": "dev_0469", "is_simplification": true, "simplifications_tags": ["GROUP_BY"]}, {"id": "group_by_0025", "db_id": "wta_1", "query": "select first_name from players", "query_toks": ["select", "first_name", "from", "players"], "query_toks_no_value": ["select", "first_name", "from", "players"], "question": "What are the first names of all players?", "question_toks": ["What", "are", "the", "first", "names", "of", "all", "players", "?"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 2, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "dev_0470", "is_simplification": true, "simplifications_tags": ["GROUP_BY"]}, {"id": "group_by_0026", "db_id": "wta_1", "query": "select count(*) from players", "query_toks": ["select", "count", "(*)", "from", "players"], "query_toks_no_value": ["select", "count", "(*)", "from", "players"], "question": "find the number of players.", "question_toks": ["find", "the", "number", "of", "players", "."], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[3, [0, [0, 0, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "dev_0473", "is_simplification": true, "simplifications_tags": ["GROUP_BY"]}, {"id": "group_by_0027", "db_id": "wta_1", "query": "select count(*) from players", "query_toks": ["select", "count", "(*)", "from", "players"], "query_toks_no_value": ["select", "count", "(*)", "from", "players"], "question": "How many players are?", "question_toks": ["How", "many", "players", "are", "?"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[3, [0, [0, 0, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "dev_0474", "is_simplification": true, "simplifications_tags": ["GROUP_BY"]}, {"id": "group_by_0028", "db_id": "wta_1", "query": "select sum(tours) from rankings", "query_toks": ["select", "sum", "(", "tours", ")", "from", "rankings"], "query_toks_no_value": ["select", "sum", "(", "tours", ")", "from", "rankings"], "question": "Find the total number of tours.", "question_toks": ["Find", "the", "total", "number", "of", "tours", "."], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[4, [0, [0, 43, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "dev_0479", "is_simplification": true, "simplifications_tags": ["GROUP_BY"]}, {"id": "group_by_0029", "db_id": "wta_1", "query": "select sum(tours) from rankings", "query_toks": ["select", "sum", "(", "tours", ")", "from", "rankings"], "query_toks_no_value": ["select", "sum", "(", "tours", ")", "from", "rankings"], "question": "How many total tours were there?", "question_toks": ["How", "many", "total", "tours", "were", "there", "?"], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[4, [0, [0, 43, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "dev_0480", "is_simplification": true, "simplifications_tags": ["GROUP_BY"]}, {"id": "group_by_0030", "db_id": "wta_1", "query": "select count(*) from matches", "query_toks": ["select", "count", "(*)", "from", "matches"], "query_toks_no_value": ["select", "count", "(*)", "from", "matches"], "question": "Find the number of matches happened.", "question_toks": ["Find", "the", "number", "of", "matches", "happened", "."], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[3, [0, [0, 0, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "dev_0481", "is_simplification": true, "simplifications_tags": ["GROUP_BY"]}, {"id": "group_by_0031", "db_id": "wta_1", "query": "select count(*) from matches", "query_toks": ["select", "count", "(*)", "from", "matches"], "query_toks_no_value": ["select", "count", "(*)", "from", "matches"], "question": "How many matches were played?", "question_toks": ["How", "many", "matches", "were", "played", "?"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[3, [0, [0, 0, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "dev_0482", "is_simplification": true, "simplifications_tags": ["GROUP_BY"]}, {"id": "group_by_0032", "db_id": "wta_1", "query": "select count(*) from players", "query_toks": ["select", "count", "(*)", "from", "players"], "query_toks_no_value": ["select", "count", "(*)", "from", "players"], "question": "Find the number of players.", "question_toks": ["Find", "the", "number", "of", "players", "."], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[3, [0, [0, 0, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "dev_0489", "is_simplification": true, "simplifications_tags": ["GROUP_BY"]}, {"id": "group_by_0033", "db_id": "wta_1", "query": "select count(*) from players", "query_toks": ["select", "count", "(*)", "from", "players"], "query_toks_no_value": ["select", "count", "(*)", "from", "players"], "question": "How many players are there?", "question_toks": ["How", "many", "players", "are", "there", "?"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[3, [0, [0, 0, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "dev_0490", "is_simplification": true, "simplifications_tags": ["GROUP_BY"]}, {"id": "group_by_0034", "db_id": "allergy_1", "query": "select allergytype from allergy_type", "query_toks": ["select", "allergytype", "from", "allergy_type"], "query_toks_no_value": ["select", "allergytype", "from", "allergy_type"], "question": "Show all allergy types.", "question_toks": ["Show", "all", "allergy", "types", "."], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 2, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_0453", "is_simplification": true, "simplifications_tags": ["GROUP_BY"]}, {"id": "group_by_0035", "db_id": "allergy_1", "query": "select allergytype from allergy_type", "query_toks": ["select", "allergytype", "from", "allergy_type"], "query_toks_no_value": ["select", "allergytype", "from", "allergy_type"], "question": "What are the allergy types?", "question_toks": ["What", "are", "the", "allergy", "types", "?"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 2, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_0454", "is_simplification": true, "simplifications_tags": ["GROUP_BY"]}, {"id": "group_by_0036", "db_id": "allergy_1", "query": "select major from student", "query_toks": ["select", "major", "from", "student"], "query_toks_no_value": ["select", "major", "from", "student"], "question": "Show all majors.", "question_toks": ["Show", "all", "majors", "."], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[0, [0, [0, 10, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_0489", "is_simplification": true, "simplifications_tags": ["GROUP_BY"]}, {"id": "group_by_0037", "db_id": "allergy_1", "query": "select count(*) from student", "query_toks": ["select", "count", "(*)", "from", "student"], "query_toks_no_value": ["select", "count", "(*)", "from", "student"], "question": "How many students are?", "question_toks": ["How", "many", "students", "are", "?"], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[3, [0, [0, 0, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_0490", "is_simplification": true, "simplifications_tags": ["GROUP_BY"]}, {"id": "group_by_0038", "db_id": "baseball_1", "query": "select count(*) from hall_of_fame", "query_toks": ["select", "count", "(*)", "from", "hall_of_fame"], "query_toks_no_value": ["select", "count", "(*)", "from", "hall_of_fame"], "question": "How many players enter hall?", "question_toks": ["How", "many", "players", "enter", "hall", "?"], "sql": {"from": {"table_units": [["table_unit", 12]], "conds": []}, "select": [false, [[3, [0, [0, 0, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_3637", "is_simplification": true, "simplifications_tags": ["GROUP_BY"]}, {"id": "group_by_0039", "db_id": "baseball_1", "query": "select count(distinct player_id) from hall_of_fame;", "query_toks": ["select", "yearid", "from", "hall_of_fame"], "query_toks_no_value": ["select", "yearid", "from", "hall_of_fame"], "question": "Count the number of players who enter hall of fame.", "question_toks": ["Count", "the", "number", "of", "players", "who", "enter", "hall", "of", "fame", "."], "sql": {"from": {"table_units": [["table_unit", 12]], "conds": []}, "select": [false, [[0, [0, [0, 145, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_3638", "is_simplification": true, "simplifications_tags": ["GROUP_BY"]}, {"id": "group_by_0040", "db_id": "baseball_1", "query": "select avg(attendance) from home_game", "query_toks": ["select", "avg", "(", "attendance", ")", "from", "home_game"], "query_toks_no_value": ["select", "avg", "(", "attendance", ")", "from", "home_game"], "question": "What is the average number of attendance at home games?", "question_toks": ["What", "is", "the", "average", "number", "of", "attendance", "at", "home", "games", "?"], "sql": {"from": {"table_units": [["table_unit", 13]], "conds": []}, "select": [false, [[5, [0, [0, 161, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_3639", "is_simplification": true, "simplifications_tags": ["GROUP_BY"]}, {"id": "group_by_0041", "db_id": "baseball_1", "query": "select avg(attendance) from home_game", "query_toks": ["select", "avg", "(", "attendance", ")", "from", "home_game"], "query_toks_no_value": ["select", "avg", "(", "attendance", ")", "from", "home_game"], "question": "Return the average number of attendance.", "question_toks": ["Return", "the", "average", "number", "of", "attendance", "."], "sql": {"from": {"table_units": [["table_unit", 13]], "conds": []}, "select": [false, [[5, [0, [0, 161, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_3640", "is_simplification": true, "simplifications_tags": ["GROUP_BY"]}, {"id": "group_by_0042", "db_id": "behavior_monitoring", "query": "select avg(monthly_rental) from student_addresses", "query_toks": ["select", "avg", "(", "monthly_rental", ")", "from", "student_addresses"], "query_toks_no_value": ["select", "avg", "(", "monthly_rental", ")", "from", "student_addresses"], "question": "What is the average monthly rentals?", "question_toks": ["What", "is", "the", "average", "monthly", "rentals", "?"], "sql": {"from": {"table_units": [["table_unit", 9]], "conds": []}, "select": [false, [[5, [0, [0, 60, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_3120", "is_simplification": true, "simplifications_tags": ["GROUP_BY"]}, {"id": "group_by_0043", "db_id": "body_builder", "query": "select birth_place from people", "query_toks": ["select", "birth_place", "from", "people"], "query_toks_no_value": ["select", "birth_place", "from", "people"], "question": "List each birth place.", "question_toks": ["List", "each", "birth", "place", "."], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[0, [0, [0, 11, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_1163", "is_simplification": true, "simplifications_tags": ["GROUP_BY"]}, {"id": "group_by_0044", "db_id": "candidate_poll", "query": "select count(*) from people where weight > 85", "query_toks": ["select", "count", "(*)", "from", "people", "where", "weight", ">", "85"], "query_toks_no_value": ["select", "count", "(*)", "from", "people", "where", "weight", ">", "value"], "question": "how many people are there whose weight is higher than 85?", "question_toks": ["how", "many", "people", "are", "there", "whose", "weight", "is", "higher", "than", "85", "?"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[3, [0, [0, 0, false], null]]]], "where": [[false, 3, [0, [0, 14, false], null], 85.0, null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_2424", "is_simplification": true, "simplifications_tags": ["GROUP_BY"]}, {"id": "group_by_0045", "db_id": "candidate_poll", "query": "select count(*) from people where weight > 85", "query_toks": ["select", "count", "(*)", "from", "people", "where", "weight", ">", "85"], "query_toks_no_value": ["select", "count", "(*)", "from", "people", "where", "weight", ">", "value"], "question": "Count the number of people who have a weight higher than 85.", "question_toks": ["Count", "the", "number", "of", "people", "who", "have", "a", "weight", "higher", "than", "85", "."], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[3, [0, [0, 0, false], null]]]], "where": [[false, 3, [0, [0, 14, false], null], 85.0, null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_2425", "is_simplification": true, "simplifications_tags": ["GROUP_BY"]}, {"id": "group_by_0046", "db_id": "chinook_1", "query": "select t1.title , t2.albumid from album as t1 join track as t2 on t1.albumid = t2.albumid", "query_toks": ["select", "t1", ".", "title", ",", "t2", ".", "albumid", "from", "album", "as", "t1", "join", "track", "as", "t2", "on", "t1", ".", "albumid", "=", "t2", ".", "albumid"], "query_toks_no_value": ["select", "t1", ".", "title", ",", "t2", ".", "albumid", "from", "album", "as", "t1", "join", "track", "as", "t2", "on", "t1", ".", "albumid", "=", "t2", ".", "albumid"], "question": "Show the album names and ids.", "question_toks": ["Show", "the", "album", "names", ",", "ids", "and", "the", "number", "of", "tracks", "."], "sql": {"from": {"table_units": [["table_unit", 0], ["table_unit", 10]], "conds": [[false, 2, [0, [0, 1, false], null], [0, 58, false], null]]}, "select": [false, [[0, [0, [0, 2, false], null]], [0, [0, [0, 58, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_0833", "is_simplification": true, "simplifications_tags": ["GROUP_BY"]}, {"id": "group_by_0047", "db_id": "chinook_1", "query": "select albumid, title from album;", "query_toks": ["select", "t1", ".", "title", ",", "t2", ".", "albumid", "from", "album", "as", "t1", "join", "track", "as", "t2", "on", "t1", ".", "albumid", "=", "t2", ".", "albumid"], "query_toks_no_value": ["select", "t1", ".", "title", ",", "t2", ".", "albumid", "from", "album", "as", "t1", "join", "track", "as", "t2", "on", "t1", ".", "albumid", "=", "t2", ".", "albumid"], "question": "What are the names and ids of the different albums?", "question_toks": ["What", "are", "the", "names", "and", "ids", "of", "the", "different", "albums", "?"], "sql": {"from": {"table_units": [["table_unit", 0], ["table_unit", 10]], "conds": [[false, 2, [0, [0, 1, false], null], [0, 58, false], null]]}, "select": [false, [[0, [0, [0, 2, false], null]], [0, [0, [0, 58, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_0834", "is_simplification": true, "simplifications_tags": ["GROUP_BY"]}, {"id": "group_by_0048", "db_id": "cinema", "query": "select directed_by from film", "query_toks": ["select", "directed_by", "from", "film"], "query_toks_no_value": ["select", "directed_by", "from", "film"], "question": "List all directors", "question_toks": ["List", "all", "directors"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 5, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_1949", "is_simplification": true, "simplifications_tags": ["GROUP_BY"]}, {"id": "group_by_0049", "db_id": "cinema", "query": "select sum(show_times_per_day) from schedule", "query_toks": ["select", "sum", "(", "show_times_per_day", ")", "from", "schedule"], "query_toks_no_value": ["select", "sum", "(", "show_times_per_day", ")", "from", "schedule"], "question": "What is total number of show times per dat?", "question_toks": ["What", "is", "total", "number", "of", "show", "times", "per", "dat", "?"], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[4, [0, [0, 16, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_1950", "is_simplification": true, "simplifications_tags": ["GROUP_BY"]}]