spiderology / testsets /values_without_columns /testset_values_without_columns.json
k8-dmi3eva's picture
[NEW]: Upload test-sets
cdc1cad verified
[{"id": "other_0012", "db_id": "geo", "query": "select area from state where state_name = \"new mexico\";", "query_toks": ["SELECT", "area", "FROM", "state", "WHERE", "state_name", "=", "``", "new", "mexico", "''", ";"], "query_toks_no_value": ["select", "area", "from", "state", "where", "state_name", "=", "value"], "question": "how big is new mexico", "question_toks": ["how", "big", "is", "new", "mexico"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 3, false], null]]]], "where": [[false, 2, [0, [0, 1, false], null], "\"new mexico\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["VALUES_WITHOUT_COLUMNS"], "source": "SPIDER_TRAIN_OTHERS", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "other_0014", "db_id": "geo", "query": "select area from state where state_name = \"new mexico\";", "query_toks": ["SELECT", "area", "FROM", "state", "WHERE", "state_name", "=", "``", "new", "mexico", "''", ";"], "query_toks_no_value": ["select", "area", "from", "state", "where", "state_name", "=", "value"], "question": "how large is new mexico", "question_toks": ["how", "large", "is", "new", "mexico"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 3, false], null]]]], "where": [[false, 2, [0, [0, 1, false], null], "\"new mexico\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["VALUES_WITHOUT_COLUMNS"], "source": "SPIDER_TRAIN_OTHERS", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "other_0118", "db_id": "geo", "query": "select state_name from city where city_name = \"springfield\";", "query_toks": ["SELECT", "state_name", "FROM", "city", "WHERE", "city_name", "=", "``", "springfield", "''", ";"], "query_toks_no_value": ["select", "state_name", "from", "city", "where", "city_name", "=", "value"], "question": "where is springfield", "question_toks": ["where", "is", "springfield"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[0, [0, [0, 10, false], null]]]], "where": [[false, 2, [0, [0, 7, false], null], "\"springfield\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["VALUES_WITHOUT_COLUMNS"], "source": "SPIDER_TRAIN_OTHERS", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "other_0132", "db_id": "geo", "query": "select population from city where city_name = \"boulder\";", "query_toks": ["SELECT", "population", "FROM", "city", "WHERE", "city_name", "=", "``", "boulder", "''", ";"], "query_toks_no_value": ["select", "population", "from", "city", "where", "city_name", "=", "value"], "question": "how many people live in boulder", "question_toks": ["how", "many", "people", "live", "in", "boulder"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[0, [0, [0, 8, false], null]]]], "where": [[false, 2, [0, [0, 7, false], null], "\"boulder\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["VALUES_WITHOUT_COLUMNS"], "source": "SPIDER_TRAIN_OTHERS", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "dev_0180", "db_id": "flight_2", "query": "select country from airlines where airline = \"jetblue airways\"", "query_toks": ["SELECT", "Country", "FROM", "AIRLINES", "WHERE", "Airline", "=", "``", "JetBlue", "Airways", "''"], "query_toks_no_value": ["select", "country", "from", "airlines", "where", "airline", "=", "value"], "question": "What country is Jetblue Airways affiliated with?", "question_toks": ["What", "country", "is", "Jetblue", "Airways", "affiliated", "with", "?"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 4, false], null]]]], "where": [[false, 2, [0, [0, 2, false], null], "\"JetBlue Airways\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["VALUES_WITHOUT_COLUMNS"], "source": "SPIDER_DEV", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "dev_0195", "db_id": "flight_2", "query": "select count(*) from airlines where country = \"usa\"", "query_toks": ["SELECT", "count", "(", "*", ")", "FROM", "AIRLINES", "WHERE", "Country", "=", "``", "USA", "''"], "query_toks_no_value": ["select", "count", "(", "*", ")", "from", "airlines", "where", "country", "=", "value"], "question": "How many airlines are from USA?", "question_toks": ["How", "many", "airlines", "are", "from", "USA", "?"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[3, [0, [0, 0, false], null]]]], "where": [[false, 2, [0, [0, 4, false], null], "\"USA\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["VALUES_WITHOUT_COLUMNS"], "source": "SPIDER_DEV", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "dev_0434", "db_id": "wta_1", "query": "select first_name , birth_date from players where country_code = 'usa'", "query_toks": ["SELECT", "first_name", ",", "birth_date", "FROM", "players", "WHERE", "country_code", "=", "'USA", "'"], "query_toks_no_value": ["select", "first_name", ",", "birth_date", "from", "players", "where", "country_code", "=", "value"], "question": "What are the first names and birth dates of players from the USA?", "question_toks": ["What", "are", "the", "first", "names", "and", "birth", "dates", "of", "players", "from", "the", "USA", "?"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 2, false], null]], [0, [0, [0, 5, false], null]]]], "where": [[false, 2, [0, [0, 6, false], null], "\"USA\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["VALUES_WITHOUT_COLUMNS"], "source": "SPIDER_DEV", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "dev_0514", "db_id": "student_transcripts_tracking", "query": "select zip_postcode from addresses where city = 'port chelsea'", "query_toks": ["SELECT", "zip_postcode", "FROM", "Addresses", "WHERE", "city", "=", "'Port", "Chelsea", "'"], "query_toks_no_value": ["select", "zip_postcode", "from", "addresses", "where", "city", "=", "value"], "question": "What is the zip code for Port Chelsea?", "question_toks": ["What", "is", "the", "zip", "code", "for", "Port", "Chelsea", "?"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 6, false], null]]]], "where": [[false, 2, [0, [0, 5, false], null], "\"Port Chelsea\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["VALUES_WITHOUT_COLUMNS"], "source": "SPIDER_DEV", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "dev_0554", "db_id": "student_transcripts_tracking", "query": "select cell_mobile_number from students where first_name = 'timmothy' and last_name = 'ward'", "query_toks": ["select", "cell_mobile_number", "from", "students", "where", "first_name", "=", "\"timmothy\"", "and", "last_name", "=", "\"ward\""], "query_toks_no_value": ["select", "cell_mobile_number", "from", "students", "where", "first_name", "=", "value", "and", "last_name", "=", "value"], "question": "What is the mobile phone number of the student named Timmothy Ward ?", "question_toks": ["What", "is", "the", "mobile", "phone", "number", "of", "the", "student", "named", "Timmothy", "Ward", "?"], "sql": {"from": {"table_units": [["table_unit", 6]], "conds": []}, "select": [false, [[0, [0, [0, 38, false], null]]]], "where": [[false, 2, [0, [0, 35, false], null], "\"timmothy\"", null], "and", [false, 2, [0, [0, 37, false], null], "\"ward\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["VALUES_WITHOUT_COLUMNS"], "source": "SPIDER_DEV", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "dev_0639", "db_id": "tvshow", "query": "select pixel_aspect_ratio_par , country from tv_channel where language != 'english'", "query_toks": ["SELECT", "Pixel_aspect_ratio_PAR", ",", "country", "FROM", "tv_channel", "WHERE", "LANGUAGE", "!", "=", "'English", "'"], "query_toks_no_value": ["select", "pixel_aspect_ratio_par", ",", "country", "from", "tv_channel", "where", "language", "!", "=", "value"], "question": "find the pixel aspect ratio and nation of the tv channels that do not use English.", "question_toks": ["find", "the", "pixel", "aspect", "ratio", "and", "nation", "of", "the", "tv", "channels", "that", "do", "not", "use", "English", "."], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 6, false], null]], [0, [0, [0, 3, false], null]]]], "where": [[false, 7, [0, [0, 4, false], null], "\"English\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["VALUES_WITHOUT_COLUMNS"], "source": "SPIDER_DEV", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "dev_0720", "db_id": "world_1", "query": "select name from country where continent = \"asia\" order by lifeexpectancy limit 1", "query_toks": ["SELECT", "Name", "FROM", "country", "WHERE", "Continent", "=", "``", "Asia", "''", "ORDER", "BY", "LifeExpectancy", "LIMIT", "1"], "query_toks_no_value": ["select", "name", "from", "country", "where", "continent", "=", "value", "order", "by", "lifeexpectancy", "limit", "value"], "question": "What is the name of country that has the shortest life expectancy in Asia?", "question_toks": ["What", "is", "the", "name", "of", "country", "that", "has", "the", "shortest", "life", "expectancy", "in", "Asia", "?"], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[0, [0, [0, 9, false], null]]]], "where": [[false, 2, [0, [0, 10, false], null], "\"Asia\"", null]], "groupBy": [], "having": [], "orderBy": ["asc", [[0, [0, 15, false], null]]], "limit": 1, "intersect": null, "union": null, "except": null}, "tags": ["VALUES_WITHOUT_COLUMNS"], "source": "SPIDER_DEV", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "dev_0721", "db_id": "world_1", "query": "select name from country where continent = \"asia\" order by lifeexpectancy limit 1", "query_toks": ["SELECT", "Name", "FROM", "country", "WHERE", "Continent", "=", "``", "Asia", "''", "ORDER", "BY", "LifeExpectancy", "LIMIT", "1"], "query_toks_no_value": ["select", "name", "from", "country", "where", "continent", "=", "value", "order", "by", "lifeexpectancy", "limit", "value"], "question": "Give the name of the country in Asia with the lowest life expectancy.", "question_toks": ["Give", "the", "name", "of", "the", "country", "in", "Asia", "with", "the", "lowest", "life", "expectancy", "."], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[0, [0, [0, 9, false], null]]]], "where": [[false, 2, [0, [0, 10, false], null], "\"Asia\"", null]], "groupBy": [], "having": [], "orderBy": ["asc", [[0, [0, 15, false], null]]], "limit": 1, "intersect": null, "union": null, "except": null}, "tags": ["VALUES_WITHOUT_COLUMNS"], "source": "SPIDER_DEV", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "dev_0722", "db_id": "world_1", "query": "select sum(population) , max(gnp) from country where continent = \"asia\"", "query_toks": ["SELECT", "sum", "(", "Population", ")", ",", "max", "(", "GNP", ")", "FROM", "country", "WHERE", "Continent", "=", "``", "Asia", "''"], "query_toks_no_value": ["select", "sum", "(", "population", ")", ",", "max", "(", "gnp", ")", "from", "country", "where", "continent", "=", "value"], "question": "What is the total population and maximum GNP in Asia?", "question_toks": ["What", "is", "the", "total", "population", "and", "maximum", "GNP", "in", "Asia", "?"], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[4, [0, [0, 14, false], null]], [1, [0, [0, 16, false], null]]]], "where": [[false, 2, [0, [0, 10, false], null], "\"Asia\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["VALUES_WITHOUT_COLUMNS"], "source": "SPIDER_DEV", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "dev_0731", "db_id": "world_1", "query": "select avg(gnp) , sum(population) from country where governmentform = \"us territory\"", "query_toks": ["SELECT", "avg", "(", "GNP", ")", ",", "sum", "(", "population", ")", "FROM", "country", "WHERE", "GovernmentForm", "=", "``", "US", "Territory", "''"], "query_toks_no_value": ["select", "avg", "(", "gnp", ")", ",", "sum", "(", "population", ")", "from", "country", "where", "governmentform", "=", "value"], "question": "Give the mean GNP and total population of nations which are considered US territory.", "question_toks": ["Give", "the", "mean", "GNP", "and", "total", "population", "of", "nations", "which", "are", "considered", "US", "territory", "."], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[5, [0, [0, 16, false], null]], [4, [0, [0, 14, false], null]]]], "where": [[false, 2, [0, [0, 19, false], null], "\"US Territory\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["VALUES_WITHOUT_COLUMNS"], "source": "SPIDER_DEV", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "dev_0736", "db_id": "world_1", "query": "select count(t2.language) from country as t1 join countrylanguage as t2 on t1.code = t2.countrycode where t1.name = \"aruba\"", "query_toks": ["SELECT", "COUNT", "(", "T2.Language", ")", "FROM", "country", "AS", "T1", "JOIN", "countrylanguage", "AS", "T2", "ON", "T1.Code", "=", "T2.CountryCode", "WHERE", "T1.Name", "=", "``", "Aruba", "''"], "query_toks_no_value": ["select", "count", "(", "t2", ".", "language", ")", "from", "country", "as", "t1", "join", "countrylanguage", "as", "t2", "on", "t1", ".", "code", "=", "t2", ".", "countrycode", "where", "t1", ".", "name", "=", "value"], "question": "What is the total number of languages used in Aruba?", "question_toks": ["What", "is", "the", "total", "number", "of", "languages", "used", "in", "Aruba", "?"], "sql": {"from": {"table_units": [["table_unit", 2], ["table_unit", 3]], "conds": [[false, 2, [0, [0, 8, false], null], [0, 23, false], null]]}, "select": [false, [[3, [0, [0, 24, false], null]]]], "where": [[false, 2, [0, [0, 9, false], null], "\"Aruba\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["VALUES_WITHOUT_COLUMNS"], "source": "SPIDER_DEV", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "dev_0737", "db_id": "world_1", "query": "select count(t2.language) from country as t1 join countrylanguage as t2 on t1.code = t2.countrycode where t1.name = \"aruba\"", "query_toks": ["SELECT", "COUNT", "(", "T2.Language", ")", "FROM", "country", "AS", "T1", "JOIN", "countrylanguage", "AS", "T2", "ON", "T1.Code", "=", "T2.CountryCode", "WHERE", "T1.Name", "=", "``", "Aruba", "''"], "query_toks_no_value": ["select", "count", "(", "t2", ".", "language", ")", "from", "country", "as", "t1", "join", "countrylanguage", "as", "t2", "on", "t1", ".", "code", "=", "t2", ".", "countrycode", "where", "t1", ".", "name", "=", "value"], "question": "How many languages are spoken in Aruba?", "question_toks": ["How", "many", "languages", "are", "spoken", "in", "Aruba", "?"], "sql": {"from": {"table_units": [["table_unit", 2], ["table_unit", 3]], "conds": [[false, 2, [0, [0, 8, false], null], [0, 23, false], null]]}, "select": [false, [[3, [0, [0, 24, false], null]]]], "where": [[false, 2, [0, [0, 9, false], null], "\"Aruba\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["VALUES_WITHOUT_COLUMNS"], "source": "SPIDER_DEV", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "dev_0738", "db_id": "world_1", "query": "select count(*) from country as t1 join countrylanguage as t2 on t1.code = t2.countrycode where t1.name = \"afghanistan\" and isofficial = \"t\"", "query_toks": ["SELECT", "COUNT", "(", "*", ")", "FROM", "country", "AS", "T1", "JOIN", "countrylanguage", "AS", "T2", "ON", "T1.Code", "=", "T2.CountryCode", "WHERE", "T1.Name", "=", "``", "Afghanistan", "''", "AND", "IsOfficial", "=", "``", "T", "''"], "query_toks_no_value": ["select", "count", "(", "*", ")", "from", "country", "as", "t1", "join", "countrylanguage", "as", "t2", "on", "t1", ".", "code", "=", "t2", ".", "countrycode", "where", "t1", ".", "name", "=", "value", "and", "isofficial", "=", "value"], "question": "How many official languages does Afghanistan have?", "question_toks": ["How", "many", "official", "languages", "does", "Afghanistan", "have", "?"], "sql": {"from": {"table_units": [["table_unit", 2], ["table_unit", 3]], "conds": [[false, 2, [0, [0, 8, false], null], [0, 23, false], null]]}, "select": [false, [[3, [0, [0, 0, false], null]]]], "where": [[false, 2, [0, [0, 9, false], null], "\"Afghanistan\"", null], "and", [false, 2, [0, [0, 25, false], null], "\"T\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["VALUES_WITHOUT_COLUMNS"], "source": "SPIDER_DEV", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "dev_0739", "db_id": "world_1", "query": "select count(*) from country as t1 join countrylanguage as t2 on t1.code = t2.countrycode where t1.name = \"afghanistan\" and isofficial = \"t\"", "query_toks": ["SELECT", "COUNT", "(", "*", ")", "FROM", "country", "AS", "T1", "JOIN", "countrylanguage", "AS", "T2", "ON", "T1.Code", "=", "T2.CountryCode", "WHERE", "T1.Name", "=", "``", "Afghanistan", "''", "AND", "IsOfficial", "=", "``", "T", "''"], "query_toks_no_value": ["select", "count", "(", "*", ")", "from", "country", "as", "t1", "join", "countrylanguage", "as", "t2", "on", "t1", ".", "code", "=", "t2", ".", "countrycode", "where", "t1", ".", "name", "=", "value", "and", "isofficial", "=", "value"], "question": "How many official languages are spoken in Afghanistan?", "question_toks": ["How", "many", "official", "languages", "are", "spoken", "in", "Afghanistan", "?"], "sql": {"from": {"table_units": [["table_unit", 2], ["table_unit", 3]], "conds": [[false, 2, [0, [0, 8, false], null], [0, 23, false], null]]}, "select": [false, [[3, [0, [0, 0, false], null]]]], "where": [[false, 2, [0, [0, 9, false], null], "\"Afghanistan\"", null], "and", [false, 2, [0, [0, 25, false], null], "\"T\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["VALUES_WITHOUT_COLUMNS"], "source": "SPIDER_DEV", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "dev_0750", "db_id": "world_1", "query": "select count( distinct continent) from country as t1 join countrylanguage as t2 on t1.code = t2.countrycode where t2.language = \"chinese\"", "query_toks": ["SELECT", "COUNT", "(", "DISTINCT", "Continent", ")", "FROM", "country", "AS", "T1", "JOIN", "countrylanguage", "AS", "T2", "ON", "T1.Code", "=", "T2.CountryCode", "WHERE", "T2.Language", "=", "``", "Chinese", "''"], "query_toks_no_value": ["select", "count", "(", "distinct", "continent", ")", "from", "country", "as", "t1", "join", "countrylanguage", "as", "t2", "on", "t1", ".", "code", "=", "t2", ".", "countrycode", "where", "t2", ".", "language", "=", "value"], "question": "What is the number of distinct continents where Chinese is spoken?", "question_toks": ["What", "is", "the", "number", "of", "distinct", "continents", "where", "Chinese", "is", "spoken", "?"], "sql": {"from": {"table_units": [["table_unit", 2], ["table_unit", 3]], "conds": [[false, 2, [0, [0, 8, false], null], [0, 23, false], null]]}, "select": [false, [[3, [0, [0, 10, true], null]]]], "where": [[false, 2, [0, [0, 24, false], null], "\"Chinese\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["VALUES_WITHOUT_COLUMNS"], "source": "SPIDER_DEV", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "dev_0806", "db_id": "world_1", "query": "select count(*) from country where continent = \"asia\"", "query_toks": ["SELECT", "count", "(", "*", ")", "FROM", "country", "WHERE", "continent", "=", "``", "Asia", "''"], "query_toks_no_value": ["select", "count", "(", "*", ")", "from", "country", "where", "continent", "=", "value"], "question": "how many countries are in Asia?", "question_toks": ["how", "many", "countries", "are", "in", "Asia", "?"], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[3, [0, [0, 0, false], null]]]], "where": [[false, 2, [0, [0, 10, false], null], "\"Asia\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["VALUES_WITHOUT_COLUMNS"], "source": "SPIDER_DEV", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "dev_0873", "db_id": "network_1", "query": "select id from highschooler where name = \"kyle\"", "query_toks": ["SELECT", "ID", "FROM", "Highschooler", "WHERE", "name", "=", "``", "Kyle", "''"], "query_toks_no_value": ["select", "id", "from", "highschooler", "where", "name", "=", "value"], "question": "What is Kyle's id?", "question_toks": ["What", "is", "Kyle", "'s", "id", "?"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 1, false], null]]]], "where": [[false, 2, [0, [0, 2, false], null], "\"Kyle\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["VALUES_WITHOUT_COLUMNS"], "source": "SPIDER_DEV", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_0166", "db_id": "bike_1", "query": "select count(*) from trip as t1 join station as t2 on t1.end_station_id = t2.id where t2.city != \"san francisco\"", "query_toks": ["SELECT", "count", "(", "*", ")", "FROM", "trip", "AS", "T1", "JOIN", "station", "AS", "T2", "ON", "T1.end_station_id", "=", "T2.id", "WHERE", "T2.city", "!", "=", "``", "San", "Francisco", "''"], "query_toks_no_value": ["select", "count", "(", "*", ")", "from", "trip", "as", "t1", "join", "station", "as", "t2", "on", "t1", ".", "end_station_id", "=", "t2", ".", "id", "where", "t2", ".", "city", "!", "=", "value"], "question": "How many trips did not end in San Francisco?", "question_toks": ["How", "many", "trips", "did", "not", "end", "in", "San", "Francisco", "?"], "sql": {"from": {"table_units": [["table_unit", 2], ["table_unit", 0]], "conds": [[false, 2, [0, [0, 19, false], null], [0, 1, false], null]]}, "select": [false, [[3, [0, [0, 0, false], null]]]], "where": [[false, 7, [0, [0, 6, false], null], "\"San Francisco\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["VALUES_WITHOUT_COLUMNS"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_0167", "db_id": "bike_1", "query": "select date from weather where zip_code = 94107 and events != \"fog\" and events != \"rain\"", "query_toks": ["SELECT", "date", "FROM", "weather", "WHERE", "zip_code", "=", "94107", "AND", "EVENTS", "!", "=", "``", "Fog", "''", "AND", "EVENTS", "!", "=", "``", "Rain", "''"], "query_toks_no_value": ["select", "date", "from", "weather", "where", "zip_code", "=", "value", "and", "events", "!", "=", "value", "and", "events", "!", "=", "value"], "question": "In zip code 94107, on which day neither Fog nor Rain was not observed?", "question_toks": ["In", "zip", "code", "94107", ",", "on", "which", "day", "neither", "Fog", "nor", "Rain", "was", "not", "observed", "?"], "sql": {"from": {"table_units": [["table_unit", 3]], "conds": []}, "select": [false, [[0, [0, [0, 23, false], null]]]], "where": [[false, 2, [0, [0, 46, false], null], 94107.0, null], "and", [false, 7, [0, [0, 44, false], null], "\"Fog\"", null], "and", [false, 7, [0, [0, 44, false], null], "\"Rain\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["VALUES_WITHOUT_COLUMNS"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_0172", "db_id": "bike_1", "query": "select t1.name from station as t1 join status as t2 on t1.id = t2.station_id group by t2.station_id having avg(bikes_available) > 10 except select name from station where city = \"san jose\"", "query_toks": ["SELECT", "T1.name", "FROM", "station", "AS", "T1", "JOIN", "status", "AS", "T2", "ON", "T1.id", "=", "T2.station_id", "GROUP", "BY", "T2.station_id", "HAVING", "avg", "(", "bikes_available", ")", ">", "10", "EXCEPT", "SELECT", "name", "FROM", "station", "WHERE", "city", "=", "``", "San", "Jose", "''"], "query_toks_no_value": ["select", "t1", ".", "name", "from", "station", "as", "t1", "join", "status", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "station_id", "group", "by", "t2", ".", "station_id", "having", "avg", "(", "bikes_available", ")", ">", "value", "except", "select", "name", "from", "station", "where", "city", "=", "value"], "question": "What are the names of all stations that have more than 10 bikes available and are not located in San Jose?", "question_toks": ["What", "are", "the", "names", "of", "all", "stations", "that", "have", "more", "than", "10", "bikes", "available", "and", "are", "not", "located", "in", "San", "Jose", "?"], "sql": {"from": {"table_units": [["table_unit", 0], ["table_unit", 1]], "conds": [[false, 2, [0, [0, 1, false], null], [0, 8, false], null]]}, "select": [false, [[0, [0, [0, 2, false], null]]]], "where": [], "groupBy": [[0, 8, false]], "having": [[false, 3, [0, [5, 9, false], null], 10.0, null]], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 2, false], null]]]], "where": [[false, 2, [0, [0, 6, false], null], "\"San Jose\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}}, "tags": ["VALUES_WITHOUT_COLUMNS"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_0209", "db_id": "bike_1", "query": "select count(*) from station as t1 join trip as t2 join station as t3 join trip as t4 on t1.id = t2.start_station_id and t2.id = t4.id and t3.id = t4.end_station_id where t1.city = \"mountain view\" and t3.city = \"palo alto\"", "query_toks": ["SELECT", "count", "(", "*", ")", "FROM", "station", "AS", "T1", "JOIN", "trip", "AS", "T2", "JOIN", "station", "AS", "T3", "JOIN", "trip", "AS", "T4", "ON", "T1.id", "=", "T2.start_station_id", "AND", "T2.id", "=", "T4.id", "AND", "T3.id", "=", "T4.end_station_id", "WHERE", "T1.city", "=", "``", "Mountain", "View", "''", "AND", "T3.city", "=", "``", "Palo", "Alto", "''"], "query_toks_no_value": ["select", "count", "(", "*", ")", "from", "station", "as", "t1", "join", "trip", "as", "t2", "join", "station", "as", "t3", "join", "trip", "as", "t4", "on", "t1", ".", "id", "=", "t2", ".", "start_station_id", "and", "t2", ".", "id", "=", "t4", ".", "id", "and", "t3", ".", "id", "=", "t4", ".", "end_station_id", "where", "t1", ".", "city", "=", "value", "and", "t3", ".", "city", "=", "value"], "question": "How many trips started from Mountain View city and ended at Palo Alto city?", "question_toks": ["How", "many", "trips", "started", "from", "Mountain", "View", "city", "and", "ended", "at", "Palo", "Alto", "city", "?"], "sql": {"from": {"table_units": [["table_unit", 0], ["table_unit", 2], ["table_unit", 0], ["table_unit", 2]], "conds": [[false, 2, [0, [0, 1, false], null], [0, 16, false], null], "and", [false, 2, [0, [0, 12, false], null], [0, 12, false], null], "and", [false, 2, [0, [0, 1, false], null], [0, 19, false], null]]}, "select": [false, [[3, [0, [0, 0, false], null]]]], "where": [[false, 2, [0, [0, 6, false], null], "\"Mountain View\"", null], "and", [false, 2, [0, [0, 6, false], null], "\"Palo Alto\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["VALUES_WITHOUT_COLUMNS"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_0379", "db_id": "flight_1", "query": "select eid , salary from employee where name = 'mark young'", "query_toks": ["SELECT", "eid", ",", "salary", "FROM", "Employee", "WHERE", "name", "=", "'Mark", "Young", "'"], "query_toks_no_value": ["select", "eid", ",", "salary", "from", "employee", "where", "name", "=", "value"], "question": "Show the id and salary of Mark Young.", "question_toks": ["Show", "the", "id", "and", "salary", "of", "Mark", "Young", "."], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[0, [0, [0, 12, false], null]], [0, [0, [0, 14, false], null]]]], "where": [[false, 2, [0, [0, 13, false], null], "\"Mark Young\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["VALUES_WITHOUT_COLUMNS"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_0424", "db_id": "flight_1", "query": "select t3.name from employee as t1 join certificate as t2 on t1.eid = t2.eid join aircraft as t3 on t3.aid = t2.aid where t1.name = \"john williams\"", "query_toks": ["SELECT", "T3.name", "FROM", "Employee", "AS", "T1", "JOIN", "Certificate", "AS", "T2", "ON", "T1.eid", "=", "T2.eid", "JOIN", "Aircraft", "AS", "T3", "ON", "T3.aid", "=", "T2.aid", "WHERE", "T1.name", "=", "``", "John", "Williams", "''"], "query_toks_no_value": ["select", "t3", ".", "name", "from", "employee", "as", "t1", "join", "certificate", "as", "t2", "on", "t1", ".", "eid", "=", "t2", ".", "eid", "join", "aircraft", "as", "t3", "on", "t3", ".", "aid", "=", "t2", ".", "aid", "where", "t1", ".", "name", "=", "value"], "question": "What are the names of all aircrafts that John Williams have certificates to be able to fly?", "question_toks": ["What", "are", "the", "names", "of", "all", "aircrafts", "that", "John", "Williams", "have", "certificates", "to", "be", "able", "to", "fly", "?"], "sql": {"from": {"table_units": [["table_unit", 2], ["table_unit", 3], ["table_unit", 1]], "conds": [[false, 2, [0, [0, 12, false], null], [0, 15, false], null], "and", [false, 2, [0, [0, 9, false], null], [0, 16, false], null]]}, "select": [false, [[0, [0, [0, 10, false], null]]]], "where": [[false, 2, [0, [0, 13, false], null], "\"John Williams\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["VALUES_WITHOUT_COLUMNS"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_0482", "db_id": "allergy_1", "query": "select count(*) from student where city_code = \"hkg\" or city_code = \"chi\"", "query_toks": ["SELECT", "count", "(", "*", ")", "FROM", "Student", "WHERE", "city_code", "=", "``", "HKG", "''", "OR", "city_code", "=", "``", "CHI", "''"], "query_toks_no_value": ["select", "count", "(", "*", ")", "from", "student", "where", "city_code", "=", "value", "or", "city_code", "=", "value"], "question": "Give the number of students living in either HKG or CHI.", "question_toks": ["Give", "the", "number", "of", "students", "living", "in", "either", "HKG", "or", "CHI", "."], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[3, [0, [0, 0, false], null]]]], "where": [[false, 2, [0, [0, 12, false], null], "\"HKG\"", null], "or", [false, 2, [0, [0, 12, false], null], "\"CHI\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["VALUES_WITHOUT_COLUMNS"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_0576", "db_id": "store_1", "query": "select email , phone from customers where first_name = \"astrid\" and last_name = \"gruber\";", "query_toks": ["SELECT", "email", ",", "phone", "FROM", "customers", "WHERE", "first_name", "=", "``", "Astrid", "''", "AND", "last_name", "=", "``", "Gruber", "''", ";"], "query_toks_no_value": ["select", "email", ",", "phone", "from", "customers", "where", "first_name", "=", "value", "and", "last_name", "=", "value"], "question": "What is the email and phone number of Astrid Gruber the customer?", "question_toks": ["What", "is", "the", "email", "and", "phone", "number", "of", "Astrid", "Gruber", "the", "customer", "?"], "sql": {"from": {"table_units": [["table_unit", 4]], "conds": []}, "select": [false, [[0, [0, [0, 34, false], null]], [0, [0, [0, 32, false], null]]]], "where": [[false, 2, [0, [0, 24, false], null], "\"Astrid\"", null], "and", [false, 2, [0, [0, 25, false], null], "\"Gruber\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["VALUES_WITHOUT_COLUMNS"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_0598", "db_id": "store_1", "query": "select phone from employees where first_name = \"nancy\" and last_name = \"edwards\";", "query_toks": ["SELECT", "phone", "FROM", "employees", "WHERE", "first_name", "=", "``", "Nancy", "''", "AND", "last_name", "=", "``", "Edwards", "''", ";"], "query_toks_no_value": ["select", "phone", "from", "employees", "where", "first_name", "=", "value", "and", "last_name", "=", "value"], "question": "What is the the phone number of Nancy Edwards?", "question_toks": ["What", "is", "the", "the", "phone", "number", "of", "Nancy", "Edwards", "?"], "sql": {"from": {"table_units": [["table_unit", 3]], "conds": []}, "select": [false, [[0, [0, [0, 20, false], null]]]], "where": [[false, 2, [0, [0, 10, false], null], "\"Nancy\"", null], "and", [false, 2, [0, [0, 9, false], null], "\"Edwards\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["VALUES_WITHOUT_COLUMNS"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_0607", "db_id": "store_1", "query": "select count(*) from customers as t1 join invoices as t2 on t1.id = t2.customer_id where t1.first_name = \"lucas\" and t1.last_name = \"mancini\";", "query_toks": ["SELECT", "count", "(", "*", ")", "FROM", "customers", "AS", "T1", "JOIN", "invoices", "AS", "T2", "ON", "T1.id", "=", "T2.customer_id", "WHERE", "T1.first_name", "=", "``", "Lucas", "''", "AND", "T1.last_name", "=", "``", "Mancini", "''", ";"], "query_toks_no_value": ["select", "count", "(", "*", ")", "from", "customers", "as", "t1", "join", "invoices", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "customer_id", "where", "t1", ".", "first_name", "=", "value", "and", "t1", ".", "last_name", "=", "value"], "question": "How many orders does Lucas Mancini has?", "question_toks": ["How", "many", "orders", "does", "Lucas", "Mancini", "has", "?"], "sql": {"from": {"table_units": [["table_unit", 4], ["table_unit", 6]], "conds": [[false, 2, [0, [0, 23, false], null], [0, 39, false], null]]}, "select": [false, [[3, [0, [0, 0, false], null]]]], "where": [[false, 2, [0, [0, 24, false], null], "\"Lucas\"", null], "and", [false, 2, [0, [0, 25, false], null], "\"Mancini\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["VALUES_WITHOUT_COLUMNS"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_0620", "db_id": "store_1", "query": "select milliseconds from tracks where name = \"fast as a shark\";", "query_toks": ["SELECT", "milliseconds", "FROM", "tracks", "WHERE", "name", "=", "``", "Fast", "As", "a", "Shark", "''", ";"], "query_toks_no_value": ["select", "milliseconds", "from", "tracks", "where", "name", "=", "value"], "question": "How many milliseconds long is Fast As a Shark?", "question_toks": ["How", "many", "milliseconds", "long", "is", "Fast", "As", "a", "Shark", "?"], "sql": {"from": {"table_units": [["table_unit", 8]], "conds": []}, "select": [false, [[0, [0, [0, 55, false], null]]]], "where": [[false, 2, [0, [0, 50, false], null], "\"Fast As a Shark\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["VALUES_WITHOUT_COLUMNS"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_0707", "db_id": "customers_card_transactions", "query": "select count(*) from customers_cards where card_type_code = \"debit\"", "query_toks": ["SELECT", "count", "(", "*", ")", "FROM", "Customers_cards", "WHERE", "card_type_code", "=", "``", "Debit", "''"], "query_toks_no_value": ["select", "count", "(", "*", ")", "from", "customers_cards", "where", "card_type_code", "=", "value"], "question": "How many debit cards do we have?", "question_toks": ["How", "many", "debit", "cards", "do", "we", "have", "?"], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[3, [0, [0, 0, false], null]]]], "where": [[false, 2, [0, [0, 14, false], null], "\"Debit\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["VALUES_WITHOUT_COLUMNS"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_0727", "db_id": "customers_card_transactions", "query": "select customer_id , customer_first_name from customers except select t1.customer_id , t2.customer_first_name from customers_cards as t1 join customers as t2 on t1.customer_id = t2.customer_id where card_type_code = \"credit\"", "query_toks": ["SELECT", "customer_id", ",", "customer_first_name", "FROM", "Customers", "EXCEPT", "SELECT", "T1.customer_id", ",", "T2.customer_first_name", "FROM", "Customers_cards", "AS", "T1", "JOIN", "Customers", "AS", "T2", "ON", "T1.customer_id", "=", "T2.customer_id", "WHERE", "card_type_code", "=", "``", "Credit", "''"], "query_toks_no_value": ["select", "customer_id", ",", "customer_first_name", "from", "customers", "except", "select", "t1", ".", "customer_id", ",", "t2", ".", "customer_first_name", "from", "customers_cards", "as", "t1", "join", "customers", "as", "t2", "on", "t1", ".", "customer_id", "=", "t2", ".", "customer_id", "where", "card_type_code", "=", "value"], "question": "Show the customer ids and firstname without a credit card.", "question_toks": ["Show", "the", "customer", "ids", "and", "firstname", "without", "a", "credit", "card", "."], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[0, [0, [0, 5, false], null]], [0, [0, [0, 6, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": {"from": {"table_units": [["table_unit", 2], ["table_unit", 1]], "conds": [[false, 2, [0, [0, 13, false], null], [0, 5, false], null]]}, "select": [false, [[0, [0, [0, 13, false], null]], [0, [0, [0, 6, false], null]]]], "where": [[false, 2, [0, [0, 14, false], null], "\"Credit\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}}, "tags": ["VALUES_WITHOUT_COLUMNS"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_6996", "db_id": "culture_company", "query": "select t1.title , t3.book_title from movie as t1 join culture_company as t2 on t1.movie_id = t2.movie_id join book_club as t3 on t3.book_club_id = t2.book_club_id where t2.incorporated_in = 'china'", "query_toks": ["SELECT", "T1.title", ",", "T3.book_title", "FROM", "movie", "AS", "T1", "JOIN", "culture_company", "AS", "T2", "ON", "T1.movie_id", "=", "T2.movie_id", "JOIN", "book_club", "AS", "T3", "ON", "T3.book_club_id", "=", "T2.book_club_id", "WHERE", "T2.incorporated_in", "=", "'China", "'"], "query_toks_no_value": ["select", "t1", ".", "title", ",", "t3", ".", "book_title", "from", "movie", "as", "t1", "join", "culture_company", "as", "t2", "on", "t1", ".", "movie_id", "=", "t2", ".", "movie_id", "join", "book_club", "as", "t3", "on", "t3", ".", "book_club_id", "=", "t2", ".", "book_club_id", "where", "t2", ".", "incorporated_in", "=", "value"], "question": "Show the movie titles and book titles for all companies in China.", "question_toks": ["Show", "the", "movie", "titles", "and", "book", "titles", "for", "all", "companies", "in", "China", "."], "sql": {"from": {"table_units": [["table_unit", 1], ["table_unit", 2], ["table_unit", 0]], "conds": [[false, 2, [0, [0, 8, false], null], [0, 19, false], null], "and", [false, 2, [0, [0, 1, false], null], [0, 18, false], null]]}, "select": [false, [[0, [0, [0, 9, false], null]], [0, [0, [0, 4, false], null]]]], "where": [[false, 2, [0, [0, 16, false], null], "\"China\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["VALUES_WITHOUT_COLUMNS"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}]