instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
What is the lowest ERP W of the 67829 Facility ID?
SELECT MIN(erp_w) FROM table_name_54 WHERE facility_id = 67829
[ 2061, 318, 262, 9016, 13793, 47, 370, 286, 262, 718, 3695, 1959, 29118, 4522, 30, 46506, 20625, 7, 263, 79, 62, 86, 8, 16034, 3084, 62, 3672, 62, 4051, 33411, 6841, 62, 312, 796, 718, 3695, 1959 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13793, 47, 370, 286, 262, 718, 3695, 1959, 29118, 4522, 30, 46506, 20625, 7, 263, 79, 62, 86, 8, 16034, 3084, 62, 3672, 62, 4051, 33411, 6841, 62, 312, 796, 718, 3695, 1959 ]
In what Season were then less than 3 Races with less than 1 Win?
SELECT AVG("Season") FROM table_42158 WHERE "Races" < '3' AND "Wins" < '1'
[ 818, 644, 7369, 547, 788, 1342, 621, 513, 45134, 351, 1342, 621, 352, 7178, 30, 46506, 35224, 7203, 18960, 4943, 16034, 3084, 62, 3682, 21273, 33411, 366, 49, 2114, 1, 1279, 705, 18, 6, 5357, 366, 54, 1040, 1, 1279, 705, 16, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 818, 644, 7369, 547, 788, 1342, 621, 513, 45134, 351, 1342, 621, 352, 7178, 30, 46506, 35224, 7203, 18960, 4943, 16034, 3084, 62, 3682, 21273, 33411, 366, 49, 2114, 1, 1279, 705, 18, 6, 5357, 366, 54, 1040, 1, 1279, 705, 16, 6 ]
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, visualize a bar chart about the distribution of job_id and the sum of department_id , and group by attribute job_id, and sort by the bar from low to high please.
SELECT JOB_ID, SUM(DEPARTMENT_ID) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 GROUP BY JOB_ID ORDER BY JOB_ID
[ 1890, 883, 4409, 3025, 9588, 318, 287, 262, 2837, 286, 38055, 290, 1105, 830, 290, 5810, 318, 407, 9242, 393, 5011, 1271, 857, 407, 4961, 284, 2319, 11, 38350, 257, 2318, 8262, 546, 262, 6082, 286, 1693, 62, 312, 290, 262, 2160, 286...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4409, 3025, 9588, 318, 287, 262, 2837, 286, 38055, 290, 1105, 830, 290, 5810, 318, 407, 9242, 393, 5011, 1271, 857, 407, 4961, 284, 2319, 11, 38350, 257, 2318, 8262, 546, 262, 6082, 286, 1693, 62, 312, 290, 262, 2160, 286...
What year is the event in athens, greece?
SELECT MAX(year) FROM table_name_19 WHERE venue = "athens, greece"
[ 2061, 614, 318, 262, 1785, 287, 379, 5135, 11, 308, 631, 344, 30, 46506, 25882, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 1129, 33411, 14359, 796, 366, 265, 5135, 11, 308, 631, 344, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 614, 318, 262, 1785, 287, 379, 5135, 11, 308, 631, 344, 30, 46506, 25882, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 1129, 33411, 14359, 796, 366, 265, 5135, 11, 308, 631, 344, 1 ]
What is the draw number of the Artist Dav Mcnamara and a place bigger than 4?
SELECT COUNT("Draw") FROM table_48472 WHERE "Artist" = 'dav mcnamara' AND "Place" > '4'
[ 2061, 318, 262, 3197, 1271, 286, 262, 18902, 2544, 1982, 7402, 3301, 290, 257, 1295, 5749, 621, 604, 30, 46506, 327, 28270, 7203, 25302, 4943, 16034, 3084, 62, 2780, 37856, 33411, 366, 43020, 1, 796, 705, 67, 615, 36650, 7402, 3301, 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 ]
[ 2061, 318, 262, 3197, 1271, 286, 262, 18902, 2544, 1982, 7402, 3301, 290, 257, 1295, 5749, 621, 604, 30, 46506, 327, 28270, 7203, 25302, 4943, 16034, 3084, 62, 2780, 37856, 33411, 366, 43020, 1, 796, 705, 67, 615, 36650, 7402, 3301, 6...
Which ULCS course is easiest ?
SELECT DISTINCT course.department, course.name, course.number, program_course.workload, program_course.workload FROM course, program_course WHERE program_course.category LIKE '%ULCS%' AND program_course.course_id = course.course_id AND program_course.workload = (SELECT MIN(PROGRAM_COURSEalias1.workload) FROM program_co...
[ 13828, 471, 29814, 1781, 318, 16638, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 11, 1430, 62, 17319, 13, 1818, 2220, 11, 1430, 62, 17319, 13, 1818, 2220, 16034, 1781, 11, 1430, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 471, 29814, 1781, 318, 16638, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 11, 1430, 62, 17319, 13, 1818, 2220, 11, 1430, 62, 17319, 13, 1818, 2220, 16034, 1781, 11, 1430, ...
Tell me the team for victorian football league
SELECT team FROM table_name_48 WHERE competition = "victorian football league"
[ 24446, 502, 262, 1074, 329, 2210, 22618, 4346, 4652, 46506, 1074, 16034, 3084, 62, 3672, 62, 2780, 33411, 5449, 796, 366, 32433, 22618, 4346, 4652, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 24446, 502, 262, 1074, 329, 2210, 22618, 4346, 4652, 46506, 1074, 16034, 3084, 62, 3672, 62, 2780, 33411, 5449, 796, 366, 32433, 22618, 4346, 4652, 1 ]
Who was the visitor on January 24?
SELECT "Visitor" FROM table_67247 WHERE "Date" = 'january 24'
[ 8241, 373, 262, 21493, 319, 3269, 1987, 30, 46506, 366, 15854, 2072, 1, 16034, 3084, 62, 3134, 23753, 33411, 366, 10430, 1, 796, 705, 13881, 2838, 1987, 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 ]
[ 8241, 373, 262, 21493, 319, 3269, 1987, 30, 46506, 366, 15854, 2072, 1, 16034, 3084, 62, 3134, 23753, 33411, 366, 10430, 1, 796, 705, 13881, 2838, 1987, 6 ]
What is the Callsign for the station with the branding 93dot5 home radio Cagayan De Oro?
SELECT "Callsign" FROM table_47025 WHERE "Branding" = '93dot5 home radio cagayan de oro'
[ 2061, 318, 262, 4889, 12683, 329, 262, 4429, 351, 262, 24150, 10261, 26518, 20, 1363, 5243, 327, 363, 22931, 1024, 31770, 30, 46506, 366, 34, 5691, 570, 1, 16034, 3084, 62, 27790, 1495, 33411, 366, 9414, 27225, 1, 796, 705, 6052, 2651...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4889, 12683, 329, 262, 4429, 351, 262, 24150, 10261, 26518, 20, 1363, 5243, 327, 363, 22931, 1024, 31770, 30, 46506, 366, 34, 5691, 570, 1, 16034, 3084, 62, 27790, 1495, 33411, 366, 9414, 27225, 1, 796, 705, 6052, 2651...
Vote count by time period.
SELECT vt.Name, COUNT(*) FROM Votes AS v INNER JOIN VoteTypes AS vt ON v.VoteTypeId = vt.Id WHERE CreationDate >= '##Start##' AND CreationDate < '##End##' GROUP BY vt.Name ORDER BY vt.Name
[ 37394, 954, 416, 640, 2278, 13, 46506, 410, 83, 13, 5376, 11, 327, 28270, 7, 28104, 16034, 39584, 7054, 410, 3268, 21479, 32357, 1268, 19175, 31431, 7054, 410, 83, 6177, 410, 13, 37394, 6030, 7390, 796, 410, 83, 13, 7390, 33411, 21582...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 37394, 954, 416, 640, 2278, 13, 46506, 410, 83, 13, 5376, 11, 327, 28270, 7, 28104, 16034, 39584, 7054, 410, 3268, 21479, 32357, 1268, 19175, 31431, 7054, 410, 83, 6177, 410, 13, 37394, 6030, 7390, 796, 410, 83, 13, 7390, 33411, 21582...
What is the innovation when the economic incentive grime is 7.14?
SELECT innovation FROM table_23050383_1 WHERE economic_incentive_regime = "7.14"
[ 2061, 318, 262, 11044, 618, 262, 3034, 15660, 1036, 524, 318, 767, 13, 1415, 30, 46506, 11044, 16034, 3084, 62, 19214, 1120, 34741, 62, 16, 33411, 3034, 62, 42816, 425, 62, 2301, 524, 796, 366, 22, 13, 1415, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11044, 618, 262, 3034, 15660, 1036, 524, 318, 767, 13, 1415, 30, 46506, 11044, 16034, 3084, 62, 19214, 1120, 34741, 62, 16, 33411, 3034, 62, 42816, 425, 62, 2301, 524, 796, 366, 22, 13, 1415, 1 ]
how many episodes in the serie were title 'the key
SELECT COUNT("No. in series") FROM table_74425 WHERE "Title" = 'The Key'
[ 4919, 867, 8640, 287, 262, 1055, 494, 547, 3670, 705, 1169, 1994, 46506, 327, 28270, 7203, 2949, 13, 287, 2168, 4943, 16034, 3084, 62, 22, 2598, 1495, 33411, 366, 19160, 1, 796, 705, 464, 7383, 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 ]
[ 4919, 867, 8640, 287, 262, 1055, 494, 547, 3670, 705, 1169, 1994, 46506, 327, 28270, 7203, 2949, 13, 287, 2168, 4943, 16034, 3084, 62, 22, 2598, 1495, 33411, 366, 19160, 1, 796, 705, 464, 7383, 6 ]
what is the number of patients whose admission year is less than 2144 and lab test name is lipase?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admityear < "2144" AND lab.label = "Lipase"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 13938, 614, 318, 1342, 621, 362, 18444, 290, 2248, 1332, 1438, 318, 10645, 589, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 1271, 286, 3871, 3025, 13938, 614, 318, 1342, 621, 362, 18444, 290, 2248, 1332, 1438, 318, 10645, 589, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 12...
What are the number of the names of the technicians by ascending order of age?
SELECT Name, COUNT(Name) FROM technician GROUP BY Name ORDER BY Age
[ 2061, 389, 262, 1271, 286, 262, 3891, 286, 262, 33519, 416, 41988, 1502, 286, 2479, 30, 46506, 6530, 11, 327, 28270, 7, 5376, 8, 16034, 33024, 44441, 11050, 6530, 38678, 11050, 7129 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 1271, 286, 262, 3891, 286, 262, 33519, 416, 41988, 1502, 286, 2479, 30, 46506, 6530, 11, 327, 28270, 7, 5376, 8, 16034, 33024, 44441, 11050, 6530, 38678, 11050, 7129 ]
A pie chart shows the proportion of All_Road and Team_ID.
SELECT All_Road, Team_ID FROM basketball_match
[ 32, 2508, 8262, 2523, 262, 9823, 286, 1439, 62, 29197, 290, 4816, 62, 2389, 13, 46506, 1439, 62, 29197, 11, 4816, 62, 2389, 16034, 9669, 62, 15699 ]
[ 1, 1, 1, 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, 2508, 8262, 2523, 262, 9823, 286, 1439, 62, 29197, 290, 4816, 62, 2389, 13, 46506, 1439, 62, 29197, 11, 4816, 62, 2389, 16034, 9669, 62, 15699 ]
What are the different ids and names of the stations that have had more than 12 bikes available Plot them as bar chart, I want to rank from low to high by the y-axis.
SELECT name, id FROM station AS T1 JOIN status AS T2 ON T1.id = T2.station_id WHERE T2.bikes_available > 12 ORDER BY id
[ 2061, 389, 262, 1180, 220, 2340, 290, 3891, 286, 262, 8985, 326, 423, 550, 517, 621, 1105, 16715, 1695, 28114, 606, 355, 2318, 8262, 11, 314, 765, 284, 4279, 422, 1877, 284, 1029, 416, 262, 331, 12, 22704, 13, 46506, 1438, 11, 4686,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 389, 262, 1180, 220, 2340, 290, 3891, 286, 262, 8985, 326, 423, 550, 517, 621, 1105, 16715, 1695, 28114, 606, 355, 2318, 8262, 11, 314, 765, 284, 4279, 422, 1877, 284, 1029, 416, 262, 331, 12, 22704, 13, 46506, 1438, 11, 4686,...
What is Shahar Pe'er's record?
SELECT record FROM table_name_57 WHERE player = "shahar pe'er"
[ 2061, 318, 18381, 283, 2631, 6, 263, 338, 1700, 30, 46506, 1700, 16034, 3084, 62, 3672, 62, 3553, 33411, 2137, 796, 366, 1477, 37325, 613, 6, 263, 1 ]
[ 1, 1, 1, 1, 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, 18381, 283, 2631, 6, 263, 338, 1700, 30, 46506, 1700, 16034, 3084, 62, 3672, 62, 3553, 33411, 2137, 796, 366, 1477, 37325, 613, 6, 263, 1 ]
the 1990 european championships and the 1988 olympic games both resulted in what position for this competitor ?
SELECT "position" FROM table_204_780 WHERE "year" = 1990 AND "competition" = 'european championships'
[ 1169, 6303, 11063, 431, 272, 27459, 290, 262, 12122, 267, 6760, 291, 1830, 1111, 8724, 287, 644, 2292, 329, 428, 20319, 5633, 46506, 366, 9150, 1, 16034, 3084, 62, 18638, 62, 40873, 33411, 366, 1941, 1, 796, 6303, 5357, 366, 5589, 156...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6303, 11063, 431, 272, 27459, 290, 262, 12122, 267, 6760, 291, 1830, 1111, 8724, 287, 644, 2292, 329, 428, 20319, 5633, 46506, 366, 9150, 1, 16034, 3084, 62, 18638, 62, 40873, 33411, 366, 1941, 1, 796, 6303, 5357, 366, 5589, 156...
RabbitMQ Versus ActiveMQ. Popularity Over Time..
SELECT COUNT(*) AS count, TagName, TIME_TO_STR(CreationDate, '%Y') AS year FROM PostTags INNER JOIN Tags ON Tags.Id = TagId INNER JOIN Posts ON Posts.Id = PostId WHERE TagName IN ('go', 'django', 'node.js') GROUP BY TagName, TIME_TO_STR(CreationDate, '%Y') ORDER BY TIME_TO_STR(CreationDate, '%Y')
[ 49, 14229, 49215, 44079, 14199, 49215, 13, 22623, 414, 3827, 3862, 492, 46506, 327, 28270, 7, 28104, 7054, 954, 11, 17467, 5376, 11, 20460, 62, 10468, 62, 18601, 7, 12443, 341, 10430, 11, 705, 4, 56, 11537, 7054, 614, 16034, 2947, 361...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 49, 14229, 49215, 44079, 14199, 49215, 13, 22623, 414, 3827, 3862, 492, 46506, 327, 28270, 7, 28104, 7054, 954, 11, 17467, 5376, 11, 20460, 62, 10468, 62, 18601, 7, 12443, 341, 10430, 11, 705, 4, 56, 11537, 7054, 614, 16034, 2947, 361...
How many patients admitted before 2112 had icd9 code 56212?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admityear < "2112" AND diagnoses.icd9_code = "56212"
[ 2437, 867, 3871, 6848, 878, 2310, 1065, 550, 14158, 67, 24, 2438, 642, 5237, 1065, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3871, 6848, 878, 2310, 1065, 550, 14158, 67, 24, 2438, 642, 5237, 1065, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76...
WHAT IS THE TIME/ RETIRED WITH A HONDA MANUFACTURER, GRID 8?
SELECT "Time/Retired" FROM table_47680 WHERE "Manufacturer" = 'honda' AND "Grid" = '8'
[ 32971, 3180, 3336, 20460, 14, 30826, 37819, 13315, 317, 367, 1340, 5631, 17254, 36820, 10659, 4261, 1137, 11, 10863, 2389, 807, 30, 46506, 366, 7575, 14, 9781, 1202, 1, 16034, 3084, 62, 35435, 1795, 33411, 366, 44445, 15051, 1, 796, 705...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 32971, 3180, 3336, 20460, 14, 30826, 37819, 13315, 317, 367, 1340, 5631, 17254, 36820, 10659, 4261, 1137, 11, 10863, 2389, 807, 30, 46506, 366, 7575, 14, 9781, 1202, 1, 16034, 3084, 62, 35435, 1795, 33411, 366, 44445, 15051, 1, 796, 705...
Show me about the distribution of All_Home and the average of Team_ID , and group by attribute All_Home in a bar chart.
SELECT All_Home, AVG(Team_ID) FROM basketball_match GROUP BY All_Home
[ 15307, 502, 546, 262, 6082, 286, 1439, 62, 16060, 290, 262, 2811, 286, 4816, 62, 2389, 837, 290, 1448, 416, 11688, 1439, 62, 16060, 287, 257, 2318, 8262, 13, 46506, 1439, 62, 16060, 11, 35224, 7, 15592, 62, 2389, 8, 16034, 9669, 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 ]
[ 15307, 502, 546, 262, 6082, 286, 1439, 62, 16060, 290, 262, 2811, 286, 4816, 62, 2389, 837, 290, 1448, 416, 11688, 1439, 62, 16060, 287, 257, 2318, 8262, 13, 46506, 1439, 62, 16060, 11, 35224, 7, 15592, 62, 2389, 8, 16034, 9669, 62,...
What School did Player Billy Owens attend?
SELECT school FROM table_name_37 WHERE player = "billy owens"
[ 2061, 3961, 750, 7853, 15890, 31005, 5262, 30, 46506, 1524, 16034, 3084, 62, 3672, 62, 2718, 33411, 2137, 796, 366, 65, 6548, 12334, 641, 1 ]
[ 1, 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, 3961, 750, 7853, 15890, 31005, 5262, 30, 46506, 1524, 16034, 3084, 62, 3672, 62, 2718, 33411, 2137, 796, 366, 65, 6548, 12334, 641, 1 ]
Of the times the Broncos played the Cincinnati Bengals, what was the highest attendance?
SELECT MAX(attendance) FROM table_17294353_1 WHERE opponent = "Cincinnati Bengals"
[ 5189, 262, 1661, 262, 16582, 2826, 262, 16137, 24037, 11, 644, 373, 262, 4511, 14858, 30, 46506, 25882, 7, 1078, 437, 590, 8, 16034, 3084, 62, 1558, 27696, 33319, 62, 16, 33411, 6125, 796, 366, 34, 15130, 24037, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5189, 262, 1661, 262, 16582, 2826, 262, 16137, 24037, 11, 644, 373, 262, 4511, 14858, 30, 46506, 25882, 7, 1078, 437, 590, 8, 16034, 3084, 62, 1558, 27696, 33319, 62, 16, 33411, 6125, 796, 366, 34, 15130, 24037, 1 ]
The episode with the original airdate December22,1996 has what title?
SELECT title FROM table_26866233_1 WHERE original_airdate = "December22,1996"
[ 464, 4471, 351, 262, 2656, 257, 1447, 378, 3426, 1828, 11, 22288, 468, 644, 3670, 30, 46506, 3670, 16034, 3084, 62, 25022, 2791, 25429, 62, 16, 33411, 2656, 62, 958, 4475, 796, 366, 20588, 1828, 11, 22288, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 351, 262, 2656, 257, 1447, 378, 3426, 1828, 11, 22288, 468, 644, 3670, 30, 46506, 3670, 16034, 3084, 62, 25022, 2791, 25429, 62, 16, 33411, 2656, 62, 958, 4475, 796, 366, 20588, 1828, 11, 22288, 1 ]
When is it that successor's formal installation has a Vacator of ross bass (d)?
SELECT "Date of successor's formal installation" FROM table_66237 WHERE "Vacator" = 'ross bass (d)'
[ 2215, 318, 340, 326, 17270, 338, 8766, 9988, 468, 257, 25709, 1352, 286, 686, 824, 12702, 357, 67, 19427, 46506, 366, 10430, 286, 17270, 338, 8766, 9988, 1, 16034, 3084, 62, 2791, 24693, 33411, 366, 53, 330, 1352, 1, 796, 705, 1214, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 318, 340, 326, 17270, 338, 8766, 9988, 468, 257, 25709, 1352, 286, 686, 824, 12702, 357, 67, 19427, 46506, 366, 10430, 286, 17270, 338, 8766, 9988, 1, 16034, 3084, 62, 2791, 24693, 33411, 366, 53, 330, 1352, 1, 796, 705, 1214, ...
How many people wrote episode 68 in the series?
SELECT COUNT(written_by) FROM table_228973_5 WHERE no_in_series = 68
[ 2437, 867, 661, 2630, 4471, 8257, 287, 262, 2168, 30, 46506, 327, 28270, 7, 15266, 62, 1525, 8, 16034, 3084, 62, 1828, 4531, 4790, 62, 20, 33411, 645, 62, 259, 62, 25076, 796, 8257 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4471, 8257, 287, 262, 2168, 30, 46506, 327, 28270, 7, 15266, 62, 1525, 8, 16034, 3084, 62, 1828, 4531, 4790, 62, 20, 33411, 645, 62, 259, 62, 25076, 796, 8257 ]
What is the launch date of ?
SELECT "Launched" FROM table_69905 WHERE "Kanji" = '栗'
[ 2061, 318, 262, 4219, 3128, 286, 5633, 46506, 366, 46182, 1740, 1, 16034, 3084, 62, 47325, 2713, 33411, 366, 42, 272, 7285, 1, 796, 705, 43718, 245, 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, 318, 262, 4219, 3128, 286, 5633, 46506, 366, 46182, 1740, 1, 16034, 3084, 62, 47325, 2713, 33411, 366, 42, 272, 7285, 1, 796, 705, 43718, 245, 6 ]
Which acquisition via has a position of forward and is on the state school or club?
SELECT "Acquisition via" FROM table_40946 WHERE "Position" = 'forward' AND "School/Club Team" = 'state'
[ 13828, 12673, 2884, 468, 257, 2292, 286, 2651, 290, 318, 319, 262, 1181, 1524, 393, 3430, 30, 46506, 366, 12832, 421, 10027, 2884, 1, 16034, 3084, 62, 29416, 3510, 33411, 366, 26545, 1, 796, 705, 11813, 6, 5357, 366, 26130, 14, 42350,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12673, 2884, 468, 257, 2292, 286, 2651, 290, 318, 319, 262, 1181, 1524, 393, 3430, 30, 46506, 366, 12832, 421, 10027, 2884, 1, 16034, 3084, 62, 29416, 3510, 33411, 366, 26545, 1, 796, 705, 11813, 6, 5357, 366, 26130, 14, 42350,...
Name the high rebounds for score of 64-74
SELECT COUNT(high_rebounds) FROM table_17103729_8 WHERE score = "64-74"
[ 5376, 262, 1029, 18841, 329, 4776, 286, 5598, 12, 4524, 46506, 327, 28270, 7, 8929, 62, 34806, 3733, 8, 16034, 3084, 62, 1558, 940, 2718, 1959, 62, 23, 33411, 4776, 796, 366, 2414, 12, 4524, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 1029, 18841, 329, 4776, 286, 5598, 12, 4524, 46506, 327, 28270, 7, 8929, 62, 34806, 3733, 8, 16034, 3084, 62, 1558, 940, 2718, 1959, 62, 23, 33411, 4776, 796, 366, 2414, 12, 4524, 1 ]
What is the height for player number 5?
SELECT COUNT("Height") FROM table_595 WHERE "No" = '5'
[ 2061, 318, 262, 6001, 329, 2137, 1271, 642, 30, 46506, 327, 28270, 7203, 23106, 4943, 16034, 3084, 62, 35124, 33411, 366, 2949, 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 ]
[ 2061, 318, 262, 6001, 329, 2137, 1271, 642, 30, 46506, 327, 28270, 7203, 23106, 4943, 16034, 3084, 62, 35124, 33411, 366, 2949, 1, 796, 705, 20, 6 ]
BURN WITH FIRE ALL STUPID UNICORN COMMENTS. They are just stupid noise.
SELECT PostId AS "post_link", Text FROM Comments WHERE Text LIKE '%unicorn%'
[ 33, 27064, 13315, 39110, 11096, 3563, 8577, 2389, 4725, 2149, 30649, 9440, 28957, 13, 1119, 389, 655, 8531, 7838, 13, 46506, 2947, 7390, 7054, 366, 7353, 62, 8726, 1600, 8255, 16034, 19502, 33411, 8255, 34178, 705, 4, 46903, 1211, 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 ]
[ 33, 27064, 13315, 39110, 11096, 3563, 8577, 2389, 4725, 2149, 30649, 9440, 28957, 13, 1119, 389, 655, 8531, 7838, 13, 46506, 2947, 7390, 7054, 366, 7353, 62, 8726, 1600, 8255, 16034, 19502, 33411, 8255, 34178, 705, 4, 46903, 1211, 4, 6 ...
what is the number of patients whose age is less than 68 and procedure short title is arterial catheterization?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.age < "68" AND procedures.short_title = "Arterial catheterization"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 2479, 318, 1342, 621, 8257, 290, 8771, 1790, 3670, 318, 30675, 498, 3797, 43332, 1634, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 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...
[ 10919, 318, 262, 1271, 286, 3871, 3025, 2479, 318, 1342, 621, 8257, 290, 8771, 1790, 3670, 318, 30675, 498, 3797, 43332, 1634, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32...
Get questions with particular tags asked by specific user.
SELECT Users.Id, Posts.Id AS "post_link" FROM Users, Posts WHERE Users.Id = Posts.OwnerUserId AND Posts.PostTypeId = 1 AND Posts.Tags LIKE '%##TAG1##%' AND Posts.Tags LIKE '%##TAG2##%' AND NOT Posts.Tags LIKE '%##EXCLUDEDTAG##%' AND Users.Id IN (4154201, 2962624, 3078552, 973122, 1124494, 1360853, 751, 1113715, 3117915...
[ 3855, 2683, 351, 1948, 15940, 1965, 416, 2176, 2836, 13, 46506, 18987, 13, 7390, 11, 12043, 13, 7390, 7054, 366, 7353, 62, 8726, 1, 16034, 18987, 11, 12043, 33411, 18987, 13, 7390, 796, 12043, 13, 42419, 12982, 7390, 5357, 12043, 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...
[ 3855, 2683, 351, 1948, 15940, 1965, 416, 2176, 2836, 13, 46506, 18987, 13, 7390, 11, 12043, 13, 7390, 7054, 366, 7353, 62, 8726, 1, 16034, 18987, 11, 12043, 33411, 18987, 13, 7390, 796, 12043, 13, 42419, 12982, 7390, 5357, 12043, 13, ...
What is Incumbent, when District is 'Louisiana 4'?
SELECT "Incumbent" FROM table_62032 WHERE "District" = 'louisiana 4'
[ 2061, 318, 3457, 2178, 298, 11, 618, 5665, 318, 705, 32117, 7484, 604, 30960, 46506, 366, 25517, 2178, 298, 1, 16034, 3084, 62, 38850, 2624, 33411, 366, 44857, 1, 796, 705, 75, 280, 271, 7484, 604, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 3457, 2178, 298, 11, 618, 5665, 318, 705, 32117, 7484, 604, 30960, 46506, 366, 25517, 2178, 298, 1, 16034, 3084, 62, 38850, 2624, 33411, 366, 44857, 1, 796, 705, 75, 280, 271, 7484, 604, 6 ]
Name the airdate for the episode written by howard ostroff
SELECT original_airdate FROM table_2342078_6 WHERE written_by = "Howard Ostroff"
[ 5376, 262, 257, 1447, 378, 329, 262, 4471, 3194, 416, 703, 446, 267, 20661, 487, 46506, 2656, 62, 958, 4475, 16034, 3084, 62, 24409, 1238, 3695, 62, 21, 33411, 3194, 62, 1525, 796, 366, 32434, 440, 20661, 487, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 257, 1447, 378, 329, 262, 4471, 3194, 416, 703, 446, 267, 20661, 487, 46506, 2656, 62, 958, 4475, 16034, 3084, 62, 24409, 1238, 3695, 62, 21, 33411, 3194, 62, 1525, 796, 366, 32434, 440, 20661, 487, 1 ]
WHAT WAS THE WINNING SCORE IN YEAR 1922?
SELECT "Winning score" FROM table_72645 WHERE "Year" = '1922'
[ 32971, 21725, 3336, 25779, 15871, 6374, 6965, 3268, 32914, 36094, 30, 46506, 366, 16643, 768, 4776, 1, 16034, 3084, 62, 22, 2075, 2231, 33411, 366, 17688, 1, 796, 705, 1129, 1828, 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 ]
[ 32971, 21725, 3336, 25779, 15871, 6374, 6965, 3268, 32914, 36094, 30, 46506, 366, 16643, 768, 4776, 1, 16034, 3084, 62, 22, 2075, 2231, 33411, 366, 17688, 1, 796, 705, 1129, 1828, 6 ]
Name the number of incumbents for texas 12
SELECT COUNT("Incumbent") FROM table_18685 WHERE "District" = 'Texas 12'
[ 5376, 262, 1271, 286, 19742, 658, 329, 48659, 292, 1105, 46506, 327, 28270, 7203, 25517, 2178, 298, 4943, 16034, 3084, 62, 1507, 35978, 33411, 366, 44857, 1, 796, 705, 21607, 1105, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 1271, 286, 19742, 658, 329, 48659, 292, 1105, 46506, 327, 28270, 7203, 25517, 2178, 298, 4943, 16034, 3084, 62, 1507, 35978, 33411, 366, 44857, 1, 796, 705, 21607, 1105, 6 ]
What was the Reign of the person whose Date of Birth was 22 March 1459?
SELECT "Reign" FROM table_55801 WHERE "Date of birth" = '22 march 1459'
[ 2061, 373, 262, 29297, 286, 262, 1048, 3025, 7536, 286, 17647, 373, 2534, 2805, 1478, 3270, 30, 46506, 366, 3041, 570, 1, 16034, 3084, 62, 40486, 486, 33411, 366, 10430, 286, 4082, 1, 796, 705, 1828, 9960, 1478, 3270, 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, 373, 262, 29297, 286, 262, 1048, 3025, 7536, 286, 17647, 373, 2534, 2805, 1478, 3270, 30, 46506, 366, 3041, 570, 1, 16034, 3084, 62, 40486, 486, 33411, 366, 10430, 286, 4082, 1, 796, 705, 1828, 9960, 1478, 3270, 6 ]
what is the total number of patients treated with mupirocin cream 2%?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.drug = "Mupirocin Cream 2%"
[ 10919, 318, 262, 2472, 1271, 286, 3871, 5716, 351, 285, 929, 7058, 17879, 8566, 362, 4, 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, 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...
[ 10919, 318, 262, 2472, 1271, 286, 3871, 5716, 351, 285, 929, 7058, 17879, 8566, 362, 4, 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, 1810...
What kind of South Marquesan has a S moan of /matua/?
SELECT "South Marquesan" FROM table_49477 WHERE "S\u0101moan" = '/matua/'
[ 2061, 1611, 286, 2520, 1526, 13281, 272, 468, 257, 311, 44567, 286, 1220, 6759, 6413, 20924, 46506, 366, 14942, 1526, 13281, 272, 1, 16034, 3084, 62, 2920, 32883, 33411, 366, 50, 59, 84, 486, 486, 5908, 272, 1, 796, 31051, 6759, 6413,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1611, 286, 2520, 1526, 13281, 272, 468, 257, 311, 44567, 286, 1220, 6759, 6413, 20924, 46506, 366, 14942, 1526, 13281, 272, 1, 16034, 3084, 62, 2920, 32883, 33411, 366, 50, 59, 84, 486, 486, 5908, 272, 1, 796, 31051, 6759, 6413,...
500 Longest questions with score and poster rep since 2013-01-01.
SELECT Id AS "post_link", LENGTH(Body) AS Length, Score, UserRep = (SELECT Reputation FROM Users WHERE Id = OwnerUserId) FROM Posts WHERE PostTypeId = 1 AND CreationDate > 2013 - 01 - 01 ORDER BY LENGTH(Body) DESC LIMIT 500
[ 4059, 5882, 395, 2683, 351, 4776, 290, 11968, 1128, 1201, 2211, 12, 486, 12, 486, 13, 46506, 5121, 7054, 366, 7353, 62, 8726, 1600, 406, 49494, 7, 25842, 8, 7054, 22313, 11, 15178, 11, 11787, 6207, 796, 357, 46506, 1432, 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...
[ 4059, 5882, 395, 2683, 351, 4776, 290, 11968, 1128, 1201, 2211, 12, 486, 12, 486, 13, 46506, 5121, 7054, 366, 7353, 62, 8726, 1600, 406, 49494, 7, 25842, 8, 7054, 22313, 11, 15178, 11, 11787, 6207, 796, 357, 46506, 1432, 7094, 16034, ...
Name the drawn for llandaff rfc
SELECT "Drawn" FROM table_18939 WHERE "Club" = 'Llandaff RFC'
[ 5376, 262, 7428, 329, 32660, 392, 2001, 374, 16072, 46506, 366, 35, 5791, 1, 16034, 3084, 62, 23362, 2670, 33411, 366, 42350, 1, 796, 705, 43, 1044, 2001, 30978, 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 ]
[ 5376, 262, 7428, 329, 32660, 392, 2001, 374, 16072, 46506, 366, 35, 5791, 1, 16034, 3084, 62, 23362, 2670, 33411, 366, 42350, 1, 796, 705, 43, 1044, 2001, 30978, 6 ]
ratio of 15:14, and a just (cents) larger than 119.44 is what average size (cents)?
SELECT AVG("size (cents)") FROM table_34253 WHERE "just ratio" = '15:14' AND "just (cents)" > '119.44'
[ 10366, 952, 286, 1315, 25, 1415, 11, 290, 257, 655, 357, 66, 658, 8, 4025, 621, 15136, 13, 2598, 318, 644, 2811, 2546, 357, 66, 658, 19427, 46506, 35224, 7203, 7857, 357, 66, 658, 8, 4943, 16034, 3084, 62, 2682, 28592, 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, 1, 1...
[ 10366, 952, 286, 1315, 25, 1415, 11, 290, 257, 655, 357, 66, 658, 8, 4025, 621, 15136, 13, 2598, 318, 644, 2811, 2546, 357, 66, 658, 19427, 46506, 35224, 7203, 7857, 357, 66, 658, 8, 4943, 16034, 3084, 62, 2682, 28592, 33411, 366, ...
What is the record when the visitor is Buffalo?
SELECT "Record" FROM table_52181 WHERE "Visitor" = 'buffalo'
[ 2061, 318, 262, 1700, 618, 262, 21493, 318, 14905, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 4309, 27057, 33411, 366, 15854, 2072, 1, 796, 705, 36873, 7335, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1700, 618, 262, 21493, 318, 14905, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 4309, 27057, 33411, 366, 15854, 2072, 1, 796, 705, 36873, 7335, 6 ]
describe ground transportation in DALLAS
SELECT DISTINCT ground_service.transport_type FROM city, ground_service WHERE city.city_name = 'DALLAS' AND ground_service.city_code = city.city_code
[ 20147, 4892, 2323, 9358, 287, 360, 7036, 1921, 46506, 360, 8808, 1268, 4177, 2323, 62, 15271, 13, 7645, 634, 62, 4906, 16034, 1748, 11, 2323, 62, 15271, 33411, 1748, 13, 19205, 62, 3672, 796, 705, 35, 7036, 1921, 6, 5357, 2323, 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 ]
[ 20147, 4892, 2323, 9358, 287, 360, 7036, 1921, 46506, 360, 8808, 1268, 4177, 2323, 62, 15271, 13, 7645, 634, 62, 4906, 16034, 1748, 11, 2323, 62, 15271, 33411, 1748, 13, 19205, 62, 3672, 796, 705, 35, 7036, 1921, 6, 5357, 2323, 62, ...
What team finished in 3rd place when Balestier Khalsa finished in 4th place?
SELECT "3rd-place" FROM table_2965 WHERE "4th-place" = 'Balestier Khalsa'
[ 2061, 1074, 5201, 287, 513, 4372, 1295, 618, 8528, 395, 959, 5311, 32058, 5201, 287, 604, 400, 1295, 30, 46506, 366, 18, 4372, 12, 5372, 1, 16034, 3084, 62, 1959, 2996, 33411, 366, 19, 400, 12, 5372, 1, 796, 705, 24597, 395, 959, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5201, 287, 513, 4372, 1295, 618, 8528, 395, 959, 5311, 32058, 5201, 287, 604, 400, 1295, 30, 46506, 366, 18, 4372, 12, 5372, 1, 16034, 3084, 62, 1959, 2996, 33411, 366, 19, 400, 12, 5372, 1, 796, 705, 24597, 395, 959, ...
What was the score of the second leg with an agg of 4-6?
SELECT 2 AS nd_leg FROM table_name_50 WHERE agg = "4-6"
[ 2061, 373, 262, 4776, 286, 262, 1218, 1232, 351, 281, 4194, 286, 604, 12, 21, 30, 46506, 362, 7054, 299, 67, 62, 1455, 16034, 3084, 62, 3672, 62, 1120, 33411, 4194, 796, 366, 19, 12, 21, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 4776, 286, 262, 1218, 1232, 351, 281, 4194, 286, 604, 12, 21, 30, 46506, 362, 7054, 299, 67, 62, 1455, 16034, 3084, 62, 3672, 62, 1120, 33411, 4194, 796, 366, 19, 12, 21, 1 ]
What kind of edition was released September 23, 2008 from the United States?
SELECT "Edition" FROM table_65414 WHERE "Date" = 'september 23, 2008' AND "Region" = 'united states'
[ 2061, 1611, 286, 8313, 373, 2716, 2693, 2242, 11, 3648, 422, 262, 1578, 1829, 30, 46506, 366, 7407, 653, 1, 16034, 3084, 62, 2996, 37309, 33411, 366, 10430, 1, 796, 705, 325, 457, 1491, 2242, 11, 3648, 6, 5357, 366, 47371, 1, 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 ]
[ 2061, 1611, 286, 8313, 373, 2716, 2693, 2242, 11, 3648, 422, 262, 1578, 1829, 30, 46506, 366, 7407, 653, 1, 16034, 3084, 62, 2996, 37309, 33411, 366, 10430, 1, 796, 705, 325, 457, 1491, 2242, 11, 3648, 6, 5357, 366, 47371, 1, 796, ...
Name The Result that has a Distance of 1200m, and a Weight (kg) of 55.5?
SELECT "Result" FROM table_43005 WHERE "Distance" = '1200m' AND "Weight (kg)" = '55.5'
[ 5376, 383, 25414, 326, 468, 257, 34600, 286, 24938, 76, 11, 290, 257, 14331, 357, 10025, 8, 286, 5996, 13, 20, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 3559, 22544, 33411, 366, 45767, 1, 796, 705, 27550, 76, 6, 5357, 366, 25844, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 383, 25414, 326, 468, 257, 34600, 286, 24938, 76, 11, 290, 257, 14331, 357, 10025, 8, 286, 5996, 13, 20, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 3559, 22544, 33411, 366, 45767, 1, 796, 705, 27550, 76, 6, 5357, 366, 25844, ...
Where was the game on May 15 and how many were in attendance?
SELECT location_attendance FROM table_11963601_11 WHERE date = "May 15"
[ 8496, 373, 262, 983, 319, 1737, 1315, 290, 703, 867, 547, 287, 14858, 30, 46506, 4067, 62, 1078, 437, 590, 16034, 3084, 62, 16315, 21, 2623, 486, 62, 1157, 33411, 3128, 796, 366, 6747, 1315, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8496, 373, 262, 983, 319, 1737, 1315, 290, 703, 867, 547, 287, 14858, 30, 46506, 4067, 62, 1078, 437, 590, 16034, 3084, 62, 16315, 21, 2623, 486, 62, 1157, 33411, 3128, 796, 366, 6747, 1315, 1 ]
When chauncey billups (7) has the highest amount of assists what is the score?
SELECT "Score" FROM table_25868 WHERE "High assists" = 'Chauncey Billups (7)'
[ 2215, 442, 1942, 344, 88, 2855, 4739, 357, 22, 8, 468, 262, 4511, 2033, 286, 13648, 644, 318, 262, 4776, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 25600, 3104, 33411, 366, 11922, 13648, 1, 796, 705, 1925, 1942, 344, 88, 3941, 4739,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 442, 1942, 344, 88, 2855, 4739, 357, 22, 8, 468, 262, 4511, 2033, 286, 13648, 644, 318, 262, 4776, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 25600, 3104, 33411, 366, 11922, 13648, 1, 796, 705, 1925, 1942, 344, 88, 3941, 4739,...
who is the only swimmer from australia to compete ?
SELECT "name" FROM table_204_29 WHERE "nationality" = 'australia'
[ 8727, 318, 262, 691, 9422, 647, 422, 38132, 1373, 544, 284, 9320, 5633, 46506, 366, 3672, 1, 16034, 3084, 62, 18638, 62, 1959, 33411, 366, 14648, 414, 1, 796, 705, 64, 436, 1373, 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 ]
[ 8727, 318, 262, 691, 9422, 647, 422, 38132, 1373, 544, 284, 9320, 5633, 46506, 366, 3672, 1, 16034, 3084, 62, 18638, 62, 1959, 33411, 366, 14648, 414, 1, 796, 705, 64, 436, 1373, 544, 6 ]
Name the sport with championships less than 1 and club of erie bayhawks
SELECT sport FROM table_name_19 WHERE championships < 1 AND club = "erie bayhawks"
[ 5376, 262, 6332, 351, 27459, 1342, 621, 352, 290, 3430, 286, 1931, 494, 15489, 27221, 46506, 6332, 16034, 3084, 62, 3672, 62, 1129, 33411, 27459, 1279, 352, 5357, 3430, 796, 366, 18287, 15489, 27221, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 6332, 351, 27459, 1342, 621, 352, 290, 3430, 286, 1931, 494, 15489, 27221, 46506, 6332, 16034, 3084, 62, 3672, 62, 1129, 33411, 27459, 1279, 352, 5357, 3430, 796, 366, 18287, 15489, 27221, 1 ]
how many hours has elapsed since patient 027-154299's first procedure on their 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 = '027-15429...
[ 4919, 867, 2250, 468, 42118, 1201, 5827, 657, 1983, 12, 1314, 11785, 24, 338, 717, 8771, 319, 511, 1459, 4436, 8791, 30, 46506, 1987, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694, 28955, 532, 19269, 9792, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 42118, 1201, 5827, 657, 1983, 12, 1314, 11785, 24, 338, 717, 8771, 319, 511, 1459, 4436, 8791, 30, 46506, 1987, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694, 28955, 532, 19269, 9792, 1...
For all employees who have the letters D or S in their first name, find hire_date and the average of employee_id bin hire_date by time, and visualize them by a bar chart, and display y axis in descending order.
SELECT HIRE_DATE, AVG(EMPLOYEE_ID) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' ORDER BY AVG(EMPLOYEE_ID) DESC
[ 1890, 477, 4409, 508, 423, 262, 7475, 360, 393, 311, 287, 511, 717, 1438, 11, 1064, 11078, 62, 4475, 290, 262, 2811, 286, 6538, 62, 312, 9874, 11078, 62, 4475, 416, 640, 11, 290, 38350, 606, 416, 257, 2318, 8262, 11, 290, 3359, 33...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1064, 11078, 62, 4475, 290, 262, 2811, 286, 6538, 62, 312, 9874, 11078, 62, 4475, 416, 640, 11, 290, 38350, 606, 416, 257, 2318, 8262, 11, 290, 3359, 33...
count the number of patients whose gender is m and drug type is additive?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.gender = "M" AND prescriptions.drug_type = "ADDITIVE"
[ 9127, 262, 1271, 286, 3871, 3025, 5279, 318, 285, 290, 2563, 2099, 318, 38298, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, 18108, 76, 62...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9127, 262, 1271, 286, 3871, 3025, 5279, 318, 285, 290, 2563, 2099, 318, 38298, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, 18108, 76, 62...
How many races were there when Sigachev had 38 points?
SELECT MIN("Races") FROM table_27671 WHERE "Points" = '38'
[ 2437, 867, 9558, 547, 612, 618, 21984, 42961, 550, 4353, 2173, 30, 46506, 20625, 7203, 49, 2114, 4943, 16034, 3084, 62, 1983, 46250, 33411, 366, 40710, 1, 796, 705, 2548, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 9558, 547, 612, 618, 21984, 42961, 550, 4353, 2173, 30, 46506, 20625, 7203, 49, 2114, 4943, 16034, 3084, 62, 1983, 46250, 33411, 366, 40710, 1, 796, 705, 2548, 6 ]
What wast the percent cut for the nation with an 80% full gas storage?
SELECT _percentage_cut FROM table_21690339_1 WHERE gas_storage = "80% full"
[ 2061, 25057, 262, 1411, 2005, 329, 262, 3277, 351, 281, 4019, 4, 1336, 3623, 6143, 30, 46506, 4808, 25067, 496, 62, 8968, 16034, 3084, 62, 20666, 3829, 29626, 62, 16, 33411, 3623, 62, 35350, 796, 366, 1795, 4, 1336, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 25057, 262, 1411, 2005, 329, 262, 3277, 351, 281, 4019, 4, 1336, 3623, 6143, 30, 46506, 4808, 25067, 496, 62, 8968, 16034, 3084, 62, 20666, 3829, 29626, 62, 16, 33411, 3623, 62, 35350, 796, 366, 1795, 4, 1336, 1 ]
what is the number of patients whose admission location is trsf within this facility and procedure icd9 code is 8321?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_location = "TRSF WITHIN THIS FACILITY" AND procedures.icd9_code = "8321"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 13938, 4067, 318, 491, 28202, 1626, 428, 6841, 290, 8771, 14158, 67, 24, 2438, 318, 9698, 2481, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 1271, 286, 3871, 3025, 13938, 4067, 318, 491, 28202, 1626, 428, 6841, 290, 8771, 14158, 67, 24, 2438, 318, 9698, 2481, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, ...
Which Fuel has an Engine of 4cyl, and a 0 100km/h, s of 11.3?
SELECT "Fuel" FROM table_60123 WHERE "Engine" = '4cyl' AND "0\u2013100km/h,s" = '11.3'
[ 13828, 25483, 468, 281, 7117, 286, 604, 38801, 11, 290, 257, 657, 1802, 13276, 14, 71, 11, 264, 286, 1367, 13, 18, 30, 46506, 366, 42663, 1, 16034, 3084, 62, 41706, 1954, 33411, 366, 13798, 1, 796, 705, 19, 38801, 6, 5357, 366, 15...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 25483, 468, 281, 7117, 286, 604, 38801, 11, 290, 257, 657, 1802, 13276, 14, 71, 11, 264, 286, 1367, 13, 18, 30, 46506, 366, 42663, 1, 16034, 3084, 62, 41706, 1954, 33411, 366, 13798, 1, 796, 705, 19, 38801, 6, 5357, 366, 15...
how many patients until 1 year ago have received spinal canal explor nec two times?
SELECT COUNT(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, COUNT(*) AS c1 FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'spinal canal explor n...
[ 4919, 867, 3871, 1566, 352, 614, 2084, 423, 2722, 26234, 29365, 39180, 27576, 734, 1661, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 32796, 62, 312, 8, 16034, 357, 46506, 25349, 13, 32796, 62, 312, 11, 327, 28270, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 3871, 1566, 352, 614, 2084, 423, 2722, 26234, 29365, 39180, 27576, 734, 1661, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 32796, 62, 312, 8, 16034, 357, 46506, 25349, 13, 32796, 62, 312, 11, 327, 28270, 7...
Of all the classes offered this Spring-Summer , which ones are upper-level RACKHAM classes ?
SELECT DISTINCT course.department, course.name, course.number FROM course, course_offering, program_course, semester WHERE course.course_id = course_offering.course_id AND course.department = 'RACKHAM' AND program_course.category LIKE '%ULCS%' AND program_course.course_id = course.course_id AND semester.semester = 'Spr...
[ 5189, 477, 262, 6097, 4438, 428, 8225, 12, 33560, 837, 543, 3392, 389, 6727, 12, 5715, 371, 8120, 33363, 6097, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 11, 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...
[ 5189, 477, 262, 6097, 4438, 428, 8225, 12, 33560, 837, 543, 3392, 389, 6727, 12, 5715, 371, 8120, 33363, 6097, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 11, 1781, ...
Name the format for quick callanetics: hips and behind
SELECT format FROM table_27303975_2 WHERE title = "Quick Callanetics: Hips and Behind"
[ 5376, 262, 5794, 329, 2068, 869, 272, 14596, 25, 21497, 290, 2157, 46506, 5794, 16034, 3084, 62, 1983, 1270, 2670, 2425, 62, 17, 33411, 3670, 796, 366, 21063, 4889, 272, 14596, 25, 367, 2419, 290, 20787, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5794, 329, 2068, 869, 272, 14596, 25, 21497, 290, 2157, 46506, 5794, 16034, 3084, 62, 1983, 1270, 2670, 2425, 62, 17, 33411, 3670, 796, 366, 21063, 4889, 272, 14596, 25, 367, 2419, 290, 20787, 1 ]
What was the highest number of rounds that had Hikaru Shinohara as an opponent and a record of 11-7?
SELECT MAX("Round") FROM table_54357 WHERE "Opponent" = 'hikaru shinohara' AND "Record" = '11-7'
[ 2061, 373, 262, 4511, 1271, 286, 9196, 326, 550, 39790, 11493, 11466, 1219, 3301, 355, 281, 6125, 290, 257, 1700, 286, 1367, 12, 22, 30, 46506, 25882, 7203, 22685, 4943, 16034, 3084, 62, 4051, 27277, 33411, 366, 27524, 3471, 1, 796, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 4511, 1271, 286, 9196, 326, 550, 39790, 11493, 11466, 1219, 3301, 355, 281, 6125, 290, 257, 1700, 286, 1367, 12, 22, 30, 46506, 25882, 7203, 22685, 4943, 16034, 3084, 62, 4051, 27277, 33411, 366, 27524, 3471, 1, 796, 7...
Who is the main contestant eliminated with a score of 1 + 7 + 5 = 13?
SELECT main_contestant FROM table_name_11 WHERE status = "eliminated" AND scores_by_each_individual_judge = 1 + 7 + 5 = 13
[ 8241, 318, 262, 1388, 44047, 15254, 351, 257, 4776, 286, 352, 1343, 767, 1343, 642, 796, 1511, 30, 46506, 1388, 62, 3642, 395, 415, 16034, 3084, 62, 3672, 62, 1157, 33411, 3722, 796, 366, 417, 320, 3898, 1, 5357, 8198, 62, 1525, 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 ]
[ 8241, 318, 262, 1388, 44047, 15254, 351, 257, 4776, 286, 352, 1343, 767, 1343, 642, 796, 1511, 30, 46506, 1388, 62, 3642, 395, 415, 16034, 3084, 62, 3672, 62, 1157, 33411, 3722, 796, 366, 417, 320, 3898, 1, 5357, 8198, 62, 1525, 62,...
For those records from the products and each product's manufacturer, show me about the distribution of founder and the sum of manufacturer , and group by attribute founder in a bar chart, and could you display from high to low by the y-axis?
SELECT Founder, SUM(Manufacturer) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder ORDER BY SUM(Manufacturer) DESC
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 905, 502, 546, 262, 6082, 286, 9119, 290, 262, 2160, 286, 11554, 837, 290, 1448, 416, 11688, 9119, 287, 257, 2318, 8262, 11, 290, 714, 345, 3359, 422, 1029, 284, 1877...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 905, 502, 546, 262, 6082, 286, 9119, 290, 262, 2160, 286, 11554, 837, 290, 1448, 416, 11688, 9119, 287, 257, 2318, 8262, 11, 290, 714, 345, 3359, 422, 1029, 284, 1877...
how many patients had admission location as phys referral/normal deli and primary disease as posterior communicating aneurysm/sda?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_location = "PHYS REFERRAL/NORMAL DELI" AND demographic.diagnosis = "POSTERIOR COMMUNICATING ANEURYSM/SDA"
[ 4919, 867, 3871, 550, 13938, 4067, 355, 2281, 31413, 14, 11265, 1619, 72, 290, 4165, 4369, 355, 34319, 22889, 281, 23365, 893, 76, 14, 82, 6814, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 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...
[ 4919, 867, 3871, 550, 13938, 4067, 355, 2281, 31413, 14, 11265, 1619, 72, 290, 4165, 4369, 355, 34319, 22889, 281, 23365, 893, 76, 14, 82, 6814, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16...
What was the result of the match played on 13 October 1993?
SELECT result FROM table_name_93 WHERE date = "13 october 1993"
[ 2061, 373, 262, 1255, 286, 262, 2872, 2826, 319, 1511, 3267, 9656, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 6052, 33411, 3128, 796, 366, 1485, 19318, 2023, 9656, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 1255, 286, 262, 2872, 2826, 319, 1511, 3267, 9656, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 6052, 33411, 3128, 796, 366, 1485, 19318, 2023, 9656, 1 ]
What's the lineup when the assist/pass was Unassisted?
SELECT "Lineup" FROM table_65433 WHERE "Assist/pass" = 'unassisted'
[ 2061, 338, 262, 12750, 618, 262, 3342, 14, 6603, 373, 791, 42191, 30, 46506, 366, 13949, 929, 1, 16034, 3084, 62, 39111, 2091, 33411, 366, 8021, 396, 14, 6603, 1, 796, 705, 403, 42191, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 338, 262, 12750, 618, 262, 3342, 14, 6603, 373, 791, 42191, 30, 46506, 366, 13949, 929, 1, 16034, 3084, 62, 39111, 2091, 33411, 366, 8021, 396, 14, 6603, 1, 796, 705, 403, 42191, 6 ]
In which competition or tour was nordsj lland the opponent with a hr Ground?
SELECT "Competition or tour" FROM table_78744 WHERE "Ground" = 'hr' AND "Opponent" = 'nordsjælland'
[ 818, 543, 5449, 393, 4205, 373, 299, 3669, 73, 32660, 392, 262, 6125, 351, 257, 39436, 13706, 30, 46506, 366, 7293, 15620, 393, 4205, 1, 16034, 3084, 62, 41019, 2598, 33411, 366, 35539, 1, 796, 705, 11840, 6, 5357, 366, 27524, 3471, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 818, 543, 5449, 393, 4205, 373, 299, 3669, 73, 32660, 392, 262, 6125, 351, 257, 39436, 13706, 30, 46506, 366, 7293, 15620, 393, 4205, 1, 16034, 3084, 62, 41019, 2598, 33411, 366, 35539, 1, 796, 705, 11840, 6, 5357, 366, 27524, 3471, ...
what is the name of the specimen test that patient 031-3355 was given for the last time in 12/this year?
SELECT microlab.culturesite FROM microlab WHERE microlab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '031-3355')) AND DATETIME(microlab.culturetakentime, 'start of year') =...
[ 10919, 318, 262, 1438, 286, 262, 31674, 1332, 326, 5827, 657, 3132, 12, 2091, 2816, 373, 1813, 329, 262, 938, 640, 287, 1105, 14, 5661, 614, 30, 46506, 4580, 23912, 13, 40820, 942, 578, 16034, 4580, 23912, 33411, 4580, 23912, 13, 2602...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 262, 31674, 1332, 326, 5827, 657, 3132, 12, 2091, 2816, 373, 1813, 329, 262, 938, 640, 287, 1105, 14, 5661, 614, 30, 46506, 4580, 23912, 13, 40820, 942, 578, 16034, 4580, 23912, 33411, 4580, 23912, 13, 2602...
Show the facility codes of apartments with more than 4 bedrooms.
SELECT T1.facility_code FROM apartment_facilities AS T1 JOIN apartments AS T2 ON T1.apt_id = T2.apt_id WHERE T2.bedroom_count > 4
[ 15307, 262, 6841, 12416, 286, 19592, 351, 517, 621, 604, 38529, 13, 46506, 309, 16, 13, 38942, 879, 62, 8189, 16034, 7962, 62, 38942, 2410, 7054, 309, 16, 32357, 1268, 19592, 7054, 309, 17, 6177, 309, 16, 13, 2373, 62, 312, 796, 309...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 262, 6841, 12416, 286, 19592, 351, 517, 621, 604, 38529, 13, 46506, 309, 16, 13, 38942, 879, 62, 8189, 16034, 7962, 62, 38942, 2410, 7054, 309, 16, 32357, 1268, 19592, 7054, 309, 17, 6177, 309, 16, 13, 2373, 62, 312, 796, 309...
What is the age of student Linda Smith?
SELECT Age FROM Student WHERE Fname = "Linda" AND Lname = "Smith"
[ 2061, 318, 262, 2479, 286, 3710, 21776, 4176, 30, 46506, 7129, 16034, 13613, 33411, 376, 3672, 796, 366, 43, 22261, 1, 5357, 406, 3672, 796, 366, 17919, 1 ]
[ 1, 1, 1, 1, 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, 2479, 286, 3710, 21776, 4176, 30, 46506, 7129, 16034, 13613, 33411, 376, 3672, 796, 366, 43, 22261, 1, 5357, 406, 3672, 796, 366, 17919, 1 ]
What is the record with 23 points and a visitor of Chicago?
SELECT "Record" FROM table_50050 WHERE "Points" = '23' AND "Visitor" = 'chicago'
[ 2061, 318, 262, 1700, 351, 2242, 2173, 290, 257, 21493, 286, 4842, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 4059, 1120, 33411, 366, 40710, 1, 796, 705, 1954, 6, 5357, 366, 15854, 2072, 1, 796, 705, 354, 4549, 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, 1700, 351, 2242, 2173, 290, 257, 21493, 286, 4842, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 4059, 1120, 33411, 366, 40710, 1, 796, 705, 1954, 6, 5357, 366, 15854, 2072, 1, 796, 705, 354, 4549, 6 ]
How many people are under 40 for each gender Plot them as bar chart, list x axis in asc order.
SELECT gender, COUNT(*) FROM Person WHERE age < 40 GROUP BY gender ORDER BY gender
[ 2437, 867, 661, 389, 739, 2319, 329, 1123, 5279, 28114, 606, 355, 2318, 8262, 11, 1351, 2124, 16488, 287, 10570, 1502, 13, 46506, 5279, 11, 327, 28270, 7, 28104, 16034, 7755, 33411, 2479, 1279, 2319, 44441, 11050, 5279, 38678, 11050, 52...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 389, 739, 2319, 329, 1123, 5279, 28114, 606, 355, 2318, 8262, 11, 1351, 2124, 16488, 287, 10570, 1502, 13, 46506, 5279, 11, 327, 28270, 7, 28104, 16034, 7755, 33411, 2479, 1279, 2319, 44441, 11050, 5279, 38678, 11050, 52...
Which player has the most all star game experiences? Give me the first name, last name and id of the player, as well as the number of times the player participated in all star game.
SELECT T1.name_first, T1.name_last, T1.player_id, COUNT(*) FROM player AS T1 JOIN all_star AS T2 ON T1.player_id = T2.player_id GROUP BY T1.player_id ORDER BY COUNT(*) DESC LIMIT 1
[ 13828, 2137, 468, 262, 749, 477, 3491, 983, 6461, 30, 13786, 502, 262, 717, 1438, 11, 938, 1438, 290, 4686, 286, 262, 2137, 11, 355, 880, 355, 262, 1271, 286, 1661, 262, 2137, 14888, 287, 477, 3491, 983, 13, 46506, 309, 16, 13, 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, 1, 1, 1, 1, 1, 1, 1, 1...
[ 13828, 2137, 468, 262, 749, 477, 3491, 983, 6461, 30, 13786, 502, 262, 717, 1438, 11, 938, 1438, 290, 4686, 286, 262, 2137, 11, 355, 880, 355, 262, 1271, 286, 1661, 262, 2137, 14888, 287, 477, 3491, 983, 13, 46506, 309, 16, 13, 36...
Bar chart x axis time y axis meter_100, and display from high to low by the names.
SELECT Time, meter_100 FROM swimmer ORDER BY Time DESC
[ 10374, 8262, 2124, 16488, 640, 331, 16488, 16430, 62, 3064, 11, 290, 3359, 422, 1029, 284, 1877, 416, 262, 3891, 13, 46506, 3862, 11, 16430, 62, 3064, 16034, 9422, 647, 38678, 11050, 3862, 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 ]
[ 10374, 8262, 2124, 16488, 640, 331, 16488, 16430, 62, 3064, 11, 290, 3359, 422, 1029, 284, 1877, 416, 262, 3891, 13, 46506, 3862, 11, 16430, 62, 3064, 16034, 9422, 647, 38678, 11050, 3862, 22196, 34 ]
what symbol comes before symbol co ?
SELECT "symbol" FROM table_204_39 WHERE id = (SELECT id FROM table_204_39 WHERE "symbol" = 'co') - 1
[ 10919, 6194, 2058, 878, 6194, 763, 5633, 46506, 366, 1837, 23650, 1, 16034, 3084, 62, 18638, 62, 2670, 33411, 4686, 796, 357, 46506, 4686, 16034, 3084, 62, 18638, 62, 2670, 33411, 366, 1837, 23650, 1, 796, 705, 1073, 11537, 532, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 6194, 2058, 878, 6194, 763, 5633, 46506, 366, 1837, 23650, 1, 16034, 3084, 62, 18638, 62, 2670, 33411, 4686, 796, 357, 46506, 4686, 16034, 3084, 62, 18638, 62, 2670, 33411, 366, 1837, 23650, 1, 796, 705, 1073, 11537, 532, 352 ]
What seed was California?
SELECT seed FROM table_26423157_2 WHERE school = "California"
[ 2061, 9403, 373, 3442, 30, 46506, 9403, 16034, 3084, 62, 18897, 1954, 18458, 62, 17, 33411, 1524, 796, 366, 25284, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 9403, 373, 3442, 30, 46506, 9403, 16034, 3084, 62, 18897, 1954, 18458, 62, 17, 33411, 1524, 796, 366, 25284, 1 ]
What is the result when the round shows 34?
SELECT "Result" FROM table_45409 WHERE "Round" = '34'
[ 2061, 318, 262, 1255, 618, 262, 2835, 2523, 4974, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 2231, 29416, 33411, 366, 22685, 1, 796, 705, 2682, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1255, 618, 262, 2835, 2523, 4974, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 2231, 29416, 33411, 366, 22685, 1, 796, 705, 2682, 6 ]
What tournament had a Score of 6 3, 2 6, [10 8]?
SELECT "Tournament" FROM table_65021 WHERE "Score" = '6–3, 2–6, [10–8]'
[ 2061, 7756, 550, 257, 15178, 286, 718, 513, 11, 362, 718, 11, 685, 940, 807, 60, 30, 46506, 366, 51, 5138, 1, 16034, 3084, 62, 17544, 2481, 33411, 366, 26595, 1, 796, 705, 21, 1906, 18, 11, 362, 1906, 21, 11, 685, 940, 1906, 23,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7756, 550, 257, 15178, 286, 718, 513, 11, 362, 718, 11, 685, 940, 807, 60, 30, 46506, 366, 51, 5138, 1, 16034, 3084, 62, 17544, 2481, 33411, 366, 26595, 1, 796, 705, 21, 1906, 18, 11, 362, 1906, 21, 11, 685, 940, 1906, 23,...
give me the primary disease and diagnosis long title of james sloan.
SELECT demographic.diagnosis, diagnoses.long_title FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.name = "James Sloan"
[ 26535, 502, 262, 4165, 4369, 290, 13669, 890, 3670, 286, 474, 1047, 1017, 24611, 13, 46506, 16728, 13, 47356, 5958, 11, 40567, 13, 6511, 62, 7839, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312, 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 ]
[ 26535, 502, 262, 4165, 4369, 290, 13669, 890, 3670, 286, 474, 1047, 1017, 24611, 13, 46506, 16728, 13, 47356, 5958, 11, 40567, 13, 6511, 62, 7839, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312, 796, ...
When was the away team score 13.19 (97)?
SELECT "Date" FROM table_10774 WHERE "Away team score" = '13.19 (97)'
[ 2215, 373, 262, 1497, 1074, 4776, 1511, 13, 1129, 357, 5607, 19427, 46506, 366, 10430, 1, 16034, 3084, 62, 940, 47582, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 1485, 13, 1129, 357, 5607, 33047 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 373, 262, 1497, 1074, 4776, 1511, 13, 1129, 357, 5607, 19427, 46506, 366, 10430, 1, 16034, 3084, 62, 940, 47582, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 1485, 13, 1129, 357, 5607, 33047 ]
provide the number of patients whose ethnicity is american indian/alaska native and lab test name is d-dimer?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.ethnicity = "AMERICAN INDIAN/ALASKA NATIVE" AND lab.label = "D-Dimer"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 26289, 318, 45630, 272, 773, 666, 14, 282, 8480, 6868, 290, 2248, 1332, 1438, 318, 288, 12, 67, 22723, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 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...
[ 15234, 485, 262, 1271, 286, 3871, 3025, 26289, 318, 45630, 272, 773, 666, 14, 282, 8480, 6868, 290, 2248, 1332, 1438, 318, 288, 12, 67, 22723, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 1672...
What is the average Year with Chassis equalling cooper t60?
SELECT AVG(year) FROM table_name_49 WHERE chassis = "cooper t60"
[ 2061, 318, 262, 2811, 6280, 351, 609, 20297, 1602, 9221, 6788, 256, 1899, 30, 46506, 35224, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 2920, 33411, 24587, 796, 366, 1073, 3575, 256, 1899, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6280, 351, 609, 20297, 1602, 9221, 6788, 256, 1899, 30, 46506, 35224, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 2920, 33411, 24587, 796, 366, 1073, 3575, 256, 1899, 1 ]
Tell me the title of work for year more than 2009
SELECT title_of_work FROM table_name_17 WHERE year > 2009
[ 24446, 502, 262, 3670, 286, 670, 329, 614, 517, 621, 3717, 46506, 3670, 62, 1659, 62, 1818, 16034, 3084, 62, 3672, 62, 1558, 33411, 614, 1875, 3717 ]
[ 1, 1, 1, 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, 3670, 286, 670, 329, 614, 517, 621, 3717, 46506, 3670, 62, 1659, 62, 1818, 16034, 3084, 62, 3672, 62, 1558, 33411, 614, 1875, 3717 ]
What was the total number for March with less than 8.77 in January, more than 1.69 in December, an average monthly addition less than 5.35, and before 2004?
SELECT COUNT(march) FROM table_name_83 WHERE january < 8.77 AND december > 1.69 AND average_monthly_additions_in_millions_ < 5.35 AND year < 2004
[ 2061, 373, 262, 2472, 1271, 329, 2805, 351, 1342, 621, 807, 13, 3324, 287, 3269, 11, 517, 621, 352, 13, 3388, 287, 3426, 11, 281, 2811, 9651, 3090, 1342, 621, 642, 13, 2327, 11, 290, 878, 5472, 30, 46506, 327, 28270, 7, 76, 998, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1271, 329, 2805, 351, 1342, 621, 807, 13, 3324, 287, 3269, 11, 517, 621, 352, 13, 3388, 287, 3426, 11, 281, 2811, 9651, 3090, 1342, 621, 642, 13, 2327, 11, 290, 878, 5472, 30, 46506, 327, 28270, 7, 76, 998, ...
What are the average spectators from the Group H Round?
SELECT AVG(spectators) FROM table_name_60 WHERE round = "group h"
[ 2061, 389, 262, 2811, 31704, 422, 262, 4912, 367, 10485, 30, 46506, 35224, 7, 4443, 2024, 8, 16034, 3084, 62, 3672, 62, 1899, 33411, 2835, 796, 366, 8094, 289, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 2811, 31704, 422, 262, 4912, 367, 10485, 30, 46506, 35224, 7, 4443, 2024, 8, 16034, 3084, 62, 3672, 62, 1899, 33411, 2835, 796, 366, 8094, 289, 1 ]
had patient 002-13750 been diagnosed with any illness since 4 years ago?
SELECT COUNT(*) > 0 FROM diagnosis WHERE diagnosis.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '002-13750')) AND DATETIME(diagnosis.diagnosistime) >= DATETIME(CURRENT_TIME(...
[ 18108, 5827, 3571, 17, 12, 1485, 15426, 587, 14641, 351, 597, 8526, 1201, 604, 812, 2084, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 13669, 33411, 13669, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 18108, 5827, 3571, 17, 12, 1485, 15426, 587, 14641, 351, 597, 8526, 1201, 604, 812, 2084, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 13669, 33411, 13669, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31...
how many companies released an audiobook titled deadly download
SELECT COUNT(company) FROM table_20174050_24 WHERE title = "Deadly Download"
[ 4919, 867, 2706, 2716, 281, 40504, 49776, 11946, 10309, 4321, 46506, 327, 28270, 7, 39722, 8, 16034, 3084, 62, 5539, 1821, 1120, 62, 1731, 33411, 3670, 796, 366, 20489, 306, 10472, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 2706, 2716, 281, 40504, 49776, 11946, 10309, 4321, 46506, 327, 28270, 7, 39722, 8, 16034, 3084, 62, 5539, 1821, 1120, 62, 1731, 33411, 3670, 796, 366, 20489, 306, 10472, 1 ]
What is the point classification with chris anker s rensen as the young rider classification and Christian vande velde as the general classification?
SELECT "Points classification" FROM table_35469 WHERE "Young rider classification" = 'chris anker sørensen' AND "General classification" = 'christian vande velde'
[ 2061, 318, 262, 966, 17923, 351, 442, 2442, 281, 6122, 264, 302, 5907, 268, 355, 262, 1862, 17876, 17923, 290, 4302, 410, 40004, 1569, 35209, 355, 262, 2276, 17923, 30, 46506, 366, 40710, 17923, 1, 16034, 3084, 62, 32182, 3388, 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...
[ 2061, 318, 262, 966, 17923, 351, 442, 2442, 281, 6122, 264, 302, 5907, 268, 355, 262, 1862, 17876, 17923, 290, 4302, 410, 40004, 1569, 35209, 355, 262, 2276, 17923, 30, 46506, 366, 40710, 17923, 1, 16034, 3084, 62, 32182, 3388, 33411, ...
with Distribution of 10.6% what is the average api level?
SELECT AVG("API level") FROM table_15321 WHERE "Distribution" = '10.6%'
[ 4480, 27484, 286, 838, 13, 21, 4, 644, 318, 262, 2811, 40391, 1241, 30, 46506, 35224, 7203, 17614, 1241, 4943, 16034, 3084, 62, 21395, 2481, 33411, 366, 20344, 3890, 1, 796, 705, 940, 13, 21, 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 ]
[ 4480, 27484, 286, 838, 13, 21, 4, 644, 318, 262, 2811, 40391, 1241, 30, 46506, 35224, 7203, 17614, 1241, 4943, 16034, 3084, 62, 21395, 2481, 33411, 366, 20344, 3890, 1, 796, 705, 940, 13, 21, 4, 6 ]
invasive hemodynamic monitoring
SELECT * FROM table_train_52 WHERE hemodynamic_instability = 1
[ 259, 23747, 16869, 34743, 9904, 46506, 1635, 16034, 3084, 62, 27432, 62, 4309, 33411, 16869, 34743, 62, 8625, 1799, 796, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 259, 23747, 16869, 34743, 9904, 46506, 1635, 16034, 3084, 62, 27432, 62, 4309, 33411, 16869, 34743, 62, 8625, 1799, 796, 352 ]
What's the tail number of the airplane involved in the accident described as crashed?
SELECT tail_number FROM table_229917_2 WHERE brief_description = "Crashed"
[ 2061, 338, 262, 7894, 1271, 286, 262, 19401, 2950, 287, 262, 5778, 3417, 355, 14997, 30, 46506, 7894, 62, 17618, 16034, 3084, 62, 1828, 2079, 1558, 62, 17, 33411, 4506, 62, 11213, 796, 366, 13916, 5263, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7894, 1271, 286, 262, 19401, 2950, 287, 262, 5778, 3417, 355, 14997, 30, 46506, 7894, 62, 17618, 16034, 3084, 62, 1828, 2079, 1558, 62, 17, 33411, 4506, 62, 11213, 796, 366, 13916, 5263, 1 ]
What event was Rob Vine riding?
SELECT "Event" FROM table_79852 WHERE "Rider" = 'rob vine'
[ 2061, 1785, 373, 3851, 28879, 10311, 30, 46506, 366, 9237, 1, 16034, 3084, 62, 43240, 4309, 33411, 366, 49, 1304, 1, 796, 705, 22609, 17793, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1785, 373, 3851, 28879, 10311, 30, 46506, 366, 9237, 1, 16034, 3084, 62, 43240, 4309, 33411, 366, 49, 1304, 1, 796, 705, 22609, 17793, 6 ]
When was the start of the construction of the unit that's been in commercial operation since 04.03.1987?
SELECT "Construction start" FROM table_17903 WHERE "Commercial operation" = '04.03.1987'
[ 2215, 373, 262, 923, 286, 262, 5103, 286, 262, 4326, 326, 338, 587, 287, 5068, 4905, 1201, 8702, 13, 3070, 13, 27301, 30, 46506, 366, 36687, 923, 1, 16034, 3084, 62, 21738, 3070, 33411, 366, 48401, 4905, 1, 796, 705, 3023, 13, 3070,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 262, 923, 286, 262, 5103, 286, 262, 4326, 326, 338, 587, 287, 5068, 4905, 1201, 8702, 13, 3070, 13, 27301, 30, 46506, 366, 36687, 923, 1, 16034, 3084, 62, 21738, 3070, 33411, 366, 48401, 4905, 1, 796, 705, 3023, 13, 3070,...
What is the ratings for the original air date may 25, 2010 22.00 - 22.54?
SELECT "Ratings (Kansai)" FROM table_28797 WHERE "Original airdate" = 'May 25, 2010 22.00 - 22.54'
[ 2061, 318, 262, 10109, 329, 262, 2656, 1633, 3128, 743, 1679, 11, 3050, 2534, 13, 405, 532, 2534, 13, 4051, 30, 46506, 366, 29665, 654, 357, 42, 504, 1872, 16725, 16034, 3084, 62, 2078, 44673, 33411, 366, 20556, 257, 1447, 378, 1, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 10109, 329, 262, 2656, 1633, 3128, 743, 1679, 11, 3050, 2534, 13, 405, 532, 2534, 13, 4051, 30, 46506, 366, 29665, 654, 357, 42, 504, 1872, 16725, 16034, 3084, 62, 2078, 44673, 33411, 366, 20556, 257, 1447, 378, 1, 7...
count the number of patients whose year of death is less than or equal to 2158 and item id is 51078?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.dod_year <= "2158.0" AND lab.itemid = "51078"
[ 9127, 262, 1271, 286, 3871, 3025, 614, 286, 1918, 318, 1342, 621, 393, 4961, 284, 362, 21273, 290, 2378, 4686, 318, 35148, 3695, 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, 1918, 318, 1342, 621, 393, 4961, 284, 362, 21273, 290, 2378, 4686, 318, 35148, 3695, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, ...
Name the trofeo fast team of stage 2
SELECT "Trofeo Fast Team" FROM table_17567 WHERE "Stage" = '2'
[ 5376, 262, 4161, 5036, 78, 3049, 1074, 286, 3800, 362, 46506, 366, 44095, 5036, 78, 12549, 4816, 1, 16034, 3084, 62, 17430, 3134, 33411, 366, 29391, 1, 796, 705, 17, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 4161, 5036, 78, 3049, 1074, 286, 3800, 362, 46506, 366, 44095, 5036, 78, 12549, 4816, 1, 16034, 3084, 62, 17430, 3134, 33411, 366, 29391, 1, 796, 705, 17, 6 ]