instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
What are all the political types where area is 155.77?
SELECT "Type" FROM table_27769 WHERE "Area (km\u00b2)" = '155.77'
[ 2061, 389, 477, 262, 1964, 3858, 810, 1989, 318, 20708, 13, 3324, 30, 46506, 366, 6030, 1, 16034, 3084, 62, 27019, 3388, 33411, 366, 30547, 357, 13276, 59, 84, 405, 65, 17, 16725, 796, 705, 18742, 13, 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, 1 ]
[ 2061, 389, 477, 262, 1964, 3858, 810, 1989, 318, 20708, 13, 3324, 30, 46506, 366, 6030, 1, 16034, 3084, 62, 27019, 3388, 33411, 366, 30547, 357, 13276, 59, 84, 405, 65, 17, 16725, 796, 705, 18742, 13, 3324, 6 ]
WHAT IS THE RESULT FOR best urban/alternative performance, IN 2003 OR GREATER?
SELECT "Result" FROM table_43885 WHERE "Category" = 'best urban/alternative performance' AND "Year" > '2003'
[ 32971, 3180, 3336, 15731, 16724, 7473, 1266, 7876, 14, 33645, 876, 2854, 11, 3268, 5816, 6375, 19928, 23261, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 43704, 5332, 33411, 366, 27313, 1, 796, 705, 13466, 7876, 14, 33645, 876, 2854, 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 ]
[ 32971, 3180, 3336, 15731, 16724, 7473, 1266, 7876, 14, 33645, 876, 2854, 11, 3268, 5816, 6375, 19928, 23261, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 43704, 5332, 33411, 366, 27313, 1, 796, 705, 13466, 7876, 14, 33645, 876, 2854, 6, ...
When hittite middle kingdom , new kingdom of egypt is the ubaid period in mesopotamia how many early chalcolithics are there?
SELECT COUNT(early_chalcolithic) FROM table_23537091_1 WHERE ubaid_period_in_mesopotamia = "Hittite Middle Kingdom , New Kingdom of Egypt"
[ 2215, 289, 715, 578, 3504, 13239, 837, 649, 13239, 286, 304, 6022, 318, 262, 20967, 1698, 2278, 287, 18842, 43372, 49442, 703, 867, 1903, 442, 282, 4033, 342, 873, 389, 612, 30, 46506, 327, 28270, 7, 11458, 62, 38009, 4033, 342, 291, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 289, 715, 578, 3504, 13239, 837, 649, 13239, 286, 304, 6022, 318, 262, 20967, 1698, 2278, 287, 18842, 43372, 49442, 703, 867, 1903, 442, 282, 4033, 342, 873, 389, 612, 30, 46506, 327, 28270, 7, 11458, 62, 38009, 4033, 342, 291, ...
How many seasons has John Mcfadden coached?
SELECT COUNT("Seasons") FROM table_57801 WHERE "Coach" = 'john mcfadden'
[ 2437, 867, 7028, 468, 1757, 1982, 69, 38014, 31764, 30, 46506, 327, 28270, 7203, 4653, 2812, 4943, 16034, 3084, 62, 38907, 486, 33411, 366, 40677, 1, 796, 705, 30686, 285, 12993, 38014, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 7028, 468, 1757, 1982, 69, 38014, 31764, 30, 46506, 327, 28270, 7203, 4653, 2812, 4943, 16034, 3084, 62, 38907, 486, 33411, 366, 40677, 1, 796, 705, 30686, 285, 12993, 38014, 6 ]
Comments by decreasing score, including comment and post links. Comments by decreasing score, including comment and post links
SELECT Comments.Score, Comments.Id AS "comment_link", Posts.Id AS "post_link" FROM Comments INNER JOIN Posts ON Posts.Id = Comments.PostId WHERE UserId = @UserId ORDER BY Score DESC
[ 23903, 416, 24030, 4776, 11, 1390, 2912, 290, 1281, 6117, 13, 19502, 416, 24030, 4776, 11, 1390, 2912, 290, 1281, 6117, 46506, 19502, 13, 26595, 11, 19502, 13, 7390, 7054, 366, 23893, 62, 8726, 1600, 12043, 13, 7390, 7054, 366, 7353, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 23903, 416, 24030, 4776, 11, 1390, 2912, 290, 1281, 6117, 13, 19502, 416, 24030, 4776, 11, 1390, 2912, 290, 1281, 6117, 46506, 19502, 13, 26595, 11, 19502, 13, 7390, 7054, 366, 23893, 62, 8726, 1600, 12043, 13, 7390, 7054, 366, 7353, ...
Who is the instructor with the highest salary?
SELECT name FROM instructor ORDER BY salary DESC LIMIT 1
[ 8241, 318, 262, 21187, 351, 262, 4511, 9588, 30, 46506, 1438, 16034, 21187, 38678, 11050, 9588, 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 ]
[ 8241, 318, 262, 21187, 351, 262, 4511, 9588, 30, 46506, 1438, 16034, 21187, 38678, 11050, 9588, 22196, 34, 27564, 2043, 352 ]
What is Score, when Date is 'June 8, 1996'?
SELECT "Score" FROM table_78720 WHERE "Date" = 'june 8, 1996'
[ 2061, 318, 15178, 11, 618, 7536, 318, 705, 15749, 807, 11, 8235, 30960, 46506, 366, 26595, 1, 16034, 3084, 62, 3695, 23906, 33411, 366, 10430, 1, 796, 705, 73, 1726, 807, 11, 8235, 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, 15178, 11, 618, 7536, 318, 705, 15749, 807, 11, 8235, 30960, 46506, 366, 26595, 1, 16034, 3084, 62, 3695, 23906, 33411, 366, 10430, 1, 796, 705, 73, 1726, 807, 11, 8235, 6 ]
When 231 is the production code what is the title?
SELECT "Title" FROM table_3818 WHERE "Production code" = '231'
[ 2215, 34598, 318, 262, 3227, 2438, 644, 318, 262, 3670, 30, 46506, 366, 19160, 1, 16034, 3084, 62, 2548, 1507, 33411, 366, 35027, 2438, 1, 796, 705, 25667, 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 ]
[ 2215, 34598, 318, 262, 3227, 2438, 644, 318, 262, 3670, 30, 46506, 366, 19160, 1, 16034, 3084, 62, 2548, 1507, 33411, 366, 35027, 2438, 1, 796, 705, 25667, 6 ]
Which round has 4 clubs involved?
SELECT "Round" FROM table_63654 WHERE "Clubs involved" = '4'
[ 13828, 2835, 468, 604, 9784, 2950, 30, 46506, 366, 22685, 1, 16034, 3084, 62, 21, 2623, 4051, 33411, 366, 2601, 23161, 2950, 1, 796, 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 ]
[ 13828, 2835, 468, 604, 9784, 2950, 30, 46506, 366, 22685, 1, 16034, 3084, 62, 21, 2623, 4051, 33411, 366, 2601, 23161, 2950, 1, 796, 705, 19, 6 ]
Name the sprint classification for michael barry
SELECT sprint_classification FROM table_23944514_15 WHERE aggressive_rider = "Michael Barry"
[ 5376, 262, 18553, 17923, 329, 285, 40302, 2318, 563, 46506, 18553, 62, 4871, 2649, 16034, 3084, 62, 1954, 5824, 2231, 1415, 62, 1314, 33411, 8361, 62, 49449, 796, 366, 13256, 14488, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 18553, 17923, 329, 285, 40302, 2318, 563, 46506, 18553, 62, 4871, 2649, 16034, 3084, 62, 1954, 5824, 2231, 1415, 62, 1314, 33411, 8361, 62, 49449, 796, 366, 13256, 14488, 1 ]
select * from postTypes.
SELECT * FROM PostTypes
[ 19738, 1635, 422, 1281, 31431, 13, 46506, 1635, 16034, 2947, 31431 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 19738, 1635, 422, 1281, 31431, 13, 46506, 1635, 16034, 2947, 31431 ]
Who's the shooter with 13 score points and 10 rank points?
SELECT "Shooter" FROM table_60909 WHERE "Score points" = '13' AND "Rank points" = '10'
[ 8241, 338, 262, 14273, 351, 1511, 4776, 2173, 290, 838, 4279, 2173, 30, 46506, 366, 2484, 25141, 1, 16034, 3084, 62, 31751, 2931, 33411, 366, 26595, 2173, 1, 796, 705, 1485, 6, 5357, 366, 27520, 2173, 1, 796, 705, 940, 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 ]
[ 8241, 338, 262, 14273, 351, 1511, 4776, 2173, 290, 838, 4279, 2173, 30, 46506, 366, 2484, 25141, 1, 16034, 3084, 62, 31751, 2931, 33411, 366, 26595, 2173, 1, 796, 705, 1485, 6, 5357, 366, 27520, 2173, 1, 796, 705, 940, 6 ]
who was the last driver on the list ?
SELECT "driver" FROM table_204_511 ORDER BY id DESC LIMIT 1
[ 8727, 373, 262, 938, 4639, 319, 262, 1351, 5633, 46506, 366, 26230, 1, 16034, 3084, 62, 18638, 62, 41647, 38678, 11050, 4686, 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 ]
[ 8727, 373, 262, 938, 4639, 319, 262, 1351, 5633, 46506, 366, 26230, 1, 16034, 3084, 62, 18638, 62, 41647, 38678, 11050, 4686, 22196, 34, 27564, 2043, 352 ]
What is the PI GP of Rob Flockhart, who has a pick # less than 122 and a round # less than 3?
SELECT SUM("Pl GP") FROM table_58435 WHERE "Pick #" < '122' AND "Player" = 'rob flockhart' AND "Rd #" < '3'
[ 2061, 318, 262, 30434, 14714, 286, 3851, 1610, 735, 18647, 11, 508, 468, 257, 2298, 1303, 1342, 621, 19409, 290, 257, 2835, 1303, 1342, 621, 513, 30, 46506, 35683, 7203, 3646, 14714, 4943, 16034, 3084, 62, 3365, 40064, 33411, 366, 31686...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 30434, 14714, 286, 3851, 1610, 735, 18647, 11, 508, 468, 257, 2298, 1303, 1342, 621, 19409, 290, 257, 2835, 1303, 1342, 621, 513, 30, 46506, 35683, 7203, 3646, 14714, 4943, 16034, 3084, 62, 3365, 40064, 33411, 366, 31686...
Visualize a bar chart about the distribution of ACC_Road and the sum of School_ID , and group by attribute ACC_Road, order in descending by the total number of school id.
SELECT ACC_Road, SUM(School_ID) FROM basketball_match GROUP BY ACC_Road ORDER BY SUM(School_ID) DESC
[ 36259, 1096, 257, 2318, 8262, 546, 262, 6082, 286, 15859, 62, 29197, 290, 262, 2160, 286, 3961, 62, 2389, 837, 290, 1448, 416, 11688, 15859, 62, 29197, 11, 1502, 287, 31491, 416, 262, 2472, 1271, 286, 1524, 4686, 13, 46506, 15859, 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...
[ 36259, 1096, 257, 2318, 8262, 546, 262, 6082, 286, 15859, 62, 29197, 290, 262, 2160, 286, 3961, 62, 2389, 837, 290, 1448, 416, 11688, 15859, 62, 29197, 11, 1502, 287, 31491, 416, 262, 2472, 1271, 286, 1524, 4686, 13, 46506, 15859, 62,...
after sedan , which township has the next highest population ?
SELECT "township" FROM table_203_459 WHERE "population" < (SELECT "population" FROM table_203_459 WHERE "township" = 'sedan') ORDER BY "population" DESC LIMIT 1
[ 8499, 38988, 837, 543, 42823, 468, 262, 1306, 4511, 3265, 5633, 46506, 366, 12735, 6720, 1, 16034, 3084, 62, 22416, 62, 33459, 33411, 366, 39748, 1, 1279, 357, 46506, 366, 39748, 1, 16034, 3084, 62, 22416, 62, 33459, 33411, 366, 12735, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8499, 38988, 837, 543, 42823, 468, 262, 1306, 4511, 3265, 5633, 46506, 366, 12735, 6720, 1, 16034, 3084, 62, 22416, 62, 33459, 33411, 366, 39748, 1, 1279, 357, 46506, 366, 39748, 1, 16034, 3084, 62, 22416, 62, 33459, 33411, 366, 12735, ...
latin title of the encyclical before the encyclical with the subject on the church in bavaria
SELECT "title (latin)" FROM table_204_265 WHERE id = (SELECT id FROM table_204_265 WHERE "subject" = 'on the church in bavaria') - 1
[ 75, 10680, 3670, 286, 262, 551, 15539, 605, 878, 262, 551, 15539, 605, 351, 262, 2426, 319, 262, 4928, 287, 275, 615, 10312, 46506, 366, 7839, 357, 75, 10680, 16725, 16034, 3084, 62, 18638, 62, 22980, 33411, 4686, 796, 357, 46506, 468...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 75, 10680, 3670, 286, 262, 551, 15539, 605, 878, 262, 551, 15539, 605, 351, 262, 2426, 319, 262, 4928, 287, 275, 615, 10312, 46506, 366, 7839, 357, 75, 10680, 16725, 16034, 3084, 62, 18638, 62, 22980, 33411, 4686, 796, 357, 46506, 468...
What is the Date at memorial stadium minneapolis, mn with an Attendance of 20,000, and a Result of w52-0?
SELECT "Date" FROM table_34940 WHERE "Site" = 'memorial stadium • minneapolis, mn' AND "Attendance" = '20,000' AND "Result" = 'w52-0'
[ 2061, 318, 262, 7536, 379, 17357, 10308, 949, 19359, 11, 285, 77, 351, 281, 46502, 590, 286, 1160, 11, 830, 11, 290, 257, 25414, 286, 266, 4309, 12, 15, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 27371, 1821, 33411, 366, 29123, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7536, 379, 17357, 10308, 949, 19359, 11, 285, 77, 351, 281, 46502, 590, 286, 1160, 11, 830, 11, 290, 257, 25414, 286, 266, 4309, 12, 15, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 27371, 1821, 33411, 366, 29123, 1, ...
What is the location where enrollment is 266 and and the county is 18 Delaware?
SELECT "Location" FROM table_13620 WHERE "# / County" = '18 delaware' AND "Enrollment" = '266'
[ 2061, 318, 262, 4067, 810, 20753, 318, 37737, 290, 290, 262, 7968, 318, 1248, 19603, 30, 46506, 366, 14749, 1, 16034, 3084, 62, 20809, 1238, 33411, 25113, 1220, 3418, 1, 796, 705, 1507, 1619, 9685, 6, 5357, 366, 4834, 48108, 1, 796, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4067, 810, 20753, 318, 37737, 290, 290, 262, 7968, 318, 1248, 19603, 30, 46506, 366, 14749, 1, 16034, 3084, 62, 20809, 1238, 33411, 25113, 1220, 3418, 1, 796, 705, 1507, 1619, 9685, 6, 5357, 366, 4834, 48108, 1, 796, ...
When are all years that the champion is Ji Min Jeong?
SELECT "Year" FROM table_19998 WHERE "Champion" = 'Ji Min Jeong'
[ 2215, 389, 477, 812, 326, 262, 8783, 318, 29380, 1855, 3852, 506, 30, 46506, 366, 17688, 1, 16034, 3084, 62, 18946, 23, 33411, 366, 1925, 6734, 1, 796, 705, 41, 72, 1855, 3852, 506, 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 ]
[ 2215, 389, 477, 812, 326, 262, 8783, 318, 29380, 1855, 3852, 506, 30, 46506, 366, 17688, 1, 16034, 3084, 62, 18946, 23, 33411, 366, 1925, 6734, 1, 796, 705, 41, 72, 1855, 3852, 506, 6 ]
how many hours it has been since patient 016-9636 was first diagnosed with alcohol withdrawal in their current hospital visit?
SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', diagnosis.diagnosistime)) FROM diagnosis WHERE diagnosis.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '016-9636'...
[ 4919, 867, 2250, 340, 468, 587, 1201, 5827, 5534, 21, 12, 4846, 2623, 373, 717, 14641, 351, 5548, 15220, 287, 511, 1459, 4436, 3187, 30, 46506, 1987, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694, 28955, 532...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 2250, 340, 468, 587, 1201, 5827, 5534, 21, 12, 4846, 2623, 373, 717, 14641, 351, 5548, 15220, 287, 511, 1459, 4436, 3187, 30, 46506, 1987, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694, 28955, 532...
What is the date of the label Dos or Die Recordings?
SELECT "Date" FROM table_41360 WHERE "Label" = 'dos or die recordings'
[ 2061, 318, 262, 3128, 286, 262, 6167, 43976, 393, 6733, 13266, 654, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 44103, 1899, 33411, 366, 33986, 1, 796, 705, 37427, 393, 4656, 18813, 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, 318, 262, 3128, 286, 262, 6167, 43976, 393, 6733, 13266, 654, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 44103, 1899, 33411, 366, 33986, 1, 796, 705, 37427, 393, 4656, 18813, 6 ]
did patient 17944 during this year receive a base excess lab test?
SELECT COUNT(*) > 0 FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'base excess') AND labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 17944) AND DATETIME(labevents.charttime, 'start of year') = DATETIME(CURRENT_TI...
[ 20839, 5827, 27228, 2598, 1141, 428, 614, 3328, 257, 2779, 6992, 2248, 1332, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 2248, 31534, 33411, 2248, 31534, 13, 9186, 312, 3268, 357, 46506, 288, 62, 23912, 23814, 13, 9186, 312, 1603...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 20839, 5827, 27228, 2598, 1141, 428, 614, 3328, 257, 2779, 6992, 2248, 1332, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 2248, 31534, 33411, 2248, 31534, 13, 9186, 312, 3268, 357, 46506, 288, 62, 23912, 23814, 13, 9186, 312, 1603...
What was the attendance when the Braves were the opponent and the record was 56-53?
SELECT AVG("Attendance") FROM table_53141 WHERE "Opponent" = 'braves' AND "Record" = '56-53'
[ 2061, 373, 262, 14858, 618, 262, 29374, 547, 262, 6125, 290, 262, 1700, 373, 7265, 12, 4310, 30, 46506, 35224, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 4310, 23756, 33411, 366, 27524, 3471, 1, 796, 705, 16057, 1158, 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 ]
[ 2061, 373, 262, 14858, 618, 262, 29374, 547, 262, 6125, 290, 262, 1700, 373, 7265, 12, 4310, 30, 46506, 35224, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 4310, 23756, 33411, 366, 27524, 3471, 1, 796, 705, 16057, 1158, 6, 5357, 366, ...
How many directed by entries have UK viewership over 6.16 million?
SELECT COUNT("Directed by") FROM table_30917 WHERE "UK viewers (million)" = '6.16'
[ 2437, 867, 7924, 416, 12784, 423, 3482, 48347, 625, 718, 13, 1433, 1510, 30, 46506, 327, 28270, 7203, 13470, 276, 416, 4943, 16034, 3084, 62, 26895, 1558, 33411, 366, 15039, 10209, 357, 14100, 16725, 796, 705, 21, 13, 1433, 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 ]
[ 2437, 867, 7924, 416, 12784, 423, 3482, 48347, 625, 718, 13, 1433, 1510, 30, 46506, 327, 28270, 7203, 13470, 276, 416, 4943, 16034, 3084, 62, 26895, 1558, 33411, 366, 15039, 10209, 357, 14100, 16725, 796, 705, 21, 13, 1433, 6 ]
What warship has horse-power of 1500?
SELECT "Warship" FROM table_26173 WHERE "Horse- power" = '1500'
[ 2061, 9976, 1056, 468, 8223, 12, 6477, 286, 20007, 30, 46506, 366, 41508, 1056, 1, 16034, 3084, 62, 2075, 25399, 33411, 366, 39, 7615, 12, 1176, 1, 796, 705, 33698, 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, 9976, 1056, 468, 8223, 12, 6477, 286, 20007, 30, 46506, 366, 41508, 1056, 1, 16034, 3084, 62, 2075, 25399, 33411, 366, 39, 7615, 12, 1176, 1, 796, 705, 33698, 6 ]
provide me the long title of procedure for patient charles deshay.
SELECT procedures.long_title FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.name = "Charles Deshay"
[ 15234, 485, 502, 262, 890, 3670, 286, 8771, 329, 5827, 1149, 829, 748, 71, 323, 13, 46506, 9021, 13, 6511, 62, 7839, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, 13, 18108, 76, 62, 312, 796, 9021, 13, 18108, 76, 62, 31...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15234, 485, 502, 262, 890, 3670, 286, 8771, 329, 5827, 1149, 829, 748, 71, 323, 13, 46506, 9021, 13, 6511, 62, 7839, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, 13, 18108, 76, 62, 312, 796, 9021, 13, 18108, 76, 62, 31...
What is the sum of tonnage with a time at 00:10 and less than 42 casualties?
SELECT SUM("Tonnage (GRT)") FROM table_7356 WHERE "Time" = '00:10' AND "Casualties" < '42'
[ 2061, 318, 262, 2160, 286, 5680, 77, 496, 351, 257, 640, 379, 3571, 25, 940, 290, 1342, 621, 5433, 18499, 30, 46506, 35683, 7203, 35416, 77, 496, 357, 10761, 51, 8, 4943, 16034, 3084, 62, 22, 32066, 33411, 366, 7575, 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 ]
[ 2061, 318, 262, 2160, 286, 5680, 77, 496, 351, 257, 640, 379, 3571, 25, 940, 290, 1342, 621, 5433, 18499, 30, 46506, 35683, 7203, 35416, 77, 496, 357, 10761, 51, 8, 4943, 16034, 3084, 62, 22, 32066, 33411, 366, 7575, 1, 796, 705, ...
What is the Venue before 2003 with Notes of 57.73 m?
SELECT venue FROM table_name_63 WHERE year < 2003 AND notes = "57.73 m"
[ 2061, 318, 262, 9932, 518, 878, 5816, 351, 11822, 286, 7632, 13, 4790, 285, 30, 46506, 14359, 16034, 3084, 62, 3672, 62, 5066, 33411, 614, 1279, 5816, 5357, 4710, 796, 366, 3553, 13, 4790, 285, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9932, 518, 878, 5816, 351, 11822, 286, 7632, 13, 4790, 285, 30, 46506, 14359, 16034, 3084, 62, 3672, 62, 5066, 33411, 614, 1279, 5816, 5357, 4710, 796, 366, 3553, 13, 4790, 285, 1 ]
For all employees who have the letters D or S in their first name, show me about the distribution of job_id and the average of employee_id , and group by attribute job_id in a bar chart, and list y axis in asc order please.
SELECT JOB_ID, AVG(EMPLOYEE_ID) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' GROUP BY JOB_ID ORDER BY AVG(EMPLOYEE_ID)
[ 1890, 477, 4409, 508, 423, 262, 7475, 360, 393, 311, 287, 511, 717, 1438, 11, 905, 502, 546, 262, 6082, 286, 1693, 62, 312, 290, 262, 2811, 286, 6538, 62, 312, 837, 290, 1448, 416, 11688, 1693, 62, 312, 287, 257, 2318, 8262, 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...
[ 1890, 477, 4409, 508, 423, 262, 7475, 360, 393, 311, 287, 511, 717, 1438, 11, 905, 502, 546, 262, 6082, 286, 1693, 62, 312, 290, 262, 2811, 286, 6538, 62, 312, 837, 290, 1448, 416, 11688, 1693, 62, 312, 287, 257, 2318, 8262, 11, ...
Would there be any available sections for AEROSP 481 between 11:00 and 6:00 ?
SELECT DISTINCT course_offering.end_time, course_offering.section_number, course_offering.start_time FROM course, course_offering, semester WHERE course_offering.end_time <= '6:00' AND course_offering.start_time >= '11:00' AND course.course_id = course_offering.course_id AND course.department = 'AEROSP' AND course.numb...
[ 17353, 612, 307, 597, 1695, 9004, 329, 317, 1137, 47053, 4764, 16, 1022, 1367, 25, 405, 290, 718, 25, 405, 5633, 46506, 360, 8808, 1268, 4177, 1781, 62, 2364, 1586, 13, 437, 62, 2435, 11, 1781, 62, 2364, 1586, 13, 5458, 62, 17618, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 17353, 612, 307, 597, 1695, 9004, 329, 317, 1137, 47053, 4764, 16, 1022, 1367, 25, 405, 290, 718, 25, 405, 5633, 46506, 360, 8808, 1268, 4177, 1781, 62, 2364, 1586, 13, 437, 62, 2435, 11, 1781, 62, 2364, 1586, 13, 5458, 62, 17618, ...
what's the native american with es mulatto being 0.7%
SELECT "Native American" FROM table_18063 WHERE "es Mulatto" = '0.7%'
[ 10919, 338, 262, 6868, 45630, 272, 351, 1658, 35971, 45807, 852, 657, 13, 22, 4, 46506, 366, 31272, 1605, 1, 16034, 3084, 62, 1507, 3312, 18, 33411, 366, 274, 17996, 45807, 1, 796, 705, 15, 13, 22, 4, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 338, 262, 6868, 45630, 272, 351, 1658, 35971, 45807, 852, 657, 13, 22, 4, 46506, 366, 31272, 1605, 1, 16034, 3084, 62, 1507, 3312, 18, 33411, 366, 274, 17996, 45807, 1, 796, 705, 15, 13, 22, 4, 6 ]
How many colleges have the NFL Team Buffalo Bills?
SELECT COUNT(college) FROM table_2508633_11 WHERE nfl_team = "Buffalo Bills"
[ 2437, 867, 15273, 423, 262, 5134, 4816, 14905, 20209, 30, 46506, 327, 28270, 7, 44107, 8, 16034, 3084, 62, 9031, 4521, 2091, 62, 1157, 33411, 299, 2704, 62, 15097, 796, 366, 36474, 7335, 20209, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15273, 423, 262, 5134, 4816, 14905, 20209, 30, 46506, 327, 28270, 7, 44107, 8, 16034, 3084, 62, 9031, 4521, 2091, 62, 1157, 33411, 299, 2704, 62, 15097, 796, 366, 36474, 7335, 20209, 1 ]
What are the full name, hire date, salary, and department id for employees without the letter M in their first name?
SELECT first_name, last_name, hire_date, salary, department_id FROM employees WHERE NOT first_name LIKE '%M%'
[ 2061, 389, 262, 1336, 1438, 11, 11078, 3128, 11, 9588, 11, 290, 5011, 4686, 329, 4409, 1231, 262, 3850, 337, 287, 511, 717, 1438, 30, 46506, 717, 62, 3672, 11, 938, 62, 3672, 11, 11078, 62, 4475, 11, 9588, 11, 5011, 62, 312, 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 ]
[ 2061, 389, 262, 1336, 1438, 11, 11078, 3128, 11, 9588, 11, 290, 5011, 4686, 329, 4409, 1231, 262, 3850, 337, 287, 511, 717, 1438, 30, 46506, 717, 62, 3672, 11, 938, 62, 3672, 11, 11078, 62, 4475, 11, 9588, 11, 5011, 62, 312, 16034...
Which Decision has a Visitor of calgary, a Score of 2 1, and a Series of 4 3?
SELECT "Decision" FROM table_46383 WHERE "Visitor" = 'calgary' AND "Score" = '2 – 1' AND "Series" = '4 – 3'
[ 13828, 26423, 468, 257, 6911, 2072, 286, 2386, 14849, 11, 257, 15178, 286, 362, 352, 11, 290, 257, 7171, 286, 604, 513, 30, 46506, 366, 10707, 1166, 1, 16034, 3084, 62, 3510, 34741, 33411, 366, 15854, 2072, 1, 796, 705, 9948, 14849, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 26423, 468, 257, 6911, 2072, 286, 2386, 14849, 11, 257, 15178, 286, 362, 352, 11, 290, 257, 7171, 286, 604, 513, 30, 46506, 366, 10707, 1166, 1, 16034, 3084, 62, 3510, 34741, 33411, 366, 15854, 2072, 1, 796, 705, 9948, 14849, ...
Who is the original artist of the 3:00 song?
SELECT original_artist FROM table_name_87 WHERE length = "3:00"
[ 8241, 318, 262, 2656, 6802, 286, 262, 513, 25, 405, 3496, 30, 46506, 2656, 62, 49016, 16034, 3084, 62, 3672, 62, 5774, 33411, 4129, 796, 366, 18, 25, 405, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 318, 262, 2656, 6802, 286, 262, 513, 25, 405, 3496, 30, 46506, 2656, 62, 49016, 16034, 3084, 62, 3672, 62, 5774, 33411, 4129, 796, 366, 18, 25, 405, 1 ]
who was the only rider to score 9 points ?
SELECT "rider" FROM table_203_35 WHERE "points" = 9
[ 8727, 373, 262, 691, 17876, 284, 4776, 860, 2173, 5633, 46506, 366, 49449, 1, 16034, 3084, 62, 22416, 62, 2327, 33411, 366, 13033, 1, 796, 860 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8727, 373, 262, 691, 17876, 284, 4776, 860, 2173, 5633, 46506, 366, 49449, 1, 16034, 3084, 62, 22416, 62, 2327, 33411, 366, 13033, 1, 796, 860 ]
What is Set 2, when Date is May 31?
SELECT set_2 FROM table_name_67 WHERE date = "may 31"
[ 2061, 318, 5345, 362, 11, 618, 7536, 318, 1737, 3261, 30, 46506, 900, 62, 17, 16034, 3084, 62, 3672, 62, 3134, 33411, 3128, 796, 366, 11261, 3261, 1 ]
[ 1, 1, 1, 1, 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, 5345, 362, 11, 618, 7536, 318, 1737, 3261, 30, 46506, 900, 62, 17, 16034, 3084, 62, 3672, 62, 3134, 33411, 3128, 796, 366, 11261, 3261, 1 ]
Which Nationality has a School/Club Team of seattle?
SELECT "Nationality" FROM table_39900 WHERE "School/Club Team" = 'seattle'
[ 13828, 2351, 414, 468, 257, 3961, 14, 42350, 4816, 286, 384, 1999, 30, 46506, 366, 16186, 414, 1, 16034, 3084, 62, 28771, 405, 33411, 366, 26130, 14, 42350, 4816, 1, 796, 705, 325, 1999, 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 ]
[ 13828, 2351, 414, 468, 257, 3961, 14, 42350, 4816, 286, 384, 1999, 30, 46506, 366, 16186, 414, 1, 16034, 3084, 62, 28771, 405, 33411, 366, 26130, 14, 42350, 4816, 1, 796, 705, 325, 1999, 6 ]
how many patients of the age 80 and above had the primary disease as hypoxia?
SELECT AVG(demographic.age) FROM demographic WHERE demographic.diagnosis = "HYPOXIA" AND demographic.age >= "80"
[ 4919, 867, 3871, 286, 262, 2479, 4019, 290, 2029, 550, 262, 4165, 4369, 355, 5328, 1140, 544, 30, 46506, 35224, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 47356, 5958, 796, 366, 42598, 16402, 55, 3539, 1, 5357, 16728, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 3871, 286, 262, 2479, 4019, 290, 2029, 550, 262, 4165, 4369, 355, 5328, 1140, 544, 30, 46506, 35224, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 47356, 5958, 796, 366, 42598, 16402, 55, 3539, 1, 5357, 16728, ...
what is the tournament when the outcome is winner and the opponents is kerry-anne guse corina morariu?
SELECT "Tournament" FROM table_49534 WHERE "Outcome" = 'winner' AND "Opponents" = 'kerry-anne guse corina morariu'
[ 10919, 318, 262, 7756, 618, 262, 8055, 318, 8464, 290, 262, 7691, 318, 479, 6996, 12, 21952, 915, 325, 1162, 1437, 2146, 2743, 84, 30, 46506, 366, 51, 5138, 1, 16034, 3084, 62, 33781, 2682, 33411, 366, 7975, 2958, 1, 796, 705, 39791...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7756, 618, 262, 8055, 318, 8464, 290, 262, 7691, 318, 479, 6996, 12, 21952, 915, 325, 1162, 1437, 2146, 2743, 84, 30, 46506, 366, 51, 5138, 1, 16034, 3084, 62, 33781, 2682, 33411, 366, 7975, 2958, 1, 796, 705, 39791...
What is Ryan Hunter-Reay of the Herdez Competition's Qual 2 time?
SELECT "Qual 2" FROM table_44877 WHERE "Team" = 'herdez competition' AND "Name" = 'ryan hunter-reay'
[ 2061, 318, 6047, 9055, 12, 3041, 323, 286, 262, 2332, 2934, 89, 27348, 338, 9537, 362, 640, 30, 46506, 366, 46181, 362, 1, 16034, 3084, 62, 31115, 3324, 33411, 366, 15592, 1, 796, 705, 372, 2934, 89, 5449, 6, 5357, 366, 5376, 1, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 6047, 9055, 12, 3041, 323, 286, 262, 2332, 2934, 89, 27348, 338, 9537, 362, 640, 30, 46506, 366, 46181, 362, 1, 16034, 3084, 62, 31115, 3324, 33411, 366, 15592, 1, 796, 705, 372, 2934, 89, 5449, 6, 5357, 366, 5376, 1, 7...
Which team in 1987 had a start of 28 and drove a chrysler?
SELECT team FROM table_name_39 WHERE year < 1987 AND manufacturer = "chrysler" AND start = "28"
[ 13828, 1074, 287, 12923, 550, 257, 923, 286, 2579, 290, 10357, 257, 442, 19753, 1754, 30, 46506, 1074, 16034, 3084, 62, 3672, 62, 2670, 33411, 614, 1279, 12923, 5357, 11554, 796, 366, 354, 19753, 1754, 1, 5357, 923, 796, 366, 2078, 1 ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 287, 12923, 550, 257, 923, 286, 2579, 290, 10357, 257, 442, 19753, 1754, 30, 46506, 1074, 16034, 3084, 62, 3672, 62, 2670, 33411, 614, 1279, 12923, 5357, 11554, 796, 366, 354, 19753, 1754, 1, 5357, 923, 796, 366, 2078, 1 ...
Can you tell me the lowest Rank that has the Constituency of strathkelvin and bearsden?
SELECT MIN(rank) FROM table_name_64 WHERE constituency = "strathkelvin and bearsden"
[ 6090, 345, 1560, 502, 262, 9016, 10916, 326, 468, 262, 4757, 34272, 1387, 286, 965, 776, 365, 6780, 259, 290, 13062, 6559, 30, 46506, 20625, 7, 43027, 8, 16034, 3084, 62, 3672, 62, 2414, 33411, 28280, 796, 366, 2536, 776, 365, 6780, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 6090, 345, 1560, 502, 262, 9016, 10916, 326, 468, 262, 4757, 34272, 1387, 286, 965, 776, 365, 6780, 259, 290, 13062, 6559, 30, 46506, 20625, 7, 43027, 8, 16034, 3084, 62, 3672, 62, 2414, 33411, 28280, 796, 366, 2536, 776, 365, 6780, ...
What tournament was Laura Davies the runner-up?
SELECT "Tournament" FROM table_9533 WHERE "Runner(s)-up" = 'laura davies'
[ 2061, 7756, 373, 16753, 26618, 262, 17490, 12, 929, 30, 46506, 366, 51, 5138, 1, 16034, 3084, 62, 3865, 2091, 33411, 366, 49493, 7, 82, 13219, 929, 1, 796, 705, 75, 33830, 288, 615, 444, 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 ]
[ 2061, 7756, 373, 16753, 26618, 262, 17490, 12, 929, 30, 46506, 366, 51, 5138, 1, 16034, 3084, 62, 3865, 2091, 33411, 366, 49493, 7, 82, 13219, 929, 1, 796, 705, 75, 33830, 288, 615, 444, 6 ]
Find all the papers published by 'Aaron Turon'.
SELECT t3.title FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN papers AS t3 ON t2.paperid = t3.paperid WHERE t1.fname = "Aaron" AND t1.lname = "Turon"
[ 16742, 477, 262, 9473, 3199, 416, 705, 34451, 3831, 261, 4458, 46506, 256, 18, 13, 7839, 16034, 7035, 7054, 256, 16, 32357, 1268, 7035, 1056, 7054, 256, 17, 6177, 256, 16, 13, 18439, 312, 796, 256, 17, 13, 18439, 312, 32357, 1268, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 16742, 477, 262, 9473, 3199, 416, 705, 34451, 3831, 261, 4458, 46506, 256, 18, 13, 7839, 16034, 7035, 7054, 256, 16, 32357, 1268, 7035, 1056, 7054, 256, 17, 6177, 256, 16, 13, 18439, 312, 796, 256, 17, 13, 18439, 312, 32357, 1268, 9...
Return a pie on what are the ids and names of the web accelerators that are compatible with two or more browsers?
SELECT name, id FROM Web_client_accelerator AS T1 JOIN accelerator_compatible_browser AS T2 ON T2.accelerator_id = T1.id
[ 13615, 257, 2508, 319, 644, 389, 262, 220, 2340, 290, 3891, 286, 262, 3992, 8320, 2024, 326, 389, 11670, 351, 734, 393, 517, 22616, 30, 46506, 1438, 11, 4686, 16034, 5313, 62, 16366, 62, 330, 7015, 1352, 7054, 309, 16, 32357, 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...
[ 13615, 257, 2508, 319, 644, 389, 262, 220, 2340, 290, 3891, 286, 262, 3992, 8320, 2024, 326, 389, 11670, 351, 734, 393, 517, 22616, 30, 46506, 1438, 11, 4686, 16034, 5313, 62, 16366, 62, 330, 7015, 1352, 7054, 309, 16, 32357, 1268, ...
The canadian airdate of 11 february 2008 applied to what series number?
SELECT COUNT(no_in_series) FROM table_10935205_1 WHERE canadian_airdate = "11 February 2008"
[ 464, 460, 18425, 257, 1447, 378, 286, 1367, 730, 65, 3728, 3648, 5625, 284, 644, 2168, 1271, 30, 46506, 327, 28270, 7, 3919, 62, 259, 62, 25076, 8, 16034, 3084, 62, 14454, 2327, 21261, 62, 16, 33411, 460, 18425, 62, 958, 4475, 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 ]
[ 464, 460, 18425, 257, 1447, 378, 286, 1367, 730, 65, 3728, 3648, 5625, 284, 644, 2168, 1271, 30, 46506, 327, 28270, 7, 3919, 62, 259, 62, 25076, 8, 16034, 3084, 62, 14454, 2327, 21261, 62, 16, 33411, 460, 18425, 62, 958, 4475, 796, ...
what is lab test name and lab test category of subject id 18480?
SELECT lab.label, lab."CATEGORY" FROM lab WHERE lab.subject_id = "18480"
[ 10919, 318, 2248, 1332, 1438, 290, 2248, 1332, 6536, 286, 2426, 4686, 1248, 22148, 30, 46506, 2248, 13, 18242, 11, 2248, 526, 34, 6158, 38, 15513, 1, 16034, 2248, 33411, 2248, 13, 32796, 62, 312, 796, 366, 1507, 22148, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2248, 1332, 1438, 290, 2248, 1332, 6536, 286, 2426, 4686, 1248, 22148, 30, 46506, 2248, 13, 18242, 11, 2248, 526, 34, 6158, 38, 15513, 1, 16034, 2248, 33411, 2248, 13, 32796, 62, 312, 796, 366, 1507, 22148, 1 ]
did patient 031-13920 get a non-invasive testing for dvt procedure in some other hospital this year?
SELECT COUNT(*) > 0 FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.uniquepid = '031-13920' AND patient.hospitalid <> (SELECT DISTINCT patient.hospitalid FROM patient WHERE patient.uniquepid = '031-13920' AND patient.hospitaldischargetime IS NULL)) AND tr...
[ 20839, 5827, 657, 3132, 12, 20219, 1238, 651, 257, 1729, 12, 259, 23747, 4856, 329, 288, 36540, 8771, 287, 617, 584, 4436, 428, 614, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 3513, 33411, 3513, 13, 26029, 20850, 31712, 312, 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...
[ 20839, 5827, 657, 3132, 12, 20219, 1238, 651, 257, 1729, 12, 259, 23747, 4856, 329, 288, 36540, 8771, 287, 617, 584, 4436, 428, 614, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 3513, 33411, 3513, 13, 26029, 20850, 31712, 312, 3...
How many people attended as the score ended 13.10 (88)?
SELECT "Crowd" FROM table_48036 WHERE "Home team score" = '13.10 (88)'
[ 2437, 867, 661, 9141, 355, 262, 4776, 4444, 1511, 13, 940, 357, 3459, 19427, 46506, 366, 34, 3986, 1, 16034, 3084, 62, 22148, 2623, 33411, 366, 16060, 1074, 4776, 1, 796, 705, 1485, 13, 940, 357, 3459, 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 ]
[ 2437, 867, 661, 9141, 355, 262, 4776, 4444, 1511, 13, 940, 357, 3459, 19427, 46506, 366, 34, 3986, 1, 16034, 3084, 62, 22148, 2623, 33411, 366, 16060, 1074, 4776, 1, 796, 705, 1485, 13, 940, 357, 3459, 33047 ]
What is the Height if the weight is kg (lb), the club is Sainte-foy and the pos is cf?
SELECT height FROM table_name_15 WHERE weight = "kg (lb)" AND club = "sainte-foy" AND pos = "cf"
[ 2061, 318, 262, 27280, 611, 262, 3463, 318, 14211, 357, 23160, 828, 262, 3430, 318, 311, 391, 660, 12, 69, 726, 290, 262, 1426, 318, 30218, 30, 46506, 6001, 16034, 3084, 62, 3672, 62, 1314, 33411, 3463, 796, 366, 10025, 357, 23160, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 27280, 611, 262, 3463, 318, 14211, 357, 23160, 828, 262, 3430, 318, 311, 391, 660, 12, 69, 726, 290, 262, 1426, 318, 30218, 30, 46506, 6001, 16034, 3084, 62, 3672, 62, 1314, 33411, 3463, 796, 366, 10025, 357, 23160, ...
what difference was in the weight of patient 27739 last measured on the last hospital visit compared to the value second to last measured on the last hospital visit?
SELECT (SELECT chartevents.valuenum FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 27739 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime DESC LIMIT 1)) AND ch...
[ 10919, 3580, 373, 287, 262, 3463, 286, 5827, 38703, 2670, 938, 8630, 319, 262, 938, 4436, 3187, 3688, 284, 262, 1988, 1218, 284, 938, 8630, 319, 262, 938, 4436, 3187, 30, 46506, 357, 46506, 8262, 31534, 13, 2100, 84, 44709, 16034, 826...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 373, 287, 262, 3463, 286, 5827, 38703, 2670, 938, 8630, 319, 262, 938, 4436, 3187, 3688, 284, 262, 1988, 1218, 284, 938, 8630, 319, 262, 938, 4436, 3187, 30, 46506, 357, 46506, 8262, 31534, 13, 2100, 84, 44709, 16034, 826...
Which Floors is the highest one that has a Name of one indiana square?
SELECT MAX(floors) FROM table_name_84 WHERE name = "one indiana square"
[ 13828, 29075, 669, 318, 262, 4511, 530, 326, 468, 257, 6530, 286, 530, 773, 7484, 6616, 30, 46506, 25882, 7, 48679, 669, 8, 16034, 3084, 62, 3672, 62, 5705, 33411, 1438, 796, 366, 505, 773, 7484, 6616, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 29075, 669, 318, 262, 4511, 530, 326, 468, 257, 6530, 286, 530, 773, 7484, 6616, 30, 46506, 25882, 7, 48679, 669, 8, 16034, 3084, 62, 3672, 62, 5705, 33411, 1438, 796, 366, 505, 773, 7484, 6616, 1 ]
What was the result of Robert L. F. Sikes' election bid?
SELECT "Result" FROM table_18590 WHERE "Incumbent" = 'Robert L. F. Sikes'
[ 2061, 373, 262, 1255, 286, 5199, 406, 13, 376, 13, 311, 7938, 6, 3071, 8406, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 1507, 36993, 33411, 366, 25517, 2178, 298, 1, 796, 705, 19156, 406, 13, 376, 13, 311, 7938, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 1255, 286, 5199, 406, 13, 376, 13, 311, 7938, 6, 3071, 8406, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 1507, 36993, 33411, 366, 25517, 2178, 298, 1, 796, 705, 19156, 406, 13, 376, 13, 311, 7938, 6 ]
the team with the largest number of caps after 1988
SELECT "club" FROM table_203_312 WHERE "years" > 1988 ORDER BY "international caps" DESC LIMIT 1
[ 1169, 1074, 351, 262, 4387, 1271, 286, 11022, 706, 12122, 46506, 366, 18664, 1, 16034, 3084, 62, 22416, 62, 27970, 33411, 366, 19002, 1, 1875, 12122, 38678, 11050, 366, 45609, 11022, 1, 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, 1, 1 ]
[ 1169, 1074, 351, 262, 4387, 1271, 286, 11022, 706, 12122, 46506, 366, 18664, 1, 16034, 3084, 62, 22416, 62, 27970, 33411, 366, 19002, 1, 1875, 12122, 38678, 11050, 366, 45609, 11022, 1, 22196, 34, 27564, 2043, 352 ]
Rick Plant was the man of the match in what competition?
SELECT "Competition" FROM table_49588 WHERE "Man of the Match" = 'rick plant'
[ 33048, 16561, 373, 262, 582, 286, 262, 2872, 287, 644, 5449, 30, 46506, 366, 7293, 15620, 1, 16034, 3084, 62, 2920, 39118, 33411, 366, 5124, 286, 262, 13225, 1, 796, 705, 5557, 4618, 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 ]
[ 33048, 16561, 373, 262, 582, 286, 262, 2872, 287, 644, 5449, 30, 46506, 366, 7293, 15620, 1, 16034, 3084, 62, 2920, 39118, 33411, 366, 5124, 286, 262, 13225, 1, 796, 705, 5557, 4618, 6 ]
What are the titles of episodes numbered 19?
SELECT "Episode" FROM table_74306 WHERE "#" = '19'
[ 2061, 389, 262, 8714, 286, 8640, 25840, 678, 30, 46506, 366, 23758, 1, 16034, 3084, 62, 4524, 20548, 33411, 25113, 1, 796, 705, 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 ]
[ 2061, 389, 262, 8714, 286, 8640, 25840, 678, 30, 46506, 366, 23758, 1, 16034, 3084, 62, 4524, 20548, 33411, 25113, 1, 796, 705, 1129, 6 ]
Find the average elevation of all airports for each country.
SELECT AVG(elevation), country FROM airports GROUP BY country
[ 16742, 262, 2811, 22910, 286, 477, 22600, 329, 1123, 1499, 13, 46506, 35224, 7, 68, 2768, 341, 828, 1499, 16034, 22600, 44441, 11050, 1499 ]
[ 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, 2811, 22910, 286, 477, 22600, 329, 1123, 1499, 13, 46506, 35224, 7, 68, 2768, 341, 828, 1499, 16034, 22600, 44441, 11050, 1499 ]
What is the highest River Mile that has a pool length of 42.2 miles or a lock/lift drop of 21 feet?
SELECT MAX(river_mile) FROM table_name_71 WHERE pool_length__miles_ = "42.2" AND lock_lift_drop__in_feet_ = "21"
[ 2061, 318, 262, 4511, 5866, 26004, 326, 468, 257, 5933, 4129, 286, 5433, 13, 17, 4608, 393, 257, 5793, 14, 26282, 4268, 286, 2310, 3625, 30, 46506, 25882, 7, 38291, 62, 18085, 8, 16034, 3084, 62, 3672, 62, 4869, 33411, 5933, 62, 136...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5866, 26004, 326, 468, 257, 5933, 4129, 286, 5433, 13, 17, 4608, 393, 257, 5793, 14, 26282, 4268, 286, 2310, 3625, 30, 46506, 25882, 7, 38291, 62, 18085, 8, 16034, 3084, 62, 3672, 62, 4869, 33411, 5933, 62, 136...
provide the number of patients on dialys route of drug administration who are diagnosed with cerebral aneurysm, nonruptured.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.long_title = "Cerebral aneurysm, nonruptured" AND prescriptions.route = "DIALYS"
[ 15234, 485, 262, 1271, 286, 3871, 319, 5980, 893, 6339, 286, 2563, 3662, 508, 389, 14641, 351, 31169, 281, 23365, 893, 76, 11, 1729, 3622, 1522, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 15234, 485, 262, 1271, 286, 3871, 319, 5980, 893, 6339, 286, 2563, 3662, 508, 389, 14641, 351, 31169, 281, 23365, 893, 76, 11, 1729, 3622, 1522, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16...
Which Method has a Record of 16 7?
SELECT "Method" FROM table_5624 WHERE "Record" = '16–7'
[ 13828, 11789, 468, 257, 13266, 286, 1467, 767, 30, 46506, 366, 17410, 1, 16034, 3084, 62, 3980, 1731, 33411, 366, 23739, 1, 796, 705, 1433, 1906, 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 ]
[ 13828, 11789, 468, 257, 13266, 286, 1467, 767, 30, 46506, 366, 17410, 1, 16034, 3084, 62, 3980, 1731, 33411, 366, 23739, 1, 796, 705, 1433, 1906, 22, 6 ]
count the number of patients on base drug type prescription who have had automatic implantable cardiac defibrillator in situ procedure.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.short_title = "Status autm crd dfbrltr" AND prescriptions.drug_type = "BASE"
[ 9127, 262, 1271, 286, 3871, 319, 2779, 2563, 2099, 15077, 508, 423, 550, 11353, 29016, 540, 26077, 825, 2889, 359, 1352, 287, 34074, 8771, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 326...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9127, 262, 1271, 286, 3871, 319, 2779, 2563, 2099, 15077, 508, 423, 550, 11353, 29016, 540, 26077, 825, 2889, 359, 1352, 287, 34074, 8771, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 326...
What date had a record of 43-34?
SELECT date FROM table_name_17 WHERE record = "43-34"
[ 2061, 3128, 550, 257, 1700, 286, 5946, 12, 2682, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 1558, 33411, 1700, 796, 366, 3559, 12, 2682, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 3128, 550, 257, 1700, 286, 5946, 12, 2682, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 1558, 33411, 1700, 796, 366, 3559, 12, 2682, 1 ]
What team has Carlos S nchez as a goalkeeper and an average below 1.12?
SELECT team FROM table_name_64 WHERE average < 1.12 AND goalkeeper = "carlos sánchez"
[ 2061, 1074, 468, 17409, 311, 299, 2395, 89, 355, 257, 26318, 290, 281, 2811, 2174, 352, 13, 1065, 30, 46506, 1074, 16034, 3084, 62, 3672, 62, 2414, 33411, 2811, 1279, 352, 13, 1065, 5357, 26318, 796, 366, 66, 7063, 418, 264, 21162, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17409, 311, 299, 2395, 89, 355, 257, 26318, 290, 281, 2811, 2174, 352, 13, 1065, 30, 46506, 1074, 16034, 3084, 62, 3672, 62, 2414, 33411, 2811, 1279, 352, 13, 1065, 5357, 26318, 796, 366, 66, 7063, 418, 264, 21162, ...
What was the location when the opponent was Seattle Supersonics?
SELECT "Location/Attendance" FROM table_79061 WHERE "Opponent" = 'seattle supersonics'
[ 2061, 373, 262, 4067, 618, 262, 6125, 373, 7312, 5200, 882, 873, 30, 46506, 366, 14749, 14, 8086, 437, 590, 1, 16034, 3084, 62, 3720, 3312, 16, 33411, 366, 27524, 3471, 1, 796, 705, 325, 1999, 424, 6259, 873, 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, 4067, 618, 262, 6125, 373, 7312, 5200, 882, 873, 30, 46506, 366, 14749, 14, 8086, 437, 590, 1, 16034, 3084, 62, 3720, 3312, 16, 33411, 366, 27524, 3471, 1, 796, 705, 325, 1999, 424, 6259, 873, 6 ]
What is the weight of the player from the Philadelphia 76ers?
SELECT COUNT("Weight") FROM table_39501 WHERE "Team" = 'philadelphia 76ers'
[ 2061, 318, 262, 3463, 286, 262, 2137, 422, 262, 8857, 8684, 364, 30, 46506, 327, 28270, 7203, 25844, 4943, 16034, 3084, 62, 31010, 486, 33411, 366, 15592, 1, 796, 705, 28864, 8273, 8684, 364, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 3463, 286, 262, 2137, 422, 262, 8857, 8684, 364, 30, 46506, 327, 28270, 7203, 25844, 4943, 16034, 3084, 62, 31010, 486, 33411, 366, 15592, 1, 796, 705, 28864, 8273, 8684, 364, 6 ]
What Sustainable Cities courses , if any , will satisfy the PreMajor requirement ?
SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN area ON course.course_id = area.course_id INNER JOIN program_course ON program_course.course_id = course.course_id WHERE (area.area LIKE '%Sustainable Cities%' OR course.description LIKE '%Sustainable Cities%' OR course.name LIKE '%Sus...
[ 2061, 45276, 20830, 10902, 837, 611, 597, 837, 481, 15959, 262, 3771, 24206, 9079, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 3268, 21479, 32357, 1268, 1989, 6177, 17...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 45276, 20830, 10902, 837, 611, 597, 837, 481, 15959, 262, 3771, 24206, 9079, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 3268, 21479, 32357, 1268, 1989, 6177, 17...
how many songs total are listed ?
SELECT COUNT("song") FROM table_204_697
[ 4919, 867, 7259, 2472, 389, 5610, 5633, 46506, 327, 28270, 7203, 34050, 4943, 16034, 3084, 62, 18638, 62, 40035 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 7259, 2472, 389, 5610, 5633, 46506, 327, 28270, 7203, 34050, 4943, 16034, 3084, 62, 18638, 62, 40035 ]
Which Record has a Score of w 107 102 (ot)?
SELECT "Record" FROM table_48736 WHERE "Score" = 'w 107–102 (ot)'
[ 13828, 13266, 468, 257, 15178, 286, 266, 16226, 15143, 357, 313, 19427, 46506, 366, 23739, 1, 16034, 3084, 62, 35133, 2623, 33411, 366, 26595, 1, 796, 705, 86, 16226, 1906, 15377, 357, 313, 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 ]
[ 13828, 13266, 468, 257, 15178, 286, 266, 16226, 15143, 357, 313, 19427, 46506, 366, 23739, 1, 16034, 3084, 62, 35133, 2623, 33411, 366, 26595, 1, 796, 705, 86, 16226, 1906, 15377, 357, 313, 33047 ]
What is the Loser when the winner was los angeles lakers (10)?
SELECT "Loser" FROM table_6902 WHERE "Winner" = 'los angeles lakers (10)'
[ 2061, 318, 262, 5401, 263, 618, 262, 8464, 373, 22346, 18304, 274, 300, 3979, 357, 940, 19427, 46506, 366, 43, 13416, 1, 16034, 3084, 62, 3388, 2999, 33411, 366, 48056, 1, 796, 705, 33280, 18304, 274, 300, 3979, 357, 940, 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 ]
[ 2061, 318, 262, 5401, 263, 618, 262, 8464, 373, 22346, 18304, 274, 300, 3979, 357, 940, 19427, 46506, 366, 43, 13416, 1, 16034, 3084, 62, 3388, 2999, 33411, 366, 48056, 1, 796, 705, 33280, 18304, 274, 300, 3979, 357, 940, 33047 ]
Count Robot Framework Question (Tags).
SELECT COUNT(Id) FROM Posts WHERE Tags LIKE '%robotframework%'
[ 12332, 16071, 25161, 18233, 357, 36142, 737, 46506, 327, 28270, 7, 7390, 8, 16034, 12043, 33411, 44789, 34178, 705, 4, 305, 13645, 30604, 4, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 12332, 16071, 25161, 18233, 357, 36142, 737, 46506, 327, 28270, 7, 7390, 8, 16034, 12043, 33411, 44789, 34178, 705, 4, 305, 13645, 30604, 4, 6 ]
provide the number of patients whose days of hospital stay is greater than 15 and admission year is less than 2150?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.days_stay > "15" AND demographic.admityear < "2150"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 1528, 286, 4436, 2652, 318, 3744, 621, 1315, 290, 13938, 614, 318, 1342, 621, 2310, 1120, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 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 ]
[ 15234, 485, 262, 1271, 286, 3871, 3025, 1528, 286, 4436, 2652, 318, 3744, 621, 1315, 290, 13938, 614, 318, 1342, 621, 2310, 1120, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728...
how many patients whose ethnicity is black/haitian and procedure icd9 code is 4611?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.ethnicity = "BLACK/HAITIAN" AND procedures.icd9_code = "4611"
[ 4919, 867, 3871, 3025, 26289, 318, 2042, 14, 3099, 270, 666, 290, 8771, 14158, 67, 24, 2438, 318, 6337, 1157, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 26289, 318, 2042, 14, 3099, 270, 666, 290, 8771, 14158, 67, 24, 2438, 318, 6337, 1157, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, ...
count the number of patients whose diagnoses icd9 code is 5789 and drug route is po/ng?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.icd9_code = "5789" AND prescriptions.route = "PO/NG"
[ 9127, 262, 1271, 286, 3871, 3025, 40567, 14158, 67, 24, 2438, 318, 642, 40401, 290, 2563, 6339, 318, 745, 14, 782, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 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...
[ 9127, 262, 1271, 286, 3871, 3025, 40567, 14158, 67, 24, 2438, 318, 642, 40401, 290, 2563, 6339, 318, 745, 14, 782, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, ...
give me the number of patients whose diagnoses short title is alcoh dep nec/nos-unspec and lab test fluid is ascites?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.short_title = "Alcoh dep NEC/NOS-unspec" AND lab.fluid = "Ascites"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 40567, 1790, 3670, 318, 435, 1073, 71, 1207, 27576, 14, 39369, 12, 403, 16684, 290, 2248, 1332, 11711, 318, 10570, 2737, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 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...
[ 26535, 502, 262, 1271, 286, 3871, 3025, 40567, 1790, 3670, 318, 435, 1073, 71, 1207, 27576, 14, 39369, 12, 403, 16684, 290, 2248, 1332, 11711, 318, 10570, 2737, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312...
Who directed the episode that had 0.54 million U.S. viewers?
SELECT "Directed by" FROM table_3672 WHERE "U.S. viewers (millions)" = '0.54'
[ 8241, 7924, 262, 4471, 326, 550, 657, 13, 4051, 1510, 471, 13, 50, 13, 10209, 30, 46506, 366, 13470, 276, 416, 1, 16034, 3084, 62, 2623, 4761, 33411, 366, 52, 13, 50, 13, 10209, 357, 17805, 507, 16725, 796, 705, 15, 13, 4051, 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 ]
[ 8241, 7924, 262, 4471, 326, 550, 657, 13, 4051, 1510, 471, 13, 50, 13, 10209, 30, 46506, 366, 13470, 276, 416, 1, 16034, 3084, 62, 2623, 4761, 33411, 366, 52, 13, 50, 13, 10209, 357, 17805, 507, 16725, 796, 705, 15, 13, 4051, 6 ]
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, find job_id and the sum of employee_id , and group by attribute job_id, and visualize them by a bar chart, show y-axis from low to high order.
SELECT JOB_ID, SUM(EMPLOYEE_ID) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 GROUP BY JOB_ID ORDER BY SUM(EMPLOYEE_ID)
[ 1890, 883, 4409, 3025, 9588, 318, 287, 262, 2837, 286, 38055, 290, 1105, 830, 290, 5810, 318, 407, 9242, 393, 5011, 1271, 857, 407, 4961, 284, 2319, 11, 1064, 1693, 62, 312, 290, 262, 2160, 286, 6538, 62, 312, 837, 290, 1448, 416, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4409, 3025, 9588, 318, 287, 262, 2837, 286, 38055, 290, 1105, 830, 290, 5810, 318, 407, 9242, 393, 5011, 1271, 857, 407, 4961, 284, 2319, 11, 1064, 1693, 62, 312, 290, 262, 2160, 286, 6538, 62, 312, 837, 290, 1448, 416, ...
What is the status of Aden Theobald from the hometown of London?
SELECT "Status" FROM table_14756 WHERE "Hometown" = 'london' AND "Name" = 'aden theobald'
[ 2061, 318, 262, 3722, 286, 48500, 383, 672, 1940, 422, 262, 20994, 286, 3576, 30, 46506, 366, 19580, 1, 16034, 3084, 62, 1415, 38219, 33411, 366, 39, 19191, 1, 796, 705, 75, 3391, 6, 5357, 366, 5376, 1, 796, 705, 40780, 262, 672, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3722, 286, 48500, 383, 672, 1940, 422, 262, 20994, 286, 3576, 30, 46506, 366, 19580, 1, 16034, 3084, 62, 1415, 38219, 33411, 366, 39, 19191, 1, 796, 705, 75, 3391, 6, 5357, 366, 5376, 1, 796, 705, 40780, 262, 672, ...
what team played on august 25
SELECT opponent FROM table_name_14 WHERE date = "august 25"
[ 10919, 1074, 2826, 319, 16339, 436, 1679, 46506, 6125, 16034, 3084, 62, 3672, 62, 1415, 33411, 3128, 796, 366, 7493, 436, 1679, 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, 1074, 2826, 319, 16339, 436, 1679, 46506, 6125, 16034, 3084, 62, 3672, 62, 1415, 33411, 3128, 796, 366, 7493, 436, 1679, 1 ]
What is the starting point of the north/south operating Palafox Street route?
SELECT "Starting Point" FROM table_15805 WHERE "Operates" = 'north/south' AND "Name" = 'palafox street'
[ 2061, 318, 262, 3599, 966, 286, 262, 5093, 14, 35782, 5361, 3175, 1878, 1140, 3530, 6339, 30, 46506, 366, 22851, 6252, 1, 16034, 3084, 62, 1314, 28256, 33411, 366, 18843, 689, 1, 796, 705, 43588, 14, 35782, 6, 5357, 366, 5376, 1, 79...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 3599, 966, 286, 262, 5093, 14, 35782, 5361, 3175, 1878, 1140, 3530, 6339, 30, 46506, 366, 22851, 6252, 1, 16034, 3084, 62, 1314, 28256, 33411, 366, 18843, 689, 1, 796, 705, 43588, 14, 35782, 6, 5357, 366, 5376, 1, 79...
Which Game Site has a Date of october 17, 1999?
SELECT "Game Site" FROM table_38611 WHERE "Date" = 'october 17, 1999'
[ 13828, 3776, 14413, 468, 257, 7536, 286, 19318, 2023, 1596, 11, 7358, 30, 46506, 366, 8777, 14413, 1, 16034, 3084, 62, 21734, 1157, 33411, 366, 10430, 1, 796, 705, 38441, 2023, 1596, 11, 7358, 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 ]
[ 13828, 3776, 14413, 468, 257, 7536, 286, 19318, 2023, 1596, 11, 7358, 30, 46506, 366, 8777, 14413, 1, 16034, 3084, 62, 21734, 1157, 33411, 366, 10430, 1, 796, 705, 38441, 2023, 1596, 11, 7358, 6 ]
report the number of patients who died on or before 2183 and had atrial fibrillation/thoracoscopic maze procedure bilateral/sda primary disease.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "ATRIAL FIBRILLATION\THORACOSCOPIC MAZE PROCEDURE BILATERAL/SDA" AND demographic.dod_year <= "2183.0"
[ 13116, 262, 1271, 286, 3871, 508, 3724, 319, 393, 878, 362, 24839, 290, 550, 379, 4454, 277, 2889, 40903, 14, 400, 273, 330, 48228, 31237, 8771, 24537, 14, 82, 6814, 4165, 4369, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 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...
[ 13116, 262, 1271, 286, 3871, 508, 3724, 319, 393, 878, 362, 24839, 290, 550, 379, 4454, 277, 2889, 40903, 14, 400, 273, 330, 48228, 31237, 8771, 24537, 14, 82, 6814, 4165, 4369, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, ...
how many coaches had above 500 wins ?
SELECT COUNT("coach") FROM table_204_469 WHERE "wins" > 500
[ 4919, 867, 11070, 550, 2029, 5323, 7864, 5633, 46506, 327, 28270, 7203, 1073, 620, 4943, 16034, 3084, 62, 18638, 62, 42947, 33411, 366, 86, 1040, 1, 1875, 5323 ]
[ 1, 1, 1, 1, 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, 11070, 550, 2029, 5323, 7864, 5633, 46506, 327, 28270, 7203, 1073, 620, 4943, 16034, 3084, 62, 18638, 62, 42947, 33411, 366, 86, 1040, 1, 1875, 5323 ]
What team was the opponent for the game played on September 19, 1999?
SELECT opponent FROM table_name_92 WHERE date = "september 19, 1999"
[ 2061, 1074, 373, 262, 6125, 329, 262, 983, 2826, 319, 2693, 678, 11, 7358, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 5892, 33411, 3128, 796, 366, 325, 457, 1491, 678, 11, 7358, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 373, 262, 6125, 329, 262, 983, 2826, 319, 2693, 678, 11, 7358, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 5892, 33411, 3128, 796, 366, 325, 457, 1491, 678, 11, 7358, 1 ]
What is the winning score of the tournament on 16 May 1993?
SELECT winning_score FROM table_name_20 WHERE date = "16 may 1993"
[ 2061, 318, 262, 5442, 4776, 286, 262, 7756, 319, 1467, 1737, 9656, 30, 46506, 5442, 62, 26675, 16034, 3084, 62, 3672, 62, 1238, 33411, 3128, 796, 366, 1433, 743, 9656, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 5442, 4776, 286, 262, 7756, 319, 1467, 1737, 9656, 30, 46506, 5442, 62, 26675, 16034, 3084, 62, 3672, 62, 1238, 33411, 3128, 796, 366, 1433, 743, 9656, 1 ]
calculate patient 15107's total intake of lipids 20% on 11/23/2104.
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 = 15107)) AND inputevents_cv.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.lab...
[ 9948, 3129, 378, 5827, 1315, 15982, 338, 2472, 10337, 286, 10645, 2340, 1160, 4, 319, 1367, 14, 1954, 14, 17, 13464, 13, 46506, 35683, 7, 259, 79, 1133, 85, 658, 62, 33967, 13, 17287, 8, 16034, 287, 79, 1133, 85, 658, 62, 33967, 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...
[ 9948, 3129, 378, 5827, 1315, 15982, 338, 2472, 10337, 286, 10645, 2340, 1160, 4, 319, 1367, 14, 1954, 14, 17, 13464, 13, 46506, 35683, 7, 259, 79, 1133, 85, 658, 62, 33967, 13, 17287, 8, 16034, 287, 79, 1133, 85, 658, 62, 33967, 3...
count the number of patients who had undergone a implt/repl carddefib tot procedure two or more times until 2103.
SELECT COUNT(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, COUNT(*) AS c1 FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'implt/repl carddefib ...
[ 9127, 262, 1271, 286, 3871, 508, 550, 29900, 257, 4114, 83, 14, 35666, 2657, 4299, 571, 2006, 8771, 734, 393, 517, 1661, 1566, 362, 15197, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 32796, 62, 312, 8, 16034, 357, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9127, 262, 1271, 286, 3871, 508, 550, 29900, 257, 4114, 83, 14, 35666, 2657, 4299, 571, 2006, 8771, 734, 393, 517, 1661, 1566, 362, 15197, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 32796, 62, 312, 8, 16034, 357, ...
When the winner was No Race in a year after 1909, what was the distance?
SELECT distance__miles_ FROM table_name_68 WHERE winner = "no race" AND year > 1909
[ 2215, 262, 8464, 373, 1400, 12588, 287, 257, 614, 706, 41507, 11, 644, 373, 262, 5253, 30, 46506, 5253, 834, 76, 2915, 62, 16034, 3084, 62, 3672, 62, 3104, 33411, 8464, 796, 366, 3919, 3234, 1, 5357, 614, 1875, 41507 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 262, 8464, 373, 1400, 12588, 287, 257, 614, 706, 41507, 11, 644, 373, 262, 5253, 30, 46506, 5253, 834, 76, 2915, 62, 16034, 3084, 62, 3672, 62, 3104, 33411, 8464, 796, 366, 3919, 3234, 1, 5357, 614, 1875, 41507 ]
What is the largest number of Games Played with Losses of 3, and more Wins than 5?
SELECT MAX(games_played) FROM table_name_40 WHERE losses = 3 AND wins > 5
[ 2061, 318, 262, 4387, 1271, 286, 5776, 33101, 351, 22014, 274, 286, 513, 11, 290, 517, 24423, 621, 642, 30, 46506, 25882, 7, 19966, 62, 21542, 8, 16034, 3084, 62, 3672, 62, 1821, 33411, 9089, 796, 513, 5357, 7864, 1875, 642 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1271, 286, 5776, 33101, 351, 22014, 274, 286, 513, 11, 290, 517, 24423, 621, 642, 30, 46506, 25882, 7, 19966, 62, 21542, 8, 16034, 3084, 62, 3672, 62, 1821, 33411, 9089, 796, 513, 5357, 7864, 1875, 642 ]
Name the conference record where seed is 3 and record is 24-9
SELECT "Conf. record" FROM table_72767 WHERE "Seed" = '3' AND "Record" = '24-9'
[ 5376, 262, 4495, 1700, 810, 9403, 318, 513, 290, 1700, 318, 1987, 12, 24, 46506, 366, 18546, 13, 1700, 1, 16034, 3084, 62, 47760, 3134, 33411, 366, 50, 2308, 1, 796, 705, 18, 6, 5357, 366, 23739, 1, 796, 705, 1731, 12, 24, 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 ]
[ 5376, 262, 4495, 1700, 810, 9403, 318, 513, 290, 1700, 318, 1987, 12, 24, 46506, 366, 18546, 13, 1700, 1, 16034, 3084, 62, 47760, 3134, 33411, 366, 50, 2308, 1, 796, 705, 18, 6, 5357, 366, 23739, 1, 796, 705, 1731, 12, 24, 6 ]
Comments on questions with accepted answers.
SELECT c.Id AS "comment_link" FROM Comments AS c JOIN Posts AS p ON (p.Id = PostId) WHERE NOT AcceptedAnswerId IS NULL AND c.Score IS NULL AND p.Score > 2 AND (CAST(GETUTCDATE() - c.CreationDate AS INT) > 7) ORDER BY NEWID() LIMIT 10
[ 23903, 319, 2683, 351, 6292, 7429, 13, 46506, 269, 13, 7390, 7054, 366, 23893, 62, 8726, 1, 16034, 19502, 7054, 269, 32357, 1268, 12043, 7054, 279, 6177, 357, 79, 13, 7390, 796, 2947, 7390, 8, 33411, 5626, 21699, 276, 33706, 7390, 318...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 23903, 319, 2683, 351, 6292, 7429, 13, 46506, 269, 13, 7390, 7054, 366, 23893, 62, 8726, 1, 16034, 19502, 7054, 269, 32357, 1268, 12043, 7054, 279, 6177, 357, 79, 13, 7390, 796, 2947, 7390, 8, 33411, 5626, 21699, 276, 33706, 7390, 318...
can you tell me the latest evening flight from ATLANTA to DENVER on 7 7
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 (((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'DENVER' AND date_day.day_number = 7 AND date_day.month_number = 7 AND d...
[ 5171, 345, 1560, 502, 262, 3452, 6180, 5474, 422, 5161, 25697, 5603, 284, 37692, 5959, 319, 767, 767, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 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...
[ 5171, 345, 1560, 502, 262, 3452, 6180, 5474, 422, 5161, 25697, 5603, 284, 37692, 5959, 319, 767, 767, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 90...
provide the number of patients whose drug code is hepapremix and lab test fluid is ascites?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE prescriptions.formulary_drug_cd = "HEPAPREMIX" AND lab.fluid = "Ascites"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 2563, 2438, 318, 47585, 499, 2787, 844, 290, 2248, 1332, 11711, 318, 10570, 2737, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 15234, 485, 262, 1271, 286, 3871, 3025, 2563, 2438, 318, 47585, 499, 2787, 844, 290, 2248, 1332, 11711, 318, 10570, 2737, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, ...
Who was the driver/passengar when the position was smaller than 8, the third was 1, and there was 1 win?
SELECT driver___passenger FROM table_name_56 WHERE third = "1" AND position < 8 AND wins = "1"
[ 8241, 373, 262, 4639, 14, 6603, 1516, 283, 618, 262, 2292, 373, 4833, 621, 807, 11, 262, 2368, 373, 352, 11, 290, 612, 373, 352, 1592, 30, 46506, 4639, 17569, 6603, 6540, 16034, 3084, 62, 3672, 62, 3980, 33411, 2368, 796, 366, 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 ]
[ 8241, 373, 262, 4639, 14, 6603, 1516, 283, 618, 262, 2292, 373, 4833, 621, 807, 11, 262, 2368, 373, 352, 11, 290, 612, 373, 352, 1592, 30, 46506, 4639, 17569, 6603, 6540, 16034, 3084, 62, 3672, 62, 3980, 33411, 2368, 796, 366, 16, ...
What is the high Population (total) from 1976 with a (Barcaldine) smaller than 1,780?
SELECT MAX(population__total_) FROM table_name_96 WHERE year = 1976 AND _barcaldine_ < 1 OFFSET 780
[ 2061, 318, 262, 1029, 20133, 357, 23350, 8, 422, 15408, 351, 257, 357, 33, 5605, 1940, 500, 8, 4833, 621, 352, 11, 40873, 30, 46506, 25882, 7, 39748, 834, 23350, 62, 8, 16034, 3084, 62, 3672, 62, 4846, 33411, 614, 796, 15408, 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, 1029, 20133, 357, 23350, 8, 422, 15408, 351, 257, 357, 33, 5605, 1940, 500, 8, 4833, 621, 352, 11, 40873, 30, 46506, 25882, 7, 39748, 834, 23350, 62, 8, 16034, 3084, 62, 3672, 62, 4846, 33411, 614, 796, 15408, 5357, ...
serum bicarbonate level < 20 meq / l, serum sodium < 125 & > 150 meq / l or serum potassium < 3.5 & > 5.5 meq / l
SELECT * FROM table_dev_41 WHERE serum_bicarbonate < 20 OR serum_sodium_concentration < 125 OR serum_sodium_concentration > 150 OR (serum_potassium < 3.5 AND serum_potassium > 5.5)
[ 2655, 388, 275, 291, 42084, 378, 1241, 1279, 1160, 502, 80, 1220, 300, 11, 20502, 21072, 1279, 13151, 1222, 1875, 6640, 502, 80, 1220, 300, 393, 20502, 33156, 1279, 513, 13, 20, 1222, 1875, 642, 13, 20, 502, 80, 1220, 300, 46506, 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...
[ 2655, 388, 275, 291, 42084, 378, 1241, 1279, 1160, 502, 80, 1220, 300, 11, 20502, 21072, 1279, 13151, 1222, 1875, 6640, 502, 80, 1220, 300, 393, 20502, 33156, 1279, 513, 13, 20, 1222, 1875, 642, 13, 20, 502, 80, 1220, 300, 46506, 16...
What was Jack Brabham's highest grid when his laps were more than 90?
SELECT MAX("Grid") FROM table_52648 WHERE "Driver" = 'jack brabham' AND "Laps" > '90'
[ 2061, 373, 3619, 1709, 397, 2763, 338, 4511, 10706, 618, 465, 24590, 547, 517, 621, 4101, 30, 46506, 25882, 7203, 41339, 4943, 16034, 3084, 62, 48531, 2780, 33411, 366, 32103, 1, 796, 705, 19650, 865, 397, 2763, 6, 5357, 366, 43, 1686...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3619, 1709, 397, 2763, 338, 4511, 10706, 618, 465, 24590, 547, 517, 621, 4101, 30, 46506, 25882, 7203, 41339, 4943, 16034, 3084, 62, 48531, 2780, 33411, 366, 32103, 1, 796, 705, 19650, 865, 397, 2763, 6, 5357, 366, 43, 1686...
what was the last year the tv show lynch aired ?
SELECT MAX("ano") FROM table_204_871
[ 10919, 373, 262, 938, 614, 262, 31557, 905, 31432, 354, 18530, 5633, 46506, 25882, 7203, 5733, 4943, 16034, 3084, 62, 18638, 62, 23, 4869 ]
[ 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, 938, 614, 262, 31557, 905, 31432, 354, 18530, 5633, 46506, 25882, 7203, 5733, 4943, 16034, 3084, 62, 18638, 62, 23, 4869 ]
For those products with a price between 60 and 120, give me a pie chart to reflect the proportion of name and code.
SELECT Name, Code FROM Products WHERE Price BETWEEN 60 AND 120
[ 1890, 883, 3186, 351, 257, 2756, 1022, 3126, 290, 7982, 11, 1577, 502, 257, 2508, 8262, 284, 4079, 262, 9823, 286, 1438, 290, 2438, 13, 46506, 6530, 11, 6127, 16034, 18675, 33411, 7886, 38651, 8845, 1677, 3126, 5357, 7982 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3186, 351, 257, 2756, 1022, 3126, 290, 7982, 11, 1577, 502, 257, 2508, 8262, 284, 4079, 262, 9823, 286, 1438, 290, 2438, 13, 46506, 6530, 11, 6127, 16034, 18675, 33411, 7886, 38651, 8845, 1677, 3126, 5357, 7982 ]