| [{"id": "like_in_sql_0000", "db_id": "concert_singer", "query": "select name , country from singer", "query_toks": ["select", "name", ",", "country", "from", "singer"], "query_toks_no_value": ["select", "name", ",", "country", "from", "singer"], "question": "what is the name and nation of the singer?", "question_toks": ["what", "is", "the", "name", "and", "nation", "of", "the", "singer", "?"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[0, [0, [0, 9, false], null]], [0, [0, [0, 10, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "dev_0039", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0001", "db_id": "concert_singer", "query": "select name , country from singer", "query_toks": ["select", "name", ",", "country", "from", "singer"], "query_toks_no_value": ["select", "name", ",", "country", "from", "singer"], "question": "What is the name and country of origin of every singer?", "question_toks": ["What", "is", "the", "name", "and", "country", "of", "origin", "of", "every", "singer", "?"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[0, [0, [0, 9, false], null]], [0, [0, [0, 10, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "dev_0040", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0002", "db_id": "cre_Doc_Template_Mgt", "query": "select document_name , template_id from documents", "query_toks": ["select", "document_name", ",", "template_id", "from", "documents"], "query_toks_no_value": ["select", "document_name", ",", "template_id", "from", "documents"], "question": "What is the document name and template id for document?", "question_toks": ["What", "is", "the", "document", "name", "and", "template", "id", "for", "document", "?"], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[0, [0, [0, 11, false], null]], [0, [0, [0, 10, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "dev_0301", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0003", "db_id": "cre_Doc_Template_Mgt", "query": "select document_name , template_id from documents", "query_toks": ["select", "document_name", ",", "template_id", "from", "documents"], "query_toks_no_value": ["select", "document_name", ",", "template_id", "from", "documents"], "question": "Return the names and template ids for documents.", "question_toks": ["Return", "the", "names", "and", "template", "ids", "for", "documents", "."], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[0, [0, [0, 11, false], null]], [0, [0, [0, 10, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "dev_0302", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0004", "db_id": "cre_Doc_Template_Mgt", "query": "select other_details from paragraphs", "query_toks": ["select", "other_details", "from", "paragraphs"], "query_toks_no_value": ["select", "other_details", "from", "paragraphs"], "question": "Show paragraph details for paragraph.", "question_toks": ["Show", "paragraph", "details", "for", "paragraph", "."], "sql": {"from": {"table_units": [["table_unit", 3]], "conds": []}, "select": [false, [[0, [0, [0, 17, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "dev_0361", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0005", "db_id": "cre_Doc_Template_Mgt", "query": "select other_details from paragraphs", "query_toks": ["select", "other_details", "from", "paragraphs"], "query_toks_no_value": ["select", "other_details", "from", "paragraphs"], "question": "What are the details for the paragraph?", "question_toks": ["What", "are", "the", "details", "for", "the", "paragraph", "?"], "sql": {"from": {"table_units": [["table_unit", 3]], "conds": []}, "select": [false, [[0, [0, [0, 17, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "dev_0362", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0006", "db_id": "battle_death", "query": "select note from death", "query_toks": ["select", "note", "from", "death"], "query_toks_no_value": ["select", "note", "from", "death"], "question": "What are the notes of the death events?", "question_toks": ["What", "are", "the", "notes", "of", "the", "death", "events", "?"], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[0, [0, [0, 16, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "dev_0506", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0007", "db_id": "student_transcripts_tracking", "query": "select department_description from departments", "query_toks": ["select", "department_description", "from", "departments"], "query_toks_no_value": ["select", "department_description", "from", "departments"], "question": "What is the description of the department?", "question_toks": ["What", "is", "the", "description", "of", "the", "department", "?"], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[0, [0, [0, 16, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "dev_0531", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0008", "db_id": "student_transcripts_tracking", "query": "select department_description from departments", "query_toks": ["select", "department_description", "from", "departments"], "query_toks_no_value": ["select", "department_description", "from", "departments"], "question": "What is the department descriptions ?", "question_toks": ["What", "is", "the", "department", "descriptions", "?"], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[0, [0, [0, 16, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "dev_0532", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0009", "db_id": "voter_1", "query": "select contestant_name from contestants", "query_toks": ["select", "contestant_name", "from", "contestants"], "query_toks_no_value": ["select", "contestant_name", "from", "contestants"], "question": "Return the names of the contestants.", "question_toks": ["Return", "the", "names", "of", "the", "contestants", "."], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[0, [0, [0, 4, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "dev_0701", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0010", "db_id": "dog_kennels", "query": "select role_code , street , city , state from professionals", "query_toks": ["select", "role_code", ",", "street", ",", "city", ",", "state", "from", "professionals"], "query_toks_no_value": ["select", "role_code", ",", "street", ",", "city", ",", "state", "from", "professionals"], "question": "Which professionals live in a city? List his or her role, street, city and state.", "question_toks": ["Which", "professionals", "live", "in", "a", "city", "?", "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": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "dev_0970", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0011", "db_id": "dog_kennels", "query": "select role_code , street , city , state from professionals", "query_toks": ["select", "role_code", ",", "street", ",", "city", ",", "state", "from", "professionals"], "query_toks_no_value": ["select", "role_code", ",", "street", ",", "city", ",", "state", "from", "professionals"], "question": "Find the role, street, city and state of the professionals living in a city", "question_toks": ["Find", "the", "role", ",", "street", ",", "city", "and", "state", "of", "the", "professionals", "living", "in", "a", "city"], "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": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "dev_0971", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0012", "db_id": "dog_kennels", "query": "select first_name , last_name , email_address from owners", "query_toks": ["select", "first_name", ",", "last_name", ",", "email_address", "from", "owners"], "query_toks_no_value": ["select", "first_name", ",", "last_name", ",", "email_address", "from", "owners"], "question": "Return the first name, last name and email of the owners.", "question_toks": ["Return", "the", "first", "name", ",", "last", "name", "and", "email", "of", "the", "owners", "."], "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": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "dev_0973", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0013", "db_id": "bike_1", "query": "select zip_code , avg(mean_temperature_f) from weather group by zip_code", "query_toks": ["select", "zip_code", ",", "avg", "(", "mean_temperature_f", ")", "from", "weather", "group", "by", "zip_code"], "query_toks_no_value": ["select", "zip_code", ",", "avg", "(", "mean_temperature_f", ")", "from", "weather", "group", "by", "zip_code"], "question": "For each zip code, return the average mean temperature there.", "question_toks": ["For", "each", "zip", "code", ",", "return", "the", "average", "mean", "temperature", "there", "."], "sql": {"from": {"table_units": [["table_unit", 3]], "conds": []}, "select": [false, [[0, [0, [0, 46, false], null]], [5, [0, [0, 25, false], null]]]], "where": [], "groupBy": [[0, 46, false]], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_0123", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0014", "db_id": "bike_1", "query": "select zip_code , avg(mean_temperature_f) from weather group by zip_code", "query_toks": ["select", "zip_code", ",", "avg", "(", "mean_temperature_f", ")", "from", "weather", "group", "by", "zip_code"], "query_toks_no_value": ["select", "zip_code", ",", "avg", "(", "mean_temperature_f", ")", "from", "weather", "group", "by", "zip_code"], "question": "For each zip code, what is the average mean temperature for all dates?", "question_toks": ["For", "each", "zip", "code", ",", "what", "is", "the", "average", "mean", "temperature", "for", "all", "dates", "?"], "sql": {"from": {"table_units": [["table_unit", 3]], "conds": []}, "select": [false, [[0, [0, [0, 46, false], null]], [5, [0, [0, 25, false], null]]]], "where": [], "groupBy": [[0, 46, false]], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_0124", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0015", "db_id": "bike_1", "query": "select start_station_name , start_station_id from trip group by start_station_name order by count(*) desc limit 1", "query_toks": ["select", "start_station_name", ",", "start_station_id", "from", "trip", "group", "by", "start_station_name", "order", "by", "count", "(*)", "desc", "limit", "1"], "query_toks_no_value": ["select", "start_station_name", ",", "start_station_id", "from", "trip", "group", "by", "start_station_name", "order", "by", "count", "(*)", "desc", "limit", "1"], "question": "Which start station had the most trips ? Give me the name and id of the station.", "question_toks": ["Which", "start", "station", "had", "the", "most", "trips", "?", "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": [], "groupBy": [[0, 15, false]], "having": [], "orderBy": ["desc", [[0, [3, 0, false], null]]], "limit": 1, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_0133", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0016", "db_id": "bike_1", "query": "select start_station_name , start_station_id from trip group by start_station_name order by count(*) desc limit 1", "query_toks": ["select", "start_station_name", ",", "start_station_id", "from", "trip", "group", "by", "start_station_name", "order", "by", "count", "(*)", "desc", "limit", "1"], "query_toks_no_value": ["select", "start_station_name", ",", "start_station_id", "from", "trip", "group", "by", "start_station_name", "order", "by", "count", "(*)", "desc", "limit", "1"], "question": "What are the start station's name and id for the one that had the most start trips?", "question_toks": ["What", "are", "the", "start", "station", "'", "s", "name", "and", "id", "for", "the", "one", "that", "had", "the", "most", "start", "trips", "?"], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[0, [0, [0, 15, false], null]], [0, [0, [0, 16, false], null]]]], "where": [], "groupBy": [[0, 15, false]], "having": [], "orderBy": ["desc", [[0, [3, 0, false], null]]], "limit": 1, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_0134", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0017", "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", "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"], "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", ")", ">", "14"], "question": "What are the names and ids of stations that had more than 14 bikes available on average?", "question_toks": ["What", "are", "the", "names", "and", "ids", "of", "stations", "that", "had", "more", "than", "14", "bikes", "available", "on", "average", "?"], "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": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_0143", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0018", "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", "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"], "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", ")", ">", "14"], "question": "What are the names and ids of all stations that have more than 14 bikes available on average?", "question_toks": ["What", "are", "the", "names", "and", "ids", "of", "all", "stations", "that", "have", "more", "than", "14", "bikes", "available", "on", "average", "?"], "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": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_0144", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0019", "db_id": "twitter_1", "query": "select name , email from user_profiles", "query_toks": ["select", "name", ",", "email", "from", "user_profiles"], "query_toks_no_value": ["select", "name", ",", "email", "from", "user_profiles"], "question": "Find the name and email of the user", "question_toks": ["Find", "the", "name", "and", "email", "of", "the", "user"], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[0, [0, [0, 8, false], null]], [0, [0, [0, 9, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_0281", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0020", "db_id": "twitter_1", "query": "select name from user_profiles", "query_toks": ["select", "name", "from", "user_profiles"], "query_toks_no_value": ["select", "name", "from", "user_profiles"], "question": "Find the names of users", "question_toks": ["Find", "the", "names", "of", "users"], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[0, [0, [0, 8, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_0282", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0021", "db_id": "twitter_1", "query": "select text from tweets ", "query_toks": ["select", "text", "from", "tweets"], "query_toks_no_value": ["select", "text", "from", "tweets"], "question": "Return the text of tweets", "question_toks": ["Return", "the", "text", "of", "tweets"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[0, [0, [0, 5, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_0283", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0022", "db_id": "product_catalog", "query": "select distinct(catalog_publisher) from catalogs", "query_toks": ["select", "distinct", "(", "catalog_publisher", ")", "from", "catalogs"], "query_toks_no_value": ["select", "distinct", "(", "catalog_publisher", ")", "from", "catalogs"], "question": "Find all the catalog publishers", "question_toks": ["Find", "all", "the", "catalog", "publishers"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [true, [[0, [0, [0, 6, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_0309", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0023", "db_id": "product_catalog", "query": "select catalog_entry_name from catalog_contents", "query_toks": ["select", "catalog_entry_name", "from", "catalog_contents"], "query_toks_no_value": ["select", "catalog_entry_name", "from", "catalog_contents"], "question": "Find the names of all the products.", "question_toks": ["Find", "the", "names", "of", "all", "the", "products", "."], "sql": {"from": {"table_units": [["table_unit", 3]], "conds": []}, "select": [false, [[0, [0, [0, 17, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_0327", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0024", "db_id": "product_catalog", "query": "select catalog_entry_name from catalog_contents", "query_toks": ["select", "catalog_entry_name", "from", "catalog_contents"], "query_toks_no_value": ["select", "catalog_entry_name", "from", "catalog_contents"], "question": "Which catalog contents have a product stock number? Show the catalog entry names.", "question_toks": ["Which", "catalog", "contents", "have", "a", "product", "stock", "number", "?", "Show", "the", "catalog", "entry", "names", "."], "sql": {"from": {"table_units": [["table_unit", 3]], "conds": []}, "select": [false, [[0, [0, [0, 17, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_0328", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0025", "db_id": "store_1", "query": "select title from albums order by title", "query_toks": ["select", "title", "from", "albums", "order", "by", "title"], "query_toks_no_value": ["select", "title", "from", "albums", "order", "by", "title"], "question": "List every album title in alphabetical order.", "question_toks": ["List", "every", "album", "title", "in", "alphabetical", "order", "."], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[0, [0, [0, 6, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": ["asc", [[0, [0, 6, false], null]]], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_0555", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0026", "db_id": "store_1", "query": "select title from albums order by title", "query_toks": ["select", "title", "from", "albums", "order", "by", "title"], "query_toks_no_value": ["select", "title", "from", "albums", "order", "by", "title"], "question": "What are the titles of all albums in alphabetical order?", "question_toks": ["What", "are", "the", "titles", "of", "all", "albums", "in", "alphabetical", "order", "?"], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[0, [0, [0, 6, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": ["asc", [[0, [0, 6, false], null]]], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_0556", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0027", "db_id": "store_1", "query": "select title from albums", "query_toks": ["select", "title", "from", "albums"], "query_toks_no_value": ["select", "title", "from", "albums"], "question": "List the name of albums ", "question_toks": ["List", "the", "name", "of", "albums"], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[0, [0, [0, 6, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_0583", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0028", "db_id": "chinook_1", "query": "select name from artist", "query_toks": ["select", "name", "from", "artist"], "query_toks_no_value": ["select", "name", "from", "artist"], "question": "Find the names of all artists", "question_toks": ["Find", "the", "names", "of", "all", "artists"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[0, [0, [0, 5, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_0817", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0029", "db_id": "chinook_1", "query": "select name from artist ", "query_toks": ["select", "name", "from", "artist"], "query_toks_no_value": ["select", "name", "from", "artist"], "question": "What are the names of artists?", "question_toks": ["What", "are", "the", "names", "of", "artists", "?"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[0, [0, [0, 5, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_0818", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0030", "db_id": "chinook_1", "query": "select name from track", "query_toks": ["select", "name", "from", "track"], "query_toks_no_value": ["select", "name", "from", "track"], "question": "Find the names of all the tracks", "question_toks": ["Find", "the", "names", "of", "all", "the", "tracks"], "sql": {"from": {"table_units": [["table_unit", 10]], "conds": []}, "select": [false, [[0, [0, [0, 57, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_0827", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0031", "db_id": "chinook_1", "query": "select name from track", "query_toks": ["select", "name", "from", "track"], "query_toks_no_value": ["select", "name", "from", "track"], "question": "What are the names of tracks?", "question_toks": ["What", "are", "the", "names", "of", "tracks", "?"], "sql": {"from": {"table_units": [["table_unit", 10]], "conds": []}, "select": [false, [[0, [0, [0, 57, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_0828", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0032", "db_id": "chinook_1", "query": "select count(*) from customer", "query_toks": ["select", "count", "(*)", "from", "customer"], "query_toks_no_value": ["select", "count", "(*)", "from", "customer"], "question": "How many customers are?", "question_toks": ["How", "many", "customers", "are", "?"], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[3, [0, [0, 0, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_0847", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0033", "db_id": "chinook_1", "query": "select count(*) from customer", "query_toks": ["select", "count", "(*)", "from", "customer"], "query_toks_no_value": ["select", "count", "(*)", "from", "customer"], "question": "Count the number of customers", "question_toks": ["Count", "the", "number", "of", "customers"], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[3, [0, [0, 0, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_0848", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0034", "db_id": "insurance_fnol", "query": "select customer_id from customers", "query_toks": ["select", "customer_id", "from", "customers"], "query_toks_no_value": ["select", "customer_id", "from", "customers"], "question": "Find the IDs of customers", "question_toks": ["Find", "the", "IDs", "of", "customers"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 1, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_0925", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0035", "db_id": "insurance_fnol", "query": "select customer_id from customers ", "query_toks": ["select", "customer_id", "from", "customers"], "query_toks_no_value": ["select", "customer_id", "from", "customers"], "question": "What are the IDs of customers ?", "question_toks": ["What", "are", "the", "IDs", "of", "customers", "?"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 1, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_0926", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0036", "db_id": "insurance_fnol", "query": "select date_opened , date_closed from customers_policies", "query_toks": ["select", "date_opened", ",", "date_closed", "from", "customers_policies"], "query_toks_no_value": ["select", "date_opened", ",", "date_closed", "from", "customers_policies"], "question": "Retrieve the open and close dates of all the policies", "question_toks": ["Retrieve", "the", "open", "and", "close", "dates", "of", "all", "the", "policies"], "sql": {"from": {"table_units": [["table_unit", 3]], "conds": []}, "select": [false, [[0, [0, [0, 10, false], null]], [0, [0, [0, 11, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_0931", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0037", "db_id": "insurance_fnol", "query": "select date_opened , date_closed from customers_policies", "query_toks": ["select", "date_opened", ",", "date_closed", "from", "customers_policies"], "query_toks_no_value": ["select", "date_opened", ",", "date_closed", "from", "customers_policies"], "question": "What are the open and close dates of all the policies?", "question_toks": ["What", "are", "the", "open", "and", "close", "dates", "of", "all", "the", "policies", "?"], "sql": {"from": {"table_units": [["table_unit", 3]], "conds": []}, "select": [false, [[0, [0, [0, 10, false], null]], [0, [0, [0, 11, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_0932", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0038", "db_id": "medicine_enzyme_interaction", "query": "select name from enzyme ", "query_toks": ["select", "name", "from", "enzyme"], "query_toks_no_value": ["select", "name", "from", "enzyme"], "question": "List enzyme names", "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": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_0973", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0039", "db_id": "medicine_enzyme_interaction", "query": "select name from enzyme ", "query_toks": ["select", "name", "from", "enzyme"], "query_toks_no_value": ["select", "name", "from", "enzyme"], "question": "What are the names of enzymes", "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": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_0974", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0040", "db_id": "university_basketball", "query": "select count(*) from university", "query_toks": ["select", "count", "(*)", "from", "university"], "query_toks_no_value": ["select", "count", "(*)", "from", "university"], "question": "Find how many school locations are.", "question_toks": ["Find", "how", "many", "school", "locations", "are", "."], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[3, [0, [0, 0, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_1009", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0041", "db_id": "university_basketball", "query": "select count(*) from university ", "query_toks": ["select", "count", "(*)", "from", "university"], "query_toks_no_value": ["select", "count", "(*)", "from", "university"], "question": "How many universities are?", "question_toks": ["How", "many", "universities", "are", "?"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[3, [0, [0, 0, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_1010", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0042", "db_id": "phone_1", "query": "select hardware_model_name , company_name from phone ", "query_toks": ["select", "hardware_model_name", ",", "company_name", "from", "phone"], "query_toks_no_value": ["select", "hardware_model_name", ",", "company_name", "from", "phone"], "question": "Find all phones. List the Hardware Model name and Company name.", "question_toks": ["Find", "all", "phones", ".", "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": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_1030", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0043", "db_id": "match_season", "query": "select official_native_language from country ", "query_toks": ["select", "official_native_language", "from", "country"], "query_toks_no_value": ["select", "official_native_language", "from", "country"], "question": "Show all official native languages .", "question_toks": ["Show", "all", "official", "native", "languages", "."], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 4, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_1056", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0044", "db_id": "match_season", "query": "select official_native_language from country ", "query_toks": ["select", "official_native_language", "from", "country"], "query_toks_no_value": ["select", "official_native_language", "from", "country"], "question": "What are the official native languages.", "question_toks": ["What", "are", "the", "official", "native", "languages", "."], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 4, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_1057", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0045", "db_id": "body_builder", "query": "select total from body_builder", "query_toks": ["select", "total", "from", "body_builder"], "query_toks_no_value": ["select", "total", "from", "body_builder"], "question": "What are the total scores of the body builders?", "question_toks": ["What", "are", "the", "total", "scores", "of", "the", "body", "builders", "?"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 5, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_1172", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0046", "db_id": "apartment_rentals", "query": "select building_full_name from apartment_buildings", "query_toks": ["select", "building_full_name", "from", "apartment_buildings"], "query_toks_no_value": ["select", "building_full_name", "from", "apartment_buildings"], "question": "What are the building full names?", "question_toks": ["What", "are", "the", "building", "full", "names", "?"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 3, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_1204", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0047", "db_id": "apartment_rentals", "query": "select building_full_name from apartment_buildings", "query_toks": ["select", "building_full_name", "from", "apartment_buildings"], "query_toks_no_value": ["select", "building_full_name", "from", "apartment_buildings"], "question": "Find all the building full names.", "question_toks": ["Find", "all", "the", "building", "full", "names", "."], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 3, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_1205", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0048", "db_id": "college_2", "query": "select dept_name from instructor", "query_toks": ["select", "dept_name", "from", "instructor"], "query_toks_no_value": ["select", "dept_name", "from", "instructor"], "question": "Find the department name of the instructors", "question_toks": ["Find", "the", "department", "name", "of", "the", "instructors"], "sql": {"from": {"table_units": [["table_unit", 3]], "conds": []}, "select": [false, [[0, [0, [0, 13, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_1354", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0049", "db_id": "college_2", "query": "select dept_name from department", "query_toks": ["select", "dept_name", "from", "instructor"], "query_toks_no_value": ["select", "dept_name", "from", "instructor"], "question": "What is the names of the departments?", "question_toks": ["What", "is", "the", "names", "of", "the", "departments", "?"], "sql": {"from": {"table_units": [["table_unit", 3]], "conds": []}, "select": [false, [[0, [0, [0, 13, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_1355", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0050", "db_id": "college_2", "query": "select name from instructor", "query_toks": ["select", "name", "from", "instructor"], "query_toks_no_value": ["select", "name", "from", "instructor"], "question": "Find the names of all instructors .", "question_toks": ["Find", "the", "names", "of", "all", "instructors", "."], "sql": {"from": {"table_units": [["table_unit", 3]], "conds": []}, "select": [false, [[0, [0, [0, 12, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_1472", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0051", "db_id": "college_2", "query": "select name from instructor ", "query_toks": ["select", "name", "from", "instructor"], "query_toks_no_value": ["select", "name", "from", "instructor"], "question": "What are the names of all instructors ?", "question_toks": ["What", "are", "the", "names", "of", "all", "instructors", "?"], "sql": {"from": {"table_units": [["table_unit", 3]], "conds": []}, "select": [false, [[0, [0, [0, 12, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_1473", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0052", "db_id": "insurance_and_eClaims", "query": "select customer_details from customers", "query_toks": ["select", "customer_details", "from", "customers"], "query_toks_no_value": ["select", "customer_details", "from", "customers"], "question": "Find the names of customers.", "question_toks": ["Find", "the", "names", "of", "customers", "."], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 2, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_1529", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0053", "db_id": "small_bank_1", "query": "select balance from checking", "query_toks": ["select", "balance", "from", "checking"], "query_toks_no_value": ["select", "balance", "from", "checking"], "question": "What is the checking balance of the account?", "question_toks": ["What", "is", "the", "checking", "balance", "of", "the", "account", "?"], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[0, [0, [0, 6, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_1788", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0054", "db_id": "cinema", "query": "select count(*) from film", "query_toks": ["select", "count", "(*)", "from", "film"], "query_toks_no_value": ["select", "count", "(*)", "from", "film"], "question": "How many films are?", "question_toks": ["How", "many", "films", "are", "?"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[3, [0, [0, 0, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_1958", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0055", "db_id": "cinema", "query": "select count(*) from film", "query_toks": ["select", "count", "(*)", "from", "film"], "query_toks_no_value": ["select", "count", "(*)", "from", "film"], "question": "Count the number of films.", "question_toks": ["Count", "the", "number", "of", "films", "."], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[3, [0, [0, 0, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_1959", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0056", "db_id": "music_1", "query": "select max(resolution) , min(resolution) from song ", "query_toks": ["select", "max", "(", "resolution", ")", ",", "min", "(", "resolution", ")", "from", "song"], "query_toks_no_value": ["select", "max", "(", "resolution", ")", ",", "min", "(", "resolution", ")", "from", "song"], "question": "What are the maximum and minimum resolution of songs?", "question_toks": ["What", "are", "the", "maximum", "and", "minimum", "resolution", "of", "songs", "?"], "sql": {"from": {"table_units": [["table_unit", 3]], "conds": []}, "select": [false, [[1, [0, [0, 21, false], null]], [2, [0, [0, 21, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_3599", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0057", "db_id": "music_1", "query": "select max(resolution) , min(resolution) from song ", "query_toks": ["select", "max", "(", "resolution", ")", ",", "min", "(", "resolution", ")", "from", "song"], "query_toks_no_value": ["select", "max", "(", "resolution", ")", ",", "min", "(", "resolution", ")", "from", "song"], "question": "What is the maximum and minimum resolution of all songs ?", "question_toks": ["What", "is", "the", "maximum", "and", "minimum", "resolution", "of", "all", "songs", "?"], "sql": {"from": {"table_units": [["table_unit", 3]], "conds": []}, "select": [false, [[1, [0, [0, 21, false], null]], [2, [0, [0, 21, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_3600", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0058", "db_id": "mountain_photos", "query": "select name from camera_lens", "query_toks": ["select", "name", "from", "camera_lens"], "query_toks_no_value": ["select", "name", "from", "camera_lens"], "question": "List the camera lens names.", "question_toks": ["List", "the", "camera", "lens", "names", "."], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[0, [0, [0, 9, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_3726", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0059", "db_id": "e_learning", "query": "select count(*) from students", "query_toks": ["select", "count", "(*)", "from", "students"], "query_toks_no_value": ["select", "count", "(*)", "from", "students"], "question": "Find the number of students", "question_toks": ["Find", "the", "number", "of", "students"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[3, [0, [0, 0, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_3793", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0060", "db_id": "hospital_1", "query": "select name from physician ", "query_toks": ["select", "name", "from", "physician"], "query_toks_no_value": ["select", "name", "from", "physician"], "question": "Find the name of physicians", "question_toks": ["Find", "the", "name", "of", "physicians"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 2, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_3946", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0061", "db_id": "hospital_1", "query": "select name from physician", "query_toks": ["select", "name", "from", "physician"], "query_toks_no_value": ["select", "name", "from", "physician"], "question": "What are the names of the physicians.", "question_toks": ["What", "are", "the", "names", "of", "the", "physicians", "."], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 2, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_3947", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0062", "db_id": "film_rank", "query": "select title , studio from film", "query_toks": ["select", "title", ",", "studio", "from", "film"], "query_toks_no_value": ["select", "title", ",", "studio", "from", "film"], "question": "Find the titles and studios of the films", "question_toks": ["Find", "the", "titles", "and", "studios", "of", "the", "films"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 2, false], null]], [0, [0, [0, 3, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_4150", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0063", "db_id": "film_rank", "query": "select title , studio from film", "query_toks": ["select", "title", ",", "studio", "from", "film"], "query_toks_no_value": ["select", "title", ",", "studio", "from", "film"], "question": "What are the titles and studios of films?", "question_toks": ["What", "are", "the", "titles", "and", "studios", "of", "films", "?"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 2, false], null]], [0, [0, [0, 3, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_4151", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0064", "db_id": "tracking_grants_for_research", "query": "select project_details from projects ", "query_toks": ["select", "project_details", "from", "projects"], "query_toks_no_value": ["select", "project_details", "from", "projects"], "question": "List the project details of the projects.", "question_toks": ["List", "the", "project", "details", "of", "the", "projects", "."], "sql": {"from": {"table_units": [["table_unit", 7]], "conds": []}, "select": [false, [[0, [0, [0, 31, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_4348", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0065", "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 = \"published research paper\"", "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", "=", "``", "published", "research", "paper", "''"], "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", "=", "value", "research", "paper"], "question": "What are the details for the project whose research has outcome_description \"published esearch paper\"?", "question_toks": ["What", "are", "the", "details", "for", "the", "project", "whose", "research", "has", "outcome_description", "\"", "published", "esearch", "paper", "\"?"], "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, 2, [0, [0, 33, false], null], "\"published research paper\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_4349", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0066", "db_id": "tracking_grants_for_research", "query": "select document_type_code from document_types", "query_toks": ["select", "document_type_code", "from", "document_types"], "query_toks_no_value": ["select", "document_type_code", "from", "document_types"], "question": "Which document type is described?", "question_toks": ["Which", "document", "type", "is", "described", "?"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 1, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_4364", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0067", "db_id": "tracking_grants_for_research", "query": "select document_type_code from document_types", "query_toks": ["select", "document_type_code", "from", "document_types"], "query_toks_no_value": ["select", "document_type_code", "from", "document_types"], "question": "What are the types of the documents?", "question_toks": ["What", "are", "the", "types", "of", "the", "documents", "?"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 1, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_4365", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0068", "db_id": "college_3", "query": "select distinct fname from student ", "query_toks": ["select", "distinct", "fname", "from", "student"], "query_toks_no_value": ["select", "distinct", "fname", "from", "student"], "question": "Find the first names of students ", "question_toks": ["Find", "the", "first", "names", "of", "students"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [true, [[0, [0, [0, 3, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_4651", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0069", "db_id": "college_3", "query": "select distinct fname from student ", "query_toks": ["select", "distinct", "fname", "from", "student"], "query_toks_no_value": ["select", "distinct", "fname", "from", "student"], "question": "What are the first names for students", "question_toks": ["What", "are", "the", "first", "names", "for", "students"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [true, [[0, [0, [0, 3, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_4652", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0070", "db_id": "music_2", "query": "select title from songs", "query_toks": ["select", "title", "from", "songs"], "query_toks_no_value": ["select", "title", "from", "songs"], "question": "Find all the song titles", "question_toks": ["Find", "all", "the", "songs", "."], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 2, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_5200", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0071", "db_id": "music_2", "query": "select title from songs", "query_toks": ["select", "title", "from", "songs"], "query_toks_no_value": ["select", "title", "from", "songs"], "question": "What are the names of the songs?", "question_toks": ["What", "are", "the", "names", "of", "the", "songs", "?"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 2, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_5201", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0072", "db_id": "manufactory_1", "query": "select founder from manufacturers ", "query_toks": ["select", "founder", "from", "manufacturers"], "query_toks_no_value": ["select", "founder", "from", "manufacturers"], "question": "Find the founder of the company", "question_toks": ["Find", "the", "founder", "of", "the", "company"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 4, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_5288", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0073", "db_id": "manufactory_1", "query": "select founder from manufacturers", "query_toks": ["select", "founder", "from", "manufacturers"], "query_toks_no_value": ["select", "founder", "from", "manufacturers"], "question": "Who is the founders of companies?", "question_toks": ["Who", "is", "the", "founders", "of", "companies", "?"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 4, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_5289", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0074", "db_id": "shop_membership", "query": "select card_number from member", "query_toks": ["select", "card_number", "from", "member"], "query_toks_no_value": ["select", "card_number", "from", "member"], "question": "list the card number of all members", "question_toks": ["list", "the", "card", "number", "of", "all", "members"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 2, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_5442", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0075", "db_id": "shop_membership", "query": "select card_number from member", "query_toks": ["select", "card_number", "from", "member"], "query_toks_no_value": ["select", "card_number", "from", "member"], "question": "What are the card numbers of members?", "question_toks": ["What", "are", "the", "card", "numbers", "of", "members", "?"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 2, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_5443", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0076", "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", "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"], "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"], "question": "Find the category descriptions of the products", "question_toks": ["Find", "the", "category", "descriptions", "of", "the", "products"], "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": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_5542", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0077", "db_id": "dorm_1", "query": "select student_capacity, gender from dorm;", "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", "\"%", "donor", "%\""], "question": "Find the capacity and gender type of the dorm", "question_toks": ["Find", "the", "capacity", "and", "gender", "type", "of", "the", "dorm"], "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": [], "source": "SIMPLIFIED", "parents_id": "train_5696", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0078", "db_id": "dorm_1", "query": "select student_capacity , gender from dorm", "query_toks": ["select", "student_capacity", ",", "gender", "from", "dorm"], "query_toks_no_value": ["select", "student_capacity", ",", "gender", "from", "dorm"], "question": "What are the student capacitie and types of gender for the dorms?", "question_toks": ["What", "are", "the", "student", "capacitie", "and", "types", "of", "gender", "for", "the", "dorms", "?"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[0, [0, [0, 11, false], null]], [0, [0, [0, 12, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_5697", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0079", "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 = \"david 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", "=", "``", "david", "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", "=", "value", "smith"], "question": "Find the name of the project for which a scientist whose name \u2018david smith\u2019 is assigned to.", "question_toks": ["Find", "the", "name", "of", "the", "project", "for", "which", "a", "scientist", "whose", "name", "\u2018", "david", "smith", "\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, 2, [0, [0, 2, false], null], "\"david smith\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_6485", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0080", "db_id": "scientist_1", "query": "select t2.name from assignedto as t1 join projects as t2 on t1.project = t2.code", "query_toks": ["select", "t2", ".", "name", "from", "assignedto", "as", "t1", "join", "projects", "as", "t2", "on", "t1", ".", "project", "=", "t2", ".", "code"], "query_toks_no_value": ["select", "t2", ".", "name", "from", "assignedto", "as", "t1", "join", "projects", "as", "t2", "on", "t1", ".", "project", "=", "t2", ".", "code"], "question": "What are the names of the project that has a scientist assigned to somebody?", "question_toks": ["What", "are", "the", "names", "of", "the", "project", "that", "has", "a", "scientist", "assigned", "to", "somebody", "?"], "sql": {"from": {"table_units": [["table_unit", 2], ["table_unit", 1]], "conds": [[false, 2, [0, [0, 7, false], null], [0, 3, false], null]]}, "select": [false, [[0, [0, [0, 4, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_6486", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0081", "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\"", "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", "''"], "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"], "question": "List lesson id of all lessons taught by staff with first name as Janessa, last name as Sawayn.", "question_toks": ["List", "lesson", "id", "of", "all", "lessons", "taught", "by", "staff", "with", "first", "name", "as", "Janessa", ",", "last", "name", "as", "Sawayn", "."], "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]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_6700", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0082", "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\"", "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", "''"], "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"], "question": "What are the the lesson ids of all staff taught by Janessa Sawayn?", "question_toks": ["What", "are", "the", "the", "lesson", "ids", "of", "all", "staff", "taught", "by", "Janessa", "Sawayn", "?"], "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]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_6701", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0083", "db_id": "driving_school", "query": "select count(*) from lessons as t1 join staff as t2 on t1.staff_id = t2.staff_id", "query_toks": ["select", "count", "(*)", "from", "lessons", "as", "t1", "join", "staff", "as", "t2", "on", "t1", ".", "staff_id", "=", "t2", ".", "staff_id"], "query_toks_no_value": ["select", "count", "(*)", "from", "lessons", "as", "t1", "join", "staff", "as", "t2", "on", "t1", ".", "staff_id", "=", "t2", ".", "staff_id"], "question": "How many lessons taught by staff?", "question_toks": ["How", "many", "lessons", "taught", "by", "staff", "?"], "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": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_6702", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0084", "db_id": "driving_school", "query": "select count(*) from lessons as t1 join staff as t2 on t1.staff_id = t2.staff_id", "query_toks": ["select", "count", "(*)", "from", "lessons", "as", "t1", "join", "staff", "as", "t2", "on", "t1", ".", "staff_id", "=", "t2", ".", "staff_id"], "query_toks_no_value": ["select", "count", "(*)", "from", "lessons", "as", "t1", "join", "staff", "as", "t2", "on", "t1", ".", "staff_id", "=", "t2", ".", "staff_id"], "question": "How many lessons were taught by a staff member?", "question_toks": ["How", "many", "lessons", "were", "taught", "by", "a", "staff", "member", "?"], "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": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_6703", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0085", "db_id": "flight_4", "query": "select country from airlines", "query_toks": ["select", "country", "from", "airlines"], "query_toks_no_value": ["select", "country", "from", "airlines"], "question": "Find the country of the airlines", "question_toks": ["Find", "the", "country", "of", "the", "airlines"], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[0, [0, [0, 23, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_6815", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0086", "db_id": "flight_4", "query": "select country from airlines", "query_toks": ["select", "country", "from", "airlines"], "query_toks_no_value": ["select", "country", "from", "airlines"], "question": "What are the countries of all airlines ?", "question_toks": ["What", "are", "the", "countries", "of", "all", "airlines", "?"], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[0, [0, [0, 23, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_6816", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0087", "db_id": "flight_4", "query": "select count(*) from airports", "query_toks": ["select", "count", "(*)", "from", "airports"], "query_toks_no_value": ["select", "count", "(*)", "from", "airports"], "question": "Find the number of airports", "question_toks": ["Find", "the", "number", "of", "airports"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[3, [0, [0, 0, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_6821", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0088", "db_id": "flight_4", "query": "select count(*) from airports", "query_toks": ["select", "count", "(*)", "from", "airports"], "query_toks_no_value": ["select", "count", "(*)", "from", "airports"], "question": "How many airports' names are?", "question_toks": ["How", "many", "airports", "'", "names", "are", "?"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[3, [0, [0, 0, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_6822", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0089", "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", "\"%", "moulin", "%\""], "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": [], "source": "SIMPLIFIED", "parents_id": "train_6957", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0090", "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 = \"g\"", "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", "=", "``", "g", "''"], "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", "=", "value"], "question": "how many papers use dataset called \"g\"?", "question_toks": ["how", "many", "papers", "use", "dataset", "\"", "g", "\"?"], "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, 2, [0, [0, 6, false], null], "\"g\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "other_0818", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0091", "db_id": "scholar", "query": "select distinct t1.paperid from venue as t2 join paper as t1 on t2.venueid = t1.venueid where 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", ".", "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", ".", "year", "=", "value", "and", "t2", ".", "venuename", "=", "value"], "question": "ACL papers in 2016", "question_toks": ["ACL", "papers", "in", "2016"], "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, 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": [], "source": "SIMPLIFIED", "parents_id": "other_1025", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0092", "db_id": "scholar", "query": "select distinct authorname from author", "query_toks": ["select", "distinct", "authorname", "from", "author"], "query_toks_no_value": ["select", "distinct", "authorname", "from", "author"], "question": "Authors of papers", "question_toks": ["Authors", "of", "papers"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [true, [[0, [0, [0, 4, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "other_1028", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0093", "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 venue as t6 on t6.venueid = t2.venueid where 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", "venue", "as", "t6", "on", "t6", ".", "venueid", "=", "t2", ".", "venueid", "where", "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", "venue", "as", "t6", "on", "t6", ".", "venueid", "=", "t2", ".", "venueid", "where", "t3", ".", "keyphrasename", "=", "value", "and", "t6", ".", "venuename", "=", "value"], "question": "What is the name of Liquid Automatica paper ?", "question_toks": ["What", "is", "the", "name", "of", "Liquid", "Automatica", "paper", "?"], "sql": {"from": {"table_units": [["table_unit", 8], ["table_unit", 4], ["table_unit", 9], ["table_unit", 5], ["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, 1, false], null], [0, 13, false], null]]}, "select": [true, [[0, [0, [0, 12, false], null]]]], "where": [[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": [], "source": "SIMPLIFIED", "parents_id": "other_1116", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}, {"id": "like_in_sql_0094", "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 where 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", "where", "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", "where", "t5", ".", "keyphrasename", "=", "value", "haskell"], "question": "What is the name of Liquid Haskell paper ?", "question_toks": ["What", "is", "the", "name", "of", "Liquid", "Haskell", "paper", "?"], "sql": {"from": {"table_units": [["table_unit", 8], ["table_unit", 4], ["table_unit", 9], ["table_unit", 5]], "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]]}, "select": [true, [[0, [0, [0, 12, false], null]]]], "where": [[false, 2, [0, [0, 10, false], null], "\"liquid haskell\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "other_1132", "is_simplification": true, "simplifications_tags": ["LIKE_IN_SQL"]}] |