instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
What are the most goals listed when Jack Trehey was the player, with the listed debut year of 1902, games less than 1?
SELECT MAX("Goals") FROM table_13757 WHERE "Debut year" = '1902' AND "Player" = 'jack trehey' AND "Games" < '1'
[ 2061, 389, 262, 749, 4661, 5610, 618, 3619, 4700, 20342, 373, 262, 2137, 11, 351, 262, 5610, 8886, 614, 286, 45611, 11, 1830, 1342, 621, 352, 30, 46506, 25882, 7203, 5247, 874, 4943, 16034, 3084, 62, 1485, 39251, 33411, 366, 16587, 31...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 389, 262, 749, 4661, 5610, 618, 3619, 4700, 20342, 373, 262, 2137, 11, 351, 262, 5610, 8886, 614, 286, 45611, 11, 1830, 1342, 621, 352, 30, 46506, 25882, 7203, 5247, 874, 4943, 16034, 3084, 62, 1485, 39251, 33411, 366, 16587, 31...
Which Republican ran against the American Labor candidate Matthew J. Merritt?
SELECT "Republican ticket" FROM table_42093 WHERE "American Labor ticket" = 'matthew j. merritt'
[ 13828, 3415, 4966, 1028, 262, 1605, 7882, 4540, 9308, 449, 13, 4638, 81, 715, 30, 46506, 366, 25777, 7846, 1, 16034, 3084, 62, 27211, 6052, 33411, 366, 7437, 7882, 7846, 1, 796, 705, 76, 1078, 6391, 474, 13, 4017, 81, 715, 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 ]
[ 13828, 3415, 4966, 1028, 262, 1605, 7882, 4540, 9308, 449, 13, 4638, 81, 715, 30, 46506, 366, 25777, 7846, 1, 16034, 3084, 62, 27211, 6052, 33411, 366, 7437, 7882, 7846, 1, 796, 705, 76, 1078, 6391, 474, 13, 4017, 81, 715, 6 ]
which delegate is older : the delegate for izabal or the one from jalapa ?
SELECT "hometown" FROM table_204_20 WHERE "hometown" IN ('izabal', 'jalapa') ORDER BY "age" DESC LIMIT 1
[ 4758, 23191, 318, 4697, 1058, 262, 23191, 329, 220, 528, 44349, 393, 262, 530, 422, 474, 282, 32678, 5633, 46506, 366, 71, 19191, 1, 16034, 3084, 62, 18638, 62, 1238, 33411, 366, 71, 19191, 1, 3268, 19203, 528, 44349, 3256, 705, 73, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 23191, 318, 4697, 1058, 262, 23191, 329, 220, 528, 44349, 393, 262, 530, 422, 474, 282, 32678, 5633, 46506, 366, 71, 19191, 1, 16034, 3084, 62, 18638, 62, 1238, 33411, 366, 71, 19191, 1, 3268, 19203, 528, 44349, 3256, 705, 73, ...
I want to see the away team the has a home team of richmond
SELECT "Away team" FROM table_58272 WHERE "Home team" = 'richmond'
[ 40, 765, 284, 766, 262, 1497, 1074, 262, 468, 257, 1363, 1074, 286, 5527, 6327, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 3365, 29807, 33411, 366, 16060, 1074, 1, 796, 705, 7527, 6327, 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 ]
[ 40, 765, 284, 766, 262, 1497, 1074, 262, 468, 257, 1363, 1074, 286, 5527, 6327, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 3365, 29807, 33411, 366, 16060, 1074, 1, 796, 705, 7527, 6327, 6 ]
which Oberliga Baden-W rttemberg has a Season of 1991-92?
SELECT "Oberliga Baden-W\u00fcrttemberg" FROM table_75233 WHERE "Season" = '1991-92'
[ 4758, 33753, 38910, 7772, 268, 12, 54, 374, 926, 1491, 70, 468, 257, 7369, 286, 10249, 12, 5892, 30, 46506, 366, 46, 527, 38910, 7772, 268, 12, 54, 59, 84, 405, 69, 6098, 926, 1491, 70, 1, 16034, 3084, 62, 2425, 25429, 33411, 366,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4758, 33753, 38910, 7772, 268, 12, 54, 374, 926, 1491, 70, 468, 257, 7369, 286, 10249, 12, 5892, 30, 46506, 366, 46, 527, 38910, 7772, 268, 12, 54, 59, 84, 405, 69, 6098, 926, 1491, 70, 1, 16034, 3084, 62, 2425, 25429, 33411, 366,...
what is the country when the base is ljubljana?
SELECT "country" FROM table_79406 WHERE "base" = 'ljubljana'
[ 10919, 318, 262, 1499, 618, 262, 2779, 318, 300, 73, 549, 75, 73, 2271, 30, 46506, 366, 19315, 1, 16034, 3084, 62, 3720, 29703, 33411, 366, 8692, 1, 796, 705, 75, 73, 549, 75, 73, 2271, 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 ]
[ 10919, 318, 262, 1499, 618, 262, 2779, 318, 300, 73, 549, 75, 73, 2271, 30, 46506, 366, 19315, 1, 16034, 3084, 62, 3720, 29703, 33411, 366, 8692, 1, 796, 705, 75, 73, 549, 75, 73, 2271, 6 ]
What is the highest 2011 population when the ethnic group is asian or asian british: asian other?
SELECT MAX("2011 population") FROM table_4013 WHERE "Ethnic group" = 'Asian or Asian British: Asian Other'
[ 2061, 318, 262, 4511, 2813, 3265, 618, 262, 9450, 1448, 318, 355, 666, 393, 355, 666, 275, 799, 680, 25, 355, 666, 584, 30, 46506, 25882, 7203, 9804, 3265, 4943, 16034, 3084, 62, 21844, 18, 33411, 366, 40226, 6988, 1448, 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 ]
[ 2061, 318, 262, 4511, 2813, 3265, 618, 262, 9450, 1448, 318, 355, 666, 393, 355, 666, 275, 799, 680, 25, 355, 666, 584, 30, 46506, 25882, 7203, 9804, 3265, 4943, 16034, 3084, 62, 21844, 18, 33411, 366, 40226, 6988, 1448, 1, 796, 705...
what date what the first game on ?
SELECT "date" FROM table_203_809 ORDER BY "date" LIMIT 1
[ 10919, 3128, 644, 262, 717, 983, 319, 5633, 46506, 366, 4475, 1, 16034, 3084, 62, 22416, 62, 34583, 38678, 11050, 366, 4475, 1, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 3128, 644, 262, 717, 983, 319, 5633, 46506, 366, 4475, 1, 16034, 3084, 62, 22416, 62, 34583, 38678, 11050, 366, 4475, 1, 27564, 2043, 352 ]
What was the record when chicago was the home team?
SELECT "Record" FROM table_57422 WHERE "Home" = 'chicago'
[ 2061, 373, 262, 1700, 618, 442, 4549, 373, 262, 1363, 1074, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 3553, 44361, 33411, 366, 16060, 1, 796, 705, 354, 4549, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 1700, 618, 442, 4549, 373, 262, 1363, 1074, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 3553, 44361, 33411, 366, 16060, 1, 796, 705, 354, 4549, 6 ]
Tell me the average top 10 for cuts made less than 10, wins less than 1 and top 25 of 5
SELECT AVG(top_10) FROM table_name_42 WHERE wins < 1 AND top_25 = 5 AND cuts_made < 10
[ 24446, 502, 262, 2811, 1353, 838, 329, 6630, 925, 1342, 621, 838, 11, 7864, 1342, 621, 352, 290, 1353, 1679, 286, 642, 46506, 35224, 7, 4852, 62, 940, 8, 16034, 3084, 62, 3672, 62, 3682, 33411, 7864, 1279, 352, 5357, 1353, 62, 1495,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 24446, 502, 262, 2811, 1353, 838, 329, 6630, 925, 1342, 621, 838, 11, 7864, 1342, 621, 352, 290, 1353, 1679, 286, 642, 46506, 35224, 7, 4852, 62, 940, 8, 16034, 3084, 62, 3672, 62, 3682, 33411, 7864, 1279, 352, 5357, 1353, 62, 1495,...
Which away team had a score of 11.11 (77)?
SELECT "Away team" FROM table_57088 WHERE "Away team score" = '11.11 (77)'
[ 13828, 1497, 1074, 550, 257, 4776, 286, 1367, 13, 1157, 357, 3324, 19427, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 39254, 3459, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 1157, 13, 1157, 357, 3324, 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 ]
[ 13828, 1497, 1074, 550, 257, 4776, 286, 1367, 13, 1157, 357, 3324, 19427, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 39254, 3459, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 1157, 13, 1157, 357, 3324, 33047 ]
What is 2004, when 2003 is '1R', and when 2006 is 'A'?
SELECT 2004 FROM table_name_20 WHERE 2003 = "1r" AND 2006 = "a"
[ 2061, 318, 5472, 11, 618, 5816, 318, 705, 16, 49, 3256, 290, 618, 4793, 318, 705, 32, 30960, 46506, 5472, 16034, 3084, 62, 3672, 62, 1238, 33411, 5816, 796, 366, 16, 81, 1, 5357, 4793, 796, 366, 64, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 5472, 11, 618, 5816, 318, 705, 16, 49, 3256, 290, 618, 4793, 318, 705, 32, 30960, 46506, 5472, 16034, 3084, 62, 3672, 62, 1238, 33411, 5816, 796, 366, 16, 81, 1, 5357, 4793, 796, 366, 64, 1 ]
Name the entrant for year more than 1991 and chassis of lotus 109
SELECT entrant FROM table_name_92 WHERE year > 1991 AND chassis = "lotus 109"
[ 5376, 262, 920, 5250, 329, 614, 517, 621, 10249, 290, 24587, 286, 1256, 385, 16003, 46506, 920, 5250, 16034, 3084, 62, 3672, 62, 5892, 33411, 614, 1875, 10249, 5357, 24587, 796, 366, 26487, 385, 16003, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 920, 5250, 329, 614, 517, 621, 10249, 290, 24587, 286, 1256, 385, 16003, 46506, 920, 5250, 16034, 3084, 62, 3672, 62, 5892, 33411, 614, 1875, 10249, 5357, 24587, 796, 366, 26487, 385, 16003, 1 ]
what is the number of patients whose diagnoses long title is other and unspecified agents primarily affecting the cardiovascular system causing adverse effects in therapeutic use?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE diagnoses.long_title = "Other and unspecified agents primarily affecting the cardiovascular system causing adverse effects in therapeutic use"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 40567, 890, 3670, 318, 584, 290, 29547, 6554, 7525, 13891, 262, 21134, 1080, 6666, 12681, 3048, 287, 21546, 779, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 160...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 1271, 286, 3871, 3025, 40567, 890, 3670, 318, 584, 290, 29547, 6554, 7525, 13891, 262, 21134, 1080, 6666, 12681, 3048, 287, 21546, 779, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 160...
Name the total number of points for chassis of bmw t269 (f2)
SELECT COUNT(points) FROM table_name_2 WHERE chassis = "bmw t269 (f2)"
[ 5376, 262, 2472, 1271, 286, 2173, 329, 24587, 286, 275, 76, 86, 256, 26276, 357, 69, 17, 8, 46506, 327, 28270, 7, 13033, 8, 16034, 3084, 62, 3672, 62, 17, 33411, 24587, 796, 366, 20475, 86, 256, 26276, 357, 69, 17, 16725 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 2472, 1271, 286, 2173, 329, 24587, 286, 275, 76, 86, 256, 26276, 357, 69, 17, 8, 46506, 327, 28270, 7, 13033, 8, 16034, 3084, 62, 3672, 62, 17, 33411, 24587, 796, 366, 20475, 86, 256, 26276, 357, 69, 17, 16725 ]
give me the number of patients whose religion is catholic and item id is 51067?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.religion = "CATHOLIC" AND lab.itemid = "51067"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 5737, 318, 32171, 4160, 290, 2378, 4686, 318, 35148, 3134, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 26535, 502, 262, 1271, 286, 3871, 3025, 5737, 318, 32171, 4160, 290, 2378, 4686, 318, 35148, 3134, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, ...
What was the higest attendance on November 9, 1958?
SELECT MAX(attendance) FROM table_name_4 WHERE date = "november 9, 1958"
[ 2061, 373, 262, 1880, 395, 14858, 319, 3389, 860, 11, 24648, 30, 46506, 25882, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 19, 33411, 3128, 796, 366, 77, 3239, 860, 11, 24648, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1880, 395, 14858, 319, 3389, 860, 11, 24648, 30, 46506, 25882, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 19, 33411, 3128, 796, 366, 77, 3239, 860, 11, 24648, 1 ]
What is the Lane of the swimmer with a Time of 8:34.25?
SELECT lane FROM table_name_30 WHERE time = "8:34.25"
[ 2061, 318, 262, 15016, 286, 262, 9422, 647, 351, 257, 3862, 286, 807, 25, 2682, 13, 1495, 30, 46506, 11193, 16034, 3084, 62, 3672, 62, 1270, 33411, 640, 796, 366, 23, 25, 2682, 13, 1495, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15016, 286, 262, 9422, 647, 351, 257, 3862, 286, 807, 25, 2682, 13, 1495, 30, 46506, 11193, 16034, 3084, 62, 3672, 62, 1270, 33411, 640, 796, 366, 23, 25, 2682, 13, 1495, 1 ]
what are the endings of examples achilles, appendices, f ces
SELECT "Ending" FROM table_1765 WHERE "Examples" = 'Achilles, appendices, fæces'
[ 10919, 389, 262, 38168, 286, 6096, 257, 354, 21718, 11, 24443, 1063, 11, 277, 269, 274, 46506, 366, 12915, 278, 1, 16034, 3084, 62, 1558, 2996, 33411, 366, 27730, 1, 796, 705, 32, 354, 21718, 11, 24443, 1063, 11, 277, 21241, 728, 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 ]
[ 10919, 389, 262, 38168, 286, 6096, 257, 354, 21718, 11, 24443, 1063, 11, 277, 269, 274, 46506, 366, 12915, 278, 1, 16034, 3084, 62, 1558, 2996, 33411, 366, 27730, 1, 796, 705, 32, 354, 21718, 11, 24443, 1063, 11, 277, 21241, 728, 6 ...
How many byes has a draw larger than 0?
SELECT COUNT("Byes") FROM table_58749 WHERE "Draws" > '0'
[ 2437, 867, 416, 274, 468, 257, 3197, 4025, 621, 657, 30, 46506, 327, 28270, 7203, 3886, 274, 4943, 16034, 3084, 62, 44617, 2920, 33411, 366, 25302, 82, 1, 1875, 705, 15, 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 ]
[ 2437, 867, 416, 274, 468, 257, 3197, 4025, 621, 657, 30, 46506, 327, 28270, 7203, 3886, 274, 4943, 16034, 3084, 62, 44617, 2920, 33411, 366, 25302, 82, 1, 1875, 705, 15, 6 ]
What was the overall draft pick of the player who was a db and attended college in iowa?
SELECT overall FROM table_name_82 WHERE college = "iowa" AND position = "db"
[ 2061, 373, 262, 4045, 4538, 2298, 286, 262, 2137, 508, 373, 257, 20613, 290, 9141, 4152, 287, 1312, 8455, 30, 46506, 4045, 16034, 3084, 62, 3672, 62, 6469, 33411, 4152, 796, 366, 72, 8455, 1, 5357, 2292, 796, 366, 9945, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4045, 4538, 2298, 286, 262, 2137, 508, 373, 257, 20613, 290, 9141, 4152, 287, 1312, 8455, 30, 46506, 4045, 16034, 3084, 62, 3672, 62, 6469, 33411, 4152, 796, 366, 72, 8455, 1, 5357, 2292, 796, 366, 9945, 1 ]
what is the name of the episode whose writer is philippe browning?
SELECT "Title" FROM table_3939 WHERE "Written by" = 'Philippe Browning'
[ 10919, 318, 262, 1438, 286, 262, 4471, 3025, 6260, 318, 872, 8908, 68, 7586, 278, 30, 46506, 366, 19160, 1, 16034, 3084, 62, 2670, 2670, 33411, 366, 25354, 416, 1, 796, 705, 49680, 68, 4373, 278, 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 ]
[ 10919, 318, 262, 1438, 286, 262, 4471, 3025, 6260, 318, 872, 8908, 68, 7586, 278, 30, 46506, 366, 19160, 1, 16034, 3084, 62, 2670, 2670, 33411, 366, 25354, 416, 1, 796, 705, 49680, 68, 4373, 278, 6 ]
Show the country names and the corresponding number of players in a pie chart.
SELECT Country_name, COUNT(*) FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id = T2.Country GROUP BY T1.Country_name
[ 15307, 262, 1499, 3891, 290, 262, 11188, 1271, 286, 1938, 287, 257, 2508, 8262, 13, 46506, 12946, 62, 3672, 11, 327, 28270, 7, 28104, 16034, 1499, 7054, 309, 16, 32357, 1268, 2872, 62, 6230, 7054, 309, 17, 6177, 309, 16, 13, 33921, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1499, 3891, 290, 262, 11188, 1271, 286, 1938, 287, 257, 2508, 8262, 13, 46506, 12946, 62, 3672, 11, 327, 28270, 7, 28104, 16034, 1499, 7054, 309, 16, 32357, 1268, 2872, 62, 6230, 7054, 309, 17, 6177, 309, 16, 13, 33921, ...
How many patients who passed away in or before 2168 were white russian?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "WHITE - RUSSIAN" AND demographic.dod_year <= "2168.0"
[ 2437, 867, 3871, 508, 3804, 1497, 287, 393, 878, 362, 14656, 547, 2330, 374, 31562, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 38546, 414, 796, 366, 12418, 12709, 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 ]
[ 2437, 867, 3871, 508, 3804, 1497, 287, 393, 878, 362, 14656, 547, 2330, 374, 31562, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 38546, 414, 796, 366, 12418, 12709, 532,...
when was patient 016-34426 until 2103 admitted for the first time to the hospital?
SELECT patient.hospitaladmittime FROM patient WHERE patient.uniquepid = '016-34426' AND STRFTIME('%y', patient.hospitaladmittime) <= '2103' ORDER BY patient.hospitaladmittime LIMIT 1
[ 12518, 373, 5827, 5534, 21, 12, 33535, 2075, 1566, 362, 15197, 6848, 329, 262, 717, 640, 284, 262, 4436, 30, 46506, 5827, 13, 49257, 324, 20124, 524, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 27037, 12, 33535, 2075,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5534, 21, 12, 33535, 2075, 1566, 362, 15197, 6848, 329, 262, 717, 640, 284, 262, 4436, 30, 46506, 5827, 13, 49257, 324, 20124, 524, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 27037, 12, 33535, 2075,...
what is the length of stay of patient 002-56583 for the last intensive care unit stay?
SELECT STRFTIME('%j', patient.unitdischargetime) - STRFTIME('%j', patient.unitadmittime) FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '002-56583') AND NOT patient.unitadmittime IS NULL ORDER BY patient.unitadmittime DESC LIMIT 1
[ 10919, 318, 262, 4129, 286, 2652, 286, 5827, 3571, 17, 12, 47372, 5999, 329, 262, 938, 18590, 1337, 4326, 2652, 30, 46506, 19269, 9792, 12789, 10786, 4, 73, 3256, 5827, 13, 20850, 6381, 354, 7641, 524, 8, 532, 19269, 9792, 12789, 1078...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4129, 286, 2652, 286, 5827, 3571, 17, 12, 47372, 5999, 329, 262, 938, 18590, 1337, 4326, 2652, 30, 46506, 19269, 9792, 12789, 10786, 4, 73, 3256, 5827, 13, 20850, 6381, 354, 7641, 524, 8, 532, 19269, 9792, 12789, 1078...
What is the number of patients who are prescribed main drug type and are diagnosed with intestinal perforation?
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 = "Perforation of intestine" AND prescriptions.drug_type = "MAIN"
[ 2061, 318, 262, 1271, 286, 3871, 508, 389, 14798, 1388, 2563, 2099, 290, 389, 14641, 351, 32031, 583, 1640, 341, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 318, 262, 1271, 286, 3871, 508, 389, 14798, 1388, 2563, 2099, 290, 389, 14641, 351, 32031, 583, 1640, 341, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 405...
What are the notes in 1981?
SELECT "Notes" FROM table_78527 WHERE "Year" = '1981'
[ 2061, 389, 262, 4710, 287, 14745, 30, 46506, 366, 16130, 1, 16034, 3084, 62, 41172, 1983, 33411, 366, 17688, 1, 796, 705, 35411, 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 ]
[ 2061, 389, 262, 4710, 287, 14745, 30, 46506, 366, 16130, 1, 16034, 3084, 62, 41172, 1983, 33411, 366, 17688, 1, 796, 705, 35411, 6 ]
What is the ergative for the dative chven?
SELECT ergative FROM table_name_33 WHERE dative = "chven"
[ 2061, 318, 262, 39035, 876, 329, 262, 288, 876, 442, 574, 30, 46506, 39035, 876, 16034, 3084, 62, 3672, 62, 2091, 33411, 288, 876, 796, 366, 354, 574, 1 ]
[ 1, 1, 1, 1, 1, 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, 39035, 876, 329, 262, 288, 876, 442, 574, 30, 46506, 39035, 876, 16034, 3084, 62, 3672, 62, 2091, 33411, 288, 876, 796, 366, 354, 574, 1 ]
What is the largest inflation % annual in 2012 of the country with a public debt % of GDP in 2013 Q1 greater than 88.2 and a GDP % of EU in 2012 of 2.9%?
SELECT MAX(inflation__percentage_annual__2012_) FROM table_name_74 WHERE public_debt__percentage_of_gdp__2013_q1_ > 88.2 AND gdp__percentage_of_eu__2012_ = "2.9%"
[ 2061, 318, 262, 4387, 10610, 4064, 5079, 287, 2321, 286, 262, 1499, 351, 257, 1171, 5057, 4064, 286, 12396, 287, 2211, 1195, 16, 3744, 621, 9193, 13, 17, 290, 257, 12396, 4064, 286, 4576, 287, 2321, 286, 362, 13, 24, 4, 30, 46506, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10610, 4064, 5079, 287, 2321, 286, 262, 1499, 351, 257, 1171, 5057, 4064, 286, 12396, 287, 2211, 1195, 16, 3744, 621, 9193, 13, 17, 290, 257, 12396, 4064, 286, 4576, 287, 2321, 286, 362, 13, 24, 4, 30, 46506, ...
How many people attended the game at Jahn-sportpark?
SELECT MIN("Attendance") FROM table_3141 WHERE "Game site" = 'Jahn-Sportpark'
[ 2437, 867, 661, 9141, 262, 983, 379, 449, 15386, 12, 82, 634, 20928, 30, 46506, 20625, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 18, 23756, 33411, 366, 8777, 2524, 1, 796, 705, 41, 15386, 12, 42576, 20928, 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 ]
[ 2437, 867, 661, 9141, 262, 983, 379, 449, 15386, 12, 82, 634, 20928, 30, 46506, 20625, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 18, 23756, 33411, 366, 8777, 2524, 1, 796, 705, 41, 15386, 12, 42576, 20928, 6 ]
How many rounds have a Pick smaller than 10, and a Name of larry hendershot?
SELECT COUNT(round) FROM table_name_70 WHERE pick < 10 AND name = "larry hendershot"
[ 2437, 867, 9196, 423, 257, 12346, 4833, 621, 838, 11, 290, 257, 6530, 286, 300, 6532, 339, 358, 364, 8940, 30, 46506, 327, 28270, 7, 744, 8, 16034, 3084, 62, 3672, 62, 2154, 33411, 2298, 1279, 838, 5357, 1438, 796, 366, 75, 6532, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9196, 423, 257, 12346, 4833, 621, 838, 11, 290, 257, 6530, 286, 300, 6532, 339, 358, 364, 8940, 30, 46506, 327, 28270, 7, 744, 8, 16034, 3084, 62, 3672, 62, 2154, 33411, 2298, 1279, 838, 5357, 1438, 796, 366, 75, 6532, ...
What is Points, when Draws is less than 7, when Wins is less than 16, and when Goals For is '35'?
SELECT points FROM table_name_17 WHERE draws < 7 AND wins < 16 AND goals_for = 35
[ 2061, 318, 11045, 11, 618, 15315, 82, 318, 1342, 621, 767, 11, 618, 24423, 318, 1342, 621, 1467, 11, 290, 618, 28510, 1114, 318, 705, 2327, 30960, 46506, 2173, 16034, 3084, 62, 3672, 62, 1558, 33411, 14293, 1279, 767, 5357, 7864, 1279...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 11045, 11, 618, 15315, 82, 318, 1342, 621, 767, 11, 618, 24423, 318, 1342, 621, 1467, 11, 290, 618, 28510, 1114, 318, 705, 2327, 30960, 46506, 2173, 16034, 3084, 62, 3672, 62, 1558, 33411, 14293, 1279, 767, 5357, 7864, 1279...
the patient and parent / guardian are fluent in english .
SELECT * FROM table_train_71 WHERE language = 'english'
[ 1169, 5827, 290, 2560, 1220, 21688, 389, 43472, 287, 46932, 764, 46506, 1635, 16034, 3084, 62, 27432, 62, 4869, 33411, 3303, 796, 705, 39126, 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 ]
[ 1169, 5827, 290, 2560, 1220, 21688, 389, 43472, 287, 46932, 764, 46506, 1635, 16034, 3084, 62, 27432, 62, 4869, 33411, 3303, 796, 705, 39126, 6 ]
What was the score on February 21 when the home team was the Pittsburgh Penguins?
SELECT "Score" FROM table_60623 WHERE "Home" = 'pittsburgh penguins' AND "Date" = 'february 21'
[ 2061, 373, 262, 4776, 319, 3945, 2310, 618, 262, 1363, 1074, 373, 262, 12767, 29755, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 33206, 1954, 33411, 366, 16060, 1, 796, 705, 79, 715, 11931, 38373, 1040, 6, 5357, 366, 10430, 1, 796, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 4776, 319, 3945, 2310, 618, 262, 1363, 1074, 373, 262, 12767, 29755, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 33206, 1954, 33411, 366, 16060, 1, 796, 705, 79, 715, 11931, 38373, 1040, 6, 5357, 366, 10430, 1, 796, 7...
What team did the home team play on September 4?
SELECT opponent FROM table_name_2 WHERE date = "september 4"
[ 2061, 1074, 750, 262, 1363, 1074, 711, 319, 2693, 604, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 17, 33411, 3128, 796, 366, 325, 457, 1491, 604, 1 ]
[ 1, 1, 1, 1, 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, 750, 262, 1363, 1074, 711, 319, 2693, 604, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 17, 33411, 3128, 796, 366, 325, 457, 1491, 604, 1 ]
What are Depositional Environments courses of 3 credits ?
SELECT DISTINCT department, name, number FROM course WHERE (description LIKE '%Depositional Environments%' OR name LIKE '%Depositional Environments%') AND credits = 3
[ 2061, 389, 2129, 418, 1859, 2039, 12103, 10902, 286, 513, 10824, 5633, 46506, 360, 8808, 1268, 4177, 5011, 11, 1438, 11, 1271, 16034, 1781, 33411, 357, 11213, 34178, 705, 4, 12156, 418, 1859, 2039, 12103, 4, 6, 6375, 1438, 34178, 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 ]
[ 2061, 389, 2129, 418, 1859, 2039, 12103, 10902, 286, 513, 10824, 5633, 46506, 360, 8808, 1268, 4177, 5011, 11, 1438, 11, 1271, 16034, 1781, 33411, 357, 11213, 34178, 705, 4, 12156, 418, 1859, 2039, 12103, 4, 6, 6375, 1438, 34178, 705, ...
List the team that won the 2001 mwc men's basketball tournament
SELECT "Tournament Winner" FROM table_26772 WHERE "Conference Tournament" = '2001 MWC Men''s Basketball Tournament'
[ 8053, 262, 1074, 326, 1839, 262, 5878, 285, 86, 66, 1450, 338, 9669, 7756, 46506, 366, 51, 5138, 25358, 1, 16034, 3084, 62, 2075, 43571, 33411, 366, 3103, 4288, 9595, 1, 796, 705, 14585, 337, 27353, 6065, 7061, 82, 25911, 9595, 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 ]
[ 8053, 262, 1074, 326, 1839, 262, 5878, 285, 86, 66, 1450, 338, 9669, 7756, 46506, 366, 51, 5138, 25358, 1, 16034, 3084, 62, 2075, 43571, 33411, 366, 3103, 4288, 9595, 1, 796, 705, 14585, 337, 27353, 6065, 7061, 82, 25911, 9595, 6 ]
what's the result with incumbent being bill g. lowrey
SELECT result FROM table_1342379_23 WHERE incumbent = "Bill G. Lowrey"
[ 10919, 338, 262, 1255, 351, 23526, 852, 2855, 308, 13, 1877, 4364, 46506, 1255, 16034, 3084, 62, 19880, 1954, 3720, 62, 1954, 33411, 23526, 796, 366, 17798, 402, 13, 7754, 4364, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 1255, 351, 23526, 852, 2855, 308, 13, 1877, 4364, 46506, 1255, 16034, 3084, 62, 19880, 1954, 3720, 62, 1954, 33411, 23526, 796, 366, 17798, 402, 13, 7754, 4364, 1 ]
Find all information of all the products with a price between $60 and $120.
SELECT * FROM products WHERE price BETWEEN 60 AND 120
[ 16742, 477, 1321, 286, 477, 262, 3186, 351, 257, 2756, 1022, 720, 1899, 290, 720, 10232, 13, 46506, 1635, 16034, 3186, 33411, 2756, 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 ]
[ 16742, 477, 1321, 286, 477, 262, 3186, 351, 257, 2756, 1022, 720, 1899, 290, 720, 10232, 13, 46506, 1635, 16034, 3186, 33411, 2756, 38651, 8845, 1677, 3126, 5357, 7982 ]
What position did Tara Palmer-Tomkinson finish?
SELECT finished FROM table_14345690_2 WHERE celebrity = "Tara Palmer-Tomkinson"
[ 2061, 2292, 750, 37723, 18918, 12, 13787, 26030, 5461, 30, 46506, 5201, 16034, 3084, 62, 21139, 2231, 35844, 62, 17, 33411, 16527, 796, 366, 51, 3301, 18918, 12, 13787, 26030, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 2292, 750, 37723, 18918, 12, 13787, 26030, 5461, 30, 46506, 5201, 16034, 3084, 62, 21139, 2231, 35844, 62, 17, 33411, 16527, 796, 366, 51, 3301, 18918, 12, 13787, 26030, 1 ]
What Premier League Manager has an Adidas sponsor and a Newcastle United club?
SELECT "Manager" FROM table_79806 WHERE "Manufacturer" = 'adidas' AND "Club" = 'newcastle united'
[ 2061, 9952, 4041, 9142, 468, 281, 48976, 17487, 290, 257, 22410, 1578, 3430, 30, 46506, 366, 13511, 1, 16034, 3084, 62, 3720, 37988, 33411, 366, 44445, 15051, 1, 796, 705, 324, 24496, 6, 5357, 366, 42350, 1, 796, 705, 3605, 18676, 165...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9952, 4041, 9142, 468, 281, 48976, 17487, 290, 257, 22410, 1578, 3430, 30, 46506, 366, 13511, 1, 16034, 3084, 62, 3720, 37988, 33411, 366, 44445, 15051, 1, 796, 705, 324, 24496, 6, 5357, 366, 42350, 1, 796, 705, 3605, 18676, 165...
What is the lowest number of votes in elections that had 34.39% of seats contested?
SELECT MIN("No. of Votes") FROM table_2644 WHERE "% in Seats contested" = '34.39%'
[ 2061, 318, 262, 9016, 1271, 286, 5690, 287, 7024, 326, 550, 4974, 13, 2670, 4, 286, 8632, 24163, 30, 46506, 20625, 7203, 2949, 13, 286, 39584, 4943, 16034, 3084, 62, 2075, 2598, 33411, 36521, 287, 1001, 1381, 24163, 1, 796, 705, 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, 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, 5690, 287, 7024, 326, 550, 4974, 13, 2670, 4, 286, 8632, 24163, 30, 46506, 20625, 7203, 2949, 13, 286, 39584, 4943, 16034, 3084, 62, 2075, 2598, 33411, 36521, 287, 1001, 1381, 24163, 1, 796, 705, 2682,...
Who was the rider with more than 5 laps on a grid bigger than 29 on a Honda CBR600RR and time at +1:27.385?
SELECT rider FROM table_name_88 WHERE laps > 5 AND grid > 29 AND bike = "honda cbr600rr" AND time = "+1:27.385"
[ 8241, 373, 262, 17876, 351, 517, 621, 642, 24590, 319, 257, 10706, 5749, 621, 2808, 319, 257, 20059, 10078, 49, 8054, 21095, 290, 640, 379, 1343, 16, 25, 1983, 13, 27203, 30, 46506, 17876, 16034, 3084, 62, 3672, 62, 3459, 33411, 24590...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17876, 351, 517, 621, 642, 24590, 319, 257, 10706, 5749, 621, 2808, 319, 257, 20059, 10078, 49, 8054, 21095, 290, 640, 379, 1343, 16, 25, 1983, 13, 27203, 30, 46506, 17876, 16034, 3084, 62, 3672, 62, 3459, 33411, 24590...
What was the result of the game on September 25 with a box score of box?
SELECT result FROM table_name_51 WHERE box_scores = "box" AND date = "september 25"
[ 2061, 373, 262, 1255, 286, 262, 983, 319, 2693, 1679, 351, 257, 3091, 4776, 286, 3091, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 4349, 33411, 3091, 62, 1416, 2850, 796, 366, 3524, 1, 5357, 3128, 796, 366, 325, 457, 1491, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 1255, 286, 262, 983, 319, 2693, 1679, 351, 257, 3091, 4776, 286, 3091, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 4349, 33411, 3091, 62, 1416, 2850, 796, 366, 3524, 1, 5357, 3128, 796, 366, 325, 457, 1491, 1679, 1 ]
has there been any microbiological test done to patient 6196's stool (received in transport system) in their last hospital encounter?
SELECT COUNT(*) > 0 FROM microbiologyevents WHERE microbiologyevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 6196 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime DESC LIMIT 1) AND microbiologyevents.spec_type_desc = 'stool (received in transport system)'
[ 10134, 612, 587, 597, 24559, 2770, 1332, 1760, 284, 5827, 718, 25272, 338, 38753, 357, 47844, 287, 4839, 1080, 8, 287, 511, 938, 4436, 8791, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 24559, 1435, 31534, 33411, 24559, 1435, 3153...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10134, 612, 587, 597, 24559, 2770, 1332, 1760, 284, 5827, 718, 25272, 338, 38753, 357, 47844, 287, 4839, 1080, 8, 287, 511, 938, 4436, 8791, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 24559, 1435, 31534, 33411, 24559, 1435, 3153...
What is the lowest Year, when Notes is '5.19km, 18controls'?
SELECT MIN("Year") FROM table_62002 WHERE "Notes" = '5.19km, 18controls'
[ 2061, 318, 262, 9016, 6280, 11, 618, 11822, 318, 705, 20, 13, 1129, 13276, 11, 1248, 13716, 82, 30960, 46506, 20625, 7203, 17688, 4943, 16034, 3084, 62, 21, 16942, 33411, 366, 16130, 1, 796, 705, 20, 13, 1129, 13276, 11, 1248, 13716, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6280, 11, 618, 11822, 318, 705, 20, 13, 1129, 13276, 11, 1248, 13716, 82, 30960, 46506, 20625, 7203, 17688, 4943, 16034, 3084, 62, 21, 16942, 33411, 366, 16130, 1, 796, 705, 20, 13, 1129, 13276, 11, 1248, 13716, ...
Which Date has an Attendance of 54,626?
SELECT date FROM table_name_71 WHERE attendance = "54,626"
[ 13828, 7536, 468, 281, 46502, 590, 286, 7175, 11, 45191, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 4869, 33411, 14858, 796, 366, 4051, 11, 45191, 1 ]
[ 1, 1, 1, 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, 7536, 468, 281, 46502, 590, 286, 7175, 11, 45191, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 4869, 33411, 14858, 796, 366, 4051, 11, 45191, 1 ]
How many copies per particle does the protein nsp2 have?
SELECT copies_per_particle FROM table_name_46 WHERE protein = "nsp2"
[ 2437, 867, 9088, 583, 18758, 857, 262, 7532, 299, 2777, 17, 423, 30, 46506, 9088, 62, 525, 62, 3911, 1548, 16034, 3084, 62, 3672, 62, 3510, 33411, 7532, 796, 366, 77, 2777, 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 ]
[ 2437, 867, 9088, 583, 18758, 857, 262, 7532, 299, 2777, 17, 423, 30, 46506, 9088, 62, 525, 62, 3911, 1548, 16034, 3084, 62, 3672, 62, 3510, 33411, 7532, 796, 366, 77, 2777, 17, 1 ]
What is the City, when the Prize is $1,859,000?
SELECT city FROM table_name_17 WHERE prize = "$1,859,000"
[ 2061, 318, 262, 2254, 11, 618, 262, 15895, 318, 720, 16, 11, 23, 3270, 11, 830, 30, 46506, 1748, 16034, 3084, 62, 3672, 62, 1558, 33411, 11596, 796, 17971, 16, 11, 23, 3270, 11, 830, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2254, 11, 618, 262, 15895, 318, 720, 16, 11, 23, 3270, 11, 830, 30, 46506, 1748, 16034, 3084, 62, 3672, 62, 1558, 33411, 11596, 796, 17971, 16, 11, 23, 3270, 11, 830, 1 ]
How many laps have a time/retired of +23.080?
SELECT laps FROM table_name_51 WHERE time_retired = "+23.080"
[ 2437, 867, 24590, 423, 257, 640, 14, 1186, 1202, 286, 1343, 1954, 13, 33057, 30, 46506, 24590, 16034, 3084, 62, 3672, 62, 4349, 33411, 640, 62, 1186, 1202, 796, 43825, 1954, 13, 33057, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 24590, 423, 257, 640, 14, 1186, 1202, 286, 1343, 1954, 13, 33057, 30, 46506, 24590, 16034, 3084, 62, 3672, 62, 4349, 33411, 640, 62, 1186, 1202, 796, 43825, 1954, 13, 33057, 1 ]
The morning GEOSCI 550 course is at what time ?
SELECT DISTINCT course_offering.end_time, course_offering.start_time, semester.semester, semester.year FROM course, course_offering, semester WHERE course_offering.start_time < '12:00:00' AND course_offering.start_time >= '08:00:00' AND course.course_id = course_offering.course_id AND course.department = 'GEOSCI' AND c...
[ 464, 3329, 22319, 2640, 25690, 25240, 1781, 318, 379, 644, 640, 5633, 46506, 360, 8808, 1268, 4177, 1781, 62, 2364, 1586, 13, 437, 62, 2435, 11, 1781, 62, 2364, 1586, 13, 9688, 62, 2435, 11, 24878, 13, 325, 6880, 353, 11, 24878, 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...
[ 464, 3329, 22319, 2640, 25690, 25240, 1781, 318, 379, 644, 640, 5633, 46506, 360, 8808, 1268, 4177, 1781, 62, 2364, 1586, 13, 437, 62, 2435, 11, 1781, 62, 2364, 1586, 13, 9688, 62, 2435, 11, 24878, 13, 325, 6880, 353, 11, 24878, 13,...
What is the date of the final that has a score of 3 6, 6 3, 6 4 and penny barg paula smith was the opponent?
SELECT date FROM table_name_98 WHERE score_in_the_final = "3–6, 6–3, 6–4" AND opponents_in_the_final = "penny barg paula smith"
[ 2061, 318, 262, 3128, 286, 262, 2457, 326, 468, 257, 4776, 286, 513, 718, 11, 718, 513, 11, 718, 604, 290, 26369, 12828, 279, 2518, 64, 895, 342, 373, 262, 6125, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 4089, 33411, 4776, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 318, 262, 3128, 286, 262, 2457, 326, 468, 257, 4776, 286, 513, 718, 11, 718, 513, 11, 718, 604, 290, 26369, 12828, 279, 2518, 64, 895, 342, 373, 262, 6125, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 4089, 33411, 4776, 62, 2...
How many patients stay in room 112?
SELECT COUNT(patient) FROM stay WHERE room = 112
[ 2437, 867, 3871, 2652, 287, 2119, 13539, 30, 46506, 327, 28270, 7, 26029, 8, 16034, 2652, 33411, 2119, 796, 13539 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 3871, 2652, 287, 2119, 13539, 30, 46506, 327, 28270, 7, 26029, 8, 16034, 2652, 33411, 2119, 796, 13539 ]
Which region was on June 8, 2004?
SELECT region FROM table_name_7 WHERE date = "june 8, 2004"
[ 13828, 3814, 373, 319, 2795, 807, 11, 5472, 30, 46506, 3814, 16034, 3084, 62, 3672, 62, 22, 33411, 3128, 796, 366, 73, 1726, 807, 11, 5472, 1 ]
[ 1, 1, 1, 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, 3814, 373, 319, 2795, 807, 11, 5472, 30, 46506, 3814, 16034, 3084, 62, 3672, 62, 22, 33411, 3128, 796, 366, 73, 1726, 807, 11, 5472, 1 ]
What is the score for Collingwood as the home team?
SELECT "Home team score" FROM table_53391 WHERE "Home team" = 'collingwood'
[ 2061, 318, 262, 4776, 329, 7778, 278, 3822, 355, 262, 1363, 1074, 30, 46506, 366, 16060, 1074, 4776, 1, 16034, 3084, 62, 44994, 6420, 33411, 366, 16060, 1074, 1, 796, 705, 26000, 278, 3822, 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, 4776, 329, 7778, 278, 3822, 355, 262, 1363, 1074, 30, 46506, 366, 16060, 1074, 4776, 1, 16034, 3084, 62, 44994, 6420, 33411, 366, 16060, 1074, 1, 796, 705, 26000, 278, 3822, 6 ]
Which average attendance has stoneman (0-2) as the loss?
SELECT AVG(attendance) FROM table_name_18 WHERE loss = "stoneman (0-2)"
[ 13828, 2811, 14858, 468, 336, 261, 8463, 357, 15, 12, 17, 8, 355, 262, 2994, 30, 46506, 35224, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 1507, 33411, 2994, 796, 366, 3743, 8463, 357, 15, 12, 17, 16725 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2811, 14858, 468, 336, 261, 8463, 357, 15, 12, 17, 8, 355, 262, 2994, 30, 46506, 35224, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 1507, 33411, 2994, 796, 366, 3743, 8463, 357, 15, 12, 17, 16725 ]
Pie. what is total number of show times per dat for each cinema?
SELECT Name, SUM(T1.Show_times_per_day) FROM schedule AS T1 JOIN cinema AS T2 ON T1.Cinema_ID = T2.Cinema_ID GROUP BY T1.Cinema_ID
[ 48223, 13, 644, 318, 2472, 1271, 286, 905, 1661, 583, 4818, 329, 1123, 22041, 30, 46506, 6530, 11, 35683, 7, 51, 16, 13, 15307, 62, 22355, 62, 525, 62, 820, 8, 16034, 7269, 7054, 309, 16, 32357, 1268, 22041, 7054, 309, 17, 6177, 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...
[ 48223, 13, 644, 318, 2472, 1271, 286, 905, 1661, 583, 4818, 329, 1123, 22041, 30, 46506, 6530, 11, 35683, 7, 51, 16, 13, 15307, 62, 22355, 62, 525, 62, 820, 8, 16034, 7269, 7054, 309, 16, 32357, 1268, 22041, 7054, 309, 17, 6177, 3...
WHAT ARE THE HIGHEST POINTS WITH GOALS LARGER THAN 48, WINS LESS THAN 19, GOALS AGAINST SMALLER THAN 44, DRAWS LARGER THAN 5?
SELECT MAX("Points") FROM table_61005 WHERE "Goals for" > '48' AND "Wins" < '19' AND "Goals against" < '44' AND "Draws" > '5'
[ 32971, 15986, 3336, 34677, 6465, 19922, 1268, 4694, 13315, 10351, 23333, 47211, 30373, 2320, 1565, 4764, 11, 370, 20913, 406, 7597, 2320, 1565, 678, 11, 10351, 23333, 36218, 38604, 9447, 7036, 1137, 2320, 1565, 5846, 11, 360, 3861, 19416, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15986, 3336, 34677, 6465, 19922, 1268, 4694, 13315, 10351, 23333, 47211, 30373, 2320, 1565, 4764, 11, 370, 20913, 406, 7597, 2320, 1565, 678, 11, 10351, 23333, 36218, 38604, 9447, 7036, 1137, 2320, 1565, 5846, 11, 360, 3861, 19416, ...
What is the total number of capacity for the venue of the club, pirin?
SELECT COUNT(capacity) FROM table_name_30 WHERE club = "pirin"
[ 2061, 318, 262, 2472, 1271, 286, 5339, 329, 262, 14359, 286, 262, 3430, 11, 12276, 259, 30, 46506, 327, 28270, 7, 42404, 8, 16034, 3084, 62, 3672, 62, 1270, 33411, 3430, 796, 366, 4063, 259, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2472, 1271, 286, 5339, 329, 262, 14359, 286, 262, 3430, 11, 12276, 259, 30, 46506, 327, 28270, 7, 42404, 8, 16034, 3084, 62, 3672, 62, 1270, 33411, 3430, 796, 366, 4063, 259, 1 ]
How many attempts did Charles White make?
SELECT MIN("Attempts") FROM table_144 WHERE "Player" = 'Charles White'
[ 2437, 867, 6370, 750, 7516, 2635, 787, 30, 46506, 20625, 7203, 48452, 4943, 16034, 3084, 62, 18444, 33411, 366, 14140, 1, 796, 705, 28711, 2635, 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 ]
[ 2437, 867, 6370, 750, 7516, 2635, 787, 30, 46506, 20625, 7203, 48452, 4943, 16034, 3084, 62, 18444, 33411, 366, 14140, 1, 796, 705, 28711, 2635, 6 ]
Tell me the total number of Qual Laps higher than 93 with a Rank of 32 with Grid less than 32
SELECT COUNT("Qual") FROM table_11312 WHERE "Laps" > '93' AND "Rank" = '32' AND "Grid" < '32'
[ 24446, 502, 262, 2472, 1271, 286, 9537, 406, 1686, 2440, 621, 10261, 351, 257, 10916, 286, 3933, 351, 24846, 1342, 621, 3933, 46506, 327, 28270, 7203, 46181, 4943, 16034, 3084, 62, 16616, 1065, 33411, 366, 43, 1686, 1, 1875, 705, 6052, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 24446, 502, 262, 2472, 1271, 286, 9537, 406, 1686, 2440, 621, 10261, 351, 257, 10916, 286, 3933, 351, 24846, 1342, 621, 3933, 46506, 327, 28270, 7203, 46181, 4943, 16034, 3084, 62, 16616, 1065, 33411, 366, 43, 1686, 1, 1875, 705, 6052, ...
what is the FIRST class fare on UA flight 352 from DENVER to BOSTON
SELECT DISTINCT fare.fare_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 = 'BOSTON' AND flight.flight_number = 352 AND flight.to_airport ...
[ 10919, 318, 262, 31328, 1398, 14505, 319, 46164, 5474, 44063, 422, 37692, 5959, 284, 347, 10892, 1340, 46506, 360, 8808, 1268, 4177, 14505, 13, 9496, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 900...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 31328, 1398, 14505, 319, 46164, 5474, 44063, 422, 37692, 5959, 284, 347, 10892, 1340, 46506, 360, 8808, 1268, 4177, 14505, 13, 9496, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 900...
How many options are there for professors of BA 554 in Summer 2016 ?
SELECT COUNT(DISTINCT instructor.instructor_id) FROM course, course_offering, instructor, offering_instructor, semester WHERE course.course_id = course_offering.course_id AND course.department = 'BA' AND course.number = 554 AND offering_instructor.instructor_id = instructor.instructor_id AND offering_instructor.offerin...
[ 2437, 867, 3689, 389, 612, 329, 20339, 286, 23715, 642, 4051, 287, 10216, 1584, 5633, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 21187, 13, 259, 7249, 273, 62, 312, 8, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 21187, 11, 6011, 62,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2437, 867, 3689, 389, 612, 329, 20339, 286, 23715, 642, 4051, 287, 10216, 1584, 5633, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 21187, 13, 259, 7249, 273, 62, 312, 8, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 21187, 11, 6011, 62,...
What is the CC displacement for 1965?
SELECT displacement_cc FROM table_name_94 WHERE year = "1965"
[ 2061, 318, 262, 12624, 29358, 329, 17672, 30, 46506, 29358, 62, 535, 16034, 3084, 62, 3672, 62, 5824, 33411, 614, 796, 366, 45271, 1 ]
[ 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, 12624, 29358, 329, 17672, 30, 46506, 29358, 62, 535, 16034, 3084, 62, 3672, 62, 5824, 33411, 614, 796, 366, 45271, 1 ]
What Russian Social Fiction courses do n't have any prerequisites ?
SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN area ON course.course_id = area.course_id WHERE (area.area LIKE '%Russian Social Fiction%' OR course.description LIKE '%Russian Social Fiction%' OR course.name LIKE '%Russian Social Fiction%') AND course.enforced_requirement = 'N / A'
[ 2061, 3394, 5483, 26756, 10902, 466, 299, 470, 423, 597, 662, 34075, 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, 1781, 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, 3394, 5483, 26756, 10902, 466, 299, 470, 423, 597, 662, 34075, 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, 1781, 13, 17319,...
Name the D 47 when it has a D 41 of r 36
SELECT d_47 FROM table_name_93 WHERE d_41 = "r 36"
[ 5376, 262, 360, 6298, 618, 340, 468, 257, 360, 6073, 286, 374, 4570, 46506, 288, 62, 2857, 16034, 3084, 62, 3672, 62, 6052, 33411, 288, 62, 3901, 796, 366, 81, 4570, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 360, 6298, 618, 340, 468, 257, 360, 6073, 286, 374, 4570, 46506, 288, 62, 2857, 16034, 3084, 62, 3672, 62, 6052, 33411, 288, 62, 3901, 796, 366, 81, 4570, 1 ]
Name the results for steve millen
SELECT "Results" FROM table_853 WHERE "GTO Winning Team" = 'Steve Millen'
[ 5376, 262, 2482, 329, 2876, 303, 3939, 268, 46506, 366, 25468, 1, 16034, 3084, 62, 23, 4310, 33411, 366, 38, 10468, 40983, 4816, 1, 796, 705, 19206, 9212, 268, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 2482, 329, 2876, 303, 3939, 268, 46506, 366, 25468, 1, 16034, 3084, 62, 23, 4310, 33411, 366, 38, 10468, 40983, 4816, 1, 796, 705, 19206, 9212, 268, 6 ]
Who performed all the high rebounds when craig smith (4) was the lead for high assists?
SELECT "High rebounds" FROM table_21244 WHERE "High assists" = 'Craig Smith (4)'
[ 8241, 6157, 477, 262, 1029, 18841, 618, 15671, 328, 895, 342, 357, 19, 8, 373, 262, 1085, 329, 1029, 13648, 30, 46506, 366, 11922, 18841, 1, 16034, 3084, 62, 21777, 2598, 33411, 366, 11922, 13648, 1, 796, 705, 40441, 4176, 357, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 6157, 477, 262, 1029, 18841, 618, 15671, 328, 895, 342, 357, 19, 8, 373, 262, 1085, 329, 1029, 13648, 30, 46506, 366, 11922, 18841, 1, 16034, 3084, 62, 21777, 2598, 33411, 366, 11922, 13648, 1, 796, 705, 40441, 4176, 357, 19, ...
Where was Steve Stricker from?
SELECT "Place" FROM table_66816 WHERE "Player" = 'steve stricker'
[ 8496, 373, 6542, 4285, 15799, 422, 30, 46506, 366, 27271, 1, 16034, 3084, 62, 35809, 1433, 33411, 366, 14140, 1, 796, 705, 4169, 303, 965, 15799, 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 ]
[ 8496, 373, 6542, 4285, 15799, 422, 30, 46506, 366, 27271, 1, 16034, 3084, 62, 35809, 1433, 33411, 366, 14140, 1, 796, 705, 4169, 303, 965, 15799, 6 ]
In what week was the Result L 15-13?
SELECT AVG(week) FROM table_name_91 WHERE result = "l 15-13"
[ 818, 644, 1285, 373, 262, 25414, 406, 1315, 12, 1485, 30, 46506, 35224, 7, 10464, 8, 16034, 3084, 62, 3672, 62, 6420, 33411, 1255, 796, 366, 75, 1315, 12, 1485, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 818, 644, 1285, 373, 262, 25414, 406, 1315, 12, 1485, 30, 46506, 35224, 7, 10464, 8, 16034, 3084, 62, 3672, 62, 6420, 33411, 1255, 796, 366, 75, 1315, 12, 1485, 1 ]
What is the nationality of the player who scored 13 goals
SELECT nationality² FROM table_24565004_7 WHERE goals¹ = 13
[ 2061, 318, 262, 29835, 286, 262, 2137, 508, 7781, 1511, 4661, 46506, 29835, 31185, 16034, 3084, 62, 22995, 2996, 22914, 62, 22, 33411, 4661, 126, 117, 796, 1511 ]
[ 1, 1, 1, 1, 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, 29835, 286, 262, 2137, 508, 7781, 1511, 4661, 46506, 29835, 31185, 16034, 3084, 62, 22995, 2996, 22914, 62, 22, 33411, 4661, 126, 117, 796, 1511 ]
What is the highest amount of games played in the 2003-04 season?
SELECT MAX("Played") FROM table_9478 WHERE "Season" = '2003-04'
[ 2061, 318, 262, 4511, 2033, 286, 1830, 2826, 287, 262, 5816, 12, 3023, 1622, 30, 46506, 25882, 7203, 11002, 276, 4943, 16034, 3084, 62, 24, 29059, 33411, 366, 18960, 1, 796, 705, 16088, 12, 3023, 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, 318, 262, 4511, 2033, 286, 1830, 2826, 287, 262, 5816, 12, 3023, 1622, 30, 46506, 25882, 7203, 11002, 276, 4943, 16034, 3084, 62, 24, 29059, 33411, 366, 18960, 1, 796, 705, 16088, 12, 3023, 6 ]
what is patient 006-21388's minimum respiration value on 06/08/last year?
SELECT MIN(vitalperiodic.respiration) FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-21388')) AND NOT vitalperiodic.respiration IS ...
[ 10919, 318, 5827, 3571, 21, 12, 26427, 3459, 338, 5288, 1217, 15297, 1988, 319, 9130, 14, 2919, 14, 12957, 614, 30, 46506, 20625, 7, 85, 1287, 41007, 291, 13, 411, 10514, 8, 16034, 9204, 41007, 291, 33411, 9204, 41007, 291, 13, 26029,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5827, 3571, 21, 12, 26427, 3459, 338, 5288, 1217, 15297, 1988, 319, 9130, 14, 2919, 14, 12957, 614, 30, 46506, 20625, 7, 85, 1287, 41007, 291, 13, 411, 10514, 8, 16034, 9204, 41007, 291, 33411, 9204, 41007, 291, 13, 26029,...
I want the lowest laps that have a grid of 12
SELECT MIN(laps) FROM table_name_22 WHERE grid = 12
[ 40, 765, 262, 9016, 24590, 326, 423, 257, 10706, 286, 1105, 46506, 20625, 7, 75, 1686, 8, 16034, 3084, 62, 3672, 62, 1828, 33411, 10706, 796, 1105 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 40, 765, 262, 9016, 24590, 326, 423, 257, 10706, 286, 1105, 46506, 20625, 7, 75, 1686, 8, 16034, 3084, 62, 3672, 62, 1828, 33411, 10706, 796, 1105 ]
What nationality is the player Muggsy Bogues?
SELECT nationality FROM table_10015132_2 WHERE player = "Muggsy Bogues"
[ 2061, 29835, 318, 262, 2137, 337, 6837, 1837, 21555, 947, 30, 46506, 29835, 16034, 3084, 62, 3064, 1314, 19924, 62, 17, 33411, 2137, 796, 366, 44, 6837, 1837, 21555, 947, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 29835, 318, 262, 2137, 337, 6837, 1837, 21555, 947, 30, 46506, 29835, 16034, 3084, 62, 3064, 1314, 19924, 62, 17, 33411, 2137, 796, 366, 44, 6837, 1837, 21555, 947, 1 ]
what is last weight of patient 033-1746 until 61 months ago.
SELECT patient.admissionweight FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '033-1746') AND NOT patient.admissionweight IS NULL AND DATETIME(patient.unitadmittime) <= DATETIME(CURRENT_TIME(), '-61 month') ORDER BY patient.unitad...
[ 10919, 318, 938, 3463, 286, 5827, 657, 2091, 12, 1558, 3510, 1566, 8454, 1933, 2084, 13, 46506, 5827, 13, 324, 3411, 6551, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 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...
[ 10919, 318, 938, 3463, 286, 5827, 657, 2091, 12, 1558, 3510, 1566, 8454, 1933, 2084, 13, 46506, 5827, 13, 324, 3411, 6551, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 3...
During this Fall , which upper-level PHYSIOL classes are being offered ?
SELECT DISTINCT course.department, course.name, course.number FROM course, course_offering, program_course, semester WHERE course.course_id = course_offering.course_id AND course.department = 'PHYSIOL' AND program_course.category LIKE '%ULCS%' AND program_course.course_id = course.course_id AND semester.semester = 'Fal...
[ 7191, 428, 7218, 837, 543, 6727, 12, 5715, 9370, 56, 11584, 3535, 6097, 389, 852, 4438, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 7191, 428, 7218, 837, 543, 6727, 12, 5715, 9370, 56, 11584, 3535, 6097, 389, 852, 4438, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 1...
how many player with no being 12
SELECT COUNT(player) FROM table_12962773_5 WHERE no = 12
[ 4919, 867, 2137, 351, 645, 852, 1105, 46506, 327, 28270, 7, 7829, 8, 16034, 3084, 62, 1065, 4846, 1983, 4790, 62, 20, 33411, 645, 796, 1105 ]
[ 1, 1, 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, 2137, 351, 645, 852, 1105, 46506, 327, 28270, 7, 7829, 8, 16034, 3084, 62, 1065, 4846, 1983, 4790, 62, 20, 33411, 645, 796, 1105 ]
Find the number of the name of rooms booked by some customers whose first name contains ROY, and show Y in asc order.
SELECT roomName, COUNT(roomName) FROM Reservations AS T1 JOIN Rooms AS T2 ON T1.Room = T2.RoomId WHERE FirstName LIKE '%ROY%' GROUP BY roomName ORDER BY COUNT(roomName)
[ 16742, 262, 1271, 286, 262, 1438, 286, 9519, 21765, 416, 617, 4297, 3025, 717, 1438, 4909, 15107, 56, 11, 290, 905, 575, 287, 10570, 1502, 13, 46506, 2119, 5376, 11, 327, 28270, 7, 3823, 5376, 8, 16034, 40425, 602, 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...
[ 16742, 262, 1271, 286, 262, 1438, 286, 9519, 21765, 416, 617, 4297, 3025, 717, 1438, 4909, 15107, 56, 11, 290, 905, 575, 287, 10570, 1502, 13, 46506, 2119, 5376, 11, 327, 28270, 7, 3823, 5376, 8, 16034, 40425, 602, 7054, 309, 16, 32...
show me all flights direct only from BOSTON to SAN FRANCISCO or OAKLAND that arrive before 1000 local time
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, airport_service AS AIRPORT_SERVICE_2, city AS CITY_0, city AS CITY_1, city AS CITY_2, flight WHERE ((((flight.to_airport = AIRPORT_SERVICE_1.airport_code AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code A...
[ 12860, 502, 477, 13956, 1277, 691, 422, 347, 10892, 1340, 284, 37376, 8782, 20940, 1797, 8220, 393, 440, 10206, 28182, 326, 9240, 878, 8576, 1957, 640, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12860, 502, 477, 13956, 1277, 691, 422, 347, 10892, 1340, 284, 37376, 8782, 20940, 1797, 8220, 393, 440, 10206, 28182, 326, 9240, 878, 8576, 1957, 640, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054...
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, return a line chart about the change of employee_id over hire_date , display in desc by the x-axis.
SELECT HIRE_DATE, EMPLOYEE_ID FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 ORDER BY HIRE_DATE DESC
[ 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, 1441, 257, 1627, 8262, 546, 262, 1487, 286, 6538, 62, 312, 625, 11078, 62, 4475...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1441, 257, 1627, 8262, 546, 262, 1487, 286, 6538, 62, 312, 625, 11078, 62, 4475...
what is the average draw when the place is 5 and points more than 15?
SELECT AVG(draw) FROM table_name_62 WHERE place = 5 AND points > 15
[ 10919, 318, 262, 2811, 3197, 618, 262, 1295, 318, 642, 290, 2173, 517, 621, 1315, 30, 46506, 35224, 7, 19334, 8, 16034, 3084, 62, 3672, 62, 5237, 33411, 1295, 796, 642, 5357, 2173, 1875, 1315 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 2811, 3197, 618, 262, 1295, 318, 642, 290, 2173, 517, 621, 1315, 30, 46506, 35224, 7, 19334, 8, 16034, 3084, 62, 3672, 62, 5237, 33411, 1295, 796, 642, 5357, 2173, 1875, 1315 ]
What are the titles of episodes written by Eric Trueheart?
SELECT title FROM table_29087004_3 WHERE written_by = "Eric Trueheart"
[ 2061, 389, 262, 8714, 286, 8640, 3194, 416, 7651, 6407, 11499, 30, 46506, 3670, 16034, 3084, 62, 1959, 2919, 9879, 19, 62, 18, 33411, 3194, 62, 1525, 796, 366, 25004, 6407, 11499, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3194, 416, 7651, 6407, 11499, 30, 46506, 3670, 16034, 3084, 62, 1959, 2919, 9879, 19, 62, 18, 33411, 3194, 62, 1525, 796, 366, 25004, 6407, 11499, 1 ]
What venue did mahela jayawardene and thilan samaraweera play at?
SELECT venue FROM table_name_42 WHERE batting_partners = "mahela jayawardene and thilan samaraweera"
[ 2061, 14359, 750, 17266, 2978, 64, 474, 323, 707, 446, 1734, 290, 294, 38239, 6072, 283, 707, 68, 8607, 711, 379, 30, 46506, 14359, 16034, 3084, 62, 3672, 62, 3682, 33411, 23761, 62, 3911, 2741, 796, 366, 2611, 2978, 64, 474, 323, 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 ]
[ 2061, 14359, 750, 17266, 2978, 64, 474, 323, 707, 446, 1734, 290, 294, 38239, 6072, 283, 707, 68, 8607, 711, 379, 30, 46506, 14359, 16034, 3084, 62, 3672, 62, 3682, 33411, 23761, 62, 3911, 2741, 796, 366, 2611, 2978, 64, 474, 323, 7...
Which school/club team has a player named Mark Sanford?
SELECT "School/Club Team" FROM table_20092 WHERE "Name" = 'Mark Sanford'
[ 13828, 1524, 14, 18664, 1074, 468, 257, 2137, 3706, 2940, 42862, 30, 46506, 366, 26130, 14, 42350, 4816, 1, 16034, 3084, 62, 2167, 5892, 33411, 366, 5376, 1, 796, 705, 9704, 42862, 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, 1524, 14, 18664, 1074, 468, 257, 2137, 3706, 2940, 42862, 30, 46506, 366, 26130, 14, 42350, 4816, 1, 16034, 3084, 62, 2167, 5892, 33411, 366, 5376, 1, 796, 705, 9704, 42862, 6 ]
With a 1985-86 of 407 what is the airport?
SELECT "Airport" FROM table_9464 WHERE "1985\u201386" = '407'
[ 3152, 257, 12863, 12, 4521, 286, 41879, 644, 318, 262, 9003, 30, 46506, 366, 16170, 634, 1, 16034, 3084, 62, 5824, 2414, 33411, 366, 29110, 59, 84, 1264, 21734, 1, 796, 705, 30120, 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 ]
[ 3152, 257, 12863, 12, 4521, 286, 41879, 644, 318, 262, 9003, 30, 46506, 366, 16170, 634, 1, 16034, 3084, 62, 5824, 2414, 33411, 366, 29110, 59, 84, 1264, 21734, 1, 796, 705, 30120, 6 ]
What is the 1981 value of the Macedonian population with a 1971 number greater than 192 and a 1991 of 1748?
SELECT 1981 FROM table_name_54 WHERE number_1971 > 192 AND 1991 = 1748
[ 2061, 318, 262, 14745, 1988, 286, 262, 25942, 27625, 3265, 351, 257, 16382, 1271, 3744, 621, 17817, 290, 257, 10249, 286, 1596, 2780, 30, 46506, 14745, 16034, 3084, 62, 3672, 62, 4051, 33411, 1271, 62, 41208, 1875, 17817, 5357, 10249, 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 ]
[ 2061, 318, 262, 14745, 1988, 286, 262, 25942, 27625, 3265, 351, 257, 16382, 1271, 3744, 621, 17817, 290, 257, 10249, 286, 1596, 2780, 30, 46506, 14745, 16034, 3084, 62, 3672, 62, 4051, 33411, 1271, 62, 41208, 1875, 17817, 5357, 10249, 7...
What number home run was in the 8th inning and went 410'?
SELECT number FROM table_name_3 WHERE inning = "8th" AND length = "410'"
[ 2061, 1271, 1363, 1057, 373, 287, 262, 807, 400, 21648, 290, 1816, 32921, 30960, 46506, 1271, 16034, 3084, 62, 3672, 62, 18, 33411, 21648, 796, 366, 23, 400, 1, 5357, 4129, 796, 366, 33289, 29653 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1271, 1363, 1057, 373, 287, 262, 807, 400, 21648, 290, 1816, 32921, 30960, 46506, 1271, 16034, 3084, 62, 3672, 62, 18, 33411, 21648, 796, 366, 23, 400, 1, 5357, 4129, 796, 366, 33289, 29653 ]
What is the record for the 20000 m walk?
SELECT "Record" FROM table_52132 WHERE "Event" = '20000 m walk'
[ 2061, 318, 262, 1700, 329, 262, 939, 405, 285, 2513, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 4309, 19924, 33411, 366, 9237, 1, 796, 705, 2167, 405, 285, 2513, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1700, 329, 262, 939, 405, 285, 2513, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 4309, 19924, 33411, 366, 9237, 1, 796, 705, 2167, 405, 285, 2513, 6 ]
Return a bar chart about the number bookings for each apartment number, and rank from high to low by the x-axis.
SELECT apt_number, COUNT(apt_number) FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id GROUP BY apt_number ORDER BY apt_number DESC
[ 13615, 257, 2318, 8262, 546, 262, 1271, 1492, 654, 329, 1123, 7962, 1271, 11, 290, 4279, 422, 1029, 284, 1877, 416, 262, 2124, 12, 22704, 13, 46506, 15409, 62, 17618, 11, 327, 28270, 7, 2373, 62, 17618, 8, 16034, 5949, 1823, 62, 104...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2318, 8262, 546, 262, 1271, 1492, 654, 329, 1123, 7962, 1271, 11, 290, 4279, 422, 1029, 284, 1877, 416, 262, 2124, 12, 22704, 13, 46506, 15409, 62, 17618, 11, 327, 28270, 7, 2373, 62, 17618, 8, 16034, 5949, 1823, 62, 104...
who was the winner /2nd for the British Champion Stakes race?
SELECT "Winner/2nd" FROM table_3146 WHERE "Race" = 'British Champion Stakes'
[ 8727, 373, 262, 8464, 1220, 17, 358, 329, 262, 3517, 15869, 520, 1124, 3234, 30, 46506, 366, 48056, 14, 17, 358, 1, 16034, 3084, 62, 18, 20964, 33411, 366, 35157, 1, 796, 705, 25631, 15869, 520, 1124, 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 ]
[ 8727, 373, 262, 8464, 1220, 17, 358, 329, 262, 3517, 15869, 520, 1124, 3234, 30, 46506, 366, 48056, 14, 17, 358, 1, 16034, 3084, 62, 18, 20964, 33411, 366, 35157, 1, 796, 705, 25631, 15869, 520, 1124, 6 ]
Which Wins is the highest one that has a Class of 500cc, and Points smaller than 6?
SELECT MAX("Wins") FROM table_75599 WHERE "Class" = '500cc' AND "Points" < '6'
[ 13828, 24423, 318, 262, 4511, 530, 326, 468, 257, 5016, 286, 5323, 535, 11, 290, 11045, 4833, 621, 718, 30, 46506, 25882, 7203, 54, 1040, 4943, 16034, 3084, 62, 38172, 2079, 33411, 366, 9487, 1, 796, 705, 4059, 535, 6, 5357, 366, 40...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 24423, 318, 262, 4511, 530, 326, 468, 257, 5016, 286, 5323, 535, 11, 290, 11045, 4833, 621, 718, 30, 46506, 25882, 7203, 54, 1040, 4943, 16034, 3084, 62, 38172, 2079, 33411, 366, 9487, 1, 796, 705, 4059, 535, 6, 5357, 366, 40...
What is Date, when Visitor is Toronto?
SELECT date FROM table_name_37 WHERE visitor = "toronto"
[ 2061, 318, 7536, 11, 618, 6911, 2072, 318, 6586, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 2718, 33411, 21493, 796, 366, 13165, 5957, 1 ]
[ 1, 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, 7536, 11, 618, 6911, 2072, 318, 6586, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 2718, 33411, 21493, 796, 366, 13165, 5957, 1 ]
What 20-29 was in season 2008?
SELECT "20-29" FROM table_41470 WHERE "Season" = '2008'
[ 2061, 1160, 12, 1959, 373, 287, 1622, 3648, 30, 46506, 366, 1238, 12, 1959, 1, 16034, 3084, 62, 37309, 2154, 33411, 366, 18960, 1, 796, 705, 11528, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1160, 12, 1959, 373, 287, 1622, 3648, 30, 46506, 366, 1238, 12, 1959, 1, 16034, 3084, 62, 37309, 2154, 33411, 366, 18960, 1, 796, 705, 11528, 6 ]
When did the season that end in July ? start?
SELECT start_date FROM table_1949994_7 WHERE end_date = "July ?"
[ 2215, 750, 262, 1622, 326, 886, 287, 2901, 5633, 923, 30, 46506, 923, 62, 4475, 16034, 3084, 62, 22913, 2079, 5824, 62, 22, 33411, 886, 62, 4475, 796, 366, 16157, 220, 1701 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 750, 262, 1622, 326, 886, 287, 2901, 5633, 923, 30, 46506, 923, 62, 4475, 16034, 3084, 62, 22913, 2079, 5824, 62, 22, 33411, 886, 62, 4475, 796, 366, 16157, 220, 1701 ]
What is the sum of the bronze medals won by south korea?
SELECT SUM(bronze) FROM table_name_67 WHERE nation = "south korea"
[ 2061, 318, 262, 2160, 286, 262, 22101, 28057, 1839, 416, 5366, 479, 46215, 30, 46506, 35683, 7, 65, 1313, 2736, 8, 16034, 3084, 62, 3672, 62, 3134, 33411, 3277, 796, 366, 35782, 479, 46215, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2160, 286, 262, 22101, 28057, 1839, 416, 5366, 479, 46215, 30, 46506, 35683, 7, 65, 1313, 2736, 8, 16034, 3084, 62, 3672, 62, 3134, 33411, 3277, 796, 366, 35782, 479, 46215, 1 ]
what is the earliest flight that goes from ATLANTA to WASHINGTON on 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, days, flight WHERE ((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'WASHINGTON' AND days.day_name = 'THURSDAY' AND flight.flight_days = days.days_code...
[ 10919, 318, 262, 14555, 5474, 326, 2925, 422, 5161, 25697, 5603, 284, 370, 19436, 319, 2320, 4261, 10305, 4792, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 14555, 5474, 326, 2925, 422, 5161, 25697, 5603, 284, 370, 19436, 319, 2320, 4261, 10305, 4792, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15...
count the number of patients whose insurance is government and diagnoses long title is cerebral artery occlusion, unspecified with cerebral infarction?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.insurance = "Government" AND diagnoses.long_title = "Cerebral artery occlusion, unspecified with cerebral infarction"
[ 9127, 262, 1271, 286, 3871, 3025, 5096, 318, 1230, 290, 40567, 890, 3670, 318, 31169, 37646, 1609, 75, 4241, 11, 29547, 351, 31169, 1167, 283, 596, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9127, 262, 1271, 286, 3871, 3025, 5096, 318, 1230, 290, 40567, 890, 3670, 318, 31169, 37646, 1609, 75, 4241, 11, 29547, 351, 31169, 1167, 283, 596, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, ...
what is the number of patients whose diagnoses icd9 code is 2930 and lab test category is chemistry?
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.icd9_code = "2930" AND lab."CATEGORY" = "Chemistry"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 40567, 14158, 67, 24, 2438, 318, 2808, 1270, 290, 2248, 1332, 6536, 318, 16585, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 1271, 286, 3871, 3025, 40567, 14158, 67, 24, 2438, 318, 2808, 1270, 290, 2248, 1332, 6536, 318, 16585, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 12...