instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
Tell me the date with week of 13
SELECT date FROM table_name_21 WHERE week = 13
[ 24446, 502, 262, 3128, 351, 1285, 286, 1511, 46506, 3128, 16034, 3084, 62, 3672, 62, 2481, 33411, 1285, 796, 1511 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 24446, 502, 262, 3128, 351, 1285, 286, 1511, 46506, 3128, 16034, 3084, 62, 3672, 62, 2481, 33411, 1285, 796, 1511 ]
What are the papers published under the institution 'Indiana University'?
SELECT DISTINCT t1.title FROM papers AS t1 JOIN authorship AS t2 ON t1.paperid = t2.paperid JOIN inst AS t3 ON t2.instid = t3.instid WHERE t3.name = "Indiana University"
[ 2061, 389, 262, 9473, 3199, 739, 262, 9901, 705, 49153, 2059, 30960, 46506, 360, 8808, 1268, 4177, 256, 16, 13, 7839, 16034, 9473, 7054, 256, 16, 32357, 1268, 7035, 1056, 7054, 256, 17, 6177, 256, 16, 13, 20189, 312, 796, 256, 17, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 389, 262, 9473, 3199, 739, 262, 9901, 705, 49153, 2059, 30960, 46506, 360, 8808, 1268, 4177, 256, 16, 13, 7839, 16034, 9473, 7054, 256, 16, 32357, 1268, 7035, 1056, 7054, 256, 17, 6177, 256, 16, 13, 20189, 312, 796, 256, 17, 1...
What is the high assists that has @ detroit as the team?
SELECT high_assists FROM table_name_93 WHERE team = "@ detroit"
[ 2061, 318, 262, 1029, 13648, 326, 468, 2488, 1062, 7775, 355, 262, 1074, 30, 46506, 1029, 62, 562, 1023, 16034, 3084, 62, 3672, 62, 6052, 33411, 1074, 796, 44212, 1062, 7775, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 1029, 13648, 326, 468, 2488, 1062, 7775, 355, 262, 1074, 30, 46506, 1029, 62, 562, 1023, 16034, 3084, 62, 3672, 62, 6052, 33411, 1074, 796, 44212, 1062, 7775, 1 ]
Who was the game on July 7 played against?
SELECT opponent FROM table_19789597_6 WHERE date = "July 7"
[ 8241, 373, 262, 983, 319, 2901, 767, 2826, 1028, 30, 46506, 6125, 16034, 3084, 62, 37950, 24, 43239, 62, 21, 33411, 3128, 796, 366, 16157, 767, 1 ]
[ 1, 1, 1, 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, 983, 319, 2901, 767, 2826, 1028, 30, 46506, 6125, 16034, 3084, 62, 37950, 24, 43239, 62, 21, 33411, 3128, 796, 366, 16157, 767, 1 ]
Finding Front End developers in Kochi and Trivandram.
SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", u.Id AS "user_link", u.Reputation, COUNT(p.Id) FROM Users AS u INNER JOIN Posts AS p ON p.OwnerUserId = u.Id INNER JOIN PostTags AS pt ON pt.PostId = p.Id INNER JOIN Tags AS t ON t.Id = pt.TagId WHERE (LOWER(Location) LIKE LOWER('%kochi%') OR LOWER(Location) L...
[ 36276, 8880, 5268, 6505, 287, 17009, 72, 290, 7563, 85, 392, 859, 13, 46506, 371, 3913, 62, 41359, 13246, 3419, 28729, 357, 12532, 1137, 11050, 1432, 7094, 22196, 34, 8, 7054, 25113, 1600, 334, 13, 7390, 7054, 366, 7220, 62, 8726, 160...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 36276, 8880, 5268, 6505, 287, 17009, 72, 290, 7563, 85, 392, 859, 13, 46506, 371, 3913, 62, 41359, 13246, 3419, 28729, 357, 12532, 1137, 11050, 1432, 7094, 22196, 34, 8, 7054, 25113, 1600, 334, 13, 7390, 7054, 366, 7220, 62, 8726, 160...
Name the 0-100 km/hs for name of 2.0 8v
SELECT "0\u2013100km/h,s" FROM table_22009 WHERE "Name" = '2.0 8v'
[ 5376, 262, 657, 12, 3064, 10571, 14, 11994, 329, 1438, 286, 362, 13, 15, 807, 85, 46506, 366, 15, 59, 84, 6390, 3064, 13276, 14, 71, 11, 82, 1, 16034, 3084, 62, 1828, 28694, 33411, 366, 5376, 1, 796, 705, 17, 13, 15, 807, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 657, 12, 3064, 10571, 14, 11994, 329, 1438, 286, 362, 13, 15, 807, 85, 46506, 366, 15, 59, 84, 6390, 3064, 13276, 14, 71, 11, 82, 1, 16034, 3084, 62, 1828, 28694, 33411, 366, 5376, 1, 796, 705, 17, 13, 15, 807, 85, ...
what is the place when the draw is less than 12 and the artist is quartissimo feat. martina?
SELECT SUM("Place") FROM table_77004 WHERE "Draw" < '12' AND "Artist" = 'quartissimo feat. martina'
[ 10919, 318, 262, 1295, 618, 262, 3197, 318, 1342, 621, 1105, 290, 262, 6802, 318, 28176, 747, 25147, 2218, 13, 11277, 1437, 30, 46506, 35683, 7203, 27271, 4943, 16034, 3084, 62, 3324, 22914, 33411, 366, 25302, 1, 1279, 705, 1065, 6, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 1295, 618, 262, 3197, 318, 1342, 621, 1105, 290, 262, 6802, 318, 28176, 747, 25147, 2218, 13, 11277, 1437, 30, 46506, 35683, 7203, 27271, 4943, 16034, 3084, 62, 3324, 22914, 33411, 366, 25302, 1, 1279, 705, 1065, 6, 5...
What are the ids of products from the supplier with id 2, which are more expensive than the average price across all products?
SELECT T1.product_id FROM product_suppliers AS T1 JOIN products AS T2 ON T1.product_id = T2.product_id WHERE T1.supplier_id = 2 AND T2.product_price > (SELECT AVG(product_price) FROM products)
[ 2061, 389, 262, 220, 2340, 286, 3186, 422, 262, 22693, 351, 4686, 362, 11, 543, 389, 517, 5789, 621, 262, 2811, 2756, 1973, 477, 3186, 30, 46506, 309, 16, 13, 11167, 62, 312, 16034, 1720, 62, 18608, 75, 3183, 7054, 309, 16, 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...
[ 2061, 389, 262, 220, 2340, 286, 3186, 422, 262, 22693, 351, 4686, 362, 11, 543, 389, 517, 5789, 621, 262, 2811, 2756, 1973, 477, 3186, 30, 46506, 309, 16, 13, 11167, 62, 312, 16034, 1720, 62, 18608, 75, 3183, 7054, 309, 16, 32357, ...
Which rowers represented portugal and had notes of r?
SELECT rowers FROM table_name_14 WHERE notes = "r" AND country = "portugal"
[ 13828, 5752, 364, 7997, 2493, 43778, 290, 550, 4710, 286, 374, 30, 46506, 5752, 364, 16034, 3084, 62, 3672, 62, 1415, 33411, 4710, 796, 366, 81, 1, 5357, 1499, 796, 366, 634, 43778, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5752, 364, 7997, 2493, 43778, 290, 550, 4710, 286, 374, 30, 46506, 5752, 364, 16034, 3084, 62, 3672, 62, 1415, 33411, 4710, 796, 366, 81, 1, 5357, 1499, 796, 366, 634, 43778, 1 ]
What record has a score of 111-96?
SELECT record FROM table_name_56 WHERE score = "111-96"
[ 2061, 1700, 468, 257, 4776, 286, 13374, 12, 4846, 30, 46506, 1700, 16034, 3084, 62, 3672, 62, 3980, 33411, 4776, 796, 366, 16243, 12, 4846, 1 ]
[ 1, 1, 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, 1700, 468, 257, 4776, 286, 13374, 12, 4846, 30, 46506, 1700, 16034, 3084, 62, 3672, 62, 3980, 33411, 4776, 796, 366, 16243, 12, 4846, 1 ]
How many different voivodenship have 747 900 citizes?
SELECT COUNT(voivodeship) FROM table_11656578_2 WHERE population__1980_ = "747 900"
[ 2437, 867, 1180, 7608, 452, 375, 641, 1056, 423, 45600, 15897, 3523, 274, 30, 46506, 327, 28270, 7, 13038, 452, 4147, 1056, 8, 16034, 3084, 62, 1157, 2996, 2996, 3695, 62, 17, 33411, 3265, 834, 23664, 62, 796, 366, 48882, 15897, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1180, 7608, 452, 375, 641, 1056, 423, 45600, 15897, 3523, 274, 30, 46506, 327, 28270, 7, 13038, 452, 4147, 1056, 8, 16034, 3084, 62, 1157, 2996, 2996, 3695, 62, 17, 33411, 3265, 834, 23664, 62, 796, 366, 48882, 15897, 1 ]
What is the free of Apolline Dreyfuss & Lila Meesseman-Bakir, when the total was larger than 90.333?
SELECT MIN(free) FROM table_name_87 WHERE athlete = "apolline dreyfuss & lila meesseman-bakir" AND total > 90.333
[ 2061, 318, 262, 1479, 286, 5949, 692, 500, 360, 4364, 69, 1046, 1222, 406, 10102, 2185, 35270, 805, 12, 33, 461, 343, 11, 618, 262, 2472, 373, 4025, 621, 4101, 13, 20370, 30, 46506, 20625, 7, 5787, 8, 16034, 3084, 62, 3672, 62, 57...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1479, 286, 5949, 692, 500, 360, 4364, 69, 1046, 1222, 406, 10102, 2185, 35270, 805, 12, 33, 461, 343, 11, 618, 262, 2472, 373, 4025, 621, 4101, 13, 20370, 30, 46506, 20625, 7, 5787, 8, 16034, 3084, 62, 3672, 62, 57...
What's the size of Centerville in 89 Wayne county with an IHSAA class of AA in the year before 1974?
SELECT "Size" FROM table_64104 WHERE "Year Joined" < '1974' AND "IHSAA Class" = 'aa' AND "# / County" = '89 wayne' AND "School" = 'centerville'
[ 2061, 338, 262, 2546, 286, 1979, 33487, 287, 9919, 13329, 7968, 351, 281, 314, 7998, 3838, 1398, 286, 15923, 287, 262, 614, 878, 16489, 30, 46506, 366, 10699, 1, 16034, 3084, 62, 2414, 13464, 33411, 366, 17688, 16709, 1, 1279, 705, 40...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2546, 286, 1979, 33487, 287, 9919, 13329, 7968, 351, 281, 314, 7998, 3838, 1398, 286, 15923, 287, 262, 614, 878, 16489, 30, 46506, 366, 10699, 1, 16034, 3084, 62, 2414, 13464, 33411, 366, 17688, 16709, 1, 1279, 705, 40...
What is the average of all the years when the notes are electronics brand?
SELECT AVG("Year") FROM table_33724 WHERE "Notes" = 'electronics brand'
[ 2061, 318, 262, 2811, 286, 477, 262, 812, 618, 262, 4710, 389, 17075, 4508, 30, 46506, 35224, 7203, 17688, 4943, 16034, 3084, 62, 31496, 1731, 33411, 366, 16130, 1, 796, 705, 9509, 20844, 4508, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2811, 286, 477, 262, 812, 618, 262, 4710, 389, 17075, 4508, 30, 46506, 35224, 7203, 17688, 4943, 16034, 3084, 62, 31496, 1731, 33411, 366, 16130, 1, 796, 705, 9509, 20844, 4508, 6 ]
Which airport's ICAO is rpvi?
SELECT "Airport" FROM table_47571 WHERE "ICAO" = 'rpvi'
[ 13828, 9003, 338, 314, 8141, 46, 318, 374, 79, 8903, 30, 46506, 366, 16170, 634, 1, 16034, 3084, 62, 32576, 4869, 33411, 366, 25241, 46, 1, 796, 705, 81, 79, 8903, 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 ]
[ 13828, 9003, 338, 314, 8141, 46, 318, 374, 79, 8903, 30, 46506, 366, 16170, 634, 1, 16034, 3084, 62, 32576, 4869, 33411, 366, 25241, 46, 1, 796, 705, 81, 79, 8903, 6 ]
when patient 97733 was prescribed for the last time polyethylene glycol in this hospital visit?
SELECT prescriptions.startdate FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 97733 AND admissions.dischtime IS NULL) AND prescriptions.drug = 'polyethylene glycol' ORDER BY prescriptions.startdate DESC LIMIT 1
[ 12518, 5827, 860, 3324, 2091, 373, 14798, 329, 262, 938, 640, 7514, 21610, 1734, 13874, 4033, 287, 428, 4436, 3187, 30, 46506, 34092, 13, 9688, 4475, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5827, 860, 3324, 2091, 373, 14798, 329, 262, 938, 640, 7514, 21610, 1734, 13874, 4033, 287, 428, 4436, 3187, 30, 46506, 34092, 13, 9688, 4475, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108...
return me all the researchers in ' University of Michigan ' .
SELECT author.name FROM author, organization WHERE organization.name = 'University of Michigan' AND organization.oid = author.oid
[ 7783, 502, 477, 262, 4837, 287, 705, 2059, 286, 7055, 705, 764, 46506, 1772, 13, 3672, 16034, 1772, 11, 4009, 33411, 4009, 13, 3672, 796, 705, 21009, 286, 7055, 6, 5357, 4009, 13, 1868, 796, 1772, 13, 1868 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 7783, 502, 477, 262, 4837, 287, 705, 2059, 286, 7055, 705, 764, 46506, 1772, 13, 3672, 16034, 1772, 11, 4009, 33411, 4009, 13, 3672, 796, 705, 21009, 286, 7055, 6, 5357, 4009, 13, 1868, 796, 1772, 13, 1868 ]
Which City of license has a Channels TV / RF of 36 (psip) 36 (uhf)? Question 5
SELECT "City of license" FROM table_39021 WHERE "Channels TV / RF" = '36 (psip) 36 (uhf)'
[ 13828, 2254, 286, 5964, 468, 257, 609, 8961, 3195, 1220, 20445, 286, 4570, 357, 862, 541, 8, 4570, 357, 7456, 69, 19427, 18233, 642, 46506, 366, 14941, 286, 5964, 1, 16034, 3084, 62, 25964, 2481, 33411, 366, 1925, 8961, 3195, 1220, 20...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 2254, 286, 5964, 468, 257, 609, 8961, 3195, 1220, 20445, 286, 4570, 357, 862, 541, 8, 4570, 357, 7456, 69, 19427, 18233, 642, 46506, 366, 14941, 286, 5964, 1, 16034, 3084, 62, 25964, 2481, 33411, 366, 1925, 8961, 3195, 1220, 20...
What is the lowest attendance when the h/A is H in the Semi-Finals Second Leg?
SELECT MIN("Attendance") FROM table_76875 WHERE "H / A" = 'h' AND "Round" = 'semi-finals second leg'
[ 2061, 318, 262, 9016, 14858, 618, 262, 289, 14, 32, 318, 367, 287, 262, 35525, 12, 37, 6897, 5498, 3564, 30, 46506, 20625, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 30610, 2425, 33411, 366, 39, 1220, 317, 1, 796, 705, 71, 6, 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 ]
[ 2061, 318, 262, 9016, 14858, 618, 262, 289, 14, 32, 318, 367, 287, 262, 35525, 12, 37, 6897, 5498, 3564, 30, 46506, 20625, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 30610, 2425, 33411, 366, 39, 1220, 317, 1, 796, 705, 71, 6, 53...
provide the number of patients whose primary disease is colangitis and admission year is less than 2125?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "COLANGITIS" AND demographic.admityear < "2125"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 4165, 4369, 318, 951, 648, 11815, 290, 13938, 614, 318, 1342, 621, 362, 11623, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 47356...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4165, 4369, 318, 951, 648, 11815, 290, 13938, 614, 318, 1342, 621, 362, 11623, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 47356...
What is the english title of the film before 1999 with a role of kim da-rim?
SELECT english_title FROM table_name_80 WHERE year < 1999 AND role = "kim da-rim"
[ 2061, 318, 262, 46932, 3670, 286, 262, 2646, 878, 7358, 351, 257, 2597, 286, 479, 320, 12379, 12, 3036, 30, 46506, 46932, 62, 7839, 16034, 3084, 62, 3672, 62, 1795, 33411, 614, 1279, 7358, 5357, 2597, 796, 366, 74, 320, 12379, 12, 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 ]
[ 2061, 318, 262, 46932, 3670, 286, 262, 2646, 878, 7358, 351, 257, 2597, 286, 479, 320, 12379, 12, 3036, 30, 46506, 46932, 62, 7839, 16034, 3084, 62, 3672, 62, 1795, 33411, 614, 1279, 7358, 5357, 2597, 796, 366, 74, 320, 12379, 12, 3...
What is the highest rank a team with 1 silver and less than 5 bronze medals has?
SELECT MAX(rank) FROM table_name_66 WHERE silver = 1 AND bronze < 5
[ 2061, 318, 262, 4511, 4279, 257, 1074, 351, 352, 8465, 290, 1342, 621, 642, 22101, 28057, 468, 30, 46506, 25882, 7, 43027, 8, 16034, 3084, 62, 3672, 62, 2791, 33411, 8465, 796, 352, 5357, 22101, 1279, 642 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4511, 4279, 257, 1074, 351, 352, 8465, 290, 1342, 621, 642, 22101, 28057, 468, 30, 46506, 25882, 7, 43027, 8, 16034, 3084, 62, 3672, 62, 2791, 33411, 8465, 796, 352, 5357, 22101, 1279, 642 ]
how many patients whose gender is f and primary disease is sternal wound infection?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.gender = "F" AND demographic.diagnosis = "STERNAL WOUND INFECTION"
[ 4919, 867, 3871, 3025, 5279, 318, 277, 290, 4165, 4369, 318, 26370, 282, 11699, 10280, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 8388, 796, 366, 37, 1, 5357, 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 ]
[ 4919, 867, 3871, 3025, 5279, 318, 277, 290, 4165, 4369, 318, 26370, 282, 11699, 10280, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 8388, 796, 366, 37, 1, 5357, 16728, ...
How many male and female assistant professors do we have, order by the total number in descending.
SELECT Sex, COUNT(*) FROM Faculty WHERE Rank = "AsstProf" GROUP BY Sex ORDER BY COUNT(*) DESC
[ 2437, 867, 4257, 290, 4048, 8796, 20339, 466, 356, 423, 11, 1502, 416, 262, 2472, 1271, 287, 31491, 13, 46506, 14419, 11, 327, 28270, 7, 28104, 16034, 35262, 33411, 10916, 796, 366, 1722, 301, 15404, 1, 44441, 11050, 14419, 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, 1 ]
[ 2437, 867, 4257, 290, 4048, 8796, 20339, 466, 356, 423, 11, 1502, 416, 262, 2472, 1271, 287, 31491, 13, 46506, 14419, 11, 327, 28270, 7, 28104, 16034, 35262, 33411, 10916, 796, 366, 1722, 301, 15404, 1, 44441, 11050, 14419, 38678, 11050...
How many courses each teacher taught? Show me a bar chart grouping by course code, sort in ascending by the Y.
SELECT CRS_CODE, COUNT(CRS_CODE) FROM CLASS AS T1 JOIN EMPLOYEE AS T2 ON T1.PROF_NUM = T2.EMP_NUM GROUP BY CRS_CODE ORDER BY COUNT(CRS_CODE)
[ 2437, 867, 10902, 1123, 4701, 7817, 30, 5438, 502, 257, 2318, 8262, 36115, 416, 1781, 2438, 11, 3297, 287, 41988, 416, 262, 575, 13, 46506, 327, 6998, 62, 34, 16820, 11, 327, 28270, 7, 34, 6998, 62, 34, 16820, 8, 16034, 42715, 7054,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2437, 867, 10902, 1123, 4701, 7817, 30, 5438, 502, 257, 2318, 8262, 36115, 416, 1781, 2438, 11, 3297, 287, 41988, 416, 262, 575, 13, 46506, 327, 6998, 62, 34, 16820, 11, 327, 28270, 7, 34, 6998, 62, 34, 16820, 8, 16034, 42715, 7054,...
What is the first prize amount of the person who has a score of 207 (-9) and a purse amount of more than 800,000?
SELECT COUNT("1st Prize( $ )") FROM table_58122 WHERE "Score" = '207 (-9)' AND "Purse( $ )" > '800,000'
[ 2061, 318, 262, 717, 11596, 2033, 286, 262, 1048, 508, 468, 257, 4776, 286, 27791, 13841, 24, 8, 290, 257, 27517, 2033, 286, 517, 621, 10460, 11, 830, 30, 46506, 327, 28270, 7203, 16, 301, 15895, 7, 720, 1267, 4943, 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, 1, 1, 1, 1, 1, 1...
[ 2061, 318, 262, 717, 11596, 2033, 286, 262, 1048, 508, 468, 257, 4776, 286, 27791, 13841, 24, 8, 290, 257, 27517, 2033, 286, 517, 621, 10460, 11, 830, 30, 46506, 327, 28270, 7203, 16, 301, 15895, 7, 720, 1267, 4943, 16034, 3084, 62,...
Draw a bar chart about the distribution of date_address_from and the average of monthly_rental , and group by attribute other_details and bin date_address_from by weekday.
SELECT date_address_from, AVG(monthly_rental) FROM Student_Addresses GROUP BY other_details ORDER BY monthly_rental DESC
[ 25302, 257, 2318, 8262, 546, 262, 6082, 286, 3128, 62, 21975, 62, 6738, 290, 262, 2811, 286, 9651, 62, 1156, 282, 837, 290, 1448, 416, 11688, 584, 62, 36604, 290, 9874, 3128, 62, 21975, 62, 6738, 416, 28269, 13, 46506, 3128, 62, 219...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3128, 62, 21975, 62, 6738, 290, 262, 2811, 286, 9651, 62, 1156, 282, 837, 290, 1448, 416, 11688, 584, 62, 36604, 290, 9874, 3128, 62, 21975, 62, 6738, 416, 28269, 13, 46506, 3128, 62, 219...
What is Home team of the game with an 9.8 (62) away team score?
SELECT "Home team" FROM table_44046 WHERE "Away team score" = '9.8 (62)'
[ 2061, 318, 5995, 1074, 286, 262, 983, 351, 281, 860, 13, 23, 357, 5237, 8, 1497, 1074, 4776, 30, 46506, 366, 16060, 1074, 1, 16034, 3084, 62, 25644, 3510, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 24, 13, 23, 357, 5237, 33047...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 5995, 1074, 286, 262, 983, 351, 281, 860, 13, 23, 357, 5237, 8, 1497, 1074, 4776, 30, 46506, 366, 16060, 1074, 1, 16034, 3084, 62, 25644, 3510, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 24, 13, 23, 357, 5237, 33047...
When did the away team score 12.14 (86)?
SELECT "Date" FROM table_58315 WHERE "Away team score" = '12.14 (86)'
[ 2215, 750, 262, 1497, 1074, 4776, 1105, 13, 1415, 357, 4521, 19427, 46506, 366, 10430, 1, 16034, 3084, 62, 3365, 27936, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 1065, 13, 1415, 357, 4521, 33047 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 750, 262, 1497, 1074, 4776, 1105, 13, 1415, 357, 4521, 19427, 46506, 366, 10430, 1, 16034, 3084, 62, 3365, 27936, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 1065, 13, 1415, 357, 4521, 33047 ]
What is the average wins of the team with more than 13 draws, a goal difference of -14, and losses less than 14?
SELECT AVG("Wins") FROM table_69490 WHERE "Draws" > '13' AND "Goal Difference" = '-14' AND "Losses" < '14'
[ 2061, 318, 262, 2811, 7864, 286, 262, 1074, 351, 517, 621, 1511, 14293, 11, 257, 3061, 3580, 286, 532, 1415, 11, 290, 9089, 1342, 621, 1478, 30, 46506, 35224, 7203, 54, 1040, 4943, 16034, 3084, 62, 3388, 31503, 33411, 366, 25302, 82, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7864, 286, 262, 1074, 351, 517, 621, 1511, 14293, 11, 257, 3061, 3580, 286, 532, 1415, 11, 290, 9089, 1342, 621, 1478, 30, 46506, 35224, 7203, 54, 1040, 4943, 16034, 3084, 62, 3388, 31503, 33411, 366, 25302, 82, ...
get me the number of patients on id route of drug administration who were hospitalized for more than 27 days.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.days_stay > "27" AND prescriptions.route = "ID"
[ 1136, 502, 262, 1271, 286, 3871, 319, 4686, 6339, 286, 2563, 3662, 508, 547, 31736, 329, 517, 621, 2681, 1528, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 502, 262, 1271, 286, 3871, 319, 4686, 6339, 286, 2563, 3662, 508, 547, 31736, 329, 517, 621, 2681, 1528, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092...
What is the date of the game at the Arden Street Oval?
SELECT date FROM table_name_49 WHERE venue = "arden street oval"
[ 2061, 318, 262, 3128, 286, 262, 983, 379, 262, 943, 6559, 3530, 25165, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 2920, 33411, 14359, 796, 366, 5872, 4675, 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 ]
[ 2061, 318, 262, 3128, 286, 262, 983, 379, 262, 943, 6559, 3530, 25165, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 2920, 33411, 14359, 796, 366, 5872, 4675, 41186, 1 ]
Bar chart x axis industry y axis the number of industry
SELECT Industry, COUNT(Industry) FROM company GROUP BY Industry
[ 10374, 8262, 2124, 16488, 2831, 331, 16488, 262, 1271, 286, 2831, 46506, 17420, 11, 327, 28270, 7, 35848, 563, 8, 16034, 1664, 44441, 11050, 17420 ]
[ 1, 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, 8262, 2124, 16488, 2831, 331, 16488, 262, 1271, 286, 2831, 46506, 17420, 11, 327, 28270, 7, 35848, 563, 8, 16034, 1664, 44441, 11050, 17420 ]
What batting style does player Shahid Afridi have?
SELECT batting_style FROM table_name_88 WHERE player = "shahid afridi"
[ 2061, 23761, 3918, 857, 2137, 18381, 312, 2483, 6058, 72, 423, 30, 46506, 23761, 62, 7635, 16034, 3084, 62, 3672, 62, 3459, 33411, 2137, 796, 366, 1477, 993, 312, 6580, 6058, 72, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 23761, 3918, 857, 2137, 18381, 312, 2483, 6058, 72, 423, 30, 46506, 23761, 62, 7635, 16034, 3084, 62, 3672, 62, 3459, 33411, 2137, 796, 366, 1477, 993, 312, 6580, 6058, 72, 1 ]
what is the number of patients whose ethnicity is hispanic or latino and diagnoses icd9 code is e9429?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.ethnicity = "HISPANIC OR LATINO" AND diagnoses.icd9_code = "E9429"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 26289, 318, 465, 35843, 393, 3042, 2879, 290, 40567, 14158, 67, 24, 2438, 318, 304, 5824, 1959, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 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...
[ 10919, 318, 262, 1271, 286, 3871, 3025, 26289, 318, 465, 35843, 393, 3042, 2879, 290, 40567, 14158, 67, 24, 2438, 318, 304, 5824, 1959, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, ...
Who is the husband of the image of renata of lorraine?
SELECT "Husband" FROM table_6081 WHERE "Image" = 'renata of lorraine'
[ 8241, 318, 262, 5229, 286, 262, 2939, 286, 8851, 1045, 286, 300, 273, 23440, 30, 46506, 366, 39, 385, 3903, 1, 16034, 3084, 62, 1899, 6659, 33411, 366, 5159, 1, 796, 705, 918, 1045, 286, 300, 273, 23440, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 318, 262, 5229, 286, 262, 2939, 286, 8851, 1045, 286, 300, 273, 23440, 30, 46506, 366, 39, 385, 3903, 1, 16034, 3084, 62, 1899, 6659, 33411, 366, 5159, 1, 796, 705, 918, 1045, 286, 300, 273, 23440, 6 ]
what was the lowest numbers for the winner gregory w. meeks
SELECT MIN(elected) FROM table_13870048_3 WHERE incumbent = "Gregory W. Meeks"
[ 10919, 373, 262, 9016, 3146, 329, 262, 8464, 308, 2301, 652, 266, 13, 502, 2573, 46506, 20625, 7, 28604, 8, 16034, 3084, 62, 1485, 5774, 405, 2780, 62, 18, 33411, 23526, 796, 366, 25025, 652, 370, 13, 337, 32201, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9016, 3146, 329, 262, 8464, 308, 2301, 652, 266, 13, 502, 2573, 46506, 20625, 7, 28604, 8, 16034, 3084, 62, 1485, 5774, 405, 2780, 62, 18, 33411, 23526, 796, 366, 25025, 652, 370, 13, 337, 32201, 1 ]
What is the 2nd party in the 1874 election?
SELECT "2nd Party" FROM table_71443 WHERE "Election" = '1874'
[ 2061, 318, 262, 362, 358, 2151, 287, 262, 1248, 4524, 3071, 30, 46506, 366, 17, 358, 3615, 1, 16034, 3084, 62, 45722, 3559, 33411, 366, 36, 1564, 1, 796, 705, 1507, 4524, 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, 362, 358, 2151, 287, 262, 1248, 4524, 3071, 30, 46506, 366, 17, 358, 3615, 1, 16034, 3084, 62, 45722, 3559, 33411, 366, 36, 1564, 1, 796, 705, 1507, 4524, 6 ]
what is patient 6536's difference in the patient's sao2 second measured on the first icu visit compared to the value first measured on the first icu visit?
SELECT (SELECT chartevents.valuenum FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 6536) AND NOT icustays.outtime IS NULL ORDER BY icustays.intime LIMIT 1) AND chartevents.itemi...
[ 10919, 318, 5827, 6135, 2623, 338, 3580, 287, 262, 5827, 338, 473, 78, 17, 1218, 8630, 319, 262, 717, 14158, 84, 3187, 3688, 284, 262, 1988, 717, 8630, 319, 262, 717, 14158, 84, 3187, 30, 46506, 357, 46506, 8262, 31534, 13, 2100, 84...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5827, 6135, 2623, 338, 3580, 287, 262, 5827, 338, 473, 78, 17, 1218, 8630, 319, 262, 717, 14158, 84, 3187, 3688, 284, 262, 1988, 717, 8630, 319, 262, 717, 14158, 84, 3187, 30, 46506, 357, 46506, 8262, 31534, 13, 2100, 84...
which country had more competitions , germany or greece ?
SELECT "venue" FROM table_203_715 WHERE "venue" IN ('germany', 'greece') GROUP BY "venue" ORDER BY COUNT("competition") DESC LIMIT 1
[ 4758, 1499, 550, 517, 24174, 837, 308, 2224, 88, 393, 308, 631, 344, 5633, 46506, 366, 4080, 1, 16034, 3084, 62, 22416, 62, 22, 1314, 33411, 366, 4080, 1, 3268, 19203, 1362, 21834, 3256, 705, 70, 631, 344, 11537, 44441, 11050, 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 ]
[ 4758, 1499, 550, 517, 24174, 837, 308, 2224, 88, 393, 308, 631, 344, 5633, 46506, 366, 4080, 1, 16034, 3084, 62, 22416, 62, 22, 1314, 33411, 366, 4080, 1, 3268, 19203, 1362, 21834, 3256, 705, 70, 631, 344, 11537, 44441, 11050, 366, ...
Top 'R' Vote Getters with A Website.
SELECT Users.DisplayName, Users.Id, sub.totalVotes, Users.WebsiteUrl FROM (SELECT Users.Id, COUNT(*) AS totalVotes FROM Tags INNER JOIN PostTags ON PostTags.TagId = Tags.Id INNER JOIN Posts ON Posts.ParentId = PostTags.PostId INNER JOIN Votes ON Votes.PostId = Posts.Id AND Votes.VoteTypeId = 2 INNER JOIN Users ON Posts...
[ 9126, 705, 49, 6, 19175, 3497, 1010, 351, 317, 15887, 13, 46506, 18987, 13, 23114, 5376, 11, 18987, 13, 7390, 11, 850, 13, 23350, 53, 6421, 11, 18987, 13, 33420, 28165, 16034, 357, 46506, 18987, 13, 7390, 11, 327, 28270, 7, 28104, 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...
[ 9126, 705, 49, 6, 19175, 3497, 1010, 351, 317, 15887, 13, 46506, 18987, 13, 23114, 5376, 11, 18987, 13, 7390, 11, 850, 13, 23350, 53, 6421, 11, 18987, 13, 33420, 28165, 16034, 357, 46506, 18987, 13, 7390, 11, 327, 28270, 7, 28104, 7...
Show the names of countries and the average speed of roller coasters from each country.
SELECT T1.Name, AVG(T2.Speed) FROM country AS T1 JOIN roller_coaster AS T2 ON T1.Country_ID = T2.Country_ID GROUP BY T1.Name
[ 15307, 262, 3891, 286, 2678, 290, 262, 2811, 2866, 286, 24471, 763, 7060, 422, 1123, 1499, 13, 46506, 309, 16, 13, 5376, 11, 35224, 7, 51, 17, 13, 22785, 8, 16034, 1499, 7054, 309, 16, 32357, 1268, 24471, 62, 1073, 1603, 7054, 309, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 15307, 262, 3891, 286, 2678, 290, 262, 2811, 2866, 286, 24471, 763, 7060, 422, 1123, 1499, 13, 46506, 309, 16, 13, 5376, 11, 35224, 7, 51, 17, 13, 22785, 8, 16034, 1499, 7054, 309, 16, 32357, 1268, 24471, 62, 1073, 1603, 7054, 309, ...
Who directed production code 3x6116?
SELECT "Directed by" FROM table_30085 WHERE "Production code" = '3X6116'
[ 8241, 7924, 3227, 2438, 513, 87, 21, 18298, 30, 46506, 366, 13470, 276, 416, 1, 16034, 3084, 62, 6200, 5332, 33411, 366, 35027, 2438, 1, 796, 705, 18, 55, 21, 18298, 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 ]
[ 8241, 7924, 3227, 2438, 513, 87, 21, 18298, 30, 46506, 366, 13470, 276, 416, 1, 16034, 3084, 62, 6200, 5332, 33411, 366, 35027, 2438, 1, 796, 705, 18, 55, 21, 18298, 6 ]
What is the ICAO for the airport in Ningbo?
SELECT "ICAO" FROM table_4785 WHERE "City" = 'ningbo'
[ 2061, 318, 262, 314, 8141, 46, 329, 262, 9003, 287, 37400, 2127, 30, 46506, 366, 25241, 46, 1, 16034, 3084, 62, 2857, 5332, 33411, 366, 14941, 1, 796, 705, 768, 2127, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 314, 8141, 46, 329, 262, 9003, 287, 37400, 2127, 30, 46506, 366, 25241, 46, 1, 16034, 3084, 62, 2857, 5332, 33411, 366, 14941, 1, 796, 705, 768, 2127, 6 ]
SELECT * FROM Posts WHERE Id < 50000.
SELECT * FROM Posts WHERE Id < 50000
[ 46506, 1635, 16034, 12043, 33411, 5121, 1279, 642, 2388, 13, 46506, 1635, 16034, 12043, 33411, 5121, 1279, 642, 2388 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 46506, 1635, 16034, 12043, 33411, 5121, 1279, 642, 2388, 13, 46506, 1635, 16034, 12043, 33411, 5121, 1279, 642, 2388 ]
what is the name of the coloneo of the 35th regiment
SELECT colonel FROM table_29458735_5 WHERE regiment = "35th regiment"
[ 10919, 318, 262, 1438, 286, 262, 951, 505, 78, 286, 262, 3439, 400, 34792, 46506, 46969, 16034, 3084, 62, 1959, 2231, 5774, 2327, 62, 20, 33411, 34792, 796, 366, 2327, 400, 34792, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 1438, 286, 262, 951, 505, 78, 286, 262, 3439, 400, 34792, 46506, 46969, 16034, 3084, 62, 1959, 2231, 5774, 2327, 62, 20, 33411, 34792, 796, 366, 2327, 400, 34792, 1 ]
In what region and year was Jacob the number 2 name and Ryan the number 10 name?
SELECT region__year_ FROM table_name_98 WHERE no_2 = "jacob" AND no_10 = "ryan"
[ 818, 644, 3814, 290, 614, 373, 12806, 262, 1271, 362, 1438, 290, 6047, 262, 1271, 838, 1438, 30, 46506, 3814, 834, 1941, 62, 16034, 3084, 62, 3672, 62, 4089, 33411, 645, 62, 17, 796, 366, 30482, 672, 1, 5357, 645, 62, 940, 796, 36...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 818, 644, 3814, 290, 614, 373, 12806, 262, 1271, 362, 1438, 290, 6047, 262, 1271, 838, 1438, 30, 46506, 3814, 834, 1941, 62, 16034, 3084, 62, 3672, 62, 4089, 33411, 645, 62, 17, 796, 366, 30482, 672, 1, 5357, 645, 62, 940, 796, 36...
what team had a score of 2-1
SELECT opponent FROM table_name_92 WHERE score = "2-1"
[ 10919, 1074, 550, 257, 4776, 286, 362, 12, 16, 46506, 6125, 16034, 3084, 62, 3672, 62, 5892, 33411, 4776, 796, 366, 17, 12, 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 ]
[ 10919, 1074, 550, 257, 4776, 286, 362, 12, 16, 46506, 6125, 16034, 3084, 62, 3672, 62, 5892, 33411, 4776, 796, 366, 17, 12, 16, 1 ]
What is the Date of the Fortified House?
SELECT date FROM table_name_39 WHERE type = "fortified house"
[ 2061, 318, 262, 7536, 286, 262, 6401, 1431, 2097, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 2670, 33411, 2099, 796, 366, 3319, 1431, 2156, 1 ]
[ 1, 1, 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, 7536, 286, 262, 6401, 1431, 2097, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 2670, 33411, 2099, 796, 366, 3319, 1431, 2156, 1 ]
What is the rank for Mar 17 when the April 21 rank is 10?
SELECT mar_17 FROM table_name_96 WHERE april_21 = "10"
[ 2061, 318, 262, 4279, 329, 1526, 1596, 618, 262, 3035, 2310, 4279, 318, 838, 30, 46506, 1667, 62, 1558, 16034, 3084, 62, 3672, 62, 4846, 33411, 46593, 346, 62, 2481, 796, 366, 940, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4279, 329, 1526, 1596, 618, 262, 3035, 2310, 4279, 318, 838, 30, 46506, 1667, 62, 1558, 16034, 3084, 62, 3672, 62, 4846, 33411, 46593, 346, 62, 2481, 796, 366, 940, 1 ]
What was the manner of departure for Edgar Schmitt of the Stuttgarter Kickers?
SELECT "Manner of departure" FROM table_21273 WHERE "Team" = 'Stuttgarter Kickers' AND "Outgoing manager" = 'Edgar Schmitt'
[ 2061, 373, 262, 5642, 286, 12928, 329, 29166, 3059, 20124, 286, 262, 520, 15318, 70, 2571, 10279, 364, 30, 46506, 366, 5124, 1008, 286, 12928, 1, 16034, 3084, 62, 21777, 4790, 33411, 366, 15592, 1, 796, 705, 1273, 15318, 70, 2571, 102...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5642, 286, 12928, 329, 29166, 3059, 20124, 286, 262, 520, 15318, 70, 2571, 10279, 364, 30, 46506, 366, 5124, 1008, 286, 12928, 1, 16034, 3084, 62, 21777, 4790, 33411, 366, 15592, 1, 796, 705, 1273, 15318, 70, 2571, 102...
What is the name of the airport with an ICAO of ULLI?
SELECT "Airport" FROM table_42367 WHERE "ICAO" = 'ulli'
[ 2061, 318, 262, 1438, 286, 262, 9003, 351, 281, 314, 8141, 46, 286, 471, 3069, 40, 30, 46506, 366, 16170, 634, 1, 16034, 3084, 62, 43356, 3134, 33411, 366, 25241, 46, 1, 796, 705, 724, 72, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1438, 286, 262, 9003, 351, 281, 314, 8141, 46, 286, 471, 3069, 40, 30, 46506, 366, 16170, 634, 1, 16034, 3084, 62, 43356, 3134, 33411, 366, 25241, 46, 1, 796, 705, 724, 72, 6 ]
How many rounds had a pick number of more than 10 and Appalachian State as a college?
SELECT COUNT(round) FROM table_name_73 WHERE pick__number > 10 AND college = "appalachian state"
[ 2437, 867, 9196, 550, 257, 2298, 1271, 286, 517, 621, 838, 290, 45375, 1812, 355, 257, 4152, 30, 46506, 327, 28270, 7, 744, 8, 16034, 3084, 62, 3672, 62, 4790, 33411, 2298, 834, 17618, 1875, 838, 5357, 4152, 796, 366, 1324, 33786, 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 ]
[ 2437, 867, 9196, 550, 257, 2298, 1271, 286, 517, 621, 838, 290, 45375, 1812, 355, 257, 4152, 30, 46506, 327, 28270, 7, 744, 8, 16034, 3084, 62, 3672, 62, 4790, 33411, 2298, 834, 17618, 1875, 838, 5357, 4152, 796, 366, 1324, 33786, 6...
What is the total work number of Gowrie with a 0-6-4t type after 1908?
SELECT COUNT(works_number) FROM table_name_51 WHERE type = "0-6-4t" AND name = "gowrie" AND date > 1908
[ 2061, 318, 262, 2472, 670, 1271, 286, 41396, 5034, 351, 257, 657, 12, 21, 12, 19, 83, 2099, 706, 40417, 30, 46506, 327, 28270, 7, 5225, 62, 17618, 8, 16034, 3084, 62, 3672, 62, 4349, 33411, 2099, 796, 366, 15, 12, 21, 12, 19, 83...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 670, 1271, 286, 41396, 5034, 351, 257, 657, 12, 21, 12, 19, 83, 2099, 706, 40417, 30, 46506, 327, 28270, 7, 5225, 62, 17618, 8, 16034, 3084, 62, 3672, 62, 4349, 33411, 2099, 796, 366, 15, 12, 21, 12, 19, 83...
Show me about the distribution of meter_200 and the amount of meter_200 , and group by attribute meter_200 in a bar chart.
SELECT meter_200, COUNT(meter_200) FROM swimmer GROUP BY meter_200
[ 15307, 502, 546, 262, 6082, 286, 16430, 62, 2167, 290, 262, 2033, 286, 16430, 62, 2167, 837, 290, 1448, 416, 11688, 16430, 62, 2167, 287, 257, 2318, 8262, 13, 46506, 16430, 62, 2167, 11, 327, 28270, 7, 27231, 62, 2167, 8, 16034, 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 ]
[ 15307, 502, 546, 262, 6082, 286, 16430, 62, 2167, 290, 262, 2033, 286, 16430, 62, 2167, 837, 290, 1448, 416, 11688, 16430, 62, 2167, 287, 257, 2318, 8262, 13, 46506, 16430, 62, 2167, 11, 327, 28270, 7, 27231, 62, 2167, 8, 16034, 942...
provide the number of patients whose year of birth is less than 2146 and procedure icd9 code is 966?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.dob_year < "2146" AND procedures.icd9_code = "966"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 614, 286, 4082, 318, 1342, 621, 362, 20964, 290, 8771, 14158, 67, 24, 2438, 318, 860, 2791, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 614, 286, 4082, 318, 1342, 621, 362, 20964, 290, 8771, 14158, 67, 24, 2438, 318, 860, 2791, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21...
what was the difference in score between the barrage and the lizards on june 2 .
SELECT ABS("result" - "result") FROM table_203_853 WHERE "date" = 'june 2'
[ 10919, 373, 262, 3580, 287, 4776, 1022, 262, 33633, 290, 262, 300, 14124, 319, 474, 1726, 362, 764, 46506, 29950, 7203, 20274, 1, 532, 366, 20274, 4943, 16034, 3084, 62, 22416, 62, 23, 4310, 33411, 366, 4475, 1, 796, 705, 73, 1726, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3580, 287, 4776, 1022, 262, 33633, 290, 262, 300, 14124, 319, 474, 1726, 362, 764, 46506, 29950, 7203, 20274, 1, 532, 366, 20274, 4943, 16034, 3084, 62, 22416, 62, 23, 4310, 33411, 366, 4475, 1, 796, 705, 73, 1726, ...
Show the minimum of the rooms in different decor using a bar chart.
SELECT decor, MIN(basePrice) FROM Rooms GROUP BY decor
[ 15307, 262, 5288, 286, 262, 9519, 287, 1180, 11705, 1262, 257, 2318, 8262, 13, 46506, 11705, 11, 20625, 7, 8692, 18124, 8, 16034, 42043, 44441, 11050, 11705 ]
[ 1, 1, 1, 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, 5288, 286, 262, 9519, 287, 1180, 11705, 1262, 257, 2318, 8262, 13, 46506, 11705, 11, 20625, 7, 8692, 18124, 8, 16034, 42043, 44441, 11050, 11705 ]
give me the number of patients whose admission location is clinic referral/premature and year of birth is less than 2112?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_location = "CLINIC REFERRAL/PREMATURE" AND demographic.dob_year < "2112"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 13938, 4067, 318, 15760, 31413, 14, 31605, 1300, 290, 614, 286, 4082, 318, 1342, 621, 2310, 1065, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3341...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 26535, 502, 262, 1271, 286, 3871, 3025, 13938, 4067, 318, 15760, 31413, 14, 31605, 1300, 290, 614, 286, 4082, 318, 1342, 621, 2310, 1065, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3341...
Show the names of journalists and the dates of the events they reported.
SELECT T3.Name, T2.Date FROM news_report AS T1 JOIN event AS T2 ON T1.Event_ID = T2.Event_ID JOIN journalist AS T3 ON T1.journalist_ID = T3.journalist_ID
[ 15307, 262, 3891, 286, 9046, 290, 262, 9667, 286, 262, 2995, 484, 2098, 13, 46506, 309, 18, 13, 5376, 11, 309, 17, 13, 10430, 16034, 1705, 62, 13116, 7054, 309, 16, 32357, 1268, 1785, 7054, 309, 17, 6177, 309, 16, 13, 9237, 62, 23...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 15307, 262, 3891, 286, 9046, 290, 262, 9667, 286, 262, 2995, 484, 2098, 13, 46506, 309, 18, 13, 5376, 11, 309, 17, 13, 10430, 16034, 1705, 62, 13116, 7054, 309, 16, 32357, 1268, 1785, 7054, 309, 17, 6177, 309, 16, 13, 9237, 62, 23...
What is the most recent year with a United States nationality and the school Hamline?
SELECT MAX("From") FROM table_32207 WHERE "Nationality" = 'united states' AND "School/Country" = 'hamline'
[ 2061, 318, 262, 749, 2274, 614, 351, 257, 1578, 1829, 29835, 290, 262, 1524, 4345, 1370, 30, 46506, 25882, 7203, 4863, 4943, 16034, 3084, 62, 2624, 22745, 33411, 366, 16186, 414, 1, 796, 705, 41187, 2585, 6, 5357, 366, 26130, 14, 3392...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2274, 614, 351, 257, 1578, 1829, 29835, 290, 262, 1524, 4345, 1370, 30, 46506, 25882, 7203, 4863, 4943, 16034, 3084, 62, 2624, 22745, 33411, 366, 16186, 414, 1, 796, 705, 41187, 2585, 6, 5357, 366, 26130, 14, 3392...
What was the lowest attendance figure at Football Park?
SELECT lowest FROM table_1161065_28 WHERE venue = "Football Park"
[ 2061, 373, 262, 9016, 14858, 3785, 379, 9957, 3250, 30, 46506, 9016, 16034, 3084, 62, 18298, 940, 2996, 62, 2078, 33411, 14359, 796, 366, 37316, 3250, 1 ]
[ 1, 1, 1, 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, 14858, 3785, 379, 9957, 3250, 30, 46506, 9016, 16034, 3084, 62, 18298, 940, 2996, 62, 2078, 33411, 14359, 796, 366, 37316, 3250, 1 ]
For those employees who do not work in departments with managers that have ids between 100 and 200, return a bar chart about the distribution of email and commission_pct , and sort in ascending by the EMAIL.
SELECT EMAIL, COMMISSION_PCT FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY EMAIL
[ 1890, 883, 4409, 508, 466, 407, 670, 287, 13346, 351, 11663, 326, 423, 220, 2340, 1022, 1802, 290, 939, 11, 1441, 257, 2318, 8262, 546, 262, 6082, 286, 3053, 290, 5810, 62, 79, 310, 837, 290, 3297, 287, 41988, 416, 262, 412, 5673, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4409, 508, 466, 407, 670, 287, 13346, 351, 11663, 326, 423, 220, 2340, 1022, 1802, 290, 939, 11, 1441, 257, 2318, 8262, 546, 262, 6082, 286, 3053, 290, 5810, 62, 79, 310, 837, 290, 3297, 287, 41988, 416, 262, 412, 5673, ...
The Catalog of ilps 9153 is from what region?
SELECT region FROM table_name_85 WHERE catalog = "ilps 9153"
[ 464, 44515, 286, 4229, 862, 860, 21395, 318, 422, 644, 3814, 30, 46506, 3814, 16034, 3084, 62, 3672, 62, 5332, 33411, 18388, 796, 366, 346, 862, 860, 21395, 1 ]
[ 1, 1, 1, 1, 1, 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, 44515, 286, 4229, 862, 860, 21395, 318, 422, 644, 3814, 30, 46506, 3814, 16034, 3084, 62, 3672, 62, 5332, 33411, 18388, 796, 366, 346, 862, 860, 21395, 1 ]
What are the easiest courses ?
SELECT DISTINCT course.name, course.number, program_course.workload FROM course INNER JOIN program_course ON program_course.course_id = course.course_id WHERE course.department = 'EECS' AND program_course.workload = (SELECT MIN(PROGRAM_COURSEalias1.workload) FROM program_course AS PROGRAM_COURSEalias1)
[ 2061, 389, 262, 16638, 10902, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 3672, 11, 1781, 13, 17618, 11, 1430, 62, 17319, 13, 1818, 2220, 16034, 1781, 3268, 21479, 32357, 1268, 1430, 62, 17319, 6177, 1430, 62, 17319, 13, 17319, 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...
[ 2061, 389, 262, 16638, 10902, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 3672, 11, 1781, 13, 17618, 11, 1430, 62, 17319, 13, 1818, 2220, 16034, 1781, 3268, 21479, 32357, 1268, 1430, 62, 17319, 6177, 1430, 62, 17319, 13, 17319, 62, ...
did patient 25050 go through a phosphate test since 05/2105?
SELECT COUNT(*) > 0 FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'phosphate') AND labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 25050) AND STRFTIME('%y-%m', labevents.charttime) >= '2105-05'
[ 20839, 5827, 8646, 1120, 467, 832, 257, 46926, 1332, 1201, 8870, 14, 17, 13348, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 2248, 31534, 33411, 2248, 31534, 13, 9186, 312, 3268, 357, 46506, 288, 62, 23912, 23814, 13, 9186, 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...
[ 20839, 5827, 8646, 1120, 467, 832, 257, 46926, 1332, 1201, 8870, 14, 17, 13348, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 2248, 31534, 33411, 2248, 31534, 13, 9186, 312, 3268, 357, 46506, 288, 62, 23912, 23814, 13, 9186, 312, ...
What is the lowest dye absoprtion in nm?
SELECT MIN("Absorb (nm)") FROM table_28684
[ 2061, 318, 262, 9016, 30121, 2352, 404, 81, 5378, 287, 28642, 30, 46506, 20625, 7203, 24849, 27688, 357, 21533, 8, 4943, 16034, 3084, 62, 2078, 41580 ]
[ 1, 1, 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, 30121, 2352, 404, 81, 5378, 287, 28642, 30, 46506, 20625, 7203, 24849, 27688, 357, 21533, 8, 4943, 16034, 3084, 62, 2078, 41580 ]
what was patient 016-12011's intake for the last time on 12/28/2104?
SELECT intakeoutput.celllabel FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '016-12011')) AND intakeoutput.cellpath LIKE '%intake%' AND S...
[ 10919, 373, 5827, 5534, 21, 12, 1065, 28555, 338, 10337, 329, 262, 938, 640, 319, 1105, 14, 2078, 14, 17, 13464, 30, 46506, 10337, 22915, 13, 3846, 18242, 16034, 10337, 22915, 33411, 10337, 22915, 13, 26029, 20850, 31712, 312, 3268, 357...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5827, 5534, 21, 12, 1065, 28555, 338, 10337, 329, 262, 938, 640, 319, 1105, 14, 2078, 14, 17, 13464, 30, 46506, 10337, 22915, 13, 3846, 18242, 16034, 10337, 22915, 33411, 10337, 22915, 13, 26029, 20850, 31712, 312, 3268, 357...
have any laboratory tests been performed since 2102 on patient 21454?
SELECT COUNT(*) > 0 FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 21454) AND STRFTIME('%y', labevents.charttime) >= '2102'
[ 14150, 597, 14010, 5254, 587, 6157, 1201, 362, 15377, 319, 5827, 28277, 4051, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 2248, 31534, 33411, 2248, 31534, 13, 18108, 76, 62, 312, 3268, 357, 46506, 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...
[ 14150, 597, 14010, 5254, 587, 6157, 1201, 362, 15377, 319, 5827, 28277, 4051, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 2248, 31534, 33411, 2248, 31534, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, ...
Visualize a line chart about the change of the sum of monthly_rental over date_address_to , and group by attribute other_details.
SELECT date_address_to, SUM(monthly_rental) FROM Student_Addresses GROUP BY other_details, date_address_to ORDER BY monthly_rental DESC
[ 36259, 1096, 257, 1627, 8262, 546, 262, 1487, 286, 262, 2160, 286, 9651, 62, 1156, 282, 625, 3128, 62, 21975, 62, 1462, 837, 290, 1448, 416, 11688, 584, 62, 36604, 13, 46506, 3128, 62, 21975, 62, 1462, 11, 35683, 7, 8424, 306, 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...
[ 36259, 1096, 257, 1627, 8262, 546, 262, 1487, 286, 262, 2160, 286, 9651, 62, 1156, 282, 625, 3128, 62, 21975, 62, 1462, 837, 290, 1448, 416, 11688, 584, 62, 36604, 13, 46506, 3128, 62, 21975, 62, 1462, 11, 35683, 7, 8424, 306, 62, ...
what is the type when the bie recognised is yes and year(s) is 1960?
SELECT type FROM table_name_62 WHERE bie_recognised = "yes" AND year_s_ = "1960"
[ 10919, 318, 262, 2099, 618, 262, 275, 494, 20915, 318, 3763, 290, 614, 7, 82, 8, 318, 9507, 30, 46506, 2099, 16034, 3084, 62, 3672, 62, 5237, 33411, 275, 494, 62, 26243, 1417, 796, 366, 8505, 1, 5357, 614, 62, 82, 62, 796, 366, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 2099, 618, 262, 275, 494, 20915, 318, 3763, 290, 614, 7, 82, 8, 318, 9507, 30, 46506, 2099, 16034, 3084, 62, 3672, 62, 5237, 33411, 275, 494, 62, 26243, 1417, 796, 366, 8505, 1, 5357, 614, 62, 82, 62, 796, 366, ...
When was the coin with the mass of 3.7 g first minted?
SELECT first_minting FROM table_1307572_1 WHERE mass = "3.7 g"
[ 2215, 373, 262, 10752, 351, 262, 2347, 286, 513, 13, 22, 308, 717, 21043, 276, 30, 46506, 717, 62, 34289, 278, 16034, 3084, 62, 12952, 2425, 4761, 62, 16, 33411, 2347, 796, 366, 18, 13, 22, 308, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 373, 262, 10752, 351, 262, 2347, 286, 513, 13, 22, 308, 717, 21043, 276, 30, 46506, 717, 62, 34289, 278, 16034, 3084, 62, 12952, 2425, 4761, 62, 16, 33411, 2347, 796, 366, 18, 13, 22, 308, 1 ]
what were the four most frequent microbiology tests ordered for patients who received kidney stone procedure - with removal of ureteral calculus earlier within 2 months until 3 years ago?
SELECT t3.culturesite FROM (SELECT t2.culturesite, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, treatment.treatmenttime FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'kidney stone procedure - with removal of ure...
[ 10919, 547, 262, 1440, 749, 10792, 24559, 1435, 5254, 6149, 329, 3871, 508, 2722, 21919, 7815, 8771, 532, 351, 9934, 286, 334, 260, 353, 282, 41443, 2961, 1626, 362, 1933, 1566, 513, 812, 2084, 30, 46506, 256, 18, 13, 40820, 942, 578,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 547, 262, 1440, 749, 10792, 24559, 1435, 5254, 6149, 329, 3871, 508, 2722, 21919, 7815, 8771, 532, 351, 9934, 286, 334, 260, 353, 282, 41443, 2961, 1626, 362, 1933, 1566, 513, 812, 2084, 30, 46506, 256, 18, 13, 40820, 942, 578,...
On what Date was the Home team Detroit Red Wings with a Record of 10 41 6?
SELECT "Date" FROM table_46244 WHERE "Home" = 'detroit red wings' AND "Record" = '10–41–6'
[ 2202, 644, 7536, 373, 262, 5995, 1074, 8488, 2297, 17330, 351, 257, 13266, 286, 838, 6073, 718, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 3510, 25707, 33411, 366, 16060, 1, 796, 705, 15255, 7775, 2266, 12098, 6, 5357, 366, 23739, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5995, 1074, 8488, 2297, 17330, 351, 257, 13266, 286, 838, 6073, 718, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 3510, 25707, 33411, 366, 16060, 1, 796, 705, 15255, 7775, 2266, 12098, 6, 5357, 366, 23739, 1, ...
what are the three most frequently prescribed medicines for patients who had previously received the neurology consultation in the same hospital encounter, in 2102?
SELECT t3.drugname FROM (SELECT t2.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, treatment.treatmenttime, patient.patienthealthsystemstayid FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'neurology consu...
[ 10919, 389, 262, 1115, 749, 6777, 14798, 23533, 329, 3871, 508, 550, 4271, 2722, 262, 22356, 88, 18103, 287, 262, 976, 4436, 8791, 11, 287, 362, 15377, 30, 46506, 256, 18, 13, 30349, 3672, 16034, 357, 46506, 256, 17, 13, 30349, 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...
[ 10919, 389, 262, 1115, 749, 6777, 14798, 23533, 329, 3871, 508, 550, 4271, 2722, 262, 22356, 88, 18103, 287, 262, 976, 4436, 8791, 11, 287, 362, 15377, 30, 46506, 256, 18, 13, 30349, 3672, 16034, 357, 46506, 256, 17, 13, 30349, 3672, ...
give me the number of patients whose days of hospital stay is greater than 23 and drug name is ondansetron odt?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.days_stay > "23" AND prescriptions.drug = "Ondansetron ODT"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 1528, 286, 4436, 2652, 318, 3744, 621, 2242, 290, 2563, 1438, 318, 319, 67, 504, 316, 1313, 16298, 83, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 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, 1528, 286, 4436, 2652, 318, 3744, 621, 2242, 290, 2563, 1438, 318, 319, 67, 504, 316, 1313, 16298, 83, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 1672...
What is the release date if the code name is Aoba?
SELECT release_date FROM table WHERE code_name = "Aoba"
[ 2061, 318, 262, 2650, 3128, 611, 262, 2438, 1438, 318, 317, 19981, 30, 46506, 2650, 62, 4475, 16034, 3084, 33411, 2438, 62, 3672, 796, 366, 32, 19981, 1 ]
[ 1, 1, 1, 1, 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, 2650, 3128, 611, 262, 2438, 1438, 318, 317, 19981, 30, 46506, 2650, 62, 4475, 16034, 3084, 33411, 2438, 62, 3672, 796, 366, 32, 19981, 1 ]
When n is 3, what are all the coaliton parties?
SELECT coalition_parties FROM table_21422977_1 WHERE nº = 3
[ 2215, 299, 318, 513, 11, 644, 389, 477, 262, 5655, 37752, 4671, 30, 46506, 9906, 62, 3911, 444, 16034, 3084, 62, 22291, 23539, 3324, 62, 16, 33411, 299, 36165, 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, 1, 1, 1, 1, 1, 1 ]
[ 2215, 299, 318, 513, 11, 644, 389, 477, 262, 5655, 37752, 4671, 30, 46506, 9906, 62, 3911, 444, 16034, 3084, 62, 22291, 23539, 3324, 62, 16, 33411, 299, 36165, 796, 513 ]
For the Hockey East conference, what is the total number of win percentages when there are less than 4 bids?
SELECT COUNT("Win %") FROM table_74489 WHERE "Conference" = 'hockey east' AND "# of Bids" < '4'
[ 1890, 262, 17277, 3687, 4495, 11, 644, 318, 262, 2472, 1271, 286, 1592, 28071, 618, 612, 389, 1342, 621, 604, 27837, 30, 46506, 327, 28270, 7203, 16643, 4064, 4943, 16034, 3084, 62, 22, 2598, 4531, 33411, 366, 3103, 4288, 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 ]
[ 1890, 262, 17277, 3687, 4495, 11, 644, 318, 262, 2472, 1271, 286, 1592, 28071, 618, 612, 389, 1342, 621, 604, 27837, 30, 46506, 327, 28270, 7203, 16643, 4064, 4943, 16034, 3084, 62, 22, 2598, 4531, 33411, 366, 3103, 4288, 1, 796, 705,...
What is the district for the parish, Brough?
SELECT district FROM table_name_58 WHERE name = "brough"
[ 2061, 318, 262, 4783, 329, 262, 28830, 11, 347, 740, 30, 46506, 4783, 16034, 3084, 62, 3672, 62, 3365, 33411, 1438, 796, 366, 65, 740, 1 ]
[ 1, 1, 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, 4783, 329, 262, 28830, 11, 347, 740, 30, 46506, 4783, 16034, 3084, 62, 3672, 62, 3365, 33411, 1438, 796, 366, 65, 740, 1 ]
Name the number of rank for stone park
SELECT COUNT("Rank") FROM table_25584 WHERE "Densest incorporated place" = 'Stone Park'
[ 5376, 262, 1271, 286, 4279, 329, 7815, 3952, 46506, 327, 28270, 7203, 27520, 4943, 16034, 3084, 62, 1495, 46352, 33411, 366, 35, 641, 395, 16560, 1295, 1, 796, 705, 34346, 3250, 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 ]
[ 5376, 262, 1271, 286, 4279, 329, 7815, 3952, 46506, 327, 28270, 7203, 27520, 4943, 16034, 3084, 62, 1495, 46352, 33411, 366, 35, 641, 395, 16560, 1295, 1, 796, 705, 34346, 3250, 6 ]
What was the bleeding time during the prolonged partial thromboplastin time in which the prothrombin time is unaffected?
SELECT "Bleeding time" FROM table_2947 WHERE "Partial thromboplastin time" = 'Prolonged' AND "Prothrombin time" = 'Unaffected'
[ 2061, 373, 262, 16832, 640, 1141, 262, 20573, 13027, 294, 398, 65, 404, 12957, 259, 640, 287, 543, 262, 386, 400, 398, 8800, 640, 318, 35290, 30, 46506, 366, 43413, 8228, 640, 1, 16034, 3084, 62, 1959, 2857, 33411, 366, 7841, 498, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 373, 262, 16832, 640, 1141, 262, 20573, 13027, 294, 398, 65, 404, 12957, 259, 640, 287, 543, 262, 386, 400, 398, 8800, 640, 318, 35290, 30, 46506, 366, 43413, 8228, 640, 1, 16034, 3084, 62, 1959, 2857, 33411, 366, 7841, 498, 2...
what is the number of nationalities listed in the table ?
SELECT COUNT(DISTINCT "nationality") FROM table_204_173
[ 10919, 318, 262, 1271, 286, 2260, 871, 5610, 287, 262, 3084, 5633, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 366, 14648, 414, 4943, 16034, 3084, 62, 18638, 62, 25399 ]
[ 1, 1, 1, 1, 1, 1, 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, 2260, 871, 5610, 287, 262, 3084, 5633, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 366, 14648, 414, 4943, 16034, 3084, 62, 18638, 62, 25399 ]
flights from KANSAS CITY to CLEVELAND on wednesday before 1700
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, date_day, days, flight WHERE ((date_day.day_number = 23 AND date_day.month_number = 4 AND date_day.year = 1991 AND days.day_name = date_day.day_name AND flight.departure_time...
[ 2704, 2337, 422, 509, 15037, 1921, 27993, 284, 30301, 18697, 6981, 319, 29445, 3462, 878, 35665, 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,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2704, 2337, 422, 509, 15037, 1921, 27993, 284, 30301, 18697, 6981, 319, 29445, 3462, 878, 35665, 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,...
Which opponent led to a 5-2 record?
SELECT opponent FROM table_24560733_1 WHERE record = "5-2"
[ 13828, 6125, 2957, 284, 257, 642, 12, 17, 1700, 30, 46506, 6125, 16034, 3084, 62, 22995, 31980, 2091, 62, 16, 33411, 1700, 796, 366, 20, 12, 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 ]
[ 13828, 6125, 2957, 284, 257, 642, 12, 17, 1700, 30, 46506, 6125, 16034, 3084, 62, 22995, 31980, 2091, 62, 16, 33411, 1700, 796, 366, 20, 12, 17, 1 ]
Top users of a particular location.
SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation FROM Users WHERE LOWER(Location) LIKE '%##Location##%' ORDER BY Reputation DESC
[ 9126, 2985, 286, 257, 1948, 4067, 13, 46506, 371, 3913, 62, 41359, 13246, 3419, 28729, 357, 12532, 1137, 11050, 1432, 7094, 22196, 34, 8, 7054, 25113, 1600, 5121, 7054, 366, 7220, 62, 8726, 1600, 1432, 7094, 16034, 18987, 33411, 406, 36...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 9126, 2985, 286, 257, 1948, 4067, 13, 46506, 371, 3913, 62, 41359, 13246, 3419, 28729, 357, 12532, 1137, 11050, 1432, 7094, 22196, 34, 8, 7054, 25113, 1600, 5121, 7054, 366, 7220, 62, 8726, 1600, 1432, 7094, 16034, 18987, 33411, 406, 36...
What round was matt brait?
SELECT "Round" FROM table_34152 WHERE "Player" = 'matt brait'
[ 2061, 2835, 373, 23963, 8290, 270, 30, 46506, 366, 22685, 1, 16034, 3084, 62, 2682, 17827, 33411, 366, 14140, 1, 796, 705, 76, 1078, 8290, 270, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 2835, 373, 23963, 8290, 270, 30, 46506, 366, 22685, 1, 16034, 3084, 62, 2682, 17827, 33411, 366, 14140, 1, 796, 705, 76, 1078, 8290, 270, 6 ]
what was the diagnosis of patient 20066 for the last time until 2104?
SELECT d_icd_diagnoses.short_title FROM d_icd_diagnoses WHERE d_icd_diagnoses.icd9_code IN (SELECT diagnoses_icd.icd9_code FROM diagnoses_icd WHERE diagnoses_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 20066) AND STRFTIME('%y', diagnoses_icd.charttime) <= '2104' ORDER BY diag...
[ 10919, 373, 262, 13669, 286, 5827, 939, 2791, 329, 262, 938, 640, 1566, 362, 13464, 30, 46506, 288, 62, 291, 67, 62, 47356, 4629, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 47356, 4629, 33411, 288, 62, 291, 67, 62, 47356, 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...
[ 10919, 373, 262, 13669, 286, 5827, 939, 2791, 329, 262, 938, 640, 1566, 362, 13464, 30, 46506, 288, 62, 291, 67, 62, 47356, 4629, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 47356, 4629, 33411, 288, 62, 291, 67, 62, 47356, 4...
What is 1998, when 1997 is '3R', and when 1992 is 'A'?
SELECT 1998 FROM table_name_26 WHERE 1997 = "3r" AND 1992 = "a"
[ 2061, 318, 7795, 11, 618, 8309, 318, 705, 18, 49, 3256, 290, 618, 9768, 318, 705, 32, 30960, 46506, 7795, 16034, 3084, 62, 3672, 62, 2075, 33411, 8309, 796, 366, 18, 81, 1, 5357, 9768, 796, 366, 64, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7795, 11, 618, 8309, 318, 705, 18, 49, 3256, 290, 618, 9768, 318, 705, 32, 30960, 46506, 7795, 16034, 3084, 62, 3672, 62, 2075, 33411, 8309, 796, 366, 18, 81, 1, 5357, 9768, 796, 366, 64, 1 ]
How many episodes were directed by Ken Fink?
SELECT COUNT(_number) FROM table_27905664_1 WHERE directed_by = "Ken Fink"
[ 2437, 867, 8640, 547, 7924, 416, 7148, 376, 676, 30, 46506, 327, 28270, 28264, 17618, 8, 16034, 3084, 62, 26050, 2713, 21, 2414, 62, 16, 33411, 7924, 62, 1525, 796, 366, 27827, 376, 676, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 8640, 547, 7924, 416, 7148, 376, 676, 30, 46506, 327, 28270, 28264, 17618, 8, 16034, 3084, 62, 26050, 2713, 21, 2414, 62, 16, 33411, 7924, 62, 1525, 796, 366, 27827, 376, 676, 1 ]
When Spencer is the county what is total of the population (2010) (rank)?
SELECT COUNT(population__2010___rank_) FROM table_14253123_1 WHERE county_name = "Spencer"
[ 2215, 15971, 318, 262, 7968, 644, 318, 2472, 286, 262, 3265, 357, 10333, 8, 357, 43027, 19427, 46506, 327, 28270, 7, 39748, 834, 10333, 17569, 43027, 62, 8, 16034, 3084, 62, 1415, 28592, 10163, 62, 16, 33411, 7968, 62, 3672, 796, 366,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 15971, 318, 262, 7968, 644, 318, 2472, 286, 262, 3265, 357, 10333, 8, 357, 43027, 19427, 46506, 327, 28270, 7, 39748, 834, 10333, 17569, 43027, 62, 8, 16034, 3084, 62, 1415, 28592, 10163, 62, 16, 33411, 7968, 62, 3672, 796, 366,...
how much did patient 12775 weigh last measured in this hospital visit?
SELECT chartevents.valuenum FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 12775 AND admissions.dischtime IS NULL)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items...
[ 4919, 881, 750, 5827, 18112, 2425, 10164, 938, 8630, 287, 428, 4436, 3187, 30, 46506, 8262, 31534, 13, 2100, 84, 44709, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, 323, 62, 312, 3268, 357, 46506, 14158, 436, 592, 13, 291, 43...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 881, 750, 5827, 18112, 2425, 10164, 938, 8630, 287, 428, 4436, 3187, 30, 46506, 8262, 31534, 13, 2100, 84, 44709, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, 323, 62, 312, 3268, 357, 46506, 14158, 436, 592, 13, 291, 43...
what is the number of patients whose admission type is emergency and drug route is ivpca?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.admission_type = "EMERGENCY" AND prescriptions.route = "IVPCA"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 13938, 2099, 318, 6334, 290, 2563, 6339, 318, 21628, 79, 6888, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3025, 13938, 2099, 318, 6334, 290, 2563, 6339, 318, 21628, 79, 6888, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, ...
What is the result of the game against Ayr United?
SELECT result FROM table_name_73 WHERE opponent = "ayr united"
[ 2061, 318, 262, 1255, 286, 262, 983, 1028, 317, 2417, 1578, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 4790, 33411, 6125, 796, 366, 323, 81, 16503, 1 ]
[ 1, 1, 1, 1, 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, 286, 262, 983, 1028, 317, 2417, 1578, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 4790, 33411, 6125, 796, 366, 323, 81, 16503, 1 ]
What is the format for Catalog CL 2372?
SELECT format FROM table_name_96 WHERE catalog = "cl 2372"
[ 2061, 318, 262, 5794, 329, 44515, 7852, 2242, 4761, 30, 46506, 5794, 16034, 3084, 62, 3672, 62, 4846, 33411, 18388, 796, 366, 565, 2242, 4761, 1 ]
[ 1, 1, 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, 5794, 329, 44515, 7852, 2242, 4761, 30, 46506, 5794, 16034, 3084, 62, 3672, 62, 4846, 33411, 18388, 796, 366, 565, 2242, 4761, 1 ]
how many patients whose marital status is married and ethnicity is black/cape verdean?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.marital_status = "MARRIED" AND demographic.ethnicity = "BLACK/CAPE VERDEAN"
[ 4919, 867, 3871, 3025, 29555, 3722, 318, 6405, 290, 26289, 318, 2042, 14, 36435, 3326, 2934, 272, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 3876, 1287, 62, 13376, 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 ]
[ 4919, 867, 3871, 3025, 29555, 3722, 318, 6405, 290, 26289, 318, 2042, 14, 36435, 3326, 2934, 272, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 3876, 1287, 62, 13376, 796...
Name the fleet series with a quantity of 5
SELECT "Fleet series" FROM table_78251 WHERE "Quantity" = '5'
[ 5376, 262, 11026, 2168, 351, 257, 12040, 286, 642, 46506, 366, 47669, 316, 2168, 1, 16034, 3084, 62, 3695, 28072, 33411, 366, 31208, 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 ]
[ 5376, 262, 11026, 2168, 351, 257, 12040, 286, 642, 46506, 366, 47669, 316, 2168, 1, 16034, 3084, 62, 3695, 28072, 33411, 366, 31208, 1, 796, 705, 20, 6 ]
@ Chicago had a high points of what?
SELECT "High points" FROM table_21613 WHERE "Team" = '@ Chicago'
[ 31, 4842, 550, 257, 1029, 2173, 286, 644, 30, 46506, 366, 11922, 2173, 1, 16034, 3084, 62, 20666, 1485, 33411, 366, 15592, 1, 796, 705, 31, 4842, 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 ]
[ 31, 4842, 550, 257, 1029, 2173, 286, 644, 30, 46506, 366, 11922, 2173, 1, 16034, 3084, 62, 20666, 1485, 33411, 366, 15592, 1, 796, 705, 31, 4842, 6 ]
give me the number of patients whose diagnoses long title is acute diastolic heart failure and lab test fluid is ascites?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.long_title = "Acute diastolic heart failure" AND lab.fluid = "Ascites"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 40567, 890, 3670, 318, 14352, 2566, 459, 4160, 2612, 5287, 290, 2248, 1332, 11711, 318, 10570, 2737, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 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...
[ 26535, 502, 262, 1271, 286, 3871, 3025, 40567, 890, 3670, 318, 14352, 2566, 459, 4160, 2612, 5287, 290, 2248, 1332, 11711, 318, 10570, 2737, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3...
what the was the final in which frank w. boykin was running
SELECT result FROM table_1342233_3 WHERE incumbent = "Frank W. Boykin"
[ 10919, 262, 373, 262, 2457, 287, 543, 14346, 266, 13, 2933, 5116, 373, 2491, 46506, 1255, 16034, 3084, 62, 19880, 1828, 2091, 62, 18, 33411, 23526, 796, 366, 17439, 370, 13, 6387, 5116, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 262, 373, 262, 2457, 287, 543, 14346, 266, 13, 2933, 5116, 373, 2491, 46506, 1255, 16034, 3084, 62, 19880, 1828, 2091, 62, 18, 33411, 23526, 796, 366, 17439, 370, 13, 6387, 5116, 1 ]