instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
provide the number of patients who were diagnosed with cardiogenic shock.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE diagnoses.long_title = "Cardiogenic shock"
[ 15234, 485, 262, 1271, 286, 3871, 508, 547, 14641, 351, 2657, 72, 15147, 6380, 13, 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, 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 ]
[ 15234, 485, 262, 1271, 286, 3871, 508, 547, 14641, 351, 2657, 72, 15147, 6380, 13, 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, 62...
what is the number of patients whose ethnicity is black/african american and lab test name is cd4/cd8 ratio?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.ethnicity = "BLACK/AFRICAN AMERICAN" AND lab.label = "CD4/CD8 Ratio"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 26289, 318, 2042, 14, 1878, 37189, 45630, 272, 290, 2248, 1332, 1438, 318, 22927, 19, 14, 10210, 23, 8064, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 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...
[ 10919, 318, 262, 1271, 286, 3871, 3025, 26289, 318, 2042, 14, 1878, 37189, 45630, 272, 290, 2248, 1332, 1438, 318, 22927, 19, 14, 10210, 23, 8064, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, ...
What are the names of the activities Mark Giuliano is involved in
SELECT T3.activity_name FROM faculty AS T1 JOIN faculty_participates_in AS T2 ON T1.facid = T2.facid JOIN activity AS T3 ON T3.actid = T2.actid WHERE T1.fname = "Mark" AND T1.lname = "Giuliano"
[ 2061, 389, 262, 3891, 286, 262, 4568, 2940, 35267, 10115, 318, 2950, 287, 46506, 309, 18, 13, 21797, 62, 3672, 16034, 12829, 7054, 309, 16, 32357, 1268, 12829, 62, 48013, 689, 62, 259, 7054, 309, 17, 6177, 309, 16, 13, 38942, 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...
[ 2061, 389, 262, 3891, 286, 262, 4568, 2940, 35267, 10115, 318, 2950, 287, 46506, 309, 18, 13, 21797, 62, 3672, 16034, 12829, 7054, 309, 16, 32357, 1268, 12829, 62, 48013, 689, 62, 259, 7054, 309, 17, 6177, 309, 16, 13, 38942, 312, 7...
How many bends occur when the yellow jersey is Lance Armstrong and stage winner is Lance Armstrong?
SELECT COUNT("Bend") FROM table_3790 WHERE "Yellow jersey" = 'Lance Armstrong' AND "Stage winner" = 'Lance Armstrong'
[ 2437, 867, 44370, 3051, 618, 262, 7872, 22383, 318, 18990, 21166, 290, 3800, 8464, 318, 18990, 21166, 30, 46506, 327, 28270, 7203, 33, 437, 4943, 16034, 3084, 62, 2718, 3829, 33411, 366, 39499, 22383, 1, 796, 705, 43, 590, 21166, 6, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 44370, 3051, 618, 262, 7872, 22383, 318, 18990, 21166, 290, 3800, 8464, 318, 18990, 21166, 30, 46506, 327, 28270, 7203, 33, 437, 4943, 16034, 3084, 62, 2718, 3829, 33411, 366, 39499, 22383, 1, 796, 705, 43, 590, 21166, 6, 5...
has patient 010-6010 been admitted to hospital until 3 years ago?
SELECT COUNT(*) > 0 FROM patient WHERE patient.uniquepid = '010-6010' AND DATETIME(patient.hospitaladmittime) <= DATETIME(CURRENT_TIME(), '-3 year')
[ 10134, 5827, 5534, 15, 12, 21, 20943, 587, 6848, 284, 4436, 1566, 513, 812, 2084, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 20943, 12, 21, 20943, 6, 5357, 360, 1404, 276...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10134, 5827, 5534, 15, 12, 21, 20943, 587, 6848, 284, 4436, 1566, 513, 812, 2084, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 20943, 12, 21, 20943, 6, 5357, 360, 1404, 276...
Name the year for spiele leben
SELECT "Year (Ceremony)" FROM table_20645 WHERE "Original title" = 'Spiele Leben'
[ 5376, 262, 614, 329, 599, 494, 293, 443, 11722, 46506, 366, 17688, 357, 34, 567, 9926, 16725, 16034, 3084, 62, 22136, 2231, 33411, 366, 20556, 3670, 1, 796, 705, 4561, 494, 293, 1004, 11722, 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 ]
[ 5376, 262, 614, 329, 599, 494, 293, 443, 11722, 46506, 366, 17688, 357, 34, 567, 9926, 16725, 16034, 3084, 62, 22136, 2231, 33411, 366, 20556, 3670, 1, 796, 705, 4561, 494, 293, 1004, 11722, 6 ]
How many customers using email as the contact channel? Group by customer name and bin active date by year in a stacked bar chart, display in ascending by the y-axis please.
SELECT active_from_date, COUNT(active_from_date) FROM Customers AS t1 JOIN Customer_Contact_Channels AS t2 ON t1.customer_id = t2.customer_id WHERE t2.channel_code = 'Email' GROUP BY customer_name ORDER BY COUNT(active_from_date)
[ 2437, 867, 4297, 1262, 3053, 355, 262, 2800, 6518, 30, 4912, 416, 6491, 1438, 290, 9874, 4075, 3128, 416, 614, 287, 257, 24167, 2318, 8262, 11, 3359, 287, 41988, 416, 262, 331, 12, 22704, 3387, 13, 46506, 4075, 62, 6738, 62, 4475, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4297, 1262, 3053, 355, 262, 2800, 6518, 30, 4912, 416, 6491, 1438, 290, 9874, 4075, 3128, 416, 614, 287, 257, 24167, 2318, 8262, 11, 3359, 287, 41988, 416, 262, 331, 12, 22704, 3387, 13, 46506, 4075, 62, 6738, 62, 4475, 1...
What is the Home Town with a Name with rob cunningham?
SELECT "Home Town" FROM table_77512 WHERE "Name" = 'rob cunningham'
[ 2061, 318, 262, 5995, 8329, 351, 257, 6530, 351, 3857, 34218, 2763, 30, 46506, 366, 16060, 8329, 1, 16034, 3084, 62, 34483, 1065, 33411, 366, 5376, 1, 796, 705, 22609, 34218, 2763, 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, 318, 262, 5995, 8329, 351, 257, 6530, 351, 3857, 34218, 2763, 30, 46506, 366, 16060, 8329, 1, 16034, 3084, 62, 34483, 1065, 33411, 366, 5376, 1, 796, 705, 22609, 34218, 2763, 6 ]
count the number of patients diagnosed with other anomalies of larynx, trachea and bronchus who had abnormal lab test status.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.short_title = "Laryngotrach anomaly NEC" AND lab.flag = "abnormal"
[ 9127, 262, 1271, 286, 3871, 14641, 351, 584, 35907, 286, 300, 38621, 87, 11, 491, 4891, 64, 290, 18443, 354, 385, 508, 550, 18801, 2248, 1332, 3722, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 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...
[ 9127, 262, 1271, 286, 3871, 14641, 351, 584, 35907, 286, 300, 38621, 87, 11, 491, 4891, 64, 290, 18443, 354, 385, 508, 550, 18801, 2248, 1332, 3722, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034...
What is the English name of the country that has Doha as its capital?
SELECT "English country name" FROM table_7048 WHERE "English capital name" = 'doha'
[ 2061, 318, 262, 3594, 1438, 286, 262, 1499, 326, 468, 360, 28083, 355, 663, 3139, 30, 46506, 366, 15823, 1499, 1438, 1, 16034, 3084, 62, 2154, 2780, 33411, 366, 15823, 3139, 1438, 1, 796, 705, 67, 28083, 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, 3594, 1438, 286, 262, 1499, 326, 468, 360, 28083, 355, 663, 3139, 30, 46506, 366, 15823, 1499, 1438, 1, 16034, 3084, 62, 2154, 2780, 33411, 366, 15823, 3139, 1438, 1, 796, 705, 67, 28083, 6 ]
What episode number of the series had a production code of bdf409?
SELECT MIN(series__number) FROM table_28019988_5 WHERE production_code = "BDF409"
[ 2061, 4471, 1271, 286, 262, 2168, 550, 257, 3227, 2438, 286, 275, 7568, 29416, 30, 46506, 20625, 7, 25076, 834, 17618, 8, 16034, 3084, 62, 2078, 486, 2079, 3459, 62, 20, 33411, 3227, 62, 8189, 796, 366, 33, 8068, 29416, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4471, 1271, 286, 262, 2168, 550, 257, 3227, 2438, 286, 275, 7568, 29416, 30, 46506, 20625, 7, 25076, 834, 17618, 8, 16034, 3084, 62, 2078, 486, 2079, 3459, 62, 20, 33411, 3227, 62, 8189, 796, 366, 33, 8068, 29416, 1 ]
give the number of patients under the age of 74 who had arterial catheterization.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.age < "74" AND procedures.short_title = "Arterial catheterization"
[ 26535, 262, 1271, 286, 3871, 739, 262, 2479, 286, 8915, 508, 550, 30675, 498, 3797, 43332, 1634, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 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...
[ 26535, 262, 1271, 286, 3871, 739, 262, 2479, 286, 8915, 508, 550, 30675, 498, 3797, 43332, 1634, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, ...
In the county where Bush won 77.76%, how many total votes were cast?
SELECT "Total #" FROM table_845 WHERE "Bush %" = '77.76%'
[ 818, 262, 7968, 810, 5511, 1839, 8541, 13, 4304, 7441, 703, 867, 2472, 5690, 547, 3350, 30, 46506, 366, 14957, 1303, 1, 16034, 3084, 62, 23, 2231, 33411, 366, 36113, 4064, 1, 796, 705, 3324, 13, 4304, 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, 1, 1, 1, 1, 1 ]
[ 818, 262, 7968, 810, 5511, 1839, 8541, 13, 4304, 7441, 703, 867, 2472, 5690, 547, 3350, 30, 46506, 366, 14957, 1303, 1, 16034, 3084, 62, 23, 2231, 33411, 366, 36113, 4064, 1, 796, 705, 3324, 13, 4304, 4, 6 ]
What are the comments when the vendor and type is alcatel-lucent routers?
SELECT comments FROM table_1206114_2 WHERE vendor_and_type = "Alcatel-Lucent routers"
[ 2061, 389, 262, 3651, 618, 262, 18371, 290, 2099, 318, 435, 66, 25791, 12, 35600, 41144, 30, 46506, 3651, 16034, 3084, 62, 1065, 3312, 16562, 62, 17, 33411, 18371, 62, 392, 62, 4906, 796, 366, 2348, 66, 25791, 12, 25596, 1087, 41144, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3651, 618, 262, 18371, 290, 2099, 318, 435, 66, 25791, 12, 35600, 41144, 30, 46506, 3651, 16034, 3084, 62, 1065, 3312, 16562, 62, 17, 33411, 18371, 62, 392, 62, 4906, 796, 366, 2348, 66, 25791, 12, 25596, 1087, 41144, ...
What was the grid for rider Russell Holland, riding a Honda CBR1000rr?
SELECT grid FROM table_name_75 WHERE bike = "honda cbr1000rr" AND rider = "russell holland"
[ 2061, 373, 262, 10706, 329, 17876, 11563, 16070, 11, 10311, 257, 20059, 10078, 49, 12825, 21062, 30, 46506, 10706, 16034, 3084, 62, 3672, 62, 2425, 33411, 7161, 796, 366, 71, 13533, 269, 1671, 12825, 21062, 1, 5357, 17876, 796, 366, 149...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10706, 329, 17876, 11563, 16070, 11, 10311, 257, 20059, 10078, 49, 12825, 21062, 30, 46506, 10706, 16034, 3084, 62, 3672, 62, 2425, 33411, 7161, 796, 366, 71, 13533, 269, 1671, 12825, 21062, 1, 5357, 17876, 796, 366, 149...
which title is listed next after the way to fight ?
SELECT "english title" FROM table_204_88 WHERE id = (SELECT id FROM table_204_88 WHERE "english title" = 'the way to fight') + 1
[ 4758, 3670, 318, 5610, 1306, 706, 262, 835, 284, 1907, 5633, 46506, 366, 39126, 3670, 1, 16034, 3084, 62, 18638, 62, 3459, 33411, 4686, 796, 357, 46506, 4686, 16034, 3084, 62, 18638, 62, 3459, 33411, 366, 39126, 3670, 1, 796, 705, 116...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4758, 3670, 318, 5610, 1306, 706, 262, 835, 284, 1907, 5633, 46506, 366, 39126, 3670, 1, 16034, 3084, 62, 18638, 62, 3459, 33411, 4686, 796, 357, 46506, 4686, 16034, 3084, 62, 18638, 62, 3459, 33411, 366, 39126, 3670, 1, 796, 705, 116...
is the value of the heartrate of patient 006-2586 last measured on the first icu visit less than first measured on the first icu visit?
SELECT (SELECT vitalperiodic.heartrate FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-2586') AND NOT patient.unitdischargetime IS N...
[ 271, 262, 1988, 286, 262, 2612, 4873, 286, 5827, 3571, 21, 12, 1495, 4521, 938, 8630, 319, 262, 717, 14158, 84, 3187, 1342, 621, 717, 8630, 319, 262, 717, 14158, 84, 3187, 30, 46506, 357, 46506, 9204, 41007, 291, 13, 11499, 4873, 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...
[ 271, 262, 1988, 286, 262, 2612, 4873, 286, 5827, 3571, 21, 12, 1495, 4521, 938, 8630, 319, 262, 717, 14158, 84, 3187, 1342, 621, 717, 8630, 319, 262, 717, 14158, 84, 3187, 30, 46506, 357, 46506, 9204, 41007, 291, 13, 11499, 4873, 16...
what is the perfect of mass when the molecules is 1.74e14*?
SELECT percent_of_mass FROM table_name_58 WHERE molecules = "1.74e14*"
[ 10919, 318, 262, 2818, 286, 2347, 618, 262, 17745, 318, 352, 13, 4524, 68, 1415, 9, 30, 46506, 1411, 62, 1659, 62, 22208, 16034, 3084, 62, 3672, 62, 3365, 33411, 17745, 796, 366, 16, 13, 4524, 68, 1415, 9, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2818, 286, 2347, 618, 262, 17745, 318, 352, 13, 4524, 68, 1415, 9, 30, 46506, 1411, 62, 1659, 62, 22208, 16034, 3084, 62, 3672, 62, 3365, 33411, 17745, 796, 366, 16, 13, 4524, 68, 1415, 9, 1 ]
how many elective hospital admission patients have had automatic implantable cardioverter/defibrillator (aicd) check?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_type = "ELECTIVE" AND procedures.long_title = "Automatic implantable cardioverter/defibrillator (AICD) check"
[ 4919, 867, 1742, 425, 4436, 13938, 3871, 423, 550, 11353, 29016, 540, 47926, 332, 353, 14, 4299, 2889, 359, 1352, 357, 18452, 67, 8, 2198, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 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...
[ 4919, 867, 1742, 425, 4436, 13938, 3871, 423, 550, 11353, 29016, 540, 47926, 332, 353, 14, 4299, 2889, 359, 1352, 357, 18452, 67, 8, 2198, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3...
How many parties does the incumbent Donald A. Bailey a member of?
SELECT COUNT(party) FROM table_1341640_39 WHERE incumbent = "Donald A. Bailey"
[ 2437, 867, 4671, 857, 262, 23526, 3759, 317, 13, 20330, 257, 2888, 286, 30, 46506, 327, 28270, 7, 10608, 8, 16034, 3084, 62, 19880, 1433, 1821, 62, 2670, 33411, 23526, 796, 366, 7371, 317, 13, 20330, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4671, 857, 262, 23526, 3759, 317, 13, 20330, 257, 2888, 286, 30, 46506, 327, 28270, 7, 10608, 8, 16034, 3084, 62, 19880, 1433, 1821, 62, 2670, 33411, 23526, 796, 366, 7371, 317, 13, 20330, 1 ]
count the number of patients whose admission type is elective and ethnicity is hispanic or latino?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_type = "ELECTIVE" AND demographic.ethnicity = "HISPANIC OR LATINO"
[ 9127, 262, 1271, 286, 3871, 3025, 13938, 2099, 318, 1742, 425, 290, 26289, 318, 465, 35843, 393, 3042, 2879, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 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...
[ 9127, 262, 1271, 286, 3871, 3025, 13938, 2099, 318, 1742, 425, 290, 26289, 318, 465, 35843, 393, 3042, 2879, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, ...
Tell me the trend about the claim dates using a trend line, and could you show Date_Claim_Settled from low to high order please?
SELECT Date_Claim_Settled, COUNT(Date_Claim_Settled) FROM Settlements GROUP BY Date_Claim_Settled ORDER BY Date_Claim_Settled
[ 24446, 502, 262, 5182, 546, 262, 1624, 9667, 1262, 257, 5182, 1627, 11, 290, 714, 345, 905, 7536, 62, 44819, 62, 50, 3087, 992, 422, 1877, 284, 1029, 1502, 3387, 30, 46506, 7536, 62, 44819, 62, 50, 3087, 992, 11, 327, 28270, 7, 10...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 24446, 502, 262, 5182, 546, 262, 1624, 9667, 1262, 257, 5182, 1627, 11, 290, 714, 345, 905, 7536, 62, 44819, 62, 50, 3087, 992, 422, 1877, 284, 1029, 1502, 3387, 30, 46506, 7536, 62, 44819, 62, 50, 3087, 992, 11, 327, 28270, 7, 10...
when was the loan ended when the loan club is spartak moscow?
SELECT "Ended" FROM table_46419 WHERE "Loan Club" = 'spartak moscow'
[ 12518, 373, 262, 8063, 4444, 618, 262, 8063, 3430, 318, 599, 433, 461, 10867, 8232, 30, 46506, 366, 12915, 276, 1, 16034, 3084, 62, 44578, 1129, 33411, 366, 43, 24611, 6289, 1, 796, 705, 2777, 433, 461, 10867, 8232, 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 ]
[ 12518, 373, 262, 8063, 4444, 618, 262, 8063, 3430, 318, 599, 433, 461, 10867, 8232, 30, 46506, 366, 12915, 276, 1, 16034, 3084, 62, 44578, 1129, 33411, 366, 43, 24611, 6289, 1, 796, 705, 2777, 433, 461, 10867, 8232, 6 ]
Name the enrollment for tomcats
SELECT enrollment FROM table_262476_1 WHERE nickname = "Tomcats"
[ 5376, 262, 20753, 329, 16667, 24619, 46506, 20753, 16034, 3084, 62, 2075, 1731, 4304, 62, 16, 33411, 21814, 796, 366, 13787, 24619, 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, 20753, 329, 16667, 24619, 46506, 20753, 16034, 3084, 62, 2075, 1731, 4304, 62, 16, 33411, 21814, 796, 366, 13787, 24619, 1 ]
how many literate males are there that has a district population of 6.65?
SELECT Literate AS male FROM table_28939145_2 WHERE _percentage_of_district_population = "6.65"
[ 4919, 867, 4187, 378, 10835, 389, 612, 326, 468, 257, 4783, 3265, 286, 718, 13, 2996, 30, 46506, 17667, 378, 7054, 4257, 16034, 3084, 62, 27693, 2670, 18781, 62, 17, 33411, 4808, 25067, 496, 62, 1659, 62, 17080, 2012, 62, 39748, 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 ]
[ 4919, 867, 4187, 378, 10835, 389, 612, 326, 468, 257, 4783, 3265, 286, 718, 13, 2996, 30, 46506, 17667, 378, 7054, 4257, 16034, 3084, 62, 27693, 2670, 18781, 62, 17, 33411, 4808, 25067, 496, 62, 1659, 62, 17080, 2012, 62, 39748, 796, ...
Rank larger than 5, and a Rider of paul shoesmith belongs to what team?
SELECT "Team" FROM table_5975 WHERE "Rank" > '5' AND "Rider" = 'paul shoesmith'
[ 27520, 4025, 621, 642, 11, 290, 257, 16414, 286, 279, 2518, 10012, 22947, 14448, 284, 644, 1074, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 3270, 2425, 33411, 366, 27520, 1, 1875, 705, 20, 6, 5357, 366, 49, 1304, 1, 796, 705, 79, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 27520, 4025, 621, 642, 11, 290, 257, 16414, 286, 279, 2518, 10012, 22947, 14448, 284, 644, 1074, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 3270, 2425, 33411, 366, 27520, 1, 1875, 705, 20, 6, 5357, 366, 49, 1304, 1, 796, 705, 79, ...
Name the hdtv for sky primafila 17
SELECT hdtv FROM table_15887683_6 WHERE television_service = "Sky Primafila 17"
[ 5376, 262, 289, 67, 14981, 329, 6766, 2684, 1878, 10102, 1596, 46506, 289, 67, 14981, 16034, 3084, 62, 1314, 3459, 30610, 18, 62, 21, 33411, 5581, 62, 15271, 796, 366, 22308, 11460, 1878, 10102, 1596, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 289, 67, 14981, 329, 6766, 2684, 1878, 10102, 1596, 46506, 289, 67, 14981, 16034, 3084, 62, 1314, 3459, 30610, 18, 62, 21, 33411, 5581, 62, 15271, 796, 366, 22308, 11460, 1878, 10102, 1596, 1 ]
Return the category code and typical price of 'cumin'.
SELECT product_category_code, typical_buying_price FROM products WHERE product_name = "cumin"
[ 13615, 262, 6536, 2438, 290, 7226, 2756, 286, 705, 66, 7230, 4458, 46506, 1720, 62, 22872, 62, 8189, 11, 7226, 62, 11110, 1112, 62, 20888, 16034, 3186, 33411, 1720, 62, 3672, 796, 366, 66, 7230, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13615, 262, 6536, 2438, 290, 7226, 2756, 286, 705, 66, 7230, 4458, 46506, 1720, 62, 22872, 62, 8189, 11, 7226, 62, 11110, 1112, 62, 20888, 16034, 3186, 33411, 1720, 62, 3672, 796, 366, 66, 7230, 1 ]
When did the series number 23 air?
SELECT original_air_date FROM table_11630008_3 WHERE series_no = 23
[ 2215, 750, 262, 2168, 1271, 2242, 1633, 30, 46506, 2656, 62, 958, 62, 4475, 16034, 3084, 62, 1157, 5066, 830, 23, 62, 18, 33411, 2168, 62, 3919, 796, 2242 ]
[ 1, 1, 1, 1, 1, 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, 750, 262, 2168, 1271, 2242, 1633, 30, 46506, 2656, 62, 958, 62, 4475, 16034, 3084, 62, 1157, 5066, 830, 23, 62, 18, 33411, 2168, 62, 3919, 796, 2242 ]
what was the first live album that was released in 2011 ?
SELECT "title" FROM table_204_680 WHERE "format" = 'live album' ORDER BY "released" LIMIT 1
[ 10919, 373, 262, 717, 2107, 5062, 326, 373, 2716, 287, 2813, 5633, 46506, 366, 7839, 1, 16034, 3084, 62, 18638, 62, 37397, 33411, 366, 18982, 1, 796, 705, 12583, 5062, 6, 38678, 11050, 366, 30147, 1, 27564, 2043, 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, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 373, 262, 717, 2107, 5062, 326, 373, 2716, 287, 2813, 5633, 46506, 366, 7839, 1, 16034, 3084, 62, 18638, 62, 37397, 33411, 366, 18982, 1, 796, 705, 12583, 5062, 6, 38678, 11050, 366, 30147, 1, 27564, 2043, 352 ]
give me the number of patients whose primary disease is brain mass;intracranial hemorrhage and year of death is less than or equal to 2131?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "BRAIN MASS;INTRACRANIAL HEMORRHAGE" AND demographic.dod_year <= "2131.0"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 4165, 4369, 318, 3632, 2347, 26, 600, 11510, 2596, 498, 42203, 496, 290, 614, 286, 1918, 318, 1342, 621, 393, 4961, 284, 362, 22042, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 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...
[ 26535, 502, 262, 1271, 286, 3871, 3025, 4165, 4369, 318, 3632, 2347, 26, 600, 11510, 2596, 498, 42203, 496, 290, 614, 286, 1918, 318, 1342, 621, 393, 4961, 284, 362, 22042, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, ...
How many patients are admitted in transfer within this facility and use the lab item id 51427?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_location = "TRSF WITHIN THIS FACILITY" AND lab.itemid = "51427"
[ 2437, 867, 3871, 389, 6848, 287, 4351, 1626, 428, 6841, 290, 779, 262, 2248, 2378, 4686, 642, 1415, 1983, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3871, 389, 6848, 287, 4351, 1626, 428, 6841, 290, 779, 262, 2248, 2378, 4686, 642, 1415, 1983, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177...
What is the largest district for delegate Cheryl Glenn, that she had taken after 2006?
SELECT MAX(district) FROM table_name_30 WHERE delegate = "cheryl glenn" AND took_office > 2006
[ 2061, 318, 262, 4387, 4783, 329, 23191, 37958, 17551, 11, 326, 673, 550, 2077, 706, 4793, 30, 46506, 25882, 7, 17080, 2012, 8, 16034, 3084, 62, 3672, 62, 1270, 33411, 23191, 796, 366, 2044, 2645, 1278, 1697, 1, 5357, 1718, 62, 31810, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4387, 4783, 329, 23191, 37958, 17551, 11, 326, 673, 550, 2077, 706, 4793, 30, 46506, 25882, 7, 17080, 2012, 8, 16034, 3084, 62, 3672, 62, 1270, 33411, 23191, 796, 366, 2044, 2645, 1278, 1697, 1, 5357, 1718, 62, 31810, ...
Who was the CM winning team when the FM winning team was #17 Elva - Ford?
SELECT "CM Winning Team" FROM table_31011 WHERE "FM Winning Team" = '#17 Elva - Ford'
[ 8241, 373, 262, 16477, 5442, 1074, 618, 262, 18695, 5442, 1074, 373, 1303, 1558, 2574, 6862, 532, 8092, 30, 46506, 366, 24187, 40983, 4816, 1, 16034, 3084, 62, 3132, 28555, 33411, 366, 23264, 40983, 4816, 1, 796, 705, 2, 1558, 2574, 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 ]
[ 8241, 373, 262, 16477, 5442, 1074, 618, 262, 18695, 5442, 1074, 373, 1303, 1558, 2574, 6862, 532, 8092, 30, 46506, 366, 24187, 40983, 4816, 1, 16034, 3084, 62, 3132, 28555, 33411, 366, 23264, 40983, 4816, 1, 796, 705, 2, 1558, 2574, 6...
who was the opponent with round 17?
SELECT opponent FROM table_name_64 WHERE round = "17"
[ 8727, 373, 262, 6125, 351, 2835, 1596, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 2414, 33411, 2835, 796, 366, 1558, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8727, 373, 262, 6125, 351, 2835, 1596, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 2414, 33411, 2835, 796, 366, 1558, 1 ]
My Top-ranked comments >= 5 since 1/1/2019. The 50 highest ranked comments with post links
SELECT PostId AS "post_link", Score, Text FROM Comments WHERE UserId = @UserId AND Score >= 5 AND CreationDate > '1/1/2019' ORDER BY Score LIMIT 2500
[ 3666, 5849, 12, 28282, 3651, 18189, 642, 1201, 352, 14, 16, 14, 23344, 13, 383, 2026, 4511, 10307, 3651, 351, 1281, 6117, 46506, 2947, 7390, 7054, 366, 7353, 62, 8726, 1600, 15178, 11, 8255, 16034, 19502, 33411, 11787, 7390, 796, 2488, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3666, 5849, 12, 28282, 3651, 18189, 642, 1201, 352, 14, 16, 14, 23344, 13, 383, 2026, 4511, 10307, 3651, 351, 1281, 6117, 46506, 2947, 7390, 7054, 366, 7353, 62, 8726, 1600, 15178, 11, 8255, 16034, 19502, 33411, 11787, 7390, 796, 2488, ...
What is zip code of customer with first name as Carole and last name as Bernhard?
SELECT T2.zip_postcode FROM customers AS T1 JOIN addresses AS T2 ON T1.customer_address_id = T2.address_id WHERE T1.first_name = "Carole" AND T1.last_name = "Bernhard"
[ 2061, 318, 19974, 2438, 286, 6491, 351, 717, 1438, 355, 1879, 2305, 290, 938, 1438, 355, 6206, 10424, 30, 46506, 309, 17, 13, 13344, 62, 7353, 8189, 16034, 4297, 7054, 309, 16, 32357, 1268, 9405, 7054, 309, 17, 6177, 309, 16, 13, 23...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 19974, 2438, 286, 6491, 351, 717, 1438, 355, 1879, 2305, 290, 938, 1438, 355, 6206, 10424, 30, 46506, 309, 17, 13, 13344, 62, 7353, 8189, 16034, 4297, 7054, 309, 16, 32357, 1268, 9405, 7054, 309, 17, 6177, 309, 16, 13, 23...
list the top five most common drugs that patients were prescribed within 2 months after being prescribed oxycodone (sustained release) since 1 year ago.
SELECT t3.drug FROM (SELECT t2.drug, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, prescriptions.startdate FROM prescriptions JOIN admissions ON prescriptions.hadm_id = admissions.hadm_id WHERE prescriptions.drug = 'oxycodone (sustained release)' AND DATETIME(prescriptions.startda...
[ 4868, 262, 1353, 1936, 749, 2219, 5010, 326, 3871, 547, 14798, 1626, 362, 1933, 706, 852, 14798, 10661, 19815, 505, 357, 82, 436, 1328, 2650, 8, 1201, 352, 614, 2084, 13, 46506, 256, 18, 13, 30349, 16034, 357, 46506, 256, 17, 13, 30...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4868, 262, 1353, 1936, 749, 2219, 5010, 326, 3871, 547, 14798, 1626, 362, 1933, 706, 852, 14798, 10661, 19815, 505, 357, 82, 436, 1328, 2650, 8, 1201, 352, 614, 2084, 13, 46506, 256, 18, 13, 30349, 16034, 357, 46506, 256, 17, 13, 30...
A bar chart showing the number of start date of the apartment bookings made by female guests (gender code 'Female') for each weekday, could you order the number of booking start date in descending order please?
SELECT booking_start_date, COUNT(booking_start_date) FROM Apartment_Bookings AS T1 JOIN Guests AS T2 ON T1.guest_id = T2.guest_id WHERE T2.gender_code = "Female" ORDER BY COUNT(booking_start_date) DESC
[ 32, 2318, 8262, 4478, 262, 1271, 286, 923, 3128, 286, 262, 7962, 1492, 654, 925, 416, 4048, 10650, 357, 8388, 2438, 705, 27273, 11537, 329, 1123, 28269, 11, 714, 345, 1502, 262, 1271, 286, 25452, 923, 3128, 287, 31491, 1502, 3387, 30,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 32, 2318, 8262, 4478, 262, 1271, 286, 923, 3128, 286, 262, 7962, 1492, 654, 925, 416, 4048, 10650, 357, 8388, 2438, 705, 27273, 11537, 329, 1123, 28269, 11, 714, 345, 1502, 262, 1271, 286, 25452, 923, 3128, 287, 31491, 1502, 3387, 30,...
What's the total number of floors built after 2006, and have a rank of 12?
SELECT SUM("Floors") FROM table_71604 WHERE "Built" > '2006' AND "Rank" = '12'
[ 2061, 338, 262, 2472, 1271, 286, 18570, 3170, 706, 4793, 11, 290, 423, 257, 4279, 286, 1105, 30, 46506, 35683, 7203, 33574, 669, 4943, 16034, 3084, 62, 22, 1433, 3023, 33411, 366, 39582, 1, 1875, 705, 13330, 6, 5357, 366, 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, 1, 1, 1, 1, 1 ]
[ 2061, 338, 262, 2472, 1271, 286, 18570, 3170, 706, 4793, 11, 290, 423, 257, 4279, 286, 1105, 30, 46506, 35683, 7203, 33574, 669, 4943, 16034, 3084, 62, 22, 1433, 3023, 33411, 366, 39582, 1, 1875, 705, 13330, 6, 5357, 366, 27520, 1, ...
when did patient 97314 have the maximum amount of potassium in 03/this year for the first time?
SELECT labevents.charttime FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 97314) AND labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'potassium') AND DATETIME(labevents.charttime, 'start of year') = DATETIME(CURRE...
[ 12518, 750, 5827, 860, 4790, 1415, 423, 262, 5415, 2033, 286, 33156, 287, 7643, 14, 5661, 614, 329, 262, 717, 640, 30, 46506, 2248, 31534, 13, 40926, 2435, 16034, 2248, 31534, 33411, 2248, 31534, 13, 18108, 76, 62, 312, 3268, 357, 465...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5827, 860, 4790, 1415, 423, 262, 5415, 2033, 286, 33156, 287, 7643, 14, 5661, 614, 329, 262, 717, 640, 30, 46506, 2248, 31534, 13, 40926, 2435, 16034, 2248, 31534, 33411, 2248, 31534, 13, 18108, 76, 62, 312, 3268, 357, 465...
name of athlete who came in first in heat 1 of the women 's 200 metres
SELECT "name" FROM table_204_401 WHERE "rank" = 1
[ 3672, 286, 16076, 508, 1625, 287, 717, 287, 4894, 352, 286, 262, 1466, 705, 82, 939, 18985, 46506, 366, 3672, 1, 16034, 3084, 62, 18638, 62, 21844, 33411, 366, 43027, 1, 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, 1 ]
[ 3672, 286, 16076, 508, 1625, 287, 717, 287, 4894, 352, 286, 262, 1466, 705, 82, 939, 18985, 46506, 366, 3672, 1, 16034, 3084, 62, 18638, 62, 21844, 33411, 366, 43027, 1, 796, 352 ]
did patient 005-87465 ever underwent antiarrhythmics - class i antiarrhythmic treatment in another hospital during this year?
SELECT COUNT(*) > 0 FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.uniquepid = '005-87465' AND patient.hospitalid <> (SELECT DISTINCT patient.hospitalid FROM patient WHERE patient.uniquepid = '005-87465' AND patient.hospitaldischargetime IS NULL)) AND tr...
[ 20839, 5827, 3571, 20, 12, 23, 4524, 2996, 1683, 25289, 3098, 3258, 71, 34853, 873, 532, 1398, 1312, 3098, 3258, 71, 5272, 9383, 3513, 287, 1194, 4436, 1141, 428, 614, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 3513, 33411, 35...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 20839, 5827, 3571, 20, 12, 23, 4524, 2996, 1683, 25289, 3098, 3258, 71, 34853, 873, 532, 1398, 1312, 3098, 3258, 71, 5272, 9383, 3513, 287, 1194, 4436, 1141, 428, 614, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 3513, 33411, 35...
Best commenters by average comment score. Users ranked by average comment score.
SELECT UserId AS "user_link", SUM(Score) AS Score, COUNT(Score) AS Comments, ROUND(AVG(CAST(Score AS FLOAT)), 3) AS AvgScore, ROUND(STDEV(Score), 3) AS StdDev, MAX(Score) AS TopScore, ROUND((SUM(Score) - MAX(Score)) / (COUNT(Score) - 1.0), 3) AS AvgScoreWOTop FROM Comments INNER JOIN Users ON Users.Id = UserId WHERE Us...
[ 13014, 43807, 416, 2811, 2912, 4776, 13, 18987, 10307, 416, 2811, 2912, 4776, 13, 46506, 11787, 7390, 7054, 366, 7220, 62, 8726, 1600, 35683, 7, 26595, 8, 7054, 15178, 11, 327, 28270, 7, 26595, 8, 7054, 19502, 11, 371, 15919, 7, 10116...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 13014, 43807, 416, 2811, 2912, 4776, 13, 18987, 10307, 416, 2811, 2912, 4776, 13, 46506, 11787, 7390, 7054, 366, 7220, 62, 8726, 1600, 35683, 7, 26595, 8, 7054, 15178, 11, 327, 28270, 7, 26595, 8, 7054, 19502, 11, 371, 15919, 7, 10116...
What year had Third-Person Shooter?
SELECT AVG("Year") FROM table_65552 WHERE "Genre" = 'third-person shooter'
[ 2061, 614, 550, 10467, 12, 15439, 35334, 30, 46506, 35224, 7203, 17688, 4943, 16034, 3084, 62, 35916, 4309, 33411, 366, 13746, 260, 1, 796, 705, 17089, 12, 6259, 14273, 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 ]
[ 2061, 614, 550, 10467, 12, 15439, 35334, 30, 46506, 35224, 7203, 17688, 4943, 16034, 3084, 62, 35916, 4309, 33411, 366, 13746, 260, 1, 796, 705, 17089, 12, 6259, 14273, 6 ]
What date did the International Gold Cup take place?
SELECT "Date" FROM table_4640 WHERE "Name" = 'international gold cup'
[ 2061, 3128, 750, 262, 4037, 3561, 5454, 1011, 1295, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 3510, 1821, 33411, 366, 5376, 1, 796, 705, 45609, 3869, 6508, 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 ]
[ 2061, 3128, 750, 262, 4037, 3561, 5454, 1011, 1295, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 3510, 1821, 33411, 366, 5376, 1, 796, 705, 45609, 3869, 6508, 6 ]
How many courses each teacher taught? Show me a bar chart grouping by course code, list in desc by the total number.
SELECT CRS_CODE, COUNT(CRS_CODE) FROM CLASS AS T1 JOIN EMPLOYEE AS T2 ON T1.PROF_NUM = T2.EMP_NUM GROUP BY CRS_CODE ORDER BY COUNT(CRS_CODE) DESC
[ 2437, 867, 10902, 1123, 4701, 7817, 30, 5438, 502, 257, 2318, 8262, 36115, 416, 1781, 2438, 11, 1351, 287, 1715, 416, 262, 2472, 1271, 13, 46506, 327, 6998, 62, 34, 16820, 11, 327, 28270, 7, 34, 6998, 62, 34, 16820, 8, 16034, 42715,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10902, 1123, 4701, 7817, 30, 5438, 502, 257, 2318, 8262, 36115, 416, 1781, 2438, 11, 1351, 287, 1715, 416, 262, 2472, 1271, 13, 46506, 327, 6998, 62, 34, 16820, 11, 327, 28270, 7, 34, 6998, 62, 34, 16820, 8, 16034, 42715,...
What is the average wins with a 20th position and more than 0 f/laps?
SELECT AVG(wins) FROM table_name_31 WHERE position = "20th" AND f_laps > 0
[ 2061, 318, 262, 2811, 7864, 351, 257, 1160, 400, 2292, 290, 517, 621, 657, 277, 14, 75, 1686, 30, 46506, 35224, 7, 86, 1040, 8, 16034, 3084, 62, 3672, 62, 3132, 33411, 2292, 796, 366, 1238, 400, 1, 5357, 277, 62, 75, 1686, 1875, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2811, 7864, 351, 257, 1160, 400, 2292, 290, 517, 621, 657, 277, 14, 75, 1686, 30, 46506, 35224, 7, 86, 1040, 8, 16034, 3084, 62, 3672, 62, 3132, 33411, 2292, 796, 366, 1238, 400, 1, 5357, 277, 62, 75, 1686, 1875, ...
body weight < 40 kg or > 125 kg;
SELECT * FROM table_test_19 WHERE body_weight < 40 OR body_weight > 125
[ 2618, 3463, 1279, 2319, 14211, 393, 1875, 13151, 14211, 26, 46506, 1635, 16034, 3084, 62, 9288, 62, 1129, 33411, 1767, 62, 6551, 1279, 2319, 6375, 1767, 62, 6551, 1875, 13151 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2618, 3463, 1279, 2319, 14211, 393, 1875, 13151, 14211, 26, 46506, 1635, 16034, 3084, 62, 9288, 62, 1129, 33411, 1767, 62, 6551, 1279, 2319, 6375, 1767, 62, 6551, 1875, 13151 ]
What was the home team score for the game played at MCG?
SELECT "Home team score" FROM table_33379 WHERE "Venue" = 'mcg'
[ 2061, 373, 262, 1363, 1074, 4776, 329, 262, 983, 2826, 379, 13122, 38, 30, 46506, 366, 16060, 1074, 4776, 1, 16034, 3084, 62, 2091, 29088, 33411, 366, 37522, 518, 1, 796, 705, 23209, 70, 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 ]
[ 2061, 373, 262, 1363, 1074, 4776, 329, 262, 983, 2826, 379, 13122, 38, 30, 46506, 366, 16060, 1074, 4776, 1, 16034, 3084, 62, 2091, 29088, 33411, 366, 37522, 518, 1, 796, 705, 23209, 70, 6 ]
What is the overall record of Indian River?
SELECT "Overall Record" FROM table_70408 WHERE "School" = 'indian river'
[ 2061, 318, 262, 4045, 1700, 286, 3942, 5866, 30, 46506, 366, 16350, 13266, 1, 16034, 3084, 62, 2154, 26200, 33411, 366, 26130, 1, 796, 705, 521, 666, 7850, 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 ]
[ 2061, 318, 262, 4045, 1700, 286, 3942, 5866, 30, 46506, 366, 16350, 13266, 1, 16034, 3084, 62, 2154, 26200, 33411, 366, 26130, 1, 796, 705, 521, 666, 7850, 6 ]
What event went under 3 rounds and was no contest (punch after knockdown)?
SELECT event FROM table_name_74 WHERE round < 3 AND method = "no contest (punch after knockdown)"
[ 2061, 1785, 1816, 739, 513, 9196, 290, 373, 645, 8414, 357, 79, 3316, 706, 10643, 2902, 19427, 46506, 1785, 16034, 3084, 62, 3672, 62, 4524, 33411, 2835, 1279, 513, 5357, 2446, 796, 366, 3919, 8414, 357, 79, 3316, 706, 10643, 2902, 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 ]
[ 2061, 1785, 1816, 739, 513, 9196, 290, 373, 645, 8414, 357, 79, 3316, 706, 10643, 2902, 19427, 46506, 1785, 16034, 3084, 62, 3672, 62, 4524, 33411, 2835, 1279, 513, 5357, 2446, 796, 366, 3919, 8414, 357, 79, 3316, 706, 10643, 2902, 16...
Posts which have at least one close flag/vote for recommend a tool.
SELECT Posts.Body, Posts.Id AS "post_link", Posts.Score AS Votes FROM PendingFlags INNER JOIN Posts ON Posts.Id = PendingFlags.PostId WHERE Posts.ClosedDate IS NULL AND PendingFlags.CloseAsOffTopicReasonTypeId = '##Id##'
[ 21496, 543, 423, 379, 1551, 530, 1969, 6056, 14, 27257, 329, 4313, 257, 2891, 13, 46506, 12043, 13, 25842, 11, 12043, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 12043, 13, 26595, 7054, 39584, 16034, 350, 1571, 40053, 3268, 21479, 32357,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 21496, 543, 423, 379, 1551, 530, 1969, 6056, 14, 27257, 329, 4313, 257, 2891, 13, 46506, 12043, 13, 25842, 11, 12043, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 12043, 13, 26595, 7054, 39584, 16034, 350, 1571, 40053, 3268, 21479, 32357,...
calculate the number of patients for whom urine test was ordered and were admitted on an urgent basis.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_type = "URGENT" AND lab.fluid = "Urine"
[ 9948, 3129, 378, 262, 1271, 286, 3871, 329, 4150, 18922, 1332, 373, 6149, 290, 547, 6848, 319, 281, 18039, 4308, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 224...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9948, 3129, 378, 262, 1271, 286, 3871, 329, 4150, 18922, 1332, 373, 6149, 290, 547, 6848, 319, 281, 18039, 4308, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 224...
when was the first time the respiration for patient 006-143187 was less than 11.0 on this month/26?
SELECT vitalperiodic.observationtime FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-143187')) AND vitalperiodic.respiration < 11.0 ...
[ 12518, 373, 262, 717, 640, 262, 1217, 15297, 329, 5827, 3571, 21, 12, 21139, 23451, 373, 1342, 621, 1367, 13, 15, 319, 428, 1227, 14, 2075, 30, 46506, 9204, 41007, 291, 13, 672, 3168, 341, 2435, 16034, 9204, 41007, 291, 33411, 9204, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 717, 640, 262, 1217, 15297, 329, 5827, 3571, 21, 12, 21139, 23451, 373, 1342, 621, 1367, 13, 15, 319, 428, 1227, 14, 2075, 30, 46506, 9204, 41007, 291, 13, 672, 3168, 341, 2435, 16034, 9204, 41007, 291, 33411, 9204, ...
What is the Year Commissioned of the power stationo with a Gross head of less than 18?
SELECT AVG(year_commissioned) FROM table_name_58 WHERE gross_head__metres_ < 18
[ 2061, 318, 262, 6280, 4513, 276, 286, 262, 1176, 4429, 78, 351, 257, 21796, 1182, 286, 1342, 621, 1248, 30, 46506, 35224, 7, 1941, 62, 785, 3411, 276, 8, 16034, 3084, 62, 3672, 62, 3365, 33411, 10319, 62, 2256, 834, 4164, 411, 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 ]
[ 2061, 318, 262, 6280, 4513, 276, 286, 262, 1176, 4429, 78, 351, 257, 21796, 1182, 286, 1342, 621, 1248, 30, 46506, 35224, 7, 1941, 62, 785, 3411, 276, 8, 16034, 3084, 62, 3672, 62, 3365, 33411, 10319, 62, 2256, 834, 4164, 411, 62, ...
the independent conference and the colonial athletic association both received how many bids ?
SELECT "bids" FROM table_203_187 WHERE "conference" = 'independent'
[ 1169, 4795, 4495, 290, 262, 17091, 15177, 8112, 1111, 2722, 703, 867, 27837, 5633, 46506, 366, 65, 2340, 1, 16034, 3084, 62, 22416, 62, 23451, 33411, 366, 41124, 1, 796, 705, 34750, 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 ]
[ 1169, 4795, 4495, 290, 262, 17091, 15177, 8112, 1111, 2722, 703, 867, 27837, 5633, 46506, 366, 65, 2340, 1, 16034, 3084, 62, 22416, 62, 23451, 33411, 366, 41124, 1, 796, 705, 34750, 6 ]
Which Long has redshirt for its Avg/G?
SELECT "Long" FROM table_48434 WHERE "Avg/G" = 'redshirt'
[ 13828, 5882, 468, 2266, 15600, 329, 663, 33455, 14, 38, 30, 46506, 366, 14617, 1, 16034, 3084, 62, 34137, 2682, 33411, 366, 48997, 14, 38, 1, 796, 705, 445, 15600, 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 ]
[ 13828, 5882, 468, 2266, 15600, 329, 663, 33455, 14, 38, 30, 46506, 366, 14617, 1, 16034, 3084, 62, 34137, 2682, 33411, 366, 48997, 14, 38, 1, 796, 705, 445, 15600, 6 ]
What is the netflow version when vendor and type is pc and servers?
SELECT netflow_version FROM table_1206114_2 WHERE vendor_and_type = "PC and Servers"
[ 2061, 318, 262, 2010, 11125, 2196, 618, 18371, 290, 2099, 318, 40653, 290, 9597, 30, 46506, 2010, 11125, 62, 9641, 16034, 3084, 62, 1065, 3312, 16562, 62, 17, 33411, 18371, 62, 392, 62, 4906, 796, 366, 5662, 290, 2930, 690, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2010, 11125, 2196, 618, 18371, 290, 2099, 318, 40653, 290, 9597, 30, 46506, 2010, 11125, 62, 9641, 16034, 3084, 62, 1065, 3312, 16562, 62, 17, 33411, 18371, 62, 392, 62, 4906, 796, 366, 5662, 290, 2930, 690, 1 ]
What is the average salary of employees who have a commission percentage that is not null?
SELECT department_id, AVG(salary) FROM employees WHERE commission_pct <> "null" GROUP BY department_id
[ 2061, 318, 262, 2811, 9588, 286, 4409, 508, 423, 257, 5810, 5873, 326, 318, 407, 9242, 30, 46506, 5011, 62, 312, 11, 35224, 7, 21680, 560, 8, 16034, 4409, 33411, 5810, 62, 79, 310, 1279, 29, 366, 8423, 1, 44441, 11050, 5011, 62, 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 ]
[ 2061, 318, 262, 2811, 9588, 286, 4409, 508, 423, 257, 5810, 5873, 326, 318, 407, 9242, 30, 46506, 5011, 62, 312, 11, 35224, 7, 21680, 560, 8, 16034, 4409, 33411, 5810, 62, 79, 310, 1279, 29, 366, 8423, 1, 44441, 11050, 5011, 62, 3...
Find meter_200 and the sum of meter_100 , and group by attribute meter_200, and visualize them by a bar chart, and show by the X from low to high.
SELECT meter_200, SUM(meter_100) FROM swimmer GROUP BY meter_200 ORDER BY meter_200
[ 16742, 16430, 62, 2167, 290, 262, 2160, 286, 16430, 62, 3064, 837, 290, 1448, 416, 11688, 16430, 62, 2167, 11, 290, 38350, 606, 416, 257, 2318, 8262, 11, 290, 905, 416, 262, 1395, 422, 1877, 284, 1029, 13, 46506, 16430, 62, 2167, 11...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 16430, 62, 2167, 290, 262, 2160, 286, 16430, 62, 3064, 837, 290, 1448, 416, 11688, 16430, 62, 2167, 11, 290, 38350, 606, 416, 257, 2318, 8262, 11, 290, 905, 416, 262, 1395, 422, 1877, 284, 1029, 13, 46506, 16430, 62, 2167, 11...
Please show the songs that have result 'nominated' at music festivals.
SELECT T2.song FROM music_festival AS T1 JOIN volume AS T2 ON T1.volume = T2.volume_id WHERE T1.result = "Nominated"
[ 5492, 905, 262, 7259, 326, 423, 1255, 705, 26601, 3898, 6, 379, 2647, 25575, 13, 46506, 309, 17, 13, 34050, 16034, 2647, 62, 69, 6743, 7054, 309, 16, 32357, 1268, 6115, 7054, 309, 17, 6177, 309, 16, 13, 29048, 796, 309, 17, 13, 29...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5492, 905, 262, 7259, 326, 423, 1255, 705, 26601, 3898, 6, 379, 2647, 25575, 13, 46506, 309, 17, 13, 34050, 16034, 2647, 62, 69, 6743, 7054, 309, 16, 32357, 1268, 6115, 7054, 309, 17, 6177, 309, 16, 13, 29048, 796, 309, 17, 13, 29...
is patient 24921's arterial bp [diastolic] ever less since 09/2101 than 73.0?
SELECT COUNT(*) > 0 FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 24921)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'arterial bp [dias...
[ 271, 5827, 34620, 2481, 338, 30675, 498, 275, 79, 685, 10989, 459, 4160, 60, 1683, 1342, 1201, 7769, 14, 2481, 486, 621, 8854, 13, 15, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 271, 5827, 34620, 2481, 338, 30675, 498, 275, 79, 685, 10989, 459, 4160, 60, 1683, 1342, 1201, 7769, 14, 2481, 486, 621, 8854, 13, 15, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, ...
what is discharge location and discharge time of subject name james sloan?
SELECT demographic.discharge_location, demographic.dischtime FROM demographic WHERE demographic.name = "James Sloan"
[ 10919, 318, 17655, 4067, 290, 17655, 640, 286, 2426, 1438, 474, 1047, 1017, 24611, 30, 46506, 16728, 13, 6381, 10136, 62, 24886, 11, 16728, 13, 6381, 354, 2435, 16034, 16728, 33411, 16728, 13, 3672, 796, 366, 14731, 43066, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17655, 4067, 290, 17655, 640, 286, 2426, 1438, 474, 1047, 1017, 24611, 30, 46506, 16728, 13, 6381, 10136, 62, 24886, 11, 16728, 13, 6381, 354, 2435, 16034, 16728, 33411, 16728, 13, 3672, 796, 366, 14731, 43066, 1 ]
What is the End Source from the Hartlepool United Loan Club?
SELECT end_source FROM table_name_51 WHERE loan_club = "hartlepool united"
[ 2061, 318, 262, 5268, 8090, 422, 262, 11345, 293, 7742, 1578, 32314, 6289, 30, 46506, 886, 62, 10459, 16034, 3084, 62, 3672, 62, 4349, 33411, 8063, 62, 18664, 796, 366, 18647, 293, 7742, 16503, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5268, 8090, 422, 262, 11345, 293, 7742, 1578, 32314, 6289, 30, 46506, 886, 62, 10459, 16034, 3084, 62, 3672, 62, 4349, 33411, 8063, 62, 18664, 796, 366, 18647, 293, 7742, 16503, 1 ]
how many patients are diagnosed with short title aftrcre traum fx low leg and have iv route of drug administration?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.short_title = "Aftrcre traum fx low leg" AND prescriptions.route = "IV"
[ 4919, 867, 3871, 389, 14641, 351, 1790, 3670, 46088, 6015, 260, 1291, 388, 277, 87, 1877, 1232, 290, 423, 21628, 6339, 286, 2563, 3662, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3871, 389, 14641, 351, 1790, 3670, 46088, 6015, 260, 1291, 388, 277, 87, 1877, 1232, 290, 423, 21628, 6339, 286, 2563, 3662, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, ...
What batting partners batted for pakistan?
SELECT "Batting partners" FROM table_20969 WHERE "Batting team" = 'Pakistan'
[ 2061, 23761, 4887, 45754, 329, 279, 461, 4103, 30, 46506, 366, 24541, 889, 4887, 1, 16034, 3084, 62, 22567, 3388, 33411, 366, 24541, 889, 1074, 1, 796, 705, 38485, 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 ]
[ 2061, 23761, 4887, 45754, 329, 279, 461, 4103, 30, 46506, 366, 24541, 889, 4887, 1, 16034, 3084, 62, 22567, 3388, 33411, 366, 24541, 889, 1074, 1, 796, 705, 38485, 6 ]
Tell me the number of white russian ethnic background patients who are less than 77 years of age.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "WHITE - RUSSIAN" AND demographic.age < "77"
[ 24446, 502, 262, 1271, 286, 2330, 374, 31562, 9450, 4469, 3871, 508, 389, 1342, 621, 8541, 812, 286, 2479, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 38546, 414, 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, 1, 1, 1, 1, 1, 1 ]
[ 24446, 502, 262, 1271, 286, 2330, 374, 31562, 9450, 4469, 3871, 508, 389, 1342, 621, 8541, 812, 286, 2479, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 38546, 414, 796, ...
what were the four most commonly ordered specimen tests since 2104?
SELECT t1.culturesite FROM (SELECT microlab.culturesite, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM microlab WHERE STRFTIME('%y', microlab.culturetakentime) >= '2104' GROUP BY microlab.culturesite) AS t1 WHERE t1.c1 <= 4
[ 10919, 547, 262, 1440, 749, 8811, 6149, 31674, 5254, 1201, 362, 13464, 30, 46506, 256, 16, 13, 40820, 942, 578, 16034, 357, 46506, 4580, 23912, 13, 40820, 942, 578, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 31674, 5254, 1201, 362, 13464, 30, 46506, 256, 16, 13, 40820, 942, 578, 16034, 357, 46506, 4580, 23912, 13, 40820, 942, 578, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, ...
provide the number of patients who are diagnosed with presence of cerebrospinal fluid drainage device and the lab test result is abnormal.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.long_title = "Presence of cerebrospinal fluid drainage device" AND lab.flag = "abnormal"
[ 15234, 485, 262, 1271, 286, 3871, 508, 389, 14641, 351, 4931, 286, 6736, 7957, 2777, 1292, 11711, 37664, 3335, 290, 262, 2248, 1332, 1255, 318, 18801, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 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...
[ 15234, 485, 262, 1271, 286, 3871, 508, 389, 14641, 351, 4931, 286, 6736, 7957, 2777, 1292, 11711, 37664, 3335, 290, 262, 2248, 1332, 1255, 318, 18801, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034...
What is the average number of attendance at home games for each year?
SELECT YEAR, AVG(attendance) FROM home_game GROUP BY YEAR
[ 2061, 318, 262, 2811, 1271, 286, 14858, 379, 1363, 1830, 329, 1123, 614, 30, 46506, 32914, 11, 35224, 7, 1078, 437, 590, 8, 16034, 1363, 62, 6057, 44441, 11050, 32914 ]
[ 1, 1, 1, 1, 1, 1, 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, 2811, 1271, 286, 14858, 379, 1363, 1830, 329, 1123, 614, 30, 46506, 32914, 11, 35224, 7, 1078, 437, 590, 8, 16034, 1363, 62, 6057, 44441, 11050, 32914 ]
Posts with links to other answers and owner has less than 1k reputation.
SELECT p.Score AS "score", p.Id AS "post_link", o.Reputation AS "rep", o.Id AS "user_link" FROM Posts AS p INNER JOIN Users AS o ON o.Id = p.OwnerUserId WHERE LENGTH(p.Body) < 500 AND LOWER(p.Body) LIKE '%check%' AND LOWER(p.Body) LIKE '%this%' AND LOWER(p.Body) LIKE '%answer%' AND LOWER(p.Body) LIKE '%http://stackover...
[ 21496, 351, 6117, 284, 584, 7429, 290, 4870, 468, 1342, 621, 352, 74, 8507, 13, 46506, 279, 13, 26595, 7054, 366, 26675, 1600, 279, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 267, 13, 6207, 7094, 7054, 366, 7856, 1600, 267, 13, 7390...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 21496, 351, 6117, 284, 584, 7429, 290, 4870, 468, 1342, 621, 352, 74, 8507, 13, 46506, 279, 13, 26595, 7054, 366, 26675, 1600, 279, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 267, 13, 6207, 7094, 7054, 366, 7856, 1600, 267, 13, 7390...
What are the ids of all reviewers who have not given 4 stars at least once?
SELECT rid FROM rating WHERE stars <> 4
[ 2061, 389, 262, 220, 2340, 286, 477, 30702, 508, 423, 407, 1813, 604, 5788, 379, 1551, 1752, 30, 46506, 5755, 16034, 7955, 33411, 5788, 1279, 29, 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 ]
[ 2061, 389, 262, 220, 2340, 286, 477, 30702, 508, 423, 407, 1813, 604, 5788, 379, 1551, 1752, 30, 46506, 5755, 16034, 7955, 33411, 5788, 1279, 29, 604 ]
What is the bayonet lug status for a m4 hbar and m4le carbine equipped?
SELECT bayonet_lug FROM table_12834315_5 WHERE barrel_profile = "M4 HBAR" AND name = "M4LE Carbine"
[ 2061, 318, 262, 15489, 36823, 49419, 3722, 329, 257, 285, 19, 289, 5657, 290, 285, 19, 293, 13265, 500, 10911, 30, 46506, 15489, 36823, 62, 75, 1018, 16034, 3084, 62, 12762, 2682, 27936, 62, 20, 33411, 9036, 62, 13317, 796, 366, 44, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15489, 36823, 49419, 3722, 329, 257, 285, 19, 289, 5657, 290, 285, 19, 293, 13265, 500, 10911, 30, 46506, 15489, 36823, 62, 75, 1018, 16034, 3084, 62, 12762, 2682, 27936, 62, 20, 33411, 9036, 62, 13317, 796, 366, 44, ...
What was the total attendance for a result of 7-23 before 1960?
SELECT SUM(attendance) FROM table_name_19 WHERE result = "7-23" AND year < 1960
[ 2061, 373, 262, 2472, 14858, 329, 257, 1255, 286, 767, 12, 1954, 878, 9507, 30, 46506, 35683, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 1129, 33411, 1255, 796, 366, 22, 12, 1954, 1, 5357, 614, 1279, 9507 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2472, 14858, 329, 257, 1255, 286, 767, 12, 1954, 878, 9507, 30, 46506, 35683, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 1129, 33411, 1255, 796, 366, 22, 12, 1954, 1, 5357, 614, 1279, 9507 ]
What season did the player who had the number 26 play on who came from far eastern?
SELECT season FROM table_name_26 WHERE school_club_team = "far eastern" AND number = 26
[ 2061, 1622, 750, 262, 2137, 508, 550, 262, 1271, 2608, 711, 319, 508, 1625, 422, 1290, 10183, 30, 46506, 1622, 16034, 3084, 62, 3672, 62, 2075, 33411, 1524, 62, 18664, 62, 15097, 796, 366, 16370, 10183, 1, 5357, 1271, 796, 2608 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1622, 750, 262, 2137, 508, 550, 262, 1271, 2608, 711, 319, 508, 1625, 422, 1290, 10183, 30, 46506, 1622, 16034, 3084, 62, 3672, 62, 2075, 33411, 1524, 62, 18664, 62, 15097, 796, 366, 16370, 10183, 1, 5357, 1271, 796, 2608 ]
What is every surface against Sweden?
SELECT surface FROM table_24074130_5 WHERE against = "Sweden"
[ 2061, 318, 790, 4417, 1028, 10710, 30, 46506, 4417, 16034, 3084, 62, 1731, 2998, 3901, 1270, 62, 20, 33411, 1028, 796, 366, 10462, 31829, 1 ]
[ 1, 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, 790, 4417, 1028, 10710, 30, 46506, 4417, 16034, 3084, 62, 1731, 2998, 3901, 1270, 62, 20, 33411, 1028, 796, 366, 10462, 31829, 1 ]
what player has $187,500 and score 66-75-71-69=281
SELECT player FROM table_name_4 WHERE money___$__ = "187,500" AND score = 66 - 75 - 71 - 69 = 281
[ 10919, 2137, 468, 720, 23451, 11, 4059, 290, 4776, 7930, 12, 2425, 12, 4869, 12, 3388, 28, 30368, 46506, 2137, 16034, 3084, 62, 3672, 62, 19, 33411, 1637, 17569, 3, 834, 796, 366, 23451, 11, 4059, 1, 5357, 4776, 796, 7930, 532, 5441...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2137, 468, 720, 23451, 11, 4059, 290, 4776, 7930, 12, 2425, 12, 4869, 12, 3388, 28, 30368, 46506, 2137, 16034, 3084, 62, 3672, 62, 19, 33411, 1637, 17569, 3, 834, 796, 366, 23451, 11, 4059, 1, 5357, 4776, 796, 7930, 532, 5441...
What is the total number of different types of codes of products?, show x axis from low to high order please.
SELECT Product_Type_Code, COUNT(Product_Type_Code) FROM Products GROUP BY Product_Type_Code ORDER BY Product_Type_Code
[ 2061, 318, 262, 2472, 1271, 286, 1180, 3858, 286, 12416, 286, 3186, 21747, 905, 2124, 16488, 422, 1877, 284, 1029, 1502, 3387, 13, 46506, 8721, 62, 6030, 62, 10669, 11, 327, 28270, 7, 15667, 62, 6030, 62, 10669, 8, 16034, 18675, 44441...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1271, 286, 1180, 3858, 286, 12416, 286, 3186, 21747, 905, 2124, 16488, 422, 1877, 284, 1029, 1502, 3387, 13, 46506, 8721, 62, 6030, 62, 10669, 11, 327, 28270, 7, 15667, 62, 6030, 62, 10669, 8, 16034, 18675, 44441...
what is the one thing patient 3535 was diagnosed with during a year before for the first time?
SELECT d_icd_diagnoses.short_title FROM d_icd_diagnoses WHERE d_icd_diagnoses.icd9_code IN (SELECT diagnoses_icd.icd9_code FROM diagnoses_icd WHERE diagnoses_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 3535) AND DATETIME(diagnoses_icd.charttime, 'start of year') = DATETIME(CU...
[ 10919, 318, 262, 530, 1517, 5827, 3439, 2327, 373, 14641, 351, 1141, 257, 614, 878, 329, 262, 717, 640, 30, 46506, 288, 62, 291, 67, 62, 47356, 4629, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 47356, 4629, 33411, 288, 62, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 530, 1517, 5827, 3439, 2327, 373, 14641, 351, 1141, 257, 614, 878, 329, 262, 717, 640, 30, 46506, 288, 62, 291, 67, 62, 47356, 4629, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 47356, 4629, 33411, 288, 62, 2...
What is the status of the city/state of Indor, Madhya Pradesh?
SELECT "Status Date" FROM table_67263 WHERE "City/State" = 'indor, madhya pradesh'
[ 2061, 318, 262, 3722, 286, 262, 1748, 14, 5219, 286, 1423, 273, 11, 4627, 48812, 25945, 30, 46506, 366, 19580, 7536, 1, 16034, 3084, 62, 3134, 29558, 33411, 366, 14941, 14, 9012, 1, 796, 705, 521, 273, 11, 8805, 48812, 778, 13410, 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 ]
[ 2061, 318, 262, 3722, 286, 262, 1748, 14, 5219, 286, 1423, 273, 11, 4627, 48812, 25945, 30, 46506, 366, 19580, 7536, 1, 16034, 3084, 62, 3134, 29558, 33411, 366, 14941, 14, 9012, 1, 796, 705, 521, 273, 11, 8805, 48812, 778, 13410, 6...
What are some of the 400 / 500 -level PHYSICS courses with the least workload ?
SELECT DISTINCT course.department, course.name, course.number, program_course.workload FROM course INNER JOIN program_course WHERE ((course.number < 400 + 100 AND course.number >= 400) OR (course.number < 500 + 100 AND course.number >= 500)) AND course.department = 'PHYSICS' AND program_course.workload = (SELECT MIN(PR...
[ 2061, 389, 617, 286, 262, 7337, 1220, 5323, 532, 5715, 9370, 16309, 19505, 10902, 351, 262, 1551, 26211, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 11, 1430, 62, 17319, 13, 1818...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 617, 286, 262, 7337, 1220, 5323, 532, 5715, 9370, 16309, 19505, 10902, 351, 262, 1551, 26211, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 11, 1430, 62, 17319, 13, 1818...
What is the torque of the xdrive20d model, which has a power of ps (kw; hp)@4000?
SELECT torque FROM table_name_60 WHERE power = "ps (kw; hp)@4000" AND model = "xdrive20d"
[ 2061, 318, 262, 26415, 286, 262, 2124, 19472, 1238, 67, 2746, 11, 543, 468, 257, 1176, 286, 26692, 357, 46265, 26, 27673, 8, 31, 27559, 30, 46506, 26415, 16034, 3084, 62, 3672, 62, 1899, 33411, 1176, 796, 366, 862, 357, 46265, 26, 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, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 26415, 286, 262, 2124, 19472, 1238, 67, 2746, 11, 543, 468, 257, 1176, 286, 26692, 357, 46265, 26, 27673, 8, 31, 27559, 30, 46506, 26415, 16034, 3084, 62, 3672, 62, 1899, 33411, 1176, 796, 366, 862, 357, 46265, 26, 2...
When was the Australian open?
SELECT MAX(australian_open) FROM table_197638_7
[ 2215, 373, 262, 6638, 1280, 30, 46506, 25882, 7, 64, 436, 1373, 666, 62, 9654, 8, 16034, 3084, 62, 38108, 2548, 62, 22 ]
[ 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, 6638, 1280, 30, 46506, 25882, 7, 64, 436, 1373, 666, 62, 9654, 8, 16034, 3084, 62, 38108, 2548, 62, 22 ]
Show the number of documents in different starting date and group by starting date with a line chart.
SELECT Date_in_Location_From, COUNT(Date_in_Location_From) FROM Document_Locations GROUP BY Date_in_Location_From
[ 15307, 262, 1271, 286, 4963, 287, 1180, 3599, 3128, 290, 1448, 416, 3599, 3128, 351, 257, 1627, 8262, 13, 46506, 7536, 62, 259, 62, 14749, 62, 4863, 11, 327, 28270, 7, 10430, 62, 259, 62, 14749, 62, 4863, 8, 16034, 16854, 62, 43, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 287, 1180, 3599, 3128, 290, 1448, 416, 3599, 3128, 351, 257, 1627, 8262, 13, 46506, 7536, 62, 259, 62, 14749, 62, 4863, 11, 327, 28270, 7, 10430, 62, 259, 62, 14749, 62, 4863, 8, 16034, 16854, 62, 43, ...
For those employees who do not work in departments with managers that have ids between 100 and 200, return a bar chart about the distribution of last_name and commission_pct , and could you sort by the COMMISSION_PCT in descending?
SELECT LAST_NAME, COMMISSION_PCT FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY COMMISSION_PCT DESC
[ 1890, 883, 4409, 508, 466, 407, 670, 287, 13346, 351, 11663, 326, 423, 220, 2340, 1022, 1802, 290, 939, 11, 1441, 257, 2318, 8262, 546, 262, 6082, 286, 938, 62, 3672, 290, 5810, 62, 79, 310, 837, 290, 714, 345, 3297, 416, 262, 222...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 466, 407, 670, 287, 13346, 351, 11663, 326, 423, 220, 2340, 1022, 1802, 290, 939, 11, 1441, 257, 2318, 8262, 546, 262, 6082, 286, 938, 62, 3672, 290, 5810, 62, 79, 310, 837, 290, 714, 345, 3297, 416, 262, 222...
what is the total number of schools that are now vacant ?
SELECT COUNT("school name") FROM table_203_40 WHERE "building status" = 'vacant'
[ 10919, 318, 262, 2472, 1271, 286, 4266, 326, 389, 783, 23957, 5633, 46506, 327, 28270, 7203, 14347, 1438, 4943, 16034, 3084, 62, 22416, 62, 1821, 33411, 366, 16894, 3722, 1, 796, 705, 85, 330, 415, 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 ]
[ 10919, 318, 262, 2472, 1271, 286, 4266, 326, 389, 783, 23957, 5633, 46506, 327, 28270, 7203, 14347, 1438, 4943, 16034, 3084, 62, 22416, 62, 1821, 33411, 366, 16894, 3722, 1, 796, 705, 85, 330, 415, 6 ]
Which Score has an Opponent in the final of mehdi tahiri?
SELECT score FROM table_name_96 WHERE opponent_in_the_final = "mehdi tahiri"
[ 13828, 15178, 468, 281, 9385, 3471, 287, 262, 2457, 286, 502, 71, 10989, 256, 993, 14783, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 4846, 33411, 6125, 62, 259, 62, 1169, 62, 20311, 796, 366, 1326, 71, 10989, 256, 993, 14783, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15178, 468, 281, 9385, 3471, 287, 262, 2457, 286, 502, 71, 10989, 256, 993, 14783, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 4846, 33411, 6125, 62, 259, 62, 1169, 62, 20311, 796, 366, 1326, 71, 10989, 256, 993, 14783, 1 ]
Proof that there are spaces.
SELECT Id AS "post_link", Body FROM Posts WHERE OwnerUserId = '##UserId##' AND PostTypeId = 2 AND Body LIKE '%snippet%' ORDER BY CreationDate DESC LIMIT 100
[ 44683, 326, 612, 389, 9029, 13, 46506, 5121, 7054, 366, 7353, 62, 8726, 1600, 12290, 16034, 12043, 33411, 23853, 12982, 7390, 796, 705, 2235, 12982, 7390, 2235, 6, 5357, 2947, 6030, 7390, 796, 362, 5357, 12290, 34178, 705, 4, 16184, 397...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 44683, 326, 612, 389, 9029, 13, 46506, 5121, 7054, 366, 7353, 62, 8726, 1600, 12290, 16034, 12043, 33411, 23853, 12982, 7390, 796, 705, 2235, 12982, 7390, 2235, 6, 5357, 2947, 6030, 7390, 796, 362, 5357, 12290, 34178, 705, 4, 16184, 397...
Give the admission time and discharge time of Alice Nixon.
SELECT demographic.admittime, demographic.dischtime FROM demographic WHERE demographic.name = "Alice Nixon"
[ 23318, 262, 13938, 640, 290, 17655, 640, 286, 14862, 16642, 13, 46506, 16728, 13, 324, 20124, 524, 11, 16728, 13, 6381, 354, 2435, 16034, 16728, 33411, 16728, 13, 3672, 796, 366, 44484, 16642, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 262, 13938, 640, 290, 17655, 640, 286, 14862, 16642, 13, 46506, 16728, 13, 324, 20124, 524, 11, 16728, 13, 6381, 354, 2435, 16034, 16728, 33411, 16728, 13, 3672, 796, 366, 44484, 16642, 1 ]
What Rank in Respective Divisions has a capacity of 4100?
SELECT Rank IN Respective AS divisions FROM table_name_60 WHERE capacity = "4100"
[ 2061, 10916, 287, 42153, 425, 4777, 3279, 468, 257, 5339, 286, 604, 3064, 30, 46506, 10916, 3268, 42153, 425, 7054, 17397, 16034, 3084, 62, 3672, 62, 1899, 33411, 5339, 796, 366, 19, 3064, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10916, 287, 42153, 425, 4777, 3279, 468, 257, 5339, 286, 604, 3064, 30, 46506, 10916, 3268, 42153, 425, 7054, 17397, 16034, 3084, 62, 3672, 62, 1899, 33411, 5339, 796, 366, 19, 3064, 1 ]
11th of 26, and a 17th larger than 16 has what highest 30th?
SELECT MAX("30th") FROM table_38989 WHERE "11th" = '26' AND "17th" > '16'
[ 1157, 400, 286, 2608, 11, 290, 257, 1596, 400, 4025, 621, 1467, 468, 644, 4511, 1542, 400, 30, 46506, 25882, 7203, 1270, 400, 4943, 16034, 3084, 62, 2548, 42520, 33411, 366, 1157, 400, 1, 796, 705, 2075, 6, 5357, 366, 1558, 400, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1157, 400, 286, 2608, 11, 290, 257, 1596, 400, 4025, 621, 1467, 468, 644, 4511, 1542, 400, 30, 46506, 25882, 7203, 1270, 400, 4943, 16034, 3084, 62, 2548, 42520, 33411, 366, 1157, 400, 1, 796, 705, 2075, 6, 5357, 366, 1558, 400, 1, ...
Name the original air date for 7 1-07
SELECT original_airdate FROM table_24222929_4 WHERE episode_number_production_number = "7 1-07"
[ 5376, 262, 2656, 1633, 3128, 329, 767, 352, 12, 2998, 46506, 2656, 62, 958, 4475, 16034, 3084, 62, 1731, 1828, 1959, 1959, 62, 19, 33411, 4471, 62, 17618, 62, 25493, 62, 17618, 796, 366, 22, 352, 12, 2998, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2656, 1633, 3128, 329, 767, 352, 12, 2998, 46506, 2656, 62, 958, 4475, 16034, 3084, 62, 1731, 1828, 1959, 1959, 62, 19, 33411, 4471, 62, 17618, 62, 25493, 62, 17618, 796, 366, 22, 352, 12, 2998, 1 ]
provide the number of patients whose death status is 0 and procedure short title is liver transplant nec?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.expire_flag = "0" AND procedures.short_title = "Liver transplant NEC"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 1918, 3722, 318, 657, 290, 8771, 1790, 3670, 318, 14383, 23319, 27576, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1918, 3722, 318, 657, 290, 8771, 1790, 3670, 318, 14383, 23319, 27576, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, ...
Return a bar chart about the distribution of ACC_Regular_Season and ACC_Percent , order in asc by the ACC_Regular_Season.
SELECT ACC_Regular_Season, ACC_Percent FROM basketball_match ORDER BY ACC_Regular_Season
[ 13615, 257, 2318, 8262, 546, 262, 6082, 286, 15859, 62, 40164, 62, 18960, 290, 15859, 62, 31905, 837, 1502, 287, 10570, 416, 262, 15859, 62, 40164, 62, 18960, 13, 46506, 15859, 62, 40164, 62, 18960, 11, 15859, 62, 31905, 16034, 9669, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13615, 257, 2318, 8262, 546, 262, 6082, 286, 15859, 62, 40164, 62, 18960, 290, 15859, 62, 31905, 837, 1502, 287, 10570, 416, 262, 15859, 62, 40164, 62, 18960, 13, 46506, 15859, 62, 40164, 62, 18960, 11, 15859, 62, 31905, 16034, 9669, ...
Which position had 3 podiums and F/laps of 4?
SELECT "Position" FROM table_49320 WHERE "Podiums" = '3' AND "F/Laps" = '4'
[ 13828, 2292, 550, 513, 27941, 82, 290, 376, 14, 75, 1686, 286, 604, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 2920, 19504, 33411, 366, 47, 12664, 82, 1, 796, 705, 18, 6, 5357, 366, 37, 14, 43, 1686, 1, 796, 705, 19, 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 ]
[ 13828, 2292, 550, 513, 27941, 82, 290, 376, 14, 75, 1686, 286, 604, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 2920, 19504, 33411, 366, 47, 12664, 82, 1, 796, 705, 18, 6, 5357, 366, 37, 14, 43, 1686, 1, 796, 705, 19, 6 ]
What is the total number of ratings that has more than 3 stars?
SELECT COUNT(*) FROM rating WHERE stars > 3
[ 2061, 318, 262, 2472, 1271, 286, 10109, 326, 468, 517, 621, 513, 5788, 30, 46506, 327, 28270, 7, 28104, 16034, 7955, 33411, 5788, 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 ]
[ 2061, 318, 262, 2472, 1271, 286, 10109, 326, 468, 517, 621, 513, 5788, 30, 46506, 327, 28270, 7, 28104, 16034, 7955, 33411, 5788, 1875, 513 ]
When brive is the proceed to quarter final how many were eliminated from competition?
SELECT COUNT(eliminated_from_competition) FROM table_27987767_3 WHERE proceed_to_quarter_final = "Brive"
[ 2215, 275, 11590, 318, 262, 5120, 284, 3860, 2457, 703, 867, 547, 15254, 422, 5449, 30, 46506, 327, 28270, 7, 417, 320, 3898, 62, 6738, 62, 5589, 15620, 8, 16034, 3084, 62, 1983, 4089, 3324, 3134, 62, 18, 33411, 5120, 62, 1462, 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 ]
[ 2215, 275, 11590, 318, 262, 5120, 284, 3860, 2457, 703, 867, 547, 15254, 422, 5449, 30, 46506, 327, 28270, 7, 417, 320, 3898, 62, 6738, 62, 5589, 15620, 8, 16034, 3084, 62, 1983, 4089, 3324, 3134, 62, 18, 33411, 5120, 62, 1462, 62, ...
What is the software platform that is most common amongst all devices?
SELECT software_platform FROM device GROUP BY software_platform ORDER BY COUNT(*) DESC LIMIT 1
[ 2061, 318, 262, 3788, 3859, 326, 318, 749, 2219, 12077, 477, 4410, 30, 46506, 3788, 62, 24254, 16034, 3335, 44441, 11050, 3788, 62, 24254, 38678, 11050, 327, 28270, 7, 28104, 22196, 34, 27564, 2043, 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, 1, 1, 1 ]
[ 2061, 318, 262, 3788, 3859, 326, 318, 749, 2219, 12077, 477, 4410, 30, 46506, 3788, 62, 24254, 16034, 3335, 44441, 11050, 3788, 62, 24254, 38678, 11050, 327, 28270, 7, 28104, 22196, 34, 27564, 2043, 352 ]
Which pick's player was Marc Lewis (lhp)?
SELECT pick FROM table_name_76 WHERE player = "marc lewis (lhp)"
[ 13828, 2298, 338, 2137, 373, 13067, 10174, 357, 75, 24831, 19427, 46506, 2298, 16034, 3084, 62, 3672, 62, 4304, 33411, 2137, 796, 366, 3876, 66, 443, 86, 271, 357, 75, 24831, 16725 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 2298, 338, 2137, 373, 13067, 10174, 357, 75, 24831, 19427, 46506, 2298, 16034, 3084, 62, 3672, 62, 4304, 33411, 2137, 796, 366, 3876, 66, 443, 86, 271, 357, 75, 24831, 16725 ]