instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
How many answers has user made.
SELECT COUNT(*) FROM Posts AS a WHERE a.OwnerUserId = 197913 AND a.CreationDate >= '20140101' AND a.CreationDate < '20150101'
[ 2437, 867, 7429, 468, 2836, 925, 13, 46506, 327, 28270, 7, 28104, 16034, 12043, 7054, 257, 33411, 257, 13, 42419, 12982, 7390, 796, 13521, 1485, 5357, 257, 13, 12443, 341, 10430, 18189, 705, 4967, 486, 486, 6, 5357, 257, 13, 12443, 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 ]
[ 2437, 867, 7429, 468, 2836, 925, 13, 46506, 327, 28270, 7, 28104, 16034, 12043, 7054, 257, 33411, 257, 13, 42419, 12982, 7390, 796, 13521, 1485, 5357, 257, 13, 12443, 341, 10430, 18189, 705, 4967, 486, 486, 6, 5357, 257, 13, 12443, 34...
How many times is the theme roadside attractions: wawa goose?
SELECT COUNT("Quantity") FROM table_27705 WHERE "Theme" = 'Roadside Attractions: Wawa Goose'
[ 2437, 867, 1661, 318, 262, 7505, 39479, 29156, 25, 266, 6909, 37246, 30, 46506, 327, 28270, 7203, 31208, 4943, 16034, 3084, 62, 1983, 34801, 33411, 366, 47863, 1, 796, 705, 29197, 1589, 3460, 37810, 25, 370, 6909, 46317, 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 ]
[ 2437, 867, 1661, 318, 262, 7505, 39479, 29156, 25, 266, 6909, 37246, 30, 46506, 327, 28270, 7203, 31208, 4943, 16034, 3084, 62, 1983, 34801, 33411, 366, 47863, 1, 796, 705, 29197, 1589, 3460, 37810, 25, 370, 6909, 46317, 6 ]
Which Total has a Rank of 5, and a Bronze smaller than 0?
SELECT AVG(total) FROM table_name_67 WHERE rank = "5" AND bronze < 0
[ 13828, 7472, 468, 257, 10916, 286, 642, 11, 290, 257, 19461, 4833, 621, 657, 30, 46506, 35224, 7, 23350, 8, 16034, 3084, 62, 3672, 62, 3134, 33411, 4279, 796, 366, 20, 1, 5357, 22101, 1279, 657 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 7472, 468, 257, 10916, 286, 642, 11, 290, 257, 19461, 4833, 621, 657, 30, 46506, 35224, 7, 23350, 8, 16034, 3084, 62, 3672, 62, 3134, 33411, 4279, 796, 366, 20, 1, 5357, 22101, 1279, 657 ]
Who were the successors when the date the successors were installed was February 23, 1870?
SELECT "Successor" FROM table_26645 WHERE "Date of successors formal installation" = 'February 23, 1870'
[ 8241, 547, 262, 41491, 618, 262, 3128, 262, 41491, 547, 6589, 373, 3945, 2242, 11, 37667, 30, 46506, 366, 33244, 273, 1, 16034, 3084, 62, 25540, 2231, 33411, 366, 10430, 286, 41491, 8766, 9988, 1, 796, 705, 21816, 2242, 11, 37667, 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 ]
[ 8241, 547, 262, 41491, 618, 262, 3128, 262, 41491, 547, 6589, 373, 3945, 2242, 11, 37667, 30, 46506, 366, 33244, 273, 1, 16034, 3084, 62, 25540, 2231, 33411, 366, 10430, 286, 41491, 8766, 9988, 1, 796, 705, 21816, 2242, 11, 37667, 6 ]
What is the network brand name of the company vodafone group in Germany?
SELECT "Network brand name" FROM table_45490 WHERE "Company name" = 'vodafone group' AND "Country" = 'germany'
[ 2061, 318, 262, 3127, 4508, 1438, 286, 262, 1664, 410, 375, 1878, 505, 1448, 287, 4486, 30, 46506, 366, 26245, 4508, 1438, 1, 16034, 3084, 62, 2231, 31503, 33411, 366, 39154, 1438, 1, 796, 705, 85, 375, 1878, 505, 1448, 6, 5357, 366...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 3127, 4508, 1438, 286, 262, 1664, 410, 375, 1878, 505, 1448, 287, 4486, 30, 46506, 366, 26245, 4508, 1438, 1, 16034, 3084, 62, 2231, 31503, 33411, 366, 39154, 1438, 1, 796, 705, 85, 375, 1878, 505, 1448, 6, 5357, 366...
What is the number of ships?
SELECT COUNT(*) FROM ship
[ 2061, 318, 262, 1271, 286, 7937, 30, 46506, 327, 28270, 7, 28104, 16034, 4074 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1271, 286, 7937, 30, 46506, 327, 28270, 7, 28104, 16034, 4074 ]
Which team has 123 points agaibst the other team?
SELECT team FROM table_name_83 WHERE points_against = "123"
[ 13828, 1074, 468, 17031, 2173, 556, 64, 571, 301, 262, 584, 1074, 30, 46506, 1074, 16034, 3084, 62, 3672, 62, 5999, 33411, 2173, 62, 32826, 796, 366, 10163, 1 ]
[ 1, 1, 1, 1, 1, 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, 1074, 468, 17031, 2173, 556, 64, 571, 301, 262, 584, 1074, 30, 46506, 1074, 16034, 3084, 62, 3672, 62, 5999, 33411, 2173, 62, 32826, 796, 366, 10163, 1 ]
What is the lowest Place, when Televotes is 15424?
SELECT MIN("Place") FROM table_49986 WHERE "Televotes" = '15424'
[ 2061, 318, 262, 9016, 8474, 11, 618, 1665, 2768, 6421, 318, 24235, 1731, 30, 46506, 20625, 7203, 27271, 4943, 16034, 3084, 62, 28324, 4521, 33411, 366, 6767, 2768, 6421, 1, 796, 705, 21526, 1731, 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, 9016, 8474, 11, 618, 1665, 2768, 6421, 318, 24235, 1731, 30, 46506, 20625, 7203, 27271, 4943, 16034, 3084, 62, 28324, 4521, 33411, 366, 6767, 2768, 6421, 1, 796, 705, 21526, 1731, 6 ]
Which #/ County has an Enrollment larger than 1,108, and a School of anderson?
SELECT "# / County" FROM table_66116 WHERE "Enrollment" > '1,108' AND "School" = 'anderson'
[ 13828, 1303, 14, 3418, 468, 281, 2039, 48108, 4025, 621, 352, 11, 15711, 11, 290, 257, 3961, 286, 290, 882, 30, 46506, 25113, 1220, 3418, 1, 16034, 3084, 62, 2791, 18298, 33411, 366, 4834, 48108, 1, 1875, 705, 16, 11, 15711, 6, 5357...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 1303, 14, 3418, 468, 281, 2039, 48108, 4025, 621, 352, 11, 15711, 11, 290, 257, 3961, 286, 290, 882, 30, 46506, 25113, 1220, 3418, 1, 16034, 3084, 62, 2791, 18298, 33411, 366, 4834, 48108, 1, 1875, 705, 16, 11, 15711, 6, 5357...
What is the average area in square miles for the hunan administrative division with a national share less than 2.19%?
SELECT AVG(area__sq_mi_) FROM table_name_88 WHERE administrative_division = "hunan" AND national_share___percentage_ < 2.19
[ 2061, 318, 262, 2811, 1989, 287, 6616, 4608, 329, 262, 5494, 272, 11553, 7297, 351, 257, 2260, 2648, 1342, 621, 362, 13, 1129, 4, 30, 46506, 35224, 7, 20337, 834, 31166, 62, 11632, 62, 8, 16034, 3084, 62, 3672, 62, 3459, 33411, 1155...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1989, 287, 6616, 4608, 329, 262, 5494, 272, 11553, 7297, 351, 257, 2260, 2648, 1342, 621, 362, 13, 1129, 4, 30, 46506, 35224, 7, 20337, 834, 31166, 62, 11632, 62, 8, 16034, 3084, 62, 3672, 62, 3459, 33411, 1155...
What is the charity of the celebrity with the background reality star?
SELECT "Charity" FROM table_491 WHERE "Background" = 'Reality Star'
[ 2061, 318, 262, 11016, 286, 262, 16527, 351, 262, 4469, 3950, 3491, 30, 46506, 366, 1925, 6806, 1, 16034, 3084, 62, 41289, 33411, 366, 21756, 1, 796, 705, 3041, 1483, 2907, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 11016, 286, 262, 16527, 351, 262, 4469, 3950, 3491, 30, 46506, 366, 1925, 6806, 1, 16034, 3084, 62, 41289, 33411, 366, 21756, 1, 796, 705, 3041, 1483, 2907, 6 ]
What is the home city when Mladen Fran i is the manager?
SELECT home_city FROM table_name_36 WHERE manager = "mladen frančić"
[ 2061, 318, 262, 1363, 1748, 618, 337, 35668, 12323, 1312, 318, 262, 4706, 30, 46506, 1363, 62, 19205, 16034, 3084, 62, 3672, 62, 2623, 33411, 4706, 796, 366, 4029, 40780, 1216, 272, 46195, 72, 38325, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1363, 1748, 618, 337, 35668, 12323, 1312, 318, 262, 4706, 30, 46506, 1363, 62, 19205, 16034, 3084, 62, 3672, 62, 2623, 33411, 4706, 796, 366, 4029, 40780, 1216, 272, 46195, 72, 38325, 1 ]
What time was the fastest lap during Stoh's 200 in 1982?
SELECT "Fastest Lap" FROM table_33447 WHERE "Name" = 'stoh''s 200'
[ 2061, 640, 373, 262, 14162, 14779, 1141, 520, 1219, 338, 939, 287, 14489, 30, 46506, 366, 22968, 395, 26944, 1, 16034, 3084, 62, 2091, 34825, 33411, 366, 5376, 1, 796, 705, 301, 1219, 7061, 82, 939, 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, 640, 373, 262, 14162, 14779, 1141, 520, 1219, 338, 939, 287, 14489, 30, 46506, 366, 22968, 395, 26944, 1, 16034, 3084, 62, 2091, 34825, 33411, 366, 5376, 1, 796, 705, 301, 1219, 7061, 82, 939, 6 ]
Which tier of the tournament has Mont de Marson in it?
SELECT "Tier" FROM table_71399 WHERE "Tournament" = 'mont de marson'
[ 13828, 14249, 286, 262, 7756, 468, 5575, 390, 8706, 261, 287, 340, 30, 46506, 366, 35252, 1, 16034, 3084, 62, 50055, 2079, 33411, 366, 51, 5138, 1, 796, 705, 8691, 390, 285, 12613, 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 ]
[ 13828, 14249, 286, 262, 7756, 468, 5575, 390, 8706, 261, 287, 340, 30, 46506, 366, 35252, 1, 16034, 3084, 62, 50055, 2079, 33411, 366, 51, 5138, 1, 796, 705, 8691, 390, 285, 12613, 6 ]
What is the average pots of Alfa Romeo v12 after 1983?
SELECT AVG(pts) FROM table_name_44 WHERE engine = "alfa romeo v12" AND year > 1983
[ 2061, 318, 262, 2811, 32195, 286, 978, 13331, 43989, 410, 1065, 706, 13540, 30, 46506, 35224, 7, 457, 82, 8, 16034, 3084, 62, 3672, 62, 2598, 33411, 3113, 796, 366, 1604, 64, 374, 462, 78, 410, 1065, 1, 5357, 614, 1875, 13540 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 32195, 286, 978, 13331, 43989, 410, 1065, 706, 13540, 30, 46506, 35224, 7, 457, 82, 8, 16034, 3084, 62, 3672, 62, 2598, 33411, 3113, 796, 366, 1604, 64, 374, 462, 78, 410, 1065, 1, 5357, 614, 1875, 13540 ]
What is the average age for each gender?
SELECT AVG(age), gender FROM person GROUP BY gender
[ 2061, 318, 262, 2811, 2479, 329, 1123, 5279, 30, 46506, 35224, 7, 496, 828, 5279, 16034, 1048, 44441, 11050, 5279 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2811, 2479, 329, 1123, 5279, 30, 46506, 35224, 7, 496, 828, 5279, 16034, 1048, 44441, 11050, 5279 ]
On what date was the crowd size of 71,789?
SELECT date FROM table_name_35 WHERE attendance = "71,789"
[ 2202, 644, 3128, 373, 262, 4315, 2546, 286, 9166, 11, 40401, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 2327, 33411, 14858, 796, 366, 4869, 11, 40401, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2202, 644, 3128, 373, 262, 4315, 2546, 286, 9166, 11, 40401, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 2327, 33411, 14858, 796, 366, 4869, 11, 40401, 1 ]
How many rushing yards where there when the opponent was Indiana and there was 503 passing yards?
SELECT "Rushing yards" FROM table_28312 WHERE "Opponent" = 'Indiana' AND "Passing yards" = '503'
[ 2437, 867, 15795, 5695, 810, 612, 618, 262, 6125, 373, 10278, 290, 612, 373, 44541, 6427, 5695, 30, 46506, 366, 49, 8023, 5695, 1, 16034, 3084, 62, 2078, 27970, 33411, 366, 27524, 3471, 1, 796, 705, 49153, 6, 5357, 366, 14478, 278, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15795, 5695, 810, 612, 618, 262, 6125, 373, 10278, 290, 612, 373, 44541, 6427, 5695, 30, 46506, 366, 49, 8023, 5695, 1, 16034, 3084, 62, 2078, 27970, 33411, 366, 27524, 3471, 1, 796, 705, 49153, 6, 5357, 366, 14478, 278, ...
Show different publishers together with the number of publications they have in a bar chart, show total number from low to high order.
SELECT Publisher, COUNT(*) FROM publication GROUP BY Publisher ORDER BY COUNT(*)
[ 15307, 1180, 17604, 1978, 351, 262, 1271, 286, 16125, 484, 423, 287, 257, 2318, 8262, 11, 905, 2472, 1271, 422, 1877, 284, 1029, 1502, 13, 46506, 28045, 11, 327, 28270, 7, 28104, 16034, 9207, 44441, 11050, 28045, 38678, 11050, 327, 2827...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1180, 17604, 1978, 351, 262, 1271, 286, 16125, 484, 423, 287, 257, 2318, 8262, 11, 905, 2472, 1271, 422, 1877, 284, 1029, 1502, 13, 46506, 28045, 11, 327, 28270, 7, 28104, 16034, 9207, 44441, 11050, 28045, 38678, 11050, 327, 2827...
How many extra points are there that Herrnstein had with less than 2 touchdowns and less than 0 field goals?
SELECT AVG(extra_points) FROM table_name_35 WHERE touchdowns < 2 AND player = "herrnstein" AND field_goals < 0
[ 2437, 867, 3131, 2173, 389, 612, 326, 2332, 35906, 5714, 550, 351, 1342, 621, 362, 17692, 290, 1342, 621, 657, 2214, 4661, 30, 46506, 35224, 7, 26086, 62, 13033, 8, 16034, 3084, 62, 3672, 62, 2327, 33411, 17692, 1279, 362, 5357, 2137,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3131, 2173, 389, 612, 326, 2332, 35906, 5714, 550, 351, 1342, 621, 362, 17692, 290, 1342, 621, 657, 2214, 4661, 30, 46506, 35224, 7, 26086, 62, 13033, 8, 16034, 3084, 62, 3672, 62, 2327, 33411, 17692, 1279, 362, 5357, 2137,...
was ecotrin, furosemide inj, or vitamins/minerals po tabs prescribed for patient 035-17122 since 154 months ago?
SELECT COUNT(*) > 0 FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '035-17122')) AND medication.drugname IN ('furosemide inj', 'vitamins/miner...
[ 9776, 9940, 313, 12769, 11, 277, 1434, 43616, 485, 2529, 11, 393, 29091, 14, 1084, 263, 874, 745, 22524, 14798, 329, 5827, 657, 2327, 12, 1558, 18376, 1201, 24235, 1933, 2084, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 14103, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9776, 9940, 313, 12769, 11, 277, 1434, 43616, 485, 2529, 11, 393, 29091, 14, 1084, 263, 874, 745, 22524, 14798, 329, 5827, 657, 2327, 12, 1558, 18376, 1201, 24235, 1933, 2084, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 14103, ...
What position was Jafus White who was picked after round 1?
SELECT "Position" FROM table_35425 WHERE "Round" > '1' AND "Player" = 'jafus white'
[ 2061, 2292, 373, 449, 1878, 385, 2635, 508, 373, 6497, 706, 2835, 352, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 2327, 32114, 33411, 366, 22685, 1, 1875, 705, 16, 6, 5357, 366, 14140, 1, 796, 705, 73, 1878, 385, 2330, 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, 2292, 373, 449, 1878, 385, 2635, 508, 373, 6497, 706, 2835, 352, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 2327, 32114, 33411, 366, 22685, 1, 1875, 705, 16, 6, 5357, 366, 14140, 1, 796, 705, 73, 1878, 385, 2330, 6 ]
Name the goals for daniel sanchez
SELECT "Goals\u00b9" FROM table_26951 WHERE "Name" = 'Daniel Sanchez'
[ 5376, 262, 4661, 329, 288, 6321, 264, 20364, 46506, 366, 5247, 874, 59, 84, 405, 65, 24, 1, 16034, 3084, 62, 2075, 50119, 33411, 366, 5376, 1, 796, 705, 19962, 21909, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 4661, 329, 288, 6321, 264, 20364, 46506, 366, 5247, 874, 59, 84, 405, 65, 24, 1, 16034, 3084, 62, 2075, 50119, 33411, 366, 5376, 1, 796, 705, 19962, 21909, 6 ]
Which season had a 3rd place of CSKA Moscow and 1st place of Panathinaikos?
SELECT "Season" FROM table_39767 WHERE "3rd Place" = 'cska moscow' AND "1st Place" = 'panathinaikos'
[ 13828, 1622, 550, 257, 513, 4372, 1295, 286, 9429, 25123, 9070, 290, 352, 301, 1295, 286, 5961, 776, 1437, 1134, 418, 30, 46506, 366, 18960, 1, 16034, 3084, 62, 2670, 32059, 33411, 366, 18, 4372, 8474, 1, 796, 705, 6359, 4914, 10867, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1622, 550, 257, 513, 4372, 1295, 286, 9429, 25123, 9070, 290, 352, 301, 1295, 286, 5961, 776, 1437, 1134, 418, 30, 46506, 366, 18960, 1, 16034, 3084, 62, 2670, 32059, 33411, 366, 18, 4372, 8474, 1, 796, 705, 6359, 4914, 10867, ...
What two teams were competing in the match with 103,158 in attendance?
SELECT "Opponent" FROM table_5770 WHERE "Attendance" = '103,158'
[ 2061, 734, 3466, 547, 11780, 287, 262, 2872, 351, 15349, 11, 21273, 287, 14858, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 3553, 2154, 33411, 366, 8086, 437, 590, 1, 796, 705, 15197, 11, 21273, 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, 734, 3466, 547, 11780, 287, 262, 2872, 351, 15349, 11, 21273, 287, 14858, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 3553, 2154, 33411, 366, 8086, 437, 590, 1, 796, 705, 15197, 11, 21273, 6 ]
contraindication to central venous catheterization
SELECT * FROM table_train_62 WHERE intention_to_central_venous_catheter = 1
[ 3642, 3201, 67, 3299, 284, 4318, 8710, 516, 3797, 43332, 1634, 46506, 1635, 16034, 3084, 62, 27432, 62, 5237, 33411, 6778, 62, 1462, 62, 31463, 62, 574, 516, 62, 9246, 43332, 796, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 3642, 3201, 67, 3299, 284, 4318, 8710, 516, 3797, 43332, 1634, 46506, 1635, 16034, 3084, 62, 27432, 62, 5237, 33411, 6778, 62, 1462, 62, 31463, 62, 574, 516, 62, 9246, 43332, 796, 352 ]
What is the date released when the Left Bloc had 3.2%?
SELECT date_released FROM table_name_35 WHERE left_bloc = "3.2%"
[ 2061, 318, 262, 3128, 2716, 618, 262, 9578, 1086, 420, 550, 513, 13, 17, 4, 30, 46506, 3128, 62, 30147, 16034, 3084, 62, 3672, 62, 2327, 33411, 1364, 62, 2436, 420, 796, 366, 18, 13, 17, 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 ]
[ 2061, 318, 262, 3128, 2716, 618, 262, 9578, 1086, 420, 550, 513, 13, 17, 4, 30, 46506, 3128, 62, 30147, 16034, 3084, 62, 3672, 62, 2327, 33411, 1364, 62, 2436, 420, 796, 366, 18, 13, 17, 39658 ]
When she last taught 549 , did Prof. Tomoki Ohsawa set an exam ?
SELECT DISTINCT course_offering.has_final_exam FROM course_offering INNER JOIN course ON course.course_id = course_offering.course_id INNER JOIN offering_instructor ON offering_instructor.offering_id = course_offering.offering_id INNER JOIN instructor ON offering_instructor.instructor_id = instructor.instructor_id WHER...
[ 2215, 673, 938, 7817, 642, 2920, 837, 750, 4415, 13, 4186, 18228, 3966, 82, 6909, 900, 281, 2814, 5633, 46506, 360, 8808, 1268, 4177, 1781, 62, 2364, 1586, 13, 10134, 62, 20311, 62, 1069, 321, 16034, 1781, 62, 2364, 1586, 3268, 21479,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2215, 673, 938, 7817, 642, 2920, 837, 750, 4415, 13, 4186, 18228, 3966, 82, 6909, 900, 281, 2814, 5633, 46506, 360, 8808, 1268, 4177, 1781, 62, 2364, 1586, 13, 10134, 62, 20311, 62, 1069, 321, 16034, 1781, 62, 2364, 1586, 3268, 21479,...
How many apartment bookings for each year? Draw a bar chart binning booking start date by year interval, and list in ascending by the Y please.
SELECT booking_start_date, COUNT(booking_start_date) FROM Apartment_Bookings AS T1 JOIN Guests AS T2 ON T1.guest_id = T2.guest_id ORDER BY COUNT(booking_start_date)
[ 2437, 867, 7962, 1492, 654, 329, 1123, 614, 30, 15315, 257, 2318, 8262, 9874, 768, 25452, 923, 3128, 416, 614, 16654, 11, 290, 1351, 287, 41988, 416, 262, 575, 3387, 13, 46506, 25452, 62, 9688, 62, 4475, 11, 327, 28270, 7, 2070, 278...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7962, 1492, 654, 329, 1123, 614, 30, 15315, 257, 2318, 8262, 9874, 768, 25452, 923, 3128, 416, 614, 16654, 11, 290, 1351, 287, 41988, 416, 262, 575, 3387, 13, 46506, 25452, 62, 9688, 62, 4475, 11, 327, 28270, 7, 2070, 278...
What college did the player who had the position of OT come from who was pick number less than 12 and a overall pick number bigger than 226?
SELECT "College" FROM table_45975 WHERE "Overall" > '226' AND "Pick" < '12' AND "Position" = 'ot'
[ 2061, 4152, 750, 262, 2137, 508, 550, 262, 2292, 286, 21676, 1282, 422, 508, 373, 2298, 1271, 1342, 621, 1105, 290, 257, 4045, 2298, 1271, 5749, 621, 31510, 30, 46506, 366, 38951, 1, 16034, 3084, 62, 33459, 2425, 33411, 366, 16350, 1,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4152, 750, 262, 2137, 508, 550, 262, 2292, 286, 21676, 1282, 422, 508, 373, 2298, 1271, 1342, 621, 1105, 290, 257, 4045, 2298, 1271, 5749, 621, 31510, 30, 46506, 366, 38951, 1, 16034, 3084, 62, 33459, 2425, 33411, 366, 16350, 1,...
Which Hanyu Pinyin has a GDP in 2011 larger than 688.02 billion yuan and a regional population of 8,700,400 in 2010?
SELECT hanyu_pinyin FROM table_name_98 WHERE gdp_2011__billion_yuan_ > 688.02 AND regional_population_2010_ = "8,700,400"
[ 13828, 367, 1092, 84, 350, 3541, 259, 468, 257, 12396, 287, 2813, 4025, 621, 718, 3459, 13, 2999, 2997, 34847, 290, 257, 7915, 3265, 286, 807, 11, 9879, 11, 7029, 287, 3050, 30, 46506, 289, 1092, 84, 62, 79, 3541, 259, 16034, 3084, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 13828, 367, 1092, 84, 350, 3541, 259, 468, 257, 12396, 287, 2813, 4025, 621, 718, 3459, 13, 2999, 2997, 34847, 290, 257, 7915, 3265, 286, 807, 11, 9879, 11, 7029, 287, 3050, 30, 46506, 289, 1092, 84, 62, 79, 3541, 259, 16034, 3084, ...
what are all the type where station number is c08
SELECT type FROM table_11934032_1 WHERE station_number = "C08"
[ 10919, 389, 477, 262, 2099, 810, 4429, 1271, 318, 269, 2919, 46506, 2099, 16034, 3084, 62, 16315, 23601, 2624, 62, 16, 33411, 4429, 62, 17618, 796, 366, 34, 2919, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 477, 262, 2099, 810, 4429, 1271, 318, 269, 2919, 46506, 2099, 16034, 3084, 62, 16315, 23601, 2624, 62, 16, 33411, 4429, 62, 17618, 796, 366, 34, 2919, 1 ]
what is diagnoses icd9 code of subject id 19420?
SELECT diagnoses.icd9_code FROM diagnoses WHERE diagnoses.subject_id = "19420"
[ 10919, 318, 40567, 14158, 67, 24, 2438, 286, 2426, 4686, 678, 27211, 30, 46506, 40567, 13, 291, 67, 24, 62, 8189, 16034, 40567, 33411, 40567, 13, 32796, 62, 312, 796, 366, 22913, 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, 1, 1 ]
[ 10919, 318, 40567, 14158, 67, 24, 2438, 286, 2426, 4686, 678, 27211, 30, 46506, 40567, 13, 291, 67, 24, 62, 8189, 16034, 40567, 33411, 40567, 13, 32796, 62, 312, 796, 366, 22913, 1238, 1 ]
What is the largest money for a t4 place, for Tiger Woods?
SELECT MAX("Money ( $ )") FROM table_79875 WHERE "Place" = 't4' AND "Player" = 'tiger woods'
[ 2061, 318, 262, 4387, 1637, 329, 257, 256, 19, 1295, 11, 329, 17030, 16483, 30, 46506, 25882, 7203, 26788, 357, 720, 1267, 4943, 16034, 3084, 62, 3720, 31360, 33411, 366, 27271, 1, 796, 705, 83, 19, 6, 5357, 366, 14140, 1, 796, 705,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4387, 1637, 329, 257, 256, 19, 1295, 11, 329, 17030, 16483, 30, 46506, 25882, 7203, 26788, 357, 720, 1267, 4943, 16034, 3084, 62, 3720, 31360, 33411, 366, 27271, 1, 796, 705, 83, 19, 6, 5357, 366, 14140, 1, 796, 705,...
Which aircraft has heavy transport?
SELECT aircraft FROM table_name_39 WHERE type = "heavy transport"
[ 13828, 6215, 468, 4334, 4839, 30, 46506, 6215, 16034, 3084, 62, 3672, 62, 2670, 33411, 2099, 796, 366, 23701, 4839, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 6215, 468, 4334, 4839, 30, 46506, 6215, 16034, 3084, 62, 3672, 62, 2670, 33411, 2099, 796, 366, 23701, 4839, 1 ]
had patient 10211 undergone any lab tests the last year?
SELECT COUNT(*) > 0 FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 10211) AND DATETIME(labevents.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year')
[ 18108, 5827, 15143, 1157, 29900, 597, 2248, 5254, 262, 938, 614, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 2248, 31534, 33411, 2248, 31534, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 18108, 5827, 15143, 1157, 29900, 597, 2248, 5254, 262, 938, 614, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 2248, 31534, 33411, 2248, 31534, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, ...
Who was the lead with Pete Fenson as skip and Joe Polo as second in season 2005 06?
SELECT lead FROM table_name_61 WHERE skip = "pete fenson" AND second = "joe polo" AND season = "2005–06"
[ 8241, 373, 262, 1085, 351, 17542, 376, 19069, 355, 14267, 290, 5689, 49341, 355, 1218, 287, 1622, 5075, 9130, 30, 46506, 1085, 16034, 3084, 62, 3672, 62, 5333, 33411, 14267, 796, 366, 6449, 68, 277, 19069, 1, 5357, 1218, 796, 366, 73,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1085, 351, 17542, 376, 19069, 355, 14267, 290, 5689, 49341, 355, 1218, 287, 1622, 5075, 9130, 30, 46506, 1085, 16034, 3084, 62, 3672, 62, 5333, 33411, 14267, 796, 366, 6449, 68, 277, 19069, 1, 5357, 1218, 796, 366, 73,...
When 13 is the share (18-49) what is the rank (timeslot)?
SELECT rank__timeslot_ FROM table_28980706_4 WHERE share__18_49_ = 13
[ 2215, 1511, 318, 262, 2648, 357, 1507, 12, 2920, 8, 644, 318, 262, 4279, 357, 22355, 26487, 19427, 46506, 4279, 834, 22355, 26487, 62, 16034, 3084, 62, 27693, 1795, 35402, 62, 19, 33411, 2648, 834, 1507, 62, 2920, 62, 796, 1511 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4279, 834, 22355, 26487, 62, 16034, 3084, 62, 27693, 1795, 35402, 62, 19, 33411, 2648, 834, 1507, 62, 2920, 62, 796, 1511 ]
count the number of patients whose ethnicity is black/african american and age is less than 82?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "BLACK/AFRICAN AMERICAN" AND demographic.age < "82"
[ 9127, 262, 1271, 286, 3871, 3025, 26289, 318, 2042, 14, 1878, 37189, 45630, 272, 290, 2479, 318, 1342, 621, 9415, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 38546, 414...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 9127, 262, 1271, 286, 3871, 3025, 26289, 318, 2042, 14, 1878, 37189, 45630, 272, 290, 2479, 318, 1342, 621, 9415, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 38546, 414...
Who was the other team on march 27?
SELECT team FROM table_27712702_11 WHERE date = "March 27"
[ 8241, 373, 262, 584, 1074, 319, 9960, 2681, 30, 46506, 1074, 16034, 3084, 62, 27019, 1065, 36680, 62, 1157, 33411, 3128, 796, 366, 16192, 2681, 1 ]
[ 1, 1, 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, 584, 1074, 319, 9960, 2681, 30, 46506, 1074, 16034, 3084, 62, 27019, 1065, 36680, 62, 1157, 33411, 3128, 796, 366, 16192, 2681, 1 ]
what are the top four most common specimen tests that were performed?
SELECT t1.culturesite FROM (SELECT microlab.culturesite, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM microlab GROUP BY microlab.culturesite) AS t1 WHERE t1.c1 <= 4
[ 10919, 389, 262, 1353, 1440, 749, 2219, 31674, 5254, 326, 547, 6157, 30, 46506, 256, 16, 13, 40820, 942, 578, 16034, 357, 46506, 4580, 23912, 13, 40820, 942, 578, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 389, 262, 1353, 1440, 749, 2219, 31674, 5254, 326, 547, 6157, 30, 46506, 256, 16, 13, 40820, 942, 578, 16034, 357, 46506, 4580, 23912, 13, 40820, 942, 578, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 32...
What Valley Vista has a Dysart of 1668?
SELECT "Valley Vista" FROM table_57848 WHERE "Dysart" = '1668'
[ 2061, 6916, 25160, 468, 257, 46876, 433, 286, 1467, 3104, 30, 46506, 366, 7762, 1636, 25160, 1, 16034, 3084, 62, 38907, 2780, 33411, 366, 35, 893, 433, 1, 796, 705, 1433, 3104, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 6916, 25160, 468, 257, 46876, 433, 286, 1467, 3104, 30, 46506, 366, 7762, 1636, 25160, 1, 16034, 3084, 62, 38907, 2780, 33411, 366, 35, 893, 433, 1, 796, 705, 1433, 3104, 6 ]
What is the highest Rank, when Publication is Dagsavisen, and when Year is less than 2005?
SELECT MAX(rank) FROM table_name_81 WHERE publication = "dagsavisen" AND year < 2005
[ 2061, 318, 262, 4511, 10916, 11, 618, 45065, 318, 360, 3775, 615, 13254, 11, 290, 618, 6280, 318, 1342, 621, 5075, 30, 46506, 25882, 7, 43027, 8, 16034, 3084, 62, 3672, 62, 6659, 33411, 9207, 796, 366, 67, 3775, 615, 13254, 1, 5357,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4511, 10916, 11, 618, 45065, 318, 360, 3775, 615, 13254, 11, 290, 618, 6280, 318, 1342, 621, 5075, 30, 46506, 25882, 7, 43027, 8, 16034, 3084, 62, 3672, 62, 6659, 33411, 9207, 796, 366, 67, 3775, 615, 13254, 1, 5357,...
count the number of patients who are diagnosed with gi obstruction / ileus - small bowel obstruction since 2 years ago.
SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.patientunitstayid IN (SELECT diagnosis.patientunitstayid FROM diagnosis WHERE diagnosis.diagnosisname = 'gi obstruction / ileus - small bowel obstruction' AND DATETIME(diagnosis.diagnosistime) >= DATETIME(CURRENT_TIME(), '-2 year'))
[ 9127, 262, 1271, 286, 3871, 508, 389, 14641, 351, 308, 72, 28118, 1220, 220, 576, 385, 532, 1402, 35711, 28118, 1201, 362, 812, 2084, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 5827, 13, 403, 1557, 538, 312, 8, 16034, 5827, 334...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9127, 262, 1271, 286, 3871, 508, 389, 14641, 351, 308, 72, 28118, 1220, 220, 576, 385, 532, 1402, 35711, 28118, 1201, 362, 812, 2084, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 5827, 13, 403, 1557, 538, 312, 8, 16034, 5827, 334...
what is the location attendance when the high assists is by ramon sessions (8) on march 30?
SELECT "Location Attendance" FROM table_47368 WHERE "High assists" = 'ramon sessions (8)' AND "Date" = 'march 30'
[ 10919, 318, 262, 4067, 14858, 618, 262, 1029, 13648, 318, 416, 15770, 261, 10991, 357, 23, 8, 319, 9960, 1542, 30, 46506, 366, 14749, 46502, 590, 1, 16034, 3084, 62, 2857, 27412, 33411, 366, 11922, 13648, 1, 796, 705, 859, 261, 10991,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14858, 618, 262, 1029, 13648, 318, 416, 15770, 261, 10991, 357, 23, 8, 319, 9960, 1542, 30, 46506, 366, 14749, 46502, 590, 1, 16034, 3084, 62, 2857, 27412, 33411, 366, 11922, 13648, 1, 796, 705, 859, 261, 10991,...
what is the production code with title 'skirting the issue / moon over my yinnie
SELECT "Production code" FROM table_16023 WHERE "Title" = 'Skirting the Issue / Moon Over my Yinnie'
[ 10919, 318, 262, 3227, 2438, 351, 3670, 705, 8135, 35355, 262, 2071, 1220, 8824, 625, 616, 331, 49708, 46506, 366, 35027, 2438, 1, 16034, 3084, 62, 14198, 1954, 33411, 366, 19160, 1, 796, 705, 15739, 35355, 262, 18232, 1220, 6869, 3827,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3227, 2438, 351, 3670, 705, 8135, 35355, 262, 2071, 1220, 8824, 625, 616, 331, 49708, 46506, 366, 35027, 2438, 1, 16034, 3084, 62, 14198, 1954, 33411, 366, 19160, 1, 796, 705, 15739, 35355, 262, 18232, 1220, 6869, 3827,...
For those products with a price between 60 and 120, give me the comparison about price over the name , and sort Price in descending order.
SELECT Name, Price FROM Products WHERE Price BETWEEN 60 AND 120 ORDER BY Price DESC
[ 1890, 883, 3186, 351, 257, 2756, 1022, 3126, 290, 7982, 11, 1577, 502, 262, 7208, 546, 2756, 625, 262, 1438, 837, 290, 3297, 7886, 287, 31491, 1502, 13, 46506, 6530, 11, 7886, 16034, 18675, 33411, 7886, 38651, 8845, 1677, 3126, 5357, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1890, 883, 3186, 351, 257, 2756, 1022, 3126, 290, 7982, 11, 1577, 502, 262, 7208, 546, 2756, 625, 262, 1438, 837, 290, 3297, 7886, 287, 31491, 1502, 13, 46506, 6530, 11, 7886, 16034, 18675, 33411, 7886, 38651, 8845, 1677, 3126, 5357, ...
What is the earliest year when the Dunlop Phoenix Tournament was played with a round 4 score larger than 72?
SELECT MIN("Year") FROM table_67124 WHERE "Tournament" = 'dunlop phoenix tournament' AND "Round 4" > '72'
[ 2061, 318, 262, 14555, 614, 618, 262, 5648, 75, 404, 9643, 9595, 373, 2826, 351, 257, 2835, 604, 4776, 4025, 621, 7724, 30, 46506, 20625, 7203, 17688, 4943, 16034, 3084, 62, 3134, 17464, 33411, 366, 51, 5138, 1, 796, 705, 67, 403, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 14555, 614, 618, 262, 5648, 75, 404, 9643, 9595, 373, 2826, 351, 257, 2835, 604, 4776, 4025, 621, 7724, 30, 46506, 20625, 7203, 17688, 4943, 16034, 3084, 62, 3134, 17464, 33411, 366, 51, 5138, 1, 796, 705, 67, 403, 7...
Show me a bar chart comparing the total number of captains in each rank, and list how many rank in asc order please.
SELECT Rank, COUNT(Rank) FROM captain GROUP BY Rank ORDER BY COUNT(Rank)
[ 15307, 502, 257, 2318, 8262, 14176, 262, 2472, 1271, 286, 37551, 287, 1123, 4279, 11, 290, 1351, 703, 867, 4279, 287, 10570, 1502, 3387, 13, 46506, 10916, 11, 327, 28270, 7, 27520, 8, 16034, 10654, 44441, 11050, 10916, 38678, 11050, 327...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 502, 257, 2318, 8262, 14176, 262, 2472, 1271, 286, 37551, 287, 1123, 4279, 11, 290, 1351, 703, 867, 4279, 287, 10570, 1502, 3387, 13, 46506, 10916, 11, 327, 28270, 7, 27520, 8, 16034, 10654, 44441, 11050, 10916, 38678, 11050, 327...
show me flights from PHOENIX to FORT WORTH
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 CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'PHOENIX' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'FORT W...
[ 12860, 502, 13956, 422, 9370, 46, 1677, 10426, 284, 7473, 51, 21881, 4221, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13956, 422, 9370, 46, 1677, 10426, 284, 7473, 51, 21881, 4221, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, ...
What is the highest Crude Death Rate (Per 1000), when Natural Change (Per 1000) is less than 5.2, when Average Population (x 1000) is 305, when Crude Birth Rate (Per 1000) is 16.1, and when Natural Change is greater than 954?
SELECT MAX("Crude death rate (per 1000)") FROM table_40966 WHERE "Natural change (per 1000)" < '5.2' AND "Average population (x 1000)" = '305' AND "Crude birth rate (per 1000)" = '16.1' AND "Natural change" > '954'
[ 2061, 318, 262, 4511, 3864, 2507, 5830, 14806, 357, 5990, 8576, 828, 618, 12068, 9794, 357, 5990, 8576, 8, 318, 1342, 621, 642, 13, 17, 11, 618, 13475, 20133, 357, 87, 8576, 8, 318, 32747, 11, 618, 3864, 2507, 17647, 14806, 357, 599...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 318, 262, 4511, 3864, 2507, 5830, 14806, 357, 5990, 8576, 828, 618, 12068, 9794, 357, 5990, 8576, 8, 318, 1342, 621, 642, 13, 17, 11, 618, 13475, 20133, 357, 87, 8576, 8, 318, 32747, 11, 618, 3864, 2507, 17647, 14806, 357, 599...
which game at home had the most attendance ?
SELECT "opponent#" FROM table_204_994 WHERE "opponent#" = 'home' ORDER BY "attendance" DESC LIMIT 1
[ 4758, 983, 379, 1363, 550, 262, 749, 14858, 5633, 46506, 366, 10365, 3471, 2, 1, 16034, 3084, 62, 18638, 62, 42691, 33411, 366, 10365, 3471, 2, 1, 796, 705, 11195, 6, 38678, 11050, 366, 1078, 437, 590, 1, 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 ]
[ 4758, 983, 379, 1363, 550, 262, 749, 14858, 5633, 46506, 366, 10365, 3471, 2, 1, 16034, 3084, 62, 18638, 62, 42691, 33411, 366, 10365, 3471, 2, 1, 796, 705, 11195, 6, 38678, 11050, 366, 1078, 437, 590, 1, 22196, 34, 27564, 2043, 352...
Which tourist attractions does the visitor with detail 'Vincent' visit?
SELECT T1.Name FROM Tourist_Attractions AS T1 JOIN VISITS AS T2 ON T1.Tourist_Attraction_ID = T2.Tourist_Attraction_ID JOIN VISITORS AS T3 ON T2.Tourist_ID = T3.Tourist_ID WHERE T3.Tourist_Details = "Vincent"
[ 13828, 18473, 29156, 857, 262, 21493, 351, 3703, 705, 53, 42816, 6, 3187, 30, 46506, 309, 16, 13, 5376, 16034, 9852, 396, 62, 8086, 37810, 7054, 309, 16, 32357, 1268, 50035, 29722, 7054, 309, 17, 6177, 309, 16, 13, 39152, 396, 62, 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...
[ 13828, 18473, 29156, 857, 262, 21493, 351, 3703, 705, 53, 42816, 6, 3187, 30, 46506, 309, 16, 13, 5376, 16034, 9852, 396, 62, 8086, 37810, 7054, 309, 16, 32357, 1268, 50035, 29722, 7054, 309, 17, 6177, 309, 16, 13, 39152, 396, 62, 8...
Which 30-day Pass has a Base Fare of $3?
SELECT "30-Day Pass" FROM table_55000 WHERE "Base Fares" = '$3'
[ 13828, 1542, 12, 820, 6251, 468, 257, 7308, 35205, 286, 720, 18, 30, 46506, 366, 1270, 12, 12393, 6251, 1, 16034, 3084, 62, 2816, 830, 33411, 366, 14881, 376, 3565, 1, 796, 705, 3, 18, 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 ]
[ 13828, 1542, 12, 820, 6251, 468, 257, 7308, 35205, 286, 720, 18, 30, 46506, 366, 1270, 12, 12393, 6251, 1, 16034, 3084, 62, 2816, 830, 33411, 366, 14881, 376, 3565, 1, 796, 705, 3, 18, 6 ]
Return the staff ids and genders for any staff with the title Department Manager.
SELECT T1.staff_id, T1.staff_gender FROM staff AS T1 JOIN staff_department_assignments AS T2 ON T1.staff_id = T2.staff_id WHERE T2.job_title_code = "Department Manager"
[ 13615, 262, 3085, 220, 2340, 290, 38054, 329, 597, 3085, 351, 262, 3670, 2732, 9142, 13, 46506, 309, 16, 13, 28120, 62, 312, 11, 309, 16, 13, 28120, 62, 8388, 16034, 3085, 7054, 309, 16, 32357, 1268, 3085, 62, 10378, 1823, 62, 562, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 13615, 262, 3085, 220, 2340, 290, 38054, 329, 597, 3085, 351, 262, 3670, 2732, 9142, 13, 46506, 309, 16, 13, 28120, 62, 312, 11, 309, 16, 13, 28120, 62, 8388, 16034, 3085, 7054, 309, 16, 32357, 1268, 3085, 62, 10378, 1823, 62, 562, ...
What is the Opponent before October 31 with a Record of 2-3-1 after Game 5?
SELECT opponent FROM table_name_52 WHERE october < 31 AND game > 5 AND record = "2-3-1"
[ 2061, 318, 262, 9385, 3471, 878, 3267, 3261, 351, 257, 13266, 286, 362, 12, 18, 12, 16, 706, 3776, 642, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 4309, 33411, 19318, 2023, 1279, 3261, 5357, 983, 1875, 642, 5357, 1700, 796, 366, 17...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 9385, 3471, 878, 3267, 3261, 351, 257, 13266, 286, 362, 12, 18, 12, 16, 706, 3776, 642, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 4309, 33411, 19318, 2023, 1279, 3261, 5357, 983, 1875, 642, 5357, 1700, 796, 366, 17...
What is the average price of clothes?
SELECT AVG(product_price) FROM products WHERE product_type_code = 'Clothes'
[ 2061, 318, 262, 2811, 2756, 286, 8242, 30, 46506, 35224, 7, 11167, 62, 20888, 8, 16034, 3186, 33411, 1720, 62, 4906, 62, 8189, 796, 705, 2601, 31690, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2811, 2756, 286, 8242, 30, 46506, 35224, 7, 11167, 62, 20888, 8, 16034, 3186, 33411, 1720, 62, 4906, 62, 8189, 796, 705, 2601, 31690, 6 ]
Find the number of rooms with king bed for each decor type.
SELECT decor, COUNT(*) FROM Rooms WHERE bedType = "King" GROUP BY decor
[ 16742, 262, 1271, 286, 9519, 351, 5822, 3996, 329, 1123, 11705, 2099, 13, 46506, 11705, 11, 327, 28270, 7, 28104, 16034, 42043, 33411, 3996, 6030, 796, 366, 15708, 1, 44441, 11050, 11705 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16742, 262, 1271, 286, 9519, 351, 5822, 3996, 329, 1123, 11705, 2099, 13, 46506, 11705, 11, 327, 28270, 7, 28104, 16034, 42043, 33411, 3996, 6030, 796, 366, 15708, 1, 44441, 11050, 11705 ]
Name the number of cyrillic name for stani i
SELECT COUNT("Cyrillic Name Other Names") FROM table_3327 WHERE "Settlement" = 'Stanišić'
[ 5376, 262, 1271, 286, 269, 2417, 359, 291, 1438, 329, 336, 3216, 1312, 46506, 327, 28270, 7203, 34, 2417, 359, 291, 6530, 3819, 28531, 4943, 16034, 3084, 62, 2091, 1983, 33411, 366, 50, 27331, 1, 796, 705, 1273, 3216, 32790, 72, 38325...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 1271, 286, 269, 2417, 359, 291, 1438, 329, 336, 3216, 1312, 46506, 327, 28270, 7203, 34, 2417, 359, 291, 6530, 3819, 28531, 4943, 16034, 3084, 62, 2091, 1983, 33411, 366, 50, 27331, 1, 796, 705, 1273, 3216, 32790, 72, 38325...
For those records from the products and each product's manufacturer, visualize a bar chart about the distribution of name and revenue , and group by attribute name, and display in asc by the X.
SELECT T1.Name, T2.Revenue FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T1.Name, T1.Name ORDER BY T1.Name
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 38350, 257, 2318, 8262, 546, 262, 6082, 286, 1438, 290, 6426, 837, 290, 1448, 416, 11688, 1438, 11, 290, 3359, 287, 10570, 416, 262, 1395, 13, 46506, 309, 16, 13, 537...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 38350, 257, 2318, 8262, 546, 262, 6082, 286, 1438, 290, 6426, 837, 290, 1448, 416, 11688, 1438, 11, 290, 3359, 287, 10570, 416, 262, 1395, 13, 46506, 309, 16, 13, 537...
Percent of closed answered negative-scored questions over time.
SELECT MAX(h.t), h.pc AS "Percent of closed answered negative-scored questions over time" FROM (SELECT q.t AS t, NTILE(100) OVER (ORDER BY q.t) AS pc FROM (SELECT ClosedDate - CreationDate AS t FROM Posts WHERE PostTypeId = 1 AND AnswerCount > 0 AND Score < 0 AND NOT ClosedDate IS NULL) AS q) AS h WHERE h.t <= '23:59:5...
[ 31905, 286, 4838, 9373, 4633, 12, 1416, 1850, 2683, 625, 640, 13, 46506, 25882, 7, 71, 13, 83, 828, 289, 13, 14751, 7054, 366, 31905, 286, 4838, 9373, 4633, 12, 1416, 1850, 2683, 625, 640, 1, 16034, 357, 46506, 10662, 13, 83, 7054, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 31905, 286, 4838, 9373, 4633, 12, 1416, 1850, 2683, 625, 640, 13, 46506, 25882, 7, 71, 13, 83, 828, 289, 13, 14751, 7054, 366, 31905, 286, 4838, 9373, 4633, 12, 1416, 1850, 2683, 625, 640, 1, 16034, 357, 46506, 10662, 13, 83, 7054, ...
david dallas won in 2010 . what was the name of the album that won the next year ?
SELECT "album" FROM table_204_655 WHERE "year" > 2010 ORDER BY "year" LIMIT 1
[ 67, 8490, 288, 7826, 1839, 287, 3050, 764, 644, 373, 262, 1438, 286, 262, 5062, 326, 1839, 262, 1306, 614, 5633, 46506, 366, 40916, 1, 16034, 3084, 62, 18638, 62, 35916, 33411, 366, 1941, 1, 1875, 3050, 38678, 11050, 366, 1941, 1, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 67, 8490, 288, 7826, 1839, 287, 3050, 764, 644, 373, 262, 1438, 286, 262, 5062, 326, 1839, 262, 1306, 614, 5633, 46506, 366, 40916, 1, 16034, 3084, 62, 18638, 62, 35916, 33411, 366, 1941, 1, 1875, 3050, 38678, 11050, 366, 1941, 1, 2...
How many Arabic forms are there for the 1st. plur. perfect category?
SELECT COUNT("Arabic form") FROM table_30039 WHERE "Morphological category" = '1st. plur. perfect'
[ 2437, 867, 17526, 5107, 389, 612, 329, 262, 352, 301, 13, 30676, 13, 2818, 6536, 30, 46506, 327, 28270, 7203, 31602, 291, 1296, 4943, 16034, 3084, 62, 6200, 2670, 33411, 366, 44, 13425, 2770, 6536, 1, 796, 705, 16, 301, 13, 30676, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17526, 5107, 389, 612, 329, 262, 352, 301, 13, 30676, 13, 2818, 6536, 30, 46506, 327, 28270, 7203, 31602, 291, 1296, 4943, 16034, 3084, 62, 6200, 2670, 33411, 366, 44, 13425, 2770, 6536, 1, 796, 705, 16, 301, 13, 30676, 1...
What are the different product names, and what is the sum of quantity ordered for each product?
SELECT T2.product_name, SUM(T1.product_quantity) FROM order_items AS T1 JOIN products AS T2 ON T1.product_id = T2.product_id GROUP BY T2.product_name
[ 2061, 389, 262, 1180, 1720, 3891, 11, 290, 644, 318, 262, 2160, 286, 12040, 6149, 329, 1123, 1720, 30, 46506, 309, 17, 13, 11167, 62, 3672, 11, 35683, 7, 51, 16, 13, 11167, 62, 40972, 414, 8, 16034, 1502, 62, 23814, 7054, 309, 16,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 389, 262, 1180, 1720, 3891, 11, 290, 644, 318, 262, 2160, 286, 12040, 6149, 329, 1123, 1720, 30, 46506, 309, 17, 13, 11167, 62, 3672, 11, 35683, 7, 51, 16, 13, 11167, 62, 40972, 414, 8, 16034, 1502, 62, 23814, 7054, 309, 16,...
What is Sue Bird's position?
SELECT position FROM table_name_93 WHERE player = "sue bird"
[ 2061, 318, 26089, 14506, 338, 2292, 30, 46506, 2292, 16034, 3084, 62, 3672, 62, 6052, 33411, 2137, 796, 366, 82, 518, 6512, 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, 26089, 14506, 338, 2292, 30, 46506, 2292, 16034, 3084, 62, 3672, 62, 6052, 33411, 2137, 796, 366, 82, 518, 6512, 1 ]
What is the Chord with a Minor that is seventh of f?
SELECT "Chord" FROM table_75814 WHERE "Minor seventh" = 'f'
[ 2061, 318, 262, 609, 585, 351, 257, 15367, 326, 318, 14024, 286, 277, 30, 46506, 366, 1925, 585, 1, 16034, 3084, 62, 38569, 1415, 33411, 366, 39825, 14024, 1, 796, 705, 69, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 609, 585, 351, 257, 15367, 326, 318, 14024, 286, 277, 30, 46506, 366, 1925, 585, 1, 16034, 3084, 62, 38569, 1415, 33411, 366, 39825, 14024, 1, 796, 705, 69, 6 ]
How many ends were won where the blank ends are smaller than 3.0?
SELECT Ends AS won FROM table_25718552_2 WHERE blank_ends < 3.0
[ 2437, 867, 5645, 547, 1839, 810, 262, 9178, 5645, 389, 4833, 621, 513, 13, 15, 30, 46506, 46756, 7054, 1839, 16034, 3084, 62, 28676, 1507, 40427, 62, 17, 33411, 9178, 62, 2412, 1279, 513, 13, 15 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 5645, 547, 1839, 810, 262, 9178, 5645, 389, 4833, 621, 513, 13, 15, 30, 46506, 46756, 7054, 1839, 16034, 3084, 62, 28676, 1507, 40427, 62, 17, 33411, 9178, 62, 2412, 1279, 513, 13, 15 ]
Name the number for autom vil club argentino for juan manuel fangio
SELECT "No" FROM table_24677 WHERE "Entrant" = 'Automóvil Club Argentino' AND "Driver" = 'Juan Manuel Fangio'
[ 5376, 262, 1271, 329, 3557, 39796, 3430, 1822, 298, 2879, 329, 474, 7258, 582, 2731, 277, 648, 952, 46506, 366, 2949, 1, 16034, 3084, 62, 1731, 40179, 33411, 366, 14539, 5250, 1, 796, 705, 38062, 10205, 2991, 6289, 12335, 2879, 6, 535...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 1271, 329, 3557, 39796, 3430, 1822, 298, 2879, 329, 474, 7258, 582, 2731, 277, 648, 952, 46506, 366, 2949, 1, 16034, 3084, 62, 1731, 40179, 33411, 366, 14539, 5250, 1, 796, 705, 38062, 10205, 2991, 6289, 12335, 2879, 6, 535...
Return the decor of the room named 'Recluse and defiance'.
SELECT decor FROM rooms WHERE roomname = "Recluse and defiance"
[ 13615, 262, 11705, 286, 262, 2119, 3706, 705, 3041, 565, 1904, 290, 35287, 4458, 46506, 11705, 16034, 9519, 33411, 2119, 3672, 796, 366, 3041, 565, 1904, 290, 35287, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13615, 262, 11705, 286, 262, 2119, 3706, 705, 3041, 565, 1904, 290, 35287, 4458, 46506, 11705, 16034, 9519, 33411, 2119, 3672, 796, 366, 3041, 565, 1904, 290, 35287, 1 ]
What were the starts when the points dropped 18?
SELECT races__starts_ FROM table_24937583_1 WHERE points__dropped_points_ = "18"
[ 2061, 547, 262, 4940, 618, 262, 2173, 5710, 1248, 30, 46506, 9558, 834, 301, 5889, 62, 16034, 3084, 62, 1731, 6052, 2425, 5999, 62, 16, 33411, 2173, 834, 22285, 1496, 62, 13033, 62, 796, 366, 1507, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4940, 618, 262, 2173, 5710, 1248, 30, 46506, 9558, 834, 301, 5889, 62, 16034, 3084, 62, 1731, 6052, 2425, 5999, 62, 16, 33411, 2173, 834, 22285, 1496, 62, 13033, 62, 796, 366, 1507, 1 ]
provide the number of patients whose primary disease is pneumonia and age is less than 82?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "PNEUMONIA" AND demographic.age < "82"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 4165, 4369, 318, 35647, 290, 2479, 318, 1342, 621, 9415, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 47356, 5958, 796, 366, 47, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15234, 485, 262, 1271, 286, 3871, 3025, 4165, 4369, 318, 35647, 290, 2479, 318, 1342, 621, 9415, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 47356, 5958, 796, 366, 47, ...
All tags of a given site.
SELECT t.TagName, t.Count, p1.Body, p2.Body FROM "superuser".dbo.Tags AS t LEFT JOIN "superuser".dbo.Posts AS p1 ON p1.Id = t.ExcerptPostId LEFT JOIN "superuser".dbo.Posts AS p2 ON p2.Id = t.WikiPostId ORDER BY t.Count DESC
[ 3237, 15940, 286, 257, 1813, 2524, 13, 46506, 256, 13, 24835, 5376, 11, 256, 13, 12332, 11, 279, 16, 13, 25842, 11, 279, 17, 13, 25842, 16034, 366, 16668, 7220, 1911, 67, 2127, 13, 36142, 7054, 256, 12509, 9792, 32357, 1268, 366, 16...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3237, 15940, 286, 257, 1813, 2524, 13, 46506, 256, 13, 24835, 5376, 11, 256, 13, 12332, 11, 279, 16, 13, 25842, 11, 279, 17, 13, 25842, 16034, 366, 16668, 7220, 1911, 67, 2127, 13, 36142, 7054, 256, 12509, 9792, 32357, 1268, 366, 16...
How many states has a 2009 estimate population of 27,3 million?
SELECT "Number of States" FROM table_70871 WHERE "Population (2009 estimate)" = '27,3 million'
[ 2437, 867, 2585, 468, 257, 3717, 8636, 3265, 286, 2681, 11, 18, 1510, 30, 46506, 366, 15057, 286, 1829, 1, 16034, 3084, 62, 32583, 4869, 33411, 366, 45251, 357, 10531, 8636, 16725, 796, 705, 1983, 11, 18, 1510, 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 ]
[ 2437, 867, 2585, 468, 257, 3717, 8636, 3265, 286, 2681, 11, 18, 1510, 30, 46506, 366, 15057, 286, 1829, 1, 16034, 3084, 62, 32583, 4869, 33411, 366, 45251, 357, 10531, 8636, 16725, 796, 705, 1983, 11, 18, 1510, 6 ]
A bar chart for returning the number of the categories of music festivals that have the result 'Awarded', and rank Category in descending order please.
SELECT Category, COUNT(Category) FROM music_festival WHERE Result = "Awarded" GROUP BY Category ORDER BY Category DESC
[ 32, 2318, 8262, 329, 8024, 262, 1271, 286, 262, 9376, 286, 2647, 25575, 326, 423, 262, 1255, 705, 32, 904, 276, 3256, 290, 4279, 21743, 287, 31491, 1502, 3387, 13, 46506, 21743, 11, 327, 28270, 7, 27313, 8, 16034, 2647, 62, 69, 6743...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 32, 2318, 8262, 329, 8024, 262, 1271, 286, 262, 9376, 286, 2647, 25575, 326, 423, 262, 1255, 705, 32, 904, 276, 3256, 290, 4279, 21743, 287, 31491, 1502, 3387, 13, 46506, 21743, 11, 327, 28270, 7, 27313, 8, 16034, 2647, 62, 69, 6743...
What is the record on December 4?
SELECT record FROM table_name_55 WHERE date = "december 4"
[ 2061, 318, 262, 1700, 319, 3426, 604, 30, 46506, 1700, 16034, 3084, 62, 3672, 62, 2816, 33411, 3128, 796, 366, 2934, 3273, 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 ]
[ 2061, 318, 262, 1700, 319, 3426, 604, 30, 46506, 1700, 16034, 3084, 62, 3672, 62, 2816, 33411, 3128, 796, 366, 2934, 3273, 604, 1 ]
Which unit has a Pennant Number of 82?
SELECT "Unit" FROM table_56362 WHERE "Pennant Number" = '82'
[ 13828, 4326, 468, 257, 6595, 415, 7913, 286, 9415, 30, 46506, 366, 26453, 1, 16034, 3084, 62, 3980, 35667, 33411, 366, 39899, 415, 7913, 1, 796, 705, 6469, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 4326, 468, 257, 6595, 415, 7913, 286, 9415, 30, 46506, 366, 26453, 1, 16034, 3084, 62, 3980, 35667, 33411, 366, 39899, 415, 7913, 1, 796, 705, 6469, 6 ]
has patient 003-42706 undergo a thrombolytics procedure in other hospitals since 5 years ago?
SELECT COUNT(*) > 0 FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.uniquepid = '003-42706' AND patient.hospitalid <> (SELECT DISTINCT patient.hospitalid FROM patient WHERE patient.uniquepid = '003-42706' AND patient.hospitaldischargetime IS NULL)) AND tr...
[ 10134, 5827, 3571, 18, 12, 42363, 3312, 17777, 257, 294, 398, 2127, 306, 14094, 8771, 287, 584, 11301, 1201, 642, 812, 2084, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 3513, 33411, 3513, 13, 26029, 20850, 31712, 312, 3268, 357, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10134, 5827, 3571, 18, 12, 42363, 3312, 17777, 257, 294, 398, 2127, 306, 14094, 8771, 287, 584, 11301, 1201, 642, 812, 2084, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 3513, 33411, 3513, 13, 26029, 20850, 31712, 312, 3268, 357, ...
Where was game 41 held, and how many people attended?
SELECT location_attendance FROM table_22883210_7 WHERE game = 41
[ 8496, 373, 983, 6073, 2714, 11, 290, 703, 867, 661, 9141, 30, 46506, 4067, 62, 1078, 437, 590, 16034, 3084, 62, 1828, 3459, 2624, 940, 62, 22, 33411, 983, 796, 6073 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8496, 373, 983, 6073, 2714, 11, 290, 703, 867, 661, 9141, 30, 46506, 4067, 62, 1078, 437, 590, 16034, 3084, 62, 1828, 3459, 2624, 940, 62, 22, 33411, 983, 796, 6073 ]
how many patients were prescribed during the last year with sodium chloride 0.9 % iv solp within 2 months after the procedure of cardiac angiography?
SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, treatment.treatmenttime FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'cardiac angiography' AND DATETIME(treatment.treatmenttime, 'start of year') = DATETIME(CURRENT_TIME(), 'star...
[ 4919, 867, 3871, 547, 14798, 1141, 262, 938, 614, 351, 21072, 44921, 657, 13, 24, 4064, 21628, 1540, 79, 1626, 362, 1933, 706, 262, 8771, 286, 26077, 3550, 72, 4867, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 403, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 547, 14798, 1141, 262, 938, 614, 351, 21072, 44921, 657, 13, 24, 4064, 21628, 1540, 79, 1626, 362, 1933, 706, 262, 8771, 286, 26077, 3550, 72, 4867, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 403, ...
What are the different affiliations, and what is the total enrollment of schools founded after 1850 for each enrollment type Visualize by bar chart, and order by the total number in desc.
SELECT Affiliation, SUM(Enrollment) FROM university WHERE Founded > 1850 GROUP BY Affiliation ORDER BY SUM(Enrollment) DESC
[ 2061, 389, 262, 1180, 8349, 602, 11, 290, 644, 318, 262, 2472, 20753, 286, 4266, 9393, 706, 35745, 329, 1123, 20753, 2099, 15612, 1096, 416, 2318, 8262, 11, 290, 1502, 416, 262, 2472, 1271, 287, 1715, 13, 46506, 6708, 15547, 11, 35683...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1180, 8349, 602, 11, 290, 644, 318, 262, 2472, 20753, 286, 4266, 9393, 706, 35745, 329, 1123, 20753, 2099, 15612, 1096, 416, 2318, 8262, 11, 290, 1502, 416, 262, 2472, 1271, 287, 1715, 13, 46506, 6708, 15547, 11, 35683...
What is the most total goals for a player having 0 FA Cup goals and 41 League appearances?
SELECT MAX(total_goals) FROM table_name_98 WHERE fa_cup_goals = 0 AND league_apps = "41"
[ 2061, 318, 262, 749, 2472, 4661, 329, 257, 2137, 1719, 657, 9677, 5454, 4661, 290, 6073, 4041, 11057, 30, 46506, 25882, 7, 23350, 62, 2188, 874, 8, 16034, 3084, 62, 3672, 62, 4089, 33411, 24685, 62, 25244, 62, 2188, 874, 796, 657, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 749, 2472, 4661, 329, 257, 2137, 1719, 657, 9677, 5454, 4661, 290, 6073, 4041, 11057, 30, 46506, 25882, 7, 23350, 62, 2188, 874, 8, 16034, 3084, 62, 3672, 62, 4089, 33411, 24685, 62, 25244, 62, 2188, 874, 796, 657, 5...
Scatter. what are ids and total number of hours played for each game?
SELECT GameID, SUM(Hours_Played) FROM Plays_Games GROUP BY GameID
[ 3351, 1436, 13, 644, 389, 220, 2340, 290, 2472, 1271, 286, 2250, 2826, 329, 1123, 983, 30, 46506, 3776, 2389, 11, 35683, 7, 39792, 62, 11002, 276, 8, 16034, 38116, 62, 24474, 44441, 11050, 3776, 2389 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 3351, 1436, 13, 644, 389, 220, 2340, 290, 2472, 1271, 286, 2250, 2826, 329, 1123, 983, 30, 46506, 3776, 2389, 11, 35683, 7, 39792, 62, 11002, 276, 8, 16034, 38116, 62, 24474, 44441, 11050, 3776, 2389 ]
count the number of patients diagnosed with alzheimer's disease who were admitted before 2190.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admityear < "2190" AND diagnoses.short_title = "Alzheimer's disease"
[ 9127, 262, 1271, 286, 3871, 14641, 351, 435, 89, 16288, 338, 4369, 508, 547, 6848, 878, 362, 19782, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 167...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9127, 262, 1271, 286, 3871, 14641, 351, 435, 89, 16288, 338, 4369, 508, 547, 6848, 878, 362, 19782, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 167...
Name the number of rounds for brno
SELECT COUNT(round) FROM table_27948565_1 WHERE circuit = "Brno"
[ 5376, 262, 1271, 286, 9196, 329, 865, 3919, 46506, 327, 28270, 7, 744, 8, 16034, 3084, 62, 26050, 32642, 2996, 62, 16, 33411, 10349, 796, 366, 9414, 3919, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 1271, 286, 9196, 329, 865, 3919, 46506, 327, 28270, 7, 744, 8, 16034, 3084, 62, 26050, 32642, 2996, 62, 16, 33411, 10349, 796, 366, 9414, 3919, 1 ]
When there are more than 126 errors, more than 551 kills, and more than 40 assists for the 2007 season, what is the total of Solo Blocks?
SELECT SUM("Solo Blocks") FROM table_12684 WHERE "Errors" > '126' AND "Kills" > '551' AND "Season" = '2007' AND "Assists" > '40'
[ 2215, 612, 389, 517, 621, 19710, 8563, 11, 517, 621, 642, 4349, 12847, 11, 290, 517, 621, 2319, 13648, 329, 262, 4343, 1622, 11, 644, 318, 262, 2472, 286, 20284, 35111, 30, 46506, 35683, 7203, 50, 14057, 35111, 4943, 16034, 3084, 62, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2215, 612, 389, 517, 621, 19710, 8563, 11, 517, 621, 642, 4349, 12847, 11, 290, 517, 621, 2319, 13648, 329, 262, 4343, 1622, 11, 644, 318, 262, 2472, 286, 20284, 35111, 30, 46506, 35683, 7203, 50, 14057, 35111, 4943, 16034, 3084, 62, ...
Which Country that has 600?
SELECT "Country" FROM table_68284 WHERE "Money ( $ )" = '600'
[ 13828, 12946, 326, 468, 10053, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 3104, 30336, 33411, 366, 26788, 357, 720, 1267, 1, 796, 705, 8054, 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 ]
[ 13828, 12946, 326, 468, 10053, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 3104, 30336, 33411, 366, 26788, 357, 720, 1267, 1, 796, 705, 8054, 6 ]
For those employees who did not have any job in the past, give me the comparison about the average of manager_id over the hire_date bin hire_date by time by a bar chart.
SELECT HIRE_DATE, AVG(MANAGER_ID) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history)
[ 1890, 883, 4409, 508, 750, 407, 423, 597, 1693, 287, 262, 1613, 11, 1577, 502, 262, 7208, 546, 262, 2811, 286, 4706, 62, 312, 625, 262, 11078, 62, 4475, 9874, 11078, 62, 4475, 416, 640, 416, 257, 2318, 8262, 13, 46506, 36210, 2200, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 750, 407, 423, 597, 1693, 287, 262, 1613, 11, 1577, 502, 262, 7208, 546, 262, 2811, 286, 4706, 62, 312, 625, 262, 11078, 62, 4475, 9874, 11078, 62, 4475, 416, 640, 416, 257, 2318, 8262, 13, 46506, 36210, 2200, ...
What is the surface made of if the year is 1979 and the championship is US Open?
SELECT surface FROM table_22597626_2 WHERE championship = "US Open" AND year = 1979
[ 2061, 318, 262, 4417, 925, 286, 611, 262, 614, 318, 13521, 290, 262, 12184, 318, 1294, 4946, 30, 46506, 4417, 16034, 3084, 62, 18182, 24, 4304, 2075, 62, 17, 33411, 12184, 796, 366, 2937, 4946, 1, 5357, 614, 796, 13521 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4417, 925, 286, 611, 262, 614, 318, 13521, 290, 262, 12184, 318, 1294, 4946, 30, 46506, 4417, 16034, 3084, 62, 18182, 24, 4304, 2075, 62, 17, 33411, 12184, 796, 366, 2937, 4946, 1, 5357, 614, 796, 13521 ]
What is the Money ($) player Loren Roberts has made?
SELECT MAX("Money ( $ )") FROM table_47784 WHERE "Player" = 'loren roberts'
[ 2061, 318, 262, 12911, 45491, 2137, 32035, 10918, 468, 925, 30, 46506, 25882, 7203, 26788, 357, 720, 1267, 4943, 16034, 3084, 62, 2857, 37688, 33411, 366, 14140, 1, 796, 705, 75, 29578, 686, 527, 912, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 12911, 45491, 2137, 32035, 10918, 468, 925, 30, 46506, 25882, 7203, 26788, 357, 720, 1267, 4943, 16034, 3084, 62, 2857, 37688, 33411, 366, 14140, 1, 796, 705, 75, 29578, 686, 527, 912, 6 ]
tell me the procedure icd9 code for patient kelly gallardo.
SELECT procedures.icd9_code FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.name = "Kelly Gallardo"
[ 33331, 502, 262, 8771, 14158, 67, 24, 2438, 329, 5827, 885, 12810, 7976, 13109, 13, 46506, 9021, 13, 291, 67, 24, 62, 8189, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, 13, 18108, 76, 62, 312, 796, 9021, 13, 18108, 76, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8771, 14158, 67, 24, 2438, 329, 5827, 885, 12810, 7976, 13109, 13, 46506, 9021, 13, 291, 67, 24, 62, 8189, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, 13, 18108, 76, 62, 312, 796, 9021, 13, 18108, 76, ...
When 24:31 is the run time how many millions of viewers are there?
SELECT "Viewers (in millions)" FROM table_2410 WHERE "Run time" = '24:31'
[ 2215, 1987, 25, 3132, 318, 262, 1057, 640, 703, 867, 5242, 286, 10209, 389, 612, 30, 46506, 366, 7680, 364, 357, 259, 5242, 16725, 16034, 3084, 62, 1731, 940, 33411, 366, 10987, 640, 1, 796, 705, 1731, 25, 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 ]
[ 2215, 1987, 25, 3132, 318, 262, 1057, 640, 703, 867, 5242, 286, 10209, 389, 612, 30, 46506, 366, 7680, 364, 357, 259, 5242, 16725, 16034, 3084, 62, 1731, 940, 33411, 366, 10987, 640, 1, 796, 705, 1731, 25, 3132, 6 ]
Which movies have 'Deleted Scenes' as a substring in the special feature?
SELECT title FROM film WHERE special_features LIKE '%Deleted Scenes%'
[ 13828, 6918, 423, 705, 5005, 33342, 49525, 6, 355, 257, 3293, 1806, 287, 262, 2041, 3895, 30, 46506, 3670, 16034, 2646, 33411, 2041, 62, 40890, 34178, 705, 4, 5005, 33342, 49525, 4, 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 ]
[ 13828, 6918, 423, 705, 5005, 33342, 49525, 6, 355, 257, 3293, 1806, 287, 262, 2041, 3895, 30, 46506, 3670, 16034, 2646, 33411, 2041, 62, 40890, 34178, 705, 4, 5005, 33342, 49525, 4, 6 ]
what is the maximum age of patients whose admission type is elective and insurance is private.
SELECT MAX(demographic.age) FROM demographic WHERE demographic.admission_type = "ELECTIVE" AND demographic.insurance = "Private"
[ 10919, 318, 262, 5415, 2479, 286, 3871, 3025, 13938, 2099, 318, 1742, 425, 290, 5096, 318, 2839, 13, 46506, 25882, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, 4906, 796, 366, 36, 16779, 9306, 1, 5357, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 5415, 2479, 286, 3871, 3025, 13938, 2099, 318, 1742, 425, 290, 5096, 318, 2839, 13, 46506, 25882, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, 4906, 796, 366, 36, 16779, 9306, 1, 5357, 1...
provide the number of patients whose diagnoses long title is unspecified fetal and neonatal jaundice and drug name is tamsulosin?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.long_title = "Unspecified fetal and neonatal jaundice" AND prescriptions.drug = "Tamsulosin"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 40567, 890, 3670, 318, 29547, 27652, 290, 25988, 10254, 474, 14677, 501, 290, 2563, 1438, 318, 256, 4105, 377, 418, 259, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 15234, 485, 262, 1271, 286, 3871, 3025, 40567, 890, 3670, 318, 29547, 27652, 290, 25988, 10254, 474, 14677, 501, 290, 2563, 1438, 318, 256, 4105, 377, 418, 259, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312...
Tags by average number of views per post.
SELECT t.TagName, AVG(p.ViewCount) AS Views, COUNT(p.Id) AS "number_of_posts" FROM Posts AS p JOIN PostTags AS pt ON p.Id = pt.PostId JOIN Tags AS t ON pt.TagId = t.Id GROUP BY t.TagName ORDER BY Views DESC
[ 36142, 416, 2811, 1271, 286, 5009, 583, 1281, 13, 46506, 256, 13, 24835, 5376, 11, 35224, 7, 79, 13, 7680, 12332, 8, 7054, 29978, 11, 327, 28270, 7, 79, 13, 7390, 8, 7054, 366, 17618, 62, 1659, 62, 24875, 1, 16034, 12043, 7054, 27...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 36142, 416, 2811, 1271, 286, 5009, 583, 1281, 13, 46506, 256, 13, 24835, 5376, 11, 35224, 7, 79, 13, 7680, 12332, 8, 7054, 29978, 11, 327, 28270, 7, 79, 13, 7390, 8, 7054, 366, 17618, 62, 1659, 62, 24875, 1, 16034, 12043, 7054, 27...
Show the average, minimum, and maximum age for different majors.
SELECT major, AVG(age), MIN(age), MAX(age) FROM Student GROUP BY major
[ 15307, 262, 2811, 11, 5288, 11, 290, 5415, 2479, 329, 1180, 26353, 13, 46506, 1688, 11, 35224, 7, 496, 828, 20625, 7, 496, 828, 25882, 7, 496, 8, 16034, 13613, 44441, 11050, 1688 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 262, 2811, 11, 5288, 11, 290, 5415, 2479, 329, 1180, 26353, 13, 46506, 1688, 11, 35224, 7, 496, 828, 20625, 7, 496, 828, 25882, 7, 496, 8, 16034, 13613, 44441, 11050, 1688 ]
calculate the number of cases of zymar prescription.
SELECT COUNT(*) FROM prescriptions WHERE prescriptions.drug = 'zymar'
[ 9948, 3129, 378, 262, 1271, 286, 2663, 286, 1976, 88, 3876, 15077, 13, 46506, 327, 28270, 7, 28104, 16034, 34092, 33411, 34092, 13, 30349, 796, 705, 7357, 3876, 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 ]
[ 9948, 3129, 378, 262, 1271, 286, 2663, 286, 1976, 88, 3876, 15077, 13, 46506, 327, 28270, 7, 28104, 16034, 34092, 33411, 34092, 13, 30349, 796, 705, 7357, 3876, 6 ]
since 2104 what was the four most common specimen test?
SELECT t1.spec_type_desc FROM (SELECT microbiologyevents.spec_type_desc, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM microbiologyevents WHERE STRFTIME('%y', microbiologyevents.charttime) >= '2104' GROUP BY microbiologyevents.spec_type_desc) AS t1 WHERE t1.c1 <= 4
[ 20777, 362, 13464, 644, 373, 262, 1440, 749, 2219, 31674, 1332, 30, 46506, 256, 16, 13, 16684, 62, 4906, 62, 20147, 16034, 357, 46506, 24559, 1435, 31534, 13, 16684, 62, 4906, 62, 20147, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 20777, 362, 13464, 644, 373, 262, 1440, 749, 2219, 31674, 1332, 30, 46506, 256, 16, 13, 16684, 62, 4906, 62, 20147, 16034, 357, 46506, 24559, 1435, 31534, 13, 16684, 62, 4906, 62, 20147, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357...
how many voice actor (englbeingh 1998 / pioneer) with voice actor (japanese) being shinobu satouchi
SELECT COUNT(voice_actor__english_1998___pioneer_) FROM table_1410384_1 WHERE voice_actor__japanese_ = "Shinobu Satouchi"
[ 4919, 867, 3809, 8674, 357, 1516, 75, 11873, 71, 7795, 1220, 29570, 8, 351, 3809, 8674, 357, 73, 2674, 2771, 8, 852, 40465, 672, 84, 3332, 7673, 72, 46506, 327, 28270, 7, 38888, 62, 11218, 834, 39126, 62, 21113, 17569, 79, 7935, 263...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3809, 8674, 357, 1516, 75, 11873, 71, 7795, 1220, 29570, 8, 351, 3809, 8674, 357, 73, 2674, 2771, 8, 852, 40465, 672, 84, 3332, 7673, 72, 46506, 327, 28270, 7, 38888, 62, 11218, 834, 39126, 62, 21113, 17569, 79, 7935, 263...
Who is the team captain for the team with sparkasse (d sseldorf) as the shirt sponsor?
SELECT team AS captain FROM table_name_41 WHERE shirt_sponsor = "sparkasse (düsseldorf)"
[ 8241, 318, 262, 1074, 10654, 329, 262, 1074, 351, 9009, 21612, 357, 67, 264, 325, 335, 24263, 8, 355, 262, 10147, 17487, 30, 46506, 1074, 7054, 10654, 16034, 3084, 62, 3672, 62, 3901, 33411, 10147, 62, 20587, 273, 796, 366, 2777, 668,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1074, 10654, 329, 262, 1074, 351, 9009, 21612, 357, 67, 264, 325, 335, 24263, 8, 355, 262, 10147, 17487, 30, 46506, 1074, 7054, 10654, 16034, 3084, 62, 3672, 62, 3901, 33411, 10147, 62, 20587, 273, 796, 366, 2777, 668,...