instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
how many times has patient 030-72509 ever visited the hospital the last year?
SELECT COUNT(DISTINCT patient.patienthealthsystemstayid) FROM patient WHERE patient.uniquepid = '030-72509' AND DATETIME(patient.hospitaladmittime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year')
[ 4919, 867, 1661, 468, 5827, 657, 1270, 12, 4761, 29022, 1683, 8672, 262, 4436, 262, 938, 614, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 5827, 13, 26029, 13948, 10057, 31712, 312, 8, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1661, 468, 5827, 657, 1270, 12, 4761, 29022, 1683, 8672, 262, 4436, 262, 938, 614, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 5827, 13, 26029, 13948, 10057, 31712, 312, 8, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, ...
What 2nd Member has an Election of 1833 by-election?
SELECT "2nd Member" FROM table_60555 WHERE "Election" = '1833 by-election'
[ 2061, 362, 358, 10239, 468, 281, 14219, 286, 1248, 2091, 416, 12, 14300, 30, 46506, 366, 17, 358, 10239, 1, 16034, 3084, 62, 1899, 31046, 33411, 366, 36, 1564, 1, 796, 705, 1507, 2091, 416, 12, 14300, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 362, 358, 10239, 468, 281, 14219, 286, 1248, 2091, 416, 12, 14300, 30, 46506, 366, 17, 358, 10239, 1, 16034, 3084, 62, 1899, 31046, 33411, 366, 36, 1564, 1, 796, 705, 1507, 2091, 416, 12, 14300, 6 ]
What is the Full Word, when Case Suffix (case) is '-sa (dative)'?
SELECT "full word" FROM table_76299 WHERE "case suffix (case)" = '-sa (dative)'
[ 2061, 318, 262, 6462, 9678, 11, 618, 8913, 24974, 844, 357, 7442, 8, 318, 705, 12, 11400, 357, 67, 876, 8, 30960, 46506, 366, 12853, 1573, 1, 16034, 3084, 62, 4304, 22579, 33411, 366, 7442, 35488, 357, 7442, 16725, 796, 705, 12, 114...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6462, 9678, 11, 618, 8913, 24974, 844, 357, 7442, 8, 318, 705, 12, 11400, 357, 67, 876, 8, 30960, 46506, 366, 12853, 1573, 1, 16034, 3084, 62, 4304, 22579, 33411, 366, 7442, 35488, 357, 7442, 16725, 796, 705, 12, 114...
What is the Date of the game with a Loss of Leneveu (1 0 1)?
SELECT "Date" FROM table_59818 WHERE "Loss" = 'leneveu (1–0–1)'
[ 2061, 318, 262, 7536, 286, 262, 983, 351, 257, 22014, 286, 406, 1734, 303, 84, 357, 16, 657, 352, 19427, 46506, 366, 10430, 1, 16034, 3084, 62, 41292, 1507, 33411, 366, 43, 793, 1, 796, 705, 29466, 303, 84, 357, 16, 1906, 15, 1906...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 262, 983, 351, 257, 22014, 286, 406, 1734, 303, 84, 357, 16, 657, 352, 19427, 46506, 366, 10430, 1, 16034, 3084, 62, 41292, 1507, 33411, 366, 43, 793, 1, 796, 705, 29466, 303, 84, 357, 16, 1906, 15, 1906...
Return a scatter chart about the correlation between School_ID and All_Games_Percent , and group by attribute All_Neutral.
SELECT School_ID, All_Games_Percent FROM basketball_match GROUP BY All_Neutral
[ 13615, 257, 41058, 8262, 546, 262, 16096, 1022, 3961, 62, 2389, 290, 1439, 62, 24474, 62, 31905, 837, 290, 1448, 416, 11688, 1439, 62, 8199, 6815, 13, 46506, 3961, 62, 2389, 11, 1439, 62, 24474, 62, 31905, 16034, 9669, 62, 15699, 4444...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13615, 257, 41058, 8262, 546, 262, 16096, 1022, 3961, 62, 2389, 290, 1439, 62, 24474, 62, 31905, 837, 290, 1448, 416, 11688, 1439, 62, 8199, 6815, 13, 46506, 3961, 62, 2389, 11, 1439, 62, 24474, 62, 31905, 16034, 9669, 62, 15699, 4444...
show me the number of patients who are taking tramadol medication and were admitted in hospital before 2163.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.admityear < "2163" AND prescriptions.drug = "traMADOL"
[ 12860, 502, 262, 1271, 286, 3871, 508, 389, 2263, 29957, 324, 349, 14103, 290, 547, 6848, 287, 4436, 878, 362, 24136, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 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...
[ 12860, 502, 262, 1271, 286, 3871, 508, 389, 2263, 29957, 324, 349, 14103, 290, 547, 6848, 287, 4436, 878, 362, 24136, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268...
Name the pinyin for mazar
SELECT "Pinyin" FROM table_73176 WHERE "Conventional" = 'Mazar'
[ 5376, 262, 279, 3541, 259, 329, 285, 29413, 46506, 366, 47, 3541, 259, 1, 16034, 3084, 62, 4790, 24096, 33411, 366, 3103, 20405, 1, 796, 705, 44, 29413, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 279, 3541, 259, 329, 285, 29413, 46506, 366, 47, 3541, 259, 1, 16034, 3084, 62, 4790, 24096, 33411, 366, 3103, 20405, 1, 796, 705, 44, 29413, 6 ]
Show me about the distribution of All_Games and Team_ID in a bar chart, and order by the bars from low to high please.
SELECT All_Games, Team_ID FROM basketball_match ORDER BY All_Games
[ 15307, 502, 546, 262, 6082, 286, 1439, 62, 24474, 290, 4816, 62, 2389, 287, 257, 2318, 8262, 11, 290, 1502, 416, 262, 9210, 422, 1877, 284, 1029, 3387, 13, 46506, 1439, 62, 24474, 11, 4816, 62, 2389, 16034, 9669, 62, 15699, 38678, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 546, 262, 6082, 286, 1439, 62, 24474, 290, 4816, 62, 2389, 287, 257, 2318, 8262, 11, 290, 1502, 416, 262, 9210, 422, 1877, 284, 1029, 3387, 13, 46506, 1439, 62, 24474, 11, 4816, 62, 2389, 16034, 9669, 62, 15699, 38678, 1...
tell me the number of times that patient 95892 has received an mcv lab test during this month.
SELECT COUNT(*) FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'mcv') AND labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 95892) AND DATETIME(labevents.charttime, 'start of month') = DATETIME(CURRENT_TIME(), 'star...
[ 33331, 502, 262, 1271, 286, 1661, 326, 5827, 860, 3365, 5892, 468, 2722, 281, 285, 33967, 2248, 1332, 1141, 428, 1227, 13, 46506, 327, 28270, 7, 28104, 16034, 2248, 31534, 33411, 2248, 31534, 13, 9186, 312, 3268, 357, 46506, 288, 62, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 33331, 502, 262, 1271, 286, 1661, 326, 5827, 860, 3365, 5892, 468, 2722, 281, 285, 33967, 2248, 1332, 1141, 428, 1227, 13, 46506, 327, 28270, 7, 28104, 16034, 2248, 31534, 33411, 2248, 31534, 13, 9186, 312, 3268, 357, 46506, 288, 62, ...
What is the temperature rating of the intermediate temperature classification?
SELECT "Temperature Rating" FROM table_43032 WHERE "Temperature Classification" = 'intermediate'
[ 2061, 318, 262, 5951, 7955, 286, 262, 19898, 5951, 17923, 30, 46506, 366, 42492, 12028, 1, 16034, 3084, 62, 31794, 2624, 33411, 366, 42492, 40984, 1, 796, 705, 3849, 13857, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 5951, 7955, 286, 262, 19898, 5951, 17923, 30, 46506, 366, 42492, 12028, 1, 16034, 3084, 62, 31794, 2624, 33411, 366, 42492, 40984, 1, 796, 705, 3849, 13857, 6 ]
how did patient 99135 last be admitted in 2104 to the hospital?
SELECT admissions.admission_type FROM admissions WHERE admissions.subject_id = 99135 AND STRFTIME('%y', admissions.admittime) = '2104' ORDER BY admissions.admittime DESC LIMIT 1
[ 4919, 750, 5827, 7388, 17059, 938, 307, 6848, 287, 362, 13464, 284, 262, 4436, 30, 46506, 25349, 13, 324, 3411, 62, 4906, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 7388, 17059, 5357, 19269, 9792, 12789, 10786, 4, 88, 3256, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 750, 5827, 7388, 17059, 938, 307, 6848, 287, 362, 13464, 284, 262, 4436, 30, 46506, 25349, 13, 324, 3411, 62, 4906, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 7388, 17059, 5357, 19269, 9792, 12789, 10786, 4, 88, 3256, ...
what was the minimum platelet count value for patient 65786.
SELECT MIN(labevents.valuenum) FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 65786) AND labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'platelet count')
[ 10919, 373, 262, 5288, 7480, 1616, 954, 1988, 329, 5827, 718, 3553, 4521, 13, 46506, 20625, 7, 23912, 31534, 13, 2100, 84, 44709, 8, 16034, 2248, 31534, 33411, 2248, 31534, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 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...
[ 10919, 373, 262, 5288, 7480, 1616, 954, 1988, 329, 5827, 718, 3553, 4521, 13, 46506, 20625, 7, 23912, 31534, 13, 2100, 84, 44709, 8, 16034, 2248, 31534, 33411, 2248, 31534, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 7...
What is the sum of the week for the Denver Broncos?
SELECT SUM("Week") FROM table_70614 WHERE "Opponent" = 'denver broncos'
[ 2061, 318, 262, 2160, 286, 262, 1285, 329, 262, 10656, 16582, 30, 46506, 35683, 7203, 20916, 4943, 16034, 3084, 62, 35402, 1415, 33411, 366, 27524, 3471, 1, 796, 705, 6559, 332, 18443, 6966, 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 ]
[ 2061, 318, 262, 2160, 286, 262, 1285, 329, 262, 10656, 16582, 30, 46506, 35683, 7203, 20916, 4943, 16034, 3084, 62, 35402, 1415, 33411, 366, 27524, 3471, 1, 796, 705, 6559, 332, 18443, 6966, 6 ]
When hasn an Attendance larger than 66,926?
SELECT "Date" FROM table_13546 WHERE "Attendance" > '66,926'
[ 2215, 5818, 281, 46502, 590, 4025, 621, 7930, 11, 24, 2075, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 17059, 3510, 33411, 366, 8086, 437, 590, 1, 1875, 705, 2791, 11, 24, 2075, 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 ]
[ 2215, 5818, 281, 46502, 590, 4025, 621, 7930, 11, 24, 2075, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 17059, 3510, 33411, 366, 8086, 437, 590, 1, 1875, 705, 2791, 11, 24, 2075, 6 ]
Most upvoted answers of the past 6 months in a tag.
SELECT Posts.Id AS "post_link", Posts.Score FROM Posts INNER JOIN PostTags ON PostTags.PostId = Posts.Id INNER JOIN Tags ON Tags.Id = PostTags.TagId WHERE Posts.PostTypeId = 1 AND Posts.CreationDate >= DATEADD(MONTH, -6, GETDATE()) AND Posts.CreationDate <= GETDATE() AND Tags.TagName = @TagName ORDER BY Score DESC
[ 6943, 510, 85, 5191, 7429, 286, 262, 1613, 718, 1933, 287, 257, 7621, 13, 46506, 12043, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 12043, 13, 26595, 16034, 12043, 3268, 21479, 32357, 1268, 2947, 36142, 6177, 2947, 36142, 13, 6307, 7390,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 6943, 510, 85, 5191, 7429, 286, 262, 1613, 718, 1933, 287, 257, 7621, 13, 46506, 12043, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 12043, 13, 26595, 16034, 12043, 3268, 21479, 32357, 1268, 2947, 36142, 6177, 2947, 36142, 13, 6307, 7390,...
had patient 006-65715 excreted urine catheter in 01/last year?
SELECT COUNT(*) > 0 FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-65715')) AND intakeoutput.cellpath LIKE '%output%' AND intakeoutpu...
[ 18108, 5827, 3571, 21, 12, 37680, 1314, 2859, 1186, 276, 18922, 3797, 43332, 287, 5534, 14, 12957, 614, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 10337, 22915, 33411, 10337, 22915, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 18108, 5827, 3571, 21, 12, 37680, 1314, 2859, 1186, 276, 18922, 3797, 43332, 287, 5534, 14, 12957, 614, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 10337, 22915, 33411, 10337, 22915, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, ...
For those records from the products and each product's manufacturer, a bar chart shows the distribution of name and the amount of name , and group by attribute name, and I want to sort X-axis from high to low order.
SELECT T1.Name, COUNT(T1.Name) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T1.Name ORDER BY T1.Name DESC
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 257, 2318, 8262, 2523, 262, 6082, 286, 1438, 290, 262, 2033, 286, 1438, 837, 290, 1448, 416, 11688, 1438, 11, 290, 314, 765, 284, 3297, 1395, 12, 22704, 422, 1029, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2033, 286, 1438, 837, 290, 1448, 416, 11688, 1438, 11, 290, 314, 765, 284, 3297, 1395, 12, 22704, 422, 1029, 28...
what is the date above 19 october 2013 ?
SELECT "date" FROM table_204_130 WHERE id = (SELECT id FROM table_204_130 WHERE "date" = '19 october 2013') - 1
[ 10919, 318, 262, 3128, 2029, 678, 19318, 2023, 2211, 5633, 46506, 366, 4475, 1, 16034, 3084, 62, 18638, 62, 12952, 33411, 4686, 796, 357, 46506, 4686, 16034, 3084, 62, 18638, 62, 12952, 33411, 366, 4475, 1, 796, 705, 1129, 19318, 2023, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3128, 2029, 678, 19318, 2023, 2211, 5633, 46506, 366, 4475, 1, 16034, 3084, 62, 18638, 62, 12952, 33411, 4686, 796, 357, 46506, 4686, 16034, 3084, 62, 18638, 62, 12952, 33411, 366, 4475, 1, 796, 705, 1129, 19318, 2023, ...
tell me the last glucose in patient 23929 when they came to the hospital first time?
SELECT labevents.valuenum FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 23929 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime LIMIT 1) AND labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'gluco...
[ 33331, 502, 262, 938, 15701, 287, 5827, 32817, 1959, 618, 484, 1625, 284, 262, 4436, 717, 640, 30, 46506, 2248, 31534, 13, 2100, 84, 44709, 16034, 2248, 31534, 33411, 2248, 31534, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 33331, 502, 262, 938, 15701, 287, 5827, 32817, 1959, 618, 484, 1625, 284, 262, 4436, 717, 640, 30, 46506, 2248, 31534, 13, 2100, 84, 44709, 16034, 2248, 31534, 33411, 2248, 31534, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 1...
when is the first time patient 31615 since 2100 received cont inv mec ven 96+ hrs.
SELECT procedures_icd.charttime FROM procedures_icd WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'cont inv mec ven 96+ hrs') AND procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 31615) AND...
[ 12518, 318, 262, 717, 640, 5827, 34131, 1314, 1201, 38123, 2722, 542, 800, 502, 66, 8710, 9907, 10, 36201, 13, 46506, 9021, 62, 291, 67, 13, 40926, 2435, 16034, 9021, 62, 291, 67, 33411, 9021, 62, 291, 67, 13, 291, 67, 24, 62, 818...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 318, 262, 717, 640, 5827, 34131, 1314, 1201, 38123, 2722, 542, 800, 502, 66, 8710, 9907, 10, 36201, 13, 46506, 9021, 62, 291, 67, 13, 40926, 2435, 16034, 9021, 62, 291, 67, 33411, 9021, 62, 291, 67, 13, 291, 67, 24, 62, 818...
what is the total number of premiership years of the four corners club ?
SELECT "no. of premierships" FROM table_204_198 WHERE "club" = 'four corners'
[ 10919, 318, 262, 2472, 1271, 286, 4199, 36689, 812, 286, 262, 1440, 14371, 3430, 5633, 46506, 366, 3919, 13, 286, 4199, 3183, 5748, 1, 16034, 3084, 62, 18638, 62, 22337, 33411, 366, 18664, 1, 796, 705, 14337, 14371, 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 ]
[ 10919, 318, 262, 2472, 1271, 286, 4199, 36689, 812, 286, 262, 1440, 14371, 3430, 5633, 46506, 366, 3919, 13, 286, 4199, 3183, 5748, 1, 16034, 3084, 62, 18638, 62, 22337, 33411, 366, 18664, 1, 796, 705, 14337, 14371, 6 ]
Race that has a Podium larger than 1, and a Season of 1982, and a flap smaller than 1 had how many number of races?
SELECT COUNT("Race") FROM table_36431 WHERE "Podium" > '1' AND "Season" = '1982' AND "FLap" < '1'
[ 35157, 326, 468, 257, 350, 12664, 4025, 621, 352, 11, 290, 257, 7369, 286, 14489, 11, 290, 257, 37699, 4833, 621, 352, 550, 703, 867, 1271, 286, 9558, 30, 46506, 327, 28270, 7203, 35157, 4943, 16034, 3084, 62, 26780, 3132, 33411, 366,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 35157, 326, 468, 257, 350, 12664, 4025, 621, 352, 11, 290, 257, 7369, 286, 14489, 11, 290, 257, 37699, 4833, 621, 352, 550, 703, 867, 1271, 286, 9558, 30, 46506, 327, 28270, 7203, 35157, 4943, 16034, 3084, 62, 26780, 3132, 33411, 366,...
calculate the two year survival probability of patients that were prescribed nacl 0.9% mbp after they were diagnosed with abdominal compartment syndrome?
SELECT SUM(CASE WHEN patient.hospitaldischargestatus = 'alive' THEN 1 WHEN STRFTIME('%j', patient.hospitaldischargetime) - STRFTIME('%j', t4.diagnosistime) > 2 * 365 THEN 1 ELSE 0 END) * 100 / COUNT(*) FROM (SELECT t2.uniquepid, t2.diagnosistime FROM (SELECT t1.uniquepid, t1.diagnosistime FROM (SELECT patient.uniquepid...
[ 9948, 3129, 378, 262, 734, 614, 9441, 12867, 286, 3871, 326, 547, 14798, 299, 37779, 657, 13, 24, 4, 285, 46583, 706, 484, 547, 14641, 351, 32692, 26247, 14027, 30, 46506, 35683, 7, 34, 11159, 42099, 5827, 13, 49257, 6381, 11121, 395,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9948, 3129, 378, 262, 734, 614, 9441, 12867, 286, 3871, 326, 547, 14798, 299, 37779, 657, 13, 24, 4, 285, 46583, 706, 484, 547, 14641, 351, 32692, 26247, 14027, 30, 46506, 35683, 7, 34, 11159, 42099, 5827, 13, 49257, 6381, 11121, 395,...
What is the sum of the points when Carlos drove for repsol honda in 8th place?
SELECT SUM(points) FROM table_name_93 WHERE team = "repsol honda" AND rank = "8th"
[ 2061, 318, 262, 2160, 286, 262, 2173, 618, 17409, 10357, 329, 20982, 349, 289, 13533, 287, 807, 400, 1295, 30, 46506, 35683, 7, 13033, 8, 16034, 3084, 62, 3672, 62, 6052, 33411, 1074, 796, 366, 260, 862, 349, 289, 13533, 1, 5357, 42...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2160, 286, 262, 2173, 618, 17409, 10357, 329, 20982, 349, 289, 13533, 287, 807, 400, 1295, 30, 46506, 35683, 7, 13033, 8, 16034, 3084, 62, 3672, 62, 6052, 33411, 1074, 796, 366, 260, 862, 349, 289, 13533, 1, 5357, 42...
Is there Loci in the Cinderella software?
SELECT loci FROM table_name_77 WHERE software = "cinderella"
[ 3792, 612, 406, 1733, 287, 262, 40933, 3788, 30, 46506, 1179, 72, 16034, 3084, 62, 3672, 62, 3324, 33411, 3788, 796, 366, 66, 521, 36648, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 3792, 612, 406, 1733, 287, 262, 40933, 3788, 30, 46506, 1179, 72, 16034, 3084, 62, 3672, 62, 3324, 33411, 3788, 796, 366, 66, 521, 36648, 1 ]
What is the pick # for nhl team vancouver canucks?
SELECT MIN("Pick #") FROM table_3650 WHERE "NHL team" = 'Vancouver Canucks'
[ 2061, 318, 262, 2298, 1303, 329, 299, 18519, 1074, 410, 10264, 460, 6238, 30, 46506, 20625, 7203, 31686, 1303, 4943, 16034, 3084, 62, 2623, 1120, 33411, 366, 45, 6581, 1074, 1, 796, 705, 53, 10264, 31252, 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 ]
[ 2061, 318, 262, 2298, 1303, 329, 299, 18519, 1074, 410, 10264, 460, 6238, 30, 46506, 20625, 7203, 31686, 1303, 4943, 16034, 3084, 62, 2623, 1120, 33411, 366, 45, 6581, 1074, 1, 796, 705, 53, 10264, 31252, 6 ]
retrieve the top five most commonly prescribed medications in 2104?
SELECT t1.drugname FROM (SELECT medication.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM medication WHERE STRFTIME('%y', medication.drugstarttime) = '2104' GROUP BY medication.drugname) AS t1 WHERE t1.c1 <= 5
[ 1186, 30227, 262, 1353, 1936, 749, 8811, 14798, 17638, 287, 362, 13464, 30, 46506, 256, 16, 13, 30349, 3672, 16034, 357, 46506, 14103, 13, 30349, 3672, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, 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...
[ 1186, 30227, 262, 1353, 1936, 749, 8811, 14798, 17638, 287, 362, 13464, 30, 46506, 256, 16, 13, 30349, 3672, 16034, 357, 46506, 14103, 13, 30349, 3672, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, 7, ...
provide the number of patients whose insurance is private and year of birth is less than 2023?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.insurance = "Private" AND demographic.dob_year < "2023"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 5096, 318, 2839, 290, 614, 286, 4082, 318, 1342, 621, 1160, 1954, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 1040, 3874, 796, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15234, 485, 262, 1271, 286, 3871, 3025, 5096, 318, 2839, 290, 614, 286, 4082, 318, 1342, 621, 1160, 1954, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 1040, 3874, 796, ...
what is the constellation when the right ascension (j2000) is 09h51m54.0s?
SELECT constellation FROM table_name_61 WHERE right_ascension___j2000__ = "09h51m54.0s"
[ 10919, 318, 262, 38712, 618, 262, 826, 10570, 3004, 357, 73, 11024, 8, 318, 7769, 71, 4349, 76, 4051, 13, 15, 82, 30, 46506, 38712, 16034, 3084, 62, 3672, 62, 5333, 33411, 826, 62, 3372, 3004, 17569, 73, 11024, 834, 796, 366, 2931, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 38712, 618, 262, 826, 10570, 3004, 357, 73, 11024, 8, 318, 7769, 71, 4349, 76, 4051, 13, 15, 82, 30, 46506, 38712, 16034, 3084, 62, 3672, 62, 5333, 33411, 826, 62, 3372, 3004, 17569, 73, 11024, 834, 796, 366, 2931, ...
Name the language for el villar 1264
SELECT language FROM table_2509350_3 WHERE el_villar_municipality = 1264
[ 5376, 262, 3303, 329, 1288, 4489, 283, 1105, 2414, 46506, 3303, 16034, 3084, 62, 9031, 6052, 1120, 62, 18, 33411, 1288, 62, 41082, 283, 62, 6199, 4311, 1483, 796, 1105, 2414 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 3303, 329, 1288, 4489, 283, 1105, 2414, 46506, 3303, 16034, 3084, 62, 9031, 6052, 1120, 62, 18, 33411, 1288, 62, 41082, 283, 62, 6199, 4311, 1483, 796, 1105, 2414 ]
what is patient 18866's difference in heart rate from the second value measured on the current icu visit compared to the first value measured on the current icu visit?
SELECT (SELECT chartevents.valuenum 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 = 18866) AND icustays.outtime IS NULL) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_i...
[ 10919, 318, 5827, 27778, 2791, 338, 3580, 287, 2612, 2494, 422, 262, 1218, 1988, 8630, 319, 262, 1459, 14158, 84, 3187, 3688, 284, 262, 717, 1988, 8630, 319, 262, 1459, 14158, 84, 3187, 30, 46506, 357, 46506, 8262, 31534, 13, 2100, 84...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5827, 27778, 2791, 338, 3580, 287, 2612, 2494, 422, 262, 1218, 1988, 8630, 319, 262, 1459, 14158, 84, 3187, 3688, 284, 262, 717, 1988, 8630, 319, 262, 1459, 14158, 84, 3187, 30, 46506, 357, 46506, 8262, 31534, 13, 2100, 84...
What is the land area of Switzerland with a population density fewer than 188 km ?
SELECT AVG(land_area__km²_) FROM table_name_98 WHERE country = "switzerland" AND population_density__pop_per_km²_ < 188
[ 2061, 318, 262, 1956, 1989, 286, 14679, 351, 257, 3265, 12109, 7380, 621, 27778, 10571, 5633, 46506, 35224, 7, 1044, 62, 20337, 834, 13276, 31185, 62, 8, 16034, 3084, 62, 3672, 62, 4089, 33411, 1499, 796, 366, 2032, 13947, 1, 5357, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1956, 1989, 286, 14679, 351, 257, 3265, 12109, 7380, 621, 27778, 10571, 5633, 46506, 35224, 7, 1044, 62, 20337, 834, 13276, 31185, 62, 8, 16034, 3084, 62, 3672, 62, 4089, 33411, 1499, 796, 366, 2032, 13947, 1, 5357, 32...
Which 300 -level courses are easy ?
SELECT DISTINCT course.name, course.number, program_course.workload FROM course, program_course WHERE course.department = 'EECS' AND course.number BETWEEN 300 AND 300 + 100 AND program_course.course_id = course.course_id AND program_course.workload < 3 ORDER BY program_course.workload
[ 13828, 5867, 532, 5715, 10902, 389, 2562, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 3672, 11, 1781, 13, 17618, 11, 1430, 62, 17319, 13, 1818, 2220, 16034, 1781, 11, 1430, 62, 17319, 33411, 1781, 13, 10378, 1823, 796, 705, 36, 2943...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5867, 532, 5715, 10902, 389, 2562, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 3672, 11, 1781, 13, 17618, 11, 1430, 62, 17319, 13, 1818, 2220, 16034, 1781, 11, 1430, 62, 17319, 33411, 1781, 13, 10378, 1823, 796, 705, 36, 2943...
what's the computing mechanbeingm with first operational being february 1944
SELECT computing_mechanism FROM table_13636_1 WHERE first_operational = "February 1944"
[ 10919, 338, 262, 14492, 3962, 11873, 76, 351, 717, 13919, 852, 730, 65, 3728, 16994, 46506, 14492, 62, 1326, 3147, 1042, 16034, 3084, 62, 20809, 2623, 62, 16, 33411, 717, 62, 3575, 864, 796, 366, 21816, 16994, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 338, 262, 14492, 3962, 11873, 76, 351, 717, 13919, 852, 730, 65, 3728, 16994, 46506, 14492, 62, 1326, 3147, 1042, 16034, 3084, 62, 20809, 2623, 62, 16, 33411, 717, 62, 3575, 864, 796, 366, 21816, 16994, 1 ]
How many years did Real Colorado Foxes make it to the Open Cup 1st Round?
SELECT COUNT(year) FROM table_name_9 WHERE open_cup = "1st round"
[ 2437, 867, 812, 750, 6416, 7492, 5426, 274, 787, 340, 284, 262, 4946, 5454, 352, 301, 10485, 30, 46506, 327, 28270, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 24, 33411, 1280, 62, 25244, 796, 366, 16, 301, 2835, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 750, 6416, 7492, 5426, 274, 787, 340, 284, 262, 4946, 5454, 352, 301, 10485, 30, 46506, 327, 28270, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 24, 33411, 1280, 62, 25244, 796, 366, 16, 301, 2835, 1 ]
What's the 2008 of the Australian Open when the 2011 was 1R?
SELECT "2008" FROM table_65895 WHERE "2011" = '1r' AND "Tournament" = 'australian open'
[ 2061, 338, 262, 3648, 286, 262, 6638, 4946, 618, 262, 2813, 373, 352, 49, 30, 46506, 366, 11528, 1, 16034, 3084, 62, 38431, 3865, 33411, 366, 9804, 1, 796, 705, 16, 81, 6, 5357, 366, 51, 5138, 1, 796, 705, 64, 436, 1373, 666, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3648, 286, 262, 6638, 4946, 618, 262, 2813, 373, 352, 49, 30, 46506, 366, 11528, 1, 16034, 3084, 62, 38431, 3865, 33411, 366, 9804, 1, 796, 705, 16, 81, 6, 5357, 366, 51, 5138, 1, 796, 705, 64, 436, 1373, 666, 12...
find the number of patients who follow the religion jehovah's witness.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.religion = "JEHOVAH'S WITNESS"
[ 19796, 262, 1271, 286, 3871, 508, 1061, 262, 5737, 11223, 33023, 338, 4973, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 2411, 17035, 796, 366, 41, 42413, 8874, 18429, 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 ]
[ 19796, 262, 1271, 286, 3871, 508, 1061, 262, 5737, 11223, 33023, 338, 4973, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 2411, 17035, 796, 366, 41, 42413, 8874, 18429, 6...
Ratio of getting accepted answers.
SELECT ((SELECT CAST(COUNT(*) AS FLOAT) FROM Posts AS q JOIN Posts AS a ON a.Id = q.AcceptedAnswerId) / (SELECT CAST(COUNT(*) AS FLOAT) FROM Posts WHERE PostTypeId = 1)) AS accept_answer_ratio
[ 29665, 952, 286, 1972, 6292, 7429, 13, 46506, 14808, 46506, 327, 11262, 7, 34, 28270, 7, 28104, 7054, 9977, 46, 1404, 8, 16034, 12043, 7054, 10662, 32357, 1268, 12043, 7054, 257, 6177, 257, 13, 7390, 796, 10662, 13, 38855, 276, 33706, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 29665, 952, 286, 1972, 6292, 7429, 13, 46506, 14808, 46506, 327, 11262, 7, 34, 28270, 7, 28104, 7054, 9977, 46, 1404, 8, 16034, 12043, 7054, 10662, 32357, 1268, 12043, 7054, 257, 6177, 257, 13, 7390, 796, 10662, 13, 38855, 276, 33706, ...
how many patients whose language is russ and discharge location is snf?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.language = "RUSS" AND demographic.discharge_location = "SNF"
[ 4919, 867, 3871, 3025, 3303, 318, 374, 1046, 290, 17655, 4067, 318, 3013, 69, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 16129, 796, 366, 49, 32835, 1, 5357, 16728, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 3871, 3025, 3303, 318, 374, 1046, 290, 17655, 4067, 318, 3013, 69, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 16129, 796, 366, 49, 32835, 1, 5357, 16728, ...
What are the characters of actors in descending order of age?
SELECT Character FROM actor ORDER BY age DESC
[ 2061, 389, 262, 3435, 286, 10544, 287, 31491, 1502, 286, 2479, 30, 46506, 15684, 16034, 8674, 38678, 11050, 2479, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 262, 3435, 286, 10544, 287, 31491, 1502, 286, 2479, 30, 46506, 15684, 16034, 8674, 38678, 11050, 2479, 22196, 34 ]
For those employees who did not have any job in the past, show me about the distribution of job_id and the amount of job_id , and group by attribute job_id in a bar chart, and show by the x axis in ascending please.
SELECT JOB_ID, COUNT(JOB_ID) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) GROUP BY JOB_ID ORDER BY JOB_ID
[ 1890, 883, 4409, 508, 750, 407, 423, 597, 1693, 287, 262, 1613, 11, 905, 502, 546, 262, 6082, 286, 1693, 62, 312, 290, 262, 2033, 286, 1693, 62, 312, 837, 290, 1448, 416, 11688, 1693, 62, 312, 287, 257, 2318, 8262, 11, 290, 905, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4409, 508, 750, 407, 423, 597, 1693, 287, 262, 1613, 11, 905, 502, 546, 262, 6082, 286, 1693, 62, 312, 290, 262, 2033, 286, 1693, 62, 312, 837, 290, 1448, 416, 11688, 1693, 62, 312, 287, 257, 2318, 8262, 11, 290, 905, ...
Which Film and Cinema Studies courses do n't have prerequisites ?
SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN area ON course.course_id = area.course_id WHERE (area.area LIKE '%Film and Cinema Studies%' OR course.description LIKE '%Film and Cinema Studies%' OR course.name LIKE '%Film and Cinema Studies%') AND course.enforced_requirement = 'N / ...
[ 13828, 13741, 290, 31535, 10422, 10902, 466, 299, 470, 423, 662, 34075, 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, 173...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13741, 290, 31535, 10422, 10902, 466, 299, 470, 423, 662, 34075, 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, 173...
What is SS Player Rich McKinney's Team?
SELECT "Team" FROM table_14232 WHERE "Position" = 'ss' AND "Player" = 'rich mckinney'
[ 2061, 318, 6723, 7853, 3998, 31946, 1681, 338, 4816, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 1415, 24339, 33411, 366, 26545, 1, 796, 705, 824, 6, 5357, 366, 14140, 1, 796, 705, 7527, 285, 694, 259, 1681, 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 ]
[ 2061, 318, 6723, 7853, 3998, 31946, 1681, 338, 4816, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 1415, 24339, 33411, 366, 26545, 1, 796, 705, 824, 6, 5357, 366, 14140, 1, 796, 705, 7527, 285, 694, 259, 1681, 6 ]
What are the last names of individuals who have been contact individuals for an organization?
SELECT DISTINCT t1.individual_last_name FROM individuals AS t1 JOIN organization_contact_individuals AS t2 ON t1.individual_id = t2.individual_id
[ 2061, 389, 262, 938, 3891, 286, 3925, 508, 423, 587, 2800, 3925, 329, 281, 4009, 30, 46506, 360, 8808, 1268, 4177, 256, 16, 13, 43129, 62, 12957, 62, 3672, 16034, 3925, 7054, 256, 16, 32357, 1268, 4009, 62, 32057, 62, 43129, 82, 705...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 262, 938, 3891, 286, 3925, 508, 423, 587, 2800, 3925, 329, 281, 4009, 30, 46506, 360, 8808, 1268, 4177, 256, 16, 13, 43129, 62, 12957, 62, 3672, 16034, 3925, 7054, 256, 16, 32357, 1268, 4009, 62, 32057, 62, 43129, 82, 705...
whats the unabbreviated version of tb lung cavity-exam unkn.
SELECT d_icd_diagnoses.long_title FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'tb lung cavity-exam unkn' UNION SELECT d_icd_procedures.long_title FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'tb lung cavity-exam unkn'
[ 1929, 1381, 262, 40986, 4679, 8903, 515, 2196, 286, 256, 65, 12317, 31643, 12, 1069, 321, 555, 15418, 13, 46506, 288, 62, 291, 67, 62, 47356, 4629, 13, 6511, 62, 7839, 16034, 288, 62, 291, 67, 62, 47356, 4629, 33411, 288, 62, 291, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1929, 1381, 262, 40986, 4679, 8903, 515, 2196, 286, 256, 65, 12317, 31643, 12, 1069, 321, 555, 15418, 13, 46506, 288, 62, 291, 67, 62, 47356, 4629, 13, 6511, 62, 7839, 16034, 288, 62, 291, 67, 62, 47356, 4629, 33411, 288, 62, 291, ...
hdl cholesterol level < 35 mg / dl and / or a fasting triglyceride level >= 250 mg / dl or being treated for dyslipidemia with medication
SELECT * FROM table_dev_17 WHERE high_density_lipoprotein_cholesterol_hdl_c < 35 OR fasting_triglyceride >= 250 OR dyslipidemia = 1
[ 71, 25404, 18759, 1241, 1279, 3439, 10527, 1220, 288, 75, 290, 1220, 393, 257, 24845, 47937, 485, 1241, 18189, 8646, 10527, 1220, 288, 75, 393, 852, 5716, 329, 13147, 40712, 312, 22859, 351, 14103, 46506, 1635, 16034, 3084, 62, 7959, 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...
[ 71, 25404, 18759, 1241, 1279, 3439, 10527, 1220, 288, 75, 290, 1220, 393, 257, 24845, 47937, 485, 1241, 18189, 8646, 10527, 1220, 288, 75, 393, 852, 5716, 329, 13147, 40712, 312, 22859, 351, 14103, 46506, 1635, 16034, 3084, 62, 7959, 62...
What are the id and name of the stations that have ever had more than 12 bikes available?
SELECT DISTINCT T1.id, T1.name FROM station AS T1 JOIN status AS T2 ON T1.id = T2.station_id WHERE T2.bikes_available > 12
[ 2061, 389, 262, 4686, 290, 1438, 286, 262, 8985, 326, 423, 1683, 550, 517, 621, 1105, 16715, 1695, 30, 46506, 360, 8808, 1268, 4177, 309, 16, 13, 312, 11, 309, 16, 13, 3672, 16034, 4429, 7054, 309, 16, 32357, 1268, 3722, 7054, 309, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4686, 290, 1438, 286, 262, 8985, 326, 423, 1683, 550, 517, 621, 1105, 16715, 1695, 30, 46506, 360, 8808, 1268, 4177, 309, 16, 13, 312, 11, 309, 16, 13, 3672, 16034, 4429, 7054, 309, 16, 32357, 1268, 3722, 7054, 309, ...
i need a UA flight from DENVER to BALTIMORE on saturday
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, date_day, days, flight WHERE ((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'BALTIMORE' AND date_day.day_number = 26 AND date_day.month_number = 7 AN...
[ 72, 761, 257, 46164, 5474, 422, 37692, 5959, 284, 347, 31429, 3955, 6965, 319, 264, 3658, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 1527...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 72, 761, 257, 46164, 5474, 422, 37692, 5959, 284, 347, 31429, 3955, 6965, 319, 264, 3658, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 1527...
what are the hospital admission times of patient 015-100195 in 2105?
SELECT patient.hospitaladmittime FROM patient WHERE patient.uniquepid = '015-100195' AND STRFTIME('%y', patient.hospitaladmittime) = '2105'
[ 10919, 389, 262, 4436, 13938, 1661, 286, 5827, 5534, 20, 12, 3064, 22186, 287, 362, 13348, 30, 46506, 5827, 13, 49257, 324, 20124, 524, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 25150, 12, 3064, 22186, 6, 5357, 1926...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 389, 262, 4436, 13938, 1661, 286, 5827, 5534, 20, 12, 3064, 22186, 287, 362, 13348, 30, 46506, 5827, 13, 49257, 324, 20124, 524, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 25150, 12, 3064, 22186, 6, 5357, 1926...
Find the first name of students who are living in the Smith Hall, and count them by a bar chart, and order Y-axis from high to low order please.
SELECT Fname, COUNT(Fname) FROM Student AS T1 JOIN Lives_in AS T2 ON T1.stuid = T2.stuid JOIN Dorm AS T3 ON T3.dormid = T2.dormid WHERE T3.dorm_name = 'Smith Hall' GROUP BY Fname ORDER BY COUNT(Fname) DESC
[ 16742, 262, 717, 1438, 286, 2444, 508, 389, 2877, 287, 262, 4176, 4789, 11, 290, 954, 606, 416, 257, 2318, 8262, 11, 290, 1502, 575, 12, 22704, 422, 1029, 284, 1877, 1502, 3387, 13, 46506, 376, 3672, 11, 327, 28270, 7, 37, 3672, 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...
[ 16742, 262, 717, 1438, 286, 2444, 508, 389, 2877, 287, 262, 4176, 4789, 11, 290, 954, 606, 416, 257, 2318, 8262, 11, 290, 1502, 575, 12, 22704, 422, 1029, 284, 1877, 1502, 3387, 13, 46506, 376, 3672, 11, 327, 28270, 7, 37, 3672, 8...
Which students participate in both Canoeing and Kayaking as their activities? Tell me their student ids.
SELECT T1.stuid FROM participates_in AS T1 JOIN activity AS T2 ON T2.actid = T2.actid WHERE T2.activity_name = 'Canoeing' INTERSECT SELECT T1.stuid FROM participates_in AS T1 JOIN activity AS T2 ON T2.actid = T2.actid WHERE T2.activity_name = 'Kayaking'
[ 13828, 2444, 8277, 287, 1111, 1680, 2577, 278, 290, 17356, 868, 355, 511, 4568, 30, 14026, 502, 511, 3710, 220, 2340, 13, 46506, 309, 16, 13, 301, 27112, 16034, 49567, 62, 259, 7054, 309, 16, 32357, 1268, 3842, 7054, 309, 17, 6177, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 13828, 2444, 8277, 287, 1111, 1680, 2577, 278, 290, 17356, 868, 355, 511, 4568, 30, 14026, 502, 511, 3710, 220, 2340, 13, 46506, 309, 16, 13, 301, 27112, 16034, 49567, 62, 259, 7054, 309, 16, 32357, 1268, 3842, 7054, 309, 17, 6177, ...
When did eleonor magdalene of the palatinate-neuburg become duchess?
SELECT "Became Duchess" FROM table_37211 WHERE "Name" = 'eleonor magdalene of the palatinate-neuburg'
[ 2215, 750, 9766, 261, 273, 2153, 31748, 1734, 286, 262, 6340, 265, 4559, 12, 710, 549, 3686, 1716, 288, 1229, 33979, 30, 46506, 366, 39649, 480, 40289, 1, 16034, 3084, 62, 2718, 21895, 33411, 366, 5376, 1, 796, 705, 11129, 261, 273, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 750, 9766, 261, 273, 2153, 31748, 1734, 286, 262, 6340, 265, 4559, 12, 710, 549, 3686, 1716, 288, 1229, 33979, 30, 46506, 366, 39649, 480, 40289, 1, 16034, 3084, 62, 2718, 21895, 33411, 366, 5376, 1, 796, 705, 11129, 261, 273, ...
tell me the change in the respiration of patient 017-88691 last measured on the current icu visit compared to the second to last value measured on the current icu visit?
SELECT (SELECT vitalperiodic.respiration FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '017-88691') AND patient.unitdischargetime IS NU...
[ 33331, 502, 262, 1487, 287, 262, 1217, 15297, 286, 5827, 5534, 22, 12, 3459, 49541, 938, 8630, 319, 262, 1459, 14158, 84, 3187, 3688, 284, 262, 1218, 284, 938, 1988, 8630, 319, 262, 1459, 14158, 84, 3187, 30, 46506, 357, 46506, 9204, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 33331, 502, 262, 1487, 287, 262, 1217, 15297, 286, 5827, 5534, 22, 12, 3459, 49541, 938, 8630, 319, 262, 1459, 14158, 84, 3187, 3688, 284, 262, 1218, 284, 938, 1988, 8630, 319, 262, 1459, 14158, 84, 3187, 30, 46506, 357, 46506, 9204, ...
provide the number of patients whose marital status is widowed and diagnoses long title is chronic kidney disease, stage iv (severe)?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.marital_status = "WIDOWED" AND diagnoses.long_title = "Chronic kidney disease, Stage IV (severe)"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 29555, 3722, 318, 9214, 6972, 290, 40567, 890, 3670, 318, 10726, 21919, 4369, 11, 3800, 21628, 357, 43070, 19427, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 15234, 485, 262, 1271, 286, 3871, 3025, 29555, 3722, 318, 9214, 6972, 290, 40567, 890, 3670, 318, 10726, 21919, 4369, 11, 3800, 21628, 357, 43070, 19427, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, ...
which team came in after the titans in the miway t20 challenge ?
SELECT "team" FROM table_204_642 WHERE "appearance" > (SELECT "appearance" FROM table_204_642 WHERE "team" = 'titans' AND "domestic tournament" = '2011-12 miway t20 challenge') AND "domestic tournament" = '2011-12 miway t20 challenge' ORDER BY "appearance" LIMIT 1
[ 4758, 1074, 1625, 287, 706, 262, 5259, 504, 287, 262, 21504, 1014, 256, 1238, 4427, 5633, 46506, 366, 15097, 1, 16034, 3084, 62, 18638, 62, 41290, 33411, 366, 1324, 23435, 1, 1875, 357, 46506, 366, 1324, 23435, 1, 16034, 3084, 62, 186...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4758, 1074, 1625, 287, 706, 262, 5259, 504, 287, 262, 21504, 1014, 256, 1238, 4427, 5633, 46506, 366, 15097, 1, 16034, 3084, 62, 18638, 62, 41290, 33411, 366, 1324, 23435, 1, 1875, 357, 46506, 366, 1324, 23435, 1, 16034, 3084, 62, 186...
Find the number of courses offered by Psychology department in each year with a line chart, and could you sort by the year in asc?
SELECT year, COUNT(year) FROM course AS T1 JOIN section AS T2 ON T1.course_id = T2.course_id WHERE T1.dept_name = 'Psychology' GROUP BY year ORDER BY year
[ 16742, 262, 1271, 286, 10902, 4438, 416, 18430, 5011, 287, 1123, 614, 351, 257, 1627, 8262, 11, 290, 714, 345, 3297, 416, 262, 614, 287, 10570, 30, 46506, 614, 11, 327, 28270, 7, 1941, 8, 16034, 1781, 7054, 309, 16, 32357, 1268, 266...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1271, 286, 10902, 4438, 416, 18430, 5011, 287, 1123, 614, 351, 257, 1627, 8262, 11, 290, 714, 345, 3297, 416, 262, 614, 287, 10570, 30, 46506, 614, 11, 327, 28270, 7, 1941, 8, 16034, 1781, 7054, 309, 16, 32357, 1268, 266...
How many field goals were made by someone playing position of right end?
SELECT COUNT("Field goals") FROM table_1035 WHERE "Position" = 'Right end'
[ 2437, 867, 2214, 4661, 547, 925, 416, 2130, 2712, 2292, 286, 826, 886, 30, 46506, 327, 28270, 7203, 15878, 4661, 4943, 16034, 3084, 62, 940, 2327, 33411, 366, 26545, 1, 796, 705, 11028, 886, 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 ]
[ 2437, 867, 2214, 4661, 547, 925, 416, 2130, 2712, 2292, 286, 826, 886, 30, 46506, 327, 28270, 7203, 15878, 4661, 4943, 16034, 3084, 62, 940, 2327, 33411, 366, 26545, 1, 796, 705, 11028, 886, 6 ]
What is the status of partial thromboplastin times for conditions where the platelet count is decreased?
SELECT "Partial thromboplastin time" FROM table_23754 WHERE "Platelet count" = 'Decreased'
[ 2061, 318, 262, 3722, 286, 13027, 294, 398, 65, 404, 12957, 259, 1661, 329, 3403, 810, 262, 7480, 1616, 954, 318, 11832, 30, 46506, 366, 7841, 498, 294, 398, 65, 404, 12957, 259, 640, 1, 16034, 3084, 62, 1954, 41874, 33411, 366, 364...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 3722, 286, 13027, 294, 398, 65, 404, 12957, 259, 1661, 329, 3403, 810, 262, 7480, 1616, 954, 318, 11832, 30, 46506, 366, 7841, 498, 294, 398, 65, 404, 12957, 259, 640, 1, 16034, 3084, 62, 1954, 41874, 33411, 366, 364...
show me the airlines that fly from TORONTO to BOSTON
SELECT DISTINCT airline.airline_code FROM airline, airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'TORONTO' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_n...
[ 12860, 502, 262, 26225, 326, 6129, 422, 40691, 1340, 10468, 284, 347, 10892, 1340, 46506, 360, 8808, 1268, 4177, 18091, 13, 958, 1370, 62, 8189, 16034, 18091, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12860, 502, 262, 26225, 326, 6129, 422, 40691, 1340, 10468, 284, 347, 10892, 1340, 46506, 360, 8808, 1268, 4177, 18091, 13, 958, 1370, 62, 8189, 16034, 18091, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, ...
What was the location and attendance for the game against the team with a 51-15 record with the Cavaliers?
SELECT "Location Attendance" FROM table_25196 WHERE "Record" = '51-15'
[ 2061, 373, 262, 4067, 290, 14858, 329, 262, 983, 1028, 262, 1074, 351, 257, 6885, 12, 1314, 1700, 351, 262, 29411, 30, 46506, 366, 14749, 46502, 590, 1, 16034, 3084, 62, 1495, 25272, 33411, 366, 23739, 1, 796, 705, 4349, 12, 1314, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 4067, 290, 14858, 329, 262, 983, 1028, 262, 1074, 351, 257, 6885, 12, 1314, 1700, 351, 262, 29411, 30, 46506, 366, 14749, 46502, 590, 1, 16034, 3084, 62, 1495, 25272, 33411, 366, 23739, 1, 796, 705, 4349, 12, 1314, 6...
what is diagnoses icd9 code and diagnoses long title of subject name dona cole?
SELECT diagnoses.icd9_code, diagnoses.long_title FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.name = "Dona Cole"
[ 10919, 318, 40567, 14158, 67, 24, 2438, 290, 40567, 890, 3670, 286, 2426, 1438, 836, 64, 763, 293, 30, 46506, 40567, 13, 291, 67, 24, 62, 8189, 11, 40567, 13, 6511, 62, 7839, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 40567, 14158, 67, 24, 2438, 290, 40567, 890, 3670, 286, 2426, 1438, 836, 64, 763, 293, 30, 46506, 40567, 13, 291, 67, 24, 62, 8189, 11, 40567, 13, 6511, 62, 7839, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728,...
What date is associated with the label Village Records?
SELECT date FROM table_name_88 WHERE label = "village records"
[ 2061, 3128, 318, 3917, 351, 262, 6167, 14812, 13407, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 3459, 33411, 6167, 796, 366, 41082, 496, 4406, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 3128, 318, 3917, 351, 262, 6167, 14812, 13407, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 3459, 33411, 6167, 796, 366, 41082, 496, 4406, 1 ]
Who is the lead on the Europe team that has a Liudmila Privivkova as the skip?
SELECT "Lead" FROM table_43121 WHERE "Team" = 'europe' AND "Skip" = 'liudmila privivkova'
[ 8241, 318, 262, 1085, 319, 262, 2031, 1074, 326, 468, 257, 7455, 463, 76, 10102, 9243, 452, 74, 10071, 355, 262, 14267, 30, 46506, 366, 20451, 1, 16034, 3084, 62, 3559, 19244, 33411, 366, 15592, 1, 796, 705, 44252, 431, 6, 5357, 366...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 318, 262, 1085, 319, 262, 2031, 1074, 326, 468, 257, 7455, 463, 76, 10102, 9243, 452, 74, 10071, 355, 262, 14267, 30, 46506, 366, 20451, 1, 16034, 3084, 62, 3559, 19244, 33411, 366, 15592, 1, 796, 705, 44252, 431, 6, 5357, 366...
What High School with a nickname of S Eagle has a Division of crest?
SELECT "High School" FROM table_75458 WHERE "Division" = 'crest' AND "Nickname" = 's eagle'
[ 2061, 3334, 3961, 351, 257, 21814, 286, 311, 18456, 468, 257, 7458, 286, 36893, 30, 46506, 366, 11922, 3961, 1, 16034, 3084, 62, 2425, 29334, 33411, 366, 24095, 1166, 1, 796, 705, 66, 2118, 6, 5357, 366, 23609, 3672, 1, 796, 705, 82...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3334, 3961, 351, 257, 21814, 286, 311, 18456, 468, 257, 7458, 286, 36893, 30, 46506, 366, 11922, 3961, 1, 16034, 3084, 62, 2425, 29334, 33411, 366, 24095, 1166, 1, 796, 705, 66, 2118, 6, 5357, 366, 23609, 3672, 1, 796, 705, 82...
For record 25-24, what is the sum of attendance?
SELECT COUNT("Attendance") FROM table_79782 WHERE "Record" = '25-24'
[ 1890, 1700, 1679, 12, 1731, 11, 644, 318, 262, 2160, 286, 14858, 30, 46506, 327, 28270, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 3720, 46519, 33411, 366, 23739, 1, 796, 705, 1495, 12, 1731, 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 ]
[ 1890, 1700, 1679, 12, 1731, 11, 644, 318, 262, 2160, 286, 14858, 30, 46506, 327, 28270, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 3720, 46519, 33411, 366, 23739, 1, 796, 705, 1495, 12, 1731, 6 ]
What is the sum of Goals, when Matches is less than 29?
SELECT SUM("Goals") FROM table_78960 WHERE "Matches" < '29'
[ 2061, 318, 262, 2160, 286, 28510, 11, 618, 6550, 2052, 318, 1342, 621, 2808, 30, 46506, 35683, 7203, 5247, 874, 4943, 16034, 3084, 62, 3695, 39277, 33411, 366, 19044, 2052, 1, 1279, 705, 1959, 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, 318, 262, 2160, 286, 28510, 11, 618, 6550, 2052, 318, 1342, 621, 2808, 30, 46506, 35683, 7203, 5247, 874, 4943, 16034, 3084, 62, 3695, 39277, 33411, 366, 19044, 2052, 1, 1279, 705, 1959, 6 ]
please show me early morning flights from ATLANTA to PHILADELPHIA on wednesday
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, date_day, days, flight WHERE ((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'PHILADELPHIA' AND date_day.day_number = 23 AND date_day.month_number = 4...
[ 29688, 905, 502, 1903, 3329, 13956, 422, 5161, 25697, 5603, 284, 9370, 4146, 2885, 3698, 11909, 3539, 319, 29445, 3462, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 29688, 905, 502, 1903, 3329, 13956, 422, 5161, 25697, 5603, 284, 9370, 4146, 2885, 3698, 11909, 3539, 319, 29445, 3462, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, ...
how many hours has elapsed since the first time that patient 006-105495 took a volume (ml) dobutamine intake on the current intensive care unit visit?
SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', intakeoutput.intakeoutputtime)) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid ...
[ 4919, 867, 2250, 468, 42118, 1201, 262, 717, 640, 326, 5827, 3571, 21, 12, 13348, 33781, 1718, 257, 6115, 357, 4029, 8, 466, 4360, 9862, 10337, 319, 262, 1459, 18590, 1337, 4326, 3187, 30, 46506, 1987, 1635, 357, 18601, 9792, 12789, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2250, 468, 42118, 1201, 262, 717, 640, 326, 5827, 3571, 21, 12, 13348, 33781, 1718, 257, 6115, 357, 4029, 8, 466, 4360, 9862, 10337, 319, 262, 1459, 18590, 1337, 4326, 3187, 30, 46506, 1987, 1635, 357, 18601, 9792, 12789, 1...
when was the first time the respiration of patient 025-13899 was measured on 07/05/last year at greater than 7.0?
SELECT vitalperiodic.observationtime FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '025-13899')) AND vitalperiodic.respiration > 7.0 AN...
[ 12518, 373, 262, 717, 640, 262, 1217, 15297, 286, 5827, 657, 1495, 12, 20107, 2079, 373, 8630, 319, 8753, 14, 2713, 14, 12957, 614, 379, 3744, 621, 767, 13, 15, 30, 46506, 9204, 41007, 291, 13, 672, 3168, 341, 2435, 16034, 9204, 410...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12518, 373, 262, 717, 640, 262, 1217, 15297, 286, 5827, 657, 1495, 12, 20107, 2079, 373, 8630, 319, 8753, 14, 2713, 14, 12957, 614, 379, 3744, 621, 767, 13, 15, 30, 46506, 9204, 41007, 291, 13, 672, 3168, 341, 2435, 16034, 9204, 410...
What was the away team's score in the match at Lake Oval?
SELECT "Away team score" FROM table_32241 WHERE "Venue" = 'lake oval'
[ 2061, 373, 262, 1497, 1074, 338, 4776, 287, 262, 2872, 379, 6233, 25165, 30, 46506, 366, 32, 1014, 1074, 4776, 1, 16034, 3084, 62, 2624, 28872, 33411, 366, 37522, 518, 1, 796, 705, 27180, 41186, 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 ]
[ 2061, 373, 262, 1497, 1074, 338, 4776, 287, 262, 2872, 379, 6233, 25165, 30, 46506, 366, 32, 1014, 1074, 4776, 1, 16034, 3084, 62, 2624, 28872, 33411, 366, 37522, 518, 1, 796, 705, 27180, 41186, 6 ]
What party has the district Georgia 7?
SELECT party FROM table_name_46 WHERE district = "georgia 7"
[ 2061, 2151, 468, 262, 4783, 7859, 767, 30, 46506, 2151, 16034, 3084, 62, 3672, 62, 3510, 33411, 4783, 796, 366, 469, 2398, 544, 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 ]
[ 2061, 2151, 468, 262, 4783, 7859, 767, 30, 46506, 2151, 16034, 3084, 62, 3672, 62, 3510, 33411, 4783, 796, 366, 469, 2398, 544, 767, 1 ]
Which program has 3.5 years?
SELECT "Program" FROM table_69952 WHERE "Duration (years)" = '3.5'
[ 13828, 1430, 468, 513, 13, 20, 812, 30, 46506, 366, 15167, 1, 16034, 3084, 62, 47325, 4309, 33411, 366, 26054, 357, 19002, 16725, 796, 705, 18, 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 ]
[ 13828, 1430, 468, 513, 13, 20, 812, 30, 46506, 366, 15167, 1, 16034, 3084, 62, 47325, 4309, 33411, 366, 26054, 357, 19002, 16725, 796, 705, 18, 13, 20, 6 ]
What day was wayne brady performer 2, ryan stiles performer 4, and an episode number greater than 5?
SELECT date FROM table_name_78 WHERE performer_4 = "ryan stiles" AND episode > 5 AND performer_2 = "wayne brady"
[ 2061, 1110, 373, 835, 710, 865, 4597, 26960, 362, 11, 374, 4121, 336, 2915, 26960, 604, 11, 290, 281, 4471, 1271, 3744, 621, 642, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 3695, 33411, 26960, 62, 19, 796, 366, 29038, 336, 2915, 1,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1110, 373, 835, 710, 865, 4597, 26960, 362, 11, 374, 4121, 336, 2915, 26960, 604, 11, 290, 281, 4471, 1271, 3744, 621, 642, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 3695, 33411, 26960, 62, 19, 796, 366, 29038, 336, 2915, 1,...
What is the nationality of the athlete with a time of 2:12.56?
SELECT nationality FROM table_name_80 WHERE time = "2:12.56"
[ 2061, 318, 262, 29835, 286, 262, 16076, 351, 257, 640, 286, 362, 25, 1065, 13, 3980, 30, 46506, 29835, 16034, 3084, 62, 3672, 62, 1795, 33411, 640, 796, 366, 17, 25, 1065, 13, 3980, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 29835, 286, 262, 16076, 351, 257, 640, 286, 362, 25, 1065, 13, 3980, 30, 46506, 29835, 16034, 3084, 62, 3672, 62, 1795, 33411, 640, 796, 366, 17, 25, 1065, 13, 3980, 1 ]
When was the game against Indiana?
SELECT date FROM table_name_78 WHERE opponent_number = "indiana"
[ 2215, 373, 262, 983, 1028, 10278, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 3695, 33411, 6125, 62, 17618, 796, 366, 521, 7484, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 373, 262, 983, 1028, 10278, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 3695, 33411, 6125, 62, 17618, 796, 366, 521, 7484, 1 ]
What is the skip when Tony Angiboust was a lead?
SELECT "Skip" FROM table_9476 WHERE "Lead" = 'tony angiboust'
[ 2061, 318, 262, 14267, 618, 8832, 2895, 571, 23968, 373, 257, 1085, 30, 46506, 366, 50232, 1, 16034, 3084, 62, 24, 35435, 33411, 366, 20451, 1, 796, 705, 1122, 88, 3550, 571, 23968, 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 ]
[ 2061, 318, 262, 14267, 618, 8832, 2895, 571, 23968, 373, 257, 1085, 30, 46506, 366, 50232, 1, 16034, 3084, 62, 24, 35435, 33411, 366, 20451, 1, 796, 705, 1122, 88, 3550, 571, 23968, 6 ]
What is the best finish for the player whose earnings was $421050?
SELECT "Best finish" FROM table_31173 WHERE "Earnings ($)" = '421050'
[ 2061, 318, 262, 1266, 5461, 329, 262, 2137, 3025, 12042, 373, 720, 3682, 940, 1120, 30, 46506, 366, 13014, 5461, 1, 16034, 3084, 62, 36244, 4790, 33411, 366, 49725, 654, 7198, 16725, 796, 705, 3682, 940, 1120, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1266, 5461, 329, 262, 2137, 3025, 12042, 373, 720, 3682, 940, 1120, 30, 46506, 366, 13014, 5461, 1, 16034, 3084, 62, 36244, 4790, 33411, 366, 49725, 654, 7198, 16725, 796, 705, 3682, 940, 1120, 6 ]
what does it cost to get hemorrhage - postpartum diagnosed?
SELECT DISTINCT cost.cost FROM cost WHERE cost.eventtype = 'diagnosis' AND cost.eventid IN (SELECT diagnosis.diagnosisid FROM diagnosis WHERE diagnosis.diagnosisname = 'hemorrhage - postpartum')
[ 10919, 857, 340, 1575, 284, 651, 42203, 496, 532, 1281, 3911, 388, 14641, 30, 46506, 360, 8808, 1268, 4177, 1575, 13, 15805, 16034, 1575, 33411, 1575, 13, 15596, 4906, 796, 705, 47356, 5958, 6, 5357, 1575, 13, 15596, 312, 3268, 357, 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...
[ 10919, 857, 340, 1575, 284, 651, 42203, 496, 532, 1281, 3911, 388, 14641, 30, 46506, 360, 8808, 1268, 4177, 1575, 13, 15805, 16034, 1575, 33411, 1575, 13, 15596, 4906, 796, 705, 47356, 5958, 6, 5357, 1575, 13, 15596, 312, 3268, 357, 4...
What is 1st Leg, when Team 1 is 'Makedonija'?
SELECT "1st leg" FROM table_7869 WHERE "Team 1" = 'makedonija'
[ 2061, 318, 352, 301, 3564, 11, 618, 4816, 352, 318, 705, 44, 4335, 261, 34655, 30960, 46506, 366, 16, 301, 1232, 1, 16034, 3084, 62, 3695, 3388, 33411, 366, 15592, 352, 1, 796, 705, 76, 4335, 261, 34655, 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 ]
[ 2061, 318, 352, 301, 3564, 11, 618, 4816, 352, 318, 705, 44, 4335, 261, 34655, 30960, 46506, 366, 16, 301, 1232, 1, 16034, 3084, 62, 3695, 3388, 33411, 366, 15592, 352, 1, 796, 705, 76, 4335, 261, 34655, 6 ]
provide the number of patients whose admission year is less than 2184 and procedure long title is other transplant of liver?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admityear < "2184" AND procedures.long_title = "Other transplant of liver"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 13938, 614, 318, 1342, 621, 362, 22883, 290, 8771, 890, 3670, 318, 584, 23319, 286, 14383, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13938, 614, 318, 1342, 621, 362, 22883, 290, 8771, 890, 3670, 318, 584, 23319, 286, 14383, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479...
What's the total number built with a chassis code of w108.057?
SELECT COUNT(number_built) FROM table_name_45 WHERE chassis_code = "w108.057"
[ 2061, 338, 262, 2472, 1271, 3170, 351, 257, 24587, 2438, 286, 266, 15711, 13, 43526, 30, 46506, 327, 28270, 7, 17618, 62, 18780, 8, 16034, 3084, 62, 3672, 62, 2231, 33411, 24587, 62, 8189, 796, 366, 86, 15711, 13, 43526, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 338, 262, 2472, 1271, 3170, 351, 257, 24587, 2438, 286, 266, 15711, 13, 43526, 30, 46506, 327, 28270, 7, 17618, 62, 18780, 8, 16034, 3084, 62, 3672, 62, 2231, 33411, 24587, 62, 8189, 796, 366, 86, 15711, 13, 43526, 1 ]
is patient 92846 ever prescribed miconazole 2% cream in 12/2105?
SELECT COUNT(*) > 0 FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 92846) AND prescriptions.drug = 'miconazole 2% cream' AND STRFTIME('%y-%m', prescriptions.startdate) = '2105-12'
[ 271, 5827, 860, 2078, 3510, 1683, 14798, 285, 4749, 1031, 2305, 362, 4, 8566, 287, 1105, 14, 17, 13348, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 271, 5827, 860, 2078, 3510, 1683, 14798, 285, 4749, 1031, 2305, 362, 4, 8566, 287, 1105, 14, 17, 13348, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108...
What is the land (sqmi) at geo id 3801947380?
SELECT land___sqmi__ FROM table_18600760_12 WHERE geo_id = 3801947380
[ 2061, 318, 262, 1956, 357, 31166, 11632, 8, 379, 40087, 4686, 4353, 30484, 2857, 23734, 30, 46506, 1956, 17569, 31166, 11632, 834, 16034, 3084, 62, 1507, 8054, 40761, 62, 1065, 33411, 40087, 62, 312, 796, 4353, 30484, 2857, 23734 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1956, 357, 31166, 11632, 8, 379, 40087, 4686, 4353, 30484, 2857, 23734, 30, 46506, 1956, 17569, 31166, 11632, 834, 16034, 3084, 62, 1507, 8054, 40761, 62, 1065, 33411, 40087, 62, 312, 796, 4353, 30484, 2857, 23734 ]
What is Season, when Name is Tony Boy Espinosa?
SELECT "Season" FROM table_6875 WHERE "Name" = 'tony boy espinosa'
[ 2061, 318, 7369, 11, 618, 6530, 318, 8832, 6387, 20386, 259, 8546, 30, 46506, 366, 18960, 1, 16034, 3084, 62, 3104, 2425, 33411, 366, 5376, 1, 796, 705, 1122, 88, 2933, 1658, 11635, 8546, 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, 318, 7369, 11, 618, 6530, 318, 8832, 6387, 20386, 259, 8546, 30, 46506, 366, 18960, 1, 16034, 3084, 62, 3104, 2425, 33411, 366, 5376, 1, 796, 705, 1122, 88, 2933, 1658, 11635, 8546, 6 ]
how many first elected with result being re-elected and incumbent being gary ackerman redistricted from the 7th district
SELECT COUNT(first_elected) FROM table_1341549_33 WHERE result = "Re-elected" AND incumbent = "Gary Ackerman Redistricted from the 7th district"
[ 4919, 867, 717, 7018, 351, 1255, 852, 302, 12, 28604, 290, 23526, 852, 308, 560, 257, 694, 2224, 17678, 20941, 422, 262, 767, 400, 4783, 46506, 327, 28270, 7, 11085, 62, 28604, 8, 16034, 3084, 62, 19880, 1314, 2920, 62, 2091, 33411, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 717, 7018, 351, 1255, 852, 302, 12, 28604, 290, 23526, 852, 308, 560, 257, 694, 2224, 17678, 20941, 422, 262, 767, 400, 4783, 46506, 327, 28270, 7, 11085, 62, 28604, 8, 16034, 3084, 62, 19880, 1314, 2920, 62, 2091, 33411, ...
Tell me the opponent that had a result of l 27-20
SELECT "Opponent" FROM table_10599 WHERE "Result" = 'l 27-20'
[ 24446, 502, 262, 6125, 326, 550, 257, 1255, 286, 300, 2681, 12, 1238, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 13348, 2079, 33411, 366, 23004, 1, 796, 705, 75, 2681, 12, 1238, 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 ]
[ 24446, 502, 262, 6125, 326, 550, 257, 1255, 286, 300, 2681, 12, 1238, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 13348, 2079, 33411, 366, 23004, 1, 796, 705, 75, 2681, 12, 1238, 6 ]
What is the lowest gain with an 18 long, and a loss less than 191?
SELECT MIN("Gain") FROM table_42882 WHERE "Long" = '18' AND "Loss" < '191'
[ 2061, 318, 262, 9016, 4461, 351, 281, 1248, 890, 11, 290, 257, 2994, 1342, 621, 31009, 30, 46506, 20625, 7203, 38, 391, 4943, 16034, 3084, 62, 40173, 6469, 33411, 366, 14617, 1, 796, 705, 1507, 6, 5357, 366, 43, 793, 1, 1279, 705, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 9016, 4461, 351, 281, 1248, 890, 11, 290, 257, 2994, 1342, 621, 31009, 30, 46506, 20625, 7203, 38, 391, 4943, 16034, 3084, 62, 40173, 6469, 33411, 366, 14617, 1, 796, 705, 1507, 6, 5357, 366, 43, 793, 1, 1279, 705, ...
Suggested Edit Stats for Anon.
SELECT SUM(CASE WHEN NOT ApprovalDate IS NULL THEN 1 ELSE 0 END) AS Approved, SUM(CASE WHEN NOT RejectionDate IS NULL THEN 1 ELSE 0 END) AS Rejected FROM SuggestedEdits WHERE OwnerUserId IS NULL
[ 43857, 276, 5312, 20595, 329, 49347, 13, 46506, 35683, 7, 34, 11159, 42099, 5626, 20010, 2100, 10430, 3180, 15697, 42243, 352, 17852, 5188, 657, 23578, 8, 7054, 20010, 1079, 11, 35683, 7, 34, 11159, 42099, 5626, 797, 29192, 10430, 3180, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 43857, 276, 5312, 20595, 329, 49347, 13, 46506, 35683, 7, 34, 11159, 42099, 5626, 20010, 2100, 10430, 3180, 15697, 42243, 352, 17852, 5188, 657, 23578, 8, 7054, 20010, 1079, 11, 35683, 7, 34, 11159, 42099, 5626, 797, 29192, 10430, 3180, ...
Find the claim id and claim date of the claim that incurred the most settlement count. Also tell me the count.
SELECT T1.claim_id, T1.date_claim_made, COUNT(*) FROM claims AS T1 JOIN settlements AS T2 ON T1.claim_id = T2.claim_id GROUP BY T1.claim_id ORDER BY COUNT(*) DESC LIMIT 1
[ 16742, 262, 1624, 4686, 290, 1624, 3128, 286, 262, 1624, 326, 23436, 262, 749, 9443, 954, 13, 4418, 1560, 502, 262, 954, 13, 46506, 309, 16, 13, 6604, 62, 312, 11, 309, 16, 13, 4475, 62, 6604, 62, 9727, 11, 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...
[ 16742, 262, 1624, 4686, 290, 1624, 3128, 286, 262, 1624, 326, 23436, 262, 749, 9443, 954, 13, 4418, 1560, 502, 262, 954, 13, 46506, 309, 16, 13, 6604, 62, 312, 11, 309, 16, 13, 4475, 62, 6604, 62, 9727, 11, 327, 28270, 7, 28104, ...
what's the position with artbeingt being jim reeves
SELECT position FROM table_13805432_2 WHERE artist = "Jim Reeves"
[ 10919, 338, 262, 2292, 351, 1242, 11873, 83, 852, 474, 320, 302, 68, 1158, 46506, 2292, 16034, 3084, 62, 1485, 1795, 4051, 2624, 62, 17, 33411, 6802, 796, 366, 18050, 41533, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 338, 262, 2292, 351, 1242, 11873, 83, 852, 474, 320, 302, 68, 1158, 46506, 2292, 16034, 3084, 62, 1485, 1795, 4051, 2624, 62, 17, 33411, 6802, 796, 366, 18050, 41533, 1 ]
Which 1st Party has a 1st Member of sir john tyssen tyrell, bt, and a 2nd Party of conservative, and a 2nd Member of john payne elwes?
SELECT "1st Party" FROM table_12984 WHERE "1st Member" = 'sir john tyssen tyrell, bt' AND "2nd Party" = 'conservative' AND "2nd Member" = 'john payne elwes'
[ 13828, 352, 301, 3615, 468, 257, 352, 301, 10239, 286, 15967, 45610, 1259, 824, 268, 1259, 11252, 11, 275, 83, 11, 290, 257, 362, 358, 3615, 286, 5940, 11, 290, 257, 362, 358, 10239, 286, 45610, 1414, 710, 1288, 86, 274, 30, 46506, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 352, 301, 3615, 468, 257, 352, 301, 10239, 286, 15967, 45610, 1259, 824, 268, 1259, 11252, 11, 275, 83, 11, 290, 257, 362, 358, 3615, 286, 5940, 11, 290, 257, 362, 358, 10239, 286, 45610, 1414, 710, 1288, 86, 274, 30, 46506, ...
Users who landed with a bang.
WITH Actives AS (SELECT Id AS UserId, CreationDate AS DateFrom, DATEADD(dd, 31, CreationDate) AS DateTo FROM Users WHERE CreationDate >= '2014-01-01') SELECT UserId AS "user_link", SUM(PostTypeId - 1) AS AnswerCount FROM Posts INNER JOIN Actives ON UserId = Posts.OwnerUserId AND CreationDate BETWEEN DateFrom AND DateTo...
[ 14490, 508, 11406, 351, 257, 20188, 13, 54, 10554, 2191, 1083, 7054, 357, 46506, 5121, 7054, 11787, 7390, 11, 21582, 10430, 7054, 7536, 4863, 11, 360, 6158, 29266, 7, 1860, 11, 3261, 11, 21582, 10430, 8, 7054, 7536, 2514, 16034, 18987, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 14490, 508, 11406, 351, 257, 20188, 13, 54, 10554, 2191, 1083, 7054, 357, 46506, 5121, 7054, 11787, 7390, 11, 21582, 10430, 7054, 7536, 4863, 11, 360, 6158, 29266, 7, 1860, 11, 3261, 11, 21582, 10430, 8, 7054, 7536, 2514, 16034, 18987, ...
In what venue is Essendon the home team?
SELECT venue FROM table_name_92 WHERE home_team = "essendon"
[ 818, 644, 14359, 318, 11985, 43153, 262, 1363, 1074, 30, 46506, 14359, 16034, 3084, 62, 3672, 62, 5892, 33411, 1363, 62, 15097, 796, 366, 408, 43153, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 818, 644, 14359, 318, 11985, 43153, 262, 1363, 1074, 30, 46506, 14359, 16034, 3084, 62, 3672, 62, 5892, 33411, 1363, 62, 15097, 796, 366, 408, 43153, 1 ]
What are the number of the name of rooms booked by customers whose first name has 'ROY' in part?
SELECT roomName, COUNT(roomName) FROM Reservations AS T1 JOIN Rooms AS T2 ON T1.Room = T2.RoomId WHERE FirstName LIKE '%ROY%' GROUP BY roomName
[ 2061, 389, 262, 1271, 286, 262, 1438, 286, 9519, 21765, 416, 4297, 3025, 717, 1438, 468, 705, 13252, 56, 6, 287, 636, 30, 46506, 2119, 5376, 11, 327, 28270, 7, 3823, 5376, 8, 16034, 40425, 602, 7054, 309, 16, 32357, 1268, 42043, 705...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 389, 262, 1271, 286, 262, 1438, 286, 9519, 21765, 416, 4297, 3025, 717, 1438, 468, 705, 13252, 56, 6, 287, 636, 30, 46506, 2119, 5376, 11, 327, 28270, 7, 3823, 5376, 8, 16034, 40425, 602, 7054, 309, 16, 32357, 1268, 42043, 705...
what is the number of patients whose ethnicity is black/african american and diagnoses short title is acute respiratry failure?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.ethnicity = "BLACK/AFRICAN AMERICAN" AND diagnoses.short_title = "Acute respiratry failure"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 26289, 318, 2042, 14, 1878, 37189, 45630, 272, 290, 40567, 1790, 3670, 318, 14352, 21483, 265, 563, 5287, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 167...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 1271, 286, 3871, 3025, 26289, 318, 2042, 14, 1878, 37189, 45630, 272, 290, 40567, 1790, 3670, 318, 14352, 21483, 265, 563, 5287, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 167...
What is the date of the poll where Murray had 11% from the Suffolk University source?
SELECT "Date" FROM table_75618 WHERE "Source" = 'suffolk university' AND "Murray" = '11%'
[ 2061, 318, 262, 3128, 286, 262, 3278, 810, 12164, 550, 1367, 4, 422, 262, 45034, 2059, 2723, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 38219, 1507, 33411, 366, 7416, 1, 796, 705, 37333, 13597, 6403, 6, 5357, 366, 49998, 1, 796, 705...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 3128, 286, 262, 3278, 810, 12164, 550, 1367, 4, 422, 262, 45034, 2059, 2723, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 38219, 1507, 33411, 366, 7416, 1, 796, 705, 37333, 13597, 6403, 6, 5357, 366, 49998, 1, 796, 705...
What is the average price of products with manufacturer codes equal to 2?
SELECT AVG(price) FROM products WHERE manufacturer = 2
[ 2061, 318, 262, 2811, 2756, 286, 3186, 351, 11554, 12416, 4961, 284, 362, 30, 46506, 35224, 7, 20888, 8, 16034, 3186, 33411, 11554, 796, 362 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2811, 2756, 286, 3186, 351, 11554, 12416, 4961, 284, 362, 30, 46506, 35224, 7, 20888, 8, 16034, 3186, 33411, 11554, 796, 362 ]
For home of River Plate, what is the first leg listed?
SELECT 1 AS st_leg FROM table_17968229_1 WHERE home__2nd_leg_ = "River Plate"
[ 1890, 1363, 286, 5866, 23648, 11, 644, 318, 262, 717, 1232, 5610, 30, 46506, 352, 7054, 336, 62, 1455, 16034, 3084, 62, 21738, 3104, 23539, 62, 16, 33411, 1363, 834, 17, 358, 62, 1455, 62, 796, 366, 42204, 23648, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1363, 286, 5866, 23648, 11, 644, 318, 262, 717, 1232, 5610, 30, 46506, 352, 7054, 336, 62, 1455, 16034, 3084, 62, 21738, 3104, 23539, 62, 16, 33411, 1363, 834, 17, 358, 62, 1455, 62, 796, 366, 42204, 23648, 1 ]
What is the least rank for athletes with a time of 6:36.65?
SELECT MIN("Rank") FROM table_65294 WHERE "Time" = '6:36.65'
[ 2061, 318, 262, 1551, 4279, 329, 10856, 351, 257, 640, 286, 718, 25, 2623, 13, 2996, 30, 46506, 20625, 7203, 27520, 4943, 16034, 3084, 62, 2996, 27696, 33411, 366, 7575, 1, 796, 705, 21, 25, 2623, 13, 2996, 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 ]
[ 2061, 318, 262, 1551, 4279, 329, 10856, 351, 257, 640, 286, 718, 25, 2623, 13, 2996, 30, 46506, 20625, 7203, 27520, 4943, 16034, 3084, 62, 2996, 27696, 33411, 366, 7575, 1, 796, 705, 21, 25, 2623, 13, 2996, 6 ]
What is the order number that has Aretha Franklin as the original artist?
SELECT order__number FROM table_name_97 WHERE original_artist = "aretha franklin"
[ 2061, 318, 262, 1502, 1271, 326, 468, 4231, 12898, 14021, 355, 262, 2656, 6802, 30, 46506, 1502, 834, 17618, 16034, 3084, 62, 3672, 62, 5607, 33411, 2656, 62, 49016, 796, 366, 533, 12898, 14346, 2815, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1502, 1271, 326, 468, 4231, 12898, 14021, 355, 262, 2656, 6802, 30, 46506, 1502, 834, 17618, 16034, 3084, 62, 3672, 62, 5607, 33411, 2656, 62, 49016, 796, 366, 533, 12898, 14346, 2815, 1 ]