| [{"id": "datetime_0000", "db_id": "aircraft", "query": "select country from match", "query_toks": ["select", "country", "from", "match"], "query_toks_no_value": ["select", "country", "from", "match"], "question": "In which countries are aircraft matches held?", "question_toks": ["In", "which", "countries", "are", "aircraft", "matches", "held", "?"], "sql": {"from": {"table_units": [["table_unit", 2]], "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": "added_for_datetime_0000", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0001", "db_id": "apartment_rentals", "query": "select distinct(apt_booking_id) from view_unit_status", "query_toks": ["select", "distinct", "(", "apt_booking_id", ")", "from", "view_unit_status"], "query_toks_no_value": ["select", "distinct", "(", "apt_booking_id", ")", "from", "view_unit_status"], "question": "List all booking ID", "question_toks": ["List", "all", "booking", "ID"], "sql": {"from": {"table_units": [["table_unit", 5]], "conds": []}, "select": [true, [[0, [0, [0, 29, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_datetime_0001", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0002", "db_id": "assets_maintenance", "query": "select engineer_id, visit_start_datetime from engineer_visits;", "query_toks": ["select", "distinct", "(", "engineer_id", "),", "visit_end_datetime", "from", "engineer_visits"], "query_toks_no_value": ["select", "distinct", "(", "engineer_id", "),", "visit_end_datetime", "from", "engineer_visits"], "question": "Output the start times and id of all engineers", "question_toks": ["Output", "the", "start", "times", "and", "id", "of", "all", "engineers"], "sql": {"from": {"table_units": [["table_unit", 10]], "conds": []}, "select": [true, [[0, [0, [0, 49, false], null]], [0, [0, [0, 53, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_datetime_0002", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0003", "db_id": "battle_death", "query": "select distinct(latin_commander) from battle", "query_toks": ["select", "distinct", "(", "latin_commander", ")", "from", "battle"], "query_toks_no_value": ["select", "distinct", "(", "latin_commander", ")", "from", "battle"], "question": "Which of the Latin commanders participated in the battles?", "question_toks": ["Which", "of", "the", "Latin", "commanders", "participated", "in", "the", "battles", "?"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [true, [[0, [0, [0, 5, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_datetime_0003", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0004", "db_id": "battle_death", "query": "select count(distinct id) from battle", "query_toks": ["select", "count", "(", "distinct", "id", ")", "from", "battle"], "query_toks_no_value": ["select", "count", "(", "distinct", "id", ")", "from", "battle"], "question": "How many battles were fought?", "question_toks": ["How", "many", "battles", "were", "fought", "?"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[3, [0, [0, 1, true], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_datetime_0004", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0005", "db_id": "behavior_monitoring", "query": "select notes_id from assessment_notes", "query_toks": ["select", "notes_id", "from", "assessment_notes"], "query_toks_no_value": ["select", "notes_id", "from", "assessment_notes"], "question": "Show the id of the notes", "question_toks": ["Show", "the", "id", "of", "the", "notes"], "sql": {"from": {"table_units": [["table_unit", 6]], "conds": []}, "select": [false, [[0, [0, [0, 35, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_datetime_0005", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0006", "db_id": "behavior_monitoring", "query": "select notes_id from assessment_notes", "query_toks": ["select", "notes_id", "from", "assessment_notes"], "query_toks_no_value": ["select", "notes_id", "from", "assessment_notes"], "question": "ID of the notes", "question_toks": ["ID", "of", "the", "notes"], "sql": {"from": {"table_units": [["table_unit", 6]], "conds": []}, "select": [false, [[0, [0, [0, 35, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_datetime_0006", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0007", "db_id": "behavior_monitoring", "query": "select notes_id from assessment_notes", "query_toks": ["select", "notes_id", "from", "assessment_notes"], "query_toks_no_value": ["select", "notes_id", "from", "assessment_notes"], "question": "What the id of the notes", "question_toks": ["What", "the", "id", "of", "the", "notes"], "sql": {"from": {"table_units": [["table_unit", 6]], "conds": []}, "select": [false, [[0, [0, [0, 35, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_datetime_0007", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0008", "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": ["DATETIME"]}, {"id": "datetime_0009", "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": ["DATETIME"]}, {"id": "datetime_0010", "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": ["DATETIME"]}, {"id": "datetime_0011", "db_id": "cinema", "query": "select title from film", "query_toks": ["select", "title", "from", "film"], "query_toks_no_value": ["select", "title", "from", "film"], "question": "Title of the films released", "question_toks": ["Title", "of", "the", "films", "released"], "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": "added_for_datetime_0011", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0012", "db_id": "cinema", "query": "select title from film ", "query_toks": ["select", "title", "from", "film"], "query_toks_no_value": ["select", "title", "from", "film"], "question": "Title of the films", "question_toks": ["Title", "of", "the", "films"], "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": "added_for_datetime_0012", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0013", "db_id": "cinema", "query": "select distinct(title) from film", "query_toks": ["select", "distinct", "(", "title", ")", "from", "film"], "query_toks_no_value": ["select", "distinct", "(", "title", ")", "from", "film"], "question": "What are the titles of the films?", "question_toks": ["What", "are", "the", "titles", "of", "the", "films", "?"], "sql": {"from": {"table_units": [["table_unit", 0]], "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": "added_for_datetime_0013", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0014", "db_id": "cinema", "query": "select avg(show_times_per_day) from schedule", "query_toks": ["select", "avg", "(", "show_times_per_day", ")", "from", "schedule"], "query_toks_no_value": ["select", "avg", "(", "show_times_per_day", ")", "from", "schedule"], "question": "How many times per day are scheduled movies shown on average?", "question_toks": ["How", "many", "times", "per", "day", "are", "scheduled", "movies", "shown", "on", "average", "?"], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[5, [0, [0, 16, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_datetime_0014", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0015", "db_id": "coffee_shop", "query": "select address , shop_id from shop", "query_toks": ["select", "address", ",", "shop_id", "from", "shop"], "query_toks_no_value": ["select", "address", ",", "shop_id", "from", "shop"], "question": "What are the id and address of the shops?", "question_toks": ["What", "are", "the", "id", "and", "address", "of", "the", "shops", "?"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[0, [0, [0, 2, false], null]], [0, [0, [0, 1, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_0803", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0016", "db_id": "coffee_shop", "query": "select distinct(address) from shop", "query_toks": ["select", "distinct", "(", "address", ")", "from", "shop"], "query_toks_no_value": ["select", "distinct", "(", "address", ")", "from", "shop"], "question": "Addresses of shops", "question_toks": ["Addresses", "of", "shops"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [true, [[0, [0, [0, 2, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_datetime_0016", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0017", "db_id": "coffee_shop", "query": "select avg(num_of_shaff_in_charge) from happy_hour ", "query_toks": ["select", "avg", "(", "num_of_shaff_in_charge", ")", "from", "happy_hour"], "query_toks_no_value": ["select", "avg", "(", "num_of_shaff_in_charge", ")", "from", "happy_hour"], "question": "Average number of staff", "question_toks": ["Average", "number", "of", "staff"], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[5, [0, [0, 16, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_datetime_0017", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0018", "db_id": "college_1", "query": "select distinct(class_code) from class", "query_toks": ["select", "distinct", "(", "class_code", ")", "from", "class"], "query_toks_no_value": ["select", "distinct", "(", "class_code", ")", "from", "class"], "question": "Class Codes", "question_toks": ["Class", "Codes"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [true, [[0, [0, [0, 1, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_datetime_0018", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0019", "db_id": "college_1", "query": "select distinct(class_room) from class", "query_toks": ["select", "distinct", "(", "class_room", ")", "from", "class"], "query_toks_no_value": ["select", "distinct", "(", "class_room", ")", "from", "class"], "question": "In what classrooms are classes?", "question_toks": ["In", "what", "classrooms", "are", "classes", "?"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [true, [[0, [0, [0, 5, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_datetime_0019", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0020", "db_id": "college_1", "query": "select distinct(stu_fname) from student", "query_toks": ["select", "distinct", "(", "stu_fname", ")", "from", "student"], "query_toks_no_value": ["select", "distinct", "(", "stu_fname", ")", "from", "student"], "question": "Surnames of students", "question_toks": ["Surnames", "of", "students"], "sql": {"from": {"table_units": [["table_unit", 6]], "conds": []}, "select": [true, [[0, [0, [0, 34, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_datetime_0020", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0021", "db_id": "college_3", "query": "select cname from course where credits = 3 union select cname from course where credits = 1", "query_toks": ["select", "cname", "from", "course", "where", "credits", "=", "3", "union", "select", "cname", "from", "course", "where", "credits", "=", "1"], "query_toks_no_value": ["select", "cname", "from", "course", "where", "credits", "=", "value", "union", "select", "cname", "from", "course", "where", "credits", "=", "value"], "question": "Find the names of courses that have either 3 credits or 1 credit", "question_toks": ["Find", "the", "names", "of", "courses", "that", "have", "either", "3", "credits", "or", "1", "credit"], "sql": {"from": {"table_units": [["table_unit", 4]], "conds": []}, "select": [false, [[0, [0, [0, 27, false], null]]]], "where": [[false, 2, [0, [0, 28, false], null], 3.0, null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": {"from": {"table_units": [["table_unit", 4]], "conds": []}, "select": [false, [[0, [0, [0, 27, false], null]]]], "where": [[false, 2, [0, [0, 28, false], null], 1.0, null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_4703", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0022", "db_id": "college_3", "query": "select cname from course where credits = 3 union select cname from course where credits = 1", "query_toks": ["select", "cname", "from", "course", "where", "credits", "=", "3", "union", "select", "cname", "from", "course", "where", "credits", "=", "1"], "query_toks_no_value": ["select", "cname", "from", "course", "where", "credits", "=", "value", "union", "select", "cname", "from", "course", "where", "credits", "=", "value"], "question": "What are the names of courses that give either 3 credits or 1 credit?", "question_toks": ["What", "are", "the", "names", "of", "courses", "that", "give", "either", "3", "credits", "or", "1", "credit", "?"], "sql": {"from": {"table_units": [["table_unit", 4]], "conds": []}, "select": [false, [[0, [0, [0, 27, false], null]]]], "where": [[false, 2, [0, [0, 28, false], null], 3.0, null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": {"from": {"table_units": [["table_unit", 4]], "conds": []}, "select": [false, [[0, [0, [0, 27, false], null]]]], "where": [[false, 2, [0, [0, 28, false], null], 1.0, null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_4704", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0023", "db_id": "course_teach", "query": "select count(distinct course_id) from course", "query_toks": ["select", "count", "(", "distinct", "course_id", ")", "from", "course"], "query_toks_no_value": ["select", "count", "(", "distinct", "course_id", ")", "from", "course"], "question": "Amount of courses", "question_toks": ["Amount", "of", "courses"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [false, [[3, [0, [0, 1, true], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_datetime_0023", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0024", "db_id": "course_teach", "query": "select distinct(course) from course", "query_toks": ["select", "distinct", "(", "course", ")", "from", "course"], "query_toks_no_value": ["select", "distinct", "(", "course", ")", "from", "course"], "question": "Show me names of the courses", "question_toks": ["Show", "me", "names", "of", "the", "courses"], "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": "added_for_datetime_0024", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0025", "db_id": "course_teach", "query": "select min(grade) from course_arrange", "query_toks": ["select", "min", "(", "grade", ")", "from", "course_arrange"], "query_toks_no_value": ["select", "min", "(", "grade", ")", "from", "course_arrange"], "question": "What is the minimum grade for the course?", "question_toks": ["What", "is", "the", "minimum", "grade", "for", "the", "course", "?"], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[2, [0, [0, 10, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_datetime_0025", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0026", "db_id": "cre_Doc_Control_Systems", "query": "select count(distinct document_id) from documents", "query_toks": ["select", "count", "(", "distinct", "document_id", ")", "from", "documents"], "query_toks_no_value": ["select", "count", "(", "distinct", "document_id", ")", "from", "documents"], "question": "Total number of documents received", "question_toks": ["Total", "number", "of", "documents", "received"], "sql": {"from": {"table_units": [["table_unit", 5]], "conds": []}, "select": [false, [[3, [0, [0, 12, true], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_datetime_0026", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0027", "db_id": "cre_Doc_Control_Systems", "query": "select count(distinct document_id) from documents_mailed", "query_toks": ["select", "count", "(", "distinct", "document_id", ")", "from", "documents_mailed"], "query_toks_no_value": ["select", "count", "(", "distinct", "document_id", ")", "from", "documents_mailed"], "question": "Number of documents mailed", "question_toks": ["Number", "of", "documents", "mailed", "in", "November"], "sql": {"from": {"table_units": [["table_unit", 10]], "conds": []}, "select": [false, [[3, [0, [0, 33, true], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_datetime_0027", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0028", "db_id": "cre_Doc_Control_Systems", "query": "select count(distinct document_id) from documents_mailed", "query_toks": ["select", "count", "(", "distinct", "document_id", ")", "from", "documents_mailed"], "query_toks_no_value": ["select", "count", "(", "distinct", "document_id", ")", "from", "documents_mailed"], "question": "How many documents were mailed?", "question_toks": ["How", "many", "documents", "were", "mailed", "?"], "sql": {"from": {"table_units": [["table_unit", 10]], "conds": []}, "select": [false, [[3, [0, [0, 33, true], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_datetime_0028", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0029", "db_id": "cre_Doc_Control_Systems", "query": "select count(distinct document_id) from documents_mailed", "query_toks": ["select", "count", "(", "distinct", "document_id", ")", "from", "documents_mailed"], "query_toks_no_value": ["select", "count", "(", "distinct", "document_id", ")", "from", "documents_mailed"], "question": "How many documents were sent?", "question_toks": ["How", "many", "documents", "were", "sent", "?"], "sql": {"from": {"table_units": [["table_unit", 10]], "conds": []}, "select": [false, [[3, [0, [0, 33, true], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_datetime_0029", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0030", "db_id": "cre_Doc_Template_Mgt", "query": "select template_id from templates", "query_toks": ["select", "template_id", "from", "templates"], "query_toks_no_value": ["select", "template_id", "from", "templates"], "question": "Id of templates", "question_toks": ["Id", "of", "templates"], "sql": {"from": {"table_units": [["table_unit", 1]], "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": "added_for_datetime_0030", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0031", "db_id": "cre_Doc_Template_Mgt", "query": "select template_id from templates", "query_toks": ["select", "template_id", "from", "templates"], "query_toks_no_value": ["select", "template_id", "from", "templates"], "question": "What are the IDs of templates?", "question_toks": ["What", "are", "the", "IDs", "of", "templates", "?"], "sql": {"from": {"table_units": [["table_unit", 1]], "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": "added_for_datetime_0031", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0032", "db_id": "cre_Doc_Template_Mgt", "query": "select count(distinct template_id) from templates", "query_toks": ["select", "count", "(", "distinct", "template_id", ")", "from", "templates"], "query_toks_no_value": ["select", "count", "(", "distinct", "template_id", ")", "from", "templates"], "question": "Number of templates", "question_toks": ["Number", "of", "templates"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[3, [0, [0, 3, true], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_datetime_0032", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0033", "db_id": "customers_and_addresses", "query": "select sum(order_quantity) from order_items ", "query_toks": ["select", "sum", "(", "order_quantity", ")", "from", "order_items"], "query_toks_no_value": ["select", "sum", "(", "order_quantity", ")", "from", "order_items"], "question": "Find the total amount of products were ordered.", "question_toks": ["Find", "the", "total", "amount", "of", "products", "."], "sql": {"from": {"table_units": [["table_unit", 6]], "conds": []}, "select": [false, [[4, [0, [0, 32, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_6125", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0034", "db_id": "customers_and_addresses", "query": "select sum(order_quantity) from order_items ", "query_toks": ["select", "sum", "(", "order_quantity", ")", "from", "order_items"], "query_toks_no_value": ["select", "sum", "(", "order_quantity", ")", "from", "order_items"], "question": "What is the total amount of products purchased?", "question_toks": ["What", "is", "the", "total", "amount", "of", "products", "purchased", "?"], "sql": {"from": {"table_units": [["table_unit", 6]], "conds": []}, "select": [false, [[4, [0, [0, 32, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_6126", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0035", "db_id": "customers_and_addresses", "query": "select sum(order_quantity) from order_items ", "query_toks": ["select", "sum", "(", "order_quantity", ")", "from", "order_items"], "query_toks_no_value": ["select", "sum", "(", "order_quantity", ")", "from", "order_items"], "question": "Display amount of products ordered.", "question_toks": ["Display", "amount", "of", "products", "ordered", "."], "sql": {"from": {"table_units": [["table_unit", 6]], "conds": []}, "select": [false, [[4, [0, [0, 32, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_datetime_0035", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0036", "db_id": "department_store", "query": "select staff_name , staff_gender from staff", "query_toks": ["select", "staff_name", ",", "staff_gender", "from", "staff"], "query_toks_no_value": ["select", "staff_name", ",", "staff_gender", "from", "staff"], "question": "Return the name and gender of the staff .", "question_toks": ["Return", "the", "name", "and", "gender", "of", "the", "staff", "."], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[0, [0, [0, 5, false], null]], [0, [0, [0, 4, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_4759", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0037", "db_id": "department_store", "query": "select staff_name, staff_gender from staff;", "query_toks": ["select", "t1", ".", "staff_name", ",", "t1", ".", "staff_gender", "from", "staff", "as", "t1", "join", "staff_department_assignments", "as", "t2", "on", "t1", ".", "staff_id", "=", "t2", ".", "staff_id", "where", "t2", ".", "date_assigned_from", "like", "``", "2016", "%\""], "query_toks_no_value": ["select", "t1", ".", "staff_name", ",", "t1", ".", "staff_gender", "from", "staff", "as", "t1", "join", "staff_department_assignments", "as", "t2", "on", "t1", ".", "staff_id", "=", "t2", ".", "staff_id", "where", "t2", ".", "date_assigned_from", "like", "value", "%\""], "question": "What are the names and genders of staff ?", "question_toks": ["What", "are", "the", "names", "and", "genders", "of", "staff", "?"], "sql": {"from": {"table_units": [["table_unit", 1], ["table_unit", 13]], "conds": [[false, 2, [0, [0, 3, false], null], [0, 52, false], null]]}, "select": [false, [[0, [0, [0, 5, false], null]], [0, [0, [0, 4, false], null]]]], "where": [[false, 9, [0, [0, 54, false], null], "\"2016%\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_4760", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0038", "db_id": "entrepreneur", "query": "select distinct(name) from people", "query_toks": ["select", "distinct", "(", "name", ")", "from", "people"], "query_toks_no_value": ["select", "distinct", "(", "name", ")", "from", "people"], "question": "Surnames", "question_toks": ["Surnames"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [true, [[0, [0, [0, 7, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_datetime_0038", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0039", "db_id": "entrepreneur", "query": "select distinct(name) from people", "query_toks": ["select", "distinct", "(", "name", ")", "from", "people"], "query_toks_no_value": ["select", "distinct", "(", "name", ")", "from", "people"], "question": "Who was born?", "question_toks": ["Who", "was", "born", "?"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [true, [[0, [0, [0, 7, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_datetime_0039", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0040", "db_id": "formula_1", "query": "select name from races", "query_toks": ["select", "name", "from", "races"], "query_toks_no_value": ["select", "name", "from", "races"], "question": "What are the names of races?", "question_toks": ["What", "are", "the", "names", "of", "races", "?"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[0, [0, [0, 14, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_2205", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0041", "db_id": "formula_1", "query": "select name from races", "query_toks": ["select", "name", "from", "races"], "query_toks_no_value": ["select", "name", "from", "races"], "question": "What are the names of all races?", "question_toks": ["What", "are", "the", "names", "of", "all", "races", "?"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[0, [0, [0, 14, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_2206", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0042", "db_id": "hr_1", "query": "select job_id , hire_date from employees", "query_toks": ["select", "job_id", ",", "hire_date", "from", "employees"], "query_toks_no_value": ["select", "job_id", ",", "hire_date", "from", "employees"], "question": "Find job id and date of hire for all employees", "question_toks": ["Find", "job", "id", "and", "date", "of", "hire", "for", "all", "employees"], "sql": {"from": {"table_units": [["table_unit", 4]], "conds": []}, "select": [false, [[0, [0, [0, 20, false], null]], [0, [0, [0, 19, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_3429", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0043", "db_id": "hr_1", "query": "select job_id , hire_date from employees", "query_toks": ["select", "job_id", ",", "hire_date", "from", "employees"], "query_toks_no_value": ["select", "job_id", ",", "hire_date", "from", "employees"], "question": "What are the job ids and dates of hire for employees?", "question_toks": ["What", "are", "the", "job", "ids", "and", "dates", "of", "hire", "for", "employees", "?"], "sql": {"from": {"table_units": [["table_unit", 4]], "conds": []}, "select": [false, [[0, [0, [0, 20, false], null]], [0, [0, [0, 19, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_3430", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0044", "db_id": "hr_1", "query": "select * from employees", "query_toks": ["select", "*", "from", "employees"], "query_toks_no_value": ["select", "*", "from", "employees"], "question": "display all the details from Employees table", "question_toks": ["display", "all", "the", "details", "from", "Employees", "table"], "sql": {"from": {"table_units": [["table_unit", 4]], "conds": []}, "select": [false, [[0, [0, [0, 0, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_3435", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0045", "db_id": "hr_1", "query": "select * from employees ", "query_toks": ["select", "*", "from", "employees"], "query_toks_no_value": ["select", "*", "from", "employees"], "question": "What is all the information about all employees?", "question_toks": ["What", "is", "all", "the", "information", "about", "all", "employees", "?"], "sql": {"from": {"table_units": [["table_unit", 4]], "conds": []}, "select": [false, [[0, [0, [0, 0, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_3436", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0046", "db_id": "hr_1", "query": "select * from employees", "query_toks": ["select", "*", "from", "employees"], "query_toks_no_value": ["select", "*", "from", "employees"], "question": "display all employees.", "question_toks": ["display", "all", "employees", "."], "sql": {"from": {"table_units": [["table_unit", 4]], "conds": []}, "select": [false, [[0, [0, [0, 0, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_3439", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0047", "db_id": "hr_1", "query": "select * from employees", "query_toks": ["select", "*", "from", "employees"], "query_toks_no_value": ["select", "*", "from", "employees"], "question": "Which employees were hired?", "question_toks": ["Which", "employees", "were", "hired", "?"], "sql": {"from": {"table_units": [["table_unit", 4]], "conds": []}, "select": [false, [[0, [0, [0, 0, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_3440", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0048", "db_id": "hr_1", "query": "select job_id from job_history group by job_id having count(*) >= 2", "query_toks": ["select", "job_id", "from", "job_history", "group", "by", "job_id", "having", "count", "(*)", ">=", "2"], "query_toks_no_value": ["select", "job_id", "from", "job_history", "group", "by", "job_id", "having", "count", "(*)", ">=", "2"], "question": "display job ID for those jobs that were done by two or more.", "question_toks": ["display", "job", "ID", "for", "those", "jobs", "that", "were", "done", "by", "two", "or", "more", "."], "sql": {"from": {"table_units": [["table_unit", 5]], "conds": []}, "select": [false, [[0, [0, [0, 28, false], null]]]], "where": [], "groupBy": [[0, 28, false]], "having": [[false, 5, [0, [3, 0, false], null], 2.0, null]], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_3457", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0049", "db_id": "hr_1", "query": "select job_id from job_history group by job_id having count(*) >= 2", "query_toks": ["select", "job_id", "from", "job_history", "group", "by", "job_id", "having", "count", "(*)", ">=", "2"], "query_toks_no_value": ["select", "job_id", "from", "job_history", "group", "by", "job_id", "having", "count", "(*)", ">=", "2"], "question": "What are the job ids for jobs done more than once?", "question_toks": ["What", "are", "the", "job", "ids", "for", "jobs", "done", "more", "than", "once", "?"], "sql": {"from": {"table_units": [["table_unit", 5]], "conds": []}, "select": [false, [[0, [0, [0, 28, false], null]]]], "where": [], "groupBy": [[0, 28, false]], "having": [[false, 5, [0, [3, 0, false], null], 2.0, null]], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_3458", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0050", "db_id": "inn_1", "query": "select adults from reservations where firstname = \"conrad\" and lastname = \"selbig\"", "query_toks": ["select", "adults", "from", "reservations", "where", "firstname", "=", "``", "conrad", "''", "and", "lastname", "=", "``", "selbig", "''"], "query_toks_no_value": ["select", "adults", "from", "reservations", "where", "firstname", "=", "value", "and", "lastname", "=", "value"], "question": "How many adults stay in the room CONRAD SELBIG?", "question_toks": ["How", "many", "adults", "stay", "in", "the", "room", "CONRAD", "SELBIG", "?"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[0, [0, [0, 15, false], null]]]], "where": [[false, 2, [0, [0, 14, false], null], "\"conrad\"", null], "and", [false, 2, [0, [0, 13, false], null], "\"selbig\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_2584", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0051", "db_id": "inn_1", "query": "select adults from reservations where firstname = \"conrad\" and lastname = \"selbig\"", "query_toks": ["select", "adults", "from", "reservations", "where", "firstname", "=", "``", "conrad", "''", "and", "lastname", "=", "``", "selbig", "''"], "query_toks_no_value": ["select", "adults", "from", "reservations", "where", "firstname", "=", "value", "and", "lastname", "=", "value"], "question": "Find the number of adults for the room reserved and checked in by CONRAD SELBIG.", "question_toks": ["Find", "the", "number", "of", "adults", "for", "the", "room", "reserved", "and", "checked", "in", "by", "CONRAD", "SELBIG", "."], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[0, [0, [0, 15, false], null]]]], "where": [[false, 2, [0, [0, 14, false], null], "\"conrad\"", null], "and", [false, 2, [0, [0, 13, false], null], "\"selbig\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_2585", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0052", "db_id": "inn_1", "query": "select kids from reservations where firstname = \"damien\" and lastname = \"trachsel\"", "query_toks": ["select", "kids", "from", "reservations", "where", "firstname", "=", "``", "damien", "''", "and", "lastname", "=", "``", "trachsel", "''"], "query_toks_no_value": ["select", "kids", "from", "reservations", "where", "firstname", "=", "value", "and", "lastname", "=", "value"], "question": "How many kids stay in the room DAMIEN TRACHSEL?", "question_toks": ["How", "many", "kids", "stay", "in", "the", "room", "DAMIEN", "TRACHSEL", "?"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[0, [0, [0, 16, false], null]]]], "where": [[false, 2, [0, [0, 14, false], null], "\"damien\"", null], "and", [false, 2, [0, [0, 13, false], null], "\"trachsel\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_2586", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0053", "db_id": "inn_1", "query": "select kids from reservations where firstname = \"damien\" and lastname = \"trachsel\"", "query_toks": ["select", "kids", "from", "reservations", "where", "firstname", "=", "``", "damien", "''", "and", "lastname", "=", "``", "trachsel", "''"], "query_toks_no_value": ["select", "kids", "from", "reservations", "where", "firstname", "=", "value", "and", "lastname", "=", "value"], "question": "Return the number of kids for the room reserved and checked in by DAMIEN TRACHSEL.", "question_toks": ["Return", "the", "number", "of", "kids", "for", "the", "room", "reserved", "and", "checked", "in", "by", "DAMIEN", "TRACHSEL", "."], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[0, [0, [0, 16, false], null]]]], "where": [[false, 2, [0, [0, 14, false], null], "\"damien\"", null], "and", [false, 2, [0, [0, 13, false], null], "\"trachsel\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_2587", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0054", "db_id": "inn_1", "query": "select lastname, firstname from reservations", "query_toks": ["select", "lastname", ",", "firstname", "from", "reservations"], "query_toks_no_value": ["select", "lastname", ",", "firstname", "from", "reservations"], "question": "Last and first names of everyone who checked in", "question_toks": ["Last", "and", "first", "names", "of", "everyone", "who", "checked", "in"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[0, [0, [0, 13, false], null]], [0, [0, [0, 14, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_datetime_0054", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0055", "db_id": "inn_1", "query": "select lastname, firstname from reservations", "query_toks": ["select", "lastname", ",", "firstname", "from", "reservations"], "query_toks_no_value": ["select", "lastname", ",", "firstname", "from", "reservations"], "question": "Show me the last and first names of everyone", "question_toks": ["Show", "me", "the", "last", "and", "first", "names", "of", "everyone"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[0, [0, [0, 13, false], null]], [0, [0, [0, 14, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_datetime_0055", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0056", "db_id": "local_govt_and_lot", "query": "select distinct t2.thing_id , t2.type_of_thing_code from timed_status_of_things as t1 join things as t2 on t1.thing_id = t2.thing_id where t1.status_of_thing_code = \"close\"", "query_toks": ["select", "distinct", "t2", ".", "thing_id", ",", "t2", ".", "type_of_thing_code", "from", "timed_status_of_things", "as", "t1", "join", "things", "as", "t2", "on", "t1", ".", "thing_id", "=", "t2", ".", "thing_id", "where", "t1", ".", "status_of_thing_code", "=", "``", "close", "''", "or", "t1", ".", "date_and_date", "<", "``", "2017", "-", "06", "-", "19", "02", ":", "59", ":", "21", "''"], "query_toks_no_value": ["select", "distinct", "t2", ".", "thing_id", ",", "t2", ".", "type_of_thing_code", "from", "timed_status_of_things", "as", "t1", "join", "things", "as", "t2", "on", "t1", ".", "thing_id", "=", "t2", ".", "thing_id", "where", "t1", ".", "status_of_thing_code", "=", "value", "or", "t1", ".", "date_and_date", "<", "value", "-", "06", "-", "19", "02", ":", "59", ":", "21"], "question": "What are the distinct id and type of the thing that has the status 'Close'", "question_toks": ["What", "are", "the", "distinct", "id", "and", "type", "of", "the", "thing", "that", "has", "the", "status", "'", "Close", "'"], "sql": {"from": {"table_units": [["table_unit", 9], ["table_unit", 6]], "conds": [[false, 2, [0, [0, 43, false], null], [0, 26, false], null]]}, "select": [true, [[0, [0, [0, 26, false], null]], [0, [0, [0, 28, false], null]]]], "where": [[false, 2, [0, [0, 45, false], null], "\"close\"", null], "or", [false, 4, [0, [0, 44, false], null], "\"2017-06-19 02:59:21\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_4851", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0057", "db_id": "music_1", "query": "select count(*) from files", "query_toks": ["select", "count", "(*)", "from", "files"], "query_toks_no_value": ["select", "count", "(*)", "from", "files"], "question": "How many songs are?", "question_toks": ["How", "many", "songs", "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_3545", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0058", "db_id": "music_1", "query": "select count(*) from files", "query_toks": ["select", "count", "(*)", "from", "files"], "query_toks_no_value": ["select", "count", "(*)", "from", "files"], "question": "What is the count of the songs?", "question_toks": ["What", "is", "the", "count", "of", "the", "songs", "?"], "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_3546", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0059", "db_id": "music_1", "query": "select artist_name , gender from artist", "query_toks": ["select", "artist_name", ",", "gender", "from", "artist"], "query_toks_no_value": ["select", "artist_name", ",", "gender", "from", "artist"], "question": "List the name and gender for all artists.", "question_toks": ["List", "the", "name", "and", "gender", "for", "all", "artists", "."], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[0, [0, [0, 4, false], null]], [0, [0, [0, 6, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_3575", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0060", "db_id": "music_1", "query": "select artist_name , gender from artist ", "query_toks": ["select", "artist_name", ",", "gender", "from", "artist"], "query_toks_no_value": ["select", "artist_name", ",", "gender", "from", "artist"], "question": "What are the names and genders of all artists?", "question_toks": ["What", "are", "the", "names", "and", "genders", "of", "all", "artists", "?"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[0, [0, [0, 4, false], null]], [0, [0, [0, 6, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_3576", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0061", "db_id": "music_1", "query": "select song_name from song where languages = \"english\"", "query_toks": ["select", "song_name", "from", "song", "where", "languages", "=", "``", "english", "''"], "query_toks_no_value": ["select", "song_name", "from", "song", "where", "languages", "=", "value"], "question": "List the names of all songs that are in English.", "question_toks": ["List", "the", "names", "of", "all", "songs", "that", "are", "in", "English", "."], "sql": {"from": {"table_units": [["table_unit", 3]], "conds": []}, "select": [false, [[0, [0, [0, 13, false], null]]]], "where": [[false, 2, [0, [0, 19, false], null], "\"english\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_3583", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0062", "db_id": "music_1", "query": "select song_name from song where languages = \"english\"", "query_toks": ["select", "song_name", "from", "song", "where", "languages", "=", "``", "english", "''"], "query_toks_no_value": ["select", "song_name", "from", "song", "where", "languages", "=", "value"], "question": "What are the names of all songs that are in English?", "question_toks": ["What", "are", "the", "names", "of", "all", "songs", "that", "are", "in", "English", "?"], "sql": {"from": {"table_units": [["table_unit", 3]], "conds": []}, "select": [false, [[0, [0, [0, 13, false], null]]]], "where": [[false, 2, [0, [0, 19, false], null], "\"english\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_3584", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0063", "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": ["DATETIME"]}, {"id": "datetime_0064", "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", "that", "are", "approximately", "3", "minutes", "long", "?"], "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": ["DATETIME"]}, {"id": "datetime_0065", "db_id": "music_1", "query": "select distinct(f_id) from files", "query_toks": ["select", "distinct", "(", "f_id", ")", "from", "files"], "query_toks_no_value": ["select", "distinct", "(", "f_id", ")", "from", "files"], "question": "Id files", "question_toks": ["Id", "files"], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [true, [[0, [0, [0, 8, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_datetime_0065", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0066", "db_id": "music_1", "query": "select artist_name from artist", "query_toks": ["select", "artist_name", ",", "gender", "from", "artist"], "query_toks_no_value": ["select", "artist_name", ",", "gender", "from", "artist"], "question": "What the names of all artists.", "question_toks": ["What", "the", "names", "of", "all", "artists", "."], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[0, [0, [0, 4, false], null]], [0, [0, [0, 6, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_datetime_0066", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0067", "db_id": "station_weather", "query": "select name from train", "query_toks": ["select", "name", "from", "train"], "query_toks_no_value": ["select", "name", "from", "train"], "question": "Name of trains", "question_toks": ["Name", "of", "trains"], "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": "added_for_datetime_0067", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0068", "db_id": "station_weather", "query": "select distinct(train_number) from train", "query_toks": ["select", "distinct", "(", "train_number", ")", "from", "train"], "query_toks_no_value": ["select", "distinct", "(", "train_number", ")", "from", "train"], "question": "Give me all trains numbers", "question_toks": ["Give", "me", "all", "trains", "numbers"], "sql": {"from": {"table_units": [["table_unit", 0]], "conds": []}, "select": [true, [[0, [0, [0, 2, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_datetime_0068", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0069", "db_id": "theme_gallery", "query": "select sum(attendance) from exhibition_record", "query_toks": ["select", "sum", "(", "attendance", ")", "from", "exhibition_record"], "query_toks_no_value": ["select", "sum", "(", "attendance", ")", "from", "exhibition_record"], "question": "How many people attended the gallery?", "question_toks": ["How", "many", "people", "attended", "the", "gallery", "?"], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[4, [0, [0, 13, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_datetime_0069", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0070", "db_id": "tracking_grants_for_research", "query": "select grant_amount from grants", "query_toks": ["select", "grant_amount", "from", "grants"], "query_toks_no_value": ["select", "grant_amount", "from", "grants"], "question": "What are the distinct grant amount for the grants?", "question_toks": ["What", "are", "the", "distinct", "grant", "amount", "for", "the", "grants", "?"], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[0, [0, [0, 11, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_4320", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0071", "db_id": "tracking_grants_for_research", "query": "select grant_amount from grants", "query_toks": ["select", "grant_amount", "from", "grants"], "query_toks_no_value": ["select", "grant_amount", "from", "grants"], "question": "What are the different grant amounts for documents?", "question_toks": ["What", "are", "the", "different", "grant", "amounts", "for", "documents", "?"], "sql": {"from": {"table_units": [["table_unit", 2]], "conds": []}, "select": [false, [[0, [0, [0, 11, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_4321", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0072", "db_id": "tracking_grants_for_research", "query": "select count(*) from project_staff where role_code = \"leader\"", "query_toks": ["select", "count", "(*)", "from", "project_staff", "where", "role_code", "=", "``", "leader", "''"], "query_toks_no_value": ["select", "count", "(*)", "from", "project_staff", "where", "role_code", "=", "value"], "question": "How many project staff worked as leaders?", "question_toks": ["How", "many", "project", "staff", "worked", "as", "leaders", "?"], "sql": {"from": {"table_units": [["table_unit", 6]], "conds": []}, "select": [false, [[3, [0, [0, 0, false], null]]]], "where": [[false, 2, [0, [0, 25, false], null], "\"leader\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_4376", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0073", "db_id": "tracking_grants_for_research", "query": "select count(*) from project_staff where role_code = \"leader\"", "query_toks": ["select", "count", "(*)", "from", "project_staff", "where", "role_code", "=", "``", "leader", "''"], "query_toks_no_value": ["select", "count", "(*)", "from", "project_staff", "where", "role_code", "=", "value"], "question": "How many project members were leaders?", "question_toks": ["How", "many", "project", "members", "were", "leaders", "or", "started", "working", "before", "'", "1989", "-", "04", "-", "24", "23", ":", "51", ":", "54", "'?"], "sql": {"from": {"table_units": [["table_unit", 6]], "conds": []}, "select": [false, [[3, [0, [0, 0, false], null]]]], "where": [[false, 2, [0, [0, 25, false], null], "\"leader\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_4377", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0074", "db_id": "tracking_grants_for_research", "query": "select role_code from project_staff", "query_toks": ["select", "role_code", "from", "project_staff"], "query_toks_no_value": ["select", "role_code", "from", "project_staff"], "question": "What are the staff roles of the staff", "question_toks": ["What", "are", "the", "staff", "roles", "of", "the", "staff"], "sql": {"from": {"table_units": [["table_unit", 6]], "conds": []}, "select": [false, [[0, [0, [0, 25, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_4392", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0075", "db_id": "tracking_grants_for_research", "query": "select role_code from project_staff", "query_toks": ["select", "role_code", "from", "project_staff"], "query_toks_no_value": ["select", "role_code", "from", "project_staff"], "question": "What roles did staff members?", "question_toks": ["What", "roles", "did", "staff", "members", "?"], "sql": {"from": {"table_units": [["table_unit", 6]], "conds": []}, "select": [false, [[0, [0, [0, 25, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_4393", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0076", "db_id": "tracking_orders", "query": "select customer_name from customers", "query_toks": ["select", "customer_name", "from", "customers"], "query_toks_no_value": ["select", "customer_name", "from", "customers"], "question": "Give me the names of customers", "question_toks": ["Give", "me", "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_6905", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0077", "db_id": "tracking_orders", "query": "select distinct t1.customer_name from customers as t1 join orders as t2 on t1.customer_id = t2.customer_id;", "query_toks": ["select", "customer_name", "from", "customers"], "query_toks_no_value": ["select", "customer_name", "from", "customers"], "question": "Which customers made orders? Find their names.", "question_toks": ["Which", "customers", "made", "orders", "?", "Find", "their", "names", "."], "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_6906", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0078", "db_id": "tracking_orders", "query": "select distinct product_id from products;", "query_toks": ["select", "distinct", "product_id", "from", "order_items"], "query_toks_no_value": ["select", "distinct", "product_id", "from", "order_items"], "question": "Give me a list of distinct product ids", "question_toks": ["Give", "me", "a", "list", "of", "distinct", "product", "ids"], "sql": {"from": {"table_units": [["table_unit", 4]], "conds": []}, "select": [true, [[0, [0, [0, 16, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_6907", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0079", "db_id": "tracking_orders", "query": "select distinct product_id from products;", "query_toks": ["select", "distinct", "product_id", "from", "order_items"], "query_toks_no_value": ["select", "distinct", "product_id", "from", "order_items"], "question": "What are the distinct ids of products?", "question_toks": ["What", "are", "the", "distinct", "ids", "of", "products", "?"], "sql": {"from": {"table_units": [["table_unit", 4]], "conds": []}, "select": [true, [[0, [0, [0, 16, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_6908", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0080", "db_id": "tracking_orders", "query": "select order_id from orders;", "query_toks": ["select", "order_id", "from", "shipments"], "query_toks_no_value": ["select", "order_id", "from", "shipments"], "question": "Find the ids of orders.", "question_toks": ["Find", "the", "ids", "of", "orders", "."], "sql": {"from": {"table_units": [["table_unit", 5]], "conds": []}, "select": [false, [[0, [0, [0, 21, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_6921", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0081", "db_id": "tracking_orders", "query": "select order_id from shipments", "query_toks": ["select", "order_id", "from", "shipments"], "query_toks_no_value": ["select", "order_id", "from", "shipments"], "question": "Which orders have shipment? Give me the order ids.", "question_toks": ["Which", "orders", "have", "shipment", "?", "Give", "me", "the", "order", "ids", "."], "sql": {"from": {"table_units": [["table_unit", 5]], "conds": []}, "select": [false, [[0, [0, [0, 21, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_6922", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0082", "db_id": "tracking_orders", "query": "select invoice_number from invoices", "query_toks": ["select", "invoice_number", "from", "invoices"], "query_toks_no_value": ["select", "invoice_number", "from", "invoices"], "question": "Find the invoice numbers.", "question_toks": ["Find", "the", "invoice", "numbers", "."], "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": "train_6933", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0083", "db_id": "tracking_orders", "query": "select invoice_number from invoices", "query_toks": ["select", "invoice_number", "from", "invoices"], "query_toks_no_value": ["select", "invoice_number", "from", "invoices"], "question": "What are the invoice numbers?", "question_toks": ["What", "are", "the", "invoice", "numbers", "?"], "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": "train_6934", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0084", "db_id": "tracking_orders", "query": "select distinct invoice_details from invoices", "query_toks": ["select", "distinct", "invoice_details", "from", "invoices"], "query_toks_no_value": ["select", "distinct", "invoice_details", "from", "invoices"], "question": "Find the distinct details of invoices", "question_toks": ["Find", "the", "distinct", "details", "of", "invoices"], "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_6935", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0085", "db_id": "tracking_orders", "query": "select distinct invoice_details from invoices", "query_toks": ["select", "distinct", "invoice_details", "from", "invoices"], "query_toks_no_value": ["select", "distinct", "invoice_details", "from", "invoices"], "question": "What are the distinct details of invoices?", "question_toks": ["What", "are", "the", "distinct", "details", "of", "invoices", "?"], "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_6936", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0086", "db_id": "tracking_software_problems", "query": "select problem_id from problems", "query_toks": ["select", "problem_id", "from", "problems"], "query_toks_no_value": ["select", "problem_id", "from", "problems"], "question": "What are the ids of the problems?", "question_toks": ["What", "are", "the", "ids", "of", "the", "problems", "?"], "sql": {"from": {"table_units": [["table_unit", 5]], "conds": []}, "select": [false, [[0, [0, [0, 21, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_5372", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0087", "db_id": "tracking_software_problems", "query": "select problem_id from problems", "query_toks": ["select", "problem_id", "from", "problems"], "query_toks_no_value": ["select", "problem_id", "from", "problems"], "question": "Find the ids of the problems.", "question_toks": ["Find", "the", "ids", "of", "the", "problems", "."], "sql": {"from": {"table_units": [["table_unit", 5]], "conds": []}, "select": [false, [[0, [0, [0, 21, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_5373", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0088", "db_id": "tracking_software_problems", "query": "select problem_id from problems", "query_toks": ["select", "problem_id", "from", "problems"], "query_toks_no_value": ["select", "problem_id", "from", "problems"], "question": "What are the ids of the problems?", "question_toks": ["What", "are", "the", "ids", "of", "the", "problems", "?"], "sql": {"from": {"table_units": [["table_unit", 5]], "conds": []}, "select": [false, [[0, [0, [0, 21, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_5374", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0089", "db_id": "tracking_software_problems", "query": "select problem_id from problems", "query_toks": ["select", "problem_id", "from", "problems"], "query_toks_no_value": ["select", "problem_id", "from", "problems"], "question": "Which problems are reported? Give me the ids of the problems.", "question_toks": ["Which", "problems", "are", "reported", "?", "Give", "me", "the", "ids", "of", "the", "problems", "."], "sql": {"from": {"table_units": [["table_unit", 5]], "conds": []}, "select": [false, [[0, [0, [0, 21, false], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_5375", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0090", "db_id": "tracking_software_problems", "query": "select count(*) , t2.product_id from problems as t1 join product as t2 on t1.product_id = t2.product_id group by t2.product_id", "query_toks": ["select", "count", "(*)", ",", "t2", ".", "product_id", "from", "problems", "as", "t1", "join", "product", "as", "t2", "on", "t1", ".", "product_id", "=", "t2", ".", "product_id", "group", "by", "t2", ".", "product_id"], "query_toks_no_value": ["select", "count", "(*)", ",", "t2", ".", "product_id", "from", "problems", "as", "t1", "join", "product", "as", "t2", "on", "t1", ".", "product_id", "=", "t2", ".", "product_id", "group", "by", "t2", ".", "product_id"], "question": "For each product that has problems, find the number of problems and the product id", "question_toks": ["For", "each", "product", "that", "has", "problems", ",", "find", "the", "number", "of", "problems", "and", "the", "product", "id"], "sql": {"from": {"table_units": [["table_unit", 5], ["table_unit", 3]], "conds": [[false, 2, [0, [0, 22, false], null], [0, 14, false], null]]}, "select": [false, [[3, [0, [0, 0, false], null]], [0, [0, [0, 14, false], null]]]], "where": [], "groupBy": [[0, 14, false]], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_5378", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0091", "db_id": "tracking_software_problems", "query": "select t1.problem_id from problems as t1 join product as t2 on t1.product_id = t2.product_id where t2.product_name = \"voluptatem\"", "query_toks": ["select", "t1", ".", "problem_id", "from", "problems", "as", "t1", "join", "product", "as", "t2", "on", "t1", ".", "product_id", "=", "t2", ".", "product_id", "where", "t2", ".", "product_name", "=", "``", "voluptatem", "''"], "query_toks_no_value": ["select", "t1", ".", "problem_id", "from", "problems", "as", "t1", "join", "product", "as", "t2", "on", "t1", ".", "product_id", "=", "t2", ".", "product_id", "where", "t2", ".", "product_name", "=", "value"], "question": "List the ids of the problems from the product \"voluptatem\"?", "question_toks": ["List", "the", "ids", "of", "the", "problems", "from", "the", "product", "\"", "voluptatem", "\"?"], "sql": {"from": {"table_units": [["table_unit", 5], ["table_unit", 3]], "conds": [[false, 2, [0, [0, 22, false], null], [0, 14, false], null]]}, "select": [false, [[0, [0, [0, 21, false], null]]]], "where": [[false, 2, [0, [0, 15, false], null], "\"voluptatem\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_5394", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0092", "db_id": "tracking_software_problems", "query": "select t1.problem_id from problems as t1 join product as t2 on t1.product_id = t2.product_id where t2.product_name = \"voluptatem\"", "query_toks": ["select", "t1", ".", "problem_id", "from", "problems", "as", "t1", "join", "product", "as", "t2", "on", "t1", ".", "product_id", "=", "t2", ".", "product_id", "where", "t2", ".", "product_name", "=", "``", "voluptatem", "''"], "query_toks_no_value": ["select", "t1", ".", "problem_id", "from", "problems", "as", "t1", "join", "product", "as", "t2", "on", "t1", ".", "product_id", "=", "t2", ".", "product_id", "where", "t2", ".", "product_name", "=", "value"], "question": "What are the ids of the problems that are from the product \"voluptatem\"?", "question_toks": ["What", "are", "the", "ids", "of", "the", "problems", "that", "are", "from", "the", "product", "\"", "voluptatem", "\"?"], "sql": {"from": {"table_units": [["table_unit", 5], ["table_unit", 3]], "conds": [[false, 2, [0, [0, 22, false], null], [0, 14, false], null]]}, "select": [false, [[0, [0, [0, 21, false], null]]]], "where": [[false, 2, [0, [0, 15, false], null], "\"voluptatem\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "train_5395", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0093", "db_id": "twitter_1", "query": "select count(distinct id) from tweets", "query_toks": ["select", "count", "(", "distinct", "id", ")", "from", "tweets"], "query_toks_no_value": ["select", "count", "(", "distinct", "id", ")", "from", "tweets"], "question": "How many tweets are generated?", "question_toks": ["How", "many", "tweets", "are", "generated", "?"], "sql": {"from": {"table_units": [["table_unit", 1]], "conds": []}, "select": [false, [[3, [0, [0, 3, true], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "added_for_datetime_0093", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0094", "db_id": "twitter_1", "query": "select text from tweets", "query_toks": ["select", "text", "from", "tweets"], "query_toks_no_value": ["select", "text", "from", "tweets"], "question": "Tweet texts", "question_toks": ["Tweet", "texts"], "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": "added_for_datetime_0094", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0095", "db_id": "workshop_paper", "query": "select distinct(name) from workshop", "query_toks": ["select", "distinct", "(", "name", ")", "from", "workshop"], "query_toks_no_value": ["select", "distinct", "(", "name", ")", "from", "workshop"], "question": "Names of workshops", "question_toks": ["Names", "of", "workshops"], "sql": {"from": {"table_units": [["table_unit", 0]], "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": "added_for_datetime_0095", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0096", "db_id": "workshop_paper", "query": "select distinct(name) from workshop", "query_toks": ["select", "distinct", "(", "name", ")", "from", "workshop"], "query_toks_no_value": ["select", "distinct", "(", "name", ")", "from", "workshop"], "question": "What was the name of the workshop", "question_toks": ["What", "was", "the", "name", "of", "the", "workshop"], "sql": {"from": {"table_units": [["table_unit", 0]], "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": "added_for_datetime_0096", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0097", "db_id": "world_1", "query": "select count(distinct language) from countrylanguage where isofficial = 't';", "query_toks": ["select", "count", "(", "distinct", "language", ")", "from", "countrylanguage"], "query_toks_no_value": ["select", "count", "(", "distinct", "language", ")", "from", "countrylanguage"], "question": "What is the total number of unique official languages spoken in all countries?", "question_toks": ["What", "is", "the", "total", "number", "of", "unique", "official", "languages", "spoken", "in", "all", "countries", "?"], "sql": {"from": {"table_units": [["table_unit", 3]], "conds": []}, "select": [false, [[3, [0, [0, 24, true], null]]]], "where": [], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "dev_0770", "is_simplification": true, "simplifications_tags": ["DATETIME"]}, {"id": "datetime_0098", "db_id": "world_1", "query": "select count(distinct language) from countrylanguage where isofficial = \"t\"", "query_toks": ["select", "count", "(", "distinct", "language", ")", "from", "countrylanguage", "where", "isofficial", "=", "``", "t", "''"], "query_toks_no_value": ["select", "count", "(", "distinct", "language", ")", "from", "countrylanguage", "where", "isofficial", "=", "value"], "question": "What is the total number of distinct official languages?", "question_toks": ["What", "is", "the", "total", "number", "of", "distinct", "official", "languages", "?"], "sql": {"from": {"table_units": [["table_unit", 3]], "conds": []}, "select": [false, [[3, [0, [0, 24, true], null]]]], "where": [[false, 2, [0, [0, 25, false], null], "\"t\"", null]], "groupBy": [], "having": [], "orderBy": [], "limit": null, "intersect": null, "union": null, "except": null}, "tags": [], "source": "SIMPLIFIED", "parents_id": "dev_0771", "is_simplification": true, "simplifications_tags": ["DATETIME"]}] |