instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
What was the score of the 7:00pm game at Scotiabank Place against the Philadelphia Flyers?
SELECT "Score" FROM table_47357 WHERE "Time" = '7:00pm' AND "Location" = 'scotiabank place' AND "Opponent" = 'philadelphia flyers'
[ 2061, 373, 262, 4776, 286, 262, 767, 25, 405, 4426, 983, 379, 1446, 5092, 397, 962, 8474, 1028, 262, 8857, 30652, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 2857, 27277, 33411, 366, 7575, 1, 796, 705, 22, 25, 405, 4426, 6, 5357, 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...
[ 2061, 373, 262, 4776, 286, 262, 767, 25, 405, 4426, 983, 379, 1446, 5092, 397, 962, 8474, 1028, 262, 8857, 30652, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 2857, 27277, 33411, 366, 7575, 1, 796, 705, 22, 25, 405, 4426, 6, 5357, 3...
What was the score on January 16, 2010?
SELECT score FROM table_name_25 WHERE date = "january 16, 2010"
[ 2061, 373, 262, 4776, 319, 3269, 1467, 11, 3050, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 1495, 33411, 3128, 796, 366, 13881, 2838, 1467, 11, 3050, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 4776, 319, 3269, 1467, 11, 3050, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 1495, 33411, 3128, 796, 366, 13881, 2838, 1467, 11, 3050, 1 ]
What is the lowest rank of Ukraine with fewer than 14 silver medals, fewer than 3 bronze medals, and a total of 4 medals?
SELECT MIN("Rank") FROM table_71298 WHERE "Silver" < '14' AND "Bronze" < '3' AND "Total" = '4' AND "Nation" = 'ukraine'
[ 2061, 318, 262, 9016, 4279, 286, 7049, 351, 7380, 621, 1478, 8465, 28057, 11, 7380, 621, 513, 22101, 28057, 11, 290, 257, 2472, 286, 604, 28057, 30, 46506, 20625, 7203, 27520, 4943, 16034, 3084, 62, 49517, 4089, 33411, 366, 26766, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 318, 262, 9016, 4279, 286, 7049, 351, 7380, 621, 1478, 8465, 28057, 11, 7380, 621, 513, 22101, 28057, 11, 290, 257, 2472, 286, 604, 28057, 30, 46506, 20625, 7203, 27520, 4943, 16034, 3084, 62, 49517, 4089, 33411, 366, 26766, 1, ...
Compute the total the number of born state across born state as a pie chart.
SELECT born_state, COUNT(born_state) FROM head GROUP BY born_state
[ 7293, 1133, 262, 2472, 262, 1271, 286, 4642, 1181, 1973, 4642, 1181, 355, 257, 2508, 8262, 13, 46506, 4642, 62, 5219, 11, 327, 28270, 7, 6286, 62, 5219, 8, 16034, 1182, 44441, 11050, 4642, 62, 5219 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 7293, 1133, 262, 2472, 262, 1271, 286, 4642, 1181, 1973, 4642, 1181, 355, 257, 2508, 8262, 13, 46506, 4642, 62, 5219, 11, 327, 28270, 7, 6286, 62, 5219, 8, 16034, 1182, 44441, 11050, 4642, 62, 5219 ]
What country has signed type moving from porto?
SELECT "Country" FROM table_70764 WHERE "Type" = 'signed' AND "Moving from" = 'porto'
[ 2061, 1499, 468, 4488, 2099, 3867, 422, 2493, 78, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 24038, 2414, 33411, 366, 6030, 1, 796, 705, 32696, 6, 5357, 366, 33622, 422, 1, 796, 705, 634, 78, 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, 1499, 468, 4488, 2099, 3867, 422, 2493, 78, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 24038, 2414, 33411, 366, 6030, 1, 796, 705, 32696, 6, 5357, 366, 33622, 422, 1, 796, 705, 634, 78, 6 ]
Name the goals for mauricio pochettino
SELECT "Goals\u00b9" FROM table_26958 WHERE "Name" = 'Mauricio Pochettino'
[ 5376, 262, 4661, 329, 285, 2899, 46441, 279, 420, 17442, 2879, 46506, 366, 5247, 874, 59, 84, 405, 65, 24, 1, 16034, 3084, 62, 26276, 3365, 33411, 366, 5376, 1, 796, 705, 44, 2899, 46441, 39375, 17442, 2879, 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 ]
[ 5376, 262, 4661, 329, 285, 2899, 46441, 279, 420, 17442, 2879, 46506, 366, 5247, 874, 59, 84, 405, 65, 24, 1, 16034, 3084, 62, 26276, 3365, 33411, 366, 5376, 1, 796, 705, 44, 2899, 46441, 39375, 17442, 2879, 6 ]
from WASHINGTON to PHILADELPHIA departing in the afternoon
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, state WHERE (CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'WASHINGTON' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_nam...
[ 6738, 370, 19436, 284, 9370, 4146, 2885, 3698, 11909, 3539, 37717, 287, 262, 6672, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 6738, 370, 19436, 284, 9370, 4146, 2885, 3698, 11909, 3539, 37717, 287, 262, 6672, 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, ...
Name the date for oliver stone
SELECT date FROM table_1566852_5 WHERE interview_subject = "Oliver Stone"
[ 5376, 262, 3128, 329, 25776, 1428, 7815, 46506, 3128, 16034, 3084, 62, 1314, 35809, 4309, 62, 20, 33411, 2720, 62, 32796, 796, 366, 30098, 1428, 8026, 1 ]
[ 1, 1, 1, 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, 3128, 329, 25776, 1428, 7815, 46506, 3128, 16034, 3084, 62, 1314, 35809, 4309, 62, 20, 33411, 2720, 62, 32796, 796, 366, 30098, 1428, 8026, 1 ]
What is the title of ISBN 1-84990-243-7?
SELECT "Title" FROM table_74395 WHERE "ISBN" = 'ISBN 1-84990-243-7'
[ 2061, 318, 262, 3670, 286, 32429, 352, 12, 5705, 34155, 12, 26660, 12, 22, 30, 46506, 366, 19160, 1, 16034, 3084, 62, 4524, 31010, 33411, 366, 1797, 15766, 1, 796, 705, 1797, 15766, 352, 12, 5705, 34155, 12, 26660, 12, 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 ]
[ 2061, 318, 262, 3670, 286, 32429, 352, 12, 5705, 34155, 12, 26660, 12, 22, 30, 46506, 366, 19160, 1, 16034, 3084, 62, 4524, 31010, 33411, 366, 1797, 15766, 1, 796, 705, 1797, 15766, 352, 12, 5705, 34155, 12, 26660, 12, 22, 6 ]
What is the total number of rank with losses less than 992, North Carolina State College and a season greater than 101?
SELECT COUNT(rank) FROM table_name_87 WHERE losses < 992 AND college = "north carolina state" AND seasons > 101
[ 2061, 318, 262, 2472, 1271, 286, 4279, 351, 9089, 1342, 621, 860, 5892, 11, 2258, 5913, 1812, 5535, 290, 257, 1622, 3744, 621, 8949, 30, 46506, 327, 28270, 7, 43027, 8, 16034, 3084, 62, 3672, 62, 5774, 33411, 9089, 1279, 860, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2472, 1271, 286, 4279, 351, 9089, 1342, 621, 860, 5892, 11, 2258, 5913, 1812, 5535, 290, 257, 1622, 3744, 621, 8949, 30, 46506, 327, 28270, 7, 43027, 8, 16034, 3084, 62, 3672, 62, 5774, 33411, 9089, 1279, 860, 5892, ...
Which episodes has the lowest average ratings of 8.7%?
SELECT MIN(episodes) FROM table_name_65 WHERE average_ratings = "8.7%"
[ 13828, 8640, 468, 262, 9016, 2811, 10109, 286, 807, 13, 22, 4, 30, 46506, 20625, 7, 538, 8052, 8, 16034, 3084, 62, 3672, 62, 2996, 33411, 2811, 62, 10366, 654, 796, 366, 23, 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 ]
[ 13828, 8640, 468, 262, 9016, 2811, 10109, 286, 807, 13, 22, 4, 30, 46506, 20625, 7, 538, 8052, 8, 16034, 3084, 62, 3672, 62, 2996, 33411, 2811, 62, 10366, 654, 796, 366, 23, 13, 22, 39658 ]
What is the lowest number of cf wins of the chicago blackhawks, which has more than 4 cf appearances, a last cf in 2013, and more than 2 cup wins?
SELECT MIN(cf_wins) FROM table_name_1 WHERE cf_appearances > 4 AND last_cf = 2013 AND team = "chicago blackhawks" AND cup_wins > 2
[ 2061, 318, 262, 9016, 1271, 286, 30218, 7864, 286, 262, 442, 4549, 2042, 27221, 11, 543, 468, 517, 621, 604, 30218, 11057, 11, 257, 938, 30218, 287, 2211, 11, 290, 517, 621, 362, 6508, 7864, 30, 46506, 20625, 7, 12993, 62, 86, 1040,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 318, 262, 9016, 1271, 286, 30218, 7864, 286, 262, 442, 4549, 2042, 27221, 11, 543, 468, 517, 621, 604, 30218, 11057, 11, 257, 938, 30218, 287, 2211, 11, 290, 517, 621, 362, 6508, 7864, 30, 46506, 20625, 7, 12993, 62, 86, 1040,...
A bar chart for what are the number of the descriptions of the service types with product price above 100?, and order by the x axis in descending.
SELECT Service_Type_Description, COUNT(Service_Type_Description) FROM Ref_Service_Types AS T1 JOIN Services AS T2 ON T1.Service_Type_Code = T2.Service_Type_Code WHERE T2.Product_Price > 100 GROUP BY Service_Type_Description ORDER BY Service_Type_Description DESC
[ 32, 2318, 8262, 329, 644, 389, 262, 1271, 286, 262, 16969, 286, 262, 2139, 3858, 351, 1720, 2756, 2029, 1802, 21747, 290, 1502, 416, 262, 2124, 16488, 287, 31491, 13, 46506, 4809, 62, 6030, 62, 11828, 11, 327, 28270, 7, 16177, 62, 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...
[ 32, 2318, 8262, 329, 644, 389, 262, 1271, 286, 262, 16969, 286, 262, 2139, 3858, 351, 1720, 2756, 2029, 1802, 21747, 290, 1502, 416, 262, 2124, 16488, 287, 31491, 13, 46506, 4809, 62, 6030, 62, 11828, 11, 327, 28270, 7, 16177, 62, 6...
What is the exit date of the player transferred to Reggina for free?
SELECT exit_date FROM table_name_19 WHERE transfer_fee = "free" AND to_club = "reggina"
[ 2061, 318, 262, 8420, 3128, 286, 262, 2137, 11172, 284, 797, 1130, 1437, 329, 1479, 30, 46506, 8420, 62, 4475, 16034, 3084, 62, 3672, 62, 1129, 33411, 4351, 62, 39071, 796, 366, 5787, 1, 5357, 284, 62, 18664, 796, 366, 260, 1130, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 8420, 3128, 286, 262, 2137, 11172, 284, 797, 1130, 1437, 329, 1479, 30, 46506, 8420, 62, 4475, 16034, 3084, 62, 3672, 62, 1129, 33411, 4351, 62, 39071, 796, 366, 5787, 1, 5357, 284, 62, 18664, 796, 366, 260, 1130, 14...
What is the latest year with a 34-0 result?
SELECT MAX(year) FROM table_name_60 WHERE result = "34-0"
[ 2061, 318, 262, 3452, 614, 351, 257, 4974, 12, 15, 1255, 30, 46506, 25882, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 1899, 33411, 1255, 796, 366, 2682, 12, 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 ]
[ 2061, 318, 262, 3452, 614, 351, 257, 4974, 12, 15, 1255, 30, 46506, 25882, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 1899, 33411, 1255, 796, 366, 2682, 12, 15, 1 ]
When did the away team score 17.11 (113)?
SELECT "Date" FROM table_57840 WHERE "Away team score" = '17.11 (113)'
[ 2215, 750, 262, 1497, 1074, 4776, 1596, 13, 1157, 357, 16616, 19427, 46506, 366, 10430, 1, 16034, 3084, 62, 38907, 1821, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 1558, 13, 1157, 357, 16616, 33047 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 750, 262, 1497, 1074, 4776, 1596, 13, 1157, 357, 16616, 19427, 46506, 366, 10430, 1, 16034, 3084, 62, 38907, 1821, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 1558, 13, 1157, 357, 16616, 33047 ]
List the name and cost of all procedures sorted by the cost from the highest to the lowest.
SELECT name, cost FROM procedures ORDER BY cost DESC
[ 8053, 262, 1438, 290, 1575, 286, 477, 9021, 23243, 416, 262, 1575, 422, 262, 4511, 284, 262, 9016, 13, 46506, 1438, 11, 1575, 16034, 9021, 38678, 11050, 1575, 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 ]
[ 8053, 262, 1438, 290, 1575, 286, 477, 9021, 23243, 416, 262, 1575, 422, 262, 4511, 284, 262, 9016, 13, 46506, 1438, 11, 1575, 16034, 9021, 38678, 11050, 1575, 22196, 34 ]
What is the sum of revenue in Hong Kong with a rank greater than 42, less than $3.46 billion in assets, and greater than $0.17 billion in profits?
SELECT SUM(revenue__bn) AS $_ FROM table_name_98 WHERE assets__bn$_ < 3.46 AND headquarters = "hong kong" AND profit__bn$_ > 0.17 AND rank > 42
[ 2061, 318, 262, 2160, 286, 6426, 287, 9764, 9071, 351, 257, 4279, 3744, 621, 5433, 11, 1342, 621, 720, 18, 13, 3510, 2997, 287, 6798, 11, 290, 3744, 621, 720, 15, 13, 1558, 2997, 287, 10177, 30, 46506, 35683, 7, 260, 4080, 834, 93...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6426, 287, 9764, 9071, 351, 257, 4279, 3744, 621, 5433, 11, 1342, 621, 720, 18, 13, 3510, 2997, 287, 6798, 11, 290, 3744, 621, 720, 15, 13, 1558, 2997, 287, 10177, 30, 46506, 35683, 7, 260, 4080, 834, 93...
What is the arrival time of greenbat
SELECT MAX(arrival) FROM table_142159_1 WHERE name = "Greenbat"
[ 2061, 318, 262, 10325, 640, 286, 4077, 8664, 46506, 25882, 7, 283, 43171, 8, 16034, 3084, 62, 23726, 19707, 62, 16, 33411, 1438, 796, 366, 13719, 8664, 1 ]
[ 1, 1, 1, 1, 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, 10325, 640, 286, 4077, 8664, 46506, 25882, 7, 283, 43171, 8, 16034, 3084, 62, 23726, 19707, 62, 16, 33411, 1438, 796, 366, 13719, 8664, 1 ]
what is the number of players from australia in the open ?
SELECT COUNT("player") FROM table_204_679 WHERE "country" = 'australia'
[ 10919, 318, 262, 1271, 286, 1938, 422, 38132, 1373, 544, 287, 262, 1280, 5633, 46506, 327, 28270, 7203, 7829, 4943, 16034, 3084, 62, 18638, 62, 37601, 33411, 366, 19315, 1, 796, 705, 64, 436, 1373, 544, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 1271, 286, 1938, 422, 38132, 1373, 544, 287, 262, 1280, 5633, 46506, 327, 28270, 7203, 7829, 4943, 16034, 3084, 62, 18638, 62, 37601, 33411, 366, 19315, 1, 796, 705, 64, 436, 1373, 544, 6 ]
The trend about the the number of season of different Home_team over the season, and rank from high to low by the Season.
SELECT Season, COUNT(Season) FROM game GROUP BY Home_team ORDER BY Season DESC
[ 464, 5182, 546, 262, 262, 1271, 286, 1622, 286, 1180, 5995, 62, 15097, 625, 262, 1622, 11, 290, 4279, 422, 1029, 284, 1877, 416, 262, 7369, 13, 46506, 7369, 11, 327, 28270, 7, 18960, 8, 16034, 983, 44441, 11050, 5995, 62, 15097, 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 ]
[ 464, 5182, 546, 262, 262, 1271, 286, 1622, 286, 1180, 5995, 62, 15097, 625, 262, 1622, 11, 290, 4279, 422, 1029, 284, 1877, 416, 262, 7369, 13, 46506, 7369, 11, 327, 28270, 7, 18960, 8, 16034, 983, 44441, 11050, 5995, 62, 15097, 386...
Which player plays forward and is from Kentucky?
SELECT player FROM table_name_43 WHERE position = "forward" AND school_country = "kentucky"
[ 13828, 2137, 5341, 2651, 290, 318, 422, 11867, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 3559, 33411, 2292, 796, 366, 11813, 1, 5357, 1524, 62, 19315, 796, 366, 74, 298, 5309, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 2137, 5341, 2651, 290, 318, 422, 11867, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 3559, 33411, 2292, 796, 366, 11813, 1, 5357, 1524, 62, 19315, 796, 366, 74, 298, 5309, 1 ]
Bar graph to show how many yearid from different yearid
SELECT yearid, COUNT(yearid) FROM hall_of_fame
[ 10374, 4823, 284, 905, 703, 867, 614, 312, 422, 1180, 614, 312, 46506, 614, 312, 11, 327, 28270, 7, 1941, 312, 8, 16034, 6899, 62, 1659, 62, 69, 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 ]
[ 10374, 4823, 284, 905, 703, 867, 614, 312, 422, 1180, 614, 312, 46506, 614, 312, 11, 327, 28270, 7, 1941, 312, 8, 16034, 6899, 62, 1659, 62, 69, 480 ]
What are the number of the countries of all airlines whose names start with Orbit?, and I want to sort in descending by the bars.
SELECT country, COUNT(country) FROM airlines WHERE name LIKE 'Orbit%' GROUP BY country ORDER BY country DESC
[ 2061, 389, 262, 1271, 286, 262, 2678, 286, 477, 26225, 3025, 3891, 923, 351, 38161, 21747, 290, 314, 765, 284, 3297, 287, 31491, 416, 262, 9210, 13, 46506, 1499, 11, 327, 28270, 7, 19315, 8, 16034, 26225, 33411, 1438, 34178, 705, 5574...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 262, 1271, 286, 262, 2678, 286, 477, 26225, 3025, 3891, 923, 351, 38161, 21747, 290, 314, 765, 284, 3297, 287, 31491, 416, 262, 9210, 13, 46506, 1499, 11, 327, 28270, 7, 19315, 8, 16034, 26225, 33411, 1438, 34178, 705, 5574...
when was the last time that patient 49036 received a procedure of sm bowel endoscopy nec until 2104?
SELECT procedures_icd.charttime FROM procedures_icd WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'sm bowel endoscopy nec') AND procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 49036) AND S...
[ 12518, 373, 262, 938, 640, 326, 5827, 45601, 2623, 2722, 257, 8771, 286, 895, 35711, 886, 17500, 11081, 27576, 1566, 362, 13464, 30, 46506, 9021, 62, 291, 67, 13, 40926, 2435, 16034, 9021, 62, 291, 67, 33411, 9021, 62, 291, 67, 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...
[ 12518, 373, 262, 938, 640, 326, 5827, 45601, 2623, 2722, 257, 8771, 286, 895, 35711, 886, 17500, 11081, 27576, 1566, 362, 13464, 30, 46506, 9021, 62, 291, 67, 13, 40926, 2435, 16034, 9021, 62, 291, 67, 33411, 9021, 62, 291, 67, 13, ...
Create a pie chart showing how many headquarters across headquarters.
SELECT Headquarters, COUNT(Headquarters) FROM company GROUP BY Headquarters
[ 16447, 257, 2508, 8262, 4478, 703, 867, 10043, 1973, 10043, 13, 46506, 32193, 11, 327, 28270, 7, 13847, 8230, 8, 16034, 1664, 44441, 11050, 32193 ]
[ 1, 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, 2508, 8262, 4478, 703, 867, 10043, 1973, 10043, 13, 46506, 32193, 11, 327, 28270, 7, 13847, 8230, 8, 16034, 1664, 44441, 11050, 32193 ]
Show the average age of members for each coffee shop address in a bar chart.
SELECT Address, AVG(Age) FROM member GROUP BY Address ORDER BY Time_of_purchase
[ 15307, 262, 2811, 2479, 286, 1866, 329, 1123, 6891, 6128, 2209, 287, 257, 2318, 8262, 13, 46506, 17917, 11, 35224, 7, 23396, 8, 16034, 2888, 44441, 11050, 17917, 38678, 11050, 3862, 62, 1659, 62, 79, 18737 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 262, 2811, 2479, 286, 1866, 329, 1123, 6891, 6128, 2209, 287, 257, 2318, 8262, 13, 46506, 17917, 11, 35224, 7, 23396, 8, 16034, 2888, 44441, 11050, 17917, 38678, 11050, 3862, 62, 1659, 62, 79, 18737 ]
For those employees who do not work in departments with managers that have ids between 100 and 200, show me about the distribution of email and salary in a bar chart.
SELECT EMAIL, SALARY FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200)
[ 1890, 883, 4409, 508, 466, 407, 670, 287, 13346, 351, 11663, 326, 423, 220, 2340, 1022, 1802, 290, 939, 11, 905, 502, 546, 262, 6082, 286, 3053, 290, 9588, 287, 257, 2318, 8262, 13, 46506, 412, 5673, 4146, 11, 42475, 13153, 16034, 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...
[ 1890, 883, 4409, 508, 466, 407, 670, 287, 13346, 351, 11663, 326, 423, 220, 2340, 1022, 1802, 290, 939, 11, 905, 502, 546, 262, 6082, 286, 3053, 290, 9588, 287, 257, 2318, 8262, 13, 46506, 412, 5673, 4146, 11, 42475, 13153, 16034, 4...
who had high rebounds at game 69?
SELECT high_rebounds FROM table_27700375_10 WHERE game = 69
[ 8727, 550, 1029, 18841, 379, 983, 8644, 30, 46506, 1029, 62, 34806, 3733, 16034, 3084, 62, 1983, 9879, 22318, 62, 940, 33411, 983, 796, 8644 ]
[ 1, 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, 550, 1029, 18841, 379, 983, 8644, 30, 46506, 1029, 62, 34806, 3733, 16034, 3084, 62, 1983, 9879, 22318, 62, 940, 33411, 983, 796, 8644 ]
what was the name of the drug patient 009-5351 was allergic to it in 06/2105.
SELECT allergy.drugname FROM allergy WHERE allergy.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '009-5351')) AND STRFTIME('%y-%m', allergy.allergytime) = '2105-06'
[ 10919, 373, 262, 1438, 286, 262, 2563, 5827, 3571, 24, 12, 20, 35273, 373, 31856, 284, 340, 287, 9130, 14, 17, 13348, 13, 46506, 36197, 13, 30349, 3672, 16034, 36197, 33411, 36197, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 373, 262, 1438, 286, 262, 2563, 5827, 3571, 24, 12, 20, 35273, 373, 31856, 284, 340, 287, 9130, 14, 17, 13348, 13, 46506, 36197, 13, 30349, 3672, 16034, 36197, 33411, 36197, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, ...
count the number of patients whom 1000 ml flex cont : sodium chloride 0.9 % iv soln was prescribed during the same hospital visit after they had been diagnosed with dka since 6 years ago.
SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, diagnosis.diagnosistime, patient.patienthealthsystemstayid FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'dka' AND DATETIME(diagnosis.diagnosistime) >= DATETIME(CURRENT_TIME(), '-...
[ 9127, 262, 1271, 286, 3871, 4150, 8576, 25962, 7059, 542, 1058, 21072, 44921, 657, 13, 24, 4064, 21628, 1540, 77, 373, 14798, 1141, 262, 976, 4436, 3187, 706, 484, 550, 587, 14641, 351, 288, 4914, 1201, 718, 812, 2084, 13, 46506, 327,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4150, 8576, 25962, 7059, 542, 1058, 21072, 44921, 657, 13, 24, 4064, 21628, 1540, 77, 373, 14798, 1141, 262, 976, 4436, 3187, 706, 484, 550, 587, 14641, 351, 288, 4914, 1201, 718, 812, 2084, 13, 46506, 327,...
Calculate the average age of patients admitted in or after 2197 and are 44 years or older.
SELECT AVG(demographic.age) FROM demographic WHERE demographic.age >= "44" AND demographic.admityear >= "2197"
[ 9771, 3129, 378, 262, 2811, 2479, 286, 3871, 6848, 287, 393, 706, 362, 24991, 290, 389, 5846, 812, 393, 4697, 13, 46506, 35224, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 496, 18189, 366, 2598, 1, 5357, 16728, 13, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 9771, 3129, 378, 262, 2811, 2479, 286, 3871, 6848, 287, 393, 706, 362, 24991, 290, 389, 5846, 812, 393, 4697, 13, 46506, 35224, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 496, 18189, 366, 2598, 1, 5357, 16728, 13, 32...
What is the highest rank for the team that raced a time of 6:50.40?
SELECT MAX("Rank") FROM table_79377 WHERE "Time" = '6:50.40'
[ 2061, 318, 262, 4511, 4279, 329, 262, 1074, 326, 32897, 257, 640, 286, 718, 25, 1120, 13, 1821, 30, 46506, 25882, 7203, 27520, 4943, 16034, 3084, 62, 3720, 26514, 33411, 366, 7575, 1, 796, 705, 21, 25, 1120, 13, 1821, 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 ]
[ 2061, 318, 262, 4511, 4279, 329, 262, 1074, 326, 32897, 257, 640, 286, 718, 25, 1120, 13, 1821, 30, 46506, 25882, 7203, 27520, 4943, 16034, 3084, 62, 3720, 26514, 33411, 366, 7575, 1, 796, 705, 21, 25, 1120, 13, 1821, 6 ]
What was Peter Woolfolk's Total Rebound average?
SELECT SUM(total_rebounds) FROM table_name_59 WHERE player = "peter woolfolk"
[ 2061, 373, 5613, 24759, 19956, 338, 7472, 797, 7784, 2811, 30, 46506, 35683, 7, 23350, 62, 34806, 3733, 8, 16034, 3084, 62, 3672, 62, 3270, 33411, 2137, 796, 366, 79, 2357, 25749, 19956, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5613, 24759, 19956, 338, 7472, 797, 7784, 2811, 30, 46506, 35683, 7, 23350, 62, 34806, 3733, 8, 16034, 3084, 62, 3672, 62, 3270, 33411, 2137, 796, 366, 79, 2357, 25749, 19956, 1 ]
retrieve patient ids of individuals who have been diagnosed with dmi renl nt st uncntrld since 2105.
SELECT admissions.subject_id FROM admissions WHERE admissions.hadm_id IN (SELECT diagnoses_icd.hadm_id FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'dmi renl nt st uncntrld') AND STRFTIME('%y', diagnoses_icd.charttime) >= '...
[ 1186, 30227, 5827, 220, 2340, 286, 3925, 508, 423, 587, 14641, 351, 288, 11632, 8851, 75, 299, 83, 336, 4591, 429, 81, 335, 1201, 362, 13348, 13, 46506, 25349, 13, 32796, 62, 312, 16034, 25349, 33411, 25349, 13, 18108, 76, 62, 312, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1186, 30227, 5827, 220, 2340, 286, 3925, 508, 423, 587, 14641, 351, 288, 11632, 8851, 75, 299, 83, 336, 4591, 429, 81, 335, 1201, 362, 13348, 13, 46506, 25349, 13, 32796, 62, 312, 16034, 25349, 33411, 25349, 13, 18108, 76, 62, 312, ...
Who was the opponent for game 73?
SELECT opponent FROM table_name_10 WHERE game = "73"
[ 8241, 373, 262, 6125, 329, 983, 8854, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 940, 33411, 983, 796, 366, 4790, 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, 329, 983, 8854, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 940, 33411, 983, 796, 366, 4790, 1 ]
Please give me a pie chart showing institution types, along with the total enrollment for each type.
SELECT Type, SUM(Enrollment) FROM Institution GROUP BY Type
[ 5492, 1577, 502, 257, 2508, 8262, 4478, 9901, 3858, 11, 1863, 351, 262, 2472, 20753, 329, 1123, 2099, 13, 46506, 5994, 11, 35683, 7, 4834, 48108, 8, 16034, 29426, 44441, 11050, 5994 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 1577, 502, 257, 2508, 8262, 4478, 9901, 3858, 11, 1863, 351, 262, 2472, 20753, 329, 1123, 2099, 13, 46506, 5994, 11, 35683, 7, 4834, 48108, 8, 16034, 29426, 44441, 11050, 5994 ]
Which Record has a Week smaller than 15, and an Opponent of at new york jets?
SELECT record FROM table_name_48 WHERE week < 15 AND opponent = "at new york jets"
[ 13828, 13266, 468, 257, 6119, 4833, 621, 1315, 11, 290, 281, 9385, 3471, 286, 379, 649, 331, 967, 20792, 30, 46506, 1700, 16034, 3084, 62, 3672, 62, 2780, 33411, 1285, 1279, 1315, 5357, 6125, 796, 366, 265, 649, 331, 967, 20792, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13266, 468, 257, 6119, 4833, 621, 1315, 11, 290, 281, 9385, 3471, 286, 379, 649, 331, 967, 20792, 30, 46506, 1700, 16034, 3084, 62, 3672, 62, 2780, 33411, 1285, 1279, 1315, 5357, 6125, 796, 366, 265, 649, 331, 967, 20792, 1 ]
show the total amount of patient 14413's output on 06/15/2105.
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 = 14413)) AND STRFTIME('%y-%m-%d', outputevents.charttime) = '2105-06-15'
[ 12860, 262, 2472, 2033, 286, 5827, 20224, 1485, 338, 5072, 319, 9130, 14, 1314, 14, 17, 13348, 13, 46506, 35683, 7, 448, 79, 1133, 85, 658, 13, 8367, 8, 16034, 38701, 1133, 85, 658, 33411, 38701, 1133, 85, 658, 13, 291, 436, 323, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 262, 2472, 2033, 286, 5827, 20224, 1485, 338, 5072, 319, 9130, 14, 1314, 14, 17, 13348, 13, 46506, 35683, 7, 448, 79, 1133, 85, 658, 13, 8367, 8, 16034, 38701, 1133, 85, 658, 33411, 38701, 1133, 85, 658, 13, 291, 436, 323, ...
Who is the director of the original title perl oder pica?
SELECT "Director" FROM table_24754 WHERE "Original title" = 'Perl oder Pica'
[ 8241, 318, 262, 3437, 286, 262, 2656, 3670, 48746, 267, 1082, 279, 3970, 30, 46506, 366, 28702, 1, 16034, 3084, 62, 1731, 41874, 33411, 366, 20556, 3670, 1, 796, 705, 5990, 75, 267, 1082, 350, 3970, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 318, 262, 3437, 286, 262, 2656, 3670, 48746, 267, 1082, 279, 3970, 30, 46506, 366, 28702, 1, 16034, 3084, 62, 1731, 41874, 33411, 366, 20556, 3670, 1, 796, 705, 5990, 75, 267, 1082, 350, 3970, 6 ]
what player has one fa cup and one fl trophy ?
SELECT "name" FROM table_204_877 WHERE "fa cup" = 1 AND "fl trophy" = 1
[ 10919, 2137, 468, 530, 24685, 6508, 290, 530, 781, 16383, 5633, 46506, 366, 3672, 1, 16034, 3084, 62, 18638, 62, 42802, 33411, 366, 13331, 6508, 1, 796, 352, 5357, 366, 2704, 16383, 1, 796, 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 ]
[ 10919, 2137, 468, 530, 24685, 6508, 290, 530, 781, 16383, 5633, 46506, 366, 3672, 1, 16034, 3084, 62, 18638, 62, 42802, 33411, 366, 13331, 6508, 1, 796, 352, 5357, 366, 2704, 16383, 1, 796, 352 ]
which team was larger than the rest ?
SELECT "team" FROM table_204_162 GROUP BY "team" ORDER BY COUNT(*) DESC LIMIT 1
[ 4758, 1074, 373, 4025, 621, 262, 1334, 5633, 46506, 366, 15097, 1, 16034, 3084, 62, 18638, 62, 25061, 44441, 11050, 366, 15097, 1, 38678, 11050, 327, 28270, 7, 28104, 22196, 34, 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, 1074, 373, 4025, 621, 262, 1334, 5633, 46506, 366, 15097, 1, 16034, 3084, 62, 18638, 62, 25061, 44441, 11050, 366, 15097, 1, 38678, 11050, 327, 28270, 7, 28104, 22196, 34, 27564, 2043, 352 ]
What is the name of the player when the Score was 72-73-67-72=284?
SELECT player FROM table_name_10 WHERE score = 72 - 73 - 67 - 72 = 284
[ 2061, 318, 262, 1438, 286, 262, 2137, 618, 262, 15178, 373, 7724, 12, 4790, 12, 3134, 12, 4761, 28, 30336, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 940, 33411, 4776, 796, 7724, 532, 8854, 532, 8275, 532, 7724, 796, 40654 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 618, 262, 15178, 373, 7724, 12, 4790, 12, 3134, 12, 4761, 28, 30336, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 940, 33411, 4776, 796, 7724, 532, 8854, 532, 8275, 532, 7724, 796, 40654 ]
Name the loss for series 2-2
SELECT "Loss" FROM table_68732 WHERE "Series" = '2-2'
[ 5376, 262, 2994, 329, 2168, 362, 12, 17, 46506, 366, 43, 793, 1, 16034, 3084, 62, 39925, 2624, 33411, 366, 27996, 1, 796, 705, 17, 12, 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 ]
[ 5376, 262, 2994, 329, 2168, 362, 12, 17, 46506, 366, 43, 793, 1, 16034, 3084, 62, 39925, 2624, 33411, 366, 27996, 1, 796, 705, 17, 12, 17, 6 ]
count the number of patients who have had a abscess microbiology test done since 2104.
SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.patientunitstayid IN (SELECT microlab.patientunitstayid FROM microlab WHERE microlab.culturesite = 'abscess' AND STRFTIME('%y', microlab.culturetakentime) >= '2104')
[ 9127, 262, 1271, 286, 3871, 508, 423, 550, 257, 2352, 919, 24559, 1435, 1332, 1760, 1201, 362, 13464, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 5827, 13, 403, 1557, 538, 312, 8, 16034, 5827, 33411, 5827, 13, 26029, 20850, 31712,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9127, 262, 1271, 286, 3871, 508, 423, 550, 257, 2352, 919, 24559, 1435, 1332, 1760, 1201, 362, 13464, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 5827, 13, 403, 1557, 538, 312, 8, 16034, 5827, 33411, 5827, 13, 26029, 20850, 31712,...
Of the teams that lost 5 games, what is the highest number of wins?
SELECT MAX("W") FROM table_21219 WHERE "L" = '5'
[ 5189, 262, 3466, 326, 2626, 642, 1830, 11, 644, 318, 262, 4511, 1271, 286, 7864, 30, 46506, 25882, 7203, 54, 4943, 16034, 3084, 62, 21777, 1129, 33411, 366, 43, 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 ]
[ 5189, 262, 3466, 326, 2626, 642, 1830, 11, 644, 318, 262, 4511, 1271, 286, 7864, 30, 46506, 25882, 7203, 54, 4943, 16034, 3084, 62, 21777, 1129, 33411, 366, 43, 1, 796, 705, 20, 6 ]
What is Set 5, when Date is Jun 26, and when Set 2 is 25-22?
SELECT "Set 5" FROM table_41780 WHERE "Date" = 'jun 26' AND "Set 2" = '25-22'
[ 2061, 318, 5345, 642, 11, 618, 7536, 318, 7653, 2608, 11, 290, 618, 5345, 362, 318, 1679, 12, 1828, 30, 46506, 366, 7248, 642, 1, 16034, 3084, 62, 38547, 1795, 33411, 366, 10430, 1, 796, 705, 29741, 2608, 6, 5357, 366, 7248, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 5345, 642, 11, 618, 7536, 318, 7653, 2608, 11, 290, 618, 5345, 362, 318, 1679, 12, 1828, 30, 46506, 366, 7248, 642, 1, 16034, 3084, 62, 38547, 1795, 33411, 366, 10430, 1, 796, 705, 29741, 2608, 6, 5357, 366, 7248, 362, ...
Reputation vs. Number of Views.
SELECT Id AS "user_link", Reputation, Views FROM Users ORDER BY Reputation DESC
[ 6207, 7094, 3691, 13, 7913, 286, 29978, 13, 46506, 5121, 7054, 366, 7220, 62, 8726, 1600, 1432, 7094, 11, 29978, 16034, 18987, 38678, 11050, 1432, 7094, 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 ]
[ 6207, 7094, 3691, 13, 7913, 286, 29978, 13, 46506, 5121, 7054, 366, 7220, 62, 8726, 1600, 1432, 7094, 11, 29978, 16034, 18987, 38678, 11050, 1432, 7094, 22196, 34 ]
in 2105, how many patients were prescribed with ondansetron hcl?
SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.patientunitstayid IN (SELECT medication.patientunitstayid FROM medication WHERE medication.drugname = 'ondansetron hcl' AND STRFTIME('%y', medication.drugstarttime) = '2105')
[ 259, 362, 13348, 11, 703, 867, 3871, 547, 14798, 351, 319, 67, 504, 316, 1313, 289, 565, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 5827, 13, 403, 1557, 538, 312, 8, 16034, 5827, 33411, 5827, 13, 26029, 20850, 31712, 312, 3268,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 259, 362, 13348, 11, 703, 867, 3871, 547, 14798, 351, 319, 67, 504, 316, 1313, 289, 565, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 5827, 13, 403, 1557, 538, 312, 8, 16034, 5827, 33411, 5827, 13, 26029, 20850, 31712, 312, 3268,...
count the number of patients with medicare insurance who underwent opn/oth rep aort vlv-tis.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.insurance = "Medicare" AND procedures.short_title = "Opn/oth rep aort vlv-tis"
[ 9127, 262, 1271, 286, 3871, 351, 6924, 533, 5096, 508, 25289, 1034, 77, 14, 849, 1128, 257, 419, 410, 6780, 12, 48010, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9127, 262, 1271, 286, 3871, 351, 6924, 533, 5096, 508, 25289, 1034, 77, 14, 849, 1128, 257, 419, 410, 6780, 12, 48010, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1...
Name the Round that has Res of win and an Opponent of demian maia?
SELECT SUM("Round") FROM table_60087 WHERE "Res." = 'win' AND "Opponent" = 'demian maia'
[ 5376, 262, 10485, 326, 468, 1874, 286, 1592, 290, 281, 9385, 3471, 286, 1357, 666, 17266, 544, 30, 46506, 35683, 7203, 22685, 4943, 16034, 3084, 62, 8054, 5774, 33411, 366, 4965, 526, 796, 705, 5404, 6, 5357, 366, 27524, 3471, 1, 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 ]
[ 5376, 262, 10485, 326, 468, 1874, 286, 1592, 290, 281, 9385, 3471, 286, 1357, 666, 17266, 544, 30, 46506, 35683, 7203, 22685, 4943, 16034, 3084, 62, 8054, 5774, 33411, 366, 4965, 526, 796, 705, 5404, 6, 5357, 366, 27524, 3471, 1, 796,...
Who is the captain of the team in Essex county?
SELECT "Captain" FROM table_1872 WHERE "County" = 'Essex'
[ 8241, 318, 262, 10654, 286, 262, 1074, 287, 38307, 7968, 30, 46506, 366, 27898, 1, 16034, 3084, 62, 1507, 4761, 33411, 366, 12332, 88, 1, 796, 705, 23041, 8044, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 318, 262, 10654, 286, 262, 1074, 287, 38307, 7968, 30, 46506, 366, 27898, 1, 16034, 3084, 62, 1507, 4761, 33411, 366, 12332, 88, 1, 796, 705, 23041, 8044, 6 ]
Name the 2010 for tournament of us open
SELECT 2010 FROM table_name_95 WHERE tournament = "us open"
[ 5376, 262, 3050, 329, 7756, 286, 514, 1280, 46506, 3050, 16034, 3084, 62, 3672, 62, 3865, 33411, 7756, 796, 366, 385, 1280, 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, 3050, 329, 7756, 286, 514, 1280, 46506, 3050, 16034, 3084, 62, 3672, 62, 3865, 33411, 7756, 796, 366, 385, 1280, 1 ]
how many athletes had a better result than tatyana bocharova ?
SELECT COUNT("name") FROM table_204_910 WHERE "result" > (SELECT "result" FROM table_204_910 WHERE "name" = 'tatyana bocharova')
[ 4919, 867, 10856, 550, 257, 1365, 1255, 621, 256, 265, 88, 2271, 1489, 10641, 10071, 5633, 46506, 327, 28270, 7203, 3672, 4943, 16034, 3084, 62, 18638, 62, 43234, 33411, 366, 20274, 1, 1875, 357, 46506, 366, 20274, 1, 16034, 3084, 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 ]
[ 4919, 867, 10856, 550, 257, 1365, 1255, 621, 256, 265, 88, 2271, 1489, 10641, 10071, 5633, 46506, 327, 28270, 7203, 3672, 4943, 16034, 3084, 62, 18638, 62, 43234, 33411, 366, 20274, 1, 1875, 357, 46506, 366, 20274, 1, 16034, 3084, 62, ...
Who in series 1 corresponds with Peter Jones in series 5?
SELECT "Series 1" FROM table_68461 WHERE "Series 5" = 'peter jones'
[ 8241, 287, 2168, 352, 24866, 351, 5613, 5437, 287, 2168, 642, 30, 46506, 366, 27996, 352, 1, 16034, 3084, 62, 3104, 40652, 33411, 366, 27996, 642, 1, 796, 705, 79, 2357, 474, 1952, 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 ]
[ 8241, 287, 2168, 352, 24866, 351, 5613, 5437, 287, 2168, 642, 30, 46506, 366, 27996, 352, 1, 16034, 3084, 62, 3104, 40652, 33411, 366, 27996, 642, 1, 796, 705, 79, 2357, 474, 1952, 6 ]
poor diabetes control ( hba1c > 8 % or > 2 visits / yr to hospital for treatment of ketoacidosis ) despite intensive insulin therapy
SELECT * FROM table_train_241 WHERE diabetes = 1 OR hemoglobin_a1c_hba1c > 8
[ 36672, 12593, 1630, 357, 289, 7012, 16, 66, 1875, 807, 4064, 393, 1875, 362, 11864, 1220, 42635, 284, 4436, 329, 3513, 286, 22354, 78, 46309, 5958, 1267, 3805, 18590, 14588, 9102, 46506, 1635, 16034, 3084, 62, 27432, 62, 28872, 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 ]
[ 36672, 12593, 1630, 357, 289, 7012, 16, 66, 1875, 807, 4064, 393, 1875, 362, 11864, 1220, 42635, 284, 4436, 329, 3513, 286, 22354, 78, 46309, 5958, 1267, 3805, 18590, 14588, 9102, 46506, 1635, 16034, 3084, 62, 27432, 62, 28872, 33411, 1...
What is the highest Year when the team was seve ballesteros & manuel pi ero?
SELECT MAX("Year") FROM table_41787 WHERE "Team" = 'seve ballesteros & manuel piñero'
[ 2061, 318, 262, 4511, 6280, 618, 262, 1074, 373, 384, 303, 2613, 7834, 418, 1222, 582, 2731, 31028, 1931, 78, 30, 46506, 25882, 7203, 17688, 4943, 16034, 3084, 62, 38547, 5774, 33411, 366, 15592, 1, 796, 705, 325, 303, 2613, 7834, 418...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6280, 618, 262, 1074, 373, 384, 303, 2613, 7834, 418, 1222, 582, 2731, 31028, 1931, 78, 30, 46506, 25882, 7203, 17688, 4943, 16034, 3084, 62, 38547, 5774, 33411, 366, 15592, 1, 796, 705, 325, 303, 2613, 7834, 418...
Who are the semi finalists on the week of 12 june, when the runner-up is listed as Lori McNeil?
SELECT "Semi finalists" FROM table_76096 WHERE "Week of" = '12 june' AND "Runner-up" = 'lori mcneil'
[ 8241, 389, 262, 10663, 43736, 319, 262, 1285, 286, 1105, 474, 1726, 11, 618, 262, 17490, 12, 929, 318, 5610, 355, 43741, 1982, 29354, 30, 46506, 366, 13900, 72, 43736, 1, 16034, 3084, 62, 40761, 4846, 33411, 366, 20916, 286, 1, 796, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 389, 262, 10663, 43736, 319, 262, 1285, 286, 1105, 474, 1726, 11, 618, 262, 17490, 12, 929, 318, 5610, 355, 43741, 1982, 29354, 30, 46506, 366, 13900, 72, 43736, 1, 16034, 3084, 62, 40761, 4846, 33411, 366, 20916, 286, 1, 796, ...
What were the performance lengths in the 3000 m events in and after 2003?
SELECT performance FROM table_name_49 WHERE season > 2003 AND discipline = "3000 m"
[ 2061, 547, 262, 2854, 20428, 287, 262, 20343, 285, 2995, 287, 290, 706, 5816, 30, 46506, 2854, 16034, 3084, 62, 3672, 62, 2920, 33411, 1622, 1875, 5816, 5357, 12883, 796, 366, 23924, 285, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2854, 20428, 287, 262, 20343, 285, 2995, 287, 290, 706, 5816, 30, 46506, 2854, 16034, 3084, 62, 3672, 62, 2920, 33411, 1622, 1875, 5816, 5357, 12883, 796, 366, 23924, 285, 1 ]
Which Class has a Quantity larger than 96?
SELECT class FROM table_name_14 WHERE quantity > 96
[ 13828, 5016, 468, 257, 39789, 4025, 621, 9907, 30, 46506, 1398, 16034, 3084, 62, 3672, 62, 1415, 33411, 12040, 1875, 9907 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 5016, 468, 257, 39789, 4025, 621, 9907, 30, 46506, 1398, 16034, 3084, 62, 3672, 62, 1415, 33411, 12040, 1875, 9907 ]
Name the result for venue of lord's
SELECT "Result" FROM table_71366 WHERE "Venue" = 'lord''s'
[ 5376, 262, 1255, 329, 14359, 286, 15876, 338, 46506, 366, 23004, 1, 16034, 3084, 62, 50055, 2791, 33411, 366, 37522, 518, 1, 796, 705, 10572, 7061, 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 ]
[ 5376, 262, 1255, 329, 14359, 286, 15876, 338, 46506, 366, 23004, 1, 16034, 3084, 62, 50055, 2791, 33411, 366, 37522, 518, 1, 796, 705, 10572, 7061, 82, 6 ]
List the description of the outcomes for all projects.
SELECT T1.outcome_description FROM research_outcomes AS T1 JOIN project_outcomes AS T2 ON T1.outcome_code = T2.outcome_code
[ 8053, 262, 6764, 286, 262, 10906, 329, 477, 4493, 13, 46506, 309, 16, 13, 448, 2958, 62, 11213, 16034, 2267, 62, 448, 8988, 7054, 309, 16, 32357, 1268, 1628, 62, 448, 8988, 7054, 309, 17, 6177, 309, 16, 13, 448, 2958, 62, 8189, 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 ]
[ 8053, 262, 6764, 286, 262, 10906, 329, 477, 4493, 13, 46506, 309, 16, 13, 448, 2958, 62, 11213, 16034, 2267, 62, 448, 8988, 7054, 309, 16, 32357, 1268, 1628, 62, 448, 8988, 7054, 309, 17, 6177, 309, 16, 13, 448, 2958, 62, 8189, 79...
Visualize a bar chart for how many students are in each department?, and show in ascending by the Y.
SELECT dept_name, COUNT(*) FROM student GROUP BY dept_name ORDER BY COUNT(*)
[ 36259, 1096, 257, 2318, 8262, 329, 703, 867, 2444, 389, 287, 1123, 5011, 21747, 290, 905, 287, 41988, 416, 262, 575, 13, 46506, 390, 457, 62, 3672, 11, 327, 28270, 7, 28104, 16034, 3710, 44441, 11050, 390, 457, 62, 3672, 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 ]
[ 36259, 1096, 257, 2318, 8262, 329, 703, 867, 2444, 389, 287, 1123, 5011, 21747, 290, 905, 287, 41988, 416, 262, 575, 13, 46506, 390, 457, 62, 3672, 11, 327, 28270, 7, 28104, 16034, 3710, 44441, 11050, 390, 457, 62, 3672, 38678, 11050,...
what is the number of patients on promethazine hcl drug prescription who stayed in hospital for more than 5 days?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.days_stay > "5" AND prescriptions.drug = "Promethazine HCl"
[ 10919, 318, 262, 1271, 286, 3871, 319, 1552, 2788, 4994, 289, 565, 2563, 15077, 508, 9658, 287, 4436, 329, 517, 621, 642, 1528, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 1271, 286, 3871, 319, 1552, 2788, 4994, 289, 565, 2563, 15077, 508, 9658, 287, 4436, 329, 517, 621, 642, 1528, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, ...
What was the location of the fight when Gassaway fought kevin knabjian?
SELECT "Location" FROM table_50638 WHERE "Opponent" = 'kevin knabjian'
[ 2061, 373, 262, 4067, 286, 262, 1907, 618, 402, 562, 8272, 8350, 885, 7114, 638, 397, 73, 666, 30, 46506, 366, 14749, 1, 16034, 3084, 62, 35638, 2548, 33411, 366, 27524, 3471, 1, 796, 705, 365, 7114, 638, 397, 73, 666, 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, 373, 262, 4067, 286, 262, 1907, 618, 402, 562, 8272, 8350, 885, 7114, 638, 397, 73, 666, 30, 46506, 366, 14749, 1, 16034, 3084, 62, 35638, 2548, 33411, 366, 27524, 3471, 1, 796, 705, 365, 7114, 638, 397, 73, 666, 6 ]
What is 1999, when 1998 is 2R?
SELECT "1999" FROM table_41952 WHERE "1998" = '2r'
[ 2061, 318, 7358, 11, 618, 7795, 318, 362, 49, 30, 46506, 366, 18946, 1, 16034, 3084, 62, 45068, 4309, 33411, 366, 21113, 1, 796, 705, 17, 81, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 7358, 11, 618, 7795, 318, 362, 49, 30, 46506, 366, 18946, 1, 16034, 3084, 62, 45068, 4309, 33411, 366, 21113, 1, 796, 705, 17, 81, 6 ]
How high is the Attendance with a Record of 29-25?
SELECT MAX("Attendance") FROM table_70652 WHERE "Record" = '29-25'
[ 2437, 1029, 318, 262, 46502, 590, 351, 257, 13266, 286, 2808, 12, 1495, 30, 46506, 25882, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 2154, 43193, 33411, 366, 23739, 1, 796, 705, 1959, 12, 1495, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 1029, 318, 262, 46502, 590, 351, 257, 13266, 286, 2808, 12, 1495, 30, 46506, 25882, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 2154, 43193, 33411, 366, 23739, 1, 796, 705, 1959, 12, 1495, 6 ]
Which Season ha spvgg bayreuth and eintracht trier?
SELECT season FROM table_name_19 WHERE oberliga_bayern = "spvgg bayreuth" AND oberliga_südwest = "eintracht trier"
[ 13828, 7369, 387, 599, 85, 1130, 15489, 260, 1071, 290, 304, 600, 81, 19725, 1333, 263, 30, 46506, 1622, 16034, 3084, 62, 3672, 62, 1129, 33411, 267, 527, 38910, 62, 24406, 1142, 796, 366, 2777, 85, 1130, 15489, 260, 1071, 1, 5357, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 7369, 387, 599, 85, 1130, 15489, 260, 1071, 290, 304, 600, 81, 19725, 1333, 263, 30, 46506, 1622, 16034, 3084, 62, 3672, 62, 1129, 33411, 267, 527, 38910, 62, 24406, 1142, 796, 366, 2777, 85, 1130, 15489, 260, 1071, 1, 5357, ...
Name the rank on channel mooning and crooning
SELECT rank_on_channel FROM table_24222929_4 WHERE title = "Mooning and Crooning"
[ 5376, 262, 4279, 319, 6518, 8824, 278, 290, 6763, 12484, 46506, 4279, 62, 261, 62, 17620, 16034, 3084, 62, 1731, 1828, 1959, 1959, 62, 19, 33411, 3670, 796, 366, 31640, 278, 290, 9325, 12484, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4279, 319, 6518, 8824, 278, 290, 6763, 12484, 46506, 4279, 62, 261, 62, 17620, 16034, 3084, 62, 1731, 1828, 1959, 1959, 62, 19, 33411, 3670, 796, 366, 31640, 278, 290, 9325, 12484, 1 ]
Who is the cyber girl in week 3 when Demi Jessica was the cyber girl in week 1?
SELECT week_3 FROM table_name_33 WHERE week_1 = "demi jessica"
[ 8241, 318, 262, 10075, 2576, 287, 1285, 513, 618, 1897, 72, 17352, 373, 262, 10075, 2576, 287, 1285, 352, 30, 46506, 1285, 62, 18, 16034, 3084, 62, 3672, 62, 2091, 33411, 1285, 62, 16, 796, 366, 9536, 72, 474, 408, 3970, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 318, 262, 10075, 2576, 287, 1285, 513, 618, 1897, 72, 17352, 373, 262, 10075, 2576, 287, 1285, 352, 30, 46506, 1285, 62, 18, 16034, 3084, 62, 3672, 62, 2091, 33411, 1285, 62, 16, 796, 366, 9536, 72, 474, 408, 3970, 1 ]
What is the most Champ Car wins for any driver with a USAC record of 2?
SELECT MAX("Champ Car World Series (2004\u20132007)") FROM table_2058 WHERE "USAC (1956\u20131995)" = '2'
[ 2061, 318, 262, 749, 29260, 1879, 7864, 329, 597, 4639, 351, 257, 1294, 2246, 1700, 286, 362, 30, 46506, 25882, 7203, 48507, 1879, 2159, 7171, 357, 15724, 59, 84, 6390, 12726, 8, 4943, 16034, 3084, 62, 1238, 3365, 33411, 366, 2937, 22...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 749, 29260, 1879, 7864, 329, 597, 4639, 351, 257, 1294, 2246, 1700, 286, 362, 30, 46506, 25882, 7203, 48507, 1879, 2159, 7171, 357, 15724, 59, 84, 6390, 12726, 8, 4943, 16034, 3084, 62, 1238, 3365, 33411, 366, 2937, 22...
Name the Place of england with a Score larger than 66?
SELECT "Place" FROM table_78574 WHERE "Country" = 'england' AND "Score" > '66'
[ 5376, 262, 8474, 286, 1786, 1044, 351, 257, 15178, 4025, 621, 7930, 30, 46506, 366, 27271, 1, 16034, 3084, 62, 3695, 46900, 33411, 366, 33921, 1, 796, 705, 1516, 1044, 6, 5357, 366, 26595, 1, 1875, 705, 2791, 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 ]
[ 5376, 262, 8474, 286, 1786, 1044, 351, 257, 15178, 4025, 621, 7930, 30, 46506, 366, 27271, 1, 16034, 3084, 62, 3695, 46900, 33411, 366, 33921, 1, 796, 705, 1516, 1044, 6, 5357, 366, 26595, 1, 1875, 705, 2791, 6 ]
What is the date of the match with a winner outcome and jim courier as the opponent in the final?
SELECT "Date" FROM table_50391 WHERE "Outcome" = 'winner' AND "Opponent in the final" = 'jim courier'
[ 2061, 318, 262, 3128, 286, 262, 2872, 351, 257, 8464, 8055, 290, 474, 320, 48934, 355, 262, 6125, 287, 262, 2457, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 1120, 37710, 33411, 366, 7975, 2958, 1, 796, 705, 39791, 6, 5357, 366, 2752...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 257, 8464, 8055, 290, 474, 320, 48934, 355, 262, 6125, 287, 262, 2457, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 1120, 37710, 33411, 366, 7975, 2958, 1, 796, 705, 39791, 6, 5357, 366, 2752...
Who has a Score of 68-71-70=208?
SELECT "Player" FROM table_59620 WHERE "Score" = '68-71-70=208'
[ 8241, 468, 257, 15178, 286, 8257, 12, 4869, 12, 2154, 28, 21315, 30, 46506, 366, 14140, 1, 16034, 3084, 62, 3270, 38850, 33411, 366, 26595, 1, 796, 705, 3104, 12, 4869, 12, 2154, 28, 21315, 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 ]
[ 8241, 468, 257, 15178, 286, 8257, 12, 4869, 12, 2154, 28, 21315, 30, 46506, 366, 14140, 1, 16034, 3084, 62, 3270, 38850, 33411, 366, 26595, 1, 796, 705, 3104, 12, 4869, 12, 2154, 28, 21315, 6 ]
How tall is Zipp Duncan?
SELECT "Height" FROM table_37800 WHERE "Name" = 'zipp duncan'
[ 2437, 7331, 318, 1168, 3974, 18625, 30, 46506, 366, 23106, 1, 16034, 3084, 62, 2718, 7410, 33411, 366, 5376, 1, 796, 705, 89, 3974, 12574, 5171, 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 ]
[ 2437, 7331, 318, 1168, 3974, 18625, 30, 46506, 366, 23106, 1, 16034, 3084, 62, 2718, 7410, 33411, 366, 5376, 1, 796, 705, 89, 3974, 12574, 5171, 6 ]
How much Played has a Lost larger than 14, and Drawn of 8, and a Team of ipatinga?
SELECT SUM(played) FROM table_name_22 WHERE lost > 14 AND drawn = 8 AND team = "ipatinga"
[ 2437, 881, 33101, 468, 257, 9164, 4025, 621, 1478, 11, 290, 50061, 286, 807, 11, 290, 257, 4816, 286, 20966, 803, 64, 30, 46506, 35683, 7, 21542, 8, 16034, 3084, 62, 3672, 62, 1828, 33411, 2626, 1875, 1478, 5357, 7428, 796, 807, 535...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 33101, 468, 257, 9164, 4025, 621, 1478, 11, 290, 50061, 286, 807, 11, 290, 257, 4816, 286, 20966, 803, 64, 30, 46506, 35683, 7, 21542, 8, 16034, 3084, 62, 3672, 62, 1828, 33411, 2626, 1875, 1478, 5357, 7428, 796, 807, 535...
What is the title of the episode with a production code of 2j5504?
SELECT title FROM table_27450976_1 WHERE production_code = "2J5504"
[ 2061, 318, 262, 3670, 286, 262, 4471, 351, 257, 3227, 2438, 286, 362, 73, 22730, 19, 30, 46506, 3670, 16034, 3084, 62, 1983, 17885, 24, 4304, 62, 16, 33411, 3227, 62, 8189, 796, 366, 17, 41, 22730, 19, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 3670, 286, 262, 4471, 351, 257, 3227, 2438, 286, 362, 73, 22730, 19, 30, 46506, 3670, 16034, 3084, 62, 1983, 17885, 24, 4304, 62, 16, 33411, 3227, 62, 8189, 796, 366, 17, 41, 22730, 19, 1 ]
when was the last time that until 09/2102 patient 3267 was prescribed a medicine via an subcut route?
SELECT prescriptions.startdate FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 3267) AND prescriptions.route = 'subcut' AND STRFTIME('%y-%m', prescriptions.startdate) <= '2102-09' ORDER BY prescriptions.startdate DESC LIMIT 1
[ 12518, 373, 262, 938, 640, 326, 1566, 7769, 14, 17, 15377, 5827, 513, 25674, 373, 14798, 257, 9007, 2884, 281, 850, 8968, 6339, 30, 46506, 34092, 13, 9688, 4475, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12518, 373, 262, 938, 640, 326, 1566, 7769, 14, 17, 15377, 5827, 513, 25674, 373, 14798, 257, 9007, 2884, 281, 850, 8968, 6339, 30, 46506, 34092, 13, 9688, 4475, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25...
give me the number of patients whose age is less than 36 and drug route is tp?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.age < "36" AND prescriptions.route = "TP"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 2479, 318, 1342, 621, 4570, 290, 2563, 6339, 318, 256, 79, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 1672...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2479, 318, 1342, 621, 4570, 290, 2563, 6339, 318, 256, 79, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 1672...
give me the number of patients whose insurance is private and procedure short title is abdomen artery incision?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.insurance = "Private" AND procedures.short_title = "Abdomen artery incision"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 5096, 318, 2839, 290, 8771, 1790, 3670, 318, 32956, 37646, 753, 1166, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5096, 318, 2839, 290, 8771, 1790, 3670, 318, 32956, 37646, 753, 1166, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, ...
How many players 89 points?
SELECT COUNT("Blocks") FROM table_27553 WHERE "Points" = '89'
[ 2437, 867, 1938, 9919, 2173, 30, 46506, 327, 28270, 7203, 45356, 4943, 16034, 3084, 62, 1983, 48096, 33411, 366, 40710, 1, 796, 705, 4531, 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 ]
[ 2437, 867, 1938, 9919, 2173, 30, 46506, 327, 28270, 7203, 45356, 4943, 16034, 3084, 62, 1983, 48096, 33411, 366, 40710, 1, 796, 705, 4531, 6 ]
For those employees who was hired before 2002-06-21, give me the comparison about the sum of manager_id over the hire_date bin hire_date by time by a bar chart, I want to show by the total number of manager id from high to low.
SELECT HIRE_DATE, SUM(MANAGER_ID) FROM employees WHERE HIRE_DATE < '2002-06-21' ORDER BY SUM(MANAGER_ID) DESC
[ 1890, 883, 4409, 508, 373, 9657, 878, 6244, 12, 3312, 12, 2481, 11, 1577, 502, 262, 7208, 546, 262, 2160, 286, 4706, 62, 312, 625, 262, 11078, 62, 4475, 9874, 11078, 62, 4475, 416, 640, 416, 257, 2318, 8262, 11, 314, 765, 284, 905...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4409, 508, 373, 9657, 878, 6244, 12, 3312, 12, 2481, 11, 1577, 502, 262, 7208, 546, 262, 2160, 286, 4706, 62, 312, 625, 262, 11078, 62, 4475, 9874, 11078, 62, 4475, 416, 640, 416, 257, 2318, 8262, 11, 314, 765, 284, 905...
In what year was the average speed 92.68?
SELECT "Year" FROM table_25246 WHERE "Average Speed (mph)" = '92.68'
[ 818, 644, 614, 373, 262, 2811, 2866, 10190, 13, 3104, 30, 46506, 366, 17688, 1, 16034, 3084, 62, 1495, 26912, 33411, 366, 26287, 8729, 357, 23335, 16725, 796, 705, 5892, 13, 3104, 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 ]
[ 818, 644, 614, 373, 262, 2811, 2866, 10190, 13, 3104, 30, 46506, 366, 17688, 1, 16034, 3084, 62, 1495, 26912, 33411, 366, 26287, 8729, 357, 23335, 16725, 796, 705, 5892, 13, 3104, 6 ]
What is the county where kerry# is 59740?
SELECT "County" FROM table_17944 WHERE "Kerry#" = '59740'
[ 2061, 318, 262, 7968, 810, 479, 6996, 2, 318, 642, 5607, 1821, 30, 46506, 366, 12332, 88, 1, 16034, 3084, 62, 21738, 2598, 33411, 366, 42, 6996, 2, 1, 796, 705, 43239, 1821, 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, 7968, 810, 479, 6996, 2, 318, 642, 5607, 1821, 30, 46506, 366, 12332, 88, 1, 16034, 3084, 62, 21738, 2598, 33411, 366, 42, 6996, 2, 1, 796, 705, 43239, 1821, 6 ]
How much 1991-1992 has a 1989-90 of 36, and an Average of 0.8250000000000001?
SELECT COUNT("1991-1992") FROM table_78874 WHERE "1989-90" = '36' AND "Average" = '0.8250000000000001'
[ 2437, 881, 10249, 12, 23847, 468, 257, 11104, 12, 3829, 286, 4570, 11, 290, 281, 13475, 286, 657, 13, 47338, 8269, 2388, 16, 30, 46506, 327, 28270, 7203, 24529, 12, 23847, 4943, 16034, 3084, 62, 22, 3459, 4524, 33411, 366, 25475, 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 ]
[ 2437, 881, 10249, 12, 23847, 468, 257, 11104, 12, 3829, 286, 4570, 11, 290, 281, 13475, 286, 657, 13, 47338, 8269, 2388, 16, 30, 46506, 327, 28270, 7203, 24529, 12, 23847, 4943, 16034, 3084, 62, 22, 3459, 4524, 33411, 366, 25475, 12, ...
What is the result/score for the match report recap on week 14?
SELECT "Result/Score" FROM table_43094 WHERE "Match Report" = 'recap' AND "Week" = '14'
[ 2061, 318, 262, 1255, 14, 26675, 329, 262, 2872, 989, 26871, 319, 1285, 1478, 30, 46506, 366, 23004, 14, 26595, 1, 16034, 3084, 62, 31794, 5824, 33411, 366, 23850, 6358, 1, 796, 705, 8344, 499, 6, 5357, 366, 20916, 1, 796, 705, 1415...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1255, 14, 26675, 329, 262, 2872, 989, 26871, 319, 1285, 1478, 30, 46506, 366, 23004, 14, 26595, 1, 16034, 3084, 62, 31794, 5824, 33411, 366, 23850, 6358, 1, 796, 705, 8344, 499, 6, 5357, 366, 20916, 1, 796, 705, 1415...
What years have a total of 395 (0)?
SELECT "Years" FROM table_7345 WHERE "Total" = '395 (0)'
[ 2061, 812, 423, 257, 2472, 286, 42321, 357, 15, 19427, 46506, 366, 40630, 1, 16034, 3084, 62, 4790, 2231, 33411, 366, 14957, 1, 796, 705, 31010, 357, 15, 33047 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 812, 423, 257, 2472, 286, 42321, 357, 15, 19427, 46506, 366, 40630, 1, 16034, 3084, 62, 4790, 2231, 33411, 366, 14957, 1, 796, 705, 31010, 357, 15, 33047 ]
How many deaths were there when the total casualties were 6?
SELECT total_deaths FROM table_name_33 WHERE total_casualties = "6"
[ 2437, 867, 7040, 547, 612, 618, 262, 2472, 18499, 547, 718, 30, 46506, 2472, 62, 22595, 82, 16034, 3084, 62, 3672, 62, 2091, 33411, 2472, 62, 34004, 723, 4278, 796, 366, 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 ]
[ 2437, 867, 7040, 547, 612, 618, 262, 2472, 18499, 547, 718, 30, 46506, 2472, 62, 22595, 82, 16034, 3084, 62, 3672, 62, 2091, 33411, 2472, 62, 34004, 723, 4278, 796, 366, 21, 1 ]
A bar chart showing how many debates are held for each venue, and list how many venue in descending order.
SELECT Venue, COUNT(Venue) FROM debate GROUP BY Venue ORDER BY COUNT(Venue) DESC
[ 32, 2318, 8262, 4478, 703, 867, 15389, 389, 2714, 329, 1123, 14359, 11, 290, 1351, 703, 867, 14359, 287, 31491, 1502, 13, 46506, 9932, 518, 11, 327, 28270, 7, 37522, 518, 8, 16034, 4384, 44441, 11050, 9932, 518, 38678, 11050, 327, 282...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 703, 867, 15389, 389, 2714, 329, 1123, 14359, 11, 290, 1351, 703, 867, 14359, 287, 31491, 1502, 13, 46506, 9932, 518, 11, 327, 28270, 7, 37522, 518, 8, 16034, 4384, 44441, 11050, 9932, 518, 38678, 11050, 327, 282...
How many people voted for others in the county where McCain got 65.5% of the votes?
SELECT others FROM table_20453681_1 WHERE mccain_percentage = "65.5%"
[ 2437, 867, 661, 7052, 329, 1854, 287, 262, 7968, 810, 14264, 1392, 6135, 13, 20, 4, 286, 262, 5690, 30, 46506, 1854, 16034, 3084, 62, 1238, 2231, 2623, 6659, 62, 16, 33411, 285, 535, 391, 62, 25067, 496, 796, 366, 2996, 13, 20, 39...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7052, 329, 1854, 287, 262, 7968, 810, 14264, 1392, 6135, 13, 20, 4, 286, 262, 5690, 30, 46506, 1854, 16034, 3084, 62, 1238, 2231, 2623, 6659, 62, 16, 33411, 285, 535, 391, 62, 25067, 496, 796, 366, 2996, 13, 20, 39...
Where was the security pacific senior classic?
SELECT "Location" FROM table_78145 WHERE "Tournament" = 'security pacific senior classic'
[ 8496, 373, 262, 2324, 23503, 811, 4664, 6833, 30, 46506, 366, 14749, 1, 16034, 3084, 62, 3695, 18781, 33411, 366, 51, 5138, 1, 796, 705, 12961, 23503, 811, 4664, 6833, 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, 373, 262, 2324, 23503, 811, 4664, 6833, 30, 46506, 366, 14749, 1, 16034, 3084, 62, 3695, 18781, 33411, 366, 51, 5138, 1, 796, 705, 12961, 23503, 811, 4664, 6833, 6 ]
Name the most rank for the United States with wins less than 1
SELECT MAX("Rank") FROM table_34018 WHERE "Country" = 'united states' AND "Wins" < '1'
[ 5376, 262, 749, 4279, 329, 262, 1578, 1829, 351, 7864, 1342, 621, 352, 46506, 25882, 7203, 27520, 4943, 16034, 3084, 62, 2682, 29159, 33411, 366, 33921, 1, 796, 705, 41187, 2585, 6, 5357, 366, 54, 1040, 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, 1, 1, 1 ]
[ 5376, 262, 749, 4279, 329, 262, 1578, 1829, 351, 7864, 1342, 621, 352, 46506, 25882, 7203, 27520, 4943, 16034, 3084, 62, 2682, 29159, 33411, 366, 33921, 1, 796, 705, 41187, 2585, 6, 5357, 366, 54, 1040, 1, 1279, 705, 16, 6 ]
When Ilie N stase beat runner-up Peter Fleming what year was it?
SELECT COUNT("Year") FROM table_12795 WHERE "Champion" = 'ilie năstase' AND "Runner-up" = 'peter fleming'
[ 2215, 13778, 494, 399, 336, 589, 4405, 17490, 12, 929, 5613, 42439, 644, 614, 373, 340, 30, 46506, 327, 28270, 7203, 17688, 4943, 16034, 3084, 62, 1065, 41544, 33411, 366, 1925, 6734, 1, 796, 705, 346, 494, 299, 128, 225, 301, 589, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13778, 494, 399, 336, 589, 4405, 17490, 12, 929, 5613, 42439, 644, 614, 373, 340, 30, 46506, 327, 28270, 7203, 17688, 4943, 16034, 3084, 62, 1065, 41544, 33411, 366, 1925, 6734, 1, 796, 705, 346, 494, 299, 128, 225, 301, 589, ...
provide the number of patients whose death status is 0 and lab test name is cortisol?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.expire_flag = "0" AND lab.label = "Cortisol"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 1918, 3722, 318, 657, 290, 2248, 1332, 1438, 318, 41547, 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...
[ 15234, 485, 262, 1271, 286, 3871, 3025, 1918, 3722, 318, 657, 290, 2248, 1332, 1438, 318, 41547, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, ...
count the number of patients whose days of hospital stay is greater than 1 and lab test fluid is joint fluid?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.days_stay > "1" AND lab.fluid = "Joint Fluid"
[ 9127, 262, 1271, 286, 3871, 3025, 1528, 286, 4436, 2652, 318, 3744, 621, 352, 290, 2248, 1332, 11711, 318, 6466, 11711, 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...
[ 9127, 262, 1271, 286, 3871, 3025, 1528, 286, 4436, 2652, 318, 3744, 621, 352, 290, 2248, 1332, 11711, 318, 6466, 11711, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 12...
How many championships were won for arena football?
SELECT "Championships in St. Louis" FROM table_24471 WHERE "Sport" = 'Arena Football'
[ 2437, 867, 27459, 547, 1839, 329, 13478, 4346, 30, 46506, 366, 1925, 4350, 5748, 287, 520, 13, 5593, 1, 16034, 3084, 62, 1731, 38339, 33411, 366, 42576, 1, 796, 705, 43199, 64, 9957, 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, 867, 27459, 547, 1839, 329, 13478, 4346, 30, 46506, 366, 1925, 4350, 5748, 287, 520, 13, 5593, 1, 16034, 3084, 62, 1731, 38339, 33411, 366, 42576, 1, 796, 705, 43199, 64, 9957, 6 ]
What is the average crowd size at all matches where the home team scored 6.12 (48)?
SELECT AVG("Crowd") FROM table_33292 WHERE "Home team score" = '6.12 (48)'
[ 2061, 318, 262, 2811, 4315, 2546, 379, 477, 7466, 810, 262, 1363, 1074, 7781, 718, 13, 1065, 357, 2780, 19427, 46506, 35224, 7203, 34, 3986, 4943, 16034, 3084, 62, 2091, 32759, 33411, 366, 16060, 1074, 4776, 1, 796, 705, 21, 13, 1065,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2811, 4315, 2546, 379, 477, 7466, 810, 262, 1363, 1074, 7781, 718, 13, 1065, 357, 2780, 19427, 46506, 35224, 7203, 34, 3986, 4943, 16034, 3084, 62, 2091, 32759, 33411, 366, 16060, 1074, 4776, 1, 796, 705, 21, 13, 1065,...
how many patients born before the year 2146 had lab test item id 51067?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.dob_year < "2146" AND lab.itemid = "51067"
[ 4919, 867, 3871, 4642, 878, 262, 614, 362, 20964, 550, 2248, 1332, 2378, 4686, 35148, 3134, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 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, 1...
[ 4919, 867, 3871, 4642, 878, 262, 614, 362, 20964, 550, 2248, 1332, 2378, 4686, 35148, 3134, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 1...
In how many episodes did Sean's team include Jeremy Clarkson and James McQuillan?
SELECT COUNT("Episode") FROM table_73533 WHERE "Seans team" = 'Jeremy Clarkson and James McQuillan'
[ 818, 703, 867, 8640, 750, 11465, 338, 1074, 2291, 11753, 40524, 290, 3700, 1982, 4507, 359, 272, 30, 46506, 327, 28270, 7203, 23758, 4943, 16034, 3084, 62, 22, 2327, 2091, 33411, 366, 4653, 504, 1074, 1, 796, 705, 35623, 40524, 290, 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 ]
[ 818, 703, 867, 8640, 750, 11465, 338, 1074, 2291, 11753, 40524, 290, 3700, 1982, 4507, 359, 272, 30, 46506, 327, 28270, 7203, 23758, 4943, 16034, 3084, 62, 22, 2327, 2091, 33411, 366, 4653, 504, 1074, 1, 796, 705, 35623, 40524, 290, 3...
What is Date, when Home Team is 'Luton Town'?
SELECT "Date" FROM table_49923 WHERE "Home team" = 'luton town'
[ 2061, 318, 7536, 11, 618, 5995, 4816, 318, 705, 43, 32894, 8329, 30960, 46506, 366, 10430, 1, 16034, 3084, 62, 28324, 1954, 33411, 366, 16060, 1074, 1, 796, 705, 75, 32894, 3240, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 7536, 11, 618, 5995, 4816, 318, 705, 43, 32894, 8329, 30960, 46506, 366, 10430, 1, 16034, 3084, 62, 28324, 1954, 33411, 366, 16060, 1074, 1, 796, 705, 75, 32894, 3240, 6 ]