| [{"id": "dev_0039", "db_id": "concert_singer", "query": "select name , country from singer where song_name like '%hey%'", "query_toks": ["SELECT", "name", ",", "country", "FROM", "singer", "WHERE", "song_name", "LIKE", "'", "%", "Hey", "%", "'"], "query_toks_no_value": ["select", "name", ",", "country", "from", "singer", "where", "song_name", "like", "value"], "question": "what is the name and nation of the singer who have a song having 'Hey' in its name?", "question_toks": ["what", "is", "the", "name", "and", "nation", "of", "the", "singer", "who", "have", "a", "song", "having", "'Hey", "'", "in", "its", "name", "?"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[0, [0, [0, 9, false], null]], [0, [0, [0, 10, false], null]]]], "where": [[false, 9, [0, [0, 11, false], null], "\"%Hey%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_DEV", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "dev_0040", "db_id": "concert_singer", "query": "select name , country from singer where song_name like '%hey%'", "query_toks": ["SELECT", "name", ",", "country", "FROM", "singer", "WHERE", "song_name", "LIKE", "'", "%", "Hey", "%", "'"], "query_toks_no_value": ["select", "name", ",", "country", "from", "singer", "where", "song_name", "like", "value"], "question": "What is the name and country of origin of every singer who has a song with the word 'Hey' in its title?", "question_toks": ["What", "is", "the", "name", "and", "country", "of", "origin", "of", "every", "singer", "who", "has", "a", "song", "with", "the", "word", "'Hey", "'", "in", "its", "title", "?"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[0, [0, [0, 9, false], null]], [0, [0, [0, 10, false], null]]]], "where": [[false, 9, [0, [0, 11, false], null], "\"%Hey%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_DEV", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "dev_0301", "db_id": "cre_Doc_Template_Mgt", "query": "select document_name , template_id from documents where document_description like \"%w%\"", "query_toks": ["SELECT", "document_name", ",", "template_id", "FROM", "Documents", "WHERE", "Document_Description", "LIKE", "``", "%", "w", "%", "''"], "query_toks_no_value": ["select", "document_name", ",", "template_id", "from", "documents", "where", "document_description", "like", "value"], "question": "What is the document name and template id for document with description with the letter 'w' in it?", "question_toks": ["What", "is", "the", "document", "name", "and", "template", "id", "for", "document", "with", "description", "with", "the", "letter", "'w", "'", "in", "it", "?"], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[0, [0, [0, 11, false], null]], [0, [0, [0, 10, false], null]]]], "where": [[false, 9, [0, [0, 12, false], null], "\"%w%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_DEV", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "dev_0302", "db_id": "cre_Doc_Template_Mgt", "query": "select document_name , template_id from documents where document_description like \"%w%\"", "query_toks": ["SELECT", "document_name", ",", "template_id", "FROM", "Documents", "WHERE", "Document_Description", "LIKE", "``", "%", "w", "%", "''"], "query_toks_no_value": ["select", "document_name", ",", "template_id", "from", "documents", "where", "document_description", "like", "value"], "question": "Return the names and template ids for documents that contain the letter w in their description.", "question_toks": ["Return", "the", "names", "and", "template", "ids", "for", "documents", "that", "contain", "the", "letter", "w", "in", "their", "description", "."], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[0, [0, [0, 11, false], null]], [0, [0, [0, 10, false], null]]]], "where": [[false, 9, [0, [0, 12, false], null], "\"%w%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_DEV", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "dev_0361", "db_id": "cre_Doc_Template_Mgt", "query": "select other_details from paragraphs where paragraph_text like 'korea'", "query_toks": ["select", "other_details", "from", "paragraphs", "where", "paragraph_text", "like", "\"korea\""], "query_toks_no_value": ["select", "other_details", "from", "paragraphs", "where", "paragraph_text", "like", "value"], "question": "Show paragraph details for paragraph with text 'Korea ' .", "question_toks": ["Show", "paragraph", "details", "for", "paragraph", "with", "text", "'Korea", "'", "."], "sql": {"from": {"table_units": [["table_unit", 3]], "conds": []}, "select": [false, [[0, [0, [0, 17, false], null]]]], "where": [[false, 9, [0, [0, 16, false], null], "\"korea\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_DEV", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "dev_0362", "db_id": "cre_Doc_Template_Mgt", "query": "select other_details from paragraphs where paragraph_text like 'korea'", "query_toks": ["select", "other_details", "from", "paragraphs", "where", "paragraph_text", "like", "\"korea\""], "query_toks_no_value": ["select", "other_details", "from", "paragraphs", "where", "paragraph_text", "like", "value"], "question": "What are the details for the paragraph that includes the text 'Korea ' ?", "question_toks": ["What", "are", "the", "details", "for", "the", "paragraph", "that", "includes", "the", "text", "'Korea", "'", "?"], "sql": {"from": {"table_units": [["table_unit", 3]], "conds": []}, "select": [false, [[0, [0, [0, 17, false], null]]]], "where": [[false, 9, [0, [0, 16, false], null], "\"korea\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_DEV", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "dev_0506", "db_id": "battle_death", "query": "select note from death where note like '%east%'", "query_toks": ["SELECT", "note", "FROM", "death", "WHERE", "note", "LIKE", "'", "%", "East", "%", "'"], "query_toks_no_value": ["select", "note", "from", "death", "where", "note", "like", "value"], "question": "What are the notes of the death events which has substring 'East'?", "question_toks": ["What", "are", "the", "notes", "of", "the", "death", "events", "which", "has", "substring", "'East", "'", "?"], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[0, [0, [0, 16, false], null]]]], "where": [[false, 9, [0, [0, 16, false], null], "\"%East%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_DEV", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "dev_0531", "db_id": "student_transcripts_tracking", "query": "select department_description from departments where department_name like '%computer%'", "query_toks": ["SELECT", "department_description", "FROM", "Departments", "WHERE", "department_name", "LIKE", "'", "%", "computer", "%", "'"], "query_toks_no_value": ["select", "department_description", "from", "departments", "where", "department_name", "like", "value"], "question": "What is the description of the department whose name has the substring the computer?", "question_toks": ["What", "is", "the", "description", "of", "the", "department", "whose", "name", "has", "the", "substring", "the", "computer", "?"], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[0, [0, [0, 16, false], null]]]], "where": [[false, 9, [0, [0, 15, false], null], "\"%computer%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_DEV", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "dev_0532", "db_id": "student_transcripts_tracking", "query": "select department_description from departments where department_name like '%computer%'", "query_toks": ["SELECT", "department_description", "FROM", "Departments", "WHERE", "department_name", "LIKE", "'", "%", "computer", "%", "'"], "query_toks_no_value": ["select", "department_description", "from", "departments", "where", "department_name", "like", "value"], "question": "What is the department description for the one whose name has the word computer?", "question_toks": ["What", "is", "the", "department", "description", "for", "the", "one", "whose", "name", "has", "the", "word", "computer", "?"], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[0, [0, [0, 16, false], null]]]], "where": [[false, 9, [0, [0, 15, false], null], "\"%computer%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_DEV", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "dev_0701", "db_id": "voter_1", "query": "select contestant_name from contestants where contestant_name like \"%al%\"", "query_toks": ["select", "contestant_name", "from", "contestants", "where", "contestant_name", "like", "\"%al%\""], "query_toks_no_value": ["select", "contestant_name", "from", "contestants", "where", "contestant_name", "like", "value"], "question": "Return the names of the contestants whose names contain the substring 'Al' .", "question_toks": ["Return", "the", "names", "of", "the", "contestants", "whose", "names", "contain", "the", "substring", "'Al'", "."], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[0, [0, [0, 4, false], null]]]], "where": [[false, 9, [0, [0, 4, false], null], "\"%al%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_DEV", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "dev_0970", "db_id": "dog_kennels", "query": "select role_code , street , city , state from professionals where city like '%west%'", "query_toks": ["SELECT", "role_code", ",", "street", ",", "city", ",", "state", "FROM", "professionals", "WHERE", "city", "LIKE", "'", "%", "West", "%", "'"], "query_toks_no_value": ["select", "role_code", ",", "street", ",", "city", ",", "state", "from", "professionals", "where", "city", "like", "value"], "question": "Which professionals live in a city containing the substring 'West'? List his or her role, street, city and state.", "question_toks": ["Which", "professionals", "live", "in", "a", "city", "containing", "the", "substring", "'West", "'", "?", "List", "his", "or", "her", "role", ",", "street", ",", "city", "and", "state", "."], "sql": {"from": {"table_units": [["table_unit", 6]], "conds": []}, "select": [false, [[0, [0, [0, 34, false], null]], [0, [0, [0, 36, false], null]], [0, [0, [0, 37, false], null]], [0, [0, [0, 38, false], null]]]], "where": [[false, 9, [0, [0, 37, false], null], "\"%West%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_DEV", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "dev_0971", "db_id": "dog_kennels", "query": "select role_code , street , city , state from professionals where city like '%west%'", "query_toks": ["SELECT", "role_code", ",", "street", ",", "city", ",", "state", "FROM", "professionals", "WHERE", "city", "LIKE", "'", "%", "West", "%", "'"], "query_toks_no_value": ["select", "role_code", ",", "street", ",", "city", ",", "state", "from", "professionals", "where", "city", "like", "value"], "question": "Find the role, street, city and state of the professionals living in a city that contains the substring 'West'.", "question_toks": ["Find", "the", "role", ",", "street", ",", "city", "and", "state", "of", "the", "professionals", "living", "in", "a", "city", "that", "contains", "the", "substring", "'West", "'", "."], "sql": {"from": {"table_units": [["table_unit", 6]], "conds": []}, "select": [false, [[0, [0, [0, 34, false], null]], [0, [0, [0, 36, false], null]], [0, [0, [0, 37, false], null]], [0, [0, [0, 38, false], null]]]], "where": [[false, 9, [0, [0, 37, false], null], "\"%West%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_DEV", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "dev_0973", "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", "value"], "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": ["LIKE_IN_SQL"], "source": "SPIDER_DEV", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_0123", "db_id": "bike_1", "query": "select zip_code , avg(mean_temperature_f) from weather where date like \"8/%\" group by zip_code", "query_toks": ["SELECT", "zip_code", ",", "avg", "(", "mean_temperature_f", ")", "FROM", "weather", "WHERE", "date", "LIKE", "``", "8/", "%", "''", "GROUP", "BY", "zip_code"], "query_toks_no_value": ["select", "zip_code", ",", "avg", "(", "mean_temperature_f", ")", "from", "weather", "where", "date", "like", "value", "group", "by", "zip_code"], "question": "For each zip code, return the average mean temperature of August there.", "question_toks": ["For", "each", "zip", "code", ",", "return", "the", "average", "mean", "temperature", "of", "August", "there", "."], "sql": {"from": {"table_units": [["table_unit", 3]], "conds": []}, "select": [false, [[0, [0, [0, 46, false], null]], [5, [0, [0, 25, false], null]]]], "where": [[false, 9, [0, [0, 23, false], null], "\"8/%\"", null]], "groupBy": [[0, 46, false]], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_0124", "db_id": "bike_1", "query": "select zip_code , avg(mean_temperature_f) from weather where date like \"8/%\" group by zip_code", "query_toks": ["SELECT", "zip_code", ",", "avg", "(", "mean_temperature_f", ")", "FROM", "weather", "WHERE", "date", "LIKE", "``", "8/", "%", "''", "GROUP", "BY", "zip_code"], "query_toks_no_value": ["select", "zip_code", ",", "avg", "(", "mean_temperature_f", ")", "from", "weather", "where", "date", "like", "value", "group", "by", "zip_code"], "question": "For each zip code, what is the average mean temperature for all dates that start with '8'?", "question_toks": ["For", "each", "zip", "code", ",", "what", "is", "the", "average", "mean", "temperature", "for", "all", "dates", "that", "start", "with", "'8", "'", "?"], "sql": {"from": {"table_units": [["table_unit", 3]], "conds": []}, "select": [false, [[0, [0, [0, 46, false], null]], [5, [0, [0, 25, false], null]]]], "where": [[false, 9, [0, [0, 23, false], null], "\"8/%\"", null]], "groupBy": [[0, 46, false]], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_0133", "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": "Which start station had the most trips starting from August? Give me the name and id of the station.", "question_toks": ["Which", "start", "station", "had", "the", "most", "trips", "starting", "from", "August", "?", "Give", "me", "the", "name", "and", "id", "of", "the", "station", "."], "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": ["LIKE_IN_SQL"], "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": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_0143", "db_id": "bike_1", "query": "select t1.name , t1.id from station as t1 join status as t2 on t1.id = t2.station_id group by t2.station_id having avg(t2.bikes_available) > 14 union select name , id from station where installation_date like \"12/%\"", "query_toks": ["SELECT", "T1.name", ",", "T1.id", "FROM", "station", "AS", "T1", "JOIN", "status", "AS", "T2", "ON", "T1.id", "=", "T2.station_id", "GROUP", "BY", "T2.station_id", "HAVING", "avg", "(", "T2.bikes_available", ")", ">", "14", "UNION", "SELECT", "name", ",", "id", "FROM", "station", "WHERE", "installation_date", "LIKE", "``", "12/", "%", "''"], "query_toks_no_value": ["select", "t1", ".", "name", ",", "t1", ".", "id", "from", "station", "as", "t1", "join", "status", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "station_id", "group", "by", "t2", ".", "station_id", "having", "avg", "(", "t2", ".", "bikes_available", ")", ">", "value", "union", "select", "name", ",", "id", "from", "station", "where", "installation_date", "like", "value"], "question": "What are the names and ids of stations that had more than 14 bikes available on average or were installed in December?", "question_toks": ["What", "are", "the", "names", "and", "ids", "of", "stations", "that", "had", "more", "than", "14", "bikes", "available", "on", "average", "or", "were", "installed", "in", "December", "?"], "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]], [0, [0, [0, 1, false], null]]]], "where": [], "groupBy": [[0, 8, false]], "having": [[false, 3, [0, [5, 9, false], null], 14.0, null]], "orderBy": [], "limit": null, "intersect": null, "union": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 2, false], null]], [0, [0, [0, 1, false], null]]]], "where": [[false, 9, [0, [0, 7, false], null], "\"12/%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_0144", "db_id": "bike_1", "query": "select t1.name , t1.id from station as t1 join status as t2 on t1.id = t2.station_id group by t2.station_id having avg(t2.bikes_available) > 14 union select name , id from station where installation_date like \"12/%\"", "query_toks": ["SELECT", "T1.name", ",", "T1.id", "FROM", "station", "AS", "T1", "JOIN", "status", "AS", "T2", "ON", "T1.id", "=", "T2.station_id", "GROUP", "BY", "T2.station_id", "HAVING", "avg", "(", "T2.bikes_available", ")", ">", "14", "UNION", "SELECT", "name", ",", "id", "FROM", "station", "WHERE", "installation_date", "LIKE", "``", "12/", "%", "''"], "query_toks_no_value": ["select", "t1", ".", "name", ",", "t1", ".", "id", "from", "station", "as", "t1", "join", "status", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "station_id", "group", "by", "t2", ".", "station_id", "having", "avg", "(", "t2", ".", "bikes_available", ")", ">", "value", "union", "select", "name", ",", "id", "from", "station", "where", "installation_date", "like", "value"], "question": "What are the names and ids of all stations that have more than 14 bikes available on average or had bikes installed in December?", "question_toks": ["What", "are", "the", "names", "and", "ids", "of", "all", "stations", "that", "have", "more", "than", "14", "bikes", "available", "on", "average", "or", "had", "bikes", "installed", "in", "December", "?"], "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]], [0, [0, [0, 1, false], null]]]], "where": [], "groupBy": [[0, 8, false]], "having": [[false, 3, [0, [5, 9, false], null], 14.0, null]], "orderBy": [], "limit": null, "intersect": null, "union": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 2, false], null]], [0, [0, [0, 1, false], null]]]], "where": [[false, 9, [0, [0, 7, false], null], "\"12/%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_0281", "db_id": "twitter_1", "query": "select name , email from user_profiles where name like '%swift%'", "query_toks": ["SELECT", "name", ",", "email", "FROM", "user_profiles", "WHERE", "name", "LIKE", "'", "%", "Swift", "%", "'"], "query_toks_no_value": ["select", "name", ",", "email", "from", "user_profiles", "where", "name", "like", "value"], "question": "Find the name and email of the user whose name contains the word \u2018Swift\u2019.", "question_toks": ["Find", "the", "name", "and", "email", "of", "the", "user", "whose", "name", "contains", "the", "word", "\u2018Swift\u2019", "."], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[0, [0, [0, 8, false], null]], [0, [0, [0, 9, false], null]]]], "where": [[false, 9, [0, [0, 8, false], null], "\"%Swift%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_0282", "db_id": "twitter_1", "query": "select name from user_profiles where email like '%superstar%' or email like '%edu%'", "query_toks": ["SELECT", "name", "FROM", "user_profiles", "WHERE", "email", "LIKE", "'", "%", "superstar", "%", "'", "OR", "email", "LIKE", "'", "%", "edu", "%", "'"], "query_toks_no_value": ["select", "name", "from", "user_profiles", "where", "email", "like", "value", "or", "email", "like", "value"], "question": "Find the names of users whose emails contain \u2018superstar\u2019 or \u2018edu\u2019.", "question_toks": ["Find", "the", "names", "of", "users", "whose", "emails", "contain", "\u2018superstar\u2019", "or", "\u2018edu\u2019", "."], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[0, [0, [0, 8, false], null]]]], "where": [[false, 9, [0, [0, 9, false], null], "\"%superstar%\"", null], "or", [false, 9, [0, [0, 9, false], null], "\"%edu%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_0283", "db_id": "twitter_1", "query": "select text from tweets where text like '%intern%'", "query_toks": ["SELECT", "text", "FROM", "tweets", "WHERE", "text", "LIKE", "'", "%", "intern", "%", "'"], "query_toks_no_value": ["select", "text", "from", "tweets", "where", "text", "like", "value"], "question": "Return the text of tweets about the topic 'intern'.", "question_toks": ["Return", "the", "text", "of", "tweets", "about", "the", "topic", "'intern", "'", "."], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[0, [0, [0, 5, false], null]]]], "where": [[false, 9, [0, [0, 5, false], null], "\"%intern%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_0309", "db_id": "product_catalog", "query": "select distinct(catalog_publisher) from catalogs where catalog_publisher like \"%murray%\"", "query_toks": ["SELECT", "distinct", "(", "catalog_publisher", ")", "FROM", "catalogs", "WHERE", "catalog_publisher", "LIKE", "``", "%", "Murray", "%", "''"], "query_toks_no_value": ["select", "distinct", "(", "catalog_publisher", ")", "from", "catalogs", "where", "catalog_publisher", "like", "value"], "question": "Find all the catalog publishers whose name contains \"Murray\"", "question_toks": ["Find", "all", "the", "catalog", "publishers", "whose", "name", "contains", "``", "Murray", "''"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [true, [[0, [0, [0, 6, false], null]]]], "where": [[false, 9, [0, [0, 6, false], null], "\"%Murray%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_0327", "db_id": "product_catalog", "query": "select catalog_entry_name from catalog_contents where product_stock_number like \"2%\"", "query_toks": ["SELECT", "catalog_entry_name", "FROM", "catalog_contents", "WHERE", "product_stock_number", "LIKE", "``", "2", "%", "''"], "query_toks_no_value": ["select", "catalog_entry_name", "from", "catalog_contents", "where", "product_stock_number", "like", "value"], "question": "Find the names of all the products whose stock number starts with \"2\".", "question_toks": ["Find", "the", "names", "of", "all", "the", "products", "whose", "stock", "number", "starts", "with", "``", "2", "''", "."], "sql": {"from": {"table_units": [["table_unit", 3]], "conds": []}, "select": [false, [[0, [0, [0, 17, false], null]]]], "where": [[false, 9, [0, [0, 18, false], null], "\"2%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_0328", "db_id": "product_catalog", "query": "select catalog_entry_name from catalog_contents where product_stock_number like \"2%\"", "query_toks": ["SELECT", "catalog_entry_name", "FROM", "catalog_contents", "WHERE", "product_stock_number", "LIKE", "``", "2", "%", "''"], "query_toks_no_value": ["select", "catalog_entry_name", "from", "catalog_contents", "where", "product_stock_number", "like", "value"], "question": "Which catalog contents have a product stock number that starts from \"2\"? Show the catalog entry names.", "question_toks": ["Which", "catalog", "contents", "have", "a", "product", "stock", "number", "that", "starts", "from", "``", "2", "''", "?", "Show", "the", "catalog", "entry", "names", "."], "sql": {"from": {"table_units": [["table_unit", 3]], "conds": []}, "select": [false, [[0, [0, [0, 17, false], null]]]], "where": [[false, 9, [0, [0, 18, false], null], "\"2%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_0555", "db_id": "store_1", "query": "select title from albums where title like 'a%' order by title;", "query_toks": ["SELECT", "title", "FROM", "albums", "WHERE", "title", "LIKE", "'A", "%", "'", "ORDER", "BY", "title", ";"], "query_toks_no_value": ["select", "title", "from", "albums", "where", "title", "like", "value", "order", "by", "title"], "question": "List every album whose title starts with A in alphabetical order.", "question_toks": ["List", "every", "album", "whose", "title", "starts", "with", "A", "in", "alphabetical", "order", "."], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[0, [0, [0, 6, false], null]]]], "where": [[false, 9, [0, [0, 6, false], null], "\"A%\"", null]], "groupBy": [], "having": [], "orderBy": ["asc", [[0, [0, 6, false], null]]], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_0556", "db_id": "store_1", "query": "select title from albums where title like 'a%' order by title;", "query_toks": ["SELECT", "title", "FROM", "albums", "WHERE", "title", "LIKE", "'A", "%", "'", "ORDER", "BY", "title", ";"], "query_toks_no_value": ["select", "title", "from", "albums", "where", "title", "like", "value", "order", "by", "title"], "question": "What are the titles of all albums that start with A in alphabetical order?", "question_toks": ["What", "are", "the", "titles", "of", "all", "albums", "that", "start", "with", "A", "in", "alphabetical", "order", "?"], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[0, [0, [0, 6, false], null]]]], "where": [[false, 9, [0, [0, 6, false], null], "\"A%\"", null]], "groupBy": [], "having": [], "orderBy": ["asc", [[0, [0, 6, false], null]]], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_0583", "db_id": "store_1", "query": "select t2.title from artists as t1 join albums as t2 on t1.id = t2.artist_id where t1.name like '%led%'", "query_toks": ["SELECT", "T2.title", "FROM", "artists", "AS", "T1", "JOIN", "albums", "AS", "T2", "ON", "T1.id", "=", "T2.artist_id", "WHERE", "T1.name", "LIKE", "'", "%", "Led", "%", "'"], "query_toks_no_value": ["select", "t2", ".", "title", "from", "artists", "as", "t1", "join", "albums", "as", "t2", "on", "t1", ".", "id", "=", "t2", ".", "artist_id", "where", "t1", ".", "name", "like", "value"], "question": "List the name of albums that are released by aritist whose name has 'Led'", "question_toks": ["List", "the", "name", "of", "albums", "that", "are", "released", "by", "aritist", "whose", "name", "has", "'Led", "'"], "sql": {"from": {"table_units": [["table_unit", 0], ["table_unit", 2]], "conds": [[false, 2, [0, [0, 1, false], null], [0, 7, false], null]]}, "select": [false, [[0, [0, [0, 6, false], null]]]], "where": [[false, 9, [0, [0, 2, false], null], "\"%Led%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_0817", "db_id": "chinook_1", "query": "select name from artist where name like \"%a%\"", "query_toks": ["SELECT", "Name", "FROM", "ARTIST", "WHERE", "Name", "LIKE", "``", "%", "a", "%", "''"], "query_toks_no_value": ["select", "name", "from", "artist", "where", "name", "like", "value"], "question": "Find the names of all artists that have \"a\" in their names.", "question_toks": ["Find", "the", "names", "of", "all", "artists", "that", "have", "``", "a", "''", "in", "their", "names", "."], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[0, [0, [0, 5, false], null]]]], "where": [[false, 9, [0, [0, 5, false], null], "\"%a%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_0818", "db_id": "chinook_1", "query": "select name from artist where name like \"%a%\"", "query_toks": ["SELECT", "Name", "FROM", "ARTIST", "WHERE", "Name", "LIKE", "``", "%", "a", "%", "''"], "query_toks_no_value": ["select", "name", "from", "artist", "where", "name", "like", "value"], "question": "What are the names of artist who have the letter 'a' in their names?", "question_toks": ["What", "are", "the", "names", "of", "artist", "who", "have", "the", "letter", "'a", "'", "in", "their", "names", "?"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[0, [0, [0, 5, false], null]]]], "where": [[false, 9, [0, [0, 5, false], null], "\"%a%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_0827", "db_id": "chinook_1", "query": "select name from track where name like '%you%'", "query_toks": ["SELECT", "Name", "FROM", "TRACK", "WHERE", "Name", "LIKE", "'", "%", "you", "%", "'"], "query_toks_no_value": ["select", "name", "from", "track", "where", "name", "like", "value"], "question": "Find the names of all the tracks that contain the word \"you\".", "question_toks": ["Find", "the", "names", "of", "all", "the", "tracks", "that", "contain", "the", "word", "``", "you", "''", "."], "sql": {"from": {"table_units": [["table_unit", 10]], "conds": []}, "select": [false, [[0, [0, [0, 57, false], null]]]], "where": [[false, 9, [0, [0, 57, false], null], "\"%you%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_0828", "db_id": "chinook_1", "query": "select name from track where name like '%you%'", "query_toks": ["SELECT", "Name", "FROM", "TRACK", "WHERE", "Name", "LIKE", "'", "%", "you", "%", "'"], "query_toks_no_value": ["select", "name", "from", "track", "where", "name", "like", "value"], "question": "What are the names of tracks that contain the the word you in them?", "question_toks": ["What", "are", "the", "names", "of", "tracks", "that", "contain", "the", "the", "word", "you", "in", "them", "?"], "sql": {"from": {"table_units": [["table_unit", 10]], "conds": []}, "select": [false, [[0, [0, [0, 57, false], null]]]], "where": [[false, 9, [0, [0, 57, false], null], "\"%you%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_0847", "db_id": "chinook_1", "query": "select count(*) from customer where email like \"%gmail.com%\"", "query_toks": ["SELECT", "COUNT", "(", "*", ")", "FROM", "CUSTOMER", "WHERE", "Email", "LIKE", "``", "%", "gmail.com", "%", "''"], "query_toks_no_value": ["select", "count", "(", "*", ")", "from", "customer", "where", "email", "like", "value"], "question": "How many customers have email that contains \"gmail.com\"?", "question_toks": ["How", "many", "customers", "have", "email", "that", "contains", "``", "gmail.com", "''", "?"], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[3, [0, [0, 0, false], null]]]], "where": [[false, 9, [0, [0, 17, false], null], "\"%gmail.com%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_0848", "db_id": "chinook_1", "query": "select count(*) from customer where email like \"%gmail.com%\"", "query_toks": ["SELECT", "COUNT", "(", "*", ")", "FROM", "CUSTOMER", "WHERE", "Email", "LIKE", "``", "%", "gmail.com", "%", "''"], "query_toks_no_value": ["select", "count", "(", "*", ")", "from", "customer", "where", "email", "like", "value"], "question": "Count the number of customers that have an email containing \"gmail.com\".", "question_toks": ["Count", "the", "number", "of", "customers", "that", "have", "an", "email", "containing", "``", "gmail.com", "''", "."], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[3, [0, [0, 0, false], null]]]], "where": [[false, 9, [0, [0, 17, false], null], "\"%gmail.com%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_0925", "db_id": "insurance_fnol", "query": "select customer_id from customers where customer_name like \"%diana%\"", "query_toks": ["SELECT", "customer_id", "FROM", "customers", "WHERE", "customer_name", "LIKE", "``", "%", "Diana", "%", "''"], "query_toks_no_value": ["select", "customer_id", "from", "customers", "where", "customer_name", "like", "value"], "question": "Find the IDs of customers whose name contains \"Diana\".", "question_toks": ["Find", "the", "IDs", "of", "customers", "whose", "name", "contains", "``", "Diana", "''", "."], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 1, false], null]]]], "where": [[false, 9, [0, [0, 2, false], null], "\"%Diana%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_0926", "db_id": "insurance_fnol", "query": "select customer_id from customers where customer_name like \"%diana%\"", "query_toks": ["SELECT", "customer_id", "FROM", "customers", "WHERE", "customer_name", "LIKE", "``", "%", "Diana", "%", "''"], "query_toks_no_value": ["select", "customer_id", "from", "customers", "where", "customer_name", "like", "value"], "question": "What are the IDs of customers who have \"Diana\" in part of their names?", "question_toks": ["What", "are", "the", "IDs", "of", "customers", "who", "have", "``", "Diana", "''", "in", "part", "of", "their", "names", "?"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 1, false], null]]]], "where": [[false, 9, [0, [0, 2, false], null], "\"%Diana%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "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": ["LIKE_IN_SQL"], "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": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_0973", "db_id": "medicine_enzyme_interaction", "query": "select name from enzyme where name like \"%ala%\"", "query_toks": ["SELECT", "name", "FROM", "enzyme", "WHERE", "name", "LIKE", "``", "%", "ALA", "%", "''"], "query_toks_no_value": ["select", "name", "from", "enzyme", "where", "name", "like", "value"], "question": "Which enzyme names have the substring \"ALA\"?", "question_toks": ["Which", "enzyme", "names", "have", "the", "substring", "``", "ALA", "''", "?"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[0, [0, [0, 6, false], null]]]], "where": [[false, 9, [0, [0, 6, false], null], "\"%ALA%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_0974", "db_id": "medicine_enzyme_interaction", "query": "select name from enzyme where name like \"%ala%\"", "query_toks": ["SELECT", "name", "FROM", "enzyme", "WHERE", "name", "LIKE", "``", "%", "ALA", "%", "''"], "query_toks_no_value": ["select", "name", "from", "enzyme", "where", "name", "like", "value"], "question": "What are the names of enzymes that include the string 'ALA'?", "question_toks": ["What", "are", "the", "names", "of", "enzymes", "that", "include", "the", "string", "'ALA", "'", "?"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[0, [0, [0, 6, false], null]]]], "where": [[false, 9, [0, [0, 6, false], null], "\"%ALA%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_1009", "db_id": "university_basketball", "query": "select count(*) from university where location like \"%ny%\"", "query_toks": ["SELECT", "count", "(", "*", ")", "FROM", "university", "WHERE", "LOCATION", "LIKE", "``", "%", "NY", "%", "''"], "query_toks_no_value": ["select", "count", "(", "*", ")", "from", "university", "where", "location", "like", "value"], "question": "Find how many school locations have the word 'NY'.", "question_toks": ["Find", "how", "many", "school", "locations", "have", "the", "word", "'NY", "'", "."], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[3, [0, [0, 0, false], null]]]], "where": [[false, 9, [0, [0, 15, false], null], "\"%NY%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_1010", "db_id": "university_basketball", "query": "select count(*) from university where location like \"%ny%\"", "query_toks": ["SELECT", "count", "(", "*", ")", "FROM", "university", "WHERE", "LOCATION", "LIKE", "``", "%", "NY", "%", "''"], "query_toks_no_value": ["select", "count", "(", "*", ")", "from", "university", "where", "location", "like", "value"], "question": "How many universities have a location that contains NY?", "question_toks": ["How", "many", "universities", "have", "a", "location", "that", "contains", "NY", "?"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[3, [0, [0, 0, false], null]]]], "where": [[false, 9, [0, [0, 15, false], null], "\"%NY%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_1030", "db_id": "phone_1", "query": "select hardware_model_name , company_name from phone where accreditation_type like 'full';", "query_toks": ["SELECT", "Hardware_Model_name", ",", "Company_name", "FROM", "phone", "WHERE", "Accreditation_type", "LIKE", "'Full", "'", ";"], "query_toks_no_value": ["select", "hardware_model_name", ",", "company_name", "from", "phone", "where", "accreditation_type", "like", "value"], "question": "Find all phones that have word 'Full' in their accreditation types. List the Hardware Model name and Company name.", "question_toks": ["Find", "all", "phones", "that", "have", "word", "'Full", "'", "in", "their", "accreditation", "types", ".", "List", "the", "Hardware", "Model", "name", "and", "Company", "name", "."], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[0, [0, [0, 16, false], null]], [0, [0, [0, 15, false], null]]]], "where": [[false, 9, [0, [0, 17, false], null], "\"Full\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_1056", "db_id": "match_season", "query": "select official_native_language from country where official_native_language like \"%english%\"", "query_toks": ["SELECT", "Official_native_language", "FROM", "country", "WHERE", "Official_native_language", "LIKE", "``", "%", "English", "%", "''"], "query_toks_no_value": ["select", "official_native_language", "from", "country", "where", "official_native_language", "like", "value"], "question": "Show all official native languages that contain the word \"English\".", "question_toks": ["Show", "all", "official", "native", "languages", "that", "contain", "the", "word", "``", "English", "''", "."], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 4, false], null]]]], "where": [[false, 9, [0, [0, 4, false], null], "\"%English%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_1057", "db_id": "match_season", "query": "select official_native_language from country where official_native_language like \"%english%\"", "query_toks": ["SELECT", "Official_native_language", "FROM", "country", "WHERE", "Official_native_language", "LIKE", "``", "%", "English", "%", "''"], "query_toks_no_value": ["select", "official_native_language", "from", "country", "where", "official_native_language", "like", "value"], "question": "What are the official native languages that contain the string \"English\".", "question_toks": ["What", "are", "the", "official", "native", "languages", "that", "contain", "the", "string", "``", "English", "''", "."], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 4, false], null]]]], "where": [[false, 9, [0, [0, 4, false], null], "\"%English%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_1172", "db_id": "body_builder", "query": "select t1.total from body_builder as t1 join people as t2 on t1.people_id = t2.people_id where t2.birth_date like \"%january%\";", "query_toks": ["SELECT", "T1.total", "FROM", "body_builder", "AS", "T1", "JOIN", "people", "AS", "T2", "ON", "T1.people_id", "=", "T2.people_id", "WHERE", "T2.Birth_Date", "LIKE", "``", "%", "January", "%", "''", ";"], "query_toks_no_value": ["select", "t1", ".", "total", "from", "body_builder", "as", "t1", "join", "people", "as", "t2", "on", "t1", ".", "people_id", "=", "t2", ".", "people_id", "where", "t2", ".", "birth_date", "like", "value"], "question": "What are the total scores of the body builders whose birthday contains the string \"January\" ?", "question_toks": ["What", "are", "the", "total", "scores", "of", "the", "body", "builders", "whose", "birthday", "contains", "the", "string", "``", "January", "''", "?"], "sql": {"from": {"table_units": [["table_unit", 0], ["table_unit", 1]], "conds": [[false, 2, [0, [0, 2, false], null], [0, 6, false], null]]}, "select": [false, [[0, [0, [0, 5, false], null]]]], "where": [[false, 9, [0, [0, 10, false], null], "\"%January%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_1204", "db_id": "apartment_rentals", "query": "select building_full_name from apartment_buildings where building_full_name like \"%court%\"", "query_toks": ["SELECT", "building_full_name", "FROM", "Apartment_Buildings", "WHERE", "building_full_name", "LIKE", "``", "%", "court", "%", "''"], "query_toks_no_value": ["select", "building_full_name", "from", "apartment_buildings", "where", "building_full_name", "like", "value"], "question": "What are the building full names that contain the word \"court\"?", "question_toks": ["What", "are", "the", "building", "full", "names", "that", "contain", "the", "word", "``", "court", "''", "?"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 3, false], null]]]], "where": [[false, 9, [0, [0, 3, false], null], "\"%court%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_1205", "db_id": "apartment_rentals", "query": "select building_full_name from apartment_buildings where building_full_name like \"%court%\"", "query_toks": ["SELECT", "building_full_name", "FROM", "Apartment_Buildings", "WHERE", "building_full_name", "LIKE", "``", "%", "court", "%", "''"], "query_toks_no_value": ["select", "building_full_name", "from", "apartment_buildings", "where", "building_full_name", "like", "value"], "question": "Find all the building full names containing the word \"court\".", "question_toks": ["Find", "all", "the", "building", "full", "names", "containing", "the", "word", "``", "court", "''", "."], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 3, false], null]]]], "where": [[false, 9, [0, [0, 3, false], null], "\"%court%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_1354", "db_id": "college_2", "query": "select dept_name from instructor where name like '%soisalon%'", "query_toks": ["SELECT", "dept_name", "FROM", "instructor", "WHERE", "name", "LIKE", "'", "%", "Soisalon", "%", "'"], "query_toks_no_value": ["select", "dept_name", "from", "instructor", "where", "name", "like", "value"], "question": "Find the department name of the instructor whose name contains 'Soisalon'.", "question_toks": ["Find", "the", "department", "name", "of", "the", "instructor", "whose", "name", "contains", "'Soisalon", "'", "."], "sql": {"from": {"table_units": [["table_unit", 3]], "conds": []}, "select": [false, [[0, [0, [0, 13, false], null]]]], "where": [[false, 9, [0, [0, 12, false], null], "\"%Soisalon%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_1355", "db_id": "college_2", "query": "select dept_name from instructor where name like '%soisalon%'", "query_toks": ["SELECT", "dept_name", "FROM", "instructor", "WHERE", "name", "LIKE", "'", "%", "Soisalon", "%", "'"], "query_toks_no_value": ["select", "dept_name", "from", "instructor", "where", "name", "like", "value"], "question": "What is the name of the department with an instructure who has a name like 'Soisalon'?", "question_toks": ["What", "is", "the", "name", "of", "the", "department", "with", "an", "instructure", "who", "has", "a", "name", "like", "'Soisalon", "'", "?"], "sql": {"from": {"table_units": [["table_unit", 3]], "conds": []}, "select": [false, [[0, [0, [0, 13, false], null]]]], "where": [[false, 9, [0, [0, 12, false], null], "\"%Soisalon%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_1472", "db_id": "college_2", "query": "select name from instructor where name like '%dar%'", "query_toks": ["SELECT", "name", "FROM", "instructor", "WHERE", "name", "LIKE", "'", "%", "dar", "%", "'"], "query_toks_no_value": ["select", "name", "from", "instructor", "where", "name", "like", "value"], "question": "Find the names of all instructors whose name includes the substring \u201cdar\u201d.", "question_toks": ["Find", "the", "names", "of", "all", "instructors", "whose", "name", "includes", "the", "substring", "\u201cdar\u201d", "."], "sql": {"from": {"table_units": [["table_unit", 3]], "conds": []}, "select": [false, [[0, [0, [0, 12, false], null]]]], "where": [[false, 9, [0, [0, 12, false], null], "\"%dar%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_1473", "db_id": "college_2", "query": "select name from instructor where name like '%dar%'", "query_toks": ["SELECT", "name", "FROM", "instructor", "WHERE", "name", "LIKE", "'", "%", "dar", "%", "'"], "query_toks_no_value": ["select", "name", "from", "instructor", "where", "name", "like", "value"], "question": "What are the names of all instructors with names that include \"dar\"?", "question_toks": ["What", "are", "the", "names", "of", "all", "instructors", "with", "names", "that", "include", "``", "dar", "''", "?"], "sql": {"from": {"table_units": [["table_unit", 3]], "conds": []}, "select": [false, [[0, [0, [0, 12, false], null]]]], "where": [[false, 9, [0, [0, 12, false], null], "\"%dar%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_1529", "db_id": "insurance_and_eClaims", "query": "select customer_details from customers where customer_details like \"%diana%\"", "query_toks": ["SELECT", "customer_details", "FROM", "customers", "WHERE", "customer_details", "LIKE", "``", "%", "Diana", "%", "''"], "query_toks_no_value": ["select", "customer_details", "from", "customers", "where", "customer_details", "like", "value"], "question": "Find the names of customers whose name contains \"Diana\".", "question_toks": ["Find", "the", "names", "of", "customers", "whose", "name", "contains", "``", "Diana", "''", "."], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 2, false], null]]]], "where": [[false, 9, [0, [0, 2, false], null], "\"%Diana%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_1788", "db_id": "small_bank_1", "query": "select t2.balance from accounts as t1 join checking as t2 on t1.custid = t2.custid where t1.name like '%ee%'", "query_toks": ["SELECT", "T2.balance", "FROM", "accounts", "AS", "T1", "JOIN", "checking", "AS", "T2", "ON", "T1.custid", "=", "T2.custid", "WHERE", "T1.name", "LIKE", "'", "%", "ee", "%", "'"], "query_toks_no_value": ["select", "t2", ".", "balance", "from", "accounts", "as", "t1", "join", "checking", "as", "t2", "on", "t1", ".", "custid", "=", "t2", ".", "custid", "where", "t1", ".", "name", "like", "value"], "question": "What is the checking balance of the account whose owner\u2019s name contains the substring \u2018ee\u2019?", "question_toks": ["What", "is", "the", "checking", "balance", "of", "the", "account", "whose", "owner\u2019s", "name", "contains", "the", "substring", "\u2018ee\u2019", "?"], "sql": {"from": {"table_units": [["table_unit", 0], ["table_unit", 2]], "conds": [[false, 2, [0, [0, 1, false], null], [0, 5, false], null]]}, "select": [false, [[0, [0, [0, 6, false], null]]]], "where": [[false, 9, [0, [0, 2, false], null], "\"%ee%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_1958", "db_id": "cinema", "query": "select count(*) from film where title like \"%dummy%\"", "query_toks": ["SELECT", "count", "(", "*", ")", "FROM", "film", "WHERE", "title", "LIKE", "``", "%", "Dummy", "%", "''"], "query_toks_no_value": ["select", "count", "(", "*", ")", "from", "film", "where", "title", "like", "value"], "question": "How many films have the word 'Dummy' in their titles?", "question_toks": ["How", "many", "films", "have", "the", "word", "'Dummy", "'", "in", "their", "titles", "?"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[3, [0, [0, 0, false], null]]]], "where": [[false, 9, [0, [0, 4, false], null], "\"%Dummy%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_1959", "db_id": "cinema", "query": "select count(*) from film where title like \"%dummy%\"", "query_toks": ["SELECT", "count", "(", "*", ")", "FROM", "film", "WHERE", "title", "LIKE", "``", "%", "Dummy", "%", "''"], "query_toks_no_value": ["select", "count", "(", "*", ")", "from", "film", "where", "title", "like", "value"], "question": "Count the number of films whose title contains the word 'Dummy'.", "question_toks": ["Count", "the", "number", "of", "films", "whose", "title", "contains", "the", "word", "'Dummy", "'", "."], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[3, [0, [0, 0, false], null]]]], "where": [[false, 9, [0, [0, 4, false], null], "\"%Dummy%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_3599", "db_id": "music_1", "query": "select max(t2.resolution) , min(t2.resolution) from files as t1 join song as t2 on t1.f_id = t2.f_id where t1.duration like \"3:%\"", "query_toks": ["SELECT", "max", "(", "T2.resolution", ")", ",", "min", "(", "T2.resolution", ")", "FROM", "files", "AS", "T1", "JOIN", "song", "AS", "T2", "ON", "T1.f_id", "=", "T2.f_id", "WHERE", "T1.duration", "LIKE", "``", "3", ":", "%", "''"], "query_toks_no_value": ["select", "max", "(", "t2", ".", "resolution", ")", ",", "min", "(", "t2", ".", "resolution", ")", "from", "files", "as", "t1", "join", "song", "as", "t2", "on", "t1", ".", "f_id", "=", "t2", ".", "f_id", "where", "t1", ".", "duration", "like", "value"], "question": "What are the maximum and minimum resolution of songs whose duration is 3 minutes?", "question_toks": ["What", "are", "the", "maximum", "and", "minimum", "resolution", "of", "songs", "whose", "duration", "is", "3", "minutes", "?"], "sql": {"from": {"table_units": [["table_unit", 2], ["table_unit", 3]], "conds": [[false, 2, [0, [0, 8, false], null], [0, 16, false], null]]}, "select": [false, [[1, [0, [0, 21, false], null]], [2, [0, [0, 21, false], null]]]], "where": [[false, 9, [0, [0, 11, false], null], "\"3:%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_3600", "db_id": "music_1", "query": "select max(t2.resolution) , min(t2.resolution) from files as t1 join song as t2 on t1.f_id = t2.f_id where t1.duration like \"3:%\"", "query_toks": ["SELECT", "max", "(", "T2.resolution", ")", ",", "min", "(", "T2.resolution", ")", "FROM", "files", "AS", "T1", "JOIN", "song", "AS", "T2", "ON", "T1.f_id", "=", "T2.f_id", "WHERE", "T1.duration", "LIKE", "``", "3", ":", "%", "''"], "query_toks_no_value": ["select", "max", "(", "t2", ".", "resolution", ")", ",", "min", "(", "t2", ".", "resolution", ")", "from", "files", "as", "t1", "join", "song", "as", "t2", "on", "t1", ".", "f_id", "=", "t2", ".", "f_id", "where", "t1", ".", "duration", "like", "value"], "question": "What is the maximum and minimum resolution of all songs that are approximately 3 minutes long?", "question_toks": ["What", "is", "the", "maximum", "and", "minimum", "resolution", "of", "all", "songs", "that", "are", "approximately", "3", "minutes", "long", "?"], "sql": {"from": {"table_units": [["table_unit", 2], ["table_unit", 3]], "conds": [[false, 2, [0, [0, 8, false], null], [0, 16, false], null]]}, "select": [false, [[1, [0, [0, 21, false], null]], [2, [0, [0, 21, false], null]]]], "where": [[false, 9, [0, [0, 11, false], null], "\"3:%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_3726", "db_id": "mountain_photos", "query": "select name from camera_lens where name like \"%digital%\"", "query_toks": ["SELECT", "name", "FROM", "camera_lens", "WHERE", "name", "LIKE", "``", "%", "Digital", "%", "''"], "query_toks_no_value": ["select", "name", "from", "camera_lens", "where", "name", "like", "value"], "question": "List the camera lens names containing substring \"Digital\".", "question_toks": ["List", "the", "camera", "lens", "names", "containing", "substring", "``", "Digital", "''", "."], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[0, [0, [0, 9, false], null]]]], "where": [[false, 9, [0, [0, 9, false], null], "\"%Digital%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_3793", "db_id": "e_learning", "query": "select count(*) from students where personal_name like \"%son%\"", "query_toks": ["SELECT", "COUNT", "(", "*", ")", "FROM", "Students", "WHERE", "personal_name", "LIKE", "``", "%", "son", "%", "''"], "query_toks_no_value": ["select", "count", "(", "*", ")", "from", "students", "where", "personal_name", "like", "value"], "question": "Find the number of students who have the word \"son\" in their personal names.", "question_toks": ["Find", "the", "number", "of", "students", "who", "have", "the", "word", "``", "son", "''", "in", "their", "personal", "names", "."], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[3, [0, [0, 0, false], null]]]], "where": [[false, 9, [0, [0, 15, false], null], "\"%son%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_3946", "db_id": "hospital_1", "query": "select name from physician where position like '%senior%'", "query_toks": ["SELECT", "name", "FROM", "physician", "WHERE", "POSITION", "LIKE", "'", "%", "senior", "%", "'"], "query_toks_no_value": ["select", "name", "from", "physician", "where", "position", "like", "value"], "question": "Find the name of physicians whose position title contains the word 'senior'.", "question_toks": ["Find", "the", "name", "of", "physicians", "whose", "position", "title", "contains", "the", "word", "'senior", "'", "."], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 2, false], null]]]], "where": [[false, 9, [0, [0, 3, false], null], "\"%senior%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_3947", "db_id": "hospital_1", "query": "select name from physician where position like '%senior%'", "query_toks": ["SELECT", "name", "FROM", "physician", "WHERE", "POSITION", "LIKE", "'", "%", "senior", "%", "'"], "query_toks_no_value": ["select", "name", "from", "physician", "where", "position", "like", "value"], "question": "What are the names of the physicians who have 'senior' in their titles.", "question_toks": ["What", "are", "the", "names", "of", "the", "physicians", "who", "have", "'senior", "'", "in", "their", "titles", "."], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 2, false], null]]]], "where": [[false, 9, [0, [0, 3, false], null], "\"%senior%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_4150", "db_id": "film_rank", "query": "select title , studio from film where studio like \"%universal%\"", "query_toks": ["SELECT", "title", ",", "Studio", "FROM", "film", "WHERE", "Studio", "LIKE", "``", "%", "Universal", "%", "''"], "query_toks_no_value": ["select", "title", ",", "studio", "from", "film", "where", "studio", "like", "value"], "question": "Find the titles and studios of the films that are produced by some film studios that contained the word \"Universal\".", "question_toks": ["Find", "the", "titles", "and", "studios", "of", "the", "films", "that", "are", "produced", "by", "some", "film", "studios", "that", "contained", "the", "word", "``", "Universal", "''", "."], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 2, false], null]], [0, [0, [0, 3, false], null]]]], "where": [[false, 9, [0, [0, 3, false], null], "\"%Universal%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_4151", "db_id": "film_rank", "query": "select title , studio from film where studio like \"%universal%\"", "query_toks": ["SELECT", "title", ",", "Studio", "FROM", "film", "WHERE", "Studio", "LIKE", "``", "%", "Universal", "%", "''"], "query_toks_no_value": ["select", "title", ",", "studio", "from", "film", "where", "studio", "like", "value"], "question": "What are the titles and studios of films that have been produced by a studio whose name contains \"Universal\"?", "question_toks": ["What", "are", "the", "titles", "and", "studios", "of", "films", "that", "have", "been", "produced", "by", "a", "studio", "whose", "name", "contains", "``", "Universal", "''", "?"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 2, false], null]], [0, [0, [0, 3, false], null]]]], "where": [[false, 9, [0, [0, 3, false], null], "\"%Universal%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_4348", "db_id": "tracking_grants_for_research", "query": "select t1.project_details from projects as t1 join project_outcomes as t2 on t1.project_id = t2.project_id join research_outcomes as t3 on t2.outcome_code = t3.outcome_code where t3.outcome_description like '%published%'", "query_toks": ["SELECT", "T1.project_details", "FROM", "Projects", "AS", "T1", "JOIN", "Project_outcomes", "AS", "T2", "ON", "T1.project_id", "=", "T2.project_id", "JOIN", "Research_outcomes", "AS", "T3", "ON", "T2.outcome_code", "=", "T3.outcome_code", "WHERE", "T3.outcome_description", "LIKE", "'", "%", "Published", "%", "'"], "query_toks_no_value": ["select", "t1", ".", "project_details", "from", "projects", "as", "t1", "join", "project_outcomes", "as", "t2", "on", "t1", ".", "project_id", "=", "t2", ".", "project_id", "join", "research_outcomes", "as", "t3", "on", "t2", ".", "outcome_code", "=", "t3", ".", "outcome_code", "where", "t3", ".", "outcome_description", "like", "value"], "question": "List the project details of the projects with the research outcome described with the substring 'Published'.", "question_toks": ["List", "the", "project", "details", "of", "the", "projects", "with", "the", "research", "outcome", "described", "with", "the", "substring", "'Published", "'", "."], "sql": {"from": {"table_units": [["table_unit", 7], ["table_unit", 5], ["table_unit", 8]], "conds": [[false, 2, [0, [0, 29, false], null], [0, 20, false], null], "and", [false, 2, [0, [0, 21, false], null], [0, 32, false], null]]}, "select": [false, [[0, [0, [0, 31, false], null]]]], "where": [[false, 9, [0, [0, 33, false], null], "\"%Published%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_4349", "db_id": "tracking_grants_for_research", "query": "select t1.project_details from projects as t1 join project_outcomes as t2 on t1.project_id = t2.project_id join research_outcomes as t3 on t2.outcome_code = t3.outcome_code where t3.outcome_description like '%published%'", "query_toks": ["SELECT", "T1.project_details", "FROM", "Projects", "AS", "T1", "JOIN", "Project_outcomes", "AS", "T2", "ON", "T1.project_id", "=", "T2.project_id", "JOIN", "Research_outcomes", "AS", "T3", "ON", "T2.outcome_code", "=", "T3.outcome_code", "WHERE", "T3.outcome_description", "LIKE", "'", "%", "Published", "%", "'"], "query_toks_no_value": ["select", "t1", ".", "project_details", "from", "projects", "as", "t1", "join", "project_outcomes", "as", "t2", "on", "t1", ".", "project_id", "=", "t2", ".", "project_id", "join", "research_outcomes", "as", "t3", "on", "t2", ".", "outcome_code", "=", "t3", ".", "outcome_code", "where", "t3", ".", "outcome_description", "like", "value"], "question": "What are the details for the project whose research has been published?", "question_toks": ["What", "are", "the", "details", "for", "the", "project", "whose", "research", "has", "been", "published", "?"], "sql": {"from": {"table_units": [["table_unit", 7], ["table_unit", 5], ["table_unit", 8]], "conds": [[false, 2, [0, [0, 29, false], null], [0, 20, false], null], "and", [false, 2, [0, [0, 21, false], null], [0, 32, false], null]]}, "select": [false, [[0, [0, [0, 31, false], null]]]], "where": [[false, 9, [0, [0, 33, false], null], "\"%Published%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_4364", "db_id": "tracking_grants_for_research", "query": "select document_type_code from document_types where document_description like 'initial%'", "query_toks": ["SELECT", "document_type_code", "FROM", "Document_Types", "WHERE", "document_description", "LIKE", "'Initial", "%", "'"], "query_toks_no_value": ["select", "document_type_code", "from", "document_types", "where", "document_description", "like", "value"], "question": "Which document type is described with the prefix 'Initial'?", "question_toks": ["Which", "document", "type", "is", "described", "with", "the", "prefix", "'Initial", "'", "?"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 1, false], null]]]], "where": [[false, 9, [0, [0, 2, false], null], "\"Initial%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_4365", "db_id": "tracking_grants_for_research", "query": "select document_type_code from document_types where document_description like 'initial%'", "query_toks": ["SELECT", "document_type_code", "FROM", "Document_Types", "WHERE", "document_description", "LIKE", "'Initial", "%", "'"], "query_toks_no_value": ["select", "document_type_code", "from", "document_types", "where", "document_description", "like", "value"], "question": "What is the type of the document whose description starts with the word 'Initial'?", "question_toks": ["What", "is", "the", "type", "of", "the", "document", "whose", "description", "starts", "with", "the", "word", "'Initial", "'", "?"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 1, false], null]]]], "where": [[false, 9, [0, [0, 2, false], null], "\"Initial%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_4651", "db_id": "college_3", "query": "select distinct fname from student where fname like '%a%'", "query_toks": ["SELECT", "DISTINCT", "Fname", "FROM", "STUDENT", "WHERE", "Fname", "LIKE", "'", "%", "a", "%", "'"], "query_toks_no_value": ["select", "distinct", "fname", "from", "student", "where", "fname", "like", "value"], "question": "Find the first names of students whose first names contain letter \"a\".", "question_toks": ["Find", "the", "first", "names", "of", "students", "whose", "first", "names", "contain", "letter", "``", "a", "''", "."], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [true, [[0, [0, [0, 3, false], null]]]], "where": [[false, 9, [0, [0, 3, false], null], "\"%a%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_4652", "db_id": "college_3", "query": "select distinct fname from student where fname like '%a%'", "query_toks": ["SELECT", "DISTINCT", "Fname", "FROM", "STUDENT", "WHERE", "Fname", "LIKE", "'", "%", "a", "%", "'"], "query_toks_no_value": ["select", "distinct", "fname", "from", "student", "where", "fname", "like", "value"], "question": "What are the first names for students who have an \"a\" in their first name?", "question_toks": ["What", "are", "the", "first", "names", "for", "students", "who", "have", "an", "``", "a", "''", "in", "their", "first", "name", "?"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [true, [[0, [0, [0, 3, false], null]]]], "where": [[false, 9, [0, [0, 3, false], null], "\"%a%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_5200", "db_id": "music_2", "query": "select title from songs where title like '% the %'", "query_toks": ["SELECT", "title", "FROM", "songs", "WHERE", "title", "LIKE", "'", "%", "the", "%", "'"], "query_toks_no_value": ["select", "title", "from", "songs", "where", "title", "like", "value"], "question": "Find all the songs whose name contains the word \"the\".", "question_toks": ["Find", "all", "the", "songs", "whose", "name", "contains", "the", "word", "``", "the", "''", "."], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 2, false], null]]]], "where": [[false, 9, [0, [0, 2, false], null], "\"% the %\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_5201", "db_id": "music_2", "query": "select title from songs where title like '% the %'", "query_toks": ["SELECT", "title", "FROM", "songs", "WHERE", "title", "LIKE", "'", "%", "the", "%", "'"], "query_toks_no_value": ["select", "title", "from", "songs", "where", "title", "like", "value"], "question": "What are the names of the songs whose title has the word \"the\"?", "question_toks": ["What", "are", "the", "names", "of", "the", "songs", "whose", "title", "has", "the", "word", "``", "the", "''", "?"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 2, false], null]]]], "where": [[false, 9, [0, [0, 2, false], null], "\"% the %\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_5288", "db_id": "manufactory_1", "query": "select founder from manufacturers where name like 's%'", "query_toks": ["SELECT", "founder", "FROM", "manufacturers", "WHERE", "name", "LIKE", "'S", "%", "'"], "query_toks_no_value": ["select", "founder", "from", "manufacturers", "where", "name", "like", "value"], "question": "Find the founder of the company whose name begins with the letter 'S'.", "question_toks": ["Find", "the", "founder", "of", "the", "company", "whose", "name", "begins", "with", "the", "letter", "'S", "'", "."], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 4, false], null]]]], "where": [[false, 9, [0, [0, 2, false], null], "\"S%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_5289", "db_id": "manufactory_1", "query": "select founder from manufacturers where name like 's%'", "query_toks": ["SELECT", "founder", "FROM", "manufacturers", "WHERE", "name", "LIKE", "'S", "%", "'"], "query_toks_no_value": ["select", "founder", "from", "manufacturers", "where", "name", "like", "value"], "question": "Who is the founders of companies whose first letter is S?", "question_toks": ["Who", "is", "the", "founders", "of", "companies", "whose", "first", "letter", "is", "S", "?"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 4, false], null]]]], "where": [[false, 9, [0, [0, 2, false], null], "\"S%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_5442", "db_id": "shop_membership", "query": "select card_number from member where hometown like \"%kentucky%\"", "query_toks": ["SELECT", "card_number", "FROM", "member", "WHERE", "Hometown", "LIKE", "``", "%", "Kentucky", "%", "''"], "query_toks_no_value": ["select", "card_number", "from", "member", "where", "hometown", "like", "value"], "question": "list the card number of all members whose hometown address includes word \"Kentucky\".", "question_toks": ["list", "the", "card", "number", "of", "all", "members", "whose", "hometown", "address", "includes", "word", "``", "Kentucky", "''", "."], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 2, false], null]]]], "where": [[false, 9, [0, [0, 4, false], null], "\"%Kentucky%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_5443", "db_id": "shop_membership", "query": "select card_number from member where hometown like \"%kentucky%\"", "query_toks": ["SELECT", "card_number", "FROM", "member", "WHERE", "Hometown", "LIKE", "``", "%", "Kentucky", "%", "''"], "query_toks_no_value": ["select", "card_number", "from", "member", "where", "hometown", "like", "value"], "question": "What are the card numbers of members from Kentucky?", "question_toks": ["What", "are", "the", "card", "numbers", "of", "members", "from", "Kentucky", "?"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 2, false], null]]]], "where": [[false, 9, [0, [0, 4, false], null], "\"%Kentucky%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_5542", "db_id": "products_gen_characteristics", "query": "select t1.product_category_description from ref_product_categories as t1 join products as t2 on t1.product_category_code = t2.product_category_code where t2.product_description like '%t%'", "query_toks": ["SELECT", "T1.product_category_description", "FROM", "ref_product_categories", "AS", "T1", "JOIN", "products", "AS", "T2", "ON", "T1.product_category_code", "=", "T2.product_category_code", "WHERE", "T2.product_description", "LIKE", "'", "%", "t", "%", "'"], "query_toks_no_value": ["select", "t1", ".", "product_category_description", "from", "ref_product_categories", "as", "t1", "join", "products", "as", "t2", "on", "t1", ".", "product_category_code", "=", "t2", ".", "product_category_code", "where", "t2", ".", "product_description", "like", "value"], "question": "Find the category descriptions of the products whose descriptions include letter 't'.", "question_toks": ["Find", "the", "category", "descriptions", "of", "the", "products", "whose", "descriptions", "include", "letter", "'t", "'", "."], "sql": {"from": {"table_units": [["table_unit", 2], ["table_unit", 4]], "conds": [[false, 2, [0, [0, 5, false], null], [0, 15, false], null]]}, "select": [false, [[0, [0, [0, 6, false], null]]]], "where": [[false, 9, [0, [0, 19, false], null], "\"%t%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_5696", "db_id": "dorm_1", "query": "select student_capacity , gender from dorm where dorm_name like '%donor%'", "query_toks": ["SELECT", "student_capacity", ",", "gender", "FROM", "dorm", "WHERE", "dorm_name", "LIKE", "'", "%", "Donor", "%", "'"], "query_toks_no_value": ["select", "student_capacity", ",", "gender", "from", "dorm", "where", "dorm_name", "like", "value"], "question": "Find the capacity and gender type of the dorm whose name has substring \u2018Donor\u2019.", "question_toks": ["Find", "the", "capacity", "and", "gender", "type", "of", "the", "dorm", "whose", "name", "has", "substring", "\u2018Donor\u2019", "."], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[0, [0, [0, 11, false], null]], [0, [0, [0, 12, false], null]]]], "where": [[false, 9, [0, [0, 10, false], null], "\"%Donor%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_5697", "db_id": "dorm_1", "query": "select student_capacity , gender from dorm where dorm_name like '%donor%'", "query_toks": ["SELECT", "student_capacity", ",", "gender", "FROM", "dorm", "WHERE", "dorm_name", "LIKE", "'", "%", "Donor", "%", "'"], "query_toks_no_value": ["select", "student_capacity", ",", "gender", "from", "dorm", "where", "dorm_name", "like", "value"], "question": "What is the student capacity and type of gender for the dorm whose name as the phrase Donor in it?", "question_toks": ["What", "is", "the", "student", "capacity", "and", "type", "of", "gender", "for", "the", "dorm", "whose", "name", "as", "the", "phrase", "Donor", "in", "it", "?"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[0, [0, [0, 11, false], null]], [0, [0, [0, 12, false], null]]]], "where": [[false, 9, [0, [0, 10, false], null], "\"%Donor%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_6485", "db_id": "scientist_1", "query": "select t2.name from assignedto as t1 join projects as t2 on t1.project = t2.code join scientists as t3 on t1.scientist = t3.ssn where t3.name like '%smith%'", "query_toks": ["SELECT", "T2.name", "FROM", "assignedto", "AS", "T1", "JOIN", "projects", "AS", "T2", "ON", "T1.project", "=", "T2.code", "JOIN", "scientists", "AS", "T3", "ON", "T1.scientist", "=", "T3.SSN", "WHERE", "T3.name", "LIKE", "'", "%", "Smith", "%", "'"], "query_toks_no_value": ["select", "t2", ".", "name", "from", "assignedto", "as", "t1", "join", "projects", "as", "t2", "on", "t1", ".", "project", "=", "t2", ".", "code", "join", "scientists", "as", "t3", "on", "t1", ".", "scientist", "=", "t3", ".", "ssn", "where", "t3", ".", "name", "like", "value"], "question": "Find the name of the project for which a scientist whose name contains \u2018Smith\u2019 is assigned to.", "question_toks": ["Find", "the", "name", "of", "the", "project", "for", "which", "a", "scientist", "whose", "name", "contains", "\u2018Smith\u2019", "is", "assigned", "to", "."], "sql": {"from": {"table_units": [["table_unit", 2], ["table_unit", 1], ["table_unit", 0]], "conds": [[false, 2, [0, [0, 7, false], null], [0, 3, false], null], "and", [false, 2, [0, [0, 6, false], null], [0, 1, false], null]]}, "select": [false, [[0, [0, [0, 4, false], null]]]], "where": [[false, 9, [0, [0, 2, false], null], "\"%Smith%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_6486", "db_id": "scientist_1", "query": "select t2.name from assignedto as t1 join projects as t2 on t1.project = t2.code join scientists as t3 on t1.scientist = t3.ssn where t3.name like '%smith%'", "query_toks": ["SELECT", "T2.name", "FROM", "assignedto", "AS", "T1", "JOIN", "projects", "AS", "T2", "ON", "T1.project", "=", "T2.code", "JOIN", "scientists", "AS", "T3", "ON", "T1.scientist", "=", "T3.SSN", "WHERE", "T3.name", "LIKE", "'", "%", "Smith", "%", "'"], "query_toks_no_value": ["select", "t2", ".", "name", "from", "assignedto", "as", "t1", "join", "projects", "as", "t2", "on", "t1", ".", "project", "=", "t2", ".", "code", "join", "scientists", "as", "t3", "on", "t1", ".", "scientist", "=", "t3", ".", "ssn", "where", "t3", ".", "name", "like", "value"], "question": "What is the name of the project that has a scientist assigned to it whose name contains 'Smith'?", "question_toks": ["What", "is", "the", "name", "of", "the", "project", "that", "has", "a", "scientist", "assigned", "to", "it", "whose", "name", "contains", "'Smith", "'", "?"], "sql": {"from": {"table_units": [["table_unit", 2], ["table_unit", 1], ["table_unit", 0]], "conds": [[false, 2, [0, [0, 7, false], null], [0, 3, false], null], "and", [false, 2, [0, [0, 6, false], null], [0, 1, false], null]]}, "select": [false, [[0, [0, [0, 4, false], null]]]], "where": [[false, 9, [0, [0, 2, false], null], "\"%Smith%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_6700", "db_id": "driving_school", "query": "select t1.lesson_id from lessons as t1 join staff as t2 on t1.staff_id = t2.staff_id where t2.first_name = \"janessa\" and t2.last_name = \"sawayn\" and nickname like \"%s%\";", "query_toks": ["SELECT", "T1.lesson_id", "FROM", "Lessons", "AS", "T1", "JOIN", "Staff", "AS", "T2", "ON", "T1.staff_id", "=", "T2.staff_id", "WHERE", "T2.first_name", "=", "``", "Janessa", "''", "AND", "T2.last_name", "=", "``", "Sawayn", "''", "AND", "nickname", "LIKE", "``", "%", "s", "%", "''", ";"], "query_toks_no_value": ["select", "t1", ".", "lesson_id", "from", "lessons", "as", "t1", "join", "staff", "as", "t2", "on", "t1", ".", "staff_id", "=", "t2", ".", "staff_id", "where", "t2", ".", "first_name", "=", "value", "and", "t2", ".", "last_name", "=", "value", "and", "nickname", "like", "value"], "question": "List lesson id of all lessons taught by staff with first name as Janessa, last name as Sawayn and nickname containing letter 's'.", "question_toks": ["List", "lesson", "id", "of", "all", "lessons", "taught", "by", "staff", "with", "first", "name", "as", "Janessa", ",", "last", "name", "as", "Sawayn", "and", "nickname", "containing", "letter", "'s", "'", "."], "sql": {"from": {"table_units": [["table_unit", 5], ["table_unit", 1]], "conds": [[false, 2, [0, [0, 36, false], null], [0, 7, false], null]]}, "select": [false, [[0, [0, [0, 33, false], null]]]], "where": [[false, 2, [0, [0, 10, false], null], "\"Janessa\"", null], "and", [false, 2, [0, [0, 12, false], null], "\"Sawayn\"", null], "and", [false, 9, [0, [0, 9, false], null], "\"%s%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_6701", "db_id": "driving_school", "query": "select t1.lesson_id from lessons as t1 join staff as t2 on t1.staff_id = t2.staff_id where t2.first_name = \"janessa\" and t2.last_name = \"sawayn\" and nickname like \"%s%\";", "query_toks": ["SELECT", "T1.lesson_id", "FROM", "Lessons", "AS", "T1", "JOIN", "Staff", "AS", "T2", "ON", "T1.staff_id", "=", "T2.staff_id", "WHERE", "T2.first_name", "=", "``", "Janessa", "''", "AND", "T2.last_name", "=", "``", "Sawayn", "''", "AND", "nickname", "LIKE", "``", "%", "s", "%", "''", ";"], "query_toks_no_value": ["select", "t1", ".", "lesson_id", "from", "lessons", "as", "t1", "join", "staff", "as", "t2", "on", "t1", ".", "staff_id", "=", "t2", ".", "staff_id", "where", "t2", ".", "first_name", "=", "value", "and", "t2", ".", "last_name", "=", "value", "and", "nickname", "like", "value"], "question": "What are the the lesson ids of all staff taught by Janessa Sawayn whose nickname has the letter s?", "question_toks": ["What", "are", "the", "the", "lesson", "ids", "of", "all", "staff", "taught", "by", "Janessa", "Sawayn", "whose", "nickname", "has", "the", "letter", "s", "?"], "sql": {"from": {"table_units": [["table_unit", 5], ["table_unit", 1]], "conds": [[false, 2, [0, [0, 36, false], null], [0, 7, false], null]]}, "select": [false, [[0, [0, [0, 33, false], null]]]], "where": [[false, 2, [0, [0, 10, false], null], "\"Janessa\"", null], "and", [false, 2, [0, [0, 12, false], null], "\"Sawayn\"", null], "and", [false, 9, [0, [0, 9, false], null], "\"%s%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_6702", "db_id": "driving_school", "query": "select count(*) from lessons as t1 join staff as t2 on t1.staff_id = t2.staff_id where t2.first_name like \"%a%\"", "query_toks": ["SELECT", "count", "(", "*", ")", "FROM", "Lessons", "AS", "T1", "JOIN", "Staff", "AS", "T2", "ON", "T1.staff_id", "=", "T2.staff_id", "WHERE", "T2.first_name", "LIKE", "``", "%", "a", "%", "''"], "query_toks_no_value": ["select", "count", "(", "*", ")", "from", "lessons", "as", "t1", "join", "staff", "as", "t2", "on", "t1", ".", "staff_id", "=", "t2", ".", "staff_id", "where", "t2", ".", "first_name", "like", "value"], "question": "How many lessons taught by staff whose first name has letter 'a' in it?", "question_toks": ["How", "many", "lessons", "taught", "by", "staff", "whose", "first", "name", "has", "letter", "'a", "'", "in", "it", "?"], "sql": {"from": {"table_units": [["table_unit", 5], ["table_unit", 1]], "conds": [[false, 2, [0, [0, 36, false], null], [0, 7, false], null]]}, "select": [false, [[3, [0, [0, 0, false], null]]]], "where": [[false, 9, [0, [0, 10, false], null], "\"%a%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_6703", "db_id": "driving_school", "query": "select count(*) from lessons as t1 join staff as t2 on t1.staff_id = t2.staff_id where t2.first_name like \"%a%\"", "query_toks": ["SELECT", "count", "(", "*", ")", "FROM", "Lessons", "AS", "T1", "JOIN", "Staff", "AS", "T2", "ON", "T1.staff_id", "=", "T2.staff_id", "WHERE", "T2.first_name", "LIKE", "``", "%", "a", "%", "''"], "query_toks_no_value": ["select", "count", "(", "*", ")", "from", "lessons", "as", "t1", "join", "staff", "as", "t2", "on", "t1", ".", "staff_id", "=", "t2", ".", "staff_id", "where", "t2", ".", "first_name", "like", "value"], "question": "How many lessons were taught by a staff member whose first name has the letter 'a' in it?", "question_toks": ["How", "many", "lessons", "were", "taught", "by", "a", "staff", "member", "whose", "first", "name", "has", "the", "letter", "'a", "'", "in", "it", "?"], "sql": {"from": {"table_units": [["table_unit", 5], ["table_unit", 1]], "conds": [[false, 2, [0, [0, 36, false], null], [0, 7, false], null]]}, "select": [false, [[3, [0, [0, 0, false], null]]]], "where": [[false, 9, [0, [0, 10, false], null], "\"%a%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_6815", "db_id": "flight_4", "query": "select country from airlines where name like 'orbit%'", "query_toks": ["SELECT", "country", "FROM", "airlines", "WHERE", "name", "LIKE", "'Orbit", "%", "'"], "query_toks_no_value": ["select", "country", "from", "airlines", "where", "name", "like", "value"], "question": "Find the country of the airlines whose name starts with 'Orbit'.", "question_toks": ["Find", "the", "country", "of", "the", "airlines", "whose", "name", "starts", "with", "'Orbit", "'", "."], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[0, [0, [0, 23, false], null]]]], "where": [[false, 9, [0, [0, 19, false], null], "\"Orbit%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_6816", "db_id": "flight_4", "query": "select country from airlines where name like 'orbit%'", "query_toks": ["SELECT", "country", "FROM", "airlines", "WHERE", "name", "LIKE", "'Orbit", "%", "'"], "query_toks_no_value": ["select", "country", "from", "airlines", "where", "name", "like", "value"], "question": "What are the countries of all airlines whose names start with Orbit?", "question_toks": ["What", "are", "the", "countries", "of", "all", "airlines", "whose", "names", "start", "with", "Orbit", "?"], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[0, [0, [0, 23, false], null]]]], "where": [[false, 9, [0, [0, 19, false], null], "\"Orbit%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_6821", "db_id": "flight_4", "query": "select count(*) from airports where name like '%international%'", "query_toks": ["SELECT", "count", "(", "*", ")", "FROM", "airports", "WHERE", "name", "LIKE", "'", "%", "International", "%", "'"], "query_toks_no_value": ["select", "count", "(", "*", ")", "from", "airports", "where", "name", "like", "value"], "question": "Find the number of airports whose name contain the word 'International'.", "question_toks": ["Find", "the", "number", "of", "airports", "whose", "name", "contain", "the", "word", "'International", "'", "."], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[3, [0, [0, 0, false], null]]]], "where": [[false, 9, [0, [0, 10, false], null], "\"%International%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_6822", "db_id": "flight_4", "query": "select count(*) from airports where name like '%international%'", "query_toks": ["SELECT", "count", "(", "*", ")", "FROM", "airports", "WHERE", "name", "LIKE", "'", "%", "International", "%", "'"], "query_toks_no_value": ["select", "count", "(", "*", ")", "from", "airports", "where", "name", "like", "value"], "question": "How many airports' names have the word Interanation in them?", "question_toks": ["How", "many", "airports", "'", "names", "have", "the", "word", "Interanation", "in", "them", "?"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[3, [0, [0, 0, false], null]]]], "where": [[false, 9, [0, [0, 10, false], null], "\"%International%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "train_6957", "db_id": "architecture", "query": "select name from mill where name like '%moulin%'", "query_toks": ["SELECT", "name", "FROM", "mill", "WHERE", "name", "LIKE", "'", "%", "Moulin", "%", "'"], "query_toks_no_value": ["select", "name", "from", "mill", "where", "name", "like", "value"], "question": "Which of the mill names contains the french word 'Moulin'?", "question_toks": ["Which", "of", "the", "mill", "names", "contains", "the", "french", "word", "'Moulin", "'", "?"], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[0, [0, [0, 14, false], null]]]], "where": [[false, 9, [0, [0, 14, false], null], "\"%Moulin%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "other_0818", "db_id": "scholar", "query": "select distinct count ( distinct t3.paperid ) from paperdataset as t2 join dataset as t1 on t2.datasetid = t1.datasetid join paper as t3 on t3.paperid = t2.paperid where t1.datasetname like \"imagenet\";", "query_toks": ["SELECT", "DISTINCT", "COUNT", "(", "DISTINCT", "t3.paperid", ")", "FROM", "paperdataset", "AS", "t2", "JOIN", "dataset", "AS", "t1", "ON", "t2.datasetid", "=", "t1.datasetid", "JOIN", "paper", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "WHERE", "t1.datasetname", "LIKE", "``", "ImageNet", "''", ";"], "query_toks_no_value": ["select", "distinct", "count", "(", "distinct", "t3", ".", "paperid", ")", "from", "paperdataset", "as", "t2", "join", "dataset", "as", "t1", "on", "t2", ".", "datasetid", "=", "t1", ".", "datasetid", "join", "paper", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "where", "t1", ".", "datasetname", "like", "value"], "question": "how many papers use ImageNet ?", "question_toks": ["how", "many", "papers", "use", "ImageNet", "?"], "sql": {"from": {"table_units": [["table_unit", 7], ["table_unit", 2], ["table_unit", 5]], "conds": [[false, 2, [0, [0, 21, false], null], [0, 5, false], null], "and", [false, 2, [0, [0, 11, false], null], [0, 20, false], null]]}, "select": [true, [[3, [0, [0, 11, true], null]]]], "where": [[false, 9, [0, [0, 6, false], null], "\"ImageNet\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN_OTHERS", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "other_1025", "db_id": "scholar", "query": "select distinct t1.paperid from venue as t2 join paper as t1 on t2.venueid = t1.venueid where t1.title like \"neural attention\" and t1.year = 2016 and t2.venuename = \"acl\";", "query_toks": ["SELECT", "DISTINCT", "t1.paperid", "FROM", "venue", "AS", "t2", "JOIN", "paper", "AS", "t1", "ON", "t2.venueid", "=", "t1.venueid", "WHERE", "t1.title", "LIKE", "``", "neural", "attention", "''", "AND", "t1.year", "=", "2016", "AND", "t2.venuename", "=", "``", "ACL", "''", ";"], "query_toks_no_value": ["select", "distinct", "t1", ".", "paperid", "from", "venue", "as", "t2", "join", "paper", "as", "t1", "on", "t2", ".", "venueid", "=", "t1", ".", "venueid", "where", "t1", ".", "title", "like", "value", "and", "t1", ".", "year", "=", "value", "and", "t2", ".", "venuename", "=", "value"], "question": "ACL papers in 2016 with neural attention in the title", "question_toks": ["ACL", "papers", "in", "2016", "with", "neural", "attention", "in", "the", "title"], "sql": {"from": {"table_units": [["table_unit", 0], ["table_unit", 5]], "conds": [[false, 2, [0, [0, 1, false], null], [0, 13, false], null]]}, "select": [true, [[0, [0, [0, 11, false], null]]]], "where": [[false, 9, [0, [0, 12, false], null], "\"neural attention\"", null], "and", [false, 2, [0, [0, 14, false], null], 2016.0, null], "and", [false, 2, [0, [0, 2, false], null], "\"ACL\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN_OTHERS", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "other_1028", "db_id": "scholar", "query": "select distinct t1.authorname from paperkeyphrase as t2 join keyphrase as t4 on t2.keyphraseid = t4.keyphraseid join writes as t3 on t3.paperid = t2.paperid join author as t1 on t3.authorid = t1.authorid where t4.keyphrasename like \"sensor fusion\";", "query_toks": ["SELECT", "DISTINCT", "t1.authorname", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t4", "ON", "t2.keyphraseid", "=", "t4.keyphraseid", "JOIN", "writes", "AS", "t3", "ON", "t3.paperid", "=", "t2.paperid", "JOIN", "author", "AS", "t1", "ON", "t3.authorid", "=", "t1.authorid", "WHERE", "t4.keyphrasename", "LIKE", "``", "sensor", "fusion", "''", ";"], "query_toks_no_value": ["select", "distinct", "t1", ".", "authorname", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t4", "on", "t2", ".", "keyphraseid", "=", "t4", ".", "keyphraseid", "join", "writes", "as", "t3", "on", "t3", ".", "paperid", "=", "t2", ".", "paperid", "join", "author", "as", "t1", "on", "t3", ".", "authorid", "=", "t1", ".", "authorid", "where", "t4", ".", "keyphrasename", "like", "value"], "question": "Authors of papers on sensor fusion", "question_toks": ["Authors", "of", "papers", "on", "sensor", "fusion"], "sql": {"from": {"table_units": [["table_unit", 8], ["table_unit", 4], ["table_unit", 9], ["table_unit", 1]], "conds": [[false, 2, [0, [0, 23, false], null], [0, 9, false], null], "and", [false, 2, [0, [0, 24, false], null], [0, 22, false], null], "and", [false, 2, [0, [0, 25, false], null], [0, 3, false], null]]}, "select": [true, [[0, [0, [0, 4, false], null]]]], "where": [[false, 9, [0, [0, 10, false], null], "\"sensor fusion\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN_OTHERS", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "other_1116", "db_id": "scholar", "query": "select distinct t2.title from paperkeyphrase as t5 join keyphrase as t3 on t5.keyphraseid = t3.keyphraseid join writes as t4 on t4.paperid = t5.paperid join paper as t2 on t4.paperid = t2.paperid join author as t1 on t4.authorid = t1.authorid join venue as t6 on t6.venueid = t2.venueid where t1.authorname like \"eric c. kerrigan\" and t3.keyphrasename = \"liquid\" and t6.venuename = \"automatica\";", "query_toks": ["SELECT", "DISTINCT", "t2.title", "FROM", "paperkeyphrase", "AS", "t5", "JOIN", "keyphrase", "AS", "t3", "ON", "t5.keyphraseid", "=", "t3.keyphraseid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t5.paperid", "JOIN", "paper", "AS", "t2", "ON", "t4.paperid", "=", "t2.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "JOIN", "venue", "AS", "t6", "ON", "t6.venueid", "=", "t2.venueid", "WHERE", "t1.authorname", "LIKE", "``", "Eric", "C.", "Kerrigan", "''", "AND", "t3.keyphrasename", "=", "``", "Liquid", "''", "AND", "t6.venuename", "=", "``", "Automatica", "''", ";"], "query_toks_no_value": ["select", "distinct", "t2", ".", "title", "from", "paperkeyphrase", "as", "t5", "join", "keyphrase", "as", "t3", "on", "t5", ".", "keyphraseid", "=", "t3", ".", "keyphraseid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t5", ".", "paperid", "join", "paper", "as", "t2", "on", "t4", ".", "paperid", "=", "t2", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "join", "venue", "as", "t6", "on", "t6", ".", "venueid", "=", "t2", ".", "venueid", "where", "t1", ".", "authorname", "like", "value", "and", "t3", ".", "keyphrasename", "=", "value", "and", "t6", ".", "venuename", "=", "value"], "question": "What is the name of Eric C. Kerrigan 's Liquid Automatica paper ?", "question_toks": ["What", "is", "the", "name", "of", "Eric", "C.", "Kerrigan", "'s", "Liquid", "Automatica", "paper", "?"], "sql": {"from": {"table_units": [["table_unit", 8], ["table_unit", 4], ["table_unit", 9], ["table_unit", 5], ["table_unit", 1], ["table_unit", 0]], "conds": [[false, 2, [0, [0, 23, false], null], [0, 9, false], null], "and", [false, 2, [0, [0, 24, false], null], [0, 22, false], null], "and", [false, 2, [0, [0, 24, false], null], [0, 11, false], null], "and", [false, 2, [0, [0, 25, false], null], [0, 3, false], null], "and", [false, 2, [0, [0, 1, false], null], [0, 13, false], null]]}, "select": [true, [[0, [0, [0, 12, false], null]]]], "where": [[false, 9, [0, [0, 4, false], null], "\"Eric C. Kerrigan\"", null], "and", [false, 2, [0, [0, 10, false], null], "\"Liquid\"", null], "and", [false, 2, [0, [0, 2, false], null], "\"Automatica\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN_OTHERS", "parents_id": null, "is_simplification": false, "simplifications_tags": []}, {"id": "other_1132", "db_id": "scholar", "query": "select distinct t3.title from paperkeyphrase as t2 join keyphrase as t5 on t2.keyphraseid = t5.keyphraseid join writes as t4 on t4.paperid = t2.paperid join paper as t3 on t4.paperid = t3.paperid join author as t1 on t4.authorid = t1.authorid where t1.authorname like \"ranjit jhala\" and t5.keyphrasename = \"liquid haskell\";", "query_toks": ["SELECT", "DISTINCT", "t3.title", "FROM", "paperkeyphrase", "AS", "t2", "JOIN", "keyphrase", "AS", "t5", "ON", "t2.keyphraseid", "=", "t5.keyphraseid", "JOIN", "writes", "AS", "t4", "ON", "t4.paperid", "=", "t2.paperid", "JOIN", "paper", "AS", "t3", "ON", "t4.paperid", "=", "t3.paperid", "JOIN", "author", "AS", "t1", "ON", "t4.authorid", "=", "t1.authorid", "WHERE", "t1.authorname", "LIKE", "``", "Ranjit", "Jhala", "''", "AND", "t5.keyphrasename", "=", "``", "Liquid", "Haskell", "''", ";"], "query_toks_no_value": ["select", "distinct", "t3", ".", "title", "from", "paperkeyphrase", "as", "t2", "join", "keyphrase", "as", "t5", "on", "t2", ".", "keyphraseid", "=", "t5", ".", "keyphraseid", "join", "writes", "as", "t4", "on", "t4", ".", "paperid", "=", "t2", ".", "paperid", "join", "paper", "as", "t3", "on", "t4", ".", "paperid", "=", "t3", ".", "paperid", "join", "author", "as", "t1", "on", "t4", ".", "authorid", "=", "t1", ".", "authorid", "where", "t1", ".", "authorname", "like", "value", "and", "t5", ".", "keyphrasename", "=", "value"], "question": "What is the name of Ranjit Jhala 's Liquid Haskell paper ?", "question_toks": ["What", "is", "the", "name", "of", "Ranjit", "Jhala", "'s", "Liquid", "Haskell", "paper", "?"], "sql": {"from": {"table_units": [["table_unit", 8], ["table_unit", 4], ["table_unit", 9], ["table_unit", 5], ["table_unit", 1]], "conds": [[false, 2, [0, [0, 23, false], null], [0, 9, false], null], "and", [false, 2, [0, [0, 24, false], null], [0, 22, false], null], "and", [false, 2, [0, [0, 24, false], null], [0, 11, false], null], "and", [false, 2, [0, [0, 25, false], null], [0, 3, false], null]]}, "select": [true, [[0, [0, [0, 12, false], null]]]], "where": [[false, 9, [0, [0, 4, false], null], "\"Ranjit Jhala\"", null], "and", [false, 2, [0, [0, 10, false], null], "\"Liquid Haskell\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": ["LIKE_IN_SQL"], "source": "SPIDER_TRAIN_OTHERS", "parents_id": null, "is_simplification": false, "simplifications_tags": []}] |