instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
how many times was there a winner ?
SELECT COUNT(*) FROM table_204_127 WHERE "outcome" = 'winner'
[ 4919, 867, 1661, 373, 612, 257, 8464, 5633, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 18638, 62, 16799, 33411, 366, 448, 2958, 1, 796, 705, 39791, 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 ]
[ 4919, 867, 1661, 373, 612, 257, 8464, 5633, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 18638, 62, 16799, 33411, 366, 448, 2958, 1, 796, 705, 39791, 6 ]
At what stadium did the Green Bay Packers play an away game?
SELECT stadium FROM table_name_67 WHERE visiting_team = "green bay packers"
[ 2953, 644, 10308, 750, 262, 3469, 4696, 17832, 711, 281, 1497, 983, 30, 46506, 10308, 16034, 3084, 62, 3672, 62, 3134, 33411, 10013, 62, 15097, 796, 366, 14809, 15489, 2353, 364, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2953, 644, 10308, 750, 262, 3469, 4696, 17832, 711, 281, 1497, 983, 30, 46506, 10308, 16034, 3084, 62, 3672, 62, 3134, 33411, 10013, 62, 15097, 796, 366, 14809, 15489, 2353, 364, 1 ]
What's the IS-2 when the KV-1S is 114?
SELECT "IS-2 M1945" FROM table_14221 WHERE "KV-1S M1942" = '114'
[ 2061, 338, 262, 3180, 12, 17, 618, 262, 509, 53, 12, 16, 50, 318, 17342, 30, 46506, 366, 1797, 12, 17, 337, 41931, 1, 16034, 3084, 62, 1415, 26115, 33411, 366, 42, 53, 12, 16, 50, 337, 1129, 3682, 1, 796, 705, 16562, 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, 338, 262, 3180, 12, 17, 618, 262, 509, 53, 12, 16, 50, 318, 17342, 30, 46506, 366, 1797, 12, 17, 337, 41931, 1, 16034, 3084, 62, 1415, 26115, 33411, 366, 42, 53, 12, 16, 50, 337, 1129, 3682, 1, 796, 705, 16562, 6 ]
what flights from CHICAGO to KANSAS CITY
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, flight WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'CHICAGO' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'KANSAS...
[ 10919, 13956, 422, 5870, 2149, 4760, 46, 284, 509, 15037, 1921, 27993, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15490...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13956, 422, 5870, 2149, 4760, 46, 284, 509, 15037, 1921, 27993, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15490...
What's the Ball Diameter with the Culture of Olmec?
SELECT "Ball diameter" FROM table_6440 WHERE "Culture" = 'olmec'
[ 2061, 338, 262, 6932, 360, 13173, 351, 262, 17346, 286, 6544, 76, 721, 30, 46506, 366, 23410, 14753, 1, 16034, 3084, 62, 2414, 1821, 33411, 366, 34, 6456, 1, 796, 705, 349, 76, 721, 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, 6932, 360, 13173, 351, 262, 17346, 286, 6544, 76, 721, 30, 46506, 366, 23410, 14753, 1, 16034, 3084, 62, 2414, 1821, 33411, 366, 34, 6456, 1, 796, 705, 349, 76, 721, 6 ]
List the total number of years that have a score of 3 6, 4 6, 2 6.
SELECT COUNT(year) FROM table_2201724_1 WHERE score_in_the_final = "3–6, 4–6, 2–6"
[ 8053, 262, 2472, 1271, 286, 812, 326, 423, 257, 4776, 286, 513, 718, 11, 604, 718, 11, 362, 718, 13, 46506, 327, 28270, 7, 1941, 8, 16034, 3084, 62, 17, 5539, 1731, 62, 16, 33411, 4776, 62, 259, 62, 1169, 62, 20311, 796, 366, 18...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8053, 262, 2472, 1271, 286, 812, 326, 423, 257, 4776, 286, 513, 718, 11, 604, 718, 11, 362, 718, 13, 46506, 327, 28270, 7, 1941, 8, 16034, 3084, 62, 17, 5539, 1731, 62, 16, 33411, 4776, 62, 259, 62, 1169, 62, 20311, 796, 366, 18...
What religious groups made up 0.72% of the Indian population in 2001?
SELECT "Religious group" FROM table_88 WHERE "Population % 2001" = '0.72%'
[ 2061, 4158, 2628, 925, 510, 657, 13, 4761, 4, 286, 262, 3942, 3265, 287, 5878, 30, 46506, 366, 6892, 10956, 1448, 1, 16034, 3084, 62, 3459, 33411, 366, 45251, 4064, 5878, 1, 796, 705, 15, 13, 4761, 4, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 4158, 2628, 925, 510, 657, 13, 4761, 4, 286, 262, 3942, 3265, 287, 5878, 30, 46506, 366, 6892, 10956, 1448, 1, 16034, 3084, 62, 3459, 33411, 366, 45251, 4064, 5878, 1, 796, 705, 15, 13, 4761, 4, 6 ]
how long was the first hospital stay of patient 65883?
SELECT STRFTIME('%j', admissions.dischtime) - STRFTIME('%j', admissions.admittime) FROM admissions WHERE admissions.subject_id = 65883 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime LIMIT 1
[ 4919, 890, 373, 262, 717, 4436, 2652, 286, 5827, 718, 3365, 5999, 30, 46506, 19269, 9792, 12789, 10786, 4, 73, 3256, 25349, 13, 6381, 354, 2435, 8, 532, 19269, 9792, 12789, 10786, 4, 73, 3256, 25349, 13, 324, 20124, 524, 8, 16034, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 890, 373, 262, 717, 4436, 2652, 286, 5827, 718, 3365, 5999, 30, 46506, 19269, 9792, 12789, 10786, 4, 73, 3256, 25349, 13, 6381, 354, 2435, 8, 532, 19269, 9792, 12789, 10786, 4, 73, 3256, 25349, 13, 324, 20124, 524, 8, 16034, 2...
history of stroke or seizure
SELECT * FROM table_train_102 WHERE stroke = 1 OR seizure_disorder = 1
[ 23569, 286, 14000, 393, 22338, 46506, 1635, 16034, 3084, 62, 27432, 62, 15377, 33411, 14000, 796, 352, 6375, 22338, 62, 6381, 2875, 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 ]
[ 23569, 286, 14000, 393, 22338, 46506, 1635, 16034, 3084, 62, 27432, 62, 15377, 33411, 14000, 796, 352, 6375, 22338, 62, 6381, 2875, 796, 352 ]
How many route numbers occur for the origin of Birmingham and destination of Bristol?
SELECT COUNT("Route Number") FROM table_4271 WHERE "Origin" = 'Birmingham' AND "Destination" = 'Bristol'
[ 2437, 867, 6339, 3146, 3051, 329, 262, 8159, 286, 18899, 290, 10965, 286, 25040, 30, 46506, 327, 28270, 7203, 43401, 7913, 4943, 16034, 3084, 62, 19, 28977, 33411, 366, 39688, 1, 796, 705, 50091, 17737, 6, 5357, 366, 24159, 1883, 1, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 6339, 3146, 3051, 329, 262, 8159, 286, 18899, 290, 10965, 286, 25040, 30, 46506, 327, 28270, 7203, 43401, 7913, 4943, 16034, 3084, 62, 19, 28977, 33411, 366, 39688, 1, 796, 705, 50091, 17737, 6, 5357, 366, 24159, 1883, 1, 7...
when patient 011-53628 had a systemicsystolic measured for the first time since 03/14/2105?
SELECT vitalperiodic.observationtime FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '011-53628')) AND NOT vitalperiodic.systemicsystolic...
[ 12518, 5827, 5534, 16, 12, 44468, 2078, 550, 257, 1080, 873, 88, 301, 4160, 8630, 329, 262, 717, 640, 1201, 7643, 14, 1415, 14, 17, 13348, 30, 46506, 9204, 41007, 291, 13, 672, 3168, 341, 2435, 16034, 9204, 41007, 291, 33411, 9204, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12518, 5827, 5534, 16, 12, 44468, 2078, 550, 257, 1080, 873, 88, 301, 4160, 8630, 329, 262, 717, 640, 1201, 7643, 14, 1415, 14, 17, 13348, 30, 46506, 9204, 41007, 291, 13, 672, 3168, 341, 2435, 16034, 9204, 41007, 291, 33411, 9204, ...
What is the English character for Lin Ming Kuan ( )?
SELECT "English" FROM table_64304 WHERE "Character" = 'lin ming kuan (林明寬)'
[ 2061, 318, 262, 3594, 2095, 329, 5164, 26980, 509, 7258, 357, 1267, 30, 46506, 366, 15823, 1, 16034, 3084, 62, 2414, 21288, 33411, 366, 27275, 1, 796, 705, 2815, 42434, 479, 7258, 357, 162, 252, 245, 23626, 236, 43380, 105, 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 ]
[ 2061, 318, 262, 3594, 2095, 329, 5164, 26980, 509, 7258, 357, 1267, 30, 46506, 366, 15823, 1, 16034, 3084, 62, 2414, 21288, 33411, 366, 27275, 1, 796, 705, 2815, 42434, 479, 7258, 357, 162, 252, 245, 23626, 236, 43380, 105, 33047 ]
What was the poll source when Democrat Carl Levin had 54% and the lead margin was 28?
SELECT "Poll Source" FROM table_21056 WHERE "Democrat: Carl Levin" = '54%' AND "Lead Margin" = '28'
[ 2061, 373, 262, 3278, 2723, 618, 9755, 8124, 32325, 550, 7175, 4, 290, 262, 1085, 10330, 373, 2579, 30, 46506, 366, 39176, 8090, 1, 16034, 3084, 62, 21536, 3980, 33411, 366, 11522, 35128, 25, 8124, 32325, 1, 796, 705, 4051, 4, 6, 53...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3278, 2723, 618, 9755, 8124, 32325, 550, 7175, 4, 290, 262, 1085, 10330, 373, 2579, 30, 46506, 366, 39176, 8090, 1, 16034, 3084, 62, 21536, 3980, 33411, 366, 11522, 35128, 25, 8124, 32325, 1, 796, 705, 4051, 4, 6, 53...
For which 100 m group ( moa ) is the 300 m group ( moa ) 0.63
SELECT "100 m group ( MOA )" FROM table_17498 WHERE "300 m group ( MOA )" = '0.63'
[ 1890, 543, 1802, 285, 1448, 357, 6941, 64, 1267, 318, 262, 5867, 285, 1448, 357, 6941, 64, 1267, 657, 13, 5066, 46506, 366, 3064, 285, 1448, 357, 13070, 32, 1267, 1, 16034, 3084, 62, 1558, 36260, 33411, 366, 6200, 285, 1448, 357, 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 ]
[ 1890, 543, 1802, 285, 1448, 357, 6941, 64, 1267, 318, 262, 5867, 285, 1448, 357, 6941, 64, 1267, 657, 13, 5066, 46506, 366, 3064, 285, 1448, 357, 13070, 32, 1267, 1, 16034, 3084, 62, 1558, 36260, 33411, 366, 6200, 285, 1448, 357, 13...
What is Week, when Semi Finalists is Sandrine Testud Yone Kamio?
SELECT week_of FROM table_name_53 WHERE semi_finalists = "sandrine testud yone kamio"
[ 2061, 318, 6119, 11, 618, 35525, 8125, 1023, 318, 3837, 7640, 6208, 463, 575, 505, 12670, 952, 30, 46506, 1285, 62, 1659, 16034, 3084, 62, 3672, 62, 4310, 33411, 10663, 62, 20311, 1023, 796, 366, 38142, 7640, 1332, 463, 331, 505, 479,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6119, 11, 618, 35525, 8125, 1023, 318, 3837, 7640, 6208, 463, 575, 505, 12670, 952, 30, 46506, 1285, 62, 1659, 16034, 3084, 62, 3672, 62, 4310, 33411, 10663, 62, 20311, 1023, 796, 366, 38142, 7640, 1332, 463, 331, 505, 479,...
Show the headquarters that have at least two companies.
SELECT headquarters FROM company GROUP BY headquarters HAVING COUNT(*) >= 2
[ 15307, 262, 10043, 326, 423, 379, 1551, 734, 2706, 13, 46506, 10043, 16034, 1664, 44441, 11050, 10043, 367, 10116, 2751, 327, 28270, 7, 28104, 18189, 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 ]
[ 15307, 262, 10043, 326, 423, 379, 1551, 734, 2706, 13, 46506, 10043, 16034, 1664, 44441, 11050, 10043, 367, 10116, 2751, 327, 28270, 7, 28104, 18189, 362 ]
give me the number of patients whose lab test name is wbc, joint fluid?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE lab.label = "WBC, Joint Fluid"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 2248, 1332, 1438, 318, 266, 15630, 11, 6466, 11711, 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, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2248, 1332, 1438, 318, 266, 15630, 11, 6466, 11711, 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, 1...
has patient 005-48105 had any surgeries on this hospital encounter?
SELECT COUNT(*) > 0 FROM treatment WHERE treatment.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))
[ 10134, 5827, 3571, 20, 12, 2780, 13348, 550, 597, 33624, 319, 428, 4436, 8791, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 3513, 33411, 3513, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 160...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10134, 5827, 3571, 20, 12, 2780, 13348, 550, 597, 33624, 319, 428, 4436, 8791, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 3513, 33411, 3513, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 160...
Find the number of up votes and down votes user received on their question and answer..
SELECT SUM(CASE WHEN VoteTypeId = 2 THEN 1 ELSE 0 END) AS "up_votes", SUM(CASE WHEN VoteTypeId = 3 THEN 1 ELSE 0 END) AS "down_votes", (CAST(SUM(CASE WHEN VoteTypeId = 2 THEN 1 ELSE 0 END) AS FLOAT) / CAST(SUM(CASE WHEN VoteTypeId = 3 THEN 1 ELSE 0 END) AS FLOAT)) AS "up_votes_to_down_votes" FROM Votes AS v INNER JOIN ...
[ 16742, 262, 1271, 286, 510, 5690, 290, 866, 5690, 2836, 2722, 319, 511, 1808, 290, 3280, 492, 46506, 35683, 7, 34, 11159, 42099, 19175, 6030, 7390, 796, 362, 42243, 352, 17852, 5188, 657, 23578, 8, 7054, 366, 929, 62, 29307, 1600, 356...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 16742, 262, 1271, 286, 510, 5690, 290, 866, 5690, 2836, 2722, 319, 511, 1808, 290, 3280, 492, 46506, 35683, 7, 34, 11159, 42099, 19175, 6030, 7390, 796, 362, 42243, 352, 17852, 5188, 657, 23578, 8, 7054, 366, 929, 62, 29307, 1600, 356...
Which amount of lost had an against of more than 22 and 9 points?
SELECT "Lost" FROM table_7213 WHERE "Against" > '22' AND "Points" = '9'
[ 13828, 2033, 286, 2626, 550, 281, 1028, 286, 517, 621, 2534, 290, 860, 2173, 30, 46506, 366, 31042, 1, 16034, 3084, 62, 4761, 1485, 33411, 366, 39276, 1, 1875, 705, 1828, 6, 5357, 366, 40710, 1, 796, 705, 24, 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 ]
[ 13828, 2033, 286, 2626, 550, 281, 1028, 286, 517, 621, 2534, 290, 860, 2173, 30, 46506, 366, 31042, 1, 16034, 3084, 62, 4761, 1485, 33411, 366, 39276, 1, 1875, 705, 1828, 6, 5357, 366, 40710, 1, 796, 705, 24, 6 ]
What is the area of the community with a population of 1209?
SELECT "Area km 2" FROM table_21381 WHERE "Population" = '1209'
[ 2061, 318, 262, 1989, 286, 262, 2055, 351, 257, 3265, 286, 1105, 2931, 30, 46506, 366, 30547, 10571, 362, 1, 16034, 3084, 62, 26427, 6659, 33411, 366, 45251, 1, 796, 705, 1065, 2931, 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, 1989, 286, 262, 2055, 351, 257, 3265, 286, 1105, 2931, 30, 46506, 366, 30547, 10571, 362, 1, 16034, 3084, 62, 26427, 6659, 33411, 366, 45251, 1, 796, 705, 1065, 2931, 6 ]
how did patient 12572 get last admission to the hospital in 2104?
SELECT admissions.admission_type FROM admissions WHERE admissions.subject_id = 12572 AND STRFTIME('%y', admissions.admittime) = '2104' ORDER BY admissions.admittime DESC LIMIT 1
[ 4919, 750, 5827, 1105, 48724, 651, 938, 13938, 284, 262, 4436, 287, 362, 13464, 30, 46506, 25349, 13, 324, 3411, 62, 4906, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 1105, 48724, 5357, 19269, 9792, 12789, 10786, 4, 88, 3256, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 750, 5827, 1105, 48724, 651, 938, 13938, 284, 262, 4436, 287, 362, 13464, 30, 46506, 25349, 13, 324, 3411, 62, 4906, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 1105, 48724, 5357, 19269, 9792, 12789, 10786, 4, 88, 3256, ...
give me the number of patients whose primary disease is squamous cell carcinoma oral tongue/sda and age is less than 54?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "SQUAMOUS CELL CARCINOMA ORAL TONGUE/SDA" AND demographic.age < "54"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 4165, 4369, 318, 2809, 10877, 2685, 28164, 6086, 12886, 11880, 14, 82, 6814, 290, 2479, 318, 1342, 621, 7175, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 26535, 502, 262, 1271, 286, 3871, 3025, 4165, 4369, 318, 2809, 10877, 2685, 28164, 6086, 12886, 11880, 14, 82, 6814, 290, 2479, 318, 1342, 621, 7175, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034,...
Name the titles for tko 11/12
SELECT "Titles" FROM table_27215 WHERE "Result" = 'TKO 11/12'
[ 5376, 262, 8714, 329, 256, 7204, 1367, 14, 1065, 46506, 366, 51, 30540, 1, 16034, 3084, 62, 1983, 23349, 33411, 366, 23004, 1, 796, 705, 51, 22328, 1367, 14, 1065, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 8714, 329, 256, 7204, 1367, 14, 1065, 46506, 366, 51, 30540, 1, 16034, 3084, 62, 1983, 23349, 33411, 366, 23004, 1, 796, 705, 51, 22328, 1367, 14, 1065, 6 ]
How many opponents did the Sun Devils play when they scored 41 points?
SELECT COUNT(opponent) FROM table_21007615_1 WHERE sun_devils_points = 41
[ 2437, 867, 7691, 750, 262, 3825, 26199, 711, 618, 484, 7781, 6073, 2173, 30, 46506, 327, 28270, 7, 10365, 3471, 8, 16034, 3084, 62, 2481, 405, 4304, 1314, 62, 16, 33411, 4252, 62, 7959, 4487, 62, 13033, 796, 6073 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7691, 750, 262, 3825, 26199, 711, 618, 484, 7781, 6073, 2173, 30, 46506, 327, 28270, 7, 10365, 3471, 8, 16034, 3084, 62, 2481, 405, 4304, 1314, 62, 16, 33411, 4252, 62, 7959, 4487, 62, 13033, 796, 6073 ]
what is diagnoses long title of diagnoses icd9 code 42833?
SELECT diagnoses.long_title FROM diagnoses WHERE diagnoses.icd9_code = "42833"
[ 10919, 318, 40567, 890, 3670, 286, 40567, 14158, 67, 24, 2438, 45063, 2091, 30, 46506, 40567, 13, 6511, 62, 7839, 16034, 40567, 33411, 40567, 13, 291, 67, 24, 62, 8189, 796, 366, 40173, 2091, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 40567, 890, 3670, 286, 40567, 14158, 67, 24, 2438, 45063, 2091, 30, 46506, 40567, 13, 6511, 62, 7839, 16034, 40567, 33411, 40567, 13, 291, 67, 24, 62, 8189, 796, 366, 40173, 2091, 1 ]
Name the winning constructor for abu dhabi grand prix
SELECT "Winning constructor" FROM table_70210 WHERE "Grand Prix" = 'abu dhabi grand prix'
[ 5376, 262, 5442, 23772, 329, 450, 84, 288, 37362, 4490, 1293, 87, 46506, 366, 16643, 768, 23772, 1, 16034, 3084, 62, 2154, 21536, 33411, 366, 23581, 23832, 1, 796, 705, 397, 84, 288, 37362, 4490, 1293, 87, 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 ]
[ 5376, 262, 5442, 23772, 329, 450, 84, 288, 37362, 4490, 1293, 87, 46506, 366, 16643, 768, 23772, 1, 16034, 3084, 62, 2154, 21536, 33411, 366, 23581, 23832, 1, 796, 705, 397, 84, 288, 37362, 4490, 1293, 87, 6 ]
how many patients had their diagnosis long title as pulmonary collapse and who were admitted before the year 2179?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admityear < "2179" AND diagnoses.long_title = "Pulmonary collapse"
[ 4919, 867, 3871, 550, 511, 13669, 890, 3670, 355, 45105, 9807, 290, 508, 547, 6848, 878, 262, 614, 362, 21738, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 550, 511, 13669, 890, 3670, 355, 45105, 9807, 290, 508, 547, 6848, 878, 262, 614, 362, 21738, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567...
Who was No. 9 when Ava was No. 4 and Addison was No. 6?
SELECT "No. 9" FROM table_49911 WHERE "No. 4" = 'ava' AND "No. 6" = 'addison'
[ 8241, 373, 1400, 13, 860, 618, 5184, 64, 373, 1400, 13, 604, 290, 3060, 1653, 373, 1400, 13, 718, 30, 46506, 366, 2949, 13, 860, 1, 16034, 3084, 62, 28324, 1157, 33411, 366, 2949, 13, 604, 1, 796, 705, 4170, 6, 5357, 366, 2949, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1400, 13, 860, 618, 5184, 64, 373, 1400, 13, 604, 290, 3060, 1653, 373, 1400, 13, 718, 30, 46506, 366, 2949, 13, 860, 1, 16034, 3084, 62, 28324, 1157, 33411, 366, 2949, 13, 604, 1, 796, 705, 4170, 6, 5357, 366, 2949, ...
When the high assists were Shawn Marion (6) who had high rebounds?
SELECT "High rebounds" FROM table_21532 WHERE "High assists" = 'Shawn Marion (6)'
[ 2215, 262, 1029, 13648, 547, 25225, 32473, 357, 21, 8, 508, 550, 1029, 18841, 30, 46506, 366, 11922, 18841, 1, 16034, 3084, 62, 23349, 2624, 33411, 366, 11922, 13648, 1, 796, 705, 2484, 3832, 32473, 357, 21, 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 ]
[ 2215, 262, 1029, 13648, 547, 25225, 32473, 357, 21, 8, 508, 550, 1029, 18841, 30, 46506, 366, 11922, 18841, 1, 16034, 3084, 62, 23349, 2624, 33411, 366, 11922, 13648, 1, 796, 705, 2484, 3832, 32473, 357, 21, 33047 ]
tell me the costs of a drug named emtricitabine?
SELECT DISTINCT cost.cost FROM cost WHERE cost.event_type = 'prescriptions' AND cost.event_id IN (SELECT prescriptions.row_id FROM prescriptions WHERE prescriptions.drug = 'emtricitabine')
[ 33331, 502, 262, 3484, 286, 257, 2563, 3706, 795, 83, 1173, 270, 397, 500, 30, 46506, 360, 8808, 1268, 4177, 1575, 13, 15805, 16034, 1575, 33411, 1575, 13, 15596, 62, 4906, 796, 705, 18302, 24370, 6, 5357, 1575, 13, 15596, 62, 312, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 33331, 502, 262, 3484, 286, 257, 2563, 3706, 795, 83, 1173, 270, 397, 500, 30, 46506, 360, 8808, 1268, 4177, 1575, 13, 15805, 16034, 1575, 33411, 1575, 13, 15596, 62, 4906, 796, 705, 18302, 24370, 6, 5357, 1575, 13, 15596, 62, 312, ...
provide the number of patients with abnormal lab test status who have diagnoses icd9 code 87340.
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.icd9_code = "87340" AND lab.flag = "delta"
[ 15234, 485, 262, 1271, 286, 3871, 351, 18801, 2248, 1332, 3722, 508, 423, 40567, 14158, 67, 24, 2438, 807, 4790, 1821, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 126...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 15234, 485, 262, 1271, 286, 3871, 351, 18801, 2248, 1332, 3722, 508, 423, 40567, 14158, 67, 24, 2438, 807, 4790, 1821, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 126...
What's the elevator of Jacques D'euse?
SELECT "Elevator" FROM table_63142 WHERE "Elector" = 'jacques d''euse'
[ 2061, 338, 262, 20932, 286, 35437, 360, 6, 68, 1904, 30, 46506, 366, 36, 2768, 1352, 1, 16034, 3084, 62, 5066, 23726, 33411, 366, 19453, 273, 1, 796, 705, 30482, 13281, 288, 7061, 68, 1904, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 338, 262, 20932, 286, 35437, 360, 6, 68, 1904, 30, 46506, 366, 36, 2768, 1352, 1, 16034, 3084, 62, 5066, 23726, 33411, 366, 19453, 273, 1, 796, 705, 30482, 13281, 288, 7061, 68, 1904, 6 ]
What is Prize Money, when Matches is less than 73, and when Round is Third Round Proper?
SELECT prize_money FROM table_name_79 WHERE matches < 73 AND round = "third round proper"
[ 2061, 318, 15895, 12911, 11, 618, 6550, 2052, 318, 1342, 621, 8854, 11, 290, 618, 10485, 318, 10467, 10485, 45989, 30, 46506, 11596, 62, 26316, 16034, 3084, 62, 3672, 62, 3720, 33411, 7466, 1279, 8854, 5357, 2835, 796, 366, 17089, 2835,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 15895, 12911, 11, 618, 6550, 2052, 318, 1342, 621, 8854, 11, 290, 618, 10485, 318, 10467, 10485, 45989, 30, 46506, 11596, 62, 26316, 16034, 3084, 62, 3672, 62, 3720, 33411, 7466, 1279, 8854, 5357, 2835, 796, 366, 17089, 2835,...
what is the first ward identifier of patient 5828 on the current hospital encounter?
SELECT transfers.wardid FROM transfers WHERE transfers.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 5828 AND admissions.dischtime IS NULL) AND NOT transfers.wardid IS NULL ORDER BY transfers.intime LIMIT 1
[ 10919, 318, 262, 717, 15305, 27421, 286, 5827, 7618, 2078, 319, 262, 1459, 4436, 8791, 30, 46506, 16395, 13, 904, 312, 16034, 16395, 33411, 16395, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 717, 15305, 27421, 286, 5827, 7618, 2078, 319, 262, 1459, 4436, 8791, 30, 46506, 16395, 13, 904, 312, 16034, 16395, 33411, 16395, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, ...
patient 002-58884 has produced output (ml)-chest tube #1 mid since 07/2101?
SELECT COUNT(*) > 0 FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '002-58884')) AND intakeoutput.cellpath LIKE '%output%' AND intakeoutpu...
[ 26029, 3571, 17, 12, 3365, 40353, 468, 4635, 5072, 357, 4029, 13219, 46713, 12403, 1303, 16, 3095, 1201, 8753, 14, 2481, 486, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 10337, 22915, 33411, 10337, 22915, 13, 26029, 20850, 31712, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 26029, 3571, 17, 12, 3365, 40353, 468, 4635, 5072, 357, 4029, 13219, 46713, 12403, 1303, 16, 3095, 1201, 8753, 14, 2481, 486, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 10337, 22915, 33411, 10337, 22915, 13, 26029, 20850, 31712, ...
For those records from the products and each product's manufacturer, return a bar chart about the distribution of name and the average of price , and group by attribute name, I want to list by the y axis in ascending.
SELECT T1.Name, T1.Price FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T1.Name ORDER BY T1.Price
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 1441, 257, 2318, 8262, 546, 262, 6082, 286, 1438, 290, 262, 2811, 286, 2756, 837, 290, 1448, 416, 11688, 1438, 11, 314, 765, 284, 1351, 416, 262, 331, 16488, 287, 419...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 1441, 257, 2318, 8262, 546, 262, 6082, 286, 1438, 290, 262, 2811, 286, 2756, 837, 290, 1448, 416, 11688, 1438, 11, 314, 765, 284, 1351, 416, 262, 331, 16488, 287, 419...
what is maximum days of hospital stay of patients whose year of birth is greater than 2197?
SELECT MAX(demographic.days_stay) FROM demographic WHERE demographic.dob_year > "2197"
[ 10919, 318, 5415, 1528, 286, 4436, 2652, 286, 3871, 3025, 614, 286, 4082, 318, 3744, 621, 362, 24991, 30, 46506, 25882, 7, 9536, 6826, 13, 12545, 62, 31712, 8, 16034, 16728, 33411, 16728, 13, 67, 672, 62, 1941, 1875, 366, 17, 24991, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5415, 1528, 286, 4436, 2652, 286, 3871, 3025, 614, 286, 4082, 318, 3744, 621, 362, 24991, 30, 46506, 25882, 7, 9536, 6826, 13, 12545, 62, 31712, 8, 16034, 16728, 33411, 16728, 13, 67, 672, 62, 1941, 1875, 366, 17, 24991, ...
Look for the number of patients less than 47 years who have angioedema as their primary disease.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "ANGIOEDEMA" AND demographic.age < "47"
[ 8567, 329, 262, 1271, 286, 3871, 1342, 621, 6298, 812, 508, 423, 3550, 952, 276, 19687, 355, 511, 4165, 4369, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 47356, 5958, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8567, 329, 262, 1271, 286, 3871, 1342, 621, 6298, 812, 508, 423, 3550, 952, 276, 19687, 355, 511, 4165, 4369, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 47356, 5958, ...
What is the chinese name for whom chan chi-yuen, paul is listed as the romanised name?
SELECT chinese_name FROM table_17964087_2 WHERE romanised_name = "Chan Chi-yuen, Paul"
[ 2061, 318, 262, 442, 3762, 1438, 329, 4150, 442, 272, 33166, 12, 24767, 268, 11, 279, 2518, 318, 5610, 355, 262, 374, 5185, 1417, 1438, 30, 46506, 442, 3762, 62, 3672, 16034, 3084, 62, 1558, 4846, 1821, 5774, 62, 17, 33411, 374, 518...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 442, 3762, 1438, 329, 4150, 442, 272, 33166, 12, 24767, 268, 11, 279, 2518, 318, 5610, 355, 262, 374, 5185, 1417, 1438, 30, 46506, 442, 3762, 62, 3672, 16034, 3084, 62, 1558, 4846, 1821, 5774, 62, 17, 33411, 374, 518...
How long was the fight 'adrenaline mma 3'?
SELECT "Time" FROM table_56625 WHERE "Event" = 'adrenaline mma 3'
[ 2437, 890, 373, 262, 1907, 705, 324, 918, 20663, 285, 2611, 513, 30960, 46506, 366, 7575, 1, 16034, 3084, 62, 20, 2791, 1495, 33411, 366, 9237, 1, 796, 705, 324, 918, 20663, 285, 2611, 513, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 890, 373, 262, 1907, 705, 324, 918, 20663, 285, 2611, 513, 30960, 46506, 366, 7575, 1, 16034, 3084, 62, 20, 2791, 1495, 33411, 366, 9237, 1, 796, 705, 324, 918, 20663, 285, 2611, 513, 6 ]
What was the score for the World Cup Qualifier?
SELECT "Score" FROM table_53894 WHERE "Competition" = 'world cup qualifier'
[ 2061, 373, 262, 4776, 329, 262, 2159, 5454, 9537, 7483, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 49561, 5824, 33411, 366, 7293, 15620, 1, 796, 705, 6894, 6508, 39265, 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, 329, 262, 2159, 5454, 9537, 7483, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 49561, 5824, 33411, 366, 7293, 15620, 1, 796, 705, 6894, 6508, 39265, 6 ]
For those employees who was hired before 2002-06-21, return a line chart about the change of commission_pct over hire_date , and could you sort by the x-axis from low to high?
SELECT HIRE_DATE, COMMISSION_PCT FROM employees WHERE HIRE_DATE < '2002-06-21' ORDER BY HIRE_DATE
[ 1890, 883, 4409, 508, 373, 9657, 878, 6244, 12, 3312, 12, 2481, 11, 1441, 257, 1627, 8262, 546, 262, 1487, 286, 5810, 62, 79, 310, 625, 11078, 62, 4475, 837, 290, 714, 345, 3297, 416, 262, 2124, 12, 22704, 422, 1877, 284, 1029, 30...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4409, 508, 373, 9657, 878, 6244, 12, 3312, 12, 2481, 11, 1441, 257, 1627, 8262, 546, 262, 1487, 286, 5810, 62, 79, 310, 625, 11078, 62, 4475, 837, 290, 714, 345, 3297, 416, 262, 2124, 12, 22704, 422, 1877, 284, 1029, 30...
WHAT IS THE AVERAGE DATE FOR CBS LABEL, IN AUSTRALIA, AND SBP 241031 FOR CATALOG?
SELECT AVG("Date") FROM table_44841 WHERE "Label" = 'cbs' AND "Region" = 'australia' AND "Catalog" = 'sbp 241031'
[ 32971, 3180, 3336, 317, 5959, 11879, 360, 6158, 7473, 11133, 406, 6242, 3698, 11, 3268, 317, 7759, 35296, 3539, 11, 5357, 18056, 47, 1987, 940, 3132, 7473, 38348, 1847, 7730, 30, 46506, 35224, 7203, 10430, 4943, 16034, 3084, 62, 31115, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 32971, 3180, 3336, 317, 5959, 11879, 360, 6158, 7473, 11133, 406, 6242, 3698, 11, 3268, 317, 7759, 35296, 3539, 11, 5357, 18056, 47, 1987, 940, 3132, 7473, 38348, 1847, 7730, 30, 46506, 35224, 7203, 10430, 4943, 16034, 3084, 62, 31115, ...
What is the rank for the competitor from Bulgaria?
SELECT MIN("Rank") FROM table_66445 WHERE "Country" = 'bulgaria'
[ 2061, 318, 262, 4279, 329, 262, 20319, 422, 27902, 30, 46506, 20625, 7203, 27520, 4943, 16034, 3084, 62, 21, 2414, 2231, 33411, 366, 33921, 1, 796, 705, 15065, 4563, 544, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4279, 329, 262, 20319, 422, 27902, 30, 46506, 20625, 7203, 27520, 4943, 16034, 3084, 62, 21, 2414, 2231, 33411, 366, 33921, 1, 796, 705, 15065, 4563, 544, 6 ]
count the number of patients whose gender is f and diagnoses short title is aortic valve disorder?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.gender = "F" AND diagnoses.short_title = "Aortic valve disorder"
[ 9127, 262, 1271, 286, 3871, 3025, 5279, 318, 277, 290, 40567, 1790, 3670, 318, 257, 419, 291, 22580, 8967, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 61...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9127, 262, 1271, 286, 3871, 3025, 5279, 318, 277, 290, 40567, 1790, 3670, 318, 257, 419, 291, 22580, 8967, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 61...
whatis the year the first establishment had research grants in the amount of 4.027?
SELECT MAX("First establishment") FROM table_24538 WHERE "Research grants (2009, in billion SEK )" = '4.027'
[ 10919, 271, 262, 614, 262, 717, 9323, 550, 2267, 11455, 287, 262, 2033, 286, 604, 13, 44698, 30, 46506, 25882, 7203, 5962, 9323, 4943, 16034, 3084, 62, 22995, 2548, 33411, 366, 25104, 11455, 357, 10531, 11, 287, 2997, 7946, 42, 1267, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 271, 262, 614, 262, 717, 9323, 550, 2267, 11455, 287, 262, 2033, 286, 604, 13, 44698, 30, 46506, 25882, 7203, 5962, 9323, 4943, 16034, 3084, 62, 22995, 2548, 33411, 366, 25104, 11455, 357, 10531, 11, 287, 2997, 7946, 42, 1267, ...
Who is the constructor with the grid of 8?
SELECT constructor FROM table_name_25 WHERE grid = 8
[ 8241, 318, 262, 23772, 351, 262, 10706, 286, 807, 30, 46506, 23772, 16034, 3084, 62, 3672, 62, 1495, 33411, 10706, 796, 807 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 318, 262, 23772, 351, 262, 10706, 286, 807, 30, 46506, 23772, 16034, 3084, 62, 3672, 62, 1495, 33411, 10706, 796, 807 ]
Name the country for the us dollar
SELECT country FROM table_2764267_2 WHERE currency = "US dollar"
[ 5376, 262, 1499, 329, 262, 514, 8872, 46506, 1499, 16034, 3084, 62, 1983, 2414, 25674, 62, 17, 33411, 7395, 796, 366, 2937, 8872, 1 ]
[ 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, 1499, 329, 262, 514, 8872, 46506, 1499, 16034, 3084, 62, 1983, 2414, 25674, 62, 17, 33411, 7395, 796, 366, 2937, 8872, 1 ]
What is the score of the match that was against alberto berasategui?
SELECT "Score in the final" FROM table_36145 WHERE "Opponent in the final" = 'alberto berasategui'
[ 2061, 318, 262, 4776, 286, 262, 2872, 326, 373, 1028, 435, 32371, 18157, 292, 2397, 9019, 30, 46506, 366, 26595, 287, 262, 2457, 1, 16034, 3084, 62, 2623, 18781, 33411, 366, 27524, 3471, 287, 262, 2457, 1, 796, 705, 282, 32371, 18157,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2872, 326, 373, 1028, 435, 32371, 18157, 292, 2397, 9019, 30, 46506, 366, 26595, 287, 262, 2457, 1, 16034, 3084, 62, 2623, 18781, 33411, 366, 27524, 3471, 287, 262, 2457, 1, 796, 705, 282, 32371, 18157,...
How many FA cup goals did dick taylor score in the year that he had 0 league goals?
SELECT MIN("FA Cup Goals") FROM table_63354 WHERE "Name" = 'dick taylor' AND "League Goals" < '0'
[ 2437, 867, 9677, 6508, 4661, 750, 19317, 256, 7167, 4776, 287, 262, 614, 326, 339, 550, 657, 4652, 4661, 30, 46506, 20625, 7203, 7708, 5454, 28510, 4943, 16034, 3084, 62, 21, 2091, 4051, 33411, 366, 5376, 1, 796, 705, 67, 624, 256, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9677, 6508, 4661, 750, 19317, 256, 7167, 4776, 287, 262, 614, 326, 339, 550, 657, 4652, 4661, 30, 46506, 20625, 7203, 7708, 5454, 28510, 4943, 16034, 3084, 62, 21, 2091, 4051, 33411, 366, 5376, 1, 796, 705, 67, 624, 256, ...
how many times had patient 17462 had an intake of ns w/40 kcl since 05/17/2104?
SELECT COUNT(*) 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 = 17462)) AND inputevents_cv.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'ns w/40 kcl'...
[ 4919, 867, 1661, 550, 5827, 1596, 39997, 550, 281, 10337, 286, 36545, 266, 14, 1821, 479, 565, 1201, 8870, 14, 1558, 14, 17, 13464, 30, 46506, 327, 28270, 7, 28104, 16034, 287, 79, 1133, 85, 658, 62, 33967, 33411, 287, 79, 1133, 85,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 550, 5827, 1596, 39997, 550, 281, 10337, 286, 36545, 266, 14, 1821, 479, 565, 1201, 8870, 14, 1558, 14, 17, 13464, 30, 46506, 327, 28270, 7, 28104, 16034, 287, 79, 1133, 85, 658, 62, 33967, 33411, 287, 79, 1133, 85,...
Questions with NULL ViewCount.
SELECT Id AS "post_link", ViewCount, CreationDate FROM Posts WHERE PostTypeId = 1 AND ViewCount IS NULL ORDER BY CreationDate
[ 35741, 351, 15697, 3582, 12332, 13, 46506, 5121, 7054, 366, 7353, 62, 8726, 1600, 3582, 12332, 11, 21582, 10430, 16034, 12043, 33411, 2947, 6030, 7390, 796, 352, 5357, 3582, 12332, 3180, 15697, 38678, 11050, 21582, 10430 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 35741, 351, 15697, 3582, 12332, 13, 46506, 5121, 7054, 366, 7353, 62, 8726, 1600, 3582, 12332, 11, 21582, 10430, 16034, 12043, 33411, 2947, 6030, 7390, 796, 352, 5357, 3582, 12332, 3180, 15697, 38678, 11050, 21582, 10430 ]
If the catches is 131, what is the rank total number?
SELECT COUNT(rank) FROM table_26041144_16 WHERE catches = 131
[ 1532, 262, 17591, 318, 23134, 11, 644, 318, 262, 4279, 2472, 1271, 30, 46506, 327, 28270, 7, 43027, 8, 16034, 3084, 62, 21719, 42224, 2598, 62, 1433, 33411, 17591, 796, 23134 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1532, 262, 17591, 318, 23134, 11, 644, 318, 262, 4279, 2472, 1271, 30, 46506, 327, 28270, 7, 43027, 8, 16034, 3084, 62, 21719, 42224, 2598, 62, 1433, 33411, 17591, 796, 23134 ]
what is average age of patients whose gender is m and ethnicity is white?
SELECT AVG(demographic.age) FROM demographic WHERE demographic.gender = "M" AND demographic.ethnicity = "WHITE"
[ 10919, 318, 2811, 2479, 286, 3871, 3025, 5279, 318, 285, 290, 26289, 318, 2330, 30, 46506, 35224, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 8388, 796, 366, 44, 1, 5357, 16728, 13, 38546, 414, 796, 366, 12418, 12709, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2811, 2479, 286, 3871, 3025, 5279, 318, 285, 290, 26289, 318, 2330, 30, 46506, 35224, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 8388, 796, 366, 44, 1, 5357, 16728, 13, 38546, 414, 796, 366, 12418, 12709, ...
What film did abdelatif hwidar direct that was in the short film 2007 prix uip category?
SELECT film FROM table_name_93 WHERE category = "short film 2007 prix uip" AND director_s_ = "abdelatif hwidar"
[ 2061, 2646, 750, 450, 12381, 265, 361, 289, 28029, 283, 1277, 326, 373, 287, 262, 1790, 2646, 4343, 1293, 87, 334, 541, 6536, 30, 46506, 2646, 16034, 3084, 62, 3672, 62, 6052, 33411, 6536, 796, 366, 19509, 2646, 4343, 1293, 87, 334, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 2646, 750, 450, 12381, 265, 361, 289, 28029, 283, 1277, 326, 373, 287, 262, 1790, 2646, 4343, 1293, 87, 334, 541, 6536, 30, 46506, 2646, 16034, 3084, 62, 3672, 62, 6052, 33411, 6536, 796, 366, 19509, 2646, 4343, 1293, 87, 334, ...
What is the position when the channel shows channel 4?
SELECT position FROM table_name_42 WHERE channel = "channel 4"
[ 2061, 318, 262, 2292, 618, 262, 6518, 2523, 6518, 604, 30, 46506, 2292, 16034, 3084, 62, 3672, 62, 3682, 33411, 6518, 796, 366, 17620, 604, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2292, 618, 262, 6518, 2523, 6518, 604, 30, 46506, 2292, 16034, 3084, 62, 3672, 62, 3682, 33411, 6518, 796, 366, 17620, 604, 1 ]
how many airports are listed ?
SELECT COUNT("airport") FROM table_203_340
[ 4919, 867, 22600, 389, 5610, 5633, 46506, 327, 28270, 7203, 958, 634, 4943, 16034, 3084, 62, 22416, 62, 23601 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 22600, 389, 5610, 5633, 46506, 327, 28270, 7203, 958, 634, 4943, 16034, 3084, 62, 22416, 62, 23601 ]
For those records from the products and each product's manufacturer, return a bar chart about the distribution of name and the sum of price , and group by attribute name.
SELECT T2.Name, T1.Price FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 1441, 257, 2318, 8262, 546, 262, 6082, 286, 1438, 290, 262, 2160, 286, 2756, 837, 290, 1448, 416, 11688, 1438, 13, 46506, 309, 17, 13, 5376, 11, 309, 16, 13, 18124, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 1441, 257, 2318, 8262, 546, 262, 6082, 286, 1438, 290, 262, 2160, 286, 2756, 837, 290, 1448, 416, 11688, 1438, 13, 46506, 309, 17, 13, 5376, 11, 309, 16, 13, 18124, ...
How many status' are there with a population of 90565?
SELECT COUNT("Status") FROM table_73446 WHERE "Population" = '90565'
[ 2437, 867, 3722, 6, 389, 612, 351, 257, 3265, 286, 860, 2713, 2996, 30, 46506, 327, 28270, 7203, 19580, 4943, 16034, 3084, 62, 4790, 27260, 33411, 366, 45251, 1, 796, 705, 44928, 2996, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 3722, 6, 389, 612, 351, 257, 3265, 286, 860, 2713, 2996, 30, 46506, 327, 28270, 7203, 19580, 4943, 16034, 3084, 62, 4790, 27260, 33411, 366, 45251, 1, 796, 705, 44928, 2996, 6 ]
what is the total margin of victory in 1963 tucson open invitational ?
SELECT "margin\nof victory" FROM table_204_621 WHERE "date" = 1963 AND "tournament" = 'tucson open invitational'
[ 10919, 318, 262, 2472, 10330, 286, 5373, 287, 19342, 256, 1229, 1559, 1280, 800, 22181, 5633, 46506, 366, 36153, 59, 77, 1659, 5373, 1, 16034, 3084, 62, 18638, 62, 21, 2481, 33411, 366, 4475, 1, 796, 19342, 5357, 366, 83, 5138, 1, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 2472, 10330, 286, 5373, 287, 19342, 256, 1229, 1559, 1280, 800, 22181, 5633, 46506, 366, 36153, 59, 77, 1659, 5373, 1, 16034, 3084, 62, 18638, 62, 21, 2481, 33411, 366, 4475, 1, 796, 19342, 5357, 366, 83, 5138, 1, 7...
For those employees who did not have any job in the past, return a bar chart about the distribution of hire_date and the sum of salary bin hire_date by weekday, rank sum salary in ascending order.
SELECT HIRE_DATE, SUM(SALARY) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) ORDER BY SUM(SALARY)
[ 1890, 883, 4409, 508, 750, 407, 423, 597, 1693, 287, 262, 1613, 11, 1441, 257, 2318, 8262, 546, 262, 6082, 286, 11078, 62, 4475, 290, 262, 2160, 286, 9588, 9874, 11078, 62, 4475, 416, 28269, 11, 4279, 2160, 9588, 287, 41988, 1502, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4409, 508, 750, 407, 423, 597, 1693, 287, 262, 1613, 11, 1441, 257, 2318, 8262, 546, 262, 6082, 286, 11078, 62, 4475, 290, 262, 2160, 286, 9588, 9874, 11078, 62, 4475, 416, 28269, 11, 4279, 2160, 9588, 287, 41988, 1502, 1...
when was patient 3929 prescribed a medication during their current hospital visit for the last time via the po/ng route?
SELECT prescriptions.startdate FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 3929 AND admissions.dischtime IS NULL) AND prescriptions.route = 'po/ng' ORDER BY prescriptions.startdate DESC LIMIT 1
[ 12518, 373, 5827, 5014, 1959, 14798, 257, 14103, 1141, 511, 1459, 4436, 3187, 329, 262, 938, 640, 2884, 262, 745, 14, 782, 6339, 30, 46506, 34092, 13, 9688, 4475, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12518, 373, 5827, 5014, 1959, 14798, 257, 14103, 1141, 511, 1459, 4436, 3187, 329, 262, 938, 640, 2884, 262, 745, 14, 782, 6339, 30, 46506, 34092, 13, 9688, 4475, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 2...
Pole smaller than 0 had what lowest podium?
SELECT MIN("Podium") FROM table_36432 WHERE "Pole" < '0'
[ 47, 2305, 4833, 621, 657, 550, 644, 9016, 27941, 30, 46506, 20625, 7203, 47, 12664, 4943, 16034, 3084, 62, 26780, 2624, 33411, 366, 47, 2305, 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 ]
[ 47, 2305, 4833, 621, 657, 550, 644, 9016, 27941, 30, 46506, 20625, 7203, 47, 12664, 4943, 16034, 3084, 62, 26780, 2624, 33411, 366, 47, 2305, 1, 1279, 705, 15, 6 ]
Name the segment b for graphite s fly rod
SELECT "Segment B" FROM table_1201 WHERE "Segment C" = 'Graphite s Fly Rod'
[ 5376, 262, 10618, 275, 329, 4823, 578, 264, 6129, 15299, 46506, 366, 41030, 434, 347, 1, 16034, 3084, 62, 1065, 486, 33411, 366, 41030, 434, 327, 1, 796, 705, 37065, 578, 264, 13575, 6882, 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 ]
[ 5376, 262, 10618, 275, 329, 4823, 578, 264, 6129, 15299, 46506, 366, 41030, 434, 347, 1, 16034, 3084, 62, 1065, 486, 33411, 366, 41030, 434, 327, 1, 796, 705, 37065, 578, 264, 13575, 6882, 6 ]
Name the least amount of losses for 23 points
SELECT MIN("Losses") FROM table_22561 WHERE "Points" = '23'
[ 5376, 262, 1551, 2033, 286, 9089, 329, 2242, 2173, 46506, 20625, 7203, 43, 793, 274, 4943, 16034, 3084, 62, 18182, 5333, 33411, 366, 40710, 1, 796, 705, 1954, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 1551, 2033, 286, 9089, 329, 2242, 2173, 46506, 20625, 7203, 43, 793, 274, 4943, 16034, 3084, 62, 18182, 5333, 33411, 366, 40710, 1, 796, 705, 1954, 6 ]
how many days has passed since patient 006-76924 stayed for the first time in ward 384 on this hospital visit?
SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', patient.unitadmittime)) FROM patient WHERE patient.uniquepid = '006-76924' AND patient.wardid = 384 AND patient.hospitaldischargetime IS NULL ORDER BY patient.unitadmittime LIMIT 1
[ 4919, 867, 1528, 468, 3804, 1201, 5827, 3571, 21, 12, 22, 3388, 1731, 9658, 329, 262, 717, 640, 287, 15305, 40400, 319, 428, 4436, 3187, 30, 46506, 352, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694, 28955, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 468, 3804, 1201, 5827, 3571, 21, 12, 22, 3388, 1731, 9658, 329, 262, 717, 640, 287, 15305, 40400, 319, 428, 4436, 3187, 30, 46506, 352, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694, 28955, ...
What is Karen Handel polling at in the Insideradvantage poll where John Oxendine is at 15%?
SELECT "Karen Handel" FROM table_34639 WHERE "Poll source" = 'insideradvantage' AND "John Oxendine" = '15%'
[ 2061, 318, 18678, 7157, 417, 13985, 379, 287, 262, 22167, 13461, 496, 3278, 810, 1757, 10736, 437, 500, 318, 379, 1315, 4, 30, 46506, 366, 42, 5757, 7157, 417, 1, 16034, 3084, 62, 30557, 2670, 33411, 366, 39176, 2723, 1, 796, 705, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 18678, 7157, 417, 13985, 379, 287, 262, 22167, 13461, 496, 3278, 810, 1757, 10736, 437, 500, 318, 379, 1315, 4, 30, 46506, 366, 42, 5757, 7157, 417, 1, 16034, 3084, 62, 30557, 2670, 33411, 366, 39176, 2723, 1, 796, 705, 1...
Tell me the horse when the faults are 9 and the total is 46.36
SELECT horse FROM table_name_11 WHERE faults = "9" AND total = 46.36
[ 24446, 502, 262, 8223, 618, 262, 31025, 389, 860, 290, 262, 2472, 318, 6337, 13, 2623, 46506, 8223, 16034, 3084, 62, 3672, 62, 1157, 33411, 31025, 796, 366, 24, 1, 5357, 2472, 796, 6337, 13, 2623 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 24446, 502, 262, 8223, 618, 262, 31025, 389, 860, 290, 262, 2472, 318, 6337, 13, 2623, 46506, 8223, 16034, 3084, 62, 3672, 62, 1157, 33411, 31025, 796, 366, 24, 1, 5357, 2472, 796, 6337, 13, 2623 ]
What date did Lanny Wadkins (6) win?
SELECT date FROM table_name_12 WHERE winner = "lanny wadkins (6)"
[ 2061, 3128, 750, 406, 7737, 48986, 5331, 357, 21, 8, 1592, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 1065, 33411, 8464, 796, 366, 75, 7737, 266, 324, 5331, 357, 21, 16725 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 3128, 750, 406, 7737, 48986, 5331, 357, 21, 8, 1592, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 1065, 33411, 8464, 796, 366, 75, 7737, 266, 324, 5331, 357, 21, 16725 ]
For the Winter semester , which classes are being offered ?
SELECT DISTINCT course.department, course.name, course.number FROM course, course_offering, semester WHERE course.course_id = course_offering.course_id AND course.department = 'EECS' AND semester.semester = 'Winter' AND semester.semester_id = course_offering.semester AND semester.year = 2016
[ 1890, 262, 10633, 24878, 837, 543, 6097, 389, 852, 4438, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 24878, 33411, 1781, 13, 17319, 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...
[ 1890, 262, 10633, 24878, 837, 543, 6097, 389, 852, 4438, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 24878, 33411, 1781, 13, 17319, 62,...
How many viewers did Episode 5 have?
SELECT viewers_millions_ FROM table_12919003_2 WHERE episode = "episode 5"
[ 2437, 867, 10209, 750, 7922, 642, 423, 30, 46506, 10209, 62, 17805, 507, 62, 16034, 3084, 62, 18741, 1129, 11245, 62, 17, 33411, 4471, 796, 366, 38668, 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 ]
[ 2437, 867, 10209, 750, 7922, 642, 423, 30, 46506, 10209, 62, 17805, 507, 62, 16034, 3084, 62, 18741, 1129, 11245, 62, 17, 33411, 4471, 796, 366, 38668, 642, 1 ]
When brive proceeded to quarter final what were the match points?
SELECT "Match points" FROM table_30179 WHERE "Proceed to Quarter-final" = 'Brive'
[ 2215, 275, 11590, 18814, 284, 3860, 2457, 644, 547, 262, 2872, 2173, 30, 46506, 366, 23850, 2173, 1, 16034, 3084, 62, 18938, 3720, 33411, 366, 2964, 2707, 284, 17264, 12, 20311, 1, 796, 705, 33, 11590, 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 ]
[ 2215, 275, 11590, 18814, 284, 3860, 2457, 644, 547, 262, 2872, 2173, 30, 46506, 366, 23850, 2173, 1, 16034, 3084, 62, 18938, 3720, 33411, 366, 2964, 2707, 284, 17264, 12, 20311, 1, 796, 705, 33, 11590, 6 ]
what is the number of patients whose marital status is single and diagnoses long title is malignant neoplasm of middle third of esophagus?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.marital_status = "SINGLE" AND diagnoses.long_title = "Malignant neoplasm of middle third of esophagus"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 29555, 3722, 318, 2060, 290, 40567, 890, 3670, 318, 6428, 25114, 497, 20106, 8597, 286, 3504, 2368, 286, 1658, 2522, 31111, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 1271, 286, 3871, 3025, 29555, 3722, 318, 2060, 290, 40567, 890, 3670, 318, 6428, 25114, 497, 20106, 8597, 286, 3504, 2368, 286, 1658, 2522, 31111, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, ...
Who was the away team that played Fitzroy on May 13, 1950 at Brunswick Street Oval.
SELECT away_team FROM table_name_86 WHERE venue = "brunswick street oval"
[ 8241, 373, 262, 1497, 1074, 326, 2826, 16703, 3287, 319, 1737, 1511, 11, 11445, 379, 32211, 3530, 25165, 13, 46506, 1497, 62, 15097, 16034, 3084, 62, 3672, 62, 4521, 33411, 14359, 796, 366, 1671, 403, 30961, 4675, 41186, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1497, 1074, 326, 2826, 16703, 3287, 319, 1737, 1511, 11, 11445, 379, 32211, 3530, 25165, 13, 46506, 1497, 62, 15097, 16034, 3084, 62, 3672, 62, 4521, 33411, 14359, 796, 366, 1671, 403, 30961, 4675, 41186, 1 ]
What is the hometown of contestants who are from the province of Huesca?
SELECT "Hometown" FROM table_26095 WHERE "Province" = 'Huesca'
[ 2061, 318, 262, 20994, 286, 37851, 508, 389, 422, 262, 8473, 286, 367, 947, 6888, 30, 46506, 366, 39, 19191, 1, 16034, 3084, 62, 21719, 3865, 33411, 366, 15946, 924, 1, 796, 705, 39, 947, 6888, 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, 20994, 286, 37851, 508, 389, 422, 262, 8473, 286, 367, 947, 6888, 30, 46506, 366, 39, 19191, 1, 16034, 3084, 62, 21719, 3865, 33411, 366, 15946, 924, 1, 796, 705, 39, 947, 6888, 6 ]
What was the lowest draw when the against was larger than 2638?
SELECT MIN("Draws") FROM table_12633 WHERE "Against" > '2638'
[ 2061, 373, 262, 9016, 3197, 618, 262, 1028, 373, 4025, 621, 2608, 2548, 30, 46506, 20625, 7203, 25302, 82, 4943, 16034, 3084, 62, 19420, 2091, 33411, 366, 39276, 1, 1875, 705, 2075, 2548, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 9016, 3197, 618, 262, 1028, 373, 4025, 621, 2608, 2548, 30, 46506, 20625, 7203, 25302, 82, 4943, 16034, 3084, 62, 19420, 2091, 33411, 366, 39276, 1, 1875, 705, 2075, 2548, 6 ]
Who won the points classifications in the stage where Matteo Priamo was the winner?
SELECT COUNT("Points classification") FROM table_19525 WHERE "Winner" = 'Matteo Priamo'
[ 8241, 1839, 262, 2173, 1398, 6637, 287, 262, 3800, 810, 38789, 78, 4389, 18811, 373, 262, 8464, 30, 46506, 327, 28270, 7203, 40710, 17923, 4943, 16034, 3084, 62, 22186, 1495, 33411, 366, 48056, 1, 796, 705, 19044, 660, 78, 4389, 18811, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 1839, 262, 2173, 1398, 6637, 287, 262, 3800, 810, 38789, 78, 4389, 18811, 373, 262, 8464, 30, 46506, 327, 28270, 7203, 40710, 17923, 4943, 16034, 3084, 62, 22186, 1495, 33411, 366, 48056, 1, 796, 705, 19044, 660, 78, 4389, 18811, ...
What club is associated with draft number 155?
SELECT nhl_team FROM table_2679061_8 WHERE pick__number = 155
[ 2061, 3430, 318, 3917, 351, 4538, 1271, 20708, 30, 46506, 299, 18519, 62, 15097, 16034, 3084, 62, 2075, 3720, 3312, 16, 62, 23, 33411, 2298, 834, 17618, 796, 20708 ]
[ 1, 1, 1, 1, 1, 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, 3430, 318, 3917, 351, 4538, 1271, 20708, 30, 46506, 299, 18519, 62, 15097, 16034, 3084, 62, 2075, 3720, 3312, 16, 62, 23, 33411, 2298, 834, 17618, 796, 20708 ]
What is the name and date of the most recent race?
SELECT name, date FROM races ORDER BY date DESC LIMIT 1
[ 2061, 318, 262, 1438, 290, 3128, 286, 262, 749, 2274, 3234, 30, 46506, 1438, 11, 3128, 16034, 9558, 38678, 11050, 3128, 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 ]
[ 2061, 318, 262, 1438, 290, 3128, 286, 262, 749, 2274, 3234, 30, 46506, 1438, 11, 3128, 16034, 9558, 38678, 11050, 3128, 22196, 34, 27564, 2043, 352 ]
what are the five most common diagnoses since 2104.
SELECT t1.diagnosisname FROM (SELECT diagnosis.diagnosisname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM diagnosis WHERE STRFTIME('%y', diagnosis.diagnosistime) >= '2104' GROUP BY diagnosis.diagnosisname) AS t1 WHERE t1.c1 <= 5
[ 10919, 389, 262, 1936, 749, 2219, 40567, 1201, 362, 13464, 13, 46506, 256, 16, 13, 47356, 5958, 3672, 16034, 357, 46506, 13669, 13, 47356, 5958, 3672, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, 7, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 389, 262, 1936, 749, 2219, 40567, 1201, 362, 13464, 13, 46506, 256, 16, 13, 47356, 5958, 3672, 16034, 357, 46506, 13669, 13, 47356, 5958, 3672, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, 7, ...
When the conference is west coast and the number of bids are at 2, what's the percentage of games won?
SELECT win__percentage FROM table_name_51 WHERE _number_of_bids = 2 AND conference = "west coast"
[ 2215, 262, 4495, 318, 7421, 7051, 290, 262, 1271, 286, 27837, 389, 379, 362, 11, 644, 338, 262, 5873, 286, 1830, 1839, 30, 46506, 1592, 834, 25067, 496, 16034, 3084, 62, 3672, 62, 4349, 33411, 4808, 17618, 62, 1659, 62, 65, 2340, 79...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 262, 4495, 318, 7421, 7051, 290, 262, 1271, 286, 27837, 389, 379, 362, 11, 644, 338, 262, 5873, 286, 1830, 1839, 30, 46506, 1592, 834, 25067, 496, 16034, 3084, 62, 3672, 62, 4349, 33411, 4808, 17618, 62, 1659, 62, 65, 2340, 79...
Name the date for air canada centre 18,736
SELECT date FROM table_23186738_9 WHERE location_attendance = "Air Canada Centre 18,736"
[ 5376, 262, 3128, 329, 1633, 460, 4763, 7372, 1248, 11, 49150, 46506, 3128, 16034, 3084, 62, 1954, 1507, 3134, 2548, 62, 24, 33411, 4067, 62, 1078, 437, 590, 796, 366, 16170, 3340, 9072, 1248, 11, 49150, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3128, 329, 1633, 460, 4763, 7372, 1248, 11, 49150, 46506, 3128, 16034, 3084, 62, 1954, 1507, 3134, 2548, 62, 24, 33411, 4067, 62, 1078, 437, 590, 796, 366, 16170, 3340, 9072, 1248, 11, 49150, 1 ]
How many races are held in each year after 2014? Show me a bar chart, and sort from low to high by the the number of year please.
SELECT year, COUNT(year) FROM races AS T1 JOIN results AS T2 ON T1.raceId = T2.raceId WHERE T1.year > 2014 GROUP BY year ORDER BY COUNT(year)
[ 2437, 867, 9558, 389, 2714, 287, 1123, 614, 706, 1946, 30, 5438, 502, 257, 2318, 8262, 11, 290, 3297, 422, 1877, 284, 1029, 416, 262, 262, 1271, 286, 614, 3387, 13, 46506, 614, 11, 327, 28270, 7, 1941, 8, 16034, 9558, 7054, 309, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2437, 867, 9558, 389, 2714, 287, 1123, 614, 706, 1946, 30, 5438, 502, 257, 2318, 8262, 11, 290, 3297, 422, 1877, 284, 1029, 416, 262, 262, 1271, 286, 614, 3387, 13, 46506, 614, 11, 327, 28270, 7, 1941, 8, 16034, 9558, 7054, 309, 1...
What is the home record for the Maccabi Tel-Aviv club?
SELECT home FROM table_name_85 WHERE club = "maccabi tel-aviv"
[ 2061, 318, 262, 1363, 1700, 329, 262, 4100, 66, 17914, 12088, 12, 7355, 452, 3430, 30, 46506, 1363, 16034, 3084, 62, 3672, 62, 5332, 33411, 3430, 796, 366, 76, 4134, 17914, 13632, 12, 615, 452, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1363, 1700, 329, 262, 4100, 66, 17914, 12088, 12, 7355, 452, 3430, 30, 46506, 1363, 16034, 3084, 62, 3672, 62, 5332, 33411, 3430, 796, 366, 76, 4134, 17914, 13632, 12, 615, 452, 1 ]
Which Winning Driver has a Second Driver of jimmy bryan?
SELECT winning_driver FROM table_name_25 WHERE second_driver = "jimmy bryan"
[ 13828, 40983, 12434, 468, 257, 5498, 12434, 286, 474, 320, 1820, 275, 29038, 30, 46506, 5442, 62, 26230, 16034, 3084, 62, 3672, 62, 1495, 33411, 1218, 62, 26230, 796, 366, 73, 320, 1820, 275, 29038, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 40983, 12434, 468, 257, 5498, 12434, 286, 474, 320, 1820, 275, 29038, 30, 46506, 5442, 62, 26230, 16034, 3084, 62, 3672, 62, 1495, 33411, 1218, 62, 26230, 796, 366, 73, 320, 1820, 275, 29038, 1 ]
what is the number of films in this category that came from france during this year ?
SELECT COUNT("title") FROM table_204_652 WHERE "country" = 'france'
[ 10919, 318, 262, 1271, 286, 7328, 287, 428, 6536, 326, 1625, 422, 1216, 590, 1141, 428, 614, 5633, 46506, 327, 28270, 7203, 7839, 4943, 16034, 3084, 62, 18638, 62, 43193, 33411, 366, 19315, 1, 796, 705, 69, 8132, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 1271, 286, 7328, 287, 428, 6536, 326, 1625, 422, 1216, 590, 1141, 428, 614, 5633, 46506, 327, 28270, 7203, 7839, 4943, 16034, 3084, 62, 18638, 62, 43193, 33411, 366, 19315, 1, 796, 705, 69, 8132, 6 ]
how many different countries won at least one stage in the 1964 tour de france ?
SELECT COUNT(DISTINCT "winner") FROM table_203_44
[ 4919, 867, 1180, 2678, 1839, 379, 1551, 530, 3800, 287, 262, 17575, 4205, 390, 1216, 590, 5633, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 366, 39791, 4943, 16034, 3084, 62, 22416, 62, 2598 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1180, 2678, 1839, 379, 1551, 530, 3800, 287, 262, 17575, 4205, 390, 1216, 590, 5633, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 366, 39791, 4943, 16034, 3084, 62, 22416, 62, 2598 ]
What is the plural for the Meaning of night?
SELECT plural FROM table_name_85 WHERE meaning = "night"
[ 2061, 318, 262, 22801, 329, 262, 30563, 286, 1755, 30, 46506, 22801, 16034, 3084, 62, 3672, 62, 5332, 33411, 3616, 796, 366, 3847, 1 ]
[ 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, 22801, 329, 262, 30563, 286, 1755, 30, 46506, 22801, 16034, 3084, 62, 3672, 62, 5332, 33411, 3616, 796, 366, 3847, 1 ]
therapeutic limitations ( do not resuscitate orders )
SELECT * FROM table_train_36 WHERE do_not_resuscitate_dnr = 1
[ 490, 1758, 18089, 11247, 357, 466, 407, 48636, 12027, 6266, 1267, 46506, 1635, 16034, 3084, 62, 27432, 62, 2623, 33411, 466, 62, 1662, 62, 411, 16241, 12027, 62, 32656, 81, 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 ]
[ 490, 1758, 18089, 11247, 357, 466, 407, 48636, 12027, 6266, 1267, 46506, 1635, 16034, 3084, 62, 27432, 62, 2623, 33411, 466, 62, 1662, 62, 411, 16241, 12027, 62, 32656, 81, 796, 352 ]
Who was the coach in 1953?
SELECT coach FROM table_name_19 WHERE year = "1953"
[ 8241, 373, 262, 3985, 287, 24217, 30, 46506, 3985, 16034, 3084, 62, 3672, 62, 1129, 33411, 614, 796, 366, 1129, 4310, 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, 3985, 287, 24217, 30, 46506, 3985, 16034, 3084, 62, 3672, 62, 1129, 33411, 614, 796, 366, 1129, 4310, 1 ]
count the number of ventricular tachycardia primary disease patients who underwent closed biopsy of tongue.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.diagnosis = "VENTRICULAR TACHYCARDIA" AND procedures.short_title = "Closed biopsy of tongue"
[ 9127, 262, 1271, 286, 7435, 41001, 256, 35586, 9517, 544, 4165, 4369, 3871, 508, 25289, 4838, 3182, 44522, 286, 11880, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9127, 262, 1271, 286, 7435, 41001, 256, 35586, 9517, 544, 4165, 4369, 3871, 508, 25289, 4838, 3182, 44522, 286, 11880, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268,...
If the salary range is 4,000-9,000, what is the Indians %?
SELECT indians FROM table_27257896_2 WHERE salary_range = "4,000-9,000"
[ 1532, 262, 9588, 2837, 318, 604, 11, 830, 12, 24, 11, 830, 11, 644, 318, 262, 12746, 4064, 30, 46506, 773, 1547, 16034, 3084, 62, 1983, 1495, 3695, 4846, 62, 17, 33411, 9588, 62, 9521, 796, 366, 19, 11, 830, 12, 24, 11, 830, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1532, 262, 9588, 2837, 318, 604, 11, 830, 12, 24, 11, 830, 11, 644, 318, 262, 12746, 4064, 30, 46506, 773, 1547, 16034, 3084, 62, 1983, 1495, 3695, 4846, 62, 17, 33411, 9588, 62, 9521, 796, 366, 19, 11, 830, 12, 24, 11, 830, 1 ]
Where was the venue for 24/11/1979?
SELECT venue FROM table_name_19 WHERE date = "24/11/1979"
[ 8496, 373, 262, 14359, 329, 1987, 14, 1157, 14, 33581, 30, 46506, 14359, 16034, 3084, 62, 3672, 62, 1129, 33411, 3128, 796, 366, 1731, 14, 1157, 14, 33581, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8496, 373, 262, 14359, 329, 1987, 14, 1157, 14, 33581, 30, 46506, 14359, 16034, 3084, 62, 3672, 62, 1129, 33411, 3128, 796, 366, 1731, 14, 1157, 14, 33581, 1 ]
Who is the opposition on the division 1 game at Stamford Bridge?
SELECT "Opposition" FROM table_58090 WHERE "Competition" = 'division 1' AND "Venue" = 'stamford bridge'
[ 8241, 318, 262, 5471, 319, 262, 7297, 352, 983, 379, 47604, 10290, 30, 46506, 366, 27524, 3507, 1, 16034, 3084, 62, 39322, 3829, 33411, 366, 7293, 15620, 1, 796, 705, 21426, 352, 6, 5357, 366, 37522, 518, 1, 796, 705, 301, 321, 3841...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 318, 262, 5471, 319, 262, 7297, 352, 983, 379, 47604, 10290, 30, 46506, 366, 27524, 3507, 1, 16034, 3084, 62, 39322, 3829, 33411, 366, 7293, 15620, 1, 796, 705, 21426, 352, 6, 5357, 366, 37522, 518, 1, 796, 705, 301, 321, 3841...
What is the rank of the film, Amelia and Michael?
SELECT rank FROM table_name_30 WHERE film = "amelia and michael"
[ 2061, 318, 262, 4279, 286, 262, 2646, 11, 49769, 290, 3899, 30, 46506, 4279, 16034, 3084, 62, 3672, 62, 1270, 33411, 2646, 796, 366, 17983, 544, 290, 285, 40302, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4279, 286, 262, 2646, 11, 49769, 290, 3899, 30, 46506, 4279, 16034, 3084, 62, 3672, 62, 1270, 33411, 2646, 796, 366, 17983, 544, 290, 285, 40302, 1 ]
Tag score with (and without) Accepted Bonus.
SELECT Tags.TagName, SUM(Posts.Score) AS score, COUNT(posts2.AcceptedAnswerId) AS accepted, SUM(Posts.Score) + COUNT(posts2.AcceptedAnswerId) AS both, ROUND(COUNT(posts2.AcceptedAnswerId) * 100.0 / NULLIF(SUM(Posts.Score), 0), 0) AS "%" FROM Posts INNER JOIN Posts AS posts2 ON Posts.ParentId = posts2.Id INNER JOIN Post...
[ 24835, 4776, 351, 357, 392, 1231, 8, 21699, 276, 18770, 13, 46506, 44789, 13, 24835, 5376, 11, 35683, 7, 21496, 13, 26595, 8, 7054, 4776, 11, 327, 28270, 7, 24875, 17, 13, 38855, 276, 33706, 7390, 8, 7054, 6292, 11, 35683, 7, 21496,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 24835, 4776, 351, 357, 392, 1231, 8, 21699, 276, 18770, 13, 46506, 44789, 13, 24835, 5376, 11, 35683, 7, 21496, 13, 26595, 8, 7054, 4776, 11, 327, 28270, 7, 24875, 17, 13, 38855, 276, 33706, 7390, 8, 7054, 6292, 11, 35683, 7, 21496,...
Are there any courses available that provide 13 credits ?
SELECT DISTINCT name, number FROM course WHERE credits = 13 AND department = 'EECS'
[ 8491, 612, 597, 10902, 1695, 326, 2148, 1511, 10824, 5633, 46506, 360, 8808, 1268, 4177, 1438, 11, 1271, 16034, 1781, 33411, 10824, 796, 1511, 5357, 5011, 796, 705, 36, 2943, 50, 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 ]
[ 8491, 612, 597, 10902, 1695, 326, 2148, 1511, 10824, 5633, 46506, 360, 8808, 1268, 4177, 1438, 11, 1271, 16034, 1781, 33411, 10824, 796, 1511, 5357, 5011, 796, 705, 36, 2943, 50, 6 ]
What was the result of the game played in Venue H?
SELECT "Result" FROM table_45920 WHERE "Venue" = 'h'
[ 2061, 373, 262, 1255, 286, 262, 983, 2826, 287, 9932, 518, 367, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 33459, 1238, 33411, 366, 37522, 518, 1, 796, 705, 71, 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, 1255, 286, 262, 983, 2826, 287, 9932, 518, 367, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 33459, 1238, 33411, 366, 37522, 518, 1, 796, 705, 71, 6 ]
When was Lachlan Dale born?
SELECT "D.O.B." FROM table_36220 WHERE "Surname" = 'dale' AND "First" = 'lachlan'
[ 2215, 373, 406, 620, 9620, 20412, 4642, 30, 46506, 366, 35, 13, 46, 13, 33, 526, 16034, 3084, 62, 2623, 17572, 33411, 366, 50, 700, 480, 1, 796, 705, 14597, 6, 5357, 366, 5962, 1, 796, 705, 75, 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 ]
[ 2215, 373, 406, 620, 9620, 20412, 4642, 30, 46506, 366, 35, 13, 46, 13, 33, 526, 16034, 3084, 62, 2623, 17572, 33411, 366, 50, 700, 480, 1, 796, 705, 14597, 6, 5357, 366, 5962, 1, 796, 705, 75, 620, 9620, 6 ]