instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
count the number of patients whose age is less than 68 and drug code is maal30l?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.age < "68" AND prescriptions.formulary_drug_cd = "MAAL30L"
[ 9127, 262, 1271, 286, 3871, 3025, 2479, 318, 1342, 621, 8257, 290, 2563, 2438, 318, 17266, 282, 1270, 75, 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, 18108, 76, 62, 312, 33411, 16728, 13, 496, 1279, 366, 3104, 1, 5357, 34092, 13, 687, 377, 560, 62, 30349, 62, 10210, 796, 366, 5673, 1847, 1270, 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, 1, 1, 1, 1, 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, 2479, 318, 1342, 621, 8257, 290, 2563, 2438, 318, 17266, 282, 1270, 75, 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, 18108, 76, 62, 312, 33411, 16728, 13, 496, 1279, 366, 3104, 1, 5357, 34092, 13, 687, 377, 560, 62, 30349, 62, 10210, 796, 366, 5673, 1847, 1270, 43, 1 ]
How many instructors for every course in 2008? Show me a bar chart grouping by course title, could you order from low to high by the X?
SELECT title, COUNT(title) FROM course AS T1 JOIN teaches AS T2 ON T1.course_id = T2.course_id JOIN instructor AS T3 ON T2.ID = T3.ID WHERE year = 2008 GROUP BY title ORDER BY title
[ 2437, 867, 33667, 329, 790, 1781, 287, 3648, 30, 5438, 502, 257, 2318, 8262, 36115, 416, 1781, 3670, 11, 714, 345, 1502, 422, 1877, 284, 1029, 416, 262, 1395, 30, 46506, 3670, 11, 327, 28270, 7, 7839, 8, 16034, 1781, 7054, 309, 16, 32357, 1268, 17324, 7054, 309, 17, 6177, 309, 16, 13, 17319, 62, 312, 796, 309, 17, 13, 17319, 62, 312, 32357, 1268, 21187, 7054, 309, 18, 6177, 309, 17, 13, 2389, 796, 309, 18, 13, 2389, 33411, 614, 796, 3648, 44441, 11050, 3670, 38678, 11050, 3670 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 33667, 329, 790, 1781, 287, 3648, 30, 5438, 502, 257, 2318, 8262, 36115, 416, 1781, 3670, 11, 714, 345, 1502, 422, 1877, 284, 1029, 416, 262, 1395, 30, 46506, 3670, 11, 327, 28270, 7, 7839, 8, 16034, 1781, 7054, 309, 16, 32357, 1268, 17324, 7054, 309, 17, 6177, 309, 16, 13, 17319, 62, 312, 796, 309, 17, 13, 17319, 62, 312, 32357, 1268, 21187, 7054, 309, 18, 6177, 309, 17, 13, 2389, 796, 309, 18, 13, 2389, 33411, 614, 796, 3648, 44441, 11050, 3670, 38678, 11050, 3670 ]
What is the total amount of bronze medals a team with 1 gold and more than 3 silver medals has?
SELECT SUM("Bronze") FROM table_54760 WHERE "Gold" = '1' AND "Silver" > '3'
[ 2061, 318, 262, 2472, 2033, 286, 22101, 28057, 257, 1074, 351, 352, 3869, 290, 517, 621, 513, 8465, 28057, 468, 30, 46506, 35683, 7203, 18760, 2736, 4943, 16034, 3084, 62, 20, 2857, 1899, 33411, 366, 13306, 1, 796, 705, 16, 6, 5357, 366, 26766, 1, 1875, 705, 18, 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 ]
[ 2061, 318, 262, 2472, 2033, 286, 22101, 28057, 257, 1074, 351, 352, 3869, 290, 517, 621, 513, 8465, 28057, 468, 30, 46506, 35683, 7203, 18760, 2736, 4943, 16034, 3084, 62, 20, 2857, 1899, 33411, 366, 13306, 1, 796, 705, 16, 6, 5357, 366, 26766, 1, 1875, 705, 18, 6 ]
What is the total subframe count with Bits of 18 22?
SELECT SUM(subframe__number) FROM table_name_48 WHERE bits = "18–22"
[ 2061, 318, 262, 2472, 850, 14535, 954, 351, 44733, 286, 1248, 2534, 30, 46506, 35683, 7, 7266, 14535, 834, 17618, 8, 16034, 3084, 62, 3672, 62, 2780, 33411, 10340, 796, 366, 1507, 1906, 1828, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 850, 14535, 954, 351, 44733, 286, 1248, 2534, 30, 46506, 35683, 7, 7266, 14535, 834, 17618, 8, 16034, 3084, 62, 3672, 62, 2780, 33411, 10340, 796, 366, 1507, 1906, 1828, 1 ]
Name the most pick # for overall of 204
SELECT MAX("Pick #") FROM table_14583 WHERE "Overall" = '204'
[ 5376, 262, 749, 2298, 1303, 329, 4045, 286, 26956, 46506, 25882, 7203, 31686, 1303, 4943, 16034, 3084, 62, 1415, 46239, 33411, 366, 16350, 1, 796, 705, 18638, 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 ]
[ 5376, 262, 749, 2298, 1303, 329, 4045, 286, 26956, 46506, 25882, 7203, 31686, 1303, 4943, 16034, 3084, 62, 1415, 46239, 33411, 366, 16350, 1, 796, 705, 18638, 6 ]
For those records from the products and each product's manufacturer, a bar chart shows the distribution of name and the sum of revenue , and group by attribute name, and sort y axis in ascending order.
SELECT T2.Name, T2.Revenue FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name ORDER BY T2.Revenue
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 257, 2318, 8262, 2523, 262, 6082, 286, 1438, 290, 262, 2160, 286, 6426, 837, 290, 1448, 416, 11688, 1438, 11, 290, 3297, 331, 16488, 287, 41988, 1502, 13, 46506, 309, 17, 13, 5376, 11, 309, 17, 13, 3041, 4080, 16034, 18675, 7054, 309, 16, 32357, 1268, 17858, 17496, 7054, 309, 17, 6177, 309, 16, 13, 44445, 15051, 796, 309, 17, 13, 10669, 44441, 11050, 309, 17, 13, 5376, 38678, 11050, 309, 17, 13, 3041, 4080 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 257, 2318, 8262, 2523, 262, 6082, 286, 1438, 290, 262, 2160, 286, 6426, 837, 290, 1448, 416, 11688, 1438, 11, 290, 3297, 331, 16488, 287, 41988, 1502, 13, 46506, 309, 17, 13, 5376, 11, 309, 17, 13, 3041, 4080, 16034, 18675, 7054, 309, 16, 32357, 1268, 17858, 17496, 7054, 309, 17, 6177, 309, 16, 13, 44445, 15051, 796, 309, 17, 13, 10669, 44441, 11050, 309, 17, 13, 5376, 38678, 11050, 309, 17, 13, 3041, 4080 ]
Given the titles of all courses, in order of titles and credits.
SELECT title FROM course ORDER BY title, credits
[ 15056, 262, 8714, 286, 477, 10902, 11, 287, 1502, 286, 8714, 290, 10824, 13, 46506, 3670, 16034, 1781, 38678, 11050, 3670, 11, 10824 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15056, 262, 8714, 286, 477, 10902, 11, 287, 1502, 286, 8714, 290, 10824, 13, 46506, 3670, 16034, 1781, 38678, 11050, 3670, 11, 10824 ]
last year, has any sputum microbiology test been carried out on patient 75658?
SELECT COUNT(*) > 0 FROM microbiologyevents WHERE microbiologyevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 75658) AND microbiologyevents.spec_type_desc = 'sputum' AND DATETIME(microbiologyevents.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year')
[ 12957, 614, 11, 468, 597, 599, 315, 388, 24559, 1435, 1332, 587, 5281, 503, 319, 5827, 5441, 38431, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 24559, 1435, 31534, 33411, 24559, 1435, 31534, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 5441, 38431, 8, 5357, 24559, 1435, 31534, 13, 16684, 62, 4906, 62, 20147, 796, 705, 82, 1996, 388, 6, 5357, 360, 1404, 2767, 12789, 7, 24055, 43592, 31534, 13, 40926, 2435, 11, 705, 9688, 286, 614, 11537, 796, 360, 1404, 2767, 12789, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 12957, 614, 11, 468, 597, 599, 315, 388, 24559, 1435, 1332, 587, 5281, 503, 319, 5827, 5441, 38431, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 24559, 1435, 31534, 33411, 24559, 1435, 31534, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 5441, 38431, 8, 5357, 24559, 1435, 31534, 13, 16684, 62, 4906, 62, 20147, 796, 705, 82, 1996, 388, 6, 5357, 360, 1404, 2767, 12789, 7, 24055, 43592, 31534, 13, 40926, 2435, 11, 705, 9688, 286, 614, 11537, 796, 360, 1404, 2767, 12789, 7 ]
What tournament has q2 as the 2004?
SELECT "Tournament" FROM table_41499 WHERE "2004" = 'q2'
[ 2061, 7756, 468, 10662, 17, 355, 262, 5472, 30, 46506, 366, 51, 5138, 1, 16034, 3084, 62, 37309, 2079, 33411, 366, 15724, 1, 796, 705, 80, 17, 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 ]
[ 2061, 7756, 468, 10662, 17, 355, 262, 5472, 30, 46506, 366, 51, 5138, 1, 16034, 3084, 62, 37309, 2079, 33411, 366, 15724, 1, 796, 705, 80, 17, 6 ]
What country did ekaterina karsten row for with fa listed under notes?
SELECT "Country" FROM table_66482 WHERE "Notes" = 'fa' AND "Athlete" = 'ekaterina karsten'
[ 2061, 1499, 750, 304, 74, 729, 1437, 479, 283, 26400, 5752, 329, 351, 24685, 5610, 739, 4710, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 21, 2414, 6469, 33411, 366, 16130, 1, 796, 705, 13331, 6, 5357, 366, 32, 400, 5807, 1, 796, 705, 988, 729, 1437, 479, 283, 26400, 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 ]
[ 2061, 1499, 750, 304, 74, 729, 1437, 479, 283, 26400, 5752, 329, 351, 24685, 5610, 739, 4710, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 21, 2414, 6469, 33411, 366, 16130, 1, 796, 705, 13331, 6, 5357, 366, 32, 400, 5807, 1, 796, 705, 988, 729, 1437, 479, 283, 26400, 6 ]
what were the five most frequent drugs prescribed for patients who were also prescribed with benicar at the same time since 4 years 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 = 'benicar' AND DATETIME(prescriptions.startdate) >= DATETIME(CURRENT_TIME(), '-4 year')) AS t1 JOIN (SELECT admissions.subject_id, prescriptions.drug, prescriptions.startdate FROM prescriptions JOIN admissions ON prescriptions.hadm_id = admissions.hadm_id WHERE DATETIME(prescriptions.startdate) >= DATETIME(CURRENT_TIME(), '-4 year')) AS t2 ON t1.subject_id = t2.subject_id WHERE DATETIME(t1.startdate) = DATETIME(t2.startdate) GROUP BY t2.drug) AS t3 WHERE t3.c1 <= 5
[ 10919, 547, 262, 1936, 749, 10792, 5010, 14798, 329, 3871, 508, 547, 635, 14798, 351, 1888, 291, 283, 379, 262, 976, 640, 1201, 604, 812, 2084, 30, 46506, 256, 18, 13, 30349, 16034, 357, 46506, 256, 17, 13, 30349, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, 7, 28104, 22196, 34, 8, 7054, 269, 16, 16034, 357, 46506, 25349, 13, 32796, 62, 312, 11, 34092, 13, 9688, 4475, 16034, 34092, 32357, 1268, 25349, 6177, 34092, 13, 18108, 76, 62, 312, 796, 25349, 13, 18108, 76, 62, 312, 33411, 34092, 13, 30349, 796, 705, 11722 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1936, 749, 10792, 5010, 14798, 329, 3871, 508, 547, 635, 14798, 351, 1888, 291, 283, 379, 262, 976, 640, 1201, 604, 812, 2084, 30, 46506, 256, 18, 13, 30349, 16034, 357, 46506, 256, 17, 13, 30349, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, 7, 28104, 22196, 34, 8, 7054, 269, 16, 16034, 357, 46506, 25349, 13, 32796, 62, 312, 11, 34092, 13, 9688, 4475, 16034, 34092, 32357, 1268, 25349, 6177, 34092, 13, 18108, 76, 62, 312, 796, 25349, 13, 18108, 76, 62, 312, 33411, 34092, 13, 30349, 796, 705, 11722 ]
List the name of all products along with the number of complaints that they have received, sort in desc by the bars.
SELECT product_name, COUNT(*) FROM Products AS t1 JOIN Complaints AS t2 ON t1.product_id = t2.product_id GROUP BY t1.product_name ORDER BY product_name DESC
[ 8053, 262, 1438, 286, 477, 3186, 1863, 351, 262, 1271, 286, 9687, 326, 484, 423, 2722, 11, 3297, 287, 1715, 416, 262, 9210, 13, 46506, 1720, 62, 3672, 11, 327, 28270, 7, 28104, 16034, 18675, 7054, 256, 16, 32357, 1268, 20011, 6003, 7054, 256, 17, 6177, 256, 16, 13, 11167, 62, 312, 796, 256, 17, 13, 11167, 62, 312, 44441, 11050, 256, 16, 13, 11167, 62, 3672, 38678, 11050, 1720, 62, 3672, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8053, 262, 1438, 286, 477, 3186, 1863, 351, 262, 1271, 286, 9687, 326, 484, 423, 2722, 11, 3297, 287, 1715, 416, 262, 9210, 13, 46506, 1720, 62, 3672, 11, 327, 28270, 7, 28104, 16034, 18675, 7054, 256, 16, 32357, 1268, 20011, 6003, 7054, 256, 17, 6177, 256, 16, 13, 11167, 62, 312, 796, 256, 17, 13, 11167, 62, 312, 44441, 11050, 256, 16, 13, 11167, 62, 3672, 38678, 11050, 1720, 62, 3672, 22196, 34 ]
What are the first name, last name and id of the player with the most all star game experiences? Also list the count.
SELECT T1.name_first, T1.name_last, T1.player_id, COUNT(*) FROM player AS T1 JOIN all_star AS T2 ON T1.player_id = T2.player_id GROUP BY T1.player_id ORDER BY COUNT(*) DESC LIMIT 1
[ 2061, 389, 262, 717, 1438, 11, 938, 1438, 290, 4686, 286, 262, 2137, 351, 262, 749, 477, 3491, 983, 6461, 30, 4418, 1351, 262, 954, 13, 46506, 309, 16, 13, 3672, 62, 11085, 11, 309, 16, 13, 3672, 62, 12957, 11, 309, 16, 13, 7829, 62, 312, 11, 327, 28270, 7, 28104, 16034, 2137, 7054, 309, 16, 32357, 1268, 477, 62, 7364, 7054, 309, 17, 6177, 309, 16, 13, 7829, 62, 312, 796, 309, 17, 13, 7829, 62, 312, 44441, 11050, 309, 16, 13, 7829, 62, 312, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 717, 1438, 11, 938, 1438, 290, 4686, 286, 262, 2137, 351, 262, 749, 477, 3491, 983, 6461, 30, 4418, 1351, 262, 954, 13, 46506, 309, 16, 13, 3672, 62, 11085, 11, 309, 16, 13, 3672, 62, 12957, 11, 309, 16, 13, 7829, 62, 312, 11, 327, 28270, 7, 28104, 16034, 2137, 7054, 309, 16, 32357, 1268, 477, 62, 7364, 7054, 309, 17, 6177, 309, 16, 13, 7829, 62, 312, 796, 309, 17, 13, 7829, 62, 312, 44441, 11050, 309, 16, 13, 7829, 62, 312, 38678, 11050, 327, 28270, 7, 28104, 22196, 34, 27564, 2043, 352 ]
Will ACABS 470 be offered next semester ?
SELECT COUNT(*) > 0 FROM course, course_offering, semester WHERE course.course_id = course_offering.course_id AND course.department = 'ACABS' AND course.number = 470 AND semester.semester = 'FA' AND semester.semester_id = course_offering.semester AND semester.year = 2016
[ 8743, 27628, 4462, 38634, 307, 4438, 1306, 24878, 5633, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 24878, 33411, 1781, 13, 17319, 62, 312, 796, 1781, 62, 2364, 1586, 13, 17319, 62, 312, 5357, 1781, 13, 10378, 1823, 796, 705, 26576, 4462, 6, 5357, 1781, 13, 17618, 796, 38634, 5357, 24878, 13, 325, 6880, 353, 796, 705, 7708, 6, 5357, 24878, 13, 325, 6880, 353, 62, 312, 796, 1781, 62, 2364, 1586, 13, 325, 6880, 353, 5357, 24878, 13, 1941, 796, 1584 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8743, 27628, 4462, 38634, 307, 4438, 1306, 24878, 5633, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 24878, 33411, 1781, 13, 17319, 62, 312, 796, 1781, 62, 2364, 1586, 13, 17319, 62, 312, 5357, 1781, 13, 10378, 1823, 796, 705, 26576, 4462, 6, 5357, 1781, 13, 17618, 796, 38634, 5357, 24878, 13, 325, 6880, 353, 796, 705, 7708, 6, 5357, 24878, 13, 325, 6880, 353, 62, 312, 796, 1781, 62, 2364, 1586, 13, 325, 6880, 353, 5357, 24878, 13, 1941, 796, 1584 ]
On what Date was the Meet of 2007 Pan American Games with a Time of 1:07.78?
SELECT "Date" FROM table_67969 WHERE "Meet" = '2007 pan american games' AND "Time" = '1:07.78'
[ 2202, 644, 7536, 373, 262, 21167, 286, 4343, 5961, 1605, 5776, 351, 257, 3862, 286, 352, 25, 2998, 13, 3695, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 37601, 3388, 33411, 366, 29318, 1, 796, 705, 12726, 3425, 45630, 272, 1830, 6, 5357, 366, 7575, 1, 796, 705, 16, 25, 2998, 13, 3695, 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 ]
[ 2202, 644, 7536, 373, 262, 21167, 286, 4343, 5961, 1605, 5776, 351, 257, 3862, 286, 352, 25, 2998, 13, 3695, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 37601, 3388, 33411, 366, 29318, 1, 796, 705, 12726, 3425, 45630, 272, 1830, 6, 5357, 366, 7575, 1, 796, 705, 16, 25, 2998, 13, 3695, 6 ]
How many of the patients with parent infus nutrit sub were transferred to a cancer/children hospital?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.discharge_location = "DISC-TRAN CANCER/CHLDRN H" AND procedures.short_title = "Parent infus nutrit sub"
[ 2437, 867, 286, 262, 3871, 351, 2560, 1167, 385, 44867, 850, 547, 11172, 284, 257, 4890, 14, 17197, 4436, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, 13, 18108, 76, 62, 312, 796, 9021, 13, 18108, 76, 62, 312, 33411, 16728, 13, 6381, 10136, 62, 24886, 796, 366, 26288, 34, 12, 5446, 1565, 15628, 34, 1137, 14, 3398, 43, 7707, 45, 367, 1, 5357, 9021, 13, 19509, 62, 7839, 796, 366, 24546, 1167, 385, 44867, 850, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 286, 262, 3871, 351, 2560, 1167, 385, 44867, 850, 547, 11172, 284, 257, 4890, 14, 17197, 4436, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, 13, 18108, 76, 62, 312, 796, 9021, 13, 18108, 76, 62, 312, 33411, 16728, 13, 6381, 10136, 62, 24886, 796, 366, 26288, 34, 12, 5446, 1565, 15628, 34, 1137, 14, 3398, 43, 7707, 45, 367, 1, 5357, 9021, 13, 19509, 62, 7839, 796, 366, 24546, 1167, 385, 44867, 850, 1 ]
what was the difference between the total input and output until 11/05/2105 for patient 14611?
SELECT (SELECT SUM(inputevents_cv.amount) FROM inputevents_cv WHERE inputevents_cv.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 14611)) AND STRFTIME('%y-%m-%d', inputevents_cv.charttime) <= '2105-11-05') - (SELECT SUM(outputevents.value) FROM outputevents WHERE outputevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 14611)) AND STRFTIME('%y-%m-%d', outputevents.charttime) <= '2105-11-05')
[ 10919, 373, 262, 3580, 1022, 262, 2472, 5128, 290, 5072, 1566, 1367, 14, 2713, 14, 17, 13348, 329, 5827, 22986, 1157, 30, 46506, 357, 46506, 35683, 7, 259, 79, 1133, 85, 658, 62, 33967, 13, 17287, 8, 16034, 287, 79, 1133, 85, 658, 62, 33967, 33411, 287, 79, 1133, 85, 658, 62, 33967, 13, 291, 436, 323, 62, 312, 3268, 357, 46506, 14158, 436, 592, 13, 291, 436, 323, 62, 312, 16034, 14158, 436, 592, 33411, 14158, 436, 592, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3580, 1022, 262, 2472, 5128, 290, 5072, 1566, 1367, 14, 2713, 14, 17, 13348, 329, 5827, 22986, 1157, 30, 46506, 357, 46506, 35683, 7, 259, 79, 1133, 85, 658, 62, 33967, 13, 17287, 8, 16034, 287, 79, 1133, 85, 658, 62, 33967, 33411, 287, 79, 1133, 85, 658, 62, 33967, 13, 291, 436, 323, 62, 312, 3268, 357, 46506, 14158, 436, 592, 13, 291, 436, 323, 62, 312, 16034, 14158, 436, 592, 33411, 14158, 436, 592, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, 32796, 62 ]
Which Opponent has a Time of 4:51?
SELECT "Opponent" FROM table_48090 WHERE "Time" = '4:51'
[ 13828, 9385, 3471, 468, 257, 3862, 286, 604, 25, 4349, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 22148, 3829, 33411, 366, 7575, 1, 796, 705, 19, 25, 4349, 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, 9385, 3471, 468, 257, 3862, 286, 604, 25, 4349, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 22148, 3829, 33411, 366, 7575, 1, 796, 705, 19, 25, 4349, 6 ]
How many episodes had New York, New York as the location?
SELECT COUNT("Episode Number") FROM table_3127 WHERE "Location" = 'New York, New York'
[ 2437, 867, 8640, 550, 968, 1971, 11, 968, 1971, 355, 262, 4067, 30, 46506, 327, 28270, 7203, 23758, 7913, 4943, 16034, 3084, 62, 18, 16799, 33411, 366, 14749, 1, 796, 705, 3791, 1971, 11, 968, 1971, 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 ]
[ 2437, 867, 8640, 550, 968, 1971, 11, 968, 1971, 355, 262, 4067, 30, 46506, 327, 28270, 7203, 23758, 7913, 4943, 16034, 3084, 62, 18, 16799, 33411, 366, 14749, 1, 796, 705, 3791, 1971, 11, 968, 1971, 6 ]
count the number of people that died after being diagnosed with hypovolemic shock - hemorrhagic within the same month since 2105.
SELECT COUNT(DISTINCT t2.uniquepid) FROM (SELECT t1.uniquepid, t1.diagnosistime FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'hypovolemic shock - hemorrhagic') AS t1 GROUP BY t1.uniquepid HAVING MIN(t1.diagnosistime) = t1.diagnosistime AND STRFTIME('%y', t1.diagnosistime) >= '2105') AS t2 JOIN (SELECT patient.uniquepid, patient.patienthealthsystemstayid, patient.hospitaldischargetime FROM patient WHERE patient.hospitaldischargestatus = 'expired') AS t3 ON t2.uniquepid = t3.uniquepid WHERE DATETIME(t2.diagnosistime, 'start of month') = DATETIME(t3.hospitaldischargetime, 'start of month')
[ 9127, 262, 1271, 286, 661, 326, 3724, 706, 852, 14641, 351, 5328, 709, 2305, 9383, 6380, 532, 42203, 9083, 1626, 262, 976, 1227, 1201, 362, 13348, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 17, 13, 403, 1557, 538, 312, 8, 16034, 357, 46506, 256, 16, 13, 403, 1557, 538, 312, 11, 256, 16, 13, 47356, 418, 396, 524, 16034, 357, 46506, 5827, 13, 403, 1557, 538, 312, 11, 13669, 13, 47356, 418, 396, 524, 16034, 13669, 32357, 1268, 5827, 6177, 13669, 13, 26029, 20850, 31712, 312, 796, 5827, 13, 26029, 20850, 31712, 312, 33411, 13669, 13, 47356 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 661, 326, 3724, 706, 852, 14641, 351, 5328, 709, 2305, 9383, 6380, 532, 42203, 9083, 1626, 262, 976, 1227, 1201, 362, 13348, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 17, 13, 403, 1557, 538, 312, 8, 16034, 357, 46506, 256, 16, 13, 403, 1557, 538, 312, 11, 256, 16, 13, 47356, 418, 396, 524, 16034, 357, 46506, 5827, 13, 403, 1557, 538, 312, 11, 13669, 13, 47356, 418, 396, 524, 16034, 13669, 32357, 1268, 5827, 6177, 13669, 13, 26029, 20850, 31712, 312, 796, 5827, 13, 26029, 20850, 31712, 312, 33411, 13669, 13, 47356 ]
Give me a bar chart to compare the number of state provinces located in different cities, and list in desc by the names please.
SELECT STATE_PROVINCE, COUNT(STATE_PROVINCE) FROM locations GROUP BY STATE_PROVINCE ORDER BY STATE_PROVINCE DESC
[ 23318, 502, 257, 2318, 8262, 284, 8996, 262, 1271, 286, 1181, 17812, 5140, 287, 1180, 4736, 11, 290, 1351, 287, 1715, 416, 262, 3891, 3387, 13, 46506, 35454, 62, 41283, 1268, 5222, 11, 327, 28270, 7, 44724, 62, 41283, 1268, 5222, 8, 16034, 7064, 44441, 11050, 35454, 62, 41283, 1268, 5222, 38678, 11050, 35454, 62, 41283, 1268, 5222, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 284, 8996, 262, 1271, 286, 1181, 17812, 5140, 287, 1180, 4736, 11, 290, 1351, 287, 1715, 416, 262, 3891, 3387, 13, 46506, 35454, 62, 41283, 1268, 5222, 11, 327, 28270, 7, 44724, 62, 41283, 1268, 5222, 8, 16034, 7064, 44441, 11050, 35454, 62, 41283, 1268, 5222, 38678, 11050, 35454, 62, 41283, 1268, 5222, 22196, 34 ]
What is the least Bodyweight for the Clean & jerk of 145.0, and a Snatch smaller than 122.5?
SELECT MIN("Bodyweight") FROM table_53482 WHERE "Clean & jerk" = '145.0' AND "Snatch" < '122.5'
[ 2061, 318, 262, 1551, 12290, 6551, 329, 262, 5985, 1222, 29757, 286, 20299, 13, 15, 11, 290, 257, 5489, 963, 4833, 621, 19409, 13, 20, 30, 46506, 20625, 7203, 25842, 6551, 4943, 16034, 3084, 62, 20, 2682, 6469, 33411, 366, 32657, 1222, 29757, 1, 796, 705, 18781, 13, 15, 6, 5357, 366, 16501, 963, 1, 1279, 705, 18376, 13, 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, 1, 1, 1, 1, 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, 1551, 12290, 6551, 329, 262, 5985, 1222, 29757, 286, 20299, 13, 15, 11, 290, 257, 5489, 963, 4833, 621, 19409, 13, 20, 30, 46506, 20625, 7203, 25842, 6551, 4943, 16034, 3084, 62, 20, 2682, 6469, 33411, 366, 32657, 1222, 29757, 1, 796, 705, 18781, 13, 15, 6, 5357, 366, 16501, 963, 1, 1279, 705, 18376, 13, 20, 6 ]
What is the affiliation for towson, md?
SELECT "Affiliation" FROM table_37202 WHERE "Location" = 'towson, md'
[ 2061, 318, 262, 26218, 329, 6094, 1559, 11, 45243, 30, 46506, 366, 35191, 15547, 1, 16034, 3084, 62, 2718, 19004, 33411, 366, 14749, 1, 796, 705, 83, 322, 1559, 11, 45243, 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, 318, 262, 26218, 329, 6094, 1559, 11, 45243, 30, 46506, 366, 35191, 15547, 1, 16034, 3084, 62, 2718, 19004, 33411, 366, 14749, 1, 796, 705, 83, 322, 1559, 11, 45243, 6 ]
what is the number of patients whose gender is f and admission location is trsf within this facility?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.gender = "F" AND demographic.admission_location = "TRSF WITHIN THIS FACILITY"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 5279, 318, 277, 290, 13938, 4067, 318, 491, 28202, 1626, 428, 6841, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 8388, 796, 366, 37, 1, 5357, 16728, 13, 324, 3411, 62, 24886, 796, 366, 5446, 20802, 13315, 1268, 12680, 44216, 4146, 9050, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5279, 318, 277, 290, 13938, 4067, 318, 491, 28202, 1626, 428, 6841, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 8388, 796, 366, 37, 1, 5357, 16728, 13, 324, 3411, 62, 24886, 796, 366, 5446, 20802, 13315, 1268, 12680, 44216, 4146, 9050, 1 ]
When 142900 is the population what is the highest rank?
SELECT MAX("Rank") FROM table_25794 WHERE "Population" = '142900'
[ 2215, 1478, 1959, 405, 318, 262, 3265, 644, 318, 262, 4511, 4279, 30, 46506, 25882, 7203, 27520, 4943, 16034, 3084, 62, 1495, 50242, 33411, 366, 45251, 1, 796, 705, 1415, 1959, 405, 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 ]
[ 2215, 1478, 1959, 405, 318, 262, 3265, 644, 318, 262, 4511, 4279, 30, 46506, 25882, 7203, 27520, 4943, 16034, 3084, 62, 1495, 50242, 33411, 366, 45251, 1, 796, 705, 1415, 1959, 405, 6 ]
How many Points for the couple ranking 17 with Placings larger than 100?
SELECT "Points" FROM table_48944 WHERE "Placings" > '100' AND "Rank" = '17'
[ 2437, 867, 11045, 329, 262, 3155, 12759, 1596, 351, 1345, 330, 654, 4025, 621, 1802, 30, 46506, 366, 40710, 1, 16034, 3084, 62, 35890, 2598, 33411, 366, 3646, 330, 654, 1, 1875, 705, 3064, 6, 5357, 366, 27520, 1, 796, 705, 1558, 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 ]
[ 2437, 867, 11045, 329, 262, 3155, 12759, 1596, 351, 1345, 330, 654, 4025, 621, 1802, 30, 46506, 366, 40710, 1, 16034, 3084, 62, 35890, 2598, 33411, 366, 3646, 330, 654, 1, 1875, 705, 3064, 6, 5357, 366, 27520, 1, 796, 705, 1558, 6 ]
Which Nationality has a Name of assyrian?
SELECT "Nationality" FROM table_48280 WHERE "Name" = 'assyrian'
[ 13828, 2351, 414, 468, 257, 6530, 286, 840, 88, 4484, 30, 46506, 366, 16186, 414, 1, 16034, 3084, 62, 2780, 21033, 33411, 366, 5376, 1, 796, 705, 11720, 4484, 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, 2351, 414, 468, 257, 6530, 286, 840, 88, 4484, 30, 46506, 366, 16186, 414, 1, 16034, 3084, 62, 2780, 21033, 33411, 366, 5376, 1, 796, 705, 11720, 4484, 6 ]
body mass index ( bmi ) ranging from 25 to 40 kilogram per square meter ( kg / m^2 ) ( inclusive )
SELECT * FROM table_train_275 WHERE body_mass_index_bmi >= 25 AND body_mass_index_bmi <= 40
[ 2618, 2347, 6376, 357, 275, 11632, 1267, 12897, 422, 1679, 284, 2319, 8769, 21857, 583, 6616, 16430, 357, 14211, 1220, 285, 61, 17, 1267, 357, 19889, 1267, 46506, 1635, 16034, 3084, 62, 27432, 62, 23195, 33411, 1767, 62, 22208, 62, 9630, 62, 65, 11632, 18189, 1679, 5357, 1767, 62, 22208, 62, 9630, 62, 65, 11632, 19841, 2319 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2347, 6376, 357, 275, 11632, 1267, 12897, 422, 1679, 284, 2319, 8769, 21857, 583, 6616, 16430, 357, 14211, 1220, 285, 61, 17, 1267, 357, 19889, 1267, 46506, 1635, 16034, 3084, 62, 27432, 62, 23195, 33411, 1767, 62, 22208, 62, 9630, 62, 65, 11632, 18189, 1679, 5357, 1767, 62, 22208, 62, 9630, 62, 65, 11632, 19841, 2319 ]
Visualize a bar chart about the number of winery of the wines whose price is bigger than 100, and rank X in ascending order.
SELECT Winery, COUNT(Winery) FROM wine WHERE Price > 100 GROUP BY Winery ORDER BY Winery
[ 36259, 1096, 257, 2318, 8262, 546, 262, 1271, 286, 1592, 1924, 286, 262, 30680, 3025, 2756, 318, 5749, 621, 1802, 11, 290, 4279, 1395, 287, 41988, 1502, 13, 46506, 7178, 1924, 11, 327, 28270, 7, 54, 15451, 8, 16034, 8237, 33411, 7886, 1875, 1802, 44441, 11050, 7178, 1924, 38678, 11050, 7178, 1924 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 36259, 1096, 257, 2318, 8262, 546, 262, 1271, 286, 1592, 1924, 286, 262, 30680, 3025, 2756, 318, 5749, 621, 1802, 11, 290, 4279, 1395, 287, 41988, 1502, 13, 46506, 7178, 1924, 11, 327, 28270, 7, 54, 15451, 8, 16034, 8237, 33411, 7886, 1875, 1802, 44441, 11050, 7178, 1924, 38678, 11050, 7178, 1924 ]
What is the score of the game on June 9?
SELECT score FROM table_name_75 WHERE date = "june 9"
[ 2061, 318, 262, 4776, 286, 262, 983, 319, 2795, 860, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 2425, 33411, 3128, 796, 366, 73, 1726, 860, 1 ]
[ 1, 1, 1, 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, 286, 262, 983, 319, 2795, 860, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 2425, 33411, 3128, 796, 366, 73, 1726, 860, 1 ]
What was the score of the game against away team crewe alexandra?
SELECT "Score" FROM table_79085 WHERE "Away team" = 'crewe alexandra'
[ 2061, 373, 262, 4776, 286, 262, 983, 1028, 1497, 1074, 1126, 732, 257, 2588, 15918, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 3720, 2919, 20, 33411, 366, 32, 1014, 1074, 1, 796, 705, 7513, 732, 257, 2588, 15918, 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 ]
[ 2061, 373, 262, 4776, 286, 262, 983, 1028, 1497, 1074, 1126, 732, 257, 2588, 15918, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 3720, 2919, 20, 33411, 366, 32, 1014, 1074, 1, 796, 705, 7513, 732, 257, 2588, 15918, 6 ]
What method did the match at Club Med Sandpiper have?
SELECT "Method" FROM table_50742 WHERE "Venue" = 'club med sandpiper'
[ 2061, 2446, 750, 262, 2872, 379, 6289, 2019, 3837, 79, 9346, 423, 30, 46506, 366, 17410, 1, 16034, 3084, 62, 35378, 3682, 33411, 366, 37522, 518, 1, 796, 705, 18664, 1117, 6450, 79, 9346, 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, 2446, 750, 262, 2872, 379, 6289, 2019, 3837, 79, 9346, 423, 30, 46506, 366, 17410, 1, 16034, 3084, 62, 35378, 3682, 33411, 366, 37522, 518, 1, 796, 705, 18664, 1117, 6450, 79, 9346, 6 ]
What is the Date of Week 2?
SELECT "Date" FROM table_37245 WHERE "Week" = '2'
[ 2061, 318, 262, 7536, 286, 6119, 362, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 2718, 22995, 33411, 366, 20916, 1, 796, 705, 17, 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 ]
[ 2061, 318, 262, 7536, 286, 6119, 362, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 2718, 22995, 33411, 366, 20916, 1, 796, 705, 17, 6 ]
What is the to par of Tiger Woods, where his score was less than 67, and he was in t1 place?
SELECT to_par FROM table_name_98 WHERE score < 67 AND place = "t1" AND player = "tiger woods"
[ 2061, 318, 262, 284, 1582, 286, 17030, 16483, 11, 810, 465, 4776, 373, 1342, 621, 8275, 11, 290, 339, 373, 287, 256, 16, 1295, 30, 46506, 284, 62, 1845, 16034, 3084, 62, 3672, 62, 4089, 33411, 4776, 1279, 8275, 5357, 1295, 796, 366, 83, 16, 1, 5357, 2137, 796, 366, 83, 8254, 16479, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 284, 1582, 286, 17030, 16483, 11, 810, 465, 4776, 373, 1342, 621, 8275, 11, 290, 339, 373, 287, 256, 16, 1295, 30, 46506, 284, 62, 1845, 16034, 3084, 62, 3672, 62, 4089, 33411, 4776, 1279, 8275, 5357, 1295, 796, 366, 83, 16, 1, 5357, 2137, 796, 366, 83, 8254, 16479, 1 ]
A bar chart showing the average weight for each gender, I want to show from low to high by the y axis.
SELECT Sex, AVG(Weight) FROM people GROUP BY Sex ORDER BY AVG(Weight)
[ 32, 2318, 8262, 4478, 262, 2811, 3463, 329, 1123, 5279, 11, 314, 765, 284, 905, 422, 1877, 284, 1029, 416, 262, 331, 16488, 13, 46506, 14419, 11, 35224, 7, 25844, 8, 16034, 661, 44441, 11050, 14419, 38678, 11050, 35224, 7, 25844, 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 ]
[ 32, 2318, 8262, 4478, 262, 2811, 3463, 329, 1123, 5279, 11, 314, 765, 284, 905, 422, 1877, 284, 1029, 416, 262, 331, 16488, 13, 46506, 14419, 11, 35224, 7, 25844, 8, 16034, 661, 44441, 11050, 14419, 38678, 11050, 35224, 7, 25844, 8 ]
uncontrolled hypertension ( sbp > 180 or dbp > 110 ) at time of enrollment.
SELECT * FROM table_dev_60 WHERE hypertension = 1 OR (systolic_blood_pressure_sbp > 180 OR diastolic_blood_pressure_dbp > 110)
[ 403, 14401, 37454, 357, 264, 46583, 1875, 11546, 393, 20613, 79, 1875, 9796, 1267, 379, 640, 286, 20753, 13, 46506, 1635, 16034, 3084, 62, 7959, 62, 1899, 33411, 37454, 796, 352, 6375, 357, 1837, 301, 4160, 62, 18041, 62, 36151, 62, 36299, 79, 1875, 11546, 6375, 2566, 459, 4160, 62, 18041, 62, 36151, 62, 9945, 79, 1875, 9796, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 403, 14401, 37454, 357, 264, 46583, 1875, 11546, 393, 20613, 79, 1875, 9796, 1267, 379, 640, 286, 20753, 13, 46506, 1635, 16034, 3084, 62, 7959, 62, 1899, 33411, 37454, 796, 352, 6375, 357, 1837, 301, 4160, 62, 18041, 62, 36151, 62, 36299, 79, 1875, 11546, 6375, 2566, 459, 4160, 62, 18041, 62, 36151, 62, 9945, 79, 1875, 9796, 8 ]
provide the number of patients whose insurance is private and age is less than 89?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.insurance = "Private" AND demographic.age < "89"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 5096, 318, 2839, 290, 2479, 318, 1342, 621, 9919, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 1040, 3874, 796, 366, 29067, 1, 5357, 16728, 13, 496, 1279, 366, 4531, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5096, 318, 2839, 290, 2479, 318, 1342, 621, 9919, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 1040, 3874, 796, 366, 29067, 1, 5357, 16728, 13, 496, 1279, 366, 4531, 1 ]
how much does it cost multivitamin-12.
SELECT DISTINCT cost.cost FROM cost WHERE cost.event_type = 'prescriptions' AND cost.event_id IN (SELECT prescriptions.row_id FROM prescriptions WHERE prescriptions.drug = 'multivitamin-12')
[ 4919, 881, 857, 340, 1575, 1963, 452, 40746, 12, 1065, 13, 46506, 360, 8808, 1268, 4177, 1575, 13, 15805, 16034, 1575, 33411, 1575, 13, 15596, 62, 4906, 796, 705, 18302, 24370, 6, 5357, 1575, 13, 15596, 62, 312, 3268, 357, 46506, 34092, 13, 808, 62, 312, 16034, 34092, 33411, 34092, 13, 30349, 796, 705, 16680, 452, 40746, 12, 1065, 11537 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 881, 857, 340, 1575, 1963, 452, 40746, 12, 1065, 13, 46506, 360, 8808, 1268, 4177, 1575, 13, 15805, 16034, 1575, 33411, 1575, 13, 15596, 62, 4906, 796, 705, 18302, 24370, 6, 5357, 1575, 13, 15596, 62, 312, 3268, 357, 46506, 34092, 13, 808, 62, 312, 16034, 34092, 33411, 34092, 13, 30349, 796, 705, 16680, 452, 40746, 12, 1065, 11537 ]
Do any Eval Fin Perfmc courses satisfy the Other requirement ?
SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN area ON course.course_id = area.course_id INNER JOIN program_course ON program_course.course_id = course.course_id WHERE (area.area LIKE '%Eval Fin Perfmc%' OR course.description LIKE '%Eval Fin Perfmc%' OR course.name LIKE '%Eval Fin Perfmc%') AND program_course.category LIKE '%Other%'
[ 5211, 597, 26439, 4463, 2448, 69, 23209, 10902, 15959, 262, 3819, 9079, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 3268, 21479, 32357, 1268, 1989, 6177, 1781, 13, 17319, 62, 312, 796, 1989, 13, 17319, 62, 312, 3268, 21479, 32357, 1268, 1430, 62, 17319, 6177, 1430, 62, 17319, 13, 17319, 62, 312, 796, 1781, 13, 17319, 62, 312, 33411, 357, 20337, 13, 20337, 34178, 705, 4, 36, 2100, 4463, 2448, 69, 23209, 4, 6, 6375, 1781, 13, 11213, 34178, 705, 4, 36, 2100, 4463, 2448, 69, 23209, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5211, 597, 26439, 4463, 2448, 69, 23209, 10902, 15959, 262, 3819, 9079, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 3268, 21479, 32357, 1268, 1989, 6177, 1781, 13, 17319, 62, 312, 796, 1989, 13, 17319, 62, 312, 3268, 21479, 32357, 1268, 1430, 62, 17319, 6177, 1430, 62, 17319, 13, 17319, 62, 312, 796, 1781, 13, 17319, 62, 312, 33411, 357, 20337, 13, 20337, 34178, 705, 4, 36, 2100, 4463, 2448, 69, 23209, 4, 6, 6375, 1781, 13, 11213, 34178, 705, 4, 36, 2100, 4463, 2448, 69, 23209, 4 ]
Which home teams had Geelong as the away team?
SELECT "Home team" FROM table_57798 WHERE "Away team" = 'geelong'
[ 13828, 1363, 3466, 550, 2269, 21537, 355, 262, 1497, 1074, 30, 46506, 366, 16060, 1074, 1, 16034, 3084, 62, 49447, 4089, 33411, 366, 32, 1014, 1074, 1, 796, 705, 469, 21537, 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 ]
[ 13828, 1363, 3466, 550, 2269, 21537, 355, 262, 1497, 1074, 30, 46506, 366, 16060, 1074, 1, 16034, 3084, 62, 49447, 4089, 33411, 366, 32, 1014, 1074, 1, 796, 705, 469, 21537, 6 ]
Find the day in which the difference between the max temperature and min temperature was the smallest. Also report the difference.
SELECT date, max_temperature_f - min_temperature_f FROM weather ORDER BY max_temperature_f - min_temperature_f LIMIT 1
[ 16742, 262, 1110, 287, 543, 262, 3580, 1022, 262, 3509, 5951, 290, 949, 5951, 373, 262, 18197, 13, 4418, 989, 262, 3580, 13, 46506, 3128, 11, 3509, 62, 11498, 21069, 62, 69, 532, 949, 62, 11498, 21069, 62, 69, 16034, 6193, 38678, 11050, 3509, 62, 11498, 21069, 62, 69, 532, 949, 62, 11498, 21069, 62, 69, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16742, 262, 1110, 287, 543, 262, 3580, 1022, 262, 3509, 5951, 290, 949, 5951, 373, 262, 18197, 13, 4418, 989, 262, 3580, 13, 46506, 3128, 11, 3509, 62, 11498, 21069, 62, 69, 532, 949, 62, 11498, 21069, 62, 69, 16034, 6193, 38678, 11050, 3509, 62, 11498, 21069, 62, 69, 532, 949, 62, 11498, 21069, 62, 69, 27564, 2043, 352 ]
give me the number of patients whose ethnicity is white and item id is 51288?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.ethnicity = "WHITE" AND lab.itemid = "51288"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 26289, 318, 2330, 290, 2378, 4686, 318, 22243, 3459, 30, 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, 76, 62, 312, 796, 2248, 13, 18108, 76, 62, 312, 33411, 16728, 13, 38546, 414, 796, 366, 12418, 12709, 1, 5357, 2248, 13, 9186, 312, 796, 366, 25836, 3459, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 26289, 318, 2330, 290, 2378, 4686, 318, 22243, 3459, 30, 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, 76, 62, 312, 796, 2248, 13, 18108, 76, 62, 312, 33411, 16728, 13, 38546, 414, 796, 366, 12418, 12709, 1, 5357, 2248, 13, 9186, 312, 796, 366, 25836, 3459, 1 ]
What is the location is the winning driver is Bill Vukovich II?
SELECT location FROM table_22670216_1 WHERE winning_driver = "Bill Vukovich II"
[ 2061, 318, 262, 4067, 318, 262, 5442, 4639, 318, 3941, 569, 2724, 18198, 2873, 30, 46506, 4067, 16034, 3084, 62, 24909, 2154, 20666, 62, 16, 33411, 5442, 62, 26230, 796, 366, 17798, 569, 2724, 18198, 2873, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4067, 318, 262, 5442, 4639, 318, 3941, 569, 2724, 18198, 2873, 30, 46506, 4067, 16034, 3084, 62, 24909, 2154, 20666, 62, 16, 33411, 5442, 62, 26230, 796, 366, 17798, 569, 2724, 18198, 2873, 1 ]
what is the time/retired when the laps is 6, the grid is less than 18 and the driver is clay regazzoni?
SELECT "Time/Retired" FROM table_54240 WHERE "Laps" = '6' AND "Grid" < '18' AND "Driver" = 'clay regazzoni'
[ 10919, 318, 262, 640, 14, 1186, 1202, 618, 262, 24590, 318, 718, 11, 262, 10706, 318, 1342, 621, 1248, 290, 262, 4639, 318, 21558, 842, 8101, 14651, 30, 46506, 366, 7575, 14, 9781, 1202, 1, 16034, 3084, 62, 4051, 16102, 33411, 366, 43, 1686, 1, 796, 705, 21, 6, 5357, 366, 41339, 1, 1279, 705, 1507, 6, 5357, 366, 32103, 1, 796, 705, 565, 323, 842, 8101, 14651, 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, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 640, 14, 1186, 1202, 618, 262, 24590, 318, 718, 11, 262, 10706, 318, 1342, 621, 1248, 290, 262, 4639, 318, 21558, 842, 8101, 14651, 30, 46506, 366, 7575, 14, 9781, 1202, 1, 16034, 3084, 62, 4051, 16102, 33411, 366, 43, 1686, 1, 796, 705, 21, 6, 5357, 366, 41339, 1, 1279, 705, 1507, 6, 5357, 366, 32103, 1, 796, 705, 565, 323, 842, 8101, 14651, 6 ]
Total number of posts by months.
SELECT COUNT(*) FROM Posts
[ 14957, 1271, 286, 6851, 416, 1933, 13, 46506, 327, 28270, 7, 28104, 16034, 12043 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 14957, 1271, 286, 6851, 416, 1933, 13, 46506, 327, 28270, 7, 28104, 16034, 12043 ]
What is the date of the game with a 17-31 record?
SELECT "Date" FROM table_67446 WHERE "Record" = '17-31'
[ 2061, 318, 262, 3128, 286, 262, 983, 351, 257, 1596, 12, 3132, 1700, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 3134, 27260, 33411, 366, 23739, 1, 796, 705, 1558, 12, 3132, 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, 3128, 286, 262, 983, 351, 257, 1596, 12, 3132, 1700, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 3134, 27260, 33411, 366, 23739, 1, 796, 705, 1558, 12, 3132, 6 ]
tell me the method of intake of hydrocortisone study drug (*ind*)?
SELECT DISTINCT prescriptions.route FROM prescriptions WHERE prescriptions.drug = 'hydrocortisone study drug (*ind*)'
[ 33331, 502, 262, 2446, 286, 10337, 286, 7409, 12204, 419, 271, 505, 2050, 2563, 20789, 521, 9, 19427, 46506, 360, 8808, 1268, 4177, 34092, 13, 38629, 16034, 34092, 33411, 34092, 13, 30349, 796, 705, 15511, 12204, 419, 271, 505, 2050, 2563, 20789, 521, 28104, 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 ]
[ 33331, 502, 262, 2446, 286, 10337, 286, 7409, 12204, 419, 271, 505, 2050, 2563, 20789, 521, 9, 19427, 46506, 360, 8808, 1268, 4177, 34092, 13, 38629, 16034, 34092, 33411, 34092, 13, 30349, 796, 705, 15511, 12204, 419, 271, 505, 2050, 2563, 20789, 521, 28104, 6 ]
What is the sum of Wins, when Against is less than 1033, when Golden Rivers is 'Nullawil', and when Byes is less than 2?
SELECT SUM("Wins") FROM table_61149 WHERE "Against" < '1033' AND "Golden Rivers" = 'nullawil' AND "Byes" < '2'
[ 2061, 318, 262, 2160, 286, 24423, 11, 618, 12914, 318, 1342, 621, 838, 2091, 11, 618, 8407, 18280, 318, 705, 35067, 707, 346, 3256, 290, 618, 2750, 274, 318, 1342, 621, 362, 30, 46506, 35683, 7203, 54, 1040, 4943, 16034, 3084, 62, 21, 1157, 2920, 33411, 366, 39276, 1, 1279, 705, 940, 2091, 6, 5357, 366, 32378, 18280, 1, 796, 705, 8423, 707, 346, 6, 5357, 366, 3886, 274, 1, 1279, 705, 17, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2160, 286, 24423, 11, 618, 12914, 318, 1342, 621, 838, 2091, 11, 618, 8407, 18280, 318, 705, 35067, 707, 346, 3256, 290, 618, 2750, 274, 318, 1342, 621, 362, 30, 46506, 35683, 7203, 54, 1040, 4943, 16034, 3084, 62, 21, 1157, 2920, 33411, 366, 39276, 1, 1279, 705, 940, 2091, 6, 5357, 366, 32378, 18280, 1, 796, 705, 8423, 707, 346, 6, 5357, 366, 3886, 274, 1, 1279, 705, 17, 6 ]
Bar graph to show the total number from different building, and could you rank by the bar from low to high?
SELECT Building, COUNT(*) FROM Faculty GROUP BY Building ORDER BY Building
[ 10374, 4823, 284, 905, 262, 2472, 1271, 422, 1180, 2615, 11, 290, 714, 345, 4279, 416, 262, 2318, 422, 1877, 284, 1029, 30, 46506, 11819, 11, 327, 28270, 7, 28104, 16034, 35262, 44441, 11050, 11819, 38678, 11050, 11819 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2472, 1271, 422, 1180, 2615, 11, 290, 714, 345, 4279, 416, 262, 2318, 422, 1877, 284, 1029, 30, 46506, 11819, 11, 327, 28270, 7, 28104, 16034, 35262, 44441, 11050, 11819, 38678, 11050, 11819 ]
Name the point for 1974
SELECT points FROM table_name_24 WHERE year = 1974
[ 5376, 262, 966, 329, 16489, 46506, 2173, 16034, 3084, 62, 3672, 62, 1731, 33411, 614, 796, 16489 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 966, 329, 16489, 46506, 2173, 16034, 3084, 62, 3672, 62, 1731, 33411, 614, 796, 16489 ]
Questions per day over time.
SELECT DATEADD(year, DATEDIFF(year, '20120101', CreationDate), '20120101'), COUNT(*) / 365.0 AS QpD FROM Posts WHERE PostTypeId = 1 GROUP BY DATEDIFF(year, '20120101', CreationDate) ORDER BY DATEDIFF(year, '20120101', CreationDate)
[ 35741, 583, 1110, 625, 640, 13, 46506, 360, 6158, 29266, 7, 1941, 11, 360, 11617, 29267, 7, 1941, 11, 705, 1264, 1264, 486, 3256, 21582, 10430, 828, 705, 1264, 1264, 486, 33809, 327, 28270, 7, 28104, 1220, 21268, 13, 15, 7054, 1195, 79, 35, 16034, 12043, 33411, 2947, 6030, 7390, 796, 352, 44441, 11050, 360, 11617, 29267, 7, 1941, 11, 705, 1264, 1264, 486, 3256, 21582, 10430, 8, 38678, 11050, 360, 11617, 29267, 7, 1941, 11, 705, 1264, 1264, 486, 3256, 21582, 10430, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 35741, 583, 1110, 625, 640, 13, 46506, 360, 6158, 29266, 7, 1941, 11, 360, 11617, 29267, 7, 1941, 11, 705, 1264, 1264, 486, 3256, 21582, 10430, 828, 705, 1264, 1264, 486, 33809, 327, 28270, 7, 28104, 1220, 21268, 13, 15, 7054, 1195, 79, 35, 16034, 12043, 33411, 2947, 6030, 7390, 796, 352, 44441, 11050, 360, 11617, 29267, 7, 1941, 11, 705, 1264, 1264, 486, 3256, 21582, 10430, 8, 38678, 11050, 360, 11617, 29267, 7, 1941, 11, 705, 1264, 1264, 486, 3256, 21582, 10430, 8 ]
Who were the developers for Portal?
SELECT developer_s_ FROM table_name_68 WHERE game = "portal"
[ 8241, 547, 262, 6505, 329, 25663, 30, 46506, 8517, 62, 82, 62, 16034, 3084, 62, 3672, 62, 3104, 33411, 983, 796, 366, 634, 282, 1 ]
[ 1, 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, 547, 262, 6505, 329, 25663, 30, 46506, 8517, 62, 82, 62, 16034, 3084, 62, 3672, 62, 3104, 33411, 983, 796, 366, 634, 282, 1 ]
Which B Score has a Total larger than 15.325, and an A Score smaller than 6.4?
SELECT SUM(b_score) FROM table_name_2 WHERE total > 15.325 AND a_score < 6.4
[ 13828, 347, 15178, 468, 257, 7472, 4025, 621, 1315, 13, 26582, 11, 290, 281, 317, 15178, 4833, 621, 718, 13, 19, 30, 46506, 35683, 7, 65, 62, 26675, 8, 16034, 3084, 62, 3672, 62, 17, 33411, 2472, 1875, 1315, 13, 26582, 5357, 257, 62, 26675, 1279, 718, 13, 19 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 347, 15178, 468, 257, 7472, 4025, 621, 1315, 13, 26582, 11, 290, 281, 317, 15178, 4833, 621, 718, 13, 19, 30, 46506, 35683, 7, 65, 62, 26675, 8, 16034, 3084, 62, 3672, 62, 17, 33411, 2472, 1875, 1315, 13, 26582, 5357, 257, 62, 26675, 1279, 718, 13, 19 ]
how many days have passed since patient 017-88691 received a laboratory test of troponin - i for the first time on their current hospital visit?
SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', lab.labresulttime)) FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '017-88691' AND patient.hospitaldischargetime IS NULL)) AND lab.labname = 'troponin - i' ORDER BY lab.labresulttime LIMIT 1
[ 4919, 867, 1528, 423, 3804, 1201, 5827, 5534, 22, 12, 3459, 49541, 2722, 257, 14010, 1332, 286, 14673, 261, 259, 532, 1312, 329, 262, 717, 640, 319, 511, 1459, 4436, 3187, 30, 46506, 352, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694, 28955, 532, 19269, 9792, 12789, 10786, 4, 73, 3256, 2248, 13, 23912, 20274, 2435, 4008, 16034, 2248, 33411, 2248, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1528, 423, 3804, 1201, 5827, 5534, 22, 12, 3459, 49541, 2722, 257, 14010, 1332, 286, 14673, 261, 259, 532, 1312, 329, 262, 717, 640, 319, 511, 1459, 4436, 3187, 30, 46506, 352, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694, 28955, 532, 19269, 9792, 12789, 10786, 4, 73, 3256, 2248, 13, 23912, 20274, 2435, 4008, 16034, 2248, 33411, 2248, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312 ]
What is Director, when Season is 1.4?
SELECT "Director" FROM table_48777 WHERE "Season" = '1.4'
[ 2061, 318, 5890, 11, 618, 7369, 318, 352, 13, 19, 30, 46506, 366, 28702, 1, 16034, 3084, 62, 2780, 29331, 33411, 366, 18960, 1, 796, 705, 16, 13, 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 ]
[ 2061, 318, 5890, 11, 618, 7369, 318, 352, 13, 19, 30, 46506, 366, 28702, 1, 16034, 3084, 62, 2780, 29331, 33411, 366, 18960, 1, 796, 705, 16, 13, 19, 6 ]
When 1 is the number what episodes were used?
SELECT "Episodes used" FROM table_2457 WHERE "#" = '1'
[ 2215, 352, 318, 262, 1271, 644, 8640, 547, 973, 30, 46506, 366, 13807, 8052, 973, 1, 16034, 3084, 62, 1731, 3553, 33411, 25113, 1, 796, 705, 16, 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 ]
[ 2215, 352, 318, 262, 1271, 644, 8640, 547, 973, 30, 46506, 366, 13807, 8052, 973, 1, 16034, 3084, 62, 1731, 3553, 33411, 25113, 1, 796, 705, 16, 6 ]
What is the recent BMI on season 8 for the person who's BMI started under 46.3?
SELECT "Recent BMI" FROM table_55563 WHERE "Start BMI" < '46.3' AND "season" = 'season 8'
[ 2061, 318, 262, 2274, 22456, 319, 1622, 807, 329, 262, 1048, 508, 338, 22456, 2067, 739, 6337, 13, 18, 30, 46506, 366, 26446, 22456, 1, 16034, 3084, 62, 2816, 46572, 33411, 366, 10434, 22456, 1, 1279, 705, 3510, 13, 18, 6, 5357, 366, 6230, 1, 796, 705, 6230, 807, 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 ]
[ 2061, 318, 262, 2274, 22456, 319, 1622, 807, 329, 262, 1048, 508, 338, 22456, 2067, 739, 6337, 13, 18, 30, 46506, 366, 26446, 22456, 1, 16034, 3084, 62, 2816, 46572, 33411, 366, 10434, 22456, 1, 1279, 705, 3510, 13, 18, 6, 5357, 366, 6230, 1, 796, 705, 6230, 807, 6 ]
Show me a bar chart for how many bookings does each booking status have? List the booking status code and the number of corresponding bookings, and rank by the Y from low to high.
SELECT booking_status_code, COUNT(*) FROM Apartment_Bookings GROUP BY booking_status_code ORDER BY COUNT(*)
[ 15307, 502, 257, 2318, 8262, 329, 703, 867, 1492, 654, 857, 1123, 25452, 3722, 423, 30, 7343, 262, 25452, 3722, 2438, 290, 262, 1271, 286, 11188, 1492, 654, 11, 290, 4279, 416, 262, 575, 422, 1877, 284, 1029, 13, 46506, 25452, 62, 13376, 62, 8189, 11, 327, 28270, 7, 28104, 16034, 5949, 1823, 62, 10482, 654, 44441, 11050, 25452, 62, 13376, 62, 8189, 38678, 11050, 327, 28270, 7, 28104 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 502, 257, 2318, 8262, 329, 703, 867, 1492, 654, 857, 1123, 25452, 3722, 423, 30, 7343, 262, 25452, 3722, 2438, 290, 262, 1271, 286, 11188, 1492, 654, 11, 290, 4279, 416, 262, 575, 422, 1877, 284, 1029, 13, 46506, 25452, 62, 13376, 62, 8189, 11, 327, 28270, 7, 28104, 16034, 5949, 1823, 62, 10482, 654, 44441, 11050, 25452, 62, 13376, 62, 8189, 38678, 11050, 327, 28270, 7, 28104 ]
what is drug route of drug name nitroglycerin sl?
SELECT prescriptions.route FROM prescriptions WHERE prescriptions.drug = "Nitroglycerin SL"
[ 10919, 318, 2563, 6339, 286, 2563, 1438, 13759, 3828, 38577, 259, 1017, 30, 46506, 34092, 13, 38629, 16034, 34092, 33411, 34092, 13, 30349, 796, 366, 33772, 3828, 38577, 259, 12419, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 2563, 6339, 286, 2563, 1438, 13759, 3828, 38577, 259, 1017, 30, 46506, 34092, 13, 38629, 16034, 34092, 33411, 34092, 13, 30349, 796, 366, 33772, 3828, 38577, 259, 12419, 1 ]
how many patients whose diagnoses short title is status amput oth fingers and drug type is main?
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 = "Status amput oth fingers" AND prescriptions.drug_type = "MAIN"
[ 4919, 867, 3871, 3025, 40567, 1790, 3670, 318, 3722, 40338, 267, 400, 9353, 290, 2563, 2099, 318, 1388, 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, 62, 312, 796, 40567, 13, 18108, 76, 62, 312, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, 18108, 76, 62, 312, 796, 34092, 13, 18108, 76, 62, 312, 33411, 40567, 13, 19509, 62, 7839, 796, 366, 19580, 40338, 267, 400, 9353, 1, 5357, 34092, 13, 30349, 62, 4906, 796, 366, 5673, 1268, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3025, 40567, 1790, 3670, 318, 3722, 40338, 267, 400, 9353, 290, 2563, 2099, 318, 1388, 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, 62, 312, 796, 40567, 13, 18108, 76, 62, 312, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, 18108, 76, 62, 312, 796, 34092, 13, 18108, 76, 62, 312, 33411, 40567, 13, 19509, 62, 7839, 796, 366, 19580, 40338, 267, 400, 9353, 1, 5357, 34092, 13, 30349, 62, 4906, 796, 366, 5673, 1268, 1 ]
provide the number of patients whose primary disease is angioedema and year of death is less than or equal to 2155?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "ANGIOEDEMA" AND demographic.dod_year <= "2155.0"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 4165, 4369, 318, 3550, 952, 276, 19687, 290, 614, 286, 1918, 318, 1342, 621, 393, 4961, 284, 362, 18742, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 47356, 5958, 796, 366, 15567, 9399, 1961, 27630, 1, 5357, 16728, 13, 67, 375, 62, 1941, 19841, 366, 17, 18742, 13, 15, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3550, 952, 276, 19687, 290, 614, 286, 1918, 318, 1342, 621, 393, 4961, 284, 362, 18742, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 47356, 5958, 796, 366, 15567, 9399, 1961, 27630, 1, 5357, 16728, 13, 67, 375, 62, 1941, 19841, 366, 17, 18742, 13, 15, 1 ]
How many positions are for creighton?
SELECT COUNT("Position") FROM table_16833 WHERE "School/Club Team" = 'Creighton'
[ 2437, 867, 6116, 389, 329, 1126, 42993, 30, 46506, 327, 28270, 7203, 26545, 4943, 16034, 3084, 62, 14656, 2091, 33411, 366, 26130, 14, 42350, 4816, 1, 796, 705, 12443, 42993, 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 ]
[ 2437, 867, 6116, 389, 329, 1126, 42993, 30, 46506, 327, 28270, 7203, 26545, 4943, 16034, 3084, 62, 14656, 2091, 33411, 366, 26130, 14, 42350, 4816, 1, 796, 705, 12443, 42993, 6 ]
What is the original name of the film that used the title Olympics 40 in nomination?
SELECT "Original name" FROM table_14751 WHERE "Film title used in nomination" = 'olympics 40'
[ 2061, 318, 262, 2656, 1438, 286, 262, 2646, 326, 973, 262, 3670, 14935, 2319, 287, 11872, 30, 46506, 366, 20556, 1438, 1, 16034, 3084, 62, 1415, 48365, 33411, 366, 39750, 3670, 973, 287, 11872, 1, 796, 705, 3366, 3149, 873, 2319, 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 ]
[ 2061, 318, 262, 2656, 1438, 286, 262, 2646, 326, 973, 262, 3670, 14935, 2319, 287, 11872, 30, 46506, 366, 20556, 1438, 1, 16034, 3084, 62, 1415, 48365, 33411, 366, 39750, 3670, 973, 287, 11872, 1, 796, 705, 3366, 3149, 873, 2319, 6 ]
For those employees who get more salary than the employee whose id is 163, show the frequency of their last name, sort from high to low by the LAST_NAME.
SELECT LAST_NAME, COUNT(LAST_NAME) FROM employees WHERE SALARY > (SELECT SALARY FROM employees WHERE EMPLOYEE_ID = 163) GROUP BY LAST_NAME ORDER BY LAST_NAME DESC
[ 1890, 883, 4409, 508, 651, 517, 9588, 621, 262, 6538, 3025, 4686, 318, 26826, 11, 905, 262, 8373, 286, 511, 938, 1438, 11, 3297, 422, 1029, 284, 1877, 416, 262, 41894, 62, 20608, 13, 46506, 41894, 62, 20608, 11, 327, 28270, 7, 43, 11262, 62, 20608, 8, 16034, 4409, 33411, 42475, 13153, 1875, 357, 46506, 42475, 13153, 16034, 4409, 33411, 17228, 6489, 21414, 6500, 62, 2389, 796, 26826, 8, 44441, 11050, 41894, 62, 20608, 38678, 11050, 41894, 62, 20608, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 651, 517, 9588, 621, 262, 6538, 3025, 4686, 318, 26826, 11, 905, 262, 8373, 286, 511, 938, 1438, 11, 3297, 422, 1029, 284, 1877, 416, 262, 41894, 62, 20608, 13, 46506, 41894, 62, 20608, 11, 327, 28270, 7, 43, 11262, 62, 20608, 8, 16034, 4409, 33411, 42475, 13153, 1875, 357, 46506, 42475, 13153, 16034, 4409, 33411, 17228, 6489, 21414, 6500, 62, 2389, 796, 26826, 8, 44441, 11050, 41894, 62, 20608, 38678, 11050, 41894, 62, 20608, 22196, 34 ]
when was the last time on this month/27 patient 15794's arterial bp [diastolic] was greater than 54.0?
SELECT chartevents.charttime 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 = 15794)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'arterial bp [diastolic]' AND d_items.linksto = 'chartevents') AND chartevents.valuenum > 54.0 AND DATETIME(chartevents.charttime, 'start of month') = DATETIME(CURRENT_TIME(), 'start of month', '-0 month') AND STRFTIME('%d', chartevents.charttime) = '27' ORDER BY chartevents.charttime DESC LIMIT 1
[ 12518, 373, 262, 938, 640, 319, 428, 1227, 14, 1983, 5827, 1315, 50242, 338, 30675, 498, 275, 79, 685, 10989, 459, 4160, 60, 373, 3744, 621, 7175, 13, 15, 30, 46506, 8262, 31534, 13, 40926, 2435, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, 323, 62, 312, 3268, 357, 46506, 14158, 436, 592, 13, 291, 436, 323, 62, 312, 16034, 14158, 436, 592, 33411, 14158, 436, 592, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 1315, 50242, 4008, 5357, 8262, 31534, 13, 9186, 312 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 319, 428, 1227, 14, 1983, 5827, 1315, 50242, 338, 30675, 498, 275, 79, 685, 10989, 459, 4160, 60, 373, 3744, 621, 7175, 13, 15, 30, 46506, 8262, 31534, 13, 40926, 2435, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, 323, 62, 312, 3268, 357, 46506, 14158, 436, 592, 13, 291, 436, 323, 62, 312, 16034, 14158, 436, 592, 33411, 14158, 436, 592, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 1315, 50242, 4008, 5357, 8262, 31534, 13, 9186, 312 ]
how many patients whose admission type is elective and item id is 50927?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_type = "ELECTIVE" AND lab.itemid = "50927"
[ 4919, 867, 3871, 3025, 13938, 2099, 318, 1742, 425, 290, 2378, 4686, 318, 2026, 24, 1983, 30, 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, 76, 62, 312, 796, 2248, 13, 18108, 76, 62, 312, 33411, 16728, 13, 324, 3411, 62, 4906, 796, 366, 36, 16779, 9306, 1, 5357, 2248, 13, 9186, 312, 796, 366, 29022, 1983, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3025, 13938, 2099, 318, 1742, 425, 290, 2378, 4686, 318, 2026, 24, 1983, 30, 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, 76, 62, 312, 796, 2248, 13, 18108, 76, 62, 312, 33411, 16728, 13, 324, 3411, 62, 4906, 796, 366, 36, 16779, 9306, 1, 5357, 2248, 13, 9186, 312, 796, 366, 29022, 1983, 1 ]
What is the date when the result was l 37-3?
SELECT date FROM table_name_77 WHERE result = "l 37-3"
[ 2061, 318, 262, 3128, 618, 262, 1255, 373, 300, 5214, 12, 18, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 3324, 33411, 1255, 796, 366, 75, 5214, 12, 18, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 3128, 618, 262, 1255, 373, 300, 5214, 12, 18, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 3324, 33411, 1255, 796, 366, 75, 5214, 12, 18, 1 ]
Give me the comparison about ACC_Percent over the Team_Name , show in desc by the bars.
SELECT Team_Name, ACC_Percent FROM basketball_match ORDER BY Team_Name DESC
[ 23318, 502, 262, 7208, 546, 15859, 62, 31905, 625, 262, 4816, 62, 5376, 837, 905, 287, 1715, 416, 262, 9210, 13, 46506, 4816, 62, 5376, 11, 15859, 62, 31905, 16034, 9669, 62, 15699, 38678, 11050, 4816, 62, 5376, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7208, 546, 15859, 62, 31905, 625, 262, 4816, 62, 5376, 837, 905, 287, 1715, 416, 262, 9210, 13, 46506, 4816, 62, 5376, 11, 15859, 62, 31905, 16034, 9669, 62, 15699, 38678, 11050, 4816, 62, 5376, 22196, 34 ]
positive pregnancy test in female of childbearing potential ( at screening and visit 2 / periods 1 _ 3 / day 1 ) ;
SELECT * FROM table_train_150 WHERE gender = 'female' AND pregnancy_or_lactation = 1
[ 24561, 10241, 1332, 287, 4048, 286, 1200, 28655, 2785, 357, 379, 14135, 290, 3187, 362, 1220, 9574, 352, 4808, 513, 1220, 1110, 352, 1267, 2162, 46506, 1635, 16034, 3084, 62, 27432, 62, 8628, 33411, 5279, 796, 705, 24724, 6, 5357, 10241, 62, 273, 62, 75, 529, 341, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 24561, 10241, 1332, 287, 4048, 286, 1200, 28655, 2785, 357, 379, 14135, 290, 3187, 362, 1220, 9574, 352, 4808, 513, 1220, 1110, 352, 1267, 2162, 46506, 1635, 16034, 3084, 62, 27432, 62, 8628, 33411, 5279, 796, 705, 24724, 6, 5357, 10241, 62, 273, 62, 75, 529, 341, 796, 352 ]
Find the name of female patients who had a granular casts lab test.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.gender = "F" AND lab.label = "Granular Casts"
[ 16742, 262, 1438, 286, 4048, 3871, 508, 550, 257, 19468, 934, 26217, 2248, 1332, 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, 76, 62, 312, 796, 2248, 13, 18108, 76, 62, 312, 33411, 16728, 13, 8388, 796, 366, 37, 1, 5357, 2248, 13, 18242, 796, 366, 38, 2596, 934, 327, 5773, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1438, 286, 4048, 3871, 508, 550, 257, 19468, 934, 26217, 2248, 1332, 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, 76, 62, 312, 796, 2248, 13, 18108, 76, 62, 312, 33411, 16728, 13, 8388, 796, 366, 37, 1, 5357, 2248, 13, 18242, 796, 366, 38, 2596, 934, 327, 5773, 1 ]
What was the sample size for polling on May 2-7, 2007 for Hillary Clinton?
SELECT sample_size FROM table_name_35 WHERE date = "may 2-7, 2007" AND democrat = "hillary clinton"
[ 2061, 373, 262, 6291, 2546, 329, 13985, 319, 1737, 362, 12, 22, 11, 4343, 329, 5073, 2605, 30, 46506, 6291, 62, 7857, 16034, 3084, 62, 3672, 62, 2327, 33411, 3128, 796, 366, 11261, 362, 12, 22, 11, 4343, 1, 5357, 43268, 796, 366, 47826, 537, 2371, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6291, 2546, 329, 13985, 319, 1737, 362, 12, 22, 11, 4343, 329, 5073, 2605, 30, 46506, 6291, 62, 7857, 16034, 3084, 62, 3672, 62, 2327, 33411, 3128, 796, 366, 11261, 362, 12, 22, 11, 4343, 1, 5357, 43268, 796, 366, 47826, 537, 2371, 1 ]
What classes will be offered in the next 6 semesters ?
SELECT DISTINCT course.name, course.number, semester.semester, semester.year FROM course, course_offering, semester WHERE ((semester.semester = 'FA' AND semester.year = 2016) OR (semester.semester = 'FA' AND semester.year = 2017) OR (semester.semester = 'FA' AND semester.year = 2018) OR (semester.semester = 'WN' AND semester.year = 2017) OR (semester.semester = 'WN' AND semester.year = 2018) OR (semester.semester = 'WN' AND semester.year = 2019)) AND course.course_id = course_offering.course_id AND course.department = 'EECS' AND semester.semester_id = course_offering.semester ORDER BY semester.year, semester.semester
[ 2061, 6097, 481, 307, 4438, 287, 262, 1306, 718, 5026, 8586, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 3672, 11, 1781, 13, 17618, 11, 24878, 13, 325, 6880, 353, 11, 24878, 13, 1941, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 24878, 33411, 14808, 325, 6880, 353, 13, 325, 6880, 353, 796, 705, 7708, 6, 5357, 24878, 13, 1941, 796, 1584, 8, 6375, 357, 325, 6880, 353, 13, 325, 6880, 353, 796, 705, 7708, 6, 5357, 24878, 13, 1941, 796, 2177, 8, 6375, 357, 325, 6880, 353, 13, 325, 6880, 353, 796, 705, 7708, 6, 5357, 24878, 13, 1941 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6097, 481, 307, 4438, 287, 262, 1306, 718, 5026, 8586, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 3672, 11, 1781, 13, 17618, 11, 24878, 13, 325, 6880, 353, 11, 24878, 13, 1941, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 24878, 33411, 14808, 325, 6880, 353, 13, 325, 6880, 353, 796, 705, 7708, 6, 5357, 24878, 13, 1941, 796, 1584, 8, 6375, 357, 325, 6880, 353, 13, 325, 6880, 353, 796, 705, 7708, 6, 5357, 24878, 13, 1941, 796, 2177, 8, 6375, 357, 325, 6880, 353, 13, 325, 6880, 353, 796, 705, 7708, 6, 5357, 24878, 13, 1941 ]
What is the name of the person with more than 299 games during the 1995 07 period?
SELECT name FROM table_name_69 WHERE games > 299 AND period = "1995–07"
[ 2061, 318, 262, 1438, 286, 262, 1048, 351, 517, 621, 31011, 1830, 1141, 262, 8735, 8753, 2278, 30, 46506, 1438, 16034, 3084, 62, 3672, 62, 3388, 33411, 1830, 1875, 31011, 5357, 2278, 796, 366, 21908, 1906, 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 ]
[ 2061, 318, 262, 1438, 286, 262, 1048, 351, 517, 621, 31011, 1830, 1141, 262, 8735, 8753, 2278, 30, 46506, 1438, 16034, 3084, 62, 3672, 62, 3388, 33411, 1830, 1875, 31011, 5357, 2278, 796, 366, 21908, 1906, 2998, 1 ]
What is the location of the Conquista Fight 1?
SELECT "Location" FROM table_12209 WHERE "Event" = 'conquista fight 1'
[ 2061, 318, 262, 4067, 286, 262, 1482, 421, 12523, 10480, 352, 30, 46506, 366, 14749, 1, 16034, 3084, 62, 1065, 22567, 33411, 366, 9237, 1, 796, 705, 1102, 421, 12523, 1907, 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, 1, 1 ]
[ 2061, 318, 262, 4067, 286, 262, 1482, 421, 12523, 10480, 352, 30, 46506, 366, 14749, 1, 16034, 3084, 62, 1065, 22567, 33411, 366, 9237, 1, 796, 705, 1102, 421, 12523, 1907, 352, 6 ]
What is the 2008 rank of Djibouti?
SELECT 2008 AS _rank FROM table_23050383_1 WHERE country = "Djibouti"
[ 2061, 318, 262, 3648, 4279, 286, 19307, 571, 448, 72, 30, 46506, 3648, 7054, 4808, 43027, 16034, 3084, 62, 19214, 1120, 34741, 62, 16, 33411, 1499, 796, 366, 35, 73, 571, 448, 72, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3648, 4279, 286, 19307, 571, 448, 72, 30, 46506, 3648, 7054, 4808, 43027, 16034, 3084, 62, 19214, 1120, 34741, 62, 16, 33411, 1499, 796, 366, 35, 73, 571, 448, 72, 1 ]
Graham rahal for n/h/l racing has a qual 2 greater than 59.384 and how much lowest best?
SELECT MIN(best) FROM table_name_34 WHERE team = "n/h/l racing" AND name = "graham rahal" AND qual_2 > 59.384
[ 45821, 374, 993, 282, 329, 299, 14, 71, 14, 75, 11717, 468, 257, 4140, 362, 3744, 621, 7863, 13, 22842, 290, 703, 881, 9016, 1266, 30, 46506, 20625, 7, 13466, 8, 16034, 3084, 62, 3672, 62, 2682, 33411, 1074, 796, 366, 77, 14, 71, 14, 75, 11717, 1, 5357, 1438, 796, 366, 70, 13220, 374, 993, 282, 1, 5357, 4140, 62, 17, 1875, 7863, 13, 22842 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 45821, 374, 993, 282, 329, 299, 14, 71, 14, 75, 11717, 468, 257, 4140, 362, 3744, 621, 7863, 13, 22842, 290, 703, 881, 9016, 1266, 30, 46506, 20625, 7, 13466, 8, 16034, 3084, 62, 3672, 62, 2682, 33411, 1074, 796, 366, 77, 14, 71, 14, 75, 11717, 1, 5357, 1438, 796, 366, 70, 13220, 374, 993, 282, 1, 5357, 4140, 62, 17, 1875, 7863, 13, 22842 ]
Who owns the kool-fm branding?
SELECT "Owner" FROM table_7982 WHERE "Branding" = 'kool-fm'
[ 8241, 12216, 262, 479, 970, 12, 38353, 24150, 30, 46506, 366, 42419, 1, 16034, 3084, 62, 3720, 6469, 33411, 366, 9414, 27225, 1, 796, 705, 74, 970, 12, 38353, 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 ]
[ 8241, 12216, 262, 479, 970, 12, 38353, 24150, 30, 46506, 366, 42419, 1, 16034, 3084, 62, 3720, 6469, 33411, 366, 9414, 27225, 1, 796, 705, 74, 970, 12, 38353, 6 ]
Which Tournament has a Runner(s)-up of bob charles?
SELECT "Tournament" FROM table_34066 WHERE "Runner(s)-up" = 'bob charles'
[ 13828, 9595, 468, 257, 21529, 7, 82, 13219, 929, 286, 29202, 1149, 829, 30, 46506, 366, 51, 5138, 1, 16034, 3084, 62, 23601, 2791, 33411, 366, 49493, 7, 82, 13219, 929, 1, 796, 705, 65, 672, 1149, 829, 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 ]
[ 13828, 9595, 468, 257, 21529, 7, 82, 13219, 929, 286, 29202, 1149, 829, 30, 46506, 366, 51, 5138, 1, 16034, 3084, 62, 23601, 2791, 33411, 366, 49493, 7, 82, 13219, 929, 1, 796, 705, 65, 672, 1149, 829, 6 ]
What is the status code, phone number, and email address of the customer whose last name is Kohler or whose first name is Marina?
SELECT customer_status_code, cell_mobile_phone_number, email_address FROM customers WHERE first_name = "Marina" OR last_name = "Kohler"
[ 2061, 318, 262, 3722, 2438, 11, 3072, 1271, 11, 290, 3053, 2209, 286, 262, 6491, 3025, 938, 1438, 318, 24754, 1754, 393, 3025, 717, 1438, 318, 35321, 30, 46506, 6491, 62, 13376, 62, 8189, 11, 2685, 62, 24896, 62, 4862, 62, 17618, 11, 3053, 62, 21975, 16034, 4297, 33411, 717, 62, 3672, 796, 366, 7676, 1437, 1, 6375, 938, 62, 3672, 796, 366, 42, 1219, 1754, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2438, 11, 3072, 1271, 11, 290, 3053, 2209, 286, 262, 6491, 3025, 938, 1438, 318, 24754, 1754, 393, 3025, 717, 1438, 318, 35321, 30, 46506, 6491, 62, 13376, 62, 8189, 11, 2685, 62, 24896, 62, 4862, 62, 17618, 11, 3053, 62, 21975, 16034, 4297, 33411, 717, 62, 3672, 796, 366, 7676, 1437, 1, 6375, 938, 62, 3672, 796, 366, 42, 1219, 1754, 1 ]
let me know the discharge location and number of days for which patient with patient id 18351 was hospitalized.
SELECT demographic.days_stay, demographic.discharge_location FROM demographic WHERE demographic.subject_id = "18351"
[ 1616, 502, 760, 262, 17655, 4067, 290, 1271, 286, 1528, 329, 543, 5827, 351, 5827, 4686, 1248, 35273, 373, 31736, 13, 46506, 16728, 13, 12545, 62, 31712, 11, 16728, 13, 6381, 10136, 62, 24886, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 1507, 35273, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1616, 502, 760, 262, 17655, 4067, 290, 1271, 286, 1528, 329, 543, 5827, 351, 5827, 4686, 1248, 35273, 373, 31736, 13, 46506, 16728, 13, 12545, 62, 31712, 11, 16728, 13, 6381, 10136, 62, 24886, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 1507, 35273, 1 ]
How many different meanings does the verb with part 4 gegeven have?
SELECT COUNT("Verb meaning") FROM table_21704 WHERE "Part 4" = 'gegeven'
[ 2437, 867, 1180, 26368, 857, 262, 15942, 351, 636, 604, 4903, 469, 574, 423, 30, 46506, 327, 28270, 7203, 13414, 65, 3616, 4943, 16034, 3084, 62, 24591, 3023, 33411, 366, 7841, 604, 1, 796, 705, 469, 469, 574, 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 ]
[ 2437, 867, 1180, 26368, 857, 262, 15942, 351, 636, 604, 4903, 469, 574, 423, 30, 46506, 327, 28270, 7203, 13414, 65, 3616, 4943, 16034, 3084, 62, 24591, 3023, 33411, 366, 7841, 604, 1, 796, 705, 469, 469, 574, 6 ]
give me the number of patients whose primary disease is neoplasm of uncertain behavior of other lymphatic and hematopoietic tissues\bone marrow transplant and age is less than 51?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "NEOPLASM OF UNCERTAIN BEHAVIOR OF OTHER LYMPHATIC AND HEMATOPOIETIC TISSUES\BONE MARROW TRANSPLANT" AND demographic.age < "51"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 4165, 4369, 318, 497, 20106, 8597, 286, 8627, 4069, 286, 584, 28837, 1512, 290, 339, 6759, 404, 78, 1155, 291, 21379, 59, 15992, 44173, 23319, 290, 2479, 318, 1342, 621, 6885, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 47356, 5958, 796, 366, 12161, 3185, 43, 1921, 44, 3963, 39151, 1137, 30339, 9348, 7801, 12861, 1581, 3963, 25401, 406, 56, 7378, 39, 1404, 2149, 5357, 367, 3620, 1404, 3185, 46, 40, 2767, 2149, 309, 1797, 12564, 1546, 59, 33, 11651, 18805 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 497, 20106, 8597, 286, 8627, 4069, 286, 584, 28837, 1512, 290, 339, 6759, 404, 78, 1155, 291, 21379, 59, 15992, 44173, 23319, 290, 2479, 318, 1342, 621, 6885, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 47356, 5958, 796, 366, 12161, 3185, 43, 1921, 44, 3963, 39151, 1137, 30339, 9348, 7801, 12861, 1581, 3963, 25401, 406, 56, 7378, 39, 1404, 2149, 5357, 367, 3620, 1404, 3185, 46, 40, 2767, 2149, 309, 1797, 12564, 1546, 59, 33, 11651, 18805 ]
what is was the difference in score in the december 19th win ?
SELECT ABS("score" - "score") FROM table_204_388 WHERE "date" = 'december 19'
[ 10919, 318, 373, 262, 3580, 287, 4776, 287, 262, 390, 3273, 678, 400, 1592, 5633, 46506, 29950, 7203, 26675, 1, 532, 366, 26675, 4943, 16034, 3084, 62, 18638, 62, 30460, 33411, 366, 4475, 1, 796, 705, 2934, 3273, 678, 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 ]
[ 10919, 318, 373, 262, 3580, 287, 4776, 287, 262, 390, 3273, 678, 400, 1592, 5633, 46506, 29950, 7203, 26675, 1, 532, 366, 26675, 4943, 16034, 3084, 62, 18638, 62, 30460, 33411, 366, 4475, 1, 796, 705, 2934, 3273, 678, 6 ]
Around what time frame release a Sampling Rate of 12-bit 40khz?
SELECT SUM(release_date) FROM table_name_63 WHERE sampling_rate = "12-bit 40khz"
[ 24472, 644, 640, 5739, 2650, 257, 3409, 11347, 14806, 286, 1105, 12, 2545, 2319, 14636, 89, 30, 46506, 35683, 7, 20979, 62, 4475, 8, 16034, 3084, 62, 3672, 62, 5066, 33411, 19232, 62, 4873, 796, 366, 1065, 12, 2545, 2319, 14636, 89, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 24472, 644, 640, 5739, 2650, 257, 3409, 11347, 14806, 286, 1105, 12, 2545, 2319, 14636, 89, 30, 46506, 35683, 7, 20979, 62, 4475, 8, 16034, 3084, 62, 3672, 62, 5066, 33411, 19232, 62, 4873, 796, 366, 1065, 12, 2545, 2319, 14636, 89, 1 ]
On which date was the position less than 4 at Piraeus?
SELECT date FROM table_name_27 WHERE pos < 4 AND venue = "piraeus"
[ 2202, 543, 3128, 373, 262, 2292, 1342, 621, 604, 379, 10334, 46052, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 1983, 33411, 1426, 1279, 604, 5357, 14359, 796, 366, 4063, 46052, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 543, 3128, 373, 262, 2292, 1342, 621, 604, 379, 10334, 46052, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 1983, 33411, 1426, 1279, 604, 5357, 14359, 796, 366, 4063, 46052, 1 ]
Find the sum of credits of courses that have more than one prerequisites for each department with a bar chart, could you show by the y axis in desc?
SELECT dept_name, SUM(credits) FROM course AS T1 JOIN prereq AS T2 ON T1.course_id = T2.course_id GROUP BY dept_name ORDER BY SUM(credits) DESC
[ 16742, 262, 2160, 286, 10824, 286, 10902, 326, 423, 517, 621, 530, 662, 34075, 329, 1123, 5011, 351, 257, 2318, 8262, 11, 714, 345, 905, 416, 262, 331, 16488, 287, 1715, 30, 46506, 390, 457, 62, 3672, 11, 35683, 7, 66, 20696, 8, 16034, 1781, 7054, 309, 16, 32357, 1268, 662, 42180, 7054, 309, 17, 6177, 309, 16, 13, 17319, 62, 312, 796, 309, 17, 13, 17319, 62, 312, 44441, 11050, 390, 457, 62, 3672, 38678, 11050, 35683, 7, 66, 20696, 8, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2160, 286, 10824, 286, 10902, 326, 423, 517, 621, 530, 662, 34075, 329, 1123, 5011, 351, 257, 2318, 8262, 11, 714, 345, 905, 416, 262, 331, 16488, 287, 1715, 30, 46506, 390, 457, 62, 3672, 11, 35683, 7, 66, 20696, 8, 16034, 1781, 7054, 309, 16, 32357, 1268, 662, 42180, 7054, 309, 17, 6177, 309, 16, 13, 17319, 62, 312, 796, 309, 17, 13, 17319, 62, 312, 44441, 11050, 390, 457, 62, 3672, 38678, 11050, 35683, 7, 66, 20696, 8, 22196, 34 ]
For those records from the products and each product's manufacturer, return a scatter chart about the correlation between manufacturer and revenue , and group by attribute headquarter.
SELECT Manufacturer, Revenue FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Headquarter
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 1441, 257, 41058, 8262, 546, 262, 16096, 1022, 11554, 290, 6426, 837, 290, 1448, 416, 11688, 1182, 24385, 13, 46506, 40218, 11, 20197, 16034, 18675, 7054, 309, 16, 32357, 1268, 17858, 17496, 7054, 309, 17, 6177, 309, 16, 13, 44445, 15051, 796, 309, 17, 13, 10669, 44441, 11050, 7123, 24385 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1441, 257, 41058, 8262, 546, 262, 16096, 1022, 11554, 290, 6426, 837, 290, 1448, 416, 11688, 1182, 24385, 13, 46506, 40218, 11, 20197, 16034, 18675, 7054, 309, 16, 32357, 1268, 17858, 17496, 7054, 309, 17, 6177, 309, 16, 13, 44445, 15051, 796, 309, 17, 13, 10669, 44441, 11050, 7123, 24385 ]
What is the area of the city in the Sargodha district?
SELECT COUNT(city_area_km_2__) FROM table_18425346_2 WHERE district = "Sargodha district"
[ 2061, 318, 262, 1989, 286, 262, 1748, 287, 262, 311, 853, 375, 3099, 4783, 30, 46506, 327, 28270, 7, 19205, 62, 20337, 62, 13276, 62, 17, 834, 8, 16034, 3084, 62, 22883, 1495, 30557, 62, 17, 33411, 4783, 796, 366, 50, 853, 375, 3099, 4783, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1989, 286, 262, 1748, 287, 262, 311, 853, 375, 3099, 4783, 30, 46506, 327, 28270, 7, 19205, 62, 20337, 62, 13276, 62, 17, 834, 8, 16034, 3084, 62, 22883, 1495, 30557, 62, 17, 33411, 4783, 796, 366, 50, 853, 375, 3099, 4783, 1 ]
patient 004-29334 was allergic to a drug during this month, what was the name of the drug?
SELECT allergy.drugname FROM allergy WHERE allergy.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '004-29334')) AND DATETIME(allergy.allergytime, 'start of month') = DATETIME(CURRENT_TIME(), 'start of month', '-0 month')
[ 26029, 3571, 19, 12, 1959, 31380, 373, 31856, 284, 257, 2563, 1141, 428, 1227, 11, 644, 373, 262, 1438, 286, 262, 2563, 30, 46506, 36197, 13, 30349, 3672, 16034, 36197, 33411, 36197, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 22914, 12, 1959, 31380, 6, 4008, 5357, 360, 1404, 2767, 12789, 7, 439, 26079, 13, 439, 26079, 2435, 11, 705, 9688, 286, 1227 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 26029, 3571, 19, 12, 1959, 31380, 373, 31856, 284, 257, 2563, 1141, 428, 1227, 11, 644, 373, 262, 1438, 286, 262, 2563, 30, 46506, 36197, 13, 30349, 3672, 16034, 36197, 33411, 36197, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 22914, 12, 1959, 31380, 6, 4008, 5357, 360, 1404, 2767, 12789, 7, 439, 26079, 13, 439, 26079, 2435, 11, 705, 9688, 286, 1227 ]
For those employees who did not have any job in the past, draw a line chart about the change of salary over hire_date , rank by the X in asc.
SELECT HIRE_DATE, SALARY FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) ORDER BY HIRE_DATE
[ 1890, 883, 4409, 508, 750, 407, 423, 597, 1693, 287, 262, 1613, 11, 3197, 257, 1627, 8262, 546, 262, 1487, 286, 9588, 625, 11078, 62, 4475, 837, 4279, 416, 262, 1395, 287, 10570, 13, 46506, 36210, 2200, 62, 35, 6158, 11, 42475, 13153, 16034, 4409, 33411, 5626, 17228, 6489, 21414, 6500, 62, 2389, 3268, 357, 46506, 17228, 6489, 21414, 6500, 62, 2389, 16034, 1693, 62, 23569, 8, 38678, 11050, 36210, 2200, 62, 35, 6158 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3197, 257, 1627, 8262, 546, 262, 1487, 286, 9588, 625, 11078, 62, 4475, 837, 4279, 416, 262, 1395, 287, 10570, 13, 46506, 36210, 2200, 62, 35, 6158, 11, 42475, 13153, 16034, 4409, 33411, 5626, 17228, 6489, 21414, 6500, 62, 2389, 3268, 357, 46506, 17228, 6489, 21414, 6500, 62, 2389, 16034, 1693, 62, 23569, 8, 38678, 11050, 36210, 2200, 62, 35, 6158 ]
what is the number of drivers that finished the 2008 canadian grand prix before jarno trulli ?
SELECT COUNT("driver") FROM table_203_52 WHERE "pos" < (SELECT "pos" FROM table_203_52 WHERE "driver" = 'jarno trulli')
[ 10919, 318, 262, 1271, 286, 6643, 326, 5201, 262, 3648, 460, 18425, 4490, 1293, 87, 878, 474, 1501, 78, 491, 724, 72, 5633, 46506, 327, 28270, 7203, 26230, 4943, 16034, 3084, 62, 22416, 62, 4309, 33411, 366, 1930, 1, 1279, 357, 46506, 366, 1930, 1, 16034, 3084, 62, 22416, 62, 4309, 33411, 366, 26230, 1, 796, 705, 73, 1501, 78, 491, 724, 72, 11537 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6643, 326, 5201, 262, 3648, 460, 18425, 4490, 1293, 87, 878, 474, 1501, 78, 491, 724, 72, 5633, 46506, 327, 28270, 7203, 26230, 4943, 16034, 3084, 62, 22416, 62, 4309, 33411, 366, 1930, 1, 1279, 357, 46506, 366, 1930, 1, 16034, 3084, 62, 22416, 62, 4309, 33411, 366, 26230, 1, 796, 705, 73, 1501, 78, 491, 724, 72, 11537 ]
How many years have a Rank-Final smaller than 7, and a Competition Description of olympic games, and a Score-Final smaller than 186.525?
SELECT SUM("Year") FROM table_63392 WHERE "Rank-Final" < '7' AND "Competition Description" = 'olympic games' AND "Score-Final" < '186.525'
[ 2437, 867, 812, 423, 257, 10916, 12, 19006, 4833, 621, 767, 11, 290, 257, 27348, 12489, 286, 267, 6760, 291, 1830, 11, 290, 257, 15178, 12, 19006, 4833, 621, 28481, 13, 39088, 30, 46506, 35683, 7203, 17688, 4943, 16034, 3084, 62, 21, 2091, 5892, 33411, 366, 27520, 12, 19006, 1, 1279, 705, 22, 6, 5357, 366, 7293, 15620, 12489, 1, 796, 705, 3366, 3149, 291, 1830, 6, 5357, 366, 26595, 12, 19006, 1, 1279, 705, 25096, 13, 39088, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 812, 423, 257, 10916, 12, 19006, 4833, 621, 767, 11, 290, 257, 27348, 12489, 286, 267, 6760, 291, 1830, 11, 290, 257, 15178, 12, 19006, 4833, 621, 28481, 13, 39088, 30, 46506, 35683, 7203, 17688, 4943, 16034, 3084, 62, 21, 2091, 5892, 33411, 366, 27520, 12, 19006, 1, 1279, 705, 22, 6, 5357, 366, 7293, 15620, 12489, 1, 796, 705, 3366, 3149, 291, 1830, 6, 5357, 366, 26595, 12, 19006, 1, 1279, 705, 25096, 13, 39088, 6 ]
What wiaa classifications does vancouver itech prepratory have?
SELECT wiaa_classification FROM table_22058547_1 WHERE high_school = "Vancouver iTech Prepratory"
[ 2061, 266, 544, 64, 1398, 6637, 857, 410, 10264, 340, 3055, 662, 1050, 2870, 423, 30, 46506, 266, 544, 64, 62, 4871, 2649, 16034, 3084, 62, 17572, 38905, 2857, 62, 16, 33411, 1029, 62, 14347, 796, 366, 53, 10264, 4748, 3055, 3771, 1050, 2870, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 266, 544, 64, 1398, 6637, 857, 410, 10264, 340, 3055, 662, 1050, 2870, 423, 30, 46506, 266, 544, 64, 62, 4871, 2649, 16034, 3084, 62, 17572, 38905, 2857, 62, 16, 33411, 1029, 62, 14347, 796, 366, 53, 10264, 4748, 3055, 3771, 1050, 2870, 1 ]
Deep Learning over Time SO.
SELECT CAST(TIME_TO_STR(CreationDate, '%Y-%m-%d %H:%M:%S') AS TEXT(7)) AS "month", COUNT(*) AS "torch_count" FROM Posts AS p WHERE p.PostTypeId = 1 AND p.Tags LIKE '%<torch>%' GROUP BY CAST(TIME_TO_STR(CreationDate, '%Y-%m-%d %H:%M:%S') AS TEXT(7)) ORDER BY month
[ 29744, 18252, 625, 3862, 12809, 13, 46506, 327, 11262, 7, 34694, 62, 10468, 62, 18601, 7, 12443, 341, 10430, 11, 705, 4, 56, 12, 4, 76, 12, 4, 67, 4064, 39, 25, 4, 44, 25, 4, 50, 11537, 7054, 40383, 7, 22, 4008, 7054, 366, 8424, 1600, 327, 28270, 7, 28104, 7054, 366, 13165, 354, 62, 9127, 1, 16034, 12043, 7054, 279, 33411, 279, 13, 6307, 6030, 7390, 796, 352, 5357, 279, 13, 36142, 34178, 705, 4, 27, 13165, 354, 29, 4, 6, 44441, 11050, 327, 11262, 7, 34694, 62, 10468, 62, 18601, 7, 12443, 341, 10430, 11, 705, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 29744, 18252, 625, 3862, 12809, 13, 46506, 327, 11262, 7, 34694, 62, 10468, 62, 18601, 7, 12443, 341, 10430, 11, 705, 4, 56, 12, 4, 76, 12, 4, 67, 4064, 39, 25, 4, 44, 25, 4, 50, 11537, 7054, 40383, 7, 22, 4008, 7054, 366, 8424, 1600, 327, 28270, 7, 28104, 7054, 366, 13165, 354, 62, 9127, 1, 16034, 12043, 7054, 279, 33411, 279, 13, 6307, 6030, 7390, 796, 352, 5357, 279, 13, 36142, 34178, 705, 4, 27, 13165, 354, 29, 4, 6, 44441, 11050, 327, 11262, 7, 34694, 62, 10468, 62, 18601, 7, 12443, 341, 10430, 11, 705, 4 ]
What's the description of the buttonholer whose singer part number is 121795 kit 121908 buttonholer?
SELECT description FROM table_28652521_1 WHERE singer_part_number = "121795 kit 121908 buttonholer"
[ 2061, 338, 262, 6764, 286, 262, 4936, 3937, 263, 3025, 14015, 636, 1271, 318, 1105, 1558, 3865, 6220, 1105, 1129, 2919, 4936, 3937, 263, 30, 46506, 6764, 16034, 3084, 62, 2078, 2996, 1495, 2481, 62, 16, 33411, 14015, 62, 3911, 62, 17618, 796, 366, 1065, 1558, 3865, 6220, 1105, 1129, 2919, 4936, 3937, 263, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6764, 286, 262, 4936, 3937, 263, 3025, 14015, 636, 1271, 318, 1105, 1558, 3865, 6220, 1105, 1129, 2919, 4936, 3937, 263, 30, 46506, 6764, 16034, 3084, 62, 2078, 2996, 1495, 2481, 62, 16, 33411, 14015, 62, 3911, 62, 17618, 796, 366, 1065, 1558, 3865, 6220, 1105, 1129, 2919, 4936, 3937, 263, 1 ]
Who had the most assists and how many did they have on October 7?
SELECT high_assists FROM table_27722408_2 WHERE date = "October 7"
[ 8241, 550, 262, 749, 13648, 290, 703, 867, 750, 484, 423, 319, 3267, 767, 30, 46506, 1029, 62, 562, 1023, 16034, 3084, 62, 1983, 4761, 1731, 2919, 62, 17, 33411, 3128, 796, 366, 18517, 767, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 550, 262, 749, 13648, 290, 703, 867, 750, 484, 423, 319, 3267, 767, 30, 46506, 1029, 62, 562, 1023, 16034, 3084, 62, 1983, 4761, 1731, 2919, 62, 17, 33411, 3128, 796, 366, 18517, 767, 1 ]
how many patients are admitted under emergency and tested with cerebrospinal fluid in lab?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_type = "EMERGENCY" AND lab.fluid = "Cerebrospinal Fluid (CSF)"
[ 4919, 867, 3871, 389, 6848, 739, 6334, 290, 6789, 351, 6736, 7957, 2777, 1292, 11711, 287, 2248, 30, 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, 76, 62, 312, 796, 2248, 13, 18108, 76, 62, 312, 33411, 16728, 13, 324, 3411, 62, 4906, 796, 366, 3620, 49837, 45155, 1, 5357, 2248, 13, 35522, 312, 796, 366, 34, 567, 7957, 2777, 1292, 1610, 27112, 357, 7902, 37, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6848, 739, 6334, 290, 6789, 351, 6736, 7957, 2777, 1292, 11711, 287, 2248, 30, 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, 76, 62, 312, 796, 2248, 13, 18108, 76, 62, 312, 33411, 16728, 13, 324, 3411, 62, 4906, 796, 366, 3620, 49837, 45155, 1, 5357, 2248, 13, 35522, 312, 796, 366, 34, 567, 7957, 2777, 1292, 1610, 27112, 357, 7902, 37, 16725 ]
How many titles got a viewership of 26.53 million?
SELECT COUNT("Title") FROM table_16274 WHERE "U.S. viewers (millions)" = '26.53'
[ 2437, 867, 8714, 1392, 257, 48347, 286, 2608, 13, 4310, 1510, 30, 46506, 327, 28270, 7203, 19160, 4943, 16034, 3084, 62, 1433, 28857, 33411, 366, 52, 13, 50, 13, 10209, 357, 17805, 507, 16725, 796, 705, 2075, 13, 4310, 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 ]
[ 2437, 867, 8714, 1392, 257, 48347, 286, 2608, 13, 4310, 1510, 30, 46506, 327, 28270, 7203, 19160, 4943, 16034, 3084, 62, 1433, 28857, 33411, 366, 52, 13, 50, 13, 10209, 357, 17805, 507, 16725, 796, 705, 2075, 13, 4310, 6 ]
Tell me the games for men's 5000 metres
SELECT games FROM table_name_18 WHERE event = "men's 5000 metres"
[ 24446, 502, 262, 1830, 329, 1450, 338, 23336, 18985, 46506, 1830, 16034, 3084, 62, 3672, 62, 1507, 33411, 1785, 796, 366, 3653, 338, 23336, 18985, 1 ]
[ 1, 1, 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, 1830, 329, 1450, 338, 23336, 18985, 46506, 1830, 16034, 3084, 62, 3672, 62, 1507, 33411, 1785, 796, 366, 3653, 338, 23336, 18985, 1 ]
Name the most number
SELECT MAX("Number") FROM table_27214
[ 5376, 262, 749, 1271, 46506, 25882, 7203, 15057, 4943, 16034, 3084, 62, 1983, 22291 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 749, 1271, 46506, 25882, 7203, 15057, 4943, 16034, 3084, 62, 1983, 22291 ]