instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
what are the allergy types and how many allergies correspond to each one?, could you display in desc by the Y-axis please?
SELECT AllergyType, COUNT(*) FROM Allergy_Type GROUP BY AllergyType ORDER BY COUNT(*) DESC
[ 10919, 389, 262, 36197, 3858, 290, 703, 867, 36665, 6053, 284, 1123, 530, 21747, 714, 345, 3359, 287, 1715, 416, 262, 575, 12, 22704, 3387, 30, 46506, 1439, 26079, 6030, 11, 327, 28270, 7, 28104, 16034, 1439, 26079, 62, 6030, 44441, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 389, 262, 36197, 3858, 290, 703, 867, 36665, 6053, 284, 1123, 530, 21747, 714, 345, 3359, 287, 1715, 416, 262, 575, 12, 22704, 3387, 30, 46506, 1439, 26079, 6030, 11, 327, 28270, 7, 28104, 16034, 1439, 26079, 62, 6030, 44441, 1...
Who was No. 5 when No. 6 Mason and No. 10 Jackson?
SELECT "No. 5" FROM table_9097 WHERE "No. 6" = 'mason' AND "No. 10" = 'jackson'
[ 8241, 373, 1400, 13, 642, 618, 1400, 13, 718, 14737, 290, 1400, 13, 838, 6612, 30, 46506, 366, 2949, 13, 642, 1, 16034, 3084, 62, 44675, 22, 33411, 366, 2949, 13, 718, 1, 796, 705, 76, 888, 6, 5357, 366, 2949, 13, 838, 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 ]
[ 8241, 373, 1400, 13, 642, 618, 1400, 13, 718, 14737, 290, 1400, 13, 838, 6612, 30, 46506, 366, 2949, 13, 642, 1, 16034, 3084, 62, 44675, 22, 33411, 366, 2949, 13, 718, 1, 796, 705, 76, 888, 6, 5357, 366, 2949, 13, 838, 1, 796, ...
What was the home leg score against fc schalke 04?
SELECT "Home Leg" FROM table_24807 WHERE "Opponents" = 'FC Schalke 04'
[ 2061, 373, 262, 1363, 1232, 4776, 1028, 277, 66, 5513, 282, 365, 8702, 30, 46506, 366, 16060, 3564, 1, 16034, 3084, 62, 1731, 36928, 33411, 366, 27524, 3906, 1, 796, 705, 4851, 3059, 282, 365, 8702, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 1363, 1232, 4776, 1028, 277, 66, 5513, 282, 365, 8702, 30, 46506, 366, 16060, 3564, 1, 16034, 3084, 62, 1731, 36928, 33411, 366, 27524, 3906, 1, 796, 705, 4851, 3059, 282, 365, 8702, 6 ]
What is stephen arigbabu's height?
SELECT MIN("Height") FROM table_71899 WHERE "Player" = 'stephen arigbabu'
[ 2061, 318, 2239, 831, 610, 328, 65, 397, 84, 338, 6001, 30, 46506, 20625, 7203, 23106, 4943, 16034, 3084, 62, 45720, 2079, 33411, 366, 14140, 1, 796, 705, 9662, 831, 610, 328, 65, 397, 84, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 2239, 831, 610, 328, 65, 397, 84, 338, 6001, 30, 46506, 20625, 7203, 23106, 4943, 16034, 3084, 62, 45720, 2079, 33411, 366, 14140, 1, 796, 705, 9662, 831, 610, 328, 65, 397, 84, 6 ]
Which 1st Party has an election in 1865?
SELECT 1 AS st_party FROM table_name_92 WHERE election = "1865"
[ 13828, 352, 301, 3615, 468, 281, 3071, 287, 47801, 30, 46506, 352, 7054, 336, 62, 10608, 16034, 3084, 62, 3672, 62, 5892, 33411, 3071, 796, 366, 1507, 2996, 1 ]
[ 1, 1, 1, 1, 1, 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, 352, 301, 3615, 468, 281, 3071, 287, 47801, 30, 46506, 352, 7054, 336, 62, 10608, 16034, 3084, 62, 3672, 62, 5892, 33411, 3071, 796, 366, 1507, 2996, 1 ]
allergy to glyburide
SELECT * FROM table_train_191 WHERE allergy_to_glyburide = 1
[ 439, 26079, 284, 13874, 6236, 485, 46506, 1635, 16034, 3084, 62, 27432, 62, 26492, 33411, 36197, 62, 1462, 62, 10853, 6236, 485, 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 ]
[ 439, 26079, 284, 13874, 6236, 485, 46506, 1635, 16034, 3084, 62, 27432, 62, 26492, 33411, 36197, 62, 1462, 62, 10853, 6236, 485, 796, 352 ]
What is the lowest number of wins where the byes are less than 0?
SELECT MIN("Wins") FROM table_78805 WHERE "Byes" < '0'
[ 2061, 318, 262, 9016, 1271, 286, 7864, 810, 262, 416, 274, 389, 1342, 621, 657, 30, 46506, 20625, 7203, 54, 1040, 4943, 16034, 3084, 62, 3695, 28256, 33411, 366, 3886, 274, 1, 1279, 705, 15, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 9016, 1271, 286, 7864, 810, 262, 416, 274, 389, 1342, 621, 657, 30, 46506, 20625, 7203, 54, 1040, 4943, 16034, 3084, 62, 3695, 28256, 33411, 366, 3886, 274, 1, 1279, 705, 15, 6 ]
Moorabbin oval is home to what team?
SELECT home_team FROM table_name_53 WHERE venue = "moorabbin oval"
[ 44, 2675, 6485, 259, 41186, 318, 1363, 284, 644, 1074, 30, 46506, 1363, 62, 15097, 16034, 3084, 62, 3672, 62, 4310, 33411, 14359, 796, 366, 76, 2675, 6485, 259, 41186, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 44, 2675, 6485, 259, 41186, 318, 1363, 284, 644, 1074, 30, 46506, 1363, 62, 15097, 16034, 3084, 62, 3672, 62, 4310, 33411, 14359, 796, 366, 76, 2675, 6485, 259, 41186, 1 ]
What questions have the highest ratio of votes to views?. Returns the top 50 questions, ordered by their score divided by the number of views they've received.
SELECT UpVotes, Views FROM Users WHERE AccountId = 9464
[ 2061, 2683, 423, 262, 4511, 8064, 286, 5690, 284, 5009, 30, 13, 16409, 262, 1353, 2026, 2683, 11, 6149, 416, 511, 4776, 9086, 416, 262, 1271, 286, 5009, 484, 1053, 2722, 13, 46506, 3205, 53, 6421, 11, 29978, 16034, 18987, 33411, 10781...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2683, 423, 262, 4511, 8064, 286, 5690, 284, 5009, 30, 13, 16409, 262, 1353, 2026, 2683, 11, 6149, 416, 511, 4776, 9086, 416, 262, 1271, 286, 5009, 484, 1053, 2722, 13, 46506, 3205, 53, 6421, 11, 29978, 16034, 18987, 33411, 10781...
how many consecutive victories included an enemy aircraft as the foe ?
SELECT COUNT(*) FROM table_204_353 WHERE "foe" = 'enemy aircraft'
[ 4919, 867, 12785, 19017, 3017, 281, 4472, 6215, 355, 262, 22156, 5633, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 18638, 62, 33319, 33411, 366, 69, 2577, 1, 796, 705, 46970, 6215, 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 ]
[ 4919, 867, 12785, 19017, 3017, 281, 4472, 6215, 355, 262, 22156, 5633, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 18638, 62, 33319, 33411, 366, 69, 2577, 1, 796, 705, 46970, 6215, 6 ]
Display a bar chart for what are the ids and locations of all circuits in France or Belgium?
SELECT location, circuitId FROM circuits WHERE country = "France" OR country = "Belgium"
[ 23114, 257, 2318, 8262, 329, 644, 389, 262, 220, 2340, 290, 7064, 286, 477, 24907, 287, 4881, 393, 15664, 30, 46506, 4067, 11, 10349, 7390, 16034, 24907, 33411, 1499, 796, 366, 28572, 1, 6375, 1499, 796, 366, 12193, 70, 1505, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 23114, 257, 2318, 8262, 329, 644, 389, 262, 220, 2340, 290, 7064, 286, 477, 24907, 287, 4881, 393, 15664, 30, 46506, 4067, 11, 10349, 7390, 16034, 24907, 33411, 1499, 796, 366, 28572, 1, 6375, 1499, 796, 366, 12193, 70, 1505, 1 ]
In 1987 who was the mens singles
SELECT mens_singles FROM table_15001681_1 WHERE year = 1987
[ 818, 12923, 508, 373, 262, 285, 641, 25287, 46506, 285, 641, 62, 12215, 829, 16034, 3084, 62, 33698, 1433, 6659, 62, 16, 33411, 614, 796, 12923 ]
[ 1, 1, 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, 12923, 508, 373, 262, 285, 641, 25287, 46506, 285, 641, 62, 12215, 829, 16034, 3084, 62, 33698, 1433, 6659, 62, 16, 33411, 614, 796, 12923 ]
what's the name origin of feature of diameter (km) 2,155.0
SELECT name AS origin FROM table_16799784_7 WHERE diameter__km_ = "2,155.0"
[ 10919, 338, 262, 1438, 8159, 286, 3895, 286, 14753, 357, 13276, 8, 362, 11, 18742, 13, 15, 46506, 1438, 7054, 8159, 16034, 3084, 62, 21940, 2079, 37688, 62, 22, 33411, 14753, 834, 13276, 62, 796, 366, 17, 11, 18742, 13, 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 ]
[ 10919, 338, 262, 1438, 8159, 286, 3895, 286, 14753, 357, 13276, 8, 362, 11, 18742, 13, 15, 46506, 1438, 7054, 8159, 16034, 3084, 62, 21940, 2079, 37688, 62, 22, 33411, 14753, 834, 13276, 62, 796, 366, 17, 11, 18742, 13, 15, 1 ]
What is the lowest population total in La Romana when the area is less than 1,788.4, the density is greater than 234.77, and a rank greater than 30
SELECT MIN("Population") FROM table_42664 WHERE "Area" < '1,788.4' AND "Density" > '234.77' AND "Province" = 'la romana' AND "Rank" > '30'
[ 2061, 318, 262, 9016, 3265, 2472, 287, 4689, 3570, 2271, 618, 262, 1989, 318, 1342, 621, 352, 11, 22, 3459, 13, 19, 11, 262, 12109, 318, 3744, 621, 34323, 13, 3324, 11, 290, 257, 4279, 3744, 621, 1542, 46506, 20625, 7203, 45251, 494...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3265, 2472, 287, 4689, 3570, 2271, 618, 262, 1989, 318, 1342, 621, 352, 11, 22, 3459, 13, 19, 11, 262, 12109, 318, 3744, 621, 34323, 13, 3324, 11, 290, 257, 4279, 3744, 621, 1542, 46506, 20625, 7203, 45251, 494...
how many of the patients were treated with drug gcsf480i?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.formulary_drug_cd = "GCSF480I"
[ 4919, 867, 286, 262, 3871, 547, 5716, 351, 2563, 308, 6359, 69, 22148, 72, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, 18108, 76, 62, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 286, 262, 3871, 547, 5716, 351, 2563, 308, 6359, 69, 22148, 72, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, 18108, 76, 62, ...
What is the highest round of the match with Rene Rooze as the opponent in Saitama, Japan?
SELECT MAX("Round") FROM table_71631 WHERE "Opponent" = 'rene rooze' AND "Location" = 'saitama, japan'
[ 2061, 318, 262, 4511, 2835, 286, 262, 2872, 351, 371, 1734, 371, 2238, 2736, 355, 262, 6125, 287, 311, 4548, 1689, 11, 2869, 30, 46506, 25882, 7203, 22685, 4943, 16034, 3084, 62, 22, 1433, 3132, 33411, 366, 27524, 3471, 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 ]
[ 2061, 318, 262, 4511, 2835, 286, 262, 2872, 351, 371, 1734, 371, 2238, 2736, 355, 262, 6125, 287, 311, 4548, 1689, 11, 2869, 30, 46506, 25882, 7203, 22685, 4943, 16034, 3084, 62, 22, 1433, 3132, 33411, 366, 27524, 3471, 1, 796, 705, ...
542 is what size ?
SELECT DISTINCT num_enrolled FROM course WHERE department = 'EECS' AND number = 542
[ 20, 3682, 318, 644, 2546, 5633, 46506, 360, 8808, 1268, 4177, 997, 62, 268, 8375, 16034, 1781, 33411, 5011, 796, 705, 36, 2943, 50, 6, 5357, 1271, 796, 642, 3682 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 20, 3682, 318, 644, 2546, 5633, 46506, 360, 8808, 1268, 4177, 997, 62, 268, 8375, 16034, 1781, 33411, 5011, 796, 705, 36, 2943, 50, 6, 5357, 1271, 796, 642, 3682 ]
What is the sum of Events, when Top-10 is 7, and when Top-5 is greater than 4?
SELECT SUM(events) FROM table_name_80 WHERE top_10 = 7 AND top_5 > 4
[ 2061, 318, 262, 2160, 286, 18715, 11, 618, 5849, 12, 940, 318, 767, 11, 290, 618, 5849, 12, 20, 318, 3744, 621, 604, 30, 46506, 35683, 7, 31534, 8, 16034, 3084, 62, 3672, 62, 1795, 33411, 1353, 62, 940, 796, 767, 5357, 1353, 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 ]
[ 2061, 318, 262, 2160, 286, 18715, 11, 618, 5849, 12, 940, 318, 767, 11, 290, 618, 5849, 12, 20, 318, 3744, 621, 604, 30, 46506, 35683, 7, 31534, 8, 16034, 3084, 62, 3672, 62, 1795, 33411, 1353, 62, 940, 796, 767, 5357, 1353, 62, ...
How many founded years had a final af2 season prior to 2009 where the arena was the bi-lo center and the first af2 season was prior to 2000?
SELECT COUNT(founded) FROM table_name_73 WHERE final_af2_season < 2009 AND arena = "bi-lo center" AND first_af2_season < 2000
[ 2437, 867, 9393, 812, 550, 257, 2457, 6580, 17, 1622, 3161, 284, 3717, 810, 262, 13478, 373, 262, 3182, 12, 5439, 3641, 290, 262, 717, 6580, 17, 1622, 373, 3161, 284, 4751, 30, 46506, 327, 28270, 7, 27060, 8, 16034, 3084, 62, 3672, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9393, 812, 550, 257, 2457, 6580, 17, 1622, 3161, 284, 3717, 810, 262, 13478, 373, 262, 3182, 12, 5439, 3641, 290, 262, 717, 6580, 17, 1622, 373, 3161, 284, 4751, 30, 46506, 327, 28270, 7, 27060, 8, 16034, 3084, 62, 3672, ...
What is Title, when Developer is '2Play Mobile', and when Genre is 'Action'?
SELECT "Title" FROM table_58998 WHERE "Developer" = '2play mobile' AND "Genre" = 'action'
[ 2061, 318, 11851, 11, 618, 23836, 318, 705, 17, 11002, 12173, 3256, 290, 618, 5215, 260, 318, 705, 12502, 30960, 46506, 366, 19160, 1, 16034, 3084, 62, 3365, 34808, 33411, 366, 45351, 1, 796, 705, 17, 1759, 5175, 6, 5357, 366, 13746, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11851, 11, 618, 23836, 318, 705, 17, 11002, 12173, 3256, 290, 618, 5215, 260, 318, 705, 12502, 30960, 46506, 366, 19160, 1, 16034, 3084, 62, 3365, 34808, 33411, 366, 45351, 1, 796, 705, 17, 1759, 5175, 6, 5357, 366, 13746, ...
How many courses are provided in each year? binning by year and create a line chart grouping by semester, and sort in ascending by the X-axis.
SELECT year, COUNT(*) FROM section GROUP BY semester ORDER BY year
[ 2437, 867, 10902, 389, 2810, 287, 1123, 614, 30, 9874, 768, 416, 614, 290, 2251, 257, 1627, 8262, 36115, 416, 24878, 11, 290, 3297, 287, 41988, 416, 262, 1395, 12, 22704, 13, 46506, 614, 11, 327, 28270, 7, 28104, 16034, 2665, 44441, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 10902, 389, 2810, 287, 1123, 614, 30, 9874, 768, 416, 614, 290, 2251, 257, 1627, 8262, 36115, 416, 24878, 11, 290, 3297, 287, 41988, 416, 262, 1395, 12, 22704, 13, 46506, 614, 11, 327, 28270, 7, 28104, 16034, 2665, 44441, ...
so how many days have passed since patient 27172 was admitted to the hospital?
SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', admissions.admittime)) FROM admissions WHERE admissions.subject_id = 27172 AND admissions.dischtime IS NULL
[ 568, 703, 867, 1528, 423, 3804, 1201, 5827, 2681, 23628, 373, 6848, 284, 262, 4436, 30, 46506, 352, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694, 28955, 532, 19269, 9792, 12789, 10786, 4, 73, 3256, 25349, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 568, 703, 867, 1528, 423, 3804, 1201, 5827, 2681, 23628, 373, 6848, 284, 262, 4436, 30, 46506, 352, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694, 28955, 532, 19269, 9792, 12789, 10786, 4, 73, 3256, 25349, 1...
Which Lead has a Nation of croatia?
SELECT "Lead" FROM table_5353 WHERE "Nation" = 'croatia'
[ 13828, 20116, 468, 257, 8741, 286, 6763, 265, 544, 30, 46506, 366, 20451, 1, 16034, 3084, 62, 20, 33319, 33411, 366, 46108, 1, 796, 705, 19915, 265, 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 ]
[ 13828, 20116, 468, 257, 8741, 286, 6763, 265, 544, 30, 46506, 366, 20451, 1, 16034, 3084, 62, 20, 33319, 33411, 366, 46108, 1, 796, 705, 19915, 265, 544, 6 ]
What was the average Position for which the amount Drawn was less than 0?
SELECT AVG("Position") FROM table_76150 WHERE "Drawn" < '0'
[ 2061, 373, 262, 2811, 23158, 329, 543, 262, 2033, 50061, 373, 1342, 621, 657, 30, 46506, 35224, 7203, 26545, 4943, 16034, 3084, 62, 4304, 8628, 33411, 366, 35, 5791, 1, 1279, 705, 15, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 2811, 23158, 329, 543, 262, 2033, 50061, 373, 1342, 621, 657, 30, 46506, 35224, 7203, 26545, 4943, 16034, 3084, 62, 4304, 8628, 33411, 366, 35, 5791, 1, 1279, 705, 15, 6 ]
tell me the amount of p.o. patient 031-24460 had received since 1599 days ago?
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 = '031-24460')) AND intakeoutput.celllabel = 'p.o.'...
[ 33331, 502, 262, 2033, 286, 279, 13, 78, 13, 5827, 657, 3132, 12, 25707, 1899, 550, 2722, 1201, 1315, 2079, 1528, 2084, 30, 46506, 35683, 7, 600, 539, 22915, 13, 3846, 2100, 84, 268, 39223, 8, 16034, 10337, 22915, 33411, 10337, 22915,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 33331, 502, 262, 2033, 286, 279, 13, 78, 13, 5827, 657, 3132, 12, 25707, 1899, 550, 2722, 1201, 1315, 2079, 1528, 2084, 30, 46506, 35683, 7, 600, 539, 22915, 13, 3846, 2100, 84, 268, 39223, 8, 16034, 10337, 22915, 33411, 10337, 22915,...
What is the highest pick of the back player from round 28?
SELECT MAX(pick) FROM table_name_42 WHERE position = "back" AND round = 28
[ 2061, 318, 262, 4511, 2298, 286, 262, 736, 2137, 422, 2835, 2579, 30, 46506, 25882, 7, 27729, 8, 16034, 3084, 62, 3672, 62, 3682, 33411, 2292, 796, 366, 1891, 1, 5357, 2835, 796, 2579 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4511, 2298, 286, 262, 736, 2137, 422, 2835, 2579, 30, 46506, 25882, 7, 27729, 8, 16034, 3084, 62, 3672, 62, 3682, 33411, 2292, 796, 366, 1891, 1, 5357, 2835, 796, 2579 ]
what was the drug that patient 5905 had been prescribed two times until 10/2101.
SELECT t1.drug FROM (SELECT prescriptions.drug, COUNT(prescriptions.startdate) AS c1 FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 5905) AND STRFTIME('%y-%m', prescriptions.startdate) <= '2101-10' GROUP BY prescriptions.drug) AS t1 WHERE t1.c1...
[ 10919, 373, 262, 2563, 326, 5827, 7863, 2713, 550, 587, 14798, 734, 1661, 1566, 838, 14, 2481, 486, 13, 46506, 256, 16, 13, 30349, 16034, 357, 46506, 34092, 13, 30349, 11, 327, 28270, 7, 18302, 24370, 13, 9688, 4475, 8, 7054, 269, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2563, 326, 5827, 7863, 2713, 550, 587, 14798, 734, 1661, 1566, 838, 14, 2481, 486, 13, 46506, 256, 16, 13, 30349, 16034, 357, 46506, 34092, 13, 30349, 11, 327, 28270, 7, 18302, 24370, 13, 9688, 4475, 8, 7054, 269, 1...
Who is a Creator of hyriand?
SELECT name FROM table_name_47 WHERE creator = "hyriand"
[ 8241, 318, 257, 21038, 286, 2537, 380, 392, 30, 46506, 1438, 16034, 3084, 62, 3672, 62, 2857, 33411, 13172, 796, 366, 12114, 380, 392, 1 ]
[ 1, 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, 257, 21038, 286, 2537, 380, 392, 30, 46506, 1438, 16034, 3084, 62, 3672, 62, 2857, 33411, 13172, 796, 366, 12114, 380, 392, 1 ]
what procedure was first taken to patient 13782 until 2102?
SELECT d_icd_procedures.short_title FROM d_icd_procedures WHERE d_icd_procedures.icd9_code IN (SELECT procedures_icd.icd9_code FROM procedures_icd WHERE procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 13782) AND STRFTIME('%y', procedures_icd.charttime) <= '2102' ORDER ...
[ 10919, 8771, 373, 717, 2077, 284, 5827, 1511, 46519, 1566, 362, 15377, 30, 46506, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 1676, 771, 942, 33411, 288, 62, 291, 67, 62, 1676, 771, 942,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8771, 373, 717, 2077, 284, 5827, 1511, 46519, 1566, 362, 15377, 30, 46506, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 1676, 771, 942, 33411, 288, 62, 291, 67, 62, 1676, 771, 942,...
What is the sum of Draws for a season later than 1964?
SELECT SUM("Draws") FROM table_6728 WHERE "Season" > '1964'
[ 2061, 318, 262, 2160, 286, 15315, 82, 329, 257, 1622, 1568, 621, 17575, 30, 46506, 35683, 7203, 25302, 82, 4943, 16034, 3084, 62, 3134, 2078, 33411, 366, 18960, 1, 1875, 705, 46477, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2160, 286, 15315, 82, 329, 257, 1622, 1568, 621, 17575, 30, 46506, 35683, 7203, 25302, 82, 4943, 16034, 3084, 62, 3134, 2078, 33411, 366, 18960, 1, 1875, 705, 46477, 6 ]
What was the lowest week in the month of August against Andrew Combs?
SELECT MIN(week) FROM table_name_60 WHERE month = "august" AND offensive = "andrew combs"
[ 2061, 373, 262, 9016, 1285, 287, 262, 1227, 286, 2932, 1028, 6858, 955, 1443, 30, 46506, 20625, 7, 10464, 8, 16034, 3084, 62, 3672, 62, 1899, 33411, 1227, 796, 366, 7493, 436, 1, 5357, 5859, 796, 366, 392, 1809, 401, 1443, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9016, 1285, 287, 262, 1227, 286, 2932, 1028, 6858, 955, 1443, 30, 46506, 20625, 7, 10464, 8, 16034, 3084, 62, 3672, 62, 1899, 33411, 1227, 796, 366, 7493, 436, 1, 5357, 5859, 796, 366, 392, 1809, 401, 1443, 1 ]
which political party party has had the most mayors of austevoll ?
SELECT "political party" FROM table_201_10 GROUP BY "political party" ORDER BY COUNT("name") DESC LIMIT 1
[ 4758, 1964, 2151, 2151, 468, 550, 262, 749, 44660, 286, 38132, 1990, 692, 5633, 46506, 366, 23149, 2151, 1, 16034, 3084, 62, 1264, 62, 940, 44441, 11050, 366, 23149, 2151, 1, 38678, 11050, 327, 28270, 7203, 3672, 4943, 22196, 34, 27564,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1964, 2151, 2151, 468, 550, 262, 749, 44660, 286, 38132, 1990, 692, 5633, 46506, 366, 23149, 2151, 1, 16034, 3084, 62, 1264, 62, 940, 44441, 11050, 366, 23149, 2151, 1, 38678, 11050, 327, 28270, 7203, 3672, 4943, 22196, 34, 27564,...
On what Date was the match with a Score of 6-2, 6-4?
SELECT date FROM table_name_64 WHERE score = "6-2, 6-4"
[ 2202, 644, 7536, 373, 262, 2872, 351, 257, 15178, 286, 718, 12, 17, 11, 718, 12, 19, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 2414, 33411, 4776, 796, 366, 21, 12, 17, 11, 718, 12, 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 ]
[ 2202, 644, 7536, 373, 262, 2872, 351, 257, 15178, 286, 718, 12, 17, 11, 718, 12, 19, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 2414, 33411, 4776, 796, 366, 21, 12, 17, 11, 718, 12, 19, 1 ]
What courses open up after taking BUDDHST 512 ?
SELECT DISTINCT COURSE_0.department, COURSE_0.name, COURSE_0.number FROM course AS COURSE_0 INNER JOIN course_prerequisite ON COURSE_0.course_id = course_prerequisite.course_id INNER JOIN course AS COURSE_1 ON COURSE_1.course_id = course_prerequisite.pre_course_id WHERE COURSE_1.department = 'BUDDHST' AND COURSE_1.numb...
[ 2061, 10902, 1280, 510, 706, 2263, 347, 8322, 41473, 2257, 22243, 5633, 46506, 360, 8808, 1268, 4177, 37384, 5188, 62, 15, 13, 10378, 1823, 11, 37384, 5188, 62, 15, 13, 3672, 11, 37384, 5188, 62, 15, 13, 17618, 16034, 1781, 7054, 3738...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10902, 1280, 510, 706, 2263, 347, 8322, 41473, 2257, 22243, 5633, 46506, 360, 8808, 1268, 4177, 37384, 5188, 62, 15, 13, 10378, 1823, 11, 37384, 5188, 62, 15, 13, 3672, 11, 37384, 5188, 62, 15, 13, 17618, 16034, 1781, 7054, 3738...
What is the highest latitude when there are more than 0.518 square miles of water, a longitude less than -99.830606, and a population of 18?
SELECT MAX(latitude) FROM table_name_69 WHERE water__sqmi_ > 0.518 AND longitude < -99.830606 AND pop__2010_ = 18
[ 2061, 318, 262, 4511, 32477, 618, 612, 389, 517, 621, 657, 13, 44085, 6616, 4608, 286, 1660, 11, 257, 890, 3984, 1342, 621, 532, 2079, 13, 48341, 33206, 11, 290, 257, 3265, 286, 1248, 30, 46506, 25882, 7, 15460, 3984, 8, 16034, 3084...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 32477, 618, 612, 389, 517, 621, 657, 13, 44085, 6616, 4608, 286, 1660, 11, 257, 890, 3984, 1342, 621, 532, 2079, 13, 48341, 33206, 11, 290, 257, 3265, 286, 1248, 30, 46506, 25882, 7, 15460, 3984, 8, 16034, 3084...
count the number of patients that are diagnosed with myeloproliferative disorder - chronic myeloproliferative disorder (clinical).
SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.patientunitstayid IN (SELECT diagnosis.patientunitstayid FROM diagnosis WHERE diagnosis.diagnosisname = 'myeloproliferative disorder - chronic myeloproliferative disorder (clinical)')
[ 9127, 262, 1271, 286, 3871, 326, 389, 14641, 351, 616, 417, 404, 3225, 7087, 876, 8967, 532, 10726, 616, 417, 404, 3225, 7087, 876, 8967, 357, 47367, 737, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 5827, 13, 403, 1557, 538, 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, 326, 389, 14641, 351, 616, 417, 404, 3225, 7087, 876, 8967, 532, 10726, 616, 417, 404, 3225, 7087, 876, 8967, 357, 47367, 737, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 5827, 13, 403, 1557, 538, 312, 8,...
What is Jillian Evans highest number of seats?
SELECT MAX(number_of_seats) FROM table_name_45 WHERE leader = "jillian evans"
[ 2061, 318, 22772, 666, 13922, 4511, 1271, 286, 8632, 30, 46506, 25882, 7, 17618, 62, 1659, 62, 325, 1381, 8, 16034, 3084, 62, 3672, 62, 2231, 33411, 3554, 796, 366, 73, 37896, 819, 504, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 22772, 666, 13922, 4511, 1271, 286, 8632, 30, 46506, 25882, 7, 17618, 62, 1659, 62, 325, 1381, 8, 16034, 3084, 62, 3672, 62, 2231, 33411, 3554, 796, 366, 73, 37896, 819, 504, 1 ]
For all employees who have the letters D or S in their first name, find job_id and the average of manager_id , and group by attribute job_id, and visualize them by a bar chart, could you order by the bar in desc please?
SELECT JOB_ID, AVG(MANAGER_ID) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' GROUP BY JOB_ID ORDER BY JOB_ID DESC
[ 1890, 477, 4409, 508, 423, 262, 7475, 360, 393, 311, 287, 511, 717, 1438, 11, 1064, 1693, 62, 312, 290, 262, 2811, 286, 4706, 62, 312, 837, 290, 1448, 416, 11688, 1693, 62, 312, 11, 290, 38350, 606, 416, 257, 2318, 8262, 11, 714, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 477, 4409, 508, 423, 262, 7475, 360, 393, 311, 287, 511, 717, 1438, 11, 1064, 1693, 62, 312, 290, 262, 2811, 286, 4706, 62, 312, 837, 290, 1448, 416, 11688, 1693, 62, 312, 11, 290, 38350, 606, 416, 257, 2318, 8262, 11, 714, ...
Which Name has a Pennant number of f82?
SELECT "Name" FROM table_36209 WHERE "Pennant number" = 'f82'
[ 13828, 6530, 468, 257, 6595, 415, 1271, 286, 277, 6469, 30, 46506, 366, 5376, 1, 16034, 3084, 62, 2623, 22567, 33411, 366, 39899, 415, 1271, 1, 796, 705, 69, 6469, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 6530, 468, 257, 6595, 415, 1271, 286, 277, 6469, 30, 46506, 366, 5376, 1, 16034, 3084, 62, 2623, 22567, 33411, 366, 39899, 415, 1271, 1, 796, 705, 69, 6469, 6 ]
Name the nominating festival for director of 2004
SELECT nominating_festival FROM table_name_1 WHERE director_s_ = "2004"
[ 5376, 262, 48833, 10876, 329, 3437, 286, 5472, 46506, 48833, 62, 69, 6743, 16034, 3084, 62, 3672, 62, 16, 33411, 3437, 62, 82, 62, 796, 366, 15724, 1 ]
[ 1, 1, 1, 1, 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, 48833, 10876, 329, 3437, 286, 5472, 46506, 48833, 62, 69, 6743, 16034, 3084, 62, 3672, 62, 16, 33411, 3437, 62, 82, 62, 796, 366, 15724, 1 ]
What was the result in the event 1 medley for the man with a 4 (6 in 31.85s) in the event 3 squat lift?
SELECT event_1_medley FROM table_24302700_2 WHERE event_3_squat_lift = "4 (6 in 31.85s)"
[ 2061, 373, 262, 1255, 287, 262, 1785, 352, 1117, 1636, 329, 262, 582, 351, 257, 604, 357, 21, 287, 3261, 13, 5332, 82, 8, 287, 262, 1785, 513, 22713, 10303, 30, 46506, 1785, 62, 16, 62, 1150, 1636, 16034, 3084, 62, 1731, 1270, 198...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1255, 287, 262, 1785, 352, 1117, 1636, 329, 262, 582, 351, 257, 604, 357, 21, 287, 3261, 13, 5332, 82, 8, 287, 262, 1785, 513, 22713, 10303, 30, 46506, 1785, 62, 16, 62, 1150, 1636, 16034, 3084, 62, 1731, 1270, 198...
For all employees who have the letters D or S in their first name, return a bar chart about the distribution of job_id and the average of employee_id , and group by attribute job_id.
SELECT JOB_ID, AVG(EMPLOYEE_ID) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' GROUP BY JOB_ID
[ 1890, 477, 4409, 508, 423, 262, 7475, 360, 393, 311, 287, 511, 717, 1438, 11, 1441, 257, 2318, 8262, 546, 262, 6082, 286, 1693, 62, 312, 290, 262, 2811, 286, 6538, 62, 312, 837, 290, 1448, 416, 11688, 1693, 62, 312, 13, 46506, 449...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 477, 4409, 508, 423, 262, 7475, 360, 393, 311, 287, 511, 717, 1438, 11, 1441, 257, 2318, 8262, 546, 262, 6082, 286, 1693, 62, 312, 290, 262, 2811, 286, 6538, 62, 312, 837, 290, 1448, 416, 11688, 1693, 62, 312, 13, 46506, 449...
What is the lowest number of touchdowns for left halfback WIllie Heston who has more than 15 points?
SELECT MIN(touchdowns) FROM table_name_74 WHERE position = "left halfback" AND player = "willie heston" AND points > 15
[ 2061, 318, 262, 9016, 1271, 286, 17692, 329, 1364, 2063, 1891, 370, 21478, 494, 367, 19115, 508, 468, 517, 621, 1315, 2173, 30, 46506, 20625, 7, 29332, 30371, 8, 16034, 3084, 62, 3672, 62, 4524, 33411, 2292, 796, 366, 9464, 2063, 1891...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17692, 329, 1364, 2063, 1891, 370, 21478, 494, 367, 19115, 508, 468, 517, 621, 1315, 2173, 30, 46506, 20625, 7, 29332, 30371, 8, 16034, 3084, 62, 3672, 62, 4524, 33411, 2292, 796, 366, 9464, 2063, 1891...
what is olle ahlunds club and his position ?
SELECT "club", "pos." FROM table_203_692 WHERE "name" = 'olle ahlund'
[ 10919, 318, 25776, 293, 257, 18519, 917, 82, 3430, 290, 465, 2292, 5633, 46506, 366, 18664, 1600, 366, 1930, 526, 16034, 3084, 62, 22416, 62, 46589, 33411, 366, 3672, 1, 796, 705, 349, 293, 257, 18519, 917, 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 ]
[ 10919, 318, 25776, 293, 257, 18519, 917, 82, 3430, 290, 465, 2292, 5633, 46506, 366, 18664, 1600, 366, 1930, 526, 16034, 3084, 62, 22416, 62, 46589, 33411, 366, 3672, 1, 796, 705, 349, 293, 257, 18519, 917, 6 ]
Who is the 2nd member of the conservative 1st party, which had Vaughan Lee as the 1st member, in the election of 1874?
SELECT "2nd Member" FROM table_71440 WHERE "1st Party" = 'conservative' AND "1st Member" = 'vaughan lee' AND "Election" = '1874'
[ 8241, 318, 262, 362, 358, 2888, 286, 262, 5940, 352, 301, 2151, 11, 543, 550, 47451, 5741, 355, 262, 352, 301, 2888, 11, 287, 262, 3071, 286, 1248, 4524, 30, 46506, 366, 17, 358, 10239, 1, 16034, 3084, 62, 45722, 1821, 33411, 366, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 8241, 318, 262, 362, 358, 2888, 286, 262, 5940, 352, 301, 2151, 11, 543, 550, 47451, 5741, 355, 262, 352, 301, 2888, 11, 287, 262, 3071, 286, 1248, 4524, 30, 46506, 366, 17, 358, 10239, 1, 16034, 3084, 62, 45722, 1821, 33411, 366, ...
How many categories for elapsed time exist for the $16.50 fixed-limit badugi game?
SELECT COUNT(elapsed_time) FROM table_22050544_3 WHERE event = "$16.50 Fixed-Limit Badugi"
[ 2437, 867, 9376, 329, 42118, 640, 2152, 329, 262, 720, 1433, 13, 1120, 5969, 12, 32374, 2089, 45659, 983, 30, 46506, 327, 28270, 7, 417, 28361, 62, 2435, 8, 16034, 3084, 62, 17572, 31654, 2598, 62, 18, 33411, 1785, 796, 17971, 1433, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9376, 329, 42118, 640, 2152, 329, 262, 720, 1433, 13, 1120, 5969, 12, 32374, 2089, 45659, 983, 30, 46506, 327, 28270, 7, 417, 28361, 62, 2435, 8, 16034, 3084, 62, 17572, 31654, 2598, 62, 18, 33411, 1785, 796, 17971, 1433, ...
What is the percentage of females where in India and are maharashtra?
SELECT females___percentage_ FROM table_14598_9 WHERE india_state_ut = "Maharashtra"
[ 2061, 318, 262, 5873, 286, 12366, 810, 287, 3794, 290, 389, 285, 37325, 38535, 30, 46506, 12366, 17569, 25067, 496, 62, 16034, 3084, 62, 1415, 41292, 62, 24, 33411, 773, 544, 62, 5219, 62, 315, 796, 366, 44, 37325, 38535, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 5873, 286, 12366, 810, 287, 3794, 290, 389, 285, 37325, 38535, 30, 46506, 12366, 17569, 25067, 496, 62, 16034, 3084, 62, 1415, 41292, 62, 24, 33411, 773, 544, 62, 5219, 62, 315, 796, 366, 44, 37325, 38535, 1 ]
What number has an acquisition via the Rookie Draft, and is part of a School/club team at Cal State Fullerton?
SELECT number FROM table_name_54 WHERE acquisition_via = "rookie draft" AND school_club_team = "cal state fullerton"
[ 2061, 1271, 468, 281, 12673, 2884, 262, 36595, 13650, 11, 290, 318, 636, 286, 257, 3961, 14, 18664, 1074, 379, 2199, 1812, 6462, 29111, 30, 46506, 1271, 16034, 3084, 62, 3672, 62, 4051, 33411, 12673, 62, 8869, 796, 366, 305, 482, 494,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1271, 468, 281, 12673, 2884, 262, 36595, 13650, 11, 290, 318, 636, 286, 257, 3961, 14, 18664, 1074, 379, 2199, 1812, 6462, 29111, 30, 46506, 1271, 16034, 3084, 62, 3672, 62, 4051, 33411, 12673, 62, 8869, 796, 366, 305, 482, 494,...
what is the number of years with a quantity of 10 ?
SELECT COUNT(DISTINCT "year") FROM table_204_737 WHERE "quantity" = 10
[ 10919, 318, 262, 1271, 286, 812, 351, 257, 12040, 286, 838, 5633, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 366, 1941, 4943, 16034, 3084, 62, 18638, 62, 22, 2718, 33411, 366, 40972, 414, 1, 796, 838 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 812, 351, 257, 12040, 286, 838, 5633, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 366, 1941, 4943, 16034, 3084, 62, 18638, 62, 22, 2718, 33411, 366, 40972, 414, 1, 796, 838 ]
what is the number of patients on ih route of drug administration who have regional enteritis of unspecified site diagnoses?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.long_title = "Regional enteritis of unspecified site" AND prescriptions.route = "IH"
[ 10919, 318, 262, 1271, 286, 3871, 319, 1312, 71, 6339, 286, 2563, 3662, 508, 423, 7915, 3802, 11815, 286, 29547, 2524, 40567, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 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...
[ 10919, 318, 262, 1271, 286, 3871, 319, 1312, 71, 6339, 286, 2563, 3662, 508, 423, 7915, 3802, 11815, 286, 29547, 2524, 40567, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 323...
What was the Attendance when the Result was L 31 23?
SELECT "Attendance" FROM table_8316 WHERE "Result" = 'l 31–23'
[ 2061, 373, 262, 46502, 590, 618, 262, 25414, 373, 406, 3261, 2242, 30, 46506, 366, 8086, 437, 590, 1, 16034, 3084, 62, 5999, 1433, 33411, 366, 23004, 1, 796, 705, 75, 3261, 1906, 1954, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 46502, 590, 618, 262, 25414, 373, 406, 3261, 2242, 30, 46506, 366, 8086, 437, 590, 1, 16034, 3084, 62, 5999, 1433, 33411, 366, 23004, 1, 796, 705, 75, 3261, 1906, 1954, 6 ]
how many patients whose diagnoses short title is ath ext ntv at w claudct?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE diagnoses.short_title = "Ath ext ntv at w claudct"
[ 4919, 867, 3871, 3025, 40567, 1790, 3670, 318, 5782, 1070, 299, 14981, 379, 266, 537, 3885, 310, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 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, 40567, 1790, 3670, 318, 5782, 1070, 299, 14981, 379, 266, 537, 3885, 310, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, ...
What is the highest rated West Lancashire with a Pendle greater than 1 and a Rossendale more than 2?
SELECT MAX(west_lancashire) FROM table_name_15 WHERE pendle > 1 AND rossendale > 2
[ 2061, 318, 262, 4511, 13178, 2688, 21534, 1077, 557, 351, 257, 36865, 293, 3744, 621, 352, 290, 257, 9847, 41147, 517, 621, 362, 30, 46506, 25882, 7, 7038, 62, 75, 1192, 1077, 557, 8, 16034, 3084, 62, 3672, 62, 1314, 33411, 44017, 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 ]
[ 2061, 318, 262, 4511, 13178, 2688, 21534, 1077, 557, 351, 257, 36865, 293, 3744, 621, 352, 290, 257, 9847, 41147, 517, 621, 362, 30, 46506, 25882, 7, 7038, 62, 75, 1192, 1077, 557, 8, 16034, 3084, 62, 3672, 62, 1314, 33411, 44017, 2...
what's the total number of singles w-l with doubles w-l of 0 0 and total w-l of 3 1
SELECT COUNT(singles_w_l) FROM table_10023387_1 WHERE doubles_w_l = "0–0" AND total_w_l = "3–1"
[ 10919, 338, 262, 2472, 1271, 286, 25287, 266, 12, 75, 351, 21938, 266, 12, 75, 286, 657, 657, 290, 2472, 266, 12, 75, 286, 513, 352, 46506, 327, 28270, 7, 12215, 829, 62, 86, 62, 75, 8, 16034, 3084, 62, 3064, 1954, 32220, 62, 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...
[ 10919, 338, 262, 2472, 1271, 286, 25287, 266, 12, 75, 351, 21938, 266, 12, 75, 286, 657, 657, 290, 2472, 266, 12, 75, 286, 513, 352, 46506, 327, 28270, 7, 12215, 829, 62, 86, 62, 75, 8, 16034, 3084, 62, 3064, 1954, 32220, 62, 16...
What is the height of the player from Las Vegas, NV?
SELECT height FROM table_name_80 WHERE home_town = "las vegas, nv"
[ 2061, 318, 262, 6001, 286, 262, 2137, 422, 10123, 9621, 11, 23973, 30, 46506, 6001, 16034, 3084, 62, 3672, 62, 1795, 33411, 1363, 62, 12735, 796, 366, 21921, 1569, 22649, 11, 299, 85, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6001, 286, 262, 2137, 422, 10123, 9621, 11, 23973, 30, 46506, 6001, 16034, 3084, 62, 3672, 62, 1795, 33411, 1363, 62, 12735, 796, 366, 21921, 1569, 22649, 11, 299, 85, 1 ]
What country had a 100% cut?
SELECT country FROM table_21690339_1 WHERE _percentage_cut = "100%"
[ 2061, 1499, 550, 257, 1802, 4, 2005, 30, 46506, 1499, 16034, 3084, 62, 20666, 3829, 29626, 62, 16, 33411, 4808, 25067, 496, 62, 8968, 796, 366, 3064, 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 ]
[ 2061, 1499, 550, 257, 1802, 4, 2005, 30, 46506, 1499, 16034, 3084, 62, 20666, 3829, 29626, 62, 16, 33411, 4808, 25067, 496, 62, 8968, 796, 366, 3064, 39658 ]
What are the first names of customers who have not rented any films after '2005-08-23 02:06:01'?
SELECT first_name FROM customer WHERE NOT customer_id IN (SELECT customer_id FROM rental WHERE rental_date > '2005-08-23 02:06:01')
[ 2061, 389, 262, 717, 3891, 286, 4297, 508, 423, 407, 26399, 597, 7328, 706, 705, 14315, 12, 2919, 12, 1954, 7816, 25, 3312, 25, 486, 30960, 46506, 717, 62, 3672, 16034, 6491, 33411, 5626, 6491, 62, 312, 3268, 357, 46506, 6491, 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 ]
[ 2061, 389, 262, 717, 3891, 286, 4297, 508, 423, 407, 26399, 597, 7328, 706, 705, 14315, 12, 2919, 12, 1954, 7816, 25, 3312, 25, 486, 30960, 46506, 717, 62, 3672, 16034, 6491, 33411, 5626, 6491, 62, 312, 3268, 357, 46506, 6491, 62, 3...
What are the names of races held between 2009 and 2011, and count them by a bar chart, show from high to low by the Y.
SELECT name, COUNT(name) FROM races WHERE year BETWEEN 2009 AND 2011 GROUP BY name ORDER BY COUNT(name) DESC
[ 2061, 389, 262, 3891, 286, 9558, 2714, 1022, 3717, 290, 2813, 11, 290, 954, 606, 416, 257, 2318, 8262, 11, 905, 422, 1029, 284, 1877, 416, 262, 575, 13, 46506, 1438, 11, 327, 28270, 7, 3672, 8, 16034, 9558, 33411, 614, 38651, 8845, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3891, 286, 9558, 2714, 1022, 3717, 290, 2813, 11, 290, 954, 606, 416, 257, 2318, 8262, 11, 905, 422, 1029, 284, 1877, 416, 262, 575, 13, 46506, 1438, 11, 327, 28270, 7, 3672, 8, 16034, 9558, 33411, 614, 38651, 8845, ...
what is the average days of hospital stay of patients whose ethnicity is american indian/alaska native?
SELECT AVG(demographic.days_stay) FROM demographic WHERE demographic.ethnicity = "AMERICAN INDIAN/ALASKA NATIVE"
[ 10919, 318, 262, 2811, 1528, 286, 4436, 2652, 286, 3871, 3025, 26289, 318, 45630, 272, 773, 666, 14, 282, 8480, 6868, 30, 46506, 35224, 7, 9536, 6826, 13, 12545, 62, 31712, 8, 16034, 16728, 33411, 16728, 13, 38546, 414, 796, 366, 2390...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2811, 1528, 286, 4436, 2652, 286, 3871, 3025, 26289, 318, 45630, 272, 773, 666, 14, 282, 8480, 6868, 30, 46506, 35224, 7, 9536, 6826, 13, 12545, 62, 31712, 8, 16034, 16728, 33411, 16728, 13, 38546, 414, 796, 366, 2390...
List the name of tracks belongs to genre Rock or genre Jazz.
SELECT T2.name FROM genres AS T1 JOIN tracks AS T2 ON T1.id = T2.genre_id WHERE T1.name = "Rock" OR T1.name = "Jazz"
[ 8053, 262, 1438, 286, 8339, 14448, 284, 12121, 4631, 393, 12121, 21406, 13, 46506, 309, 17, 13, 3672, 16034, 27962, 7054, 309, 16, 32357, 1268, 8339, 7054, 309, 17, 6177, 309, 16, 13, 312, 796, 309, 17, 13, 35850, 62, 312, 33411, 30...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8053, 262, 1438, 286, 8339, 14448, 284, 12121, 4631, 393, 12121, 21406, 13, 46506, 309, 17, 13, 3672, 16034, 27962, 7054, 309, 16, 32357, 1268, 8339, 7054, 309, 17, 6177, 309, 16, 13, 312, 796, 309, 17, 13, 35850, 62, 312, 33411, 30...
What is the First Aligned date in 1614?
SELECT "First aligned day" FROM table_40567 WHERE "Date" = '1614'
[ 2061, 318, 262, 3274, 978, 3916, 3128, 287, 1467, 1415, 30, 46506, 366, 5962, 19874, 1110, 1, 16034, 3084, 62, 26598, 3134, 33411, 366, 10430, 1, 796, 705, 1433, 1415, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 3274, 978, 3916, 3128, 287, 1467, 1415, 30, 46506, 366, 5962, 19874, 1110, 1, 16034, 3084, 62, 26598, 3134, 33411, 366, 10430, 1, 796, 705, 1433, 1415, 6 ]
What is the score when the attendance is less than 83 and Raunds Town is the away team?
SELECT "Score" FROM table_61854 WHERE "Attendance" < '83' AND "Away team" = 'raunds town'
[ 2061, 318, 262, 4776, 618, 262, 14858, 318, 1342, 621, 9698, 290, 371, 14677, 82, 8329, 318, 262, 1497, 1074, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 47448, 4051, 33411, 366, 8086, 437, 590, 1, 1279, 705, 5999, 6, 5357, 366, 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, 1, 1 ]
[ 2061, 318, 262, 4776, 618, 262, 14858, 318, 1342, 621, 9698, 290, 371, 14677, 82, 8329, 318, 262, 1497, 1074, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 47448, 4051, 33411, 366, 8086, 437, 590, 1, 1279, 705, 5999, 6, 5357, 366, 32, ...
What's the lowest rating with 11.2 million viewers?
SELECT MIN(ranking) FROM table_217785_2 WHERE viewers__in_millions_of_households_ = "11.2"
[ 2061, 338, 262, 9016, 7955, 351, 1367, 13, 17, 1510, 10209, 30, 46506, 20625, 7, 28405, 8, 16034, 3084, 62, 24591, 41172, 62, 17, 33411, 10209, 834, 259, 62, 17805, 507, 62, 1659, 62, 4803, 2946, 82, 62, 796, 366, 1157, 13, 17, 1 ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 338, 262, 9016, 7955, 351, 1367, 13, 17, 1510, 10209, 30, 46506, 20625, 7, 28405, 8, 16034, 3084, 62, 24591, 41172, 62, 17, 33411, 10209, 834, 259, 62, 17805, 507, 62, 1659, 62, 4803, 2946, 82, 62, 796, 366, 1157, 13, 17, 1 ...
count the number of times that in 02/this year patient 20000 had taken tube feeding.
SELECT COUNT(*) FROM inputevents_cv WHERE inputevents_cv.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 20000)) AND inputevents_cv.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'tube feeding...
[ 9127, 262, 1271, 286, 1661, 326, 287, 7816, 14, 5661, 614, 5827, 939, 405, 550, 2077, 12403, 13017, 13, 46506, 327, 28270, 7, 28104, 16034, 287, 79, 1133, 85, 658, 62, 33967, 33411, 287, 79, 1133, 85, 658, 62, 33967, 13, 291, 436, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1661, 326, 287, 7816, 14, 5661, 614, 5827, 939, 405, 550, 2077, 12403, 13017, 13, 46506, 327, 28270, 7, 28104, 16034, 287, 79, 1133, 85, 658, 62, 33967, 33411, 287, 79, 1133, 85, 658, 62, 33967, 13, 291, 436, ...
What are the payment date of the payment with amount paid higher than 300 or with payment type is 'Check, and count them by a bar chart, order in desc by the y axis.
SELECT payment_date, COUNT(payment_date) FROM Payments WHERE amount_paid > 300 OR payment_type_code = 'Check' ORDER BY COUNT(payment_date) DESC
[ 2061, 389, 262, 6074, 3128, 286, 262, 6074, 351, 2033, 3432, 2440, 621, 5867, 393, 351, 6074, 2099, 318, 705, 9787, 11, 290, 954, 606, 416, 257, 2318, 8262, 11, 1502, 287, 1715, 416, 262, 331, 16488, 13, 46506, 6074, 62, 4475, 11, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 389, 262, 6074, 3128, 286, 262, 6074, 351, 2033, 3432, 2440, 621, 5867, 393, 351, 6074, 2099, 318, 705, 9787, 11, 290, 954, 606, 416, 257, 2318, 8262, 11, 1502, 287, 1715, 416, 262, 331, 16488, 13, 46506, 6074, 62, 4475, 11, ...
Name the score for chicago bulls
SELECT score FROM table_22654073_7 WHERE team = "Chicago Bulls"
[ 5376, 262, 4776, 329, 442, 4549, 40317, 46506, 4776, 16034, 3084, 62, 1828, 2996, 1821, 4790, 62, 22, 33411, 1074, 796, 366, 25705, 18075, 1 ]
[ 1, 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, 4776, 329, 442, 4549, 40317, 46506, 4776, 16034, 3084, 62, 1828, 2996, 1821, 4790, 62, 22, 33411, 1074, 796, 366, 25705, 18075, 1 ]
For those records from the products and each product's manufacturer, visualize a bar chart about the distribution of name and price , and group by attribute name, rank Name from high to low order.
SELECT T1.Name, T1.Price 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, 38350, 257, 2318, 8262, 546, 262, 6082, 286, 1438, 290, 2756, 837, 290, 1448, 416, 11688, 1438, 11, 4279, 6530, 422, 1029, 284, 1877, 1502, 13, 46506, 309, 16, 13, 53...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 38350, 257, 2318, 8262, 546, 262, 6082, 286, 1438, 290, 2756, 837, 290, 1448, 416, 11688, 1438, 11, 4279, 6530, 422, 1029, 284, 1877, 1502, 13, 46506, 309, 16, 13, 53...
Draw a bar chart about the distribution of Sex and the average of Height , and group by attribute Sex, could you list in desc by the bar?
SELECT Sex, AVG(Height) FROM people GROUP BY Sex ORDER BY Sex DESC
[ 25302, 257, 2318, 8262, 546, 262, 6082, 286, 14419, 290, 262, 2811, 286, 27280, 837, 290, 1448, 416, 11688, 14419, 11, 714, 345, 1351, 287, 1715, 416, 262, 2318, 30, 46506, 14419, 11, 35224, 7, 23106, 8, 16034, 661, 44441, 11050, 1441...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 25302, 257, 2318, 8262, 546, 262, 6082, 286, 14419, 290, 262, 2811, 286, 27280, 837, 290, 1448, 416, 11688, 14419, 11, 714, 345, 1351, 287, 1715, 416, 262, 2318, 30, 46506, 14419, 11, 35224, 7, 23106, 8, 16034, 661, 44441, 11050, 1441...
what locomotive is just previous to bl29 ?
SELECT "locomotive" FROM table_204_816 WHERE id = (SELECT id FROM table_204_816 WHERE "locomotive" = 'bl29') - 1
[ 10919, 33334, 19138, 318, 655, 2180, 284, 698, 1959, 5633, 46506, 366, 17946, 296, 19138, 1, 16034, 3084, 62, 18638, 62, 23, 1433, 33411, 4686, 796, 357, 46506, 4686, 16034, 3084, 62, 18638, 62, 23, 1433, 33411, 366, 17946, 296, 19138, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 33334, 19138, 318, 655, 2180, 284, 698, 1959, 5633, 46506, 366, 17946, 296, 19138, 1, 16034, 3084, 62, 18638, 62, 23, 1433, 33411, 4686, 796, 357, 46506, 4686, 16034, 3084, 62, 18638, 62, 23, 1433, 33411, 366, 17946, 296, 19138, ...
What was Anthony D. Marshall's title?
SELECT title FROM table_name_14 WHERE name = "anthony d. marshall"
[ 2061, 373, 9953, 360, 13, 13606, 338, 3670, 30, 46506, 3670, 16034, 3084, 62, 3672, 62, 1415, 33411, 1438, 796, 366, 29313, 1647, 288, 13, 22397, 439, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 9953, 360, 13, 13606, 338, 3670, 30, 46506, 3670, 16034, 3084, 62, 3672, 62, 1415, 33411, 1438, 796, 366, 29313, 1647, 288, 13, 22397, 439, 1 ]
how many newborn patients were born before the year 2197?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_type = "NEWBORN" AND demographic.dob_year < "2197"
[ 4919, 867, 23856, 3871, 547, 4642, 878, 262, 614, 362, 24991, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, 4906, 796, 366, 13965, 33, 30649, 1, 5357, 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 ]
[ 4919, 867, 23856, 3871, 547, 4642, 878, 262, 614, 362, 24991, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, 4906, 796, 366, 13965, 33, 30649, 1, 5357, 16...
Tell me the location for win with record of 8-5
SELECT "Location" FROM table_54313 WHERE "Res." = 'win' AND "Record" = '8-5'
[ 24446, 502, 262, 4067, 329, 1592, 351, 1700, 286, 807, 12, 20, 46506, 366, 14749, 1, 16034, 3084, 62, 20, 3559, 1485, 33411, 366, 4965, 526, 796, 705, 5404, 6, 5357, 366, 23739, 1, 796, 705, 23, 12, 20, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 24446, 502, 262, 4067, 329, 1592, 351, 1700, 286, 807, 12, 20, 46506, 366, 14749, 1, 16034, 3084, 62, 20, 3559, 1485, 33411, 366, 4965, 526, 796, 705, 5404, 6, 5357, 366, 23739, 1, 796, 705, 23, 12, 20, 6 ]
Which Extra points is the highest one that has a Player of herrnstein, and Points smaller than 30?
SELECT MAX("Extra points") FROM table_38931 WHERE "Player" = 'herrnstein' AND "Points" < '30'
[ 13828, 17221, 2173, 318, 262, 4511, 530, 326, 468, 257, 7853, 286, 607, 35906, 5714, 11, 290, 11045, 4833, 621, 1542, 30, 46506, 25882, 7203, 27726, 2173, 4943, 16034, 3084, 62, 29769, 3132, 33411, 366, 14140, 1, 796, 705, 372, 35906, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17221, 2173, 318, 262, 4511, 530, 326, 468, 257, 7853, 286, 607, 35906, 5714, 11, 290, 11045, 4833, 621, 1542, 30, 46506, 25882, 7203, 27726, 2173, 4943, 16034, 3084, 62, 29769, 3132, 33411, 366, 14140, 1, 796, 705, 372, 35906, ...
Members by Rep in Ireland.
SELECT DisplayName, Reputation, Location FROM Users WHERE UPPER(Location) LIKE '%IRELAND%' ORDER BY Reputation DESC
[ 25341, 416, 1432, 287, 7517, 13, 46506, 16531, 5376, 11, 1432, 7094, 11, 13397, 16034, 18987, 33411, 471, 10246, 1137, 7, 14749, 8, 34178, 705, 4, 40, 16448, 6981, 4, 6, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 25341, 416, 1432, 287, 7517, 13, 46506, 16531, 5376, 11, 1432, 7094, 11, 13397, 16034, 18987, 33411, 471, 10246, 1137, 7, 14749, 8, 34178, 705, 4, 40, 16448, 6981, 4, 6, 38678, 11050, 1432, 7094, 22196, 34 ]
What average rank that has a silver less than 0?
SELECT AVG(rank) FROM table_name_41 WHERE silver < 0
[ 2061, 2811, 4279, 326, 468, 257, 8465, 1342, 621, 657, 30, 46506, 35224, 7, 43027, 8, 16034, 3084, 62, 3672, 62, 3901, 33411, 8465, 1279, 657 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 2811, 4279, 326, 468, 257, 8465, 1342, 621, 657, 30, 46506, 35224, 7, 43027, 8, 16034, 3084, 62, 3672, 62, 3901, 33411, 8465, 1279, 657 ]
until 56 months ago, what was the yearly maximum weight of patient 7519?
SELECT MAX(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 = 7519)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'admit...
[ 28446, 7265, 1933, 2084, 11, 644, 373, 262, 24169, 5415, 3463, 286, 5827, 5441, 1129, 30, 46506, 25882, 7, 40926, 31534, 13, 2100, 84, 44709, 8, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, 323, 62, 312, 3268, 357, 46506, 141...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 28446, 7265, 1933, 2084, 11, 644, 373, 262, 24169, 5415, 3463, 286, 5827, 5441, 1129, 30, 46506, 25882, 7, 40926, 31534, 13, 2100, 84, 44709, 8, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, 323, 62, 312, 3268, 357, 46506, 141...
How many acting statuses are there?
SELECT COUNT(DISTINCT temporary_acting) FROM management
[ 2437, 867, 7205, 1185, 2664, 389, 612, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 8584, 62, 27362, 8, 16034, 4542 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 7205, 1185, 2664, 389, 612, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 8584, 62, 27362, 8, 16034, 4542 ]
Name the number of tn seshan values for kr values is 478608
SELECT COUNT("T.N. Seshan (Values)") FROM table_73473 WHERE "K.R. Narayanan (Values)" = '478608'
[ 5376, 262, 1271, 286, 256, 77, 264, 5069, 272, 3815, 329, 479, 81, 3815, 318, 604, 3695, 28688, 46506, 327, 28270, 7203, 51, 13, 45, 13, 311, 5069, 272, 357, 40161, 8, 4943, 16034, 3084, 62, 22, 2682, 4790, 33411, 366, 42, 13, 49,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1271, 286, 256, 77, 264, 5069, 272, 3815, 329, 479, 81, 3815, 318, 604, 3695, 28688, 46506, 327, 28270, 7203, 51, 13, 45, 13, 311, 5069, 272, 357, 40161, 8, 4943, 16034, 3084, 62, 22, 2682, 4790, 33411, 366, 42, 13, 49,...
When did the Texans play at LP Field?
SELECT "Date" FROM table_75882 WHERE "Game site" = 'lp field'
[ 2215, 750, 262, 21012, 711, 379, 18470, 7663, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 2425, 42980, 33411, 366, 8777, 2524, 1, 796, 705, 34431, 2214, 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 ]
[ 2215, 750, 262, 21012, 711, 379, 18470, 7663, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 2425, 42980, 33411, 366, 8777, 2524, 1, 796, 705, 34431, 2214, 6 ]
How many invoices were billed from Chicago, IL?
SELECT COUNT(*) FROM invoices WHERE billing_city = "Chicago" AND billing_state = "IL"
[ 2437, 867, 800, 78, 1063, 547, 33094, 422, 4842, 11, 14639, 30, 46506, 327, 28270, 7, 28104, 16034, 800, 78, 1063, 33411, 26297, 62, 19205, 796, 366, 25705, 1, 5357, 26297, 62, 5219, 796, 366, 4146, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 800, 78, 1063, 547, 33094, 422, 4842, 11, 14639, 30, 46506, 327, 28270, 7, 28104, 16034, 800, 78, 1063, 33411, 26297, 62, 19205, 796, 366, 25705, 1, 5357, 26297, 62, 5219, 796, 366, 4146, 1 ]
get the number of dead patients who had total protein, body fluid lab test.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.expire_flag = "1" AND lab.label = "Total Protein, Body Fluid"
[ 1136, 262, 1271, 286, 2636, 3871, 508, 550, 2472, 7532, 11, 1767, 11711, 2248, 1332, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1136, 262, 1271, 286, 2636, 3871, 508, 550, 2472, 7532, 11, 1767, 11711, 2248, 1332, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108, 7...
Progress in number of badges per type.
SELECT DATEADD(day, DATEDIFF(day, 0, Date), 0) AS Date, Class, COUNT(*) FROM Badges WHERE UserId = '##UserId:int##' GROUP BY DATEADD(day, DATEDIFF(day, 0, Date), 0), Class
[ 32577, 287, 1271, 286, 37583, 583, 2099, 13, 46506, 360, 6158, 29266, 7, 820, 11, 360, 11617, 29267, 7, 820, 11, 657, 11, 7536, 828, 657, 8, 7054, 7536, 11, 5016, 11, 327, 28270, 7, 28104, 16034, 7772, 3212, 33411, 11787, 7390, 796,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 32577, 287, 1271, 286, 37583, 583, 2099, 13, 46506, 360, 6158, 29266, 7, 820, 11, 360, 11617, 29267, 7, 820, 11, 657, 11, 7536, 828, 657, 8, 7054, 7536, 11, 5016, 11, 327, 28270, 7, 28104, 16034, 7772, 3212, 33411, 11787, 7390, 796,...
what was the drug that patient 21110 had been prescribed two times a month before.
SELECT t1.drug FROM (SELECT prescriptions.drug, COUNT(prescriptions.startdate) AS c1 FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 21110) AND DATETIME(prescriptions.startdate, 'start of month') = DATETIME(CURRENT_TIME(), 'start of month', '-1 ...
[ 10919, 373, 262, 2563, 326, 5827, 28714, 940, 550, 587, 14798, 734, 1661, 257, 1227, 878, 13, 46506, 256, 16, 13, 30349, 16034, 357, 46506, 34092, 13, 30349, 11, 327, 28270, 7, 18302, 24370, 13, 9688, 4475, 8, 7054, 269, 16, 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...
[ 10919, 373, 262, 2563, 326, 5827, 28714, 940, 550, 587, 14798, 734, 1661, 257, 1227, 878, 13, 46506, 256, 16, 13, 30349, 16034, 357, 46506, 34092, 13, 30349, 11, 327, 28270, 7, 18302, 24370, 13, 9688, 4475, 8, 7054, 269, 16, 16034, ...
What is the total when the finish was t44?
SELECT total FROM table_name_99 WHERE finish = "t44"
[ 2061, 318, 262, 2472, 618, 262, 5461, 373, 256, 2598, 30, 46506, 2472, 16034, 3084, 62, 3672, 62, 2079, 33411, 5461, 796, 366, 83, 2598, 1 ]
[ 1, 1, 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, 618, 262, 5461, 373, 256, 2598, 30, 46506, 2472, 16034, 3084, 62, 3672, 62, 2079, 33411, 5461, 796, 366, 83, 2598, 1 ]
Where is the Eastern Nazarene College located?
SELECT "Location" FROM table_2113 WHERE "Institution" = 'Eastern Nazarene College'
[ 8496, 318, 262, 8345, 12819, 533, 710, 5535, 5140, 30, 46506, 366, 14749, 1, 16034, 3084, 62, 17, 16616, 33411, 366, 6310, 2738, 1, 796, 705, 46109, 12819, 533, 710, 5535, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8496, 318, 262, 8345, 12819, 533, 710, 5535, 5140, 30, 46506, 366, 14749, 1, 16034, 3084, 62, 17, 16616, 33411, 366, 6310, 2738, 1, 796, 705, 46109, 12819, 533, 710, 5535, 6 ]
are there at least 10 songs in the table ?
SELECT (SELECT COUNT("song title") FROM table_203_755) >= 10
[ 533, 612, 379, 1551, 838, 7259, 287, 262, 3084, 5633, 46506, 357, 46506, 327, 28270, 7203, 34050, 3670, 4943, 16034, 3084, 62, 22416, 62, 38172, 8, 18189, 838 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 533, 612, 379, 1551, 838, 7259, 287, 262, 3084, 5633, 46506, 357, 46506, 327, 28270, 7203, 34050, 3670, 4943, 16034, 3084, 62, 22416, 62, 38172, 8, 18189, 838 ]
among patients admitted to emergency room, how many of them had pneumonia?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_location = "EMERGENCY ROOM ADMIT" AND demographic.diagnosis = "PNEUMONIA"
[ 35131, 3871, 6848, 284, 6334, 2119, 11, 703, 867, 286, 606, 550, 35647, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, 24886, 796, 366, 3620, 49837, 45155, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 35131, 3871, 6848, 284, 6334, 2119, 11, 703, 867, 286, 606, 550, 35647, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, 24886, 796, 366, 3620, 49837, 45155, ...
What is Stop No., when Destination is Perth, and when Line is Midland?
SELECT "Stop no." FROM table_49653 WHERE "Destination" = 'perth' AND "Line" = 'midland'
[ 2061, 318, 13707, 1400, 1539, 618, 45657, 318, 29913, 11, 290, 618, 6910, 318, 7215, 1044, 30, 46506, 366, 19485, 645, 526, 16034, 3084, 62, 2920, 46435, 33411, 366, 24159, 1883, 1, 796, 705, 525, 400, 6, 5357, 366, 13949, 1, 796, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 13707, 1400, 1539, 618, 45657, 318, 29913, 11, 290, 618, 6910, 318, 7215, 1044, 30, 46506, 366, 19485, 645, 526, 16034, 3084, 62, 2920, 46435, 33411, 366, 24159, 1883, 1, 796, 705, 525, 400, 6, 5357, 366, 13949, 1, 796, 7...
From which location was the patient Thomas Nazario admitted to the hospital?
SELECT demographic.admission_location FROM demographic WHERE demographic.name = "Thomas Nazario"
[ 4863, 543, 4067, 373, 262, 5827, 5658, 12819, 4982, 6848, 284, 262, 4436, 30, 46506, 16728, 13, 324, 3411, 62, 24886, 16034, 16728, 33411, 16728, 13, 3672, 796, 366, 22405, 12819, 4982, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4863, 543, 4067, 373, 262, 5827, 5658, 12819, 4982, 6848, 284, 262, 4436, 30, 46506, 16728, 13, 324, 3411, 62, 24886, 16034, 16728, 33411, 16728, 13, 3672, 796, 366, 22405, 12819, 4982, 1 ]
Name the area for german
SELECT area__km²_ FROM table_26519486_1 WHERE languages = "German"
[ 5376, 262, 1989, 329, 308, 2224, 46506, 1989, 834, 13276, 31185, 62, 16034, 3084, 62, 22980, 1129, 34251, 62, 16, 33411, 8950, 796, 366, 16010, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 1989, 329, 308, 2224, 46506, 1989, 834, 13276, 31185, 62, 16034, 3084, 62, 22980, 1129, 34251, 62, 16, 33411, 8950, 796, 366, 16010, 1 ]
On which episode did actress Sela Ward make her last appearance?
SELECT "Last appearance" FROM table_16569 WHERE "Portrayed by" = 'Sela Ward'
[ 2202, 543, 4471, 750, 14549, 311, 10304, 12150, 787, 607, 938, 5585, 30, 46506, 366, 5956, 5585, 1, 16034, 3084, 62, 20986, 3388, 33411, 366, 13924, 2433, 276, 416, 1, 796, 705, 50, 10304, 12150, 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 ]
[ 2202, 543, 4471, 750, 14549, 311, 10304, 12150, 787, 607, 938, 5585, 30, 46506, 366, 5956, 5585, 1, 16034, 3084, 62, 20986, 3388, 33411, 366, 13924, 2433, 276, 416, 1, 796, 705, 50, 10304, 12150, 6 ]
Find the countries that have never participated in any competition with Friendly type.
SELECT country FROM competition EXCEPT SELECT country FROM competition WHERE competition_type = 'Friendly'
[ 16742, 262, 2678, 326, 423, 1239, 14888, 287, 597, 5449, 351, 38683, 2099, 13, 46506, 1499, 16034, 5449, 7788, 42006, 33493, 1499, 16034, 5449, 33411, 5449, 62, 4906, 796, 705, 23331, 306, 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 ]
[ 16742, 262, 2678, 326, 423, 1239, 14888, 287, 597, 5449, 351, 38683, 2099, 13, 46506, 1499, 16034, 5449, 7788, 42006, 33493, 1499, 16034, 5449, 33411, 5449, 62, 4906, 796, 705, 23331, 306, 6 ]
Name the explanation for alben w. barkley
SELECT "Explanation" FROM table_23636 WHERE "Vice President" = 'Alben W. Barkley'
[ 5376, 262, 7468, 329, 435, 11722, 266, 13, 21405, 1636, 46506, 366, 3109, 11578, 341, 1, 16034, 3084, 62, 24940, 2623, 33411, 366, 47910, 1992, 1, 796, 705, 2348, 11722, 370, 13, 45408, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 7468, 329, 435, 11722, 266, 13, 21405, 1636, 46506, 366, 3109, 11578, 341, 1, 16034, 3084, 62, 24940, 2623, 33411, 366, 47910, 1992, 1, 796, 705, 2348, 11722, 370, 13, 45408, 6 ]
Name the common name for furcifer pardalis
SELECT "Common name" FROM table_21799 WHERE "Scientific name" = 'Furcifer pardalis'
[ 5376, 262, 2219, 1438, 329, 9230, 66, 7087, 41746, 27315, 46506, 366, 17227, 1438, 1, 16034, 3084, 62, 24591, 2079, 33411, 366, 23010, 811, 1438, 1, 796, 705, 37, 333, 66, 7087, 41746, 27315, 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 ]
[ 5376, 262, 2219, 1438, 329, 9230, 66, 7087, 41746, 27315, 46506, 366, 17227, 1438, 1, 16034, 3084, 62, 24591, 2079, 33411, 366, 23010, 811, 1438, 1, 796, 705, 37, 333, 66, 7087, 41746, 27315, 6 ]
Who did Tony Oakey win against when he had type of w pts 12?
SELECT "Opponent" FROM table_13103 WHERE "Result" = 'win' AND "Type" = 'w pts 12'
[ 8241, 750, 8832, 440, 539, 88, 1592, 1028, 618, 339, 550, 2099, 286, 266, 43344, 1105, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 1485, 15197, 33411, 366, 23004, 1, 796, 705, 5404, 6, 5357, 366, 6030, 1, 796, 705, 86, 43344, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 750, 8832, 440, 539, 88, 1592, 1028, 618, 339, 550, 2099, 286, 266, 43344, 1105, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 1485, 15197, 33411, 366, 23004, 1, 796, 705, 5404, 6, 5357, 366, 6030, 1, 796, 705, 86, 43344, ...
The game played on 6 December 1986 had what score?
SELECT score FROM table_name_12 WHERE date = "6 december 1986"
[ 464, 983, 2826, 319, 718, 3426, 12113, 550, 644, 4776, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 1065, 33411, 3128, 796, 366, 21, 390, 3273, 12113, 1 ]
[ 1, 1, 1, 1, 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, 983, 2826, 319, 718, 3426, 12113, 550, 644, 4776, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 1065, 33411, 3128, 796, 366, 21, 390, 3273, 12113, 1 ]
Who was the vacator when the reason for change was failure to elect?
SELECT vacator FROM table_225206_3 WHERE reason_for_change = "Failure to elect"
[ 8241, 373, 262, 6658, 1352, 618, 262, 1738, 329, 1487, 373, 5287, 284, 1742, 30, 46506, 6658, 1352, 16034, 3084, 62, 18182, 22136, 62, 18, 33411, 1738, 62, 1640, 62, 3803, 796, 366, 50015, 284, 1742, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6658, 1352, 618, 262, 1738, 329, 1487, 373, 5287, 284, 1742, 30, 46506, 6658, 1352, 16034, 3084, 62, 18182, 22136, 62, 18, 33411, 1738, 62, 1640, 62, 3803, 796, 366, 50015, 284, 1742, 1 ]
What position did the player who was picked in round 3 play?
SELECT position FROM table_name_18 WHERE round = 3
[ 2061, 2292, 750, 262, 2137, 508, 373, 6497, 287, 2835, 513, 711, 30, 46506, 2292, 16034, 3084, 62, 3672, 62, 1507, 33411, 2835, 796, 513 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 2292, 750, 262, 2137, 508, 373, 6497, 287, 2835, 513, 711, 30, 46506, 2292, 16034, 3084, 62, 3672, 62, 1507, 33411, 2835, 796, 513 ]
What is the round number when the opponent was Wrexham, and the venue shows as Away?
SELECT COUNT(round) FROM table_name_19 WHERE opponent = "wrexham" AND venue = "away"
[ 2061, 318, 262, 2835, 1271, 618, 262, 6125, 373, 370, 21510, 2763, 11, 290, 262, 14359, 2523, 355, 21986, 30, 46506, 327, 28270, 7, 744, 8, 16034, 3084, 62, 3672, 62, 1129, 33411, 6125, 796, 366, 86, 21510, 2763, 1, 5357, 14359, 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 ]
[ 2061, 318, 262, 2835, 1271, 618, 262, 6125, 373, 370, 21510, 2763, 11, 290, 262, 14359, 2523, 355, 21986, 30, 46506, 327, 28270, 7, 744, 8, 16034, 3084, 62, 3672, 62, 1129, 33411, 6125, 796, 366, 86, 21510, 2763, 1, 5357, 14359, 796...
Who won the womens doubles in 2002?
SELECT "Womens doubles" FROM table_458 WHERE "Season" = '2002'
[ 8241, 1839, 262, 1116, 641, 21938, 287, 6244, 30, 46506, 366, 54, 296, 641, 21938, 1, 16034, 3084, 62, 29334, 33411, 366, 18960, 1, 796, 705, 16942, 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 ]
[ 8241, 1839, 262, 1116, 641, 21938, 287, 6244, 30, 46506, 366, 54, 296, 641, 21938, 1, 16034, 3084, 62, 29334, 33411, 366, 18960, 1, 796, 705, 16942, 6 ]