File size: 39,011 Bytes
cdc1cad
1
[{"id": "dev_0965", "db_id": "dog_kennels", "query": "select date_arrived ,  date_departed from dogs", "query_toks": ["SELECT", "date_arrived", ",", "date_departed", "FROM", "Dogs"], "query_toks_no_value": ["select", "date_arrived", ",", "date_departed", "from", "dogs"], "question": "List the arrival date and the departure date for all the dogs.", "question_toks": ["List", "the", "arrival", "date", "and", "the", "departure", "date", "for", "all", "the", "dogs", "."], "sql": {"from": {"table_units": [["table_unit", 5]], "conds": []}, "select": [false, [[0, [0, [0, 30, false], null]], [0, [0, [0, 32, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["COLUMN_OVERLAPPING"], "source": "SPIDER_DEV", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_4803", "db_id": "aircraft", "query": "select international_passengers ,  domestic_passengers from airport where airport_name  =  \"london heathrow\"", "query_toks": ["SELECT", "International_Passengers", ",", "Domestic_Passengers", "FROM", "airport", "WHERE", "Airport_Name", "=", "``", "London", "Heathrow", "''"], "query_toks_no_value": ["select", "international_passengers", ",", "domestic_passengers", "from", "airport", "where", "airport_name", "=", "value"], "question": "What are the number of international and domestic passengers of the airport named London \"Heathrow\"?", "question_toks": ["What", "are", "the", "number", "of", "international", "and", "domestic", "passengers", "of", "the", "airport", "named", "London", "``", "Heathrow", "''", "?"], "sql": {"from": {"table_units": [["table_unit", 3]], "conds": []}, "select": [false, [[0, [0, [0, 21, false], null]], [0, [0, [0, 22, false], null]]]], "where": [[false, 2, [0, [0, 18, false], null], "\"London Heathrow\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["COLUMN_OVERLAPPING"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_4804", "db_id": "aircraft", "query": "select international_passengers ,  domestic_passengers from airport where airport_name  =  \"london heathrow\"", "query_toks": ["SELECT", "International_Passengers", ",", "Domestic_Passengers", "FROM", "airport", "WHERE", "Airport_Name", "=", "``", "London", "Heathrow", "''"], "query_toks_no_value": ["select", "international_passengers", ",", "domestic_passengers", "from", "airport", "where", "airport_name", "=", "value"], "question": "How many international and domestic passengers are there in the airport London Heathrow?", "question_toks": ["How", "many", "international", "and", "domestic", "passengers", "are", "there", "in", "the", "airport", "London", "Heathrow", "?"], "sql": {"from": {"table_units": [["table_unit", 3]], "conds": []}, "select": [false, [[0, [0, [0, 21, false], null]], [0, [0, [0, 22, false], null]]]], "where": [[false, 2, [0, [0, 18, false], null], "\"London Heathrow\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["COLUMN_OVERLAPPING"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_0134", "db_id": "bike_1", "query": "select start_station_name ,  start_station_id from trip where start_date like \"8/%\" group by start_station_name order by count(*) desc limit 1", "query_toks": ["SELECT", "start_station_name", ",", "start_station_id", "FROM", "trip", "WHERE", "start_date", "LIKE", "``", "8/", "%", "''", "GROUP", "BY", "start_station_name", "ORDER", "BY", "COUNT", "(", "*", ")", "DESC", "LIMIT", "1"], "query_toks_no_value": ["select", "start_station_name", ",", "start_station_id", "from", "trip", "where", "start_date", "like", "value", "group", "by", "start_station_name", "order", "by", "count", "(", "*", ")", "desc", "limit", "value"], "question": "What are the start station's name and id for the one that had the most start trips in August?", "question_toks": ["What", "are", "the", "start", "station", "'s", "name", "and", "id", "for", "the", "one", "that", "had", "the", "most", "start", "trips", "in", "August", "?"], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[0, [0, [0, 15, false], null]], [0, [0, [0, 16, false], null]]]], "where": [[false, 9, [0, [0, 14, false], null], "\"8/%\"", null]], "groupBy": [[0, 15, false]], "having": [], "orderBy": ["desc", [[0, [3, 0, false], null]]], "limit": 1, "intersect": null, "union": null, "except": null}, "tags": ["COLUMN_OVERLAPPING"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_5667", "db_id": "customers_and_products_contacts", "query": "select product_type_code ,  product_name from products where product_price  >  1000 or product_price  <  500", "query_toks": ["SELECT", "product_type_code", ",", "product_name", "FROM", "products", "WHERE", "product_price", ">", "1000", "OR", "product_price", "<", "500"], "query_toks_no_value": ["select", "product_type_code", ",", "product_name", "from", "products", "where", "product_price", ">", "value", "or", "product_price", "<", "value"], "question": "Show the product type and name for the products with price higher than 1000 or lower than 500.", "question_toks": ["Show", "the", "product", "type", "and", "name", "for", "the", "products", "with", "price", "higher", "than", "1000", "or", "lower", "than", "500", "."], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[0, [0, [0, 8, false], null]], [0, [0, [0, 9, false], null]]]], "where": [[false, 3, [0, [0, 10, false], null], 1000.0, null], "or", [false, 4, [0, [0, 10, false], null], 500.0, null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["COLUMN_OVERLAPPING"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_0685", "db_id": "customers_card_transactions", "query": "select customer_first_name ,  customer_last_name from customers except select t1.customer_first_name ,  t1.customer_last_name from customers as t1 join accounts as t2 on t1.customer_id  =  t2.customer_id", "query_toks": ["SELECT", "customer_first_name", ",", "customer_last_name", "FROM", "Customers", "EXCEPT", "SELECT", "T1.customer_first_name", ",", "T1.customer_last_name", "FROM", "Customers", "AS", "T1", "JOIN", "Accounts", "AS", "T2", "ON", "T1.customer_id", "=", "T2.customer_id"], "query_toks_no_value": ["select", "customer_first_name", ",", "customer_last_name", "from", "customers", "except", "select", "t1", ".", "customer_first_name", ",", "t1", ".", "customer_last_name", "from", "customers", "as", "t1", "join", "accounts", "as", "t2", "on", "t1", ".", "customer_id", "=", "t2", ".", "customer_id"], "question": "Show the first names and last names of customers without any account.", "question_toks": ["Show", "the", "first", "names", "and", "last", "names", "of", "customers", "without", "any", "account", "."], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[0, [0, [0, 6, false], null]], [0, [0, [0, 7, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": {"from": {"table_units": [["table_unit", 1], ["table_unit", 0]], "conds": [[false, 2, [0, [0, 5, false], null], [0, 2, false], null]]}, "select": [false, [[0, [0, [0, 6, false], null]], [0, [0, [0, 7, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}}, "tags": ["COLUMN_OVERLAPPING"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_0717", "db_id": "customers_card_transactions", "query": "select t1.customer_id ,  t2.customer_first_name ,  t2.customer_last_name from customers_cards as t1 join customers as t2 on t1.customer_id  =  t2.customer_id group by t1.customer_id order by count(*) asc limit 1", "query_toks": ["SELECT", "T1.customer_id", ",", "T2.customer_first_name", ",", "T2.customer_last_name", "FROM", "Customers_cards", "AS", "T1", "JOIN", "Customers", "AS", "T2", "ON", "T1.customer_id", "=", "T2.customer_id", "GROUP", "BY", "T1.customer_id", "ORDER", "BY", "count", "(", "*", ")", "ASC", "LIMIT", "1"], "query_toks_no_value": ["select", "t1", ".", "customer_id", ",", "t2", ".", "customer_first_name", ",", "t2", ".", "customer_last_name", "from", "customers_cards", "as", "t1", "join", "customers", "as", "t2", "on", "t1", ".", "customer_id", "=", "t2", ".", "customer_id", "group", "by", "t1", ".", "customer_id", "order", "by", "count", "(", "*", ")", "asc", "limit", "value"], "question": "What is the customer id, first and last name with least number of accounts.", "question_toks": ["What", "is", "the", "customer", "id", ",", "first", "and", "last", "name", "with", "least", "number", "of", "accounts", "."], "sql": {"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]], [0, [0, [0, 7, false], null]]]], "where": [], "groupBy": [[0, 13, false]], "having": [], "orderBy": ["asc", [[0, [3, 0, false], null]]], "limit": 1, "intersect": null, "union": null, "except": null}, "tags": ["COLUMN_OVERLAPPING"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_0390", "db_id": "flight_1", "query": "select departure_date ,  arrival_date from flight where origin  =  \"los angeles\" and destination  =  \"honolulu\"", "query_toks": ["SELECT", "departure_date", ",", "arrival_date", "FROM", "Flight", "WHERE", "origin", "=", "``", "Los", "Angeles", "''", "AND", "destination", "=", "``", "Honolulu", "''"], "query_toks_no_value": ["select", "departure_date", ",", "arrival_date", "from", "flight", "where", "origin", "=", "value", "and", "destination", "=", "value"], "question": "What are the departure and arrival dates of all flights from LA to Honolulu?", "question_toks": ["What", "are", "the", "departure", "and", "arrival", "dates", "of", "all", "flights", "from", "LA", "to", "Honolulu", "?"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 5, false], null]], [0, [0, [0, 6, false], null]]]], "where": [[false, 2, [0, [0, 2, false], null], "\"Los Angeles\"", null], "and", [false, 2, [0, [0, 3, false], null], "\"Honolulu\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["COLUMN_OVERLAPPING"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_0931", "db_id": "insurance_fnol", "query": "select t2.date_opened ,  t2.date_closed from customers as t1 join customers_policies as t2 on t1.customer_id  =  t2.customer_id where t1.customer_name like \"%diana%\"", "query_toks": ["SELECT", "t2.date_opened", ",", "t2.date_closed", "FROM", "customers", "AS", "t1", "JOIN", "customers_policies", "AS", "t2", "ON", "t1.customer_id", "=", "t2.customer_id", "WHERE", "t1.customer_name", "LIKE", "``", "%", "Diana", "%", "''"], "query_toks_no_value": ["select", "t2", ".", "date_opened", ",", "t2", ".", "date_closed", "from", "customers", "as", "t1", "join", "customers_policies", "as", "t2", "on", "t1", ".", "customer_id", "=", "t2", ".", "customer_id", "where", "t1", ".", "customer_name", "like", "value"], "question": "Retrieve the open and close dates of all the policies associated with the customer whose name contains \"Diana\"", "question_toks": ["Retrieve", "the", "open", "and", "close", "dates", "of", "all", "the", "policies", "associated", "with", "the", "customer", "whose", "name", "contains", "``", "Diana", "''"], "sql": {"from": {"table_units": [["table_unit", 0], ["table_unit", 3]], "conds": [[false, 2, [0, [0, 1, false], null], [0, 8, false], null]]}, "select": [false, [[0, [0, [0, 10, false], null]], [0, [0, [0, 11, false], null]]]], "where": [[false, 9, [0, [0, 2, false], null], "\"%Diana%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["COLUMN_OVERLAPPING"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_0932", "db_id": "insurance_fnol", "query": "select t2.date_opened ,  t2.date_closed from customers as t1 join customers_policies as t2 on t1.customer_id  =  t2.customer_id where t1.customer_name like \"%diana%\"", "query_toks": ["SELECT", "t2.date_opened", ",", "t2.date_closed", "FROM", "customers", "AS", "t1", "JOIN", "customers_policies", "AS", "t2", "ON", "t1.customer_id", "=", "t2.customer_id", "WHERE", "t1.customer_name", "LIKE", "``", "%", "Diana", "%", "''"], "query_toks_no_value": ["select", "t2", ".", "date_opened", ",", "t2", ".", "date_closed", "from", "customers", "as", "t1", "join", "customers_policies", "as", "t2", "on", "t1", ".", "customer_id", "=", "t2", ".", "customer_id", "where", "t1", ".", "customer_name", "like", "value"], "question": "What are the open and close dates of all the policies used by the customer who have \"Diana\" in part of their names?", "question_toks": ["What", "are", "the", "open", "and", "close", "dates", "of", "all", "the", "policies", "used", "by", "the", "customer", "who", "have", "``", "Diana", "''", "in", "part", "of", "their", "names", "?"], "sql": {"from": {"table_units": [["table_unit", 0], ["table_unit", 3]], "conds": [[false, 2, [0, [0, 1, false], null], [0, 8, false], null]]}, "select": [false, [[0, [0, [0, 10, false], null]], [0, [0, [0, 11, false], null]]]], "where": [[false, 9, [0, [0, 2, false], null], "\"%Diana%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["COLUMN_OVERLAPPING"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_2045", "db_id": "party_people", "query": "select minister ,  took_office ,  left_office from party order by left_office", "query_toks": ["SELECT", "minister", ",", "took_office", ",", "left_office", "FROM", "party", "ORDER", "BY", "left_office"], "query_toks_no_value": ["select", "minister", ",", "took_office", ",", "left_office", "from", "party", "order", "by", "left_office"], "question": "Show the ministers and the time they took and left office, listed by the time they left office.", "question_toks": ["Show", "the", "ministers", "and", "the", "time", "they", "took", "and", "left", "office", ",", "listed", "by", "the", "time", "they", "left", "office", "."], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[0, [0, [0, 8, false], null]], [0, [0, [0, 9, false], null]], [0, [0, [0, 10, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": ["asc", [[0, [0, 10, false], null]]], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["COLUMN_OVERLAPPING"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_1293", "db_id": "soccer_1", "query": "select t1.name ,  t2.name from country as t1 join league as t2 on t1.id  =  t2.country_id", "query_toks": ["SELECT", "T1.name", ",", "T2.name", "FROM", "Country", "AS", "T1", "JOIN", "League", "AS", "T2", "ON", "T1.id", "=", "T2.country_id"], "query_toks_no_value": ["select", "t1", ".", "name", ",", "t2", ".", "name", "from", "country", "as", "t1", "join", "league", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "country_id"], "question": "List all country and league names.", "question_toks": ["List", "all", "country", "and", "league", "names", "."], "sql": {"from": {"table_units": [["table_unit", 4], ["table_unit", 3]], "conds": [[false, 2, [0, [0, 55, false], null], [0, 53, false], null]]}, "select": [false, [[0, [0, [0, 56, false], null]], [0, [0, [0, 54, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["COLUMN_OVERLAPPING"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "dev_0347", "db_id": "cre_Doc_Template_Mgt", "query": "select template_type_code ,  template_type_description from ref_template_types", "query_toks": ["SELECT", "template_type_code", ",", "template_type_description", "FROM", "Ref_template_types"], "query_toks_no_value": ["select", "template_type_code", ",", "template_type_description", "from", "ref_template_types"], "question": "Show all template type codes and descriptions.", "question_toks": ["Show", "all", "template", "type", "codes", "and", "descriptions", "."], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 1, false], null]], [0, [0, [0, 2, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["COLUMN_OVERLAPPING"], "source": "SPIDER_DEV", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "dev_0348", "db_id": "cre_Doc_Template_Mgt", "query": "select template_type_code ,  template_type_description from ref_template_types", "query_toks": ["SELECT", "template_type_code", ",", "template_type_description", "FROM", "Ref_template_types"], "query_toks_no_value": ["select", "template_type_code", ",", "template_type_description", "from", "ref_template_types"], "question": "What are the type codes and descriptions for all template types?", "question_toks": ["What", "are", "the", "type", "codes", "and", "descriptions", "for", "all", "template", "types", "?"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 1, false], null]], [0, [0, [0, 2, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["COLUMN_OVERLAPPING"], "source": "SPIDER_DEV", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "dev_0363", "db_id": "cre_Doc_Template_Mgt", "query": "select t1.paragraph_id ,   t1.paragraph_text from paragraphs as t1 join documents as t2 on t1.document_id  =  t2.document_id where t2.document_name  =  'welcome to ny'", "query_toks": ["SELECT", "T1.paragraph_id", ",", "T1.paragraph_text", "FROM", "Paragraphs", "AS", "T1", "JOIN", "Documents", "AS", "T2", "ON", "T1.document_id", "=", "T2.document_id", "WHERE", "T2.Document_Name", "=", "'Welcome", "to", "NY", "'"], "query_toks_no_value": ["select", "t1", ".", "paragraph_id", ",", "t1", ".", "paragraph_text", "from", "paragraphs", "as", "t1", "join", "documents", "as", "t2", "on", "t1", ".", "document_id", "=", "t2", ".", "document_id", "where", "t2", ".", "document_name", "=", "value"], "question": "Show all paragraph ids and texts for the document with name 'Welcome to NY'.", "question_toks": ["Show", "all", "paragraph", "ids", "and", "texts", "for", "the", "document", "with", "name", "'Welcome", "to", "NY", "'", "."], "sql": {"from": {"table_units": [["table_unit", 3], ["table_unit", 2]], "conds": [[false, 2, [0, [0, 15, false], null], [0, 9, false], null]]}, "select": [false, [[0, [0, [0, 14, false], null]], [0, [0, [0, 16, false], null]]]], "where": [[false, 2, [0, [0, 11, false], null], "\"Welcome to NY\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["COLUMN_OVERLAPPING"], "source": "SPIDER_DEV", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "dev_0373", "db_id": "cre_Doc_Template_Mgt", "query": "select t1.document_id ,  t2.document_name from paragraphs as t1 join documents as t2 on t1.document_id  =  t2.document_id group by t1.document_id order by count(*) desc limit 1", "query_toks": ["SELECT", "T1.document_id", ",", "T2.document_name", "FROM", "Paragraphs", "AS", "T1", "JOIN", "Documents", "AS", "T2", "ON", "T1.document_id", "=", "T2.document_id", "GROUP", "BY", "T1.document_id", "ORDER", "BY", "count", "(", "*", ")", "DESC", "LIMIT", "1"], "query_toks_no_value": ["select", "t1", ".", "document_id", ",", "t2", ".", "document_name", "from", "paragraphs", "as", "t1", "join", "documents", "as", "t2", "on", "t1", ".", "document_id", "=", "t2", ".", "document_id", "group", "by", "t1", ".", "document_id", "order", "by", "count", "(", "*", ")", "desc", "limit", "value"], "question": "What is the document id and name with greatest number of paragraphs?", "question_toks": ["What", "is", "the", "document", "id", "and", "name", "with", "greatest", "number", "of", "paragraphs", "?"], "sql": {"from": {"table_units": [["table_unit", 3], ["table_unit", 2]], "conds": [[false, 2, [0, [0, 15, false], null], [0, 9, false], null]]}, "select": [false, [[0, [0, [0, 15, false], null]], [0, [0, [0, 11, false], null]]]], "where": [], "groupBy": [[0, 15, false]], "having": [], "orderBy": ["desc", [[0, [3, 0, false], null]]], "limit": 1, "intersect": null, "union": null, "except": null}, "tags": ["COLUMN_OVERLAPPING"], "source": "SPIDER_DEV", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "dev_0556", "db_id": "student_transcripts_tracking", "query": "select first_name ,  middle_name ,  last_name from students order by date_first_registered asc limit 1", "query_toks": ["SELECT", "first_name", ",", "middle_name", ",", "last_name", "FROM", "Students", "ORDER", "BY", "date_first_registered", "ASC", "LIMIT", "1"], "query_toks_no_value": ["select", "first_name", ",", "middle_name", ",", "last_name", "from", "students", "order", "by", "date_first_registered", "asc", "limit", "value"], "question": "What is the first, middle, and last name of the first student to register?", "question_toks": ["What", "is", "the", "first", ",", "middle", ",", "and", "last", "name", "of", "the", "first", "student", "to", "register", "?"], "sql": {"from": {"table_units": [["table_unit", 6]], "conds": []}, "select": [false, [[0, [0, [0, 35, false], null]], [0, [0, [0, 36, false], null]], [0, [0, [0, 37, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": ["asc", [[0, [0, 41, false], null]]], "limit": 1, "intersect": null, "union": null, "except": null}, "tags": ["COLUMN_OVERLAPPING"], "source": "SPIDER_DEV", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "dev_0455", "db_id": "wta_1", "query": "select first_name ,  last_name from players order by birth_date", "query_toks": ["SELECT", "first_name", ",", "last_name", "FROM", "players", "ORDER", "BY", "birth_date"], "query_toks_no_value": ["select", "first_name", ",", "last_name", "from", "players", "order", "by", "birth_date"], "question": "List the first and last name of all players in the order of birth date.", "question_toks": ["List", "the", "first", "and", "last", "name", "of", "all", "players", "in", "the", "order", "of", "birth", "date", "."], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 2, false], null]], [0, [0, [0, 3, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": ["asc", [[0, [0, 5, false], null]]], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["COLUMN_OVERLAPPING"], "source": "SPIDER_DEV", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_1222", "db_id": "apartment_rentals", "query": "select t1.booking_start_date ,  t1.booking_start_date from apartment_bookings as t1 join apartments as t2 on t1.apt_id  =  t2.apt_id where t2.apt_type_code  =  \"duplex\"", "query_toks": ["SELECT", "T1.booking_start_date", ",", "T1.booking_start_date", "FROM", "Apartment_Bookings", "AS", "T1", "JOIN", "Apartments", "AS", "T2", "ON", "T1.apt_id", "=", "T2.apt_id", "WHERE", "T2.apt_type_code", "=", "``", "Duplex", "''"], "query_toks_no_value": ["select", "t1", ".", "booking_start_date", ",", "t1", ".", "booking_start_date", "from", "apartment_bookings", "as", "t1", "join", "apartments", "as", "t2", "on", "t1", ".", "apt_id", "=", "t2", ".", "apt_id", "where", "t2", ".", "apt_type_code", "=", "value"], "question": "What are the booking start and end dates of the apartments with type code \"Duplex\"?", "question_toks": ["What", "are", "the", "booking", "start", "and", "end", "dates", "of", "the", "apartments", "with", "type", "code", "``", "Duplex", "''", "?"], "sql": {"from": {"table_units": [["table_unit", 4], ["table_unit", 1]], "conds": [[false, 2, [0, [0, 23, false], null], [0, 8, false], null]]}, "select": [false, [[0, [0, [0, 26, false], null]], [0, [0, [0, 26, false], null]]]], "where": [[false, 2, [0, [0, 10, false], null], "\"Duplex\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["COLUMN_OVERLAPPING"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_1223", "db_id": "apartment_rentals", "query": "select t1.booking_start_date ,  t1.booking_start_date from apartment_bookings as t1 join apartments as t2 on t1.apt_id  =  t2.apt_id where t2.apt_type_code  =  \"duplex\"", "query_toks": ["SELECT", "T1.booking_start_date", ",", "T1.booking_start_date", "FROM", "Apartment_Bookings", "AS", "T1", "JOIN", "Apartments", "AS", "T2", "ON", "T1.apt_id", "=", "T2.apt_id", "WHERE", "T2.apt_type_code", "=", "``", "Duplex", "''"], "query_toks_no_value": ["select", "t1", ".", "booking_start_date", ",", "t1", ".", "booking_start_date", "from", "apartment_bookings", "as", "t1", "join", "apartments", "as", "t2", "on", "t1", ".", "apt_id", "=", "t2", ".", "apt_id", "where", "t2", ".", "apt_type_code", "=", "value"], "question": "Return the booking start date and end date for the apartments that have type code \"Duplex\".", "question_toks": ["Return", "the", "booking", "start", "date", "and", "end", "date", "for", "the", "apartments", "that", "have", "type", "code", "``", "Duplex", "''", "."], "sql": {"from": {"table_units": [["table_unit", 4], ["table_unit", 1]], "conds": [[false, 2, [0, [0, 23, false], null], [0, 8, false], null]]}, "select": [false, [[0, [0, [0, 26, false], null]], [0, [0, [0, 26, false], null]]]], "where": [[false, 2, [0, [0, 10, false], null], "\"Duplex\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["COLUMN_OVERLAPPING"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_3115", "db_id": "behavior_monitoring", "query": "select t1.datetime_detention_start ,  datetime_detention_end from detention as t1 join teachers as t2 on t1.teacher_id  =  t2.teacher_id where t2.last_name  =  \"schultz\"", "query_toks": ["SELECT", "T1.datetime_detention_start", ",", "datetime_detention_end", "FROM", "Detention", "AS", "T1", "JOIN", "Teachers", "AS", "T2", "ON", "T1.teacher_id", "=", "T2.teacher_id", "WHERE", "T2.last_name", "=", "``", "Schultz", "''"], "query_toks_no_value": ["select", "t1", ".", "datetime_detention_start", ",", "datetime_detention_end", "from", "detention", "as", "t1", "join", "teachers", "as", "t2", "on", "t1", ".", "teacher_id", "=", "t2", ".", "teacher_id", "where", "t2", ".", "last_name", "=", "value"], "question": "Find the start and end dates of detentions of teachers with last name \"Schultz\".", "question_toks": ["Find", "the", "start", "and", "end", "dates", "of", "detentions", "of", "teachers", "with", "last", "name", "``", "Schultz", "''", "."], "sql": {"from": {"table_units": [["table_unit", 8], ["table_unit", 5]], "conds": [[false, 2, [0, [0, 51, false], null], [0, 26, false], null]]}, "select": [false, [[0, [0, [0, 52, false], null]], [0, [0, [0, 53, false], null]]]], "where": [[false, 2, [0, [0, 30, false], null], "\"Schultz\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["COLUMN_OVERLAPPING"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_5806", "db_id": "customer_complaints", "query": "select address_line_1 ,  address_line_2 from customers where email_address  =  \"[email protected]\"", "query_toks": ["SELECT", "address_line_1", ",", "address_line_2", "FROM", "customers", "WHERE", "email_address", "=", "``", "vbogisich", "@", "example.org", "''"], "query_toks_no_value": ["select", "address_line_1", ",", "address_line_2", "from", "customers", "where", "email_address", "=", "value"], "question": "Find the address line 1 and 2 of the customer with email \"[email protected]\".", "question_toks": ["Find", "the", "address", "line", "1", "and", "2", "of", "the", "customer", "with", "email", "``", "vbogisich", "@", "example.org", "''", "."], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[0, [0, [0, 9, false], null]], [0, [0, [0, 10, false], null]]]], "where": [[false, 2, [0, [0, 13, false], null], "\"[email protected]\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["COLUMN_OVERLAPPING"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "added_for_column_overlapping_0000", "db_id": "concert_singer", "query": "select song_name ,  song_release_year from singer order by age limit 1", "query_toks": ["select", "song_name", ",", "song_release_year", "from", "singer", "order", "by", "age", "limit", "1"], "query_toks_no_value": ["select", "song_name", ",", "song_release_year", "from", "singer", "order", "by", "age", "limit", "1"], "question": "Show the song name and release year by the youngest singer.", "question_toks": ["Show", "the", "song", "name", "and", "release", "year", "by", "the", "youngest", "singer", "."], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[0, [0, [0, 11, false], null]], [0, [0, [0, 12, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": ["asc", [[0, [0, 13, false], null]]], "limit": 1, "intersect": null, "union": null, "except": null}, "tags": ["COLUMN_OVERLAPPING"], "source": "ADDED", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "added_for_column_overlapping_0001", "db_id": "concert_singer", "query": "select song_name ,  song_release_year from singer order by age limit 1", "query_toks": ["select", "song_name", ",", "song_release_year", "from", "singer", "order", "by", "age", "limit", "1"], "query_toks_no_value": ["select", "song_name", ",", "song_release_year", "from", "singer", "order", "by", "age", "limit", "1"], "question": "What are the song name and release year of the youngest singer?", "question_toks": ["What", "are", "the", "song", "name", "and", "release", "year", "of", "the", "youngest", "singer", "?"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[0, [0, [0, 11, false], null]], [0, [0, [0, 12, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": ["asc", [[0, [0, 13, false], null]]], "limit": 1, "intersect": null, "union": null, "except": null}, "tags": ["COLUMN_OVERLAPPING"], "source": "ADDED", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "added_for_column_overlapping_0002", "db_id": "cre_Doc_Template_Mgt", "query": "select document_id ,  document_name ,  document_description from documents", "query_toks": ["select", "document_id", ",", "document_name", ",", "document_description", "from", "documents"], "query_toks_no_value": ["select", "document_id", ",", "document_name", ",", "document_description", "from", "documents"], "question": "List document IDs, names and descriptions for all documents.", "question_toks": ["List", "document", "IDs", ",", "names", "and", "descriptions", "for", "all", "documents", "."], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[0, [0, [0, 9, false], null]], [0, [0, [0, 11, false], null]], [0, [0, [0, 12, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["COLUMN_OVERLAPPING"], "source": "ADDED", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "added_for_column_overlapping_0003", "db_id": "dog_kennels", "query": "select date_arrived ,  date_departed from dogs", "query_toks": ["select", "date_arrived", ",", "date_departed", "from", "dogs"], "query_toks_no_value": ["select", "date_arrived", ",", "date_departed", "from", "dogs"], "question": "What are the arriving and the departing date of all the dogs?", "question_toks": ["What", "are", "the", "arriving", "and", "the", "departing", "date", "of", "all", "the", "dogs", "?"], "sql": {"from": {"table_units": [["table_unit", 5]], "conds": []}, "select": [false, [[0, [0, [0, 30, false], null]], [0, [0, [0, 32, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["COLUMN_OVERLAPPING"], "source": "ADDED", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "added_for_column_overlapping_0005", "db_id": "dog_kennels", "query": "select first_name ,  last_name ,  email_address from owners where state like \"%north%\"", "query_toks": ["select", "first_name", ",", "last_name", ",", "email_address", "from", "owners", "where", "state", "like", "\"%", "north", "%\""], "query_toks_no_value": ["select", "first_name", ",", "last_name", ",", "email_address", "from", "owners", "where", "state", "like", "\"%", "north", "%\""], "question": "Return the email, first and last names of the owners living in a state whose name contains the substring 'North'.", "question_toks": ["Return", "the", "email", ",", "first", "and", "last", "names", "of", "the", "owners", "living", "in", "a", "state", "whose", "name", "contains", "the", "substring", "'", "North", "'."], "sql": {"from": {"table_units": [["table_unit", 4]], "conds": []}, "select": [false, [[0, [0, [0, 11, false], null]], [0, [0, [0, 12, false], null]], [0, [0, [0, 17, false], null]]]], "where": [[false, 9, [0, [0, 15, false], null], "\"%north%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["COLUMN_OVERLAPPING"], "source": "ADDED", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "added_for_column_overlapping_0008", "db_id": "apartment_rentals", "query": "select t1.booking_start_date ,  t1.booking_end_date from apartment_bookings as t1 join apartments as t2 on t1.apt_id  =  t2.apt_id where t2.bedroom_count  >  2", "query_toks": ["select", "t1", ".", "booking_start_date", ",", "t1", ".", "booking_end_date", "from", "apartment_bookings", "as", "t1", "join", "apartments", "as", "t2", "on", "t1", ".", "apt_id", "=", "t2", ".", "apt_id", "where", "t2", ".", "bedroom_count", ">", "2"], "query_toks_no_value": ["select", "t1", ".", "booking_start_date", ",", "t1", ".", "booking_end_date", "from", "apartment_bookings", "as", "t1", "join", "apartments", "as", "t2", "on", "t1", ".", "apt_id", "=", "t2", ".", "apt_id", "where", "t2", ".", "bedroom_count", ">", "value"], "question": "What are the booking start and end dates of the apartments with more than two bedrooms?", "question_toks": ["What", "are", "the", "booking", "start", "and", "end", "dates", "of", "the", "apartments", "with", "more", "than", "two", "bedrooms", "?"], "sql": {"from": {"table_units": [["table_unit", 4], ["table_unit", 1]], "conds": [[false, 2, [0, [0, 23, false], null], [0, 8, false], null]]}, "select": [false, [[0, [0, [0, 26, false], null]], [0, [0, [0, 27, false], null]]]], "where": [[false, 3, [0, [0, 13, false], null], 2.0, null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["COLUMN_OVERLAPPING"], "source": "ADDED", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "added_for_column_overlapping_0014", "db_id": "game_injury", "query": "select name ,  average_attendance ,  total_attendance from stadium except select t2.name ,  t2.average_attendance ,  t2.total_attendance from game as t1 join stadium as t2 on t1.stadium_id  =  t2.id join injury_accident as t3 on t1.id  =  t3.game_id", "query_toks": ["select", "name", ",", "average_attendance", ",", "total_attendance", "from", "stadium", "except", "select", "t2", ".", "name", ",", "t2", ".", "average_attendance", ",", "t2", ".", "total_attendance", "from", "game", "as", "t1", "join", "stadium", "as", "t2", "on", "t1", ".", "stadium_id", "=", "t2", ".", "id", "join", "injury_accident", "as", "t3", "on", "t1", ".", "id", "=", "t3", ".", "game_id"], "query_toks_no_value": ["select", "name", ",", "average_attendance", ",", "total_attendance", "from", "stadium", "except", "select", "t2", ".", "name", ",", "t2", ".", "average_attendance", ",", "t2", ".", "total_attendance", "from", "game", "as", "t1", "join", "stadium", "as", "t2", "on", "t1", ".", "stadium_id", "=", "t2", ".", "id", "join", "injury_accident", "as", "t3", "on", "t1", ".", "id", "=", "t3", ".", "game_id"], "question": "Show the name, average and total attendance for stadiums where no accidents happened.", "question_toks": ["Show", "the", "name", ",", "average", "and", "total", "attendance", "for", "stadiums", "where", "no", "accidents", "happened", "."], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 2, false], null]], [0, [0, [0, 4, false], null]], [0, [0, [0, 5, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": {"from": {"table_units": [["table_unit", 1], ["table_unit", 0], ["table_unit", 2]], "conds": [[false, 2, [0, [0, 7, false], null], [0, 1, false], null], "and", [false, 2, [0, [0, 8, false], null], [0, 15, false], null]]}, "select": [false, [[0, [0, [0, 2, false], null]], [0, [0, [0, 4, false], null]], [0, [0, [0, 5, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}}, "tags": ["COLUMN_OVERLAPPING"], "source": "ADDED", "parents_id": null, "is_simplification": false, "simplifications_tags": []}]