diff --git "a/multitabqa_extended_02.jsonl" "b/multitabqa_extended_02.jsonl" new file mode 100644--- /dev/null +++ "b/multitabqa_extended_02.jsonl" @@ -0,0 +1,1645 @@ +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 4 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5], "data": [["1"], ["2"], ["3"], ["7"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_P6n3u_12.png", "TableImg_3dxwa_5.png"], "original_data_index": 0} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 1 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["1"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_K2z9b_12.png", "TableImg_Tj7u6_5.png"], "original_data_index": 1} +{"question": "SELECT name FROM aircraft WHERE \"aid\" = 9 AND name <> \"Lockheed L1011\" OR \"distance\" <= 6900 UNION ALL SELECT name FROM employee WHERE \"salary\" != 54921 AND name = \"William Ward\" AND \"eid\" >= 567354612", "answer": {"columns": ["name"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13], "data": [["Boeing 737-800"], ["British Aerospace Jetstream 41"], ["Embraer ERJ-145"], ["SAAB 340"], ["Piper Archer III"], ["Tupolev 154"], ["Schwitzer 2-33"], ["Lockheed L1011"], ["Boeing 757-300"], ["Boeing 777-300"], ["Boeing 767-400ER"], ["Airbus A320"], ["Airbus A319"], ["Boeing 727"]]}, "table_names": "['aircraft' 'employee']", "table_image_ids": ["TableImg_A34rn_16.png", "TableImg_Yrspu_31.png"], "original_data_index": 2} +{"question": "SELECT Template_ID FROM Documents WHERE Document_Name != \"About Korea\" OR Other_Details <> \"None\" OR Document_Description = \"w\" UNION SELECT Template_ID FROM Templates WHERE Date_Effective_To != \"2001-04-18 09:29:52\" AND Template_Type_Code = \"PPT\" AND \"Template_ID\" >= 11", "answer": {"columns": ["Template_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], "data": [["1"], ["4"], ["6"], ["7"], ["8"], ["10"], ["11"], ["14"], ["20"], ["21"], ["22"], ["25"]]}, "table_names": "['Documents' 'Templates']", "table_image_ids": ["TableImg_K1qov_15.png", "TableImg_Oqhsx_20.png"], "original_data_index": 3} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 5 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["3"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_G3vpk_5.png", "TableImg_Eu7s4_4.png"], "original_data_index": 4} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 2 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_B3bt1_12.png", "TableImg_1ij9l_5.png"], "original_data_index": 5} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 4 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 1", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["3"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Ghh1y_5.png", "TableImg_M4rd3_4.png"], "original_data_index": 6} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 5 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 2", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["1"], ["3"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Ejgt0_5.png", "TableImg_6qgcr_4.png"], "original_data_index": 7} +{"question": "SELECT department_ID FROM management WHERE \"head_ID\" > 10 UNION ALL SELECT department_ID FROM management WHERE \"head_ID\" > 3", "answer": {"columns": ["department_ID"], "index": [0, 1, 2, 3], "data": [["2"], ["2"], ["11"], ["15"]]}, "table_names": "['management' 'management']", "table_image_ids": ["TableImg_6050p_5.png", "TableImg_8izyw_5.png"], "original_data_index": 8} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 7 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Kicj7_12.png", "TableImg_Tumvm_5.png"], "original_data_index": 9} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 9 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Hu4bv_12.png", "TableImg_Befgv_5.png"], "original_data_index": 10} +{"question": "SELECT title FROM item WHERE title <> \"shampoo\" UNION ALL SELECT title FROM item WHERE \"i_id\" < 5", "answer": {"columns": ["title"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], "data": [["pear"], ["orange"], ["apple"], ["avocado"], ["comb"], ["blue hoodie"], ["cup"], ["pear"], ["orange"], ["apple"], ["shampoo"], ["avocado"]]}, "table_names": "['item' 'item']", "table_image_ids": ["TableImg_Rtwuh_8.png", "TableImg_Q5zhq_8.png"], "original_data_index": 11} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 6 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["4"], ["7"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Ahz05_12.png", "TableImg_N1dw2_5.png"], "original_data_index": 12} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 2 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_G0wmc_12.png", "TableImg_Gd96o_5.png"], "original_data_index": 13} +{"question": "SELECT MIN(document_id) FROM Circulation_History WHERE \"copy_number\" = 10 AND \"document_id\" <= 2 AND \"employee_id\" = 2 EXCEPT SELECT MIN(document_id) FROM Documents WHERE receipt_number <> \"189\" AND other_details != \"u\" OR receipt_date = \"1996-07-27 03:30:40\" AND shipping_agent_code <> \"FE\"", "answer": {"columns": ["MIN(document_id)"], "index": [0], "data": [[""]]}, "table_names": "['Circulation_History' 'Documents']", "table_image_ids": ["TableImg_9515k_4.png", "TableImg_6f67g_15.png"], "original_data_index": 14} +{"question": "SELECT District_ID FROM district WHERE \"District_ID\" <= 13 OR \"City_Population\" <= 365198.0 OR District_name != \"Dera Ghazi Khan District\" AND Headquartered_City = \"Bahawalpur City\" AND \"City_Area\" != 15.0 UNION SELECT District_ID FROM store_district WHERE \"Store_ID\" != 1 OR \"District_ID\" >= 4", "answer": {"columns": ["District_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"], ["13"], ["14"], ["15"]]}, "table_names": "['district' 'store_district']", "table_image_ids": ["TableImg_8yav8_15.png", "TableImg_O3rya_5.png"], "original_data_index": 15} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 10 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Fn73k_12.png", "TableImg_Gbr30_5.png"], "original_data_index": 16} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 10 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5], "data": [["3"], ["4"], ["7"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Rxjl8_12.png", "TableImg_Pbkca_5.png"], "original_data_index": 17} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 5 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["7"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Eupmh_12.png", "TableImg_Exxct_5.png"], "original_data_index": 18} +{"question": "SELECT draft_number, draft_details, document_id FROM Document_Drafts WHERE \"draft_number\" <> 0 AND draft_details <> \"w\" AND \"document_id\" > 4 UNION ALL SELECT draft_number, draft_details, document_id FROM Document_Drafts WHERE \"draft_number\" < 1 OR \"document_id\" <= 13 AND draft_details <> \"k\"", "answer": {"columns": ["draft_number", "draft_details", "document_id"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17], "data": [["10", "m", "7"], ["20", "k", "10"], ["11", "b", "12"], ["12", "r", "12"], ["16", "p", "13"], ["14", "x", "14"], ["19", "a", "17"], ["17", "l", "20"], ["9", "r", "23"], ["0", "e", "1"], ["1", "v", "2"], ["8", "v", "2"], ["9", "r", "4"], ["10", "m", "7"], ["11", "b", "12"], ["12", "r", "12"], ["4", "w", "13"], ["16", "p", "13"]]}, "table_names": "['Document_Drafts' 'Document_Drafts']", "table_image_ids": ["TableImg_Vi2dd_15.png", "TableImg_X0qx4_15.png"], "original_data_index": 19} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 2 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 2", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2], "data": [["1"], ["3"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Lo0x7_5.png", "TableImg_Fg4t6_4.png"], "original_data_index": 20} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 5 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Tgxok_12.png", "TableImg_Gd27u_5.png"], "original_data_index": 21} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 6 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["3"], ["4"], ["7"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Xkako_12.png", "TableImg_O28dj_5.png"], "original_data_index": 22} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 4 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["1"], ["2"], ["3"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_M8l8g_12.png", "TableImg_Zuav4_5.png"], "original_data_index": 23} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 12 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Rx350_12.png", "TableImg_Dxic1_5.png"], "original_data_index": 24} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 2 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Xyii0_12.png", "TableImg_6bz3l_5.png"], "original_data_index": 25} +{"question": "SELECT Rank, Coach_ID FROM coach WHERE Gender <> \"F\" AND \"Rank\" != 4 OR \"Club_ID\" > 1 UNION SELECT Rank, Coach_ID FROM coach WHERE \"Rank\" = 2 OR \"Coach_ID\" >= 5 OR \"Club_ID\" <= 1 OR Coach_name <> \"Joe Fabbri\" AND Gender != \"M\"", "answer": {"columns": ["Rank", "Coach_ID"], "index": [0, 1, 2, 3, 4], "data": [["1", "1"], ["2", "2"], ["3", "3"], ["4", "4"], ["5", "5"]]}, "table_names": "['coach' 'coach']", "table_image_ids": ["TableImg_Lraoj_5.png", "TableImg_Znexa_5.png"], "original_data_index": 26} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 9 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["3"], ["4"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_C6x27_12.png", "TableImg_Hml8a_5.png"], "original_data_index": 27} +{"question": "SELECT mailing_date, document_id, mailed_to_address_id FROM Documents_Mailed WHERE \"mailed_to_address_id\" <> 0 UNION ALL SELECT mailing_date, document_id, mailed_to_address_id FROM Documents_Mailed WHERE \"document_id\" = 4 AND \"mailed_to_address_id\" = 8", "answer": {"columns": ["mailing_date", "document_id", "mailed_to_address_id"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], "data": [["1977-04-01 17:03:50", "2", "8"], ["1992-11-07 15:03:41", "4", "3"], ["1973-02-21 10:17:01", "4", "9"], ["1979-09-21 10:30:52", "7", "5"], ["1993-05-24 22:13:48", "10", "3"], ["2007-01-01 22:32:11", "12", "7"], ["2007-03-20 05:22:01", "12", "8"], ["1991-05-27 14:17:37", "13", "4"], ["1986-05-16 06:25:33", "14", "5"], ["2010-11-04 04:00:16", "20", "2"], ["1982-01-14 05:50:54", "20", "7"], ["1971-11-03 12:32:14", "23", "8"]]}, "table_names": "['Documents_Mailed' 'Documents_Mailed']", "table_image_ids": ["TableImg_M99au_14.png", "TableImg_Z9i3t_14.png"], "original_data_index": 28} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 3 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5], "data": [["1"], ["2"], ["3"], ["4"], ["7"], ["9"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Tca1j_12.png", "TableImg_4pc4u_5.png"], "original_data_index": 29} +{"question": "SELECT document_status_description FROM Ref_Document_Status WHERE document_status_description != \"mailed late\" UNION SELECT document_status_description FROM Ref_Document_Status WHERE document_status_code = \"done\"", "answer": {"columns": ["document_status_description"], "index": [0, 1], "data": [["currently working on"], ["mailed"]]}, "table_names": "['Ref_Document_Status' 'Ref_Document_Status']", "table_image_ids": ["TableImg_Z7x6h_3.png", "TableImg_Ogt1x_3.png"], "original_data_index": 30} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 7 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_C8kgi_12.png", "TableImg_Gzfg5_5.png"], "original_data_index": 31} +{"question": "SELECT School_ID FROM school WHERE School != \"Occidental College\" AND Location = \"Jakarta, Indonesia\" OR Type = \"Public\" OR Grade = \"Junior\u2013Senior year\" UNION SELECT School_ID FROM school_bus WHERE \"School_ID\" <> 7 OR \"Driver_ID\" < 7", "answer": {"columns": ["School_ID"], "index": [0, 1, 2, 3, 4, 5], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"]]}, "table_names": "['school' 'school_bus']", "table_image_ids": ["TableImg_Wzt8i_7.png", "TableImg_M8itz_5.png"], "original_data_index": 32} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 1 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "data": [["2"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_I9ftp_12.png", "TableImg_6mvv2_5.png"], "original_data_index": 33} +{"question": "SELECT ModelId FROM model_list WHERE \"Maker\" >= 16 UNION SELECT ModelId FROM model_list WHERE \"Maker\" != 6 OR Model <> \"cadillac\"", "answer": {"columns": ["ModelId"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"], ["13"], ["14"], ["15"], ["16"], ["17"], ["18"], ["19"], ["20"], ["21"], ["22"], ["23"], ["24"], ["25"], ["26"], ["27"], ["28"], ["29"], ["30"], ["31"], ["32"], ["33"], ["34"], ["35"], ["36"]]}, "table_names": "['model_list' 'model_list']", "table_image_ids": ["TableImg_Nzr3y_36.png", "TableImg_3fdnk_36.png"], "original_data_index": 34} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 6 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["8"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Elflg_12.png", "TableImg_Usq38_5.png"], "original_data_index": 35} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 6 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["3"], ["4"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_3ynls_12.png", "TableImg_05yw2_5.png"], "original_data_index": 36} +{"question": "SELECT vehicle_id FROM Lessons WHERE \"staff_id\" > 4 OR \"customer_id\" <= 13 AND lesson_status_code <> \"Cancelled\" OR lesson_time = \"2\" OR \"vehicle_id\" > 3 OR \"price\" = 492.0 OR \"lesson_id\" != 2 UNION ALL SELECT vehicle_id FROM Vehicles WHERE \"vehicle_id\" <> 3 AND vehicle_details <> \"Car\"", "answer": {"columns": ["vehicle_id"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16], "data": [["3"], ["3"], ["2"], ["2"], ["2"], ["2"], ["1"], ["2"], ["2"], ["2"], ["1"], ["2"], ["1"], ["1"], ["1"], ["1"], ["2"]]}, "table_names": "['Lessons' 'Vehicles']", "table_image_ids": ["TableImg_B7aoh_15.png", "TableImg_X4zbt_3.png"], "original_data_index": 37} +{"question": "SELECT Sex, AVG(StuID), AVG(Age), Fname, MIN(Advisor), MIN(city_code), MAX(LName) FROM Student WHERE \"Advisor\" < 1121 AND \"Age\" = 20 AND Sex <> \"M\" AND city_code <> \"PIT\" OR Fname != \"Paul\" AND \"StuID\" = 1003 EXCEPT SELECT Sex, AVG(StuID), AVG(Age), Fname, MIN(Advisor), MIN(city_code), MAX(LName) FROM Student WHERE \"Age\" >= 20 AND Sex = \"F\" OR \"Major\" = 600 OR LName = \"Adams\"", "answer": {"columns": ["Sex", "AVG(StuID)", "AVG(Age)", "Fname", "MIN(Advisor)", "MIN(city_code)", "MAX(LName)"], "index": [0], "data": [["F", "1003", "21", "Shiela", "7792", "WAS", "Jones"]]}, "table_names": "['Student' 'Student']", "table_image_ids": ["TableImg_44gj6_34.png", "TableImg_Wl8uh_34.png"], "original_data_index": 38} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 12 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["9"], ["10"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Bsjri_12.png", "TableImg_H9f7j_5.png"], "original_data_index": 39} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 3 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID = 3", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["3"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Ymtu1_5.png", "TableImg_08zpw_4.png"], "original_data_index": 40} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 3 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 3", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Pav3s_5.png", "TableImg_0l92v_4.png"], "original_data_index": 41} +{"question": "SELECT draft_number, document_id FROM Document_Drafts WHERE \"document_id\" < 13 UNION SELECT draft_number, document_id FROM Draft_Copies WHERE \"draft_number\" = 8 AND \"copy_number\" <> 15", "answer": {"columns": ["draft_number", "document_id"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8], "data": [["0", "1"], ["1", "2"], ["2", "1"], ["8", "2"], ["9", "4"], ["10", "7"], ["11", "12"], ["12", "12"], ["20", "10"]]}, "table_names": "['Document_Drafts' 'Draft_Copies']", "table_image_ids": ["TableImg_Whugm_15.png", "TableImg_Jrryf_8.png"], "original_data_index": 42} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 7 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["8"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_3b6wi_12.png", "TableImg_Wcg3u_5.png"], "original_data_index": 43} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 2 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "data": [["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_1pni7_12.png", "TableImg_Yus8o_5.png"], "original_data_index": 44} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 8 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 4", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["4"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Jgfkw_12.png", "TableImg_O20sz_5.png"], "original_data_index": 45} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 4 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 5", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Hjf0m_5.png", "TableImg_Lzurt_4.png"], "original_data_index": 46} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 4 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_4hhe4_12.png", "TableImg_Icl1c_5.png"], "original_data_index": 47} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 2 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 2", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_J2u8f_5.png", "TableImg_Yvldc_4.png"], "original_data_index": 48} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 6 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Frecr_12.png", "TableImg_0ia38_5.png"], "original_data_index": 49} +{"question": "SELECT feature_id FROM Other_Available_Features WHERE \"feature_id\" <> 2 AND feature_type_code = \"Amenity\" AND feature_description <> \"Burglar Alarm\" OR feature_name = \"Pool\" UNION SELECT feature_id FROM Other_Property_Features WHERE \"feature_id\" <> 3 OR \"property_id\" <> 6", "answer": {"columns": ["feature_id"], "index": [0, 1, 2], "data": [["2"], ["3"], ["4"]]}, "table_names": "['Other_Available_Features' 'Other_Property_Features']", "table_image_ids": ["TableImg_Xaq18_3.png", "TableImg_Zjzsk_15.png"], "original_data_index": 50} +{"question": "SELECT People_ID FROM people WHERE Name <> \"Yevgeni Sivozhelez\" OR \"People_ID\" <> 1 AND Nationality = \"Russia\" AND Birth_Date = \"July 14, 1983\" OR \"Height\" >= 207.0 EXCEPT SELECT People_ID FROM poker_player WHERE \"Poker_Player_ID\" != 4", "answer": {"columns": ["People_ID"], "index": [0, 1, 2], "data": [["3"], ["4"], ["6"]]}, "table_names": "['people' 'poker_player']", "table_image_ids": ["TableImg_8e0g7_7.png", "TableImg_Mzt60_5.png"], "original_data_index": 51} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 6 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4], "data": [["6"], ["8"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Virkn_12.png", "TableImg_V39pm_5.png"], "original_data_index": 52} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 3 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8], "data": [["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_349f6_12.png", "TableImg_Z6ess_5.png"], "original_data_index": 53} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 7 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["3"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Sb6l3_12.png", "TableImg_Kghs0_5.png"], "original_data_index": 54} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 9 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["4"], ["7"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Y1cxm_12.png", "TableImg_Xe492_5.png"], "original_data_index": 55} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 2 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Lkwm6_12.png", "TableImg_B8p86_5.png"], "original_data_index": 56} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 12 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_A67qe_12.png", "TableImg_Mdtpk_5.png"], "original_data_index": 57} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 11 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["3"], ["4"], ["7"], ["9"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_1hdwz_12.png", "TableImg_Yi1zg_5.png"], "original_data_index": 58} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 6 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Omnc8_12.png", "TableImg_Q6tt6_5.png"], "original_data_index": 59} +{"question": "SELECT Name FROM employee WHERE Name = \"Lee Mears\" OR \"Age\" <= 29 AND \"Employee_ID\" <> 6 OR City = \"Bristol\" UNION SELECT Name FROM shop WHERE \"Shop_ID\" >= 5 AND Manager_name <> \"Job Dragtsma\" OR Name = \"FC Lahti\" OR \"Number_products\" < 5000 OR District != \"Arto Tolsa Areena\" AND Location <> \"Kuopio\"", "answer": {"columns": ["Name"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14], "data": [["FC Haka"], ["FC Honka"], ["FC Inter"], ["FC KooTeePee"], ["FC Lahti"], ["FF Jaro"], ["George Chuter"], ["HJK"], ["IFK Mariehamn"], ["Jason Hobson"], ["KuPS"], ["Lee Mears"], ["Mark Regan"], ["Matt Stevens"], ["Tim Payne"]]}, "table_names": "['employee' 'shop']", "table_image_ids": ["TableImg_S1qs3_10.png", "TableImg_A6s7f_9.png"], "original_data_index": 60} +{"question": "SELECT MAX(feature_type_code) FROM Other_Available_Features WHERE feature_name != \"BurglarAlarm\" AND \"feature_id\" >= 3 AND feature_type_code != \"Security\" EXCEPT SELECT MAX(feature_type_code) FROM Ref_Feature_Types WHERE feature_type_name <> \"Amenity, eg Pool.\"", "answer": {"columns": ["MAX(feature_type_code)"], "index": [0], "data": [["Amenity"]]}, "table_names": "['Other_Available_Features' 'Ref_Feature_Types']", "table_image_ids": ["TableImg_Mydl3_3.png", "TableImg_Yz1ug_2.png"], "original_data_index": 61} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 1 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Mdsn2_12.png", "TableImg_69i9p_5.png"], "original_data_index": 62} +{"question": "SELECT SUM(Club_ID), Gender, AVG(Coach_name) FROM coach WHERE \"Club_ID\" >= 1 UNION SELECT SUM(Club_ID), Gender, AVG(Coach_name) FROM coach WHERE \"Rank\" > 1 OR \"Coach_ID\" <> 2 OR Gender <> \"M\" AND \"Club_ID\" >= 1", "answer": {"columns": ["SUM(Club_ID)", "Gender", "AVG(Coach_name)"], "index": [0], "data": [["9", "M", "0"]]}, "table_names": "['coach' 'coach']", "table_image_ids": ["TableImg_Erq1m_5.png", "TableImg_Cv9ns_5.png"], "original_data_index": 63} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 12 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 3", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Xoa28_12.png", "TableImg_Tty27_5.png"], "original_data_index": 64} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 5 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID = 2", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["2"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_09734_5.png", "TableImg_Xtzgc_4.png"], "original_data_index": 65} +{"question": "SELECT document_type_description FROM Ref_Document_Types WHERE document_type_code = \"Paper\" UNION ALL SELECT document_type_description FROM Ref_Document_Types WHERE document_type_code = \"Hard Drive\"", "answer": {"columns": ["document_type_description"], "index": [0, 1], "data": [["u"], ["f"]]}, "table_names": "['Ref_Document_Types' 'Ref_Document_Types']", "table_image_ids": ["TableImg_9yx5y_3.png", "TableImg_2k4y8_3.png"], "original_data_index": 66} +{"question": "SELECT Member_ID FROM member WHERE Hometown = \"LaGrange, Georgia\" UNION ALL SELECT Member_ID FROM membership_register_branch WHERE Register_Year != \"2016\"", "answer": {"columns": ["Member_ID"], "index": [0, 1, 2], "data": [["5"], ["3"], ["6"]]}, "table_names": "['member' 'membership_register_branch']", "table_image_ids": ["TableImg_A8mdw_10.png", "TableImg_U1tdt_8.png"], "original_data_index": 67} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 1 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 3", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3], "data": [["2"], ["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Hzo89_5.png", "TableImg_7fv25_4.png"], "original_data_index": 68} +{"question": "SELECT draft_number FROM Circulation_History WHERE \"copy_number\" != 10 UNION SELECT draft_number FROM Document_Drafts WHERE \"draft_number\" = 8 AND \"document_id\" < 12", "answer": {"columns": ["draft_number"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["8"], ["17"]]}, "table_names": "['Circulation_History' 'Document_Drafts']", "table_image_ids": ["TableImg_92692_4.png", "TableImg_Jibc5_15.png"], "original_data_index": 69} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 2 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 3", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["3"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_95dn9_12.png", "TableImg_9530a_5.png"], "original_data_index": 70} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 5 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 2", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["3"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_E0r36_5.png", "TableImg_5jp7g_4.png"], "original_data_index": 71} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 9 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_G7vg2_12.png", "TableImg_L81ao_5.png"], "original_data_index": 72} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 4 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["1"], ["2"], ["3"], ["4"], ["7"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_19phx_12.png", "TableImg_Rb8do_5.png"], "original_data_index": 73} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 2 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["5"], ["6"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_9h91h_12.png", "TableImg_Fs9h8_5.png"], "original_data_index": 74} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 2 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 5", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["1"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_C47rp_5.png", "TableImg_Rw8je_4.png"], "original_data_index": 75} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID = 4 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_B9gox_5.png", "TableImg_Coyh4_4.png"], "original_data_index": 76} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 3 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8], "data": [["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Ysd0v_12.png", "TableImg_3gk6d_5.png"], "original_data_index": 77} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 7 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 9", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["7"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Zises_12.png", "TableImg_Sqmkt_5.png"], "original_data_index": 78} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 2 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Yy045_12.png", "TableImg_0mfif_5.png"], "original_data_index": 79} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 3 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 4", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["4"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_L86h5_12.png", "TableImg_Ich50_5.png"], "original_data_index": 80} +{"question": "SELECT COUNT(membership_amount), AVG(City), COUNT(Name), Branch_ID FROM branch WHERE Address_road = \"Abbey Rise\" UNION ALL SELECT COUNT(membership_amount), AVG(City), COUNT(Name), Branch_ID FROM branch WHERE Open_year != \"2009\" AND membership_amount <> \"112\"", "answer": {"columns": ["COUNT(membership_amount)", "AVG(City)", "COUNT(Name)", "Branch_ID"], "index": [0, 1], "data": [["1", "0", "1", "4"], ["4", "0", "4", "3"]]}, "table_names": "['branch' 'branch']", "table_image_ids": ["TableImg_Q8lwv_8.png", "TableImg_6olna_8.png"], "original_data_index": 81} +{"question": "SELECT SUM(Branch_ID) FROM branch WHERE Address_road = \"Glebe Street\" AND \"Branch_ID\" < 4 AND City != \"London\" OR membership_amount <> \"1418\" EXCEPT SELECT SUM(Branch_ID) FROM purchase WHERE \"Total_pounds\" >= 988.09 OR Branch_ID != \"2\"", "answer": {"columns": ["SUM(Branch_ID)"], "index": [0], "data": [["31"]]}, "table_names": "['branch' 'purchase']", "table_image_ids": ["TableImg_P4dwm_8.png", "TableImg_3c4m3_8.png"], "original_data_index": 82} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 3 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2], "data": [["1"], ["2"], ["4"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_0wuuf_5.png", "TableImg_Nmx3i_4.png"], "original_data_index": 83} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 1 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["3"], ["4"], ["7"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Sh8gl_12.png", "TableImg_7l6cu_5.png"], "original_data_index": 84} +{"question": "SELECT AVG(T1.i_id), T2.rank FROM item as T1 JOIN review as T2 ON T1.i_id = T2.i_id WHERE \"u_id\" > 2 OR \"rank\" < 3 OR \"a_id\" > 1 OR title = \"comb\" OR \"rating\" <= 6", "answer": {"columns": ["AVG(T1.i_id)", "rank"], "index": [0], "data": [["4", "1"]]}, "table_names": "['item' 'review']", "table_image_ids": ["TableImg_Ixbce_8.png", "TableImg_S2rh9_7.png"], "original_data_index": 85} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 4 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 1", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2], "data": [["1"], ["2"], ["3"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_9ubn3_5.png", "TableImg_Qbt5f_4.png"], "original_data_index": 86} +{"question": "SELECT Store_ID FROM store_product WHERE \"Product_ID\" != 6 UNION SELECT Store_ID FROM store_product WHERE \"Product_ID\" <> 1", "answer": {"columns": ["Store_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["3"], ["5"]]}, "table_names": "['store_product' 'store_product']", "table_image_ids": ["TableImg_Enoso_15.png", "TableImg_Mvqmd_15.png"], "original_data_index": 87} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 3 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 3", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Gc4cl_5.png", "TableImg_Vqzip_4.png"], "original_data_index": 88} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 5 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 3", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["3"], ["4"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Kl9xo_5.png", "TableImg_Zzqjv_4.png"], "original_data_index": 89} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 5 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["1"], ["2"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_R9icu_12.png", "TableImg_51mvh_5.png"], "original_data_index": 90} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 1 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["7"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Nvra1_12.png", "TableImg_O3lfa_5.png"], "original_data_index": 91} +{"question": "SELECT property_type_code, property_type_description FROM Ref_Property_Types WHERE property_type_description = \"Apartment, Flat, Condo, etc.\" UNION SELECT property_type_code, property_type_description FROM Ref_Property_Types WHERE property_type_code <> \"Field\" OR property_type_description != \"House, Bungalow, etc.\"", "answer": {"columns": ["property_type_code", "property_type_description"], "index": [0, 1, 2, 3, 4], "data": [["Apartment", "Apartment, Flat, Condo, etc."], ["Field", "Field, Meadow."], ["House", "House, Bungalow, etc."], ["Other", "Other, to be determined."], ["Shop", "Shop, Retail Outlet."]]}, "table_names": "['Ref_Property_Types' 'Ref_Property_Types']", "table_image_ids": ["TableImg_14rts_5.png", "TableImg_W3lze_5.png"], "original_data_index": 92} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 11 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5], "data": [["3"], ["7"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_2w33m_12.png", "TableImg_Dgwnq_5.png"], "original_data_index": 93} +{"question": "SELECT property_type_code FROM Properties WHERE oth_feature_3 <> \"None\" AND property_name = \"the cole\" OR fld_feature_2 <> \"None\" AND date_sold != \"1997-11-07 20:22:05\" AND hse_feature_3 = \"None\" AND hse_feature_2 = \"None\" OR fld_feature_1 != \"None\" OR \"room_count\" != 7 UNION ALL SELECT property_type_code FROM Ref_Property_Types WHERE property_type_description <> \"Other, to be determined.\"", "answer": {"columns": ["property_type_code"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16], "data": [["House"], ["Other"], ["Field"], ["Apartment"], ["Shop"], ["Shop"], ["Apartment"], ["Apartment"], ["Apartment"], ["Other"], ["Apartment"], ["Other"], ["Apartment"], ["House"], ["Apartment"], ["Field"], ["Shop"]]}, "table_names": "['Properties' 'Ref_Property_Types']", "table_image_ids": ["TableImg_75ukq_15.png", "TableImg_178kn_5.png"], "original_data_index": 94} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 10 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7], "data": [["1"], ["2"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_3clwo_12.png", "TableImg_Kefwv_5.png"], "original_data_index": 95} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 2 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["7"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_2rsq6_12.png", "TableImg_Mkr8z_5.png"], "original_data_index": 96} +{"question": "SELECT Location FROM school WHERE \"School_ID\" <> 2 AND School != \"Punahou School\" UNION SELECT Location FROM school WHERE Grade != \"Freshman\u2013Sophomore year\"", "answer": {"columns": ["Location"], "index": [0, 1, 2, 3, 4], "data": [["Cambridge, Massachusetts"], ["Honolulu, Hawaii"], ["Jakarta, Indonesia"], ["Los Angeles, California"], ["New York City"]]}, "table_names": "['school' 'school']", "table_image_ids": ["TableImg_Yiztz_7.png", "TableImg_Sz2si_7.png"], "original_data_index": 97} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 1 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["3"], ["4"], ["7"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_K5a98_12.png", "TableImg_Ew9qv_5.png"], "original_data_index": 98} +{"question": "SELECT lesson_time, vehicle_id, lesson_date, staff_id, price, lesson_status_code, customer_id, lesson_id FROM Lessons WHERE lesson_time <> \"4\" OR \"lesson_id\" >= 9 AND \"price\" <> 223.0 OR \"staff_id\" != 5 AND lesson_date = \"2018-03-12 00:41:59\" OR \"vehicle_id\" != 2 UNION ALL SELECT lesson_time, vehicle_id, lesson_date, staff_id, price, lesson_status_code, customer_id, lesson_id FROM Lessons WHERE lesson_time = \"6\" OR \"price\" >= 352.0 AND \"staff_id\" > 8 OR \"lesson_id\" = 6 AND \"vehicle_id\" < 1 AND lesson_date = \"2018-03-08 16:05:05\" OR \"customer_id\" < 10 AND lesson_status_code = \"Cancelled\"", "answer": {"columns": ["lesson_time", "vehicle_id", "lesson_date", "staff_id", "price", "lesson_status_code", "customer_id", "lesson_id"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23], "data": [["5", "3", "2018-02-28 10:55:36", "8", "199", "Cancelled", "6", "1"], ["6", "3", "2018-03-07 16:12:36", "14", "167", "Cancelled", "8", "2"], ["3", "2", "2018-03-03 15:10:16", "11", "352", "Cancelled", "6", "3"], ["9", "2", "2018-03-17 19:02:07", "1", "306", "Completed", "8", "4"], ["9", "2", "2018-03-12 00:41:59", "3", "295", "Completed", "10", "5"], ["6", "2", "2018-03-07 22:03:49", "4", "492", "Completed", "5", "6"], ["9", "1", "2018-03-08 16:05:05", "11", "231", "Cancelled", "9", "7"], ["2", "2", "2018-03-21 06:48:45", "8", "277", "Completed", "3", "8"], ["9", "2", "2018-03-05 20:05:33", "4", "456", "Completed", "2", "9"], ["4", "2", "2018-02-26 02:36:35", "5", "495", "Cancelled", "2", "10"], ["2", "1", "2018-03-04 06:55:46", "15", "223", "Cancelled", "10", "11"], ["2", "2", "2018-03-16 07:08:52", "12", "184", "Cancelled", "11", "12"], ["5", "1", "2018-03-05 18:05:31", "12", "446", "Completed", "13", "13"], ["5", "1", "2018-03-07 11:53:32", "11", "483", "Cancelled", "11", "14"], ["9", "1", "2018-03-06 21:48:51", "8", "340", "Cancelled", "3", "15"], ["5", "3", "2018-02-28 10:55:36", "8", "199", "Cancelled", "6", "1"], ["6", "3", "2018-03-07 16:12:36", "14", "167", "Cancelled", "8", "2"], ["3", "2", "2018-03-03 15:10:16", "11", "352", "Cancelled", "6", "3"], ["6", "2", "2018-03-07 22:03:49", "4", "492", "Completed", "5", "6"], ["9", "1", "2018-03-08 16:05:05", "11", "231", "Cancelled", "9", "7"], ["4", "2", "2018-02-26 02:36:35", "5", "495", "Cancelled", "2", "10"], ["5", "1", "2018-03-05 18:05:31", "12", "446", "Completed", "13", "13"], ["5", "1", "2018-03-07 11:53:32", "11", "483", "Cancelled", "11", "14"], ["9", "1", "2018-03-06 21:48:51", "8", "340", "Cancelled", "3", "15"]]}, "table_names": "['Lessons' 'Lessons']", "table_image_ids": ["TableImg_Jxo7v_15.png", "TableImg_Vu6lk_15.png"], "original_data_index": 99} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 8 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4], "data": [["4"], ["7"], ["8"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Msj5u_12.png", "TableImg_7ghhd_5.png"], "original_data_index": 100} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 6 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 10", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Yoj9l_12.png", "TableImg_Trh61_5.png"], "original_data_index": 101} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 5 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID = 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_379mv_5.png", "TableImg_Ujt48_4.png"], "original_data_index": 102} +{"question": "SELECT SUM(id) FROM albums WHERE \"artist_id\" <> 150 OR title = \"The Best of Beethoven\" OR \"id\" <> 219 UNION SELECT SUM(id) FROM media_types WHERE name = \"Protected MPEG-4 video file\" OR \"id\" != 2", "answer": {"columns": ["SUM(id)"], "index": [0, 1], "data": [["13"], ["60378"]]}, "table_names": "['albums' 'media_types']", "table_image_ids": ["TableImg_Vooja_347.png", "TableImg_Ez76n_5.png"], "original_data_index": 103} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 3 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 1", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["1"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Vkgri_5.png", "TableImg_T79un_4.png"], "original_data_index": 104} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 3 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5], "data": [["1"], ["2"], ["3"], ["7"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_9q0lh_12.png", "TableImg_Vqswk_5.png"], "original_data_index": 105} +{"question": "SELECT shipping_agent_code FROM Documents WHERE document_type_code != \"Hard Drive\" OR receipt_date <> \"2008-04-21 20:42:25\" OR \"document_id\" <> 10 AND document_status_code != \"working\" OR other_details <> \"u\" OR shipping_agent_code != \"US\" OR receipt_number = \"37\" EXCEPT SELECT shipping_agent_code FROM Ref_Shipping_Agents WHERE shipping_agent_description <> \"w\" OR shipping_agent_code != \"AL\"", "answer": {"columns": ["shipping_agent_code"], "index": [0], "data": [["AL"]]}, "table_names": "['Documents' 'Ref_Shipping_Agents']", "table_image_ids": ["TableImg_Qnux5_15.png", "TableImg_8zltx_5.png"], "original_data_index": 106} +{"question": "SELECT distance, aid FROM aircraft WHERE name <> \"Boeing 727\" AND \"aid\" > 14 EXCEPT SELECT distance, aid FROM flight WHERE \"aid\" = 5 AND \"flno\" < 99 OR \"distance\" <> 2308 OR destination <> \"Tokyo\" OR departure_date <> \"04/12/2005 09:15\" AND \"price\" > 278.56 AND origin != \"Los Angeles\"", "answer": {"columns": ["distance", "aid"], "index": [0], "data": [["30", "16"]]}, "table_names": "['aircraft' 'flight']", "table_image_ids": ["TableImg_9xsdg_16.png", "TableImg_Xmlth_10.png"], "original_data_index": 107} +{"question": "SELECT Employee_ID FROM evaluation WHERE Year_awarded != \"2011\" UNION ALL SELECT Employee_ID FROM hiring WHERE \"Employee_ID\" = 4 AND \"Shop_ID\" < 6 AND Is_full_time = \"T\" OR Start_from = \"2011\"", "answer": {"columns": ["Employee_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["1"], ["10"], ["2"], ["4"], ["7"], ["3"], ["4"]]}, "table_names": "['evaluation' 'hiring']", "table_image_ids": ["TableImg_Ywzuu_6.png", "TableImg_X5rh5_7.png"], "original_data_index": 108} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 2 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 2", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Lwoi4_5.png", "TableImg_Xlclw_4.png"], "original_data_index": 109} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 2 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Etyzw_5.png", "TableImg_R6tsn_4.png"], "original_data_index": 110} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 2 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["3"], ["4"], ["7"], ["9"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_K0bwz_12.png", "TableImg_5r201_5.png"], "original_data_index": 111} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 7 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 7", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["7"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Fq0oi_12.png", "TableImg_O9b48_5.png"], "original_data_index": 112} +{"question": "SELECT Branch_ID FROM membership_register_branch WHERE Branch_ID <> \"1\" OR Register_Year != \"2016\" UNION SELECT Branch_ID FROM membership_register_branch WHERE Register_Year != \"2016\" OR \"Member_ID\" < 7", "answer": {"columns": ["Branch_ID"], "index": [0, 1, 2, 3, 4, 5], "data": [["1"], ["2"], ["4"], ["5"], ["6"], ["8"]]}, "table_names": "['membership_register_branch' 'membership_register_branch']", "table_image_ids": ["TableImg_Azqyx_8.png", "TableImg_59um9_8.png"], "original_data_index": 113} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 1 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 2", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["1"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Tiift_5.png", "TableImg_V98hg_4.png"], "original_data_index": 114} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 3 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2], "data": [["1"], ["2"], ["3"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Oio87_5.png", "TableImg_Y3rj2_4.png"], "original_data_index": 115} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 8 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["3"], ["4"], ["7"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Jbl7q_12.png", "TableImg_Xkkm7_5.png"], "original_data_index": 116} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 5 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 2", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["1"], ["3"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Tisac_5.png", "TableImg_Rt1vj_4.png"], "original_data_index": 117} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 5 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["3"], ["4"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Spi3a_5.png", "TableImg_Dmmz4_4.png"], "original_data_index": 118} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 1 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 3", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Jvvch_5.png", "TableImg_5wvsl_4.png"], "original_data_index": 119} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 2 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 2", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["1"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Zl35h_5.png", "TableImg_I7qdb_4.png"], "original_data_index": 120} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 8 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5], "data": [["3"], ["4"], ["7"], ["8"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Q3o0t_12.png", "TableImg_Uvtrl_5.png"], "original_data_index": 121} +{"question": "SELECT IATA, ICAO, name, id FROM airport WHERE City = \"Baltimore\" OR ICAO != \"PANC\" OR IATA != \"ANC\" OR name != \"Ted Stevens Airport\" AND Country <> \"United States\" OR \"id\" > 1 UNION SELECT IATA, ICAO, name, id FROM airport WHERE City != \"Brussels\" AND name <> \"Billund Airport\"", "answer": {"columns": ["IATA", "ICAO", "name", "id"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8], "data": [["AEY", "BIAR", "Akureyri Airport", "1"], ["AMS", "EHAM", "Schiphol Airport", "2"], ["ANC", "PANC", "Ted Stevens Airport", "3"], ["BCN", "LEBL", "El Prat Airport", "5"], ["BGO", "ENBR", "Bergen Airport", "6"], ["BLL", "EKBI", "Billund Airport", "7"], ["BOS", "KBOS", "Logan International Airport", "8"], ["BRU", "EBBR", "National Airport", "9"], ["BWI", "KBWI", "Baltimore-Washington Airport", "4"]]}, "table_names": "['airport' 'airport']", "table_image_ids": ["TableImg_7w36m_9.png", "TableImg_Ybqaa_9.png"], "original_data_index": 122} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 5 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["1"], ["2"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_4f332_12.png", "TableImg_K29hj_5.png"], "original_data_index": 123} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 1 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["4"], ["7"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_U70oh_12.png", "TableImg_Oynjn_5.png"], "original_data_index": 124} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 2 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 3", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2], "data": [["1"], ["2"], ["3"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Ngv9c_5.png", "TableImg_Aftq1_4.png"], "original_data_index": 125} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 12 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 7", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["7"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Jrfeb_12.png", "TableImg_8kelr_5.png"], "original_data_index": 126} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 6 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["7"], ["8"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_80n6e_12.png", "TableImg_6yazy_5.png"], "original_data_index": 127} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 10 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["3"], ["7"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_2l1g3_12.png", "TableImg_Ak3co_5.png"], "original_data_index": 128} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 2 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8], "data": [["1"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Mvb40_12.png", "TableImg_H8vw5_5.png"], "original_data_index": 129} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 7 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4], "data": [["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Q2m4w_12.png", "TableImg_Bhci8_5.png"], "original_data_index": 130} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 9 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Ocuk1_12.png", "TableImg_Jf604_5.png"], "original_data_index": 131} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 4 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Cw0t3_12.png", "TableImg_S5o6z_5.png"], "original_data_index": 132} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 7 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["8"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_C2s62_12.png", "TableImg_F7ztk_5.png"], "original_data_index": 133} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID = 2 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID = 1", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["2"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_1l84b_5.png", "TableImg_9rjba_4.png"], "original_data_index": 134} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 2 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 3", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2], "data": [["1"], ["3"], ["4"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_St8n8_5.png", "TableImg_Q04a5_4.png"], "original_data_index": 135} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 7 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["3"], ["4"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_4ni2o_12.png", "TableImg_63d2t_5.png"], "original_data_index": 136} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 1 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID = 2", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2], "data": [["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_82a0t_5.png", "TableImg_Gywnr_4.png"], "original_data_index": 137} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 5 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 1", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["1"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_2ok2t_5.png", "TableImg_1z8i2_4.png"], "original_data_index": 138} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 9 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Aub1f_12.png", "TableImg_Lucnv_5.png"], "original_data_index": 139} +{"question": "SELECT Party, Home_city, Name, AVG(Age), Driver_ID FROM driver WHERE \"Driver_ID\" <> 8 OR Home_city <> \"Hartford\" OR Party = \"Dem\" UNION ALL SELECT Party, Home_city, Name, AVG(Age), Driver_ID FROM driver WHERE Name <> \"Brandon McGee\"", "answer": {"columns": ["Party", "Home_city", "Name", "AVG(Age)", "Driver_ID"], "index": [0, 1], "data": [["Dem", "Hartford", "Matthew Ritter", "40.75", "1"], ["Dem", "Hartford", "Matthew Ritter", "40.3636363636", "1"]]}, "table_names": "['driver' 'driver']", "table_image_ids": ["TableImg_1l1be_12.png", "TableImg_Oasmj_12.png"], "original_data_index": 140} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 4 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 2", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["2"], ["4"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_F370q_5.png", "TableImg_Fmm5a_4.png"], "original_data_index": 141} +{"question": "SELECT eid FROM certificate WHERE \"eid\" > 574489456 UNION SELECT eid FROM employee WHERE \"eid\" <> 141582651 AND name != \"Patricia Jones\" AND \"salary\" <= 43723", "answer": {"columns": ["eid"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8], "data": [["15645489"], ["90873519"], ["248965255"], ["310454877"], ["348121549"], ["486512566"], ["489221823"], ["489456522"], ["574489457"]]}, "table_names": "['certificate' 'employee']", "table_image_ids": ["TableImg_Aa2r5_69.png", "TableImg_Qatvj_31.png"], "original_data_index": 142} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 2 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "data": [["1"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_6rle6_12.png", "TableImg_Mz2j1_5.png"], "original_data_index": 143} +{"question": "SELECT AVG(feature_type_name), feature_type_code FROM Ref_Feature_Types WHERE feature_type_name = \"Securiyt, eg Burglar Alarm.\" AND feature_type_code != \"Security\" UNION SELECT AVG(feature_type_name), feature_type_code FROM Ref_Feature_Types WHERE feature_type_code = \"Security\"", "answer": {"columns": ["AVG(feature_type_name)", "feature_type_code"], "index": [0, 1], "data": [["", ""], ["0.0", "Security"]]}, "table_names": "['Ref_Feature_Types' 'Ref_Feature_Types']", "table_image_ids": ["TableImg_N6xw5_2.png", "TableImg_Br9zj_2.png"], "original_data_index": 144} +{"question": "SELECT Allergy FROM Allergy_Type WHERE AllergyType = \"environmental\" UNION SELECT Allergy FROM Has_Allergy WHERE Allergy != \"Ragweed\" AND \"StuID\" <= 1010", "answer": {"columns": ["Allergy"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "data": [["Anchovies"], ["Cat"], ["Dog"], ["Eggs"], ["Grass Pollen"], ["Milk"], ["Nuts"], ["Ragweed"], ["Shellfish"], ["Tree Pollen"]]}, "table_names": "['Allergy_Type' 'Has_Allergy']", "table_image_ids": ["TableImg_Elhx2_14.png", "TableImg_M078k_59.png"], "original_data_index": 145} +{"question": "SELECT vehicle_id FROM Lessons WHERE \"staff_id\" > 1 OR \"price\" <= 231.0 AND lesson_time != \"9\" EXCEPT SELECT vehicle_id FROM Vehicles WHERE \"vehicle_id\" < 2 OR vehicle_details = \"Van\"", "answer": {"columns": ["vehicle_id"], "index": [0, 1], "data": [["2"], ["3"]]}, "table_names": "['Lessons' 'Vehicles']", "table_image_ids": ["TableImg_O89hg_15.png", "TableImg_L944m_3.png"], "original_data_index": 146} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 5 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 10", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["5"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Bvt79_12.png", "TableImg_Aukli_5.png"], "original_data_index": 147} +{"question": "SELECT hse_feature_2, buyer_offered_price, oth_feature_1, hse_feature_1, fld_feature_1, fld_feature_2, date_on_market, agreed_selling_price, date_sold, apt_feature_1, vendor_requested_price, room_count, property_type_code, other_property_details, oth_feature_3, shp_feature_2, shp_feature_1, hse_feature_3, apt_feature_2, apt_feature_3, property_address, oth_feature_2, property_id FROM Properties WHERE oth_feature_1 = \"None\" AND hse_feature_2 != \"None\" OR shp_feature_2 <> \"None\" OR \"property_id\" != 11 OR property_type_code = \"Field\" AND shp_feature_3 = \"None\" INTERSECT SELECT hse_feature_2, buyer_offered_price, oth_feature_1, hse_feature_1, fld_feature_1, fld_feature_2, date_on_market, agreed_selling_price, date_sold, apt_feature_1, vendor_requested_price, room_count, property_type_code, other_property_details, oth_feature_3, shp_feature_2, shp_feature_1, hse_feature_3, apt_feature_2, apt_feature_3, property_address, oth_feature_2, property_id FROM Properties WHERE date_sold = \"2003-02-27 18:17:11\" OR hse_feature_2 <> \"None\" AND shp_feature_3 != \"None\" AND date_on_market != \"1976-06-10 20:25:38\" AND \"vendor_requested_price\" <= 331.0 AND apt_feature_2 != \"culpa\" AND property_name = \"high line\"", "answer": {"columns": ["hse_feature_2", "buyer_offered_price", "oth_feature_1", "hse_feature_1", "fld_feature_1", "fld_feature_2", "date_on_market", "agreed_selling_price", "date_sold", "apt_feature_1", "vendor_requested_price", "room_count", "property_type_code", "other_property_details", "oth_feature_3", "shp_feature_2", "shp_feature_1", "hse_feature_3", "apt_feature_2", "apt_feature_3", "property_address", "oth_feature_2", "property_id"], "index": [0], "data": [["", "15.17", "", "", "", "", "2017-09-14 15:49:23", "4514.807", "2003-02-27 18:17:11", "nesciunt", "192374065.8", "6", "Field", "", "", "", "", "", "adipisci", "", "49578 Ayden Mountains\nNew Russellhaven, UT 46626", "", "4"]]}, "table_names": "['Properties' 'Properties']", "table_image_ids": ["TableImg_Sqtzc_15.png", "TableImg_U2fxh_15.png"], "original_data_index": 148} +{"question": "SELECT endowment_id FROM endowment WHERE donator_name != \"San Crist\u00f3bal\" UNION ALL SELECT endowment_id FROM endowment WHERE \"amount\" <> 9.83 AND \"School_id\" <> 3 AND donator_name <> \"San Jos\u00e9 de Ocoa\" AND \"endowment_id\" > 6", "answer": {"columns": ["endowment_id"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14], "data": [["1"], ["2"], ["3"], ["4"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["7"], ["8"], ["9"], ["10"], ["11"]]}, "table_names": "['endowment' 'endowment']", "table_image_ids": ["TableImg_62jzx_11.png", "TableImg_P30cn_11.png"], "original_data_index": 149} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 7 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Yxlg5_12.png", "TableImg_H3zpq_5.png"], "original_data_index": 150} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 2 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8], "data": [["1"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Vj5pc_12.png", "TableImg_P4t5n_5.png"], "original_data_index": 151} +{"question": "SELECT School_id FROM School WHERE \"Enrollment\" > 287 AND IHSAA_Football_Class = \"AAAA\" AND IHSAA_Class <> \"AAA\" OR Location <> \"Bremen\" OR School_id != \"1\" AND School_name = \"Jimtown\" OR County != \"20 Elkhart\" AND Mascot != \"Falcons\" UNION ALL SELECT School_id FROM budget WHERE Budget_invested_percent != \"71.3\"", "answer": {"columns": ["School_id"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["2"], ["2"], ["2"], ["3"], ["4"], ["5"], ["5"]]}, "table_names": "['School' 'budget']", "table_image_ids": ["TableImg_Pcyew_8.png", "TableImg_Zcust_8.png"], "original_data_index": 152} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 5 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["3"], ["4"], ["5"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Ikoz1_12.png", "TableImg_115rn_5.png"], "original_data_index": 153} +{"question": "SELECT Assets_in_Billion, Industry, Headquarters, Name FROM company WHERE Headquarters <> \"USA\" UNION ALL SELECT Assets_in_Billion, Industry, Headquarters, Name FROM company WHERE \"Sales_in_Billion\" > 433.5 OR Name <> \"Wells Fargo\" OR \"Company_ID\" < 11.0 AND Industry <> \"Conglomerate\"", "answer": {"columns": ["Assets_in_Billion", "Industry", "Headquarters", "Name"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29], "data": [["340.5", "Oil and gas", "Netherlands", "Royal Dutch Shell"], ["2039.1", "Banking", "China", "Industrial and Commercial Bank of China"], ["2550.0", "Banking", "UK", "HSBC"], ["304.7", "Oil and gas", "China", "PetroChina"], ["319.4", "Oil and gas", "Brazil", "Petrobras"], ["292.5", "Oil and gas", "UK", "BP"], ["1637.8", "Banking", "China", "China Construction Bank"], ["302.6", "Oil and gas", "Russia", "Gazprom"], ["328.7", "Automotive", "Germany", "Volkswagen Group"], ["213.0", "Oil and gas", "France", "Total"], ["1563.9", "Banking", "China", "Agricultural Bank of China"], ["331.1", "Oil and gas", "USA", "ExxonMobil"], ["2265.8", "Banking", "USA", "JPMorgan Chase"], ["717.2", "Conglomerate", "USA", "General Electric"], ["340.5", "Oil and gas", "Netherlands", "Royal Dutch Shell"], ["2039.1", "Banking", "China", "Industrial and Commercial Bank of China"], ["2550.0", "Banking", "UK", "HSBC"], ["304.7", "Oil and gas", "China", "PetroChina"], ["392.6", "Conglomerate", "USA", "Berkshire Hathaway"], ["1313.9", "Banking", "USA", "Wells Fargo"], ["319.4", "Oil and gas", "Brazil", "Petrobras"], ["292.5", "Oil and gas", "UK", "BP"], ["209.5", "Oil and gas", "USA", "Chevron"], ["1637.8", "Banking", "China", "China Construction Bank"], ["1873.9", "Banking", "USA", "Citigroup"], ["302.6", "Oil and gas", "Russia", "Gazprom"], ["193.4", "Retailing", "USA", "Walmart"], ["328.7", "Automotive", "Germany", "Volkswagen Group"], ["213.0", "Oil and gas", "France", "Total"], ["1563.9", "Banking", "China", "Agricultural Bank of China"]]}, "table_names": "['company' 'company']", "table_image_ids": ["TableImg_2euth_19.png", "TableImg_Gwgwa_19.png"], "original_data_index": 154} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 1 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "data": [["2"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Isxzp_12.png", "TableImg_Ok9kn_5.png"], "original_data_index": 155} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 3 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["7"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Nvsq1_12.png", "TableImg_Wywb3_5.png"], "original_data_index": 156} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 10 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["3"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_0n3nn_12.png", "TableImg_Axa34_5.png"], "original_data_index": 157} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 6 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["3"], ["4"], ["5"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Wbhpf_12.png", "TableImg_72aur_5.png"], "original_data_index": 158} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 1 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["4"], ["7"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Bzp10_12.png", "TableImg_94bpo_5.png"], "original_data_index": 159} +{"question": "SELECT AVG(Product_ID), Store_ID FROM store_product WHERE \"Store_ID\" != 2 EXCEPT SELECT AVG(Product_ID), Store_ID FROM store_product WHERE \"Store_ID\" != 2 AND \"Product_ID\" <> 6", "answer": {"columns": ["AVG(Product_ID)", "Store_ID"], "index": [0], "data": [["3.1666666667", "1"]]}, "table_names": "['store_product' 'store_product']", "table_image_ids": ["TableImg_Tggjb_15.png", "TableImg_Gzr5i_15.png"], "original_data_index": 160} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 1 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_2abnj_5.png", "TableImg_Xapg4_4.png"], "original_data_index": 161} +{"question": "SELECT name FROM aircraft WHERE \"distance\" >= 2128 AND \"aid\" > 4 UNION SELECT name FROM aircraft WHERE \"distance\" <> 520", "answer": {"columns": ["name"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14], "data": [["Airbus A319"], ["Airbus A320"], ["Airbus A340-300"], ["Boeing 727"], ["Boeing 737-800"], ["Boeing 747-400"], ["Boeing 757-300"], ["Boeing 767-400ER"], ["Boeing 777-300"], ["British Aerospace Jetstream 41"], ["Embraer ERJ-145"], ["Lockheed L1011"], ["SAAB 340"], ["Schwitzer 2-33"], ["Tupolev 154"]]}, "table_names": "['aircraft' 'aircraft']", "table_image_ids": ["TableImg_M8k9h_16.png", "TableImg_R3hb5_16.png"], "original_data_index": 162} +{"question": "SELECT Aircraft_ID FROM aircraft WHERE Max_Gross_Weight <> \"123,500 lb (56,000 kg)\" AND Total_disk_area != \"872 ft\u00b2 (81.1 m\u00b2)\" OR Description <> \"Light utility helicopter\" UNION ALL SELECT Aircraft_ID FROM airport_aircraft WHERE \"Airport_ID\" <= 2 OR \"ID\" < 1 AND \"Aircraft_ID\" > 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["1"], ["2"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Bftcl_5.png", "TableImg_Kohi5_4.png"], "original_data_index": 163} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 2 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 9", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["9"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_56lzr_12.png", "TableImg_G336m_5.png"], "original_data_index": 164} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 3 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["1"], ["2"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Muas4_12.png", "TableImg_Jsayk_5.png"], "original_data_index": 165} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 12 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Nh8bw_12.png", "TableImg_Qkyss_5.png"], "original_data_index": 166} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 5 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 5", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["4"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_4yhgy_5.png", "TableImg_2g9ga_4.png"], "original_data_index": 167} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 11 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["9"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_K2byr_12.png", "TableImg_8mwza_5.png"], "original_data_index": 168} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 7 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["3"], ["4"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Hw7dx_12.png", "TableImg_4kbsr_5.png"], "original_data_index": 169} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 9 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["3"], ["4"], ["7"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Ajcc4_12.png", "TableImg_2mu7b_5.png"], "original_data_index": 170} +{"question": "SELECT SUM(i_id) FROM item WHERE title = \"blue hoodie\" UNION ALL SELECT SUM(i_id) FROM item WHERE title = \"cup\" AND \"i_id\" < 1", "answer": {"columns": ["SUM(i_id)"], "index": [0, 1], "data": [["6.0"], [""]]}, "table_names": "['item' 'item']", "table_image_ids": ["TableImg_B0mjy_8.png", "TableImg_H6jvf_8.png"], "original_data_index": 171} +{"question": "SELECT Template_Type_Description, Template_Type_Code FROM Ref_Template_Types WHERE Template_Type_Code = \"BK\" OR Template_Type_Description <> \"Book\" INTERSECT SELECT Template_Type_Description, Template_Type_Code FROM Ref_Template_Types WHERE Template_Type_Description != \"Book\" AND Template_Type_Code != \"BK\"", "answer": {"columns": ["Template_Type_Description", "Template_Type_Code"], "index": [0, 1, 2, 3], "data": [["Advertisement", "AD"], ["CV", "CV"], ["Paper", "PP"], ["Presentation", "PPT"]]}, "table_names": "['Ref_Template_Types' 'Ref_Template_Types']", "table_image_ids": ["TableImg_2o3t5_5.png", "TableImg_32d3b_5.png"], "original_data_index": 172} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 3 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_0n8xc_12.png", "TableImg_Bh8sf_5.png"], "original_data_index": 173} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 11 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["4"], ["7"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Effhp_12.png", "TableImg_7ot3j_5.png"], "original_data_index": 174} +{"question": "SELECT StuID FROM Has_Pet WHERE \"StuID\" != 1002 INTERSECT SELECT StuID FROM Has_Pet WHERE \"PetID\" = 2001 OR \"StuID\" < 1002", "answer": {"columns": ["StuID"], "index": [0], "data": [["1001"]]}, "table_names": "['Has_Pet' 'Has_Pet']", "table_image_ids": ["TableImg_Kdca6_3.png", "TableImg_Dkqj4_3.png"], "original_data_index": 175} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 10 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Rm2ps_12.png", "TableImg_Uisoe_5.png"], "original_data_index": 176} +{"question": "SELECT AVG(property_feature_description), feature_id, MAX(property_id) FROM Other_Property_Features WHERE \"feature_id\" < 3 UNION ALL SELECT AVG(property_feature_description), feature_id, MAX(property_id) FROM Other_Property_Features WHERE property_feature_description <> \"corrupti\"", "answer": {"columns": ["AVG(property_feature_description)", "feature_id", "MAX(property_id)"], "index": [0, 1], "data": [["0", "2", "13"], ["0", "3", "15"]]}, "table_names": "['Other_Property_Features' 'Other_Property_Features']", "table_image_ids": ["TableImg_Yp0yh_15.png", "TableImg_6nfon_15.png"], "original_data_index": 177} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 2 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 2", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_A0dkp_5.png", "TableImg_41rgb_4.png"], "original_data_index": 178} +{"question": "SELECT amount_payment, datetime_payment, payment_method_code, customer_id FROM Customer_Payments WHERE \"amount_payment\" < 6782.84 INTERSECT SELECT amount_payment, datetime_payment, payment_method_code, customer_id FROM Customer_Payments WHERE payment_method_code = \"Credit Card\" AND \"customer_id\" != 13 OR \"amount_payment\" <= 9886.62 AND datetime_payment != \"2018-02-06 13:35:58\"", "answer": {"columns": ["amount_payment", "datetime_payment", "payment_method_code", "customer_id"], "index": [0, 1, 2, 3, 4, 5, 6, 7], "data": [["787.12", "2018-02-06 13:35:58", "Credit Card", "3"], ["1708.18", "2018-03-20 21:38:41", "Direct Debit", "2"], ["3073.98", "2018-02-19 01:49:59", "Credit Card", "14"], ["4032.33", "2018-03-12 08:41:47", "Direct Debit", "6"], ["4610.26", "2018-02-27 20:08:53", "Direct Debit", "14"], ["4773.16", "2018-02-15 16:38:49", "Direct Debit", "7"], ["5475.26", "2018-02-19 09:06:29", "Direct Debit", "6"], ["6311.37", "2018-02-03 15:04:36", "Direct Debit", "4"]]}, "table_names": "['Customer_Payments' 'Customer_Payments']", "table_image_ids": ["TableImg_Em2wy_15.png", "TableImg_G04pd_15.png"], "original_data_index": 179} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 4 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2], "data": [["1"], ["2"], ["3"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Ujl2g_5.png", "TableImg_Byffm_4.png"], "original_data_index": 180} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 5 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["7"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_88z08_12.png", "TableImg_Hgroi_5.png"], "original_data_index": 181} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 2 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 1", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["1"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_414t9_5.png", "TableImg_3uyu5_4.png"], "original_data_index": 182} +{"question": "SELECT id FROM albums WHERE \"artist_id\" >= 91 AND \"id\" > 28 UNION ALL SELECT id FROM media_types WHERE \"id\" > 5 AND name != \"Purchased AAC audio file\"", "answer": {"columns": ["id"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198], "data": [["115"], ["116"], ["117"], ["118"], ["119"], ["120"], ["121"], ["123"], ["124"], ["125"], ["139"], ["140"], ["141"], ["142"], ["143"], ["144"], ["145"], ["146"], ["147"], ["160"], ["161"], ["162"], ["163"], ["164"], ["165"], ["166"], ["167"], ["168"], ["169"], ["170"], ["171"], ["172"], ["173"], ["174"], ["256"], ["175"], ["176"], ["177"], ["178"], ["179"], ["180"], ["181"], ["182"], ["183"], ["184"], ["187"], ["188"], ["189"], ["190"], ["191"], ["192"], ["193"], ["194"], ["195"], ["196"], ["199"], ["200"], ["201"], ["202"], ["203"], ["205"], ["206"], ["207"], ["208"], ["209"], ["210"], ["211"], ["212"], ["213"], ["214"], ["215"], ["216"], ["217"], ["218"], ["219"], ["220"], ["221"], ["222"], ["223"], ["224"], ["225"], ["226"], ["227"], ["228"], ["229"], ["230"], ["231"], ["261"], ["232"], ["233"], ["234"], ["235"], ["236"], ["237"], ["238"], ["239"], ["240"], ["255"], ["241"], ["242"], ["243"], ["244"], ["245"], ["246"], ["248"], ["249"], ["250"], ["251"], ["252"], ["253"], ["254"], ["257"], ["258"], ["260"], ["262"], ["263"], ["264"], ["265"], ["266"], ["267"], ["268"], ["269"], ["270"], ["272"], ["273"], ["274"], ["315"], ["275"], ["276"], ["277"], ["278"], ["279"], ["280"], ["281"], ["282"], ["283"], ["284"], ["285"], ["286"], ["287"], ["288"], ["289"], ["290"], ["291"], ["292"], ["311"], ["343"], ["293"], ["294"], ["295"], ["296"], ["297"], ["298"], ["299"], ["300"], ["301"], ["302"], ["303"], ["304"], ["305"], ["306"], ["307"], ["308"], ["309"], ["310"], ["312"], ["313"], ["314"], ["316"], ["320"], ["336"], ["317"], ["318"], ["319"], ["321"], ["322"], ["323"], ["324"], ["325"], ["326"], ["327"], ["328"], ["329"], ["330"], ["331"], ["332"], ["333"], ["334"], ["335"], ["337"], ["338"], ["339"], ["340"], ["341"], ["342"], ["344"], ["345"], ["346"], ["347"]]}, "table_names": "['albums' 'media_types']", "table_image_ids": ["TableImg_Zrh29_347.png", "TableImg_Pmnb1_5.png"], "original_data_index": 183} +{"question": "SELECT name FROM aircraft WHERE \"aid\" <> 3 EXCEPT SELECT name FROM aircraft WHERE \"aid\" >= 3", "answer": {"columns": ["name"], "index": [0, 1], "data": [["Boeing 737-800"], ["Boeing 747-400"]]}, "table_names": "['aircraft' 'aircraft']", "table_image_ids": ["TableImg_Pm0s6_16.png", "TableImg_9ogwz_16.png"], "original_data_index": 184} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 1 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["3"], ["4"], ["7"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_4gz06_12.png", "TableImg_Xcbmj_5.png"], "original_data_index": 185} +{"question": "SELECT other_details, employee_id FROM Employees WHERE other_details != \"b\" OR \"employee_id\" >= 8 AND role_code != \"PT\" AND employee_name != \"Haley\" UNION SELECT other_details, employee_id FROM Employees WHERE role_code != \"MG\"", "answer": {"columns": ["other_details", "employee_id"], "index": [0, 1, 2, 3, 4, 5], "data": [["b", "3"], ["b", "5"], ["f", "2"], ["h", "1"], ["u", "8"], ["v", "7"]]}, "table_names": "['Employees' 'Employees']", "table_image_ids": ["TableImg_Mn1bt_6.png", "TableImg_0eaxa_6.png"], "original_data_index": 186} +{"question": "SELECT MIN(Id) FROM car_makers WHERE Country = \"1\" AND Maker <> \"renault\" OR FullName != \"Renault\" AND \"Id\" >= 21 UNION SELECT MIN(Id) FROM cars_data WHERE \"Cylinders\" > 8 OR \"Edispl\" < 455.0", "answer": {"columns": ["MIN(Id)"], "index": [0], "data": [["1"]]}, "table_names": "['car_makers' 'cars_data']", "table_image_ids": ["TableImg_R2lky_22.png", "TableImg_It4f0_406.png"], "original_data_index": 187} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 6 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Pubdm_12.png", "TableImg_6sls6_5.png"], "original_data_index": 188} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID = 4 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID = 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_2509e_5.png", "TableImg_V815z_4.png"], "original_data_index": 189} +{"question": "SELECT Store_ID FROM store_district WHERE \"District_ID\" != 15 INTERSECT SELECT Store_ID FROM store_product WHERE \"Product_ID\" = 2", "answer": {"columns": ["Store_ID"], "index": [0, 1], "data": [["3"], ["5"]]}, "table_names": "['store_district' 'store_product']", "table_image_ids": ["TableImg_Ks2qu_5.png", "TableImg_Sobhs_15.png"], "original_data_index": 190} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 2 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 2", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["3"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Jbw4c_5.png", "TableImg_Fi6ma_4.png"], "original_data_index": 191} +{"question": "SELECT weight, pet_age, PetType, PetID FROM Pets WHERE \"pet_age\" > 3 OR \"weight\" <= 12.0 OR \"PetID\" >= 2002 UNION SELECT weight, pet_age, PetType, PetID FROM Pets WHERE \"weight\" = 9.3 OR PetType = \"dog\" AND \"pet_age\" > 3", "answer": {"columns": ["weight", "pet_age", "PetType", "PetID"], "index": [0, 1, 2], "data": [["9.3", "1", "dog", "2003"], ["12.0", "3", "cat", "2001"], ["13.4", "2", "dog", "2002"]]}, "table_names": "['Pets' 'Pets']", "table_image_ids": ["TableImg_Fc357_3.png", "TableImg_Aqp2z_3.png"], "original_data_index": 192} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 12 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["11"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_G56a0_12.png", "TableImg_Tccst_5.png"], "original_data_index": 193} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 5 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Nrx0n_12.png", "TableImg_5g8lb_5.png"], "original_data_index": 194} +{"question": "SELECT COUNT(vehicle_id) FROM Lessons WHERE lesson_status_code != \"Completed\" OR \"price\" <= 306.0 OR \"staff_id\" >= 12 UNION SELECT COUNT(vehicle_id) FROM Vehicles WHERE vehicle_details != \"Car\"", "answer": {"columns": ["COUNT(vehicle_id)"], "index": [0, 1], "data": [["2"], ["13"]]}, "table_names": "['Lessons' 'Vehicles']", "table_image_ids": ["TableImg_K2cy4_15.png", "TableImg_1df9n_3.png"], "original_data_index": 195} +{"question": "SELECT AVG(name), City, SUM(id), Country, IATA FROM airport WHERE \"id\" != 1 UNION ALL SELECT AVG(name), City, SUM(id), Country, IATA FROM airport WHERE City <> \"Amsterdam\" AND name = \"El Prat Airport\" AND \"id\" <> 5", "answer": {"columns": ["AVG(name)", "City", "SUM(id)", "Country", "IATA"], "index": [0, 1], "data": [["0.0", "Amsterdam", "44.0", "Netherlands", "AMS"], ["", "", "", "", ""]]}, "table_names": "['airport' 'airport']", "table_image_ids": ["TableImg_Htie4_9.png", "TableImg_D8nr3_9.png"], "original_data_index": 196} +{"question": "SELECT title, id FROM albums WHERE \"id\" != 136 OR \"artist_id\" = 245 EXCEPT SELECT title, id FROM employees WHERE postal_code = \"T2P 5G3\" AND \"reports_to\" <= 2.0 OR title != \"Sales Support Agent\" OR email <> \"nancy@chinookcorp.com\" OR first_name != \"Margaret\" AND country = \"Canada\" OR \"id\" <> 2 AND phone <> \"+1 (403) 262-3443\" AND last_name <> \"Edwards\" OR city = \"Calgary\" AND birth_date <> \"1973-08-29 00:00:00\" AND hire_date != \"2002-08-14 00:00:00\" OR state != \"AB\" OR address != \"11120 Jasper Ave NW\"", "answer": {"columns": ["title", "id"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345], "data": [["...And Justice For All", "156"], ["1997 Black Light Syndrome", "208"], ["20th Century Masters - The Millennium Collection: The Best of Scorpions", "257"], ["A Copland Celebration, Vol. I", "296"], ["A Matter of Life and Death", "94"], ["A Real Dead One", "95"], ["A Real Live One", "96"], ["A Soprano Inspired", "285"], ["A TempestadeTempestade Ou O Livro Dos Dias", "139"], ["A-Sides", "203"], ["Ace Of Spades", "160"], ["Achtung Baby", "232"], ["Ac\u00fastico", "224"], ["Ac\u00fastico MTV", "167"], ["Ac\u00fastico MTV live", "26"], ["Adams, John: The Chairman Dances", "307"], ["Adorate Deum: Gregorian Chant from the Proper of the Mass", "272"], ["Afrociberdelia", "24"], ["Album Of The Year", "74"], ["Alcohol Fueled Brewtality Live! [Disc 1]", "14"], ["Alcohol Fueled Brewtality Live! [Disc 2]", "15"], ["All That You Can't Leave Behind", "233"], ["Allegri: Miserere", "273"], ["American Idiot", "89"], ["Angel Dust", "75"], ["Ao Vivo IMPORT", "248"], ["Appetite for Destruction", "90"], ["Aquaman", "254"], ["Are You Experienced?", "120"], ["Armada: Music from the Courts of England and Spain", "319"], ["Arquivo II", "168"], ["Arquivo Os Paralamas Do Sucesso", "169"], ["As Can\u00e7\u00f5es de Eu Tu Eles", "85"], ["Audioslave", "10"], ["Ax\u00e9 Bahia 2001", "29"], ["B-Sides 1980-1990", "234"], ["BBC Sessions [Disc 1] live", "30"], ["BBC Sessions [Disc 2] live", "127"], ["Bach: Goldberg Variations", "277"], ["Bach: Orchestral Suites Nos. 1 - 4", "327"], ["Bach: The Brandenburg Concertos", "300"], ["Bach: The Cello Suites", "278"], ["Bach: Toccata & Fugue in D Minor", "297"], ["Bach: Violin Concertos", "276"], ["Back to Black", "321"], ["BackBeat Soundtrack", "12"], ["Balls to the Wall", "2"], ["Bark at the Moon (Remastered)", "170"], ["Bartok: Violin & Viola Concertos", "325"], ["Barulhinho Bom", "145"], ["Battlestar Galactica (Classic), Season 1", "253"], ["Battlestar Galactica, Season 3", "227"], ["Battlestar Galactica: The Story So Far", "226"], ["Beethoven Piano Sonatas: Moonlight & Pastorale", "304"], ["Beethoven: Symhonies Nos. 5 & 6", "284"], ["Beethoven: Symphony No. 6 'Pastoral' Etc.", "324"], ["Berlioz: Symphonie Fantastique", "312"], ["Beyond Good And Evil", "212"], ["Big Ones", "5"], ["Bizet: Carmen Highlights", "313"], ["Black Album", "148"], ["Black Sabbath", "16"], ["Black Sabbath Vol. 4 (Remaster)", "17"], ["Blizzard of Ozz", "171"], ["Blood Sugar Sex Magik", "193"], ["Blue Moods", "93"], ["Body Count", "18"], ["Bongo Fury", "31"], ["Brave New World", "97"], ["By The Way", "194"], ["Cafezinho", "124"], ["Cake: B-Sides and Rarities", "260"], ["Californication", "195"], ["Carmina Burana", "295"], ["Carnaval 2001", "32"], ["Carried to Dust (Bonus Track Version)", "323"], ["Carry On", "270"], ["Cesta B\u00e1sica", "191"], ["Charpentier: Divertissements, Airs & Concerts", "328"], ["Chemical Wedding", "19"], ["Chill: Brazil (Disc 1)", "33"], ["Chill: Brazil (Disc 2)", "34"], ["Chopin: Piano Concertos Nos. 1 & 2", "301"], ["Chronicle, Vol. 1", "54"], ["Chronicle, Vol. 2", "55"], ["Cidade Negra - Hits", "27"], ["Coda", "128"], ["Come Taste The Band", "58"], ["Compositores", "165"], ["Contraband", "246"], ["Core", "206"], ["C\u00e1ssia Eller - Cole\u00e7\u00e3o Sem Limite [Disc 2]", "56"], ["C\u00e1ssia Eller - Sem Limite [Disc 1]", "57"], ["Da Lama Ao Caos", "25"], ["Dance Of Death", "98"], ["Dark Side Of The Moon", "183"], ["Deep Purple In Rock", "59"], ["Deixa Entrar", "78"], ["Demorou...", "161"], ["Diary of a Madman (Remastered)", "172"], ["Diver Down", "242"], ["Djavan Ao Vivo - Vol. 02", "69"], ["Djavan Ao Vivo - Vol. 1", "70"], ["Duos II", "266"], ["Elgar: Cello Concerto & Vaughan Williams: Fantasias", "306"], ["Elis Regina-Minha Hist\u00f3ria", "71"], ["Emergency On Planet Earth", "116"], ["English Renaissance", "314"], ["Every Kind of Light", "265"], ["Faceless", "88"], ["Facelift", "7"], ["Faur\u00e9: Requiem, Ravel: Pavane & Others", "288"], ["Fear Of The Dark", "99"], ["Fireball", "60"], ["For Those About To Rock We Salute You", "1"], ["Frank", "322"], ["From The Muddy Banks Of The Wishkah live", "163"], ["Garage Inc. (Disc 1)", "35"], ["Garage Inc. (Disc 2)", "149"], ["Get Born", "119"], ["Great Opera Choruses", "286"], ["Great Performances - Barber's Adagio and Other Romantic Favorites for Strings", "294"], ["Great Recordings of the Century - Mahler: Das Lied von der Erde", "305"], ["Great Recordings of the Century - Shubert: Schwanengesang, 4 Lieder", "341"], ["Great Recordings of the Century: Paganini's 24 Caprices", "339"], ["Greatest Hits", "141"], ["Greatest Hits I", "185"], ["Greatest Hits II", "36"], ["Greatest Kiss", "37"], ["Green", "188"], ["Grieg: Peer Gynt Suites & Sibelius: Pell\u00e9as et M\u00e9lisande", "316"], ["G\u00f3recki: Symphony No. 3", "330"], ["Handel: Music for the Royal Fireworks (Original Version 1749)", "315"], ["Handel: The Messiah (Highlights)", "279"], ["Haydn: Symphonies 99 - 104", "283"], ["Heart of the Night", "38"], ["Heroes, Season 1", "228"], ["Holst: The Planets, Op. 32 & Vaughan Williams: Fantasies", "292"], ["Hot Rocks, 1964-1971 (Disc 1)", "216"], ["House of Pain", "258"], ["Houses Of The Holy", "129"], ["How To Dismantle An Atomic Bomb", "235"], ["IV", "131"], ["In Step", "205"], ["In Through The Out Door", "130"], ["In Your Honor [Disc 1]", "79"], ["In Your Honor [Disc 2]", "80"], ["Instant Karma: The Amnesty International Campaign to Save Darfur", "255"], ["International Superhits", "39"], ["Into The Light", "40"], ["Iron Maiden", "100"], ["J.S. Bach: Chaconne, Suite in E Minor, Partita in E Major & Prelude, Fugue and Allegro", "335"], ["Jagged Little Pill", "6"], ["Jorge Ben Jor 25 Anos", "122"], ["Jota Quest-1995", "123"], ["Judas 0: B-Sides and Rarities", "201"], ["Kill 'Em All", "150"], ["Killers", "101"], ["King For A Day Fool For A Lifetime", "76"], ["Knocking at Your Back Door: The Best Of Deep Purple in the 80's", "61"], ["Koyaanisqatsi (Soundtrack from the Motion Picture)", "347"], ["LOST, Season 4", "261"], ["Led Zeppelin I", "132"], ["Led Zeppelin II", "133"], ["Led Zeppelin III", "134"], ["Let There Be Rock", "4"], ["Liszt - 12 \u00c9tudes D'Execution Transcendante", "340"], ["Live After Death", "102"], ["Live At Donington 1992 (Disc 1)", "103"], ["Live At Donington 1992 (Disc 2)", "104"], ["Live On Two Legs live", "178"], ["Live [Disc 1]", "209"], ["Live [Disc 2]", "210"], ["Living After Midnight", "125"], ["Load", "151"], ["Locatelli: Concertos for Violin, Strings and Continuo, Vol. 3", "342"], ["Lost, Season 1", "230"], ["Lost, Season 2", "231"], ["Lost, Season 3", "229"], ["Lulu Santos - RCA 100 Anos De M\u00fasica - \u00c1lbum 01", "142"], ["Lulu Santos - RCA 100 Anos De M\u00fasica - \u00c1lbum 02", "143"], ["MK III The Final Concerts [Disc 1]", "43"], ["Machine Head", "62"], ["Mais Do Mesmo", "140"], ["Maquinarama", "199"], ["Mascagni: Cavalleria Rusticana", "302"], ["Master Of Puppets", "152"], ["Mendelssohn: A Midsummer Night's Dream", "326"], ["Meus Momentos", "41"], ["Mezmerize", "207"], ["Miles Ahead", "157"], ["Milton Nascimento Ao Vivo", "158"], ["Minas", "159"], ["Minha Historia", "23"], ["Minha Hist\u00f3ria", "42"], ["Misplaced Childhood", "144"], ["Monteverdi: L'Orfeo", "345"], ["Morning Dance", "204"], ["Motley Crue Greatest Hits", "162"], ["Mozart Gala: Famous Arias", "317"], ["Mozart: Chamber Music", "346"], ["Mozart: Symphonies Nos. 40 & 41", "320"], ["Mozart: Wind Concertos", "282"], ["Muso Ko", "263"], ["My Generation - The Very Best Of The Who", "221"], ["My Way: The Best Of Frank Sinatra [Disc 1]", "83"], ["Na Pista", "28"], ["Nevermind", "164"], ["New Adventures In Hi-Fi", "189"], ["News Of The World", "186"], ["Nielsen: The Six Symphonies", "338"], ["No More Tears (Remastered)", "173"], ["No Prayer For The Dying", "105"], ["No Security", "217"], ["O Samba Pocon\u00e9", "200"], ["Olodum", "166"], ["One By One", "81"], ["Original Soundtracks 1", "176"], ["Os C\u00e3es Ladram Mas A Caravana N\u00e3o P\u00e1ra", "184"], ["Out Of Exile", "11"], ["Out Of Time", "187"], ["Outbreak", "68"], ["Pachelbel: Canon & Gigue", "274"], ["Palestrina: Missa Papae Marcelli & Allegri: Miserere", "309"], ["Pavarotti's Opera Made Easy", "293"], ["Pearl Jam", "179"], ["Physical Graffiti [Disc 1]", "44"], ["Physical Graffiti [Disc 2]", "135"], ["Piece Of Mind", "106"], ["Plays Metallica By Four Cellos", "9"], ["Pop", "236"], ["Powerslave", "107"], ["Prenda Minha", "21"], ["Prokofiev: Romeo & Juliet", "310"], ["Prokofiev: Symphony No.1", "298"], ["Prokofiev: Symphony No.5 & Stravinksy: Le Sacre Du Printemps", "336"], ["Puccini: Madama Butterfly - Highlights", "291"], ["Purcell: Music for the Queen Mary", "333"], ["Purcell: The Fairy Queen", "331"], ["Pure Cult: The Best Of The Cult (For Rockers, Ravers, Lovers & Sinners) UK", "213"], ["Purpendicular", "63"], ["Quanta Gente Veio Ver (Live)", "86"], ["Quanta Gente Veio ver--B\u00f4nus De Carnaval", "87"], ["Quiet Songs", "262"], ["Radio Brasil (O Som da Jovem Vanguarda) - Seleccao de Henrique Amaro", "259"], ["Rattle And Hum", "237"], ["Raul Seixas", "192"], ["ReLoad", "153"], ["Realize", "264"], ["Respighi:Pines of Rome", "343"], ["Restless and Wild", "3"], ["Retrospective I (1974-1980)", "196"], ["Revelations", "271"], ["Ride The Lightning", "154"], ["Riot Act", "180"], ["Rock In Rio CD1", "108"], ["Rock In Rio CD2", "109"], ["Roda De Funk", "84"], ["Rotten Apples: Greatest Hits", "202"], ["SCRIABIN: Vers la flamme", "318"], ["Sambas De Enredo 2001", "45"], ["Santana - As Years Go By", "197"], ["Santana Live", "198"], ["Scheherazade", "299"], ["Schubert: The Late String Quartets & String Quintet (3 CD's)", "344"], ["Seek And Shall Find: More Of The Best (1963-1981)", "146"], ["Serie Sem Limite (Disc 1)", "222"], ["Serie Sem Limite (Disc 2)", "223"], ["Seventh Son of a Seventh Son", "110"], ["Sex Machine", "115"], ["Sibelius: Finlandia", "303"], ["Sir Neville Marriner: A Celebration", "281"], ["Slaves And Masters", "64"], ["Somewhere in Time", "111"], ["South American Getaway", "329"], ["Sozinho Remix Ao Vivo", "22"], ["Speak of the Devil", "256"], ["St. Anger", "155"], ["Stormbringer", "65"], ["Strauss: Waltzes", "311"], ["Supernatural", "46"], ["Surfing with the Alien (Remastered)", "121"], ["Synkronized", "117"], ["Szymanowski: Piano Works, Vol. 1", "337"], ["Tangents", "219"], ["Tchaikovsky: 1812 Festival Overture, Op.49, Capriccio Italien & Beethoven: Wellington's Victory", "308"], ["Tchaikovsky: The Nutcracker", "289"], ["Temple of the Dog", "269"], ["Ten", "181"], ["The Battle Rages On", "66"], ["The Beast Live", "177"], ["The Best Of 1980-1990", "238"], ["The Best Of Billy Cobham", "13"], ["The Best Of Buddy Guy - The Millenium Collection", "20"], ["The Best Of Men At Work", "147"], ["The Best Of R.E.M.: The IRS Years", "190"], ["The Best Of Van Halen, Vol. I", "243"], ["The Best of Beethoven", "268"], ["The Best of Ed Motta", "47"], ["The Colour And The Shape", "82"], ["The Cream Of Clapton", "72"], ["The Doors", "214"], ["The Essential Miles Davis [Disc 1]", "48"], ["The Essential Miles Davis [Disc 2]", "49"], ["The Final Concerts (Disc 2)", "50"], ["The Last Night of the Proms", "290"], ["The Number of The Beast", "112"], ["The Office, Season 1", "249"], ["The Office, Season 2", "250"], ["The Office, Season 3", "251"], ["The Police Greatest Hits", "215"], ["The Real Thing", "77"], ["The Return Of The Space Cowboy", "118"], ["The Singles", "211"], ["The Song Remains The Same (Disc 1)", "137"], ["The Song Remains The Same (Disc 2)", "138"], ["The Ultimate Relexation Album", "332"], ["The World of Classical Favourites", "280"], ["The X Factor", "113"], ["Transmission", "220"], ["Tribute", "174"], ["UB40 The Best Of - Volume Two UK", "241"], ["Un-Led-Ed", "252"], ["Unplugged", "73"], ["Unplugged live", "126"], ["Up An' Atom", "51"], ["Use Your Illusion I", "91"], ["Use Your Illusion II", "92"], ["Van Halen", "244"], ["Van Halen III", "245"], ["Vault: Def Leppard's Greatest Hits", "67"], ["Vinicius De Moraes", "247"], ["Vin\u00edcius De Moraes - Sem Limite", "52"], ["Virtual XI", "114"], ["Vivaldi: The Four Seasons", "275"], ["Volume Dois", "225"], ["Voodoo Lounge", "218"], ["Vozes do MPB", "53"], ["Vs.", "182"], ["Wagner: Favourite Overtures", "287"], ["Walking Into Clarksdale", "175"], ["War", "239"], ["Warner 25 Anos", "8"], ["Weill: The Seven Deadly Sins", "334"], ["Worlds", "267"], ["Zooropa", "240"]]}, "table_names": "['albums' 'employees']", "table_image_ids": ["TableImg_Ngud2_347.png", "TableImg_B5tfo_8.png"], "original_data_index": 197} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 9 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7], "data": [["1"], ["2"], ["3"], ["5"], ["6"], ["8"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Quv4u_12.png", "TableImg_M7xo0_5.png"], "original_data_index": 198} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 11 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_K9g1g_12.png", "TableImg_Tua36_5.png"], "original_data_index": 199} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 5 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["3"], ["4"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Ekk29_5.png", "TableImg_Bwd0a_4.png"], "original_data_index": 200} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 11 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["8"], ["11"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Ssrkr_12.png", "TableImg_P5wgc_5.png"], "original_data_index": 201} +{"question": "SELECT Template_ID, Version_Number FROM Templates WHERE \"Template_ID\" = 16 OR \"Version_Number\" <> 6 OR Template_Details = \"\" OR Date_Effective_To != \"2006-02-06 23:52:04\" OR Date_Effective_From <> \"1979-12-24 10:28:16\" UNION SELECT Template_ID, Version_Number FROM Templates WHERE \"Version_Number\" <= 5 OR Date_Effective_From <> \"2002-03-02 14:39:49\" AND Template_Type_Code = \"AD\"", "answer": {"columns": ["Template_ID", "Version_Number"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], "data": [["0", "5"], ["1", "9"], ["4", "4"], ["6", "2"], ["7", "8"], ["8", "3"], ["9", "2"], ["10", "1"], ["11", "6"], ["14", "7"], ["15", "9"], ["16", "5"], ["18", "5"], ["19", "7"], ["20", "6"], ["21", "9"], ["22", "0"], ["23", "2"], ["24", "8"], ["25", "5"]]}, "table_names": "['Templates' 'Templates']", "table_image_ids": ["TableImg_7e8bm_20.png", "TableImg_Sxoh1_20.png"], "original_data_index": 202} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 9 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Fl9pp_12.png", "TableImg_5opd7_5.png"], "original_data_index": 203} +{"question": "SELECT document_status_code FROM Documents WHERE receipt_number != \"55\" INTERSECT SELECT document_status_code FROM Ref_Document_Status WHERE document_status_description != \"currently working on\"", "answer": {"columns": ["document_status_code"], "index": [0, 1], "data": [["done"], ["overdue"]]}, "table_names": "['Documents' 'Ref_Document_Status']", "table_image_ids": ["TableImg_Q8h22_15.png", "TableImg_3ttzx_3.png"], "original_data_index": 204} +{"question": "SELECT MIN(Name) FROM branch WHERE Name <> \"Taverner\" AND Open_year = \"2015\" AND City = \"London\" OR \"Branch_ID\" <> 1 UNION ALL SELECT MIN(Name) FROM member WHERE \"Level\" >= 6 OR Name <> \"Trevard Lindley\"", "answer": {"columns": ["MIN(Name)"], "index": [0, 1], "data": [["Brooke Greville"], ["Braxton Kelley"]]}, "table_names": "['branch' 'member']", "table_image_ids": ["TableImg_B00gn_8.png", "TableImg_Gw3n4_10.png"], "original_data_index": 205} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 4 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID = 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2], "data": [["1"], ["2"], ["3"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_4962b_5.png", "TableImg_0jxq4_4.png"], "original_data_index": 206} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 3 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2], "data": [["1"], ["2"], ["3"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Ad6m9_5.png", "TableImg_A1t11_4.png"], "original_data_index": 207} +{"question": "SELECT School_id FROM School WHERE School_name = \"New Prairie 1\" AND IHSAA_Class <> \"AAA\" OR County = \"20 Elkhart\" AND IHSAA_Football_Class <> \"AAA\" OR Location = \"Elkhart\" OR Mascot != \"Cavaliers\" AND School_id = \"6\" AND \"Enrollment\" >= 316 UNION ALL SELECT School_id FROM budget WHERE \"total_budget_percent_budgeted\" >= 1.3 AND \"School_id\" < 2 OR \"Year\" != 2001 OR Budget_invested_percent <> \"146.9\" AND \"total_budget_percent_invested\" < 2.2", "answer": {"columns": ["School_id"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "data": [["4"], ["6"], ["2"], ["2"], ["2"], ["3"], ["1"], ["4"], ["5"], ["5"]]}, "table_names": "['School' 'budget']", "table_image_ids": ["TableImg_5hzrd_8.png", "TableImg_8u3dy_8.png"], "original_data_index": 208} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 8 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_3k64g_12.png", "TableImg_Hp654_5.png"], "original_data_index": 209} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 5 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["5"], ["6"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_B4g5l_12.png", "TableImg_3exl3_5.png"], "original_data_index": 210} +{"question": "SELECT MIN(state) FROM AREA_CODE_STATE WHERE state <> \"NJ\" AND \"area_code\" < 727 UNION SELECT MIN(state) FROM VOTES WHERE state = \"CA\"", "answer": {"columns": ["MIN(state)"], "index": [0, 1], "data": [["AL"], ["CA"]]}, "table_names": "['AREA_CODE_STATE' 'VOTES']", "table_image_ids": ["TableImg_4de3k_305.png", "TableImg_Wcl2h_4.png"], "original_data_index": 211} +{"question": "SELECT MIN(City) FROM employee WHERE \"Employee_ID\" <> 3 AND City = \"Sale\" UNION SELECT MIN(City) FROM employee WHERE \"Employee_ID\" <= 3 AND \"Age\" < 36 OR City = \"Wasps\" OR Name <> \"Jason Hobson\"", "answer": {"columns": ["MIN(City)"], "index": [0, 1], "data": [["Bath"], ["Sale"]]}, "table_names": "['employee' 'employee']", "table_image_ids": ["TableImg_Anoih_10.png", "TableImg_78uji_10.png"], "original_data_index": 212} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 11 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4], "data": [["3"], ["7"], ["9"], ["10"], ["11"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Ja2t3_12.png", "TableImg_0eyds_5.png"], "original_data_index": 213} +{"question": "SELECT District_ID FROM district WHERE \"City_Area\" = 22.0 OR \"City_Population\" = 134936.0 AND Headquartered_City != \"Attock City\" OR District_name <> \"Chakwal District\" EXCEPT SELECT District_ID FROM store_district WHERE \"District_ID\" <= 11 AND \"Store_ID\" != 4", "answer": {"columns": ["District_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], "data": [["1"], ["2"], ["4"], ["6"], ["7"], ["8"], ["9"], ["10"], ["12"], ["13"], ["14"], ["15"]]}, "table_names": "['district' 'store_district']", "table_image_ids": ["TableImg_Muz06_15.png", "TableImg_8pnji_5.png"], "original_data_index": 214} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 8 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "data": [["1"], ["2"], ["4"], ["5"], ["6"], ["7"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Ymu04_12.png", "TableImg_56mv8_5.png"], "original_data_index": 215} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 11 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["3"], ["4"], ["7"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_P5awj_12.png", "TableImg_9vr7z_5.png"], "original_data_index": 216} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 2 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_5kor9_5.png", "TableImg_Jxdb2_4.png"], "original_data_index": 217} +{"question": "SELECT SUM(feature_type_code) FROM Ref_Feature_Types WHERE feature_type_name <> \"Securiyt, eg Burglar Alarm.\" UNION SELECT SUM(feature_type_code) FROM Ref_Feature_Types WHERE feature_type_code = \"Security\"", "answer": {"columns": ["SUM(feature_type_code)"], "index": [0], "data": [["0"]]}, "table_names": "['Ref_Feature_Types' 'Ref_Feature_Types']", "table_image_ids": ["TableImg_An0ol_2.png", "TableImg_Ppib5_2.png"], "original_data_index": 218} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 4 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5], "data": [["1"], ["2"], ["3"], ["4"], ["7"], ["9"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_U7yj5_12.png", "TableImg_Wwo71_5.png"], "original_data_index": 219} +{"question": "SELECT MAX(i_id), AVG(title) FROM item WHERE \"i_id\" <> 3 UNION ALL SELECT MAX(i_id), AVG(title) FROM item WHERE \"i_id\" < 6 AND title <> \"apple\"", "answer": {"columns": ["MAX(i_id)", "AVG(title)"], "index": [0, 1], "data": [["7", "0"], ["5", "0"]]}, "table_names": "['item' 'item']", "table_image_ids": ["TableImg_1mf47_8.png", "TableImg_Jdpsm_8.png"], "original_data_index": 220} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 5 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["3"], ["4"], ["5"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Mg4iz_12.png", "TableImg_M0k7r_5.png"], "original_data_index": 221} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 1 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 2", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["1"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_7gj53_5.png", "TableImg_K2atu_4.png"], "original_data_index": 222} +{"question": "SELECT COUNT(Party) FROM election WHERE Counties_Represented != \"13\" OR \"First_Elected\" != 2003.0 AND Delegate != \"Bobo, Elizabeth Elizabeth Bobo\" OR \"Election_ID\" < 7 AND \"District\" <> 2 UNION ALL SELECT COUNT(Party) FROM party WHERE Comptroller = \"Alan Hevesi\" AND Lieutenant_Governor <> \"David Paterson\" AND Attorney_General != \"Eliot Spitzer\"", "answer": {"columns": ["COUNT(Party)"], "index": [0, 1], "data": [["8"], ["0"]]}, "table_names": "['election' 'party']", "table_image_ids": ["TableImg_Of9s5_8.png", "TableImg_3637l_7.png"], "original_data_index": 223} +{"question": "SELECT Major, StuID, Fname, LName, Age, Advisor FROM Student WHERE LName != \"Leighton\" UNION ALL SELECT Major, StuID, Fname, LName, Age, Advisor FROM Student WHERE \"StuID\" < 1024 AND Sex <> \"M\" AND Fname != \"Dinesh\" OR LName <> \"Lee\" AND \"Major\" < 540 OR \"Age\" <> 17 OR city_code = \"PHL\" AND \"Advisor\" > 9172", "answer": {"columns": ["Major", "StuID", "Fname", "LName", "Age", "Advisor"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63], "data": [["600", "1001", "Linda", "Smith", "18", "1121"], ["600", "1002", "Tracy", "Kim", "19", "7712"], ["600", "1003", "Shiela", "Jones", "21", "7792"], ["600", "1004", "Dinesh", "Kumar", "20", "8423"], ["600", "1005", "Paul", "Gompers", "26", "1121"], ["600", "1006", "Andy", "Schultz", "18", "1148"], ["600", "1007", "Lisa", "Apap", "18", "8918"], ["600", "1008", "Jandy", "Nelson", "20", "9172"], ["600", "1009", "Eric", "Tai", "19", "2192"], ["600", "1010", "Derek", "Lee", "17", "2192"], ["600", "1011", "David", "Adams", "22", "1148"], ["600", "1012", "Steven", "Davis", "20", "7723"], ["600", "1014", "Charles", "Norris", "18", "8741"], ["600", "1015", "Susan", "Lee", "16", "8721"], ["600", "1016", "Mark", "Schwartz", "17", "2192"], ["600", "1017", "Bruce", "Wilson", "27", "1148"], ["600", "1019", "Arthur", "Pang", "18", "2192"], ["520", "1020", "Ian", "Thornton", "22", "7271"], ["520", "1021", "George", "Andreou", "19", "8722"], ["540", "1022", "Michael", "Woods", "17", "8722"], ["520", "1023", "David", "Shieber", "20", "8722"], ["540", "1024", "Stacy", "Prater", "18", "7271"], ["520", "1025", "Mark", "Goldman", "18", "7134"], ["520", "1026", "Eric", "Pang", "19", "7134"], ["520", "1027", "Paul", "Brody", "18", "8723"], ["550", "1028", "Eric", "Rugh", "20", "2311"], ["100", "1029", "Jun", "Han", "17", "2311"], ["550", "1030", "Lisa", "Cheng", "21", "2311"], ["550", "1031", "Sarah", "Smith", "20", "8772"], ["550", "1032", "Eric", "Brown", "20", "8772"], ["550", "1033", "William", "Simms", "18", "8772"], ["50", "1034", "Eric", "Epp", "18", "5718"], ["50", "1035", "Sarah", "Schmidt", "26", "5718"], ["600", "1001", "Linda", "Smith", "18", "1121"], ["600", "1002", "Tracy", "Kim", "19", "7712"], ["600", "1003", "Shiela", "Jones", "21", "7792"], ["600", "1004", "Dinesh", "Kumar", "20", "8423"], ["600", "1005", "Paul", "Gompers", "26", "1121"], ["600", "1006", "Andy", "Schultz", "18", "1148"], ["600", "1007", "Lisa", "Apap", "18", "8918"], ["600", "1008", "Jandy", "Nelson", "20", "9172"], ["600", "1009", "Eric", "Tai", "19", "2192"], ["600", "1011", "David", "Adams", "22", "1148"], ["600", "1012", "Steven", "Davis", "20", "7723"], ["600", "1014", "Charles", "Norris", "18", "8741"], ["600", "1015", "Susan", "Lee", "16", "8721"], ["600", "1017", "Bruce", "Wilson", "27", "1148"], ["600", "1018", "Michael", "Leighton", "20", "1121"], ["600", "1019", "Arthur", "Pang", "18", "2192"], ["520", "1020", "Ian", "Thornton", "22", "7271"], ["520", "1021", "George", "Andreou", "19", "8722"], ["520", "1023", "David", "Shieber", "20", "8722"], ["540", "1024", "Stacy", "Prater", "18", "7271"], ["520", "1025", "Mark", "Goldman", "18", "7134"], ["520", "1026", "Eric", "Pang", "19", "7134"], ["520", "1027", "Paul", "Brody", "18", "8723"], ["550", "1028", "Eric", "Rugh", "20", "2311"], ["100", "1029", "Jun", "Han", "17", "2311"], ["550", "1030", "Lisa", "Cheng", "21", "2311"], ["550", "1031", "Sarah", "Smith", "20", "8772"], ["550", "1032", "Eric", "Brown", "20", "8772"], ["550", "1033", "William", "Simms", "18", "8772"], ["50", "1034", "Eric", "Epp", "18", "5718"], ["50", "1035", "Sarah", "Schmidt", "26", "5718"]]}, "table_names": "['Student' 'Student']", "table_image_ids": ["TableImg_044uj_34.png", "TableImg_Rpvtx_34.png"], "original_data_index": 224} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID = 4 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 1", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["4"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_4oosx_5.png", "TableImg_Wzgwv_4.png"], "original_data_index": 225} +{"question": "SELECT Shop_ID FROM hiring WHERE Start_from <> \"2011\" AND \"Shop_ID\" != 2 UNION SELECT Shop_ID FROM shop WHERE Manager_name != \"Ilkka M\u00e4kel\u00e4\" AND District <> \"Finnair Stadium\"", "answer": {"columns": ["Shop_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["1"], ["3"], ["4"], ["5"], ["6"], ["7"], ["9"]]}, "table_names": "['hiring' 'shop']", "table_image_ids": ["TableImg_Lfyqs_7.png", "TableImg_2itv4_9.png"], "original_data_index": 226} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 3 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 3", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["1"], ["2"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_88y5q_5.png", "TableImg_7dt7c_4.png"], "original_data_index": 227} +{"question": "SELECT draft_number FROM Circulation_History WHERE \"draft_number\" != 17 OR \"copy_number\" <= 10 OR \"document_id\" != 20 OR \"employee_id\" < 2 EXCEPT SELECT draft_number FROM Document_Drafts WHERE \"draft_number\" <= 12 AND \"document_id\" != 23", "answer": {"columns": ["draft_number"], "index": [0], "data": [["20"]]}, "table_names": "['Circulation_History' 'Document_Drafts']", "table_image_ids": ["TableImg_A6mo8_4.png", "TableImg_T50vt_15.png"], "original_data_index": 228} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 3 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 3", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Ob21g_5.png", "TableImg_Kneji_4.png"], "original_data_index": 229} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 1 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 2", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2], "data": [["1"], ["3"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_P1yoy_5.png", "TableImg_8wesn_4.png"], "original_data_index": 230} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 2 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["3"], ["4"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_I0lvf_12.png", "TableImg_Wj01w_5.png"], "original_data_index": 231} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 4 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8], "data": [["1"], ["2"], ["3"], ["5"], ["6"], ["7"], ["8"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Ad66f_12.png", "TableImg_Lgy01_5.png"], "original_data_index": 232} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID = 1 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 2", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2], "data": [["1"], ["3"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Fc0uu_5.png", "TableImg_60z55_4.png"], "original_data_index": 233} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 2 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["3"], ["4"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_0ys8c_12.png", "TableImg_Pic5o_5.png"], "original_data_index": 234} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 1 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_P0r3q_12.png", "TableImg_Mjr2i_5.png"], "original_data_index": 235} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 3 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Qomnp_12.png", "TableImg_6wb4n_5.png"], "original_data_index": 236} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 5 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["6"], ["8"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Oe57d_12.png", "TableImg_04d2z_5.png"], "original_data_index": 237} +{"question": "SELECT T1.Total_disk_area, T2.Aircraft_ID FROM aircraft as T1 JOIN airport_aircraft as T2 ON T1.Aircraft_ID = T2.Aircraft_ID", "answer": {"columns": ["Total_disk_area", "Aircraft_ID"], "index": [0, 1, 2, 3], "data": [["872 ft\u00b2 (81.1 m\u00b2)", "2"], ["497 ft\u00b2 (46.2 m\u00b2)", "1"], ["4,900 ft\u00b2 (460 m\u00b2)", "5"], ["5,655 ft\u00b2 (526 m\u00b2)", "3"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_U3mud_5.png", "TableImg_12fdt_4.png"], "original_data_index": 238} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 9 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 4", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["3"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Kiy7o_12.png", "TableImg_K7cwf_5.png"], "original_data_index": 239} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 5 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 3", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Tmxeh_5.png", "TableImg_Nxifr_4.png"], "original_data_index": 240} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 7 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Fh556_12.png", "TableImg_3p3v0_5.png"], "original_data_index": 241} +{"question": "SELECT Member_ID FROM member WHERE \"Level\" <= 6 AND \"Member_ID\" >= 4 AND Name != \"Myron Pryor\" UNION ALL SELECT Member_ID FROM membership_register_branch WHERE Register_Year <> \"2016\" AND Branch_ID = \"2\"", "answer": {"columns": ["Member_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"]]}, "table_names": "['member' 'membership_register_branch']", "table_image_ids": ["TableImg_Wfm0u_10.png", "TableImg_Zizll_8.png"], "original_data_index": 242} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 2 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 1", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["1"], ["2"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_2028c_5.png", "TableImg_6ws31_4.png"], "original_data_index": 243} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 6 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["3"], ["4"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_I4cq0_12.png", "TableImg_Le44r_5.png"], "original_data_index": 244} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 5 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 1", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Jj1xw_5.png", "TableImg_Wkbq1_4.png"], "original_data_index": 245} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 6 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 3", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["4"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_K2f9f_12.png", "TableImg_2ywvi_5.png"], "original_data_index": 246} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 4 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7], "data": [["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Afiyg_12.png", "TableImg_1vv52_5.png"], "original_data_index": 247} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 7 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["8"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Qo0ru_12.png", "TableImg_Rrkh6_5.png"], "original_data_index": 248} +{"question": "SELECT COUNT(distance), COUNT(destination), departure_date, AVG(origin), AVG(flno) FROM flight WHERE origin != \"Chicago\" AND destination = \"Chicago\" AND \"distance\" != 5478 AND arrival_date != \"04/12/2005 05:03\" AND \"flno\" < 387 UNION ALL SELECT COUNT(distance), COUNT(destination), departure_date, AVG(origin), AVG(flno) FROM flight WHERE \"flno\" <> 68 OR \"aid\" > 2", "answer": {"columns": ["COUNT(distance)", "COUNT(destination)", "departure_date", "AVG(origin)", "AVG(flno)"], "index": [0, 1], "data": [["1", "1", "04/12/2005 08:45", "0", "13.0"], ["10", "10", "04/12/2005 09:30", "0", "106.5"]]}, "table_names": "['flight' 'flight']", "table_image_ids": ["TableImg_Zhwsp_10.png", "TableImg_Wm9r3_10.png"], "original_data_index": 249} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 7 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7], "data": [["3"], ["4"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Ao9r6_12.png", "TableImg_75g6l_5.png"], "original_data_index": 250} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 8 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_4455o_12.png", "TableImg_Dpgtp_5.png"], "original_data_index": 251} +{"question": "SELECT AVG(Area_size), Type FROM store WHERE \"Area_size\" > 28.74 OR Type != \"City Mall\" AND \"Ranking\" >= 1 UNION SELECT AVG(Area_size), Type FROM store WHERE \"Number_of_product_category\" <> 793.0 OR \"Store_ID\" > 2", "answer": {"columns": ["AVG(Area_size)", "Type"], "index": [0, 1], "data": [["52.846", "City Mall"], ["58.8725", "City Mall"]]}, "table_names": "['store' 'store']", "table_image_ids": ["TableImg_J7a1m_5.png", "TableImg_3w968_5.png"], "original_data_index": 252} +{"question": "SELECT vehicle_id FROM Vehicles WHERE vehicle_details != \"Car\" AND \"vehicle_id\" < 2 UNION SELECT vehicle_id FROM Vehicles WHERE vehicle_details <> \"Truck\"", "answer": {"columns": ["vehicle_id"], "index": [0, 1], "data": [["1"], ["3"]]}, "table_names": "['Vehicles' 'Vehicles']", "table_image_ids": ["TableImg_Nzsc3_3.png", "TableImg_Sr6pb_3.png"], "original_data_index": 253} +{"question": "SELECT Height, Birth_Date FROM people WHERE Name = \"Teodor Salparov\" AND \"Height\" <> 194.0 OR Birth_Date = \"January 22, 1987\" EXCEPT SELECT Height, Birth_Date FROM people WHERE \"Height\" > 182.0 AND Birth_Date <> \"May 26, 1986\" AND Nationality <> \"Russia\" AND Name != \"Roman Bragin\"", "answer": {"columns": ["Height", "Birth_Date"], "index": [0, 1], "data": [["182", "August 16, 1982"], ["193", "January 22, 1987"]]}, "table_names": "['people' 'people']", "table_image_ids": ["TableImg_E2v1a_7.png", "TableImg_Rpfaz_7.png"], "original_data_index": 254} +{"question": "SELECT MIN(document_id), MIN(draft_number), draft_details FROM Document_Drafts WHERE \"document_id\" > 7 AND draft_details <> \"a\" EXCEPT SELECT MIN(document_id), MIN(draft_number), draft_details FROM Document_Drafts WHERE \"draft_number\" <= 2 AND draft_details != \"r\"", "answer": {"columns": ["MIN(document_id)", "MIN(draft_number)", "draft_details"], "index": [0], "data": [["10", "4", "w"]]}, "table_names": "['Document_Drafts' 'Document_Drafts']", "table_image_ids": ["TableImg_Bybda_15.png", "TableImg_Sf534_15.png"], "original_data_index": 255} +{"question": "SELECT MIN(Governor), Attorney_General, MIN(Comptroller) FROM party WHERE Lieutenant_Governor = \"David Paterson\" AND Comptroller <> \"Alan Hevesi\" AND \"Year\" <= 2006.0 AND US_Senate <> \"Hillary Rodham Clinton\" AND Party != \"Democratic\" AND Governor <> \"Peter Vallone\" UNION ALL SELECT MIN(Governor), Attorney_General, MIN(Comptroller) FROM party WHERE \"Year\" = 1998.0 OR Attorney_General <> \"Eliot Spitzer\"", "answer": {"columns": ["MIN(Governor)", "Attorney_General", "MIN(Comptroller)"], "index": [0, 1], "data": [["", "", ""], ["Betsy McCaughey Ross", "Andrew Cuomo", "Alan Hevesi"]]}, "table_names": "['party' 'party']", "table_image_ids": ["TableImg_K94tk_7.png", "TableImg_Am05t_7.png"], "original_data_index": 256} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 1 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["1"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Hpaj2_12.png", "TableImg_Xte6m_5.png"], "original_data_index": 257} +{"question": "SELECT PetID FROM Has_Pet WHERE \"PetID\" <> 2002 OR \"StuID\" < 1002 UNION SELECT PetID FROM Pets WHERE PetType != \"cat\" AND \"pet_age\" > 2 AND \"weight\" = 13.4 AND \"PetID\" <= 2002", "answer": {"columns": ["PetID"], "index": [0, 1], "data": [["2001"], ["2003"]]}, "table_names": "['Has_Pet' 'Pets']", "table_image_ids": ["TableImg_X9fuh_3.png", "TableImg_Qqcft_3.png"], "original_data_index": 258} +{"question": "SELECT Publication_Date, Price, Book_ID, Publication_ID FROM publication WHERE Publisher <> \"Pearson\" AND \"Book_ID\" <= 5 AND \"Price\" > 2000000.0 AND Publication_Date <> \"March 2007\" UNION SELECT Publication_Date, Price, Book_ID, Publication_ID FROM publication WHERE \"Book_ID\" >= 9", "answer": {"columns": ["Publication_Date", "Price", "Book_ID", "Publication_ID"], "index": [0, 1, 2, 3, 4], "data": [["April 2007", "2000000", "10", "7"], ["June 2006", "4100000", "4", "3"], ["March 2007", "2000000", "9", "6"], ["March 2008", "6000000", "3", "2"], ["October 2005", "3000000", "5", "4"]]}, "table_names": "['publication' 'publication']", "table_image_ids": ["TableImg_Tofzr_7.png", "TableImg_Ggdds_7.png"], "original_data_index": 259} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 2 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "data": [["1"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_2utuw_12.png", "TableImg_Alywo_5.png"], "original_data_index": 260} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 5 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID = 2", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2], "data": [["1"], ["3"], ["4"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Uhg8c_5.png", "TableImg_Hyz3g_4.png"], "original_data_index": 261} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 6 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7], "data": [["3"], ["4"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_V8gw4_12.png", "TableImg_926gy_5.png"], "original_data_index": 262} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 6 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["8"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Dwuaw_12.png", "TableImg_X23gn_5.png"], "original_data_index": 263} +{"question": "SELECT feature_type_name FROM Ref_Feature_Types WHERE feature_type_name = \"Securiyt, eg Burglar Alarm.\" OR feature_type_code = \"Amenity\" UNION SELECT feature_type_name FROM Ref_Feature_Types WHERE feature_type_code = \"Security\"", "answer": {"columns": ["feature_type_name"], "index": [0, 1], "data": [["Amenity, eg Pool."], ["Securiyt, eg Burglar Alarm."]]}, "table_names": "['Ref_Feature_Types' 'Ref_Feature_Types']", "table_image_ids": ["TableImg_Qast1_2.png", "TableImg_Gt4if_2.png"], "original_data_index": 264} +{"question": "SELECT customer_id FROM Customers WHERE first_name = \"Jordy\" AND date_of_birth <> \"1993-07-09 11:11:36\" OR date_became_customer = \"2015-06-24 03:50:04\" OR \"amount_outstanding\" > 3751.0 OR cell_mobile_phone_number = \"577-584-4864\" AND last_name <> \"Grant\" OR customer_status_code != \"Bad Customer\" OR \"customer_id\" != 12 OR phone_number != \"1-875-045-0806\" OR \"customer_address_id\" <= 10 AND email_address != \"ehowell@example.com\" UNION SELECT customer_id FROM Lessons WHERE \"lesson_id\" = 4", "answer": {"columns": ["customer_id"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"], ["13"], ["14"], ["15"]]}, "table_names": "['Customers' 'Lessons']", "table_image_ids": ["TableImg_Fii1v_15.png", "TableImg_Bmzkh_15.png"], "original_data_index": 265} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 3 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5], "data": [["5"], ["6"], ["8"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Msqk2_12.png", "TableImg_Vn4sa_5.png"], "original_data_index": 266} +{"question": "SELECT Branch_ID, AVG(Register_Year) FROM membership_register_branch WHERE Branch_ID <> \"5\" AND \"Member_ID\" < 1 UNION SELECT Branch_ID, AVG(Register_Year) FROM membership_register_branch WHERE Branch_ID != \"5\" OR Register_Year != \"2016\"", "answer": {"columns": ["Branch_ID", "AVG(Register_Year)"], "index": [0, 1], "data": [["", ""], ["1.0", "2016.2857142857"]]}, "table_names": "['membership_register_branch' 'membership_register_branch']", "table_image_ids": ["TableImg_31uh8_8.png", "TableImg_Q3w57_8.png"], "original_data_index": 267} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 1 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 1", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["3"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Wuozw_5.png", "TableImg_Bkces_4.png"], "original_data_index": 268} +{"question": "SELECT FullName, Id, Maker, Country FROM car_makers WHERE Country != \"3\" OR \"Id\" < 2 OR FullName != \"Mazda\" UNION SELECT FullName, Id, Maker, Country FROM car_makers WHERE Country != \"4\" OR \"Id\" > 7 OR Maker <> \"volvo\"", "answer": {"columns": ["FullName", "Id", "Maker", "Country"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21], "data": [["American Motor Company", "1", "amc", "1"], ["BMW", "3", "bmw", "2"], ["Chrysler", "6", "chrysler", "1"], ["Citroen", "7", "citroen", "3"], ["Daimler Benz", "13", "daimler benz", "2"], ["Fiat", "9", "fiat", "5"], ["Ford Motor Company", "5", "ford", "1"], ["General Motors", "4", "gm", "1"], ["Honda", "11", "honda", "4"], ["Hyundai", "23", "hyundai", "8"], ["Kia Motors", "22", "kia", "8"], ["Mazda", "12", "mazda", "4"], ["Nissan Motors", "8", "nissan", "4"], ["Opel", "14", "opel", "2"], ["Peugeaut", "15", "peugeaut", "3"], ["Renault", "16", "renault", "3"], ["Saab", "17", "saab", "6"], ["Subaru", "18", "subaru", "4"], ["Toyota", "19", "toyota", "4"], ["Triumph", "20", "triumph", "7"], ["Volkswagen", "2", "volkswagen", "2"], ["Volvo", "21", "volvo", "6"]]}, "table_names": "['car_makers' 'car_makers']", "table_image_ids": ["TableImg_R9pi5_22.png", "TableImg_Iwzc7_22.png"], "original_data_index": 269} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 4 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 1", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_3ybmj_5.png", "TableImg_Nzy06_4.png"], "original_data_index": 270} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 6 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["6"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Sml7x_12.png", "TableImg_Qwzgr_5.png"], "original_data_index": 271} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 10 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_1exzm_12.png", "TableImg_9lilz_5.png"], "original_data_index": 272} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 2 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["1"], ["3"], ["5"], ["6"], ["8"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Tl0jf_12.png", "TableImg_N3t6l_5.png"], "original_data_index": 273} +{"question": "SELECT document_type_code FROM Ref_Document_Types WHERE document_type_description = \"f\" INTERSECT SELECT document_type_code FROM Ref_Document_Types WHERE document_type_code != \"CD\"", "answer": {"columns": ["document_type_code"], "index": [0], "data": [["Hard Drive"]]}, "table_names": "['Ref_Document_Types' 'Ref_Document_Types']", "table_image_ids": ["TableImg_Cvoa2_3.png", "TableImg_Dizln_3.png"], "original_data_index": 274} +{"question": "SELECT document_id FROM Documents WHERE shipping_agent_code != \"UP\" AND \"document_id\" > 1 INTERSECT SELECT document_id FROM Documents_Mailed WHERE mailing_date <> \"2010-11-04 04:00:16\"", "answer": {"columns": ["document_id"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["2"], ["4"], ["7"], ["12"], ["14"], ["23"], ["24"]]}, "table_names": "['Documents' 'Documents_Mailed']", "table_image_ids": ["TableImg_85ceu_15.png", "TableImg_Ln515_14.png"], "original_data_index": 275} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 6 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 4", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["4"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Totyh_12.png", "TableImg_Paquu_5.png"], "original_data_index": 276} +{"question": "SELECT address_details FROM Addresses WHERE address_details = \"ES\" UNION SELECT address_details FROM Addresses WHERE \"address_id\" <= 4 OR address_details <> \"PT\"", "answer": {"columns": ["address_details"], "index": [0, 1, 2, 3, 4, 5], "data": [["DE"], ["ES"], ["IE"], ["IT"], ["MX"], ["US"]]}, "table_names": "['Addresses' 'Addresses']", "table_image_ids": ["TableImg_58mcv_10.png", "TableImg_Rtevm_10.png"], "original_data_index": 277} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 5 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 10", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Ic9i1_12.png", "TableImg_7iyd4_5.png"], "original_data_index": 278} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 1 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_75msp_12.png", "TableImg_Dz71w_5.png"], "original_data_index": 279} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 2 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID = 3", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["3"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Jy8ie_5.png", "TableImg_Bxby9_4.png"], "original_data_index": 280} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 5 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["3"], ["4"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Fyd56_12.png", "TableImg_P7wa1_5.png"], "original_data_index": 281} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 2 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["3"], ["4"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_2oarb_12.png", "TableImg_J9sb4_5.png"], "original_data_index": 282} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 2 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["1"], ["2"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_3h054_12.png", "TableImg_P3qju_5.png"], "original_data_index": 283} +{"question": "SELECT MAX(City_Area), MIN(Headquartered_City), District_name, MIN(District_ID), SUM(City_Population) FROM district WHERE \"City_Area\" <> 22.0 EXCEPT SELECT MAX(City_Area), MIN(Headquartered_City), District_name, MIN(District_ID), SUM(City_Population) FROM district WHERE Headquartered_City <> \"Khanewal City\" AND \"City_Area\" <> 38.0 AND \"City_Population\" != 134936.0 OR District_name != \"Attock District\" AND \"District_ID\" < 15", "answer": {"columns": ["MAX(City_Area)", "MIN(Headquartered_City)", "District_name", "MIN(District_ID)", "SUM(City_Population)"], "index": [0], "data": [["147", "Attock City", "Attock District", "1", "6841342"]]}, "table_names": "['district' 'district']", "table_image_ids": ["TableImg_P7go3_15.png", "TableImg_U4yd1_15.png"], "original_data_index": 284} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 1 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["3"], ["4"], ["7"], ["9"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_C2nk1_12.png", "TableImg_Nqghr_5.png"], "original_data_index": 285} +{"question": "SELECT COUNT(T1.People_ID), T2.Poker_Player_ID FROM people as T1 JOIN poker_player as T2 ON T1.People_ID = T2.People_ID WHERE Nationality = \"Bulgaria\" OR \"Final_Table_Made\" <> 26.0 OR \"Best_Finish\" = 1.0 OR \"Money_Rank\" <> 68.0 OR Birth_Date <> \"April 17, 1987\" AND \"Poker_Player_ID\" = 1 AND \"Height\" < 196.0", "answer": {"columns": ["COUNT(T1.People_ID)", "Poker_Player_ID"], "index": [0], "data": [["5", "1"]]}, "table_names": "['people' 'poker_player']", "table_image_ids": ["TableImg_N625p_7.png", "TableImg_Ambtp_5.png"], "original_data_index": 286} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 1 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["3"], ["4"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_X1vi3_12.png", "TableImg_Oucx3_5.png"], "original_data_index": 287} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 1 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["1"], ["9"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_V5jah_12.png", "TableImg_Lplpy_5.png"], "original_data_index": 288} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 1 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["3"], ["4"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_5rp2u_12.png", "TableImg_68z6x_5.png"], "original_data_index": 289} +{"question": "SELECT lesson_date, COUNT(lesson_status_code) FROM Lessons WHERE \"vehicle_id\" != 2 OR lesson_time != \"9\" UNION SELECT lesson_date, COUNT(lesson_status_code) FROM Lessons WHERE lesson_status_code = \"Cancelled\" OR lesson_date <> \"2018-03-07 11:53:32\"", "answer": {"columns": ["lesson_date", "COUNT(lesson_status_code)"], "index": [0, 1], "data": [["2018-02-28 10:55:36", "12"], ["2018-02-28 10:55:36", "15"]]}, "table_names": "['Lessons' 'Lessons']", "table_image_ids": ["TableImg_Xfodm_15.png", "TableImg_Ejskm_15.png"], "original_data_index": 290} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 6 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["7"], ["8"], ["9"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Cx6v2_12.png", "TableImg_H873x_5.png"], "original_data_index": 291} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 11 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 4", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["3"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_X3q54_12.png", "TableImg_2qnmu_5.png"], "original_data_index": 292} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 6 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["3"], ["4"], ["6"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Xxzkp_12.png", "TableImg_Ocy5g_5.png"], "original_data_index": 293} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 6 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 7", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["6"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Kp2hn_12.png", "TableImg_Nuyow_5.png"], "original_data_index": 294} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 3 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 1", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["1"], ["4"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Ob9q3_5.png", "TableImg_P27j7_4.png"], "original_data_index": 295} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 8 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["3"], ["4"], ["7"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Rrtl2_12.png", "TableImg_N4pk4_5.png"], "original_data_index": 296} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 1 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 1", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_40ud1_5.png", "TableImg_17a8l_4.png"], "original_data_index": 297} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 2 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Ft8bc_12.png", "TableImg_U7pmw_5.png"], "original_data_index": 298} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 6 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["3"], ["4"], ["7"], ["9"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_R7kl9_12.png", "TableImg_4otr3_5.png"], "original_data_index": 299} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 5 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 2", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_5v71b_5.png", "TableImg_Z3k1x_4.png"], "original_data_index": 300} +{"question": "SELECT other_details, AVG(employee_id) FROM Employees WHERE other_details <> \"b\" UNION ALL SELECT other_details, AVG(employee_id) FROM Employees WHERE employee_name <> \"Clemens\" AND other_details = \"u\" OR role_code = \"PR\" AND \"employee_id\" >= 1", "answer": {"columns": ["other_details", "AVG(employee_id)"], "index": [0, 1], "data": [["h", "4.5"], ["b", "5.5"]]}, "table_names": "['Employees' 'Employees']", "table_image_ids": ["TableImg_1173s_6.png", "TableImg_8cfu5_6.png"], "original_data_index": 301} +{"question": "SELECT last_name, COUNT(customer_address_id), amount_outstanding, COUNT(customer_id), SUM(customer_status_code), email_address, date_of_birth, COUNT(phone_number) FROM Customers WHERE email_address <> \"mayert.judy@example.com\" OR last_name <> \"Tromp\" OR \"amount_outstanding\" > 2099.0 OR date_of_birth = \"1994-05-07 01:32:16\" AND first_name = \"Dameon\" EXCEPT SELECT last_name, COUNT(customer_address_id), amount_outstanding, COUNT(customer_id), SUM(customer_status_code), email_address, date_of_birth, COUNT(phone_number) FROM Customers WHERE \"customer_address_id\" = 1 AND phone_number <> \"(297)122-0086\" AND first_name != \"Dameon\" AND email_address <> \"kitty.hand@example.net\" AND customer_status_code = \"Good Customer\" OR cell_mobile_phone_number <> \"1-401-108-8016x078\" AND date_became_customer = \"2016-05-13 07:38:23\" AND \"amount_outstanding\" >= 2099.0 OR date_of_birth != \"1996-08-29 00:03:08\" AND \"customer_id\" = 12 OR last_name = \"Grant\"", "answer": {"columns": ["last_name", "COUNT(customer_address_id)", "amount_outstanding", "COUNT(customer_id)", "SUM(customer_status_code)", "email_address", "date_of_birth", "COUNT(phone_number)"], "index": [0], "data": [["Bernhard", "15", "255", "15", "0", "everette.goyette@example.org", "1998-12-15 13:24:40", "15"]]}, "table_names": "['Customers' 'Customers']", "table_image_ids": ["TableImg_8yxap_15.png", "TableImg_Bflyp_15.png"], "original_data_index": 302} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 4 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["4"], ["7"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Txjbf_12.png", "TableImg_Ce8il_5.png"], "original_data_index": 303} +{"question": "SELECT MIN(Home_city), MIN(Party) FROM driver WHERE \"Driver_ID\" != 5 UNION ALL SELECT MIN(Home_city), MIN(Party) FROM driver WHERE Home_city = \"Bethel\" AND \"Driver_ID\" <> 4 OR Name <> \"Angel Acre\" OR Party <> \"Dem\" AND \"Age\" >= 30", "answer": {"columns": ["MIN(Home_city)", "MIN(Party)"], "index": [0, 1], "data": [["Bethel", "Dem"], ["Bethel", "Dem"]]}, "table_names": "['driver' 'driver']", "table_image_ids": ["TableImg_5yi6q_12.png", "TableImg_Drnju_12.png"], "original_data_index": 304} +{"question": "SELECT PetType, MIN(weight) FROM Pets WHERE \"weight\" <> 12.0 AND \"pet_age\" <> 2 UNION SELECT PetType, MIN(weight) FROM Pets WHERE PetType = \"dog\" AND \"PetID\" >= 2001", "answer": {"columns": ["PetType", "MIN(weight)"], "index": [0], "data": [["dog", "9.3"]]}, "table_names": "['Pets' 'Pets']", "table_image_ids": ["TableImg_T7h7o_3.png", "TableImg_T9vi1_3.png"], "original_data_index": 305} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 9 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Rqwnc_12.png", "TableImg_Xjw7l_5.png"], "original_data_index": 306} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 8 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["3"], ["4"], ["7"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Ti58v_12.png", "TableImg_0l0b6_5.png"], "original_data_index": 307} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 8 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 3", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["3"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_O92fz_12.png", "TableImg_Fxoe9_5.png"], "original_data_index": 308} +{"question": "SELECT middle_name, last_name, date_left_staff, date_of_birth, staff_id, MIN(date_joined_staff), MIN(first_name), COUNT(staff_address_id) FROM Staff WHERE date_left_staff != \"2018-03-06 23:17:41\" AND date_joined_staff <> \"2016-11-05 01:43:52\" UNION SELECT middle_name, last_name, date_left_staff, date_of_birth, staff_id, MIN(date_joined_staff), MIN(first_name), COUNT(staff_address_id) FROM Staff WHERE \"staff_address_id\" > 4 OR date_of_birth = \"2003-01-16 06:29:11\" OR last_name <> \"Kuphal\"", "answer": {"columns": ["middle_name", "last_name", "date_left_staff", "date_of_birth", "staff_id", "MIN(date_joined_staff)", "MIN(first_name)", "COUNT(staff_address_id)"], "index": [0, 1], "data": [["Icie", "Weissnat", "2018-03-10 15:25:00", "2015-08-01 13:22:43", "2", "2016-05-01 02:22:45", "Camylle", "14"], ["Icie", "Weissnat", "2018-03-10 15:25:00", "2015-08-01 13:22:43", "2", "2016-05-01 02:22:45", "Camylle", "15"]]}, "table_names": "['Staff' 'Staff']", "table_image_ids": ["TableImg_29on4_15.png", "TableImg_Qhnnj_15.png"], "original_data_index": 309} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID = 1 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 3", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["1"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_U2arv_5.png", "TableImg_Hgxi1_4.png"], "original_data_index": 310} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 1 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 3", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Zop0w_5.png", "TableImg_Iniy8_4.png"], "original_data_index": 311} +{"question": "SELECT District_ID, Store_ID FROM store_district WHERE \"District_ID\" != 4 INTERSECT SELECT District_ID, Store_ID FROM store_district WHERE \"District_ID\" < 15", "answer": {"columns": ["District_ID", "Store_ID"], "index": [0, 1], "data": [["3", "5"], ["11", "3"]]}, "table_names": "['store_district' 'store_district']", "table_image_ids": ["TableImg_40wxu_5.png", "TableImg_230ai_5.png"], "original_data_index": 312} +{"question": "SELECT Template_Type_Description FROM Ref_Template_Types WHERE Template_Type_Code = \"BK\" UNION ALL SELECT Template_Type_Description FROM Ref_Template_Types WHERE Template_Type_Description != \"Presentation\"", "answer": {"columns": ["Template_Type_Description"], "index": [0, 1, 2, 3, 4], "data": [["Book"], ["CV"], ["Advertisement"], ["Paper"], ["Book"]]}, "table_names": "['Ref_Template_Types' 'Ref_Template_Types']", "table_image_ids": ["TableImg_Dzwxx_5.png", "TableImg_B388j_5.png"], "original_data_index": 313} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 9 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["7"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Vb4kn_12.png", "TableImg_Hm73h_5.png"], "original_data_index": 314} +{"question": "SELECT SUM(Driver_ID) FROM driver WHERE Home_city != \"East Hartford\" AND Party <> \"Dem\" EXCEPT SELECT SUM(Driver_ID) FROM school_bus WHERE If_full_time = \"T\" OR \"School_ID\" >= 1", "answer": {"columns": ["SUM(Driver_ID)"], "index": [0], "data": [["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_S1nb6_12.png", "TableImg_3e6lz_5.png"], "original_data_index": 315} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 7 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["3"], ["4"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_C8t30_12.png", "TableImg_Cqqad_5.png"], "original_data_index": 316} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 12 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Wd7f7_12.png", "TableImg_377fs_5.png"], "original_data_index": 317} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 4 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID = 2", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["2"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Kig8a_5.png", "TableImg_Xyr5v_4.png"], "original_data_index": 318} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 4 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "data": [["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_17pyc_12.png", "TableImg_Op8q2_5.png"], "original_data_index": 319} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 9 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_5lvv9_12.png", "TableImg_937fu_5.png"], "original_data_index": 320} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 4 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["4"], ["7"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_1jsnv_12.png", "TableImg_8c0e1_5.png"], "original_data_index": 321} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 3 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["3"], ["7"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_9l0pi_12.png", "TableImg_Plp1r_5.png"], "original_data_index": 322} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 6 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["1"], ["2"], ["5"], ["8"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_S2s16_12.png", "TableImg_B4w0d_5.png"], "original_data_index": 323} +{"question": "SELECT eid, name FROM employee WHERE \"eid\" > 574489456 OR name != \"Mark Young\" AND \"salary\" = 20 INTERSECT SELECT eid, name FROM employee WHERE \"salary\" != 205187 OR \"eid\" = 274878974 OR name = \"Richard Jackson\"", "answer": {"columns": ["eid", "name"], "index": [0, 1], "data": [["574489457", "Milo Brooks"], ["619023588", "Jennifer Thomas"]]}, "table_names": "['employee' 'employee']", "table_image_ids": ["TableImg_Fbfv7_31.png", "TableImg_50apo_31.png"], "original_data_index": 324} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 4 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID = 1", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["1"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Vz53e_5.png", "TableImg_A2kc7_4.png"], "original_data_index": 325} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 2 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Vci9u_12.png", "TableImg_Yuilw_5.png"], "original_data_index": 326} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 6 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8], "data": [["3"], ["4"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_19lzt_12.png", "TableImg_Nmd09_5.png"], "original_data_index": 327} +{"question": "SELECT Country, MIN(id) FROM airport GROUP BY Country HAVING MIN(id) >= 5 EXCEPT SELECT Country, MIN(id) FROM airport GROUP BY Country HAVING MIN(id) <= 6", "answer": {"columns": ["Country", "MIN(id)"], "index": [0, 1], "data": [["Belgium", "9"], ["Denmark", "7"]]}, "table_names": "['airport' 'airport']", "table_image_ids": ["TableImg_Ahfp1_9.png", "TableImg_4177c_9.png"], "original_data_index": 328} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 9 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_X6jbo_12.png", "TableImg_Kgtqn_5.png"], "original_data_index": 329} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 1 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_3113k_12.png", "TableImg_Kqr8e_5.png"], "original_data_index": 330} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 4 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4], "data": [["5"], ["6"], ["8"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_6npxa_12.png", "TableImg_0mrtv_5.png"], "original_data_index": 331} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 5 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["3"], ["4"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_29p6v_12.png", "TableImg_4sshk_5.png"], "original_data_index": 332} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 5 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8], "data": [["3"], ["4"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_78k9r_12.png", "TableImg_Ramjx_5.png"], "original_data_index": 333} +{"question": "SELECT AVG(StuID) FROM Has_Pet WHERE \"StuID\" <> 1002 NOT IN (SELECT AVG(StuID) FROM Has_Pet WHERE \"StuID\" <> 1002)", "answer": {"columns": ["AVG(StuID)"], "index": [0], "data": [["1001.6666666667"]]}, "table_names": "['Has_Pet' 'Has_Pet']", "table_image_ids": ["TableImg_W6wrq_3.png", "TableImg_5srer_3.png"], "original_data_index": 334} +{"question": "SELECT T1.Freight_Metric_Tonnes, MIN(T2.Aircraft_ID) FROM airport as T1 JOIN airport_aircraft as T2 ON T1.Airport_ID = T2.Airport_ID", "answer": {"columns": ["Freight_Metric_Tonnes", "MIN(T2.Aircraft_ID)"], "index": [0], "data": [["107702", "1"]]}, "table_names": "['airport' 'airport_aircraft']", "table_image_ids": ["TableImg_8km7r_10.png", "TableImg_R1rl2_4.png"], "original_data_index": 335} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 11 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 3", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["3"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_P601e_12.png", "TableImg_Cwp82_5.png"], "original_data_index": 336} +{"question": "SELECT Coach_ID FROM coach WHERE \"Coach_ID\" > 1 UNION SELECT Coach_ID FROM player_coach WHERE \"Starting_year\" >= 2011", "answer": {"columns": ["Coach_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["3"], ["4"], ["5"]]}, "table_names": "['coach' 'player_coach']", "table_image_ids": ["TableImg_Uhk3k_5.png", "TableImg_2qygv_7.png"], "original_data_index": 337} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 1 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID = 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2], "data": [["2"], ["3"], ["4"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_4rfm2_5.png", "TableImg_9huv4_4.png"], "original_data_index": 338} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 1 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 3", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["2"], ["4"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_V8zy6_5.png", "TableImg_6ie9o_4.png"], "original_data_index": 339} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 7 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5], "data": [["4"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_O8sn0_12.png", "TableImg_Faz4p_5.png"], "original_data_index": 340} +{"question": "SELECT StuID FROM Has_Pet WHERE \"StuID\" < 1002 OR \"PetID\" > 2003 UNION ALL SELECT StuID FROM Student WHERE \"Major\" <> 520 AND Sex != \"M\" OR Fname = \"Sarah\" AND LName <> \"Wilson\" OR \"StuID\" <> 1026 OR city_code != \"HKG\" OR \"Age\" >= 18 AND \"Advisor\" <= 7712", "answer": {"columns": ["StuID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34], "data": [["1001"], ["1001"], ["1002"], ["1003"], ["1004"], ["1005"], ["1006"], ["1007"], ["1008"], ["1009"], ["1010"], ["1011"], ["1012"], ["1014"], ["1015"], ["1016"], ["1017"], ["1018"], ["1019"], ["1020"], ["1021"], ["1022"], ["1023"], ["1024"], ["1025"], ["1026"], ["1027"], ["1028"], ["1029"], ["1030"], ["1031"], ["1032"], ["1033"], ["1034"], ["1035"]]}, "table_names": "['Has_Pet' 'Student']", "table_image_ids": ["TableImg_0nbs2_3.png", "TableImg_2fvxw_34.png"], "original_data_index": 341} +{"question": "SELECT date_became_customer, customer_address_id, date_of_birth FROM Customers WHERE date_became_customer <> \"2016-07-22 15:53:44\" OR \"customer_address_id\" >= 9 AND email_address = \"afranecki@example.com\" AND \"amount_outstanding\" <> 3900.0 OR cell_mobile_phone_number != \"1-401-108-8016x078\" OR customer_status_code <> \"Good Customer\" UNION ALL SELECT date_became_customer, customer_address_id, date_of_birth FROM Customers WHERE first_name <> \"Omer\" OR cell_mobile_phone_number <> \"1-197-686-2849x8761\" AND date_of_birth <> \"1993-07-09 11:11:36\" OR last_name <> \"Mertz\" OR \"customer_address_id\" > 10 AND date_became_customer != \"2016-02-17 08:26:23\"", "answer": {"columns": ["date_became_customer", "customer_address_id", "date_of_birth"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29], "data": [["2016-05-11 17:03:48", "13", "1998-12-15 13:24:40"], ["2015-11-16 22:52:14", "10", "1995-07-17 12:13:16"], ["2016-04-08 00:28:15", "10", "1994-06-21 01:34:56"], ["2016-07-22 15:53:44", "8", "1993-02-07 05:40:26"], ["2017-11-12 04:34:44", "2", "1991-02-10 00:42:17"], ["2017-04-16 05:12:21", "9", "1993-03-08 08:48:42"], ["2015-06-24 03:50:04", "1", "1996-11-07 05:30:55"], ["2017-10-05 14:15:46", "10", "1998-09-18 04:45:01"], ["2016-02-17 08:26:23", "12", "1991-12-05 02:50:15"], ["2017-11-25 01:42:26", "1", "1996-08-29 00:03:08"], ["2016-11-30 10:37:41", "13", "1994-05-07 01:32:16"], ["2016-05-13 07:38:23", "9", "1993-07-09 11:11:36"], ["2016-09-04 23:08:20", "7", "1988-09-19 14:45:56"], ["2016-03-18 06:14:18", "10", "1996-05-23 01:21:54"], ["2015-09-25 13:59:21", "1", "1996-08-30 06:17:50"], ["2016-05-11 17:03:48", "13", "1998-12-15 13:24:40"], ["2015-11-16 22:52:14", "10", "1995-07-17 12:13:16"], ["2016-04-08 00:28:15", "10", "1994-06-21 01:34:56"], ["2016-07-22 15:53:44", "8", "1993-02-07 05:40:26"], ["2017-11-12 04:34:44", "2", "1991-02-10 00:42:17"], ["2017-04-16 05:12:21", "9", "1993-03-08 08:48:42"], ["2015-06-24 03:50:04", "1", "1996-11-07 05:30:55"], ["2017-10-05 14:15:46", "10", "1998-09-18 04:45:01"], ["2016-02-17 08:26:23", "12", "1991-12-05 02:50:15"], ["2017-11-25 01:42:26", "1", "1996-08-29 00:03:08"], ["2016-11-30 10:37:41", "13", "1994-05-07 01:32:16"], ["2016-05-13 07:38:23", "9", "1993-07-09 11:11:36"], ["2016-09-04 23:08:20", "7", "1988-09-19 14:45:56"], ["2016-03-18 06:14:18", "10", "1996-05-23 01:21:54"], ["2015-09-25 13:59:21", "1", "1996-08-30 06:17:50"]]}, "table_names": "['Customers' 'Customers']", "table_image_ids": ["TableImg_2zna0_15.png", "TableImg_L7f5f_15.png"], "original_data_index": 342} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 2 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_4gkbs_12.png", "TableImg_Y9cgf_5.png"], "original_data_index": 343} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 4 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5], "data": [["5"], ["6"], ["8"], ["9"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Jgimh_12.png", "TableImg_Mwmg6_5.png"], "original_data_index": 344} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 11 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_W2x3w_12.png", "TableImg_5jo0v_5.png"], "original_data_index": 345} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 5 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 3", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["3"], ["4"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Gxiuu_5.png", "TableImg_5tg9d_4.png"], "original_data_index": 346} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 3 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["1"], ["2"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Uw73v_5.png", "TableImg_Cgyqo_4.png"], "original_data_index": 347} +{"question": "SELECT Company_ID FROM company WHERE \"Sales_in_Billion\" >= 110.8 OR Headquarters != \"USA\" OR \"Market_Value_in_Billion\" != 154.8 OR \"Profits_in_Billion\" <> 26.9 OR \"Company_ID\" > 4.0 INTERSECT SELECT Company_ID FROM employment WHERE \"Company_ID\" > 7 OR \"Year_working\" = 1", "answer": {"columns": ["Company_ID"], "index": [0, 1, 2, 3, 4], "data": [["7"], ["11"], ["13"], ["15"], ["17"]]}, "table_names": "['company' 'employment']", "table_image_ids": ["TableImg_Fa0md_19.png", "TableImg_Wkoh0_5.png"], "original_data_index": 348} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 5 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["5"], ["6"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Dphfx_12.png", "TableImg_5hk1d_5.png"], "original_data_index": 349} +{"question": "SELECT Rank FROM coach WHERE Gender != \"F\" AND Coach_name <> \"Jameson Tomas\" OR \"Coach_ID\" = 5 AND \"Club_ID\" < 1 UNION SELECT Rank FROM player WHERE Sponsor_name != \"Saint Boniface\" OR \"Votes\" != 4673 OR \"Player_ID\" = 4 OR Residence <> \"Birtle\" OR Rank != \"1st\"", "answer": {"columns": ["Rank"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["3"], ["4"], ["5"], ["1st"], ["2nd"], ["3rd"], ["4th"]]}, "table_names": "['coach' 'player']", "table_image_ids": ["TableImg_6zabv_5.png", "TableImg_Yjz5e_14.png"], "original_data_index": 350} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID = 3 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID = 1", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["3"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_7tu47_5.png", "TableImg_Z1o56_4.png"], "original_data_index": 351} +{"question": "SELECT COUNT(T1.Domestic_Passengers), T2.Aircraft_ID FROM airport as T1 JOIN airport_aircraft as T2 ON T1.Airport_ID = T2.Airport_ID", "answer": {"columns": ["COUNT(T1.Domestic_Passengers)", "Aircraft_ID"], "index": [0], "data": [["4", "2"]]}, "table_names": "['airport' 'airport_aircraft']", "table_image_ids": ["TableImg_Mtv3j_10.png", "TableImg_5r316_4.png"], "original_data_index": 352} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 6 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Tuncg_12.png", "TableImg_Ibeuq_5.png"], "original_data_index": 353} +{"question": "SELECT shipping_agent_code, shipping_agent_name FROM Ref_Shipping_Agents WHERE shipping_agent_code != \"UP\" AND shipping_agent_name <> \"Fedex\" INTERSECT SELECT shipping_agent_code, shipping_agent_name FROM Ref_Shipping_Agents WHERE shipping_agent_description <> \"t\" OR shipping_agent_code = \"UP\"", "answer": {"columns": ["shipping_agent_code", "shipping_agent_name"], "index": [0, 1], "data": [["AL", "Airline"], ["US", "USPS"]]}, "table_names": "['Ref_Shipping_Agents' 'Ref_Shipping_Agents']", "table_image_ids": ["TableImg_Cb6a9_5.png", "TableImg_Vhpem_5.png"], "original_data_index": 354} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 5 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["7"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_5f1vj_12.png", "TableImg_Tprzo_5.png"], "original_data_index": 355} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 1 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3], "data": [["2"], ["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Jol7d_5.png", "TableImg_Jws20_4.png"], "original_data_index": 356} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 4 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 3", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2], "data": [["1"], ["2"], ["3"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Me428_5.png", "TableImg_59efe_4.png"], "original_data_index": 357} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 1 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["3"], ["4"], ["7"], ["9"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Kuzsk_12.png", "TableImg_Hx3l4_5.png"], "original_data_index": 358} +{"question": "SELECT Rank, Club_ID FROM coach WHERE \"Club_ID\" > 1 OR Gender = \"M\" UNION SELECT Rank, Club_ID FROM match_result WHERE \"Small_Silver\" < 16 OR \"Gold\" != 20 OR \"Points\" < 139 AND \"Big_Silver\" <= 12", "answer": {"columns": ["Rank", "Club_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7], "data": [["1", "1"], ["2", "2"], ["3", "3"], ["4", "3"], ["4", "4"], ["5", "1"], ["5", "5"], ["6", "6"]]}, "table_names": "['coach' 'match_result']", "table_image_ids": ["TableImg_Ujtok_5.png", "TableImg_2si2y_6.png"], "original_data_index": 359} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 12 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_D8tzt_12.png", "TableImg_Gl06h_5.png"], "original_data_index": 360} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 7 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Giv6h_12.png", "TableImg_S0q26_5.png"], "original_data_index": 361} +{"question": "SELECT Total_disk_area, Aircraft, Max_Gross_Weight, Description, Max_disk_Loading FROM aircraft WHERE Description <> \"Heavy-lift helicopter\" AND Aircraft = \"CH-47D Chinook\" AND Total_disk_area = \"5,655 ft\u00b2 (526 m\u00b2)\" UNION SELECT Total_disk_area, Aircraft, Max_Gross_Weight, Description, Max_disk_Loading FROM aircraft WHERE Total_disk_area = \"5,655 ft\u00b2 (526 m\u00b2)\"", "answer": {"columns": ["Total_disk_area", "Aircraft", "Max_Gross_Weight", "Description", "Max_disk_Loading"], "index": [0], "data": [["5,655 ft\u00b2 (526 m\u00b2)", "CH-47D Chinook", "50,000 lb (22,680 kg)", "Tandem rotor helicopter", "8.8 lb/ft\u00b2 (43 kg/m\u00b2)"]]}, "table_names": "['aircraft' 'aircraft']", "table_image_ids": ["TableImg_A2qzx_5.png", "TableImg_Jv4fg_5.png"], "original_data_index": 362} +{"question": "SELECT age, born_state FROM head WHERE born_state = \"California\" EXCEPT SELECT age, born_state FROM head WHERE \"age\" <= 43.0 OR born_state <> \"California\" AND \"head_ID\" >= 10 AND name != \"P\u00e1draig Harrington\"", "answer": {"columns": ["age", "born_state"], "index": [0, 1, 2, 3], "data": [["52", "California"], ["56", "California"], ["68", "California"], ["69", "California"]]}, "table_names": "['head' 'head']", "table_image_ids": ["TableImg_Fwwab_10.png", "TableImg_Hhktc_10.png"], "original_data_index": 363} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 11 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_71joz_12.png", "TableImg_9ujoo_5.png"], "original_data_index": 364} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 6 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_4jzzr_12.png", "TableImg_1vqii_5.png"], "original_data_index": 365} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 3 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_2qnq1_5.png", "TableImg_53bg0_4.png"], "original_data_index": 366} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 2 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 1", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_0oyu7_5.png", "TableImg_Zkkqh_4.png"], "original_data_index": 367} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID = 1 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2], "data": [["1"], ["2"], ["3"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Ny5hd_5.png", "TableImg_52vmc_4.png"], "original_data_index": 368} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 1 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 2", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["2"], ["4"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_R6w3e_5.png", "TableImg_Ch74a_4.png"], "original_data_index": 369} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 11 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4], "data": [["3"], ["4"], ["7"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Lckhq_12.png", "TableImg_Nkswl_5.png"], "original_data_index": 370} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 5 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Kj2di_12.png", "TableImg_R1orj_5.png"], "original_data_index": 371} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 6 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 3", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["3"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_8oei3_12.png", "TableImg_Ctu2f_5.png"], "original_data_index": 372} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 8 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["8"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Lbdok_12.png", "TableImg_Lnyxd_5.png"], "original_data_index": 373} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 12 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 4", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_K668c_12.png", "TableImg_Ymnca_5.png"], "original_data_index": 374} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 8 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_8zgc0_12.png", "TableImg_Jn0zj_5.png"], "original_data_index": 375} +{"question": "SELECT SUM(name) FROM airport WHERE City = \"Bergen\" AND ICAO = \"PANC\" AND name = \"Schiphol Airport\" AND \"id\" < 3 OR Country != \"Norway\" AND IATA <> \"BRU\" UNION SELECT SUM(name) FROM operate_company WHERE Incorporated_in = \"Hong Kong\"", "answer": {"columns": ["SUM(name)"], "index": [0], "data": [["0"]]}, "table_names": "['airport' 'operate_company']", "table_image_ids": ["TableImg_0xfc5_9.png", "TableImg_Q5qtp_14.png"], "original_data_index": 376} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 7 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["5"], ["6"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Jg4v7_12.png", "TableImg_Cs3i3_5.png"], "original_data_index": 377} +{"question": "SELECT Is_full_time FROM hiring WHERE \"Shop_ID\" <= 4 OR Start_from <> \"2003\" UNION ALL SELECT Is_full_time FROM hiring WHERE Start_from <> \"2011\" AND Is_full_time != \"T\"", "answer": {"columns": ["Is_full_time"], "index": [0, 1, 2, 3, 4, 5, 6, 7], "data": [["T"], ["T"], ["F"], ["T"], ["T"], ["F"], ["T"], ["F"]]}, "table_names": "['hiring' 'hiring']", "table_image_ids": ["TableImg_Tzbn4_7.png", "TableImg_Fy42b_7.png"], "original_data_index": 378} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 7 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["3"], ["4"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Sbult_12.png", "TableImg_Cy1ph_5.png"], "original_data_index": 379} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 9 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7], "data": [["1"], ["2"], ["5"], ["6"], ["8"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Ypyv1_12.png", "TableImg_Bi0su_5.png"], "original_data_index": 380} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 1 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["3"], ["4"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_O3clj_12.png", "TableImg_3be1a_5.png"], "original_data_index": 381} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 3 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["1"], ["2"], ["3"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Uzxyc_12.png", "TableImg_73cky_5.png"], "original_data_index": 382} +{"question": "SELECT AVG(feature_name), COUNT(feature_type_code), feature_description FROM Other_Available_Features WHERE feature_name <> \"Pool\" AND feature_description <> \"Air Conditioning.\" OR \"feature_id\" != 2 AND feature_type_code != \"Security\" EXCEPT SELECT AVG(feature_name), COUNT(feature_type_code), feature_description FROM Other_Available_Features WHERE feature_description <> \"Air Conditioning.\" AND feature_type_code = \"Security\"", "answer": {"columns": ["AVG(feature_name)", "COUNT(feature_type_code)", "feature_description"], "index": [0], "data": [["0", "2", "Swimming Pool."]]}, "table_names": "['Other_Available_Features' 'Other_Available_Features']", "table_image_ids": ["TableImg_Sxk3y_3.png", "TableImg_6fgo9_3.png"], "original_data_index": 383} +{"question": "SELECT id FROM albums WHERE title = \"Kill 'Em All\" UNION SELECT id FROM playlists WHERE name <> \"Heavy Metal Classic\"", "answer": {"columns": ["id"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"], ["13"], ["14"], ["15"], ["16"], ["18"], ["150"]]}, "table_names": "['albums' 'playlists']", "table_image_ids": ["TableImg_81xin_347.png", "TableImg_W1ebh_18.png"], "original_data_index": 384} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 7 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["5"], ["6"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_69chp_12.png", "TableImg_8gqks_5.png"], "original_data_index": 385} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 2 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["4"], ["7"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Tutvt_12.png", "TableImg_Xvpcm_5.png"], "original_data_index": 386} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 2 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 5", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["3"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Ypzgy_5.png", "TableImg_Czr6z_4.png"], "original_data_index": 387} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 5 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["7"], ["9"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_79yrg_12.png", "TableImg_Ia4nl_5.png"], "original_data_index": 388} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 1 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 9", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["1"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Xzwo5_12.png", "TableImg_N9npk_5.png"], "original_data_index": 389} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 9 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Zwuu6_12.png", "TableImg_Tjys6_5.png"], "original_data_index": 390} +{"question": "SELECT Max_Gross_Weight, Max_disk_Loading, Aircraft_ID, Aircraft, Description FROM aircraft WHERE Description = \"Heavy-lift helicopter\" OR \"Aircraft_ID\" > 5 AND Aircraft != \"Robinson R-22\" OR Total_disk_area <> \"872 ft\u00b2 (81.1 m\u00b2)\" AND Max_disk_Loading = \"15 lb/ft\u00b2 (72 kg/m\u00b2)\" INTERSECT SELECT Max_Gross_Weight, Max_disk_Loading, Aircraft_ID, Aircraft, Description FROM aircraft WHERE Max_Gross_Weight != \"73,500 lb (33,300 kg)\" AND Max_disk_Loading <> \"15 lb/ft\u00b2 (72 kg/m\u00b2)\" AND Total_disk_area <> \"4,900 ft\u00b2 (460 m\u00b2)\" OR \"Aircraft_ID\" <> 2", "answer": {"columns": ["Max_Gross_Weight", "Max_disk_Loading", "Aircraft_ID", "Aircraft", "Description"], "index": [0, 1], "data": [["123,500 lb (56,000 kg)", "14.5 lb/ft\u00b2 (71 kg/m\u00b2)", "4", "Mil Mi-26", "Heavy-lift helicopter"], ["73,500 lb (33,300 kg)", "15 lb/ft\u00b2 (72 kg/m\u00b2)", "5", "CH-53E Super Stallion", "Heavy-lift helicopter"]]}, "table_names": "['aircraft' 'aircraft']", "table_image_ids": ["TableImg_Dbyqh_5.png", "TableImg_Qs796_5.png"], "original_data_index": 391} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 5 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 1", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["1"], ["4"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Qt1lx_5.png", "TableImg_Ckasp_4.png"], "original_data_index": 392} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 1 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 5", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Mthao_5.png", "TableImg_Baw5f_4.png"], "original_data_index": 393} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 2 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["1"], ["2"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Cw6sk_12.png", "TableImg_X88c0_5.png"], "original_data_index": 394} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 3 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_1ocuf_12.png", "TableImg_4zeks_5.png"], "original_data_index": 395} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 2 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 1", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["4"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Ljuu7_5.png", "TableImg_S5w4o_4.png"], "original_data_index": 396} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 3 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["1"], ["2"], ["5"], ["6"], ["8"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_13bmg_12.png", "TableImg_N1ddn_5.png"], "original_data_index": 397} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 1 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 5", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["1"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Ajeaw_5.png", "TableImg_Rmc96_4.png"], "original_data_index": 398} +{"question": "SELECT MIN(name) FROM aircraft WHERE \"distance\" >= 7120 EXCEPT SELECT MIN(name) FROM employee WHERE \"salary\" < 23980", "answer": {"columns": ["MIN(name)"], "index": [0], "data": [["Airbus A340-300"]]}, "table_names": "['aircraft' 'employee']", "table_image_ids": ["TableImg_3v5w9_16.png", "TableImg_Qb6wv_31.png"], "original_data_index": 399} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 3 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8], "data": [["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Nabjs_12.png", "TableImg_Gi4ep_5.png"], "original_data_index": 400} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 3 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8], "data": [["1"], ["2"], ["4"], ["5"], ["6"], ["7"], ["8"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_R1m82_12.png", "TableImg_Eb5du_5.png"], "original_data_index": 401} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 3 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["3"], ["4"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_10cu4_12.png", "TableImg_Ughof_5.png"], "original_data_index": 402} +{"question": "SELECT FullName, Country, Id, Maker FROM car_makers WHERE \"Id\" < 20 EXCEPT SELECT FullName, Country, Id, Maker FROM car_makers WHERE FullName <> \"BMW\" OR \"Id\" > 7", "answer": {"columns": ["FullName", "Country", "Id", "Maker"], "index": [0], "data": [["BMW", "2", "3", "bmw"]]}, "table_names": "['car_makers' 'car_makers']", "table_image_ids": ["TableImg_18q8d_22.png", "TableImg_5l3a7_22.png"], "original_data_index": 403} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 2 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 2", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["3"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_M5ab2_5.png", "TableImg_03h6g_4.png"], "original_data_index": 404} +{"question": "SELECT SUM(Book_ID), Price FROM publication WHERE Publication_Date <> \"June 2006\" OR \"Publication_ID\" <= 2 AND \"Price\" < 4100000.0 OR Publisher = \"Pearson\" OR \"Book_ID\" < 5 UNION SELECT SUM(Book_ID), Price FROM publication WHERE \"Book_ID\" <= 7 AND \"Price\" >= 4100000.0 AND \"Publication_ID\" = 7 OR Publisher = \"Wiley\" AND Publication_Date != \"April 2007\"", "answer": {"columns": ["SUM(Book_ID)", "Price"], "index": [0, 1], "data": [["9", "4100000"], ["39", "15000000"]]}, "table_names": "['publication' 'publication']", "table_image_ids": ["TableImg_8cnmh_7.png", "TableImg_Gb33i_7.png"], "original_data_index": 405} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 5 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 2", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Jbg8m_5.png", "TableImg_Etpba_4.png"], "original_data_index": 406} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 12 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7], "data": [["1"], ["2"], ["3"], ["5"], ["6"], ["8"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_I2z5y_12.png", "TableImg_7r50f_5.png"], "original_data_index": 407} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 2 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 3", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["1"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_97kez_5.png", "TableImg_5khe4_4.png"], "original_data_index": 408} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 4 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7], "data": [["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_9zaxp_12.png", "TableImg_H3acv_5.png"], "original_data_index": 409} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 3 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Fxirw_12.png", "TableImg_K2xo4_5.png"], "original_data_index": 410} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 7 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5], "data": [["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_T0xh0_12.png", "TableImg_T0vb3_5.png"], "original_data_index": 411} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 3 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["1"], ["2"], ["5"], ["6"], ["8"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_7kbus_12.png", "TableImg_3oaak_5.png"], "original_data_index": 412} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 9 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 3", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["3"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Slet1_12.png", "TableImg_1m6tm_5.png"], "original_data_index": 413} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 6 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7], "data": [["3"], ["4"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Rdt9v_12.png", "TableImg_6yl2n_5.png"], "original_data_index": 414} +{"question": "SELECT middle_name, date_left_staff, date_joined_staff, last_name, date_of_birth, first_name FROM Staff WHERE date_joined_staff <> \"2017-12-22 03:06:32\" AND last_name <> \"Jast\" OR first_name != \"Jedidiah\" UNION SELECT middle_name, date_left_staff, date_joined_staff, last_name, date_of_birth, first_name FROM Staff WHERE nickname <> \"nicholaus92\" AND last_name != \"Herzog\" OR \"staff_id\" != 3 AND \"staff_address_id\" <> 7 OR first_name != \"Ludie\" AND date_joined_staff != \"2017-10-21 17:20:57\"", "answer": {"columns": ["middle_name", "date_left_staff", "date_joined_staff", "last_name", "date_of_birth", "first_name"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14], "data": [["Amara", "2018-03-23 22:53:12", "2017-04-27 03:21:26", "Sawayn", "2010-12-08 16:55:14", "Janessa"], ["Benny", "2018-03-06 23:17:41", "2016-11-05 01:43:52", "Carroll", "1996-03-09 08:19:49", "Lincoln"], ["Caesar", "2018-03-08 12:31:16", "2017-12-22 03:06:32", "Doyle", "1995-06-03 08:09:17", "Margie"], ["Clarabelle", "2018-02-26 17:56:31", "2016-11-13 20:44:23", "Mraz", "2004-05-19 14:11:13", "Ernestina"], ["Dejon", "2018-03-08 04:23:14", "2016-05-16 20:56:53", "Herzog", "2015-08-10 11:37:39", "Jedidiah"], ["Duane", "2018-03-05 18:30:12", "2016-05-26 00:55:07", "Durgan", "2005-05-02 06:23:36", "Titus"], ["Icie", "2018-03-10 15:25:00", "2016-06-06 08:54:28", "Weissnat", "2015-08-01 13:22:43", "Camylle"], ["Liam", "2018-03-09 05:08:35", "2016-05-01 02:22:45", "Jast", "2000-06-13 18:09:11", "Winnifred"], ["Madelyn", "2018-03-08 05:16:29", "2017-06-04 14:30:41", "Macejkovic", "2007-06-11 20:03:28", "Queenie"], ["Maiya", "2018-03-14 07:14:37", "2016-06-05 22:22:23", "Rogahn", "1996-09-24 09:51:42", "Jaleel"], ["Mayra", "2018-03-01 17:10:03", "2017-02-20 18:45:20", "Turner", "1997-03-29 10:55:45", "Simeon"], ["Sherwood", "2018-03-04 17:13:53", "2017-10-21 17:20:57", "Hermann", "2003-01-16 06:29:11", "Rebekah"], ["Stephania", "2018-03-24 10:11:08", "2018-01-02 12:24:24", "Mertz", "1994-05-17 05:32:11", "Kaitlin"], ["Tre", "2018-02-28 08:26:10", "2017-08-27 19:19:44", "Maggio", "1998-04-27 12:55:05", "Eulalia"], ["Ulices", "2018-03-02 01:48:15", "2017-08-30 15:08:37", "Kuphal", "2000-11-16 06:55:12", "Ludie"]]}, "table_names": "['Staff' 'Staff']", "table_image_ids": ["TableImg_T6mmj_15.png", "TableImg_82o73_15.png"], "original_data_index": 415} +{"question": "SELECT COUNT(feature_id) FROM Other_Available_Features WHERE \"feature_id\" <> 4 OR feature_type_code = \"Security\" INTERSECT SELECT COUNT(feature_id) FROM Other_Property_Features WHERE \"property_id\" > 13", "answer": {"columns": ["COUNT(feature_id)"], "index": [0], "data": [["3"]]}, "table_names": "['Other_Available_Features' 'Other_Property_Features']", "table_image_ids": ["TableImg_A46qq_3.png", "TableImg_8b3d9_15.png"], "original_data_index": 416} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 3 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "data": [["1"], ["2"], ["4"], ["5"], ["6"], ["7"], ["8"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Vheve_12.png", "TableImg_34ab0_5.png"], "original_data_index": 417} +{"question": "SELECT Member_ID FROM membership_register_branch WHERE Register_Year = \"2016\" OR Branch_ID != \"5\" UNION ALL SELECT Member_ID FROM purchase WHERE Branch_ID <> \"1\"", "answer": {"columns": ["Member_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["1"], ["2"], ["2"], ["2"], ["3"], ["6"]]}, "table_names": "['membership_register_branch' 'purchase']", "table_image_ids": ["TableImg_Jl1yz_8.png", "TableImg_Q4afa_8.png"], "original_data_index": 418} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 2 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["1"], ["3"], ["5"], ["6"], ["8"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Nwchm_12.png", "TableImg_H1vle_5.png"], "original_data_index": 419} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 3 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 3", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Ne6wf_5.png", "TableImg_7tpv2_4.png"], "original_data_index": 420} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 5 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 1", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2], "data": [["2"], ["3"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Q611d_5.png", "TableImg_5fgu8_4.png"], "original_data_index": 421} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 3 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_71de7_5.png", "TableImg_Xukvy_4.png"], "original_data_index": 422} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 1 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 1", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["1"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_R6me0_5.png", "TableImg_0s92t_4.png"], "original_data_index": 423} +{"question": "SELECT role_description FROM Roles WHERE role_description != \"Editor\" UNION ALL SELECT role_description FROM Roles WHERE role_code <> \"PT\" OR role_description = \"Editor\"", "answer": {"columns": ["role_description"], "index": [0, 1, 2, 3, 4, 5], "data": [["Photo"], ["Manager"], ["Proof Manager"], ["Editor"], ["Manager"], ["Proof Manager"]]}, "table_names": "['Roles' 'Roles']", "table_image_ids": ["TableImg_E7vrb_4.png", "TableImg_Zyxo2_4.png"], "original_data_index": 424} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 12 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["10"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_L8a1n_12.png", "TableImg_7hx0j_5.png"], "original_data_index": 425} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 3 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "data": [["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_L6qp2_12.png", "TableImg_Z3hn8_5.png"], "original_data_index": 426} +{"question": "SELECT SUM(draft_number), AVG(document_id), employee_id, AVG(copy_number) FROM Circulation_History WHERE \"document_id\" <= 1 OR \"employee_id\" <> 2 OR \"copy_number\" = 15 OR \"draft_number\" <= 20 UNION SELECT SUM(draft_number), AVG(document_id), employee_id, AVG(copy_number) FROM Circulation_History WHERE \"employee_id\" != 1", "answer": {"columns": ["SUM(draft_number)", "AVG(document_id)", "employee_id", "AVG(copy_number)"], "index": [0, 1], "data": [["38", "10.6666666667", "8", "9.6666666667"], ["40", "8.25", "8", "8.5"]]}, "table_names": "['Circulation_History' 'Circulation_History']", "table_image_ids": ["TableImg_Xr05b_4.png", "TableImg_Hqkjs_4.png"], "original_data_index": 427} +{"question": "SELECT Gender, Rank FROM coach WHERE \"Rank\" <= 5 OR Gender <> \"M\" EXCEPT SELECT Gender, Rank FROM player WHERE Rank != \"3rd\"", "answer": {"columns": ["Gender", "Rank"], "index": [0, 1, 2, 3, 4], "data": [["F", "2"], ["M", "1"], ["M", "3"], ["M", "4"], ["M", "5"]]}, "table_names": "['coach' 'player']", "table_image_ids": ["TableImg_Fgyt1_5.png", "TableImg_Pbw5j_14.png"], "original_data_index": 428} +{"question": "SELECT MIN(Num_Employees), COUNT(Name), AVG(Department_ID), COUNT(Creation), Ranking, MAX(Budget_in_Billions) FROM department WHERE \"Budget_in_Billions\" <> 44.6 AND \"Department_ID\" <= 7 GROUP BY Ranking HAVING MAX(Budget_in_Billions) <= 77.6 OR COUNT(Name) != 1 AND COUNT(Creation) != 1 OR MIN(Num_Employees) = 30266.0 OR AVG(Department_ID) > 5.0 UNION SELECT MIN(Num_Employees), COUNT(Name), AVG(Department_ID), COUNT(Creation), Ranking, MAX(Budget_in_Billions) FROM department WHERE \"Department_ID\" > 1 OR \"Ranking\" > 15 OR Name = \"Treasury\" OR \"Num_Employees\" < 36000.0 GROUP BY Ranking HAVING MIN(Num_Employees) > 208000.0 AND AVG(Department_ID) > 12.0", "answer": {"columns": ["MIN(Num_Employees)", "COUNT(Name)", "AVG(Department_ID)", "COUNT(Creation)", "Ranking", "MAX(Budget_in_Billions)"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["30266", "1", "1", "1", "1", "9.96"], ["36000", "1", "7", "1", "7", "6.2"], ["71436", "1", "5", "1", "5", "10.7"], ["109832", "1", "6", "1", "6", "77.6"], ["112557", "1", "4", "1", "4", "23.4"], ["115897", "1", "2", "1", "2", "11.1"], ["235000", "1", "14", "1", "14", "73.2"]]}, "table_names": "['department' 'department']", "table_image_ids": ["TableImg_Y4zin_15.png", "TableImg_Wkddl_15.png"], "original_data_index": 429} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 8 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 10", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_1m98i_12.png", "TableImg_B295t_5.png"], "original_data_index": 430} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 3 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID = 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2], "data": [["1"], ["2"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_0cncs_5.png", "TableImg_5bw1y_4.png"], "original_data_index": 431} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 4 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["4"], ["7"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Kuksa_12.png", "TableImg_3lmd2_5.png"], "original_data_index": 432} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 6 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5], "data": [["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_67ci2_12.png", "TableImg_Pfnc4_5.png"], "original_data_index": 433} +{"question": "SELECT AVG(name) FROM airport WHERE ICAO <> \"KBOS\" OR \"id\" <= 9 AND Country <> \"United States\" UNION SELECT AVG(name) FROM operate_company WHERE name != \"Cathay Pacific Services Limited\" OR \"id\" <= 9", "answer": {"columns": ["AVG(name)"], "index": [0], "data": [["0"]]}, "table_names": "['airport' 'operate_company']", "table_image_ids": ["TableImg_9ae5x_9.png", "TableImg_Unvig_14.png"], "original_data_index": 434} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 3 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 1", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["2"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Za3jc_5.png", "TableImg_S0jim_4.png"], "original_data_index": 435} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 11 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["3"], ["4"], ["7"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_9cbok_12.png", "TableImg_Plq69_5.png"], "original_data_index": 436} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 1 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Tuecg_5.png", "TableImg_Vlf32_4.png"], "original_data_index": 437} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 5 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 4", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["5"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_75ufv_12.png", "TableImg_0syu7_5.png"], "original_data_index": 438} +{"question": "SELECT MIN(property_type_description) FROM Ref_Property_Types WHERE property_type_code != \"Other\" EXCEPT SELECT MIN(property_type_description) FROM Ref_Property_Types WHERE property_type_description = \"Shop, Retail Outlet.\"", "answer": {"columns": ["MIN(property_type_description)"], "index": [0], "data": [["Apartment, Flat, Condo, etc."]]}, "table_names": "['Ref_Property_Types' 'Ref_Property_Types']", "table_image_ids": ["TableImg_Nwpqh_5.png", "TableImg_Qbyld_5.png"], "original_data_index": 439} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 6 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5], "data": [["6"], ["7"], ["8"], ["9"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_55t41_12.png", "TableImg_C8891_5.png"], "original_data_index": 440} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 11 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Dpq46_12.png", "TableImg_Fn85q_5.png"], "original_data_index": 441} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 12 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_65dpa_12.png", "TableImg_2hao8_5.png"], "original_data_index": 442} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 5 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 2", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["1"], ["3"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_6xfoq_5.png", "TableImg_4sfke_4.png"], "original_data_index": 443} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 5 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 2", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["2"], ["4"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Oatff_5.png", "TableImg_Mnerf_4.png"], "original_data_index": 444} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 2 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 5", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["3"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_5foz3_5.png", "TableImg_9bntw_4.png"], "original_data_index": 445} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 9 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Yh3fn_12.png", "TableImg_Rxdtn_5.png"], "original_data_index": 446} +{"question": "SELECT draft_number, document_id, draft_details FROM Document_Drafts WHERE \"draft_number\" != 17 INTERSECT SELECT draft_number, document_id, draft_details FROM Document_Drafts WHERE draft_details != \"v\" OR \"document_id\" <> 4", "answer": {"columns": ["draft_number", "document_id", "draft_details"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13], "data": [["0", "1", "e"], ["1", "2", "v"], ["2", "1", "k"], ["4", "13", "w"], ["8", "2", "v"], ["9", "4", "r"], ["9", "23", "r"], ["10", "7", "m"], ["11", "12", "b"], ["12", "12", "r"], ["14", "14", "x"], ["16", "13", "p"], ["19", "17", "a"], ["20", "10", "k"]]}, "table_names": "['Document_Drafts' 'Document_Drafts']", "table_image_ids": ["TableImg_6h4dn_15.png", "TableImg_Sgam3_15.png"], "original_data_index": 447} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 3 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 2", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["2"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Jh3xe_5.png", "TableImg_48shg_4.png"], "original_data_index": 448} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 3 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8], "data": [["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_M3pyh_12.png", "TableImg_Rf92e_5.png"], "original_data_index": 449} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 3 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["1"], ["2"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Ysulg_12.png", "TableImg_Fsucy_5.png"], "original_data_index": 450} +{"question": "SELECT Company_ID FROM company WHERE Headquarters <> \"USA\" AND \"Assets_in_Billion\" <> 331.1 AND \"Company_ID\" > 17.0 OR \"Profits_in_Billion\" >= 15.7 OR Name != \"Total\" OR \"Market_Value_in_Billion\" <> 107.5 INTERSECT SELECT Company_ID FROM employment WHERE \"People_ID\" != 3 AND \"Company_ID\" <= 11", "answer": {"columns": ["Company_ID"], "index": [0], "data": [["7"]]}, "table_names": "['company' 'employment']", "table_image_ids": ["TableImg_Ed0yb_19.png", "TableImg_Rkodz_5.png"], "original_data_index": 451} +{"question": "SELECT draft_number FROM Document_Drafts WHERE \"draft_number\" > 9 AND \"document_id\" != 13 UNION SELECT draft_number FROM Document_Drafts WHERE \"document_id\" != 2", "answer": {"columns": ["draft_number"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], "data": [["0"], ["2"], ["4"], ["9"], ["10"], ["11"], ["12"], ["14"], ["16"], ["17"], ["19"], ["20"]]}, "table_names": "['Document_Drafts' 'Document_Drafts']", "table_image_ids": ["TableImg_Rptr3_15.png", "TableImg_7r9tq_15.png"], "original_data_index": 452} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 9 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 3", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_X9a0g_12.png", "TableImg_Gmgws_5.png"], "original_data_index": 453} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 2 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Xld3u_12.png", "TableImg_Whfd8_5.png"], "original_data_index": 454} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 11 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["3"], ["4"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_O0513_12.png", "TableImg_8gk9l_5.png"], "original_data_index": 455} +{"question": "SELECT Company_ID, People_ID FROM employment WHERE \"People_ID\" < 1 OR \"Year_working\" >= 2 UNION SELECT Company_ID, People_ID FROM employment WHERE \"Year_working\" < 1 AND \"Company_ID\" = 7 OR \"People_ID\" <= 7", "answer": {"columns": ["Company_ID", "People_ID"], "index": [0, 1, 2, 3, 4], "data": [["7", "4"], ["11", "3"], ["13", "2"], ["15", "1"], ["17", "7"]]}, "table_names": "['employment' 'employment']", "table_image_ids": ["TableImg_T1e5a_5.png", "TableImg_Zuvzv_5.png"], "original_data_index": 456} +{"question": "SELECT eid FROM certificate WHERE \"aid\" = 3 EXCEPT SELECT eid FROM employee WHERE \"eid\" != 269734834 OR \"salary\" <= 24450 AND name != \"Dorthy Lewis\"", "answer": {"columns": ["eid"], "index": [0], "data": [["269734834"]]}, "table_names": "['certificate' 'employee']", "table_image_ids": ["TableImg_S2t6j_69.png", "TableImg_Ppe9j_31.png"], "original_data_index": 457} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 5 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Acwwa_12.png", "TableImg_Zyljo_5.png"], "original_data_index": 458} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 1 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 2", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_8ccqh_5.png", "TableImg_E1ypl_4.png"], "original_data_index": 459} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 1 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 1", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3], "data": [["2"], ["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Poivf_5.png", "TableImg_Nr7pu_4.png"], "original_data_index": 460} +{"question": "SELECT COUNT(Continent) FROM continents WHERE Continent = \"america\" UNION ALL SELECT COUNT(Continent) FROM countries WHERE CountryName != \"egypt\" AND \"CountryId\" != 3", "answer": {"columns": ["COUNT(Continent)"], "index": [0, 1], "data": [["1"], ["13"]]}, "table_names": "['continents' 'countries']", "table_image_ids": ["TableImg_2564j_5.png", "TableImg_1lugx_15.png"], "original_data_index": 461} +{"question": "SELECT Name FROM branch WHERE Address_road = \"Abbott Street\" OR Name != \"Taverner\" UNION ALL SELECT Name FROM member WHERE \"Level\" > 6 OR Card_Number = \"RCB32\"", "answer": {"columns": ["Name"], "index": [0, 1, 2, 3, 4, 5, 6, 7], "data": [["Alexandre"], ["Popert"], ["Stanley"], ["Zytogorski"], ["Cochrane"], ["Saint Amant"], ["Brooke Greville"], ["Trevard Lindley"]]}, "table_names": "['branch' 'member']", "table_image_ids": ["TableImg_P4f9a_8.png", "TableImg_P2mbj_10.png"], "original_data_index": 462} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 5 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["1"], ["2"], ["6"], ["8"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_N36i2_12.png", "TableImg_G02vc_5.png"], "original_data_index": 463} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 2 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_N6ouv_12.png", "TableImg_Gkg0e_5.png"], "original_data_index": 464} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 11 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Pb04a_12.png", "TableImg_Img4e_5.png"], "original_data_index": 465} +{"question": "SELECT MAX(Age), MIN(StuID), COUNT(Fname), AVG(Major) FROM Student WHERE \"Age\" >= 19 UNION SELECT MAX(Age), MIN(StuID), COUNT(Fname), AVG(Major) FROM Student WHERE \"Major\" <> 600 OR LName != \"Simms\" OR \"Age\" = 18", "answer": {"columns": ["MAX(Age)", "MIN(StuID)", "COUNT(Fname)", "AVG(Major)"], "index": [0, 1], "data": [["27", "1001", "34", "527.9411764706"], ["27", "1002", "19", "543.6842105263"]]}, "table_names": "['Student' 'Student']", "table_image_ids": ["TableImg_C671x_34.png", "TableImg_G04zs_34.png"], "original_data_index": 466} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 2 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["3"], ["7"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_P24rd_12.png", "TableImg_0xkjd_5.png"], "original_data_index": 467} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 5 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 2", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2], "data": [["1"], ["2"], ["4"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Y1ydz_5.png", "TableImg_O66ek_4.png"], "original_data_index": 468} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 8 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_J8fc5_12.png", "TableImg_0bxb8_5.png"], "original_data_index": 469} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 5 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["3"], ["4"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_2kp79_12.png", "TableImg_Cge41_5.png"], "original_data_index": 470} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 1 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 3", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["3"], ["4"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_F5m6m_5.png", "TableImg_Nnbiz_4.png"], "original_data_index": 471} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 1 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 3", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["3"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Azk9q_5.png", "TableImg_Bq3l2_4.png"], "original_data_index": 472} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 7 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 9", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["7"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Ptsi7_12.png", "TableImg_Neulf_5.png"], "original_data_index": 473} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 9 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["8"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_P9rq7_12.png", "TableImg_Ezj28_5.png"], "original_data_index": 474} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 5 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8], "data": [["3"], ["4"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Uziel_12.png", "TableImg_Vwt1s_5.png"], "original_data_index": 475} +{"question": "SELECT born_state, age, head_ID, name FROM head WHERE \"head_ID\" >= 3 OR name = \"Stewart Cink\" OR born_state <> \"Delaware\" OR \"age\" < 43.0 EXCEPT SELECT born_state, age, head_ID, name FROM head WHERE \"age\" <> 43.0 AND born_state = \"California\" AND \"head_ID\" > 6", "answer": {"columns": ["born_state", "age", "head_ID", "name"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8], "data": [["Alabama", "67", "1", "Tiger Woods"], ["Alabama", "69", "3", "K. J. Choi"], ["California", "52", "4", "Dudley Hart"], ["California", "68", "2", "Sergio Garc\u00eda"], ["California", "69", "6", "Billy Mayfair"], ["Connecticut", "43", "9", "P\u00e1draig Harrington"], ["Connecticut", "67", "10", "Franklin Langham"], ["Delaware", "53", "5", "Jeff Maggert"], ["Florida", "50", "7", "Stewart Cink"]]}, "table_names": "['head' 'head']", "table_image_ids": ["TableImg_Wzr2o_10.png", "TableImg_Eensz_10.png"], "original_data_index": 476} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 8 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4], "data": [["3"], ["4"], ["7"], ["8"], ["9"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Cz0q3_12.png", "TableImg_X2ldx_5.png"], "original_data_index": 477} +{"question": "SELECT document_id FROM Circulation_History WHERE \"employee_id\" < 1 UNION SELECT document_id FROM Documents_Mailed WHERE \"document_id\" <= 10", "answer": {"columns": ["document_id"], "index": [0, 1, 2, 3], "data": [["2"], ["4"], ["7"], ["10"]]}, "table_names": "['Circulation_History' 'Documents_Mailed']", "table_image_ids": ["TableImg_Qcyxv_4.png", "TableImg_P4xta_14.png"], "original_data_index": 478} +{"question": "SELECT SUM(Department_ID), SUM(Ranking), Budget_in_Billions FROM department WHERE \"Num_Employees\" > 4487.0 AND Name != \"Defense\" EXCEPT SELECT SUM(Department_ID), SUM(Ranking), Budget_in_Billions FROM department WHERE \"Department_ID\" != 11 AND \"Ranking\" <> 8 OR \"Num_Employees\" = 67000.0 AND Name != \"Commerce\" OR \"Budget_in_Billions\" > 439.3", "answer": {"columns": ["SUM(Department_ID)", "SUM(Ranking)", "Budget_in_Billions"], "index": [0], "data": [["104", "104", "9.96"]]}, "table_names": "['department' 'department']", "table_image_ids": ["TableImg_9nktj_15.png", "TableImg_Hqe38_15.png"], "original_data_index": 479} +{"question": "SELECT Address_road, City, membership_amount, MIN(Open_year), Branch_ID, Name FROM branch WHERE Name != \"Brooke Greville\" AND \"Branch_ID\" >= 1 OR Open_year <> \"2015\" EXCEPT SELECT Address_road, City, membership_amount, MIN(Open_year), Branch_ID, Name FROM branch WHERE membership_amount = \"11\" AND Address_road = \"Abbott Street\"", "answer": {"columns": ["Address_road", "City", "membership_amount", "MIN(Open_year)", "Branch_ID", "Name"], "index": [0], "data": [["Valleys Place", "London", "112", "2001", "1", "Alexandre"]]}, "table_names": "['branch' 'branch']", "table_image_ids": ["TableImg_7calt_8.png", "TableImg_C0czj_8.png"], "original_data_index": 480} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 4 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 10", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["3"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_K1h41_12.png", "TableImg_Dg9a1_5.png"], "original_data_index": 481} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 11 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_6o7zg_12.png", "TableImg_L8s0j_5.png"], "original_data_index": 482} +{"question": "SELECT staff_id FROM Lessons WHERE \"staff_id\" >= 11 OR lesson_status_code = \"Completed\" OR \"vehicle_id\" < 2 AND \"customer_id\" >= 6 UNION ALL SELECT staff_id FROM Staff WHERE date_of_birth = \"1996-09-24 09:51:42\" OR middle_name != \"Sherwood\" OR \"staff_id\" < 5 AND date_joined_staff <> \"2017-06-04 14:30:41\" AND date_left_staff = \"2018-03-09 05:08:35\"", "answer": {"columns": ["staff_id"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25], "data": [["14"], ["11"], ["1"], ["3"], ["4"], ["11"], ["8"], ["4"], ["15"], ["12"], ["12"], ["11"], ["1"], ["2"], ["3"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"], ["13"], ["14"], ["15"]]}, "table_names": "['Lessons' 'Staff']", "table_image_ids": ["TableImg_Slaks_15.png", "TableImg_Qhb4u_15.png"], "original_data_index": 483} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 7 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 3", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["4"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_45oe7_12.png", "TableImg_Lu6l6_5.png"], "original_data_index": 484} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 5 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["3"], ["4"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Iqaz8_12.png", "TableImg_Sme69_5.png"], "original_data_index": 485} +{"question": "SELECT MIN(Party), Delegate, MAX(Committee), Counties_Represented, AVG(District), COUNT(Election_ID) FROM election WHERE Counties_Represented <> \"12.1 12A\" OR \"Election_ID\" != 3 AND \"First_Elected\" <> 1994.0 OR Committee <> \"Environmental Matters\" OR \"Party\" > 1 AND \"District\" < 1 OR Delegate = \"Malone, James E. Jr. James E. Malone, Jr.\" UNION ALL SELECT MIN(Party), Delegate, MAX(Committee), Counties_Represented, AVG(District), COUNT(Election_ID) FROM election WHERE Committee != \"Environmental Matters\" AND \"First_Elected\" != 1994.0 OR Delegate <> \"Bobo, Elizabeth Elizabeth Bobo\" OR \"Election_ID\" > 2 AND \"District\" <= 3 OR \"Party\" <= 3", "answer": {"columns": ["MIN(Party)", "Delegate", "MAX(Committee)", "Counties_Represented", "AVG(District)", "COUNT(Election_ID)"], "index": [0, 1], "data": [["1", "Turner, Frank S. Frank S. Turner", "Ways and Means", "13", "2.125", "8"], ["1", "Turner, Frank S. Frank S. Turner", "Ways and Means", "13", "2.125", "8"]]}, "table_names": "['election' 'election']", "table_image_ids": ["TableImg_Aoep1_8.png", "TableImg_Kmc6y_8.png"], "original_data_index": 486} +{"question": "SELECT Rank FROM match_result WHERE \"Gold\" <= 13 OR \"Rank\" <> 3 UNION SELECT Rank FROM match_result WHERE \"Big_Silver\" > 14 OR \"Points\" > 139", "answer": {"columns": ["Rank"], "index": [0, 1, 2, 3, 4, 5], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"]]}, "table_names": "['match_result' 'match_result']", "table_image_ids": ["TableImg_Q0z2i_6.png", "TableImg_T8rth_6.png"], "original_data_index": 487} +{"question": "SELECT Template_Type_Code FROM Ref_Template_Types WHERE Template_Type_Code = \"PPT\" INTERSECT SELECT Template_Type_Code FROM Templates WHERE Date_Effective_From <> \"2005-11-12 07:09:48\" OR \"Version_Number\" <> 5 AND Template_Type_Code = \"PP\" AND Date_Effective_To != \"1992-05-02 20:06:11\"", "answer": {"columns": ["Template_Type_Code"], "index": [0], "data": [["PPT"]]}, "table_names": "['Ref_Template_Types' 'Templates']", "table_image_ids": ["TableImg_Q27aw_5.png", "TableImg_Pjt7n_20.png"], "original_data_index": 488} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 7 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["7"], ["8"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Rjotj_12.png", "TableImg_Blsjl_5.png"], "original_data_index": 489} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 10 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 7", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_1axda_12.png", "TableImg_Ek0ez_5.png"], "original_data_index": 490} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 1 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Iujru_12.png", "TableImg_4uqkg_5.png"], "original_data_index": 491} +{"question": "SELECT Employee_ID FROM evaluation WHERE \"Bonus\" > 2900.0 AND Year_awarded != \"2016\" AND Employee_ID = \"10\" UNION ALL SELECT Employee_ID FROM hiring WHERE Start_from <> \"2011\" AND \"Shop_ID\" <> 1 OR Is_full_time <> \"F\"", "answer": {"columns": ["Employee_ID"], "index": [0, 1, 2, 3, 4, 5], "data": [["1"], ["2"], ["4"], ["5"], ["6"], ["7"]]}, "table_names": "['evaluation' 'hiring']", "table_image_ids": ["TableImg_Lmt8p_6.png", "TableImg_0qn5g_7.png"], "original_data_index": 492} +{"question": "SELECT name, id FROM airport WHERE IATA != \"BGO\" UNION SELECT name, id FROM operate_company WHERE \"id\" != 5 OR \"Group_Equity_Shareholding\" >= 100.0", "answer": {"columns": ["name", "id"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21], "data": [["Air China", "1"], ["Air China Cargo", "2"], ["Air Hong Kong", "3"], ["Akureyri Airport", "1"], ["Baltimore-Washington Airport", "4"], ["Billund Airport", "7"], ["CLS Catering Services Limited", "14"], ["Cathay Pacific Cargo", "5"], ["Cathay Pacific Catering Services (HK) Limited", "6"], ["Cathay Pacific Holidays", "8"], ["Cathay Pacific Services Limited", "7"], ["China Pacific Laundry Services", "12"], ["Dragonair", "4"], ["Dragonair Holidays", "9"], ["El Prat Airport", "5"], ["Hong Kong Airport Services", "10"], ["Logan International Airport", "8"], ["National Airport", "9"], ["Schiphol Airport", "2"], ["Ted Stevens Airport", "3"], ["VN/CX Catering Services Limited", "13"], ["Vogue Laundry Service Limited", "11"]]}, "table_names": "['airport' 'operate_company']", "table_image_ids": ["TableImg_Qbvor_9.png", "TableImg_9pj96_14.png"], "original_data_index": 493} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 2 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["1"], ["2"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Jsmsg_12.png", "TableImg_511k7_5.png"], "original_data_index": 494} +{"question": "SELECT eid FROM certificate WHERE \"eid\" = 567354612 UNION SELECT eid FROM employee WHERE \"eid\" < 548977562 AND name = \"Linda Davis\"", "answer": {"columns": ["eid"], "index": [0, 1], "data": [["489456522"], ["567354612"]]}, "table_names": "['certificate' 'employee']", "table_image_ids": ["TableImg_R3fwd_69.png", "TableImg_8izi1_31.png"], "original_data_index": 495} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 3 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 1", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["3"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_M0vb9_5.png", "TableImg_Dyc8x_4.png"], "original_data_index": 496} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 10 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Rluri_12.png", "TableImg_Pfn6q_5.png"], "original_data_index": 497} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 6 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["3"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_E2qwv_12.png", "TableImg_Bow7a_5.png"], "original_data_index": 498} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 10 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 4", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_45bbh_12.png", "TableImg_Gke7n_5.png"], "original_data_index": 499} +{"question": "SELECT Member_ID FROM member WHERE Card_Number <> \"LCB7\" OR \"Member_ID\" <= 1 AND Hometown != \"Fort Campbell, Kentucky\" EXCEPT SELECT Member_ID FROM membership_register_branch WHERE \"Member_ID\" <> 6 OR Branch_ID = \"5\"", "answer": {"columns": ["Member_ID"], "index": [0, 1], "data": [["6"], ["10"]]}, "table_names": "['member' 'membership_register_branch']", "table_image_ids": ["TableImg_98ma2_10.png", "TableImg_Zbv1a_8.png"], "original_data_index": 500} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 2 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 2", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["3"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Ddhxb_5.png", "TableImg_8i22y_4.png"], "original_data_index": 501} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 4 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Ykelz_12.png", "TableImg_Ws4cp_5.png"], "original_data_index": 502} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 4 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4], "data": [["5"], ["6"], ["8"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Mj8j4_12.png", "TableImg_7kce4_5.png"], "original_data_index": 503} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 4 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7], "data": [["1"], ["2"], ["5"], ["6"], ["7"], ["8"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_35o2n_12.png", "TableImg_F7yw7_5.png"], "original_data_index": 504} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 3 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 5", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Fhyk4_5.png", "TableImg_Ja0zt_4.png"], "original_data_index": 505} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 3 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["1"], ["2"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_I569u_12.png", "TableImg_Ib94s_5.png"], "original_data_index": 506} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 10 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["3"], ["4"], ["7"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Yov2b_12.png", "TableImg_7abe2_5.png"], "original_data_index": 507} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 7 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["8"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_5zgsd_12.png", "TableImg_Pyed3_5.png"], "original_data_index": 508} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 5 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["1"], ["2"], ["4"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Cq7ab_12.png", "TableImg_Z5cgn_5.png"], "original_data_index": 509} +{"question": "SELECT MAX(Name) FROM company WHERE Industry <> \"Oil and gas\" AND \"Sales_in_Billion\" != 117.6 OR \"Profits_in_Billion\" <= 11.1 AND \"Market_Value_in_Billion\" <= 164.3 OR \"Company_ID\" < 19.0 OR \"Assets_in_Billion\" <> 319.4 OR Name <> \"Total\" UNION SELECT MAX(Name) FROM people WHERE \"People_ID\" >= 7 OR Graduation_College <> \"Oklahoma\" AND \"Age\" <= 34 OR Name != \"Brad Lohaus\" OR Nationality != \"United States\"", "answer": {"columns": ["MAX(Name)"], "index": [0, 1], "data": [["Tom Sheehey"], ["Wells Fargo"]]}, "table_names": "['company' 'people']", "table_image_ids": ["TableImg_L66ra_19.png", "TableImg_Sdttk_7.png"], "original_data_index": 510} +{"question": "SELECT Club_ID FROM club WHERE \"Club_ID\" > 1 UNION ALL SELECT Club_ID FROM match_result WHERE \"Small_Silver\" <> 9 OR \"Points\" <= 139 AND \"Club_ID\" != 4 AND \"Gold\" >= 13 AND \"Bronze\" != 10", "answer": {"columns": ["Club_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8], "data": [["2"], ["3"], ["4"], ["5"], ["6"], ["2"], ["3"], ["4"], ["6"]]}, "table_names": "['club' 'match_result']", "table_image_ids": ["TableImg_Gu04q_6.png", "TableImg_Jof68_6.png"], "original_data_index": 511} +{"question": "SELECT customer_id FROM Customer_Payments WHERE datetime_payment != \"2018-03-18 13:48:13\" OR \"customer_id\" != 2 OR payment_method_code != \"Direct Debit\" INTERSECT SELECT customer_id FROM Lessons WHERE \"vehicle_id\" > 2 OR \"lesson_id\" <= 13 OR \"staff_id\" >= 4 OR \"customer_id\" = 9 AND lesson_date = \"2018-02-28 10:55:36\" AND lesson_time != \"4\"", "answer": {"columns": ["customer_id"], "index": [0, 1, 2, 3, 4, 5], "data": [["2"], ["3"], ["6"], ["10"], ["11"], ["13"]]}, "table_names": "['Customer_Payments' 'Lessons']", "table_image_ids": ["TableImg_G0qa9_15.png", "TableImg_42wbc_15.png"], "original_data_index": 512} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 6 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 3", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["6"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Ln441_12.png", "TableImg_Ttwz5_5.png"], "original_data_index": 513} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 12 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["1"], ["2"], ["3"], ["5"], ["6"], ["8"], ["11"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Tsa4g_12.png", "TableImg_Jxwbw_5.png"], "original_data_index": 514} +{"question": "SELECT draft_number FROM Draft_Copies WHERE \"draft_number\" = 12 OR \"document_id\" <= 2 AND \"copy_number\" = 15 UNION SELECT draft_number FROM Draft_Copies WHERE \"draft_number\" <> 2 OR \"document_id\" != 2 AND \"copy_number\" < 15", "answer": {"columns": ["draft_number"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["1"], ["2"], ["8"], ["9"], ["12"], ["17"], ["20"]]}, "table_names": "['Draft_Copies' 'Draft_Copies']", "table_image_ids": ["TableImg_Xjnqe_8.png", "TableImg_U8rmw_8.png"], "original_data_index": 515} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 5 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_21was_12.png", "TableImg_Nfimi_5.png"], "original_data_index": 516} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 11 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["1"], ["2"], ["5"], ["6"], ["8"], ["10"], ["11"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Mzi53_12.png", "TableImg_Epgz0_5.png"], "original_data_index": 517} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 3 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 1", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2], "data": [["1"], ["2"], ["3"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Jbstb_5.png", "TableImg_Rbm7k_4.png"], "original_data_index": 518} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 5 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 3", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Baw2a_5.png", "TableImg_2kpde_4.png"], "original_data_index": 519} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 6 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Kszff_12.png", "TableImg_Co9hs_5.png"], "original_data_index": 520} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 2 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["3"], ["4"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Chvrf_12.png", "TableImg_P10cg_5.png"], "original_data_index": 521} +{"question": "SELECT Shop_ID, Name, District FROM shop WHERE District <> \"Magnum Areena\" OR Manager_name = \"Job Dragtsma\" OR \"Number_products\" <> 6000 OR Name != \"FC KooTeePee\" OR \"Shop_ID\" <= 4 OR Location = \"Jakobstad\" INTERSECT SELECT Shop_ID, Name, District FROM shop WHERE District != \"Magnum Areena\" OR \"Shop_ID\" != 4", "answer": {"columns": ["Shop_ID", "Name", "District"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8], "data": [["1", "FC Haka", "Tehtaan kentt\u00e4"], ["2", "HJK", "Finnair Stadium"], ["3", "FC Honka", "Tapiolan Urheilupuisto"], ["4", "FC Inter", "Veritas Stadion"], ["5", "FF Jaro", "Jakobstads Centralplan"], ["6", "FC KooTeePee", "Arto Tolsa Areena"], ["7", "KuPS", "Magnum Areena"], ["8", "FC Lahti", "Lahden Stadion"], ["9", "IFK Mariehamn", "Wikl\u00f6f Holding Arena"]]}, "table_names": "['shop' 'shop']", "table_image_ids": ["TableImg_Ltbxs_9.png", "TableImg_9qr9q_9.png"], "original_data_index": 522} +{"question": "SELECT feature_id FROM Other_Available_Features WHERE \"feature_id\" > 2 INTERSECT SELECT feature_id FROM Other_Property_Features WHERE property_feature_description = \"quo\" OR \"property_id\" <= 6 OR \"feature_id\" >= 4", "answer": {"columns": ["feature_id"], "index": [0, 1], "data": [["3"], ["4"]]}, "table_names": "['Other_Available_Features' 'Other_Property_Features']", "table_image_ids": ["TableImg_2krve_3.png", "TableImg_Kg6pm_15.png"], "original_data_index": 523} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 5 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 2", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2], "data": [["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_N1hcm_5.png", "TableImg_0ggto_4.png"], "original_data_index": 524} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 9 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 9", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["9"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Cgdk8_12.png", "TableImg_Oqrrk_5.png"], "original_data_index": 525} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 11 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5], "data": [["1"], ["2"], ["5"], ["6"], ["8"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_R6yzw_12.png", "TableImg_Ai42x_5.png"], "original_data_index": 526} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 5 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID = 1", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["1"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Qk4ch_5.png", "TableImg_P0b7x_4.png"], "original_data_index": 527} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 12 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["10"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_4gsxk_12.png", "TableImg_Uypsq_5.png"], "original_data_index": 528} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 9 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4], "data": [["7"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_N9kbm_12.png", "TableImg_Jodr6_5.png"], "original_data_index": 529} +{"question": "SELECT Club_ID FROM club WHERE \"Club_ID\" = 3 AND \"Start_year\" <> 2000 OR Region != \"USA\" UNION SELECT Club_ID FROM match_result WHERE \"Rank\" = 1 AND \"Club_ID\" < 3 AND \"Bronze\" <= 9", "answer": {"columns": ["Club_ID"], "index": [0, 1, 2, 3, 4, 5], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"]]}, "table_names": "['club' 'match_result']", "table_image_ids": ["TableImg_Ymxas_6.png", "TableImg_Ahayx_6.png"], "original_data_index": 530} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 5 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_545h7_5.png", "TableImg_B1rx7_4.png"], "original_data_index": 531} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 1 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 2", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Utrkx_5.png", "TableImg_Whi18_4.png"], "original_data_index": 532} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 8 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 7", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["7"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Dirpn_12.png", "TableImg_2a9bv_5.png"], "original_data_index": 533} +{"question": "SELECT People_ID FROM people WHERE \"Height\" >= 196.0 OR Nationality = \"Russia\" AND Name != \"Sergey Grankin\" AND \"People_ID\" <= 1 UNION SELECT People_ID FROM poker_player WHERE \"Best_Finish\" >= 1.0 OR \"Final_Table_Made\" = 19.0 OR \"People_ID\" <> 6 AND \"Money_Rank\" <> 154.0 AND \"Earnings\" != 142800.0 AND \"Poker_Player_ID\" < 5", "answer": {"columns": ["People_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["5"], ["6"], ["7"]]}, "table_names": "['people' 'poker_player']", "table_image_ids": ["TableImg_Cctew_7.png", "TableImg_23eha_5.png"], "original_data_index": 534} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 5 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Yhl1z_12.png", "TableImg_4xabi_5.png"], "original_data_index": 535} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID = 3 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 3", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["3"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Eog7j_5.png", "TableImg_Evjki_4.png"], "original_data_index": 536} +{"question": "SELECT customer_id FROM Customer_Payments WHERE \"customer_id\" >= 14 UNION SELECT customer_id FROM Customers WHERE \"amount_outstanding\" > 9447.0 OR cell_mobile_phone_number = \"00659133944\"", "answer": {"columns": ["customer_id"], "index": [0, 1, 2], "data": [["5"], ["8"], ["14"]]}, "table_names": "['Customer_Payments' 'Customers']", "table_image_ids": ["TableImg_Cbozl_15.png", "TableImg_Nkmmk_15.png"], "original_data_index": 537} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 1 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Ez80x_12.png", "TableImg_0oym5_5.png"], "original_data_index": 538} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 4 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_37ufb_12.png", "TableImg_X7s0d_5.png"], "original_data_index": 539} +{"question": "SELECT MAX(Template_Type_Code) FROM Ref_Template_Types WHERE Template_Type_Description <> \"Book\" OR Template_Type_Code != \"BK\" UNION SELECT MAX(Template_Type_Code) FROM Templates WHERE Template_Details = \"\"", "answer": {"columns": ["MAX(Template_Type_Code)"], "index": [0], "data": [["PPT"]]}, "table_names": "['Ref_Template_Types' 'Templates']", "table_image_ids": ["TableImg_L3544_5.png", "TableImg_Jqh9e_20.png"], "original_data_index": 540} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 5 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8], "data": [["3"], ["4"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Xawv7_12.png", "TableImg_B68n9_5.png"], "original_data_index": 541} +{"question": "SELECT lesson_id, customer_id, lesson_time, vehicle_id, staff_id, lesson_status_code, lesson_date, price FROM Lessons WHERE \"price\" > 223.0 OR lesson_status_code = \"Cancelled\" OR \"customer_id\" != 11 UNION ALL SELECT lesson_id, customer_id, lesson_time, vehicle_id, staff_id, lesson_status_code, lesson_date, price FROM Lessons WHERE \"vehicle_id\" = 1 OR \"customer_id\" > 10 OR \"lesson_id\" <> 11 AND lesson_date = \"2018-03-06 21:48:51\" AND \"price\" != 277.0 OR lesson_time = \"9\" OR \"staff_id\" <> 4 AND lesson_status_code <> \"Cancelled\"", "answer": {"columns": ["lesson_id", "customer_id", "lesson_time", "vehicle_id", "staff_id", "lesson_status_code", "lesson_date", "price"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24], "data": [["1", "6", "5", "3", "8", "Cancelled", "2018-02-28 10:55:36", "199"], ["2", "8", "6", "3", "14", "Cancelled", "2018-03-07 16:12:36", "167"], ["3", "6", "3", "2", "11", "Cancelled", "2018-03-03 15:10:16", "352"], ["4", "8", "9", "2", "1", "Completed", "2018-03-17 19:02:07", "306"], ["5", "10", "9", "2", "3", "Completed", "2018-03-12 00:41:59", "295"], ["6", "5", "6", "2", "4", "Completed", "2018-03-07 22:03:49", "492"], ["7", "9", "9", "1", "11", "Cancelled", "2018-03-08 16:05:05", "231"], ["8", "3", "2", "2", "8", "Completed", "2018-03-21 06:48:45", "277"], ["9", "2", "9", "2", "4", "Completed", "2018-03-05 20:05:33", "456"], ["10", "2", "4", "2", "5", "Cancelled", "2018-02-26 02:36:35", "495"], ["11", "10", "2", "1", "15", "Cancelled", "2018-03-04 06:55:46", "223"], ["12", "11", "2", "2", "12", "Cancelled", "2018-03-16 07:08:52", "184"], ["13", "13", "5", "1", "12", "Completed", "2018-03-05 18:05:31", "446"], ["14", "11", "5", "1", "11", "Cancelled", "2018-03-07 11:53:32", "483"], ["15", "3", "9", "1", "8", "Cancelled", "2018-03-06 21:48:51", "340"], ["4", "8", "9", "2", "1", "Completed", "2018-03-17 19:02:07", "306"], ["5", "10", "9", "2", "3", "Completed", "2018-03-12 00:41:59", "295"], ["7", "9", "9", "1", "11", "Cancelled", "2018-03-08 16:05:05", "231"], ["8", "3", "2", "2", "8", "Completed", "2018-03-21 06:48:45", "277"], ["9", "2", "9", "2", "4", "Completed", "2018-03-05 20:05:33", "456"], ["11", "10", "2", "1", "15", "Cancelled", "2018-03-04 06:55:46", "223"], ["12", "11", "2", "2", "12", "Cancelled", "2018-03-16 07:08:52", "184"], ["13", "13", "5", "1", "12", "Completed", "2018-03-05 18:05:31", "446"], ["14", "11", "5", "1", "11", "Cancelled", "2018-03-07 11:53:32", "483"], ["15", "3", "9", "1", "8", "Cancelled", "2018-03-06 21:48:51", "340"]]}, "table_names": "['Lessons' 'Lessons']", "table_image_ids": ["TableImg_2rcga_15.png", "TableImg_Ej8h0_15.png"], "original_data_index": 542} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 11 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 10", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Cc1r1_12.png", "TableImg_Ckv4o_5.png"], "original_data_index": 543} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 2 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 2", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["4"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Iy15d_5.png", "TableImg_Trxi6_4.png"], "original_data_index": 544} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 12 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["4"], ["7"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Ukh21_12.png", "TableImg_Cwebu_5.png"], "original_data_index": 545} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 3 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 2", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["4"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Vhqlh_5.png", "TableImg_7exrt_4.png"], "original_data_index": 546} +{"question": "SELECT COUNT(T1.Book_ID), T2.Price FROM book as T1 JOIN publication as T2 ON T1.Book_ID = T2.Book_ID WHERE Title = \"The Dome: Ground Zero\" OR Publication_Date <> \"August 2008\" OR \"Price\" <> 2000000.0 OR Writer <> \"Garth Ennis\" AND \"Publication_ID\" > 5", "answer": {"columns": ["COUNT(T1.Book_ID)", "Price"], "index": [0], "data": [["7", "15000000"]]}, "table_names": "['book' 'publication']", "table_image_ids": ["TableImg_9m0lq_10.png", "TableImg_4mg8t_7.png"], "original_data_index": 547} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 2 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_8umcd_12.png", "TableImg_Ba1gm_5.png"], "original_data_index": 548} +{"question": "SELECT ModelId FROM model_list WHERE \"ModelId\" <= 3 INTERSECT SELECT ModelId FROM model_list WHERE \"ModelId\" = 14 OR \"Maker\" <> 17", "answer": {"columns": ["ModelId"], "index": [0, 1, 2], "data": [["1"], ["2"], ["3"]]}, "table_names": "['model_list' 'model_list']", "table_image_ids": ["TableImg_Fvt9b_36.png", "TableImg_3e275_36.png"], "original_data_index": 549} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 9 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Gqiwj_12.png", "TableImg_3co63_5.png"], "original_data_index": 550} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 1 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 2", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Rjexo_5.png", "TableImg_1au6d_4.png"], "original_data_index": 551} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID = 3 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 5", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["3"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Dto4y_5.png", "TableImg_Agi4y_4.png"], "original_data_index": 552} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 12 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 10", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_21s9d_12.png", "TableImg_Zmzo1_5.png"], "original_data_index": 553} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 2 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["1"], ["2"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_0t8e3_12.png", "TableImg_Evf8r_5.png"], "original_data_index": 554} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 2 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7], "data": [["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Lqwi8_12.png", "TableImg_5blld_5.png"], "original_data_index": 555} +{"question": "SELECT MAX(People_ID) FROM employment WHERE \"Year_working\" = 1 UNION ALL SELECT MAX(People_ID) FROM people WHERE Graduation_College != \"Wisconsin\u2013Stevens Point\" OR Nationality != \"United States\"", "answer": {"columns": ["MAX(People_ID)"], "index": [0, 1], "data": [["4"], ["7"]]}, "table_names": "['employment' 'people']", "table_image_ids": ["TableImg_Mlat2_5.png", "TableImg_Xx1gu_7.png"], "original_data_index": 556} +{"question": "SELECT Branch_ID, Total_pounds, Year FROM purchase WHERE \"Total_pounds\" <= 343.76 OR Year <> \"2018\" OR Branch_ID = \"3\" EXCEPT SELECT Branch_ID, Total_pounds, Year FROM purchase WHERE \"Total_pounds\" >= 988.09", "answer": {"columns": ["Branch_ID", "Total_pounds", "Year"], "index": [0, 1, 2, 3, 4], "data": [["1", "20.99", "2018"], ["3", "430.29", "2018"], ["5", "321.13", "2018"], ["5", "343.76", "2018"], ["6", "232.09", "2018"]]}, "table_names": "['purchase' 'purchase']", "table_image_ids": ["TableImg_Ua3gf_8.png", "TableImg_L2jf2_8.png"], "original_data_index": 557} +{"question": "SELECT Product_ID FROM store_product WHERE \"Store_ID\" >= 3 OR \"Product_ID\" = 1 INTERSECT SELECT Product_ID FROM store_product WHERE \"Product_ID\" != 1 AND \"Store_ID\" >= 3", "answer": {"columns": ["Product_ID"], "index": [0, 1, 2, 3], "data": [["2"], ["3"], ["4"], ["6"]]}, "table_names": "['store_product' 'store_product']", "table_image_ids": ["TableImg_Gdxd6_15.png", "TableImg_Ksh2j_15.png"], "original_data_index": 558} +{"question": "SELECT COUNT(Big_Silver) FROM match_result WHERE \"Small_Silver\" != 6 AND \"Points\" = 168 AND \"Club_ID\" <> 5 UNION SELECT COUNT(Big_Silver) FROM match_result WHERE \"Rank\" < 3 OR \"Gold\" <= 12 AND \"Club_ID\" <= 1", "answer": {"columns": ["COUNT(Big_Silver)"], "index": [0, 1], "data": [["1"], ["2"]]}, "table_names": "['match_result' 'match_result']", "table_image_ids": ["TableImg_Yyg2u_6.png", "TableImg_Qb0tl_6.png"], "original_data_index": 559} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 3 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 1", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_9gkqh_5.png", "TableImg_Ooz24_4.png"], "original_data_index": 560} +{"question": "SELECT document_id, draft_number FROM Circulation_History WHERE \"employee_id\" < 1 AND \"copy_number\" < 4 OR \"draft_number\" != 2 OR \"document_id\" != 20 INTERSECT SELECT document_id, draft_number FROM Document_Drafts WHERE \"document_id\" > 12 OR \"draft_number\" <= 20", "answer": {"columns": ["document_id", "draft_number"], "index": [0, 1, 2, 3], "data": [["1", "2"], ["2", "1"], ["10", "20"], ["20", "17"]]}, "table_names": "['Circulation_History' 'Document_Drafts']", "table_image_ids": ["TableImg_Riird_4.png", "TableImg_Nfotq_15.png"], "original_data_index": 561} +{"question": "SELECT Description, Max_Gross_Weight FROM aircraft WHERE Max_Gross_Weight != \"3,200 lb (1,451 kg)\" AND Aircraft = \"CH-53E Super Stallion\" AND Max_disk_Loading = \"8.8 lb/ft\u00b2 (43 kg/m\u00b2)\" OR Total_disk_area != \"5,655 ft\u00b2 (526 m\u00b2)\" UNION ALL SELECT Description, Max_Gross_Weight FROM aircraft WHERE Max_Gross_Weight = \"73,500 lb (33,300 kg)\" AND \"Aircraft_ID\" <> 4", "answer": {"columns": ["Description", "Max_Gross_Weight"], "index": [0, 1, 2, 3, 4], "data": [["Light utility helicopter", "1,370 lb (635 kg)"], ["Turboshaft utility helicopter", "3,200 lb (1,451 kg)"], ["Heavy-lift helicopter", "123,500 lb (56,000 kg)"], ["Heavy-lift helicopter", "73,500 lb (33,300 kg)"], ["Heavy-lift helicopter", "73,500 lb (33,300 kg)"]]}, "table_names": "['aircraft' 'aircraft']", "table_image_ids": ["TableImg_Y605d_5.png", "TableImg_5plee_5.png"], "original_data_index": 562} +{"question": "SELECT COUNT(T1.feature_id), T2.property_id FROM Other_Available_Features as T1 JOIN Other_Property_Features as T2 ON T1.feature_id = T2.feature_id WHERE property_feature_description <> \"odio\" AND feature_name <> \"Pool\" OR feature_description = \"Swimming Pool.\" GROUP BY property_feature_description HAVING property_id <> 6 AND property_feature_description <> \"illo\"", "answer": {"columns": ["COUNT(T1.feature_id)", "property_id"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "data": [["1", "1"], ["1", "13"], ["1", "3"], ["1", "15"], ["1", "12"], ["1", "7"], ["1", "14"], ["1", "4"], ["2", "14"], ["1", "11"]]}, "table_names": "['Other_Available_Features' 'Other_Property_Features']", "table_image_ids": ["TableImg_Dtb62_3.png", "TableImg_Po70k_15.png"], "original_data_index": 563} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 8 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["5"], ["6"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Laa5w_12.png", "TableImg_Arsqh_5.png"], "original_data_index": 564} +{"question": "SELECT Max_disk_Loading, Aircraft_ID, Aircraft FROM aircraft WHERE Aircraft = \"CH-47D Chinook\" AND Total_disk_area = \"872 ft\u00b2 (81.1 m\u00b2)\" AND Description != \"Light utility helicopter\" OR Max_Gross_Weight != \"73,500 lb (33,300 kg)\" OR \"Aircraft_ID\" <= 2 UNION SELECT Max_disk_Loading, Aircraft_ID, Aircraft FROM aircraft WHERE Total_disk_area = \"8,495 ft\u00b2 (789 m\u00b2)\" OR Max_disk_Loading <> \"14.5 lb/ft\u00b2 (71 kg/m\u00b2)\" AND \"Aircraft_ID\" > 2 OR Aircraft = \"CH-47D Chinook\"", "answer": {"columns": ["Max_disk_Loading", "Aircraft_ID", "Aircraft"], "index": [0, 1, 2, 3, 4], "data": [["14.5 lb/ft\u00b2 (71 kg/m\u00b2)", "4", "Mil Mi-26"], ["15 lb/ft\u00b2 (72 kg/m\u00b2)", "5", "CH-53E Super Stallion"], ["2.6 lb/ft\u00b2 (14 kg/m\u00b2)", "1", "Robinson R-22"], ["3.7 lb/ft\u00b2 (18 kg/m\u00b2)", "2", "Bell 206B3 JetRanger"], ["8.8 lb/ft\u00b2 (43 kg/m\u00b2)", "3", "CH-47D Chinook"]]}, "table_names": "['aircraft' 'aircraft']", "table_image_ids": ["TableImg_1cn8w_5.png", "TableImg_9abij_5.png"], "original_data_index": 565} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 8 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["5"], ["6"], ["8"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Vy6tf_12.png", "TableImg_U15yu_5.png"], "original_data_index": 566} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 11 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Vwvl0_12.png", "TableImg_F4nyb_5.png"], "original_data_index": 567} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 2 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2], "data": [["1"], ["2"], ["3"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Rmarx_5.png", "TableImg_Qo6f7_4.png"], "original_data_index": 568} +{"question": "SELECT head_ID FROM head WHERE name != \"Franklin Langham\" INTERSECT SELECT head_ID FROM management WHERE \"head_ID\" = 5 OR \"department_ID\" > 11 AND temporary_acting <> \"Yes\"", "answer": {"columns": ["head_ID"], "index": [0], "data": [["5"]]}, "table_names": "['head' 'management']", "table_image_ids": ["TableImg_T0cn8_10.png", "TableImg_Bn9iq_5.png"], "original_data_index": 569} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 5 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 3", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["3"], ["4"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_3c4av_5.png", "TableImg_N68oa_4.png"], "original_data_index": 570} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 2 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 3", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_1w3mm_5.png", "TableImg_Qwc2d_4.png"], "original_data_index": 571} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 11 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 10", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Kuv9f_12.png", "TableImg_Xcjdc_5.png"], "original_data_index": 572} +{"question": "SELECT SUM(role_description) FROM Roles WHERE role_code = \"ED\" OR role_description != \"Photo\" UNION SELECT SUM(role_description) FROM Roles WHERE role_description = \"Photo\" OR role_code <> \"MG\"", "answer": {"columns": ["SUM(role_description)"], "index": [0], "data": [["0"]]}, "table_names": "['Roles' 'Roles']", "table_image_ids": ["TableImg_Wm4g3_4.png", "TableImg_8jca7_4.png"], "original_data_index": 573} +{"question": "SELECT id FROM albums WHERE \"id\" > 116 OR title != \"No Security\" UNION ALL SELECT id FROM media_types WHERE name = \"AAC audio file\" OR \"id\" > 4", "answer": {"columns": ["id"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"], ["13"], ["14"], ["15"], ["16"], ["17"], ["18"], ["19"], ["20"], ["21"], ["22"], ["23"], ["24"], ["25"], ["26"], ["27"], ["28"], ["29"], ["30"], ["31"], ["32"], ["33"], ["34"], ["35"], ["36"], ["37"], ["38"], ["39"], ["40"], ["41"], ["42"], ["43"], ["44"], ["45"], ["46"], ["47"], ["48"], ["49"], ["50"], ["51"], ["52"], ["53"], ["54"], ["55"], ["56"], ["57"], ["58"], ["59"], ["60"], ["61"], ["62"], ["63"], ["64"], ["65"], ["66"], ["67"], ["68"], ["69"], ["70"], ["71"], ["72"], ["73"], ["74"], ["75"], ["76"], ["77"], ["78"], ["79"], ["80"], ["81"], ["82"], ["83"], ["84"], ["85"], ["86"], ["87"], ["88"], ["89"], ["90"], ["91"], ["92"], ["93"], ["94"], ["95"], ["96"], ["97"], ["98"], ["99"], ["100"], ["101"], ["102"], ["103"], ["104"], ["105"], ["106"], ["107"], ["108"], ["109"], ["110"], ["111"], ["112"], ["113"], ["114"], ["115"], ["116"], ["117"], ["118"], ["119"], ["120"], ["121"], ["122"], ["123"], ["124"], ["125"], ["126"], ["127"], ["128"], ["129"], ["130"], ["131"], ["132"], ["133"], ["134"], ["135"], ["136"], ["137"], ["138"], ["139"], ["140"], ["141"], ["142"], ["143"], ["144"], ["145"], ["146"], ["147"], ["148"], ["149"], ["150"], ["151"], ["152"], ["153"], ["154"], ["155"], ["156"], ["157"], ["158"], ["159"], ["160"], ["161"], ["162"], ["163"], ["164"], ["165"], ["166"], ["167"], ["168"], ["169"], ["170"], ["171"], ["172"], ["173"], ["174"], ["175"], ["176"], ["177"], ["178"], ["179"], ["180"], ["181"], ["182"], ["183"], ["184"], ["185"], ["186"], ["187"], ["188"], ["189"], ["190"], ["191"], ["192"], ["193"], ["194"], ["195"], ["196"], ["197"], ["198"], ["199"], ["200"], ["201"], ["202"], ["203"], ["204"], ["205"], ["206"], ["207"], ["208"], ["209"], ["210"], ["211"], ["212"], ["213"], ["214"], ["215"], ["216"], ["217"], ["218"], ["219"], ["220"], ["221"], ["222"], ["223"], ["224"], ["225"], ["226"], ["227"], ["228"], ["229"], ["230"], ["231"], ["232"], ["233"], ["234"], ["235"], ["236"], ["237"], ["238"], ["239"], ["240"], ["241"], ["242"], ["243"], ["244"], ["245"], ["246"], ["247"], ["248"], ["249"], ["250"], ["251"], ["252"], ["253"], ["254"], ["255"], ["256"], ["257"], ["258"], ["259"], ["260"], ["261"], ["262"], ["263"], ["264"], ["265"], ["266"], ["267"], ["268"], ["269"], ["270"], ["271"], ["272"], ["273"], ["274"], ["275"], ["276"], ["277"], ["278"], ["279"], ["280"], ["281"], ["282"], ["283"], ["284"], ["285"], ["286"], ["287"], ["288"], ["289"], ["290"], ["291"], ["292"], ["293"], ["294"], ["295"], ["296"], ["297"], ["298"], ["299"], ["300"], ["301"], ["302"], ["303"], ["304"], ["305"], ["306"], ["307"], ["308"], ["309"], ["310"], ["311"], ["312"], ["313"], ["314"], ["315"], ["316"], ["317"], ["318"], ["319"], ["320"], ["321"], ["322"], ["323"], ["324"], ["325"], ["326"], ["327"], ["328"], ["329"], ["330"], ["331"], ["332"], ["333"], ["334"], ["335"], ["336"], ["337"], ["338"], ["339"], ["340"], ["341"], ["342"], ["343"], ["344"], ["345"], ["346"], ["347"], ["5"]]}, "table_names": "['albums' 'media_types']", "table_image_ids": ["TableImg_37qhp_347.png", "TableImg_Losqp_5.png"], "original_data_index": 574} +{"question": "SELECT SUM(Maker) FROM car_makers WHERE Maker != \"daimler benz\" OR Country != \"4\" UNION ALL SELECT SUM(Maker) FROM model_list WHERE Model <> \"datsun\" AND \"ModelId\" <= 22 AND \"Maker\" < 5", "answer": {"columns": ["SUM(Maker)"], "index": [0, 1], "data": [["0"], ["22"]]}, "table_names": "['car_makers' 'model_list']", "table_image_ids": ["TableImg_Gj4nc_22.png", "TableImg_Ltykp_36.png"], "original_data_index": 575} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 9 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["1"], ["2"], ["5"], ["6"], ["8"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_F8fz8_12.png", "TableImg_Nt2h0_5.png"], "original_data_index": 576} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 4 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5], "data": [["5"], ["6"], ["8"], ["9"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_736g1_12.png", "TableImg_Kgv98_5.png"], "original_data_index": 577} +{"question": "SELECT Template_Type_Code FROM Ref_Template_Types WHERE Template_Type_Code != \"CV\" OR Template_Type_Description <> \"Paper\" INTERSECT SELECT Template_Type_Code FROM Templates WHERE \"Template_ID\" <> 11 OR Template_Type_Code = \"BK\"", "answer": {"columns": ["Template_Type_Code"], "index": [0, 1, 2, 3, 4], "data": [["AD"], ["BK"], ["CV"], ["PP"], ["PPT"]]}, "table_names": "['Ref_Template_Types' 'Templates']", "table_image_ids": ["TableImg_Y545g_5.png", "TableImg_Lu95u_20.png"], "original_data_index": 578} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 4 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 1", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["3"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Rw6pz_5.png", "TableImg_2y8u4_4.png"], "original_data_index": 579} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 7 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Gkaa6_12.png", "TableImg_Ty4s5_5.png"], "original_data_index": 580} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 7 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 7", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["7"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Xkkac_12.png", "TableImg_3yynz_5.png"], "original_data_index": 581} +{"question": "SELECT Employee_ID FROM employee WHERE Name <> \"George Chuter\" UNION SELECT Employee_ID FROM hiring WHERE Is_full_time = \"T\" AND \"Shop_ID\" != 1", "answer": {"columns": ["Employee_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8], "data": [["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"]]}, "table_names": "['employee' 'hiring']", "table_image_ids": ["TableImg_Lxe4t_10.png", "TableImg_F8bhr_7.png"], "original_data_index": 582} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 9 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_5vqwd_12.png", "TableImg_Mz1ua_5.png"], "original_data_index": 583} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 1 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["1"], ["3"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Mvtcr_12.png", "TableImg_Alm4j_5.png"], "original_data_index": 584} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 5 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["1"], ["2"], ["5"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_R88y7_12.png", "TableImg_W7jxn_5.png"], "original_data_index": 585} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 8 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_T4bc3_12.png", "TableImg_4owy3_5.png"], "original_data_index": 586} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 9 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_3mn8z_12.png", "TableImg_W9rlp_5.png"], "original_data_index": 587} +{"question": "SELECT MIN(id) FROM flight WHERE \"company_id\" = 11 AND \"airport_id\" < 2 OR Vehicle_Flight_number <> \"M2-F1 #14\" AND \"Altitude\" <> 3650.0 INTERSECT SELECT MIN(id) FROM operate_company WHERE name != \"Cathay Pacific Catering Services (HK) Limited\" AND Principal_activities <> \"Laundry\" OR Type <> \"Joint Venture\" AND \"Group_Equity_Shareholding\" = 100.0 AND \"id\" >= 10 OR Incorporated_in = \"Hong Kong\"", "answer": {"columns": ["MIN(id)"], "index": [0], "data": [["1"]]}, "table_names": "['flight' 'operate_company']", "table_image_ids": ["TableImg_Efbiv_13.png", "TableImg_Xu4e5_14.png"], "original_data_index": 588} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 10 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 9", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Oquz7_12.png", "TableImg_Z6muv_5.png"], "original_data_index": 589} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 9 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["5"], ["6"], ["8"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Pyz69_12.png", "TableImg_6cpxr_5.png"], "original_data_index": 590} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 2 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["3"], ["4"], ["7"], ["9"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Y3uwe_12.png", "TableImg_9kmcm_5.png"], "original_data_index": 591} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 9 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["3"], ["4"], ["7"], ["9"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_4pt8l_12.png", "TableImg_Xtq9x_5.png"], "original_data_index": 592} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 6 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Mz2d0_12.png", "TableImg_Aiee2_5.png"], "original_data_index": 593} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 5 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 3", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["1"], ["2"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Jvxup_5.png", "TableImg_8f5u1_4.png"], "original_data_index": 594} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 10 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["7"], ["9"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Xihlr_12.png", "TableImg_Cdbjp_5.png"], "original_data_index": 595} +{"question": "SELECT Nationality, Birth_Date FROM people WHERE \"People_ID\" <= 2 OR \"Height\" != 205.0 AND Nationality = \"Russia\" AND Name != \"Aleksey Ostapenko\" OR Birth_Date != \"May 26, 1986\" INTERSECT SELECT Nationality, Birth_Date FROM people WHERE \"Height\" != 207.0 OR Nationality = \"Russia\" AND Name <> \"Yevgeni Sivozhelez\" AND \"People_ID\" < 4 AND Birth_Date = \"April 17, 1987\"", "answer": {"columns": ["Nationality", "Birth_Date"], "index": [0, 1, 2, 3, 4, 5], "data": [["Bulgaria", "August 16, 1982"], ["Russia", "April 17, 1987"], ["Russia", "August 8, 1986"], ["Russia", "February 8, 1981"], ["Russia", "January 22, 1987"], ["Russia", "July 14, 1983"]]}, "table_names": "['people' 'people']", "table_image_ids": ["TableImg_Pp84a_7.png", "TableImg_2imxm_7.png"], "original_data_index": 596} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 5 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["1"], ["2"], ["5"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Ks702_12.png", "TableImg_Ss521_5.png"], "original_data_index": 597} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 3 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Au74w_5.png", "TableImg_Qzatn_4.png"], "original_data_index": 598} +{"question": "SELECT Player_ID FROM player WHERE \"Votes\" = 14355 OR Gender = \"F\" AND Player_name = \"Judy Wasylycia-Leis\" OR Residence <> \"Brandon\" AND Rank != \"2nd\" AND \"Player_ID\" <> 6 AND Occupation <> \"Design Coordinator\" EXCEPT SELECT Player_ID FROM player_coach WHERE \"Player_ID\" <= 1 AND \"Starting_year\" <= 2010 OR \"Coach_ID\" < 1", "answer": {"columns": ["Player_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8], "data": [["2"], ["3"], ["5"], ["7"], ["9"], ["11"], ["12"], ["13"], ["14"]]}, "table_names": "['player' 'player_coach']", "table_image_ids": ["TableImg_80yfn_14.png", "TableImg_3e5i9_7.png"], "original_data_index": 599} +{"question": "SELECT MIN(Principal_activities), Group_Equity_Shareholding, name, MIN(Incorporated_in), MAX(id), SUM(Type) FROM operate_company WHERE Principal_activities != \"Cargo\" AND Type = \"Subsidiary\" OR Incorporated_in = \"Hong Kong\" EXCEPT SELECT MIN(Principal_activities), Group_Equity_Shareholding, name, MIN(Incorporated_in), MAX(id), SUM(Type) FROM operate_company WHERE Incorporated_in <> \"Taiwan\" OR \"Group_Equity_Shareholding\" = 100.0 OR Principal_activities != \"Airline\" AND Type = \"Subsidiary\" AND \"id\" != 6 AND name != \"Air Hong Kong\"", "answer": {"columns": ["MIN(Principal_activities)", "Group_Equity_Shareholding", "name", "MIN(Incorporated_in)", "MAX(id)", "SUM(Type)"], "index": [0], "data": [["Airline", "100", "Vogue Laundry Service Limited", "Hong Kong", "11", "0"]]}, "table_names": "['operate_company' 'operate_company']", "table_image_ids": ["TableImg_Sdzm7_14.png", "TableImg_Bjn6c_14.png"], "original_data_index": 600} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 5 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 2", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Sc9rz_5.png", "TableImg_Ia9g5_4.png"], "original_data_index": 601} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 5 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["1"], ["2"], ["6"], ["8"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_9369z_12.png", "TableImg_T6fuk_5.png"], "original_data_index": 602} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 9 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["3"], ["4"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_85unt_12.png", "TableImg_L1dp4_5.png"], "original_data_index": 603} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 1 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 3", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["3"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Arhyo_12.png", "TableImg_Kjc6o_5.png"], "original_data_index": 604} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 5 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_D3lx5_12.png", "TableImg_Aatny_5.png"], "original_data_index": 605} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 4 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 2", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["2"], ["4"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_2rndf_5.png", "TableImg_22ndt_4.png"], "original_data_index": 606} +{"question": "SELECT IATA, ICAO, Country, City FROM airport WHERE name = \"Schiphol Airport\" UNION ALL SELECT IATA, ICAO, Country, City FROM airport WHERE \"id\" < 1 OR name = \"Akureyri Airport\"", "answer": {"columns": ["IATA", "ICAO", "Country", "City"], "index": [0, 1], "data": [["AMS", "EHAM", "Netherlands", "Amsterdam"], ["AEY", "BIAR", "Iceland", "Akureyri"]]}, "table_names": "['airport' 'airport']", "table_image_ids": ["TableImg_Id2aw_9.png", "TableImg_H1z8j_9.png"], "original_data_index": 607} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 2 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 7", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["1"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_X0rie_12.png", "TableImg_Vsvea_5.png"], "original_data_index": 608} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 3 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 3", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["3"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Gfarh_5.png", "TableImg_7l800_4.png"], "original_data_index": 609} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 12 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4], "data": [["3"], ["4"], ["7"], ["9"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_8eork_12.png", "TableImg_Kwk8o_5.png"], "original_data_index": 610} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 7 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5], "data": [["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Rn2oh_12.png", "TableImg_3s522_5.png"], "original_data_index": 611} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 3 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "data": [["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_27m6x_12.png", "TableImg_Hflge_5.png"], "original_data_index": 612} +{"question": "SELECT Branch_ID, Member_ID, Register_Year FROM membership_register_branch WHERE Branch_ID <> \"8\" OR Register_Year = \"2016\" EXCEPT SELECT Branch_ID, Member_ID, Register_Year FROM membership_register_branch WHERE Branch_ID != \"4\" AND Register_Year <> \"2016\"", "answer": {"columns": ["Branch_ID", "Member_ID", "Register_Year"], "index": [0, 1, 2, 3, 4, 5], "data": [["1", "1", "2016"], ["1", "4", "2016"], ["2", "7", "2016"], ["4", "2", "2016"], ["5", "5", "2016"], ["8", "8", "2016"]]}, "table_names": "['membership_register_branch' 'membership_register_branch']", "table_image_ids": ["TableImg_8ishd_8.png", "TableImg_9zo6n_8.png"], "original_data_index": 613} +{"question": "SELECT vehicle_id FROM Lessons WHERE lesson_status_code != \"Cancelled\" OR \"price\" > 231.0 AND \"vehicle_id\" != 2 AND \"staff_id\" = 11 OR \"lesson_id\" <= 14 OR \"customer_id\" != 8 EXCEPT SELECT vehicle_id FROM Vehicles WHERE vehicle_details = \"Car\" AND \"vehicle_id\" > 1", "answer": {"columns": ["vehicle_id"], "index": [0, 1], "data": [["1"], ["2"]]}, "table_names": "['Lessons' 'Vehicles']", "table_image_ids": ["TableImg_C5ky9_15.png", "TableImg_Ackfy_3.png"], "original_data_index": 614} +{"question": "SELECT ClubID FROM Club WHERE ClubName = \"Pen and Paper Gaming\" OR \"ClubID\" != 3 AND ClubDesc != \"Play pen and paper games on campus.\" AND ClubLocation <> \"HHH\" INTERSECT SELECT ClubID FROM Member_of_club WHERE \"ClubID\" <= 1 OR Position <> \"CTO\"", "answer": {"columns": ["ClubID"], "index": [0, 1], "data": [["1"], ["4"]]}, "table_names": "['Club' 'Member_of_club']", "table_image_ids": ["TableImg_M7mu8_4.png", "TableImg_4jfmf_4.png"], "original_data_index": 615} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 3 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Hyxwa_12.png", "TableImg_Hqcxr_5.png"], "original_data_index": 616} +{"question": "SELECT COUNT(Writer), Issues, COUNT(Book_ID) FROM book GROUP BY Issues HAVING COUNT(Book_ID) <> 2 AND COUNT(Writer) > 1 UNION SELECT COUNT(Writer), Issues, COUNT(Book_ID) FROM book GROUP BY Issues HAVING COUNT(Book_ID) >= 1 AND COUNT(Writer) > 3", "answer": {"columns": ["COUNT(Writer)", "Issues", "COUNT(Book_ID)"], "index": [0], "data": [["3", "4", "3"]]}, "table_names": "['book' 'book']", "table_image_ids": ["TableImg_Rgwqm_10.png", "TableImg_Xfsu4_10.png"], "original_data_index": 617} +{"question": "SELECT Document_ID FROM Documents WHERE \"Template_ID\" <= 21 UNION SELECT Document_ID FROM Documents WHERE \"Document_ID\" > 80 OR \"Template_ID\" > 1 AND Document_Name != \"Understanding DB\" AND Other_Details != \"None\" AND Document_Description = \"b\"", "answer": {"columns": ["Document_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13], "data": [["0"], ["3"], ["76"], ["80"], ["82"], ["2394"], ["3830"], ["33930"], ["50123"], ["651512"], ["801801"], ["3540024"], ["16514113"], ["385906526"]]}, "table_names": "['Documents' 'Documents']", "table_image_ids": ["TableImg_Id85e_15.png", "TableImg_57h2b_15.png"], "original_data_index": 618} +{"question": "SELECT MIN(School_ID), SUM(Years_Working), If_full_time, SUM(Driver_ID) FROM school_bus WHERE \"Years_Working\" > 2 OR \"School_ID\" < 5 UNION SELECT MIN(School_ID), SUM(Years_Working), If_full_time, SUM(Driver_ID) FROM school_bus WHERE \"Driver_ID\" >= 9 OR \"Years_Working\" < 6 OR If_full_time = \"T\"", "answer": {"columns": ["MIN(School_ID)", "SUM(Years_Working)", "If_full_time", "SUM(Driver_ID)"], "index": [0, 1], "data": [["1", "27", "F", "24"], ["1", "29", "F", "33"]]}, "table_names": "['school_bus' 'school_bus']", "table_image_ids": ["TableImg_St4qc_5.png", "TableImg_Jdmgp_5.png"], "original_data_index": 619} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 8 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_7uj76_12.png", "TableImg_Qiv5c_5.png"], "original_data_index": 620} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 2 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "data": [["1"], ["3"], ["4"], ["5"], ["6"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_77wf1_12.png", "TableImg_E1deg_5.png"], "original_data_index": 621} +{"question": "SELECT Continent FROM continents WHERE Continent != \"asia\" EXCEPT SELECT Continent FROM countries WHERE \"Continent\" >= 5", "answer": {"columns": ["Continent"], "index": [0, 1, 2, 3], "data": [["africa"], ["america"], ["australia"], ["europe"]]}, "table_names": "['continents' 'countries']", "table_image_ids": ["TableImg_846mh_5.png", "TableImg_Olfv8_15.png"], "original_data_index": 622} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 9 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Qoaw8_12.png", "TableImg_Laj8i_5.png"], "original_data_index": 623} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 6 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["3"], ["5"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_4sja7_12.png", "TableImg_Rkyzp_5.png"], "original_data_index": 624} +{"question": "SELECT MIN(Template_ID) FROM Documents WHERE Other_Details != \"None\" AND Document_Name <> \"Data base\" OR \"Document_ID\" > 3540024 EXCEPT SELECT MIN(Template_ID) FROM Templates WHERE \"Template_ID\" <> 21", "answer": {"columns": ["MIN(Template_ID)"], "index": [0], "data": [["11"]]}, "table_names": "['Documents' 'Templates']", "table_image_ids": ["TableImg_Kctt7_15.png", "TableImg_052ll_20.png"], "original_data_index": 625} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 10 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_07q5g_12.png", "TableImg_Kgcu3_5.png"], "original_data_index": 626} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 4 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 2", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["3"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Aoxnq_5.png", "TableImg_Uilsa_4.png"], "original_data_index": 627} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 4 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Tl7uh_12.png", "TableImg_Xv8ja_5.png"], "original_data_index": 628} +{"question": "SELECT id FROM flight WHERE \"airport_id\" <> 1 AND Date = \"January 29, 1964\" AND Vehicle_Flight_number = \"M2-F1 #70\" OR Pilot = \"Thompson\" AND \"company_id\" <> 11 AND \"Altitude\" > 3650.0 OR \"Velocity\" > 240.0 OR \"id\" <> 8 UNION SELECT id FROM operate_company WHERE name <> \"CLS Catering Services Limited\" AND Incorporated_in != \"Hong Kong\" OR Type <> \"Corporate\" AND \"id\" > 13", "answer": {"columns": ["id"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["9"], ["10"], ["11"], ["12"], ["13"], ["14"]]}, "table_names": "['flight' 'operate_company']", "table_image_ids": ["TableImg_N3y7f_13.png", "TableImg_Jj2dj_14.png"], "original_data_index": 629} +{"question": "SELECT AVG(property_type_code) FROM Properties WHERE \"agreed_selling_price\" <= 2794972.2495 OR fld_feature_3 = \"None\" AND oth_feature_2 <> \"None\" AND oth_feature_1 != \"None\" OR property_address != \"4745 Emerson Stravenue Suite 829 South Garret, IN 16772-5682\" AND \"property_id\" >= 6 OR apt_feature_1 != \"nesciunt\" AND \"buyer_offered_price\" <= 13991131.434 OR property_name = \"avalon\" OR hse_feature_1 <> \"None\" AND shp_feature_1 = \"None\" AND apt_feature_3 <> \"None\" OR fld_feature_2 = \"None\" OR \"room_count\" != 9 OR date_on_market <> \"1986-11-26 04:12:18\" OR shp_feature_3 != \"None\" OR \"vendor_requested_price\" > 2219.6778 OR hse_feature_3 <> \"None\" AND apt_feature_2 <> \"culpa\" AND oth_feature_3 = \"None\" AND shp_feature_2 = \"None\" INTERSECT SELECT AVG(property_type_code) FROM Ref_Property_Types WHERE property_type_code <> \"House\" OR property_type_description != \"Shop, Retail Outlet.\"", "answer": {"columns": ["AVG(property_type_code)"], "index": [0], "data": [["0"]]}, "table_names": "['Properties' 'Ref_Property_Types']", "table_image_ids": ["TableImg_Czz23_15.png", "TableImg_89ep8_5.png"], "original_data_index": 630} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 1 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 4", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["4"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_7ynqs_12.png", "TableImg_W47zh_5.png"], "original_data_index": 631} +{"question": "SELECT Template_Type_Code FROM Ref_Template_Types WHERE Template_Type_Code != \"AD\" OR Template_Type_Description <> \"Presentation\" UNION ALL SELECT Template_Type_Code FROM Templates WHERE \"Template_ID\" > 21", "answer": {"columns": ["Template_Type_Code"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8], "data": [["PPT"], ["CV"], ["AD"], ["PP"], ["BK"], ["PP"], ["BK"], ["PP"], ["PP"]]}, "table_names": "['Ref_Template_Types' 'Templates']", "table_image_ids": ["TableImg_Weeiu_5.png", "TableImg_Pkp1v_20.png"], "original_data_index": 632} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 3 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5], "data": [["5"], ["6"], ["8"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Ah4a2_12.png", "TableImg_G4at4_5.png"], "original_data_index": 633} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 12 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["4"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Oxsji_12.png", "TableImg_Qoj4r_5.png"], "original_data_index": 634} +{"question": "SELECT Country, Maker, Id FROM car_makers WHERE FullName != \"Subaru\" AND Country = \"3\" UNION SELECT Country, Maker, Id FROM car_makers WHERE Country != \"4\" OR FullName = \"Mazda\" AND Maker = \"bmw\" OR \"Id\" >= 14", "answer": {"columns": ["Country", "Maker", "Id"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "data": [["1", "amc", "1"], ["1", "chrysler", "6"], ["1", "ford", "5"], ["1", "gm", "4"], ["2", "bmw", "3"], ["2", "daimler benz", "13"], ["2", "opel", "14"], ["2", "volkswagen", "2"], ["3", "citroen", "7"], ["3", "peugeaut", "15"], ["3", "renault", "16"], ["4", "subaru", "18"], ["4", "toyota", "19"], ["5", "fiat", "9"], ["6", "saab", "17"], ["6", "volvo", "21"], ["7", "triumph", "20"], ["8", "hyundai", "23"], ["8", "kia", "22"]]}, "table_names": "['car_makers' 'car_makers']", "table_image_ids": ["TableImg_H8lam_22.png", "TableImg_Gipr9_22.png"], "original_data_index": 635} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 5 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 7", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["5"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Vx93m_12.png", "TableImg_57pju_5.png"], "original_data_index": 636} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 4 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 1", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["2"], ["3"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Xlzhc_5.png", "TableImg_S32m9_4.png"], "original_data_index": 637} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 10 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["3"], ["4"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Lkg37_12.png", "TableImg_8vxrq_5.png"], "original_data_index": 638} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 9 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 4", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["3"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Hcdv4_12.png", "TableImg_Jr52c_5.png"], "original_data_index": 639} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 6 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 3", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["4"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Dg0iy_12.png", "TableImg_Z93cy_5.png"], "original_data_index": 640} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 12 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8], "data": [["1"], ["2"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_W4p0d_12.png", "TableImg_Ddtu3_5.png"], "original_data_index": 641} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 7 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["3"], ["5"], ["6"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Zrol1_12.png", "TableImg_2avrl_5.png"], "original_data_index": 642} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 11 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 9", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["9"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_31hsg_12.png", "TableImg_9zq49_5.png"], "original_data_index": 643} +{"question": "SELECT MAX(document_type_code) FROM Documents WHERE receipt_date <> \"1986-12-14 14:18:59\" AND shipping_agent_code = \"UP\" OR receipt_number <> \"19\" AND other_details = \"w\" OR \"document_id\" = 13 AND document_status_code = \"working\" OR document_type_code <> \"Hard Drive\" INTERSECT SELECT MAX(document_type_code) FROM Ref_Document_Types WHERE document_type_code <> \"Paper\" OR document_type_description <> \"b\"", "answer": {"columns": ["MAX(document_type_code)"], "index": [0], "data": [["Paper"]]}, "table_names": "['Documents' 'Ref_Document_Types']", "table_image_ids": ["TableImg_9o2ur_15.png", "TableImg_1ky54_3.png"], "original_data_index": 644} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 10 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["7"], ["9"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_F0gmo_12.png", "TableImg_Bamnb_5.png"], "original_data_index": 645} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 3 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7], "data": [["1"], ["2"], ["4"], ["5"], ["6"], ["8"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Jh3do_12.png", "TableImg_T6dxd_5.png"], "original_data_index": 646} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 2 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "data": [["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Ulfpt_12.png", "TableImg_B6l3j_5.png"], "original_data_index": 647} +{"question": "SELECT Writer, Title, Issues FROM book WHERE \"Book_ID\" <= 4 UNION SELECT Writer, Title, Issues FROM book WHERE Title = \"Cyberella\" AND Writer != \"Elaine Lee\" OR \"Issues\" >= 4.0", "answer": {"columns": ["Writer", "Title", "Issues"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8], "data": [["Christopher Hinz", "Dead Corps", "4"], ["Christopher Hinz", "Gemini Blood", "9"], ["Christopher Moeller", "Sheva's War", "5"], ["Elaine Lee", "BrainBanx", "6"], ["Garth Ennis", "Bloody Mary", "4"], ["Garth Ennis", "Bloody Mary : Lady Liberty", "4"], ["Howard Chaykin", "Cyberella", "12"], ["Michael Moorcock", "Michael Moorcock's Multiverse", "12"], ["Timothy Truman", "The Black Lamb", "6"]]}, "table_names": "['book' 'book']", "table_image_ids": ["TableImg_5d3q3_10.png", "TableImg_8yzb9_10.png"], "original_data_index": 648} +{"question": "SELECT StuID FROM Has_Allergy WHERE \"StuID\" >= 1010 OR Allergy = \"Dog\" EXCEPT SELECT StuID FROM Student WHERE city_code != \"HOU\" OR \"StuID\" > 1015", "answer": {"columns": ["StuID"], "index": [0, 1], "data": [["1010"], ["1013"]]}, "table_names": "['Has_Allergy' 'Student']", "table_image_ids": ["TableImg_Zm273_59.png", "TableImg_Uj9sw_34.png"], "original_data_index": 649} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 8 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_0nbvh_12.png", "TableImg_Dmecm_5.png"], "original_data_index": 650} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 3 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8], "data": [["3"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Go8ko_12.png", "TableImg_Jww2n_5.png"], "original_data_index": 651} +{"question": "SELECT Aircraft_ID FROM aircraft WHERE Description = \"Turboshaft utility helicopter\" INTERSECT SELECT Aircraft_ID FROM airport_aircraft WHERE \"ID\" <> 1 AND \"Aircraft_ID\" <> 3", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["2"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_47gng_5.png", "TableImg_Eh528_4.png"], "original_data_index": 652} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 4 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 3", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["3"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Fe14r_12.png", "TableImg_Nk67b_5.png"], "original_data_index": 653} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 7 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_V9x9s_12.png", "TableImg_23gd1_5.png"], "original_data_index": 654} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 5 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 2", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["1"], ["3"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_O6ap8_5.png", "TableImg_40cq0_4.png"], "original_data_index": 655} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 8 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_F7xzi_12.png", "TableImg_7sqk0_5.png"], "original_data_index": 656} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 1 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["4"], ["7"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_5z8zl_12.png", "TableImg_925lt_5.png"], "original_data_index": 657} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 4 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_M0lkz_12.png", "TableImg_78l8k_5.png"], "original_data_index": 658} +{"question": "SELECT City_Area, Headquartered_City, District_ID FROM district WHERE District_name <> \"Attock District\" OR \"City_Population\" = 2793721.0 AND Headquartered_City != \"Bahawalnagar City\" EXCEPT SELECT City_Area, Headquartered_City, District_ID FROM district WHERE \"City_Area\" >= 25.0 AND \"City_Population\" <= 219254.0 AND Headquartered_City != \"Bhakkar City\" OR District_name = \"Kasur District\" OR \"District_ID\" <> 7", "answer": {"columns": ["City_Area", "Headquartered_City", "District_ID"], "index": [0], "data": [["22", "Dera Ghazi Khan City", "7"]]}, "table_names": "['district' 'district']", "table_image_ids": ["TableImg_9fmwu_15.png", "TableImg_Ejz2z_15.png"], "original_data_index": 659} +{"question": "SELECT COUNT(age) FROM head WHERE name = \"K. J. Choi\" AND \"head_ID\" <= 8 OR \"age\" >= 69.0 OR born_state = \"Alabama\" UNION ALL SELECT COUNT(age) FROM head WHERE born_state <> \"California\" AND \"head_ID\" < 1 OR \"age\" <> 69.0 AND name = \"K. J. Choi\"", "answer": {"columns": ["COUNT(age)"], "index": [0, 1], "data": [["3"], ["0"]]}, "table_names": "['head' 'head']", "table_image_ids": ["TableImg_Haxj7_10.png", "TableImg_Ca9tr_10.png"], "original_data_index": 660} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 1 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 2", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["2"], ["4"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_J2bqv_5.png", "TableImg_Gjntq_4.png"], "original_data_index": 661} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 8 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["3"], ["4"], ["7"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Es9r3_12.png", "TableImg_Tw7d7_5.png"], "original_data_index": 662} +{"question": "SELECT StuID, PetID FROM Has_Pet WHERE \"StuID\" <= 1002 UNION SELECT StuID, PetID FROM Has_Pet WHERE \"PetID\" <= 2001", "answer": {"columns": ["StuID", "PetID"], "index": [0, 1, 2], "data": [["1001", "2001"], ["1002", "2002"], ["1002", "2003"]]}, "table_names": "['Has_Pet' 'Has_Pet']", "table_image_ids": ["TableImg_Fbyb4_3.png", "TableImg_I22w3_3.png"], "original_data_index": 663} +{"question": "SELECT id, title FROM albums WHERE \"id\" > 97 UNION ALL SELECT id, title FROM employees WHERE \"reports_to\" != 1.0", "answer": {"columns": ["id", "title"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254], "data": [["98", "Dance Of Death"], ["99", "Fear Of The Dark"], ["100", "Iron Maiden"], ["101", "Killers"], ["102", "Live After Death"], ["103", "Live At Donington 1992 (Disc 1)"], ["104", "Live At Donington 1992 (Disc 2)"], ["105", "No Prayer For The Dying"], ["106", "Piece Of Mind"], ["107", "Powerslave"], ["108", "Rock In Rio CD1"], ["109", "Rock In Rio CD2"], ["110", "Seventh Son of a Seventh Son"], ["111", "Somewhere in Time"], ["112", "The Number of The Beast"], ["113", "The X Factor"], ["114", "Virtual XI"], ["115", "Sex Machine"], ["116", "Emergency On Planet Earth"], ["117", "Synkronized"], ["118", "The Return Of The Space Cowboy"], ["119", "Get Born"], ["120", "Are You Experienced?"], ["121", "Surfing with the Alien (Remastered)"], ["122", "Jorge Ben Jor 25 Anos"], ["123", "Jota Quest-1995"], ["124", "Cafezinho"], ["125", "Living After Midnight"], ["126", "Unplugged live"], ["127", "BBC Sessions [Disc 2] live"], ["128", "Coda"], ["129", "Houses Of The Holy"], ["130", "In Through The Out Door"], ["131", "IV"], ["132", "Led Zeppelin I"], ["133", "Led Zeppelin II"], ["134", "Led Zeppelin III"], ["135", "Physical Graffiti [Disc 2]"], ["136", "Presence"], ["137", "The Song Remains The Same (Disc 1)"], ["138", "The Song Remains The Same (Disc 2)"], ["139", "A TempestadeTempestade Ou O Livro Dos Dias"], ["140", "Mais Do Mesmo"], ["141", "Greatest Hits"], ["142", "Lulu Santos - RCA 100 Anos De M\u00fasica - \u00c1lbum 01"], ["143", "Lulu Santos - RCA 100 Anos De M\u00fasica - \u00c1lbum 02"], ["144", "Misplaced Childhood"], ["145", "Barulhinho Bom"], ["146", "Seek And Shall Find: More Of The Best (1963-1981)"], ["147", "The Best Of Men At Work"], ["148", "Black Album"], ["149", "Garage Inc. (Disc 2)"], ["150", "Kill 'Em All"], ["151", "Load"], ["152", "Master Of Puppets"], ["153", "ReLoad"], ["154", "Ride The Lightning"], ["155", "St. Anger"], ["156", "...And Justice For All"], ["157", "Miles Ahead"], ["158", "Milton Nascimento Ao Vivo"], ["159", "Minas"], ["160", "Ace Of Spades"], ["161", "Demorou..."], ["162", "Motley Crue Greatest Hits"], ["163", "From The Muddy Banks Of The Wishkah live"], ["164", "Nevermind"], ["165", "Compositores"], ["166", "Olodum"], ["167", "Ac\u00fastico MTV"], ["168", "Arquivo II"], ["169", "Arquivo Os Paralamas Do Sucesso"], ["170", "Bark at the Moon (Remastered)"], ["171", "Blizzard of Ozz"], ["172", "Diary of a Madman (Remastered)"], ["173", "No More Tears (Remastered)"], ["174", "Tribute"], ["175", "Walking Into Clarksdale"], ["176", "Original Soundtracks 1"], ["177", "The Beast Live"], ["178", "Live On Two Legs live"], ["179", "Pearl Jam"], ["180", "Riot Act"], ["181", "Ten"], ["182", "Vs."], ["183", "Dark Side Of The Moon"], ["184", "Os C\u00e3es Ladram Mas A Caravana N\u00e3o P\u00e1ra"], ["185", "Greatest Hits I"], ["186", "News Of The World"], ["187", "Out Of Time"], ["188", "Green"], ["189", "New Adventures In Hi-Fi"], ["190", "The Best Of R.E.M.: The IRS Years"], ["191", "Cesta B\u00e1sica"], ["192", "Raul Seixas"], ["193", "Blood Sugar Sex Magik"], ["194", "By The Way"], ["195", "Californication"], ["196", "Retrospective I (1974-1980)"], ["197", "Santana - As Years Go By"], ["198", "Santana Live"], ["199", "Maquinarama"], ["200", "O Samba Pocon\u00e9"], ["201", "Judas 0: B-Sides and Rarities"], ["202", "Rotten Apples: Greatest Hits"], ["203", "A-Sides"], ["204", "Morning Dance"], ["205", "In Step"], ["206", "Core"], ["207", "Mezmerize"], ["208", "1997 Black Light Syndrome"], ["209", "Live [Disc 1]"], ["210", "Live [Disc 2]"], ["211", "The Singles"], ["212", "Beyond Good And Evil"], ["213", "Pure Cult: The Best Of The Cult (For Rockers, Ravers, Lovers & Sinners) UK"], ["214", "The Doors"], ["215", "The Police Greatest Hits"], ["216", "Hot Rocks, 1964-1971 (Disc 1)"], ["217", "No Security"], ["218", "Voodoo Lounge"], ["219", "Tangents"], ["220", "Transmission"], ["221", "My Generation - The Very Best Of The Who"], ["222", "Serie Sem Limite (Disc 1)"], ["223", "Serie Sem Limite (Disc 2)"], ["224", "Ac\u00fastico"], ["225", "Volume Dois"], ["226", "Battlestar Galactica: The Story So Far"], ["227", "Battlestar Galactica, Season 3"], ["228", "Heroes, Season 1"], ["229", "Lost, Season 3"], ["230", "Lost, Season 1"], ["231", "Lost, Season 2"], ["232", "Achtung Baby"], ["233", "All That You Can't Leave Behind"], ["234", "B-Sides 1980-1990"], ["235", "How To Dismantle An Atomic Bomb"], ["236", "Pop"], ["237", "Rattle And Hum"], ["238", "The Best Of 1980-1990"], ["239", "War"], ["240", "Zooropa"], ["241", "UB40 The Best Of - Volume Two UK"], ["242", "Diver Down"], ["243", "The Best Of Van Halen, Vol. I"], ["244", "Van Halen"], ["245", "Van Halen III"], ["246", "Contraband"], ["247", "Vinicius De Moraes"], ["248", "Ao Vivo IMPORT"], ["249", "The Office, Season 1"], ["250", "The Office, Season 2"], ["251", "The Office, Season 3"], ["252", "Un-Led-Ed"], ["253", "Battlestar Galactica (Classic), Season 1"], ["254", "Aquaman"], ["255", "Instant Karma: The Amnesty International Campaign to Save Darfur"], ["256", "Speak of the Devil"], ["257", "20th Century Masters - The Millennium Collection: The Best of Scorpions"], ["258", "House of Pain"], ["259", "Radio Brasil (O Som da Jovem Vanguarda) - Seleccao de Henrique Amaro"], ["260", "Cake: B-Sides and Rarities"], ["261", "LOST, Season 4"], ["262", "Quiet Songs"], ["263", "Muso Ko"], ["264", "Realize"], ["265", "Every Kind of Light"], ["266", "Duos II"], ["267", "Worlds"], ["268", "The Best of Beethoven"], ["269", "Temple of the Dog"], ["270", "Carry On"], ["271", "Revelations"], ["272", "Adorate Deum: Gregorian Chant from the Proper of the Mass"], ["273", "Allegri: Miserere"], ["274", "Pachelbel: Canon & Gigue"], ["275", "Vivaldi: The Four Seasons"], ["276", "Bach: Violin Concertos"], ["277", "Bach: Goldberg Variations"], ["278", "Bach: The Cello Suites"], ["279", "Handel: The Messiah (Highlights)"], ["280", "The World of Classical Favourites"], ["281", "Sir Neville Marriner: A Celebration"], ["282", "Mozart: Wind Concertos"], ["283", "Haydn: Symphonies 99 - 104"], ["284", "Beethoven: Symhonies Nos. 5 & 6"], ["285", "A Soprano Inspired"], ["286", "Great Opera Choruses"], ["287", "Wagner: Favourite Overtures"], ["288", "Faur\u00e9: Requiem, Ravel: Pavane & Others"], ["289", "Tchaikovsky: The Nutcracker"], ["290", "The Last Night of the Proms"], ["291", "Puccini: Madama Butterfly - Highlights"], ["292", "Holst: The Planets, Op. 32 & Vaughan Williams: Fantasies"], ["293", "Pavarotti's Opera Made Easy"], ["294", "Great Performances - Barber's Adagio and Other Romantic Favorites for Strings"], ["295", "Carmina Burana"], ["296", "A Copland Celebration, Vol. I"], ["297", "Bach: Toccata & Fugue in D Minor"], ["298", "Prokofiev: Symphony No.1"], ["299", "Scheherazade"], ["300", "Bach: The Brandenburg Concertos"], ["301", "Chopin: Piano Concertos Nos. 1 & 2"], ["302", "Mascagni: Cavalleria Rusticana"], ["303", "Sibelius: Finlandia"], ["304", "Beethoven Piano Sonatas: Moonlight & Pastorale"], ["305", "Great Recordings of the Century - Mahler: Das Lied von der Erde"], ["306", "Elgar: Cello Concerto & Vaughan Williams: Fantasias"], ["307", "Adams, John: The Chairman Dances"], ["308", "Tchaikovsky: 1812 Festival Overture, Op.49, Capriccio Italien & Beethoven: Wellington's Victory"], ["309", "Palestrina: Missa Papae Marcelli & Allegri: Miserere"], ["310", "Prokofiev: Romeo & Juliet"], ["311", "Strauss: Waltzes"], ["312", "Berlioz: Symphonie Fantastique"], ["313", "Bizet: Carmen Highlights"], ["314", "English Renaissance"], ["315", "Handel: Music for the Royal Fireworks (Original Version 1749)"], ["316", "Grieg: Peer Gynt Suites & Sibelius: Pell\u00e9as et M\u00e9lisande"], ["317", "Mozart Gala: Famous Arias"], ["318", "SCRIABIN: Vers la flamme"], ["319", "Armada: Music from the Courts of England and Spain"], ["320", "Mozart: Symphonies Nos. 40 & 41"], ["321", "Back to Black"], ["322", "Frank"], ["323", "Carried to Dust (Bonus Track Version)"], ["324", "Beethoven: Symphony No. 6 'Pastoral' Etc."], ["325", "Bartok: Violin & Viola Concertos"], ["326", "Mendelssohn: A Midsummer Night's Dream"], ["327", "Bach: Orchestral Suites Nos. 1 - 4"], ["328", "Charpentier: Divertissements, Airs & Concerts"], ["329", "South American Getaway"], ["330", "G\u00f3recki: Symphony No. 3"], ["331", "Purcell: The Fairy Queen"], ["332", "The Ultimate Relexation Album"], ["333", "Purcell: Music for the Queen Mary"], ["334", "Weill: The Seven Deadly Sins"], ["335", "J.S. Bach: Chaconne, Suite in E Minor, Partita in E Major & Prelude, Fugue and Allegro"], ["336", "Prokofiev: Symphony No.5 & Stravinksy: Le Sacre Du Printemps"], ["337", "Szymanowski: Piano Works, Vol. 1"], ["338", "Nielsen: The Six Symphonies"], ["339", "Great Recordings of the Century: Paganini's 24 Caprices"], ["340", "Liszt - 12 \u00c9tudes D'Execution Transcendante"], ["341", "Great Recordings of the Century - Shubert: Schwanengesang, 4 Lieder"], ["342", "Locatelli: Concertos for Violin, Strings and Continuo, Vol. 3"], ["343", "Respighi:Pines of Rome"], ["344", "Schubert: The Late String Quartets & String Quintet (3 CD's)"], ["345", "Monteverdi: L'Orfeo"], ["346", "Mozart: Chamber Music"], ["347", "Koyaanisqatsi (Soundtrack from the Motion Picture)"], ["3", "Sales Support Agent"], ["4", "Sales Support Agent"], ["5", "Sales Support Agent"], ["7", "IT Staff"], ["8", "IT Staff"]]}, "table_names": "['albums' 'employees']", "table_image_ids": ["TableImg_B9vs6_347.png", "TableImg_Wqxsd_8.png"], "original_data_index": 664} +{"question": "SELECT SUM(Height), MIN(People_ID), MIN(Nationality), MAX(Name), COUNT(Birth_Date) FROM people WHERE Birth_Date = \"May 26, 1986\" UNION ALL SELECT SUM(Height), MIN(People_ID), MIN(Nationality), MAX(Name), COUNT(Birth_Date) FROM people WHERE \"Height\" != 207.0", "answer": {"columns": ["SUM(Height)", "MIN(People_ID)", "MIN(Nationality)", "MAX(Name)", "COUNT(Birth_Date)"], "index": [0, 1], "data": [["207", "1", "Russia", "Aleksey Ostapenko", "1"], ["1157", "2", "Bulgaria", "Yevgeni Sivozhelez", "6"]]}, "table_names": "['people' 'people']", "table_image_ids": ["TableImg_X1kc7_7.png", "TableImg_Su4bd_7.png"], "original_data_index": 665} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 3 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2], "data": [["1"], ["2"], ["3"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Frz0i_5.png", "TableImg_5ez4p_4.png"], "original_data_index": 666} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 2 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 10", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["2"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_C5y75_12.png", "TableImg_X1bq6_5.png"], "original_data_index": 667} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 11 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["3"], ["4"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_4keva_12.png", "TableImg_4wu20_5.png"], "original_data_index": 668} +{"question": "SELECT Earnings, Money_Rank, Best_Finish FROM poker_player WHERE \"Best_Finish\" >= 2.0 AND \"Money_Rank\" < 58.0 OR \"Earnings\" <> 189233.0 OR \"Poker_Player_ID\" >= 4 OR \"Final_Table_Made\" < 19.0 UNION ALL SELECT Earnings, Money_Rank, Best_Finish FROM poker_player WHERE \"Money_Rank\" >= 166.0 AND \"Poker_Player_ID\" != 4 OR \"Earnings\" <> 596462.0 AND \"People_ID\" <= 6", "answer": {"columns": ["Earnings", "Money_Rank", "Best_Finish"], "index": [0, 1, 2, 3, 4, 5, 6, 7], "data": [["476090", "68", "1"], ["189233", "141", "2"], ["104871", "166", "1"], ["596462", "58", "2"], ["142800", "154", "3"], ["476090", "68", "1"], ["189233", "141", "2"], ["104871", "166", "1"]]}, "table_names": "['poker_player' 'poker_player']", "table_image_ids": ["TableImg_Cwezn_5.png", "TableImg_Rnvu4_5.png"], "original_data_index": 669} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 5 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 7", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["5"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_6i9xp_12.png", "TableImg_928ne_5.png"], "original_data_index": 670} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 5 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 5", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["4"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_3w9aw_5.png", "TableImg_Dicit_4.png"], "original_data_index": 671} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 8 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_6qvnz_12.png", "TableImg_Tku0a_5.png"], "original_data_index": 672} +{"question": "SELECT Birth_Date FROM people WHERE \"People_ID\" != 2 OR Nationality <> \"Russia\" OR Name != \"Roman Bragin\" OR \"Height\" > 205.0 OR Birth_Date != \"February 8, 1981\" UNION SELECT Birth_Date FROM people WHERE Nationality <> \"Russia\" OR Name = \"Teodor Salparov\" OR \"People_ID\" <> 5 OR Birth_Date <> \"August 8, 1986\"", "answer": {"columns": ["Birth_Date"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["April 17, 1987"], ["August 16, 1982"], ["August 8, 1986"], ["February 8, 1981"], ["January 22, 1987"], ["July 14, 1983"], ["May 26, 1986"]]}, "table_names": "['people' 'people']", "table_image_ids": ["TableImg_Rjjrh_7.png", "TableImg_8jjdv_7.png"], "original_data_index": 673} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 12 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4], "data": [["3"], ["4"], ["7"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_4nnrg_12.png", "TableImg_Ceh75_5.png"], "original_data_index": 674} +{"question": "SELECT T1.City_Area, T2.Store_ID FROM district as T1 JOIN store_district as T2 ON T1.District_ID == T2.District_ID GROUP BY Store_ID HAVING Store_ID > 1 AND City_Population = 134936.0 OR Headquartered_City <> \"Khanewal City\" AND District_name <> \"Khanewal District\"", "answer": {"columns": ["City_Area", "Store_ID"], "index": [0, 1, 2], "data": [["10", "3"], ["15", "4"], ["38", "5"]]}, "table_names": "['district' 'store_district']", "table_image_ids": ["TableImg_Xw1ap_15.png", "TableImg_Sse4x_5.png"], "original_data_index": 675} +{"question": "SELECT Name FROM company WHERE \"Profits_in_Billion\" >= 20.6 OR \"Sales_in_Billion\" = 221.9 AND Headquarters <> \"USA\" AND Name <> \"Wells Fargo\" UNION SELECT Name FROM people WHERE \"Age\" >= 27", "answer": {"columns": ["Name"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13], "data": [["BP"], ["Chevron"], ["Darryl Kennedy"], ["David Butler"], ["ExxonMobil"], ["Gazprom"], ["Industrial and Commercial Bank of China"], ["Jerry Corcoran"], ["PetroChina"], ["Reggie Lewis"], ["Royal Dutch Shell"], ["Tim Naegeli"], ["Tom Sheehey"], ["Volkswagen Group"]]}, "table_names": "['company' 'people']", "table_image_ids": ["TableImg_N4fxa_19.png", "TableImg_Hx52e_7.png"], "original_data_index": 676} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 10 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_0w98f_12.png", "TableImg_39lm4_5.png"], "original_data_index": 677} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 5 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 3", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["4"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Ycp47_12.png", "TableImg_Al6ot_5.png"], "original_data_index": 678} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 4 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7], "data": [["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Eosqq_12.png", "TableImg_6g2c9_5.png"], "original_data_index": 679} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 2 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 1", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["4"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Jzjtn_5.png", "TableImg_93vho_4.png"], "original_data_index": 680} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 10 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Qg35k_12.png", "TableImg_Obp3o_5.png"], "original_data_index": 681} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 11 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8], "data": [["1"], ["2"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Ip2au_12.png", "TableImg_Dxrsg_5.png"], "original_data_index": 682} +{"question": "SELECT T1.Aircraft_ID, AVG(T2.Airport_ID) FROM aircraft as T1 JOIN airport_aircraft as T2 ON T1.Aircraft_ID = T2.Aircraft_ID", "answer": {"columns": ["Aircraft_ID", "AVG(T2.Airport_ID)"], "index": [0], "data": [["2", "4.5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_E82wj_5.png", "TableImg_D5qhe_4.png"], "original_data_index": 683} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 4 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Wt6qt_12.png", "TableImg_677ux_5.png"], "original_data_index": 684} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 4 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Uxexf_12.png", "TableImg_Fwdlj_5.png"], "original_data_index": 685} +{"question": "SELECT name, Group_Equity_Shareholding, Incorporated_in, Principal_activities, id FROM operate_company WHERE Principal_activities <> \"Laundry\" OR Incorporated_in = \"Hong Kong\" OR \"Group_Equity_Shareholding\" > 18.77 OR Type = \"Subsidiary\" AND name <> \"Cathay Pacific Cargo\" AND \"id\" < 1 UNION ALL SELECT name, Group_Equity_Shareholding, Incorporated_in, Principal_activities, id FROM operate_company WHERE Principal_activities = \"Cargo\" OR \"id\" = 1 OR Incorporated_in != \"Taiwan\" AND \"Group_Equity_Shareholding\" = 40.0", "answer": {"columns": ["name", "Group_Equity_Shareholding", "Incorporated_in", "Principal_activities", "id"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16], "data": [["Air China", "18.77", "China", "Airline", "1"], ["Air China Cargo", "49.0", "China", "Cargo airline", "2"], ["Air Hong Kong", "60.0", "Hong Kong", "Cargo airline", "3"], ["Dragonair", "100.0", "Hong Kong", "Airline", "4"], ["Cathay Pacific Cargo", "100.0", "Hong Kong", "Cargo airline", "5"], ["Cathay Pacific Catering Services (HK) Limited", "100.0", "Hong Kong", "Catering services", "6"], ["Cathay Pacific Services Limited", "100.0", "Hong Kong", "Cargo", "7"], ["Cathay Pacific Holidays", "100.0", "Hong Kong", "Travel agency", "8"], ["Dragonair Holidays", "100.0", "Hong Kong", "Travel agency", "9"], ["Hong Kong Airport Services", "100.0", "Hong Kong", "Ground handling", "10"], ["Vogue Laundry Service Limited", "100.0", "Hong Kong", "Laundry", "11"], ["China Pacific Laundry Services", "45.0", "Taiwan", "Laundry", "12"], ["VN/CX Catering Services Limited", "40.0", "Vietnam", "Catering services", "13"], ["CLS Catering Services Limited", "30.0", "Canada", "Catering services", "14"], ["Air China", "18.77", "China", "Airline", "1"], ["Cathay Pacific Services Limited", "100.0", "Hong Kong", "Cargo", "7"], ["VN/CX Catering Services Limited", "40.0", "Vietnam", "Catering services", "13"]]}, "table_names": "['operate_company' 'operate_company']", "table_image_ids": ["TableImg_Kud7w_14.png", "TableImg_300t3_14.png"], "original_data_index": 686} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 2 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Iwfcy_12.png", "TableImg_Sq8l9_5.png"], "original_data_index": 687} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 6 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["3"], ["4"], ["7"], ["9"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_41fqs_12.png", "TableImg_Fvjlw_5.png"], "original_data_index": 688} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 9 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 7", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["7"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Spj54_12.png", "TableImg_7o3q0_5.png"], "original_data_index": 689} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 4 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["3"], ["4"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_P9vl5_12.png", "TableImg_Vaoef_5.png"], "original_data_index": 690} +{"question": "SELECT MAX(date_on_market), MAX(property_type_code), other_property_details, COUNT(hse_feature_1), oth_feature_2, MAX(hse_feature_2), agreed_selling_price, apt_feature_1, MIN(oth_feature_3), SUM(property_name), MIN(date_sold), fld_feature_1, MIN(vendor_requested_price), MIN(fld_feature_2), MAX(apt_feature_3), COUNT(shp_feature_3), MIN(buyer_offered_price), property_id, AVG(room_count), property_address, oth_feature_1, COUNT(hse_feature_3), MAX(shp_feature_2), apt_feature_2, shp_feature_1 FROM Properties WHERE hse_feature_2 = \"None\" UNION ALL SELECT MAX(date_on_market), MAX(property_type_code), other_property_details, COUNT(hse_feature_1), oth_feature_2, MAX(hse_feature_2), agreed_selling_price, apt_feature_1, MIN(oth_feature_3), SUM(property_name), MIN(date_sold), fld_feature_1, MIN(vendor_requested_price), MIN(fld_feature_2), MAX(apt_feature_3), COUNT(shp_feature_3), MIN(buyer_offered_price), property_id, AVG(room_count), property_address, oth_feature_1, COUNT(hse_feature_3), MAX(shp_feature_2), apt_feature_2, shp_feature_1 FROM Properties WHERE hse_feature_1 <> \"None\" AND fld_feature_2 <> \"None\" OR shp_feature_3 != \"None\" AND date_on_market = \"1978-05-15 10:53:37\" OR \"agreed_selling_price\" != 2794972.2495 AND other_property_details <> \"None\" OR fld_feature_1 != \"None\" AND \"property_id\" != 1 AND property_type_code <> \"Apartment\" OR hse_feature_2 <> \"None\" AND property_address <> \"986 Hagenes Drives Draketon, UT 83411-3393\" AND apt_feature_3 <> \"None\" AND shp_feature_1 <> \"None\" AND \"vendor_requested_price\" = 77172926.3", "answer": {"columns": ["MAX(date_on_market)", "MAX(property_type_code)", "other_property_details", "COUNT(hse_feature_1)", "oth_feature_2", "MAX(hse_feature_2)", "agreed_selling_price", "apt_feature_1", "MIN(oth_feature_3)", "SUM(property_name)", "MIN(date_sold)", "fld_feature_1", "MIN(vendor_requested_price)", "MIN(fld_feature_2)", "MAX(apt_feature_3)", "COUNT(shp_feature_3)", "MIN(buyer_offered_price)", "property_id", "AVG(room_count)", "property_address", "oth_feature_1", "COUNT(hse_feature_3)", "MAX(shp_feature_2)", "apt_feature_2", "shp_feature_1"], "index": [0, 1], "data": [["", "", "", "0", "", "", "", "", "", "", "", "", "", "", "", "0", "", "", "", "", "", "0", "", "", ""], ["", "", "", "0", "", "", "", "", "", "", "", "", "", "", "", "0", "", "", "", "", "", "0", "", "", ""]]}, "table_names": "['Properties' 'Properties']", "table_image_ids": ["TableImg_Zfjet_15.png", "TableImg_Lmhms_15.png"], "original_data_index": 691} +{"question": "SELECT Writer, Book_ID FROM book WHERE \"Book_ID\" >= 4 OR Writer <> \"Christopher Moeller\" AND \"Issues\" >= 4.0 OR Title <> \"Bloody Mary\" UNION SELECT Writer, Book_ID FROM book WHERE \"Book_ID\" > 9 OR Title = \"BrainBanx\"", "answer": {"columns": ["Writer", "Book_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "data": [["Christopher Hinz", "6"], ["Christopher Hinz", "8"], ["Christopher Moeller", "10"], ["Dave Gibbons", "7"], ["Elaine Lee", "4"], ["Garth Ennis", "2"], ["Garth Ennis", "3"], ["Howard Chaykin", "5"], ["Michael Moorcock", "9"], ["Timothy Truman", "1"]]}, "table_names": "['book' 'book']", "table_image_ids": ["TableImg_2rk0y_10.png", "TableImg_4fko2_10.png"], "original_data_index": 692} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID = 1 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 3", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2], "data": [["1"], ["2"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_213ma_5.png", "TableImg_4ix3e_4.png"], "original_data_index": 693} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 4 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8], "data": [["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Xxd4p_12.png", "TableImg_Q3wif_5.png"], "original_data_index": 694} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 3 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Q9dha_5.png", "TableImg_G6jnv_4.png"], "original_data_index": 695} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 6 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["3"], ["4"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_1qqbx_12.png", "TableImg_Ge4bz_5.png"], "original_data_index": 696} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 3 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8], "data": [["1"], ["2"], ["4"], ["5"], ["6"], ["7"], ["8"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_29v95_12.png", "TableImg_Wkgy0_5.png"], "original_data_index": 697} +{"question": "SELECT AVG(head_ID) FROM head WHERE born_state = \"Alabama\" AND name != \"Dudley Hart\" UNION ALL SELECT AVG(head_ID) FROM management WHERE \"head_ID\" >= 5 AND temporary_acting = \"Yes\"", "answer": {"columns": ["AVG(head_ID)"], "index": [0, 1], "data": [["2.0"], ["5.5"]]}, "table_names": "['head' 'management']", "table_image_ids": ["TableImg_Wasm9_10.png", "TableImg_U9yxm_5.png"], "original_data_index": 698} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 10 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["3"], ["4"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_R9ly1_12.png", "TableImg_12nde_5.png"], "original_data_index": 699} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 1 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2], "data": [["2"], ["3"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Ul3tp_5.png", "TableImg_Zr10e_4.png"], "original_data_index": 700} +{"question": "SELECT Coach_ID FROM coach WHERE Coach_name <> \"Robert Chen\" OR Gender != \"F\" OR \"Rank\" >= 5 INTERSECT SELECT Coach_ID FROM player_coach WHERE \"Coach_ID\" <> 3 AND \"Starting_year\" != 2013 OR \"Player_ID\" > 6", "answer": {"columns": ["Coach_ID"], "index": [0, 1, 2], "data": [["1"], ["3"], ["5"]]}, "table_names": "['coach' 'player_coach']", "table_image_ids": ["TableImg_Lqhqi_5.png", "TableImg_9e3rb_7.png"], "original_data_index": 701} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 1 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Sgbk5_12.png", "TableImg_S9mvu_5.png"], "original_data_index": 702} +{"question": "SELECT Model FROM model_list WHERE Model <> \"cadillac\" EXCEPT SELECT Model FROM model_list WHERE \"ModelId\" != 23 OR Model = \"chevrolet\"", "answer": {"columns": ["Model"], "index": [0], "data": [["peugeot"]]}, "table_names": "['model_list' 'model_list']", "table_image_ids": ["TableImg_Csyji_36.png", "TableImg_Dvrwp_36.png"], "original_data_index": 703} +{"question": "SELECT Template_Type_Code FROM Ref_Template_Types WHERE Template_Type_Code != \"BK\" UNION ALL SELECT Template_Type_Code FROM Templates WHERE Template_Type_Code = \"CV\" OR \"Version_Number\" <> 5", "answer": {"columns": ["Template_Type_Code"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20], "data": [["AD"], ["CV"], ["PP"], ["PPT"], ["PP"], ["BK"], ["PPT"], ["PPT"], ["BK"], ["BK"], ["PPT"], ["BK"], ["AD"], ["CV"], ["CV"], ["AD"], ["BK"], ["AD"], ["PP"], ["BK"], ["PP"]]}, "table_names": "['Ref_Template_Types' 'Templates']", "table_image_ids": ["TableImg_2a08c_5.png", "TableImg_Scamz_20.png"], "original_data_index": 704} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 7 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Ka75y_12.png", "TableImg_7gven_5.png"], "original_data_index": 705} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 4 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8], "data": [["3"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Y9bbe_12.png", "TableImg_Ftgmt_5.png"], "original_data_index": 706} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 6 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["4"], ["5"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_9ceiy_12.png", "TableImg_Uetka_5.png"], "original_data_index": 707} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 4 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 3", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2], "data": [["1"], ["2"], ["3"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_3y6gi_5.png", "TableImg_Gqi42_4.png"], "original_data_index": 708} +{"question": "SELECT ClubDesc, ClubID FROM Club WHERE ClubDesc <> \"Refurbish computers; teach kids and adults about computer basics.\" AND ClubLocation = \"AKW\" INTERSECT SELECT ClubDesc, ClubID FROM Club WHERE ClubDesc != \"Refurbish computers; teach kids and adults about computer basics.\" AND \"ClubID\" >= 3", "answer": {"columns": ["ClubDesc", "ClubID"], "index": [0], "data": [["A competitive tennis club.", "4"]]}, "table_names": "['Club' 'Club']", "table_image_ids": ["TableImg_Hwvd6_4.png", "TableImg_U2gjp_4.png"], "original_data_index": 709} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 1 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["3"], ["4"], ["7"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Uo6xv_12.png", "TableImg_9ynem_5.png"], "original_data_index": 710} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 5 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["7"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_C0e2x_12.png", "TableImg_As5rw_5.png"], "original_data_index": 711} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 12 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Avgqk_12.png", "TableImg_A5our_5.png"], "original_data_index": 712} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 1 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 2", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["3"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_6gm3n_5.png", "TableImg_A3a4k_4.png"], "original_data_index": 713} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 1 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["2"], ["5"], ["6"], ["8"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_33k3w_12.png", "TableImg_F3t6s_5.png"], "original_data_index": 714} +{"question": "SELECT MIN(T1.i_id), T2.i_id FROM item as T1 JOIN review as T2 ON T1.i_id = T2.i_id WHERE SUM(a_id) > 3 OR AVG(u_id) = 1 OR title = \"blue hoodie\" OR SUM(rank) > 6", "answer": {"columns": ["MIN(T1.i_id)", "i_id"], "index": [0], "data": [["7", "7"]]}, "table_names": "['item' 'review']", "table_image_ids": ["TableImg_Sabgv_8.png", "TableImg_Ldoii_7.png"], "original_data_index": 715} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 5 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID = 2", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["3"], ["4"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_9jyuq_5.png", "TableImg_0n1uz_4.png"], "original_data_index": 716} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 4 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["7"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Cqb0m_12.png", "TableImg_S0xlo_5.png"], "original_data_index": 717} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 8 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Adbfi_12.png", "TableImg_5rjbx_5.png"], "original_data_index": 718} +{"question": "SELECT COUNT(lesson_date) FROM Lessons WHERE \"staff_id\" <= 8 AND lesson_time != \"6\" AND \"price\" < 306.0 AND \"lesson_id\" <> 9 OR \"customer_id\" > 11 AND lesson_status_code <> \"Cancelled\" OR \"vehicle_id\" <= 1 OR lesson_date != \"2018-03-07 16:12:36\" UNION ALL SELECT COUNT(lesson_date) FROM Lessons WHERE lesson_time != \"2\" OR \"staff_id\" > 14 OR \"lesson_id\" >= 1 OR lesson_date != \"2018-03-21 06:48:45\"", "answer": {"columns": ["COUNT(lesson_date)"], "index": [0, 1], "data": [["14"], ["15"]]}, "table_names": "['Lessons' 'Lessons']", "table_image_ids": ["TableImg_4jonr_15.png", "TableImg_Ip3sv_15.png"], "original_data_index": 719} +{"question": "SELECT MAX(People_ID) FROM people WHERE \"People_ID\" < 1 INTERSECT SELECT MAX(People_ID) FROM people WHERE Name <> \"Yevgeni Sivozhelez\" AND \"People_ID\" >= 4 AND \"Height\" > 207.0 AND Nationality <> \"Russia\"", "answer": {"columns": ["MAX(People_ID)"], "index": [0], "data": [[""]]}, "table_names": "['people' 'people']", "table_image_ids": ["TableImg_Crur3_7.png", "TableImg_Nonzn_7.png"], "original_data_index": 720} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 5 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["3"], ["4"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_2q6fv_5.png", "TableImg_81aur_4.png"], "original_data_index": 721} +{"question": "SELECT T1.Aircraft_ID, COUNT(T2.Airport_ID) FROM aircraft as T1 JOIN airport_aircraft as T2 ON T1.Aircraft_ID = T2.Aircraft_ID", "answer": {"columns": ["Aircraft_ID", "COUNT(T2.Airport_ID)"], "index": [0], "data": [["2", "4"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_80fen_5.png", "TableImg_05jsh_4.png"], "original_data_index": 722} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 5 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID = 2", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["2"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Ipcq9_5.png", "TableImg_0g5h8_4.png"], "original_data_index": 723} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 5 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 3", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["3"], ["4"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_M54cd_5.png", "TableImg_Jydr0_4.png"], "original_data_index": 724} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 10 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_1pg3m_12.png", "TableImg_82vv4_5.png"], "original_data_index": 725} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 1 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 2", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3], "data": [["2"], ["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_S6b3j_5.png", "TableImg_Jtsq3_4.png"], "original_data_index": 726} +{"question": "SELECT MAX(Branch_ID), Member_ID, Register_Year FROM membership_register_branch WHERE Register_Year != \"2017\" INTERSECT SELECT MAX(Branch_ID), Member_ID, Register_Year FROM membership_register_branch WHERE Register_Year = \"2016\" OR \"Member_ID\" != 7 AND Branch_ID != \"5\"", "answer": {"columns": ["MAX(Branch_ID)", "Member_ID", "Register_Year"], "index": [0], "data": [["8", "8", "2016"]]}, "table_names": "['membership_register_branch' 'membership_register_branch']", "table_image_ids": ["TableImg_Lffv7_8.png", "TableImg_Hh5wc_8.png"], "original_data_index": 727} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 8 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 9", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["8"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Hxo3w_12.png", "TableImg_I011k_5.png"], "original_data_index": 728} +{"question": "SELECT Year_awarded, SUM(Bonus), AVG(Employee_ID) FROM evaluation WHERE Employee_ID != \"2\" OR Year_awarded <> \"2015\" UNION SELECT Year_awarded, SUM(Bonus), AVG(Employee_ID) FROM evaluation WHERE Employee_ID != \"10\" AND \"Bonus\" < 3200.0", "answer": {"columns": ["Year_awarded", "SUM(Bonus)", "AVG(Employee_ID)"], "index": [0, 1], "data": [["2011", "5900", "1.0"], ["2011", "16300", "4.6"]]}, "table_names": "['evaluation' 'evaluation']", "table_image_ids": ["TableImg_Gupiv_6.png", "TableImg_4j0i9_6.png"], "original_data_index": 729} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 5 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["3"], ["4"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_6aun2_12.png", "TableImg_Xk1gk_5.png"], "original_data_index": 730} +{"question": "SELECT document_id FROM Document_Drafts WHERE \"draft_number\" < 0 AND draft_details <> \"k\" UNION ALL SELECT document_id FROM Documents WHERE shipping_agent_code != \"US\" AND \"document_id\" >= 1 OR document_type_code <> \"Paper\" OR receipt_date <> \"1976-09-15 19:24:17\"", "answer": {"columns": ["document_id"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14], "data": [["1"], ["2"], ["3"], ["4"], ["7"], ["10"], ["12"], ["13"], ["14"], ["15"], ["17"], ["20"], ["23"], ["24"], ["25"]]}, "table_names": "['Document_Drafts' 'Documents']", "table_image_ids": ["TableImg_Y3i11_15.png", "TableImg_Ikd2t_15.png"], "original_data_index": 731} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 5 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 2", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["1"], ["4"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Um8by_5.png", "TableImg_4x2qp_4.png"], "original_data_index": 732} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID = 5 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 5", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Mwzzz_5.png", "TableImg_G7aya_4.png"], "original_data_index": 733} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 2 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID = 5", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Wgcoi_5.png", "TableImg_I7ucn_4.png"], "original_data_index": 734} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 9 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_4tffu_12.png", "TableImg_15lfc_5.png"], "original_data_index": 735} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 11 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5], "data": [["4"], ["7"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_55npv_12.png", "TableImg_5k96m_5.png"], "original_data_index": 736} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 4 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_U22dq_12.png", "TableImg_Ylsub_5.png"], "original_data_index": 737} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 6 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_1zf7a_12.png", "TableImg_3xs13_5.png"], "original_data_index": 738} +{"question": "SELECT name FROM airport WHERE City <> \"Billund\" AND ICAO != \"EBBR\" OR IATA <> \"BLL\" AND name != \"Billund Airport\" UNION ALL SELECT name FROM operate_company WHERE name <> \"CLS Catering Services Limited\" AND Principal_activities = \"Ground handling\" OR Type <> \"Subsidiary\" OR Incorporated_in <> \"Vietnam\"", "answer": {"columns": ["name"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21], "data": [["Akureyri Airport"], ["Schiphol Airport"], ["Ted Stevens Airport"], ["Baltimore-Washington Airport"], ["El Prat Airport"], ["Bergen Airport"], ["Logan International Airport"], ["National Airport"], ["Air China"], ["Air China Cargo"], ["Air Hong Kong"], ["Dragonair"], ["Cathay Pacific Cargo"], ["Cathay Pacific Catering Services (HK) Limited"], ["Cathay Pacific Services Limited"], ["Cathay Pacific Holidays"], ["Dragonair Holidays"], ["Hong Kong Airport Services"], ["Vogue Laundry Service Limited"], ["China Pacific Laundry Services"], ["VN/CX Catering Services Limited"], ["CLS Catering Services Limited"]]}, "table_names": "['airport' 'operate_company']", "table_image_ids": ["TableImg_Wkdbg_9.png", "TableImg_Mnwjd_14.png"], "original_data_index": 739} +{"question": "SELECT document_status_code FROM Documents WHERE other_details = \"z\" OR document_status_code <> \"done\" OR document_type_code != \"Paper\" OR \"document_id\" >= 23 OR receipt_number = \"61\" OR shipping_agent_code != \"UP\" UNION ALL SELECT document_status_code FROM Ref_Document_Status WHERE document_status_description = \"mailed\"", "answer": {"columns": ["document_status_code"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14], "data": [["working"], ["done"], ["done"], ["working"], ["overdue"], ["overdue"], ["working"], ["working"], ["overdue"], ["done"], ["working"], ["working"], ["working"], ["overdue"], ["done"]]}, "table_names": "['Documents' 'Ref_Document_Status']", "table_image_ids": ["TableImg_U6jje_15.png", "TableImg_Gzn4g_3.png"], "original_data_index": 740} +{"question": "SELECT Maker FROM car_makers WHERE Country != \"1\" AND FullName = \"Chrysler\" UNION ALL SELECT Maker FROM model_list WHERE \"Maker\" != 13 OR \"ModelId\" >= 10", "answer": {"columns": ["Maker"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35], "data": [["1"], ["2"], ["3"], ["4"], ["4"], ["5"], ["4"], ["6"], ["7"], ["8"], ["6"], ["9"], ["5"], ["10"], ["11"], ["12"], ["13"], ["13"], ["5"], ["8"], ["4"], ["14"], ["15"], ["6"], ["4"], ["16"], ["17"], ["18"], ["19"], ["20"], ["2"], ["21"], ["22"], ["23"], ["6"], ["19"]]}, "table_names": "['car_makers' 'model_list']", "table_image_ids": ["TableImg_Gfsmz_22.png", "TableImg_Ttiyj_36.png"], "original_data_index": 741} +{"question": "SELECT SUM(School_id) FROM School WHERE County <> \"71 St. Joseph\" AND Location = \"Bourbon\" OR IHSAA_Class = \"AA\" AND School_id <> \"2\" AND \"Enrollment\" >= 605 AND School_name != \"Glenn\" OR IHSAA_Football_Class <> \"AAA\" EXCEPT SELECT SUM(School_id) FROM endowment WHERE \"amount\" <> 8.33", "answer": {"columns": ["SUM(School_id)"], "index": [0], "data": [["24"]]}, "table_names": "['School' 'endowment']", "table_image_ids": ["TableImg_C0e4c_8.png", "TableImg_Pu3h1_11.png"], "original_data_index": 742} +{"question": "SELECT document_id FROM Documents WHERE other_details = \"y\" OR receipt_number = \"114\" OR receipt_date = \"2008-04-21 20:42:25\" OR document_status_code = \"working\" AND shipping_agent_code = \"US\" AND document_type_code <> \"Hard Drive\" OR \"document_id\" != 14 EXCEPT SELECT document_id FROM Draft_Copies WHERE \"document_id\" = 4 OR \"draft_number\" <= 12", "answer": {"columns": ["document_id"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8], "data": [["3"], ["7"], ["10"], ["13"], ["15"], ["17"], ["20"], ["24"], ["25"]]}, "table_names": "['Documents' 'Draft_Copies']", "table_image_ids": ["TableImg_Sf6uc_15.png", "TableImg_4rp3y_8.png"], "original_data_index": 743} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 10 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 7", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_B04mc_12.png", "TableImg_Vgwv4_5.png"], "original_data_index": 744} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 8 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["3"], ["4"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_5odyt_12.png", "TableImg_W7ak7_5.png"], "original_data_index": 745} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 11 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 10", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["11"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Kcq8f_12.png", "TableImg_Rzt9s_5.png"], "original_data_index": 746} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 5 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 7", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["5"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_0kxch_12.png", "TableImg_Pfkot_5.png"], "original_data_index": 747} +{"question": "SELECT SUM(IHSAA_Football_Class), COUNT(School_id), AVG(Location), SUM(School_name) FROM School WHERE IHSAA_Class = \"AA\" OR IHSAA_Football_Class != \"A\" AND School_id <> \"4\" UNION SELECT SUM(IHSAA_Football_Class), COUNT(School_id), AVG(Location), SUM(School_name) FROM School WHERE School_name = \"Jimtown\" AND Location = \"New Carlisle\"", "answer": {"columns": ["SUM(IHSAA_Football_Class)", "COUNT(School_id)", "AVG(Location)", "SUM(School_name)"], "index": [0, 1], "data": [["", "0", "", ""], ["0.0", "5", "0.0", "0.0"]]}, "table_names": "['School' 'School']", "table_image_ids": ["TableImg_2j45i_8.png", "TableImg_Cucgs_8.png"], "original_data_index": 748} +{"question": "SELECT MAX(Store_ID) FROM store_district WHERE \"District_ID\" <> 15 AND \"Store_ID\" <> 4 EXCEPT SELECT MAX(Store_ID) FROM store_product WHERE \"Store_ID\" > 5 AND \"Product_ID\" != 4", "answer": {"columns": ["MAX(Store_ID)"], "index": [0], "data": [["5"]]}, "table_names": "['store_district' 'store_product']", "table_image_ids": ["TableImg_P4dee_5.png", "TableImg_Cbej6_15.png"], "original_data_index": 749} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 5 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 3", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["3"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Cqcqa_12.png", "TableImg_8ixjz_5.png"], "original_data_index": 750} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 2 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "data": [["1"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Ze9an_12.png", "TableImg_4a9fj_5.png"], "original_data_index": 751} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 4 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 3", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Edvs7_5.png", "TableImg_Pot42_4.png"], "original_data_index": 752} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 6 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 7", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["6"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Uwxp2_12.png", "TableImg_Jpb96_5.png"], "original_data_index": 753} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 5 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 3", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2], "data": [["1"], ["2"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_14351_5.png", "TableImg_Ai9b3_4.png"], "original_data_index": 754} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 5 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7], "data": [["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_W4vw4_12.png", "TableImg_Fa7lw_5.png"], "original_data_index": 755} +{"question": "SELECT document_type_code FROM Documents WHERE document_type_code != \"Paper\" INTERSECT SELECT document_type_code FROM Ref_Document_Types WHERE document_type_description <> \"b\"", "answer": {"columns": ["document_type_code"], "index": [0], "data": [["Hard Drive"]]}, "table_names": "['Documents' 'Ref_Document_Types']", "table_image_ids": ["TableImg_Dmabd_15.png", "TableImg_Tdhxn_3.png"], "original_data_index": 756} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 1 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 9", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["9"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Xngzi_12.png", "TableImg_P624u_5.png"], "original_data_index": 757} +{"question": "SELECT SUM(Branch_ID), MIN(Register_Year), Member_ID FROM membership_register_branch WHERE \"Member_ID\" >= 7 OR Branch_ID <> \"5\" OR Register_Year != \"2016\" UNION ALL SELECT SUM(Branch_ID), MIN(Register_Year), Member_ID FROM membership_register_branch WHERE Register_Year = \"2017\" OR Branch_ID = \"2\" AND \"Member_ID\" != 3", "answer": {"columns": ["SUM(Branch_ID)", "MIN(Register_Year)", "Member_ID"], "index": [0, 1], "data": [["23", "2016", "1"], ["9", "2016", "7"]]}, "table_names": "['membership_register_branch' 'membership_register_branch']", "table_image_ids": ["TableImg_Xzxh5_8.png", "TableImg_Ekbf4_8.png"], "original_data_index": 758} +{"question": "SELECT COUNT(Name) FROM employee WHERE Name != \"Tim Payne\" AND \"Age\" < 40 AND \"Employee_ID\" <> 2 EXCEPT SELECT COUNT(Name) FROM shop WHERE Location = \"Jakobstad\" AND Name != \"KuPS\" OR Manager_name != \"Olli Huttunen\" OR District <> \"Arto Tolsa Areena\"", "answer": {"columns": ["COUNT(Name)"], "index": [0], "data": [["6"]]}, "table_names": "['employee' 'shop']", "table_image_ids": ["TableImg_D8ox0_10.png", "TableImg_Kp5vm_9.png"], "original_data_index": 759} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 4 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["1"], ["2"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Of6qp_12.png", "TableImg_Dwter_5.png"], "original_data_index": 760} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 12 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Il7f5_12.png", "TableImg_5ychl_5.png"], "original_data_index": 761} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 10 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["3"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Qjaz9_12.png", "TableImg_Cgqwe_5.png"], "original_data_index": 762} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 1 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_40olr_12.png", "TableImg_H7fy6_5.png"], "original_data_index": 763} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 9 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_H98cf_12.png", "TableImg_2ud8k_5.png"], "original_data_index": 764} +{"question": "SELECT Template_ID FROM Documents WHERE Document_Description <> \"y\" OR Other_Details = \"None\" INTERSECT SELECT Template_ID FROM Templates WHERE \"Version_Number\" >= 2", "answer": {"columns": ["Template_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7], "data": [["1"], ["4"], ["6"], ["7"], ["11"], ["14"], ["21"], ["25"]]}, "table_names": "['Documents' 'Templates']", "table_image_ids": ["TableImg_Cx61c_15.png", "TableImg_Pftjf_20.png"], "original_data_index": 765} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 12 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4], "data": [["3"], ["4"], ["7"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_7mf22_12.png", "TableImg_61w41_5.png"], "original_data_index": 766} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 4 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID = 1", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["3"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_V3v5n_5.png", "TableImg_Geuyl_4.png"], "original_data_index": 767} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 2 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["1"], ["5"], ["6"], ["8"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Lxrfy_12.png", "TableImg_L5cu4_5.png"], "original_data_index": 768} +{"question": "SELECT COUNT(Rank), AVG(Club_ID), Gender, COUNT(Coach_name), MIN(Coach_ID) FROM coach WHERE Coach_name = \"Robert Chen\" AND \"Coach_ID\" >= 3 OR \"Rank\" <> 4 AND Gender != \"M\" AND \"Club_ID\" <= 3 EXCEPT SELECT COUNT(Rank), AVG(Club_ID), Gender, COUNT(Coach_name), MIN(Coach_ID) FROM coach WHERE Gender <> \"F\" AND Coach_name = \"Robert Chen\" OR \"Coach_ID\" <= 5 AND \"Club_ID\" <> 3", "answer": {"columns": ["COUNT(Rank)", "AVG(Club_ID)", "Gender", "COUNT(Coach_name)", "MIN(Coach_ID)"], "index": [0], "data": [["2", "2", "F", "2", "2"]]}, "table_names": "['coach' 'coach']", "table_image_ids": ["TableImg_88b60_5.png", "TableImg_Rp4fr_5.png"], "original_data_index": 769} +{"question": "SELECT Store_ID, MIN(District_ID) FROM store_district WHERE \"Store_ID\" <> 5 OR \"District_ID\" != 15 UNION SELECT Store_ID, MIN(District_ID) FROM store_district WHERE \"Store_ID\" > 2 AND \"District_ID\" > 3", "answer": {"columns": ["Store_ID", "MIN(District_ID)"], "index": [0, 1], "data": [["4", "4"], ["5", "3"]]}, "table_names": "['store_district' 'store_district']", "table_image_ids": ["TableImg_Vf460_5.png", "TableImg_3ecd8_5.png"], "original_data_index": 770} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 1 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_5o0bd_12.png", "TableImg_Plpb5_5.png"], "original_data_index": 771} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 10 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["8"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_On4fp_12.png", "TableImg_3609g_5.png"], "original_data_index": 772} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 3 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Zkboc_12.png", "TableImg_I5pg1_5.png"], "original_data_index": 773} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 10 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7], "data": [["1"], ["2"], ["5"], ["6"], ["8"], ["9"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_U97xo_12.png", "TableImg_X8a07_5.png"], "original_data_index": 774} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID = 2 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 3", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["1"], ["2"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Hsisa_5.png", "TableImg_Htq2p_4.png"], "original_data_index": 775} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 6 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["1"], ["2"], ["5"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_3bj6k_12.png", "TableImg_Xs4bk_5.png"], "original_data_index": 776} +{"question": "SELECT customer_id FROM Customer_Payments WHERE \"amount_payment\" >= 6782.84 AND payment_method_code <> \"Direct Debit\" INTERSECT SELECT customer_id FROM Lessons WHERE \"price\" <> 352.0 OR lesson_time = \"3\" OR \"staff_id\" <> 11 OR lesson_status_code <> \"Completed\"", "answer": {"columns": ["customer_id"], "index": [0], "data": [["13"]]}, "table_names": "['Customer_Payments' 'Lessons']", "table_image_ids": ["TableImg_6ltt3_15.png", "TableImg_D8c2g_15.png"], "original_data_index": 777} +{"question": "SELECT Date_Effective_From, Template_ID, Template_Details, Template_Type_Code, Version_Number, Date_Effective_To FROM Templates WHERE \"Version_Number\" < 6 AND Template_Details = \"\" UNION ALL SELECT Date_Effective_From, Template_ID, Template_Details, Template_Type_Code, Version_Number, Date_Effective_To FROM Templates WHERE \"Template_ID\" = 19 AND \"Version_Number\" < 7 AND Date_Effective_To <> \"2008-01-05 14:19:28\" OR Template_Details = \"\"", "answer": {"columns": ["Date_Effective_From", "Template_ID", "Template_Details", "Template_Type_Code", "Version_Number", "Date_Effective_To"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30], "data": [["2005-11-12 07:09:48", "0", "", "PP", "5", "2008-01-05 14:19:28"], ["2002-03-02 14:39:49", "4", "", "BK", "4", "2001-04-18 09:29:52"], ["1975-05-20 22:51:19", "6", "", "PPT", "2", "1992-05-02 20:06:11"], ["1983-07-16 21:16:16", "8", "", "BK", "3", "1976-10-28 10:08:50"], ["1997-04-17 08:29:44", "9", "", "BK", "2", "1994-12-07 13:26:23"], ["2003-06-05 04:03:45", "10", "", "PPT", "1", "2007-06-06 06:18:53"], ["2012-04-05 07:11:42", "16", "", "CV", "5", "1980-05-07 12:15:47"], ["1984-08-07 13:36:26", "18", "", "PP", "5", "1998-05-12 12:51:29"], ["2005-02-20 00:31:34", "22", "", "PP", "0", "1989-11-24 19:06:06"], ["1979-12-24 10:28:16", "23", "", "BK", "2", "2000-10-22 11:57:12"], ["1979-10-20 21:23:20", "25", "", "PP", "5", "2006-02-06 23:52:04"], ["2005-11-12 07:09:48", "0", "", "PP", "5", "2008-01-05 14:19:28"], ["2010-09-24 01:15:11", "1", "", "PP", "9", "1999-07-08 03:31:04"], ["2002-03-02 14:39:49", "4", "", "BK", "4", "2001-04-18 09:29:52"], ["1975-05-20 22:51:19", "6", "", "PPT", "2", "1992-05-02 20:06:11"], ["1993-10-07 02:33:04", "7", "", "PPT", "8", "1975-07-16 04:52:10"], ["1983-07-16 21:16:16", "8", "", "BK", "3", "1976-10-28 10:08:50"], ["1997-04-17 08:29:44", "9", "", "BK", "2", "1994-12-07 13:26:23"], ["2003-06-05 04:03:45", "10", "", "PPT", "1", "2007-06-06 06:18:53"], ["1996-02-04 11:27:24", "11", "", "BK", "6", "1995-09-19 22:27:48"], ["1975-10-20 02:28:58", "14", "", "AD", "7", "1979-11-04 08:58:39"], ["1986-12-09 14:51:36", "15", "", "CV", "9", "1993-03-24 14:30:23"], ["2012-04-05 07:11:42", "16", "", "CV", "5", "1980-05-07 12:15:47"], ["1984-08-07 13:36:26", "18", "", "PP", "5", "1998-05-12 12:51:29"], ["1999-06-21 11:10:30", "19", "", "AD", "7", "1974-09-14 06:34:39"], ["1986-11-14 12:20:18", "20", "", "BK", "6", "2008-08-08 18:36:43"], ["2002-08-25 13:26:23", "21", "", "AD", "9", "2015-09-06 01:08:44"], ["2005-02-20 00:31:34", "22", "", "PP", "0", "1989-11-24 19:06:06"], ["1979-12-24 10:28:16", "23", "", "BK", "2", "2000-10-22 11:57:12"], ["2008-08-01 13:57:26", "24", "", "PP", "8", "1973-01-12 14:13:34"], ["1979-10-20 21:23:20", "25", "", "PP", "5", "2006-02-06 23:52:04"]]}, "table_names": "['Templates' 'Templates']", "table_image_ids": ["TableImg_Wgpjz_20.png", "TableImg_Qg0lp_20.png"], "original_data_index": 778} +{"question": "SELECT Member_ID FROM member WHERE \"Level\" >= 6 OR \"Member_ID\" = 10 AND Hometown != \"Fort Campbell, Kentucky\" EXCEPT SELECT Member_ID FROM membership_register_branch WHERE Branch_ID <> \"1\"", "answer": {"columns": ["Member_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["3"], ["4"], ["9"], ["10"]]}, "table_names": "['member' 'membership_register_branch']", "table_image_ids": ["TableImg_Q3im8_10.png", "TableImg_Dfnbq_8.png"], "original_data_index": 779} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 6 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4], "data": [["3"], ["4"], ["6"], ["7"], ["9"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_A8see_12.png", "TableImg_Mb8k4_5.png"], "original_data_index": 780} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 2 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 1", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["1"], ["2"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Ccy1k_5.png", "TableImg_Tsnap_4.png"], "original_data_index": 781} +{"question": "SELECT middle_name, staff_address_id, date_joined_staff FROM Staff WHERE date_left_staff <> \"2018-03-04 17:13:53\" AND middle_name = \"Maiya\" AND last_name != \"Macejkovic\" UNION SELECT middle_name, staff_address_id, date_joined_staff FROM Staff WHERE middle_name <> \"Clarabelle\" AND \"staff_address_id\" > 3 OR date_joined_staff = \"2017-06-04 14:30:41\" AND \"staff_id\" = 6 AND last_name = \"Durgan\" OR date_left_staff != \"2018-03-08 05:16:29\" OR first_name != \"Eulalia\" AND date_of_birth = \"2003-01-16 06:29:11\" OR nickname = \"sbrown\"", "answer": {"columns": ["middle_name", "staff_address_id", "date_joined_staff"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14], "data": [["Amara", "14", "2017-04-27 03:21:26"], ["Benny", "7", "2016-11-05 01:43:52"], ["Caesar", "4", "2017-12-22 03:06:32"], ["Clarabelle", "1", "2016-11-13 20:44:23"], ["Dejon", "14", "2016-05-16 20:56:53"], ["Duane", "1", "2016-05-26 00:55:07"], ["Icie", "3", "2016-06-06 08:54:28"], ["Liam", "1", "2016-05-01 02:22:45"], ["Madelyn", "13", "2017-06-04 14:30:41"], ["Maiya", "2", "2016-06-05 22:22:23"], ["Mayra", "3", "2017-02-20 18:45:20"], ["Sherwood", "1", "2017-10-21 17:20:57"], ["Stephania", "5", "2018-01-02 12:24:24"], ["Tre", "12", "2017-08-27 19:19:44"], ["Ulices", "6", "2017-08-30 15:08:37"]]}, "table_names": "['Staff' 'Staff']", "table_image_ids": ["TableImg_3mv2y_15.png", "TableImg_Bfa5g_15.png"], "original_data_index": 782} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 3 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["1"], ["2"], ["3"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Yphkx_12.png", "TableImg_Ad6ma_5.png"], "original_data_index": 783} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 5 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["3"], ["4"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_E0owh_12.png", "TableImg_Rhqd7_5.png"], "original_data_index": 784} +{"question": "SELECT date_of_birth, MIN(last_name), nickname, date_left_staff, AVG(first_name), date_joined_staff FROM Staff WHERE \"staff_id\" != 10 AND first_name <> \"Margie\" AND \"staff_address_id\" < 1 UNION ALL SELECT date_of_birth, MIN(last_name), nickname, date_left_staff, AVG(first_name), date_joined_staff FROM Staff WHERE nickname <> \"lsenger\" OR date_joined_staff <> \"2016-05-01 02:22:45\" AND date_of_birth = \"1996-03-09 08:19:49\" AND last_name != \"Hermann\" OR first_name <> \"Camylle\" AND \"staff_address_id\" < 5 OR date_left_staff = \"2018-03-24 10:11:08\" OR \"staff_id\" < 7", "answer": {"columns": ["date_of_birth", "MIN(last_name)", "nickname", "date_left_staff", "AVG(first_name)", "date_joined_staff"], "index": [0, 1], "data": [["", "", "", "", "", ""], ["1996-03-09 08:19:49", "Carroll", "edwin.hudson", "2018-03-06 23:17:41", "0.0", "2016-11-05 01:43:52"]]}, "table_names": "['Staff' 'Staff']", "table_image_ids": ["TableImg_Yso9d_15.png", "TableImg_3y1bx_15.png"], "original_data_index": 785} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 11 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Zdl4q_12.png", "TableImg_E55fd_5.png"], "original_data_index": 786} +{"question": "SELECT SUM(T1.Employee_ID), T2.Bonus FROM employee as T1 JOIN evaluation as T2 ON T1.Employee_ID = T2.Employee_ID WHERE \"Age\" <> 28", "answer": {"columns": ["SUM(T1.Employee_ID)", "Bonus"], "index": [0], "data": [["25", "3000"]]}, "table_names": "['employee' 'evaluation']", "table_image_ids": ["TableImg_Xp3nt_10.png", "TableImg_G4fiq_6.png"], "original_data_index": 787} +{"question": "SELECT contestant_number FROM CONTESTANTS WHERE contestant_name = \"Allie Rogalski\" OR \"contestant_number\" > 1 UNION ALL SELECT contestant_number FROM VOTES WHERE \"vote_id\" < 3 OR created != \"2018-03-09 19:03:36\" OR \"phone_number\" < 6209222712 AND state <> \"NY\" AND \"contestant_number\" = 5", "answer": {"columns": ["contestant_number"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13], "data": [["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["2"], ["3"], ["3"], ["5"]]}, "table_names": "['CONTESTANTS' 'VOTES']", "table_image_ids": ["TableImg_Bp7lu_11.png", "TableImg_Pyi8b_4.png"], "original_data_index": 788} +{"question": "SELECT COUNT(property_id), AVG(hse_feature_3), SUM(fld_feature_2), property_address, fld_feature_3, agreed_selling_price FROM Properties WHERE shp_feature_2 <> \"None\" OR property_address <> \"092 Paucek Highway Apt. 772 East Erika, IA 61358\" AND hse_feature_2 <> \"None\" OR shp_feature_1 <> \"None\" OR fld_feature_3 = \"None\" UNION ALL SELECT COUNT(property_id), AVG(hse_feature_3), SUM(fld_feature_2), property_address, fld_feature_3, agreed_selling_price FROM Properties WHERE \"vendor_requested_price\" <= 2573.0 AND apt_feature_2 = \"est\" OR apt_feature_1 != \"consequatur\" AND property_address != \"084 Lakin Vista Apt. 394 Fishertown, MA 16876\" OR property_type_code <> \"Other\" OR oth_feature_2 <> \"None\" AND date_on_market != \"1978-05-15 10:53:37\" OR property_name = \"riverside\" OR fld_feature_3 <> \"None\" AND apt_feature_3 <> \"None\" OR \"property_id\" != 4 OR date_sold != \"1995-01-31 11:18:42\" AND hse_feature_1 <> \"None\" OR fld_feature_2 = \"None\" AND fld_feature_1 != \"None\"", "answer": {"columns": ["COUNT(property_id)", "AVG(hse_feature_3)", "SUM(fld_feature_2)", "property_address", "fld_feature_3", "agreed_selling_price"], "index": [0, 1], "data": [["0", "", "", "", "", ""], ["15", "", "", "4745 Emerson Stravenue Suite 829\nSouth Garret, IN 16772-5682", "", "4201.8"]]}, "table_names": "['Properties' 'Properties']", "table_image_ids": ["TableImg_Nyqgc_15.png", "TableImg_Swk5o_15.png"], "original_data_index": 789} +{"question": "SELECT School_ID FROM school WHERE Type <> \"Private Catholic\" AND \"School_ID\" >= 6 UNION ALL SELECT School_ID FROM school_bus WHERE \"School_ID\" <> 1 AND \"Driver_ID\" <= 7 OR \"Years_Working\" > 3 AND If_full_time = \"T\"", "answer": {"columns": ["School_ID"], "index": [0, 1, 2, 3, 4], "data": [["6"], ["7"], ["5"], ["3"], ["4"]]}, "table_names": "['school' 'school_bus']", "table_image_ids": ["TableImg_33ob1_7.png", "TableImg_Kgon0_5.png"], "original_data_index": 790} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 12 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Mbhdh_12.png", "TableImg_Holi5_5.png"], "original_data_index": 791} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 7 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 3", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["3"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Wefyr_12.png", "TableImg_Tyl13_5.png"], "original_data_index": 792} +{"question": "SELECT SUM(Coach_ID) FROM coach WHERE \"Rank\" != 1 OR Coach_name != \"Joe Fabbri\" OR \"Coach_ID\" = 4 EXCEPT SELECT SUM(Coach_ID) FROM player_coach WHERE \"Starting_year\" <> 2010 AND \"Coach_ID\" <= 1 AND \"Player_ID\" > 10", "answer": {"columns": ["SUM(Coach_ID)"], "index": [0], "data": [["15"]]}, "table_names": "['coach' 'player_coach']", "table_image_ids": ["TableImg_5y0z2_5.png", "TableImg_Acyuz_7.png"], "original_data_index": 793} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 11 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 7", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Xa7bb_12.png", "TableImg_Vvjdh_5.png"], "original_data_index": 794} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 3 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 3", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["1"], ["2"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_N6vmz_5.png", "TableImg_Zlxgp_4.png"], "original_data_index": 795} +{"question": "SELECT Lieutenant_Governor, Comptroller, Year, Attorney_General, Party_ID, Governor FROM party WHERE \"Year\" >= 2006.0 OR Attorney_General <> \"Eliot Spitzer\" AND \"Party_ID\" >= 6 OR Lieutenant_Governor != \"Jonathan Reiter\" OR Governor = \"Tom Golisano\" AND US_Senate = \"Charles Schumer\" OR Comptroller = \"Alan Hevesi\" EXCEPT SELECT Lieutenant_Governor, Comptroller, Year, Attorney_General, Party_ID, Governor FROM party WHERE Comptroller != \"Alan Hevesi\" OR US_Senate = \"(no election)\"", "answer": {"columns": ["Lieutenant_Governor", "Comptroller", "Year", "Attorney_General", "Party_ID", "Governor"], "index": [0, 1, 2], "data": [["David Paterson", "Alan Hevesi", "2006", "Andrew Cuomo", "5", "Eliot Spitzer"], ["David Paterson", "Alan Hevesi", "2006", "Andrew Cuomo", "7", "Eliot Spitzer"], ["David Paterson", "Alan Hevesi", "2006", "Jeanine Pirro", "6", "Eliot Spitzer"]]}, "table_names": "['party' 'party']", "table_image_ids": ["TableImg_Rhbxv_7.png", "TableImg_Jn3uh_7.png"], "original_data_index": 796} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 9 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Bbthp_12.png", "TableImg_Edoap_5.png"], "original_data_index": 797} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 10 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_8xbti_12.png", "TableImg_Urtxw_5.png"], "original_data_index": 798} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 7 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4], "data": [["7"], ["8"], ["9"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_3764f_12.png", "TableImg_6imlf_5.png"], "original_data_index": 799} +{"question": "SELECT Register_Year FROM membership_register_branch WHERE Register_Year != \"2016\" AND \"Member_ID\" >= 7 OR Branch_ID <> \"8\" UNION SELECT Register_Year FROM membership_register_branch WHERE Register_Year = \"2017\" AND Branch_ID <> \"1\" AND \"Member_ID\" > 4", "answer": {"columns": ["Register_Year"], "index": [0, 1], "data": [["2016"], ["2017"]]}, "table_names": "['membership_register_branch' 'membership_register_branch']", "table_image_ids": ["TableImg_1y2go_8.png", "TableImg_Pao5m_8.png"], "original_data_index": 800} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 2 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 2", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Ieyog_5.png", "TableImg_Ytm42_4.png"], "original_data_index": 801} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 10 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Mgs5o_12.png", "TableImg_I9bq5_5.png"], "original_data_index": 802} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 3 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 3", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_K7vn2_5.png", "TableImg_Hr3k6_4.png"], "original_data_index": 803} +{"question": "SELECT Driver_ID FROM driver WHERE \"Age\" <> 46 UNION ALL SELECT Driver_ID FROM school_bus WHERE \"School_ID\" >= 3 AND \"Years_Working\" != 6 AND \"Driver_ID\" != 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12], "data": [["1"], ["2"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"], ["7"], ["9"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Szq7g_12.png", "TableImg_17col_5.png"], "original_data_index": 804} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 1 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 1", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["4"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Ciqze_5.png", "TableImg_Ivker_4.png"], "original_data_index": 805} +{"question": "SELECT aid FROM certificate WHERE \"eid\" != 550156548 OR \"aid\" < 2 UNION ALL SELECT aid FROM flight WHERE arrival_date = \"04/12/2005 03:55\" AND \"price\" <= 425.98", "answer": {"columns": ["aid"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67], "data": [["2"], ["10"], ["6"], ["2"], ["10"], ["12"], ["1"], ["2"], ["3"], ["7"], ["10"], ["11"], ["12"], ["13"], ["5"], ["7"], ["2"], ["10"], ["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"], ["13"], ["14"], ["15"], ["10"], ["12"], ["8"], ["9"], ["8"], ["9"], ["6"], ["3"], ["13"], ["14"], ["7"], ["1"], ["2"], ["7"], ["14"], ["2"], ["3"], ["5"], ["1"], ["2"], ["3"], ["4"], ["5"], ["7"], ["9"], ["10"], ["11"], ["12"], ["15"], ["3"], ["4"], ["5"], ["6"], ["8"], ["7"]]}, "table_names": "['certificate' 'flight']", "table_image_ids": ["TableImg_Nf1oz_69.png", "TableImg_Oyset_10.png"], "original_data_index": 806} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 3 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 2", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Kmtw7_5.png", "TableImg_Fdvwn_4.png"], "original_data_index": 807} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 9 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_A2lzv_12.png", "TableImg_46n4e_5.png"], "original_data_index": 808} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 11 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_9rswv_12.png", "TableImg_2qcm1_5.png"], "original_data_index": 809} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 7 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["4"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_4fo8k_12.png", "TableImg_9htls_5.png"], "original_data_index": 810} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 9 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Ckit8_12.png", "TableImg_Cstm0_5.png"], "original_data_index": 811} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 5 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["3"], ["4"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Lx5qx_5.png", "TableImg_Ojsx8_4.png"], "original_data_index": 812} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 5 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["3"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_89zuh_5.png", "TableImg_9u7g1_4.png"], "original_data_index": 813} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 7 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_3v0wg_12.png", "TableImg_Elq7b_5.png"], "original_data_index": 814} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 11 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8], "data": [["1"], ["2"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_1wlhh_12.png", "TableImg_Apudx_5.png"], "original_data_index": 815} +{"question": "SELECT Club_ID FROM club WHERE Club_name = \"BK H\u00e4cken\" AND \"Club_ID\" < 3 AND \"Start_year\" = 2009 OR Region != \"USA\" UNION SELECT Club_ID FROM match_result WHERE \"Big_Silver\" = 14 AND \"Bronze\" <= 7 AND \"Club_ID\" <> 4 AND \"Small_Silver\" < 10 AND \"Gold\" <= 20", "answer": {"columns": ["Club_ID"], "index": [0, 1, 2, 3], "data": [["2"], ["4"], ["5"], ["6"]]}, "table_names": "['club' 'match_result']", "table_image_ids": ["TableImg_W6tgp_6.png", "TableImg_5r648_6.png"], "original_data_index": 816} +{"question": "SELECT MIN(ClubLocation), ClubID FROM Club WHERE ClubLocation = \"HHH\" AND ClubName = \"Hopkins Student Enterprises\" OR ClubDesc != \"A competitive tennis club.\" UNION ALL SELECT MIN(ClubLocation), ClubID FROM Club WHERE ClubDesc <> \"Play pen and paper games on campus.\"", "answer": {"columns": ["MIN(ClubLocation)", "ClubID"], "index": [0, 1], "data": [["AKW", "1"], ["AKW", "1"]]}, "table_names": "['Club' 'Club']", "table_image_ids": ["TableImg_Dnpeo_4.png", "TableImg_F2zs2_4.png"], "original_data_index": 817} +{"question": "SELECT customer_id FROM Customers WHERE date_became_customer = \"2016-09-04 23:08:20\" AND date_of_birth = \"1998-12-15 13:24:40\" AND last_name <> \"Ortiz\" AND customer_status_code = \"Bad Customer\" AND \"customer_id\" <> 7 AND \"amount_outstanding\" >= 9443.0 OR email_address <> \"nichole59@example.com\" OR cell_mobile_phone_number != \"739-333-6966x187\" OR phone_number <> \"192-395-2411\" OR \"customer_address_id\" <= 10 UNION ALL SELECT customer_id FROM Lessons WHERE lesson_date != \"2018-03-04 06:55:46\"", "answer": {"columns": ["customer_id"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"], ["13"], ["14"], ["15"], ["6"], ["8"], ["6"], ["8"], ["10"], ["5"], ["9"], ["3"], ["2"], ["2"], ["11"], ["13"], ["11"], ["3"]]}, "table_names": "['Customers' 'Lessons']", "table_image_ids": ["TableImg_1clz9_15.png", "TableImg_Av4gh_15.png"], "original_data_index": 818} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 4 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 1", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_9ra5k_5.png", "TableImg_2ndym_4.png"], "original_data_index": 819} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 10 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 7", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_1h46c_12.png", "TableImg_Fxb1c_5.png"], "original_data_index": 820} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 10 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5], "data": [["1"], ["2"], ["3"], ["5"], ["6"], ["8"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_8jo0g_12.png", "TableImg_Il973_5.png"], "original_data_index": 821} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 5 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 2", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Fsyvt_5.png", "TableImg_Jrfnu_4.png"], "original_data_index": 822} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 6 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 4", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["4"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_1j59w_12.png", "TableImg_J5iev_5.png"], "original_data_index": 823} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 4 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 7", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["3"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_20ds2_12.png", "TableImg_5l0gr_5.png"], "original_data_index": 824} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 9 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 10", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Zqi35_12.png", "TableImg_8zgvp_5.png"], "original_data_index": 825} +{"question": "SELECT Name, Creation, Ranking, Num_Employees, Budget_in_Billions FROM department WHERE Name != \"Commerce\" AND \"Budget_in_Billions\" >= 21.5 AND \"Ranking\" <> 12 OR \"Department_ID\" > 2 UNION SELECT Name, Creation, Ranking, Num_Employees, Budget_in_Billions FROM department WHERE \"Budget_in_Billions\" > 439.3", "answer": {"columns": ["Name", "Creation", "Ranking", "Num_Employees", "Budget_in_Billions"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12], "data": [["Agriculture", "1889", "6", "109832", "77.6"], ["Commerce", "1903", "7", "36000", "6.2"], ["Defense", "1947", "3", "3000000", "439.3"], ["Education", "1979", "13", "4487", "62.8"], ["Energy", "1977", "12", "116100", "21.5"], ["Health and Human Services", "1953", "9", "67000", "543.2"], ["Homeland Security", "2002", "15", "208000", "44.6"], ["Housing and Urban Development", "1965", "10", "10600", "46.2"], ["Interior", "1849", "5", "71436", "10.7"], ["Justice", "1870", "4", "112557", "23.4"], ["Labor", "1913", "8", "17347", "59.7"], ["Transportation", "1966", "11", "58622", "58.0"], ["Veterans Affairs", "1989", "14", "235000", "73.2"]]}, "table_names": "['department' 'department']", "table_image_ids": ["TableImg_Jbmd9_15.png", "TableImg_Fza8c_15.png"], "original_data_index": 826} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 1 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Rbsfb_12.png", "TableImg_8gaqh_5.png"], "original_data_index": 827} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 8 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["1"], ["2"], ["5"], ["6"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_En5ug_12.png", "TableImg_Z1w8l_5.png"], "original_data_index": 828} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID = 1 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 2", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2], "data": [["1"], ["3"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_8peol_5.png", "TableImg_0te80_4.png"], "original_data_index": 829} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 9 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["3"], ["4"], ["7"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_0srv7_12.png", "TableImg_Mmta9_5.png"], "original_data_index": 830} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 9 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_U8jbm_12.png", "TableImg_Cour0_5.png"], "original_data_index": 831} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 7 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["4"], ["5"], ["6"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Gjyok_12.png", "TableImg_9kifv_5.png"], "original_data_index": 832} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 5 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 3", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["3"], ["4"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Ivpmd_5.png", "TableImg_5zoy8_4.png"], "original_data_index": 833} +{"question": "SELECT Driver_ID FROM driver WHERE Name <> \"Dan Carter\" AND \"Age\" <> 52 AND \"Driver_ID\" >= 5 OR Home_city <> \"Hartford\" OR Party <> \"Rep\" UNION SELECT Driver_ID FROM school_bus WHERE If_full_time <> \"T\" AND \"Driver_ID\" <> 7 AND \"School_ID\" > 4 OR \"Years_Working\" = 2", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_H3x06_12.png", "TableImg_4cu52_5.png"], "original_data_index": 834} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 5 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["3"], ["4"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Nvjtl_12.png", "TableImg_Z6vuo_5.png"], "original_data_index": 835} +{"question": "SELECT Book_ID, Title FROM book WHERE \"Book_ID\" < 5 EXCEPT SELECT Book_ID, Title FROM book WHERE \"Issues\" >= 6.0 AND Writer = \"Howard Chaykin\" OR \"Book_ID\" < 3 AND Title <> \"BrainBanx\"", "answer": {"columns": ["Book_ID", "Title"], "index": [0, 1], "data": [["3", "Bloody Mary : Lady Liberty"], ["4", "BrainBanx"]]}, "table_names": "['book' 'book']", "table_image_ids": ["TableImg_Hior0_10.png", "TableImg_Leci4_10.png"], "original_data_index": 836} +{"question": "SELECT Maker FROM car_makers WHERE Country != \"7\" OR Maker <> \"volkswagen\" OR FullName <> \"Chrysler\" AND \"Id\" < 22 UNION SELECT Maker FROM model_list WHERE \"ModelId\" != 23 OR Model != \"chrysler\"", "answer": {"columns": ["Maker"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"], ["13"], ["14"], ["15"], ["16"], ["17"], ["18"], ["19"], ["20"], ["21"], ["22"], ["23"], ["amc"], ["bmw"], ["chrysler"], ["citroen"], ["daimler benz"], ["fiat"], ["ford"], ["gm"], ["honda"], ["hyundai"], ["kia"], ["mazda"], ["nissan"], ["opel"], ["peugeaut"], ["renault"], ["saab"], ["subaru"], ["toyota"], ["triumph"], ["volkswagen"], ["volvo"]]}, "table_names": "['car_makers' 'model_list']", "table_image_ids": ["TableImg_T4cf0_22.png", "TableImg_Tyrci_36.png"], "original_data_index": 837} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 9 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_K8jrr_12.png", "TableImg_9j9ae_5.png"], "original_data_index": 838} +{"question": "SELECT ClubID FROM Member_of_club WHERE \"StuID\" >= 1008 AND \"ClubID\" <> 1 AND Position <> \"Vice-President\" EXCEPT SELECT ClubID FROM Member_of_club WHERE Position = \"President\" OR \"ClubID\" <= 1", "answer": {"columns": ["ClubID"], "index": [0], "data": [["2"]]}, "table_names": "['Member_of_club' 'Member_of_club']", "table_image_ids": ["TableImg_I1zsl_4.png", "TableImg_H6c6r_4.png"], "original_data_index": 839} +{"question": "SELECT Store_ID FROM store WHERE Type != \"City Mall\" OR \"Number_of_product_category\" <= 17811.0 UNION ALL SELECT Store_ID FROM store_product WHERE \"Store_ID\" <> 1 OR \"Product_ID\" < 2", "answer": {"columns": ["Store_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["1"], ["2"], ["3"], ["2"], ["3"], ["2"], ["5"], ["5"], ["5"], ["5"], ["5"]]}, "table_names": "['store' 'store_product']", "table_image_ids": ["TableImg_U3pi4_5.png", "TableImg_9injx_15.png"], "original_data_index": 840} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 3 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 3", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["3"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Vetnd_5.png", "TableImg_1294n_4.png"], "original_data_index": 841} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 11 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5], "data": [["1"], ["2"], ["5"], ["6"], ["8"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Bws9r_12.png", "TableImg_Hugkg_5.png"], "original_data_index": 842} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 2 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 3", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_2hp8v_5.png", "TableImg_F2gwd_4.png"], "original_data_index": 843} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 2 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 1", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["1"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_I6e66_5.png", "TableImg_Cf29o_4.png"], "original_data_index": 844} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 7 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["8"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Oqmhd_12.png", "TableImg_Zku0w_5.png"], "original_data_index": 845} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 11 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Mdqnx_12.png", "TableImg_Ovruo_5.png"], "original_data_index": 846} +{"question": "SELECT Document_Description, Template_ID, Document_Name, Document_ID FROM Documents WHERE \"Template_ID\" <> 14 AND \"Document_ID\" <> 16514113 UNION ALL SELECT Document_Description, Template_ID, Document_Name, Document_ID FROM Documents WHERE Document_Description <> \"f\" AND Document_Name <> \"Robbin CV\" AND \"Document_ID\" <= 3540024 OR Other_Details != \"None\" AND \"Template_ID\" > 14", "answer": {"columns": ["Document_Description", "Template_ID", "Document_Name", "Document_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22], "data": [["n", "7", "Introduction of OS", "0"], ["y", "25", "Understanding DB", "1"], ["u", "6", "Summer Show", "3"], ["y", "20", "Robbin CV", "76"], ["w", "11", "Data base", "82"], ["y", "10", "Customer reviews", "2394"], ["z", "1", "How Google people work", "33930"], ["r", "22", "Learning French", "50123"], ["f", "21", "How to write a CV", "651512"], ["w", "4", "How to read a book", "801801"], ["y", "8", "Palm reading", "3540024"], ["b", "11", "About Korea", "385906526"], ["n", "7", "Introduction of OS", "0"], ["y", "25", "Understanding DB", "1"], ["u", "6", "Summer Show", "3"], ["h", "14", "Welcome to NY", "80"], ["w", "11", "Data base", "82"], ["y", "10", "Customer reviews", "2394"], ["k", "14", "Do not panic", "3830"], ["z", "1", "How Google people work", "33930"], ["r", "22", "Learning French", "50123"], ["w", "4", "How to read a book", "801801"], ["y", "8", "Palm reading", "3540024"]]}, "table_names": "['Documents' 'Documents']", "table_image_ids": ["TableImg_8siw5_15.png", "TableImg_Tudkw_15.png"], "original_data_index": 847} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 3 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 9", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["9"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_D5kcq_12.png", "TableImg_5tcjf_5.png"], "original_data_index": 848} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID = 2 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["3"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Tl5wx_5.png", "TableImg_3t29d_4.png"], "original_data_index": 849} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 2 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 2", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["2"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Cz16g_5.png", "TableImg_79j37_4.png"], "original_data_index": 850} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 4 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "data": [["1"], ["2"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_4deje_12.png", "TableImg_Sh6qg_5.png"], "original_data_index": 851} +{"question": "SELECT SUM(Year), AVG(Attorney_General), Governor, Party_ID, Lieutenant_Governor, AVG(US_Senate), MAX(Party), MIN(Comptroller) FROM party WHERE \"Party_ID\" >= 5 OR \"Year\" >= 2002.0 OR Comptroller = \"Alan Hevesi\" AND US_Senate != \"Hillary Rodham Clinton\" EXCEPT SELECT SUM(Year), AVG(Attorney_General), Governor, Party_ID, Lieutenant_Governor, AVG(US_Senate), MAX(Party), MIN(Comptroller) FROM party WHERE Governor != \"Betsy McCaughey Ross\" AND US_Senate = \"Hillary Rodham Clinton\" AND \"Party_ID\" != 5 OR Attorney_General = \"Eliot Spitzer\" OR Party = \"Working Families\"", "answer": {"columns": ["SUM(Year)", "AVG(Attorney_General)", "Governor", "Party_ID", "Lieutenant_Governor", "AVG(US_Senate)", "MAX(Party)", "MIN(Comptroller)"], "index": [0], "data": [["10022", "0", "Carl McCall", "3", "Dennis Mehiel", "0", "Working Families", "Alan Hevesi"]]}, "table_names": "['party' 'party']", "table_image_ids": ["TableImg_Iu6aw_7.png", "TableImg_Loa7y_7.png"], "original_data_index": 852} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 5 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 2", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["3"], ["4"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_666ki_5.png", "TableImg_Ux0fk_4.png"], "original_data_index": 853} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 2 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["3"], ["4"], ["7"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Fqy8f_12.png", "TableImg_Sqbyl_5.png"], "original_data_index": 854} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 5 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 3", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2], "data": [["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_1q75l_5.png", "TableImg_0sic0_4.png"], "original_data_index": 855} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 3 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Qe2qz_5.png", "TableImg_Imdiq_4.png"], "original_data_index": 856} +{"question": "SELECT document_id FROM Document_Drafts WHERE \"draft_number\" >= 1 UNION SELECT document_id FROM Documents_Mailed WHERE mailing_date <> \"1993-05-24 22:13:48\" AND \"mailed_to_address_id\" = 8", "answer": {"columns": ["document_id"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["4"], ["7"], ["10"], ["12"], ["13"], ["14"], ["17"], ["20"], ["23"]]}, "table_names": "['Document_Drafts' 'Documents_Mailed']", "table_image_ids": ["TableImg_Wswqk_15.png", "TableImg_Naqot_14.png"], "original_data_index": 857} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 7 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Gp5gz_12.png", "TableImg_Hnr38_5.png"], "original_data_index": 858} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 6 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_O5o0l_12.png", "TableImg_6uot0_5.png"], "original_data_index": 859} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 4 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["1"], ["2"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_L4npy_12.png", "TableImg_9sjbs_5.png"], "original_data_index": 860} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 3 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2], "data": [["1"], ["2"], ["3"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Aicye_5.png", "TableImg_Okrze_4.png"], "original_data_index": 861} +{"question": "SELECT Type, COUNT(School_ID), Location, Grade, School FROM school WHERE Grade <> \"Kindergarten\" OR \"School_ID\" > 1 AND Type != \"Public\" EXCEPT SELECT Type, COUNT(School_ID), Location, Grade, School FROM school WHERE Grade = \"Kindergarten\"", "answer": {"columns": ["Type", "COUNT(School_ID)", "Location", "Grade", "School"], "index": [0], "data": [["Private Catholic", "6", "Jakarta, Indonesia", "1st-3rd grade", "St. Francis Assisi"]]}, "table_names": "['school' 'school']", "table_image_ids": ["TableImg_Fzz9b_7.png", "TableImg_3r0c2_7.png"], "original_data_index": 862} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 10 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_W5f3z_12.png", "TableImg_G8tty_5.png"], "original_data_index": 863} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 10 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["7"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Mu4ea_12.png", "TableImg_531ks_5.png"], "original_data_index": 864} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 9 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["7"], ["9"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_7lijj_12.png", "TableImg_Szi4g_5.png"], "original_data_index": 865} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 5 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["1"], ["2"], ["5"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_K2q8z_12.png", "TableImg_Vqhwk_5.png"], "original_data_index": 866} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 2 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID = 1", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["1"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Lfkqr_5.png", "TableImg_W0i5g_4.png"], "original_data_index": 867} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 10 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 3", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Lc4rs_12.png", "TableImg_Q00a8_5.png"], "original_data_index": 868} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 9 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_7tdjk_12.png", "TableImg_A0o14_5.png"], "original_data_index": 869} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 8 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 3", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["8"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_E3q0q_12.png", "TableImg_Qn7y2_5.png"], "original_data_index": 870} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 12 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["3"], ["4"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Sgqsg_12.png", "TableImg_Bdtiq_5.png"], "original_data_index": 871} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 5 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["5"], ["6"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Qqxbk_12.png", "TableImg_S9ds7_5.png"], "original_data_index": 872} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 1 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Wji9g_5.png", "TableImg_A85l6_4.png"], "original_data_index": 873} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 1 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 2", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_J38zu_5.png", "TableImg_1swx4_4.png"], "original_data_index": 874} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 1 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Efqgh_12.png", "TableImg_Rh3tc_5.png"], "original_data_index": 875} +{"question": "SELECT id FROM albums WHERE \"artist_id\" != 258 AND title = \"The World of Classical Favourites\" OR \"id\" != 83 UNION ALL SELECT id FROM genres WHERE name != \"Pop\"", "answer": {"columns": ["id"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"], ["13"], ["14"], ["15"], ["16"], ["17"], ["18"], ["19"], ["20"], ["21"], ["22"], ["23"], ["24"], ["25"], ["26"], ["27"], ["28"], ["29"], ["30"], ["31"], ["32"], ["33"], ["34"], ["35"], ["36"], ["37"], ["38"], ["39"], ["40"], ["41"], ["42"], ["43"], ["44"], ["45"], ["46"], ["47"], ["48"], ["49"], ["50"], ["51"], ["52"], ["53"], ["54"], ["55"], ["56"], ["57"], ["58"], ["59"], ["60"], ["61"], ["62"], ["63"], ["64"], ["65"], ["66"], ["67"], ["68"], ["69"], ["70"], ["71"], ["72"], ["73"], ["74"], ["75"], ["76"], ["77"], ["78"], ["79"], ["80"], ["81"], ["82"], ["84"], ["85"], ["86"], ["87"], ["88"], ["89"], ["90"], ["91"], ["92"], ["93"], ["94"], ["95"], ["96"], ["97"], ["98"], ["99"], ["100"], ["101"], ["102"], ["103"], ["104"], ["105"], ["106"], ["107"], ["108"], ["109"], ["110"], ["111"], ["112"], ["113"], ["114"], ["115"], ["116"], ["117"], ["118"], ["119"], ["120"], ["121"], ["122"], ["123"], ["124"], ["125"], ["126"], ["127"], ["128"], ["129"], ["130"], ["131"], ["132"], ["133"], ["134"], ["135"], ["136"], ["137"], ["138"], ["139"], ["140"], ["141"], ["142"], ["143"], ["144"], ["145"], ["146"], ["147"], ["148"], ["149"], ["150"], ["151"], ["152"], ["153"], ["154"], ["155"], ["156"], ["157"], ["158"], ["159"], ["160"], ["161"], ["162"], ["163"], ["164"], ["165"], ["166"], ["167"], ["168"], ["169"], ["170"], ["171"], ["172"], ["173"], ["174"], ["175"], ["176"], ["177"], ["178"], ["179"], ["180"], ["181"], ["182"], ["183"], ["184"], ["185"], ["186"], ["187"], ["188"], ["189"], ["190"], ["191"], ["192"], ["193"], ["194"], ["195"], ["196"], ["197"], ["198"], ["199"], ["200"], ["201"], ["202"], ["203"], ["204"], ["205"], ["206"], ["207"], ["208"], ["209"], ["210"], ["211"], ["212"], ["213"], ["214"], ["215"], ["216"], ["217"], ["218"], ["219"], ["220"], ["221"], ["222"], ["223"], ["224"], ["225"], ["226"], ["227"], ["228"], ["229"], ["230"], ["231"], ["232"], ["233"], ["234"], ["235"], ["236"], ["237"], ["238"], ["239"], ["240"], ["241"], ["242"], ["243"], ["244"], ["245"], ["246"], ["247"], ["248"], ["249"], ["250"], ["251"], ["252"], ["253"], ["254"], ["255"], ["256"], ["257"], ["258"], ["259"], ["260"], ["261"], ["262"], ["263"], ["264"], ["265"], ["266"], ["267"], ["268"], ["269"], ["270"], ["271"], ["272"], ["273"], ["274"], ["275"], ["276"], ["277"], ["278"], ["279"], ["280"], ["281"], ["282"], ["283"], ["284"], ["285"], ["286"], ["287"], ["288"], ["289"], ["290"], ["291"], ["292"], ["293"], ["294"], ["295"], ["296"], ["297"], ["298"], ["299"], ["300"], ["301"], ["302"], ["303"], ["304"], ["305"], ["306"], ["307"], ["308"], ["309"], ["310"], ["311"], ["312"], ["313"], ["314"], ["315"], ["316"], ["317"], ["318"], ["319"], ["320"], ["321"], ["322"], ["323"], ["324"], ["325"], ["326"], ["327"], ["328"], ["329"], ["330"], ["331"], ["332"], ["333"], ["334"], ["335"], ["336"], ["337"], ["338"], ["339"], ["340"], ["341"], ["342"], ["343"], ["344"], ["345"], ["346"], ["347"], ["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["10"], ["11"], ["12"], ["13"], ["14"], ["15"], ["16"], ["17"], ["18"], ["19"], ["20"], ["21"], ["22"], ["23"], ["24"], ["25"]]}, "table_names": "['albums' 'genres']", "table_image_ids": ["TableImg_Hwkw9_347.png", "TableImg_P4hxf_25.png"], "original_data_index": 876} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 9 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["3"], ["4"], ["7"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Faxbo_12.png", "TableImg_7ql7y_5.png"], "original_data_index": 877} +{"question": "SELECT Party FROM election WHERE Counties_Represented = \"13\" OR \"District\" > 4 AND \"Party\" = 2 OR Delegate != \"DeBoy, Steven J. Sr. Steven J. DeBoy, Sr.\" AND \"Election_ID\" < 8 OR \"First_Elected\" > 2002.0 AND Committee <> \"Appropriations\" EXCEPT SELECT Party FROM party WHERE Comptroller = \"Alan Hevesi\" OR \"Party_ID\" < 3 AND US_Senate = \"Hillary Rodham Clinton\" AND Party <> \"Independence\" OR Attorney_General <> \"Eliot Spitzer\" AND Governor = \"Carl McCall\" AND \"Year\" > 1998.0 OR Lieutenant_Governor = \"David Paterson\"", "answer": {"columns": ["Party"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["3"], ["4"], ["7"]]}, "table_names": "['election' 'party']", "table_image_ids": ["TableImg_2jras_8.png", "TableImg_4vjbr_7.png"], "original_data_index": 878} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 4 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["1"], ["2"], ["3"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_J520r_12.png", "TableImg_Wl7n8_5.png"], "original_data_index": 879} +{"question": "SELECT District_ID FROM district WHERE \"District_ID\" = 7 AND \"City_Area\" != 22.0 OR Headquartered_City != \"Chakwal City\" UNION SELECT District_ID FROM store_district WHERE \"District_ID\" <> 15", "answer": {"columns": ["District_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13], "data": [["1"], ["2"], ["3"], ["4"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"], ["13"], ["14"], ["15"]]}, "table_names": "['district' 'store_district']", "table_image_ids": ["TableImg_O7isi_15.png", "TableImg_Mmyso_5.png"], "original_data_index": 880} +{"question": "SELECT MAX(T1.Driver_ID), T2.Years_Working FROM driver as T1 JOIN school_bus as T2 ON T1.Driver_ID = T2.Driver_ID WHERE Home_city <> \"Manchester\" OR \"School_ID\" = 1 OR \"Age\" > 46 AND \"Years_Working\" > 8 OR Party = \"Dem\" AND Name = \"Douglas McCrory\" OR If_full_time = \"T\"", "answer": {"columns": ["MAX(T1.Driver_ID)", "Years_Working"], "index": [0], "data": [["10", "10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Bo4na_12.png", "TableImg_09gza_5.png"], "original_data_index": 881} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 3 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 3", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["1"], ["2"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Lg54d_5.png", "TableImg_Yl41o_4.png"], "original_data_index": 882} +{"question": "SELECT document_status_code FROM Documents WHERE receipt_date != \"1976-09-15 19:24:17\" AND document_status_code != \"working\" UNION SELECT document_status_code FROM Ref_Document_Status WHERE document_status_code != \"done\"", "answer": {"columns": ["document_status_code"], "index": [0, 1, 2], "data": [["done"], ["overdue"], ["working"]]}, "table_names": "['Documents' 'Ref_Document_Status']", "table_image_ids": ["TableImg_N85pr_15.png", "TableImg_Uoman_3.png"], "original_data_index": 883} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 3 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7], "data": [["1"], ["2"], ["5"], ["6"], ["7"], ["8"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Ug29j_12.png", "TableImg_Ev8cd_5.png"], "original_data_index": 884} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 4 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 2", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["2"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_U7pbr_5.png", "TableImg_0vwbp_4.png"], "original_data_index": 885} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 1 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 4", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["3"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_5y84c_12.png", "TableImg_Thsn3_5.png"], "original_data_index": 886} +{"question": "SELECT aid FROM certificate WHERE \"aid\" = 14 EXCEPT SELECT aid FROM flight WHERE origin = \"Los Angeles\" AND \"flno\" <= 346 AND \"distance\" < 7487 AND departure_date <> \"04/12/2005 09:00\" OR \"price\" != 278.56 AND destination <> \"Honolulu\" AND \"aid\" < 10 AND arrival_date != \"04/12/2005 08:45\"", "answer": {"columns": ["aid"], "index": [0], "data": [["14"]]}, "table_names": "['certificate' 'flight']", "table_image_ids": ["TableImg_7n10g_69.png", "TableImg_1yanz_10.png"], "original_data_index": 887} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 3 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 2", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_24uxj_5.png", "TableImg_Sfvlm_4.png"], "original_data_index": 888} +{"question": "SELECT Employee_ID FROM employee WHERE City = \"Wasps\" UNION SELECT Employee_ID FROM evaluation WHERE Employee_ID <> \"2\" OR Year_awarded <> \"2018\" AND \"Bonus\" <> 2900.0", "answer": {"columns": ["Employee_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["5"], ["8"], ["1"], ["10"], ["2"], ["4"], ["7"]]}, "table_names": "['employee' 'evaluation']", "table_image_ids": ["TableImg_I2c10_10.png", "TableImg_Apa8u_6.png"], "original_data_index": 889} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 8 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["3"], ["4"], ["7"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Zhat3_12.png", "TableImg_4qt1a_5.png"], "original_data_index": 890} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 2 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 1", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["4"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Egh2m_5.png", "TableImg_C09l3_4.png"], "original_data_index": 891} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID = 4 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 5", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["4"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Ts64c_5.png", "TableImg_Rcmdc_4.png"], "original_data_index": 892} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 3 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 2", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["2"], ["4"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Mzoho_5.png", "TableImg_Svrok_4.png"], "original_data_index": 893} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 8 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["9"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Htqjt_12.png", "TableImg_E12x8_5.png"], "original_data_index": 894} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 8 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 9", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["8"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Tkdug_12.png", "TableImg_7p35e_5.png"], "original_data_index": 895} +{"question": "SELECT Continent FROM continents WHERE Continent = \"europe\" UNION SELECT Continent FROM continents WHERE \"ContId\" > 3 AND Continent <> \"europe\"", "answer": {"columns": ["Continent"], "index": [0, 1, 2], "data": [["africa"], ["australia"], ["europe"]]}, "table_names": "['continents' 'continents']", "table_image_ids": ["TableImg_Jczp7_5.png", "TableImg_Ftiq9_5.png"], "original_data_index": 896} +{"question": "SELECT MIN(Branch_ID) FROM branch WHERE Name <> \"Popert\" OR membership_amount = \"6\" AND City != \"Oxford\" OR Address_road != \"Concord Road\" AND Open_year <> \"2015\" AND \"Branch_ID\" <= 2 EXCEPT SELECT MIN(Branch_ID) FROM purchase WHERE Branch_ID = \"3\" OR Year != \"2018\" AND \"Total_pounds\" = 988.09", "answer": {"columns": ["MIN(Branch_ID)"], "index": [0], "data": [["1"]]}, "table_names": "['branch' 'purchase']", "table_image_ids": ["TableImg_Npq05_8.png", "TableImg_836ec_8.png"], "original_data_index": 897} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 6 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["8"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Gyabq_12.png", "TableImg_A88k4_5.png"], "original_data_index": 898} +{"question": "SELECT Shop_ID FROM hiring WHERE Is_full_time = \"F\" AND \"Shop_ID\" >= 8 OR Start_from <> \"2013\" UNION SELECT Shop_ID FROM shop WHERE \"Number_products\" < 10770 AND Location = \"Kuopio\" OR Manager_name = \"Antti Muurinen\"", "answer": {"columns": ["Shop_ID"], "index": [0, 1, 2, 3, 4, 5], "data": [["1"], ["2"], ["4"], ["6"], ["7"], ["8"]]}, "table_names": "['hiring' 'shop']", "table_image_ids": ["TableImg_P7eu4_7.png", "TableImg_Gbz3r_9.png"], "original_data_index": 899} +{"question": "SELECT SUM(Aircraft_ID) FROM aircraft WHERE Aircraft <> \"Robinson R-22\" OR Max_Gross_Weight <> \"3,200 lb (1,451 kg)\" OR Max_disk_Loading = \"2.6 lb/ft\u00b2 (14 kg/m\u00b2)\" AND Total_disk_area != \"5,655 ft\u00b2 (526 m\u00b2)\" AND Description <> \"Turboshaft utility helicopter\" AND \"Aircraft_ID\" <= 5 UNION SELECT SUM(Aircraft_ID) FROM airport_aircraft WHERE \"Airport_ID\" > 1 OR \"ID\" <= 4 AND \"Aircraft_ID\" < 3", "answer": {"columns": ["SUM(Aircraft_ID)"], "index": [0, 1], "data": [["11"], ["15"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_O5oys_5.png", "TableImg_Okqdc_4.png"], "original_data_index": 900} +{"question": "SELECT MIN(School_ID) FROM school WHERE School = \"St. Francis Assisi\" AND Grade = \"Kindergarten\" AND Type = \"Private\" AND Location <> \"Los Angeles, California\" AND \"School_ID\" = 5 EXCEPT SELECT MIN(School_ID) FROM school_bus WHERE \"Driver_ID\" <> 4", "answer": {"columns": ["MIN(School_ID)"], "index": [0], "data": [[""]]}, "table_names": "['school' 'school_bus']", "table_image_ids": ["TableImg_5f6fy_7.png", "TableImg_Bj1ga_5.png"], "original_data_index": 901} +{"question": "SELECT SUM(Budget_invested_percent), School_id, Budgeted, Year, SUM(total_budget_percent_invested), total_budget_percent_budgeted FROM budget WHERE \"total_budget_percent_budgeted\" = 1.3 AND Budget_invested_percent = \"146.9\" OR \"Year\" <= 2002 OR \"Invested\" <= 95542 UNION ALL SELECT SUM(Budget_invested_percent), School_id, Budgeted, Year, SUM(total_budget_percent_invested), total_budget_percent_budgeted FROM budget WHERE \"Year\" > 2003 OR \"total_budget_percent_invested\" < 2.0 OR Budget_invested_percent = \"127.6\" AND \"School_id\" <= 5", "answer": {"columns": ["SUM(Budget_invested_percent)", "School_id", "Budgeted", "Year", "SUM(total_budget_percent_invested)", "total_budget_percent_budgeted"], "index": [0, 1], "data": [["670.5", "2", "4979", "1999", "12.4", "2"], ["585.0", "4", "74849", "2004", "7.6", "2"]]}, "table_names": "['budget' 'budget']", "table_image_ids": ["TableImg_Te8h4_8.png", "TableImg_Ab8ij_8.png"], "original_data_index": 902} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 1 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["4"], ["7"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Hh4gm_12.png", "TableImg_Eg0sh_5.png"], "original_data_index": 903} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 11 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["7"], ["9"], ["10"], ["11"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Cvoji_12.png", "TableImg_57rax_5.png"], "original_data_index": 904} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 7 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4], "data": [["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_S87v4_12.png", "TableImg_H9icb_5.png"], "original_data_index": 905} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 7 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_1gada_12.png", "TableImg_66f14_5.png"], "original_data_index": 906} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 4 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_A1je3_12.png", "TableImg_Q40g7_5.png"], "original_data_index": 907} +{"question": "SELECT T1.Max_Gross_Weight, T2.Aircraft_ID FROM aircraft as T1 JOIN airport_aircraft as T2 ON T1.Aircraft_ID = T2.Aircraft_ID", "answer": {"columns": ["Max_Gross_Weight", "Aircraft_ID"], "index": [0, 1, 2, 3], "data": [["3,200 lb (1,451 kg)", "2"], ["1,370 lb (635 kg)", "1"], ["73,500 lb (33,300 kg)", "5"], ["50,000 lb (22,680 kg)", "3"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Xskzn_5.png", "TableImg_L9itu_4.png"], "original_data_index": 908} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 3 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Nthua_5.png", "TableImg_6ojfl_4.png"], "original_data_index": 909} +{"question": "SELECT i_id FROM item WHERE \"i_id\" <> 7 UNION ALL SELECT i_id FROM review WHERE \"u_id\" != 2 AND \"rating\" <> 10 AND \"rank\" <= 3", "answer": {"columns": ["i_id"], "index": [0, 1, 2, 3, 4, 5, 6, 7], "data": [["0"], ["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["4"]]}, "table_names": "['item' 'review']", "table_image_ids": ["TableImg_Qvnya_8.png", "TableImg_3e5k3_7.png"], "original_data_index": 910} +{"question": "SELECT MAX(vehicle_id) FROM Vehicles WHERE vehicle_details != \"Car\" OR \"vehicle_id\" >= 1 UNION ALL SELECT MAX(vehicle_id) FROM Vehicles WHERE \"vehicle_id\" != 2", "answer": {"columns": ["MAX(vehicle_id)"], "index": [0, 1], "data": [["3"], ["3"]]}, "table_names": "['Vehicles' 'Vehicles']", "table_image_ids": ["TableImg_Tda4d_3.png", "TableImg_Pvay2_3.png"], "original_data_index": 911} +{"question": "SELECT PetID FROM Has_Pet WHERE \"PetID\" <> 2003 AND \"StuID\" < 1002 UNION SELECT PetID FROM Pets WHERE \"weight\" < 12.0 OR \"PetID\" >= 2001", "answer": {"columns": ["PetID"], "index": [0, 1, 2], "data": [["2001"], ["2002"], ["2003"]]}, "table_names": "['Has_Pet' 'Pets']", "table_image_ids": ["TableImg_9g27j_3.png", "TableImg_6tzh6_3.png"], "original_data_index": 912} +{"question": "SELECT document_type_code, COUNT(document_type_description) FROM Ref_Document_Types WHERE document_type_description != \"f\" UNION ALL SELECT document_type_code, COUNT(document_type_description) FROM Ref_Document_Types WHERE document_type_code != \"Hard Drive\" OR document_type_description <> \"f\"", "answer": {"columns": ["document_type_code", "COUNT(document_type_description)"], "index": [0, 1], "data": [["CD", "2"], ["CD", "2"]]}, "table_names": "['Ref_Document_Types' 'Ref_Document_Types']", "table_image_ids": ["TableImg_Vzao4_3.png", "TableImg_3dubd_3.png"], "original_data_index": 913} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 4 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 2", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2], "data": [["1"], ["3"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Qtoyo_5.png", "TableImg_X1mg5_4.png"], "original_data_index": 914} +{"question": "SELECT document_id, AVG(draft_details), draft_number FROM Document_Drafts WHERE \"draft_number\" <> 17 OR draft_details <> \"m\" AND \"document_id\" != 13 UNION ALL SELECT document_id, AVG(draft_details), draft_number FROM Document_Drafts WHERE \"document_id\" <= 7 AND \"draft_number\" = 17 OR draft_details != \"k\"", "answer": {"columns": ["document_id", "AVG(draft_details)", "draft_number"], "index": [0, 1], "data": [["1", "0", "0"], ["1", "0", "0"]]}, "table_names": "['Document_Drafts' 'Document_Drafts']", "table_image_ids": ["TableImg_3bo0t_15.png", "TableImg_Xwmth_15.png"], "original_data_index": 915} +{"question": "SELECT receipt_number FROM Documents WHERE shipping_agent_code != \"AL\" OR document_status_code <> \"working\" OR receipt_date <> \"1982-09-27 14:52:15\" AND other_details <> \"x\" UNION SELECT receipt_number FROM Documents WHERE other_details != \"u\" AND \"document_id\" <> 1 AND shipping_agent_code <> \"US\" OR receipt_date <> \"1976-09-15 19:24:17\" OR receipt_number != \"79\"", "answer": {"columns": ["receipt_number"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14], "data": [["114"], ["117"], ["124"], ["189"], ["19"], ["34"], ["37"], ["55"], ["61"], ["69"], ["79"], ["8"], ["80"], ["83"], ["93"]]}, "table_names": "['Documents' 'Documents']", "table_image_ids": ["TableImg_Xtfwq_15.png", "TableImg_A9ttj_15.png"], "original_data_index": 916} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 4 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "data": [["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Kw83a_12.png", "TableImg_Yaba1_5.png"], "original_data_index": 917} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 3 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 2", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["1"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Hjip1_5.png", "TableImg_Fda8u_4.png"], "original_data_index": 918} +{"question": "SELECT SUM(Store_ID) FROM store WHERE \"Number_of_product_category\" < 990.0 AND \"Area_size\" <= 7.23 UNION ALL SELECT SUM(Store_ID) FROM store_district WHERE \"District_ID\" = 11 AND \"Store_ID\" <> 1", "answer": {"columns": ["SUM(Store_ID)"], "index": [0, 1], "data": [[""], ["3.0"]]}, "table_names": "['store' 'store_district']", "table_image_ids": ["TableImg_Ia23l_5.png", "TableImg_Mky8z_5.png"], "original_data_index": 919} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 3 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 10", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["3"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Qjo9j_12.png", "TableImg_Ljp8k_5.png"], "original_data_index": 920} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 8 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 10", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Iepq0_12.png", "TableImg_Jc7di_5.png"], "original_data_index": 921} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 10 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["3"], ["4"], ["7"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_K3ywp_12.png", "TableImg_Hdsup_5.png"], "original_data_index": 922} +{"question": "SELECT Open_year, Branch_ID, City, Name, Address_road FROM branch WHERE \"Branch_ID\" = 5 UNION SELECT Open_year, Branch_ID, City, Name, Address_road FROM branch WHERE Address_road != \"Glebe Street\" OR City = \"London\" AND Open_year != \"2009\" OR \"Branch_ID\" >= 7", "answer": {"columns": ["Open_year", "Branch_ID", "City", "Name", "Address_road"], "index": [0, 1, 2, 3, 4, 5, 6, 7], "data": [["2001", "1", "London", "Alexandre", "Valleys Place"], ["2009", "2", "London", "Popert", "Oaks Crescent"], ["2009", "4", "Oxford", "Zytogorski", "Abbey Rise"], ["2009", "8", "Oxford", "Brooke Greville", "Glebe Street"], ["2012", "5", "London", "Cochrane", "Brampton Road"], ["2013", "3", "London", "Stanley", "Abbott Street"], ["2014", "6", "Oxford", "Taverner", "Cecilia Avenue"], ["2015", "7", "London", "Saint Amant", "Concord Road"]]}, "table_names": "['branch' 'branch']", "table_image_ids": ["TableImg_Jnrxl_8.png", "TableImg_Camg0_8.png"], "original_data_index": 923} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 3 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["7"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Ufro7_12.png", "TableImg_If9pe_5.png"], "original_data_index": 924} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 5 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Vas99_12.png", "TableImg_3txxx_5.png"], "original_data_index": 925} +{"question": "SELECT MAX(T1.Club_ID), T2.Gender FROM club as T1 JOIN coach as T2 ON T1.Club_ID = T2.Club_ID WHERE Gender = \"M\" OR Club_name <> \"Gefle IF\" AND Coach_name = \"James Wong\" OR \"Start_year\" <= 2011 OR Region = \"UK\" OR \"Rank\" <= 1 AND \"Coach_ID\" >= 4 GROUP BY Start_year HAVING Club_name <> \"Halmstads BK\" OR Coach_name = \"Joe Fabbri\" AND Start_year < 2009 OR Region = \"USA\" OR Rank < 3 OR Coach_ID <= 2 OR Gender = \"M\"", "answer": {"columns": ["MAX(T1.Club_ID)", "Gender"], "index": [0, 1], "data": [["3", "M"], ["1", "M"]]}, "table_names": "['club' 'coach']", "table_image_ids": ["TableImg_Rox8v_6.png", "TableImg_Ra0e7_5.png"], "original_data_index": 926} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID = 3 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 3", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["3"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Ula7n_5.png", "TableImg_Qe3gr_4.png"], "original_data_index": 927} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 11 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 7", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["11"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Xmsog_12.png", "TableImg_7tarz_5.png"], "original_data_index": 928} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 4 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5], "data": [["1"], ["2"], ["3"], ["4"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Aouwf_12.png", "TableImg_9wxq5_5.png"], "original_data_index": 929} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 11 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["10"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Ib8yd_12.png", "TableImg_Cncqy_5.png"], "original_data_index": 930} +{"question": "SELECT AVG(Nationality) FROM people WHERE \"Height\" < 194.0 OR Birth_Date = \"August 8, 1986\" OR Name != \"Aleksey Ostapenko\" AND \"People_ID\" < 4 OR Nationality = \"Russia\" INTERSECT SELECT AVG(Nationality) FROM people WHERE Birth_Date = \"August 8, 1986\" OR Nationality <> \"Bulgaria\" OR Name <> \"Semen Poltavskiy\"", "answer": {"columns": ["AVG(Nationality)"], "index": [0], "data": [["0"]]}, "table_names": "['people' 'people']", "table_image_ids": ["TableImg_Icro4_7.png", "TableImg_O2znf_7.png"], "original_data_index": 931} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 8 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5], "data": [["3"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Joipu_12.png", "TableImg_Dud5c_5.png"], "original_data_index": 932} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 1 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["3"], ["4"], ["7"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Kef31_12.png", "TableImg_Zr843_5.png"], "original_data_index": 933} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 1 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2], "data": [["2"], ["3"], ["4"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_3t0fu_5.png", "TableImg_T5q38_4.png"], "original_data_index": 934} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 2 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["1"], ["2"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_27szf_12.png", "TableImg_Bubdd_5.png"], "original_data_index": 935} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 5 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 5", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_M11zf_5.png", "TableImg_Dsvk1_4.png"], "original_data_index": 936} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 12 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7], "data": [["1"], ["2"], ["5"], ["6"], ["8"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Nw5vr_12.png", "TableImg_Rkzz3_5.png"], "original_data_index": 937} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 2 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "data": [["1"], ["3"], ["4"], ["5"], ["6"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_1o1a6_12.png", "TableImg_G3hcv_5.png"], "original_data_index": 938} +{"question": "SELECT SUM(temporary_acting), head_ID, COUNT(department_ID) FROM management WHERE \"department_ID\" > 7 OR \"head_ID\" <> 5 OR temporary_acting = \"No\" UNION ALL SELECT SUM(temporary_acting), head_ID, COUNT(department_ID) FROM management WHERE \"department_ID\" <= 2 OR temporary_acting <> \"Yes\" OR \"head_ID\" != 3", "answer": {"columns": ["SUM(temporary_acting)", "head_ID", "COUNT(department_ID)"], "index": [0, 1], "data": [["0", "4", "4"], ["0", "5", "5"]]}, "table_names": "['management' 'management']", "table_image_ids": ["TableImg_Tfgwn_5.png", "TableImg_Ohaew_5.png"], "original_data_index": 939} +{"question": "SELECT id FROM airport WHERE ICAO <> \"BIAR\" AND City <> \"Bergen\" OR name = \"Akureyri Airport\" AND Country <> \"United States\" AND \"id\" = 6 AND IATA != \"BLL\" EXCEPT SELECT id FROM operate_company WHERE name != \"VN/CX Catering Services Limited\" AND \"Group_Equity_Shareholding\" < 45.0 AND Principal_activities = \"Cargo airline\" OR Type != \"Subsidiary\"", "answer": {"columns": ["id"], "index": [0, 1, 2, 3, 4], "data": [["4"], ["5"], ["7"], ["8"], ["9"]]}, "table_names": "['airport' 'operate_company']", "table_image_ids": ["TableImg_I0uh2_9.png", "TableImg_Rs7dz_14.png"], "original_data_index": 940} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 1 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["3"], ["4"], ["7"], ["9"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_P9obx_12.png", "TableImg_Zy7n7_5.png"], "original_data_index": 941} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 11 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4], "data": [["4"], ["7"], ["9"], ["10"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Vuahu_12.png", "TableImg_W4jao_5.png"], "original_data_index": 942} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 1 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Flbnl_12.png", "TableImg_Sqia5_5.png"], "original_data_index": 943} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 2 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 1", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_5m5mv_5.png", "TableImg_N72ow_4.png"], "original_data_index": 944} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 12 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 3", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Gvqwi_12.png", "TableImg_5ueby_5.png"], "original_data_index": 945} +{"question": "SELECT Name, SUM(Driver_ID) FROM driver WHERE \"Age\" != 30 OR \"Driver_ID\" < 10 OR Home_city <> \"Hartford\" UNION ALL SELECT Name, SUM(Driver_ID) FROM driver WHERE \"Driver_ID\" > 12 AND Name != \"Timothy Ackert\" OR \"Age\" >= 38 OR Party != \"Dem\"", "answer": {"columns": ["Name", "SUM(Driver_ID)"], "index": [0, 1], "data": [["Matthew Ritter", "78"], ["Matthew Ritter", "50"]]}, "table_names": "['driver' 'driver']", "table_image_ids": ["TableImg_M2k5g_12.png", "TableImg_Ej3yt_12.png"], "original_data_index": 946} +{"question": "SELECT Employee_ID, Name FROM employee WHERE \"Age\" > 29 UNION ALL SELECT Employee_ID, Name FROM employee WHERE Name != \"Andrew Sheridan\"", "answer": {"columns": ["Employee_ID", "Name"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13], "data": [["3", "Mark Regan"], ["4", "Jason Hobson"], ["8", "Phil Vickery"], ["9", "Steve Borthwick"], ["10", "Louis Deacon"], ["1", "George Chuter"], ["2", "Lee Mears"], ["3", "Mark Regan"], ["4", "Jason Hobson"], ["5", "Tim Payne"], ["7", "Matt Stevens"], ["8", "Phil Vickery"], ["9", "Steve Borthwick"], ["10", "Louis Deacon"]]}, "table_names": "['employee' 'employee']", "table_image_ids": ["TableImg_A4rjx_10.png", "TableImg_21a2f_10.png"], "original_data_index": 947} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 6 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "data": [["1"], ["2"], ["4"], ["5"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Umiyv_12.png", "TableImg_D6f1c_5.png"], "original_data_index": 948} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 5 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8], "data": [["3"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_7ainp_12.png", "TableImg_Bln8q_5.png"], "original_data_index": 949} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 5 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 1", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["2"], ["3"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Bg0r4_5.png", "TableImg_V27cy_4.png"], "original_data_index": 950} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 10 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 7", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Bupak_12.png", "TableImg_L8zbk_5.png"], "original_data_index": 951} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 1 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 1", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["3"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_U8wnm_5.png", "TableImg_8cufq_4.png"], "original_data_index": 952} +{"question": "SELECT MIN(contestant_number) FROM CONTESTANTS WHERE contestant_name != \"Loraine NygrenTania Mattioli\" AND \"contestant_number\" <> 11 UNION ALL SELECT MIN(contestant_number) FROM VOTES WHERE \"phone_number\" > 7182887233 OR created = \"2018-03-09 19:03:40\" OR state != \"NY\" AND \"contestant_number\" = 3 AND \"vote_id\" < 5", "answer": {"columns": ["MIN(contestant_number)"], "index": [0, 1], "data": [["1"], ["3"]]}, "table_names": "['CONTESTANTS' 'VOTES']", "table_image_ids": ["TableImg_69uhf_11.png", "TableImg_593n9_4.png"], "original_data_index": 953} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 6 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4], "data": [["3"], ["4"], ["7"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Nog00_12.png", "TableImg_Afcsh_5.png"], "original_data_index": 954} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 5 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 9", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["9"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Gjggg_12.png", "TableImg_Dvawr_5.png"], "original_data_index": 955} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 11 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_S175n_12.png", "TableImg_Q0kgw_5.png"], "original_data_index": 956} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 5 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 3", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["3"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_704hd_5.png", "TableImg_723wa_4.png"], "original_data_index": 957} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 11 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["3"], ["7"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Pxyoc_12.png", "TableImg_5j58r_5.png"], "original_data_index": 958} +{"question": "SELECT StuID FROM Has_Allergy WHERE \"StuID\" > 1026 UNION ALL SELECT StuID FROM Student WHERE Fname <> \"Linda\" OR \"Major\" >= 600 OR \"Advisor\" < 8721 AND Sex <> \"M\" OR \"StuID\" <> 1014 OR \"Age\" = 18 OR LName <> \"Cheng\" OR city_code = \"BAL\"", "answer": {"columns": ["StuID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42], "data": [["1027"], ["1028"], ["1029"], ["1029"], ["1029"], ["1030"], ["1031"], ["1031"], ["1031"], ["1001"], ["1002"], ["1003"], ["1004"], ["1005"], ["1006"], ["1007"], ["1008"], ["1009"], ["1010"], ["1011"], ["1012"], ["1014"], ["1015"], ["1016"], ["1017"], ["1018"], ["1019"], ["1020"], ["1021"], ["1022"], ["1023"], ["1024"], ["1025"], ["1026"], ["1027"], ["1028"], ["1029"], ["1030"], ["1031"], ["1032"], ["1033"], ["1034"], ["1035"]]}, "table_names": "['Has_Allergy' 'Student']", "table_image_ids": ["TableImg_Xyupo_59.png", "TableImg_Z18ld_34.png"], "original_data_index": 959} +{"question": "SELECT MAX(Nationality), Graduation_College, AVG(Name), COUNT(Age) FROM people WHERE \"Age\" >= 37 AND Name = \"Tim Naegeli\" AND \"People_ID\" <= 2 AND Nationality <> \"United Kindom\" EXCEPT SELECT MAX(Nationality), Graduation_College, AVG(Name), COUNT(Age) FROM people WHERE Graduation_College = \"Northeastern\" OR Nationality <> \"United States\" OR \"Age\" > 27", "answer": {"columns": ["MAX(Nationality)", "Graduation_College", "AVG(Name)", "COUNT(Age)"], "index": [0], "data": [["", "", "", "0"]]}, "table_names": "['people' 'people']", "table_image_ids": ["TableImg_E1lyj_7.png", "TableImg_914xj_7.png"], "original_data_index": 960} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 7 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["3"], ["7"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_A67na_12.png", "TableImg_8aoui_5.png"], "original_data_index": 961} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 5 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Qxrhq_12.png", "TableImg_Hvofy_5.png"], "original_data_index": 962} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 5 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["3"], ["4"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Eeprt_12.png", "TableImg_Eagka_5.png"], "original_data_index": 963} +{"question": "SELECT COUNT(FullName), Country, COUNT(Maker), MIN(Id) FROM car_makers WHERE Country != \"5\" GROUP BY Country HAVING MIN(Id) = 22 UNION SELECT COUNT(FullName), Country, COUNT(Maker), MIN(Id) FROM car_makers WHERE FullName <> \"Fiat\" GROUP BY Country HAVING MIN(Id) != 20", "answer": {"columns": ["COUNT(FullName)", "Country", "COUNT(Maker)", "MIN(Id)"], "index": [0, 1, 2, 3, 4, 5], "data": [["2", "6", "2", "17"], ["2", "8", "2", "22"], ["3", "3", "3", "7"], ["4", "1", "4", "1"], ["4", "2", "4", "2"], ["5", "4", "5", "8"]]}, "table_names": "['car_makers' 'car_makers']", "table_image_ids": ["TableImg_Zr4d6_22.png", "TableImg_9jyzz_22.png"], "original_data_index": 964} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 9 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5], "data": [["4"], ["7"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Hazb8_12.png", "TableImg_2iz4d_5.png"], "original_data_index": 965} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 4 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "data": [["1"], ["2"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Mbuod_12.png", "TableImg_H4nz0_5.png"], "original_data_index": 966} +{"question": "SELECT PetID FROM Has_Pet WHERE \"StuID\" != 1001 INTERSECT SELECT PetID FROM Pets WHERE \"PetID\" <> 2001", "answer": {"columns": ["PetID"], "index": [0, 1], "data": [["2002"], ["2003"]]}, "table_names": "['Has_Pet' 'Pets']", "table_image_ids": ["TableImg_Rf45e_3.png", "TableImg_P0udv_3.png"], "original_data_index": 967} +{"question": "SELECT Allergy FROM Allergy_Type WHERE Allergy <> \"Nuts\" OR AllergyType <> \"food\" UNION ALL SELECT Allergy FROM Allergy_Type WHERE Allergy = \"Grass Pollen\"", "answer": {"columns": ["Allergy"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13], "data": [["Eggs"], ["Milk"], ["Shellfish"], ["Anchovies"], ["Wheat"], ["Soy"], ["Ragweed"], ["Tree Pollen"], ["Grass Pollen"], ["Cat"], ["Dog"], ["Rodent"], ["Bee Stings"], ["Grass Pollen"]]}, "table_names": "['Allergy_Type' 'Allergy_Type']", "table_image_ids": ["TableImg_4x3w6_14.png", "TableImg_Spb46_14.png"], "original_data_index": 968} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 1 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Hq4lt_5.png", "TableImg_Afh1w_4.png"], "original_data_index": 969} +{"question": "SELECT Party FROM election WHERE \"District\" <= 1 OR Committee <> \"Appropriations\" UNION ALL SELECT Party FROM party WHERE Comptroller != \"John Faso\" AND Attorney_General = \"Eliot Spitzer\" OR US_Senate <> \"Charles Schumer\" OR Party != \"Independence\" AND \"Party_ID\" >= 2 AND \"Year\" < 2002.0", "answer": {"columns": ["Party"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12], "data": [["1"], ["1"], ["2"], ["3"], ["4"], ["7"], ["Democratic"], ["Liberal"], ["Democratic"], ["Independence"], ["Democratic"], ["Independence"], ["Working Families"]]}, "table_names": "['election' 'party']", "table_image_ids": ["TableImg_6p1z2_8.png", "TableImg_0rb4q_7.png"], "original_data_index": 970} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 4 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4], "data": [["5"], ["6"], ["8"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_249cu_12.png", "TableImg_Owo6w_5.png"], "original_data_index": 971} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 5 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 7", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["5"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Hbcv3_12.png", "TableImg_Lpbxn_5.png"], "original_data_index": 972} +{"question": "SELECT MIN(Aircraft_ID) FROM aircraft WHERE Max_Gross_Weight != \"123,500 lb (56,000 kg)\" AND \"Aircraft_ID\" >= 1 OR Max_disk_Loading <> \"8.8 lb/ft\u00b2 (43 kg/m\u00b2)\" OR Aircraft <> \"Bell 206B3 JetRanger\" UNION ALL SELECT MIN(Aircraft_ID) FROM airport_aircraft WHERE \"Airport_ID\" <> 1", "answer": {"columns": ["MIN(Aircraft_ID)"], "index": [0, 1], "data": [["1"], ["1"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Gtinw_5.png", "TableImg_P3r55_4.png"], "original_data_index": 973} +{"question": "SELECT Earnings, Best_Finish, Final_Table_Made FROM poker_player WHERE \"Best_Finish\" > 1.0 OR \"Earnings\" = 189233.0 INTERSECT SELECT Earnings, Best_Finish, Final_Table_Made FROM poker_player WHERE \"People_ID\" <> 6 AND \"Final_Table_Made\" <> 21.0", "answer": {"columns": ["Earnings", "Best_Finish", "Final_Table_Made"], "index": [0, 1], "data": [["142800", "3", "26"], ["189233", "2", "10"]]}, "table_names": "['poker_player' 'poker_player']", "table_image_ids": ["TableImg_V6r84_5.png", "TableImg_Rgc7j_5.png"], "original_data_index": 974} +{"question": "SELECT document_id FROM Documents WHERE \"document_id\" = 2 AND document_status_code <> \"working\" UNION SELECT document_id FROM Draft_Copies WHERE \"copy_number\" = 10", "answer": {"columns": ["document_id"], "index": [0, 1, 2], "data": [["2"], ["10"], ["12"]]}, "table_names": "['Documents' 'Draft_Copies']", "table_image_ids": ["TableImg_1j2b7_15.png", "TableImg_Zka96_8.png"], "original_data_index": 975} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 5 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["5"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Vn1aa_12.png", "TableImg_3ny0p_5.png"], "original_data_index": 976} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 6 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_X2un3_12.png", "TableImg_1k9me_5.png"], "original_data_index": 977} +{"question": "SELECT AVG(Price) FROM publication WHERE \"Book_ID\" < 5 OR \"Publication_ID\" = 5 UNION ALL SELECT AVG(Price) FROM publication WHERE Publisher <> \"Pearson\" AND \"Book_ID\" >= 9 OR \"Publication_ID\" <> 2 OR Publication_Date = \"October 2005\"", "answer": {"columns": ["AVG(Price)"], "index": [0, 1], "data": [["7025000"], ["4850000"]]}, "table_names": "['publication' 'publication']", "table_image_ids": ["TableImg_3rp36_7.png", "TableImg_3w9gc_7.png"], "original_data_index": 978} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 9 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Gv0d5_12.png", "TableImg_T8qet_5.png"], "original_data_index": 979} +{"question": "SELECT ModelId, MIN(Maker), SUM(Model) FROM model_list WHERE \"Maker\" <= 16 AND Model <> \"capri\" EXCEPT SELECT ModelId, MIN(Maker), SUM(Model) FROM model_list WHERE Model = \"pontiac\" OR \"Maker\" >= 4 OR \"ModelId\" > 17", "answer": {"columns": ["ModelId", "MIN(Maker)", "SUM(Model)"], "index": [0], "data": [["1", "1", "0"]]}, "table_names": "['model_list' 'model_list']", "table_image_ids": ["TableImg_W47cc_36.png", "TableImg_Kc2a9_36.png"], "original_data_index": 980} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 8 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4], "data": [["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Z6sg1_12.png", "TableImg_Gcrpt_5.png"], "original_data_index": 981} +{"question": "SELECT Product_ID, Store_ID FROM store_product WHERE \"Product_ID\" <= 1 INTERSECT SELECT Product_ID, Store_ID FROM store_product WHERE \"Store_ID\" > 1", "answer": {"columns": ["Product_ID", "Store_ID"], "index": [0, 1], "data": [["1", "2"], ["1", "5"]]}, "table_names": "['store_product' 'store_product']", "table_image_ids": ["TableImg_3yjab_15.png", "TableImg_1jof5_15.png"], "original_data_index": 982} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 11 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7], "data": [["1"], ["2"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_4qw7w_12.png", "TableImg_X0cpe_5.png"], "original_data_index": 983} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 9 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Ixff1_12.png", "TableImg_Pj7su_5.png"], "original_data_index": 984} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 7 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Khqka_12.png", "TableImg_Uorpm_5.png"], "original_data_index": 985} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 7 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["7"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Qsrlx_12.png", "TableImg_Skswh_5.png"], "original_data_index": 986} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 2 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_7xeko_12.png", "TableImg_4gf3j_5.png"], "original_data_index": 987} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 10 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["8"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_5os3v_12.png", "TableImg_9sbsb_5.png"], "original_data_index": 988} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID = 4 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 1", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3], "data": [["2"], ["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Ed0go_5.png", "TableImg_Dol3p_4.png"], "original_data_index": 989} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 4 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID = 3", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_1uicm_5.png", "TableImg_Sngik_4.png"], "original_data_index": 990} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 7 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["8"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Oi3j2_12.png", "TableImg_Gulyf_5.png"], "original_data_index": 991} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 11 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["3"], ["4"], ["7"], ["9"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_0bval_12.png", "TableImg_1mwfu_5.png"], "original_data_index": 992} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 12 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4], "data": [["4"], ["7"], ["9"], ["10"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Bduyo_12.png", "TableImg_Cueiy_5.png"], "original_data_index": 993} +{"question": "SELECT Employee_ID, Age FROM employee WHERE \"Employee_ID\" = 3 AND Name <> \"Louis Deacon\" AND \"Age\" = 30 OR City != \"Bristol\" EXCEPT SELECT Employee_ID, Age FROM employee WHERE \"Age\" != 29 AND \"Employee_ID\" != 2", "answer": {"columns": ["Employee_ID", "Age"], "index": [0, 1, 2], "data": [["2", "29"], ["5", "29"], ["7", "29"]]}, "table_names": "['employee' 'employee']", "table_image_ids": ["TableImg_Qwaa4_10.png", "TableImg_61ldj_10.png"], "original_data_index": 994} +{"question": "SELECT T1.PetID, T2.weight FROM Has_Pet as T1 JOIN Pets as T2 ON T1.PetID == T2.PetID GROUP BY StuID HAVING StuID >= 1002 AND PetType = \"dog\" OR weight <> 12.0 AND pet_age > 2", "answer": {"columns": ["PetID", "weight"], "index": [0], "data": [["2002", "13.4"]]}, "table_names": "['Has_Pet' 'Pets']", "table_image_ids": ["TableImg_Wex1c_3.png", "TableImg_Z7rkn_3.png"], "original_data_index": 995} +{"question": "SELECT Year_awarded FROM evaluation WHERE Year_awarded != \"2018\" UNION SELECT Year_awarded FROM evaluation WHERE Year_awarded <> \"2016\" OR \"Bonus\" = 3200.0", "answer": {"columns": ["Year_awarded"], "index": [0, 1, 2, 3, 4], "data": [["2011"], ["2015"], ["2016"], ["2017"], ["2018"]]}, "table_names": "['evaluation' 'evaluation']", "table_image_ids": ["TableImg_Vyl7o_6.png", "TableImg_T3tw9_6.png"], "original_data_index": 996} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 1 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID = 3", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["3"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_C8mkr_5.png", "TableImg_C917f_4.png"], "original_data_index": 997} +{"question": "SELECT Budget_in_Billions FROM department WHERE \"Ranking\" != 6 OR \"Department_ID\" <= 13 OR Name <> \"Defense\" NOT IN (SELECT Budget_in_Billions FROM department WHERE Creation <> \"1913\" AND \"Budget_in_Billions\" < 77.6 OR Name <> \"Homeland Security\")", "answer": {"columns": ["Budget_in_Billions"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14], "data": [["9.96"], ["11.1"], ["439.3"], ["23.4"], ["10.7"], ["77.6"], ["6.2"], ["59.7"], ["543.2"], ["46.2"], ["58.0"], ["21.5"], ["62.8"], ["73.2"], ["44.6"]]}, "table_names": "['department' 'department']", "table_image_ids": ["TableImg_Wopib_15.png", "TableImg_87ayz_15.png"], "original_data_index": 998} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 5 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 3", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["3"], ["4"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Xir2q_5.png", "TableImg_Hazf5_4.png"], "original_data_index": 999} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 3 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 7", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["3"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_8w0s4_12.png", "TableImg_P8dy6_5.png"], "original_data_index": 1000} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 4 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5], "data": [["1"], ["2"], ["3"], ["4"], ["7"], ["9"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_2yn0k_12.png", "TableImg_To9kd_5.png"], "original_data_index": 1001} +{"question": "SELECT feature_id, property_id, property_feature_description FROM Other_Property_Features WHERE \"property_id\" <> 6 AND property_feature_description = \"illo\" OR \"feature_id\" <= 3 UNION SELECT feature_id, property_id, property_feature_description FROM Other_Property_Features WHERE property_feature_description <> \"illo\" AND \"property_id\" >= 6 OR \"feature_id\" > 2", "answer": {"columns": ["feature_id", "property_id", "property_feature_description"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14], "data": [["2", "1", "ad"], ["2", "3", "cumque"], ["2", "6", "illo"], ["2", "7", "hic"], ["2", "13", "autem"], ["3", "4", "odio"], ["3", "6", "corrupti"], ["3", "6", "doloribus"], ["3", "6", "et"], ["3", "9", "quo"], ["3", "15", "dolorem"], ["4", "11", "vitae"], ["4", "12", "earum"], ["4", "14", "modi"], ["4", "14", "quo"]]}, "table_names": "['Other_Property_Features' 'Other_Property_Features']", "table_image_ids": ["TableImg_Obybd_15.png", "TableImg_3ks0f_15.png"], "original_data_index": 1002} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 12 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Fx3is_12.png", "TableImg_Yu8ou_5.png"], "original_data_index": 1003} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 1 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_89q99_12.png", "TableImg_80030_5.png"], "original_data_index": 1004} +{"question": "SELECT other_details, receipt_number, document_id, receipt_date FROM Documents WHERE receipt_number = \"189\" AND document_type_code != \"Hard Drive\" OR \"document_id\" <= 1 UNION SELECT other_details, receipt_number, document_id, receipt_date FROM Documents WHERE document_type_code != \"CD\" AND \"document_id\" <= 3 AND shipping_agent_code = \"UP\" AND other_details != \"y\" OR receipt_date = \"2014-12-25 17:22:44\"", "answer": {"columns": ["other_details", "receipt_number", "document_id", "receipt_date"], "index": [0, 1, 2], "data": [["h", "93", "3", "2014-12-25 17:22:44"], ["x", "189", "20", "1996-07-27 03:30:40"], ["z", "19", "1", "2008-04-21 20:42:25"]]}, "table_names": "['Documents' 'Documents']", "table_image_ids": ["TableImg_56vm8_15.png", "TableImg_7md88_15.png"], "original_data_index": 1005} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 12 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["7"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Qwo6c_12.png", "TableImg_Pou3z_5.png"], "original_data_index": 1006} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 7 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["5"], ["6"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_D2o50_12.png", "TableImg_4scvm_5.png"], "original_data_index": 1007} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 4 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 1", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["3"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Hxxex_5.png", "TableImg_Ujrsh_4.png"], "original_data_index": 1008} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 12 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Urnxc_12.png", "TableImg_8z2am_5.png"], "original_data_index": 1009} +{"question": "SELECT first_name, staff_id, date_left_staff FROM Staff WHERE nickname = \"ynader\" AND first_name <> \"Rebekah\" OR last_name != \"Jast\" OR date_left_staff = \"2018-03-08 04:23:14\" AND \"staff_address_id\" > 1 AND middle_name = \"Ulices\" AND \"staff_id\" != 15 OR date_joined_staff != \"2018-01-02 12:24:24\" UNION SELECT first_name, staff_id, date_left_staff FROM Staff WHERE first_name <> \"Jaleel\" OR nickname <> \"ynader\" AND last_name <> \"Turner\" AND \"staff_id\" = 2 OR date_joined_staff != \"2017-08-27 19:19:44\"", "answer": {"columns": ["first_name", "staff_id", "date_left_staff"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14], "data": [["Camylle", "2", "2018-03-10 15:25:00"], ["Ernestina", "13", "2018-02-26 17:56:31"], ["Eulalia", "6", "2018-02-28 08:26:10"], ["Jaleel", "10", "2018-03-14 07:14:37"], ["Janessa", "1", "2018-03-23 22:53:12"], ["Jedidiah", "5", "2018-03-08 04:23:14"], ["Kaitlin", "3", "2018-03-24 10:11:08"], ["Lincoln", "12", "2018-03-06 23:17:41"], ["Ludie", "14", "2018-03-02 01:48:15"], ["Margie", "9", "2018-03-08 12:31:16"], ["Queenie", "7", "2018-03-08 05:16:29"], ["Rebekah", "4", "2018-03-04 17:13:53"], ["Simeon", "15", "2018-03-01 17:10:03"], ["Titus", "8", "2018-03-05 18:30:12"], ["Winnifred", "11", "2018-03-09 05:08:35"]]}, "table_names": "['Staff' 'Staff']", "table_image_ids": ["TableImg_Vebej_15.png", "TableImg_Carxa_15.png"], "original_data_index": 1010} +{"question": "SELECT AVG(id) FROM flight WHERE \"company_id\" < 1 AND \"airport_id\" <= 1 OR Pilot = \"Thompson\" UNION SELECT AVG(id) FROM operate_company WHERE \"id\" != 5 AND name = \"CLS Catering Services Limited\" OR Incorporated_in = \"Vietnam\" AND Principal_activities <> \"Travel agency\" OR Type = \"Joint Venture\" AND \"Group_Equity_Shareholding\" = 49.0", "answer": {"columns": ["AVG(id)"], "index": [0, 1], "data": [["6.3"], ["9.6666666667"]]}, "table_names": "['flight' 'operate_company']", "table_image_ids": ["TableImg_1qn2j_13.png", "TableImg_Ncg1a_14.png"], "original_data_index": 1011} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 10 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["4"], ["7"], ["9"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_5bjta_12.png", "TableImg_1wq9n_5.png"], "original_data_index": 1012} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 7 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7], "data": [["3"], ["4"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_6rrfc_12.png", "TableImg_Jzssx_5.png"], "original_data_index": 1013} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 4 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5], "data": [["1"], ["2"], ["3"], ["4"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_9zq3y_12.png", "TableImg_Got5p_5.png"], "original_data_index": 1014} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 11 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 4", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["4"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Gfigl_12.png", "TableImg_5yljl_5.png"], "original_data_index": 1015} +{"question": "SELECT u_id FROM review WHERE \"a_id\" <= 5 AND \"u_id\" = 1 OR \"rating\" != 10 AND \"i_id\" >= 3 OR \"rank\" != 4 EXCEPT SELECT u_id FROM useracct WHERE name <> \"Mark\" OR \"u_id\" = 4", "answer": {"columns": ["u_id"], "index": [0], "data": [["2"]]}, "table_names": "['review' 'useracct']", "table_image_ids": ["TableImg_Fdztg_7.png", "TableImg_L14ja_7.png"], "original_data_index": 1016} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 3 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 2", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["3"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Odhls_5.png", "TableImg_Itjj9_4.png"], "original_data_index": 1017} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 10 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 3", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["3"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Jrld5_12.png", "TableImg_1drmi_5.png"], "original_data_index": 1018} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 3 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 10", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_B0cz5_12.png", "TableImg_Uwz76_5.png"], "original_data_index": 1019} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 12 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_0doeu_12.png", "TableImg_Prikf_5.png"], "original_data_index": 1020} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 5 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 2", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Clgzt_5.png", "TableImg_Rml6j_4.png"], "original_data_index": 1021} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 1 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 1", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2], "data": [["2"], ["3"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_5usio_5.png", "TableImg_Ykn3a_4.png"], "original_data_index": 1022} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 5 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["1"], ["2"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_G978j_12.png", "TableImg_42tvn_5.png"], "original_data_index": 1023} +{"question": "SELECT COUNT(T1.Book_ID), T2.Price FROM book as T1 JOIN publication as T2 ON T1.Book_ID = T2.Book_ID WHERE Title = \"The Dome: Ground Zero\" OR Publication_Date <> \"August 2008\" OR \"Price\" <> 2000000.0 OR Writer <> \"Garth Ennis\" AND \"Publication_ID\" > 5 GROUP BY Writer HAVING Publisher = \"Thomson Reuters\"", "answer": {"columns": ["COUNT(T1.Book_ID)", "Price"], "index": [0], "data": [["1", "6000000"]]}, "table_names": "['book' 'publication']", "table_image_ids": ["TableImg_2y8ek_10.png", "TableImg_V4nhr_7.png"], "original_data_index": 1024} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 3 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 1", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2], "data": [["2"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Liwcy_5.png", "TableImg_Zbr6b_4.png"], "original_data_index": 1025} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 12 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "data": [["1"], ["2"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_N471q_12.png", "TableImg_Nl58q_5.png"], "original_data_index": 1026} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 6 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["1"], ["2"], ["5"], ["8"], ["9"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Tlkxu_12.png", "TableImg_W06xm_5.png"], "original_data_index": 1027} +{"question": "SELECT contestant_number FROM CONTESTANTS WHERE contestant_name <> \"Loraine NygrenTania Mattioli\" OR \"contestant_number\" > 2 INTERSECT SELECT contestant_number FROM CONTESTANTS WHERE contestant_name = \"Kelly Clauss\" OR \"contestant_number\" > 6", "answer": {"columns": ["contestant_number"], "index": [0, 1, 2, 3, 4, 5], "data": [["3"], ["7"], ["8"], ["9"], ["10"], ["11"]]}, "table_names": "['CONTESTANTS' 'CONTESTANTS']", "table_image_ids": ["TableImg_Aw8w8_11.png", "TableImg_Asv5r_11.png"], "original_data_index": 1028} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 10 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Jvu2c_12.png", "TableImg_E74ec_5.png"], "original_data_index": 1029} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 1 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 2", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["1"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_M80se_5.png", "TableImg_Sffnz_4.png"], "original_data_index": 1030} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 1 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 1", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2], "data": [["2"], ["3"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_L4xfj_5.png", "TableImg_Txt75_4.png"], "original_data_index": 1031} +{"question": "SELECT temporary_acting, head_ID FROM management WHERE \"head_ID\" <> 5 OR \"department_ID\" != 2 AND temporary_acting != \"No\" INTERSECT SELECT temporary_acting, head_ID FROM management WHERE temporary_acting != \"Yes\" AND \"department_ID\" > 15 OR \"head_ID\" <> 3", "answer": {"columns": ["temporary_acting", "head_ID"], "index": [0, 1, 2], "data": [["No", "10"], ["Yes", "4"], ["Yes", "6"]]}, "table_names": "['management' 'management']", "table_image_ids": ["TableImg_6xvtu_5.png", "TableImg_Jnkwm_5.png"], "original_data_index": 1032} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 2 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "data": [["2"], ["3"], ["4"], ["5"], ["6"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_J4sz7_12.png", "TableImg_Ehjya_5.png"], "original_data_index": 1033} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 12 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7], "data": [["1"], ["2"], ["3"], ["5"], ["6"], ["8"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_X0y5n_12.png", "TableImg_Yebv6_5.png"], "original_data_index": 1034} +{"question": "SELECT MIN(Group_Equity_Shareholding), Incorporated_in, SUM(Type), Principal_activities, id, MAX(name) FROM operate_company WHERE \"Group_Equity_Shareholding\" <= 18.77 AND name <> \"Hong Kong Airport Services\" AND Incorporated_in <> \"Hong Kong\" OR Type = \"Subsidiary\" AND \"id\" = 9 UNION ALL SELECT MIN(Group_Equity_Shareholding), Incorporated_in, SUM(Type), Principal_activities, id, MAX(name) FROM operate_company WHERE \"Group_Equity_Shareholding\" > 100.0 OR Principal_activities <> \"Cargo airline\"", "answer": {"columns": ["MIN(Group_Equity_Shareholding)", "Incorporated_in", "SUM(Type)", "Principal_activities", "id", "MAX(name)"], "index": [0, 1], "data": [["18.77", "Hong Kong", "0", "Travel agency", "9", "Dragonair Holidays"], ["18.77", "Hong Kong", "0", "Laundry", "11", "Vogue Laundry Service Limited"]]}, "table_names": "['operate_company' 'operate_company']", "table_image_ids": ["TableImg_3c0kh_14.png", "TableImg_1a0p0_14.png"], "original_data_index": 1035} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 12 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 10", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Qn7j2_12.png", "TableImg_Opevh_5.png"], "original_data_index": 1036} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 1 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 3", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["2"], ["3"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_U2w7j_5.png", "TableImg_Fn6lk_4.png"], "original_data_index": 1037} +{"question": "SELECT Store_ID FROM store WHERE Type <> \"City Mall\" OR \"Ranking\" >= 2 OR \"Number_of_product_category\" < 1170.0 AND Store_Name = \"Miramichi\" AND \"Area_size\" >= 21.73 INTERSECT SELECT Store_ID FROM store_district WHERE \"District_ID\" = 15", "answer": {"columns": ["Store_ID"], "index": [0, 1], "data": [["1"], ["2"]]}, "table_names": "['store' 'store_district']", "table_image_ids": ["TableImg_Lst5q_5.png", "TableImg_V6b3x_5.png"], "original_data_index": 1038} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 3 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_2lbyu_5.png", "TableImg_Qh3o7_4.png"], "original_data_index": 1039} +{"question": "SELECT u_id FROM review WHERE \"u_id\" = 2 AND \"rank\" != 2 OR \"a_id\" != 7 INTERSECT SELECT u_id FROM useracct WHERE name <> \"Mark\"", "answer": {"columns": ["u_id"], "index": [0], "data": [["1"]]}, "table_names": "['review' 'useracct']", "table_image_ids": ["TableImg_Irrun_7.png", "TableImg_O74cs_7.png"], "original_data_index": 1040} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 5 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 1", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_K6a61_5.png", "TableImg_3ckzx_4.png"], "original_data_index": 1041} +{"question": "SELECT SUM(nickname), date_left_staff, date_of_birth, staff_id, MAX(middle_name), staff_address_id, SUM(last_name) FROM Staff WHERE date_joined_staff <> \"2017-06-04 14:30:41\" AND date_of_birth <> \"2003-01-16 06:29:11\" AND nickname != \"weissnat.vincenzo\" AND date_left_staff = \"2018-03-08 04:23:14\" AND \"staff_id\" <= 3 AND \"staff_address_id\" > 3 UNION SELECT SUM(nickname), date_left_staff, date_of_birth, staff_id, MAX(middle_name), staff_address_id, SUM(last_name) FROM Staff WHERE \"staff_address_id\" >= 1", "answer": {"columns": ["SUM(nickname)", "date_left_staff", "date_of_birth", "staff_id", "MAX(middle_name)", "staff_address_id", "SUM(last_name)"], "index": [0, 1], "data": [["", "", "", "", "", "", ""], ["0.0", "2018-03-02 01:48:15", "2000-11-16 06:55:12", "14.0", "Ulices", "6.0", "0.0"]]}, "table_names": "['Staff' 'Staff']", "table_image_ids": ["TableImg_Mkkk6_15.png", "TableImg_Falwm_15.png"], "original_data_index": 1042} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 1 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 3", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["3"], ["4"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Rqvgp_5.png", "TableImg_Wo0oc_4.png"], "original_data_index": 1043} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 11 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "data": [["1"], ["2"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_G9mpo_12.png", "TableImg_Tlr8n_5.png"], "original_data_index": 1044} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 7 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["3"], ["4"], ["7"], ["9"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_V9ual_12.png", "TableImg_Unocj_5.png"], "original_data_index": 1045} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 5 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["3"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Ru1mu_5.png", "TableImg_F1xc7_4.png"], "original_data_index": 1046} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 1 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["4"], ["7"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Q9113_12.png", "TableImg_Ort49_5.png"], "original_data_index": 1047} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 5 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID = 1", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2], "data": [["2"], ["3"], ["4"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Mpkrp_5.png", "TableImg_Hkvsp_4.png"], "original_data_index": 1048} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 3 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 3", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["3"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Uqpqk_5.png", "TableImg_Lmgn2_4.png"], "original_data_index": 1049} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 6 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_7dk3j_12.png", "TableImg_K0ow6_5.png"], "original_data_index": 1050} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 7 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 9", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["9"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Escyd_12.png", "TableImg_La72i_5.png"], "original_data_index": 1051} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 1 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 1", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["4"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Jtmjp_5.png", "TableImg_T2h8h_4.png"], "original_data_index": 1052} +{"question": "SELECT aid FROM aircraft WHERE \"distance\" < 6441 UNION ALL SELECT aid FROM certificate WHERE \"aid\" > 7", "answer": {"columns": ["aid"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42], "data": [["2"], ["4"], ["5"], ["6"], ["7"], ["8"], ["16"], ["10"], ["13"], ["14"], ["15"], ["10"], ["10"], ["12"], ["10"], ["11"], ["12"], ["13"], ["10"], ["8"], ["9"], ["10"], ["11"], ["12"], ["13"], ["14"], ["15"], ["10"], ["12"], ["8"], ["9"], ["8"], ["9"], ["13"], ["14"], ["12"], ["14"], ["9"], ["10"], ["11"], ["12"], ["15"], ["8"]]}, "table_names": "['aircraft' 'certificate']", "table_image_ids": ["TableImg_0plpy_16.png", "TableImg_Cfxc1_69.png"], "original_data_index": 1053} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 7 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["3"], ["4"], ["9"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Hbevv_12.png", "TableImg_Fy1yd_5.png"], "original_data_index": 1054} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 7 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["9"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Cux6a_12.png", "TableImg_Y5ey7_5.png"], "original_data_index": 1055} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 8 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["5"], ["6"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_V1edp_12.png", "TableImg_F1y2r_5.png"], "original_data_index": 1056} +{"question": "SELECT Employee_ID FROM employee WHERE \"Age\" >= 32 OR City <> \"Wasps\" OR \"Employee_ID\" != 8 OR Name <> \"Louis Deacon\" UNION SELECT Employee_ID FROM evaluation WHERE Year_awarded != \"2011\"", "answer": {"columns": ["Employee_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["1"], ["10"], ["2"], ["4"], ["7"]]}, "table_names": "['employee' 'evaluation']", "table_image_ids": ["TableImg_Pijwp_10.png", "TableImg_Cntg3_6.png"], "original_data_index": 1057} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 3 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 2", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["2"], ["4"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_X3zed_5.png", "TableImg_Oyl2l_4.png"], "original_data_index": 1058} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 7 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["3"], ["4"], ["7"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Fm8rd_12.png", "TableImg_9t84g_5.png"], "original_data_index": 1059} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 12 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Qe9kk_12.png", "TableImg_D6nuo_5.png"], "original_data_index": 1060} +{"question": "SELECT SUM(document_status_code) FROM Documents WHERE receipt_number <> \"124\" OR document_status_code != \"working\" AND shipping_agent_code = \"US\" OR receipt_date != \"1974-05-08 00:00:46\" OR other_details = \"r\" INTERSECT SELECT SUM(document_status_code) FROM Documents WHERE document_type_code <> \"Hard Drive\"", "answer": {"columns": ["SUM(document_status_code)"], "index": [0], "data": [["0"]]}, "table_names": "['Documents' 'Documents']", "table_image_ids": ["TableImg_Oznc6_15.png", "TableImg_7q3x7_15.png"], "original_data_index": 1061} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 9 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["8"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Uncm5_12.png", "TableImg_Tm3vh_5.png"], "original_data_index": 1062} +{"question": "SELECT AVG(employee_id) FROM Circulation_History WHERE \"employee_id\" < 2 UNION SELECT AVG(employee_id) FROM Employees WHERE role_code = \"ED\" AND employee_name = \"Clemens\" AND \"employee_id\" <> 7", "answer": {"columns": ["AVG(employee_id)"], "index": [0, 1], "data": [[""], ["1.0"]]}, "table_names": "['Circulation_History' 'Employees']", "table_image_ids": ["TableImg_Cpxts_4.png", "TableImg_Kn8ld_6.png"], "original_data_index": 1063} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 11 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["3"], ["4"], ["7"], ["9"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_S1t03_12.png", "TableImg_Udbr1_5.png"], "original_data_index": 1064} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 3 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 2", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["4"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Mdeek_5.png", "TableImg_5bg5z_4.png"], "original_data_index": 1065} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 10 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 3", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["3"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Jwmex_12.png", "TableImg_Igmpg_5.png"], "original_data_index": 1066} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 8 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4], "data": [["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_6m7hi_12.png", "TableImg_Nlhgs_5.png"], "original_data_index": 1067} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 4 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "data": [["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Zbj8z_12.png", "TableImg_Xy2wm_5.png"], "original_data_index": 1068} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 12 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Snaev_12.png", "TableImg_W0x49_5.png"], "original_data_index": 1069} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 8 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_3twx0_12.png", "TableImg_P4ocz_5.png"], "original_data_index": 1070} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 4 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "data": [["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_1a89j_12.png", "TableImg_Kn8yd_5.png"], "original_data_index": 1071} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 2 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 3", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Luhk3_5.png", "TableImg_Wpygg_4.png"], "original_data_index": 1072} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 2 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 2", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["1"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Yoehq_5.png", "TableImg_Rjqln_4.png"], "original_data_index": 1073} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 11 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["8"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_1uhb7_12.png", "TableImg_Sihkd_5.png"], "original_data_index": 1074} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 8 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Kqo46_12.png", "TableImg_Bvjlr_5.png"], "original_data_index": 1075} +{"question": "SELECT Continent FROM continents WHERE \"ContId\" <> 2 AND Continent != \"america\" UNION SELECT Continent FROM countries WHERE CountryName != \"australia\" OR \"CountryId\" < 6 AND \"Continent\" = 3", "answer": {"columns": ["Continent"], "index": [0, 1, 2, 3, 4, 5, 6, 7], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["africa"], ["asia"], ["australia"]]}, "table_names": "['continents' 'countries']", "table_image_ids": ["TableImg_Zlgi3_5.png", "TableImg_Ik5mv_15.png"], "original_data_index": 1076} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 9 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Q1wuq_12.png", "TableImg_T9onr_5.png"], "original_data_index": 1077} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 11 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["4"], ["11"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_91iq4_12.png", "TableImg_1jx2r_5.png"], "original_data_index": 1078} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 8 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4], "data": [["3"], ["4"], ["7"], ["8"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Zwpad_12.png", "TableImg_5zy1d_5.png"], "original_data_index": 1079} +{"question": "SELECT Product_ID, Store_ID FROM store_product WHERE \"Store_ID\" < 2 UNION SELECT Product_ID, Store_ID FROM store_product WHERE \"Product_ID\" = 1", "answer": {"columns": ["Product_ID", "Store_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["1", "1"], ["1", "2"], ["1", "5"], ["2", "1"], ["3", "1"], ["4", "1"], ["6", "1"]]}, "table_names": "['store_product' 'store_product']", "table_image_ids": ["TableImg_9kh4w_15.png", "TableImg_Dgd1l_15.png"], "original_data_index": 1080} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 6 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["7"], ["8"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_1r9fs_12.png", "TableImg_3ux4r_5.png"], "original_data_index": 1081} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 1 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3], "data": [["2"], ["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Zxgaj_5.png", "TableImg_6sk5d_4.png"], "original_data_index": 1082} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 8 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 10", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["8"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_6v8wu_12.png", "TableImg_Y99ii_5.png"], "original_data_index": 1083} +{"question": "SELECT document_id FROM Circulation_History WHERE \"copy_number\" >= 15 OR \"draft_number\" <> 20 AND \"document_id\" < 1 UNION SELECT document_id FROM Document_Drafts WHERE draft_details = \"b\" OR \"draft_number\" >= 1", "answer": {"columns": ["document_id"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["4"], ["7"], ["10"], ["12"], ["13"], ["14"], ["17"], ["20"], ["23"]]}, "table_names": "['Circulation_History' 'Document_Drafts']", "table_image_ids": ["TableImg_15oeb_4.png", "TableImg_7bvh0_15.png"], "original_data_index": 1084} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 4 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["1"], ["2"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_170x5_12.png", "TableImg_6nr98_5.png"], "original_data_index": 1085} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID = 1 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 2", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2], "data": [["1"], ["3"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_6s79x_5.png", "TableImg_Nw091_4.png"], "original_data_index": 1086} +{"question": "SELECT StuID FROM Member_of_club WHERE Position <> \"CTO\" INTERSECT SELECT StuID FROM Student WHERE LName = \"Lee\"", "answer": {"columns": ["StuID"], "index": [0], "data": [["1010"]]}, "table_names": "['Member_of_club' 'Student']", "table_image_ids": ["TableImg_Bozz6_4.png", "TableImg_Wnbje_34.png"], "original_data_index": 1087} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 2 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["3"], ["7"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_6e2ys_12.png", "TableImg_Pt3f0_5.png"], "original_data_index": 1088} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 3 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 3", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["1"], ["2"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Tzvov_5.png", "TableImg_157db_4.png"], "original_data_index": 1089} +{"question": "SELECT StuID FROM Has_Allergy WHERE \"StuID\" < 1007 OR Allergy != \"Eggs\" INTERSECT SELECT StuID FROM Student WHERE \"Advisor\" >= 8722 AND Sex != \"M\" AND Fname <> \"Paul\" OR \"Age\" = 26 OR \"Major\" = 600 OR \"StuID\" <= 1034 AND LName = \"Han\"", "answer": {"columns": ["StuID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18], "data": [["1001"], ["1002"], ["1003"], ["1004"], ["1005"], ["1006"], ["1007"], ["1009"], ["1010"], ["1011"], ["1012"], ["1014"], ["1015"], ["1016"], ["1017"], ["1018"], ["1019"], ["1029"], ["1031"]]}, "table_names": "['Has_Allergy' 'Student']", "table_image_ids": ["TableImg_P8bkx_59.png", "TableImg_Mhx7j_34.png"], "original_data_index": 1090} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 2 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["1"], ["5"], ["6"], ["8"], ["9"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_3wgba_12.png", "TableImg_Rldtk_5.png"], "original_data_index": 1091} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 7 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7], "data": [["1"], ["2"], ["5"], ["6"], ["8"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Q7hsr_12.png", "TableImg_Poh2u_5.png"], "original_data_index": 1092} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 7 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 4", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["3"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Jl41g_12.png", "TableImg_K275y_5.png"], "original_data_index": 1093} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 3 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["1"], ["2"], ["5"], ["6"], ["8"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_127hf_12.png", "TableImg_Pzh72_5.png"], "original_data_index": 1094} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 3 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["1"], ["2"], ["3"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_A8hke_12.png", "TableImg_Dn894_5.png"], "original_data_index": 1095} +{"question": "SELECT draft_number FROM Circulation_History WHERE \"employee_id\" = 2 OR \"document_id\" = 1 UNION SELECT draft_number FROM Draft_Copies WHERE \"document_id\" < 1 AND \"draft_number\" != 17 OR \"copy_number\" <> 5", "answer": {"columns": ["draft_number"], "index": [0, 1, 2, 3, 4, 5], "data": [["1"], ["2"], ["9"], ["12"], ["17"], ["20"]]}, "table_names": "['Circulation_History' 'Draft_Copies']", "table_image_ids": ["TableImg_2cwws_4.png", "TableImg_90mha_8.png"], "original_data_index": 1096} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 1 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["3"], ["4"], ["7"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_3rq80_12.png", "TableImg_4yrby_5.png"], "original_data_index": 1097} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 4 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 3", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["4"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_75l15_12.png", "TableImg_7a98t_5.png"], "original_data_index": 1098} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 12 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7], "data": [["1"], ["2"], ["5"], ["6"], ["8"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Eddp6_12.png", "TableImg_Ljdg1_5.png"], "original_data_index": 1099} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 3 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 1", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_20mqs_5.png", "TableImg_Nr1ix_4.png"], "original_data_index": 1100} +{"question": "SELECT Earnings, Poker_Player_ID FROM poker_player WHERE \"Poker_Player_ID\" <= 5 OR \"Earnings\" <= 476090.0 UNION ALL SELECT Earnings, Poker_Player_ID FROM poker_player WHERE \"People_ID\" <= 7 AND \"Earnings\" != 142800.0 OR \"Final_Table_Made\" != 21.0 OR \"Money_Rank\" < 68.0", "answer": {"columns": ["Earnings", "Poker_Player_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "data": [["476090", "1"], ["189233", "2"], ["104871", "3"], ["596462", "4"], ["142800", "5"], ["476090", "1"], ["189233", "2"], ["104871", "3"], ["596462", "4"], ["142800", "5"]]}, "table_names": "['poker_player' 'poker_player']", "table_image_ids": ["TableImg_Zakey_5.png", "TableImg_E1d1s_5.png"], "original_data_index": 1101} +{"question": "SELECT MIN(School_id) FROM School WHERE County <> \"50 Marshall\" UNION SELECT MIN(School_id) FROM endowment WHERE donator_name != \"La Vega\"", "answer": {"columns": ["MIN(School_id)"], "index": [0, 1], "data": [["1"], ["3"]]}, "table_names": "['School' 'endowment']", "table_image_ids": ["TableImg_U9ozc_8.png", "TableImg_7uxep_11.png"], "original_data_index": 1102} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 7 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["8"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Ini7x_12.png", "TableImg_C4xj1_5.png"], "original_data_index": 1103} +{"question": "SELECT COUNT(T1.aid), T2.eid FROM aircraft as T1 JOIN certificate as T2 ON T1.aid = T2.aid WHERE distance > 4103 AND eid = 90873519 AND name = \"Boeing 767-400ER\"", "answer": {"columns": ["COUNT(T1.aid)", "eid"], "index": [0], "data": [["0", ""]]}, "table_names": "['aircraft' 'certificate']", "table_image_ids": ["TableImg_Vomw3_16.png", "TableImg_4snfp_69.png"], "original_data_index": 1104} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 11 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["3"], ["4"], ["7"], ["9"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_R9ihr_12.png", "TableImg_S0n7u_5.png"], "original_data_index": 1105} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 4 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID = 1", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["1"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Evbdw_5.png", "TableImg_Qhdty_4.png"], "original_data_index": 1106} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 3 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["7"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_2szgw_12.png", "TableImg_M6mhn_5.png"], "original_data_index": 1107} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 12 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Tiqwf_12.png", "TableImg_2xld8_5.png"], "original_data_index": 1108} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 10 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["1"], ["2"], ["5"], ["6"], ["8"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_55s7x_12.png", "TableImg_L1d23_5.png"], "original_data_index": 1109} +{"question": "SELECT Shop_ID FROM hiring WHERE Start_from = \"2012\" AND Is_full_time = \"T\" AND \"Shop_ID\" <> 8 INTERSECT SELECT Shop_ID FROM shop WHERE \"Number_products\" = 4780 OR Manager_name != \"Olli Huttunen\" OR Location <> \"Helsinki\" AND Name != \"FC Lahti\" OR \"Shop_ID\" < 8", "answer": {"columns": ["Shop_ID"], "index": [0], "data": [["4"]]}, "table_names": "['hiring' 'shop']", "table_image_ids": ["TableImg_08syj_7.png", "TableImg_Fetll_9.png"], "original_data_index": 1110} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 7 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Lw4uy_12.png", "TableImg_Kr36v_5.png"], "original_data_index": 1111} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 2 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 2", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["1"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Lig4r_5.png", "TableImg_Xidsw_4.png"], "original_data_index": 1112} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 3 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8], "data": [["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_P2dg6_12.png", "TableImg_Ylvzl_5.png"], "original_data_index": 1113} +{"question": "SELECT Club_ID FROM club WHERE Region != \"UK\" OR Club_name != \"AIK\" AND \"Start_year\" <> 2001 UNION SELECT Club_ID FROM coach WHERE \"Club_ID\" = 1 OR Coach_name <> \"Jameson Tomas\" OR Gender = \"M\"", "answer": {"columns": ["Club_ID"], "index": [0, 1, 2, 3, 4, 5], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"]]}, "table_names": "['club' 'coach']", "table_image_ids": ["TableImg_Geszi_6.png", "TableImg_3yg2y_5.png"], "original_data_index": 1114} +{"question": "SELECT Driver_ID FROM school_bus WHERE \"School_ID\" <> 1 OR \"Years_Working\" <> 8 AND \"Driver_ID\" <= 9 OR If_full_time = \"T\" UNION ALL SELECT Driver_ID FROM school_bus WHERE If_full_time = \"F\"", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4], "data": [["7"], ["4"], ["9"], ["3"], ["10"]]}, "table_names": "['school_bus' 'school_bus']", "table_image_ids": ["TableImg_Wzwj0_5.png", "TableImg_Ga32b_5.png"], "original_data_index": 1115} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 4 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["3"], ["4"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_0sze6_12.png", "TableImg_Dwpbv_5.png"], "original_data_index": 1116} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 1 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["3"], ["4"], ["7"], ["9"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Z216u_12.png", "TableImg_Tuube_5.png"], "original_data_index": 1117} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 2 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 10", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["1"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Pwop3_12.png", "TableImg_M5oar_5.png"], "original_data_index": 1118} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 8 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["1"], ["2"], ["5"], ["6"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_5k05t_12.png", "TableImg_U86jy_5.png"], "original_data_index": 1119} +{"question": "SELECT SUM(Other_Details) FROM Paragraphs WHERE Other_Details = \"None\" OR \"Document_ID\" = 2394 OR Paragraph_Text != \"Papua New Guinea\" INTERSECT SELECT SUM(Other_Details) FROM Paragraphs WHERE Paragraph_Text <> \"Fiji\" AND Other_Details = \"None\" AND \"Paragraph_ID\" <= 1104059 AND \"Document_ID\" >= 80", "answer": {"columns": ["SUM(Other_Details)"], "index": [0], "data": [[""]]}, "table_names": "['Paragraphs' 'Paragraphs']", "table_image_ids": ["TableImg_Qh8dc_15.png", "TableImg_Vp6a4_15.png"], "original_data_index": 1120} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 1 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 9", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Zbkg8_12.png", "TableImg_5b7cf_5.png"], "original_data_index": 1121} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 1 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["3"], ["4"], ["7"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_0urbq_12.png", "TableImg_J7117_5.png"], "original_data_index": 1122} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 6 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Q5xcc_12.png", "TableImg_Ertlb_5.png"], "original_data_index": 1123} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 9 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["9"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Utki0_12.png", "TableImg_Sh1hb_5.png"], "original_data_index": 1124} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 9 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["3"], ["4"], ["7"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Zfegr_12.png", "TableImg_94y9c_5.png"], "original_data_index": 1125} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 1 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_026ha_12.png", "TableImg_Azavv_5.png"], "original_data_index": 1126} +{"question": "SELECT MAX(Bonus) FROM evaluation WHERE Employee_ID <> \"2\" AND \"Bonus\" = 3200.0 AND Year_awarded = \"2016\" EXCEPT SELECT MAX(Bonus) FROM evaluation WHERE Employee_ID != \"4\"", "answer": {"columns": ["MAX(Bonus)"], "index": [0], "data": [[""]]}, "table_names": "['evaluation' 'evaluation']", "table_image_ids": ["TableImg_Kc9ac_6.png", "TableImg_30tsd_6.png"], "original_data_index": 1127} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 5 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 1", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["2"], ["3"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_8vzbl_5.png", "TableImg_N6vca_4.png"], "original_data_index": 1128} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 1 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 1", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["4"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Nq5tv_5.png", "TableImg_G8ri9_4.png"], "original_data_index": 1129} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 12 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Ycary_12.png", "TableImg_K63uf_5.png"], "original_data_index": 1130} +{"question": "SELECT Club_ID, Rank FROM coach WHERE Gender = \"M\" OR Coach_name <> \"Robert Chen\" UNION ALL SELECT Club_ID, Rank FROM match_result WHERE \"Big_Silver\" >= 14", "answer": {"columns": ["Club_ID", "Rank"], "index": [0, 1, 2, 3, 4, 5], "data": [["1", "1"], ["1", "2"], ["3", "3"], ["3", "4"], ["1", "5"], ["1", "1"]]}, "table_names": "['coach' 'match_result']", "table_image_ids": ["TableImg_I6g07_5.png", "TableImg_T8ixd_6.png"], "original_data_index": 1131} +{"question": "SELECT shipping_agent_code FROM Documents WHERE document_type_code = \"Paper\" AND \"document_id\" != 1 AND other_details <> \"r\" AND shipping_agent_code <> \"AL\" OR receipt_date != \"1985-11-05 17:59:34\" AND receipt_number = \"37\" EXCEPT SELECT shipping_agent_code FROM Ref_Shipping_Agents WHERE shipping_agent_name != \"UPS\"", "answer": {"columns": ["shipping_agent_code"], "index": [0], "data": [["UP"]]}, "table_names": "['Documents' 'Ref_Shipping_Agents']", "table_image_ids": ["TableImg_Fhb33_15.png", "TableImg_Ihlrw_5.png"], "original_data_index": 1132} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 9 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_7e873_12.png", "TableImg_Jtirw_5.png"], "original_data_index": 1133} +{"question": "SELECT MIN(T1.Aircraft_ID), T2.ID FROM aircraft as T1 JOIN airport_aircraft as T2 ON T1.Aircraft_ID = T2.Aircraft_ID", "answer": {"columns": ["MIN(T1.Aircraft_ID)", "ID"], "index": [0], "data": [["1", "2"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Cu1zo_5.png", "TableImg_Awt2l_4.png"], "original_data_index": 1134} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 4 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["3"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_765oe_5.png", "TableImg_89pgt_4.png"], "original_data_index": 1135} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 1 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3], "data": [["2"], ["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_8xlev_5.png", "TableImg_L8ypl_4.png"], "original_data_index": 1136} +{"question": "SELECT name, aid, distance FROM aircraft WHERE \"distance\" <= 8430 OR name != \"Airbus A320\" OR \"aid\" < 13 EXCEPT SELECT name, aid, distance FROM aircraft WHERE name != \"Airbus A320\"", "answer": {"columns": ["name", "aid", "distance"], "index": [0], "data": [["Airbus A320", "13", "2605"]]}, "table_names": "['aircraft' 'aircraft']", "table_image_ids": ["TableImg_Xj2y8_16.png", "TableImg_B9roh_16.png"], "original_data_index": 1137} +{"question": "SELECT MAX(Rank) FROM coach WHERE Coach_name = \"Joe Fabbri\" UNION SELECT MAX(Rank) FROM player WHERE Occupation <> \"Design Coordinator\" OR Gender <> \"M\" AND Residence = \"Thompson\" AND \"Player_ID\" != 3", "answer": {"columns": ["MAX(Rank)"], "index": [0, 1], "data": [["2"], ["4th"]]}, "table_names": "['coach' 'player']", "table_image_ids": ["TableImg_Nrgy9_5.png", "TableImg_Yi6l7_14.png"], "original_data_index": 1138} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 11 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Lxrry_12.png", "TableImg_6z99s_5.png"], "original_data_index": 1139} +{"question": "SELECT name, SUM(u_id) FROM useracct WHERE \"u_id\" <= 5 AND name = \"Mark\" EXCEPT SELECT name, SUM(u_id) FROM useracct WHERE \"u_id\" != 1", "answer": {"columns": ["name", "SUM(u_id)"], "index": [0], "data": [["Mark", "2"]]}, "table_names": "['useracct' 'useracct']", "table_image_ids": ["TableImg_H1t1j_7.png", "TableImg_P34xr_7.png"], "original_data_index": 1140} +{"question": "SELECT Player_ID FROM player WHERE Gender = \"M\" UNION SELECT Player_ID FROM player_coach WHERE \"Coach_ID\" <> 1 AND \"Player_ID\" < 2 AND \"Starting_year\" = 2012", "answer": {"columns": ["Player_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8], "data": [["1"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["11"], ["13"]]}, "table_names": "['player' 'player_coach']", "table_image_ids": ["TableImg_Srq47_14.png", "TableImg_54p0p_7.png"], "original_data_index": 1141} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 6 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["3"], ["4"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Sdzbu_12.png", "TableImg_Njdrr_5.png"], "original_data_index": 1142} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 10 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_0x6jh_12.png", "TableImg_9qb5e_5.png"], "original_data_index": 1143} +{"question": "SELECT feature_id FROM Other_Available_Features WHERE \"feature_id\" > 3 OR feature_description = \"Swimming Pool.\" OR feature_type_code = \"Security\" AND feature_name != \"AirCon\" EXCEPT SELECT feature_id FROM Other_Property_Features WHERE property_feature_description != \"quo\" AND \"feature_id\" != 3 AND \"property_id\" != 1", "answer": {"columns": ["feature_id"], "index": [0], "data": [["3"]]}, "table_names": "['Other_Available_Features' 'Other_Property_Features']", "table_image_ids": ["TableImg_Ogul3_3.png", "TableImg_J1m4p_15.png"], "original_data_index": 1144} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 10 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5], "data": [["1"], ["2"], ["5"], ["6"], ["7"], ["8"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_H6akx_12.png", "TableImg_Arvfp_5.png"], "original_data_index": 1145} +{"question": "SELECT pet_age, PetID, weight FROM Pets WHERE \"weight\" != 13.4 OR \"pet_age\" <> 2 OR \"PetID\" <> 2001 UNION ALL SELECT pet_age, PetID, weight FROM Pets WHERE \"pet_age\" != 2", "answer": {"columns": ["pet_age", "PetID", "weight"], "index": [0, 1, 2, 3, 4], "data": [["3", "2001", "12.0"], ["2", "2002", "13.4"], ["1", "2003", "9.3"], ["3", "2001", "12.0"], ["1", "2003", "9.3"]]}, "table_names": "['Pets' 'Pets']", "table_image_ids": ["TableImg_Urbt2_3.png", "TableImg_Lhs39_3.png"], "original_data_index": 1146} +{"question": "SELECT Employee_ID FROM evaluation WHERE Year_awarded = \"2018\" AND Employee_ID <> \"1\" EXCEPT SELECT Employee_ID FROM hiring WHERE Start_from <> \"2013\"", "answer": {"columns": ["Employee_ID"], "index": [0], "data": [["7"]]}, "table_names": "['evaluation' 'hiring']", "table_image_ids": ["TableImg_3tkre_6.png", "TableImg_R4thh_7.png"], "original_data_index": 1147} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 1 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "data": [["2"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_0om1l_12.png", "TableImg_Fzg6x_5.png"], "original_data_index": 1148} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 7 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Abax7_12.png", "TableImg_Oah9z_5.png"], "original_data_index": 1149} +{"question": "SELECT SUM(T1.Election_ID), T2.US_Senate FROM election as T1 JOIN party as T2 ON T1.Party = T2.Party WHERE Comptroller <> \"Alan Hevesi\" OR Lieutenant_Governor = \"Mary Donohue\" AND MIN(Election_ID) < 1 OR Counties_Represented <> \"12.1 12A\" AND Party_ID <> 6 AND Committee = \"Health and Government Operations\"", "answer": {"columns": ["SUM(T1.Election_ID)", "US_Senate"], "index": [0], "data": [["", ""]]}, "table_names": "['election' 'party']", "table_image_ids": ["TableImg_Sckab_8.png", "TableImg_Qmwyv_7.png"], "original_data_index": 1150} +{"question": "SELECT SUM(County_name), SUM(Zip_code), Population FROM county WHERE Zip_code = \"D02\" OR \"Population\" = 13300.0 OR County_name <> \"Baltimore County\" UNION SELECT SUM(County_name), SUM(Zip_code), Population FROM county WHERE County_name != \"Mansfield\"", "answer": {"columns": ["SUM(County_name)", "SUM(Zip_code)", "Population"], "index": [0], "data": [["0", "0", "21000"]]}, "table_names": "['county' 'county']", "table_image_ids": ["TableImg_Nd32h_5.png", "TableImg_Rbt8s_5.png"], "original_data_index": 1151} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 7 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 7", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["7"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Xy75d_12.png", "TableImg_Qa1iv_5.png"], "original_data_index": 1152} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 10 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5], "data": [["1"], ["2"], ["5"], ["6"], ["8"], ["9"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Tk0tc_12.png", "TableImg_73ekz_5.png"], "original_data_index": 1153} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 1 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5], "data": [["2"], ["5"], ["6"], ["8"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Rufqv_12.png", "TableImg_06131_5.png"], "original_data_index": 1154} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 9 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Nw9i7_12.png", "TableImg_4847d_5.png"], "original_data_index": 1155} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 4 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["1"], ["2"], ["3"], ["4"], ["7"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_V7f01_12.png", "TableImg_Ggjjj_5.png"], "original_data_index": 1156} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 5 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_D04jx_12.png", "TableImg_A3fbc_5.png"], "original_data_index": 1157} +{"question": "SELECT head_ID FROM head WHERE \"age\" = 50.0 OR name <> \"Jeff Maggert\" OR \"head_ID\" != 9 UNION ALL SELECT head_ID FROM management WHERE \"head_ID\" > 5", "answer": {"columns": ["head_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["6"], ["10"]]}, "table_names": "['head' 'management']", "table_image_ids": ["TableImg_Bz8fn_10.png", "TableImg_Dm852_5.png"], "original_data_index": 1158} +{"question": "SELECT role_code FROM Employees WHERE role_code <> \"MG\" OR employee_name <> \"Koby\" AND other_details <> \"b\" OR \"employee_id\" <> 8 UNION ALL SELECT role_code FROM Roles WHERE role_code <> \"PR\" AND role_description = \"Photo\"", "answer": {"columns": ["role_code"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["ED"], ["ED"], ["PR"], ["PT"], ["PT"], ["MG"], ["PT"]]}, "table_names": "['Employees' 'Roles']", "table_image_ids": ["TableImg_Umpmc_6.png", "TableImg_H4p48_4.png"], "original_data_index": 1159} +{"question": "SELECT document_id, draft_number, COUNT(employee_id), copy_number FROM Circulation_History WHERE \"document_id\" != 2 AND \"draft_number\" < 2 UNION SELECT document_id, draft_number, COUNT(employee_id), copy_number FROM Circulation_History WHERE \"draft_number\" >= 1 OR \"copy_number\" > 15 OR \"employee_id\" < 8 OR \"document_id\" > 20", "answer": {"columns": ["document_id", "draft_number", "COUNT(employee_id)", "copy_number"], "index": [0, 1], "data": [["", "", "0", ""], ["20.0", "17.0", "4", "15.0"]]}, "table_names": "['Circulation_History' 'Circulation_History']", "table_image_ids": ["TableImg_J4w84_4.png", "TableImg_R7jat_4.png"], "original_data_index": 1160} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 3 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["7"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Qkfxk_12.png", "TableImg_Zusi8_5.png"], "original_data_index": 1161} +{"question": "SELECT i_id FROM item WHERE \"i_id\" = 6 OR title != \"shampoo\" INTERSECT SELECT i_id FROM item WHERE \"i_id\" <> 5 AND title != \"orange\"", "answer": {"columns": ["i_id"], "index": [0, 1, 2, 3, 4], "data": [["0"], ["2"], ["4"], ["6"], ["7"]]}, "table_names": "['item' 'item']", "table_image_ids": ["TableImg_Il3wa_8.png", "TableImg_R0ro3_8.png"], "original_data_index": 1162} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 7 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 9", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Qpsvo_12.png", "TableImg_G52d8_5.png"], "original_data_index": 1163} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 3 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 2", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["2"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_8b20r_5.png", "TableImg_X4cuz_4.png"], "original_data_index": 1164} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 8 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["8"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_1clfv_12.png", "TableImg_Ncg06_5.png"], "original_data_index": 1165} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 3 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 10", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["3"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Crybi_12.png", "TableImg_B58tp_5.png"], "original_data_index": 1166} +{"question": "SELECT AVG(feature_id), MAX(feature_name), feature_type_code FROM Other_Available_Features WHERE feature_name <> \"Pool\" AND feature_description = \"Burglar Alarm\" AND \"feature_id\" <> 2 EXCEPT SELECT AVG(feature_id), MAX(feature_name), feature_type_code FROM Other_Available_Features WHERE feature_name <> \"BurglarAlarm\" AND \"feature_id\" <> 4 OR feature_type_code = \"Amenity\"", "answer": {"columns": ["AVG(feature_id)", "MAX(feature_name)", "feature_type_code"], "index": [0], "data": [["4", "BurglarAlarm", "Security"]]}, "table_names": "['Other_Available_Features' 'Other_Available_Features']", "table_image_ids": ["TableImg_8kfxz_3.png", "TableImg_El5gm_3.png"], "original_data_index": 1167} +{"question": "SELECT Name FROM branch WHERE Open_year != \"2013\" UNION ALL SELECT Name FROM member WHERE \"Level\" <> 6 OR Name != \"Corey Peters\"", "answer": {"columns": ["Name"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "data": [["Alexandre"], ["Popert"], ["Zytogorski"], ["Cochrane"], ["Taverner"], ["Saint Amant"], ["Brooke Greville"], ["Jeremy Jarmon"], ["Myron Pryor"], ["Ventrell Jenkins"], ["Braxton Kelley"], ["Micah Johnson"], ["Johnny Williams"], ["Trevard Lindley"], ["David Jones"], ["Matt Lentz"]]}, "table_names": "['branch' 'member']", "table_image_ids": ["TableImg_6qijx_8.png", "TableImg_Vlbhe_10.png"], "original_data_index": 1168} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 1 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["2"], ["3"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_M2kh0_5.png", "TableImg_Fuczv_4.png"], "original_data_index": 1169} +{"question": "SELECT MIN(School_id) FROM School WHERE County = \"50 Marshall\" UNION ALL SELECT MIN(School_id) FROM budget WHERE \"total_budget_percent_budgeted\" <= 2.4", "answer": {"columns": ["MIN(School_id)"], "index": [0, 1], "data": [["1"], ["1"]]}, "table_names": "['School' 'budget']", "table_image_ids": ["TableImg_Mw8xy_8.png", "TableImg_J0ibq_8.png"], "original_data_index": 1170} +{"question": "SELECT employee_id FROM Circulation_History WHERE \"employee_id\" = 8 OR \"copy_number\" <= 10 INTERSECT SELECT employee_id FROM Employees WHERE role_code <> \"PR\"", "answer": {"columns": ["employee_id"], "index": [0, 1, 2], "data": [["1"], ["2"], ["8"]]}, "table_names": "['Circulation_History' 'Employees']", "table_image_ids": ["TableImg_Iolz4_4.png", "TableImg_Qasq9_6.png"], "original_data_index": 1171} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 7 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["3"], ["4"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Si8hp_12.png", "TableImg_92ewh_5.png"], "original_data_index": 1172} +{"question": "SELECT T1.Employee_ID, T2.Bonus FROM employee as T1 JOIN evaluation as T2 ON T1.Employee_ID == T2.Employee_ID GROUP BY Name HAVING Year_awarded = \"2016\" OR Age < 30 OR City <> \"Bristol\"", "answer": {"columns": ["Employee_ID", "Bonus"], "index": [0, 1, 2, 3], "data": [["1", "3000"], ["2", "3200"], ["10", "4000"], ["7", "3200"]]}, "table_names": "['employee' 'evaluation']", "table_image_ids": ["TableImg_K87mz_10.png", "TableImg_66u8h_6.png"], "original_data_index": 1173} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 1 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Pj8co_5.png", "TableImg_Pt9r3_4.png"], "original_data_index": 1174} +{"question": "SELECT customer_id FROM Customers WHERE \"customer_id\" > 4 OR date_of_birth != \"1996-11-07 05:30:55\" AND phone_number != \"218.550.1362\" OR cell_mobile_phone_number <> \"577-584-4864\" EXCEPT SELECT customer_id FROM Lessons WHERE \"staff_id\" != 4 AND lesson_status_code = \"Completed\"", "answer": {"columns": ["customer_id"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["4"], ["5"], ["6"], ["7"], ["9"], ["11"], ["12"], ["14"], ["15"]]}, "table_names": "['Customers' 'Lessons']", "table_image_ids": ["TableImg_O7xyz_15.png", "TableImg_05tfm_15.png"], "original_data_index": 1175} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 5 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 3", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["3"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_M6pza_5.png", "TableImg_T242a_4.png"], "original_data_index": 1176} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 8 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5], "data": [["1"], ["2"], ["4"], ["5"], ["6"], ["7"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_68pug_12.png", "TableImg_Nvomu_5.png"], "original_data_index": 1177} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 8 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4], "data": [["3"], ["4"], ["7"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Djrqn_12.png", "TableImg_7gydd_5.png"], "original_data_index": 1178} +{"question": "SELECT head_ID, temporary_acting FROM management WHERE \"department_ID\" >= 2 OR temporary_acting = \"Yes\" OR \"head_ID\" <= 10 UNION SELECT head_ID, temporary_acting FROM management WHERE \"department_ID\" = 15 AND \"head_ID\" != 10 AND temporary_acting <> \"Yes\"", "answer": {"columns": ["head_ID", "temporary_acting"], "index": [0, 1, 2, 3, 4], "data": [["3", "No"], ["4", "Yes"], ["5", "Yes"], ["6", "Yes"], ["10", "No"]]}, "table_names": "['management' 'management']", "table_image_ids": ["TableImg_5950m_5.png", "TableImg_R9y8v_5.png"], "original_data_index": 1179} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 9 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Tr2cy_12.png", "TableImg_Okstp_5.png"], "original_data_index": 1180} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 8 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 4", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["3"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Ywfvh_12.png", "TableImg_Uzqvg_5.png"], "original_data_index": 1181} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 5 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "data": [["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Ttdam_12.png", "TableImg_Uu0ti_5.png"], "original_data_index": 1182} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 2 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_3v69i_12.png", "TableImg_87m89_5.png"], "original_data_index": 1183} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 1 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID = 2", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2], "data": [["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Bv4qd_5.png", "TableImg_Eyuwv_4.png"], "original_data_index": 1184} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 9 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["3"], ["4"], ["7"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Vf1ad_12.png", "TableImg_Jrlgm_5.png"], "original_data_index": 1185} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 11 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Xlrgf_12.png", "TableImg_Hz7o3_5.png"], "original_data_index": 1186} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 5 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5], "data": [["6"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Str1i_12.png", "TableImg_6sllm_5.png"], "original_data_index": 1187} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 2 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 2", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["1"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Aurnr_5.png", "TableImg_75rr5_4.png"], "original_data_index": 1188} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 5 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["3"], ["4"], ["9"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Nxxod_12.png", "TableImg_M77uw_5.png"], "original_data_index": 1189} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 12 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Qo0z9_12.png", "TableImg_Z3909_5.png"], "original_data_index": 1190} +{"question": "SELECT AVG(title) FROM albums WHERE \"artist_id\" > 17 UNION ALL SELECT AVG(title) FROM employees WHERE birth_date <> \"1947-09-19 00:00:00\" AND phone = \"+1 (780) 428-9482\" OR address != \"7727B 41 Ave\" OR email != \"margaret@chinookcorp.com\" AND \"reports_to\" != 2.0 AND \"id\" = 4 OR country != \"Canada\" OR fax = \"+1 (403) 262-3322\" AND city != \"Edmonton\" AND postal_code != \"T2P 2T3\" AND state = \"AB\" AND last_name <> \"Johnson\" AND title <> \"IT Staff\"", "answer": {"columns": ["AVG(title)"], "index": [0, 1], "data": [["6.2639751553"], ["0.0"]]}, "table_names": "['albums' 'employees']", "table_image_ids": ["TableImg_Bkmkm_347.png", "TableImg_G303o_8.png"], "original_data_index": 1191} +{"question": "SELECT draft_number, copy_number, employee_id, document_id FROM Circulation_History WHERE \"employee_id\" = 8 AND \"copy_number\" <= 5 AND \"document_id\" < 1 OR \"draft_number\" > 20 UNION ALL SELECT draft_number, copy_number, employee_id, document_id FROM Circulation_History WHERE \"document_id\" >= 2 OR \"copy_number\" != 4 AND \"employee_id\" <> 2", "answer": {"columns": ["draft_number", "copy_number", "employee_id", "document_id"], "index": [0, 1, 2, 3], "data": [["17", "15", "8", "20"], ["2", "5", "1", "1"], ["1", "4", "2", "2"], ["20", "10", "2", "10"]]}, "table_names": "['Circulation_History' 'Circulation_History']", "table_image_ids": ["TableImg_Dn79c_4.png", "TableImg_Jx0l6_4.png"], "original_data_index": 1192} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 4 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 3", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["4"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_D22vc_5.png", "TableImg_G2cqv_4.png"], "original_data_index": 1193} +{"question": "SELECT document_id FROM Documents_Mailed WHERE \"document_id\" <> 12 AND \"mailed_to_address_id\" <> 9 UNION SELECT document_id FROM Draft_Copies WHERE \"draft_number\" >= 12", "answer": {"columns": ["document_id"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "data": [["2"], ["4"], ["7"], ["10"], ["12"], ["13"], ["14"], ["20"], ["23"], ["24"]]}, "table_names": "['Documents_Mailed' 'Draft_Copies']", "table_image_ids": ["TableImg_Oaql4_14.png", "TableImg_S2f7y_8.png"], "original_data_index": 1194} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 12 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_P11xd_12.png", "TableImg_W1vnx_5.png"], "original_data_index": 1195} +{"question": "SELECT role_code, employee_id, employee_name, other_details FROM Employees WHERE \"employee_id\" < 1 AND employee_name <> \"Erling\" OR role_code != \"ED\" UNION ALL SELECT role_code, employee_id, employee_name, other_details FROM Employees WHERE role_code = \"PR\" AND other_details <> \"u\" AND \"employee_id\" >= 2 OR employee_name <> \"Clemens\"", "answer": {"columns": ["role_code", "employee_id", "employee_name", "other_details"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8], "data": [["PR", "3", "Haley", "b"], ["PT", "5", "Clemens", "b"], ["PT", "7", "Jordyn", "v"], ["MG", "8", "Erling", "u"], ["ED", "1", "Koby", "h"], ["ED", "2", "Kenyon", "f"], ["PR", "3", "Haley", "b"], ["PT", "7", "Jordyn", "v"], ["MG", "8", "Erling", "u"]]}, "table_names": "['Employees' 'Employees']", "table_image_ids": ["TableImg_80icg_6.png", "TableImg_Rqvia_6.png"], "original_data_index": 1196} +{"question": "SELECT School_ID FROM school WHERE Type <> \"Private\" UNION SELECT School_ID FROM school_bus WHERE \"Years_Working\" <> 6 OR \"School_ID\" = 5 OR \"Driver_ID\" > 9 OR If_full_time <> \"T\"", "answer": {"columns": ["School_ID"], "index": [0, 1, 2, 3, 4, 5], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["7"]]}, "table_names": "['school' 'school_bus']", "table_image_ids": ["TableImg_Kwbox_7.png", "TableImg_4nw5w_5.png"], "original_data_index": 1197} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 3 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 3", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Edyyr_5.png", "TableImg_97hfd_4.png"], "original_data_index": 1198} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 5 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["3"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_H0eka_5.png", "TableImg_Gjqo0_4.png"], "original_data_index": 1199} +{"question": "SELECT MIN(StuID) FROM Member_of_club WHERE \"StuID\" != 1010 UNION ALL SELECT MIN(StuID) FROM Student WHERE city_code != \"SFO\" AND Sex = \"M\" OR Fname <> \"Ian\"", "answer": {"columns": ["MIN(StuID)"], "index": [0, 1], "data": [["1001"], ["1001"]]}, "table_names": "['Member_of_club' 'Student']", "table_image_ids": ["TableImg_Emmvs_4.png", "TableImg_2kh43_34.png"], "original_data_index": 1200} +{"question": "SELECT first_name FROM Customers WHERE \"amount_outstanding\" != 2099.0 UNION SELECT first_name FROM Staff WHERE nickname != \"weldon.kling\" AND middle_name = \"Sherwood\" AND date_of_birth = \"2010-12-08 16:55:14\" AND \"staff_id\" >= 2 OR last_name != \"Mertz\" AND first_name != \"Janessa\" AND \"staff_address_id\" <= 13 OR date_left_staff != \"2018-02-26 17:56:31\" AND date_joined_staff = \"2016-05-01 02:22:45\"", "answer": {"columns": ["first_name"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25], "data": [["Amya"], ["Camylle"], ["Carole"], ["Clara"], ["Dameon"], ["Dianna"], ["Ernestina"], ["Estelle"], ["Eulalia"], ["Genevieve"], ["Jaleel"], ["Jordy"], ["Leif"], ["Lincoln"], ["Ludie"], ["Margie"], ["Marina"], ["Millie"], ["Queenie"], ["Ray"], ["Rebekah"], ["Rylan"], ["Sigrid"], ["Simeon"], ["Titus"], ["Winnifred"]]}, "table_names": "['Customers' 'Staff']", "table_image_ids": ["TableImg_Xvil3_15.png", "TableImg_7v5no_15.png"], "original_data_index": 1201} +{"question": "SELECT role_code FROM Employees WHERE employee_name != \"Clemens\" OR other_details = \"b\" AND role_code != \"ED\" UNION ALL SELECT role_code FROM Roles WHERE role_code = \"MG\"", "answer": {"columns": ["role_code"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["ED"], ["ED"], ["PR"], ["PT"], ["PT"], ["MG"], ["MG"]]}, "table_names": "['Employees' 'Roles']", "table_image_ids": ["TableImg_0qayr_6.png", "TableImg_X7sb4_4.png"], "original_data_index": 1202} +{"question": "SELECT School_ID FROM school WHERE School <> \"Harvard Law School\" AND Grade <> \"Junior\u2013Senior year\" AND Type = \"Public\" OR \"School_ID\" >= 7 EXCEPT SELECT School_ID FROM school_bus WHERE \"School_ID\" > 3", "answer": {"columns": ["School_ID"], "index": [0, 1], "data": [["1"], ["3"]]}, "table_names": "['school' 'school_bus']", "table_image_ids": ["TableImg_10yqu_7.png", "TableImg_J78xe_5.png"], "original_data_index": 1203} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 5 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 1", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["3"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Xsqja_5.png", "TableImg_Yxlaq_4.png"], "original_data_index": 1204} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 8 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Psaws_12.png", "TableImg_B9o4g_5.png"], "original_data_index": 1205} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 11 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["3"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Cjit2_12.png", "TableImg_Hx100_5.png"], "original_data_index": 1206} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 4 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_I5bt3_12.png", "TableImg_A1j78_5.png"], "original_data_index": 1207} +{"question": "SELECT Employee_ID FROM evaluation WHERE \"Bonus\" = 3200.0 AND Employee_ID != \"1\" OR Year_awarded = \"2018\" EXCEPT SELECT Employee_ID FROM hiring WHERE Is_full_time <> \"T\" AND \"Shop_ID\" >= 6 AND Start_from = \"2003\"", "answer": {"columns": ["Employee_ID"], "index": [0, 1, 2], "data": [["2"], ["4"], ["7"]]}, "table_names": "['evaluation' 'hiring']", "table_image_ids": ["TableImg_11rnl_6.png", "TableImg_L628g_7.png"], "original_data_index": 1208} +{"question": "SELECT COUNT(Other_Details), Document_ID FROM Documents WHERE \"Document_ID\" <> 801801 OR Document_Name <> \"Understanding DB\" UNION ALL SELECT COUNT(Other_Details), Document_ID FROM Paragraphs WHERE \"Paragraph_ID\" < 765713812 OR \"Document_ID\" <= 651512 AND Paragraph_Text <> \"Micronesia\" OR Other_Details != \"None\"", "answer": {"columns": ["COUNT(Other_Details)", "Document_ID"], "index": [0, 1], "data": [["0", "0"], ["0", "2394"]]}, "table_names": "['Documents' 'Paragraphs']", "table_image_ids": ["TableImg_9bbzv_15.png", "TableImg_Wc2jw_15.png"], "original_data_index": 1209} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 1 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 3", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["2"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Wq19v_5.png", "TableImg_3v553_4.png"], "original_data_index": 1210} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 4 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID = 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2], "data": [["1"], ["2"], ["3"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_V8ulr_5.png", "TableImg_2dt5a_4.png"], "original_data_index": 1211} +{"question": "SELECT Store_ID FROM store_district WHERE \"District_ID\" < 11 OR \"Store_ID\" > 1 INTERSECT SELECT Store_ID FROM store_product WHERE \"Product_ID\" = 6", "answer": {"columns": ["Store_ID"], "index": [0, 1], "data": [["2"], ["5"]]}, "table_names": "['store_district' 'store_product']", "table_image_ids": ["TableImg_2q4tb_5.png", "TableImg_Wytbs_15.png"], "original_data_index": 1212} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 6 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Uzdcm_12.png", "TableImg_Q43hu_5.png"], "original_data_index": 1213} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 1 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 3", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["3"], ["4"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Ls3y4_5.png", "TableImg_2dva1_4.png"], "original_data_index": 1214} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 5 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["7"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Lz1r4_12.png", "TableImg_Epmgc_5.png"], "original_data_index": 1215} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 10 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["4"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Pdyt5_12.png", "TableImg_Lxtcc_5.png"], "original_data_index": 1216} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 4 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["3"], ["7"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_0tvz1_12.png", "TableImg_3m00l_5.png"], "original_data_index": 1217} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 1 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 2", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3], "data": [["2"], ["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Rwc8w_5.png", "TableImg_V8oh1_4.png"], "original_data_index": 1218} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 3 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 10", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Xk1va_12.png", "TableImg_Td6mp_5.png"], "original_data_index": 1219} +{"question": "SELECT Votes, Residence, Player_name, Rank FROM player WHERE \"Player_ID\" >= 8 AND Occupation != \"Locomotive Engineer\" OR Residence = \"Selkirk\" AND Rank <> \"1st\" AND \"Votes\" < 5490 AND Player_name <> \"Patricia Cordner\" OR Gender = \"F\" OR Sponsor_name <> \"Kildonan\u2014St. Paul\" UNION SELECT Votes, Residence, Player_name, Rank FROM player WHERE Occupation <> \"Parliamentarian\" OR Residence <> \"Winnipeg\" OR \"Votes\" <> 4673", "answer": {"columns": ["Votes", "Residence", "Player_name", "Rank"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13], "data": [["2353", "Winnipeg", "Mohamed Alli", "4th"], ["4673", "Winnipeg", "Sean Robert", "3rd"], ["4914", "Birtle", "Ron Strynadka", "2nd"], ["4947", "Oakbank", "Ross C. Martin", "2nd"], ["5490", "Winnipeg", "Rachel Heinrichs", "3rd"], ["5502", "Winnipeg", "Matt Schaubroeck", "3rd"], ["6055", "Brandon", "Jean Luc Bouch\u00e9", "2nd"], ["7190", "Winnipeg", "Fiona Shiells", "3rd"], ["8734", "Thompson", "Niki Ashton", "1st"], ["9506", "Selkirk", "Patricia Cordner", "2nd"], ["12093", "Winnipeg", "Ross Eadie", "2nd"], ["12285", "Winnipeg", "Pat Martin", "1st"], ["14097", "Winnipeg", "Judy Wasylycia-Leis", "1st"], ["14355", "Winnipeg", "Jim Maloway", "1st"]]}, "table_names": "['player' 'player']", "table_image_ids": ["TableImg_6rzxh_14.png", "TableImg_Wcnqx_14.png"], "original_data_index": 1220} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 2 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Jz6vh_12.png", "TableImg_87iaa_5.png"], "original_data_index": 1221} +{"question": "SELECT Year, Branch_ID, Total_pounds FROM purchase WHERE Branch_ID != \"2\" OR \"Member_ID\" <> 2 UNION SELECT Year, Branch_ID, Total_pounds FROM purchase WHERE Branch_ID <> \"2\" AND \"Member_ID\" <= 2 AND \"Total_pounds\" <= 2013.32", "answer": {"columns": ["Year", "Branch_ID", "Total_pounds"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["2017", "1", "988.09"], ["2018", "1", "20.99"], ["2018", "3", "430.29"], ["2018", "3", "2013.32"], ["2018", "5", "321.13"], ["2018", "5", "343.76"], ["2018", "6", "232.09"]]}, "table_names": "['purchase' 'purchase']", "table_image_ids": ["TableImg_U9n0r_8.png", "TableImg_Qvx58_8.png"], "original_data_index": 1222} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 2 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 3", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["1"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Bmzbg_12.png", "TableImg_N1rbj_5.png"], "original_data_index": 1223} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 4 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["3"], ["4"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Mn51d_5.png", "TableImg_Hf2bd_4.png"], "original_data_index": 1224} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 5 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 1", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2], "data": [["2"], ["3"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Jdwk8_5.png", "TableImg_Cvfhf_4.png"], "original_data_index": 1225} +{"question": "SELECT School_id FROM School WHERE School_id != \"7\" AND Mascot = \"Cougars\" OR \"Enrollment\" > 287 OR IHSAA_Football_Class <> \"AAA\" AND School_name <> \"Knox Community\" OR IHSAA_Class <> \"AAA\" UNION SELECT School_id FROM endowment WHERE \"amount\" <= 9.83 OR donator_name != \"Distrito Nacional\" OR \"School_id\" = 7", "answer": {"columns": ["School_id"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"]]}, "table_names": "['School' 'endowment']", "table_image_ids": ["TableImg_Gez91_8.png", "TableImg_Rf3cw_11.png"], "original_data_index": 1226} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 2 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID = 3", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2], "data": [["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Ozjba_5.png", "TableImg_8c9tc_4.png"], "original_data_index": 1227} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 4 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2], "data": [["1"], ["2"], ["3"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Bz7mr_5.png", "TableImg_Ovefu_4.png"], "original_data_index": 1228} +{"question": "SELECT AVG(mailed_to_address_id) FROM Documents_Mailed WHERE \"mailed_to_address_id\" = 7 UNION SELECT AVG(mailed_to_address_id) FROM Documents_Mailed WHERE \"document_id\" < 4 OR \"mailed_to_address_id\" = 2 AND mailing_date != \"2013-01-27 03:29:31\"", "answer": {"columns": ["AVG(mailed_to_address_id)"], "index": [0, 1], "data": [["5"], ["7"]]}, "table_names": "['Documents_Mailed' 'Documents_Mailed']", "table_image_ids": ["TableImg_7kppj_14.png", "TableImg_6r05w_14.png"], "original_data_index": 1229} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 2 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 3", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["1"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Oohyk_12.png", "TableImg_Vthok_5.png"], "original_data_index": 1230} +{"question": "SELECT Number_products, District FROM shop WHERE \"Shop_ID\" < 6 INTERSECT SELECT Number_products, District FROM shop WHERE Name <> \"FC KooTeePee\" OR Manager_name <> \"Mika Laurikainen\"", "answer": {"columns": ["Number_products", "District"], "index": [0, 1, 2, 3, 4], "data": [["3516", "Tehtaan kentt\u00e4"], ["5000", "Jakobstads Centralplan"], ["6000", "Tapiolan Urheilupuisto"], ["10000", "Veritas Stadion"], ["10770", "Finnair Stadium"]]}, "table_names": "['shop' 'shop']", "table_image_ids": ["TableImg_Y3hpe_9.png", "TableImg_Z5p6s_9.png"], "original_data_index": 1231} +{"question": "SELECT MIN(head_ID) FROM head WHERE \"age\" != 56.0 EXCEPT SELECT MIN(head_ID) FROM management WHERE temporary_acting = \"No\" AND \"head_ID\" != 4 AND \"department_ID\" != 2", "answer": {"columns": ["MIN(head_ID)"], "index": [0], "data": [["1"]]}, "table_names": "['head' 'management']", "table_image_ids": ["TableImg_Gdguq_10.png", "TableImg_Eo40k_5.png"], "original_data_index": 1232} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 2 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["3"], ["4"], ["7"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_C5f01_12.png", "TableImg_Gion9_5.png"], "original_data_index": 1233} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 5 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 1", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2], "data": [["2"], ["3"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Wwab5_5.png", "TableImg_Qy6wq_4.png"], "original_data_index": 1234} +{"question": "SELECT property_id FROM Other_Property_Features WHERE property_feature_description <> \"quo\" INTERSECT SELECT property_id FROM Properties WHERE property_address != \"084 Lakin Vista Apt. 394 Fishertown, MA 16876\"", "answer": {"columns": ["property_id"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "data": [["1"], ["3"], ["4"], ["6"], ["7"], ["11"], ["12"], ["13"], ["14"], ["15"]]}, "table_names": "['Other_Property_Features' 'Properties']", "table_image_ids": ["TableImg_Ymxat_15.png", "TableImg_303vr_15.png"], "original_data_index": 1235} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 3 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Oogwq_12.png", "TableImg_Pylrq_5.png"], "original_data_index": 1236} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 4 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["1"], ["2"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_17b38_12.png", "TableImg_Vdyz9_5.png"], "original_data_index": 1237} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 9 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 4", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["9"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_8w51u_12.png", "TableImg_Uww84_5.png"], "original_data_index": 1238} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 10 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_5s1fi_12.png", "TableImg_3wxmb_5.png"], "original_data_index": 1239} +{"question": "SELECT Party FROM election WHERE Committee <> \"Appropriations\" AND \"Election_ID\" <> 6 AND \"First_Elected\" != 1994.0 OR \"District\" >= 4 OR Delegate != \"Guzzone, Guy Guy Guzzone\" AND \"Party\" > 1 EXCEPT SELECT Party FROM party WHERE \"Year\" >= 1998.0 AND US_Senate <> \"Hillary Rodham Clinton\"", "answer": {"columns": ["Party"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["3"], ["4"], ["7"]]}, "table_names": "['election' 'party']", "table_image_ids": ["TableImg_Bfg1z_8.png", "TableImg_Ssr55_7.png"], "original_data_index": 1240} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 7 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7], "data": [["1"], ["2"], ["5"], ["6"], ["8"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_340dd_12.png", "TableImg_Mf0ma_5.png"], "original_data_index": 1241} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 4 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["3"], ["4"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Pp0do_12.png", "TableImg_Gwbd0_5.png"], "original_data_index": 1242} +{"question": "SELECT document_status_code, document_status_description FROM Ref_Document_Status WHERE document_status_description <> \"currently working on\" AND document_status_code != \"working\" EXCEPT SELECT document_status_code, document_status_description FROM Ref_Document_Status WHERE document_status_code = \"done\" AND document_status_description != \"mailed late\"", "answer": {"columns": ["document_status_code", "document_status_description"], "index": [0], "data": [["overdue", "mailed late"]]}, "table_names": "['Ref_Document_Status' 'Ref_Document_Status']", "table_image_ids": ["TableImg_W6ppq_3.png", "TableImg_W5llp_3.png"], "original_data_index": 1243} +{"question": "SELECT Sponsor_name, MIN(Occupation), COUNT(Player_ID), Player_name, Residence, Gender, Votes FROM player WHERE \"Player_ID\" != 9 OR Gender = \"M\" OR Sponsor_name <> \"Dauphin\u2014Swan River\u2014Marquette\" AND Occupation = \"Retired\" OR Rank != \"2nd\" AND Residence <> \"Selkirk\" OR \"Votes\" != 2353 OR Player_name = \"Sean Robert\" EXCEPT SELECT Sponsor_name, MIN(Occupation), COUNT(Player_ID), Player_name, Residence, Gender, Votes FROM player WHERE \"Player_ID\" = 5 OR Occupation <> \"Parliamentarian\"", "answer": {"columns": ["Sponsor_name", "MIN(Occupation)", "COUNT(Player_ID)", "Player_name", "Residence", "Gender", "Votes"], "index": [0], "data": [["Provencher", "Design Coordinator", "14", "Ross C. Martin", "Oakbank", "M", "4947"]]}, "table_names": "['player' 'player']", "table_image_ids": ["TableImg_F4m1l_14.png", "TableImg_Csjhs_14.png"], "original_data_index": 1244} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 5 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Sze92_5.png", "TableImg_Hnc5a_4.png"], "original_data_index": 1245} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 12 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7], "data": [["1"], ["2"], ["5"], ["6"], ["8"], ["9"], ["10"], ["11"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Bkllp_12.png", "TableImg_Mvqhq_5.png"], "original_data_index": 1246} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 4 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["1"], ["2"], ["5"], ["6"], ["8"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_5qa16_12.png", "TableImg_Sho73_5.png"], "original_data_index": 1247} +{"question": "SELECT COUNT(StuID) FROM Member_of_club WHERE \"ClubID\" < 2 AND Position != \"CTO\" AND \"StuID\" <= 1010 UNION ALL SELECT COUNT(StuID) FROM Student WHERE LName != \"Lee\" OR \"Major\" != 600", "answer": {"columns": ["COUNT(StuID)"], "index": [0, 1], "data": [["2"], ["32"]]}, "table_names": "['Member_of_club' 'Student']", "table_image_ids": ["TableImg_Bguvt_4.png", "TableImg_Ntgen_34.png"], "original_data_index": 1248} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 12 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 9", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_C4u0u_12.png", "TableImg_2l079_5.png"], "original_data_index": 1249} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 3 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 1", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["2"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Igjsp_5.png", "TableImg_4a0jh_4.png"], "original_data_index": 1250} +{"question": "SELECT feature_description, feature_id, feature_type_code FROM Other_Available_Features WHERE \"feature_id\" <= 4 OR feature_description <> \"Air Conditioning.\" EXCEPT SELECT feature_description, feature_id, feature_type_code FROM Other_Available_Features WHERE \"feature_id\" != 4 AND feature_type_code = \"Security\" OR feature_name != \"AirCon\"", "answer": {"columns": ["feature_description", "feature_id", "feature_type_code"], "index": [0], "data": [["Air Conditioning.", "2", "Amenity"]]}, "table_names": "['Other_Available_Features' 'Other_Available_Features']", "table_image_ids": ["TableImg_2784q_3.png", "TableImg_Nkfl8_3.png"], "original_data_index": 1251} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 1 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 3", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["1"], ["2"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_4f5ue_5.png", "TableImg_7304p_4.png"], "original_data_index": 1252} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 9 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_2t4cc_12.png", "TableImg_Mxqqv_5.png"], "original_data_index": 1253} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 1 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 3", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_1h1qf_5.png", "TableImg_9tnen_4.png"], "original_data_index": 1254} +{"question": "SELECT MIN(T1.Club_ID), T2.Rank FROM club as T1 JOIN coach as T2 ON T1.Club_ID = T2.Club_ID WHERE Coach_name <> \"Joe Fabbri\" OR Region <> \"Korea\" OR Start_year >= 2005 OR Rank <= 5 OR Club_name = \"BK H\u00e4cken\" AND Gender <> \"M\" AND Coach_ID <> 3", "answer": {"columns": ["MIN(T1.Club_ID)", "Rank"], "index": [0], "data": [["1", "1"]]}, "table_names": "['club' 'coach']", "table_image_ids": ["TableImg_Rakm5_6.png", "TableImg_Yki13_5.png"], "original_data_index": 1255} +{"question": "SELECT Headquartered_City, City_Population, City_Area, District_name, District_ID FROM district WHERE \"City_Area\" != 10.0 UNION ALL SELECT Headquartered_City, City_Population, City_Area, District_name, District_ID FROM district WHERE \"District_ID\" <= 13 OR Headquartered_City = \"Jhang City\" AND \"City_Population\" < 2793721.0", "answer": {"columns": ["Headquartered_City", "City_Population", "City_Area", "District_name", "District_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25], "data": [["Attock City", "94620", "20", "Attock District", "1"], ["Bahawalnagar City", "134936", "13", "Bahawalnagar District", "2"], ["Bahawalpur City", "530438", "38", "Bahawalpur District", "3"], ["Bhakkar City", "89380", "15", "Bhakkar District", "4"], ["Chiniot City", "219254", "12", "Chiniot District", "6"], ["Dera Ghazi Khan City", "464742", "22", "Dera Ghazi Khan District", "7"], ["Faisalabad City", "2793721", "147", "Faisalabad District", "8"], ["Gujranwala City", "1526168", "75", "Gujranwala District", "9"], ["Gujrat City", "328512", "25", "Gujrat District", "10"], ["Jhang City", "365198", "28", "Jhang District", "12"], ["Jhelum City", "172073", "22", "Jhelum District", "13"], ["Kasur City", "314617", "18", "Kasur District", "14"], ["Khanewal City", "165038", "17", "Khanewal District", "15"], ["Attock City", "94620", "20", "Attock District", "1"], ["Bahawalnagar City", "134936", "13", "Bahawalnagar District", "2"], ["Bahawalpur City", "530438", "38", "Bahawalpur District", "3"], ["Bhakkar City", "89380", "15", "Bhakkar District", "4"], ["Chakwal City", "113524", "10", "Chakwal District", "5"], ["Chiniot City", "219254", "12", "Chiniot District", "6"], ["Dera Ghazi Khan City", "464742", "22", "Dera Ghazi Khan District", "7"], ["Faisalabad City", "2793721", "147", "Faisalabad District", "8"], ["Gujranwala City", "1526168", "75", "Gujranwala District", "9"], ["Gujrat City", "328512", "25", "Gujrat District", "10"], ["Hafizabad City", "165936", "10", "Hafizabad District", "11"], ["Jhang City", "365198", "28", "Jhang District", "12"], ["Jhelum City", "172073", "22", "Jhelum District", "13"]]}, "table_names": "['district' 'district']", "table_image_ids": ["TableImg_Rhrjv_15.png", "TableImg_Kzgx2_15.png"], "original_data_index": 1256} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 7 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7], "data": [["3"], ["4"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Mjo9n_12.png", "TableImg_V1uit_5.png"], "original_data_index": 1257} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 6 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["3"], ["4"], ["6"], ["7"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Iq2bd_12.png", "TableImg_0qhqh_5.png"], "original_data_index": 1258} +{"question": "SELECT Year_working, Company_ID, People_ID FROM employment WHERE \"Company_ID\" <> 11 UNION ALL SELECT Year_working, Company_ID, People_ID FROM employment WHERE \"Company_ID\" <> 15 AND \"Year_working\" != 3 OR \"People_ID\" <> 1", "answer": {"columns": ["Year_working", "Company_ID", "People_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7], "data": [["3", "13", "2"], ["4", "17", "7"], ["1", "15", "1"], ["1", "7", "4"], ["2", "11", "3"], ["3", "13", "2"], ["4", "17", "7"], ["1", "7", "4"]]}, "table_names": "['employment' 'employment']", "table_image_ids": ["TableImg_S57x0_5.png", "TableImg_Sxdjv_5.png"], "original_data_index": 1259} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 2 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["5"], ["6"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_H253c_12.png", "TableImg_Pcnb6_5.png"], "original_data_index": 1260} +{"question": "SELECT Rank, Big_Silver, Points, Bronze FROM match_result WHERE \"Big_Silver\" != 12 OR \"Bronze\" != 7 OR \"Gold\" != 6 OR \"Points\" >= 89 AND \"Small_Silver\" <= 10 OR \"Rank\" <= 2 OR \"Club_ID\" < 1 UNION ALL SELECT Rank, Big_Silver, Points, Bronze FROM match_result WHERE \"Small_Silver\" > 9 OR \"Gold\" > 5 AND \"Big_Silver\" <= 11 AND \"Bronze\" != 10 OR \"Points\" >= 66 AND \"Club_ID\" <> 3", "answer": {"columns": ["Rank", "Big_Silver", "Points", "Bronze"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], "data": [["1", "14", "168", "8"], ["2", "11", "139", "9"], ["3", "9", "102", "7"], ["4", "12", "89", "8"], ["5", "7", "84", "10"], ["6", "6", "66", "6"], ["1", "14", "168", "8"], ["2", "11", "139", "9"], ["3", "9", "102", "7"], ["4", "12", "89", "8"], ["5", "7", "84", "10"], ["6", "6", "66", "6"]]}, "table_names": "['match_result' 'match_result']", "table_image_ids": ["TableImg_B35dy_6.png", "TableImg_Tq8xy_6.png"], "original_data_index": 1261} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 8 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["1"], ["2"], ["5"], ["6"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Xntb9_12.png", "TableImg_97y88_5.png"], "original_data_index": 1262} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 11 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8], "data": [["1"], ["2"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Clkte_12.png", "TableImg_A18fi_5.png"], "original_data_index": 1263} +{"question": "SELECT StuID, LName FROM Student WHERE city_code != \"PHL\" OR \"StuID\" = 1023 OR \"Age\" <> 21 OR LName <> \"Apap\" AND Fname != \"George\" OR \"Major\" < 520 AND Sex <> \"M\" OR \"Advisor\" = 7712 UNION ALL SELECT StuID, LName FROM Student WHERE \"StuID\" > 1010", "answer": {"columns": ["StuID", "LName"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57], "data": [["1001", "Smith"], ["1002", "Kim"], ["1003", "Jones"], ["1004", "Kumar"], ["1005", "Gompers"], ["1006", "Schultz"], ["1007", "Apap"], ["1008", "Nelson"], ["1009", "Tai"], ["1010", "Lee"], ["1011", "Adams"], ["1012", "Davis"], ["1014", "Norris"], ["1015", "Lee"], ["1016", "Schwartz"], ["1017", "Wilson"], ["1018", "Leighton"], ["1019", "Pang"], ["1020", "Thornton"], ["1021", "Andreou"], ["1022", "Woods"], ["1023", "Shieber"], ["1024", "Prater"], ["1025", "Goldman"], ["1026", "Pang"], ["1027", "Brody"], ["1028", "Rugh"], ["1029", "Han"], ["1030", "Cheng"], ["1031", "Smith"], ["1032", "Brown"], ["1033", "Simms"], ["1034", "Epp"], ["1035", "Schmidt"], ["1011", "Adams"], ["1012", "Davis"], ["1014", "Norris"], ["1015", "Lee"], ["1016", "Schwartz"], ["1017", "Wilson"], ["1018", "Leighton"], ["1019", "Pang"], ["1020", "Thornton"], ["1021", "Andreou"], ["1022", "Woods"], ["1023", "Shieber"], ["1024", "Prater"], ["1025", "Goldman"], ["1026", "Pang"], ["1027", "Brody"], ["1028", "Rugh"], ["1029", "Han"], ["1030", "Cheng"], ["1031", "Smith"], ["1032", "Brown"], ["1033", "Simms"], ["1034", "Epp"], ["1035", "Schmidt"]]}, "table_names": "['Student' 'Student']", "table_image_ids": ["TableImg_I6qa5_34.png", "TableImg_U9wqy_34.png"], "original_data_index": 1264} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 3 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 2", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2], "data": [["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Js345_5.png", "TableImg_0r8xp_4.png"], "original_data_index": 1265} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 3 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 4", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["4"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Hx4ke_12.png", "TableImg_Gm1gb_5.png"], "original_data_index": 1266} +{"question": "SELECT Club_ID FROM coach WHERE \"Club_ID\" = 1 AND Coach_name = \"Robert Chen\" UNION ALL SELECT Club_ID FROM match_result WHERE \"Rank\" <= 6 AND \"Points\" = 89 OR \"Big_Silver\" != 6 OR \"Gold\" <> 12 OR \"Small_Silver\" >= 4 OR \"Club_ID\" = 4", "answer": {"columns": ["Club_ID"], "index": [0, 1, 2, 3, 4, 5], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"]]}, "table_names": "['coach' 'match_result']", "table_image_ids": ["TableImg_7mvpi_5.png", "TableImg_Swd7h_6.png"], "original_data_index": 1267} +{"question": "SELECT AVG(Branch_ID) FROM branch WHERE Address_road != \"Concord Road\" OR City <> \"London\" OR membership_amount = \"6\" OR Open_year <> \"2012\" UNION ALL SELECT AVG(Branch_ID) FROM membership_register_branch WHERE \"Member_ID\" < 2 AND Register_Year <> \"2016\"", "answer": {"columns": ["AVG(Branch_ID)"], "index": [0, 1], "data": [["4.5"], [""]]}, "table_names": "['branch' 'membership_register_branch']", "table_image_ids": ["TableImg_7hi4e_8.png", "TableImg_5xx1m_8.png"], "original_data_index": 1268} +{"question": "SELECT document_id, copy_number, draft_number FROM Draft_Copies WHERE \"copy_number\" >= 15 AND \"draft_number\" != 17 INTERSECT SELECT document_id, copy_number, draft_number FROM Draft_Copies WHERE \"copy_number\" <> 5", "answer": {"columns": ["document_id", "copy_number", "draft_number"], "index": [0], "data": [["23", "15", "9"]]}, "table_names": "['Draft_Copies' 'Draft_Copies']", "table_image_ids": ["TableImg_Y99jn_8.png", "TableImg_2lpjv_8.png"], "original_data_index": 1269} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 1 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Vv6vy_12.png", "TableImg_Idn4q_5.png"], "original_data_index": 1270} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 6 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["3"], ["5"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Vj484_12.png", "TableImg_H75s1_5.png"], "original_data_index": 1271} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 4 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8], "data": [["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Urdra_12.png", "TableImg_F9yu4_5.png"], "original_data_index": 1272} +{"question": "SELECT Branch_ID FROM branch WHERE Address_road <> \"Abbey Rise\" OR City = \"Oxford\" AND \"Branch_ID\" <= 7 AND Name != \"Stanley\" AND Open_year != \"2015\" EXCEPT SELECT Branch_ID FROM purchase WHERE Year != \"2018\" AND \"Total_pounds\" > 321.13 AND Branch_ID != \"2\"", "answer": {"columns": ["Branch_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"]]}, "table_names": "['branch' 'purchase']", "table_image_ids": ["TableImg_4szxx_8.png", "TableImg_I0k3y_8.png"], "original_data_index": 1273} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 12 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 9", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Io31w_12.png", "TableImg_Sxbcx_5.png"], "original_data_index": 1274} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 10 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 3", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["3"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Bj9wd_12.png", "TableImg_X3p76_5.png"], "original_data_index": 1275} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 6 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["3"], ["4"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Yl6ch_12.png", "TableImg_Qshcq_5.png"], "original_data_index": 1276} +{"question": "SELECT SUM(T1.ClubID), T2.StuID FROM Club as T1 JOIN Member_of_club as T2 ON T1.ClubID = T2.ClubID WHERE Position = \"President\" AND ClubName <> \"Hopkins Student Enterprises\" GROUP BY ClubName HAVING ClubDesc <> \"Refurbish computers; teach kids and adults about computer basics.\" AND Position = \"President\" OR StuID <= 1007", "answer": {"columns": ["SUM(T1.ClubID)", "StuID"], "index": [0], "data": [["1", "1001"]]}, "table_names": "['Club' 'Member_of_club']", "table_image_ids": ["TableImg_B2ygd_4.png", "TableImg_A9zvy_4.png"], "original_data_index": 1277} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 1 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_9s8ze_12.png", "TableImg_70hbc_5.png"], "original_data_index": 1278} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 4 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 1", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["3"], ["4"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_1c11b_5.png", "TableImg_T4euv_4.png"], "original_data_index": 1279} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID = 2 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 1", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2], "data": [["2"], ["3"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Na57z_5.png", "TableImg_7loyu_4.png"], "original_data_index": 1280} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 8 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Oxhnx_12.png", "TableImg_Yo8yi_5.png"], "original_data_index": 1281} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 4 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID = 3", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_E6anp_5.png", "TableImg_Dcitk_4.png"], "original_data_index": 1282} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 1 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_90kv4_12.png", "TableImg_12w9x_5.png"], "original_data_index": 1283} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 5 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 10", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Q0zmf_12.png", "TableImg_Qn7xz_5.png"], "original_data_index": 1284} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 1 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_2smqd_12.png", "TableImg_X6zvp_5.png"], "original_data_index": 1285} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 3 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["7"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Sdt5b_12.png", "TableImg_5z6bq_5.png"], "original_data_index": 1286} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 7 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Vveap_12.png", "TableImg_Iz89w_5.png"], "original_data_index": 1287} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 5 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["3"], ["7"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_6za1w_12.png", "TableImg_1k1ew_5.png"], "original_data_index": 1288} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 3 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["3"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_O08v0_5.png", "TableImg_52h99_4.png"], "original_data_index": 1289} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 8 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["9"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Ns94b_12.png", "TableImg_7h83u_5.png"], "original_data_index": 1290} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 10 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7], "data": [["1"], ["2"], ["3"], ["5"], ["6"], ["8"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Kx9hz_12.png", "TableImg_27684_5.png"], "original_data_index": 1291} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 3 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4], "data": [["3"], ["4"], ["7"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_X19u2_12.png", "TableImg_Hndgz_5.png"], "original_data_index": 1292} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 12 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_6xn6v_12.png", "TableImg_Q2oj2_5.png"], "original_data_index": 1293} +{"question": "SELECT Member_ID FROM member WHERE Card_Number <> \"LE99\" AND \"Level\" != 4 AND Hometown <> \"LaGrange, Georgia\" INTERSECT SELECT Member_ID FROM purchase WHERE Branch_ID <> \"5\" AND \"Member_ID\" != 3", "answer": {"columns": ["Member_ID"], "index": [0, 1], "data": [["2"], ["4"]]}, "table_names": "['member' 'purchase']", "table_image_ids": ["TableImg_Z8eev_10.png", "TableImg_6no50_8.png"], "original_data_index": 1294} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 1 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 1", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3], "data": [["2"], ["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Eqybn_5.png", "TableImg_9w1cd_4.png"], "original_data_index": 1295} +{"question": "SELECT feature_id FROM Other_Available_Features WHERE feature_name = \"Pool\" AND \"feature_id\" <= 3 INTERSECT SELECT feature_id FROM Other_Property_Features WHERE \"feature_id\" > 2 OR \"property_id\" > 4 OR property_feature_description = \"quo\"", "answer": {"columns": ["feature_id"], "index": [0], "data": [["3"]]}, "table_names": "['Other_Available_Features' 'Other_Property_Features']", "table_image_ids": ["TableImg_Q6cdp_3.png", "TableImg_Nhxup_15.png"], "original_data_index": 1296} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 6 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7], "data": [["4"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Jvhw0_12.png", "TableImg_8fq71_5.png"], "original_data_index": 1297} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 2 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["2"], ["3"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Z1jkb_5.png", "TableImg_H5btd_4.png"], "original_data_index": 1298} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 5 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2], "data": [["1"], ["2"], ["3"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_8pp8e_5.png", "TableImg_Wxn4b_4.png"], "original_data_index": 1299} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 6 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Dq28t_12.png", "TableImg_Q7zaf_5.png"], "original_data_index": 1300} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 11 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_7yw1e_12.png", "TableImg_9qh5m_5.png"], "original_data_index": 1301} +{"question": "SELECT Book_ID, Issues, Title FROM book WHERE \"Issues\" >= 6.0 OR \"Book_ID\" <> 9 AND Writer = \"Elaine Lee\" OR Title = \"Michael Moorcock's Multiverse\" INTERSECT SELECT Book_ID, Issues, Title FROM book WHERE Title <> \"Gemini Blood\" OR \"Book_ID\" > 7 AND \"Issues\" <= 4.0 OR Writer != \"Howard Chaykin\"", "answer": {"columns": ["Book_ID", "Issues", "Title"], "index": [0, 1, 2, 3, 4], "data": [["1", "6", "The Black Lamb"], ["4", "6", "BrainBanx"], ["5", "12", "Cyberella"], ["8", "9", "Gemini Blood"], ["9", "12", "Michael Moorcock's Multiverse"]]}, "table_names": "['book' 'book']", "table_image_ids": ["TableImg_4ds9k_10.png", "TableImg_D0q16_10.png"], "original_data_index": 1302} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 3 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_I331z_12.png", "TableImg_Bsfy5_5.png"], "original_data_index": 1303} +{"question": "SELECT Store_Name, Store_ID FROM store WHERE \"Area_size\" <= 179.84 OR Type <> \"City Mall\" OR Store_Name != \"Miramichi\" AND \"Ranking\" <= 2 UNION ALL SELECT Store_Name, Store_ID FROM store WHERE \"Store_ID\" <= 4 OR Type = \"Village Store\" AND \"Area_size\" <> 179.84 AND \"Number_of_product_category\" >= 1170.0 OR \"Ranking\" < 1 AND Store_Name <> \"Miramichi\"", "answer": {"columns": ["Store_Name", "Store_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8], "data": [["Miramichi", "1"], ["Neguac", "2"], ["Rogersville", "3"], ["Blackville", "4"], ["Doaktown", "5"], ["Miramichi", "1"], ["Neguac", "2"], ["Rogersville", "3"], ["Blackville", "4"]]}, "table_names": "['store' 'store']", "table_image_ids": ["TableImg_Ptgej_5.png", "TableImg_Y75i5_5.png"], "original_data_index": 1304} +{"question": "SELECT ClubName, ClubDesc FROM Club WHERE ClubDesc = \"Venture capital fund for student business.\" AND \"ClubID\" > 3 OR ClubName = \"Hopkins Student Enterprises\" OR ClubLocation <> \"AKW\" INTERSECT SELECT ClubName, ClubDesc FROM Club WHERE ClubName != \"Bootup Baltimore\" OR \"ClubID\" = 2 AND ClubDesc != \"Refurbish computers; teach kids and adults about computer basics.\" OR ClubLocation != \"AKW\"", "answer": {"columns": ["ClubName", "ClubDesc"], "index": [0, 1], "data": [["Hopkins Student Enterprises", "Venture capital fund for student business."], ["Pen and Paper Gaming", "Play pen and paper games on campus."]]}, "table_names": "['Club' 'Club']", "table_image_ids": ["TableImg_P97aq_4.png", "TableImg_Za3nz_4.png"], "original_data_index": 1305} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 8 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Tw2p9_12.png", "TableImg_Njoo1_5.png"], "original_data_index": 1306} +{"question": "SELECT City, Name, Employee_ID, Age FROM employee WHERE City <> \"Bath\" OR \"Age\" > 29 OR \"Employee_ID\" != 8 INTERSECT SELECT City, Name, Employee_ID, Age FROM employee WHERE \"Employee_ID\" >= 3 AND City <> \"Sale\" AND Name = \"George Chuter\" OR \"Age\" >= 36", "answer": {"columns": ["City", "Name", "Employee_ID", "Age"], "index": [0, 1, 2], "data": [["Bristol", "Mark Regan", "3", "43"], ["Leicester", "Louis Deacon", "10", "36"], ["Wasps", "Phil Vickery", "8", "40"]]}, "table_names": "['employee' 'employee']", "table_image_ids": ["TableImg_6lbb5_10.png", "TableImg_A5jcd_10.png"], "original_data_index": 1307} +{"question": "SELECT MIN(Rank) FROM coach WHERE \"Club_ID\" = 1 OR Gender != \"M\" AND Coach_name <> \"Smith Brown\" UNION SELECT MIN(Rank) FROM match_result WHERE \"Bronze\" > 8 OR \"Gold\" != 6 AND \"Small_Silver\" = 16 AND \"Rank\" = 2 AND \"Points\" < 102 AND \"Club_ID\" <= 3 AND \"Big_Silver\" > 9", "answer": {"columns": ["MIN(Rank)"], "index": [0, 1], "data": [["1"], ["2"]]}, "table_names": "['coach' 'match_result']", "table_image_ids": ["TableImg_Jbhyk_5.png", "TableImg_N3wfw_6.png"], "original_data_index": 1308} +{"question": "SELECT MIN(School_ID) FROM school WHERE School <> \"St. Francis Assisi\" OR Type <> \"Private\" OR \"School_ID\" <= 6 OR Location <> \"Jakarta, Indonesia\" AND Grade <> \"College\" UNION SELECT MIN(School_ID) FROM school_bus WHERE \"School_ID\" <= 3", "answer": {"columns": ["MIN(School_ID)"], "index": [0], "data": [["1"]]}, "table_names": "['school' 'school_bus']", "table_image_ids": ["TableImg_Xb2mt_7.png", "TableImg_Rxgdx_5.png"], "original_data_index": 1309} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 1 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Sx5h9_12.png", "TableImg_U2g7d_5.png"], "original_data_index": 1310} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 5 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 2", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["3"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Ze7r0_5.png", "TableImg_Ngj25_4.png"], "original_data_index": 1311} +{"question": "SELECT MIN(Allergy) FROM Allergy_Type WHERE Allergy = \"Wheat\" OR AllergyType != \"animal\" UNION ALL SELECT MIN(Allergy) FROM Has_Allergy WHERE \"StuID\" <= 1015 AND Allergy != \"Shellfish\"", "answer": {"columns": ["MIN(Allergy)"], "index": [0, 1], "data": [["Anchovies"], ["Anchovies"]]}, "table_names": "['Allergy_Type' 'Has_Allergy']", "table_image_ids": ["TableImg_Tznip_14.png", "TableImg_Szdn3_59.png"], "original_data_index": 1312} +{"question": "SELECT Price FROM publication WHERE \"Book_ID\" < 5 OR \"Publication_ID\" >= 4 AND \"Price\" < 6000000.0 OR Publisher = \"Springer Nature\" AND Publication_Date != \"August 2008\" UNION SELECT Price FROM publication WHERE \"Book_ID\" >= 7 AND Publication_Date <> \"April 2007\" AND Publisher != \"Bertelsmann\" OR \"Publication_ID\" > 7", "answer": {"columns": ["Price"], "index": [0, 1, 2, 3, 4], "data": [["2000000"], ["3000000"], ["4100000"], ["6000000"], ["15000000"]]}, "table_names": "['publication' 'publication']", "table_image_ids": ["TableImg_3na7n_7.png", "TableImg_Cnm9l_7.png"], "original_data_index": 1313} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 9 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_7b40e_12.png", "TableImg_R3b4o_5.png"], "original_data_index": 1314} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 1 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_3w5ei_12.png", "TableImg_Llzr7_5.png"], "original_data_index": 1315} +{"question": "SELECT u_id, a_id FROM review WHERE \"u_id\" > 2 AND \"rank\" = 2 OR \"a_id\" <= 4 INTERSECT SELECT u_id, a_id FROM review WHERE \"u_id\" >= 1", "answer": {"columns": ["u_id", "a_id"], "index": [0, 1, 2, 3], "data": [["1", "1"], ["1", "3"], ["2", "2"], ["2", "4"]]}, "table_names": "['review' 'review']", "table_image_ids": ["TableImg_Bw5m7_7.png", "TableImg_Vgglt_7.png"], "original_data_index": 1316} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 12 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "data": [["1"], ["2"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_0br29_12.png", "TableImg_Zn4sw_5.png"], "original_data_index": 1317} +{"question": "SELECT staff_id FROM Lessons WHERE \"customer_id\" <= 10 AND lesson_time = \"2\" UNION SELECT staff_id FROM Staff WHERE date_of_birth != \"2007-06-11 20:03:28\" AND nickname <> \"edwin.hudson\" OR date_left_staff = \"2018-02-26 17:56:31\" AND \"staff_id\" <= 4 AND last_name = \"Mertz\" OR date_joined_staff <> \"2016-06-06 08:54:28\" AND first_name = \"Eulalia\"", "answer": {"columns": ["staff_id"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["8"], ["9"], ["10"], ["11"], ["13"], ["14"], ["15"]]}, "table_names": "['Lessons' 'Staff']", "table_image_ids": ["TableImg_Gzf26_15.png", "TableImg_V25k8_15.png"], "original_data_index": 1318} +{"question": "SELECT id FROM flight WHERE \"Velocity\" <= 240.0 OR Pilot != \"Thompson\" AND \"airport_id\" = 6 AND Vehicle_Flight_number != \"M2-F1 #0\" AND \"id\" <= 2 EXCEPT SELECT id FROM operate_company WHERE name != \"China Pacific Laundry Services\" OR \"id\" = 6 AND Incorporated_in = \"Canada\"", "answer": {"columns": ["id"], "index": [0], "data": [["12"]]}, "table_names": "['flight' 'operate_company']", "table_image_ids": ["TableImg_9qybt_13.png", "TableImg_Bq3ma_14.png"], "original_data_index": 1319} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 3 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 2", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["1"], ["2"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_4ftbo_5.png", "TableImg_Wsnd5_4.png"], "original_data_index": 1320} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 3 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5], "data": [["4"], ["5"], ["6"], ["8"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Kvhfd_12.png", "TableImg_Uvw97_5.png"], "original_data_index": 1321} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 5 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 9", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["7"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Iyfqr_12.png", "TableImg_B16i6_5.png"], "original_data_index": 1322} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 11 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_3z3ff_12.png", "TableImg_Mysga_5.png"], "original_data_index": 1323} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 8 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["5"], ["6"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_88e5b_12.png", "TableImg_67xpt_5.png"], "original_data_index": 1324} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 2 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["1"], ["3"], ["5"], ["6"], ["8"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_W0x2x_12.png", "TableImg_Sk1no_5.png"], "original_data_index": 1325} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 5 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 2", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_N3uxq_5.png", "TableImg_Cki3j_4.png"], "original_data_index": 1326} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 9 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 10", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["9"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_8646g_12.png", "TableImg_Df5c4_5.png"], "original_data_index": 1327} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 4 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["1"], ["2"], ["3"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Qv8wa_12.png", "TableImg_6fysq_5.png"], "original_data_index": 1328} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 2 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 2", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["1"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_13ta9_5.png", "TableImg_Tx9bq_4.png"], "original_data_index": 1329} +{"question": "SELECT u_id FROM review WHERE \"u_id\" < 2 OR \"a_id\" <= 3 AND \"rank\" <> 7 OR \"rating\" != 7 AND \"i_id\" > 3 INTERSECT SELECT u_id FROM useracct WHERE name != \"Terry\"", "answer": {"columns": ["u_id"], "index": [0, 1], "data": [["1"], ["2"]]}, "table_names": "['review' 'useracct']", "table_image_ids": ["TableImg_Ubeal_7.png", "TableImg_Pm4wg_7.png"], "original_data_index": 1330} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 11 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["3"], ["4"], ["7"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Dxk0g_12.png", "TableImg_Ul0qi_5.png"], "original_data_index": 1331} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 8 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["8"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_9bwhj_12.png", "TableImg_Alz9t_5.png"], "original_data_index": 1332} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 8 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_2ky43_12.png", "TableImg_Ebml4_5.png"], "original_data_index": 1333} +{"question": "SELECT AVG(Total_pounds), MIN(Branch_ID), Member_ID, MAX(Year) FROM purchase WHERE Year != \"2018\" OR \"Member_ID\" != 3 AND \"Total_pounds\" <= 430.29 UNION ALL SELECT AVG(Total_pounds), MIN(Branch_ID), Member_ID, MAX(Year) FROM purchase WHERE \"Total_pounds\" < 232.09 AND Branch_ID <> \"1\" AND Year != \"2018\" AND \"Member_ID\" <= 2", "answer": {"columns": ["AVG(Total_pounds)", "MIN(Branch_ID)", "Member_ID", "MAX(Year)"], "index": [0, 1], "data": [["399.115", "1.0", "2.0", "2018.0"], ["", "", "", ""]]}, "table_names": "['purchase' 'purchase']", "table_image_ids": ["TableImg_1gx9x_8.png", "TableImg_Ph37a_8.png"], "original_data_index": 1334} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 9 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 10", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Gv28g_12.png", "TableImg_4h3fu_5.png"], "original_data_index": 1335} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 7 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Qvj9d_12.png", "TableImg_8i6r3_5.png"], "original_data_index": 1336} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 1 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 1", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2], "data": [["2"], ["3"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_2j35t_5.png", "TableImg_Rv1nj_4.png"], "original_data_index": 1337} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 8 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Ko22r_12.png", "TableImg_F8ym0_5.png"], "original_data_index": 1338} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 9 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_7771s_12.png", "TableImg_Mnxnr_5.png"], "original_data_index": 1339} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 7 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7], "data": [["3"], ["4"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Fk3bb_12.png", "TableImg_1va7l_5.png"], "original_data_index": 1340} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 9 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 4", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["3"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Ohmao_12.png", "TableImg_Nlnvd_5.png"], "original_data_index": 1341} +{"question": "SELECT document_id, copy_number, draft_number FROM Draft_Copies WHERE \"draft_number\" <> 20 AND \"document_id\" != 2 INTERSECT SELECT document_id, copy_number, draft_number FROM Draft_Copies WHERE \"copy_number\" > 4", "answer": {"columns": ["document_id", "copy_number", "draft_number"], "index": [0, 1, 2, 3, 4], "data": [["1", "5", "2"], ["4", "6", "9"], ["12", "10", "12"], ["20", "15", "17"], ["23", "15", "9"]]}, "table_names": "['Draft_Copies' 'Draft_Copies']", "table_image_ids": ["TableImg_Erhvx_8.png", "TableImg_Dtu7t_8.png"], "original_data_index": 1342} +{"question": "SELECT name, u_id FROM useracct WHERE \"u_id\" <= 2 INTERSECT SELECT name, u_id FROM useracct WHERE \"u_id\" <> 6", "answer": {"columns": ["name", "u_id"], "index": [0, 1], "data": [["Helen", "1"], ["Mark", "2"]]}, "table_names": "['useracct' 'useracct']", "table_image_ids": ["TableImg_Dj7qo_7.png", "TableImg_L0fjw_7.png"], "original_data_index": 1343} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 3 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["3"], ["4"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_03ot6_12.png", "TableImg_Lc9th_5.png"], "original_data_index": 1344} +{"question": "SELECT AVG(Name), COUNT(Budget_in_Billions), AVG(Num_Employees), Ranking FROM department WHERE \"Budget_in_Billions\" <= 77.6 OR \"Ranking\" <> 3 OR Name != \"State\" OR \"Num_Employees\" > 36000.0 AND Creation <> \"1947\" EXCEPT SELECT AVG(Name), COUNT(Budget_in_Billions), AVG(Num_Employees), Ranking FROM department WHERE \"Ranking\" >= 1 AND \"Department_ID\" = 2", "answer": {"columns": ["AVG(Name)", "COUNT(Budget_in_Billions)", "AVG(Num_Employees)", "Ranking"], "index": [0], "data": [["0", "15", "279542.9333333333", "1"]]}, "table_names": "['department' 'department']", "table_image_ids": ["TableImg_Ktxwt_15.png", "TableImg_8k0kn_15.png"], "original_data_index": 1345} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 3 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 5", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Nlelx_5.png", "TableImg_4l3zk_4.png"], "original_data_index": 1346} +{"question": "SELECT last_name, first_name, date_of_birth FROM Customers WHERE phone_number != \"(729)396-4354x3576\" AND last_name != \"Mertz\" OR date_became_customer <> \"2015-11-16 22:52:14\" OR \"customer_address_id\" < 10 AND \"customer_id\" > 5 AND date_of_birth = \"1993-03-08 08:48:42\" OR email_address = \"everette.goyette@example.org\" AND cell_mobile_phone_number <> \"739-333-6966x187\" OR \"amount_outstanding\" > 1000.0 AND customer_status_code != \"Good Customer\" OR first_name != \"Dianna\" EXCEPT SELECT last_name, first_name, date_of_birth FROM Staff WHERE nickname = \"gabe21\" OR date_left_staff != \"2018-03-23 22:53:12\" OR \"staff_id\" < 11", "answer": {"columns": ["last_name", "first_name", "date_of_birth"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14], "data": [["Bernhard", "Carole", "1998-12-15 13:24:40"], ["Bruen", "Millie", "1991-02-10 00:42:17"], ["Goodwin", "Rylan", "1996-08-29 00:03:08"], ["Grant", "Estelle", "1996-05-23 01:21:54"], ["Koelpin", "Marina", "1996-11-07 05:30:55"], ["Kohler", "Ray", "1994-05-07 01:32:16"], ["Leuschke", "Omer", "1993-07-09 11:11:36"], ["Mertz", "Leif", "1991-12-05 02:50:15"], ["Ortiz", "Clara", "1994-06-21 01:34:56"], ["Sanford", "Dameon", "1996-08-30 06:17:50"], ["Schmeler", "Sigrid", "1988-09-19 14:45:56"], ["Spinka", "Amya", "1993-03-08 08:48:42"], ["Terry", "Genevieve", "1995-07-17 12:13:16"], ["Trantow", "Dianna", "1998-09-18 04:45:01"], ["Tromp", "Jordy", "1993-02-07 05:40:26"]]}, "table_names": "['Customers' 'Staff']", "table_image_ids": ["TableImg_Zqr4r_15.png", "TableImg_L2yiw_15.png"], "original_data_index": 1347} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 10 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Qkl6w_12.png", "TableImg_Wdwto_5.png"], "original_data_index": 1348} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 3 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["3"], ["4"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_67dua_12.png", "TableImg_Ooxn1_5.png"], "original_data_index": 1349} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 3 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "data": [["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_4wjt1_12.png", "TableImg_8upae_5.png"], "original_data_index": 1350} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID = 1 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID = 5", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["1"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Uvlun_5.png", "TableImg_4t5tr_4.png"], "original_data_index": 1351} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 5 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7], "data": [["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_5gifu_12.png", "TableImg_Ktepl_5.png"], "original_data_index": 1352} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 9 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 4", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["9"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_3i89u_12.png", "TableImg_S88uq_5.png"], "original_data_index": 1353} +{"question": "SELECT Template_Type_Code FROM Ref_Template_Types WHERE Template_Type_Code != \"BK\" OR Template_Type_Description = \"Presentation\" INTERSECT SELECT Template_Type_Code FROM Templates WHERE Date_Effective_From != \"1986-11-14 12:20:18\"", "answer": {"columns": ["Template_Type_Code"], "index": [0, 1, 2, 3], "data": [["AD"], ["CV"], ["PP"], ["PPT"]]}, "table_names": "['Ref_Template_Types' 'Templates']", "table_image_ids": ["TableImg_Fxh8i_5.png", "TableImg_Ro9xi_20.png"], "original_data_index": 1354} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 6 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["4"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Noj3k_12.png", "TableImg_U849n_5.png"], "original_data_index": 1355} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 8 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Ukq1t_12.png", "TableImg_Foru5_5.png"], "original_data_index": 1356} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 4 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 5", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Qc5wm_5.png", "TableImg_Lokdo_4.png"], "original_data_index": 1357} +{"question": "SELECT COUNT(T1.District_ID), T2.District_ID FROM district as T1 JOIN store_district as T2 ON T1.District_ID = T2.District_ID WHERE District_name <> \"Khanewal District\"", "answer": {"columns": ["COUNT(T1.District_ID)", "District_ID"], "index": [0], "data": [["3", "11"]]}, "table_names": "['district' 'store_district']", "table_image_ids": ["TableImg_A7hrm_15.png", "TableImg_Bs6ed_5.png"], "original_data_index": 1358} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 5 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_7fa64_12.png", "TableImg_Onap3_5.png"], "original_data_index": 1359} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 11 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_5gcmk_12.png", "TableImg_H47t4_5.png"], "original_data_index": 1360} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 10 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["4"], ["7"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Vsfeu_12.png", "TableImg_At8en_5.png"], "original_data_index": 1361} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 5 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Gd8xp_12.png", "TableImg_Sttui_5.png"], "original_data_index": 1362} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 2 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID = 5", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Qhzgs_5.png", "TableImg_2gr4s_4.png"], "original_data_index": 1363} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID = 1 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["3"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Vv1qp_5.png", "TableImg_Mu3if_4.png"], "original_data_index": 1364} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 4 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["3"], ["4"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_77gn9_5.png", "TableImg_Qmbqv_4.png"], "original_data_index": 1365} +{"question": "SELECT LName, Fname, city_code, StuID, Age, Major FROM Student WHERE \"Advisor\" != 1148 UNION ALL SELECT LName, Fname, city_code, StuID, Age, Major FROM Student WHERE city_code = \"WAS\" AND \"StuID\" <= 1017 AND \"Advisor\" > 9172 AND Fname = \"Lisa\" AND \"Major\" > 600 AND Sex = \"M\" OR \"Age\" != 19 AND LName = \"Prater\"", "answer": {"columns": ["LName", "Fname", "city_code", "StuID", "Age", "Major"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31], "data": [["Smith", "Linda", "BAL", "1001", "18", "600"], ["Kim", "Tracy", "HKG", "1002", "19", "600"], ["Jones", "Shiela", "WAS", "1003", "21", "600"], ["Kumar", "Dinesh", "CHI", "1004", "20", "600"], ["Gompers", "Paul", "YYZ", "1005", "26", "600"], ["Apap", "Lisa", "PIT", "1007", "18", "600"], ["Nelson", "Jandy", "BAL", "1008", "20", "600"], ["Tai", "Eric", "YYZ", "1009", "19", "600"], ["Lee", "Derek", "HOU", "1010", "17", "600"], ["Davis", "Steven", "PIT", "1012", "20", "600"], ["Norris", "Charles", "DAL", "1014", "18", "600"], ["Lee", "Susan", "HKG", "1015", "16", "600"], ["Schwartz", "Mark", "DET", "1016", "17", "600"], ["Leighton", "Michael", "PIT", "1018", "20", "600"], ["Pang", "Arthur", "WAS", "1019", "18", "600"], ["Thornton", "Ian", "NYC", "1020", "22", "520"], ["Andreou", "George", "NYC", "1021", "19", "520"], ["Woods", "Michael", "PHL", "1022", "17", "540"], ["Shieber", "David", "NYC", "1023", "20", "520"], ["Prater", "Stacy", "BAL", "1024", "18", "540"], ["Goldman", "Mark", "PIT", "1025", "18", "520"], ["Pang", "Eric", "HKG", "1026", "19", "520"], ["Brody", "Paul", "LOS", "1027", "18", "520"], ["Rugh", "Eric", "ROC", "1028", "20", "550"], ["Han", "Jun", "PEK", "1029", "17", "100"], ["Cheng", "Lisa", "SFO", "1030", "21", "550"], ["Smith", "Sarah", "PHL", "1031", "20", "550"], ["Brown", "Eric", "ATL", "1032", "20", "550"], ["Simms", "William", "NAR", "1033", "18", "550"], ["Epp", "Eric", "BOS", "1034", "18", "50"], ["Schmidt", "Sarah", "WAS", "1035", "26", "50"], ["Prater", "Stacy", "BAL", "1024", "18", "540"]]}, "table_names": "['Student' 'Student']", "table_image_ids": ["TableImg_Ddsva_34.png", "TableImg_888zl_34.png"], "original_data_index": 1366} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 3 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_2ulwz_5.png", "TableImg_Uq8g6_4.png"], "original_data_index": 1367} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 3 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "data": [["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_S49gk_12.png", "TableImg_Vdkwm_5.png"], "original_data_index": 1368} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 8 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 9", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["8"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Krnw3_12.png", "TableImg_3n4ls_5.png"], "original_data_index": 1369} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 6 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 3", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["3"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_B06j8_12.png", "TableImg_Fokm3_5.png"], "original_data_index": 1370} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 1 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["2"], ["3"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_3b8jm_5.png", "TableImg_4zeqi_4.png"], "original_data_index": 1371} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 1 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_7si0e_12.png", "TableImg_Rbhpn_5.png"], "original_data_index": 1372} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 2 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_60rxh_5.png", "TableImg_I0pge_4.png"], "original_data_index": 1373} +{"question": "SELECT first_name, AVG(date_of_birth), SUM(last_name) FROM Customers WHERE date_became_customer != \"2016-02-17 08:26:23\" OR \"customer_id\" <> 7 AND phone_number <> \"374-483-2758x85087\" OR \"customer_address_id\" != 7 EXCEPT SELECT first_name, AVG(date_of_birth), SUM(last_name) FROM Staff WHERE \"staff_id\" != 7 OR first_name <> \"Titus\" OR nickname != \"ymiller\"", "answer": {"columns": ["first_name", "AVG(date_of_birth)", "SUM(last_name)"], "index": [0], "data": [["Carole", "1994.1333333333", "0"]]}, "table_names": "['Customers' 'Staff']", "table_image_ids": ["TableImg_4ek68_15.png", "TableImg_Axzx7_15.png"], "original_data_index": 1374} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 12 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 10", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_7ga2i_12.png", "TableImg_96ocs_5.png"], "original_data_index": 1375} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 8 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["3"], ["4"], ["7"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Uxzrk_12.png", "TableImg_4wmrb_5.png"], "original_data_index": 1376} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 2 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 4", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["1"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Mikgg_12.png", "TableImg_Alfqt_5.png"], "original_data_index": 1377} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 5 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 1", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["3"], ["4"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Mq5kj_5.png", "TableImg_Woxsb_4.png"], "original_data_index": 1378} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 5 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 3", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["3"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_8xf1h_5.png", "TableImg_7hl4x_4.png"], "original_data_index": 1379} +{"question": "SELECT Template_Type_Code FROM Ref_Template_Types WHERE Template_Type_Description = \"CV\" AND Template_Type_Code <> \"BK\" INTERSECT SELECT Template_Type_Code FROM Ref_Template_Types WHERE Template_Type_Code != \"AD\" OR Template_Type_Description <> \"Paper\"", "answer": {"columns": ["Template_Type_Code"], "index": [0], "data": [["CV"]]}, "table_names": "['Ref_Template_Types' 'Ref_Template_Types']", "table_image_ids": ["TableImg_Nd2ug_5.png", "TableImg_Sey4f_5.png"], "original_data_index": 1380} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 3 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 3", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_46nzi_5.png", "TableImg_65j6p_4.png"], "original_data_index": 1381} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 3 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "data": [["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_M2zi1_12.png", "TableImg_Cvjp8_5.png"], "original_data_index": 1382} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 10 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_2u2zt_12.png", "TableImg_Sv3s8_5.png"], "original_data_index": 1383} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 4 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2], "data": [["1"], ["2"], ["3"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Jeucs_5.png", "TableImg_Qos4f_4.png"], "original_data_index": 1384} +{"question": "SELECT MAX(age), COUNT(born_state), MIN(name) FROM head WHERE name <> \"K. J. Choi\" OR \"age\" <> 43.0 INTERSECT SELECT MAX(age), COUNT(born_state), MIN(name) FROM head WHERE \"age\" > 50.0 OR \"head_ID\" = 3 OR born_state != \"Delaware\"", "answer": {"columns": ["MAX(age)", "COUNT(born_state)", "MIN(name)"], "index": [0], "data": [["69", "10", "Billy Mayfair"]]}, "table_names": "['head' 'head']", "table_image_ids": ["TableImg_T4e22_10.png", "TableImg_Up6zc_10.png"], "original_data_index": 1385} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 11 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 10", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_B5vpi_12.png", "TableImg_Chc5r_5.png"], "original_data_index": 1386} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 7 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Givg5_12.png", "TableImg_Oul8q_5.png"], "original_data_index": 1387} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 4 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5], "data": [["1"], ["2"], ["3"], ["4"], ["7"], ["9"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_6wj1l_12.png", "TableImg_7s95r_5.png"], "original_data_index": 1388} +{"question": "SELECT School_ID, MAX(School), Grade FROM school WHERE \"School_ID\" = 3 UNION ALL SELECT School_ID, MAX(School), Grade FROM school WHERE Location <> \"Cambridge, Massachusetts\" OR School != \"Columbia University\" OR Grade <> \"Kindergarten\" OR Type <> \"Public\" OR \"School_ID\" > 2", "answer": {"columns": ["School_ID", "MAX(School)", "Grade"], "index": [0, 1], "data": [["3", "State Elementary School Menteng 01", "4th grade"], ["3", "State Elementary School Menteng 01", "4th grade"]]}, "table_names": "['school' 'school']", "table_image_ids": ["TableImg_Pchk0_7.png", "TableImg_67pps_7.png"], "original_data_index": 1389} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 2 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 7", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["1"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_F2olc_12.png", "TableImg_Ubudx_5.png"], "original_data_index": 1390} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 2 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 5", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["4"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Csfyy_5.png", "TableImg_3am9c_4.png"], "original_data_index": 1391} +{"question": "SELECT MIN(T1.id), T2.company_id FROM airport as T1 JOIN flight as T2 ON T1.id = T2.id WHERE IATA <> \"BLL\" AND Date = \"January 29, 1964\" AND Altitude <= 3650.0 OR ICAO <> \"EBBR\" AND airport_id > 2 OR name = \"Billund Airport\"", "answer": {"columns": ["MIN(T1.id)", "company_id"], "index": [0], "data": [["1", "2"]]}, "table_names": "['airport' 'flight']", "table_image_ids": ["TableImg_73t15_9.png", "TableImg_9832m_13.png"], "original_data_index": 1392} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID = 4 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID = 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_F0jvh_5.png", "TableImg_Lkp0w_4.png"], "original_data_index": 1393} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 11 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["3"], ["4"], ["7"], ["9"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_9awso_12.png", "TableImg_R8ace_5.png"], "original_data_index": 1394} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 11 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["3"], ["4"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Kxlkr_12.png", "TableImg_8erg4_5.png"], "original_data_index": 1395} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 8 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5], "data": [["4"], ["7"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Nbo4n_12.png", "TableImg_Rl0xs_5.png"], "original_data_index": 1396} +{"question": "SELECT Fname, Age, SUM(city_code), MAX(LName), Major, MIN(Sex), StuID FROM Student WHERE Sex = \"F\" OR city_code = \"NYC\" AND \"Advisor\" < 7712 AND \"StuID\" != 1032 AND \"Major\" <= 600 OR Fname <> \"Mark\" INTERSECT SELECT Fname, Age, SUM(city_code), MAX(LName), Major, MIN(Sex), StuID FROM Student WHERE Fname != \"Mark\" AND \"StuID\" != 1023 AND \"Advisor\" != 8722 OR \"Age\" <= 21 AND \"Major\" <> 600 OR Sex = \"F\"", "answer": {"columns": ["Fname", "Age", "SUM(city_code)", "MAX(LName)", "Major", "MIN(Sex)", "StuID"], "index": [0], "data": [["Linda", "18", "0", "Woods", "600", "F", "1001"]]}, "table_names": "['Student' 'Student']", "table_image_ids": ["TableImg_11hwg_34.png", "TableImg_Aw6p9_34.png"], "original_data_index": 1397} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 9 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Y84pi_12.png", "TableImg_95bp6_5.png"], "original_data_index": 1398} +{"question": "SELECT Shop_ID FROM hiring WHERE \"Shop_ID\" != 1 UNION SELECT Shop_ID FROM shop WHERE \"Number_products\" > 10770", "answer": {"columns": ["Shop_ID"], "index": [0, 1, 2, 3, 4], "data": [["2"], ["4"], ["5"], ["6"], ["8"]]}, "table_names": "['hiring' 'shop']", "table_image_ids": ["TableImg_Ew0ff_7.png", "TableImg_V8ztq_9.png"], "original_data_index": 1399} +{"question": "SELECT shipping_agent_code FROM Documents WHERE shipping_agent_code = \"FE\" AND other_details <> \"z\" INTERSECT SELECT shipping_agent_code FROM Ref_Shipping_Agents WHERE shipping_agent_description <> \"t\" OR shipping_agent_code = \"FE\" OR shipping_agent_name <> \"UPS\"", "answer": {"columns": ["shipping_agent_code"], "index": [0], "data": [["FE"]]}, "table_names": "['Documents' 'Ref_Shipping_Agents']", "table_image_ids": ["TableImg_3qanh_15.png", "TableImg_I90gh_5.png"], "original_data_index": 1400} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 1 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 1", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["4"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Mebz1_5.png", "TableImg_535r5_4.png"], "original_data_index": 1401} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 5 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 1", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["1"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Hnlty_5.png", "TableImg_Ejurj_4.png"], "original_data_index": 1402} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 2 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5], "data": [["3"], ["5"], ["6"], ["8"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Wpafu_12.png", "TableImg_0jzig_5.png"], "original_data_index": 1403} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 3 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 1", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["1"], ["4"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_71c7i_5.png", "TableImg_0n18d_4.png"], "original_data_index": 1404} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 3 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["4"], ["7"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Qsirx_12.png", "TableImg_Lekkh_5.png"], "original_data_index": 1405} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 1 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 10", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["1"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Fdicf_12.png", "TableImg_1jhix_5.png"], "original_data_index": 1406} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 10 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 10", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_87v8r_12.png", "TableImg_F8db1_5.png"], "original_data_index": 1407} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 6 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Ljkgo_12.png", "TableImg_Gvrlb_5.png"], "original_data_index": 1408} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 1 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID = 2", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["2"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Abla5_5.png", "TableImg_Ut8ot_4.png"], "original_data_index": 1409} +{"question": "SELECT id FROM albums WHERE \"artist_id\" <> 248 AND \"id\" <> 171 EXCEPT SELECT id FROM genres WHERE name <> \"Opera\" AND \"id\" <> 24", "answer": {"columns": ["id"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319], "data": [["24"], ["25"], ["26"], ["27"], ["28"], ["29"], ["30"], ["31"], ["32"], ["33"], ["34"], ["35"], ["36"], ["37"], ["38"], ["39"], ["40"], ["41"], ["42"], ["43"], ["44"], ["45"], ["46"], ["47"], ["48"], ["49"], ["50"], ["51"], ["52"], ["53"], ["54"], ["55"], ["56"], ["57"], ["58"], ["59"], ["60"], ["61"], ["62"], ["63"], ["64"], ["65"], ["66"], ["67"], ["68"], ["69"], ["70"], ["71"], ["72"], ["73"], ["74"], ["75"], ["76"], ["77"], ["78"], ["79"], ["80"], ["81"], ["82"], ["83"], ["84"], ["85"], ["86"], ["87"], ["88"], ["89"], ["90"], ["91"], ["92"], ["93"], ["94"], ["95"], ["96"], ["97"], ["98"], ["99"], ["100"], ["101"], ["102"], ["103"], ["104"], ["105"], ["106"], ["107"], ["108"], ["109"], ["110"], ["111"], ["112"], ["113"], ["114"], ["115"], ["116"], ["117"], ["118"], ["119"], ["120"], ["121"], ["122"], ["123"], ["124"], ["125"], ["126"], ["127"], ["128"], ["129"], ["130"], ["131"], ["132"], ["133"], ["134"], ["135"], ["136"], ["137"], ["138"], ["139"], ["140"], ["141"], ["142"], ["143"], ["144"], ["145"], ["146"], ["147"], ["148"], ["149"], ["150"], ["151"], ["152"], ["153"], ["154"], ["155"], ["156"], ["157"], ["158"], ["159"], ["160"], ["161"], ["162"], ["163"], ["164"], ["165"], ["166"], ["167"], ["168"], ["169"], ["170"], ["172"], ["173"], ["174"], ["175"], ["176"], ["177"], ["178"], ["179"], ["180"], ["181"], ["182"], ["183"], ["184"], ["185"], ["186"], ["187"], ["188"], ["189"], ["190"], ["191"], ["192"], ["193"], ["194"], ["195"], ["196"], ["197"], ["198"], ["199"], ["200"], ["201"], ["202"], ["203"], ["204"], ["205"], ["206"], ["207"], ["208"], ["209"], ["210"], ["211"], ["212"], ["213"], ["214"], ["215"], ["216"], ["217"], ["218"], ["219"], ["220"], ["221"], ["222"], ["223"], ["224"], ["225"], ["226"], ["227"], ["228"], ["229"], ["230"], ["231"], ["232"], ["233"], ["234"], ["235"], ["236"], ["237"], ["238"], ["239"], ["240"], ["241"], ["242"], ["243"], ["244"], ["245"], ["246"], ["247"], ["248"], ["249"], ["250"], ["251"], ["252"], ["253"], ["254"], ["255"], ["256"], ["257"], ["258"], ["259"], ["260"], ["261"], ["262"], ["263"], ["264"], ["265"], ["266"], ["267"], ["268"], ["269"], ["270"], ["271"], ["272"], ["273"], ["274"], ["275"], ["276"], ["277"], ["278"], ["279"], ["280"], ["281"], ["282"], ["283"], ["284"], ["285"], ["286"], ["287"], ["288"], ["289"], ["290"], ["291"], ["292"], ["293"], ["294"], ["295"], ["296"], ["297"], ["298"], ["299"], ["300"], ["301"], ["302"], ["303"], ["304"], ["305"], ["306"], ["307"], ["308"], ["309"], ["310"], ["311"], ["312"], ["313"], ["314"], ["315"], ["317"], ["318"], ["319"], ["321"], ["322"], ["323"], ["324"], ["325"], ["326"], ["327"], ["328"], ["329"], ["330"], ["331"], ["332"], ["333"], ["334"], ["335"], ["337"], ["338"], ["339"], ["340"], ["341"], ["342"], ["343"], ["344"], ["345"], ["346"], ["347"]]}, "table_names": "['albums' 'genres']", "table_image_ids": ["TableImg_Yd0jp_347.png", "TableImg_Qs86y_25.png"], "original_data_index": 1410} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 9 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["3"], ["4"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_6upmu_12.png", "TableImg_S7ipn_5.png"], "original_data_index": 1411} +{"question": "SELECT i_id FROM item WHERE \"i_id\" != 6 OR title != \"avocado\" UNION SELECT i_id FROM review WHERE \"u_id\" >= 2 OR \"rank\" < 3 AND \"rating\" <= 5", "answer": {"columns": ["i_id"], "index": [0, 1, 2, 3, 4, 5, 6, 7], "data": [["0"], ["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"]]}, "table_names": "['item' 'review']", "table_image_ids": ["TableImg_562yu_8.png", "TableImg_0t3jb_7.png"], "original_data_index": 1412} +{"question": "SELECT MAX(Branch_ID) FROM branch WHERE Name = \"Saint Amant\" OR City != \"London\" AND Address_road <> \"Cecilia Avenue\" AND Open_year != \"2014\" AND \"Branch_ID\" < 1 UNION SELECT MAX(Branch_ID) FROM membership_register_branch WHERE Register_Year != \"2017\"", "answer": {"columns": ["MAX(Branch_ID)"], "index": [0, 1], "data": [["7"], ["8"]]}, "table_names": "['branch' 'membership_register_branch']", "table_image_ids": ["TableImg_Vp81i_8.png", "TableImg_452k7_8.png"], "original_data_index": 1413} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 4 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 2", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["2"], ["4"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Irl8r_5.png", "TableImg_3fmmg_4.png"], "original_data_index": 1414} +{"question": "SELECT other_details FROM Employees WHERE \"employee_id\" <> 3 AND role_code != \"MG\" UNION ALL SELECT other_details FROM Employees WHERE employee_name <> \"Kenyon\" OR other_details <> \"f\"", "answer": {"columns": ["other_details"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8], "data": [["h"], ["f"], ["b"], ["v"], ["h"], ["b"], ["b"], ["v"], ["u"]]}, "table_names": "['Employees' 'Employees']", "table_image_ids": ["TableImg_Qapph_6.png", "TableImg_4hv1g_6.png"], "original_data_index": 1415} +{"question": "SELECT property_type_code FROM Ref_Property_Types WHERE property_type_code = \"Field\" INTERSECT SELECT property_type_code FROM Ref_Property_Types WHERE property_type_description != \"Apartment, Flat, Condo, etc.\" OR property_type_code = \"Field\"", "answer": {"columns": ["property_type_code"], "index": [0], "data": [["Field"]]}, "table_names": "['Ref_Property_Types' 'Ref_Property_Types']", "table_image_ids": ["TableImg_93fam_5.png", "TableImg_W40t2_5.png"], "original_data_index": 1416} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 8 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4], "data": [["3"], ["4"], ["7"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_38pwi_12.png", "TableImg_Vx19r_5.png"], "original_data_index": 1417} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 7 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["8"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Y6tpp_12.png", "TableImg_0ivgs_5.png"], "original_data_index": 1418} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 4 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_8tvoe_12.png", "TableImg_Slhje_5.png"], "original_data_index": 1419} +{"question": "SELECT Store_ID FROM store WHERE Type = \"Village Store\" AND \"Store_ID\" < 3 OR \"Ranking\" > 10 AND Store_Name <> \"Neguac\" OR \"Area_size\" > 21.73 AND \"Number_of_product_category\" < 17811.0 UNION ALL SELECT Store_ID FROM store_product WHERE \"Product_ID\" <> 1", "answer": {"columns": ["Store_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13], "data": [["2"], ["5"], ["1"], ["1"], ["1"], ["1"], ["3"], ["2"], ["3"], ["2"], ["5"], ["5"], ["5"], ["5"]]}, "table_names": "['store' 'store_product']", "table_image_ids": ["TableImg_Wca4t_5.png", "TableImg_Tkoyv_15.png"], "original_data_index": 1420} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 2 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Rtcie_12.png", "TableImg_5ut3z_5.png"], "original_data_index": 1421} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID = 4 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 3", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Hgwhp_5.png", "TableImg_Szpks_4.png"], "original_data_index": 1422} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 4 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2], "data": [["1"], ["2"], ["3"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_2fq6r_5.png", "TableImg_Gtr84_4.png"], "original_data_index": 1423} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 10 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 9", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["9"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Bo1hy_12.png", "TableImg_S7cku_5.png"], "original_data_index": 1424} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID = 1 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 2", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["1"], ["2"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Tsstb_5.png", "TableImg_Fgkc4_4.png"], "original_data_index": 1425} +{"question": "SELECT COUNT(phone_number), MIN(vote_id) FROM VOTES WHERE \"phone_number\" >= 5112677315 AND \"vote_id\" > 1 UNION ALL SELECT COUNT(phone_number), MIN(vote_id) FROM VOTES WHERE \"phone_number\" = 5112677315 OR state = \"NY\"", "answer": {"columns": ["COUNT(phone_number)", "MIN(vote_id)"], "index": [0, 1], "data": [["3", "2"], ["3", "1"]]}, "table_names": "['VOTES' 'VOTES']", "table_image_ids": ["TableImg_0cokb_4.png", "TableImg_I748t_4.png"], "original_data_index": 1426} +{"question": "SELECT SUM(Total_disk_area), MAX(Aircraft), AVG(Max_Gross_Weight), Description, Aircraft_ID, Max_disk_Loading FROM aircraft WHERE Description <> \"Light utility helicopter\" OR Max_Gross_Weight = \"123,500 lb (56,000 kg)\" EXCEPT SELECT SUM(Total_disk_area), MAX(Aircraft), AVG(Max_Gross_Weight), Description, Aircraft_ID, Max_disk_Loading FROM aircraft WHERE Max_disk_Loading = \"8.8 lb/ft\u00b2 (43 kg/m\u00b2)\" AND Max_Gross_Weight <> \"73,500 lb (33,300 kg)\" OR Total_disk_area = \"8,495 ft\u00b2 (789 m\u00b2)\" OR Description != \"Turboshaft utility helicopter\" AND \"Aircraft_ID\" != 2", "answer": {"columns": ["SUM(Total_disk_area)", "MAX(Aircraft)", "AVG(Max_Gross_Weight)", "Description", "Aircraft_ID", "Max_disk_Loading"], "index": [0], "data": [["889", "Mil Mi-26", "62.25", "Heavy-lift helicopter", "4", "14.5 lb/ft\u00b2 (71 kg/m\u00b2)"]]}, "table_names": "['aircraft' 'aircraft']", "table_image_ids": ["TableImg_6ber6_5.png", "TableImg_J0jrl_5.png"], "original_data_index": 1427} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 3 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["4"], ["7"], ["9"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Rvvcg_12.png", "TableImg_Xms1d_5.png"], "original_data_index": 1428} +{"question": "SELECT COUNT(Hometown), MIN(Level), MAX(Member_ID) FROM member WHERE \"Member_ID\" >= 1 AND Hometown != \"Collierville, Tennessee\" OR Name != \"Micah Johnson\" EXCEPT SELECT COUNT(Hometown), MIN(Level), MAX(Member_ID) FROM member WHERE Name = \"Johnny Williams\" OR \"Level\" < 6 AND \"Member_ID\" >= 9 AND Card_Number <> \"OLB56\"", "answer": {"columns": ["COUNT(Hometown)", "MIN(Level)", "MAX(Member_ID)"], "index": [0], "data": [["10", "2", "10"]]}, "table_names": "['member' 'member']", "table_image_ids": ["TableImg_Ed71d_10.png", "TableImg_4nb48_10.png"], "original_data_index": 1429} +{"question": "SELECT beds, roomName FROM Rooms WHERE bedType = \"Queen\" OR \"maxOccupancy\" < 4 UNION SELECT beds, roomName FROM Rooms WHERE RoomId != \"AOB\" OR \"maxOccupancy\" <> 2 AND \"basePrice\" = 150", "answer": {"columns": ["beds", "roomName"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "data": [["1", "Harbinger but bequest"], ["1", "Interim but salutary"], ["1", "Recluse and defiance"], ["1", "Thrift and accolade"], ["2", "Abscond or bolster"], ["2", "Convoke and sanguine"], ["2", "Frugal not apropos"], ["2", "Immutable before decorum"], ["2", "Mendicant with cryptic"], ["2", "Riddle to exculpate"]]}, "table_names": "['Rooms' 'Rooms']", "table_image_ids": ["TableImg_Omfrt_10.png", "TableImg_Q6pzd_10.png"], "original_data_index": 1430} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 2 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["4"], ["7"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_62wux_12.png", "TableImg_Au0cb_5.png"], "original_data_index": 1431} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 8 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7], "data": [["3"], ["4"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_R18m3_12.png", "TableImg_Gn1kd_5.png"], "original_data_index": 1432} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 11 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Ndold_12.png", "TableImg_We9ti_5.png"], "original_data_index": 1433} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 10 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Ti4xo_12.png", "TableImg_Bf8vt_5.png"], "original_data_index": 1434} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 7 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 10", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Y29uy_12.png", "TableImg_5lq5k_5.png"], "original_data_index": 1435} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 1 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_8i23m_12.png", "TableImg_64eug_5.png"], "original_data_index": 1436} +{"question": "SELECT name, MIN(u_id) FROM useracct WHERE \"u_id\" <> 3 AND name <> \"Nancy\" UNION ALL SELECT name, MIN(u_id) FROM useracct WHERE \"u_id\" < 5", "answer": {"columns": ["name", "MIN(u_id)"], "index": [0, 1], "data": [["Helen", "1"], ["Helen", "1"]]}, "table_names": "['useracct' 'useracct']", "table_image_ids": ["TableImg_6d3x4_7.png", "TableImg_Hf8ag_7.png"], "original_data_index": 1437} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID = 3 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2], "data": [["1"], ["2"], ["3"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Chmqw_5.png", "TableImg_Kfyxi_4.png"], "original_data_index": 1438} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 12 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 4", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_B58rt_12.png", "TableImg_Xcj31_5.png"], "original_data_index": 1439} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 6 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7], "data": [["3"], ["4"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Znr72_12.png", "TableImg_Jfjns_5.png"], "original_data_index": 1440} +{"question": "SELECT Document_Description, Document_Name, Template_ID FROM Documents WHERE Document_Description <> \"u\" UNION ALL SELECT Document_Description, Document_Name, Template_ID FROM Documents WHERE Other_Details <> \"None\"", "answer": {"columns": ["Document_Description", "Document_Name", "Template_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13], "data": [["n", "Introduction of OS", "7"], ["y", "Understanding DB", "25"], ["y", "Robbin CV", "20"], ["h", "Welcome to NY", "14"], ["w", "Data base", "11"], ["y", "Customer reviews", "10"], ["k", "Do not panic", "14"], ["z", "How Google people work", "1"], ["r", "Learning French", "22"], ["f", "How to write a CV", "21"], ["w", "How to read a book", "4"], ["y", "Palm reading", "8"], ["h", "A history of Arts", "25"], ["b", "About Korea", "11"]]}, "table_names": "['Documents' 'Documents']", "table_image_ids": ["TableImg_1eyda_15.png", "TableImg_Wfw9d_15.png"], "original_data_index": 1441} +{"question": "SELECT contestant_number FROM CONTESTANTS WHERE contestant_name != \"Jessie Eichman\" AND \"contestant_number\" <= 5 EXCEPT SELECT contestant_number FROM VOTES WHERE \"vote_id\" >= 2 OR created != \"2018-03-09 19:03:36\" OR \"contestant_number\" <> 3 OR \"phone_number\" = 7182887233", "answer": {"columns": ["contestant_number"], "index": [0, 1], "data": [["1"], ["4"]]}, "table_names": "['CONTESTANTS' 'VOTES']", "table_image_ids": ["TableImg_L59m0_11.png", "TableImg_K4nit_4.png"], "original_data_index": 1442} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 2 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_E3lw4_12.png", "TableImg_6j5l1_5.png"], "original_data_index": 1443} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 2 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_368w0_5.png", "TableImg_N3a1c_4.png"], "original_data_index": 1444} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 7 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 9", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["7"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Kdx8u_12.png", "TableImg_Zlui3_5.png"], "original_data_index": 1445} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 5 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 2", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_5f45l_5.png", "TableImg_Ey089_4.png"], "original_data_index": 1446} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 8 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["5"], ["6"], ["8"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_T8z9p_12.png", "TableImg_B097g_5.png"], "original_data_index": 1447} +{"question": "SELECT beds, RoomId, maxOccupancy, bedType FROM Rooms WHERE roomName != \"Convoke and sanguine\" AND \"maxOccupancy\" <> 2 EXCEPT SELECT beds, RoomId, maxOccupancy, bedType FROM Rooms WHERE roomName = \"Immutable before decorum\"", "answer": {"columns": ["beds", "RoomId", "maxOccupancy", "bedType"], "index": [0, 1, 2, 3], "data": [["2", "AOB", "4", "Queen"], ["2", "FNA", "4", "King"], ["2", "MWC", "4", "Double"], ["2", "RTE", "4", "Queen"]]}, "table_names": "['Rooms' 'Rooms']", "table_image_ids": ["TableImg_Z9izc_10.png", "TableImg_G5e4h_10.png"], "original_data_index": 1448} +{"question": "SELECT Store_ID FROM store WHERE \"Store_ID\" > 3 AND Store_Name != \"Miramichi\" INTERSECT SELECT Store_ID FROM store_district WHERE \"District_ID\" <= 15", "answer": {"columns": ["Store_ID"], "index": [0, 1], "data": [["4"], ["5"]]}, "table_names": "['store' 'store_district']", "table_image_ids": ["TableImg_Zjc4f_5.png", "TableImg_Pbcpt_5.png"], "original_data_index": 1449} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 11 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["9"], ["10"], ["11"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_4zl6b_12.png", "TableImg_88eo3_5.png"], "original_data_index": 1450} +{"question": "SELECT staff_id FROM Lessons WHERE \"vehicle_id\" <= 1 AND \"customer_id\" >= 11 AND \"price\" <= 495.0 AND lesson_time = \"5\" OR lesson_date != \"2018-03-07 22:03:49\" INTERSECT SELECT staff_id FROM Staff WHERE nickname <> \"edwin.hudson\" AND first_name = \"Simeon\" AND date_of_birth <> \"1997-03-29 10:55:45\" OR last_name != \"Herzog\" OR \"staff_address_id\" != 1 OR middle_name != \"Dejon\" AND date_left_staff != \"2018-03-04 17:13:53\" OR date_joined_staff <> \"2017-04-27 03:21:26\" OR \"staff_id\" = 7", "answer": {"columns": ["staff_id"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8], "data": [["1"], ["3"], ["4"], ["5"], ["8"], ["11"], ["12"], ["14"], ["15"]]}, "table_names": "['Lessons' 'Staff']", "table_image_ids": ["TableImg_G6enz_15.png", "TableImg_Mtpyt_15.png"], "original_data_index": 1451} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 5 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["3"], ["4"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_9pd0k_12.png", "TableImg_23e08_5.png"], "original_data_index": 1452} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 4 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 3", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_5k2l7_5.png", "TableImg_1ugg7_4.png"], "original_data_index": 1453} +{"question": "SELECT aid FROM aircraft WHERE name = \"Boeing 757-300\" OR \"distance\" != 6475 AND \"aid\" != 10 EXCEPT SELECT aid FROM certificate WHERE \"eid\" >= 269734834 AND \"aid\" < 7", "answer": {"columns": ["aid"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8], "data": [["7"], ["8"], ["9"], ["10"], ["11"], ["13"], ["14"], ["15"], ["16"]]}, "table_names": "['aircraft' 'certificate']", "table_image_ids": ["TableImg_Bsjj4_16.png", "TableImg_U2okg_69.png"], "original_data_index": 1454} +{"question": "SELECT i_id FROM item WHERE \"i_id\" <= 2 OR title = \"pear\" UNION SELECT i_id FROM review WHERE \"a_id\" >= 7 OR \"u_id\" >= 1", "answer": {"columns": ["i_id"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["0"], ["1"], ["2"], ["3"], ["4"], ["5"], ["7"]]}, "table_names": "['item' 'review']", "table_image_ids": ["TableImg_Iams2_8.png", "TableImg_0mkyf_7.png"], "original_data_index": 1455} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 1 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Iib2o_12.png", "TableImg_Bdqn1_5.png"], "original_data_index": 1456} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 3 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 9", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["3"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_X4niz_12.png", "TableImg_Lgaxq_5.png"], "original_data_index": 1457} +{"question": "SELECT PetID FROM Pets WHERE \"PetID\" >= 2001 AND \"pet_age\" <> 2 EXCEPT SELECT PetID FROM Pets WHERE \"PetID\" != 2003 OR \"pet_age\" > 3", "answer": {"columns": ["PetID"], "index": [0], "data": [["2003"]]}, "table_names": "['Pets' 'Pets']", "table_image_ids": ["TableImg_Ljgnf_3.png", "TableImg_8dhzs_3.png"], "original_data_index": 1458} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 7 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["4"], ["5"], ["6"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Dce7i_12.png", "TableImg_Z759s_5.png"], "original_data_index": 1459} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 5 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["4"], ["7"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Z6l3o_12.png", "TableImg_Tnx1j_5.png"], "original_data_index": 1460} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 7 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Ydp0v_12.png", "TableImg_Hzw6w_5.png"], "original_data_index": 1461} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 4 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["1"], ["2"], ["3"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_O8mdw_12.png", "TableImg_Ea10e_5.png"], "original_data_index": 1462} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 10 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["3"], ["4"], ["7"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_G7ktg_12.png", "TableImg_Rmp60_5.png"], "original_data_index": 1463} +{"question": "SELECT PetType, weight, pet_age FROM Pets WHERE PetType != \"cat\" OR \"weight\" <> 13.4 OR \"PetID\" = 2002 UNION SELECT PetType, weight, pet_age FROM Pets WHERE \"PetID\" >= 2002 AND \"weight\" <= 9.3", "answer": {"columns": ["PetType", "weight", "pet_age"], "index": [0, 1, 2], "data": [["cat", "12.0", "3"], ["dog", "9.3", "1"], ["dog", "13.4", "2"]]}, "table_names": "['Pets' 'Pets']", "table_image_ids": ["TableImg_Moue7_3.png", "TableImg_0433j_3.png"], "original_data_index": 1464} +{"question": "SELECT Budget_in_Billions, Creation, AVG(Department_ID), Name, Num_Employees, Ranking FROM department WHERE \"Budget_in_Billions\" > 23.4 OR \"Department_ID\" <= 14 OR Creation <> \"1849\" AND \"Num_Employees\" != 10600.0 OR \"Ranking\" >= 11 UNION ALL SELECT Budget_in_Billions, Creation, AVG(Department_ID), Name, Num_Employees, Ranking FROM department WHERE Creation != \"1789\" OR \"Budget_in_Billions\" != 44.6", "answer": {"columns": ["Budget_in_Billions", "Creation", "AVG(Department_ID)", "Name", "Num_Employees", "Ranking"], "index": [0, 1], "data": [["9.96", "1789", "8", "State", "30266", "1"], ["9.96", "1789", "8", "State", "30266", "1"]]}, "table_names": "['department' 'department']", "table_image_ids": ["TableImg_Ndte4_15.png", "TableImg_6bltk_15.png"], "original_data_index": 1465} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 7 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5], "data": [["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Ucyud_12.png", "TableImg_Xtr2l_5.png"], "original_data_index": 1466} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 4 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["1"], ["2"], ["3"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Phu3a_12.png", "TableImg_Xbd32_5.png"], "original_data_index": 1467} +{"question": "SELECT Year_working, Company_ID, People_ID FROM employment WHERE \"People_ID\" >= 4 AND \"Company_ID\" >= 11 EXCEPT SELECT Year_working, Company_ID, People_ID FROM employment WHERE \"Year_working\" <= 1", "answer": {"columns": ["Year_working", "Company_ID", "People_ID"], "index": [0], "data": [["4", "17", "7"]]}, "table_names": "['employment' 'employment']", "table_image_ids": ["TableImg_Udvmu_5.png", "TableImg_04g6d_5.png"], "original_data_index": 1468} +{"question": "SELECT aid FROM aircraft WHERE \"aid\" <= 8 AND \"distance\" <> 4103 GROUP BY aid HAVING aid != 3 UNION SELECT aid FROM aircraft WHERE name = \"Lockheed L1011\" OR \"aid\" >= 14 OR \"distance\" = 8430 GROUP BY aid HAVING aid >= 1", "answer": {"columns": ["aid"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "data": [["1"], ["2"], ["4"], ["5"], ["6"], ["7"], ["9"], ["14"], ["15"], ["16"]]}, "table_names": "['aircraft' 'aircraft']", "table_image_ids": ["TableImg_8zqbm_16.png", "TableImg_Ym437_16.png"], "original_data_index": 1469} +{"question": "SELECT property_type_description FROM Ref_Property_Types WHERE property_type_description != \"Shop, Retail Outlet.\" AND property_type_code = \"Apartment\" UNION SELECT property_type_description FROM Ref_Property_Types WHERE property_type_description = \"House, Bungalow, etc.\"", "answer": {"columns": ["property_type_description"], "index": [0, 1], "data": [["Apartment, Flat, Condo, etc."], ["House, Bungalow, etc."]]}, "table_names": "['Ref_Property_Types' 'Ref_Property_Types']", "table_image_ids": ["TableImg_7atrk_5.png", "TableImg_N37ct_5.png"], "original_data_index": 1470} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 7 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["5"], ["6"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Ecnvt_12.png", "TableImg_Nnxi0_5.png"], "original_data_index": 1471} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 5 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 5", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["4"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Snu8u_5.png", "TableImg_B56ms_4.png"], "original_data_index": 1472} +{"question": "SELECT Year_working FROM employment WHERE \"Year_working\" > 1 OR \"Company_ID\" <> 11 OR \"People_ID\" <= 7 UNION SELECT Year_working FROM employment WHERE \"Year_working\" >= 2 OR \"Company_ID\" = 17 AND \"People_ID\" <> 3", "answer": {"columns": ["Year_working"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["3"], ["4"]]}, "table_names": "['employment' 'employment']", "table_image_ids": ["TableImg_Mlq21_5.png", "TableImg_8c006_5.png"], "original_data_index": 1473} +{"question": "SELECT document_status_code FROM Documents WHERE \"document_id\" = 3 OR receipt_number <> \"79\" OR document_type_code != \"Paper\" OR receipt_date != \"1982-09-27 14:52:15\" AND document_status_code <> \"done\" EXCEPT SELECT document_status_code FROM Ref_Document_Status WHERE document_status_description != \"mailed late\" AND document_status_code <> \"done\"", "answer": {"columns": ["document_status_code"], "index": [0, 1], "data": [["done"], ["overdue"]]}, "table_names": "['Documents' 'Ref_Document_Status']", "table_image_ids": ["TableImg_8j09j_15.png", "TableImg_Vw4jc_3.png"], "original_data_index": 1474} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 2 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 3", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["2"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_L218p_5.png", "TableImg_5d1fw_4.png"], "original_data_index": 1475} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 4 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["3"], ["4"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_9stnj_12.png", "TableImg_Lnaoe_5.png"], "original_data_index": 1476} +{"question": "SELECT Rank, Gender FROM coach WHERE \"Club_ID\" >= 3 OR \"Coach_ID\" >= 3 AND Coach_name != \"Smith Brown\" AND Gender = \"M\" EXCEPT SELECT Rank, Gender FROM player WHERE Rank <> \"3rd\" AND \"Votes\" > 12093 AND \"Player_ID\" = 14 AND Sponsor_name != \"Selkirk\u2014Interlake\" OR Gender != \"F\"", "answer": {"columns": ["Rank", "Gender"], "index": [0, 1], "data": [["3", "M"], ["4", "M"]]}, "table_names": "['coach' 'player']", "table_image_ids": ["TableImg_Z4smn_5.png", "TableImg_C75lz_14.png"], "original_data_index": 1477} +{"question": "SELECT Company_ID FROM company WHERE \"Sales_in_Billion\" > 82.6 OR Headquarters = \"UK\" OR Industry <> \"Oil and gas\" OR Name = \"China Construction Bank\" EXCEPT SELECT Company_ID FROM employment WHERE \"Year_working\" <> 1 AND \"Company_ID\" != 15", "answer": {"columns": ["Company_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["12"], ["14"], ["15"], ["16"], ["18"], ["19"]]}, "table_names": "['company' 'employment']", "table_image_ids": ["TableImg_79c9g_19.png", "TableImg_48keb_5.png"], "original_data_index": 1478} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 5 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Oesba_12.png", "TableImg_Apzn3_5.png"], "original_data_index": 1479} +{"question": "SELECT Continent, ContId FROM continents WHERE Continent = \"america\" INTERSECT SELECT Continent, ContId FROM continents WHERE Continent <> \"asia\"", "answer": {"columns": ["Continent", "ContId"], "index": [0], "data": [["america", "1"]]}, "table_names": "['continents' 'continents']", "table_image_ids": ["TableImg_M5au2_5.png", "TableImg_6g8jt_5.png"], "original_data_index": 1480} +{"question": "SELECT StuID FROM Has_Allergy WHERE Allergy <> \"Tree Pollen\" UNION SELECT StuID FROM Student WHERE Fname <> \"Charles\" OR LName = \"Smith\" AND city_code = \"YYZ\"", "answer": {"columns": ["StuID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34], "data": [["1001"], ["1002"], ["1003"], ["1004"], ["1005"], ["1006"], ["1007"], ["1008"], ["1009"], ["1010"], ["1011"], ["1012"], ["1013"], ["1014"], ["1015"], ["1016"], ["1017"], ["1018"], ["1019"], ["1020"], ["1021"], ["1022"], ["1023"], ["1024"], ["1025"], ["1026"], ["1027"], ["1028"], ["1029"], ["1030"], ["1031"], ["1032"], ["1033"], ["1034"], ["1035"]]}, "table_names": "['Has_Allergy' 'Student']", "table_image_ids": ["TableImg_Qmehv_59.png", "TableImg_Bg2lo_34.png"], "original_data_index": 1481} +{"question": "SELECT Major FROM Student WHERE LName <> \"Adams\" OR Sex <> \"M\" AND \"Major\" <= 600 UNION ALL SELECT Major FROM Student WHERE \"Age\" >= 21 AND LName = \"Norris\" AND city_code <> \"HOU\" OR Fname <> \"Jandy\" OR \"Major\" <= 600 AND Sex = \"M\"", "answer": {"columns": ["Major"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65], "data": [["600"], ["600"], ["600"], ["600"], ["600"], ["600"], ["600"], ["600"], ["600"], ["600"], ["600"], ["600"], ["600"], ["600"], ["600"], ["600"], ["600"], ["520"], ["520"], ["540"], ["520"], ["540"], ["520"], ["520"], ["520"], ["550"], ["100"], ["550"], ["550"], ["550"], ["550"], ["50"], ["50"], ["600"], ["600"], ["600"], ["600"], ["600"], ["600"], ["600"], ["600"], ["600"], ["600"], ["600"], ["600"], ["600"], ["600"], ["600"], ["600"], ["600"], ["520"], ["520"], ["540"], ["520"], ["540"], ["520"], ["520"], ["520"], ["550"], ["100"], ["550"], ["550"], ["550"], ["550"], ["50"], ["50"]]}, "table_names": "['Student' 'Student']", "table_image_ids": ["TableImg_54x2q_34.png", "TableImg_S6uqt_34.png"], "original_data_index": 1482} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 3 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 3", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Iznaf_5.png", "TableImg_4i3qb_4.png"], "original_data_index": 1483} +{"question": "SELECT property_type_code FROM Properties WHERE \"buyer_offered_price\" <> 13991131.434 OR property_type_code <> \"Shop\" AND shp_feature_1 != \"None\" AND apt_feature_2 <> \"eos\" AND apt_feature_1 = \"enim\" AND hse_feature_2 <> \"None\" AND property_address <> \"107 Roob Courts Erdmanburgh, IA 42926-0873\" OR oth_feature_1 = \"None\" UNION SELECT property_type_code FROM Ref_Property_Types WHERE property_type_code = \"House\" OR property_type_description = \"Field, Meadow.\"", "answer": {"columns": ["property_type_code"], "index": [0, 1, 2, 3, 4], "data": [["Apartment"], ["Field"], ["House"], ["Other"], ["Shop"]]}, "table_names": "['Properties' 'Ref_Property_Types']", "table_image_ids": ["TableImg_F5jjl_15.png", "TableImg_X22z5_5.png"], "original_data_index": 1484} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 5 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Xqrae_12.png", "TableImg_Ptpap_5.png"], "original_data_index": 1485} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 1 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_H2sxm_5.png", "TableImg_3kngq_4.png"], "original_data_index": 1486} +{"question": "SELECT Rank FROM match_result WHERE \"Points\" < 89 OR \"Club_ID\" > 2 OR \"Bronze\" > 9 AND \"Small_Silver\" = 9 UNION SELECT Rank FROM player WHERE Gender <> \"M\" AND \"Player_ID\" = 4 OR Player_name = \"Matt Schaubroeck\" OR Residence != \"Winnipeg\" OR Sponsor_name = \"Brandon\u2014Souris\"", "answer": {"columns": ["Rank"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["3"], ["4"], ["5"], ["6"], ["1st"], ["2nd"], ["3rd"]]}, "table_names": "['match_result' 'player']", "table_image_ids": ["TableImg_Ffew8_6.png", "TableImg_Wrq5a_14.png"], "original_data_index": 1487} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 1 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 9", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_1wkva_12.png", "TableImg_C8pkf_5.png"], "original_data_index": 1488} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 12 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Tolzj_12.png", "TableImg_Vakx6_5.png"], "original_data_index": 1489} +{"question": "SELECT ClubLocation, ClubID, ClubName, ClubDesc FROM Club WHERE ClubLocation = \"AKW\" AND ClubName = \"Pen and Paper Gaming\" OR ClubDesc <> \"Play pen and paper games on campus.\" UNION SELECT ClubLocation, ClubID, ClubName, ClubDesc FROM Club WHERE ClubLocation = \"AKW\"", "answer": {"columns": ["ClubLocation", "ClubID", "ClubName", "ClubDesc"], "index": [0, 1, 2], "data": [["AKW", "1", "Bootup Baltimore", "Refurbish computers; teach kids and adults about computer basics."], ["AKW", "2", "Hopkins Student Enterprises", "Venture capital fund for student business."], ["AKW", "4", "Tennis Club", "A competitive tennis club."]]}, "table_names": "['Club' 'Club']", "table_image_ids": ["TableImg_Das8p_4.png", "TableImg_03lvm_4.png"], "original_data_index": 1490} +{"question": "SELECT Allergy FROM Allergy_Type WHERE Allergy != \"Tree Pollen\" UNION ALL SELECT Allergy FROM Allergy_Type WHERE Allergy != \"Grass Pollen\"", "answer": {"columns": ["Allergy"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25], "data": [["Anchovies"], ["Bee Stings"], ["Cat"], ["Dog"], ["Eggs"], ["Grass Pollen"], ["Milk"], ["Nuts"], ["Ragweed"], ["Rodent"], ["Shellfish"], ["Soy"], ["Wheat"], ["Anchovies"], ["Bee Stings"], ["Cat"], ["Dog"], ["Eggs"], ["Milk"], ["Nuts"], ["Ragweed"], ["Rodent"], ["Shellfish"], ["Soy"], ["Tree Pollen"], ["Wheat"]]}, "table_names": "['Allergy_Type' 'Allergy_Type']", "table_image_ids": ["TableImg_M0q5z_14.png", "TableImg_651tz_14.png"], "original_data_index": 1491} +{"question": "SELECT Continent, CountryName FROM countries WHERE CountryName = \"russia\" AND \"Continent\" <= 2 AND \"CountryId\" >= 2 UNION ALL SELECT Continent, CountryName FROM countries WHERE \"CountryId\" >= 6 OR \"Continent\" <> 4 AND CountryName <> \"australia\"", "answer": {"columns": ["Continent", "CountryName"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "data": [["2", "russia"], ["1", "usa"], ["2", "germany"], ["2", "france"], ["3", "japan"], ["2", "italy"], ["2", "sweden"], ["2", "uk"], ["3", "korea"], ["2", "russia"], ["4", "nigeria"], ["5", "australia"], ["5", "new zealand"], ["4", "egypt"], ["1", "mexico"], ["1", "brazil"]]}, "table_names": "['countries' 'countries']", "table_image_ids": ["TableImg_S9hbf_15.png", "TableImg_D8oop_15.png"], "original_data_index": 1492} +{"question": "SELECT AVG(T1.Age), T2.Year_awarded FROM employee as T1 JOIN evaluation as T2 ON T1.Employee_ID = T2.Employee_ID WHERE Year_awarded = \"2015\" OR City = \"Sale\" AND Name <> \"Jason Hobson\"", "answer": {"columns": ["AVG(T1.Age)", "Year_awarded"], "index": [0], "data": [["28", "2011"]]}, "table_names": "['employee' 'evaluation']", "table_image_ids": ["TableImg_H4z40_10.png", "TableImg_Pn5k0_6.png"], "original_data_index": 1493} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 2 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["2"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_F78ph_12.png", "TableImg_C3q2r_5.png"], "original_data_index": 1494} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 12 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["4"], ["7"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Wmu47_12.png", "TableImg_Tapv2_5.png"], "original_data_index": 1495} +{"question": "SELECT People_ID FROM employment WHERE \"Company_ID\" = 13 AND \"Year_working\" = 2 OR \"People_ID\" <> 1 UNION SELECT People_ID FROM people WHERE Graduation_College <> \"Virginia\" OR \"Age\" > 25", "answer": {"columns": ["People_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"]]}, "table_names": "['employment' 'people']", "table_image_ids": ["TableImg_U65tr_5.png", "TableImg_Vtl2d_7.png"], "original_data_index": 1496} +{"question": "SELECT COUNT(feature_id) FROM Other_Available_Features WHERE feature_type_code <> \"Amenity\" OR \"feature_id\" != 2 UNION SELECT COUNT(feature_id) FROM Other_Property_Features WHERE \"feature_id\" <= 3 AND \"property_id\" = 1 OR property_feature_description = \"hic\"", "answer": {"columns": ["COUNT(feature_id)"], "index": [0], "data": [["2"]]}, "table_names": "['Other_Available_Features' 'Other_Property_Features']", "table_image_ids": ["TableImg_Delgh_3.png", "TableImg_A6mtk_15.png"], "original_data_index": 1497} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID = 2 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 1", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2], "data": [["2"], ["3"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Vf8sa_5.png", "TableImg_75nw0_4.png"], "original_data_index": 1498} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 6 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["7"], ["8"], ["9"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_V2hun_12.png", "TableImg_7x7yh_5.png"], "original_data_index": 1499} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 12 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["11"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_2q4wh_12.png", "TableImg_Mh3vw_5.png"], "original_data_index": 1500} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 6 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_S13g8_12.png", "TableImg_Krv9t_5.png"], "original_data_index": 1501} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 4 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Xi9pu_12.png", "TableImg_Zxcx2_5.png"], "original_data_index": 1502} +{"question": "SELECT Branch_ID FROM branch WHERE Open_year <> \"2013\" OR \"Branch_ID\" >= 8 AND City <> \"Oxford\" UNION SELECT Branch_ID FROM membership_register_branch WHERE \"Member_ID\" != 4 OR Register_Year != \"2016\" AND Branch_ID <> \"5\"", "answer": {"columns": ["Branch_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12], "data": [["1"], ["2"], ["4"], ["5"], ["6"], ["7"], ["8"], ["1"], ["2"], ["4"], ["5"], ["6"], ["8"]]}, "table_names": "['branch' 'membership_register_branch']", "table_image_ids": ["TableImg_Hk46l_8.png", "TableImg_98fsf_8.png"], "original_data_index": 1503} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 11 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Gmqso_12.png", "TableImg_7bu62_5.png"], "original_data_index": 1504} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID = 2 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 3", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["2"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Hsvz0_5.png", "TableImg_Trjnk_4.png"], "original_data_index": 1505} +{"question": "SELECT other_details, MIN(employee_id) FROM Employees WHERE employee_name != \"Koby\" OR role_code != \"ED\" UNION SELECT other_details, MIN(employee_id) FROM Employees WHERE employee_name <> \"Haley\"", "answer": {"columns": ["other_details", "MIN(employee_id)"], "index": [0, 1], "data": [["f", "2"], ["h", "1"]]}, "table_names": "['Employees' 'Employees']", "table_image_ids": ["TableImg_Rp55j_6.png", "TableImg_X5h2j_6.png"], "original_data_index": 1506} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 2 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 3", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["1"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_H5hug_5.png", "TableImg_1qdrq_4.png"], "original_data_index": 1507} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 3 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "data": [["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_3fioa_12.png", "TableImg_9kp97_5.png"], "original_data_index": 1508} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 3 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 3", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2], "data": [["1"], ["2"], ["4"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_3sti6_5.png", "TableImg_M8fs1_4.png"], "original_data_index": 1509} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 6 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["1"], ["2"], ["4"], ["5"], ["8"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Yozxl_12.png", "TableImg_Vrylm_5.png"], "original_data_index": 1510} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 7 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["3"], ["4"], ["9"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_N4ey0_12.png", "TableImg_M3b6q_5.png"], "original_data_index": 1511} +{"question": "SELECT Other_Details, Document_ID FROM Documents WHERE Document_Description != \"y\" OR \"Document_ID\" <= 801801 AND Document_Name != \"Introduction of OS\" EXCEPT SELECT Other_Details, Document_ID FROM Paragraphs WHERE \"Document_ID\" < 16514113 OR Paragraph_Text = \"Somalia\" AND Other_Details != \"None\" OR \"Paragraph_ID\" <= 9946", "answer": {"columns": ["Other_Details", "Document_ID"], "index": [0, 1, 2, 3, 4, 5], "data": [["", "0"], ["", "1"], ["", "76"], ["", "82"], ["", "801801"], ["", "16514113"]]}, "table_names": "['Documents' 'Paragraphs']", "table_image_ids": ["TableImg_Sqbfs_15.png", "TableImg_Rxqgh_15.png"], "original_data_index": 1512} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 4 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 2", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2], "data": [["2"], ["3"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Cl1cy_5.png", "TableImg_Xxzmt_4.png"], "original_data_index": 1513} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 4 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 3", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Is7jh_5.png", "TableImg_43fcu_4.png"], "original_data_index": 1514} +{"question": "SELECT Hometown, Member_ID, AVG(Name) FROM member WHERE Hometown = \"Fort Campbell, Kentucky\" OR \"Level\" != 6 OR \"Member_ID\" <= 7 OR Name <> \"Jeremy Jarmon\" INTERSECT SELECT Hometown, Member_ID, AVG(Name) FROM member WHERE \"Level\" > 6 OR \"Member_ID\" < 9 AND Hometown != \"Jacksonville, Florida\"", "answer": {"columns": ["Hometown", "Member_ID", "AVG(Name)"], "index": [0], "data": [["Collierville, Tennessee", "1", "0"]]}, "table_names": "['member' 'member']", "table_image_ids": ["TableImg_22eyh_10.png", "TableImg_Goj7w_10.png"], "original_data_index": 1515} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 3 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 10", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["3"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Byrhe_12.png", "TableImg_6zols_5.png"], "original_data_index": 1516} +{"question": "SELECT document_type_description, document_type_code FROM Ref_Document_Types WHERE document_type_description <> \"f\" INTERSECT SELECT document_type_description, document_type_code FROM Ref_Document_Types WHERE document_type_code = \"CD\"", "answer": {"columns": ["document_type_description", "document_type_code"], "index": [0], "data": [["b", "CD"]]}, "table_names": "['Ref_Document_Types' 'Ref_Document_Types']", "table_image_ids": ["TableImg_9ilft_3.png", "TableImg_Iuw3k_3.png"], "original_data_index": 1517} +{"question": "SELECT County_name, Population, AVG(County_Id) FROM county WHERE Zip_code = \"D09\" OR County_name != \"Manning\" OR \"County_Id\" <= 1 UNION ALL SELECT County_name, Population, AVG(County_Id) FROM county WHERE \"County_Id\" < 4 AND County_name != \"Mansfield\" OR Zip_code = \"D09\" AND \"Population\" > 87200.0", "answer": {"columns": ["County_name", "Population", "AVG(County_Id)"], "index": [0, 1], "data": [["Howard", "21000", "2.5"], ["Howard", "21000", "2.0"]]}, "table_names": "['county' 'county']", "table_image_ids": ["TableImg_Zets0_5.png", "TableImg_S9p3f_5.png"], "original_data_index": 1518} +{"question": "SELECT Document_Description FROM Documents WHERE \"Template_ID\" > 14 OR Document_Description != \"z\" AND Document_Name != \"About Korea\" OR Other_Details = \"None\" AND \"Document_ID\" >= 1 EXCEPT SELECT Document_Description FROM Documents WHERE \"Document_ID\" >= 801801", "answer": {"columns": ["Document_Description"], "index": [0, 1, 2, 3, 4], "data": [["f"], ["k"], ["n"], ["r"], ["u"]]}, "table_names": "['Documents' 'Documents']", "table_image_ids": ["TableImg_D62np_15.png", "TableImg_Pohec_15.png"], "original_data_index": 1519} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 2 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 2", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["3"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Wlkw1_5.png", "TableImg_Fnuhm_4.png"], "original_data_index": 1520} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 3 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["1"], ["2"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Rjel4_12.png", "TableImg_Wqt57_5.png"], "original_data_index": 1521} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 7 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 7", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["7"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Hwzq7_12.png", "TableImg_Ohl1z_5.png"], "original_data_index": 1522} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 5 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 2", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["3"], ["4"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Fr3v1_5.png", "TableImg_09940_4.png"], "original_data_index": 1523} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 3 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 3", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2], "data": [["1"], ["2"], ["3"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Sm2fy_5.png", "TableImg_O30ny_4.png"], "original_data_index": 1524} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 9 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["3"], ["4"], ["9"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Iv2ha_12.png", "TableImg_Lpx2x_5.png"], "original_data_index": 1525} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 11 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["3"], ["4"], ["7"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_I9rg9_12.png", "TableImg_W5o26_5.png"], "original_data_index": 1526} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 2 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["1"], ["2"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Fj8ao_12.png", "TableImg_Xxdk8_5.png"], "original_data_index": 1527} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 4 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 1", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_5wb60_5.png", "TableImg_Gizo1_4.png"], "original_data_index": 1528} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 8 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["3"], ["4"], ["7"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_G374k_12.png", "TableImg_Kgvr9_5.png"], "original_data_index": 1529} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 5 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4], "data": [["3"], ["4"], ["7"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Nnznt_12.png", "TableImg_3rrq6_5.png"], "original_data_index": 1530} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 6 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_S1jbz_12.png", "TableImg_P2shw_5.png"], "original_data_index": 1531} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 4 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 3", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["3"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Ab2i6_5.png", "TableImg_Kaxlk_4.png"], "original_data_index": 1532} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 1 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 9", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_5o9oj_12.png", "TableImg_A6tbv_5.png"], "original_data_index": 1533} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 11 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Q3fuq_12.png", "TableImg_3eh6d_5.png"], "original_data_index": 1534} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 6 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Eiwvs_12.png", "TableImg_Oonl5_5.png"], "original_data_index": 1535} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 2 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["2"], ["3"], ["5"], ["6"], ["8"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Llo2v_12.png", "TableImg_J8lzm_5.png"], "original_data_index": 1536} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 5 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["1"], ["2"], ["6"], ["8"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_N9fbn_12.png", "TableImg_U5pwj_5.png"], "original_data_index": 1537} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 4 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["1"], ["2"], ["5"], ["6"], ["8"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_A77s2_12.png", "TableImg_T21kk_5.png"], "original_data_index": 1538} +{"question": "SELECT document_status_code FROM Documents WHERE other_details <> \"h\" UNION SELECT document_status_code FROM Ref_Document_Status WHERE document_status_description != \"mailed\" OR document_status_code <> \"overdue\"", "answer": {"columns": ["document_status_code"], "index": [0, 1, 2], "data": [["done"], ["overdue"], ["working"]]}, "table_names": "['Documents' 'Ref_Document_Status']", "table_image_ids": ["TableImg_Mfohl_15.png", "TableImg_Z852t_3.png"], "original_data_index": 1539} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 4 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["1"], ["2"], ["4"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_0szyv_12.png", "TableImg_8yttt_5.png"], "original_data_index": 1540} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 10 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_098pa_12.png", "TableImg_34wam_5.png"], "original_data_index": 1541} +{"question": "SELECT feature_id FROM Other_Available_Features WHERE feature_description <> \"Air Conditioning.\" OR feature_type_code = \"Security\" OR feature_name = \"AirCon\" OR \"feature_id\" > 2 UNION ALL SELECT feature_id FROM Other_Property_Features WHERE \"property_id\" != 9", "answer": {"columns": ["feature_id"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16], "data": [["2"], ["3"], ["4"], ["3"], ["4"], ["2"], ["2"], ["3"], ["4"], ["3"], ["2"], ["4"], ["3"], ["3"], ["2"], ["2"], ["4"]]}, "table_names": "['Other_Available_Features' 'Other_Property_Features']", "table_image_ids": ["TableImg_Wphl0_3.png", "TableImg_Z92a3_15.png"], "original_data_index": 1542} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 2 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["1"], ["3"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_88dwj_12.png", "TableImg_Sqhsj_5.png"], "original_data_index": 1543} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 9 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5], "data": [["1"], ["2"], ["5"], ["6"], ["8"], ["9"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_N2w51_12.png", "TableImg_Qjdg4_5.png"], "original_data_index": 1544} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 9 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 9", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Ssem2_12.png", "TableImg_Xxvc4_5.png"], "original_data_index": 1545} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 7 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 4", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["7"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_5pe0h_12.png", "TableImg_E1hjd_5.png"], "original_data_index": 1546} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 12 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["3"], ["7"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Y5atc_12.png", "TableImg_C59yz_5.png"], "original_data_index": 1547} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 6 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5], "data": [["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Go79f_12.png", "TableImg_6cha7_5.png"], "original_data_index": 1548} +{"question": "SELECT AVG(T1.City_Population), T2.District_ID FROM district as T1 JOIN store_district as T2 ON T1.District_ID = T2.District_ID WHERE \"City_Area\" = 25.0 OR \"Store_ID\" <= 4 OR Headquartered_City <> \"Chiniot City\" AND District_name <> \"Gujrat District\" OR \"City_Population\" <= 1526168.0 GROUP BY District_name HAVING City_Area <> 12.0 OR City_Population = 2793721.0", "answer": {"columns": ["AVG(T1.City_Population)", "District_ID"], "index": [0, 1, 2, 3], "data": [["530438", "3"], ["89380", "4"], ["165936", "11"], ["165038", "15"]]}, "table_names": "['district' 'store_district']", "table_image_ids": ["TableImg_Qniec_15.png", "TableImg_Qcndx_5.png"], "original_data_index": 1549} +{"question": "SELECT MAX(Employee_ID) FROM employee WHERE \"Age\" < 43 UNION ALL SELECT MAX(Employee_ID) FROM evaluation WHERE Employee_ID = \"7\" AND \"Bonus\" <= 3200.0", "answer": {"columns": ["MAX(Employee_ID)"], "index": [0, 1], "data": [["10"], ["7"]]}, "table_names": "['employee' 'evaluation']", "table_image_ids": ["TableImg_H529x_10.png", "TableImg_0xpzx_6.png"], "original_data_index": 1550} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 2 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Ac5jy_5.png", "TableImg_L9r7a_4.png"], "original_data_index": 1551} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 11 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 7", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["11"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Xn2ql_12.png", "TableImg_Hef9j_5.png"], "original_data_index": 1552} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 3 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 3", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2], "data": [["1"], ["2"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_P9gvh_5.png", "TableImg_Rx3z9_4.png"], "original_data_index": 1553} +{"question": "SELECT Player_name, COUNT(Occupation), SUM(Rank), SUM(Player_ID), Residence FROM player WHERE \"Player_ID\" <= 5 OR Occupation <> \"Distribution Centre Associate\" AND Residence <> \"Oakbank\" OR Player_name = \"Fiona Shiells\" OR Sponsor_name = \"Portage\u2014Lisgar\" EXCEPT SELECT Player_name, COUNT(Occupation), SUM(Rank), SUM(Player_ID), Residence FROM player WHERE Rank = \"3rd\"", "answer": {"columns": ["Player_name", "COUNT(Occupation)", "SUM(Rank)", "SUM(Player_ID)", "Residence"], "index": [0], "data": [["Jean Luc Bouch\u00e9", "13", "28", "97", "Brandon"]]}, "table_names": "['player' 'player']", "table_image_ids": ["TableImg_M5wlv_14.png", "TableImg_S8tzn_14.png"], "original_data_index": 1554} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 4 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["3"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_1ogp4_5.png", "TableImg_2t9dl_4.png"], "original_data_index": 1555} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 1 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 2", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2], "data": [["1"], ["3"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_0rgbb_5.png", "TableImg_I164v_4.png"], "original_data_index": 1556} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 11 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 3", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_8mh1n_12.png", "TableImg_P7jbt_5.png"], "original_data_index": 1557} +{"question": "SELECT MIN(People_ID) FROM people WHERE Birth_Date <> \"April 17, 1987\" AND \"Height\" > 196.0 OR \"People_ID\" != 7 AND Nationality <> \"Russia\" OR Name != \"Aleksey Ostapenko\" EXCEPT SELECT MIN(People_ID) FROM poker_player WHERE \"Best_Finish\" != 1.0", "answer": {"columns": ["MIN(People_ID)"], "index": [0], "data": [["1"]]}, "table_names": "['people' 'poker_player']", "table_image_ids": ["TableImg_Csmv4_7.png", "TableImg_X422q_5.png"], "original_data_index": 1558} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 5 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 1", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["2"], ["3"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_08th0_5.png", "TableImg_2tjad_4.png"], "original_data_index": 1559} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 1 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 4", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["1"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_8aa9a_12.png", "TableImg_K5pkt_5.png"], "original_data_index": 1560} +{"question": "SELECT StuID FROM Member_of_club WHERE \"ClubID\" != 1 UNION SELECT StuID FROM Student WHERE Sex = \"M\" AND \"StuID\" = 1018 AND LName <> \"Han\" AND \"Advisor\" <> 2311 AND \"Age\" <> 19 OR \"Major\" <> 600 OR Fname = \"Eric\"", "answer": {"columns": ["StuID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19], "data": [["1007"], ["1008"], ["1009"], ["1018"], ["1020"], ["1021"], ["1022"], ["1023"], ["1024"], ["1025"], ["1026"], ["1027"], ["1028"], ["1029"], ["1030"], ["1031"], ["1032"], ["1033"], ["1034"], ["1035"]]}, "table_names": "['Member_of_club' 'Student']", "table_image_ids": ["TableImg_Qfwl5_4.png", "TableImg_Mrkae_34.png"], "original_data_index": 1561} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 5 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_1rky8_12.png", "TableImg_C7285_5.png"], "original_data_index": 1562} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 4 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 1", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2], "data": [["2"], ["3"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Fv20o_5.png", "TableImg_54knq_4.png"], "original_data_index": 1563} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 11 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7], "data": [["1"], ["2"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_B7272_12.png", "TableImg_Bjar6_5.png"], "original_data_index": 1564} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 5 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 3", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["5"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_2yn64_12.png", "TableImg_4bjkp_5.png"], "original_data_index": 1565} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 2 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 1", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["1"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Tlpe1_5.png", "TableImg_Nmjp9_4.png"], "original_data_index": 1566} +{"question": "SELECT Continent FROM continents WHERE Continent != \"europe\" OR \"ContId\" = 1 UNION ALL SELECT Continent FROM countries WHERE \"Continent\" != 4 AND CountryName != \"mexico\"", "answer": {"columns": ["Continent"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], "data": [["america"], ["asia"], ["africa"], ["australia"], ["1"], ["2"], ["2"], ["3"], ["2"], ["2"], ["2"], ["3"], ["2"], ["5"], ["5"], ["1"]]}, "table_names": "['continents' 'countries']", "table_image_ids": ["TableImg_I6vgt_5.png", "TableImg_Zj6j5_15.png"], "original_data_index": 1567} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 1 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Bmyil_12.png", "TableImg_Vk912_5.png"], "original_data_index": 1568} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 6 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Fuolu_12.png", "TableImg_8rqsc_5.png"], "original_data_index": 1569} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 3 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 1", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["1"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Hww0l_5.png", "TableImg_P32m1_4.png"], "original_data_index": 1570} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 9 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5], "data": [["1"], ["2"], ["5"], ["6"], ["7"], ["8"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_7wr0c_12.png", "TableImg_U2x2h_5.png"], "original_data_index": 1571} +{"question": "SELECT School_id FROM budget WHERE \"total_budget_percent_budgeted\" = 2.0 AND Budget_invested_percent <> \"42.9\" OR \"Budgeted\" <= 74849 INTERSECT SELECT School_id FROM endowment WHERE \"endowment_id\" != 3 OR donator_name <> \"Duarte\"", "answer": {"columns": ["School_id"], "index": [0, 1, 2, 3], "data": [["2"], ["3"], ["4"], ["5"]]}, "table_names": "['budget' 'endowment']", "table_image_ids": ["TableImg_Zee7q_8.png", "TableImg_Uhnm2_11.png"], "original_data_index": 1572} +{"question": "SELECT other_details, role_code, employee_name FROM Employees WHERE other_details = \"b\" OR role_code = \"ED\" OR employee_name != \"Koby\" INTERSECT SELECT other_details, role_code, employee_name FROM Employees WHERE other_details != \"h\" OR employee_name != \"Kenyon\" AND role_code != \"ED\"", "answer": {"columns": ["other_details", "role_code", "employee_name"], "index": [0, 1, 2, 3, 4], "data": [["b", "PR", "Haley"], ["b", "PT", "Clemens"], ["f", "ED", "Kenyon"], ["u", "MG", "Erling"], ["v", "PT", "Jordyn"]]}, "table_names": "['Employees' 'Employees']", "table_image_ids": ["TableImg_6zvyo_6.png", "TableImg_Txt4z_6.png"], "original_data_index": 1573} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 9 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["3"], ["4"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_1dxhz_12.png", "TableImg_Y8889_5.png"], "original_data_index": 1574} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 1 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Zhiuf_12.png", "TableImg_Uxlqm_5.png"], "original_data_index": 1575} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 7 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["8"], ["9"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Ugdvm_12.png", "TableImg_2caq0_5.png"], "original_data_index": 1576} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 6 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["6"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Aat5c_12.png", "TableImg_Y24uq_5.png"], "original_data_index": 1577} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 3 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["3"], ["7"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Zvhi2_12.png", "TableImg_Bo31i_5.png"], "original_data_index": 1578} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 1 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Cp3m1_12.png", "TableImg_Oo7n3_5.png"], "original_data_index": 1579} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 4 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 2", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["1"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_24lp3_5.png", "TableImg_R0q8f_4.png"], "original_data_index": 1580} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 5 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 3", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["1"], ["2"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_5e9gv_5.png", "TableImg_6szeh_4.png"], "original_data_index": 1581} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 11 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Vtg9l_12.png", "TableImg_5vs0s_5.png"], "original_data_index": 1582} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 9 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["3"], ["4"], ["7"], ["9"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_X9t9e_12.png", "TableImg_G1co7_5.png"], "original_data_index": 1583} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 3 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["1"], ["2"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Ea4x9_12.png", "TableImg_9yyml_5.png"], "original_data_index": 1584} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 9 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["3"], ["7"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Xxot9_12.png", "TableImg_Sduna_5.png"], "original_data_index": 1585} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 1 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_I87vd_5.png", "TableImg_Ms96c_4.png"], "original_data_index": 1586} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 11 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Inurs_12.png", "TableImg_Svjol_5.png"], "original_data_index": 1587} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 4 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["1"], ["2"], ["3"], ["4"], ["7"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_P4xej_12.png", "TableImg_J8vin_5.png"], "original_data_index": 1588} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 5 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID > 1", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["1"], ["4"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_5z3r7_5.png", "TableImg_Sk9hb_4.png"], "original_data_index": 1589} +{"question": "SELECT city FROM Addresses WHERE \"address_id\" != 6 OR city <> \"Port Melyssa\" AND state_province_county != \"Kentucky\" AND country <> \"USA\" UNION ALL SELECT city FROM Addresses WHERE state_province_county = \"Maine\" AND line_1_number_building != \"354 Frederik Ridge\" OR \"address_id\" > 7 OR city = \"Elviebury\" OR zip_postcode = \"34975\" OR country = \"USA\"", "answer": {"columns": ["city"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28], "data": [["Port Melyssa"], ["Hagenesfurt"], ["Lake Elaina"], ["Buckridgehaven"], ["Powlowskichester"], ["Lockmanfurt"], ["Lake Rafaela"], ["Port Jackelinemouth"], ["South Richieport"], ["South Eugene"], ["New Bernieceburgh"], ["Ericamouth"], ["Damianfort"], ["West Edmondview"], ["Port Melyssa"], ["Hagenesfurt"], ["Lake Elaina"], ["Buckridgehaven"], ["Powlowskichester"], ["Elviebury"], ["Lockmanfurt"], ["Lake Rafaela"], ["Port Jackelinemouth"], ["South Richieport"], ["South Eugene"], ["New Bernieceburgh"], ["Ericamouth"], ["Damianfort"], ["West Edmondview"]]}, "table_names": "['Addresses' 'Addresses']", "table_image_ids": ["TableImg_Rdbhp_15.png", "TableImg_2361v_15.png"], "original_data_index": 1590} +{"question": "SELECT Store_ID FROM store_district WHERE \"Store_ID\" < 5 EXCEPT SELECT Store_ID FROM store_district WHERE \"District_ID\" != 11", "answer": {"columns": ["Store_ID"], "index": [0], "data": [["3"]]}, "table_names": "['store_district' 'store_district']", "table_image_ids": ["TableImg_Sygot_5.png", "TableImg_3o740_5.png"], "original_data_index": 1591} +{"question": "SELECT i_id FROM item WHERE title = \"apple\" OR \"i_id\" > 2 UNION SELECT i_id FROM review WHERE \"a_id\" > 5 AND \"rank\" < 6 OR \"rating\" != 5 OR \"i_id\" >= 7 AND \"u_id\" < 1", "answer": {"columns": ["i_id"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"]]}, "table_names": "['item' 'review']", "table_image_ids": ["TableImg_Vsm2q_8.png", "TableImg_P6r3m_7.png"], "original_data_index": 1592} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 6 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2], "data": [["1"], ["2"], ["5"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_7owbr_12.png", "TableImg_Vhso9_5.png"], "original_data_index": 1593} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 2 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 10", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["1"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Ilpgw_12.png", "TableImg_21nqt_5.png"], "original_data_index": 1594} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <= 1 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1], "data": [["1"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Dqfc3_5.png", "TableImg_Icv6o_4.png"], "original_data_index": 1595} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 12 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_4gkfo_12.png", "TableImg_Nx2bg_5.png"], "original_data_index": 1596} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 10 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_1t9b0_12.png", "TableImg_O2k5q_5.png"], "original_data_index": 1597} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 10 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_4w6r1_12.png", "TableImg_Ew0lz_5.png"], "original_data_index": 1598} +{"question": "SELECT first_name, AVG(date_of_birth) FROM Customers WHERE last_name <> \"Kohler\" AND date_of_birth <> \"1998-09-18 04:45:01\" AND cell_mobile_phone_number <> \"00659133944\" OR \"customer_id\" <> 1 AND \"customer_address_id\" = 13 AND first_name = \"Carole\" OR phone_number != \"(729)396-4354x3576\" UNION ALL SELECT first_name, AVG(date_of_birth) FROM Staff WHERE date_left_staff != \"2018-02-26 17:56:31\" AND nickname != \"nicholaus92\" AND \"staff_address_id\" = 14", "answer": {"columns": ["first_name", "AVG(date_of_birth)"], "index": [0, 1], "data": [["Carole", "1994.1333333333"], ["Janessa", "2012.5"]]}, "table_names": "['Customers' 'Staff']", "table_image_ids": ["TableImg_Fqa3z_15.png", "TableImg_Xazox_15.png"], "original_data_index": 1599} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 2 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 3", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Ego41_5.png", "TableImg_33zn0_4.png"], "original_data_index": 1600} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 7 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Rfqtc_12.png", "TableImg_Knux6_5.png"], "original_data_index": 1601} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 10 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_7mok1_12.png", "TableImg_A6j5f_5.png"], "original_data_index": 1602} +{"question": "SELECT MIN(copy_number), SUM(draft_number) FROM Draft_Copies WHERE \"draft_number\" < 2 EXCEPT SELECT MIN(copy_number), SUM(draft_number) FROM Draft_Copies WHERE \"draft_number\" <> 9", "answer": {"columns": ["MIN(copy_number)", "SUM(draft_number)"], "index": [0], "data": [["4", "1"]]}, "table_names": "['Draft_Copies' 'Draft_Copies']", "table_image_ids": ["TableImg_Smatk_8.png", "TableImg_O5smh_8.png"], "original_data_index": 1603} +{"question": "SELECT aid, distance FROM aircraft WHERE \"distance\" > 1504 AND \"aid\" >= 10 OR name <> \"Piper Archer III\" UNION SELECT aid, distance FROM flight WHERE departure_date = \"04/12/2005 07:03\" OR destination <> \"Honolulu\" AND \"flno\" <> 13 OR \"distance\" = 1749 OR origin != \"Los Angeles\" AND \"aid\" != 9 AND arrival_date <> \"04/12/2005 09:40\"", "answer": {"columns": ["aid", "distance"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22], "data": [["1", "2308"], ["1", "8430"], ["2", "1251"], ["2", "3383"], ["3", "1749"], ["3", "7120"], ["3", "7487"], ["4", "1502"], ["5", "1530"], ["6", "2128"], ["6", "2606"], ["8", "4103"], ["9", "1749"], ["9", "5478"], ["9", "6900"], ["10", "802"], ["10", "4010"], ["11", "6441"], ["12", "6475"], ["13", "2605"], ["14", "1805"], ["15", "1504"], ["16", "30"]]}, "table_names": "['aircraft' 'flight']", "table_image_ids": ["TableImg_Obgad_16.png", "TableImg_15c3s_10.png"], "original_data_index": 1604} +{"question": "SELECT MIN(Rank), Club_ID FROM coach WHERE Gender != \"M\" AND \"Rank\" <> 2 AND \"Coach_ID\" <= 1 AND Coach_name = \"James Wong\" OR \"Club_ID\" <> 3 UNION SELECT MIN(Rank), Club_ID FROM coach WHERE \"Rank\" = 1 OR \"Coach_ID\" = 4 OR \"Club_ID\" >= 3 AND Gender <> \"M\"", "answer": {"columns": ["MIN(Rank)", "Club_ID"], "index": [0], "data": [["1", "1"]]}, "table_names": "['coach' 'coach']", "table_image_ids": ["TableImg_Qf9lz_5.png", "TableImg_Yhax8_5.png"], "original_data_index": 1605} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 12 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["4"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Hu8nw_12.png", "TableImg_Ilzsl_5.png"], "original_data_index": 1606} +{"question": "SELECT MIN(Branch_ID) FROM branch WHERE membership_amount <> \"56\" OR Name <> \"Alexandre\" OR City = \"London\" AND \"Branch_ID\" <> 2 AND Open_year <> \"2009\" UNION SELECT MIN(Branch_ID) FROM membership_register_branch WHERE \"Member_ID\" != 6 OR Branch_ID != \"1\" OR Register_Year <> \"2016\"", "answer": {"columns": ["MIN(Branch_ID)"], "index": [0, 1], "data": [["1"], ["1"]]}, "table_names": "['branch' 'membership_register_branch']", "table_image_ids": ["TableImg_Qedis_8.png", "TableImg_1w1z6_8.png"], "original_data_index": 1607} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 2 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["1"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Vdfhl_12.png", "TableImg_2iviy_5.png"], "original_data_index": 1608} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 2 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4], "data": [["2"], ["4"], ["7"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Hya2c_12.png", "TableImg_9e7ld_5.png"], "original_data_index": 1609} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 5 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID = 3", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3], "data": [["1"], ["2"], ["3"], ["4"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_1sjci_5.png", "TableImg_Cwmbv_4.png"], "original_data_index": 1610} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 7 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1], "data": [["3"], ["7"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_J4igu_12.png", "TableImg_Jzm2r_5.png"], "original_data_index": 1611} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 10 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Kk77k_12.png", "TableImg_1f30p_5.png"], "original_data_index": 1612} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 8 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_1geyr_12.png", "TableImg_E29yc_5.png"], "original_data_index": 1613} +{"question": "SELECT StuID, Position FROM Member_of_club WHERE Position = \"CTO\" OR \"StuID\" < 1001 UNION SELECT StuID, Position FROM Member_of_club WHERE Position = \"President\" OR \"StuID\" = 1010", "answer": {"columns": ["StuID", "Position"], "index": [0, 1, 2], "data": [["1001", "President"], ["1008", "CTO"], ["1010", "Teaching Coordinator"]]}, "table_names": "['Member_of_club' 'Member_of_club']", "table_image_ids": ["TableImg_Ba2fw_4.png", "TableImg_7j9ig_4.png"], "original_data_index": 1614} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 2 INTERSECT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 1", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2], "data": [["2"], ["3"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_U201y_5.png", "TableImg_64o5o_4.png"], "original_data_index": 1615} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 2 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["3"], ["4"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_9wa89_12.png", "TableImg_Vapq9_5.png"], "original_data_index": 1616} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID > 7 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7], "data": [["3"], ["4"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Qik3u_12.png", "TableImg_L3ysf_5.png"], "original_data_index": 1617} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 10 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Uxzpv_12.png", "TableImg_2xk3v_5.png"], "original_data_index": 1618} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 4 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 1", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["1"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Jmka9_5.png", "TableImg_Axyp6_4.png"], "original_data_index": 1619} +{"question": "SELECT COUNT(feature_type_code) FROM Other_Available_Features WHERE feature_description = \"Swimming Pool.\" AND feature_name <> \"BurglarAlarm\" OR \"feature_id\" < 3 OR feature_type_code <> \"Amenity\" EXCEPT SELECT COUNT(feature_type_code) FROM Ref_Feature_Types WHERE feature_type_name = \"Amenity, eg Pool.\" AND feature_type_code != \"Security\"", "answer": {"columns": ["COUNT(feature_type_code)"], "index": [0], "data": [["3"]]}, "table_names": "['Other_Available_Features' 'Ref_Feature_Types']", "table_image_ids": ["TableImg_5q7d0_3.png", "TableImg_Kbeyp_2.png"], "original_data_index": 1620} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 7 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["1"], ["2"], ["5"], ["6"], ["8"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_0133w_12.png", "TableImg_C3dkd_5.png"], "original_data_index": 1621} +{"question": "SELECT MIN(Employee_ID) FROM employee WHERE \"Employee_ID\" <> 8 AND Name = \"Phil Vickery\" AND \"Age\" <= 30 AND City <> \"Bristol\" EXCEPT SELECT MIN(Employee_ID) FROM evaluation WHERE \"Bonus\" != 3200.0 AND Employee_ID != \"1\"", "answer": {"columns": ["MIN(Employee_ID)"], "index": [0], "data": [[""]]}, "table_names": "['employee' 'evaluation']", "table_image_ids": ["TableImg_4uyjd_10.png", "TableImg_00bgs_6.png"], "original_data_index": 1622} +{"question": "SELECT Name FROM employee WHERE City <> \"Bath\" AND \"Employee_ID\" >= 4 AND \"Age\" <> 28 UNION ALL SELECT Name FROM shop WHERE \"Shop_ID\" < 6 OR \"Number_products\" <= 3500 AND Name = \"FC Inter\" AND Location = \"Helsinki\" AND Manager_name = \"Pekka Lyyski\" AND District = \"Lahden Stadion\"", "answer": {"columns": ["Name"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8], "data": [["Jason Hobson"], ["Tim Payne"], ["Phil Vickery"], ["Louis Deacon"], ["FC Haka"], ["HJK"], ["FC Honka"], ["FC Inter"], ["FF Jaro"]]}, "table_names": "['employee' 'shop']", "table_image_ids": ["TableImg_Bwzyf_10.png", "TableImg_4a9qv_9.png"], "original_data_index": 1623} +{"question": "SELECT MIN(Member_ID) FROM membership_register_branch WHERE Branch_ID != \"1\" AND Register_Year = \"2017\" AND \"Member_ID\" >= 8 UNION SELECT MIN(Member_ID) FROM purchase WHERE Branch_ID = \"2\" OR Year <> \"2018\" OR \"Total_pounds\" <= 402.1", "answer": {"columns": ["MIN(Member_ID)"], "index": [0, 1], "data": [[""], ["2.0"]]}, "table_names": "['membership_register_branch' 'purchase']", "table_image_ids": ["TableImg_4fw05_8.png", "TableImg_Igok6_8.png"], "original_data_index": 1624} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 6 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Ge00h_12.png", "TableImg_F80ai_5.png"], "original_data_index": 1625} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 6 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_7snl4_12.png", "TableImg_Yqi2g_5.png"], "original_data_index": 1626} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 1 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID != 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3], "data": [["3"], ["7"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_N1gae_12.png", "TableImg_Kqqid_5.png"], "original_data_index": 1627} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 11 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["8"], ["11"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Ri3e5_12.png", "TableImg_6lbbg_5.png"], "original_data_index": 1628} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 1 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 5", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2], "data": [["1"], ["2"], ["3"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Linwh_5.png", "TableImg_Dei0i_4.png"], "original_data_index": 1629} +{"question": "SELECT shipping_agent_code FROM Documents WHERE \"document_id\" > 24 AND document_status_code <> \"working\" UNION ALL SELECT shipping_agent_code FROM Ref_Shipping_Agents WHERE shipping_agent_description = \"q\" AND shipping_agent_code <> \"US\"", "answer": {"columns": ["shipping_agent_code"], "index": [0], "data": [["AL"]]}, "table_names": "['Documents' 'Ref_Shipping_Agents']", "table_image_ids": ["TableImg_Zifl5_15.png", "TableImg_Vltdy_5.png"], "original_data_index": 1630} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID != 5 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Xr80c_12.png", "TableImg_Sdf1w_5.png"], "original_data_index": 1631} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID = 5 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID < 3", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["5"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_5t36x_12.png", "TableImg_Gx2mk_5.png"], "original_data_index": 1632} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <> 5 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 10", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["4"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_D3lvy_12.png", "TableImg_Lswb7_5.png"], "original_data_index": 1633} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 9 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 7", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["5"], ["6"], ["8"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_T1puq_12.png", "TableImg_P9ofn_5.png"], "original_data_index": 1634} +{"question": "SELECT Template_Type_Code FROM Ref_Template_Types WHERE Template_Type_Description != \"Paper\" INTERSECT SELECT Template_Type_Code FROM Templates WHERE Date_Effective_From <> \"2005-02-20 00:31:34\" AND Date_Effective_To <> \"2008-08-08 18:36:43\" OR \"Version_Number\" != 5 OR \"Template_ID\" >= 14 AND Template_Type_Code = \"AD\" AND Template_Details <> \"\"", "answer": {"columns": ["Template_Type_Code"], "index": [0, 1, 2, 3], "data": [["AD"], ["BK"], ["CV"], ["PPT"]]}, "table_names": "['Ref_Template_Types' 'Templates']", "table_image_ids": ["TableImg_4t1kb_5.png", "TableImg_Ygizz_20.png"], "original_data_index": 1635} +{"question": "SELECT AVG(i_id), COUNT(title) FROM item WHERE \"i_id\" <> 5 OR title != \"orange\" UNION SELECT AVG(i_id), COUNT(title) FROM item WHERE \"i_id\" <= 3", "answer": {"columns": ["AVG(i_id)", "COUNT(title)"], "index": [0, 1], "data": [["1.5", "4"], ["3.5", "8"]]}, "table_names": "['item' 'item']", "table_image_ids": ["TableImg_9cw8r_8.png", "TableImg_Jp0mk_8.png"], "original_data_index": 1636} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID >= 3 UNION SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID <> 3", "answer": {"columns": ["Aircraft_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["3"], ["4"], ["5"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_D9zv0_5.png", "TableImg_Yt7tr_4.png"], "original_data_index": 1637} +{"question": "SELECT Aircraft_ID FROM aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID < 4 EXCEPT SELECT Aircraft_ID FROM airport_aircraft GROUP BY Aircraft_ID HAVING Aircraft_ID != 2", "answer": {"columns": ["Aircraft_ID"], "index": [0], "data": [["2"]]}, "table_names": "['aircraft' 'airport_aircraft']", "table_image_ids": ["TableImg_Ylosl_5.png", "TableImg_Ydyiw_4.png"], "original_data_index": 1638} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 12 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID = 4", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], "data": [["1"], ["2"], ["3"], ["5"], ["6"], ["7"], ["8"], ["9"], ["10"], ["11"], ["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_X6d0y_12.png", "TableImg_Wjl2q_5.png"], "original_data_index": 1639} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 10 INTERSECT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <> 3", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_72gvb_12.png", "TableImg_Mlye4_5.png"], "original_data_index": 1640} +{"question": "SELECT draft_number, copy_number FROM Circulation_History WHERE \"document_id\" < 20 AND \"draft_number\" <= 2 UNION SELECT draft_number, copy_number FROM Draft_Copies WHERE \"copy_number\" > 5", "answer": {"columns": ["draft_number", "copy_number"], "index": [0, 1, 2, 3, 4, 5, 6], "data": [["1", "4"], ["2", "5"], ["9", "6"], ["9", "15"], ["12", "10"], ["17", "15"], ["20", "10"]]}, "table_names": "['Circulation_History' 'Draft_Copies']", "table_image_ids": ["TableImg_Z3zy8_4.png", "TableImg_Aktc7_8.png"], "original_data_index": 1641} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID <= 6 UNION SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID >= 3", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4, 5, 6, 7, 8], "data": [["1"], ["2"], ["3"], ["4"], ["5"], ["6"], ["7"], ["9"], ["10"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_3o6wi_12.png", "TableImg_Gdht3_5.png"], "original_data_index": 1642} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID < 10 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID <= 9", "answer": {"columns": ["Driver_ID"], "index": [0, 1, 2, 3, 4], "data": [["1"], ["2"], ["5"], ["6"], ["8"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_4gq2q_12.png", "TableImg_Bi8i8_5.png"], "original_data_index": 1643} +{"question": "SELECT Driver_ID FROM driver GROUP BY Driver_ID HAVING Driver_ID >= 12 EXCEPT SELECT Driver_ID FROM school_bus GROUP BY Driver_ID HAVING Driver_ID > 3", "answer": {"columns": ["Driver_ID"], "index": [0], "data": [["12"]]}, "table_names": "['driver' 'school_bus']", "table_image_ids": ["TableImg_Bmd7e_12.png", "TableImg_80gvl_5.png"], "original_data_index": 1644}