instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
What is the finish in 1956?
SELECT "Finish" FROM table_71761 WHERE "Year" = '1956'
[ 2061, 318, 262, 5461, 287, 25190, 30, 46506, 366, 48658, 1, 16034, 3084, 62, 22, 1558, 5333, 33411, 366, 17688, 1, 796, 705, 1129, 3980, 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 ]
[ 2061, 318, 262, 5461, 287, 25190, 30, 46506, 366, 48658, 1, 16034, 3084, 62, 22, 1558, 5333, 33411, 366, 17688, 1, 796, 705, 1129, 3980, 6 ]
What Municipality has a Rank of 44?
SELECT municipality FROM table_name_94 WHERE rank = 44
[ 2061, 27338, 1483, 468, 257, 10916, 286, 5846, 30, 46506, 27264, 16034, 3084, 62, 3672, 62, 5824, 33411, 4279, 796, 5846 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 27338, 1483, 468, 257, 10916, 286, 5846, 30, 46506, 27264, 16034, 3084, 62, 3672, 62, 5824, 33411, 4279, 796, 5846 ]
How many party events do we have?
SELECT COUNT(*) FROM party_events
[ 2437, 867, 2151, 2995, 466, 356, 423, 30, 46506, 327, 28270, 7, 28104, 16034, 2151, 62, 31534 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 2151, 2995, 466, 356, 423, 30, 46506, 327, 28270, 7, 28104, 16034, 2151, 62, 31534 ]
What are the number of the names of races held between 2009 and 2011?, and list from low to high by the names.
SELECT name, COUNT(name) FROM races WHERE year BETWEEN 2009 AND 2011 GROUP BY name ORDER BY name
[ 2061, 389, 262, 1271, 286, 262, 3891, 286, 9558, 2714, 1022, 3717, 290, 2813, 21747, 290, 1351, 422, 1877, 284, 1029, 416, 262, 3891, 13, 46506, 1438, 11, 327, 28270, 7, 3672, 8, 16034, 9558, 33411, 614, 38651, 8845, 1677, 3717, 5357,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 262, 1271, 286, 262, 3891, 286, 9558, 2714, 1022, 3717, 290, 2813, 21747, 290, 1351, 422, 1877, 284, 1029, 416, 262, 3891, 13, 46506, 1438, 11, 327, 28270, 7, 3672, 8, 16034, 9558, 33411, 614, 38651, 8845, 1677, 3717, 5357,...
give me the number of patients who had endoscopic excision or destruction of lesion or tissue of stomach and were hospitalized for more than 13 days.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.days_stay > "13" AND procedures.short_title = "Endosc destr stomach les"
[ 26535, 502, 262, 1271, 286, 3871, 508, 550, 886, 48228, 2859, 1166, 393, 8166, 286, 10287, 295, 393, 10712, 286, 11384, 290, 547, 31736, 329, 517, 621, 1511, 1528, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 26535, 502, 262, 1271, 286, 3871, 508, 550, 886, 48228, 2859, 1166, 393, 8166, 286, 10287, 295, 393, 10712, 286, 11384, 290, 547, 31736, 329, 517, 621, 1511, 1528, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, ...
Name the result when the incumbent was george h. mahon
SELECT "Result" FROM table_18318 WHERE "Incumbent" = 'George H. Mahon'
[ 5376, 262, 1255, 618, 262, 23526, 373, 4903, 3643, 289, 13, 285, 30491, 46506, 366, 23004, 1, 16034, 3084, 62, 24839, 1507, 33411, 366, 25517, 2178, 298, 1, 796, 705, 20191, 367, 13, 8882, 261, 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 ]
[ 5376, 262, 1255, 618, 262, 23526, 373, 4903, 3643, 289, 13, 285, 30491, 46506, 366, 23004, 1, 16034, 3084, 62, 24839, 1507, 33411, 366, 25517, 2178, 298, 1, 796, 705, 20191, 367, 13, 8882, 261, 6 ]
how many female patients had lab test item id 50836?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.gender = "F" AND lab.itemid = "50836"
[ 4919, 867, 4048, 3871, 550, 2248, 1332, 2378, 4686, 2026, 23, 2623, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108, 76, 62, 312, 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, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 4048, 3871, 550, 2248, 1332, 2378, 4686, 2026, 23, 2623, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108, 76, 62, 312, 796, ...
Name the location attendance for l 83 106 (ot)
SELECT location_attendance FROM table_22879323_9 WHERE score = "L 83–106 (OT)"
[ 5376, 262, 4067, 14858, 329, 300, 9698, 15696, 357, 313, 8, 46506, 4067, 62, 1078, 437, 590, 16034, 3084, 62, 23815, 3720, 32637, 62, 24, 33411, 4776, 796, 366, 43, 9698, 1906, 15801, 357, 2394, 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 ]
[ 5376, 262, 4067, 14858, 329, 300, 9698, 15696, 357, 313, 8, 46506, 4067, 62, 1078, 437, 590, 16034, 3084, 62, 23815, 3720, 32637, 62, 24, 33411, 4776, 796, 366, 43, 9698, 1906, 15801, 357, 2394, 16725 ]
When w 73-70 is the score what is the location?
SELECT "Location" FROM table_22684 WHERE "Score" = 'W 73-70'
[ 2215, 266, 8854, 12, 2154, 318, 262, 4776, 644, 318, 262, 4067, 30, 46506, 366, 14749, 1, 16034, 3084, 62, 1828, 41580, 33411, 366, 26595, 1, 796, 705, 54, 8854, 12, 2154, 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 ]
[ 2215, 266, 8854, 12, 2154, 318, 262, 4776, 644, 318, 262, 4067, 30, 46506, 366, 14749, 1, 16034, 3084, 62, 1828, 41580, 33411, 366, 26595, 1, 796, 705, 54, 8854, 12, 2154, 6 ]
What is the record of the team from chicago?
SELECT "Record" FROM table_53812 WHERE "Home" = 'chicago'
[ 2061, 318, 262, 1700, 286, 262, 1074, 422, 442, 4549, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 49561, 1065, 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 ]
[ 2061, 318, 262, 1700, 286, 262, 1074, 422, 442, 4549, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 49561, 1065, 33411, 366, 16060, 1, 796, 705, 354, 4549, 6 ]
what's the date with rnd 1
SELECT "Date" FROM table_16736 WHERE "Rnd" = '1'
[ 10919, 338, 262, 3128, 351, 374, 358, 352, 46506, 366, 10430, 1, 16034, 3084, 62, 21940, 2623, 33411, 366, 49, 358, 1, 796, 705, 16, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 338, 262, 3128, 351, 374, 358, 352, 46506, 366, 10430, 1, 16034, 3084, 62, 21940, 2623, 33411, 366, 49, 358, 1, 796, 705, 16, 6 ]
Who was the original artist of the First solo theme?
SELECT "Original artist" FROM table_28493 WHERE "Theme" = 'First Solo'
[ 8241, 373, 262, 2656, 6802, 286, 262, 3274, 12199, 7505, 30, 46506, 366, 20556, 6802, 1, 16034, 3084, 62, 2078, 43134, 33411, 366, 47863, 1, 796, 705, 5962, 20284, 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 ]
[ 8241, 373, 262, 2656, 6802, 286, 262, 3274, 12199, 7505, 30, 46506, 366, 20556, 6802, 1, 16034, 3084, 62, 2078, 43134, 33411, 366, 47863, 1, 796, 705, 5962, 20284, 6 ]
Select all tags from Posts under a certain Id.
SELECT Tags FROM Posts WHERE Id < 10000
[ 17563, 477, 15940, 422, 12043, 739, 257, 1728, 5121, 13, 46506, 44789, 16034, 12043, 33411, 5121, 1279, 33028 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 17563, 477, 15940, 422, 12043, 739, 257, 1728, 5121, 13, 46506, 44789, 16034, 12043, 33411, 5121, 1279, 33028 ]
Can you tell me the Overall Record that has the Week smaller than 16, and the Divisional Record of (1-0), and the Away Team of miami?
SELECT "Overall Record" FROM table_42188 WHERE "Week" < '16' AND "Divisional Record" = '(1-0)' AND "Away Team" = 'miami'
[ 6090, 345, 1560, 502, 262, 14674, 13266, 326, 468, 262, 6119, 4833, 621, 1467, 11, 290, 262, 7458, 282, 13266, 286, 357, 16, 12, 15, 828, 290, 262, 21986, 4816, 286, 285, 7871, 30, 46506, 366, 16350, 13266, 1, 16034, 3084, 62, 3682,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 6090, 345, 1560, 502, 262, 14674, 13266, 326, 468, 262, 6119, 4833, 621, 1467, 11, 290, 262, 7458, 282, 13266, 286, 357, 16, 12, 15, 828, 290, 262, 21986, 4816, 286, 285, 7871, 30, 46506, 366, 16350, 13266, 1, 16034, 3084, 62, 3682,...
Questions possibly with Chem.SE buzzwords in the title. Exclude any particular category of buzzword by setting its 'ignore' threshold to a large negative number.
SELECT p.Id AS "post_link", p.Score AS "Score", p.Tags AS "Tags" FROM Posts AS p WHERE p.PostTypeId = 1 AND (STR_POSITION(UPPER(p.Title), 'DOUBT') > 0 OR STR_POSITION(UPPER(p.Title), 'QUESTION') > 0 OR STR_POSITION(UPPER(p.Title), 'HELP') > 0 OR STR_POSITION(UPPER(p.Title), 'PROBLEM') > 0 OR (STR_POSITION(UPPER(p.Title...
[ 35741, 5457, 351, 12870, 13, 5188, 14713, 10879, 287, 262, 3670, 13, 1475, 9152, 597, 1948, 6536, 286, 14713, 4775, 416, 4634, 663, 705, 46430, 6, 11387, 284, 257, 1588, 4633, 1271, 13, 46506, 279, 13, 7390, 7054, 366, 7353, 62, 8726,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 35741, 5457, 351, 12870, 13, 5188, 14713, 10879, 287, 262, 3670, 13, 1475, 9152, 597, 1948, 6536, 286, 14713, 4775, 416, 4634, 663, 705, 46430, 6, 11387, 284, 257, 1588, 4633, 1271, 13, 46506, 279, 13, 7390, 7054, 366, 7353, 62, 8726,...
What is the team that the replaced by is miroslav uki ?
SELECT team FROM table_24231638_3 WHERE replaced_by = "Miroslav Đukić"
[ 2061, 318, 262, 1074, 326, 262, 6928, 416, 318, 21504, 4951, 18809, 334, 4106, 5633, 46506, 1074, 16034, 3084, 62, 1731, 1954, 1433, 2548, 62, 18, 33411, 6928, 62, 1525, 796, 366, 41541, 4951, 18809, 34754, 238, 11308, 38325, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1074, 326, 262, 6928, 416, 318, 21504, 4951, 18809, 334, 4106, 5633, 46506, 1074, 16034, 3084, 62, 1731, 1954, 1433, 2548, 62, 18, 33411, 6928, 62, 1525, 796, 366, 41541, 4951, 18809, 34754, 238, 11308, 38325, 1 ]
who is the most cited author at CVPR ?
SELECT DISTINCT COUNT(DISTINCT cite.citingpaperid), writes.authorid FROM cite, paper, venue, writes WHERE venue.venueid = paper.venueid AND venue.venuename = 'CVPR' AND writes.paperid = cite.citedpaperid AND writes.paperid = paper.paperid GROUP BY writes.authorid ORDER BY COUNT(DISTINCT cite.citingpaperid) DESC
[ 8727, 318, 262, 749, 9181, 1772, 379, 26196, 4805, 5633, 46506, 360, 8808, 1268, 4177, 327, 28270, 7, 35, 8808, 1268, 4177, 21729, 13, 66, 1780, 20189, 312, 828, 6797, 13, 9800, 312, 16034, 21729, 11, 3348, 11, 14359, 11, 6797, 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...
[ 8727, 318, 262, 749, 9181, 1772, 379, 26196, 4805, 5633, 46506, 360, 8808, 1268, 4177, 327, 28270, 7, 35, 8808, 1268, 4177, 21729, 13, 66, 1780, 20189, 312, 828, 6797, 13, 9800, 312, 16034, 21729, 11, 3348, 11, 14359, 11, 6797, 33411,...
which of these countries was ranked next after yugoslavia ?
SELECT "nation" FROM table_203_113 WHERE "rank" = (SELECT "rank" FROM table_203_113 WHERE "nation" = 'yugoslavia') + 1
[ 4758, 286, 777, 2678, 373, 10307, 1306, 706, 331, 1018, 26388, 544, 5633, 46506, 366, 25729, 1, 16034, 3084, 62, 22416, 62, 16616, 33411, 366, 43027, 1, 796, 357, 46506, 366, 43027, 1, 16034, 3084, 62, 22416, 62, 16616, 33411, 366, 25...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 286, 777, 2678, 373, 10307, 1306, 706, 331, 1018, 26388, 544, 5633, 46506, 366, 25729, 1, 16034, 3084, 62, 22416, 62, 16616, 33411, 366, 43027, 1, 796, 357, 46506, 366, 43027, 1, 16034, 3084, 62, 22416, 62, 16616, 33411, 366, 25...
What percentage of votes does the shareholder with 78.19% of capital have?
SELECT _percentage_of_votes FROM table_206359_1 WHERE _percentage_of_capital = "78.19"
[ 2061, 5873, 286, 5690, 857, 262, 29378, 351, 8699, 13, 1129, 4, 286, 3139, 423, 30, 46506, 4808, 25067, 496, 62, 1659, 62, 29307, 16034, 3084, 62, 22136, 30743, 62, 16, 33411, 4808, 25067, 496, 62, 1659, 62, 27544, 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 ]
[ 2061, 5873, 286, 5690, 857, 262, 29378, 351, 8699, 13, 1129, 4, 286, 3139, 423, 30, 46506, 4808, 25067, 496, 62, 1659, 62, 29307, 16034, 3084, 62, 22136, 30743, 62, 16, 33411, 4808, 25067, 496, 62, 1659, 62, 27544, 796, 366, 3695, 1...
what's the opponent with stadium being jeppesen stadium
SELECT opponent FROM table_14102379_4 WHERE stadium = "Jeppesen stadium"
[ 10919, 338, 262, 6125, 351, 10308, 852, 11223, 381, 274, 268, 10308, 46506, 6125, 16034, 3084, 62, 1415, 940, 1954, 3720, 62, 19, 33411, 10308, 796, 366, 40932, 381, 274, 268, 10308, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 338, 262, 6125, 351, 10308, 852, 11223, 381, 274, 268, 10308, 46506, 6125, 16034, 3084, 62, 1415, 940, 1954, 3720, 62, 19, 33411, 10308, 796, 366, 40932, 381, 274, 268, 10308, 1 ]
What is the average number of yards on a red tee that has a hole of 1 and a par above 4?
SELECT AVG(yards__red_tees_) FROM table_name_27 WHERE hole = "1" AND par__white_tees_ > 4
[ 2061, 318, 262, 2811, 1271, 286, 5695, 319, 257, 2266, 30479, 326, 468, 257, 7604, 286, 352, 290, 257, 1582, 2029, 604, 30, 46506, 35224, 7, 33750, 834, 445, 62, 660, 274, 62, 8, 16034, 3084, 62, 3672, 62, 1983, 33411, 7604, 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 ]
[ 2061, 318, 262, 2811, 1271, 286, 5695, 319, 257, 2266, 30479, 326, 468, 257, 7604, 286, 352, 290, 257, 1582, 2029, 604, 30, 46506, 35224, 7, 33750, 834, 445, 62, 660, 274, 62, 8, 16034, 3084, 62, 3672, 62, 1983, 33411, 7604, 796, ...
Name the final score for week 5
SELECT final_score FROM table_24126606_2 WHERE week = 5
[ 5376, 262, 2457, 4776, 329, 1285, 642, 46506, 2457, 62, 26675, 16034, 3084, 62, 1731, 19420, 33206, 62, 17, 33411, 1285, 796, 642 ]
[ 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, 2457, 4776, 329, 1285, 642, 46506, 2457, 62, 26675, 16034, 3084, 62, 1731, 19420, 33206, 62, 17, 33411, 1285, 796, 642 ]
Province of leinster, and a County of fingal has which irish name?
SELECT "Irish name" FROM table_37789 WHERE "Province" = 'leinster' AND "County" = 'fingal'
[ 15946, 924, 286, 443, 259, 1706, 11, 290, 257, 3418, 286, 8038, 282, 468, 543, 4173, 680, 1438, 30, 46506, 366, 43293, 1438, 1, 16034, 3084, 62, 2718, 40401, 33411, 366, 15946, 924, 1, 796, 705, 33663, 1706, 6, 5357, 366, 12332, 88,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15946, 924, 286, 443, 259, 1706, 11, 290, 257, 3418, 286, 8038, 282, 468, 543, 4173, 680, 1438, 30, 46506, 366, 43293, 1438, 1, 16034, 3084, 62, 2718, 40401, 33411, 366, 15946, 924, 1, 796, 705, 33663, 1706, 6, 5357, 366, 12332, 88,...
provide the number of patients whose lab test name is potassium, urine and lab test result is abnormal.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE lab.flag = "abnormal" AND lab.label = "Potassium, Urine"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 2248, 1332, 1438, 318, 33156, 11, 18922, 290, 2248, 1332, 1255, 318, 18801, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 15234, 485, 262, 1271, 286, 3871, 3025, 2248, 1332, 1438, 318, 33156, 11, 18922, 290, 2248, 1332, 1255, 318, 18801, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, ...
how many patients are admitted before the year 2177?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admityear < "2177"
[ 4919, 867, 3871, 389, 6848, 878, 262, 614, 362, 22413, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 324, 76, 414, 451, 1279, 366, 17, 22413, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 3871, 389, 6848, 878, 262, 614, 362, 22413, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 324, 76, 414, 451, 1279, 366, 17, 22413, 1 ]
Give the name of the department with the lowest budget.
SELECT dept_name FROM department ORDER BY budget LIMIT 1
[ 23318, 262, 1438, 286, 262, 5011, 351, 262, 9016, 4466, 13, 46506, 390, 457, 62, 3672, 16034, 5011, 38678, 11050, 4466, 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 ]
[ 23318, 262, 1438, 286, 262, 5011, 351, 262, 9016, 4466, 13, 46506, 390, 457, 62, 3672, 16034, 5011, 38678, 11050, 4466, 27564, 2043, 352 ]
What is the scientific pitch when the Helmholtz pitch is D?
SELECT scientific_pitch FROM table_name_33 WHERE helmholtz_pitch = "d"
[ 2061, 318, 262, 5654, 7078, 618, 262, 28351, 3937, 22877, 7078, 318, 360, 30, 46506, 5654, 62, 79, 2007, 16034, 3084, 62, 3672, 62, 2091, 33411, 18030, 3937, 22877, 62, 79, 2007, 796, 366, 67, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5654, 7078, 618, 262, 28351, 3937, 22877, 7078, 318, 360, 30, 46506, 5654, 62, 79, 2007, 16034, 3084, 62, 3672, 62, 2091, 33411, 18030, 3937, 22877, 62, 79, 2007, 796, 366, 67, 1 ]
Name the total number of population 2011 for perlez
SELECT COUNT("Population (2011)") FROM table_3339 WHERE "Settlement" = 'Perlez'
[ 5376, 262, 2472, 1271, 286, 3265, 2813, 329, 583, 36858, 46506, 327, 28270, 7203, 45251, 357, 9804, 8, 4943, 16034, 3084, 62, 2091, 2670, 33411, 366, 50, 27331, 1, 796, 705, 5990, 36858, 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 ]
[ 5376, 262, 2472, 1271, 286, 3265, 2813, 329, 583, 36858, 46506, 327, 28270, 7203, 45251, 357, 9804, 8, 4943, 16034, 3084, 62, 2091, 2670, 33411, 366, 50, 27331, 1, 796, 705, 5990, 36858, 6 ]
What was their record in week 11?
SELECT record FROM table_21839208_4 WHERE week = 11
[ 2061, 373, 511, 1700, 287, 1285, 1367, 30, 46506, 1700, 16034, 3084, 62, 28727, 2670, 21315, 62, 19, 33411, 1285, 796, 1367 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 511, 1700, 287, 1285, 1367, 30, 46506, 1700, 16034, 3084, 62, 28727, 2670, 21315, 62, 19, 33411, 1285, 796, 1367 ]
When was a game played where the away team scored 12.14 (86)?
SELECT "Date" FROM table_53066 WHERE "Away team score" = '12.14 (86)'
[ 2215, 373, 257, 983, 2826, 810, 262, 1497, 1074, 7781, 1105, 13, 1415, 357, 4521, 19427, 46506, 366, 10430, 1, 16034, 3084, 62, 38612, 2791, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 1065, 13, 1415, 357, 4521, 33047 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 373, 257, 983, 2826, 810, 262, 1497, 1074, 7781, 1105, 13, 1415, 357, 4521, 19427, 46506, 366, 10430, 1, 16034, 3084, 62, 38612, 2791, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 1065, 13, 1415, 357, 4521, 33047 ]
Which Windows system has Windows Mobile of unknown, and a Mac OS X of yes, and another Unix of yes, and an AmigaOS of partial?
SELECT "Windows" FROM table_6243 WHERE "Windows Mobile" = 'unknown' AND "Mac OS X" = 'yes' AND "Other Unix" = 'yes' AND "AmigaOS" = 'partial'
[ 13828, 3964, 1080, 468, 3964, 12173, 286, 6439, 11, 290, 257, 4100, 7294, 1395, 286, 3763, 11, 290, 1194, 33501, 286, 3763, 11, 290, 281, 1703, 13827, 2640, 286, 13027, 30, 46506, 366, 11209, 1, 16034, 3084, 62, 21, 26660, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 13828, 3964, 1080, 468, 3964, 12173, 286, 6439, 11, 290, 257, 4100, 7294, 1395, 286, 3763, 11, 290, 1194, 33501, 286, 3763, 11, 290, 281, 1703, 13827, 2640, 286, 13027, 30, 46506, 366, 11209, 1, 16034, 3084, 62, 21, 26660, 33411, 366,...
what is procedure long title of procedure icd9 code 5187?
SELECT procedures.long_title FROM procedures WHERE procedures.icd9_code = "5187"
[ 10919, 318, 8771, 890, 3670, 286, 8771, 14158, 67, 24, 2438, 642, 23451, 30, 46506, 9021, 13, 6511, 62, 7839, 16034, 9021, 33411, 9021, 13, 291, 67, 24, 62, 8189, 796, 366, 20, 23451, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8771, 890, 3670, 286, 8771, 14158, 67, 24, 2438, 642, 23451, 30, 46506, 9021, 13, 6511, 62, 7839, 16034, 9021, 33411, 9021, 13, 291, 67, 24, 62, 8189, 796, 366, 20, 23451, 1 ]
What is the average number of points for a song ranked 2nd with a draw greater than 3?
SELECT AVG("Points") FROM table_75891 WHERE "Rank" = '2nd' AND "Draw" > '3'
[ 2061, 318, 262, 2811, 1271, 286, 2173, 329, 257, 3496, 10307, 362, 358, 351, 257, 3197, 3744, 621, 513, 30, 46506, 35224, 7203, 40710, 4943, 16034, 3084, 62, 2425, 4531, 16, 33411, 366, 27520, 1, 796, 705, 17, 358, 6, 5357, 366, 253...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2811, 1271, 286, 2173, 329, 257, 3496, 10307, 362, 358, 351, 257, 3197, 3744, 621, 513, 30, 46506, 35224, 7203, 40710, 4943, 16034, 3084, 62, 2425, 4531, 16, 33411, 366, 27520, 1, 796, 705, 17, 358, 6, 5357, 366, 253...
list the top three most frequent prescriptions that patients were prescribed with within the same month after being prescribed sertraline since 6 years ago.
SELECT t3.drug FROM (SELECT t2.drug, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, prescriptions.startdate FROM prescriptions JOIN admissions ON prescriptions.hadm_id = admissions.hadm_id WHERE prescriptions.drug = 'sertraline' AND DATETIME(prescriptions.startdate) >= DATETIME(CUR...
[ 4868, 262, 1353, 1115, 749, 10792, 34092, 326, 3871, 547, 14798, 351, 1626, 262, 976, 1227, 706, 852, 14798, 264, 861, 1373, 500, 1201, 718, 812, 2084, 13, 46506, 256, 18, 13, 30349, 16034, 357, 46506, 256, 17, 13, 30349, 11, 360, 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...
[ 4868, 262, 1353, 1115, 749, 10792, 34092, 326, 3871, 547, 14798, 351, 1626, 262, 976, 1227, 706, 852, 14798, 264, 861, 1373, 500, 1201, 718, 812, 2084, 13, 46506, 256, 18, 13, 30349, 16034, 357, 46506, 256, 17, 13, 30349, 11, 360, 2...
What is Height, when Rank is less than 20, when Floors is greater than 9, when Built is 2005, and when Name is The Edge (C)?
SELECT "Height" FROM table_75911 WHERE "Rank" < '20' AND "Floors" > '9' AND "Built" = '2005' AND "Name" = 'the edge (c)'
[ 2061, 318, 27280, 11, 618, 10916, 318, 1342, 621, 1160, 11, 618, 29075, 669, 318, 3744, 621, 860, 11, 618, 28477, 318, 5075, 11, 290, 618, 6530, 318, 383, 13113, 357, 34, 19427, 46506, 366, 23106, 1, 16034, 3084, 62, 2425, 35549, 33...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 27280, 11, 618, 10916, 318, 1342, 621, 1160, 11, 618, 29075, 669, 318, 3744, 621, 860, 11, 618, 28477, 318, 5075, 11, 290, 618, 6530, 318, 383, 13113, 357, 34, 19427, 46506, 366, 23106, 1, 16034, 3084, 62, 2425, 35549, 33...
how many patients in the 32 ward the previous year?
SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE admissions.hadm_id IN (SELECT transfers.hadm_id FROM transfers WHERE transfers.wardid = 32 AND DATETIME(transfers.intime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year'))
[ 4919, 867, 3871, 287, 262, 3933, 15305, 262, 2180, 614, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 25349, 13, 32796, 62, 312, 8, 16034, 25349, 33411, 25349, 13, 18108, 76, 62, 312, 3268, 357, 46506, 16395, 13, 18108, 76, 62, 31...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 3871, 287, 262, 3933, 15305, 262, 2180, 614, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 25349, 13, 32796, 62, 312, 8, 16034, 25349, 33411, 25349, 13, 18108, 76, 62, 312, 3268, 357, 46506, 16395, 13, 18108, 76, 62, 31...
What is Venue, when Figures is 5/29?
SELECT venue FROM table_name_9 WHERE figures = "5/29"
[ 2061, 318, 9932, 518, 11, 618, 36574, 318, 642, 14, 1959, 30, 46506, 14359, 16034, 3084, 62, 3672, 62, 24, 33411, 5538, 796, 366, 20, 14, 1959, 1 ]
[ 1, 1, 1, 1, 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, 9932, 518, 11, 618, 36574, 318, 642, 14, 1959, 30, 46506, 14359, 16034, 3084, 62, 3672, 62, 24, 33411, 5538, 796, 366, 20, 14, 1959, 1 ]
What is the largest crowd for any game where Footscray is the home team?
SELECT MAX(crowd) FROM table_name_9 WHERE home_team = "footscray"
[ 2061, 318, 262, 4387, 4315, 329, 597, 983, 810, 7870, 1416, 2433, 318, 262, 1363, 1074, 30, 46506, 25882, 7, 66, 3986, 8, 16034, 3084, 62, 3672, 62, 24, 33411, 1363, 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, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4387, 4315, 329, 597, 983, 810, 7870, 1416, 2433, 318, 262, 1363, 1074, 30, 46506, 25882, 7, 66, 3986, 8, 16034, 3084, 62, 3672, 62, 24, 33411, 1363, 62, 15097, 796, 366, 5898, 1416, 2433, 1 ]
how many fifth place winners were there in the second round of the 1979 masters tournament ?
SELECT COUNT("player") FROM table_203_251 WHERE "place" = 5
[ 4919, 867, 8150, 1295, 14591, 547, 612, 287, 262, 1218, 2835, 286, 262, 13521, 18159, 7756, 5633, 46506, 327, 28270, 7203, 7829, 4943, 16034, 3084, 62, 22416, 62, 28072, 33411, 366, 5372, 1, 796, 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 ]
[ 4919, 867, 8150, 1295, 14591, 547, 612, 287, 262, 1218, 2835, 286, 262, 13521, 18159, 7756, 5633, 46506, 327, 28270, 7203, 7829, 4943, 16034, 3084, 62, 22416, 62, 28072, 33411, 366, 5372, 1, 796, 642 ]
What date was the team @ Detroit?
SELECT "Date" FROM table_44152 WHERE "Team" = '@ detroit'
[ 2061, 3128, 373, 262, 1074, 2488, 8488, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 2598, 17827, 33411, 366, 15592, 1, 796, 705, 31, 1062, 7775, 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, 3128, 373, 262, 1074, 2488, 8488, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 2598, 17827, 33411, 366, 15592, 1, 796, 705, 31, 1062, 7775, 6 ]
What was the status of the election featuring incumbent margaret kaiser?
SELECT "Status" FROM table_3569 WHERE "Incumbent" = 'Margaret Kaiser'
[ 2061, 373, 262, 3722, 286, 262, 3071, 9593, 23526, 6145, 8984, 38387, 5847, 30, 46506, 366, 19580, 1, 16034, 3084, 62, 2327, 3388, 33411, 366, 25517, 2178, 298, 1, 796, 705, 24428, 8984, 32670, 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, 373, 262, 3722, 286, 262, 3071, 9593, 23526, 6145, 8984, 38387, 5847, 30, 46506, 366, 19580, 1, 16034, 3084, 62, 2327, 3388, 33411, 366, 25517, 2178, 298, 1, 796, 705, 24428, 8984, 32670, 6 ]
For those employees who do not work in departments with managers that have ids between 100 and 200, return a bar chart about the distribution of last_name and department_id , and rank by the bar from high to low.
SELECT LAST_NAME, DEPARTMENT_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY LAST_NAME DESC
[ 1890, 883, 4409, 508, 466, 407, 670, 287, 13346, 351, 11663, 326, 423, 220, 2340, 1022, 1802, 290, 939, 11, 1441, 257, 2318, 8262, 546, 262, 6082, 286, 938, 62, 3672, 290, 5011, 62, 312, 837, 290, 4279, 416, 262, 2318, 422, 1029, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4409, 508, 466, 407, 670, 287, 13346, 351, 11663, 326, 423, 220, 2340, 1022, 1802, 290, 939, 11, 1441, 257, 2318, 8262, 546, 262, 6082, 286, 938, 62, 3672, 290, 5011, 62, 312, 837, 290, 4279, 416, 262, 2318, 422, 1029, ...
Which Model had 37-78 seats?
SELECT "Model" FROM table_70875 WHERE "Seats" = '37-78'
[ 13828, 9104, 550, 5214, 12, 3695, 8632, 30, 46506, 366, 17633, 1, 16034, 3084, 62, 2154, 31360, 33411, 366, 4653, 1381, 1, 796, 705, 2718, 12, 3695, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 9104, 550, 5214, 12, 3695, 8632, 30, 46506, 366, 17633, 1, 16034, 3084, 62, 2154, 31360, 33411, 366, 4653, 1381, 1, 796, 705, 2718, 12, 3695, 6 ]
Which is the first paper by richard bellman ?
SELECT DISTINCT paper.paperid, paper.year FROM author, paper, writes WHERE author.authorname = 'richard bellman' AND paper.year = (SELECT MIN(PAPERalias1.year) FROM author AS AUTHORalias1, paper AS PAPERalias1, writes AS WRITESalias1 WHERE AUTHORalias1.authorname = 'richard bellman' AND WRITESalias1.authorid = AUTHORal...
[ 13828, 318, 262, 717, 3348, 416, 5527, 446, 8966, 805, 5633, 46506, 360, 8808, 1268, 4177, 3348, 13, 20189, 312, 11, 3348, 13, 1941, 16034, 1772, 11, 3348, 11, 6797, 33411, 1772, 13, 18439, 1211, 480, 796, 705, 7527, 446, 8966, 805, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 318, 262, 717, 3348, 416, 5527, 446, 8966, 805, 5633, 46506, 360, 8808, 1268, 4177, 3348, 13, 20189, 312, 11, 3348, 13, 1941, 16034, 1772, 11, 3348, 11, 6797, 33411, 1772, 13, 18439, 1211, 480, 796, 705, 7527, 446, 8966, 805, ...
What was the weight for the player in Zhejiang in 2008?
SELECT "Weight" FROM table_66570 WHERE "2008 club" = 'zhejiang'
[ 2061, 373, 262, 3463, 329, 262, 2137, 287, 1168, 258, 39598, 287, 3648, 30, 46506, 366, 25844, 1, 16034, 3084, 62, 36879, 2154, 33411, 366, 11528, 3430, 1, 796, 705, 89, 258, 39598, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 3463, 329, 262, 2137, 287, 1168, 258, 39598, 287, 3648, 30, 46506, 366, 25844, 1, 16034, 3084, 62, 36879, 2154, 33411, 366, 11528, 3430, 1, 796, 705, 89, 258, 39598, 6 ]
at the women 's 200 meter individual medley sm10 event at the 2012 summer paralympics , how long did it take aurelie rivard to finish ?
SELECT "time" FROM table_204_422 WHERE "name" = 'aurelie rivard'
[ 265, 262, 1466, 705, 82, 939, 16430, 1981, 1117, 1636, 895, 940, 1785, 379, 262, 2321, 3931, 26901, 3149, 873, 837, 703, 890, 750, 340, 1011, 257, 495, 14485, 374, 452, 446, 284, 5461, 5633, 46506, 366, 2435, 1, 16034, 3084, 62, 186...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 265, 262, 1466, 705, 82, 939, 16430, 1981, 1117, 1636, 895, 940, 1785, 379, 262, 2321, 3931, 26901, 3149, 873, 837, 703, 890, 750, 340, 1011, 257, 495, 14485, 374, 452, 446, 284, 5461, 5633, 46506, 366, 2435, 1, 16034, 3084, 62, 186...
what was the only season where kevin martin was the skip ?
SELECT "season" FROM table_204_747 WHERE "skip" = 'kevin martin'
[ 10919, 373, 262, 691, 1622, 810, 885, 7114, 11277, 259, 373, 262, 14267, 5633, 46506, 366, 6230, 1, 16034, 3084, 62, 18638, 62, 48882, 33411, 366, 48267, 1, 796, 705, 365, 7114, 11277, 259, 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 ]
[ 10919, 373, 262, 691, 1622, 810, 885, 7114, 11277, 259, 373, 262, 14267, 5633, 46506, 366, 6230, 1, 16034, 3084, 62, 18638, 62, 48882, 33411, 366, 48267, 1, 796, 705, 365, 7114, 11277, 259, 6 ]
What is the score of the game with the streak l5
SELECT score FROM table_11964047_10 WHERE streak = "L5"
[ 2061, 318, 262, 4776, 286, 262, 983, 351, 262, 15113, 300, 20, 46506, 4776, 16034, 3084, 62, 16315, 31102, 2857, 62, 940, 33411, 15113, 796, 366, 43, 20, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4776, 286, 262, 983, 351, 262, 15113, 300, 20, 46506, 4776, 16034, 3084, 62, 16315, 31102, 2857, 62, 940, 33411, 15113, 796, 366, 43, 20, 1 ]
What shows for 7:00 PM when the 8:30 PM is tout le monde en parle?
SELECT "7:00 PM" FROM table_10420 WHERE "8:30 PM" = 'tout le monde en parle'
[ 2061, 2523, 329, 767, 25, 405, 3122, 618, 262, 807, 25, 1270, 3122, 318, 256, 448, 443, 285, 14378, 551, 1582, 293, 30, 46506, 366, 22, 25, 405, 3122, 1, 16034, 3084, 62, 13464, 1238, 33411, 366, 23, 25, 1270, 3122, 1, 796, 705, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 2523, 329, 767, 25, 405, 3122, 618, 262, 807, 25, 1270, 3122, 318, 256, 448, 443, 285, 14378, 551, 1582, 293, 30, 46506, 366, 22, 25, 405, 3122, 1, 16034, 3084, 62, 13464, 1238, 33411, 366, 23, 25, 1270, 3122, 1, 796, 705, ...
Who was the opponent on November 26, 1989?
SELECT opponent FROM table_name_86 WHERE date = "november 26, 1989"
[ 8241, 373, 262, 6125, 319, 3389, 2608, 11, 11104, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 4521, 33411, 3128, 796, 366, 77, 3239, 2608, 11, 11104, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 373, 262, 6125, 319, 3389, 2608, 11, 11104, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 4521, 33411, 3128, 796, 366, 77, 3239, 2608, 11, 11104, 1 ]
Which player is a shooting guard?
SELECT "Player" FROM table_57080 WHERE "Position" = 'shooting guard'
[ 13828, 2137, 318, 257, 4395, 4860, 30, 46506, 366, 14140, 1, 16034, 3084, 62, 39254, 1795, 33411, 366, 26545, 1, 796, 705, 1477, 12494, 4860, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 2137, 318, 257, 4395, 4860, 30, 46506, 366, 14140, 1, 16034, 3084, 62, 39254, 1795, 33411, 366, 26545, 1, 796, 705, 1477, 12494, 4860, 6 ]
tell me the top four most common diagnoses of patients with an age of 60 or above during the last year?
SELECT d_icd_diagnoses.short_title FROM d_icd_diagnoses WHERE d_icd_diagnoses.icd9_code IN (SELECT t1.icd9_code FROM (SELECT diagnoses_icd.icd9_code, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM diagnoses_icd WHERE diagnoses_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.age >= 60) ...
[ 33331, 502, 262, 1353, 1440, 749, 2219, 40567, 286, 3871, 351, 281, 2479, 286, 3126, 393, 2029, 1141, 262, 938, 614, 30, 46506, 288, 62, 291, 67, 62, 47356, 4629, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 47356, 4629, 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...
[ 33331, 502, 262, 1353, 1440, 749, 2219, 40567, 286, 3871, 351, 281, 2479, 286, 3126, 393, 2029, 1141, 262, 938, 614, 30, 46506, 288, 62, 291, 67, 62, 47356, 4629, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 47356, 4629, 33411,...
What role was played in 2007?
SELECT "Role" FROM table_42449 WHERE "Year" = '2007'
[ 2061, 2597, 373, 2826, 287, 4343, 30, 46506, 366, 47445, 1, 16034, 3084, 62, 40090, 2920, 33411, 366, 17688, 1, 796, 705, 12726, 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, 2597, 373, 2826, 287, 4343, 30, 46506, 366, 47445, 1, 16034, 3084, 62, 40090, 2920, 33411, 366, 17688, 1, 796, 705, 12726, 6 ]
how many patients received insert infusion pump after entral infus nutrit sub until 2103 in the same hospital visit?
SELECT COUNT(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, procedures_icd.charttime, admissions.hadm_id FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_...
[ 4919, 867, 3871, 2722, 7550, 35547, 8901, 706, 920, 1373, 1167, 385, 44867, 850, 1566, 362, 15197, 287, 262, 976, 4436, 3187, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 32796, 62, 312, 8, 16034, 357, 46506, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 3871, 2722, 7550, 35547, 8901, 706, 920, 1373, 1167, 385, 44867, 850, 1566, 362, 15197, 287, 262, 976, 4436, 3187, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 32796, 62, 312, 8, 16034, 357, 46506, 25349, ...
What wa the date of the North Melbourne home game?
SELECT date FROM table_name_76 WHERE home_team = "north melbourne"
[ 2061, 2082, 262, 3128, 286, 262, 2258, 14819, 1363, 983, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 4304, 33411, 1363, 62, 15097, 796, 366, 43588, 7758, 12544, 1 ]
[ 1, 1, 1, 1, 1, 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, 2082, 262, 3128, 286, 262, 2258, 14819, 1363, 983, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 4304, 33411, 1363, 62, 15097, 796, 366, 43588, 7758, 12544, 1 ]
which president who was an independent also had the longest reign for an independent ?
SELECT "name" FROM table_201_29 WHERE "party" = 'independent' ORDER BY JULIANDAY("left office") - JULIANDAY("took office") DESC LIMIT 1
[ 4758, 1893, 508, 373, 281, 4795, 635, 550, 262, 14069, 13580, 329, 281, 4795, 5633, 46506, 366, 3672, 1, 16034, 3084, 62, 1264, 62, 1959, 33411, 366, 10608, 1, 796, 705, 34750, 6, 38678, 11050, 49349, 40, 6981, 4792, 7203, 9464, 2607,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1893, 508, 373, 281, 4795, 635, 550, 262, 14069, 13580, 329, 281, 4795, 5633, 46506, 366, 3672, 1, 16034, 3084, 62, 1264, 62, 1959, 33411, 366, 10608, 1, 796, 705, 34750, 6, 38678, 11050, 49349, 40, 6981, 4792, 7203, 9464, 2607,...
what is the name of the country that participated in the most tournament competitions?
SELECT country FROM competition WHERE competition_type = 'Tournament' GROUP BY country ORDER BY COUNT(*) DESC LIMIT 1
[ 10919, 318, 262, 1438, 286, 262, 1499, 326, 14888, 287, 262, 749, 7756, 24174, 30, 46506, 1499, 16034, 5449, 33411, 5449, 62, 4906, 796, 705, 51, 5138, 6, 44441, 11050, 1499, 38678, 11050, 327, 28270, 7, 28104, 22196, 34, 27564, 2043, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1499, 326, 14888, 287, 262, 749, 7756, 24174, 30, 46506, 1499, 16034, 5449, 33411, 5449, 62, 4906, 796, 705, 51, 5138, 6, 44441, 11050, 1499, 38678, 11050, 327, 28270, 7, 28104, 22196, 34, 27564, 2043, ...
What is the time for an opponent of Satoshi Honma?
SELECT "Time" FROM table_74828 WHERE "Opponent" = 'satoshi honma'
[ 2061, 318, 262, 640, 329, 281, 6125, 286, 40824, 8835, 2611, 30, 46506, 366, 7575, 1, 16034, 3084, 62, 48246, 2078, 33411, 366, 27524, 3471, 1, 796, 705, 49720, 13704, 3032, 2611, 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, 640, 329, 281, 6125, 286, 40824, 8835, 2611, 30, 46506, 366, 7575, 1, 16034, 3084, 62, 48246, 2078, 33411, 366, 27524, 3471, 1, 796, 705, 49720, 13704, 3032, 2611, 6 ]
What is the tennis status for youngstown state?
SELECT tennis FROM table_name_52 WHERE school = "youngstown state"
[ 2061, 318, 262, 20790, 3722, 329, 1862, 27928, 1181, 30, 46506, 20790, 16034, 3084, 62, 3672, 62, 4309, 33411, 1524, 796, 366, 35465, 27928, 1181, 1 ]
[ 1, 1, 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, 20790, 3722, 329, 1862, 27928, 1181, 30, 46506, 20790, 16034, 3084, 62, 3672, 62, 4309, 33411, 1524, 796, 366, 35465, 27928, 1181, 1 ]
For those records from the products and each product's manufacturer, give me the comparison about the average of price over the headquarter , and group by attribute headquarter, and show in asc by the Headquarter.
SELECT Headquarter, AVG(Price) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Headquarter ORDER BY Headquarter
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 1577, 502, 262, 7208, 546, 262, 2811, 286, 2756, 625, 262, 1182, 24385, 837, 290, 1448, 416, 11688, 1182, 24385, 11, 290, 905, 287, 10570, 416, 262, 7123, 24385, 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...
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 1577, 502, 262, 7208, 546, 262, 2811, 286, 2756, 625, 262, 1182, 24385, 837, 290, 1448, 416, 11688, 1182, 24385, 11, 290, 905, 287, 10570, 416, 262, 7123, 24385, 13, ...
What is the minimum, maximum, and average market value for every company?
SELECT MIN(market_value), MAX(market_value), AVG(market_value) FROM company
[ 2061, 318, 262, 5288, 11, 5415, 11, 290, 2811, 1910, 1988, 329, 790, 1664, 30, 46506, 20625, 7, 10728, 62, 8367, 828, 25882, 7, 10728, 62, 8367, 828, 35224, 7, 10728, 62, 8367, 8, 16034, 1664 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5288, 11, 5415, 11, 290, 2811, 1910, 1988, 329, 790, 1664, 30, 46506, 20625, 7, 10728, 62, 8367, 828, 25882, 7, 10728, 62, 8367, 828, 35224, 7, 10728, 62, 8367, 8, 16034, 1664 ]
Who had the fastest lap at the Australian Grand Prix?
SELECT "Fastest Lap" FROM table_52452 WHERE "Grand Prix" = 'australian grand prix'
[ 8241, 550, 262, 14162, 14779, 379, 262, 6638, 5675, 23832, 30, 46506, 366, 22968, 395, 26944, 1, 16034, 3084, 62, 48057, 4309, 33411, 366, 23581, 23832, 1, 796, 705, 64, 436, 1373, 666, 4490, 1293, 87, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 550, 262, 14162, 14779, 379, 262, 6638, 5675, 23832, 30, 46506, 366, 22968, 395, 26944, 1, 16034, 3084, 62, 48057, 4309, 33411, 366, 23581, 23832, 1, 796, 705, 64, 436, 1373, 666, 4490, 1293, 87, 6 ]
what's the first weight of patient 017-70504 until 11/2105?
SELECT patient.admissionweight FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '017-70504') AND NOT patient.admissionweight IS NULL AND STRFTIME('%y-%m', patient.unitadmittime) <= '2105-11' ORDER BY patient.unitadmittime LIMIT 1
[ 10919, 338, 262, 717, 3463, 286, 5827, 5534, 22, 12, 2154, 33580, 1566, 1367, 14, 17, 13348, 30, 46506, 5827, 13, 324, 3411, 6551, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 717, 3463, 286, 5827, 5534, 22, 12, 2154, 33580, 1566, 1367, 14, 17, 13348, 30, 46506, 5827, 13, 324, 3411, 6551, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, ...
Show all party names and the number of members in each party by a pie chart.
SELECT Party_name, COUNT(*) FROM member AS T1 JOIN party AS T2 ON T1.Party_ID = T2.Party_ID GROUP BY T1.Party_ID
[ 15307, 477, 2151, 3891, 290, 262, 1271, 286, 1866, 287, 1123, 2151, 416, 257, 2508, 8262, 13, 46506, 3615, 62, 3672, 11, 327, 28270, 7, 28104, 16034, 2888, 7054, 309, 16, 32357, 1268, 2151, 7054, 309, 17, 6177, 309, 16, 13, 33553, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 477, 2151, 3891, 290, 262, 1271, 286, 1866, 287, 1123, 2151, 416, 257, 2508, 8262, 13, 46506, 3615, 62, 3672, 11, 327, 28270, 7, 28104, 16034, 2888, 7054, 309, 16, 32357, 1268, 2151, 7054, 309, 17, 6177, 309, 16, 13, 33553, 6...
Users with at least n gold badges.
WITH tagbadges_cte AS (SELECT b.UserId AS uid, SUM(CASE WHEN b.Class = 1 THEN 1 ELSE 0 END) AS gold, SUM(CASE WHEN b.Class = 2 THEN 1 ELSE 0 END) AS silver, SUM(CASE WHEN b.Class = 3 THEN 1 ELSE 0 END) AS bronze, COUNT(b.Id) AS total FROM Badges AS b INNER JOIN Tags AS t ON t.TagName = Name GROUP BY UserId) SELECT u.Id...
[ 14490, 351, 379, 1551, 299, 3869, 37583, 13, 54, 10554, 7621, 14774, 3212, 62, 310, 68, 7054, 357, 46506, 275, 13, 12982, 7390, 7054, 334, 312, 11, 35683, 7, 34, 11159, 42099, 275, 13, 9487, 796, 352, 42243, 352, 17852, 5188, 657, 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...
[ 14490, 351, 379, 1551, 299, 3869, 37583, 13, 54, 10554, 7621, 14774, 3212, 62, 310, 68, 7054, 357, 46506, 275, 13, 12982, 7390, 7054, 334, 312, 11, 35683, 7, 34, 11159, 42099, 275, 13, 9487, 796, 352, 42243, 352, 17852, 5188, 657, 2...
What is the average money requested by all entrepreneurs?
SELECT AVG(money_requested) FROM entrepreneur
[ 2061, 318, 262, 2811, 1637, 9167, 416, 477, 17038, 30, 46506, 35224, 7, 26316, 62, 25927, 276, 8, 16034, 19500 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2811, 1637, 9167, 416, 477, 17038, 30, 46506, 35224, 7, 26316, 62, 25927, 276, 8, 16034, 19500 ]
Which laps has a grid of 8?
SELECT laps FROM table_name_25 WHERE grid = "8"
[ 13828, 24590, 468, 257, 10706, 286, 807, 30, 46506, 24590, 16034, 3084, 62, 3672, 62, 1495, 33411, 10706, 796, 366, 23, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 24590, 468, 257, 10706, 286, 807, 30, 46506, 24590, 16034, 3084, 62, 3672, 62, 1495, 33411, 10706, 796, 366, 23, 1 ]
What is the mascot for the school founded in 1923 with the school colors of blue, red & white?
SELECT mascot FROM table_12434380_1 WHERE founded = 1923 AND school_colors = "Blue, Red & White"
[ 2061, 318, 262, 37358, 329, 262, 1524, 9393, 287, 37272, 351, 262, 1524, 7577, 286, 4171, 11, 2266, 1222, 2330, 30, 46506, 37358, 16034, 3084, 62, 17464, 2682, 23734, 62, 16, 33411, 9393, 796, 37272, 5357, 1524, 62, 4033, 669, 796, 36...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 37358, 329, 262, 1524, 9393, 287, 37272, 351, 262, 1524, 7577, 286, 4171, 11, 2266, 1222, 2330, 30, 46506, 37358, 16034, 3084, 62, 17464, 2682, 23734, 62, 16, 33411, 9393, 796, 37272, 5357, 1524, 62, 4033, 669, 796, 36...
Show different locations and the number of performances at each location by a bar chart, and could you list from low to high by the Y?
SELECT Location, COUNT(*) FROM performance GROUP BY Location ORDER BY COUNT(*)
[ 15307, 1180, 7064, 290, 262, 1271, 286, 13289, 379, 1123, 4067, 416, 257, 2318, 8262, 11, 290, 714, 345, 1351, 422, 1877, 284, 1029, 416, 262, 575, 30, 46506, 13397, 11, 327, 28270, 7, 28104, 16034, 2854, 44441, 11050, 13397, 38678, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 1180, 7064, 290, 262, 1271, 286, 13289, 379, 1123, 4067, 416, 257, 2318, 8262, 11, 290, 714, 345, 1351, 422, 1877, 284, 1029, 416, 262, 575, 30, 46506, 13397, 11, 327, 28270, 7, 28104, 16034, 2854, 44441, 11050, 13397, 38678, 1...
I want the fewest Laps for Huub Rothengatter and grid less than 24
SELECT MIN(laps) FROM table_name_88 WHERE driver = "huub rothengatter" AND grid < 24
[ 40, 765, 262, 1178, 395, 406, 1686, 329, 11256, 549, 18481, 31753, 1436, 290, 10706, 1342, 621, 1987, 46506, 20625, 7, 75, 1686, 8, 16034, 3084, 62, 3672, 62, 3459, 33411, 4639, 796, 366, 13415, 549, 686, 1169, 782, 1436, 1, 5357, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 40, 765, 262, 1178, 395, 406, 1686, 329, 11256, 549, 18481, 31753, 1436, 290, 10706, 1342, 621, 1987, 46506, 20625, 7, 75, 1686, 8, 16034, 3084, 62, 3672, 62, 3459, 33411, 4639, 796, 366, 13415, 549, 686, 1169, 782, 1436, 1, 5357, 1...
Give me the comparison about Team_ID over the All_Home , and group by attribute ACC_Road, and show from high to low by the x axis.
SELECT All_Home, Team_ID FROM basketball_match GROUP BY ACC_Road, All_Home ORDER BY All_Home DESC
[ 23318, 502, 262, 7208, 546, 4816, 62, 2389, 625, 262, 1439, 62, 16060, 837, 290, 1448, 416, 11688, 15859, 62, 29197, 11, 290, 905, 422, 1029, 284, 1877, 416, 262, 2124, 16488, 13, 46506, 1439, 62, 16060, 11, 4816, 62, 2389, 16034, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 23318, 502, 262, 7208, 546, 4816, 62, 2389, 625, 262, 1439, 62, 16060, 837, 290, 1448, 416, 11688, 15859, 62, 29197, 11, 290, 905, 422, 1029, 284, 1877, 416, 262, 2124, 16488, 13, 46506, 1439, 62, 16060, 11, 4816, 62, 2389, 16034, 9...
What is the least entry for game if the score is 1-0?
SELECT MIN("Game") FROM table_74130 WHERE "Score" = '1-0'
[ 2061, 318, 262, 1551, 5726, 329, 983, 611, 262, 4776, 318, 352, 12, 15, 30, 46506, 20625, 7203, 8777, 4943, 16034, 3084, 62, 22, 3901, 1270, 33411, 366, 26595, 1, 796, 705, 16, 12, 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, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1551, 5726, 329, 983, 611, 262, 4776, 318, 352, 12, 15, 30, 46506, 20625, 7203, 8777, 4943, 16034, 3084, 62, 22, 3901, 1270, 33411, 366, 26595, 1, 796, 705, 16, 12, 15, 6 ]
Give me a pie chart to reflect the proportion of All_Neutral and School_ID.
SELECT All_Neutral, School_ID FROM basketball_match
[ 23318, 502, 257, 2508, 8262, 284, 4079, 262, 9823, 286, 1439, 62, 8199, 6815, 290, 3961, 62, 2389, 13, 46506, 1439, 62, 8199, 6815, 11, 3961, 62, 2389, 16034, 9669, 62, 15699 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 23318, 502, 257, 2508, 8262, 284, 4079, 262, 9823, 286, 1439, 62, 8199, 6815, 290, 3961, 62, 2389, 13, 46506, 1439, 62, 8199, 6815, 11, 3961, 62, 2389, 16034, 9669, 62, 15699 ]
Which college had a pick of under 5?
SELECT "College" FROM table_8828 WHERE "Pick" < '5'
[ 13828, 4152, 550, 257, 2298, 286, 739, 642, 30, 46506, 366, 38951, 1, 16034, 3084, 62, 3459, 2078, 33411, 366, 31686, 1, 1279, 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, 4152, 550, 257, 2298, 286, 739, 642, 30, 46506, 366, 38951, 1, 16034, 3084, 62, 3459, 2078, 33411, 366, 31686, 1, 1279, 705, 20, 6 ]
taking medication for lyperlipidemia ldl > 160
SELECT * FROM table_train_98 WHERE lyperlipidemia_ldl > 160
[ 26103, 14103, 329, 22404, 525, 40712, 312, 22859, 300, 25404, 1875, 13454, 46506, 1635, 16034, 3084, 62, 27432, 62, 4089, 33411, 22404, 525, 40712, 312, 22859, 62, 335, 75, 1875, 13454 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 26103, 14103, 329, 22404, 525, 40712, 312, 22859, 300, 25404, 1875, 13454, 46506, 1635, 16034, 3084, 62, 27432, 62, 4089, 33411, 22404, 525, 40712, 312, 22859, 62, 335, 75, 1875, 13454 ]
Which average Points have a Position of 7, and a Lost smaller than 4?
SELECT AVG("Points") FROM table_38953 WHERE "Position" = '7' AND "Lost" < '4'
[ 13828, 2811, 11045, 423, 257, 23158, 286, 767, 11, 290, 257, 9164, 4833, 621, 604, 30, 46506, 35224, 7203, 40710, 4943, 16034, 3084, 62, 2548, 49649, 33411, 366, 26545, 1, 796, 705, 22, 6, 5357, 366, 31042, 1, 1279, 705, 19, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 2811, 11045, 423, 257, 23158, 286, 767, 11, 290, 257, 9164, 4833, 621, 604, 30, 46506, 35224, 7203, 40710, 4943, 16034, 3084, 62, 2548, 49649, 33411, 366, 26545, 1, 796, 705, 22, 6, 5357, 366, 31042, 1, 1279, 705, 19, 6 ]
Show the outcome code of mailshots along with the number of mailshots in each outcome code. Plot them as bar chart.
SELECT outcome_code, COUNT(*) FROM Mailshot_Customers GROUP BY outcome_code
[ 15307, 262, 8055, 2438, 286, 6920, 20910, 1863, 351, 262, 1271, 286, 6920, 20910, 287, 1123, 8055, 2438, 13, 28114, 606, 355, 2318, 8262, 13, 46506, 8055, 62, 8189, 11, 327, 28270, 7, 28104, 16034, 11099, 9442, 62, 15022, 364, 44441, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8055, 2438, 286, 6920, 20910, 1863, 351, 262, 1271, 286, 6920, 20910, 287, 1123, 8055, 2438, 13, 28114, 606, 355, 2318, 8262, 13, 46506, 8055, 62, 8189, 11, 327, 28270, 7, 28104, 16034, 11099, 9442, 62, 15022, 364, 44441, ...
let me know the name and dosage of drug prescribed to patient betty campbell.
SELECT prescriptions.drug, prescriptions.drug_dose FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.name = "Betty Campbell"
[ 1616, 502, 760, 262, 1438, 290, 35997, 286, 2563, 14798, 284, 5827, 731, 774, 1413, 7923, 13, 46506, 34092, 13, 30349, 11, 34092, 13, 30349, 62, 34436, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, 18108, 76, 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 ]
[ 1616, 502, 760, 262, 1438, 290, 35997, 286, 2563, 14798, 284, 5827, 731, 774, 1413, 7923, 13, 46506, 34092, 13, 30349, 11, 34092, 13, 30349, 62, 34436, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, 18108, 76, 62, 312, ...
How many episodes were titled 'Man's best friend'?
SELECT COUNT("Directed by") FROM table_17270 WHERE "Title" = 'Man''s Best Friend'
[ 2437, 867, 8640, 547, 11946, 705, 5124, 338, 1266, 1545, 30960, 46506, 327, 28270, 7203, 13470, 276, 416, 4943, 16034, 3084, 62, 1558, 20233, 33411, 366, 19160, 1, 796, 705, 5124, 7061, 82, 6705, 9182, 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 ]
[ 2437, 867, 8640, 547, 11946, 705, 5124, 338, 1266, 1545, 30960, 46506, 327, 28270, 7203, 13470, 276, 416, 4943, 16034, 3084, 62, 1558, 20233, 33411, 366, 19160, 1, 796, 705, 5124, 7061, 82, 6705, 9182, 6 ]
Find the details of all the distinct customers who have orders with status 'On Road'.
SELECT DISTINCT T1.customer_details FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status = "On Road"
[ 16742, 262, 3307, 286, 477, 262, 7310, 4297, 508, 423, 6266, 351, 3722, 705, 2202, 5567, 4458, 46506, 360, 8808, 1268, 4177, 309, 16, 13, 23144, 263, 62, 36604, 16034, 4297, 7054, 309, 16, 32357, 1268, 6266, 7054, 309, 17, 6177, 309, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3307, 286, 477, 262, 7310, 4297, 508, 423, 6266, 351, 3722, 705, 2202, 5567, 4458, 46506, 360, 8808, 1268, 4177, 309, 16, 13, 23144, 263, 62, 36604, 16034, 4297, 7054, 309, 16, 32357, 1268, 6266, 7054, 309, 17, 6177, 309, ...
in 2104, what were the five most frequent drugs prescribed within 2 months to the hypotension / pressor dependent female patients aged 40s after they had been diagnosed with hypotension / pressor dependent?
SELECT t3.drugname FROM (SELECT t2.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'hypotension / pressor dependent' AND STRFTIME('%y'...
[ 259, 362, 13464, 11, 644, 547, 262, 1936, 749, 10792, 5010, 14798, 1626, 362, 1933, 284, 262, 8813, 3004, 1220, 1803, 273, 10795, 4048, 3871, 9722, 2319, 82, 706, 484, 550, 587, 14641, 351, 8813, 3004, 1220, 1803, 273, 10795, 30, 4650...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 259, 362, 13464, 11, 644, 547, 262, 1936, 749, 10792, 5010, 14798, 1626, 362, 1933, 284, 262, 8813, 3004, 1220, 1803, 273, 10795, 4048, 3871, 9722, 2319, 82, 706, 484, 550, 587, 14641, 351, 8813, 3004, 1220, 1803, 273, 10795, 30, 4650...
How many Points have a Team of rusport, and Laps of 45?
SELECT COUNT(points) FROM table_name_7 WHERE team = "rusport" AND laps = 45
[ 2437, 867, 11045, 423, 257, 4816, 286, 374, 385, 634, 11, 290, 406, 1686, 286, 4153, 30, 46506, 327, 28270, 7, 13033, 8, 16034, 3084, 62, 3672, 62, 22, 33411, 1074, 796, 366, 14932, 634, 1, 5357, 24590, 796, 4153 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11045, 423, 257, 4816, 286, 374, 385, 634, 11, 290, 406, 1686, 286, 4153, 30, 46506, 327, 28270, 7, 13033, 8, 16034, 3084, 62, 3672, 62, 22, 33411, 1074, 796, 366, 14932, 634, 1, 5357, 24590, 796, 4153 ]
what year saw the highest output growth rate in japan between the years 1990 and 2004 ?
SELECT "year" FROM table_202_28 WHERE "year" >= 1990 AND "year" <= 2004 ORDER BY "output growth rate %" DESC LIMIT 1
[ 10919, 614, 2497, 262, 4511, 5072, 3349, 2494, 287, 474, 2674, 1022, 262, 812, 6303, 290, 5472, 5633, 46506, 366, 1941, 1, 16034, 3084, 62, 19004, 62, 2078, 33411, 366, 1941, 1, 18189, 6303, 5357, 366, 1941, 1, 19841, 5472, 38678, 110...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 614, 2497, 262, 4511, 5072, 3349, 2494, 287, 474, 2674, 1022, 262, 812, 6303, 290, 5472, 5633, 46506, 366, 1941, 1, 16034, 3084, 62, 19004, 62, 2078, 33411, 366, 1941, 1, 18189, 6303, 5357, 366, 1941, 1, 19841, 5472, 38678, 110...
Which Home has a Score of 0:2?
SELECT home FROM table_name_63 WHERE score = "0:2"
[ 13828, 5995, 468, 257, 15178, 286, 657, 25, 17, 30, 46506, 1363, 16034, 3084, 62, 3672, 62, 5066, 33411, 4776, 796, 366, 15, 25, 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 ]
[ 13828, 5995, 468, 257, 15178, 286, 657, 25, 17, 30, 46506, 1363, 16034, 3084, 62, 3672, 62, 5066, 33411, 4776, 796, 366, 15, 25, 17, 1 ]
what are the number of sites national amusements have ?
SELECT "sites" FROM table_203_752 WHERE "circuit" = 'national amusements'
[ 10919, 389, 262, 1271, 286, 5043, 2260, 26072, 902, 423, 5633, 46506, 366, 49315, 1, 16034, 3084, 62, 22416, 62, 43665, 33411, 366, 21170, 5013, 1, 796, 705, 14648, 26072, 902, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 389, 262, 1271, 286, 5043, 2260, 26072, 902, 423, 5633, 46506, 366, 49315, 1, 16034, 3084, 62, 22416, 62, 43665, 33411, 366, 21170, 5013, 1, 796, 705, 14648, 26072, 902, 6 ]
What was the crowd size when the home team scored 17.14 (116)?
SELECT "Crowd" FROM table_33226 WHERE "Home team score" = '17.14 (116)'
[ 2061, 373, 262, 4315, 2546, 618, 262, 1363, 1074, 7781, 1596, 13, 1415, 357, 18298, 19427, 46506, 366, 34, 3986, 1, 16034, 3084, 62, 2091, 24909, 33411, 366, 16060, 1074, 4776, 1, 796, 705, 1558, 13, 1415, 357, 18298, 33047 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 4315, 2546, 618, 262, 1363, 1074, 7781, 1596, 13, 1415, 357, 18298, 19427, 46506, 366, 34, 3986, 1, 16034, 3084, 62, 2091, 24909, 33411, 366, 16060, 1074, 4776, 1, 796, 705, 1558, 13, 1415, 357, 18298, 33047 ]
What is the highest 1985 value that has a 1990 value of 93?
SELECT MAX("1985") FROM table_53209 WHERE "1990" = '93'
[ 2061, 318, 262, 4511, 12863, 1988, 326, 468, 257, 6303, 1988, 286, 10261, 30, 46506, 25882, 7203, 29110, 4943, 16034, 3084, 62, 4310, 22567, 33411, 366, 19891, 1, 796, 705, 6052, 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, 318, 262, 4511, 12863, 1988, 326, 468, 257, 6303, 1988, 286, 10261, 30, 46506, 25882, 7203, 29110, 4943, 16034, 3084, 62, 4310, 22567, 33411, 366, 19891, 1, 796, 705, 6052, 6 ]
What is the total number of overall picks that were after pick 9 and went to Auburn College?
SELECT COUNT(overall) FROM table_name_48 WHERE college = "auburn" AND pick > 9
[ 2061, 318, 262, 2472, 1271, 286, 4045, 11103, 326, 547, 706, 2298, 860, 290, 1816, 284, 24579, 5535, 30, 46506, 327, 28270, 7, 2502, 439, 8, 16034, 3084, 62, 3672, 62, 2780, 33411, 4152, 796, 366, 64, 549, 700, 1, 5357, 2298, 1875, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2472, 1271, 286, 4045, 11103, 326, 547, 706, 2298, 860, 290, 1816, 284, 24579, 5535, 30, 46506, 327, 28270, 7, 2502, 439, 8, 16034, 3084, 62, 3672, 62, 2780, 33411, 4152, 796, 366, 64, 549, 700, 1, 5357, 2298, 1875, ...
What was the results against the Philadelphia Eagles?
SELECT result FROM table_name_20 WHERE opponent = "philadelphia eagles"
[ 2061, 373, 262, 2482, 1028, 262, 8857, 13785, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 1238, 33411, 6125, 796, 366, 28864, 8273, 304, 37803, 1 ]
[ 1, 1, 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, 2482, 1028, 262, 8857, 13785, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 1238, 33411, 6125, 796, 366, 28864, 8273, 304, 37803, 1 ]
For those records from the products and each product's manufacturer, draw a bar chart about the distribution of name and revenue , and group by attribute name, order in descending by the y-axis.
SELECT T1.Name, T2.Revenue FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T1.Name, T1.Name ORDER BY T2.Revenue DESC
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 3197, 257, 2318, 8262, 546, 262, 6082, 286, 1438, 290, 6426, 837, 290, 1448, 416, 11688, 1438, 11, 1502, 287, 31491, 416, 262, 331, 12, 22704, 13, 46506, 309, 16, 13,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 3197, 257, 2318, 8262, 546, 262, 6082, 286, 1438, 290, 6426, 837, 290, 1448, 416, 11688, 1438, 11, 1502, 287, 31491, 416, 262, 331, 12, 22704, 13, 46506, 309, 16, 13,...
Which Incumbent has a District of massachusetts 8?
SELECT "Incumbent" FROM table_6635 WHERE "District" = 'massachusetts 8'
[ 13828, 3457, 2178, 298, 468, 257, 5665, 286, 2347, 9770, 807, 30, 46506, 366, 25517, 2178, 298, 1, 16034, 3084, 62, 2791, 2327, 33411, 366, 44857, 1, 796, 705, 22208, 9770, 807, 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, 3457, 2178, 298, 468, 257, 5665, 286, 2347, 9770, 807, 30, 46506, 366, 25517, 2178, 298, 1, 16034, 3084, 62, 2791, 2327, 33411, 366, 44857, 1, 796, 705, 22208, 9770, 807, 6 ]
What is the total overall when Kenny Lewis is the player in a round after 5?
SELECT COUNT(overall) FROM table_name_98 WHERE player = "kenny lewis" AND round > 5
[ 2061, 318, 262, 2472, 4045, 618, 22102, 10174, 318, 262, 2137, 287, 257, 2835, 706, 642, 30, 46506, 327, 28270, 7, 2502, 439, 8, 16034, 3084, 62, 3672, 62, 4089, 33411, 2137, 796, 366, 74, 11870, 443, 86, 271, 1, 5357, 2835, 1875, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2472, 4045, 618, 22102, 10174, 318, 262, 2137, 287, 257, 2835, 706, 642, 30, 46506, 327, 28270, 7, 2502, 439, 8, 16034, 3084, 62, 3672, 62, 4089, 33411, 2137, 796, 366, 74, 11870, 443, 86, 271, 1, 5357, 2835, 1875, ...
What is the Result of the Friendly Competition on October 27, 2005 with a Score of 5-0?
SELECT result FROM table_name_47 WHERE competition = "friendly" AND score = "5-0" AND date = "october 27, 2005"
[ 2061, 318, 262, 25414, 286, 262, 38683, 27348, 319, 3267, 2681, 11, 5075, 351, 257, 15178, 286, 642, 12, 15, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 2857, 33411, 5449, 796, 366, 13120, 1, 5357, 4776, 796, 366, 20, 12, 15, 1, 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 ]
[ 2061, 318, 262, 25414, 286, 262, 38683, 27348, 319, 3267, 2681, 11, 5075, 351, 257, 15178, 286, 642, 12, 15, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 2857, 33411, 5449, 796, 366, 13120, 1, 5357, 4776, 796, 366, 20, 12, 15, 1, 5...
What is south africa's margin of victory?
SELECT margin_of_victory FROM table_name_29 WHERE country = "south africa"
[ 2061, 318, 5366, 6580, 30997, 338, 10330, 286, 5373, 30, 46506, 10330, 62, 1659, 62, 32433, 652, 16034, 3084, 62, 3672, 62, 1959, 33411, 1499, 796, 366, 35782, 6580, 30997, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 5366, 6580, 30997, 338, 10330, 286, 5373, 30, 46506, 10330, 62, 1659, 62, 32433, 652, 16034, 3084, 62, 3672, 62, 1959, 33411, 1499, 796, 366, 35782, 6580, 30997, 1 ]
What is the lowest year for stage 12, category 1?
SELECT MIN(year) FROM table_name_33 WHERE category = "1" AND stage = 12
[ 2061, 318, 262, 9016, 614, 329, 3800, 1105, 11, 6536, 352, 30, 46506, 20625, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 2091, 33411, 6536, 796, 366, 16, 1, 5357, 3800, 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, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 9016, 614, 329, 3800, 1105, 11, 6536, 352, 30, 46506, 20625, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 2091, 33411, 6536, 796, 366, 16, 1, 5357, 3800, 796, 1105 ]
On what date did the home team score 15.11 (101)?
SELECT "Date" FROM table_54920 WHERE "Home team score" = '15.11 (101)'
[ 2202, 644, 3128, 750, 262, 1363, 1074, 4776, 1315, 13, 1157, 357, 8784, 19427, 46506, 366, 10430, 1, 16034, 3084, 62, 44966, 1238, 33411, 366, 16060, 1074, 4776, 1, 796, 705, 1314, 13, 1157, 357, 8784, 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 ]
[ 2202, 644, 3128, 750, 262, 1363, 1074, 4776, 1315, 13, 1157, 357, 8784, 19427, 46506, 366, 10430, 1, 16034, 3084, 62, 44966, 1238, 33411, 366, 16060, 1074, 4776, 1, 796, 705, 1314, 13, 1157, 357, 8784, 33047 ]
Which player had an opponent of Blackburn Rovers?
SELECT "Player" FROM table_3121 WHERE "Opponent" = 'Blackburn Rovers'
[ 13828, 2137, 550, 281, 6125, 286, 42603, 5564, 690, 30, 46506, 366, 14140, 1, 16034, 3084, 62, 18, 19244, 33411, 366, 27524, 3471, 1, 796, 705, 9915, 10899, 5564, 690, 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 ]
[ 13828, 2137, 550, 281, 6125, 286, 42603, 5564, 690, 30, 46506, 366, 14140, 1, 16034, 3084, 62, 18, 19244, 33411, 366, 27524, 3471, 1, 796, 705, 9915, 10899, 5564, 690, 6 ]
What is the total number of assists of the player with 0 goals, more than 1 points, and more than 0 pims?
SELECT COUNT("Assists") FROM table_46377 WHERE "Goals" = '0' AND "Points" > '1' AND "Pims" > '0'
[ 2061, 318, 262, 2472, 1271, 286, 13648, 286, 262, 2137, 351, 657, 4661, 11, 517, 621, 352, 2173, 11, 290, 517, 621, 657, 279, 12078, 30, 46506, 327, 28270, 7203, 8021, 1023, 4943, 16034, 3084, 62, 3510, 26514, 33411, 366, 5247, 874, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13648, 286, 262, 2137, 351, 657, 4661, 11, 517, 621, 352, 2173, 11, 290, 517, 621, 657, 279, 12078, 30, 46506, 327, 28270, 7203, 8021, 1023, 4943, 16034, 3084, 62, 3510, 26514, 33411, 366, 5247, 874, ...
What assists has points of 10?
SELECT "Assists" FROM table_60056 WHERE "Points" = '10'
[ 2061, 13648, 468, 2173, 286, 838, 30, 46506, 366, 8021, 1023, 1, 16034, 3084, 62, 8054, 3980, 33411, 366, 40710, 1, 796, 705, 940, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 13648, 468, 2173, 286, 838, 30, 46506, 366, 8021, 1023, 1, 16034, 3084, 62, 8054, 3980, 33411, 366, 40710, 1, 796, 705, 940, 6 ]
What kind of Sanskrit has a Kannada of uttara ?
SELECT "Sanskrit \u0938\u0902\u0938\u094d\u0915\u0943\u0924\u092e\u094d" FROM table_35105 WHERE "Kannada \u0c95\u0ca8\u0ccd\u0ca8\u0ca1" = 'uttara ಉತ್ತರಾ'
[ 2061, 1611, 286, 46178, 468, 257, 509, 1236, 4763, 286, 3384, 83, 3301, 5633, 46506, 366, 50, 34738, 799, 3467, 84, 2931, 2548, 59, 84, 2931, 2999, 59, 84, 2931, 2548, 59, 84, 2931, 19, 67, 59, 84, 2931, 1314, 59, 84, 2931, 3559, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1611, 286, 46178, 468, 257, 509, 1236, 4763, 286, 3384, 83, 3301, 5633, 46506, 366, 50, 34738, 799, 3467, 84, 2931, 2548, 59, 84, 2931, 2999, 59, 84, 2931, 2548, 59, 84, 2931, 19, 67, 59, 84, 2931, 1314, 59, 84, 2931, 3559, ...