instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
What gun has a time to feet ratio of 18.8 at 55 degrees?
SELECT "Gun" FROM table_20823 WHERE "Time to ft (m) at 55\u00b0 (seconds)" = '18.8'
[ 2061, 2485, 468, 257, 640, 284, 3625, 8064, 286, 1248, 13, 23, 379, 5996, 7370, 30, 46506, 366, 22993, 1, 16034, 3084, 62, 21315, 1954, 33411, 366, 7575, 284, 10117, 357, 76, 8, 379, 5996, 59, 84, 405, 65, 15, 357, 43012, 16725, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 2485, 468, 257, 640, 284, 3625, 8064, 286, 1248, 13, 23, 379, 5996, 7370, 30, 46506, 366, 22993, 1, 16034, 3084, 62, 21315, 1954, 33411, 366, 7575, 284, 10117, 357, 76, 8, 379, 5996, 59, 84, 405, 65, 15, 357, 43012, 16725, 7...
Name the nickname with age of 4.9
SELECT nickname FROM table_name_73 WHERE age___ma__ = "4.9"
[ 5376, 262, 21814, 351, 2479, 286, 604, 13, 24, 46506, 21814, 16034, 3084, 62, 3672, 62, 4790, 33411, 2479, 17569, 2611, 834, 796, 366, 19, 13, 24, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 21814, 351, 2479, 286, 604, 13, 24, 46506, 21814, 16034, 3084, 62, 3672, 62, 4790, 33411, 2479, 17569, 2611, 834, 796, 366, 19, 13, 24, 1 ]
Who won silver in the year before 2010, the year Chan Ming Shu won gold?
SELECT silver FROM table_name_21 WHERE year < 2010 AND gold = "chan ming shu"
[ 8241, 1839, 8465, 287, 262, 614, 878, 3050, 11, 262, 614, 18704, 26980, 32344, 1839, 3869, 30, 46506, 8465, 16034, 3084, 62, 3672, 62, 2481, 33411, 614, 1279, 3050, 5357, 3869, 796, 366, 3147, 42434, 427, 84, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 1839, 8465, 287, 262, 614, 878, 3050, 11, 262, 614, 18704, 26980, 32344, 1839, 3869, 30, 46506, 8465, 16034, 3084, 62, 3672, 62, 2481, 33411, 614, 1279, 3050, 5357, 3869, 796, 366, 3147, 42434, 427, 84, 1 ]
On what date was Anniston Army Depot (SE Industrial Area) deleted?
SELECT "Deleted" FROM table_55863 WHERE "Name" = 'anniston army depot (se industrial area)'
[ 2202, 644, 3128, 373, 5506, 36363, 5407, 30884, 357, 5188, 19034, 9498, 8, 13140, 30, 46506, 366, 5005, 33342, 1, 16034, 3084, 62, 2816, 4521, 18, 33411, 366, 5376, 1, 796, 705, 1236, 36363, 5428, 43369, 357, 325, 7593, 1989, 33047 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2202, 644, 3128, 373, 5506, 36363, 5407, 30884, 357, 5188, 19034, 9498, 8, 13140, 30, 46506, 366, 5005, 33342, 1, 16034, 3084, 62, 2816, 4521, 18, 33411, 366, 5376, 1, 796, 705, 1236, 36363, 5428, 43369, 357, 325, 7593, 1989, 33047 ]
Who was the leading scorer against the visiting team Bulls?
SELECT "Leading scorer" FROM table_41169 WHERE "Visitor" = 'bulls'
[ 8241, 373, 262, 3756, 30664, 1028, 262, 10013, 1074, 18075, 30, 46506, 366, 20451, 278, 30664, 1, 16034, 3084, 62, 42224, 3388, 33411, 366, 15854, 2072, 1, 796, 705, 16308, 82, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 373, 262, 3756, 30664, 1028, 262, 10013, 1074, 18075, 30, 46506, 366, 20451, 278, 30664, 1, 16034, 3084, 62, 42224, 3388, 33411, 366, 15854, 2072, 1, 796, 705, 16308, 82, 6 ]
Bar graph to show the number of rank from different rank, and list how many rank in asc order please.
SELECT Rank, COUNT(Rank) FROM captain GROUP BY Rank ORDER BY COUNT(Rank)
[ 10374, 4823, 284, 905, 262, 1271, 286, 4279, 422, 1180, 4279, 11, 290, 1351, 703, 867, 4279, 287, 10570, 1502, 3387, 13, 46506, 10916, 11, 327, 28270, 7, 27520, 8, 16034, 10654, 44441, 11050, 10916, 38678, 11050, 327, 28270, 7, 27520, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10374, 4823, 284, 905, 262, 1271, 286, 4279, 422, 1180, 4279, 11, 290, 1351, 703, 867, 4279, 287, 10570, 1502, 3387, 13, 46506, 10916, 11, 327, 28270, 7, 27520, 8, 16034, 10654, 44441, 11050, 10916, 38678, 11050, 327, 28270, 7, 27520, ...
What was the result of the election featuring james a. gallivan (d) unopposed?
SELECT result FROM table_1342379_20 WHERE candidates = "James A. Gallivan (D) Unopposed"
[ 2061, 373, 262, 1255, 286, 262, 3071, 9593, 474, 1047, 257, 13, 7976, 13809, 357, 67, 8, 555, 10365, 1335, 30, 46506, 1255, 16034, 3084, 62, 19880, 1954, 3720, 62, 1238, 33411, 5871, 796, 366, 14731, 317, 13, 7096, 13809, 357, 35, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 1255, 286, 262, 3071, 9593, 474, 1047, 257, 13, 7976, 13809, 357, 67, 8, 555, 10365, 1335, 30, 46506, 1255, 16034, 3084, 62, 19880, 1954, 3720, 62, 1238, 33411, 5871, 796, 366, 14731, 317, 13, 7096, 13809, 357, 35, 8...
What's the title of the episode with a production code 136?
SELECT title FROM table_12226390_6 WHERE production_code = 136
[ 2061, 338, 262, 3670, 286, 262, 4471, 351, 257, 3227, 2438, 21056, 30, 46506, 3670, 16034, 3084, 62, 1065, 24909, 25964, 62, 21, 33411, 3227, 62, 8189, 796, 21056 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 338, 262, 3670, 286, 262, 4471, 351, 257, 3227, 2438, 21056, 30, 46506, 3670, 16034, 3084, 62, 1065, 24909, 25964, 62, 21, 33411, 3227, 62, 8189, 796, 21056 ]
What are the apartment number, start date, and end date of each apartment booking?
SELECT T2.apt_number, T1.booking_start_date, T1.booking_start_date FROM apartment_bookings AS T1 JOIN apartments AS T2 ON T1.apt_id = T2.apt_id
[ 2061, 389, 262, 7962, 1271, 11, 923, 3128, 11, 290, 886, 3128, 286, 1123, 7962, 25452, 30, 46506, 309, 17, 13, 2373, 62, 17618, 11, 309, 16, 13, 2070, 278, 62, 9688, 62, 4475, 11, 309, 16, 13, 2070, 278, 62, 9688, 62, 4475, 1603...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 389, 262, 7962, 1271, 11, 923, 3128, 11, 290, 886, 3128, 286, 1123, 7962, 25452, 30, 46506, 309, 17, 13, 2373, 62, 17618, 11, 309, 16, 13, 2070, 278, 62, 9688, 62, 4475, 11, 309, 16, 13, 2070, 278, 62, 9688, 62, 4475, 1603...
count the current patients whose age is 30s.
SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE admissions.dischtime IS NULL AND admissions.age BETWEEN 30 AND 39
[ 9127, 262, 1459, 3871, 3025, 2479, 318, 1542, 82, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 25349, 13, 32796, 62, 312, 8, 16034, 25349, 33411, 25349, 13, 6381, 354, 2435, 3180, 15697, 5357, 25349, 13, 496, 38651, 8845, 1677, 154...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 9127, 262, 1459, 3871, 3025, 2479, 318, 1542, 82, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 25349, 13, 32796, 62, 312, 8, 16034, 25349, 33411, 25349, 13, 6381, 354, 2435, 3180, 15697, 5357, 25349, 13, 496, 38651, 8845, 1677, 154...
In what constituency was the result labour hold and Liberal democrat Elizabeth Newton won?
SELECT constituency FROM table_name_12 WHERE result = "labour hold" AND liberal_democrats = "elizabeth newton"
[ 818, 644, 28280, 373, 262, 1255, 10515, 1745, 290, 12266, 43268, 10674, 17321, 1839, 30, 46506, 28280, 16034, 3084, 62, 3672, 62, 1065, 33411, 1255, 796, 366, 23912, 454, 1745, 1, 5357, 7270, 62, 9536, 21988, 796, 366, 417, 9924, 649, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 818, 644, 28280, 373, 262, 1255, 10515, 1745, 290, 12266, 43268, 10674, 17321, 1839, 30, 46506, 28280, 16034, 3084, 62, 3672, 62, 1065, 33411, 1255, 796, 366, 23912, 454, 1745, 1, 5357, 7270, 62, 9536, 21988, 796, 366, 417, 9924, 649, ...
Show all allergies with number of students affected with a bar chart, display the total number in desc order.
SELECT Allergy, COUNT(*) FROM Has_Allergy GROUP BY Allergy ORDER BY COUNT(*) DESC
[ 15307, 477, 36665, 351, 1271, 286, 2444, 5676, 351, 257, 2318, 8262, 11, 3359, 262, 2472, 1271, 287, 1715, 1502, 13, 46506, 1439, 26079, 11, 327, 28270, 7, 28104, 16034, 7875, 62, 3237, 26079, 44441, 11050, 1439, 26079, 38678, 11050, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 477, 36665, 351, 1271, 286, 2444, 5676, 351, 257, 2318, 8262, 11, 3359, 262, 2472, 1271, 287, 1715, 1502, 13, 46506, 1439, 26079, 11, 327, 28270, 7, 28104, 16034, 7875, 62, 3237, 26079, 44441, 11050, 1439, 26079, 38678, 11050, 32...
What's the Termination of Mission listed that has a Presentation of Credentials for August 29, 1859?
SELECT termination_of_mission FROM table_name_34 WHERE presentation_of_credentials = "august 29, 1859"
[ 2061, 338, 262, 15527, 341, 286, 12633, 5610, 326, 468, 257, 21662, 341, 286, 327, 445, 14817, 329, 2932, 2808, 11, 1248, 3270, 30, 46506, 19883, 62, 1659, 62, 3411, 16034, 3084, 62, 3672, 62, 2682, 33411, 10470, 62, 1659, 62, 66, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 338, 262, 15527, 341, 286, 12633, 5610, 326, 468, 257, 21662, 341, 286, 327, 445, 14817, 329, 2932, 2808, 11, 1248, 3270, 30, 46506, 19883, 62, 1659, 62, 3411, 16034, 3084, 62, 3672, 62, 2682, 33411, 10470, 62, 1659, 62, 66, 4...
Compute the total the total number across policy type code as a pie chart.
SELECT Policy_Type_Code, COUNT(*) FROM Policies GROUP BY Policy_Type_Code
[ 7293, 1133, 262, 2472, 262, 2472, 1271, 1973, 2450, 2099, 2438, 355, 257, 2508, 8262, 13, 46506, 7820, 62, 6030, 62, 10669, 11, 327, 28270, 7, 28104, 16034, 42283, 44441, 11050, 7820, 62, 6030, 62, 10669 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 7293, 1133, 262, 2472, 262, 2472, 1271, 1973, 2450, 2099, 2438, 355, 257, 2508, 8262, 13, 46506, 7820, 62, 6030, 62, 10669, 11, 327, 28270, 7, 28104, 16034, 42283, 44441, 11050, 7820, 62, 6030, 62, 10669 ]
What is the highest played that has a drawn less than 9, 36 as the difference, with a lost greater than 7?
SELECT MAX(played) FROM table_name_60 WHERE drawn < 9 AND difference = "36" AND lost > 7
[ 2061, 318, 262, 4511, 2826, 326, 468, 257, 7428, 1342, 621, 860, 11, 4570, 355, 262, 3580, 11, 351, 257, 2626, 3744, 621, 767, 30, 46506, 25882, 7, 21542, 8, 16034, 3084, 62, 3672, 62, 1899, 33411, 7428, 1279, 860, 5357, 3580, 796, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4511, 2826, 326, 468, 257, 7428, 1342, 621, 860, 11, 4570, 355, 262, 3580, 11, 351, 257, 2626, 3744, 621, 767, 30, 46506, 25882, 7, 21542, 8, 16034, 3084, 62, 3672, 62, 1899, 33411, 7428, 1279, 860, 5357, 3580, 796, ...
provide the number of patients whose primary disease is st elevated myocardial infarction\cardiac cath and lab test fluid is joint fluid?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.diagnosis = "ST ELEVATED MYOCARDIAL INFARCTION\CARDIAC CATH" AND lab.fluid = "Joint Fluid"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 4165, 4369, 318, 336, 15321, 616, 44412, 498, 1167, 283, 596, 59, 9517, 9607, 32171, 290, 2248, 1332, 11711, 318, 6466, 11711, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 15234, 485, 262, 1271, 286, 3871, 3025, 4165, 4369, 318, 336, 15321, 616, 44412, 498, 1167, 283, 596, 59, 9517, 9607, 32171, 290, 2248, 1332, 11711, 318, 6466, 11711, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 6...
What is the codename for the Core i3-32xxt?
SELECT codename__main_article_ FROM table_24538587_11 WHERE brand_name__list_ = "Core i3-32xxT"
[ 2061, 318, 262, 14873, 12453, 329, 262, 7231, 1312, 18, 12, 2624, 87, 742, 30, 46506, 14873, 12453, 834, 12417, 62, 20205, 62, 16034, 3084, 62, 22995, 2548, 44617, 62, 1157, 33411, 4508, 62, 3672, 834, 4868, 62, 796, 366, 14055, 1312,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 14873, 12453, 329, 262, 7231, 1312, 18, 12, 2624, 87, 742, 30, 46506, 14873, 12453, 834, 12417, 62, 20205, 62, 16034, 3084, 62, 22995, 2548, 44617, 62, 1157, 33411, 4508, 62, 3672, 834, 4868, 62, 796, 366, 14055, 1312,...
what is the procedure, which patient 77987 underwent two times until 10/2105?
SELECT d_icd_procedures.short_title FROM d_icd_procedures WHERE d_icd_procedures.icd9_code IN (SELECT t1.icd9_code FROM (SELECT procedures_icd.icd9_code, COUNT(procedures_icd.charttime) AS c1 FROM procedures_icd WHERE procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 779...
[ 10919, 318, 262, 8771, 11, 543, 5827, 767, 3720, 5774, 25289, 734, 1661, 1566, 838, 14, 17, 13348, 30, 46506, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 1676, 771, 942, 33411, 288, 62, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 8771, 11, 543, 5827, 767, 3720, 5774, 25289, 734, 1661, 1566, 838, 14, 17, 13348, 30, 46506, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 1676, 771, 942, 33411, 288, 62, ...
For those records from the products and each product's manufacturer, give me the comparison about the sum of code over the founder , and group by attribute founder by a bar chart, and show in desc by the x axis.
SELECT T2.Founder, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Founder ORDER BY T2.Founder DESC
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 1577, 502, 262, 7208, 546, 262, 2160, 286, 2438, 625, 262, 9119, 837, 290, 1448, 416, 11688, 9119, 416, 257, 2318, 8262, 11, 290, 905, 287, 1715, 416, 262, 2124, 1648...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 1577, 502, 262, 7208, 546, 262, 2160, 286, 2438, 625, 262, 9119, 837, 290, 1448, 416, 11688, 9119, 416, 257, 2318, 8262, 11, 290, 905, 287, 1715, 416, 262, 2124, 1648...
what is the name of drug that patient 7112 was prescribed during the same hospital visit after being diagnosed with ocl crtd art wo infrct this month?
SELECT t2.drug FROM (SELECT admissions.subject_id, diagnoses_icd.charttime, admissions.hadm_id FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE admissions.subject_id = 7112 AND diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.sh...
[ 10919, 318, 262, 1438, 286, 2563, 326, 5827, 9166, 1065, 373, 14798, 1141, 262, 976, 4436, 3187, 706, 852, 14641, 351, 267, 565, 1067, 8671, 1242, 24486, 1167, 81, 310, 428, 1227, 30, 46506, 256, 17, 13, 30349, 16034, 357, 46506, 2534...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 1438, 286, 2563, 326, 5827, 9166, 1065, 373, 14798, 1141, 262, 976, 4436, 3187, 706, 852, 14641, 351, 267, 565, 1067, 8671, 1242, 24486, 1167, 81, 310, 428, 1227, 30, 46506, 256, 17, 13, 30349, 16034, 357, 46506, 2534...
provide the number of patients whose diagnoses long title is hepatitis, unspecified?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE diagnoses.long_title = "Hepatitis, unspecified"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 40567, 890, 3670, 318, 37439, 11, 29547, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 15234, 485, 262, 1271, 286, 3871, 3025, 40567, 890, 3670, 318, 37439, 11, 29547, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, ...
How many white patients have been diagnosed with single liveborn, born in hospital, and delivered by cesarean section?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.ethnicity = "WHITE" AND diagnoses.long_title = "Single liveborn, born in hospital, delivered by cesarean section"
[ 2437, 867, 2330, 3871, 423, 587, 14641, 351, 2060, 2107, 6286, 11, 4642, 287, 4436, 11, 290, 6793, 416, 269, 274, 533, 272, 2665, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 2147...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2437, 867, 2330, 3871, 423, 587, 14641, 351, 2060, 2107, 6286, 11, 4642, 287, 4436, 11, 290, 6793, 416, 269, 274, 533, 272, 2665, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 2147...
when was the last time of admission to the hospital that patient 12572 was accepted through the transfer from hosp/extram in a year before?
SELECT admissions.admittime FROM admissions WHERE admissions.subject_id = 12572 AND admissions.admission_location = 'transfer from hosp/extram' AND DATETIME(admissions.admittime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') ORDER BY admissions.admittime DESC LIMIT 1
[ 12518, 373, 262, 938, 640, 286, 13938, 284, 262, 4436, 326, 5827, 1105, 48724, 373, 6292, 832, 262, 4351, 422, 10496, 14, 2302, 859, 287, 257, 614, 878, 30, 46506, 25349, 13, 324, 20124, 524, 16034, 25349, 33411, 25349, 13, 32796, 62,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12518, 373, 262, 938, 640, 286, 13938, 284, 262, 4436, 326, 5827, 1105, 48724, 373, 6292, 832, 262, 4351, 422, 10496, 14, 2302, 859, 287, 257, 614, 878, 30, 46506, 25349, 13, 324, 20124, 524, 16034, 25349, 33411, 25349, 13, 32796, 62,...
What was the score when the location attendance was Air Canada Centre 18,067?
SELECT score FROM table_11960407_4 WHERE location_attendance = "Air Canada Centre 18,067"
[ 2061, 373, 262, 4776, 618, 262, 4067, 14858, 373, 3701, 3340, 9072, 1248, 11, 15, 3134, 30, 46506, 4776, 16034, 3084, 62, 16315, 1899, 30120, 62, 19, 33411, 4067, 62, 1078, 437, 590, 796, 366, 16170, 3340, 9072, 1248, 11, 15, 3134, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 4776, 618, 262, 4067, 14858, 373, 3701, 3340, 9072, 1248, 11, 15, 3134, 30, 46506, 4776, 16034, 3084, 62, 16315, 1899, 30120, 62, 19, 33411, 4067, 62, 1078, 437, 590, 796, 366, 16170, 3340, 9072, 1248, 11, 15, 3134, ...
What album was the song Shimmy Jimmy from the episode titled Toy to the world on?
SELECT "Album(s)" FROM table_26242 WHERE "Episode Title" = 'Toy to the World' AND "Song(s) Title" = 'Shimmy Jimmy'
[ 2061, 5062, 373, 262, 3496, 31698, 1820, 12963, 422, 262, 4471, 11946, 10977, 284, 262, 995, 319, 30, 46506, 366, 2348, 4435, 7, 82, 16725, 16034, 3084, 62, 2075, 27877, 33411, 366, 23758, 11851, 1, 796, 705, 48236, 284, 262, 2159, 6,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 5062, 373, 262, 3496, 31698, 1820, 12963, 422, 262, 4471, 11946, 10977, 284, 262, 995, 319, 30, 46506, 366, 2348, 4435, 7, 82, 16725, 16034, 3084, 62, 2075, 27877, 33411, 366, 23758, 11851, 1, 796, 705, 48236, 284, 262, 2159, 6,...
Find the full name of employee who supported the most number of customers.
SELECT T1.first_name, T1.last_name FROM employees AS T1 JOIN customers AS T2 ON T1.id = T2.support_rep_id GROUP BY T1.id ORDER BY COUNT(*) DESC LIMIT 1
[ 16742, 262, 1336, 1438, 286, 6538, 508, 4855, 262, 749, 1271, 286, 4297, 13, 46506, 309, 16, 13, 11085, 62, 3672, 11, 309, 16, 13, 12957, 62, 3672, 16034, 4409, 7054, 309, 16, 32357, 1268, 4297, 7054, 309, 17, 6177, 309, 16, 13, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 16742, 262, 1336, 1438, 286, 6538, 508, 4855, 262, 749, 1271, 286, 4297, 13, 46506, 309, 16, 13, 11085, 62, 3672, 11, 309, 16, 13, 12957, 62, 3672, 16034, 4409, 7054, 309, 16, 32357, 1268, 4297, 7054, 309, 17, 6177, 309, 16, 13, 3...
when did the first hospital admission time that patient 83038 had been admitted via phys referral/normal deli since 1 year ago?
SELECT admissions.admittime FROM admissions WHERE admissions.subject_id = 83038 AND admissions.admission_location = 'phys referral/normal deli' AND DATETIME(admissions.admittime) >= DATETIME(CURRENT_TIME(), '-1 year') ORDER BY admissions.admittime LIMIT 1
[ 12518, 750, 262, 717, 4436, 13938, 640, 326, 5827, 807, 1270, 2548, 550, 587, 6848, 2884, 2281, 31413, 14, 11265, 1619, 72, 1201, 352, 614, 2084, 30, 46506, 25349, 13, 324, 20124, 524, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12518, 750, 262, 717, 4436, 13938, 640, 326, 5827, 807, 1270, 2548, 550, 587, 6848, 2884, 2281, 31413, 14, 11265, 1619, 72, 1201, 352, 614, 2084, 30, 46506, 25349, 13, 324, 20124, 524, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 7...
what is the number of patients who had been diagnosed with nb transitory tachypnea in 2105?
SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE admissions.hadm_id IN (SELECT diagnoses_icd.hadm_id FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'nb transitory tachypnea') AND STRFTIME('%y', diagnoses_icd...
[ 10919, 318, 262, 1271, 286, 3871, 508, 550, 587, 14641, 351, 299, 65, 11168, 652, 256, 620, 4464, 39718, 287, 362, 13348, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 25349, 13, 32796, 62, 312, 8, 16034, 25349, 33411, 25349, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 1271, 286, 3871, 508, 550, 587, 14641, 351, 299, 65, 11168, 652, 256, 620, 4464, 39718, 287, 362, 13348, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 25349, 13, 32796, 62, 312, 8, 16034, 25349, 33411, 25349, 13, ...
how many divorced patients had the drug route iv?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.marital_status = "DIVORCED" AND prescriptions.route = "IV"
[ 4919, 867, 25107, 3871, 550, 262, 2563, 6339, 21628, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, 18108, 76, 62, 312, 796, 34092, 13, 181...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 25107, 3871, 550, 262, 2563, 6339, 21628, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, 18108, 76, 62, 312, 796, 34092, 13, 181...
What is the number of races associated with 7 podiums and a position of 4th?
SELECT races FROM table_name_93 WHERE position = "4th" AND podiums = "7"
[ 2061, 318, 262, 1271, 286, 9558, 3917, 351, 767, 27941, 82, 290, 257, 2292, 286, 604, 400, 30, 46506, 9558, 16034, 3084, 62, 3672, 62, 6052, 33411, 2292, 796, 366, 19, 400, 1, 5357, 27941, 82, 796, 366, 22, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1271, 286, 9558, 3917, 351, 767, 27941, 82, 290, 257, 2292, 286, 604, 400, 30, 46506, 9558, 16034, 3084, 62, 3672, 62, 6052, 33411, 2292, 796, 366, 19, 400, 1, 5357, 27941, 82, 796, 366, 22, 1 ]
What was the transfer fee for the player moving in the winter window and ending in a year after 2010?
SELECT "Transfer fee" FROM table_7726 WHERE "Ends" > '2010' AND "Transfer window" = 'winter'
[ 2061, 373, 262, 4351, 6838, 329, 262, 2137, 3867, 287, 262, 7374, 4324, 290, 7464, 287, 257, 614, 706, 3050, 30, 46506, 366, 43260, 6838, 1, 16034, 3084, 62, 3324, 2075, 33411, 366, 12915, 82, 1, 1875, 705, 10333, 6, 5357, 366, 4326...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 4351, 6838, 329, 262, 2137, 3867, 287, 262, 7374, 4324, 290, 7464, 287, 257, 614, 706, 3050, 30, 46506, 366, 43260, 6838, 1, 16034, 3084, 62, 3324, 2075, 33411, 366, 12915, 82, 1, 1875, 705, 10333, 6, 5357, 366, 4326...
Give me the number of patients less than 62 years who are suffering from morbid obesity/sda as their primary disease.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "MORBID OBESITY/SDA" AND demographic.age < "62"
[ 23318, 502, 262, 1271, 286, 3871, 1342, 621, 8190, 812, 508, 389, 7195, 422, 34813, 13825, 14, 82, 6814, 355, 511, 4165, 4369, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 23318, 502, 262, 1271, 286, 3871, 1342, 621, 8190, 812, 508, 389, 7195, 422, 34813, 13825, 14, 82, 6814, 355, 511, 4165, 4369, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, ...
find candidates for Revival badge. find questions older than 30 days which have no answers
SELECT Id AS "post_link", Score, ViewCount AS Views, AnswerCount AS Answers, CreationDate, Tags FROM Posts WHERE AcceptedAnswerId IS NULL AND PostTypeId = 1 AND CreationDate < CURRENT_TIMESTAMP() - 30 AND ClosedDate IS NULL AND NOT EXISTS(SELECT * FROM Posts AS p WHERE p.ParentId = Posts.Id AND p.PostTypeId = 2) AND Ta...
[ 19796, 5871, 329, 48095, 23009, 13, 1064, 2683, 4697, 621, 1542, 1528, 543, 423, 645, 7429, 46506, 5121, 7054, 366, 7353, 62, 8726, 1600, 15178, 11, 3582, 12332, 7054, 29978, 11, 23998, 12332, 7054, 42612, 11, 21582, 10430, 11, 44789, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 19796, 5871, 329, 48095, 23009, 13, 1064, 2683, 4697, 621, 1542, 1528, 543, 423, 645, 7429, 46506, 5121, 7054, 366, 7353, 62, 8726, 1600, 15178, 11, 3582, 12332, 7054, 29978, 11, 23998, 12332, 7054, 42612, 11, 21582, 10430, 11, 44789, 1...
What was the height of representative #6?
SELECT height FROM table_28062822_3 WHERE represent = 6
[ 2061, 373, 262, 6001, 286, 8852, 1303, 21, 30, 46506, 6001, 16034, 3084, 62, 21033, 48200, 1828, 62, 18, 33411, 2380, 796, 718 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 6001, 286, 8852, 1303, 21, 30, 46506, 6001, 16034, 3084, 62, 21033, 48200, 1828, 62, 18, 33411, 2380, 796, 718 ]
How many total number have robert young as the director?
SELECT COUNT("#") FROM table_23473 WHERE "Director" = 'Robert Young'
[ 2437, 867, 2472, 1271, 423, 686, 4835, 1862, 355, 262, 3437, 30, 46506, 327, 28270, 7203, 2, 4943, 16034, 3084, 62, 1954, 37804, 33411, 366, 28702, 1, 796, 705, 19156, 6960, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 2472, 1271, 423, 686, 4835, 1862, 355, 262, 3437, 30, 46506, 327, 28270, 7203, 2, 4943, 16034, 3084, 62, 1954, 37804, 33411, 366, 28702, 1, 796, 705, 19156, 6960, 6 ]
What was the record after the April 15 game?
SELECT record FROM table_name_75 WHERE date = "april 15"
[ 2061, 373, 262, 1700, 706, 262, 3035, 1315, 983, 30, 46506, 1700, 16034, 3084, 62, 3672, 62, 2425, 33411, 3128, 796, 366, 499, 22379, 1315, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 1700, 706, 262, 3035, 1315, 983, 30, 46506, 1700, 16034, 3084, 62, 3672, 62, 2425, 33411, 3128, 796, 366, 499, 22379, 1315, 1 ]
the diagnosis of type ii diabetes of the subjects should be 1 year or more prior to the inception of this study
SELECT * FROM table_train_187 WHERE diabetic = 'ii'
[ 1169, 13669, 286, 2099, 21065, 12593, 286, 262, 7481, 815, 307, 352, 614, 393, 517, 3161, 284, 262, 30839, 286, 428, 2050, 46506, 1635, 16034, 3084, 62, 27432, 62, 23451, 33411, 44016, 796, 705, 4178, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1169, 13669, 286, 2099, 21065, 12593, 286, 262, 7481, 815, 307, 352, 614, 393, 517, 3161, 284, 262, 30839, 286, 428, 2050, 46506, 1635, 16034, 3084, 62, 27432, 62, 23451, 33411, 44016, 796, 705, 4178, 6 ]
When was the earliest with 4 seasons?
SELECT MIN(year_s_) FROM table_name_81 WHERE season = 4
[ 2215, 373, 262, 14555, 351, 604, 7028, 30, 46506, 20625, 7, 1941, 62, 82, 62, 8, 16034, 3084, 62, 3672, 62, 6659, 33411, 1622, 796, 604 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 373, 262, 14555, 351, 604, 7028, 30, 46506, 20625, 7, 1941, 62, 82, 62, 8, 16034, 3084, 62, 3672, 62, 6659, 33411, 1622, 796, 604 ]
What week's game had a result of l 35 37?
SELECT "Week" FROM table_70432 WHERE "Result" = 'l 35–37'
[ 2061, 1285, 338, 983, 550, 257, 1255, 286, 300, 3439, 5214, 30, 46506, 366, 20916, 1, 16034, 3084, 62, 32869, 2624, 33411, 366, 23004, 1, 796, 705, 75, 3439, 1906, 2718, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1285, 338, 983, 550, 257, 1255, 286, 300, 3439, 5214, 30, 46506, 366, 20916, 1, 16034, 3084, 62, 32869, 2624, 33411, 366, 23004, 1, 796, 705, 75, 3439, 1906, 2718, 6 ]
For those employees who did not have any job in the past, show me about the distribution of hire_date and the sum of department_id bin hire_date by weekday in a bar chart, and list y axis in desc order.
SELECT HIRE_DATE, SUM(DEPARTMENT_ID) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) ORDER BY SUM(DEPARTMENT_ID) DESC
[ 1890, 883, 4409, 508, 750, 407, 423, 597, 1693, 287, 262, 1613, 11, 905, 502, 546, 262, 6082, 286, 11078, 62, 4475, 290, 262, 2160, 286, 5011, 62, 312, 9874, 11078, 62, 4475, 416, 28269, 287, 257, 2318, 8262, 11, 290, 1351, 331, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4409, 508, 750, 407, 423, 597, 1693, 287, 262, 1613, 11, 905, 502, 546, 262, 6082, 286, 11078, 62, 4475, 290, 262, 2160, 286, 5011, 62, 312, 9874, 11078, 62, 4475, 416, 28269, 287, 257, 2318, 8262, 11, 290, 1351, 331, 1...
How many case deflectors are there for the Colt 646?
SELECT COUNT("Case deflector?") FROM table_23429 WHERE "Colt model no." = '646'
[ 2437, 867, 1339, 31685, 669, 389, 612, 329, 262, 37360, 718, 3510, 30, 46506, 327, 28270, 7203, 20448, 31685, 273, 1701, 8, 16034, 3084, 62, 1954, 11785, 33411, 366, 5216, 83, 2746, 645, 526, 796, 705, 27720, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 1339, 31685, 669, 389, 612, 329, 262, 37360, 718, 3510, 30, 46506, 327, 28270, 7203, 20448, 31685, 273, 1701, 8, 16034, 3084, 62, 1954, 11785, 33411, 366, 5216, 83, 2746, 645, 526, 796, 705, 27720, 6 ]
Show each employee's salary using a bar chart, note that use the last name of each employee, list in desc by the y-axis.
SELECT LAST_NAME, SALARY FROM employees ORDER BY SALARY DESC
[ 15307, 1123, 6538, 338, 9588, 1262, 257, 2318, 8262, 11, 3465, 326, 779, 262, 938, 1438, 286, 1123, 6538, 11, 1351, 287, 1715, 416, 262, 331, 12, 22704, 13, 46506, 41894, 62, 20608, 11, 42475, 13153, 16034, 4409, 38678, 11050, 42475, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 1123, 6538, 338, 9588, 1262, 257, 2318, 8262, 11, 3465, 326, 779, 262, 938, 1438, 286, 1123, 6538, 11, 1351, 287, 1715, 416, 262, 331, 12, 22704, 13, 46506, 41894, 62, 20608, 11, 42475, 13153, 16034, 4409, 38678, 11050, 42475, ...
find out the number of divorced patients for whom cortisol lab test had been ordered.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.marital_status = "DIVORCED" AND lab.label = "Cortisol"
[ 19796, 503, 262, 1271, 286, 25107, 3871, 329, 4150, 41547, 2248, 1332, 550, 587, 6149, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 19796, 503, 262, 1271, 286, 25107, 3871, 329, 4150, 41547, 2248, 1332, 550, 587, 6149, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108, ...
Which removal treaty covered the chickasaw nation?
SELECT "Removal treaty (year signed)" FROM table_6521 WHERE "Nation" = 'chickasaw'
[ 13828, 9934, 15775, 5017, 262, 17943, 292, 707, 3277, 30, 46506, 366, 8413, 8325, 15775, 357, 1941, 4488, 16725, 16034, 3084, 62, 2996, 2481, 33411, 366, 46108, 1, 796, 705, 354, 624, 292, 707, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 9934, 15775, 5017, 262, 17943, 292, 707, 3277, 30, 46506, 366, 8413, 8325, 15775, 357, 1941, 4488, 16725, 16034, 3084, 62, 2996, 2481, 33411, 366, 46108, 1, 796, 705, 354, 624, 292, 707, 6 ]
when was patient 73423 for the first time prescribed a drug via po/ng route until 63 months ago?
SELECT prescriptions.startdate FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 73423) AND prescriptions.route = 'po/ng' AND DATETIME(prescriptions.startdate) <= DATETIME(CURRENT_TIME(), '-63 month') ORDER BY prescriptions.startdate LIMIT 1
[ 12518, 373, 5827, 767, 2682, 1954, 329, 262, 717, 640, 14798, 257, 2563, 2884, 745, 14, 782, 6339, 1566, 8093, 1933, 2084, 30, 46506, 34092, 13, 9688, 4475, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12518, 373, 5827, 767, 2682, 1954, 329, 262, 717, 640, 14798, 257, 2563, 2884, 745, 14, 782, 6339, 1566, 8093, 1933, 2084, 30, 46506, 34092, 13, 9688, 4475, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, ...
What is the position of the player from the college of North Carolina with an overall less than 100?
SELECT "Position" FROM table_44164 WHERE "Overall" < '100' AND "College" = 'north carolina'
[ 2061, 318, 262, 2292, 286, 262, 2137, 422, 262, 4152, 286, 2258, 5913, 351, 281, 4045, 1342, 621, 1802, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 2598, 23237, 33411, 366, 16350, 1, 1279, 705, 3064, 6, 5357, 366, 38951, 1, 796, 705,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2292, 286, 262, 2137, 422, 262, 4152, 286, 2258, 5913, 351, 281, 4045, 1342, 621, 1802, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 2598, 23237, 33411, 366, 16350, 1, 1279, 705, 3064, 6, 5357, 366, 38951, 1, 796, 705,...
what is the least about of runs anyone has ?
SELECT MIN("runs") FROM table_204_154
[ 10919, 318, 262, 1551, 546, 286, 4539, 2687, 468, 5633, 46506, 20625, 7203, 48381, 4943, 16034, 3084, 62, 18638, 62, 21526 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 1551, 546, 286, 4539, 2687, 468, 5633, 46506, 20625, 7203, 48381, 4943, 16034, 3084, 62, 18638, 62, 21526 ]
top 100 POST LINKS for tag PHP order by VIEW.
SELECT Posts.Id AS "post_link", ViewCount, Score, FavoriteCount, AnswerCount, CommentCount, Tags, CreationDate FROM Posts INNER JOIN PostTags ON PostTags.PostId = Posts.Id INNER JOIN Tags ON PostTags.TagId = Tags.Id WHERE Tags.TagName = 'php' ORDER BY Posts.ViewCount DESC LIMIT 100
[ 4852, 1802, 24582, 34426, 50, 329, 7621, 19599, 1502, 416, 49880, 13, 46506, 12043, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 3582, 12332, 11, 15178, 11, 33992, 12332, 11, 23998, 12332, 11, 18957, 12332, 11, 44789, 11, 21582, 10430, 16...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4852, 1802, 24582, 34426, 50, 329, 7621, 19599, 1502, 416, 49880, 13, 46506, 12043, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 3582, 12332, 11, 15178, 11, 33992, 12332, 11, 23998, 12332, 11, 18957, 12332, 11, 44789, 11, 21582, 10430, 16...
Which Nationality has a Pick # smaller than 130 and a Player of tyler bunz? Question 1
SELECT "Nationality" FROM table_62149 WHERE "Pick #" < '130' AND "Player" = 'tyler bunz'
[ 13828, 2351, 414, 468, 257, 12346, 1303, 4833, 621, 11323, 290, 257, 7853, 286, 1259, 1754, 28773, 89, 30, 18233, 352, 46506, 366, 16186, 414, 1, 16034, 3084, 62, 5237, 19442, 33411, 366, 31686, 1303, 1, 1279, 705, 12952, 6, 5357, 366...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 2351, 414, 468, 257, 12346, 1303, 4833, 621, 11323, 290, 257, 7853, 286, 1259, 1754, 28773, 89, 30, 18233, 352, 46506, 366, 16186, 414, 1, 16034, 3084, 62, 5237, 19442, 33411, 366, 31686, 1303, 1, 1279, 705, 12952, 6, 5357, 366...
What is the score when the Tie no is replay, and the away team is York City?
SELECT "Score" FROM table_65347 WHERE "Tie no" = 'replay' AND "Away team" = 'york city'
[ 2061, 318, 262, 4776, 618, 262, 36286, 645, 318, 24788, 11, 290, 262, 1497, 1074, 318, 1971, 2254, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 2996, 30995, 33411, 366, 51, 494, 645, 1, 796, 705, 260, 1759, 6, 5357, 366, 32, 1014, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4776, 618, 262, 36286, 645, 318, 24788, 11, 290, 262, 1497, 1074, 318, 1971, 2254, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 2996, 30995, 33411, 366, 51, 494, 645, 1, 796, 705, 260, 1759, 6, 5357, 366, 32, 1014, 1...
Find the names of customers who never placed an order.
SELECT customer_name FROM customers EXCEPT SELECT t1.customer_name FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id = t2.customer_id
[ 16742, 262, 3891, 286, 4297, 508, 1239, 4624, 281, 1502, 13, 46506, 6491, 62, 3672, 16034, 4297, 7788, 42006, 33493, 256, 16, 13, 23144, 263, 62, 3672, 16034, 4297, 7054, 256, 16, 32357, 1268, 6491, 62, 6361, 7054, 256, 17, 6177, 256,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16742, 262, 3891, 286, 4297, 508, 1239, 4624, 281, 1502, 13, 46506, 6491, 62, 3672, 16034, 4297, 7788, 42006, 33493, 256, 16, 13, 23144, 263, 62, 3672, 16034, 4297, 7054, 256, 16, 32357, 1268, 6491, 62, 6361, 7054, 256, 17, 6177, 256,...
Did the legislation pass that had 42.87% yes votes?
SELECT "passed" FROM table_3361 WHERE "% YES" = '42.87%'
[ 11633, 262, 5520, 1208, 326, 550, 5433, 13, 5774, 4, 3763, 5690, 30, 46506, 366, 6603, 276, 1, 16034, 3084, 62, 2091, 5333, 33411, 36521, 21560, 1, 796, 705, 3682, 13, 5774, 4, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 11633, 262, 5520, 1208, 326, 550, 5433, 13, 5774, 4, 3763, 5690, 30, 46506, 366, 6603, 276, 1, 16034, 3084, 62, 2091, 5333, 33411, 36521, 21560, 1, 796, 705, 3682, 13, 5774, 4, 6 ]
Draw a bar chart for what are the department names and how many employees work in each of them?
SELECT DEPARTMENT_NAME, COUNT(*) FROM employees AS T1 JOIN departments AS T2 ON T1.DEPARTMENT_ID = T2.DEPARTMENT_ID GROUP BY DEPARTMENT_NAME
[ 25302, 257, 2318, 8262, 329, 644, 389, 262, 5011, 3891, 290, 703, 867, 4409, 670, 287, 1123, 286, 606, 30, 46506, 5550, 30709, 10979, 62, 20608, 11, 327, 28270, 7, 28104, 16034, 4409, 7054, 309, 16, 32357, 1268, 13346, 7054, 309, 17, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 25302, 257, 2318, 8262, 329, 644, 389, 262, 5011, 3891, 290, 703, 867, 4409, 670, 287, 1123, 286, 606, 30, 46506, 5550, 30709, 10979, 62, 20608, 11, 327, 28270, 7, 28104, 16034, 4409, 7054, 309, 16, 32357, 1268, 13346, 7054, 309, 17, ...
TAIL papers in NIPS
SELECT DISTINCT paper.paperid FROM keyphrase, paper, paperkeyphrase, venue WHERE keyphrase.keyphrasename = 'TAIL' AND paperkeyphrase.keyphraseid = keyphrase.keyphraseid AND paper.paperid = paperkeyphrase.paperid AND venue.venueid = paper.venueid AND venue.venuename = 'NIPS'
[ 5603, 4146, 9473, 287, 24947, 3705, 46506, 360, 8808, 1268, 4177, 3348, 13, 20189, 312, 16034, 1994, 34675, 11, 3348, 11, 3348, 2539, 34675, 11, 14359, 33411, 1994, 34675, 13, 2539, 746, 8847, 12453, 796, 705, 5603, 4146, 6, 5357, 3348,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 5603, 4146, 9473, 287, 24947, 3705, 46506, 360, 8808, 1268, 4177, 3348, 13, 20189, 312, 16034, 1994, 34675, 11, 3348, 11, 3348, 2539, 34675, 11, 14359, 33411, 1994, 34675, 13, 2539, 746, 8847, 12453, 796, 705, 5603, 4146, 6, 5357, 3348,...
Which Winner and score has a Finalist of aaron krickstein?
SELECT winner_and_score FROM table_name_70 WHERE finalist = "aaron krickstein"
[ 13828, 25358, 290, 4776, 468, 257, 8125, 396, 286, 257, 8045, 479, 5557, 5714, 30, 46506, 8464, 62, 392, 62, 26675, 16034, 3084, 62, 3672, 62, 2154, 33411, 2457, 396, 796, 366, 64, 8045, 479, 5557, 5714, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 25358, 290, 4776, 468, 257, 8125, 396, 286, 257, 8045, 479, 5557, 5714, 30, 46506, 8464, 62, 392, 62, 26675, 16034, 3084, 62, 3672, 62, 2154, 33411, 2457, 396, 796, 366, 64, 8045, 479, 5557, 5714, 1 ]
What is the final score when 22210 is the attendance?
SELECT final_score FROM table_23612439_2 WHERE attendance = 22210
[ 2061, 318, 262, 2457, 4776, 618, 27795, 940, 318, 262, 14858, 30, 46506, 2457, 62, 26675, 16034, 3084, 62, 24940, 17464, 2670, 62, 17, 33411, 14858, 796, 27795, 940 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2457, 4776, 618, 27795, 940, 318, 262, 14858, 30, 46506, 2457, 62, 26675, 16034, 3084, 62, 24940, 17464, 2670, 62, 17, 33411, 14858, 796, 27795, 940 ]
In 1990-2005 what is the lowest Start with Convs smaller than 2?
SELECT MIN("Start") FROM table_33175 WHERE "Span" = '1990-2005' AND "Conv" < '2'
[ 818, 6303, 12, 14315, 644, 318, 262, 9016, 7253, 351, 1482, 14259, 4833, 621, 362, 30, 46506, 20625, 7203, 10434, 4943, 16034, 3084, 62, 2091, 17430, 33411, 366, 4561, 272, 1, 796, 705, 19891, 12, 14315, 6, 5357, 366, 3103, 85, 1, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 818, 6303, 12, 14315, 644, 318, 262, 9016, 7253, 351, 1482, 14259, 4833, 621, 362, 30, 46506, 20625, 7203, 10434, 4943, 16034, 3084, 62, 2091, 17430, 33411, 366, 4561, 272, 1, 796, 705, 19891, 12, 14315, 6, 5357, 366, 3103, 85, 1, 1...
Name the vcore for multi 11x
SELECT "V Core" FROM table_29398 WHERE "Mult. 1" = '11x'
[ 5376, 262, 410, 7295, 329, 5021, 1367, 87, 46506, 366, 53, 7231, 1, 16034, 3084, 62, 1959, 31952, 33411, 366, 15205, 13, 352, 1, 796, 705, 1157, 87, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 410, 7295, 329, 5021, 1367, 87, 46506, 366, 53, 7231, 1, 16034, 3084, 62, 1959, 31952, 33411, 366, 15205, 13, 352, 1, 796, 705, 1157, 87, 6 ]
Who won silver in the year before 2010, the year Chan Ming Shu won gold?
SELECT "Silver" FROM table_35281 WHERE "Year" < '2010' AND "Gold" = 'chan ming shu'
[ 8241, 1839, 8465, 287, 262, 614, 878, 3050, 11, 262, 614, 18704, 26980, 32344, 1839, 3869, 30, 46506, 366, 26766, 1, 16034, 3084, 62, 2327, 30368, 33411, 366, 17688, 1, 1279, 705, 10333, 6, 5357, 366, 13306, 1, 796, 705, 3147, 42434, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 1839, 8465, 287, 262, 614, 878, 3050, 11, 262, 614, 18704, 26980, 32344, 1839, 3869, 30, 46506, 366, 26766, 1, 16034, 3084, 62, 2327, 30368, 33411, 366, 17688, 1, 1279, 705, 10333, 6, 5357, 366, 13306, 1, 796, 705, 3147, 42434, ...
What was the Score of the Semifinal 1?
SELECT "Score" FROM table_49403 WHERE "Round" = 'semifinal 1'
[ 2061, 373, 262, 15178, 286, 262, 12449, 361, 1292, 352, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 2920, 31552, 33411, 366, 22685, 1, 796, 705, 43616, 361, 1292, 352, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 15178, 286, 262, 12449, 361, 1292, 352, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 2920, 31552, 33411, 366, 22685, 1, 796, 705, 43616, 361, 1292, 352, 6 ]
Give me a bar chart for the average of salary of each hire date
SELECT HIRE_DATE, AVG(SALARY) FROM employees
[ 23318, 502, 257, 2318, 8262, 329, 262, 2811, 286, 9588, 286, 1123, 11078, 3128, 46506, 36210, 2200, 62, 35, 6158, 11, 35224, 7, 50, 1847, 13153, 8, 16034, 4409 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 23318, 502, 257, 2318, 8262, 329, 262, 2811, 286, 9588, 286, 1123, 11078, 3128, 46506, 36210, 2200, 62, 35, 6158, 11, 35224, 7, 50, 1847, 13153, 8, 16034, 4409 ]
When was the build date for ff20 PRR class and erie built builder's model?
SELECT build_date FROM table_name_14 WHERE prr_class = "ff20" AND builder’s_model = "erie built"
[ 2215, 373, 262, 1382, 3128, 329, 31246, 1238, 4810, 49, 1398, 290, 1931, 494, 3170, 27098, 338, 2746, 30, 46506, 1382, 62, 4475, 16034, 3084, 62, 3672, 62, 1415, 33411, 778, 81, 62, 4871, 796, 366, 487, 1238, 1, 5357, 27098, 447, 24...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 373, 262, 1382, 3128, 329, 31246, 1238, 4810, 49, 1398, 290, 1931, 494, 3170, 27098, 338, 2746, 30, 46506, 1382, 62, 4475, 16034, 3084, 62, 3672, 62, 1415, 33411, 778, 81, 62, 4871, 796, 366, 487, 1238, 1, 5357, 27098, 447, 24...
What is the time/s of team Triumph in those races in which Triumph ranked higher than 4?
SELECT time FROM table_name_44 WHERE team = "triumph" AND rank < 4
[ 2061, 318, 262, 640, 14, 82, 286, 1074, 41337, 287, 883, 9558, 287, 543, 41337, 10307, 2440, 621, 604, 30, 46506, 640, 16034, 3084, 62, 3672, 62, 2598, 33411, 1074, 796, 366, 28461, 12875, 1, 5357, 4279, 1279, 604 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 640, 14, 82, 286, 1074, 41337, 287, 883, 9558, 287, 543, 41337, 10307, 2440, 621, 604, 30, 46506, 640, 16034, 3084, 62, 3672, 62, 2598, 33411, 1074, 796, 366, 28461, 12875, 1, 5357, 4279, 1279, 604 ]
What are the alternative name/s of those satellites whose nssdc id number is 1970-054a?
SELECT alt_name FROM table_191323_2 WHERE nssdc_id_no = "1970-054A"
[ 2061, 389, 262, 5559, 1438, 14, 82, 286, 883, 20372, 3025, 299, 824, 17896, 4686, 1271, 318, 8069, 12, 2713, 19, 64, 30, 46506, 5988, 62, 3672, 16034, 3084, 62, 1129, 1485, 1954, 62, 17, 33411, 299, 824, 17896, 62, 312, 62, 3919, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 262, 5559, 1438, 14, 82, 286, 883, 20372, 3025, 299, 824, 17896, 4686, 1271, 318, 8069, 12, 2713, 19, 64, 30, 46506, 5988, 62, 3672, 16034, 3084, 62, 1129, 1485, 1954, 62, 17, 33411, 299, 824, 17896, 62, 312, 62, 3919, ...
Are there any prerequisites courses to take before ANTHRCUL 342 ?
SELECT DISTINCT COURSE_0.department, COURSE_0.name, COURSE_0.number FROM course AS COURSE_0, course AS COURSE_1, course_prerequisite WHERE COURSE_0.course_id = course_prerequisite.pre_course_id AND NOT COURSE_0.course_id IN (SELECT STUDENT_RECORDalias0.course_id FROM student_record AS STUDENT_RECORDalias0 WHERE STUDENT...
[ 8491, 612, 597, 662, 34075, 10902, 284, 1011, 878, 3537, 4221, 7397, 6239, 44341, 5633, 46506, 360, 8808, 1268, 4177, 37384, 5188, 62, 15, 13, 10378, 1823, 11, 37384, 5188, 62, 15, 13, 3672, 11, 37384, 5188, 62, 15, 13, 17618, 16034, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 8491, 612, 597, 662, 34075, 10902, 284, 1011, 878, 3537, 4221, 7397, 6239, 44341, 5633, 46506, 360, 8808, 1268, 4177, 37384, 5188, 62, 15, 13, 10378, 1823, 11, 37384, 5188, 62, 15, 13, 3672, 11, 37384, 5188, 62, 15, 13, 17618, 16034, ...
What was the final score of the game against shingo kunieda maikel scheffers when robin ammerlaan was Ronald Vink's partner?
SELECT score_in_final FROM table_name_86 WHERE partnering = "robin ammerlaan" AND opponents_in_final = "shingo kunieda maikel scheffers"
[ 2061, 373, 262, 2457, 4776, 286, 262, 983, 1028, 427, 32735, 479, 403, 798, 64, 17266, 522, 75, 3897, 487, 364, 618, 3857, 259, 716, 647, 5031, 272, 373, 14430, 569, 676, 338, 5212, 30, 46506, 4776, 62, 259, 62, 20311, 16034, 3084, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 373, 262, 2457, 4776, 286, 262, 983, 1028, 427, 32735, 479, 403, 798, 64, 17266, 522, 75, 3897, 487, 364, 618, 3857, 259, 716, 647, 5031, 272, 373, 14430, 569, 676, 338, 5212, 30, 46506, 4776, 62, 259, 62, 20311, 16034, 3084, ...
how many programs are there?
SELECT COUNT(*) FROM program
[ 4919, 867, 4056, 389, 612, 30, 46506, 327, 28270, 7, 28104, 16034, 1430 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 4056, 389, 612, 30, 46506, 327, 28270, 7, 28104, 16034, 1430 ]
allergic to milk or soy
SELECT * FROM table_train_98 WHERE allergy_to_milk = 1 OR allergy_to_soy = 1
[ 439, 19793, 284, 7545, 393, 17797, 46506, 1635, 16034, 3084, 62, 27432, 62, 4089, 33411, 36197, 62, 1462, 62, 25433, 74, 796, 352, 6375, 36197, 62, 1462, 62, 568, 88, 796, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 439, 19793, 284, 7545, 393, 17797, 46506, 1635, 16034, 3084, 62, 27432, 62, 4089, 33411, 36197, 62, 1462, 62, 25433, 74, 796, 352, 6375, 36197, 62, 1462, 62, 568, 88, 796, 352 ]
Show the number of documents for each receipt date and bin by year with a line chart, show in asc by the receipt_date.
SELECT receipt_date, COUNT(receipt_date) FROM Documents ORDER BY receipt_date
[ 15307, 262, 1271, 286, 4963, 329, 1123, 14507, 3128, 290, 9874, 416, 614, 351, 257, 1627, 8262, 11, 905, 287, 10570, 416, 262, 14507, 62, 4475, 13, 46506, 14507, 62, 4475, 11, 327, 28270, 7, 260, 344, 10257, 62, 4475, 8, 16034, 3326...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 262, 1271, 286, 4963, 329, 1123, 14507, 3128, 290, 9874, 416, 614, 351, 257, 1627, 8262, 11, 905, 287, 10570, 416, 262, 14507, 62, 4475, 13, 46506, 14507, 62, 4475, 11, 327, 28270, 7, 260, 344, 10257, 62, 4475, 8, 16034, 3326...
What is the total attendance of the game with Toronto as the visitor team?
SELECT COUNT("Attendance") FROM table_11526 WHERE "Visitor" = 'toronto'
[ 2061, 318, 262, 2472, 14858, 286, 262, 983, 351, 6586, 355, 262, 21493, 1074, 30, 46506, 327, 28270, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 15363, 2075, 33411, 366, 15854, 2072, 1, 796, 705, 13165, 5957, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2472, 14858, 286, 262, 983, 351, 6586, 355, 262, 21493, 1074, 30, 46506, 327, 28270, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 15363, 2075, 33411, 366, 15854, 2072, 1, 796, 705, 13165, 5957, 6 ]
What is the number in the season of the episode with a production code of 2-05?
SELECT COUNT("No. in season") FROM table_26107 WHERE "Prod. Code" = '2-05'
[ 2061, 318, 262, 1271, 287, 262, 1622, 286, 262, 4471, 351, 257, 3227, 2438, 286, 362, 12, 2713, 30, 46506, 327, 28270, 7203, 2949, 13, 287, 1622, 4943, 16034, 3084, 62, 2075, 15982, 33411, 366, 2964, 67, 13, 6127, 1, 796, 705, 17, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1271, 287, 262, 1622, 286, 262, 4471, 351, 257, 3227, 2438, 286, 362, 12, 2713, 30, 46506, 327, 28270, 7203, 2949, 13, 287, 1622, 4943, 16034, 3084, 62, 2075, 15982, 33411, 366, 2964, 67, 13, 6127, 1, 796, 705, 17, ...
What day were credentials presented for vermont?
SELECT "Credentials Presented" FROM table_75682 WHERE "State" = 'vermont'
[ 2061, 1110, 547, 18031, 5545, 329, 3326, 8691, 30, 46506, 366, 34, 445, 14817, 1763, 4714, 1, 16034, 3084, 62, 2425, 43950, 33411, 366, 9012, 1, 796, 705, 332, 8691, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1110, 547, 18031, 5545, 329, 3326, 8691, 30, 46506, 366, 34, 445, 14817, 1763, 4714, 1, 16034, 3084, 62, 2425, 43950, 33411, 366, 9012, 1, 796, 705, 332, 8691, 6 ]
until 5 months ago, how much terazosin has been prescribed to patient 64538 in total?
SELECT SUM(prescriptions.dose_val_rx) FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 64538) AND prescriptions.drug = 'terazosin' AND DATETIME(prescriptions.startdate) <= DATETIME(CURRENT_TIME(), '-5 month')
[ 28446, 642, 1933, 2084, 11, 703, 881, 1059, 1031, 418, 259, 468, 587, 14798, 284, 5827, 718, 2231, 2548, 287, 2472, 30, 46506, 35683, 7, 18302, 24370, 13, 34436, 62, 2100, 62, 40914, 8, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 28446, 642, 1933, 2084, 11, 703, 881, 1059, 1031, 418, 259, 468, 587, 14798, 284, 5827, 718, 2231, 2548, 287, 2472, 30, 46506, 35683, 7, 18302, 24370, 13, 34436, 62, 2100, 62, 40914, 8, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, ...
WHAT IS THE STROKE COUNT WITH RADICAL OF , FRQUENCY SMALLER THAN 22?
SELECT COUNT(stroke_count) FROM table_name_57 WHERE radical__variants_ = "生" AND frequency < 22
[ 32971, 3180, 3336, 3563, 13252, 7336, 327, 28270, 13315, 33540, 20151, 3963, 837, 8782, 10917, 45155, 9447, 7036, 1137, 2320, 1565, 2534, 30, 46506, 327, 28270, 7, 30757, 62, 9127, 8, 16034, 3084, 62, 3672, 62, 3553, 33411, 7702, 834, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 32971, 3180, 3336, 3563, 13252, 7336, 327, 28270, 13315, 33540, 20151, 3963, 837, 8782, 10917, 45155, 9447, 7036, 1137, 2320, 1565, 2534, 30, 46506, 327, 28270, 7, 30757, 62, 9127, 8, 16034, 3084, 62, 3672, 62, 3553, 33411, 7702, 834, 2...
what are the flights from BOSTON to SAN FRANCISCO
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'BOSTON' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SAN FRA...
[ 10919, 389, 262, 13956, 422, 347, 10892, 1340, 284, 37376, 8782, 20940, 37719, 14058, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 705...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 389, 262, 13956, 422, 347, 10892, 1340, 284, 37376, 8782, 20940, 37719, 14058, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 705...
On what Date was The Open Championship in Japan?
SELECT "Date" FROM table_5154 WHERE "Major" = 'the open championship' AND "Country" = 'japan'
[ 2202, 644, 7536, 373, 383, 4946, 10749, 287, 2869, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 20, 21526, 33411, 366, 24206, 1, 796, 705, 1169, 1280, 12184, 6, 5357, 366, 33921, 1, 796, 705, 73, 2674, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2202, 644, 7536, 373, 383, 4946, 10749, 287, 2869, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 20, 21526, 33411, 366, 24206, 1, 796, 705, 1169, 1280, 12184, 6, 5357, 366, 33921, 1, 796, 705, 73, 2674, 6 ]
What is the built data on the scrapped information that is cannot handle non-empty timestamp argument! 1947?
SELECT "Built" FROM table_17423 WHERE "Scrapped/Sold" = 'Cannot handle non-empty timestamp argument! 1947'
[ 2061, 318, 262, 3170, 1366, 319, 262, 35034, 1321, 326, 318, 2314, 5412, 1729, 12, 28920, 41033, 4578, 0, 21709, 30, 46506, 366, 39582, 1, 16034, 3084, 62, 22985, 1954, 33411, 366, 3351, 430, 1496, 14, 33873, 1, 796, 705, 34, 34574, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 3170, 1366, 319, 262, 35034, 1321, 326, 318, 2314, 5412, 1729, 12, 28920, 41033, 4578, 0, 21709, 30, 46506, 366, 39582, 1, 16034, 3084, 62, 22985, 1954, 33411, 366, 3351, 430, 1496, 14, 33873, 1, 796, 705, 34, 34574, ...
Which city has an ICAO of Kiah?
SELECT "City" FROM table_68837 WHERE "ICAO" = 'kiah'
[ 13828, 1748, 468, 281, 314, 8141, 46, 286, 509, 9520, 30, 46506, 366, 14941, 1, 16034, 3084, 62, 34427, 2718, 33411, 366, 25241, 46, 1, 796, 705, 74, 9520, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 1748, 468, 281, 314, 8141, 46, 286, 509, 9520, 30, 46506, 366, 14941, 1, 16034, 3084, 62, 34427, 2718, 33411, 366, 25241, 46, 1, 796, 705, 74, 9520, 6 ]
What is listed under L when the stolen ends is 1?
SELECT l FROM table_29565858_2 WHERE stolen_ends = 1
[ 2061, 318, 5610, 739, 406, 618, 262, 9909, 5645, 318, 352, 30, 46506, 300, 16034, 3084, 62, 25710, 38431, 3365, 62, 17, 33411, 9909, 62, 2412, 796, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 5610, 739, 406, 618, 262, 9909, 5645, 318, 352, 30, 46506, 300, 16034, 3084, 62, 25710, 38431, 3365, 62, 17, 33411, 9909, 62, 2412, 796, 352 ]
how many of these congressmen were re elected ?
SELECT COUNT("incumbent") FROM table_203_615 WHERE "result" = 're-elected'
[ 4919, 867, 286, 777, 8681, 3653, 547, 302, 7018, 5633, 46506, 327, 28270, 7203, 1939, 2178, 298, 4943, 16034, 3084, 62, 22416, 62, 47007, 33411, 366, 20274, 1, 796, 705, 260, 12, 28604, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 286, 777, 8681, 3653, 547, 302, 7018, 5633, 46506, 327, 28270, 7203, 1939, 2178, 298, 4943, 16034, 3084, 62, 22416, 62, 47007, 33411, 366, 20274, 1, 796, 705, 260, 12, 28604, 6 ]
When there are 12.70 million u.s. viewers who is the director?
SELECT "Directed by" FROM table_1702 WHERE "U.S. viewers (million)" = '12.70'
[ 2215, 612, 389, 1105, 13, 2154, 1510, 334, 13, 82, 13, 10209, 508, 318, 262, 3437, 30, 46506, 366, 13470, 276, 416, 1, 16034, 3084, 62, 1558, 2999, 33411, 366, 52, 13, 50, 13, 10209, 357, 14100, 16725, 796, 705, 1065, 13, 2154, 6 ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 612, 389, 1105, 13, 2154, 1510, 334, 13, 82, 13, 10209, 508, 318, 262, 3437, 30, 46506, 366, 13470, 276, 416, 1, 16034, 3084, 62, 1558, 2999, 33411, 366, 52, 13, 50, 13, 10209, 357, 14100, 16725, 796, 705, 1065, 13, 2154, 6 ...
what is the maximum age of patients who are discharged to home health care and primarily diagnosed with left femur fracture?
SELECT MAX(demographic.age) FROM demographic WHERE demographic.discharge_location = "HOME HEALTH CARE" AND demographic.diagnosis = "LEFT FEMUR FRACTURE"
[ 10919, 318, 262, 5415, 2479, 286, 3871, 508, 389, 26476, 284, 1363, 1535, 1337, 290, 7525, 14641, 351, 1364, 2796, 333, 31846, 30, 46506, 25882, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 6381, 10136, 62, 24886, 796, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 5415, 2479, 286, 3871, 508, 389, 26476, 284, 1363, 1535, 1337, 290, 7525, 14641, 351, 1364, 2796, 333, 31846, 30, 46506, 25882, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 6381, 10136, 62, 24886, 796, 3...
When Symbian/Series 40 is 0.40%, what is the percentage of 'other'?
SELECT "Other" FROM table_16678 WHERE "Symbian / Series 40" = '0.40%'
[ 2215, 41327, 666, 14, 27996, 2319, 318, 657, 13, 1821, 7441, 644, 318, 262, 5873, 286, 705, 847, 30960, 46506, 366, 6395, 1, 16034, 3084, 62, 1433, 30924, 33411, 366, 13940, 2022, 666, 1220, 7171, 2319, 1, 796, 705, 15, 13, 1821, 4,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 41327, 666, 14, 27996, 2319, 318, 657, 13, 1821, 7441, 644, 318, 262, 5873, 286, 705, 847, 30960, 46506, 366, 6395, 1, 16034, 3084, 62, 1433, 30924, 33411, 366, 13940, 2022, 666, 1220, 7171, 2319, 1, 796, 705, 15, 13, 1821, 4,...
what was the drug patient 013-15869 had been prescribed in 02/last year two times.
SELECT t1.drugname FROM (SELECT medication.drugname, COUNT(medication.drugstarttime) AS c1 FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '013...
[ 10919, 373, 262, 2563, 5827, 5534, 18, 12, 21273, 3388, 550, 587, 14798, 287, 7816, 14, 12957, 614, 734, 1661, 13, 46506, 256, 16, 13, 30349, 3672, 16034, 357, 46506, 14103, 13, 30349, 3672, 11, 327, 28270, 7, 1150, 3299, 13, 30349, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 373, 262, 2563, 5827, 5534, 18, 12, 21273, 3388, 550, 587, 14798, 287, 7816, 14, 12957, 614, 734, 1661, 13, 46506, 256, 16, 13, 30349, 3672, 16034, 357, 46506, 14103, 13, 30349, 3672, 11, 327, 28270, 7, 1150, 3299, 13, 30349, ...
What is the lowest goal difference of club real betis, who has less than 18 wins?
SELECT MIN("Goal Difference") FROM table_62140 WHERE "Club" = 'real betis' AND "Wins" < '18'
[ 2061, 318, 262, 9016, 3061, 3580, 286, 3430, 1103, 731, 271, 11, 508, 468, 1342, 621, 1248, 7864, 30, 46506, 20625, 7203, 49045, 43795, 4943, 16034, 3084, 62, 5237, 15187, 33411, 366, 42350, 1, 796, 705, 5305, 731, 271, 6, 5357, 366, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 9016, 3061, 3580, 286, 3430, 1103, 731, 271, 11, 508, 468, 1342, 621, 1248, 7864, 30, 46506, 20625, 7203, 49045, 43795, 4943, 16034, 3084, 62, 5237, 15187, 33411, 366, 42350, 1, 796, 705, 5305, 731, 271, 6, 5357, 366, ...
Find the maximum and average capacity among rooms in each building.
SELECT MAX(capacity), AVG(capacity), building FROM classroom GROUP BY building
[ 16742, 262, 5415, 290, 2811, 5339, 1871, 9519, 287, 1123, 2615, 13, 46506, 25882, 7, 42404, 828, 35224, 7, 42404, 828, 2615, 16034, 15806, 44441, 11050, 2615 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16742, 262, 5415, 290, 2811, 5339, 1871, 9519, 287, 1123, 2615, 13, 46506, 25882, 7, 42404, 828, 35224, 7, 42404, 828, 2615, 16034, 15806, 44441, 11050, 2615 ]
What is the total Points for the Opponent of @ New Jersey Devils and a Game bigger than 7?
SELECT SUM("Points") FROM table_5577 WHERE "Opponent" = '@ new jersey devils' AND "Game" > '7'
[ 2061, 318, 262, 2472, 11045, 329, 262, 9385, 3471, 286, 2488, 968, 8221, 26199, 290, 257, 3776, 5749, 621, 767, 30, 46506, 35683, 7203, 40710, 4943, 16034, 3084, 62, 2816, 3324, 33411, 366, 27524, 3471, 1, 796, 705, 31, 649, 22383, 42...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2472, 11045, 329, 262, 9385, 3471, 286, 2488, 968, 8221, 26199, 290, 257, 3776, 5749, 621, 767, 30, 46506, 35683, 7203, 40710, 4943, 16034, 3084, 62, 2816, 3324, 33411, 366, 27524, 3471, 1, 796, 705, 31, 649, 22383, 42...
What event had Wang Bingyu for the skip?
SELECT event FROM table_name_14 WHERE skip = "wang bingyu"
[ 2061, 1785, 550, 15233, 21631, 24767, 329, 262, 14267, 30, 46506, 1785, 16034, 3084, 62, 3672, 62, 1415, 33411, 14267, 796, 366, 47562, 275, 278, 24767, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1785, 550, 15233, 21631, 24767, 329, 262, 14267, 30, 46506, 1785, 16034, 3084, 62, 3672, 62, 1415, 33411, 14267, 796, 366, 47562, 275, 278, 24767, 1 ]
What is the Score that has a To standard of 3, and a Player of Jim Furyk?
SELECT "Score" FROM table_8459 WHERE "To par" = '–3' AND "Player" = 'jim furyk'
[ 2061, 318, 262, 15178, 326, 468, 257, 1675, 3210, 286, 513, 11, 290, 257, 7853, 286, 5395, 18427, 74, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 23, 33459, 33411, 366, 2514, 1582, 1, 796, 705, 1906, 18, 6, 5357, 366, 14140, 1, 796...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 15178, 326, 468, 257, 1675, 3210, 286, 513, 11, 290, 257, 7853, 286, 5395, 18427, 74, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 23, 33459, 33411, 366, 2514, 1582, 1, 796, 705, 1906, 18, 6, 5357, 366, 14140, 1, 796...
must be 18 years or older
SELECT * FROM table_train_36 WHERE age >= 18
[ 27238, 307, 1248, 812, 393, 4697, 46506, 1635, 16034, 3084, 62, 27432, 62, 2623, 33411, 2479, 18189, 1248 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 27238, 307, 1248, 812, 393, 4697, 46506, 1635, 16034, 3084, 62, 27432, 62, 2623, 33411, 2479, 18189, 1248 ]
What is Games, when Points is less than 340, and when Rank is greater than 3?
SELECT games FROM table_name_89 WHERE points < 340 AND rank > 3
[ 2061, 318, 5776, 11, 618, 11045, 318, 1342, 621, 28560, 11, 290, 618, 10916, 318, 3744, 621, 513, 30, 46506, 1830, 16034, 3084, 62, 3672, 62, 4531, 33411, 2173, 1279, 28560, 5357, 4279, 1875, 513 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 5776, 11, 618, 11045, 318, 1342, 621, 28560, 11, 290, 618, 10916, 318, 3744, 621, 513, 30, 46506, 1830, 16034, 3084, 62, 3672, 62, 4531, 33411, 2173, 1279, 28560, 5357, 4279, 1875, 513 ]
what were the four most commonly ordered microbiology tests for patients who had previously received insulin - sliding scale administration in the same hospital visit until 2101?
SELECT t3.culturesite FROM (SELECT t2.culturesite, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, treatment.treatmenttime, patient.patienthealthsystemstayid FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'insulin -...
[ 10919, 547, 262, 1440, 749, 8811, 6149, 24559, 1435, 5254, 329, 3871, 508, 550, 4271, 2722, 14588, 532, 22292, 5046, 3662, 287, 262, 976, 4436, 3187, 1566, 2310, 486, 30, 46506, 256, 18, 13, 40820, 942, 578, 16034, 357, 46506, 256, 17...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 547, 262, 1440, 749, 8811, 6149, 24559, 1435, 5254, 329, 3871, 508, 550, 4271, 2722, 14588, 532, 22292, 5046, 3662, 287, 262, 976, 4436, 3187, 1566, 2310, 486, 30, 46506, 256, 18, 13, 40820, 942, 578, 16034, 357, 46506, 256, 17...
What is the lowest Date, when Doubles, II Class is 18, and when Total is less than 164?
SELECT MIN("Date") FROM table_40516 WHERE "Doubles, II Class" = '18' AND "Total" < '164'
[ 2061, 318, 262, 9016, 7536, 11, 618, 5728, 7689, 11, 2873, 5016, 318, 1248, 11, 290, 618, 7472, 318, 1342, 621, 25307, 30, 46506, 20625, 7203, 10430, 4943, 16034, 3084, 62, 26598, 1433, 33411, 366, 40287, 7689, 11, 2873, 5016, 1, 796,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 9016, 7536, 11, 618, 5728, 7689, 11, 2873, 5016, 318, 1248, 11, 290, 618, 7472, 318, 1342, 621, 25307, 30, 46506, 20625, 7203, 10430, 4943, 16034, 3084, 62, 26598, 1433, 33411, 366, 40287, 7689, 11, 2873, 5016, 1, 796,...
who is the semi-finalist #1 where runner-up is elon university
SELECT semi_finalist__number1 FROM table_11214772_1 WHERE runner_up = "Elon University"
[ 8727, 318, 262, 10663, 12, 20311, 396, 1303, 16, 810, 17490, 12, 929, 318, 1288, 261, 6403, 46506, 10663, 62, 20311, 396, 834, 17618, 16, 16034, 3084, 62, 14686, 1415, 43571, 62, 16, 33411, 17490, 62, 929, 796, 366, 9527, 261, 2059, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8727, 318, 262, 10663, 12, 20311, 396, 1303, 16, 810, 17490, 12, 929, 318, 1288, 261, 6403, 46506, 10663, 62, 20311, 396, 834, 17618, 16, 16034, 3084, 62, 14686, 1415, 43571, 62, 16, 33411, 17490, 62, 929, 796, 366, 9527, 261, 2059, ...
What was the score at the end of the match number 4?
SELECT score FROM table_19072602_1 WHERE match_no = 4
[ 2061, 373, 262, 4776, 379, 262, 886, 286, 262, 2872, 1271, 604, 30, 46506, 4776, 16034, 3084, 62, 1129, 2998, 21719, 17, 62, 16, 33411, 2872, 62, 3919, 796, 604 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 4776, 379, 262, 886, 286, 262, 2872, 1271, 604, 30, 46506, 4776, 16034, 3084, 62, 1129, 2998, 21719, 17, 62, 16, 33411, 2872, 62, 3919, 796, 604 ]
What's the party elected in the district that first elected in 1990?
SELECT party FROM table_1341453_34 WHERE first_elected = "1990"
[ 2061, 338, 262, 2151, 7018, 287, 262, 4783, 326, 717, 7018, 287, 6303, 30, 46506, 2151, 16034, 3084, 62, 19880, 1415, 4310, 62, 2682, 33411, 717, 62, 28604, 796, 366, 19891, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 338, 262, 2151, 7018, 287, 262, 4783, 326, 717, 7018, 287, 6303, 30, 46506, 2151, 16034, 3084, 62, 19880, 1415, 4310, 62, 2682, 33411, 717, 62, 28604, 796, 366, 19891, 1 ]
what's the first elected with opponent being ralph regula (r) 75.0% j. michael finn (d) 25.0%
SELECT first_elected FROM table_1341522_38 WHERE opponent = "Ralph Regula (R) 75.0% J. Michael Finn (D) 25.0%"
[ 10919, 338, 262, 717, 7018, 351, 6125, 852, 374, 17307, 3475, 64, 357, 81, 8, 5441, 13, 15, 4, 474, 13, 285, 40302, 957, 77, 357, 67, 8, 1679, 13, 15, 4, 46506, 717, 62, 28604, 16034, 3084, 62, 19880, 1314, 1828, 62, 2548, 33411...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 338, 262, 717, 7018, 351, 6125, 852, 374, 17307, 3475, 64, 357, 81, 8, 5441, 13, 15, 4, 474, 13, 285, 40302, 957, 77, 357, 67, 8, 1679, 13, 15, 4, 46506, 717, 62, 28604, 16034, 3084, 62, 19880, 1314, 1828, 62, 2548, 33411...
What was the To par of the golfer that placed t5?
SELECT "To par" FROM table_78559 WHERE "Place" = 't5'
[ 2061, 373, 262, 1675, 1582, 286, 262, 43791, 2232, 326, 4624, 256, 20, 30, 46506, 366, 2514, 1582, 1, 16034, 3084, 62, 3695, 38605, 33411, 366, 27271, 1, 796, 705, 83, 20, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 1675, 1582, 286, 262, 43791, 2232, 326, 4624, 256, 20, 30, 46506, 366, 2514, 1582, 1, 16034, 3084, 62, 3695, 38605, 33411, 366, 27271, 1, 796, 705, 83, 20, 6 ]
What's the location attendance of the @ portland team?
SELECT location_attendance FROM table_27734286_1 WHERE team = "@ Portland"
[ 2061, 338, 262, 4067, 14858, 286, 262, 2488, 2493, 1044, 1074, 30, 46506, 4067, 62, 1078, 437, 590, 16034, 3084, 62, 27019, 2682, 27033, 62, 16, 33411, 1074, 796, 44212, 10727, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 338, 262, 4067, 14858, 286, 262, 2488, 2493, 1044, 1074, 30, 46506, 4067, 62, 1078, 437, 590, 16034, 3084, 62, 27019, 2682, 27033, 62, 16, 33411, 1074, 796, 44212, 10727, 1 ]
What is the relationship between accout id and account name for all accounts by the customer with first name 'Meaghan'? Return a scatter chart.
SELECT account_id, account_name FROM Accounts AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id WHERE T2.customer_first_name = 'Meaghan'
[ 2061, 318, 262, 2776, 1022, 697, 448, 4686, 290, 1848, 1438, 329, 477, 5504, 416, 262, 6491, 351, 717, 1438, 705, 5308, 45109, 30960, 8229, 257, 41058, 8262, 13, 46506, 1848, 62, 312, 11, 1848, 62, 3672, 16034, 35584, 7054, 309, 16, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 318, 262, 2776, 1022, 697, 448, 4686, 290, 1848, 1438, 329, 477, 5504, 416, 262, 6491, 351, 717, 1438, 705, 5308, 45109, 30960, 8229, 257, 41058, 8262, 13, 46506, 1848, 62, 312, 11, 1848, 62, 3672, 16034, 35584, 7054, 309, 16, ...