instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
What placement gets more than $400?
SELECT place FROM table_name_18 WHERE money___$__ > 400
[ 2061, 13127, 3011, 517, 621, 720, 7029, 30, 46506, 1295, 16034, 3084, 62, 3672, 62, 1507, 33411, 1637, 17569, 3, 834, 1875, 7337 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 13127, 3011, 517, 621, 720, 7029, 30, 46506, 1295, 16034, 3084, 62, 3672, 62, 1507, 33411, 1637, 17569, 3, 834, 1875, 7337 ]
What high points did San Francisco have in a game later than 69?
SELECT high_points FROM table_name_39 WHERE game > 69 AND team = "san francisco"
[ 2061, 1029, 2173, 750, 2986, 6033, 423, 287, 257, 983, 1568, 621, 8644, 30, 46506, 1029, 62, 13033, 16034, 3084, 62, 3672, 62, 2670, 33411, 983, 1875, 8644, 5357, 1074, 796, 366, 12807, 46754, 4861, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1029, 2173, 750, 2986, 6033, 423, 287, 257, 983, 1568, 621, 8644, 30, 46506, 1029, 62, 13033, 16034, 3084, 62, 3672, 62, 2670, 33411, 983, 1875, 8644, 5357, 1074, 796, 366, 12807, 46754, 4861, 1 ]
Do all the classes in the upper-level have exams ?
SELECT COUNT(*) = 0 FROM course INNER JOIN program_course ON program_course.course_id = course.course_id WHERE course.has_exams = 'N' AND program_course.category LIKE '%ULCS%'
[ 5211, 477, 262, 6097, 287, 262, 6727, 12, 5715, 423, 26420, 5633, 46506, 327, 28270, 7, 28104, 796, 657, 16034, 1781, 3268, 21479, 32357, 1268, 1430, 62, 17319, 6177, 1430, 62, 17319, 13, 17319, 62, 312, 796, 1781, 13, 17319, 62, 312,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 5211, 477, 262, 6097, 287, 262, 6727, 12, 5715, 423, 26420, 5633, 46506, 327, 28270, 7, 28104, 796, 657, 16034, 1781, 3268, 21479, 32357, 1268, 1430, 62, 17319, 6177, 1430, 62, 17319, 13, 17319, 62, 312, 796, 1781, 13, 17319, 62, 312,...
Which Score has a Result of third place, and a Style of cha-cha-cha?
SELECT score FROM table_name_18 WHERE result = "third place" AND style = "cha-cha-cha"
[ 13828, 15178, 468, 257, 25414, 286, 2368, 1295, 11, 290, 257, 17738, 286, 17792, 12, 11693, 12, 11693, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 1507, 33411, 1255, 796, 366, 17089, 1295, 1, 5357, 3918, 796, 366, 11693, 12, 11693, 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 ]
[ 13828, 15178, 468, 257, 25414, 286, 2368, 1295, 11, 290, 257, 17738, 286, 17792, 12, 11693, 12, 11693, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 1507, 33411, 1255, 796, 366, 17089, 1295, 1, 5357, 3918, 796, 366, 11693, 12, 11693, 12...
What is the name of the company that constructed the vehicle for Timo Glock?
SELECT "Constructor" FROM table_38021 WHERE "Driver" = 'timo glock'
[ 2061, 318, 262, 1438, 286, 262, 1664, 326, 12006, 262, 4038, 329, 5045, 78, 45152, 30, 46506, 366, 42316, 273, 1, 16034, 3084, 62, 23734, 2481, 33411, 366, 32103, 1, 796, 705, 16514, 78, 1278, 735, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1438, 286, 262, 1664, 326, 12006, 262, 4038, 329, 5045, 78, 45152, 30, 46506, 366, 42316, 273, 1, 16034, 3084, 62, 23734, 2481, 33411, 366, 32103, 1, 796, 705, 16514, 78, 1278, 735, 6 ]
What are the elimination moves of wrestlers whose team is 'Team Orton'?
SELECT elimination_move FROM elimination WHERE team = "Team Orton"
[ 2061, 389, 262, 21472, 6100, 286, 41758, 3025, 1074, 318, 705, 15592, 1471, 1122, 30960, 46506, 21472, 62, 21084, 16034, 21472, 33411, 1074, 796, 366, 15592, 1471, 1122, 1 ]
[ 1, 1, 1, 1, 1, 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, 21472, 6100, 286, 41758, 3025, 1074, 318, 705, 15592, 1471, 1122, 30960, 46506, 21472, 62, 21084, 16034, 21472, 33411, 1074, 796, 366, 15592, 1471, 1122, 1 ]
Who has a Team classification of la vie claire, a stage of 20, a General classification of greg lemond?
SELECT "Winner" FROM table_32902 WHERE "Team classification" = 'la vie claire' AND "General classification" = 'greg lemond' AND "Stage" = '20'
[ 8241, 468, 257, 4816, 17923, 286, 8591, 410, 494, 537, 7626, 11, 257, 3800, 286, 1160, 11, 257, 3611, 17923, 286, 308, 2301, 443, 6327, 30, 46506, 366, 48056, 1, 16034, 3084, 62, 37967, 2999, 33411, 366, 15592, 17923, 1, 796, 705, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 8241, 468, 257, 4816, 17923, 286, 8591, 410, 494, 537, 7626, 11, 257, 3800, 286, 1160, 11, 257, 3611, 17923, 286, 308, 2301, 443, 6327, 30, 46506, 366, 48056, 1, 16034, 3084, 62, 37967, 2999, 33411, 366, 15592, 17923, 1, 796, 705, 5...
What was the latest release date for Ariola in Spain?
SELECT MAX(release_date) FROM table_name_3 WHERE label = "ariola" AND country = "spain"
[ 2061, 373, 262, 3452, 2650, 3128, 329, 6069, 5708, 287, 8602, 30, 46506, 25882, 7, 20979, 62, 4475, 8, 16034, 3084, 62, 3672, 62, 18, 33411, 6167, 796, 366, 283, 30292, 1, 5357, 1499, 796, 366, 2777, 391, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3452, 2650, 3128, 329, 6069, 5708, 287, 8602, 30, 46506, 25882, 7, 20979, 62, 4475, 8, 16034, 3084, 62, 3672, 62, 18, 33411, 6167, 796, 366, 283, 30292, 1, 5357, 1499, 796, 366, 2777, 391, 1 ]
Who had the lowest field goals but had 10 points and more than 2 touchdowns?
SELECT MIN("Field goals") FROM table_35970 WHERE "Points" = '10' AND "Touchdowns" > '2'
[ 8241, 550, 262, 9016, 2214, 4661, 475, 550, 838, 2173, 290, 517, 621, 362, 17692, 30, 46506, 20625, 7203, 15878, 4661, 4943, 16034, 3084, 62, 30743, 2154, 33411, 366, 40710, 1, 796, 705, 940, 6, 5357, 366, 35211, 30371, 1, 1875, 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 ]
[ 8241, 550, 262, 9016, 2214, 4661, 475, 550, 838, 2173, 290, 517, 621, 362, 17692, 30, 46506, 20625, 7203, 15878, 4661, 4943, 16034, 3084, 62, 30743, 2154, 33411, 366, 40710, 1, 796, 705, 940, 6, 5357, 366, 35211, 30371, 1, 1875, 705, ...
What is the pick number for the player Chris Gomez?
SELECT SUM("Pick #") FROM table_6042 WHERE "Player" = 'chris gomez'
[ 2061, 318, 262, 2298, 1271, 329, 262, 2137, 5180, 33231, 30, 46506, 35683, 7203, 31686, 1303, 4943, 16034, 3084, 62, 1899, 3682, 33411, 366, 14140, 1, 796, 705, 354, 2442, 308, 30010, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2298, 1271, 329, 262, 2137, 5180, 33231, 30, 46506, 35683, 7203, 31686, 1303, 4943, 16034, 3084, 62, 1899, 3682, 33411, 366, 14140, 1, 796, 705, 354, 2442, 308, 30010, 6 ]
give me the number of patients on main type of drug prescription who have diagnoses icd9 code v4962.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.icd9_code = "V4962" AND prescriptions.drug_type = "MAIN"
[ 26535, 502, 262, 1271, 286, 3871, 319, 1388, 2099, 286, 2563, 15077, 508, 423, 40567, 14158, 67, 24, 2438, 410, 2920, 5237, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 26535, 502, 262, 1271, 286, 3871, 319, 1388, 2099, 286, 2563, 15077, 508, 423, 40567, 14158, 67, 24, 2438, 410, 2920, 5237, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357...
Name the first downs for points against being 0
SELECT "First Downs" FROM table_20181 WHERE "Points Against" = '0'
[ 5376, 262, 717, 21838, 329, 2173, 1028, 852, 657, 46506, 366, 5962, 49618, 1, 16034, 3084, 62, 1264, 6659, 33411, 366, 40710, 12914, 1, 796, 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 ]
[ 5376, 262, 717, 21838, 329, 2173, 1028, 852, 657, 46506, 366, 5962, 49618, 1, 16034, 3084, 62, 1264, 6659, 33411, 366, 40710, 12914, 1, 796, 705, 15, 6 ]
What percentage of the vote with a margin of error of 3.3% did Meg Whitman (R) get?
SELECT meg_whitman__r_ FROM table_name_35 WHERE margin_of_error = "± 3.3%"
[ 2061, 5873, 286, 262, 3015, 351, 257, 10330, 286, 4049, 286, 513, 13, 18, 4, 750, 8336, 47958, 357, 49, 8, 651, 30, 46506, 17243, 62, 1929, 270, 805, 834, 81, 62, 16034, 3084, 62, 3672, 62, 2327, 33411, 10330, 62, 1659, 62, 18224,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5873, 286, 262, 3015, 351, 257, 10330, 286, 4049, 286, 513, 13, 18, 4, 750, 8336, 47958, 357, 49, 8, 651, 30, 46506, 17243, 62, 1929, 270, 805, 834, 81, 62, 16034, 3084, 62, 3672, 62, 2327, 33411, 10330, 62, 1659, 62, 18224,...
what is the least number of high assists that were obtained in one 2010 pre season clippers game ?
SELECT MIN("high assists") FROM table_204_586
[ 10919, 318, 262, 1551, 1271, 286, 1029, 13648, 326, 547, 6492, 287, 530, 3050, 662, 1622, 537, 16415, 983, 5633, 46506, 20625, 7203, 8929, 13648, 4943, 16034, 3084, 62, 18638, 62, 29796 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 1551, 1271, 286, 1029, 13648, 326, 547, 6492, 287, 530, 3050, 662, 1622, 537, 16415, 983, 5633, 46506, 20625, 7203, 8929, 13648, 4943, 16034, 3084, 62, 18638, 62, 29796 ]
What is the percentage of republican voters in which the d-r spread is -14.1%?
SELECT "Republican" FROM table_29240 WHERE "D\u2013R spread" = '-14.1%'
[ 2061, 318, 262, 5873, 286, 41477, 4446, 287, 543, 262, 288, 12, 81, 4104, 318, 532, 1415, 13, 16, 4, 30, 46506, 366, 25777, 1, 16034, 3084, 62, 1959, 16102, 33411, 366, 35, 59, 84, 6390, 49, 4104, 1, 796, 705, 12, 1415, 13, 16, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 5873, 286, 41477, 4446, 287, 543, 262, 288, 12, 81, 4104, 318, 532, 1415, 13, 16, 4, 30, 46506, 366, 25777, 1, 16034, 3084, 62, 1959, 16102, 33411, 366, 35, 59, 84, 6390, 49, 4104, 1, 796, 705, 12, 1415, 13, 16, ...
Which current venues location is Mason, Ohio?
SELECT current_venue FROM table_14903081_1 WHERE location = "Mason, Ohio"
[ 13828, 1459, 22276, 4067, 318, 14737, 11, 6835, 30, 46506, 1459, 62, 4080, 16034, 3084, 62, 1415, 3829, 1270, 6659, 62, 16, 33411, 4067, 796, 366, 44, 888, 11, 6835, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 1459, 22276, 4067, 318, 14737, 11, 6835, 30, 46506, 1459, 62, 4080, 16034, 3084, 62, 1415, 3829, 1270, 6659, 62, 16, 33411, 4067, 796, 366, 44, 888, 11, 6835, 1 ]
Which school was in Toronto in 2001-02?
SELECT "School/Club Team" FROM table_15861 WHERE "Years in Toronto" = '2001-02'
[ 13828, 1524, 373, 287, 6586, 287, 5878, 12, 2999, 30, 46506, 366, 26130, 14, 42350, 4816, 1, 16034, 3084, 62, 1314, 4521, 16, 33411, 366, 40630, 287, 6586, 1, 796, 705, 14585, 12, 2999, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 1524, 373, 287, 6586, 287, 5878, 12, 2999, 30, 46506, 366, 26130, 14, 42350, 4816, 1, 16034, 3084, 62, 1314, 4521, 16, 33411, 366, 40630, 287, 6586, 1, 796, 705, 14585, 12, 2999, 6 ]
List all product names in ascending order of price, and count them by a bar chart
SELECT Product_Name, COUNT(Product_Name) FROM Products GROUP BY Product_Name ORDER BY Product_Price
[ 8053, 477, 1720, 3891, 287, 41988, 1502, 286, 2756, 11, 290, 954, 606, 416, 257, 2318, 8262, 46506, 8721, 62, 5376, 11, 327, 28270, 7, 15667, 62, 5376, 8, 16034, 18675, 44441, 11050, 8721, 62, 5376, 38678, 11050, 8721, 62, 18124 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 477, 1720, 3891, 287, 41988, 1502, 286, 2756, 11, 290, 954, 606, 416, 257, 2318, 8262, 46506, 8721, 62, 5376, 11, 327, 28270, 7, 15667, 62, 5376, 8, 16034, 18675, 44441, 11050, 8721, 62, 5376, 38678, 11050, 8721, 62, 18124 ]
What is the total number of points team Alfa Romeo 184T won?
SELECT SUM(points) FROM table_name_56 WHERE team_chassis = "alfa romeo 184t"
[ 2061, 318, 262, 2472, 1271, 286, 2173, 1074, 978, 13331, 43989, 28598, 51, 1839, 30, 46506, 35683, 7, 13033, 8, 16034, 3084, 62, 3672, 62, 3980, 33411, 1074, 62, 354, 20297, 796, 366, 1604, 64, 374, 462, 78, 28598, 83, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2173, 1074, 978, 13331, 43989, 28598, 51, 1839, 30, 46506, 35683, 7, 13033, 8, 16034, 3084, 62, 3672, 62, 3980, 33411, 1074, 62, 354, 20297, 796, 366, 1604, 64, 374, 462, 78, 28598, 83, 1 ]
Where is the company with estimated revenue of 33.3 billion headquartered?
SELECT "Headquarters City" FROM table_24673 WHERE "Revenue ($billions) 2012 estimate" = '33.3'
[ 8496, 318, 262, 1664, 351, 6108, 6426, 286, 4747, 13, 18, 2997, 48583, 30, 46506, 366, 13847, 8230, 2254, 1, 16034, 3084, 62, 1731, 45758, 33411, 366, 3041, 4080, 7198, 35546, 507, 8, 2321, 8636, 1, 796, 705, 2091, 13, 18, 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 ]
[ 8496, 318, 262, 1664, 351, 6108, 6426, 286, 4747, 13, 18, 2997, 48583, 30, 46506, 366, 13847, 8230, 2254, 1, 16034, 3084, 62, 1731, 45758, 33411, 366, 3041, 4080, 7198, 35546, 507, 8, 2321, 8636, 1, 796, 705, 2091, 13, 18, 6 ]
What is the exit date of the player who transferred to Portsmouth?
SELECT exit_date FROM table_name_58 WHERE to_club = "portsmouth"
[ 2061, 318, 262, 8420, 3128, 286, 262, 2137, 508, 11172, 284, 48823, 30, 46506, 8420, 62, 4475, 16034, 3084, 62, 3672, 62, 3365, 33411, 284, 62, 18664, 796, 366, 3742, 14775, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 8420, 3128, 286, 262, 2137, 508, 11172, 284, 48823, 30, 46506, 8420, 62, 4475, 16034, 3084, 62, 3672, 62, 3365, 33411, 284, 62, 18664, 796, 366, 3742, 14775, 1 ]
How many instances is the unlocked n/a?
SELECT COUNT("Setting") FROM table_73666 WHERE "Unlocked by" = 'N/A'
[ 2437, 867, 10245, 318, 262, 14838, 299, 14, 64, 30, 46506, 327, 28270, 7203, 34149, 4943, 16034, 3084, 62, 49150, 2791, 33411, 366, 3118, 24162, 416, 1, 796, 705, 45, 14, 32, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 10245, 318, 262, 14838, 299, 14, 64, 30, 46506, 327, 28270, 7203, 34149, 4943, 16034, 3084, 62, 49150, 2791, 33411, 366, 3118, 24162, 416, 1, 796, 705, 45, 14, 32, 6 ]
what tournament has 2000 of 3r?
SELECT tournament FROM table_name_35 WHERE 2000 = "3r"
[ 10919, 7756, 468, 4751, 286, 513, 81, 30, 46506, 7756, 16034, 3084, 62, 3672, 62, 2327, 33411, 4751, 796, 366, 18, 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 ]
[ 10919, 7756, 468, 4751, 286, 513, 81, 30, 46506, 7756, 16034, 3084, 62, 3672, 62, 2327, 33411, 4751, 796, 366, 18, 81, 1 ]
For either Spring or Summer 2016 term , what hardware classes will be meeting ?
SELECT DISTINCT course.department, course.name, course.number, semester.semester FROM course INNER JOIN area ON course.course_id = area.course_id INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN semester ON semester.semester_id = course_offering.semester WHERE area.area LIKE '%hardw...
[ 1890, 2035, 8225, 393, 10216, 1584, 3381, 837, 644, 6890, 6097, 481, 307, 3249, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 11, 24878, 13, 325, 6880, 353, 16034, 1781, 3268, 2147...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2035, 8225, 393, 10216, 1584, 3381, 837, 644, 6890, 6097, 481, 307, 3249, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 11, 24878, 13, 325, 6880, 353, 16034, 1781, 3268, 2147...
For each denomination, return the denomination and the count of schools with that denomination Visualize by bar chart, and could you list Denomination in asc order?
SELECT Denomination, COUNT(*) FROM school GROUP BY Denomination ORDER BY Denomination
[ 1890, 1123, 47491, 11, 1441, 262, 47491, 290, 262, 954, 286, 4266, 351, 326, 47491, 15612, 1096, 416, 2318, 8262, 11, 290, 714, 345, 1351, 5601, 27744, 287, 10570, 1502, 30, 46506, 5601, 27744, 11, 327, 28270, 7, 28104, 16034, 1524, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1123, 47491, 11, 1441, 262, 47491, 290, 262, 954, 286, 4266, 351, 326, 47491, 15612, 1096, 416, 2318, 8262, 11, 290, 714, 345, 1351, 5601, 27744, 287, 10570, 1502, 30, 46506, 5601, 27744, 11, 327, 28270, 7, 28104, 16034, 1524, 4...
what is the percentile of 106.0 in an chloride lab test given the same age of patient 462 when they came to the hospital last time?
SELECT DISTINCT t1.c1 FROM (SELECT labevents.valuenum, PERCENT_RANK() OVER (ORDER BY labevents.valuenum) AS c1 FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'chloride') AND labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.age ...
[ 10919, 318, 262, 37894, 286, 15696, 13, 15, 287, 281, 44921, 2248, 1332, 1813, 262, 976, 2479, 286, 5827, 604, 5237, 618, 484, 1625, 284, 262, 4436, 938, 640, 30, 46506, 360, 8808, 1268, 4177, 256, 16, 13, 66, 16, 16034, 357, 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...
[ 10919, 318, 262, 37894, 286, 15696, 13, 15, 287, 281, 44921, 2248, 1332, 1813, 262, 976, 2479, 286, 5827, 604, 5237, 618, 484, 1625, 284, 262, 4436, 938, 640, 30, 46506, 360, 8808, 1268, 4177, 256, 16, 13, 66, 16, 16034, 357, 46506,...
What Romani word has the same meaning as the Persian word dah?
SELECT romani FROM table_name_56 WHERE persian = "dah"
[ 2061, 3570, 3216, 1573, 468, 262, 976, 3616, 355, 262, 22035, 1573, 288, 993, 30, 46506, 9267, 3216, 16034, 3084, 62, 3672, 62, 3980, 33411, 2774, 666, 796, 366, 67, 993, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 3570, 3216, 1573, 468, 262, 976, 3616, 355, 262, 22035, 1573, 288, 993, 30, 46506, 9267, 3216, 16034, 3084, 62, 3672, 62, 3980, 33411, 2774, 666, 796, 366, 67, 993, 1 ]
JanitorTags: posts that contain two specified tags. 2 user-inputtable tags, with defaults; post must have a score > 1; post must not be closed
SELECT Id AS "post_link", Score, ViewCount, CreationDate, LastEditDate, LastActivityDate, AnswerCount, FavoriteCount FROM Posts AS p WHERE p.Id IN (SELECT pt1.PostId FROM PostTags AS pt1 JOIN PostTags AS pt2 ON pt2.PostId = pt1.PostId WHERE pt1.TagId = (SELECT Id FROM Tags WHERE TagName = '##Tag1:string?centos##') AND ...
[ 12128, 2072, 36142, 25, 6851, 326, 3994, 734, 7368, 15940, 13, 362, 2836, 12, 15414, 11487, 15940, 11, 351, 26235, 26, 201, 198, 7353, 1276, 423, 257, 4776, 1875, 352, 26, 201, 198, 7353, 1276, 407, 307, 4838, 46506, 5121, 7054, 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, 1, 1...
[ 12128, 2072, 36142, 25, 6851, 326, 3994, 734, 7368, 15940, 13, 362, 2836, 12, 15414, 11487, 15940, 11, 351, 26235, 26, 201, 198, 7353, 1276, 423, 257, 4776, 1875, 352, 26, 201, 198, 7353, 1276, 407, 307, 4838, 46506, 5121, 7054, 366, ...
give me the number of patients whose primary disease is sternal wound infection and year of death is in or before 2173.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "STERNAL WOUND INFECTION" AND demographic.dod_year <= "2173.0"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 4165, 4369, 318, 26370, 282, 11699, 10280, 290, 614, 286, 1918, 318, 287, 393, 878, 24894, 18, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 26535, 502, 262, 1271, 286, 3871, 3025, 4165, 4369, 318, 26370, 282, 11699, 10280, 290, 614, 286, 1918, 318, 287, 393, 878, 24894, 18, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, ...
In which yearly change was there a capacity of 78.4% and a rank smaller than 3?
SELECT annual_change FROM table_name_31 WHERE rank < 3 AND capacity_in_use = "78.4%"
[ 818, 543, 24169, 1487, 373, 612, 257, 5339, 286, 8699, 13, 19, 4, 290, 257, 4279, 4833, 621, 513, 30, 46506, 5079, 62, 3803, 16034, 3084, 62, 3672, 62, 3132, 33411, 4279, 1279, 513, 5357, 5339, 62, 259, 62, 1904, 796, 366, 3695, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 543, 24169, 1487, 373, 612, 257, 5339, 286, 8699, 13, 19, 4, 290, 257, 4279, 4833, 621, 513, 30, 46506, 5079, 62, 3803, 16034, 3084, 62, 3672, 62, 3132, 33411, 4279, 1279, 513, 5357, 5339, 62, 259, 62, 1904, 796, 366, 3695, 1...
Who was the opposing team in game 6?
SELECT "Team" FROM table_29784 WHERE "Game" = '6'
[ 8241, 373, 262, 12330, 1074, 287, 983, 718, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 1959, 37688, 33411, 366, 8777, 1, 796, 705, 21, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 373, 262, 12330, 1074, 287, 983, 718, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 1959, 37688, 33411, 366, 8777, 1, 796, 705, 21, 6 ]
Draw a bar chart for what is the name of each camera lens and the number of photos taken by it? Order the result by the count of photos.
SELECT T1.name, COUNT(*) FROM camera_lens AS T1 JOIN photos AS T2 ON T1.id = T2.camera_lens_id GROUP BY T1.id ORDER BY COUNT(*)
[ 25302, 257, 2318, 8262, 329, 644, 318, 262, 1438, 286, 1123, 4676, 10317, 290, 262, 1271, 286, 5205, 2077, 416, 340, 30, 8284, 262, 1255, 416, 262, 954, 286, 5205, 13, 46506, 309, 16, 13, 3672, 11, 327, 28270, 7, 28104, 16034, 4676,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 25302, 257, 2318, 8262, 329, 644, 318, 262, 1438, 286, 1123, 4676, 10317, 290, 262, 1271, 286, 5205, 2077, 416, 340, 30, 8284, 262, 1255, 416, 262, 954, 286, 5205, 13, 46506, 309, 16, 13, 3672, 11, 327, 28270, 7, 28104, 16034, 4676,...
Which buildings does 'Emma' manage? Give me the short names of the buildings.
SELECT building_short_name FROM apartment_buildings WHERE building_manager = "Emma"
[ 13828, 6832, 857, 705, 10161, 2611, 6, 6687, 30, 13786, 502, 262, 1790, 3891, 286, 262, 6832, 13, 46506, 2615, 62, 19509, 62, 3672, 16034, 7962, 62, 11249, 654, 33411, 2615, 62, 37153, 796, 366, 10161, 2611, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 6832, 857, 705, 10161, 2611, 6, 6687, 30, 13786, 502, 262, 1790, 3891, 286, 262, 6832, 13, 46506, 2615, 62, 19509, 62, 3672, 16034, 7962, 62, 11249, 654, 33411, 2615, 62, 37153, 796, 366, 10161, 2611, 1 ]
Which Player is linebacker and has a pick larger than 28?
SELECT player FROM table_name_69 WHERE position = "linebacker" AND pick > 28
[ 13828, 7853, 318, 18961, 290, 468, 257, 2298, 4025, 621, 2579, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 3388, 33411, 2292, 796, 366, 1370, 49978, 1, 5357, 2298, 1875, 2579 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 7853, 318, 18961, 290, 468, 257, 2298, 4025, 621, 2579, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 3388, 33411, 2292, 796, 366, 1370, 49978, 1, 5357, 2298, 1875, 2579 ]
What term end had minister Danny Ayalon?
SELECT "Term end" FROM table_61583 WHERE "Minister" = 'danny ayalon'
[ 2061, 3381, 886, 550, 5342, 15105, 13709, 40755, 30, 46506, 366, 40596, 886, 1, 16034, 3084, 62, 47007, 5999, 33411, 366, 9452, 1694, 1, 796, 705, 67, 7737, 38762, 40755, 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, 3381, 886, 550, 5342, 15105, 13709, 40755, 30, 46506, 366, 40596, 886, 1, 16034, 3084, 62, 47007, 5999, 33411, 366, 9452, 1694, 1, 796, 705, 67, 7737, 38762, 40755, 6 ]
Which Railway has a Location of shildon, and an ObjectNumber of 1978-7006?
SELECT "Railway" FROM table_46498 WHERE "Location" = 'shildon' AND "ObjectNumber" = '1978-7006'
[ 13828, 32130, 468, 257, 13397, 286, 427, 688, 261, 11, 290, 281, 9515, 15057, 286, 15524, 12, 9879, 21, 30, 46506, 366, 44631, 1014, 1, 16034, 3084, 62, 44578, 4089, 33411, 366, 14749, 1, 796, 705, 1477, 688, 261, 6, 5357, 366, 1026...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 32130, 468, 257, 13397, 286, 427, 688, 261, 11, 290, 281, 9515, 15057, 286, 15524, 12, 9879, 21, 30, 46506, 366, 44631, 1014, 1, 16034, 3084, 62, 44578, 4089, 33411, 366, 14749, 1, 796, 705, 1477, 688, 261, 6, 5357, 366, 1026...
How many gold medals for bellbrook HS with less than 1 silver?
SELECT COUNT("Gold Medals") FROM table_71150 WHERE "Ensemble" = 'bellbrook hs' AND "Silver Medals" < '1'
[ 2437, 867, 3869, 28057, 329, 8966, 19094, 18070, 351, 1342, 621, 352, 8465, 30, 46506, 327, 28270, 7203, 13306, 42171, 4943, 16034, 3084, 62, 22, 1157, 1120, 33411, 366, 4834, 15140, 1, 796, 705, 7923, 19094, 289, 82, 6, 5357, 366, 26...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3869, 28057, 329, 8966, 19094, 18070, 351, 1342, 621, 352, 8465, 30, 46506, 327, 28270, 7203, 13306, 42171, 4943, 16034, 3084, 62, 22, 1157, 1120, 33411, 366, 4834, 15140, 1, 796, 705, 7923, 19094, 289, 82, 6, 5357, 366, 26...
What is the lowest silver that has 1 for the bronze, 1 as the total, 17 as the rank, with a gold less than 0?
SELECT MIN(silver) FROM table_name_15 WHERE bronze = 1 AND total = 1 AND rank = "17" AND gold < 0
[ 2061, 318, 262, 9016, 8465, 326, 468, 352, 329, 262, 22101, 11, 352, 355, 262, 2472, 11, 1596, 355, 262, 4279, 11, 351, 257, 3869, 1342, 621, 657, 30, 46506, 20625, 7, 40503, 8, 16034, 3084, 62, 3672, 62, 1314, 33411, 22101, 796, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 9016, 8465, 326, 468, 352, 329, 262, 22101, 11, 352, 355, 262, 2472, 11, 1596, 355, 262, 4279, 11, 351, 257, 3869, 1342, 621, 657, 30, 46506, 20625, 7, 40503, 8, 16034, 3084, 62, 3672, 62, 1314, 33411, 22101, 796, ...
what is the number of patients who died after diagnosis of anemia during the same month last year?
SELECT COUNT(DISTINCT t2.uniquepid) FROM (SELECT t1.uniquepid, t1.diagnosistime FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'anemia') AS t1 GROUP BY t1.uniquepid HAVING MIN(t1.diagnosistime...
[ 10919, 318, 262, 1271, 286, 3871, 508, 3724, 706, 13669, 286, 281, 22859, 1141, 262, 976, 1227, 938, 614, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 17, 13, 403, 1557, 538, 312, 8, 16034, 357, 46506, 256, 16, 13, 403, 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, 1271, 286, 3871, 508, 3724, 706, 13669, 286, 281, 22859, 1141, 262, 976, 1227, 938, 614, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 17, 13, 403, 1557, 538, 312, 8, 16034, 357, 46506, 256, 16, 13, 403, 15...
what are the five most frequently given lab tests for patients who had previously received systemic antibiotics - metronidazole within the same hospital visit?
SELECT t3.labname FROM (SELECT t2.labname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, treatment.treatmenttime, patient.patienthealthsystemstayid FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'systemic antibiot...
[ 10919, 389, 262, 1936, 749, 6777, 1813, 2248, 5254, 329, 3871, 508, 550, 4271, 2722, 21971, 22392, 532, 1138, 1313, 312, 1031, 2305, 1626, 262, 976, 4436, 3187, 30, 46506, 256, 18, 13, 23912, 3672, 16034, 357, 46506, 256, 17, 13, 2391...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1936, 749, 6777, 1813, 2248, 5254, 329, 3871, 508, 550, 4271, 2722, 21971, 22392, 532, 1138, 1313, 312, 1031, 2305, 1626, 262, 976, 4436, 3187, 30, 46506, 256, 18, 13, 23912, 3672, 16034, 357, 46506, 256, 17, 13, 2391...
What day was the attendance 74,285?
SELECT "Date" FROM table_78566 WHERE "Attendance" = '74,285'
[ 2061, 1110, 373, 262, 14858, 8915, 11, 26279, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 41172, 2791, 33411, 366, 8086, 437, 590, 1, 796, 705, 4524, 11, 26279, 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, 1110, 373, 262, 14858, 8915, 11, 26279, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 41172, 2791, 33411, 366, 8086, 437, 590, 1, 796, 705, 4524, 11, 26279, 6 ]
i would like a TW flight from ATLANTA to SAN FRANCISCO with a stopover in DENVER
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, flight_stop WHERE ((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SAN FRANCISCO' AND CI...
[ 72, 561, 588, 257, 17306, 5474, 422, 5161, 25697, 5603, 284, 37376, 8782, 20940, 1797, 8220, 351, 257, 2245, 2502, 287, 37692, 28884, 36, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 72, 561, 588, 257, 17306, 5474, 422, 5161, 25697, 5603, 284, 37376, 8782, 20940, 1797, 8220, 351, 257, 2245, 2502, 287, 37692, 28884, 36, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490...
What is every media type for the World genre?
SELECT media_type FROM table_23829490_1 WHERE genre = "World"
[ 2061, 318, 790, 2056, 2099, 329, 262, 2159, 12121, 30, 46506, 2056, 62, 4906, 16034, 3084, 62, 23721, 1959, 31503, 62, 16, 33411, 12121, 796, 366, 10603, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 790, 2056, 2099, 329, 262, 2159, 12121, 30, 46506, 2056, 62, 4906, 16034, 3084, 62, 23721, 1959, 31503, 62, 16, 33411, 12121, 796, 366, 10603, 1 ]
Number of Users with Reputation == N. For each unique reputation value N, this query retrieves the number of uses with reputation == N. Click the graph tab for interesting pictures.
SELECT Reputation, COUNT(1) AS UserCount FROM Users GROUP BY Reputation ORDER BY Reputation
[ 15057, 286, 18987, 351, 1432, 7094, 6624, 399, 13, 1114, 1123, 3748, 8507, 1988, 399, 11, 428, 12405, 13236, 1158, 262, 1271, 286, 3544, 351, 8507, 6624, 399, 13, 201, 198, 201, 198, 8164, 262, 4823, 7400, 329, 3499, 5986, 13, 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 ]
[ 15057, 286, 18987, 351, 1432, 7094, 6624, 399, 13, 1114, 1123, 3748, 8507, 1988, 399, 11, 428, 12405, 13236, 1158, 262, 1271, 286, 3544, 351, 8507, 6624, 399, 13, 201, 198, 201, 198, 8164, 262, 4823, 7400, 329, 3499, 5986, 13, 46506, ...
Show the average age for male and female students with a bar chart.
SELECT Sex, AVG(Age) FROM Student GROUP BY Sex
[ 15307, 262, 2811, 2479, 329, 4257, 290, 4048, 2444, 351, 257, 2318, 8262, 13, 46506, 14419, 11, 35224, 7, 23396, 8, 16034, 13613, 44441, 11050, 14419 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 262, 2811, 2479, 329, 4257, 290, 4048, 2444, 351, 257, 2318, 8262, 13, 46506, 14419, 11, 35224, 7, 23396, 8, 16034, 13613, 44441, 11050, 14419 ]
did patient 006-1634 ever undergo cultures - urine in 2105?
SELECT COUNT(*) > 0 FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-1634')) AND treatment.treatmentname = 'cultures - urine' AND STRFTIME('%...
[ 20839, 5827, 3571, 21, 12, 1433, 2682, 1683, 17777, 13817, 532, 18922, 287, 362, 13348, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 3513, 33411, 3513, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 20839, 5827, 3571, 21, 12, 1433, 2682, 1683, 17777, 13817, 532, 18922, 287, 362, 13348, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 3513, 33411, 3513, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, ...
Name the area km 2 for balmoral
SELECT area_km_2 FROM table_171361_2 WHERE official_name = "Balmoral"
[ 5376, 262, 1989, 10571, 362, 329, 3652, 41996, 46506, 1989, 62, 13276, 62, 17, 16034, 3084, 62, 1558, 1485, 5333, 62, 17, 33411, 1743, 62, 3672, 796, 366, 24597, 41996, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 1989, 10571, 362, 329, 3652, 41996, 46506, 1989, 62, 13276, 62, 17, 16034, 3084, 62, 1558, 1485, 5333, 62, 17, 33411, 1743, 62, 3672, 796, 366, 24597, 41996, 1 ]
How many first tournaments are associated with bowling?
SELECT COUNT(1 AS st_tournament) FROM table_2849652_2 WHERE sport = "Bowling"
[ 2437, 867, 717, 18130, 389, 3917, 351, 33564, 30, 46506, 327, 28270, 7, 16, 7054, 336, 62, 83, 5138, 8, 16034, 3084, 62, 2078, 2920, 43193, 62, 17, 33411, 6332, 796, 366, 39961, 1359, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 717, 18130, 389, 3917, 351, 33564, 30, 46506, 327, 28270, 7, 16, 7054, 336, 62, 83, 5138, 8, 16034, 3084, 62, 2078, 2920, 43193, 62, 17, 33411, 6332, 796, 366, 39961, 1359, 1 ]
What school is located in rossville?
SELECT "School" FROM table_5567 WHERE "Location" = 'rossville'
[ 2061, 1524, 318, 5140, 287, 686, 824, 4244, 30, 46506, 366, 26130, 1, 16034, 3084, 62, 2816, 3134, 33411, 366, 14749, 1, 796, 705, 1214, 4244, 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, 1524, 318, 5140, 287, 686, 824, 4244, 30, 46506, 366, 26130, 1, 16034, 3084, 62, 2816, 3134, 33411, 366, 14749, 1, 796, 705, 1214, 4244, 6 ]
What is the total of bronze medals from nations with more than 16 total medals and ranks larger than 3?
SELECT COUNT("Bronze") FROM table_71299 WHERE "Total" = '16' AND "Rank" > '3'
[ 2061, 318, 262, 2472, 286, 22101, 28057, 422, 7027, 351, 517, 621, 1467, 2472, 28057, 290, 9803, 4025, 621, 513, 30, 46506, 327, 28270, 7203, 18760, 2736, 4943, 16034, 3084, 62, 49517, 2079, 33411, 366, 14957, 1, 796, 705, 1433, 6, 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 ]
[ 2061, 318, 262, 2472, 286, 22101, 28057, 422, 7027, 351, 517, 621, 1467, 2472, 28057, 290, 9803, 4025, 621, 513, 30, 46506, 327, 28270, 7203, 18760, 2736, 4943, 16034, 3084, 62, 49517, 2079, 33411, 366, 14957, 1, 796, 705, 1433, 6, 53...
what is the total hospital bill of patient 27172's during their stay?
SELECT SUM(cost.cost) FROM cost WHERE cost.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 27172)
[ 10919, 318, 262, 2472, 4436, 2855, 286, 5827, 2681, 23628, 338, 1141, 511, 2652, 30, 46506, 35683, 7, 15805, 13, 15805, 8, 16034, 1575, 33411, 1575, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4436, 2855, 286, 5827, 2681, 23628, 338, 1141, 511, 2652, 30, 46506, 35683, 7, 15805, 13, 15805, 8, 16034, 1575, 33411, 1575, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349...
What is the team for 1976?
SELECT team FROM table_name_67 WHERE year = "1976"
[ 2061, 318, 262, 1074, 329, 15408, 30, 46506, 1074, 16034, 3084, 62, 3672, 62, 3134, 33411, 614, 796, 366, 38108, 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, 1074, 329, 15408, 30, 46506, 1074, 16034, 3084, 62, 3672, 62, 3134, 33411, 614, 796, 366, 38108, 1 ]
Who is in week 4 if week 5 is [month ended] and week 2 is April Ireland?
SELECT "Week 4" FROM table_61290 WHERE "Week 5" = '[month ended]' AND "Week 2" = 'april ireland'
[ 8241, 318, 287, 1285, 604, 611, 1285, 642, 318, 685, 8424, 4444, 60, 290, 1285, 362, 318, 3035, 7517, 30, 46506, 366, 20916, 604, 1, 16034, 3084, 62, 43610, 3829, 33411, 366, 20916, 642, 1, 796, 44438, 8424, 4444, 49946, 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 ]
[ 8241, 318, 287, 1285, 604, 611, 1285, 642, 318, 685, 8424, 4444, 60, 290, 1285, 362, 318, 3035, 7517, 30, 46506, 366, 20916, 604, 1, 16034, 3084, 62, 43610, 3829, 33411, 366, 20916, 642, 1, 796, 44438, 8424, 4444, 49946, 5357, 366, ...
What is the build date when total produced is 2?
SELECT build_date FROM table_name_80 WHERE total_produced = 2
[ 2061, 318, 262, 1382, 3128, 618, 2472, 4635, 318, 362, 30, 46506, 1382, 62, 4475, 16034, 3084, 62, 3672, 62, 1795, 33411, 2472, 62, 32783, 796, 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 ]
[ 2061, 318, 262, 1382, 3128, 618, 2472, 4635, 318, 362, 30, 46506, 1382, 62, 4475, 16034, 3084, 62, 3672, 62, 1795, 33411, 2472, 62, 32783, 796, 362 ]
What was the highest number of games played when they had over 14 against and 3 losses?
SELECT MAX(played) FROM table_name_27 WHERE against > 14 AND lost = 3
[ 2061, 373, 262, 4511, 1271, 286, 1830, 2826, 618, 484, 550, 625, 1478, 1028, 290, 513, 9089, 30, 46506, 25882, 7, 21542, 8, 16034, 3084, 62, 3672, 62, 1983, 33411, 1028, 1875, 1478, 5357, 2626, 796, 513 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 4511, 1271, 286, 1830, 2826, 618, 484, 550, 625, 1478, 1028, 290, 513, 9089, 30, 46506, 25882, 7, 21542, 8, 16034, 3084, 62, 3672, 62, 1983, 33411, 1028, 1875, 1478, 5357, 2626, 796, 513 ]
what airline is a s AS in sam
SELECT DISTINCT airline_code FROM airline WHERE airline_code = 'AS'
[ 10919, 18091, 318, 257, 264, 7054, 287, 6072, 46506, 360, 8808, 1268, 4177, 18091, 62, 8189, 16034, 18091, 33411, 18091, 62, 8189, 796, 705, 1921, 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 ]
[ 10919, 18091, 318, 257, 264, 7054, 287, 6072, 46506, 360, 8808, 1268, 4177, 18091, 62, 8189, 16034, 18091, 33411, 18091, 62, 8189, 796, 705, 1921, 6 ]
What is the civil parish of the cappanaboul townland?
SELECT civil_parish FROM table_30120547_1 WHERE townland = "Cappanaboul"
[ 2061, 318, 262, 3026, 28830, 286, 262, 1275, 381, 272, 397, 2852, 3240, 1044, 30, 46506, 3026, 62, 1845, 680, 16034, 3084, 62, 18938, 21261, 2857, 62, 16, 33411, 3240, 1044, 796, 366, 34, 1324, 272, 397, 2852, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3026, 28830, 286, 262, 1275, 381, 272, 397, 2852, 3240, 1044, 30, 46506, 3026, 62, 1845, 680, 16034, 3084, 62, 18938, 21261, 2857, 62, 16, 33411, 3240, 1044, 796, 366, 34, 1324, 272, 397, 2852, 1 ]
How many cash prizes were given for the hindi language film jodhaa akbar?
SELECT COUNT(cash_prize) FROM table_25926120_3 WHERE language = "Hindi" AND name_of_film = "Jodhaa Akbar"
[ 2437, 867, 5003, 21740, 547, 1813, 329, 262, 16222, 72, 3303, 2646, 474, 375, 3099, 64, 47594, 5657, 30, 46506, 327, 28270, 7, 30350, 62, 3448, 2736, 8, 16034, 3084, 62, 25191, 2075, 10232, 62, 18, 33411, 3303, 796, 366, 39, 521, 72...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5003, 21740, 547, 1813, 329, 262, 16222, 72, 3303, 2646, 474, 375, 3099, 64, 47594, 5657, 30, 46506, 327, 28270, 7, 30350, 62, 3448, 2736, 8, 16034, 3084, 62, 25191, 2075, 10232, 62, 18, 33411, 3303, 796, 366, 39, 521, 72...
What was the crowd size for the away team footscray?
SELECT crowd FROM table_name_59 WHERE away_team = "footscray"
[ 2061, 373, 262, 4315, 2546, 329, 262, 1497, 1074, 2366, 1416, 2433, 30, 46506, 4315, 16034, 3084, 62, 3672, 62, 3270, 33411, 1497, 62, 15097, 796, 366, 5898, 1416, 2433, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 4315, 2546, 329, 262, 1497, 1074, 2366, 1416, 2433, 30, 46506, 4315, 16034, 3084, 62, 3672, 62, 3270, 33411, 1497, 62, 15097, 796, 366, 5898, 1416, 2433, 1 ]
Show different publishers together with the number of publications they have in a pie chart.
SELECT Publisher, COUNT(*) FROM publication GROUP BY Publisher
[ 15307, 1180, 17604, 1978, 351, 262, 1271, 286, 16125, 484, 423, 287, 257, 2508, 8262, 13, 46506, 28045, 11, 327, 28270, 7, 28104, 16034, 9207, 44441, 11050, 28045 ]
[ 1, 1, 1, 1, 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, 1180, 17604, 1978, 351, 262, 1271, 286, 16125, 484, 423, 287, 257, 2508, 8262, 13, 46506, 28045, 11, 327, 28270, 7, 28104, 16034, 9207, 44441, 11050, 28045 ]
What is the first year in the competition?
SELECT MIN(year) FROM table_19047_2
[ 2061, 318, 262, 717, 614, 287, 262, 5449, 30, 46506, 20625, 7, 1941, 8, 16034, 3084, 62, 19782, 2857, 62, 17 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 717, 614, 287, 262, 5449, 30, 46506, 20625, 7, 1941, 8, 16034, 3084, 62, 19782, 2857, 62, 17 ]
When 2011 is the year what is the lowest money list rank?
SELECT MIN(money_list_rank) FROM table_24330912_1 WHERE year = 2011
[ 2215, 2813, 318, 262, 614, 644, 318, 262, 9016, 1637, 1351, 4279, 30, 46506, 20625, 7, 26316, 62, 4868, 62, 43027, 8, 16034, 3084, 62, 1731, 26073, 24, 1065, 62, 16, 33411, 614, 796, 2813 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2813, 318, 262, 614, 644, 318, 262, 9016, 1637, 1351, 4279, 30, 46506, 20625, 7, 26316, 62, 4868, 62, 43027, 8, 16034, 3084, 62, 1731, 26073, 24, 1065, 62, 16, 33411, 614, 796, 2813 ]
Show the number of accounts for each customer in a bar chart grouping by customer's last name, and rank from high to low by the total number.
SELECT customer_last_name, COUNT(*) FROM Accounts AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id GROUP BY T1.customer_id ORDER BY COUNT(*) DESC
[ 15307, 262, 1271, 286, 5504, 329, 1123, 6491, 287, 257, 2318, 8262, 36115, 416, 6491, 338, 938, 1438, 11, 290, 4279, 422, 1029, 284, 1877, 416, 262, 2472, 1271, 13, 46506, 6491, 62, 12957, 62, 3672, 11, 327, 28270, 7, 28104, 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...
[ 15307, 262, 1271, 286, 5504, 329, 1123, 6491, 287, 257, 2318, 8262, 36115, 416, 6491, 338, 938, 1438, 11, 290, 4279, 422, 1029, 284, 1877, 416, 262, 2472, 1271, 13, 46506, 6491, 62, 12957, 62, 3672, 11, 327, 28270, 7, 28104, 16034, ...
Name the home team for manuka oval
SELECT home_team FROM table_14312471_3 WHERE ground = "Manuka Oval"
[ 5376, 262, 1363, 1074, 329, 582, 14852, 41186, 46506, 1363, 62, 15097, 16034, 3084, 62, 21139, 1065, 38339, 62, 18, 33411, 2323, 796, 366, 5124, 14852, 25165, 1 ]
[ 1, 1, 1, 1, 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, 1363, 1074, 329, 582, 14852, 41186, 46506, 1363, 62, 15097, 16034, 3084, 62, 21139, 1065, 38339, 62, 18, 33411, 2323, 796, 366, 5124, 14852, 25165, 1 ]
How many different roles are there on the project staff?
SELECT COUNT(DISTINCT role_code) FROM project_staff
[ 2437, 867, 1180, 9176, 389, 612, 319, 262, 1628, 3085, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 2597, 62, 8189, 8, 16034, 1628, 62, 28120 ]
[ 1, 1, 1, 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, 9176, 389, 612, 319, 262, 1628, 3085, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 2597, 62, 8189, 8, 16034, 1628, 62, 28120 ]
What date did the Chicago Bears beat the Green bay Packers 31-20?
SELECT "Date" FROM table_53946 WHERE "Loser" = 'green bay packers' AND "Location" = 'green bay'
[ 2061, 3128, 750, 262, 4842, 15682, 4405, 262, 3469, 15489, 17832, 3261, 12, 1238, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 20, 2670, 3510, 33411, 366, 43, 13416, 1, 796, 705, 14809, 15489, 2353, 364, 6, 5357, 366, 14749, 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 ]
[ 2061, 3128, 750, 262, 4842, 15682, 4405, 262, 3469, 15489, 17832, 3261, 12, 1238, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 20, 2670, 3510, 33411, 366, 43, 13416, 1, 796, 705, 14809, 15489, 2353, 364, 6, 5357, 366, 14749, 1, 796, 7...
Tell me the total number of rank for places less than 94 and points less than 169.8 for japan
SELECT COUNT(rank) FROM table_name_98 WHERE places < 94 AND points < 169.8 AND nation = "japan"
[ 24446, 502, 262, 2472, 1271, 286, 4279, 329, 4113, 1342, 621, 10048, 290, 2173, 1342, 621, 27191, 13, 23, 329, 474, 2674, 46506, 327, 28270, 7, 43027, 8, 16034, 3084, 62, 3672, 62, 4089, 33411, 4113, 1279, 10048, 5357, 2173, 1279, 271...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4279, 329, 4113, 1342, 621, 10048, 290, 2173, 1342, 621, 27191, 13, 23, 329, 474, 2674, 46506, 327, 28270, 7, 43027, 8, 16034, 3084, 62, 3672, 62, 4089, 33411, 4113, 1279, 10048, 5357, 2173, 1279, 271...
Where did jamie cox & daniel marsh play against queensland?
SELECT venue FROM table_name_71 WHERE opponent = "queensland" AND batsmen = "jamie cox & daniel marsh"
[ 8496, 750, 16853, 494, 763, 87, 1222, 288, 6321, 22397, 711, 1028, 38771, 1044, 30, 46506, 14359, 16034, 3084, 62, 3672, 62, 4869, 33411, 6125, 796, 366, 4188, 641, 1044, 1, 5357, 19553, 3653, 796, 366, 39159, 494, 763, 87, 1222, 288,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 750, 16853, 494, 763, 87, 1222, 288, 6321, 22397, 711, 1028, 38771, 1044, 30, 46506, 14359, 16034, 3084, 62, 3672, 62, 4869, 33411, 6125, 796, 366, 4188, 641, 1044, 1, 5357, 19553, 3653, 796, 366, 39159, 494, 763, 87, 1222, 288,...
A bar chart shows the distribution of meter_700 and meter_100 , sort Y from low to high order.
SELECT meter_700, meter_100 FROM swimmer ORDER BY meter_100
[ 32, 2318, 8262, 2523, 262, 6082, 286, 16430, 62, 9879, 290, 16430, 62, 3064, 837, 3297, 575, 422, 1877, 284, 1029, 1502, 13, 46506, 16430, 62, 9879, 11, 16430, 62, 3064, 16034, 9422, 647, 38678, 11050, 16430, 62, 3064 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 32, 2318, 8262, 2523, 262, 6082, 286, 16430, 62, 9879, 290, 16430, 62, 3064, 837, 3297, 575, 422, 1877, 284, 1029, 1502, 13, 46506, 16430, 62, 9879, 11, 16430, 62, 3064, 16034, 9422, 647, 38678, 11050, 16430, 62, 3064 ]
What is the highest number of silvers for ranks over 7?
SELECT MAX("Silver") FROM table_36019 WHERE "Rank" > '7'
[ 2061, 318, 262, 4511, 1271, 286, 3313, 690, 329, 9803, 625, 767, 30, 46506, 25882, 7203, 26766, 4943, 16034, 3084, 62, 2623, 30484, 33411, 366, 27520, 1, 1875, 705, 22, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4511, 1271, 286, 3313, 690, 329, 9803, 625, 767, 30, 46506, 25882, 7203, 26766, 4943, 16034, 3084, 62, 2623, 30484, 33411, 366, 27520, 1, 1875, 705, 22, 6 ]
WHAT PLAYER HAS UPLAND HIGH SCHOOL?
SELECT player FROM table_name_88 WHERE hometown_school = "upland high school"
[ 32971, 28180, 1137, 33930, 471, 6489, 6981, 34677, 35883, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 3459, 33411, 20994, 62, 14347, 796, 366, 84, 489, 392, 1029, 1524, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 28180, 1137, 33930, 471, 6489, 6981, 34677, 35883, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 3459, 33411, 20994, 62, 14347, 796, 366, 84, 489, 392, 1029, 1524, 1 ]
what is the number of patients whose age is less than 63 and drug type is main?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.age < "63" AND prescriptions.drug_type = "MAIN"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 2479, 318, 1342, 621, 8093, 290, 2563, 2099, 318, 1388, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 1271, 286, 3871, 3025, 2479, 318, 1342, 621, 8093, 290, 2563, 2099, 318, 1388, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728, ...
What is the value of D 42 , when the value of D 45 O is d 32 ?
SELECT "D 42 \u221a" FROM table_80438 WHERE "D 45 O" = 'd 32 √'
[ 2061, 318, 262, 1988, 286, 360, 5433, 837, 618, 262, 1988, 286, 360, 4153, 440, 318, 288, 3933, 5633, 46506, 366, 35, 5433, 3467, 84, 26115, 64, 1, 16034, 3084, 62, 36088, 2548, 33411, 366, 35, 4153, 440, 1, 796, 705, 67, 3933, 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, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1988, 286, 360, 5433, 837, 618, 262, 1988, 286, 360, 4153, 440, 318, 288, 3933, 5633, 46506, 366, 35, 5433, 3467, 84, 26115, 64, 1, 16034, 3084, 62, 36088, 2548, 33411, 366, 35, 4153, 440, 1, 796, 705, 67, 3933, 18...
Find the emails and phone numbers of all the customers, ordered by email address and phone number.
SELECT email_address, phone_number FROM customers ORDER BY email_address, phone_number
[ 16742, 262, 7237, 290, 3072, 3146, 286, 477, 262, 4297, 11, 6149, 416, 3053, 2209, 290, 3072, 1271, 13, 46506, 3053, 62, 21975, 11, 3072, 62, 17618, 16034, 4297, 38678, 11050, 3053, 62, 21975, 11, 3072, 62, 17618 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16742, 262, 7237, 290, 3072, 3146, 286, 477, 262, 4297, 11, 6149, 416, 3053, 2209, 290, 3072, 1271, 13, 46506, 3053, 62, 21975, 11, 3072, 62, 17618, 16034, 4297, 38678, 11050, 3053, 62, 21975, 11, 3072, 62, 17618 ]
when was the first time that since 5 years ago patient 030-60126 received administration of electrolytes procedure?
SELECT treatment.treatmenttime FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '030-60126')) AND treatment.treatmentname = 'administration of ele...
[ 12518, 373, 262, 717, 640, 326, 1201, 642, 812, 2084, 5827, 657, 1270, 12, 41706, 2075, 2722, 3662, 286, 39450, 4879, 8771, 30, 46506, 3513, 13, 42487, 2435, 16034, 3513, 33411, 3513, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 262, 717, 640, 326, 1201, 642, 812, 2084, 5827, 657, 1270, 12, 41706, 2075, 2722, 3662, 286, 39450, 4879, 8771, 30, 46506, 3513, 13, 42487, 2435, 16034, 3513, 33411, 3513, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827...
what is the total number of cultivars listed on the table ?
SELECT COUNT("name") FROM table_203_699
[ 10919, 318, 262, 2472, 1271, 286, 11229, 945, 5610, 319, 262, 3084, 5633, 46506, 327, 28270, 7203, 3672, 4943, 16034, 3084, 62, 22416, 62, 47325 ]
[ 1, 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, 11229, 945, 5610, 319, 262, 3084, 5633, 46506, 327, 28270, 7203, 3672, 4943, 16034, 3084, 62, 22416, 62, 47325 ]
Name the total number for race caller for bob costas and charlsie cantey
SELECT COUNT(race_caller) FROM table_22514845_2 WHERE trophy_presentation = "Bob Costas and Charlsie Cantey"
[ 5376, 262, 2472, 1271, 329, 3234, 24955, 329, 29202, 1575, 292, 290, 1149, 7278, 494, 18548, 2959, 46506, 327, 28270, 7, 16740, 62, 13345, 263, 8, 16034, 3084, 62, 18182, 18294, 2231, 62, 17, 33411, 16383, 62, 25579, 341, 796, 366, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 2472, 1271, 329, 3234, 24955, 329, 29202, 1575, 292, 290, 1149, 7278, 494, 18548, 2959, 46506, 327, 28270, 7, 16740, 62, 13345, 263, 8, 16034, 3084, 62, 18182, 18294, 2231, 62, 17, 33411, 16383, 62, 25579, 341, 796, 366, 18...
what is the maximum first elected with district being alabama 5
SELECT MAX(first_elected) FROM table_1342270_3 WHERE district = "Alabama 5"
[ 10919, 318, 262, 5415, 717, 7018, 351, 4783, 852, 435, 8809, 642, 46506, 25882, 7, 11085, 62, 28604, 8, 16034, 3084, 62, 19880, 1828, 2154, 62, 18, 33411, 4783, 796, 366, 49177, 642, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 5415, 717, 7018, 351, 4783, 852, 435, 8809, 642, 46506, 25882, 7, 11085, 62, 28604, 8, 16034, 3084, 62, 19880, 1828, 2154, 62, 18, 33411, 4783, 796, 366, 49177, 642, 1 ]
Churai has what as the fewest number of electorates?
SELECT MIN("Number of electorates (2009)") FROM table_66197 WHERE "Name" = 'churai'
[ 1925, 16998, 468, 644, 355, 262, 1178, 395, 1271, 286, 43191, 689, 30, 46506, 20625, 7203, 15057, 286, 43191, 689, 357, 10531, 8, 4943, 16034, 3084, 62, 2791, 24991, 33411, 366, 5376, 1, 796, 705, 354, 16998, 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 ]
[ 1925, 16998, 468, 644, 355, 262, 1178, 395, 1271, 286, 43191, 689, 30, 46506, 20625, 7203, 15057, 286, 43191, 689, 357, 10531, 8, 4943, 16034, 3084, 62, 2791, 24991, 33411, 366, 5376, 1, 796, 705, 354, 16998, 6 ]
Which team was the opponent in game 5?
SELECT "Team" FROM table_30996 WHERE "Game" = '5'
[ 13828, 1074, 373, 262, 6125, 287, 983, 642, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 1270, 38565, 33411, 366, 8777, 1, 796, 705, 20, 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, 1074, 373, 262, 6125, 287, 983, 642, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 1270, 38565, 33411, 366, 8777, 1, 796, 705, 20, 6 ]
When has a Week of 8?
SELECT date FROM table_name_73 WHERE week = 8
[ 2215, 468, 257, 6119, 286, 807, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 4790, 33411, 1285, 796, 807 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 468, 257, 6119, 286, 807, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 4790, 33411, 1285, 796, 807 ]
count the number of patients whose admission type is emergency and ethnicity is hispanic/latino - puerto rican?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_type = "EMERGENCY" AND demographic.ethnicity = "HISPANIC/LATINO - PUERTO RICAN"
[ 9127, 262, 1271, 286, 3871, 3025, 13938, 2099, 318, 6334, 290, 26289, 318, 465, 35843, 14, 15460, 2879, 532, 47574, 13806, 374, 7490, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9127, 262, 1271, 286, 3871, 3025, 13938, 2099, 318, 6334, 290, 26289, 318, 465, 35843, 14, 15460, 2879, 532, 47574, 13806, 374, 7490, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 1...
For those employees who did not have any job in the past, return a scatter chart about the correlation between employee_id and department_id .
SELECT EMPLOYEE_ID, DEPARTMENT_ID FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history)
[ 1890, 883, 4409, 508, 750, 407, 423, 597, 1693, 287, 262, 1613, 11, 1441, 257, 41058, 8262, 546, 262, 16096, 1022, 6538, 62, 312, 290, 5011, 62, 312, 764, 46506, 17228, 6489, 21414, 6500, 62, 2389, 11, 5550, 30709, 10979, 62, 2389, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4409, 508, 750, 407, 423, 597, 1693, 287, 262, 1613, 11, 1441, 257, 41058, 8262, 546, 262, 16096, 1022, 6538, 62, 312, 290, 5011, 62, 312, 764, 46506, 17228, 6489, 21414, 6500, 62, 2389, 11, 5550, 30709, 10979, 62, 2389, ...
In which venue did a home team score 15.5 (95)?
SELECT "Venue" FROM table_53707 WHERE "Home team score" = '15.5 (95)'
[ 818, 543, 14359, 750, 257, 1363, 1074, 4776, 1315, 13, 20, 357, 3865, 19427, 46506, 366, 37522, 518, 1, 16034, 3084, 62, 4310, 24038, 33411, 366, 16060, 1074, 4776, 1, 796, 705, 1314, 13, 20, 357, 3865, 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 ]
[ 818, 543, 14359, 750, 257, 1363, 1074, 4776, 1315, 13, 20, 357, 3865, 19427, 46506, 366, 37522, 518, 1, 16034, 3084, 62, 4310, 24038, 33411, 366, 16060, 1074, 4776, 1, 796, 705, 1314, 13, 20, 357, 3865, 33047 ]
What is the current income inequality for the country of Seychelles?
SELECT "Income inequality 1994\u20132011 (latest available)" FROM table_33325 WHERE "Country" = 'seychelles'
[ 2061, 318, 262, 1459, 3739, 12791, 329, 262, 1499, 286, 1001, 88, 12398, 274, 30, 46506, 366, 818, 2958, 12791, 9162, 59, 84, 6390, 9804, 357, 42861, 1695, 16725, 16034, 3084, 62, 20370, 1495, 33411, 366, 33921, 1, 796, 705, 4397, 123...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1459, 3739, 12791, 329, 262, 1499, 286, 1001, 88, 12398, 274, 30, 46506, 366, 818, 2958, 12791, 9162, 59, 84, 6390, 9804, 357, 42861, 1695, 16725, 16034, 3084, 62, 20370, 1495, 33411, 366, 33921, 1, 796, 705, 4397, 123...
What was his minimum number wins in a single year?
SELECT MIN("Wins") FROM table_27776
[ 2061, 373, 465, 5288, 1271, 7864, 287, 257, 2060, 614, 30, 46506, 20625, 7203, 54, 1040, 4943, 16034, 3084, 62, 1983, 39509 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 465, 5288, 1271, 7864, 287, 257, 2060, 614, 30, 46506, 20625, 7203, 54, 1040, 4943, 16034, 3084, 62, 1983, 39509 ]
Who is the constructor of John Surtees's Oulton Park circuit car?
SELECT "Constructor" FROM table_58403 WHERE "Circuit" = 'oulton park' AND "Winning driver" = 'john surtees'
[ 8241, 318, 262, 23772, 286, 1757, 4198, 660, 274, 338, 440, 37944, 3250, 10349, 1097, 30, 46506, 366, 42316, 273, 1, 16034, 3084, 62, 3365, 31552, 33411, 366, 31560, 5013, 1, 796, 705, 2852, 1122, 3952, 6, 5357, 366, 16643, 768, 4639,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 23772, 286, 1757, 4198, 660, 274, 338, 440, 37944, 3250, 10349, 1097, 30, 46506, 366, 42316, 273, 1, 16034, 3084, 62, 3365, 31552, 33411, 366, 31560, 5013, 1, 796, 705, 2852, 1122, 3952, 6, 5357, 366, 16643, 768, 4639,...
Find questions by a user answered by a user.
SELECT q.Id AS "Question Id", q.Id AS "post_link", q.OwnerUserId AS "user_link", a.Id AS "Answer Id", a.Id AS "post_link", a.OwnerUserId AS "user_link" FROM Posts AS q, Posts AS a WHERE q.OwnerUserId = '##QuestionOwnerId:int##' AND a.OwnerUserId = '##AnswerOwnerId:int##' AND a.ParentId = q.Id
[ 16742, 2683, 416, 257, 2836, 9373, 416, 257, 2836, 13, 46506, 10662, 13, 7390, 7054, 366, 24361, 5121, 1600, 10662, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 10662, 13, 42419, 12982, 7390, 7054, 366, 7220, 62, 8726, 1600, 257, 13, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 16742, 2683, 416, 257, 2836, 9373, 416, 257, 2836, 13, 46506, 10662, 13, 7390, 7054, 366, 24361, 5121, 1600, 10662, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 10662, 13, 42419, 12982, 7390, 7054, 366, 7220, 62, 8726, 1600, 257, 13, 73...
what is the total amount of guests in episode 1-01 ?
SELECT "guest cast" FROM table_204_494 WHERE "episode #" = '1-01'
[ 10919, 318, 262, 2472, 2033, 286, 10650, 287, 4471, 352, 12, 486, 5633, 46506, 366, 5162, 395, 3350, 1, 16034, 3084, 62, 18638, 62, 39449, 33411, 366, 38668, 1303, 1, 796, 705, 16, 12, 486, 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 ]
[ 10919, 318, 262, 2472, 2033, 286, 10650, 287, 4471, 352, 12, 486, 5633, 46506, 366, 5162, 395, 3350, 1, 16034, 3084, 62, 18638, 62, 39449, 33411, 366, 38668, 1303, 1, 796, 705, 16, 12, 486, 6 ]
Which IATA's ICAO is rjss?
SELECT iata FROM table_name_17 WHERE icao = "rjss"
[ 13828, 314, 13563, 338, 314, 8141, 46, 318, 374, 73, 824, 30, 46506, 1312, 1045, 16034, 3084, 62, 3672, 62, 1558, 33411, 220, 3970, 78, 796, 366, 81, 73, 824, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 314, 13563, 338, 314, 8141, 46, 318, 374, 73, 824, 30, 46506, 1312, 1045, 16034, 3084, 62, 3672, 62, 1558, 33411, 220, 3970, 78, 796, 366, 81, 73, 824, 1 ]
Show me about the distribution of Time and ID in a bar chart, order y axis in asc order.
SELECT Time, ID FROM swimmer ORDER BY ID
[ 15307, 502, 546, 262, 6082, 286, 3862, 290, 4522, 287, 257, 2318, 8262, 11, 1502, 331, 16488, 287, 10570, 1502, 13, 46506, 3862, 11, 4522, 16034, 9422, 647, 38678, 11050, 4522 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 3862, 290, 4522, 287, 257, 2318, 8262, 11, 1502, 331, 16488, 287, 10570, 1502, 13, 46506, 3862, 11, 4522, 16034, 9422, 647, 38678, 11050, 4522 ]
Draw a bar chart of owner versus total number of rating in percent, and order in descending by the y axis.
SELECT Owner, SUM(Rating_in_percent) FROM channel GROUP BY Owner ORDER BY SUM(Rating_in_percent) DESC
[ 25302, 257, 2318, 8262, 286, 4870, 9051, 2472, 1271, 286, 7955, 287, 1411, 11, 290, 1502, 287, 31491, 416, 262, 331, 16488, 13, 46506, 23853, 11, 35683, 7, 29321, 62, 259, 62, 25067, 8, 16034, 6518, 44441, 11050, 23853, 38678, 11050, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 25302, 257, 2318, 8262, 286, 4870, 9051, 2472, 1271, 286, 7955, 287, 1411, 11, 290, 1502, 287, 31491, 416, 262, 331, 16488, 13, 46506, 23853, 11, 35683, 7, 29321, 62, 259, 62, 25067, 8, 16034, 6518, 44441, 11050, 23853, 38678, 11050, ...
What office is Jon Huntsman a candidate for?
SELECT "Office" FROM table_23631 WHERE "Candidate" = 'Jon Huntsman'
[ 2061, 2607, 318, 5966, 31926, 805, 257, 4540, 329, 30, 46506, 366, 27743, 1, 16034, 3084, 62, 24940, 3132, 33411, 366, 41572, 20540, 1, 796, 705, 18219, 31926, 805, 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, 2607, 318, 5966, 31926, 805, 257, 4540, 329, 30, 46506, 366, 27743, 1, 16034, 3084, 62, 24940, 3132, 33411, 366, 41572, 20540, 1, 796, 705, 18219, 31926, 805, 6 ]
What is Player, when Opponent is source: . last updated: 28 june 2007.?
SELECT player FROM table_name_17 WHERE opponent = "source: . last updated: 28 june 2007."
[ 2061, 318, 7853, 11, 618, 9385, 3471, 318, 2723, 25, 764, 938, 6153, 25, 2579, 474, 1726, 4343, 40791, 46506, 2137, 16034, 3084, 62, 3672, 62, 1558, 33411, 6125, 796, 366, 10459, 25, 764, 938, 6153, 25, 2579, 474, 1726, 4343, 526 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7853, 11, 618, 9385, 3471, 318, 2723, 25, 764, 938, 6153, 25, 2579, 474, 1726, 4343, 40791, 46506, 2137, 16034, 3084, 62, 3672, 62, 1558, 33411, 6125, 796, 366, 10459, 25, 764, 938, 6153, 25, 2579, 474, 1726, 4343, 526 ]
What date did they play agains the New York Rangers?
SELECT "Date" FROM table_25948 WHERE "Opponent" = 'New York Rangers'
[ 2061, 3128, 750, 484, 711, 757, 82, 262, 968, 1971, 13804, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 25191, 2780, 33411, 366, 27524, 3471, 1, 796, 705, 3791, 1971, 13804, 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, 3128, 750, 484, 711, 757, 82, 262, 968, 1971, 13804, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 25191, 2780, 33411, 366, 27524, 3471, 1, 796, 705, 3791, 1971, 13804, 6 ]
Which Silver is the highest one that has a Rank of 19, and a Gold larger than 0?
SELECT MAX(silver) FROM table_name_71 WHERE rank = "19" AND gold > 0
[ 13828, 7698, 318, 262, 4511, 530, 326, 468, 257, 10916, 286, 678, 11, 290, 257, 3561, 4025, 621, 657, 30, 46506, 25882, 7, 40503, 8, 16034, 3084, 62, 3672, 62, 4869, 33411, 4279, 796, 366, 1129, 1, 5357, 3869, 1875, 657 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 7698, 318, 262, 4511, 530, 326, 468, 257, 10916, 286, 678, 11, 290, 257, 3561, 4025, 621, 657, 30, 46506, 25882, 7, 40503, 8, 16034, 3084, 62, 3672, 62, 4869, 33411, 4279, 796, 366, 1129, 1, 5357, 3869, 1875, 657 ]
Who was firest elected in 2002 in a district larger than 41?
SELECT member_senator FROM table_name_4 WHERE first_elected = 2002 AND district > 41
[ 8241, 373, 2046, 301, 7018, 287, 6244, 287, 257, 4783, 4025, 621, 6073, 30, 46506, 2888, 62, 6248, 1352, 16034, 3084, 62, 3672, 62, 19, 33411, 717, 62, 28604, 796, 6244, 5357, 4783, 1875, 6073 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2046, 301, 7018, 287, 6244, 287, 257, 4783, 4025, 621, 6073, 30, 46506, 2888, 62, 6248, 1352, 16034, 3084, 62, 3672, 62, 19, 33411, 717, 62, 28604, 796, 6244, 5357, 4783, 1875, 6073 ]
What is the median household income of sacramento?
SELECT median_household_income FROM table_1356555_2 WHERE county = "Sacramento"
[ 2061, 318, 262, 14288, 6641, 3739, 286, 49081, 78, 30, 46506, 14288, 62, 4803, 2946, 62, 12519, 16034, 3084, 62, 1485, 3980, 31046, 62, 17, 33411, 7968, 796, 366, 38318, 15141, 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 ]
[ 2061, 318, 262, 14288, 6641, 3739, 286, 49081, 78, 30, 46506, 14288, 62, 4803, 2946, 62, 12519, 16034, 3084, 62, 1485, 3980, 31046, 62, 17, 33411, 7968, 796, 366, 38318, 15141, 78, 1 ]
What is the name of the mill constructed of red brick in 1910 with a reference number lower than 55?
SELECT name FROM table_name_7 WHERE ref_number < 55 AND built = 1910 AND construction = "red brick"
[ 2061, 318, 262, 1438, 286, 262, 3939, 12006, 286, 2266, 17214, 287, 31953, 351, 257, 4941, 1271, 2793, 621, 5996, 30, 46506, 1438, 16034, 3084, 62, 3672, 62, 22, 33411, 1006, 62, 17618, 1279, 5996, 5357, 3170, 796, 31953, 5357, 5103, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3939, 12006, 286, 2266, 17214, 287, 31953, 351, 257, 4941, 1271, 2793, 621, 5996, 30, 46506, 1438, 16034, 3084, 62, 3672, 62, 22, 33411, 1006, 62, 17618, 1279, 5996, 5357, 3170, 796, 31953, 5357, 5103, ...
How many entries are there for team coxy for the air date of 24 january 2010 and team guest captain of gail porter?
SELECT COUNT("Team Coxy") FROM table_28134 WHERE "Air Date" = '24 January 2010' AND "Team guest captain" = 'Gail Porter'
[ 2437, 867, 12784, 389, 612, 329, 1074, 763, 5431, 329, 262, 1633, 3128, 286, 1987, 42897, 2838, 3050, 290, 1074, 8319, 10654, 286, 308, 603, 279, 4337, 30, 46506, 327, 28270, 7203, 15592, 18014, 88, 4943, 16034, 3084, 62, 2078, 19880, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12784, 389, 612, 329, 1074, 763, 5431, 329, 262, 1633, 3128, 286, 1987, 42897, 2838, 3050, 290, 1074, 8319, 10654, 286, 308, 603, 279, 4337, 30, 46506, 327, 28270, 7203, 15592, 18014, 88, 4943, 16034, 3084, 62, 2078, 19880, ...