instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
What is the name of the player with the High points when there was a Record of 31 48?
SELECT "High points" FROM table_41279 WHERE "Record" = '31–48'
[ 2061, 318, 262, 1438, 286, 262, 2137, 351, 262, 3334, 2173, 618, 612, 373, 257, 13266, 286, 3261, 4764, 30, 46506, 366, 11922, 2173, 1, 16034, 3084, 62, 39226, 3720, 33411, 366, 23739, 1, 796, 705, 3132, 1906, 2780, 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 ]
[ 2061, 318, 262, 1438, 286, 262, 2137, 351, 262, 3334, 2173, 618, 612, 373, 257, 13266, 286, 3261, 4764, 30, 46506, 366, 11922, 2173, 1, 16034, 3084, 62, 39226, 3720, 33411, 366, 23739, 1, 796, 705, 3132, 1906, 2780, 6 ]
What did the home team score against Fitzroy?
SELECT home_team AS score FROM table_name_61 WHERE away_team = "fitzroy"
[ 2061, 750, 262, 1363, 1074, 4776, 1028, 16703, 3287, 30, 46506, 1363, 62, 15097, 7054, 4776, 16034, 3084, 62, 3672, 62, 5333, 33411, 1497, 62, 15097, 796, 366, 69, 4224, 3287, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 750, 262, 1363, 1074, 4776, 1028, 16703, 3287, 30, 46506, 1363, 62, 15097, 7054, 4776, 16034, 3084, 62, 3672, 62, 5333, 33411, 1497, 62, 15097, 796, 366, 69, 4224, 3287, 1 ]
What is the aveage Egypt Cup value for players with 0 CAF Champions League goals, 6 Egyptian Premier League goals, and totals under 6?
SELECT AVG("Egypt Cup") FROM table_66451 WHERE "CAF Champions League" = '0' AND "Egyptian Premier League" = '6' AND "Total" < '6'
[ 2061, 318, 262, 257, 303, 496, 6365, 5454, 1988, 329, 1938, 351, 657, 7257, 37, 6662, 4041, 4661, 11, 718, 14075, 9952, 4041, 4661, 11, 290, 26310, 739, 718, 30, 46506, 35224, 7203, 39299, 5454, 4943, 16034, 3084, 62, 2791, 36330, 334...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 257, 303, 496, 6365, 5454, 1988, 329, 1938, 351, 657, 7257, 37, 6662, 4041, 4661, 11, 718, 14075, 9952, 4041, 4661, 11, 290, 26310, 739, 718, 30, 46506, 35224, 7203, 39299, 5454, 4943, 16034, 3084, 62, 2791, 36330, 334...
Show different builders of railways, along with the corresponding number of railways using each builder by a bar chart, show in desc by the Builder.
SELECT Builder, COUNT(*) FROM railway GROUP BY Builder ORDER BY Builder DESC
[ 15307, 1180, 31606, 286, 45247, 11, 1863, 351, 262, 11188, 1271, 286, 45247, 1262, 1123, 27098, 416, 257, 2318, 8262, 11, 905, 287, 1715, 416, 262, 35869, 13, 46506, 35869, 11, 327, 28270, 7, 28104, 16034, 20515, 44441, 11050, 35869, 38...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 31606, 286, 45247, 11, 1863, 351, 262, 11188, 1271, 286, 45247, 1262, 1123, 27098, 416, 257, 2318, 8262, 11, 905, 287, 1715, 416, 262, 35869, 13, 46506, 35869, 11, 327, 28270, 7, 28104, 16034, 20515, 44441, 11050, 35869, 38...
Which countries have a 5th runner-up ranking is 2 and the 3rd runner-up ranking is 0
SELECT "Total" FROM table_72636 WHERE "5th Runner-up" = '2' AND "3rd Runner-up" = '0'
[ 13828, 2678, 423, 257, 642, 400, 17490, 12, 929, 12759, 318, 362, 290, 262, 513, 4372, 17490, 12, 929, 12759, 318, 657, 46506, 366, 14957, 1, 16034, 3084, 62, 22, 2075, 2623, 33411, 366, 20, 400, 21529, 12, 929, 1, 796, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 2678, 423, 257, 642, 400, 17490, 12, 929, 12759, 318, 362, 290, 262, 513, 4372, 17490, 12, 929, 12759, 318, 657, 46506, 366, 14957, 1, 16034, 3084, 62, 22, 2075, 2623, 33411, 366, 20, 400, 21529, 12, 929, 1, 796, 705, 17, 6...
What are all the approved treatments for the target CD30?
SELECT "Approved treatment(s)" FROM table_20926 WHERE "Target" = 'CD30'
[ 2061, 389, 477, 262, 6325, 13820, 329, 262, 2496, 6458, 1270, 30, 46506, 366, 4677, 305, 1079, 3513, 7, 82, 16725, 16034, 3084, 62, 22567, 2075, 33411, 366, 21745, 1, 796, 705, 8610, 1270, 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, 389, 477, 262, 6325, 13820, 329, 262, 2496, 6458, 1270, 30, 46506, 366, 4677, 305, 1079, 3513, 7, 82, 16725, 16034, 3084, 62, 22567, 2075, 33411, 366, 21745, 1, 796, 705, 8610, 1270, 6 ]
Where is shabazz muhammad from?
SELECT "Hometown" FROM table_57176 WHERE "Player" = 'shabazz muhammad'
[ 8496, 318, 427, 397, 8101, 38779, 14875, 422, 30, 46506, 366, 39, 19191, 1, 16034, 3084, 62, 3553, 24096, 33411, 366, 14140, 1, 796, 705, 1477, 397, 8101, 38779, 14875, 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 ]
[ 8496, 318, 427, 397, 8101, 38779, 14875, 422, 30, 46506, 366, 39, 19191, 1, 16034, 3084, 62, 3553, 24096, 33411, 366, 14140, 1, 796, 705, 1477, 397, 8101, 38779, 14875, 6 ]
give me the number of patients whose days of hospital stay is greater than 8 and drug name is magnesium oxide?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.days_stay > "8" AND prescriptions.drug = "Magnesium Oxide"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 1528, 286, 4436, 2652, 318, 3744, 621, 807, 290, 2563, 1438, 318, 33525, 30788, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 26535, 502, 262, 1271, 286, 3871, 3025, 1528, 286, 4436, 2652, 318, 3744, 621, 807, 290, 2563, 1438, 318, 33525, 30788, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 12...
For those records from the products and each product's manufacturer, a bar chart shows the distribution of name and revenue , and group by attribute name, could you show from high to low by the X?
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 T1.Name DESC
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 257, 2318, 8262, 2523, 262, 6082, 286, 1438, 290, 6426, 837, 290, 1448, 416, 11688, 1438, 11, 714, 345, 905, 422, 1029, 284, 1877, 416, 262, 1395, 30, 46506, 309, 16,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 257, 2318, 8262, 2523, 262, 6082, 286, 1438, 290, 6426, 837, 290, 1448, 416, 11688, 1438, 11, 714, 345, 905, 422, 1029, 284, 1877, 416, 262, 1395, 30, 46506, 309, 16,...
Which Earnings ($) is the lowest one that has a Rank smaller than 1?
SELECT MIN("Earnings ( $ )") FROM table_39262 WHERE "Rank" < '1'
[ 13828, 22535, 654, 45491, 318, 262, 9016, 530, 326, 468, 257, 10916, 4833, 621, 352, 30, 46506, 20625, 7203, 49725, 654, 357, 720, 1267, 4943, 16034, 3084, 62, 2670, 29119, 33411, 366, 27520, 1, 1279, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 22535, 654, 45491, 318, 262, 9016, 530, 326, 468, 257, 10916, 4833, 621, 352, 30, 46506, 20625, 7203, 49725, 654, 357, 720, 1267, 4943, 16034, 3084, 62, 2670, 29119, 33411, 366, 27520, 1, 1279, 705, 16, 6 ]
What is the Sr. number of Banikhet Dalhouse Khajiar?
SELECT MAX(sr_no) FROM table_26036389_1 WHERE name_of_road = "Banikhet Dalhouse Khajiar"
[ 2061, 318, 262, 21714, 13, 1271, 286, 10274, 1134, 3202, 12348, 4803, 5311, 1228, 12571, 30, 46506, 25882, 7, 27891, 62, 3919, 8, 16034, 3084, 62, 21719, 2623, 29769, 62, 16, 33411, 1438, 62, 1659, 62, 6344, 796, 366, 30457, 1134, 320...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 21714, 13, 1271, 286, 10274, 1134, 3202, 12348, 4803, 5311, 1228, 12571, 30, 46506, 25882, 7, 27891, 62, 3919, 8, 16034, 3084, 62, 21719, 2623, 29769, 62, 16, 33411, 1438, 62, 1659, 62, 6344, 796, 366, 30457, 1134, 320...
What is the highest choice?
SELECT MAX("Choice") FROM table_16079
[ 2061, 318, 262, 4511, 3572, 30, 46506, 25882, 7203, 46770, 4943, 16034, 3084, 62, 1433, 2998, 24 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4511, 3572, 30, 46506, 25882, 7203, 46770, 4943, 16034, 3084, 62, 1433, 2998, 24 ]
How many Games have Years at club of 1971 1974, and a Debut year larger than 1971?
SELECT SUM("Games") FROM table_66241 WHERE "Years at club" = '1971–1974' AND "Debut year" > '1971'
[ 2437, 867, 5776, 423, 13212, 379, 3430, 286, 16382, 16489, 11, 290, 257, 1024, 4360, 614, 4025, 621, 16382, 30, 46506, 35683, 7203, 24474, 4943, 16034, 3084, 62, 2791, 28872, 33411, 366, 40630, 379, 3430, 1, 796, 705, 41208, 1906, 40828...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5776, 423, 13212, 379, 3430, 286, 16382, 16489, 11, 290, 257, 1024, 4360, 614, 4025, 621, 16382, 30, 46506, 35683, 7203, 24474, 4943, 16034, 3084, 62, 2791, 28872, 33411, 366, 40630, 379, 3430, 1, 796, 705, 41208, 1906, 40828...
How many students live in each city, I want to show total number from high to low order.
SELECT city_code, COUNT(*) FROM Student GROUP BY city_code ORDER BY COUNT(*) DESC
[ 2437, 867, 2444, 2107, 287, 1123, 1748, 11, 314, 765, 284, 905, 2472, 1271, 422, 1029, 284, 1877, 1502, 13, 46506, 1748, 62, 8189, 11, 327, 28270, 7, 28104, 16034, 13613, 44441, 11050, 1748, 62, 8189, 38678, 11050, 327, 28270, 7, 2810...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2444, 2107, 287, 1123, 1748, 11, 314, 765, 284, 905, 2472, 1271, 422, 1029, 284, 1877, 1502, 13, 46506, 1748, 62, 8189, 11, 327, 28270, 7, 28104, 16034, 13613, 44441, 11050, 1748, 62, 8189, 38678, 11050, 327, 28270, 7, 2810...
Visualize a bar chart about the distribution of All_Neutral and ACC_Percent , and sort names from high to low order.
SELECT All_Neutral, ACC_Percent FROM basketball_match ORDER BY All_Neutral DESC
[ 36259, 1096, 257, 2318, 8262, 546, 262, 6082, 286, 1439, 62, 8199, 6815, 290, 15859, 62, 31905, 837, 290, 3297, 3891, 422, 1029, 284, 1877, 1502, 13, 46506, 1439, 62, 8199, 6815, 11, 15859, 62, 31905, 16034, 9669, 62, 15699, 38678, 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 ]
[ 36259, 1096, 257, 2318, 8262, 546, 262, 6082, 286, 1439, 62, 8199, 6815, 290, 15859, 62, 31905, 837, 290, 3297, 3891, 422, 1029, 284, 1877, 1502, 13, 46506, 1439, 62, 8199, 6815, 11, 15859, 62, 31905, 16034, 9669, 62, 15699, 38678, 11...
Can you draw the trend of sum budget in billions over the creation?
SELECT Creation, SUM(Budget_in_Billions) FROM department GROUP BY Creation
[ 6090, 345, 3197, 262, 5182, 286, 2160, 4466, 287, 13188, 625, 262, 6282, 30, 46506, 21582, 11, 35683, 7, 33, 29427, 62, 259, 62, 17798, 507, 8, 16034, 5011, 44441, 11050, 21582 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 3197, 262, 5182, 286, 2160, 4466, 287, 13188, 625, 262, 6282, 30, 46506, 21582, 11, 35683, 7, 33, 29427, 62, 259, 62, 17798, 507, 8, 16034, 5011, 44441, 11050, 21582 ]
Tell me the sum of original week for september 16, 1982
SELECT SUM("Original week") FROM table_32085 WHERE "Date" = 'september 16, 1982'
[ 24446, 502, 262, 2160, 286, 2656, 1285, 329, 384, 457, 1491, 1467, 11, 14489, 46506, 35683, 7203, 20556, 1285, 4943, 16034, 3084, 62, 19504, 5332, 33411, 366, 10430, 1, 796, 705, 325, 457, 1491, 1467, 11, 14489, 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 ]
[ 24446, 502, 262, 2160, 286, 2656, 1285, 329, 384, 457, 1491, 1467, 11, 14489, 46506, 35683, 7203, 20556, 1285, 4943, 16034, 3084, 62, 19504, 5332, 33411, 366, 10430, 1, 796, 705, 325, 457, 1491, 1467, 11, 14489, 6 ]
What is the Position of Pick #321?
SELECT position FROM table_name_97 WHERE pick__number = 321
[ 2061, 318, 262, 23158, 286, 12346, 1303, 36453, 30, 46506, 2292, 16034, 3084, 62, 3672, 62, 5607, 33411, 2298, 834, 17618, 796, 39595 ]
[ 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, 23158, 286, 12346, 1303, 36453, 30, 46506, 2292, 16034, 3084, 62, 3672, 62, 5607, 33411, 2298, 834, 17618, 796, 39595 ]
what was the first height of patient 3369 until 30 months ago?
SELECT chartevents.valuenum FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 3369)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'admit ht' ...
[ 10919, 373, 262, 717, 6001, 286, 5827, 513, 30803, 1566, 1542, 1933, 2084, 30, 46506, 8262, 31534, 13, 2100, 84, 44709, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, 323, 62, 312, 3268, 357, 46506, 14158, 436, 592, 13, 291, 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, 373, 262, 717, 6001, 286, 5827, 513, 30803, 1566, 1542, 1933, 2084, 30, 46506, 8262, 31534, 13, 2100, 84, 44709, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, 323, 62, 312, 3268, 357, 46506, 14158, 436, 592, 13, 291, 43...
What is the highest pick number?
SELECT MAX("Pick #") FROM table_19491
[ 2061, 318, 262, 4511, 2298, 1271, 30, 46506, 25882, 7203, 31686, 1303, 4943, 16034, 3084, 62, 1129, 41289 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4511, 2298, 1271, 30, 46506, 25882, 7203, 31686, 1303, 4943, 16034, 3084, 62, 1129, 41289 ]
List the writers who have written more than one book.
SELECT writer FROM book GROUP BY writer HAVING COUNT(*) > 1
[ 8053, 262, 8786, 508, 423, 3194, 517, 621, 530, 1492, 13, 46506, 6260, 16034, 1492, 44441, 11050, 6260, 367, 10116, 2751, 327, 28270, 7, 28104, 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 ]
[ 8053, 262, 8786, 508, 423, 3194, 517, 621, 530, 1492, 13, 46506, 6260, 16034, 1492, 44441, 11050, 6260, 367, 10116, 2751, 327, 28270, 7, 28104, 1875, 352 ]
What did United States place when the player was Raymond Floyd?
SELECT place FROM table_name_84 WHERE country = "united states" AND player = "raymond floyd"
[ 2061, 750, 1578, 1829, 1295, 618, 262, 2137, 373, 24238, 21150, 30, 46506, 1295, 16034, 3084, 62, 3672, 62, 5705, 33411, 1499, 796, 366, 41187, 2585, 1, 5357, 2137, 796, 366, 2433, 6327, 781, 12192, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 750, 1578, 1829, 1295, 618, 262, 2137, 373, 24238, 21150, 30, 46506, 1295, 16034, 3084, 62, 3672, 62, 5705, 33411, 1499, 796, 366, 41187, 2585, 1, 5357, 2137, 796, 366, 2433, 6327, 781, 12192, 1 ]
Visualize a line chart that bins the open date into the Year interval and counts them.
SELECT Open_Date, COUNT(Open_Date) FROM church
[ 36259, 1096, 257, 1627, 8262, 326, 41701, 262, 1280, 3128, 656, 262, 6280, 16654, 290, 9853, 606, 13, 46506, 4946, 62, 10430, 11, 327, 28270, 7, 11505, 62, 10430, 8, 16034, 4928 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 36259, 1096, 257, 1627, 8262, 326, 41701, 262, 1280, 3128, 656, 262, 6280, 16654, 290, 9853, 606, 13, 46506, 4946, 62, 10430, 11, 327, 28270, 7, 11505, 62, 10430, 8, 16034, 4928 ]
How many numbers were recorded under matches with Arthur Morris?
SELECT COUNT(matches) FROM table_16570286_2 WHERE player = "Arthur Morris"
[ 2437, 867, 3146, 547, 6264, 739, 7466, 351, 13514, 14433, 30, 46506, 327, 28270, 7, 6759, 2052, 8, 16034, 3084, 62, 20986, 2154, 27033, 62, 17, 33411, 2137, 796, 366, 29874, 14433, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3146, 547, 6264, 739, 7466, 351, 13514, 14433, 30, 46506, 327, 28270, 7, 6759, 2052, 8, 16034, 3084, 62, 20986, 2154, 27033, 62, 17, 33411, 2137, 796, 366, 29874, 14433, 1 ]
Which Bask has an Indoor track of 0, and a Swimming of 5?
SELECT MIN(bask) FROM table_name_73 WHERE indoor_track = "0" AND swimming = "5"
[ 13828, 347, 2093, 468, 281, 1423, 2675, 2610, 286, 657, 11, 290, 257, 2451, 27428, 286, 642, 30, 46506, 20625, 7, 65, 2093, 8, 16034, 3084, 62, 3672, 62, 4790, 33411, 22639, 62, 11659, 796, 366, 15, 1, 5357, 14899, 796, 366, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 347, 2093, 468, 281, 1423, 2675, 2610, 286, 657, 11, 290, 257, 2451, 27428, 286, 642, 30, 46506, 20625, 7, 65, 2093, 8, 16034, 3084, 62, 3672, 62, 4790, 33411, 22639, 62, 11659, 796, 366, 15, 1, 5357, 14899, 796, 366, 20, 1...
For each aircraft that has won an award, what is its name and how many time has it won Plot them as bar chart, I want to rank from low to high by the X.
SELECT Aircraft, COUNT(*) FROM aircraft AS T1 JOIN match AS T2 ON T1.Aircraft_ID = T2.Winning_Aircraft GROUP BY T2.Winning_Aircraft ORDER BY Aircraft
[ 1890, 1123, 6215, 326, 468, 1839, 281, 5764, 11, 644, 318, 663, 1438, 290, 703, 867, 640, 468, 340, 1839, 28114, 606, 355, 2318, 8262, 11, 314, 765, 284, 4279, 422, 1877, 284, 1029, 416, 262, 1395, 13, 46506, 30767, 11, 327, 28270, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 1123, 6215, 326, 468, 1839, 281, 5764, 11, 644, 318, 663, 1438, 290, 703, 867, 640, 468, 340, 1839, 28114, 606, 355, 2318, 8262, 11, 314, 765, 284, 4279, 422, 1877, 284, 1029, 416, 262, 1395, 13, 46506, 30767, 11, 327, 28270, ...
show me FIRST class flights one way TAMPA to ST. LOUIS
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, fare, fare_basis, flight, flight_fare WHERE ((fare_basis.class_type = 'FIRST' AND fare.fare_basis_code = fare_basis.fare_basis_code) AND CITY_1.city_code = AIRPORT_SERVICE_1....
[ 12860, 502, 31328, 1398, 13956, 530, 835, 33112, 4537, 284, 3563, 13, 406, 2606, 1797, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12860, 502, 31328, 1398, 13956, 530, 835, 33112, 4537, 284, 3563, 13, 406, 2606, 1797, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, ...
What date is the circuit at wanneroo park?
SELECT "Date" FROM table_58519 WHERE "Circuit" = 'wanneroo park'
[ 2061, 3128, 318, 262, 10349, 379, 266, 272, 1008, 2238, 3952, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 38905, 1129, 33411, 366, 31560, 5013, 1, 796, 705, 8149, 1008, 2238, 3952, 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, 3128, 318, 262, 10349, 379, 266, 272, 1008, 2238, 3952, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 38905, 1129, 33411, 366, 31560, 5013, 1, 796, 705, 8149, 1008, 2238, 3952, 6 ]
What is the state Yi?
SELECT "State" FROM table_42716 WHERE "Name" = 'yi'
[ 2061, 318, 262, 1181, 26463, 30, 46506, 366, 9012, 1, 16034, 3084, 62, 42363, 1433, 33411, 366, 5376, 1, 796, 705, 48111, 6 ]
[ 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, 1181, 26463, 30, 46506, 366, 9012, 1, 16034, 3084, 62, 42363, 1433, 33411, 366, 5376, 1, 796, 705, 48111, 6 ]
Find the first names and degree of all professors who are teaching some class in Computer Info. Systems department.
SELECT DISTINCT T2.emp_fname, T3.prof_high_degree FROM class AS T1 JOIN employee AS T2 ON T1.prof_num = T2.emp_num JOIN professor AS T3 ON T2.emp_num = T3.emp_num JOIN department AS T4 ON T4.dept_code = T3.dept_code WHERE T4.dept_name = 'Computer Info. Systems'
[ 16742, 262, 717, 3891, 290, 4922, 286, 477, 20339, 508, 389, 7743, 617, 1398, 287, 13851, 14151, 13, 11998, 5011, 13, 46506, 360, 8808, 1268, 4177, 309, 17, 13, 45787, 62, 69, 3672, 11, 309, 18, 13, 5577, 62, 8929, 62, 16863, 16034,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 16742, 262, 717, 3891, 290, 4922, 286, 477, 20339, 508, 389, 7743, 617, 1398, 287, 13851, 14151, 13, 11998, 5011, 13, 46506, 360, 8808, 1268, 4177, 309, 17, 13, 45787, 62, 69, 3672, 11, 309, 18, 13, 5577, 62, 8929, 62, 16863, 16034,...
On the date of April 22, which city was a visitor?
SELECT "Visitor" FROM table_53232 WHERE "Date" = 'april 22'
[ 2202, 262, 3128, 286, 3035, 2534, 11, 543, 1748, 373, 257, 21493, 30, 46506, 366, 15854, 2072, 1, 16034, 3084, 62, 4310, 24339, 33411, 366, 10430, 1, 796, 705, 499, 22379, 2534, 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 ]
[ 2202, 262, 3128, 286, 3035, 2534, 11, 543, 1748, 373, 257, 21493, 30, 46506, 366, 15854, 2072, 1, 16034, 3084, 62, 4310, 24339, 33411, 366, 10430, 1, 796, 705, 499, 22379, 2534, 6 ]
how many current patients are of age 20s?
SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.hospitaldischargetime IS NULL AND patient.age BETWEEN 20 AND 29
[ 4919, 867, 1459, 3871, 389, 286, 2479, 1160, 82, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 5827, 13, 403, 1557, 538, 312, 8, 16034, 5827, 33411, 5827, 13, 49257, 6381, 354, 7641, 524, 3180, 15697, 5357, 5827, 13, 496, 38651, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 1459, 3871, 389, 286, 2479, 1160, 82, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 5827, 13, 403, 1557, 538, 312, 8, 16034, 5827, 33411, 5827, 13, 49257, 6381, 354, 7641, 524, 3180, 15697, 5357, 5827, 13, 496, 38651, 8...
Which Drawn has a Position of 2, and a Lost larger than 2?
SELECT MIN(drawn) FROM table_name_24 WHERE position = 2 AND lost > 2
[ 13828, 50061, 468, 257, 23158, 286, 362, 11, 290, 257, 9164, 4025, 621, 362, 30, 46506, 20625, 7, 41549, 8, 16034, 3084, 62, 3672, 62, 1731, 33411, 2292, 796, 362, 5357, 2626, 1875, 362 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 50061, 468, 257, 23158, 286, 362, 11, 290, 257, 9164, 4025, 621, 362, 30, 46506, 20625, 7, 41549, 8, 16034, 3084, 62, 3672, 62, 1731, 33411, 2292, 796, 362, 5357, 2626, 1875, 362 ]
let's count the number of times patient 27703 had been prescribed memantine in 2105.
SELECT COUNT(*) FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 27703) AND prescriptions.drug = 'memantine' AND STRFTIME('%y', prescriptions.startdate) = '2105'
[ 1616, 338, 954, 262, 1271, 286, 1661, 5827, 2681, 36809, 550, 587, 14798, 1066, 29003, 287, 362, 13348, 13, 46506, 327, 28270, 7, 28104, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 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...
[ 1616, 338, 954, 262, 1271, 286, 1661, 5827, 2681, 36809, 550, 587, 14798, 1066, 29003, 287, 362, 13348, 13, 46506, 327, 28270, 7, 28104, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 3...
list all DAILY flights between BOSTON and OAKLAND using DL
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE ((CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'BOSTON' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'OAKLA...
[ 4868, 477, 17051, 33340, 13956, 1022, 347, 10892, 1340, 290, 440, 10206, 28182, 1262, 23641, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 152...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 477, 17051, 33340, 13956, 1022, 347, 10892, 1340, 290, 440, 10206, 28182, 1262, 23641, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 152...
Who came in third in England?
SELECT third FROM table_name_60 WHERE nation = "england"
[ 8241, 1625, 287, 2368, 287, 4492, 30, 46506, 2368, 16034, 3084, 62, 3672, 62, 1899, 33411, 3277, 796, 366, 1516, 1044, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 1625, 287, 2368, 287, 4492, 30, 46506, 2368, 16034, 3084, 62, 3672, 62, 1899, 33411, 3277, 796, 366, 1516, 1044, 1 ]
what is the number of achievements listed for ito ?
SELECT COUNT(*) FROM table_203_215
[ 10919, 318, 262, 1271, 286, 16970, 5610, 329, 340, 78, 5633, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 22416, 62, 23349 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 1271, 286, 16970, 5610, 329, 340, 78, 5633, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 22416, 62, 23349 ]
Please show the themes of competitions with host cities having populations larger than 1000.
SELECT T2.Theme FROM city AS T1 JOIN farm_competition AS T2 ON T1.City_ID = T2.Host_city_ID WHERE T1.Population > 1000
[ 5492, 905, 262, 13460, 286, 24174, 351, 2583, 4736, 1719, 9684, 4025, 621, 8576, 13, 46506, 309, 17, 13, 47863, 16034, 1748, 7054, 309, 16, 32357, 1268, 5318, 62, 5589, 15620, 7054, 309, 17, 6177, 309, 16, 13, 14941, 62, 2389, 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 ]
[ 5492, 905, 262, 13460, 286, 24174, 351, 2583, 4736, 1719, 9684, 4025, 621, 8576, 13, 46506, 309, 17, 13, 47863, 16034, 1748, 7054, 309, 16, 32357, 1268, 5318, 62, 5589, 15620, 7054, 309, 17, 6177, 309, 16, 13, 14941, 62, 2389, 796, ...
What are all the places where the number of perfect 40s is 0 and the average is 27.25?
SELECT "Place" FROM table_20463 WHERE "Perfect 40s" = '0' AND "Average" = '27.25'
[ 2061, 389, 477, 262, 4113, 810, 262, 1271, 286, 2818, 2319, 82, 318, 657, 290, 262, 2811, 318, 2681, 13, 1495, 30, 46506, 366, 27271, 1, 16034, 3084, 62, 1238, 38380, 33411, 366, 36635, 2319, 82, 1, 796, 705, 15, 6, 5357, 366, 262...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 477, 262, 4113, 810, 262, 1271, 286, 2818, 2319, 82, 318, 657, 290, 262, 2811, 318, 2681, 13, 1495, 30, 46506, 366, 27271, 1, 16034, 3084, 62, 1238, 38380, 33411, 366, 36635, 2319, 82, 1, 796, 705, 15, 6, 5357, 366, 262...
calculate the total amount of per iv flush: antecubital l 20 gauge consumed on last month/15 for patient 002-41152.
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 = '002-41152')) AND intakeoutput.celllabel = 'per i...
[ 9948, 3129, 378, 262, 2472, 2033, 286, 583, 21628, 24773, 25, 29692, 66, 549, 1287, 300, 1160, 18266, 13529, 319, 938, 1227, 14, 1314, 329, 5827, 3571, 17, 12, 42224, 4309, 13, 46506, 35683, 7, 600, 539, 22915, 13, 3846, 2100, 84, 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...
[ 9948, 3129, 378, 262, 2472, 2033, 286, 583, 21628, 24773, 25, 29692, 66, 549, 1287, 300, 1160, 18266, 13529, 319, 938, 1227, 14, 1314, 329, 5827, 3571, 17, 12, 42224, 4309, 13, 46506, 35683, 7, 600, 539, 22915, 13, 3846, 2100, 84, 2...
find the number of patients with blood gas lab test category who were hospitalized for more than 7 days.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.days_stay > "7" AND lab."CATEGORY" = "Blood Gas"
[ 19796, 262, 1271, 286, 3871, 351, 2910, 3623, 2248, 1332, 6536, 508, 547, 31736, 329, 517, 621, 767, 1528, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 617...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 19796, 262, 1271, 286, 3871, 351, 2910, 3623, 2248, 1332, 6536, 508, 547, 31736, 329, 517, 621, 767, 1528, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 617...
For 495 , is it being offered in the afternoon in the Fall of 2005 ?
SELECT COUNT(*) > 0 FROM course, course_offering, semester WHERE course_offering.start_time >= '12:00:00' AND course.course_id = course_offering.course_id AND course.department = 'EECS' AND course.number = 495 AND semester.semester = 'Fall' AND semester.semester_id = course_offering.semester AND semester.year = 2005
[ 1890, 604, 3865, 837, 318, 340, 852, 4438, 287, 262, 6672, 287, 262, 7218, 286, 5075, 5633, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 24878, 33411, 1781, 62, 2364, 1586, 13, 9688, 62, 2435, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 604, 3865, 837, 318, 340, 852, 4438, 287, 262, 6672, 287, 262, 7218, 286, 5075, 5633, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 24878, 33411, 1781, 62, 2364, 1586, 13, 9688, 62, 2435, 1...
Use a histogram to show the department's id and corresponding employees' first name.
SELECT FIRST_NAME, DEPARTMENT_ID FROM employees
[ 11041, 257, 1554, 21857, 284, 905, 262, 5011, 338, 4686, 290, 11188, 4409, 6, 717, 1438, 13, 46506, 31328, 62, 20608, 11, 5550, 30709, 10979, 62, 2389, 16034, 4409 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 11041, 257, 1554, 21857, 284, 905, 262, 5011, 338, 4686, 290, 11188, 4409, 6, 717, 1438, 13, 46506, 31328, 62, 20608, 11, 5550, 30709, 10979, 62, 2389, 16034, 4409 ]
how many patients whose ethnicity is white and lab test name is total protein, pleural?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.ethnicity = "WHITE" AND lab.label = "Total Protein, Pleural"
[ 4919, 867, 3871, 3025, 26289, 318, 2330, 290, 2248, 1332, 1438, 318, 2472, 7532, 11, 3339, 1523, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 3871, 3025, 26289, 318, 2330, 290, 2248, 1332, 1438, 318, 2472, 7532, 11, 3339, 1523, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, ...
What was Nolan Henke's To par when he placed in t3?
SELECT to_par FROM table_name_96 WHERE place = "t3" AND player = "nolan henke"
[ 2061, 373, 27788, 6752, 365, 338, 1675, 1582, 618, 339, 4624, 287, 256, 18, 30, 46506, 284, 62, 1845, 16034, 3084, 62, 3672, 62, 4846, 33411, 1295, 796, 366, 83, 18, 1, 5357, 2137, 796, 366, 77, 16617, 30963, 365, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 27788, 6752, 365, 338, 1675, 1582, 618, 339, 4624, 287, 256, 18, 30, 46506, 284, 62, 1845, 16034, 3084, 62, 3672, 62, 4846, 33411, 1295, 796, 366, 83, 18, 1, 5357, 2137, 796, 366, 77, 16617, 30963, 365, 1 ]
What was the score in the final the year that the 3rd place team was Bangkok University FC?
SELECT "Score in the final" FROM table_2967 WHERE "3rd-place" = 'Bangkok University FC'
[ 2061, 373, 262, 4776, 287, 262, 2457, 262, 614, 326, 262, 513, 4372, 1295, 1074, 373, 35007, 2059, 10029, 30, 46506, 366, 26595, 287, 262, 2457, 1, 16034, 3084, 62, 1959, 3134, 33411, 366, 18, 4372, 12, 5372, 1, 796, 705, 43984, 320...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 287, 262, 2457, 262, 614, 326, 262, 513, 4372, 1295, 1074, 373, 35007, 2059, 10029, 30, 46506, 366, 26595, 287, 262, 2457, 1, 16034, 3084, 62, 1959, 3134, 33411, 366, 18, 4372, 12, 5372, 1, 796, 705, 43984, 320...
What is ICAO, when IATA is 'HKG'?
SELECT icao FROM table_name_99 WHERE iata = "hkg"
[ 2061, 318, 314, 8141, 46, 11, 618, 314, 13563, 318, 705, 38730, 38, 30960, 46506, 220, 3970, 78, 16034, 3084, 62, 3672, 62, 2079, 33411, 1312, 1045, 796, 366, 71, 10025, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 314, 8141, 46, 11, 618, 314, 13563, 318, 705, 38730, 38, 30960, 46506, 220, 3970, 78, 16034, 3084, 62, 3672, 62, 2079, 33411, 1312, 1045, 796, 366, 71, 10025, 1 ]
Name the total number of played when points of is 31-7, position is 16 and goals for is less than 35
SELECT COUNT("Played") FROM table_55927 WHERE "Points" = '31-7' AND "Position" = '16' AND "Goals for" < '35'
[ 5376, 262, 2472, 1271, 286, 2826, 618, 2173, 286, 318, 3261, 12, 22, 11, 2292, 318, 1467, 290, 4661, 329, 318, 1342, 621, 3439, 46506, 327, 28270, 7203, 11002, 276, 4943, 16034, 3084, 62, 38605, 1983, 33411, 366, 40710, 1, 796, 705, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 5376, 262, 2472, 1271, 286, 2826, 618, 2173, 286, 318, 3261, 12, 22, 11, 2292, 318, 1467, 290, 4661, 329, 318, 1342, 621, 3439, 46506, 327, 28270, 7203, 11002, 276, 4943, 16034, 3084, 62, 38605, 1983, 33411, 366, 40710, 1, 796, 705, ...
What is the current status of a location with a census ranking of 1,769 of 5,008 and population greater than 930?
SELECT "Status" FROM table_48447 WHERE "Population" > '930' AND "Census Ranking" = '1,769 of 5,008'
[ 2061, 318, 262, 1459, 3722, 286, 257, 4067, 351, 257, 21649, 12759, 286, 352, 11, 22, 3388, 286, 642, 11, 25257, 290, 3265, 3744, 621, 860, 1270, 30, 46506, 366, 19580, 1, 16034, 3084, 62, 2780, 34825, 33411, 366, 45251, 1, 1875, 70...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1459, 3722, 286, 257, 4067, 351, 257, 21649, 12759, 286, 352, 11, 22, 3388, 286, 642, 11, 25257, 290, 3265, 3744, 621, 860, 1270, 30, 46506, 366, 19580, 1, 16034, 3084, 62, 2780, 34825, 33411, 366, 45251, 1, 1875, 70...
What is the highest number of matches with less than 2 draws that had an efficiency percent of 25%?
SELECT MAX(matches) FROM table_name_46 WHERE draws < 2 AND efficiency__percentage = "25%"
[ 2061, 318, 262, 4511, 1271, 286, 7466, 351, 1342, 621, 362, 14293, 326, 550, 281, 9332, 1411, 286, 1679, 4, 30, 46506, 25882, 7, 6759, 2052, 8, 16034, 3084, 62, 3672, 62, 3510, 33411, 14293, 1279, 362, 5357, 9332, 834, 25067, 496, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4511, 1271, 286, 7466, 351, 1342, 621, 362, 14293, 326, 550, 281, 9332, 1411, 286, 1679, 4, 30, 46506, 25882, 7, 6759, 2052, 8, 16034, 3084, 62, 3672, 62, 3510, 33411, 14293, 1279, 362, 5357, 9332, 834, 25067, 496, 7...
show me fares leaving on TUESDAY from DENVER to go to DALLAS
SELECT DISTINCT fare.fare_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, days AS DAYS_0, days AS DAYS_1, fare, fare_basis, flight, flight_fare WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'DALLAS' AND DAYS_1.day_name = ...
[ 12860, 502, 33164, 4305, 319, 309, 35409, 26442, 422, 37692, 5959, 284, 467, 284, 360, 7036, 1921, 46506, 360, 8808, 1268, 4177, 14505, 13, 9496, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12860, 502, 33164, 4305, 319, 309, 35409, 26442, 422, 37692, 5959, 284, 467, 284, 360, 7036, 1921, 46506, 360, 8808, 1268, 4177, 14505, 13, 9496, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, ...
Find the number of web accelerators used for each Operating system, I want to display in ascending by the X.
SELECT Operating_system, COUNT(*) FROM Web_client_accelerator GROUP BY Operating_system ORDER BY Operating_system
[ 16742, 262, 1271, 286, 3992, 8320, 2024, 973, 329, 1123, 24850, 1080, 11, 314, 765, 284, 3359, 287, 41988, 416, 262, 1395, 13, 46506, 24850, 62, 10057, 11, 327, 28270, 7, 28104, 16034, 5313, 62, 16366, 62, 330, 7015, 1352, 44441, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16742, 262, 1271, 286, 3992, 8320, 2024, 973, 329, 1123, 24850, 1080, 11, 314, 765, 284, 3359, 287, 41988, 416, 262, 1395, 13, 46506, 24850, 62, 10057, 11, 327, 28270, 7, 28104, 16034, 5313, 62, 16366, 62, 330, 7015, 1352, 44441, 1105...
What date did home team Gold Coast Blaze play?
SELECT date FROM table_name_14 WHERE home_team = "gold coast blaze"
[ 2061, 3128, 750, 1363, 1074, 3561, 8545, 33965, 711, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 1415, 33411, 1363, 62, 15097, 796, 366, 24267, 7051, 31259, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 3128, 750, 1363, 1074, 3561, 8545, 33965, 711, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 1415, 33411, 1363, 62, 15097, 796, 366, 24267, 7051, 31259, 1 ]
What was the number of music directors where the suresh wadkar co singer of bhayanak?
SELECT COUNT(music_director) FROM table_11827596_4 WHERE co_singer = "Suresh Wadkar" AND film_name = "Bhayanak"
[ 2061, 373, 262, 1271, 286, 2647, 13445, 810, 262, 424, 3447, 266, 324, 21070, 763, 14015, 286, 275, 71, 22931, 461, 30, 46506, 327, 28270, 7, 28965, 62, 35248, 8, 16034, 3084, 62, 16817, 1983, 45734, 62, 19, 33411, 763, 62, 82, 3889...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1271, 286, 2647, 13445, 810, 262, 424, 3447, 266, 324, 21070, 763, 14015, 286, 275, 71, 22931, 461, 30, 46506, 327, 28270, 7, 28965, 62, 35248, 8, 16034, 3084, 62, 16817, 1983, 45734, 62, 19, 33411, 763, 62, 82, 3889...
What date did 'the eye of the phoenix' originally air?
SELECT "Original air date" FROM table_30930 WHERE "Title" = 'The Eye of the Phoenix'
[ 2061, 3128, 750, 705, 1169, 4151, 286, 262, 872, 8538, 6, 6198, 1633, 30, 46506, 366, 20556, 1633, 3128, 1, 16034, 3084, 62, 26895, 1270, 33411, 366, 19160, 1, 796, 705, 464, 14144, 286, 262, 9643, 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, 3128, 750, 705, 1169, 4151, 286, 262, 872, 8538, 6, 6198, 1633, 30, 46506, 366, 20556, 1633, 3128, 1, 16034, 3084, 62, 26895, 1270, 33411, 366, 19160, 1, 796, 705, 464, 14144, 286, 262, 9643, 6 ]
What player is pick #2?
SELECT "Player" FROM table_16382 WHERE "Pick #" = '2'
[ 2061, 2137, 318, 2298, 1303, 17, 30, 46506, 366, 14140, 1, 16034, 3084, 62, 1433, 36243, 33411, 366, 31686, 1303, 1, 796, 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 ]
[ 2061, 2137, 318, 2298, 1303, 17, 30, 46506, 366, 14140, 1, 16034, 3084, 62, 1433, 36243, 33411, 366, 31686, 1303, 1, 796, 705, 17, 6 ]
What survey has the Ehsas Jdeed title?
SELECT "Survey" FROM table_78882 WHERE "Title" = 'ehsas jdeed'
[ 2061, 5526, 468, 262, 412, 11994, 292, 449, 67, 2308, 3670, 30, 46506, 366, 14214, 3304, 1, 16034, 3084, 62, 22, 3459, 6469, 33411, 366, 19160, 1, 796, 705, 68, 11994, 292, 474, 67, 2308, 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, 5526, 468, 262, 412, 11994, 292, 449, 67, 2308, 3670, 30, 46506, 366, 14214, 3304, 1, 16034, 3084, 62, 22, 3459, 6469, 33411, 366, 19160, 1, 796, 705, 68, 11994, 292, 474, 67, 2308, 6 ]
What are the notes when the time was 7:42.92 and the rank is more than 1?
SELECT notes FROM table_name_65 WHERE rank > 1 AND time = "7:42.92"
[ 2061, 389, 262, 4710, 618, 262, 640, 373, 767, 25, 3682, 13, 5892, 290, 262, 4279, 318, 517, 621, 352, 30, 46506, 4710, 16034, 3084, 62, 3672, 62, 2996, 33411, 4279, 1875, 352, 5357, 640, 796, 366, 22, 25, 3682, 13, 5892, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 262, 4710, 618, 262, 640, 373, 767, 25, 3682, 13, 5892, 290, 262, 4279, 318, 517, 621, 352, 30, 46506, 4710, 16034, 3084, 62, 3672, 62, 2996, 33411, 4279, 1875, 352, 5357, 640, 796, 366, 22, 25, 3682, 13, 5892, 1 ]
Which IHSAA Football Class has a County of 77 sullivan, and a School of union dugger?
SELECT ihsaa_football_class FROM table_name_14 WHERE county = "77 sullivan" AND school = "union dugger"
[ 13828, 314, 7998, 3838, 9957, 5016, 468, 257, 3418, 286, 8541, 424, 297, 13809, 11, 290, 257, 3961, 286, 6441, 18735, 1362, 30, 46506, 1312, 11994, 7252, 62, 15914, 62, 4871, 16034, 3084, 62, 3672, 62, 1415, 33411, 7968, 796, 366, 332...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 314, 7998, 3838, 9957, 5016, 468, 257, 3418, 286, 8541, 424, 297, 13809, 11, 290, 257, 3961, 286, 6441, 18735, 1362, 30, 46506, 1312, 11994, 7252, 62, 15914, 62, 4871, 16034, 3084, 62, 3672, 62, 1415, 33411, 7968, 796, 366, 332...
how many times has patient 83901 generated a nephrost tube flush output until 137 months ago?
SELECT COUNT(*) 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 = 83901)) AND outputevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'nephrost tube flus...
[ 4919, 867, 1661, 468, 5827, 807, 2670, 486, 7560, 257, 497, 746, 23341, 12403, 24773, 5072, 1566, 21643, 1933, 2084, 30, 46506, 327, 28270, 7, 28104, 16034, 38701, 1133, 85, 658, 33411, 38701, 1133, 85, 658, 13, 291, 436, 323, 62, 312...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 1661, 468, 5827, 807, 2670, 486, 7560, 257, 497, 746, 23341, 12403, 24773, 5072, 1566, 21643, 1933, 2084, 30, 46506, 327, 28270, 7, 28104, 16034, 38701, 1133, 85, 658, 33411, 38701, 1133, 85, 658, 13, 291, 436, 323, 62, 312...
list the top four most frequent diagnoses which patients were diagnosed with within the same month after receiving aortocor bypas-3 cor art until 2 years ago.
SELECT d_icd_diagnoses.short_title FROM d_icd_diagnoses WHERE d_icd_diagnoses.icd9_code IN (SELECT t3.icd9_code FROM (SELECT t2.icd9_code, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, procedures_icd.charttime FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissi...
[ 4868, 262, 1353, 1440, 749, 10792, 40567, 543, 3871, 547, 14641, 351, 1626, 262, 976, 1227, 706, 6464, 257, 419, 420, 273, 416, 44429, 12, 18, 1162, 1242, 1566, 362, 812, 2084, 13, 46506, 288, 62, 291, 67, 62, 47356, 4629, 13, 19509...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1440, 749, 10792, 40567, 543, 3871, 547, 14641, 351, 1626, 262, 976, 1227, 706, 6464, 257, 419, 420, 273, 416, 44429, 12, 18, 1162, 1242, 1566, 362, 812, 2084, 13, 46506, 288, 62, 291, 67, 62, 47356, 4629, 13, 19509...
What is the win percentage when 2011 shows 1r in the Paris tournament?
SELECT "Win %" FROM table_68404 WHERE "2011" = '1r' AND "Tournament" = 'paris'
[ 2061, 318, 262, 1592, 5873, 618, 2813, 2523, 352, 81, 287, 262, 6342, 7756, 30, 46506, 366, 16643, 4064, 1, 16034, 3084, 62, 3104, 26429, 33411, 366, 9804, 1, 796, 705, 16, 81, 6, 5357, 366, 51, 5138, 1, 796, 705, 1845, 271, 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 ]
[ 2061, 318, 262, 1592, 5873, 618, 2813, 2523, 352, 81, 287, 262, 6342, 7756, 30, 46506, 366, 16643, 4064, 1, 16034, 3084, 62, 3104, 26429, 33411, 366, 9804, 1, 796, 705, 16, 81, 6, 5357, 366, 51, 5138, 1, 796, 705, 1845, 271, 6 ]
What is the timeslot for the episode with an 18-49 of 2.2/7?
SELECT "Timeslot" FROM table_50921 WHERE "18-49" = '2.2/7'
[ 2061, 318, 262, 1661, 26487, 329, 262, 4471, 351, 281, 1248, 12, 2920, 286, 362, 13, 17, 14, 22, 30, 46506, 366, 28595, 26487, 1, 16034, 3084, 62, 29022, 2481, 33411, 366, 1507, 12, 2920, 1, 796, 705, 17, 13, 17, 14, 22, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1661, 26487, 329, 262, 4471, 351, 281, 1248, 12, 2920, 286, 362, 13, 17, 14, 22, 30, 46506, 366, 28595, 26487, 1, 16034, 3084, 62, 29022, 2481, 33411, 366, 1507, 12, 2920, 1, 796, 705, 17, 13, 17, 14, 22, 6 ]
Tell me the proportion of the total number of different ranks using a bar graph.
SELECT Rank, COUNT(Rank) FROM captain GROUP BY Rank
[ 24446, 502, 262, 9823, 286, 262, 2472, 1271, 286, 1180, 9803, 1262, 257, 2318, 4823, 13, 46506, 10916, 11, 327, 28270, 7, 27520, 8, 16034, 10654, 44441, 11050, 10916 ]
[ 1, 1, 1, 1, 1, 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, 9823, 286, 262, 2472, 1271, 286, 1180, 9803, 1262, 257, 2318, 4823, 13, 46506, 10916, 11, 327, 28270, 7, 27520, 8, 16034, 10654, 44441, 11050, 10916 ]
provide the number of patients whose ethnicity is black/cape verdean and lab test name is potassium, urine?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.ethnicity = "BLACK/CAPE VERDEAN" AND lab.label = "Potassium, Urine"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 26289, 318, 2042, 14, 36435, 3326, 2934, 272, 290, 2248, 1332, 1438, 318, 33156, 11, 18922, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 2147...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 15234, 485, 262, 1271, 286, 3871, 3025, 26289, 318, 2042, 14, 36435, 3326, 2934, 272, 290, 2248, 1332, 1438, 318, 33156, 11, 18922, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 2147...
What is the magnitude of the earthquake with an epicenter in biskra province?
SELECT "Magnitude" FROM table_12100 WHERE "Epicenter" = 'biskra province'
[ 2061, 318, 262, 14735, 286, 262, 16295, 351, 281, 12191, 9255, 287, 275, 1984, 430, 8473, 30, 46506, 366, 48017, 3984, 1, 16034, 3084, 62, 1065, 3064, 33411, 366, 13807, 291, 9255, 1, 796, 705, 65, 1984, 430, 8473, 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 ]
[ 2061, 318, 262, 14735, 286, 262, 16295, 351, 281, 12191, 9255, 287, 275, 1984, 430, 8473, 30, 46506, 366, 48017, 3984, 1, 16034, 3084, 62, 1065, 3064, 33411, 366, 13807, 291, 9255, 1, 796, 705, 65, 1984, 430, 8473, 6 ]
history of a typically painful condition, such as osteoarthritis, back pain, or other chronic musculoskeletal pain
SELECT * FROM table_train_127 WHERE painful_condition = 1 OR (osteoarthritis = 1 OR back_pain = 1 OR other_chronic_musculoskeletal_pain = 1)
[ 23569, 286, 257, 6032, 12132, 4006, 11, 884, 355, 32674, 78, 11999, 27398, 11, 736, 2356, 11, 393, 584, 10726, 1928, 3129, 418, 365, 47293, 2356, 46506, 1635, 16034, 3084, 62, 27432, 62, 16799, 33411, 12132, 62, 31448, 796, 352, 6375, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 23569, 286, 257, 6032, 12132, 4006, 11, 884, 355, 32674, 78, 11999, 27398, 11, 736, 2356, 11, 393, 584, 10726, 1928, 3129, 418, 365, 47293, 2356, 46506, 1635, 16034, 3084, 62, 27432, 62, 16799, 33411, 12132, 62, 31448, 796, 352, 6375, ...
find the number of patients under the age of 61 whose primary disease is coronary artery disease/coronary artery bypass graft/sda.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "CORONARY ARTERY DISEASE\CORONARY ARTERY BYPASS GRAFT /SDA" AND demographic.age < "61"
[ 19796, 262, 1271, 286, 3871, 739, 262, 2479, 286, 8454, 3025, 4165, 4369, 318, 37151, 37646, 4369, 14, 10215, 261, 560, 37646, 17286, 38455, 14, 82, 6814, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 19796, 262, 1271, 286, 3871, 739, 262, 2479, 286, 8454, 3025, 4165, 4369, 318, 37151, 37646, 4369, 14, 10215, 261, 560, 37646, 17286, 38455, 14, 82, 6814, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, ...
What was the location of the game against the Houston Oilers?
SELECT location FROM table_name_3 WHERE opponent = "houston oilers"
[ 2061, 373, 262, 4067, 286, 262, 983, 1028, 262, 6995, 35004, 30, 46506, 4067, 16034, 3084, 62, 3672, 62, 18, 33411, 6125, 796, 366, 71, 6526, 3056, 364, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 4067, 286, 262, 983, 1028, 262, 6995, 35004, 30, 46506, 4067, 16034, 3084, 62, 3672, 62, 18, 33411, 6125, 796, 366, 71, 6526, 3056, 364, 1 ]
What is the To par for the player that won in 2003, with a total larger than 145?
SELECT COUNT("To par") FROM table_13574 WHERE "Year(s) won" = '2003' AND "Total" > '145'
[ 2061, 318, 262, 1675, 1582, 329, 262, 2137, 326, 1839, 287, 5816, 11, 351, 257, 2472, 4025, 621, 20299, 30, 46506, 327, 28270, 7203, 2514, 1582, 4943, 16034, 3084, 62, 1485, 46900, 33411, 366, 17688, 7, 82, 8, 1839, 1, 796, 705, 160...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1675, 1582, 329, 262, 2137, 326, 1839, 287, 5816, 11, 351, 257, 2472, 4025, 621, 20299, 30, 46506, 327, 28270, 7203, 2514, 1582, 4943, 16034, 3084, 62, 1485, 46900, 33411, 366, 17688, 7, 82, 8, 1839, 1, 796, 705, 160...
What date did the opponent George Khrikadze play?
SELECT date FROM table_name_97 WHERE opponent = "george khrikadze"
[ 2061, 3128, 750, 262, 6125, 4502, 5311, 12602, 324, 2736, 711, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 5607, 33411, 6125, 796, 366, 469, 3643, 44081, 12602, 324, 2736, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 3128, 750, 262, 6125, 4502, 5311, 12602, 324, 2736, 711, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 5607, 33411, 6125, 796, 366, 469, 3643, 44081, 12602, 324, 2736, 1 ]
count the number of patients whose admission year is less than 2148 and lab test category is hematology?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admityear < "2148" AND lab."CATEGORY" = "Hematology"
[ 9127, 262, 1271, 286, 3871, 3025, 13938, 614, 318, 1342, 621, 362, 18294, 290, 2248, 1332, 6536, 318, 339, 6759, 1435, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 126...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9127, 262, 1271, 286, 3871, 3025, 13938, 614, 318, 1342, 621, 362, 18294, 290, 2248, 1332, 6536, 318, 339, 6759, 1435, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 126...
In Pakistan, what was the total freshwater withdrawal (km 3 /yr) where the agricultural use (m 3 /p/yr)(in %) was 1029(96%)?
SELECT "Total Freshwater Withdrawal (km 3 /yr)" FROM table_20406 WHERE "Agricultural Use (m 3 /p/yr)(in %)" = '1029(96%)'
[ 818, 7648, 11, 644, 373, 262, 2472, 40941, 15220, 357, 13276, 513, 1220, 2417, 8, 810, 262, 14240, 779, 357, 76, 513, 1220, 79, 14, 2417, 5769, 259, 4064, 8, 373, 838, 1959, 7, 4846, 4407, 30, 46506, 366, 14957, 20138, 7050, 2080, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 818, 7648, 11, 644, 373, 262, 2472, 40941, 15220, 357, 13276, 513, 1220, 2417, 8, 810, 262, 14240, 779, 357, 76, 513, 1220, 79, 14, 2417, 5769, 259, 4064, 8, 373, 838, 1959, 7, 4846, 4407, 30, 46506, 366, 14957, 20138, 7050, 2080, ...
Which Run 4 has Athletes of alexandru frimu & costel r dulescu?
SELECT run_4 FROM table_name_37 WHERE athletes = "alexandru frimu & costel rădulescu"
[ 13828, 5660, 604, 468, 18093, 274, 286, 257, 2588, 392, 622, 1216, 320, 84, 1222, 1575, 417, 374, 288, 377, 3798, 84, 30, 46506, 1057, 62, 19, 16034, 3084, 62, 3672, 62, 2718, 33411, 10856, 796, 366, 1000, 87, 392, 622, 1216, 320, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5660, 604, 468, 18093, 274, 286, 257, 2588, 392, 622, 1216, 320, 84, 1222, 1575, 417, 374, 288, 377, 3798, 84, 30, 46506, 1057, 62, 19, 16034, 3084, 62, 3672, 62, 2718, 33411, 10856, 796, 366, 1000, 87, 392, 622, 1216, 320, ...
Name the interacting for need of protection
SELECT interacting__settings_ FROM table_name_87 WHERE need = "protection"
[ 5376, 262, 24986, 329, 761, 286, 4800, 46506, 24986, 834, 33692, 62, 16034, 3084, 62, 3672, 62, 5774, 33411, 761, 796, 366, 42846, 1 ]
[ 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, 24986, 329, 761, 286, 4800, 46506, 24986, 834, 33692, 62, 16034, 3084, 62, 3672, 62, 5774, 33411, 761, 796, 366, 42846, 1 ]
Name the polyunsaturated fat with total fat of 100g and saturated fat of 7g
SELECT polyunsaturated_fat FROM table_name_39 WHERE total_fat = "100g" AND saturated_fat = "7g"
[ 5376, 262, 7514, 13271, 30192, 3735, 351, 2472, 3735, 286, 1802, 70, 290, 24725, 3735, 286, 767, 70, 46506, 7514, 13271, 30192, 62, 17359, 16034, 3084, 62, 3672, 62, 2670, 33411, 2472, 62, 17359, 796, 366, 3064, 70, 1, 5357, 24725, 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 ]
[ 5376, 262, 7514, 13271, 30192, 3735, 351, 2472, 3735, 286, 1802, 70, 290, 24725, 3735, 286, 767, 70, 46506, 7514, 13271, 30192, 62, 17359, 16034, 3084, 62, 3672, 62, 2670, 33411, 2472, 62, 17359, 796, 366, 3064, 70, 1, 5357, 24725, 62...
Which opponent had round 1?
SELECT "Opponent" FROM table_53593 WHERE "Round" = '1'
[ 13828, 6125, 550, 2835, 352, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 44465, 6052, 33411, 366, 22685, 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 ]
[ 13828, 6125, 550, 2835, 352, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 44465, 6052, 33411, 366, 22685, 1, 796, 705, 16, 6 ]
give me the number of patients whose ethnicity is hispanic/latino - puerto rican and drug name is sulfamethoxazole-trimethoprim?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.ethnicity = "HISPANIC/LATINO - PUERTO RICAN" AND prescriptions.drug = "Sulfamethoxazole-Trimethoprim"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 26289, 318, 465, 35843, 14, 15460, 2879, 532, 47574, 13806, 374, 7490, 290, 2563, 1438, 318, 22443, 321, 2788, 1140, 1031, 2305, 12, 2213, 320, 2788, 404, 3036, 30, 46506, 327, 28270, 7, 35, 880...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 26535, 502, 262, 1271, 286, 3871, 3025, 26289, 318, 465, 35843, 14, 15460, 2879, 532, 47574, 13806, 374, 7490, 290, 2563, 1438, 318, 22443, 321, 2788, 1140, 1031, 2305, 12, 2213, 320, 2788, 404, 3036, 30, 46506, 327, 28270, 7, 35, 880...
What place did jacky cupit take when his To par was under 13?
SELECT "Place" FROM table_46671 WHERE "To par" < '13' AND "Player" = 'jacky cupit'
[ 2061, 1295, 750, 14509, 88, 6508, 270, 1011, 618, 465, 1675, 1582, 373, 739, 1511, 30, 46506, 366, 27271, 1, 16034, 3084, 62, 42199, 4869, 33411, 366, 2514, 1582, 1, 1279, 705, 1485, 6, 5357, 366, 14140, 1, 796, 705, 19650, 88, 6508...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1295, 750, 14509, 88, 6508, 270, 1011, 618, 465, 1675, 1582, 373, 739, 1511, 30, 46506, 366, 27271, 1, 16034, 3084, 62, 42199, 4869, 33411, 366, 2514, 1582, 1, 1279, 705, 1485, 6, 5357, 366, 14140, 1, 796, 705, 19650, 88, 6508...
What was the us airdate for 'Bear Breasts'?
SELECT "U.S. airdate" FROM table_24040 WHERE "Title" = 'Bear Breasts'
[ 2061, 373, 262, 514, 257, 1447, 378, 329, 705, 36352, 3719, 5773, 30960, 46506, 366, 52, 13, 50, 13, 257, 1447, 378, 1, 16034, 3084, 62, 16102, 1821, 33411, 366, 19160, 1, 796, 705, 36352, 3719, 5773, 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 ]
[ 2061, 373, 262, 514, 257, 1447, 378, 329, 705, 36352, 3719, 5773, 30960, 46506, 366, 52, 13, 50, 13, 257, 1447, 378, 1, 16034, 3084, 62, 16102, 1821, 33411, 366, 19160, 1, 796, 705, 36352, 3719, 5773, 6 ]
What average bronze has a total less than 1?
SELECT AVG(bronze) FROM table_name_29 WHERE total < 1
[ 2061, 2811, 22101, 468, 257, 2472, 1342, 621, 352, 30, 46506, 35224, 7, 65, 1313, 2736, 8, 16034, 3084, 62, 3672, 62, 1959, 33411, 2472, 1279, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 2811, 22101, 468, 257, 2472, 1342, 621, 352, 30, 46506, 35224, 7, 65, 1313, 2736, 8, 16034, 3084, 62, 3672, 62, 1959, 33411, 2472, 1279, 352 ]
In 1992, what class has higher wins than 0?
SELECT "Class" FROM table_65890 WHERE "Wins" > '0' AND "Year" = '1992'
[ 818, 9768, 11, 644, 1398, 468, 2440, 7864, 621, 657, 30, 46506, 366, 9487, 1, 16034, 3084, 62, 38431, 3829, 33411, 366, 54, 1040, 1, 1875, 705, 15, 6, 5357, 366, 17688, 1, 796, 705, 23847, 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 ]
[ 818, 9768, 11, 644, 1398, 468, 2440, 7864, 621, 657, 30, 46506, 366, 9487, 1, 16034, 3084, 62, 38431, 3829, 33411, 366, 54, 1040, 1, 1875, 705, 15, 6, 5357, 366, 17688, 1, 796, 705, 23847, 6 ]
What is Place, when Player is 'John Cook'?
SELECT place FROM table_name_49 WHERE player = "john cook"
[ 2061, 318, 8474, 11, 618, 7853, 318, 705, 7554, 8261, 30960, 46506, 1295, 16034, 3084, 62, 3672, 62, 2920, 33411, 2137, 796, 366, 30686, 4255, 1 ]
[ 1, 1, 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, 8474, 11, 618, 7853, 318, 705, 7554, 8261, 30960, 46506, 1295, 16034, 3084, 62, 3672, 62, 2920, 33411, 2137, 796, 366, 30686, 4255, 1 ]
Show all main industry and total market value in each industry, show in asc by the x-axis.
SELECT Main_Industry, SUM(Market_Value) FROM company GROUP BY Main_Industry ORDER BY Main_Industry
[ 15307, 477, 1388, 2831, 290, 2472, 1910, 1988, 287, 1123, 2831, 11, 905, 287, 10570, 416, 262, 2124, 12, 22704, 13, 46506, 8774, 62, 35848, 563, 11, 35683, 7, 27470, 62, 11395, 8, 16034, 1664, 44441, 11050, 8774, 62, 35848, 563, 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, 477, 1388, 2831, 290, 2472, 1910, 1988, 287, 1123, 2831, 11, 905, 287, 10570, 416, 262, 2124, 12, 22704, 13, 46506, 8774, 62, 35848, 563, 11, 35683, 7, 27470, 62, 11395, 8, 16034, 1664, 44441, 11050, 8774, 62, 35848, 563, 38678...
With the score of 6 3, 2 6, [10 8] and played on clay who was the opponent?
SELECT "Opponent" FROM table_39057 WHERE "Surface" = 'clay' AND "Score" = '6–3, 2–6, [10–8]'
[ 3152, 262, 4776, 286, 718, 513, 11, 362, 718, 11, 685, 940, 807, 60, 290, 2826, 319, 21558, 508, 373, 262, 6125, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 2670, 43526, 33411, 366, 14214, 2550, 1, 796, 705, 565, 323, 6, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 3152, 262, 4776, 286, 718, 513, 11, 362, 718, 11, 685, 940, 807, 60, 290, 2826, 319, 21558, 508, 373, 262, 6125, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 2670, 43526, 33411, 366, 14214, 2550, 1, 796, 705, 565, 323, 6, 5357...
count the number of patients whose ethnicity is hispanic/latino - puerto rican and days of hospital stay is greater than 15?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "HISPANIC/LATINO - PUERTO RICAN" AND demographic.days_stay > "15"
[ 9127, 262, 1271, 286, 3871, 3025, 26289, 318, 465, 35843, 14, 15460, 2879, 532, 47574, 13806, 374, 7490, 290, 1528, 286, 4436, 2652, 318, 3744, 621, 1315, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9127, 262, 1271, 286, 3871, 3025, 26289, 318, 465, 35843, 14, 15460, 2879, 532, 47574, 13806, 374, 7490, 290, 1528, 286, 4436, 2652, 318, 3744, 621, 1315, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, ...
show me flights from ATLANTA to WASHINGTON
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'ATLANTA' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'WASHIN...
[ 12860, 502, 13956, 422, 5161, 25697, 5603, 284, 370, 19436, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12860, 502, 13956, 422, 5161, 25697, 5603, 284, 370, 19436, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009...
What are all role codes?
SELECT role_code FROM ROLES
[ 2061, 389, 477, 2597, 12416, 30, 46506, 2597, 62, 8189, 16034, 371, 3535, 1546 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 477, 2597, 12416, 30, 46506, 2597, 62, 8189, 16034, 371, 3535, 1546 ]
Solving the (RE)SOLVED title issue!.
SELECT p.Id AS "post_link", p.CreationDate, p.LastActivityDate, p.AcceptedAnswerId, p.ClosedDate FROM Posts AS p WHERE UPPER(p.Title) LIKE '%SOLVED%' ORDER BY p.CreationDate DESC
[ 50, 10890, 262, 357, 2200, 8, 50, 3535, 53, 1961, 3670, 2071, 43179, 46506, 279, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 279, 13, 12443, 341, 10430, 11, 279, 13, 5956, 16516, 10430, 11, 279, 13, 38855, 276, 33706, 7390, 11, 279, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 50, 10890, 262, 357, 2200, 8, 50, 3535, 53, 1961, 3670, 2071, 43179, 46506, 279, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 279, 13, 12443, 341, 10430, 11, 279, 13, 5956, 16516, 10430, 11, 279, 13, 38855, 276, 33706, 7390, 11, 279, ...
What is the total gold that has bronze less than 2, a silver of 1 and total more than 4?
SELECT SUM(gold) FROM table_name_32 WHERE bronze < 2 AND silver = 1 AND total > 4
[ 2061, 318, 262, 2472, 3869, 326, 468, 22101, 1342, 621, 362, 11, 257, 8465, 286, 352, 290, 2472, 517, 621, 604, 30, 46506, 35683, 7, 24267, 8, 16034, 3084, 62, 3672, 62, 2624, 33411, 22101, 1279, 362, 5357, 8465, 796, 352, 5357, 247...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3869, 326, 468, 22101, 1342, 621, 362, 11, 257, 8465, 286, 352, 290, 2472, 517, 621, 604, 30, 46506, 35683, 7, 24267, 8, 16034, 3084, 62, 3672, 62, 2624, 33411, 22101, 1279, 362, 5357, 8465, 796, 352, 5357, 247...
who did the tigers face for their first win of the 2008 season ?
SELECT "opponent#" FROM table_204_858 WHERE "result" = 'w' ORDER BY "date" LIMIT 1
[ 8727, 750, 262, 43114, 1986, 329, 511, 717, 1592, 286, 262, 3648, 1622, 5633, 46506, 366, 10365, 3471, 2, 1, 16034, 3084, 62, 18638, 62, 23, 3365, 33411, 366, 20274, 1, 796, 705, 86, 6, 38678, 11050, 366, 4475, 1, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8727, 750, 262, 43114, 1986, 329, 511, 717, 1592, 286, 262, 3648, 1622, 5633, 46506, 366, 10365, 3471, 2, 1, 16034, 3084, 62, 18638, 62, 23, 3365, 33411, 366, 20274, 1, 796, 705, 86, 6, 38678, 11050, 366, 4475, 1, 27564, 2043, 352 ]
What entrant has a year earlier than 1960 and a veritas straight-6 engine?
SELECT entrant FROM table_name_77 WHERE year < 1960 AND engine = "veritas straight-6"
[ 2061, 920, 5250, 468, 257, 614, 2961, 621, 9507, 290, 257, 3326, 21416, 3892, 12, 21, 3113, 30, 46506, 920, 5250, 16034, 3084, 62, 3672, 62, 3324, 33411, 614, 1279, 9507, 5357, 3113, 796, 366, 332, 21416, 3892, 12, 21, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 920, 5250, 468, 257, 614, 2961, 621, 9507, 290, 257, 3326, 21416, 3892, 12, 21, 3113, 30, 46506, 920, 5250, 16034, 3084, 62, 3672, 62, 3324, 33411, 614, 1279, 9507, 5357, 3113, 796, 366, 332, 21416, 3892, 12, 21, 1 ]
heart rate < 45 or > 100 ;
SELECT * FROM table_train_90 WHERE heart_rate < 45 OR heart_rate > 100
[ 11499, 2494, 1279, 4153, 393, 1875, 1802, 2162, 46506, 1635, 16034, 3084, 62, 27432, 62, 3829, 33411, 2612, 62, 4873, 1279, 4153, 6375, 2612, 62, 4873, 1875, 1802 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 11499, 2494, 1279, 4153, 393, 1875, 1802, 2162, 46506, 1635, 16034, 3084, 62, 27432, 62, 3829, 33411, 2612, 62, 4873, 1279, 4153, 6375, 2612, 62, 4873, 1875, 1802 ]
when was the last time that patient 86791 was prescribed with furosemide and levofloxacin at the same time in 08/last year?
SELECT t1.startdate FROM (SELECT admissions.subject_id, prescriptions.startdate FROM prescriptions JOIN admissions ON prescriptions.hadm_id = admissions.hadm_id WHERE prescriptions.drug = 'furosemide' AND admissions.subject_id = 86791 AND DATETIME(prescriptions.startdate, 'start of year') = DATETIME(CURRENT_TIME(), 'st...
[ 12518, 373, 262, 938, 640, 326, 5827, 807, 3134, 6420, 373, 14798, 351, 277, 1434, 43616, 485, 290, 23145, 1659, 75, 1140, 330, 259, 379, 262, 976, 640, 287, 8487, 14, 12957, 614, 30, 46506, 256, 16, 13, 9688, 4475, 16034, 357, 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...
[ 12518, 373, 262, 938, 640, 326, 5827, 807, 3134, 6420, 373, 14798, 351, 277, 1434, 43616, 485, 290, 23145, 1659, 75, 1140, 330, 259, 379, 262, 976, 640, 287, 8487, 14, 12957, 614, 30, 46506, 256, 16, 13, 9688, 4475, 16034, 357, 4650...
has patient 8245 actually visited the hospital during the previous year?
SELECT COUNT(*) > 0 FROM admissions WHERE admissions.subject_id = 8245 AND DATETIME(admissions.admittime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year')
[ 10134, 5827, 807, 22995, 1682, 8672, 262, 4436, 1141, 262, 2180, 614, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 807, 22995, 5357, 360, 1404, 2767, 12789, 7, 324, 8481, 13, 324, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10134, 5827, 807, 22995, 1682, 8672, 262, 4436, 1141, 262, 2180, 614, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 807, 22995, 5357, 360, 1404, 2767, 12789, 7, 324, 8481, 13, 324, 20...
count the number of patients whose drug code is olan5 and lab test fluid is cerebrospinal fluid (csf).
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE prescriptions.formulary_drug_cd = "OLAN5" AND lab.fluid = "Cerebrospinal Fluid (CSF)"
[ 9127, 262, 1271, 286, 3871, 3025, 2563, 2438, 318, 267, 9620, 20, 290, 2248, 1332, 11711, 318, 6736, 7957, 2777, 1292, 11711, 357, 6359, 69, 737, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9127, 262, 1271, 286, 3871, 3025, 2563, 2438, 318, 267, 9620, 20, 290, 2248, 1332, 11711, 318, 6736, 7957, 2777, 1292, 11711, 357, 6359, 69, 737, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, ...
How many FG percent values are associated with 59 assists and offensive rebounds under 40?
SELECT COUNT("FG Pct") FROM table_75821 WHERE "Asst" = '59' AND "Off Reb" < '40'
[ 2437, 867, 25503, 1411, 3815, 389, 3917, 351, 7863, 13648, 290, 5859, 18841, 739, 2319, 30, 46506, 327, 28270, 7203, 30386, 350, 310, 4943, 16034, 3084, 62, 38569, 2481, 33411, 366, 1722, 301, 1, 796, 705, 3270, 6, 5357, 366, 9362, 15...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 25503, 1411, 3815, 389, 3917, 351, 7863, 13648, 290, 5859, 18841, 739, 2319, 30, 46506, 327, 28270, 7203, 30386, 350, 310, 4943, 16034, 3084, 62, 38569, 2481, 33411, 366, 1722, 301, 1, 796, 705, 3270, 6, 5357, 366, 9362, 15...
Who was the incoming manager for the date of appointment of 15 january 2011?
SELECT "Incoming manager" FROM table_29168 WHERE "Date of appointment" = '15 January 2011'
[ 8241, 373, 262, 15619, 4706, 329, 262, 3128, 286, 12557, 286, 1315, 42897, 2838, 2813, 30, 46506, 366, 818, 4976, 4706, 1, 16034, 3084, 62, 1959, 14656, 33411, 366, 10430, 286, 12557, 1, 796, 705, 1314, 3269, 2813, 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 ]
[ 8241, 373, 262, 15619, 4706, 329, 262, 3128, 286, 12557, 286, 1315, 42897, 2838, 2813, 30, 46506, 366, 818, 4976, 4706, 1, 16034, 3084, 62, 1959, 14656, 33411, 366, 10430, 286, 12557, 1, 796, 705, 1314, 3269, 2813, 6 ]
What County has a Median Family Income of $79,331?
SELECT county FROM table_name_3 WHERE median_family_income = "$79,331"
[ 2061, 3418, 468, 257, 26178, 7884, 19003, 286, 720, 3720, 11, 31697, 30, 46506, 7968, 16034, 3084, 62, 3672, 62, 18, 33411, 14288, 62, 17989, 62, 12519, 796, 17971, 3720, 11, 31697, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3418, 468, 257, 26178, 7884, 19003, 286, 720, 3720, 11, 31697, 30, 46506, 7968, 16034, 3084, 62, 3672, 62, 18, 33411, 14288, 62, 17989, 62, 12519, 796, 17971, 3720, 11, 31697, 1 ]
How much money was there when the to par was 15?
SELECT SUM("Money ( $ )") FROM table_62090 WHERE "To par" = '15'
[ 2437, 881, 1637, 373, 612, 618, 262, 284, 1582, 373, 1315, 30, 46506, 35683, 7203, 26788, 357, 720, 1267, 4943, 16034, 3084, 62, 38850, 3829, 33411, 366, 2514, 1582, 1, 796, 705, 1314, 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 ]
[ 2437, 881, 1637, 373, 612, 618, 262, 284, 1582, 373, 1315, 30, 46506, 35683, 7203, 26788, 357, 720, 1267, 4943, 16034, 3084, 62, 38850, 3829, 33411, 366, 2514, 1582, 1, 796, 705, 1314, 6 ]