instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
What are the assets (in billions) of the company headquartered in China and whose profits are 21.2 billion?
SELECT "Assets (billion $)" FROM table_21111 WHERE "Headquarters" = 'China' AND "Profits (billion $)" = '21.2'
[ 2061, 389, 262, 6798, 357, 259, 13188, 8, 286, 262, 1664, 48583, 287, 2807, 290, 3025, 10177, 389, 2310, 13, 17, 2997, 30, 46506, 366, 8021, 1039, 357, 24540, 720, 16725, 16034, 3084, 62, 21895, 1157, 33411, 366, 13847, 8230, 1, 796, 705, 14581, 6, 5357, 366, 15404, 896, 357, 24540, 720, 16725, 796, 705, 2481, 13, 17, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 262, 6798, 357, 259, 13188, 8, 286, 262, 1664, 48583, 287, 2807, 290, 3025, 10177, 389, 2310, 13, 17, 2997, 30, 46506, 366, 8021, 1039, 357, 24540, 720, 16725, 16034, 3084, 62, 21895, 1157, 33411, 366, 13847, 8230, 1, 796, 705, 14581, 6, 5357, 366, 15404, 896, 357, 24540, 720, 16725, 796, 705, 2481, 13, 17, 6 ]
how many hours has it been since the first time that patient 6170 on the current icu visit received a .9% normal saline intake?
SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', inputevents_cv.charttime)) FROM inputevents_cv WHERE inputevents_cv.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 6170) AND icustays.outtime IS NULL) AND inputevents_cv.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = '.9% normal saline' AND d_items.linksto = 'inputevents_cv') ORDER BY inputevents_cv.charttime LIMIT 1
[ 4919, 867, 2250, 468, 340, 587, 1201, 262, 717, 640, 326, 5827, 718, 17279, 319, 262, 1459, 14158, 84, 3187, 2722, 257, 764, 24, 4, 3487, 47375, 10337, 30, 46506, 1987, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694, 28955, 532, 19269, 9792, 12789, 10786, 4, 73, 3256, 287, 79, 1133, 85, 658, 62, 33967, 13, 40926, 2435, 4008, 16034, 287, 79, 1133, 85, 658, 62, 33967, 33411, 287, 79, 1133, 85, 658, 62, 33967, 13, 291, 436, 323, 62, 312, 3268, 357, 46506, 14158, 436, 592, 13, 291, 436, 323, 62, 312, 16034, 14158 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 2250, 468, 340, 587, 1201, 262, 717, 640, 326, 5827, 718, 17279, 319, 262, 1459, 14158, 84, 3187, 2722, 257, 764, 24, 4, 3487, 47375, 10337, 30, 46506, 1987, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694, 28955, 532, 19269, 9792, 12789, 10786, 4, 73, 3256, 287, 79, 1133, 85, 658, 62, 33967, 13, 40926, 2435, 4008, 16034, 287, 79, 1133, 85, 658, 62, 33967, 33411, 287, 79, 1133, 85, 658, 62, 33967, 13, 291, 436, 323, 62, 312, 3268, 357, 46506, 14158, 436, 592, 13, 291, 436, 323, 62, 312, 16034, 14158 ]
What is the Main span of the Qincaobei Bridge
SELECT "Main span feet" FROM table_42135 WHERE "Name" = 'qincaobei bridge'
[ 2061, 318, 262, 8774, 11506, 286, 262, 1195, 1939, 64, 5910, 72, 10290, 46506, 366, 13383, 11506, 3625, 1, 16034, 3084, 62, 3682, 17059, 33411, 366, 5376, 1, 796, 705, 80, 1939, 64, 5910, 72, 7696, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 8774, 11506, 286, 262, 1195, 1939, 64, 5910, 72, 10290, 46506, 366, 13383, 11506, 3625, 1, 16034, 3084, 62, 3682, 17059, 33411, 366, 5376, 1, 796, 705, 80, 1939, 64, 5910, 72, 7696, 6 ]
is there any results of the urine, voided specimen microbiology test of patient 025-19271?
SELECT COUNT(*) FROM microlab WHERE microlab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '025-19271')) AND microlab.culturesite = 'urine, voided specimen'
[ 271, 612, 597, 2482, 286, 262, 18922, 11, 7608, 1384, 31674, 24559, 1435, 1332, 286, 5827, 657, 1495, 12, 1129, 28977, 30, 46506, 327, 28270, 7, 28104, 16034, 4580, 23912, 33411, 4580, 23912, 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, 36629, 12, 1129, 28977, 6, 4008, 5357, 4580, 23912, 13, 40820, 942, 578, 796, 705, 333, 500, 11, 7608, 1384, 31674, 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 ]
[ 271, 612, 597, 2482, 286, 262, 18922, 11, 7608, 1384, 31674, 24559, 1435, 1332, 286, 5827, 657, 1495, 12, 1129, 28977, 30, 46506, 327, 28270, 7, 28104, 16034, 4580, 23912, 33411, 4580, 23912, 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, 36629, 12, 1129, 28977, 6, 4008, 5357, 4580, 23912, 13, 40820, 942, 578, 796, 705, 333, 500, 11, 7608, 1384, 31674, 6 ]
Which airport is in Xinjiang province in the city Kuqa?
SELECT "Airport" FROM table_42242 WHERE "Province" = 'xinjiang' AND "City" = 'kuqa'
[ 13828, 9003, 318, 287, 25426, 39598, 8473, 287, 262, 1748, 12554, 20402, 30, 46506, 366, 16170, 634, 1, 16034, 3084, 62, 3682, 27877, 33411, 366, 15946, 924, 1, 796, 705, 87, 259, 39598, 6, 5357, 366, 14941, 1, 796, 705, 23063, 20402, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 9003, 318, 287, 25426, 39598, 8473, 287, 262, 1748, 12554, 20402, 30, 46506, 366, 16170, 634, 1, 16034, 3084, 62, 3682, 27877, 33411, 366, 15946, 924, 1, 796, 705, 87, 259, 39598, 6, 5357, 366, 14941, 1, 796, 705, 23063, 20402, 6 ]
What was the score of the game when the home was Atlanta?
SELECT "Score" FROM table_10330 WHERE "Home" = 'atlanta'
[ 2061, 373, 262, 4776, 286, 262, 983, 618, 262, 1363, 373, 9371, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 15197, 1270, 33411, 366, 16060, 1, 796, 705, 25864, 4910, 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, 373, 262, 4776, 286, 262, 983, 618, 262, 1363, 373, 9371, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 15197, 1270, 33411, 366, 16060, 1, 796, 705, 25864, 4910, 6 ]
What is the number of start date of each apartment booking for each weekday? Return a bar chart, show y axis in ascending order please.
SELECT booking_start_date, COUNT(booking_start_date) FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id ORDER BY COUNT(booking_start_date)
[ 2061, 318, 262, 1271, 286, 923, 3128, 286, 1123, 7962, 25452, 329, 1123, 28269, 30, 8229, 257, 2318, 8262, 11, 905, 331, 16488, 287, 41988, 1502, 3387, 13, 46506, 25452, 62, 9688, 62, 4475, 11, 327, 28270, 7, 2070, 278, 62, 9688, 62, 4475, 8, 16034, 5949, 1823, 62, 10482, 654, 7054, 309, 16, 32357, 1268, 22596, 902, 7054, 309, 17, 6177, 309, 16, 13, 2373, 62, 312, 796, 309, 17, 13, 2373, 62, 312, 38678, 11050, 327, 28270, 7, 2070, 278, 62, 9688, 62, 4475, 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 ]
[ 2061, 318, 262, 1271, 286, 923, 3128, 286, 1123, 7962, 25452, 329, 1123, 28269, 30, 8229, 257, 2318, 8262, 11, 905, 331, 16488, 287, 41988, 1502, 3387, 13, 46506, 25452, 62, 9688, 62, 4475, 11, 327, 28270, 7, 2070, 278, 62, 9688, 62, 4475, 8, 16034, 5949, 1823, 62, 10482, 654, 7054, 309, 16, 32357, 1268, 22596, 902, 7054, 309, 17, 6177, 309, 16, 13, 2373, 62, 312, 796, 309, 17, 13, 2373, 62, 312, 38678, 11050, 327, 28270, 7, 2070, 278, 62, 9688, 62, 4475, 8 ]
For all employees who have the letters D or S in their first name, a bar chart shows the distribution of job_id and the average of department_id , and group by attribute job_id, and I want to order x-axis in ascending order please.
SELECT JOB_ID, AVG(DEPARTMENT_ID) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' GROUP BY JOB_ID ORDER BY JOB_ID
[ 1890, 477, 4409, 508, 423, 262, 7475, 360, 393, 311, 287, 511, 717, 1438, 11, 257, 2318, 8262, 2523, 262, 6082, 286, 1693, 62, 312, 290, 262, 2811, 286, 5011, 62, 312, 837, 290, 1448, 416, 11688, 1693, 62, 312, 11, 290, 314, 765, 284, 1502, 2124, 12, 22704, 287, 41988, 1502, 3387, 13, 46506, 449, 9864, 62, 2389, 11, 35224, 7, 7206, 30709, 10979, 62, 2389, 8, 16034, 4409, 33411, 31328, 62, 20608, 34178, 705, 4, 35, 4, 6, 6375, 31328, 62, 20608, 34178, 705, 4, 50, 4, 6, 44441, 11050, 449, 9864, 62, 2389, 38678, 11050, 449, 9864 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 257, 2318, 8262, 2523, 262, 6082, 286, 1693, 62, 312, 290, 262, 2811, 286, 5011, 62, 312, 837, 290, 1448, 416, 11688, 1693, 62, 312, 11, 290, 314, 765, 284, 1502, 2124, 12, 22704, 287, 41988, 1502, 3387, 13, 46506, 449, 9864, 62, 2389, 11, 35224, 7, 7206, 30709, 10979, 62, 2389, 8, 16034, 4409, 33411, 31328, 62, 20608, 34178, 705, 4, 35, 4, 6, 6375, 31328, 62, 20608, 34178, 705, 4, 50, 4, 6, 44441, 11050, 449, 9864, 62, 2389, 38678, 11050, 449, 9864 ]
which nation has won the most silver medals in the biathlon at the winter paralympics ?
SELECT "nation" FROM table_204_761 ORDER BY "silver" DESC LIMIT 1
[ 4758, 3277, 468, 1839, 262, 749, 8465, 28057, 287, 262, 3182, 50236, 379, 262, 7374, 26901, 3149, 873, 5633, 46506, 366, 25729, 1, 16034, 3084, 62, 18638, 62, 4304, 16, 38678, 11050, 366, 40503, 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 ]
[ 4758, 3277, 468, 1839, 262, 749, 8465, 28057, 287, 262, 3182, 50236, 379, 262, 7374, 26901, 3149, 873, 5633, 46506, 366, 25729, 1, 16034, 3084, 62, 18638, 62, 4304, 16, 38678, 11050, 366, 40503, 1, 22196, 34, 27564, 2043, 352 ]
What is the earliest season with driver Farad Bathena?
SELECT MIN(season) FROM table_name_34 WHERE driver = "farad bathena"
[ 2061, 318, 262, 14555, 1622, 351, 4639, 6755, 324, 6577, 831, 64, 30, 46506, 20625, 7, 6230, 8, 16034, 3084, 62, 3672, 62, 2682, 33411, 4639, 796, 366, 16370, 324, 7365, 831, 64, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14555, 1622, 351, 4639, 6755, 324, 6577, 831, 64, 30, 46506, 20625, 7, 6230, 8, 16034, 3084, 62, 3672, 62, 2682, 33411, 4639, 796, 366, 16370, 324, 7365, 831, 64, 1 ]
What are the names of the courses that have exactly 1 student enrollment?
SELECT T1.course_name FROM courses AS T1 JOIN student_course_enrolment AS T2 ON T1.course_id = T2.course_id GROUP BY T1.course_name HAVING COUNT(*) = 1
[ 2061, 389, 262, 3891, 286, 262, 10902, 326, 423, 3446, 352, 3710, 20753, 30, 46506, 309, 16, 13, 17319, 62, 3672, 16034, 10902, 7054, 309, 16, 32357, 1268, 3710, 62, 17319, 62, 268, 3225, 434, 7054, 309, 17, 6177, 309, 16, 13, 17319, 62, 312, 796, 309, 17, 13, 17319, 62, 312, 44441, 11050, 309, 16, 13, 17319, 62, 3672, 367, 10116, 2751, 327, 28270, 7, 28104, 796, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 262, 3891, 286, 262, 10902, 326, 423, 3446, 352, 3710, 20753, 30, 46506, 309, 16, 13, 17319, 62, 3672, 16034, 10902, 7054, 309, 16, 32357, 1268, 3710, 62, 17319, 62, 268, 3225, 434, 7054, 309, 17, 6177, 309, 16, 13, 17319, 62, 312, 796, 309, 17, 13, 17319, 62, 312, 44441, 11050, 309, 16, 13, 17319, 62, 3672, 367, 10116, 2751, 327, 28270, 7, 28104, 796, 352 ]
What is the minimum weights for people of each sex? Show a bar chart, and I want to show by the Y-axis in ascending please.
SELECT Sex, MIN(Weight) FROM people GROUP BY Sex ORDER BY MIN(Weight)
[ 2061, 318, 262, 5288, 19590, 329, 661, 286, 1123, 1714, 30, 5438, 257, 2318, 8262, 11, 290, 314, 765, 284, 905, 416, 262, 575, 12, 22704, 287, 41988, 3387, 13, 46506, 14419, 11, 20625, 7, 25844, 8, 16034, 661, 44441, 11050, 14419, 38678, 11050, 20625, 7, 25844, 8 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 5288, 19590, 329, 661, 286, 1123, 1714, 30, 5438, 257, 2318, 8262, 11, 290, 314, 765, 284, 905, 416, 262, 575, 12, 22704, 287, 41988, 3387, 13, 46506, 14419, 11, 20625, 7, 25844, 8, 16034, 661, 44441, 11050, 14419, 38678, 11050, 20625, 7, 25844, 8 ]
What is the score of the friendly competition?
SELECT score FROM table_name_72 WHERE competition = "friendly"
[ 2061, 318, 262, 4776, 286, 262, 8030, 5449, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 4761, 33411, 5449, 796, 366, 13120, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4776, 286, 262, 8030, 5449, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 4761, 33411, 5449, 796, 366, 13120, 1 ]
how many times are the magnesium tests given to patient 006-21143 during the last year?
SELECT COUNT(*) FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-21143')) AND lab.labname = 'magnesium' AND DATETIME(lab.labresulttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year')
[ 4919, 867, 1661, 389, 262, 33525, 5254, 1813, 284, 5827, 3571, 21, 12, 21895, 3559, 1141, 262, 938, 614, 30, 46506, 327, 28270, 7, 28104, 16034, 2248, 33411, 2248, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 28041, 12, 21895, 3559, 6, 4008, 5357, 2248, 13, 23912, 3672, 796, 705, 19726, 27619, 6, 5357, 360, 1404, 2767, 12789, 7, 23912, 13, 23912, 20274 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 389, 262, 33525, 5254, 1813, 284, 5827, 3571, 21, 12, 21895, 3559, 1141, 262, 938, 614, 30, 46506, 327, 28270, 7, 28104, 16034, 2248, 33411, 2248, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 28041, 12, 21895, 3559, 6, 4008, 5357, 2248, 13, 23912, 3672, 796, 705, 19726, 27619, 6, 5357, 360, 1404, 2767, 12789, 7, 23912, 13, 23912, 20274 ]
What is the torque of the 1.6 petrol with daewoo power?
SELECT "Torque" FROM table_36678 WHERE "Name" = '1.6 petrol' AND "Power" = 'daewoo'
[ 2061, 318, 262, 26415, 286, 262, 352, 13, 21, 34139, 351, 12379, 413, 2238, 1176, 30, 46506, 366, 15884, 4188, 1, 16034, 3084, 62, 2623, 30924, 33411, 366, 5376, 1, 796, 705, 16, 13, 21, 34139, 6, 5357, 366, 13434, 1, 796, 705, 6814, 413, 2238, 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, 26415, 286, 262, 352, 13, 21, 34139, 351, 12379, 413, 2238, 1176, 30, 46506, 366, 15884, 4188, 1, 16034, 3084, 62, 2623, 30924, 33411, 366, 5376, 1, 796, 705, 16, 13, 21, 34139, 6, 5357, 366, 13434, 1, 796, 705, 6814, 413, 2238, 6 ]
Who was the opponent in the WMMA 1: McCorkle vs. Heden event that went more than 1 round?
SELECT "Opponent" FROM table_49842 WHERE "Round" > '1' AND "Event" = 'wmma 1: mccorkle vs. heden'
[ 8241, 373, 262, 6125, 287, 262, 30376, 5673, 352, 25, 5108, 967, 293, 3691, 13, 30920, 268, 1785, 326, 1816, 517, 621, 352, 2835, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 36260, 3682, 33411, 366, 22685, 1, 1875, 705, 16, 6, 5357, 366, 9237, 1, 796, 705, 86, 21672, 352, 25, 285, 535, 967, 293, 3691, 13, 339, 6559, 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 ]
[ 8241, 373, 262, 6125, 287, 262, 30376, 5673, 352, 25, 5108, 967, 293, 3691, 13, 30920, 268, 1785, 326, 1816, 517, 621, 352, 2835, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 36260, 3682, 33411, 366, 22685, 1, 1875, 705, 16, 6, 5357, 366, 9237, 1, 796, 705, 86, 21672, 352, 25, 285, 535, 967, 293, 3691, 13, 339, 6559, 6 ]
For those products with a price between 60 and 120, a bar chart shows the distribution of name and manufacturer , and display x axis in descending order.
SELECT Name, Manufacturer FROM Products WHERE Price BETWEEN 60 AND 120 ORDER BY Name DESC
[ 1890, 883, 3186, 351, 257, 2756, 1022, 3126, 290, 7982, 11, 257, 2318, 8262, 2523, 262, 6082, 286, 1438, 290, 11554, 837, 290, 3359, 2124, 16488, 287, 31491, 1502, 13, 46506, 6530, 11, 40218, 16034, 18675, 33411, 7886, 38651, 8845, 1677, 3126, 5357, 7982, 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 ]
[ 1890, 883, 3186, 351, 257, 2756, 1022, 3126, 290, 7982, 11, 257, 2318, 8262, 2523, 262, 6082, 286, 1438, 290, 11554, 837, 290, 3359, 2124, 16488, 287, 31491, 1502, 13, 46506, 6530, 11, 40218, 16034, 18675, 33411, 7886, 38651, 8845, 1677, 3126, 5357, 7982, 38678, 11050, 6530, 22196, 34 ]
What skip has angela tuvaeva as the lead?
SELECT "Skip" FROM table_75427 WHERE "Lead" = 'angela tuvaeva'
[ 2061, 14267, 468, 3550, 10304, 12777, 6862, 48855, 355, 262, 1085, 30, 46506, 366, 50232, 1, 16034, 3084, 62, 41874, 1983, 33411, 366, 20451, 1, 796, 705, 8368, 64, 12777, 6862, 48855, 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, 14267, 468, 3550, 10304, 12777, 6862, 48855, 355, 262, 1085, 30, 46506, 366, 50232, 1, 16034, 3084, 62, 41874, 1983, 33411, 366, 20451, 1, 796, 705, 8368, 64, 12777, 6862, 48855, 6 ]
Name the number of rank for april 2013 for 2012 ran kbeing 225
SELECT COUNT("April 2013 Cum. Rank") FROM table_26743 WHERE "Rank 2012" = '225'
[ 5376, 262, 1271, 286, 4279, 329, 46593, 346, 2211, 329, 2321, 4966, 479, 11873, 18500, 46506, 327, 28270, 7203, 16784, 2211, 27843, 13, 10916, 4943, 16034, 3084, 62, 25674, 3559, 33411, 366, 27520, 2321, 1, 796, 705, 18182, 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 ]
[ 5376, 262, 1271, 286, 4279, 329, 46593, 346, 2211, 329, 2321, 4966, 479, 11873, 18500, 46506, 327, 28270, 7203, 16784, 2211, 27843, 13, 10916, 4943, 16034, 3084, 62, 25674, 3559, 33411, 366, 27520, 2321, 1, 796, 705, 18182, 6 ]
Name the term in office for liberal and state of sa for ian mclachlan
SELECT "Term in office" FROM table_70616 WHERE "Party" = 'liberal' AND "State" = 'sa' AND "Member" = 'ian mclachlan'
[ 5376, 262, 3381, 287, 2607, 329, 7270, 290, 1181, 286, 473, 329, 220, 666, 285, 565, 620, 9620, 46506, 366, 40596, 287, 2607, 1, 16034, 3084, 62, 35402, 1433, 33411, 366, 33553, 1, 796, 705, 35739, 6, 5357, 366, 9012, 1, 796, 705, 11400, 6, 5357, 366, 27608, 1, 796, 705, 666, 285, 565, 620, 9620, 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 ]
[ 5376, 262, 3381, 287, 2607, 329, 7270, 290, 1181, 286, 473, 329, 220, 666, 285, 565, 620, 9620, 46506, 366, 40596, 287, 2607, 1, 16034, 3084, 62, 35402, 1433, 33411, 366, 33553, 1, 796, 705, 35739, 6, 5357, 366, 9012, 1, 796, 705, 11400, 6, 5357, 366, 27608, 1, 796, 705, 666, 285, 565, 620, 9620, 6 ]
What is Rank, when Event is 'LAPT4 S o Paulo'?
SELECT rank FROM table_name_66 WHERE event = "lapt4 são paulo"
[ 2061, 318, 10916, 11, 618, 8558, 318, 705, 43, 2969, 51, 19, 311, 267, 34410, 30960, 46506, 4279, 16034, 3084, 62, 3672, 62, 2791, 33411, 1785, 796, 366, 75, 2373, 19, 264, 28749, 279, 2518, 78, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10916, 11, 618, 8558, 318, 705, 43, 2969, 51, 19, 311, 267, 34410, 30960, 46506, 4279, 16034, 3084, 62, 3672, 62, 2791, 33411, 1785, 796, 366, 75, 2373, 19, 264, 28749, 279, 2518, 78, 1 ]
where was the match held immediately before 2014 's at guizhou olympic stadium ?
SELECT "stadium" FROM table_204_770 WHERE "season" < 2014 ORDER BY "season" DESC LIMIT 1
[ 3003, 373, 262, 2872, 2714, 3393, 878, 1946, 705, 82, 379, 915, 528, 15710, 267, 6760, 291, 10308, 5633, 46506, 366, 301, 6271, 1, 16034, 3084, 62, 18638, 62, 41820, 33411, 366, 6230, 1, 1279, 1946, 38678, 11050, 366, 6230, 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 ]
[ 3003, 373, 262, 2872, 2714, 3393, 878, 1946, 705, 82, 379, 915, 528, 15710, 267, 6760, 291, 10308, 5633, 46506, 366, 301, 6271, 1, 16034, 3084, 62, 18638, 62, 41820, 33411, 366, 6230, 1, 1279, 1946, 38678, 11050, 366, 6230, 1, 22196, 34, 27564, 2043, 352 ]
What AP increase has an AP duration of 0.75?
SELECT "AP increase (mV)" FROM table_41593 WHERE "AP duration (ms)" = '0.75'
[ 2061, 3486, 2620, 468, 281, 3486, 9478, 286, 657, 13, 2425, 30, 46506, 366, 2969, 2620, 357, 76, 53, 16725, 16034, 3084, 62, 35038, 6052, 33411, 366, 2969, 9478, 357, 907, 16725, 796, 705, 15, 13, 2425, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 3486, 2620, 468, 281, 3486, 9478, 286, 657, 13, 2425, 30, 46506, 366, 2969, 2620, 357, 76, 53, 16725, 16034, 3084, 62, 35038, 6052, 33411, 366, 2969, 9478, 357, 907, 16725, 796, 705, 15, 13, 2425, 6 ]
Who was the champion of JD Motorsport after 2005?
SELECT "Champion" FROM table_55690 WHERE "Season" > '2005' AND "Team Champion" = 'jd motorsport'
[ 8241, 373, 262, 8783, 286, 28591, 49996, 706, 5075, 30, 46506, 366, 1925, 6734, 1, 16034, 3084, 62, 2816, 35844, 33411, 366, 18960, 1, 1875, 705, 14315, 6, 5357, 366, 15592, 15869, 1, 796, 705, 73, 67, 24699, 634, 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 ]
[ 8241, 373, 262, 8783, 286, 28591, 49996, 706, 5075, 30, 46506, 366, 1925, 6734, 1, 16034, 3084, 62, 2816, 35844, 33411, 366, 18960, 1, 1875, 705, 14315, 6, 5357, 366, 15592, 15869, 1, 796, 705, 73, 67, 24699, 634, 6 ]
What is the playoff result when the league is USISL and the regular season record is 1st, pacific.
SELECT "Playoffs" FROM table_981 WHERE "League" = 'USISL' AND "Regular Season" = '1st, Pacific'
[ 2061, 318, 262, 13119, 1255, 618, 262, 4652, 318, 1294, 1797, 43, 290, 262, 3218, 1622, 1700, 318, 352, 301, 11, 23503, 811, 13, 46506, 366, 11002, 8210, 1, 16034, 3084, 62, 4089, 16, 33411, 366, 24623, 1, 796, 705, 2937, 1797, 43, 6, 5357, 366, 40164, 7369, 1, 796, 705, 16, 301, 11, 8211, 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 ]
[ 2061, 318, 262, 13119, 1255, 618, 262, 4652, 318, 1294, 1797, 43, 290, 262, 3218, 1622, 1700, 318, 352, 301, 11, 23503, 811, 13, 46506, 366, 11002, 8210, 1, 16034, 3084, 62, 4089, 16, 33411, 366, 24623, 1, 796, 705, 2937, 1797, 43, 6, 5357, 366, 40164, 7369, 1, 796, 705, 16, 301, 11, 8211, 6 ]
when did patient 17237 have a minimum arterial bp mean for the first time on 05/15/2104?
SELECT chartevents.charttime FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 17237)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'arterial bp mean' AND d_items.linksto = 'chartevents') AND STRFTIME('%y-%m-%d', chartevents.charttime) = '2104-05-15' ORDER BY chartevents.valuenum, chartevents.charttime LIMIT 1
[ 12518, 750, 5827, 1596, 24693, 423, 257, 5288, 30675, 498, 275, 79, 1612, 329, 262, 717, 640, 319, 8870, 14, 1314, 14, 17, 13464, 30, 46506, 8262, 31534, 13, 40926, 2435, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, 323, 62, 312, 3268, 357, 46506, 14158, 436, 592, 13, 291, 436, 323, 62, 312, 16034, 14158, 436, 592, 33411, 14158, 436, 592, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 1596, 24693, 4008, 5357, 8262, 31534, 13, 9186, 312, 3268, 357, 46506, 288, 62 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 12518, 750, 5827, 1596, 24693, 423, 257, 5288, 30675, 498, 275, 79, 1612, 329, 262, 717, 640, 319, 8870, 14, 1314, 14, 17, 13464, 30, 46506, 8262, 31534, 13, 40926, 2435, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, 323, 62, 312, 3268, 357, 46506, 14158, 436, 592, 13, 291, 436, 323, 62, 312, 16034, 14158, 436, 592, 33411, 14158, 436, 592, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 1596, 24693, 4008, 5357, 8262, 31534, 13, 9186, 312, 3268, 357, 46506, 288, 62 ]
What is the earliest year won Paul Azinger had with a to par higher than 5?
SELECT MIN(year_won) FROM table_name_12 WHERE player = "paul azinger" AND to_par > 5
[ 2061, 318, 262, 14555, 614, 1839, 3362, 7578, 3889, 550, 351, 257, 284, 1582, 2440, 621, 642, 30, 46506, 20625, 7, 1941, 62, 26502, 8, 16034, 3084, 62, 3672, 62, 1065, 33411, 2137, 796, 366, 79, 2518, 35560, 3889, 1, 5357, 284, 62, 1845, 1875, 642 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 14555, 614, 1839, 3362, 7578, 3889, 550, 351, 257, 284, 1582, 2440, 621, 642, 30, 46506, 20625, 7, 1941, 62, 26502, 8, 16034, 3084, 62, 3672, 62, 1065, 33411, 2137, 796, 366, 79, 2518, 35560, 3889, 1, 5357, 284, 62, 1845, 1875, 642 ]
For those records from the products and each product's manufacturer, find headquarter and the sum of code , and group by attribute headquarter, and visualize them by a bar chart, and I want to sort y axis from low to high order.
SELECT T2.Headquarter, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Headquarter ORDER BY T1.Code
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 1064, 1182, 24385, 290, 262, 2160, 286, 2438, 837, 290, 1448, 416, 11688, 1182, 24385, 11, 290, 38350, 606, 416, 257, 2318, 8262, 11, 290, 314, 765, 284, 3297, 331, 16488, 422, 1877, 284, 1029, 1502, 13, 46506, 309, 17, 13, 13847, 24385, 11, 309, 16, 13, 10669, 16034, 18675, 7054, 309, 16, 32357, 1268, 17858, 17496, 7054, 309, 17, 6177, 309, 16, 13, 44445, 15051, 796, 309, 17, 13, 10669, 44441, 11050, 309, 17, 13, 13847, 24385, 38678, 11050, 309, 16, 13, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1064, 1182, 24385, 290, 262, 2160, 286, 2438, 837, 290, 1448, 416, 11688, 1182, 24385, 11, 290, 38350, 606, 416, 257, 2318, 8262, 11, 290, 314, 765, 284, 3297, 331, 16488, 422, 1877, 284, 1029, 1502, 13, 46506, 309, 17, 13, 13847, 24385, 11, 309, 16, 13, 10669, 16034, 18675, 7054, 309, 16, 32357, 1268, 17858, 17496, 7054, 309, 17, 6177, 309, 16, 13, 44445, 15051, 796, 309, 17, 13, 10669, 44441, 11050, 309, 17, 13, 13847, 24385, 38678, 11050, 309, 16, 13, 10669 ]
What is the weekly rank for the episode with a share over 7 and a rating/share of 2.3/7?
SELECT rank__week_ FROM table_name_77 WHERE share > 7 AND rating / SHARE(18 - 49) = 2.3 / 7
[ 2061, 318, 262, 10273, 4279, 329, 262, 4471, 351, 257, 2648, 625, 767, 290, 257, 7955, 14, 20077, 286, 362, 13, 18, 14, 22, 30, 46506, 4279, 834, 10464, 62, 16034, 3084, 62, 3672, 62, 3324, 33411, 2648, 1875, 767, 5357, 7955, 1220, 6006, 12203, 7, 1507, 532, 5125, 8, 796, 362, 13, 18, 1220, 767 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 10273, 4279, 329, 262, 4471, 351, 257, 2648, 625, 767, 290, 257, 7955, 14, 20077, 286, 362, 13, 18, 14, 22, 30, 46506, 4279, 834, 10464, 62, 16034, 3084, 62, 3672, 62, 3324, 33411, 2648, 1875, 767, 5357, 7955, 1220, 6006, 12203, 7, 1507, 532, 5125, 8, 796, 362, 13, 18, 1220, 767 ]
What is the away team's score when the home team scores 16.8 (104)?
SELECT "Away team score" FROM table_74699 WHERE "Home team score" = '16.8 (104)'
[ 2061, 318, 262, 1497, 1074, 338, 4776, 618, 262, 1363, 1074, 8198, 1467, 13, 23, 357, 13464, 19427, 46506, 366, 32, 1014, 1074, 4776, 1, 16034, 3084, 62, 22, 3510, 2079, 33411, 366, 16060, 1074, 4776, 1, 796, 705, 1433, 13, 23, 357, 13464, 33047 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1497, 1074, 338, 4776, 618, 262, 1363, 1074, 8198, 1467, 13, 23, 357, 13464, 19427, 46506, 366, 32, 1014, 1074, 4776, 1, 16034, 3084, 62, 22, 3510, 2079, 33411, 366, 16060, 1074, 4776, 1, 796, 705, 1433, 13, 23, 357, 13464, 33047 ]
What is Home Team, when Date is '22 Nov 1989', and when Away Team is 'Bath City'?
SELECT "Home team" FROM table_62249 WHERE "Date" = '22 nov 1989' AND "Away team" = 'bath city'
[ 2061, 318, 5995, 4816, 11, 618, 7536, 318, 705, 1828, 5267, 11104, 3256, 290, 618, 21986, 4816, 318, 705, 33, 776, 2254, 30960, 46506, 366, 16060, 1074, 1, 16034, 3084, 62, 5237, 21626, 33411, 366, 10430, 1, 796, 705, 1828, 645, 85, 11104, 6, 5357, 366, 32, 1014, 1074, 1, 796, 705, 37648, 1748, 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, 318, 5995, 4816, 11, 618, 7536, 318, 705, 1828, 5267, 11104, 3256, 290, 618, 21986, 4816, 318, 705, 33, 776, 2254, 30960, 46506, 366, 16060, 1074, 1, 16034, 3084, 62, 5237, 21626, 33411, 366, 10430, 1, 796, 705, 1828, 645, 85, 11104, 6, 5357, 366, 32, 1014, 1074, 1, 796, 705, 37648, 1748, 6 ]
What is the Rank of the Nation of Germany when the Total is more than 2?
SELECT COUNT(rank) FROM table_name_63 WHERE nation = "germany" AND total > 2
[ 2061, 318, 262, 10916, 286, 262, 8741, 286, 4486, 618, 262, 7472, 318, 517, 621, 362, 30, 46506, 327, 28270, 7, 43027, 8, 16034, 3084, 62, 3672, 62, 5066, 33411, 3277, 796, 366, 1362, 21834, 1, 5357, 2472, 1875, 362 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 10916, 286, 262, 8741, 286, 4486, 618, 262, 7472, 318, 517, 621, 362, 30, 46506, 327, 28270, 7, 43027, 8, 16034, 3084, 62, 3672, 62, 5066, 33411, 3277, 796, 366, 1362, 21834, 1, 5357, 2472, 1875, 362 ]
Which Seats up for election have an Election result larger than 8, and Staying councillors of 24?
SELECT MAX("Seats up for election") FROM table_47339 WHERE "Election result" > '8' AND "Staying councillors" = '24'
[ 13828, 1001, 1381, 510, 329, 3071, 423, 281, 14219, 1255, 4025, 621, 807, 11, 290, 520, 8369, 43321, 286, 1987, 30, 46506, 25882, 7203, 4653, 1381, 510, 329, 3071, 4943, 16034, 3084, 62, 2857, 29626, 33411, 366, 36, 1564, 1255, 1, 1875, 705, 23, 6, 5357, 366, 1273, 8369, 43321, 1, 796, 705, 1731, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 1001, 1381, 510, 329, 3071, 423, 281, 14219, 1255, 4025, 621, 807, 11, 290, 520, 8369, 43321, 286, 1987, 30, 46506, 25882, 7203, 4653, 1381, 510, 329, 3071, 4943, 16034, 3084, 62, 2857, 29626, 33411, 366, 36, 1564, 1255, 1, 1875, 705, 23, 6, 5357, 366, 1273, 8369, 43321, 1, 796, 705, 1731, 6 ]
What is the lowest unlock order for the athens circuit?
SELECT MIN("Unlock Order") FROM table_73667 WHERE "Circuit" = 'Athens'
[ 2061, 318, 262, 9016, 12116, 1502, 329, 262, 379, 5135, 10349, 30, 46506, 20625, 7203, 3118, 5354, 8284, 4943, 16034, 3084, 62, 49150, 3134, 33411, 366, 31560, 5013, 1, 796, 705, 2953, 5135, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 9016, 12116, 1502, 329, 262, 379, 5135, 10349, 30, 46506, 20625, 7203, 3118, 5354, 8284, 4943, 16034, 3084, 62, 49150, 3134, 33411, 366, 31560, 5013, 1, 796, 705, 2953, 5135, 6 ]
Which is least lap is mika salo in?
SELECT MIN("Laps") FROM table_11931 WHERE "Driver" = 'mika salo'
[ 13828, 318, 1551, 14779, 318, 285, 9232, 3664, 78, 287, 30, 46506, 20625, 7203, 43, 1686, 4943, 16034, 3084, 62, 16315, 3132, 33411, 366, 32103, 1, 796, 705, 76, 9232, 3664, 78, 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 ]
[ 13828, 318, 1551, 14779, 318, 285, 9232, 3664, 78, 287, 30, 46506, 20625, 7203, 43, 1686, 4943, 16034, 3084, 62, 16315, 3132, 33411, 366, 32103, 1, 796, 705, 76, 9232, 3664, 78, 6 ]
How many patients under a hematology lab test category have intraoperative cardiac pacemaker?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE procedures.long_title = "Intraoperative cardiac pacemaker" AND lab."CATEGORY" = "Hematology"
[ 2437, 867, 3871, 739, 257, 339, 6759, 1435, 2248, 1332, 6536, 423, 23422, 27173, 26077, 23503, 32174, 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, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108, 76, 62, 312, 796, 2248, 13, 18108, 76, 62, 312, 33411, 9021, 13, 6511, 62, 7839, 796, 366, 5317, 430, 27173, 26077, 23503, 32174, 1, 5357, 2248, 526, 34, 6158, 38, 15513, 1, 796, 366, 39, 368, 265 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 3871, 739, 257, 339, 6759, 1435, 2248, 1332, 6536, 423, 23422, 27173, 26077, 23503, 32174, 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, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108, 76, 62, 312, 796, 2248, 13, 18108, 76, 62, 312, 33411, 9021, 13, 6511, 62, 7839, 796, 366, 5317, 430, 27173, 26077, 23503, 32174, 1, 5357, 2248, 526, 34, 6158, 38, 15513, 1, 796, 366, 39, 368, 265 ]
the last year how many patients were diagnosed with hypocalcemia within the same hospital visit after the previous diagnosis of bone fracture(s) - left lower extremity?
SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, diagnosis.diagnosistime, patient.patienthealthsystemstayid FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'hypocalcemia' AND DATETIME(diagnosis.diagnosistime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year')) AS t1 JOIN (SELECT patient.uniquepid, diagnosis.diagnosistime, patient.patienthealthsystemstayid FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'bone fracture(s) - left lower extremity' AND DATETIME(diagnosis.diagnosistime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year')) AS t2 WHERE t1.diagnosistime < t2.diagnosistime AND t1.patienthealthsystemstayid = t2.patienthealthsystemstayid
[ 1169, 938, 614, 703, 867, 3871, 547, 14641, 351, 5328, 4374, 344, 20730, 1626, 262, 976, 4436, 3187, 706, 262, 2180, 13669, 286, 9970, 31846, 7, 82, 8, 532, 1364, 2793, 8963, 414, 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, 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, 13669, 13, 47356, 5958, 3672, 796 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1169, 938, 614, 703, 867, 3871, 547, 14641, 351, 5328, 4374, 344, 20730, 1626, 262, 976, 4436, 3187, 706, 262, 2180, 13669, 286, 9970, 31846, 7, 82, 8, 532, 1364, 2793, 8963, 414, 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, 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, 13669, 13, 47356, 5958, 3672, 796 ]
What kind of Social Sec Leeds has a Media Officer of jason james and a Treasurer of james davidson?
SELECT social_sec_leeds FROM table_name_62 WHERE media_officer = "jason james" AND treasurer = "james davidson"
[ 2061, 1611, 286, 5483, 1882, 29293, 468, 257, 6343, 10391, 286, 474, 888, 474, 1047, 290, 257, 45399, 286, 474, 1047, 21970, 1559, 30, 46506, 1919, 62, 2363, 62, 293, 5379, 16034, 3084, 62, 3672, 62, 5237, 33411, 2056, 62, 14406, 263, 796, 366, 73, 888, 474, 1047, 1, 5357, 43428, 796, 366, 73, 1047, 21970, 1559, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1611, 286, 5483, 1882, 29293, 468, 257, 6343, 10391, 286, 474, 888, 474, 1047, 290, 257, 45399, 286, 474, 1047, 21970, 1559, 30, 46506, 1919, 62, 2363, 62, 293, 5379, 16034, 3084, 62, 3672, 62, 5237, 33411, 2056, 62, 14406, 263, 796, 366, 73, 888, 474, 1047, 1, 5357, 43428, 796, 366, 73, 1047, 21970, 1559, 1 ]
how many parishes had fr frank thorpe as their parish priest ?
SELECT COUNT("parish") FROM table_203_36 WHERE "parish priest" = 'fr frank thorpe'
[ 4919, 867, 1582, 5614, 550, 1216, 14346, 41899, 431, 355, 511, 28830, 11503, 5633, 46506, 327, 28270, 7203, 1845, 680, 4943, 16034, 3084, 62, 22416, 62, 2623, 33411, 366, 1845, 680, 11503, 1, 796, 705, 8310, 14346, 41899, 431, 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 ]
[ 4919, 867, 1582, 5614, 550, 1216, 14346, 41899, 431, 355, 511, 28830, 11503, 5633, 46506, 327, 28270, 7203, 1845, 680, 4943, 16034, 3084, 62, 22416, 62, 2623, 33411, 366, 1845, 680, 11503, 1, 796, 705, 8310, 14346, 41899, 431, 6 ]
When 4 is the v-band what is the overall amount of ka-bands?
SELECT COUNT(ka_band) FROM table_186468_1 WHERE v_band = "4"
[ 2215, 604, 318, 262, 410, 12, 3903, 644, 318, 262, 4045, 2033, 286, 38387, 12, 21397, 30, 46506, 327, 28270, 7, 4914, 62, 3903, 8, 16034, 3084, 62, 1507, 2414, 3104, 62, 16, 33411, 410, 62, 3903, 796, 366, 19, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 604, 318, 262, 410, 12, 3903, 644, 318, 262, 4045, 2033, 286, 38387, 12, 21397, 30, 46506, 327, 28270, 7, 4914, 62, 3903, 8, 16034, 3084, 62, 1507, 2414, 3104, 62, 16, 33411, 410, 62, 3903, 796, 366, 19, 1 ]
What was the average Jersey # of Steve Griffith, when his Weight (kg) was less than 84?
SELECT AVG(jersey__number) FROM table_name_71 WHERE name = "steve griffith" AND weight__kg_ < 84
[ 2061, 373, 262, 2811, 8221, 1303, 286, 6542, 30469, 11, 618, 465, 14331, 357, 10025, 8, 373, 1342, 621, 9508, 30, 46506, 35224, 7, 44009, 4397, 834, 17618, 8, 16034, 3084, 62, 3672, 62, 4869, 33411, 1438, 796, 366, 4169, 303, 1036, 733, 342, 1, 5357, 3463, 834, 10025, 62, 1279, 9508 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2811, 8221, 1303, 286, 6542, 30469, 11, 618, 465, 14331, 357, 10025, 8, 373, 1342, 621, 9508, 30, 46506, 35224, 7, 44009, 4397, 834, 17618, 8, 16034, 3084, 62, 3672, 62, 4869, 33411, 1438, 796, 366, 4169, 303, 1036, 733, 342, 1, 5357, 3463, 834, 10025, 62, 1279, 9508 ]
give me the number of patients whose diagnoses short title is abnormal loss of weight and lab test fluid is pleural?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.short_title = "Abnormal loss of weight" AND lab.fluid = "Pleural"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 40567, 1790, 3670, 318, 18801, 2994, 286, 3463, 290, 2248, 1332, 11711, 318, 3339, 1523, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312, 796, 40567, 13, 18108, 76, 62, 312, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108, 76, 62, 312, 796, 2248, 13, 18108, 76, 62, 312, 33411, 40567, 13, 19509, 62, 7839, 796, 366, 4826, 11265, 2994, 286, 3463, 1, 5357, 2248, 13, 35522, 312, 796, 366, 47, 293 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 26535, 502, 262, 1271, 286, 3871, 3025, 40567, 1790, 3670, 318, 18801, 2994, 286, 3463, 290, 2248, 1332, 11711, 318, 3339, 1523, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312, 796, 40567, 13, 18108, 76, 62, 312, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108, 76, 62, 312, 796, 2248, 13, 18108, 76, 62, 312, 33411, 40567, 13, 19509, 62, 7839, 796, 366, 4826, 11265, 2994, 286, 3463, 1, 5357, 2248, 13, 35522, 312, 796, 366, 47, 293 ]
Show me about the distribution of Days and the average of Credits , and group by attribute Days in a bar chart.
SELECT Days, AVG(Credits) FROM Course GROUP BY Days ORDER BY Credits
[ 15307, 502, 546, 262, 6082, 286, 12579, 290, 262, 2811, 286, 29501, 837, 290, 1448, 416, 11688, 12579, 287, 257, 2318, 8262, 13, 46506, 12579, 11, 35224, 7, 42855, 8, 16034, 20537, 44441, 11050, 12579, 38678, 11050, 29501 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 502, 546, 262, 6082, 286, 12579, 290, 262, 2811, 286, 29501, 837, 290, 1448, 416, 11688, 12579, 287, 257, 2318, 8262, 13, 46506, 12579, 11, 35224, 7, 42855, 8, 16034, 20537, 44441, 11050, 12579, 38678, 11050, 29501 ]
how many patients whose admission type is urgent and days of hospital stay is greater than 2?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_type = "URGENT" AND demographic.days_stay > "2"
[ 4919, 867, 3871, 3025, 13938, 2099, 318, 18039, 290, 1528, 286, 4436, 2652, 318, 3744, 621, 362, 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, 4261, 38, 3525, 1, 5357, 16728, 13, 12545, 62, 31712, 1875, 366, 17, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 3871, 3025, 13938, 2099, 318, 18039, 290, 1528, 286, 4436, 2652, 318, 3744, 621, 362, 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, 4261, 38, 3525, 1, 5357, 16728, 13, 12545, 62, 31712, 1875, 366, 17, 1 ]
which show ran the longest ?
SELECT "serial name" FROM table_203_173 ORDER BY "year(s)" - "year(s)" DESC LIMIT 1
[ 4758, 905, 4966, 262, 14069, 5633, 46506, 366, 46911, 1438, 1, 16034, 3084, 62, 22416, 62, 25399, 38678, 11050, 366, 1941, 7, 82, 16725, 532, 366, 1941, 7, 82, 16725, 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 ]
[ 4758, 905, 4966, 262, 14069, 5633, 46506, 366, 46911, 1438, 1, 16034, 3084, 62, 22416, 62, 25399, 38678, 11050, 366, 1941, 7, 82, 16725, 532, 366, 1941, 7, 82, 16725, 22196, 34, 27564, 2043, 352 ]
what is drug route of drug name influenza virus vaccine?
SELECT prescriptions.route FROM prescriptions WHERE prescriptions.drug = "Influenza Virus Vaccine"
[ 10919, 318, 2563, 6339, 286, 2563, 1438, 29491, 9471, 12319, 30, 46506, 34092, 13, 38629, 16034, 34092, 33411, 34092, 13, 30349, 796, 366, 18943, 2290, 23674, 40584, 31749, 500, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 2563, 6339, 286, 2563, 1438, 29491, 9471, 12319, 30, 46506, 34092, 13, 38629, 16034, 34092, 33411, 34092, 13, 30349, 796, 366, 18943, 2290, 23674, 40584, 31749, 500, 1 ]
how much heparin sodium (preservative free) was first prescribed to patient 14035?
SELECT prescriptions.dose_val_rx FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 14035) AND prescriptions.drug = 'heparin sodium (preservative free)' ORDER BY prescriptions.startdate LIMIT 1
[ 4919, 881, 339, 1845, 259, 21072, 357, 18302, 22003, 1479, 8, 373, 717, 14798, 284, 5827, 12713, 2327, 30, 46506, 34092, 13, 34436, 62, 2100, 62, 40914, 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, 12713, 2327, 8, 5357, 34092, 13, 30349, 796, 705, 258, 1845, 259, 21072, 357, 18302, 22003, 1479, 33047, 38678, 11050, 34092, 13, 9688, 4475, 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 ]
[ 4919, 881, 339, 1845, 259, 21072, 357, 18302, 22003, 1479, 8, 373, 717, 14798, 284, 5827, 12713, 2327, 30, 46506, 34092, 13, 34436, 62, 2100, 62, 40914, 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, 12713, 2327, 8, 5357, 34092, 13, 30349, 796, 705, 258, 1845, 259, 21072, 357, 18302, 22003, 1479, 33047, 38678, 11050, 34092, 13, 9688, 4475, 27564, 2043, 352 ]
whose horse performed better beverwyck stable 's or milton youngs ?
SELECT "owner" FROM table_204_330 WHERE "owner" IN ('beverwyck stable', 'milton young') ORDER BY "finished" LIMIT 1
[ 38159, 8223, 6157, 1365, 307, 332, 21768, 694, 8245, 705, 82, 393, 1465, 1122, 1862, 82, 5633, 46506, 366, 18403, 1, 16034, 3084, 62, 18638, 62, 26073, 33411, 366, 18403, 1, 3268, 19203, 65, 964, 21768, 694, 8245, 3256, 705, 76, 9044, 1862, 11537, 38678, 11050, 366, 43952, 1, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 38159, 8223, 6157, 1365, 307, 332, 21768, 694, 8245, 705, 82, 393, 1465, 1122, 1862, 82, 5633, 46506, 366, 18403, 1, 16034, 3084, 62, 18638, 62, 26073, 33411, 366, 18403, 1, 3268, 19203, 65, 964, 21768, 694, 8245, 3256, 705, 76, 9044, 1862, 11537, 38678, 11050, 366, 43952, 1, 27564, 2043, 352 ]
which school won class a in the season previous to 1999-2000 ?
SELECT "class a" FROM table_204_133 WHERE id = (SELECT id FROM table_204_133 WHERE "school year" = '1999-2000') - 1
[ 4758, 1524, 1839, 1398, 257, 287, 262, 1622, 2180, 284, 7358, 12, 11024, 5633, 46506, 366, 4871, 257, 1, 16034, 3084, 62, 18638, 62, 16945, 33411, 4686, 796, 357, 46506, 4686, 16034, 3084, 62, 18638, 62, 16945, 33411, 366, 14347, 614, 1, 796, 705, 18946, 12, 11024, 11537, 532, 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 ]
[ 4758, 1524, 1839, 1398, 257, 287, 262, 1622, 2180, 284, 7358, 12, 11024, 5633, 46506, 366, 4871, 257, 1, 16034, 3084, 62, 18638, 62, 16945, 33411, 4686, 796, 357, 46506, 4686, 16034, 3084, 62, 18638, 62, 16945, 33411, 366, 14347, 614, 1, 796, 705, 18946, 12, 11024, 11537, 532, 352 ]
what is the least dynamo when spartak is more than 9, competition is totals and draw is more than 24?
SELECT MIN("Dynamo") FROM table_65757 WHERE "Spartak" > '9' AND "Competition" = 'totals' AND "Draw" > '24'
[ 10919, 318, 262, 1551, 6382, 78, 618, 599, 433, 461, 318, 517, 621, 860, 11, 5449, 318, 26310, 290, 3197, 318, 517, 621, 1987, 30, 46506, 20625, 7203, 35, 4989, 78, 4943, 16034, 3084, 62, 2996, 39251, 33411, 366, 50, 3911, 461, 1, 1875, 705, 24, 6, 5357, 366, 7293, 15620, 1, 796, 705, 83, 313, 874, 6, 5357, 366, 25302, 1, 1875, 705, 1731, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1551, 6382, 78, 618, 599, 433, 461, 318, 517, 621, 860, 11, 5449, 318, 26310, 290, 3197, 318, 517, 621, 1987, 30, 46506, 20625, 7203, 35, 4989, 78, 4943, 16034, 3084, 62, 2996, 39251, 33411, 366, 50, 3911, 461, 1, 1875, 705, 24, 6, 5357, 366, 7293, 15620, 1, 796, 705, 83, 313, 874, 6, 5357, 366, 25302, 1, 1875, 705, 1731, 6 ]
What average Wins has Losses 2, and Draws less than 0?
SELECT AVG("Wins") FROM table_80279 WHERE "Loses" = '2' AND "Draws" < '0'
[ 2061, 2811, 24423, 468, 22014, 274, 362, 11, 290, 15315, 82, 1342, 621, 657, 30, 46506, 35224, 7203, 54, 1040, 4943, 16034, 3084, 62, 1795, 26050, 33411, 366, 43, 4629, 1, 796, 705, 17, 6, 5357, 366, 25302, 82, 1, 1279, 705, 15, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 2811, 24423, 468, 22014, 274, 362, 11, 290, 15315, 82, 1342, 621, 657, 30, 46506, 35224, 7203, 54, 1040, 4943, 16034, 3084, 62, 1795, 26050, 33411, 366, 43, 4629, 1, 796, 705, 17, 6, 5357, 366, 25302, 82, 1, 1279, 705, 15, 6 ]
Which Seniors have YEAR before 2006, and Fourths (Under 14's) of kiewa-sandy creek?
SELECT "Seniors" FROM table_77634 WHERE "YEAR" < '2006' AND "Fourths (Under 14's)" = 'kiewa-sandy creek'
[ 13828, 2311, 12706, 423, 32914, 878, 4793, 11, 290, 6675, 9998, 357, 9203, 1478, 338, 8, 286, 479, 769, 64, 12, 82, 10757, 39459, 30, 46506, 366, 10445, 12706, 1, 16034, 3084, 62, 39509, 2682, 33411, 366, 56, 17133, 1, 1279, 705, 13330, 6, 5357, 366, 15137, 9998, 357, 9203, 1478, 338, 16725, 796, 705, 74, 769, 64, 12, 82, 10757, 39459, 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 ]
[ 13828, 2311, 12706, 423, 32914, 878, 4793, 11, 290, 6675, 9998, 357, 9203, 1478, 338, 8, 286, 479, 769, 64, 12, 82, 10757, 39459, 30, 46506, 366, 10445, 12706, 1, 16034, 3084, 62, 39509, 2682, 33411, 366, 56, 17133, 1, 1279, 705, 13330, 6, 5357, 366, 15137, 9998, 357, 9203, 1478, 338, 16725, 796, 705, 74, 769, 64, 12, 82, 10757, 39459, 6 ]
Who was the game played against on 2004-02-28 at Skytteholms IP?
SELECT "Opponents" FROM table_43713 WHERE "Venue" = 'skytteholms ip' AND "Date" = '2004-02-28'
[ 8241, 373, 262, 983, 2826, 1028, 319, 5472, 12, 2999, 12, 2078, 379, 5274, 83, 660, 3937, 907, 6101, 30, 46506, 366, 27524, 3906, 1, 16034, 3084, 62, 43284, 1485, 33411, 366, 37522, 518, 1, 796, 705, 15688, 83, 660, 3937, 907, 20966, 6, 5357, 366, 10430, 1, 796, 705, 15724, 12, 2999, 12, 2078, 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 ]
[ 8241, 373, 262, 983, 2826, 1028, 319, 5472, 12, 2999, 12, 2078, 379, 5274, 83, 660, 3937, 907, 6101, 30, 46506, 366, 27524, 3906, 1, 16034, 3084, 62, 43284, 1485, 33411, 366, 37522, 518, 1, 796, 705, 15688, 83, 660, 3937, 907, 20966, 6, 5357, 366, 10430, 1, 796, 705, 15724, 12, 2999, 12, 2078, 6 ]
Poland has what notes?
SELECT "Notes" FROM table_64182 WHERE "Country" = 'poland'
[ 8017, 392, 468, 644, 4710, 30, 46506, 366, 16130, 1, 16034, 3084, 62, 2414, 24294, 33411, 366, 33921, 1, 796, 705, 16104, 392, 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 ]
[ 8017, 392, 468, 644, 4710, 30, 46506, 366, 16130, 1, 16034, 3084, 62, 2414, 24294, 33411, 366, 33921, 1, 796, 705, 16104, 392, 6 ]
who were the 6 teams to play in the first leg of the 2011 caf u-23 championship qualification ?
SELECT "team 1", "team 2" FROM table_204_324 WHERE NOT "1st leg" IS NULL
[ 8727, 547, 262, 718, 3466, 284, 711, 287, 262, 717, 1232, 286, 262, 2813, 19945, 334, 12, 1954, 12184, 28587, 5633, 46506, 366, 15097, 352, 1600, 366, 15097, 362, 1, 16034, 3084, 62, 18638, 62, 33916, 33411, 5626, 366, 16, 301, 1232, 1, 3180, 15697 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 547, 262, 718, 3466, 284, 711, 287, 262, 717, 1232, 286, 262, 2813, 19945, 334, 12, 1954, 12184, 28587, 5633, 46506, 366, 15097, 352, 1600, 366, 15097, 362, 1, 16034, 3084, 62, 18638, 62, 33916, 33411, 5626, 366, 16, 301, 1232, 1, 3180, 15697 ]
Which Year has a Category of best original song ( )?
SELECT MAX("Year") FROM table_77297 WHERE "Category" = 'best original song (รอเธอหันมา – โฟกัส จิระกุล)'
[ 13828, 6280, 468, 257, 21743, 286, 1266, 2656, 3496, 357, 1267, 30, 46506, 25882, 7203, 17688, 4943, 16034, 3084, 62, 3324, 26561, 33411, 366, 27313, 1, 796, 705, 13466, 2656, 3496, 357, 19567, 96, 19567, 255, 31479, 222, 19567, 246, 19567, 255, 19567, 104, 19567, 109, 19567, 247, 19567, 94, 19567, 110, 784, 220, 31479, 224, 19567, 253, 19567, 223, 19567, 109, 19567, 103, 220, 19567, 230, 19567, 112, 19567, 96, 19567, 108, 19567, 223, 19567, 116, 19567, 98, 33047 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6280, 468, 257, 21743, 286, 1266, 2656, 3496, 357, 1267, 30, 46506, 25882, 7203, 17688, 4943, 16034, 3084, 62, 3324, 26561, 33411, 366, 27313, 1, 796, 705, 13466, 2656, 3496, 357, 19567, 96, 19567, 255, 31479, 222, 19567, 246, 19567, 255, 19567, 104, 19567, 109, 19567, 247, 19567, 94, 19567, 110, 784, 220, 31479, 224, 19567, 253, 19567, 223, 19567, 109, 19567, 103, 220, 19567, 230, 19567, 112, 19567, 96, 19567, 108, 19567, 223, 19567, 116, 19567, 98, 33047 ]
does magnesium sulfate have been prescribed to patient 2482 during this year?
SELECT COUNT(*) > 0 FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 2482) AND prescriptions.drug = 'magnesium sulfate' AND DATETIME(prescriptions.startdate, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year')
[ 22437, 33525, 22443, 378, 423, 587, 14798, 284, 5827, 1987, 6469, 1141, 428, 614, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 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, 1987, 6469, 8, 5357, 34092, 13, 30349, 796, 705, 19726, 27619, 22443, 378, 6, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 33525, 22443, 378, 423, 587, 14798, 284, 5827, 1987, 6469, 1141, 428, 614, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 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, 1987, 6469, 8, 5357, 34092, 13, 30349, 796, 705, 19726, 27619, 22443, 378, 6, 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 ]
Performer 2 of chip esten has what performer 3?
SELECT "Performer 3" FROM table_36208 WHERE "Performer 2" = 'chip esten'
[ 5990, 16354, 362, 286, 11594, 1556, 268, 468, 644, 26960, 513, 30, 46506, 366, 5990, 16354, 513, 1, 16034, 3084, 62, 2623, 21315, 33411, 366, 5990, 16354, 362, 1, 796, 705, 35902, 1556, 268, 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 ]
[ 5990, 16354, 362, 286, 11594, 1556, 268, 468, 644, 26960, 513, 30, 46506, 366, 5990, 16354, 513, 1, 16034, 3084, 62, 2623, 21315, 33411, 366, 5990, 16354, 362, 1, 796, 705, 35902, 1556, 268, 6 ]
get me both the short title and long title of diagnoses for patient roxanna weaver.
SELECT diagnoses.short_title, diagnoses.long_title FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.name = "Roxanna Weaver"
[ 1136, 502, 1111, 262, 1790, 3670, 290, 890, 3670, 286, 40567, 329, 5827, 686, 87, 7697, 356, 8770, 13, 46506, 40567, 13, 19509, 62, 7839, 11, 40567, 13, 6511, 62, 7839, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312, 796, 40567, 13, 18108, 76, 62, 312, 33411, 16728, 13, 3672, 796, 366, 49, 1140, 7697, 29594, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1136, 502, 1111, 262, 1790, 3670, 290, 890, 3670, 286, 40567, 329, 5827, 686, 87, 7697, 356, 8770, 13, 46506, 40567, 13, 19509, 62, 7839, 11, 40567, 13, 6511, 62, 7839, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312, 796, 40567, 13, 18108, 76, 62, 312, 33411, 16728, 13, 3672, 796, 366, 49, 1140, 7697, 29594, 1 ]
Which Lead has a Skip of ted appelman?
SELECT lead FROM table_name_95 WHERE skip = "ted appelman"
[ 13828, 20116, 468, 257, 32214, 286, 28501, 598, 32370, 30, 46506, 1085, 16034, 3084, 62, 3672, 62, 3865, 33411, 14267, 796, 366, 1513, 598, 32370, 1 ]
[ 1, 1, 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, 20116, 468, 257, 32214, 286, 28501, 598, 32370, 30, 46506, 1085, 16034, 3084, 62, 3672, 62, 3865, 33411, 14267, 796, 366, 1513, 598, 32370, 1 ]
presence of fever: temperature >= 38 c
SELECT * FROM table_train_24 WHERE temperature > 38
[ 18302, 594, 286, 17372, 25, 5951, 18189, 4353, 269, 46506, 1635, 16034, 3084, 62, 27432, 62, 1731, 33411, 5951, 1875, 4353 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 18302, 594, 286, 17372, 25, 5951, 18189, 4353, 269, 46506, 1635, 16034, 3084, 62, 27432, 62, 1731, 33411, 5951, 1875, 4353 ]
What is the sum of byes when wins are 8, and losses are larger than 10?
SELECT COUNT("Byes") FROM table_12447 WHERE "Wins" = '8' AND "Losses" > '10'
[ 2061, 318, 262, 2160, 286, 416, 274, 618, 7864, 389, 807, 11, 290, 9089, 389, 4025, 621, 838, 30, 46506, 327, 28270, 7203, 3886, 274, 4943, 16034, 3084, 62, 1065, 34825, 33411, 366, 54, 1040, 1, 796, 705, 23, 6, 5357, 366, 43, 793, 274, 1, 1875, 705, 940, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2160, 286, 416, 274, 618, 7864, 389, 807, 11, 290, 9089, 389, 4025, 621, 838, 30, 46506, 327, 28270, 7203, 3886, 274, 4943, 16034, 3084, 62, 1065, 34825, 33411, 366, 54, 1040, 1, 796, 705, 23, 6, 5357, 366, 43, 793, 274, 1, 1875, 705, 940, 6 ]
how many days have elapsed since the first time during the current hospital encounter patient 005-48105 got a platelets x 1000 lab test?
SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', lab.labresulttime)) FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '005-48105' AND patient.hospitaldischargetime IS NULL)) AND lab.labname = 'platelets x 1000' ORDER BY lab.labresulttime LIMIT 1
[ 4919, 867, 1528, 423, 42118, 1201, 262, 717, 640, 1141, 262, 1459, 4436, 8791, 5827, 3571, 20, 12, 2780, 13348, 1392, 257, 7480, 5289, 2124, 8576, 2248, 1332, 30, 46506, 352, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694, 28955, 532, 19269, 9792, 12789, 10786, 4, 73, 3256, 2248, 13, 23912, 20274, 2435, 4008, 16034, 2248, 33411, 2248, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 1528, 423, 42118, 1201, 262, 717, 640, 1141, 262, 1459, 4436, 8791, 5827, 3571, 20, 12, 2780, 13348, 1392, 257, 7480, 5289, 2124, 8576, 2248, 1332, 30, 46506, 352, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694, 28955, 532, 19269, 9792, 12789, 10786, 4, 73, 3256, 2248, 13, 23912, 20274, 2435, 4008, 16034, 2248, 33411, 2248, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411 ]
Which stage had tabriz petrochemical team in the team classification?
SELECT stage FROM table_name_68 WHERE team_classification = "tabriz petrochemical team"
[ 13828, 3800, 550, 7400, 47847, 4273, 305, 31379, 1074, 287, 262, 1074, 17923, 30, 46506, 3800, 16034, 3084, 62, 3672, 62, 3104, 33411, 1074, 62, 4871, 2649, 796, 366, 8658, 47847, 4273, 305, 31379, 1074, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3800, 550, 7400, 47847, 4273, 305, 31379, 1074, 287, 262, 1074, 17923, 30, 46506, 3800, 16034, 3084, 62, 3672, 62, 3104, 33411, 1074, 62, 4871, 2649, 796, 366, 8658, 47847, 4273, 305, 31379, 1074, 1 ]
What's the record when the attendance was 28,531?
SELECT "Record" FROM table_77730 WHERE "Attendance" = '28,531'
[ 2061, 338, 262, 1700, 618, 262, 14858, 373, 2579, 11, 20, 3132, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 29331, 1270, 33411, 366, 8086, 437, 590, 1, 796, 705, 2078, 11, 20, 3132, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 338, 262, 1700, 618, 262, 14858, 373, 2579, 11, 20, 3132, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 29331, 1270, 33411, 366, 8086, 437, 590, 1, 796, 705, 2078, 11, 20, 3132, 6 ]
What is the highest season for a bowl game of the 1993 Independence Bowl?
SELECT MAX(season) FROM table_15647838_3 WHERE bowl_game = "1993 Independence Bowl"
[ 2061, 318, 262, 4511, 1622, 329, 257, 9396, 983, 286, 262, 9656, 20153, 8693, 30, 46506, 25882, 7, 6230, 8, 16034, 3084, 62, 1314, 2414, 3695, 2548, 62, 18, 33411, 9396, 62, 6057, 796, 366, 24465, 20153, 8693, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 329, 257, 9396, 983, 286, 262, 9656, 20153, 8693, 30, 46506, 25882, 7, 6230, 8, 16034, 3084, 62, 1314, 2414, 3695, 2548, 62, 18, 33411, 9396, 62, 6057, 796, 366, 24465, 20153, 8693, 1 ]
how many areas have townland as kilgilky north?
SELECT COUNT("Area( acres )") FROM table_31500 WHERE "Townland" = 'Kilgilky North'
[ 4919, 867, 3006, 423, 3240, 1044, 355, 8769, 37718, 2584, 5093, 30, 46506, 327, 28270, 7203, 30547, 7, 16051, 1267, 4943, 16034, 3084, 62, 27936, 405, 33411, 366, 38097, 1044, 1, 796, 705, 42, 346, 37718, 2584, 2258, 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 ]
[ 4919, 867, 3006, 423, 3240, 1044, 355, 8769, 37718, 2584, 5093, 30, 46506, 327, 28270, 7203, 30547, 7, 16051, 1267, 4943, 16034, 3084, 62, 27936, 405, 33411, 366, 38097, 1044, 1, 796, 705, 42, 346, 37718, 2584, 2258, 6 ]
which film aired in 1994 and has marika as the role ?
SELECT "title" FROM table_201_36 WHERE "year" = 1994 AND "role" = 'marika'
[ 4758, 2646, 18530, 287, 9162, 290, 468, 1667, 9232, 355, 262, 2597, 5633, 46506, 366, 7839, 1, 16034, 3084, 62, 1264, 62, 2623, 33411, 366, 1941, 1, 796, 9162, 5357, 366, 18090, 1, 796, 705, 3876, 9232, 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 ]
[ 4758, 2646, 18530, 287, 9162, 290, 468, 1667, 9232, 355, 262, 2597, 5633, 46506, 366, 7839, 1, 16034, 3084, 62, 1264, 62, 2623, 33411, 366, 1941, 1, 796, 9162, 5357, 366, 18090, 1, 796, 705, 3876, 9232, 6 ]
What is the venue of the team race that was before 2010?
SELECT "Venue" FROM table_50481 WHERE "Notes" = 'team' AND "Year" < '2010'
[ 2061, 318, 262, 14359, 286, 262, 1074, 3234, 326, 373, 878, 3050, 30, 46506, 366, 37522, 518, 1, 16034, 3084, 62, 1120, 40271, 33411, 366, 16130, 1, 796, 705, 15097, 6, 5357, 366, 17688, 1, 1279, 705, 10333, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 14359, 286, 262, 1074, 3234, 326, 373, 878, 3050, 30, 46506, 366, 37522, 518, 1, 16034, 3084, 62, 1120, 40271, 33411, 366, 16130, 1, 796, 705, 15097, 6, 5357, 366, 17688, 1, 1279, 705, 10333, 6 ]
When was the sargent bridge built?
SELECT built FROM table_name_61 WHERE name = "sargent bridge"
[ 2215, 373, 262, 264, 853, 298, 7696, 3170, 30, 46506, 3170, 16034, 3084, 62, 3672, 62, 5333, 33411, 1438, 796, 366, 82, 853, 298, 7696, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 373, 262, 264, 853, 298, 7696, 3170, 30, 46506, 3170, 16034, 3084, 62, 3672, 62, 5333, 33411, 1438, 796, 366, 82, 853, 298, 7696, 1 ]
Incumbent Deborah Pryce was a member of what party?
SELECT "Party" FROM table_72357 WHERE "Incumbent" = 'Deborah Pryce'
[ 25517, 2178, 298, 36976, 350, 28169, 373, 257, 2888, 286, 644, 2151, 30, 46506, 366, 33553, 1, 16034, 3084, 62, 22, 1954, 3553, 33411, 366, 25517, 2178, 298, 1, 796, 705, 16587, 40844, 350, 28169, 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 ]
[ 25517, 2178, 298, 36976, 350, 28169, 373, 257, 2888, 286, 644, 2151, 30, 46506, 366, 33553, 1, 16034, 3084, 62, 22, 1954, 3553, 33411, 366, 25517, 2178, 298, 1, 796, 705, 16587, 40844, 350, 28169, 6 ]
what were the three diagnoses that have the lowest five year survival rate?
SELECT d_icd_diagnoses.short_title FROM d_icd_diagnoses WHERE d_icd_diagnoses.icd9_code IN (SELECT t4.icd9_code FROM (SELECT t3.icd9_code, DENSE_RANK() OVER (ORDER BY t3.c1 DESC) AS c2 FROM (SELECT t2.icd9_code, 100 - SUM(CASE WHEN patients.dod IS NULL THEN 1 WHEN STRFTIME('%j', patients.dod) - STRFTIME('%j', t2.charttime) > 5 * 365 THEN 1 ELSE 0 END) * 100 / COUNT(*) AS c1 FROM (SELECT t1.subject_id, t1.icd9_code, t1.charttime FROM (SELECT admissions.subject_id, diagnoses_icd.icd9_code, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id GROUP BY admissions.subject_id, diagnoses_icd.icd9_code HAVING MIN(diagnoses_icd.charttime) = diagnoses_icd.charttime) AS t1 WHERE STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', t1.charttime) > 5 * 365) AS t2 JOIN patients ON t2.subject_id = patients.subject_id GROUP BY t2.icd9_code) AS t3) AS t4 WHERE t4.c2 <= 3)
[ 10919, 547, 262, 1115, 40567, 326, 423, 262, 9016, 1936, 614, 9441, 2494, 30, 46506, 288, 62, 291, 67, 62, 47356, 4629, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 47356, 4629, 33411, 288, 62, 291, 67, 62, 47356, 4629, 13, 291, 67, 24, 62, 8189, 3268, 357, 46506, 256, 19, 13, 291, 67, 24, 62, 8189, 16034, 357, 46506, 256, 18, 13, 291, 67, 24, 62, 8189, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 256, 18, 13, 66, 16, 22196, 34, 8, 7054, 269, 17, 16034, 357, 46506, 256, 17, 13, 291 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 40567, 326, 423, 262, 9016, 1936, 614, 9441, 2494, 30, 46506, 288, 62, 291, 67, 62, 47356, 4629, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 47356, 4629, 33411, 288, 62, 291, 67, 62, 47356, 4629, 13, 291, 67, 24, 62, 8189, 3268, 357, 46506, 256, 19, 13, 291, 67, 24, 62, 8189, 16034, 357, 46506, 256, 18, 13, 291, 67, 24, 62, 8189, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 256, 18, 13, 66, 16, 22196, 34, 8, 7054, 269, 17, 16034, 357, 46506, 256, 17, 13, 291 ]
What is the series number that has a production code of 50021 50025?
SELECT MAX("Number in series") FROM table_67668 WHERE "Production code" = '50021–50025'
[ 2061, 318, 262, 2168, 1271, 326, 468, 257, 3227, 2438, 286, 5323, 2481, 5323, 1495, 30, 46506, 25882, 7203, 15057, 287, 2168, 4943, 16034, 3084, 62, 3134, 35809, 33411, 366, 35027, 2438, 1, 796, 705, 4059, 2481, 1906, 4059, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2168, 1271, 326, 468, 257, 3227, 2438, 286, 5323, 2481, 5323, 1495, 30, 46506, 25882, 7203, 15057, 287, 2168, 4943, 16034, 3084, 62, 3134, 35809, 33411, 366, 35027, 2438, 1, 796, 705, 4059, 2481, 1906, 4059, 1495, 6 ]
What was the overall pick for Doug Sproule of the United States?
SELECT overall FROM table_name_48 WHERE nationality = "united states" AND player = "doug sproule"
[ 2061, 373, 262, 4045, 2298, 329, 15115, 1338, 472, 293, 286, 262, 1578, 1829, 30, 46506, 4045, 16034, 3084, 62, 3672, 62, 2780, 33411, 29835, 796, 366, 41187, 2585, 1, 5357, 2137, 796, 366, 67, 20805, 599, 472, 293, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4045, 2298, 329, 15115, 1338, 472, 293, 286, 262, 1578, 1829, 30, 46506, 4045, 16034, 3084, 62, 3672, 62, 2780, 33411, 29835, 796, 366, 41187, 2585, 1, 5357, 2137, 796, 366, 67, 20805, 599, 472, 293, 1 ]
What was the attendance of the game where Stoke city was the away team?
SELECT MIN(attendance) FROM table_24887326_7 WHERE away_team = "Stoke City"
[ 2061, 373, 262, 14858, 286, 262, 983, 810, 36178, 1748, 373, 262, 1497, 1074, 30, 46506, 20625, 7, 1078, 437, 590, 8, 16034, 3084, 62, 1731, 3459, 4790, 2075, 62, 22, 33411, 1497, 62, 15097, 796, 366, 1273, 2088, 2254, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14858, 286, 262, 983, 810, 36178, 1748, 373, 262, 1497, 1074, 30, 46506, 20625, 7, 1078, 437, 590, 8, 16034, 3084, 62, 1731, 3459, 4790, 2075, 62, 22, 33411, 1497, 62, 15097, 796, 366, 1273, 2088, 2254, 1 ]
What date was the score 3 0, and set 1 was 25 22?
SELECT date FROM table_name_88 WHERE score = "3–0" AND set_1 = "25–22"
[ 2061, 3128, 373, 262, 4776, 513, 657, 11, 290, 900, 352, 373, 1679, 2534, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 3459, 33411, 4776, 796, 366, 18, 1906, 15, 1, 5357, 900, 62, 16, 796, 366, 1495, 1906, 1828, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 3128, 373, 262, 4776, 513, 657, 11, 290, 900, 352, 373, 1679, 2534, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 3459, 33411, 4776, 796, 366, 18, 1906, 15, 1, 5357, 900, 62, 16, 796, 366, 1495, 1906, 1828, 1 ]
look for the primary disease and diagnoses icd9 code for patient ida cook.
SELECT demographic.diagnosis, diagnoses.icd9_code FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.name = "Ida Cook"
[ 5460, 329, 262, 4165, 4369, 290, 40567, 14158, 67, 24, 2438, 329, 5827, 220, 3755, 4255, 13, 46506, 16728, 13, 47356, 5958, 11, 40567, 13, 291, 67, 24, 62, 8189, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312, 796, 40567, 13, 18108, 76, 62, 312, 33411, 16728, 13, 3672, 796, 366, 40, 6814, 8261, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5460, 329, 262, 4165, 4369, 290, 40567, 14158, 67, 24, 2438, 329, 5827, 220, 3755, 4255, 13, 46506, 16728, 13, 47356, 5958, 11, 40567, 13, 291, 67, 24, 62, 8189, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312, 796, 40567, 13, 18108, 76, 62, 312, 33411, 16728, 13, 3672, 796, 366, 40, 6814, 8261, 1 ]
How many game sites are there where the team record is 1 7?
SELECT COUNT(game_site) FROM table_25380472_2 WHERE team_record = "1–7"
[ 2437, 867, 983, 5043, 389, 612, 810, 262, 1074, 1700, 318, 352, 767, 30, 46506, 327, 28270, 7, 6057, 62, 15654, 8, 16034, 3084, 62, 1495, 23734, 37856, 62, 17, 33411, 1074, 62, 22105, 796, 366, 16, 1906, 22, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 983, 5043, 389, 612, 810, 262, 1074, 1700, 318, 352, 767, 30, 46506, 327, 28270, 7, 6057, 62, 15654, 8, 16034, 3084, 62, 1495, 23734, 37856, 62, 17, 33411, 1074, 62, 22105, 796, 366, 16, 1906, 22, 1 ]
Find the lab test and lab test fluid of Shawn Green.
SELECT lab.label, lab.fluid FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.name = "Shawn Green"
[ 16742, 262, 2248, 1332, 290, 2248, 1332, 11711, 286, 25225, 3469, 13, 46506, 2248, 13, 18242, 11, 2248, 13, 35522, 312, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108, 76, 62, 312, 796, 2248, 13, 18108, 76, 62, 312, 33411, 16728, 13, 3672, 796, 366, 2484, 3832, 3469, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2248, 1332, 290, 2248, 1332, 11711, 286, 25225, 3469, 13, 46506, 2248, 13, 18242, 11, 2248, 13, 35522, 312, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108, 76, 62, 312, 796, 2248, 13, 18108, 76, 62, 312, 33411, 16728, 13, 3672, 796, 366, 2484, 3832, 3469, 1 ]
What is the minimum PA when ends lost is 45?
SELECT MIN("PA") FROM table_72476 WHERE "Ends Lost" = '45'
[ 2061, 318, 262, 5288, 8147, 618, 5645, 2626, 318, 4153, 30, 46506, 20625, 7203, 4537, 4943, 16034, 3084, 62, 22, 1731, 4304, 33411, 366, 12915, 82, 9164, 1, 796, 705, 2231, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 5288, 8147, 618, 5645, 2626, 318, 4153, 30, 46506, 20625, 7203, 4537, 4943, 16034, 3084, 62, 22, 1731, 4304, 33411, 366, 12915, 82, 9164, 1, 796, 705, 2231, 6 ]
Which Year has a Competition of european championships, and Notes of 66.81 m?
SELECT SUM(year) FROM table_name_26 WHERE competition = "european championships" AND notes = "66.81 m"
[ 13828, 6280, 468, 257, 27348, 286, 11063, 431, 272, 27459, 11, 290, 11822, 286, 7930, 13, 6659, 285, 30, 46506, 35683, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 2075, 33411, 5449, 796, 366, 44252, 431, 272, 27459, 1, 5357, 4710, 796, 366, 2791, 13, 6659, 285, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6280, 468, 257, 27348, 286, 11063, 431, 272, 27459, 11, 290, 11822, 286, 7930, 13, 6659, 285, 30, 46506, 35683, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 2075, 33411, 5449, 796, 366, 44252, 431, 272, 27459, 1, 5357, 4710, 796, 366, 2791, 13, 6659, 285, 1 ]
Which Frequency has a Facility ID of 13598?
SELECT frequency FROM table_name_33 WHERE facility_id = 13598
[ 13828, 31902, 468, 257, 29118, 4522, 286, 1511, 41292, 30, 46506, 8373, 16034, 3084, 62, 3672, 62, 2091, 33411, 6841, 62, 312, 796, 1511, 41292 ]
[ 1, 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, 31902, 468, 257, 29118, 4522, 286, 1511, 41292, 30, 46506, 8373, 16034, 3084, 62, 3672, 62, 2091, 33411, 6841, 62, 312, 796, 1511, 41292 ]
What was the result for james o'h. patterson when first elected in 1904?
SELECT "Result" FROM table_35815 WHERE "First elected" = '1904' AND "Incumbent" = 'james o''h. patterson'
[ 2061, 373, 262, 1255, 329, 474, 1047, 267, 6, 71, 13, 1458, 23192, 618, 717, 7018, 287, 43785, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 31128, 1314, 33411, 366, 5962, 7018, 1, 796, 705, 1129, 3023, 6, 5357, 366, 25517, 2178, 298, 1, 796, 705, 73, 1047, 267, 7061, 71, 13, 1458, 23192, 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, 1255, 329, 474, 1047, 267, 6, 71, 13, 1458, 23192, 618, 717, 7018, 287, 43785, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 31128, 1314, 33411, 366, 5962, 7018, 1, 796, 705, 1129, 3023, 6, 5357, 366, 25517, 2178, 298, 1, 796, 705, 73, 1047, 267, 7061, 71, 13, 1458, 23192, 6 ]
what is the number of patients whose insurance is self pay and days of hospital stay is greater than 29?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.insurance = "Self Pay" AND demographic.days_stay > "29"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 5096, 318, 2116, 1414, 290, 1528, 286, 4436, 2652, 318, 3744, 621, 2808, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 1040, 3874, 796, 366, 24704, 7119, 1, 5357, 16728, 13, 12545, 62, 31712, 1875, 366, 1959, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5096, 318, 2116, 1414, 290, 1528, 286, 4436, 2652, 318, 3744, 621, 2808, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 1040, 3874, 796, 366, 24704, 7119, 1, 5357, 16728, 13, 12545, 62, 31712, 1875, 366, 1959, 1 ]
Is the facility opened in 1968 a major facility?
SELECT Major AS facility FROM table_25346763_1 WHERE year_opened = "1968"
[ 3792, 262, 6841, 4721, 287, 15963, 257, 1688, 6841, 30, 46506, 8386, 7054, 6841, 16034, 3084, 62, 1495, 2682, 3134, 5066, 62, 16, 33411, 614, 62, 26350, 796, 366, 42246, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 3792, 262, 6841, 4721, 287, 15963, 257, 1688, 6841, 30, 46506, 8386, 7054, 6841, 16034, 3084, 62, 1495, 2682, 3134, 5066, 62, 16, 33411, 614, 62, 26350, 796, 366, 42246, 1 ]
Which Wrestler has an Entered of 5, and a Pinned of mvp?
SELECT wrestler FROM table_name_23 WHERE entered = 5 AND pinned = "mvp"
[ 13828, 20722, 1754, 468, 281, 22542, 286, 642, 11, 290, 257, 13727, 2817, 286, 285, 36133, 30, 46506, 34845, 16034, 3084, 62, 3672, 62, 1954, 33411, 5982, 796, 642, 5357, 25711, 796, 366, 76, 36133, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 20722, 1754, 468, 281, 22542, 286, 642, 11, 290, 257, 13727, 2817, 286, 285, 36133, 30, 46506, 34845, 16034, 3084, 62, 3672, 62, 1954, 33411, 5982, 796, 642, 5357, 25711, 796, 366, 76, 36133, 1 ]
What is the to par for Fred Couples when the score is 68-66=134?
SELECT to_par FROM table_name_74 WHERE score = 68 - 66 = 134 AND player = "fred couples"
[ 2061, 318, 262, 284, 1582, 329, 8559, 15062, 2374, 618, 262, 4776, 318, 8257, 12, 2791, 28, 19880, 30, 46506, 284, 62, 1845, 16034, 3084, 62, 3672, 62, 4524, 33411, 4776, 796, 8257, 532, 7930, 796, 22352, 5357, 2137, 796, 366, 39193, 11886, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 284, 1582, 329, 8559, 15062, 2374, 618, 262, 4776, 318, 8257, 12, 2791, 28, 19880, 30, 46506, 284, 62, 1845, 16034, 3084, 62, 3672, 62, 4524, 33411, 4776, 796, 8257, 532, 7930, 796, 22352, 5357, 2137, 796, 366, 39193, 11886, 1 ]
How many Wins have a Top 5 smaller than 0?
SELECT SUM(wins) FROM table_name_57 WHERE top_5 < 0
[ 2437, 867, 24423, 423, 257, 5849, 642, 4833, 621, 657, 30, 46506, 35683, 7, 86, 1040, 8, 16034, 3084, 62, 3672, 62, 3553, 33411, 1353, 62, 20, 1279, 657 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 24423, 423, 257, 5849, 642, 4833, 621, 657, 30, 46506, 35683, 7, 86, 1040, 8, 16034, 3084, 62, 3672, 62, 3553, 33411, 1353, 62, 20, 1279, 657 ]
How many laps had a constructor of toyota and a Time/Retired of +13.409?
SELECT COUNT(laps) FROM table_name_3 WHERE constructor = "toyota" AND time_retired = "+13.409"
[ 2437, 867, 24590, 550, 257, 23772, 286, 13373, 4265, 290, 257, 3862, 14, 9781, 1202, 286, 1343, 1485, 13, 29416, 30, 46506, 327, 28270, 7, 75, 1686, 8, 16034, 3084, 62, 3672, 62, 18, 33411, 23772, 796, 366, 83, 726, 4265, 1, 5357, 640, 62, 1186, 1202, 796, 43825, 1485, 13, 29416, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 24590, 550, 257, 23772, 286, 13373, 4265, 290, 257, 3862, 14, 9781, 1202, 286, 1343, 1485, 13, 29416, 30, 46506, 327, 28270, 7, 75, 1686, 8, 16034, 3084, 62, 3672, 62, 18, 33411, 23772, 796, 366, 83, 726, 4265, 1, 5357, 640, 62, 1186, 1202, 796, 43825, 1485, 13, 29416, 1 ]
What is the score for the November 3 game?
SELECT score FROM table_name_10 WHERE date = "november 3"
[ 2061, 318, 262, 4776, 329, 262, 3389, 513, 983, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 940, 33411, 3128, 796, 366, 77, 3239, 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 ]
[ 2061, 318, 262, 4776, 329, 262, 3389, 513, 983, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 940, 33411, 3128, 796, 366, 77, 3239, 513, 1 ]
how many patients whose diagnoses icd9 code is 57450?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE diagnoses.icd9_code = "57450"
[ 4919, 867, 3871, 3025, 40567, 14158, 67, 24, 2438, 318, 642, 4524, 1120, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312, 796, 40567, 13, 18108, 76, 62, 312, 33411, 40567, 13, 291, 67, 24, 62, 8189, 796, 366, 3553, 17885, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 3871, 3025, 40567, 14158, 67, 24, 2438, 318, 642, 4524, 1120, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312, 796, 40567, 13, 18108, 76, 62, 312, 33411, 40567, 13, 291, 67, 24, 62, 8189, 796, 366, 3553, 17885, 1 ]
i would like to book a round trip flight from KANSAS CITY to CHICAGO
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, fare, flight, flight_fare WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'CHICAGO' AND NOT fare.round_trip_cost IS NULL AND flight_fare.fare_id = fare.fare_id AND flight.flight_id = flight_fare.flight_id AND flight.to_airport = AIRPORT_SERVICE_1.airport_code) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'KANSAS CITY' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code
[ 72, 561, 588, 284, 1492, 257, 2835, 5296, 5474, 422, 509, 15037, 1921, 27993, 284, 5870, 2149, 4760, 14058, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 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, 16, 13, 19205, 62, 8189, 796, 31600, 15490, 62, 35009, 27389, 62, 16, 13, 19205, 62, 8189, 5357, 27993, 62, 16, 13 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 72, 561, 588, 284, 1492, 257, 2835, 5296, 5474, 422, 509, 15037, 1921, 27993, 284, 5870, 2149, 4760, 14058, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 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, 16, 13, 19205, 62, 8189, 796, 31600, 15490, 62, 35009, 27389, 62, 16, 13, 19205, 62, 8189, 5357, 27993, 62, 16, 13 ]
How many different locations does the school with code BUS has?
SELECT COUNT(DISTINCT dept_address) FROM department WHERE school_code = 'BUS'
[ 2437, 867, 1180, 7064, 857, 262, 1524, 351, 2438, 43949, 468, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 390, 457, 62, 21975, 8, 16034, 5011, 33411, 1524, 62, 8189, 796, 705, 45346, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 1180, 7064, 857, 262, 1524, 351, 2438, 43949, 468, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 390, 457, 62, 21975, 8, 16034, 5011, 33411, 1524, 62, 8189, 796, 705, 45346, 6 ]
what the age of patient 11826 was on the current hospital visit?
SELECT admissions.age FROM admissions WHERE admissions.subject_id = 11826 AND admissions.dischtime IS NULL
[ 10919, 262, 2479, 286, 5827, 19035, 2075, 373, 319, 262, 1459, 4436, 3187, 30, 46506, 25349, 13, 496, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 19035, 2075, 5357, 25349, 13, 6381, 354, 2435, 3180, 15697 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 262, 2479, 286, 5827, 19035, 2075, 373, 319, 262, 1459, 4436, 3187, 30, 46506, 25349, 13, 496, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 19035, 2075, 5357, 25349, 13, 6381, 354, 2435, 3180, 15697 ]
calculate the number of patients with ftng autmtc dfibrillator diagnosed until 4 years ago.
SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE admissions.hadm_id IN (SELECT diagnoses_icd.hadm_id FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'ftng autmtc dfibrillator') AND DATETIME(diagnoses_icd.charttime) <= DATETIME(CURRENT_TIME(), '-4 year'))
[ 9948, 3129, 378, 262, 1271, 286, 3871, 351, 10117, 782, 1960, 16762, 66, 47764, 2889, 359, 1352, 14641, 1566, 604, 812, 2084, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 25349, 13, 32796, 62, 312, 8, 16034, 25349, 33411, 25349, 13, 18108, 76, 62, 312, 3268, 357, 46506, 40567, 62, 291, 67, 13, 18108, 76, 62, 312, 16034, 40567, 62, 291, 67, 33411, 40567, 62, 291, 67, 13, 291, 67, 24, 62, 8189, 796, 357, 46506, 288, 62, 291, 67, 62, 47356, 4629, 13, 291, 67, 24, 62, 8189, 16034, 288, 62, 291, 67, 62, 47356, 4629, 33411, 288 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 9948, 3129, 378, 262, 1271, 286, 3871, 351, 10117, 782, 1960, 16762, 66, 47764, 2889, 359, 1352, 14641, 1566, 604, 812, 2084, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 25349, 13, 32796, 62, 312, 8, 16034, 25349, 33411, 25349, 13, 18108, 76, 62, 312, 3268, 357, 46506, 40567, 62, 291, 67, 13, 18108, 76, 62, 312, 16034, 40567, 62, 291, 67, 33411, 40567, 62, 291, 67, 13, 291, 67, 24, 62, 8189, 796, 357, 46506, 288, 62, 291, 67, 62, 47356, 4629, 13, 291, 67, 24, 62, 8189, 16034, 288, 62, 291, 67, 62, 47356, 4629, 33411, 288 ]
how many patients who had a lab test for homocysteine are married?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.marital_status = "MARRIED" AND lab.label = "Homocysteine"
[ 4919, 867, 3871, 508, 550, 257, 2248, 1332, 329, 3488, 13733, 4169, 500, 389, 6405, 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, 3876, 1287, 62, 13376, 796, 366, 40569, 7112, 1961, 1, 5357, 2248, 13, 18242, 796, 366, 28718, 13733, 4169, 500, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 508, 550, 257, 2248, 1332, 329, 3488, 13733, 4169, 500, 389, 6405, 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, 3876, 1287, 62, 13376, 796, 366, 40569, 7112, 1961, 1, 5357, 2248, 13, 18242, 796, 366, 28718, 13733, 4169, 500, 1 ]
Show the number of heads of departments born in each state with a bar chart, list by the x axis in desc please.
SELECT born_state, COUNT(born_state) FROM head GROUP BY born_state ORDER BY born_state DESC
[ 15307, 262, 1271, 286, 6665, 286, 13346, 4642, 287, 1123, 1181, 351, 257, 2318, 8262, 11, 1351, 416, 262, 2124, 16488, 287, 1715, 3387, 13, 46506, 4642, 62, 5219, 11, 327, 28270, 7, 6286, 62, 5219, 8, 16034, 1182, 44441, 11050, 4642, 62, 5219, 38678, 11050, 4642, 62, 5219, 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 ]
[ 15307, 262, 1271, 286, 6665, 286, 13346, 4642, 287, 1123, 1181, 351, 257, 2318, 8262, 11, 1351, 416, 262, 2124, 16488, 287, 1715, 3387, 13, 46506, 4642, 62, 5219, 11, 327, 28270, 7, 6286, 62, 5219, 8, 16034, 1182, 44441, 11050, 4642, 62, 5219, 38678, 11050, 4642, 62, 5219, 22196, 34 ]
What school has the nickname of Cardinals?
SELECT MIN("Founded") FROM table_43843 WHERE "Nickname" = 'cardinals'
[ 2061, 1524, 468, 262, 21814, 286, 18071, 30, 46506, 20625, 7203, 37, 6302, 4943, 16034, 3084, 62, 43704, 3559, 33411, 366, 23609, 3672, 1, 796, 705, 9517, 6897, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1524, 468, 262, 21814, 286, 18071, 30, 46506, 20625, 7203, 37, 6302, 4943, 16034, 3084, 62, 43704, 3559, 33411, 366, 23609, 3672, 1, 796, 705, 9517, 6897, 6 ]
Which team had game 3?
SELECT team FROM table_name_73 WHERE game = 3
[ 13828, 1074, 550, 983, 513, 30, 46506, 1074, 16034, 3084, 62, 3672, 62, 4790, 33411, 983, 796, 513 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 1074, 550, 983, 513, 30, 46506, 1074, 16034, 3084, 62, 3672, 62, 4790, 33411, 983, 796, 513 ]
what is the next destination after limestone road north ?
SELECT "destinations" FROM table_204_888 WHERE id = (SELECT id FROM table_204_888 WHERE "destinations" = 'limestone road north') + 1
[ 10919, 318, 262, 1306, 10965, 706, 48520, 2975, 5093, 5633, 46506, 366, 16520, 7352, 1, 16034, 3084, 62, 18638, 62, 28011, 33411, 4686, 796, 357, 46506, 4686, 16034, 3084, 62, 18638, 62, 28011, 33411, 366, 16520, 7352, 1, 796, 705, 2475, 13631, 2975, 5093, 11537, 1343, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 1306, 10965, 706, 48520, 2975, 5093, 5633, 46506, 366, 16520, 7352, 1, 16034, 3084, 62, 18638, 62, 28011, 33411, 4686, 796, 357, 46506, 4686, 16034, 3084, 62, 18638, 62, 28011, 33411, 366, 16520, 7352, 1, 796, 705, 2475, 13631, 2975, 5093, 11537, 1343, 352 ]