instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
Distribution of score vs. number of bookmarks (log-log).
WITH Scores AS (SELECT Score AS n, COUNT(*) AS c FROM Posts WHERE PostTypeId = 1 GROUP BY Score), Bookmarks AS (SELECT COALESCE(FavoriteCount, 0) AS n, COUNT(*) AS c FROM Posts WHERE PostTypeId = 1 GROUP BY COALESCE(FavoriteCount, 0)) SELECT LOG(10, Scores.n), CASE WHEN Scores.c > 0 THEN LOG(10, Scores.c) ELSE -1 END, ...
[ 20344, 3890, 286, 4776, 3691, 13, 1271, 286, 1492, 14306, 357, 6404, 12, 6404, 737, 54, 10554, 44654, 7054, 357, 46506, 15178, 7054, 299, 11, 327, 28270, 7, 28104, 7054, 269, 16034, 12043, 33411, 2947, 6030, 7390, 796, 352, 44441, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 20344, 3890, 286, 4776, 3691, 13, 1271, 286, 1492, 14306, 357, 6404, 12, 6404, 737, 54, 10554, 44654, 7054, 357, 46506, 15178, 7054, 299, 11, 327, 28270, 7, 28104, 7054, 269, 16034, 12043, 33411, 2947, 6030, 7390, 796, 352, 44441, 11050...
What was the multiplier of the processor with sSpec number of SLGPR(C0) and a release price of N/A?
SELECT mult FROM table_name_35 WHERE release_price___usd__ = "n/a" AND sspec_number = "slgpr(c0)"
[ 2061, 373, 262, 33090, 286, 262, 12649, 351, 264, 22882, 1271, 286, 12419, 38, 4805, 7, 34, 15, 8, 290, 257, 2650, 2756, 286, 399, 14, 32, 30, 46506, 1963, 16034, 3084, 62, 3672, 62, 2327, 33411, 2650, 62, 20888, 17569, 385, 67, 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...
[ 2061, 373, 262, 33090, 286, 262, 12649, 351, 264, 22882, 1271, 286, 12419, 38, 4805, 7, 34, 15, 8, 290, 257, 2650, 2756, 286, 399, 14, 32, 30, 46506, 1963, 16034, 3084, 62, 3672, 62, 2327, 33411, 2650, 62, 20888, 17569, 385, 67, 8...
What game is the lowest with 1 draw and less than 7 points?
SELECT MIN(games) FROM table_name_43 WHERE drawn = 1 AND points < 7
[ 2061, 983, 318, 262, 9016, 351, 352, 3197, 290, 1342, 621, 767, 2173, 30, 46506, 20625, 7, 19966, 8, 16034, 3084, 62, 3672, 62, 3559, 33411, 7428, 796, 352, 5357, 2173, 1279, 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, 1, 1, 1, 1, 1 ]
[ 2061, 983, 318, 262, 9016, 351, 352, 3197, 290, 1342, 621, 767, 2173, 30, 46506, 20625, 7, 19966, 8, 16034, 3084, 62, 3672, 62, 3559, 33411, 7428, 796, 352, 5357, 2173, 1279, 767 ]
What is the dpi for the scanner with a max page size of 216mm x 355mm?
SELECT "dpi" FROM table_20792 WHERE "max page size" = '216mm x 355mm'
[ 2061, 318, 262, 288, 14415, 329, 262, 27474, 351, 257, 3509, 2443, 2546, 286, 26881, 3020, 2124, 36561, 3020, 30, 46506, 366, 67, 14415, 1, 16034, 3084, 62, 1238, 48156, 33411, 366, 9806, 2443, 2546, 1, 796, 705, 20666, 3020, 2124, 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 ]
[ 2061, 318, 262, 288, 14415, 329, 262, 27474, 351, 257, 3509, 2443, 2546, 286, 26881, 3020, 2124, 36561, 3020, 30, 46506, 366, 67, 14415, 1, 16034, 3084, 62, 1238, 48156, 33411, 366, 9806, 2443, 2546, 1, 796, 705, 20666, 3020, 2124, 36...
what were the top three most common diagnosis until 2104?
SELECT d_icd_diagnoses.short_title FROM d_icd_diagnoses WHERE d_icd_diagnoses.icd9_code IN (SELECT t1.icd9_code FROM (SELECT diagnoses_icd.icd9_code, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM diagnoses_icd WHERE STRFTIME('%y', diagnoses_icd.charttime) <= '2104' GROUP BY diagnoses_icd.icd9_code) AS t1 WHERE ...
[ 10919, 547, 262, 1353, 1115, 749, 2219, 13669, 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, 4629, 13, 291, 67, 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...
[ 10919, 547, 262, 1353, 1115, 749, 2219, 13669, 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, 4629, 13, 291, 67, 2...
find travel arrangements for a one way flight from SAN FRANCISCO to DALLAS
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, fare, flight, flight_fare WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'DALLAS' AND fare.round_trip_required = 'NO' AND flight_fare.fare_id = ...
[ 19796, 3067, 14752, 329, 257, 530, 835, 5474, 422, 37376, 8782, 20940, 1797, 8220, 284, 360, 7036, 1921, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 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...
[ 19796, 3067, 14752, 329, 257, 530, 835, 5474, 422, 37376, 8782, 20940, 1797, 8220, 284, 360, 7036, 1921, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, ...
what is the cost of a laboratory test of ferritin?
SELECT DISTINCT cost.cost FROM cost WHERE cost.eventtype = 'lab' AND cost.eventid IN (SELECT lab.labid FROM lab WHERE lab.labname = 'ferritin')
[ 10919, 318, 262, 1575, 286, 257, 14010, 1332, 286, 11354, 799, 259, 30, 46506, 360, 8808, 1268, 4177, 1575, 13, 15805, 16034, 1575, 33411, 1575, 13, 15596, 4906, 796, 705, 23912, 6, 5357, 1575, 13, 15596, 312, 3268, 357, 46506, 2248, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1575, 286, 257, 14010, 1332, 286, 11354, 799, 259, 30, 46506, 360, 8808, 1268, 4177, 1575, 13, 15805, 16034, 1575, 33411, 1575, 13, 15596, 4906, 796, 705, 23912, 6, 5357, 1575, 13, 15596, 312, 3268, 357, 46506, 2248, ...
What school has rebels as their mascot?
SELECT "School" FROM table_64511 WHERE "Mascot" = 'rebels'
[ 2061, 1524, 468, 12669, 355, 511, 37358, 30, 46506, 366, 26130, 1, 16034, 3084, 62, 49259, 1157, 33411, 366, 44, 3372, 313, 1, 796, 705, 34806, 1424, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1524, 468, 12669, 355, 511, 37358, 30, 46506, 366, 26130, 1, 16034, 3084, 62, 49259, 1157, 33411, 366, 44, 3372, 313, 1, 796, 705, 34806, 1424, 6 ]
How many items are listed under 'andrew and georgies guest lee mack replaced andrew flint as team captain for one week' for episode 04x04?
SELECT COUNT(andrew_and_georgies_guest_lee_mack_replaced_andrew_flintoff_as_team_captain_for_one_week_in_series_4), _episode_2 FROM table_29141354_4 WHERE episode = "04x04"
[ 2437, 867, 3709, 389, 5610, 739, 705, 392, 1809, 290, 4903, 2398, 444, 8319, 443, 68, 285, 441, 6928, 290, 1809, 781, 600, 355, 1074, 10654, 329, 530, 1285, 6, 329, 4471, 8702, 87, 3023, 30, 46506, 327, 28270, 7, 392, 1809, 62, 39...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2437, 867, 3709, 389, 5610, 739, 705, 392, 1809, 290, 4903, 2398, 444, 8319, 443, 68, 285, 441, 6928, 290, 1809, 781, 600, 355, 1074, 10654, 329, 530, 1285, 6, 329, 4471, 8702, 87, 3023, 30, 46506, 327, 28270, 7, 392, 1809, 62, 39...
How many overalls have charley barnes as the name, with a pick less than 3?
SELECT SUM(overall) FROM table_name_90 WHERE name = "charley barnes" AND pick < 3
[ 2437, 867, 4045, 82, 423, 1149, 1636, 25203, 274, 355, 262, 1438, 11, 351, 257, 2298, 1342, 621, 513, 30, 46506, 35683, 7, 2502, 439, 8, 16034, 3084, 62, 3672, 62, 3829, 33411, 1438, 796, 366, 10641, 1636, 25203, 274, 1, 5357, 2298,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4045, 82, 423, 1149, 1636, 25203, 274, 355, 262, 1438, 11, 351, 257, 2298, 1342, 621, 513, 30, 46506, 35683, 7, 2502, 439, 8, 16034, 3084, 62, 3672, 62, 3829, 33411, 1438, 796, 366, 10641, 1636, 25203, 274, 1, 5357, 2298,...
amazon is at the top of the chart , but what is the name below it ?
SELECT "name" FROM table_204_568 WHERE id = 1 + 1
[ 33103, 318, 379, 262, 1353, 286, 262, 8262, 837, 475, 644, 318, 262, 1438, 2174, 340, 5633, 46506, 366, 3672, 1, 16034, 3084, 62, 18638, 62, 49211, 33411, 4686, 796, 352, 1343, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 33103, 318, 379, 262, 1353, 286, 262, 8262, 837, 475, 644, 318, 262, 1438, 2174, 340, 5633, 46506, 366, 3672, 1, 16034, 3084, 62, 18638, 62, 49211, 33411, 4686, 796, 352, 1343, 352 ]
Active Users -- Posted Questions Each Day of a Week.
SELECT UserId, UserName, PostYear, PostWeek, COUNT(*) AS ActiveDaysPerWeek FROM (SELECT u.Id AS UserId, u.DisplayName AS UserName, TIME_TO_STR(p.CreationDate, '%Y') AS PostYear, TIME_TO_STR(p.CreationDate, '%W') AS PostWeek, TIME_TO_STR(p.CreationDate, '%W') AS PostWeekday, COUNT(*) AS PostsPerDay FROM Users AS u INNER...
[ 13739, 18987, 1377, 12918, 20396, 5501, 3596, 286, 257, 6119, 13, 46506, 11787, 7390, 11, 11787, 5376, 11, 2947, 17688, 11, 2947, 20916, 11, 327, 28270, 7, 28104, 7054, 14199, 38770, 5990, 20916, 16034, 357, 46506, 334, 13, 7390, 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...
[ 13739, 18987, 1377, 12918, 20396, 5501, 3596, 286, 257, 6119, 13, 46506, 11787, 7390, 11, 11787, 5376, 11, 2947, 17688, 11, 2947, 20916, 11, 327, 28270, 7, 28104, 7054, 14199, 38770, 5990, 20916, 16034, 357, 46506, 334, 13, 7390, 7054, ...
What is the composition with an artist of Henry Purdy, a year smaller than 2002, and a mint more than 1,998?
SELECT "Composition" FROM table_54149 WHERE "Year" < '2002' AND "Mintage" > '1,998' AND "Artist" = 'henry purdy'
[ 2061, 318, 262, 11742, 351, 281, 6802, 286, 8616, 350, 22876, 11, 257, 614, 4833, 621, 6244, 11, 290, 257, 21043, 517, 621, 352, 11, 34808, 30, 46506, 366, 5377, 9150, 1, 16034, 3084, 62, 4051, 19442, 33411, 366, 17688, 1, 1279, 705...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 318, 262, 11742, 351, 281, 6802, 286, 8616, 350, 22876, 11, 257, 614, 4833, 621, 6244, 11, 290, 257, 21043, 517, 621, 352, 11, 34808, 30, 46506, 366, 5377, 9150, 1, 16034, 3084, 62, 4051, 19442, 33411, 366, 17688, 1, 1279, 705...
which men 's alpine skiing event had the most icelandic competitors ?
SELECT "event" FROM table_204_571 GROUP BY "event" ORDER BY COUNT(*) DESC LIMIT 1
[ 4758, 1450, 705, 82, 435, 23908, 41348, 1785, 550, 262, 749, 14158, 8822, 291, 13861, 5633, 46506, 366, 15596, 1, 16034, 3084, 62, 18638, 62, 42875, 44441, 11050, 366, 15596, 1, 38678, 11050, 327, 28270, 7, 28104, 22196, 34, 27564, 2043...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1450, 705, 82, 435, 23908, 41348, 1785, 550, 262, 749, 14158, 8822, 291, 13861, 5633, 46506, 366, 15596, 1, 16034, 3084, 62, 18638, 62, 42875, 44441, 11050, 366, 15596, 1, 38678, 11050, 327, 28270, 7, 28104, 22196, 34, 27564, 2043...
What are the womens singles of naoko fukuman kurumi yonao?
SELECT womens_singles FROM table_12104319_1 WHERE womens_doubles = "Naoko Fukuman Kurumi Yonao"
[ 2061, 389, 262, 1116, 641, 25287, 286, 12385, 16044, 277, 2724, 3778, 479, 333, 12994, 331, 4450, 78, 30, 46506, 1116, 641, 62, 12215, 829, 16034, 3084, 62, 1065, 940, 3559, 1129, 62, 16, 33411, 1116, 641, 62, 67, 280, 7689, 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, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 262, 1116, 641, 25287, 286, 12385, 16044, 277, 2724, 3778, 479, 333, 12994, 331, 4450, 78, 30, 46506, 1116, 641, 62, 12215, 829, 16034, 3084, 62, 1065, 940, 3559, 1129, 62, 16, 33411, 1116, 641, 62, 67, 280, 7689, 796, 36...
Positive score answers per month.
SELECT MONTH(CreationDate), COUNT(Id) FROM Posts WHERE Score > 0 GROUP BY MONTH(CreationDate) ORDER BY MONTH(CreationDate)
[ 21604, 1800, 4776, 7429, 583, 1227, 13, 46506, 25000, 4221, 7, 12443, 341, 10430, 828, 327, 28270, 7, 7390, 8, 16034, 12043, 33411, 15178, 1875, 657, 44441, 11050, 25000, 4221, 7, 12443, 341, 10430, 8, 38678, 11050, 25000, 4221, 7, 1244...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 21604, 1800, 4776, 7429, 583, 1227, 13, 46506, 25000, 4221, 7, 12443, 341, 10430, 828, 327, 28270, 7, 7390, 8, 16034, 12043, 33411, 15178, 1875, 657, 44441, 11050, 25000, 4221, 7, 12443, 341, 10430, 8, 38678, 11050, 25000, 4221, 7, 1244...
how many patients admitted to trsf within this facility had a pleural fluid test?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_location = "TRSF WITHIN THIS FACILITY" AND lab.fluid = "Pleural"
[ 4919, 867, 3871, 6848, 284, 491, 28202, 1626, 428, 6841, 550, 257, 3339, 1523, 11711, 1332, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 3871, 6848, 284, 491, 28202, 1626, 428, 6841, 550, 257, 3339, 1523, 11711, 1332, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 1...
Which artist has a serial number of BOONCD1?
SELECT artist FROM table_name_68 WHERE number = "booncd1"
[ 13828, 6802, 468, 257, 11389, 1271, 286, 16494, 1340, 8610, 16, 30, 46506, 6802, 16034, 3084, 62, 3672, 62, 3104, 33411, 1271, 796, 366, 65, 2049, 10210, 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 ]
[ 13828, 6802, 468, 257, 11389, 1271, 286, 16494, 1340, 8610, 16, 30, 46506, 6802, 16034, 3084, 62, 3672, 62, 3104, 33411, 1271, 796, 366, 65, 2049, 10210, 16, 1 ]
For those employees who was hired before 2002-06-21, show me about the distribution of job_id and the sum of department_id , and group by attribute job_id in a bar chart, and rank x-axis from high to low order.
SELECT JOB_ID, SUM(DEPARTMENT_ID) FROM employees WHERE HIRE_DATE < '2002-06-21' GROUP BY JOB_ID ORDER BY JOB_ID DESC
[ 1890, 883, 4409, 508, 373, 9657, 878, 6244, 12, 3312, 12, 2481, 11, 905, 502, 546, 262, 6082, 286, 1693, 62, 312, 290, 262, 2160, 286, 5011, 62, 312, 837, 290, 1448, 416, 11688, 1693, 62, 312, 287, 257, 2318, 8262, 11, 290, 4279, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4409, 508, 373, 9657, 878, 6244, 12, 3312, 12, 2481, 11, 905, 502, 546, 262, 6082, 286, 1693, 62, 312, 290, 262, 2160, 286, 5011, 62, 312, 837, 290, 1448, 416, 11688, 1693, 62, 312, 287, 257, 2318, 8262, 11, 290, 4279, ...
View User's Self Answered Questions.
SELECT AcceptedAnswerId FROM Posts WHERE OwnerUserId = '419'
[ 7680, 11787, 338, 12189, 28038, 8279, 20396, 13, 46506, 21699, 276, 33706, 7390, 16034, 12043, 33411, 23853, 12982, 7390, 796, 705, 45068, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 7680, 11787, 338, 12189, 28038, 8279, 20396, 13, 46506, 21699, 276, 33706, 7390, 16034, 12043, 33411, 23853, 12982, 7390, 796, 705, 45068, 6 ]
What is the average Pick with a Position of pg, and a Round less than 1?
SELECT AVG(pick) FROM table_name_14 WHERE position = "pg" AND round < 1
[ 2061, 318, 262, 2811, 12346, 351, 257, 23158, 286, 23241, 11, 290, 257, 10485, 1342, 621, 352, 30, 46506, 35224, 7, 27729, 8, 16034, 3084, 62, 3672, 62, 1415, 33411, 2292, 796, 366, 6024, 1, 5357, 2835, 1279, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2811, 12346, 351, 257, 23158, 286, 23241, 11, 290, 257, 10485, 1342, 621, 352, 30, 46506, 35224, 7, 27729, 8, 16034, 3084, 62, 3672, 62, 1415, 33411, 2292, 796, 366, 6024, 1, 5357, 2835, 1279, 352 ]
Who was the incumbent who was first elected in 1876?
SELECT "Incumbent" FROM table_34896 WHERE "First elected" = '1876'
[ 8241, 373, 262, 23526, 508, 373, 717, 7018, 287, 1248, 4304, 30, 46506, 366, 25517, 2178, 298, 1, 16034, 3084, 62, 2682, 48712, 33411, 366, 5962, 7018, 1, 796, 705, 1507, 4304, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 373, 262, 23526, 508, 373, 717, 7018, 287, 1248, 4304, 30, 46506, 366, 25517, 2178, 298, 1, 16034, 3084, 62, 2682, 48712, 33411, 366, 5962, 7018, 1, 796, 705, 1507, 4304, 6 ]
Most Popular Tag By Location By Year Ordered By Most PostTags.
SELECT Posts.Id AS "post_link", Posts.CreationDate, Posts.Title, Posts.Body, Posts.Tags FROM Posts, Users WHERE Posts.OwnerUserId = Users.Id AND (UPPER(Location) LIKE UPPER('%CAMEROON%') OR Location LIKE '%cameroon%' OR Location LIKE '%Cameroon%' OR Location LIKE '%Cameroun%' OR LOWER(Location) LIKE '%cameroun%' OR UPP...
[ 6943, 22623, 17467, 2750, 13397, 2750, 6280, 14230, 1068, 2750, 4042, 2947, 36142, 13, 46506, 12043, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 12043, 13, 12443, 341, 10430, 11, 12043, 13, 19160, 11, 12043, 13, 25842, 11, 12043, 13, 361...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 6943, 22623, 17467, 2750, 13397, 2750, 6280, 14230, 1068, 2750, 4042, 2947, 36142, 13, 46506, 12043, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 12043, 13, 12443, 341, 10430, 11, 12043, 13, 19160, 11, 12043, 13, 25842, 11, 12043, 13, 361...
What is the sum of all totals with a rank greater than 6, gold greater than 0, and silver greater than 2?
SELECT SUM(total) FROM table_name_11 WHERE rank > 6 AND gold > 0 AND silver = 2
[ 2061, 318, 262, 2160, 286, 477, 26310, 351, 257, 4279, 3744, 621, 718, 11, 3869, 3744, 621, 657, 11, 290, 8465, 3744, 621, 362, 30, 46506, 35683, 7, 23350, 8, 16034, 3084, 62, 3672, 62, 1157, 33411, 4279, 1875, 718, 5357, 3869, 1875...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 477, 26310, 351, 257, 4279, 3744, 621, 718, 11, 3869, 3744, 621, 657, 11, 290, 8465, 3744, 621, 362, 30, 46506, 35683, 7, 23350, 8, 16034, 3084, 62, 3672, 62, 1157, 33411, 4279, 1875, 718, 5357, 3869, 1875...
How many actors have appeared in each musical Plot them as bar chart, and rank from high to low by the x axis.
SELECT T2.Name, COUNT(*) FROM actor AS T1 JOIN musical AS T2 ON T1.Musical_ID = T2.Musical_ID GROUP BY T1.Musical_ID ORDER BY T2.Name DESC
[ 2437, 867, 10544, 423, 4120, 287, 1123, 10530, 28114, 606, 355, 2318, 8262, 11, 290, 4279, 422, 1029, 284, 1877, 416, 262, 2124, 16488, 13, 46506, 309, 17, 13, 5376, 11, 327, 28270, 7, 28104, 16034, 8674, 7054, 309, 16, 32357, 1268, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10544, 423, 4120, 287, 1123, 10530, 28114, 606, 355, 2318, 8262, 11, 290, 4279, 422, 1029, 284, 1877, 416, 262, 2124, 16488, 13, 46506, 309, 17, 13, 5376, 11, 327, 28270, 7, 28104, 16034, 8674, 7054, 309, 16, 32357, 1268, ...
patients with septic shock can be identified with a clinical construct of sepsis with persisting hypotension requiring vasopressors to maintain mean arterial pressure ( map ) >= 65 mmhg and having a serum lactate level > 2 mmol / l ( 18 mg / dl ) despite adequate volume resuscitation.
SELECT * FROM table_train_48 WHERE septic_shock = 1 OR (sepsis = 1 AND hypotension = 1 AND receiving_vasopressor = 1)
[ 8071, 2334, 351, 384, 17459, 6380, 460, 307, 5174, 351, 257, 8668, 5678, 286, 384, 862, 271, 351, 2774, 9665, 8813, 3004, 10616, 34439, 404, 601, 669, 284, 5529, 1612, 30675, 498, 3833, 357, 3975, 1267, 18189, 6135, 8085, 71, 70, 290,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 8071, 2334, 351, 384, 17459, 6380, 460, 307, 5174, 351, 257, 8668, 5678, 286, 384, 862, 271, 351, 2774, 9665, 8813, 3004, 10616, 34439, 404, 601, 669, 284, 5529, 1612, 30675, 498, 3833, 357, 3975, 1267, 18189, 6135, 8085, 71, 70, 290,...
Show the album names and ids for albums that contain tracks with unit price bigger than 1 by a bar chart, I want to order Y in descending order please.
SELECT T1.Title, T1.AlbumId FROM Album AS T1 JOIN Track AS T2 ON T1.AlbumId = T2.AlbumId WHERE T2.UnitPrice > 1 ORDER BY T1.AlbumId DESC
[ 15307, 262, 5062, 3891, 290, 220, 2340, 329, 16788, 326, 3994, 8339, 351, 4326, 2756, 5749, 621, 352, 416, 257, 2318, 8262, 11, 314, 765, 284, 1502, 575, 287, 31491, 1502, 3387, 13, 46506, 309, 16, 13, 19160, 11, 309, 16, 13, 2348, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5062, 3891, 290, 220, 2340, 329, 16788, 326, 3994, 8339, 351, 4326, 2756, 5749, 621, 352, 416, 257, 2318, 8262, 11, 314, 765, 284, 1502, 575, 287, 31491, 1502, 3387, 13, 46506, 309, 16, 13, 19160, 11, 309, 16, 13, 2348, ...
How many people were born in 1368?
SELECT COUNT(number) FROM table_name_52 WHERE born = "1368"
[ 2437, 867, 661, 547, 4642, 287, 1511, 3104, 30, 46506, 327, 28270, 7, 17618, 8, 16034, 3084, 62, 3672, 62, 4309, 33411, 4642, 796, 366, 1485, 3104, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 661, 547, 4642, 287, 1511, 3104, 30, 46506, 327, 28270, 7, 17618, 8, 16034, 3084, 62, 3672, 62, 4309, 33411, 4642, 796, 366, 1485, 3104, 1 ]
For those records from the products and each product's manufacturer, draw a bar chart about the distribution of name and the average of price , and group by attribute name.
SELECT T2.Name, T1.Price FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 3197, 257, 2318, 8262, 546, 262, 6082, 286, 1438, 290, 262, 2811, 286, 2756, 837, 290, 1448, 416, 11688, 1438, 13, 46506, 309, 17, 13, 5376, 11, 309, 16, 13, 18124, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3197, 257, 2318, 8262, 546, 262, 6082, 286, 1438, 290, 262, 2811, 286, 2756, 837, 290, 1448, 416, 11688, 1438, 13, 46506, 309, 17, 13, 5376, 11, 309, 16, 13, 18124, ...
What competition was played on 2 June 1992?
SELECT competition FROM table_name_4 WHERE date = "2 june 1992"
[ 2061, 5449, 373, 2826, 319, 362, 2795, 9768, 30, 46506, 5449, 16034, 3084, 62, 3672, 62, 19, 33411, 3128, 796, 366, 17, 474, 1726, 9768, 1 ]
[ 1, 1, 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, 5449, 373, 2826, 319, 362, 2795, 9768, 30, 46506, 5449, 16034, 3084, 62, 3672, 62, 19, 33411, 3128, 796, 366, 17, 474, 1726, 9768, 1 ]
The match against Oleg Taktarov had what result?
SELECT "Res." FROM table_47711 WHERE "Opponent" = 'oleg taktarov'
[ 464, 2872, 1028, 440, 1455, 15804, 18870, 709, 550, 644, 1255, 30, 46506, 366, 4965, 526, 16034, 3084, 62, 32883, 1157, 33411, 366, 27524, 3471, 1, 796, 705, 78, 1455, 256, 461, 18870, 709, 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 ]
[ 464, 2872, 1028, 440, 1455, 15804, 18870, 709, 550, 644, 1255, 30, 46506, 366, 4965, 526, 16034, 3084, 62, 32883, 1157, 33411, 366, 27524, 3471, 1, 796, 705, 78, 1455, 256, 461, 18870, 709, 6 ]
What is the position that is most common among players in match seasons?
SELECT position FROM match_season GROUP BY position ORDER BY COUNT(*) DESC LIMIT 1
[ 2061, 318, 262, 2292, 326, 318, 749, 2219, 1871, 1938, 287, 2872, 7028, 30, 46506, 2292, 16034, 2872, 62, 6230, 44441, 11050, 2292, 38678, 11050, 327, 28270, 7, 28104, 22196, 34, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2292, 326, 318, 749, 2219, 1871, 1938, 287, 2872, 7028, 30, 46506, 2292, 16034, 2872, 62, 6230, 44441, 11050, 2292, 38678, 11050, 327, 28270, 7, 28104, 22196, 34, 27564, 2043, 352 ]
how many female patients are there with drug code ntg100pm?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.gender = "F" AND prescriptions.formulary_drug_cd = "NTG100PM"
[ 4919, 867, 4048, 3871, 389, 612, 351, 2563, 2438, 299, 25297, 3064, 4426, 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, 312...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 4048, 3871, 389, 612, 351, 2563, 2438, 299, 25297, 3064, 4426, 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, 312...
how many patients died in or before year 2131 had guillain barre syndrome?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "GUILLAIN BARRE SYNDROME" AND demographic.dod_year <= "2131.0"
[ 4919, 867, 3871, 3724, 287, 393, 878, 614, 362, 22042, 550, 915, 359, 391, 2318, 260, 14027, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 47356, 5958, 796, 366, 38022, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3724, 287, 393, 878, 614, 362, 22042, 550, 915, 359, 391, 2318, 260, 14027, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 47356, 5958, 796, 366, 38022, ...
When 00:21 is the total footage (mm:ss) what is the serial?
SELECT "Serial" FROM table_22664 WHERE "Total footage (mm:ss)" = '00:21'
[ 2215, 3571, 25, 2481, 318, 262, 2472, 9640, 357, 3020, 25, 824, 8, 644, 318, 262, 11389, 30, 46506, 366, 32634, 1, 16034, 3084, 62, 24909, 2414, 33411, 366, 14957, 9640, 357, 3020, 25, 824, 16725, 796, 705, 405, 25, 2481, 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 ]
[ 2215, 3571, 25, 2481, 318, 262, 2472, 9640, 357, 3020, 25, 824, 8, 644, 318, 262, 11389, 30, 46506, 366, 32634, 1, 16034, 3084, 62, 24909, 2414, 33411, 366, 14957, 9640, 357, 3020, 25, 824, 16725, 796, 705, 405, 25, 2481, 6 ]
What is Outcome, when Score is 1-6, 3-6?
SELECT outcome FROM table_name_5 WHERE score = "1-6, 3-6"
[ 2061, 318, 3806, 2958, 11, 618, 15178, 318, 352, 12, 21, 11, 513, 12, 21, 30, 46506, 8055, 16034, 3084, 62, 3672, 62, 20, 33411, 4776, 796, 366, 16, 12, 21, 11, 513, 12, 21, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 3806, 2958, 11, 618, 15178, 318, 352, 12, 21, 11, 513, 12, 21, 30, 46506, 8055, 16034, 3084, 62, 3672, 62, 20, 33411, 4776, 796, 366, 16, 12, 21, 11, 513, 12, 21, 1 ]
Show me the total number of the flag of ships that are not steered by any captain with Midshipman rank using a bar graph.
SELECT Flag, COUNT(Flag) FROM Ship WHERE NOT Ship_ID IN (SELECT Ship_ID FROM captain WHERE Rank = 'Midshipman') GROUP BY Flag
[ 15307, 502, 262, 2472, 1271, 286, 262, 6056, 286, 7937, 326, 389, 407, 49300, 416, 597, 10654, 351, 337, 2340, 1056, 805, 4279, 1262, 257, 2318, 4823, 13, 46506, 19762, 11, 327, 28270, 7, 34227, 8, 16034, 16656, 33411, 5626, 16656, 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 ]
[ 15307, 502, 262, 2472, 1271, 286, 262, 6056, 286, 7937, 326, 389, 407, 49300, 416, 597, 10654, 351, 337, 2340, 1056, 805, 4279, 1262, 257, 2318, 4823, 13, 46506, 19762, 11, 327, 28270, 7, 34227, 8, 16034, 16656, 33411, 5626, 16656, 62...
What is every denomination for the school Seymour college?
SELECT "Denomination" FROM table_24728 WHERE "School" = 'Seymour College'
[ 2061, 318, 790, 47491, 329, 262, 1524, 42843, 4152, 30, 46506, 366, 21306, 27744, 1, 16034, 3084, 62, 23753, 2078, 33411, 366, 26130, 1, 796, 705, 50, 2959, 76, 454, 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 ]
[ 2061, 318, 790, 47491, 329, 262, 1524, 42843, 4152, 30, 46506, 366, 21306, 27744, 1, 16034, 3084, 62, 23753, 2078, 33411, 366, 26130, 1, 796, 705, 50, 2959, 76, 454, 5535, 6 ]
Which Railway has a Location of shildon, and an ObjectNumber of 1978-7006?
SELECT railway FROM table_name_52 WHERE location = "shildon" AND objectnumber = "1978-7006"
[ 13828, 32130, 468, 257, 13397, 286, 427, 688, 261, 11, 290, 281, 9515, 15057, 286, 15524, 12, 9879, 21, 30, 46506, 20515, 16034, 3084, 62, 3672, 62, 4309, 33411, 4067, 796, 366, 1477, 688, 261, 1, 5357, 2134, 17618, 796, 366, 37950, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 32130, 468, 257, 13397, 286, 427, 688, 261, 11, 290, 281, 9515, 15057, 286, 15524, 12, 9879, 21, 30, 46506, 20515, 16034, 3084, 62, 3672, 62, 4309, 33411, 4067, 796, 366, 1477, 688, 261, 1, 5357, 2134, 17618, 796, 366, 37950, ...
What is listed in tor floysvik when karianne gulliksen is 6?
SELECT MIN("Tor Fl\u00f8ysvik") FROM table_30657 WHERE "Karianne Gulliksen" = '6'
[ 2061, 318, 5610, 287, 7332, 781, 19417, 28930, 618, 479, 3699, 710, 43289, 72, 591, 268, 318, 718, 30, 46506, 20625, 7203, 15884, 1610, 59, 84, 405, 69, 23, 893, 28930, 4943, 16034, 3084, 62, 1270, 37680, 33411, 366, 42, 3699, 710, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5610, 287, 7332, 781, 19417, 28930, 618, 479, 3699, 710, 43289, 72, 591, 268, 318, 718, 30, 46506, 20625, 7203, 15884, 1610, 59, 84, 405, 69, 23, 893, 28930, 4943, 16034, 3084, 62, 1270, 37680, 33411, 366, 42, 3699, 710, ...
show me all flights from BOSTON to DENVER which arrive before 1200 on wednesday
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 (((((flight.arrival_time < flight.departure_time) AND date_day.day_number = 23 AND date_day.month_number = 4 AND date_day.year = 1991 AND days.da...
[ 12860, 502, 477, 13956, 422, 347, 10892, 1340, 284, 37692, 5959, 543, 9240, 878, 24938, 319, 29445, 3462, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 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...
[ 12860, 502, 477, 13956, 422, 347, 10892, 1340, 284, 37692, 5959, 543, 9240, 878, 24938, 319, 29445, 3462, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, ...
What country has to par E with Mark O'Meara?
SELECT "Country" FROM table_44827 WHERE "To par" = 'e' AND "Player" = 'mark o''meara'
[ 2061, 1499, 468, 284, 1582, 412, 351, 2940, 440, 6, 44, 451, 64, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 31115, 1983, 33411, 366, 2514, 1582, 1, 796, 705, 68, 6, 5357, 366, 14140, 1, 796, 705, 4102, 267, 7061, 76, 451, 64, 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 ]
[ 2061, 1499, 468, 284, 1582, 412, 351, 2940, 440, 6, 44, 451, 64, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 31115, 1983, 33411, 366, 2514, 1582, 1, 796, 705, 68, 6, 5357, 366, 14140, 1, 796, 705, 4102, 267, 7061, 76, 451, 64, 6 ...
What team was the game on February 27 played against?
SELECT "Team" FROM table_73456 WHERE "Date" = 'February 27'
[ 2061, 1074, 373, 262, 983, 319, 3945, 2681, 2826, 1028, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 4790, 29228, 33411, 366, 10430, 1, 796, 705, 21816, 2681, 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 ]
[ 2061, 1074, 373, 262, 983, 319, 3945, 2681, 2826, 1028, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 4790, 29228, 33411, 366, 10430, 1, 796, 705, 21816, 2681, 6 ]
The match that went 1 round, and had a method of submission (rear-naked choke) had what record?
SELECT record FROM table_name_43 WHERE round = 1 AND method = "submission (rear-naked choke)"
[ 464, 2872, 326, 1816, 352, 2835, 11, 290, 550, 257, 2446, 286, 14498, 357, 260, 283, 12, 77, 4335, 28504, 8, 550, 644, 1700, 30, 46506, 1700, 16034, 3084, 62, 3672, 62, 3559, 33411, 2835, 796, 352, 5357, 2446, 796, 366, 7266, 3411, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2872, 326, 1816, 352, 2835, 11, 290, 550, 257, 2446, 286, 14498, 357, 260, 283, 12, 77, 4335, 28504, 8, 550, 644, 1700, 30, 46506, 1700, 16034, 3084, 62, 3672, 62, 3559, 33411, 2835, 796, 352, 5357, 2446, 796, 366, 7266, 3411, ...
How many points did Goole Town accumulate?
SELECT COUNT(points_2) FROM table_17358515_1 WHERE team = "Goole Town"
[ 2437, 867, 2173, 750, 1514, 2305, 8329, 29915, 30, 46506, 327, 28270, 7, 13033, 62, 17, 8, 16034, 3084, 62, 1558, 2327, 5332, 1314, 62, 16, 33411, 1074, 796, 366, 38, 2238, 293, 8329, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2173, 750, 1514, 2305, 8329, 29915, 30, 46506, 327, 28270, 7, 13033, 62, 17, 8, 16034, 3084, 62, 1558, 2327, 5332, 1314, 62, 16, 33411, 1074, 796, 366, 38, 2238, 293, 8329, 1 ]
On how many locations is there a church named Askrova Bedehuskapell, built in 1957?
SELECT COUNT("Location of the Church") FROM table_21950 WHERE "Year Built" = '1957' AND "Church Name" = 'Askrova bedehuskapell'
[ 2202, 703, 867, 7064, 318, 612, 257, 4928, 3706, 16981, 305, 6862, 15585, 68, 7537, 74, 1758, 297, 11, 3170, 287, 25177, 30, 46506, 327, 28270, 7203, 14749, 286, 262, 4564, 4943, 16034, 3084, 62, 28896, 1120, 33411, 366, 17688, 28477, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 703, 867, 7064, 318, 612, 257, 4928, 3706, 16981, 305, 6862, 15585, 68, 7537, 74, 1758, 297, 11, 3170, 287, 25177, 30, 46506, 327, 28270, 7203, 14749, 286, 262, 4564, 4943, 16034, 3084, 62, 28896, 1120, 33411, 366, 17688, 28477, ...
What is the tie no of the game where exeter city was the home team?
SELECT tie_no FROM table_name_36 WHERE home_team = "exeter city"
[ 2061, 318, 262, 9839, 645, 286, 262, 983, 810, 409, 2357, 1748, 373, 262, 1363, 1074, 30, 46506, 9839, 62, 3919, 16034, 3084, 62, 3672, 62, 2623, 33411, 1363, 62, 15097, 796, 366, 1069, 2357, 1748, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9839, 645, 286, 262, 983, 810, 409, 2357, 1748, 373, 262, 1363, 1074, 30, 46506, 9839, 62, 3919, 16034, 3084, 62, 3672, 62, 2623, 33411, 1363, 62, 15097, 796, 366, 1069, 2357, 1748, 1 ]
what is the date for when the georgian name is ?
SELECT date FROM table_22464685_1 WHERE georgian_name = "ცხოვრება და უწყება ბაგრატონიანთა"
[ 10919, 318, 262, 3128, 329, 618, 262, 4903, 2398, 666, 1438, 318, 5633, 46506, 3128, 16034, 3084, 62, 24137, 2414, 35978, 62, 16, 33411, 4903, 2398, 666, 62, 3672, 796, 366, 157, 225, 103, 157, 225, 106, 157, 225, 251, 157, 225, 243...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3128, 329, 618, 262, 4903, 2398, 666, 1438, 318, 5633, 46506, 3128, 16034, 3084, 62, 24137, 2414, 35978, 62, 16, 33411, 4903, 2398, 666, 62, 3672, 796, 366, 157, 225, 103, 157, 225, 106, 157, 225, 251, 157, 225, 243...
For those employees who do not work in departments with managers that have ids between 100 and 200, a bar chart shows the distribution of hire_date and the average of manager_id bin hire_date by time.
SELECT HIRE_DATE, AVG(MANAGER_ID) FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200)
[ 1890, 883, 4409, 508, 466, 407, 670, 287, 13346, 351, 11663, 326, 423, 220, 2340, 1022, 1802, 290, 939, 11, 257, 2318, 8262, 2523, 262, 6082, 286, 11078, 62, 4475, 290, 262, 2811, 286, 4706, 62, 312, 9874, 11078, 62, 4475, 416, 640,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 257, 2318, 8262, 2523, 262, 6082, 286, 11078, 62, 4475, 290, 262, 2811, 286, 4706, 62, 312, 9874, 11078, 62, 4475, 416, 640,...
Total score for questions in a given tag (including CW posts).
SELECT OwnerUserId AS "user_link", OwnerDisplayName, SUM(Score), COUNT(Score), AVG(Score) FROM Posts WHERE PostTypeId = 1 AND Tags LIKE '%<##tagName##>%' GROUP BY OwnerUserId, OwnerDisplayName ORDER BY SUM(Score) DESC LIMIT 100
[ 14957, 4776, 329, 2683, 287, 257, 1813, 7621, 357, 8201, 24006, 6851, 737, 46506, 23853, 12982, 7390, 7054, 366, 7220, 62, 8726, 1600, 23853, 23114, 5376, 11, 35683, 7, 26595, 828, 327, 28270, 7, 26595, 828, 35224, 7, 26595, 8, 16034, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 14957, 4776, 329, 2683, 287, 257, 1813, 7621, 357, 8201, 24006, 6851, 737, 46506, 23853, 12982, 7390, 7054, 366, 7220, 62, 8726, 1600, 23853, 23114, 5376, 11, 35683, 7, 26595, 828, 327, 28270, 7, 26595, 828, 35224, 7, 26595, 8, 16034, ...
How many Silver medals for the Nation of Turkey with a Total of less than 2?
SELECT SUM(silver) FROM table_name_9 WHERE nation = "turkey" AND total < 2
[ 2437, 867, 7698, 28057, 329, 262, 8741, 286, 7137, 351, 257, 7472, 286, 1342, 621, 362, 30, 46506, 35683, 7, 40503, 8, 16034, 3084, 62, 3672, 62, 24, 33411, 3277, 796, 366, 36590, 2539, 1, 5357, 2472, 1279, 362 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 7698, 28057, 329, 262, 8741, 286, 7137, 351, 257, 7472, 286, 1342, 621, 362, 30, 46506, 35683, 7, 40503, 8, 16034, 3084, 62, 3672, 62, 24, 33411, 3277, 796, 366, 36590, 2539, 1, 5357, 2472, 1279, 362 ]
What is Quantity Made, when Year Made is '4-4-0 oooo american'?
SELECT "Quantity made" FROM table_44050 WHERE "Year made" = '4-4-0 — oooo — american'
[ 2061, 318, 39789, 14446, 11, 618, 6280, 14446, 318, 705, 19, 12, 19, 12, 15, 267, 34160, 45630, 272, 30960, 46506, 366, 31208, 925, 1, 16034, 3084, 62, 25644, 1120, 33411, 366, 17688, 925, 1, 796, 705, 19, 12, 19, 12, 15, 851, 267...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 39789, 14446, 11, 618, 6280, 14446, 318, 705, 19, 12, 19, 12, 15, 267, 34160, 45630, 272, 30960, 46506, 366, 31208, 925, 1, 16034, 3084, 62, 25644, 1120, 33411, 366, 17688, 925, 1, 796, 705, 19, 12, 19, 12, 15, 851, 267...
Display a bar chart for what is the code of each location and the number of documents in that location?, sort in ascending by the x axis please.
SELECT Location_Code, COUNT(*) FROM Document_Locations GROUP BY Location_Code ORDER BY Location_Code
[ 23114, 257, 2318, 8262, 329, 644, 318, 262, 2438, 286, 1123, 4067, 290, 262, 1271, 286, 4963, 287, 326, 4067, 21747, 3297, 287, 41988, 416, 262, 2124, 16488, 3387, 13, 46506, 13397, 62, 10669, 11, 327, 28270, 7, 28104, 16034, 16854, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 23114, 257, 2318, 8262, 329, 644, 318, 262, 2438, 286, 1123, 4067, 290, 262, 1271, 286, 4963, 287, 326, 4067, 21747, 3297, 287, 41988, 416, 262, 2124, 16488, 3387, 13, 46506, 13397, 62, 10669, 11, 327, 28270, 7, 28104, 16034, 16854, 6...
List how many students in each last name who majored in 600 using a bar chart, and sort by the bars from low to high.
SELECT LName, COUNT(LName) FROM Student WHERE Major = 600 GROUP BY LName ORDER BY LName
[ 8053, 703, 867, 2444, 287, 1123, 938, 1438, 508, 16486, 1850, 287, 10053, 1262, 257, 2318, 8262, 11, 290, 3297, 416, 262, 9210, 422, 1877, 284, 1029, 13, 46506, 406, 5376, 11, 327, 28270, 7, 43, 5376, 8, 16034, 13613, 33411, 8386, 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 ]
[ 8053, 703, 867, 2444, 287, 1123, 938, 1438, 508, 16486, 1850, 287, 10053, 1262, 257, 2318, 8262, 11, 290, 3297, 416, 262, 9210, 422, 1877, 284, 1029, 13, 46506, 406, 5376, 11, 327, 28270, 7, 43, 5376, 8, 16034, 13613, 33411, 8386, 7...
an early flight on wednesday morning from BALTIMORE to NEWARK
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 ((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'NEWARK' AND date_day.day_number = 23 AND date_day.month_number = 4 AND d...
[ 272, 1903, 5474, 319, 29445, 3462, 3329, 422, 347, 31429, 3955, 6965, 284, 12682, 14175, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 272, 1903, 5474, 319, 29445, 3462, 3329, 422, 347, 31429, 3955, 6965, 284, 12682, 14175, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, ...
that was held in 1964?
SELECT "Event" FROM table_36953 WHERE "Year" = '1964'
[ 5562, 373, 2714, 287, 17575, 30, 46506, 366, 9237, 1, 16034, 3084, 62, 2623, 49649, 33411, 366, 17688, 1, 796, 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 ]
[ 5562, 373, 2714, 287, 17575, 30, 46506, 366, 9237, 1, 16034, 3084, 62, 2623, 49649, 33411, 366, 17688, 1, 796, 705, 46477, 6 ]
which patients have been diagnosed with other preterm infants, 2,000-2,499 grams?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE diagnoses.long_title = "Other preterm infants, 2,000-2,499 grams"
[ 4758, 3871, 423, 587, 14641, 351, 584, 662, 4354, 18775, 11, 362, 11, 830, 12, 17, 11, 28324, 16379, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 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...
[ 4758, 3871, 423, 587, 14641, 351, 584, 662, 4354, 18775, 11, 362, 11, 830, 12, 17, 11, 28324, 16379, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, ...
Draw a pie chart about the proportion of All_Road and All_Games_Percent.
SELECT All_Road, All_Games_Percent FROM basketball_match
[ 25302, 257, 2508, 8262, 546, 262, 9823, 286, 1439, 62, 29197, 290, 1439, 62, 24474, 62, 31905, 13, 46506, 1439, 62, 29197, 11, 1439, 62, 24474, 62, 31905, 16034, 9669, 62, 15699 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 2508, 8262, 546, 262, 9823, 286, 1439, 62, 29197, 290, 1439, 62, 24474, 62, 31905, 13, 46506, 1439, 62, 29197, 11, 1439, 62, 24474, 62, 31905, 16034, 9669, 62, 15699 ]
Who is the opponent in the fight of 1 round when the record is 18-7?
SELECT "Opponent" FROM table_9632 WHERE "Round" = '1' AND "Record" = '18-7'
[ 8241, 318, 262, 6125, 287, 262, 1907, 286, 352, 2835, 618, 262, 1700, 318, 1248, 12, 22, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 4846, 2624, 33411, 366, 22685, 1, 796, 705, 16, 6, 5357, 366, 23739, 1, 796, 705, 1507, 12, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 318, 262, 6125, 287, 262, 1907, 286, 352, 2835, 618, 262, 1700, 318, 1248, 12, 22, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 4846, 2624, 33411, 366, 22685, 1, 796, 705, 16, 6, 5357, 366, 23739, 1, 796, 705, 1507, 12, ...
What is the D48 when the D 50 O is d 31?
SELECT d_48_√ FROM table_name_67 WHERE d_50_o = "d 31"
[ 2061, 318, 262, 360, 2780, 618, 262, 360, 2026, 440, 318, 288, 3261, 30, 46506, 288, 62, 2780, 62, 24861, 248, 16034, 3084, 62, 3672, 62, 3134, 33411, 288, 62, 1120, 62, 78, 796, 366, 67, 3261, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 360, 2780, 618, 262, 360, 2026, 440, 318, 288, 3261, 30, 46506, 288, 62, 2780, 62, 24861, 248, 16034, 3084, 62, 3672, 62, 3134, 33411, 288, 62, 1120, 62, 78, 796, 366, 67, 3261, 1 ]
Look for the number of patients with the primary disease syncope telemetry who died in or before 2158.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "SYNCOPE;TELEMETRY" AND demographic.dod_year <= "2158.0"
[ 8567, 329, 262, 1271, 286, 3871, 351, 262, 4165, 4369, 17510, 3008, 5735, 41935, 508, 3724, 287, 393, 878, 362, 21273, 13, 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, 1, 1...
[ 8567, 329, 262, 1271, 286, 3871, 351, 262, 4165, 4369, 17510, 3008, 5735, 41935, 508, 3724, 287, 393, 878, 362, 21273, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 47356...
How many chassis used number 34?
SELECT COUNT(chassis) FROM table_15491596_1 WHERE no = 34
[ 2437, 867, 24587, 973, 1271, 4974, 30, 46506, 327, 28270, 7, 354, 20297, 8, 16034, 3084, 62, 1314, 2920, 1314, 4846, 62, 16, 33411, 645, 796, 4974 ]
[ 1, 1, 1, 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, 24587, 973, 1271, 4974, 30, 46506, 327, 28270, 7, 354, 20297, 8, 16034, 3084, 62, 1314, 2920, 1314, 4846, 62, 16, 33411, 645, 796, 4974 ]
What is the pick number for the team toronto fc and affiliation is ldu quito?
SELECT MAX(pick__number) FROM table_29626583_3 WHERE mls_team = "Toronto FC" AND affiliation = "LDU Quito"
[ 2061, 318, 262, 2298, 1271, 329, 262, 1074, 7332, 5957, 277, 66, 290, 26218, 318, 300, 646, 627, 10094, 30, 46506, 25882, 7, 27729, 834, 17618, 8, 16034, 3084, 62, 27137, 2075, 46239, 62, 18, 33411, 285, 7278, 62, 15097, 796, 366, 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 ]
[ 2061, 318, 262, 2298, 1271, 329, 262, 1074, 7332, 5957, 277, 66, 290, 26218, 318, 300, 646, 627, 10094, 30, 46506, 25882, 7, 27729, 834, 17618, 8, 16034, 3084, 62, 27137, 2075, 46239, 62, 18, 33411, 285, 7278, 62, 15097, 796, 366, 3...
let me know the number of patients on ih route of drug administration who have diagnoses icd9 code 81201.
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.icd9_code = "81201" AND prescriptions.route = "IH"
[ 1616, 502, 760, 262, 1271, 286, 3871, 319, 1312, 71, 6339, 286, 2563, 3662, 508, 423, 40567, 14158, 67, 24, 2438, 807, 1065, 486, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 2147...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1616, 502, 760, 262, 1271, 286, 3871, 319, 1312, 71, 6339, 286, 2563, 3662, 508, 423, 40567, 14158, 67, 24, 2438, 807, 1065, 486, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 2147...
What is the title rank of the actor who played the character of arthur hastings during series 1-8, 13?
SELECT title_rank FROM table_name_24 WHERE series = "1-8, 13" AND character = "arthur hastings"
[ 2061, 318, 262, 3670, 4279, 286, 262, 8674, 508, 2826, 262, 2095, 286, 610, 11098, 19338, 654, 1141, 2168, 352, 12, 23, 11, 1511, 30, 46506, 3670, 62, 43027, 16034, 3084, 62, 3672, 62, 1731, 33411, 2168, 796, 366, 16, 12, 23, 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 ]
[ 2061, 318, 262, 3670, 4279, 286, 262, 8674, 508, 2826, 262, 2095, 286, 610, 11098, 19338, 654, 1141, 2168, 352, 12, 23, 11, 1511, 30, 46506, 3670, 62, 43027, 16034, 3084, 62, 3672, 62, 1731, 33411, 2168, 796, 366, 16, 12, 23, 11, ...
For those records from the products and each product's manufacturer, draw a bar chart about the distribution of headquarter and the average of code , and group by attribute headquarter, display by the Y from low to high.
SELECT T2.Headquarter, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Headquarter ORDER BY T1.Code
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 3197, 257, 2318, 8262, 546, 262, 6082, 286, 1182, 24385, 290, 262, 2811, 286, 2438, 837, 290, 1448, 416, 11688, 1182, 24385, 11, 3359, 416, 262, 575, 422, 1877, 284, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3197, 257, 2318, 8262, 546, 262, 6082, 286, 1182, 24385, 290, 262, 2811, 286, 2438, 837, 290, 1448, 416, 11688, 1182, 24385, 11, 3359, 416, 262, 575, 422, 1877, 284, ...
Who scored 68-73-66=207 in South Africa?
SELECT "Place" FROM table_45582 WHERE "Country" = 'south africa' AND "Score" = '68-73-66=207'
[ 8241, 7781, 8257, 12, 4790, 12, 2791, 28, 22745, 287, 2520, 5478, 30, 46506, 366, 27271, 1, 16034, 3084, 62, 2231, 46044, 33411, 366, 33921, 1, 796, 705, 35782, 6580, 30997, 6, 5357, 366, 26595, 1, 796, 705, 3104, 12, 4790, 12, 2791...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7781, 8257, 12, 4790, 12, 2791, 28, 22745, 287, 2520, 5478, 30, 46506, 366, 27271, 1, 16034, 3084, 62, 2231, 46044, 33411, 366, 33921, 1, 796, 705, 35782, 6580, 30997, 6, 5357, 366, 26595, 1, 796, 705, 3104, 12, 4790, 12, 2791...
Which language do 1% of males speak?
SELECT "percentage (%)" FROM table_67370 WHERE "males" = '1'
[ 13828, 3303, 466, 352, 4, 286, 10835, 2740, 30, 46506, 366, 25067, 496, 11509, 1, 16034, 3084, 62, 3134, 20167, 33411, 366, 76, 2040, 1, 796, 705, 16, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 3303, 466, 352, 4, 286, 10835, 2740, 30, 46506, 366, 25067, 496, 11509, 1, 16034, 3084, 62, 3134, 20167, 33411, 366, 76, 2040, 1, 796, 705, 16, 6 ]
Total views by tag for 2016.
SELECT TagName AS tag_name, SUM(ViewCount) AS views FROM Tags, PostTags, Posts WHERE Tags.Id = PostTags.TagId AND Posts.Id = PostId AND Posts.CreationDate > '2016-01-01' AND Posts.CreationDate < '2017-01-01' AND Posts.PostTypeId = 1 GROUP BY TagName HAVING SUM(ViewCount) > 10000
[ 14957, 5009, 416, 7621, 329, 1584, 13, 46506, 17467, 5376, 7054, 7621, 62, 3672, 11, 35683, 7, 7680, 12332, 8, 7054, 5009, 16034, 44789, 11, 2947, 36142, 11, 12043, 33411, 44789, 13, 7390, 796, 2947, 36142, 13, 24835, 7390, 5357, 12043,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 14957, 5009, 416, 7621, 329, 1584, 13, 46506, 17467, 5376, 7054, 7621, 62, 3672, 11, 35683, 7, 7680, 12332, 8, 7054, 5009, 16034, 44789, 11, 2947, 36142, 11, 12043, 33411, 44789, 13, 7390, 796, 2947, 36142, 13, 24835, 7390, 5357, 12043,...
what was the name of the drug that was prescribed to patient 6940 in the same hospital encounter after they had been diagnosed with acute kidney failure nos in 11/last year?
SELECT t2.drug FROM (SELECT admissions.subject_id, diagnoses_icd.charttime, admissions.hadm_id FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE admissions.subject_id = 6940 AND diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.sh...
[ 10919, 373, 262, 1438, 286, 262, 2563, 326, 373, 14798, 284, 5827, 8644, 1821, 287, 262, 976, 4436, 8791, 706, 484, 550, 587, 14641, 351, 14352, 21919, 5287, 43630, 287, 1367, 14, 12957, 614, 30, 46506, 256, 17, 13, 30349, 16034, 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, 262, 1438, 286, 262, 2563, 326, 373, 14798, 284, 5827, 8644, 1821, 287, 262, 976, 4436, 8791, 706, 484, 550, 587, 14641, 351, 14352, 21919, 5287, 43630, 287, 1367, 14, 12957, 614, 30, 46506, 256, 17, 13, 30349, 16034, 357,...
Plot meter_100 by grouped by meter 300 as a bar graph, I want to show Y from low to high order.
SELECT meter_300, meter_100 FROM swimmer ORDER BY meter_100
[ 43328, 16430, 62, 3064, 416, 32824, 416, 16430, 5867, 355, 257, 2318, 4823, 11, 314, 765, 284, 905, 575, 422, 1877, 284, 1029, 1502, 13, 46506, 16430, 62, 6200, 11, 16430, 62, 3064, 16034, 9422, 647, 38678, 11050, 16430, 62, 3064 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 43328, 16430, 62, 3064, 416, 32824, 416, 16430, 5867, 355, 257, 2318, 4823, 11, 314, 765, 284, 905, 575, 422, 1877, 284, 1029, 1502, 13, 46506, 16430, 62, 6200, 11, 16430, 62, 3064, 16034, 9422, 647, 38678, 11050, 16430, 62, 3064 ]
Which is team 2 when team 1 is ECAC Chaumont (d2)?
SELECT "Team 2" FROM table_13036 WHERE "Team 1" = 'ecac chaumont (d2)'
[ 13828, 318, 1074, 362, 618, 1074, 352, 318, 13182, 2246, 20703, 388, 756, 357, 67, 17, 19427, 46506, 366, 15592, 362, 1, 16034, 3084, 62, 12952, 2623, 33411, 366, 15592, 352, 1, 796, 705, 721, 330, 17792, 388, 756, 357, 67, 17, 3304...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 318, 1074, 362, 618, 1074, 352, 318, 13182, 2246, 20703, 388, 756, 357, 67, 17, 19427, 46506, 366, 15592, 362, 1, 16034, 3084, 62, 12952, 2623, 33411, 366, 15592, 352, 1, 796, 705, 721, 330, 17792, 388, 756, 357, 67, 17, 3304...
Give me the comparison about ACC_Percent over the All_Neutral .
SELECT All_Neutral, ACC_Percent FROM basketball_match
[ 23318, 502, 262, 7208, 546, 15859, 62, 31905, 625, 262, 1439, 62, 8199, 6815, 764, 46506, 1439, 62, 8199, 6815, 11, 15859, 62, 31905, 16034, 9669, 62, 15699 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 23318, 502, 262, 7208, 546, 15859, 62, 31905, 625, 262, 1439, 62, 8199, 6815, 764, 46506, 1439, 62, 8199, 6815, 11, 15859, 62, 31905, 16034, 9669, 62, 15699 ]
What is the title of MATH 216 ?
SELECT DISTINCT name FROM course WHERE department = 'MATH' AND number = 216
[ 2061, 318, 262, 3670, 286, 337, 12599, 26881, 5633, 46506, 360, 8808, 1268, 4177, 1438, 16034, 1781, 33411, 5011, 796, 705, 44, 12599, 6, 5357, 1271, 796, 26881 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 3670, 286, 337, 12599, 26881, 5633, 46506, 360, 8808, 1268, 4177, 1438, 16034, 1781, 33411, 5011, 796, 705, 44, 12599, 6, 5357, 1271, 796, 26881 ]
When the population is greater than 146,445 in the county of Carroll, what is the number of households?
SELECT SUM("Number of households") FROM table_5678 WHERE "Population" > '146,445' AND "County" = 'carroll'
[ 2215, 262, 3265, 318, 3744, 621, 22986, 11, 43489, 287, 262, 7968, 286, 21298, 11, 644, 318, 262, 1271, 286, 12503, 30, 46506, 35683, 7203, 15057, 286, 12503, 4943, 16034, 3084, 62, 20, 30924, 33411, 366, 45251, 1, 1875, 705, 20964, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 262, 3265, 318, 3744, 621, 22986, 11, 43489, 287, 262, 7968, 286, 21298, 11, 644, 318, 262, 1271, 286, 12503, 30, 46506, 35683, 7203, 15057, 286, 12503, 4943, 16034, 3084, 62, 20, 30924, 33411, 366, 45251, 1, 1875, 705, 20964, 1...
give me the number of patients whose religion is catholic and diagnoses long title is rheumatoid arthritis?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.religion = "CATHOLIC" AND diagnoses.long_title = "Rheumatoid arthritis"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 5737, 318, 32171, 4160, 290, 40567, 890, 3670, 318, 374, 258, 27798, 1868, 37954, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 26535, 502, 262, 1271, 286, 3871, 3025, 5737, 318, 32171, 4160, 290, 40567, 890, 3670, 318, 374, 258, 27798, 1868, 37954, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, ...
Which average purse was earned by Erika Wicoff and has a winner's share greater than $9,750?
SELECT AVG("Purse ($)") FROM table_67673 WHERE "Champion" = 'erika wicoff' AND "Winner's share ($)" > '9,750'
[ 13828, 2811, 27517, 373, 7366, 416, 412, 28716, 370, 291, 2364, 290, 468, 257, 8464, 338, 2648, 3744, 621, 720, 24, 11, 15426, 30, 46506, 35224, 7203, 47, 12321, 45491, 4943, 16034, 3084, 62, 3134, 45758, 33411, 366, 1925, 6734, 1, 79...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 2811, 27517, 373, 7366, 416, 412, 28716, 370, 291, 2364, 290, 468, 257, 8464, 338, 2648, 3744, 621, 720, 24, 11, 15426, 30, 46506, 35224, 7203, 47, 12321, 45491, 4943, 16034, 3084, 62, 3134, 45758, 33411, 366, 1925, 6734, 1, 79...
Questions sorted by view count.
SELECT ViewCount, Score, Id AS "post_link" FROM Posts WHERE PostTypeId = 1 ORDER BY ViewCount DESC
[ 35741, 23243, 416, 1570, 954, 13, 46506, 3582, 12332, 11, 15178, 11, 5121, 7054, 366, 7353, 62, 8726, 1, 16034, 12043, 33411, 2947, 6030, 7390, 796, 352, 38678, 11050, 3582, 12332, 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 ]
[ 35741, 23243, 416, 1570, 954, 13, 46506, 3582, 12332, 11, 15178, 11, 5121, 7054, 366, 7353, 62, 8726, 1, 16034, 12043, 33411, 2947, 6030, 7390, 796, 352, 38678, 11050, 3582, 12332, 22196, 34 ]
Which Score has a Date of june 22?
SELECT "Score" FROM table_36505 WHERE "Date" = 'june 22'
[ 13828, 15178, 468, 257, 7536, 286, 474, 1726, 2534, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 2623, 31654, 33411, 366, 10430, 1, 796, 705, 73, 1726, 2534, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 15178, 468, 257, 7536, 286, 474, 1726, 2534, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 2623, 31654, 33411, 366, 10430, 1, 796, 705, 73, 1726, 2534, 6 ]
What is the 3-person dive that has none as the 2-person dive?
SELECT "3-person dive" FROM table_70259 WHERE "2-person dive" = 'none'
[ 2061, 318, 262, 513, 12, 6259, 15647, 326, 468, 4844, 355, 262, 362, 12, 6259, 15647, 30, 46506, 366, 18, 12, 6259, 15647, 1, 16034, 3084, 62, 2154, 25191, 33411, 366, 17, 12, 6259, 15647, 1, 796, 705, 23108, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 513, 12, 6259, 15647, 326, 468, 4844, 355, 262, 362, 12, 6259, 15647, 30, 46506, 366, 18, 12, 6259, 15647, 1, 16034, 3084, 62, 2154, 25191, 33411, 366, 17, 12, 6259, 15647, 1, 796, 705, 23108, 6 ]
Most popular data analysis languages by month and year.
SELECT YEAR(Posts.CreationDate) AS year, MONTH(Posts.CreationDate) AS month, Tags.TagName AS language, COUNT(Tags.TagName) AS posts FROM Posts, Tags WHERE Tags.TagName IN ('r', 'python', 'java', 'stata', 'matlab', 'sas', 'tableau') AND Posts.Tags LIKE ('%<' + Tags.TagName + '>%') GROUP BY Tags.TagName, YEAR(Posts.Creat...
[ 6943, 2968, 1366, 3781, 8950, 416, 1227, 290, 614, 13, 46506, 32914, 7, 21496, 13, 12443, 341, 10430, 8, 7054, 614, 11, 25000, 4221, 7, 21496, 13, 12443, 341, 10430, 8, 7054, 1227, 11, 44789, 13, 24835, 5376, 7054, 3303, 11, 327, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 6943, 2968, 1366, 3781, 8950, 416, 1227, 290, 614, 13, 46506, 32914, 7, 21496, 13, 12443, 341, 10430, 8, 7054, 614, 11, 25000, 4221, 7, 21496, 13, 12443, 341, 10430, 8, 7054, 1227, 11, 44789, 13, 24835, 5376, 7054, 3303, 11, 327, 28...
What is the three-mora word with a low tone accented mora and a one mora of 2?
SELECT "three-mora word" FROM table_66920 WHERE "!accented mora" = 'low tone' AND "one mora" = '2'
[ 2061, 318, 262, 1115, 12, 4491, 64, 1573, 351, 257, 1877, 8216, 697, 4714, 2146, 64, 290, 257, 530, 2146, 64, 286, 362, 30, 46506, 366, 15542, 12, 4491, 64, 1573, 1, 16034, 3084, 62, 36657, 1238, 33411, 366, 0, 330, 1087, 276, 214...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1115, 12, 4491, 64, 1573, 351, 257, 1877, 8216, 697, 4714, 2146, 64, 290, 257, 530, 2146, 64, 286, 362, 30, 46506, 366, 15542, 12, 4491, 64, 1573, 1, 16034, 3084, 62, 36657, 1238, 33411, 366, 0, 330, 1087, 276, 214...
Who directed the epsiode with production number 109?
SELECT "Directed by" FROM table_26480 WHERE "Prod #" = '109'
[ 8241, 7924, 262, 304, 862, 72, 1098, 351, 3227, 1271, 16003, 30, 46506, 366, 13470, 276, 416, 1, 16034, 3084, 62, 18897, 1795, 33411, 366, 2964, 67, 1303, 1, 796, 705, 14454, 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 ]
[ 8241, 7924, 262, 304, 862, 72, 1098, 351, 3227, 1271, 16003, 30, 46506, 366, 13470, 276, 416, 1, 16034, 3084, 62, 18897, 1795, 33411, 366, 2964, 67, 1303, 1, 796, 705, 14454, 6 ]
Which state has the highest average score in math exam?
SELECT state FROM ndecoreexcel_math_grade8 ORDER BY average_scale_score DESC LIMIT 1
[ 13828, 1181, 468, 262, 4511, 2811, 4776, 287, 10688, 2814, 30, 46506, 1181, 16034, 299, 12501, 382, 1069, 5276, 62, 11018, 62, 9526, 23, 38678, 11050, 2811, 62, 9888, 62, 26675, 22196, 34, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 1181, 468, 262, 4511, 2811, 4776, 287, 10688, 2814, 30, 46506, 1181, 16034, 299, 12501, 382, 1069, 5276, 62, 11018, 62, 9526, 23, 38678, 11050, 2811, 62, 9888, 62, 26675, 22196, 34, 27564, 2043, 352 ]
What is the result against Errol Zimmerman on 2007-04-07?
SELECT result FROM table_name_81 WHERE opponent = "errol zimmerman" AND date = "2007-04-07"
[ 2061, 318, 262, 1255, 1028, 5256, 3225, 24332, 319, 4343, 12, 3023, 12, 2998, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 6659, 33411, 6125, 796, 366, 263, 3225, 1976, 10957, 805, 1, 5357, 3128, 796, 366, 12726, 12, 3023, 12, 2998, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1028, 5256, 3225, 24332, 319, 4343, 12, 3023, 12, 2998, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 6659, 33411, 6125, 796, 366, 263, 3225, 1976, 10957, 805, 1, 5357, 3128, 796, 366, 12726, 12, 3023, 12, 2998, ...
What are the ids and locations of all circuits in France or Belgium Show bar chart, sort by the total number in desc.
SELECT location, circuitId FROM circuits WHERE country = "France" OR country = "Belgium" ORDER BY circuitId DESC
[ 2061, 389, 262, 220, 2340, 290, 7064, 286, 477, 24907, 287, 4881, 393, 15664, 5438, 2318, 8262, 11, 3297, 416, 262, 2472, 1271, 287, 1715, 13, 46506, 4067, 11, 10349, 7390, 16034, 24907, 33411, 1499, 796, 366, 28572, 1, 6375, 1499, 79...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 262, 220, 2340, 290, 7064, 286, 477, 24907, 287, 4881, 393, 15664, 5438, 2318, 8262, 11, 3297, 416, 262, 2472, 1271, 287, 1715, 13, 46506, 4067, 11, 10349, 7390, 16034, 24907, 33411, 1499, 796, 366, 28572, 1, 6375, 1499, 79...
What is the Name when the runner-up was Sania Mirza Elena Vesnina?
SELECT name FROM table_name_77 WHERE runner_up = "sania mirza elena vesnina"
[ 2061, 318, 262, 6530, 618, 262, 17490, 12, 929, 373, 2986, 544, 7381, 4496, 37254, 36448, 77, 1437, 30, 46506, 1438, 16034, 3084, 62, 3672, 62, 3324, 33411, 17490, 62, 929, 796, 366, 82, 5411, 5720, 4496, 1288, 8107, 410, 274, 77, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6530, 618, 262, 17490, 12, 929, 373, 2986, 544, 7381, 4496, 37254, 36448, 77, 1437, 30, 46506, 1438, 16034, 3084, 62, 3672, 62, 3324, 33411, 17490, 62, 929, 796, 366, 82, 5411, 5720, 4496, 1288, 8107, 410, 274, 77, 1...
what year was itoh 's only victory at the 10,000 m distance .
SELECT "year" FROM table_203_215 WHERE "position" = 1 AND "event" = '10,000m'
[ 10919, 614, 373, 340, 1219, 705, 82, 691, 5373, 379, 262, 838, 11, 830, 285, 5253, 764, 46506, 366, 1941, 1, 16034, 3084, 62, 22416, 62, 23349, 33411, 366, 9150, 1, 796, 352, 5357, 366, 15596, 1, 796, 705, 940, 11, 830, 76, 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 ]
[ 10919, 614, 373, 340, 1219, 705, 82, 691, 5373, 379, 262, 838, 11, 830, 285, 5253, 764, 46506, 366, 1941, 1, 16034, 3084, 62, 22416, 62, 23349, 33411, 366, 9150, 1, 796, 352, 5357, 366, 15596, 1, 796, 705, 940, 11, 830, 76, 6 ]
When were there less than 1 point with a cosworth v8 engine in jolly club switzerland?
SELECT "Year" FROM table_14553 WHERE "Points" < '1' AND "Engine" = 'cosworth v8' AND "Entrant" = 'jolly club switzerland'
[ 2215, 547, 612, 1342, 621, 352, 966, 351, 257, 8615, 9268, 410, 23, 3113, 287, 474, 5098, 3430, 1509, 13947, 30, 46506, 366, 17688, 1, 16034, 3084, 62, 1415, 48096, 33411, 366, 40710, 1, 1279, 705, 16, 6, 5357, 366, 13798, 1, 796, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 547, 612, 1342, 621, 352, 966, 351, 257, 8615, 9268, 410, 23, 3113, 287, 474, 5098, 3430, 1509, 13947, 30, 46506, 366, 17688, 1, 16034, 3084, 62, 1415, 48096, 33411, 366, 40710, 1, 1279, 705, 16, 6, 5357, 366, 13798, 1, 796, ...
Are Prof. Benjamin Kuipers and Prof. Alexa Forrester the only people that teach ELI 510 ?
SELECT COUNT(*) = 0 FROM course, course_offering, instructor, offering_instructor WHERE (NOT instructor.name LIKE '%Benjamin Kuipers%' AND NOT instructor.name LIKE '%Alexa Forrester%') AND course.course_id = course_offering.course_id AND course.department = 'ELI' AND course.number = 510 AND offering_instructor.instruct...
[ 8491, 4415, 13, 14533, 12554, 29288, 290, 4415, 13, 34630, 1114, 260, 1706, 262, 691, 661, 326, 4545, 17852, 40, 35148, 5633, 46506, 327, 28270, 7, 28104, 796, 657, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 21187, 11, 6011, 62, 259, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 8491, 4415, 13, 14533, 12554, 29288, 290, 4415, 13, 34630, 1114, 260, 1706, 262, 691, 661, 326, 4545, 17852, 40, 35148, 5633, 46506, 327, 28270, 7, 28104, 796, 657, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 21187, 11, 6011, 62, 259, ...
has patient 013-38992 received an order of 100 ml bag : sodium chloride 0.9 % 0.9 % iv solp, ondansetron 2 mg/1 ml 2ml sdv inj, or enoxaparin?
SELECT COUNT(*) > 0 FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '013-38992')) AND medication.drugname IN ('100 ml bag : sodium chloride 0.9...
[ 10134, 5827, 5534, 18, 12, 2548, 41561, 2722, 281, 1502, 286, 1802, 25962, 6131, 1058, 21072, 44921, 657, 13, 24, 4064, 657, 13, 24, 4064, 21628, 1540, 79, 11, 319, 67, 504, 316, 1313, 362, 10527, 14, 16, 25962, 362, 4029, 45647, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10134, 5827, 5534, 18, 12, 2548, 41561, 2722, 281, 1502, 286, 1802, 25962, 6131, 1058, 21072, 44921, 657, 13, 24, 4064, 657, 13, 24, 4064, 21628, 1540, 79, 11, 319, 67, 504, 316, 1313, 362, 10527, 14, 16, 25962, 362, 4029, 45647, 85...
Name the year for clay for boston and guillermo vilas
SELECT year FROM table_23235767_4 WHERE surface = "Clay" AND championship = "Boston" AND opponent_in_the_final = "Guillermo Vilas"
[ 5376, 262, 614, 329, 21558, 329, 275, 5744, 290, 915, 4665, 5908, 39796, 292, 46506, 614, 16034, 3084, 62, 1954, 1954, 3553, 3134, 62, 19, 33411, 4417, 796, 366, 2601, 323, 1, 5357, 12184, 796, 366, 31710, 1, 5357, 6125, 62, 259, 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 ]
[ 5376, 262, 614, 329, 21558, 329, 275, 5744, 290, 915, 4665, 5908, 39796, 292, 46506, 614, 16034, 3084, 62, 1954, 1954, 3553, 3134, 62, 19, 33411, 4417, 796, 366, 2601, 323, 1, 5357, 12184, 796, 366, 31710, 1, 5357, 6125, 62, 259, 62...
What is the name of the yacht where 12 is the overall place?
SELECT "Yacht name" FROM table_70306 WHERE "Overall place" = '12'
[ 2061, 318, 262, 1438, 286, 262, 43207, 810, 1105, 318, 262, 4045, 1295, 30, 46506, 366, 56, 19725, 1438, 1, 16034, 3084, 62, 2154, 20548, 33411, 366, 16350, 1295, 1, 796, 705, 1065, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1438, 286, 262, 43207, 810, 1105, 318, 262, 4045, 1295, 30, 46506, 366, 56, 19725, 1438, 1, 16034, 3084, 62, 2154, 20548, 33411, 366, 16350, 1295, 1, 796, 705, 1065, 6 ]
How many votes did Northern Ireland cast if the total was 35?
SELECT "Northern Ireland" FROM table_15961 WHERE "Total" = '35'
[ 2437, 867, 5690, 750, 8342, 7517, 3350, 611, 262, 2472, 373, 3439, 30, 46506, 366, 40495, 7517, 1, 16034, 3084, 62, 1314, 4846, 16, 33411, 366, 14957, 1, 796, 705, 2327, 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 ]
[ 2437, 867, 5690, 750, 8342, 7517, 3350, 611, 262, 2472, 373, 3439, 30, 46506, 366, 40495, 7517, 1, 16034, 3084, 62, 1314, 4846, 16, 33411, 366, 14957, 1, 796, 705, 2327, 6 ]
Questions having a deleted accepted answer.
SELECT DISTINCT Id FROM Posts WHERE AcceptedAnswerId > 0 AND Id NOT IN (SELECT DISTINCT p1.Id FROM Posts AS p1 INNER JOIN Posts AS p2 ON p2.Id = p1.AcceptedAnswerId)
[ 35741, 1719, 257, 13140, 6292, 3280, 13, 46506, 360, 8808, 1268, 4177, 5121, 16034, 12043, 33411, 21699, 276, 33706, 7390, 1875, 657, 5357, 5121, 5626, 3268, 357, 46506, 360, 8808, 1268, 4177, 279, 16, 13, 7390, 16034, 12043, 7054, 279, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 35741, 1719, 257, 13140, 6292, 3280, 13, 46506, 360, 8808, 1268, 4177, 5121, 16034, 12043, 33411, 21699, 276, 33706, 7390, 1875, 657, 5357, 5121, 5626, 3268, 357, 46506, 360, 8808, 1268, 4177, 279, 16, 13, 7390, 16034, 12043, 7054, 279, ...
What was the theme when the original artist was The Beatles?
SELECT "Theme" FROM table_20309 WHERE "Original artist" = 'The Beatles'
[ 2061, 373, 262, 7505, 618, 262, 2656, 6802, 373, 383, 27330, 30, 46506, 366, 47863, 1, 16034, 3084, 62, 1238, 26895, 33411, 366, 20556, 6802, 1, 796, 705, 464, 27330, 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, 373, 262, 7505, 618, 262, 2656, 6802, 373, 383, 27330, 30, 46506, 366, 47863, 1, 16034, 3084, 62, 1238, 26895, 33411, 366, 20556, 6802, 1, 796, 705, 464, 27330, 6 ]
Show the different countries and the number of members from each with a bar chart, list Y in desc order.
SELECT Country, COUNT(*) FROM member GROUP BY Country ORDER BY COUNT(*) DESC
[ 15307, 262, 1180, 2678, 290, 262, 1271, 286, 1866, 422, 1123, 351, 257, 2318, 8262, 11, 1351, 575, 287, 1715, 1502, 13, 46506, 12946, 11, 327, 28270, 7, 28104, 16034, 2888, 44441, 11050, 12946, 38678, 11050, 327, 28270, 7, 28104, 22196,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1180, 2678, 290, 262, 1271, 286, 1866, 422, 1123, 351, 257, 2318, 8262, 11, 1351, 575, 287, 1715, 1502, 13, 46506, 12946, 11, 327, 28270, 7, 28104, 16034, 2888, 44441, 11050, 12946, 38678, 11050, 327, 28270, 7, 28104, 22196,...
until 2102, how many patients received foley catheter in the same hospital encounter after the thoracentesis?
SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, treatment.treatmenttime, patient.patienthealthsystemstayid FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'thoracentesis' AND STRFTIME('%y', treatment.treatmenttime) <= '2102') AS ...
[ 28446, 362, 15377, 11, 703, 867, 3871, 2722, 11511, 1636, 3797, 43332, 287, 262, 976, 4436, 8791, 706, 262, 41899, 12643, 9339, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 403, 1557, 538, 312, 8, 16034, 357, 46506, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 362, 15377, 11, 703, 867, 3871, 2722, 11511, 1636, 3797, 43332, 287, 262, 976, 4436, 8791, 706, 262, 41899, 12643, 9339, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 403, 1557, 538, 312, 8, 16034, 357, 46506, ...
What is Tries Against, when Tries For is 20?
SELECT tries_against FROM table_name_22 WHERE tries_for = "20"
[ 2061, 318, 309, 1678, 12914, 11, 618, 309, 1678, 1114, 318, 1160, 30, 46506, 8404, 62, 32826, 16034, 3084, 62, 3672, 62, 1828, 33411, 8404, 62, 1640, 796, 366, 1238, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 309, 1678, 12914, 11, 618, 309, 1678, 1114, 318, 1160, 30, 46506, 8404, 62, 32826, 16034, 3084, 62, 3672, 62, 1828, 33411, 8404, 62, 1640, 796, 366, 1238, 1 ]
age >= 18 years
SELECT * FROM table_train_28 WHERE age >= 18
[ 496, 18189, 1248, 812, 46506, 1635, 16034, 3084, 62, 27432, 62, 2078, 33411, 2479, 18189, 1248 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 496, 18189, 1248, 812, 46506, 1635, 16034, 3084, 62, 27432, 62, 2078, 33411, 2479, 18189, 1248 ]