instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
sequence
attention_mask
sequence
labels
sequence
Which permanent account has registration of invite-only and userpics free of unknown?
SELECT permanent_account FROM table_name_46 WHERE userpics_free = "unknown" AND registration = "invite-only"
[ 13828, 7748, 1848, 468, 9352, 286, 14037, 12, 8807, 290, 2836, 79, 873, 1479, 286, 6439, 30, 46506, 7748, 62, 23317, 16034, 3084, 62, 3672, 62, 3510, 33411, 2836, 79, 873, 62, 5787, 796, 366, 34680, 1, 5357, 9352, 796, 366, 16340, 578, 12, 8807, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7748, 1848, 468, 9352, 286, 14037, 12, 8807, 290, 2836, 79, 873, 1479, 286, 6439, 30, 46506, 7748, 62, 23317, 16034, 3084, 62, 3672, 62, 3510, 33411, 2836, 79, 873, 62, 5787, 796, 366, 34680, 1, 5357, 9352, 796, 366, 16340, 578, 12, 8807, 1 ]
specify name and birthdate of patient id 2110
SELECT demographic.name, demographic.dob FROM demographic WHERE demographic.subject_id = "2110"
[ 16684, 1958, 1438, 290, 4082, 4475, 286, 5827, 4686, 2310, 940, 46506, 16728, 13, 3672, 11, 16728, 13, 67, 672, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 2481, 940, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16684, 1958, 1438, 290, 4082, 4475, 286, 5827, 4686, 2310, 940, 46506, 16728, 13, 3672, 11, 16728, 13, 67, 672, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 2481, 940, 1 ]
what is the number of patients whose admission type is newborn and ethnicity is black/cape verdean?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_type = "NEWBORN" AND demographic.ethnicity = "BLACK/CAPE VERDEAN"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 13938, 2099, 318, 23856, 290, 26289, 318, 2042, 14, 36435, 3326, 2934, 272, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, 4906, 796, 366, 13965, 33, 30649, 1, 5357, 16728, 13, 38546, 414, 796, 366, 9148, 8120, 14, 33177, 36, 33310, 7206, 1565, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 1271, 286, 3871, 3025, 13938, 2099, 318, 23856, 290, 26289, 318, 2042, 14, 36435, 3326, 2934, 272, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, 4906, 796, 366, 13965, 33, 30649, 1, 5357, 16728, 13, 38546, 414, 796, 366, 9148, 8120, 14, 33177, 36, 33310, 7206, 1565, 1 ]
What is the television network with the television channel of Astro Pelangi & Astro Bintang?
SELECT television_network FROM table_27469019_2 WHERE television_channel = "Astro Pelangi & Astro Bintang"
[ 2061, 318, 262, 5581, 3127, 351, 262, 5581, 6518, 286, 35167, 12903, 648, 72, 1222, 35167, 347, 600, 648, 30, 46506, 5581, 62, 27349, 16034, 3084, 62, 28857, 3388, 30484, 62, 17, 33411, 5581, 62, 17620, 796, 366, 32, 20661, 12903, 648, 72, 1222, 35167, 347, 600, 648, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5581, 3127, 351, 262, 5581, 6518, 286, 35167, 12903, 648, 72, 1222, 35167, 347, 600, 648, 30, 46506, 5581, 62, 27349, 16034, 3084, 62, 28857, 3388, 30484, 62, 17, 33411, 5581, 62, 17620, 796, 366, 32, 20661, 12903, 648, 72, 1222, 35167, 347, 600, 648, 1 ]
How many Heats have a Name of miguel molina?
SELECT COUNT("Heat") FROM table_64278 WHERE "Name" = 'miguel molina'
[ 2437, 867, 679, 1381, 423, 257, 6530, 286, 37011, 2731, 18605, 1437, 30, 46506, 327, 28270, 7203, 39596, 4943, 16034, 3084, 62, 2414, 25870, 33411, 366, 5376, 1, 796, 705, 76, 328, 2731, 18605, 1437, 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 ]
[ 2437, 867, 679, 1381, 423, 257, 6530, 286, 37011, 2731, 18605, 1437, 30, 46506, 327, 28270, 7203, 39596, 4943, 16034, 3084, 62, 2414, 25870, 33411, 366, 5376, 1, 796, 705, 76, 328, 2731, 18605, 1437, 6 ]
What number was there 6.01 million u.s. drivers?
SELECT "No. in season" FROM table_2894 WHERE "U.S. viewers (million)" = '6.01'
[ 2061, 1271, 373, 612, 718, 13, 486, 1510, 334, 13, 82, 13, 6643, 30, 46506, 366, 2949, 13, 287, 1622, 1, 16034, 3084, 62, 2078, 5824, 33411, 366, 52, 13, 50, 13, 10209, 357, 14100, 16725, 796, 705, 21, 13, 486, 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, 1271, 373, 612, 718, 13, 486, 1510, 334, 13, 82, 13, 6643, 30, 46506, 366, 2949, 13, 287, 1622, 1, 16034, 3084, 62, 2078, 5824, 33411, 366, 52, 13, 50, 13, 10209, 357, 14100, 16725, 796, 705, 21, 13, 486, 6 ]
For each payment method, how many payments were made. Show bar chart.
SELECT payment_method_code, COUNT(*) FROM Customer_Payments GROUP BY payment_method_code
[ 1890, 1123, 6074, 2446, 11, 703, 867, 7524, 547, 925, 13, 5438, 2318, 8262, 13, 46506, 6074, 62, 24396, 62, 8189, 11, 327, 28270, 7, 28104, 16034, 22092, 62, 19197, 902, 44441, 11050, 6074, 62, 24396, 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 ]
[ 1890, 1123, 6074, 2446, 11, 703, 867, 7524, 547, 925, 13, 5438, 2318, 8262, 13, 46506, 6074, 62, 24396, 62, 8189, 11, 327, 28270, 7, 28104, 16034, 22092, 62, 19197, 902, 44441, 11050, 6074, 62, 24396, 62, 8189 ]
what is the place when the event is 4000 m individual pursuit?
SELECT place FROM table_name_94 WHERE event = "4000 m individual pursuit"
[ 10919, 318, 262, 1295, 618, 262, 1785, 318, 30123, 285, 1981, 14748, 30, 46506, 1295, 16034, 3084, 62, 3672, 62, 5824, 33411, 1785, 796, 366, 27559, 285, 1981, 14748, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 1295, 618, 262, 1785, 318, 30123, 285, 1981, 14748, 30, 46506, 1295, 16034, 3084, 62, 3672, 62, 5824, 33411, 1785, 796, 366, 27559, 285, 1981, 14748, 1 ]
What is the Score of the Toronto Maple Leafs home game on February 1?
SELECT "Score" FROM table_69609 WHERE "Home" = 'toronto maple leafs' AND "Date" = 'february 1'
[ 2061, 318, 262, 15178, 286, 262, 6586, 21249, 25479, 1363, 983, 319, 3945, 352, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 3388, 31751, 33411, 366, 16060, 1, 796, 705, 13165, 5957, 31377, 12835, 82, 6, 5357, 366, 10430, 1, 796, 705, 69, 1765, 3728, 352, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 15178, 286, 262, 6586, 21249, 25479, 1363, 983, 319, 3945, 352, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 3388, 31751, 33411, 366, 16060, 1, 796, 705, 13165, 5957, 31377, 12835, 82, 6, 5357, 366, 10430, 1, 796, 705, 69, 1765, 3728, 352, 6 ]
List the number of instructors for each course in year 2008 with a bar chart, list in asc by the y axis.
SELECT title, COUNT(title) FROM course AS T1 JOIN teaches AS T2 ON T1.course_id = T2.course_id JOIN instructor AS T3 ON T2.ID = T3.ID WHERE year = 2008 GROUP BY title ORDER BY COUNT(title)
[ 8053, 262, 1271, 286, 33667, 329, 1123, 1781, 287, 614, 3648, 351, 257, 2318, 8262, 11, 1351, 287, 10570, 416, 262, 331, 16488, 13, 46506, 3670, 11, 327, 28270, 7, 7839, 8, 16034, 1781, 7054, 309, 16, 32357, 1268, 17324, 7054, 309, 17, 6177, 309, 16, 13, 17319, 62, 312, 796, 309, 17, 13, 17319, 62, 312, 32357, 1268, 21187, 7054, 309, 18, 6177, 309, 17, 13, 2389, 796, 309, 18, 13, 2389, 33411, 614, 796, 3648, 44441, 11050, 3670, 38678, 11050, 327, 28270, 7, 7839, 8 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8053, 262, 1271, 286, 33667, 329, 1123, 1781, 287, 614, 3648, 351, 257, 2318, 8262, 11, 1351, 287, 10570, 416, 262, 331, 16488, 13, 46506, 3670, 11, 327, 28270, 7, 7839, 8, 16034, 1781, 7054, 309, 16, 32357, 1268, 17324, 7054, 309, 17, 6177, 309, 16, 13, 17319, 62, 312, 796, 309, 17, 13, 17319, 62, 312, 32357, 1268, 21187, 7054, 309, 18, 6177, 309, 17, 13, 2389, 796, 309, 18, 13, 2389, 33411, 614, 796, 3648, 44441, 11050, 3670, 38678, 11050, 327, 28270, 7, 7839, 8 ]
What is the nationality of Christian Lefebvre?
SELECT "Nationality" FROM table_74271 WHERE "Player" = 'Christian Lefebvre'
[ 2061, 318, 262, 29835, 286, 4302, 406, 891, 1765, 43933, 30, 46506, 366, 16186, 414, 1, 16034, 3084, 62, 4524, 28977, 33411, 366, 14140, 1, 796, 705, 20298, 406, 891, 1765, 43933, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 29835, 286, 4302, 406, 891, 1765, 43933, 30, 46506, 366, 16186, 414, 1, 16034, 3084, 62, 4524, 28977, 33411, 366, 14140, 1, 796, 705, 20298, 406, 891, 1765, 43933, 6 ]
what's the name of a drug that patient 013-3028 was prescribed within the same hospital visit after being diagnosed with bacteremia in 09/2104?
SELECT t2.drugname FROM (SELECT patient.uniquepid, diagnosis.diagnosistime, patient.patienthealthsystemstayid FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '013-3028') AND diagnosis.diagnosisname = 'bacteremia' AND STRFTIME('%y-%m', diagnosis.diagnosistime) = '2104-09') AS t1 JOIN (SELECT patient.uniquepid, medication.drugname, medication.drugstarttime, patient.patienthealthsystemstayid FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '013-3028') AND STRFTIME('%y-%m', medication.drugstarttime) = '2104-09') AS t2 ON t1.uniquepid = t2.uniquepid WHERE t1.diagnosistime < t2.drugstarttime AND t1.patienthealthsystemstayid = t2.patienthealthsystemstayid
[ 10919, 338, 262, 1438, 286, 257, 2563, 326, 5827, 5534, 18, 12, 1270, 2078, 373, 14798, 1626, 262, 976, 4436, 3187, 706, 852, 14641, 351, 275, 529, 567, 20730, 287, 7769, 14, 17, 13464, 30, 46506, 256, 17, 13, 30349, 3672, 16034, 357, 46506, 5827, 13, 403, 1557, 538, 312, 11, 13669, 13, 47356, 418, 396, 524, 11, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 13669, 32357, 1268, 5827, 6177, 13669, 13, 26029, 20850, 31712, 312, 796, 5827, 13, 26029, 20850, 31712, 312, 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, 30273, 12, 1270, 2078, 11537, 5357, 13669, 13, 47356, 5958, 3672, 796, 705, 65, 529, 567, 20730, 6, 5357, 19269, 9792, 12789, 10786, 4, 88, 12, 4, 76, 3256, 13669, 13, 47356, 418, 396, 524, 8, 796, 705, 17, 13464, 12, 2931, 11537, 7054, 256, 16, 32357, 1268, 357, 46506, 5827, 13, 403, 1557, 538, 312, 11, 14103, 13, 30349, 3672, 11, 14103, 13, 30349, 9688, 2435, 11, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 14103, 32357, 1268, 5827, 6177, 14103, 13, 26029, 20850, 31712, 312, 796, 5827, 13, 26029, 20850, 31712, 312, 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, 30273, 12, 1270, 2078, 11537, 5357, 19269, 9792, 12789, 10786, 4, 88, 12, 4, 76, 3256, 14103, 13, 30349, 9688, 2435, 8, 796, 705, 17, 13464, 12, 2931, 11537, 7054, 256, 17, 6177, 256, 16, 13, 403, 1557, 538, 312, 796, 256, 17, 13, 403, 1557, 538, 312, 33411, 256, 16, 13, 47356, 418, 396, 524, 1279, 256, 17, 13, 30349, 9688, 2435, 5357, 256, 16, 13, 26029, 13948, 10057, 31712, 312, 796, 256, 17, 13, 26029, 13948, 10057, 31712, 312 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1438, 286, 257, 2563, 326, 5827, 5534, 18, 12, 1270, 2078, 373, 14798, 1626, 262, 976, 4436, 3187, 706, 852, 14641, 351, 275, 529, 567, 20730, 287, 7769, 14, 17, 13464, 30, 46506, 256, 17, 13, 30349, 3672, 16034, 357, 46506, 5827, 13, 403, 1557, 538, 312, 11, 13669, 13, 47356, 418, 396, 524, 11, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 13669, 32357, 1268, 5827, 6177, 13669, 13, 26029, 20850, 31712, 312, 796, 5827, 13, 26029, 20850, 31712, 312, 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, 30273, 12, 1270, 2078, 11537, 5357, 13669, 13, 47356, 5958, 3672, 796, 705, 65, 529, 567, 20730, 6, 5357, 19269, 9792, 12789, 10786, 4, 88, 12, 4, 76, 3256, 13669, 13, 47356, 418, 396, 524, 8, 796, 705, 17, 13464, 12, 2931, 11537, 7054, 256, 16, 32357, 1268, 357, 46506, 5827, 13, 403, 1557, 538, 312, 11, 14103, 13, 30349, 3672, 11, 14103, 13, 30349, 9688, 2435, 11, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 14103, 32357, 1268, 5827, 6177, 14103, 13, 26029, 20850, 31712, 312, 796, 5827, 13, 26029, 20850, 31712, 312, 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, 30273, 12, 1270, 2078, 11537, 5357, 19269, 9792, 12789, 10786, 4, 88, 12, 4, 76, 3256, 14103, 13, 30349, 9688, 2435, 8, 796, 705, 17, 13464, 12, 2931, 11537, 7054, 256, 17, 6177, 256, 16, 13, 403, 1557, 538, 312, 796, 256, 17, 13, 403, 1557, 538, 312, 33411, 256, 16, 13, 47356, 418, 396, 524, 1279, 256, 17, 13, 30349, 9688, 2435, 5357, 256, 16, 13, 26029, 13948, 10057, 31712, 312, 796, 256, 17, 13, 26029, 13948, 10057, 31712, 312 ]
does EA fly between BOSTON and WASHINGTON
SELECT DISTINCT airline.airline_code FROM airline, airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE ((flight.airline_code = 'EA') AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'WASHINGTON' AND flight.to_airport = AIRPORT_SERVICE_1.airport_code) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'BOSTON' AND flight.airline_code = airline.airline_code AND flight.from_airport = AIRPORT_SERVICE_0.airport_code
[ 22437, 19814, 6129, 1022, 347, 10892, 1340, 290, 370, 19436, 46506, 360, 8808, 1268, 4177, 18091, 13, 958, 1370, 62, 8189, 16034, 18091, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 16, 11, 1748, 7054, 27993, 62, 15, 11, 1748, 7054, 27993, 62, 16, 11, 5474, 33411, 14808, 22560, 13, 958, 1370, 62, 8189, 796, 705, 16412, 11537, 5357, 27993, 62, 16, 13, 19205, 62, 8189, 796, 31600, 15490, 62, 35009, 27389, 62, 16, 13, 19205, 62, 8189, 5357, 27993, 62, 16, 13, 19205, 62, 3672, 796, 705, 21793, 6, 5357, 5474, 13, 1462, 62, 958, 634, 796, 31600, 15490, 62, 35009, 27389, 62, 16, 13, 958, 634, 62, 8189, 8, 5357, 27993, 62, 15, 13, 19205, 62, 8189, 796, 31600, 15490, 62, 35009, 27389, 62, 15, 13, 19205, 62, 8189, 5357, 27993, 62, 15, 13, 19205, 62, 3672, 796, 705, 8202, 41924, 6, 5357, 5474, 13, 958, 1370, 62, 8189, 796, 18091, 13, 958, 1370, 62, 8189, 5357, 5474, 13, 6738, 62, 958, 634, 796, 31600, 15490, 62, 35009, 27389, 62, 15, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 22437, 19814, 6129, 1022, 347, 10892, 1340, 290, 370, 19436, 46506, 360, 8808, 1268, 4177, 18091, 13, 958, 1370, 62, 8189, 16034, 18091, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 16, 11, 1748, 7054, 27993, 62, 15, 11, 1748, 7054, 27993, 62, 16, 11, 5474, 33411, 14808, 22560, 13, 958, 1370, 62, 8189, 796, 705, 16412, 11537, 5357, 27993, 62, 16, 13, 19205, 62, 8189, 796, 31600, 15490, 62, 35009, 27389, 62, 16, 13, 19205, 62, 8189, 5357, 27993, 62, 16, 13, 19205, 62, 3672, 796, 705, 21793, 6, 5357, 5474, 13, 1462, 62, 958, 634, 796, 31600, 15490, 62, 35009, 27389, 62, 16, 13, 958, 634, 62, 8189, 8, 5357, 27993, 62, 15, 13, 19205, 62, 8189, 796, 31600, 15490, 62, 35009, 27389, 62, 15, 13, 19205, 62, 8189, 5357, 27993, 62, 15, 13, 19205, 62, 3672, 796, 705, 8202, 41924, 6, 5357, 5474, 13, 958, 1370, 62, 8189, 796, 18091, 13, 958, 1370, 62, 8189, 5357, 5474, 13, 6738, 62, 958, 634, 796, 31600, 15490, 62, 35009, 27389, 62, 15, 13, 958, 634, 62, 8189 ]
What is the car number for driver H lio Castroneves
SELECT MIN(car_no) FROM table_17330069_1 WHERE driver = "Hélio Castroneves"
[ 2061, 318, 262, 1097, 1271, 329, 4639, 367, 300, 952, 5833, 33171, 1158, 46506, 20625, 7, 7718, 62, 3919, 8, 16034, 3084, 62, 1558, 2091, 405, 3388, 62, 16, 33411, 4639, 796, 366, 39, 2634, 48590, 5833, 33171, 1158, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1097, 1271, 329, 4639, 367, 300, 952, 5833, 33171, 1158, 46506, 20625, 7, 7718, 62, 3919, 8, 16034, 3084, 62, 1558, 2091, 405, 3388, 62, 16, 33411, 4639, 796, 366, 39, 2634, 48590, 5833, 33171, 1158, 1 ]
For all employees who have the letters D or S in their first name, return a scatter chart about the correlation between employee_id and department_id .
SELECT EMPLOYEE_ID, DEPARTMENT_ID FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%'
[ 1890, 477, 4409, 508, 423, 262, 7475, 360, 393, 311, 287, 511, 717, 1438, 11, 1441, 257, 41058, 8262, 546, 262, 16096, 1022, 6538, 62, 312, 290, 5011, 62, 312, 764, 46506, 17228, 6489, 21414, 6500, 62, 2389, 11, 5550, 30709, 10979, 62, 2389, 16034, 4409, 33411, 31328, 62, 20608, 34178, 705, 4, 35, 4, 6, 6375, 31328, 62, 20608, 34178, 705, 4, 50, 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 ]
[ 1890, 477, 4409, 508, 423, 262, 7475, 360, 393, 311, 287, 511, 717, 1438, 11, 1441, 257, 41058, 8262, 546, 262, 16096, 1022, 6538, 62, 312, 290, 5011, 62, 312, 764, 46506, 17228, 6489, 21414, 6500, 62, 2389, 11, 5550, 30709, 10979, 62, 2389, 16034, 4409, 33411, 31328, 62, 20608, 34178, 705, 4, 35, 4, 6, 6375, 31328, 62, 20608, 34178, 705, 4, 50, 4, 6 ]
What is the least amount of points when there is 1 win?
SELECT MIN("Points") FROM table_67965 WHERE "Wins" = '1'
[ 2061, 318, 262, 1551, 2033, 286, 2173, 618, 612, 318, 352, 1592, 30, 46506, 20625, 7203, 40710, 4943, 16034, 3084, 62, 37601, 2996, 33411, 366, 54, 1040, 1, 796, 705, 16, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1551, 2033, 286, 2173, 618, 612, 318, 352, 1592, 30, 46506, 20625, 7203, 40710, 4943, 16034, 3084, 62, 37601, 2996, 33411, 366, 54, 1040, 1, 796, 705, 16, 6 ]
How many items appear in the population 2011 column for the kr edin settlement?
SELECT COUNT(population__2011_) FROM table_2562572_54 WHERE settlement = "Krčedin"
[ 2437, 867, 3709, 1656, 287, 262, 3265, 2813, 5721, 329, 262, 479, 81, 1225, 259, 9443, 30, 46506, 327, 28270, 7, 39748, 834, 9804, 62, 8, 16034, 3084, 62, 11645, 1495, 4761, 62, 4051, 33411, 9443, 796, 366, 42, 81, 46195, 27152, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3709, 1656, 287, 262, 3265, 2813, 5721, 329, 262, 479, 81, 1225, 259, 9443, 30, 46506, 327, 28270, 7, 39748, 834, 9804, 62, 8, 16034, 3084, 62, 11645, 1495, 4761, 62, 4051, 33411, 9443, 796, 366, 42, 81, 46195, 27152, 1 ]
Bar graph to show minimal enr from different cname, order by the Y-axis in descending please.
SELECT cName, MIN(enr) FROM College GROUP BY state ORDER BY MIN(enr) DESC
[ 10374, 4823, 284, 905, 10926, 551, 81, 422, 1180, 269, 3672, 11, 1502, 416, 262, 575, 12, 22704, 287, 31491, 3387, 13, 46506, 269, 5376, 11, 20625, 7, 268, 81, 8, 16034, 5535, 44441, 11050, 1181, 38678, 11050, 20625, 7, 268, 81, 8, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10374, 4823, 284, 905, 10926, 551, 81, 422, 1180, 269, 3672, 11, 1502, 416, 262, 575, 12, 22704, 287, 31491, 3387, 13, 46506, 269, 5376, 11, 20625, 7, 268, 81, 8, 16034, 5535, 44441, 11050, 1181, 38678, 11050, 20625, 7, 268, 81, 8, 22196, 34 ]
How many byes were there with an Against of 1655 and more than 10 wins?
SELECT MIN(byes) FROM table_name_51 WHERE against = 1655 AND wins > 10
[ 2437, 867, 416, 274, 547, 612, 351, 281, 12914, 286, 1467, 2816, 290, 517, 621, 838, 7864, 30, 46506, 20625, 7, 1525, 274, 8, 16034, 3084, 62, 3672, 62, 4349, 33411, 1028, 796, 1467, 2816, 5357, 7864, 1875, 838 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 416, 274, 547, 612, 351, 281, 12914, 286, 1467, 2816, 290, 517, 621, 838, 7864, 30, 46506, 20625, 7, 1525, 274, 8, 16034, 3084, 62, 3672, 62, 4349, 33411, 1028, 796, 1467, 2816, 5357, 7864, 1875, 838 ]
what is the number of patients who had non-invasive mechanical ventilation procedure?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE procedures.long_title = "Non-invasive mechanical ventilation"
[ 10919, 318, 262, 1271, 286, 3871, 508, 550, 1729, 12, 259, 23747, 12370, 34834, 8771, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, 13, 18108, 76, 62, 312, 796, 9021, 13, 18108, 76, 62, 312, 33411, 9021, 13, 6511, 62, 7839, 796, 366, 15419, 12, 259, 23747, 12370, 34834, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 1271, 286, 3871, 508, 550, 1729, 12, 259, 23747, 12370, 34834, 8771, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, 13, 18108, 76, 62, 312, 796, 9021, 13, 18108, 76, 62, 312, 33411, 9021, 13, 6511, 62, 7839, 796, 366, 15419, 12, 259, 23747, 12370, 34834, 1 ]
When the Surface was Carpet (i), what was the Outcome?
SELECT outcome FROM table_name_11 WHERE surface = "carpet (i)"
[ 2215, 262, 20321, 373, 1879, 6449, 357, 72, 828, 644, 373, 262, 3806, 2958, 30, 46506, 8055, 16034, 3084, 62, 3672, 62, 1157, 33411, 4417, 796, 366, 66, 5117, 316, 357, 72, 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 ]
[ 2215, 262, 20321, 373, 1879, 6449, 357, 72, 828, 644, 373, 262, 3806, 2958, 30, 46506, 8055, 16034, 3084, 62, 3672, 62, 1157, 33411, 4417, 796, 366, 66, 5117, 316, 357, 72, 16725 ]
Find the name and college of students whose decisions are yes in the tryout.
SELECT T1.pName, T2.cName FROM player AS T1 JOIN tryout AS T2 ON T1.pID = T2.pID WHERE T2.decision = 'yes'
[ 16742, 262, 1438, 290, 4152, 286, 2444, 3025, 5370, 389, 3763, 287, 262, 1949, 448, 13, 46506, 309, 16, 13, 79, 5376, 11, 309, 17, 13, 66, 5376, 16034, 2137, 7054, 309, 16, 32357, 1268, 1949, 448, 7054, 309, 17, 6177, 309, 16, 13, 79, 2389, 796, 309, 17, 13, 79, 2389, 33411, 309, 17, 13, 12501, 1166, 796, 705, 8505, 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 ]
[ 16742, 262, 1438, 290, 4152, 286, 2444, 3025, 5370, 389, 3763, 287, 262, 1949, 448, 13, 46506, 309, 16, 13, 79, 5376, 11, 309, 17, 13, 66, 5376, 16034, 2137, 7054, 309, 16, 32357, 1268, 1949, 448, 7054, 309, 17, 6177, 309, 16, 13, 79, 2389, 796, 309, 17, 13, 79, 2389, 33411, 309, 17, 13, 12501, 1166, 796, 705, 8505, 6 ]
Which city has a resolution that is negotiated exile in Austria?
SELECT "City" FROM table_22246 WHERE "Resolution" = 'Negotiated exile in Austria'
[ 13828, 1748, 468, 257, 6323, 326, 318, 22368, 24329, 287, 17322, 30, 46506, 366, 14941, 1, 16034, 3084, 62, 1828, 26912, 33411, 366, 4965, 2122, 1, 796, 705, 32863, 5092, 515, 24329, 287, 17322, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 1748, 468, 257, 6323, 326, 318, 22368, 24329, 287, 17322, 30, 46506, 366, 14941, 1, 16034, 3084, 62, 1828, 26912, 33411, 366, 4965, 2122, 1, 796, 705, 32863, 5092, 515, 24329, 287, 17322, 6 ]
Your RANK on STACKOVERFLOW.COM Worldwide,in india,in Pune.
SELECT d.RANK AS RANK_INDIA FROM (SELECT *, ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS RANK FROM Users WHERE LOWER(Location) LIKE '%india%') AS d WHERE d.Id = 1288725
[ 7120, 371, 15154, 319, 3563, 8120, 41983, 3697, 3913, 13, 9858, 33140, 11, 259, 773, 544, 11, 259, 350, 1726, 13, 46506, 288, 13, 49, 15154, 7054, 371, 15154, 62, 12115, 3539, 16034, 357, 46506, 1635, 11, 371, 3913, 62, 41359, 13246, 3419, 28729, 357, 12532, 1137, 11050, 1432, 7094, 22196, 34, 8, 7054, 371, 15154, 16034, 18987, 33411, 406, 36048, 7, 14749, 8, 34178, 705, 4, 521, 544, 4, 11537, 7054, 288, 33411, 288, 13, 7390, 796, 1105, 3459, 45151 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 7120, 371, 15154, 319, 3563, 8120, 41983, 3697, 3913, 13, 9858, 33140, 11, 259, 773, 544, 11, 259, 350, 1726, 13, 46506, 288, 13, 49, 15154, 7054, 371, 15154, 62, 12115, 3539, 16034, 357, 46506, 1635, 11, 371, 3913, 62, 41359, 13246, 3419, 28729, 357, 12532, 1137, 11050, 1432, 7094, 22196, 34, 8, 7054, 371, 15154, 16034, 18987, 33411, 406, 36048, 7, 14749, 8, 34178, 705, 4, 521, 544, 4, 11537, 7054, 288, 33411, 288, 13, 7390, 796, 1105, 3459, 45151 ]
What title did George Fury win when on the Oran Park Raceway?
SELECT race_title FROM table_name_6 WHERE winner = "george fury" AND circuit = "oran park raceway"
[ 2061, 3670, 750, 4502, 18427, 1592, 618, 319, 262, 1471, 272, 3250, 24746, 16172, 30, 46506, 3234, 62, 7839, 16034, 3084, 62, 3672, 62, 21, 33411, 8464, 796, 366, 469, 3643, 26206, 1, 5357, 10349, 796, 366, 31884, 3952, 3444, 16172, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3670, 750, 4502, 18427, 1592, 618, 319, 262, 1471, 272, 3250, 24746, 16172, 30, 46506, 3234, 62, 7839, 16034, 3084, 62, 3672, 62, 21, 33411, 8464, 796, 366, 469, 3643, 26206, 1, 5357, 10349, 796, 366, 31884, 3952, 3444, 16172, 1 ]
I want the outgoing manager for craig brewster
SELECT outgoing_manager FROM table_name_40 WHERE replaced_by = "craig brewster"
[ 40, 765, 262, 28181, 4706, 329, 15671, 328, 9059, 1706, 46506, 28181, 62, 37153, 16034, 3084, 62, 3672, 62, 1821, 33411, 6928, 62, 1525, 796, 366, 66, 430, 328, 9059, 1706, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 765, 262, 28181, 4706, 329, 15671, 328, 9059, 1706, 46506, 28181, 62, 37153, 16034, 3084, 62, 3672, 62, 1821, 33411, 6928, 62, 1525, 796, 366, 66, 430, 328, 9059, 1706, 1 ]
Which goverment had a party of yisrael beiteinu?
SELECT governments FROM table_name_60 WHERE party = "yisrael beiteinu"
[ 13828, 467, 332, 434, 550, 257, 2151, 286, 331, 271, 2510, 307, 578, 259, 84, 30, 46506, 6905, 16034, 3084, 62, 3672, 62, 1899, 33411, 2151, 796, 366, 88, 271, 2510, 307, 578, 259, 84, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 467, 332, 434, 550, 257, 2151, 286, 331, 271, 2510, 307, 578, 259, 84, 30, 46506, 6905, 16034, 3084, 62, 3672, 62, 1899, 33411, 2151, 796, 366, 88, 271, 2510, 307, 578, 259, 84, 1 ]
how many patients in 2100 were prescribed potassium chloride after cultures during the same month?
SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, treatment.treatmenttime FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'cultures' AND STRFTIME('%y', treatment.treatmenttime) = '2100') AS t1 JOIN (SELECT patient.uniquepid, medication.drugstarttime FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid WHERE medication.drugname = 'potassium chloride' AND STRFTIME('%y', medication.drugstarttime) = '2100') AS t2 WHERE t1.treatmenttime < t2.drugstarttime AND DATETIME(t1.treatmenttime, 'start of month') = DATETIME(t2.drugstarttime, 'start of month')
[ 4919, 867, 3871, 287, 38123, 547, 14798, 33156, 44921, 706, 13817, 1141, 262, 976, 1227, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 403, 1557, 538, 312, 8, 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, 312, 33411, 3513, 13, 42487, 3672, 796, 705, 40820, 942, 6, 5357, 19269, 9792, 12789, 10786, 4, 88, 3256, 3513, 13, 42487, 2435, 8, 796, 705, 2481, 405, 11537, 7054, 256, 16, 32357, 1268, 357, 46506, 5827, 13, 403, 1557, 538, 312, 11, 14103, 13, 30349, 9688, 2435, 16034, 14103, 32357, 1268, 5827, 6177, 14103, 13, 26029, 20850, 31712, 312, 796, 5827, 13, 26029, 20850, 31712, 312, 33411, 14103, 13, 30349, 3672, 796, 705, 13059, 26663, 44921, 6, 5357, 19269, 9792, 12789, 10786, 4, 88, 3256, 14103, 13, 30349, 9688, 2435, 8, 796, 705, 2481, 405, 11537, 7054, 256, 17, 33411, 256, 16, 13, 42487, 2435, 1279, 256, 17, 13, 30349, 9688, 2435, 5357, 360, 1404, 2767, 12789, 7, 83, 16, 13, 42487, 2435, 11, 705, 9688, 286, 1227, 11537, 796, 360, 1404, 2767, 12789, 7, 83, 17, 13, 30349, 9688, 2435, 11, 705, 9688, 286, 1227, 11537 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 3871, 287, 38123, 547, 14798, 33156, 44921, 706, 13817, 1141, 262, 976, 1227, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 403, 1557, 538, 312, 8, 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, 312, 33411, 3513, 13, 42487, 3672, 796, 705, 40820, 942, 6, 5357, 19269, 9792, 12789, 10786, 4, 88, 3256, 3513, 13, 42487, 2435, 8, 796, 705, 2481, 405, 11537, 7054, 256, 16, 32357, 1268, 357, 46506, 5827, 13, 403, 1557, 538, 312, 11, 14103, 13, 30349, 9688, 2435, 16034, 14103, 32357, 1268, 5827, 6177, 14103, 13, 26029, 20850, 31712, 312, 796, 5827, 13, 26029, 20850, 31712, 312, 33411, 14103, 13, 30349, 3672, 796, 705, 13059, 26663, 44921, 6, 5357, 19269, 9792, 12789, 10786, 4, 88, 3256, 14103, 13, 30349, 9688, 2435, 8, 796, 705, 2481, 405, 11537, 7054, 256, 17, 33411, 256, 16, 13, 42487, 2435, 1279, 256, 17, 13, 30349, 9688, 2435, 5357, 360, 1404, 2767, 12789, 7, 83, 16, 13, 42487, 2435, 11, 705, 9688, 286, 1227, 11537, 796, 360, 1404, 2767, 12789, 7, 83, 17, 13, 30349, 9688, 2435, 11, 705, 9688, 286, 1227, 11537 ]
How many games drawn for the team that had 72 goals for?
SELECT MAX(drawn) FROM table_17357929_1 WHERE goals_for = 72
[ 2437, 867, 1830, 7428, 329, 262, 1074, 326, 550, 7724, 4661, 329, 30, 46506, 25882, 7, 41549, 8, 16034, 3084, 62, 1558, 2327, 3720, 1959, 62, 16, 33411, 4661, 62, 1640, 796, 7724 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1830, 7428, 329, 262, 1074, 326, 550, 7724, 4661, 329, 30, 46506, 25882, 7, 41549, 8, 16034, 3084, 62, 1558, 2327, 3720, 1959, 62, 16, 33411, 4661, 62, 1640, 796, 7724 ]
Give me a histogram for what are the naems of all the projects, and how many scientists were assigned to each of them?, I want to list names in desc order.
SELECT Name, COUNT(*) FROM Projects AS T1 JOIN AssignedTo AS T2 ON T1.Code = T2.Project GROUP BY T1.Name ORDER BY Name DESC
[ 23318, 502, 257, 1554, 21857, 329, 644, 389, 262, 12385, 5232, 286, 477, 262, 4493, 11, 290, 703, 867, 5519, 547, 8686, 284, 1123, 286, 606, 21747, 314, 765, 284, 1351, 3891, 287, 1715, 1502, 13, 46506, 6530, 11, 327, 28270, 7, 28104, 16034, 29898, 7054, 309, 16, 32357, 1268, 2195, 3916, 2514, 7054, 309, 17, 6177, 309, 16, 13, 10669, 796, 309, 17, 13, 16775, 44441, 11050, 309, 16, 13, 5376, 38678, 11050, 6530, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 23318, 502, 257, 1554, 21857, 329, 644, 389, 262, 12385, 5232, 286, 477, 262, 4493, 11, 290, 703, 867, 5519, 547, 8686, 284, 1123, 286, 606, 21747, 314, 765, 284, 1351, 3891, 287, 1715, 1502, 13, 46506, 6530, 11, 327, 28270, 7, 28104, 16034, 29898, 7054, 309, 16, 32357, 1268, 2195, 3916, 2514, 7054, 309, 17, 6177, 309, 16, 13, 10669, 796, 309, 17, 13, 16775, 44441, 11050, 309, 16, 13, 5376, 38678, 11050, 6530, 22196, 34 ]
What is the smallest silver that has a bronze less than 0?
SELECT MIN(silver) FROM table_name_34 WHERE bronze < 0
[ 2061, 318, 262, 18197, 8465, 326, 468, 257, 22101, 1342, 621, 657, 30, 46506, 20625, 7, 40503, 8, 16034, 3084, 62, 3672, 62, 2682, 33411, 22101, 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 ]
[ 2061, 318, 262, 18197, 8465, 326, 468, 257, 22101, 1342, 621, 657, 30, 46506, 20625, 7, 40503, 8, 16034, 3084, 62, 3672, 62, 2682, 33411, 22101, 1279, 657 ]
Show me a bar chart for what are the ids and details for all organizations that have grants of more than 6000 dollars?, list from high to low by the x axis.
SELECT T2.organisation_details, T1.organisation_id FROM Grants AS T1 JOIN Organisations AS T2 ON T1.organisation_id = T2.organisation_id GROUP BY T2.organisation_details ORDER BY T2.organisation_details DESC
[ 15307, 502, 257, 2318, 8262, 329, 644, 389, 262, 220, 2340, 290, 3307, 329, 477, 5745, 326, 423, 11455, 286, 517, 621, 39064, 5054, 21747, 1351, 422, 1029, 284, 1877, 416, 262, 2124, 16488, 13, 46506, 309, 17, 13, 9971, 5612, 62, 36604, 11, 309, 16, 13, 9971, 5612, 62, 312, 16034, 40535, 7054, 309, 16, 32357, 1268, 7221, 38189, 7054, 309, 17, 6177, 309, 16, 13, 9971, 5612, 62, 312, 796, 309, 17, 13, 9971, 5612, 62, 312, 44441, 11050, 309, 17, 13, 9971, 5612, 62, 36604, 38678, 11050, 309, 17, 13, 9971, 5612, 62, 36604, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 502, 257, 2318, 8262, 329, 644, 389, 262, 220, 2340, 290, 3307, 329, 477, 5745, 326, 423, 11455, 286, 517, 621, 39064, 5054, 21747, 1351, 422, 1029, 284, 1877, 416, 262, 2124, 16488, 13, 46506, 309, 17, 13, 9971, 5612, 62, 36604, 11, 309, 16, 13, 9971, 5612, 62, 312, 16034, 40535, 7054, 309, 16, 32357, 1268, 7221, 38189, 7054, 309, 17, 6177, 309, 16, 13, 9971, 5612, 62, 312, 796, 309, 17, 13, 9971, 5612, 62, 312, 44441, 11050, 309, 17, 13, 9971, 5612, 62, 36604, 38678, 11050, 309, 17, 13, 9971, 5612, 62, 36604, 22196, 34 ]
Longest answers by approximate word count..
SELECT Id AS "post_link", OwnerUserId AS "user_link", LENGTH(Body) - LENGTH(REPLACE(Body, ' ', '')) - 2 * (LENGTH(Body) - LENGTH(REPLACE(Body, ' ', ''))) AS ApproxWords, LastActivityDate AS "last_activity_date" FROM Posts WHERE PostTypeId = 2 AND OwnerUserId = '##UserID##' ORDER BY ApproxWords DESC LIMIT 1000
[ 14617, 395, 7429, 416, 27665, 1573, 954, 492, 46506, 5121, 7054, 366, 7353, 62, 8726, 1600, 23853, 12982, 7390, 7054, 366, 7220, 62, 8726, 1600, 406, 49494, 7, 25842, 8, 532, 406, 49494, 7, 2200, 6489, 11598, 7, 25842, 11, 705, 46083, 10148, 4008, 532, 362, 1635, 357, 43, 49494, 7, 25842, 8, 532, 406, 49494, 7, 2200, 6489, 11598, 7, 25842, 11, 705, 46083, 10148, 22305, 7054, 2034, 13907, 37117, 11, 4586, 16516, 10430, 7054, 366, 12957, 62, 21797, 62, 4475, 1, 16034, 12043, 33411, 2947, 6030, 7390, 796, 362, 5357, 23853, 12982, 7390, 796, 705, 2235, 12982, 2389, 2235, 6, 38678, 11050, 2034, 13907, 37117, 22196, 34, 27564, 2043, 8576 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 14617, 395, 7429, 416, 27665, 1573, 954, 492, 46506, 5121, 7054, 366, 7353, 62, 8726, 1600, 23853, 12982, 7390, 7054, 366, 7220, 62, 8726, 1600, 406, 49494, 7, 25842, 8, 532, 406, 49494, 7, 2200, 6489, 11598, 7, 25842, 11, 705, 46083, 10148, 4008, 532, 362, 1635, 357, 43, 49494, 7, 25842, 8, 532, 406, 49494, 7, 2200, 6489, 11598, 7, 25842, 11, 705, 46083, 10148, 22305, 7054, 2034, 13907, 37117, 11, 4586, 16516, 10430, 7054, 366, 12957, 62, 21797, 62, 4475, 1, 16034, 12043, 33411, 2947, 6030, 7390, 796, 362, 5357, 23853, 12982, 7390, 796, 705, 2235, 12982, 2389, 2235, 6, 38678, 11050, 2034, 13907, 37117, 22196, 34, 27564, 2043, 8576 ]
What was the score in the tournament won by Jan Stephenson?
SELECT score FROM table_229059_2 WHERE champion = "Jan Stephenson"
[ 2061, 373, 262, 4776, 287, 262, 7756, 1839, 416, 2365, 42838, 30, 46506, 4776, 16034, 3084, 62, 23539, 46712, 62, 17, 33411, 8783, 796, 366, 12128, 42838, 1 ]
[ 1, 1, 1, 1, 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, 287, 262, 7756, 1839, 416, 2365, 42838, 30, 46506, 4776, 16034, 3084, 62, 23539, 46712, 62, 17, 33411, 8783, 796, 366, 12128, 42838, 1 ]
Answers with higher score than accepted. They know better than topic starter
SELECT u.Id AS "user_link", notacceptedbetter, likeaccepted, acceptedbetter, total, totalscore FROM (SELECT a.OwnerUserId AS userid, SUM(CASE WHEN a.Score > ap.Score THEN 1 ELSE 0 END) AS notacceptedbetter, SUM(CASE WHEN a.Score = ap.Score THEN 1 ELSE 0 END) AS likeaccepted, SUM(CASE WHEN a.Score <= ap.Score THEN 1 ELSE 0 END) AS acceptedbetter, COUNT(*) AS total, SUM(a.Score) AS totalscore FROM Posts AS a JOIN Posts AS p ON a.ParentId = p.Id JOIN Posts AS ap ON p.AcceptedAnswerId = ap.Id WHERE a.PostTypeId = 2 AND ap.Id != a.Id GROUP BY a.OwnerUserId) AS answers JOIN Users AS u ON answers.userid = u.Id ORDER BY notacceptedbetter DESC
[ 2025, 37848, 351, 2440, 4776, 621, 6292, 13, 1119, 760, 1365, 621, 7243, 14217, 46506, 334, 13, 7390, 7054, 366, 7220, 62, 8726, 1600, 407, 13635, 276, 27903, 11, 588, 13635, 276, 11, 6292, 27903, 11, 2472, 11, 26310, 7295, 16034, 357, 46506, 257, 13, 42419, 12982, 7390, 7054, 2836, 312, 11, 35683, 7, 34, 11159, 42099, 257, 13, 26595, 1875, 2471, 13, 26595, 42243, 352, 17852, 5188, 657, 23578, 8, 7054, 407, 13635, 276, 27903, 11, 35683, 7, 34, 11159, 42099, 257, 13, 26595, 796, 2471, 13, 26595, 42243, 352, 17852, 5188, 657, 23578, 8, 7054, 588, 13635, 276, 11, 35683, 7, 34, 11159, 42099, 257, 13, 26595, 19841, 2471, 13, 26595, 42243, 352, 17852, 5188, 657, 23578, 8, 7054, 6292, 27903, 11, 327, 28270, 7, 28104, 7054, 2472, 11, 35683, 7, 64, 13, 26595, 8, 7054, 26310, 7295, 16034, 12043, 7054, 257, 32357, 1268, 12043, 7054, 279, 6177, 257, 13, 24546, 7390, 796, 279, 13, 7390, 32357, 1268, 12043, 7054, 2471, 6177, 279, 13, 38855, 276, 33706, 7390, 796, 2471, 13, 7390, 33411, 257, 13, 6307, 6030, 7390, 796, 362, 5357, 2471, 13, 7390, 14512, 257, 13, 7390, 44441, 11050, 257, 13, 42419, 12982, 7390, 8, 7054, 7429, 32357, 1268, 18987, 7054, 334, 6177, 7429, 13, 7220, 312, 796, 334, 13, 7390, 38678, 11050, 407, 13635, 276, 27903, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2025, 37848, 351, 2440, 4776, 621, 6292, 13, 1119, 760, 1365, 621, 7243, 14217, 46506, 334, 13, 7390, 7054, 366, 7220, 62, 8726, 1600, 407, 13635, 276, 27903, 11, 588, 13635, 276, 11, 6292, 27903, 11, 2472, 11, 26310, 7295, 16034, 357, 46506, 257, 13, 42419, 12982, 7390, 7054, 2836, 312, 11, 35683, 7, 34, 11159, 42099, 257, 13, 26595, 1875, 2471, 13, 26595, 42243, 352, 17852, 5188, 657, 23578, 8, 7054, 407, 13635, 276, 27903, 11, 35683, 7, 34, 11159, 42099, 257, 13, 26595, 796, 2471, 13, 26595, 42243, 352, 17852, 5188, 657, 23578, 8, 7054, 588, 13635, 276, 11, 35683, 7, 34, 11159, 42099, 257, 13, 26595, 19841, 2471, 13, 26595, 42243, 352, 17852, 5188, 657, 23578, 8, 7054, 6292, 27903, 11, 327, 28270, 7, 28104, 7054, 2472, 11, 35683, 7, 64, 13, 26595, 8, 7054, 26310, 7295, 16034, 12043, 7054, 257, 32357, 1268, 12043, 7054, 279, 6177, 257, 13, 24546, 7390, 796, 279, 13, 7390, 32357, 1268, 12043, 7054, 2471, 6177, 279, 13, 38855, 276, 33706, 7390, 796, 2471, 13, 7390, 33411, 257, 13, 6307, 6030, 7390, 796, 362, 5357, 2471, 13, 7390, 14512, 257, 13, 7390, 44441, 11050, 257, 13, 42419, 12982, 7390, 8, 7054, 7429, 32357, 1268, 18987, 7054, 334, 6177, 7429, 13, 7220, 312, 796, 334, 13, 7390, 38678, 11050, 407, 13635, 276, 27903, 22196, 34 ]
Which home team has home team score of 12.12 (84)?
SELECT "Home team" FROM table_51232 WHERE "Home team score" = '12.12 (84)'
[ 13828, 1363, 1074, 468, 1363, 1074, 4776, 286, 1105, 13, 1065, 357, 5705, 19427, 46506, 366, 16060, 1074, 1, 16034, 3084, 62, 25836, 2624, 33411, 366, 16060, 1074, 4776, 1, 796, 705, 1065, 13, 1065, 357, 5705, 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 ]
[ 13828, 1363, 1074, 468, 1363, 1074, 4776, 286, 1105, 13, 1065, 357, 5705, 19427, 46506, 366, 16060, 1074, 1, 16034, 3084, 62, 25836, 2624, 33411, 366, 16060, 1074, 4776, 1, 796, 705, 1065, 13, 1065, 357, 5705, 33047 ]
How many different players did the high assists in games where the high rebounds were done by Sales (10)?
SELECT COUNT(high_assists) FROM table_19778010_5 WHERE high_rebounds = "Sales (10)"
[ 2437, 867, 1180, 1938, 750, 262, 1029, 13648, 287, 1830, 810, 262, 1029, 18841, 547, 1760, 416, 17329, 357, 940, 19427, 46506, 327, 28270, 7, 8929, 62, 562, 1023, 8, 16034, 3084, 62, 37781, 23, 20943, 62, 20, 33411, 1029, 62, 34806, 3733, 796, 366, 44490, 357, 940, 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 ]
[ 2437, 867, 1180, 1938, 750, 262, 1029, 13648, 287, 1830, 810, 262, 1029, 18841, 547, 1760, 416, 17329, 357, 940, 19427, 46506, 327, 28270, 7, 8929, 62, 562, 1023, 8, 16034, 3084, 62, 37781, 23, 20943, 62, 20, 33411, 1029, 62, 34806, 3733, 796, 366, 44490, 357, 940, 16725 ]
how much does it cost to fly on AA from DALLAS to BALTIMORE
SELECT DISTINCT fare.fare_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, fare, flight, flight_fare WHERE (CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'DALLAS' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'BALTIMORE' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code AND flight.to_airport = AIRPORT_SERVICE_1.airport_code) AND flight_fare.fare_id = fare.fare_id AND flight.airline_code = 'AA' AND flight.flight_id = flight_fare.flight_id
[ 4919, 881, 857, 340, 1575, 284, 6129, 319, 15923, 422, 360, 7036, 1921, 284, 347, 31429, 3955, 1581, 33635, 16779, 360, 8808, 1268, 4177, 14505, 13, 9496, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 16, 11, 1748, 7054, 27993, 62, 15, 11, 1748, 7054, 27993, 62, 16, 11, 14505, 11, 5474, 11, 5474, 62, 9496, 33411, 357, 34, 9050, 62, 15, 13, 19205, 62, 8189, 796, 31600, 15490, 62, 35009, 27389, 62, 15, 13, 19205, 62, 8189, 5357, 27993, 62, 15, 13, 19205, 62, 3672, 796, 705, 35, 7036, 1921, 6, 5357, 27993, 62, 16, 13, 19205, 62, 8189, 796, 31600, 15490, 62, 35009, 27389, 62, 16, 13, 19205, 62, 8189, 5357, 27993, 62, 16, 13, 19205, 62, 3672, 796, 705, 33, 31429, 3955, 6965, 6, 5357, 5474, 13, 6738, 62, 958, 634, 796, 31600, 15490, 62, 35009, 27389, 62, 15, 13, 958, 634, 62, 8189, 5357, 5474, 13, 1462, 62, 958, 634, 796, 31600, 15490, 62, 35009, 27389, 62, 16, 13, 958, 634, 62, 8189, 8, 5357, 5474, 62, 9496, 13, 9496, 62, 312, 796, 14505, 13, 9496, 62, 312, 5357, 5474, 13, 958, 1370, 62, 8189, 796, 705, 3838, 6, 5357, 5474, 13, 22560, 62, 312, 796, 5474, 62, 9496, 13, 22560, 62, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 881, 857, 340, 1575, 284, 6129, 319, 15923, 422, 360, 7036, 1921, 284, 347, 31429, 3955, 1581, 33635, 16779, 360, 8808, 1268, 4177, 14505, 13, 9496, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 16, 11, 1748, 7054, 27993, 62, 15, 11, 1748, 7054, 27993, 62, 16, 11, 14505, 11, 5474, 11, 5474, 62, 9496, 33411, 357, 34, 9050, 62, 15, 13, 19205, 62, 8189, 796, 31600, 15490, 62, 35009, 27389, 62, 15, 13, 19205, 62, 8189, 5357, 27993, 62, 15, 13, 19205, 62, 3672, 796, 705, 35, 7036, 1921, 6, 5357, 27993, 62, 16, 13, 19205, 62, 8189, 796, 31600, 15490, 62, 35009, 27389, 62, 16, 13, 19205, 62, 8189, 5357, 27993, 62, 16, 13, 19205, 62, 3672, 796, 705, 33, 31429, 3955, 6965, 6, 5357, 5474, 13, 6738, 62, 958, 634, 796, 31600, 15490, 62, 35009, 27389, 62, 15, 13, 958, 634, 62, 8189, 5357, 5474, 13, 1462, 62, 958, 634, 796, 31600, 15490, 62, 35009, 27389, 62, 16, 13, 958, 634, 62, 8189, 8, 5357, 5474, 62, 9496, 13, 9496, 62, 312, 796, 14505, 13, 9496, 62, 312, 5357, 5474, 13, 958, 1370, 62, 8189, 796, 705, 3838, 6, 5357, 5474, 13, 22560, 62, 312, 796, 5474, 62, 9496, 13, 22560, 62, 312 ]
Which song lasts 4:08?
SELECT song FROM table_name_86 WHERE length = "4:08"
[ 13828, 3496, 20374, 604, 25, 2919, 30, 46506, 3496, 16034, 3084, 62, 3672, 62, 4521, 33411, 4129, 796, 366, 19, 25, 2919, 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, 3496, 20374, 604, 25, 2919, 30, 46506, 3496, 16034, 3084, 62, 3672, 62, 4521, 33411, 4129, 796, 366, 19, 25, 2919, 1 ]
Which Airport has a IATA of erz?
SELECT "Airport" FROM table_7007 WHERE "IATA" = 'erz'
[ 13828, 12690, 468, 257, 314, 13563, 286, 1931, 89, 30, 46506, 366, 16170, 634, 1, 16034, 3084, 62, 9879, 22, 33411, 366, 40, 13563, 1, 796, 705, 263, 89, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 12690, 468, 257, 314, 13563, 286, 1931, 89, 30, 46506, 366, 16170, 634, 1, 16034, 3084, 62, 9879, 22, 33411, 366, 40, 13563, 1, 796, 705, 263, 89, 6 ]
Who has the world record of 153kg in the clean & jerk?
SELECT "153kg" FROM table_63640 WHERE "World record" = 'clean & jerk'
[ 8241, 468, 262, 995, 1700, 286, 24652, 10025, 287, 262, 3424, 1222, 29757, 30, 46506, 366, 21395, 10025, 1, 16034, 3084, 62, 21, 2623, 1821, 33411, 366, 10603, 1700, 1, 796, 705, 27773, 1222, 29757, 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 ]
[ 8241, 468, 262, 995, 1700, 286, 24652, 10025, 287, 262, 3424, 1222, 29757, 30, 46506, 366, 21395, 10025, 1, 16034, 3084, 62, 21, 2623, 1821, 33411, 366, 10603, 1700, 1, 796, 705, 27773, 1222, 29757, 6 ]
What was the original air date for episode number 6?
SELECT original_air_date FROM table_1481865_1 WHERE number_of_episode = 6
[ 2061, 373, 262, 2656, 1633, 3128, 329, 4471, 1271, 718, 30, 46506, 2656, 62, 958, 62, 4475, 16034, 3084, 62, 18294, 1507, 2996, 62, 16, 33411, 1271, 62, 1659, 62, 38668, 796, 718 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 2656, 1633, 3128, 329, 4471, 1271, 718, 30, 46506, 2656, 62, 958, 62, 4475, 16034, 3084, 62, 18294, 1507, 2996, 62, 16, 33411, 1271, 62, 1659, 62, 38668, 796, 718 ]
who is taller , the delegate from jalapa or from villa nueva ?
SELECT "hometown" FROM table_204_20 WHERE "hometown" IN ('jalapa', 'villa nueva') ORDER BY "height" DESC LIMIT 1
[ 8727, 318, 25242, 837, 262, 23191, 422, 474, 282, 32678, 393, 422, 4489, 64, 299, 518, 6862, 5633, 46506, 366, 71, 19191, 1, 16034, 3084, 62, 18638, 62, 1238, 33411, 366, 71, 19191, 1, 3268, 19203, 73, 282, 32678, 3256, 705, 85, 5049, 299, 518, 6862, 11537, 38678, 11050, 366, 17015, 1, 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 ]
[ 8727, 318, 25242, 837, 262, 23191, 422, 474, 282, 32678, 393, 422, 4489, 64, 299, 518, 6862, 5633, 46506, 366, 71, 19191, 1, 16034, 3084, 62, 18638, 62, 1238, 33411, 366, 71, 19191, 1, 3268, 19203, 73, 282, 32678, 3256, 705, 85, 5049, 299, 518, 6862, 11537, 38678, 11050, 366, 17015, 1, 22196, 34, 27564, 2043, 352 ]
What was the title of the episode directed by Rowan Woods?
SELECT "Title" FROM table_26394 WHERE "Directed by" = 'Rowan Woods'
[ 2061, 373, 262, 3670, 286, 262, 4471, 7924, 416, 11314, 272, 16483, 30, 46506, 366, 19160, 1, 16034, 3084, 62, 2075, 34626, 33411, 366, 13470, 276, 416, 1, 796, 705, 25166, 272, 16483, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 3670, 286, 262, 4471, 7924, 416, 11314, 272, 16483, 30, 46506, 366, 19160, 1, 16034, 3084, 62, 2075, 34626, 33411, 366, 13470, 276, 416, 1, 796, 705, 25166, 272, 16483, 6 ]
What record has pittsburgh as the visitor, and November 23 as the date?
SELECT "Record" FROM table_5712 WHERE "Visitor" = 'pittsburgh' AND "Date" = 'november 23'
[ 2061, 1700, 468, 279, 715, 11931, 355, 262, 21493, 11, 290, 3389, 2242, 355, 262, 3128, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 3553, 1065, 33411, 366, 15854, 2072, 1, 796, 705, 79, 715, 11931, 6, 5357, 366, 10430, 1, 796, 705, 77, 3239, 2242, 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 ]
[ 2061, 1700, 468, 279, 715, 11931, 355, 262, 21493, 11, 290, 3389, 2242, 355, 262, 3128, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 3553, 1065, 33411, 366, 15854, 2072, 1, 796, 705, 79, 715, 11931, 6, 5357, 366, 10430, 1, 796, 705, 77, 3239, 2242, 6 ]
count the number of patients whose primary disease is st elevated myocardial infarction\cardiac cath and lab test abnormal status is delta?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.diagnosis = "ST ELEVATED MYOCARDIAL INFARCTION\CARDIAC CATH" AND lab.flag = "delta"
[ 9127, 262, 1271, 286, 3871, 3025, 4165, 4369, 318, 336, 15321, 616, 44412, 498, 1167, 283, 596, 59, 9517, 9607, 32171, 290, 2248, 1332, 18801, 3722, 318, 25979, 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, 47356, 5958, 796, 366, 2257, 40342, 53, 11617, 17615, 4503, 9795, 12576, 45594, 1503, 4177, 2849, 59, 34, 9795, 40, 2246, 327, 12599, 1, 5357, 2248, 13, 32109, 796, 366, 67, 12514, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 9127, 262, 1271, 286, 3871, 3025, 4165, 4369, 318, 336, 15321, 616, 44412, 498, 1167, 283, 596, 59, 9517, 9607, 32171, 290, 2248, 1332, 18801, 3722, 318, 25979, 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, 47356, 5958, 796, 366, 2257, 40342, 53, 11617, 17615, 4503, 9795, 12576, 45594, 1503, 4177, 2849, 59, 34, 9795, 40, 2246, 327, 12599, 1, 5357, 2248, 13, 32109, 796, 366, 67, 12514, 1 ]
How many contestants were there in a season where alejandra espinoza won?
SELECT COUNT("Number of Contestants") FROM table_75311 WHERE "Winner" = 'alejandra espinoza'
[ 2437, 867, 37851, 547, 612, 287, 257, 1622, 810, 31341, 73, 15918, 15024, 2879, 4496, 1839, 30, 46506, 327, 28270, 7203, 15057, 286, 27297, 1187, 4943, 16034, 3084, 62, 2425, 36244, 33411, 366, 48056, 1, 796, 705, 1000, 73, 15918, 15024, 2879, 4496, 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 ]
[ 2437, 867, 37851, 547, 612, 287, 257, 1622, 810, 31341, 73, 15918, 15024, 2879, 4496, 1839, 30, 46506, 327, 28270, 7203, 15057, 286, 27297, 1187, 4943, 16034, 3084, 62, 2425, 36244, 33411, 366, 48056, 1, 796, 705, 1000, 73, 15918, 15024, 2879, 4496, 6 ]
Name the number of draws for when conceded is 25
SELECT COUNT("Draws") FROM table_19648 WHERE "Conceded" = '25'
[ 5376, 262, 1271, 286, 14293, 329, 618, 24684, 318, 1679, 46506, 327, 28270, 7203, 25302, 82, 4943, 16034, 3084, 62, 1129, 34287, 33411, 366, 3103, 771, 276, 1, 796, 705, 1495, 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 ]
[ 5376, 262, 1271, 286, 14293, 329, 618, 24684, 318, 1679, 46506, 327, 28270, 7203, 25302, 82, 4943, 16034, 3084, 62, 1129, 34287, 33411, 366, 3103, 771, 276, 1, 796, 705, 1495, 6 ]
how many times has patient 027-144847 produced an urine output on last month/30?
SELECT COUNT(*) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '027-144847')) AND intakeoutput.cellpath LIKE '%output%' AND intakeoutput.celllabel = 'urine' AND DATETIME(intakeoutput.intakeoutputtime, 'start of month') = DATETIME(CURRENT_TIME(), 'start of month', '-1 month') AND STRFTIME('%d', intakeoutput.intakeoutputtime) = '30'
[ 4919, 867, 1661, 468, 5827, 657, 1983, 12, 1415, 2780, 2857, 4635, 281, 18922, 5072, 319, 938, 1227, 14, 1270, 30, 46506, 327, 28270, 7, 28104, 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, 44698, 12, 1415, 2780, 2857, 6, 4008, 5357, 10337, 22915, 13, 3846, 6978, 34178, 705, 4, 22915, 4, 6, 5357, 10337, 22915, 13, 3846, 18242, 796, 705, 333, 500, 6, 5357, 360, 1404, 2767, 12789, 7, 600, 539, 22915, 13, 600, 539, 22915, 2435, 11, 705, 9688, 286, 1227, 11537, 796, 360, 1404, 2767, 12789, 7, 34, 39237, 62, 34694, 22784, 705, 9688, 286, 1227, 3256, 705, 12, 16, 1227, 11537, 5357, 19269, 9792, 12789, 10786, 4, 67, 3256, 10337, 22915, 13, 600, 539, 22915, 2435, 8, 796, 705, 1270, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 1661, 468, 5827, 657, 1983, 12, 1415, 2780, 2857, 4635, 281, 18922, 5072, 319, 938, 1227, 14, 1270, 30, 46506, 327, 28270, 7, 28104, 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, 44698, 12, 1415, 2780, 2857, 6, 4008, 5357, 10337, 22915, 13, 3846, 6978, 34178, 705, 4, 22915, 4, 6, 5357, 10337, 22915, 13, 3846, 18242, 796, 705, 333, 500, 6, 5357, 360, 1404, 2767, 12789, 7, 600, 539, 22915, 13, 600, 539, 22915, 2435, 11, 705, 9688, 286, 1227, 11537, 796, 360, 1404, 2767, 12789, 7, 34, 39237, 62, 34694, 22784, 705, 9688, 286, 1227, 3256, 705, 12, 16, 1227, 11537, 5357, 19269, 9792, 12789, 10786, 4, 67, 3256, 10337, 22915, 13, 600, 539, 22915, 2435, 8, 796, 705, 1270, 6 ]
How long is the diameter that has a longitude of 8.0e?
SELECT diameter__km_ FROM table_name_65 WHERE longitude = "8.0e"
[ 2437, 890, 318, 262, 14753, 326, 468, 257, 890, 3984, 286, 807, 13, 15, 68, 30, 46506, 14753, 834, 13276, 62, 16034, 3084, 62, 3672, 62, 2996, 33411, 890, 3984, 796, 366, 23, 13, 15, 68, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 890, 318, 262, 14753, 326, 468, 257, 890, 3984, 286, 807, 13, 15, 68, 30, 46506, 14753, 834, 13276, 62, 16034, 3084, 62, 3672, 62, 2996, 33411, 890, 3984, 796, 366, 23, 13, 15, 68, 1 ]
what is the average number of points scored by opponents in the five games lost this season ?
SELECT AVG("score") FROM table_204_227 WHERE "result" = 'loss'
[ 10919, 318, 262, 2811, 1271, 286, 2173, 7781, 416, 7691, 287, 262, 1936, 1830, 2626, 428, 1622, 5633, 46506, 35224, 7203, 26675, 4943, 16034, 3084, 62, 18638, 62, 24403, 33411, 366, 20274, 1, 796, 705, 22462, 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 ]
[ 10919, 318, 262, 2811, 1271, 286, 2173, 7781, 416, 7691, 287, 262, 1936, 1830, 2626, 428, 1622, 5633, 46506, 35224, 7203, 26675, 4943, 16034, 3084, 62, 18638, 62, 24403, 33411, 366, 20274, 1, 796, 705, 22462, 6 ]
What is the average of credit value of courses with more than one prerequisite for each department? Return a bar chart, and order y axis from high to low order.
SELECT dept_name, AVG(credits) FROM course AS T1 JOIN prereq AS T2 ON T1.course_id = T2.course_id GROUP BY dept_name ORDER BY AVG(credits) DESC
[ 2061, 318, 262, 2811, 286, 3884, 1988, 286, 10902, 351, 517, 621, 530, 43119, 329, 1123, 5011, 30, 8229, 257, 2318, 8262, 11, 290, 1502, 331, 16488, 422, 1029, 284, 1877, 1502, 13, 46506, 390, 457, 62, 3672, 11, 35224, 7, 66, 20696, 8, 16034, 1781, 7054, 309, 16, 32357, 1268, 662, 42180, 7054, 309, 17, 6177, 309, 16, 13, 17319, 62, 312, 796, 309, 17, 13, 17319, 62, 312, 44441, 11050, 390, 457, 62, 3672, 38678, 11050, 35224, 7, 66, 20696, 8, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2811, 286, 3884, 1988, 286, 10902, 351, 517, 621, 530, 43119, 329, 1123, 5011, 30, 8229, 257, 2318, 8262, 11, 290, 1502, 331, 16488, 422, 1029, 284, 1877, 1502, 13, 46506, 390, 457, 62, 3672, 11, 35224, 7, 66, 20696, 8, 16034, 1781, 7054, 309, 16, 32357, 1268, 662, 42180, 7054, 309, 17, 6177, 309, 16, 13, 17319, 62, 312, 796, 309, 17, 13, 17319, 62, 312, 44441, 11050, 390, 457, 62, 3672, 38678, 11050, 35224, 7, 66, 20696, 8, 22196, 34 ]
what is the number of patients whose discharge location is snf and procedure icd9 code is 17?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.discharge_location = "SNF" AND procedures.icd9_code = "17"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 17655, 4067, 318, 3013, 69, 290, 8771, 14158, 67, 24, 2438, 318, 1596, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, 13, 18108, 76, 62, 312, 796, 9021, 13, 18108, 76, 62, 312, 33411, 16728, 13, 6381, 10136, 62, 24886, 796, 366, 15571, 37, 1, 5357, 9021, 13, 291, 67, 24, 62, 8189, 796, 366, 1558, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 1271, 286, 3871, 3025, 17655, 4067, 318, 3013, 69, 290, 8771, 14158, 67, 24, 2438, 318, 1596, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, 13, 18108, 76, 62, 312, 796, 9021, 13, 18108, 76, 62, 312, 33411, 16728, 13, 6381, 10136, 62, 24886, 796, 366, 15571, 37, 1, 5357, 9021, 13, 291, 67, 24, 62, 8189, 796, 366, 1558, 1 ]
Return the number of the date of birth for all the guests with gender code 'Male', and could you display by the x axis in asc?
SELECT date_of_birth, COUNT(date_of_birth) FROM Guests WHERE gender_code = "Male" ORDER BY date_of_birth
[ 13615, 262, 1271, 286, 262, 3128, 286, 4082, 329, 477, 262, 10650, 351, 5279, 2438, 705, 25486, 3256, 290, 714, 345, 3359, 416, 262, 2124, 16488, 287, 10570, 30, 46506, 3128, 62, 1659, 62, 24280, 11, 327, 28270, 7, 4475, 62, 1659, 62, 24280, 8, 16034, 46936, 33411, 5279, 62, 8189, 796, 366, 25486, 1, 38678, 11050, 3128, 62, 1659, 62, 24280 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1271, 286, 262, 3128, 286, 4082, 329, 477, 262, 10650, 351, 5279, 2438, 705, 25486, 3256, 290, 714, 345, 3359, 416, 262, 2124, 16488, 287, 10570, 30, 46506, 3128, 62, 1659, 62, 24280, 11, 327, 28270, 7, 4475, 62, 1659, 62, 24280, 8, 16034, 46936, 33411, 5279, 62, 8189, 796, 366, 25486, 1, 38678, 11050, 3128, 62, 1659, 62, 24280 ]
septic shock patients must have suspected or confirmed infection and lactate > 2 mmol / l and receiving vasopressors
SELECT * FROM table_train_13 WHERE septic_shock = 1 AND active_infection = 1 AND lactate > 2 AND receiving_vasopressor = 1
[ 325, 17459, 6380, 3871, 1276, 423, 9885, 393, 4999, 10280, 290, 26222, 378, 1875, 362, 47340, 1220, 300, 290, 6464, 34439, 404, 601, 669, 46506, 1635, 16034, 3084, 62, 27432, 62, 1485, 33411, 384, 17459, 62, 39563, 796, 352, 5357, 4075, 62, 27816, 295, 796, 352, 5357, 26222, 378, 1875, 362, 5357, 6464, 62, 11017, 404, 44292, 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 ]
[ 325, 17459, 6380, 3871, 1276, 423, 9885, 393, 4999, 10280, 290, 26222, 378, 1875, 362, 47340, 1220, 300, 290, 6464, 34439, 404, 601, 669, 46506, 1635, 16034, 3084, 62, 27432, 62, 1485, 33411, 384, 17459, 62, 39563, 796, 352, 5357, 4075, 62, 27816, 295, 796, 352, 5357, 26222, 378, 1875, 362, 5357, 6464, 62, 11017, 404, 44292, 796, 352 ]
What is the attendance of tie no. 23?
SELECT attendance FROM table_name_34 WHERE tie_no = "23"
[ 2061, 318, 262, 14858, 286, 9839, 645, 13, 2242, 30, 46506, 14858, 16034, 3084, 62, 3672, 62, 2682, 33411, 9839, 62, 3919, 796, 366, 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, 1, 1, 1 ]
[ 2061, 318, 262, 14858, 286, 9839, 645, 13, 2242, 30, 46506, 14858, 16034, 3084, 62, 3672, 62, 2682, 33411, 9839, 62, 3919, 796, 366, 1954, 1 ]
Draw a scatter chart about the correlation between Snatch and Total .
SELECT Snatch, Total FROM body_builder
[ 25302, 257, 41058, 8262, 546, 262, 16096, 1022, 5489, 963, 290, 7472, 764, 46506, 5489, 963, 11, 7472, 16034, 1767, 62, 38272 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 25302, 257, 41058, 8262, 546, 262, 16096, 1022, 5489, 963, 290, 7472, 764, 46506, 5489, 963, 11, 7472, 16034, 1767, 62, 38272 ]
For those employees who do not work in departments with managers that have ids between 100 and 200, visualize a bar chart about the distribution of first_name and salary , and display by the total number in asc.
SELECT FIRST_NAME, SALARY FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY SALARY
[ 1890, 883, 4409, 508, 466, 407, 670, 287, 13346, 351, 11663, 326, 423, 220, 2340, 1022, 1802, 290, 939, 11, 38350, 257, 2318, 8262, 546, 262, 6082, 286, 717, 62, 3672, 290, 9588, 837, 290, 3359, 416, 262, 2472, 1271, 287, 10570, 13, 46506, 31328, 62, 20608, 11, 42475, 13153, 16034, 4409, 33411, 5626, 5550, 30709, 10979, 62, 2389, 3268, 357, 46506, 5550, 30709, 10979, 62, 2389, 16034, 13346, 33411, 17254, 4760, 1137, 62, 2389, 38651, 8845, 1677, 1802, 5357, 939, 8, 38678, 11050, 42475, 13153 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1890, 883, 4409, 508, 466, 407, 670, 287, 13346, 351, 11663, 326, 423, 220, 2340, 1022, 1802, 290, 939, 11, 38350, 257, 2318, 8262, 546, 262, 6082, 286, 717, 62, 3672, 290, 9588, 837, 290, 3359, 416, 262, 2472, 1271, 287, 10570, 13, 46506, 31328, 62, 20608, 11, 42475, 13153, 16034, 4409, 33411, 5626, 5550, 30709, 10979, 62, 2389, 3268, 357, 46506, 5550, 30709, 10979, 62, 2389, 16034, 13346, 33411, 17254, 4760, 1137, 62, 2389, 38651, 8845, 1677, 1802, 5357, 939, 8, 38678, 11050, 42475, 13153 ]
count the number of drugs that have been prescribed patient 61751 in 2105.
SELECT COUNT(*) FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 61751) AND STRFTIME('%y', prescriptions.startdate) = '2105'
[ 9127, 262, 1271, 286, 5010, 326, 423, 587, 14798, 5827, 718, 1558, 4349, 287, 362, 13348, 13, 46506, 327, 28270, 7, 28104, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 718, 1558, 4349, 8, 5357, 19269, 9792, 12789, 10786, 4, 88, 3256, 34092, 13, 9688, 4475, 8, 796, 705, 17, 13348, 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 ]
[ 9127, 262, 1271, 286, 5010, 326, 423, 587, 14798, 5827, 718, 1558, 4349, 287, 362, 13348, 13, 46506, 327, 28270, 7, 28104, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 718, 1558, 4349, 8, 5357, 19269, 9792, 12789, 10786, 4, 88, 3256, 34092, 13, 9688, 4475, 8, 796, 705, 17, 13348, 6 ]
What is the points for a team with more than 9 wins and more than 40 goals?
SELECT SUM(points__pts_) FROM table_name_84 WHERE won__pg_ > 9 AND goals_scored__gf_ > 40
[ 2061, 318, 262, 2173, 329, 257, 1074, 351, 517, 621, 860, 7864, 290, 517, 621, 2319, 4661, 30, 46506, 35683, 7, 13033, 834, 457, 82, 62, 8, 16034, 3084, 62, 3672, 62, 5705, 33411, 1839, 834, 6024, 62, 1875, 860, 5357, 4661, 62, 1416, 1850, 834, 70, 69, 62, 1875, 2319 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2173, 329, 257, 1074, 351, 517, 621, 860, 7864, 290, 517, 621, 2319, 4661, 30, 46506, 35683, 7, 13033, 834, 457, 82, 62, 8, 16034, 3084, 62, 3672, 62, 5705, 33411, 1839, 834, 6024, 62, 1875, 860, 5357, 4661, 62, 1416, 1850, 834, 70, 69, 62, 1875, 2319 ]
Name the 2011 when 2010 is 2r
SELECT "2011" FROM table_80361 WHERE "2010" = '2r'
[ 5376, 262, 2813, 618, 3050, 318, 362, 81, 46506, 366, 9804, 1, 16034, 3084, 62, 1795, 35195, 33411, 366, 10333, 1, 796, 705, 17, 81, 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 ]
[ 5376, 262, 2813, 618, 3050, 318, 362, 81, 46506, 366, 9804, 1, 16034, 3084, 62, 1795, 35195, 33411, 366, 10333, 1, 796, 705, 17, 81, 6 ]
Who did the Lightning play at the Mellon Arena?
SELECT opponent FROM table_name_97 WHERE location = "mellon arena"
[ 8241, 750, 262, 12469, 711, 379, 262, 49808, 10937, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 5607, 33411, 4067, 796, 366, 76, 695, 261, 13478, 1 ]
[ 1, 1, 1, 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, 750, 262, 12469, 711, 379, 262, 49808, 10937, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 5607, 33411, 4067, 796, 366, 76, 695, 261, 13478, 1 ]
Name the leader battle for 4-3 vote
SELECT leader_battle FROM table_25920798_2 WHERE vote = "4-3"
[ 5376, 262, 3554, 3344, 329, 604, 12, 18, 3015, 46506, 3554, 62, 38471, 16034, 3084, 62, 25191, 1238, 43240, 62, 17, 33411, 3015, 796, 366, 19, 12, 18, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 3554, 3344, 329, 604, 12, 18, 3015, 46506, 3554, 62, 38471, 16034, 3084, 62, 25191, 1238, 43240, 62, 17, 33411, 3015, 796, 366, 19, 12, 18, 1 ]
What was the total city area for vehari city with a serial number bigger than 36?
SELECT COUNT("City Area(km 2 )") FROM table_64008 WHERE "Headquartered City" = 'vehari city' AND "Serial No." > '36'
[ 2061, 373, 262, 2472, 1748, 1989, 329, 2844, 2743, 1748, 351, 257, 11389, 1271, 5749, 621, 4570, 30, 46506, 327, 28270, 7203, 14941, 9498, 7, 13276, 362, 1267, 4943, 16034, 3084, 62, 2414, 25257, 33411, 366, 13847, 42508, 2254, 1, 796, 705, 33892, 2743, 1748, 6, 5357, 366, 32634, 1400, 526, 1875, 705, 2623, 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 ]
[ 2061, 373, 262, 2472, 1748, 1989, 329, 2844, 2743, 1748, 351, 257, 11389, 1271, 5749, 621, 4570, 30, 46506, 327, 28270, 7203, 14941, 9498, 7, 13276, 362, 1267, 4943, 16034, 3084, 62, 2414, 25257, 33411, 366, 13847, 42508, 2254, 1, 796, 705, 33892, 2743, 1748, 6, 5357, 366, 32634, 1400, 526, 1875, 705, 2623, 6 ]
Who played Fitzroy at their own home?
SELECT home_team AS score FROM table_name_42 WHERE away_team = "fitzroy"
[ 8241, 2826, 16703, 3287, 379, 511, 898, 1363, 30, 46506, 1363, 62, 15097, 7054, 4776, 16034, 3084, 62, 3672, 62, 3682, 33411, 1497, 62, 15097, 796, 366, 69, 4224, 3287, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 2826, 16703, 3287, 379, 511, 898, 1363, 30, 46506, 1363, 62, 15097, 7054, 4776, 16034, 3084, 62, 3672, 62, 3682, 33411, 1497, 62, 15097, 796, 366, 69, 4224, 3287, 1 ]
Give me the comparison about the amount of ACC_Road over the ACC_Road , and group by attribute ACC_Road, list in asc by the X-axis.
SELECT ACC_Road, COUNT(ACC_Road) FROM basketball_match GROUP BY ACC_Road ORDER BY ACC_Road
[ 23318, 502, 262, 7208, 546, 262, 2033, 286, 15859, 62, 29197, 625, 262, 15859, 62, 29197, 837, 290, 1448, 416, 11688, 15859, 62, 29197, 11, 1351, 287, 10570, 416, 262, 1395, 12, 22704, 13, 46506, 15859, 62, 29197, 11, 327, 28270, 7, 26861, 62, 29197, 8, 16034, 9669, 62, 15699, 44441, 11050, 15859, 62, 29197, 38678, 11050, 15859, 62, 29197 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 262, 2033, 286, 15859, 62, 29197, 625, 262, 15859, 62, 29197, 837, 290, 1448, 416, 11688, 15859, 62, 29197, 11, 1351, 287, 10570, 416, 262, 1395, 12, 22704, 13, 46506, 15859, 62, 29197, 11, 327, 28270, 7, 26861, 62, 29197, 8, 16034, 9669, 62, 15699, 44441, 11050, 15859, 62, 29197, 38678, 11050, 15859, 62, 29197 ]
Draw a bar chart about the distribution of All_Home and Team_ID , and group by attribute ACC_Road, and order by the total number in descending.
SELECT All_Home, Team_ID FROM basketball_match GROUP BY ACC_Road, All_Home ORDER BY Team_ID DESC
[ 25302, 257, 2318, 8262, 546, 262, 6082, 286, 1439, 62, 16060, 290, 4816, 62, 2389, 837, 290, 1448, 416, 11688, 15859, 62, 29197, 11, 290, 1502, 416, 262, 2472, 1271, 287, 31491, 13, 46506, 1439, 62, 16060, 11, 4816, 62, 2389, 16034, 9669, 62, 15699, 44441, 11050, 15859, 62, 29197, 11, 1439, 62, 16060, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 25302, 257, 2318, 8262, 546, 262, 6082, 286, 1439, 62, 16060, 290, 4816, 62, 2389, 837, 290, 1448, 416, 11688, 15859, 62, 29197, 11, 290, 1502, 416, 262, 2472, 1271, 287, 31491, 13, 46506, 1439, 62, 16060, 11, 4816, 62, 2389, 16034, 9669, 62, 15699, 44441, 11050, 15859, 62, 29197, 11, 1439, 62, 16060, 38678, 11050, 4816, 62, 2389, 22196, 34 ]
when was patient 15821 prescribed for the last time a drug in 01/this year?
SELECT prescriptions.startdate FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 15821) AND DATETIME(prescriptions.startdate, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') AND STRFTIME('%m', prescriptions.startdate) = '01' ORDER BY prescriptions.startdate DESC LIMIT 1
[ 12518, 373, 5827, 24063, 2481, 14798, 329, 262, 938, 640, 257, 2563, 287, 5534, 14, 5661, 614, 30, 46506, 34092, 13, 9688, 4475, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 24063, 2481, 8, 5357, 360, 1404, 2767, 12789, 7, 18302, 24370, 13, 9688, 4475, 11, 705, 9688, 286, 614, 11537, 796, 360, 1404, 2767, 12789, 7, 34, 39237, 62, 34694, 22784, 705, 9688, 286, 614, 3256, 705, 12, 15, 614, 11537, 5357, 19269, 9792, 12789, 10786, 4, 76, 3256, 34092, 13, 9688, 4475, 8, 796, 705, 486, 6, 38678, 11050, 34092, 13, 9688, 4475, 22196, 34, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 12518, 373, 5827, 24063, 2481, 14798, 329, 262, 938, 640, 257, 2563, 287, 5534, 14, 5661, 614, 30, 46506, 34092, 13, 9688, 4475, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 24063, 2481, 8, 5357, 360, 1404, 2767, 12789, 7, 18302, 24370, 13, 9688, 4475, 11, 705, 9688, 286, 614, 11537, 796, 360, 1404, 2767, 12789, 7, 34, 39237, 62, 34694, 22784, 705, 9688, 286, 614, 3256, 705, 12, 15, 614, 11537, 5357, 19269, 9792, 12789, 10786, 4, 76, 3256, 34092, 13, 9688, 4475, 8, 796, 705, 486, 6, 38678, 11050, 34092, 13, 9688, 4475, 22196, 34, 27564, 2043, 352 ]
what is EWR
SELECT DISTINCT airport_code FROM airport WHERE airport_code = 'EWR'
[ 10919, 318, 412, 18564, 46506, 360, 8808, 1268, 4177, 9003, 62, 8189, 16034, 9003, 33411, 9003, 62, 8189, 796, 705, 6217, 49, 6 ]
[ 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, 412, 18564, 46506, 360, 8808, 1268, 4177, 9003, 62, 8189, 16034, 9003, 33411, 9003, 62, 8189, 796, 705, 6217, 49, 6 ]
What is the largest number of 10 C points for a team with 39 total points?
SELECT MAX(10 AS _c_pts) FROM table_25887826_17 WHERE total_pts = 39
[ 2061, 318, 262, 4387, 1271, 286, 838, 327, 2173, 329, 257, 1074, 351, 5014, 2472, 2173, 30, 46506, 25882, 7, 940, 7054, 4808, 66, 62, 457, 82, 8, 16034, 3084, 62, 1495, 3459, 3695, 2075, 62, 1558, 33411, 2472, 62, 457, 82, 796, 5014 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1271, 286, 838, 327, 2173, 329, 257, 1074, 351, 5014, 2472, 2173, 30, 46506, 25882, 7, 940, 7054, 4808, 66, 62, 457, 82, 8, 16034, 3084, 62, 1495, 3459, 3695, 2075, 62, 1558, 33411, 2472, 62, 457, 82, 796, 5014 ]
Which School/Club Team has a Player of michael bradley?
SELECT "School/Club Team" FROM table_40093 WHERE "Player" = 'michael bradley'
[ 13828, 3961, 14, 42350, 4816, 468, 257, 7853, 286, 285, 40302, 865, 324, 1636, 30, 46506, 366, 26130, 14, 42350, 4816, 1, 16034, 3084, 62, 7029, 6052, 33411, 366, 14140, 1, 796, 705, 76, 40302, 865, 324, 1636, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 3961, 14, 42350, 4816, 468, 257, 7853, 286, 285, 40302, 865, 324, 1636, 30, 46506, 366, 26130, 14, 42350, 4816, 1, 16034, 3084, 62, 7029, 6052, 33411, 366, 14140, 1, 796, 705, 76, 40302, 865, 324, 1636, 6 ]
what district is Brooks Hays in
SELECT "District" FROM table_18487 WHERE "Incumbent" = 'Brooks Hays'
[ 10919, 4783, 318, 17704, 367, 592, 287, 46506, 366, 44857, 1, 16034, 3084, 62, 1507, 35133, 33411, 366, 25517, 2178, 298, 1, 796, 705, 15783, 28194, 367, 592, 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 ]
[ 10919, 4783, 318, 17704, 367, 592, 287, 46506, 366, 44857, 1, 16034, 3084, 62, 1507, 35133, 33411, 366, 25517, 2178, 298, 1, 796, 705, 15783, 28194, 367, 592, 6 ]
What to par has tom kite as the player?
SELECT "To par" FROM table_51091 WHERE "Player" = 'tom kite'
[ 2061, 284, 1582, 468, 16667, 479, 578, 355, 262, 2137, 30, 46506, 366, 2514, 1582, 1, 16034, 3084, 62, 33690, 6420, 33411, 366, 14140, 1, 796, 705, 39532, 479, 578, 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, 284, 1582, 468, 16667, 479, 578, 355, 262, 2137, 30, 46506, 366, 2514, 1582, 1, 16034, 3084, 62, 33690, 6420, 33411, 366, 14140, 1, 796, 705, 39532, 479, 578, 6 ]
Average score for accepted post.
SELECT AVG(Score) AS avg_score, Id FROM Posts WHERE PostTypeId = 2 GROUP BY Id ORDER BY avg_score DESC
[ 26287, 4776, 329, 6292, 1281, 13, 46506, 35224, 7, 26595, 8, 7054, 42781, 62, 26675, 11, 5121, 16034, 12043, 33411, 2947, 6030, 7390, 796, 362, 44441, 11050, 5121, 38678, 11050, 42781, 62, 26675, 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 ]
[ 26287, 4776, 329, 6292, 1281, 13, 46506, 35224, 7, 26595, 8, 7054, 42781, 62, 26675, 11, 5121, 16034, 12043, 33411, 2947, 6030, 7390, 796, 362, 44441, 11050, 5121, 38678, 11050, 42781, 62, 26675, 22196, 34 ]
How many rounds in the fight in Quebec, Canada against David Loiseau?
SELECT COUNT("Round") FROM table_9599 WHERE "Location" = 'quebec, canada' AND "Opponent" = 'david loiseau'
[ 2437, 867, 9196, 287, 262, 1907, 287, 14778, 11, 3340, 1028, 3271, 6706, 786, 559, 30, 46506, 327, 28270, 7203, 22685, 4943, 16034, 3084, 62, 3865, 2079, 33411, 366, 14749, 1, 796, 705, 421, 1765, 721, 11, 460, 4763, 6, 5357, 366, 27524, 3471, 1, 796, 705, 67, 8490, 2376, 786, 559, 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 ]
[ 2437, 867, 9196, 287, 262, 1907, 287, 14778, 11, 3340, 1028, 3271, 6706, 786, 559, 30, 46506, 327, 28270, 7203, 22685, 4943, 16034, 3084, 62, 3865, 2079, 33411, 366, 14749, 1, 796, 705, 421, 1765, 721, 11, 460, 4763, 6, 5357, 366, 27524, 3471, 1, 796, 705, 67, 8490, 2376, 786, 559, 6 ]
what was the four year survival rate for patients who were prescribed warfarin sodium 7.5 mg po tabs after having been diagnosed with anemia - chronic blood loss anemia?
SELECT SUM(CASE WHEN patient.hospitaldischargestatus = 'alive' THEN 1 WHEN STRFTIME('%j', patient.hospitaldischargetime) - STRFTIME('%j', t4.diagnosistime) > 4 * 365 THEN 1 ELSE 0 END) * 100 / COUNT(*) FROM (SELECT t2.uniquepid, t2.diagnosistime FROM (SELECT t1.uniquepid, t1.diagnosistime FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'anemia - chronic blood loss anemia' GROUP BY patient.uniquepid HAVING MIN(diagnosis.diagnosistime) = diagnosis.diagnosistime) AS t1) AS t2 JOIN (SELECT patient.uniquepid, medication.drugstarttime FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid WHERE medication.drugname = 'warfarin sodium 7.5 mg po tabs') AS t3 ON t2.uniquepid = t3.uniquepid WHERE t2.diagnosistime < t3.drugstarttime) AS t4 JOIN patient ON t4.uniquepid = patient.uniquepid
[ 10919, 373, 262, 1440, 614, 9441, 2494, 329, 3871, 508, 547, 14798, 1175, 16370, 259, 21072, 767, 13, 20, 10527, 745, 22524, 706, 1719, 587, 14641, 351, 281, 22859, 532, 10726, 2910, 2994, 281, 22859, 30, 46506, 35683, 7, 34, 11159, 42099, 5827, 13, 49257, 6381, 11121, 395, 7240, 796, 705, 282, 425, 6, 42243, 352, 42099, 19269, 9792, 12789, 10786, 4, 73, 3256, 5827, 13, 49257, 6381, 354, 7641, 524, 8, 532, 19269, 9792, 12789, 10786, 4, 73, 3256, 256, 19, 13, 47356, 418, 396, 524, 8, 1875, 604, 1635, 21268, 42243, 352, 17852, 5188, 657, 23578, 8, 1635, 1802, 1220, 327, 28270, 7, 28104, 16034, 357, 46506, 256, 17, 13, 403, 1557, 538, 312, 11, 256, 17, 13, 47356, 418, 396, 524, 16034, 357, 46506, 256, 16, 13, 403, 1557, 538, 312, 11, 256, 16, 13, 47356, 418, 396, 524, 16034, 357, 46506, 5827, 13, 403, 1557, 538, 312, 11, 13669, 13, 47356, 418, 396, 524, 16034, 13669, 32357, 1268, 5827, 6177, 13669, 13, 26029, 20850, 31712, 312, 796, 5827, 13, 26029, 20850, 31712, 312, 33411, 13669, 13, 47356, 5958, 3672, 796, 705, 272, 22859, 532, 10726, 2910, 2994, 281, 22859, 6, 44441, 11050, 5827, 13, 403, 1557, 538, 312, 367, 10116, 2751, 20625, 7, 47356, 5958, 13, 47356, 418, 396, 524, 8, 796, 13669, 13, 47356, 418, 396, 524, 8, 7054, 256, 16, 8, 7054, 256, 17, 32357, 1268, 357, 46506, 5827, 13, 403, 1557, 538, 312, 11, 14103, 13, 30349, 9688, 2435, 16034, 14103, 32357, 1268, 5827, 6177, 14103, 13, 26029, 20850, 31712, 312, 796, 5827, 13, 26029, 20850, 31712, 312, 33411, 14103, 13, 30349, 3672, 796, 705, 5767, 16370, 259, 21072, 767, 13, 20, 10527, 745, 22524, 11537, 7054, 256, 18, 6177, 256, 17, 13, 403, 1557, 538, 312, 796, 256, 18, 13, 403, 1557, 538, 312, 33411, 256, 17, 13, 47356, 418, 396, 524, 1279, 256, 18, 13, 30349, 9688, 2435, 8, 7054, 256, 19, 32357, 1268, 5827, 6177, 256, 19, 13, 403, 1557, 538, 312, 796, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1440, 614, 9441, 2494, 329, 3871, 508, 547, 14798, 1175, 16370, 259, 21072, 767, 13, 20, 10527, 745, 22524, 706, 1719, 587, 14641, 351, 281, 22859, 532, 10726, 2910, 2994, 281, 22859, 30, 46506, 35683, 7, 34, 11159, 42099, 5827, 13, 49257, 6381, 11121, 395, 7240, 796, 705, 282, 425, 6, 42243, 352, 42099, 19269, 9792, 12789, 10786, 4, 73, 3256, 5827, 13, 49257, 6381, 354, 7641, 524, 8, 532, 19269, 9792, 12789, 10786, 4, 73, 3256, 256, 19, 13, 47356, 418, 396, 524, 8, 1875, 604, 1635, 21268, 42243, 352, 17852, 5188, 657, 23578, 8, 1635, 1802, 1220, 327, 28270, 7, 28104, 16034, 357, 46506, 256, 17, 13, 403, 1557, 538, 312, 11, 256, 17, 13, 47356, 418, 396, 524, 16034, 357, 46506, 256, 16, 13, 403, 1557, 538, 312, 11, 256, 16, 13, 47356, 418, 396, 524, 16034, 357, 46506, 5827, 13, 403, 1557, 538, 312, 11, 13669, 13, 47356, 418, 396, 524, 16034, 13669, 32357, 1268, 5827, 6177, 13669, 13, 26029, 20850, 31712, 312, 796, 5827, 13, 26029, 20850, 31712, 312, 33411, 13669, 13, 47356, 5958, 3672, 796, 705, 272, 22859, 532, 10726, 2910, 2994, 281, 22859, 6, 44441, 11050, 5827, 13, 403, 1557, 538, 312, 367, 10116, 2751, 20625, 7, 47356, 5958, 13, 47356, 418, 396, 524, 8, 796, 13669, 13, 47356, 418, 396, 524, 8, 7054, 256, 16, 8, 7054, 256, 17, 32357, 1268, 357, 46506, 5827, 13, 403, 1557, 538, 312, 11, 14103, 13, 30349, 9688, 2435, 16034, 14103, 32357, 1268, 5827, 6177, 14103, 13, 26029, 20850, 31712, 312, 796, 5827, 13, 26029, 20850, 31712, 312, 33411, 14103, 13, 30349, 3672, 796, 705, 5767, 16370, 259, 21072, 767, 13, 20, 10527, 745, 22524, 11537, 7054, 256, 18, 6177, 256, 17, 13, 403, 1557, 538, 312, 796, 256, 18, 13, 403, 1557, 538, 312, 33411, 256, 17, 13, 47356, 418, 396, 524, 1279, 256, 18, 13, 30349, 9688, 2435, 8, 7054, 256, 19, 32357, 1268, 5827, 6177, 256, 19, 13, 403, 1557, 538, 312, 796, 5827, 13, 403, 1557, 538, 312 ]
For those records from the products and each product's manufacturer, a bar chart shows the distribution of founder and the sum of manufacturer , and group by attribute founder, order in desc by the total number of manufacturer.
SELECT Founder, SUM(Manufacturer) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder ORDER BY SUM(Manufacturer) DESC
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 257, 2318, 8262, 2523, 262, 6082, 286, 9119, 290, 262, 2160, 286, 11554, 837, 290, 1448, 416, 11688, 9119, 11, 1502, 287, 1715, 416, 262, 2472, 1271, 286, 11554, 13, 46506, 30153, 11, 35683, 7, 44445, 15051, 8, 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, 30153, 38678, 11050, 35683, 7, 44445, 15051, 8, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 257, 2318, 8262, 2523, 262, 6082, 286, 9119, 290, 262, 2160, 286, 11554, 837, 290, 1448, 416, 11688, 9119, 11, 1502, 287, 1715, 416, 262, 2472, 1271, 286, 11554, 13, 46506, 30153, 11, 35683, 7, 44445, 15051, 8, 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, 30153, 38678, 11050, 35683, 7, 44445, 15051, 8, 22196, 34 ]
what are all the open 1st viii with u15 4th iv being gt
SELECT "Open 1st VIII" FROM table_16626 WHERE "U15 4th IV" = 'GT'
[ 10919, 389, 477, 262, 1280, 352, 301, 410, 15479, 351, 334, 1314, 604, 400, 21628, 852, 308, 83, 46506, 366, 11505, 352, 301, 25197, 1, 16034, 3084, 62, 23055, 2075, 33411, 366, 52, 1314, 604, 400, 8363, 1, 796, 705, 19555, 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, 389, 477, 262, 1280, 352, 301, 410, 15479, 351, 334, 1314, 604, 400, 21628, 852, 308, 83, 46506, 366, 11505, 352, 301, 25197, 1, 16034, 3084, 62, 23055, 2075, 33411, 366, 52, 1314, 604, 400, 8363, 1, 796, 705, 19555, 6 ]
What is the total attendance with a 1-0 result, at Venue H, and Round SF?
SELECT SUM(attendance) FROM table_name_35 WHERE result = "1-0" AND venue = "h" AND round = "sf"
[ 2061, 318, 262, 2472, 14858, 351, 257, 352, 12, 15, 1255, 11, 379, 9932, 518, 367, 11, 290, 10485, 14362, 30, 46506, 35683, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 2327, 33411, 1255, 796, 366, 16, 12, 15, 1, 5357, 14359, 796, 366, 71, 1, 5357, 2835, 796, 366, 28202, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2472, 14858, 351, 257, 352, 12, 15, 1255, 11, 379, 9932, 518, 367, 11, 290, 10485, 14362, 30, 46506, 35683, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 2327, 33411, 1255, 796, 366, 16, 12, 15, 1, 5357, 14359, 796, 366, 71, 1, 5357, 2835, 796, 366, 28202, 1 ]
Select fixed number of data rows.
SELECT * FROM (SELECT ROW_NUMBER() OVER (ORDER BY '##Datefield##') AS RowNumber, * FROM "##Database##") AS Foo WHERE RowNumber BETWEEN '##From##' AND '##To##'
[ 17563, 5969, 1271, 286, 1366, 15274, 13, 46506, 1635, 16034, 357, 46506, 371, 3913, 62, 41359, 13246, 3419, 28729, 357, 12532, 1137, 11050, 705, 2235, 10430, 3245, 2235, 11537, 7054, 11314, 15057, 11, 1635, 16034, 366, 2235, 38105, 2235, 4943, 7054, 36080, 33411, 11314, 15057, 38651, 8845, 1677, 705, 2235, 4863, 2235, 6, 5357, 705, 2235, 2514, 2235, 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 ]
[ 17563, 5969, 1271, 286, 1366, 15274, 13, 46506, 1635, 16034, 357, 46506, 371, 3913, 62, 41359, 13246, 3419, 28729, 357, 12532, 1137, 11050, 705, 2235, 10430, 3245, 2235, 11537, 7054, 11314, 15057, 11, 1635, 16034, 366, 2235, 38105, 2235, 4943, 7054, 36080, 33411, 11314, 15057, 38651, 8845, 1677, 705, 2235, 4863, 2235, 6, 5357, 705, 2235, 2514, 2235, 6 ]
What is the record when the result was w 52 43?
SELECT "Record" FROM table_8164 WHERE "Result" = 'w 52–43'
[ 2061, 318, 262, 1700, 618, 262, 1255, 373, 266, 6740, 5946, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 23, 23237, 33411, 366, 23004, 1, 796, 705, 86, 6740, 1906, 3559, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1700, 618, 262, 1255, 373, 266, 6740, 5946, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 23, 23237, 33411, 366, 23004, 1, 796, 705, 86, 6740, 1906, 3559, 6 ]
what were the three most frequent diagnosis that occurred?
SELECT t1.diagnosisname FROM (SELECT diagnosis.diagnosisname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM diagnosis GROUP BY diagnosis.diagnosisname) AS t1 WHERE t1.c1 <= 3
[ 10919, 547, 262, 1115, 749, 10792, 13669, 326, 5091, 30, 46506, 256, 16, 13, 47356, 5958, 3672, 16034, 357, 46506, 13669, 13, 47356, 5958, 3672, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, 7, 28104, 22196, 34, 8, 7054, 269, 16, 16034, 13669, 44441, 11050, 13669, 13, 47356, 5958, 3672, 8, 7054, 256, 16, 33411, 256, 16, 13, 66, 16, 19841, 513 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 547, 262, 1115, 749, 10792, 13669, 326, 5091, 30, 46506, 256, 16, 13, 47356, 5958, 3672, 16034, 357, 46506, 13669, 13, 47356, 5958, 3672, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, 7, 28104, 22196, 34, 8, 7054, 269, 16, 16034, 13669, 44441, 11050, 13669, 13, 47356, 5958, 3672, 8, 7054, 256, 16, 33411, 256, 16, 13, 66, 16, 19841, 513 ]
Which employee manage most number of peoples? List employee's first and last name, and number of people report to that employee.
SELECT T2.first_name, T2.last_name, COUNT(T1.reports_to) FROM employees AS T1 JOIN employees AS T2 ON T1.reports_to = T2.id GROUP BY T1.reports_to ORDER BY COUNT(T1.reports_to) DESC LIMIT 1
[ 13828, 6538, 6687, 749, 1271, 286, 14366, 30, 7343, 6538, 338, 717, 290, 938, 1438, 11, 290, 1271, 286, 661, 989, 284, 326, 6538, 13, 46506, 309, 17, 13, 11085, 62, 3672, 11, 309, 17, 13, 12957, 62, 3672, 11, 327, 28270, 7, 51, 16, 13, 48922, 62, 1462, 8, 16034, 4409, 7054, 309, 16, 32357, 1268, 4409, 7054, 309, 17, 6177, 309, 16, 13, 48922, 62, 1462, 796, 309, 17, 13, 312, 44441, 11050, 309, 16, 13, 48922, 62, 1462, 38678, 11050, 327, 28270, 7, 51, 16, 13, 48922, 62, 1462, 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, 1, 1, 1, 1, 1, 1 ]
[ 13828, 6538, 6687, 749, 1271, 286, 14366, 30, 7343, 6538, 338, 717, 290, 938, 1438, 11, 290, 1271, 286, 661, 989, 284, 326, 6538, 13, 46506, 309, 17, 13, 11085, 62, 3672, 11, 309, 17, 13, 12957, 62, 3672, 11, 327, 28270, 7, 51, 16, 13, 48922, 62, 1462, 8, 16034, 4409, 7054, 309, 16, 32357, 1268, 4409, 7054, 309, 17, 6177, 309, 16, 13, 48922, 62, 1462, 796, 309, 17, 13, 312, 44441, 11050, 309, 16, 13, 48922, 62, 1462, 38678, 11050, 327, 28270, 7, 51, 16, 13, 48922, 62, 1462, 8, 22196, 34, 27564, 2043, 352 ]
What was the Ram's conference record when they were the CBI champions?
SELECT "Conference" FROM table_19439 WHERE "Postseason" = 'CBI Champions'
[ 2061, 373, 262, 7431, 338, 4495, 1700, 618, 484, 547, 262, 47970, 7827, 30, 46506, 366, 3103, 4288, 1, 16034, 3084, 62, 22913, 2670, 33411, 366, 6307, 6230, 1, 796, 705, 34, 3483, 6662, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 7431, 338, 4495, 1700, 618, 484, 547, 262, 47970, 7827, 30, 46506, 366, 3103, 4288, 1, 16034, 3084, 62, 22913, 2670, 33411, 366, 6307, 6230, 1, 796, 705, 34, 3483, 6662, 6 ]
What is the highest Game, when Streak is 'Win 1', and when Date is 'February 18'?
SELECT MAX("Game") FROM table_9658 WHERE "Streak" = 'win 1' AND "Date" = 'february 18'
[ 2061, 318, 262, 4511, 3776, 11, 618, 9737, 461, 318, 705, 16643, 352, 3256, 290, 618, 7536, 318, 705, 21816, 1248, 30960, 46506, 25882, 7203, 8777, 4943, 16034, 3084, 62, 24, 38431, 33411, 366, 30611, 461, 1, 796, 705, 5404, 352, 6, 5357, 366, 10430, 1, 796, 705, 69, 1765, 3728, 1248, 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 ]
[ 2061, 318, 262, 4511, 3776, 11, 618, 9737, 461, 318, 705, 16643, 352, 3256, 290, 618, 7536, 318, 705, 21816, 1248, 30960, 46506, 25882, 7203, 8777, 4943, 16034, 3084, 62, 24, 38431, 33411, 366, 30611, 461, 1, 796, 705, 5404, 352, 6, 5357, 366, 10430, 1, 796, 705, 69, 1765, 3728, 1248, 6 ]
Please tell me the total star ratings of each movie title using a bar chart, and list from high to low by the y-axis.
SELECT title, SUM(stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID GROUP BY title ORDER BY SUM(stars) DESC
[ 5492, 1560, 502, 262, 2472, 3491, 10109, 286, 1123, 3807, 3670, 1262, 257, 2318, 8262, 11, 290, 1351, 422, 1029, 284, 1877, 416, 262, 331, 12, 22704, 13, 46506, 3670, 11, 35683, 7, 30783, 8, 16034, 12028, 7054, 309, 16, 32357, 1268, 15875, 7054, 309, 17, 6177, 309, 16, 13, 76, 2389, 796, 309, 17, 13, 76, 2389, 44441, 11050, 3670, 38678, 11050, 35683, 7, 30783, 8, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5492, 1560, 502, 262, 2472, 3491, 10109, 286, 1123, 3807, 3670, 1262, 257, 2318, 8262, 11, 290, 1351, 422, 1029, 284, 1877, 416, 262, 331, 12, 22704, 13, 46506, 3670, 11, 35683, 7, 30783, 8, 16034, 12028, 7054, 309, 16, 32357, 1268, 15875, 7054, 309, 17, 6177, 309, 16, 13, 76, 2389, 796, 309, 17, 13, 76, 2389, 44441, 11050, 3670, 38678, 11050, 35683, 7, 30783, 8, 22196, 34 ]
Show me the number of patients suffering from hypertension but not coronary artery disease or cardiac catheterization as their primary disease who died on or before 2154.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "HYPERTENSION;RULE OUT CORONARY ARTERY DISEASE\CARDIAC CATH" AND demographic.dod_year <= "2154.0"
[ 15307, 502, 262, 1271, 286, 3871, 7195, 422, 37454, 475, 407, 37151, 37646, 4369, 393, 26077, 3797, 43332, 1634, 355, 511, 4165, 4369, 508, 3724, 319, 393, 878, 362, 21526, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 47356, 5958, 796, 366, 42598, 47, 17395, 16938, 2849, 26, 49, 24212, 16289, 23929, 1340, 13153, 5923, 5781, 56, 13954, 36, 11159, 59, 34, 9795, 40, 2246, 327, 12599, 1, 5357, 16728, 13, 67, 375, 62, 1941, 19841, 366, 17, 21526, 13, 15, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 502, 262, 1271, 286, 3871, 7195, 422, 37454, 475, 407, 37151, 37646, 4369, 393, 26077, 3797, 43332, 1634, 355, 511, 4165, 4369, 508, 3724, 319, 393, 878, 362, 21526, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 47356, 5958, 796, 366, 42598, 47, 17395, 16938, 2849, 26, 49, 24212, 16289, 23929, 1340, 13153, 5923, 5781, 56, 13954, 36, 11159, 59, 34, 9795, 40, 2246, 327, 12599, 1, 5357, 16728, 13, 67, 375, 62, 1941, 19841, 366, 17, 21526, 13, 15, 1 ]
What is the highest season wth a Win of 1 and a Position that is 8th?
SELECT MAX("Season") FROM table_5413 WHERE "Wins" = '1' AND "Position" = '8th'
[ 2061, 318, 262, 4511, 1622, 266, 400, 257, 7178, 286, 352, 290, 257, 23158, 326, 318, 807, 400, 30, 46506, 25882, 7203, 18960, 4943, 16034, 3084, 62, 4051, 1485, 33411, 366, 54, 1040, 1, 796, 705, 16, 6, 5357, 366, 26545, 1, 796, 705, 23, 400, 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 ]
[ 2061, 318, 262, 4511, 1622, 266, 400, 257, 7178, 286, 352, 290, 257, 23158, 326, 318, 807, 400, 30, 46506, 25882, 7203, 18960, 4943, 16034, 3084, 62, 4051, 1485, 33411, 366, 54, 1040, 1, 796, 705, 16, 6, 5357, 366, 26545, 1, 796, 705, 23, 400, 6 ]
Comments on my answers with fixed score. How many comments do I have for each score.
SELECT p.Id AS "post_link", c.Text FROM Posts AS p JOIN Comments AS c ON c.PostId = p.Id WHERE p.OwnerUserId = @UserId AND NOT c.UserId = @UserId
[ 23903, 319, 616, 7429, 351, 5969, 4776, 13, 1374, 867, 3651, 466, 314, 423, 329, 1123, 4776, 13, 46506, 279, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 269, 13, 8206, 16034, 12043, 7054, 279, 32357, 1268, 19502, 7054, 269, 6177, 269, 13, 6307, 7390, 796, 279, 13, 7390, 33411, 279, 13, 42419, 12982, 7390, 796, 2488, 12982, 7390, 5357, 5626, 269, 13, 12982, 7390, 796, 2488, 12982, 7390 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 23903, 319, 616, 7429, 351, 5969, 4776, 13, 1374, 867, 3651, 466, 314, 423, 329, 1123, 4776, 13, 46506, 279, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 269, 13, 8206, 16034, 12043, 7054, 279, 32357, 1268, 19502, 7054, 269, 6177, 269, 13, 6307, 7390, 796, 279, 13, 7390, 33411, 279, 13, 42419, 12982, 7390, 796, 2488, 12982, 7390, 5357, 5626, 269, 13, 12982, 7390, 796, 2488, 12982, 7390 ]
Who was the constructor of the car that Jan Lammers made 7-14 rounds in?
SELECT constructor FROM table_name_25 WHERE driver = "jan lammers" AND rounds = "7-14"
[ 8241, 373, 262, 23772, 286, 262, 1097, 326, 2365, 406, 36846, 925, 767, 12, 1415, 9196, 287, 30, 46506, 23772, 16034, 3084, 62, 3672, 62, 1495, 33411, 4639, 796, 366, 13881, 300, 36846, 1, 5357, 9196, 796, 366, 22, 12, 1415, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 23772, 286, 262, 1097, 326, 2365, 406, 36846, 925, 767, 12, 1415, 9196, 287, 30, 46506, 23772, 16034, 3084, 62, 3672, 62, 1495, 33411, 4639, 796, 366, 13881, 300, 36846, 1, 5357, 9196, 796, 366, 22, 12, 1415, 1 ]
Show the number of documents created in each day and bin document date by weekday and group by document type description with a stacked bar chart, could you rank by the Y-axis in descending please?
SELECT Document_Date, COUNT(Document_Date) FROM Ref_Document_Types AS T1 JOIN Documents AS T2 ON T1.Document_Type_Code = T2.Document_Type_Code GROUP BY Document_Type_Description ORDER BY COUNT(Document_Date) DESC
[ 15307, 262, 1271, 286, 4963, 2727, 287, 1123, 1110, 290, 9874, 3188, 3128, 416, 28269, 290, 1448, 416, 3188, 2099, 6764, 351, 257, 24167, 2318, 8262, 11, 714, 345, 4279, 416, 262, 575, 12, 22704, 287, 31491, 3387, 30, 46506, 16854, 62, 10430, 11, 327, 28270, 7, 24941, 62, 10430, 8, 16034, 6524, 62, 24941, 62, 31431, 7054, 309, 16, 32357, 1268, 33267, 7054, 309, 17, 6177, 309, 16, 13, 24941, 62, 6030, 62, 10669, 796, 309, 17, 13, 24941, 62, 6030, 62, 10669, 44441, 11050, 16854, 62, 6030, 62, 11828, 38678, 11050, 327, 28270, 7, 24941, 62, 10430, 8, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 262, 1271, 286, 4963, 2727, 287, 1123, 1110, 290, 9874, 3188, 3128, 416, 28269, 290, 1448, 416, 3188, 2099, 6764, 351, 257, 24167, 2318, 8262, 11, 714, 345, 4279, 416, 262, 575, 12, 22704, 287, 31491, 3387, 30, 46506, 16854, 62, 10430, 11, 327, 28270, 7, 24941, 62, 10430, 8, 16034, 6524, 62, 24941, 62, 31431, 7054, 309, 16, 32357, 1268, 33267, 7054, 309, 17, 6177, 309, 16, 13, 24941, 62, 6030, 62, 10669, 796, 309, 17, 13, 24941, 62, 6030, 62, 10669, 44441, 11050, 16854, 62, 6030, 62, 11828, 38678, 11050, 327, 28270, 7, 24941, 62, 10430, 8, 22196, 34 ]
is there a LIMOUSINE service available from the PIT airport
SELECT DISTINCT ground_service.transport_type FROM airport, ground_service WHERE airport.airport_code = 'PIT' AND ground_service.airport_code = airport.airport_code AND ground_service.transport_type = 'LIMOUSINE'
[ 271, 612, 257, 27564, 20958, 8881, 2139, 1695, 422, 262, 49040, 9003, 46506, 360, 8808, 1268, 4177, 2323, 62, 15271, 13, 7645, 634, 62, 4906, 16034, 9003, 11, 2323, 62, 15271, 33411, 9003, 13, 958, 634, 62, 8189, 796, 705, 47, 2043, 6, 5357, 2323, 62, 15271, 13, 958, 634, 62, 8189, 796, 9003, 13, 958, 634, 62, 8189, 5357, 2323, 62, 15271, 13, 7645, 634, 62, 4906, 796, 705, 43, 3955, 20958, 8881, 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 ]
[ 271, 612, 257, 27564, 20958, 8881, 2139, 1695, 422, 262, 49040, 9003, 46506, 360, 8808, 1268, 4177, 2323, 62, 15271, 13, 7645, 634, 62, 4906, 16034, 9003, 11, 2323, 62, 15271, 33411, 9003, 13, 958, 634, 62, 8189, 796, 705, 47, 2043, 6, 5357, 2323, 62, 15271, 13, 958, 634, 62, 8189, 796, 9003, 13, 958, 634, 62, 8189, 5357, 2323, 62, 15271, 13, 7645, 634, 62, 4906, 796, 705, 43, 3955, 20958, 8881, 6 ]
What was the sail number of Two True?
SELECT sail_number FROM table_25561560_3 WHERE yacht = "Two True"
[ 2061, 373, 262, 14936, 1271, 286, 4930, 6407, 30, 46506, 14936, 62, 17618, 16034, 3084, 62, 1495, 3980, 1314, 1899, 62, 18, 33411, 43207, 796, 366, 7571, 6407, 1 ]
[ 1, 1, 1, 1, 1, 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, 14936, 1271, 286, 4930, 6407, 30, 46506, 14936, 62, 17618, 16034, 3084, 62, 1495, 3980, 1314, 1899, 62, 18, 33411, 43207, 796, 366, 7571, 6407, 1 ]
Which Place has a To par smaller than 15, and a Score of 74-74-74-75=297?
SELECT place FROM table_name_26 WHERE to_par < 15 AND score = 74 - 74 - 74 - 75 = 297
[ 13828, 8474, 468, 257, 1675, 1582, 4833, 621, 1315, 11, 290, 257, 15178, 286, 8915, 12, 4524, 12, 4524, 12, 2425, 28, 26561, 30, 46506, 1295, 16034, 3084, 62, 3672, 62, 2075, 33411, 284, 62, 1845, 1279, 1315, 5357, 4776, 796, 8915, 532, 8915, 532, 8915, 532, 5441, 796, 41103 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8474, 468, 257, 1675, 1582, 4833, 621, 1315, 11, 290, 257, 15178, 286, 8915, 12, 4524, 12, 4524, 12, 2425, 28, 26561, 30, 46506, 1295, 16034, 3084, 62, 3672, 62, 2075, 33411, 284, 62, 1845, 1279, 1315, 5357, 4776, 796, 8915, 532, 8915, 532, 8915, 532, 5441, 796, 41103 ]
heart failure ( new york heart association [nyha] iv )
SELECT * FROM table_train_23 WHERE heart_disease = 1
[ 11499, 5287, 357, 649, 331, 967, 2612, 8112, 685, 3281, 3099, 60, 21628, 1267, 46506, 1635, 16034, 3084, 62, 27432, 62, 1954, 33411, 2612, 62, 67, 786, 589, 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 ]
[ 11499, 5287, 357, 649, 331, 967, 2612, 8112, 685, 3281, 3099, 60, 21628, 1267, 46506, 1635, 16034, 3084, 62, 27432, 62, 1954, 33411, 2612, 62, 67, 786, 589, 796, 352 ]
What is the Population of Sargent County?
SELECT "Population" FROM table_59022 WHERE "County" = 'sargent'
[ 2061, 318, 262, 20133, 286, 311, 853, 298, 3418, 30, 46506, 366, 45251, 1, 16034, 3084, 62, 36993, 1828, 33411, 366, 12332, 88, 1, 796, 705, 82, 853, 298, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 20133, 286, 311, 853, 298, 3418, 30, 46506, 366, 45251, 1, 16034, 3084, 62, 36993, 1828, 33411, 366, 12332, 88, 1, 796, 705, 82, 853, 298, 6 ]
What is the Date of the Kroger Classic Tournament?
SELECT "Date" FROM table_66187 WHERE "Tournament" = 'kroger classic'
[ 2061, 318, 262, 7536, 286, 262, 30088, 1362, 13449, 9595, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 2791, 23451, 33411, 366, 51, 5138, 1, 796, 705, 74, 305, 1362, 6833, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 7536, 286, 262, 30088, 1362, 13449, 9595, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 2791, 23451, 33411, 366, 51, 5138, 1, 796, 705, 74, 305, 1362, 6833, 6 ]
Please use a bar chart to show the total amount of payment by each payment method code.
SELECT Payment_Method_Code, SUM(Amount_Payment) FROM Payments GROUP BY Payment_Method_Code
[ 5492, 779, 257, 2318, 8262, 284, 905, 262, 2472, 2033, 286, 6074, 416, 1123, 6074, 2446, 2438, 13, 46506, 28784, 62, 17410, 62, 10669, 11, 35683, 7, 31264, 62, 19197, 434, 8, 16034, 41318, 44441, 11050, 28784, 62, 17410, 62, 10669 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5492, 779, 257, 2318, 8262, 284, 905, 262, 2472, 2033, 286, 6074, 416, 1123, 6074, 2446, 2438, 13, 46506, 28784, 62, 17410, 62, 10669, 11, 35683, 7, 31264, 62, 19197, 434, 8, 16034, 41318, 44441, 11050, 28784, 62, 17410, 62, 10669 ]
How many digital terrestrial channels are there for channel 4?
SELECT COUNT(digital_terrestrial_channel) FROM table_182410_10 WHERE channel = "channel 4"
[ 2437, 867, 4875, 35609, 9619, 389, 612, 329, 6518, 604, 30, 46506, 327, 28270, 7, 34725, 62, 353, 23522, 62, 17620, 8, 16034, 3084, 62, 1507, 1731, 940, 62, 940, 33411, 6518, 796, 366, 17620, 604, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 4875, 35609, 9619, 389, 612, 329, 6518, 604, 30, 46506, 327, 28270, 7, 34725, 62, 353, 23522, 62, 17620, 8, 16034, 3084, 62, 1507, 1731, 940, 62, 940, 33411, 6518, 796, 366, 17620, 604, 1 ]
What is the 2000 value if the 1998 value is 1.5?
SELECT 2000 FROM table_name_67 WHERE 1998 = "1.5"
[ 2061, 318, 262, 4751, 1988, 611, 262, 7795, 1988, 318, 352, 13, 20, 30, 46506, 4751, 16034, 3084, 62, 3672, 62, 3134, 33411, 7795, 796, 366, 16, 13, 20, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 4751, 1988, 611, 262, 7795, 1988, 318, 352, 13, 20, 30, 46506, 4751, 16034, 3084, 62, 3672, 62, 3134, 33411, 7795, 796, 366, 16, 13, 20, 1 ]