instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
Which venue had the result 7-1?
SELECT "Venue" FROM table_32230 WHERE "Result" = '7-1'
[ 13828, 14359, 550, 262, 1255, 767, 12, 16, 30, 46506, 366, 37522, 518, 1, 16034, 3084, 62, 37283, 1270, 33411, 366, 23004, 1, 796, 705, 22, 12, 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, 1 ]
[ 13828, 14359, 550, 262, 1255, 767, 12, 16, 30, 46506, 366, 37522, 518, 1, 16034, 3084, 62, 37283, 1270, 33411, 366, 23004, 1, 796, 705, 22, 12, 16, 6 ]
what is the four most frequent procedures that patients have received within 2 months following a anticoagulant administration - factor xa inhibitor procedure until 2102?
SELECT t3.treatmentname FROM (SELECT t2.treatmentname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, treatment.treatmenttime FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'anticoagulant administration - factor xa inhibitor' AND STRFTIME('%y', treatment.treatmenttime) <= '2102') AS t1 JOIN (SELECT patient.uniquepid, treatment.treatmentname, treatment.treatmenttime FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE STRFTIME('%y', treatment.treatmenttime) <= '2102') AS t2 ON t1.uniquepid = t2.uniquepid WHERE t1.treatmenttime < t2.treatmenttime AND DATETIME(t2.treatmenttime) BETWEEN DATETIME(t1.treatmenttime) AND DATETIME(t1.treatmenttime, '+2 month') GROUP BY t2.treatmentname) AS t3 WHERE t3.c1 <= 4
[ 10919, 318, 262, 1440, 749, 10792, 9021, 326, 3871, 423, 2722, 1626, 362, 1933, 1708, 257, 1885, 3713, 363, 377, 415, 3662, 532, 5766, 2124, 64, 41704, 8771, 1566, 362, 15377, 30, 46506, 256, 18, 13, 42487, 3672, 16034, 357, 46506, 256, 17, 13, 42487, 3672, 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, 5827, 13, 403, 1557, 538, 312, 11, 3513, 13, 42487, 2435, 16034, 3513, 32357, 1268, 5827, 6177, 3513, 13, 26029, 20850, 31712, 312, 796, 5827, 13, 26029, 20850, 31712 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1440, 749, 10792, 9021, 326, 3871, 423, 2722, 1626, 362, 1933, 1708, 257, 1885, 3713, 363, 377, 415, 3662, 532, 5766, 2124, 64, 41704, 8771, 1566, 362, 15377, 30, 46506, 256, 18, 13, 42487, 3672, 16034, 357, 46506, 256, 17, 13, 42487, 3672, 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, 5827, 13, 403, 1557, 538, 312, 11, 3513, 13, 42487, 2435, 16034, 3513, 32357, 1268, 5827, 6177, 3513, 13, 26029, 20850, 31712, 312, 796, 5827, 13, 26029, 20850, 31712 ]
What is the maturity that has a coupon of exactly 0.726?
SELECT "Maturity" FROM table_2486 WHERE "Coupon" = '0.726'
[ 2061, 318, 262, 24841, 326, 468, 257, 34990, 286, 3446, 657, 13, 22, 2075, 30, 46506, 366, 19044, 1684, 1, 16034, 3084, 62, 1731, 4521, 33411, 366, 34, 10486, 261, 1, 796, 705, 15, 13, 22, 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, 1, 1, 1, 1 ]
[ 2061, 318, 262, 24841, 326, 468, 257, 34990, 286, 3446, 657, 13, 22, 2075, 30, 46506, 366, 19044, 1684, 1, 16034, 3084, 62, 1731, 4521, 33411, 366, 34, 10486, 261, 1, 796, 705, 15, 13, 22, 2075, 6 ]
how much was patient 7241's body weight last measured in 05/2103?
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 = 7241)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'admit wt' AND d_items.linksto = 'chartevents') AND STRFTIME('%y-%m', chartevents.charttime) = '2103-05' ORDER BY chartevents.charttime DESC LIMIT 1
[ 4919, 881, 373, 5827, 767, 28872, 338, 1767, 3463, 938, 8630, 287, 8870, 14, 17, 15197, 30, 46506, 8262, 31534, 13, 2100, 84, 44709, 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, 767, 28872, 4008, 5357, 8262, 31534, 13, 9186, 312, 3268, 357, 46506, 288, 62, 23814, 13, 9186, 312, 16034, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 373, 5827, 767, 28872, 338, 1767, 3463, 938, 8630, 287, 8870, 14, 17, 15197, 30, 46506, 8262, 31534, 13, 2100, 84, 44709, 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, 767, 28872, 4008, 5357, 8262, 31534, 13, 9186, 312, 3268, 357, 46506, 288, 62, 23814, 13, 9186, 312, 16034, 288, 62 ]
how many times were high rebounds mehmet okur , paul millsap (6)
SELECT COUNT(score) FROM table_17355716_10 WHERE high_rebounds = "Mehmet Okur , Paul Millsap (6)"
[ 4919, 867, 1661, 547, 1029, 18841, 502, 71, 4164, 12876, 333, 837, 279, 2518, 41999, 499, 357, 21, 8, 46506, 327, 28270, 7, 26675, 8, 16034, 3084, 62, 1558, 2327, 3553, 1433, 62, 940, 33411, 1029, 62, 34806, 3733, 796, 366, 5308, 71, 4164, 6762, 333, 837, 3362, 19790, 499, 357, 21, 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 ]
[ 4919, 867, 1661, 547, 1029, 18841, 502, 71, 4164, 12876, 333, 837, 279, 2518, 41999, 499, 357, 21, 8, 46506, 327, 28270, 7, 26675, 8, 16034, 3084, 62, 1558, 2327, 3553, 1433, 62, 940, 33411, 1029, 62, 34806, 3733, 796, 366, 5308, 71, 4164, 6762, 333, 837, 3362, 19790, 499, 357, 21, 16725 ]
Give me the comparison about Team_ID over the All_Neutral , and I want to display by the Y-axis from high to low please.
SELECT All_Neutral, Team_ID FROM basketball_match ORDER BY Team_ID DESC
[ 23318, 502, 262, 7208, 546, 4816, 62, 2389, 625, 262, 1439, 62, 8199, 6815, 837, 290, 314, 765, 284, 3359, 416, 262, 575, 12, 22704, 422, 1029, 284, 1877, 3387, 13, 46506, 1439, 62, 8199, 6815, 11, 4816, 62, 2389, 16034, 9669, 62, 15699, 38678, 11050, 4816, 62, 2389, 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 ]
[ 23318, 502, 262, 7208, 546, 4816, 62, 2389, 625, 262, 1439, 62, 8199, 6815, 837, 290, 314, 765, 284, 3359, 416, 262, 575, 12, 22704, 422, 1029, 284, 1877, 3387, 13, 46506, 1439, 62, 8199, 6815, 11, 4816, 62, 2389, 16034, 9669, 62, 15699, 38678, 11050, 4816, 62, 2389, 22196, 34 ]
Which name is at latitude 10.0s?
SELECT name FROM table_16799784_11 WHERE latitude = "10.0S"
[ 13828, 1438, 318, 379, 32477, 838, 13, 15, 82, 30, 46506, 1438, 16034, 3084, 62, 21940, 2079, 37688, 62, 1157, 33411, 32477, 796, 366, 940, 13, 15, 50, 1 ]
[ 1, 1, 1, 1, 1, 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, 1438, 318, 379, 32477, 838, 13, 15, 82, 30, 46506, 1438, 16034, 3084, 62, 21940, 2079, 37688, 62, 1157, 33411, 32477, 796, 366, 940, 13, 15, 50, 1 ]
have allergies to either monoclonal antibodies, diphenhydramine, epinephrine, or methylprednisolone
SELECT * FROM table_train_142 WHERE allergy_to_monoclonal_antibodies = 1 OR allergy_to_diphenhydramine = 1 OR allergy_to_epinephrine = 1 OR allergy_to_methylprednisolone = 1
[ 14150, 36665, 284, 2035, 937, 420, 14995, 282, 30869, 11, 19550, 831, 15511, 859, 500, 11, 2462, 500, 47723, 11, 393, 27664, 28764, 21361, 349, 505, 46506, 1635, 16034, 3084, 62, 27432, 62, 23726, 33411, 36197, 62, 1462, 62, 2144, 420, 14995, 282, 62, 415, 571, 5042, 796, 352, 6375, 36197, 62, 1462, 62, 67, 541, 831, 15511, 859, 500, 796, 352, 6375, 36197, 62, 1462, 62, 538, 500, 47723, 796, 352, 6375, 36197, 62, 1462, 62, 43654, 28764, 21361, 349, 505, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 14150, 36665, 284, 2035, 937, 420, 14995, 282, 30869, 11, 19550, 831, 15511, 859, 500, 11, 2462, 500, 47723, 11, 393, 27664, 28764, 21361, 349, 505, 46506, 1635, 16034, 3084, 62, 27432, 62, 23726, 33411, 36197, 62, 1462, 62, 2144, 420, 14995, 282, 62, 415, 571, 5042, 796, 352, 6375, 36197, 62, 1462, 62, 67, 541, 831, 15511, 859, 500, 796, 352, 6375, 36197, 62, 1462, 62, 538, 500, 47723, 796, 352, 6375, 36197, 62, 1462, 62, 43654, 28764, 21361, 349, 505, 796, 352 ]
What was the score of the game where the venue was cairns convention centre?
SELECT "Score" FROM table_43906 WHERE "Venue" = 'cairns convention centre'
[ 2061, 373, 262, 4776, 286, 262, 983, 810, 262, 14359, 373, 269, 958, 5907, 9831, 7372, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 47106, 3312, 33411, 366, 37522, 518, 1, 796, 705, 37155, 5907, 9831, 7372, 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, 373, 262, 4776, 286, 262, 983, 810, 262, 14359, 373, 269, 958, 5907, 9831, 7372, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 47106, 3312, 33411, 366, 37522, 518, 1, 796, 705, 37155, 5907, 9831, 7372, 6 ]
Who won the event with a top prize of $2,434,061?
SELECT name FROM table_name_28 WHERE prize = "$2,434,061"
[ 8241, 1839, 262, 1785, 351, 257, 1353, 11596, 286, 720, 17, 11, 47101, 11, 3312, 16, 30, 46506, 1438, 16034, 3084, 62, 3672, 62, 2078, 33411, 11596, 796, 17971, 17, 11, 47101, 11, 3312, 16, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 1839, 262, 1785, 351, 257, 1353, 11596, 286, 720, 17, 11, 47101, 11, 3312, 16, 30, 46506, 1438, 16034, 3084, 62, 3672, 62, 2078, 33411, 11596, 796, 17971, 17, 11, 47101, 11, 3312, 16, 1 ]
Find the number of professors in accounting department.
SELECT COUNT(*) FROM professor AS T1 JOIN department AS T2 ON T1.dept_code = T2.dept_code WHERE dept_name = "Accounting"
[ 16742, 262, 1271, 286, 20339, 287, 14317, 5011, 13, 46506, 327, 28270, 7, 28104, 16034, 6240, 7054, 309, 16, 32357, 1268, 5011, 7054, 309, 17, 6177, 309, 16, 13, 2934, 457, 62, 8189, 796, 309, 17, 13, 2934, 457, 62, 8189, 33411, 390, 457, 62, 3672, 796, 366, 30116, 278, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 20339, 287, 14317, 5011, 13, 46506, 327, 28270, 7, 28104, 16034, 6240, 7054, 309, 16, 32357, 1268, 5011, 7054, 309, 17, 6177, 309, 16, 13, 2934, 457, 62, 8189, 796, 309, 17, 13, 2934, 457, 62, 8189, 33411, 390, 457, 62, 3672, 796, 366, 30116, 278, 1 ]
since 2103, when was the last hospital admission time of patient 021-69410?
SELECT patient.hospitaladmittime FROM patient WHERE patient.uniquepid = '021-69410' AND STRFTIME('%y', patient.hospitaladmittime) >= '2103' ORDER BY patient.hospitaladmittime DESC LIMIT 1
[ 20777, 362, 15197, 11, 618, 373, 262, 938, 4436, 13938, 640, 286, 5827, 657, 2481, 12, 3388, 33289, 30, 46506, 5827, 13, 49257, 324, 20124, 524, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 46821, 12, 3388, 33289, 6, 5357, 19269, 9792, 12789, 10786, 4, 88, 3256, 5827, 13, 49257, 324, 20124, 524, 8, 18189, 705, 17, 15197, 6, 38678, 11050, 5827, 13, 49257, 324, 20124, 524, 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 ]
[ 20777, 362, 15197, 11, 618, 373, 262, 938, 4436, 13938, 640, 286, 5827, 657, 2481, 12, 3388, 33289, 30, 46506, 5827, 13, 49257, 324, 20124, 524, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 46821, 12, 3388, 33289, 6, 5357, 19269, 9792, 12789, 10786, 4, 88, 3256, 5827, 13, 49257, 324, 20124, 524, 8, 18189, 705, 17, 15197, 6, 38678, 11050, 5827, 13, 49257, 324, 20124, 524, 22196, 34, 27564, 2043, 352 ]
Ioannis Christou with a rank smaller than 6 has what notes?
SELECT notes FROM table_name_71 WHERE rank < 6 AND athlete = "ioannis christou"
[ 40, 78, 45017, 1951, 280, 351, 257, 4279, 4833, 621, 718, 468, 644, 4710, 30, 46506, 4710, 16034, 3084, 62, 3672, 62, 4869, 33411, 4279, 1279, 718, 5357, 16076, 796, 366, 952, 45017, 33826, 280, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 40, 78, 45017, 1951, 280, 351, 257, 4279, 4833, 621, 718, 468, 644, 4710, 30, 46506, 4710, 16034, 3084, 62, 3672, 62, 4869, 33411, 4279, 1279, 718, 5357, 16076, 796, 366, 952, 45017, 33826, 280, 1 ]
Find recent users by location.
SELECT Id AS "user_link", * FROM Users WHERE (LOWER(LEFT(Location, LENGTH('##SearchLocation:string##'))) = LOWER('##SearchLocation:string##') OR LOWER(RIGHT(Location, LENGTH('##SearchLocation:string##'))) = LOWER('##SearchLocation:string##'))
[ 16742, 2274, 2985, 416, 4067, 13, 46506, 5121, 7054, 366, 7220, 62, 8726, 1600, 1635, 16034, 18987, 33411, 357, 43, 36048, 7, 2538, 9792, 7, 14749, 11, 406, 49494, 10786, 2235, 18243, 14749, 25, 8841, 2235, 6, 22305, 796, 406, 36048, 10786, 2235, 18243, 14749, 25, 8841, 2235, 11537, 6375, 406, 36048, 7, 49, 9947, 7, 14749, 11, 406, 49494, 10786, 2235, 18243, 14749, 25, 8841, 2235, 6, 22305, 796, 406, 36048, 10786, 2235, 18243, 14749, 25, 8841, 2235, 6, 4008 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2274, 2985, 416, 4067, 13, 46506, 5121, 7054, 366, 7220, 62, 8726, 1600, 1635, 16034, 18987, 33411, 357, 43, 36048, 7, 2538, 9792, 7, 14749, 11, 406, 49494, 10786, 2235, 18243, 14749, 25, 8841, 2235, 6, 22305, 796, 406, 36048, 10786, 2235, 18243, 14749, 25, 8841, 2235, 11537, 6375, 406, 36048, 7, 49, 9947, 7, 14749, 11, 406, 49494, 10786, 2235, 18243, 14749, 25, 8841, 2235, 6, 22305, 796, 406, 36048, 10786, 2235, 18243, 14749, 25, 8841, 2235, 6, 4008 ]
Top Scored Questions that are CLOSED!.
SELECT Score, ViewCount, CreationDate, LastActivityDate, Id, Title, Tags, AnswerCount, CommentCount, FavoriteCount FROM Posts WHERE PostTypeId = 1 AND (NOT ClosedDate IS NULL OR NOT DeletionDate IS NULL) AND Id = 10040954 ORDER BY Score DESC
[ 9126, 1446, 1850, 20396, 326, 389, 7852, 48751, 43179, 46506, 15178, 11, 3582, 12332, 11, 21582, 10430, 11, 4586, 16516, 10430, 11, 5121, 11, 11851, 11, 44789, 11, 23998, 12332, 11, 18957, 12332, 11, 33992, 12332, 16034, 12043, 33411, 2947, 6030, 7390, 796, 352, 5357, 357, 11929, 30550, 10430, 3180, 15697, 6375, 5626, 1024, 1616, 295, 10430, 3180, 15697, 8, 5357, 5121, 796, 1802, 1821, 48372, 38678, 11050, 15178, 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 ]
[ 9126, 1446, 1850, 20396, 326, 389, 7852, 48751, 43179, 46506, 15178, 11, 3582, 12332, 11, 21582, 10430, 11, 4586, 16516, 10430, 11, 5121, 11, 11851, 11, 44789, 11, 23998, 12332, 11, 18957, 12332, 11, 33992, 12332, 16034, 12043, 33411, 2947, 6030, 7390, 796, 352, 5357, 357, 11929, 30550, 10430, 3180, 15697, 6375, 5626, 1024, 1616, 295, 10430, 3180, 15697, 8, 5357, 5121, 796, 1802, 1821, 48372, 38678, 11050, 15178, 22196, 34 ]
Count the number of players who enter hall of fame for each year Plot them as line chart, show yearid in descending order please.
SELECT yearid, COUNT(*) FROM hall_of_fame GROUP BY yearid ORDER BY yearid DESC
[ 12332, 262, 1271, 286, 1938, 508, 3802, 6899, 286, 16117, 329, 1123, 614, 28114, 606, 355, 1627, 8262, 11, 905, 614, 312, 287, 31491, 1502, 3387, 13, 46506, 614, 312, 11, 327, 28270, 7, 28104, 16034, 6899, 62, 1659, 62, 69, 480, 44441, 11050, 614, 312, 38678, 11050, 614, 312, 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 ]
[ 12332, 262, 1271, 286, 1938, 508, 3802, 6899, 286, 16117, 329, 1123, 614, 28114, 606, 355, 1627, 8262, 11, 905, 614, 312, 287, 31491, 1502, 3387, 13, 46506, 614, 312, 11, 327, 28270, 7, 28104, 16034, 6899, 62, 1659, 62, 69, 480, 44441, 11050, 614, 312, 38678, 11050, 614, 312, 22196, 34 ]
List the grape and winery of the wines whose price is bigger than 100, the x-axis is winery and group the grape, and y-axis is the number of wineries, order x axis in asc order.
SELECT Winery, COUNT(Winery) FROM wine WHERE Price > 100 GROUP BY Grape, Winery ORDER BY Winery
[ 8053, 262, 30777, 290, 1592, 1924, 286, 262, 30680, 3025, 2756, 318, 5749, 621, 1802, 11, 262, 2124, 12, 22704, 318, 1592, 1924, 290, 1448, 262, 30777, 11, 290, 331, 12, 22704, 318, 262, 1271, 286, 1592, 10640, 11, 1502, 2124, 16488, 287, 10570, 1502, 13, 46506, 7178, 1924, 11, 327, 28270, 7, 54, 15451, 8, 16034, 8237, 33411, 7886, 1875, 1802, 44441, 11050, 48315, 11, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8053, 262, 30777, 290, 1592, 1924, 286, 262, 30680, 3025, 2756, 318, 5749, 621, 1802, 11, 262, 2124, 12, 22704, 318, 1592, 1924, 290, 1448, 262, 30777, 11, 290, 331, 12, 22704, 318, 262, 1271, 286, 1592, 10640, 11, 1502, 2124, 16488, 287, 10570, 1502, 13, 46506, 7178, 1924, 11, 327, 28270, 7, 54, 15451, 8, 16034, 8237, 33411, 7886, 1875, 1802, 44441, 11050, 48315, 11, 7178, 1924, 38678, 11050, 7178, 1924 ]
What is the rank of manager Rob Mcdonald?
SELECT COUNT(rank) FROM table_1218784_1 WHERE manager = "Rob McDonald"
[ 2061, 318, 262, 4279, 286, 4706, 3851, 1982, 40915, 30, 46506, 327, 28270, 7, 43027, 8, 16034, 3084, 62, 1065, 1507, 37688, 62, 16, 33411, 4706, 796, 366, 14350, 14115, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 4279, 286, 4706, 3851, 1982, 40915, 30, 46506, 327, 28270, 7, 43027, 8, 16034, 3084, 62, 1065, 1507, 37688, 62, 16, 33411, 4706, 796, 366, 14350, 14115, 1 ]
which competition did this runner participate in after the xiamen international marathon ?
SELECT "competition" FROM table_204_880 WHERE id = (SELECT id FROM table_204_880 WHERE "competition" = 'xiamen international marathon') + 1
[ 4758, 5449, 750, 428, 17490, 8277, 287, 706, 262, 2124, 1789, 268, 3230, 22336, 5633, 46506, 366, 5589, 15620, 1, 16034, 3084, 62, 18638, 62, 41655, 33411, 4686, 796, 357, 46506, 4686, 16034, 3084, 62, 18638, 62, 41655, 33411, 366, 5589, 15620, 1, 796, 705, 87, 1789, 268, 3230, 22336, 11537, 1343, 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 ]
[ 4758, 5449, 750, 428, 17490, 8277, 287, 706, 262, 2124, 1789, 268, 3230, 22336, 5633, 46506, 366, 5589, 15620, 1, 16034, 3084, 62, 18638, 62, 41655, 33411, 4686, 796, 357, 46506, 4686, 16034, 3084, 62, 18638, 62, 41655, 33411, 366, 5589, 15620, 1, 796, 705, 87, 1789, 268, 3230, 22336, 11537, 1343, 352 ]
Return a bar chart on what are the different card types, and how many transactions have been made with each?
SELECT card_type_code, COUNT(*) FROM Financial_Transactions AS T1 JOIN Customers_Cards AS T2 ON T1.card_id = T2.card_id GROUP BY T2.card_type_code
[ 13615, 257, 2318, 8262, 319, 644, 389, 262, 1180, 2657, 3858, 11, 290, 703, 867, 8945, 423, 587, 925, 351, 1123, 30, 46506, 2657, 62, 4906, 62, 8189, 11, 327, 28270, 7, 28104, 16034, 11302, 62, 8291, 4658, 7054, 309, 16, 32357, 1268, 36707, 62, 34, 1371, 7054, 309, 17, 6177, 309, 16, 13, 9517, 62, 312, 796, 309, 17, 13, 9517, 62, 312, 44441, 11050, 309, 17, 13, 9517, 62, 4906, 62, 8189 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13615, 257, 2318, 8262, 319, 644, 389, 262, 1180, 2657, 3858, 11, 290, 703, 867, 8945, 423, 587, 925, 351, 1123, 30, 46506, 2657, 62, 4906, 62, 8189, 11, 327, 28270, 7, 28104, 16034, 11302, 62, 8291, 4658, 7054, 309, 16, 32357, 1268, 36707, 62, 34, 1371, 7054, 309, 17, 6177, 309, 16, 13, 9517, 62, 312, 796, 309, 17, 13, 9517, 62, 312, 44441, 11050, 309, 17, 13, 9517, 62, 4906, 62, 8189 ]
Who was the home team of the game on 2 February 2006?
SELECT home FROM table_name_12 WHERE date = "2 february 2006"
[ 8241, 373, 262, 1363, 1074, 286, 262, 983, 319, 362, 3945, 4793, 30, 46506, 1363, 16034, 3084, 62, 3672, 62, 1065, 33411, 3128, 796, 366, 17, 730, 65, 3728, 4793, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 373, 262, 1363, 1074, 286, 262, 983, 319, 362, 3945, 4793, 30, 46506, 1363, 16034, 3084, 62, 3672, 62, 1065, 33411, 3128, 796, 366, 17, 730, 65, 3728, 4793, 1 ]
how many days have elapsed since the first time that patient 4401 had a tpn d13.0 intake on the current intensive care unit visit?
SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', inputevents_cv.charttime)) 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 = 4401) AND icustays.outtime IS NULL) AND inputevents_cv.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'tpn d13.0' AND d_items.linksto = 'inputevents_cv') ORDER BY inputevents_cv.charttime LIMIT 1
[ 4919, 867, 1528, 423, 42118, 1201, 262, 717, 640, 326, 5827, 5846, 486, 550, 257, 256, 21999, 288, 1485, 13, 15, 10337, 319, 262, 1459, 18590, 1337, 4326, 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, 287, 79, 1133, 85, 658, 62, 33967, 13, 40926, 2435, 4008, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 42118, 1201, 262, 717, 640, 326, 5827, 5846, 486, 550, 257, 256, 21999, 288, 1485, 13, 15, 10337, 319, 262, 1459, 18590, 1337, 4326, 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, 287, 79, 1133, 85, 658, 62, 33967, 13, 40926, 2435, 4008, 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 ]
What's the total number of FA Cup with a Play-offs of 3, and the Name of Mitch Cook Category:Articles with hCards and has a Total thats less than 11?
SELECT COUNT("FA Cup") FROM table_70269 WHERE "Play-offs" = '3' AND "Name" = 'mitch cook category:articles with hcards' AND "Total" < '11'
[ 2061, 338, 262, 2472, 1271, 286, 9677, 5454, 351, 257, 3811, 12, 8210, 286, 513, 11, 290, 262, 6530, 286, 20472, 8261, 21743, 25, 8001, 2983, 351, 289, 34, 1371, 290, 468, 257, 7472, 29294, 1342, 621, 1367, 30, 46506, 327, 28270, 7203, 7708, 5454, 4943, 16034, 3084, 62, 2154, 26276, 33411, 366, 11002, 12, 8210, 1, 796, 705, 18, 6, 5357, 366, 5376, 1, 796, 705, 76, 2007, 4255, 6536, 25, 26845, 351, 289, 27761, 6, 5357, 366, 14957, 1, 1279, 705, 1157, 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, 1, 1, 1, 1, 1, 1 ]
[ 2061, 338, 262, 2472, 1271, 286, 9677, 5454, 351, 257, 3811, 12, 8210, 286, 513, 11, 290, 262, 6530, 286, 20472, 8261, 21743, 25, 8001, 2983, 351, 289, 34, 1371, 290, 468, 257, 7472, 29294, 1342, 621, 1367, 30, 46506, 327, 28270, 7203, 7708, 5454, 4943, 16034, 3084, 62, 2154, 26276, 33411, 366, 11002, 12, 8210, 1, 796, 705, 18, 6, 5357, 366, 5376, 1, 796, 705, 76, 2007, 4255, 6536, 25, 26845, 351, 289, 27761, 6, 5357, 366, 14957, 1, 1279, 705, 1157, 6 ]
What kind of school is Canton, New York?
SELECT affiliation FROM table_16381914_1 WHERE location = "Canton, New York"
[ 2061, 1611, 286, 1524, 318, 16821, 261, 11, 968, 1971, 30, 46506, 26218, 16034, 3084, 62, 1433, 2548, 1129, 1415, 62, 16, 33411, 4067, 796, 366, 34, 23026, 11, 968, 1971, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 1611, 286, 1524, 318, 16821, 261, 11, 968, 1971, 30, 46506, 26218, 16034, 3084, 62, 1433, 2548, 1129, 1415, 62, 16, 33411, 4067, 796, 366, 34, 23026, 11, 968, 1971, 1 ]
what is the work when the result is won and the year is before 2003?
SELECT "Work" FROM table_50126 WHERE "Result" = 'won' AND "Year" < '2003'
[ 10919, 318, 262, 670, 618, 262, 1255, 318, 1839, 290, 262, 614, 318, 878, 5816, 30, 46506, 366, 12468, 1, 16034, 3084, 62, 33548, 2075, 33411, 366, 23004, 1, 796, 705, 26502, 6, 5357, 366, 17688, 1, 1279, 705, 16088, 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 ]
[ 10919, 318, 262, 670, 618, 262, 1255, 318, 1839, 290, 262, 614, 318, 878, 5816, 30, 46506, 366, 12468, 1, 16034, 3084, 62, 33548, 2075, 33411, 366, 23004, 1, 796, 705, 26502, 6, 5357, 366, 17688, 1, 1279, 705, 16088, 6 ]
What was the score against andrei pavel?
SELECT score FROM table_name_6 WHERE opponent = "andrei pavel"
[ 2061, 373, 262, 4776, 1028, 290, 260, 72, 14187, 626, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 21, 33411, 6125, 796, 366, 49078, 72, 14187, 626, 1 ]
[ 1, 1, 1, 1, 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, 1028, 290, 260, 72, 14187, 626, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 21, 33411, 6125, 796, 366, 49078, 72, 14187, 626, 1 ]
What was the film of Richard Nixon as President in a year newer than 1996?
SELECT "Film" FROM table_45726 WHERE "President" = 'richard nixon' AND "Year" > '1996'
[ 2061, 373, 262, 2646, 286, 6219, 16642, 355, 1992, 287, 257, 614, 15064, 621, 8235, 30, 46506, 366, 39750, 1, 16034, 3084, 62, 33032, 2075, 33411, 366, 10364, 1, 796, 705, 7527, 446, 299, 12305, 6, 5357, 366, 17688, 1, 1875, 705, 22288, 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 ]
[ 2061, 373, 262, 2646, 286, 6219, 16642, 355, 1992, 287, 257, 614, 15064, 621, 8235, 30, 46506, 366, 39750, 1, 16034, 3084, 62, 33032, 2075, 33411, 366, 10364, 1, 796, 705, 7527, 446, 299, 12305, 6, 5357, 366, 17688, 1, 1875, 705, 22288, 6 ]
What is the average year with an average start smaller than 6.3 and fewer than 0 wins?
SELECT AVG(year) FROM table_name_89 WHERE avg_start < 6.3 AND wins < 0
[ 2061, 318, 262, 2811, 614, 351, 281, 2811, 923, 4833, 621, 718, 13, 18, 290, 7380, 621, 657, 7864, 30, 46506, 35224, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 4531, 33411, 42781, 62, 9688, 1279, 718, 13, 18, 5357, 7864, 1279, 657 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 614, 351, 281, 2811, 923, 4833, 621, 718, 13, 18, 290, 7380, 621, 657, 7864, 30, 46506, 35224, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 4531, 33411, 42781, 62, 9688, 1279, 718, 13, 18, 5357, 7864, 1279, 657 ]
what time has patient 10211 first had an intake on the first intensive care unit visit?
SELECT inputevents_cv.charttime 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 = 10211) AND NOT icustays.outtime IS NULL ORDER BY icustays.intime LIMIT 1) ORDER BY inputevents_cv.charttime LIMIT 1
[ 10919, 640, 468, 5827, 15143, 1157, 717, 550, 281, 10337, 319, 262, 717, 18590, 1337, 4326, 3187, 30, 46506, 287, 79, 1133, 85, 658, 62, 33967, 13, 40926, 2435, 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, 312, 796, 15143, 1157, 8, 5357, 5626, 14158 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 640, 468, 5827, 15143, 1157, 717, 550, 281, 10337, 319, 262, 717, 18590, 1337, 4326, 3187, 30, 46506, 287, 79, 1133, 85, 658, 62, 33967, 13, 40926, 2435, 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, 312, 796, 15143, 1157, 8, 5357, 5626, 14158 ]
what is the name of the drug that was first prescribed to patient 017-13959 via iv push route in 09/2104?
SELECT medication.drugname FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '017-13959')) AND medication.routeadmin = 'iv push' AND STRFTIME('%y-%m', medication.drugstarttime) = '2104-09' ORDER BY medication.drugstarttime LIMIT 1
[ 10919, 318, 262, 1438, 286, 262, 2563, 326, 373, 717, 14798, 284, 5827, 5534, 22, 12, 20219, 3270, 2884, 21628, 4574, 6339, 287, 7769, 14, 17, 13464, 30, 46506, 14103, 13, 30349, 3672, 16034, 14103, 33411, 14103, 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, 29326, 12, 20219, 3270, 6, 4008, 5357, 14103, 13, 81, 448, 1329, 1084, 796, 705, 452, 4574, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 1438, 286, 262, 2563, 326, 373, 717, 14798, 284, 5827, 5534, 22, 12, 20219, 3270, 2884, 21628, 4574, 6339, 287, 7769, 14, 17, 13464, 30, 46506, 14103, 13, 30349, 3672, 16034, 14103, 33411, 14103, 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, 29326, 12, 20219, 3270, 6, 4008, 5357, 14103, 13, 81, 448, 1329, 1084, 796, 705, 452, 4574, 6 ]
Which country has a lane greater than 6 and a mark of 6.63?
SELECT country FROM table_name_80 WHERE lane > 6 AND mark = "6.63"
[ 13828, 1499, 468, 257, 11193, 3744, 621, 718, 290, 257, 1317, 286, 718, 13, 5066, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 1795, 33411, 11193, 1875, 718, 5357, 1317, 796, 366, 21, 13, 5066, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1499, 468, 257, 11193, 3744, 621, 718, 290, 257, 1317, 286, 718, 13, 5066, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 1795, 33411, 11193, 1875, 718, 5357, 1317, 796, 366, 21, 13, 5066, 1 ]
Questions and answers per year.
SELECT (SELECT COUNT(Id) FROM Posts WHERE YEAR(Posts.CreationDate) = 2019 AND DeletionDate IS NULL AND ParentId IS NULL) AS questionCount, (SELECT COUNT(Id) FROM Posts WHERE YEAR(Posts.CreationDate) = 2019 AND DeletionDate IS NULL AND NOT ParentId IS NULL) AS answerCount
[ 35741, 290, 7429, 583, 614, 13, 46506, 357, 46506, 327, 28270, 7, 7390, 8, 16034, 12043, 33411, 32914, 7, 21496, 13, 12443, 341, 10430, 8, 796, 13130, 5357, 1024, 1616, 295, 10430, 3180, 15697, 5357, 16774, 7390, 3180, 15697, 8, 7054, 1808, 12332, 11, 357, 46506, 327, 28270, 7, 7390, 8, 16034, 12043, 33411, 32914, 7, 21496, 13, 12443, 341, 10430, 8, 796, 13130, 5357, 1024, 1616, 295, 10430, 3180, 15697, 5357, 5626, 16774, 7390, 3180, 15697, 8, 7054, 3280, 12332 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 290, 7429, 583, 614, 13, 46506, 357, 46506, 327, 28270, 7, 7390, 8, 16034, 12043, 33411, 32914, 7, 21496, 13, 12443, 341, 10430, 8, 796, 13130, 5357, 1024, 1616, 295, 10430, 3180, 15697, 5357, 16774, 7390, 3180, 15697, 8, 7054, 1808, 12332, 11, 357, 46506, 327, 28270, 7, 7390, 8, 16034, 12043, 33411, 32914, 7, 21496, 13, 12443, 341, 10430, 8, 796, 13130, 5357, 1024, 1616, 295, 10430, 3180, 15697, 5357, 5626, 16774, 7390, 3180, 15697, 8, 7054, 3280, 12332 ]
Which Wins is the highest one that has a Pos of 2nd, and Poles larger than 2?
SELECT MAX("Wins") FROM table_34477 WHERE "Pos." = '2nd' AND "Poles" > '2'
[ 13828, 24423, 318, 262, 4511, 530, 326, 468, 257, 18574, 286, 362, 358, 11, 290, 45631, 4025, 621, 362, 30, 46506, 25882, 7203, 54, 1040, 4943, 16034, 3084, 62, 33535, 3324, 33411, 366, 21604, 526, 796, 705, 17, 358, 6, 5357, 366, 47, 4316, 1, 1875, 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 ]
[ 13828, 24423, 318, 262, 4511, 530, 326, 468, 257, 18574, 286, 362, 358, 11, 290, 45631, 4025, 621, 362, 30, 46506, 25882, 7203, 54, 1040, 4943, 16034, 3084, 62, 33535, 3324, 33411, 366, 21604, 526, 796, 705, 17, 358, 6, 5357, 366, 47, 4316, 1, 1875, 705, 17, 6 ]
The score in the final is 2 6, 6 2, 6 0, on what surface?
SELECT surface FROM table_26202847_6 WHERE score_in_the_final = "2–6, 6–2, 6–0"
[ 464, 4776, 287, 262, 2457, 318, 362, 718, 11, 718, 362, 11, 718, 657, 11, 319, 644, 4417, 30, 46506, 4417, 16034, 3084, 62, 2075, 1238, 2078, 2857, 62, 21, 33411, 4776, 62, 259, 62, 1169, 62, 20311, 796, 366, 17, 1906, 21, 11, 718, 1906, 17, 11, 718, 1906, 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 ]
[ 464, 4776, 287, 262, 2457, 318, 362, 718, 11, 718, 362, 11, 718, 657, 11, 319, 644, 4417, 30, 46506, 4417, 16034, 3084, 62, 2075, 1238, 2078, 2857, 62, 21, 33411, 4776, 62, 259, 62, 1169, 62, 20311, 796, 366, 17, 1906, 21, 11, 718, 1906, 17, 11, 718, 1906, 15, 1 ]
What is the I/O bus entry for the processor with a release price of $657?
SELECT "I/O bus" FROM table_66142 WHERE "Release price ( USD )" = '$657'
[ 2061, 318, 262, 314, 14, 46, 1323, 5726, 329, 262, 12649, 351, 257, 2650, 2756, 286, 720, 37680, 30, 46506, 366, 40, 14, 46, 1323, 1, 16034, 3084, 62, 2791, 23726, 33411, 366, 26362, 2756, 357, 11403, 1267, 1, 796, 705, 3, 37680, 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 ]
[ 2061, 318, 262, 314, 14, 46, 1323, 5726, 329, 262, 12649, 351, 257, 2650, 2756, 286, 720, 37680, 30, 46506, 366, 40, 14, 46, 1323, 1, 16034, 3084, 62, 2791, 23726, 33411, 366, 26362, 2756, 357, 11403, 1267, 1, 796, 705, 3, 37680, 6 ]
What is the 1st run that is down hill less than 46, and 84.45 points?
SELECT "1st run" FROM table_50575 WHERE "Downhill" < '46' AND "Points" = '84.45'
[ 2061, 318, 262, 352, 301, 1057, 326, 318, 866, 12788, 1342, 621, 6337, 11, 290, 9508, 13, 2231, 2173, 30, 46506, 366, 16, 301, 1057, 1, 16034, 3084, 62, 31654, 2425, 33411, 366, 8048, 12639, 1, 1279, 705, 3510, 6, 5357, 366, 40710, 1, 796, 705, 5705, 13, 2231, 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, 352, 301, 1057, 326, 318, 866, 12788, 1342, 621, 6337, 11, 290, 9508, 13, 2231, 2173, 30, 46506, 366, 16, 301, 1057, 1, 16034, 3084, 62, 31654, 2425, 33411, 366, 8048, 12639, 1, 1279, 705, 3510, 6, 5357, 366, 40710, 1, 796, 705, 5705, 13, 2231, 6 ]
what is days of hospital stay and drug name of subject name dona cole?
SELECT demographic.days_stay, prescriptions.drug FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.name = "Dona Cole"
[ 10919, 318, 1528, 286, 4436, 2652, 290, 2563, 1438, 286, 2426, 1438, 836, 64, 763, 293, 30, 46506, 16728, 13, 12545, 62, 31712, 11, 34092, 13, 30349, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, 18108, 76, 62, 312, 796, 34092, 13, 18108, 76, 62, 312, 33411, 16728, 13, 3672, 796, 366, 3987, 64, 11768, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1528, 286, 4436, 2652, 290, 2563, 1438, 286, 2426, 1438, 836, 64, 763, 293, 30, 46506, 16728, 13, 12545, 62, 31712, 11, 34092, 13, 30349, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, 18108, 76, 62, 312, 796, 34092, 13, 18108, 76, 62, 312, 33411, 16728, 13, 3672, 796, 366, 3987, 64, 11768, 1 ]
What is the most cuts made for events with 1 top-5, 2 top-10s, and more than 13 total events?
SELECT MAX(cuts_made) FROM table_name_52 WHERE top_5 = 1 AND top_10 = 2 AND events > 13
[ 2061, 318, 262, 749, 6630, 925, 329, 2995, 351, 352, 1353, 12, 20, 11, 362, 1353, 12, 940, 82, 11, 290, 517, 621, 1511, 2472, 2995, 30, 46506, 25882, 7, 23779, 62, 9727, 8, 16034, 3084, 62, 3672, 62, 4309, 33411, 1353, 62, 20, 796, 352, 5357, 1353, 62, 940, 796, 362, 5357, 2995, 1875, 1511 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 749, 6630, 925, 329, 2995, 351, 352, 1353, 12, 20, 11, 362, 1353, 12, 940, 82, 11, 290, 517, 621, 1511, 2472, 2995, 30, 46506, 25882, 7, 23779, 62, 9727, 8, 16034, 3084, 62, 3672, 62, 4309, 33411, 1353, 62, 20, 796, 352, 5357, 1353, 62, 940, 796, 362, 5357, 2995, 1875, 1511 ]
provide the number of patients whose diagnosis long title is observation for suspected infectious condition 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.long_title = "Observation for suspected infectious condition" AND prescriptions.drug_type = "MAIN"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 13669, 890, 3670, 318, 13432, 329, 9885, 25246, 4006, 290, 2563, 2099, 318, 1388, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 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, 6511, 62, 7839, 796, 366, 31310, 13208, 329, 9885, 25246, 4006, 1, 5357, 34092, 13, 30349, 62, 4906, 796, 366, 5673 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13669, 890, 3670, 318, 13432, 329, 9885, 25246, 4006, 290, 2563, 2099, 318, 1388, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 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, 6511, 62, 7839, 796, 366, 31310, 13208, 329, 9885, 25246, 4006, 1, 5357, 34092, 13, 30349, 62, 4906, 796, 366, 5673 ]
For those records from the products and each product's manufacturer, draw a bar chart about the distribution of name and price , and group by attribute name, rank Name in asc order.
SELECT T1.Name, T1.Price FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T1.Name, T1.Name ORDER BY T1.Name
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 3197, 257, 2318, 8262, 546, 262, 6082, 286, 1438, 290, 2756, 837, 290, 1448, 416, 11688, 1438, 11, 4279, 6530, 287, 10570, 1502, 13, 46506, 309, 16, 13, 5376, 11, 309, 16, 13, 18124, 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, 16, 13, 5376, 11, 309, 16, 13, 5376, 38678, 11050, 309, 16, 13, 5376 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3197, 257, 2318, 8262, 546, 262, 6082, 286, 1438, 290, 2756, 837, 290, 1448, 416, 11688, 1438, 11, 4279, 6530, 287, 10570, 1502, 13, 46506, 309, 16, 13, 5376, 11, 309, 16, 13, 18124, 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, 16, 13, 5376, 11, 309, 16, 13, 5376, 38678, 11050, 309, 16, 13, 5376 ]
show me morning flights from TORONTO
SELECT DISTINCT flight.flight_id FROM airport_service, city, flight WHERE city.city_code = airport_service.city_code AND city.city_name = 'TORONTO' AND flight.departure_time BETWEEN 0 AND 1200 AND flight.from_airport = airport_service.airport_code
[ 12860, 502, 3329, 13956, 422, 40691, 35830, 14058, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 11, 1748, 11, 5474, 33411, 1748, 13, 19205, 62, 8189, 796, 9003, 62, 15271, 13, 19205, 62, 8189, 5357, 1748, 13, 19205, 62, 3672, 796, 705, 32961, 1340, 10468, 6, 5357, 5474, 13, 10378, 433, 495, 62, 2435, 38651, 8845, 1677, 657, 5357, 24938, 5357, 5474, 13, 6738, 62, 958, 634, 796, 9003, 62, 15271, 13, 958, 634, 62, 8189 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3329, 13956, 422, 40691, 35830, 14058, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 11, 1748, 11, 5474, 33411, 1748, 13, 19205, 62, 8189, 796, 9003, 62, 15271, 13, 19205, 62, 8189, 5357, 1748, 13, 19205, 62, 3672, 796, 705, 32961, 1340, 10468, 6, 5357, 5474, 13, 10378, 433, 495, 62, 2435, 38651, 8845, 1677, 657, 5357, 24938, 5357, 5474, 13, 6738, 62, 958, 634, 796, 9003, 62, 15271, 13, 958, 634, 62, 8189 ]
Name the percentage of votes for 3rd finished
SELECT "Percentage of votes" FROM table_28566 WHERE "Finished" = '3rd'
[ 5376, 262, 5873, 286, 5690, 329, 513, 4372, 5201, 46506, 366, 31905, 496, 286, 5690, 1, 16034, 3084, 62, 26279, 2791, 33411, 366, 18467, 1348, 1, 796, 705, 18, 4372, 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 ]
[ 5376, 262, 5873, 286, 5690, 329, 513, 4372, 5201, 46506, 366, 31905, 496, 286, 5690, 1, 16034, 3084, 62, 26279, 2791, 33411, 366, 18467, 1348, 1, 796, 705, 18, 4372, 6 ]
What is the score in Leicester?
SELECT score FROM table_name_42 WHERE city = "leicester"
[ 2061, 318, 262, 4776, 287, 29224, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 3682, 33411, 1748, 796, 366, 293, 26382, 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, 287, 29224, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 3682, 33411, 1748, 796, 366, 293, 26382, 1 ]
What is the largest year located in zagreb, croatia?
SELECT MAX("Year") FROM table_11061 WHERE "Location" = 'zagreb, croatia'
[ 2061, 318, 262, 4387, 614, 5140, 287, 1976, 363, 34806, 11, 6763, 265, 544, 30, 46506, 25882, 7203, 17688, 4943, 16034, 3084, 62, 11442, 5333, 33411, 366, 14749, 1, 796, 705, 50183, 34806, 11, 6763, 265, 544, 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, 4387, 614, 5140, 287, 1976, 363, 34806, 11, 6763, 265, 544, 30, 46506, 25882, 7203, 17688, 4943, 16034, 3084, 62, 11442, 5333, 33411, 366, 14749, 1, 796, 705, 50183, 34806, 11, 6763, 265, 544, 6 ]
which site is the top on the chart
SELECT "site" FROM table_204_776 WHERE id = 1
[ 4758, 2524, 318, 262, 1353, 319, 262, 8262, 46506, 366, 15654, 1, 16034, 3084, 62, 18638, 62, 39509, 33411, 4686, 796, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4758, 2524, 318, 262, 1353, 319, 262, 8262, 46506, 366, 15654, 1, 16034, 3084, 62, 18638, 62, 39509, 33411, 4686, 796, 352 ]
What is the party with the candidates newt gingrich (r) 59.1% dock h. davis (d) 40.9%?
SELECT "Party" FROM table_72388 WHERE "Candidates" = 'Newt Gingrich (R) 59.1% Dock H. Davis (D) 40.9%'
[ 2061, 318, 262, 2151, 351, 262, 5871, 649, 83, 308, 278, 7527, 357, 81, 8, 7863, 13, 16, 4, 23423, 289, 13, 288, 23401, 357, 67, 8, 2319, 13, 24, 4, 30, 46506, 366, 33553, 1, 16034, 3084, 62, 22, 1954, 3459, 33411, 366, 41572, 37051, 1, 796, 705, 3791, 83, 29855, 357, 49, 8, 7863, 13, 16, 4, 36444, 367, 13, 7802, 357, 35, 8, 2319, 13, 24, 4, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2151, 351, 262, 5871, 649, 83, 308, 278, 7527, 357, 81, 8, 7863, 13, 16, 4, 23423, 289, 13, 288, 23401, 357, 67, 8, 2319, 13, 24, 4, 30, 46506, 366, 33553, 1, 16034, 3084, 62, 22, 1954, 3459, 33411, 366, 41572, 37051, 1, 796, 705, 3791, 83, 29855, 357, 49, 8, 7863, 13, 16, 4, 36444, 367, 13, 7802, 357, 35, 8, 2319, 13, 24, 4, 6 ]
Find the name of the person who has no student friends.
SELECT name FROM person EXCEPT SELECT T2.name FROM person AS T1 JOIN personfriend AS T2 ON T1.name = T2.friend WHERE T1.job = 'student'
[ 16742, 262, 1438, 286, 262, 1048, 508, 468, 645, 3710, 2460, 13, 46506, 1438, 16034, 1048, 7788, 42006, 33493, 309, 17, 13, 3672, 16034, 1048, 7054, 309, 16, 32357, 1268, 1048, 6726, 7054, 309, 17, 6177, 309, 16, 13, 3672, 796, 309, 17, 13, 6726, 33411, 309, 16, 13, 21858, 796, 705, 50139, 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 ]
[ 16742, 262, 1438, 286, 262, 1048, 508, 468, 645, 3710, 2460, 13, 46506, 1438, 16034, 1048, 7788, 42006, 33493, 309, 17, 13, 3672, 16034, 1048, 7054, 309, 16, 32357, 1268, 1048, 6726, 7054, 309, 17, 6177, 309, 16, 13, 3672, 796, 309, 17, 13, 6726, 33411, 309, 16, 13, 21858, 796, 705, 50139, 6 ]
Users with at least one post in a reputation bracket.
SELECT 'site://users/' + CAST(u.Id AS VARCHAR) + '|' + CAST(u.DisplayName AS VARCHAR) AS "user", SUM(p.Score) AS "Total Score", u.Reputation, u.LastAccessDate FROM Users AS u, Posts AS p WHERE u.Reputation >= @Repmin AND u.Reputation <= @Repmax AND u.Id = p.OwnerUserId AND p.PostTypeId = 1 AND DATEDIFF(day, u.LastAccessDate, GETDATE()) > 365 GROUP BY u.Reputation, u.Id, u.DisplayName, u.LastAccessDate HAVING COUNT(p.Id) = 1 AND SUM(p.Score) <= 1 ORDER BY u.LastAccessDate DESC
[ 14490, 351, 379, 1551, 530, 1281, 287, 257, 8507, 19096, 13, 46506, 705, 15654, 1378, 18417, 14, 6, 1343, 327, 11262, 7, 84, 13, 7390, 7054, 569, 31315, 1503, 8, 1343, 705, 91, 6, 1343, 327, 11262, 7, 84, 13, 23114, 5376, 7054, 569, 31315, 1503, 8, 7054, 366, 7220, 1600, 35683, 7, 79, 13, 26595, 8, 7054, 366, 14957, 15178, 1600, 334, 13, 6207, 7094, 11, 334, 13, 5956, 15457, 10430, 16034, 18987, 7054, 334, 11, 12043, 7054, 279, 33411, 334, 13, 6207, 7094, 18189, 2488, 6207, 1084, 5357, 334, 13, 6207, 7094, 19841, 2488, 6207, 9806, 5357, 334 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 351, 379, 1551, 530, 1281, 287, 257, 8507, 19096, 13, 46506, 705, 15654, 1378, 18417, 14, 6, 1343, 327, 11262, 7, 84, 13, 7390, 7054, 569, 31315, 1503, 8, 1343, 705, 91, 6, 1343, 327, 11262, 7, 84, 13, 23114, 5376, 7054, 569, 31315, 1503, 8, 7054, 366, 7220, 1600, 35683, 7, 79, 13, 26595, 8, 7054, 366, 14957, 15178, 1600, 334, 13, 6207, 7094, 11, 334, 13, 5956, 15457, 10430, 16034, 18987, 7054, 334, 11, 12043, 7054, 279, 33411, 334, 13, 6207, 7094, 18189, 2488, 6207, 1084, 5357, 334, 13, 6207, 7094, 19841, 2488, 6207, 9806, 5357, 334 ]
Name the number of nat for total g of 6
SELECT COUNT("Nat") FROM table_25107 WHERE "Total G" = '6'
[ 5376, 262, 1271, 286, 34664, 329, 2472, 308, 286, 718, 46506, 327, 28270, 7203, 47849, 4943, 16034, 3084, 62, 1495, 15982, 33411, 366, 14957, 402, 1, 796, 705, 21, 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 ]
[ 5376, 262, 1271, 286, 34664, 329, 2472, 308, 286, 718, 46506, 327, 28270, 7203, 47849, 4943, 16034, 3084, 62, 1495, 15982, 33411, 366, 14957, 402, 1, 796, 705, 21, 6 ]
how many of the patients aged below 50 had item id 50903?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.age < "50" AND lab.itemid = "50903"
[ 4919, 867, 286, 262, 3871, 9722, 2174, 2026, 550, 2378, 4686, 2026, 24, 3070, 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, 496, 1279, 366, 1120, 1, 5357, 2248, 13, 9186, 312, 796, 366, 29022, 3070, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 286, 262, 3871, 9722, 2174, 2026, 550, 2378, 4686, 2026, 24, 3070, 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, 496, 1279, 366, 1120, 1, 5357, 2248, 13, 9186, 312, 796, 366, 29022, 3070, 1 ]
What is the total number of Opponents, when Raiders Points is '42', when Attendance is less than 52,505?
SELECT COUNT(opponents) FROM table_name_16 WHERE raiders_points = 42 AND attendance < 52 OFFSET 505
[ 2061, 318, 262, 2472, 1271, 286, 9385, 3906, 11, 618, 16120, 11045, 318, 705, 3682, 3256, 618, 46502, 590, 318, 1342, 621, 6740, 11, 31654, 30, 46506, 327, 28270, 7, 10365, 3906, 8, 16034, 3084, 62, 3672, 62, 1433, 33411, 9513, 364, 62, 13033, 796, 5433, 5357, 14858, 1279, 6740, 3963, 10652, 2767, 43367 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2472, 1271, 286, 9385, 3906, 11, 618, 16120, 11045, 318, 705, 3682, 3256, 618, 46502, 590, 318, 1342, 621, 6740, 11, 31654, 30, 46506, 327, 28270, 7, 10365, 3906, 8, 16034, 3084, 62, 3672, 62, 1433, 33411, 9513, 364, 62, 13033, 796, 5433, 5357, 14858, 1279, 6740, 3963, 10652, 2767, 43367 ]
What year was the average speed 145.24
SELECT MAX("Year") FROM table_2081 WHERE "Average Speed (mph)" = '145.24'
[ 2061, 614, 373, 262, 2811, 2866, 20299, 13, 1731, 46506, 25882, 7203, 17688, 4943, 16034, 3084, 62, 1238, 6659, 33411, 366, 26287, 8729, 357, 23335, 16725, 796, 705, 18781, 13, 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 ]
[ 2061, 614, 373, 262, 2811, 2866, 20299, 13, 1731, 46506, 25882, 7203, 17688, 4943, 16034, 3084, 62, 1238, 6659, 33411, 366, 26287, 8729, 357, 23335, 16725, 796, 705, 18781, 13, 1731, 6 ]
What was the record for the game before game 6 against the chicago black hawks?
SELECT "Record" FROM table_76684 WHERE "Game" < '6' AND "Opponent" = 'chicago black hawks'
[ 2061, 373, 262, 1700, 329, 262, 983, 878, 983, 718, 1028, 262, 442, 4549, 2042, 23185, 591, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 22, 2791, 5705, 33411, 366, 8777, 1, 1279, 705, 21, 6, 5357, 366, 27524, 3471, 1, 796, 705, 354, 4549, 2042, 23185, 591, 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, 373, 262, 1700, 329, 262, 983, 878, 983, 718, 1028, 262, 442, 4549, 2042, 23185, 591, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 22, 2791, 5705, 33411, 366, 8777, 1, 1279, 705, 21, 6, 5357, 366, 27524, 3471, 1, 796, 705, 354, 4549, 2042, 23185, 591, 6 ]
Round of 11, and a Pick # larger than 14 is the highest overall pick?
SELECT MAX("Overall") FROM table_15281 WHERE "Round" = '11' AND "Pick #" > '14'
[ 22685, 286, 1367, 11, 290, 257, 12346, 1303, 4025, 621, 1478, 318, 262, 4511, 4045, 2298, 30, 46506, 25882, 7203, 16350, 4943, 16034, 3084, 62, 1314, 30368, 33411, 366, 22685, 1, 796, 705, 1157, 6, 5357, 366, 31686, 1303, 1, 1875, 705, 1415, 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 ]
[ 22685, 286, 1367, 11, 290, 257, 12346, 1303, 4025, 621, 1478, 318, 262, 4511, 4045, 2298, 30, 46506, 25882, 7203, 16350, 4943, 16034, 3084, 62, 1314, 30368, 33411, 366, 22685, 1, 796, 705, 1157, 6, 5357, 366, 31686, 1303, 1, 1875, 705, 1415, 6 ]
Which Season 7 has a Seat larger than 1, and a Season 3 of w. brett wilson?
SELECT season_7 FROM table_name_89 WHERE seat > 1 AND season_3 = "w. brett wilson"
[ 13828, 7369, 767, 468, 257, 26682, 4025, 621, 352, 11, 290, 257, 7369, 513, 286, 266, 13, 1449, 926, 39716, 1559, 30, 46506, 1622, 62, 22, 16034, 3084, 62, 3672, 62, 4531, 33411, 5852, 1875, 352, 5357, 1622, 62, 18, 796, 366, 86, 13, 1449, 926, 39716, 1559, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7369, 767, 468, 257, 26682, 4025, 621, 352, 11, 290, 257, 7369, 513, 286, 266, 13, 1449, 926, 39716, 1559, 30, 46506, 1622, 62, 22, 16034, 3084, 62, 3672, 62, 4531, 33411, 5852, 1875, 352, 5357, 1622, 62, 18, 796, 366, 86, 13, 1449, 926, 39716, 1559, 1 ]
Who competed on may 6, 2006?
SELECT "Opponents" FROM table_75463 WHERE "Date" = 'may 6, 2006'
[ 8241, 32440, 319, 743, 718, 11, 4793, 30, 46506, 366, 27524, 3906, 1, 16034, 3084, 62, 2425, 38380, 33411, 366, 10430, 1, 796, 705, 11261, 718, 11, 4793, 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 ]
[ 8241, 32440, 319, 743, 718, 11, 4793, 30, 46506, 366, 27524, 3906, 1, 16034, 3084, 62, 2425, 38380, 33411, 366, 10430, 1, 796, 705, 11261, 718, 11, 4793, 6 ]
find the admission location and procedure short title for subject id 2560.
SELECT demographic.admission_location, procedures.short_title FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.subject_id = "2560"
[ 19796, 262, 13938, 4067, 290, 8771, 1790, 3670, 329, 2426, 4686, 1679, 1899, 13, 46506, 16728, 13, 324, 3411, 62, 24886, 11, 9021, 13, 19509, 62, 7839, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, 13, 18108, 76, 62, 312, 796, 9021, 13, 18108, 76, 62, 312, 33411, 16728, 13, 32796, 62, 312, 796, 366, 1495, 1899, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13938, 4067, 290, 8771, 1790, 3670, 329, 2426, 4686, 1679, 1899, 13, 46506, 16728, 13, 324, 3411, 62, 24886, 11, 9021, 13, 19509, 62, 7839, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, 13, 18108, 76, 62, 312, 796, 9021, 13, 18108, 76, 62, 312, 33411, 16728, 13, 32796, 62, 312, 796, 366, 1495, 1899, 1 ]
Name the realization for 'to be, to do
SELECT "Realization" FROM table_54557 WHERE "Gloss" = 'to be, to do'
[ 5376, 262, 23258, 329, 705, 1462, 307, 11, 284, 466, 46506, 366, 15633, 1634, 1, 16034, 3084, 62, 45326, 3553, 33411, 366, 9861, 793, 1, 796, 705, 1462, 307, 11, 284, 466, 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 ]
[ 5376, 262, 23258, 329, 705, 1462, 307, 11, 284, 466, 46506, 366, 15633, 1634, 1, 16034, 3084, 62, 45326, 3553, 33411, 366, 9861, 793, 1, 796, 705, 1462, 307, 11, 284, 466, 6 ]
What is the highest position Talk on Corners, which had an issue date greater than 1, had?
SELECT COUNT(highest_position) FROM table_name_29 WHERE album_title = "talk on corners" AND issue_date > 1
[ 2061, 318, 262, 4511, 2292, 12167, 319, 11424, 364, 11, 543, 550, 281, 2071, 3128, 3744, 621, 352, 11, 550, 30, 46506, 327, 28270, 7, 35323, 62, 9150, 8, 16034, 3084, 62, 3672, 62, 1959, 33411, 5062, 62, 7839, 796, 366, 16620, 319, 14371, 1, 5357, 2071, 62, 4475, 1875, 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 ]
[ 2061, 318, 262, 4511, 2292, 12167, 319, 11424, 364, 11, 543, 550, 281, 2071, 3128, 3744, 621, 352, 11, 550, 30, 46506, 327, 28270, 7, 35323, 62, 9150, 8, 16034, 3084, 62, 3672, 62, 1959, 33411, 5062, 62, 7839, 796, 366, 16620, 319, 14371, 1, 5357, 2071, 62, 4475, 1875, 352 ]
What are the total goals against the winner with less than 5 wins, and less than 5 plays?
SELECT COUNT(goals_against) FROM table_name_89 WHERE wins < 5 AND played < 5
[ 2061, 389, 262, 2472, 4661, 1028, 262, 8464, 351, 1342, 621, 642, 7864, 11, 290, 1342, 621, 642, 5341, 30, 46506, 327, 28270, 7, 2188, 874, 62, 32826, 8, 16034, 3084, 62, 3672, 62, 4531, 33411, 7864, 1279, 642, 5357, 2826, 1279, 642 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2472, 4661, 1028, 262, 8464, 351, 1342, 621, 642, 7864, 11, 290, 1342, 621, 642, 5341, 30, 46506, 327, 28270, 7, 2188, 874, 62, 32826, 8, 16034, 3084, 62, 3672, 62, 4531, 33411, 7864, 1279, 642, 5357, 2826, 1279, 642 ]
what's the years for rockets where position is guard / forward
SELECT years_for_rockets FROM table_11734041_20 WHERE position = "Guard / Forward"
[ 10919, 338, 262, 812, 329, 20293, 810, 2292, 318, 4860, 1220, 2651, 46506, 812, 62, 1640, 62, 10823, 1039, 16034, 3084, 62, 1157, 4790, 1821, 3901, 62, 1238, 33411, 2292, 796, 366, 24502, 1220, 19530, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 812, 329, 20293, 810, 2292, 318, 4860, 1220, 2651, 46506, 812, 62, 1640, 62, 10823, 1039, 16034, 3084, 62, 1157, 4790, 1821, 3901, 62, 1238, 33411, 2292, 796, 366, 24502, 1220, 19530, 1 ]
what is the total amount of urine output patient 011-57670 has since 908 days ago?
SELECT SUM(intakeoutput.cellvaluenumeric) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '011-57670')) AND intakeoutput.celllabel = 'urine' AND intakeoutput.cellpath LIKE '%output%' AND DATETIME(intakeoutput.intakeoutputtime) >= DATETIME(CURRENT_TIME(), '-908 day')
[ 10919, 318, 262, 2472, 2033, 286, 18922, 5072, 5827, 5534, 16, 12, 37452, 2154, 468, 1201, 860, 2919, 1528, 2084, 30, 46506, 35683, 7, 600, 539, 22915, 13, 3846, 2100, 84, 268, 39223, 8, 16034, 10337, 22915, 33411, 10337, 22915, 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, 28555, 12, 37452, 2154, 6, 4008, 5357, 10337, 22915, 13, 3846, 18242, 796, 705, 333 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2033, 286, 18922, 5072, 5827, 5534, 16, 12, 37452, 2154, 468, 1201, 860, 2919, 1528, 2084, 30, 46506, 35683, 7, 600, 539, 22915, 13, 3846, 2100, 84, 268, 39223, 8, 16034, 10337, 22915, 33411, 10337, 22915, 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, 28555, 12, 37452, 2154, 6, 4008, 5357, 10337, 22915, 13, 3846, 18242, 796, 705, 333 ]
Where the games are smaller than 5 and the points are 6, what is the average lost?
SELECT AVG("Lost") FROM table_37602 WHERE "Points" = '6' AND "Games" < '5'
[ 8496, 262, 1830, 389, 4833, 621, 642, 290, 262, 2173, 389, 718, 11, 644, 318, 262, 2811, 2626, 30, 46506, 35224, 7203, 31042, 4943, 16034, 3084, 62, 2718, 31418, 33411, 366, 40710, 1, 796, 705, 21, 6, 5357, 366, 24474, 1, 1279, 705, 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 ]
[ 8496, 262, 1830, 389, 4833, 621, 642, 290, 262, 2173, 389, 718, 11, 644, 318, 262, 2811, 2626, 30, 46506, 35224, 7203, 31042, 4943, 16034, 3084, 62, 2718, 31418, 33411, 366, 40710, 1, 796, 705, 21, 6, 5357, 366, 24474, 1, 1279, 705, 20, 6 ]
What is the date for the tournament McDonald's wpga championship?
SELECT "Date" FROM table_24529 WHERE "Tournament" = 'McDonald''s WPGA Championship'
[ 2061, 318, 262, 3128, 329, 262, 7756, 14115, 338, 266, 79, 4908, 12184, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 22995, 1959, 33411, 366, 51, 5138, 1, 796, 705, 9742, 7371, 7061, 82, 370, 6968, 32, 10749, 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, 3128, 329, 262, 7756, 14115, 338, 266, 79, 4908, 12184, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 22995, 1959, 33411, 366, 51, 5138, 1, 796, 705, 9742, 7371, 7061, 82, 370, 6968, 32, 10749, 6 ]
What is the Original Canadian air-date that was directed by Michael Tolkin?
SELECT original_canadian_air_date FROM table_name_98 WHERE director = "michael tolkin"
[ 2061, 318, 262, 13745, 5398, 1633, 12, 4475, 326, 373, 7924, 416, 3899, 20054, 5116, 30, 46506, 2656, 62, 5171, 18425, 62, 958, 62, 4475, 16034, 3084, 62, 3672, 62, 4089, 33411, 3437, 796, 366, 76, 40302, 284, 75, 5116, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13745, 5398, 1633, 12, 4475, 326, 373, 7924, 416, 3899, 20054, 5116, 30, 46506, 2656, 62, 5171, 18425, 62, 958, 62, 4475, 16034, 3084, 62, 3672, 62, 4089, 33411, 3437, 796, 366, 76, 40302, 284, 75, 5116, 1 ]
when did patient 017-36245 receive a vasopressors - norepinephrine > 0.1 micrograms/kg/min procedure for the last time until 2104?
SELECT treatment.treatmenttime FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '017-36245')) AND treatment.treatmentname = 'vasopressors - norepinephrine > 0.1 micrograms/kg/min' AND STRFTIME('%y', treatment.treatmenttime) <= '2104' ORDER BY treatment.treatmenttime DESC LIMIT 1
[ 12518, 750, 5827, 5534, 22, 12, 2623, 22995, 3328, 257, 34439, 404, 601, 669, 532, 299, 382, 23908, 47723, 1875, 657, 13, 16, 4580, 4546, 82, 14, 10025, 14, 1084, 8771, 329, 262, 938, 640, 1566, 362, 13464, 30, 46506, 3513, 13, 42487, 2435, 16034, 3513, 33411, 3513, 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, 29326, 12, 2623, 22995, 6, 4008, 5357 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 12518, 750, 5827, 5534, 22, 12, 2623, 22995, 3328, 257, 34439, 404, 601, 669, 532, 299, 382, 23908, 47723, 1875, 657, 13, 16, 4580, 4546, 82, 14, 10025, 14, 1084, 8771, 329, 262, 938, 640, 1566, 362, 13464, 30, 46506, 3513, 13, 42487, 2435, 16034, 3513, 33411, 3513, 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, 29326, 12, 2623, 22995, 6, 4008, 5357 ]
What is the position of the Colorado Rapids team?
SELECT position FROM table_name_38 WHERE mls_team = "colorado rapids"
[ 2061, 318, 262, 2292, 286, 262, 7492, 27466, 1074, 30, 46506, 2292, 16034, 3084, 62, 3672, 62, 2548, 33411, 285, 7278, 62, 15097, 796, 366, 8043, 4533, 4095, 2340, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2292, 286, 262, 7492, 27466, 1074, 30, 46506, 2292, 16034, 3084, 62, 3672, 62, 2548, 33411, 285, 7278, 62, 15097, 796, 366, 8043, 4533, 4095, 2340, 1 ]
Location of ebbets field, and a Time of 2:56, and a Game larger than 6 has what sum of attendance?
SELECT SUM("Attendance") FROM table_79858 WHERE "Location" = 'ebbets field' AND "Time" = '2:56' AND "Game" > '6'
[ 14749, 286, 304, 11848, 1039, 2214, 11, 290, 257, 3862, 286, 362, 25, 3980, 11, 290, 257, 3776, 4025, 621, 718, 468, 644, 2160, 286, 14858, 30, 46506, 35683, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 43240, 3365, 33411, 366, 14749, 1, 796, 705, 1765, 65, 1039, 2214, 6, 5357, 366, 7575, 1, 796, 705, 17, 25, 3980, 6, 5357, 366, 8777, 1, 1875, 705, 21, 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 ]
[ 14749, 286, 304, 11848, 1039, 2214, 11, 290, 257, 3862, 286, 362, 25, 3980, 11, 290, 257, 3776, 4025, 621, 718, 468, 644, 2160, 286, 14858, 30, 46506, 35683, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 43240, 3365, 33411, 366, 14749, 1, 796, 705, 1765, 65, 1039, 2214, 6, 5357, 366, 7575, 1, 796, 705, 17, 25, 3980, 6, 5357, 366, 8777, 1, 1875, 705, 21, 6 ]
Find the number of professors with a PhD degree in each department Show bar chart, I want to display by the Y from low to high.
SELECT DEPT_CODE, COUNT(*) FROM PROFESSOR WHERE PROF_HIGH_DEGREE = 'Ph.D.' GROUP BY DEPT_CODE ORDER BY COUNT(*)
[ 16742, 262, 1271, 286, 20339, 351, 257, 16394, 4922, 287, 1123, 5011, 5438, 2318, 8262, 11, 314, 765, 284, 3359, 416, 262, 575, 422, 1877, 284, 1029, 13, 46506, 5550, 11571, 62, 34, 16820, 11, 327, 28270, 7, 28104, 16034, 4810, 19238, 7597, 1581, 33411, 4810, 19238, 62, 39, 18060, 62, 35, 7156, 11587, 796, 705, 2725, 13, 35, 2637, 44441, 11050, 5550, 11571, 62, 34, 16820, 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, 1, 1, 1, 1 ]
[ 16742, 262, 1271, 286, 20339, 351, 257, 16394, 4922, 287, 1123, 5011, 5438, 2318, 8262, 11, 314, 765, 284, 3359, 416, 262, 575, 422, 1877, 284, 1029, 13, 46506, 5550, 11571, 62, 34, 16820, 11, 327, 28270, 7, 28104, 16034, 4810, 19238, 7597, 1581, 33411, 4810, 19238, 62, 39, 18060, 62, 35, 7156, 11587, 796, 705, 2725, 13, 35, 2637, 44441, 11050, 5550, 11571, 62, 34, 16820, 38678, 11050, 327, 28270, 7, 28104 ]
Name the fastest lap for piquet sports and silverstone
SELECT fastest_lap FROM table_25322130_3 WHERE winning_team = "Piquet Sports" AND circuit = "Silverstone"
[ 5376, 262, 14162, 14779, 329, 279, 1557, 316, 5701, 290, 8465, 6440, 46506, 14162, 62, 37796, 16034, 3084, 62, 28592, 1828, 12952, 62, 18, 33411, 5442, 62, 15097, 796, 366, 47, 1557, 316, 7092, 1, 5357, 10349, 796, 366, 26766, 6440, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14162, 14779, 329, 279, 1557, 316, 5701, 290, 8465, 6440, 46506, 14162, 62, 37796, 16034, 3084, 62, 28592, 1828, 12952, 62, 18, 33411, 5442, 62, 15097, 796, 366, 47, 1557, 316, 7092, 1, 5357, 10349, 796, 366, 26766, 6440, 1 ]
which athlete played against Queensland?
SELECT player FROM table_name_17 WHERE opponent = "queensland"
[ 4758, 16076, 2826, 1028, 21105, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 1558, 33411, 6125, 796, 366, 4188, 641, 1044, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4758, 16076, 2826, 1028, 21105, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 1558, 33411, 6125, 796, 366, 4188, 641, 1044, 1 ]
tell me what are the top five most common diagnoses of patients with a 40s age during the previous year?
SELECT d_icd_diagnoses.short_title FROM d_icd_diagnoses WHERE d_icd_diagnoses.icd9_code IN (SELECT t1.icd9_code FROM (SELECT diagnoses_icd.icd9_code, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM diagnoses_icd WHERE diagnoses_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.age BETWEEN 40 AND 49) AND DATETIME(diagnoses_icd.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') GROUP BY diagnoses_icd.icd9_code) AS t1 WHERE t1.c1 <= 5)
[ 33331, 502, 644, 389, 262, 1353, 1936, 749, 2219, 40567, 286, 3871, 351, 257, 2319, 82, 2479, 1141, 262, 2180, 614, 30, 46506, 288, 62, 291, 67, 62, 47356, 4629, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 47356, 4629, 33411, 288, 62, 291, 67, 62, 47356, 4629, 13, 291, 67, 24, 62, 8189, 3268, 357, 46506, 256, 16, 13, 291, 67, 24, 62, 8189, 16034, 357, 46506, 40567, 62, 291, 67, 13, 291, 67, 24, 62, 8189, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, 7, 28104, 22196, 34, 8, 7054 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 644, 389, 262, 1353, 1936, 749, 2219, 40567, 286, 3871, 351, 257, 2319, 82, 2479, 1141, 262, 2180, 614, 30, 46506, 288, 62, 291, 67, 62, 47356, 4629, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 47356, 4629, 33411, 288, 62, 291, 67, 62, 47356, 4629, 13, 291, 67, 24, 62, 8189, 3268, 357, 46506, 256, 16, 13, 291, 67, 24, 62, 8189, 16034, 357, 46506, 40567, 62, 291, 67, 13, 291, 67, 24, 62, 8189, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, 7, 28104, 22196, 34, 8, 7054 ]
What in the minimum number of championships won by a nation?
SELECT MIN("Championships") FROM table_23023
[ 2061, 287, 262, 5288, 1271, 286, 27459, 1839, 416, 257, 3277, 30, 46506, 20625, 7203, 1925, 4350, 5748, 4943, 16034, 3084, 62, 19214, 1954 ]
[ 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, 287, 262, 5288, 1271, 286, 27459, 1839, 416, 257, 3277, 30, 46506, 20625, 7203, 1925, 4350, 5748, 4943, 16034, 3084, 62, 19214, 1954 ]
What type is the race with the vicenza to marostica course?
SELECT type FROM table_name_29 WHERE course = "vicenza to marostica"
[ 2061, 2099, 318, 262, 3234, 351, 262, 20429, 23674, 284, 1667, 455, 3970, 1781, 30, 46506, 2099, 16034, 3084, 62, 3672, 62, 1959, 33411, 1781, 796, 366, 25531, 23674, 284, 1667, 455, 3970, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2099, 318, 262, 3234, 351, 262, 20429, 23674, 284, 1667, 455, 3970, 1781, 30, 46506, 2099, 16034, 3084, 62, 3672, 62, 1959, 33411, 1781, 796, 366, 25531, 23674, 284, 1667, 455, 3970, 1 ]
Which result's venue was in Rotterdam, Netherlands?
SELECT result FROM table_name_14 WHERE venue = "rotterdam, netherlands"
[ 13828, 1255, 338, 14359, 373, 287, 18481, 353, 11043, 11, 12671, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 1415, 33411, 14359, 796, 366, 10599, 353, 11043, 11, 2010, 372, 4447, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 1255, 338, 14359, 373, 287, 18481, 353, 11043, 11, 12671, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 1415, 33411, 14359, 796, 366, 10599, 353, 11043, 11, 2010, 372, 4447, 1 ]
What is the highest amount of money a player with a score of 69-71-71-73=284 has?
SELECT MAX(money___) AS $__ FROM table_name_76 WHERE score = 69 - 71 - 71 - 73 = 284
[ 2061, 318, 262, 4511, 2033, 286, 1637, 257, 2137, 351, 257, 4776, 286, 8644, 12, 4869, 12, 4869, 12, 4790, 28, 30336, 468, 30, 46506, 25882, 7, 26316, 17569, 8, 7054, 720, 834, 16034, 3084, 62, 3672, 62, 4304, 33411, 4776, 796, 8644, 532, 9166, 532, 9166, 532, 8854, 796, 40654 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4511, 2033, 286, 1637, 257, 2137, 351, 257, 4776, 286, 8644, 12, 4869, 12, 4869, 12, 4790, 28, 30336, 468, 30, 46506, 25882, 7, 26316, 17569, 8, 7054, 720, 834, 16034, 3084, 62, 3672, 62, 4304, 33411, 4776, 796, 8644, 532, 9166, 532, 9166, 532, 8854, 796, 40654 ]
how many hours have it been since the first time patient 027-140654 received procedures during their current hospital encounter?
SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', treatment.treatmenttime)) FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '027-140654' AND patient.hospitaldischargetime IS NULL)) ORDER BY treatment.treatmenttime LIMIT 1
[ 4919, 867, 2250, 423, 340, 587, 1201, 262, 717, 640, 5827, 657, 1983, 12, 15187, 39111, 2722, 9021, 1141, 511, 1459, 4436, 8791, 30, 46506, 1987, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694, 28955, 532, 19269, 9792, 12789, 10786, 4, 73, 3256, 3513, 13, 42487, 2435, 4008, 16034, 3513, 33411, 3513, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 423, 340, 587, 1201, 262, 717, 640, 5827, 657, 1983, 12, 15187, 39111, 2722, 9021, 1141, 511, 1459, 4436, 8791, 30, 46506, 1987, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694, 28955, 532, 19269, 9792, 12789, 10786, 4, 73, 3256, 3513, 13, 42487, 2435, 4008, 16034, 3513, 33411, 3513, 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 ]
What is the canadian air date when the US air date is 24 august 2012?
SELECT "Canadian air date" FROM table_74445 WHERE "US air date" = '24 August 2012'
[ 2061, 318, 262, 460, 18425, 1633, 3128, 618, 262, 1294, 1633, 3128, 318, 1987, 16339, 436, 2321, 30, 46506, 366, 28203, 1633, 3128, 1, 16034, 3084, 62, 22, 2598, 2231, 33411, 366, 2937, 1633, 3128, 1, 796, 705, 1731, 2932, 2321, 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, 460, 18425, 1633, 3128, 618, 262, 1294, 1633, 3128, 318, 1987, 16339, 436, 2321, 30, 46506, 366, 28203, 1633, 3128, 1, 16034, 3084, 62, 22, 2598, 2231, 33411, 366, 2937, 1633, 3128, 1, 796, 705, 1731, 2932, 2321, 6 ]
What city is University Gym (Gold Mine) in?
SELECT "City" FROM table_4672 WHERE "Venue" = 'university gym (gold mine)'
[ 2061, 1748, 318, 2059, 31187, 357, 13306, 11517, 8, 287, 30, 46506, 366, 14941, 1, 16034, 3084, 62, 24669, 17, 33411, 366, 37522, 518, 1, 796, 705, 403, 1608, 11550, 357, 24267, 6164, 33047 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1748, 318, 2059, 31187, 357, 13306, 11517, 8, 287, 30, 46506, 366, 14941, 1, 16034, 3084, 62, 24669, 17, 33411, 366, 37522, 518, 1, 796, 705, 403, 1608, 11550, 357, 24267, 6164, 33047 ]
what is days of hospital stay and admission location of subject name mary davis?
SELECT demographic.days_stay, demographic.admission_location FROM demographic WHERE demographic.name = "Mary Davis"
[ 10919, 318, 1528, 286, 4436, 2652, 290, 13938, 4067, 286, 2426, 1438, 285, 560, 288, 23401, 30, 46506, 16728, 13, 12545, 62, 31712, 11, 16728, 13, 324, 3411, 62, 24886, 16034, 16728, 33411, 16728, 13, 3672, 796, 366, 24119, 7802, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1528, 286, 4436, 2652, 290, 13938, 4067, 286, 2426, 1438, 285, 560, 288, 23401, 30, 46506, 16728, 13, 12545, 62, 31712, 11, 16728, 13, 324, 3411, 62, 24886, 16034, 16728, 33411, 16728, 13, 3672, 796, 366, 24119, 7802, 1 ]
What is the highest taijijian with a 9.87 taijiquan and a total less than 19.77?
SELECT MAX("Taijijian") FROM table_61890 WHERE "Taijiquan" = '9.87' AND "Total" < '19.77'
[ 2061, 318, 262, 4511, 256, 1872, 73, 2926, 666, 351, 257, 860, 13, 5774, 256, 1872, 73, 1557, 272, 290, 257, 2472, 1342, 621, 678, 13, 3324, 30, 46506, 25882, 7203, 47976, 73, 2926, 666, 4943, 16034, 3084, 62, 47448, 3829, 33411, 366, 47976, 73, 1557, 272, 1, 796, 705, 24, 13, 5774, 6, 5357, 366, 14957, 1, 1279, 705, 1129, 13, 3324, 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 ]
[ 2061, 318, 262, 4511, 256, 1872, 73, 2926, 666, 351, 257, 860, 13, 5774, 256, 1872, 73, 1557, 272, 290, 257, 2472, 1342, 621, 678, 13, 3324, 30, 46506, 25882, 7203, 47976, 73, 2926, 666, 4943, 16034, 3084, 62, 47448, 3829, 33411, 366, 47976, 73, 1557, 272, 1, 796, 705, 24, 13, 5774, 6, 5357, 366, 14957, 1, 1279, 705, 1129, 13, 3324, 6 ]
Which department offers the most credits all together?
SELECT T3.dept_name FROM course AS T1 JOIN class AS T2 ON T1.crs_code = T2.crs_code JOIN department AS T3 ON T1.dept_code = T3.dept_code GROUP BY T1.dept_code ORDER BY SUM(T1.crs_credit) DESC LIMIT 1
[ 13828, 5011, 4394, 262, 749, 10824, 477, 1978, 30, 46506, 309, 18, 13, 2934, 457, 62, 3672, 16034, 1781, 7054, 309, 16, 32357, 1268, 1398, 7054, 309, 17, 6177, 309, 16, 13, 66, 3808, 62, 8189, 796, 309, 17, 13, 66, 3808, 62, 8189, 32357, 1268, 5011, 7054, 309, 18, 6177, 309, 16, 13, 2934, 457, 62, 8189, 796, 309, 18, 13, 2934, 457, 62, 8189, 44441, 11050, 309, 16, 13, 2934, 457, 62, 8189, 38678, 11050, 35683, 7, 51, 16, 13, 66, 3808, 62, 43082, 8, 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 ]
[ 13828, 5011, 4394, 262, 749, 10824, 477, 1978, 30, 46506, 309, 18, 13, 2934, 457, 62, 3672, 16034, 1781, 7054, 309, 16, 32357, 1268, 1398, 7054, 309, 17, 6177, 309, 16, 13, 66, 3808, 62, 8189, 796, 309, 17, 13, 66, 3808, 62, 8189, 32357, 1268, 5011, 7054, 309, 18, 6177, 309, 16, 13, 2934, 457, 62, 8189, 796, 309, 18, 13, 2934, 457, 62, 8189, 44441, 11050, 309, 16, 13, 2934, 457, 62, 8189, 38678, 11050, 35683, 7, 51, 16, 13, 66, 3808, 62, 43082, 8, 22196, 34, 27564, 2043, 352 ]
How many dams are there in the Nome (CA) area?
SELECT MIN("# s Dam and GNIS query Link") FROM table_22055 WHERE "Borough or Census area" = 'Nome (CA)'
[ 2437, 867, 40907, 389, 612, 287, 262, 399, 462, 357, 8141, 8, 1989, 30, 46506, 20625, 7203, 2, 264, 5245, 290, 15484, 1797, 12405, 7502, 4943, 16034, 3084, 62, 17572, 2816, 33411, 366, 33, 7985, 393, 20962, 1989, 1, 796, 705, 45, 462, 357, 8141, 33047 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 40907, 389, 612, 287, 262, 399, 462, 357, 8141, 8, 1989, 30, 46506, 20625, 7203, 2, 264, 5245, 290, 15484, 1797, 12405, 7502, 4943, 16034, 3084, 62, 17572, 2816, 33411, 366, 33, 7985, 393, 20962, 1989, 1, 796, 705, 45, 462, 357, 8141, 33047 ]
what was the name of the procedure that's been performed to patient 78076 two or more times until 22 months ago?
SELECT d_icd_procedures.short_title FROM d_icd_procedures WHERE d_icd_procedures.icd9_code IN (SELECT t1.icd9_code FROM (SELECT procedures_icd.icd9_code, COUNT(procedures_icd.charttime) AS c1 FROM procedures_icd WHERE procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 78076) AND DATETIME(procedures_icd.charttime) <= DATETIME(CURRENT_TIME(), '-22 month') GROUP BY procedures_icd.icd9_code) AS t1 WHERE t1.c1 >= 2)
[ 10919, 373, 262, 1438, 286, 262, 8771, 326, 338, 587, 6157, 284, 5827, 41287, 4304, 734, 393, 517, 1661, 1566, 2534, 1933, 2084, 30, 46506, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 1676, 771, 942, 33411, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 291, 67, 24, 62, 8189, 3268, 357, 46506, 256, 16, 13, 291, 67, 24, 62, 8189, 16034, 357, 46506, 9021, 62, 291, 67, 13, 291, 67, 24, 62, 8189, 11, 327, 28270, 7, 1676, 771, 942, 62, 291, 67, 13, 40926, 2435, 8, 7054 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1438, 286, 262, 8771, 326, 338, 587, 6157, 284, 5827, 41287, 4304, 734, 393, 517, 1661, 1566, 2534, 1933, 2084, 30, 46506, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 1676, 771, 942, 33411, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 291, 67, 24, 62, 8189, 3268, 357, 46506, 256, 16, 13, 291, 67, 24, 62, 8189, 16034, 357, 46506, 9021, 62, 291, 67, 13, 291, 67, 24, 62, 8189, 11, 327, 28270, 7, 1676, 771, 942, 62, 291, 67, 13, 40926, 2435, 8, 7054 ]
Return the lot details of lots that belong to investors with details 'l', and count them by a bar chart
SELECT lot_details, COUNT(lot_details) FROM Investors AS T1 JOIN Lots AS T2 ON T1.investor_id = T2.investor_id WHERE T1.Investor_details = "l" GROUP BY lot_details
[ 13615, 262, 1256, 3307, 286, 6041, 326, 5594, 284, 7713, 351, 3307, 705, 75, 3256, 290, 954, 606, 416, 257, 2318, 8262, 46506, 1256, 62, 36604, 11, 327, 28270, 7, 26487, 62, 36604, 8, 16034, 38898, 7054, 309, 16, 32357, 1268, 25024, 7054, 309, 17, 6177, 309, 16, 13, 24859, 273, 62, 312, 796, 309, 17, 13, 24859, 273, 62, 312, 33411, 309, 16, 13, 19070, 273, 62, 36604, 796, 366, 75, 1, 44441, 11050, 1256, 62, 36604 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13615, 262, 1256, 3307, 286, 6041, 326, 5594, 284, 7713, 351, 3307, 705, 75, 3256, 290, 954, 606, 416, 257, 2318, 8262, 46506, 1256, 62, 36604, 11, 327, 28270, 7, 26487, 62, 36604, 8, 16034, 38898, 7054, 309, 16, 32357, 1268, 25024, 7054, 309, 17, 6177, 309, 16, 13, 24859, 273, 62, 312, 796, 309, 17, 13, 24859, 273, 62, 312, 33411, 309, 16, 13, 19070, 273, 62, 36604, 796, 366, 75, 1, 44441, 11050, 1256, 62, 36604 ]
What day did the race in 1974 take place on?
SELECT date FROM table_1963459_2 WHERE year = 1974
[ 2061, 1110, 750, 262, 3234, 287, 16489, 1011, 1295, 319, 30, 46506, 3128, 16034, 3084, 62, 45192, 33459, 62, 17, 33411, 614, 796, 16489 ]
[ 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, 750, 262, 3234, 287, 16489, 1011, 1295, 319, 30, 46506, 3128, 16034, 3084, 62, 45192, 33459, 62, 17, 33411, 614, 796, 16489 ]
for patients who took lingual thyroid excision since 6 years ago, what are the four most frequent procedures that were followed during the same month?
SELECT d_icd_procedures.short_title FROM d_icd_procedures WHERE d_icd_procedures.icd9_code IN (SELECT t3.icd9_code FROM (SELECT t2.icd9_code, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, procedures_icd.charttime FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'lingual thyroid excision') AND DATETIME(procedures_icd.charttime) >= DATETIME(CURRENT_TIME(), '-6 year')) AS t1 JOIN (SELECT admissions.subject_id, procedures_icd.icd9_code, procedures_icd.charttime FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE DATETIME(procedures_icd.charttime) >= DATETIME(CURRENT_TIME(), '-6 year')) AS t2 ON t1.subject_id = t2.subject_id WHERE t1.charttime < t2.charttime AND DATETIME(t1.charttime, 'start of month') = DATETIME(t2.charttime, 'start of month') GROUP BY t2.icd9_code) AS t3 WHERE t3.c1 <= 4)
[ 1640, 3871, 508, 1718, 18459, 723, 30523, 2859, 1166, 1201, 718, 812, 2084, 11, 644, 389, 262, 1440, 749, 10792, 9021, 326, 547, 3940, 1141, 262, 976, 1227, 30, 46506, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 1676, 771, 942, 33411, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 291, 67, 24, 62, 8189, 3268, 357, 46506, 256, 18, 13, 291, 67, 24, 62, 8189, 16034, 357, 46506, 256, 17, 13, 291, 67, 24, 62, 8189, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1640, 3871, 508, 1718, 18459, 723, 30523, 2859, 1166, 1201, 718, 812, 2084, 11, 644, 389, 262, 1440, 749, 10792, 9021, 326, 547, 3940, 1141, 262, 976, 1227, 30, 46506, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 1676, 771, 942, 33411, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 291, 67, 24, 62, 8189, 3268, 357, 46506, 256, 18, 13, 291, 67, 24, 62, 8189, 16034, 357, 46506, 256, 17, 13, 291, 67, 24, 62, 8189, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050 ]
what is the first original title listed on this chart ?
SELECT "original title" FROM table_204_91 WHERE id = 1
[ 10919, 318, 262, 717, 2656, 3670, 5610, 319, 428, 8262, 5633, 46506, 366, 14986, 3670, 1, 16034, 3084, 62, 18638, 62, 6420, 33411, 4686, 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 ]
[ 10919, 318, 262, 717, 2656, 3670, 5610, 319, 428, 8262, 5633, 46506, 366, 14986, 3670, 1, 16034, 3084, 62, 18638, 62, 6420, 33411, 4686, 796, 352 ]
had patient 83466 go through a excise lg intestine les the last year?
SELECT COUNT(*) > 0 FROM procedures_icd WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'excise lg intestine les') AND procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 83466) AND DATETIME(procedures_icd.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year')
[ 18108, 5827, 807, 2682, 2791, 467, 832, 257, 47547, 300, 70, 45426, 10287, 262, 938, 614, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 9021, 62, 291, 67, 33411, 9021, 62, 291, 67, 13, 291, 67, 24, 62, 8189, 796, 357, 46506, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 291, 67, 24, 62, 8189, 16034, 288, 62, 291, 67, 62, 1676, 771, 942, 33411, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 19509, 62, 7839, 796, 705, 1069, 37561, 300, 70, 45426, 10287, 11537, 5357, 9021, 62, 291, 67, 13, 18108, 76, 62, 312, 3268, 357 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 807, 2682, 2791, 467, 832, 257, 47547, 300, 70, 45426, 10287, 262, 938, 614, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 9021, 62, 291, 67, 33411, 9021, 62, 291, 67, 13, 291, 67, 24, 62, 8189, 796, 357, 46506, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 291, 67, 24, 62, 8189, 16034, 288, 62, 291, 67, 62, 1676, 771, 942, 33411, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 19509, 62, 7839, 796, 705, 1069, 37561, 300, 70, 45426, 10287, 11537, 5357, 9021, 62, 291, 67, 13, 18108, 76, 62, 312, 3268, 357 ]
what is the original airdate for shell shocked sheldon?
SELECT "Original Airdate" FROM table_22404 WHERE "U.S. Acres Episode" = 'Shell Shocked Sheldon'
[ 10919, 318, 262, 2656, 257, 1447, 378, 329, 7582, 11472, 673, 25900, 30, 46506, 366, 20556, 317, 1447, 378, 1, 16034, 3084, 62, 24137, 3023, 33411, 366, 52, 13, 50, 13, 4013, 411, 7922, 1, 796, 705, 23248, 911, 3543, 34536, 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 ]
[ 10919, 318, 262, 2656, 257, 1447, 378, 329, 7582, 11472, 673, 25900, 30, 46506, 366, 20556, 317, 1447, 378, 1, 16034, 3084, 62, 24137, 3023, 33411, 366, 52, 13, 50, 13, 4013, 411, 7922, 1, 796, 705, 23248, 911, 3543, 34536, 6 ]
Please show the countries and the number of climbers from each country.
SELECT Country, COUNT(*) FROM climber GROUP BY Country
[ 5492, 905, 262, 2678, 290, 262, 1271, 286, 39311, 422, 1123, 1499, 13, 46506, 12946, 11, 327, 28270, 7, 28104, 16034, 5424, 527, 44441, 11050, 12946 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5492, 905, 262, 2678, 290, 262, 1271, 286, 39311, 422, 1123, 1499, 13, 46506, 12946, 11, 327, 28270, 7, 28104, 16034, 5424, 527, 44441, 11050, 12946 ]
are already on or have a history of taking pioglitazone or rosiglitazone
SELECT * FROM table_train_12 WHERE taking_pioglitazone = 1 OR taking_rosiglitazone = 1
[ 533, 1541, 319, 393, 423, 257, 2106, 286, 2263, 31028, 519, 18250, 1031, 505, 393, 686, 82, 328, 18250, 1031, 505, 46506, 1635, 16034, 3084, 62, 27432, 62, 1065, 33411, 2263, 62, 14415, 519, 18250, 1031, 505, 796, 352, 6375, 2263, 62, 4951, 328, 18250, 1031, 505, 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 ]
[ 533, 1541, 319, 393, 423, 257, 2106, 286, 2263, 31028, 519, 18250, 1031, 505, 393, 686, 82, 328, 18250, 1031, 505, 46506, 1635, 16034, 3084, 62, 27432, 62, 1065, 33411, 2263, 62, 14415, 519, 18250, 1031, 505, 796, 352, 6375, 2263, 62, 4951, 328, 18250, 1031, 505, 796, 352 ]
Name the standard yarn weight system for 7 wpi
SELECT "Standard Yarn Weight System" FROM table_23647 WHERE "Wraps Per Inch (WPI)" = '7 wpi'
[ 5376, 262, 3210, 21181, 3463, 1080, 329, 767, 266, 14415, 46506, 366, 23615, 575, 1501, 14331, 4482, 1, 16034, 3084, 62, 1954, 33981, 33411, 366, 36918, 862, 2448, 554, 354, 357, 54, 11901, 16725, 796, 705, 22, 266, 14415, 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 ]
[ 5376, 262, 3210, 21181, 3463, 1080, 329, 767, 266, 14415, 46506, 366, 23615, 575, 1501, 14331, 4482, 1, 16034, 3084, 62, 1954, 33981, 33411, 366, 36918, 862, 2448, 554, 354, 357, 54, 11901, 16725, 796, 705, 22, 266, 14415, 6 ]
On what date/s has attendance been 45010?
SELECT "Date/Year" FROM table_24366 WHERE "Attendance" = '45010'
[ 2202, 644, 3128, 14, 82, 468, 14858, 587, 4153, 20943, 30, 46506, 366, 10430, 14, 17688, 1, 16034, 3084, 62, 1731, 32459, 33411, 366, 8086, 437, 590, 1, 796, 705, 2231, 20943, 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 ]
[ 2202, 644, 3128, 14, 82, 468, 14858, 587, 4153, 20943, 30, 46506, 366, 10430, 14, 17688, 1, 16034, 3084, 62, 1731, 32459, 33411, 366, 8086, 437, 590, 1, 796, 705, 2231, 20943, 6 ]
List all of the NLL Toronto Rock players.
SELECT player FROM table_18042409_1 WHERE national_lacrosse_league = "Toronto Rock"
[ 8053, 477, 286, 262, 399, 3069, 6586, 4631, 1938, 13, 46506, 2137, 16034, 3084, 62, 1507, 3023, 1731, 2931, 62, 16, 33411, 2260, 62, 75, 330, 39314, 62, 19316, 796, 366, 31359, 4631, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 477, 286, 262, 399, 3069, 6586, 4631, 1938, 13, 46506, 2137, 16034, 3084, 62, 1507, 3023, 1731, 2931, 62, 16, 33411, 2260, 62, 75, 330, 39314, 62, 19316, 796, 366, 31359, 4631, 1 ]
What is the score of the game with tie number 65?
SELECT "Score" FROM table_57580 WHERE "Tie no" = '65'
[ 2061, 318, 262, 4776, 286, 262, 983, 351, 9839, 1271, 6135, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 36189, 1795, 33411, 366, 51, 494, 645, 1, 796, 705, 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 ]
[ 2061, 318, 262, 4776, 286, 262, 983, 351, 9839, 1271, 6135, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 36189, 1795, 33411, 366, 51, 494, 645, 1, 796, 705, 2996, 6 ]
how many times is the fuel propulsion is cng?
SELECT COUNT(fleet_series__quantity_) FROM table_10007452_3 WHERE fuel_propulsion = "CNG"
[ 4919, 867, 1661, 318, 262, 5252, 38873, 318, 269, 782, 30, 46506, 327, 28270, 7, 33559, 62, 25076, 834, 40972, 414, 62, 8, 16034, 3084, 62, 12825, 22, 37730, 62, 18, 33411, 5252, 62, 22930, 15204, 796, 366, 34, 10503, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 318, 262, 5252, 38873, 318, 269, 782, 30, 46506, 327, 28270, 7, 33559, 62, 25076, 834, 40972, 414, 62, 8, 16034, 3084, 62, 12825, 22, 37730, 62, 18, 33411, 5252, 62, 22930, 15204, 796, 366, 34, 10503, 1 ]
Which tournament was runner-up paul annacone eric korita?
SELECT "Tournament" FROM table_31065 WHERE "Runner-up" = 'Paul Annacone Eric Korita'
[ 13828, 7756, 373, 17490, 12, 929, 279, 2518, 1529, 330, 505, 1931, 291, 479, 273, 5350, 30, 46506, 366, 51, 5138, 1, 16034, 3084, 62, 26717, 2996, 33411, 366, 49493, 12, 929, 1, 796, 705, 12041, 5506, 330, 505, 7651, 14769, 5350, 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 ]
[ 13828, 7756, 373, 17490, 12, 929, 279, 2518, 1529, 330, 505, 1931, 291, 479, 273, 5350, 30, 46506, 366, 51, 5138, 1, 16034, 3084, 62, 26717, 2996, 33411, 366, 49493, 12, 929, 1, 796, 705, 12041, 5506, 330, 505, 7651, 14769, 5350, 6 ]
When the away team scored 7.8 (50), what was the opposing teams score?
SELECT "Home team score" FROM table_53277 WHERE "Away team score" = '7.8 (50)'
[ 2215, 262, 1497, 1074, 7781, 767, 13, 23, 357, 1120, 828, 644, 373, 262, 12330, 3466, 4776, 30, 46506, 366, 16060, 1074, 4776, 1, 16034, 3084, 62, 4310, 27019, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 22, 13, 23, 357, 1120, 33047 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 262, 1497, 1074, 7781, 767, 13, 23, 357, 1120, 828, 644, 373, 262, 12330, 3466, 4776, 30, 46506, 366, 16060, 1074, 4776, 1, 16034, 3084, 62, 4310, 27019, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 22, 13, 23, 357, 1120, 33047 ]
Name the preliminary for north carolina
SELECT "Preliminary" FROM table_72916 WHERE "State" = 'North Carolina'
[ 5376, 262, 15223, 329, 5093, 1097, 47196, 46506, 366, 47, 2411, 38429, 1, 16034, 3084, 62, 48555, 1433, 33411, 366, 9012, 1, 796, 705, 14157, 5913, 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 ]
[ 5376, 262, 15223, 329, 5093, 1097, 47196, 46506, 366, 47, 2411, 38429, 1, 16034, 3084, 62, 48555, 1433, 33411, 366, 9012, 1, 796, 705, 14157, 5913, 6 ]