instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
What is the highest rank of a company that has 1,715.8 billion in assets?
SELECT MAX("Rank") FROM table_72825 WHERE "Assets (billion $)" = '1,715.8'
[ 2061, 318, 262, 4511, 4279, 286, 257, 1664, 326, 468, 352, 11, 22, 1314, 13, 23, 2997, 287, 6798, 30, 46506, 25882, 7203, 27520, 4943, 16034, 3084, 62, 48524, 1495, 33411, 366, 8021, 1039, 357, 24540, 720, 16725, 796, 705, 16, 11, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4511, 4279, 286, 257, 1664, 326, 468, 352, 11, 22, 1314, 13, 23, 2997, 287, 6798, 30, 46506, 25882, 7203, 27520, 4943, 16034, 3084, 62, 48524, 1495, 33411, 366, 8021, 1039, 357, 24540, 720, 16725, 796, 705, 16, 11, 2...
What is the smallest crowd at punt road oval?
SELECT MIN(crowd) FROM table_name_10 WHERE venue = "punt road oval"
[ 2061, 318, 262, 18197, 4315, 379, 35363, 2975, 41186, 30, 46506, 20625, 7, 66, 3986, 8, 16034, 3084, 62, 3672, 62, 940, 33411, 14359, 796, 366, 79, 2797, 2975, 41186, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 18197, 4315, 379, 35363, 2975, 41186, 30, 46506, 20625, 7, 66, 3986, 8, 16034, 3084, 62, 3672, 62, 940, 33411, 14359, 796, 366, 79, 2797, 2975, 41186, 1 ]
List the name and count of each product in all orders.
SELECT T3.product_name, COUNT(*) FROM orders AS T1 JOIN order_items AS T2 JOIN products AS T3 ON T1.order_id = T2.order_id AND T2.product_id = T3.product_id GROUP BY T3.product_id
[ 8053, 262, 1438, 290, 954, 286, 1123, 1720, 287, 477, 6266, 13, 46506, 309, 18, 13, 11167, 62, 3672, 11, 327, 28270, 7, 28104, 16034, 6266, 7054, 309, 16, 32357, 1268, 1502, 62, 23814, 7054, 309, 17, 32357, 1268, 3186, 7054, 309, 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, 1, 1, 1, 1...
[ 8053, 262, 1438, 290, 954, 286, 1123, 1720, 287, 477, 6266, 13, 46506, 309, 18, 13, 11167, 62, 3672, 11, 327, 28270, 7, 28104, 16034, 6266, 7054, 309, 16, 32357, 1268, 1502, 62, 23814, 7054, 309, 17, 32357, 1268, 3186, 7054, 309, 18...
What type is the misurina to bassano del grappa course?
SELECT type FROM table_name_24 WHERE course = "misurina to bassano del grappa"
[ 2061, 2099, 318, 262, 2984, 333, 1437, 284, 12702, 5733, 1619, 21338, 64, 1781, 30, 46506, 2099, 16034, 3084, 62, 3672, 62, 1731, 33411, 1781, 796, 366, 25413, 333, 1437, 284, 12702, 5733, 1619, 21338, 64, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 2099, 318, 262, 2984, 333, 1437, 284, 12702, 5733, 1619, 21338, 64, 1781, 30, 46506, 2099, 16034, 3084, 62, 3672, 62, 1731, 33411, 1781, 796, 366, 25413, 333, 1437, 284, 12702, 5733, 1619, 21338, 64, 1 ]
What opponent has 32 as the round?
SELECT opponent FROM table_name_41 WHERE round = "32"
[ 2061, 6125, 468, 3933, 355, 262, 2835, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 3901, 33411, 2835, 796, 366, 2624, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 6125, 468, 3933, 355, 262, 2835, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 3901, 33411, 2835, 796, 366, 2624, 1 ]
Which Artist has an Issue Price of $8,159.95?
SELECT artist FROM table_name_11 WHERE issue_price = "$8,159.95"
[ 13828, 18902, 468, 281, 18232, 7886, 286, 720, 23, 11, 19707, 13, 3865, 30, 46506, 6802, 16034, 3084, 62, 3672, 62, 1157, 33411, 2071, 62, 20888, 796, 17971, 23, 11, 19707, 13, 3865, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 18902, 468, 281, 18232, 7886, 286, 720, 23, 11, 19707, 13, 3865, 30, 46506, 6802, 16034, 3084, 62, 3672, 62, 1157, 33411, 2071, 62, 20888, 796, 17971, 23, 11, 19707, 13, 3865, 1 ]
Question up/down voting by time.
SELECT CAST(DATEADD(week, DATEDIFF(week, @epoch, CreationDate), @epoch) AS DATE) AS week, COUNT(CASE WHEN VoteTypeId = 2 THEN 1 END) * 1.0 / COUNT(*) FROM Posts AS p JOIN Votes AS v ON PostId = p.Id WHERE PostTypeId = 1 AND VoteTypeId IN (2, 3) AND p.CreationDate > @FirstQuestion GROUP BY DATEDIFF(week, @epoch, Creatio...
[ 24361, 510, 14, 2902, 6709, 416, 640, 13, 46506, 327, 11262, 7, 35, 6158, 29266, 7, 10464, 11, 360, 11617, 29267, 7, 10464, 11, 2488, 538, 5374, 11, 21582, 10430, 828, 2488, 538, 5374, 8, 7054, 360, 6158, 8, 7054, 1285, 11, 327, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 24361, 510, 14, 2902, 6709, 416, 640, 13, 46506, 327, 11262, 7, 35, 6158, 29266, 7, 10464, 11, 360, 11617, 29267, 7, 10464, 11, 2488, 538, 5374, 11, 21582, 10430, 828, 2488, 538, 5374, 8, 7054, 360, 6158, 8, 7054, 1285, 11, 327, 2...
what are the classes of service on LH
SELECT DISTINCT class_of_service.booking_class FROM class_of_service, fare, fare_basis, flight, flight_fare WHERE fare_basis.booking_class = class_of_service.booking_class AND fare.fare_basis_code = fare_basis.fare_basis_code AND flight_fare.fare_id = fare.fare_id AND flight.airline_code = 'LH' AND flight.flight_id = f...
[ 10919, 389, 262, 6097, 286, 2139, 319, 49730, 46506, 360, 8808, 1268, 4177, 1398, 62, 1659, 62, 15271, 13, 2070, 278, 62, 4871, 16034, 1398, 62, 1659, 62, 15271, 11, 14505, 11, 14505, 62, 12093, 271, 11, 5474, 11, 5474, 62, 9496, 33...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6097, 286, 2139, 319, 49730, 46506, 360, 8808, 1268, 4177, 1398, 62, 1659, 62, 15271, 13, 2070, 278, 62, 4871, 16034, 1398, 62, 1659, 62, 15271, 11, 14505, 11, 14505, 62, 12093, 271, 11, 5474, 11, 5474, 62, 9496, 33...
What is the total of 2013 with 6th?
SELECT MAX("Total") FROM table_68541 WHERE "2013" = '6th'
[ 2061, 318, 262, 2472, 286, 2211, 351, 718, 400, 30, 46506, 25882, 7203, 14957, 4943, 16034, 3084, 62, 35978, 3901, 33411, 366, 6390, 1, 796, 705, 21, 400, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2472, 286, 2211, 351, 718, 400, 30, 46506, 25882, 7203, 14957, 4943, 16034, 3084, 62, 35978, 3901, 33411, 366, 6390, 1, 796, 705, 21, 400, 6 ]
How many total appearances did Grant Brebner have?
SELECT "Total" FROM table_15233 WHERE "Name" = 'grant brebner'
[ 2437, 867, 2472, 11057, 750, 12181, 3719, 65, 1008, 423, 30, 46506, 366, 14957, 1, 16034, 3084, 62, 1314, 25429, 33411, 366, 5376, 1, 796, 705, 2164, 415, 1449, 65, 1008, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 2472, 11057, 750, 12181, 3719, 65, 1008, 423, 30, 46506, 366, 14957, 1, 16034, 3084, 62, 1314, 25429, 33411, 366, 5376, 1, 796, 705, 2164, 415, 1449, 65, 1008, 6 ]
What are the NAVSCI classes needed to graduate as a CS major ?
SELECT DISTINCT course.department, course.name, course.number FROM program_course INNER JOIN course ON program_course.course_id = course.course_id WHERE course.department = 'NAVSCI'
[ 2061, 389, 262, 47140, 6173, 40, 6097, 2622, 284, 10428, 355, 257, 9429, 1688, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1430, 62, 17319, 3268, 21479, 32357, 1268, 1781, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 47140, 6173, 40, 6097, 2622, 284, 10428, 355, 257, 9429, 1688, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1430, 62, 17319, 3268, 21479, 32357, 1268, 1781, ...
Top iOS Users in Moscow By UpVotes.
WITH USER_BY_TAG AS (SELECT ROW_NUMBER() OVER (ORDER BY COUNT(*) DESC) AS Rank, u.Id AS "user_link", COUNT(*) AS UpVotes FROM Tags AS t INNER JOIN PostTags AS pt ON pt.TagId = t.Id INNER JOIN Posts AS p ON p.ParentId = pt.PostId INNER JOIN Votes AS v ON v.PostId = p.Id AND VoteTypeId = 2 INNER JOIN Users AS u ON u.Id =...
[ 9126, 8969, 18987, 287, 9070, 2750, 3205, 53, 6421, 13, 54, 10554, 1294, 1137, 62, 17513, 62, 42197, 7054, 357, 46506, 371, 3913, 62, 41359, 13246, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, 7, 28104, 22196, 34, 8, 7054, 10916, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9126, 8969, 18987, 287, 9070, 2750, 3205, 53, 6421, 13, 54, 10554, 1294, 1137, 62, 17513, 62, 42197, 7054, 357, 46506, 371, 3913, 62, 41359, 13246, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, 7, 28104, 22196, 34, 8, 7054, 10916, ...
What's the record for Game 58?
SELECT record FROM table_name_22 WHERE game = 58
[ 2061, 338, 262, 1700, 329, 3776, 7618, 30, 46506, 1700, 16034, 3084, 62, 3672, 62, 1828, 33411, 983, 796, 7618 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 338, 262, 1700, 329, 3776, 7618, 30, 46506, 1700, 16034, 3084, 62, 3672, 62, 1828, 33411, 983, 796, 7618 ]
What team was in 1st plate in a year later than 1956?
SELECT 1 AS st_place_team FROM table_name_84 WHERE year > 1956
[ 2061, 1074, 373, 287, 352, 301, 7480, 287, 257, 614, 1568, 621, 25190, 30, 46506, 352, 7054, 336, 62, 5372, 62, 15097, 16034, 3084, 62, 3672, 62, 5705, 33411, 614, 1875, 25190 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1074, 373, 287, 352, 301, 7480, 287, 257, 614, 1568, 621, 25190, 30, 46506, 352, 7054, 336, 62, 5372, 62, 15097, 16034, 3084, 62, 3672, 62, 5705, 33411, 614, 1875, 25190 ]
Draw a bar chart of county versus the total number, and display by the X in asc.
SELECT County, COUNT(*) FROM School GROUP BY County ORDER BY County
[ 25302, 257, 2318, 8262, 286, 7968, 9051, 262, 2472, 1271, 11, 290, 3359, 416, 262, 1395, 287, 10570, 13, 46506, 3418, 11, 327, 28270, 7, 28104, 16034, 3961, 44441, 11050, 3418, 38678, 11050, 3418 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 25302, 257, 2318, 8262, 286, 7968, 9051, 262, 2472, 1271, 11, 290, 3359, 416, 262, 1395, 287, 10570, 13, 46506, 3418, 11, 327, 28270, 7, 28104, 16034, 3961, 44441, 11050, 3418, 38678, 11050, 3418 ]
What was the ground for away team essendon?
SELECT "Ground" FROM table_76842 WHERE "Away team" = 'essendon'
[ 2061, 373, 262, 2323, 329, 1497, 1074, 3209, 43153, 30, 46506, 366, 35539, 1, 16034, 3084, 62, 30610, 3682, 33411, 366, 32, 1014, 1074, 1, 796, 705, 408, 43153, 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, 373, 262, 2323, 329, 1497, 1074, 3209, 43153, 30, 46506, 366, 35539, 1, 16034, 3084, 62, 30610, 3682, 33411, 366, 32, 1014, 1074, 1, 796, 705, 408, 43153, 6 ]
What is the fewest Al Ahly wins for El Zamalek wins of 0 and 0 draws?
SELECT MIN(al_ahly_wins) FROM table_name_29 WHERE draws = 0 AND el_zamalek_wins < 0
[ 2061, 318, 262, 1178, 395, 978, 7900, 306, 7864, 329, 2574, 38343, 282, 988, 7864, 286, 657, 290, 657, 14293, 30, 46506, 20625, 7, 282, 62, 993, 306, 62, 86, 1040, 8, 16034, 3084, 62, 3672, 62, 1959, 33411, 14293, 796, 657, 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, 1, 1, 1 ]
[ 2061, 318, 262, 1178, 395, 978, 7900, 306, 7864, 329, 2574, 38343, 282, 988, 7864, 286, 657, 290, 657, 14293, 30, 46506, 20625, 7, 282, 62, 993, 306, 62, 86, 1040, 8, 16034, 3084, 62, 3672, 62, 1959, 33411, 14293, 796, 657, 5357, ...
Name the incumbent for virginia 4
SELECT "Incumbent" FROM table_28942 WHERE "District" = 'Virginia 4'
[ 5376, 262, 23526, 329, 21772, 544, 604, 46506, 366, 25517, 2178, 298, 1, 16034, 3084, 62, 27693, 3682, 33411, 366, 44857, 1, 796, 705, 41017, 604, 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 ]
[ 5376, 262, 23526, 329, 21772, 544, 604, 46506, 366, 25517, 2178, 298, 1, 16034, 3084, 62, 27693, 3682, 33411, 366, 44857, 1, 796, 705, 41017, 604, 6 ]
COunt the average Enrollment in hope?
SELECT AVG("Enrollment") FROM table_65146 WHERE "Location" = 'hope'
[ 8220, 2797, 262, 2811, 2039, 48108, 287, 2911, 30, 46506, 35224, 7203, 4834, 48108, 4943, 16034, 3084, 62, 2996, 20964, 33411, 366, 14749, 1, 796, 705, 71, 3008, 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 ]
[ 8220, 2797, 262, 2811, 2039, 48108, 287, 2911, 30, 46506, 35224, 7203, 4834, 48108, 4943, 16034, 3084, 62, 2996, 20964, 33411, 366, 14749, 1, 796, 705, 71, 3008, 6 ]
For those records from the products and each product's manufacturer, give me the comparison about the sum of revenue over the headquarter , and group by attribute headquarter by a bar chart, and could you sort Y in desc order?
SELECT Headquarter, SUM(Revenue) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Headquarter ORDER BY SUM(Revenue) DESC
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 1577, 502, 262, 7208, 546, 262, 2160, 286, 6426, 625, 262, 1182, 24385, 837, 290, 1448, 416, 11688, 1182, 24385, 416, 257, 2318, 8262, 11, 290, 714, 345, 3297, 575, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 1577, 502, 262, 7208, 546, 262, 2160, 286, 6426, 625, 262, 1182, 24385, 837, 290, 1448, 416, 11688, 1182, 24385, 416, 257, 2318, 8262, 11, 290, 714, 345, 3297, 575, 2...
WHAT YEAR HAS A BRONZE OF VALENTIN NOVIKOV?
SELECT AVG(year) FROM table_name_88 WHERE bronze = "valentin novikov"
[ 32971, 32914, 33930, 317, 11177, 1340, 21211, 3963, 26173, 3525, 1268, 8005, 12861, 42, 8874, 30, 46506, 35224, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 3459, 33411, 22101, 796, 366, 2100, 31371, 645, 28930, 709, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 32971, 32914, 33930, 317, 11177, 1340, 21211, 3963, 26173, 3525, 1268, 8005, 12861, 42, 8874, 30, 46506, 35224, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 3459, 33411, 22101, 796, 366, 2100, 31371, 645, 28930, 709, 1 ]
What was the result of the election when someone was first elected in 1960?
SELECT "Result" FROM table_18305 WHERE "First elected" = '1960'
[ 2061, 373, 262, 1255, 286, 262, 3071, 618, 2130, 373, 717, 7018, 287, 9507, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 1507, 22515, 33411, 366, 5962, 7018, 1, 796, 705, 38503, 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, 373, 262, 1255, 286, 262, 3071, 618, 2130, 373, 717, 7018, 287, 9507, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 1507, 22515, 33411, 366, 5962, 7018, 1, 796, 705, 38503, 6 ]
Which opponent has a game larger than 61, february smaller than 28, and fewer points than 69?
SELECT opponent FROM table_name_73 WHERE game > 61 AND february < 28 AND points < 69
[ 13828, 6125, 468, 257, 983, 4025, 621, 8454, 11, 730, 65, 3728, 4833, 621, 2579, 11, 290, 7380, 2173, 621, 8644, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 4790, 33411, 983, 1875, 8454, 5357, 730, 65, 3728, 1279, 2579, 5357, 2173, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 6125, 468, 257, 983, 4025, 621, 8454, 11, 730, 65, 3728, 4833, 621, 2579, 11, 290, 7380, 2173, 621, 8644, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 4790, 33411, 983, 1875, 8454, 5357, 730, 65, 3728, 1279, 2579, 5357, 2173, ...
did patient 030-64961 undergo the last year a active warming procedure?
SELECT COUNT(*) > 0 FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '030-64961')) AND treatment.treatmentname = 'active warming' AND DATETIME(tre...
[ 20839, 5827, 657, 1270, 12, 2414, 4846, 16, 17777, 262, 938, 614, 257, 4075, 9917, 8771, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 3513, 33411, 3513, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 20839, 5827, 657, 1270, 12, 2414, 4846, 16, 17777, 262, 938, 614, 257, 4075, 9917, 8771, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 3513, 33411, 3513, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712...
What is the total number of E edges of the polyhedra with vertices V greater than 20?
SELECT COUNT(edges_e) FROM table_name_32 WHERE vertices_v > 20
[ 2061, 318, 262, 2472, 1271, 286, 412, 13015, 286, 262, 7514, 704, 430, 351, 9421, 1063, 569, 3744, 621, 1160, 30, 46506, 327, 28270, 7, 276, 3212, 62, 68, 8, 16034, 3084, 62, 3672, 62, 2624, 33411, 9421, 1063, 62, 85, 1875, 1160 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1271, 286, 412, 13015, 286, 262, 7514, 704, 430, 351, 9421, 1063, 569, 3744, 621, 1160, 30, 46506, 327, 28270, 7, 276, 3212, 62, 68, 8, 16034, 3084, 62, 3672, 62, 2624, 33411, 9421, 1063, 62, 85, 1875, 1160 ]
Return a bar chart on what are the names and prices of all products in the store?
SELECT Name, AVG(Price) FROM Products GROUP BY Name
[ 13615, 257, 2318, 8262, 319, 644, 389, 262, 3891, 290, 4536, 286, 477, 3186, 287, 262, 3650, 30, 46506, 6530, 11, 35224, 7, 18124, 8, 16034, 18675, 44441, 11050, 6530 ]
[ 1, 1, 1, 1, 1, 1, 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, 257, 2318, 8262, 319, 644, 389, 262, 3891, 290, 4536, 286, 477, 3186, 287, 262, 3650, 30, 46506, 6530, 11, 35224, 7, 18124, 8, 16034, 18675, 44441, 11050, 6530 ]
how many patients whose admission location is phys referral/normal deli and lab test name is rdw?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_location = "PHYS REFERRAL/NORMAL DELI" AND lab.label = "RDW"
[ 4919, 867, 3871, 3025, 13938, 4067, 318, 2281, 31413, 14, 11265, 1619, 72, 290, 2248, 1332, 1438, 318, 374, 67, 86, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 3871, 3025, 13938, 4067, 318, 2281, 31413, 14, 11265, 1619, 72, 290, 2248, 1332, 1438, 318, 374, 67, 86, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, ...
How many uninterrupted ranks does john dingell have?
SELECT COUNT(uninterrupted_rank) FROM table_name_87 WHERE name = "john dingell"
[ 2437, 867, 49471, 9803, 857, 45610, 44852, 695, 423, 30, 46506, 327, 28270, 7, 403, 46037, 62, 43027, 8, 16034, 3084, 62, 3672, 62, 5774, 33411, 1438, 796, 366, 30686, 44852, 695, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 49471, 9803, 857, 45610, 44852, 695, 423, 30, 46506, 327, 28270, 7, 403, 46037, 62, 43027, 8, 16034, 3084, 62, 3672, 62, 5774, 33411, 1438, 796, 366, 30686, 44852, 695, 1 ]
What are the names of wines, sorted by price ascending?
SELECT DISTINCT name FROM wine ORDER BY price
[ 2061, 389, 262, 3891, 286, 30680, 11, 23243, 416, 2756, 41988, 30, 46506, 360, 8808, 1268, 4177, 1438, 16034, 8237, 38678, 11050, 2756 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 262, 3891, 286, 30680, 11, 23243, 416, 2756, 41988, 30, 46506, 360, 8808, 1268, 4177, 1438, 16034, 8237, 38678, 11050, 2756 ]
What rank did the time of 1:24.12 receive?
SELECT "Rank" FROM table_4689 WHERE "150m" = '1:24.12'
[ 2061, 4279, 750, 262, 640, 286, 352, 25, 1731, 13, 1065, 3328, 30, 46506, 366, 27520, 1, 16034, 3084, 62, 38472, 24, 33411, 366, 8628, 76, 1, 796, 705, 16, 25, 1731, 13, 1065, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 4279, 750, 262, 640, 286, 352, 25, 1731, 13, 1065, 3328, 30, 46506, 366, 27520, 1, 16034, 3084, 62, 38472, 24, 33411, 366, 8628, 76, 1, 796, 705, 16, 25, 1731, 13, 1065, 6 ]
Time ( ET ) of 1:00pm, and a Result of w 34 14 has what record?
SELECT "Record" FROM table_36177 WHERE "Time ( ET )" = '1:00pm' AND "Result" = 'w 34–14'
[ 7575, 357, 12152, 1267, 286, 352, 25, 405, 4426, 11, 290, 257, 25414, 286, 266, 4974, 1478, 468, 644, 1700, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 2623, 22413, 33411, 366, 7575, 357, 12152, 1267, 1, 796, 705, 16, 25, 405, 4426, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 7575, 357, 12152, 1267, 286, 352, 25, 405, 4426, 11, 290, 257, 25414, 286, 266, 4974, 1478, 468, 644, 1700, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 2623, 22413, 33411, 366, 7575, 357, 12152, 1267, 1, 796, 705, 16, 25, 405, 4426, ...
Top users: Hong Kong.
SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation FROM Users WHERE LOWER(Location) LIKE '%hong kong%' ORDER BY Reputation DESC
[ 9126, 2985, 25, 9764, 9071, 13, 46506, 371, 3913, 62, 41359, 13246, 3419, 28729, 357, 12532, 1137, 11050, 1432, 7094, 22196, 34, 8, 7054, 25113, 1600, 5121, 7054, 366, 7220, 62, 8726, 1600, 1432, 7094, 16034, 18987, 33411, 406, 36048, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 9126, 2985, 25, 9764, 9071, 13, 46506, 371, 3913, 62, 41359, 13246, 3419, 28729, 357, 12532, 1137, 11050, 1432, 7094, 22196, 34, 8, 7054, 25113, 1600, 5121, 7054, 366, 7220, 62, 8726, 1600, 1432, 7094, 16034, 18987, 33411, 406, 36048, 7...
what are the air dates for episodes with the production code 08-02-214
SELECT original_air_date FROM table_16390576_3 WHERE production_code = "08-02-214"
[ 10919, 389, 262, 1633, 9667, 329, 8640, 351, 262, 3227, 2438, 8487, 12, 2999, 12, 22291, 46506, 2656, 62, 958, 62, 4475, 16034, 3084, 62, 1433, 2670, 2713, 4304, 62, 18, 33411, 3227, 62, 8189, 796, 366, 2919, 12, 2999, 12, 22291, 1 ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1633, 9667, 329, 8640, 351, 262, 3227, 2438, 8487, 12, 2999, 12, 22291, 46506, 2656, 62, 958, 62, 4475, 16034, 3084, 62, 1433, 2670, 2713, 4304, 62, 18, 33411, 3227, 62, 8189, 796, 366, 2919, 12, 2999, 12, 22291, 1 ...
What is the language of the film directed by Federico Fellini?
SELECT "Language" FROM table_15044 WHERE "Director" = 'federico fellini'
[ 2061, 318, 262, 3303, 286, 262, 2646, 7924, 416, 35089, 3713, 21710, 5362, 30, 46506, 366, 32065, 1, 16034, 3084, 62, 8628, 2598, 33411, 366, 28702, 1, 796, 705, 69, 5702, 3713, 3214, 5362, 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, 3303, 286, 262, 2646, 7924, 416, 35089, 3713, 21710, 5362, 30, 46506, 366, 32065, 1, 16034, 3084, 62, 8628, 2598, 33411, 366, 28702, 1, 796, 705, 69, 5702, 3713, 3214, 5362, 6 ]
show me all the flights from INDIANAPOLIS to SAN DIEGO on US
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 = 'SAN DIEGO' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'IND...
[ 12860, 502, 477, 262, 13956, 422, 24413, 16868, 2969, 3535, 1797, 284, 37376, 14766, 7156, 46, 319, 1294, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12860, 502, 477, 262, 13956, 422, 24413, 16868, 2969, 3535, 1797, 284, 37376, 14766, 7156, 46, 319, 1294, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, ...
What year was the brabham bt46 bt48 bt49 Chassis common?
SELECT AVG("Year") FROM table_15707 WHERE "Chassis" = 'brabham bt46 bt48 bt49'
[ 2061, 614, 373, 262, 865, 397, 2763, 275, 83, 3510, 275, 83, 2780, 275, 83, 2920, 609, 20297, 2219, 30, 46506, 35224, 7203, 17688, 4943, 16034, 3084, 62, 1314, 24038, 33411, 366, 1925, 20297, 1, 796, 705, 1671, 397, 2763, 275, 83, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 614, 373, 262, 865, 397, 2763, 275, 83, 3510, 275, 83, 2780, 275, 83, 2920, 609, 20297, 2219, 30, 46506, 35224, 7203, 17688, 4943, 16034, 3084, 62, 1314, 24038, 33411, 366, 1925, 20297, 1, 796, 705, 1671, 397, 2763, 275, 83, 3...
Which term in office has an Electorate of hinkler?
SELECT "Term in office" FROM table_68659 WHERE "Electorate" = 'hinkler'
[ 13828, 3381, 287, 2607, 468, 281, 5903, 16262, 286, 289, 676, 1754, 30, 46506, 366, 40596, 287, 2607, 1, 16034, 3084, 62, 3104, 36445, 33411, 366, 19453, 16262, 1, 796, 705, 71, 676, 1754, 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 ]
[ 13828, 3381, 287, 2607, 468, 281, 5903, 16262, 286, 289, 676, 1754, 30, 46506, 366, 40596, 287, 2607, 1, 16034, 3084, 62, 3104, 36445, 33411, 366, 19453, 16262, 1, 796, 705, 71, 676, 1754, 6 ]
Return a bar chart on how many regions were affected by each storm?, show in desc by the Y please.
SELECT Name, COUNT(*) FROM storm AS T1 JOIN affected_region AS T2 ON T1.Storm_ID = T2.Storm_ID GROUP BY T1.Storm_ID ORDER BY COUNT(*) DESC
[ 13615, 257, 2318, 8262, 319, 703, 867, 7652, 547, 5676, 416, 1123, 6388, 21747, 905, 287, 1715, 416, 262, 575, 3387, 13, 46506, 6530, 11, 327, 28270, 7, 28104, 16034, 6388, 7054, 309, 16, 32357, 1268, 5676, 62, 36996, 7054, 309, 17, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 13615, 257, 2318, 8262, 319, 703, 867, 7652, 547, 5676, 416, 1123, 6388, 21747, 905, 287, 1715, 416, 262, 575, 3387, 13, 46506, 6530, 11, 327, 28270, 7, 28104, 16034, 6388, 7054, 309, 16, 32357, 1268, 5676, 62, 36996, 7054, 309, 17, ...
when did patient 78221 first receive a lab test until 11/2101?
SELECT labevents.charttime FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 78221) AND STRFTIME('%y-%m', labevents.charttime) <= '2101-11' ORDER BY labevents.charttime LIMIT 1
[ 12518, 750, 5827, 8699, 26115, 717, 3328, 257, 2248, 1332, 1566, 1367, 14, 2481, 486, 30, 46506, 2248, 31534, 13, 40926, 2435, 16034, 2248, 31534, 33411, 2248, 31534, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12518, 750, 5827, 8699, 26115, 717, 3328, 257, 2248, 1332, 1566, 1367, 14, 2481, 486, 30, 46506, 2248, 31534, 13, 40926, 2435, 16034, 2248, 31534, 33411, 2248, 31534, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, ...
Find the number of patients with the primary disease s/p fall who died on or before 2133.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "S/P FALL" AND demographic.dod_year <= "2133.0"
[ 16742, 262, 1271, 286, 3871, 351, 262, 4165, 4369, 264, 14, 79, 2121, 508, 3724, 319, 393, 878, 362, 16945, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 47356, 5958, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 16742, 262, 1271, 286, 3871, 351, 262, 4165, 4369, 264, 14, 79, 2121, 508, 3724, 319, 393, 878, 362, 16945, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 47356, 5958, 7...
Return a scatter chart about the correlation between Body_Builder_ID and Total .
SELECT Body_Builder_ID, Total FROM body_builder
[ 13615, 257, 41058, 8262, 546, 262, 16096, 1022, 12290, 62, 32875, 62, 2389, 290, 7472, 764, 46506, 12290, 62, 32875, 62, 2389, 11, 7472, 16034, 1767, 62, 38272 ]
[ 1, 1, 1, 1, 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, 257, 41058, 8262, 546, 262, 16096, 1022, 12290, 62, 32875, 62, 2389, 290, 7472, 764, 46506, 12290, 62, 32875, 62, 2389, 11, 7472, 16034, 1767, 62, 38272 ]
What award did they win before 2005?
SELECT award FROM table_name_62 WHERE year < 2005
[ 2061, 5764, 750, 484, 1592, 878, 5075, 30, 46506, 5764, 16034, 3084, 62, 3672, 62, 5237, 33411, 614, 1279, 5075 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 5764, 750, 484, 1592, 878, 5075, 30, 46506, 5764, 16034, 3084, 62, 3672, 62, 5237, 33411, 614, 1279, 5075 ]
What is the average Laps that shows spun off for time?
SELECT AVG(laps) FROM table_name_56 WHERE time = "spun off"
[ 2061, 318, 262, 2811, 406, 1686, 326, 2523, 26843, 572, 329, 640, 30, 46506, 35224, 7, 75, 1686, 8, 16034, 3084, 62, 3672, 62, 3980, 33411, 640, 796, 366, 2777, 403, 572, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 406, 1686, 326, 2523, 26843, 572, 329, 640, 30, 46506, 35224, 7, 75, 1686, 8, 16034, 3084, 62, 3672, 62, 3980, 33411, 640, 796, 366, 2777, 403, 572, 1 ]
what procedure did patient 32154 first get during the previous year?
SELECT d_icd_procedures.short_title FROM d_icd_procedures WHERE d_icd_procedures.icd9_code IN (SELECT procedures_icd.icd9_code FROM procedures_icd WHERE procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 32154) AND DATETIME(procedures_icd.charttime, 'start of year') = DAT...
[ 10919, 8771, 750, 5827, 3933, 21526, 717, 651, 1141, 262, 2180, 614, 30, 46506, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 1676, 771, 942, 33411, 288, 62, 291, 67, 62, 1676, 771, 942, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 8771, 750, 5827, 3933, 21526, 717, 651, 1141, 262, 2180, 614, 30, 46506, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 1676, 771, 942, 33411, 288, 62, 291, 67, 62, 1676, 771, 942, ...
what is the procedure, which patient 51200 underwent two times the last month?
SELECT d_icd_procedures.short_title FROM d_icd_procedures WHERE d_icd_procedures.icd9_code IN (SELECT t1.icd9_code FROM (SELECT procedures_icd.icd9_code, COUNT(procedures_icd.charttime) AS c1 FROM procedures_icd WHERE procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 512...
[ 10919, 318, 262, 8771, 11, 543, 5827, 22243, 405, 25289, 734, 1661, 262, 938, 1227, 30, 46506, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 1676, 771, 942, 33411, 288, 62, 291, 67, 62, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8771, 11, 543, 5827, 22243, 405, 25289, 734, 1661, 262, 938, 1227, 30, 46506, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 1676, 771, 942, 33411, 288, 62, 291, 67, 62, ...
What was Nick Faldo's score?
SELECT "Score" FROM table_61643 WHERE "Player" = 'nick faldo'
[ 2061, 373, 8047, 376, 41476, 338, 4776, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 44214, 3559, 33411, 366, 14140, 1, 796, 705, 17172, 277, 41476, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 8047, 376, 41476, 338, 4776, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 44214, 3559, 33411, 366, 14140, 1, 796, 705, 17172, 277, 41476, 6 ]
What is the country of Craig Stadler?
SELECT country FROM table_name_65 WHERE player = "craig stadler"
[ 2061, 318, 262, 1499, 286, 13854, 520, 324, 1754, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 2996, 33411, 2137, 796, 366, 66, 430, 328, 336, 324, 1754, 1 ]
[ 1, 1, 1, 1, 1, 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, 1499, 286, 13854, 520, 324, 1754, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 2996, 33411, 2137, 796, 366, 66, 430, 328, 336, 324, 1754, 1 ]
Which Points is the highest one that has a Position of 1, and a Lost smaller than 0?
SELECT MAX(points) FROM table_name_60 WHERE position = 1 AND lost < 0
[ 13828, 11045, 318, 262, 4511, 530, 326, 468, 257, 23158, 286, 352, 11, 290, 257, 9164, 4833, 621, 657, 30, 46506, 25882, 7, 13033, 8, 16034, 3084, 62, 3672, 62, 1899, 33411, 2292, 796, 352, 5357, 2626, 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, 1, 1, 1 ]
[ 13828, 11045, 318, 262, 4511, 530, 326, 468, 257, 23158, 286, 352, 11, 290, 257, 9164, 4833, 621, 657, 30, 46506, 25882, 7, 13033, 8, 16034, 3084, 62, 3672, 62, 1899, 33411, 2292, 796, 352, 5357, 2626, 1279, 657 ]
What is the sum of the pe draw of team plaza amador, who has less than 6 pg won?
SELECT SUM(draw__pe_) FROM table_name_28 WHERE team__equipo_ = "plaza amador" AND won__pg_ < 6
[ 2061, 318, 262, 2160, 286, 262, 613, 3197, 286, 1074, 42433, 716, 7079, 11, 508, 468, 1342, 621, 718, 23241, 1839, 30, 46506, 35683, 7, 19334, 834, 431, 62, 8, 16034, 3084, 62, 3672, 62, 2078, 33411, 1074, 834, 4853, 541, 78, 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 ]
[ 2061, 318, 262, 2160, 286, 262, 613, 3197, 286, 1074, 42433, 716, 7079, 11, 508, 468, 1342, 621, 718, 23241, 1839, 30, 46506, 35683, 7, 19334, 834, 431, 62, 8, 16034, 3084, 62, 3672, 62, 2078, 33411, 1074, 834, 4853, 541, 78, 62, ...
Which Frequency has a Call sign of kcse?
SELECT "Frequency" FROM table_6146 WHERE "Call sign" = 'kcse'
[ 13828, 31902, 468, 257, 4889, 1051, 286, 479, 66, 325, 30, 46506, 366, 37, 28707, 1, 16034, 3084, 62, 21, 20964, 33411, 366, 14134, 1051, 1, 796, 705, 74, 66, 325, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 31902, 468, 257, 4889, 1051, 286, 479, 66, 325, 30, 46506, 366, 37, 28707, 1, 16034, 3084, 62, 21, 20964, 33411, 366, 14134, 1051, 1, 796, 705, 74, 66, 325, 6 ]
looking for padrino or sinatra get parameter handling.
SELECT * FROM Posts WHERE Body LIKE '%sinatra%' AND Body LIKE '%get%' AND Body LIKE '%parameters%'
[ 11534, 329, 14841, 81, 2879, 393, 7813, 26066, 651, 11507, 9041, 13, 46506, 1635, 16034, 12043, 33411, 12290, 34178, 705, 4, 31369, 26066, 4, 6, 5357, 12290, 34178, 705, 4, 1136, 4, 6, 5357, 12290, 34178, 705, 4, 17143, 7307, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 11534, 329, 14841, 81, 2879, 393, 7813, 26066, 651, 11507, 9041, 13, 46506, 1635, 16034, 12043, 33411, 12290, 34178, 705, 4, 31369, 26066, 4, 6, 5357, 12290, 34178, 705, 4, 1136, 4, 6, 5357, 12290, 34178, 705, 4, 17143, 7307, 4, 6 ]
How many times is the player vaughn taylor listed?
SELECT COUNT(before) FROM table_28498999_3 WHERE player = "Vaughn Taylor"
[ 2437, 867, 1661, 318, 262, 2137, 410, 1567, 77, 256, 7167, 5610, 30, 46506, 327, 28270, 7, 19052, 8, 16034, 3084, 62, 2078, 36260, 17032, 62, 18, 33411, 2137, 796, 366, 53, 1567, 77, 8121, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2137, 410, 1567, 77, 256, 7167, 5610, 30, 46506, 327, 28270, 7, 19052, 8, 16034, 3084, 62, 2078, 36260, 17032, 62, 18, 33411, 2137, 796, 366, 53, 1567, 77, 8121, 1 ]
On which date is the tournament final with the opponents michael berrer & kenneth carlsen?
SELECT date FROM table_name_98 WHERE opponents_in_the_final = "michael berrer & kenneth carlsen"
[ 2202, 543, 3128, 318, 262, 7756, 2457, 351, 262, 7691, 285, 40302, 18157, 11751, 1222, 479, 1697, 2788, 1097, 75, 6248, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 4089, 33411, 7691, 62, 259, 62, 1169, 62, 20311, 796, 366, 76, 40302, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2202, 543, 3128, 318, 262, 7756, 2457, 351, 262, 7691, 285, 40302, 18157, 11751, 1222, 479, 1697, 2788, 1097, 75, 6248, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 4089, 33411, 7691, 62, 259, 62, 1169, 62, 20311, 796, 366, 76, 40302, ...
what time was the last time patient 015-59552 had the maximum systemicsystolic value on this month/22?
SELECT vitalperiodic.observationtime FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '015-59552')) AND NOT vitalperiodic.systemicsystolic...
[ 10919, 640, 373, 262, 938, 640, 5827, 5534, 20, 12, 3270, 40427, 550, 262, 5415, 1080, 873, 88, 301, 4160, 1988, 319, 428, 1227, 14, 1828, 30, 46506, 9204, 41007, 291, 13, 672, 3168, 341, 2435, 16034, 9204, 41007, 291, 33411, 9204, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 640, 373, 262, 938, 640, 5827, 5534, 20, 12, 3270, 40427, 550, 262, 5415, 1080, 873, 88, 301, 4160, 1988, 319, 428, 1227, 14, 1828, 30, 46506, 9204, 41007, 291, 13, 672, 3168, 341, 2435, 16034, 9204, 41007, 291, 33411, 9204, ...
What are the date of ceremony of music festivals with category 'Best Song' and result 'Awarded'?
SELECT date_of_ceremony FROM music_festival WHERE category = "Best Song" AND result = "Awarded"
[ 2061, 389, 262, 3128, 286, 10542, 286, 2647, 25575, 351, 6536, 705, 13014, 10940, 6, 290, 1255, 705, 32, 904, 276, 30960, 46506, 3128, 62, 1659, 62, 344, 2787, 1647, 16034, 2647, 62, 69, 6743, 33411, 6536, 796, 366, 13014, 10940, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3128, 286, 10542, 286, 2647, 25575, 351, 6536, 705, 13014, 10940, 6, 290, 1255, 705, 32, 904, 276, 30960, 46506, 3128, 62, 1659, 62, 344, 2787, 1647, 16034, 2647, 62, 69, 6743, 33411, 6536, 796, 366, 13014, 10940, 1, ...
For those employees who do not work in departments with managers that have ids between 100 and 200, return a bar chart about the distribution of first_name and department_id , and I want to sort from low to high by the total number.
SELECT FIRST_NAME, DEPARTMENT_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY DEPARTMENT_ID
[ 1890, 883, 4409, 508, 466, 407, 670, 287, 13346, 351, 11663, 326, 423, 220, 2340, 1022, 1802, 290, 939, 11, 1441, 257, 2318, 8262, 546, 262, 6082, 286, 717, 62, 3672, 290, 5011, 62, 312, 837, 290, 314, 765, 284, 3297, 422, 1877, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4409, 508, 466, 407, 670, 287, 13346, 351, 11663, 326, 423, 220, 2340, 1022, 1802, 290, 939, 11, 1441, 257, 2318, 8262, 546, 262, 6082, 286, 717, 62, 3672, 290, 5011, 62, 312, 837, 290, 314, 765, 284, 3297, 422, 1877, 2...
Which title is in Portuguese?
SELECT title FROM table_name_28 WHERE language = "portuguese"
[ 13828, 3670, 318, 287, 21813, 30, 46506, 3670, 16034, 3084, 62, 3672, 62, 2078, 33411, 3303, 796, 366, 634, 1018, 20506, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 3670, 318, 287, 21813, 30, 46506, 3670, 16034, 3084, 62, 3672, 62, 2078, 33411, 3303, 796, 366, 634, 1018, 20506, 1 ]
What release date has 6998 as the production num.?
SELECT "Release date" FROM table_66386 WHERE "Production Num." = '6998'
[ 2061, 2650, 3128, 468, 718, 34808, 355, 262, 3227, 997, 40791, 46506, 366, 26362, 3128, 1, 16034, 3084, 62, 2791, 21734, 33411, 366, 35027, 31835, 526, 796, 705, 21, 34808, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 2650, 3128, 468, 718, 34808, 355, 262, 3227, 997, 40791, 46506, 366, 26362, 3128, 1, 16034, 3084, 62, 2791, 21734, 33411, 366, 35027, 31835, 526, 796, 705, 21, 34808, 6 ]
What was the highest crowd at the venue MCG?
SELECT MAX(crowd) FROM table_name_97 WHERE venue = "mcg"
[ 2061, 373, 262, 4511, 4315, 379, 262, 14359, 13122, 38, 30, 46506, 25882, 7, 66, 3986, 8, 16034, 3084, 62, 3672, 62, 5607, 33411, 14359, 796, 366, 23209, 70, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 4511, 4315, 379, 262, 14359, 13122, 38, 30, 46506, 25882, 7, 66, 3986, 8, 16034, 3084, 62, 3672, 62, 5607, 33411, 14359, 796, 366, 23209, 70, 1 ]
What is the Latin motto of the sign that translates to spouse?
SELECT latin_motto FROM table_name_94 WHERE translation = "spouse"
[ 2061, 318, 262, 9133, 33600, 286, 262, 1051, 326, 23677, 284, 16731, 30, 46506, 3042, 259, 62, 76, 17631, 16034, 3084, 62, 3672, 62, 5824, 33411, 11059, 796, 366, 2777, 1076, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 9133, 33600, 286, 262, 1051, 326, 23677, 284, 16731, 30, 46506, 3042, 259, 62, 76, 17631, 16034, 3084, 62, 3672, 62, 5824, 33411, 11059, 796, 366, 2777, 1076, 1 ]
Who was the challenger on Episode 5?
SELECT "Challenger" FROM table_26462 WHERE "Overall Episode #" = '5'
[ 8241, 373, 262, 32127, 319, 7922, 642, 30, 46506, 366, 41812, 6540, 1, 16034, 3084, 62, 2075, 39997, 33411, 366, 16350, 7922, 1303, 1, 796, 705, 20, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 373, 262, 32127, 319, 7922, 642, 30, 46506, 366, 41812, 6540, 1, 16034, 3084, 62, 2075, 39997, 33411, 366, 16350, 7922, 1303, 1, 796, 705, 20, 6 ]
when was the first intake time of patient 3267 until 1545 days ago.
SELECT inputevents_cv.charttime FROM inputevents_cv WHERE inputevents_cv.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 3267)) AND DATETIME(inputevents_cv.charttime) <= DATETIME(CURRENT_TIME(), '-1545 day') ORDER...
[ 12518, 373, 262, 717, 10337, 640, 286, 5827, 513, 25674, 1566, 1315, 2231, 1528, 2084, 13, 46506, 287, 79, 1133, 85, 658, 62, 33967, 13, 40926, 2435, 16034, 287, 79, 1133, 85, 658, 62, 33967, 33411, 287, 79, 1133, 85, 658, 62, 33967...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12518, 373, 262, 717, 10337, 640, 286, 5827, 513, 25674, 1566, 1315, 2231, 1528, 2084, 13, 46506, 287, 79, 1133, 85, 658, 62, 33967, 13, 40926, 2435, 16034, 287, 79, 1133, 85, 658, 62, 33967, 33411, 287, 79, 1133, 85, 658, 62, 33967...
i would like the fare on the US 1039 from DENVER to PITTSBURGH on 4 20
SELECT DISTINCT fare.fare_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, date_day AS DATE_DAY_0, date_day AS DATE_DAY_1, days AS DAYS_0, days AS DAYS_1, fare, fare_basis, flight, flight_fare WHERE (((DATE_DAY_0.day_number = 20 AND DATE_DAY_0.month_num...
[ 72, 561, 588, 262, 14505, 319, 262, 1294, 838, 2670, 422, 37692, 5959, 284, 49040, 4694, 38926, 17511, 319, 604, 1160, 46506, 360, 8808, 1268, 4177, 14505, 13, 9496, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 72, 561, 588, 262, 14505, 319, 262, 1294, 838, 2670, 422, 37692, 5959, 284, 49040, 4694, 38926, 17511, 319, 604, 1160, 46506, 360, 8808, 1268, 4177, 14505, 13, 9496, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389,...
What's the most bronze medals for Great Britain (GBR) with more than 1 silver and ranked more than 6?
SELECT MAX("Bronze") FROM table_64142 WHERE "Rank" > '6' AND "Nation" = 'great britain (gbr)' AND "Silver" > '1'
[ 2061, 338, 262, 749, 22101, 28057, 329, 3878, 5491, 357, 4579, 49, 8, 351, 517, 621, 352, 8465, 290, 10307, 517, 621, 718, 30, 46506, 25882, 7203, 18760, 2736, 4943, 16034, 3084, 62, 2414, 23726, 33411, 366, 27520, 1, 1875, 705, 21, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 338, 262, 749, 22101, 28057, 329, 3878, 5491, 357, 4579, 49, 8, 351, 517, 621, 352, 8465, 290, 10307, 517, 621, 718, 30, 46506, 25882, 7203, 18760, 2736, 4943, 16034, 3084, 62, 2414, 23726, 33411, 366, 27520, 1, 1875, 705, 21, ...
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, show me about the distribution of hire_date and the sum of employee_id bin hire_date by time in a bar chart, and list Y-axis in descending order.
SELECT HIRE_DATE, SUM(EMPLOYEE_ID) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 ORDER BY SUM(EMPLOYEE_ID) DESC
[ 1890, 883, 4409, 3025, 9588, 318, 287, 262, 2837, 286, 38055, 290, 1105, 830, 290, 5810, 318, 407, 9242, 393, 5011, 1271, 857, 407, 4961, 284, 2319, 11, 905, 502, 546, 262, 6082, 286, 11078, 62, 4475, 290, 262, 2160, 286, 6538, 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...
[ 1890, 883, 4409, 3025, 9588, 318, 287, 262, 2837, 286, 38055, 290, 1105, 830, 290, 5810, 318, 407, 9242, 393, 5011, 1271, 857, 407, 4961, 284, 2319, 11, 905, 502, 546, 262, 6082, 286, 11078, 62, 4475, 290, 262, 2160, 286, 6538, 62, ...
Which Election has a Municipality of laives, and Inhabitants smaller than 17,197?
SELECT AVG("Election") FROM table_8161 WHERE "Municipality" = 'laives' AND "Inhabitants" < '17,197'
[ 13828, 14219, 468, 257, 27338, 1483, 286, 8591, 1083, 11, 290, 554, 5976, 270, 1187, 4833, 621, 1596, 11, 24991, 30, 46506, 35224, 7203, 36, 1564, 4943, 16034, 3084, 62, 23, 25948, 33411, 366, 44, 9462, 1483, 1, 796, 705, 5031, 1083, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14219, 468, 257, 27338, 1483, 286, 8591, 1083, 11, 290, 554, 5976, 270, 1187, 4833, 621, 1596, 11, 24991, 30, 46506, 35224, 7203, 36, 1564, 4943, 16034, 3084, 62, 23, 25948, 33411, 366, 44, 9462, 1483, 1, 796, 705, 5031, 1083, ...
give me the flights from PHOENIX to MILWAUKEE on wednesday 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, date_day, days, flight WHERE ((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'MILWAUKEE' AND CITY_1.state_code = 'state_code0' AND date_day.day_number...
[ 26535, 502, 262, 13956, 422, 9370, 46, 1677, 10426, 284, 31515, 15543, 15039, 6500, 319, 29445, 3462, 319, 317, 11159, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 26535, 502, 262, 13956, 422, 9370, 46, 1677, 10426, 284, 31515, 15543, 15039, 6500, 319, 29445, 3462, 319, 317, 11159, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, ...
Which country has the player Ted Schulz?
SELECT "Country" FROM table_46921 WHERE "Player" = 'ted schulz'
[ 13828, 1499, 468, 262, 2137, 11396, 3059, 37314, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 42947, 2481, 33411, 366, 14140, 1, 796, 705, 1513, 5513, 37314, 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 ]
[ 13828, 1499, 468, 262, 2137, 11396, 3059, 37314, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 42947, 2481, 33411, 366, 14140, 1, 796, 705, 1513, 5513, 37314, 6 ]
What is the losses when Sunrayia FL is Red Cliffs, and the against is more than 2294?
SELECT AVG("Losses") FROM table_65748 WHERE "Sunrayia FL" = 'red cliffs' AND "Against" > '2294'
[ 2061, 318, 262, 9089, 618, 3825, 2433, 544, 9977, 318, 2297, 1012, 10203, 11, 290, 262, 1028, 318, 517, 621, 362, 27696, 30, 46506, 35224, 7203, 43, 793, 274, 4943, 16034, 3084, 62, 37680, 2780, 33411, 366, 16012, 2433, 544, 9977, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9089, 618, 3825, 2433, 544, 9977, 318, 2297, 1012, 10203, 11, 290, 262, 1028, 318, 517, 621, 362, 27696, 30, 46506, 35224, 7203, 43, 793, 274, 4943, 16034, 3084, 62, 37680, 2780, 33411, 366, 16012, 2433, 544, 9977, 1, ...
Which courses is Prof. Paul Ullrich teaching next semester ?
SELECT DISTINCT course.department, course.name, course.number FROM course, course_offering, instructor, offering_instructor, semester WHERE course.course_id = course_offering.course_id AND instructor.name LIKE '%Paul Ullrich%' AND offering_instructor.instructor_id = instructor.instructor_id AND offering_instructor.offe...
[ 13828, 10902, 318, 4415, 13, 3362, 471, 297, 7527, 7743, 1306, 24878, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 21187, 11, 6011, 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...
[ 13828, 10902, 318, 4415, 13, 3362, 471, 297, 7527, 7743, 1306, 24878, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 21187, 11, 6011, 62, ...
What teacher taught Pamela Campbell when he took PAT 513 ?
SELECT DISTINCT instructor.name FROM instructor INNER JOIN offering_instructor ON offering_instructor.instructor_id = instructor.instructor_id INNER JOIN student_record ON student_record.offering_id = offering_instructor.offering_id INNER JOIN student ON student.student_id = student_record.student_id INNER JOIN course_...
[ 2061, 4701, 7817, 43341, 14327, 618, 339, 1718, 28748, 642, 1485, 5633, 46506, 360, 8808, 1268, 4177, 21187, 13, 3672, 16034, 21187, 3268, 21479, 32357, 1268, 6011, 62, 259, 7249, 273, 6177, 6011, 62, 259, 7249, 273, 13, 259, 7249, 273,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4701, 7817, 43341, 14327, 618, 339, 1718, 28748, 642, 1485, 5633, 46506, 360, 8808, 1268, 4177, 21187, 13, 3672, 16034, 21187, 3268, 21479, 32357, 1268, 6011, 62, 259, 7249, 273, 6177, 6011, 62, 259, 7249, 273, 13, 259, 7249, 273,...
what is the number of patients less than 80 years who had cerebrospinal fluid lab test?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.age < "80" AND lab.fluid = "Cerebrospinal Fluid (CSF)"
[ 10919, 318, 262, 1271, 286, 3871, 1342, 621, 4019, 812, 508, 550, 6736, 7957, 2777, 1292, 11711, 2248, 1332, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 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...
[ 10919, 318, 262, 1271, 286, 3871, 1342, 621, 4019, 812, 508, 550, 6736, 7957, 2777, 1292, 11711, 2248, 1332, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6...
Easiest Challenges (most answers) with no Answer Containing....
SELECT p.Id AS "post_link", MAX(p.AnswerCount) AS "Answer Count", COUNT(p.Id) FROM Posts AS p JOIN Posts AS q ON p.Id = q.ParentId WHERE p.PostTypeId = 1 AND NOT q.Body COLLATE SQL_Latin1_General_CP1_CI_AI LIKE '%Brain-Flak%' AND p.ClosedDate IS NULL GROUP BY p.Id ORDER BY 'Answer Count' DESC
[ 36, 292, 6386, 44495, 357, 1712, 7429, 8, 351, 645, 23998, 2345, 1397, 1106, 46506, 279, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 25882, 7, 79, 13, 33706, 12332, 8, 7054, 366, 33706, 2764, 1600, 327, 28270, 7, 79, 13, 7390, 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...
[ 36, 292, 6386, 44495, 357, 1712, 7429, 8, 351, 645, 23998, 2345, 1397, 1106, 46506, 279, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 25882, 7, 79, 13, 33706, 12332, 8, 7054, 366, 33706, 2764, 1600, 327, 28270, 7, 79, 13, 7390, 8, 1...
Who was the entrant for driver Giuseppe Farina when he had a Chassis of 625 555 D50 and a tyre of E?
SELECT "Entrant" FROM table_10437 WHERE "Tyre" = 'e' AND "Chassis" = '625 555 d50' AND "Driver" = 'giuseppe farina'
[ 8241, 373, 262, 920, 5250, 329, 4639, 8118, 1904, 27768, 6755, 1437, 618, 339, 550, 257, 609, 20297, 286, 48868, 44717, 360, 1120, 290, 257, 48216, 286, 412, 30, 46506, 366, 14539, 5250, 1, 16034, 3084, 62, 13464, 2718, 33411, 366, 25...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 920, 5250, 329, 4639, 8118, 1904, 27768, 6755, 1437, 618, 339, 550, 257, 609, 20297, 286, 48868, 44717, 360, 1120, 290, 257, 48216, 286, 412, 30, 46506, 366, 14539, 5250, 1, 16034, 3084, 62, 13464, 2718, 33411, 366, 25...
What was the score of Game 48?
SELECT "Score" FROM table_63165 WHERE "Game" = '48'
[ 2061, 373, 262, 4776, 286, 3776, 4764, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 5066, 20986, 33411, 366, 8777, 1, 796, 705, 2780, 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 ]
[ 2061, 373, 262, 4776, 286, 3776, 4764, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 5066, 20986, 33411, 366, 8777, 1, 796, 705, 2780, 6 ]
What's the position listed for the east carolina team?
SELECT "Position" FROM table_11493 WHERE "School/Club Team" = 'east carolina'
[ 2061, 338, 262, 2292, 5610, 329, 262, 7627, 1097, 47196, 1074, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 1157, 43134, 33411, 366, 26130, 14, 42350, 4816, 1, 796, 705, 23316, 1097, 47196, 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, 338, 262, 2292, 5610, 329, 262, 7627, 1097, 47196, 1074, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 1157, 43134, 33411, 366, 26130, 14, 42350, 4816, 1, 796, 705, 23316, 1097, 47196, 6 ]
what is the number of patients whose gender is f and drug name is lidocaine 2%?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.gender = "F" AND prescriptions.drug = "Lidocaine 2%"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 5279, 318, 277, 290, 2563, 1438, 318, 19789, 420, 5718, 362, 4, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 1271, 286, 3871, 3025, 5279, 318, 277, 290, 2563, 1438, 318, 19789, 420, 5718, 362, 4, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177,...
Show each author and the number of workshops they submitted to with a bar chart.
SELECT Author, COUNT(DISTINCT T1.Workshop_ID) FROM Acceptance AS T1 JOIN submission AS T2 ON T1.Submission_ID = T2.Submission_ID
[ 15307, 1123, 1772, 290, 262, 1271, 286, 25982, 484, 8948, 284, 351, 257, 2318, 8262, 13, 46506, 6434, 11, 327, 28270, 7, 35, 8808, 1268, 4177, 309, 16, 13, 23044, 8548, 62, 2389, 8, 16034, 21699, 590, 7054, 309, 16, 32357, 1268, 144...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1123, 1772, 290, 262, 1271, 286, 25982, 484, 8948, 284, 351, 257, 2318, 8262, 13, 46506, 6434, 11, 327, 28270, 7, 35, 8808, 1268, 4177, 309, 16, 13, 23044, 8548, 62, 2389, 8, 16034, 21699, 590, 7054, 309, 16, 32357, 1268, 144...
how many days has elapsed since patient 030-42006 was last diagnosed during the current hospital encounter with heart transplant complication - rejection?
SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', diagnosis.diagnosistime)) FROM diagnosis WHERE diagnosis.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '030-42006'...
[ 4919, 867, 1528, 468, 42118, 1201, 5827, 657, 1270, 12, 19, 13330, 373, 938, 14641, 1141, 262, 1459, 4436, 8791, 351, 2612, 23319, 45185, 532, 17927, 30, 46506, 352, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 1528, 468, 42118, 1201, 5827, 657, 1270, 12, 19, 13330, 373, 938, 14641, 1141, 262, 1459, 4436, 8791, 351, 2612, 23319, 45185, 532, 17927, 30, 46506, 352, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 3...
What is the record where high assists is pierce (6)?
SELECT "Record" FROM table_17290 WHERE "High assists" = 'Pierce (6)'
[ 2061, 318, 262, 1700, 810, 1029, 13648, 318, 279, 9798, 357, 21, 19427, 46506, 366, 23739, 1, 16034, 3084, 62, 1558, 24369, 33411, 366, 11922, 13648, 1, 796, 705, 47, 9798, 357, 21, 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 ]
[ 2061, 318, 262, 1700, 810, 1029, 13648, 318, 279, 9798, 357, 21, 19427, 46506, 366, 23739, 1, 16034, 3084, 62, 1558, 24369, 33411, 366, 11922, 13648, 1, 796, 705, 47, 9798, 357, 21, 33047 ]
What place did jacky cupit take when his To par was under 13?
SELECT place FROM table_name_67 WHERE to_par < 13 AND player = "jacky cupit"
[ 2061, 1295, 750, 14509, 88, 6508, 270, 1011, 618, 465, 1675, 1582, 373, 739, 1511, 30, 46506, 1295, 16034, 3084, 62, 3672, 62, 3134, 33411, 284, 62, 1845, 1279, 1511, 5357, 2137, 796, 366, 19650, 88, 6508, 270, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1295, 750, 14509, 88, 6508, 270, 1011, 618, 465, 1675, 1582, 373, 739, 1511, 30, 46506, 1295, 16034, 3084, 62, 3672, 62, 3134, 33411, 284, 62, 1845, 1279, 1511, 5357, 2137, 796, 366, 19650, 88, 6508, 270, 1 ]
What is the Year for Jazz club of Houston?
SELECT "Years for Jazz" FROM table_52028 WHERE "School/Club Team" = 'houston'
[ 2061, 318, 262, 6280, 329, 21406, 3430, 286, 6995, 30, 46506, 366, 40630, 329, 21406, 1, 16034, 3084, 62, 31211, 2078, 33411, 366, 26130, 14, 42350, 4816, 1, 796, 705, 71, 6526, 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, 6280, 329, 21406, 3430, 286, 6995, 30, 46506, 366, 40630, 329, 21406, 1, 16034, 3084, 62, 31211, 2078, 33411, 366, 26130, 14, 42350, 4816, 1, 796, 705, 71, 6526, 6 ]
how many patients have been discharged from the hospital in just since 2 years ago?
SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE NOT admissions.dischtime IS NULL AND DATETIME(admissions.dischtime) >= DATETIME(CURRENT_TIME(), '-2 year')
[ 4919, 867, 3871, 423, 587, 26476, 422, 262, 4436, 287, 655, 1201, 362, 812, 2084, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 25349, 13, 32796, 62, 312, 8, 16034, 25349, 33411, 5626, 25349, 13, 6381, 354, 2435, 3180, 15697, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 3871, 423, 587, 26476, 422, 262, 4436, 287, 655, 1201, 362, 812, 2084, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 25349, 13, 32796, 62, 312, 8, 16034, 25349, 33411, 5626, 25349, 13, 6381, 354, 2435, 3180, 15697, 5357, ...
Name the player for l apps is 27
SELECT "Player" FROM table_22763 WHERE "L Apps" = '27'
[ 5376, 262, 2137, 329, 300, 6725, 318, 2681, 46506, 366, 14140, 1, 16034, 3084, 62, 1828, 49641, 33411, 366, 43, 27710, 1, 796, 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 ]
[ 5376, 262, 2137, 329, 300, 6725, 318, 2681, 46506, 366, 14140, 1, 16034, 3084, 62, 1828, 49641, 33411, 366, 43, 27710, 1, 796, 705, 1983, 6 ]
What is High Rebounds, when Date is 'March 13'?
SELECT high_rebounds FROM table_name_93 WHERE date = "march 13"
[ 2061, 318, 3334, 15652, 3733, 11, 618, 7536, 318, 705, 16192, 1511, 30960, 46506, 1029, 62, 34806, 3733, 16034, 3084, 62, 3672, 62, 6052, 33411, 3128, 796, 366, 76, 998, 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 ]
[ 2061, 318, 3334, 15652, 3733, 11, 618, 7536, 318, 705, 16192, 1511, 30960, 46506, 1029, 62, 34806, 3733, 16034, 3084, 62, 3672, 62, 6052, 33411, 3128, 796, 366, 76, 998, 1511, 1 ]
What is the partnership in the game with 166* runs and an opponent of Namibia?
SELECT "Partnerships" FROM table_55904 WHERE "Versus" = 'namibia' AND "Runs" = '166*'
[ 2061, 318, 262, 10413, 287, 262, 983, 351, 26753, 9, 4539, 290, 281, 6125, 286, 17871, 41145, 30, 46506, 366, 7841, 2741, 5748, 1, 16034, 3084, 62, 38605, 3023, 33411, 366, 34947, 385, 1, 796, 705, 7402, 41145, 6, 5357, 366, 10987, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10413, 287, 262, 983, 351, 26753, 9, 4539, 290, 281, 6125, 286, 17871, 41145, 30, 46506, 366, 7841, 2741, 5748, 1, 16034, 3084, 62, 38605, 3023, 33411, 366, 34947, 385, 1, 796, 705, 7402, 41145, 6, 5357, 366, 10987, ...
How many patients stayed in hospital for more than 27 days and got diagnosed for intermed coronary synd?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.days_stay > "27" AND diagnoses.short_title = "Intermed coronary synd"
[ 2437, 867, 3871, 9658, 287, 4436, 329, 517, 621, 2681, 1528, 290, 1392, 14641, 329, 987, 1150, 37151, 11150, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3871, 9658, 287, 4436, 329, 517, 621, 2681, 1528, 290, 1392, 14641, 329, 987, 1150, 37151, 11150, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, ...
What's the total number of League Cup with a Play-off larger than 2, and a Name of Mitch Cook Category:Articles with hCards?
SELECT COUNT(league) AS Cup FROM table_name_8 WHERE play_offs > 2 AND name = "mitch cook category:articles with hcards"
[ 2061, 338, 262, 2472, 1271, 286, 4041, 5454, 351, 257, 3811, 12, 2364, 4025, 621, 362, 11, 290, 257, 6530, 286, 20472, 8261, 21743, 25, 8001, 2983, 351, 289, 34, 1371, 30, 46506, 327, 28270, 7, 19316, 8, 7054, 5454, 16034, 3084, 62,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 338, 262, 2472, 1271, 286, 4041, 5454, 351, 257, 3811, 12, 2364, 4025, 621, 362, 11, 290, 257, 6530, 286, 20472, 8261, 21743, 25, 8001, 2983, 351, 289, 34, 1371, 30, 46506, 327, 28270, 7, 19316, 8, 7054, 5454, 16034, 3084, 62,...
In the match where newcastle jets was the away team, what was the crown attendance?
SELECT crowd FROM table_name_79 WHERE away_team = "newcastle jets"
[ 818, 262, 2872, 810, 649, 18676, 20792, 373, 262, 1497, 1074, 11, 644, 373, 262, 12389, 14858, 30, 46506, 4315, 16034, 3084, 62, 3672, 62, 3720, 33411, 1497, 62, 15097, 796, 366, 3605, 18676, 20792, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 818, 262, 2872, 810, 649, 18676, 20792, 373, 262, 1497, 1074, 11, 644, 373, 262, 12389, 14858, 30, 46506, 4315, 16034, 3084, 62, 3672, 62, 3720, 33411, 1497, 62, 15097, 796, 366, 3605, 18676, 20792, 1 ]
What is the date of the game played after week 4 with 60,658 people in attendance?
SELECT "Date" FROM table_12997 WHERE "Week" > '4' AND "Attendance" = '60,658'
[ 2061, 318, 262, 3128, 286, 262, 983, 2826, 706, 1285, 604, 351, 3126, 11, 38431, 661, 287, 14858, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 1065, 39647, 33411, 366, 20916, 1, 1875, 705, 19, 6, 5357, 366, 8086, 437, 590, 1, 796, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 3128, 286, 262, 983, 2826, 706, 1285, 604, 351, 3126, 11, 38431, 661, 287, 14858, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 1065, 39647, 33411, 366, 20916, 1, 1875, 705, 19, 6, 5357, 366, 8086, 437, 590, 1, 796, 7...
What is the party with the candidates newt gingrich (r) 59.1% dock h. davis (d) 40.9%?
SELECT party FROM table_1341640_11 WHERE candidates = "Newt Gingrich (R) 59.1% Dock H. Davis (D) 40.9%"
[ 2061, 318, 262, 2151, 351, 262, 5871, 649, 83, 308, 278, 7527, 357, 81, 8, 7863, 13, 16, 4, 23423, 289, 13, 288, 23401, 357, 67, 8, 2319, 13, 24, 4, 30, 46506, 2151, 16034, 3084, 62, 19880, 1433, 1821, 62, 1157, 33411, 5871, 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...
[ 2061, 318, 262, 2151, 351, 262, 5871, 649, 83, 308, 278, 7527, 357, 81, 8, 7863, 13, 16, 4, 23423, 289, 13, 288, 23401, 357, 67, 8, 2319, 13, 24, 4, 30, 46506, 2151, 16034, 3084, 62, 19880, 1433, 1821, 62, 1157, 33411, 5871, 796...
What date did 'the big giant head returns again (part 1)' originally air?
SELECT "Original air date" FROM table_31147 WHERE "Title" = 'The Big Giant Head Returns Again (Part 1)'
[ 2061, 3128, 750, 705, 1169, 1263, 6175, 1182, 5860, 757, 357, 3911, 352, 33047, 6198, 1633, 30, 46506, 366, 20556, 1633, 3128, 1, 16034, 3084, 62, 36244, 2857, 33411, 366, 19160, 1, 796, 705, 464, 4403, 17384, 7123, 16409, 6521, 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 ]
[ 2061, 3128, 750, 705, 1169, 1263, 6175, 1182, 5860, 757, 357, 3911, 352, 33047, 6198, 1633, 30, 46506, 366, 20556, 1633, 3128, 1, 16034, 3084, 62, 36244, 2857, 33411, 366, 19160, 1, 796, 705, 464, 4403, 17384, 7123, 16409, 6521, 357, ...
Are there any 400 -level courses available in the Fall or Winter terms ?
SELECT DISTINCT course.department, course.name, course.number, semester.semester FROM course, course_offering, semester WHERE ((semester.semester = 'FA' AND semester.year = 2016) OR (semester.semester = 'WN' AND semester.year = 2017)) AND course.course_id = course_offering.course_id AND course.department = 'department0...
[ 8491, 612, 597, 7337, 532, 5715, 10902, 1695, 287, 262, 7218, 393, 10633, 2846, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 11, 24878, 13, 325, 6880, 353, 16034, 1781, 11, 1781, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 8491, 612, 597, 7337, 532, 5715, 10902, 1695, 287, 262, 7218, 393, 10633, 2846, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 11, 24878, 13, 325, 6880, 353, 16034, 1781, 11, 1781, ...
Script to identify Unsual vote activity.
SELECT vdt.User_ID AS "user_link", u.Reputation AS "user_reputation", vdt.Upvote_Count AS "upvote_count", vdt.Upvoting_Occured AS "date_of_votes", vdt.Post_Count AS "number_of_posts" FROM (SELECT u.Id AS User_Id, COUNT(v.Id) AS Upvote_Count, MAX(v.CreationDate) AS Upvoting_Occured, COUNT(DISTINCT p.Id) AS Post_Count FR...
[ 7391, 284, 5911, 791, 82, 723, 3015, 3842, 13, 46506, 410, 28664, 13, 12982, 62, 2389, 7054, 366, 7220, 62, 8726, 1600, 334, 13, 6207, 7094, 7054, 366, 7220, 62, 260, 1996, 341, 1600, 410, 28664, 13, 4933, 27257, 62, 12332, 7054, 36...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 7391, 284, 5911, 791, 82, 723, 3015, 3842, 13, 46506, 410, 28664, 13, 12982, 62, 2389, 7054, 366, 7220, 62, 8726, 1600, 334, 13, 6207, 7094, 7054, 366, 7220, 62, 260, 1996, 341, 1600, 410, 28664, 13, 4933, 27257, 62, 12332, 7054, 36...
What is the average Total, when Finish is 'T47'?
SELECT AVG(total) FROM table_name_44 WHERE finish = "t47"
[ 2061, 318, 262, 2811, 7472, 11, 618, 32585, 318, 705, 51, 2857, 30960, 46506, 35224, 7, 23350, 8, 16034, 3084, 62, 3672, 62, 2598, 33411, 5461, 796, 366, 83, 2857, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 7472, 11, 618, 32585, 318, 705, 51, 2857, 30960, 46506, 35224, 7, 23350, 8, 16034, 3084, 62, 3672, 62, 2598, 33411, 5461, 796, 366, 83, 2857, 1 ]
What is the round on 26 August 1995?
SELECT "Round" FROM table_59435 WHERE "Date" = '26 august 1995'
[ 2061, 318, 262, 2835, 319, 2608, 2932, 8735, 30, 46506, 366, 22685, 1, 16034, 3084, 62, 3270, 40064, 33411, 366, 10430, 1, 796, 705, 2075, 16339, 436, 8735, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2835, 319, 2608, 2932, 8735, 30, 46506, 366, 22685, 1, 16034, 3084, 62, 3270, 40064, 33411, 366, 10430, 1, 796, 705, 2075, 16339, 436, 8735, 6 ]
What is the result of the fight when record is 12-2?
SELECT "Res." FROM table_9567 WHERE "Record" = '12-2'
[ 2061, 318, 262, 1255, 286, 262, 1907, 618, 1700, 318, 1105, 12, 17, 30, 46506, 366, 4965, 526, 16034, 3084, 62, 3865, 3134, 33411, 366, 23739, 1, 796, 705, 1065, 12, 17, 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, 1255, 286, 262, 1907, 618, 1700, 318, 1105, 12, 17, 30, 46506, 366, 4965, 526, 16034, 3084, 62, 3865, 3134, 33411, 366, 23739, 1, 796, 705, 1065, 12, 17, 6 ]
What was the attendance for St Andrew's?
SELECT attendance FROM table_name_17 WHERE venue = "st andrew's"
[ 2061, 373, 262, 14858, 329, 520, 6858, 338, 30, 46506, 14858, 16034, 3084, 62, 3672, 62, 1558, 33411, 14359, 796, 366, 301, 290, 1809, 338, 1 ]
[ 1, 1, 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, 14858, 329, 520, 6858, 338, 30, 46506, 14858, 16034, 3084, 62, 3672, 62, 1558, 33411, 14359, 796, 366, 301, 290, 1809, 338, 1 ]
What is the average laps completed by riders with times of +2:11.524?
SELECT AVG("Laps") FROM table_46266 WHERE "Time" = '+2:11.524'
[ 2061, 318, 262, 2811, 24590, 5668, 416, 13750, 351, 1661, 286, 1343, 17, 25, 1157, 13, 48057, 30, 46506, 35224, 7203, 43, 1686, 4943, 16034, 3084, 62, 3510, 25540, 33411, 366, 7575, 1, 796, 705, 10, 17, 25, 1157, 13, 48057, 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, 2811, 24590, 5668, 416, 13750, 351, 1661, 286, 1343, 17, 25, 1157, 13, 48057, 30, 46506, 35224, 7203, 43, 1686, 4943, 16034, 3084, 62, 3510, 25540, 33411, 366, 7575, 1, 796, 705, 10, 17, 25, 1157, 13, 48057, 6 ]
Is drawing tablet support part of the semi-DDM class?
SELECT semi_ddm_class FROM table_1153898_1 WHERE comparisons = "Drawing Tablet Support"
[ 3792, 8263, 14147, 1104, 636, 286, 262, 10663, 12, 16458, 44, 1398, 30, 46506, 10663, 62, 1860, 76, 62, 4871, 16034, 3084, 62, 15363, 2548, 4089, 62, 16, 33411, 17909, 796, 366, 25302, 278, 42399, 7929, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 3792, 8263, 14147, 1104, 636, 286, 262, 10663, 12, 16458, 44, 1398, 30, 46506, 10663, 62, 1860, 76, 62, 4871, 16034, 3084, 62, 15363, 2548, 4089, 62, 16, 33411, 17909, 796, 366, 25302, 278, 42399, 7929, 1 ]