instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
What is the Location of the Stadium where Job Dragtsma is Manager?
SELECT location FROM table_name_5 WHERE manager = "job dragtsma"
[ 2061, 318, 262, 13397, 286, 262, 10499, 810, 15768, 12697, 912, 2611, 318, 9142, 30, 46506, 4067, 16034, 3084, 62, 3672, 62, 20, 33411, 4706, 796, 366, 21858, 6715, 912, 2611, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 13397, 286, 262, 10499, 810, 15768, 12697, 912, 2611, 318, 9142, 30, 46506, 4067, 16034, 3084, 62, 3672, 62, 20, 33411, 4706, 796, 366, 21858, 6715, 912, 2611, 1 ]
What was the lowest attendance for the game that had a time of 3:31 and was before game 7?
SELECT MIN("Attendance") FROM table_46572 WHERE "Time" = '3:31' AND "Game" < '7'
[ 2061, 373, 262, 9016, 14858, 329, 262, 983, 326, 550, 257, 640, 286, 513, 25, 3132, 290, 373, 878, 983, 767, 30, 46506, 20625, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 42018, 4761, 33411, 366, 7575, 1, 796, 705, 18, 25, 3132, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 9016, 14858, 329, 262, 983, 326, 550, 257, 640, 286, 513, 25, 3132, 290, 373, 878, 983, 767, 30, 46506, 20625, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 42018, 4761, 33411, 366, 7575, 1, 796, 705, 18, 25, 3132, ...
does any airline have a JET flight between PITTSBURGH and BALTIMORE
SELECT DISTINCT flight.flight_id FROM aircraft, airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, equipment_sequence, flight WHERE (aircraft.propulsion = 'JET' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'BALTIMORE' AND equipment_se...
[ 22437, 597, 18091, 423, 257, 449, 2767, 5474, 1022, 49040, 4694, 38926, 17511, 290, 347, 31429, 3955, 1581, 33635, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 6215, 11, 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...
[ 22437, 597, 18091, 423, 257, 449, 2767, 5474, 1022, 49040, 4694, 38926, 17511, 290, 347, 31429, 3955, 1581, 33635, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 6215, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, ...
What venue is in Santa Barbara, California?
SELECT venue FROM table_name_58 WHERE state = "california" AND city = "santa barbara"
[ 2061, 14359, 318, 287, 8909, 16685, 11, 3442, 30, 46506, 14359, 16034, 3084, 62, 3672, 62, 3365, 33411, 1181, 796, 366, 9948, 361, 3317, 1, 5357, 1748, 796, 366, 82, 4910, 2318, 39389, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14359, 318, 287, 8909, 16685, 11, 3442, 30, 46506, 14359, 16034, 3084, 62, 3672, 62, 3365, 33411, 1181, 796, 366, 9948, 361, 3317, 1, 5357, 1748, 796, 366, 82, 4910, 2318, 39389, 1 ]
Name the number for new mexico
SELECT MIN(pick__number) FROM table_20649850_1 WHERE college = "New Mexico"
[ 5376, 262, 1271, 329, 649, 502, 87, 3713, 46506, 20625, 7, 27729, 834, 17618, 8, 16034, 3084, 62, 1238, 2414, 4089, 1120, 62, 16, 33411, 4152, 796, 366, 3791, 5828, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 649, 502, 87, 3713, 46506, 20625, 7, 27729, 834, 17618, 8, 16034, 3084, 62, 1238, 2414, 4089, 1120, 62, 16, 33411, 4152, 796, 366, 3791, 5828, 1 ]
what is the earliest founded when the home city is mayag ez?
SELECT MIN("Founded") FROM table_76185 WHERE "Home city" = 'mayagüez'
[ 10919, 318, 262, 14555, 9393, 618, 262, 1363, 1748, 318, 743, 363, 304, 89, 30, 46506, 20625, 7203, 37, 6302, 4943, 16034, 3084, 62, 4304, 21652, 33411, 366, 16060, 1748, 1, 796, 705, 11261, 363, 9116, 8471, 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 ]
[ 10919, 318, 262, 14555, 9393, 618, 262, 1363, 1748, 318, 743, 363, 304, 89, 30, 46506, 20625, 7203, 37, 6302, 4943, 16034, 3084, 62, 4304, 21652, 33411, 366, 16060, 1748, 1, 796, 705, 11261, 363, 9116, 8471, 6 ]
What year was the Beaudesert suburb club founded
SELECT "Founded" FROM table_36112 WHERE "Suburb" = 'beaudesert'
[ 2061, 614, 373, 262, 1355, 3885, 274, 861, 23200, 3430, 9393, 46506, 366, 37, 6302, 1, 16034, 3084, 62, 2623, 14686, 33411, 366, 7004, 5945, 1, 796, 705, 1350, 3885, 274, 861, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 614, 373, 262, 1355, 3885, 274, 861, 23200, 3430, 9393, 46506, 366, 37, 6302, 1, 16034, 3084, 62, 2623, 14686, 33411, 366, 7004, 5945, 1, 796, 705, 1350, 3885, 274, 861, 6 ]
list all flights leaving SAN FRANCISCO monday afternoon arriving in PITTSBURGH
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 (((flight.departure_time BETWEEN 1200 AND 1800) AND date_day.day_number = 21 AND date_day.month_number = 2 AND date_day.year = 1991 AND days.day_...
[ 4868, 477, 13956, 4305, 37376, 8782, 20940, 1797, 8220, 285, 3204, 6672, 14820, 287, 49040, 4694, 38926, 17511, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4868, 477, 13956, 4305, 37376, 8782, 20940, 1797, 8220, 285, 3204, 6672, 14820, 287, 49040, 4694, 38926, 17511, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, ...
How many points did the Tyrrell Racing Organisation have?
SELECT points FROM table_name_27 WHERE entrant = "tyrrell racing organisation"
[ 2437, 867, 2173, 750, 262, 14319, 11252, 14954, 30801, 423, 30, 46506, 2173, 16034, 3084, 62, 3672, 62, 1983, 33411, 920, 5250, 796, 366, 774, 81, 11252, 11717, 12684, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 2173, 750, 262, 14319, 11252, 14954, 30801, 423, 30, 46506, 2173, 16034, 3084, 62, 3672, 62, 1983, 33411, 920, 5250, 796, 366, 774, 81, 11252, 11717, 12684, 1 ]
What is the position of the player from Beaumont, Texas?
SELECT "Position" FROM table_77778 WHERE "Hometown" = 'beaumont, texas'
[ 2061, 318, 262, 2292, 286, 262, 2137, 422, 1355, 26043, 756, 11, 3936, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 3324, 39761, 33411, 366, 39, 19191, 1, 796, 705, 1350, 26043, 756, 11, 48659, 292, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2292, 286, 262, 2137, 422, 1355, 26043, 756, 11, 3936, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 3324, 39761, 33411, 366, 39, 19191, 1, 796, 705, 1350, 26043, 756, 11, 48659, 292, 6 ]
Name the tries with tries against of 38
SELECT "Tries for" FROM table_71376 WHERE "Tries against" = '38'
[ 5376, 262, 8404, 351, 8404, 1028, 286, 4353, 46506, 366, 51, 1678, 329, 1, 16034, 3084, 62, 50055, 4304, 33411, 366, 51, 1678, 1028, 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 ]
[ 5376, 262, 8404, 351, 8404, 1028, 286, 4353, 46506, 366, 51, 1678, 329, 1, 16034, 3084, 62, 50055, 4304, 33411, 366, 51, 1678, 1028, 1, 796, 705, 2548, 6 ]
which driver has the least amount of points ?
SELECT "driver" FROM table_203_519 ORDER BY "points" LIMIT 1
[ 4758, 4639, 468, 262, 1551, 2033, 286, 2173, 5633, 46506, 366, 26230, 1, 16034, 3084, 62, 22416, 62, 47785, 38678, 11050, 366, 13033, 1, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4758, 4639, 468, 262, 1551, 2033, 286, 2173, 5633, 46506, 366, 26230, 1, 16034, 3084, 62, 22416, 62, 47785, 38678, 11050, 366, 13033, 1, 27564, 2043, 352 ]
did jim osborne win any titles at least once on a grass court ?
SELECT (SELECT COUNT(*) FROM table_204_335 WHERE "outcome" = 'winner' AND "surface" = 'grass') >= 1
[ 20839, 474, 320, 28686, 13555, 1592, 597, 8714, 379, 1551, 1752, 319, 257, 8701, 2184, 5633, 46506, 357, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 18638, 62, 27326, 33411, 366, 448, 2958, 1, 796, 705, 39791, 6, 5357, 366, 42029, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 20839, 474, 320, 28686, 13555, 1592, 597, 8714, 379, 1551, 1752, 319, 257, 8701, 2184, 5633, 46506, 357, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 18638, 62, 27326, 33411, 366, 448, 2958, 1, 796, 705, 39791, 6, 5357, 366, 42029, 1...
If the Class A is Anton and Class AAA is Burnet, what is Class AA?
SELECT class_aA FROM table_name_88 WHERE class_a = "anton" AND class_aAA = burnet
[ 1532, 262, 5016, 317, 318, 9261, 290, 5016, 25734, 318, 8942, 316, 11, 644, 318, 5016, 15923, 30, 46506, 1398, 62, 64, 32, 16034, 3084, 62, 3672, 62, 3459, 33411, 1398, 62, 64, 796, 366, 23026, 1, 5357, 1398, 62, 64, 3838, 796, 42...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1532, 262, 5016, 317, 318, 9261, 290, 5016, 25734, 318, 8942, 316, 11, 644, 318, 5016, 15923, 30, 46506, 1398, 62, 64, 32, 16034, 3084, 62, 3672, 62, 3459, 33411, 1398, 62, 64, 796, 366, 23026, 1, 5357, 1398, 62, 64, 3838, 796, 42...
for how many days did steven sepulveda stay in the hospital.
SELECT demographic.days_stay FROM demographic WHERE demographic.name = "Steven Sepulveda"
[ 1640, 703, 867, 1528, 750, 2876, 574, 41767, 377, 1079, 64, 2652, 287, 262, 4436, 13, 46506, 16728, 13, 12545, 62, 31712, 16034, 16728, 33411, 16728, 13, 3672, 796, 366, 28292, 8621, 377, 1079, 64, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1640, 703, 867, 1528, 750, 2876, 574, 41767, 377, 1079, 64, 2652, 287, 262, 4436, 13, 46506, 16728, 13, 12545, 62, 31712, 16034, 16728, 33411, 16728, 13, 3672, 796, 366, 28292, 8621, 377, 1079, 64, 1 ]
What is the largest area in Alaska with a population of 39 and rank over 19?
SELECT MAX("Area (km 2 )") FROM table_75330 WHERE "Location" = 'alaska' AND "Population (2000)" = '39' AND "Rank" > '19'
[ 2061, 318, 262, 4387, 1989, 287, 12926, 351, 257, 3265, 286, 5014, 290, 4279, 625, 678, 30, 46506, 25882, 7203, 30547, 357, 13276, 362, 1267, 4943, 16034, 3084, 62, 2425, 26073, 33411, 366, 14749, 1, 796, 705, 282, 8480, 6, 5357, 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 ]
[ 2061, 318, 262, 4387, 1989, 287, 12926, 351, 257, 3265, 286, 5014, 290, 4279, 625, 678, 30, 46506, 25882, 7203, 30547, 357, 13276, 362, 1267, 4943, 16034, 3084, 62, 2425, 26073, 33411, 366, 14749, 1, 796, 705, 282, 8480, 6, 5357, 366,...
provide the number of patients whose admission type is emergency and procedure icd9 code is 3897?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_type = "EMERGENCY" AND procedures.icd9_code = "3897"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 13938, 2099, 318, 6334, 290, 8771, 14158, 67, 24, 2438, 318, 4353, 5607, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 902...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13938, 2099, 318, 6334, 290, 8771, 14158, 67, 24, 2438, 318, 4353, 5607, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 902...
what difference is in the mcv value of patient 25493 second measured on the last hospital visit compared to the value first measured on the last hospital visit?
SELECT (SELECT labevents.valuenum FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 25493 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime DESC LIMIT 1) AND labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.l...
[ 10919, 3580, 318, 287, 262, 285, 33967, 1988, 286, 5827, 1679, 43134, 1218, 8630, 319, 262, 938, 4436, 3187, 3688, 284, 262, 1988, 717, 8630, 319, 262, 938, 4436, 3187, 30, 46506, 357, 46506, 2248, 31534, 13, 2100, 84, 44709, 16034, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 3580, 318, 287, 262, 285, 33967, 1988, 286, 5827, 1679, 43134, 1218, 8630, 319, 262, 938, 4436, 3187, 3688, 284, 262, 1988, 717, 8630, 319, 262, 938, 4436, 3187, 30, 46506, 357, 46506, 2248, 31534, 13, 2100, 84, 44709, 16034, 2...
give me the number of patients whose death status is 1 and drug name is glucagon?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.expire_flag = "1" AND prescriptions.drug = "Glucagon"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 1918, 3722, 318, 352, 290, 2563, 1438, 318, 14182, 1840, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 26535, 502, 262, 1271, 286, 3871, 3025, 1918, 3722, 318, 352, 290, 2563, 1438, 318, 14182, 1840, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728, ...
What is dma?
SELECT MIN("DMA") FROM table_22829
[ 2061, 318, 288, 2611, 30, 46506, 20625, 7203, 35, 5673, 4943, 16034, 3084, 62, 23815, 1959 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 288, 2611, 30, 46506, 20625, 7203, 35, 5673, 4943, 16034, 3084, 62, 23815, 1959 ]
What is the lowest prominence for a peak with elevation of 3,615 meters?
SELECT MIN(prominence__m_) FROM table_name_87 WHERE elevation__m_ = 3 OFFSET 615
[ 2061, 318, 262, 9016, 31198, 329, 257, 9103, 351, 22910, 286, 513, 11, 47007, 10700, 30, 46506, 20625, 7, 16963, 18386, 834, 76, 62, 8, 16034, 3084, 62, 3672, 62, 5774, 33411, 22910, 834, 76, 62, 796, 513, 3963, 10652, 2767, 718, 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 ]
[ 2061, 318, 262, 9016, 31198, 329, 257, 9103, 351, 22910, 286, 513, 11, 47007, 10700, 30, 46506, 20625, 7, 16963, 18386, 834, 76, 62, 8, 16034, 3084, 62, 3672, 62, 5774, 33411, 22910, 834, 76, 62, 796, 513, 3963, 10652, 2767, 718, 13...
Find the names of schools that have some students playing in goalie and mid positions.
SELECT cname FROM tryout WHERE ppos = 'goalie' INTERSECT SELECT cname FROM tryout WHERE ppos = 'mid'
[ 16742, 262, 3891, 286, 4266, 326, 423, 617, 2444, 2712, 287, 31071, 290, 3095, 6116, 13, 46506, 269, 3672, 16034, 1949, 448, 33411, 279, 1930, 796, 705, 35231, 494, 6, 17828, 4877, 9782, 33493, 269, 3672, 16034, 1949, 448, 33411, 279, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16742, 262, 3891, 286, 4266, 326, 423, 617, 2444, 2712, 287, 31071, 290, 3095, 6116, 13, 46506, 269, 3672, 16034, 1949, 448, 33411, 279, 1930, 796, 705, 35231, 494, 6, 17828, 4877, 9782, 33493, 269, 3672, 16034, 1949, 448, 33411, 279, ...
who made high assists on february 4
SELECT "High assists" FROM table_72881 WHERE "Date" = 'February 4'
[ 8727, 925, 1029, 13648, 319, 730, 65, 3728, 604, 46506, 366, 11922, 13648, 1, 16034, 3084, 62, 48524, 6659, 33411, 366, 10430, 1, 796, 705, 21816, 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 ]
[ 8727, 925, 1029, 13648, 319, 730, 65, 3728, 604, 46506, 366, 11922, 13648, 1, 16034, 3084, 62, 48524, 6659, 33411, 366, 10430, 1, 796, 705, 21816, 604, 6 ]
How many times is the player scott deibert?
SELECT COUNT("Pick #") FROM table_49150 WHERE "Player" = 'scott deibert'
[ 2437, 867, 1661, 318, 262, 2137, 629, 1252, 390, 1856, 83, 30, 46506, 327, 28270, 7203, 31686, 1303, 4943, 16034, 3084, 62, 2920, 8628, 33411, 366, 14140, 1, 796, 705, 1416, 1252, 390, 1856, 83, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 1661, 318, 262, 2137, 629, 1252, 390, 1856, 83, 30, 46506, 327, 28270, 7203, 31686, 1303, 4943, 16034, 3084, 62, 2920, 8628, 33411, 366, 14140, 1, 796, 705, 1416, 1252, 390, 1856, 83, 6 ]
What is the total of the team with a T score less than 6.8?
SELECT SUM("Total") FROM table_39236 WHERE "T Score" < '6.8'
[ 2061, 318, 262, 2472, 286, 262, 1074, 351, 257, 309, 4776, 1342, 621, 718, 13, 23, 30, 46506, 35683, 7203, 14957, 4943, 16034, 3084, 62, 2670, 24940, 33411, 366, 51, 15178, 1, 1279, 705, 21, 13, 23, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2472, 286, 262, 1074, 351, 257, 309, 4776, 1342, 621, 718, 13, 23, 30, 46506, 35683, 7203, 14957, 4943, 16034, 3084, 62, 2670, 24940, 33411, 366, 51, 15178, 1, 1279, 705, 21, 13, 23, 6 ]
What is Years, when Jersey Number(s) is 5?
SELECT years FROM table_name_43 WHERE jersey_number_s_ = "5"
[ 2061, 318, 13212, 11, 618, 8221, 7913, 7, 82, 8, 318, 642, 30, 46506, 812, 16034, 3084, 62, 3672, 62, 3559, 33411, 22383, 62, 17618, 62, 82, 62, 796, 366, 20, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 13212, 11, 618, 8221, 7913, 7, 82, 8, 318, 642, 30, 46506, 812, 16034, 3084, 62, 3672, 62, 3559, 33411, 22383, 62, 17618, 62, 82, 62, 796, 366, 20, 1 ]
Compare the prices of each manufacturer's most expensive product with a bar chart, and could you display by the Y in ascending?
SELECT T2.Name, MAX(T1.Price) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name ORDER BY MAX(T1.Price)
[ 41488, 262, 4536, 286, 1123, 11554, 338, 749, 5789, 1720, 351, 257, 2318, 8262, 11, 290, 714, 345, 3359, 416, 262, 575, 287, 41988, 30, 46506, 309, 17, 13, 5376, 11, 25882, 7, 51, 16, 13, 18124, 8, 16034, 18675, 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...
[ 41488, 262, 4536, 286, 1123, 11554, 338, 749, 5789, 1720, 351, 257, 2318, 8262, 11, 290, 714, 345, 3359, 416, 262, 575, 287, 41988, 30, 46506, 309, 17, 13, 5376, 11, 25882, 7, 51, 16, 13, 18124, 8, 16034, 18675, 7054, 309, 16, 323...
What country was the golfer with a score of 72-72-72=216 representing?
SELECT country FROM table_name_78 WHERE score = 72 - 72 - 72 = 216
[ 2061, 1499, 373, 262, 43791, 2232, 351, 257, 4776, 286, 7724, 12, 4761, 12, 4761, 28, 20666, 10200, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 3695, 33411, 4776, 796, 7724, 532, 7724, 532, 7724, 796, 26881 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1499, 373, 262, 43791, 2232, 351, 257, 4776, 286, 7724, 12, 4761, 12, 4761, 28, 20666, 10200, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 3695, 33411, 4776, 796, 7724, 532, 7724, 532, 7724, 796, 26881 ]
what is the number of patients who had been diagnosed with tia in 2102?
SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.patientunitstayid IN (SELECT diagnosis.patientunitstayid FROM diagnosis WHERE diagnosis.diagnosisname = 'tia' AND STRFTIME('%y', diagnosis.diagnosistime) = '2102')
[ 10919, 318, 262, 1271, 286, 3871, 508, 550, 587, 14641, 351, 256, 544, 287, 362, 15377, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 5827, 13, 403, 1557, 538, 312, 8, 16034, 5827, 33411, 5827, 13, 26029, 20850, 31712, 312, 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, 508, 550, 587, 14641, 351, 256, 544, 287, 362, 15377, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 5827, 13, 403, 1557, 538, 312, 8, 16034, 5827, 33411, 5827, 13, 26029, 20850, 31712, 312, 3268, ...
What is the torque for Model of 2.0 bitdi (cr) dpf, in 2010 ?
SELECT "Torque" FROM table_38869 WHERE "Model" = '2.0 bitdi (cr) dpf' AND "Years" = '2010–'
[ 2061, 318, 262, 26415, 329, 9104, 286, 362, 13, 15, 1643, 10989, 357, 6098, 8, 288, 79, 69, 11, 287, 3050, 5633, 46506, 366, 15884, 4188, 1, 16034, 3084, 62, 30460, 3388, 33411, 366, 17633, 1, 796, 705, 17, 13, 15, 1643, 10989, 35...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 26415, 329, 9104, 286, 362, 13, 15, 1643, 10989, 357, 6098, 8, 288, 79, 69, 11, 287, 3050, 5633, 46506, 366, 15884, 4188, 1, 16034, 3084, 62, 30460, 3388, 33411, 366, 17633, 1, 796, 705, 17, 13, 15, 1643, 10989, 35...
What round was jerry corcoran drafted in as pick number 114?
SELECT MAX(round) FROM table_name_63 WHERE pick > 114 AND player = "jerry corcoran"
[ 2061, 2835, 373, 474, 6996, 1162, 10215, 272, 15937, 287, 355, 2298, 1271, 17342, 30, 46506, 25882, 7, 744, 8, 16034, 3084, 62, 3672, 62, 5066, 33411, 2298, 1875, 17342, 5357, 2137, 796, 366, 73, 6996, 1162, 10215, 272, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2835, 373, 474, 6996, 1162, 10215, 272, 15937, 287, 355, 2298, 1271, 17342, 30, 46506, 25882, 7, 744, 8, 16034, 3084, 62, 3672, 62, 5066, 33411, 2298, 1875, 17342, 5357, 2137, 796, 366, 73, 6996, 1162, 10215, 272, 1 ]
Which Fleet Series (Quantity) that has a Builder of mci, and an Order Year of 2002?
SELECT "Fleet Series (Quantity)" FROM table_71697 WHERE "Builder" = 'mci' AND "Order Year" = '2002'
[ 13828, 20001, 7171, 357, 31208, 8, 326, 468, 257, 35869, 286, 285, 979, 11, 290, 281, 8284, 6280, 286, 6244, 30, 46506, 366, 47669, 316, 7171, 357, 31208, 16725, 16034, 3084, 62, 22, 1433, 5607, 33411, 366, 32875, 1, 796, 705, 76, 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 ]
[ 13828, 20001, 7171, 357, 31208, 8, 326, 468, 257, 35869, 286, 285, 979, 11, 290, 281, 8284, 6280, 286, 6244, 30, 46506, 366, 47669, 316, 7171, 357, 31208, 16725, 16034, 3084, 62, 22, 1433, 5607, 33411, 366, 32875, 1, 796, 705, 76, 9...
What are the first names of the professors who do not play Canoeing or Kayaking as activities?
SELECT lname FROM faculty WHERE rank = 'Professor' EXCEPT SELECT DISTINCT T1.lname FROM faculty AS T1 JOIN faculty_participates_in AS T2 ON T1.facid = T2.facid JOIN activity AS T3 ON T2.actid = T2.actid WHERE T3.activity_name = 'Canoeing' OR T3.activity_name = 'Kayaking'
[ 2061, 389, 262, 717, 3891, 286, 262, 20339, 508, 466, 407, 711, 1680, 2577, 278, 393, 17356, 868, 355, 4568, 30, 46506, 300, 3672, 16034, 12829, 33411, 4279, 796, 705, 25031, 6, 7788, 42006, 33493, 360, 8808, 1268, 4177, 309, 16, 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...
[ 2061, 389, 262, 717, 3891, 286, 262, 20339, 508, 466, 407, 711, 1680, 2577, 278, 393, 17356, 868, 355, 4568, 30, 46506, 300, 3672, 16034, 12829, 33411, 4279, 796, 705, 25031, 6, 7788, 42006, 33493, 360, 8808, 1268, 4177, 309, 16, 13, ...
give me the number of patients whose ethnicity is american indian/alaska native and admission year is less than 2148?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "AMERICAN INDIAN/ALASKA NATIVE" AND demographic.admityear < "2148"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 26289, 318, 45630, 272, 773, 666, 14, 282, 8480, 6868, 290, 13938, 614, 318, 1342, 621, 362, 18294, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 26535, 502, 262, 1271, 286, 3871, 3025, 26289, 318, 45630, 272, 773, 666, 14, 282, 8480, 6868, 290, 13938, 614, 318, 1342, 621, 362, 18294, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, ...
What are the number of the dates with a maximum temperature higher than 85?, rank by the x-axis from high to low.
SELECT date, COUNT(date) FROM weather WHERE max_temperature_f > 85 GROUP BY date ORDER BY date DESC
[ 2061, 389, 262, 1271, 286, 262, 9667, 351, 257, 5415, 5951, 2440, 621, 7600, 21747, 4279, 416, 262, 2124, 12, 22704, 422, 1029, 284, 1877, 13, 46506, 3128, 11, 327, 28270, 7, 4475, 8, 16034, 6193, 33411, 3509, 62, 11498, 21069, 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 ]
[ 2061, 389, 262, 1271, 286, 262, 9667, 351, 257, 5415, 5951, 2440, 621, 7600, 21747, 4279, 416, 262, 2124, 12, 22704, 422, 1029, 284, 1877, 13, 46506, 3128, 11, 327, 28270, 7, 4475, 8, 16034, 6193, 33411, 3509, 62, 11498, 21069, 62, ...
Give me a bar chart to compare the number of departments located in different cities, and list y-axis from high to low order.
SELECT CITY, COUNT(CITY) FROM locations GROUP BY CITY ORDER BY COUNT(CITY) DESC
[ 23318, 502, 257, 2318, 8262, 284, 8996, 262, 1271, 286, 13346, 5140, 287, 1180, 4736, 11, 290, 1351, 331, 12, 22704, 422, 1029, 284, 1877, 1502, 13, 46506, 27993, 11, 327, 28270, 7, 34, 9050, 8, 16034, 7064, 44441, 11050, 27993, 38678...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 23318, 502, 257, 2318, 8262, 284, 8996, 262, 1271, 286, 13346, 5140, 287, 1180, 4736, 11, 290, 1351, 331, 12, 22704, 422, 1029, 284, 1877, 1502, 13, 46506, 27993, 11, 327, 28270, 7, 34, 9050, 8, 16034, 7064, 44441, 11050, 27993, 38678...
What was the record in the game where the opponent wasd the atlanta falcons?
SELECT record FROM table_name_40 WHERE opponent = "atlanta falcons"
[ 2061, 373, 262, 1700, 287, 262, 983, 810, 262, 6125, 373, 67, 262, 379, 75, 4910, 24215, 5936, 30, 46506, 1700, 16034, 3084, 62, 3672, 62, 1821, 33411, 6125, 796, 366, 25864, 4910, 24215, 5936, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 1700, 287, 262, 983, 810, 262, 6125, 373, 67, 262, 379, 75, 4910, 24215, 5936, 30, 46506, 1700, 16034, 3084, 62, 3672, 62, 1821, 33411, 6125, 796, 366, 25864, 4910, 24215, 5936, 1 ]
which years did chile place silver or bronze ?
SELECT "year" FROM table_204_360 WHERE "silver" = 'chile' OR "bronze" = 'chile'
[ 4758, 812, 750, 442, 576, 1295, 8465, 393, 22101, 5633, 46506, 366, 1941, 1, 16034, 3084, 62, 18638, 62, 15277, 33411, 366, 40503, 1, 796, 705, 354, 576, 6, 6375, 366, 65, 1313, 2736, 1, 796, 705, 354, 576, 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 ]
[ 4758, 812, 750, 442, 576, 1295, 8465, 393, 22101, 5633, 46506, 366, 1941, 1, 16034, 3084, 62, 18638, 62, 15277, 33411, 366, 40503, 1, 796, 705, 354, 576, 6, 6375, 366, 65, 1313, 2736, 1, 796, 705, 354, 576, 6 ]
What is the customer id, first and last name with least number of accounts.
SELECT T1.customer_id, T2.customer_first_name, T2.customer_last_name FROM Customers_cards AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id GROUP BY T1.customer_id ORDER BY COUNT(*) LIMIT 1
[ 2061, 318, 262, 6491, 4686, 11, 717, 290, 938, 1438, 351, 1551, 1271, 286, 5504, 13, 46506, 309, 16, 13, 23144, 263, 62, 312, 11, 309, 17, 13, 23144, 263, 62, 11085, 62, 3672, 11, 309, 17, 13, 23144, 263, 62, 12957, 62, 3672, 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...
[ 2061, 318, 262, 6491, 4686, 11, 717, 290, 938, 1438, 351, 1551, 1271, 286, 5504, 13, 46506, 309, 16, 13, 23144, 263, 62, 312, 11, 309, 17, 13, 23144, 263, 62, 11085, 62, 3672, 11, 309, 17, 13, 23144, 263, 62, 12957, 62, 3672, 16...
What was the recorded result under presidential majority 2000/2004 when the presiditial majority in 2012 was non-voting?
SELECT "Presidential majority 2000/2004" FROM table_19509 WHERE "Presidential majority 2012" = 'Non-voting'
[ 2061, 373, 262, 6264, 1255, 739, 4787, 3741, 4751, 14, 15724, 618, 262, 906, 312, 6847, 3741, 287, 2321, 373, 1729, 12, 85, 10720, 30, 46506, 366, 10364, 498, 3741, 4751, 14, 15724, 1, 16034, 3084, 62, 1129, 29022, 33411, 366, 10364, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6264, 1255, 739, 4787, 3741, 4751, 14, 15724, 618, 262, 906, 312, 6847, 3741, 287, 2321, 373, 1729, 12, 85, 10720, 30, 46506, 366, 10364, 498, 3741, 4751, 14, 15724, 1, 16034, 3084, 62, 1129, 29022, 33411, 366, 10364, ...
What is the rank for the player with events greater than 23 and prize money in excess of $823,783?
SELECT COUNT(rank) FROM table_name_33 WHERE events > 23 AND prize_money__$__ > 823 OFFSET 783
[ 2061, 318, 262, 4279, 329, 262, 2137, 351, 2995, 3744, 621, 2242, 290, 11596, 1637, 287, 6992, 286, 720, 23, 1954, 11, 50165, 30, 46506, 327, 28270, 7, 43027, 8, 16034, 3084, 62, 3672, 62, 2091, 33411, 2995, 1875, 2242, 5357, 11596, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4279, 329, 262, 2137, 351, 2995, 3744, 621, 2242, 290, 11596, 1637, 287, 6992, 286, 720, 23, 1954, 11, 50165, 30, 46506, 327, 28270, 7, 43027, 8, 16034, 3084, 62, 3672, 62, 2091, 33411, 2995, 1875, 2242, 5357, 11596, ...
When did Bonecrusher win the championship at Bayam n, Puerto Rico?
SELECT "Date Won" FROM table_68147 WHERE "Location" = 'bayamón, puerto rico' AND "Champion(s)" = 'bonecrusher'
[ 2215, 750, 21717, 6098, 34055, 1592, 262, 12184, 379, 4696, 321, 299, 11, 15295, 16707, 30, 46506, 366, 10430, 23306, 1, 16034, 3084, 62, 3104, 20198, 33411, 366, 14749, 1, 796, 705, 24406, 321, 18840, 11, 47574, 13806, 374, 3713, 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 ]
[ 2215, 750, 21717, 6098, 34055, 1592, 262, 12184, 379, 4696, 321, 299, 11, 15295, 16707, 30, 46506, 366, 10430, 23306, 1, 16034, 3084, 62, 3104, 20198, 33411, 366, 14749, 1, 796, 705, 24406, 321, 18840, 11, 47574, 13806, 374, 3713, 6, ...
what is the total number of patients who were admitted to the hospital?
SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions
[ 10919, 318, 262, 2472, 1271, 286, 3871, 508, 547, 6848, 284, 262, 4436, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 25349, 13, 32796, 62, 312, 8, 16034, 25349 ]
[ 1, 1, 1, 1, 1, 1, 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, 508, 547, 6848, 284, 262, 4436, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 25349, 13, 32796, 62, 312, 8, 16034, 25349 ]
what is the number of patients whose item id is 51250?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE lab.itemid = "51250"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 2378, 4686, 318, 22243, 1120, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108, 76, 62, 312, 796...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2378, 4686, 318, 22243, 1120, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108, 76, 62, 312, 796...
Which city has ERP W under 14 and a frequency over 93.7MHz?
SELECT city_of_license FROM table_name_20 WHERE erp_w < 14 AND frequency_mhz > 93.7
[ 13828, 1748, 468, 13793, 47, 370, 739, 1478, 290, 257, 8373, 625, 10261, 13, 22, 25983, 30, 46506, 1748, 62, 1659, 62, 43085, 16034, 3084, 62, 3672, 62, 1238, 33411, 1931, 79, 62, 86, 1279, 1478, 5357, 8373, 62, 76, 32179, 1875, 102...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 1748, 468, 13793, 47, 370, 739, 1478, 290, 257, 8373, 625, 10261, 13, 22, 25983, 30, 46506, 1748, 62, 1659, 62, 43085, 16034, 3084, 62, 3672, 62, 1238, 33411, 1931, 79, 62, 86, 1279, 1478, 5357, 8373, 62, 76, 32179, 1875, 102...
What is the film dated 22/3/06 and redhouse lane / perfect world was the recipient?
SELECT film FROM table_name_35 WHERE date = "22/3/06" AND recipient = "redhouse lane / perfect world"
[ 2061, 318, 262, 2646, 14567, 2534, 14, 18, 14, 3312, 290, 2266, 4803, 11193, 1220, 2818, 995, 373, 262, 17800, 30, 46506, 2646, 16034, 3084, 62, 3672, 62, 2327, 33411, 3128, 796, 366, 1828, 14, 18, 14, 3312, 1, 5357, 17800, 796, 366...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2646, 14567, 2534, 14, 18, 14, 3312, 290, 2266, 4803, 11193, 1220, 2818, 995, 373, 262, 17800, 30, 46506, 2646, 16034, 3084, 62, 3672, 62, 2327, 33411, 3128, 796, 366, 1828, 14, 18, 14, 3312, 1, 5357, 17800, 796, 366...
What is the percentage of growth in 2000-2008 in ethiopia?
SELECT "% growth (2000\u20132008)" FROM table_72124 WHERE "Nation" = 'Ethiopia'
[ 2061, 318, 262, 5873, 286, 3349, 287, 4751, 12, 11528, 287, 4555, 14922, 544, 30, 46506, 36521, 3349, 357, 11024, 59, 84, 6390, 11528, 16725, 16034, 3084, 62, 4761, 17464, 33411, 366, 46108, 1, 796, 705, 40226, 14922, 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, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 5873, 286, 3349, 287, 4751, 12, 11528, 287, 4555, 14922, 544, 30, 46506, 36521, 3349, 357, 11024, 59, 84, 6390, 11528, 16725, 16034, 3084, 62, 4761, 17464, 33411, 366, 46108, 1, 796, 705, 40226, 14922, 544, 6 ]
Who did the high assists in the game played on February 9?
SELECT "High assists" FROM table_73458 WHERE "Date" = 'February 9'
[ 8241, 750, 262, 1029, 13648, 287, 262, 983, 2826, 319, 3945, 860, 30, 46506, 366, 11922, 13648, 1, 16034, 3084, 62, 4790, 29334, 33411, 366, 10430, 1, 796, 705, 21816, 860, 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 ]
[ 8241, 750, 262, 1029, 13648, 287, 262, 983, 2826, 319, 3945, 860, 30, 46506, 366, 11922, 13648, 1, 16034, 3084, 62, 4790, 29334, 33411, 366, 10430, 1, 796, 705, 21816, 860, 6 ]
What director has 2004-03-31 as the release date, with daffy (as duck dodgers) as the character?
SELECT "Director" FROM table_62787 WHERE "Release date" = '2004-03-31' AND "Characters" = 'daffy (as duck dodgers)'
[ 2061, 3437, 468, 5472, 12, 3070, 12, 3132, 355, 262, 2650, 3128, 11, 351, 288, 2001, 88, 357, 292, 22045, 20764, 5355, 8, 355, 262, 2095, 30, 46506, 366, 28702, 1, 16034, 3084, 62, 49856, 5774, 33411, 366, 26362, 3128, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 3437, 468, 5472, 12, 3070, 12, 3132, 355, 262, 2650, 3128, 11, 351, 288, 2001, 88, 357, 292, 22045, 20764, 5355, 8, 355, 262, 2095, 30, 46506, 366, 28702, 1, 16034, 3084, 62, 49856, 5774, 33411, 366, 26362, 3128, 1, 796, 705, ...
Kaluvanchikudy is the main town in what DS division?
SELECT ds_division FROM table_12485020_1 WHERE main_town = "Kaluvanchikudy"
[ 41428, 14795, 3702, 1134, 463, 88, 318, 262, 1388, 3240, 287, 644, 17400, 7297, 30, 46506, 288, 82, 62, 21426, 16034, 3084, 62, 1065, 2780, 1120, 1238, 62, 16, 33411, 1388, 62, 12735, 796, 366, 41428, 14795, 3702, 1134, 463, 88, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 41428, 14795, 3702, 1134, 463, 88, 318, 262, 1388, 3240, 287, 644, 17400, 7297, 30, 46506, 288, 82, 62, 21426, 16034, 3084, 62, 1065, 2780, 1120, 1238, 62, 16, 33411, 1388, 62, 12735, 796, 366, 41428, 14795, 3702, 1134, 463, 88, 1 ]
Record of 22 20 involved what score?
SELECT score FROM table_name_46 WHERE record = "22–20"
[ 23739, 286, 2534, 1160, 2950, 644, 4776, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 3510, 33411, 1700, 796, 366, 1828, 1906, 1238, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 23739, 286, 2534, 1160, 2950, 644, 4776, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 3510, 33411, 1700, 796, 366, 1828, 1906, 1238, 1 ]
What is the highest number of wins for club Cd Orense, with points greater than 36 and more than 4 draws?
SELECT MAX(wins) FROM table_name_82 WHERE draws > 4 AND club = "cd orense" AND points > 36
[ 2061, 318, 262, 4511, 1271, 286, 7864, 329, 3430, 327, 67, 440, 918, 325, 11, 351, 2173, 3744, 621, 4570, 290, 517, 621, 604, 14293, 30, 46506, 25882, 7, 86, 1040, 8, 16034, 3084, 62, 3672, 62, 6469, 33411, 14293, 1875, 604, 5357, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4511, 1271, 286, 7864, 329, 3430, 327, 67, 440, 918, 325, 11, 351, 2173, 3744, 621, 4570, 290, 517, 621, 604, 14293, 30, 46506, 25882, 7, 86, 1040, 8, 16034, 3084, 62, 3672, 62, 6469, 33411, 14293, 1875, 604, 5357, ...
what is drug name of drug code alte1/2i?
SELECT prescriptions.drug FROM prescriptions WHERE prescriptions.formulary_drug_cd = "ALTE1/2I"
[ 10919, 318, 2563, 1438, 286, 2563, 2438, 435, 660, 16, 14, 17, 72, 30, 46506, 34092, 13, 30349, 16034, 34092, 33411, 34092, 13, 687, 377, 560, 62, 30349, 62, 10210, 796, 366, 1847, 9328, 16, 14, 17, 40, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2563, 1438, 286, 2563, 2438, 435, 660, 16, 14, 17, 72, 30, 46506, 34092, 13, 30349, 16034, 34092, 33411, 34092, 13, 687, 377, 560, 62, 30349, 62, 10210, 796, 366, 1847, 9328, 16, 14, 17, 40, 1 ]
How much did the Modern Pentathlon III Series coin weigh?
SELECT "Weight" FROM table_15744 WHERE "Series" = 'iii series' AND "Reverse" = 'modern pentathlon'
[ 2437, 881, 750, 262, 12495, 9696, 50236, 6711, 7171, 10752, 10164, 30, 46506, 366, 25844, 1, 16034, 3084, 62, 18458, 2598, 33411, 366, 27996, 1, 796, 705, 15479, 2168, 6, 5357, 366, 49, 964, 325, 1, 796, 705, 23922, 28145, 50236, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 881, 750, 262, 12495, 9696, 50236, 6711, 7171, 10752, 10164, 30, 46506, 366, 25844, 1, 16034, 3084, 62, 18458, 2598, 33411, 366, 27996, 1, 796, 705, 15479, 2168, 6, 5357, 366, 49, 964, 325, 1, 796, 705, 23922, 28145, 50236, 6 ]
Return a scatter chart about the correlation between Team_ID and All_Games_Percent , and group by attribute All_Road.
SELECT Team_ID, All_Games_Percent FROM basketball_match GROUP BY All_Road
[ 13615, 257, 41058, 8262, 546, 262, 16096, 1022, 4816, 62, 2389, 290, 1439, 62, 24474, 62, 31905, 837, 290, 1448, 416, 11688, 1439, 62, 29197, 13, 46506, 4816, 62, 2389, 11, 1439, 62, 24474, 62, 31905, 16034, 9669, 62, 15699, 44441, 11...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13615, 257, 41058, 8262, 546, 262, 16096, 1022, 4816, 62, 2389, 290, 1439, 62, 24474, 62, 31905, 837, 290, 1448, 416, 11688, 1439, 62, 29197, 13, 46506, 4816, 62, 2389, 11, 1439, 62, 24474, 62, 31905, 16034, 9669, 62, 15699, 44441, 11...
644 is taught by teachers other than Prof. Dustin Gamza ?
SELECT DISTINCT instructor.name FROM course, course_offering, instructor, offering_instructor WHERE course.course_id = course_offering.course_id AND course.department = 'EECS' AND course.number = 644 AND NOT instructor.name LIKE '%Dustin Gamza%' AND offering_instructor.instructor_id = instructor.instructor_id AND offer...
[ 29173, 318, 7817, 416, 7799, 584, 621, 4415, 13, 37616, 14014, 4496, 5633, 46506, 360, 8808, 1268, 4177, 21187, 13, 3672, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 21187, 11, 6011, 62, 259, 7249, 273, 33411, 1781, 13, 17319, 62, 312,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 29173, 318, 7817, 416, 7799, 584, 621, 4415, 13, 37616, 14014, 4496, 5633, 46506, 360, 8808, 1268, 4177, 21187, 13, 3672, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 21187, 11, 6011, 62, 259, 7249, 273, 33411, 1781, 13, 17319, 62, 312,...
What is the average place for a couple with the rank by average of 9 and total smaller than 83?
SELECT AVG(place) FROM table_name_91 WHERE rank_by_average = 9 AND total < 83
[ 2061, 318, 262, 2811, 1295, 329, 257, 3155, 351, 262, 4279, 416, 2811, 286, 860, 290, 2472, 4833, 621, 9698, 30, 46506, 35224, 7, 5372, 8, 16034, 3084, 62, 3672, 62, 6420, 33411, 4279, 62, 1525, 62, 23913, 796, 860, 5357, 2472, 1279...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1295, 329, 257, 3155, 351, 262, 4279, 416, 2811, 286, 860, 290, 2472, 4833, 621, 9698, 30, 46506, 35224, 7, 5372, 8, 16034, 3084, 62, 3672, 62, 6420, 33411, 4279, 62, 1525, 62, 23913, 796, 860, 5357, 2472, 1279...
Which part 3 has class 7b?
SELECT part_3 FROM table_name_97 WHERE class = "7b"
[ 13828, 636, 513, 468, 1398, 767, 65, 30, 46506, 636, 62, 18, 16034, 3084, 62, 3672, 62, 5607, 33411, 1398, 796, 366, 22, 65, 1 ]
[ 1, 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, 636, 513, 468, 1398, 767, 65, 30, 46506, 636, 62, 18, 16034, 3084, 62, 3672, 62, 5607, 33411, 1398, 796, 366, 22, 65, 1 ]
Show the police force shared by counties with location on the east and west.
SELECT Police_force FROM county_public_safety WHERE LOCATION = "East" INTERSECT SELECT Police_force FROM county_public_safety WHERE LOCATION = "West"
[ 15307, 262, 1644, 2700, 4888, 416, 14683, 351, 4067, 319, 262, 7627, 290, 7421, 13, 46506, 4287, 62, 3174, 16034, 7968, 62, 11377, 62, 44708, 33411, 37347, 6234, 796, 366, 25234, 1, 17828, 4877, 9782, 33493, 4287, 62, 3174, 16034, 7968,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 262, 1644, 2700, 4888, 416, 14683, 351, 4067, 319, 262, 7627, 290, 7421, 13, 46506, 4287, 62, 3174, 16034, 7968, 62, 11377, 62, 44708, 33411, 37347, 6234, 796, 366, 25234, 1, 17828, 4877, 9782, 33493, 4287, 62, 3174, 16034, 7968,...
Who was the opponent of carlton at their home game?
SELECT "Away team" FROM table_52060 WHERE "Home team" = 'carlton'
[ 8241, 373, 262, 6125, 286, 1097, 75, 1122, 379, 511, 1363, 983, 30, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 31211, 1899, 33411, 366, 16060, 1074, 1, 796, 705, 66, 7063, 1122, 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 ]
[ 8241, 373, 262, 6125, 286, 1097, 75, 1122, 379, 511, 1363, 983, 30, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 31211, 1899, 33411, 366, 16060, 1074, 1, 796, 705, 66, 7063, 1122, 6 ]
What is the number of patients who were transfered to a cancer/chlidren hospital who had icd9 code 8604?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.discharge_location = "DISC-TRAN CANCER/CHLDRN H" AND procedures.icd9_code = "8604"
[ 2061, 318, 262, 1271, 286, 3871, 508, 547, 13501, 1068, 284, 257, 4890, 14, 354, 75, 312, 918, 4436, 508, 550, 14158, 67, 24, 2438, 807, 31916, 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, 1...
[ 2061, 318, 262, 1271, 286, 3871, 508, 547, 13501, 1068, 284, 257, 4890, 14, 354, 75, 312, 918, 4436, 508, 550, 14158, 67, 24, 2438, 807, 31916, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 1...
Which country has a to par less than 19 and a score of 75-79-77-73=304?
SELECT "Country" FROM table_79009 WHERE "To par" < '19' AND "Score" = '75-79-77-73=304'
[ 13828, 1499, 468, 257, 284, 1582, 1342, 621, 678, 290, 257, 4776, 286, 5441, 12, 3720, 12, 3324, 12, 4790, 28, 21288, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 3720, 28694, 33411, 366, 2514, 1582, 1, 1279, 705, 1129, 6, 5357, 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 ]
[ 13828, 1499, 468, 257, 284, 1582, 1342, 621, 678, 290, 257, 4776, 286, 5441, 12, 3720, 12, 3324, 12, 4790, 28, 21288, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 3720, 28694, 33411, 366, 2514, 1582, 1, 1279, 705, 1129, 6, 5357, 366, ...
Who is the Winner, when the Prize is 880,000?
SELECT "Winner" FROM table_67353 WHERE "Prize" = '€880,000'
[ 8241, 318, 262, 25358, 11, 618, 262, 15895, 318, 807, 1795, 11, 830, 30, 46506, 366, 48056, 1, 16034, 3084, 62, 3134, 33319, 33411, 366, 34487, 2736, 1, 796, 705, 26391, 41655, 11, 830, 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 ]
[ 8241, 318, 262, 25358, 11, 618, 262, 15895, 318, 807, 1795, 11, 830, 30, 46506, 366, 48056, 1, 16034, 3084, 62, 3134, 33319, 33411, 366, 34487, 2736, 1, 796, 705, 26391, 41655, 11, 830, 6 ]
What team has a Venue at Lake Oval?
SELECT "Away team" FROM table_53966 WHERE "Venue" = 'lake oval'
[ 2061, 1074, 468, 257, 9932, 518, 379, 6233, 25165, 30, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 20, 2670, 2791, 33411, 366, 37522, 518, 1, 796, 705, 27180, 41186, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1074, 468, 257, 9932, 518, 379, 6233, 25165, 30, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 20, 2670, 2791, 33411, 366, 37522, 518, 1, 796, 705, 27180, 41186, 6 ]
provide the number of emergency hospital admission patients who have been diagnosed with unspecified malignant neoplasm of tongue.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admission_type = "EMERGENCY" AND diagnoses.short_title = "Malig neo tongue NEC"
[ 15234, 485, 262, 1271, 286, 6334, 4436, 13938, 3871, 508, 423, 587, 14641, 351, 29547, 6428, 25114, 497, 20106, 8597, 286, 11880, 13, 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...
[ 15234, 485, 262, 1271, 286, 6334, 4436, 13938, 3871, 508, 423, 587, 14641, 351, 29547, 6428, 25114, 497, 20106, 8597, 286, 11880, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, ...
when for the first time until 02/2104 was patient 13806 prescribed insulin and potassium chloride (powder) at the same time?
SELECT t1.startdate FROM (SELECT admissions.subject_id, prescriptions.startdate FROM prescriptions JOIN admissions ON prescriptions.hadm_id = admissions.hadm_id WHERE prescriptions.drug = 'insulin' AND admissions.subject_id = 13806 AND STRFTIME('%y-%m', prescriptions.startdate) <= '2104-02') AS t1 JOIN (SELECT admissio...
[ 12518, 329, 262, 717, 640, 1566, 7816, 14, 17, 13464, 373, 5827, 1511, 37988, 14798, 14588, 290, 33156, 44921, 357, 45855, 8, 379, 262, 976, 640, 30, 46506, 256, 16, 13, 9688, 4475, 16034, 357, 46506, 25349, 13, 32796, 62, 312, 11, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12518, 329, 262, 717, 640, 1566, 7816, 14, 17, 13464, 373, 5827, 1511, 37988, 14798, 14588, 290, 33156, 44921, 357, 45855, 8, 379, 262, 976, 640, 30, 46506, 256, 16, 13, 9688, 4475, 16034, 357, 46506, 25349, 13, 32796, 62, 312, 11, ...
Name the Score on 17 december 1979?
SELECT "Score" FROM table_9177 WHERE "Date" = '17 december 1979'
[ 5376, 262, 15178, 319, 1596, 390, 3273, 13521, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 24, 22413, 33411, 366, 10430, 1, 796, 705, 1558, 390, 3273, 13521, 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 ]
[ 5376, 262, 15178, 319, 1596, 390, 3273, 13521, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 24, 22413, 33411, 366, 10430, 1, 796, 705, 1558, 390, 3273, 13521, 6 ]
What is the lowest Pioneer population in 1966 with a Sarina population greater than 4,611?
SELECT MIN(pioneer) FROM table_name_31 WHERE year = 1966 AND sarina > 4 OFFSET 611
[ 2061, 318, 262, 9016, 31437, 3265, 287, 19322, 351, 257, 6866, 1437, 3265, 3744, 621, 604, 11, 21, 1157, 30, 46506, 20625, 7, 79, 7935, 263, 8, 16034, 3084, 62, 3672, 62, 3132, 33411, 614, 796, 19322, 5357, 29008, 1437, 1875, 604, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 9016, 31437, 3265, 287, 19322, 351, 257, 6866, 1437, 3265, 3744, 621, 604, 11, 21, 1157, 30, 46506, 20625, 7, 79, 7935, 263, 8, 16034, 3084, 62, 3672, 62, 3132, 33411, 614, 796, 19322, 5357, 29008, 1437, 1875, 604, 3...
What is Segment B for series episode 12-02?
SELECT "Segment B" FROM table_19882 WHERE "Series Ep." = '12-02'
[ 2061, 318, 1001, 5154, 347, 329, 2168, 4471, 1105, 12, 2999, 30, 46506, 366, 41030, 434, 347, 1, 16034, 3084, 62, 26709, 17, 33411, 366, 27996, 4551, 526, 796, 705, 1065, 12, 2999, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 1001, 5154, 347, 329, 2168, 4471, 1105, 12, 2999, 30, 46506, 366, 41030, 434, 347, 1, 16034, 3084, 62, 26709, 17, 33411, 366, 27996, 4551, 526, 796, 705, 1065, 12, 2999, 6 ]
Where was the game that the home team scored 12.15 (87)?
SELECT "Venue" FROM table_51449 WHERE "Home team score" = '12.15 (87)'
[ 8496, 373, 262, 983, 326, 262, 1363, 1074, 7781, 1105, 13, 1314, 357, 5774, 19427, 46506, 366, 37522, 518, 1, 16034, 3084, 62, 47396, 2920, 33411, 366, 16060, 1074, 4776, 1, 796, 705, 1065, 13, 1314, 357, 5774, 33047 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8496, 373, 262, 983, 326, 262, 1363, 1074, 7781, 1105, 13, 1314, 357, 5774, 19427, 46506, 366, 37522, 518, 1, 16034, 3084, 62, 47396, 2920, 33411, 366, 16060, 1074, 4776, 1, 796, 705, 1065, 13, 1314, 357, 5774, 33047 ]
What september has 10.35 in November?
SELECT "September" FROM table_1383 WHERE "November" = '10.35'
[ 2061, 384, 457, 1491, 468, 838, 13, 2327, 287, 3389, 30, 46506, 366, 17543, 1, 16034, 3084, 62, 1485, 5999, 33411, 366, 21159, 1, 796, 705, 940, 13, 2327, 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, 384, 457, 1491, 468, 838, 13, 2327, 287, 3389, 30, 46506, 366, 17543, 1, 16034, 3084, 62, 1485, 5999, 33411, 366, 21159, 1, 796, 705, 940, 13, 2327, 6 ]
What is the lowest Number, when College is 'University of Alabama'?
SELECT MIN(number) FROM table_name_48 WHERE college = "university of alabama"
[ 2061, 318, 262, 9016, 7913, 11, 618, 5535, 318, 705, 21009, 286, 9266, 30960, 46506, 20625, 7, 17618, 8, 16034, 3084, 62, 3672, 62, 2780, 33411, 4152, 796, 366, 403, 1608, 286, 435, 8809, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7913, 11, 618, 5535, 318, 705, 21009, 286, 9266, 30960, 46506, 20625, 7, 17618, 8, 16034, 3084, 62, 3672, 62, 2780, 33411, 4152, 796, 366, 403, 1608, 286, 435, 8809, 1 ]
who has held the most records ?
SELECT "athlete" FROM table_204_550 GROUP BY "athlete" ORDER BY COUNT(*) DESC LIMIT 1
[ 8727, 468, 2714, 262, 749, 4406, 5633, 46506, 366, 776, 5807, 1, 16034, 3084, 62, 18638, 62, 22730, 44441, 11050, 366, 776, 5807, 1, 38678, 11050, 327, 28270, 7, 28104, 22196, 34, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8727, 468, 2714, 262, 749, 4406, 5633, 46506, 366, 776, 5807, 1, 16034, 3084, 62, 18638, 62, 22730, 44441, 11050, 366, 776, 5807, 1, 38678, 11050, 327, 28270, 7, 28104, 22196, 34, 27564, 2043, 352 ]
How many Joint Music Awards are there when the Total is larger than 18, in a Year after 2007?
SELECT joint_music_award FROM table_name_32 WHERE total > 18 AND year > 2007
[ 2437, 867, 16798, 7849, 15434, 389, 612, 618, 262, 7472, 318, 4025, 621, 1248, 11, 287, 257, 6280, 706, 4343, 30, 46506, 6466, 62, 28965, 62, 707, 446, 16034, 3084, 62, 3672, 62, 2624, 33411, 2472, 1875, 1248, 5357, 614, 1875, 4343 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 16798, 7849, 15434, 389, 612, 618, 262, 7472, 318, 4025, 621, 1248, 11, 287, 257, 6280, 706, 4343, 30, 46506, 6466, 62, 28965, 62, 707, 446, 16034, 3084, 62, 3672, 62, 2624, 33411, 2472, 1875, 1248, 5357, 614, 1875, 4343 ]
What is the average number played of the team with 1 drawn and 24 against?
SELECT AVG("Played") FROM table_41533 WHERE "Drawn" = '1' AND "Against" = '24'
[ 2061, 318, 262, 2811, 1271, 2826, 286, 262, 1074, 351, 352, 7428, 290, 1987, 1028, 30, 46506, 35224, 7203, 11002, 276, 4943, 16034, 3084, 62, 35038, 2091, 33411, 366, 35, 5791, 1, 796, 705, 16, 6, 5357, 366, 39276, 1, 796, 705, 1731...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2811, 1271, 2826, 286, 262, 1074, 351, 352, 7428, 290, 1987, 1028, 30, 46506, 35224, 7203, 11002, 276, 4943, 16034, 3084, 62, 35038, 2091, 33411, 366, 35, 5791, 1, 796, 705, 16, 6, 5357, 366, 39276, 1, 796, 705, 1731...
how many hours have elapsed since patient 027-120575 received the sodium laboratory test for the last time in their current hospital encounter?
SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', lab.labresulttime)) FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '027-120575' AND patient.hos...
[ 4919, 867, 2250, 423, 42118, 1201, 5827, 657, 1983, 12, 1065, 2713, 2425, 2722, 262, 21072, 14010, 1332, 329, 262, 938, 640, 287, 511, 1459, 4436, 8791, 30, 46506, 1987, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 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...
[ 4919, 867, 2250, 423, 42118, 1201, 5827, 657, 1983, 12, 1065, 2713, 2425, 2722, 262, 21072, 14010, 1332, 329, 262, 938, 640, 287, 511, 1459, 4436, 8791, 30, 46506, 1987, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 6...
Name the total number of awardees for best screenplay
SELECT COUNT("Awardee(s)") FROM table_3059 WHERE "Name of Award" = 'Best Screenplay'
[ 5376, 262, 2472, 1271, 286, 5764, 2841, 329, 1266, 39769, 46506, 327, 28270, 7203, 32, 904, 1453, 7, 82, 8, 4943, 16034, 3084, 62, 1270, 3270, 33411, 366, 5376, 286, 11289, 1, 796, 705, 13014, 15216, 1759, 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 ]
[ 5376, 262, 2472, 1271, 286, 5764, 2841, 329, 1266, 39769, 46506, 327, 28270, 7203, 32, 904, 1453, 7, 82, 8, 4943, 16034, 3084, 62, 1270, 3270, 33411, 366, 5376, 286, 11289, 1, 796, 705, 13014, 15216, 1759, 6 ]
What was the winning party when the incumbent was richard s. whaley?
SELECT party FROM table_1346137_4 WHERE incumbent = "Richard S. Whaley"
[ 2061, 373, 262, 5442, 2151, 618, 262, 23526, 373, 5527, 446, 264, 13, 348, 16730, 30, 46506, 2151, 16034, 3084, 62, 1485, 3510, 19708, 62, 19, 33411, 23526, 796, 366, 22245, 311, 13, 854, 16730, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5442, 2151, 618, 262, 23526, 373, 5527, 446, 264, 13, 348, 16730, 30, 46506, 2151, 16034, 3084, 62, 1485, 3510, 19708, 62, 19, 33411, 23526, 796, 366, 22245, 311, 13, 854, 16730, 1 ]
what is the number of patients whose item id is 51213 and lab test abnormal status is delta?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE lab.itemid = "51213" AND lab.flag = "delta"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 2378, 4686, 318, 22243, 1485, 290, 2248, 1332, 18801, 3722, 318, 25979, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2378, 4686, 318, 22243, 1485, 290, 2248, 1332, 18801, 3722, 318, 25979, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, ...
What is the oldest age for each gender of student? Return a bar chart, sort in descending by the X-axis.
SELECT Sex, MAX(Age) FROM Student GROUP BY Sex ORDER BY Sex DESC
[ 2061, 318, 262, 13325, 2479, 329, 1123, 5279, 286, 3710, 30, 8229, 257, 2318, 8262, 11, 3297, 287, 31491, 416, 262, 1395, 12, 22704, 13, 46506, 14419, 11, 25882, 7, 23396, 8, 16034, 13613, 44441, 11050, 14419, 38678, 11050, 14419, 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 ]
[ 2061, 318, 262, 13325, 2479, 329, 1123, 5279, 286, 3710, 30, 8229, 257, 2318, 8262, 11, 3297, 287, 31491, 416, 262, 1395, 12, 22704, 13, 46506, 14419, 11, 25882, 7, 23396, 8, 16034, 13613, 44441, 11050, 14419, 38678, 11050, 14419, 22196...
Who had a finish of t20?
SELECT "Player" FROM table_60568 WHERE "Finish" = 't20'
[ 8241, 550, 257, 5461, 286, 256, 1238, 30, 46506, 366, 14140, 1, 16034, 3084, 62, 32417, 3104, 33411, 366, 48658, 1, 796, 705, 83, 1238, 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 ]
[ 8241, 550, 257, 5461, 286, 256, 1238, 30, 46506, 366, 14140, 1, 16034, 3084, 62, 32417, 3104, 33411, 366, 48658, 1, 796, 705, 83, 1238, 6 ]
how many hours it's been since patient 52898's first mcv lab test during their current hospital encounter?
SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', labevents.charttime)) FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'mcv') AND labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 52898 AND admissions.dis...
[ 4919, 867, 2250, 340, 338, 587, 1201, 5827, 642, 2078, 4089, 338, 717, 285, 33967, 2248, 1332, 1141, 511, 1459, 4436, 8791, 30, 46506, 1987, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694, 28955, 532, 19269, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 340, 338, 587, 1201, 5827, 642, 2078, 4089, 338, 717, 285, 33967, 2248, 1332, 1141, 511, 1459, 4436, 8791, 30, 46506, 1987, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694, 28955, 532, 19269, ...
What is the number of wines with price higher than 100, sorted by year? Visualize them by a bar chart.
SELECT Year, COUNT(Year) FROM wine WHERE Price > 100 GROUP BY Year ORDER BY Year
[ 2061, 318, 262, 1271, 286, 30680, 351, 2756, 2440, 621, 1802, 11, 23243, 416, 614, 30, 15612, 1096, 606, 416, 257, 2318, 8262, 13, 46506, 6280, 11, 327, 28270, 7, 17688, 8, 16034, 8237, 33411, 7886, 1875, 1802, 44441, 11050, 6280, 386...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1271, 286, 30680, 351, 2756, 2440, 621, 1802, 11, 23243, 416, 614, 30, 15612, 1096, 606, 416, 257, 2318, 8262, 13, 46506, 6280, 11, 327, 28270, 7, 17688, 8, 16034, 8237, 33411, 7886, 1875, 1802, 44441, 11050, 6280, 386...
Find the total amount of loans offered by each bank branch, and sort in desc by the bar.
SELECT bname, SUM(amount) FROM bank AS T1 JOIN loan AS T2 ON T1.branch_ID = T2.branch_ID GROUP BY T1.bname ORDER BY bname DESC
[ 16742, 262, 2472, 2033, 286, 10021, 4438, 416, 1123, 3331, 8478, 11, 290, 3297, 287, 1715, 416, 262, 2318, 13, 46506, 275, 3672, 11, 35683, 7, 17287, 8, 16034, 3331, 7054, 309, 16, 32357, 1268, 8063, 7054, 309, 17, 6177, 309, 16, 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...
[ 16742, 262, 2472, 2033, 286, 10021, 4438, 416, 1123, 3331, 8478, 11, 290, 3297, 287, 1715, 416, 262, 2318, 13, 46506, 275, 3672, 11, 35683, 7, 17287, 8, 16034, 3331, 7054, 309, 16, 32357, 1268, 8063, 7054, 309, 17, 6177, 309, 16, 13...
Are there upper-level classes for which 574 is not required ?
SELECT DISTINCT department, name, number FROM course WHERE (description LIKE '%topic0%' OR name LIKE '%topic0%') AND department = 'EECS'
[ 8491, 612, 6727, 12, 5715, 6097, 329, 543, 642, 4524, 318, 407, 2672, 5633, 46506, 360, 8808, 1268, 4177, 5011, 11, 1438, 11, 1271, 16034, 1781, 33411, 357, 11213, 34178, 705, 4, 26652, 15, 4, 6, 6375, 1438, 34178, 705, 4, 26652, 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 ]
[ 8491, 612, 6727, 12, 5715, 6097, 329, 543, 642, 4524, 318, 407, 2672, 5633, 46506, 360, 8808, 1268, 4177, 5011, 11, 1438, 11, 1271, 16034, 1781, 33411, 357, 11213, 34178, 705, 4, 26652, 15, 4, 6, 6375, 1438, 34178, 705, 4, 26652, 15...
what is the number of patients taking drug via nu route and have procedure icd9 code 8674?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE procedures.icd9_code = "8674" AND prescriptions.route = "NU"
[ 10919, 318, 262, 1271, 286, 3871, 2263, 2563, 2884, 14364, 6339, 290, 423, 8771, 14158, 67, 24, 2438, 807, 45385, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 90...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2263, 2563, 2884, 14364, 6339, 290, 423, 8771, 14158, 67, 24, 2438, 807, 45385, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 90...
Who was the lead envoy with the Ry ky an King sh k ?
SELECT lead_envoy FROM table_name_44 WHERE ryūkyūan_king = "shō kō"
[ 8241, 373, 262, 1085, 39137, 351, 262, 11089, 479, 88, 281, 2677, 427, 479, 5633, 46506, 1085, 62, 24330, 726, 16034, 3084, 62, 3672, 62, 2598, 33411, 374, 88, 20317, 2584, 20317, 272, 62, 3364, 796, 366, 1477, 13090, 479, 13090, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1085, 39137, 351, 262, 11089, 479, 88, 281, 2677, 427, 479, 5633, 46506, 1085, 62, 24330, 726, 16034, 3084, 62, 3672, 62, 2598, 33411, 374, 88, 20317, 2584, 20317, 272, 62, 3364, 796, 366, 1477, 13090, 479, 13090, 1 ]
What is the distance (in meters) when the shuttle time is 6.86 seconds?
SELECT MIN("Distance (m)") FROM table_21784 WHERE "Shuttle Time (seconds)" = '6.86'
[ 2061, 318, 262, 5253, 357, 259, 10700, 8, 618, 262, 20992, 640, 318, 718, 13, 4521, 4201, 30, 46506, 20625, 7203, 45767, 357, 76, 8, 4943, 16034, 3084, 62, 24591, 5705, 33411, 366, 39079, 7100, 3862, 357, 43012, 16725, 796, 705, 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, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 5253, 357, 259, 10700, 8, 618, 262, 20992, 640, 318, 718, 13, 4521, 4201, 30, 46506, 20625, 7203, 45767, 357, 76, 8, 4943, 16034, 3084, 62, 24591, 5705, 33411, 366, 39079, 7100, 3862, 357, 43012, 16725, 796, 705, 21, ...
Who directed 'go your own way'?
SELECT "Directed by" FROM table_26608 WHERE "Title" = 'Go Your Own Way'
[ 8241, 7924, 705, 2188, 534, 898, 835, 30960, 46506, 366, 13470, 276, 416, 1, 16034, 3084, 62, 2075, 28688, 33411, 366, 19160, 1, 796, 705, 5247, 3406, 11744, 6378, 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 ]
[ 8241, 7924, 705, 2188, 534, 898, 835, 30960, 46506, 366, 13470, 276, 416, 1, 16034, 3084, 62, 2075, 28688, 33411, 366, 19160, 1, 796, 705, 5247, 3406, 11744, 6378, 6 ]
What is every value for Points 2 when the value of won is 30?
SELECT points_2 FROM table_17359181_1 WHERE won = 30
[ 2061, 318, 790, 1988, 329, 11045, 362, 618, 262, 1988, 286, 1839, 318, 1542, 30, 46506, 2173, 62, 17, 16034, 3084, 62, 1558, 30743, 27057, 62, 16, 33411, 1839, 796, 1542 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 790, 1988, 329, 11045, 362, 618, 262, 1988, 286, 1839, 318, 1542, 30, 46506, 2173, 62, 17, 16034, 3084, 62, 1558, 30743, 27057, 62, 16, 33411, 1839, 796, 1542 ]
Newer Users with More Reputation Than Me. Find useres that have been members for a shorter time than me but have more reputation points.
SELECT u.Id AS "user_link", u.Reputation, u.Reputation - me.Reputation AS Difference FROM Users AS u CROSS JOIN Users AS me WHERE me.Id = @UserId AND u.CreationDate > me.CreationDate AND u.Reputation > me.Reputation ORDER BY Difference DESC, u.CreationDate DESC
[ 3791, 263, 18987, 351, 3125, 1432, 7094, 17924, 2185, 13, 9938, 779, 411, 326, 423, 587, 1866, 329, 257, 12238, 640, 621, 502, 198, 4360, 423, 517, 8507, 2173, 13, 46506, 334, 13, 7390, 7054, 366, 7220, 62, 8726, 1600, 334, 13, 6207...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3791, 263, 18987, 351, 3125, 1432, 7094, 17924, 2185, 13, 9938, 779, 411, 326, 423, 587, 1866, 329, 257, 12238, 640, 621, 502, 198, 4360, 423, 517, 8507, 2173, 13, 46506, 334, 13, 7390, 7054, 366, 7220, 62, 8726, 1600, 334, 13, 6207...
what is the date of the first episode ?
SELECT "original air date (uk)" FROM table_204_494 WHERE id = 1
[ 10919, 318, 262, 3128, 286, 262, 717, 4471, 5633, 46506, 366, 14986, 1633, 3128, 357, 2724, 16725, 16034, 3084, 62, 18638, 62, 39449, 33411, 4686, 796, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 3128, 286, 262, 717, 4471, 5633, 46506, 366, 14986, 1633, 3128, 357, 2724, 16725, 16034, 3084, 62, 18638, 62, 39449, 33411, 4686, 796, 352 ]
How many editors are there?
SELECT COUNT(*) FROM editor
[ 2437, 867, 15719, 389, 612, 30, 46506, 327, 28270, 7, 28104, 16034, 5464 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 15719, 389, 612, 30, 46506, 327, 28270, 7, 28104, 16034, 5464 ]
Show the number of male and female assistant professors.
SELECT Sex, COUNT(*) FROM Faculty WHERE Rank = "AsstProf" GROUP BY Sex
[ 15307, 262, 1271, 286, 4257, 290, 4048, 8796, 20339, 13, 46506, 14419, 11, 327, 28270, 7, 28104, 16034, 35262, 33411, 10916, 796, 366, 1722, 301, 15404, 1, 44441, 11050, 14419 ]
[ 1, 1, 1, 1, 1, 1, 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, 4257, 290, 4048, 8796, 20339, 13, 46506, 14419, 11, 327, 28270, 7, 28104, 16034, 35262, 33411, 10916, 796, 366, 1722, 301, 15404, 1, 44441, 11050, 14419 ]
I want to see the requirements for a CS-LSA degree .
SELECT DISTINCT program_requirement.additional_req, program_requirement.category, program_requirement.min_credit, program.name FROM program, program_requirement WHERE program.name LIKE '%CS-LSA%' AND program.program_id = program_requirement.program_id
[ 40, 765, 284, 766, 262, 5359, 329, 257, 9429, 12, 43, 4090, 4922, 764, 46506, 360, 8808, 1268, 4177, 1430, 62, 8897, 24615, 13, 2860, 1859, 62, 42180, 11, 1430, 62, 8897, 24615, 13, 22872, 11, 1430, 62, 8897, 24615, 13, 1084, 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...
[ 40, 765, 284, 766, 262, 5359, 329, 257, 9429, 12, 43, 4090, 4922, 764, 46506, 360, 8808, 1268, 4177, 1430, 62, 8897, 24615, 13, 2860, 1859, 62, 42180, 11, 1430, 62, 8897, 24615, 13, 22872, 11, 1430, 62, 8897, 24615, 13, 1084, 62, ...
What are the upper-level MUSTHTRE classes being offered this Summer ?
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 = 'MUSTHTRE' AND program_course.category LIKE '%ULCS%' AND program_course.course_id = course.course_id AND semester.semester = 'Su...
[ 2061, 389, 262, 6727, 12, 5715, 17191, 6535, 2200, 6097, 852, 4438, 428, 10216, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 1430, 62, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 389, 262, 6727, 12, 5715, 17191, 6535, 2200, 6097, 852, 4438, 428, 10216, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 1430, 62, ...
What is the branding for the station with a frequency of 93.1mhz and a callsign of DWRX?
SELECT "Branding" FROM table_40155 WHERE "Frequency" = '93.1mhz' AND "Callsign" = 'dwrx'
[ 2061, 318, 262, 24150, 329, 262, 4429, 351, 257, 8373, 286, 10261, 13, 16, 76, 32179, 290, 257, 3848, 570, 286, 360, 18564, 55, 30, 46506, 366, 9414, 27225, 1, 16034, 3084, 62, 21844, 2816, 33411, 366, 37, 28707, 1, 796, 705, 6052, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 24150, 329, 262, 4429, 351, 257, 8373, 286, 10261, 13, 16, 76, 32179, 290, 257, 3848, 570, 286, 360, 18564, 55, 30, 46506, 366, 9414, 27225, 1, 16034, 3084, 62, 21844, 2816, 33411, 366, 37, 28707, 1, 796, 705, 6052, ...
When tim bridgman gregor fisken is the pole position who is the gt3 winner?
SELECT "GT3 Winner" FROM table_31479 WHERE "Pole Position" = 'Tim Bridgman Gregor Fisken'
[ 2215, 4628, 38265, 70, 805, 308, 32288, 277, 1984, 268, 318, 262, 16825, 2292, 508, 318, 262, 308, 83, 18, 8464, 30, 46506, 366, 19555, 18, 25358, 1, 16034, 3084, 62, 33638, 3720, 33411, 366, 47, 2305, 23158, 1, 796, 705, 14967, 283...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4628, 38265, 70, 805, 308, 32288, 277, 1984, 268, 318, 262, 16825, 2292, 508, 318, 262, 308, 83, 18, 8464, 30, 46506, 366, 19555, 18, 25358, 1, 16034, 3084, 62, 33638, 3720, 33411, 366, 47, 2305, 23158, 1, 796, 705, 14967, 283...
What upper level ENSCEN classes are available Fall semester ?
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 = 'ENSCEN' AND program_course.category LIKE '%ULCS%' AND program_course.course_id = course.course_id AND semester.semester = 'Fall...
[ 2061, 6727, 1241, 12964, 6173, 1677, 6097, 389, 1695, 7218, 24878, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 1430, 62, 17319, 11, 248...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6727, 1241, 12964, 6173, 1677, 6097, 389, 1695, 7218, 24878, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 1430, 62, 17319, 11, 248...
Which team has Ali Daei as head coach?
SELECT "Team" FROM table_29471 WHERE "Head coach" = 'Ali Daei'
[ 13828, 1074, 468, 12104, 360, 3609, 72, 355, 1182, 3985, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 1959, 38339, 33411, 366, 13847, 3985, 1, 796, 705, 37893, 360, 3609, 72, 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 ]
[ 13828, 1074, 468, 12104, 360, 3609, 72, 355, 1182, 3985, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 1959, 38339, 33411, 366, 13847, 3985, 1, 796, 705, 37893, 360, 3609, 72, 6 ]