instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
What is the census ranking for the parish with an area larger than 243.31 square km?
SELECT "Census Ranking" FROM table_44582 WHERE "Area km 2" > '243.31'
[ 2061, 318, 262, 21649, 12759, 329, 262, 28830, 351, 281, 1989, 4025, 621, 35989, 13, 3132, 6616, 10571, 30, 46506, 366, 34, 7314, 45407, 1, 16034, 3084, 62, 43489, 6469, 33411, 366, 30547, 10571, 362, 1, 1875, 705, 26660, 13, 3132, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 21649, 12759, 329, 262, 28830, 351, 281, 1989, 4025, 621, 35989, 13, 3132, 6616, 10571, 30, 46506, 366, 34, 7314, 45407, 1, 16034, 3084, 62, 43489, 6469, 33411, 366, 30547, 10571, 362, 1, 1875, 705, 26660, 13, 3132, 6 ]
Who wrote the episode titled 'The Feet on the Beach'?
SELECT "Written by" FROM table_30226 WHERE "Title" = 'The Feet on the Beach'
[ 8241, 2630, 262, 4471, 11946, 705, 464, 43391, 319, 262, 8511, 30960, 46506, 366, 25354, 416, 1, 16034, 3084, 62, 1270, 24909, 33411, 366, 19160, 1, 796, 705, 464, 43391, 319, 262, 8511, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 2630, 262, 4471, 11946, 705, 464, 43391, 319, 262, 8511, 30960, 46506, 366, 25354, 416, 1, 16034, 3084, 62, 1270, 24909, 33411, 366, 19160, 1, 796, 705, 464, 43391, 319, 262, 8511, 6 ]
who is the winner when the score is 71-62?
SELECT winner FROM table_name_64 WHERE score = "71-62"
[ 8727, 318, 262, 8464, 618, 262, 4776, 318, 9166, 12, 5237, 30, 46506, 8464, 16034, 3084, 62, 3672, 62, 2414, 33411, 4776, 796, 366, 4869, 12, 5237, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8727, 318, 262, 8464, 618, 262, 4776, 318, 9166, 12, 5237, 30, 46506, 8464, 16034, 3084, 62, 3672, 62, 2414, 33411, 4776, 796, 366, 4869, 12, 5237, 1 ]
What is the Away team score when they played Geelong as the Home team?
SELECT "Away team score" FROM table_54924 WHERE "Home team" = 'geelong'
[ 2061, 318, 262, 21986, 1074, 4776, 618, 484, 2826, 2269, 21537, 355, 262, 5995, 1074, 30, 46506, 366, 32, 1014, 1074, 4776, 1, 16034, 3084, 62, 44966, 1731, 33411, 366, 16060, 1074, 1, 796, 705, 469, 21537, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 21986, 1074, 4776, 618, 484, 2826, 2269, 21537, 355, 262, 5995, 1074, 30, 46506, 366, 32, 1014, 1074, 4776, 1, 16034, 3084, 62, 44966, 1731, 33411, 366, 16060, 1074, 1, 796, 705, 469, 21537, 6 ]
How many wins did Ayr United have?
SELECT wins FROM table_name_79 WHERE club = "ayr united"
[ 2437, 867, 7864, 750, 317, 2417, 1578, 423, 30, 46506, 7864, 16034, 3084, 62, 3672, 62, 3720, 33411, 3430, 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 ]
[ 2437, 867, 7864, 750, 317, 2417, 1578, 423, 30, 46506, 7864, 16034, 3084, 62, 3672, 62, 3720, 33411, 3430, 796, 366, 323, 81, 16503, 1 ]
For those records from the products and each product's manufacturer, show me about the distribution of name and the sum of code , and group by attribute name in a bar chart.
SELECT T2.Name, T1.Code 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, 905, 502, 546, 262, 6082, 286, 1438, 290, 262, 2160, 286, 2438, 837, 290, 1448, 416, 11688, 1438, 287, 257, 2318, 8262, 13, 46506, 309, 17, 13, 5376, 11, 309, 16, 13, 10669, 16034, 18675, 7054, 309, 16, 32357, 1268, 17858, 17496, 7054, 309, 17, 6177, 309, 16, 13, 44445, 15051, 796, 309, 17, 13, 10669, 44441, 11050, 309, 17, 13, 5376 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 905, 502, 546, 262, 6082, 286, 1438, 290, 262, 2160, 286, 2438, 837, 290, 1448, 416, 11688, 1438, 287, 257, 2318, 8262, 13, 46506, 309, 17, 13, 5376, 11, 309, 16, 13, 10669, 16034, 18675, 7054, 309, 16, 32357, 1268, 17858, 17496, 7054, 309, 17, 6177, 309, 16, 13, 44445, 15051, 796, 309, 17, 13, 10669, 44441, 11050, 309, 17, 13, 5376 ]
What is Points Against, when Drawn is '2', and when Points Of is '32'?
SELECT "Points against" FROM table_76871 WHERE "Drawn" = '2' AND "Points" = '32'
[ 2061, 318, 11045, 12914, 11, 618, 50061, 318, 705, 17, 3256, 290, 618, 11045, 3226, 318, 705, 2624, 30960, 46506, 366, 40710, 1028, 1, 16034, 3084, 62, 30610, 4869, 33411, 366, 35, 5791, 1, 796, 705, 17, 6, 5357, 366, 40710, 1, 796, 705, 2624, 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 ]
[ 2061, 318, 11045, 12914, 11, 618, 50061, 318, 705, 17, 3256, 290, 618, 11045, 3226, 318, 705, 2624, 30960, 46506, 366, 40710, 1028, 1, 16034, 3084, 62, 30610, 4869, 33411, 366, 35, 5791, 1, 796, 705, 17, 6, 5357, 366, 40710, 1, 796, 705, 2624, 6 ]
List the number of companies for each building in a bar chart, display name from high to low order.
SELECT T2.name, COUNT(T2.name) FROM Office_locations AS T1 JOIN buildings AS T2 ON T1.building_id = T2.id JOIN Companies AS T3 ON T1.company_id = T3.id GROUP BY T2.name ORDER BY T2.name DESC
[ 8053, 262, 1271, 286, 2706, 329, 1123, 2615, 287, 257, 2318, 8262, 11, 3359, 1438, 422, 1029, 284, 1877, 1502, 13, 46506, 309, 17, 13, 3672, 11, 327, 28270, 7, 51, 17, 13, 3672, 8, 16034, 4452, 62, 17946, 602, 7054, 309, 16, 32357, 1268, 6832, 7054, 309, 17, 6177, 309, 16, 13, 16894, 62, 312, 796, 309, 17, 13, 312, 32357, 1268, 24382, 7054, 309, 18, 6177, 309, 16, 13, 39722, 62, 312, 796, 309, 18, 13, 312, 44441, 11050, 309, 17, 13, 3672, 38678, 11050, 309, 17, 13, 3672, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8053, 262, 1271, 286, 2706, 329, 1123, 2615, 287, 257, 2318, 8262, 11, 3359, 1438, 422, 1029, 284, 1877, 1502, 13, 46506, 309, 17, 13, 3672, 11, 327, 28270, 7, 51, 17, 13, 3672, 8, 16034, 4452, 62, 17946, 602, 7054, 309, 16, 32357, 1268, 6832, 7054, 309, 17, 6177, 309, 16, 13, 16894, 62, 312, 796, 309, 17, 13, 312, 32357, 1268, 24382, 7054, 309, 18, 6177, 309, 16, 13, 39722, 62, 312, 796, 309, 18, 13, 312, 44441, 11050, 309, 17, 13, 3672, 38678, 11050, 309, 17, 13, 3672, 22196, 34 ]
What is the career with the franchise of the f/c player with fewer than 9 years of NBA experience who previously played for the Phoenix Suns?
SELECT "Career with the franchise" FROM table_60836 WHERE "Years of NBA experience [a ]" < '9' AND "Pos." = 'f/c' AND "Previous team" = 'phoenix suns'
[ 2061, 318, 262, 3451, 351, 262, 8663, 286, 262, 277, 14, 66, 2137, 351, 7380, 621, 860, 812, 286, 7403, 1998, 508, 4271, 2826, 329, 262, 9643, 29139, 30, 46506, 366, 17784, 263, 351, 262, 8663, 1, 16034, 3084, 62, 28688, 2623, 33411, 366, 40630, 286, 7403, 1998, 685, 64, 2361, 1, 1279, 705, 24, 6, 5357, 366, 21604, 526, 796, 705, 69, 14, 66, 6, 5357, 366, 21448, 1074, 1, 796, 705, 746, 8538, 4252, 82, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3451, 351, 262, 8663, 286, 262, 277, 14, 66, 2137, 351, 7380, 621, 860, 812, 286, 7403, 1998, 508, 4271, 2826, 329, 262, 9643, 29139, 30, 46506, 366, 17784, 263, 351, 262, 8663, 1, 16034, 3084, 62, 28688, 2623, 33411, 366, 40630, 286, 7403, 1998, 685, 64, 2361, 1, 1279, 705, 24, 6, 5357, 366, 21604, 526, 796, 705, 69, 14, 66, 6, 5357, 366, 21448, 1074, 1, 796, 705, 746, 8538, 4252, 82, 6 ]
What is the largest number in attendance when the record is 1-1-0?
SELECT MAX("Attendance") FROM table_71502 WHERE "Record" = '1-1-0'
[ 2061, 318, 262, 4387, 1271, 287, 14858, 618, 262, 1700, 318, 352, 12, 16, 12, 15, 30, 46506, 25882, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 4869, 35126, 33411, 366, 23739, 1, 796, 705, 16, 12, 16, 12, 15, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4387, 1271, 287, 14858, 618, 262, 1700, 318, 352, 12, 16, 12, 15, 30, 46506, 25882, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 4869, 35126, 33411, 366, 23739, 1, 796, 705, 16, 12, 16, 12, 15, 6 ]
What was United States place when the player was Fred Couples?
SELECT place FROM table_name_26 WHERE country = "united states" AND player = "fred couples"
[ 2061, 373, 1578, 1829, 1295, 618, 262, 2137, 373, 8559, 15062, 2374, 30, 46506, 1295, 16034, 3084, 62, 3672, 62, 2075, 33411, 1499, 796, 366, 41187, 2585, 1, 5357, 2137, 796, 366, 39193, 11886, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1578, 1829, 1295, 618, 262, 2137, 373, 8559, 15062, 2374, 30, 46506, 1295, 16034, 3084, 62, 3672, 62, 2075, 33411, 1499, 796, 366, 41187, 2585, 1, 5357, 2137, 796, 366, 39193, 11886, 1 ]
Questions with 4 Close Votes.
SELECT PostId AS "post_link" FROM Votes WHERE VoteTypeId = 6 GROUP BY PostId HAVING SUM(1) = 4
[ 35741, 351, 604, 13872, 39584, 13, 46506, 2947, 7390, 7054, 366, 7353, 62, 8726, 1, 16034, 39584, 33411, 19175, 6030, 7390, 796, 718, 44441, 11050, 2947, 7390, 367, 10116, 2751, 35683, 7, 16, 8, 796, 604 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 351, 604, 13872, 39584, 13, 46506, 2947, 7390, 7054, 366, 7353, 62, 8726, 1, 16034, 39584, 33411, 19175, 6030, 7390, 796, 718, 44441, 11050, 2947, 7390, 367, 10116, 2751, 35683, 7, 16, 8, 796, 604 ]
What is Home Team, when Home Team Score is 22.15 (147)?
SELECT "Home team" FROM table_43891 WHERE "Home team score" = '22.15 (147)'
[ 2061, 318, 5995, 4816, 11, 618, 5995, 4816, 15178, 318, 2534, 13, 1314, 357, 20198, 19427, 46506, 366, 16060, 1074, 1, 16034, 3084, 62, 43704, 6420, 33411, 366, 16060, 1074, 4776, 1, 796, 705, 1828, 13, 1314, 357, 20198, 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 ]
[ 2061, 318, 5995, 4816, 11, 618, 5995, 4816, 15178, 318, 2534, 13, 1314, 357, 20198, 19427, 46506, 366, 16060, 1074, 1, 16034, 3084, 62, 43704, 6420, 33411, 366, 16060, 1074, 4776, 1, 796, 705, 1828, 13, 1314, 357, 20198, 33047 ]
How many movies did ' Quentin Tarantino ' direct before 2002 and after 2010 ?
SELECT COUNT(DISTINCT (movie.title)) FROM directed_by, director, made_by, movie, producer WHERE director.did = directed_by.did AND director.name = 'Quentin Tarantino' AND movie.mid = directed_by.msid AND movie.mid = made_by.msid AND movie.release_year < 2010 AND movie.release_year > 2002 AND producer.pid = made_by.pid
[ 2437, 867, 6918, 750, 705, 42447, 43693, 2879, 705, 1277, 878, 6244, 290, 706, 3050, 5633, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 357, 41364, 13, 7839, 4008, 16034, 7924, 62, 1525, 11, 3437, 11, 925, 62, 1525, 11, 3807, 11, 9920, 33411, 3437, 13, 20839, 796, 7924, 62, 1525, 13, 20839, 5357, 3437, 13, 3672, 796, 705, 4507, 31371, 43693, 2879, 6, 5357, 3807, 13, 13602, 796, 7924, 62, 1525, 13, 907, 312, 5357, 3807, 13, 13602, 796, 925, 62, 1525, 13, 907, 312, 5357, 3807, 13, 20979, 62, 1941, 1279, 3050, 5357, 3807, 13, 20979, 62, 1941 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6918, 750, 705, 42447, 43693, 2879, 705, 1277, 878, 6244, 290, 706, 3050, 5633, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 357, 41364, 13, 7839, 4008, 16034, 7924, 62, 1525, 11, 3437, 11, 925, 62, 1525, 11, 3807, 11, 9920, 33411, 3437, 13, 20839, 796, 7924, 62, 1525, 13, 20839, 5357, 3437, 13, 3672, 796, 705, 4507, 31371, 43693, 2879, 6, 5357, 3807, 13, 13602, 796, 7924, 62, 1525, 13, 907, 312, 5357, 3807, 13, 13602, 796, 925, 62, 1525, 13, 907, 312, 5357, 3807, 13, 20979, 62, 1941, 1279, 3050, 5357, 3807, 13, 20979, 62, 1941 ]
Did the I Brazilian Grand Prix have a report?
SELECT report FROM table_1140088_6 WHERE race_name = "I Brazilian Grand Prix"
[ 11633, 262, 314, 17036, 5675, 23832, 423, 257, 989, 30, 46506, 989, 16034, 3084, 62, 1157, 7029, 3459, 62, 21, 33411, 3234, 62, 3672, 796, 366, 40, 17036, 5675, 23832, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 11633, 262, 314, 17036, 5675, 23832, 423, 257, 989, 30, 46506, 989, 16034, 3084, 62, 1157, 7029, 3459, 62, 21, 33411, 3234, 62, 3672, 796, 366, 40, 17036, 5675, 23832, 1 ]
What is class I can take to fulfill the ULCS requirement and is easiest ?
SELECT DISTINCT course.department, course.name, course.number, program_course.workload, program_course.workload FROM course, program_course WHERE program_course.category LIKE '%ULCS%' AND program_course.course_id = course.course_id AND program_course.workload = (SELECT MIN(PROGRAM_COURSEalias1.workload) FROM program_course AS PROGRAM_COURSEalias1 WHERE PROGRAM_COURSEalias1.category LIKE '%ULCS%')
[ 2061, 318, 1398, 314, 460, 1011, 284, 14658, 262, 471, 29814, 9079, 290, 318, 16638, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 11, 1430, 62, 17319, 13, 1818, 2220, 11, 1430, 62, 17319, 13, 1818, 2220, 16034, 1781, 11, 1430, 62, 17319, 33411, 1430, 62, 17319, 13, 22872, 34178, 705, 4, 52, 29814, 4, 6, 5357, 1430, 62, 17319, 13, 17319, 62, 312, 796, 1781, 13, 17319, 62, 312, 5357, 1430, 62, 17319, 13, 1818, 2220, 796, 357, 46506, 20625, 7, 4805, 7730, 24115, 62, 34, 11698, 5188, 26011 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1398, 314, 460, 1011, 284, 14658, 262, 471, 29814, 9079, 290, 318, 16638, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 11, 1430, 62, 17319, 13, 1818, 2220, 11, 1430, 62, 17319, 13, 1818, 2220, 16034, 1781, 11, 1430, 62, 17319, 33411, 1430, 62, 17319, 13, 22872, 34178, 705, 4, 52, 29814, 4, 6, 5357, 1430, 62, 17319, 13, 17319, 62, 312, 796, 1781, 13, 17319, 62, 312, 5357, 1430, 62, 17319, 13, 1818, 2220, 796, 357, 46506, 20625, 7, 4805, 7730, 24115, 62, 34, 11698, 5188, 26011 ]
Who was the first person elected from Democratic GAIN?
SELECT first_elected FROM table_name_73 WHERE result = "democratic gain"
[ 8241, 373, 262, 717, 1048, 7018, 422, 4390, 14545, 1268, 30, 46506, 717, 62, 28604, 16034, 3084, 62, 3672, 62, 4790, 33411, 1255, 796, 366, 41232, 4461, 1 ]
[ 1, 1, 1, 1, 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, 717, 1048, 7018, 422, 4390, 14545, 1268, 30, 46506, 717, 62, 28604, 16034, 3084, 62, 3672, 62, 4790, 33411, 1255, 796, 366, 41232, 4461, 1 ]
The engine family MaxxForce 5 in the years produced 2007-current, have what cylinder layout?
SELECT "Cylinder Layout" FROM table_28591 WHERE "Years produced" = '2007-current' AND "Engine Family" = 'MaxxForce 5'
[ 464, 3113, 1641, 5436, 87, 10292, 642, 287, 262, 812, 4635, 4343, 12, 14421, 11, 423, 644, 24911, 12461, 30, 46506, 366, 34, 2645, 5540, 47639, 1, 16034, 3084, 62, 2078, 48952, 33411, 366, 40630, 4635, 1, 796, 705, 12726, 12, 14421, 6, 5357, 366, 13798, 7884, 1, 796, 705, 11518, 87, 10292, 642, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 464, 3113, 1641, 5436, 87, 10292, 642, 287, 262, 812, 4635, 4343, 12, 14421, 11, 423, 644, 24911, 12461, 30, 46506, 366, 34, 2645, 5540, 47639, 1, 16034, 3084, 62, 2078, 48952, 33411, 366, 40630, 4635, 1, 796, 705, 12726, 12, 14421, 6, 5357, 366, 13798, 7884, 1, 796, 705, 11518, 87, 10292, 642, 6 ]
accepted answers that weren't the top-scoring answer.
SELECT q.pid AS "post_link", q.max_score, q.acc_score, q.n_answers FROM (SELECT p.Id AS pid, MIN(a.Score) AS min_score, MAX(a.Score) AS max_score, MAX(c.Score) AS acc_score, COUNT(a.Id) AS n_answers FROM Posts AS p JOIN Posts AS a ON a.ParentId = p.Id JOIN Posts AS c ON p.AcceptedAnswerId = c.Id WHERE c.OwnerUserId = '##userid:int##' GROUP BY p.Id) AS q WHERE q.acc_score < q.max_score ORDER BY q.max_score - q.acc_score DESC
[ 13635, 276, 7429, 326, 6304, 470, 262, 1353, 12, 46536, 3280, 13, 46506, 10662, 13, 35317, 7054, 366, 7353, 62, 8726, 1600, 10662, 13, 9806, 62, 26675, 11, 10662, 13, 4134, 62, 26675, 11, 10662, 13, 77, 62, 504, 86, 364, 16034, 357, 46506, 279, 13, 7390, 7054, 46514, 11, 20625, 7, 64, 13, 26595, 8, 7054, 949, 62, 26675, 11, 25882, 7, 64, 13, 26595, 8, 7054, 3509, 62, 26675, 11, 25882, 7, 66, 13, 26595, 8, 7054, 697, 62, 26675, 11, 327, 28270, 7, 64, 13, 7390, 8, 7054, 299, 62, 504, 86, 364, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13635, 276, 7429, 326, 6304, 470, 262, 1353, 12, 46536, 3280, 13, 46506, 10662, 13, 35317, 7054, 366, 7353, 62, 8726, 1600, 10662, 13, 9806, 62, 26675, 11, 10662, 13, 4134, 62, 26675, 11, 10662, 13, 77, 62, 504, 86, 364, 16034, 357, 46506, 279, 13, 7390, 7054, 46514, 11, 20625, 7, 64, 13, 26595, 8, 7054, 949, 62, 26675, 11, 25882, 7, 64, 13, 26595, 8, 7054, 3509, 62, 26675, 11, 25882, 7, 66, 13, 26595, 8, 7054, 697, 62, 26675, 11, 327, 28270, 7, 64, 13, 7390, 8, 7054, 299, 62, 504, 86, 364, 16034, 12043, 7054, 279 ]
Who was the opponent on April 29?
SELECT opponent FROM table_name_5 WHERE date = "april 29"
[ 8241, 373, 262, 6125, 319, 3035, 2808, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 20, 33411, 3128, 796, 366, 499, 22379, 2808, 1 ]
[ 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, 6125, 319, 3035, 2808, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 20, 33411, 3128, 796, 366, 499, 22379, 2808, 1 ]
Can you tell me the Gold that has the Total larger than 2, and the Bronze smaller than 1?
SELECT gold FROM table_name_50 WHERE total > 2 AND bronze < 1
[ 6090, 345, 1560, 502, 262, 3561, 326, 468, 262, 7472, 4025, 621, 362, 11, 290, 262, 19461, 4833, 621, 352, 30, 46506, 3869, 16034, 3084, 62, 3672, 62, 1120, 33411, 2472, 1875, 362, 5357, 22101, 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 ]
[ 6090, 345, 1560, 502, 262, 3561, 326, 468, 262, 7472, 4025, 621, 362, 11, 290, 262, 19461, 4833, 621, 352, 30, 46506, 3869, 16034, 3084, 62, 3672, 62, 1120, 33411, 2472, 1875, 362, 5357, 22101, 1279, 352 ]
What is the total combined weight of players from minnetonka, mn?
SELECT SUM(weight) FROM table_name_22 WHERE home_town = "minnetonka, mn"
[ 2061, 318, 262, 2472, 5929, 3463, 286, 1938, 422, 949, 3262, 261, 4914, 11, 285, 77, 30, 46506, 35683, 7, 6551, 8, 16034, 3084, 62, 3672, 62, 1828, 33411, 1363, 62, 12735, 796, 366, 1084, 3262, 261, 4914, 11, 285, 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 ]
[ 2061, 318, 262, 2472, 5929, 3463, 286, 1938, 422, 949, 3262, 261, 4914, 11, 285, 77, 30, 46506, 35683, 7, 6551, 8, 16034, 3084, 62, 3672, 62, 1828, 33411, 1363, 62, 12735, 796, 366, 1084, 3262, 261, 4914, 11, 285, 77, 1 ]
What Source has an Attack of 9,77%?
SELECT source FROM table_name_8 WHERE attack = "9,77%"
[ 2061, 8090, 468, 281, 8307, 286, 860, 11, 3324, 4, 30, 46506, 2723, 16034, 3084, 62, 3672, 62, 23, 33411, 1368, 796, 366, 24, 11, 3324, 39658 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 8090, 468, 281, 8307, 286, 860, 11, 3324, 4, 30, 46506, 2723, 16034, 3084, 62, 3672, 62, 23, 33411, 1368, 796, 366, 24, 11, 3324, 39658 ]
What was the lowest number of Total Foreign-born (millions) people, when the number of people Born in a non EU state (millions) was 6.415?
SELECT MIN(total_foreign_born__millions_) FROM table_name_38 WHERE born_in_a_non_eu_state__millions_ = 6.415
[ 2061, 373, 262, 9016, 1271, 286, 7472, 8708, 12, 6286, 357, 17805, 507, 8, 661, 11, 618, 262, 1271, 286, 661, 18889, 287, 257, 1729, 4576, 1181, 357, 17805, 507, 8, 373, 718, 13, 35038, 30, 46506, 20625, 7, 23350, 62, 38823, 62, 6286, 834, 17805, 507, 62, 8, 16034, 3084, 62, 3672, 62, 2548, 33411, 4642, 62, 259, 62, 64, 62, 13159, 62, 12496, 62, 5219, 834, 17805, 507, 62, 796, 718, 13, 35038 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1271, 286, 7472, 8708, 12, 6286, 357, 17805, 507, 8, 661, 11, 618, 262, 1271, 286, 661, 18889, 287, 257, 1729, 4576, 1181, 357, 17805, 507, 8, 373, 718, 13, 35038, 30, 46506, 20625, 7, 23350, 62, 38823, 62, 6286, 834, 17805, 507, 62, 8, 16034, 3084, 62, 3672, 62, 2548, 33411, 4642, 62, 259, 62, 64, 62, 13159, 62, 12496, 62, 5219, 834, 17805, 507, 62, 796, 718, 13, 35038 ]
When 13 is the share (18-49) what is the rank (timeslot)?
SELECT "Rank (timeslot)" FROM table_30899 WHERE "Share (18\u201349)" = '13'
[ 2215, 1511, 318, 262, 2648, 357, 1507, 12, 2920, 8, 644, 318, 262, 4279, 357, 22355, 26487, 19427, 46506, 366, 27520, 357, 22355, 26487, 16725, 16034, 3084, 62, 21495, 2079, 33411, 366, 11649, 357, 1507, 59, 84, 1264, 27371, 16725, 796, 705, 1485, 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 ]
[ 2215, 1511, 318, 262, 2648, 357, 1507, 12, 2920, 8, 644, 318, 262, 4279, 357, 22355, 26487, 19427, 46506, 366, 27520, 357, 22355, 26487, 16725, 16034, 3084, 62, 21495, 2079, 33411, 366, 11649, 357, 1507, 59, 84, 1264, 27371, 16725, 796, 705, 1485, 6 ]
Who was the contstructor of the car having a grid of 20?
SELECT constructor FROM table_name_66 WHERE grid = "20"
[ 8241, 373, 262, 542, 7249, 273, 286, 262, 1097, 1719, 257, 10706, 286, 1160, 30, 46506, 23772, 16034, 3084, 62, 3672, 62, 2791, 33411, 10706, 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 ]
[ 8241, 373, 262, 542, 7249, 273, 286, 262, 1097, 1719, 257, 10706, 286, 1160, 30, 46506, 23772, 16034, 3084, 62, 3672, 62, 2791, 33411, 10706, 796, 366, 1238, 1 ]
What's the value for report for the rijeka track after 1978 when loris reggiani got the 125cc?
SELECT "Report" FROM table_7793 WHERE "Track" = 'rijeka' AND "Year" > '1978' AND "125 cc" = 'loris reggiani'
[ 2061, 338, 262, 1988, 329, 989, 329, 262, 374, 2926, 38001, 2610, 706, 15524, 618, 300, 37279, 842, 18299, 72, 1392, 262, 13151, 535, 30, 46506, 366, 19100, 1, 16034, 3084, 62, 3324, 6052, 33411, 366, 24802, 1, 796, 705, 380, 73, 38001, 6, 5357, 366, 17688, 1, 1875, 705, 37950, 6, 5357, 366, 11623, 36624, 1, 796, 705, 4685, 271, 842, 18299, 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, 1, 1, 1, 1, 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, 1988, 329, 989, 329, 262, 374, 2926, 38001, 2610, 706, 15524, 618, 300, 37279, 842, 18299, 72, 1392, 262, 13151, 535, 30, 46506, 366, 19100, 1, 16034, 3084, 62, 3324, 6052, 33411, 366, 24802, 1, 796, 705, 380, 73, 38001, 6, 5357, 366, 17688, 1, 1875, 705, 37950, 6, 5357, 366, 11623, 36624, 1, 796, 705, 4685, 271, 842, 18299, 72, 6 ]
What is the GP winner with a place of genk, with race winners ben adriaenssen / ben van den bogaart?
SELECT gp_winner FROM table_name_30 WHERE place = "genk" AND race_winners = "ben adriaenssen / ben van den bogaart"
[ 2061, 318, 262, 14714, 8464, 351, 257, 1295, 286, 2429, 74, 11, 351, 3234, 14591, 1888, 512, 7496, 641, 6248, 1220, 1888, 5719, 2853, 275, 10949, 433, 30, 46506, 27809, 62, 39791, 16034, 3084, 62, 3672, 62, 1270, 33411, 1295, 796, 366, 5235, 74, 1, 5357, 3234, 62, 5404, 2741, 796, 366, 11722, 512, 7496, 641, 6248, 1220, 1888, 5719, 2853, 275, 10949, 433, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14714, 8464, 351, 257, 1295, 286, 2429, 74, 11, 351, 3234, 14591, 1888, 512, 7496, 641, 6248, 1220, 1888, 5719, 2853, 275, 10949, 433, 30, 46506, 27809, 62, 39791, 16034, 3084, 62, 3672, 62, 1270, 33411, 1295, 796, 366, 5235, 74, 1, 5357, 3234, 62, 5404, 2741, 796, 366, 11722, 512, 7496, 641, 6248, 1220, 1888, 5719, 2853, 275, 10949, 433, 1 ]
What game is the first with the Pittsburgh Penguins the opponent?
SELECT MIN(game) FROM table_name_49 WHERE opponent = "pittsburgh penguins"
[ 2061, 983, 318, 262, 717, 351, 262, 12767, 29755, 262, 6125, 30, 46506, 20625, 7, 6057, 8, 16034, 3084, 62, 3672, 62, 2920, 33411, 6125, 796, 366, 79, 715, 11931, 38373, 1040, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 983, 318, 262, 717, 351, 262, 12767, 29755, 262, 6125, 30, 46506, 20625, 7, 6057, 8, 16034, 3084, 62, 3672, 62, 2920, 33411, 6125, 796, 366, 79, 715, 11931, 38373, 1040, 1 ]
Find the physician who was trained in the most expensive procedure?
SELECT T1.name FROM physician AS T1 JOIN trained_in AS T2 ON T1.employeeid = T2.physician JOIN procedures AS T3 ON T3.code = T2.treatment ORDER BY T3.cost DESC LIMIT 1
[ 16742, 262, 14325, 508, 373, 8776, 287, 262, 749, 5789, 8771, 30, 46506, 309, 16, 13, 3672, 16034, 14325, 7054, 309, 16, 32357, 1268, 8776, 62, 259, 7054, 309, 17, 6177, 309, 16, 13, 7033, 1453, 312, 796, 309, 17, 13, 34411, 6749, 32357, 1268, 9021, 7054, 309, 18, 6177, 309, 18, 13, 8189, 796, 309, 17, 13, 42487, 38678, 11050, 309, 18, 13, 15805, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16742, 262, 14325, 508, 373, 8776, 287, 262, 749, 5789, 8771, 30, 46506, 309, 16, 13, 3672, 16034, 14325, 7054, 309, 16, 32357, 1268, 8776, 62, 259, 7054, 309, 17, 6177, 309, 16, 13, 7033, 1453, 312, 796, 309, 17, 13, 34411, 6749, 32357, 1268, 9021, 7054, 309, 18, 6177, 309, 18, 13, 8189, 796, 309, 17, 13, 42487, 38678, 11050, 309, 18, 13, 15805, 22196, 34, 27564, 2043, 352 ]
What is the lowest quantity for GWR Nos. 696, 779, 93 5 from the manufacturer Peckett and Sons?
SELECT MIN("Quantity") FROM table_52023 WHERE "Manufacturer" = 'peckett and sons' AND "GWR Nos." = '696, 779, 93 5'
[ 2061, 318, 262, 9016, 12040, 329, 402, 18564, 32798, 13, 718, 4846, 11, 767, 3720, 11, 10261, 642, 422, 262, 11554, 48434, 3087, 290, 27989, 30, 46506, 20625, 7203, 31208, 4943, 16034, 3084, 62, 31211, 1954, 33411, 366, 44445, 15051, 1, 796, 705, 431, 694, 3087, 290, 11989, 6, 5357, 366, 38, 18564, 32798, 526, 796, 705, 38205, 11, 767, 3720, 11, 10261, 642, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 9016, 12040, 329, 402, 18564, 32798, 13, 718, 4846, 11, 767, 3720, 11, 10261, 642, 422, 262, 11554, 48434, 3087, 290, 27989, 30, 46506, 20625, 7203, 31208, 4943, 16034, 3084, 62, 31211, 1954, 33411, 366, 44445, 15051, 1, 796, 705, 431, 694, 3087, 290, 11989, 6, 5357, 366, 38, 18564, 32798, 526, 796, 705, 38205, 11, 767, 3720, 11, 10261, 642, 6 ]
What is Ben Hogan's Place?
SELECT place FROM table_name_21 WHERE player = "ben hogan"
[ 2061, 318, 3932, 25316, 338, 8474, 30, 46506, 1295, 16034, 3084, 62, 3672, 62, 2481, 33411, 2137, 796, 366, 11722, 289, 9632, 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, 3932, 25316, 338, 8474, 30, 46506, 1295, 16034, 3084, 62, 3672, 62, 2481, 33411, 2137, 796, 366, 11722, 289, 9632, 1 ]
How many times is the new entries this round is none?
SELECT COUNT(number_of_fixtures) FROM table_27973624_1 WHERE new_entries_this_round = "none"
[ 2437, 867, 1661, 318, 262, 649, 12784, 428, 2835, 318, 4844, 30, 46506, 327, 28270, 7, 17618, 62, 1659, 62, 69, 25506, 8, 16034, 3084, 62, 1983, 5607, 2623, 1731, 62, 16, 33411, 649, 62, 298, 1678, 62, 5661, 62, 744, 796, 366, 23108, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1661, 318, 262, 649, 12784, 428, 2835, 318, 4844, 30, 46506, 327, 28270, 7, 17618, 62, 1659, 62, 69, 25506, 8, 16034, 3084, 62, 1983, 5607, 2623, 1731, 62, 16, 33411, 649, 62, 298, 1678, 62, 5661, 62, 744, 796, 366, 23108, 1 ]
When was the score 56-26?
SELECT "Date" FROM table_76463 WHERE "Record" = '56-26'
[ 2215, 373, 262, 4776, 7265, 12, 2075, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 22, 2414, 5066, 33411, 366, 23739, 1, 796, 705, 3980, 12, 2075, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 373, 262, 4776, 7265, 12, 2075, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 22, 2414, 5066, 33411, 366, 23739, 1, 796, 705, 3980, 12, 2075, 6 ]
What is Record, when Date is 'April 24'?
SELECT record FROM table_name_16 WHERE date = "april 24"
[ 2061, 318, 13266, 11, 618, 7536, 318, 705, 16784, 1987, 30960, 46506, 1700, 16034, 3084, 62, 3672, 62, 1433, 33411, 3128, 796, 366, 499, 22379, 1987, 1 ]
[ 1, 1, 1, 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, 13266, 11, 618, 7536, 318, 705, 16784, 1987, 30960, 46506, 1700, 16034, 3084, 62, 3672, 62, 1433, 33411, 3128, 796, 366, 499, 22379, 1987, 1 ]
Draw a scatter chart about the correlation between School_ID and All_Games_Percent , and group by attribute ACC_Home.
SELECT School_ID, All_Games_Percent FROM basketball_match GROUP BY ACC_Home
[ 25302, 257, 41058, 8262, 546, 262, 16096, 1022, 3961, 62, 2389, 290, 1439, 62, 24474, 62, 31905, 837, 290, 1448, 416, 11688, 15859, 62, 16060, 13, 46506, 3961, 62, 2389, 11, 1439, 62, 24474, 62, 31905, 16034, 9669, 62, 15699, 44441, 11050, 15859, 62, 16060 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 41058, 8262, 546, 262, 16096, 1022, 3961, 62, 2389, 290, 1439, 62, 24474, 62, 31905, 837, 290, 1448, 416, 11688, 15859, 62, 16060, 13, 46506, 3961, 62, 2389, 11, 1439, 62, 24474, 62, 31905, 16034, 9669, 62, 15699, 44441, 11050, 15859, 62, 16060 ]
Who many dates are in position 9 and the sellout is 81%?
SELECT COUNT(dates__mdy_) FROM table_16331025_2 WHERE position = 9 AND sellout___percentage_ = "81%"
[ 8241, 867, 9667, 389, 287, 2292, 860, 290, 262, 3677, 448, 318, 9773, 4, 30, 46506, 327, 28270, 7, 19581, 834, 9132, 88, 62, 8, 16034, 3084, 62, 1433, 2091, 940, 1495, 62, 17, 33411, 2292, 796, 860, 5357, 3677, 448, 17569, 25067, 496, 62, 796, 366, 6659, 39658 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 867, 9667, 389, 287, 2292, 860, 290, 262, 3677, 448, 318, 9773, 4, 30, 46506, 327, 28270, 7, 19581, 834, 9132, 88, 62, 8, 16034, 3084, 62, 1433, 2091, 940, 1495, 62, 17, 33411, 2292, 796, 860, 5357, 3677, 448, 17569, 25067, 496, 62, 796, 366, 6659, 39658 ]
provide the number of patients whose discharge location is home and procedure icd9 code is 3607?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.discharge_location = "HOME" AND procedures.icd9_code = "3607"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 17655, 4067, 318, 1363, 290, 8771, 14158, 67, 24, 2438, 318, 11470, 22, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, 13, 18108, 76, 62, 312, 796, 9021, 13, 18108, 76, 62, 312, 33411, 16728, 13, 6381, 10136, 62, 24886, 796, 366, 39069, 1, 5357, 9021, 13, 291, 67, 24, 62, 8189, 796, 366, 15277, 22, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17655, 4067, 318, 1363, 290, 8771, 14158, 67, 24, 2438, 318, 11470, 22, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, 13, 18108, 76, 62, 312, 796, 9021, 13, 18108, 76, 62, 312, 33411, 16728, 13, 6381, 10136, 62, 24886, 796, 366, 39069, 1, 5357, 9021, 13, 291, 67, 24, 62, 8189, 796, 366, 15277, 22, 1 ]
How many comments are there in the Bethel (CA) Borough area?
SELECT COUNT(comment) FROM table_17978052_2 WHERE borough_or_census_area = "Bethel (CA)"
[ 2437, 867, 3651, 389, 612, 287, 262, 5147, 2978, 357, 8141, 8, 48114, 1989, 30, 46506, 327, 28270, 7, 23893, 8, 16034, 3084, 62, 1558, 5607, 1795, 4309, 62, 17, 33411, 33534, 62, 273, 62, 66, 7314, 62, 20337, 796, 366, 13056, 2978, 357, 8141, 16725 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3651, 389, 612, 287, 262, 5147, 2978, 357, 8141, 8, 48114, 1989, 30, 46506, 327, 28270, 7, 23893, 8, 16034, 3084, 62, 1558, 5607, 1795, 4309, 62, 17, 33411, 33534, 62, 273, 62, 66, 7314, 62, 20337, 796, 366, 13056, 2978, 357, 8141, 16725 ]
tell me whether any organism found in patient 031-19622's first bronchial lavage test until 2 years ago?
SELECT COUNT(*) > 0 FROM microlab WHERE microlab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '031-19622')) AND microlab.culturesite = 'bronchial lavage' AND DATETIME(microlab.culturetakentime) <= DATETIME(CURRENT_TIME(), '-2 year') ORDER BY microlab.culturetakentime LIMIT 1
[ 33331, 502, 1771, 597, 26433, 1043, 287, 5827, 657, 3132, 12, 25272, 1828, 338, 717, 18443, 354, 498, 21606, 496, 1332, 1566, 362, 812, 2084, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 4580, 23912, 33411, 4580, 23912, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 43637, 12, 25272, 1828, 6, 4008, 5357, 4580, 23912, 13, 40820, 942, 578, 796, 705, 65 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 33331, 502, 1771, 597, 26433, 1043, 287, 5827, 657, 3132, 12, 25272, 1828, 338, 717, 18443, 354, 498, 21606, 496, 1332, 1566, 362, 812, 2084, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 4580, 23912, 33411, 4580, 23912, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 43637, 12, 25272, 1828, 6, 4008, 5357, 4580, 23912, 13, 40820, 942, 578, 796, 705, 65 ]
What are the completion dates of all the tests that have result 'Fail', and count them by a bar chart, and list Y in asc order.
SELECT date_of_completion, COUNT(date_of_completion) FROM Student_Course_Enrolment AS T1 JOIN Student_Tests_Taken AS T2 ON T1.registration_id = T2.registration_id WHERE T2.test_result = "Fail" GROUP BY date_of_completion ORDER BY COUNT(date_of_completion)
[ 2061, 389, 262, 11939, 9667, 286, 477, 262, 5254, 326, 423, 1255, 705, 39044, 3256, 290, 954, 606, 416, 257, 2318, 8262, 11, 290, 1351, 575, 287, 10570, 1502, 13, 46506, 3128, 62, 1659, 62, 785, 24547, 11, 327, 28270, 7, 4475, 62, 1659, 62, 785, 24547, 8, 16034, 13613, 62, 49046, 62, 4834, 3225, 434, 7054, 309, 16, 32357, 1268, 13613, 62, 51, 3558, 62, 51, 1685, 7054, 309, 17, 6177, 309, 16, 13, 2301, 33397, 62, 312, 796, 309, 17, 13, 2301, 33397, 62, 312, 33411, 309, 17, 13, 9288, 62, 20274, 796, 366, 39044, 1, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11939, 9667, 286, 477, 262, 5254, 326, 423, 1255, 705, 39044, 3256, 290, 954, 606, 416, 257, 2318, 8262, 11, 290, 1351, 575, 287, 10570, 1502, 13, 46506, 3128, 62, 1659, 62, 785, 24547, 11, 327, 28270, 7, 4475, 62, 1659, 62, 785, 24547, 8, 16034, 13613, 62, 49046, 62, 4834, 3225, 434, 7054, 309, 16, 32357, 1268, 13613, 62, 51, 3558, 62, 51, 1685, 7054, 309, 17, 6177, 309, 16, 13, 2301, 33397, 62, 312, 796, 309, 17, 13, 2301, 33397, 62, 312, 33411, 309, 17, 13, 9288, 62, 20274, 796, 366, 39044, 1, 44441, 11050 ]
average Q score per tag.
SELECT Tags.TagName, CAST(SUM(Posts.Score) AS FLOAT) / CAST(COUNT(*) AS FLOAT) AS average_Q_score FROM (PostTags INNER JOIN Tags ON PostTags.TagId = Tags.Id) INNER JOIN Posts ON Posts.Id = PostTags.PostId WHERE Tags.Count > 9 GROUP BY Tags.TagName ORDER BY average_Q_score
[ 23913, 1195, 4776, 583, 7621, 13, 46506, 44789, 13, 24835, 5376, 11, 327, 11262, 7, 50, 5883, 7, 21496, 13, 26595, 8, 7054, 9977, 46, 1404, 8, 1220, 327, 11262, 7, 34, 28270, 7, 28104, 7054, 9977, 46, 1404, 8, 7054, 2811, 62, 48, 62, 26675, 16034, 357, 6307, 36142, 3268, 21479, 32357, 1268, 44789, 6177, 2947, 36142, 13, 24835, 7390, 796, 44789, 13, 7390, 8, 3268, 21479, 32357, 1268, 12043, 6177, 12043, 13, 7390, 796, 2947, 36142, 13, 6307, 7390, 33411, 44789, 13, 12332, 1875, 860, 44441, 11050, 44789, 13, 24835, 5376, 38678, 11050, 2811, 62, 48, 62, 26675 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 23913, 1195, 4776, 583, 7621, 13, 46506, 44789, 13, 24835, 5376, 11, 327, 11262, 7, 50, 5883, 7, 21496, 13, 26595, 8, 7054, 9977, 46, 1404, 8, 1220, 327, 11262, 7, 34, 28270, 7, 28104, 7054, 9977, 46, 1404, 8, 7054, 2811, 62, 48, 62, 26675, 16034, 357, 6307, 36142, 3268, 21479, 32357, 1268, 44789, 6177, 2947, 36142, 13, 24835, 7390, 796, 44789, 13, 7390, 8, 3268, 21479, 32357, 1268, 12043, 6177, 12043, 13, 7390, 796, 2947, 36142, 13, 6307, 7390, 33411, 44789, 13, 12332, 1875, 860, 44441, 11050, 44789, 13, 24835, 5376, 38678, 11050, 2811, 62, 48, 62, 26675 ]
how many times in 2103 a c. difficile toxin procedure was ordered?
SELECT COUNT(*) FROM treatment WHERE treatment.treatmentname = 'c. difficile toxin' AND STRFTIME('%y', treatment.treatmenttime) = '2103'
[ 4919, 867, 1661, 287, 362, 15197, 257, 269, 13, 814, 291, 576, 43026, 8771, 373, 6149, 30, 46506, 327, 28270, 7, 28104, 16034, 3513, 33411, 3513, 13, 42487, 3672, 796, 705, 66, 13, 814, 291, 576, 43026, 6, 5357, 19269, 9792, 12789, 10786, 4, 88, 3256, 3513, 13, 42487, 2435, 8, 796, 705, 17, 15197, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 1661, 287, 362, 15197, 257, 269, 13, 814, 291, 576, 43026, 8771, 373, 6149, 30, 46506, 327, 28270, 7, 28104, 16034, 3513, 33411, 3513, 13, 42487, 3672, 796, 705, 66, 13, 814, 291, 576, 43026, 6, 5357, 19269, 9792, 12789, 10786, 4, 88, 3256, 3513, 13, 42487, 2435, 8, 796, 705, 17, 15197, 6 ]
Unanswered questions that have a zero-score. Questions that can be marked as answered by upvoting a self-answered question.
SELECT q.Id AS "post_link" FROM Posts AS q WHERE q.PostTypeId = 1 AND q.ClosedDate IS NULL AND q.AcceptedAnswerId IS NULL AND q.AnswerCount > 0 AND EXISTS(SELECT a.Id FROM Posts AS a WHERE a.Score = 0 AND a.ParentId = q.Id) AND NOT EXISTS(SELECT a.Id FROM Posts AS a WHERE a.Score > 0 AND a.ParentId = q.Id) ORDER BY q.Id DESC
[ 3118, 31966, 2683, 326, 423, 257, 6632, 12, 26675, 13, 20396, 326, 460, 307, 7498, 355, 9373, 416, 510, 85, 10720, 257, 2116, 12, 31966, 1808, 13, 46506, 10662, 13, 7390, 7054, 366, 7353, 62, 8726, 1, 16034, 12043, 7054, 10662, 33411, 10662, 13, 6307, 6030, 7390, 796, 352, 5357, 10662, 13, 2601, 1335, 10430, 3180, 15697, 5357, 10662, 13, 38855, 276, 33706, 7390, 3180, 15697, 5357, 10662, 13, 33706, 12332, 1875, 657, 5357, 7788, 1797, 4694, 7, 46506, 257, 13, 7390, 16034, 12043, 7054, 257, 33411, 257, 13, 26595, 796, 657, 5357, 257, 13, 24546, 7390, 796, 10662, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 3118, 31966, 2683, 326, 423, 257, 6632, 12, 26675, 13, 20396, 326, 460, 307, 7498, 355, 9373, 416, 510, 85, 10720, 257, 2116, 12, 31966, 1808, 13, 46506, 10662, 13, 7390, 7054, 366, 7353, 62, 8726, 1, 16034, 12043, 7054, 10662, 33411, 10662, 13, 6307, 6030, 7390, 796, 352, 5357, 10662, 13, 2601, 1335, 10430, 3180, 15697, 5357, 10662, 13, 38855, 276, 33706, 7390, 3180, 15697, 5357, 10662, 13, 33706, 12332, 1875, 657, 5357, 7788, 1797, 4694, 7, 46506, 257, 13, 7390, 16034, 12043, 7054, 257, 33411, 257, 13, 26595, 796, 657, 5357, 257, 13, 24546, 7390, 796, 10662, 13 ]
Show ids, first names, last names, and phones for all customers.
SELECT customer_id, customer_first_name, customer_last_name, customer_phone FROM customers
[ 15307, 220, 2340, 11, 717, 3891, 11, 938, 3891, 11, 290, 9512, 329, 477, 4297, 13, 46506, 6491, 62, 312, 11, 6491, 62, 11085, 62, 3672, 11, 6491, 62, 12957, 62, 3672, 11, 6491, 62, 4862, 16034, 4297 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 220, 2340, 11, 717, 3891, 11, 938, 3891, 11, 290, 9512, 329, 477, 4297, 13, 46506, 6491, 62, 312, 11, 6491, 62, 11085, 62, 3672, 11, 6491, 62, 12957, 62, 3672, 11, 6491, 62, 4862, 16034, 4297 ]
tell me the number of people that attended the first game they won in october .
SELECT "attendance" FROM table_204_523 WHERE "result" = 'win' AND "date" = 10 ORDER BY "date" LIMIT 1
[ 33331, 502, 262, 1271, 286, 661, 326, 9141, 262, 717, 983, 484, 1839, 287, 19318, 2023, 764, 46506, 366, 1078, 437, 590, 1, 16034, 3084, 62, 18638, 62, 49803, 33411, 366, 20274, 1, 796, 705, 5404, 6, 5357, 366, 4475, 1, 796, 838, 38678, 11050, 366, 4475, 1, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 33331, 502, 262, 1271, 286, 661, 326, 9141, 262, 717, 983, 484, 1839, 287, 19318, 2023, 764, 46506, 366, 1078, 437, 590, 1, 16034, 3084, 62, 18638, 62, 49803, 33411, 366, 20274, 1, 796, 705, 5404, 6, 5357, 366, 4475, 1, 796, 838, 38678, 11050, 366, 4475, 1, 27564, 2043, 352 ]
For those records from the products and each product's manufacturer, draw a bar chart about the distribution of name and the sum of price , and group by attribute name, could you sort in ascending by the y axis?
SELECT T1.Name, T1.Price FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T1.Name ORDER BY T1.Price
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 3197, 257, 2318, 8262, 546, 262, 6082, 286, 1438, 290, 262, 2160, 286, 2756, 837, 290, 1448, 416, 11688, 1438, 11, 714, 345, 3297, 287, 41988, 416, 262, 331, 16488, 30, 46506, 309, 16, 13, 5376, 11, 309, 16, 13, 18124, 16034, 18675, 7054, 309, 16, 32357, 1268, 17858, 17496, 7054, 309, 17, 6177, 309, 16, 13, 44445, 15051, 796, 309, 17, 13, 10669, 44441, 11050, 309, 16, 13, 5376, 38678, 11050, 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, 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, 2160, 286, 2756, 837, 290, 1448, 416, 11688, 1438, 11, 714, 345, 3297, 287, 41988, 416, 262, 331, 16488, 30, 46506, 309, 16, 13, 5376, 11, 309, 16, 13, 18124, 16034, 18675, 7054, 309, 16, 32357, 1268, 17858, 17496, 7054, 309, 17, 6177, 309, 16, 13, 44445, 15051, 796, 309, 17, 13, 10669, 44441, 11050, 309, 16, 13, 5376, 38678, 11050, 309, 16, 13, 18124 ]
provide the number of patients whose procedure icd9 code is 4576 and drug route is iv bolus?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE procedures.icd9_code = "4576" AND prescriptions.route = "IV BOLUS"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 8771, 14158, 67, 24, 2438, 318, 604, 37452, 290, 2563, 6339, 318, 21628, 11572, 385, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, 13, 18108, 76, 62, 312, 796, 9021, 13, 18108, 76, 62, 312, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, 18108, 76, 62, 312, 796, 34092, 13, 18108, 76, 62, 312, 33411, 9021, 13, 291, 67, 24, 62, 8189, 796, 366, 2231, 4304, 1, 5357, 34092, 13, 38629, 796, 366, 3824, 347, 3535, 2937 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8771, 14158, 67, 24, 2438, 318, 604, 37452, 290, 2563, 6339, 318, 21628, 11572, 385, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, 13, 18108, 76, 62, 312, 796, 9021, 13, 18108, 76, 62, 312, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, 18108, 76, 62, 312, 796, 34092, 13, 18108, 76, 62, 312, 33411, 9021, 13, 291, 67, 24, 62, 8189, 796, 366, 2231, 4304, 1, 5357, 34092, 13, 38629, 796, 366, 3824, 347, 3535, 2937 ]
Which NFL Recap had a Record of 1 3?
SELECT nfl_recap FROM table_name_1 WHERE record = "1–3"
[ 13828, 5134, 46585, 550, 257, 13266, 286, 352, 513, 30, 46506, 299, 2704, 62, 8344, 499, 16034, 3084, 62, 3672, 62, 16, 33411, 1700, 796, 366, 16, 1906, 18, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 5134, 46585, 550, 257, 13266, 286, 352, 513, 30, 46506, 299, 2704, 62, 8344, 499, 16034, 3084, 62, 3672, 62, 16, 33411, 1700, 796, 366, 16, 1906, 18, 1 ]
How many seasons has UPS sponsored a car with a number larger than 17?
SELECT COUNT("Season") FROM table_58649 WHERE "Car #" > '17' AND "Sponsor" = 'ups'
[ 2437, 867, 7028, 468, 33513, 15901, 257, 1097, 351, 257, 1271, 4025, 621, 1596, 30, 46506, 327, 28270, 7203, 18960, 4943, 16034, 3084, 62, 3365, 33300, 33411, 366, 9914, 1303, 1, 1875, 705, 1558, 6, 5357, 366, 43522, 273, 1, 796, 705, 4739, 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 ]
[ 2437, 867, 7028, 468, 33513, 15901, 257, 1097, 351, 257, 1271, 4025, 621, 1596, 30, 46506, 327, 28270, 7203, 18960, 4943, 16034, 3084, 62, 3365, 33300, 33411, 366, 9914, 1303, 1, 1875, 705, 1558, 6, 5357, 366, 43522, 273, 1, 796, 705, 4739, 6 ]
What are the ids of the problems reported before the date of any problem reported by Lysanne Turcotte?
SELECT T1.problem_id FROM problems AS T1 JOIN staff AS T2 ON T1.reported_by_staff_id = T2.staff_id WHERE date_problem_reported < (SELECT MIN(date_problem_reported) FROM problems AS T3 JOIN staff AS T4 ON T3.reported_by_staff_id = T4.staff_id WHERE T4.staff_first_name = "Lysanne" AND T4.staff_last_name = "Turcotte")
[ 2061, 389, 262, 220, 2340, 286, 262, 2761, 2098, 878, 262, 3128, 286, 597, 1917, 2098, 416, 46749, 21952, 3831, 66, 11404, 30, 46506, 309, 16, 13, 45573, 62, 312, 16034, 2761, 7054, 309, 16, 32357, 1268, 3085, 7054, 309, 17, 6177, 309, 16, 13, 26263, 62, 1525, 62, 28120, 62, 312, 796, 309, 17, 13, 28120, 62, 312, 33411, 3128, 62, 45573, 62, 26263, 1279, 357, 46506, 20625, 7, 4475, 62, 45573, 62, 26263, 8, 16034, 2761, 7054, 309, 18, 32357, 1268, 3085, 7054, 309, 19, 6177, 309, 18, 13, 26263, 62, 1525, 62, 28120, 62, 312, 796, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 262, 2761, 2098, 878, 262, 3128, 286, 597, 1917, 2098, 416, 46749, 21952, 3831, 66, 11404, 30, 46506, 309, 16, 13, 45573, 62, 312, 16034, 2761, 7054, 309, 16, 32357, 1268, 3085, 7054, 309, 17, 6177, 309, 16, 13, 26263, 62, 1525, 62, 28120, 62, 312, 796, 309, 17, 13, 28120, 62, 312, 33411, 3128, 62, 45573, 62, 26263, 1279, 357, 46506, 20625, 7, 4475, 62, 45573, 62, 26263, 8, 16034, 2761, 7054, 309, 18, 32357, 1268, 3085, 7054, 309, 19, 6177, 309, 18, 13, 26263, 62, 1525, 62, 28120, 62, 312, 796, 309 ]
What record has January 27 for the date?
SELECT "Record" FROM table_46269 WHERE "Date" = 'january 27'
[ 2061, 1700, 468, 3269, 2681, 329, 262, 3128, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 3510, 26276, 33411, 366, 10430, 1, 796, 705, 13881, 2838, 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 ]
[ 2061, 1700, 468, 3269, 2681, 329, 262, 3128, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 3510, 26276, 33411, 366, 10430, 1, 796, 705, 13881, 2838, 2681, 6 ]
let me know the number of patients with procedure icd9 code 40 who were admitted in hospital before 2103.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admityear < "2103" AND procedures.icd9_code = "40"
[ 1616, 502, 760, 262, 1271, 286, 3871, 351, 8771, 14158, 67, 24, 2438, 2319, 508, 547, 6848, 287, 4436, 878, 362, 15197, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, 13, 18108, 76, 62, 312, 796, 9021, 13, 18108, 76, 62, 312, 33411, 16728, 13, 324, 76, 414, 451, 1279, 366, 17, 15197, 1, 5357, 9021, 13, 291, 67, 24, 62, 8189, 796, 366, 1821, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 351, 8771, 14158, 67, 24, 2438, 2319, 508, 547, 6848, 287, 4436, 878, 362, 15197, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, 13, 18108, 76, 62, 312, 796, 9021, 13, 18108, 76, 62, 312, 33411, 16728, 13, 324, 76, 414, 451, 1279, 366, 17, 15197, 1, 5357, 9021, 13, 291, 67, 24, 62, 8189, 796, 366, 1821, 1 ]
What were the notes for the time of 6:34.51?
SELECT notes FROM table_name_56 WHERE time = "6:34.51"
[ 2061, 547, 262, 4710, 329, 262, 640, 286, 718, 25, 2682, 13, 4349, 30, 46506, 4710, 16034, 3084, 62, 3672, 62, 3980, 33411, 640, 796, 366, 21, 25, 2682, 13, 4349, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 547, 262, 4710, 329, 262, 640, 286, 718, 25, 2682, 13, 4349, 30, 46506, 4710, 16034, 3084, 62, 3672, 62, 3980, 33411, 640, 796, 366, 21, 25, 2682, 13, 4349, 1 ]
What are the most points scored in a game where the score was 1-2?
SELECT MAX(points) FROM table_27539272_7 WHERE score = "1-2"
[ 2061, 389, 262, 749, 2173, 7781, 287, 257, 983, 810, 262, 4776, 373, 352, 12, 17, 30, 46506, 25882, 7, 13033, 8, 16034, 3084, 62, 23195, 2670, 29807, 62, 22, 33411, 4776, 796, 366, 16, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 262, 749, 2173, 7781, 287, 257, 983, 810, 262, 4776, 373, 352, 12, 17, 30, 46506, 25882, 7, 13033, 8, 16034, 3084, 62, 23195, 2670, 29807, 62, 22, 33411, 4776, 796, 366, 16, 12, 17, 1 ]
what are the morning flights from PHILADELPHIA to DALLAS going on AA
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE (((flight.departure_time <= 0 AND flight.departure_time >= 1200) AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'PHILADELPHIA' AND flight.to_airport = AIRPORT_SERVICE_1.airport_code) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'DALLAS' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code) AND flight.airline_code = 'AA'
[ 10919, 389, 262, 3329, 13956, 422, 9370, 4146, 2885, 3698, 11909, 3539, 284, 360, 7036, 1921, 1016, 319, 317, 11159, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 16, 11, 1748, 7054, 27993, 62, 15, 11, 1748, 7054, 27993, 62, 16, 11, 5474, 33411, 14808, 7, 22560, 13, 10378, 433, 495, 62, 2435, 19841, 657, 5357, 5474, 13, 10378, 433, 495, 62, 2435, 18189, 24938, 8, 5357, 27993, 62, 16, 13, 19205, 62, 8189, 796 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3329, 13956, 422, 9370, 4146, 2885, 3698, 11909, 3539, 284, 360, 7036, 1921, 1016, 319, 317, 11159, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 16, 11, 1748, 7054, 27993, 62, 15, 11, 1748, 7054, 27993, 62, 16, 11, 5474, 33411, 14808, 7, 22560, 13, 10378, 433, 495, 62, 2435, 19841, 657, 5357, 5474, 13, 10378, 433, 495, 62, 2435, 18189, 24938, 8, 5357, 27993, 62, 16, 13, 19205, 62, 8189, 796 ]
Who was the replacement manager for the vacancy of 12 Dec 2009?
SELECT "Replaced by" FROM table_24912 WHERE "Date of vacancy" = '12 Dec 2009'
[ 8241, 373, 262, 9014, 4706, 329, 262, 39836, 286, 1105, 4280, 3717, 30, 46506, 366, 3041, 21820, 416, 1, 16034, 3084, 62, 21626, 1065, 33411, 366, 10430, 286, 39836, 1, 796, 705, 1065, 4280, 3717, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 373, 262, 9014, 4706, 329, 262, 39836, 286, 1105, 4280, 3717, 30, 46506, 366, 3041, 21820, 416, 1, 16034, 3084, 62, 21626, 1065, 33411, 366, 10430, 286, 39836, 1, 796, 705, 1065, 4280, 3717, 6 ]
Who is the sprint classification where Francisco Ventoso wins?
SELECT sprint_classification FROM table_29332810_14 WHERE winner = "Francisco Ventoso"
[ 8241, 318, 262, 18553, 17923, 810, 6033, 15716, 28213, 7864, 30, 46506, 18553, 62, 4871, 2649, 16034, 3084, 62, 1959, 2091, 2078, 940, 62, 1415, 33411, 8464, 796, 366, 42885, 4861, 15716, 28213, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 18553, 17923, 810, 6033, 15716, 28213, 7864, 30, 46506, 18553, 62, 4871, 2649, 16034, 3084, 62, 1959, 2091, 2078, 940, 62, 1415, 33411, 8464, 796, 366, 42885, 4861, 15716, 28213, 1 ]
What was the away teams score at Princes Park?
SELECT "Away team score" FROM table_10764 WHERE "Venue" = 'princes park'
[ 2061, 373, 262, 1497, 3466, 4776, 379, 7489, 728, 3250, 30, 46506, 366, 32, 1014, 1074, 4776, 1, 16034, 3084, 62, 15982, 2414, 33411, 366, 37522, 518, 1, 796, 705, 1050, 17386, 3952, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 1497, 3466, 4776, 379, 7489, 728, 3250, 30, 46506, 366, 32, 1014, 1074, 4776, 1, 16034, 3084, 62, 15982, 2414, 33411, 366, 37522, 518, 1, 796, 705, 1050, 17386, 3952, 6 ]
Who's the Winning driver with a Pole position of bryan herta?
SELECT winning_driver FROM table_name_46 WHERE pole_position = "bryan herta"
[ 8241, 338, 262, 40983, 4639, 351, 257, 29385, 2292, 286, 275, 29038, 607, 8326, 30, 46506, 5442, 62, 26230, 16034, 3084, 62, 3672, 62, 3510, 33411, 16825, 62, 9150, 796, 366, 65, 29038, 607, 8326, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 338, 262, 40983, 4639, 351, 257, 29385, 2292, 286, 275, 29038, 607, 8326, 30, 46506, 5442, 62, 26230, 16034, 3084, 62, 3672, 62, 3510, 33411, 16825, 62, 9150, 796, 366, 65, 29038, 607, 8326, 1 ]
Who directed the episode that had a production code of 2j5457?
SELECT directed_by FROM table_25851971_1 WHERE production_code = "2J5457"
[ 8241, 7924, 262, 4471, 326, 550, 257, 3227, 2438, 286, 362, 73, 20, 33032, 30, 46506, 7924, 62, 1525, 16034, 3084, 62, 1495, 5332, 41208, 62, 16, 33411, 3227, 62, 8189, 796, 366, 17, 41, 20, 33032, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4471, 326, 550, 257, 3227, 2438, 286, 362, 73, 20, 33032, 30, 46506, 7924, 62, 1525, 16034, 3084, 62, 1495, 5332, 41208, 62, 16, 33411, 3227, 62, 8189, 796, 366, 17, 41, 20, 33032, 1 ]
For those records from the products and each product's manufacturer, return a scatter chart about the correlation between manufacturer and code , and group by attribute founder.
SELECT T1.Manufacturer, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 1441, 257, 41058, 8262, 546, 262, 16096, 1022, 11554, 290, 2438, 837, 290, 1448, 416, 11688, 9119, 13, 46506, 309, 16, 13, 44445, 15051, 11, 309, 16, 13, 10669, 16034, 18675, 7054, 309, 16, 32357, 1268, 17858, 17496, 7054, 309, 17, 6177, 309, 16, 13, 44445, 15051, 796, 309, 17, 13, 10669, 44441, 11050, 30153 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1441, 257, 41058, 8262, 546, 262, 16096, 1022, 11554, 290, 2438, 837, 290, 1448, 416, 11688, 9119, 13, 46506, 309, 16, 13, 44445, 15051, 11, 309, 16, 13, 10669, 16034, 18675, 7054, 309, 16, 32357, 1268, 17858, 17496, 7054, 309, 17, 6177, 309, 16, 13, 44445, 15051, 796, 309, 17, 13, 10669, 44441, 11050, 30153 ]
What was the result for the candidate first elected in 1820?
SELECT result FROM table_2668243_19 WHERE first_elected = "1820"
[ 2061, 373, 262, 1255, 329, 262, 4540, 717, 7018, 287, 1248, 1238, 30, 46506, 1255, 16034, 3084, 62, 2075, 3104, 26660, 62, 1129, 33411, 717, 62, 28604, 796, 366, 1507, 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, 1 ]
[ 2061, 373, 262, 1255, 329, 262, 4540, 717, 7018, 287, 1248, 1238, 30, 46506, 1255, 16034, 3084, 62, 2075, 3104, 26660, 62, 1129, 33411, 717, 62, 28604, 796, 366, 1507, 1238, 1 ]
What is Constellation, when Date Sent is 'September 4, 2001', and when Distance ( ly ) is less than 57.4?
SELECT "Constellation" FROM table_60680 WHERE "Date sent" = 'september 4, 2001' AND "Distance ( ly )" < '57.4'
[ 2061, 318, 4757, 28828, 11, 618, 7536, 11352, 318, 705, 17543, 604, 11, 5878, 3256, 290, 618, 34600, 357, 22404, 1267, 318, 1342, 621, 7632, 13, 19, 30, 46506, 366, 34184, 28828, 1, 16034, 3084, 62, 33206, 1795, 33411, 366, 10430, 1908, 1, 796, 705, 325, 457, 1491, 604, 11, 5878, 6, 5357, 366, 45767, 357, 22404, 1267, 1, 1279, 705, 3553, 13, 19, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 4757, 28828, 11, 618, 7536, 11352, 318, 705, 17543, 604, 11, 5878, 3256, 290, 618, 34600, 357, 22404, 1267, 318, 1342, 621, 7632, 13, 19, 30, 46506, 366, 34184, 28828, 1, 16034, 3084, 62, 33206, 1795, 33411, 366, 10430, 1908, 1, 796, 705, 325, 457, 1491, 604, 11, 5878, 6, 5357, 366, 45767, 357, 22404, 1267, 1, 1279, 705, 3553, 13, 19, 6 ]
Name the most goals for josep samitier
SELECT MAX("Goals") FROM table_34179 WHERE "Name" = 'josep samitier'
[ 5376, 262, 749, 4661, 329, 474, 577, 79, 6072, 270, 959, 46506, 25882, 7203, 5247, 874, 4943, 16034, 3084, 62, 2682, 21738, 33411, 366, 5376, 1, 796, 705, 73, 577, 79, 6072, 270, 959, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 749, 4661, 329, 474, 577, 79, 6072, 270, 959, 46506, 25882, 7203, 5247, 874, 4943, 16034, 3084, 62, 2682, 21738, 33411, 366, 5376, 1, 796, 705, 73, 577, 79, 6072, 270, 959, 6 ]
What is the score of the home team whose opponent scored 5.10 (40)?
SELECT "Home team score" FROM table_55610 WHERE "Away team score" = '5.10 (40)'
[ 2061, 318, 262, 4776, 286, 262, 1363, 1074, 3025, 6125, 7781, 642, 13, 940, 357, 1821, 19427, 46506, 366, 16060, 1074, 4776, 1, 16034, 3084, 62, 37864, 940, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 20, 13, 940, 357, 1821, 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 ]
[ 2061, 318, 262, 4776, 286, 262, 1363, 1074, 3025, 6125, 7781, 642, 13, 940, 357, 1821, 19427, 46506, 366, 16060, 1074, 4776, 1, 16034, 3084, 62, 37864, 940, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 20, 13, 940, 357, 1821, 33047 ]
Questions and answers in certain time period for specific tag.
SELECT Q.Id AS "post_link" FROM Posts AS Q INNER JOIN PostTags ON PostTags.PostId = Q.Id INNER JOIN Tags ON Tags.Id = PostTags.TagId INNER JOIN Users ON Users.Id = Q.OwnerUserId WHERE NOT Tags.TagName LIKE @Pattern AND (@Closed = 1 OR Q.ClosedDate IS NULL) AND (Q.CreationDate BETWEEN @From AND @To OR EXISTS(SELECT * FROM Posts AS A WHERE A.ParentId = Q.Id AND A.CreationDate BETWEEN @From AND @To)) GROUP BY Q.Id, Q.CreationDate ORDER BY Q.CreationDate
[ 35741, 290, 7429, 287, 1728, 640, 2278, 329, 2176, 7621, 13, 46506, 1195, 13, 7390, 7054, 366, 7353, 62, 8726, 1, 16034, 12043, 7054, 1195, 3268, 21479, 32357, 1268, 2947, 36142, 6177, 2947, 36142, 13, 6307, 7390, 796, 1195, 13, 7390, 3268, 21479, 32357, 1268, 44789, 6177, 44789, 13, 7390, 796, 2947, 36142, 13, 24835, 7390, 3268, 21479, 32357, 1268, 18987, 6177, 18987, 13, 7390, 796, 1195, 13, 42419, 12982, 7390, 33411, 5626, 44789, 13, 24835, 5376, 34178, 2488, 47546, 5357, 4275, 2601, 1335, 796, 352, 6375, 1195, 13, 2601, 1335, 10430, 3180, 15697, 8, 5357, 357, 48, 13, 12443 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 290, 7429, 287, 1728, 640, 2278, 329, 2176, 7621, 13, 46506, 1195, 13, 7390, 7054, 366, 7353, 62, 8726, 1, 16034, 12043, 7054, 1195, 3268, 21479, 32357, 1268, 2947, 36142, 6177, 2947, 36142, 13, 6307, 7390, 796, 1195, 13, 7390, 3268, 21479, 32357, 1268, 44789, 6177, 44789, 13, 7390, 796, 2947, 36142, 13, 24835, 7390, 3268, 21479, 32357, 1268, 18987, 6177, 18987, 13, 7390, 796, 1195, 13, 42419, 12982, 7390, 33411, 5626, 44789, 13, 24835, 5376, 34178, 2488, 47546, 5357, 4275, 2601, 1335, 796, 352, 6375, 1195, 13, 2601, 1335, 10430, 3180, 15697, 8, 5357, 357, 48, 13, 12443 ]
WHat is the lowest amount of bronze medals for teams with 9 silvers and less than 27 points?
SELECT MIN("Bronze") FROM table_46574 WHERE "Silver" = '9' AND "Total" < '27'
[ 12418, 265, 318, 262, 9016, 2033, 286, 22101, 28057, 329, 3466, 351, 860, 3313, 690, 290, 1342, 621, 2681, 2173, 30, 46506, 20625, 7203, 18760, 2736, 4943, 16034, 3084, 62, 42018, 4524, 33411, 366, 26766, 1, 796, 705, 24, 6, 5357, 366, 14957, 1, 1279, 705, 1983, 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 ]
[ 12418, 265, 318, 262, 9016, 2033, 286, 22101, 28057, 329, 3466, 351, 860, 3313, 690, 290, 1342, 621, 2681, 2173, 30, 46506, 20625, 7203, 18760, 2736, 4943, 16034, 3084, 62, 42018, 4524, 33411, 366, 26766, 1, 796, 705, 24, 6, 5357, 366, 14957, 1, 1279, 705, 1983, 6 ]
What was the sample size for the poll from Nov 9-11, 2007 with a margin of error less than 4.3?
SELECT MAX(sample_size) FROM table_name_72 WHERE date = "nov 9-11, 2007" AND margin_of_error < 4.3
[ 2061, 373, 262, 6291, 2546, 329, 262, 3278, 422, 5267, 860, 12, 1157, 11, 4343, 351, 257, 10330, 286, 4049, 1342, 621, 604, 13, 18, 30, 46506, 25882, 7, 39873, 62, 7857, 8, 16034, 3084, 62, 3672, 62, 4761, 33411, 3128, 796, 366, 37302, 860, 12, 1157, 11, 4343, 1, 5357, 10330, 62, 1659, 62, 18224, 1279, 604, 13, 18 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6291, 2546, 329, 262, 3278, 422, 5267, 860, 12, 1157, 11, 4343, 351, 257, 10330, 286, 4049, 1342, 621, 604, 13, 18, 30, 46506, 25882, 7, 39873, 62, 7857, 8, 16034, 3084, 62, 3672, 62, 4761, 33411, 3128, 796, 366, 37302, 860, 12, 1157, 11, 4343, 1, 5357, 10330, 62, 1659, 62, 18224, 1279, 604, 13, 18 ]
show me information on ground transportation for DALLAS
SELECT DISTINCT ground_service.transport_type FROM city, ground_service WHERE city.city_name = 'DALLAS' AND ground_service.city_code = city.city_code
[ 12860, 502, 1321, 319, 2323, 9358, 329, 360, 7036, 1921, 46506, 360, 8808, 1268, 4177, 2323, 62, 15271, 13, 7645, 634, 62, 4906, 16034, 1748, 11, 2323, 62, 15271, 33411, 1748, 13, 19205, 62, 3672, 796, 705, 35, 7036, 1921, 6, 5357, 2323, 62, 15271, 13, 19205, 62, 8189, 796, 1748, 13, 19205, 62, 8189 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1321, 319, 2323, 9358, 329, 360, 7036, 1921, 46506, 360, 8808, 1268, 4177, 2323, 62, 15271, 13, 7645, 634, 62, 4906, 16034, 1748, 11, 2323, 62, 15271, 33411, 1748, 13, 19205, 62, 3672, 796, 705, 35, 7036, 1921, 6, 5357, 2323, 62, 15271, 13, 19205, 62, 8189, 796, 1748, 13, 19205, 62, 8189 ]
show me the two year survival rate of patients who have been prescribed ipratropium-albuterol after having been diagnosed with hypernatremia?
SELECT SUM(CASE WHEN patient.hospitaldischargestatus = 'alive' THEN 1 WHEN STRFTIME('%j', patient.hospitaldischargetime) - STRFTIME('%j', t4.diagnosistime) > 2 * 365 THEN 1 ELSE 0 END) * 100 / COUNT(*) FROM (SELECT t2.uniquepid, t2.diagnosistime FROM (SELECT t1.uniquepid, t1.diagnosistime FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'hypernatremia' GROUP BY patient.uniquepid HAVING MIN(diagnosis.diagnosistime) = diagnosis.diagnosistime) AS t1) AS t2 JOIN (SELECT patient.uniquepid, medication.drugstarttime FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid WHERE medication.drugname = 'ipratropium-albuterol') AS t3 ON t2.uniquepid = t3.uniquepid WHERE t2.diagnosistime < t3.drugstarttime) AS t4 JOIN patient ON t4.uniquepid = patient.uniquepid
[ 12860, 502, 262, 734, 614, 9441, 2494, 286, 3871, 508, 423, 587, 14798, 20966, 10366, 1773, 1505, 12, 282, 4360, 263, 349, 706, 1719, 587, 14641, 351, 8718, 32353, 2787, 544, 30, 46506, 35683, 7, 34, 11159, 42099, 5827, 13, 49257, 6381, 11121, 395, 7240, 796, 705, 282, 425, 6, 42243, 352, 42099, 19269, 9792, 12789, 10786, 4, 73, 3256, 5827, 13, 49257, 6381, 354, 7641, 524, 8, 532, 19269, 9792, 12789, 10786, 4, 73, 3256, 256, 19, 13, 47356, 418, 396, 524, 8, 1875, 362, 1635, 21268, 42243, 352, 17852, 5188, 657, 23578, 8, 1635, 1802, 1220, 327, 28270 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 262, 734, 614, 9441, 2494, 286, 3871, 508, 423, 587, 14798, 20966, 10366, 1773, 1505, 12, 282, 4360, 263, 349, 706, 1719, 587, 14641, 351, 8718, 32353, 2787, 544, 30, 46506, 35683, 7, 34, 11159, 42099, 5827, 13, 49257, 6381, 11121, 395, 7240, 796, 705, 282, 425, 6, 42243, 352, 42099, 19269, 9792, 12789, 10786, 4, 73, 3256, 5827, 13, 49257, 6381, 354, 7641, 524, 8, 532, 19269, 9792, 12789, 10786, 4, 73, 3256, 256, 19, 13, 47356, 418, 396, 524, 8, 1875, 362, 1635, 21268, 42243, 352, 17852, 5188, 657, 23578, 8, 1635, 1802, 1220, 327, 28270 ]
What is the employee id of the head whose department has the least number of employees?
SELECT head FROM department GROUP BY departmentID ORDER BY COUNT(departmentID) LIMIT 1
[ 2061, 318, 262, 6538, 4686, 286, 262, 1182, 3025, 5011, 468, 262, 1551, 1271, 286, 4409, 30, 46506, 1182, 16034, 5011, 44441, 11050, 5011, 2389, 38678, 11050, 327, 28270, 7, 10378, 1823, 2389, 8, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 6538, 4686, 286, 262, 1182, 3025, 5011, 468, 262, 1551, 1271, 286, 4409, 30, 46506, 1182, 16034, 5011, 44441, 11050, 5011, 2389, 38678, 11050, 327, 28270, 7, 10378, 1823, 2389, 8, 27564, 2043, 352 ]
What is the date of the match with a home team of Huddersfield Town and was a replay tie?
SELECT date FROM table_name_93 WHERE tie_no = "replay" AND home_team = "huddersfield town"
[ 2061, 318, 262, 3128, 286, 262, 2872, 351, 257, 1363, 1074, 286, 367, 4185, 364, 3245, 8329, 290, 373, 257, 24788, 9839, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 6052, 33411, 9839, 62, 3919, 796, 366, 260, 1759, 1, 5357, 1363, 62, 15097, 796, 366, 71, 4185, 364, 3245, 3240, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 3128, 286, 262, 2872, 351, 257, 1363, 1074, 286, 367, 4185, 364, 3245, 8329, 290, 373, 257, 24788, 9839, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 6052, 33411, 9839, 62, 3919, 796, 366, 260, 1759, 1, 5357, 1363, 62, 15097, 796, 366, 71, 4185, 364, 3245, 3240, 1 ]
What Song has a Length of 2:50?
SELECT "Song Title" FROM table_64503 WHERE "Length" = '2:50'
[ 2061, 10940, 468, 257, 22313, 286, 362, 25, 1120, 30, 46506, 366, 44241, 11851, 1, 16034, 3084, 62, 2414, 31938, 33411, 366, 24539, 1, 796, 705, 17, 25, 1120, 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 ]
[ 2061, 10940, 468, 257, 22313, 286, 362, 25, 1120, 30, 46506, 366, 44241, 11851, 1, 16034, 3084, 62, 2414, 31938, 33411, 366, 24539, 1, 796, 705, 17, 25, 1120, 6 ]
What is Date, when Away Team is 'Barnet'?
SELECT date FROM table_name_7 WHERE away_team = "barnet"
[ 2061, 318, 7536, 11, 618, 21986, 4816, 318, 705, 47359, 316, 30960, 46506, 3128, 16034, 3084, 62, 3672, 62, 22, 33411, 1497, 62, 15097, 796, 366, 65, 1501, 316, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 7536, 11, 618, 21986, 4816, 318, 705, 47359, 316, 30960, 46506, 3128, 16034, 3084, 62, 3672, 62, 22, 33411, 1497, 62, 15097, 796, 366, 65, 1501, 316, 1 ]
For those employees who do not work in departments with managers that have ids between 100 and 200, give me the comparison about the average of employee_id over the hire_date bin hire_date by weekday by a bar chart.
SELECT HIRE_DATE, AVG(EMPLOYEE_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, 1577, 502, 262, 7208, 546, 262, 2811, 286, 6538, 62, 312, 625, 262, 11078, 62, 4475, 9874, 11078, 62, 4475, 416, 28269, 416, 257, 2318, 8262, 13, 46506, 36210, 2200, 62, 35, 6158, 11, 35224, 7, 3620, 6489, 21414, 6500, 62, 2389, 8, 16034, 4409, 33411, 5626, 5550, 30709, 10979, 62, 2389, 3268, 357, 46506, 5550, 30709, 10979, 62, 2389, 16034, 13346, 33411, 17254, 4760, 1137, 62, 2389, 38651, 8845, 1677, 1802, 5357, 939, 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, 1, 1, 1, 1, 1, 1, 1, 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, 1577, 502, 262, 7208, 546, 262, 2811, 286, 6538, 62, 312, 625, 262, 11078, 62, 4475, 9874, 11078, 62, 4475, 416, 28269, 416, 257, 2318, 8262, 13, 46506, 36210, 2200, 62, 35, 6158, 11, 35224, 7, 3620, 6489, 21414, 6500, 62, 2389, 8, 16034, 4409, 33411, 5626, 5550, 30709, 10979, 62, 2389, 3268, 357, 46506, 5550, 30709, 10979, 62, 2389, 16034, 13346, 33411, 17254, 4760, 1137, 62, 2389, 38651, 8845, 1677, 1802, 5357, 939, 8 ]
Filter Title Questions by Two Tags.
SELECT P.Title, P.Tags, P.CreationDate FROM Posts AS P, PostTags AS Pt, Tags AS T WHERE P.Id = Pt.PostId AND T.Id = Pt.TagId AND T.TagName = '##tags##' AND T.TagName != '##tags2##'
[ 22417, 11851, 20396, 416, 4930, 44789, 13, 46506, 350, 13, 19160, 11, 350, 13, 36142, 11, 350, 13, 12443, 341, 10430, 16034, 12043, 7054, 350, 11, 2947, 36142, 7054, 34352, 11, 44789, 7054, 309, 33411, 350, 13, 7390, 796, 34352, 13, 6307, 7390, 5357, 309, 13, 7390, 796, 34352, 13, 24835, 7390, 5357, 309, 13, 24835, 5376, 796, 705, 2235, 31499, 2235, 6, 5357, 309, 13, 24835, 5376, 14512, 705, 2235, 31499, 17, 2235, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 22417, 11851, 20396, 416, 4930, 44789, 13, 46506, 350, 13, 19160, 11, 350, 13, 36142, 11, 350, 13, 12443, 341, 10430, 16034, 12043, 7054, 350, 11, 2947, 36142, 7054, 34352, 11, 44789, 7054, 309, 33411, 350, 13, 7390, 796, 34352, 13, 6307, 7390, 5357, 309, 13, 7390, 796, 34352, 13, 24835, 7390, 5357, 309, 13, 24835, 5376, 796, 705, 2235, 31499, 2235, 6, 5357, 309, 13, 24835, 5376, 14512, 705, 2235, 31499, 17, 2235, 6 ]
User with most questions asked.
SELECT Users.Id AS "user_link", QuestionCounts.PostsCount AS "number_of_questions", AnswerCounts.PostsCount AS "number_of_answers" FROM (SELECT OwnerUserId, COUNT(Id) AS PostsCount FROM Posts WHERE PostTypeId = 1 GROUP BY OwnerUserId) AS QuestionCounts, (SELECT OwnerUserId, COUNT(Id) AS PostsCount FROM Posts WHERE PostTypeId = 2 GROUP BY OwnerUserId) AS AnswerCounts, Users WHERE Users.Id = QuestionCounts.OwnerUserId AND Users.Id = AnswerCounts.OwnerUserId ORDER BY QuestionCounts.PostsCount DESC LIMIT 50
[ 12982, 351, 749, 2683, 1965, 13, 46506, 18987, 13, 7390, 7054, 366, 7220, 62, 8726, 1600, 18233, 12332, 82, 13, 21496, 12332, 7054, 366, 17618, 62, 1659, 62, 6138, 507, 1600, 23998, 12332, 82, 13, 21496, 12332, 7054, 366, 17618, 62, 1659, 62, 504, 86, 364, 1, 16034, 357, 46506, 23853, 12982, 7390, 11, 327, 28270, 7, 7390, 8, 7054, 12043, 12332, 16034, 12043, 33411, 2947, 6030, 7390, 796, 352, 44441, 11050, 23853, 12982, 7390, 8, 7054, 18233, 12332, 82, 11, 357, 46506, 23853, 12982, 7390, 11, 327, 28270, 7, 7390, 8, 7054, 12043, 12332, 16034, 12043, 33411, 2947, 6030 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 12982, 351, 749, 2683, 1965, 13, 46506, 18987, 13, 7390, 7054, 366, 7220, 62, 8726, 1600, 18233, 12332, 82, 13, 21496, 12332, 7054, 366, 17618, 62, 1659, 62, 6138, 507, 1600, 23998, 12332, 82, 13, 21496, 12332, 7054, 366, 17618, 62, 1659, 62, 504, 86, 364, 1, 16034, 357, 46506, 23853, 12982, 7390, 11, 327, 28270, 7, 7390, 8, 7054, 12043, 12332, 16034, 12043, 33411, 2947, 6030, 7390, 796, 352, 44441, 11050, 23853, 12982, 7390, 8, 7054, 18233, 12332, 82, 11, 357, 46506, 23853, 12982, 7390, 11, 327, 28270, 7, 7390, 8, 7054, 12043, 12332, 16034, 12043, 33411, 2947, 6030 ]
List document id of documents status is done and document type is Paper and the document is shipped by shipping agent named USPS.
SELECT document_id FROM documents WHERE document_status_code = "done" AND document_type_code = "Paper" INTERSECT SELECT document_id FROM documents JOIN ref_shipping_agents ON documents.shipping_agent_code = ref_shipping_agents.shipping_agent_code WHERE ref_shipping_agents.shipping_agent_name = "USPS"
[ 8053, 3188, 4686, 286, 4963, 3722, 318, 1760, 290, 3188, 2099, 318, 14962, 290, 262, 3188, 318, 14338, 416, 8440, 5797, 3706, 44640, 13, 46506, 3188, 62, 312, 16034, 4963, 33411, 3188, 62, 13376, 62, 8189, 796, 366, 28060, 1, 5357, 3188, 62, 4906, 62, 8189, 796, 366, 42950, 1, 17828, 4877, 9782, 33493, 3188, 62, 312, 16034, 4963, 32357, 1268, 1006, 62, 1477, 4501, 62, 49638, 6177, 4963, 13, 1477, 4501, 62, 25781, 62, 8189, 796, 1006, 62, 1477, 4501, 62, 49638, 13, 1477, 4501, 62, 25781, 62, 8189, 33411, 1006, 62, 1477, 4501, 62, 49638, 13, 1477, 4501 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3188, 4686, 286, 4963, 3722, 318, 1760, 290, 3188, 2099, 318, 14962, 290, 262, 3188, 318, 14338, 416, 8440, 5797, 3706, 44640, 13, 46506, 3188, 62, 312, 16034, 4963, 33411, 3188, 62, 13376, 62, 8189, 796, 366, 28060, 1, 5357, 3188, 62, 4906, 62, 8189, 796, 366, 42950, 1, 17828, 4877, 9782, 33493, 3188, 62, 312, 16034, 4963, 32357, 1268, 1006, 62, 1477, 4501, 62, 49638, 6177, 4963, 13, 1477, 4501, 62, 25781, 62, 8189, 796, 1006, 62, 1477, 4501, 62, 49638, 13, 1477, 4501, 62, 25781, 62, 8189, 33411, 1006, 62, 1477, 4501, 62, 49638, 13, 1477, 4501 ]
how many patients received coronar arteriogr-1 cath in the same month after the diagnosis of dermatitis nos, since 2105?
SELECT COUNT(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'dermatitis nos') AND STRFTIME('%y', diagnoses_icd.charttime) >= '2105') AS t1 JOIN (SELECT admissions.subject_id, procedures_icd.charttime FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'coronar arteriogr-1 cath') AND STRFTIME('%y', procedures_icd.charttime) >= '2105') AS t2 ON t1.subject_id = t2.subject_id WHERE t1.charttime < t2.charttime AND DATETIME(t1.charttime, 'start of month') = DATETIME(t2.charttime, 'start of month')
[ 4919, 867, 3871, 2722, 26920, 283, 30675, 72, 519, 81, 12, 16, 32171, 287, 262, 976, 1227, 706, 262, 13669, 286, 40363, 11815, 43630, 11, 1201, 362, 13348, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 32796, 62, 312, 8, 16034, 357, 46506, 25349, 13, 32796, 62, 312, 11, 40567, 62, 291, 67, 13, 40926, 2435, 16034, 40567, 62, 291, 67, 32357, 1268, 25349, 6177, 40567, 62, 291, 67, 13, 18108, 76, 62, 312, 796, 25349, 13, 18108, 76, 62, 312, 33411, 40567, 62, 291, 67, 13, 291, 67, 24, 62, 8189, 796, 357, 46506, 288 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2722, 26920, 283, 30675, 72, 519, 81, 12, 16, 32171, 287, 262, 976, 1227, 706, 262, 13669, 286, 40363, 11815, 43630, 11, 1201, 362, 13348, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 32796, 62, 312, 8, 16034, 357, 46506, 25349, 13, 32796, 62, 312, 11, 40567, 62, 291, 67, 13, 40926, 2435, 16034, 40567, 62, 291, 67, 32357, 1268, 25349, 6177, 40567, 62, 291, 67, 13, 18108, 76, 62, 312, 796, 25349, 13, 18108, 76, 62, 312, 33411, 40567, 62, 291, 67, 13, 291, 67, 24, 62, 8189, 796, 357, 46506, 288 ]
how many friendly games have been played ?
SELECT COUNT(*) FROM table_204_275 WHERE "type of game" = 'friendly'
[ 4919, 867, 8030, 1830, 423, 587, 2826, 5633, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 18638, 62, 23195, 33411, 366, 4906, 286, 983, 1, 796, 705, 13120, 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 ]
[ 4919, 867, 8030, 1830, 423, 587, 2826, 5633, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 18638, 62, 23195, 33411, 366, 4906, 286, 983, 1, 796, 705, 13120, 6 ]
For all employees who have the letters D or S in their first name, return a bar chart about the distribution of hire_date and the sum of manager_id bin hire_date by time, sort Y-axis from high to low order.
SELECT HIRE_DATE, SUM(MANAGER_ID) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' ORDER BY SUM(MANAGER_ID) DESC
[ 1890, 477, 4409, 508, 423, 262, 7475, 360, 393, 311, 287, 511, 717, 1438, 11, 1441, 257, 2318, 8262, 546, 262, 6082, 286, 11078, 62, 4475, 290, 262, 2160, 286, 4706, 62, 312, 9874, 11078, 62, 4475, 416, 640, 11, 3297, 575, 12, 22704, 422, 1029, 284, 1877, 1502, 13, 46506, 36210, 2200, 62, 35, 6158, 11, 35683, 7, 10725, 4760, 1137, 62, 2389, 8, 16034, 4409, 33411, 31328, 62, 20608, 34178, 705, 4, 35, 4, 6, 6375, 31328, 62, 20608, 34178, 705, 4, 50, 4, 6, 38678, 11050, 35683, 7, 10725, 4760, 1137, 62, 2389, 8, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1890, 477, 4409, 508, 423, 262, 7475, 360, 393, 311, 287, 511, 717, 1438, 11, 1441, 257, 2318, 8262, 546, 262, 6082, 286, 11078, 62, 4475, 290, 262, 2160, 286, 4706, 62, 312, 9874, 11078, 62, 4475, 416, 640, 11, 3297, 575, 12, 22704, 422, 1029, 284, 1877, 1502, 13, 46506, 36210, 2200, 62, 35, 6158, 11, 35683, 7, 10725, 4760, 1137, 62, 2389, 8, 16034, 4409, 33411, 31328, 62, 20608, 34178, 705, 4, 35, 4, 6, 6375, 31328, 62, 20608, 34178, 705, 4, 50, 4, 6, 38678, 11050, 35683, 7, 10725, 4760, 1137, 62, 2389, 8, 22196, 34 ]
What is the name of all tracks in the album named Balls to the Wall?
SELECT T2.name FROM albums AS T1 JOIN tracks AS T2 ON T1.id = T2.genre_id WHERE T1.title = "Balls to the Wall"
[ 2061, 318, 262, 1438, 286, 477, 8339, 287, 262, 5062, 3706, 39332, 284, 262, 5007, 30, 46506, 309, 17, 13, 3672, 16034, 16788, 7054, 309, 16, 32357, 1268, 8339, 7054, 309, 17, 6177, 309, 16, 13, 312, 796, 309, 17, 13, 35850, 62, 312, 33411, 309, 16, 13, 7839, 796, 366, 33, 5691, 284, 262, 5007, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 477, 8339, 287, 262, 5062, 3706, 39332, 284, 262, 5007, 30, 46506, 309, 17, 13, 3672, 16034, 16788, 7054, 309, 16, 32357, 1268, 8339, 7054, 309, 17, 6177, 309, 16, 13, 312, 796, 309, 17, 13, 35850, 62, 312, 33411, 309, 16, 13, 7839, 796, 366, 33, 5691, 284, 262, 5007, 1 ]
where is a good restaurant in the yosemite and mono lake area for french food ?
SELECT location.house_number, restaurant.name FROM geographic, location, restaurant WHERE geographic.region = 'yosemite and mono lake area' AND restaurant.city_name = geographic.city_name AND restaurant.food_type = 'french' AND restaurant.id = location.restaurant_id AND restaurant.rating > 2.5
[ 3003, 318, 257, 922, 7072, 287, 262, 331, 577, 32937, 290, 33361, 13546, 1989, 329, 48718, 2057, 5633, 46506, 4067, 13, 4803, 62, 17618, 11, 7072, 13, 3672, 16034, 22987, 11, 4067, 11, 7072, 33411, 22987, 13, 36996, 796, 705, 88, 577, 32937, 290, 33361, 13546, 1989, 6, 5357, 7072, 13, 19205, 62, 3672, 796, 22987, 13, 19205, 62, 3672, 5357, 7072, 13, 19425, 62, 4906, 796, 705, 69, 3532, 6, 5357, 7072, 13, 312, 796, 4067, 13, 2118, 2899, 415, 62, 312, 5357, 7072, 13, 8821, 1875, 362, 13, 20 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 3003, 318, 257, 922, 7072, 287, 262, 331, 577, 32937, 290, 33361, 13546, 1989, 329, 48718, 2057, 5633, 46506, 4067, 13, 4803, 62, 17618, 11, 7072, 13, 3672, 16034, 22987, 11, 4067, 11, 7072, 33411, 22987, 13, 36996, 796, 705, 88, 577, 32937, 290, 33361, 13546, 1989, 6, 5357, 7072, 13, 19205, 62, 3672, 796, 22987, 13, 19205, 62, 3672, 5357, 7072, 13, 19425, 62, 4906, 796, 705, 69, 3532, 6, 5357, 7072, 13, 312, 796, 4067, 13, 2118, 2899, 415, 62, 312, 5357, 7072, 13, 8821, 1875, 362, 13, 20 ]
Which Interview subject has a Centerfold model of athena lundberg?
SELECT interview_subject FROM table_name_60 WHERE centerfold_model = "athena lundberg"
[ 13828, 19371, 2426, 468, 257, 3337, 11379, 2746, 286, 379, 831, 64, 300, 917, 3900, 30, 46506, 2720, 62, 32796, 16034, 3084, 62, 3672, 62, 1899, 33411, 3641, 11379, 62, 19849, 796, 366, 265, 831, 64, 300, 917, 3900, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 19371, 2426, 468, 257, 3337, 11379, 2746, 286, 379, 831, 64, 300, 917, 3900, 30, 46506, 2720, 62, 32796, 16034, 3084, 62, 3672, 62, 1899, 33411, 3641, 11379, 62, 19849, 796, 366, 265, 831, 64, 300, 917, 3900, 1 ]
What is the occupation of the candidate that has a riding of labrador?
SELECT "Occupation" FROM table_55553 WHERE "Riding" = 'labrador'
[ 2061, 318, 262, 13755, 286, 262, 4540, 326, 468, 257, 10311, 286, 2248, 40368, 30, 46506, 366, 47658, 341, 1, 16034, 3084, 62, 2816, 48096, 33411, 366, 49, 2530, 1, 796, 705, 23912, 40368, 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, 13755, 286, 262, 4540, 326, 468, 257, 10311, 286, 2248, 40368, 30, 46506, 366, 47658, 341, 1, 16034, 3084, 62, 2816, 48096, 33411, 366, 49, 2530, 1, 796, 705, 23912, 40368, 6 ]
What is the 2004 population for ?
SELECT "Population (2004 est.)" FROM table_43597 WHERE "Hanzi" = '山海关区'
[ 2061, 318, 262, 5472, 3265, 329, 5633, 46506, 366, 45251, 357, 15724, 1556, 2014, 1, 16034, 3084, 62, 40064, 5607, 33411, 366, 29919, 17027, 1, 796, 705, 161, 109, 109, 38184, 115, 17739, 111, 44293, 118, 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, 5472, 3265, 329, 5633, 46506, 366, 45251, 357, 15724, 1556, 2014, 1, 16034, 3084, 62, 40064, 5607, 33411, 366, 29919, 17027, 1, 796, 705, 161, 109, 109, 38184, 115, 17739, 111, 44293, 118, 6 ]
What is the average Year that has a Quantity of 10, and a GWR Numbers of 409, 290, 315, 317 321, 324, 333?
SELECT AVG("Year") FROM table_8402 WHERE "Quantity" = '10' AND "GWR Numbers" = '409, 290, 315, 317–321, 324, 333'
[ 2061, 318, 262, 2811, 6280, 326, 468, 257, 39789, 286, 838, 11, 290, 257, 402, 18564, 27797, 286, 48132, 11, 26481, 11, 32647, 11, 37563, 39595, 11, 38595, 11, 23460, 30, 46506, 35224, 7203, 17688, 4943, 16034, 3084, 62, 23, 32531, 33411, 366, 31208, 1, 796, 705, 940, 6, 5357, 366, 38, 18564, 27797, 1, 796, 705, 29416, 11, 26481, 11, 32647, 11, 37563, 1906, 36453, 11, 38595, 11, 23460, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2811, 6280, 326, 468, 257, 39789, 286, 838, 11, 290, 257, 402, 18564, 27797, 286, 48132, 11, 26481, 11, 32647, 11, 37563, 39595, 11, 38595, 11, 23460, 30, 46506, 35224, 7203, 17688, 4943, 16034, 3084, 62, 23, 32531, 33411, 366, 31208, 1, 796, 705, 940, 6, 5357, 366, 38, 18564, 27797, 1, 796, 705, 29416, 11, 26481, 11, 32647, 11, 37563, 1906, 36453, 11, 38595, 11, 23460, 6 ]
Show all the activity names and the number of faculty involved in each activity in a bar chart, and I want to list bars in ascending order.
SELECT activity_name, COUNT(*) FROM Activity AS T1 JOIN Faculty_Participates_in AS T2 ON T1.actid = T2.actid GROUP BY T1.actid ORDER BY activity_name
[ 15307, 477, 262, 3842, 3891, 290, 262, 1271, 286, 12829, 2950, 287, 1123, 3842, 287, 257, 2318, 8262, 11, 290, 314, 765, 284, 1351, 9210, 287, 41988, 1502, 13, 46506, 3842, 62, 3672, 11, 327, 28270, 7, 28104, 16034, 24641, 7054, 309, 16, 32357, 1268, 35262, 62, 34363, 689, 62, 259, 7054, 309, 17, 6177, 309, 16, 13, 529, 312, 796, 309, 17, 13, 529, 312, 44441, 11050, 309, 16, 13, 529, 312, 38678, 11050, 3842, 62, 3672 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 477, 262, 3842, 3891, 290, 262, 1271, 286, 12829, 2950, 287, 1123, 3842, 287, 257, 2318, 8262, 11, 290, 314, 765, 284, 1351, 9210, 287, 41988, 1502, 13, 46506, 3842, 62, 3672, 11, 327, 28270, 7, 28104, 16034, 24641, 7054, 309, 16, 32357, 1268, 35262, 62, 34363, 689, 62, 259, 7054, 309, 17, 6177, 309, 16, 13, 529, 312, 796, 309, 17, 13, 529, 312, 44441, 11050, 309, 16, 13, 529, 312, 38678, 11050, 3842, 62, 3672 ]
count the number of times patient 030-21071 got the indwelling catheter on last month/21.
SELECT COUNT(*) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '030-21071')) AND intakeoutput.cellpath LIKE '%output%' AND intakeoutput.celllabel = 'indwelling catheter' AND DATETIME(intakeoutput.intakeoutputtime, 'start of month') = DATETIME(CURRENT_TIME(), 'start of month', '-1 month') AND STRFTIME('%d', intakeoutput.intakeoutputtime) = '21'
[ 9127, 262, 1271, 286, 1661, 5827, 657, 1270, 12, 21536, 4869, 1392, 262, 773, 4053, 278, 3797, 43332, 319, 938, 1227, 14, 2481, 13, 46506, 327, 28270, 7, 28104, 16034, 10337, 22915, 33411, 10337, 22915, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 39101, 12, 21536, 4869, 6, 4008, 5357, 10337, 22915, 13, 3846, 6978, 34178, 705, 4, 22915, 4, 6, 5357, 10337 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 9127, 262, 1271, 286, 1661, 5827, 657, 1270, 12, 21536, 4869, 1392, 262, 773, 4053, 278, 3797, 43332, 319, 938, 1227, 14, 2481, 13, 46506, 327, 28270, 7, 28104, 16034, 10337, 22915, 33411, 10337, 22915, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 39101, 12, 21536, 4869, 6, 4008, 5357, 10337, 22915, 13, 3846, 6978, 34178, 705, 4, 22915, 4, 6, 5357, 10337 ]
what is the location when the type is embassy and the mission is panama?
SELECT "Location" FROM table_60653 WHERE "Type" = 'embassy' AND "Mission" = 'panama'
[ 10919, 318, 262, 4067, 618, 262, 2099, 318, 18613, 290, 262, 4365, 318, 3425, 1689, 30, 46506, 366, 14749, 1, 16034, 3084, 62, 1899, 46435, 33411, 366, 6030, 1, 796, 705, 24419, 11720, 6, 5357, 366, 37057, 1, 796, 705, 6839, 1689, 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 ]
[ 10919, 318, 262, 4067, 618, 262, 2099, 318, 18613, 290, 262, 4365, 318, 3425, 1689, 30, 46506, 366, 14749, 1, 16034, 3084, 62, 1899, 46435, 33411, 366, 6030, 1, 796, 705, 24419, 11720, 6, 5357, 366, 37057, 1, 796, 705, 6839, 1689, 6 ]
What is the tie number when the home team is Port Vale?
SELECT tie_no FROM table_name_72 WHERE home_team = "port vale"
[ 2061, 318, 262, 9839, 1271, 618, 262, 1363, 1074, 318, 4347, 31832, 30, 46506, 9839, 62, 3919, 16034, 3084, 62, 3672, 62, 4761, 33411, 1363, 62, 15097, 796, 366, 634, 410, 1000, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1271, 618, 262, 1363, 1074, 318, 4347, 31832, 30, 46506, 9839, 62, 3919, 16034, 3084, 62, 3672, 62, 4761, 33411, 1363, 62, 15097, 796, 366, 634, 410, 1000, 1 ]
Tell me what my GPA is .
SELECT DISTINCT total_gpa FROM student WHERE student_id = 1
[ 24446, 502, 644, 616, 45283, 318, 764, 46506, 360, 8808, 1268, 4177, 2472, 62, 70, 8957, 16034, 3710, 33411, 3710, 62, 312, 796, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 24446, 502, 644, 616, 45283, 318, 764, 46506, 360, 8808, 1268, 4177, 2472, 62, 70, 8957, 16034, 3710, 33411, 3710, 62, 312, 796, 352 ]
what is the tonnage grt of the ship author?
SELECT "Tonnage GRT" FROM table_77988 WHERE "Ship" = 'author'
[ 10919, 318, 262, 5680, 77, 496, 1036, 83, 286, 262, 4074, 1772, 30, 46506, 366, 35416, 77, 496, 10863, 51, 1, 16034, 3084, 62, 40393, 3459, 33411, 366, 25586, 1, 796, 705, 9800, 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 ]
[ 10919, 318, 262, 5680, 77, 496, 1036, 83, 286, 262, 4074, 1772, 30, 46506, 366, 35416, 77, 496, 10863, 51, 1, 16034, 3084, 62, 40393, 3459, 33411, 366, 25586, 1, 796, 705, 9800, 6 ]
What city is the Stadium est dio dr. magalh es pessoa in?
SELECT "City" FROM table_62635 WHERE "Stadium" = 'estádio dr. magalhães pessoa'
[ 2061, 1748, 318, 262, 10499, 1556, 288, 952, 1553, 13, 2153, 282, 71, 1658, 279, 408, 12162, 287, 30, 46506, 366, 14941, 1, 16034, 3084, 62, 45191, 2327, 33411, 366, 1273, 6271, 1, 796, 705, 395, 6557, 67, 952, 1553, 13, 2153, 282, 71, 26102, 274, 279, 408, 12162, 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 ]
[ 2061, 1748, 318, 262, 10499, 1556, 288, 952, 1553, 13, 2153, 282, 71, 1658, 279, 408, 12162, 287, 30, 46506, 366, 14941, 1, 16034, 3084, 62, 45191, 2327, 33411, 366, 1273, 6271, 1, 796, 705, 395, 6557, 67, 952, 1553, 13, 2153, 282, 71, 26102, 274, 279, 408, 12162, 6 ]
patient stephanie suchan is covered by which health insurance?
SELECT demographic.insurance FROM demographic WHERE demographic.name = "Stephanie Suchan"
[ 26029, 2239, 7637, 494, 884, 272, 318, 5017, 416, 543, 1535, 5096, 30, 46506, 16728, 13, 1040, 3874, 16034, 16728, 33411, 16728, 13, 3672, 796, 366, 8600, 7637, 494, 8013, 272, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 26029, 2239, 7637, 494, 884, 272, 318, 5017, 416, 543, 1535, 5096, 30, 46506, 16728, 13, 1040, 3874, 16034, 16728, 33411, 16728, 13, 3672, 796, 366, 8600, 7637, 494, 8013, 272, 1 ]
what are the four most commonly prescribed medications for patients that have been prescribed with nateglinide previously during the same month the last year?
SELECT t3.drug FROM (SELECT t2.drug, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, prescriptions.startdate FROM prescriptions JOIN admissions ON prescriptions.hadm_id = admissions.hadm_id WHERE prescriptions.drug = 'nateglinide' AND DATETIME(prescriptions.startdate, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year')) AS t1 JOIN (SELECT admissions.subject_id, prescriptions.drug, prescriptions.startdate FROM prescriptions JOIN admissions ON prescriptions.hadm_id = admissions.hadm_id WHERE DATETIME(prescriptions.startdate, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year')) AS t2 ON t1.subject_id = t2.subject_id WHERE t1.startdate < t2.startdate AND DATETIME(t1.startdate, 'start of month') = DATETIME(t2.startdate, 'start of month') GROUP BY t2.drug) AS t3 WHERE t3.c1 <= 4
[ 10919, 389, 262, 1440, 749, 8811, 14798, 17638, 329, 3871, 326, 423, 587, 14798, 351, 299, 2397, 2815, 485, 4271, 1141, 262, 976, 1227, 262, 938, 614, 30, 46506, 256, 18, 13, 30349, 16034, 357, 46506, 256, 17, 13, 30349, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, 7, 28104, 22196, 34, 8, 7054, 269, 16, 16034, 357, 46506, 25349, 13, 32796, 62, 312, 11, 34092, 13, 9688, 4475, 16034, 34092, 32357, 1268, 25349, 6177, 34092, 13, 18108, 76, 62, 312, 796, 25349, 13, 18108, 76, 62, 312, 33411, 34092, 13, 30349, 796, 705 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1440, 749, 8811, 14798, 17638, 329, 3871, 326, 423, 587, 14798, 351, 299, 2397, 2815, 485, 4271, 1141, 262, 976, 1227, 262, 938, 614, 30, 46506, 256, 18, 13, 30349, 16034, 357, 46506, 256, 17, 13, 30349, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, 7, 28104, 22196, 34, 8, 7054, 269, 16, 16034, 357, 46506, 25349, 13, 32796, 62, 312, 11, 34092, 13, 9688, 4475, 16034, 34092, 32357, 1268, 25349, 6177, 34092, 13, 18108, 76, 62, 312, 796, 25349, 13, 18108, 76, 62, 312, 33411, 34092, 13, 30349, 796, 705 ]
How many subsidiaries of Postermobile Limited?
SELECT subsidiaries FROM table_1756264_2 WHERE company_name = "POSTERMOBILE LIMITED"
[ 2437, 867, 34943, 286, 2947, 7780, 3579, 15302, 30, 46506, 34943, 16034, 3084, 62, 1558, 3980, 18897, 62, 17, 33411, 1664, 62, 3672, 796, 366, 32782, 1137, 11770, 3483, 2538, 40880, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 34943, 286, 2947, 7780, 3579, 15302, 30, 46506, 34943, 16034, 3084, 62, 1558, 3980, 18897, 62, 17, 33411, 1664, 62, 3672, 796, 366, 32782, 1137, 11770, 3483, 2538, 40880, 1 ]
How many episodes were directed by james quinn?
SELECT COUNT("Written by") FROM table_28367 WHERE "Directed by" = 'James Quinn'
[ 2437, 867, 8640, 547, 7924, 416, 474, 1047, 627, 3732, 30, 46506, 327, 28270, 7203, 25354, 416, 4943, 16034, 3084, 62, 2078, 27824, 33411, 366, 13470, 276, 416, 1, 796, 705, 14731, 16109, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 8640, 547, 7924, 416, 474, 1047, 627, 3732, 30, 46506, 327, 28270, 7203, 25354, 416, 4943, 16034, 3084, 62, 2078, 27824, 33411, 366, 13470, 276, 416, 1, 796, 705, 14731, 16109, 6 ]
What was the home team in the February 22 game that Legace played in for the St. Louis Blues?
SELECT home FROM table_name_78 WHERE decision = "legace" AND visitor = "st. louis" AND date = "february 22"
[ 2061, 373, 262, 1363, 1074, 287, 262, 3945, 2534, 983, 326, 3564, 558, 2826, 287, 329, 262, 520, 13, 5593, 15261, 30, 46506, 1363, 16034, 3084, 62, 3672, 62, 3695, 33411, 2551, 796, 366, 1455, 558, 1, 5357, 21493, 796, 366, 301, 13, 21081, 271, 1, 5357, 3128, 796, 366, 69, 1765, 3728, 2534, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 1363, 1074, 287, 262, 3945, 2534, 983, 326, 3564, 558, 2826, 287, 329, 262, 520, 13, 5593, 15261, 30, 46506, 1363, 16034, 3084, 62, 3672, 62, 3695, 33411, 2551, 796, 366, 1455, 558, 1, 5357, 21493, 796, 366, 301, 13, 21081, 271, 1, 5357, 3128, 796, 366, 69, 1765, 3728, 2534, 1 ]