instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
patient 98177 was diagnosed for the last time with what?
SELECT d_icd_diagnoses.short_title FROM d_icd_diagnoses WHERE d_icd_diagnoses.icd9_code IN (SELECT diagnoses_icd.icd9_code FROM diagnoses_icd WHERE diagnoses_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 98177) ORDER BY diagnoses_icd.charttime DESC LIMIT 1)
[ 26029, 9661, 22413, 373, 14641, 329, 262, 938, 640, 351, 644, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9661, 22413, 373, 14641, 329, 262, 938, 640, 351, 644, 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, ...
Prof. Radosevich is the only person who teaches Medieval Music , correct ?
SELECT DISTINCT course.department, course.name, course.number, instructor.name FROM course, course_offering, instructor, offering_instructor WHERE course.course_id = course_offering.course_id AND course.name LIKE '%Medieval Music%' AND NOT instructor.name LIKE '%Radosevich%' AND offering_instructor.instructor_id = inst...
[ 15404, 13, 5325, 577, 49547, 318, 262, 691, 1048, 508, 17324, 30294, 7849, 837, 3376, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 11, 21187, 13, 3672, 16034, 1781, 11, 1781, 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...
[ 15404, 13, 5325, 577, 49547, 318, 262, 691, 1048, 508, 17324, 30294, 7849, 837, 3376, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 11, 21187, 13, 3672, 16034, 1781, 11, 1781, 62, ...
what was the first height of patient 14671 in 12/2105?
SELECT chartevents.valuenum FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 14671)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'admit ht'...
[ 10919, 373, 262, 717, 6001, 286, 5827, 1478, 46250, 287, 1105, 14, 17, 13348, 30, 46506, 8262, 31534, 13, 2100, 84, 44709, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, 323, 62, 312, 3268, 357, 46506, 14158, 436, 592, 13, 291,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 373, 262, 717, 6001, 286, 5827, 1478, 46250, 287, 1105, 14, 17, 13348, 30, 46506, 8262, 31534, 13, 2100, 84, 44709, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, 323, 62, 312, 3268, 357, 46506, 14158, 436, 592, 13, 291,...
Name the percentage change yoy for presbyterian college
SELECT percentage_change_yoy FROM table_27956_3 WHERE institution = "Presbyterian College"
[ 5376, 262, 5873, 1487, 331, 726, 329, 906, 36204, 666, 4152, 46506, 5873, 62, 3803, 62, 88, 726, 16034, 3084, 62, 1983, 50148, 62, 18, 33411, 9901, 796, 366, 25460, 36204, 666, 5535, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 5873, 1487, 331, 726, 329, 906, 36204, 666, 4152, 46506, 5873, 62, 3803, 62, 88, 726, 16034, 3084, 62, 1983, 50148, 62, 18, 33411, 9901, 796, 366, 25460, 36204, 666, 5535, 1 ]
what is the 2nd leg when team #2 is algiris kaunas?
SELECT "2nd leg" FROM table_48038 WHERE "Team #2" = 'žalgiris kaunas'
[ 10919, 318, 262, 362, 358, 1232, 618, 1074, 1303, 17, 318, 435, 70, 29616, 479, 1942, 292, 30, 46506, 366, 17, 358, 1232, 1, 16034, 3084, 62, 22148, 2548, 33411, 366, 15592, 1303, 17, 1, 796, 705, 129, 122, 14016, 29616, 479, 1942, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 362, 358, 1232, 618, 1074, 1303, 17, 318, 435, 70, 29616, 479, 1942, 292, 30, 46506, 366, 17, 358, 1232, 1, 16034, 3084, 62, 22148, 2548, 33411, 366, 15592, 1303, 17, 1, 796, 705, 129, 122, 14016, 29616, 479, 1942, ...
what is minimum age of patients whose ethnicity is white and admission year is greater than or equal to 2119?
SELECT MIN(demographic.age) FROM demographic WHERE demographic.ethnicity = "WHITE" AND demographic.admityear >= "2119"
[ 10919, 318, 5288, 2479, 286, 3871, 3025, 26289, 318, 2330, 290, 13938, 614, 318, 3744, 621, 393, 4961, 284, 2310, 1129, 30, 46506, 20625, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 5288, 2479, 286, 3871, 3025, 26289, 318, 2330, 290, 13938, 614, 318, 3744, 621, 393, 4961, 284, 2310, 1129, 30, 46506, 20625, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 38546, 414, 796, 366, 12418, 12709, 1...
What is the Name with an overall of less than 123 for the Detroit Lions?
SELECT name FROM table_name_3 WHERE overall < 123 AND team = "detroit lions"
[ 2061, 318, 262, 6530, 351, 281, 4045, 286, 1342, 621, 17031, 329, 262, 8488, 14536, 30, 46506, 1438, 16034, 3084, 62, 3672, 62, 18, 33411, 4045, 1279, 17031, 5357, 1074, 796, 366, 15255, 7775, 31420, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6530, 351, 281, 4045, 286, 1342, 621, 17031, 329, 262, 8488, 14536, 30, 46506, 1438, 16034, 3084, 62, 3672, 62, 18, 33411, 4045, 1279, 17031, 5357, 1074, 796, 366, 15255, 7775, 31420, 1 ]
when was the first time patient 030-8973 had pneumonia - aspiration until 2104 diagnosed?
SELECT diagnosis.diagnosistime FROM diagnosis WHERE diagnosis.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '030-8973')) AND diagnosis.diagnosisname = 'pneumonia - aspiration...
[ 12518, 373, 262, 717, 640, 5827, 657, 1270, 12, 4531, 4790, 550, 35647, 532, 48217, 1566, 362, 13464, 14641, 30, 46506, 13669, 13, 47356, 418, 396, 524, 16034, 13669, 33411, 13669, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12518, 373, 262, 717, 640, 5827, 657, 1270, 12, 4531, 4790, 550, 35647, 532, 48217, 1566, 362, 13464, 14641, 30, 46506, 13669, 13, 47356, 418, 396, 524, 16034, 13669, 33411, 13669, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 1...
What is the sort value that had deaths of 71?
SELECT sort_restore FROM table_name_64 WHERE deaths = "71"
[ 2061, 318, 262, 3297, 1988, 326, 550, 7040, 286, 9166, 30, 46506, 3297, 62, 2118, 382, 16034, 3084, 62, 3672, 62, 2414, 33411, 7040, 796, 366, 4869, 1 ]
[ 1, 1, 1, 1, 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, 3297, 1988, 326, 550, 7040, 286, 9166, 30, 46506, 3297, 62, 2118, 382, 16034, 3084, 62, 3672, 62, 2414, 33411, 7040, 796, 366, 4869, 1 ]
which was the only kolmonen whose movements were promoted ?
SELECT "season" FROM table_204_974 WHERE "movements" = 'promoted'
[ 4758, 373, 262, 691, 479, 349, 2144, 268, 3025, 8650, 547, 13722, 5633, 46506, 366, 6230, 1, 16034, 3084, 62, 18638, 62, 24, 4524, 33411, 366, 21084, 902, 1, 796, 705, 16963, 5191, 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 ]
[ 4758, 373, 262, 691, 479, 349, 2144, 268, 3025, 8650, 547, 13722, 5633, 46506, 366, 6230, 1, 16034, 3084, 62, 18638, 62, 24, 4524, 33411, 366, 21084, 902, 1, 796, 705, 16963, 5191, 6 ]
Which January has a Score of 7 4, and a Game smaller than 42?
SELECT SUM("January") FROM table_75647 WHERE "Score" = '7–4' AND "Game" < '42'
[ 13828, 3269, 468, 257, 15178, 286, 767, 604, 11, 290, 257, 3776, 4833, 621, 5433, 30, 46506, 35683, 7203, 21339, 4943, 16034, 3084, 62, 2425, 33981, 33411, 366, 26595, 1, 796, 705, 22, 1906, 19, 6, 5357, 366, 8777, 1, 1279, 705, 368...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3269, 468, 257, 15178, 286, 767, 604, 11, 290, 257, 3776, 4833, 621, 5433, 30, 46506, 35683, 7203, 21339, 4943, 16034, 3084, 62, 2425, 33981, 33411, 366, 26595, 1, 796, 705, 22, 1906, 19, 6, 5357, 366, 8777, 1, 1279, 705, 368...
which vehicles got best time of day 1:17.17
SELECT vehicle FROM table_20090682_4 WHERE best_time_of_day = "1:17.17"
[ 4758, 5672, 1392, 1266, 640, 286, 1110, 352, 25, 1558, 13, 1558, 46506, 4038, 16034, 3084, 62, 2167, 3829, 43950, 62, 19, 33411, 1266, 62, 2435, 62, 1659, 62, 820, 796, 366, 16, 25, 1558, 13, 1558, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4758, 5672, 1392, 1266, 640, 286, 1110, 352, 25, 1558, 13, 1558, 46506, 4038, 16034, 3084, 62, 2167, 3829, 43950, 62, 19, 33411, 1266, 62, 2435, 62, 1659, 62, 820, 796, 366, 16, 25, 1558, 13, 1558, 1 ]
What Petrol engine has total power of ps (kw; bhp)@5400-6500?
SELECT model FROM table_21154679_1 WHERE max_power = "PS (kW; bhp)@5400-6500"
[ 2061, 4767, 3225, 3113, 468, 2472, 1176, 286, 26692, 357, 46265, 26, 275, 24831, 8, 31, 4051, 405, 12, 2996, 405, 30, 46506, 2746, 16034, 3084, 62, 21895, 4051, 37601, 62, 16, 33411, 3509, 62, 6477, 796, 366, 3705, 357, 74, 54, 26, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4767, 3225, 3113, 468, 2472, 1176, 286, 26692, 357, 46265, 26, 275, 24831, 8, 31, 4051, 405, 12, 2996, 405, 30, 46506, 2746, 16034, 3084, 62, 21895, 4051, 37601, 62, 16, 33411, 3509, 62, 6477, 796, 366, 3705, 357, 74, 54, 26, ...
Which owner has 84 seats?
SELECT "Owner" FROM table_38857 WHERE "Seats" = '84'
[ 13828, 4870, 468, 9508, 8632, 30, 46506, 366, 42419, 1, 16034, 3084, 62, 30460, 3553, 33411, 366, 4653, 1381, 1, 796, 705, 5705, 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 ]
[ 13828, 4870, 468, 9508, 8632, 30, 46506, 366, 42419, 1, 16034, 3084, 62, 30460, 3553, 33411, 366, 4653, 1381, 1, 796, 705, 5705, 6 ]
For all employees who have the letters D or S in their first name, a scatter chart shows the correlation between commission_pct and manager_id .
SELECT COMMISSION_PCT, MANAGER_ID FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%'
[ 1890, 477, 4409, 508, 423, 262, 7475, 360, 393, 311, 287, 511, 717, 1438, 11, 257, 41058, 8262, 2523, 262, 16096, 1022, 5810, 62, 79, 310, 290, 4706, 62, 312, 764, 46506, 22240, 40373, 62, 47, 4177, 11, 17254, 4760, 1137, 62, 2389, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 41058, 8262, 2523, 262, 16096, 1022, 5810, 62, 79, 310, 290, 4706, 62, 312, 764, 46506, 22240, 40373, 62, 47, 4177, 11, 17254, 4760, 1137, 62, 2389, ...
List the name and the number of enrolled student for each course in a bar chart, and could you show in desc by the X-axis?
SELECT course_name, COUNT(*) FROM Courses AS T1 JOIN Student_Course_Enrolment AS T2 ON T1.course_id = T2.course_id GROUP BY T1.course_name ORDER BY course_name DESC
[ 8053, 262, 1438, 290, 262, 1271, 286, 18724, 3710, 329, 1123, 1781, 287, 257, 2318, 8262, 11, 290, 714, 345, 905, 287, 1715, 416, 262, 1395, 12, 22704, 30, 46506, 1781, 62, 3672, 11, 327, 28270, 7, 28104, 16034, 2734, 8448, 7054, 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...
[ 8053, 262, 1438, 290, 262, 1271, 286, 18724, 3710, 329, 1123, 1781, 287, 257, 2318, 8262, 11, 290, 714, 345, 905, 287, 1715, 416, 262, 1395, 12, 22704, 30, 46506, 1781, 62, 3672, 11, 327, 28270, 7, 28104, 16034, 2734, 8448, 7054, 30...
What is the lap total for the grid under 15 that retired due to transmission?
SELECT SUM(laps) FROM table_name_65 WHERE grid < 15 AND time_retired = "transmission"
[ 2061, 318, 262, 14779, 2472, 329, 262, 10706, 739, 1315, 326, 9880, 2233, 284, 11478, 30, 46506, 35683, 7, 75, 1686, 8, 16034, 3084, 62, 3672, 62, 2996, 33411, 10706, 1279, 1315, 5357, 640, 62, 1186, 1202, 796, 366, 7645, 3411, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14779, 2472, 329, 262, 10706, 739, 1315, 326, 9880, 2233, 284, 11478, 30, 46506, 35683, 7, 75, 1686, 8, 16034, 3084, 62, 3672, 62, 2996, 33411, 10706, 1279, 1315, 5357, 640, 62, 1186, 1202, 796, 366, 7645, 3411, 1 ]
How many rounds did shirley van der lof go?
SELECT rounds FROM table_name_46 WHERE driver = "shirley van der lof"
[ 2437, 867, 9196, 750, 427, 343, 1636, 5719, 4587, 300, 1659, 467, 30, 46506, 9196, 16034, 3084, 62, 3672, 62, 3510, 33411, 4639, 796, 366, 1477, 343, 1636, 5719, 4587, 300, 1659, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 9196, 750, 427, 343, 1636, 5719, 4587, 300, 1659, 467, 30, 46506, 9196, 16034, 3084, 62, 3672, 62, 3510, 33411, 4639, 796, 366, 1477, 343, 1636, 5719, 4587, 300, 1659, 1 ]
What are the different affiliations, and what is the total enrollment of schools founded after 1850 for each enrollment type Visualize by bar chart, and I want to rank from low to high by the total number of enrollment please.
SELECT Affiliation, SUM(Enrollment) FROM university WHERE Founded > 1850 GROUP BY Affiliation ORDER BY SUM(Enrollment)
[ 2061, 389, 262, 1180, 8349, 602, 11, 290, 644, 318, 262, 2472, 20753, 286, 4266, 9393, 706, 35745, 329, 1123, 20753, 2099, 15612, 1096, 416, 2318, 8262, 11, 290, 314, 765, 284, 4279, 422, 1877, 284, 1029, 416, 262, 2472, 1271, 286, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1180, 8349, 602, 11, 290, 644, 318, 262, 2472, 20753, 286, 4266, 9393, 706, 35745, 329, 1123, 20753, 2099, 15612, 1096, 416, 2318, 8262, 11, 290, 314, 765, 284, 4279, 422, 1877, 284, 1029, 416, 262, 2472, 1271, 286, ...
Name the number of tn seshan values for kr values is 478608
SELECT COUNT(tn_seshan__values_) FROM table_22897453_1 WHERE kr_narayanan__values_ = 478608
[ 5376, 262, 1271, 286, 256, 77, 264, 5069, 272, 3815, 329, 479, 81, 3815, 318, 604, 3695, 28688, 46506, 327, 28270, 7, 34106, 62, 82, 5069, 272, 834, 27160, 62, 8, 16034, 3084, 62, 1828, 4531, 22, 36625, 62, 16, 33411, 479, 81, 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 ]
[ 5376, 262, 1271, 286, 256, 77, 264, 5069, 272, 3815, 329, 479, 81, 3815, 318, 604, 3695, 28688, 46506, 327, 28270, 7, 34106, 62, 82, 5069, 272, 834, 27160, 62, 8, 16034, 3084, 62, 1828, 4531, 22, 36625, 62, 16, 33411, 479, 81, 62,...
Who is the incumbent who was first elected before 2002 from the maryland 3 district?
SELECT incumbent FROM table_name_41 WHERE first_elected < 2002 AND district = "maryland 3"
[ 8241, 318, 262, 23526, 508, 373, 717, 7018, 878, 6244, 422, 262, 285, 560, 1044, 513, 4783, 30, 46506, 23526, 16034, 3084, 62, 3672, 62, 3901, 33411, 717, 62, 28604, 1279, 6244, 5357, 4783, 796, 366, 6874, 1044, 513, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 318, 262, 23526, 508, 373, 717, 7018, 878, 6244, 422, 262, 285, 560, 1044, 513, 4783, 30, 46506, 23526, 16034, 3084, 62, 3672, 62, 3901, 33411, 717, 62, 28604, 1279, 6244, 5357, 4783, 796, 366, 6874, 1044, 513, 1 ]
Name the number of colleges for jerome pathon
SELECT COUNT("College") FROM table_3978 WHERE "Player" = 'Jerome Pathon'
[ 5376, 262, 1271, 286, 15273, 329, 13665, 462, 3108, 261, 46506, 327, 28270, 7203, 38951, 4943, 16034, 3084, 62, 2670, 3695, 33411, 366, 14140, 1, 796, 705, 36134, 462, 10644, 261, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 1271, 286, 15273, 329, 13665, 462, 3108, 261, 46506, 327, 28270, 7203, 38951, 4943, 16034, 3084, 62, 2670, 3695, 33411, 366, 14140, 1, 796, 705, 36134, 462, 10644, 261, 6 ]
what is the number of the episode in the season that had 7.19 millions of north american viewers?
SELECT "Season #" FROM table_30103 WHERE "U.S. viewers (millions)" = '7.19'
[ 10919, 318, 262, 1271, 286, 262, 4471, 287, 262, 1622, 326, 550, 767, 13, 1129, 5242, 286, 5093, 45630, 272, 10209, 30, 46506, 366, 18960, 1303, 1, 16034, 3084, 62, 18938, 3070, 33411, 366, 52, 13, 50, 13, 10209, 357, 17805, 507, 16...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 1271, 286, 262, 4471, 287, 262, 1622, 326, 550, 767, 13, 1129, 5242, 286, 5093, 45630, 272, 10209, 30, 46506, 366, 18960, 1303, 1, 16034, 3084, 62, 18938, 3070, 33411, 366, 52, 13, 50, 13, 10209, 357, 17805, 507, 16...
What is the highest number of losses with 25 points?
SELECT MAX("Lost") FROM table_56154 WHERE "Points" = '25'
[ 2061, 318, 262, 4511, 1271, 286, 9089, 351, 1679, 2173, 30, 46506, 25882, 7203, 31042, 4943, 16034, 3084, 62, 3980, 21526, 33411, 366, 40710, 1, 796, 705, 1495, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4511, 1271, 286, 9089, 351, 1679, 2173, 30, 46506, 25882, 7203, 31042, 4943, 16034, 3084, 62, 3980, 21526, 33411, 366, 40710, 1, 796, 705, 1495, 6 ]
What's the world ranking in 2011 having more than 142 countries sampled, and more than a 3 for ranking in Latin America?
SELECT world_ranking__1_ FROM table_name_87 WHERE year_of_publication = "2011" AND ranking_in_latin_america__2_ > 3 AND countries_sampled > 142
[ 2061, 338, 262, 995, 12759, 287, 2813, 1719, 517, 621, 25181, 2678, 35846, 11, 290, 517, 621, 257, 513, 329, 12759, 287, 9133, 2253, 30, 46506, 995, 62, 28405, 834, 16, 62, 16034, 3084, 62, 3672, 62, 5774, 33411, 614, 62, 1659, 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...
[ 2061, 338, 262, 995, 12759, 287, 2813, 1719, 517, 621, 25181, 2678, 35846, 11, 290, 517, 621, 257, 513, 329, 12759, 287, 9133, 2253, 30, 46506, 995, 62, 28405, 834, 16, 62, 16034, 3084, 62, 3672, 62, 5774, 33411, 614, 62, 1659, 62, ...
Which player has a s wicket at 48?
SELECT player FROM table_name_84 WHERE s_wicket = "48"
[ 13828, 2137, 468, 257, 264, 266, 9715, 379, 4764, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 5705, 33411, 264, 62, 86, 9715, 796, 366, 2780, 1 ]
[ 1, 1, 1, 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, 2137, 468, 257, 264, 266, 9715, 379, 4764, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 5705, 33411, 264, 62, 86, 9715, 796, 366, 2780, 1 ]
on their last hospital visit, what is the name of the organism found first blood culture microbiology test of patient 23721?
SELECT microbiologyevents.org_name FROM microbiologyevents WHERE microbiologyevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 23721 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime DESC LIMIT 1) AND microbiologyevents.spec_type_desc = 'blood culture' AND NOT m...
[ 261, 511, 938, 4436, 3187, 11, 644, 318, 262, 1438, 286, 262, 26433, 1043, 717, 2910, 3968, 24559, 1435, 1332, 286, 5827, 34385, 2481, 30, 46506, 24559, 1435, 31534, 13, 2398, 62, 3672, 16034, 24559, 1435, 31534, 33411, 24559, 1435, 315...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 261, 511, 938, 4436, 3187, 11, 644, 318, 262, 1438, 286, 262, 26433, 1043, 717, 2910, 3968, 24559, 1435, 1332, 286, 5827, 34385, 2481, 30, 46506, 24559, 1435, 31534, 13, 2398, 62, 3672, 16034, 24559, 1435, 31534, 33411, 24559, 1435, 315...
Which week has the lowest attendance of 48,102?
SELECT MIN("Week") FROM table_57554 WHERE "Attendance" = '48,102'
[ 13828, 1285, 468, 262, 9016, 14858, 286, 4764, 11, 15377, 30, 46506, 20625, 7203, 20916, 4943, 16034, 3084, 62, 36189, 4051, 33411, 366, 8086, 437, 590, 1, 796, 705, 2780, 11, 15377, 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, 1285, 468, 262, 9016, 14858, 286, 4764, 11, 15377, 30, 46506, 20625, 7203, 20916, 4943, 16034, 3084, 62, 36189, 4051, 33411, 366, 8086, 437, 590, 1, 796, 705, 2780, 11, 15377, 6 ]
calculate the minimum age of female newborn admitted patients.
SELECT MIN(demographic.age) FROM demographic WHERE demographic.gender = "F" AND demographic.admission_type = "NEWBORN"
[ 9948, 3129, 378, 262, 5288, 2479, 286, 4048, 23856, 6848, 3871, 13, 46506, 20625, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 8388, 796, 366, 37, 1, 5357, 16728, 13, 324, 3411, 62, 4906, 796, 366, 13965, 33, 30649, 1 ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5288, 2479, 286, 4048, 23856, 6848, 3871, 13, 46506, 20625, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 8388, 796, 366, 37, 1, 5357, 16728, 13, 324, 3411, 62, 4906, 796, 366, 13965, 33, 30649, 1 ...
Name the 2010 for 2012 grand slam tournaments
SELECT "2010" FROM table_10848 WHERE "2012" = 'grand slam tournaments'
[ 5376, 262, 3050, 329, 2321, 4490, 21158, 18130, 46506, 366, 10333, 1, 16034, 3084, 62, 15711, 2780, 33411, 366, 6999, 1, 796, 705, 23936, 21158, 18130, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 3050, 329, 2321, 4490, 21158, 18130, 46506, 366, 10333, 1, 16034, 3084, 62, 15711, 2780, 33411, 366, 6999, 1, 796, 705, 23936, 21158, 18130, 6 ]
What year is guard Mario Chalmers?
SELECT year FROM table_name_53 WHERE position = "guard" AND name = "mario chalmers"
[ 2061, 614, 318, 4860, 10682, 30529, 11056, 30, 46506, 614, 16034, 3084, 62, 3672, 62, 4310, 33411, 2292, 796, 366, 14864, 1, 5357, 1438, 796, 366, 3876, 952, 442, 282, 11056, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 614, 318, 4860, 10682, 30529, 11056, 30, 46506, 614, 16034, 3084, 62, 3672, 62, 4310, 33411, 2292, 796, 366, 14864, 1, 5357, 1438, 796, 366, 3876, 952, 442, 282, 11056, 1 ]
Valmir Benavides won pole position at which circuit?
SELECT circuit FROM table_29361707_2 WHERE pole_position = "Valmir Benavides"
[ 7762, 10793, 3932, 615, 1460, 1839, 16825, 2292, 379, 543, 10349, 30, 46506, 10349, 16034, 3084, 62, 1959, 2623, 1558, 2998, 62, 17, 33411, 16825, 62, 9150, 796, 366, 7762, 10793, 3932, 615, 1460, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 7762, 10793, 3932, 615, 1460, 1839, 16825, 2292, 379, 543, 10349, 30, 46506, 10349, 16034, 3084, 62, 1959, 2623, 1558, 2998, 62, 17, 33411, 16825, 62, 9150, 796, 366, 7762, 10793, 3932, 615, 1460, 1 ]
since 2105 what is the first hospital admission type of patient 022-134034?
SELECT patient.hospitaladmitsource FROM patient WHERE patient.uniquepid = '022-134034' AND STRFTIME('%y', patient.hospitaladmittime) >= '2105' ORDER BY patient.hospitaladmittime LIMIT 1
[ 20777, 362, 13348, 644, 318, 262, 717, 4436, 13938, 2099, 286, 5827, 657, 1828, 12, 1485, 1821, 2682, 30, 46506, 5827, 13, 49257, 324, 24883, 1668, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 44087, 12, 1485, 1821, 26...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 20777, 362, 13348, 644, 318, 262, 717, 4436, 13938, 2099, 286, 5827, 657, 1828, 12, 1485, 1821, 2682, 30, 46506, 5827, 13, 49257, 324, 24883, 1668, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 44087, 12, 1485, 1821, 26...
what is the top four prescription drugs among the patients with an age 50s in this year?
SELECT t1.drugname FROM (SELECT medication.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.age BETWEEN 50 AND 59) AND DATETIME(medication.drugstarttime, 'start of year') = DATETIME(CURRENT_TIME(...
[ 10919, 318, 262, 1353, 1440, 15077, 5010, 1871, 262, 3871, 351, 281, 2479, 2026, 82, 287, 428, 614, 30, 46506, 256, 16, 13, 30349, 3672, 16034, 357, 46506, 14103, 13, 30349, 3672, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1353, 1440, 15077, 5010, 1871, 262, 3871, 351, 281, 2479, 2026, 82, 287, 428, 614, 30, 46506, 256, 16, 13, 30349, 3672, 16034, 357, 46506, 14103, 13, 30349, 3672, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532...
What are the dates that have an average sea level pressure between 303 and 31, and count them by a line chart, order in desc by the date.
SELECT date, COUNT(date) FROM weather WHERE mean_sea_level_pressure_inches BETWEEN 30.3 AND 31 GROUP BY date ORDER BY date DESC
[ 2061, 389, 262, 9667, 326, 423, 281, 2811, 5417, 1241, 3833, 1022, 30727, 290, 3261, 11, 290, 954, 606, 416, 257, 1627, 8262, 11, 1502, 287, 1715, 416, 262, 3128, 13, 46506, 3128, 11, 327, 28270, 7, 4475, 8, 16034, 6193, 33411, 1612...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9667, 326, 423, 281, 2811, 5417, 1241, 3833, 1022, 30727, 290, 3261, 11, 290, 954, 606, 416, 257, 1627, 8262, 11, 1502, 287, 1715, 416, 262, 3128, 13, 46506, 3128, 11, 327, 28270, 7, 4475, 8, 16034, 6193, 33411, 1612...
What is the average Points when the engine was a climax straight-4 earlier than 1958?
SELECT AVG(points) FROM table_name_4 WHERE engine = "climax straight-4" AND year < 1958
[ 2061, 318, 262, 2811, 11045, 618, 262, 3113, 373, 257, 30032, 3892, 12, 19, 2961, 621, 24648, 30, 46506, 35224, 7, 13033, 8, 16034, 3084, 62, 3672, 62, 19, 33411, 3113, 796, 366, 565, 320, 897, 3892, 12, 19, 1, 5357, 614, 1279, 24...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2811, 11045, 618, 262, 3113, 373, 257, 30032, 3892, 12, 19, 2961, 621, 24648, 30, 46506, 35224, 7, 13033, 8, 16034, 3084, 62, 3672, 62, 19, 33411, 3113, 796, 366, 565, 320, 897, 3892, 12, 19, 1, 5357, 614, 1279, 24...
First closures for each close reason type.
SELECT crt.Name AS "close_reason_name", Comment AS "close_reason_id", PostId AS "post_link", CreationDate AS "closed_date" FROM PostHistory LEFT JOIN CloseReasonTypes AS crt ON crt.Id = Comment WHERE PostHistoryTypeId = 10 ORDER BY CAST(Comment AS INT)
[ 5962, 32149, 329, 1123, 1969, 1738, 2099, 13, 46506, 1067, 83, 13, 5376, 7054, 366, 19836, 62, 41181, 62, 3672, 1600, 18957, 7054, 366, 19836, 62, 41181, 62, 312, 1600, 2947, 7390, 7054, 366, 7353, 62, 8726, 1600, 21582, 10430, 7054, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 5962, 32149, 329, 1123, 1969, 1738, 2099, 13, 46506, 1067, 83, 13, 5376, 7054, 366, 19836, 62, 41181, 62, 3672, 1600, 18957, 7054, 366, 19836, 62, 41181, 62, 312, 1600, 2947, 7390, 7054, 366, 7353, 62, 8726, 1600, 21582, 10430, 7054, ...
Give me a scatter chart that groups acc road, the x-axis is team id and the y-axis is All_Games_Percent.
SELECT Team_ID, All_Games_Percent FROM basketball_match GROUP BY ACC_Road
[ 23318, 502, 257, 41058, 8262, 326, 2628, 697, 2975, 11, 262, 2124, 12, 22704, 318, 1074, 4686, 290, 262, 331, 12, 22704, 318, 1439, 62, 24474, 62, 31905, 13, 46506, 4816, 62, 2389, 11, 1439, 62, 24474, 62, 31905, 16034, 9669, 62, 15...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 23318, 502, 257, 41058, 8262, 326, 2628, 697, 2975, 11, 262, 2124, 12, 22704, 318, 1074, 4686, 290, 262, 331, 12, 22704, 318, 1439, 62, 24474, 62, 31905, 13, 46506, 4816, 62, 2389, 11, 1439, 62, 24474, 62, 31905, 16034, 9669, 62, 15...
get fares from WASHINGTON to BOSTON
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 = 'WASHINGTON' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'BOS...
[ 1136, 33164, 422, 370, 19436, 284, 347, 10892, 1340, 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, 62, 35009, 27389...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1136, 33164, 422, 370, 19436, 284, 347, 10892, 1340, 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, 62, 35009, 27389...
What is the lowest number of draws with more than 2 byes?
SELECT MIN(draws) FROM table_name_81 WHERE byes > 2
[ 2061, 318, 262, 9016, 1271, 286, 14293, 351, 517, 621, 362, 416, 274, 30, 46506, 20625, 7, 19334, 82, 8, 16034, 3084, 62, 3672, 62, 6659, 33411, 416, 274, 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 ]
[ 2061, 318, 262, 9016, 1271, 286, 14293, 351, 517, 621, 362, 416, 274, 30, 46506, 20625, 7, 19334, 82, 8, 16034, 3084, 62, 3672, 62, 6659, 33411, 416, 274, 1875, 362 ]
Are there many sections of AUTO 590 after 10 A.M. ?
SELECT COUNT(*) FROM course, course_offering, semester WHERE course_offering.start_time > '10:00:00' AND course.course_id = course_offering.course_id AND course.department = 'AUTO' AND course.number = 590 AND semester.semester = 'WN' AND semester.semester_id = course_offering.semester AND semester.year = 2016
[ 8491, 612, 867, 9004, 286, 47044, 46, 642, 3829, 706, 838, 317, 13, 44, 13, 5633, 46506, 327, 28270, 7, 28104, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 24878, 33411, 1781, 62, 2364, 1586, 13, 9688, 62, 2435, 1875, 705, 940, 25, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 867, 9004, 286, 47044, 46, 642, 3829, 706, 838, 317, 13, 44, 13, 5633, 46506, 327, 28270, 7, 28104, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 24878, 33411, 1781, 62, 2364, 1586, 13, 9688, 62, 2435, 1875, 705, 940, 25, ...
What is the df when Adam Hinshelwood is Junior Mendes?
SELECT "DF" FROM table_26362 WHERE "Adam Hinshelwood" = 'Junior Mendes'
[ 2061, 318, 262, 47764, 618, 7244, 367, 1040, 2978, 3822, 318, 20000, 20442, 274, 30, 46506, 366, 8068, 1, 16034, 3084, 62, 2075, 35667, 33411, 366, 23159, 367, 1040, 2978, 3822, 1, 796, 705, 22396, 1504, 20442, 274, 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, 47764, 618, 7244, 367, 1040, 2978, 3822, 318, 20000, 20442, 274, 30, 46506, 366, 8068, 1, 16034, 3084, 62, 2075, 35667, 33411, 366, 23159, 367, 1040, 2978, 3822, 1, 796, 705, 22396, 1504, 20442, 274, 6 ]
count the number of patients whose drug type is base?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.drug_type = "BASE"
[ 9127, 262, 1271, 286, 3871, 3025, 2563, 2099, 318, 2779, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, 18108, 76, 62, 312, 796, 34092, 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 ]
[ 9127, 262, 1271, 286, 3871, 3025, 2563, 2099, 318, 2779, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, 18108, 76, 62, 312, 796, 34092, 13,...
how many seasons did kevin gall play for yeovil town ?
SELECT COUNT("season") FROM table_202_295 WHERE "club" = 'yeovil town'
[ 4919, 867, 7028, 750, 885, 7114, 7976, 711, 329, 9838, 709, 346, 3240, 5633, 46506, 327, 28270, 7203, 6230, 4943, 16034, 3084, 62, 19004, 62, 25710, 33411, 366, 18664, 1, 796, 705, 5948, 709, 346, 3240, 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 ]
[ 4919, 867, 7028, 750, 885, 7114, 7976, 711, 329, 9838, 709, 346, 3240, 5633, 46506, 327, 28270, 7203, 6230, 4943, 16034, 3084, 62, 19004, 62, 25710, 33411, 366, 18664, 1, 796, 705, 5948, 709, 346, 3240, 6 ]
what is the number of patients whose admission location is emergency room admit and lab test name is eosinophils?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_location = "EMERGENCY ROOM ADMIT" AND lab.label = "Eosinophils"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 13938, 4067, 318, 6334, 2119, 9159, 290, 2248, 1332, 1438, 318, 304, 418, 259, 2522, 4487, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 1271, 286, 3871, 3025, 13938, 4067, 318, 6334, 2119, 9159, 290, 2248, 1332, 1438, 318, 304, 418, 259, 2522, 4487, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479...
What is the car with the lowest extinct year that has a NBR class of 32?
SELECT MIN(extinct) FROM table_name_21 WHERE nbr_class = 32
[ 2061, 318, 262, 1097, 351, 262, 9016, 28881, 614, 326, 468, 257, 399, 11473, 1398, 286, 3933, 30, 46506, 20625, 7, 2302, 4612, 8, 16034, 3084, 62, 3672, 62, 2481, 33411, 299, 1671, 62, 4871, 796, 3933 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1097, 351, 262, 9016, 28881, 614, 326, 468, 257, 399, 11473, 1398, 286, 3933, 30, 46506, 20625, 7, 2302, 4612, 8, 16034, 3084, 62, 3672, 62, 2481, 33411, 299, 1671, 62, 4871, 796, 3933 ]
enrolled in a competing study
SELECT * FROM table_train_48 WHERE in_another_study = 1
[ 268, 8375, 287, 257, 11780, 2050, 46506, 1635, 16034, 3084, 62, 27432, 62, 2780, 33411, 287, 62, 29214, 62, 44517, 796, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 268, 8375, 287, 257, 11780, 2050, 46506, 1635, 16034, 3084, 62, 27432, 62, 2780, 33411, 287, 62, 29214, 62, 44517, 796, 352 ]
Top SO users From Netherlands.
SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation FROM Users WHERE LOWER(Location) LIKE '%netherlands%' OR UPPER(Location) LIKE '%NETHERLANDS%' OR Location LIKE '%NETHERLANDS%' AND Reputation >= 1000 ORDER BY Reputation DESC
[ 9126, 12809, 2985, 3574, 12671, 13, 46506, 371, 3913, 62, 41359, 13246, 3419, 28729, 357, 12532, 1137, 11050, 1432, 7094, 22196, 34, 8, 7054, 25113, 1600, 5121, 7054, 366, 7220, 62, 8726, 1600, 1432, 7094, 16034, 18987, 33411, 406, 36048,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9126, 12809, 2985, 3574, 12671, 13, 46506, 371, 3913, 62, 41359, 13246, 3419, 28729, 357, 12532, 1137, 11050, 1432, 7094, 22196, 34, 8, 7054, 25113, 1600, 5121, 7054, 366, 7220, 62, 8726, 1600, 1432, 7094, 16034, 18987, 33411, 406, 36048,...
information on flights from PHILADELPHIA to SAN FRANCISCO
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 = 'PHILADELPHIA' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'S...
[ 17018, 319, 13956, 422, 9370, 4146, 2885, 3698, 11909, 3539, 284, 37376, 8782, 20940, 37719, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 17018, 319, 13956, 422, 9370, 4146, 2885, 3698, 11909, 3539, 284, 37376, 8782, 20940, 37719, 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, ...
For those employees who did not have any job in the past, give me the comparison about the average of manager_id over the hire_date bin hire_date by time.
SELECT HIRE_DATE, AVG(MANAGER_ID) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history)
[ 1890, 883, 4409, 508, 750, 407, 423, 597, 1693, 287, 262, 1613, 11, 1577, 502, 262, 7208, 546, 262, 2811, 286, 4706, 62, 312, 625, 262, 11078, 62, 4475, 9874, 11078, 62, 4475, 416, 640, 13, 46506, 36210, 2200, 62, 35, 6158, 11, 35...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1577, 502, 262, 7208, 546, 262, 2811, 286, 4706, 62, 312, 625, 262, 11078, 62, 4475, 9874, 11078, 62, 4475, 416, 640, 13, 46506, 36210, 2200, 62, 35, 6158, 11, 35...
What was the date when the attendance was 63995
SELECT "Date" FROM table_19636 WHERE "Attendance" = '63995'
[ 2061, 373, 262, 3128, 618, 262, 14858, 373, 8093, 33438, 46506, 366, 10430, 1, 16034, 3084, 62, 25272, 2623, 33411, 366, 8086, 437, 590, 1, 796, 705, 5066, 33438, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 3128, 618, 262, 14858, 373, 8093, 33438, 46506, 366, 10430, 1, 16034, 3084, 62, 25272, 2623, 33411, 366, 8086, 437, 590, 1, 796, 705, 5066, 33438, 6 ]
when patient 028-43966 heartrate first measured until 02/05/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 = '028-43966')) AND NOT vitalperiodic.heartrate IS NUL...
[ 12518, 5827, 657, 2078, 12, 47106, 2791, 2612, 4873, 717, 8630, 1566, 7816, 14, 2713, 14, 17, 13348, 30, 46506, 9204, 41007, 291, 13, 672, 3168, 341, 2435, 16034, 9204, 41007, 291, 33411, 9204, 41007, 291, 13, 26029, 20850, 31712, 312, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12518, 5827, 657, 2078, 12, 47106, 2791, 2612, 4873, 717, 8630, 1566, 7816, 14, 2713, 14, 17, 13348, 30, 46506, 9204, 41007, 291, 13, 672, 3168, 341, 2435, 16034, 9204, 41007, 291, 33411, 9204, 41007, 291, 13, 26029, 20850, 31712, 312, ...
what was the first song that this producer helped write ?
SELECT "title" FROM table_204_927 WHERE id = 1
[ 10919, 373, 262, 717, 3496, 326, 428, 9920, 4193, 3551, 5633, 46506, 366, 7839, 1, 16034, 3084, 62, 18638, 62, 24, 1983, 33411, 4686, 796, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 373, 262, 717, 3496, 326, 428, 9920, 4193, 3551, 5633, 46506, 366, 7839, 1, 16034, 3084, 62, 18638, 62, 24, 1983, 33411, 4686, 796, 352 ]
what are the different software platforms for devices, and how many devices have each?, order in ascending by the the total number please.
SELECT Software_Platform, COUNT(*) FROM device GROUP BY Software_Platform ORDER BY COUNT(*)
[ 10919, 389, 262, 1180, 3788, 9554, 329, 4410, 11, 290, 703, 867, 4410, 423, 1123, 21747, 1502, 287, 41988, 416, 262, 262, 2472, 1271, 3387, 13, 46506, 10442, 62, 37148, 11, 327, 28270, 7, 28104, 16034, 3335, 44441, 11050, 10442, 62, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1180, 3788, 9554, 329, 4410, 11, 290, 703, 867, 4410, 423, 1123, 21747, 1502, 287, 41988, 416, 262, 262, 2472, 1271, 3387, 13, 46506, 10442, 62, 37148, 11, 327, 28270, 7, 28104, 16034, 3335, 44441, 11050, 10442, 62, 3...
Name the sport for canada in 2004
SELECT "Sport" FROM table_57280 WHERE "Country" = 'canada' AND "Year" = '2004'
[ 5376, 262, 6332, 329, 460, 4763, 287, 5472, 46506, 366, 42576, 1, 16034, 3084, 62, 3553, 21033, 33411, 366, 33921, 1, 796, 705, 5171, 4763, 6, 5357, 366, 17688, 1, 796, 705, 15724, 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 ]
[ 5376, 262, 6332, 329, 460, 4763, 287, 5472, 46506, 366, 42576, 1, 16034, 3084, 62, 3553, 21033, 33411, 366, 33921, 1, 796, 705, 5171, 4763, 6, 5357, 366, 17688, 1, 796, 705, 15724, 6 ]
What are the names of people in ascending alphabetical order?
SELECT Name FROM People ORDER BY Name
[ 2061, 389, 262, 3891, 286, 661, 287, 41988, 24830, 605, 1502, 30, 46506, 6530, 16034, 4380, 38678, 11050, 6530 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 262, 3891, 286, 661, 287, 41988, 24830, 605, 1502, 30, 46506, 6530, 16034, 4380, 38678, 11050, 6530 ]
Low rep users active for > 5 years.
SELECT * FROM Users WHERE CreationDate < DATEADD(yy, -5, GETDATE()) AND Reputation < @reputation
[ 20535, 1128, 2985, 4075, 329, 1875, 642, 812, 13, 46506, 1635, 16034, 18987, 33411, 21582, 10430, 1279, 360, 6158, 29266, 7, 22556, 11, 532, 20, 11, 17151, 35, 6158, 28955, 5357, 1432, 7094, 1279, 2488, 260, 1996, 341 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 20535, 1128, 2985, 4075, 329, 1875, 642, 812, 13, 46506, 1635, 16034, 18987, 33411, 21582, 10430, 1279, 360, 6158, 29266, 7, 22556, 11, 532, 20, 11, 17151, 35, 6158, 28955, 5357, 1432, 7094, 1279, 2488, 260, 1996, 341 ]
Which rank has 0 bronze and 2 silver?
SELECT MIN("Gold") FROM table_59948 WHERE "Bronze" = '0' AND "Silver" < '2'
[ 13828, 4279, 468, 657, 22101, 290, 362, 8465, 30, 46506, 20625, 7203, 13306, 4943, 16034, 3084, 62, 43452, 2780, 33411, 366, 18760, 2736, 1, 796, 705, 15, 6, 5357, 366, 26766, 1, 1279, 705, 17, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 4279, 468, 657, 22101, 290, 362, 8465, 30, 46506, 20625, 7203, 13306, 4943, 16034, 3084, 62, 43452, 2780, 33411, 366, 18760, 2736, 1, 796, 705, 15, 6, 5357, 366, 26766, 1, 1279, 705, 17, 6 ]
find the number of patients whose diagnosis short title was ac on chr syst hrt fail and had lab test for joint fluid.
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 = "Ac on chr syst hrt fail" AND lab.fluid = "Joint Fluid"
[ 19796, 262, 1271, 286, 3871, 3025, 13669, 1790, 3670, 373, 936, 319, 442, 81, 827, 301, 289, 17034, 2038, 290, 550, 2248, 1332, 329, 6466, 11711, 13, 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, 1...
[ 19796, 262, 1271, 286, 3871, 3025, 13669, 1790, 3670, 373, 936, 319, 442, 81, 827, 301, 289, 17034, 2038, 290, 550, 2248, 1332, 329, 6466, 11711, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 1...
What athlete has less than 7 gold and 14 total medals?
SELECT "Athlete" FROM table_58560 WHERE "Gold" < '7' AND "Total" = '14'
[ 2061, 16076, 468, 1342, 621, 767, 3869, 290, 1478, 2472, 28057, 30, 46506, 366, 32, 400, 5807, 1, 16034, 3084, 62, 3365, 34135, 33411, 366, 13306, 1, 1279, 705, 22, 6, 5357, 366, 14957, 1, 796, 705, 1415, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 16076, 468, 1342, 621, 767, 3869, 290, 1478, 2472, 28057, 30, 46506, 366, 32, 400, 5807, 1, 16034, 3084, 62, 3365, 34135, 33411, 366, 13306, 1, 1279, 705, 22, 6, 5357, 366, 14957, 1, 796, 705, 1415, 6 ]
What is the built data for number 34?
SELECT "Built" FROM table_17425 WHERE "Number" = '34'
[ 2061, 318, 262, 3170, 1366, 329, 1271, 4974, 30, 46506, 366, 39582, 1, 16034, 3084, 62, 22985, 1495, 33411, 366, 15057, 1, 796, 705, 2682, 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 ]
[ 2061, 318, 262, 3170, 1366, 329, 1271, 4974, 30, 46506, 366, 39582, 1, 16034, 3084, 62, 22985, 1495, 33411, 366, 15057, 1, 796, 705, 2682, 6 ]
Find All_Home and Team_ID , and group by attribute ACC_Home, and visualize them by a bar chart.
SELECT All_Home, Team_ID FROM basketball_match GROUP BY ACC_Home, All_Home
[ 16742, 1439, 62, 16060, 290, 4816, 62, 2389, 837, 290, 1448, 416, 11688, 15859, 62, 16060, 11, 290, 38350, 606, 416, 257, 2318, 8262, 13, 46506, 1439, 62, 16060, 11, 4816, 62, 2389, 16034, 9669, 62, 15699, 44441, 11050, 15859, 62, 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 ]
[ 16742, 1439, 62, 16060, 290, 4816, 62, 2389, 837, 290, 1448, 416, 11688, 15859, 62, 16060, 11, 290, 38350, 606, 416, 257, 2318, 8262, 13, 46506, 1439, 62, 16060, 11, 4816, 62, 2389, 16034, 9669, 62, 15699, 44441, 11050, 15859, 62, 160...
Which league has an FA cup greater than 0, with a total greater than 21?
SELECT league FROM table_name_76 WHERE fa_cup > 0 AND total > 21
[ 13828, 4652, 468, 281, 9677, 6508, 3744, 621, 657, 11, 351, 257, 2472, 3744, 621, 2310, 30, 46506, 4652, 16034, 3084, 62, 3672, 62, 4304, 33411, 24685, 62, 25244, 1875, 657, 5357, 2472, 1875, 2310 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4652, 468, 281, 9677, 6508, 3744, 621, 657, 11, 351, 257, 2472, 3744, 621, 2310, 30, 46506, 4652, 16034, 3084, 62, 3672, 62, 4304, 33411, 24685, 62, 25244, 1875, 657, 5357, 2472, 1875, 2310 ]
what is the giro wins when jerseys is 2, country is portugal and young rider is more than 0?
SELECT SUM("Giro wins") FROM table_65195 WHERE "Jerseys" = '2' AND "Country" = 'portugal' AND "Young rider" > '0'
[ 10919, 318, 262, 308, 7058, 7864, 618, 36354, 318, 362, 11, 1499, 318, 2493, 43778, 290, 1862, 17876, 318, 517, 621, 657, 30, 46506, 35683, 7203, 38, 7058, 7864, 4943, 16034, 3084, 62, 2996, 22186, 33411, 366, 36134, 27717, 1, 796, 70...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 308, 7058, 7864, 618, 36354, 318, 362, 11, 1499, 318, 2493, 43778, 290, 1862, 17876, 318, 517, 621, 657, 30, 46506, 35683, 7203, 38, 7058, 7864, 4943, 16034, 3084, 62, 2996, 22186, 33411, 366, 36134, 27717, 1, 796, 70...
What Viewers (m) has an Episode of 40 days?
SELECT viewers__m_ FROM table_name_64 WHERE episode = "40 days"
[ 2061, 3582, 364, 357, 76, 8, 468, 281, 7922, 286, 2319, 1528, 30, 46506, 10209, 834, 76, 62, 16034, 3084, 62, 3672, 62, 2414, 33411, 4471, 796, 366, 1821, 1528, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 3582, 364, 357, 76, 8, 468, 281, 7922, 286, 2319, 1528, 30, 46506, 10209, 834, 76, 62, 16034, 3084, 62, 3672, 62, 2414, 33411, 4471, 796, 366, 1821, 1528, 1 ]
Which city has an ICAO of Oejn?
SELECT "City" FROM table_50271 WHERE "ICAO" = 'oejn'
[ 13828, 1748, 468, 281, 314, 8141, 46, 286, 440, 68, 73, 77, 30, 46506, 366, 14941, 1, 16034, 3084, 62, 1120, 28977, 33411, 366, 25241, 46, 1, 796, 705, 2577, 73, 77, 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, 1748, 468, 281, 314, 8141, 46, 286, 440, 68, 73, 77, 30, 46506, 366, 14941, 1, 16034, 3084, 62, 1120, 28977, 33411, 366, 25241, 46, 1, 796, 705, 2577, 73, 77, 6 ]
What was the method for the UFC Fight Night 10 event?
SELECT method FROM table_name_11 WHERE event = "ufc fight night 10"
[ 2061, 373, 262, 2446, 329, 262, 11448, 10480, 5265, 838, 1785, 30, 46506, 2446, 16034, 3084, 62, 3672, 62, 1157, 33411, 1785, 796, 366, 3046, 66, 1907, 1755, 838, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 2446, 329, 262, 11448, 10480, 5265, 838, 1785, 30, 46506, 2446, 16034, 3084, 62, 3672, 62, 1157, 33411, 1785, 796, 366, 3046, 66, 1907, 1755, 838, 1 ]
Who lost 2 and had a position bigger than 1?
SELECT name FROM table_name_75 WHERE lost = 2 AND position > 1
[ 8241, 2626, 362, 290, 550, 257, 2292, 5749, 621, 352, 30, 46506, 1438, 16034, 3084, 62, 3672, 62, 2425, 33411, 2626, 796, 362, 5357, 2292, 1875, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 2626, 362, 290, 550, 257, 2292, 5749, 621, 352, 30, 46506, 1438, 16034, 3084, 62, 3672, 62, 2425, 33411, 2626, 796, 362, 5357, 2292, 1875, 352 ]
On which date was the record of 43.89 m set?
SELECT date FROM table_name_35 WHERE record = "43.89 m"
[ 2202, 543, 3128, 373, 262, 1700, 286, 5946, 13, 4531, 285, 900, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 2327, 33411, 1700, 796, 366, 3559, 13, 4531, 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 ]
[ 2202, 543, 3128, 373, 262, 1700, 286, 5946, 13, 4531, 285, 900, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 2327, 33411, 1700, 796, 366, 3559, 13, 4531, 285, 1 ]
what are the three most common procedures that followed in the same month for patients who were given a colloid administration - hydroxyethylstarch until 2 years ago?
SELECT t3.treatmentname FROM (SELECT t2.treatmentname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, treatment.treatmenttime FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'colloid administration - hydroxyethylsta...
[ 10919, 389, 262, 1115, 749, 2219, 9021, 326, 3940, 287, 262, 976, 1227, 329, 3871, 508, 547, 1813, 257, 2927, 1868, 3662, 532, 17173, 5431, 21610, 301, 998, 1566, 362, 812, 2084, 30, 46506, 256, 18, 13, 42487, 3672, 16034, 357, 46506,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 389, 262, 1115, 749, 2219, 9021, 326, 3940, 287, 262, 976, 1227, 329, 3871, 508, 547, 1813, 257, 2927, 1868, 3662, 532, 17173, 5431, 21610, 301, 998, 1566, 362, 812, 2084, 30, 46506, 256, 18, 13, 42487, 3672, 16034, 357, 46506,...
Top 500 users from Pakistan.
SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation FROM Users WHERE LOWER(Location) LIKE '%pakistan%' OR UPPER(Location) LIKE '%PAK' ORDER BY Reputation DESC LIMIT 500
[ 9126, 5323, 2985, 422, 7648, 13, 46506, 371, 3913, 62, 41359, 13246, 3419, 28729, 357, 12532, 1137, 11050, 1432, 7094, 22196, 34, 8, 7054, 25113, 1600, 5121, 7054, 366, 7220, 62, 8726, 1600, 1432, 7094, 16034, 18987, 33411, 406, 36048, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9126, 5323, 2985, 422, 7648, 13, 46506, 371, 3913, 62, 41359, 13246, 3419, 28729, 357, 12532, 1137, 11050, 1432, 7094, 22196, 34, 8, 7054, 25113, 1600, 5121, 7054, 366, 7220, 62, 8726, 1600, 1432, 7094, 16034, 18987, 33411, 406, 36048, ...
Which Home team has a Game of game 5?
SELECT "Home team" FROM table_49469 WHERE "Game" = 'game 5'
[ 13828, 5995, 1074, 468, 257, 3776, 286, 983, 642, 30, 46506, 366, 16060, 1074, 1, 16034, 3084, 62, 39449, 3388, 33411, 366, 8777, 1, 796, 705, 6057, 642, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 5995, 1074, 468, 257, 3776, 286, 983, 642, 30, 46506, 366, 16060, 1074, 1, 16034, 3084, 62, 39449, 3388, 33411, 366, 8777, 1, 796, 705, 6057, 642, 6 ]
How many games did the Club that has a try bonus of 4 and 391 points against play ?
SELECT played FROM table_name_21 WHERE try_bonus = "4" AND points_against = "391"
[ 2437, 867, 1830, 750, 262, 6289, 326, 468, 257, 1949, 7202, 286, 604, 290, 5014, 16, 2173, 1028, 711, 5633, 46506, 2826, 16034, 3084, 62, 3672, 62, 2481, 33411, 1949, 62, 4189, 385, 796, 366, 19, 1, 5357, 2173, 62, 32826, 796, 366, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 1830, 750, 262, 6289, 326, 468, 257, 1949, 7202, 286, 604, 290, 5014, 16, 2173, 1028, 711, 5633, 46506, 2826, 16034, 3084, 62, 3672, 62, 2481, 33411, 1949, 62, 4189, 385, 796, 366, 19, 1, 5357, 2173, 62, 32826, 796, 366, ...
What is the exact number of Total that has a percentage of precisely 12.03%?
SELECT COUNT("Total") FROM table_11347 WHERE "Percentage" = '12.03%'
[ 2061, 318, 262, 2748, 1271, 286, 7472, 326, 468, 257, 5873, 286, 10582, 1105, 13, 3070, 4, 30, 46506, 327, 28270, 7203, 14957, 4943, 16034, 3084, 62, 1157, 30995, 33411, 366, 31905, 496, 1, 796, 705, 1065, 13, 3070, 4, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2748, 1271, 286, 7472, 326, 468, 257, 5873, 286, 10582, 1105, 13, 3070, 4, 30, 46506, 327, 28270, 7203, 14957, 4943, 16034, 3084, 62, 1157, 30995, 33411, 366, 31905, 496, 1, 796, 705, 1065, 13, 3070, 4, 6 ]
how many hours has it been since the first time patient 027-142451 stayed in ward 966 during this hospital visit?
SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', patient.unitadmittime)) FROM patient WHERE patient.uniquepid = '027-142451' AND patient.wardid = 966 AND patient.hospitaldischargetime IS NULL ORDER BY patient.unitadmittime LIMIT 1
[ 4919, 867, 2250, 468, 340, 587, 1201, 262, 717, 640, 5827, 657, 1983, 12, 1415, 1731, 4349, 9658, 287, 15305, 860, 2791, 1141, 428, 4436, 3187, 30, 46506, 1987, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5827, 657, 1983, 12, 1415, 1731, 4349, 9658, 287, 15305, 860, 2791, 1141, 428, 4436, 3187, 30, 46506, 1987, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694,...
what was the only year she competed in kenya ?
SELECT "year" FROM table_204_364 WHERE "venue" = 'kenya'
[ 10919, 373, 262, 691, 614, 673, 32440, 287, 479, 268, 3972, 5633, 46506, 366, 1941, 1, 16034, 3084, 62, 18638, 62, 26780, 33411, 366, 4080, 1, 796, 705, 3464, 3972, 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 ]
[ 10919, 373, 262, 691, 614, 673, 32440, 287, 479, 268, 3972, 5633, 46506, 366, 1941, 1, 16034, 3084, 62, 18638, 62, 26780, 33411, 366, 4080, 1, 796, 705, 3464, 3972, 6 ]
In what season was the winner Dado Dolabella?
SELECT MAX(season) FROM table_25214321_1 WHERE winner = "Dado Dolabella"
[ 818, 644, 1622, 373, 262, 8464, 360, 4533, 25143, 43653, 30, 46506, 25882, 7, 6230, 8, 16034, 3084, 62, 22800, 21139, 2481, 62, 16, 33411, 8464, 796, 366, 35, 4533, 25143, 43653, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 818, 644, 1622, 373, 262, 8464, 360, 4533, 25143, 43653, 30, 46506, 25882, 7, 6230, 8, 16034, 3084, 62, 22800, 21139, 2481, 62, 16, 33411, 8464, 796, 366, 35, 4533, 25143, 43653, 1 ]
how long was huang le 's longest jump in 2002 ?
SELECT "notes" FROM table_204_706 WHERE "year" = 2002 ORDER BY "notes" DESC LIMIT 1
[ 4919, 890, 373, 289, 84, 648, 443, 705, 82, 14069, 4391, 287, 6244, 5633, 46506, 366, 17815, 1, 16034, 3084, 62, 18638, 62, 35402, 33411, 366, 1941, 1, 796, 6244, 38678, 11050, 366, 17815, 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 ]
[ 4919, 890, 373, 289, 84, 648, 443, 705, 82, 14069, 4391, 287, 6244, 5633, 46506, 366, 17815, 1, 16034, 3084, 62, 18638, 62, 35402, 33411, 366, 1941, 1, 796, 6244, 38678, 11050, 366, 17815, 1, 22196, 34, 27564, 2043, 352 ]
Of all the upper-level classes , which ones have 1 credits ?
SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN program_course ON program_course.course_id = course.course_id WHERE course.credits = 1 AND program_course.category LIKE 'ULCS'
[ 5189, 477, 262, 6727, 12, 5715, 6097, 837, 543, 3392, 423, 352, 10824, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 3268, 21479, 32357, 1268, 1430, 62, 17319, 6177, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 5189, 477, 262, 6727, 12, 5715, 6097, 837, 543, 3392, 423, 352, 10824, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 3268, 21479, 32357, 1268, 1430, 62, 17319, 6177, 1...
look for the number of patients with abnormal lab tests diagnosed with secondary neuroendocrine tumor of bone.
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.long_title = "Secondary neuroendocrine tumor of bone" AND lab.flag = "abnormal"
[ 5460, 329, 262, 1271, 286, 3871, 351, 18801, 2248, 5254, 14641, 351, 9233, 7669, 437, 38658, 22359, 286, 9970, 13, 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...
[ 5460, 329, 262, 1271, 286, 3871, 351, 18801, 2248, 5254, 14641, 351, 9233, 7669, 437, 38658, 22359, 286, 9970, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, ...
Dump answers to questions for user.
SELECT q.Id, q.CreationDate, q.Title, q.Body, a.Id, a.CreationDate, a.Body FROM Posts AS q INNER JOIN Posts AS a ON q.Id = a.ParentId AND a.PostTypeId = 2 AND q.PostTypeId = 1 WHERE a.OwnerUserId = '##UserId##' ORDER BY a.Id DESC
[ 35, 931, 7429, 284, 2683, 329, 2836, 13, 46506, 10662, 13, 7390, 11, 10662, 13, 12443, 341, 10430, 11, 10662, 13, 19160, 11, 10662, 13, 25842, 11, 257, 13, 7390, 11, 257, 13, 12443, 341, 10430, 11, 257, 13, 25842, 16034, 12043, 7054...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 35, 931, 7429, 284, 2683, 329, 2836, 13, 46506, 10662, 13, 7390, 11, 10662, 13, 12443, 341, 10430, 11, 10662, 13, 19160, 11, 10662, 13, 25842, 11, 257, 13, 7390, 11, 257, 13, 12443, 341, 10430, 11, 257, 13, 25842, 16034, 12043, 7054...
List all the locations where net capacity is 950?
SELECT location_chernobyl_1_chernobyl_2_chernobyl_3_chernobyl_4_chernobyl_5_ignalina_1_ignalina_2_ignalina_3_kursk_1_kursk_2_kursk_3_kursk_4_kursk_5_kursk_6_leningrad_1_leningrad_2_leningrad_3_leningrad_4_smolensk_1_smolensk_2_smolensk_3_smolensk_4_directorate_for_construction_of_kostoma_npp__for_kostroma_1_and_2__tabl...
[ 8053, 477, 262, 7064, 810, 2010, 5339, 318, 38384, 30, 46506, 4067, 62, 2044, 34952, 2645, 62, 16, 62, 2044, 34952, 2645, 62, 17, 62, 2044, 34952, 2645, 62, 18, 62, 2044, 34952, 2645, 62, 19, 62, 2044, 34952, 2645, 62, 20, 62, 570...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 8053, 477, 262, 7064, 810, 2010, 5339, 318, 38384, 30, 46506, 4067, 62, 2044, 34952, 2645, 62, 16, 62, 2044, 34952, 2645, 62, 17, 62, 2044, 34952, 2645, 62, 18, 62, 2044, 34952, 2645, 62, 19, 62, 2044, 34952, 2645, 62, 20, 62, 570...
How many silver medals did spain have when they had more than 0 bronze medals and less than 54 total medals?
SELECT silver FROM table_name_7 WHERE bronze > 0 AND total < 54 AND nation = "spain"
[ 2437, 867, 8465, 28057, 750, 599, 391, 423, 618, 484, 550, 517, 621, 657, 22101, 28057, 290, 1342, 621, 7175, 2472, 28057, 30, 46506, 8465, 16034, 3084, 62, 3672, 62, 22, 33411, 22101, 1875, 657, 5357, 2472, 1279, 7175, 5357, 3277, 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 ]
[ 2437, 867, 8465, 28057, 750, 599, 391, 423, 618, 484, 550, 517, 621, 657, 22101, 28057, 290, 1342, 621, 7175, 2472, 28057, 30, 46506, 8465, 16034, 3084, 62, 3672, 62, 22, 33411, 22101, 1875, 657, 5357, 2472, 1279, 7175, 5357, 3277, 79...
What's the score when the tie number was 6?
SELECT score FROM table_name_35 WHERE tie_no = "6"
[ 2061, 338, 262, 4776, 618, 262, 9839, 1271, 373, 718, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 2327, 33411, 9839, 62, 3919, 796, 366, 21, 1 ]
[ 1, 1, 1, 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, 4776, 618, 262, 9839, 1271, 373, 718, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 2327, 33411, 9839, 62, 3919, 796, 366, 21, 1 ]
Where did Jerry Pate finish?
SELECT "Finish" FROM table_9543 WHERE "Player" = 'jerry pate'
[ 8496, 750, 13075, 350, 378, 5461, 30, 46506, 366, 48658, 1, 16034, 3084, 62, 3865, 3559, 33411, 366, 14140, 1, 796, 705, 73, 6996, 279, 378, 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 ]
[ 8496, 750, 13075, 350, 378, 5461, 30, 46506, 366, 48658, 1, 16034, 3084, 62, 3865, 3559, 33411, 366, 14140, 1, 796, 705, 73, 6996, 279, 378, 6 ]
For those records from the products and each product's manufacturer, visualize the relationship between price and revenue , and group by attribute name.
SELECT T1.Price, T2.Revenue FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Name
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 38350, 262, 2776, 1022, 2756, 290, 6426, 837, 290, 1448, 416, 11688, 1438, 13, 46506, 309, 16, 13, 18124, 11, 309, 17, 13, 3041, 4080, 16034, 18675, 7054, 309, 16, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 38350, 262, 2776, 1022, 2756, 290, 6426, 837, 290, 1448, 416, 11688, 1438, 13, 46506, 309, 16, 13, 18124, 11, 309, 17, 13, 3041, 4080, 16034, 18675, 7054, 309, 16, 32...
how many runs are there ?
SELECT COUNT(*) FROM table_204_576
[ 4919, 867, 4539, 389, 612, 5633, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 18638, 62, 37452 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 4539, 389, 612, 5633, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 18638, 62, 37452 ]
since 11 months ago, what was the maximum potassium value for patient 47460?
SELECT MAX(labevents.valuenum) FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 47460) AND labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'potassium') AND DATETIME(labevents.charttime) >= DATETIME(CURRENT_TIME(), '...
[ 20777, 1367, 1933, 2084, 11, 644, 373, 262, 5415, 33156, 1988, 329, 5827, 604, 4524, 1899, 30, 46506, 25882, 7, 23912, 31534, 13, 2100, 84, 44709, 8, 16034, 2248, 31534, 33411, 2248, 31534, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 20777, 1367, 1933, 2084, 11, 644, 373, 262, 5415, 33156, 1988, 329, 5827, 604, 4524, 1899, 30, 46506, 25882, 7, 23912, 31534, 13, 2100, 84, 44709, 8, 16034, 2248, 31534, 33411, 2248, 31534, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25...
The pink cytoplasm will have a nucleus of what color?
SELECT nucleus FROM table_13570_1 WHERE cytoplasm = "Pink"
[ 464, 11398, 3075, 4852, 75, 8597, 481, 423, 257, 29984, 286, 644, 3124, 30, 46506, 29984, 16034, 3084, 62, 17059, 2154, 62, 16, 33411, 3075, 4852, 75, 8597, 796, 366, 41912, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 464, 11398, 3075, 4852, 75, 8597, 481, 423, 257, 29984, 286, 644, 3124, 30, 46506, 29984, 16034, 3084, 62, 17059, 2154, 62, 16, 33411, 3075, 4852, 75, 8597, 796, 366, 41912, 1 ]
Which venue has a scoreof 2 0?
SELECT venue FROM table_name_60 WHERE score = "2–0"
[ 13828, 14359, 468, 257, 4776, 1659, 362, 657, 30, 46506, 14359, 16034, 3084, 62, 3672, 62, 1899, 33411, 4776, 796, 366, 17, 1906, 15, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 14359, 468, 257, 4776, 1659, 362, 657, 30, 46506, 14359, 16034, 3084, 62, 3672, 62, 1899, 33411, 4776, 796, 366, 17, 1906, 15, 1 ]
Name the home team for football park
SELECT "Home team" FROM table_20747 WHERE "Ground" = 'Football Park'
[ 5376, 262, 1363, 1074, 329, 4346, 3952, 46506, 366, 16060, 1074, 1, 16034, 3084, 62, 22745, 2857, 33411, 366, 35539, 1, 796, 705, 37316, 3250, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 1363, 1074, 329, 4346, 3952, 46506, 366, 16060, 1074, 1, 16034, 3084, 62, 22745, 2857, 33411, 366, 35539, 1, 796, 705, 37316, 3250, 6 ]
What is the highest pick number from Slovakia?
SELECT MAX("Pick #") FROM table_54540 WHERE "Nationality" = 'slovakia'
[ 2061, 318, 262, 4511, 2298, 1271, 422, 36839, 30, 46506, 25882, 7203, 31686, 1303, 4943, 16034, 3084, 62, 45326, 1821, 33411, 366, 16186, 414, 1, 796, 705, 6649, 709, 21897, 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, 4511, 2298, 1271, 422, 36839, 30, 46506, 25882, 7203, 31686, 1303, 4943, 16034, 3084, 62, 45326, 1821, 33411, 366, 16186, 414, 1, 796, 705, 6649, 709, 21897, 6 ]
What is the Location of the Bowl in 2006?
SELECT location FROM table_name_50 WHERE season = 2006
[ 2061, 318, 262, 13397, 286, 262, 8693, 287, 4793, 30, 46506, 4067, 16034, 3084, 62, 3672, 62, 1120, 33411, 1622, 796, 4793 ]
[ 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, 13397, 286, 262, 8693, 287, 4793, 30, 46506, 4067, 16034, 3084, 62, 3672, 62, 1120, 33411, 1622, 796, 4793 ]
What is the success rate for the year 2012?
SELECT success_rate FROM table_name_52 WHERE year = "2012"
[ 2061, 318, 262, 1943, 2494, 329, 262, 614, 2321, 30, 46506, 1943, 62, 4873, 16034, 3084, 62, 3672, 62, 4309, 33411, 614, 796, 366, 6999, 1 ]
[ 1, 1, 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, 1943, 2494, 329, 262, 614, 2321, 30, 46506, 1943, 62, 4873, 16034, 3084, 62, 3672, 62, 4309, 33411, 614, 796, 366, 6999, 1 ]
Find the number of students living in each city with a bar chart, and rank bar from high to low order.
SELECT city_code, COUNT(*) FROM Student GROUP BY city_code ORDER BY city_code DESC
[ 16742, 262, 1271, 286, 2444, 2877, 287, 1123, 1748, 351, 257, 2318, 8262, 11, 290, 4279, 2318, 422, 1029, 284, 1877, 1502, 13, 46506, 1748, 62, 8189, 11, 327, 28270, 7, 28104, 16034, 13613, 44441, 11050, 1748, 62, 8189, 38678, 11050, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16742, 262, 1271, 286, 2444, 2877, 287, 1123, 1748, 351, 257, 2318, 8262, 11, 290, 4279, 2318, 422, 1029, 284, 1877, 1502, 13, 46506, 1748, 62, 8189, 11, 327, 28270, 7, 28104, 16034, 13613, 44441, 11050, 1748, 62, 8189, 38678, 11050, ...
Was the sounddock series I v2 iphone certified?
SELECT iphone_certified FROM table_24384861_1 WHERE version = "SoundDock series I v2"
[ 16973, 262, 2128, 67, 735, 2168, 314, 410, 17, 220, 13323, 505, 15704, 30, 46506, 220, 13323, 505, 62, 22583, 1431, 16034, 3084, 62, 1731, 2548, 2780, 5333, 62, 16, 33411, 2196, 796, 366, 21369, 35, 735, 2168, 314, 410, 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 ]
[ 16973, 262, 2128, 67, 735, 2168, 314, 410, 17, 220, 13323, 505, 15704, 30, 46506, 220, 13323, 505, 62, 22583, 1431, 16034, 3084, 62, 1731, 2548, 2780, 5333, 62, 16, 33411, 2196, 796, 366, 21369, 35, 735, 2168, 314, 410, 17, 1 ]
What was the attendance when the VFL played Junction Oval?
SELECT COUNT("Crowd") FROM table_4741 WHERE "Venue" = 'junction oval'
[ 2061, 373, 262, 14858, 618, 262, 569, 3697, 2826, 44410, 25165, 30, 46506, 327, 28270, 7203, 34, 3986, 4943, 16034, 3084, 62, 2857, 3901, 33411, 366, 37522, 518, 1, 796, 705, 73, 4575, 41186, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 14858, 618, 262, 569, 3697, 2826, 44410, 25165, 30, 46506, 327, 28270, 7203, 34, 3986, 4943, 16034, 3084, 62, 2857, 3901, 33411, 366, 37522, 518, 1, 796, 705, 73, 4575, 41186, 6 ]
What is Score, when Date is May 7, 2006?
SELECT "Score" FROM table_7948 WHERE "Date" = 'may 7, 2006'
[ 2061, 318, 15178, 11, 618, 7536, 318, 1737, 767, 11, 4793, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 3720, 2780, 33411, 366, 10430, 1, 796, 705, 11261, 767, 11, 4793, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 15178, 11, 618, 7536, 318, 1737, 767, 11, 4793, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 3720, 2780, 33411, 366, 10430, 1, 796, 705, 11261, 767, 11, 4793, 6 ]
What was the Result on July 24?
SELECT result FROM table_name_1 WHERE date = "july 24"
[ 2061, 373, 262, 25414, 319, 2901, 1987, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 16, 33411, 3128, 796, 366, 73, 2062, 1987, 1 ]
[ 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, 25414, 319, 2901, 1987, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 16, 33411, 3128, 796, 366, 73, 2062, 1987, 1 ]
Which game had a score of w 95-85?
SELECT MIN("Game") FROM table_74216 WHERE "Score" = 'W 95-85'
[ 13828, 983, 550, 257, 4776, 286, 266, 6957, 12, 5332, 30, 46506, 20625, 7203, 8777, 4943, 16034, 3084, 62, 22, 3682, 1433, 33411, 366, 26595, 1, 796, 705, 54, 6957, 12, 5332, 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, 983, 550, 257, 4776, 286, 266, 6957, 12, 5332, 30, 46506, 20625, 7203, 8777, 4943, 16034, 3084, 62, 22, 3682, 1433, 33411, 366, 26595, 1, 796, 705, 54, 6957, 12, 5332, 6 ]