instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
count the amount of intensive care unit visits of patient 65309 during the last year.
SELECT COUNT(DISTINCT icustays.icustay_id) FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 65309) AND DATETIME(icustays.intime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year')
[ 9127, 262, 2033, 286, 18590, 1337, 4326, 11864, 286, 5827, 6135, 26895, 1141, 262, 938, 614, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 14158, 436, 592, 13, 291, 436, 323, 62, 312, 8, 16034, 14158, 436, 592, 33411, 14158, 436, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2033, 286, 18590, 1337, 4326, 11864, 286, 5827, 6135, 26895, 1141, 262, 938, 614, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 14158, 436, 592, 13, 291, 436, 323, 62, 312, 8, 16034, 14158, 436, 592, 33411, 14158, 436, ...
What was the opponent of the home team of essendon?
SELECT away_team FROM table_name_47 WHERE home_team = "essendon"
[ 2061, 373, 262, 6125, 286, 262, 1363, 1074, 286, 3209, 43153, 30, 46506, 1497, 62, 15097, 16034, 3084, 62, 3672, 62, 2857, 33411, 1363, 62, 15097, 796, 366, 408, 43153, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 6125, 286, 262, 1363, 1074, 286, 3209, 43153, 30, 46506, 1497, 62, 15097, 16034, 3084, 62, 3672, 62, 2857, 33411, 1363, 62, 15097, 796, 366, 408, 43153, 1 ]
What is the total number of Built, when Floors is less than 22, when Rank is less than 8, and when Name is White, Mediacityuk?
SELECT COUNT(built) FROM table_name_55 WHERE floors < 22 AND rank < 8 AND name = "white, mediacityuk"
[ 2061, 318, 262, 2472, 1271, 286, 28477, 11, 618, 29075, 669, 318, 1342, 621, 2534, 11, 618, 10916, 318, 1342, 621, 807, 11, 290, 618, 6530, 318, 2635, 11, 2019, 72, 4355, 2724, 30, 46506, 327, 28270, 7, 18780, 8, 16034, 3084, 62, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 318, 262, 2472, 1271, 286, 28477, 11, 618, 29075, 669, 318, 1342, 621, 2534, 11, 618, 10916, 318, 1342, 621, 807, 11, 290, 618, 6530, 318, 2635, 11, 2019, 72, 4355, 2724, 30, 46506, 327, 28270, 7, 18780, 8, 16034, 3084, 62, ...
show me the afternoon flights from WASHINGTON to BOSTON
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE (CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'WASHINGTON' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'BO...
[ 12860, 502, 262, 6672, 13956, 422, 370, 19436, 284, 347, 10892, 1340, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15490,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12860, 502, 262, 6672, 13956, 422, 370, 19436, 284, 347, 10892, 1340, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15490,...
Show the name of each county along with the corresponding number of delegates from that county with a bar chart, sort x axis in desc order.
SELECT County_name, COUNT(*) FROM county AS T1 JOIN election AS T2 ON T1.County_Id = T2.District GROUP BY T1.County_Id ORDER BY County_name DESC
[ 15307, 262, 1438, 286, 1123, 7968, 1863, 351, 262, 11188, 1271, 286, 15265, 422, 326, 7968, 351, 257, 2318, 8262, 11, 3297, 2124, 16488, 287, 1715, 1502, 13, 46506, 3418, 62, 3672, 11, 327, 28270, 7, 28104, 16034, 7968, 7054, 309, 16,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 15307, 262, 1438, 286, 1123, 7968, 1863, 351, 262, 11188, 1271, 286, 15265, 422, 326, 7968, 351, 257, 2318, 8262, 11, 3297, 2124, 16488, 287, 1715, 1502, 13, 46506, 3418, 62, 3672, 11, 327, 28270, 7, 28104, 16034, 7968, 7054, 309, 16,...
Find your comments with score of 5 or more.
SELECT Score, CreationDate AS "Posted", Id AS "comment_link" FROM Comments WHERE Score >= 5 AND UserId = @UserId
[ 16742, 534, 3651, 351, 4776, 286, 642, 393, 517, 13, 46506, 15178, 11, 21582, 10430, 7054, 366, 14231, 1600, 5121, 7054, 366, 23893, 62, 8726, 1, 16034, 19502, 33411, 15178, 18189, 642, 5357, 11787, 7390, 796, 2488, 12982, 7390 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16742, 534, 3651, 351, 4776, 286, 642, 393, 517, 13, 46506, 15178, 11, 21582, 10430, 7054, 366, 14231, 1600, 5121, 7054, 366, 23893, 62, 8726, 1, 16034, 19502, 33411, 15178, 18189, 642, 5357, 11787, 7390, 796, 2488, 12982, 7390 ]
until 4 years ago patient 78221 was diagnosed with any diagnosis?
SELECT COUNT(*) > 0 FROM diagnoses_icd WHERE diagnoses_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 78221) AND DATETIME(diagnoses_icd.charttime) <= DATETIME(CURRENT_TIME(), '-4 year')
[ 28446, 604, 812, 2084, 5827, 8699, 26115, 373, 14641, 351, 597, 13669, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 40567, 62, 291, 67, 33411, 40567, 62, 291, 67, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 28446, 604, 812, 2084, 5827, 8699, 26115, 373, 14641, 351, 597, 13669, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 40567, 62, 291, 67, 33411, 40567, 62, 291, 67, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, ...
Find the name and age of the person who is a friend of both Dan and Alice.
SELECT T1.name, T1.age FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.name WHERE T2.friend = 'Dan' INTERSECT SELECT T1.name, T1.age FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.name WHERE T2.friend = 'Alice'
[ 16742, 262, 1438, 290, 2479, 286, 262, 1048, 508, 318, 257, 1545, 286, 1111, 6035, 290, 14862, 13, 46506, 309, 16, 13, 3672, 11, 309, 16, 13, 496, 16034, 7755, 7054, 309, 16, 32357, 1268, 7755, 23331, 7054, 309, 17, 6177, 309, 16, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 16742, 262, 1438, 290, 2479, 286, 262, 1048, 508, 318, 257, 1545, 286, 1111, 6035, 290, 14862, 13, 46506, 309, 16, 13, 3672, 11, 309, 16, 13, 496, 16034, 7755, 7054, 309, 16, 32357, 1268, 7755, 23331, 7054, 309, 17, 6177, 309, 16, ...
what is the metlink code that opened in 1908?
SELECT "Metlink code" FROM table_31458 WHERE "Opened" = '1908'
[ 10919, 318, 262, 1138, 8726, 2438, 326, 4721, 287, 40417, 30, 46506, 366, 9171, 8726, 2438, 1, 16034, 3084, 62, 33638, 3365, 33411, 366, 18257, 2945, 1, 796, 705, 1129, 2919, 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 ]
[ 10919, 318, 262, 1138, 8726, 2438, 326, 4721, 287, 40417, 30, 46506, 366, 9171, 8726, 2438, 1, 16034, 3084, 62, 33638, 3365, 33411, 366, 18257, 2945, 1, 796, 705, 1129, 2919, 6 ]
Score F A of 3 0, and a Date of 31 july 2007 had what opponents?
SELECT opponents FROM table_name_13 WHERE score_f_a = "3–0" AND date = "31 july 2007"
[ 26595, 376, 317, 286, 513, 657, 11, 290, 257, 7536, 286, 3261, 474, 2062, 4343, 550, 644, 7691, 30, 46506, 7691, 16034, 3084, 62, 3672, 62, 1485, 33411, 4776, 62, 69, 62, 64, 796, 366, 18, 1906, 15, 1, 5357, 3128, 796, 366, 3132, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 26595, 376, 317, 286, 513, 657, 11, 290, 257, 7536, 286, 3261, 474, 2062, 4343, 550, 644, 7691, 30, 46506, 7691, 16034, 3084, 62, 3672, 62, 1485, 33411, 4776, 62, 69, 62, 64, 796, 366, 18, 1906, 15, 1, 5357, 3128, 796, 366, 3132, ...
For those employees who was hired before 2002-06-21, find job_id and the average of employee_id , and group by attribute job_id, and visualize them by a bar chart, and rank by the X from high to low please.
SELECT JOB_ID, AVG(EMPLOYEE_ID) FROM employees WHERE HIRE_DATE < '2002-06-21' GROUP BY JOB_ID ORDER BY JOB_ID DESC
[ 1890, 883, 4409, 508, 373, 9657, 878, 6244, 12, 3312, 12, 2481, 11, 1064, 1693, 62, 312, 290, 262, 2811, 286, 6538, 62, 312, 837, 290, 1448, 416, 11688, 1693, 62, 312, 11, 290, 38350, 606, 416, 257, 2318, 8262, 11, 290, 4279, 416,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4409, 508, 373, 9657, 878, 6244, 12, 3312, 12, 2481, 11, 1064, 1693, 62, 312, 290, 262, 2811, 286, 6538, 62, 312, 837, 290, 1448, 416, 11688, 1693, 62, 312, 11, 290, 38350, 606, 416, 257, 2318, 8262, 11, 290, 4279, 416,...
who is the winners where season result is 9th
SELECT "Winners" FROM table_16697 WHERE "Season Result" = '9th'
[ 8727, 318, 262, 14591, 810, 1622, 1255, 318, 860, 400, 46506, 366, 16643, 2741, 1, 16034, 3084, 62, 1433, 40035, 33411, 366, 18960, 25414, 1, 796, 705, 24, 400, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8727, 318, 262, 14591, 810, 1622, 1255, 318, 860, 400, 46506, 366, 16643, 2741, 1, 16034, 3084, 62, 1433, 40035, 33411, 366, 18960, 25414, 1, 796, 705, 24, 400, 6 ]
what is the prescription drug that patient 009-12985 was prescribed for within 2 days after receiving nasogastric tube until 68 months ago?
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 = '009-12985') AND treatment.treatme...
[ 10919, 318, 262, 15077, 2563, 326, 5827, 3571, 24, 12, 1065, 42250, 373, 14798, 329, 1626, 362, 1528, 706, 6464, 25221, 519, 459, 1173, 12403, 1566, 8257, 1933, 2084, 30, 46506, 256, 17, 13, 30349, 3672, 16034, 357, 46506, 5827, 13, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15077, 2563, 326, 5827, 3571, 24, 12, 1065, 42250, 373, 14798, 329, 1626, 362, 1528, 706, 6464, 25221, 519, 459, 1173, 12403, 1566, 8257, 1933, 2084, 30, 46506, 256, 17, 13, 30349, 3672, 16034, 357, 46506, 5827, 13, 4...
How many Lanes have a rank higher than 3 with a time of 2:08.11?
SELECT COUNT(lane) FROM table_name_72 WHERE time = "2:08.11" AND rank > 3
[ 2437, 867, 406, 7305, 423, 257, 4279, 2440, 621, 513, 351, 257, 640, 286, 362, 25, 2919, 13, 1157, 30, 46506, 327, 28270, 7, 33533, 8, 16034, 3084, 62, 3672, 62, 4761, 33411, 640, 796, 366, 17, 25, 2919, 13, 1157, 1, 5357, 4279, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 406, 7305, 423, 257, 4279, 2440, 621, 513, 351, 257, 640, 286, 362, 25, 2919, 13, 1157, 30, 46506, 327, 28270, 7, 33533, 8, 16034, 3084, 62, 3672, 62, 4761, 33411, 640, 796, 366, 17, 25, 2919, 13, 1157, 1, 5357, 4279, ...
What was the method of the bout lasting 4:15?
SELECT method FROM table_name_82 WHERE time = "4:15"
[ 2061, 373, 262, 2446, 286, 262, 18222, 15727, 604, 25, 1314, 30, 46506, 2446, 16034, 3084, 62, 3672, 62, 6469, 33411, 640, 796, 366, 19, 25, 1314, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 2446, 286, 262, 18222, 15727, 604, 25, 1314, 30, 46506, 2446, 16034, 3084, 62, 3672, 62, 6469, 33411, 640, 796, 366, 19, 25, 1314, 1 ]
What is the name of the entrepreneur with the greatest weight?
SELECT T2.name FROM entrepreneur AS T1 JOIN people AS T2 ON T1.people_id = T2.people_id ORDER BY T2.weight DESC LIMIT 1
[ 2061, 318, 262, 1438, 286, 262, 19500, 351, 262, 6000, 3463, 30, 46506, 309, 17, 13, 3672, 16034, 19500, 7054, 309, 16, 32357, 1268, 661, 7054, 309, 17, 6177, 309, 16, 13, 15332, 62, 312, 796, 309, 17, 13, 15332, 62, 312, 38678, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 286, 262, 19500, 351, 262, 6000, 3463, 30, 46506, 309, 17, 13, 3672, 16034, 19500, 7054, 309, 16, 32357, 1268, 661, 7054, 309, 17, 6177, 309, 16, 13, 15332, 62, 312, 796, 309, 17, 13, 15332, 62, 312, 38678, 1...
who is the player for the position defence and the college/junior/club team is ottawa 67's (ohl)?
SELECT "Player" FROM table_29006 WHERE "Position" = 'Defence' AND "College/junior/club team" = 'Ottawa 67''s (OHL)'
[ 8727, 318, 262, 2137, 329, 262, 2292, 9366, 290, 262, 4152, 14, 29741, 1504, 14, 18664, 1074, 318, 267, 926, 6909, 8275, 338, 357, 48988, 19427, 46506, 366, 14140, 1, 16034, 3084, 62, 1959, 28041, 33411, 366, 26545, 1, 796, 705, 7469,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 8727, 318, 262, 2137, 329, 262, 2292, 9366, 290, 262, 4152, 14, 29741, 1504, 14, 18664, 1074, 318, 267, 926, 6909, 8275, 338, 357, 48988, 19427, 46506, 366, 14140, 1, 16034, 3084, 62, 1959, 28041, 33411, 366, 26545, 1, 796, 705, 7469,...
what province has the least population ?
SELECT "province" FROM table_203_3 ORDER BY "population" LIMIT 1
[ 10919, 8473, 468, 262, 1551, 3265, 5633, 46506, 366, 15234, 924, 1, 16034, 3084, 62, 22416, 62, 18, 38678, 11050, 366, 39748, 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 ]
[ 10919, 8473, 468, 262, 1551, 3265, 5633, 46506, 366, 15234, 924, 1, 16034, 3084, 62, 22416, 62, 18, 38678, 11050, 366, 39748, 1, 27564, 2043, 352 ]
Score of 8 - 1 happened on what day in December?
SELECT "December" FROM table_33839 WHERE "Score" = '8 - 1'
[ 26595, 286, 807, 532, 352, 3022, 319, 644, 1110, 287, 3426, 30, 46506, 366, 20588, 1, 16034, 3084, 62, 28460, 2670, 33411, 366, 26595, 1, 796, 705, 23, 532, 352, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 26595, 286, 807, 532, 352, 3022, 319, 644, 1110, 287, 3426, 30, 46506, 366, 20588, 1, 16034, 3084, 62, 28460, 2670, 33411, 366, 26595, 1, 796, 705, 23, 532, 352, 6 ]
Which Elector is hungarian?
SELECT "Elector" FROM table_5553 WHERE "Nationality" = 'hungarian'
[ 13828, 5903, 273, 318, 9174, 3699, 30, 46506, 366, 19453, 273, 1, 16034, 3084, 62, 2816, 4310, 33411, 366, 16186, 414, 1, 796, 705, 43274, 3699, 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 ]
[ 13828, 5903, 273, 318, 9174, 3699, 30, 46506, 366, 19453, 273, 1, 16034, 3084, 62, 2816, 4310, 33411, 366, 16186, 414, 1, 796, 705, 43274, 3699, 6 ]
How many total figures are given for Milwaukee county?
SELECT COUNT(won_by) FROM table_21046399_3 WHERE county = "Milwaukee"
[ 2437, 867, 2472, 5538, 389, 1813, 329, 16629, 7968, 30, 46506, 327, 28270, 7, 26502, 62, 1525, 8, 16034, 3084, 62, 21536, 3510, 28771, 62, 18, 33411, 7968, 796, 366, 24857, 15428, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2472, 5538, 389, 1813, 329, 16629, 7968, 30, 46506, 327, 28270, 7, 26502, 62, 1525, 8, 16034, 3084, 62, 21536, 3510, 28771, 62, 18, 33411, 7968, 796, 366, 24857, 15428, 1 ]
What was the record for the location and attendance of american airlines arena 19,825?
SELECT record FROM table_27713030_11 WHERE location_attendance = "American Airlines Arena 19,825"
[ 2061, 373, 262, 1700, 329, 262, 4067, 290, 14858, 286, 45630, 272, 26225, 13478, 678, 11, 47338, 30, 46506, 1700, 16034, 3084, 62, 1983, 4869, 1270, 1270, 62, 1157, 33411, 4067, 62, 1078, 437, 590, 796, 366, 7437, 16712, 10937, 678, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 329, 262, 4067, 290, 14858, 286, 45630, 272, 26225, 13478, 678, 11, 47338, 30, 46506, 1700, 16034, 3084, 62, 1983, 4869, 1270, 1270, 62, 1157, 33411, 4067, 62, 1078, 437, 590, 796, 366, 7437, 16712, 10937, 678, 1...
What was the total rating on week 3?
SELECT "TOTAL" FROM table_73650 WHERE "WEEK" = '3'
[ 2061, 373, 262, 2472, 7955, 319, 1285, 513, 30, 46506, 366, 51, 27510, 1, 16034, 3084, 62, 49150, 1120, 33411, 366, 54, 33823, 1, 796, 705, 18, 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 ]
[ 2061, 373, 262, 2472, 7955, 319, 1285, 513, 30, 46506, 366, 51, 27510, 1, 16034, 3084, 62, 49150, 1120, 33411, 366, 54, 33823, 1, 796, 705, 18, 6 ]
which game site had the lowest number of attendance ?
SELECT "game site" FROM table_204_443 ORDER BY "attendance" LIMIT 1
[ 4758, 983, 2524, 550, 262, 9016, 1271, 286, 14858, 5633, 46506, 366, 6057, 2524, 1, 16034, 3084, 62, 18638, 62, 34938, 38678, 11050, 366, 1078, 437, 590, 1, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4758, 983, 2524, 550, 262, 9016, 1271, 286, 14858, 5633, 46506, 366, 6057, 2524, 1, 16034, 3084, 62, 18638, 62, 34938, 38678, 11050, 366, 1078, 437, 590, 1, 27564, 2043, 352 ]
What date has a catalogue of asw 40362?
SELECT "Date" FROM table_33166 WHERE "Catalogue" = 'asw 40362'
[ 2061, 3128, 468, 257, 34614, 286, 355, 86, 2319, 35667, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 2091, 23055, 33411, 366, 39075, 5119, 1, 796, 705, 292, 86, 2319, 35667, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 3128, 468, 257, 34614, 286, 355, 86, 2319, 35667, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 2091, 23055, 33411, 366, 39075, 5119, 1, 796, 705, 292, 86, 2319, 35667, 6 ]
how many times is the total points 128.0?
SELECT COUNT(couple) FROM table_29583818_3 WHERE total_points = "128.0"
[ 4919, 867, 1661, 318, 262, 2472, 2173, 13108, 13, 15, 30, 46506, 327, 28270, 7, 66, 43846, 8, 16034, 3084, 62, 1959, 3365, 2548, 1507, 62, 18, 33411, 2472, 62, 13033, 796, 366, 12762, 13, 15, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 1661, 318, 262, 2472, 2173, 13108, 13, 15, 30, 46506, 327, 28270, 7, 66, 43846, 8, 16034, 3084, 62, 1959, 3365, 2548, 1507, 62, 18, 33411, 2472, 62, 13033, 796, 366, 12762, 13, 15, 1 ]
Who is the away team that played home team Footscray?
SELECT away_team FROM table_name_67 WHERE home_team = "footscray"
[ 8241, 318, 262, 1497, 1074, 326, 2826, 1363, 1074, 7870, 1416, 2433, 30, 46506, 1497, 62, 15097, 16034, 3084, 62, 3672, 62, 3134, 33411, 1363, 62, 15097, 796, 366, 5898, 1416, 2433, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1497, 1074, 326, 2826, 1363, 1074, 7870, 1416, 2433, 30, 46506, 1497, 62, 15097, 16034, 3084, 62, 3672, 62, 3134, 33411, 1363, 62, 15097, 796, 366, 5898, 1416, 2433, 1 ]
What is the highest Presidency that Took Office after 1974 and Left Office in 1998?
SELECT MAX(presidency) FROM table_name_8 WHERE left_office = "1998" AND took_office > 1974
[ 2061, 318, 262, 4511, 35696, 326, 309, 566, 4452, 706, 16489, 290, 9578, 4452, 287, 7795, 30, 46506, 25882, 7, 18302, 9147, 8, 16034, 3084, 62, 3672, 62, 23, 33411, 1364, 62, 31810, 796, 366, 21113, 1, 5357, 1718, 62, 31810, 1875, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4511, 35696, 326, 309, 566, 4452, 706, 16489, 290, 9578, 4452, 287, 7795, 30, 46506, 25882, 7, 18302, 9147, 8, 16034, 3084, 62, 3672, 62, 23, 33411, 1364, 62, 31810, 796, 366, 21113, 1, 5357, 1718, 62, 31810, 1875, 1...
What is the least lane number that Natalie Coughlin was in when she was ranked greater than 1?
SELECT MIN(lane) FROM table_name_75 WHERE name = "natalie coughlin" AND rank > 1
[ 2061, 318, 262, 1551, 11193, 1271, 326, 35571, 327, 619, 2815, 373, 287, 618, 673, 373, 10307, 3744, 621, 352, 30, 46506, 20625, 7, 33533, 8, 16034, 3084, 62, 3672, 62, 2425, 33411, 1438, 796, 366, 77, 30951, 22094, 2815, 1, 5357, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1551, 11193, 1271, 326, 35571, 327, 619, 2815, 373, 287, 618, 673, 373, 10307, 3744, 621, 352, 30, 46506, 20625, 7, 33533, 8, 16034, 3084, 62, 3672, 62, 2425, 33411, 1438, 796, 366, 77, 30951, 22094, 2815, 1, 5357, 4...
Who was the race winner with a pole position james hunt, and a Fastest Lap of james hunt, and a Date of 15 august?
SELECT race AS Winner FROM table_name_58 WHERE pole_position = "james hunt" AND fastest_lap = "james hunt" AND date = "15 august"
[ 8241, 373, 262, 3234, 8464, 351, 257, 16825, 2292, 474, 1047, 12601, 11, 290, 257, 12549, 395, 26944, 286, 474, 1047, 12601, 11, 290, 257, 7536, 286, 1315, 16339, 436, 30, 46506, 3234, 7054, 25358, 16034, 3084, 62, 3672, 62, 3365, 334...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 8241, 373, 262, 3234, 8464, 351, 257, 16825, 2292, 474, 1047, 12601, 11, 290, 257, 12549, 395, 26944, 286, 474, 1047, 12601, 11, 290, 257, 7536, 286, 1315, 16339, 436, 30, 46506, 3234, 7054, 25358, 16034, 3084, 62, 3672, 62, 3365, 334...
How much Frequency MHz has a Call sign of w264bg?
SELECT COUNT("Frequency MHz") FROM table_38708 WHERE "Call sign" = 'w264bg'
[ 2437, 881, 31902, 19805, 468, 257, 4889, 1051, 286, 266, 18897, 35904, 30, 46506, 327, 28270, 7203, 37, 28707, 19805, 4943, 16034, 3084, 62, 2548, 32583, 33411, 366, 14134, 1051, 1, 796, 705, 86, 18897, 35904, 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 ]
[ 2437, 881, 31902, 19805, 468, 257, 4889, 1051, 286, 266, 18897, 35904, 30, 46506, 327, 28270, 7203, 37, 28707, 19805, 4943, 16034, 3084, 62, 2548, 32583, 33411, 366, 14134, 1051, 1, 796, 705, 86, 18897, 35904, 6 ]
What is the sum of Top-10(s), when Cuts made is less than 10, and when Top-5 is less than 0?
SELECT SUM("Top-10") FROM table_39825 WHERE "Cuts made" < '10' AND "Top-5" < '0'
[ 2061, 318, 262, 2160, 286, 5849, 12, 940, 7, 82, 828, 618, 327, 5500, 925, 318, 1342, 621, 838, 11, 290, 618, 5849, 12, 20, 318, 1342, 621, 657, 30, 46506, 35683, 7203, 9126, 12, 940, 4943, 16034, 3084, 62, 31952, 1495, 33411, 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 ]
[ 2061, 318, 262, 2160, 286, 5849, 12, 940, 7, 82, 828, 618, 327, 5500, 925, 318, 1342, 621, 838, 11, 290, 618, 5849, 12, 20, 318, 1342, 621, 657, 30, 46506, 35683, 7203, 9126, 12, 940, 4943, 16034, 3084, 62, 31952, 1495, 33411, 366...
What is the average number lost when the PCT is more than 0.7334 and the total number of games is larger than 48?
SELECT AVG(lost) FROM table_name_22 WHERE pct > 0.7334 AND total_games > 48
[ 2061, 318, 262, 2811, 1271, 2626, 618, 262, 350, 4177, 318, 517, 621, 657, 13, 22, 31380, 290, 262, 2472, 1271, 286, 1830, 318, 4025, 621, 4764, 30, 46506, 35224, 7, 33224, 8, 16034, 3084, 62, 3672, 62, 1828, 33411, 279, 310, 1875, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1271, 2626, 618, 262, 350, 4177, 318, 517, 621, 657, 13, 22, 31380, 290, 262, 2472, 1271, 286, 1830, 318, 4025, 621, 4764, 30, 46506, 35224, 7, 33224, 8, 16034, 3084, 62, 3672, 62, 1828, 33411, 279, 310, 1875, ...
How many values for result correspond to attendance of 74,111?
SELECT COUNT("Result") FROM table_20209 WHERE "Attendance" = '74,111'
[ 2437, 867, 3815, 329, 1255, 6053, 284, 14858, 286, 8915, 11, 16243, 30, 46506, 327, 28270, 7203, 23004, 4943, 16034, 3084, 62, 1238, 22567, 33411, 366, 8086, 437, 590, 1, 796, 705, 4524, 11, 16243, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 3815, 329, 1255, 6053, 284, 14858, 286, 8915, 11, 16243, 30, 46506, 327, 28270, 7203, 23004, 4943, 16034, 3084, 62, 1238, 22567, 33411, 366, 8086, 437, 590, 1, 796, 705, 4524, 11, 16243, 6 ]
what were the top four frequent diagnoses that patients were diagnosed with during the same month after having received a stress ulcer treatment - esomeprazole procedure since 2105?
SELECT t3.diagnosisname FROM (SELECT t2.diagnosisname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, treatment.treatmenttime FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'stress ulcer treatment - esomeprazole' A...
[ 10919, 547, 262, 1353, 1440, 10792, 40567, 326, 3871, 547, 14641, 351, 1141, 262, 976, 1227, 706, 1719, 2722, 257, 5503, 14856, 2189, 3513, 532, 1658, 462, 79, 3247, 2305, 8771, 1201, 362, 13348, 30, 46506, 256, 18, 13, 47356, 5958, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 547, 262, 1353, 1440, 10792, 40567, 326, 3871, 547, 14641, 351, 1141, 262, 976, 1227, 706, 1719, 2722, 257, 5503, 14856, 2189, 3513, 532, 1658, 462, 79, 3247, 2305, 8771, 1201, 362, 13348, 30, 46506, 256, 18, 13, 47356, 5958, 3...
the lego movie was number one on february 9 . what was the previous number one ?
SELECT "film" FROM table_204_7 WHERE "date" < (SELECT "date" FROM table_204_7 WHERE "date" = 'february 9, 2014') ORDER BY "date" DESC LIMIT 1
[ 1169, 1232, 78, 3807, 373, 1271, 530, 319, 730, 65, 3728, 860, 764, 644, 373, 262, 2180, 1271, 530, 5633, 46506, 366, 26240, 1, 16034, 3084, 62, 18638, 62, 22, 33411, 366, 4475, 1, 1279, 357, 46506, 366, 4475, 1, 16034, 3084, 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...
[ 1169, 1232, 78, 3807, 373, 1271, 530, 319, 730, 65, 3728, 860, 764, 644, 373, 262, 2180, 1271, 530, 5633, 46506, 366, 26240, 1, 16034, 3084, 62, 18638, 62, 22, 33411, 366, 4475, 1, 1279, 357, 46506, 366, 4475, 1, 16034, 3084, 62, ...
what is the schedule for flights between PITTSBURGH and BOSTON on the evening of 7 9
SELECT DISTINCT FLIGHT_0.arrival_time, FLIGHT_0.departure_time FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, date_day, days, flight AS FLIGHT_0, flight AS FLIGHT_1, flight_leg WHERE ((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name =...
[ 10919, 318, 262, 7269, 329, 13956, 1022, 49040, 4694, 38926, 17511, 290, 347, 10892, 1340, 319, 262, 6180, 286, 767, 860, 46506, 360, 8808, 1268, 4177, 9977, 9947, 62, 15, 13, 283, 43171, 62, 2435, 11, 9977, 9947, 62, 15, 13, 10378, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7269, 329, 13956, 1022, 49040, 4694, 38926, 17511, 290, 347, 10892, 1340, 319, 262, 6180, 286, 767, 860, 46506, 360, 8808, 1268, 4177, 9977, 9947, 62, 15, 13, 283, 43171, 62, 2435, 11, 9977, 9947, 62, 15, 13, 10378, ...
What is the type of Surface for the New Zealand F1 Futures Tournament?
SELECT "Surface" FROM table_54504 WHERE "Tournament" = 'new zealand f1 futures'
[ 2061, 318, 262, 2099, 286, 20321, 329, 262, 968, 8936, 376, 16, 24002, 942, 9595, 30, 46506, 366, 14214, 2550, 1, 16034, 3084, 62, 4051, 33580, 33411, 366, 51, 5138, 1, 796, 705, 3605, 27689, 392, 277, 16, 25650, 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 ]
[ 2061, 318, 262, 2099, 286, 20321, 329, 262, 968, 8936, 376, 16, 24002, 942, 9595, 30, 46506, 366, 14214, 2550, 1, 16034, 3084, 62, 4051, 33580, 33411, 366, 51, 5138, 1, 796, 705, 3605, 27689, 392, 277, 16, 25650, 6 ]
What is the average L/100km urban value having an L/100km extraurban under 7.2, mpg combined in the UK under 39.8, l/100km combined over 7.9, and mpg combined in the US under 25.1?
SELECT AVG("L/100km Urban (Cold)") FROM table_14144 WHERE "L/100km Extra-Urban" < '7.2' AND "mpg-UK Combined" < '39.8' AND "L/100km Combined" > '7.9' AND "mpg-US Combined" < '25.1'
[ 2061, 318, 262, 2811, 406, 14, 3064, 13276, 7876, 1988, 1719, 281, 406, 14, 3064, 13276, 3131, 32679, 739, 767, 13, 17, 11, 285, 6024, 5929, 287, 262, 3482, 739, 5014, 13, 23, 11, 300, 14, 3064, 13276, 5929, 625, 767, 13, 24, 11, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 406, 14, 3064, 13276, 7876, 1988, 1719, 281, 406, 14, 3064, 13276, 3131, 32679, 739, 767, 13, 17, 11, 285, 6024, 5929, 287, 262, 3482, 739, 5014, 13, 23, 11, 300, 14, 3064, 13276, 5929, 625, 767, 13, 24, 11, ...
Who opposed Marty Meehan in each election?
SELECT opponent FROM table_1341522_24 WHERE incumbent = "Marty Meehan"
[ 8241, 6886, 29876, 337, 1453, 7637, 287, 1123, 3071, 30, 46506, 6125, 16034, 3084, 62, 19880, 1314, 1828, 62, 1731, 33411, 23526, 796, 366, 13143, 88, 337, 1453, 7637, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 6886, 29876, 337, 1453, 7637, 287, 1123, 3071, 30, 46506, 6125, 16034, 3084, 62, 19880, 1314, 1828, 62, 1731, 33411, 23526, 796, 366, 13143, 88, 337, 1453, 7637, 1 ]
What is the average attendance when the Forest Green Rovers is the away team?
SELECT AVG(attendance) FROM table_name_82 WHERE away_team = "forest green rovers"
[ 2061, 318, 262, 2811, 14858, 618, 262, 9115, 3469, 5564, 690, 318, 262, 1497, 1074, 30, 46506, 35224, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 6469, 33411, 1497, 62, 15097, 796, 366, 29623, 4077, 686, 690, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14858, 618, 262, 9115, 3469, 5564, 690, 318, 262, 1497, 1074, 30, 46506, 35224, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 6469, 33411, 1497, 62, 15097, 796, 366, 29623, 4077, 686, 690, 1 ]
hypersensitivity to retinoids.
SELECT * FROM table_train_124 WHERE allergy_to_retinoids = 1
[ 36362, 364, 40545, 284, 1005, 259, 10994, 13, 46506, 1635, 16034, 3084, 62, 27432, 62, 17464, 33411, 36197, 62, 1462, 62, 1186, 259, 10994, 796, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 36362, 364, 40545, 284, 1005, 259, 10994, 13, 46506, 1635, 16034, 3084, 62, 27432, 62, 17464, 33411, 36197, 62, 1462, 62, 1186, 259, 10994, 796, 352 ]
What is the highest number of goals against when the number of goals were 55 and the difference was +24?
SELECT MAX(goals_against) FROM table_name_94 WHERE goals_for > 55 AND goal_difference = "+24"
[ 2061, 318, 262, 4511, 1271, 286, 4661, 1028, 618, 262, 1271, 286, 4661, 547, 5996, 290, 262, 3580, 373, 1343, 1731, 30, 46506, 25882, 7, 2188, 874, 62, 32826, 8, 16034, 3084, 62, 3672, 62, 5824, 33411, 4661, 62, 1640, 1875, 5996, 53...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4511, 1271, 286, 4661, 1028, 618, 262, 1271, 286, 4661, 547, 5996, 290, 262, 3580, 373, 1343, 1731, 30, 46506, 25882, 7, 2188, 874, 62, 32826, 8, 16034, 3084, 62, 3672, 62, 5824, 33411, 4661, 62, 1640, 1875, 5996, 53...
what is the name of a drug that patient 021-49082 was allergic to since 11/2100?
SELECT allergy.drugname FROM allergy WHERE allergy.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '021-49082')) AND STRFTIME('%y-%m', allergy.allergytime) >= '2100-11'
[ 10919, 318, 262, 1438, 286, 257, 2563, 326, 5827, 657, 2481, 12, 2920, 2919, 17, 373, 31856, 284, 1201, 1367, 14, 2481, 405, 30, 46506, 36197, 13, 30349, 3672, 16034, 36197, 33411, 36197, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 1438, 286, 257, 2563, 326, 5827, 657, 2481, 12, 2920, 2919, 17, 373, 31856, 284, 1201, 1367, 14, 2481, 405, 30, 46506, 36197, 13, 30349, 3672, 16034, 36197, 33411, 36197, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, ...
i mean how many hours has it been since the first time patient 005-87465 had a intake (ml)-gastrostomy/enterostomy percutaneous endoscopic gastrostomy (peg) 20 fr. umbilicus intake on the current intensive care unit visit?
SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', intakeoutput.intakeoutputtime)) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid ...
[ 72, 1612, 703, 867, 2250, 468, 340, 587, 1201, 262, 717, 640, 5827, 3571, 20, 12, 23, 4524, 2996, 550, 257, 10337, 357, 4029, 13219, 70, 459, 23341, 9145, 14, 9255, 455, 9145, 583, 8968, 11655, 886, 48228, 21956, 23341, 9145, 357, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 72, 1612, 703, 867, 2250, 468, 340, 587, 1201, 262, 717, 640, 5827, 3571, 20, 12, 23, 4524, 2996, 550, 257, 10337, 357, 4029, 13219, 70, 459, 23341, 9145, 14, 9255, 455, 9145, 583, 8968, 11655, 886, 48228, 21956, 23341, 9145, 357, 2...
The episode written by Rebecca Dameron aired on what date?
SELECT "Original air date" FROM table_16465 WHERE "Written by" = 'Rebecca Dameron'
[ 464, 4471, 3194, 416, 23489, 360, 41639, 18530, 319, 644, 3128, 30, 46506, 366, 20556, 1633, 3128, 1, 16034, 3084, 62, 23237, 2996, 33411, 366, 25354, 416, 1, 796, 705, 3041, 20627, 360, 41639, 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 ]
[ 464, 4471, 3194, 416, 23489, 360, 41639, 18530, 319, 644, 3128, 30, 46506, 366, 20556, 1633, 3128, 1, 16034, 3084, 62, 23237, 2996, 33411, 366, 25354, 416, 1, 796, 705, 3041, 20627, 360, 41639, 6 ]
How many receptions were smaller than 7?
SELECT COUNT(reception) FROM table_name_12 WHERE long < 7
[ 2437, 867, 35401, 547, 4833, 621, 767, 30, 46506, 327, 28270, 7, 260, 4516, 8, 16034, 3084, 62, 3672, 62, 1065, 33411, 890, 1279, 767 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 35401, 547, 4833, 621, 767, 30, 46506, 327, 28270, 7, 260, 4516, 8, 16034, 3084, 62, 3672, 62, 1065, 33411, 890, 1279, 767 ]
count the number of patients whose admission location is trsf within this facility and lab test fluid is ascites?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_location = "TRSF WITHIN THIS FACILITY" AND lab.fluid = "Ascites"
[ 9127, 262, 1271, 286, 3871, 3025, 13938, 4067, 318, 491, 28202, 1626, 428, 6841, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13938, 4067, 318, 491, 28202, 1626, 428, 6841, 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, ...
Name the builder for serial number being 377
SELECT builder FROM table_20236726_2 WHERE serial_no = 377
[ 5376, 262, 27098, 329, 11389, 1271, 852, 42163, 46506, 27098, 16034, 3084, 62, 1238, 1954, 3134, 2075, 62, 17, 33411, 11389, 62, 3919, 796, 42163 ]
[ 1, 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, 27098, 329, 11389, 1271, 852, 42163, 46506, 27098, 16034, 3084, 62, 1238, 1954, 3134, 2075, 62, 17, 33411, 11389, 62, 3919, 796, 42163 ]
count the number of patients whose year of birth is less than 2103 and procedure short title is atrial cardioversion?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.dob_year < "2103" AND procedures.short_title = "Atrial cardioversion"
[ 9127, 262, 1271, 286, 3871, 3025, 614, 286, 4082, 318, 1342, 621, 362, 15197, 290, 8771, 1790, 3670, 318, 379, 4454, 47926, 9641, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9127, 262, 1271, 286, 3871, 3025, 614, 286, 4082, 318, 1342, 621, 362, 15197, 290, 8771, 1790, 3670, 318, 379, 4454, 47926, 9641, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479,...
what flights go from SAN FRANCISCO to BOSTON and leave after 1300 o'clock
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'BOSTON' AND flight.departure_time > 1300 AND flight.to_airport = AIRPORT_SERVICE_1.airpor...
[ 10919, 13956, 467, 422, 37376, 8782, 20940, 1797, 8220, 284, 347, 10892, 1340, 290, 2666, 706, 36058, 267, 6, 15750, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 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...
[ 10919, 13956, 467, 422, 37376, 8782, 20940, 1797, 8220, 284, 347, 10892, 1340, 290, 2666, 706, 36058, 267, 6, 15750, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 6...
For all employees who have the letters D or S in their first name, what is the relationship between employee_id and salary ?
SELECT EMPLOYEE_ID, SALARY FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%'
[ 1890, 477, 4409, 508, 423, 262, 7475, 360, 393, 311, 287, 511, 717, 1438, 11, 644, 318, 262, 2776, 1022, 6538, 62, 312, 290, 9588, 5633, 46506, 17228, 6489, 21414, 6500, 62, 2389, 11, 42475, 13153, 16034, 4409, 33411, 31328, 62, 20608...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1890, 477, 4409, 508, 423, 262, 7475, 360, 393, 311, 287, 511, 717, 1438, 11, 644, 318, 262, 2776, 1022, 6538, 62, 312, 290, 9588, 5633, 46506, 17228, 6489, 21414, 6500, 62, 2389, 11, 42475, 13153, 16034, 4409, 33411, 31328, 62, 20608...
How many teams were there with a high score of 143?
SELECT COUNT("Team") FROM table_1481 WHERE "Highest Score" = '143'
[ 2437, 867, 3466, 547, 612, 351, 257, 1029, 4776, 286, 24356, 30, 46506, 327, 28270, 7203, 15592, 4943, 16034, 3084, 62, 1415, 6659, 33411, 366, 36124, 3634, 15178, 1, 796, 705, 21139, 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 ]
[ 2437, 867, 3466, 547, 612, 351, 257, 1029, 4776, 286, 24356, 30, 46506, 327, 28270, 7203, 15592, 4943, 16034, 3084, 62, 1415, 6659, 33411, 366, 36124, 3634, 15178, 1, 796, 705, 21139, 6 ]
Posts Containing Statistics in Title.
SELECT Title, Score, Id FROM Posts WHERE PostTypeId = 1 AND Title LIKE '%stat%' ORDER BY Score DESC
[ 21496, 2345, 1397, 14370, 287, 11851, 13, 46506, 11851, 11, 15178, 11, 5121, 16034, 12043, 33411, 2947, 6030, 7390, 796, 352, 5357, 11851, 34178, 705, 4, 14269, 4, 6, 38678, 11050, 15178, 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 ]
[ 21496, 2345, 1397, 14370, 287, 11851, 13, 46506, 11851, 11, 15178, 11, 5121, 16034, 12043, 33411, 2947, 6030, 7390, 796, 352, 5357, 11851, 34178, 705, 4, 14269, 4, 6, 38678, 11050, 15178, 22196, 34 ]
What is the competition in tokyo with the result loss?
SELECT competition FROM table_name_3 WHERE location = "tokyo" AND result = "loss"
[ 2061, 318, 262, 5449, 287, 284, 2584, 78, 351, 262, 1255, 2994, 30, 46506, 5449, 16034, 3084, 62, 3672, 62, 18, 33411, 4067, 796, 366, 83, 482, 8226, 1, 5357, 1255, 796, 366, 22462, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5449, 287, 284, 2584, 78, 351, 262, 1255, 2994, 30, 46506, 5449, 16034, 3084, 62, 3672, 62, 18, 33411, 4067, 796, 366, 83, 482, 8226, 1, 5357, 1255, 796, 366, 22462, 1 ]
how many patients with drug code neolevo5 had csf lab test done?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE prescriptions.formulary_drug_cd = "NEOLEVO5" AND lab.fluid = "Cerebrospinal Fluid (CSF)"
[ 4919, 867, 3871, 351, 2563, 2438, 497, 2305, 13038, 20, 550, 269, 28202, 2248, 1332, 1760, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 351, 2563, 2438, 497, 2305, 13038, 20, 550, 269, 28202, 2248, 1332, 1760, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, 1...
What team placed fifth during the season where Victoria placed second, Tasmania placed first, and South Australia placed sixth?
SELECT "FIFTH" FROM table_39865 WHERE "SECOND" = 'victoria' AND "FIRST" = 'tasmania' AND "SIXTH" = 'south australia'
[ 2061, 1074, 4624, 8150, 1141, 262, 1622, 810, 12313, 4624, 1218, 11, 46896, 4624, 717, 11, 290, 2520, 4505, 4624, 11695, 30, 46506, 366, 37, 5064, 4221, 1, 16034, 3084, 62, 31952, 2996, 33411, 366, 23683, 18672, 1, 796, 705, 32433, 76...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1074, 4624, 8150, 1141, 262, 1622, 810, 12313, 4624, 1218, 11, 46896, 4624, 717, 11, 290, 2520, 4505, 4624, 11695, 30, 46506, 366, 37, 5064, 4221, 1, 16034, 3084, 62, 31952, 2996, 33411, 366, 23683, 18672, 1, 796, 705, 32433, 76...
How many gains were there for the player who had a loss greater than 57 and a long less than 55?
SELECT COUNT("Gain") FROM table_50095 WHERE "Loss" > '57' AND "Long" < '55'
[ 2437, 867, 8810, 547, 612, 329, 262, 2137, 508, 550, 257, 2994, 3744, 621, 7632, 290, 257, 890, 1342, 621, 5996, 30, 46506, 327, 28270, 7203, 38, 391, 4943, 16034, 3084, 62, 4059, 3865, 33411, 366, 43, 793, 1, 1875, 705, 3553, 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 ]
[ 2437, 867, 8810, 547, 612, 329, 262, 2137, 508, 550, 257, 2994, 3744, 621, 7632, 290, 257, 890, 1342, 621, 5996, 30, 46506, 327, 28270, 7203, 38, 391, 4943, 16034, 3084, 62, 4059, 3865, 33411, 366, 43, 793, 1, 1875, 705, 3553, 6, ...
Group and count brand for each camera lens using a bar chart, and rank in asc by the total number.
SELECT brand, COUNT(brand) FROM camera_lens GROUP BY brand ORDER BY COUNT(brand)
[ 13247, 290, 954, 4508, 329, 1123, 4676, 10317, 1262, 257, 2318, 8262, 11, 290, 4279, 287, 10570, 416, 262, 2472, 1271, 13, 46506, 4508, 11, 327, 28270, 7, 17938, 8, 16034, 4676, 62, 75, 641, 44441, 11050, 4508, 38678, 11050, 327, 2827...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13247, 290, 954, 4508, 329, 1123, 4676, 10317, 1262, 257, 2318, 8262, 11, 290, 4279, 287, 10570, 416, 262, 2472, 1271, 13, 46506, 4508, 11, 327, 28270, 7, 17938, 8, 16034, 4676, 62, 75, 641, 44441, 11050, 4508, 38678, 11050, 327, 2827...
number of papers in sigir conference
SELECT DISTINCT COUNT(paper.paperid) FROM paper, venue WHERE venue.venueid = paper.venueid AND venue.venuename = 'sigir'
[ 17618, 286, 9473, 287, 43237, 343, 4495, 46506, 360, 8808, 1268, 4177, 327, 28270, 7, 20189, 13, 20189, 312, 8, 16034, 3348, 11, 14359, 33411, 14359, 13, 4080, 312, 796, 3348, 13, 4080, 312, 5357, 14359, 13, 574, 84, 12453, 796, 705, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 17618, 286, 9473, 287, 43237, 343, 4495, 46506, 360, 8808, 1268, 4177, 327, 28270, 7, 20189, 13, 20189, 312, 8, 16034, 3348, 11, 14359, 33411, 14359, 13, 4080, 312, 796, 3348, 13, 4080, 312, 5357, 14359, 13, 574, 84, 12453, 796, 705, ...
Bar chart x axis country y axis the average of age, and I want to show by the y-axis in asc please.
SELECT Country, AVG(Age) FROM artist GROUP BY Country ORDER BY AVG(Age)
[ 10374, 8262, 2124, 16488, 1499, 331, 16488, 262, 2811, 286, 2479, 11, 290, 314, 765, 284, 905, 416, 262, 331, 12, 22704, 287, 10570, 3387, 13, 46506, 12946, 11, 35224, 7, 23396, 8, 16034, 6802, 44441, 11050, 12946, 38678, 11050, 35224, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10374, 8262, 2124, 16488, 1499, 331, 16488, 262, 2811, 286, 2479, 11, 290, 314, 765, 284, 905, 416, 262, 331, 12, 22704, 287, 10570, 3387, 13, 46506, 12946, 11, 35224, 7, 23396, 8, 16034, 6802, 44441, 11050, 12946, 38678, 11050, 35224, ...
What is the first leg of team 1 for Hardware stars?
SELECT "1st leg" FROM table_69238 WHERE "Team 1" = 'hardware stars'
[ 2061, 318, 262, 717, 1232, 286, 1074, 352, 329, 28715, 5788, 30, 46506, 366, 16, 301, 1232, 1, 16034, 3084, 62, 3388, 23721, 33411, 366, 15592, 352, 1, 796, 705, 10424, 1574, 5788, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 717, 1232, 286, 1074, 352, 329, 28715, 5788, 30, 46506, 366, 16, 301, 1232, 1, 16034, 3084, 62, 3388, 23721, 33411, 366, 15592, 352, 1, 796, 705, 10424, 1574, 5788, 6 ]
how many swimmers from china participated in the race ?
SELECT COUNT("name") FROM table_204_422 WHERE "nationality" = 'china'
[ 4919, 867, 1509, 36904, 422, 442, 1437, 14888, 287, 262, 3234, 5633, 46506, 327, 28270, 7203, 3672, 4943, 16034, 3084, 62, 18638, 62, 44361, 33411, 366, 14648, 414, 1, 796, 705, 354, 1437, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 1509, 36904, 422, 442, 1437, 14888, 287, 262, 3234, 5633, 46506, 327, 28270, 7203, 3672, 4943, 16034, 3084, 62, 18638, 62, 44361, 33411, 366, 14648, 414, 1, 796, 705, 354, 1437, 6 ]
what was the drug that during their last hospital visit patient 002-64535 had been prescribed two or more times?
SELECT t1.drugname FROM (SELECT medication.drugname, COUNT(medication.drugstarttime) AS c1 FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '002...
[ 10919, 373, 262, 2563, 326, 1141, 511, 938, 4436, 3187, 5827, 3571, 17, 12, 49259, 2327, 550, 587, 14798, 734, 393, 517, 1661, 30, 46506, 256, 16, 13, 30349, 3672, 16034, 357, 46506, 14103, 13, 30349, 3672, 11, 327, 28270, 7, 1150, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2563, 326, 1141, 511, 938, 4436, 3187, 5827, 3571, 17, 12, 49259, 2327, 550, 587, 14798, 734, 393, 517, 1661, 30, 46506, 256, 16, 13, 30349, 3672, 16034, 357, 46506, 14103, 13, 30349, 3672, 11, 327, 28270, 7, 1150, ...
Tell me the track that has the catalogue of apbo 0280
SELECT "Track" FROM table_78059 WHERE "Catalogue" = 'apbo 0280'
[ 24446, 502, 262, 2610, 326, 468, 262, 34614, 286, 2471, 2127, 7816, 1795, 46506, 366, 24802, 1, 16034, 3084, 62, 40873, 3270, 33411, 366, 39075, 5119, 1, 796, 705, 499, 2127, 7816, 1795, 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 ]
[ 24446, 502, 262, 2610, 326, 468, 262, 34614, 286, 2471, 2127, 7816, 1795, 46506, 366, 24802, 1, 16034, 3084, 62, 40873, 3270, 33411, 366, 39075, 5119, 1, 796, 705, 499, 2127, 7816, 1795, 6 ]
What was the home team's score at junction oval?
SELECT "Home team score" FROM table_56009 WHERE "Venue" = 'junction oval'
[ 2061, 373, 262, 1363, 1074, 338, 4776, 379, 35037, 41186, 30, 46506, 366, 16060, 1074, 4776, 1, 16034, 3084, 62, 3980, 28694, 33411, 366, 37522, 518, 1, 796, 705, 73, 4575, 41186, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 1363, 1074, 338, 4776, 379, 35037, 41186, 30, 46506, 366, 16060, 1074, 4776, 1, 16034, 3084, 62, 3980, 28694, 33411, 366, 37522, 518, 1, 796, 705, 73, 4575, 41186, 6 ]
What was the host for the semi final heat, when Terry Wogan was the National Final main host, and Gaby Roslin was the National Final co-host?
SELECT "Semi final/heat host" FROM table_13913 WHERE "National final main host" = 'terry wogan' AND "National final co host" = 'gaby roslin'
[ 2061, 373, 262, 2583, 329, 262, 10663, 2457, 4894, 11, 618, 14286, 370, 9632, 373, 262, 2351, 8125, 1388, 2583, 11, 290, 402, 3930, 10018, 2815, 373, 262, 2351, 8125, 763, 12, 4774, 30, 46506, 366, 13900, 72, 2457, 14, 25080, 2583, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2583, 329, 262, 10663, 2457, 4894, 11, 618, 14286, 370, 9632, 373, 262, 2351, 8125, 1388, 2583, 11, 290, 402, 3930, 10018, 2815, 373, 262, 2351, 8125, 763, 12, 4774, 30, 46506, 366, 13900, 72, 2457, 14, 25080, 2583, ...
Tell me the event name for michael mcdowell and billy leslie
SELECT "Event Name" FROM table_74483 WHERE "Pole Winner" = 'michael mcdowell' AND "Race Winner" = 'billy leslie'
[ 24446, 502, 262, 1785, 1438, 329, 285, 40302, 285, 10210, 32829, 290, 2855, 88, 10287, 14485, 46506, 366, 9237, 6530, 1, 16034, 3084, 62, 22, 2598, 5999, 33411, 366, 47, 2305, 25358, 1, 796, 705, 76, 40302, 285, 10210, 32829, 6, 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 ]
[ 24446, 502, 262, 1785, 1438, 329, 285, 40302, 285, 10210, 32829, 290, 2855, 88, 10287, 14485, 46506, 366, 9237, 6530, 1, 16034, 3084, 62, 22, 2598, 5999, 33411, 366, 47, 2305, 25358, 1, 796, 705, 76, 40302, 285, 10210, 32829, 6, 5357,...
WHAT IS THE LOWEST DIAMETER FOR A LATITIDE OF 52.0S?
SELECT MIN(diameter__km_) FROM table_name_78 WHERE latitude = "52.0s"
[ 32971, 3180, 3336, 46663, 6465, 14766, 2390, 2767, 1137, 7473, 317, 42355, 2043, 14114, 3963, 6740, 13, 15, 50, 30, 46506, 20625, 7, 67, 13173, 834, 13276, 62, 8, 16034, 3084, 62, 3672, 62, 3695, 33411, 32477, 796, 366, 4309, 13, 15, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 32971, 3180, 3336, 46663, 6465, 14766, 2390, 2767, 1137, 7473, 317, 42355, 2043, 14114, 3963, 6740, 13, 15, 50, 30, 46506, 20625, 7, 67, 13173, 834, 13276, 62, 8, 16034, 3084, 62, 3672, 62, 3695, 33411, 32477, 796, 366, 4309, 13, 15, ...
has any medication been prescribed to patient 029-584 the last year?
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 = '029-584')) AND DATETIME(medication.drugstarttime, 'start of year') = DATET...
[ 10134, 597, 14103, 587, 14798, 284, 5827, 657, 1959, 12, 46352, 262, 938, 614, 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, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10134, 597, 14103, 587, 14798, 284, 5827, 657, 1959, 12, 46352, 262, 938, 614, 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, 1...
Which Team has a Pos larger than 3, and a Make of toyota, and a Car # smaller than 59, and a Driver of mike skinner?
SELECT team FROM table_name_75 WHERE pos > 3 AND make = "toyota" AND car__number < 59 AND driver = "mike skinner"
[ 13828, 4816, 468, 257, 18574, 4025, 621, 513, 11, 290, 257, 6889, 286, 13373, 4265, 11, 290, 257, 1879, 1303, 4833, 621, 7863, 11, 290, 257, 12434, 286, 285, 522, 4168, 1008, 30, 46506, 1074, 16034, 3084, 62, 3672, 62, 2425, 33411, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 13828, 4816, 468, 257, 18574, 4025, 621, 513, 11, 290, 257, 6889, 286, 13373, 4265, 11, 290, 257, 1879, 1303, 4833, 621, 7863, 11, 290, 257, 12434, 286, 285, 522, 4168, 1008, 30, 46506, 1074, 16034, 3084, 62, 3672, 62, 2425, 33411, ...
how many patients whose death status is 1 and primary disease is brain mass;intracranial hemorrhage?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.expire_flag = "1" AND demographic.diagnosis = "BRAIN MASS;INTRACRANIAL HEMORRHAGE"
[ 4919, 867, 3871, 3025, 1918, 3722, 318, 352, 290, 4165, 4369, 318, 3632, 2347, 26, 600, 11510, 2596, 498, 42203, 496, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 1069, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1918, 3722, 318, 352, 290, 4165, 4369, 318, 3632, 2347, 26, 600, 11510, 2596, 498, 42203, 496, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 1069, ...
How much Jury has an Artist of chalice & maagiline kuues, and a Draw smaller than 5?
SELECT COUNT(jury) FROM table_name_66 WHERE artist = "chalice & maagiline kuues" AND draw < 5
[ 2437, 881, 48705, 468, 281, 18902, 286, 442, 282, 501, 1222, 17266, 363, 346, 500, 479, 84, 947, 11, 290, 257, 15315, 4833, 621, 642, 30, 46506, 327, 28270, 7, 21871, 8, 16034, 3084, 62, 3672, 62, 2791, 33411, 6802, 796, 366, 38009,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 48705, 468, 281, 18902, 286, 442, 282, 501, 1222, 17266, 363, 346, 500, 479, 84, 947, 11, 290, 257, 15315, 4833, 621, 642, 30, 46506, 327, 28270, 7, 21871, 8, 16034, 3084, 62, 3672, 62, 2791, 33411, 6802, 796, 366, 38009,...
what is the years when the duration is 13 years and the character is renee phelan?
SELECT years FROM table_name_17 WHERE duration = "13 years" AND character = "renee phelan"
[ 10919, 318, 262, 812, 618, 262, 9478, 318, 1511, 812, 290, 262, 2095, 318, 302, 21381, 279, 2978, 272, 30, 46506, 812, 16034, 3084, 62, 3672, 62, 1558, 33411, 9478, 796, 366, 1485, 812, 1, 5357, 2095, 796, 366, 260, 21381, 279, 2978...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 812, 618, 262, 9478, 318, 1511, 812, 290, 262, 2095, 318, 302, 21381, 279, 2978, 272, 30, 46506, 812, 16034, 3084, 62, 3672, 62, 1558, 33411, 9478, 796, 366, 1485, 812, 1, 5357, 2095, 796, 366, 260, 21381, 279, 2978...
When was a game played at 7:00 pm?
SELECT date FROM table_name_65 WHERE time = "7:00 pm"
[ 2215, 373, 257, 983, 2826, 379, 767, 25, 405, 9114, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 2996, 33411, 640, 796, 366, 22, 25, 405, 9114, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 373, 257, 983, 2826, 379, 767, 25, 405, 9114, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 2996, 33411, 640, 796, 366, 22, 25, 405, 9114, 1 ]
flights from NEWARK to BOSTON
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'NEWARK' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'BOSTON'...
[ 2704, 2337, 422, 12682, 14175, 284, 347, 10892, 1340, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 2738...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2704, 2337, 422, 12682, 14175, 284, 347, 10892, 1340, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 2738...
Users with most Necromancer Badges.
SELECT UserId AS "user_link", COUNT(*) AS Badges FROM Badges WHERE Badges.Name = 'Necromancer' GROUP BY UserId ORDER BY Badges DESC LIMIT 100
[ 14490, 351, 749, 19652, 38211, 7772, 3212, 13, 46506, 11787, 7390, 7054, 366, 7220, 62, 8726, 1600, 327, 28270, 7, 28104, 7054, 7772, 3212, 16034, 7772, 3212, 33411, 7772, 3212, 13, 5376, 796, 705, 45, 721, 38211, 6, 44441, 11050, 11787...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 14490, 351, 749, 19652, 38211, 7772, 3212, 13, 46506, 11787, 7390, 7054, 366, 7220, 62, 8726, 1600, 327, 28270, 7, 28104, 7054, 7772, 3212, 16034, 7772, 3212, 33411, 7772, 3212, 13, 5376, 796, 705, 45, 721, 38211, 6, 44441, 11050, 11787...
In what League is the Reed School?
SELECT "League" FROM table_53409 WHERE "School" = 'reed'
[ 818, 644, 4041, 318, 262, 16105, 3961, 30, 46506, 366, 24623, 1, 16034, 3084, 62, 4310, 29416, 33411, 366, 26130, 1, 796, 705, 15977, 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 ]
[ 818, 644, 4041, 318, 262, 16105, 3961, 30, 46506, 366, 24623, 1, 16034, 3084, 62, 4310, 29416, 33411, 366, 26130, 1, 796, 705, 15977, 6 ]
Tell me the network for 13 january 2009
SELECT "Network" FROM table_4341 WHERE "Premiere" = '13 january 2009'
[ 24446, 502, 262, 3127, 329, 1511, 42897, 2838, 3717, 46506, 366, 26245, 1, 16034, 3084, 62, 19, 33660, 33411, 366, 24914, 13235, 1, 796, 705, 1485, 42897, 2838, 3717, 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 ]
[ 24446, 502, 262, 3127, 329, 1511, 42897, 2838, 3717, 46506, 366, 26245, 1, 16034, 3084, 62, 19, 33660, 33411, 366, 24914, 13235, 1, 796, 705, 1485, 42897, 2838, 3717, 6 ]
A stacked bar chart showing the number of faults for different fault short name and skills required to fix them The x-axis is falut short name and group by skill description, and sort y axis in desc order.
SELECT fault_short_name, COUNT(fault_short_name) FROM Part_Faults AS T1 JOIN Skills_Required_To_Fix AS T2 ON T1.part_fault_id = T2.part_fault_id JOIN Skills AS T3 ON T2.skill_id = T3.skill_id GROUP BY skill_description, fault_short_name ORDER BY COUNT(fault_short_name) DESC
[ 32, 24167, 2318, 8262, 4478, 262, 1271, 286, 31025, 329, 1180, 8046, 1790, 1438, 290, 4678, 2672, 284, 4259, 606, 383, 2124, 12, 22704, 318, 24215, 315, 1790, 1438, 290, 1448, 416, 5032, 6764, 11, 290, 3297, 331, 16488, 287, 1715, 150...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 32, 24167, 2318, 8262, 4478, 262, 1271, 286, 31025, 329, 1180, 8046, 1790, 1438, 290, 4678, 2672, 284, 4259, 606, 383, 2124, 12, 22704, 318, 24215, 315, 1790, 1438, 290, 1448, 416, 5032, 6764, 11, 290, 3297, 331, 16488, 287, 1715, 150...
tell me the time and type of admission of patient josette orr.
SELECT demographic.admission_type, demographic.admittime FROM demographic WHERE demographic.name = "Josette Orr"
[ 33331, 502, 262, 640, 290, 2099, 286, 13938, 286, 5827, 474, 418, 5857, 393, 81, 13, 46506, 16728, 13, 324, 3411, 62, 4906, 11, 16728, 13, 324, 20124, 524, 16034, 16728, 33411, 16728, 13, 3672, 796, 366, 41, 418, 5857, 1471, 81, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 33331, 502, 262, 640, 290, 2099, 286, 13938, 286, 5827, 474, 418, 5857, 393, 81, 13, 46506, 16728, 13, 324, 3411, 62, 4906, 11, 16728, 13, 324, 20124, 524, 16034, 16728, 33411, 16728, 13, 3672, 796, 366, 41, 418, 5857, 1471, 81, 1 ]
did patient 030-47098 ever have a chemotherapy procedure in any other hospital since 2105?
SELECT COUNT(*) > 0 FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.uniquepid = '030-47098' AND patient.hospitalid <> (SELECT DISTINCT patient.hospitalid FROM patient WHERE patient.uniquepid = '030-47098' AND patient.hospitaldischargetime IS NULL)) AND tr...
[ 20839, 5827, 657, 1270, 12, 27790, 4089, 1683, 423, 257, 34696, 8771, 287, 597, 584, 4436, 1201, 362, 13348, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 3513, 33411, 3513, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 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...
[ 20839, 5827, 657, 1270, 12, 27790, 4089, 1683, 423, 257, 34696, 8771, 287, 597, 584, 4436, 1201, 362, 13348, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 3513, 33411, 3513, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13,...
Name the record for february 25
SELECT "Record" FROM table_69493 WHERE "Date" = 'february 25'
[ 5376, 262, 1700, 329, 730, 65, 3728, 1679, 46506, 366, 23739, 1, 16034, 3084, 62, 3388, 43134, 33411, 366, 10430, 1, 796, 705, 69, 1765, 3728, 1679, 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 ]
[ 5376, 262, 1700, 329, 730, 65, 3728, 1679, 46506, 366, 23739, 1, 16034, 3084, 62, 3388, 43134, 33411, 366, 10430, 1, 796, 705, 69, 1765, 3728, 1679, 6 ]
How many episodes had 11.86 million US viewers?
SELECT COUNT("No. in Series") FROM table_30413 WHERE "U.S. viewers (millions)" = '11.86'
[ 2437, 867, 8640, 550, 1367, 13, 4521, 1510, 1294, 10209, 30, 46506, 327, 28270, 7203, 2949, 13, 287, 7171, 4943, 16034, 3084, 62, 21288, 1485, 33411, 366, 52, 13, 50, 13, 10209, 357, 17805, 507, 16725, 796, 705, 1157, 13, 4521, 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 ]
[ 2437, 867, 8640, 550, 1367, 13, 4521, 1510, 1294, 10209, 30, 46506, 327, 28270, 7203, 2949, 13, 287, 7171, 4943, 16034, 3084, 62, 21288, 1485, 33411, 366, 52, 13, 50, 13, 10209, 357, 17805, 507, 16725, 796, 705, 1157, 13, 4521, 6 ]
out of total number of patients with item id 51288, how many of them were married?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.marital_status = "MARRIED" AND lab.itemid = "51288"
[ 448, 286, 2472, 1271, 286, 3871, 351, 2378, 4686, 22243, 3459, 11, 703, 867, 286, 606, 547, 6405, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 448, 286, 2472, 1271, 286, 3871, 351, 2378, 4686, 22243, 3459, 11, 703, 867, 286, 606, 547, 6405, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728,...
What is the attendance of the game that has the opponent of The Nationals with a record of 68-51?
SELECT SUM("Attendance") FROM table_37610 WHERE "Opponent" = 'nationals' AND "Record" = '68-51'
[ 2061, 318, 262, 14858, 286, 262, 983, 326, 468, 262, 6125, 286, 383, 26291, 351, 257, 1700, 286, 8257, 12, 4349, 30, 46506, 35683, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 32128, 940, 33411, 366, 27524, 3471, 1, 796, 705, 14648, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 14858, 286, 262, 983, 326, 468, 262, 6125, 286, 383, 26291, 351, 257, 1700, 286, 8257, 12, 4349, 30, 46506, 35683, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 32128, 940, 33411, 366, 27524, 3471, 1, 796, 705, 14648, ...
For those employees who do not work in departments with managers that have ids between 100 and 200, find hire_date and the average of manager_id bin hire_date by time, and visualize them by a bar chart.
SELECT HIRE_DATE, AVG(MANAGER_ID) FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200)
[ 1890, 883, 4409, 508, 466, 407, 670, 287, 13346, 351, 11663, 326, 423, 220, 2340, 1022, 1802, 290, 939, 11, 1064, 11078, 62, 4475, 290, 262, 2811, 286, 4706, 62, 312, 9874, 11078, 62, 4475, 416, 640, 11, 290, 38350, 606, 416, 257, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4409, 508, 466, 407, 670, 287, 13346, 351, 11663, 326, 423, 220, 2340, 1022, 1802, 290, 939, 11, 1064, 11078, 62, 4475, 290, 262, 2811, 286, 4706, 62, 312, 9874, 11078, 62, 4475, 416, 640, 11, 290, 38350, 606, 416, 257, ...
count the number of patients whose discharge location is disch-tran to psych hosp and admission year is less than 2172?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.discharge_location = "DISCH-TRAN TO PSYCH HOSP" AND demographic.admityear < "2172"
[ 9127, 262, 1271, 286, 3871, 3025, 17655, 4067, 318, 595, 354, 12, 2213, 272, 284, 3795, 10496, 290, 13938, 614, 318, 1342, 621, 362, 23628, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17655, 4067, 318, 595, 354, 12, 2213, 272, 284, 3795, 10496, 290, 13938, 614, 318, 1342, 621, 362, 23628, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, ...
What is the score of the away team that played richmond?
SELECT "Away team score" FROM table_53002 WHERE "Home team" = 'richmond'
[ 2061, 318, 262, 4776, 286, 262, 1497, 1074, 326, 2826, 5527, 6327, 30, 46506, 366, 32, 1014, 1074, 4776, 1, 16034, 3084, 62, 4310, 21601, 33411, 366, 16060, 1074, 1, 796, 705, 7527, 6327, 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, 4776, 286, 262, 1497, 1074, 326, 2826, 5527, 6327, 30, 46506, 366, 32, 1014, 1074, 4776, 1, 16034, 3084, 62, 4310, 21601, 33411, 366, 16060, 1074, 1, 796, 705, 7527, 6327, 6 ]
What is the maximum age of patients that died and are equal to or more than 71 years?
SELECT MAX(demographic.age) FROM demographic WHERE demographic.expire_flag = "0" AND demographic.age >= "71"
[ 2061, 318, 262, 5415, 2479, 286, 3871, 326, 3724, 290, 389, 4961, 284, 393, 517, 621, 9166, 812, 30, 46506, 25882, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 1069, 5111, 62, 32109, 796, 366, 15, 1, 5357, 16728, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 5415, 2479, 286, 3871, 326, 3724, 290, 389, 4961, 284, 393, 517, 621, 9166, 812, 30, 46506, 25882, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 1069, 5111, 62, 32109, 796, 366, 15, 1, 5357, 16728, 13, ...
type ii diabetes, depression, bmi < 44 ,ages between 21 _ 65 and female
SELECT * FROM table_dev_42 WHERE diabetic = 'ii' AND depression = 1 AND body_mass_index_bmi < 44 AND (age >= 21 AND age <= 65) AND gender = 'female'
[ 4906, 21065, 12593, 11, 8862, 11, 275, 11632, 1279, 5846, 837, 1095, 1022, 2310, 4808, 6135, 290, 4048, 46506, 1635, 16034, 3084, 62, 7959, 62, 3682, 33411, 44016, 796, 705, 4178, 6, 5357, 8862, 796, 352, 5357, 1767, 62, 22208, 62, 96...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4906, 21065, 12593, 11, 8862, 11, 275, 11632, 1279, 5846, 837, 1095, 1022, 2310, 4808, 6135, 290, 4048, 46506, 1635, 16034, 3084, 62, 7959, 62, 3682, 33411, 44016, 796, 705, 4178, 6, 5357, 8862, 796, 352, 5357, 1767, 62, 22208, 62, 96...
A bar chart about the number of first name for all female students whose sex is F, and list by the x-axis in ascending.
SELECT Fname, COUNT(Fname) FROM Student WHERE Sex = 'F' GROUP BY Fname ORDER BY Fname
[ 32, 2318, 8262, 546, 262, 1271, 286, 717, 1438, 329, 477, 4048, 2444, 3025, 1714, 318, 376, 11, 290, 1351, 416, 262, 2124, 12, 22704, 287, 41988, 13, 46506, 376, 3672, 11, 327, 28270, 7, 37, 3672, 8, 16034, 13613, 33411, 14419, 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 ]
[ 32, 2318, 8262, 546, 262, 1271, 286, 717, 1438, 329, 477, 4048, 2444, 3025, 1714, 318, 376, 11, 290, 1351, 416, 262, 2124, 12, 22704, 287, 41988, 13, 46506, 376, 3672, 11, 327, 28270, 7, 37, 3672, 8, 16034, 13613, 33411, 14419, 796,...
What is the maximum overall number?
SELECT MAX("#") FROM table_31369
[ 2061, 318, 262, 5415, 4045, 1271, 30, 46506, 25882, 7203, 2, 4943, 16034, 3084, 62, 25838, 3388 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 5415, 4045, 1271, 30, 46506, 25882, 7203, 2, 4943, 16034, 3084, 62, 25838, 3388 ]
Name the others % for bush number 1372
SELECT others__percentage FROM table_23014476_1 WHERE bush__number = 1372
[ 5376, 262, 1854, 4064, 329, 24484, 1271, 1511, 4761, 46506, 1854, 834, 25067, 496, 16034, 3084, 62, 1954, 486, 2598, 4304, 62, 16, 33411, 24484, 834, 17618, 796, 1511, 4761 ]
[ 1, 1, 1, 1, 1, 1, 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, 1854, 4064, 329, 24484, 1271, 1511, 4761, 46506, 1854, 834, 25067, 496, 16034, 3084, 62, 1954, 486, 2598, 4304, 62, 16, 33411, 24484, 834, 17618, 796, 1511, 4761 ]
How many million of windows phones were shipped during the quarter that shipped 216.2 million total?
SELECT "Windows Phone" FROM table_973 WHERE "Total" = '216.2'
[ 2437, 867, 1510, 286, 9168, 9512, 547, 14338, 1141, 262, 3860, 326, 14338, 26881, 13, 17, 1510, 2472, 30, 46506, 366, 11209, 14484, 1, 16034, 3084, 62, 24, 4790, 33411, 366, 14957, 1, 796, 705, 20666, 13, 17, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 1510, 286, 9168, 9512, 547, 14338, 1141, 262, 3860, 326, 14338, 26881, 13, 17, 1510, 2472, 30, 46506, 366, 11209, 14484, 1, 16034, 3084, 62, 24, 4790, 33411, 366, 14957, 1, 796, 705, 20666, 13, 17, 6 ]
What's the Cardinalatial Title has the Elevated of December 18, 1182, the Place of birth of Lucca, and the Electo rof Pandolfo?
SELECT "Cardinalatial title" FROM table_64897 WHERE "Elevated" = 'december 18, 1182' AND "Place of birth" = 'lucca' AND "Elector" = 'pandolfo'
[ 2061, 338, 262, 25564, 34961, 11851, 468, 262, 37881, 515, 286, 3426, 1248, 11, 1367, 6469, 11, 262, 8474, 286, 4082, 286, 6026, 13227, 11, 290, 262, 5903, 78, 686, 69, 16492, 4024, 78, 30, 46506, 366, 16962, 1292, 34961, 3670, 1, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 25564, 34961, 11851, 468, 262, 37881, 515, 286, 3426, 1248, 11, 1367, 6469, 11, 262, 8474, 286, 4082, 286, 6026, 13227, 11, 290, 262, 5903, 78, 686, 69, 16492, 4024, 78, 30, 46506, 366, 16962, 1292, 34961, 3670, 1, 1...
what is the number of patients whose discharge location is left against medical advi and lab test name is rdw?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.discharge_location = "LEFT AGAINST MEDICAL ADVI" AND lab.label = "RDW"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 17655, 4067, 318, 1364, 1028, 3315, 1354, 72, 290, 2248, 1332, 1438, 318, 374, 67, 86, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 1271, 286, 3871, 3025, 17655, 4067, 318, 1364, 1028, 3315, 1354, 72, 290, 2248, 1332, 1438, 318, 374, 67, 86, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, ...
Name the year for 8 rank
SELECT "Year" FROM table_10377 WHERE "Rank" = '8'
[ 5376, 262, 614, 329, 807, 4279, 46506, 366, 17688, 1, 16034, 3084, 62, 940, 26514, 33411, 366, 27520, 1, 796, 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 ]
[ 5376, 262, 614, 329, 807, 4279, 46506, 366, 17688, 1, 16034, 3084, 62, 940, 26514, 33411, 366, 27520, 1, 796, 705, 23, 6 ]
Return a bar graph for the name of the school that has the smallest enrollment in each state, and order from high to low by the x axis.
SELECT cName, MIN(enr) FROM College GROUP BY state ORDER BY cName DESC
[ 13615, 257, 2318, 4823, 329, 262, 1438, 286, 262, 1524, 326, 468, 262, 18197, 20753, 287, 1123, 1181, 11, 290, 1502, 422, 1029, 284, 1877, 416, 262, 2124, 16488, 13, 46506, 269, 5376, 11, 20625, 7, 268, 81, 8, 16034, 5535, 44441, 11...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13615, 257, 2318, 4823, 329, 262, 1438, 286, 262, 1524, 326, 468, 262, 18197, 20753, 287, 1123, 1181, 11, 290, 1502, 422, 1029, 284, 1877, 416, 262, 2124, 16488, 13, 46506, 269, 5376, 11, 20625, 7, 268, 81, 8, 16034, 5535, 44441, 11...
How many ballot measures had a percentage yes of 52.11%?
SELECT COUNT(passed) FROM table_256286_39 WHERE _percentage_yes = "52.11%"
[ 2437, 867, 11100, 5260, 550, 257, 5873, 3763, 286, 6740, 13, 1157, 4, 30, 46506, 327, 28270, 7, 6603, 276, 8, 16034, 3084, 62, 11645, 27033, 62, 2670, 33411, 4808, 25067, 496, 62, 8505, 796, 366, 4309, 13, 1157, 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 ]
[ 2437, 867, 11100, 5260, 550, 257, 5873, 3763, 286, 6740, 13, 1157, 4, 30, 46506, 327, 28270, 7, 6603, 276, 8, 16034, 3084, 62, 11645, 27033, 62, 2670, 33411, 4808, 25067, 496, 62, 8505, 796, 366, 4309, 13, 1157, 39658 ]