instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
sequence
attention_mask
sequence
labels
sequence
What is the average new council number when the election result is smaller than 0?
SELECT AVG("New council") FROM table_49064 WHERE "Election result" < '0'
[ 2061, 318, 262, 2811, 649, 6745, 1271, 618, 262, 3071, 1255, 318, 4833, 621, 657, 30, 46506, 35224, 7203, 3791, 6745, 4943, 16034, 3084, 62, 31503, 2414, 33411, 366, 36, 1564, 1255, 1, 1279, 705, 15, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2811, 649, 6745, 1271, 618, 262, 3071, 1255, 318, 4833, 621, 657, 30, 46506, 35224, 7203, 3791, 6745, 4943, 16034, 3084, 62, 31503, 2414, 33411, 366, 36, 1564, 1255, 1, 1279, 705, 15, 6 ]
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, give me the comparison about the sum of salary over the job_id , and group by attribute job_id by a bar chart, I want to rank by the sum salary in descending please.
SELECT JOB_ID, SUM(SALARY) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 GROUP BY JOB_ID ORDER BY SUM(SALARY) DESC
[ 1890, 883, 4409, 3025, 9588, 318, 287, 262, 2837, 286, 38055, 290, 1105, 830, 290, 5810, 318, 407, 9242, 393, 5011, 1271, 857, 407, 4961, 284, 2319, 11, 1577, 502, 262, 7208, 546, 262, 2160, 286, 9588, 625, 262, 1693, 62, 312, 837, 290, 1448, 416, 11688, 1693, 62, 312, 416, 257, 2318, 8262, 11, 314, 765, 284, 4279, 416, 262, 2160, 9588, 287, 31491, 3387, 13, 46506, 449, 9864, 62, 2389, 11, 35683, 7, 50, 1847, 13153, 8, 16034, 4409, 33411, 42475, 13153, 38651, 8845, 1677, 38055, 5357, 1105, 830, 5357, 22240, 40373, 62, 47, 4177, 1279, 29, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3025, 9588, 318, 287, 262, 2837, 286, 38055, 290, 1105, 830, 290, 5810, 318, 407, 9242, 393, 5011, 1271, 857, 407, 4961, 284, 2319, 11, 1577, 502, 262, 7208, 546, 262, 2160, 286, 9588, 625, 262, 1693, 62, 312, 837, 290, 1448, 416, 11688, 1693, 62, 312, 416, 257, 2318, 8262, 11, 314, 765, 284, 4279, 416, 262, 2160, 9588, 287, 31491, 3387, 13, 46506, 449, 9864, 62, 2389, 11, 35683, 7, 50, 1847, 13153, 8, 16034, 4409, 33411, 42475, 13153, 38651, 8845, 1677, 38055, 5357, 1105, 830, 5357, 22240, 40373, 62, 47, 4177, 1279, 29, 366 ]
what is the mascot for the enrollment 08-09 of 320?
SELECT "Mascot" FROM table_67258 WHERE "Enrollment 08-09" = '320'
[ 10919, 318, 262, 37358, 329, 262, 20753, 8487, 12, 2931, 286, 20959, 30, 46506, 366, 44, 3372, 313, 1, 16034, 3084, 62, 3134, 25600, 33411, 366, 4834, 48108, 8487, 12, 2931, 1, 796, 705, 19504, 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 ]
[ 10919, 318, 262, 37358, 329, 262, 20753, 8487, 12, 2931, 286, 20959, 30, 46506, 366, 44, 3372, 313, 1, 16034, 3084, 62, 3134, 25600, 33411, 366, 4834, 48108, 8487, 12, 2931, 1, 796, 705, 19504, 6 ]
was patient 25814 diagnosed with an twin-mate lb-hosp w/o cs since 2105?
SELECT COUNT(*) > 0 FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'twin-mate lb-hosp w/o cs') AND diagnoses_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 25814) AND STRFTIME('%y', diagnoses_icd.charttime) >= '2105'
[ 9776, 5827, 37528, 1415, 14641, 351, 281, 15203, 12, 9830, 18360, 12, 71, 2117, 266, 14, 78, 50115, 1201, 362, 13348, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 40567, 62, 291, 67, 33411, 40567, 62, 291, 67, 13, 291, 67, 24, 62, 8189, 796, 357, 46506, 288, 62, 291, 67, 62, 47356, 4629, 13, 291, 67, 24, 62, 8189, 16034, 288, 62, 291, 67, 62, 47356, 4629, 33411, 288, 62, 291, 67, 62, 47356, 4629, 13, 19509, 62, 7839, 796, 705, 4246, 259, 12, 9830, 18360, 12, 71, 2117, 266, 14, 78, 50115, 11537, 5357, 40567, 62, 291 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 9776, 5827, 37528, 1415, 14641, 351, 281, 15203, 12, 9830, 18360, 12, 71, 2117, 266, 14, 78, 50115, 1201, 362, 13348, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 40567, 62, 291, 67, 33411, 40567, 62, 291, 67, 13, 291, 67, 24, 62, 8189, 796, 357, 46506, 288, 62, 291, 67, 62, 47356, 4629, 13, 291, 67, 24, 62, 8189, 16034, 288, 62, 291, 67, 62, 47356, 4629, 33411, 288, 62, 291, 67, 62, 47356, 4629, 13, 19509, 62, 7839, 796, 705, 4246, 259, 12, 9830, 18360, 12, 71, 2117, 266, 14, 78, 50115, 11537, 5357, 40567, 62, 291 ]
Which Points have a Grid larger than 7, and a Driver of alex tagliani, and a Lapse smaller than 85?
SELECT MAX("Points") FROM table_65672 WHERE "Grid" > '7' AND "Driver" = 'alex tagliani' AND "Laps" < '85'
[ 13828, 11045, 423, 257, 24846, 4025, 621, 767, 11, 290, 257, 12434, 286, 257, 2588, 7621, 75, 25111, 11, 290, 257, 406, 7512, 4833, 621, 7600, 30, 46506, 25882, 7203, 40710, 4943, 16034, 3084, 62, 2996, 43864, 33411, 366, 41339, 1, 1875, 705, 22, 6, 5357, 366, 32103, 1, 796, 705, 1000, 87, 7621, 75, 25111, 6, 5357, 366, 43, 1686, 1, 1279, 705, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11045, 423, 257, 24846, 4025, 621, 767, 11, 290, 257, 12434, 286, 257, 2588, 7621, 75, 25111, 11, 290, 257, 406, 7512, 4833, 621, 7600, 30, 46506, 25882, 7203, 40710, 4943, 16034, 3084, 62, 2996, 43864, 33411, 366, 41339, 1, 1875, 705, 22, 6, 5357, 366, 32103, 1, 796, 705, 1000, 87, 7621, 75, 25111, 6, 5357, 366, 43, 1686, 1, 1279, 705, 5332, 6 ]
what number of patients are staying in the csru careunit?
SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE admissions.hadm_id IN (SELECT transfers.hadm_id FROM transfers WHERE transfers.careunit = 'csru')
[ 10919, 1271, 286, 3871, 389, 10589, 287, 262, 50115, 622, 1337, 20850, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 25349, 13, 32796, 62, 312, 8, 16034, 25349, 33411, 25349, 13, 18108, 76, 62, 312, 3268, 357, 46506, 16395, 13, 18108, 76, 62, 312, 16034, 16395, 33411, 16395, 13, 6651, 20850, 796, 705, 6359, 622, 11537 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 1271, 286, 3871, 389, 10589, 287, 262, 50115, 622, 1337, 20850, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 25349, 13, 32796, 62, 312, 8, 16034, 25349, 33411, 25349, 13, 18108, 76, 62, 312, 3268, 357, 46506, 16395, 13, 18108, 76, 62, 312, 16034, 16395, 33411, 16395, 13, 6651, 20850, 796, 705, 6359, 622, 11537 ]
what is the last xbox 360 release date ?
SELECT "xbox 360 release date" FROM table_204_587 ORDER BY "xbox 360 release date" DESC LIMIT 1
[ 10919, 318, 262, 938, 2124, 3524, 11470, 2650, 3128, 5633, 46506, 366, 87, 3524, 11470, 2650, 3128, 1, 16034, 3084, 62, 18638, 62, 44617, 38678, 11050, 366, 87, 3524, 11470, 2650, 3128, 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 ]
[ 10919, 318, 262, 938, 2124, 3524, 11470, 2650, 3128, 5633, 46506, 366, 87, 3524, 11470, 2650, 3128, 1, 16034, 3084, 62, 18638, 62, 44617, 38678, 11050, 366, 87, 3524, 11470, 2650, 3128, 1, 22196, 34, 27564, 2043, 352 ]
What is the average feet that has a Latitude (N) of 35 48 35 , and under 8,047m?
SELECT AVG(feet) FROM table_name_11 WHERE latitude__n_ = "35°48′35″" AND metres < 8 OFFSET 047
[ 2061, 318, 262, 2811, 3625, 326, 468, 257, 5476, 3984, 357, 45, 8, 286, 3439, 4764, 3439, 837, 290, 739, 807, 11, 48000, 76, 30, 46506, 35224, 7, 39690, 8, 16034, 3084, 62, 3672, 62, 1157, 33411, 32477, 834, 77, 62, 796, 366, 2327, 7200, 2780, 17478, 2327, 12237, 1, 5357, 18985, 1279, 807, 3963, 10652, 2767, 657, 2857 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3625, 326, 468, 257, 5476, 3984, 357, 45, 8, 286, 3439, 4764, 3439, 837, 290, 739, 807, 11, 48000, 76, 30, 46506, 35224, 7, 39690, 8, 16034, 3084, 62, 3672, 62, 1157, 33411, 32477, 834, 77, 62, 796, 366, 2327, 7200, 2780, 17478, 2327, 12237, 1, 5357, 18985, 1279, 807, 3963, 10652, 2767, 657, 2857 ]
What is the sum of Metres wiht a Feet that's smaller than 196?
SELECT COUNT(metres) FROM table_name_51 WHERE feet < 196
[ 2061, 318, 262, 2160, 286, 3395, 411, 45967, 4352, 257, 43391, 326, 338, 4833, 621, 28817, 30, 46506, 327, 28270, 7, 4164, 411, 8, 16034, 3084, 62, 3672, 62, 4349, 33411, 3625, 1279, 28817 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2160, 286, 3395, 411, 45967, 4352, 257, 43391, 326, 338, 4833, 621, 28817, 30, 46506, 327, 28270, 7, 4164, 411, 8, 16034, 3084, 62, 3672, 62, 4349, 33411, 3625, 1279, 28817 ]
What is the dpi of a scanner with the mm dimensions 280 x 95 x 40?
SELECT dpi FROM table_16409745_1 WHERE dimensions__mm_ = "280 x 95 x 40"
[ 2061, 318, 262, 288, 14415, 286, 257, 27474, 351, 262, 8085, 15225, 21355, 2124, 6957, 2124, 2319, 30, 46506, 288, 14415, 16034, 3084, 62, 1433, 1821, 5607, 2231, 62, 16, 33411, 15225, 834, 3020, 62, 796, 366, 21033, 2124, 6957, 2124, 2319, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 288, 14415, 286, 257, 27474, 351, 262, 8085, 15225, 21355, 2124, 6957, 2124, 2319, 30, 46506, 288, 14415, 16034, 3084, 62, 1433, 1821, 5607, 2231, 62, 16, 33411, 15225, 834, 3020, 62, 796, 366, 21033, 2124, 6957, 2124, 2319, 1 ]
How much absorption in nm does the orange dye have?
SELECT MIN(absorb__nm_) FROM table_26428602_1 WHERE color = "orange"
[ 2437, 881, 24774, 287, 28642, 857, 262, 10912, 30121, 423, 30, 46506, 20625, 7, 8937, 27688, 834, 21533, 62, 8, 16034, 3084, 62, 18897, 2078, 31418, 62, 16, 33411, 3124, 796, 366, 43745, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 881, 24774, 287, 28642, 857, 262, 10912, 30121, 423, 30, 46506, 20625, 7, 8937, 27688, 834, 21533, 62, 8, 16034, 3084, 62, 18897, 2078, 31418, 62, 16, 33411, 3124, 796, 366, 43745, 1 ]
Which 2007 has a 2003 of 2r, and a 2004 of 1r?
SELECT "2007" FROM table_36099 WHERE "2003" = '2r' AND "2004" = '1r'
[ 13828, 4343, 468, 257, 5816, 286, 362, 81, 11, 290, 257, 5472, 286, 352, 81, 30, 46506, 366, 12726, 1, 16034, 3084, 62, 15277, 2079, 33411, 366, 16088, 1, 796, 705, 17, 81, 6, 5357, 366, 15724, 1, 796, 705, 16, 81, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 4343, 468, 257, 5816, 286, 362, 81, 11, 290, 257, 5472, 286, 352, 81, 30, 46506, 366, 12726, 1, 16034, 3084, 62, 15277, 2079, 33411, 366, 16088, 1, 796, 705, 17, 81, 6, 5357, 366, 15724, 1, 796, 705, 16, 81, 6 ]
What is the name and id of the staff who recorded the fault log but has not contacted any visiting engineers?
SELECT T1.staff_name, T1.staff_id FROM staff AS T1 JOIN fault_log AS T2 ON T1.staff_id = T2.recorded_by_staff_id EXCEPT SELECT T3.staff_name, T3.staff_id FROM staff AS T3 JOIN engineer_visits AS T4 ON T3.staff_id = T4.contact_staff_id
[ 2061, 318, 262, 1438, 290, 4686, 286, 262, 3085, 508, 6264, 262, 8046, 2604, 475, 468, 407, 11237, 597, 10013, 12037, 30, 46506, 309, 16, 13, 28120, 62, 3672, 11, 309, 16, 13, 28120, 62, 312, 16034, 3085, 7054, 309, 16, 32357, 1268, 8046, 62, 6404, 7054, 309, 17, 6177, 309, 16, 13, 28120, 62, 312, 796, 309, 17, 13, 47398, 62, 1525, 62, 28120, 62, 312, 7788, 42006, 33493, 309, 18, 13, 28120, 62, 3672, 11, 309, 18, 13, 28120, 62, 312, 16034, 3085, 7054, 309, 18, 32357, 1268, 11949, 62, 4703, 896, 7054, 309, 19, 6177, 309, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4686, 286, 262, 3085, 508, 6264, 262, 8046, 2604, 475, 468, 407, 11237, 597, 10013, 12037, 30, 46506, 309, 16, 13, 28120, 62, 3672, 11, 309, 16, 13, 28120, 62, 312, 16034, 3085, 7054, 309, 16, 32357, 1268, 8046, 62, 6404, 7054, 309, 17, 6177, 309, 16, 13, 28120, 62, 312, 796, 309, 17, 13, 47398, 62, 1525, 62, 28120, 62, 312, 7788, 42006, 33493, 309, 18, 13, 28120, 62, 3672, 11, 309, 18, 13, 28120, 62, 312, 16034, 3085, 7054, 309, 18, 32357, 1268, 11949, 62, 4703, 896, 7054, 309, 19, 6177, 309, 18 ]
Which locomotive type has a status in static display
SELECT "Locomotive type" FROM table_20332 WHERE "Status" = 'Static display'
[ 13828, 33334, 19138, 2099, 468, 257, 3722, 287, 9037, 3359, 46506, 366, 33711, 296, 19138, 2099, 1, 16034, 3084, 62, 1238, 32148, 33411, 366, 19580, 1, 796, 705, 45442, 3359, 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 ]
[ 13828, 33334, 19138, 2099, 468, 257, 3722, 287, 9037, 3359, 46506, 366, 33711, 296, 19138, 2099, 1, 16034, 3084, 62, 1238, 32148, 33411, 366, 19580, 1, 796, 705, 45442, 3359, 6 ]
What is Player, when Opponent is source: . last updated: 28 june 2007.?
SELECT "Player" FROM table_45776 WHERE "Opponent" = 'source: . last updated: 28 june 2007.'
[ 2061, 318, 7853, 11, 618, 9385, 3471, 318, 2723, 25, 764, 938, 6153, 25, 2579, 474, 1726, 4343, 40791, 46506, 366, 14140, 1, 16034, 3084, 62, 2231, 39509, 33411, 366, 27524, 3471, 1, 796, 705, 10459, 25, 764, 938, 6153, 25, 2579, 474, 1726, 4343, 2637 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7853, 11, 618, 9385, 3471, 318, 2723, 25, 764, 938, 6153, 25, 2579, 474, 1726, 4343, 40791, 46506, 366, 14140, 1, 16034, 3084, 62, 2231, 39509, 33411, 366, 27524, 3471, 1, 796, 705, 10459, 25, 764, 938, 6153, 25, 2579, 474, 1726, 4343, 2637 ]
Name the D 41 which has a D 46 of r 6
SELECT d_41 FROM table_name_97 WHERE d_46 = "r 6"
[ 5376, 262, 360, 6073, 543, 468, 257, 360, 6337, 286, 374, 718, 46506, 288, 62, 3901, 16034, 3084, 62, 3672, 62, 5607, 33411, 288, 62, 3510, 796, 366, 81, 718, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 360, 6073, 543, 468, 257, 360, 6337, 286, 374, 718, 46506, 288, 62, 3901, 16034, 3084, 62, 3672, 62, 5607, 33411, 288, 62, 3510, 796, 366, 81, 718, 1 ]
Which Species Specific has a Comparative of no, and an Intra-molecular structure of no, and a Link of sourcecode?
SELECT species_specific FROM table_name_29 WHERE comparative = "no" AND intra_molecular_structure = "no" AND link = "sourcecode"
[ 13828, 28540, 17377, 468, 257, 22565, 876, 286, 645, 11, 290, 281, 2558, 430, 12, 76, 2305, 10440, 4645, 286, 645, 11, 290, 257, 7502, 286, 2723, 8189, 30, 46506, 4693, 62, 11423, 16034, 3084, 62, 3672, 62, 1959, 33411, 29270, 796, 366, 3919, 1, 5357, 23422, 62, 76, 2305, 10440, 62, 301, 5620, 796, 366, 3919, 1, 5357, 2792, 796, 366, 10459, 8189, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 28540, 17377, 468, 257, 22565, 876, 286, 645, 11, 290, 281, 2558, 430, 12, 76, 2305, 10440, 4645, 286, 645, 11, 290, 257, 7502, 286, 2723, 8189, 30, 46506, 4693, 62, 11423, 16034, 3084, 62, 3672, 62, 1959, 33411, 29270, 796, 366, 3919, 1, 5357, 23422, 62, 76, 2305, 10440, 62, 301, 5620, 796, 366, 3919, 1, 5357, 2792, 796, 366, 10459, 8189, 1 ]
What is the score with a place of t6 for the player k.j. choi?
SELECT score FROM table_name_83 WHERE place = "t6" AND player = "k.j. choi"
[ 2061, 318, 262, 4776, 351, 257, 1295, 286, 256, 21, 329, 262, 2137, 479, 13, 73, 13, 1727, 72, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 5999, 33411, 1295, 796, 366, 83, 21, 1, 5357, 2137, 796, 366, 74, 13, 73, 13, 1727, 72, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 351, 257, 1295, 286, 256, 21, 329, 262, 2137, 479, 13, 73, 13, 1727, 72, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 5999, 33411, 1295, 796, 366, 83, 21, 1, 5357, 2137, 796, 366, 74, 13, 73, 13, 1727, 72, 1 ]
total number of gangster games released .
SELECT COUNT("title") FROM table_204_236
[ 23350, 1271, 286, 7706, 1706, 1830, 2716, 764, 46506, 327, 28270, 7203, 7839, 4943, 16034, 3084, 62, 18638, 62, 24940 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 23350, 1271, 286, 7706, 1706, 1830, 2716, 764, 46506, 327, 28270, 7203, 7839, 4943, 16034, 3084, 62, 18638, 62, 24940 ]
What is the lowest episode number?
SELECT MIN("Episode #") FROM table_3189
[ 2061, 318, 262, 9016, 4471, 1271, 30, 46506, 20625, 7203, 23758, 1303, 4943, 16034, 3084, 62, 18, 23362 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 9016, 4471, 1271, 30, 46506, 20625, 7203, 23758, 1303, 4943, 16034, 3084, 62, 18, 23362 ]
what was the name of the prescription drug patient 012-85821 was prescribed during the same day after having received a vte prophylaxis - coumadin procedure in 04/2102?
SELECT t2.drugname FROM (SELECT patient.uniquepid, treatment.treatmenttime FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '012-85821') AND treatment.treatmentname = 'vte prophylaxis - coumadin' AND STRFTIME('%y-%m', treatment.treatmenttime) = '2102-04') AS t1 JOIN (SELECT patient.uniquepid, medication.drugname, medication.drugstarttime FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '012-85821') AND STRFTIME('%y-%m', medication.drugstarttime) = '2102-04') AS t2 ON t1.uniquepid = t2.uniquepid WHERE t1.treatmenttime < t2.drugstarttime AND DATETIME(t1.treatmenttime, 'start of day') = DATETIME(t2.drugstarttime, 'start of day')
[ 10919, 373, 262, 1438, 286, 262, 15077, 2563, 5827, 5534, 17, 12, 23, 3365, 2481, 373, 14798, 1141, 262, 976, 1110, 706, 1719, 2722, 257, 410, 660, 386, 746, 2645, 22704, 532, 2284, 9937, 259, 8771, 287, 8702, 14, 17, 15377, 30, 46506, 256, 17, 13, 30349, 3672, 16034, 357, 46506, 5827, 13, 403, 1557, 538, 312, 11, 3513, 13, 42487, 2435, 16034, 3513, 32357, 1268, 5827, 6177, 3513, 13, 26029, 20850, 31712, 312, 796, 5827, 13, 26029, 20850, 31712, 312, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 373, 262, 1438, 286, 262, 15077, 2563, 5827, 5534, 17, 12, 23, 3365, 2481, 373, 14798, 1141, 262, 976, 1110, 706, 1719, 2722, 257, 410, 660, 386, 746, 2645, 22704, 532, 2284, 9937, 259, 8771, 287, 8702, 14, 17, 15377, 30, 46506, 256, 17, 13, 30349, 3672, 16034, 357, 46506, 5827, 13, 403, 1557, 538, 312, 11, 3513, 13, 42487, 2435, 16034, 3513, 32357, 1268, 5827, 6177, 3513, 13, 26029, 20850, 31712, 312, 796, 5827, 13, 26029, 20850, 31712, 312, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034 ]
What is the value for parentheses with a dots value of 0.\dot{6}?
SELECT "Parentheses" FROM table_36624 WHERE "Dots" = '0.\dot{6}'
[ 2061, 318, 262, 1988, 329, 46672, 351, 257, 22969, 1988, 286, 657, 13, 59, 26518, 90, 21, 92, 30, 46506, 366, 24546, 39815, 1, 16034, 3084, 62, 32459, 1731, 33411, 366, 35, 1747, 1, 796, 705, 15, 13, 59, 26518, 90, 21, 92, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1988, 329, 46672, 351, 257, 22969, 1988, 286, 657, 13, 59, 26518, 90, 21, 92, 30, 46506, 366, 24546, 39815, 1, 16034, 3084, 62, 32459, 1731, 33411, 366, 35, 1747, 1, 796, 705, 15, 13, 59, 26518, 90, 21, 92, 6 ]
Show each county along with the number of schools and total enrollment in each county.
SELECT county, COUNT(*), SUM(enrollment) FROM school GROUP BY county
[ 15307, 1123, 7968, 1863, 351, 262, 1271, 286, 4266, 290, 2472, 20753, 287, 1123, 7968, 13, 46506, 7968, 11, 327, 28270, 46491, 828, 35683, 7, 268, 48108, 8, 16034, 1524, 44441, 11050, 7968 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1123, 7968, 1863, 351, 262, 1271, 286, 4266, 290, 2472, 20753, 287, 1123, 7968, 13, 46506, 7968, 11, 327, 28270, 46491, 828, 35683, 7, 268, 48108, 8, 16034, 1524, 44441, 11050, 7968 ]
What position did the player who was with the grizzlies from 2007-2009 play?
SELECT position FROM table_name_89 WHERE years_for_grizzlies = "2007-2009"
[ 2061, 2292, 750, 262, 2137, 508, 373, 351, 262, 46307, 13508, 422, 4343, 12, 10531, 711, 30, 46506, 2292, 16034, 3084, 62, 3672, 62, 4531, 33411, 812, 62, 1640, 62, 70, 380, 3019, 13508, 796, 366, 12726, 12, 10531, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2292, 750, 262, 2137, 508, 373, 351, 262, 46307, 13508, 422, 4343, 12, 10531, 711, 30, 46506, 2292, 16034, 3084, 62, 3672, 62, 4531, 33411, 812, 62, 1640, 62, 70, 380, 3019, 13508, 796, 366, 12726, 12, 10531, 1 ]
Show the number of document type for different document type description in a bar chart, and show y-axis in ascending order.
SELECT Document_Type_Description, COUNT(Document_Type_Description) FROM Ref_Document_Types GROUP BY Document_Type_Description ORDER BY COUNT(Document_Type_Description)
[ 15307, 262, 1271, 286, 3188, 2099, 329, 1180, 3188, 2099, 6764, 287, 257, 2318, 8262, 11, 290, 905, 331, 12, 22704, 287, 41988, 1502, 13, 46506, 16854, 62, 6030, 62, 11828, 11, 327, 28270, 7, 24941, 62, 6030, 62, 11828, 8, 16034, 6524, 62, 24941, 62, 31431, 44441, 11050, 16854, 62, 6030, 62, 11828, 38678, 11050, 327, 28270, 7, 24941, 62, 6030, 62, 11828, 8 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 262, 1271, 286, 3188, 2099, 329, 1180, 3188, 2099, 6764, 287, 257, 2318, 8262, 11, 290, 905, 331, 12, 22704, 287, 41988, 1502, 13, 46506, 16854, 62, 6030, 62, 11828, 11, 327, 28270, 7, 24941, 62, 6030, 62, 11828, 8, 16034, 6524, 62, 24941, 62, 31431, 44441, 11050, 16854, 62, 6030, 62, 11828, 38678, 11050, 327, 28270, 7, 24941, 62, 6030, 62, 11828, 8 ]
self accepted answers in the given tag.
SELECT selfAnswer.Id AS "post_link", question.Score AS QuestionScore, selfAnswer.Score AS AnswerScore, question.Tags FROM Posts AS question INNER JOIN Posts AS selfAnswer ON selfAnswer.OwnerUserId = question.OwnerUserId AND selfAnswer.ParentId = question.Id AND selfAnswer.Id = question.AcceptedAnswerId WHERE question.PostTypeId = 1 AND selfAnswer.PostTypeId = 2 AND question.Tags LIKE CONCAT('%', @TagName, '%') ORDER BY (question.Score + selfAnswer.Score) DESC, selfAnswer.CreationDate DESC
[ 944, 6292, 7429, 287, 262, 1813, 7621, 13, 46506, 2116, 33706, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 1808, 13, 26595, 7054, 18233, 26595, 11, 2116, 33706, 13, 26595, 7054, 23998, 26595, 11, 1808, 13, 36142, 16034, 12043, 7054, 1808, 3268, 21479, 32357, 1268, 12043, 7054, 2116, 33706, 6177, 2116, 33706, 13, 42419, 12982, 7390, 796, 1808, 13, 42419, 12982, 7390, 5357, 2116, 33706, 13, 24546, 7390, 796, 1808, 13, 7390, 5357, 2116, 33706, 13, 7390, 796, 1808, 13, 38855, 276, 33706, 7390, 33411, 1808, 13, 6307, 6030, 7390, 796, 352, 5357, 2116, 33706, 13, 6307, 6030, 7390, 796 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 944, 6292, 7429, 287, 262, 1813, 7621, 13, 46506, 2116, 33706, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 1808, 13, 26595, 7054, 18233, 26595, 11, 2116, 33706, 13, 26595, 7054, 23998, 26595, 11, 1808, 13, 36142, 16034, 12043, 7054, 1808, 3268, 21479, 32357, 1268, 12043, 7054, 2116, 33706, 6177, 2116, 33706, 13, 42419, 12982, 7390, 796, 1808, 13, 42419, 12982, 7390, 5357, 2116, 33706, 13, 24546, 7390, 796, 1808, 13, 7390, 5357, 2116, 33706, 13, 7390, 796, 1808, 13, 38855, 276, 33706, 7390, 33411, 1808, 13, 6307, 6030, 7390, 796, 352, 5357, 2116, 33706, 13, 6307, 6030, 7390, 796 ]
When Saginaw's fare is $470.47, what was the fare to Grand Rapids?
SELECT "Grand Rapids (GRR)" FROM table_20702 WHERE "Saginaw (MBS)" = '$470.47'
[ 2215, 311, 23183, 707, 338, 14505, 318, 720, 27790, 13, 2857, 11, 644, 373, 262, 14505, 284, 5675, 27466, 30, 46506, 366, 23581, 27466, 357, 10761, 49, 16725, 16034, 3084, 62, 1238, 36680, 33411, 366, 50, 23183, 707, 357, 44, 4462, 16725, 796, 705, 3, 27790, 13, 2857, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 311, 23183, 707, 338, 14505, 318, 720, 27790, 13, 2857, 11, 644, 373, 262, 14505, 284, 5675, 27466, 30, 46506, 366, 23581, 27466, 357, 10761, 49, 16725, 16034, 3084, 62, 1238, 36680, 33411, 366, 50, 23183, 707, 357, 44, 4462, 16725, 796, 705, 3, 27790, 13, 2857, 6 ]
Show the different nationalities and the number of journalists of each nationality.
SELECT Nationality, COUNT(*) FROM journalist GROUP BY Nationality
[ 15307, 262, 1180, 2260, 871, 290, 262, 1271, 286, 9046, 286, 1123, 29835, 13, 46506, 2351, 414, 11, 327, 28270, 7, 28104, 16034, 10099, 44441, 11050, 2351, 414 ]
[ 1, 1, 1, 1, 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, 1180, 2260, 871, 290, 262, 1271, 286, 9046, 286, 1123, 29835, 13, 46506, 2351, 414, 11, 327, 28270, 7, 28104, 16034, 10099, 44441, 11050, 2351, 414 ]
what is the number of patients still living who had one vascular stent insertion?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.expire_flag = "0" AND procedures.long_title = "Insertion of one vascular stent"
[ 10919, 318, 262, 1271, 286, 3871, 991, 2877, 508, 550, 530, 39495, 336, 298, 36075, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, 13, 18108, 76, 62, 312, 796, 9021, 13, 18108, 76, 62, 312, 33411, 16728, 13, 1069, 5111, 62, 32109, 796, 366, 15, 1, 5357, 9021, 13, 6511, 62, 7839, 796, 366, 44402, 295, 286, 530, 39495, 336, 298, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 991, 2877, 508, 550, 530, 39495, 336, 298, 36075, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, 13, 18108, 76, 62, 312, 796, 9021, 13, 18108, 76, 62, 312, 33411, 16728, 13, 1069, 5111, 62, 32109, 796, 366, 15, 1, 5357, 9021, 13, 6511, 62, 7839, 796, 366, 44402, 295, 286, 530, 39495, 336, 298, 1 ]
What is every average when number of dances is 1?
SELECT "Average" FROM table_28644 WHERE "Number of dances" = '1'
[ 2061, 318, 790, 2811, 618, 1271, 286, 38207, 318, 352, 30, 46506, 366, 26287, 1, 16034, 3084, 62, 2078, 29173, 33411, 366, 15057, 286, 38207, 1, 796, 705, 16, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 790, 2811, 618, 1271, 286, 38207, 318, 352, 30, 46506, 366, 26287, 1, 16034, 3084, 62, 2078, 29173, 33411, 366, 15057, 286, 38207, 1, 796, 705, 16, 6 ]
how many dead patients had diagnoses of methicillin susceptible pneumonia due to staphylococcus aureus?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.expire_flag = "1" AND diagnoses.short_title = "Meth sus pneum d/t Staph"
[ 4919, 867, 2636, 3871, 550, 40567, 286, 11248, 291, 32672, 22084, 35647, 2233, 284, 336, 6570, 2645, 34403, 9042, 257, 495, 385, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312, 796, 40567, 13, 18108, 76, 62, 312, 33411, 16728, 13, 1069, 5111, 62, 32109, 796, 366, 16, 1, 5357, 40567, 13, 19509, 62, 7839, 796, 366, 44, 2788, 2341, 29631, 288, 14, 83, 520, 6570, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2636, 3871, 550, 40567, 286, 11248, 291, 32672, 22084, 35647, 2233, 284, 336, 6570, 2645, 34403, 9042, 257, 495, 385, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312, 796, 40567, 13, 18108, 76, 62, 312, 33411, 16728, 13, 1069, 5111, 62, 32109, 796, 366, 16, 1, 5357, 40567, 13, 19509, 62, 7839, 796, 366, 44, 2788, 2341, 29631, 288, 14, 83, 520, 6570, 1 ]
Visualize a pie chart about the proportion of other_details and the sum of monthly_rental.
SELECT other_details, SUM(monthly_rental) FROM Student_Addresses GROUP BY other_details ORDER BY monthly_rental DESC
[ 36259, 1096, 257, 2508, 8262, 546, 262, 9823, 286, 584, 62, 36604, 290, 262, 2160, 286, 9651, 62, 1156, 282, 13, 46506, 584, 62, 36604, 11, 35683, 7, 8424, 306, 62, 1156, 282, 8, 16034, 13613, 62, 4550, 16746, 44441, 11050, 584, 62, 36604, 38678, 11050, 9651, 62, 1156, 282, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 36259, 1096, 257, 2508, 8262, 546, 262, 9823, 286, 584, 62, 36604, 290, 262, 2160, 286, 9651, 62, 1156, 282, 13, 46506, 584, 62, 36604, 11, 35683, 7, 8424, 306, 62, 1156, 282, 8, 16034, 13613, 62, 4550, 16746, 44441, 11050, 584, 62, 36604, 38678, 11050, 9651, 62, 1156, 282, 22196, 34 ]
What is the dance that has priscilla presley is the worst dancer(s), and the worst score of 21?
SELECT dance FROM table_name_68 WHERE worst_dancer_s_ = "priscilla presley" AND worst_score = "21"
[ 2061, 318, 262, 9280, 326, 468, 778, 2304, 5049, 906, 1636, 318, 262, 5290, 38619, 7, 82, 828, 290, 262, 5290, 4776, 286, 2310, 30, 46506, 9280, 16034, 3084, 62, 3672, 62, 3104, 33411, 5290, 62, 67, 8250, 62, 82, 62, 796, 366, 1050, 2304, 5049, 906, 1636, 1, 5357, 5290, 62, 26675, 796, 366, 2481, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9280, 326, 468, 778, 2304, 5049, 906, 1636, 318, 262, 5290, 38619, 7, 82, 828, 290, 262, 5290, 4776, 286, 2310, 30, 46506, 9280, 16034, 3084, 62, 3672, 62, 3104, 33411, 5290, 62, 67, 8250, 62, 82, 62, 796, 366, 1050, 2304, 5049, 906, 1636, 1, 5357, 5290, 62, 26675, 796, 366, 2481, 1 ]
Which country had a series that premiered on September 4, 2006?
SELECT country FROM table_name_77 WHERE series_premiere = "september 4, 2006"
[ 13828, 1499, 550, 257, 2168, 326, 44119, 319, 2693, 604, 11, 4793, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 3324, 33411, 2168, 62, 31605, 13235, 796, 366, 325, 457, 1491, 604, 11, 4793, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 1499, 550, 257, 2168, 326, 44119, 319, 2693, 604, 11, 4793, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 3324, 33411, 2168, 62, 31605, 13235, 796, 366, 325, 457, 1491, 604, 11, 4793, 1 ]
What was the percentage for K. Themistokleous when I. Kasoulidis was 30.1%?
SELECT k_themistokleous FROM table_name_65 WHERE i_kasoulidis = "30.1%"
[ 2061, 373, 262, 5873, 329, 509, 13, 26460, 396, 482, 293, 516, 618, 314, 13, 15035, 2852, 29207, 373, 1542, 13, 16, 4, 30, 46506, 479, 62, 18855, 396, 482, 293, 516, 16034, 3084, 62, 3672, 62, 2996, 33411, 1312, 62, 42749, 2852, 29207, 796, 366, 1270, 13, 16, 39658 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5873, 329, 509, 13, 26460, 396, 482, 293, 516, 618, 314, 13, 15035, 2852, 29207, 373, 1542, 13, 16, 4, 30, 46506, 479, 62, 18855, 396, 482, 293, 516, 16034, 3084, 62, 3672, 62, 2996, 33411, 1312, 62, 42749, 2852, 29207, 796, 366, 1270, 13, 16, 39658 ]
What was the A Score when the B Score was 9.05, and position was larger than 6?
SELECT AVG(a_score) FROM table_name_50 WHERE b_score = 9.05 AND position > 6
[ 2061, 373, 262, 317, 15178, 618, 262, 347, 15178, 373, 860, 13, 2713, 11, 290, 2292, 373, 4025, 621, 718, 30, 46506, 35224, 7, 64, 62, 26675, 8, 16034, 3084, 62, 3672, 62, 1120, 33411, 275, 62, 26675, 796, 860, 13, 2713, 5357, 2292, 1875, 718 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 317, 15178, 618, 262, 347, 15178, 373, 860, 13, 2713, 11, 290, 2292, 373, 4025, 621, 718, 30, 46506, 35224, 7, 64, 62, 26675, 8, 16034, 3084, 62, 3672, 62, 1120, 33411, 275, 62, 26675, 796, 860, 13, 2713, 5357, 2292, 1875, 718 ]
For those products with a price between 60 and 120, find name and price , and visualize them by a bar chart.
SELECT Name, Price FROM Products WHERE Price BETWEEN 60 AND 120
[ 1890, 883, 3186, 351, 257, 2756, 1022, 3126, 290, 7982, 11, 1064, 1438, 290, 2756, 837, 290, 38350, 606, 416, 257, 2318, 8262, 13, 46506, 6530, 11, 7886, 16034, 18675, 33411, 7886, 38651, 8845, 1677, 3126, 5357, 7982 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1890, 883, 3186, 351, 257, 2756, 1022, 3126, 290, 7982, 11, 1064, 1438, 290, 2756, 837, 290, 38350, 606, 416, 257, 2318, 8262, 13, 46506, 6530, 11, 7886, 16034, 18675, 33411, 7886, 38651, 8845, 1677, 3126, 5357, 7982 ]
What type of game was held on December 22?
SELECT "Type of game" FROM table_37268 WHERE "Date" = 'december 22'
[ 2061, 2099, 286, 983, 373, 2714, 319, 3426, 2534, 30, 46506, 366, 6030, 286, 983, 1, 16034, 3084, 62, 2718, 25022, 33411, 366, 10430, 1, 796, 705, 2934, 3273, 2534, 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, 2099, 286, 983, 373, 2714, 319, 3426, 2534, 30, 46506, 366, 6030, 286, 983, 1, 16034, 3084, 62, 2718, 25022, 33411, 366, 10430, 1, 796, 705, 2934, 3273, 2534, 6 ]
How many draws did Mortlake have when the losses were more than 5?
SELECT COUNT("Draws") FROM table_79351 WHERE "Losses" > '5' AND "Club" = 'mortlake'
[ 2437, 867, 14293, 750, 10788, 27180, 423, 618, 262, 9089, 547, 517, 621, 642, 30, 46506, 327, 28270, 7203, 25302, 82, 4943, 16034, 3084, 62, 3720, 35273, 33411, 366, 43, 793, 274, 1, 1875, 705, 20, 6, 5357, 366, 42350, 1, 796, 705, 30171, 27180, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 14293, 750, 10788, 27180, 423, 618, 262, 9089, 547, 517, 621, 642, 30, 46506, 327, 28270, 7203, 25302, 82, 4943, 16034, 3084, 62, 3720, 35273, 33411, 366, 43, 793, 274, 1, 1875, 705, 20, 6, 5357, 366, 42350, 1, 796, 705, 30171, 27180, 6 ]
What year was transamerica field built in?
SELECT year_built FROM table_name_10 WHERE venue = "transamerica field"
[ 2061, 614, 373, 1007, 2382, 3970, 2214, 3170, 287, 30, 46506, 614, 62, 18780, 16034, 3084, 62, 3672, 62, 940, 33411, 14359, 796, 366, 7645, 2382, 3970, 2214, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 614, 373, 1007, 2382, 3970, 2214, 3170, 287, 30, 46506, 614, 62, 18780, 16034, 3084, 62, 3672, 62, 940, 33411, 14359, 796, 366, 7645, 2382, 3970, 2214, 1 ]
What type of settlement is (hungarian: orom)?
SELECT "Type" FROM table_27863 WHERE "Cyrillic Name Other Names" = 'Ором (Hungarian: Orom)'
[ 2061, 2099, 286, 9443, 318, 357, 43274, 3699, 25, 393, 296, 19427, 46506, 366, 6030, 1, 16034, 3084, 62, 1983, 4521, 18, 33411, 366, 34, 2417, 359, 291, 6530, 3819, 28531, 1, 796, 705, 140, 252, 21169, 25443, 120, 357, 39505, 3699, 25, 440, 398, 33047 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 2099, 286, 9443, 318, 357, 43274, 3699, 25, 393, 296, 19427, 46506, 366, 6030, 1, 16034, 3084, 62, 1983, 4521, 18, 33411, 366, 34, 2417, 359, 291, 6530, 3819, 28531, 1, 796, 705, 140, 252, 21169, 25443, 120, 357, 39505, 3699, 25, 440, 398, 33047 ]
How many positions have points against less than 28, americano-sp as the team, with a played greater than 8?
SELECT COUNT("Position") FROM table_42929 WHERE "Against" < '28' AND "Team" = 'americano-sp' AND "Played" > '8'
[ 2437, 867, 6116, 423, 2173, 1028, 1342, 621, 2579, 11, 45630, 5733, 12, 2777, 355, 262, 1074, 11, 351, 257, 2826, 3744, 621, 807, 30, 46506, 327, 28270, 7203, 26545, 4943, 16034, 3084, 62, 11785, 1959, 33411, 366, 39276, 1, 1279, 705, 2078, 6, 5357, 366, 15592, 1, 796, 705, 2382, 291, 5733, 12, 2777, 6, 5357, 366, 11002, 276, 1, 1875, 705, 23, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 6116, 423, 2173, 1028, 1342, 621, 2579, 11, 45630, 5733, 12, 2777, 355, 262, 1074, 11, 351, 257, 2826, 3744, 621, 807, 30, 46506, 327, 28270, 7203, 26545, 4943, 16034, 3084, 62, 11785, 1959, 33411, 366, 39276, 1, 1279, 705, 2078, 6, 5357, 366, 15592, 1, 796, 705, 2382, 291, 5733, 12, 2777, 6, 5357, 366, 11002, 276, 1, 1875, 705, 23, 6 ]
was there any medicine prescribed this year for patient 028-55503?
SELECT COUNT(*) > 0 FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '028-55503')) AND DATETIME(medication.drugstarttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year')
[ 9776, 612, 597, 9007, 14798, 428, 614, 329, 5827, 657, 2078, 12, 2816, 31938, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 14103, 33411, 14103, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 46957, 12, 2816, 31938, 6, 4008, 5357, 360, 1404, 2767, 12789, 7, 1150, 3299, 13, 30349, 9688, 2435, 11, 705, 9688, 286, 614, 11537, 796, 360, 1404, 2767, 12789 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 9776, 612, 597, 9007, 14798, 428, 614, 329, 5827, 657, 2078, 12, 2816, 31938, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 14103, 33411, 14103, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 46957, 12, 2816, 31938, 6, 4008, 5357, 360, 1404, 2767, 12789, 7, 1150, 3299, 13, 30349, 9688, 2435, 11, 705, 9688, 286, 614, 11537, 796, 360, 1404, 2767, 12789 ]
How many trains call at Castor, Overton, Peterborough East and are operated by LNWR?
SELECT COUNT("Arrival") FROM table_17534 WHERE "Operator" = 'LNWR' AND "Calling at" = 'Castor, Overton, Peterborough East'
[ 2437, 867, 13404, 869, 379, 5833, 273, 11, 3827, 1122, 11, 5613, 17913, 3687, 290, 389, 12228, 416, 406, 45, 18564, 30, 46506, 327, 28270, 7203, 3163, 43171, 4943, 16034, 3084, 62, 17430, 2682, 33411, 366, 18843, 1352, 1, 796, 705, 43, 45, 18564, 6, 5357, 366, 48593, 379, 1, 796, 705, 19248, 273, 11, 3827, 1122, 11, 5613, 17913, 3687, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 13404, 869, 379, 5833, 273, 11, 3827, 1122, 11, 5613, 17913, 3687, 290, 389, 12228, 416, 406, 45, 18564, 30, 46506, 327, 28270, 7203, 3163, 43171, 4943, 16034, 3084, 62, 17430, 2682, 33411, 366, 18843, 1352, 1, 796, 705, 43, 45, 18564, 6, 5357, 366, 48593, 379, 1, 796, 705, 19248, 273, 11, 3827, 1122, 11, 5613, 17913, 3687, 6 ]
What was the total of arlenes vote when craig voted for brian and karen?
SELECT COUNT(arlenes_vote) FROM table_12305325_4 WHERE craigs_vote = "Brian and Karen"
[ 2061, 373, 262, 2472, 286, 610, 11925, 274, 3015, 618, 15671, 328, 7052, 329, 275, 4484, 290, 479, 5757, 30, 46506, 327, 28270, 7, 7063, 18719, 62, 27257, 8, 16034, 3084, 62, 1065, 1270, 4310, 1495, 62, 19, 33411, 15671, 9235, 62, 27257, 796, 366, 24761, 290, 18678, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 2472, 286, 610, 11925, 274, 3015, 618, 15671, 328, 7052, 329, 275, 4484, 290, 479, 5757, 30, 46506, 327, 28270, 7, 7063, 18719, 62, 27257, 8, 16034, 3084, 62, 1065, 1270, 4310, 1495, 62, 19, 33411, 15671, 9235, 62, 27257, 796, 366, 24761, 290, 18678, 1 ]
What was Random House's copyright information?
SELECT copyright_information FROM table_name_7 WHERE publisher = "random house"
[ 2061, 373, 14534, 2097, 338, 6634, 1321, 30, 46506, 6634, 62, 17018, 16034, 3084, 62, 3672, 62, 22, 33411, 9991, 796, 366, 25120, 2156, 1 ]
[ 1, 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, 14534, 2097, 338, 6634, 1321, 30, 46506, 6634, 62, 17018, 16034, 3084, 62, 3672, 62, 22, 33411, 9991, 796, 366, 25120, 2156, 1 ]
what is the discharge location and discharge time of patient id 64208?
SELECT demographic.discharge_location, demographic.dischtime FROM demographic WHERE demographic.subject_id = "64208"
[ 10919, 318, 262, 17655, 4067, 290, 17655, 640, 286, 5827, 4686, 5598, 21315, 30, 46506, 16728, 13, 6381, 10136, 62, 24886, 11, 16728, 13, 6381, 354, 2435, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 2414, 21315, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17655, 4067, 290, 17655, 640, 286, 5827, 4686, 5598, 21315, 30, 46506, 16728, 13, 6381, 10136, 62, 24886, 11, 16728, 13, 6381, 354, 2435, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 2414, 21315, 1 ]
Who's the writer for the episode with a production code 2395114?
SELECT "Writer(s)" FROM table_16371 WHERE "Production code" = '2395114'
[ 8241, 338, 262, 6260, 329, 262, 4471, 351, 257, 3227, 2438, 2242, 3865, 16562, 30, 46506, 366, 34379, 7, 82, 16725, 16034, 3084, 62, 1433, 38056, 33411, 366, 35027, 2438, 1, 796, 705, 1954, 3865, 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 ]
[ 8241, 338, 262, 6260, 329, 262, 4471, 351, 257, 3227, 2438, 2242, 3865, 16562, 30, 46506, 366, 34379, 7, 82, 16725, 16034, 3084, 62, 1433, 38056, 33411, 366, 35027, 2438, 1, 796, 705, 1954, 3865, 16562, 6 ]
What classes will count as Other next semester ?
SELECT DISTINCT course.department, course.name, course.number FROM course, course_offering, program, program_course, semester WHERE course.course_id = course_offering.course_id AND program_course.category LIKE '%Other%' AND program_course.course_id = course.course_id AND program.name LIKE '%CS-LSA%' AND program.program_id = program_course.program_id AND semester.semester = 'FA' AND semester.semester_id = course_offering.semester AND semester.year = 2016
[ 2061, 6097, 481, 954, 355, 3819, 1306, 24878, 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, 1430, 11, 1430, 62, 17319, 11, 24878, 33411, 1781, 13, 17319, 62, 312, 796, 1781, 62, 2364, 1586, 13, 17319, 62, 312, 5357, 1430, 62, 17319, 13, 22872, 34178, 705, 4, 6395, 4, 6, 5357, 1430, 62, 17319, 13, 17319, 62, 312, 796, 1781, 13, 17319, 62, 312, 5357, 1430, 13, 3672, 34178, 705, 4, 7902, 12, 43, 4090, 4, 6, 5357, 1430, 13, 23065, 62 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 6097, 481, 954, 355, 3819, 1306, 24878, 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, 1430, 11, 1430, 62, 17319, 11, 24878, 33411, 1781, 13, 17319, 62, 312, 796, 1781, 62, 2364, 1586, 13, 17319, 62, 312, 5357, 1430, 62, 17319, 13, 22872, 34178, 705, 4, 6395, 4, 6, 5357, 1430, 62, 17319, 13, 17319, 62, 312, 796, 1781, 13, 17319, 62, 312, 5357, 1430, 13, 3672, 34178, 705, 4, 7902, 12, 43, 4090, 4, 6, 5357, 1430, 13, 23065, 62 ]
Which week starts on November 23, 1997?
SELECT week FROM table_name_55 WHERE date = "november 23, 1997"
[ 13828, 1285, 4940, 319, 3389, 2242, 11, 8309, 30, 46506, 1285, 16034, 3084, 62, 3672, 62, 2816, 33411, 3128, 796, 366, 77, 3239, 2242, 11, 8309, 1 ]
[ 1, 1, 1, 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, 4940, 319, 3389, 2242, 11, 8309, 30, 46506, 1285, 16034, 3084, 62, 3672, 62, 2816, 33411, 3128, 796, 366, 77, 3239, 2242, 11, 8309, 1 ]
count the number of patients whose diagnoses short title is bipol i cur depres nos and lab test fluid is ascites?
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 = "Bipol I cur depres NOS" AND lab.fluid = "Ascites"
[ 9127, 262, 1271, 286, 3871, 3025, 40567, 1790, 3670, 318, 14141, 349, 1312, 1090, 1207, 411, 43630, 290, 2248, 1332, 11711, 318, 10570, 2737, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312, 796, 40567, 13, 18108, 76, 62, 312, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108, 76, 62, 312, 796, 2248, 13, 18108, 76, 62, 312, 33411, 40567, 13, 19509, 62, 7839, 796, 366, 33, 541, 349, 314, 1090, 1207, 411, 399, 2640, 1, 5357, 2248, 13 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 9127, 262, 1271, 286, 3871, 3025, 40567, 1790, 3670, 318, 14141, 349, 1312, 1090, 1207, 411, 43630, 290, 2248, 1332, 11711, 318, 10570, 2737, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312, 796, 40567, 13, 18108, 76, 62, 312, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108, 76, 62, 312, 796, 2248, 13, 18108, 76, 62, 312, 33411, 40567, 13, 19509, 62, 7839, 796, 366, 33, 541, 349, 314, 1090, 1207, 411, 399, 2640, 1, 5357, 2248, 13 ]
What is the home team when the opposition is wairarapa bush?
SELECT "Home Team" FROM table_29082 WHERE "Opposition" = 'Wairarapa Bush'
[ 2061, 318, 262, 1363, 1074, 618, 262, 5471, 318, 266, 958, 283, 32678, 24484, 30, 46506, 366, 16060, 4816, 1, 16034, 3084, 62, 1959, 2919, 17, 33411, 366, 27524, 3507, 1, 796, 705, 54, 958, 283, 32678, 5511, 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, 1363, 1074, 618, 262, 5471, 318, 266, 958, 283, 32678, 24484, 30, 46506, 366, 16060, 4816, 1, 16034, 3084, 62, 1959, 2919, 17, 33411, 366, 27524, 3507, 1, 796, 705, 54, 958, 283, 32678, 5511, 6 ]
Draw a bar chart of investor versus the total number, I want to display by the bar in asc.
SELECT Investor, COUNT(*) FROM entrepreneur GROUP BY Investor ORDER BY Investor
[ 25302, 257, 2318, 8262, 286, 15811, 9051, 262, 2472, 1271, 11, 314, 765, 284, 3359, 416, 262, 2318, 287, 10570, 13, 46506, 47979, 11, 327, 28270, 7, 28104, 16034, 19500, 44441, 11050, 47979, 38678, 11050, 47979 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 25302, 257, 2318, 8262, 286, 15811, 9051, 262, 2472, 1271, 11, 314, 765, 284, 3359, 416, 262, 2318, 287, 10570, 13, 46506, 47979, 11, 327, 28270, 7, 28104, 16034, 19500, 44441, 11050, 47979, 38678, 11050, 47979 ]
what was the title of the first album released in 2011 ?
SELECT "title" FROM table_204_680 ORDER BY "released" LIMIT 1
[ 10919, 373, 262, 3670, 286, 262, 717, 5062, 2716, 287, 2813, 5633, 46506, 366, 7839, 1, 16034, 3084, 62, 18638, 62, 37397, 38678, 11050, 366, 30147, 1, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 373, 262, 3670, 286, 262, 717, 5062, 2716, 287, 2813, 5633, 46506, 366, 7839, 1, 16034, 3084, 62, 18638, 62, 37397, 38678, 11050, 366, 30147, 1, 27564, 2043, 352 ]
Which Owner has a Name / Format of 105.3 kool fm - hot adult contemporary?
SELECT owner FROM table_name_18 WHERE name___format = "105.3 kool fm - hot adult contemporary"
[ 13828, 23853, 468, 257, 6530, 1220, 18980, 286, 13343, 13, 18, 479, 970, 277, 76, 532, 3024, 4044, 11811, 30, 46506, 4870, 16034, 3084, 62, 3672, 62, 1507, 33411, 1438, 17569, 18982, 796, 366, 13348, 13, 18, 479, 970, 277, 76, 532, 3024, 4044, 11811, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 23853, 468, 257, 6530, 1220, 18980, 286, 13343, 13, 18, 479, 970, 277, 76, 532, 3024, 4044, 11811, 30, 46506, 4870, 16034, 3084, 62, 3672, 62, 1507, 33411, 1438, 17569, 18982, 796, 366, 13348, 13, 18, 479, 970, 277, 76, 532, 3024, 4044, 11811, 1 ]
Which Opponents in the final have a Date of june 10, 1996?
SELECT "Opponents in the final" FROM table_40761 WHERE "Date" = 'june 10, 1996'
[ 13828, 9385, 3906, 287, 262, 2457, 423, 257, 7536, 286, 474, 1726, 838, 11, 8235, 30, 46506, 366, 27524, 3906, 287, 262, 2457, 1, 16034, 3084, 62, 1821, 4304, 16, 33411, 366, 10430, 1, 796, 705, 73, 1726, 838, 11, 8235, 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 ]
[ 13828, 9385, 3906, 287, 262, 2457, 423, 257, 7536, 286, 474, 1726, 838, 11, 8235, 30, 46506, 366, 27524, 3906, 287, 262, 2457, 1, 16034, 3084, 62, 1821, 4304, 16, 33411, 366, 10430, 1, 796, 705, 73, 1726, 838, 11, 8235, 6 ]
How many companies without a gas station in each main industry? Draw a pie chart.
SELECT Main_Industry, COUNT(Main_Industry) FROM company WHERE NOT Company_ID IN (SELECT Company_ID FROM station_company) GROUP BY Main_Industry
[ 2437, 867, 2706, 1231, 257, 3623, 4429, 287, 1123, 1388, 2831, 30, 15315, 257, 2508, 8262, 13, 46506, 8774, 62, 35848, 563, 11, 327, 28270, 7, 13383, 62, 35848, 563, 8, 16034, 1664, 33411, 5626, 5834, 62, 2389, 3268, 357, 46506, 5834, 62, 2389, 16034, 4429, 62, 39722, 8, 44441, 11050, 8774, 62, 35848, 563 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2706, 1231, 257, 3623, 4429, 287, 1123, 1388, 2831, 30, 15315, 257, 2508, 8262, 13, 46506, 8774, 62, 35848, 563, 11, 327, 28270, 7, 13383, 62, 35848, 563, 8, 16034, 1664, 33411, 5626, 5834, 62, 2389, 3268, 357, 46506, 5834, 62, 2389, 16034, 4429, 62, 39722, 8, 44441, 11050, 8774, 62, 35848, 563 ]
on the current intensive care unit visit patient 030-80270 had a normal respiration?
SELECT COUNT(*) > 0 FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '030-80270') AND patient.unitdischargetime IS NULL) AND vitalperiodic.respiration BETWEEN respiration_lower AND respiration_upper AND NOT vitalperiodic.respiration IS NULL
[ 261, 262, 1459, 18590, 1337, 4326, 3187, 5827, 657, 1270, 12, 1795, 20233, 550, 257, 3487, 1217, 15297, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 9204, 41007, 291, 33411, 9204, 41007, 291, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 39101, 12, 1795, 20233, 11537, 5357, 5827, 13, 20850, 6381, 354, 7641, 524, 3180, 15697, 8, 5357, 9204, 41007, 291, 13 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 261, 262, 1459, 18590, 1337, 4326, 3187, 5827, 657, 1270, 12, 1795, 20233, 550, 257, 3487, 1217, 15297, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 9204, 41007, 291, 33411, 9204, 41007, 291, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 39101, 12, 1795, 20233, 11537, 5357, 5827, 13, 20850, 6381, 354, 7641, 524, 3180, 15697, 8, 5357, 9204, 41007, 291, 13 ]
count the number of dead patients who were diagnosed with noninf gastroenterit nec.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.expire_flag = "1" AND diagnoses.short_title = "Noninf gastroenterit NEC"
[ 9127, 262, 1271, 286, 2636, 3871, 508, 547, 14641, 351, 1729, 10745, 33131, 9255, 270, 27576, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312, 796, 40567, 13, 18108, 76, 62, 312, 33411, 16728, 13, 1069, 5111, 62, 32109, 796, 366, 16, 1, 5357, 40567, 13, 19509, 62, 7839, 796, 366, 15419, 10745, 33131, 9255, 270, 41804, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2636, 3871, 508, 547, 14641, 351, 1729, 10745, 33131, 9255, 270, 27576, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312, 796, 40567, 13, 18108, 76, 62, 312, 33411, 16728, 13, 1069, 5111, 62, 32109, 796, 366, 16, 1, 5357, 40567, 13, 19509, 62, 7839, 796, 366, 15419, 10745, 33131, 9255, 270, 41804, 1 ]
What is Height in Ft., when Years With Spurs is 1973-74?
SELECT height_in_ft FROM table_name_87 WHERE years_with_spurs = "1973-74"
[ 2061, 318, 27280, 287, 45231, 1539, 618, 13212, 2080, 18353, 318, 15674, 12, 4524, 30, 46506, 6001, 62, 259, 62, 701, 16034, 3084, 62, 3672, 62, 5774, 33411, 812, 62, 4480, 62, 2777, 1834, 796, 366, 40220, 12, 4524, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 27280, 287, 45231, 1539, 618, 13212, 2080, 18353, 318, 15674, 12, 4524, 30, 46506, 6001, 62, 259, 62, 701, 16034, 3084, 62, 3672, 62, 5774, 33411, 812, 62, 4480, 62, 2777, 1834, 796, 366, 40220, 12, 4524, 1 ]
how many days have it been since nystatin ointment was prescribed to patient 93078 for the first time in their current hospital visit?
SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', prescriptions.startdate)) FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 93078 AND admissions.dischtime IS NULL) AND prescriptions.drug = 'nystatin ointment' ORDER BY prescriptions.startdate LIMIT 1
[ 4919, 867, 1528, 423, 340, 587, 1201, 299, 88, 301, 10680, 267, 600, 434, 373, 14798, 284, 5827, 860, 1270, 3695, 329, 262, 717, 640, 287, 511, 1459, 4436, 3187, 30, 46506, 352, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694, 28955, 532, 19269, 9792, 12789, 10786, 4, 73, 3256, 34092, 13, 9688, 4475, 4008, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 860, 1270, 3695, 5357, 25349, 13, 6381, 354, 2435, 3180, 15697, 8, 5357 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 1528, 423, 340, 587, 1201, 299, 88, 301, 10680, 267, 600, 434, 373, 14798, 284, 5827, 860, 1270, 3695, 329, 262, 717, 640, 287, 511, 1459, 4436, 3187, 30, 46506, 352, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694, 28955, 532, 19269, 9792, 12789, 10786, 4, 73, 3256, 34092, 13, 9688, 4475, 4008, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 860, 1270, 3695, 5357, 25349, 13, 6381, 354, 2435, 3180, 15697, 8, 5357 ]
Which system is named mess?
SELECT "System" FROM table_55132 WHERE "Name" = 'mess'
[ 13828, 1080, 318, 3706, 2085, 30, 46506, 366, 11964, 1, 16034, 3084, 62, 2816, 19924, 33411, 366, 5376, 1, 796, 705, 37348, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 1080, 318, 3706, 2085, 30, 46506, 366, 11964, 1, 16034, 3084, 62, 2816, 19924, 33411, 366, 5376, 1, 796, 705, 37348, 6 ]
Name the 3rd place with winners of weymouth wildcats and 4th place of boston barracudas
SELECT "3rd place" FROM table_69694 WHERE "Winners" = 'weymouth wildcats' AND "4th place" = 'boston barracudas'
[ 5376, 262, 513, 4372, 1295, 351, 14591, 286, 356, 4948, 1536, 4295, 24619, 290, 604, 400, 1295, 286, 275, 5744, 2318, 11510, 463, 292, 46506, 366, 18, 4372, 1295, 1, 16034, 3084, 62, 3388, 45214, 33411, 366, 16643, 2741, 1, 796, 705, 732, 4948, 1536, 4295, 24619, 6, 5357, 366, 19, 400, 1295, 1, 796, 705, 65, 5744, 2318, 11510, 463, 292, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 513, 4372, 1295, 351, 14591, 286, 356, 4948, 1536, 4295, 24619, 290, 604, 400, 1295, 286, 275, 5744, 2318, 11510, 463, 292, 46506, 366, 18, 4372, 1295, 1, 16034, 3084, 62, 3388, 45214, 33411, 366, 16643, 2741, 1, 796, 705, 732, 4948, 1536, 4295, 24619, 6, 5357, 366, 19, 400, 1295, 1, 796, 705, 65, 5744, 2318, 11510, 463, 292, 6 ]
UpVote DownVote Year Voted Year Posted Total Count - Questions.
SELECT 'Questions' AS "post_type", vt.Name, YEAR(p.CreationDate) AS "post_year", YEAR(v.CreationDate) AS "vote_year", COUNT(v.Id) AS "total_count" FROM Votes AS v INNER JOIN VoteTypes AS vt ON v.VoteTypeId = vt.Id INNER JOIN Posts AS p ON v.PostId = p.Id WHERE p.PostTypeId = 1 AND p.DeletionDate IS NULL AND vt.Name IN ('UpMod', 'DownMod') AND p.AcceptedAnswerId IS NULL AND p.AnswerCount > 0 GROUP BY vt.Name, YEAR(p.CreationDate), YEAR(v.CreationDate)
[ 4933, 37394, 5588, 37394, 6280, 569, 5191, 6280, 12918, 7472, 2764, 532, 20396, 13, 46506, 705, 35741, 6, 7054, 366, 7353, 62, 4906, 1600, 410, 83, 13, 5376, 11, 32914, 7, 79, 13, 12443, 341, 10430, 8, 7054, 366, 7353, 62, 1941, 1600, 32914, 7, 85, 13, 12443, 341, 10430, 8, 7054, 366, 27257, 62, 1941, 1600, 327, 28270, 7, 85, 13, 7390, 8, 7054, 366, 23350, 62, 9127, 1, 16034, 39584, 7054, 410, 3268, 21479, 32357, 1268, 19175, 31431, 7054, 410, 83, 6177, 410, 13, 37394, 6030, 7390, 796, 410, 83, 13, 7390, 3268, 21479, 32357, 1268, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4933, 37394, 5588, 37394, 6280, 569, 5191, 6280, 12918, 7472, 2764, 532, 20396, 13, 46506, 705, 35741, 6, 7054, 366, 7353, 62, 4906, 1600, 410, 83, 13, 5376, 11, 32914, 7, 79, 13, 12443, 341, 10430, 8, 7054, 366, 7353, 62, 1941, 1600, 32914, 7, 85, 13, 12443, 341, 10430, 8, 7054, 366, 27257, 62, 1941, 1600, 327, 28270, 7, 85, 13, 7390, 8, 7054, 366, 23350, 62, 9127, 1, 16034, 39584, 7054, 410, 3268, 21479, 32357, 1268, 19175, 31431, 7054, 410, 83, 6177, 410, 13, 37394, 6030, 7390, 796, 410, 83, 13, 7390, 3268, 21479, 32357, 1268, 12043, 7054 ]
what was the highest five diagnosis, which had the highest three year mortality rate?
SELECT d_icd_diagnoses.short_title FROM d_icd_diagnoses WHERE d_icd_diagnoses.icd9_code IN (SELECT t4.icd9_code FROM (SELECT t3.icd9_code, DENSE_RANK() OVER (ORDER BY t3.c1 DESC) AS c2 FROM (SELECT t2.icd9_code, 100 - SUM(CASE WHEN patients.dod IS NULL THEN 1 WHEN STRFTIME('%j', patients.dod) - STRFTIME('%j', t2.charttime) > 3 * 365 THEN 1 ELSE 0 END) * 100 / COUNT(*) AS c1 FROM (SELECT t1.subject_id, t1.icd9_code, t1.charttime FROM (SELECT admissions.subject_id, diagnoses_icd.icd9_code, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id GROUP BY admissions.subject_id, diagnoses_icd.icd9_code HAVING MIN(diagnoses_icd.charttime) = diagnoses_icd.charttime) AS t1 WHERE STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', t1.charttime) > 3 * 365) AS t2 JOIN patients ON t2.subject_id = patients.subject_id GROUP BY t2.icd9_code) AS t3) AS t4 WHERE t4.c2 <= 5)
[ 10919, 373, 262, 4511, 1936, 13669, 11, 543, 550, 262, 4511, 1115, 614, 12430, 2494, 30, 46506, 288, 62, 291, 67, 62, 47356, 4629, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 47356, 4629, 33411, 288, 62, 291, 67, 62, 47356, 4629, 13, 291, 67, 24, 62, 8189, 3268, 357, 46506, 256, 19, 13, 291, 67, 24, 62, 8189, 16034, 357, 46506, 256, 18, 13, 291, 67, 24, 62, 8189, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 256, 18, 13, 66, 16, 22196, 34, 8, 7054, 269, 17, 16034, 357, 46506, 256, 17 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4511, 1936, 13669, 11, 543, 550, 262, 4511, 1115, 614, 12430, 2494, 30, 46506, 288, 62, 291, 67, 62, 47356, 4629, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 47356, 4629, 33411, 288, 62, 291, 67, 62, 47356, 4629, 13, 291, 67, 24, 62, 8189, 3268, 357, 46506, 256, 19, 13, 291, 67, 24, 62, 8189, 16034, 357, 46506, 256, 18, 13, 291, 67, 24, 62, 8189, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 256, 18, 13, 66, 16, 22196, 34, 8, 7054, 269, 17, 16034, 357, 46506, 256, 17 ]
What was the high points when rebounds were Terrence Williams (8)?
SELECT "High points" FROM table_25486 WHERE "High rebounds" = 'Terrence Williams (8)'
[ 2061, 373, 262, 1029, 2173, 618, 18841, 547, 3813, 6784, 6484, 357, 23, 19427, 46506, 366, 11922, 2173, 1, 16034, 3084, 62, 1495, 34251, 33411, 366, 11922, 18841, 1, 796, 705, 15156, 6784, 6484, 357, 23, 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 ]
[ 2061, 373, 262, 1029, 2173, 618, 18841, 547, 3813, 6784, 6484, 357, 23, 19427, 46506, 366, 11922, 2173, 1, 16034, 3084, 62, 1495, 34251, 33411, 366, 11922, 18841, 1, 796, 705, 15156, 6784, 6484, 357, 23, 33047 ]
What county has a CERCLIS ID of scd037405362?
SELECT county FROM table_name_64 WHERE cerclis_id = "scd037405362"
[ 2061, 7968, 468, 257, 327, 1137, 5097, 1797, 4522, 286, 629, 67, 15, 2718, 26598, 35667, 30, 46506, 7968, 16034, 3084, 62, 3672, 62, 2414, 33411, 26074, 565, 271, 62, 312, 796, 366, 1416, 67, 15, 2718, 26598, 35667, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7968, 468, 257, 327, 1137, 5097, 1797, 4522, 286, 629, 67, 15, 2718, 26598, 35667, 30, 46506, 7968, 16034, 3084, 62, 3672, 62, 2414, 33411, 26074, 565, 271, 62, 312, 796, 366, 1416, 67, 15, 2718, 26598, 35667, 1 ]
Name the falcons points for record of 3-2
SELECT falcons_points FROM table_16710829_2 WHERE record = "3-2"
[ 5376, 262, 24215, 5936, 2173, 329, 1700, 286, 513, 12, 17, 46506, 24215, 5936, 62, 13033, 16034, 3084, 62, 21940, 15711, 1959, 62, 17, 33411, 1700, 796, 366, 18, 12, 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 ]
[ 5376, 262, 24215, 5936, 2173, 329, 1700, 286, 513, 12, 17, 46506, 24215, 5936, 62, 13033, 16034, 3084, 62, 21940, 15711, 1959, 62, 17, 33411, 1700, 796, 366, 18, 12, 17, 1 ]
okay what i'd like to do on this one is go from WASHINGTON to ATLANTA i want a nonstop and i'd like to leave around 5pm
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 (((flight.departure_time <= 1730 AND flight.departure_time >= 1630) AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'ATLANTA' AND flight.to_airport = AIRPORT_SERVICE_1.airport_code) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'WASHINGTON' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code) AND flight.stops = 0
[ 482, 323, 644, 1312, 1549, 588, 284, 466, 319, 428, 530, 318, 467, 422, 370, 19436, 284, 5161, 25697, 5603, 1312, 765, 257, 1729, 11338, 290, 1312, 1549, 588, 284, 2666, 1088, 642, 4426, 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, 62, 16, 11, 1748, 7054, 27993, 62, 15, 11, 1748, 7054, 27993, 62, 16, 11, 5474, 33411, 14808, 7, 22560, 13, 10378, 433, 495, 62, 2435, 19841, 1596, 1270, 5357, 5474, 13, 10378, 433 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 482, 323, 644, 1312, 1549, 588, 284, 466, 319, 428, 530, 318, 467, 422, 370, 19436, 284, 5161, 25697, 5603, 1312, 765, 257, 1729, 11338, 290, 1312, 1549, 588, 284, 2666, 1088, 642, 4426, 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, 62, 16, 11, 1748, 7054, 27993, 62, 15, 11, 1748, 7054, 27993, 62, 16, 11, 5474, 33411, 14808, 7, 22560, 13, 10378, 433, 495, 62, 2435, 19841, 1596, 1270, 5357, 5474, 13, 10378, 433 ]
What was the record on July 1?
SELECT "Record" FROM table_35580 WHERE "Date" = 'july 1'
[ 2061, 373, 262, 1700, 319, 2901, 352, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 28567, 1795, 33411, 366, 10430, 1, 796, 705, 73, 2062, 352, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 1700, 319, 2901, 352, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 28567, 1795, 33411, 366, 10430, 1, 796, 705, 73, 2062, 352, 6 ]
What is the location of the fight against Zaza Tkeshelashvili?
SELECT "Location" FROM table_9569 WHERE "Opponent" = 'zaza tkeshelashvili'
[ 2061, 318, 262, 4067, 286, 262, 1907, 1028, 1168, 7056, 309, 5209, 2978, 1077, 85, 2403, 30, 46506, 366, 14749, 1, 16034, 3084, 62, 3865, 3388, 33411, 366, 27524, 3471, 1, 796, 705, 89, 7056, 256, 5209, 2978, 1077, 85, 2403, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4067, 286, 262, 1907, 1028, 1168, 7056, 309, 5209, 2978, 1077, 85, 2403, 30, 46506, 366, 14749, 1, 16034, 3084, 62, 3865, 3388, 33411, 366, 27524, 3471, 1, 796, 705, 89, 7056, 256, 5209, 2978, 1077, 85, 2403, 6 ]
what's the current club with player being felipe reyes
SELECT current_club FROM table_12962773_5 WHERE player = "Felipe Reyes"
[ 10919, 338, 262, 1459, 3430, 351, 2137, 852, 10756, 3757, 302, 8505, 46506, 1459, 62, 18664, 16034, 3084, 62, 1065, 4846, 1983, 4790, 62, 20, 33411, 2137, 796, 366, 42493, 3757, 40599, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 338, 262, 1459, 3430, 351, 2137, 852, 10756, 3757, 302, 8505, 46506, 1459, 62, 18664, 16034, 3084, 62, 1065, 4846, 1983, 4790, 62, 20, 33411, 2137, 796, 366, 42493, 3757, 40599, 1 ]
Tell me the team 1 for team 2 being civitavecchiese (latium a)
SELECT "Team 1" FROM table_52454 WHERE "Team 2" = 'civitavecchiese (latium a)'
[ 24446, 502, 262, 1074, 352, 329, 1074, 362, 852, 36317, 270, 1015, 66, 354, 444, 68, 357, 15460, 1505, 257, 8, 46506, 366, 15592, 352, 1, 16034, 3084, 62, 48057, 4051, 33411, 366, 15592, 362, 1, 796, 705, 66, 452, 270, 1015, 66, 354, 444, 68, 357, 15460, 1505, 257, 33047 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 24446, 502, 262, 1074, 352, 329, 1074, 362, 852, 36317, 270, 1015, 66, 354, 444, 68, 357, 15460, 1505, 257, 8, 46506, 366, 15592, 352, 1, 16034, 3084, 62, 48057, 4051, 33411, 366, 15592, 362, 1, 796, 705, 66, 452, 270, 1015, 66, 354, 444, 68, 357, 15460, 1505, 257, 33047 ]
If the country is fenghuang how many provinces are there?
SELECT COUNT(province) FROM table_152834_2 WHERE county = "Fenghuang"
[ 1532, 262, 1499, 318, 277, 268, 456, 84, 648, 703, 867, 17812, 389, 612, 30, 46506, 327, 28270, 7, 15234, 924, 8, 16034, 3084, 62, 1314, 2078, 2682, 62, 17, 33411, 7968, 796, 366, 37, 268, 456, 84, 648, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1532, 262, 1499, 318, 277, 268, 456, 84, 648, 703, 867, 17812, 389, 612, 30, 46506, 327, 28270, 7, 15234, 924, 8, 16034, 3084, 62, 1314, 2078, 2682, 62, 17, 33411, 7968, 796, 366, 37, 268, 456, 84, 648, 1 ]
How many teams won $2,089,556?
SELECT COUNT("Wins") FROM table_22932 WHERE "Winnings" = '$2,089,556'
[ 2437, 867, 3466, 1839, 720, 17, 11, 49352, 11, 37864, 30, 46506, 327, 28270, 7203, 54, 1040, 4943, 16034, 3084, 62, 23539, 2624, 33411, 366, 54, 3732, 654, 1, 796, 705, 3, 17, 11, 49352, 11, 37864, 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 ]
[ 2437, 867, 3466, 1839, 720, 17, 11, 49352, 11, 37864, 30, 46506, 327, 28270, 7203, 54, 1040, 4943, 16034, 3084, 62, 23539, 2624, 33411, 366, 54, 3732, 654, 1, 796, 705, 3, 17, 11, 49352, 11, 37864, 6 ]
What was the result of the election for georgia's 3rd district?
SELECT result FROM table_27487712_1 WHERE district = "Georgia's 3rd"
[ 2061, 373, 262, 1255, 286, 262, 3071, 329, 4903, 2398, 544, 338, 513, 4372, 4783, 30, 46506, 1255, 16034, 3084, 62, 1983, 2780, 3324, 1065, 62, 16, 33411, 4783, 796, 366, 41072, 338, 513, 4372, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3071, 329, 4903, 2398, 544, 338, 513, 4372, 4783, 30, 46506, 1255, 16034, 3084, 62, 1983, 2780, 3324, 1065, 62, 16, 33411, 4783, 796, 366, 41072, 338, 513, 4372, 1 ]
give me the number of patients whose admission year is less than 2123 and lab test category is blood gas?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admityear < "2123" AND lab."CATEGORY" = "Blood Gas"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 13938, 614, 318, 1342, 621, 362, 10163, 290, 2248, 1332, 6536, 318, 2910, 3623, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108, 76, 62, 312, 796, 2248, 13, 18108, 76, 62, 312, 33411, 16728, 13, 324, 76, 414, 451, 1279, 366, 17, 10163, 1, 5357, 2248, 526, 34, 6158, 38, 15513, 1, 796, 366, 21659, 14345, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13938, 614, 318, 1342, 621, 362, 10163, 290, 2248, 1332, 6536, 318, 2910, 3623, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108, 76, 62, 312, 796, 2248, 13, 18108, 76, 62, 312, 33411, 16728, 13, 324, 76, 414, 451, 1279, 366, 17, 10163, 1, 5357, 2248, 526, 34, 6158, 38, 15513, 1, 796, 366, 21659, 14345, 1 ]
Which Pos has a Car # smaller than 18, and a Driver of mike skinner?
SELECT AVG("Pos.") FROM table_39528 WHERE "Car #" < '18' AND "Driver" = 'mike skinner'
[ 13828, 18574, 468, 257, 1879, 1303, 4833, 621, 1248, 11, 290, 257, 12434, 286, 285, 522, 4168, 1008, 30, 46506, 35224, 7203, 21604, 19570, 16034, 3084, 62, 31010, 2078, 33411, 366, 9914, 1303, 1, 1279, 705, 1507, 6, 5357, 366, 32103, 1, 796, 705, 76, 522, 4168, 1008, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 18574, 468, 257, 1879, 1303, 4833, 621, 1248, 11, 290, 257, 12434, 286, 285, 522, 4168, 1008, 30, 46506, 35224, 7203, 21604, 19570, 16034, 3084, 62, 31010, 2078, 33411, 366, 9914, 1303, 1, 1279, 705, 1507, 6, 5357, 366, 32103, 1, 796, 705, 76, 522, 4168, 1008, 6 ]
For the provider that costs 266 sar, what is the Bandwidth Included?
SELECT bandwidth_included FROM table_name_66 WHERE price = "266 sar"
[ 1890, 262, 10131, 326, 3484, 37737, 29008, 11, 644, 318, 262, 10243, 10394, 34774, 30, 46506, 19484, 62, 259, 10341, 16034, 3084, 62, 3672, 62, 2791, 33411, 2756, 796, 366, 25540, 29008, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10131, 326, 3484, 37737, 29008, 11, 644, 318, 262, 10243, 10394, 34774, 30, 46506, 19484, 62, 259, 10341, 16034, 3084, 62, 3672, 62, 2791, 33411, 2756, 796, 366, 25540, 29008, 1 ]
Count the number of customers who do not have an account.
SELECT COUNT(*) FROM customers WHERE NOT customer_id IN (SELECT customer_id FROM accounts)
[ 12332, 262, 1271, 286, 4297, 508, 466, 407, 423, 281, 1848, 13, 46506, 327, 28270, 7, 28104, 16034, 4297, 33411, 5626, 6491, 62, 312, 3268, 357, 46506, 6491, 62, 312, 16034, 5504, 8 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 12332, 262, 1271, 286, 4297, 508, 466, 407, 423, 281, 1848, 13, 46506, 327, 28270, 7, 28104, 16034, 4297, 33411, 5626, 6491, 62, 312, 3268, 357, 46506, 6491, 62, 312, 16034, 5504, 8 ]
Name the dar for mtv rocks
SELECT dar FROM table_15887683_10 WHERE television_service = "MTV Rocks"
[ 5376, 262, 288, 283, 329, 285, 14981, 12586, 46506, 288, 283, 16034, 3084, 62, 1314, 3459, 30610, 18, 62, 940, 33411, 5581, 62, 15271, 796, 366, 44, 6849, 34243, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 288, 283, 329, 285, 14981, 12586, 46506, 288, 283, 16034, 3084, 62, 1314, 3459, 30610, 18, 62, 940, 33411, 5581, 62, 15271, 796, 366, 44, 6849, 34243, 1 ]
What is the frequency for the station with the branding of 94dot3 home radio Palawan?
SELECT frequency FROM table_name_74 WHERE branding = "94dot3 home radio palawan"
[ 2061, 318, 262, 8373, 329, 262, 4429, 351, 262, 24150, 286, 10048, 26518, 18, 1363, 5243, 3175, 43004, 30, 46506, 8373, 16034, 3084, 62, 3672, 62, 4524, 33411, 24150, 796, 366, 5824, 26518, 18, 1363, 5243, 6340, 43004, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8373, 329, 262, 4429, 351, 262, 24150, 286, 10048, 26518, 18, 1363, 5243, 3175, 43004, 30, 46506, 8373, 16034, 3084, 62, 3672, 62, 4524, 33411, 24150, 796, 366, 5824, 26518, 18, 1363, 5243, 6340, 43004, 1 ]
What is the score for Ky Laffoon?
SELECT score FROM table_name_22 WHERE player = "ky laffoon"
[ 2061, 318, 262, 4776, 329, 11118, 406, 2001, 2049, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 1828, 33411, 2137, 796, 366, 2584, 300, 2001, 2049, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4776, 329, 11118, 406, 2001, 2049, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 1828, 33411, 2137, 796, 366, 2584, 300, 2001, 2049, 1 ]
What label has cd single as the format?
SELECT "Label" FROM table_5240 WHERE "Format" = 'cd single'
[ 2061, 6167, 468, 22927, 2060, 355, 262, 5794, 30, 46506, 366, 33986, 1, 16034, 3084, 62, 20, 16102, 33411, 366, 26227, 1, 796, 705, 10210, 2060, 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 ]
[ 2061, 6167, 468, 22927, 2060, 355, 262, 5794, 30, 46506, 366, 33986, 1, 16034, 3084, 62, 20, 16102, 33411, 366, 26227, 1, 796, 705, 10210, 2060, 6 ]
Show the number of cards in different card type code in a bar chart, show y axis in descending order.
SELECT card_type_code, COUNT(card_type_code) FROM Customers_Cards GROUP BY card_type_code ORDER BY COUNT(card_type_code) DESC
[ 15307, 262, 1271, 286, 4116, 287, 1180, 2657, 2099, 2438, 287, 257, 2318, 8262, 11, 905, 331, 16488, 287, 31491, 1502, 13, 46506, 2657, 62, 4906, 62, 8189, 11, 327, 28270, 7, 9517, 62, 4906, 62, 8189, 8, 16034, 36707, 62, 34, 1371, 44441, 11050, 2657, 62, 4906, 62, 8189, 38678, 11050, 327, 28270, 7, 9517, 62, 4906, 62, 8189, 8, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 262, 1271, 286, 4116, 287, 1180, 2657, 2099, 2438, 287, 257, 2318, 8262, 11, 905, 331, 16488, 287, 31491, 1502, 13, 46506, 2657, 62, 4906, 62, 8189, 11, 327, 28270, 7, 9517, 62, 4906, 62, 8189, 8, 16034, 36707, 62, 34, 1371, 44441, 11050, 2657, 62, 4906, 62, 8189, 38678, 11050, 327, 28270, 7, 9517, 62, 4906, 62, 8189, 8, 22196, 34 ]
how many patients whose insurance is private and days of hospital stay is greater than 10?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.insurance = "Private" AND demographic.days_stay > "10"
[ 4919, 867, 3871, 3025, 5096, 318, 2839, 290, 1528, 286, 4436, 2652, 318, 3744, 621, 838, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 1040, 3874, 796, 366, 29067, 1, 5357, 16728, 13, 12545, 62, 31712, 1875, 366, 940, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 3871, 3025, 5096, 318, 2839, 290, 1528, 286, 4436, 2652, 318, 3744, 621, 838, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 1040, 3874, 796, 366, 29067, 1, 5357, 16728, 13, 12545, 62, 31712, 1875, 366, 940, 1 ]
What is the name where the license number is PL 22?
SELECT "Name (year commissioned)" FROM table_59732 WHERE "Licence number" = 'pl 22'
[ 2061, 318, 262, 1438, 810, 262, 5964, 1271, 318, 9297, 2534, 30, 46506, 366, 5376, 357, 1941, 20462, 16725, 16034, 3084, 62, 43239, 2624, 33411, 366, 26656, 594, 1271, 1, 796, 705, 489, 2534, 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, 318, 262, 1438, 810, 262, 5964, 1271, 318, 9297, 2534, 30, 46506, 366, 5376, 357, 1941, 20462, 16725, 16034, 3084, 62, 43239, 2624, 33411, 366, 26656, 594, 1271, 1, 796, 705, 489, 2534, 6 ]
since 09/2104, has there been any organism found in patient 025-28600's last sputum, tracheal specimen microbiology test?
SELECT COUNT(*) > 0 FROM microlab WHERE microlab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '025-28600')) AND microlab.culturesite = 'sputum, tracheal specimen' AND STRFTIME('%y-%m', microlab.culturetakentime) >= '2104-09' ORDER BY microlab.culturetakentime DESC LIMIT 1
[ 20777, 7769, 14, 17, 13464, 11, 468, 612, 587, 597, 26433, 1043, 287, 5827, 657, 1495, 12, 2078, 8054, 338, 938, 599, 315, 388, 11, 491, 4891, 282, 31674, 24559, 1435, 1332, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 4580, 23912, 33411, 4580, 23912, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 36629, 12, 2078, 8054, 6, 4008, 5357, 4580, 23912 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7769, 14, 17, 13464, 11, 468, 612, 587, 597, 26433, 1043, 287, 5827, 657, 1495, 12, 2078, 8054, 338, 938, 599, 315, 388, 11, 491, 4891, 282, 31674, 24559, 1435, 1332, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 4580, 23912, 33411, 4580, 23912, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 36629, 12, 2078, 8054, 6, 4008, 5357, 4580, 23912 ]
What country scored 66-65-66-72=269?
SELECT country FROM table_name_2 WHERE score = 66 - 65 - 66 - 72 = 269
[ 2061, 1499, 7781, 7930, 12, 2996, 12, 2791, 12, 4761, 28, 26276, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 17, 33411, 4776, 796, 7930, 532, 6135, 532, 7930, 532, 7724, 796, 38249 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1499, 7781, 7930, 12, 2996, 12, 2791, 12, 4761, 28, 26276, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 17, 33411, 4776, 796, 7930, 532, 6135, 532, 7930, 532, 7724, 796, 38249 ]
when was patient 51858 last prescribed for a medication since 12/2105?
SELECT prescriptions.startdate FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 51858) AND STRFTIME('%y-%m', prescriptions.startdate) >= '2105-12' ORDER BY prescriptions.startdate DESC LIMIT 1
[ 12518, 373, 5827, 642, 1507, 3365, 938, 14798, 329, 257, 14103, 1201, 1105, 14, 17, 13348, 30, 46506, 34092, 13, 9688, 4475, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 642, 1507, 3365, 8, 5357, 19269, 9792, 12789, 10786, 4, 88, 12, 4, 76, 3256, 34092, 13, 9688, 4475, 8, 18189, 705, 17, 13348, 12, 1065, 6, 38678, 11050, 34092, 13, 9688, 4475, 22196, 34, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 12518, 373, 5827, 642, 1507, 3365, 938, 14798, 329, 257, 14103, 1201, 1105, 14, 17, 13348, 30, 46506, 34092, 13, 9688, 4475, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 642, 1507, 3365, 8, 5357, 19269, 9792, 12789, 10786, 4, 88, 12, 4, 76, 3256, 34092, 13, 9688, 4475, 8, 18189, 705, 17, 13348, 12, 1065, 6, 38678, 11050, 34092, 13, 9688, 4475, 22196, 34, 27564, 2043, 352 ]
how many patients whose admission type is urgent and year of birth is less than 2074?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_type = "URGENT" AND demographic.dob_year < "2074"
[ 4919, 867, 3871, 3025, 13938, 2099, 318, 18039, 290, 614, 286, 4082, 318, 1342, 621, 1160, 4524, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, 4906, 796, 366, 4261, 38, 3525, 1, 5357, 16728, 13, 67, 672, 62, 1941, 1279, 366, 1238, 4524, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 3871, 3025, 13938, 2099, 318, 18039, 290, 614, 286, 4082, 318, 1342, 621, 1160, 4524, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, 4906, 796, 366, 4261, 38, 3525, 1, 5357, 16728, 13, 67, 672, 62, 1941, 1279, 366, 1238, 4524, 1 ]
Which headquarters are associated with the school board Renfrew County Catholic District School Board?
SELECT "Headquarters" FROM table_1175 WHERE "School Board" = 'Renfrew County Catholic District School Board'
[ 13828, 10043, 389, 3917, 351, 262, 1524, 3096, 7152, 69, 1809, 3418, 7835, 5665, 3961, 5926, 30, 46506, 366, 13847, 8230, 1, 16034, 3084, 62, 1157, 2425, 33411, 366, 26130, 5926, 1, 796, 705, 26764, 69, 1809, 3418, 7835, 5665, 3961, 5926, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 10043, 389, 3917, 351, 262, 1524, 3096, 7152, 69, 1809, 3418, 7835, 5665, 3961, 5926, 30, 46506, 366, 13847, 8230, 1, 16034, 3084, 62, 1157, 2425, 33411, 366, 26130, 5926, 1, 796, 705, 26764, 69, 1809, 3418, 7835, 5665, 3961, 5926, 6 ]
Name the school/club for guard
SELECT "School/Club Team" FROM table_20096 WHERE "Position" = 'Guard'
[ 5376, 262, 1524, 14, 18664, 329, 4860, 46506, 366, 26130, 14, 42350, 4816, 1, 16034, 3084, 62, 2167, 4846, 33411, 366, 26545, 1, 796, 705, 24502, 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, 1524, 14, 18664, 329, 4860, 46506, 366, 26130, 14, 42350, 4816, 1, 16034, 3084, 62, 2167, 4846, 33411, 366, 26545, 1, 796, 705, 24502, 6 ]
what is patient 55281's first urine out foley output time on the current intensive care unit visit?
SELECT outputevents.charttime FROM outputevents WHERE outputevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 55281) AND icustays.outtime IS NULL) AND outputevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'urine out foley' AND d_items.linksto = 'outputevents') ORDER BY outputevents.charttime LIMIT 1
[ 10919, 318, 5827, 5996, 30368, 338, 717, 18922, 503, 11511, 1636, 5072, 640, 319, 262, 1459, 18590, 1337, 4326, 3187, 30, 46506, 38701, 1133, 85, 658, 13, 40926, 2435, 16034, 38701, 1133, 85, 658, 33411, 38701, 1133, 85, 658, 13, 291, 436, 323, 62, 312, 3268, 357, 46506, 14158, 436, 592, 13, 291, 436, 323, 62, 312, 16034, 14158, 436, 592, 33411, 14158, 436, 592, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 5996, 30368, 8, 5357, 14158, 436, 592, 13, 448, 2435, 3180, 15697 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5827, 5996, 30368, 338, 717, 18922, 503, 11511, 1636, 5072, 640, 319, 262, 1459, 18590, 1337, 4326, 3187, 30, 46506, 38701, 1133, 85, 658, 13, 40926, 2435, 16034, 38701, 1133, 85, 658, 33411, 38701, 1133, 85, 658, 13, 291, 436, 323, 62, 312, 3268, 357, 46506, 14158, 436, 592, 13, 291, 436, 323, 62, 312, 16034, 14158, 436, 592, 33411, 14158, 436, 592, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 5996, 30368, 8, 5357, 14158, 436, 592, 13, 448, 2435, 3180, 15697 ]
What's the genre of Fever Ranma : Hot Springs Athletic Chapter?
SELECT "Genre" FROM table_552 WHERE "English Title/Translation" = 'Fever Ranma ½: Hot Springs Athletic Chapter'
[ 2061, 338, 262, 12121, 286, 41951, 23075, 2611, 1058, 6964, 18334, 29007, 7006, 30, 46506, 366, 13746, 260, 1, 16034, 3084, 62, 40427, 33411, 366, 15823, 11851, 14, 48313, 1, 796, 705, 37, 964, 23075, 2611, 25208, 25, 6964, 18334, 29007, 7006, 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 ]
[ 2061, 338, 262, 12121, 286, 41951, 23075, 2611, 1058, 6964, 18334, 29007, 7006, 30, 46506, 366, 13746, 260, 1, 16034, 3084, 62, 40427, 33411, 366, 15823, 11851, 14, 48313, 1, 796, 705, 37, 964, 23075, 2611, 25208, 25, 6964, 18334, 29007, 7006, 6 ]
What is the lest amount of bronzes that ranked 2 and has less silvers than 0?
SELECT MIN("Bronze") FROM table_45287 WHERE "Rank" = '2' AND "Silver" < '0'
[ 2061, 318, 262, 27380, 2033, 286, 18443, 12271, 326, 10307, 362, 290, 468, 1342, 3313, 690, 621, 657, 30, 46506, 20625, 7203, 18760, 2736, 4943, 16034, 3084, 62, 2231, 27800, 33411, 366, 27520, 1, 796, 705, 17, 6, 5357, 366, 26766, 1, 1279, 705, 15, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 27380, 2033, 286, 18443, 12271, 326, 10307, 362, 290, 468, 1342, 3313, 690, 621, 657, 30, 46506, 20625, 7203, 18760, 2736, 4943, 16034, 3084, 62, 2231, 27800, 33411, 366, 27520, 1, 796, 705, 17, 6, 5357, 366, 26766, 1, 1279, 705, 15, 6 ]
what is the number of patients whose gender is m and ethnicity is american indian/alaska native?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.gender = "M" AND demographic.ethnicity = "AMERICAN INDIAN/ALASKA NATIVE"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 5279, 318, 285, 290, 26289, 318, 45630, 272, 773, 666, 14, 282, 8480, 6868, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 8388, 796, 366, 44, 1, 5357, 16728, 13, 38546, 414, 796, 366, 2390, 1137, 42710, 24413, 16868, 14, 1847, 1921, 25123, 10149, 9306, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5279, 318, 285, 290, 26289, 318, 45630, 272, 773, 666, 14, 282, 8480, 6868, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 8388, 796, 366, 44, 1, 5357, 16728, 13, 38546, 414, 796, 366, 2390, 1137, 42710, 24413, 16868, 14, 1847, 1921, 25123, 10149, 9306, 1 ]
What did st kilda score at home?
SELECT "Home team score" FROM table_52951 WHERE "Home team" = 'st kilda'
[ 2061, 750, 336, 479, 27281, 4776, 379, 1363, 30, 46506, 366, 16060, 1074, 4776, 1, 16034, 3084, 62, 49721, 4349, 33411, 366, 16060, 1074, 1, 796, 705, 301, 479, 27281, 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, 750, 336, 479, 27281, 4776, 379, 1363, 30, 46506, 366, 16060, 1074, 4776, 1, 16034, 3084, 62, 49721, 4349, 33411, 366, 16060, 1074, 1, 796, 705, 301, 479, 27281, 6 ]
Who is the opponent in the final of the Tournament of Blenheim?
SELECT "Opponent in the final" FROM table_57807 WHERE "Tournament" = 'blenheim'
[ 8241, 318, 262, 6125, 287, 262, 2457, 286, 262, 9595, 286, 1086, 268, 9096, 30, 46506, 366, 27524, 3471, 287, 262, 2457, 1, 16034, 3084, 62, 3553, 36928, 33411, 366, 51, 5138, 1, 796, 705, 2436, 268, 9096, 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 ]
[ 8241, 318, 262, 6125, 287, 262, 2457, 286, 262, 9595, 286, 1086, 268, 9096, 30, 46506, 366, 27524, 3471, 287, 262, 2457, 1, 16034, 3084, 62, 3553, 36928, 33411, 366, 51, 5138, 1, 796, 705, 2436, 268, 9096, 6 ]
In which district is James O'Connor the incumbent?
SELECT "District" FROM table_18689 WHERE "Incumbent" = 'James O''Connor'
[ 818, 543, 4783, 318, 3700, 440, 6, 27136, 262, 23526, 30, 46506, 366, 44857, 1, 16034, 3084, 62, 1507, 40523, 33411, 366, 25517, 2178, 298, 1, 796, 705, 14731, 440, 7061, 27136, 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 ]
[ 818, 543, 4783, 318, 3700, 440, 6, 27136, 262, 23526, 30, 46506, 366, 44857, 1, 16034, 3084, 62, 1507, 40523, 33411, 366, 25517, 2178, 298, 1, 796, 705, 14731, 440, 7061, 27136, 6 ]