instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
Provide the number of patients born before 2123 who have s/p hanging primary disease.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.dob_year < "2071" AND prescriptions.route = "ED"
[ 15946, 485, 262, 1271, 286, 3871, 4642, 878, 362, 10163, 508, 423, 264, 14, 79, 10938, 4165, 4369, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 1672...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 15946, 485, 262, 1271, 286, 3871, 4642, 878, 362, 10163, 508, 423, 264, 14, 79, 10938, 4165, 4369, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 1672...
out of total number of patients who had intraoperative cardiac pacemaker, calculate the number of those tested for blood gas.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE procedures.long_title = "Intraoperative cardiac pacemaker" AND lab."CATEGORY" = "Blood Gas"
[ 448, 286, 2472, 1271, 286, 3871, 508, 550, 23422, 27173, 26077, 23503, 32174, 11, 15284, 262, 1271, 286, 883, 6789, 329, 2910, 3623, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 214...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 508, 550, 23422, 27173, 26077, 23503, 32174, 11, 15284, 262, 1271, 286, 883, 6789, 329, 2910, 3623, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 214...
provide the number of patients whose ethnicity is hispanic/latino - puerto rican and drug code is hydx25?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.ethnicity = "HISPANIC/LATINO - PUERTO RICAN" AND prescriptions.formulary_drug_cd = "HYDX25"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 26289, 318, 465, 35843, 14, 15460, 2879, 532, 47574, 13806, 374, 7490, 290, 2563, 2438, 318, 7409, 87, 1495, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 15234, 485, 262, 1271, 286, 3871, 3025, 26289, 318, 465, 35843, 14, 15460, 2879, 532, 47574, 13806, 374, 7490, 290, 2563, 2438, 318, 7409, 87, 1495, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, ...
What was the surface where the outcome was winner on 12 march 1989?
SELECT surface FROM table_name_19 WHERE outcome = "winner" AND date = "12 march 1989"
[ 2061, 373, 262, 4417, 810, 262, 8055, 373, 8464, 319, 1105, 9960, 11104, 30, 46506, 4417, 16034, 3084, 62, 3672, 62, 1129, 33411, 8055, 796, 366, 39791, 1, 5357, 3128, 796, 366, 1065, 9960, 11104, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4417, 810, 262, 8055, 373, 8464, 319, 1105, 9960, 11104, 30, 46506, 4417, 16034, 3084, 62, 3672, 62, 1129, 33411, 8055, 796, 366, 39791, 1, 5357, 3128, 796, 366, 1065, 9960, 11104, 1 ]
how may patients below 83 years of age are diagnosed with personal history of malignant neoplasm of gastrointestinal tract, unspecified?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.age < "83" AND diagnoses.long_title = "Personal history of malignant neoplasm of gastrointestinal tract, unspecified"
[ 4919, 743, 3871, 2174, 9698, 812, 286, 2479, 389, 14641, 351, 2614, 2106, 286, 6428, 25114, 497, 20106, 8597, 286, 40887, 14998, 11, 29547, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 743, 3871, 2174, 9698, 812, 286, 2479, 389, 14641, 351, 2614, 2106, 286, 6428, 25114, 497, 20106, 8597, 286, 40887, 14998, 11, 29547, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 32...
Show me a bar chart for what is the total credit does each department offer?, I want to list X in desc order.
SELECT DEPT_CODE, SUM(CRS_CREDIT) FROM COURSE GROUP BY DEPT_CODE ORDER BY DEPT_CODE DESC
[ 15307, 502, 257, 2318, 8262, 329, 644, 318, 262, 2472, 3884, 857, 1123, 5011, 2897, 21747, 314, 765, 284, 1351, 1395, 287, 1715, 1502, 13, 46506, 5550, 11571, 62, 34, 16820, 11, 35683, 7, 34, 6998, 62, 9419, 24706, 8, 16034, 37384, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 502, 257, 2318, 8262, 329, 644, 318, 262, 2472, 3884, 857, 1123, 5011, 2897, 21747, 314, 765, 284, 1351, 1395, 287, 1715, 1502, 13, 46506, 5550, 11571, 62, 34, 16820, 11, 35683, 7, 34, 6998, 62, 9419, 24706, 8, 16034, 37384, ...
What was the attendance on May 26?
SELECT "Attendance" FROM table_68604 WHERE "Date" = 'may 26'
[ 2061, 373, 262, 14858, 319, 1737, 2608, 30, 46506, 366, 8086, 437, 590, 1, 16034, 3084, 62, 3104, 31916, 33411, 366, 10430, 1, 796, 705, 11261, 2608, 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, 14858, 319, 1737, 2608, 30, 46506, 366, 8086, 437, 590, 1, 16034, 3084, 62, 3104, 31916, 33411, 366, 10430, 1, 796, 705, 11261, 2608, 6 ]
how many radio stations are there in grand junction ?
SELECT COUNT(*) FROM table_203_657 WHERE "city of license" = 'grand junction'
[ 4919, 867, 5243, 8985, 389, 612, 287, 4490, 35037, 5633, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 22416, 62, 37680, 33411, 366, 19205, 286, 5964, 1, 796, 705, 23936, 35037, 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 ]
[ 4919, 867, 5243, 8985, 389, 612, 287, 4490, 35037, 5633, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 22416, 62, 37680, 33411, 366, 19205, 286, 5964, 1, 796, 705, 23936, 35037, 6 ]
Plot how many minister by grouped by minister as a bar graph, and list in desc by the y axis.
SELECT Minister, COUNT(Minister) FROM party GROUP BY Minister ORDER BY COUNT(Minister) DESC
[ 43328, 703, 867, 5342, 416, 32824, 416, 5342, 355, 257, 2318, 4823, 11, 290, 1351, 287, 1715, 416, 262, 331, 16488, 13, 46506, 4139, 11, 327, 28270, 7, 9452, 1694, 8, 16034, 2151, 44441, 11050, 4139, 38678, 11050, 327, 28270, 7, 9452,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 43328, 703, 867, 5342, 416, 32824, 416, 5342, 355, 257, 2318, 4823, 11, 290, 1351, 287, 1715, 416, 262, 331, 16488, 13, 46506, 4139, 11, 327, 28270, 7, 9452, 1694, 8, 16034, 2151, 44441, 11050, 4139, 38678, 11050, 327, 28270, 7, 9452,...
how much is the cost of protein c?
SELECT DISTINCT cost.cost FROM cost WHERE cost.eventtype = 'lab' AND cost.eventid IN (SELECT lab.labid FROM lab WHERE lab.labname = 'protein c')
[ 4919, 881, 318, 262, 1575, 286, 7532, 269, 30, 46506, 360, 8808, 1268, 4177, 1575, 13, 15805, 16034, 1575, 33411, 1575, 13, 15596, 4906, 796, 705, 23912, 6, 5357, 1575, 13, 15596, 312, 3268, 357, 46506, 2248, 13, 23912, 312, 16034, 22...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 881, 318, 262, 1575, 286, 7532, 269, 30, 46506, 360, 8808, 1268, 4177, 1575, 13, 15805, 16034, 1575, 33411, 1575, 13, 15596, 4906, 796, 705, 23912, 6, 5357, 1575, 13, 15596, 312, 3268, 357, 46506, 2248, 13, 23912, 312, 16034, 22...
Name the engine for ecurie lutetia
SELECT "Engine" FROM table_74237 WHERE "Entrant" = 'Ecurie Lutetia'
[ 5376, 262, 3113, 329, 9940, 333, 494, 300, 315, 316, 544, 46506, 366, 13798, 1, 16034, 3084, 62, 4524, 24693, 33411, 366, 14539, 5250, 1, 796, 705, 36, 22019, 494, 406, 315, 316, 544, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 3113, 329, 9940, 333, 494, 300, 315, 316, 544, 46506, 366, 13798, 1, 16034, 3084, 62, 4524, 24693, 33411, 366, 14539, 5250, 1, 796, 705, 36, 22019, 494, 406, 315, 316, 544, 6 ]
when was last time patient 002-41152 was measured with a sao2 greater than 86.0 on last month/16?
SELECT vitalperiodic.observationtime FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '002-41152')) AND vitalperiodic.sao2 > 86.0 AND NOT ...
[ 12518, 373, 938, 640, 5827, 3571, 17, 12, 42224, 4309, 373, 8630, 351, 257, 473, 78, 17, 3744, 621, 9849, 13, 15, 319, 938, 1227, 14, 1433, 30, 46506, 9204, 41007, 291, 13, 672, 3168, 341, 2435, 16034, 9204, 41007, 291, 33411, 9204,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12518, 373, 938, 640, 5827, 3571, 17, 12, 42224, 4309, 373, 8630, 351, 257, 473, 78, 17, 3744, 621, 9849, 13, 15, 319, 938, 1227, 14, 1433, 30, 46506, 9204, 41007, 291, 13, 672, 3168, 341, 2435, 16034, 9204, 41007, 291, 33411, 9204,...
show me all flights from ATLANTA to SAN FRANCISCO which leave ATLANTA after 1700 o'clock pm tomorrow
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, date_day, days, flight WHERE ((date_day.day_number = 20 AND date_day.month_number = 1 AND date_day.year = 1991 AND days.day_name = date_day.day_name AND flight.departure_time...
[ 12860, 502, 477, 13956, 422, 5161, 25697, 5603, 284, 37376, 8782, 20940, 1797, 8220, 543, 2666, 5161, 25697, 5603, 706, 35665, 267, 6, 15750, 9114, 9439, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 70...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12860, 502, 477, 13956, 422, 5161, 25697, 5603, 284, 37376, 8782, 20940, 1797, 8220, 543, 2666, 5161, 25697, 5603, 706, 35665, 267, 6, 15750, 9114, 9439, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 70...
which is the only team that had more than 21 losses ?
SELECT "club" FROM table_204_135 WHERE "losses" > 21
[ 4758, 318, 262, 691, 1074, 326, 550, 517, 621, 2310, 9089, 5633, 46506, 366, 18664, 1, 16034, 3084, 62, 18638, 62, 17059, 33411, 366, 22462, 274, 1, 1875, 2310 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4758, 318, 262, 691, 1074, 326, 550, 517, 621, 2310, 9089, 5633, 46506, 366, 18664, 1, 16034, 3084, 62, 18638, 62, 17059, 33411, 366, 22462, 274, 1, 1875, 2310 ]
how many patients are primarily suffering from coronary heart disease with age below 70?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "CORONARY ARTERY DISEASE" AND demographic.age < "70"
[ 4919, 867, 3871, 389, 7525, 7195, 422, 37151, 2612, 4369, 351, 2479, 2174, 4317, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 47356, 5958, 796, 366, 44879, 1340, 13153, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 389, 7525, 7195, 422, 37151, 2612, 4369, 351, 2479, 2174, 4317, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 47356, 5958, 796, 366, 44879, 1340, 13153, ...
who was picked after patrick murphy ?
SELECT "player" FROM table_203_455 WHERE "#" > (SELECT "#" FROM table_203_455 WHERE "player" = 'patrick murphy') ORDER BY "#" LIMIT 1
[ 8727, 373, 6497, 706, 1458, 5557, 4636, 6883, 5633, 46506, 366, 7829, 1, 16034, 3084, 62, 22416, 62, 30505, 33411, 25113, 1, 1875, 357, 46506, 25113, 1, 16034, 3084, 62, 22416, 62, 30505, 33411, 366, 7829, 1, 796, 705, 29615, 4636, 68...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 373, 6497, 706, 1458, 5557, 4636, 6883, 5633, 46506, 366, 7829, 1, 16034, 3084, 62, 22416, 62, 30505, 33411, 25113, 1, 1875, 357, 46506, 25113, 1, 16034, 3084, 62, 22416, 62, 30505, 33411, 366, 7829, 1, 796, 705, 29615, 4636, 68...
How many people wrote 'Paddy's Pub: The Worst Bar in Philadelphia'?
SELECT COUNT("Written by") FROM table_31052 WHERE "Title" = 'Paddy''s Pub: The Worst Bar in Philadelphia'
[ 2437, 867, 661, 2630, 705, 47, 13218, 338, 8525, 25, 383, 33443, 2409, 287, 8857, 30960, 46506, 327, 28270, 7203, 25354, 416, 4943, 16034, 3084, 62, 26717, 4309, 33411, 366, 19160, 1, 796, 705, 47, 13218, 7061, 82, 8525, 25, 383, 3344...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 661, 2630, 705, 47, 13218, 338, 8525, 25, 383, 33443, 2409, 287, 8857, 30960, 46506, 327, 28270, 7203, 25354, 416, 4943, 16034, 3084, 62, 26717, 4309, 33411, 366, 19160, 1, 796, 705, 47, 13218, 7061, 82, 8525, 25, 383, 3344...
What is lead for the Election Results polling firm and has a PSOE of 39.6% 175?
SELECT lead FROM table_name_8 WHERE polling_firm = "election results" AND psoe = "39.6% 175"
[ 2061, 318, 1085, 329, 262, 14219, 15691, 13985, 4081, 290, 468, 257, 6599, 27799, 286, 5014, 13, 21, 4, 19038, 30, 46506, 1085, 16034, 3084, 62, 3672, 62, 23, 33411, 13985, 62, 69, 2533, 796, 366, 14300, 2482, 1, 5357, 279, 568, 68,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1085, 329, 262, 14219, 15691, 13985, 4081, 290, 468, 257, 6599, 27799, 286, 5014, 13, 21, 4, 19038, 30, 46506, 1085, 16034, 3084, 62, 3672, 62, 23, 33411, 13985, 62, 69, 2533, 796, 366, 14300, 2482, 1, 5357, 279, 568, 68,...
What is the minimum Height of the Little Switzerland Tunnel?
SELECT minimum_height FROM table_name_49 WHERE name_of_the_tunnel = "little switzerland tunnel"
[ 2061, 318, 262, 5288, 27280, 286, 262, 7703, 14679, 35863, 30, 46506, 5288, 62, 17015, 16034, 3084, 62, 3672, 62, 2920, 33411, 1438, 62, 1659, 62, 1169, 62, 28286, 4954, 796, 366, 31629, 1509, 13947, 13275, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 5288, 27280, 286, 262, 7703, 14679, 35863, 30, 46506, 5288, 62, 17015, 16034, 3084, 62, 3672, 62, 2920, 33411, 1438, 62, 1659, 62, 1169, 62, 28286, 4954, 796, 366, 31629, 1509, 13947, 13275, 1 ]
Find all posts where a certain user has edited and included a certain keyword.
SELECT DISTINCT PostHistory.PostId AS "post_link" FROM PostHistory LEFT JOIN Posts ON Posts.Id = PostHistory.PostId WHERE PostHistoryTypeId = 5 AND Text LIKE '%' + '##keyword:string##' + '%' AND OwnerUserId = '##UserId##' AND Posts.CreationDate > '##date##'
[ 16742, 477, 6851, 810, 257, 1728, 2836, 468, 13012, 290, 3017, 257, 1728, 21179, 13, 46506, 360, 8808, 1268, 4177, 2947, 18122, 13, 6307, 7390, 7054, 366, 7353, 62, 8726, 1, 16034, 2947, 18122, 12509, 9792, 32357, 1268, 12043, 6177, 120...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 477, 6851, 810, 257, 1728, 2836, 468, 13012, 290, 3017, 257, 1728, 21179, 13, 46506, 360, 8808, 1268, 4177, 2947, 18122, 13, 6307, 7390, 7054, 366, 7353, 62, 8726, 1, 16034, 2947, 18122, 12509, 9792, 32357, 1268, 12043, 6177, 120...
Limiting Posts by Date and Rep, Parameterized, with Links (Tutorial).
SELECT p.Id AS "post_link", u.Id AS "user_link", u.Reputation FROM Posts AS p JOIN Users AS u ON p.OwnerUserId = u.Id WHERE p.CreationDate BETWEEN '##StartDate:string##' AND '##EndDate:string##' AND p.PostTypeId = 1 AND u.Reputation < '##MaxReputation:int##'
[ 19352, 1780, 12043, 416, 7536, 290, 1432, 11, 25139, 2357, 1143, 11, 351, 21691, 357, 51, 44917, 737, 46506, 279, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 334, 13, 7390, 7054, 366, 7220, 62, 8726, 1600, 334, 13, 6207, 7094, 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...
[ 19352, 1780, 12043, 416, 7536, 290, 1432, 11, 25139, 2357, 1143, 11, 351, 21691, 357, 51, 44917, 737, 46506, 279, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 334, 13, 7390, 7054, 366, 7220, 62, 8726, 1600, 334, 13, 6207, 7094, 16034, ...
how many patients whose gender is f and year of birth is less than 1821?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.gender = "F" AND demographic.dob_year < "1821"
[ 4919, 867, 3871, 3025, 5279, 318, 277, 290, 614, 286, 4082, 318, 1342, 621, 1248, 2481, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 8388, 796, 366, 37, 1, 5357, 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 ]
[ 4919, 867, 3871, 3025, 5279, 318, 277, 290, 614, 286, 4082, 318, 1342, 621, 1248, 2481, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 8388, 796, 366, 37, 1, 5357, 16728...
Which team did they play on September 19?
SELECT opponent FROM table_name_66 WHERE date = "september 19"
[ 13828, 1074, 750, 484, 711, 319, 2693, 678, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 2791, 33411, 3128, 796, 366, 325, 457, 1491, 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 ]
[ 13828, 1074, 750, 484, 711, 319, 2693, 678, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 2791, 33411, 3128, 796, 366, 325, 457, 1491, 678, 1 ]
how many patients whose admission type is urgent and drug name is calcium carbonate?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.admission_type = "URGENT" AND prescriptions.drug = "Calcium Carbonate"
[ 4919, 867, 3871, 3025, 13938, 2099, 318, 18039, 290, 2563, 1438, 318, 19700, 6588, 378, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, 18108,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2563, 1438, 318, 19700, 6588, 378, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, 18108,...
Name the record on june 22
SELECT record FROM table_name_89 WHERE date = "june 22"
[ 5376, 262, 1700, 319, 474, 1726, 2534, 46506, 1700, 16034, 3084, 62, 3672, 62, 4531, 33411, 3128, 796, 366, 73, 1726, 2534, 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, 319, 474, 1726, 2534, 46506, 1700, 16034, 3084, 62, 3672, 62, 4531, 33411, 3128, 796, 366, 73, 1726, 2534, 1 ]
Can BIOPHYS 619 be taken as MDE ?
SELECT COUNT(*) > 0 FROM course, program, program_course WHERE course.department = 'BIOPHYS' AND course.number = 619 AND program_course.category LIKE '%MDE%' AND program_course.course_id = course.course_id AND program.name LIKE '%CS-LSA%' AND program.program_id = program_course.program_id
[ 6090, 20068, 3185, 39, 16309, 718, 1129, 307, 2077, 355, 337, 7206, 5633, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 1781, 11, 1430, 11, 1430, 62, 17319, 33411, 1781, 13, 10378, 1823, 796, 705, 3483, 3185, 39, 16309, 6, 5357, 1781...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 6090, 20068, 3185, 39, 16309, 718, 1129, 307, 2077, 355, 337, 7206, 5633, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 1781, 11, 1430, 11, 1430, 62, 17319, 33411, 1781, 13, 10378, 1823, 796, 705, 3483, 3185, 39, 16309, 6, 5357, 1781...
What are the daily hire costs for the products with substring 'Book' in its name?
SELECT daily_hire_cost FROM products_for_hire WHERE product_name LIKE '%Book%'
[ 2061, 389, 262, 4445, 11078, 3484, 329, 262, 3186, 351, 3293, 1806, 705, 10482, 6, 287, 663, 1438, 30, 46506, 4445, 62, 10695, 62, 15805, 16034, 3186, 62, 1640, 62, 10695, 33411, 1720, 62, 3672, 34178, 705, 4, 10482, 4, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 262, 4445, 11078, 3484, 329, 262, 3186, 351, 3293, 1806, 705, 10482, 6, 287, 663, 1438, 30, 46506, 4445, 62, 10695, 62, 15805, 16034, 3186, 62, 1640, 62, 10695, 33411, 1720, 62, 3672, 34178, 705, 4, 10482, 4, 6 ]
what is the number of patients whose ethnicity is black/haitian and item id is 51099?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.ethnicity = "BLACK/HAITIAN" AND lab.itemid = "51099"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 26289, 318, 2042, 14, 3099, 270, 666, 290, 2378, 4686, 318, 35148, 2079, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 224...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 26289, 318, 2042, 14, 3099, 270, 666, 290, 2378, 4686, 318, 35148, 2079, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 224...
How many songs have a shared vocal?
SELECT COUNT(DISTINCT title) FROM vocals AS T1 JOIN songs AS T2 ON T1.songid = T2.songid WHERE type = "shared"
[ 2437, 867, 7259, 423, 257, 4888, 12435, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 3670, 8, 16034, 25355, 7054, 309, 16, 32357, 1268, 7259, 7054, 309, 17, 6177, 309, 16, 13, 34050, 312, 796, 309, 17, 13, 34050, 312, 33411, 2099...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7259, 423, 257, 4888, 12435, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 3670, 8, 16034, 25355, 7054, 309, 16, 32357, 1268, 7259, 7054, 309, 17, 6177, 309, 16, 13, 34050, 312, 796, 309, 17, 13, 34050, 312, 33411, 2099...
When Prof. Edward Chamberlin teaches it , does PROSTHOD 879 have a lab ?
SELECT COUNT(*) = 0 FROM course INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN offering_instructor ON offering_instructor.offering_id = course_offering.offering_id INNER JOIN instructor ON offering_instructor.instructor_id = instructor.instructor_id WHERE course.department = 'PROS...
[ 2215, 4415, 13, 10443, 15840, 2815, 17324, 340, 837, 857, 4810, 10892, 39, 3727, 807, 3720, 423, 257, 2248, 5633, 46506, 327, 28270, 7, 28104, 796, 657, 16034, 1781, 3268, 21479, 32357, 1268, 1781, 62, 2364, 1586, 6177, 1781, 13, 17319,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4415, 13, 10443, 15840, 2815, 17324, 340, 837, 857, 4810, 10892, 39, 3727, 807, 3720, 423, 257, 2248, 5633, 46506, 327, 28270, 7, 28104, 796, 657, 16034, 1781, 3268, 21479, 32357, 1268, 1781, 62, 2364, 1586, 6177, 1781, 13, 17319,...
In what district is the city listed in Serial number 9?
SELECT COUNT(district) FROM table_18425346_2 WHERE serial_no = 9
[ 818, 644, 4783, 318, 262, 1748, 5610, 287, 23283, 1271, 860, 30, 46506, 327, 28270, 7, 17080, 2012, 8, 16034, 3084, 62, 22883, 1495, 30557, 62, 17, 33411, 11389, 62, 3919, 796, 860 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4783, 318, 262, 1748, 5610, 287, 23283, 1271, 860, 30, 46506, 327, 28270, 7, 17080, 2012, 8, 16034, 3084, 62, 22883, 1495, 30557, 62, 17, 33411, 11389, 62, 3919, 796, 860 ]
Name the FCC info for frequency Mhz of 95.3 fm
SELECT fcc_info FROM table_name_34 WHERE frequency_mhz = "95.3 fm"
[ 5376, 262, 15915, 7508, 329, 8373, 337, 32179, 286, 6957, 13, 18, 277, 76, 46506, 277, 535, 62, 10951, 16034, 3084, 62, 3672, 62, 2682, 33411, 8373, 62, 76, 32179, 796, 366, 3865, 13, 18, 277, 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 ]
[ 5376, 262, 15915, 7508, 329, 8373, 337, 32179, 286, 6957, 13, 18, 277, 76, 46506, 277, 535, 62, 10951, 16034, 3084, 62, 3672, 62, 2682, 33411, 8373, 62, 76, 32179, 796, 366, 3865, 13, 18, 277, 76, 1 ]
What is the full number of New Council when the previous council was 54 and the staying councilor number is bigger than 36?
SELECT COUNT("New council") FROM table_10293 WHERE "Previous council" = '54' AND "Staying councillors" > '36'
[ 2061, 318, 262, 1336, 1271, 286, 968, 4281, 618, 262, 2180, 6745, 373, 7175, 290, 262, 10589, 6745, 273, 1271, 318, 5749, 621, 4570, 30, 46506, 327, 28270, 7203, 3791, 6745, 4943, 16034, 3084, 62, 940, 31675, 33411, 366, 21448, 6745, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1336, 1271, 286, 968, 4281, 618, 262, 2180, 6745, 373, 7175, 290, 262, 10589, 6745, 273, 1271, 318, 5749, 621, 4570, 30, 46506, 327, 28270, 7203, 3791, 6745, 4943, 16034, 3084, 62, 940, 31675, 33411, 366, 21448, 6745, ...
What is the pick with Dean Sears and round larger than 6?
SELECT MIN(pick) FROM table_name_61 WHERE round > 6 AND player = "dean sears"
[ 2061, 318, 262, 2298, 351, 11325, 36895, 290, 2835, 4025, 621, 718, 30, 46506, 20625, 7, 27729, 8, 16034, 3084, 62, 3672, 62, 5333, 33411, 2835, 1875, 718, 5357, 2137, 796, 366, 2934, 272, 384, 945, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2298, 351, 11325, 36895, 290, 2835, 4025, 621, 718, 30, 46506, 20625, 7, 27729, 8, 16034, 3084, 62, 3672, 62, 5333, 33411, 2835, 1875, 718, 5357, 2137, 796, 366, 2934, 272, 384, 945, 1 ]
how much does patient 19473's arterial bp [diastolic] change from the last value measured on the first intensive care unit visit compared to the second to last value measured on the first intensive care unit visit?
SELECT (SELECT chartevents.valuenum FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 19473) AND NOT icustays.outtime IS NULL ORDER BY icustays.intime LIMIT 1) AND chartevents.item...
[ 4919, 881, 857, 5827, 21709, 18, 338, 30675, 498, 275, 79, 685, 10989, 459, 4160, 60, 1487, 422, 262, 938, 1988, 8630, 319, 262, 717, 18590, 1337, 4326, 3187, 3688, 284, 262, 1218, 284, 938, 1988, 8630, 319, 262, 717, 18590, 1337, 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...
[ 4919, 881, 857, 5827, 21709, 18, 338, 30675, 498, 275, 79, 685, 10989, 459, 4160, 60, 1487, 422, 262, 938, 1988, 8630, 319, 262, 717, 18590, 1337, 4326, 3187, 3688, 284, 262, 1218, 284, 938, 1988, 8630, 319, 262, 717, 18590, 1337, 4...
what is the minimum hospital cost for a drug with a name called clarithromycin since 4 years ago?
SELECT MIN(t1.c1) FROM (SELECT SUM(cost.cost) AS c1 FROM cost WHERE cost.hadm_id IN (SELECT prescriptions.hadm_id FROM prescriptions WHERE prescriptions.drug = 'clarithromycin') AND DATETIME(cost.chargetime) >= DATETIME(CURRENT_TIME(), '-4 year') GROUP BY cost.hadm_id) AS t1
[ 10919, 318, 262, 5288, 4436, 1575, 329, 257, 2563, 351, 257, 1438, 1444, 10212, 342, 50228, 17879, 1201, 604, 812, 2084, 30, 46506, 20625, 7, 83, 16, 13, 66, 16, 8, 16034, 357, 46506, 35683, 7, 15805, 13, 15805, 8, 7054, 269, 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...
[ 10919, 318, 262, 5288, 4436, 1575, 329, 257, 2563, 351, 257, 1438, 1444, 10212, 342, 50228, 17879, 1201, 604, 812, 2084, 30, 46506, 20625, 7, 83, 16, 13, 66, 16, 8, 16034, 357, 46506, 35683, 7, 15805, 13, 15805, 8, 7054, 269, 16, ...
how many hours has it been since patient 033-22108's last pancreatic tumor diagnosis during their current hospital encounter.
SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', diagnosis.diagnosistime)) FROM diagnosis WHERE diagnosis.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '033-22108...
[ 4919, 867, 2250, 468, 340, 587, 1201, 5827, 657, 2091, 12, 1828, 15711, 338, 938, 47767, 291, 22359, 13669, 1141, 511, 1459, 4436, 8791, 13, 46506, 1987, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694, 28955, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 2250, 468, 340, 587, 1201, 5827, 657, 2091, 12, 1828, 15711, 338, 938, 47767, 291, 22359, 13669, 1141, 511, 1459, 4436, 8791, 13, 46506, 1987, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694, 28955, ...
Show the number of documents in each day for all documents on project with details 'Graph Database project' and bin document date by weekday with a bar chart, and display by the Y from high to low.
SELECT Document_Date, COUNT(Document_Date) FROM Documents AS T1 JOIN Projects AS T2 ON T1.Project_ID = T2.Project_ID WHERE T2.Project_Details = 'Graph Database project' ORDER BY COUNT(Document_Date) DESC
[ 15307, 262, 1271, 286, 4963, 287, 1123, 1110, 329, 477, 4963, 319, 1628, 351, 3307, 705, 37065, 24047, 1628, 6, 290, 9874, 3188, 3128, 416, 28269, 351, 257, 2318, 8262, 11, 290, 3359, 416, 262, 575, 422, 1029, 284, 1877, 13, 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...
[ 15307, 262, 1271, 286, 4963, 287, 1123, 1110, 329, 477, 4963, 319, 1628, 351, 3307, 705, 37065, 24047, 1628, 6, 290, 9874, 3188, 3128, 416, 28269, 351, 257, 2318, 8262, 11, 290, 3359, 416, 262, 575, 422, 1029, 284, 1877, 13, 46506, ...
Users with at least X total badges.
SELECT UserId AS "user_link", COUNT(*) AS badgeCount FROM Badges GROUP BY UserId HAVING COUNT(*) > 100 ORDER BY badgeCount DESC
[ 14490, 351, 379, 1551, 1395, 2472, 37583, 13, 46506, 11787, 7390, 7054, 366, 7220, 62, 8726, 1600, 327, 28270, 7, 28104, 7054, 23009, 12332, 16034, 7772, 3212, 44441, 11050, 11787, 7390, 367, 10116, 2751, 327, 28270, 7, 28104, 1875, 1802,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 379, 1551, 1395, 2472, 37583, 13, 46506, 11787, 7390, 7054, 366, 7220, 62, 8726, 1600, 327, 28270, 7, 28104, 7054, 23009, 12332, 16034, 7772, 3212, 44441, 11050, 11787, 7390, 367, 10116, 2751, 327, 28270, 7, 28104, 1875, 1802,...
what is the average number of patients diagnosed with staphylococcus unspcfied daily until 2104?
SELECT AVG(t1.c1) FROM (SELECT COUNT(DISTINCT diagnoses_icd.hadm_id) AS c1 FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'staphylococcus unspcfied') AND STRFTIME('%y', diagnoses_icd.charttime) <= '2104' GROUP BY STRFTIME('%y...
[ 10919, 318, 262, 2811, 1271, 286, 3871, 14641, 351, 336, 6570, 2645, 34403, 9042, 555, 2777, 12993, 798, 4445, 1566, 362, 13464, 30, 46506, 35224, 7, 83, 16, 13, 66, 16, 8, 16034, 357, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 405...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2811, 1271, 286, 3871, 14641, 351, 336, 6570, 2645, 34403, 9042, 555, 2777, 12993, 798, 4445, 1566, 362, 13464, 30, 46506, 35224, 7, 83, 16, 13, 66, 16, 8, 16034, 357, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 405...
Which venue had a lost 5-4 result?
SELECT "Venue" FROM table_45184 WHERE "Result" = 'lost 5-4'
[ 13828, 14359, 550, 257, 2626, 642, 12, 19, 1255, 30, 46506, 366, 37522, 518, 1, 16034, 3084, 62, 2231, 22883, 33411, 366, 23004, 1, 796, 705, 33224, 642, 12, 19, 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, 14359, 550, 257, 2626, 642, 12, 19, 1255, 30, 46506, 366, 37522, 518, 1, 16034, 3084, 62, 2231, 22883, 33411, 366, 23004, 1, 796, 705, 33224, 642, 12, 19, 6 ]
Return a pie on how many patients do each physician take care of? List their names and number of patients they take care of.
SELECT T1.Name, COUNT(*) FROM Physician AS T1 JOIN Patient AS T2 ON T1.EmployeeID = T2.PCP GROUP BY T1.EmployeeID
[ 13615, 257, 2508, 319, 703, 867, 3871, 466, 1123, 14325, 1011, 1337, 286, 30, 7343, 511, 3891, 290, 1271, 286, 3871, 484, 1011, 1337, 286, 13, 46506, 309, 16, 13, 5376, 11, 327, 28270, 7, 28104, 16034, 8687, 6749, 7054, 309, 16, 323...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2508, 319, 703, 867, 3871, 466, 1123, 14325, 1011, 1337, 286, 30, 7343, 511, 3891, 290, 1271, 286, 3871, 484, 1011, 1337, 286, 13, 46506, 309, 16, 13, 5376, 11, 327, 28270, 7, 28104, 16034, 8687, 6749, 7054, 309, 16, 323...
how many dates are listed as free ?
SELECT COUNT("date") FROM table_204_539 WHERE "fee" = 'free'
[ 4919, 867, 9667, 389, 5610, 355, 1479, 5633, 46506, 327, 28270, 7203, 4475, 4943, 16034, 3084, 62, 18638, 62, 20, 2670, 33411, 366, 39071, 1, 796, 705, 5787, 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 ]
[ 4919, 867, 9667, 389, 5610, 355, 1479, 5633, 46506, 327, 28270, 7203, 4475, 4943, 16034, 3084, 62, 18638, 62, 20, 2670, 33411, 366, 39071, 1, 796, 705, 5787, 6 ]
Bar chart x axis nationality y axis how many nationality, and sort in desc by the bar.
SELECT Nationality, COUNT(Nationality) FROM swimmer GROUP BY Nationality ORDER BY Nationality DESC
[ 10374, 8262, 2124, 16488, 29835, 331, 16488, 703, 867, 29835, 11, 290, 3297, 287, 1715, 416, 262, 2318, 13, 46506, 2351, 414, 11, 327, 28270, 7, 16186, 414, 8, 16034, 9422, 647, 44441, 11050, 2351, 414, 38678, 11050, 2351, 414, 22196, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 29835, 331, 16488, 703, 867, 29835, 11, 290, 3297, 287, 1715, 416, 262, 2318, 13, 46506, 2351, 414, 11, 327, 28270, 7, 16186, 414, 8, 16034, 9422, 647, 44441, 11050, 2351, 414, 38678, 11050, 2351, 414, 22196, ...
What is the lowest attendance on October 3, 1965?
SELECT MIN(attendance) FROM table_name_17 WHERE date = "october 3, 1965"
[ 2061, 318, 262, 9016, 14858, 319, 3267, 513, 11, 17672, 30, 46506, 20625, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 1558, 33411, 3128, 796, 366, 38441, 2023, 513, 11, 17672, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 9016, 14858, 319, 3267, 513, 11, 17672, 30, 46506, 20625, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 1558, 33411, 3128, 796, 366, 38441, 2023, 513, 11, 17672, 1 ]
Show different occupations along with the number of players in each occupation with a bar chart, and list by the x axis in asc.
SELECT Occupation, COUNT(*) FROM player GROUP BY Occupation ORDER BY Occupation
[ 15307, 1180, 23308, 1863, 351, 262, 1271, 286, 1938, 287, 1123, 13755, 351, 257, 2318, 8262, 11, 290, 1351, 416, 262, 2124, 16488, 287, 10570, 13, 46506, 15227, 341, 11, 327, 28270, 7, 28104, 16034, 2137, 44441, 11050, 15227, 341, 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 ]
[ 15307, 1180, 23308, 1863, 351, 262, 1271, 286, 1938, 287, 1123, 13755, 351, 257, 2318, 8262, 11, 290, 1351, 416, 262, 2124, 16488, 287, 10570, 13, 46506, 15227, 341, 11, 327, 28270, 7, 28104, 16034, 2137, 44441, 11050, 15227, 341, 38678...
Name the date of st albans city for result of drew 0-0
SELECT date FROM table_name_73 WHERE opponent = "st albans city" AND result = "drew 0-0"
[ 5376, 262, 3128, 286, 336, 435, 65, 504, 1748, 329, 1255, 286, 9859, 657, 12, 15, 46506, 3128, 16034, 3084, 62, 3672, 62, 4790, 33411, 6125, 796, 366, 301, 435, 65, 504, 1748, 1, 5357, 1255, 796, 366, 67, 1809, 657, 12, 15, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 3128, 286, 336, 435, 65, 504, 1748, 329, 1255, 286, 9859, 657, 12, 15, 46506, 3128, 16034, 3084, 62, 3672, 62, 4790, 33411, 6125, 796, 366, 301, 435, 65, 504, 1748, 1, 5357, 1255, 796, 366, 67, 1809, 657, 12, 15, 1 ]
Return the ids and details corresponding to projects for which there are more than two documents Show bar chart, could you show by the X in desc?
SELECT T1.Project_Details, T1.Project_ID FROM Projects AS T1 JOIN Documents AS T2 ON T1.Project_ID = T2.Project_ID ORDER BY T1.Project_Details DESC
[ 13615, 262, 220, 2340, 290, 3307, 11188, 284, 4493, 329, 543, 612, 389, 517, 621, 734, 4963, 5438, 2318, 8262, 11, 714, 345, 905, 416, 262, 1395, 287, 1715, 30, 46506, 309, 16, 13, 16775, 62, 24259, 11, 309, 16, 13, 16775, 62, 238...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 262, 220, 2340, 290, 3307, 11188, 284, 4493, 329, 543, 612, 389, 517, 621, 734, 4963, 5438, 2318, 8262, 11, 714, 345, 905, 416, 262, 1395, 287, 1715, 30, 46506, 309, 16, 13, 16775, 62, 24259, 11, 309, 16, 13, 16775, 62, 238...
What Label has a Region of united states, and a Format of cassette?
SELECT "Label" FROM table_59822 WHERE "Region" = 'united states' AND "Format" = 'cassette'
[ 2061, 36052, 468, 257, 17718, 286, 16503, 2585, 11, 290, 257, 18980, 286, 42812, 30, 46506, 366, 33986, 1, 16034, 3084, 62, 41292, 1828, 33411, 366, 47371, 1, 796, 705, 41187, 2585, 6, 5357, 366, 26227, 1, 796, 705, 66, 562, 5857, 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, 36052, 468, 257, 17718, 286, 16503, 2585, 11, 290, 257, 18980, 286, 42812, 30, 46506, 366, 33986, 1, 16034, 3084, 62, 41292, 1828, 33411, 366, 47371, 1, 796, 705, 41187, 2585, 6, 5357, 366, 26227, 1, 796, 705, 66, 562, 5857, 6...
What's the report for the Silverstone circuit?
SELECT report FROM table_1140117_5 WHERE circuit = "Silverstone"
[ 2061, 338, 262, 989, 329, 262, 7698, 6440, 10349, 30, 46506, 989, 16034, 3084, 62, 16562, 486, 1558, 62, 20, 33411, 10349, 796, 366, 26766, 6440, 1 ]
[ 1, 1, 1, 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, 989, 329, 262, 7698, 6440, 10349, 30, 46506, 989, 16034, 3084, 62, 16562, 486, 1558, 62, 20, 33411, 10349, 796, 366, 26766, 6440, 1 ]
How many female Professors do we have?
SELECT COUNT(*) FROM Faculty WHERE Sex = 'F' AND Rank = "Professor"
[ 2437, 867, 4048, 4415, 23295, 466, 356, 423, 30, 46506, 327, 28270, 7, 28104, 16034, 35262, 33411, 14419, 796, 705, 37, 6, 5357, 10916, 796, 366, 25031, 1 ]
[ 1, 1, 1, 1, 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, 4048, 4415, 23295, 466, 356, 423, 30, 46506, 327, 28270, 7, 28104, 16034, 35262, 33411, 14419, 796, 705, 37, 6, 5357, 10916, 796, 366, 25031, 1 ]
How many entries for 1983-84 when 1984-85 is Terri Gilreath?
SELECT COUNT("1983-84") FROM table_25169 WHERE "1984-85" = 'Terri Gilreath'
[ 2437, 867, 12784, 329, 13540, 12, 5705, 618, 12844, 12, 5332, 318, 3813, 380, 10689, 19367, 30, 46506, 327, 28270, 7203, 29279, 12, 5705, 4943, 16034, 3084, 62, 1495, 22172, 33411, 366, 28296, 12, 5332, 1, 796, 705, 15156, 380, 10689, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12784, 329, 13540, 12, 5705, 618, 12844, 12, 5332, 318, 3813, 380, 10689, 19367, 30, 46506, 327, 28270, 7203, 29279, 12, 5705, 4943, 16034, 3084, 62, 1495, 22172, 33411, 366, 28296, 12, 5332, 1, 796, 705, 15156, 380, 10689, ...
patients < 18 years of age
SELECT * FROM table_train_68 WHERE age < 18
[ 8071, 2334, 1279, 1248, 812, 286, 2479, 46506, 1635, 16034, 3084, 62, 27432, 62, 3104, 33411, 2479, 1279, 1248 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8071, 2334, 1279, 1248, 812, 286, 2479, 46506, 1635, 16034, 3084, 62, 27432, 62, 3104, 33411, 2479, 1279, 1248 ]
List all headquarters and the number of companies in each headquarter, show in descending by the x axis.
SELECT Headquarters, COUNT(*) FROM company GROUP BY Headquarters ORDER BY Headquarters DESC
[ 8053, 477, 10043, 290, 262, 1271, 286, 2706, 287, 1123, 1182, 24385, 11, 905, 287, 31491, 416, 262, 2124, 16488, 13, 46506, 32193, 11, 327, 28270, 7, 28104, 16034, 1664, 44441, 11050, 32193, 38678, 11050, 32193, 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 ]
[ 8053, 477, 10043, 290, 262, 1271, 286, 2706, 287, 1123, 1182, 24385, 11, 905, 287, 31491, 416, 262, 2124, 16488, 13, 46506, 32193, 11, 327, 28270, 7, 28104, 16034, 1664, 44441, 11050, 32193, 38678, 11050, 32193, 22196, 34 ]
Which branding has the callsign of DXGH?
SELECT "Branding" FROM table_30764 WHERE "Callsign" = 'DXGH'
[ 13828, 24150, 468, 262, 3848, 570, 286, 19393, 17511, 30, 46506, 366, 9414, 27225, 1, 16034, 3084, 62, 22996, 2414, 33411, 366, 34, 5691, 570, 1, 796, 705, 36227, 17511, 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, 24150, 468, 262, 3848, 570, 286, 19393, 17511, 30, 46506, 366, 9414, 27225, 1, 16034, 3084, 62, 22996, 2414, 33411, 366, 34, 5691, 570, 1, 796, 705, 36227, 17511, 6 ]
tell me the number of patients who were born before 2146.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.dob_year < "2146"
[ 33331, 502, 262, 1271, 286, 3871, 508, 547, 4642, 878, 362, 20964, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 67, 672, 62, 1941, 1279, 366, 17, 20964, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1271, 286, 3871, 508, 547, 4642, 878, 362, 20964, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 67, 672, 62, 1941, 1279, 366, 17, 20964, 1 ]
What is the Score when Set 2 shows 25-20, and a Total of 75 - 49?
SELECT score FROM table_name_27 WHERE set_2 = "25-20" AND total = "75 - 49"
[ 2061, 318, 262, 15178, 618, 5345, 362, 2523, 1679, 12, 1238, 11, 290, 257, 7472, 286, 5441, 532, 5125, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 1983, 33411, 900, 62, 17, 796, 366, 1495, 12, 1238, 1, 5357, 2472, 796, 366, 2425, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15178, 618, 5345, 362, 2523, 1679, 12, 1238, 11, 290, 257, 7472, 286, 5441, 532, 5125, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 1983, 33411, 900, 62, 17, 796, 366, 1495, 12, 1238, 1, 5357, 2472, 796, 366, 2425, ...
Name the cfl team for steven turner
SELECT cfl_team FROM table_25017530_5 WHERE player = "Steven Turner"
[ 5376, 262, 269, 2704, 1074, 329, 2876, 574, 1210, 263, 46506, 269, 2704, 62, 15097, 16034, 3084, 62, 1495, 486, 2425, 1270, 62, 20, 33411, 2137, 796, 366, 28292, 15406, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 269, 2704, 1074, 329, 2876, 574, 1210, 263, 46506, 269, 2704, 62, 15097, 16034, 3084, 62, 1495, 486, 2425, 1270, 62, 20, 33411, 2137, 796, 366, 28292, 15406, 1 ]
What outcome has a score of 12-22?
SELECT result FROM table_name_69 WHERE score = "12-22"
[ 2061, 8055, 468, 257, 4776, 286, 1105, 12, 1828, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 3388, 33411, 4776, 796, 366, 1065, 12, 1828, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 8055, 468, 257, 4776, 286, 1105, 12, 1828, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 3388, 33411, 4776, 796, 366, 1065, 12, 1828, 1 ]
select * from posts.
SELECT * FROM Posts
[ 19738, 1635, 422, 6851, 13, 46506, 1635, 16034, 12043 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 19738, 1635, 422, 6851, 13, 46506, 1635, 16034, 12043 ]
what is the average total cost of the hospital that includes testing in the mcv laboratory in 2105?
SELECT AVG(t1.c1) FROM (SELECT SUM(cost.cost) AS c1 FROM cost WHERE cost.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.patientunitstayid IN (SELECT lab.patientunitstayid FROM lab WHERE lab.labname = 'mcv')) AND STRFTIME('%y', cost.chargetime) = '2105' GROUP BY cost.pa...
[ 10919, 318, 262, 2811, 2472, 1575, 286, 262, 4436, 326, 3407, 4856, 287, 262, 285, 33967, 14010, 287, 362, 13348, 30, 46506, 35224, 7, 83, 16, 13, 66, 16, 8, 16034, 357, 46506, 35683, 7, 15805, 13, 15805, 8, 7054, 269, 16, 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...
[ 10919, 318, 262, 2811, 2472, 1575, 286, 262, 4436, 326, 3407, 4856, 287, 262, 285, 33967, 14010, 287, 362, 13348, 30, 46506, 35224, 7, 83, 16, 13, 66, 16, 8, 16034, 357, 46506, 35683, 7, 15805, 13, 15805, 8, 7054, 269, 16, 16034, ...
What is the average value for 2005, when the value for 2008 is greater than 0, when the value for 2007 is greater than 310, when the Average annual is 767, and when the Total is greater than 4,597?
SELECT AVG(2005) FROM table_name_38 WHERE 2008 > 0 AND 2007 > 310 AND average_annual = 767 AND total > 4 OFFSET 597
[ 2061, 318, 262, 2811, 1988, 329, 5075, 11, 618, 262, 1988, 329, 3648, 318, 3744, 621, 657, 11, 618, 262, 1988, 329, 4343, 318, 3744, 621, 28947, 11, 618, 262, 13475, 5079, 318, 767, 3134, 11, 290, 618, 262, 7472, 318, 3744, 621, 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...
[ 2061, 318, 262, 2811, 1988, 329, 5075, 11, 618, 262, 1988, 329, 3648, 318, 3744, 621, 657, 11, 618, 262, 1988, 329, 4343, 318, 3744, 621, 28947, 11, 618, 262, 13475, 5079, 318, 767, 3134, 11, 290, 618, 262, 7472, 318, 3744, 621, 6...
Which Sub-Parish (Sogn) was built before 1883 in the Parish (Prestegjeld) of jostedal parish and is located in the Church of Gaupne?
SELECT sub_parish__sogn_ FROM table_name_66 WHERE year_built < 1883 AND parish__prestegjeld_ = "jostedal parish" AND location_of_the_church = "gaupne"
[ 13828, 3834, 12, 10044, 680, 357, 50, 2360, 8, 373, 3170, 878, 1248, 5999, 287, 262, 35240, 357, 47, 2118, 1533, 18015, 335, 8, 286, 474, 455, 276, 282, 28830, 290, 318, 5140, 287, 262, 4564, 286, 35094, 79, 710, 30, 46506, 850, 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...
[ 13828, 3834, 12, 10044, 680, 357, 50, 2360, 8, 373, 3170, 878, 1248, 5999, 287, 262, 35240, 357, 47, 2118, 1533, 18015, 335, 8, 286, 474, 455, 276, 282, 28830, 290, 318, 5140, 287, 262, 4564, 286, 35094, 79, 710, 30, 46506, 850, 6...
Name the number for fifth district for richard houskamp
SELECT COUNT(fifth_district) FROM table_15442974_1 WHERE third_district = "Richard Houskamp"
[ 5376, 262, 1271, 329, 8150, 4783, 329, 5527, 446, 3821, 40899, 46506, 327, 28270, 7, 43556, 62, 17080, 2012, 8, 16034, 3084, 62, 1314, 2598, 1959, 4524, 62, 16, 33411, 2368, 62, 17080, 2012, 796, 366, 22245, 367, 516, 40899, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 1271, 329, 8150, 4783, 329, 5527, 446, 3821, 40899, 46506, 327, 28270, 7, 43556, 62, 17080, 2012, 8, 16034, 3084, 62, 1314, 2598, 1959, 4524, 62, 16, 33411, 2368, 62, 17080, 2012, 796, 366, 22245, 367, 516, 40899, 1 ]
What rank had more than 165 laps and a finish of 5?
SELECT "Rank" FROM table_67315 WHERE "Laps" > '165' AND "Finish" = '5'
[ 2061, 4279, 550, 517, 621, 21409, 24590, 290, 257, 5461, 286, 642, 30, 46506, 366, 27520, 1, 16034, 3084, 62, 3134, 27936, 33411, 366, 43, 1686, 1, 1875, 705, 20986, 6, 5357, 366, 48658, 1, 796, 705, 20, 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, 4279, 550, 517, 621, 21409, 24590, 290, 257, 5461, 286, 642, 30, 46506, 366, 27520, 1, 16034, 3084, 62, 3134, 27936, 33411, 366, 43, 1686, 1, 1875, 705, 20986, 6, 5357, 366, 48658, 1, 796, 705, 20, 6 ]
What replica has the 5th position?
SELECT "Replica" FROM table_70700 WHERE "Position" = '5th'
[ 2061, 30069, 468, 262, 642, 400, 2292, 30, 46506, 366, 39232, 3970, 1, 16034, 3084, 62, 2154, 9879, 33411, 366, 26545, 1, 796, 705, 20, 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 ]
[ 2061, 30069, 468, 262, 642, 400, 2292, 30, 46506, 366, 39232, 3970, 1, 16034, 3084, 62, 2154, 9879, 33411, 366, 26545, 1, 796, 705, 20, 400, 6 ]
how many of the patients insured by government had procedure icd9 code 9755?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.insurance = "Government" AND procedures.icd9_code = "9755"
[ 4919, 867, 286, 262, 3871, 31977, 416, 1230, 550, 8771, 14158, 67, 24, 2438, 860, 38172, 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, 1810...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 286, 262, 3871, 31977, 416, 1230, 550, 8771, 14158, 67, 24, 2438, 860, 38172, 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, 1810...
how many single patients are of hispanic or latino-puertorican ethnicity?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.marital_status = "SINGLE" AND demographic.ethnicity = "HISPANIC/LATINO - PUERTO RICAN"
[ 4919, 867, 2060, 3871, 389, 286, 465, 35843, 393, 3042, 2879, 12, 19944, 861, 273, 7490, 26289, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 3876, 1287, 62, 13376, 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...
[ 4919, 867, 2060, 3871, 389, 286, 465, 35843, 393, 3042, 2879, 12, 19944, 861, 273, 7490, 26289, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 3876, 1287, 62, 13376, 796, ...
How many letters were given to the organization with a founding date of 1997-12-12?
SELECT COUNT(letters) FROM table_2538117_12 WHERE founding_date = "1997-12-12"
[ 2437, 867, 7475, 547, 1813, 284, 262, 4009, 351, 257, 16636, 3128, 286, 8309, 12, 1065, 12, 1065, 30, 46506, 327, 28270, 7, 15653, 8, 16034, 3084, 62, 1495, 2548, 17657, 62, 1065, 33411, 16636, 62, 4475, 796, 366, 21498, 12, 1065, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7475, 547, 1813, 284, 262, 4009, 351, 257, 16636, 3128, 286, 8309, 12, 1065, 12, 1065, 30, 46506, 327, 28270, 7, 15653, 8, 16034, 3084, 62, 1495, 2548, 17657, 62, 1065, 33411, 16636, 62, 4475, 796, 366, 21498, 12, 1065, 1...
what is the five most often ordered drugs until 4 years ago for patients of 40s?
SELECT t1.drug FROM (SELECT prescriptions.drug, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.age BETWEEN 40 AND 49) AND DATETIME(prescriptions.startdate) <= DATETIME(CURRENT_TIME(), '-4 year') GROUP BY pres...
[ 10919, 318, 262, 1936, 749, 1690, 6149, 5010, 1566, 604, 812, 2084, 329, 3871, 286, 2319, 82, 30, 46506, 256, 16, 13, 30349, 16034, 357, 46506, 34092, 13, 30349, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1936, 749, 1690, 6149, 5010, 1566, 604, 812, 2084, 329, 3871, 286, 2319, 82, 30, 46506, 256, 16, 13, 30349, 16034, 357, 46506, 34092, 13, 30349, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327...
What is the name of the person with a 1:10.771 qual 2?
SELECT name FROM table_name_60 WHERE qual_2 = "1:10.771"
[ 2061, 318, 262, 1438, 286, 262, 1048, 351, 257, 352, 25, 940, 13, 46761, 4140, 362, 30, 46506, 1438, 16034, 3084, 62, 3672, 62, 1899, 33411, 4140, 62, 17, 796, 366, 16, 25, 940, 13, 46761, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1048, 351, 257, 352, 25, 940, 13, 46761, 4140, 362, 30, 46506, 1438, 16034, 3084, 62, 3672, 62, 1899, 33411, 4140, 62, 17, 796, 366, 16, 25, 940, 13, 46761, 1 ]
Who were the Opponents when Laura DuPont had Pam Shriver as Partner with a Score of 6-3, 6-3?
SELECT "Opponents" FROM table_6329 WHERE "Partner" = 'pam shriver' AND "Score" = '6-3, 6-3'
[ 8241, 547, 262, 9385, 3906, 618, 16753, 10343, 48039, 550, 24497, 911, 38291, 355, 35532, 351, 257, 15178, 286, 718, 12, 18, 11, 718, 12, 18, 30, 46506, 366, 27524, 3906, 1, 16034, 3084, 62, 5066, 1959, 33411, 366, 7841, 1008, 1, 79...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 547, 262, 9385, 3906, 618, 16753, 10343, 48039, 550, 24497, 911, 38291, 355, 35532, 351, 257, 15178, 286, 718, 12, 18, 11, 718, 12, 18, 30, 46506, 366, 27524, 3906, 1, 16034, 3084, 62, 5066, 1959, 33411, 366, 7841, 1008, 1, 79...
What year did he start at 13?
SELECT "Year" FROM table_80298 WHERE "Start" = '13'
[ 2061, 614, 750, 339, 923, 379, 1511, 30, 46506, 366, 17688, 1, 16034, 3084, 62, 1795, 27728, 33411, 366, 10434, 1, 796, 705, 1485, 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 ]
[ 2061, 614, 750, 339, 923, 379, 1511, 30, 46506, 366, 17688, 1, 16034, 3084, 62, 1795, 27728, 33411, 366, 10434, 1, 796, 705, 1485, 6 ]
Show the names and total passengers for all train stations not in London Visualize by bar chart, I want to list in asc by the y-axis please.
SELECT Name, Total_Passengers FROM station WHERE Location <> 'London' ORDER BY Total_Passengers
[ 15307, 262, 3891, 290, 2472, 10405, 329, 477, 4512, 8985, 407, 287, 3576, 15612, 1096, 416, 2318, 8262, 11, 314, 765, 284, 1351, 287, 10570, 416, 262, 331, 12, 22704, 3387, 13, 46506, 6530, 11, 7472, 62, 14478, 9302, 16034, 4429, 3341...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3891, 290, 2472, 10405, 329, 477, 4512, 8985, 407, 287, 3576, 15612, 1096, 416, 2318, 8262, 11, 314, 765, 284, 1351, 287, 10570, 416, 262, 331, 12, 22704, 3387, 13, 46506, 6530, 11, 7472, 62, 14478, 9302, 16034, 4429, 3341...
Are there any easy ARTDES classes that I can take ?
SELECT DISTINCT course.name, course.number, program_course.workload FROM course, program_course WHERE course.department LIKE '%ARTDES%' AND program_course.course_id = course.course_id AND program_course.workload < 3
[ 8491, 612, 597, 2562, 5923, 21016, 1546, 6097, 326, 314, 460, 1011, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 3672, 11, 1781, 13, 17618, 11, 1430, 62, 17319, 13, 1818, 2220, 16034, 1781, 11, 1430, 62, 17319, 33411, 1781, 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...
[ 8491, 612, 597, 2562, 5923, 21016, 1546, 6097, 326, 314, 460, 1011, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 3672, 11, 1781, 13, 17618, 11, 1430, 62, 17319, 13, 1818, 2220, 16034, 1781, 11, 1430, 62, 17319, 33411, 1781, 13, 10378...
Name the winning party 2007 for result of labour hold and swing to gain less than 7.11 for wrexham
SELECT "Winning party 2007" FROM table_10458 WHERE "Result" = 'labour hold' AND "Swing to gain" < '7.11' AND "Constituency" = 'wrexham'
[ 5376, 262, 5442, 2151, 4343, 329, 1255, 286, 10515, 1745, 290, 9628, 284, 4461, 1342, 621, 767, 13, 1157, 329, 266, 21510, 2763, 46506, 366, 16643, 768, 2151, 4343, 1, 16034, 3084, 62, 940, 29334, 33411, 366, 23004, 1, 796, 705, 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...
[ 5376, 262, 5442, 2151, 4343, 329, 1255, 286, 10515, 1745, 290, 9628, 284, 4461, 1342, 621, 767, 13, 1157, 329, 266, 21510, 2763, 46506, 366, 16643, 768, 2151, 4343, 1, 16034, 3084, 62, 940, 29334, 33411, 366, 23004, 1, 796, 705, 23912...
What day is st kilda the home side?
SELECT "Date" FROM table_54180 WHERE "Home team" = 'st kilda'
[ 2061, 1110, 318, 336, 479, 27281, 262, 1363, 1735, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 4051, 15259, 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 ]
[ 2061, 1110, 318, 336, 479, 27281, 262, 1363, 1735, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 4051, 15259, 33411, 366, 16060, 1074, 1, 796, 705, 301, 479, 27281, 6 ]
List the status for the operator Toronto transit commission.
SELECT status FROM table_22481967_1 WHERE operator = "Toronto Transit Commission"
[ 8053, 262, 3722, 329, 262, 10088, 6586, 11168, 5810, 13, 46506, 3722, 16034, 3084, 62, 17, 23045, 42830, 62, 16, 33411, 10088, 796, 366, 31359, 22325, 4513, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8053, 262, 3722, 329, 262, 10088, 6586, 11168, 5810, 13, 46506, 3722, 16034, 3084, 62, 17, 23045, 42830, 62, 16, 33411, 10088, 796, 366, 31359, 22325, 4513, 1 ]
A bar chart shows the distribution of meter_700 and meter_100 , and show y axis in desc order.
SELECT meter_700, meter_100 FROM swimmer ORDER BY meter_100 DESC
[ 32, 2318, 8262, 2523, 262, 6082, 286, 16430, 62, 9879, 290, 16430, 62, 3064, 837, 290, 905, 331, 16488, 287, 1715, 1502, 13, 46506, 16430, 62, 9879, 11, 16430, 62, 3064, 16034, 9422, 647, 38678, 11050, 16430, 62, 3064, 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 ]
[ 32, 2318, 8262, 2523, 262, 6082, 286, 16430, 62, 9879, 290, 16430, 62, 3064, 837, 290, 905, 331, 16488, 287, 1715, 1502, 13, 46506, 16430, 62, 9879, 11, 16430, 62, 3064, 16034, 9422, 647, 38678, 11050, 16430, 62, 3064, 22196, 34 ]
what flights go from BOSTON to DENVER before 1000
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 = 'DENVER' AND flight.departure_time < 1000 AND flight.to_airport = AIRPORT_SERVICE_1.airpor...
[ 10919, 13956, 467, 422, 347, 10892, 1340, 284, 37692, 5959, 878, 8576, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15490...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 13956, 467, 422, 347, 10892, 1340, 284, 37692, 5959, 878, 8576, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15490...
What is the total number of Attempts when Rank was larger than 4, and Net Yds was smaller than 1674?
SELECT COUNT("Attempts") FROM table_38846 WHERE "Rank" > '4' AND "Net Yds" < '1674'
[ 2061, 318, 262, 2472, 1271, 286, 25770, 82, 618, 10916, 373, 4025, 621, 604, 11, 290, 3433, 575, 9310, 373, 4833, 621, 1467, 4524, 30, 46506, 327, 28270, 7203, 48452, 4943, 16034, 3084, 62, 30460, 3510, 33411, 366, 27520, 1, 1875, 705...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2472, 1271, 286, 25770, 82, 618, 10916, 373, 4025, 621, 604, 11, 290, 3433, 575, 9310, 373, 4833, 621, 1467, 4524, 30, 46506, 327, 28270, 7203, 48452, 4943, 16034, 3084, 62, 30460, 3510, 33411, 366, 27520, 1, 1875, 705...
With team #21/#07 ss-green light racing, what was the average finish number?
SELECT "Avg. Finish" FROM table_2509 WHERE "Team(s)" = '#21/#07 SS-Green Light Racing'
[ 3152, 1074, 1303, 2481, 31113, 2998, 37786, 12, 14809, 1657, 11717, 11, 644, 373, 262, 2811, 5461, 1271, 30, 46506, 366, 48997, 13, 32585, 1, 16034, 3084, 62, 9031, 24, 33411, 366, 15592, 7, 82, 16725, 796, 705, 2, 2481, 31113, 2998, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 3152, 1074, 1303, 2481, 31113, 2998, 37786, 12, 14809, 1657, 11717, 11, 644, 373, 262, 2811, 5461, 1271, 30, 46506, 366, 48997, 13, 32585, 1, 16034, 3084, 62, 9031, 24, 33411, 366, 15592, 7, 82, 16725, 796, 705, 2, 2481, 31113, 2998, ...
A bar chart shows the distribution of All_Home and School_ID , and group by attribute ACC_Home, order in asc by the Y-axis please.
SELECT All_Home, School_ID FROM basketball_match GROUP BY ACC_Home, All_Home ORDER BY School_ID
[ 32, 2318, 8262, 2523, 262, 6082, 286, 1439, 62, 16060, 290, 3961, 62, 2389, 837, 290, 1448, 416, 11688, 15859, 62, 16060, 11, 1502, 287, 10570, 416, 262, 575, 12, 22704, 3387, 13, 46506, 1439, 62, 16060, 11, 3961, 62, 2389, 16034, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2523, 262, 6082, 286, 1439, 62, 16060, 290, 3961, 62, 2389, 837, 290, 1448, 416, 11688, 15859, 62, 16060, 11, 1502, 287, 10570, 416, 262, 575, 12, 22704, 3387, 13, 46506, 1439, 62, 16060, 11, 3961, 62, 2389, 16034, 9...
When the Home team of collingwood played, what was the opposing Away team score?
SELECT "Away team score" FROM table_58079 WHERE "Home team" = 'collingwood'
[ 2215, 262, 5995, 1074, 286, 2927, 278, 3822, 2826, 11, 644, 373, 262, 12330, 21986, 1074, 4776, 30, 46506, 366, 32, 1014, 1074, 4776, 1, 16034, 3084, 62, 39322, 3720, 33411, 366, 16060, 1074, 1, 796, 705, 26000, 278, 3822, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 262, 5995, 1074, 286, 2927, 278, 3822, 2826, 11, 644, 373, 262, 12330, 21986, 1074, 4776, 30, 46506, 366, 32, 1014, 1074, 4776, 1, 16034, 3084, 62, 39322, 3720, 33411, 366, 16060, 1074, 1, 796, 705, 26000, 278, 3822, 6 ]
What is the catalog number of the album whose label is Atlantic Records and region is the United States?
SELECT "Catalog #" FROM table_56707 WHERE "Label" = 'atlantic records' AND "Region" = 'united states'
[ 2061, 318, 262, 18388, 1271, 286, 262, 5062, 3025, 6167, 318, 10596, 13407, 290, 3814, 318, 262, 1578, 1829, 30, 46506, 366, 49015, 1303, 1, 16034, 3084, 62, 3980, 24038, 33411, 366, 33986, 1, 796, 705, 43342, 4406, 6, 5357, 366, 4737...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 18388, 1271, 286, 262, 5062, 3025, 6167, 318, 10596, 13407, 290, 3814, 318, 262, 1578, 1829, 30, 46506, 366, 49015, 1303, 1, 16034, 3084, 62, 3980, 24038, 33411, 366, 33986, 1, 796, 705, 43342, 4406, 6, 5357, 366, 4737...
Which Score has a Record of 15 12 2?
SELECT score FROM table_name_28 WHERE record = "15–12–2"
[ 13828, 15178, 468, 257, 13266, 286, 1315, 1105, 362, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 2078, 33411, 1700, 796, 366, 1314, 1906, 1065, 1906, 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 ]
[ 13828, 15178, 468, 257, 13266, 286, 1315, 1105, 362, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 2078, 33411, 1700, 796, 366, 1314, 1906, 1065, 1906, 17, 1 ]
What party did Don Fuqua belong to?
SELECT "Party" FROM table_18402 WHERE "Incumbent" = 'Don Fuqua'
[ 2061, 2151, 750, 2094, 13333, 39566, 5594, 284, 30, 46506, 366, 33553, 1, 16034, 3084, 62, 1507, 32531, 33411, 366, 25517, 2178, 298, 1, 796, 705, 3987, 13333, 39566, 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, 2151, 750, 2094, 13333, 39566, 5594, 284, 30, 46506, 366, 33553, 1, 16034, 3084, 62, 1507, 32531, 33411, 366, 25517, 2178, 298, 1, 796, 705, 3987, 13333, 39566, 6 ]
what are the COACH flights between DALLAS and BALTIMORE leaving 8 10 and returning 8 12
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, date_day AS DATE_DAY_0, date_day AS DATE_DAY_1, days AS DAYS_0, days AS DAYS_1, fare, fare_basis AS FARE_BASIS_0, fare_basis AS FARE_BASIS_1, flight, flight_fare WHERE (((DAT...
[ 10919, 389, 262, 7375, 16219, 13956, 1022, 360, 7036, 1921, 290, 347, 31429, 3955, 6965, 4305, 807, 838, 290, 8024, 807, 1105, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 389, 262, 7375, 16219, 13956, 1022, 360, 7036, 1921, 290, 347, 31429, 3955, 6965, 4305, 807, 838, 290, 8024, 807, 1105, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009...
How many competitions are held in each city? Draw a bar chart, list by the x axis in asc.
SELECT Official_Name, COUNT(Official_Name) FROM city AS T1 JOIN farm_competition AS T2 ON T1.City_ID = T2.Host_city_ID GROUP BY Official_Name ORDER BY Official_Name
[ 2437, 867, 24174, 389, 2714, 287, 1123, 1748, 30, 15315, 257, 2318, 8262, 11, 1351, 416, 262, 2124, 16488, 287, 10570, 13, 46506, 15934, 62, 5376, 11, 327, 28270, 7, 28529, 62, 5376, 8, 16034, 1748, 7054, 309, 16, 32357, 1268, 5318, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 24174, 389, 2714, 287, 1123, 1748, 30, 15315, 257, 2318, 8262, 11, 1351, 416, 262, 2124, 16488, 287, 10570, 13, 46506, 15934, 62, 5376, 11, 327, 28270, 7, 28529, 62, 5376, 8, 16034, 1748, 7054, 309, 16, 32357, 1268, 5318, ...
what is the total apps when the league apps is 4 (2)?
SELECT total_apps FROM table_name_80 WHERE league_apps = "4 (2)"
[ 10919, 318, 262, 2472, 6725, 618, 262, 4652, 6725, 318, 604, 357, 17, 19427, 46506, 2472, 62, 18211, 16034, 3084, 62, 3672, 62, 1795, 33411, 4652, 62, 18211, 796, 366, 19, 357, 17, 16725 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 2472, 6725, 618, 262, 4652, 6725, 318, 604, 357, 17, 19427, 46506, 2472, 62, 18211, 16034, 3084, 62, 3672, 62, 1795, 33411, 4652, 62, 18211, 796, 366, 19, 357, 17, 16725 ]
What player is a kicker?
SELECT "Player" FROM table_4716 WHERE "Position" = 'kicker'
[ 2061, 2137, 318, 257, 38297, 30, 46506, 366, 14140, 1, 16034, 3084, 62, 2857, 1433, 33411, 366, 26545, 1, 796, 705, 74, 15799, 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 ]
[ 2061, 2137, 318, 257, 38297, 30, 46506, 366, 14140, 1, 16034, 3084, 62, 2857, 1433, 33411, 366, 26545, 1, 796, 705, 74, 15799, 6 ]
Votes on questions and answers for [rust] per day averaged over months since 2013.
SELECT MIN(Votes.CreationDate), (COUNT(*) + 0.0) / TIME_TO_STR(LAST_DATE_OF_MONTH(MIN(Votes.CreationDate)), '%d') AS "votes per day" FROM Posts LEFT JOIN PostTags AS qTags ON qTags.PostId = Posts.Id LEFT JOIN PostTags AS aTags ON aTags.PostId = Posts.ParentId INNER JOIN Votes ON Votes.PostId = Posts.Id WHERE (VoteTypeI...
[ 53, 6421, 319, 2683, 290, 7429, 329, 685, 11469, 60, 583, 1110, 16449, 625, 1933, 1201, 2211, 13, 46506, 20625, 7, 53, 6421, 13, 12443, 341, 10430, 828, 357, 34, 28270, 7, 28104, 1343, 657, 13, 15, 8, 1220, 20460, 62, 10468, 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...
[ 53, 6421, 319, 2683, 290, 7429, 329, 685, 11469, 60, 583, 1110, 16449, 625, 1933, 1201, 2211, 13, 46506, 20625, 7, 53, 6421, 13, 12443, 341, 10430, 828, 357, 34, 28270, 7, 28104, 1343, 657, 13, 15, 8, 1220, 20460, 62, 10468, 62, 1...
How many seasons have points totals of N/A?
SELECT COUNT("Season") FROM table_28446 WHERE "Points" = 'N/A'
[ 2437, 867, 7028, 423, 2173, 26310, 286, 399, 14, 32, 30, 46506, 327, 28270, 7203, 18960, 4943, 16034, 3084, 62, 2078, 27260, 33411, 366, 40710, 1, 796, 705, 45, 14, 32, 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 ]
[ 2437, 867, 7028, 423, 2173, 26310, 286, 399, 14, 32, 30, 46506, 327, 28270, 7203, 18960, 4943, 16034, 3084, 62, 2078, 27260, 33411, 366, 40710, 1, 796, 705, 45, 14, 32, 6 ]
Which Player has a Position of forward, and a School/Club Team of georgia tech?
SELECT "Player" FROM table_7453 WHERE "Position" = 'forward' AND "School/Club Team" = 'georgia tech'
[ 13828, 7853, 468, 257, 23158, 286, 2651, 11, 290, 257, 3961, 14, 42350, 4816, 286, 4903, 2398, 544, 7261, 30, 46506, 366, 14140, 1, 16034, 3084, 62, 22, 36625, 33411, 366, 26545, 1, 796, 705, 11813, 6, 5357, 366, 26130, 14, 42350, 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 ]
[ 13828, 7853, 468, 257, 23158, 286, 2651, 11, 290, 257, 3961, 14, 42350, 4816, 286, 4903, 2398, 544, 7261, 30, 46506, 366, 14140, 1, 16034, 3084, 62, 22, 36625, 33411, 366, 26545, 1, 796, 705, 11813, 6, 5357, 366, 26130, 14, 42350, 4...
what are the number of hours that have passed since patient 017-88691's first procedure on the current hospital encounter?
SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', treatment.treatmenttime)) FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '017-88691...
[ 10919, 389, 262, 1271, 286, 2250, 326, 423, 3804, 1201, 5827, 5534, 22, 12, 3459, 49541, 338, 717, 8771, 319, 262, 1459, 4436, 8791, 30, 46506, 1987, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694, 28955, 532...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 389, 262, 1271, 286, 2250, 326, 423, 3804, 1201, 5827, 5534, 22, 12, 3459, 49541, 338, 717, 8771, 319, 262, 1459, 4436, 8791, 30, 46506, 1987, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694, 28955, 532...
What is the date of the Los Angeles open?
SELECT "Date" FROM table_5934 WHERE "Tournament" = 'los angeles open'
[ 2061, 318, 262, 3128, 286, 262, 5401, 5652, 1280, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 3270, 2682, 33411, 366, 51, 5138, 1, 796, 705, 33280, 18304, 274, 1280, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 3128, 286, 262, 5401, 5652, 1280, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 3270, 2682, 33411, 366, 51, 5138, 1, 796, 705, 33280, 18304, 274, 1280, 6 ]
What are the carries of the player Jeremiah Pope?
SELECT SUM(car) FROM table_name_83 WHERE player = "jeremiah pope"
[ 2061, 389, 262, 10732, 286, 262, 2137, 40192, 13258, 30, 46506, 35683, 7, 7718, 8, 16034, 3084, 62, 3672, 62, 5999, 33411, 2137, 796, 366, 73, 567, 35029, 26850, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 262, 10732, 286, 262, 2137, 40192, 13258, 30, 46506, 35683, 7, 7718, 8, 16034, 3084, 62, 3672, 62, 5999, 33411, 2137, 796, 366, 73, 567, 35029, 26850, 1 ]
What Golden point(s) scorer has the Away Brisbane Broncos and Home South Sydney Rabbitohs?
SELECT golden_point_s__scorer FROM table_name_14 WHERE away = "brisbane broncos" AND home = "south sydney rabbitohs"
[ 2061, 8407, 966, 7, 82, 8, 30664, 468, 262, 21986, 26914, 16582, 290, 5995, 2520, 11852, 25498, 1219, 82, 30, 46506, 10861, 62, 4122, 62, 82, 834, 1416, 11934, 16034, 3084, 62, 3672, 62, 1415, 33411, 1497, 796, 366, 15311, 20235, 1844...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8407, 966, 7, 82, 8, 30664, 468, 262, 21986, 26914, 16582, 290, 5995, 2520, 11852, 25498, 1219, 82, 30, 46506, 10861, 62, 4122, 62, 82, 834, 1416, 11934, 16034, 3084, 62, 3672, 62, 1415, 33411, 1497, 796, 366, 15311, 20235, 1844...
What is the To par of the T4 Place Player with a Score of 72-69-73=214?
SELECT "To par" FROM table_46748 WHERE "Place" = 't4' AND "Score" = '72-69-73=214'
[ 2061, 318, 262, 1675, 1582, 286, 262, 309, 19, 8474, 7853, 351, 257, 15178, 286, 7724, 12, 3388, 12, 4790, 28, 22291, 30, 46506, 366, 2514, 1582, 1, 16034, 3084, 62, 24669, 2780, 33411, 366, 27271, 1, 796, 705, 83, 19, 6, 5357, 36...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1675, 1582, 286, 262, 309, 19, 8474, 7853, 351, 257, 15178, 286, 7724, 12, 3388, 12, 4790, 28, 22291, 30, 46506, 366, 2514, 1582, 1, 16034, 3084, 62, 24669, 2780, 33411, 366, 27271, 1, 796, 705, 83, 19, 6, 5357, 36...
which species have at least 87 % sequence identity ?
SELECT "species" FROM table_204_358 WHERE "sequence identity" >= 87
[ 4758, 4693, 423, 379, 1551, 10083, 4064, 8379, 5369, 5633, 46506, 366, 35448, 1, 16034, 3084, 62, 18638, 62, 31128, 33411, 366, 43167, 5369, 1, 18189, 10083 ]
[ 1, 1, 1, 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, 4693, 423, 379, 1551, 10083, 4064, 8379, 5369, 5633, 46506, 366, 35448, 1, 16034, 3084, 62, 18638, 62, 31128, 33411, 366, 43167, 5369, 1, 18189, 10083 ]