instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
Create a bar chart showing how many hire date across hire date, and I want to list by the Y in descending please.
SELECT HIRE_DATE, COUNT(HIRE_DATE) FROM employees ORDER BY COUNT(HIRE_DATE) DESC
[ 16447, 257, 2318, 8262, 4478, 703, 867, 11078, 3128, 1973, 11078, 3128, 11, 290, 314, 765, 284, 1351, 416, 262, 575, 287, 31491, 3387, 13, 46506, 36210, 2200, 62, 35, 6158, 11, 327, 28270, 7, 25374, 2200, 62, 35, 6158, 8, 16034, 440...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16447, 257, 2318, 8262, 4478, 703, 867, 11078, 3128, 1973, 11078, 3128, 11, 290, 314, 765, 284, 1351, 416, 262, 575, 287, 31491, 3387, 13, 46506, 36210, 2200, 62, 35, 6158, 11, 327, 28270, 7, 25374, 2200, 62, 35, 6158, 8, 16034, 440...
tell me the total chest tubes cticu ct 1 output that patient 88191 has had on 09/18/2102?
SELECT SUM(outputevents.value) FROM outputevents WHERE outputevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 88191)) AND outputevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'che...
[ 33331, 502, 262, 2472, 7721, 21103, 269, 13370, 84, 269, 83, 352, 5072, 326, 5827, 9193, 26492, 468, 550, 319, 7769, 14, 1507, 14, 17, 15377, 30, 46506, 35683, 7, 448, 79, 1133, 85, 658, 13, 8367, 8, 16034, 38701, 1133, 85, 658, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 33331, 502, 262, 2472, 7721, 21103, 269, 13370, 84, 269, 83, 352, 5072, 326, 5827, 9193, 26492, 468, 550, 319, 7769, 14, 1507, 14, 17, 15377, 30, 46506, 35683, 7, 448, 79, 1133, 85, 658, 13, 8367, 8, 16034, 38701, 1133, 85, 658, 3...
What was the score of the game when the team reached a record of 6-9?
SELECT "Score" FROM table_16196 WHERE "Record" = '6-9'
[ 2061, 373, 262, 4776, 286, 262, 983, 618, 262, 1074, 4251, 257, 1700, 286, 718, 12, 24, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 1433, 25272, 33411, 366, 23739, 1, 796, 705, 21, 12, 24, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 4776, 286, 262, 983, 618, 262, 1074, 4251, 257, 1700, 286, 718, 12, 24, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 1433, 25272, 33411, 366, 23739, 1, 796, 705, 21, 12, 24, 6 ]
what is the total amount of output that patient 2002 has been getting on the first intensive care unit visit?
SELECT SUM(outputevents.value) FROM outputevents WHERE outputevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 2002) AND NOT icustays.outtime IS NULL ORDER BY icustays.intime LIMIT 1)
[ 10919, 318, 262, 2472, 2033, 286, 5072, 326, 5827, 6244, 468, 587, 1972, 319, 262, 717, 18590, 1337, 4326, 3187, 30, 46506, 35683, 7, 448, 79, 1133, 85, 658, 13, 8367, 8, 16034, 38701, 1133, 85, 658, 33411, 38701, 1133, 85, 658, 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...
[ 10919, 318, 262, 2472, 2033, 286, 5072, 326, 5827, 6244, 468, 587, 1972, 319, 262, 717, 18590, 1337, 4326, 3187, 30, 46506, 35683, 7, 448, 79, 1133, 85, 658, 13, 8367, 8, 16034, 38701, 1133, 85, 658, 33411, 38701, 1133, 85, 658, 13,...
Name the horizontal 0 for ry
SELECT horizontal_0_a FROM table_25519358_1 WHERE hypotenuse_0_c = "明弦(RY日月)"
[ 5376, 262, 16021, 657, 329, 374, 88, 46506, 16021, 62, 15, 62, 64, 16034, 3084, 62, 13381, 1129, 31128, 62, 16, 33411, 8813, 268, 1904, 62, 15, 62, 66, 796, 366, 23626, 236, 28156, 99, 171, 120, 230, 18276, 33768, 98, 17312, 230, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 16021, 657, 329, 374, 88, 46506, 16021, 62, 15, 62, 64, 16034, 3084, 62, 13381, 1129, 31128, 62, 16, 33411, 8813, 268, 1904, 62, 15, 62, 66, 796, 366, 23626, 236, 28156, 99, 171, 120, 230, 18276, 33768, 98, 17312, 230, ...
Where was d: ~100nm, l: 1 m geometry researched?
SELECT "Researched at" FROM table_4267 WHERE "Geometry" = 'D: ~100nm, L: 1 μm'
[ 8496, 373, 288, 25, 5299, 3064, 21533, 11, 300, 25, 352, 285, 22939, 30066, 30, 46506, 366, 4965, 451, 1740, 379, 1, 16034, 3084, 62, 19, 25674, 33411, 366, 10082, 15748, 1, 796, 705, 35, 25, 5299, 3064, 21533, 11, 406, 25, 352, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8496, 373, 288, 25, 5299, 3064, 21533, 11, 300, 25, 352, 285, 22939, 30066, 30, 46506, 366, 4965, 451, 1740, 379, 1, 16034, 3084, 62, 19, 25674, 33411, 366, 10082, 15748, 1, 796, 705, 35, 25, 5299, 3064, 21533, 11, 406, 25, 352, 1...
count the number of patients whose marital status is divorced and admission year is less than 2120?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.marital_status = "DIVORCED" AND demographic.admityear < "2120"
[ 9127, 262, 1271, 286, 3871, 3025, 29555, 3722, 318, 25107, 290, 13938, 614, 318, 1342, 621, 362, 10232, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 3876, 1287, 62, 1337...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 29555, 3722, 318, 25107, 290, 13938, 614, 318, 1342, 621, 362, 10232, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 3876, 1287, 62, 1337...
Tell me the lowest week for w 10-3
SELECT MIN(week) FROM table_name_50 WHERE result = "w 10-3"
[ 24446, 502, 262, 9016, 1285, 329, 266, 838, 12, 18, 46506, 20625, 7, 10464, 8, 16034, 3084, 62, 3672, 62, 1120, 33411, 1255, 796, 366, 86, 838, 12, 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 ]
[ 24446, 502, 262, 9016, 1285, 329, 266, 838, 12, 18, 46506, 20625, 7, 10464, 8, 16034, 3084, 62, 3672, 62, 1120, 33411, 1255, 796, 366, 86, 838, 12, 18, 1 ]
What is the name of the diety for the river of sone?
SELECT name_of_deity FROM table_name_16 WHERE name_of_the_river = "sone"
[ 2061, 318, 262, 1438, 286, 262, 288, 1905, 329, 262, 7850, 286, 264, 505, 30, 46506, 1438, 62, 1659, 62, 2934, 414, 16034, 3084, 62, 3672, 62, 1433, 33411, 1438, 62, 1659, 62, 1169, 62, 38291, 796, 366, 82, 505, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 288, 1905, 329, 262, 7850, 286, 264, 505, 30, 46506, 1438, 62, 1659, 62, 2934, 414, 16034, 3084, 62, 3672, 62, 1433, 33411, 1438, 62, 1659, 62, 1169, 62, 38291, 796, 366, 82, 505, 1 ]
papers with Question Answering in keyphrases
SELECT DISTINCT paper.paperid FROM keyphrase, paper, paperkeyphrase WHERE keyphrase.keyphrasename = 'Question Answering' AND paperkeyphrase.keyphraseid = keyphrase.keyphraseid AND paper.paperid = paperkeyphrase.paperid
[ 40491, 351, 18233, 1052, 2032, 1586, 287, 1994, 746, 81, 1386, 46506, 360, 8808, 1268, 4177, 3348, 13, 20189, 312, 16034, 1994, 34675, 11, 3348, 11, 3348, 2539, 34675, 33411, 1994, 34675, 13, 2539, 746, 8847, 12453, 796, 705, 24361, 105...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 40491, 351, 18233, 1052, 2032, 1586, 287, 1994, 746, 81, 1386, 46506, 360, 8808, 1268, 4177, 3348, 13, 20189, 312, 16034, 1994, 34675, 11, 3348, 11, 3348, 2539, 34675, 33411, 1994, 34675, 13, 2539, 746, 8847, 12453, 796, 705, 24361, 105...
What is the number of gt1 winning team for rnd 5?
SELECT COUNT("GT1 Winning Team") FROM table_431 WHERE "Rnd" = '5'
[ 2061, 318, 262, 1271, 286, 308, 83, 16, 5442, 1074, 329, 374, 358, 642, 30, 46506, 327, 28270, 7203, 19555, 16, 40983, 4816, 4943, 16034, 3084, 62, 50080, 33411, 366, 49, 358, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1271, 286, 308, 83, 16, 5442, 1074, 329, 374, 358, 642, 30, 46506, 327, 28270, 7203, 19555, 16, 40983, 4816, 4943, 16034, 3084, 62, 50080, 33411, 366, 49, 358, 1, 796, 705, 20, 6 ]
what is the maximum round for gt3 winner hector lester tim mullen and pole position of jonny cocker paul drayson
SELECT MAX(round) FROM table_13079788_3 WHERE gt3_winner = "Hector Lester Tim Mullen" AND pole_position = "Jonny Cocker Paul Drayson"
[ 10919, 318, 262, 5415, 2835, 329, 308, 83, 18, 8464, 339, 2715, 300, 7834, 4628, 35024, 268, 290, 16825, 2292, 286, 474, 261, 3281, 7540, 263, 279, 2518, 1553, 34907, 46506, 25882, 7, 744, 8, 16034, 3084, 62, 12952, 44673, 3459, 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...
[ 10919, 318, 262, 5415, 2835, 329, 308, 83, 18, 8464, 339, 2715, 300, 7834, 4628, 35024, 268, 290, 16825, 2292, 286, 474, 261, 3281, 7540, 263, 279, 2518, 1553, 34907, 46506, 25882, 7, 744, 8, 16034, 3084, 62, 12952, 44673, 3459, 62, ...
What are the 8 -credit courses ?
SELECT DISTINCT name, number FROM course WHERE credits = 8 AND department = 'EECS'
[ 2061, 389, 262, 807, 532, 43082, 10902, 5633, 46506, 360, 8808, 1268, 4177, 1438, 11, 1271, 16034, 1781, 33411, 10824, 796, 807, 5357, 5011, 796, 705, 36, 2943, 50, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 262, 807, 532, 43082, 10902, 5633, 46506, 360, 8808, 1268, 4177, 1438, 11, 1271, 16034, 1781, 33411, 10824, 796, 807, 5357, 5011, 796, 705, 36, 2943, 50, 6 ]
What is the percentage of La Canada Flintridge when Tujunga is 7%?
SELECT la_cañada_flintridge FROM table_name_58 WHERE tujunga = "7%"
[ 2061, 318, 262, 5873, 286, 4689, 3340, 21660, 12818, 618, 16749, 73, 2150, 64, 318, 767, 4, 30, 46506, 8591, 62, 6888, 12654, 4763, 62, 2704, 600, 12818, 16034, 3084, 62, 3672, 62, 3365, 33411, 12777, 73, 2150, 64, 796, 366, 22, 396...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4689, 3340, 21660, 12818, 618, 16749, 73, 2150, 64, 318, 767, 4, 30, 46506, 8591, 62, 6888, 12654, 4763, 62, 2704, 600, 12818, 16034, 3084, 62, 3672, 62, 3365, 33411, 12777, 73, 2150, 64, 796, 366, 22, 396...
Operation of find-min has what Fibonacci?
SELECT fibonacci FROM table_name_18 WHERE operation = "find-min"
[ 32180, 286, 1064, 12, 1084, 468, 644, 41566, 261, 44456, 30, 46506, 12900, 261, 44456, 16034, 3084, 62, 3672, 62, 1507, 33411, 4905, 796, 366, 19796, 12, 1084, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 32180, 286, 1064, 12, 1084, 468, 644, 41566, 261, 44456, 30, 46506, 12900, 261, 44456, 16034, 3084, 62, 3672, 62, 1507, 33411, 4905, 796, 366, 19796, 12, 1084, 1 ]
What is the win/loss percentage with wins of 63 and losses smaller than 76?
SELECT "W-L %" FROM table_32202 WHERE "Wins" = '63' AND "Losses" < '76'
[ 2061, 318, 262, 1592, 14, 22462, 5873, 351, 7864, 286, 8093, 290, 9089, 4833, 621, 8684, 30, 46506, 366, 54, 12, 43, 4064, 1, 16034, 3084, 62, 2624, 19004, 33411, 366, 54, 1040, 1, 796, 705, 5066, 6, 5357, 366, 43, 793, 274, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1592, 14, 22462, 5873, 351, 7864, 286, 8093, 290, 9089, 4833, 621, 8684, 30, 46506, 366, 54, 12, 43, 4064, 1, 16034, 3084, 62, 2624, 19004, 33411, 366, 54, 1040, 1, 796, 705, 5066, 6, 5357, 366, 43, 793, 274, 1, ...
How many unique school districts in Indiana?
SELECT COUNT(DISTINCT school_district) FROM finrev_fed_17 AS T1 JOIN finrev_fed_key_17 AS T2 ON T1.state_code = T2.state_code WHERE T2.state = "Indiana"
[ 2437, 867, 3748, 1524, 12815, 287, 10278, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 1524, 62, 17080, 2012, 8, 16034, 957, 18218, 62, 19082, 62, 1558, 7054, 309, 16, 32357, 1268, 957, 18218, 62, 19082, 62, 2539, 62, 1558, 7054, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2437, 867, 3748, 1524, 12815, 287, 10278, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 1524, 62, 17080, 2012, 8, 16034, 957, 18218, 62, 19082, 62, 1558, 7054, 309, 16, 32357, 1268, 957, 18218, 62, 19082, 62, 2539, 62, 1558, 7054, ...
A bar chart shows the distribution of meter_500 and meter_100 , could you list meter_500 from high to low order?
SELECT meter_500, meter_100 FROM swimmer ORDER BY meter_500 DESC
[ 32, 2318, 8262, 2523, 262, 6082, 286, 16430, 62, 4059, 290, 16430, 62, 3064, 837, 714, 345, 1351, 16430, 62, 4059, 422, 1029, 284, 1877, 1502, 30, 46506, 16430, 62, 4059, 11, 16430, 62, 3064, 16034, 9422, 647, 38678, 11050, 16430, 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 ]
[ 32, 2318, 8262, 2523, 262, 6082, 286, 16430, 62, 4059, 290, 16430, 62, 3064, 837, 714, 345, 1351, 16430, 62, 4059, 422, 1029, 284, 1877, 1502, 30, 46506, 16430, 62, 4059, 11, 16430, 62, 3064, 16034, 9422, 647, 38678, 11050, 16430, 62,...
What are the profits (in billions) where the assets are 192.8 billion?
SELECT profits__billion_$_ FROM table_1682026_3 WHERE assets__billion_$_ = "192.8"
[ 2061, 389, 262, 10177, 357, 259, 13188, 8, 810, 262, 6798, 389, 17817, 13, 23, 2997, 30, 46506, 10177, 834, 24540, 62, 3, 62, 16034, 3084, 62, 14656, 1238, 2075, 62, 18, 33411, 6798, 834, 24540, 62, 3, 62, 796, 366, 17477, 13, 23,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10177, 357, 259, 13188, 8, 810, 262, 6798, 389, 17817, 13, 23, 2997, 30, 46506, 10177, 834, 24540, 62, 3, 62, 16034, 3084, 62, 14656, 1238, 2075, 62, 18, 33411, 6798, 834, 24540, 62, 3, 62, 796, 366, 17477, 13, 23,...
What is every CFL team with the player Mark Farraway?
SELECT "CFL Team" FROM table_30258 WHERE "Player" = 'Mark Farraway'
[ 2061, 318, 790, 45239, 1074, 351, 262, 2137, 2940, 6755, 430, 1014, 30, 46506, 366, 34, 3697, 4816, 1, 16034, 3084, 62, 1270, 25600, 33411, 366, 14140, 1, 796, 705, 9704, 6755, 430, 1014, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 790, 45239, 1074, 351, 262, 2137, 2940, 6755, 430, 1014, 30, 46506, 366, 34, 3697, 4816, 1, 16034, 3084, 62, 1270, 25600, 33411, 366, 14140, 1, 796, 705, 9704, 6755, 430, 1014, 6 ]
What is other when registered voters is 50.7%?
SELECT other FROM table_27003186_3 WHERE registered_voters = "50.7%"
[ 2061, 318, 584, 618, 6823, 4446, 318, 2026, 13, 22, 4, 30, 46506, 584, 16034, 3084, 62, 1983, 11245, 25096, 62, 18, 33411, 6823, 62, 85, 26008, 796, 366, 1120, 13, 22, 39658 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 584, 618, 6823, 4446, 318, 2026, 13, 22, 4, 30, 46506, 584, 16034, 3084, 62, 1983, 11245, 25096, 62, 18, 33411, 6823, 62, 85, 26008, 796, 366, 1120, 13, 22, 39658 ]
Show the locations shared by shops with open year later than 2012 and shops with open year before 2008.
SELECT location FROM shop WHERE open_year > 2012 INTERSECT SELECT location FROM shop WHERE open_year < 2008
[ 15307, 262, 7064, 4888, 416, 12437, 351, 1280, 614, 1568, 621, 2321, 290, 12437, 351, 1280, 614, 878, 3648, 13, 46506, 4067, 16034, 6128, 33411, 1280, 62, 1941, 1875, 2321, 17828, 4877, 9782, 33493, 4067, 16034, 6128, 33411, 1280, 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 ]
[ 15307, 262, 7064, 4888, 416, 12437, 351, 1280, 614, 1568, 621, 2321, 290, 12437, 351, 1280, 614, 878, 3648, 13, 46506, 4067, 16034, 6128, 33411, 1280, 62, 1941, 1875, 2321, 17828, 4877, 9782, 33493, 4067, 16034, 6128, 33411, 1280, 62, 1...
what is the year when the location is yankee stadium and the result is 23-23
SELECT AVG(year) FROM table_name_74 WHERE location = "yankee stadium" AND result = "23-23"
[ 10919, 318, 262, 614, 618, 262, 4067, 318, 331, 272, 11035, 10308, 290, 262, 1255, 318, 2242, 12, 1954, 46506, 35224, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 4524, 33411, 4067, 796, 366, 4121, 11035, 10308, 1, 5357, 1255, 796, 366, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 614, 618, 262, 4067, 318, 331, 272, 11035, 10308, 290, 262, 1255, 318, 2242, 12, 1954, 46506, 35224, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 4524, 33411, 4067, 796, 366, 4121, 11035, 10308, 1, 5357, 1255, 796, 366, 1...
Who was featured in 20 questions on 4-03?
SELECT 20 AS _questions FROM table_1566852_4 WHERE date = "4-03"
[ 8241, 373, 8096, 287, 1160, 2683, 319, 604, 12, 3070, 30, 46506, 1160, 7054, 4808, 6138, 507, 16034, 3084, 62, 1314, 35809, 4309, 62, 19, 33411, 3128, 796, 366, 19, 12, 3070, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8096, 287, 1160, 2683, 319, 604, 12, 3070, 30, 46506, 1160, 7054, 4808, 6138, 507, 16034, 3084, 62, 1314, 35809, 4309, 62, 19, 33411, 3128, 796, 366, 19, 12, 3070, 1 ]
What were the bowling figures for the competition at Pietermaritzburg?
SELECT "Bowling figures Wickets-Runs (Overs)" FROM table_56380 WHERE "Venue" = 'pietermaritzburg'
[ 2061, 547, 262, 33564, 5538, 329, 262, 5449, 379, 36548, 263, 3876, 4224, 7423, 30, 46506, 366, 39961, 1359, 5538, 370, 15970, 12, 10987, 82, 357, 46, 690, 16725, 16034, 3084, 62, 3980, 23734, 33411, 366, 37522, 518, 1, 796, 705, 79, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 547, 262, 33564, 5538, 329, 262, 5449, 379, 36548, 263, 3876, 4224, 7423, 30, 46506, 366, 39961, 1359, 5538, 370, 15970, 12, 10987, 82, 357, 46, 690, 16725, 16034, 3084, 62, 3980, 23734, 33411, 366, 37522, 518, 1, 796, 705, 79, ...
how many hours has it been since the last time patient 012-31752 was given a bedside glucose test during the current hospital visit?
SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', lab.labresulttime)) FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '012-31752' AND patient.hosp...
[ 4919, 867, 2250, 468, 340, 587, 1201, 262, 938, 640, 5827, 5534, 17, 12, 34125, 4309, 373, 1813, 257, 3996, 1589, 15701, 1332, 1141, 262, 1459, 4436, 3187, 30, 46506, 1987, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 2250, 468, 340, 587, 1201, 262, 938, 640, 5827, 5534, 17, 12, 34125, 4309, 373, 1813, 257, 3996, 1589, 15701, 1332, 1141, 262, 1459, 4436, 3187, 30, 46506, 1987, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237...
How many seconds did the champion who started in 1971 and placed above 2 have?
SELECT "Seconds" FROM table_57235 WHERE "From" > '1971' AND "Place" < '2'
[ 2437, 867, 4201, 750, 262, 8783, 508, 2067, 287, 16382, 290, 4624, 2029, 362, 423, 30, 46506, 366, 12211, 82, 1, 16034, 3084, 62, 3553, 22370, 33411, 366, 4863, 1, 1875, 705, 41208, 6, 5357, 366, 27271, 1, 1279, 705, 17, 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 ]
[ 2437, 867, 4201, 750, 262, 8783, 508, 2067, 287, 16382, 290, 4624, 2029, 362, 423, 30, 46506, 366, 12211, 82, 1, 16034, 3084, 62, 3553, 22370, 33411, 366, 4863, 1, 1875, 705, 41208, 6, 5357, 366, 27271, 1, 1279, 705, 17, 6 ]
semantic parsing 2016 papers
SELECT DISTINCT paper.paperid FROM keyphrase, paper, paperkeyphrase WHERE keyphrase.keyphrasename = 'semantic parsing' AND paperkeyphrase.keyphraseid = keyphrase.keyphraseid AND paper.paperid = paperkeyphrase.paperid AND paper.year = 2016
[ 43616, 5109, 32096, 1584, 9473, 46506, 360, 8808, 1268, 4177, 3348, 13, 20189, 312, 16034, 1994, 34675, 11, 3348, 11, 3348, 2539, 34675, 33411, 1994, 34675, 13, 2539, 746, 8847, 12453, 796, 705, 43616, 5109, 32096, 6, 5357, 3348, 2539, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 43616, 5109, 32096, 1584, 9473, 46506, 360, 8808, 1268, 4177, 3348, 13, 20189, 312, 16034, 1994, 34675, 11, 3348, 11, 3348, 2539, 34675, 33411, 1994, 34675, 13, 2539, 746, 8847, 12453, 796, 705, 43616, 5109, 32096, 6, 5357, 3348, 2539, ...
What is the name of the customer that has purchased the most items?
SELECT t1.customer_name FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id = t2.customer_id JOIN order_items AS t3 ON t2.order_id = t3.order_id GROUP BY t1.customer_name ORDER BY SUM(t3.order_quantity) DESC LIMIT 1
[ 2061, 318, 262, 1438, 286, 262, 6491, 326, 468, 8155, 262, 749, 3709, 30, 46506, 256, 16, 13, 23144, 263, 62, 3672, 16034, 4297, 7054, 256, 16, 32357, 1268, 6491, 62, 6361, 7054, 256, 17, 6177, 256, 16, 13, 23144, 263, 62, 312, 79...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 318, 262, 1438, 286, 262, 6491, 326, 468, 8155, 262, 749, 3709, 30, 46506, 256, 16, 13, 23144, 263, 62, 3672, 16034, 4297, 7054, 256, 16, 32357, 1268, 6491, 62, 6361, 7054, 256, 17, 6177, 256, 16, 13, 23144, 263, 62, 312, 79...
what are the top four most frequent diagnoses which patients were given in the same hospital visit after undergoing treatment of hypernatremia since 2104?
SELECT t3.diagnosisname FROM (SELECT t2.diagnosisname, 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 = 'treat...
[ 10919, 389, 262, 1353, 1440, 749, 10792, 40567, 543, 3871, 547, 1813, 287, 262, 976, 4436, 3187, 706, 23247, 3513, 286, 8718, 32353, 2787, 544, 1201, 362, 13464, 30, 46506, 256, 18, 13, 47356, 5958, 3672, 16034, 357, 46506, 256, 17, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 389, 262, 1353, 1440, 749, 10792, 40567, 543, 3871, 547, 1813, 287, 262, 976, 4436, 3187, 706, 23247, 3513, 286, 8718, 32353, 2787, 544, 1201, 362, 13464, 30, 46506, 256, 18, 13, 47356, 5958, 3672, 16034, 357, 46506, 256, 17, 1...
Find the average grade point of student whose last name is Smith.
SELECT AVG(T2.gradepoint) FROM enrolled_in AS T1 JOIN gradeconversion AS T2 JOIN student AS T3 ON T1.grade = T2.lettergrade AND T1.stuid = T3.stuid WHERE T3.lname = "Smith"
[ 16742, 262, 2811, 9559, 966, 286, 3710, 3025, 938, 1438, 318, 4176, 13, 46506, 35224, 7, 51, 17, 13, 9744, 538, 1563, 8, 16034, 18724, 62, 259, 7054, 309, 16, 32357, 1268, 9559, 1102, 9641, 7054, 309, 17, 32357, 1268, 3710, 7054, 30...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 16742, 262, 2811, 9559, 966, 286, 3710, 3025, 938, 1438, 318, 4176, 13, 46506, 35224, 7, 51, 17, 13, 9744, 538, 1563, 8, 16034, 18724, 62, 259, 7054, 309, 16, 32357, 1268, 9559, 1102, 9641, 7054, 309, 17, 32357, 1268, 3710, 7054, 30...
I want to see trend of the number of yearid by yearid, and display from low to high by the X-axis.
SELECT yearid, COUNT(yearid) FROM hall_of_fame ORDER BY yearid
[ 40, 765, 284, 766, 5182, 286, 262, 1271, 286, 614, 312, 416, 614, 312, 11, 290, 3359, 422, 1877, 284, 1029, 416, 262, 1395, 12, 22704, 13, 46506, 614, 312, 11, 327, 28270, 7, 1941, 312, 8, 16034, 6899, 62, 1659, 62, 69, 480, 386...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 40, 765, 284, 766, 5182, 286, 262, 1271, 286, 614, 312, 416, 614, 312, 11, 290, 3359, 422, 1877, 284, 1029, 416, 262, 1395, 12, 22704, 13, 46506, 614, 312, 11, 327, 28270, 7, 1941, 312, 8, 16034, 6899, 62, 1659, 62, 69, 480, 386...
What is the percentage of others when McCain is at 57.7%
SELECT others_percentage FROM table_20573232_1 WHERE mccain_percentage = "57.7%"
[ 2061, 318, 262, 5873, 286, 1854, 618, 14264, 318, 379, 7632, 13, 22, 4, 46506, 1854, 62, 25067, 496, 16034, 3084, 62, 1238, 48638, 24339, 62, 16, 33411, 285, 535, 391, 62, 25067, 496, 796, 366, 3553, 13, 22, 39658 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1854, 618, 14264, 318, 379, 7632, 13, 22, 4, 46506, 1854, 62, 25067, 496, 16034, 3084, 62, 1238, 48638, 24339, 62, 16, 33411, 285, 535, 391, 62, 25067, 496, 796, 366, 3553, 13, 22, 39658 ]
which coach was the first to coach before all others ?
SELECT "name" FROM table_204_95 ORDER BY "first year\nin this position" LIMIT 1
[ 4758, 3985, 373, 262, 717, 284, 3985, 878, 477, 1854, 5633, 46506, 366, 3672, 1, 16034, 3084, 62, 18638, 62, 3865, 38678, 11050, 366, 11085, 614, 59, 35073, 428, 2292, 1, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4758, 3985, 373, 262, 717, 284, 3985, 878, 477, 1854, 5633, 46506, 366, 3672, 1, 16034, 3084, 62, 18638, 62, 3865, 38678, 11050, 366, 11085, 614, 59, 35073, 428, 2292, 1, 27564, 2043, 352 ]
What is the smallest game had a location of Madison Square Garden with a score of 109-99?
SELECT MIN(game) FROM table_name_3 WHERE location_attendance = "madison square garden" AND score = "109-99"
[ 2061, 318, 262, 18197, 983, 550, 257, 4067, 286, 14909, 9276, 11652, 351, 257, 4776, 286, 16003, 12, 2079, 30, 46506, 20625, 7, 6057, 8, 16034, 3084, 62, 3672, 62, 18, 33411, 4067, 62, 1078, 437, 590, 796, 366, 9937, 1653, 6616, 113...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 18197, 983, 550, 257, 4067, 286, 14909, 9276, 11652, 351, 257, 4776, 286, 16003, 12, 2079, 30, 46506, 20625, 7, 6057, 8, 16034, 3084, 62, 3672, 62, 18, 33411, 4067, 62, 1078, 437, 590, 796, 366, 9937, 1653, 6616, 113...
keyphrases used by roni rosenfeld
SELECT DISTINCT keyphrase.keyphraseid FROM author, keyphrase, paper, paperkeyphrase, writes WHERE author.authorname = 'roni rosenfeld' AND paperkeyphrase.keyphraseid = keyphrase.keyphraseid AND paper.paperid = paperkeyphrase.paperid AND writes.authorid = author.authorid AND writes.paperid = paper.paperid
[ 2539, 746, 81, 1386, 973, 416, 374, 14651, 686, 6248, 16265, 46506, 360, 8808, 1268, 4177, 1994, 34675, 13, 2539, 34675, 312, 16034, 1772, 11, 1994, 34675, 11, 3348, 11, 3348, 2539, 34675, 11, 6797, 33411, 1772, 13, 18439, 1211, 480, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2539, 746, 81, 1386, 973, 416, 374, 14651, 686, 6248, 16265, 46506, 360, 8808, 1268, 4177, 1994, 34675, 13, 2539, 34675, 312, 16034, 1772, 11, 1994, 34675, 11, 3348, 11, 3348, 2539, 34675, 11, 6797, 33411, 1772, 13, 18439, 1211, 480, ...
Which sign had a yellow background and a triangular shape?
SELECT border FROM table_name_86 WHERE background_colour = "yellow" AND shape = "triangular"
[ 13828, 1051, 550, 257, 7872, 4469, 290, 257, 46963, 5485, 30, 46506, 4865, 16034, 3084, 62, 3672, 62, 4521, 33411, 4469, 62, 49903, 796, 366, 36022, 1, 5357, 5485, 796, 366, 28461, 21413, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1051, 550, 257, 7872, 4469, 290, 257, 46963, 5485, 30, 46506, 4865, 16034, 3084, 62, 3672, 62, 4521, 33411, 4469, 62, 49903, 796, 366, 36022, 1, 5357, 5485, 796, 366, 28461, 21413, 1 ]
WHich Score has a Record of 31 28 3?
SELECT "Score" FROM table_37298 WHERE "Record" = '31–28–3'
[ 12418, 488, 15178, 468, 257, 13266, 286, 3261, 2579, 513, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 2718, 27728, 33411, 366, 23739, 1, 796, 705, 3132, 1906, 2078, 1906, 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 ]
[ 12418, 488, 15178, 468, 257, 13266, 286, 3261, 2579, 513, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 2718, 27728, 33411, 366, 23739, 1, 796, 705, 3132, 1906, 2078, 1906, 18, 6 ]
What is the best preliminary for a contestant from New Mexico with interview less than 9.533?
SELECT MAX(preliminary) FROM table_name_35 WHERE state = "new mexico" AND interview < 9.533
[ 2061, 318, 262, 1266, 15223, 329, 257, 44047, 422, 968, 5828, 351, 2720, 1342, 621, 860, 13, 44994, 30, 46506, 25882, 7, 79, 2411, 38429, 8, 16034, 3084, 62, 3672, 62, 2327, 33411, 1181, 796, 366, 3605, 502, 87, 3713, 1, 5357, 2720,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1266, 15223, 329, 257, 44047, 422, 968, 5828, 351, 2720, 1342, 621, 860, 13, 44994, 30, 46506, 25882, 7, 79, 2411, 38429, 8, 16034, 3084, 62, 3672, 62, 2327, 33411, 1181, 796, 366, 3605, 502, 87, 3713, 1, 5357, 2720,...
Of the courses I 've taken , are any among the hardest in the ARMENIAN department ?
SELECT DISTINCT course.department, course.name, course.number, program_course.workload FROM course INNER JOIN student_record ON student_record.course_id = course.course_id INNER JOIN program_course ON program_course.course_id = course.course_id WHERE course.department = 'ARMENIAN' AND program_course.workload = (SELECT ...
[ 5189, 262, 10902, 314, 705, 303, 2077, 837, 389, 597, 1871, 262, 17612, 287, 262, 20359, 1677, 16868, 5011, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 11, 1430, 62, 17319, 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...
[ 5189, 262, 10902, 314, 705, 303, 2077, 837, 389, 597, 1871, 262, 17612, 287, 262, 20359, 1677, 16868, 5011, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 11, 1430, 62, 17319, 13, ...
Who was the guest on 24.11.07 when the result was 0:1 at 16:00?
SELECT guest FROM table_name_25 WHERE date = "24.11.07" AND result = "0:1" AND time = "16:00"
[ 8241, 373, 262, 8319, 319, 1987, 13, 1157, 13, 2998, 618, 262, 1255, 373, 657, 25, 16, 379, 1467, 25, 405, 30, 46506, 8319, 16034, 3084, 62, 3672, 62, 1495, 33411, 3128, 796, 366, 1731, 13, 1157, 13, 2998, 1, 5357, 1255, 796, 366,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 373, 262, 8319, 319, 1987, 13, 1157, 13, 2998, 618, 262, 1255, 373, 657, 25, 16, 379, 1467, 25, 405, 30, 46506, 8319, 16034, 3084, 62, 3672, 62, 1495, 33411, 3128, 796, 366, 1731, 13, 1157, 13, 2998, 1, 5357, 1255, 796, 366,...
Who was the opponent of the game on August 8?
SELECT opponent FROM table_name_36 WHERE date = "august 8"
[ 8241, 373, 262, 6125, 286, 262, 983, 319, 2932, 807, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 2623, 33411, 3128, 796, 366, 7493, 436, 807, 1 ]
[ 1, 1, 1, 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, 286, 262, 983, 319, 2932, 807, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 2623, 33411, 3128, 796, 366, 7493, 436, 807, 1 ]
For those records from the products and each product's manufacturer, give me the comparison about the average of manufacturer over the name , and group by attribute name by a bar chart, sort total number from low to high order.
SELECT T1.Name, T1.Manufacturer FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T1.Name ORDER BY T1.Manufacturer
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 1577, 502, 262, 7208, 546, 262, 2811, 286, 11554, 625, 262, 1438, 837, 290, 1448, 416, 11688, 1438, 416, 257, 2318, 8262, 11, 3297, 2472, 1271, 422, 1877, 284, 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, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 1577, 502, 262, 7208, 546, 262, 2811, 286, 11554, 625, 262, 1438, 837, 290, 1448, 416, 11688, 1438, 416, 257, 2318, 8262, 11, 3297, 2472, 1271, 422, 1877, 284, 1029, ...
What is the original air date of the episode directed by Terrence Nightingall?
SELECT original_air_date FROM table_17356205_1 WHERE directed_by = "Terrence Nightingall"
[ 2061, 318, 262, 2656, 1633, 3128, 286, 262, 4471, 7924, 416, 3813, 6784, 5265, 278, 439, 30, 46506, 2656, 62, 958, 62, 4475, 16034, 3084, 62, 1558, 32066, 21261, 62, 16, 33411, 7924, 62, 1525, 796, 366, 15156, 6784, 5265, 278, 439, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2656, 1633, 3128, 286, 262, 4471, 7924, 416, 3813, 6784, 5265, 278, 439, 30, 46506, 2656, 62, 958, 62, 4475, 16034, 3084, 62, 1558, 32066, 21261, 62, 16, 33411, 7924, 62, 1525, 796, 366, 15156, 6784, 5265, 278, 439, ...
Who wrote the episode that David Tucker directed?
SELECT COUNT(writer) FROM table_15026994_3 WHERE director = "David Tucker"
[ 8241, 2630, 262, 4471, 326, 3271, 25951, 7924, 30, 46506, 327, 28270, 7, 16002, 8, 16034, 3084, 62, 8628, 2075, 42691, 62, 18, 33411, 3437, 796, 366, 11006, 25951, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 2630, 262, 4471, 326, 3271, 25951, 7924, 30, 46506, 327, 28270, 7, 16002, 8, 16034, 3084, 62, 8628, 2075, 42691, 62, 18, 33411, 3437, 796, 366, 11006, 25951, 1 ]
Show me the total number by grape in a histogram, sort by the bar in desc.
SELECT Grape, COUNT(*) FROM wine GROUP BY Grape ORDER BY Grape DESC
[ 15307, 502, 262, 2472, 1271, 416, 30777, 287, 257, 1554, 21857, 11, 3297, 416, 262, 2318, 287, 1715, 13, 46506, 48315, 11, 327, 28270, 7, 28104, 16034, 8237, 44441, 11050, 48315, 38678, 11050, 48315, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 262, 2472, 1271, 416, 30777, 287, 257, 1554, 21857, 11, 3297, 416, 262, 2318, 287, 1715, 13, 46506, 48315, 11, 327, 28270, 7, 28104, 16034, 8237, 44441, 11050, 48315, 38678, 11050, 48315, 22196, 34 ]
when was g42 , 1898 or 1894 ?
SELECT "year" FROM table_204_737 WHERE "order" = 'g42'
[ 12518, 373, 308, 3682, 837, 46244, 393, 1248, 5824, 5633, 46506, 366, 1941, 1, 16034, 3084, 62, 18638, 62, 22, 2718, 33411, 366, 2875, 1, 796, 705, 70, 3682, 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 ]
[ 12518, 373, 308, 3682, 837, 46244, 393, 1248, 5824, 5633, 46506, 366, 1941, 1, 16034, 3084, 62, 18638, 62, 22, 2718, 33411, 366, 2875, 1, 796, 705, 70, 3682, 6 ]
How many goals were scored on November 22, 1994?
SELECT SUM(goal) FROM table_name_13 WHERE date = "november 22, 1994"
[ 2437, 867, 4661, 547, 7781, 319, 3389, 2534, 11, 9162, 30, 46506, 35683, 7, 35231, 8, 16034, 3084, 62, 3672, 62, 1485, 33411, 3128, 796, 366, 77, 3239, 2534, 11, 9162, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 4661, 547, 7781, 319, 3389, 2534, 11, 9162, 30, 46506, 35683, 7, 35231, 8, 16034, 3084, 62, 3672, 62, 1485, 33411, 3128, 796, 366, 77, 3239, 2534, 11, 9162, 1 ]
What is the greatest height (cm) that has a 1983-1984 team of montreal canadiens, with a jersey less than 21?
SELECT MAX("Height (cm)") FROM table_7369 WHERE "1983\u20131984 Team" = 'montreal canadiens' AND "Jersey #" < '21'
[ 2061, 318, 262, 6000, 6001, 357, 11215, 8, 326, 468, 257, 13540, 12, 28296, 1074, 286, 40689, 5305, 460, 9189, 641, 11, 351, 257, 22383, 1342, 621, 2310, 30, 46506, 25882, 7203, 23106, 357, 11215, 8, 4943, 16034, 3084, 62, 22, 30803, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6000, 6001, 357, 11215, 8, 326, 468, 257, 13540, 12, 28296, 1074, 286, 40689, 5305, 460, 9189, 641, 11, 351, 257, 22383, 1342, 621, 2310, 30, 46506, 25882, 7203, 23106, 357, 11215, 8, 4943, 16034, 3084, 62, 22, 30803, ...
What position has 2008 as the season?
SELECT "Position" FROM table_41460 WHERE "Season" = '2008'
[ 2061, 2292, 468, 3648, 355, 262, 1622, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 37309, 1899, 33411, 366, 18960, 1, 796, 705, 11528, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 2292, 468, 3648, 355, 262, 1622, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 37309, 1899, 33411, 366, 18960, 1, 796, 705, 11528, 6 ]
Find suggested duplicates that haven't led to question closure in a tag. Locate old dupe suggestions where the flag has timed out
SELECT p.Id AS "post_link", p.CreationDate FROM Comments AS c JOIN Posts AS p ON c.PostId = p.Id JOIN PostTags AS pt ON pt.PostId = p.Id JOIN Tags AS t ON t.Id = pt.TagId WHERE c.Text LIKE '%possible duplicate%' AND p.ClosedDate IS NULL AND p.PostTypeId = 1 AND t.TagName = @Tag ORDER BY p.Id
[ 16742, 5220, 14184, 16856, 326, 4398, 470, 2957, 284, 1808, 16512, 287, 257, 7621, 13, 406, 13369, 1468, 7043, 431, 11776, 810, 262, 6056, 468, 28805, 503, 46506, 279, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 279, 13, 12443, 341, 10...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5220, 14184, 16856, 326, 4398, 470, 2957, 284, 1808, 16512, 287, 257, 7621, 13, 406, 13369, 1468, 7043, 431, 11776, 810, 262, 6056, 468, 28805, 503, 46506, 279, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 279, 13, 12443, 341, 10...
Name the season outcome for smyrna
SELECT season_outcome FROM table_name_89 WHERE school = "smyrna"
[ 5376, 262, 1622, 8055, 329, 895, 2417, 2616, 46506, 1622, 62, 448, 2958, 16034, 3084, 62, 3672, 62, 4531, 33411, 1524, 796, 366, 82, 1820, 81, 2616, 1 ]
[ 1, 1, 1, 1, 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, 1622, 8055, 329, 895, 2417, 2616, 46506, 1622, 62, 448, 2958, 16034, 3084, 62, 3672, 62, 4531, 33411, 1524, 796, 366, 82, 1820, 81, 2616, 1 ]
Which Opponent has a Date of november 17, 1963?
SELECT opponent FROM table_name_30 WHERE date = "november 17, 1963"
[ 13828, 9385, 3471, 468, 257, 7536, 286, 645, 303, 1916, 1596, 11, 19342, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 1270, 33411, 3128, 796, 366, 77, 3239, 1596, 11, 19342, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 9385, 3471, 468, 257, 7536, 286, 645, 303, 1916, 1596, 11, 19342, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 1270, 33411, 3128, 796, 366, 77, 3239, 1596, 11, 19342, 1 ]
among patients of age 50s during this year, what are the top five most frequent treatments?
SELECT t1.treatmentname FROM (SELECT treatment.treatmentname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.age BETWEEN 50 AND 59) AND DATETIME(treatment.treatmenttime, 'start of year') = DATETIME(CURRENT...
[ 35131, 3871, 286, 2479, 2026, 82, 1141, 428, 614, 11, 644, 389, 262, 1353, 1936, 749, 10792, 13820, 30, 46506, 256, 16, 13, 42487, 3672, 16034, 357, 46506, 3513, 13, 42487, 3672, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 35131, 3871, 286, 2479, 2026, 82, 1141, 428, 614, 11, 644, 389, 262, 1353, 1936, 749, 10792, 13820, 30, 46506, 256, 16, 13, 42487, 3672, 16034, 357, 46506, 3513, 13, 42487, 3672, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532,...
allergy to peanuts
SELECT * FROM table_train_170 WHERE allergy_to_peanuts = 1
[ 439, 26079, 284, 45612, 46506, 1635, 16034, 3084, 62, 27432, 62, 17279, 33411, 36197, 62, 1462, 62, 431, 37555, 796, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 439, 26079, 284, 45612, 46506, 1635, 16034, 3084, 62, 27432, 62, 17279, 33411, 36197, 62, 1462, 62, 431, 37555, 796, 352 ]
When was the game played in which the record was 46-29?
SELECT "Date" FROM table_15560 WHERE "Record" = '46-29'
[ 2215, 373, 262, 983, 2826, 287, 543, 262, 1700, 373, 6337, 12, 1959, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 18742, 1899, 33411, 366, 23739, 1, 796, 705, 3510, 12, 1959, 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, 373, 262, 983, 2826, 287, 543, 262, 1700, 373, 6337, 12, 1959, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 18742, 1899, 33411, 366, 23739, 1, 796, 705, 3510, 12, 1959, 6 ]
What is 9:00, when 8:30 is 'My Thursday Night Movie'?
SELECT "9:00" FROM table_40413 WHERE "8:30" = 'my thursday night movie'
[ 2061, 318, 860, 25, 405, 11, 618, 807, 25, 1270, 318, 705, 3666, 3635, 5265, 15875, 30960, 46506, 366, 24, 25, 405, 1, 16034, 3084, 62, 26429, 1485, 33411, 366, 23, 25, 1270, 1, 796, 705, 1820, 294, 3479, 1755, 3807, 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 ]
[ 2061, 318, 860, 25, 405, 11, 618, 807, 25, 1270, 318, 705, 3666, 3635, 5265, 15875, 30960, 46506, 366, 24, 25, 405, 1, 16034, 3084, 62, 26429, 1485, 33411, 366, 23, 25, 1270, 1, 796, 705, 1820, 294, 3479, 1755, 3807, 6 ]
Find the number and average age of students living in each city.
SELECT COUNT(*), AVG(age), city_code FROM student GROUP BY city_code
[ 16742, 262, 1271, 290, 2811, 2479, 286, 2444, 2877, 287, 1123, 1748, 13, 46506, 327, 28270, 46491, 828, 35224, 7, 496, 828, 1748, 62, 8189, 16034, 3710, 44441, 11050, 1748, 62, 8189 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16742, 262, 1271, 290, 2811, 2479, 286, 2444, 2877, 287, 1123, 1748, 13, 46506, 327, 28270, 46491, 828, 35224, 7, 496, 828, 1748, 62, 8189, 16034, 3710, 44441, 11050, 1748, 62, 8189 ]
How many people were in attendance when the Washington Nationals had a score of 7-3 and a loss of Worrell (0-1)?
SELECT COUNT("Attendance") FROM table_68238 WHERE "Score" = '7-3' AND "Loss" = 'worrell (0-1)'
[ 2437, 867, 661, 547, 287, 14858, 618, 262, 2669, 26291, 550, 257, 4776, 286, 767, 12, 18, 290, 257, 2994, 286, 16597, 11252, 357, 15, 12, 16, 19427, 46506, 327, 28270, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 3104, 23721, 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...
[ 2437, 867, 661, 547, 287, 14858, 618, 262, 2669, 26291, 550, 257, 4776, 286, 767, 12, 18, 290, 257, 2994, 286, 16597, 11252, 357, 15, 12, 16, 19427, 46506, 327, 28270, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 3104, 23721, 33411, ...
What country has todd hamilton as the player?
SELECT country FROM table_name_90 WHERE player = "todd hamilton"
[ 2061, 1499, 468, 23646, 8891, 9044, 355, 262, 2137, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 3829, 33411, 2137, 796, 366, 83, 5088, 8891, 9044, 1 ]
[ 1, 1, 1, 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, 1499, 468, 23646, 8891, 9044, 355, 262, 2137, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 3829, 33411, 2137, 796, 366, 83, 5088, 8891, 9044, 1 ]
Return the categories of music festivals that have the result 'Awarded', and count them by a bar chart, and I want to rank in ascending by the bars.
SELECT Category, COUNT(Category) FROM music_festival WHERE Result = "Awarded" GROUP BY Category ORDER BY Category
[ 13615, 262, 9376, 286, 2647, 25575, 326, 423, 262, 1255, 705, 32, 904, 276, 3256, 290, 954, 606, 416, 257, 2318, 8262, 11, 290, 314, 765, 284, 4279, 287, 41988, 416, 262, 9210, 13, 46506, 21743, 11, 327, 28270, 7, 27313, 8, 16034, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13615, 262, 9376, 286, 2647, 25575, 326, 423, 262, 1255, 705, 32, 904, 276, 3256, 290, 954, 606, 416, 257, 2318, 8262, 11, 290, 314, 765, 284, 4279, 287, 41988, 416, 262, 9210, 13, 46506, 21743, 11, 327, 28270, 7, 27313, 8, 16034, ...
What's the termini of the route with junctions of i-35 fm 3338 sh 255?
SELECT termini FROM table_name_2 WHERE junctions = "i-35 fm 3338 sh 255"
[ 2061, 338, 262, 5651, 72, 286, 262, 6339, 351, 10891, 2733, 286, 1312, 12, 2327, 277, 76, 23460, 23, 427, 14280, 30, 46506, 5651, 72, 16034, 3084, 62, 3672, 62, 17, 33411, 10891, 2733, 796, 366, 72, 12, 2327, 277, 76, 23460, 23, 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 ]
[ 2061, 338, 262, 5651, 72, 286, 262, 6339, 351, 10891, 2733, 286, 1312, 12, 2327, 277, 76, 23460, 23, 427, 14280, 30, 46506, 5651, 72, 16034, 3084, 62, 3672, 62, 17, 33411, 10891, 2733, 796, 366, 72, 12, 2327, 277, 76, 23460, 23, 4...
how many patients whose discharge location is home health care and days of hospital stay is greater than 10?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.discharge_location = "HOME HEALTH CARE" AND demographic.days_stay > "10"
[ 4919, 867, 3871, 3025, 17655, 4067, 318, 1363, 1535, 1337, 290, 1528, 286, 4436, 2652, 318, 3744, 621, 838, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 6381, 10136, 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 ]
[ 4919, 867, 3871, 3025, 17655, 4067, 318, 1363, 1535, 1337, 290, 1528, 286, 4436, 2652, 318, 3744, 621, 838, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 6381, 10136, 62,...
What is the Flattening ratio associated with the Equatorial diameter of 12,756.28km?
SELECT flattening_ratio FROM table_name_27 WHERE equatorial_diameter = "12,756.28km"
[ 2061, 318, 262, 1610, 1078, 3101, 8064, 3917, 351, 262, 7889, 21592, 14753, 286, 1105, 11, 38219, 13, 2078, 13276, 30, 46506, 27172, 3101, 62, 10366, 952, 16034, 3084, 62, 3672, 62, 1983, 33411, 1602, 21592, 62, 67, 13173, 796, 366, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1610, 1078, 3101, 8064, 3917, 351, 262, 7889, 21592, 14753, 286, 1105, 11, 38219, 13, 2078, 13276, 30, 46506, 27172, 3101, 62, 10366, 952, 16034, 3084, 62, 3672, 62, 1983, 33411, 1602, 21592, 62, 67, 13173, 796, 366, 1...
I want the sum of stories for guadalajara done after 2007
SELECT SUM(stories) FROM table_name_87 WHERE city = "guadalajara" AND completed > 2007
[ 40, 765, 262, 2160, 286, 3923, 329, 915, 31682, 1228, 3301, 1760, 706, 4343, 46506, 35683, 7, 50164, 8, 16034, 3084, 62, 3672, 62, 5774, 33411, 1748, 796, 366, 5162, 31682, 1228, 3301, 1, 5357, 5668, 1875, 4343 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2160, 286, 3923, 329, 915, 31682, 1228, 3301, 1760, 706, 4343, 46506, 35683, 7, 50164, 8, 16034, 3084, 62, 3672, 62, 5774, 33411, 1748, 796, 366, 5162, 31682, 1228, 3301, 1, 5357, 5668, 1875, 4343 ]
What year was there a lotus 25 Chassis?
SELECT year FROM table_name_47 WHERE chassis = "lotus 25"
[ 2061, 614, 373, 612, 257, 1256, 385, 1679, 609, 20297, 30, 46506, 614, 16034, 3084, 62, 3672, 62, 2857, 33411, 24587, 796, 366, 26487, 385, 1679, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 614, 373, 612, 257, 1256, 385, 1679, 609, 20297, 30, 46506, 614, 16034, 3084, 62, 3672, 62, 2857, 33411, 24587, 796, 366, 26487, 385, 1679, 1 ]
What is the date of the match with arnaud di pasquale as the opponent in the final?
SELECT date FROM table_name_69 WHERE opponent_in_the_final = "arnaud di pasquale"
[ 2061, 318, 262, 3128, 286, 262, 2872, 351, 610, 2616, 463, 2566, 38836, 421, 1000, 355, 262, 6125, 287, 262, 2457, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 3388, 33411, 6125, 62, 259, 62, 1169, 62, 20311, 796, 366, 1501, 3885, 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 ]
[ 2061, 318, 262, 3128, 286, 262, 2872, 351, 610, 2616, 463, 2566, 38836, 421, 1000, 355, 262, 6125, 287, 262, 2457, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 3388, 33411, 6125, 62, 259, 62, 1169, 62, 20311, 796, 366, 1501, 3885, 25...
What is the total number of stations with a line that is u 6?
SELECT SUM("Stations") FROM table_10679 WHERE "Line" = 'u 6'
[ 2061, 318, 262, 2472, 1271, 286, 8985, 351, 257, 1627, 326, 318, 334, 718, 30, 46506, 35683, 7203, 1273, 602, 4943, 16034, 3084, 62, 940, 37601, 33411, 366, 13949, 1, 796, 705, 84, 718, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2472, 1271, 286, 8985, 351, 257, 1627, 326, 318, 334, 718, 30, 46506, 35683, 7203, 1273, 602, 4943, 16034, 3084, 62, 940, 37601, 33411, 366, 13949, 1, 796, 705, 84, 718, 6 ]
A bar chart showing the number of last name for all female students Their sex is F, and sort in asc by the y-axis please.
SELECT LName, COUNT(LName) FROM Student WHERE Sex = 'F' GROUP BY LName ORDER BY COUNT(LName)
[ 32, 2318, 8262, 4478, 262, 1271, 286, 938, 1438, 329, 477, 4048, 2444, 5334, 1714, 318, 376, 11, 290, 3297, 287, 10570, 416, 262, 331, 12, 22704, 3387, 13, 46506, 406, 5376, 11, 327, 28270, 7, 43, 5376, 8, 16034, 13613, 33411, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4478, 262, 1271, 286, 938, 1438, 329, 477, 4048, 2444, 5334, 1714, 318, 376, 11, 290, 3297, 287, 10570, 416, 262, 331, 12, 22704, 3387, 13, 46506, 406, 5376, 11, 327, 28270, 7, 43, 5376, 8, 16034, 13613, 33411, 14419...
how many hours has it been since the first time during their current hospital visit that patient 016-38131 was diagnosed with pain - moderate?
SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', diagnosis.diagnosistime)) FROM diagnosis WHERE diagnosis.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '016-38131...
[ 4919, 867, 2250, 468, 340, 587, 1201, 262, 717, 640, 1141, 511, 1459, 4436, 3187, 326, 5827, 5534, 21, 12, 2548, 22042, 373, 14641, 351, 2356, 532, 10768, 30, 46506, 1987, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 2250, 468, 340, 587, 1201, 262, 717, 640, 1141, 511, 1459, 4436, 3187, 326, 5827, 5534, 21, 12, 2548, 22042, 373, 14641, 351, 2356, 532, 10768, 30, 46506, 1987, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237,...
Find the names and number of works of the three artists who have produced the most songs.
SELECT T1.artist_name, COUNT(*) FROM artist AS T1 JOIN song AS T2 ON T1.artist_name = T2.artist_name GROUP BY T2.artist_name ORDER BY COUNT(*) DESC LIMIT 3
[ 16742, 262, 3891, 290, 1271, 286, 2499, 286, 262, 1115, 7912, 508, 423, 4635, 262, 749, 7259, 13, 46506, 309, 16, 13, 49016, 62, 3672, 11, 327, 28270, 7, 28104, 16034, 6802, 7054, 309, 16, 32357, 1268, 3496, 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, 3891, 290, 1271, 286, 2499, 286, 262, 1115, 7912, 508, 423, 4635, 262, 749, 7259, 13, 46506, 309, 16, 13, 49016, 62, 3672, 11, 327, 28270, 7, 28104, 16034, 6802, 7054, 309, 16, 32357, 1268, 3496, 7054, 309, 17, 6177, 309...
What is the smallest scored with a result of 46-18?
SELECT MIN("Scored") FROM table_45741 WHERE "Result" = '46-18'
[ 2061, 318, 262, 18197, 7781, 351, 257, 1255, 286, 6337, 12, 1507, 30, 46506, 20625, 7203, 3351, 1850, 4943, 16034, 3084, 62, 33032, 3901, 33411, 366, 23004, 1, 796, 705, 3510, 12, 1507, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 18197, 7781, 351, 257, 1255, 286, 6337, 12, 1507, 30, 46506, 20625, 7203, 3351, 1850, 4943, 16034, 3084, 62, 33032, 3901, 33411, 366, 23004, 1, 796, 705, 3510, 12, 1507, 6 ]
Show all game ids and the number of hours played. Visualize by scatter chart.
SELECT GameID, SUM(Hours_Played) FROM Plays_Games GROUP BY GameID
[ 15307, 477, 983, 220, 2340, 290, 262, 1271, 286, 2250, 2826, 13, 15612, 1096, 416, 41058, 8262, 13, 46506, 3776, 2389, 11, 35683, 7, 39792, 62, 11002, 276, 8, 16034, 38116, 62, 24474, 44441, 11050, 3776, 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 ]
[ 15307, 477, 983, 220, 2340, 290, 262, 1271, 286, 2250, 2826, 13, 15612, 1096, 416, 41058, 8262, 13, 46506, 3776, 2389, 11, 35683, 7, 39792, 62, 11002, 276, 8, 16034, 38116, 62, 24474, 44441, 11050, 3776, 2389 ]
How many years have a Name of tour quartier des spectacles, and Floors smaller than 31?
SELECT COUNT(year) FROM table_name_51 WHERE name = "tour quartier des spectacles" AND floors < 31
[ 2437, 867, 812, 423, 257, 6530, 286, 4205, 28176, 959, 748, 5444, 9928, 11, 290, 29075, 669, 4833, 621, 3261, 30, 46506, 327, 28270, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 4349, 33411, 1438, 796, 366, 83, 454, 28176, 959, 748, 5444,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 812, 423, 257, 6530, 286, 4205, 28176, 959, 748, 5444, 9928, 11, 290, 29075, 669, 4833, 621, 3261, 30, 46506, 327, 28270, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 4349, 33411, 1438, 796, 366, 83, 454, 28176, 959, 748, 5444,...
how many hours have elapsed since the last time patient 15945 got a asparate aminotransferase (ast) lab test on this hospital encounter?
SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', labevents.charttime)) FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'asparate aminotransferase (ast)') AND labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_i...
[ 4919, 867, 2250, 423, 42118, 1201, 262, 938, 640, 5827, 26422, 2231, 1392, 257, 355, 1845, 378, 716, 259, 313, 26084, 2232, 589, 357, 459, 8, 2248, 1332, 319, 428, 4436, 8791, 30, 46506, 1987, 1635, 357, 18601, 9792, 12789, 10786, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 2250, 423, 42118, 1201, 262, 938, 640, 5827, 26422, 2231, 1392, 257, 355, 1845, 378, 716, 259, 313, 26084, 2232, 589, 357, 459, 8, 2248, 1332, 319, 428, 4436, 8791, 30, 46506, 1987, 1635, 357, 18601, 9792, 12789, 10786, 4, ...
ricky stenhouse , jr. and justin allgaier both won at which track this season ?
SELECT "track" FROM table_204_630 WHERE "winner" = 'ricky stenhouse, jr' INTERSECT SELECT "track" FROM table_204_630 WHERE "winner" = 'justin allgaier'
[ 5557, 88, 45219, 4803, 837, 474, 81, 13, 290, 655, 259, 477, 4908, 959, 1111, 1839, 379, 543, 2610, 428, 1622, 5633, 46506, 366, 11659, 1, 16034, 3084, 62, 18638, 62, 30005, 33411, 366, 39791, 1, 796, 705, 5557, 88, 45219, 4803, 11,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 5557, 88, 45219, 4803, 837, 474, 81, 13, 290, 655, 259, 477, 4908, 959, 1111, 1839, 379, 543, 2610, 428, 1622, 5633, 46506, 366, 11659, 1, 16034, 3084, 62, 18638, 62, 30005, 33411, 366, 39791, 1, 796, 705, 5557, 88, 45219, 4803, 11,...
What leading man earlier than 1932 was directed by archie mayo?
SELECT leading_man FROM table_name_1 WHERE year < 1932 AND director = "archie mayo"
[ 2061, 3756, 582, 2961, 621, 32471, 373, 7924, 416, 610, 3043, 743, 78, 30, 46506, 3756, 62, 805, 16034, 3084, 62, 3672, 62, 16, 33411, 614, 1279, 32471, 5357, 3437, 796, 366, 998, 494, 743, 78, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 3756, 582, 2961, 621, 32471, 373, 7924, 416, 610, 3043, 743, 78, 30, 46506, 3756, 62, 805, 16034, 3084, 62, 3672, 62, 16, 33411, 614, 1279, 32471, 5357, 3437, 796, 366, 998, 494, 743, 78, 1 ]
Which Jersey # has a Height (cm) of 183, a Name of paul stastny, and a Weight (kg) smaller than 93?
SELECT COUNT(jersey__number) FROM table_name_98 WHERE height__cm_ = 183 AND name = "paul stastny" AND weight__kg_ < 93
[ 13828, 8221, 1303, 468, 257, 27280, 357, 11215, 8, 286, 28551, 11, 257, 6530, 286, 279, 2518, 336, 459, 3281, 11, 290, 257, 14331, 357, 10025, 8, 4833, 621, 10261, 30, 46506, 327, 28270, 7, 44009, 4397, 834, 17618, 8, 16034, 3084, 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, 1, 1, 1, 1, 1...
[ 13828, 8221, 1303, 468, 257, 27280, 357, 11215, 8, 286, 28551, 11, 257, 6530, 286, 279, 2518, 336, 459, 3281, 11, 290, 257, 14331, 357, 10025, 8, 4833, 621, 10261, 30, 46506, 327, 28270, 7, 44009, 4397, 834, 17618, 8, 16034, 3084, 6...
how many hours has passed since the last time patient 025-44842 stayed in ward 925 on their current hospital visit?
SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', patient.unitadmittime)) FROM patient WHERE patient.uniquepid = '025-44842' AND patient.wardid = 925 AND patient.hospitaldischargetime IS NULL ORDER BY patient.unitadmittime DESC LIMIT 1
[ 4919, 867, 2250, 468, 3804, 1201, 262, 938, 640, 5827, 657, 1495, 12, 31115, 3682, 9658, 287, 15305, 860, 1495, 319, 511, 1459, 4436, 3187, 30, 46506, 1987, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694, 289...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 2250, 468, 3804, 1201, 262, 938, 640, 5827, 657, 1495, 12, 31115, 3682, 9658, 287, 15305, 860, 1495, 319, 511, 1459, 4436, 3187, 30, 46506, 1987, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694, 289...
What is the grid value which has Time/Retired value of accident?
SELECT grid FROM table_name_57 WHERE time_retired = "accident"
[ 2061, 318, 262, 10706, 1988, 543, 468, 3862, 14, 9781, 1202, 1988, 286, 5778, 30, 46506, 10706, 16034, 3084, 62, 3672, 62, 3553, 33411, 640, 62, 1186, 1202, 796, 366, 4134, 738, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10706, 1988, 543, 468, 3862, 14, 9781, 1202, 1988, 286, 5778, 30, 46506, 10706, 16034, 3084, 62, 3672, 62, 3553, 33411, 640, 62, 1186, 1202, 796, 366, 4134, 738, 1 ]
Which country had a contestant that was 1.76 meters tall?
SELECT "Represent" FROM table_26124 WHERE "Height (mtr.)" = '1.76'
[ 13828, 1499, 550, 257, 44047, 326, 373, 352, 13, 4304, 10700, 7331, 30, 46506, 366, 40171, 1, 16034, 3084, 62, 2075, 17464, 33411, 366, 23106, 357, 76, 2213, 2014, 1, 796, 705, 16, 13, 4304, 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 ]
[ 13828, 1499, 550, 257, 44047, 326, 373, 352, 13, 4304, 10700, 7331, 30, 46506, 366, 40171, 1, 16034, 3084, 62, 2075, 17464, 33411, 366, 23106, 357, 76, 2213, 2014, 1, 796, 705, 16, 13, 4304, 6 ]
what were the top five most common medicines that patients prescribed during the same month after having been prescribed with tobramycin fortified ophth. soln. since 5 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 = 'tobramycin fortified ophth. soln.' AND DATETIME(prescriptions.sta...
[ 10919, 547, 262, 1353, 1936, 749, 2219, 23533, 326, 3871, 14798, 1141, 262, 976, 1227, 706, 1719, 587, 14798, 351, 10773, 859, 88, 17879, 40479, 267, 746, 400, 13, 1540, 77, 13, 1201, 642, 812, 2084, 30, 46506, 256, 18, 13, 30349, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 547, 262, 1353, 1936, 749, 2219, 23533, 326, 3871, 14798, 1141, 262, 976, 1227, 706, 1719, 587, 14798, 351, 10773, 859, 88, 17879, 40479, 267, 746, 400, 13, 1540, 77, 13, 1201, 642, 812, 2084, 30, 46506, 256, 18, 13, 30349, 1...
Where is the location attendance when the date is January 9?
SELECT "Location Attendance" FROM table_30754 WHERE "Date" = 'January 9'
[ 8496, 318, 262, 4067, 14858, 618, 262, 3128, 318, 3269, 860, 30, 46506, 366, 14749, 46502, 590, 1, 16034, 3084, 62, 1270, 41874, 33411, 366, 10430, 1, 796, 705, 21339, 860, 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 ]
[ 8496, 318, 262, 4067, 14858, 618, 262, 3128, 318, 3269, 860, 30, 46506, 366, 14749, 46502, 590, 1, 16034, 3084, 62, 1270, 41874, 33411, 366, 10430, 1, 796, 705, 21339, 860, 6 ]
Which name has a pressure of 985hpa (29.09inhg)?
SELECT name FROM table_name_56 WHERE pressure = "985hpa (29.09inhg)"
[ 13828, 1438, 468, 257, 3833, 286, 860, 5332, 71, 8957, 357, 1959, 13, 2931, 259, 71, 70, 19427, 46506, 1438, 16034, 3084, 62, 3672, 62, 3980, 33411, 3833, 796, 366, 42250, 71, 8957, 357, 1959, 13, 2931, 259, 71, 70, 16725 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 1438, 468, 257, 3833, 286, 860, 5332, 71, 8957, 357, 1959, 13, 2931, 259, 71, 70, 19427, 46506, 1438, 16034, 3084, 62, 3672, 62, 3980, 33411, 3833, 796, 366, 42250, 71, 8957, 357, 1959, 13, 2931, 259, 71, 70, 16725 ]
What is the sum of losses that have points of 11 and more than 1 draw?
SELECT SUM(lost) FROM table_name_86 WHERE points = 11 AND drawn > 1
[ 2061, 318, 262, 2160, 286, 9089, 326, 423, 2173, 286, 1367, 290, 517, 621, 352, 3197, 30, 46506, 35683, 7, 33224, 8, 16034, 3084, 62, 3672, 62, 4521, 33411, 2173, 796, 1367, 5357, 7428, 1875, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2160, 286, 9089, 326, 423, 2173, 286, 1367, 290, 517, 621, 352, 3197, 30, 46506, 35683, 7, 33224, 8, 16034, 3084, 62, 3672, 62, 4521, 33411, 2173, 796, 1367, 5357, 7428, 1875, 352 ]
Can you tell me the Position that has the CFL Team of toronto?
SELECT "Position" FROM table_8951 WHERE "CFL Team" = 'toronto'
[ 6090, 345, 1560, 502, 262, 23158, 326, 468, 262, 45239, 4816, 286, 7332, 5957, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 23, 50119, 33411, 366, 34, 3697, 4816, 1, 796, 705, 13165, 5957, 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 ]
[ 6090, 345, 1560, 502, 262, 23158, 326, 468, 262, 45239, 4816, 286, 7332, 5957, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 23, 50119, 33411, 366, 34, 3697, 4816, 1, 796, 705, 13165, 5957, 6 ]
Average title length by score.
SELECT Score / 10, AVG(LENGTH(Title)) AS "average_title_length" FROM Posts WHERE PostTypeId = 1 GROUP BY Score / 10 ORDER BY Score / 10 DESC
[ 26287, 3670, 4129, 416, 4776, 13, 46506, 15178, 1220, 838, 11, 35224, 7, 43, 49494, 7, 19160, 4008, 7054, 366, 23913, 62, 7839, 62, 13664, 1, 16034, 12043, 33411, 2947, 6030, 7390, 796, 352, 44441, 11050, 15178, 1220, 838, 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 ]
[ 26287, 3670, 4129, 416, 4776, 13, 46506, 15178, 1220, 838, 11, 35224, 7, 43, 49494, 7, 19160, 4008, 7054, 366, 23913, 62, 7839, 62, 13664, 1, 16034, 12043, 33411, 2947, 6030, 7390, 796, 352, 44441, 11050, 15178, 1220, 838, 38678, 11050,...
What is the Match score when the FootyTAB winner was norths?
SELECT "Match score" FROM table_7421 WHERE "FootyTAB winner" = 'norths'
[ 2061, 318, 262, 13225, 4776, 618, 262, 7870, 88, 5603, 33, 8464, 373, 5093, 82, 30, 46506, 366, 23850, 4776, 1, 16034, 3084, 62, 4524, 2481, 33411, 366, 17574, 88, 5603, 33, 8464, 1, 796, 705, 43588, 82, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 13225, 4776, 618, 262, 7870, 88, 5603, 33, 8464, 373, 5093, 82, 30, 46506, 366, 23850, 4776, 1, 16034, 3084, 62, 4524, 2481, 33411, 366, 17574, 88, 5603, 33, 8464, 1, 796, 705, 43588, 82, 6 ]
what driver has a team of officine alfieri maserati and belongs to the class of non-championship f2 and has a position of 2, as well as a date of 9/1952?
SELECT "Driver" FROM table_74543 WHERE "Team" = 'officine alfieri maserati' AND "Class" = 'non-championship f2' AND "Position" = '2' AND "Date" = '9/1952'
[ 10919, 4639, 468, 257, 1074, 286, 1163, 500, 435, 69, 29864, 285, 6005, 7246, 290, 14448, 284, 262, 1398, 286, 1729, 12, 354, 4350, 1056, 277, 17, 290, 468, 257, 2292, 286, 362, 11, 355, 880, 355, 257, 3128, 286, 860, 14, 1129, 43...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4639, 468, 257, 1074, 286, 1163, 500, 435, 69, 29864, 285, 6005, 7246, 290, 14448, 284, 262, 1398, 286, 1729, 12, 354, 4350, 1056, 277, 17, 290, 468, 257, 2292, 286, 362, 11, 355, 880, 355, 257, 3128, 286, 860, 14, 1129, 43...
A line chart for what are the number of the enrollment dates of all the tests that have result 'Pass'?, and rank from low to high by the x axis.
SELECT date_of_enrolment, COUNT(date_of_enrolment) FROM Student_Course_Enrolment AS T1 JOIN Student_Tests_Taken AS T2 ON T1.registration_id = T2.registration_id WHERE T2.test_result = "Pass" GROUP BY date_of_enrolment ORDER BY date_of_enrolment
[ 32, 1627, 8262, 329, 644, 389, 262, 1271, 286, 262, 20753, 9667, 286, 477, 262, 5254, 326, 423, 1255, 705, 14478, 6, 21747, 290, 4279, 422, 1877, 284, 1029, 416, 262, 2124, 16488, 13, 46506, 3128, 62, 1659, 62, 268, 3225, 434, 11, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 32, 1627, 8262, 329, 644, 389, 262, 1271, 286, 262, 20753, 9667, 286, 477, 262, 5254, 326, 423, 1255, 705, 14478, 6, 21747, 290, 4279, 422, 1877, 284, 1029, 416, 262, 2124, 16488, 13, 46506, 3128, 62, 1659, 62, 268, 3225, 434, 11, ...
what is the circuit when the date is 4 june?
SELECT "Circuit" FROM table_45417 WHERE "Date" = '4 june'
[ 10919, 318, 262, 10349, 618, 262, 3128, 318, 604, 474, 1726, 30, 46506, 366, 31560, 5013, 1, 16034, 3084, 62, 34229, 1558, 33411, 366, 10430, 1, 796, 705, 19, 474, 1726, 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, 318, 262, 10349, 618, 262, 3128, 318, 604, 474, 1726, 30, 46506, 366, 31560, 5013, 1, 16034, 3084, 62, 34229, 1558, 33411, 366, 10430, 1, 796, 705, 19, 474, 1726, 6 ]
what's the location with tournament value of quicksilver classic
SELECT "Location" FROM table_16937 WHERE "Tournament" = 'Quicksilver Classic'
[ 10919, 338, 262, 4067, 351, 7756, 1988, 286, 627, 3378, 46978, 6833, 46506, 366, 14749, 1, 16034, 3084, 62, 22172, 2718, 33411, 366, 51, 5138, 1, 796, 705, 4507, 3378, 46978, 13449, 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 ]
[ 10919, 338, 262, 4067, 351, 7756, 1988, 286, 627, 3378, 46978, 6833, 46506, 366, 14749, 1, 16034, 3084, 62, 22172, 2718, 33411, 366, 51, 5138, 1, 796, 705, 4507, 3378, 46978, 13449, 6 ]
Name the result for november 14, 1965
SELECT "Result" FROM table_1154 WHERE "Date" = 'November 14, 1965'
[ 5376, 262, 1255, 329, 645, 303, 1916, 1478, 11, 17672, 46506, 366, 23004, 1, 16034, 3084, 62, 1157, 4051, 33411, 366, 10430, 1, 796, 705, 21159, 1478, 11, 17672, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 1255, 329, 645, 303, 1916, 1478, 11, 17672, 46506, 366, 23004, 1, 16034, 3084, 62, 1157, 4051, 33411, 366, 10430, 1, 796, 705, 21159, 1478, 11, 17672, 6 ]
What is the population density in the Brighton area?
SELECT "Density" FROM table_910 WHERE "Principal town" = 'Brighton'
[ 2061, 318, 262, 3265, 12109, 287, 262, 33193, 1989, 30, 46506, 366, 35, 6377, 1, 16034, 3084, 62, 43234, 33411, 366, 42904, 8521, 3240, 1, 796, 705, 41267, 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 ]
[ 2061, 318, 262, 3265, 12109, 287, 262, 33193, 1989, 30, 46506, 366, 35, 6377, 1, 16034, 3084, 62, 43234, 33411, 366, 42904, 8521, 3240, 1, 796, 705, 41267, 261, 6 ]
Would RCIDIV 351 count towards ULCS ?
SELECT COUNT(*) > 0 FROM course INNER JOIN program_course ON program_course.course_id = course.course_id WHERE course.department = 'RCIDIV' AND course.number = 351 AND program_course.category LIKE '%ULCS%'
[ 17353, 13987, 2389, 3824, 44417, 954, 3371, 471, 29814, 5633, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 1781, 3268, 21479, 32357, 1268, 1430, 62, 17319, 6177, 1430, 62, 17319, 13, 17319, 62, 312, 796, 1781, 13, 17319, 62, 312, 3341...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 17353, 13987, 2389, 3824, 44417, 954, 3371, 471, 29814, 5633, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 1781, 3268, 21479, 32357, 1268, 1430, 62, 17319, 6177, 1430, 62, 17319, 13, 17319, 62, 312, 796, 1781, 13, 17319, 62, 312, 3341...
If collingwood was the Home team, what Date did they play?
SELECT "Date" FROM table_58082 WHERE "Home team" = 'collingwood'
[ 1532, 2927, 278, 3822, 373, 262, 5995, 1074, 11, 644, 7536, 750, 484, 711, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 39322, 6469, 33411, 366, 16060, 1074, 1, 796, 705, 26000, 278, 3822, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1532, 2927, 278, 3822, 373, 262, 5995, 1074, 11, 644, 7536, 750, 484, 711, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 39322, 6469, 33411, 366, 16060, 1074, 1, 796, 705, 26000, 278, 3822, 6 ]
What round was it when the method was TKO (would not stand up from Butt Scoot)?
SELECT AVG(round) FROM table_name_89 WHERE method = "tko (would not stand up from butt scoot)"
[ 2061, 2835, 373, 340, 618, 262, 2446, 373, 309, 22328, 357, 19188, 407, 1302, 510, 422, 36041, 1446, 1025, 19427, 46506, 35224, 7, 744, 8, 16034, 3084, 62, 3672, 62, 4531, 33411, 2446, 796, 366, 83, 7204, 357, 19188, 407, 1302, 510, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2835, 373, 340, 618, 262, 2446, 373, 309, 22328, 357, 19188, 407, 1302, 510, 422, 36041, 1446, 1025, 19427, 46506, 35224, 7, 744, 8, 16034, 3084, 62, 3672, 62, 4531, 33411, 2446, 796, 366, 83, 7204, 357, 19188, 407, 1302, 510, ...
what was the total number of goals in 1945/1946 ?
SELECT SUM("goals") FROM table_203_692
[ 10919, 373, 262, 2472, 1271, 286, 4661, 287, 15761, 14, 1129, 3510, 5633, 46506, 35683, 7203, 2188, 874, 4943, 16034, 3084, 62, 22416, 62, 46589 ]
[ 1, 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, 2472, 1271, 286, 4661, 287, 15761, 14, 1129, 3510, 5633, 46506, 35683, 7203, 2188, 874, 4943, 16034, 3084, 62, 22416, 62, 46589 ]
What alumni were in rw: cancun as their original season?
SELECT alumni FROM table_26419467_1 WHERE original_season = "RW: Cancun"
[ 2061, 31333, 547, 287, 374, 86, 25, 460, 66, 403, 355, 511, 2656, 1622, 30, 46506, 31333, 16034, 3084, 62, 18897, 22913, 3134, 62, 16, 33411, 2656, 62, 6230, 796, 366, 46747, 25, 327, 1192, 403, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 31333, 547, 287, 374, 86, 25, 460, 66, 403, 355, 511, 2656, 1622, 30, 46506, 31333, 16034, 3084, 62, 18897, 22913, 3134, 62, 16, 33411, 2656, 62, 6230, 796, 366, 46747, 25, 327, 1192, 403, 1 ]
what is the difference between patient 006-172277's total number of inputs and outputs during the previous day?
SELECT (SELECT SUM(intakeoutput.cellvaluenumeric) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-172277')) AND intakeoutput.cellpath ...
[ 10919, 318, 262, 3580, 1022, 5827, 3571, 21, 12, 1558, 1828, 3324, 338, 2472, 1271, 286, 17311, 290, 23862, 1141, 262, 2180, 1110, 30, 46506, 357, 46506, 35683, 7, 600, 539, 22915, 13, 3846, 2100, 84, 268, 39223, 8, 16034, 10337, 2291...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3580, 1022, 5827, 3571, 21, 12, 1558, 1828, 3324, 338, 2472, 1271, 286, 17311, 290, 23862, 1141, 262, 2180, 1110, 30, 46506, 357, 46506, 35683, 7, 600, 539, 22915, 13, 3846, 2100, 84, 268, 39223, 8, 16034, 10337, 2291...