[{"id": "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 the song release year by the youngest singer.", "question_toks": ["Show", "the", "song", "name", "and", "the", "song", "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": [], "source": "SIMPLIFIED", "parents_id": "added_for_column_overlapping_0000", "is_simplification": true, "simplifications_tags": ["COLUMN_OVERLAPPING"]}, {"id": "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 the song release year of the youngest singer?", "question_toks": ["What", "are", "the", "song", "name", "and", "the", "song", "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": [], "source": "SIMPLIFIED", "parents_id": "added_for_column_overlapping_0001", "is_simplification": true, "simplifications_tags": ["COLUMN_OVERLAPPING"]}, {"id": "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, document names, and document descriptions for all documents.", "question_toks": ["List", "document", "IDs", ",", "document", "names", ",", "and", "document", "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": [], "source": "SIMPLIFIED", "parents_id": "added_for_column_overlapping_0002", "is_simplification": true, "simplifications_tags": ["COLUMN_OVERLAPPING"]}, {"id": "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 date and the departing date of all the dogs?", "question_toks": ["What", "are", "the", "arriving", "date", "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": [], "source": "SIMPLIFIED", "parents_id": "added_for_column_overlapping_0003", "is_simplification": true, "simplifications_tags": ["COLUMN_OVERLAPPING"]}, {"id": "column_overlapping_0004", "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 and departure date for all the dogs.", "question_toks": ["List", "the", "arrival", "and", "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": [], "source": "SIMPLIFIED", "parents_id": "dev_0965", "is_simplification": true, "simplifications_tags": ["COLUMN_OVERLAPPING"]}, {"id": "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 first name, last name and email of the owners living in a state whose name contains the substring 'North'.", "question_toks": ["Return", "the", "first", "name", ",", "last", "name", "and", "email", "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": [], "source": "SIMPLIFIED", "parents_id": "added_for_column_overlapping_0005", "is_simplification": true, "simplifications_tags": ["COLUMN_OVERLAPPING"]}, {"id": "column_overlapping_0006", "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", "heathrow"], "question": "What are the number of international passengers and domestic passengers of the airport named London \"Heathrow\"?", "question_toks": ["What", "are", "the", "number", "of", "international", "passengers", "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": [], "source": "SIMPLIFIED", "parents_id": "train_4803", "is_simplification": true, "simplifications_tags": ["COLUMN_OVERLAPPING"]}, {"id": "column_overlapping_0007", "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", "heathrow"], "question": "How many international passengers and domestic passengers are there in the airport London Heathrow?", "question_toks": ["How", "many", "international", "passengers", "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": [], "source": "SIMPLIFIED", "parents_id": "train_4804", "is_simplification": true, "simplifications_tags": ["COLUMN_OVERLAPPING"]}, {"id": "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 dates and booking end dates of the apartments with more than two bedrooms?", "question_toks": ["What", "are", "the", "booking", "start", "dates", "and", "booking", "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": [], "source": "SIMPLIFIED", "parents_id": "added_for_column_overlapping_0008", "is_simplification": true, "simplifications_tags": ["COLUMN_OVERLAPPING"]}, {"id": "column_overlapping_0009", "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", "1"], "question": "What are the start station's name and start station's id for the one that had the most start trips in August?", "question_toks": ["What", "are", "the", "start", "station", "'", "s", "name", "and", "start", "station", "'", "s", "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": [], "source": "SIMPLIFIED", "parents_id": "train_0134", "is_simplification": true, "simplifications_tags": ["COLUMN_OVERLAPPING"]}, {"id": "column_overlapping_0010", "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 code and product name for the products with price higher than 1000 or lower than 500.", "question_toks": ["Show", "the", "product", "type", "code", "and", "product", "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": [], "source": "SIMPLIFIED", "parents_id": "train_5667", "is_simplification": true, "simplifications_tags": ["COLUMN_OVERLAPPING"]}, {"id": "column_overlapping_0011", "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 customer first names and customer last names of customers without any account.", "question_toks": ["Show", "the", "customer", "first", "names", "and", "customer", "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": [], "source": "SIMPLIFIED", "parents_id": "train_0685", "is_simplification": true, "simplifications_tags": ["COLUMN_OVERLAPPING"]}, {"id": "column_overlapping_0012", "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", "1"], "question": "What is the customer id, customer first name and customer last name with least number of accounts.", "question_toks": ["What", "is", "the", "customer", "id", ",", "customer", "first", "name", "and", "customer", "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": [], "source": "SIMPLIFIED", "parents_id": "train_0717", "is_simplification": true, "simplifications_tags": ["COLUMN_OVERLAPPING"]}, {"id": "column_overlapping_0013", "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", "angeles", "and", "destination", "=", "value"], "question": "What are the departure date and arrival date of all flights from LA to Honolulu?", "question_toks": ["What", "are", "the", "departure", "date", "and", "arrival", "date", "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": [], "source": "SIMPLIFIED", "parents_id": "train_0390", "is_simplification": true, "simplifications_tags": ["COLUMN_OVERLAPPING"]}, {"id": "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 attendance and total attendance for stadiums where no accidents happened.", "question_toks": ["Show", "the", "name", ",", "average", "attendance", "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": [], "source": "SIMPLIFIED", "parents_id": "added_for_column_overlapping_0014", "is_simplification": true, "simplifications_tags": ["COLUMN_OVERLAPPING"]}, {"id": "column_overlapping_0015", "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", "\"%", "diana", "%\""], "question": "Retrieve the open dates and close dates of all the policies associated with the customer whose name contains \"Diana\"", "question_toks": ["Retrieve", "the", "open", "dates", "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": [], "source": "SIMPLIFIED", "parents_id": "train_0931", "is_simplification": true, "simplifications_tags": ["COLUMN_OVERLAPPING"]}, {"id": "column_overlapping_0016", "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", "\"%", "diana", "%\""], "question": "What are the open date and close date of all the policies used by the customer who have \"Diana\" in part of their names?", "question_toks": ["What", "are", "the", "open", "date", "and", "close", "date", "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": [], "source": "SIMPLIFIED", "parents_id": "train_0932", "is_simplification": true, "simplifications_tags": ["COLUMN_OVERLAPPING"]}, {"id": "column_overlapping_0017", "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 office and left office, listed by the time they left office.", "question_toks": ["Show", "the", "ministers", "and", "the", "time", "they", "took", "office", "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": [], "source": "SIMPLIFIED", "parents_id": "train_2045", "is_simplification": true, "simplifications_tags": ["COLUMN_OVERLAPPING"]}, {"id": "column_overlapping_0018", "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 names and league names.", "question_toks": ["List", "all", "country", "names", "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": [], "source": "SIMPLIFIED", "parents_id": "train_1293", "is_simplification": true, "simplifications_tags": ["COLUMN_OVERLAPPING"]}, {"id": "column_overlapping_0019", "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 template type descriptions.", "question_toks": ["Show", "all", "template", "type", "codes", "and", "template", "type", "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": [], "source": "SIMPLIFIED", "parents_id": "dev_0347", "is_simplification": true, "simplifications_tags": ["COLUMN_OVERLAPPING"]}, {"id": "column_overlapping_0020", "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 template type codes and template type descriptions for all template types?", "question_toks": ["What", "are", "the", "template", "type", "codes", "and", "template", "type", "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": [], "source": "SIMPLIFIED", "parents_id": "dev_0348", "is_simplification": true, "simplifications_tags": ["COLUMN_OVERLAPPING"]}, {"id": "column_overlapping_0021", "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", "to", "ny"], "question": "Show all paragraph ids and paragraph texts for the document with name 'Welcome to NY'.", "question_toks": ["Show", "all", "paragraph", "ids", "and", "paragraph", "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": [], "source": "SIMPLIFIED", "parents_id": "dev_0363", "is_simplification": true, "simplifications_tags": ["COLUMN_OVERLAPPING"]}, {"id": "column_overlapping_0022", "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", "1"], "question": "What is the document id and document name with greatest number of paragraphs?", "question_toks": ["What", "is", "the", "document", "id", "and", "document", "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": [], "source": "SIMPLIFIED", "parents_id": "dev_0373", "is_simplification": true, "simplifications_tags": ["COLUMN_OVERLAPPING"]}, {"id": "column_overlapping_0023", "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", "1"], "question": "What is the first name, middle name and last name of the first student to register?", "question_toks": ["What", "is", "the", "first", "name", ",", "middle", "name", "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": [], "source": "SIMPLIFIED", "parents_id": "dev_0556", "is_simplification": true, "simplifications_tags": ["COLUMN_OVERLAPPING"]}, {"id": "column_overlapping_0024", "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 name and last name of all players in the order of birth date.", "question_toks": ["List", "the", "first", "name", "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": [], "source": "SIMPLIFIED", "parents_id": "dev_0455", "is_simplification": true, "simplifications_tags": ["COLUMN_OVERLAPPING"]}, {"id": "column_overlapping_0025", "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 dates and booking end dates of the apartments with type code \"Duplex\"?", "question_toks": ["What", "are", "the", "booking", "start", "dates", "and", "booking", "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": [], "source": "SIMPLIFIED", "parents_id": "train_1222", "is_simplification": true, "simplifications_tags": ["COLUMN_OVERLAPPING"]}, {"id": "column_overlapping_0026", "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 booking end date for the apartments that have type code \"Duplex\".", "question_toks": ["Return", "the", "booking", "start", "date", "and", "booking", "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": [], "source": "SIMPLIFIED", "parents_id": "train_1223", "is_simplification": true, "simplifications_tags": ["COLUMN_OVERLAPPING"]}, {"id": "column_overlapping_0027", "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 detention datetime start and detention datetime end of teachers with last name \"Schultz\".", "question_toks": ["Find", "the", "detention", "datetime", "start", "and", "detention", "datetime", "end", "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": [], "source": "SIMPLIFIED", "parents_id": "train_3115", "is_simplification": true, "simplifications_tags": ["COLUMN_OVERLAPPING"]}, {"id": "column_overlapping_0028", "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", "@", "example", ".", "org"], "question": "Find the address line 1 and address line 2 of the customer with email \"[email protected]\".", "question_toks": ["Find", "the", "address", "line", "1", "and", "address", "line", "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": [], "source": "SIMPLIFIED", "parents_id": "train_5806", "is_simplification": true, "simplifications_tags": ["COLUMN_OVERLAPPING"]}] |