instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
What is the diameter for 1997 when longitude is 212.0e and latitude is 47.0n?
SELECT MIN("Diameter (km)") FROM table_46405 WHERE "Year named" = '1997' AND "Longitude" = '212.0e' AND "Latitude" = '47.0n'
[ 2061, 318, 262, 14753, 329, 8309, 618, 890, 3984, 318, 23679, 13, 15, 68, 290, 32477, 318, 6298, 13, 15, 77, 30, 46506, 20625, 7203, 35, 13173, 357, 13276, 8, 4943, 16034, 3084, 62, 3510, 26598, 33411, 366, 17688, 3706, 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, 318, 262, 14753, 329, 8309, 618, 890, 3984, 318, 23679, 13, 15, 68, 290, 32477, 318, 6298, 13, 15, 77, 30, 46506, 20625, 7203, 35, 13173, 357, 13276, 8, 4943, 16034, 3084, 62, 3510, 26598, 33411, 366, 17688, 3706, 1, 796, 705,...
What was the date of the game on week 7?
SELECT "Date" FROM table_39351 WHERE "Week" = '7'
[ 2061, 373, 262, 3128, 286, 262, 983, 319, 1285, 767, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 2670, 35273, 33411, 366, 20916, 1, 796, 705, 22, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 3128, 286, 262, 983, 319, 1285, 767, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 2670, 35273, 33411, 366, 20916, 1, 796, 705, 22, 6 ]
When is the latest year that an entrant has toro rosso str1 chassis and under 1 point?
SELECT MAX(year) FROM table_name_4 WHERE chassis = "toro rosso str1" AND points < 1
[ 2215, 318, 262, 3452, 614, 326, 281, 920, 5250, 468, 7332, 78, 686, 82, 568, 965, 16, 24587, 290, 739, 352, 966, 30, 46506, 25882, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 19, 33411, 24587, 796, 366, 13165, 78, 686, 82, 568, 965, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 262, 3452, 614, 326, 281, 920, 5250, 468, 7332, 78, 686, 82, 568, 965, 16, 24587, 290, 739, 352, 966, 30, 46506, 25882, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 19, 33411, 24587, 796, 366, 13165, 78, 686, 82, 568, 965, ...
Are the customers holding coupons with amount 500 bad or good?
SELECT T1.good_or_bad_customer FROM customers AS T1 JOIN discount_coupons AS T2 ON T1.coupon_id = T2.coupon_id WHERE T2.coupon_amount = 500
[ 8491, 262, 4297, 4769, 45972, 351, 2033, 5323, 2089, 393, 922, 30, 46506, 309, 16, 13, 11274, 62, 273, 62, 14774, 62, 23144, 263, 16034, 4297, 7054, 309, 16, 32357, 1268, 9780, 62, 66, 10486, 684, 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...
[ 8491, 262, 4297, 4769, 45972, 351, 2033, 5323, 2089, 393, 922, 30, 46506, 309, 16, 13, 11274, 62, 273, 62, 14774, 62, 23144, 263, 16034, 4297, 7054, 309, 16, 32357, 1268, 9780, 62, 66, 10486, 684, 7054, 309, 17, 6177, 309, 16, 13, ...
what was the title of the episode 21a?
SELECT title FROM table_17810099_3 WHERE episode__number = "21a"
[ 10919, 373, 262, 3670, 286, 262, 4471, 2310, 64, 30, 46506, 3670, 16034, 3084, 62, 23188, 3064, 2079, 62, 18, 33411, 4471, 834, 17618, 796, 366, 2481, 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 ]
[ 10919, 373, 262, 3670, 286, 262, 4471, 2310, 64, 30, 46506, 3670, 16034, 3084, 62, 23188, 3064, 2079, 62, 18, 33411, 4471, 834, 17618, 796, 366, 2481, 64, 1 ]
Who was the opponent of the game at Homewood field?
SELECT "Opponent" FROM table_53242 WHERE "Field" = 'homewood field'
[ 8241, 373, 262, 6125, 286, 262, 983, 379, 8074, 413, 702, 2214, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 4310, 27877, 33411, 366, 15878, 1, 796, 705, 26452, 413, 702, 2214, 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 ]
[ 8241, 373, 262, 6125, 286, 262, 983, 379, 8074, 413, 702, 2214, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 4310, 27877, 33411, 366, 15878, 1, 796, 705, 26452, 413, 702, 2214, 6 ]
Next semester Dr. Stephen Tyndall will teach which classes ?
SELECT DISTINCT course.department, course.name, course.number FROM course, course_offering, instructor, offering_instructor, semester WHERE course.course_id = course_offering.course_id AND instructor.name LIKE '%Stephen Tyndall%' AND offering_instructor.instructor_id = instructor.instructor_id AND offering_instructor.o...
[ 10019, 24878, 1583, 13, 7970, 7039, 358, 439, 481, 4545, 543, 6097, 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, 21187, 11, 6011, 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...
[ 10019, 24878, 1583, 13, 7970, 7039, 358, 439, 481, 4545, 543, 6097, 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, 21187, 11, 6011, 62, ...
What is the Location of the Hietalahti Stadium?
SELECT location FROM table_name_46 WHERE stadium = "hietalahti stadium"
[ 2061, 318, 262, 13397, 286, 262, 367, 21587, 993, 20259, 10499, 30, 46506, 4067, 16034, 3084, 62, 3672, 62, 3510, 33411, 10308, 796, 366, 71, 21587, 993, 20259, 10308, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 367, 21587, 993, 20259, 10499, 30, 46506, 4067, 16034, 3084, 62, 3672, 62, 3510, 33411, 10308, 796, 366, 71, 21587, 993, 20259, 10308, 1 ]
What is Round, when Method is 'submission (reverse armbar)'?
SELECT "Round" FROM table_9647 WHERE "Method" = 'submission (reverse armbar)'
[ 2061, 318, 10485, 11, 618, 11789, 318, 705, 7266, 3411, 357, 50188, 610, 2022, 283, 8, 30960, 46506, 366, 22685, 1, 16034, 3084, 62, 24, 33981, 33411, 366, 17410, 1, 796, 705, 7266, 3411, 357, 50188, 610, 2022, 283, 33047 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 10485, 11, 618, 11789, 318, 705, 7266, 3411, 357, 50188, 610, 2022, 283, 8, 30960, 46506, 366, 22685, 1, 16034, 3084, 62, 24, 33981, 33411, 366, 17410, 1, 796, 705, 7266, 3411, 357, 50188, 610, 2022, 283, 33047 ]
What is the set 1 for the date jun 26, and a set 2 of 25-16?
SELECT "Set 1" FROM table_42041 WHERE "Date" = 'jun 26' AND "Set 2" = '25-16'
[ 2061, 318, 262, 900, 352, 329, 262, 3128, 10891, 2608, 11, 290, 257, 900, 362, 286, 1679, 12, 1433, 30, 46506, 366, 7248, 352, 1, 16034, 3084, 62, 27211, 3901, 33411, 366, 10430, 1, 796, 705, 29741, 2608, 6, 5357, 366, 7248, 362, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 900, 352, 329, 262, 3128, 10891, 2608, 11, 290, 257, 900, 362, 286, 1679, 12, 1433, 30, 46506, 366, 7248, 352, 1, 16034, 3084, 62, 27211, 3901, 33411, 366, 10430, 1, 796, 705, 29741, 2608, 6, 5357, 366, 7248, 362, ...
What was the county with a longitude of -102.302775?
SELECT "County" FROM table_73033 WHERE "Longitude" = '-102.302775'
[ 2061, 373, 262, 7968, 351, 257, 890, 3984, 286, 532, 15377, 13, 1270, 1983, 2425, 30, 46506, 366, 12332, 88, 1, 16034, 3084, 62, 43916, 2091, 33411, 366, 14617, 3984, 1, 796, 705, 12, 15377, 13, 1270, 1983, 2425, 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, 7968, 351, 257, 890, 3984, 286, 532, 15377, 13, 1270, 1983, 2425, 30, 46506, 366, 12332, 88, 1, 16034, 3084, 62, 43916, 2091, 33411, 366, 14617, 3984, 1, 796, 705, 12, 15377, 13, 1270, 1983, 2425, 6 ]
Plot the total number by grouped by time of day as a bar graph, and list from high to low by the names.
SELECT Time_of_day, COUNT(*) FROM broadcast GROUP BY Time_of_day ORDER BY Time_of_day DESC
[ 43328, 262, 2472, 1271, 416, 32824, 416, 640, 286, 1110, 355, 257, 2318, 4823, 11, 290, 1351, 422, 1029, 284, 1877, 416, 262, 3891, 13, 46506, 3862, 62, 1659, 62, 820, 11, 327, 28270, 7, 28104, 16034, 7025, 44441, 11050, 3862, 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 ]
[ 43328, 262, 2472, 1271, 416, 32824, 416, 640, 286, 1110, 355, 257, 2318, 4823, 11, 290, 1351, 422, 1029, 284, 1877, 416, 262, 3891, 13, 46506, 3862, 62, 1659, 62, 820, 11, 327, 28270, 7, 28104, 16034, 7025, 44441, 11050, 3862, 62, 1...
How many places has the rank changed since 2006, for Clane?
SELECT "Change since 2006" FROM table_22975 WHERE "Urban Area" = 'Clane'
[ 2437, 867, 4113, 468, 262, 4279, 3421, 1201, 4793, 11, 329, 1012, 1531, 30, 46506, 366, 19400, 1201, 4793, 1, 16034, 3084, 62, 23539, 2425, 33411, 366, 46667, 9498, 1, 796, 705, 2601, 1531, 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 ]
[ 2437, 867, 4113, 468, 262, 4279, 3421, 1201, 4793, 11, 329, 1012, 1531, 30, 46506, 366, 19400, 1201, 4793, 1, 16034, 3084, 62, 23539, 2425, 33411, 366, 46667, 9498, 1, 796, 705, 2601, 1531, 6 ]
calculate the total number of private patients diagnosed with schizoaffective dis nos.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.insurance = "Private" AND diagnoses.short_title = "Schizoaffective dis NOS"
[ 9948, 3129, 378, 262, 2472, 1271, 286, 2839, 3871, 14641, 351, 5513, 41282, 2001, 13967, 595, 43630, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 1672...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9948, 3129, 378, 262, 2472, 1271, 286, 2839, 3871, 14641, 351, 5513, 41282, 2001, 13967, 595, 43630, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 1672...
Which athlete from Brazil has 2.20 O and 2.25 of XXX?
SELECT "Athlete" FROM table_79496 WHERE "2.20" = 'o' AND "2.25" = 'xxx' AND "Nationality" = 'brazil'
[ 13828, 16076, 422, 7595, 468, 362, 13, 1238, 440, 290, 362, 13, 1495, 286, 27713, 30, 46506, 366, 32, 400, 5807, 1, 16034, 3084, 62, 3720, 37747, 33411, 366, 17, 13, 1238, 1, 796, 705, 78, 6, 5357, 366, 17, 13, 1495, 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 ]
[ 13828, 16076, 422, 7595, 468, 362, 13, 1238, 440, 290, 362, 13, 1495, 286, 27713, 30, 46506, 366, 32, 400, 5807, 1, 16034, 3084, 62, 3720, 37747, 33411, 366, 17, 13, 1238, 1, 796, 705, 78, 6, 5357, 366, 17, 13, 1495, 1, 796, 705...
How many tracks have an unformatted capacity per side of 2000kb?
SELECT COUNT("Tracks") FROM table_64892 WHERE "Unformatted capacity per side" = '2000kb'
[ 2437, 867, 8339, 423, 281, 555, 687, 16898, 5339, 583, 1735, 286, 4751, 32812, 30, 46506, 327, 28270, 7203, 2898, 4595, 4943, 16034, 3084, 62, 2414, 4531, 17, 33411, 366, 3118, 687, 16898, 5339, 583, 1735, 1, 796, 705, 11024, 32812, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 8339, 423, 281, 555, 687, 16898, 5339, 583, 1735, 286, 4751, 32812, 30, 46506, 327, 28270, 7203, 2898, 4595, 4943, 16034, 3084, 62, 2414, 4531, 17, 33411, 366, 3118, 687, 16898, 5339, 583, 1735, 1, 796, 705, 11024, 32812, 6...
Does ENSCEN 172 have any prerequisites ?
SELECT DISTINCT COURSE_0.department, COURSE_0.name, COURSE_0.number FROM course AS COURSE_0, course AS COURSE_1, course_prerequisite WHERE COURSE_0.course_id = course_prerequisite.pre_course_id AND NOT COURSE_0.course_id IN (SELECT STUDENT_RECORDalias0.course_id FROM student_record AS STUDENT_RECORDalias0 WHERE STUDENT...
[ 13921, 12964, 6173, 1677, 23120, 423, 597, 662, 34075, 5633, 46506, 360, 8808, 1268, 4177, 37384, 5188, 62, 15, 13, 10378, 1823, 11, 37384, 5188, 62, 15, 13, 3672, 11, 37384, 5188, 62, 15, 13, 17618, 16034, 1781, 7054, 37384, 5188, 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...
[ 13921, 12964, 6173, 1677, 23120, 423, 597, 662, 34075, 5633, 46506, 360, 8808, 1268, 4177, 37384, 5188, 62, 15, 13, 10378, 1823, 11, 37384, 5188, 62, 15, 13, 3672, 11, 37384, 5188, 62, 15, 13, 17618, 16034, 1781, 7054, 37384, 5188, 62...
what is the highest attendance for week 3?
SELECT MAX(attendance) FROM table_name_34 WHERE week = 3
[ 10919, 318, 262, 4511, 14858, 329, 1285, 513, 30, 46506, 25882, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 2682, 33411, 1285, 796, 513 ]
[ 1, 1, 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, 4511, 14858, 329, 1285, 513, 30, 46506, 25882, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 2682, 33411, 1285, 796, 513 ]
What was the earliest week that the Storm played the San Jose Sabercats?
SELECT MIN("Week") FROM table_56590 WHERE "Opponent" = 'san jose sabercats'
[ 2061, 373, 262, 14555, 1285, 326, 262, 8865, 2826, 262, 2986, 5264, 9910, 2798, 1381, 30, 46506, 20625, 7203, 20916, 4943, 16034, 3084, 62, 47372, 3829, 33411, 366, 27524, 3471, 1, 796, 705, 12807, 474, 577, 17463, 2798, 1381, 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, 14555, 1285, 326, 262, 8865, 2826, 262, 2986, 5264, 9910, 2798, 1381, 30, 46506, 20625, 7203, 20916, 4943, 16034, 3084, 62, 47372, 3829, 33411, 366, 27524, 3471, 1, 796, 705, 12807, 474, 577, 17463, 2798, 1381, 6 ]
Name the least join date
SELECT MIN("Join Date") FROM table_28739
[ 5376, 262, 1551, 4654, 3128, 46506, 20625, 7203, 18234, 7536, 4943, 16034, 3084, 62, 27800, 2670 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 1551, 4654, 3128, 46506, 20625, 7203, 18234, 7536, 4943, 16034, 3084, 62, 27800, 2670 ]
Find the organisation type description of the organisation detailed as 'quo'.
SELECT T1.organisation_type_description FROM organisation_types AS T1 JOIN organisations AS T2 ON T1.organisation_type = T2.organisation_type WHERE T2.organisation_details = 'quo'
[ 16742, 262, 12684, 2099, 6764, 286, 262, 12684, 6496, 355, 705, 421, 78, 4458, 46506, 309, 16, 13, 9971, 5612, 62, 4906, 62, 11213, 16034, 12684, 62, 19199, 7054, 309, 16, 32357, 1268, 16435, 7054, 309, 17, 6177, 309, 16, 13, 9971, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12684, 2099, 6764, 286, 262, 12684, 6496, 355, 705, 421, 78, 4458, 46506, 309, 16, 13, 9971, 5612, 62, 4906, 62, 11213, 16034, 12684, 62, 19199, 7054, 309, 16, 32357, 1268, 16435, 7054, 309, 17, 6177, 309, 16, 13, 9971, ...
how many times is the constituency edinburgh northern and leith?
SELECT COUNT("Swing to gain") FROM table_77807 WHERE "Constituency" = 'edinburgh northern and leith'
[ 4919, 867, 1661, 318, 262, 28280, 1225, 22222, 7840, 290, 443, 342, 30, 46506, 327, 28270, 7203, 50, 5469, 284, 4461, 4943, 16034, 3084, 62, 3324, 36928, 33411, 366, 34184, 34272, 1387, 1, 796, 705, 276, 22222, 7840, 290, 443, 342, 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 ]
[ 4919, 867, 1661, 318, 262, 28280, 1225, 22222, 7840, 290, 443, 342, 30, 46506, 327, 28270, 7203, 50, 5469, 284, 4461, 4943, 16034, 3084, 62, 3324, 36928, 33411, 366, 34184, 34272, 1387, 1, 796, 705, 276, 22222, 7840, 290, 443, 342, 6 ...
How many semesters has Prof. Kartik Prasanna taught 724 ?
SELECT COUNT(*) FROM course, course_offering, instructor, offering_instructor WHERE course.course_id = course_offering.course_id AND course.number = 724 AND instructor.name LIKE '%Kartik Prasanna%' AND offering_instructor.instructor_id = instructor.instructor_id AND offering_instructor.offering_id = course_offering.off...
[ 2437, 867, 5026, 8586, 468, 4415, 13, 32872, 1134, 1736, 292, 7697, 7817, 767, 1731, 5633, 46506, 327, 28270, 7, 28104, 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...
[ 2437, 867, 5026, 8586, 468, 4415, 13, 32872, 1134, 1736, 292, 7697, 7817, 767, 1731, 5633, 46506, 327, 28270, 7, 28104, 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 Week for the game at three rivers stadium, with a Record of 3 2?
SELECT AVG("Week") FROM table_75547 WHERE "Location" = 'three rivers stadium' AND "Record" = '3–2'
[ 2061, 318, 262, 2811, 6119, 329, 262, 983, 379, 1115, 18180, 10308, 11, 351, 257, 13266, 286, 513, 362, 30, 46506, 35224, 7203, 20916, 4943, 16034, 3084, 62, 38172, 2857, 33411, 366, 14749, 1, 796, 705, 15542, 18180, 10308, 6, 5357, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2811, 6119, 329, 262, 983, 379, 1115, 18180, 10308, 11, 351, 257, 13266, 286, 513, 362, 30, 46506, 35224, 7203, 20916, 4943, 16034, 3084, 62, 38172, 2857, 33411, 366, 14749, 1, 796, 705, 15542, 18180, 10308, 6, 5357, 3...
What is Road Team, when Date is 'April 10'?
SELECT road_team FROM table_name_29 WHERE date = "april 10"
[ 2061, 318, 5567, 4816, 11, 618, 7536, 318, 705, 16784, 838, 30960, 46506, 2975, 62, 15097, 16034, 3084, 62, 3672, 62, 1959, 33411, 3128, 796, 366, 499, 22379, 838, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 5567, 4816, 11, 618, 7536, 318, 705, 16784, 838, 30960, 46506, 2975, 62, 15097, 16034, 3084, 62, 3672, 62, 1959, 33411, 3128, 796, 366, 499, 22379, 838, 1 ]
During the Spring or Summer term can I take 200 -level classes ?
SELECT DISTINCT COURSEalias0.department, COURSEalias0.name, COURSEalias0.number, SEMESTERalias0.semester FROM (SELECT course_id FROM student_record WHERE earn_credit = 'Y' AND student_id = 1) AS DERIVED_TABLEalias0, course AS COURSEalias0, course_offering AS COURSE_OFFERINGalias0, semester AS SEMESTERalias0 WHERE COURS...
[ 7191, 262, 8225, 393, 10216, 3381, 460, 314, 1011, 939, 532, 5715, 6097, 5633, 46506, 360, 8808, 1268, 4177, 37384, 5188, 26011, 15, 13, 10378, 1823, 11, 37384, 5188, 26011, 15, 13, 3672, 11, 37384, 5188, 26011, 15, 13, 17618, 11, 486...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 7191, 262, 8225, 393, 10216, 3381, 460, 314, 1011, 939, 532, 5715, 6097, 5633, 46506, 360, 8808, 1268, 4177, 37384, 5188, 26011, 15, 13, 10378, 1823, 11, 37384, 5188, 26011, 15, 13, 3672, 11, 37384, 5188, 26011, 15, 13, 17618, 11, 486...
what is the number of patients whose death status is 1 and procedure short title is cath base invasv ep test?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.expire_flag = "1" AND procedures.short_title = "Cath base invasv ep test"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 1918, 3722, 318, 352, 290, 8771, 1790, 3670, 318, 32171, 2779, 800, 292, 85, 2462, 1332, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 1271, 286, 3871, 3025, 1918, 3722, 318, 352, 290, 8771, 1790, 3670, 318, 32171, 2779, 800, 292, 85, 2462, 1332, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, ...
What are the dates that have an average sea level pressure between 30.3 and 31, and count them by a line chart
SELECT date, COUNT(date) FROM weather WHERE mean_sea_level_pressure_inches BETWEEN 30.3 AND 31 GROUP BY date
[ 2061, 389, 262, 9667, 326, 423, 281, 2811, 5417, 1241, 3833, 1022, 1542, 13, 18, 290, 3261, 11, 290, 954, 606, 416, 257, 1627, 8262, 46506, 3128, 11, 327, 28270, 7, 4475, 8, 16034, 6193, 33411, 1612, 62, 8583, 62, 5715, 62, 36151, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9667, 326, 423, 281, 2811, 5417, 1241, 3833, 1022, 1542, 13, 18, 290, 3261, 11, 290, 954, 606, 416, 257, 1627, 8262, 46506, 3128, 11, 327, 28270, 7, 4475, 8, 16034, 6193, 33411, 1612, 62, 8583, 62, 5715, 62, 36151, ...
What is the average position with an against value less than 11?
SELECT AVG("Position") FROM table_35796 WHERE "Against" < '11'
[ 2061, 318, 262, 2811, 2292, 351, 281, 1028, 1988, 1342, 621, 1367, 30, 46506, 35224, 7203, 26545, 4943, 16034, 3084, 62, 2327, 41060, 33411, 366, 39276, 1, 1279, 705, 1157, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2811, 2292, 351, 281, 1028, 1988, 1342, 621, 1367, 30, 46506, 35224, 7203, 26545, 4943, 16034, 3084, 62, 2327, 41060, 33411, 366, 39276, 1, 1279, 705, 1157, 6 ]
what is the totality of patient 27591's input until 1567 days ago?
SELECT SUM(inputevents_cv.amount) FROM inputevents_cv WHERE inputevents_cv.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 27591)) AND DATETIME(inputevents_cv.charttime) <= DATETIME(CURRENT_TIME(), '-1567 day')
[ 10919, 318, 262, 44861, 286, 5827, 25829, 6420, 338, 5128, 1566, 1315, 3134, 1528, 2084, 30, 46506, 35683, 7, 259, 79, 1133, 85, 658, 62, 33967, 13, 17287, 8, 16034, 287, 79, 1133, 85, 658, 62, 33967, 33411, 287, 79, 1133, 85, 658, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 44861, 286, 5827, 25829, 6420, 338, 5128, 1566, 1315, 3134, 1528, 2084, 30, 46506, 35683, 7, 259, 79, 1133, 85, 658, 62, 33967, 13, 17287, 8, 16034, 287, 79, 1133, 85, 658, 62, 33967, 33411, 287, 79, 1133, 85, 658, ...
WHAT YEAR WAS IT WHEN THE SCORE WAS 3 & 2?
SELECT year FROM table_1507806_1 WHERE winning_score = "3 & 2"
[ 32971, 32914, 21725, 7283, 42099, 3336, 6374, 6965, 21725, 513, 1222, 362, 30, 46506, 614, 16034, 3084, 62, 8628, 22, 37988, 62, 16, 33411, 5442, 62, 26675, 796, 366, 18, 1222, 362, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 32914, 21725, 7283, 42099, 3336, 6374, 6965, 21725, 513, 1222, 362, 30, 46506, 614, 16034, 3084, 62, 8628, 22, 37988, 62, 16, 33411, 5442, 62, 26675, 796, 366, 18, 1222, 362, 1 ]
What is the heat with a time of 3:45.57 in lane 3?
SELECT heat FROM table_name_77 WHERE lane = 3 AND time = "3:45.57"
[ 2061, 318, 262, 4894, 351, 257, 640, 286, 513, 25, 2231, 13, 3553, 287, 11193, 513, 30, 46506, 4894, 16034, 3084, 62, 3672, 62, 3324, 33411, 11193, 796, 513, 5357, 640, 796, 366, 18, 25, 2231, 13, 3553, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4894, 351, 257, 640, 286, 513, 25, 2231, 13, 3553, 287, 11193, 513, 30, 46506, 4894, 16034, 3084, 62, 3672, 62, 3324, 33411, 11193, 796, 513, 5357, 640, 796, 366, 18, 25, 2231, 13, 3553, 1 ]
how many flights does each airline have with BUSINESS class service
SELECT DISTINCT COUNT(*), flight.airline_code FROM fare, fare_basis, flight, flight_fare WHERE fare_basis.class_type = 'BUSINESS' AND fare.fare_basis_code = fare_basis.fare_basis_code AND flight_fare.fare_id = fare.fare_id AND flight.flight_id = flight_fare.flight_id GROUP BY flight.airline_code
[ 4919, 867, 13956, 857, 1123, 18091, 423, 351, 43949, 44180, 1398, 2139, 46506, 360, 8808, 1268, 4177, 327, 28270, 46491, 828, 5474, 13, 958, 1370, 62, 8189, 16034, 14505, 11, 14505, 62, 12093, 271, 11, 5474, 11, 5474, 62, 9496, 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...
[ 4919, 867, 13956, 857, 1123, 18091, 423, 351, 43949, 44180, 1398, 2139, 46506, 360, 8808, 1268, 4177, 327, 28270, 46491, 828, 5474, 13, 958, 1370, 62, 8189, 16034, 14505, 11, 14505, 62, 12093, 271, 11, 5474, 11, 5474, 62, 9496, 33411, ...
Which candidates are from the Missouri 3 district?
SELECT candidates FROM table_1341586_26 WHERE district = "Missouri 3"
[ 13828, 5871, 389, 422, 262, 11565, 513, 4783, 30, 46506, 5871, 16034, 3084, 62, 19880, 1314, 4521, 62, 2075, 33411, 4783, 796, 366, 17140, 10300, 513, 1 ]
[ 1, 1, 1, 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, 5871, 389, 422, 262, 11565, 513, 4783, 30, 46506, 5871, 16034, 3084, 62, 19880, 1314, 4521, 62, 2075, 33411, 4783, 796, 366, 17140, 10300, 513, 1 ]
Who scored highest rebounds high points is charlie villanueva (32)
SELECT "High rebounds" FROM table_21230 WHERE "High points" = 'Charlie Villanueva (32)'
[ 8241, 7781, 4511, 18841, 1029, 2173, 318, 1149, 14485, 4489, 272, 518, 6862, 357, 2624, 8, 46506, 366, 11922, 18841, 1, 16034, 3084, 62, 21777, 1270, 33411, 366, 11922, 2173, 1, 796, 705, 37136, 9757, 272, 518, 6862, 357, 2624, 33047 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 7781, 4511, 18841, 1029, 2173, 318, 1149, 14485, 4489, 272, 518, 6862, 357, 2624, 8, 46506, 366, 11922, 18841, 1, 16034, 3084, 62, 21777, 1270, 33411, 366, 11922, 2173, 1, 796, 705, 37136, 9757, 272, 518, 6862, 357, 2624, 33047 ]
What is the U.S. rap ranking in 2000 of the U.S. 105 single?
SELECT us AS Rap FROM table_name_44 WHERE year = 2000 AND us = "105"
[ 2061, 318, 262, 471, 13, 50, 13, 4095, 12759, 287, 4751, 286, 262, 471, 13, 50, 13, 13343, 2060, 30, 46506, 514, 7054, 12281, 16034, 3084, 62, 3672, 62, 2598, 33411, 614, 796, 4751, 5357, 514, 796, 366, 13348, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 471, 13, 50, 13, 4095, 12759, 287, 4751, 286, 262, 471, 13, 50, 13, 13343, 2060, 30, 46506, 514, 7054, 12281, 16034, 3084, 62, 3672, 62, 2598, 33411, 614, 796, 4751, 5357, 514, 796, 366, 13348, 1 ]
What is the total number of viewers where the share is 7 and the week rank is 64?
SELECT COUNT(viewers) FROM table_16072430_1 WHERE share = 7 AND weekly_rank = "64"
[ 2061, 318, 262, 2472, 1271, 286, 10209, 810, 262, 2648, 318, 767, 290, 262, 1285, 4279, 318, 5598, 30, 46506, 327, 28270, 7, 1177, 364, 8, 16034, 3084, 62, 1433, 2998, 1731, 1270, 62, 16, 33411, 2648, 796, 767, 5357, 10273, 62, 4302...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2472, 1271, 286, 10209, 810, 262, 2648, 318, 767, 290, 262, 1285, 4279, 318, 5598, 30, 46506, 327, 28270, 7, 1177, 364, 8, 16034, 3084, 62, 1433, 2998, 1731, 1270, 62, 16, 33411, 2648, 796, 767, 5357, 10273, 62, 4302...
how many hours have elapsed since the first time patient 030-52327 during their current hospital visit received a lab test for hct?
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 = '030-52327' AND patient.hosp...
[ 4919, 867, 2250, 423, 42118, 1201, 262, 717, 640, 5827, 657, 1270, 12, 49803, 1983, 1141, 511, 1459, 4436, 3187, 2722, 257, 2248, 1332, 329, 289, 310, 30, 46506, 1987, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 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...
[ 4919, 867, 2250, 423, 42118, 1201, 262, 717, 640, 5827, 657, 1270, 12, 49803, 1983, 1141, 511, 1459, 4436, 3187, 2722, 257, 2248, 1332, 329, 289, 310, 30, 46506, 1987, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62,...
find out how many patients were discharged from the hospital until 4 years ago.
SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE NOT patient.hospitaldischargetime IS NULL AND DATETIME(patient.hospitaldischargetime) <= DATETIME(CURRENT_TIME(), '-4 year')
[ 19796, 503, 703, 867, 3871, 547, 26476, 422, 262, 4436, 1566, 604, 812, 2084, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 5827, 13, 403, 1557, 538, 312, 8, 16034, 5827, 33411, 5626, 5827, 13, 49257, 6381, 354, 7641, 524, 3180, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 19796, 503, 703, 867, 3871, 547, 26476, 422, 262, 4436, 1566, 604, 812, 2084, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 5827, 13, 403, 1557, 538, 312, 8, 16034, 5827, 33411, 5626, 5827, 13, 49257, 6381, 354, 7641, 524, 3180, 1...
Who was the Singles Champions in Trieste, Italy?
SELECT singles_champions FROM table_name_9 WHERE country = "italy" AND city = "trieste"
[ 8241, 373, 262, 5573, 829, 6662, 287, 7563, 29872, 11, 8031, 30, 46506, 25287, 62, 354, 4350, 16034, 3084, 62, 3672, 62, 24, 33411, 1499, 796, 366, 1287, 88, 1, 5357, 1748, 796, 366, 28461, 29872, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5573, 829, 6662, 287, 7563, 29872, 11, 8031, 30, 46506, 25287, 62, 354, 4350, 16034, 3084, 62, 3672, 62, 24, 33411, 1499, 796, 366, 1287, 88, 1, 5357, 1748, 796, 366, 28461, 29872, 1 ]
Name the surface for 20 march 2007
SELECT "Surface" FROM table_71976 WHERE "Date" = '20 march 2007'
[ 5376, 262, 4417, 329, 1160, 9960, 4343, 46506, 366, 14214, 2550, 1, 16034, 3084, 62, 22, 38108, 33411, 366, 10430, 1, 796, 705, 1238, 9960, 4343, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 4417, 329, 1160, 9960, 4343, 46506, 366, 14214, 2550, 1, 16034, 3084, 62, 22, 38108, 33411, 366, 10430, 1, 796, 705, 1238, 9960, 4343, 6 ]
out of total number of patients treated with gentamicin sulfate, how many of them have a confirmed death status?
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 = "Gentamicin Sulfate"
[ 448, 286, 2472, 1271, 286, 3871, 5716, 351, 25049, 18127, 259, 22443, 378, 11, 703, 867, 286, 606, 423, 257, 4999, 1918, 3722, 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...
[ 448, 286, 2472, 1271, 286, 3871, 5716, 351, 25049, 18127, 259, 22443, 378, 11, 703, 867, 286, 606, 423, 257, 4999, 1918, 3722, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, ...
In what country is the El Hamada area of operation?
SELECT "Country" FROM table_632 WHERE "Area of Operation" = 'El Hamada'
[ 818, 644, 1499, 318, 262, 2574, 4345, 4763, 1989, 286, 4905, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 21, 2624, 33411, 366, 30547, 286, 14680, 1, 796, 705, 9527, 4345, 4763, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 818, 644, 1499, 318, 262, 2574, 4345, 4763, 1989, 286, 4905, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 21, 2624, 33411, 366, 30547, 286, 14680, 1, 796, 705, 9527, 4345, 4763, 6 ]
For those employees who do not work in departments with managers that have ids between 100 and 200, show me about the distribution of first_name and manager_id in a bar chart, and show by the x-axis in desc.
SELECT FIRST_NAME, MANAGER_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY FIRST_NAME DESC
[ 1890, 883, 4409, 508, 466, 407, 670, 287, 13346, 351, 11663, 326, 423, 220, 2340, 1022, 1802, 290, 939, 11, 905, 502, 546, 262, 6082, 286, 717, 62, 3672, 290, 4706, 62, 312, 287, 257, 2318, 8262, 11, 290, 905, 416, 262, 2124, 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...
[ 1890, 883, 4409, 508, 466, 407, 670, 287, 13346, 351, 11663, 326, 423, 220, 2340, 1022, 1802, 290, 939, 11, 905, 502, 546, 262, 6082, 286, 717, 62, 3672, 290, 4706, 62, 312, 287, 257, 2318, 8262, 11, 290, 905, 416, 262, 2124, 12, ...
What is Result, when Venue is G tzis , Austria?
SELECT result FROM table_name_77 WHERE venue = "götzis , austria"
[ 2061, 318, 25414, 11, 618, 9932, 518, 318, 402, 256, 89, 271, 837, 17322, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 3324, 33411, 14359, 796, 366, 70, 9101, 22877, 271, 837, 38132, 7496, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 25414, 11, 618, 9932, 518, 318, 402, 256, 89, 271, 837, 17322, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 3324, 33411, 14359, 796, 366, 70, 9101, 22877, 271, 837, 38132, 7496, 1 ]
what is the discharge location and primary disease of the patient name kurt buczek?
SELECT demographic.discharge_location, demographic.diagnosis FROM demographic WHERE demographic.name = "Kurt Buczek"
[ 10919, 318, 262, 17655, 4067, 290, 4165, 4369, 286, 262, 5827, 1438, 479, 3325, 809, 26691, 988, 30, 46506, 16728, 13, 6381, 10136, 62, 24886, 11, 16728, 13, 47356, 5958, 16034, 16728, 33411, 16728, 13, 3672, 796, 366, 42, 3325, 23627, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 17655, 4067, 290, 4165, 4369, 286, 262, 5827, 1438, 479, 3325, 809, 26691, 988, 30, 46506, 16728, 13, 6381, 10136, 62, 24886, 11, 16728, 13, 47356, 5958, 16034, 16728, 33411, 16728, 13, 3672, 796, 366, 42, 3325, 23627, ...
What is the sum of the points of all teams that had against scores less than 14?
SELECT SUM(points) FROM table_name_96 WHERE against < 14
[ 2061, 318, 262, 2160, 286, 262, 2173, 286, 477, 3466, 326, 550, 1028, 8198, 1342, 621, 1478, 30, 46506, 35683, 7, 13033, 8, 16034, 3084, 62, 3672, 62, 4846, 33411, 1028, 1279, 1478 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2160, 286, 262, 2173, 286, 477, 3466, 326, 550, 1028, 8198, 1342, 621, 1478, 30, 46506, 35683, 7, 13033, 8, 16034, 3084, 62, 3672, 62, 4846, 33411, 1028, 1279, 1478 ]
Display a bar chart for what are the numbers of wines for different grapes?, and I want to show from high to low by the Grape.
SELECT Grape, COUNT(*) FROM wine GROUP BY Grape ORDER BY Grape DESC
[ 23114, 257, 2318, 8262, 329, 644, 389, 262, 3146, 286, 30680, 329, 1180, 36656, 21747, 290, 314, 765, 284, 905, 422, 1029, 284, 1877, 416, 262, 48315, 13, 46506, 48315, 11, 327, 28270, 7, 28104, 16034, 8237, 44441, 11050, 48315, 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 ]
[ 23114, 257, 2318, 8262, 329, 644, 389, 262, 3146, 286, 30680, 329, 1180, 36656, 21747, 290, 314, 765, 284, 905, 422, 1029, 284, 1877, 416, 262, 48315, 13, 46506, 48315, 11, 327, 28270, 7, 28104, 16034, 8237, 44441, 11050, 48315, 38678, ...
How many teams drew the widnes vikings?
SELECT COUNT(drawn) FROM table_13018091_1 WHERE club = "Widnes Vikings"
[ 2437, 867, 3466, 9859, 262, 9214, 2516, 410, 1134, 654, 30, 46506, 327, 28270, 7, 41549, 8, 16034, 3084, 62, 1485, 486, 1795, 6420, 62, 16, 33411, 3430, 796, 366, 54, 312, 2516, 16420, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 3466, 9859, 262, 9214, 2516, 410, 1134, 654, 30, 46506, 327, 28270, 7, 41549, 8, 16034, 3084, 62, 1485, 486, 1795, 6420, 62, 16, 33411, 3430, 796, 366, 54, 312, 2516, 16420, 1 ]
What is the High points with a Game that is 56?
SELECT high_points FROM table_name_31 WHERE game = 56
[ 2061, 318, 262, 3334, 2173, 351, 257, 3776, 326, 318, 7265, 30, 46506, 1029, 62, 13033, 16034, 3084, 62, 3672, 62, 3132, 33411, 983, 796, 7265 ]
[ 1, 1, 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, 3334, 2173, 351, 257, 3776, 326, 318, 7265, 30, 46506, 1029, 62, 13033, 16034, 3084, 62, 3672, 62, 3132, 33411, 983, 796, 7265 ]
The draft pick that was taken before round 4 went to what college?
SELECT "College" FROM table_46804 WHERE "Round" < '4'
[ 464, 4538, 2298, 326, 373, 2077, 878, 2835, 604, 1816, 284, 644, 4152, 30, 46506, 366, 38951, 1, 16034, 3084, 62, 3510, 36088, 33411, 366, 22685, 1, 1279, 705, 19, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 464, 4538, 2298, 326, 373, 2077, 878, 2835, 604, 1816, 284, 644, 4152, 30, 46506, 366, 38951, 1, 16034, 3084, 62, 3510, 36088, 33411, 366, 22685, 1, 1279, 705, 19, 6 ]
what were the drugs which were added to patient 2518 today compared to the ones yesterday?
SELECT prescriptions.drug FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 2518) AND DATETIME(prescriptions.startdate, 'start of day') = DATETIME(CURRENT_TIME(), 'start of day', '-0 day') EXCEPT SELECT prescriptions.drug FROM prescriptions WHERE ...
[ 10919, 547, 262, 5010, 543, 547, 2087, 284, 5827, 1679, 1507, 1909, 3688, 284, 262, 3392, 7415, 30, 46506, 34092, 13, 30349, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 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, 547, 262, 5010, 543, 547, 2087, 284, 5827, 1679, 1507, 1909, 3688, 284, 262, 3392, 7415, 30, 46506, 34092, 13, 30349, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 2...
What is the name of the player with a score of 72-68-70=210?
SELECT player FROM table_name_30 WHERE score = 72 - 68 - 70 = 210
[ 2061, 318, 262, 1438, 286, 262, 2137, 351, 257, 4776, 286, 7724, 12, 3104, 12, 2154, 28, 21536, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 1270, 33411, 4776, 796, 7724, 532, 8257, 532, 4317, 796, 20064 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1438, 286, 262, 2137, 351, 257, 4776, 286, 7724, 12, 3104, 12, 2154, 28, 21536, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 1270, 33411, 4776, 796, 7724, 532, 8257, 532, 4317, 796, 20064 ]
What is the maximum number that a certain service is provided? List the service id, details and number.
SELECT T1.service_id, T1.service_details, COUNT(*) FROM Services AS T1 JOIN Residents_Services AS T2 ON T1.service_id = T2.service_id GROUP BY T1.service_id ORDER BY COUNT(*) DESC LIMIT 1
[ 2061, 318, 262, 5415, 1271, 326, 257, 1728, 2139, 318, 2810, 30, 7343, 262, 2139, 4686, 11, 3307, 290, 1271, 13, 46506, 309, 16, 13, 15271, 62, 312, 11, 309, 16, 13, 15271, 62, 36604, 11, 327, 28270, 7, 28104, 16034, 6168, 7054, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 318, 262, 5415, 1271, 326, 257, 1728, 2139, 318, 2810, 30, 7343, 262, 2139, 4686, 11, 3307, 290, 1271, 13, 46506, 309, 16, 13, 15271, 62, 312, 11, 309, 16, 13, 15271, 62, 36604, 11, 327, 28270, 7, 28104, 16034, 6168, 7054, 3...
What is the highest attendance of the game with eastwood town as the away team?
SELECT MAX(attendance) FROM table_name_46 WHERE away_team = "eastwood town"
[ 2061, 318, 262, 4511, 14858, 286, 262, 983, 351, 7627, 3822, 3240, 355, 262, 1497, 1074, 30, 46506, 25882, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 3510, 33411, 1497, 62, 15097, 796, 366, 23316, 3822, 3240, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14858, 286, 262, 983, 351, 7627, 3822, 3240, 355, 262, 1497, 1074, 30, 46506, 25882, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 3510, 33411, 1497, 62, 15097, 796, 366, 23316, 3822, 3240, 1 ]
What is Zoe and Matt's result?
SELECT result FROM table_19744915_16 WHERE couple = "Zoe and Matt"
[ 2061, 318, 32280, 290, 4705, 338, 1255, 30, 46506, 1255, 16034, 3084, 62, 24991, 31911, 1314, 62, 1433, 33411, 3155, 796, 366, 57, 2577, 290, 4705, 1 ]
[ 1, 1, 1, 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, 32280, 290, 4705, 338, 1255, 30, 46506, 1255, 16034, 3084, 62, 24991, 31911, 1314, 62, 1433, 33411, 3155, 796, 366, 57, 2577, 290, 4705, 1 ]
Who wrote episode 23 in the season?
SELECT written_by FROM table_27823359_1 WHERE season__number = "23"
[ 8241, 2630, 4471, 2242, 287, 262, 1622, 30, 46506, 3194, 62, 1525, 16034, 3084, 62, 25870, 1954, 30743, 62, 16, 33411, 1622, 834, 17618, 796, 366, 1954, 1 ]
[ 1, 1, 1, 1, 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, 2630, 4471, 2242, 287, 262, 1622, 30, 46506, 3194, 62, 1525, 16034, 3084, 62, 25870, 1954, 30743, 62, 16, 33411, 1622, 834, 17618, 796, 366, 1954, 1 ]
What are the names of countries that have both players with position forward and players with position defender?
SELECT T1.country_name FROM country AS T1 JOIN match_season AS T2 ON T1.country_id = T2.country WHERE T2.position = "Forward" INTERSECT SELECT T1.country_name FROM country AS T1 JOIN match_season AS T2 ON T1.country_id = T2.country WHERE T2.position = "Defender"
[ 2061, 389, 262, 3891, 286, 2678, 326, 423, 1111, 1938, 351, 2292, 2651, 290, 1938, 351, 2292, 13191, 30, 46506, 309, 16, 13, 19315, 62, 3672, 16034, 1499, 7054, 309, 16, 32357, 1268, 2872, 62, 6230, 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...
[ 2061, 389, 262, 3891, 286, 2678, 326, 423, 1111, 1938, 351, 2292, 2651, 290, 1938, 351, 2292, 13191, 30, 46506, 309, 16, 13, 19315, 62, 3672, 16034, 1499, 7054, 309, 16, 32357, 1268, 2872, 62, 6230, 7054, 309, 17, 6177, 309, 16, 13,...
what is the first track to have two performers ?
SELECT "title" FROM table_204_906 WHERE "performer" = 2 ORDER BY "#" LIMIT 1
[ 10919, 318, 262, 717, 2610, 284, 423, 734, 23827, 5633, 46506, 366, 7839, 1, 16034, 3084, 62, 18638, 62, 24, 3312, 33411, 366, 525, 16354, 1, 796, 362, 38678, 11050, 25113, 1, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 717, 2610, 284, 423, 734, 23827, 5633, 46506, 366, 7839, 1, 16034, 3084, 62, 18638, 62, 24, 3312, 33411, 366, 525, 16354, 1, 796, 362, 38678, 11050, 25113, 1, 27564, 2043, 352 ]
how many patients whose gender is m and diagnoses long title is hyposmolality and/or hyponatremia?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.gender = "M" AND diagnoses.long_title = "Hyposmolality and/or hyponatremia"
[ 4919, 867, 3871, 3025, 5279, 318, 285, 290, 40567, 890, 3670, 318, 2537, 1930, 43132, 1483, 290, 14, 273, 5328, 261, 265, 2787, 544, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 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...
[ 4919, 867, 3871, 3025, 5279, 318, 285, 290, 40567, 890, 3670, 318, 2537, 1930, 43132, 1483, 290, 14, 273, 5328, 261, 265, 2787, 544, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 2...
Who has the high assists when the team is Oklahoma City?
SELECT "High assists" FROM table_2846 WHERE "Team" = 'Oklahoma City'
[ 8241, 468, 262, 1029, 13648, 618, 262, 1074, 318, 10433, 2254, 30, 46506, 366, 11922, 13648, 1, 16034, 3084, 62, 2078, 3510, 33411, 366, 15592, 1, 796, 705, 18690, 9802, 2254, 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, 468, 262, 1029, 13648, 618, 262, 1074, 318, 10433, 2254, 30, 46506, 366, 11922, 13648, 1, 16034, 3084, 62, 2078, 3510, 33411, 366, 15592, 1, 796, 705, 18690, 9802, 2254, 6 ]
how patient 16879 was first admitted to hospital until 2 years ago?
SELECT admissions.admission_type FROM admissions WHERE admissions.subject_id = 16879 AND DATETIME(admissions.admittime) <= DATETIME(CURRENT_TIME(), '-2 year') ORDER BY admissions.admittime LIMIT 1
[ 4919, 5827, 23378, 3720, 373, 717, 6848, 284, 4436, 1566, 362, 812, 2084, 30, 46506, 25349, 13, 324, 3411, 62, 4906, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 23378, 3720, 5357, 360, 1404, 2767, 12789, 7, 324, 8481, 13, 324...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5827, 23378, 3720, 373, 717, 6848, 284, 4436, 1566, 362, 812, 2084, 30, 46506, 25349, 13, 324, 3411, 62, 4906, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 23378, 3720, 5357, 360, 1404, 2767, 12789, 7, 324, 8481, 13, 324...
Participation as of actor, film editor has what average year?
SELECT AVG("Year") FROM table_34664 WHERE "Participation as" = 'actor, film editor'
[ 34363, 341, 355, 286, 8674, 11, 2646, 5464, 468, 644, 2811, 614, 30, 46506, 35224, 7203, 17688, 4943, 16034, 3084, 62, 30557, 2414, 33411, 366, 34363, 341, 355, 1, 796, 705, 11218, 11, 2646, 5464, 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 ]
[ 34363, 341, 355, 286, 8674, 11, 2646, 5464, 468, 644, 2811, 614, 30, 46506, 35224, 7203, 17688, 4943, 16034, 3084, 62, 30557, 2414, 33411, 366, 34363, 341, 355, 1, 796, 705, 11218, 11, 2646, 5464, 6 ]
what is the highest attendance for week 6?
SELECT MAX("Attendance") FROM table_13492 WHERE "Week" = '6'
[ 10919, 318, 262, 4511, 14858, 329, 1285, 718, 30, 46506, 25882, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 1485, 40256, 33411, 366, 20916, 1, 796, 705, 21, 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 ]
[ 10919, 318, 262, 4511, 14858, 329, 1285, 718, 30, 46506, 25882, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 1485, 40256, 33411, 366, 20916, 1, 796, 705, 21, 6 ]
Count the number of captains younger than 50 of each rank, list by the y-axis in asc.
SELECT Rank, COUNT(*) FROM captain WHERE age < 50 GROUP BY Rank ORDER BY COUNT(*)
[ 12332, 262, 1271, 286, 37551, 7099, 621, 2026, 286, 1123, 4279, 11, 1351, 416, 262, 331, 12, 22704, 287, 10570, 13, 46506, 10916, 11, 327, 28270, 7, 28104, 16034, 10654, 33411, 2479, 1279, 2026, 44441, 11050, 10916, 38678, 11050, 327, 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 ]
[ 12332, 262, 1271, 286, 37551, 7099, 621, 2026, 286, 1123, 4279, 11, 1351, 416, 262, 331, 12, 22704, 287, 10570, 13, 46506, 10916, 11, 327, 28270, 7, 28104, 16034, 10654, 33411, 2479, 1279, 2026, 44441, 11050, 10916, 38678, 11050, 327, 2...
what is the maximum amount of the total hospital cost which involves respiratory acidosis - acute this year?
SELECT MAX(t1.c1) FROM (SELECT SUM(cost.cost) AS c1 FROM cost WHERE cost.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.patientunitstayid IN (SELECT diagnosis.patientunitstayid FROM diagnosis WHERE diagnosis.diagnosisname = 'respiratory acidosis - acute')) AND DATETIME...
[ 10919, 318, 262, 5415, 2033, 286, 262, 2472, 4436, 1575, 543, 9018, 22949, 7408, 5958, 532, 14352, 428, 614, 30, 46506, 25882, 7, 83, 16, 13, 66, 16, 8, 16034, 357, 46506, 35683, 7, 15805, 13, 15805, 8, 7054, 269, 16, 16034, 1575, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5415, 2033, 286, 262, 2472, 4436, 1575, 543, 9018, 22949, 7408, 5958, 532, 14352, 428, 614, 30, 46506, 25882, 7, 83, 16, 13, 66, 16, 8, 16034, 357, 46506, 35683, 7, 15805, 13, 15805, 8, 7054, 269, 16, 16034, 1575, ...
Find the max gpa of all students in each department with a pie chart.
SELECT DEPT_CODE, MAX(STU_GPA) FROM STUDENT GROUP BY DEPT_CODE
[ 16742, 262, 3509, 308, 8957, 286, 477, 2444, 287, 1123, 5011, 351, 257, 2508, 8262, 13, 46506, 5550, 11571, 62, 34, 16820, 11, 25882, 7, 2257, 52, 62, 38, 4537, 8, 16034, 49348, 3525, 44441, 11050, 5550, 11571, 62, 34, 16820 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3509, 308, 8957, 286, 477, 2444, 287, 1123, 5011, 351, 257, 2508, 8262, 13, 46506, 5550, 11571, 62, 34, 16820, 11, 25882, 7, 2257, 52, 62, 38, 4537, 8, 16034, 49348, 3525, 44441, 11050, 5550, 11571, 62, 34, 16820 ]
has quetiapine fumarate, phenylephrine, or ondansetron been prescribed until 05/2101 for patient 1372?
SELECT COUNT(*) > 0 FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 1372) AND prescriptions.drug IN ('quetiapine fumarate', 'phenylephrine', 'ondansetron') AND STRFTIME('%y-%m', prescriptions.startdate) <= '2101-05'
[ 10134, 627, 316, 72, 499, 500, 277, 388, 30748, 11, 6566, 2349, 47723, 11, 393, 319, 67, 504, 316, 1313, 587, 14798, 1566, 8870, 14, 2481, 486, 329, 5827, 1511, 4761, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 34092, 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...
[ 10134, 627, 316, 72, 499, 500, 277, 388, 30748, 11, 6566, 2349, 47723, 11, 393, 319, 67, 504, 316, 1313, 587, 14798, 1566, 8870, 14, 2481, 486, 329, 5827, 1511, 4761, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 34092, 33411, ...
What year had the qual of totals
SELECT year FROM table_name_88 WHERE qual = "totals"
[ 2061, 614, 550, 262, 4140, 286, 26310, 46506, 614, 16034, 3084, 62, 3672, 62, 3459, 33411, 4140, 796, 366, 83, 313, 874, 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, 550, 262, 4140, 286, 26310, 46506, 614, 16034, 3084, 62, 3672, 62, 3459, 33411, 4140, 796, 366, 83, 313, 874, 1 ]
What is the sum of bronzes associated with 0 golds and a rank of 10?
SELECT SUM(bronze) FROM table_name_67 WHERE rank = "10" AND gold < 0
[ 2061, 318, 262, 2160, 286, 18443, 12271, 3917, 351, 657, 3869, 82, 290, 257, 4279, 286, 838, 30, 46506, 35683, 7, 65, 1313, 2736, 8, 16034, 3084, 62, 3672, 62, 3134, 33411, 4279, 796, 366, 940, 1, 5357, 3869, 1279, 657 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2160, 286, 18443, 12271, 3917, 351, 657, 3869, 82, 290, 257, 4279, 286, 838, 30, 46506, 35683, 7, 65, 1313, 2736, 8, 16034, 3084, 62, 3672, 62, 3134, 33411, 4279, 796, 366, 940, 1, 5357, 3869, 1279, 657 ]
what is the name of the first category listed on this chart ?
SELECT "category" FROM table_203_650 WHERE id = 1
[ 10919, 318, 262, 1438, 286, 262, 717, 6536, 5610, 319, 428, 8262, 5633, 46506, 366, 22872, 1, 16034, 3084, 62, 22416, 62, 17544, 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, 1438, 286, 262, 717, 6536, 5610, 319, 428, 8262, 5633, 46506, 366, 22872, 1, 16034, 3084, 62, 22416, 62, 17544, 33411, 4686, 796, 352 ]
What is School/Club Team, when Season is 2006-2012?
SELECT school_club_team FROM table_name_79 WHERE season = "2006-2012"
[ 2061, 318, 3961, 14, 42350, 4816, 11, 618, 7369, 318, 4793, 12, 6999, 30, 46506, 1524, 62, 18664, 62, 15097, 16034, 3084, 62, 3672, 62, 3720, 33411, 1622, 796, 366, 13330, 12, 6999, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3961, 14, 42350, 4816, 11, 618, 7369, 318, 4793, 12, 6999, 30, 46506, 1524, 62, 18664, 62, 15097, 16034, 3084, 62, 3672, 62, 3720, 33411, 1622, 796, 366, 13330, 12, 6999, 1 ]
Total number of laps at a time of +56.977?
SELECT COUNT("Laps") FROM table_8877 WHERE "Time" = '+56.977'
[ 14957, 1271, 286, 24590, 379, 257, 640, 286, 1343, 3980, 13, 24, 3324, 30, 46506, 327, 28270, 7203, 43, 1686, 4943, 16034, 3084, 62, 3459, 3324, 33411, 366, 7575, 1, 796, 705, 10, 3980, 13, 24, 3324, 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 ]
[ 14957, 1271, 286, 24590, 379, 257, 640, 286, 1343, 3980, 13, 24, 3324, 30, 46506, 327, 28270, 7203, 43, 1686, 4943, 16034, 3084, 62, 3459, 3324, 33411, 366, 7575, 1, 796, 705, 10, 3980, 13, 24, 3324, 6 ]
Get All Non-Empty Tag Excerpts.
SELECT t.TagName AS "Tag Name", p.Body AS "Wiki Excerpt" FROM Tags AS t JOIN Posts AS p ON t.ExcerptPostId = p.Id WHERE p.Body != '' ORDER BY t.TagName
[ 3855, 1439, 8504, 12, 40613, 17467, 1475, 17040, 82, 13, 46506, 256, 13, 24835, 5376, 7054, 366, 24835, 6530, 1600, 279, 13, 25842, 7054, 366, 32603, 1475, 17040, 1, 16034, 44789, 7054, 256, 32357, 1268, 12043, 7054, 279, 6177, 256, 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 ]
[ 3855, 1439, 8504, 12, 40613, 17467, 1475, 17040, 82, 13, 46506, 256, 13, 24835, 5376, 7054, 366, 24835, 6530, 1600, 279, 13, 25842, 7054, 366, 32603, 1475, 17040, 1, 16034, 44789, 7054, 256, 32357, 1268, 12043, 7054, 279, 6177, 256, 13,...
Name the total number of places for vicky gordon and points more than 23
SELECT COUNT(place) FROM table_name_72 WHERE artist = "vicky gordon" AND points > 23
[ 5376, 262, 2472, 1271, 286, 4113, 329, 410, 17479, 308, 9999, 290, 2173, 517, 621, 2242, 46506, 327, 28270, 7, 5372, 8, 16034, 3084, 62, 3672, 62, 4761, 33411, 6802, 796, 366, 85, 17479, 308, 9999, 1, 5357, 2173, 1875, 2242 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4113, 329, 410, 17479, 308, 9999, 290, 2173, 517, 621, 2242, 46506, 327, 28270, 7, 5372, 8, 16034, 3084, 62, 3672, 62, 4761, 33411, 6802, 796, 366, 85, 17479, 308, 9999, 1, 5357, 2173, 1875, 2242 ]
What type of engine does the BF Racing Marron Excavations have that also has Monaco as chassis and Lee Filliponi as the driver?
SELECT "Engine" FROM table_74867 WHERE "Team" = 'bf racing marron excavations' AND "Chassis" = 'monaco' AND "Driver" = 'lee filliponi'
[ 2061, 2099, 286, 3113, 857, 262, 41646, 14954, 1526, 1313, 25268, 615, 602, 423, 326, 635, 468, 31630, 355, 24587, 290, 5741, 27845, 541, 14651, 355, 262, 4639, 30, 46506, 366, 13798, 1, 16034, 3084, 62, 48246, 3134, 33411, 366, 15592, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 2099, 286, 3113, 857, 262, 41646, 14954, 1526, 1313, 25268, 615, 602, 423, 326, 635, 468, 31630, 355, 24587, 290, 5741, 27845, 541, 14651, 355, 262, 4639, 30, 46506, 366, 13798, 1, 16034, 3084, 62, 48246, 3134, 33411, 366, 15592, ...
Which school has a hometown of winter park, FL?
SELECT school FROM table_name_68 WHERE hometown = "winter park, fl"
[ 13828, 1524, 468, 257, 20994, 286, 7374, 3952, 11, 9977, 30, 46506, 1524, 16034, 3084, 62, 3672, 62, 3104, 33411, 20994, 796, 366, 40078, 3952, 11, 781, 1 ]
[ 1, 1, 1, 1, 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, 1524, 468, 257, 20994, 286, 7374, 3952, 11, 9977, 30, 46506, 1524, 16034, 3084, 62, 3672, 62, 3104, 33411, 20994, 796, 366, 40078, 3952, 11, 781, 1 ]
Who was the opponent before week 3 and a result of w 28-6?
SELECT "Opponent" FROM table_8117 WHERE "Week" < '3' AND "Result" = 'w 28-6'
[ 8241, 373, 262, 6125, 878, 1285, 513, 290, 257, 1255, 286, 266, 2579, 12, 21, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 23, 17657, 33411, 366, 20916, 1, 1279, 705, 18, 6, 5357, 366, 23004, 1, 796, 705, 86, 2579, 12, 21, 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 ]
[ 8241, 373, 262, 6125, 878, 1285, 513, 290, 257, 1255, 286, 266, 2579, 12, 21, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 23, 17657, 33411, 366, 20916, 1, 1279, 705, 18, 6, 5357, 366, 23004, 1, 796, 705, 86, 2579, 12, 21, 6...
how many hours has it been since the last stay of patient 23436 in the careunit csru during the current hospital encounter?
SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', transfers.intime)) FROM transfers WHERE transfers.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 23436 AND admissions.dischtime IS NULL) AND transfers.careunit = 'csru' ORDER BY transfers.intime DESC LIMIT 1
[ 4919, 867, 2250, 468, 340, 587, 1201, 262, 938, 2652, 286, 5827, 34323, 2623, 287, 262, 1337, 20850, 50115, 622, 1141, 262, 1459, 4436, 8791, 30, 46506, 1987, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694, 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...
[ 4919, 867, 2250, 468, 340, 587, 1201, 262, 938, 2652, 286, 5827, 34323, 2623, 287, 262, 1337, 20850, 50115, 622, 1141, 262, 1459, 4436, 8791, 30, 46506, 1987, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694, 2...
The canadian airdate of 17 march 2008 had how many numbers in the season?
SELECT COUNT("No. in season") FROM table_72141 WHERE "Canadian airdate" = '17 March 2008'
[ 464, 460, 18425, 257, 1447, 378, 286, 1596, 9960, 3648, 550, 703, 867, 3146, 287, 262, 1622, 30, 46506, 327, 28270, 7203, 2949, 13, 287, 1622, 4943, 16034, 3084, 62, 4761, 23756, 33411, 366, 28203, 257, 1447, 378, 1, 796, 705, 1558, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 460, 18425, 257, 1447, 378, 286, 1596, 9960, 3648, 550, 703, 867, 3146, 287, 262, 1622, 30, 46506, 327, 28270, 7203, 2949, 13, 287, 1622, 4943, 16034, 3084, 62, 4761, 23756, 33411, 366, 28203, 257, 1447, 378, 1, 796, 705, 1558, ...
Show all game names played by at least 1000 hours.
SELECT gname FROM Plays_games AS T1 JOIN Video_games AS T2 ON T1.gameid = T2.gameid GROUP BY T1.gameid HAVING SUM(hours_played) >= 1000
[ 15307, 477, 983, 3891, 2826, 416, 379, 1551, 8576, 2250, 13, 46506, 308, 3672, 16034, 38116, 62, 19966, 7054, 309, 16, 32357, 1268, 7623, 62, 19966, 7054, 309, 17, 6177, 309, 16, 13, 6057, 312, 796, 309, 17, 13, 6057, 312, 44441, 11...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 477, 983, 3891, 2826, 416, 379, 1551, 8576, 2250, 13, 46506, 308, 3672, 16034, 38116, 62, 19966, 7054, 309, 16, 32357, 1268, 7623, 62, 19966, 7054, 309, 17, 6177, 309, 16, 13, 6057, 312, 796, 309, 17, 13, 6057, 312, 44441, 11...
Name the broadcast network for chiba prefecture
SELECT broadcast_network FROM table_21076286_2 WHERE broadcast_scope = "Chiba Prefecture"
[ 5376, 262, 7025, 3127, 329, 442, 23718, 662, 36637, 46506, 7025, 62, 27349, 16034, 3084, 62, 21536, 4304, 27033, 62, 17, 33411, 7025, 62, 29982, 796, 366, 1925, 23718, 3771, 36637, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 7025, 3127, 329, 442, 23718, 662, 36637, 46506, 7025, 62, 27349, 16034, 3084, 62, 21536, 4304, 27033, 62, 17, 33411, 7025, 62, 29982, 796, 366, 1925, 23718, 3771, 36637, 1 ]
What is the title of the episode with the production code 2-19?
SELECT "Title" FROM table_26108 WHERE "Prod. Code" = '2-19'
[ 2061, 318, 262, 3670, 286, 262, 4471, 351, 262, 3227, 2438, 362, 12, 1129, 30, 46506, 366, 19160, 1, 16034, 3084, 62, 2075, 15711, 33411, 366, 2964, 67, 13, 6127, 1, 796, 705, 17, 12, 1129, 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, 3670, 286, 262, 4471, 351, 262, 3227, 2438, 362, 12, 1129, 30, 46506, 366, 19160, 1, 16034, 3084, 62, 2075, 15711, 33411, 366, 2964, 67, 13, 6127, 1, 796, 705, 17, 12, 1129, 6 ]
Which CONMEBOL 1995 has river plate team?
SELECT conmebol_1995 FROM table_name_61 WHERE team = "river plate"
[ 13828, 7102, 11682, 33, 3535, 8735, 468, 7850, 7480, 1074, 30, 46506, 369, 1326, 28984, 62, 21908, 16034, 3084, 62, 3672, 62, 5333, 33411, 1074, 796, 366, 38291, 7480, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 7102, 11682, 33, 3535, 8735, 468, 7850, 7480, 1074, 30, 46506, 369, 1326, 28984, 62, 21908, 16034, 3084, 62, 3672, 62, 5333, 33411, 1074, 796, 366, 38291, 7480, 1 ]
What is the record when the game is greater than 24?
SELECT "Record" FROM table_49280 WHERE "Game" > '24'
[ 2061, 318, 262, 1700, 618, 262, 983, 318, 3744, 621, 1987, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 2920, 21033, 33411, 366, 8777, 1, 1875, 705, 1731, 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, 983, 318, 3744, 621, 1987, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 2920, 21033, 33411, 366, 8777, 1, 1875, 705, 1731, 6 ]
Who played drums for the Gray Race album?
SELECT drums FROM table_name_89 WHERE album = "the gray race"
[ 8241, 2826, 24730, 329, 262, 12723, 12588, 5062, 30, 46506, 24730, 16034, 3084, 62, 3672, 62, 4531, 33411, 5062, 796, 366, 1169, 12768, 3234, 1 ]
[ 1, 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, 2826, 24730, 329, 262, 12723, 12588, 5062, 30, 46506, 24730, 16034, 3084, 62, 3672, 62, 4531, 33411, 5062, 796, 366, 1169, 12768, 3234, 1 ]
What is the catalog number named callanetics: 10 years younger in 10 hours
SELECT "Catalog Number" FROM table_161 WHERE "Title" = 'Callanetics: 10 Years Younger In 10 Hours'
[ 2061, 318, 262, 18388, 1271, 3706, 869, 272, 14596, 25, 838, 812, 7099, 287, 838, 2250, 46506, 366, 49015, 7913, 1, 16034, 3084, 62, 25948, 33411, 366, 19160, 1, 796, 705, 14134, 272, 14596, 25, 838, 13212, 45174, 554, 838, 19347, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 18388, 1271, 3706, 869, 272, 14596, 25, 838, 812, 7099, 287, 838, 2250, 46506, 366, 49015, 7913, 1, 16034, 3084, 62, 25948, 33411, 366, 19160, 1, 796, 705, 14134, 272, 14596, 25, 838, 13212, 45174, 554, 838, 19347, 6 ]
What's the total attendance of games against the New York Giants after week 13?
SELECT COUNT(attendance) FROM table_name_51 WHERE week > 13 AND opponent = "new york giants"
[ 2061, 338, 262, 2472, 14858, 286, 1830, 1028, 262, 968, 1971, 12056, 706, 1285, 1511, 30, 46506, 327, 28270, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 4349, 33411, 1285, 1875, 1511, 5357, 6125, 796, 366, 3605, 331, 967, 20178, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2472, 14858, 286, 1830, 1028, 262, 968, 1971, 12056, 706, 1285, 1511, 30, 46506, 327, 28270, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 4349, 33411, 1285, 1875, 1511, 5357, 6125, 796, 366, 3605, 331, 967, 20178, ...
Who was the opposing team in the game with a score of 21-17?
SELECT "Opp. Team" FROM table_79143 WHERE "Score" = '21-17'
[ 8241, 373, 262, 12330, 1074, 287, 262, 983, 351, 257, 4776, 286, 2310, 12, 1558, 30, 46506, 366, 27524, 13, 4816, 1, 16034, 3084, 62, 3720, 21139, 33411, 366, 26595, 1, 796, 705, 2481, 12, 1558, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 373, 262, 12330, 1074, 287, 262, 983, 351, 257, 4776, 286, 2310, 12, 1558, 30, 46506, 366, 27524, 13, 4816, 1, 16034, 3084, 62, 3720, 21139, 33411, 366, 26595, 1, 796, 705, 2481, 12, 1558, 6 ]
Name the original air date for production code of 3t7501
SELECT COUNT(original_air_date) FROM table_19396259_1 WHERE production_code = "3T7501"
[ 5376, 262, 2656, 1633, 3128, 329, 3227, 2438, 286, 513, 83, 2425, 486, 46506, 327, 28270, 7, 14986, 62, 958, 62, 4475, 8, 16034, 3084, 62, 1129, 34107, 25191, 62, 16, 33411, 3227, 62, 8189, 796, 366, 18, 51, 2425, 486, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2656, 1633, 3128, 329, 3227, 2438, 286, 513, 83, 2425, 486, 46506, 327, 28270, 7, 14986, 62, 958, 62, 4475, 8, 16034, 3084, 62, 1129, 34107, 25191, 62, 16, 33411, 3227, 62, 8189, 796, 366, 18, 51, 2425, 486, 1 ]
how many patients admitted through clinic referral/premature were diagnosed with hypertensive chronic kidney disease, unspecified, with chronic kidney disease stage i through stage iv, or unspecified?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admission_location = "CLINIC REFERRAL/PREMATURE" AND diagnoses.short_title = "Hy kid NOS w cr kid I-IV"
[ 4919, 867, 3871, 6848, 832, 15760, 31413, 14, 31605, 1300, 547, 14641, 351, 32608, 2021, 10726, 21919, 4369, 11, 29547, 11, 351, 10726, 21919, 4369, 3800, 1312, 832, 3800, 21628, 11, 393, 29547, 30, 46506, 327, 28270, 7, 35, 8808, 1268,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6848, 832, 15760, 31413, 14, 31605, 1300, 547, 14641, 351, 32608, 2021, 10726, 21919, 4369, 11, 29547, 11, 351, 10726, 21919, 4369, 3800, 1312, 832, 3800, 21628, 11, 393, 29547, 30, 46506, 327, 28270, 7, 35, 8808, 1268,...
What is the total goals with 12 assists, and less than 291 apps?
SELECT SUM("Goals") FROM table_14197 WHERE "Assists" = '12' AND "Apps" < '291'
[ 2061, 318, 262, 2472, 4661, 351, 1105, 13648, 11, 290, 1342, 621, 43336, 6725, 30, 46506, 35683, 7203, 5247, 874, 4943, 16034, 3084, 62, 1415, 24991, 33411, 366, 8021, 1023, 1, 796, 705, 1065, 6, 5357, 366, 48433, 1, 1279, 705, 33551,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4661, 351, 1105, 13648, 11, 290, 1342, 621, 43336, 6725, 30, 46506, 35683, 7203, 5247, 874, 4943, 16034, 3084, 62, 1415, 24991, 33411, 366, 8021, 1023, 1, 796, 705, 1065, 6, 5357, 366, 48433, 1, 1279, 705, 33551,...
what is the year for player is derrick favors?
SELECT "Year" FROM table_17097 WHERE "Player" = 'Derrick Favors'
[ 10919, 318, 262, 614, 329, 2137, 318, 4587, 5557, 23866, 30, 46506, 366, 17688, 1, 16034, 3084, 62, 1558, 2931, 22, 33411, 366, 14140, 1, 796, 705, 28532, 5557, 34395, 669, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 614, 329, 2137, 318, 4587, 5557, 23866, 30, 46506, 366, 17688, 1, 16034, 3084, 62, 1558, 2931, 22, 33411, 366, 14140, 1, 796, 705, 28532, 5557, 34395, 669, 6 ]
Which capacity has a purple and white colors?
SELECT capacity FROM table_name_77 WHERE colors = "purple and white"
[ 13828, 5339, 468, 257, 14032, 290, 2330, 7577, 30, 46506, 5339, 16034, 3084, 62, 3672, 62, 3324, 33411, 7577, 796, 366, 14225, 1154, 290, 2330, 1 ]
[ 1, 1, 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, 5339, 468, 257, 14032, 290, 2330, 7577, 30, 46506, 5339, 16034, 3084, 62, 3672, 62, 3324, 33411, 7577, 796, 366, 14225, 1154, 290, 2330, 1 ]
what are the name of the drug that patient 52647 was prescribed in the same hospital visit after receiving a sm bowel stoma closure?
SELECT t2.drug FROM (SELECT admissions.subject_id, procedures_icd.charttime, admissions.hadm_id FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE admissions.subject_id = 52647 AND procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_proce...
[ 10919, 389, 262, 1438, 286, 262, 2563, 326, 5827, 642, 2075, 2857, 373, 14798, 287, 262, 976, 4436, 3187, 706, 6464, 257, 895, 35711, 336, 6086, 16512, 30, 46506, 256, 17, 13, 30349, 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...
[ 10919, 389, 262, 1438, 286, 262, 2563, 326, 5827, 642, 2075, 2857, 373, 14798, 287, 262, 976, 4436, 3187, 706, 6464, 257, 895, 35711, 336, 6086, 16512, 30, 46506, 256, 17, 13, 30349, 16034, 357, 46506, 25349, 13, 32796, 62, 312, 11, ...
What Academic AO has a President of harm van leeuwen?
SELECT "Academic AO" FROM table_61960 WHERE "President" = 'harm van leeuwen'
[ 2061, 31421, 317, 46, 468, 257, 1992, 286, 4419, 5719, 443, 12496, 21006, 30, 46506, 366, 12832, 49113, 317, 46, 1, 16034, 3084, 62, 21, 38503, 33411, 366, 10364, 1, 796, 705, 29155, 5719, 443, 12496, 21006, 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, 31421, 317, 46, 468, 257, 1992, 286, 4419, 5719, 443, 12496, 21006, 30, 46506, 366, 12832, 49113, 317, 46, 1, 16034, 3084, 62, 21, 38503, 33411, 366, 10364, 1, 796, 705, 29155, 5719, 443, 12496, 21006, 6 ]
What is the record of the match with Columbus as the home team on March 7?
SELECT record FROM table_name_96 WHERE home = "columbus" AND date = "march 7"
[ 2061, 318, 262, 1700, 286, 262, 2872, 351, 14939, 355, 262, 1363, 1074, 319, 2805, 767, 30, 46506, 1700, 16034, 3084, 62, 3672, 62, 4846, 33411, 1363, 796, 366, 4033, 2178, 385, 1, 5357, 3128, 796, 366, 76, 998, 767, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1700, 286, 262, 2872, 351, 14939, 355, 262, 1363, 1074, 319, 2805, 767, 30, 46506, 1700, 16034, 3084, 62, 3672, 62, 4846, 33411, 1363, 796, 366, 4033, 2178, 385, 1, 5357, 3128, 796, 366, 76, 998, 767, 1 ]
had on 06/02/this year patient 002-25577's systemicdiastolic been greater than 69.0?
SELECT COUNT(*) > 0 FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '002-25577')) AND vitalperiodic.systemicdiastolic > 69.0 AND NOT vita...
[ 18108, 319, 9130, 14, 2999, 14, 5661, 614, 5827, 3571, 17, 12, 13381, 3324, 338, 21971, 10989, 459, 4160, 587, 3744, 621, 8644, 13, 15, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 9204, 41007, 291, 33411, 9204, 41007, 291, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 18108, 319, 9130, 14, 2999, 14, 5661, 614, 5827, 3571, 17, 12, 13381, 3324, 338, 21971, 10989, 459, 4160, 587, 3744, 621, 8644, 13, 15, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 9204, 41007, 291, 33411, 9204, 41007, 291, 13, ...
What is the class with 1 quantity?
SELECT "Class" FROM table_64261 WHERE "Quantity" = '1'
[ 2061, 318, 262, 1398, 351, 352, 12040, 30, 46506, 366, 9487, 1, 16034, 3084, 62, 2414, 30057, 33411, 366, 31208, 1, 796, 705, 16, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1398, 351, 352, 12040, 30, 46506, 366, 9487, 1, 16034, 3084, 62, 2414, 30057, 33411, 366, 31208, 1, 796, 705, 16, 6 ]
What episode includes 'Cop and Saucer'?
SELECT MIN("Ep") FROM table_23368 WHERE "Huckleberry Hound" = 'Cop and Saucer'
[ 2061, 4471, 3407, 705, 13379, 290, 23167, 2189, 30960, 46506, 20625, 7203, 13807, 4943, 16034, 3084, 62, 1954, 27412, 33411, 366, 39, 29687, 8396, 44900, 1, 796, 705, 13379, 290, 23167, 2189, 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, 4471, 3407, 705, 13379, 290, 23167, 2189, 30960, 46506, 20625, 7203, 13807, 4943, 16034, 3084, 62, 1954, 27412, 33411, 366, 39, 29687, 8396, 44900, 1, 796, 705, 13379, 290, 23167, 2189, 6 ]