instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
What is the lowest total that has barbados as the nation with a bronze greater than 0?
SELECT MIN(total) FROM table_name_96 WHERE nation = "barbados" AND bronze > 0
[ 2061, 318, 262, 9016, 2472, 326, 468, 2318, 14774, 418, 355, 262, 3277, 351, 257, 22101, 3744, 621, 657, 30, 46506, 20625, 7, 23350, 8, 16034, 3084, 62, 3672, 62, 4846, 33411, 3277, 796, 366, 5657, 14774, 418, 1, 5357, 22101, 1875, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 9016, 2472, 326, 468, 2318, 14774, 418, 355, 262, 3277, 351, 257, 22101, 3744, 621, 657, 30, 46506, 20625, 7, 23350, 8, 16034, 3084, 62, 3672, 62, 4846, 33411, 3277, 796, 366, 5657, 14774, 418, 1, 5357, 22101, 1875, ...
Name the scores for chris ramsey and carol vorderman
SELECT scores FROM table_23292220_17 WHERE seans_team = "Chris Ramsey and Carol Vorderman"
[ 5376, 262, 8198, 329, 442, 2442, 15770, 4397, 290, 1097, 349, 410, 585, 2224, 46506, 8198, 16034, 3084, 62, 1954, 1959, 1828, 1238, 62, 1558, 33411, 384, 504, 62, 15097, 796, 366, 15645, 30552, 290, 5074, 569, 585, 2224, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8198, 329, 442, 2442, 15770, 4397, 290, 1097, 349, 410, 585, 2224, 46506, 8198, 16034, 3084, 62, 1954, 1959, 1828, 1238, 62, 1558, 33411, 384, 504, 62, 15097, 796, 366, 15645, 30552, 290, 5074, 569, 585, 2224, 1 ]
How many different isolation numbers does the peak with an elevation of 2782.622 = 9,127feet 2782m have?
SELECT COUNT("Isolation") FROM table_23187 WHERE "Elevation" = '2782.622 = 9,127feet 2782m'
[ 2437, 867, 1180, 15133, 3146, 857, 262, 9103, 351, 281, 22910, 286, 2681, 6469, 13, 21, 1828, 796, 860, 11, 16799, 39690, 2681, 6469, 76, 423, 30, 46506, 327, 28270, 7203, 3792, 21417, 4943, 16034, 3084, 62, 1954, 23451, 33411, 366, 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 ]
[ 2437, 867, 1180, 15133, 3146, 857, 262, 9103, 351, 281, 22910, 286, 2681, 6469, 13, 21, 1828, 796, 860, 11, 16799, 39690, 2681, 6469, 76, 423, 30, 46506, 327, 28270, 7203, 3792, 21417, 4943, 16034, 3084, 62, 1954, 23451, 33411, 366, 3...
What's the FA Cup that has a league less than 1?
SELECT SUM(fa_cup) FROM table_name_3 WHERE league < 1
[ 2061, 338, 262, 9677, 5454, 326, 468, 257, 4652, 1342, 621, 352, 30, 46506, 35683, 7, 13331, 62, 25244, 8, 16034, 3084, 62, 3672, 62, 18, 33411, 4652, 1279, 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 ]
[ 2061, 338, 262, 9677, 5454, 326, 468, 257, 4652, 1342, 621, 352, 30, 46506, 35683, 7, 13331, 62, 25244, 8, 16034, 3084, 62, 3672, 62, 18, 33411, 4652, 1279, 352 ]
Can you tell me the Home or the Away that has the Shirt Number larger than 18?
SELECT home_or_away FROM table_name_25 WHERE shirt_number > 18
[ 6090, 345, 1560, 502, 262, 5995, 393, 262, 21986, 326, 468, 262, 45180, 7913, 4025, 621, 1248, 30, 46506, 1363, 62, 273, 62, 8272, 16034, 3084, 62, 3672, 62, 1495, 33411, 10147, 62, 17618, 1875, 1248 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5995, 393, 262, 21986, 326, 468, 262, 45180, 7913, 4025, 621, 1248, 30, 46506, 1363, 62, 273, 62, 8272, 16034, 3084, 62, 3672, 62, 1495, 33411, 10147, 62, 17618, 1875, 1248 ]
How many weeks has 54,187 as the attendance?
SELECT COUNT("Week") FROM table_66423 WHERE "Attendance" = '54,187'
[ 2437, 867, 2745, 468, 7175, 11, 23451, 355, 262, 14858, 30, 46506, 327, 28270, 7203, 20916, 4943, 16034, 3084, 62, 21, 2414, 1954, 33411, 366, 8086, 437, 590, 1, 796, 705, 4051, 11, 23451, 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, 2745, 468, 7175, 11, 23451, 355, 262, 14858, 30, 46506, 327, 28270, 7203, 20916, 4943, 16034, 3084, 62, 21, 2414, 1954, 33411, 366, 8086, 437, 590, 1, 796, 705, 4051, 11, 23451, 6 ]
when was patient 027-155345's first discharge from the hospital since 5 years ago?
SELECT patient.hospitaldischargetime FROM patient WHERE patient.uniquepid = '027-155345' AND DATETIME(patient.hospitaldischargetime) >= DATETIME(CURRENT_TIME(), '-5 year') ORDER BY patient.hospitaldischargetime LIMIT 1
[ 12518, 373, 5827, 657, 1983, 12, 1314, 4310, 2231, 338, 717, 17655, 422, 262, 4436, 1201, 642, 812, 2084, 30, 46506, 5827, 13, 49257, 6381, 354, 7641, 524, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 44698, 12, 1314, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12518, 373, 5827, 657, 1983, 12, 1314, 4310, 2231, 338, 717, 17655, 422, 262, 4436, 1201, 642, 812, 2084, 30, 46506, 5827, 13, 49257, 6381, 354, 7641, 524, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 44698, 12, 1314, ...
Name the last title for cuenca
SELECT "Last title" FROM table_73674 WHERE "Home city" = 'Cuenca'
[ 5376, 262, 938, 3670, 329, 18912, 268, 6888, 46506, 366, 5956, 3670, 1, 16034, 3084, 62, 49150, 4524, 33411, 366, 16060, 1748, 1, 796, 705, 46141, 268, 6888, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 938, 3670, 329, 18912, 268, 6888, 46506, 366, 5956, 3670, 1, 16034, 3084, 62, 49150, 4524, 33411, 366, 16060, 1748, 1, 796, 705, 46141, 268, 6888, 6 ]
What was the Loser of the Game with a Result of 35-27?
SELECT loser FROM table_name_32 WHERE result = "35-27"
[ 2061, 373, 262, 5401, 263, 286, 262, 3776, 351, 257, 25414, 286, 3439, 12, 1983, 30, 46506, 30256, 16034, 3084, 62, 3672, 62, 2624, 33411, 1255, 796, 366, 2327, 12, 1983, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 5401, 263, 286, 262, 3776, 351, 257, 25414, 286, 3439, 12, 1983, 30, 46506, 30256, 16034, 3084, 62, 3672, 62, 2624, 33411, 1255, 796, 366, 2327, 12, 1983, 1 ]
Which Week has a Result of l 13-16 and an Opponent of at buffalo bills?
SELECT AVG(week) FROM table_name_27 WHERE result = "l 13-16" AND opponent = "at buffalo bills"
[ 13828, 6119, 468, 257, 25414, 286, 300, 1511, 12, 1433, 290, 281, 9385, 3471, 286, 379, 45019, 9024, 30, 46506, 35224, 7, 10464, 8, 16034, 3084, 62, 3672, 62, 1983, 33411, 1255, 796, 366, 75, 1511, 12, 1433, 1, 5357, 6125, 796, 366,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 6119, 468, 257, 25414, 286, 300, 1511, 12, 1433, 290, 281, 9385, 3471, 286, 379, 45019, 9024, 30, 46506, 35224, 7, 10464, 8, 16034, 3084, 62, 3672, 62, 1983, 33411, 1255, 796, 366, 75, 1511, 12, 1433, 1, 5357, 6125, 796, 366,...
Who is the winning party/coalition name in election year 1980?
SELECT winning_party_coalition FROM table_23512864_4 WHERE election_year = 1980
[ 8241, 318, 262, 5442, 2151, 14, 25140, 653, 1438, 287, 3071, 614, 7169, 30, 46506, 5442, 62, 10608, 62, 25140, 653, 16034, 3084, 62, 22370, 12762, 2414, 62, 19, 33411, 3071, 62, 1941, 796, 7169 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5442, 2151, 14, 25140, 653, 1438, 287, 3071, 614, 7169, 30, 46506, 5442, 62, 10608, 62, 25140, 653, 16034, 3084, 62, 22370, 12762, 2414, 62, 19, 33411, 3071, 62, 1941, 796, 7169 ]
7 credits are for which upper-level classes ?
SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN program_course ON program_course.course_id = course.course_id WHERE course.credits = 7 AND program_course.category LIKE 'ULCS'
[ 22, 10824, 389, 329, 543, 6727, 12, 5715, 6097, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 3268, 21479, 32357, 1268, 1430, 62, 17319, 6177, 1430, 62, 17319, 13, 173...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 22, 10824, 389, 329, 543, 6727, 12, 5715, 6097, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 3268, 21479, 32357, 1268, 1430, 62, 17319, 6177, 1430, 62, 17319, 13, 173...
What place is there a change of -19.3?
SELECT COUNT(name) FROM table_2500440_1 WHERE change___percentage_ = "-19.3"
[ 2061, 1295, 318, 612, 257, 1487, 286, 532, 1129, 13, 18, 30, 46506, 327, 28270, 7, 3672, 8, 16034, 3084, 62, 1495, 22914, 1821, 62, 16, 33411, 1487, 17569, 25067, 496, 62, 796, 27444, 1129, 13, 18, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1295, 318, 612, 257, 1487, 286, 532, 1129, 13, 18, 30, 46506, 327, 28270, 7, 3672, 8, 16034, 3084, 62, 1495, 22914, 1821, 62, 16, 33411, 1487, 17569, 25067, 496, 62, 796, 27444, 1129, 13, 18, 1 ]
What is the name of the role that has a Title of Salud, Dinero y Amor and antagonist in the notes field?
SELECT "Role" FROM table_71665 WHERE "Notes" = 'antagonist' AND "Title" = 'salud, dinero y amor'
[ 2061, 318, 262, 1438, 286, 262, 2597, 326, 468, 257, 11851, 286, 4849, 463, 11, 23448, 3529, 331, 1703, 273, 290, 34667, 287, 262, 4710, 2214, 30, 46506, 366, 47445, 1, 16034, 3084, 62, 22, 1433, 2996, 33411, 366, 16130, 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 ]
[ 2061, 318, 262, 1438, 286, 262, 2597, 326, 468, 257, 11851, 286, 4849, 463, 11, 23448, 3529, 331, 1703, 273, 290, 34667, 287, 262, 4710, 2214, 30, 46506, 366, 47445, 1, 16034, 3084, 62, 22, 1433, 2996, 33411, 366, 16130, 1, 796, 705...
what's the country with health being 91.4
SELECT country FROM table_145439_1 WHERE health = "91.4"
[ 10919, 338, 262, 1499, 351, 1535, 852, 10495, 13, 19, 46506, 1499, 16034, 3084, 62, 1415, 4051, 2670, 62, 16, 33411, 1535, 796, 366, 6420, 13, 19, 1 ]
[ 1, 1, 1, 1, 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, 1499, 351, 1535, 852, 10495, 13, 19, 46506, 1499, 16034, 3084, 62, 1415, 4051, 2670, 62, 16, 33411, 1535, 796, 366, 6420, 13, 19, 1 ]
Give the number of patients whose insurance is private and have procedure long title intravenous infusion of clofarabine.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.insurance = "Private" AND procedures.long_title = "Intravenous infusion of clofarabine"
[ 23318, 262, 1271, 286, 3871, 3025, 5096, 318, 2839, 290, 423, 8771, 890, 3670, 45840, 516, 35547, 286, 537, 1659, 283, 397, 500, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 23318, 262, 1271, 286, 3871, 3025, 5096, 318, 2839, 290, 423, 8771, 890, 3670, 45840, 516, 35547, 286, 537, 1659, 283, 397, 500, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, ...
Which team uses the kitmaker Saller and has Krombacher as their shirt sponsor?
SELECT "Team" FROM table_50357 WHERE "Kitmaker" = 'saller' AND "Shirt sponsor" = 'krombacher'
[ 13828, 1074, 3544, 262, 6220, 10297, 311, 439, 263, 290, 468, 509, 398, 65, 3493, 355, 511, 10147, 17487, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 1120, 27277, 33411, 366, 20827, 10297, 1, 796, 705, 82, 439, 263, 6, 5357, 366, 248...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 1074, 3544, 262, 6220, 10297, 311, 439, 263, 290, 468, 509, 398, 65, 3493, 355, 511, 10147, 17487, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 1120, 27277, 33411, 366, 20827, 10297, 1, 796, 705, 82, 439, 263, 6, 5357, 366, 248...
What were the points for that had a game where there was 678 against?
SELECT points_for FROM table_name_78 WHERE points_against = "678"
[ 2061, 547, 262, 2173, 329, 326, 550, 257, 983, 810, 612, 373, 718, 3695, 1028, 30, 46506, 2173, 62, 1640, 16034, 3084, 62, 3672, 62, 3695, 33411, 2173, 62, 32826, 796, 366, 30924, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 547, 262, 2173, 329, 326, 550, 257, 983, 810, 612, 373, 718, 3695, 1028, 30, 46506, 2173, 62, 1640, 16034, 3084, 62, 3672, 62, 3695, 33411, 2173, 62, 32826, 796, 366, 30924, 1 ]
please list all of the flights leaving ATLANTA heading to BALTIMORE after 2000 wednesday and before 900 thursday
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, date_day, days, flight WHERE ((date_day.day_number = 24 AND date_day.month_number = 4 AND date_day.year = 1991 AND days.day_name = date_day.day_name AND flight.departure_time...
[ 29688, 1351, 477, 286, 262, 13956, 4305, 5161, 25697, 5603, 9087, 284, 347, 31429, 3955, 6965, 706, 4751, 29445, 3462, 290, 878, 15897, 294, 3479, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 316...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 29688, 1351, 477, 286, 262, 13956, 4305, 5161, 25697, 5603, 9087, 284, 347, 31429, 3955, 6965, 706, 4751, 29445, 3462, 290, 878, 15897, 294, 3479, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 316...
when 0 100km/h (60mph) is 5.8 seconds (5.5), what is the engine?
SELECT "Engine" FROM table_27082 WHERE "0\u2013100km/h (60mph)" = '5.8 seconds (5.5)'
[ 12518, 657, 1802, 13276, 14, 71, 357, 1899, 23335, 8, 318, 642, 13, 23, 4201, 357, 20, 13, 20, 828, 644, 318, 262, 3113, 30, 46506, 366, 13798, 1, 16034, 3084, 62, 1983, 2919, 17, 33411, 366, 15, 59, 84, 6390, 3064, 13276, 14, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 12518, 657, 1802, 13276, 14, 71, 357, 1899, 23335, 8, 318, 642, 13, 23, 4201, 357, 20, 13, 20, 828, 644, 318, 262, 3113, 30, 46506, 366, 13798, 1, 16034, 3084, 62, 1983, 2919, 17, 33411, 366, 15, 59, 84, 6390, 3064, 13276, 14, 7...
Which courses can I take which provide 13 credits ?
SELECT DISTINCT name, number FROM course WHERE credits = 13 AND department = 'EECS'
[ 13828, 10902, 460, 314, 1011, 543, 2148, 1511, 10824, 5633, 46506, 360, 8808, 1268, 4177, 1438, 11, 1271, 16034, 1781, 33411, 10824, 796, 1511, 5357, 5011, 796, 705, 36, 2943, 50, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 10902, 460, 314, 1011, 543, 2148, 1511, 10824, 5633, 46506, 360, 8808, 1268, 4177, 1438, 11, 1271, 16034, 1781, 33411, 10824, 796, 1511, 5357, 5011, 796, 705, 36, 2943, 50, 6 ]
What are the lot details of lots associated with transactions whose share count is bigger than 100 and whose type code is 'PUR'?
SELECT T1.lot_details FROM lots AS T1 JOIN transactions_lots AS T2 ON T1.lot_id = T2.transaction_id JOIN transactions AS T3 ON T2.transaction_id = T3.transaction_id WHERE T3.share_count > 100 AND T3.transaction_type_code = "PUR"
[ 2061, 389, 262, 1256, 3307, 286, 6041, 3917, 351, 8945, 3025, 2648, 954, 318, 5749, 621, 1802, 290, 3025, 2099, 2438, 318, 705, 47, 4261, 30960, 46506, 309, 16, 13, 26487, 62, 36604, 16034, 6041, 7054, 309, 16, 32357, 1268, 8945, 62, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 389, 262, 1256, 3307, 286, 6041, 3917, 351, 8945, 3025, 2648, 954, 318, 5749, 621, 1802, 290, 3025, 2099, 2438, 318, 705, 47, 4261, 30960, 46506, 309, 16, 13, 26487, 62, 36604, 16034, 6041, 7054, 309, 16, 32357, 1268, 8945, 62, ...
After 10:00 , are there any sections for CLCIV 327 ?
SELECT DISTINCT course_offering.end_time, course_offering.section_number, course_offering.start_time FROM course, course_offering, semester WHERE course_offering.start_time > '10:00' AND course.course_id = course_offering.course_id AND course.department = 'CLCIV' AND course.number = 327 AND semester.semester = 'WN' AND...
[ 3260, 838, 25, 405, 837, 389, 612, 597, 9004, 329, 327, 5639, 3824, 36203, 5633, 46506, 360, 8808, 1268, 4177, 1781, 62, 2364, 1586, 13, 437, 62, 2435, 11, 1781, 62, 2364, 1586, 13, 5458, 62, 17618, 11, 1781, 62, 2364, 1586, 13, 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...
[ 3260, 838, 25, 405, 837, 389, 612, 597, 9004, 329, 327, 5639, 3824, 36203, 5633, 46506, 360, 8808, 1268, 4177, 1781, 62, 2364, 1586, 13, 437, 62, 2435, 11, 1781, 62, 2364, 1586, 13, 5458, 62, 17618, 11, 1781, 62, 2364, 1586, 13, 9...
For players with fewer than 41 goals for CA Osasuna and averages under 1.06, what is the average number of matches?
SELECT AVG("Matches") FROM table_52972 WHERE "Goals" < '41' AND "Team" = 'ca osasuna' AND "Average" < '1.06'
[ 1890, 1938, 351, 7380, 621, 6073, 4661, 329, 7257, 8834, 292, 9613, 290, 25694, 739, 352, 13, 3312, 11, 644, 318, 262, 2811, 1271, 286, 7466, 30, 46506, 35224, 7203, 19044, 2052, 4943, 16034, 3084, 62, 49721, 4761, 33411, 366, 5247, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1938, 351, 7380, 621, 6073, 4661, 329, 7257, 8834, 292, 9613, 290, 25694, 739, 352, 13, 3312, 11, 644, 318, 262, 2811, 1271, 286, 7466, 30, 46506, 35224, 7203, 19044, 2052, 4943, 16034, 3084, 62, 49721, 4761, 33411, 366, 5247, 8...
Find the total rating ratio for each channel owner. Show a pie chart.
SELECT Owner, SUM(Rating_in_percent) FROM channel GROUP BY Owner
[ 16742, 262, 2472, 7955, 8064, 329, 1123, 6518, 4870, 13, 5438, 257, 2508, 8262, 13, 46506, 23853, 11, 35683, 7, 29321, 62, 259, 62, 25067, 8, 16034, 6518, 44441, 11050, 23853 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16742, 262, 2472, 7955, 8064, 329, 1123, 6518, 4870, 13, 5438, 257, 2508, 8262, 13, 46506, 23853, 11, 35683, 7, 29321, 62, 259, 62, 25067, 8, 16034, 6518, 44441, 11050, 23853 ]
What is the lowest number of students at the community college?
SELECT MIN(founded) FROM table_name_8 WHERE affiliation = "community college"
[ 2061, 318, 262, 9016, 1271, 286, 2444, 379, 262, 2055, 4152, 30, 46506, 20625, 7, 27060, 8, 16034, 3084, 62, 3672, 62, 23, 33411, 26218, 796, 366, 28158, 4152, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 9016, 1271, 286, 2444, 379, 262, 2055, 4152, 30, 46506, 20625, 7, 27060, 8, 16034, 3084, 62, 3672, 62, 23, 33411, 26218, 796, 366, 28158, 4152, 1 ]
What is the largest number for earnings for tom watson when ranked more than 2?
SELECT MAX("Earnings ( $ )") FROM table_37717 WHERE "Player" = 'tom watson' AND "Rank" > '2'
[ 2061, 318, 262, 4387, 1271, 329, 12042, 329, 16667, 266, 13506, 618, 10307, 517, 621, 362, 30, 46506, 25882, 7203, 49725, 654, 357, 720, 1267, 4943, 16034, 3084, 62, 26514, 1558, 33411, 366, 14140, 1, 796, 705, 39532, 266, 13506, 6, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 329, 12042, 329, 16667, 266, 13506, 618, 10307, 517, 621, 362, 30, 46506, 25882, 7203, 49725, 654, 357, 720, 1267, 4943, 16034, 3084, 62, 26514, 1558, 33411, 366, 14140, 1, 796, 705, 39532, 266, 13506, 6, 5...
List the status shared by more than two roller coaster.
SELECT status FROM roller_coaster GROUP BY status HAVING COUNT(*) > 2
[ 8053, 262, 3722, 4888, 416, 517, 621, 734, 24471, 42450, 13, 46506, 3722, 16034, 24471, 62, 1073, 1603, 44441, 11050, 3722, 367, 10116, 2751, 327, 28270, 7, 28104, 1875, 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 ]
[ 8053, 262, 3722, 4888, 416, 517, 621, 734, 24471, 42450, 13, 46506, 3722, 16034, 24471, 62, 1073, 1603, 44441, 11050, 3722, 367, 10116, 2751, 327, 28270, 7, 28104, 1875, 362 ]
how many days have pass since the last time patient 55360 stayed in ward 7 in the current hospital visit?
SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', transfers.intime)) FROM transfers WHERE transfers.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 55360 AND admissions.dischtime IS NULL)) AND transfers....
[ 4919, 867, 1528, 423, 1208, 1201, 262, 938, 640, 5827, 642, 4310, 1899, 9658, 287, 15305, 767, 287, 262, 1459, 4436, 3187, 30, 46506, 352, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694, 28955, 532, 19269, 97...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1528, 423, 1208, 1201, 262, 938, 640, 5827, 642, 4310, 1899, 9658, 287, 15305, 767, 287, 262, 1459, 4436, 3187, 30, 46506, 352, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694, 28955, 532, 19269, 97...
list the nonstop flights on wednesday june second from MIAMI to BALTIMORE arriving in BALTIMORE between 1115 and 1245pm
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, date_day, days, flight WHERE ((((flight.arrival_time <= 1245 AND flight.arrival_time >= 1115) AND date_day.day_number = 23 AND date_day.month_number = 4 AND date_day.year = 1...
[ 4868, 262, 1729, 11338, 13956, 319, 29445, 3462, 474, 1726, 1218, 422, 15789, 43870, 284, 347, 31429, 3955, 6965, 14820, 287, 347, 31429, 3955, 6965, 1022, 13374, 20, 290, 1105, 2231, 4426, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4868, 262, 1729, 11338, 13956, 319, 29445, 3462, 474, 1726, 1218, 422, 15789, 43870, 284, 347, 31429, 3955, 6965, 14820, 287, 347, 31429, 3955, 6965, 1022, 13374, 20, 290, 1105, 2231, 4426, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, ...
vote to close by off-topic>other.
SELECT * FROM Votes WHERE VoteTypeId = 6 AND CreationDate >= '2014-08-01 00:00:00'
[ 27257, 284, 1969, 416, 572, 12, 26652, 29, 847, 13, 46506, 1635, 16034, 39584, 33411, 19175, 6030, 7390, 796, 718, 5357, 21582, 10430, 18189, 705, 4967, 12, 2919, 12, 486, 3571, 25, 405, 25, 405, 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 ]
[ 27257, 284, 1969, 416, 572, 12, 26652, 29, 847, 13, 46506, 1635, 16034, 39584, 33411, 19175, 6030, 7390, 796, 718, 5357, 21582, 10430, 18189, 705, 4967, 12, 2919, 12, 486, 3571, 25, 405, 25, 405, 6 ]
Name the candidate first elected in 1942
SELECT candidates FROM table_1341897_23 WHERE first_elected = 1942
[ 5376, 262, 4540, 717, 7018, 287, 22458, 46506, 5871, 16034, 3084, 62, 19880, 1507, 5607, 62, 1954, 33411, 717, 62, 28604, 796, 22458 ]
[ 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, 4540, 717, 7018, 287, 22458, 46506, 5871, 16034, 3084, 62, 19880, 1507, 5607, 62, 1954, 33411, 717, 62, 28604, 796, 22458 ]
Who received the bronze in 2011?
SELECT "Bronze" FROM table_66566 WHERE "Year" = '2011'
[ 8241, 2722, 262, 22101, 287, 2813, 30, 46506, 366, 18760, 2736, 1, 16034, 3084, 62, 36879, 2791, 33411, 366, 17688, 1, 796, 705, 9804, 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 ]
[ 8241, 2722, 262, 22101, 287, 2813, 30, 46506, 366, 18760, 2736, 1, 16034, 3084, 62, 36879, 2791, 33411, 366, 17688, 1, 796, 705, 9804, 6 ]
Show me about the distribution of ACC_Road and the sum of Team_ID , and group by attribute ACC_Road in a bar chart, and sort Y in descending order.
SELECT ACC_Road, SUM(Team_ID) FROM basketball_match GROUP BY ACC_Road ORDER BY SUM(Team_ID) DESC
[ 15307, 502, 546, 262, 6082, 286, 15859, 62, 29197, 290, 262, 2160, 286, 4816, 62, 2389, 837, 290, 1448, 416, 11688, 15859, 62, 29197, 287, 257, 2318, 8262, 11, 290, 3297, 575, 287, 31491, 1502, 13, 46506, 15859, 62, 29197, 11, 35683, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 15307, 502, 546, 262, 6082, 286, 15859, 62, 29197, 290, 262, 2160, 286, 4816, 62, 2389, 837, 290, 1448, 416, 11688, 15859, 62, 29197, 287, 257, 2318, 8262, 11, 290, 3297, 575, 287, 31491, 1502, 13, 46506, 15859, 62, 29197, 11, 35683, ...
What competition is at 23:00 cet?
SELECT "Competition" FROM table_60754 WHERE "Time" = '23:00 cet'
[ 2061, 5449, 318, 379, 2242, 25, 405, 269, 316, 30, 46506, 366, 7293, 15620, 1, 16034, 3084, 62, 1899, 41874, 33411, 366, 7575, 1, 796, 705, 1954, 25, 405, 269, 316, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 5449, 318, 379, 2242, 25, 405, 269, 316, 30, 46506, 366, 7293, 15620, 1, 16034, 3084, 62, 1899, 41874, 33411, 366, 7575, 1, 796, 705, 1954, 25, 405, 269, 316, 6 ]
What team was the away team when the tie no is 40?
SELECT "Away team" FROM table_48962 WHERE "Tie no" = '40'
[ 2061, 1074, 373, 262, 1497, 1074, 618, 262, 9839, 645, 318, 2319, 30, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 2780, 4846, 17, 33411, 366, 51, 494, 645, 1, 796, 705, 1821, 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, 1074, 373, 262, 1497, 1074, 618, 262, 9839, 645, 318, 2319, 30, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 2780, 4846, 17, 33411, 366, 51, 494, 645, 1, 796, 705, 1821, 6 ]
What is the low grid for gerhard berger for laps over 56?
SELECT MIN(grid) FROM table_name_18 WHERE driver = "gerhard berger" AND laps > 56
[ 2061, 318, 262, 1877, 10706, 329, 27602, 10424, 18157, 1362, 329, 24590, 625, 7265, 30, 46506, 20625, 7, 25928, 8, 16034, 3084, 62, 3672, 62, 1507, 33411, 4639, 796, 366, 1362, 10424, 18157, 1362, 1, 5357, 24590, 1875, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1877, 10706, 329, 27602, 10424, 18157, 1362, 329, 24590, 625, 7265, 30, 46506, 20625, 7, 25928, 8, 16034, 3084, 62, 3672, 62, 1507, 33411, 4639, 796, 366, 1362, 10424, 18157, 1362, 1, 5357, 24590, 1875, 7265 ]
For all employees who have the letters D or S in their first name, return a bar chart about the distribution of job_id and the average of employee_id , and group by attribute job_id, and order from high to low by the x axis 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 JOB_ID DESC
[ 1890, 477, 4409, 508, 423, 262, 7475, 360, 393, 311, 287, 511, 717, 1438, 11, 1441, 257, 2318, 8262, 546, 262, 6082, 286, 1693, 62, 312, 290, 262, 2811, 286, 6538, 62, 312, 837, 290, 1448, 416, 11688, 1693, 62, 312, 11, 290, 1502,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1441, 257, 2318, 8262, 546, 262, 6082, 286, 1693, 62, 312, 290, 262, 2811, 286, 6538, 62, 312, 837, 290, 1448, 416, 11688, 1693, 62, 312, 11, 290, 1502,...
How many games have a November of 10?
SELECT COUNT(game) FROM table_name_10 WHERE november = 10
[ 2437, 867, 1830, 423, 257, 3389, 286, 838, 30, 46506, 327, 28270, 7, 6057, 8, 16034, 3084, 62, 3672, 62, 940, 33411, 645, 303, 1916, 796, 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 ]
[ 2437, 867, 1830, 423, 257, 3389, 286, 838, 30, 46506, 327, 28270, 7, 6057, 8, 16034, 3084, 62, 3672, 62, 940, 33411, 645, 303, 1916, 796, 838 ]
What are the number of the dates in which the mean sea level pressure was between 303 and 31?, and could you show total number in ascending order?
SELECT date, COUNT(date) FROM weather WHERE mean_sea_level_pressure_inches BETWEEN 30.3 AND 31 ORDER BY COUNT(date)
[ 2061, 389, 262, 1271, 286, 262, 9667, 287, 543, 262, 1612, 5417, 1241, 3833, 373, 1022, 30727, 290, 3261, 21747, 290, 714, 345, 905, 2472, 1271, 287, 41988, 1502, 30, 46506, 3128, 11, 327, 28270, 7, 4475, 8, 16034, 6193, 33411, 1612, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 389, 262, 1271, 286, 262, 9667, 287, 543, 262, 1612, 5417, 1241, 3833, 373, 1022, 30727, 290, 3261, 21747, 290, 714, 345, 905, 2472, 1271, 287, 41988, 1502, 30, 46506, 3128, 11, 327, 28270, 7, 4475, 8, 16034, 6193, 33411, 1612, ...
All possible Location entries for Brazil ('%Bra%').
SELECT DISTINCT Location FROM Users WHERE Location LIKE '%Bra%'
[ 3237, 1744, 13397, 12784, 329, 7595, 19203, 4, 42333, 4, 27691, 46506, 360, 8808, 1268, 4177, 13397, 16034, 18987, 33411, 13397, 34178, 705, 4, 42333, 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 ]
[ 3237, 1744, 13397, 12784, 329, 7595, 19203, 4, 42333, 4, 27691, 46506, 360, 8808, 1268, 4177, 13397, 16034, 18987, 33411, 13397, 34178, 705, 4, 42333, 4, 6 ]
Name the athlete for bulgaria with rank less than 22
SELECT athlete FROM table_name_46 WHERE rank < 22 AND nation = "bulgaria"
[ 5376, 262, 16076, 329, 4807, 4563, 544, 351, 4279, 1342, 621, 2534, 46506, 16076, 16034, 3084, 62, 3672, 62, 3510, 33411, 4279, 1279, 2534, 5357, 3277, 796, 366, 15065, 4563, 544, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 16076, 329, 4807, 4563, 544, 351, 4279, 1342, 621, 2534, 46506, 16076, 16034, 3084, 62, 3672, 62, 3510, 33411, 4279, 1279, 2534, 5357, 3277, 796, 366, 15065, 4563, 544, 1 ]
How many viewers saw the episode written by kevin biegel & bill lawrence?
SELECT us_viewers__in_million_ FROM table_27987623_1 WHERE written_by = "Kevin Biegel & Bill Lawrence"
[ 2437, 867, 10209, 2497, 262, 4471, 3194, 416, 885, 7114, 275, 28210, 1222, 2855, 1099, 6784, 30, 46506, 514, 62, 1177, 364, 834, 259, 62, 14100, 62, 16034, 3084, 62, 1983, 4089, 4304, 1954, 62, 16, 33411, 3194, 62, 1525, 796, 366, 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 ]
[ 2437, 867, 10209, 2497, 262, 4471, 3194, 416, 885, 7114, 275, 28210, 1222, 2855, 1099, 6784, 30, 46506, 514, 62, 1177, 364, 834, 259, 62, 14100, 62, 16034, 3084, 62, 1983, 4089, 4304, 1954, 62, 16, 33411, 3194, 62, 1525, 796, 366, 2...
Name the least events for number 7
SELECT MIN(events) FROM table_24108789_6 WHERE _number = 7
[ 5376, 262, 1551, 2995, 329, 1271, 767, 46506, 20625, 7, 31534, 8, 16034, 3084, 62, 1731, 15711, 40401, 62, 21, 33411, 4808, 17618, 796, 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 ]
[ 5376, 262, 1551, 2995, 329, 1271, 767, 46506, 20625, 7, 31534, 8, 16034, 3084, 62, 1731, 15711, 40401, 62, 21, 33411, 4808, 17618, 796, 767 ]
If the position is AM and the league is larger than 7.0, what is the total R number?
SELECT COUNT("R") FROM table_25570 WHERE "Position" = 'AM' AND "League" > '7.0'
[ 1532, 262, 2292, 318, 3001, 290, 262, 4652, 318, 4025, 621, 767, 13, 15, 11, 644, 318, 262, 2472, 371, 1271, 30, 46506, 327, 28270, 7203, 49, 4943, 16034, 3084, 62, 13381, 2154, 33411, 366, 26545, 1, 796, 705, 2390, 6, 5357, 366, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1532, 262, 2292, 318, 3001, 290, 262, 4652, 318, 4025, 621, 767, 13, 15, 11, 644, 318, 262, 2472, 371, 1271, 30, 46506, 327, 28270, 7203, 49, 4943, 16034, 3084, 62, 13381, 2154, 33411, 366, 26545, 1, 796, 705, 2390, 6, 5357, 366, ...
What is the score of the match with a save postponed rescheduled for June 24?
SELECT score FROM table_name_97 WHERE save = "postponed rescheduled for june 24"
[ 2061, 318, 262, 4776, 286, 262, 2872, 351, 257, 3613, 33922, 581, 1740, 6309, 329, 2795, 1987, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 5607, 33411, 3613, 796, 366, 7353, 79, 12004, 581, 1740, 6309, 329, 474, 1726, 1987, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4776, 286, 262, 2872, 351, 257, 3613, 33922, 581, 1740, 6309, 329, 2795, 1987, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 5607, 33411, 3613, 796, 366, 7353, 79, 12004, 581, 1740, 6309, 329, 474, 1726, 1987, 1 ]
Which locations did Gordon Johncock hold the pole position?
SELECT "Location" FROM table_25235 WHERE "Pole Position" = 'Gordon Johncock'
[ 13828, 7064, 750, 11646, 1757, 21517, 1745, 262, 16825, 2292, 30, 46506, 366, 14749, 1, 16034, 3084, 62, 1495, 22370, 33411, 366, 47, 2305, 23158, 1, 796, 705, 47073, 1757, 21517, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 7064, 750, 11646, 1757, 21517, 1745, 262, 16825, 2292, 30, 46506, 366, 14749, 1, 16034, 3084, 62, 1495, 22370, 33411, 366, 47, 2305, 23158, 1, 796, 705, 47073, 1757, 21517, 6 ]
How many wins did South Warrnambool have that had more than 6 flags and a draw greater than 10?
SELECT "Wins" FROM table_64138 WHERE "Flags" > '6' AND "Draws" > '10' AND "Club" = 'south warrnambool'
[ 2437, 867, 7864, 750, 2520, 1810, 35906, 4131, 970, 423, 326, 550, 517, 621, 718, 9701, 290, 257, 3197, 3744, 621, 838, 30, 46506, 366, 54, 1040, 1, 16034, 3084, 62, 2414, 20107, 33411, 366, 40053, 1, 1875, 705, 21, 6, 5357, 366, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 7864, 750, 2520, 1810, 35906, 4131, 970, 423, 326, 550, 517, 621, 718, 9701, 290, 257, 3197, 3744, 621, 838, 30, 46506, 366, 54, 1040, 1, 16034, 3084, 62, 2414, 20107, 33411, 366, 40053, 1, 1875, 705, 21, 6, 5357, 366, ...
what is the earliest flight from PHILADELPHIA to DALLAS FIRST class
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, fare, fare_basis, flight, flight_fare WHERE ((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'DALLAS' AND fare_basis.class_type = 'FIRST' AND fare.fare...
[ 10919, 318, 262, 14555, 5474, 422, 9370, 4146, 2885, 3698, 11909, 3539, 284, 360, 7036, 1921, 31328, 1398, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 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, 318, 262, 14555, 5474, 422, 9370, 4146, 2885, 3698, 11909, 3539, 284, 360, 7036, 1921, 31328, 1398, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11,...
What's the Call sign with a Frequency MHz thats smaller than 95.9 and an ERP W of 10?
SELECT "Call sign" FROM table_70511 WHERE "Frequency MHz" < '95.9' AND "ERP W" = '10'
[ 2061, 338, 262, 4889, 1051, 351, 257, 31902, 19805, 29294, 4833, 621, 6957, 13, 24, 290, 281, 13793, 47, 370, 286, 838, 30, 46506, 366, 14134, 1051, 1, 16034, 3084, 62, 34801, 1157, 33411, 366, 37, 28707, 19805, 1, 1279, 705, 3865, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4889, 1051, 351, 257, 31902, 19805, 29294, 4833, 621, 6957, 13, 24, 290, 281, 13793, 47, 370, 286, 838, 30, 46506, 366, 14134, 1051, 1, 16034, 3084, 62, 34801, 1157, 33411, 366, 37, 28707, 19805, 1, 1279, 705, 3865, ...
What is the table position for 4 December 2008 vacancy?
SELECT position_in_table FROM table_name_13 WHERE date_of_vacancy = "4 december 2008"
[ 2061, 318, 262, 3084, 2292, 329, 604, 3426, 3648, 39836, 30, 46506, 2292, 62, 259, 62, 11487, 16034, 3084, 62, 3672, 62, 1485, 33411, 3128, 62, 1659, 62, 85, 330, 3883, 796, 366, 19, 390, 3273, 3648, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3084, 2292, 329, 604, 3426, 3648, 39836, 30, 46506, 2292, 62, 259, 62, 11487, 16034, 3084, 62, 3672, 62, 1485, 33411, 3128, 62, 1659, 62, 85, 330, 3883, 796, 366, 19, 390, 3273, 3648, 1 ]
calculate the average age of female patients who self-discharged against medical advice.
SELECT AVG(demographic.age) FROM demographic WHERE demographic.gender = "F" AND demographic.discharge_location = "LEFT AGAINST MEDICAL ADVI"
[ 9948, 3129, 378, 262, 2811, 2479, 286, 4048, 3871, 508, 2116, 12, 6381, 17200, 1028, 3315, 5608, 13, 46506, 35224, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 8388, 796, 366, 37, 1, 5357, 16728, 13, 6381, 10136, 62, 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 ]
[ 9948, 3129, 378, 262, 2811, 2479, 286, 4048, 3871, 508, 2116, 12, 6381, 17200, 1028, 3315, 5608, 13, 46506, 35224, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 8388, 796, 366, 37, 1, 5357, 16728, 13, 6381, 10136, 62, 2...
What is the most recent year in which the score was 4 6, 6 3, 7 5?
SELECT MAX(year) FROM table_name_91 WHERE score = "4–6, 6–3, 7–5"
[ 2061, 318, 262, 749, 2274, 614, 287, 543, 262, 4776, 373, 604, 718, 11, 718, 513, 11, 767, 642, 30, 46506, 25882, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 6420, 33411, 4776, 796, 366, 19, 1906, 21, 11, 718, 1906, 18, 11, 767, 1906...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 749, 2274, 614, 287, 543, 262, 4776, 373, 604, 718, 11, 718, 513, 11, 767, 642, 30, 46506, 25882, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 6420, 33411, 4776, 796, 366, 19, 1906, 21, 11, 718, 1906, 18, 11, 767, 1906...
What was the score on January 12?
SELECT "Score" FROM table_78165 WHERE "Date" = 'january 12'
[ 2061, 373, 262, 4776, 319, 3269, 1105, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 3695, 20986, 33411, 366, 10430, 1, 796, 705, 13881, 2838, 1105, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 4776, 319, 3269, 1105, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 3695, 20986, 33411, 366, 10430, 1, 796, 705, 13881, 2838, 1105, 6 ]
Show the crime rates of counties in ascending order of number of police officers.
SELECT crime_rate FROM county_public_safety ORDER BY police_officers
[ 15307, 262, 4065, 3965, 286, 14683, 287, 41988, 1502, 286, 1271, 286, 1644, 3790, 13, 46506, 4065, 62, 4873, 16034, 7968, 62, 11377, 62, 44708, 38678, 11050, 1644, 62, 14406, 364 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 262, 4065, 3965, 286, 14683, 287, 41988, 1502, 286, 1271, 286, 1644, 3790, 13, 46506, 4065, 62, 4873, 16034, 7968, 62, 11377, 62, 44708, 38678, 11050, 1644, 62, 14406, 364 ]
What is the most goals made for a person with less than 208 matches and ranked lower than 12?
SELECT MAX("Goals") FROM table_41212 WHERE "Matches" < '208' AND "Rank" > '12'
[ 2061, 318, 262, 749, 4661, 925, 329, 257, 1048, 351, 1342, 621, 27121, 7466, 290, 10307, 2793, 621, 1105, 30, 46506, 25882, 7203, 5247, 874, 4943, 16034, 3084, 62, 39226, 1065, 33411, 366, 19044, 2052, 1, 1279, 705, 21315, 6, 5357, 36...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 749, 4661, 925, 329, 257, 1048, 351, 1342, 621, 27121, 7466, 290, 10307, 2793, 621, 1105, 30, 46506, 25882, 7203, 5247, 874, 4943, 16034, 3084, 62, 39226, 1065, 33411, 366, 19044, 2052, 1, 1279, 705, 21315, 6, 5357, 36...
when did patient 031-16123 during the last hospital encounter last receive the blood, venipuncture microbiology test?
SELECT microlab.culturetakentime FROM microlab WHERE microlab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '031-16123' AND NOT patient.hospitaldischargetime IS NULL ORDER BY...
[ 12518, 750, 5827, 657, 3132, 12, 1433, 10163, 1141, 262, 938, 4436, 8791, 938, 3328, 262, 2910, 11, 8710, 541, 39187, 24559, 1435, 1332, 30, 46506, 4580, 23912, 13, 25584, 83, 461, 298, 524, 16034, 4580, 23912, 33411, 4580, 23912, 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...
[ 12518, 750, 5827, 657, 3132, 12, 1433, 10163, 1141, 262, 938, 4436, 8791, 938, 3328, 262, 2910, 11, 8710, 541, 39187, 24559, 1435, 1332, 30, 46506, 4580, 23912, 13, 25584, 83, 461, 298, 524, 16034, 4580, 23912, 33411, 4580, 23912, 13, ...
Which player went to Pittsburg State
SELECT "Player" FROM table_1224 WHERE "College" = 'Pittsburg State'
[ 13828, 2137, 1816, 284, 10276, 30359, 1812, 46506, 366, 14140, 1, 16034, 3084, 62, 1065, 1731, 33411, 366, 38951, 1, 796, 705, 47627, 30359, 1812, 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 ]
[ 13828, 2137, 1816, 284, 10276, 30359, 1812, 46506, 366, 14140, 1, 16034, 3084, 62, 1065, 1731, 33411, 366, 38951, 1, 796, 705, 47627, 30359, 1812, 6 ]
serum creatinine at screening > 1.4 mg / dl ( 124 umol / l ) for female , or > 1.5 mg / dl ( 133 umol / l ) for male .
SELECT * FROM table_dev_38 WHERE (gender = 'female' AND serum_creatinine > 1.4) OR (gender = 'male' AND serum_creatinine > 1.5)
[ 2655, 388, 1827, 259, 500, 379, 14135, 1875, 352, 13, 19, 10527, 1220, 288, 75, 357, 19755, 23781, 349, 1220, 300, 1267, 329, 4048, 837, 393, 1875, 352, 13, 20, 10527, 1220, 288, 75, 357, 22169, 23781, 349, 1220, 300, 1267, 329, 425...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1827, 259, 500, 379, 14135, 1875, 352, 13, 19, 10527, 1220, 288, 75, 357, 19755, 23781, 349, 1220, 300, 1267, 329, 4048, 837, 393, 1875, 352, 13, 20, 10527, 1220, 288, 75, 357, 22169, 23781, 349, 1220, 300, 1267, 329, 425...
which teams have more wins that werder bremen ?
SELECT "team" FROM table_203_309 WHERE "winners" > (SELECT "winners" FROM table_203_309 WHERE "team" = 'werder bremen')
[ 4758, 3466, 423, 517, 7864, 326, 266, 263, 1082, 1449, 3653, 5633, 46506, 366, 15097, 1, 16034, 3084, 62, 22416, 62, 26895, 33411, 366, 5404, 2741, 1, 1875, 357, 46506, 366, 5404, 2741, 1, 16034, 3084, 62, 22416, 62, 26895, 33411, 366...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4758, 3466, 423, 517, 7864, 326, 266, 263, 1082, 1449, 3653, 5633, 46506, 366, 15097, 1, 16034, 3084, 62, 22416, 62, 26895, 33411, 366, 5404, 2741, 1, 1875, 357, 46506, 366, 5404, 2741, 1, 16034, 3084, 62, 22416, 62, 26895, 33411, 366...
What competition listed is dated November 17, 2003?
SELECT competition FROM table_name_32 WHERE date = "november 17, 2003"
[ 2061, 5449, 5610, 318, 14567, 3389, 1596, 11, 5816, 30, 46506, 5449, 16034, 3084, 62, 3672, 62, 2624, 33411, 3128, 796, 366, 77, 3239, 1596, 11, 5816, 1 ]
[ 1, 1, 1, 1, 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, 5449, 5610, 318, 14567, 3389, 1596, 11, 5816, 30, 46506, 5449, 16034, 3084, 62, 3672, 62, 2624, 33411, 3128, 796, 366, 77, 3239, 1596, 11, 5816, 1 ]
provide me the diagnosis short title and diagnosis icd9 code for patient with patient id 2560.
SELECT diagnoses.icd9_code, diagnoses.short_title FROM diagnoses WHERE diagnoses.subject_id = "2560"
[ 15234, 485, 502, 262, 13669, 1790, 3670, 290, 13669, 14158, 67, 24, 2438, 329, 5827, 351, 5827, 4686, 1679, 1899, 13, 46506, 40567, 13, 291, 67, 24, 62, 8189, 11, 40567, 13, 19509, 62, 7839, 16034, 40567, 33411, 40567, 13, 32796, 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 ]
[ 15234, 485, 502, 262, 13669, 1790, 3670, 290, 13669, 14158, 67, 24, 2438, 329, 5827, 351, 5827, 4686, 1679, 1899, 13, 46506, 40567, 13, 291, 67, 24, 62, 8189, 11, 40567, 13, 19509, 62, 7839, 16034, 40567, 33411, 40567, 13, 32796, 62, ...
Which season has a Staffel E of Stahl Riesa?
SELECT season FROM table_name_21 WHERE staffel_e = "stahl riesa"
[ 13828, 1622, 468, 257, 9983, 417, 412, 286, 520, 15668, 371, 444, 64, 30, 46506, 1622, 16034, 3084, 62, 3672, 62, 2481, 33411, 3085, 417, 62, 68, 796, 366, 301, 15668, 374, 444, 64, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 1622, 468, 257, 9983, 417, 412, 286, 520, 15668, 371, 444, 64, 30, 46506, 1622, 16034, 3084, 62, 3672, 62, 2481, 33411, 3085, 417, 62, 68, 796, 366, 301, 15668, 374, 444, 64, 1 ]
What institution(s) are located in wilkes-barre, pennsylvania?
SELECT institution FROM table_261906_2 WHERE location = "Wilkes-Barre, Pennsylvania"
[ 2061, 9901, 7, 82, 8, 389, 5140, 287, 39716, 5209, 12, 5657, 260, 11, 22429, 9270, 30, 46506, 9901, 16034, 3084, 62, 2075, 1129, 3312, 62, 17, 33411, 4067, 796, 366, 22327, 5209, 12, 33, 9624, 11, 9589, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9901, 7, 82, 8, 389, 5140, 287, 39716, 5209, 12, 5657, 260, 11, 22429, 9270, 30, 46506, 9901, 16034, 3084, 62, 2075, 1129, 3312, 62, 17, 33411, 4067, 796, 366, 22327, 5209, 12, 33, 9624, 11, 9589, 1 ]
Show all cities and corresponding number of students Plot them as bar chart, and could you display in desc by the the total number ?
SELECT city_code, COUNT(*) FROM Student GROUP BY city_code ORDER BY COUNT(*) DESC
[ 15307, 477, 4736, 290, 11188, 1271, 286, 2444, 28114, 606, 355, 2318, 8262, 11, 290, 714, 345, 3359, 287, 1715, 416, 262, 262, 2472, 1271, 5633, 46506, 1748, 62, 8189, 11, 327, 28270, 7, 28104, 16034, 13613, 44441, 11050, 1748, 62, 81...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4736, 290, 11188, 1271, 286, 2444, 28114, 606, 355, 2318, 8262, 11, 290, 714, 345, 3359, 287, 1715, 416, 262, 262, 2472, 1271, 5633, 46506, 1748, 62, 8189, 11, 327, 28270, 7, 28104, 16034, 13613, 44441, 11050, 1748, 62, 81...
what is the drug name that was prescribed to patient 25696 within 2 days after they received a sympath nerve inject nec procedure in 03/last year?
SELECT t2.drug FROM (SELECT admissions.subject_id, procedures_icd.charttime FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE admissions.subject_id = 25696 AND procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = ...
[ 10919, 318, 262, 2563, 1438, 326, 373, 14798, 284, 5827, 1679, 38205, 1626, 362, 1528, 706, 484, 2722, 257, 23860, 16384, 8677, 27576, 8771, 287, 7643, 14, 12957, 614, 30, 46506, 256, 17, 13, 30349, 16034, 357, 46506, 25349, 13, 32796, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2563, 1438, 326, 373, 14798, 284, 5827, 1679, 38205, 1626, 362, 1528, 706, 484, 2722, 257, 23860, 16384, 8677, 27576, 8771, 287, 7643, 14, 12957, 614, 30, 46506, 256, 17, 13, 30349, 16034, 357, 46506, 25349, 13, 32796, ...
What is the average Events when the top-25 is 12 and there are less than 0 wins?
SELECT AVG("Events") FROM table_40560 WHERE "Top-25" = '12' AND "Wins" < '0'
[ 2061, 318, 262, 2811, 18715, 618, 262, 1353, 12, 1495, 318, 1105, 290, 612, 389, 1342, 621, 657, 7864, 30, 46506, 35224, 7203, 37103, 4943, 16034, 3084, 62, 26598, 1899, 33411, 366, 9126, 12, 1495, 1, 796, 705, 1065, 6, 5357, 366, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 18715, 618, 262, 1353, 12, 1495, 318, 1105, 290, 612, 389, 1342, 621, 657, 7864, 30, 46506, 35224, 7203, 37103, 4943, 16034, 3084, 62, 26598, 1899, 33411, 366, 9126, 12, 1495, 1, 796, 705, 1065, 6, 5357, 366, 5...
What is the home country of the player who placed t5 and had a score of 69-71=140?
SELECT "Country" FROM table_50172 WHERE "Place" = 't5' AND "Score" = '69-71=140'
[ 2061, 318, 262, 1363, 1499, 286, 262, 2137, 508, 4624, 256, 20, 290, 550, 257, 4776, 286, 8644, 12, 4869, 28, 15187, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 33548, 4761, 33411, 366, 27271, 1, 796, 705, 83, 20, 6, 5357, 366, 265...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1363, 1499, 286, 262, 2137, 508, 4624, 256, 20, 290, 550, 257, 4776, 286, 8644, 12, 4869, 28, 15187, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 33548, 4761, 33411, 366, 27271, 1, 796, 705, 83, 20, 6, 5357, 366, 265...
When was the Super B capacity reached when the number of truck loads north was 7735?
SELECT "Super B Capacity Reached [ citation needed ]" FROM table_17797 WHERE "Number of Truck Loads North" = '7735'
[ 2215, 373, 262, 3115, 347, 5339, 4251, 618, 262, 1271, 286, 7779, 15989, 5093, 373, 8541, 2327, 30, 46506, 366, 12442, 347, 29765, 13618, 685, 27860, 2622, 2361, 1, 16034, 3084, 62, 1558, 44673, 33411, 366, 15057, 286, 24892, 8778, 82, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 373, 262, 3115, 347, 5339, 4251, 618, 262, 1271, 286, 7779, 15989, 5093, 373, 8541, 2327, 30, 46506, 366, 12442, 347, 29765, 13618, 685, 27860, 2622, 2361, 1, 16034, 3084, 62, 1558, 44673, 33411, 366, 15057, 286, 24892, 8778, 82, ...
Name the PreMajor or MDE courses offered in the Fall term .
SELECT DISTINCT course.department, course.name, course.number, program_course.category FROM course, course_offering, program_course, semester WHERE course.course_id = course_offering.course_id AND program_course.category IN ('PreMajor', 'MDE') AND program_course.course_id = course.course_id AND semester.semester = 'Fal...
[ 5376, 262, 3771, 24206, 393, 337, 7206, 10902, 4438, 287, 262, 7218, 3381, 764, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 11, 1430, 62, 17319, 13, 22872, 16034, 1781, 11, 1781, 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...
[ 5376, 262, 3771, 24206, 393, 337, 7206, 10902, 4438, 287, 262, 7218, 3381, 764, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 11, 1430, 62, 17319, 13, 22872, 16034, 1781, 11, 1781, 62, ...
Show the number of games in each season and group by away team in a group line chart The x-axis is season, and list Season in descending order.
SELECT Season, COUNT(Season) FROM game GROUP BY Away_team ORDER BY Season DESC
[ 15307, 262, 1271, 286, 1830, 287, 1123, 1622, 290, 1448, 416, 1497, 1074, 287, 257, 1448, 1627, 8262, 383, 2124, 12, 22704, 318, 1622, 11, 290, 1351, 7369, 287, 31491, 1502, 13, 46506, 7369, 11, 327, 28270, 7, 18960, 8, 16034, 983, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 262, 1271, 286, 1830, 287, 1123, 1622, 290, 1448, 416, 1497, 1074, 287, 257, 1448, 1627, 8262, 383, 2124, 12, 22704, 318, 1622, 11, 290, 1351, 7369, 287, 31491, 1502, 13, 46506, 7369, 11, 327, 28270, 7, 18960, 8, 16034, 983, ...
How many poles did he have in 2006 with under 2 wins?
SELECT poles FROM table_name_57 WHERE season = "2006" AND wins < 2
[ 2437, 867, 24971, 750, 339, 423, 287, 4793, 351, 739, 362, 7864, 30, 46506, 24971, 16034, 3084, 62, 3672, 62, 3553, 33411, 1622, 796, 366, 13330, 1, 5357, 7864, 1279, 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 ]
[ 2437, 867, 24971, 750, 339, 423, 287, 4793, 351, 739, 362, 7864, 30, 46506, 24971, 16034, 3084, 62, 3672, 62, 3553, 33411, 1622, 796, 366, 13330, 1, 5357, 7864, 1279, 362 ]
Show the names of countries and the average speed of roller coasters from each country. Show a pie chart.
SELECT T1.Name, AVG(T2.Speed) FROM country AS T1 JOIN roller_coaster AS T2 ON T1.Country_ID = T2.Country_ID GROUP BY T1.Name
[ 15307, 262, 3891, 286, 2678, 290, 262, 2811, 2866, 286, 24471, 763, 7060, 422, 1123, 1499, 13, 5438, 257, 2508, 8262, 13, 46506, 309, 16, 13, 5376, 11, 35224, 7, 51, 17, 13, 22785, 8, 16034, 1499, 7054, 309, 16, 32357, 1268, 24471, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 15307, 262, 3891, 286, 2678, 290, 262, 2811, 2866, 286, 24471, 763, 7060, 422, 1123, 1499, 13, 5438, 257, 2508, 8262, 13, 46506, 309, 16, 13, 5376, 11, 35224, 7, 51, 17, 13, 22785, 8, 16034, 1499, 7054, 309, 16, 32357, 1268, 24471, ...
how many na -350- with title and source being bokumo sekai wo sukuitai: battle tournament
SELECT COUNT("NA -350-") FROM table_18898 WHERE "Title and Source" = 'Bokumo Sekai wo Sukuitai: Battle Tournament'
[ 4919, 867, 12385, 532, 14877, 12, 351, 3670, 290, 2723, 852, 275, 482, 43712, 384, 32765, 24486, 424, 74, 5013, 1872, 25, 3344, 7756, 46506, 327, 28270, 7203, 4535, 532, 14877, 12, 4943, 16034, 3084, 62, 20356, 4089, 33411, 366, 19160, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12385, 532, 14877, 12, 351, 3670, 290, 2723, 852, 275, 482, 43712, 384, 32765, 24486, 424, 74, 5013, 1872, 25, 3344, 7756, 46506, 327, 28270, 7203, 4535, 532, 14877, 12, 4943, 16034, 3084, 62, 20356, 4089, 33411, 366, 19160, ...
Get user comments by tag.
SELECT Comments.Id AS "comment_link", Posts.Tags, Comments.Score, Text FROM Comments INNER JOIN Posts ON Comments.PostId = Posts.Id WHERE UserId = '##UserId##' AND Posts.Tags LIKE '%##Tag##%' ORDER BY Comments.CreationDate DESC
[ 3855, 2836, 3651, 416, 7621, 13, 46506, 19502, 13, 7390, 7054, 366, 23893, 62, 8726, 1600, 12043, 13, 36142, 11, 19502, 13, 26595, 11, 8255, 16034, 19502, 3268, 21479, 32357, 1268, 12043, 6177, 19502, 13, 6307, 7390, 796, 12043, 13, 739...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2836, 3651, 416, 7621, 13, 46506, 19502, 13, 7390, 7054, 366, 23893, 62, 8726, 1600, 12043, 13, 36142, 11, 19502, 13, 26595, 11, 8255, 16034, 19502, 3268, 21479, 32357, 1268, 12043, 6177, 19502, 13, 6307, 7390, 796, 12043, 13, 739...
what is the total number of times brazil and argentina did not win gold ?
SELECT COUNT(*) FROM table_204_360 WHERE "gold" <> 'brazil' AND "gold" <> 'argentina'
[ 10919, 318, 262, 2472, 1271, 286, 1661, 275, 7098, 290, 1822, 298, 1437, 750, 407, 1592, 3869, 5633, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 18638, 62, 15277, 33411, 366, 24267, 1, 1279, 29, 705, 65, 7098, 6, 5357, 366, 24267, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 2472, 1271, 286, 1661, 275, 7098, 290, 1822, 298, 1437, 750, 407, 1592, 3869, 5633, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 18638, 62, 15277, 33411, 366, 24267, 1, 1279, 29, 705, 65, 7098, 6, 5357, 366, 24267, ...
Display a bar chart for how old is the average person for each job?, sort in descending by the total number.
SELECT job, AVG(age) FROM Person GROUP BY job ORDER BY AVG(age) DESC
[ 23114, 257, 2318, 8262, 329, 703, 1468, 318, 262, 2811, 1048, 329, 1123, 1693, 21747, 3297, 287, 31491, 416, 262, 2472, 1271, 13, 46506, 1693, 11, 35224, 7, 496, 8, 16034, 7755, 44441, 11050, 1693, 38678, 11050, 35224, 7, 496, 8, 2219...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 703, 1468, 318, 262, 2811, 1048, 329, 1123, 1693, 21747, 3297, 287, 31491, 416, 262, 2472, 1271, 13, 46506, 1693, 11, 35224, 7, 496, 8, 16034, 7755, 44441, 11050, 1693, 38678, 11050, 35224, 7, 496, 8, 2219...
Give me a histogram for how many members are in each party?, and could you list by the y-axis from high to low?
SELECT Party_name, COUNT(*) FROM member AS T1 JOIN party AS T2 ON T1.Party_ID = T2.Party_ID GROUP BY T1.Party_ID ORDER BY COUNT(*) DESC
[ 23318, 502, 257, 1554, 21857, 329, 703, 867, 1866, 389, 287, 1123, 2151, 21747, 290, 714, 345, 1351, 416, 262, 331, 12, 22704, 422, 1029, 284, 1877, 30, 46506, 3615, 62, 3672, 11, 327, 28270, 7, 28104, 16034, 2888, 7054, 309, 16, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 23318, 502, 257, 1554, 21857, 329, 703, 867, 1866, 389, 287, 1123, 2151, 21747, 290, 714, 345, 1351, 416, 262, 331, 12, 22704, 422, 1029, 284, 1877, 30, 46506, 3615, 62, 3672, 11, 327, 28270, 7, 28104, 16034, 2888, 7054, 309, 16, 32...
Who lost on May 31?
SELECT "Loss" FROM table_79781 WHERE "Date" = 'may 31'
[ 8241, 2626, 319, 1737, 3261, 30, 46506, 366, 43, 793, 1, 16034, 3084, 62, 3720, 49703, 33411, 366, 10430, 1, 796, 705, 11261, 3261, 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 ]
[ 8241, 2626, 319, 1737, 3261, 30, 46506, 366, 43, 793, 1, 16034, 3084, 62, 3720, 49703, 33411, 366, 10430, 1, 796, 705, 11261, 3261, 6 ]
What are incumbent William Vandever's results?
SELECT result FROM table_name_81 WHERE incumbent = "william vandever"
[ 2061, 389, 23526, 3977, 35464, 964, 338, 2482, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 6659, 33411, 23526, 796, 366, 10594, 1789, 410, 392, 964, 1 ]
[ 1, 1, 1, 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, 23526, 3977, 35464, 964, 338, 2482, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 6659, 33411, 23526, 796, 366, 10594, 1789, 410, 392, 964, 1 ]
For those records from the products and each product's manufacturer, a bar chart shows the distribution of name and the sum of price , and group by attribute name, sort bar in ascending order.
SELECT T2.Name, T1.Price FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name ORDER BY T2.Name
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 257, 2318, 8262, 2523, 262, 6082, 286, 1438, 290, 262, 2160, 286, 2756, 837, 290, 1448, 416, 11688, 1438, 11, 3297, 2318, 287, 41988, 1502, 13, 46506, 309, 17, 13, 53...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 257, 2318, 8262, 2523, 262, 6082, 286, 1438, 290, 262, 2160, 286, 2756, 837, 290, 1448, 416, 11688, 1438, 11, 3297, 2318, 287, 41988, 1502, 13, 46506, 309, 17, 13, 53...
Who was the home team at Gold Coast Convention Centre?
SELECT home_team FROM table_name_8 WHERE venue = "gold coast convention centre"
[ 8241, 373, 262, 1363, 1074, 379, 3561, 8545, 11680, 9072, 30, 46506, 1363, 62, 15097, 16034, 3084, 62, 3672, 62, 23, 33411, 14359, 796, 366, 24267, 7051, 9831, 7372, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 1363, 1074, 379, 3561, 8545, 11680, 9072, 30, 46506, 1363, 62, 15097, 16034, 3084, 62, 3672, 62, 23, 33411, 14359, 796, 366, 24267, 7051, 9831, 7372, 1 ]
What is the Date of the Tournament with a Score of 3 6, 7 6(6), 5 7?
SELECT "Date" FROM table_49188 WHERE "Score" = '3–6, 7–6(6), 5–7'
[ 2061, 318, 262, 7536, 286, 262, 9595, 351, 257, 15178, 286, 513, 718, 11, 767, 718, 7, 21, 828, 642, 767, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 2920, 20356, 33411, 366, 26595, 1, 796, 705, 18, 1906, 21, 11, 767, 1906, 21, 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, 262, 7536, 286, 262, 9595, 351, 257, 15178, 286, 513, 718, 11, 767, 718, 7, 21, 828, 642, 767, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 2920, 20356, 33411, 366, 26595, 1, 796, 705, 18, 1906, 21, 11, 767, 1906, 21, 7...
how many patients whose admission type is elective and procedure long title is other conversion of cardiac rhythm?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_type = "ELECTIVE" AND procedures.long_title = "Other conversion of cardiac rhythm"
[ 4919, 867, 3871, 3025, 13938, 2099, 318, 1742, 425, 290, 8771, 890, 3670, 318, 584, 11315, 286, 26077, 18662, 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, 13938, 2099, 318, 1742, 425, 290, 8771, 890, 3670, 318, 584, 11315, 286, 26077, 18662, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, ...
Name the least rank
SELECT MIN("Rank") FROM table_27489
[ 5376, 262, 1551, 4279, 46506, 20625, 7203, 27520, 4943, 16034, 3084, 62, 1983, 35890 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 1551, 4279, 46506, 20625, 7203, 27520, 4943, 16034, 3084, 62, 1983, 35890 ]
Which team has a 59.8% completion rate?
SELECT "Team" FROM table_71845 WHERE "Completion %" = '59.8%'
[ 13828, 1074, 468, 257, 7863, 13, 23, 4, 11939, 2494, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 45720, 2231, 33411, 366, 5377, 24547, 4064, 1, 796, 705, 3270, 13, 23, 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 ]
[ 13828, 1074, 468, 257, 7863, 13, 23, 4, 11939, 2494, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 45720, 2231, 33411, 366, 5377, 24547, 4064, 1, 796, 705, 3270, 13, 23, 4, 6 ]
How many extra points did right halfback Roswell Wendell have?
SELECT extra_points FROM table_name_12 WHERE position = "right halfback" AND player = "roswell wendell"
[ 2437, 867, 3131, 2173, 750, 826, 2063, 1891, 10018, 4053, 21042, 695, 423, 30, 46506, 3131, 62, 13033, 16034, 3084, 62, 3672, 62, 1065, 33411, 2292, 796, 366, 3506, 2063, 1891, 1, 5357, 2137, 796, 366, 305, 2032, 695, 266, 437, 695, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3131, 2173, 750, 826, 2063, 1891, 10018, 4053, 21042, 695, 423, 30, 46506, 3131, 62, 13033, 16034, 3084, 62, 3672, 62, 1065, 33411, 2292, 796, 366, 3506, 2063, 1891, 1, 5357, 2137, 796, 366, 305, 2032, 695, 266, 437, 695, ...
Find papers whose second author has last name 'Turon' and is affiliated with an institution in the country 'USA'.
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 JOIN inst AS t4 ON t2.instid = t4.instid WHERE t4.country = "USA" AND t2.authorder = 2 AND t1.lname = "Turon"
[ 16742, 9473, 3025, 1218, 1772, 468, 938, 1438, 705, 17483, 261, 6, 290, 318, 18552, 351, 281, 9901, 287, 262, 1499, 705, 14053, 4458, 46506, 256, 18, 13, 7839, 16034, 7035, 7054, 256, 16, 32357, 1268, 7035, 1056, 7054, 256, 17, 6177, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9473, 3025, 1218, 1772, 468, 938, 1438, 705, 17483, 261, 6, 290, 318, 18552, 351, 281, 9901, 287, 262, 1499, 705, 14053, 4458, 46506, 256, 18, 13, 7839, 16034, 7035, 7054, 256, 16, 32357, 1268, 7035, 1056, 7054, 256, 17, 6177, ...
What is the Name of the Mill Built in 1802?
SELECT name_of_mill FROM table_name_73 WHERE built = "1802"
[ 2061, 318, 262, 6530, 286, 262, 9212, 28477, 287, 1248, 2999, 30, 46506, 1438, 62, 1659, 62, 17805, 16034, 3084, 62, 3672, 62, 4790, 33411, 3170, 796, 366, 1507, 2999, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 6530, 286, 262, 9212, 28477, 287, 1248, 2999, 30, 46506, 1438, 62, 1659, 62, 17805, 16034, 3084, 62, 3672, 62, 4790, 33411, 3170, 796, 366, 1507, 2999, 1 ]
Unanswered Geocoding questions within the Google Maps tag.
SELECT post.Title, post.Tags, post.AnswerCount, postType.Name FROM Posts AS post INNER JOIN PostTypes AS postType ON postType.Id = post.PostTypeId WHERE post.Tags LIKE '%google-maps%' AND LOWER(post.Title) LIKE '%geocod%' AND post.AcceptedAnswerId IS NULL ORDER BY post.AnswerCount
[ 3118, 31966, 2269, 420, 7656, 2683, 1626, 262, 3012, 20347, 7621, 13, 46506, 1281, 13, 19160, 11, 1281, 13, 36142, 11, 1281, 13, 33706, 12332, 11, 1281, 6030, 13, 5376, 16034, 12043, 7054, 1281, 3268, 21479, 32357, 1268, 2947, 31431, 70...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3118, 31966, 2269, 420, 7656, 2683, 1626, 262, 3012, 20347, 7621, 13, 46506, 1281, 13, 19160, 11, 1281, 13, 36142, 11, 1281, 13, 33706, 12332, 11, 1281, 6030, 13, 5376, 16034, 12043, 7054, 1281, 3268, 21479, 32357, 1268, 2947, 31431, 70...
Which position was the World Indoor Championships in a year later than 2008?
SELECT "Position" FROM table_40511 WHERE "Competition" = 'world indoor championships' AND "Year" > '2008'
[ 13828, 2292, 373, 262, 2159, 1423, 2675, 24782, 287, 257, 614, 1568, 621, 3648, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 26598, 1157, 33411, 366, 7293, 15620, 1, 796, 705, 6894, 22639, 27459, 6, 5357, 366, 17688, 1, 1875, 705, 11528...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2292, 373, 262, 2159, 1423, 2675, 24782, 287, 257, 614, 1568, 621, 3648, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 26598, 1157, 33411, 366, 7293, 15620, 1, 796, 705, 6894, 22639, 27459, 6, 5357, 366, 17688, 1, 1875, 705, 11528...
For which .308 winchester cartridge type is the 300 m group ( moa ) 0.51
SELECT ".308 Winchester cartridge type" FROM table_17500 WHERE "300 m group ( MOA )" = '0.51'
[ 1890, 543, 764, 21495, 1592, 35983, 26904, 2099, 318, 262, 5867, 285, 1448, 357, 6941, 64, 1267, 657, 13, 4349, 46506, 27071, 21495, 40868, 26904, 2099, 1, 16034, 3084, 62, 1558, 4059, 33411, 366, 6200, 285, 1448, 357, 13070, 32, 1267, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 543, 764, 21495, 1592, 35983, 26904, 2099, 318, 262, 5867, 285, 1448, 357, 6941, 64, 1267, 657, 13, 4349, 46506, 27071, 21495, 40868, 26904, 2099, 1, 16034, 3084, 62, 1558, 4059, 33411, 366, 6200, 285, 1448, 357, 13070, 32, 1267, ...
How many distinct locations have the things with service detail 'Unsatisfied' been located in?
SELECT COUNT(DISTINCT T2.Location_Code) FROM Things AS T1 JOIN Timed_Locations_of_Things AS T2 ON T1.thing_id = T2.thing_id WHERE T1.service_details = 'Unsatisfied'
[ 2437, 867, 7310, 7064, 423, 262, 1243, 351, 2139, 3703, 705, 3118, 82, 17403, 798, 6, 587, 5140, 287, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 309, 17, 13, 14749, 62, 10669, 8, 16034, 11597, 7054, 309, 16, 32357, 1268, 5045, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7310, 7064, 423, 262, 1243, 351, 2139, 3703, 705, 3118, 82, 17403, 798, 6, 587, 5140, 287, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 309, 17, 13, 14749, 62, 10669, 8, 16034, 11597, 7054, 309, 16, 32357, 1268, 5045, ...
Name the date successor seated for delegate seat established
SELECT "Date successor seated" FROM table_73392 WHERE "Reason for change" = 'Delegate seat established'
[ 5376, 262, 3128, 17270, 21639, 329, 23191, 5852, 4920, 46506, 366, 10430, 17270, 21639, 1, 16034, 3084, 62, 49995, 5892, 33411, 366, 45008, 329, 1487, 1, 796, 705, 5005, 34637, 5852, 4920, 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 ]
[ 5376, 262, 3128, 17270, 21639, 329, 23191, 5852, 4920, 46506, 366, 10430, 17270, 21639, 1, 16034, 3084, 62, 49995, 5892, 33411, 366, 45008, 329, 1487, 1, 796, 705, 5005, 34637, 5852, 4920, 6 ]
How many different results came out of the round in which #98 All American Racers became the GTU winning team?
SELECT COUNT("Results") FROM table_857 WHERE "GTU Winning Team" = '#98 All American Racers'
[ 2437, 867, 1180, 2482, 1625, 503, 286, 262, 2835, 287, 543, 1303, 4089, 1439, 1605, 24746, 364, 2627, 262, 7963, 52, 5442, 1074, 30, 46506, 327, 28270, 7203, 25468, 4943, 16034, 3084, 62, 23, 3553, 33411, 366, 19555, 52, 40983, 4816, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1180, 2482, 1625, 503, 286, 262, 2835, 287, 543, 1303, 4089, 1439, 1605, 24746, 364, 2627, 262, 7963, 52, 5442, 1074, 30, 46506, 327, 28270, 7203, 25468, 4943, 16034, 3084, 62, 23, 3553, 33411, 366, 19555, 52, 40983, 4816, ...
What was the 2nd leg score for the match with Lesotho as team 1?
SELECT 2 AS nd_leg FROM table_name_82 WHERE team_1 = "lesotho"
[ 2061, 373, 262, 362, 358, 1232, 4776, 329, 262, 2872, 351, 11732, 849, 78, 355, 1074, 352, 30, 46506, 362, 7054, 299, 67, 62, 1455, 16034, 3084, 62, 3672, 62, 6469, 33411, 1074, 62, 16, 796, 366, 829, 849, 78, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 362, 358, 1232, 4776, 329, 262, 2872, 351, 11732, 849, 78, 355, 1074, 352, 30, 46506, 362, 7054, 299, 67, 62, 1455, 16034, 3084, 62, 3672, 62, 6469, 33411, 1074, 62, 16, 796, 366, 829, 849, 78, 1 ]
What is the 1979 number for Standing Rock Indian Reservation when the 1989 is less than 54.9?
SELECT SUM("1979") FROM table_47910 WHERE "Reservation" = 'standing rock indian reservation' AND "1989" < '54.9'
[ 2061, 318, 262, 13521, 1271, 329, 22493, 4631, 3942, 1874, 13208, 618, 262, 11104, 318, 1342, 621, 7175, 13, 24, 30, 46506, 35683, 7203, 33581, 4943, 16034, 3084, 62, 31714, 940, 33411, 366, 4965, 13208, 1, 796, 705, 5646, 3881, 773, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13521, 1271, 329, 22493, 4631, 3942, 1874, 13208, 618, 262, 11104, 318, 1342, 621, 7175, 13, 24, 30, 46506, 35683, 7203, 33581, 4943, 16034, 3084, 62, 31714, 940, 33411, 366, 4965, 13208, 1, 796, 705, 5646, 3881, 773, ...
What is the sum of Second, when Total is less than 70, when Premier is less than 20, and when First is greater than 18?
SELECT SUM("Second") FROM table_61392 WHERE "Total" < '70' AND "Premier" < '20' AND "First" > '18'
[ 2061, 318, 262, 2160, 286, 5498, 11, 618, 7472, 318, 1342, 621, 4317, 11, 618, 9952, 318, 1342, 621, 1160, 11, 290, 618, 3274, 318, 3744, 621, 1248, 30, 46506, 35683, 7203, 12211, 4943, 16034, 3084, 62, 47512, 5892, 33411, 366, 14957,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5498, 11, 618, 7472, 318, 1342, 621, 4317, 11, 618, 9952, 318, 1342, 621, 1160, 11, 290, 618, 3274, 318, 3744, 621, 1248, 30, 46506, 35683, 7203, 12211, 4943, 16034, 3084, 62, 47512, 5892, 33411, 366, 14957,...
What is the name of the course that has the most student enrollment?
SELECT T1.course_name FROM courses AS T1 JOIN student_course_enrolment AS T2 ON T1.course_id = T2.course_id GROUP BY T1.course_name ORDER BY COUNT(*) DESC LIMIT 1
[ 2061, 318, 262, 1438, 286, 262, 1781, 326, 468, 262, 749, 3710, 20753, 30, 46506, 309, 16, 13, 17319, 62, 3672, 16034, 10902, 7054, 309, 16, 32357, 1268, 3710, 62, 17319, 62, 268, 3225, 434, 7054, 309, 17, 6177, 309, 16, 13, 17319, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 318, 262, 1438, 286, 262, 1781, 326, 468, 262, 749, 3710, 20753, 30, 46506, 309, 16, 13, 17319, 62, 3672, 16034, 10902, 7054, 309, 16, 32357, 1268, 3710, 62, 17319, 62, 268, 3225, 434, 7054, 309, 17, 6177, 309, 16, 13, 17319, ...
what is the number of the episode in the season whose production code is 101?
SELECT COUNT(no) FROM table_28358487_3 WHERE production_code = 101
[ 10919, 318, 262, 1271, 286, 262, 4471, 287, 262, 1622, 3025, 3227, 2438, 318, 8949, 30, 46506, 327, 28270, 7, 3919, 8, 16034, 3084, 62, 2078, 31128, 35133, 62, 18, 33411, 3227, 62, 8189, 796, 8949 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 262, 4471, 287, 262, 1622, 3025, 3227, 2438, 318, 8949, 30, 46506, 327, 28270, 7, 3919, 8, 16034, 3084, 62, 2078, 31128, 35133, 62, 18, 33411, 3227, 62, 8189, 796, 8949 ]