instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
Name the artist for 1595 televotes
SELECT artist FROM table_21378339_5 WHERE televotes = 1595
[ 5376, 262, 6802, 329, 1315, 3865, 22884, 6421, 46506, 6802, 16034, 3084, 62, 26427, 3695, 29626, 62, 20, 33411, 22884, 6421, 796, 1315, 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 ]
[ 5376, 262, 6802, 329, 1315, 3865, 22884, 6421, 46506, 6802, 16034, 3084, 62, 26427, 3695, 29626, 62, 20, 33411, 22884, 6421, 796, 1315, 3865 ]
what was the difference between the total amount of patient 702's input and output?
SELECT (SELECT SUM(inputevents_cv.amount) 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 = 702))) - (SELECT SUM(outputevents.value) FROM outputevents WHERE outputevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 702)))
[ 10919, 373, 262, 3580, 1022, 262, 2472, 2033, 286, 5827, 43379, 338, 5128, 290, 5072, 30, 46506, 357, 46506, 35683, 7, 259, 79, 1133, 85, 658, 62, 33967, 13, 17287, 8, 16034, 287, 79, 1133, 85, 658, 62, 33967, 33411, 287, 79, 1133, 85, 658, 62, 33967, 13, 291, 436, 323, 62, 312, 3268, 357, 46506, 14158, 436, 592, 13, 291, 436, 323, 62, 312, 16034, 14158, 436, 592, 33411, 14158, 436, 592, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 43379, 22305, 532, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 373, 262, 3580, 1022, 262, 2472, 2033, 286, 5827, 43379, 338, 5128, 290, 5072, 30, 46506, 357, 46506, 35683, 7, 259, 79, 1133, 85, 658, 62, 33967, 13, 17287, 8, 16034, 287, 79, 1133, 85, 658, 62, 33967, 33411, 287, 79, 1133, 85, 658, 62, 33967, 13, 291, 436, 323, 62, 312, 3268, 357, 46506, 14158, 436, 592, 13, 291, 436, 323, 62, 312, 16034, 14158, 436, 592, 33411, 14158, 436, 592, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 43379, 22305, 532, 357 ]
What is the class of the Charlotte Camel gt 500 race?
SELECT class FROM table_name_64 WHERE race = "charlotte camel gt 500"
[ 2061, 318, 262, 1398, 286, 262, 14685, 43281, 308, 83, 5323, 3234, 30, 46506, 1398, 16034, 3084, 62, 3672, 62, 2414, 33411, 3234, 796, 366, 354, 7063, 11404, 41021, 308, 83, 5323, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1398, 286, 262, 14685, 43281, 308, 83, 5323, 3234, 30, 46506, 1398, 16034, 3084, 62, 3672, 62, 2414, 33411, 3234, 796, 366, 354, 7063, 11404, 41021, 308, 83, 5323, 1 ]
Mentions of c4.8xlarge since 2016.
SELECT Posts.OwnerUserId AS "user_link", COUNT(Posts.OwnerUserId) AS mentions FROM Posts WHERE Posts.CreationDate > '20160601 00:00:00' AND Posts.Body LIKE '%c4.8xlarge%' GROUP BY Posts.OwnerUserId ORDER BY mentions DESC
[ 44, 298, 507, 286, 269, 19, 13, 23, 87, 11664, 1201, 1584, 13, 46506, 12043, 13, 42419, 12982, 7390, 7054, 366, 7220, 62, 8726, 1600, 327, 28270, 7, 21496, 13, 42419, 12982, 7390, 8, 7054, 15802, 16034, 12043, 33411, 12043, 13, 12443, 341, 10430, 1875, 705, 1264, 33206, 486, 3571, 25, 405, 25, 405, 6, 5357, 12043, 13, 25842, 34178, 705, 4, 66, 19, 13, 23, 87, 11664, 4, 6, 44441, 11050, 12043, 13, 42419, 12982, 7390, 38678, 11050, 15802, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 44, 298, 507, 286, 269, 19, 13, 23, 87, 11664, 1201, 1584, 13, 46506, 12043, 13, 42419, 12982, 7390, 7054, 366, 7220, 62, 8726, 1600, 327, 28270, 7, 21496, 13, 42419, 12982, 7390, 8, 7054, 15802, 16034, 12043, 33411, 12043, 13, 12443, 341, 10430, 1875, 705, 1264, 33206, 486, 3571, 25, 405, 25, 405, 6, 5357, 12043, 13, 25842, 34178, 705, 4, 66, 19, 13, 23, 87, 11664, 4, 6, 44441, 11050, 12043, 13, 42419, 12982, 7390, 38678, 11050, 15802, 22196, 34 ]
What name that has a DCSF number bigger than 2448 and an Ofsted number of 131319?
SELECT name FROM table_name_95 WHERE dcsf_number > 2448 AND ofsted_number = 131319
[ 2061, 1438, 326, 468, 257, 6257, 20802, 1271, 5749, 621, 1987, 2780, 290, 281, 3226, 30679, 1271, 286, 1511, 1485, 1129, 30, 46506, 1438, 16034, 3084, 62, 3672, 62, 3865, 33411, 288, 6359, 69, 62, 17618, 1875, 1987, 2780, 5357, 286, 30679, 62, 17618, 796, 1511, 1485, 1129 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1438, 326, 468, 257, 6257, 20802, 1271, 5749, 621, 1987, 2780, 290, 281, 3226, 30679, 1271, 286, 1511, 1485, 1129, 30, 46506, 1438, 16034, 3084, 62, 3672, 62, 3865, 33411, 288, 6359, 69, 62, 17618, 1875, 1987, 2780, 5357, 286, 30679, 62, 17618, 796, 1511, 1485, 1129 ]
Bar chart of mean stu gpa from each dept code, order the average of stu gpa from low to high order.
SELECT DEPT_CODE, AVG(STU_GPA) FROM STUDENT GROUP BY DEPT_CODE ORDER BY AVG(STU_GPA)
[ 10374, 8262, 286, 1612, 336, 84, 308, 8957, 422, 1123, 390, 457, 2438, 11, 1502, 262, 2811, 286, 336, 84, 308, 8957, 422, 1877, 284, 1029, 1502, 13, 46506, 5550, 11571, 62, 34, 16820, 11, 35224, 7, 2257, 52, 62, 38, 4537, 8, 16034, 49348, 3525, 44441, 11050, 5550, 11571, 62, 34, 16820, 38678, 11050, 35224, 7, 2257, 52, 62, 38, 4537, 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 ]
[ 10374, 8262, 286, 1612, 336, 84, 308, 8957, 422, 1123, 390, 457, 2438, 11, 1502, 262, 2811, 286, 336, 84, 308, 8957, 422, 1877, 284, 1029, 1502, 13, 46506, 5550, 11571, 62, 34, 16820, 11, 35224, 7, 2257, 52, 62, 38, 4537, 8, 16034, 49348, 3525, 44441, 11050, 5550, 11571, 62, 34, 16820, 38678, 11050, 35224, 7, 2257, 52, 62, 38, 4537, 8 ]
in what year did yelena slesarenko accumulate the most ` top 5 ' finishes ?
SELECT "year" FROM table_203_300 GROUP BY "year" ORDER BY COUNT(*) DESC LIMIT 1
[ 259, 644, 614, 750, 331, 417, 8107, 264, 829, 5757, 7204, 29915, 262, 749, 4600, 1353, 642, 705, 20271, 5633, 46506, 366, 1941, 1, 16034, 3084, 62, 22416, 62, 6200, 44441, 11050, 366, 1941, 1, 38678, 11050, 327, 28270, 7, 28104, 22196, 34, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 259, 644, 614, 750, 331, 417, 8107, 264, 829, 5757, 7204, 29915, 262, 749, 4600, 1353, 642, 705, 20271, 5633, 46506, 366, 1941, 1, 16034, 3084, 62, 22416, 62, 6200, 44441, 11050, 366, 1941, 1, 38678, 11050, 327, 28270, 7, 28104, 22196, 34, 27564, 2043, 352 ]
which affiliation does edwin e. willis affiliate with
SELECT "Party" FROM table_18456 WHERE "Incumbent" = 'Edwin E. Willis'
[ 4758, 26218, 857, 1225, 5404, 304, 13, 481, 271, 17375, 351, 46506, 366, 33553, 1, 16034, 3084, 62, 1507, 29228, 33411, 366, 25517, 2178, 298, 1, 796, 705, 7407, 5404, 412, 13, 32748, 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 ]
[ 4758, 26218, 857, 1225, 5404, 304, 13, 481, 271, 17375, 351, 46506, 366, 33553, 1, 16034, 3084, 62, 1507, 29228, 33411, 366, 25517, 2178, 298, 1, 796, 705, 7407, 5404, 412, 13, 32748, 6 ]
show me the type of aircraft that CANADIAN AIRLINES uses
SELECT DISTINCT aircraft.basic_type FROM aircraft, airline, equipment_sequence, flight WHERE airline.airline_name LIKE 'CANADIAN AIRLINES' AND equipment_sequence.aircraft_code = aircraft.aircraft_code AND flight.aircraft_code_sequence = equipment_sequence.aircraft_code_sequence AND flight.airline_code = airline.airline_code
[ 12860, 502, 262, 2099, 286, 6215, 326, 15628, 2885, 16868, 31600, 34509, 1546, 3544, 46506, 360, 8808, 1268, 4177, 6215, 13, 35487, 62, 4906, 16034, 6215, 11, 18091, 11, 5112, 62, 43167, 11, 5474, 33411, 18091, 13, 958, 1370, 62, 3672, 34178, 705, 44565, 2885, 16868, 31600, 34509, 1546, 6, 5357, 5112, 62, 43167, 13, 958, 3323, 62, 8189, 796, 6215, 13, 958, 3323, 62, 8189, 5357, 5474, 13, 958, 3323, 62, 8189, 62, 43167, 796, 5112, 62, 43167, 13, 958, 3323, 62, 8189, 62, 43167, 5357, 5474, 13, 958, 1370, 62, 8189, 796, 18091, 13, 958, 1370, 62, 8189 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 12860, 502, 262, 2099, 286, 6215, 326, 15628, 2885, 16868, 31600, 34509, 1546, 3544, 46506, 360, 8808, 1268, 4177, 6215, 13, 35487, 62, 4906, 16034, 6215, 11, 18091, 11, 5112, 62, 43167, 11, 5474, 33411, 18091, 13, 958, 1370, 62, 3672, 34178, 705, 44565, 2885, 16868, 31600, 34509, 1546, 6, 5357, 5112, 62, 43167, 13, 958, 3323, 62, 8189, 796, 6215, 13, 958, 3323, 62, 8189, 5357, 5474, 13, 958, 3323, 62, 8189, 62, 43167, 796, 5112, 62, 43167, 13, 958, 3323, 62, 8189, 62, 43167, 5357, 5474, 13, 958, 1370, 62, 8189, 796, 18091, 13, 958, 1370, 62, 8189 ]
How many problems are there for product voluptatem?
SELECT COUNT(*) FROM product AS T1 JOIN problems AS T2 ON T1.product_id = T2.product_id WHERE T1.product_name = "voluptatem"
[ 2437, 867, 2761, 389, 612, 329, 1720, 2322, 37623, 23900, 30, 46506, 327, 28270, 7, 28104, 16034, 1720, 7054, 309, 16, 32357, 1268, 2761, 7054, 309, 17, 6177, 309, 16, 13, 11167, 62, 312, 796, 309, 17, 13, 11167, 62, 312, 33411, 309, 16, 13, 11167, 62, 3672, 796, 366, 10396, 37623, 23900, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2761, 389, 612, 329, 1720, 2322, 37623, 23900, 30, 46506, 327, 28270, 7, 28104, 16034, 1720, 7054, 309, 16, 32357, 1268, 2761, 7054, 309, 17, 6177, 309, 16, 13, 11167, 62, 312, 796, 309, 17, 13, 11167, 62, 312, 33411, 309, 16, 13, 11167, 62, 3672, 796, 366, 10396, 37623, 23900, 1 ]
What was the original air date of the episode written by michael glassberg?
SELECT "Original airdate" FROM table_29100 WHERE "Writer" = 'Michael Glassberg'
[ 2061, 373, 262, 2656, 1633, 3128, 286, 262, 4471, 3194, 416, 285, 40302, 5405, 3900, 30, 46506, 366, 20556, 257, 1447, 378, 1, 16034, 3084, 62, 1959, 3064, 33411, 366, 34379, 1, 796, 705, 13256, 12158, 3900, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 2656, 1633, 3128, 286, 262, 4471, 3194, 416, 285, 40302, 5405, 3900, 30, 46506, 366, 20556, 257, 1447, 378, 1, 16034, 3084, 62, 1959, 3064, 33411, 366, 34379, 1, 796, 705, 13256, 12158, 3900, 6 ]
How many times was the r 4?
SELECT COUNT("League Cup") FROM table_29424 WHERE "R" = '4'
[ 2437, 867, 1661, 373, 262, 374, 604, 30, 46506, 327, 28270, 7203, 24623, 5454, 4943, 16034, 3084, 62, 27696, 1731, 33411, 366, 49, 1, 796, 705, 19, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 1661, 373, 262, 374, 604, 30, 46506, 327, 28270, 7203, 24623, 5454, 4943, 16034, 3084, 62, 27696, 1731, 33411, 366, 49, 1, 796, 705, 19, 6 ]
which nation earned the most bronze medals , thailand or south korea ?
SELECT "nation" FROM table_203_576 WHERE "nation" IN ('thailand', 'south korea') ORDER BY "bronze" DESC LIMIT 1
[ 4758, 3277, 7366, 262, 749, 22101, 28057, 837, 294, 16188, 393, 5366, 479, 46215, 5633, 46506, 366, 25729, 1, 16034, 3084, 62, 22416, 62, 37452, 33411, 366, 25729, 1, 3268, 19203, 400, 16188, 3256, 705, 35782, 479, 46215, 11537, 38678, 11050, 366, 65, 1313, 2736, 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, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4758, 3277, 7366, 262, 749, 22101, 28057, 837, 294, 16188, 393, 5366, 479, 46215, 5633, 46506, 366, 25729, 1, 16034, 3084, 62, 22416, 62, 37452, 33411, 366, 25729, 1, 3268, 19203, 400, 16188, 3256, 705, 35782, 479, 46215, 11537, 38678, 11050, 366, 65, 1313, 2736, 1, 22196, 34, 27564, 2043, 352 ]
Give me a pie to show how many competition type from different competition type.
SELECT Competition_type, COUNT(Competition_type) FROM competition GROUP BY Competition_type
[ 23318, 502, 257, 2508, 284, 905, 703, 867, 5449, 2099, 422, 1180, 5449, 2099, 13, 46506, 27348, 62, 4906, 11, 327, 28270, 7, 7293, 15620, 62, 4906, 8, 16034, 5449, 44441, 11050, 27348, 62, 4906 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 23318, 502, 257, 2508, 284, 905, 703, 867, 5449, 2099, 422, 1180, 5449, 2099, 13, 46506, 27348, 62, 4906, 11, 327, 28270, 7, 7293, 15620, 62, 4906, 8, 16034, 5449, 44441, 11050, 27348, 62, 4906 ]
what is the type of lithium when rubidium is nabr (1.9)?
SELECT "Lithium" FROM table_70783 WHERE "Rubidium" = 'nabr (1.9)'
[ 10919, 318, 262, 2099, 286, 28444, 618, 6437, 43523, 318, 47822, 81, 357, 16, 13, 24, 19427, 46506, 366, 43, 342, 1505, 1, 16034, 3084, 62, 2154, 50165, 33411, 366, 21312, 43523, 1, 796, 705, 77, 397, 81, 357, 16, 13, 24, 33047 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 2099, 286, 28444, 618, 6437, 43523, 318, 47822, 81, 357, 16, 13, 24, 19427, 46506, 366, 43, 342, 1505, 1, 16034, 3084, 62, 2154, 50165, 33411, 366, 21312, 43523, 1, 796, 705, 77, 397, 81, 357, 16, 13, 24, 33047 ]
what is the amount of phenytoin sodium prescribed to patient 32168 totally until 47 months ago?
SELECT SUM(prescriptions.dose_val_rx) FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 32168) AND prescriptions.drug = 'phenytoin sodium' AND DATETIME(prescriptions.startdate) <= DATETIME(CURRENT_TIME(), '-47 month')
[ 10919, 318, 262, 2033, 286, 6566, 88, 1462, 259, 21072, 14798, 284, 5827, 3933, 14656, 6635, 1566, 6298, 1933, 2084, 30, 46506, 35683, 7, 18302, 24370, 13, 34436, 62, 2100, 62, 40914, 8, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 3933, 14656, 8, 5357, 34092, 13, 30349, 796, 705, 31024, 88, 1462, 259, 21072, 6, 5357, 360, 1404, 2767, 12789, 7, 18302, 24370, 13, 9688, 4475, 8, 19841, 360, 1404, 2767, 12789, 7, 34, 39237, 62, 34694, 22784, 705, 12 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2033, 286, 6566, 88, 1462, 259, 21072, 14798, 284, 5827, 3933, 14656, 6635, 1566, 6298, 1933, 2084, 30, 46506, 35683, 7, 18302, 24370, 13, 34436, 62, 2100, 62, 40914, 8, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 3933, 14656, 8, 5357, 34092, 13, 30349, 796, 705, 31024, 88, 1462, 259, 21072, 6, 5357, 360, 1404, 2767, 12789, 7, 18302, 24370, 13, 9688, 4475, 8, 19841, 360, 1404, 2767, 12789, 7, 34, 39237, 62, 34694, 22784, 705, 12 ]
What is the date made that has an associated fleet number of 4?
SELECT date_made FROM table_name_99 WHERE fleet_numbers = "4"
[ 2061, 318, 262, 3128, 925, 326, 468, 281, 3917, 11026, 1271, 286, 604, 30, 46506, 3128, 62, 9727, 16034, 3084, 62, 3672, 62, 2079, 33411, 11026, 62, 77, 17024, 796, 366, 19, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 925, 326, 468, 281, 3917, 11026, 1271, 286, 604, 30, 46506, 3128, 62, 9727, 16034, 3084, 62, 3672, 62, 2079, 33411, 11026, 62, 77, 17024, 796, 366, 19, 1 ]
Show teams that have suffered more than three eliminations.
SELECT Team FROM elimination GROUP BY Team HAVING COUNT(*) > 3
[ 15307, 3466, 326, 423, 6989, 517, 621, 1115, 5687, 7352, 13, 46506, 4816, 16034, 21472, 44441, 11050, 4816, 367, 10116, 2751, 327, 28270, 7, 28104, 1875, 513 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 3466, 326, 423, 6989, 517, 621, 1115, 5687, 7352, 13, 46506, 4816, 16034, 21472, 44441, 11050, 4816, 367, 10116, 2751, 327, 28270, 7, 28104, 1875, 513 ]
what site at most is taken place ?
SELECT "site" FROM table_204_250 GROUP BY "site" ORDER BY COUNT(*) DESC LIMIT 1
[ 10919, 2524, 379, 749, 318, 2077, 1295, 5633, 46506, 366, 15654, 1, 16034, 3084, 62, 18638, 62, 9031, 44441, 11050, 366, 15654, 1, 38678, 11050, 327, 28270, 7, 28104, 22196, 34, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 2524, 379, 749, 318, 2077, 1295, 5633, 46506, 366, 15654, 1, 16034, 3084, 62, 18638, 62, 9031, 44441, 11050, 366, 15654, 1, 38678, 11050, 327, 28270, 7, 28104, 22196, 34, 27564, 2043, 352 ]
What is the traditional Chinese character set for the location that has an area of 181?
SELECT "Traditional Chinese" FROM table_2170 WHERE "Area" = '181'
[ 2061, 318, 262, 4569, 3999, 2095, 900, 329, 262, 4067, 326, 468, 281, 1989, 286, 30110, 30, 46506, 366, 48485, 3999, 1, 16034, 3084, 62, 17, 17279, 33411, 366, 30547, 1, 796, 705, 27057, 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, 4569, 3999, 2095, 900, 329, 262, 4067, 326, 468, 281, 1989, 286, 30110, 30, 46506, 366, 48485, 3999, 1, 16034, 3084, 62, 17, 17279, 33411, 366, 30547, 1, 796, 705, 27057, 6 ]
What date was the opponent in the final Barbara Paulus?
SELECT date FROM table_name_23 WHERE opponent_in_the_final = "barbara paulus"
[ 2061, 3128, 373, 262, 6125, 287, 262, 2457, 16685, 3362, 385, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 1954, 33411, 6125, 62, 259, 62, 1169, 62, 20311, 796, 366, 5657, 39389, 279, 2518, 385, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 373, 262, 6125, 287, 262, 2457, 16685, 3362, 385, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 1954, 33411, 6125, 62, 259, 62, 1169, 62, 20311, 796, 366, 5657, 39389, 279, 2518, 385, 1 ]
what are the flights from ORLANDO to KANSAS CITY
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 = 'ORLANDO' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'KANSAS CITY' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code AND flight.to_airport = AIRPORT_SERVICE_1.airport_code
[ 10919, 389, 262, 13956, 422, 6375, 28182, 46, 284, 509, 15037, 1921, 27993, 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, 15490, 62, 35009, 27389, 62, 16, 11, 1748, 7054, 27993, 62, 15, 11, 1748, 7054, 27993, 62, 16, 11, 5474, 33411, 27993, 62, 15, 13, 19205, 62, 8189, 796, 31600, 15490, 62, 35009, 27389, 62, 15, 13, 19205, 62, 8189, 5357, 27993, 62, 15, 13, 19205, 62, 3672, 796, 705, 1581, 28182, 46, 6, 5357, 27993, 62, 16, 13 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 389, 262, 13956, 422, 6375, 28182, 46, 284, 509, 15037, 1921, 27993, 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, 15490, 62, 35009, 27389, 62, 16, 11, 1748, 7054, 27993, 62, 15, 11, 1748, 7054, 27993, 62, 16, 11, 5474, 33411, 27993, 62, 15, 13, 19205, 62, 8189, 796, 31600, 15490, 62, 35009, 27389, 62, 15, 13, 19205, 62, 8189, 5357, 27993, 62, 15, 13, 19205, 62, 3672, 796, 705, 1581, 28182, 46, 6, 5357, 27993, 62, 16, 13 ]
Who is the opponent on July 2 with more than 39,290 attendance?
SELECT "Opponent" FROM table_36514 WHERE "Attendance" > '39,290' AND "Date" = 'july 2'
[ 8241, 318, 262, 6125, 319, 2901, 362, 351, 517, 621, 5014, 11, 24369, 14858, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 24760, 1415, 33411, 366, 8086, 437, 590, 1, 1875, 705, 2670, 11, 24369, 6, 5357, 366, 10430, 1, 796, 705, 73, 2062, 362, 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 ]
[ 8241, 318, 262, 6125, 319, 2901, 362, 351, 517, 621, 5014, 11, 24369, 14858, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 24760, 1415, 33411, 366, 8086, 437, 590, 1, 1875, 705, 2670, 11, 24369, 6, 5357, 366, 10430, 1, 796, 705, 73, 2062, 362, 6 ]
What was the Stadium against Bye?
SELECT "Stadium" FROM table_8904 WHERE "Opponent" = 'bye'
[ 2061, 373, 262, 10499, 1028, 47843, 30, 46506, 366, 1273, 6271, 1, 16034, 3084, 62, 4531, 3023, 33411, 366, 27524, 3471, 1, 796, 705, 16390, 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 ]
[ 2061, 373, 262, 10499, 1028, 47843, 30, 46506, 366, 1273, 6271, 1, 16034, 3084, 62, 4531, 3023, 33411, 366, 27524, 3471, 1, 796, 705, 16390, 6 ]
Name the date for broadcast fsn
SELECT "Date" FROM table_29060 WHERE "Broadcast" = 'FSN'
[ 5376, 262, 3128, 329, 7025, 277, 16184, 46506, 366, 10430, 1, 16034, 3084, 62, 24369, 1899, 33411, 366, 30507, 2701, 1, 796, 705, 10652, 45, 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, 3128, 329, 7025, 277, 16184, 46506, 366, 10430, 1, 16034, 3084, 62, 24369, 1899, 33411, 366, 30507, 2701, 1, 796, 705, 10652, 45, 6 ]
among patients of age 20s since 2100, what are the top three most frequent procedures?
SELECT t1.treatmentname FROM (SELECT treatment.treatmentname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.age BETWEEN 20 AND 29) AND STRFTIME('%y', treatment.treatmenttime) >= '2100' GROUP BY treatment.treatmentname) AS t1 WHERE t1.c1 <= 3
[ 35131, 3871, 286, 2479, 1160, 82, 1201, 38123, 11, 644, 389, 262, 1353, 1115, 749, 10792, 9021, 30, 46506, 256, 16, 13, 42487, 3672, 16034, 357, 46506, 3513, 13, 42487, 3672, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, 7, 28104, 22196, 34, 8, 7054, 269, 16, 16034, 3513, 33411, 3513, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 496, 38651, 8845, 1677, 1160, 5357, 2808, 8, 5357, 19269, 9792, 12789, 10786, 4, 88, 3256, 3513, 13, 42487, 2435, 8, 18189, 705, 2481 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 35131, 3871, 286, 2479, 1160, 82, 1201, 38123, 11, 644, 389, 262, 1353, 1115, 749, 10792, 9021, 30, 46506, 256, 16, 13, 42487, 3672, 16034, 357, 46506, 3513, 13, 42487, 3672, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, 7, 28104, 22196, 34, 8, 7054, 269, 16, 16034, 3513, 33411, 3513, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 496, 38651, 8845, 1677, 1160, 5357, 2808, 8, 5357, 19269, 9792, 12789, 10786, 4, 88, 3256, 3513, 13, 42487, 2435, 8, 18189, 705, 2481 ]
what is the date of vacancy when the date of appointment is 1 january 2009?
SELECT date_of_vacancy FROM table_name_54 WHERE date_of_appointment = "1 january 2009"
[ 10919, 318, 262, 3128, 286, 39836, 618, 262, 3128, 286, 12557, 318, 352, 42897, 2838, 3717, 30, 46506, 3128, 62, 1659, 62, 85, 330, 3883, 16034, 3084, 62, 3672, 62, 4051, 33411, 3128, 62, 1659, 62, 1324, 49805, 796, 366, 16, 42897, 2838, 3717, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 3128, 286, 39836, 618, 262, 3128, 286, 12557, 318, 352, 42897, 2838, 3717, 30, 46506, 3128, 62, 1659, 62, 85, 330, 3883, 16034, 3084, 62, 3672, 62, 4051, 33411, 3128, 62, 1659, 62, 1324, 49805, 796, 366, 16, 42897, 2838, 3717, 1 ]
Which Qualifying score had hoop as an apparatus?
SELECT "Score-Qualifying" FROM table_53624 WHERE "Apparatus" = 'hoop'
[ 13828, 9537, 4035, 4776, 550, 44792, 355, 281, 21152, 30, 46506, 366, 26595, 12, 46181, 4035, 1, 16034, 3084, 62, 44468, 1731, 33411, 366, 4677, 283, 7240, 1, 796, 705, 8873, 404, 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, 9537, 4035, 4776, 550, 44792, 355, 281, 21152, 30, 46506, 366, 26595, 12, 46181, 4035, 1, 16034, 3084, 62, 44468, 1731, 33411, 366, 4677, 283, 7240, 1, 796, 705, 8873, 404, 6 ]
Flash thread volume with accepted answers by month.
SELECT COUNT(*) AS AnsweredVolume, TIME_TO_STR(P.CreationDate, '%Y') AS Year, TIME_TO_STR(P.CreationDate, '%m') AS Month FROM Posts AS P WHERE (Tags LIKE '%<flash%' OR Tags LIKE '%<open-flash-chart>%' OR Tags LIKE '%<usb-flash-drive>%' OR Tags LIKE '%<adobe-flash-cs3>%' OR Tags LIKE '%<openflashchart2>%' OR Tags LIKE '%<embedded-flashplayer>%' OR Tags LIKE '%<axshockwaveflash>%' OR Tags LIKE '%<openflashchart>%' OR Tags LIKE '%<rails-flash>%') AND PostTypeId = 1 AND CommunityOwnedDate IS NULL AND ClosedDate IS NULL AND AcceptedAnswerId > 0 GROUP BY TIME_TO_STR(P.CreationDate, '%YEAR'), TIME_TO_STR(P.CreationDate, '%-mONT%-H') ORDER BY Year, Month
[ 30670, 4704, 6115, 351, 6292, 7429, 416, 1227, 13, 46506, 327, 28270, 7, 28104, 7054, 28038, 8279, 31715, 11, 20460, 62, 10468, 62, 18601, 7, 47, 13, 12443, 341, 10430, 11, 705, 4, 56, 11537, 7054, 6280, 11, 20460, 62, 10468, 62, 18601, 7, 47, 13, 12443, 341, 10430, 11, 705, 4, 76, 11537, 7054, 16061, 16034, 12043, 7054, 350, 33411, 357, 36142, 34178, 705, 4, 27, 34167, 4, 6, 6375, 44789, 34178, 705, 4, 27, 9654, 12, 34167, 12, 40926, 29, 4, 6, 6375, 44789, 34178, 705, 4, 27, 43319, 12, 34167, 12, 19472, 29, 4, 6, 6375, 44789 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 30670, 4704, 6115, 351, 6292, 7429, 416, 1227, 13, 46506, 327, 28270, 7, 28104, 7054, 28038, 8279, 31715, 11, 20460, 62, 10468, 62, 18601, 7, 47, 13, 12443, 341, 10430, 11, 705, 4, 56, 11537, 7054, 6280, 11, 20460, 62, 10468, 62, 18601, 7, 47, 13, 12443, 341, 10430, 11, 705, 4, 76, 11537, 7054, 16061, 16034, 12043, 7054, 350, 33411, 357, 36142, 34178, 705, 4, 27, 34167, 4, 6, 6375, 44789, 34178, 705, 4, 27, 9654, 12, 34167, 12, 40926, 29, 4, 6, 6375, 44789, 34178, 705, 4, 27, 43319, 12, 34167, 12, 19472, 29, 4, 6, 6375, 44789 ]
Please show different denominations and the corresponding number of schools in descending order.
SELECT Denomination, COUNT(*) FROM school GROUP BY Denomination ORDER BY COUNT(*) DESC
[ 5492, 905, 1180, 49735, 290, 262, 11188, 1271, 286, 4266, 287, 31491, 1502, 13, 46506, 5601, 27744, 11, 327, 28270, 7, 28104, 16034, 1524, 44441, 11050, 5601, 27744, 38678, 11050, 327, 28270, 7, 28104, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5492, 905, 1180, 49735, 290, 262, 11188, 1271, 286, 4266, 287, 31491, 1502, 13, 46506, 5601, 27744, 11, 327, 28270, 7, 28104, 16034, 1524, 44441, 11050, 5601, 27744, 38678, 11050, 327, 28270, 7, 28104, 22196, 34 ]
Name the place that was founded in 1920
SELECT "Institution" FROM table_28515 WHERE "Founded" = '1920'
[ 5376, 262, 1295, 326, 373, 9393, 287, 14062, 46506, 366, 6310, 2738, 1, 16034, 3084, 62, 26279, 1314, 33411, 366, 37, 6302, 1, 796, 705, 40454, 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, 1295, 326, 373, 9393, 287, 14062, 46506, 366, 6310, 2738, 1, 16034, 3084, 62, 26279, 1314, 33411, 366, 37, 6302, 1, 796, 705, 40454, 6 ]
What is the name of the team that had 1 win and a rating of +85?
SELECT "Team" FROM table_67561 WHERE "Win #" = '1' AND "Rating" = '+85'
[ 2061, 318, 262, 1438, 286, 262, 1074, 326, 550, 352, 1592, 290, 257, 7955, 286, 1343, 5332, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 42444, 5333, 33411, 366, 16643, 1303, 1, 796, 705, 16, 6, 5357, 366, 29321, 1, 796, 705, 10, 5332, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1438, 286, 262, 1074, 326, 550, 352, 1592, 290, 257, 7955, 286, 1343, 5332, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 42444, 5333, 33411, 366, 16643, 1303, 1, 796, 705, 16, 6, 5357, 366, 29321, 1, 796, 705, 10, 5332, 6 ]
What is the country with area of 3,170 in m ?
SELECT country FROM table_name_17 WHERE area_in_m² = "3,170"
[ 2061, 318, 262, 1499, 351, 1989, 286, 513, 11, 17279, 287, 285, 5633, 46506, 1499, 16034, 3084, 62, 3672, 62, 1558, 33411, 1989, 62, 259, 62, 76, 31185, 796, 366, 18, 11, 17279, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 351, 1989, 286, 513, 11, 17279, 287, 285, 5633, 46506, 1499, 16034, 3084, 62, 3672, 62, 1558, 33411, 1989, 62, 259, 62, 76, 31185, 796, 366, 18, 11, 17279, 1 ]
Is there a section of WOMENSTD 314 after 10:15 P.M. ?
SELECT DISTINCT course_offering.end_time, course_offering.section_number, course_offering.start_time FROM course, course_offering, semester WHERE course_offering.start_time > '10:15' AND course.course_id = course_offering.course_id AND course.department = 'WOMENSTD' AND course.number = 314 AND semester.semester = 'WN' AND semester.semester_id = course_offering.semester AND semester.year = 2016
[ 3792, 612, 257, 2665, 286, 45386, 1677, 32147, 34085, 706, 838, 25, 1314, 350, 13, 44, 13, 5633, 46506, 360, 8808, 1268, 4177, 1781, 62, 2364, 1586, 13, 437, 62, 2435, 11, 1781, 62, 2364, 1586, 13, 5458, 62, 17618, 11, 1781, 62, 2364, 1586, 13, 9688, 62, 2435, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 24878, 33411, 1781, 62, 2364, 1586, 13, 9688, 62, 2435, 1875, 705, 940, 25, 1314, 6, 5357, 1781, 13, 17319, 62, 312, 796, 1781, 62, 2364, 1586, 13, 17319, 62, 312, 5357, 1781, 13, 10378, 1823, 796, 705, 54, 2662, 1677, 32147, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 3792, 612, 257, 2665, 286, 45386, 1677, 32147, 34085, 706, 838, 25, 1314, 350, 13, 44, 13, 5633, 46506, 360, 8808, 1268, 4177, 1781, 62, 2364, 1586, 13, 437, 62, 2435, 11, 1781, 62, 2364, 1586, 13, 5458, 62, 17618, 11, 1781, 62, 2364, 1586, 13, 9688, 62, 2435, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 24878, 33411, 1781, 62, 2364, 1586, 13, 9688, 62, 2435, 1875, 705, 940, 25, 1314, 6, 5357, 1781, 13, 17319, 62, 312, 796, 1781, 62, 2364, 1586, 13, 17319, 62, 312, 5357, 1781, 13, 10378, 1823, 796, 705, 54, 2662, 1677, 32147, 6 ]
What is the average number of points in the 2012 season, which has less than 1 wins and less than 0 podiums?
SELECT AVG(points) FROM table_name_11 WHERE wins < 1 AND season = "2012" AND podiums < 0
[ 2061, 318, 262, 2811, 1271, 286, 2173, 287, 262, 2321, 1622, 11, 543, 468, 1342, 621, 352, 7864, 290, 1342, 621, 657, 27941, 82, 30, 46506, 35224, 7, 13033, 8, 16034, 3084, 62, 3672, 62, 1157, 33411, 7864, 1279, 352, 5357, 1622, 796, 366, 6999, 1, 5357, 27941, 82, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2811, 1271, 286, 2173, 287, 262, 2321, 1622, 11, 543, 468, 1342, 621, 352, 7864, 290, 1342, 621, 657, 27941, 82, 30, 46506, 35224, 7, 13033, 8, 16034, 3084, 62, 3672, 62, 1157, 33411, 7864, 1279, 352, 5357, 1622, 796, 366, 6999, 1, 5357, 27941, 82, 1279, 657 ]
what were the five most frequently prescribed medications for patients that were prescribed with vancomycin desensitization at the same time since 2104?
SELECT t3.drug FROM (SELECT t2.drug, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, prescriptions.startdate FROM prescriptions JOIN admissions ON prescriptions.hadm_id = admissions.hadm_id WHERE prescriptions.drug = 'vancomycin desensitization' AND STRFTIME('%y', prescriptions.startdate) >= '2104') AS t1 JOIN (SELECT admissions.subject_id, prescriptions.drug, prescriptions.startdate FROM prescriptions JOIN admissions ON prescriptions.hadm_id = admissions.hadm_id WHERE STRFTIME('%y', prescriptions.startdate) >= '2104') AS t2 ON t1.subject_id = t2.subject_id WHERE DATETIME(t1.startdate) = DATETIME(t2.startdate) GROUP BY t2.drug) AS t3 WHERE t3.c1 <= 5
[ 10919, 547, 262, 1936, 749, 6777, 14798, 17638, 329, 3871, 326, 547, 14798, 351, 5719, 785, 88, 17879, 748, 641, 270, 1634, 379, 262, 976, 640, 1201, 362, 13464, 30, 46506, 256, 18, 13, 30349, 16034, 357, 46506, 256, 17, 13, 30349, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, 7, 28104, 22196, 34, 8, 7054, 269, 16, 16034, 357, 46506, 25349, 13, 32796, 62, 312, 11, 34092, 13, 9688, 4475, 16034, 34092, 32357, 1268, 25349, 6177, 34092, 13, 18108, 76, 62, 312, 796, 25349, 13, 18108, 76, 62, 312, 33411, 34092, 13, 30349 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 547, 262, 1936, 749, 6777, 14798, 17638, 329, 3871, 326, 547, 14798, 351, 5719, 785, 88, 17879, 748, 641, 270, 1634, 379, 262, 976, 640, 1201, 362, 13464, 30, 46506, 256, 18, 13, 30349, 16034, 357, 46506, 256, 17, 13, 30349, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, 7, 28104, 22196, 34, 8, 7054, 269, 16, 16034, 357, 46506, 25349, 13, 32796, 62, 312, 11, 34092, 13, 9688, 4475, 16034, 34092, 32357, 1268, 25349, 6177, 34092, 13, 18108, 76, 62, 312, 796, 25349, 13, 18108, 76, 62, 312, 33411, 34092, 13, 30349 ]
What is the ordinary income rate when short-term capital gain rate is 28%?
SELECT ordinary_income_rate FROM table_name_42 WHERE short_term_capital_gain_rate = "28%"
[ 2061, 318, 262, 8850, 3739, 2494, 618, 1790, 12, 4354, 3139, 4461, 2494, 318, 2579, 4, 30, 46506, 8850, 62, 12519, 62, 4873, 16034, 3084, 62, 3672, 62, 3682, 33411, 1790, 62, 4354, 62, 27544, 62, 48544, 62, 4873, 796, 366, 2078, 39658 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 8850, 3739, 2494, 618, 1790, 12, 4354, 3139, 4461, 2494, 318, 2579, 4, 30, 46506, 8850, 62, 12519, 62, 4873, 16034, 3084, 62, 3672, 62, 3682, 33411, 1790, 62, 4354, 62, 27544, 62, 48544, 62, 4873, 796, 366, 2078, 39658 ]
Which Award Ceremony has a Nominee of sarah travis, and a Category of the best orchestrations?
SELECT "Award Ceremony" FROM table_60974 WHERE "Nominee" = 'sarah travis' AND "Category" = 'best orchestrations'
[ 13828, 11289, 26532, 9926, 468, 257, 21198, 500, 68, 286, 264, 23066, 1291, 4703, 11, 290, 257, 21743, 286, 262, 1266, 28127, 602, 30, 46506, 366, 32, 904, 26532, 9926, 1, 16034, 3084, 62, 31751, 4524, 33411, 366, 45, 296, 500, 68, 1, 796, 705, 82, 23066, 1291, 4703, 6, 5357, 366, 27313, 1, 796, 705, 13466, 28127, 602, 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 ]
[ 13828, 11289, 26532, 9926, 468, 257, 21198, 500, 68, 286, 264, 23066, 1291, 4703, 11, 290, 257, 21743, 286, 262, 1266, 28127, 602, 30, 46506, 366, 32, 904, 26532, 9926, 1, 16034, 3084, 62, 31751, 4524, 33411, 366, 45, 296, 500, 68, 1, 796, 705, 82, 23066, 1291, 4703, 6, 5357, 366, 27313, 1, 796, 705, 13466, 28127, 602, 6 ]
let me know the number of government health insurance patients with procedure icd9 code 92.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.insurance = "Government" AND procedures.icd9_code = "92"
[ 1616, 502, 760, 262, 1271, 286, 1230, 1535, 5096, 3871, 351, 8771, 14158, 67, 24, 2438, 10190, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, 13, 18108, 76, 62, 312, 796, 9021, 13, 18108, 76, 62, 312, 33411, 16728, 13, 1040, 3874, 796, 366, 28848, 1, 5357, 9021, 13, 291, 67, 24, 62, 8189, 796, 366, 5892, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1616, 502, 760, 262, 1271, 286, 1230, 1535, 5096, 3871, 351, 8771, 14158, 67, 24, 2438, 10190, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, 13, 18108, 76, 62, 312, 796, 9021, 13, 18108, 76, 62, 312, 33411, 16728, 13, 1040, 3874, 796, 366, 28848, 1, 5357, 9021, 13, 291, 67, 24, 62, 8189, 796, 366, 5892, 1 ]
Bar chart x axis role code y axis the total number
SELECT Role_Code, COUNT(*) FROM Employees GROUP BY Role_Code
[ 10374, 8262, 2124, 16488, 2597, 2438, 331, 16488, 262, 2472, 1271, 46506, 20934, 62, 10669, 11, 327, 28270, 7, 28104, 16034, 30260, 44441, 11050, 20934, 62, 10669 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10374, 8262, 2124, 16488, 2597, 2438, 331, 16488, 262, 2472, 1271, 46506, 20934, 62, 10669, 11, 327, 28270, 7, 28104, 16034, 30260, 44441, 11050, 20934, 62, 10669 ]
Name the name or route for slope length being 336
SELECT name_or_route FROM table_17814458_1 WHERE slope_length = 336
[ 5376, 262, 1438, 393, 6339, 329, 22638, 4129, 852, 38867, 46506, 1438, 62, 273, 62, 38629, 16034, 3084, 62, 23188, 1415, 29334, 62, 16, 33411, 22638, 62, 13664, 796, 38867 ]
[ 1, 1, 1, 1, 1, 1, 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, 1438, 393, 6339, 329, 22638, 4129, 852, 38867, 46506, 1438, 62, 273, 62, 38629, 16034, 3084, 62, 23188, 1415, 29334, 62, 16, 33411, 22638, 62, 13664, 796, 38867 ]
tell me the route of administration and drug code for calcium acetate.
SELECT prescriptions.formulary_drug_cd, prescriptions.route FROM prescriptions WHERE prescriptions.drug = "Calcium Acetate"
[ 33331, 502, 262, 6339, 286, 3662, 290, 2563, 2438, 329, 19700, 25174, 378, 13, 46506, 34092, 13, 687, 377, 560, 62, 30349, 62, 10210, 11, 34092, 13, 38629, 16034, 34092, 33411, 34092, 13, 30349, 796, 366, 9771, 16910, 4013, 316, 378, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6339, 286, 3662, 290, 2563, 2438, 329, 19700, 25174, 378, 13, 46506, 34092, 13, 687, 377, 560, 62, 30349, 62, 10210, 11, 34092, 13, 38629, 16034, 34092, 33411, 34092, 13, 30349, 796, 366, 9771, 16910, 4013, 316, 378, 1 ]
bleeding, clinically not controlled ( needing more than 2 red blood cell transfusions per day )
SELECT * FROM table_train_57 WHERE bleeding = 1
[ 903, 8228, 11, 36688, 407, 6856, 357, 18139, 517, 621, 362, 2266, 2910, 2685, 13501, 15880, 583, 1110, 1267, 46506, 1635, 16034, 3084, 62, 27432, 62, 3553, 33411, 16832, 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 ]
[ 903, 8228, 11, 36688, 407, 6856, 357, 18139, 517, 621, 362, 2266, 2910, 2685, 13501, 15880, 583, 1110, 1267, 46506, 1635, 16034, 3084, 62, 27432, 62, 3553, 33411, 16832, 796, 352 ]
What is the population of the settlement with the cyrillic name of ?
SELECT MAX("Population (2011)") FROM table_27883 WHERE "Cyrillic Name Other Names" = 'Добрица'
[ 2061, 318, 262, 3265, 286, 262, 9443, 351, 262, 269, 2417, 359, 291, 1438, 286, 5633, 46506, 25882, 7203, 45251, 357, 9804, 8, 4943, 16034, 3084, 62, 1983, 49287, 33411, 366, 34, 2417, 359, 291, 6530, 3819, 28531, 1, 796, 705, 140, 242, 25443, 109, 21169, 18849, 141, 228, 16142, 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 ]
[ 2061, 318, 262, 3265, 286, 262, 9443, 351, 262, 269, 2417, 359, 291, 1438, 286, 5633, 46506, 25882, 7203, 45251, 357, 9804, 8, 4943, 16034, 3084, 62, 1983, 49287, 33411, 366, 34, 2417, 359, 291, 6530, 3819, 28531, 1, 796, 705, 140, 242, 25443, 109, 21169, 18849, 141, 228, 16142, 6 ]
Find the parties associated with the delegates from district 1 Who served as governors of the parties, and count them by a bar chart, order the number of governor in descending order.
SELECT Governor, COUNT(Governor) FROM election AS T1 JOIN party AS T2 ON T1.Party = T2.Party_ID WHERE T1.District = 1 GROUP BY Governor ORDER BY COUNT(Governor) DESC
[ 16742, 262, 4671, 3917, 351, 262, 15265, 422, 4783, 352, 5338, 4983, 355, 26824, 286, 262, 4671, 11, 290, 954, 606, 416, 257, 2318, 8262, 11, 1502, 262, 1271, 286, 8153, 287, 31491, 1502, 13, 46506, 10807, 11, 327, 28270, 7, 29168, 273, 8, 16034, 3071, 7054, 309, 16, 32357, 1268, 2151, 7054, 309, 17, 6177, 309, 16, 13, 33553, 796, 309, 17, 13, 33553, 62, 2389, 33411, 309, 16, 13, 44857, 796, 352, 44441, 11050, 10807, 38678, 11050, 327, 28270, 7, 29168, 273, 8, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16742, 262, 4671, 3917, 351, 262, 15265, 422, 4783, 352, 5338, 4983, 355, 26824, 286, 262, 4671, 11, 290, 954, 606, 416, 257, 2318, 8262, 11, 1502, 262, 1271, 286, 8153, 287, 31491, 1502, 13, 46506, 10807, 11, 327, 28270, 7, 29168, 273, 8, 16034, 3071, 7054, 309, 16, 32357, 1268, 2151, 7054, 309, 17, 6177, 309, 16, 13, 33553, 796, 309, 17, 13, 33553, 62, 2389, 33411, 309, 16, 13, 44857, 796, 352, 44441, 11050, 10807, 38678, 11050, 327, 28270, 7, 29168, 273, 8, 22196, 34 ]
For those records from the products and each product's manufacturer, visualize a bar chart about the distribution of name and the average of code , and group by attribute name, could you display by the y axis in ascending?
SELECT T1.Name, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T1.Name ORDER BY T1.Code
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 38350, 257, 2318, 8262, 546, 262, 6082, 286, 1438, 290, 262, 2811, 286, 2438, 837, 290, 1448, 416, 11688, 1438, 11, 714, 345, 3359, 416, 262, 331, 16488, 287, 41988, 30, 46506, 309, 16, 13, 5376, 11, 309, 16, 13, 10669, 16034, 18675, 7054, 309, 16, 32357, 1268, 17858, 17496, 7054, 309, 17, 6177, 309, 16, 13, 44445, 15051, 796, 309, 17, 13, 10669, 44441, 11050, 309, 16, 13, 5376, 38678, 11050, 309, 16, 13, 10669 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 262, 2811, 286, 2438, 837, 290, 1448, 416, 11688, 1438, 11, 714, 345, 3359, 416, 262, 331, 16488, 287, 41988, 30, 46506, 309, 16, 13, 5376, 11, 309, 16, 13, 10669, 16034, 18675, 7054, 309, 16, 32357, 1268, 17858, 17496, 7054, 309, 17, 6177, 309, 16, 13, 44445, 15051, 796, 309, 17, 13, 10669, 44441, 11050, 309, 16, 13, 5376, 38678, 11050, 309, 16, 13, 10669 ]
what are the four most frequently given laboratory tests for patients who have previously received destruct chest wall les within the same month until 2104?
SELECT d_labitems.label FROM d_labitems WHERE d_labitems.itemid IN (SELECT t3.itemid FROM (SELECT t2.itemid, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, procedures_icd.charttime FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'destruct chest wall les') AND STRFTIME('%y', procedures_icd.charttime) <= '2104') AS t1 JOIN (SELECT admissions.subject_id, labevents.itemid, labevents.charttime FROM labevents JOIN admissions ON labevents.hadm_id = admissions.hadm_id WHERE STRFTIME('%y', labevents.charttime) <= '2104') AS t2 ON t1.subject_id = t2.subject_id WHERE t1.charttime < t2.charttime AND DATETIME(t1.charttime, 'start of month') = DATETIME(t2.charttime, 'start of month') GROUP BY t2.itemid) AS t3 WHERE t3.c1 <= 4)
[ 10919, 389, 262, 1440, 749, 6777, 1813, 14010, 5254, 329, 3871, 508, 423, 4271, 2722, 15256, 7721, 3355, 10287, 1626, 262, 976, 1227, 1566, 362, 13464, 30, 46506, 288, 62, 23912, 23814, 13, 18242, 16034, 288, 62, 23912, 23814, 33411, 288, 62, 23912, 23814, 13, 9186, 312, 3268, 357, 46506, 256, 18, 13, 9186, 312, 16034, 357, 46506, 256, 17, 13, 9186, 312, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, 7, 28104, 22196, 34, 8, 7054, 269, 16, 16034, 357, 46506, 25349, 13, 32796, 62, 312, 11, 9021, 62, 291, 67, 13, 40926 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 389, 262, 1440, 749, 6777, 1813, 14010, 5254, 329, 3871, 508, 423, 4271, 2722, 15256, 7721, 3355, 10287, 1626, 262, 976, 1227, 1566, 362, 13464, 30, 46506, 288, 62, 23912, 23814, 13, 18242, 16034, 288, 62, 23912, 23814, 33411, 288, 62, 23912, 23814, 13, 9186, 312, 3268, 357, 46506, 256, 18, 13, 9186, 312, 16034, 357, 46506, 256, 17, 13, 9186, 312, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, 7, 28104, 22196, 34, 8, 7054, 269, 16, 16034, 357, 46506, 25349, 13, 32796, 62, 312, 11, 9021, 62, 291, 67, 13, 40926 ]
what is the name when the west or south terminus is ne 112 west of blue springs?
SELECT "Name" FROM table_56780 WHERE "West or south terminus" = 'ne 112 west of blue springs'
[ 10919, 318, 262, 1438, 618, 262, 7421, 393, 5366, 5651, 385, 318, 497, 13539, 7421, 286, 4171, 24747, 30, 46506, 366, 5376, 1, 16034, 3084, 62, 20, 3134, 1795, 33411, 366, 15045, 393, 5366, 5651, 385, 1, 796, 705, 710, 13539, 7421, 286, 4171, 24747, 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 ]
[ 10919, 318, 262, 1438, 618, 262, 7421, 393, 5366, 5651, 385, 318, 497, 13539, 7421, 286, 4171, 24747, 30, 46506, 366, 5376, 1, 16034, 3084, 62, 20, 3134, 1795, 33411, 366, 15045, 393, 5366, 5651, 385, 1, 796, 705, 710, 13539, 7421, 286, 4171, 24747, 6 ]
How many female patients have been diagnosed with syncope telemetry?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.gender = "F" AND demographic.diagnosis = "SYNCOPE;TELEMETRY"
[ 2437, 867, 4048, 3871, 423, 587, 14641, 351, 17510, 3008, 5735, 41935, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 8388, 796, 366, 37, 1, 5357, 16728, 13, 47356, 5958, 796, 366, 23060, 7792, 32135, 26, 9328, 2538, 47123, 18276, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4048, 3871, 423, 587, 14641, 351, 17510, 3008, 5735, 41935, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 8388, 796, 366, 37, 1, 5357, 16728, 13, 47356, 5958, 796, 366, 23060, 7792, 32135, 26, 9328, 2538, 47123, 18276, 1 ]
What finish time started at 32?
SELECT finish FROM table_name_9 WHERE start = "32"
[ 2061, 5461, 640, 2067, 379, 3933, 30, 46506, 5461, 16034, 3084, 62, 3672, 62, 24, 33411, 923, 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 ]
[ 2061, 5461, 640, 2067, 379, 3933, 30, 46506, 5461, 16034, 3084, 62, 3672, 62, 24, 33411, 923, 796, 366, 2624, 1 ]
Where was the game which ended in a 4-1 w?
SELECT "Location" FROM table_46219 WHERE "Result" = '4-1 w'
[ 8496, 373, 262, 983, 543, 4444, 287, 257, 604, 12, 16, 266, 30, 46506, 366, 14749, 1, 16034, 3084, 62, 3510, 28896, 33411, 366, 23004, 1, 796, 705, 19, 12, 16, 266, 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 ]
[ 8496, 373, 262, 983, 543, 4444, 287, 257, 604, 12, 16, 266, 30, 46506, 366, 14749, 1, 16034, 3084, 62, 3510, 28896, 33411, 366, 23004, 1, 796, 705, 19, 12, 16, 266, 6 ]
how many days have elapsed since patient 006-157753's first xanax drug prescription during this hospital visit?
SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', medication.drugstarttime)) FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-157753') AND patient.hospitaldischargetime IS NULL) AND medication.drugname = 'xanax' ORDER BY medication.drugstarttime LIMIT 1
[ 4919, 867, 1528, 423, 42118, 1201, 5827, 3571, 21, 12, 18458, 44550, 338, 717, 2124, 272, 897, 2563, 15077, 1141, 428, 4436, 3187, 30, 46506, 352, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694, 28955, 532, 19269, 9792, 12789, 10786, 4, 73, 3256, 14103, 13, 30349, 9688, 2435, 4008, 16034, 14103, 33411, 14103, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827, 13, 403, 1557, 538 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 423, 42118, 1201, 5827, 3571, 21, 12, 18458, 44550, 338, 717, 2124, 272, 897, 2563, 15077, 1141, 428, 4436, 3187, 30, 46506, 352, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694, 28955, 532, 19269, 9792, 12789, 10786, 4, 73, 3256, 14103, 13, 30349, 9688, 2435, 4008, 16034, 14103, 33411, 14103, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827, 13, 403, 1557, 538 ]
For those records from the products and each product's manufacturer, visualize a bar chart about the distribution of headquarter and the sum of code , and group by attribute headquarter, and show by the x-axis in asc.
SELECT T2.Headquarter, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Headquarter ORDER BY T2.Headquarter
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 38350, 257, 2318, 8262, 546, 262, 6082, 286, 1182, 24385, 290, 262, 2160, 286, 2438, 837, 290, 1448, 416, 11688, 1182, 24385, 11, 290, 905, 416, 262, 2124, 12, 22704, 287, 10570, 13, 46506, 309, 17, 13, 13847, 24385, 11, 309, 16, 13, 10669, 16034, 18675, 7054, 309, 16, 32357, 1268, 17858, 17496, 7054, 309, 17, 6177, 309, 16, 13, 44445, 15051, 796, 309, 17, 13, 10669, 44441, 11050, 309, 17, 13, 13847, 24385, 38678, 11050, 309, 17, 13, 13847, 24385 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1182, 24385, 290, 262, 2160, 286, 2438, 837, 290, 1448, 416, 11688, 1182, 24385, 11, 290, 905, 416, 262, 2124, 12, 22704, 287, 10570, 13, 46506, 309, 17, 13, 13847, 24385, 11, 309, 16, 13, 10669, 16034, 18675, 7054, 309, 16, 32357, 1268, 17858, 17496, 7054, 309, 17, 6177, 309, 16, 13, 44445, 15051, 796, 309, 17, 13, 10669, 44441, 11050, 309, 17, 13, 13847, 24385, 38678, 11050, 309, 17, 13, 13847, 24385 ]
On what platform does Mindark publish?
SELECT platform FROM table_name_84 WHERE publisher = "mindark"
[ 2202, 644, 3859, 857, 10175, 668, 7715, 30, 46506, 3859, 16034, 3084, 62, 3672, 62, 5705, 33411, 9991, 796, 366, 10155, 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 ]
[ 2202, 644, 3859, 857, 10175, 668, 7715, 30, 46506, 3859, 16034, 3084, 62, 3672, 62, 5705, 33411, 9991, 796, 366, 10155, 668, 1 ]
What is the home team's score at princes park?
SELECT home_team AS score FROM table_name_85 WHERE venue = "princes park"
[ 2061, 318, 262, 1363, 1074, 338, 4776, 379, 42676, 3952, 30, 46506, 1363, 62, 15097, 7054, 4776, 16034, 3084, 62, 3672, 62, 5332, 33411, 14359, 796, 366, 1050, 17386, 3952, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 1074, 338, 4776, 379, 42676, 3952, 30, 46506, 1363, 62, 15097, 7054, 4776, 16034, 3084, 62, 3672, 62, 5332, 33411, 14359, 796, 366, 1050, 17386, 3952, 1 ]
Name the loss on may 22
SELECT "Loss" FROM table_80175 WHERE "Date" = 'may 22'
[ 5376, 262, 2994, 319, 743, 2534, 46506, 366, 43, 793, 1, 16034, 3084, 62, 41531, 2425, 33411, 366, 10430, 1, 796, 705, 11261, 2534, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 2994, 319, 743, 2534, 46506, 366, 43, 793, 1, 16034, 3084, 62, 41531, 2425, 33411, 366, 10430, 1, 796, 705, 11261, 2534, 6 ]
In the 2012 (85th) Ceremony, what was the Original title of the film not nominated?
SELECT "Original title" FROM table_42398 WHERE "Result" = 'not nominated' AND "Year (Ceremony)" = '2012 (85th)'
[ 818, 262, 2321, 357, 5332, 400, 8, 26532, 9926, 11, 644, 373, 262, 13745, 3670, 286, 262, 2646, 407, 19332, 30, 46506, 366, 20556, 3670, 1, 16034, 3084, 62, 43356, 4089, 33411, 366, 23004, 1, 796, 705, 1662, 19332, 6, 5357, 366, 17688, 357, 34, 567, 9926, 16725, 796, 705, 6999, 357, 5332, 400, 33047 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 818, 262, 2321, 357, 5332, 400, 8, 26532, 9926, 11, 644, 373, 262, 13745, 3670, 286, 262, 2646, 407, 19332, 30, 46506, 366, 20556, 3670, 1, 16034, 3084, 62, 43356, 4089, 33411, 366, 23004, 1, 796, 705, 1662, 19332, 6, 5357, 366, 17688, 357, 34, 567, 9926, 16725, 796, 705, 6999, 357, 5332, 400, 33047 ]
What is the aspect ration when the max fps HDRx is 80?
SELECT "Aspect Ratio" FROM table_69375 WHERE "max. fps HDRx" = '80'
[ 2061, 318, 262, 4843, 36535, 618, 262, 3509, 32977, 33675, 87, 318, 4019, 30, 46506, 366, 1722, 806, 33956, 1, 16034, 3084, 62, 3388, 22318, 33411, 366, 9806, 13, 32977, 33675, 87, 1, 796, 705, 1795, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4843, 36535, 618, 262, 3509, 32977, 33675, 87, 318, 4019, 30, 46506, 366, 1722, 806, 33956, 1, 16034, 3084, 62, 3388, 22318, 33411, 366, 9806, 13, 32977, 33675, 87, 1, 796, 705, 1795, 6 ]
Bar graph to show meter_100 from different meter 700, and order by the meter_100 from high to low.
SELECT meter_700, meter_100 FROM swimmer ORDER BY meter_100 DESC
[ 10374, 4823, 284, 905, 16430, 62, 3064, 422, 1180, 16430, 13037, 11, 290, 1502, 416, 262, 16430, 62, 3064, 422, 1029, 284, 1877, 13, 46506, 16430, 62, 9879, 11, 16430, 62, 3064, 16034, 9422, 647, 38678, 11050, 16430, 62, 3064, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10374, 4823, 284, 905, 16430, 62, 3064, 422, 1180, 16430, 13037, 11, 290, 1502, 416, 262, 16430, 62, 3064, 422, 1029, 284, 1877, 13, 46506, 16430, 62, 9879, 11, 16430, 62, 3064, 16034, 9422, 647, 38678, 11050, 16430, 62, 3064, 22196, 34 ]
What Date has the Region Europe and a Catalog of 74321 45851 2?
SELECT "Date" FROM table_76207 WHERE "Region" = 'europe' AND "Catalog" = '74321 45851 2'
[ 2061, 7536, 468, 262, 17718, 2031, 290, 257, 44515, 286, 767, 3559, 2481, 50154, 4349, 362, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 4304, 22745, 33411, 366, 47371, 1, 796, 705, 44252, 431, 6, 5357, 366, 49015, 1, 796, 705, 22, 3559, 2481, 50154, 4349, 362, 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 ]
[ 2061, 7536, 468, 262, 17718, 2031, 290, 257, 44515, 286, 767, 3559, 2481, 50154, 4349, 362, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 4304, 22745, 33411, 366, 47371, 1, 796, 705, 44252, 431, 6, 5357, 366, 49015, 1, 796, 705, 22, 3559, 2481, 50154, 4349, 362, 6 ]
What is the date of the Cleveland home game with a 20-8 record?
SELECT "Date" FROM table_42809 WHERE "Home" = 'cleveland' AND "Record" = '20-8'
[ 2061, 318, 262, 3128, 286, 262, 10306, 1363, 983, 351, 257, 1160, 12, 23, 1700, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 3682, 34583, 33411, 366, 16060, 1, 796, 705, 2375, 9731, 6, 5357, 366, 23739, 1, 796, 705, 1238, 12, 23, 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 ]
[ 2061, 318, 262, 3128, 286, 262, 10306, 1363, 983, 351, 257, 1160, 12, 23, 1700, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 3682, 34583, 33411, 366, 16060, 1, 796, 705, 2375, 9731, 6, 5357, 366, 23739, 1, 796, 705, 1238, 12, 23, 6 ]
What school took 4th place in 2001?
SELECT 4 AS th_place FROM table_11577996_1 WHERE year = 2001
[ 2061, 1524, 1718, 604, 400, 1295, 287, 5878, 30, 46506, 604, 7054, 294, 62, 5372, 16034, 3084, 62, 15363, 3324, 38565, 62, 16, 33411, 614, 796, 5878 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1524, 1718, 604, 400, 1295, 287, 5878, 30, 46506, 604, 7054, 294, 62, 5372, 16034, 3084, 62, 15363, 3324, 38565, 62, 16, 33411, 614, 796, 5878 ]
has patient 025-53910 got admitted to the hospital until 2104?
SELECT COUNT(*) > 0 FROM patient WHERE patient.uniquepid = '025-53910' AND STRFTIME('%y', patient.hospitaladmittime) <= '2104'
[ 10134, 5827, 657, 1495, 12, 20, 2670, 940, 1392, 6848, 284, 262, 4436, 1566, 362, 13464, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 36629, 12, 20, 2670, 940, 6, 5357, 19269, 9792, 12789, 10786, 4, 88, 3256, 5827, 13, 49257, 324, 20124, 524, 8, 19841, 705, 17, 13464, 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 ]
[ 10134, 5827, 657, 1495, 12, 20, 2670, 940, 1392, 6848, 284, 262, 4436, 1566, 362, 13464, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 36629, 12, 20, 2670, 940, 6, 5357, 19269, 9792, 12789, 10786, 4, 88, 3256, 5827, 13, 49257, 324, 20124, 524, 8, 19841, 705, 17, 13464, 6 ]
when was the first time that patient 016-18575 today had respiration less than 35.0?
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 = '016-18575')) AND vitalperiodic.respiration < 35.0 AND NOT vitalperiodic.respiration IS NULL AND DATETIME(vitalperiodic.observationtime, 'start of day') = DATETIME(CURRENT_TIME(), 'start of day', '-0 day') ORDER BY vitalperiodic.observationtime LIMIT 1
[ 12518, 373, 262, 717, 640, 326, 5827, 5534, 21, 12, 21652, 2425, 1909, 550, 1217, 15297, 1342, 621, 3439, 13, 15, 30, 46506, 9204, 41007, 291, 13, 672, 3168, 341, 2435, 16034, 9204, 41007, 291, 33411, 9204, 41007, 291, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 27037, 12, 21652, 2425, 6, 4008, 5357, 9204, 41007, 291, 13, 411, 10514, 1279, 3439, 13 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 12518, 373, 262, 717, 640, 326, 5827, 5534, 21, 12, 21652, 2425, 1909, 550, 1217, 15297, 1342, 621, 3439, 13, 15, 30, 46506, 9204, 41007, 291, 13, 672, 3168, 341, 2435, 16034, 9204, 41007, 291, 33411, 9204, 41007, 291, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 27037, 12, 21652, 2425, 6, 4008, 5357, 9204, 41007, 291, 13, 411, 10514, 1279, 3439, 13 ]
What was the average size of the crowd for games where the home team had a score of 10.10 (70)?
SELECT AVG("Crowd") FROM table_33378 WHERE "Home team score" = '10.10 (70)'
[ 2061, 373, 262, 2811, 2546, 286, 262, 4315, 329, 1830, 810, 262, 1363, 1074, 550, 257, 4776, 286, 838, 13, 940, 357, 2154, 19427, 46506, 35224, 7203, 34, 3986, 4943, 16034, 3084, 62, 2091, 30695, 33411, 366, 16060, 1074, 4776, 1, 796, 705, 940, 13, 940, 357, 2154, 33047 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 2811, 2546, 286, 262, 4315, 329, 1830, 810, 262, 1363, 1074, 550, 257, 4776, 286, 838, 13, 940, 357, 2154, 19427, 46506, 35224, 7203, 34, 3986, 4943, 16034, 3084, 62, 2091, 30695, 33411, 366, 16060, 1074, 4776, 1, 796, 705, 940, 13, 940, 357, 2154, 33047 ]
Which Year has a Position of 2nd, and Notes of -63kg, and a Venue of manchester?
SELECT "Year" FROM table_65370 WHERE "Position" = '2nd' AND "Notes" = '-63kg' AND "Venue" = 'manchester'
[ 13828, 6280, 468, 257, 23158, 286, 362, 358, 11, 290, 11822, 286, 532, 5066, 10025, 11, 290, 257, 9932, 518, 286, 582, 35983, 30, 46506, 366, 17688, 1, 16034, 3084, 62, 2996, 20167, 33411, 366, 26545, 1, 796, 705, 17, 358, 6, 5357, 366, 16130, 1, 796, 705, 12, 5066, 10025, 6, 5357, 366, 37522, 518, 1, 796, 705, 805, 35983, 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 ]
[ 13828, 6280, 468, 257, 23158, 286, 362, 358, 11, 290, 11822, 286, 532, 5066, 10025, 11, 290, 257, 9932, 518, 286, 582, 35983, 30, 46506, 366, 17688, 1, 16034, 3084, 62, 2996, 20167, 33411, 366, 26545, 1, 796, 705, 17, 358, 6, 5357, 366, 16130, 1, 796, 705, 12, 5066, 10025, 6, 5357, 366, 37522, 518, 1, 796, 705, 805, 35983, 6 ]
Which college has their team as the New York Jets?
SELECT "College" FROM table_65313 WHERE "Team" = 'new york jets'
[ 13828, 4152, 468, 511, 1074, 355, 262, 968, 1971, 14728, 30, 46506, 366, 38951, 1, 16034, 3084, 62, 2996, 25838, 33411, 366, 15592, 1, 796, 705, 3605, 331, 967, 20792, 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 ]
[ 13828, 4152, 468, 511, 1074, 355, 262, 968, 1971, 14728, 30, 46506, 366, 38951, 1, 16034, 3084, 62, 2996, 25838, 33411, 366, 15592, 1, 796, 705, 3605, 331, 967, 20792, 6 ]
Which Byes have an Against larger than 1018, and a Wimmera FL of horsham diggers?
SELECT MIN("Byes") FROM table_65614 WHERE "Against" > '1018' AND "Wimmera FL" = 'horsham diggers'
[ 13828, 2750, 274, 423, 281, 12914, 4025, 621, 8949, 23, 11, 290, 257, 370, 10957, 64, 9977, 286, 45334, 2763, 3100, 5355, 30, 46506, 20625, 7203, 3886, 274, 4943, 16034, 3084, 62, 37466, 1415, 33411, 366, 39276, 1, 1875, 705, 8784, 23, 6, 5357, 366, 54, 10957, 64, 9977, 1, 796, 705, 71, 669, 2763, 3100, 5355, 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 ]
[ 13828, 2750, 274, 423, 281, 12914, 4025, 621, 8949, 23, 11, 290, 257, 370, 10957, 64, 9977, 286, 45334, 2763, 3100, 5355, 30, 46506, 20625, 7203, 3886, 274, 4943, 16034, 3084, 62, 37466, 1415, 33411, 366, 39276, 1, 1875, 705, 8784, 23, 6, 5357, 366, 54, 10957, 64, 9977, 1, 796, 705, 71, 669, 2763, 3100, 5355, 6 ]
Creating time intervals in MSSQL. http://stackoverflow.com/questions/13682754/creating-time-intervals-in-mssql
SELECT @nOfIntervals
[ 32071, 640, 20016, 287, 337, 5432, 9711, 13, 2638, 1378, 25558, 2502, 11125, 13, 785, 14, 6138, 507, 14, 1485, 3104, 1983, 4051, 14, 20123, 278, 12, 2435, 12, 3849, 12786, 12, 259, 12, 76, 824, 13976, 46506, 2488, 77, 5189, 9492, 12786 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 32071, 640, 20016, 287, 337, 5432, 9711, 13, 2638, 1378, 25558, 2502, 11125, 13, 785, 14, 6138, 507, 14, 1485, 3104, 1983, 4051, 14, 20123, 278, 12, 2435, 12, 3849, 12786, 12, 259, 12, 76, 824, 13976, 46506, 2488, 77, 5189, 9492, 12786 ]
Which Tie number was played on 9 January 1956?
SELECT "Tie no" FROM table_45781 WHERE "Date" = '9 january 1956'
[ 13828, 36286, 1271, 373, 2826, 319, 860, 3269, 25190, 30, 46506, 366, 51, 494, 645, 1, 16034, 3084, 62, 2231, 49703, 33411, 366, 10430, 1, 796, 705, 24, 42897, 2838, 25190, 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, 36286, 1271, 373, 2826, 319, 860, 3269, 25190, 30, 46506, 366, 51, 494, 645, 1, 16034, 3084, 62, 2231, 49703, 33411, 366, 10430, 1, 796, 705, 24, 42897, 2838, 25190, 6 ]
What is the weight(lbs) when born is april 6, 1954 detroit, mi?
SELECT "Weight(lbs)" FROM table_400 WHERE "Born" = 'April 6, 1954 Detroit, MI'
[ 2061, 318, 262, 3463, 7, 32133, 8, 618, 4642, 318, 46593, 346, 718, 11, 24718, 1062, 7775, 11, 21504, 30, 46506, 366, 25844, 7, 32133, 16725, 16034, 3084, 62, 7029, 33411, 366, 28524, 1, 796, 705, 16784, 718, 11, 24718, 8488, 11, 15789, 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 ]
[ 2061, 318, 262, 3463, 7, 32133, 8, 618, 4642, 318, 46593, 346, 718, 11, 24718, 1062, 7775, 11, 21504, 30, 46506, 366, 25844, 7, 32133, 16725, 16034, 3084, 62, 7029, 33411, 366, 28524, 1, 796, 705, 16784, 718, 11, 24718, 8488, 11, 15789, 6 ]
On what day was the record 30-31?
SELECT date FROM table_name_88 WHERE record = "30-31"
[ 2202, 644, 1110, 373, 262, 1700, 1542, 12, 3132, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 3459, 33411, 1700, 796, 366, 1270, 12, 3132, 1 ]
[ 1, 1, 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, 1110, 373, 262, 1700, 1542, 12, 3132, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 3459, 33411, 1700, 796, 366, 1270, 12, 3132, 1 ]
What was the option from Italy with general television content, and the Cielo television service?
SELECT "Package/Option" FROM table_42860 WHERE "Country" = 'italy' AND "Content" = 'general television' AND "Television service" = 'cielo'
[ 2061, 373, 262, 3038, 422, 8031, 351, 2276, 5581, 2695, 11, 290, 262, 327, 8207, 78, 5581, 2139, 30, 46506, 366, 27813, 14, 19722, 1, 16034, 3084, 62, 40173, 1899, 33411, 366, 33921, 1, 796, 705, 1287, 88, 6, 5357, 366, 19746, 1, 796, 705, 24622, 5581, 6, 5357, 366, 6767, 5024, 2139, 1, 796, 705, 979, 22126, 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 ]
[ 2061, 373, 262, 3038, 422, 8031, 351, 2276, 5581, 2695, 11, 290, 262, 327, 8207, 78, 5581, 2139, 30, 46506, 366, 27813, 14, 19722, 1, 16034, 3084, 62, 40173, 1899, 33411, 366, 33921, 1, 796, 705, 1287, 88, 6, 5357, 366, 19746, 1, 796, 705, 24622, 5581, 6, 5357, 366, 6767, 5024, 2139, 1, 796, 705, 979, 22126, 6 ]
What are the distinct visit dates, and count them by a bar chart, list in descending by the y-axis.
SELECT Visit_Date, COUNT(Visit_Date) FROM Visits ORDER BY COUNT(Visit_Date) DESC
[ 2061, 389, 262, 7310, 3187, 9667, 11, 290, 954, 606, 416, 257, 2318, 8262, 11, 1351, 287, 31491, 416, 262, 331, 12, 22704, 13, 46506, 16440, 62, 10430, 11, 327, 28270, 7, 31141, 62, 10430, 8, 16034, 6911, 896, 38678, 11050, 327, 28270, 7, 31141, 62, 10430, 8, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 262, 7310, 3187, 9667, 11, 290, 954, 606, 416, 257, 2318, 8262, 11, 1351, 287, 31491, 416, 262, 331, 12, 22704, 13, 46506, 16440, 62, 10430, 11, 327, 28270, 7, 31141, 62, 10430, 8, 16034, 6911, 896, 38678, 11050, 327, 28270, 7, 31141, 62, 10430, 8, 22196, 34 ]
since 5 years ago what was the last id of the ward of patient 2498?
SELECT transfers.wardid FROM transfers WHERE transfers.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 2498) AND NOT transfers.wardid IS NULL AND DATETIME(transfers.intime) >= DATETIME(CURRENT_TIME(), '-5 year') ORDER BY transfers.intime DESC LIMIT 1
[ 20777, 642, 812, 2084, 644, 373, 262, 938, 4686, 286, 262, 15305, 286, 5827, 1987, 4089, 30, 46506, 16395, 13, 904, 312, 16034, 16395, 33411, 16395, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 1987, 4089, 8, 5357, 5626, 16395, 13, 904, 312, 3180, 15697, 5357, 360, 1404, 2767, 12789, 7, 7645, 69, 364, 13, 600, 524, 8, 18189, 360, 1404, 2767, 12789, 7, 34, 39237, 62, 34694, 22784, 705, 12, 20, 614, 11537, 38678, 11050, 16395, 13, 600, 524, 22196, 34, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 642, 812, 2084, 644, 373, 262, 938, 4686, 286, 262, 15305, 286, 5827, 1987, 4089, 30, 46506, 16395, 13, 904, 312, 16034, 16395, 33411, 16395, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 1987, 4089, 8, 5357, 5626, 16395, 13, 904, 312, 3180, 15697, 5357, 360, 1404, 2767, 12789, 7, 7645, 69, 364, 13, 600, 524, 8, 18189, 360, 1404, 2767, 12789, 7, 34, 39237, 62, 34694, 22784, 705, 12, 20, 614, 11537, 38678, 11050, 16395, 13, 600, 524, 22196, 34, 27564, 2043, 352 ]
how many patients whose admission year is less than 2157 and diagnoses icd9 code is 82022?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admityear < "2157" AND diagnoses.icd9_code = "82022"
[ 4919, 867, 3871, 3025, 13938, 614, 318, 1342, 621, 362, 18458, 290, 40567, 14158, 67, 24, 2438, 318, 48964, 1828, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312, 796, 40567, 13, 18108, 76, 62, 312, 33411, 16728, 13, 324, 76, 414, 451, 1279, 366, 17, 18458, 1, 5357, 40567, 13, 291, 67, 24, 62, 8189, 796, 366, 41739, 1828, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 614, 318, 1342, 621, 362, 18458, 290, 40567, 14158, 67, 24, 2438, 318, 48964, 1828, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312, 796, 40567, 13, 18108, 76, 62, 312, 33411, 16728, 13, 324, 76, 414, 451, 1279, 366, 17, 18458, 1, 5357, 40567, 13, 291, 67, 24, 62, 8189, 796, 366, 41739, 1828, 1 ]
Tell me the average final rank for loe more than 10 and point less than 43
SELECT AVG("Final rank") FROM table_78171 WHERE "Lose" > '10' AND "Point" < '43'
[ 24446, 502, 262, 2811, 2457, 4279, 329, 2376, 68, 517, 621, 838, 290, 966, 1342, 621, 5946, 46506, 35224, 7203, 19006, 4279, 4943, 16034, 3084, 62, 3695, 27192, 33411, 366, 43, 577, 1, 1875, 705, 940, 6, 5357, 366, 12727, 1, 1279, 705, 3559, 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 ]
[ 24446, 502, 262, 2811, 2457, 4279, 329, 2376, 68, 517, 621, 838, 290, 966, 1342, 621, 5946, 46506, 35224, 7203, 19006, 4279, 4943, 16034, 3084, 62, 3695, 27192, 33411, 366, 43, 577, 1, 1875, 705, 940, 6, 5357, 366, 12727, 1, 1279, 705, 3559, 6 ]
What airport is in Toronto?
SELECT airport FROM table_name_87 WHERE city = "toronto"
[ 2061, 9003, 318, 287, 6586, 30, 46506, 9003, 16034, 3084, 62, 3672, 62, 5774, 33411, 1748, 796, 366, 13165, 5957, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 9003, 318, 287, 6586, 30, 46506, 9003, 16034, 3084, 62, 3672, 62, 5774, 33411, 1748, 796, 366, 13165, 5957, 1 ]
Which Time has a Round larger than 2, and an Opponent of jesse brock?
SELECT time FROM table_name_96 WHERE round > 2 AND opponent = "jesse brock"
[ 13828, 3862, 468, 257, 10485, 4025, 621, 362, 11, 290, 281, 9385, 3471, 286, 474, 35270, 1379, 694, 30, 46506, 640, 16034, 3084, 62, 3672, 62, 4846, 33411, 2835, 1875, 362, 5357, 6125, 796, 366, 73, 35270, 1379, 694, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3862, 468, 257, 10485, 4025, 621, 362, 11, 290, 281, 9385, 3471, 286, 474, 35270, 1379, 694, 30, 46506, 640, 16034, 3084, 62, 3672, 62, 4846, 33411, 2835, 1875, 362, 5357, 6125, 796, 366, 73, 35270, 1379, 694, 1 ]
did patient 83038 received any diagnoses in 2105?
SELECT COUNT(*) > 0 FROM diagnoses_icd WHERE diagnoses_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 83038) AND STRFTIME('%y', diagnoses_icd.charttime) = '2105'
[ 20839, 5827, 807, 1270, 2548, 2722, 597, 40567, 287, 362, 13348, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 40567, 62, 291, 67, 33411, 40567, 62, 291, 67, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 807, 1270, 2548, 8, 5357, 19269, 9792, 12789, 10786, 4, 88, 3256, 40567, 62, 291, 67, 13, 40926, 2435, 8, 796, 705, 17, 13348, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 20839, 5827, 807, 1270, 2548, 2722, 597, 40567, 287, 362, 13348, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 40567, 62, 291, 67, 33411, 40567, 62, 291, 67, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 807, 1270, 2548, 8, 5357, 19269, 9792, 12789, 10786, 4, 88, 3256, 40567, 62, 291, 67, 13, 40926, 2435, 8, 796, 705, 17, 13348, 6 ]
When 21' 05.83 107.304mph is Wednesday August 25th what is Friday August 27th?
SELECT fri_27_aug FROM table_26986076_5 WHERE wed_25_aug = "21' 05.83 107.304mph"
[ 2215, 2310, 6, 8870, 13, 5999, 16226, 13, 21288, 23335, 318, 3583, 2932, 1679, 400, 644, 318, 3217, 2932, 2681, 400, 30, 46506, 32803, 62, 1983, 62, 7493, 16034, 3084, 62, 2075, 4089, 1899, 4304, 62, 20, 33411, 29445, 62, 1495, 62, 7493, 796, 366, 2481, 6, 8870, 13, 5999, 16226, 13, 21288, 23335, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2310, 6, 8870, 13, 5999, 16226, 13, 21288, 23335, 318, 3583, 2932, 1679, 400, 644, 318, 3217, 2932, 2681, 400, 30, 46506, 32803, 62, 1983, 62, 7493, 16034, 3084, 62, 2075, 4089, 1899, 4304, 62, 20, 33411, 29445, 62, 1495, 62, 7493, 796, 366, 2481, 6, 8870, 13, 5999, 16226, 13, 21288, 23335, 1 ]
My answers: Votes and question viewcount.
SELECT a.Id AS "post_link", a.Score AS AnswerScore, q.ViewCount FROM Posts AS a JOIN Posts AS q ON a.ParentId = q.Id WHERE a.OwnerUserId = @UserId ORDER BY a.Score DESC, q.ViewCount DESC
[ 3666, 7429, 25, 39584, 290, 1808, 1570, 9127, 13, 46506, 257, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 257, 13, 26595, 7054, 23998, 26595, 11, 10662, 13, 7680, 12332, 16034, 12043, 7054, 257, 32357, 1268, 12043, 7054, 10662, 6177, 257, 13, 24546, 7390, 796, 10662, 13, 7390, 33411, 257, 13, 42419, 12982, 7390, 796, 2488, 12982, 7390, 38678, 11050, 257, 13, 26595, 22196, 34, 11, 10662, 13, 7680, 12332, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 3666, 7429, 25, 39584, 290, 1808, 1570, 9127, 13, 46506, 257, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 257, 13, 26595, 7054, 23998, 26595, 11, 10662, 13, 7680, 12332, 16034, 12043, 7054, 257, 32357, 1268, 12043, 7054, 10662, 6177, 257, 13, 24546, 7390, 796, 10662, 13, 7390, 33411, 257, 13, 42419, 12982, 7390, 796, 2488, 12982, 7390, 38678, 11050, 257, 13, 26595, 22196, 34, 11, 10662, 13, 7680, 12332, 22196, 34 ]
what was the first medication that patient 016-34108 was prescribed on their last hospital encounter?
SELECT medication.drugname FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '016-34108' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospitaladmittime DESC LIMIT 1)) ORDER BY medication.drugstarttime LIMIT 1
[ 10919, 373, 262, 717, 14103, 326, 5827, 5534, 21, 12, 2682, 15711, 373, 14798, 319, 511, 938, 4436, 8791, 30, 46506, 14103, 13, 30349, 3672, 16034, 14103, 33411, 14103, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 27037, 12, 2682, 15711, 6, 5357, 5626, 5827, 13, 49257, 6381, 354, 7641, 524, 3180, 15697, 38678, 11050, 5827, 13, 49257, 324, 20124, 524, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 373, 262, 717, 14103, 326, 5827, 5534, 21, 12, 2682, 15711, 373, 14798, 319, 511, 938, 4436, 8791, 30, 46506, 14103, 13, 30349, 3672, 16034, 14103, 33411, 14103, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 27037, 12, 2682, 15711, 6, 5357, 5626, 5827, 13, 49257, 6381, 354, 7641, 524, 3180, 15697, 38678, 11050, 5827, 13, 49257, 324, 20124, 524, 22196, 34 ]
did patient 64292 ever underwent any oth intraop mag res imag procedure since 2104?
SELECT COUNT(*) > 0 FROM procedures_icd WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'oth intraop mag res imag') AND procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 64292) AND STRFTIME('%y', procedures_icd.charttime) >= '2104'
[ 20839, 5827, 5598, 32759, 1683, 25289, 597, 267, 400, 23422, 404, 2153, 581, 3590, 8771, 1201, 362, 13464, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 9021, 62, 291, 67, 33411, 9021, 62, 291, 67, 13, 291, 67, 24, 62, 8189, 796, 357, 46506, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 291, 67, 24, 62, 8189, 16034, 288, 62, 291, 67, 62, 1676, 771, 942, 33411, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 19509, 62, 7839, 796, 705, 849, 23422, 404, 2153, 581, 3590, 11537, 5357, 9021, 62, 291, 67, 13, 18108, 76, 62, 312 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5598, 32759, 1683, 25289, 597, 267, 400, 23422, 404, 2153, 581, 3590, 8771, 1201, 362, 13464, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 9021, 62, 291, 67, 33411, 9021, 62, 291, 67, 13, 291, 67, 24, 62, 8189, 796, 357, 46506, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 291, 67, 24, 62, 8189, 16034, 288, 62, 291, 67, 62, 1676, 771, 942, 33411, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 19509, 62, 7839, 796, 705, 849, 23422, 404, 2153, 581, 3590, 11537, 5357, 9021, 62, 291, 67, 13, 18108, 76, 62, 312 ]
What is the D 44 when the D 46 is r 26?
SELECT d_44_√ FROM table_name_32 WHERE d_46_√ = "r 26"
[ 2061, 318, 262, 360, 5846, 618, 262, 360, 6337, 318, 374, 2608, 30, 46506, 288, 62, 2598, 62, 24861, 248, 16034, 3084, 62, 3672, 62, 2624, 33411, 288, 62, 3510, 62, 24861, 248, 796, 366, 81, 2608, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 360, 5846, 618, 262, 360, 6337, 318, 374, 2608, 30, 46506, 288, 62, 2598, 62, 24861, 248, 16034, 3084, 62, 3672, 62, 2624, 33411, 288, 62, 3510, 62, 24861, 248, 796, 366, 81, 2608, 1 ]
what is the earliest flight from WASHINGTON to SAN FRANCISCO
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 = 'WASHINGTON' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SAN FRANCISCO' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code AND flight.to_airport = AIRPORT_SERVICE_1.airport_code) AND flight.departure_time = (SELECT MIN(FLIGHTalias1.departure_time) FROM airport_service AS AIRPORT_SERVICEalias2, airport_service AS AIRPORT_SERVICEalias3, city AS CITYalias2, city AS CITYalias3, flight AS FLIGHTalias1 WHERE CITYalias2.city_code = AIRPORT_SERVICEalias2.city_code AND CITYalias2.city_name = 'WASHINGTON' AND CITYalias3.city_code = AIRPORT_SERVICEalias3.city_code AND CITYalias3.city_name = 'SAN FRANCISCO' AND FLIGHTalias1.from_airport = AIRPORT_SERVICEalias2.airport_code AND FLIGHTalias1.to_airport = AIRPORT_SERVICEalias3.airport_code)
[ 10919, 318, 262, 14555, 5474, 422, 370, 19436, 284, 37376, 8782, 20940, 37719, 14058, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 16, 11, 1748, 7054, 27993, 62, 15, 11, 1748, 7054, 27993, 62, 16, 11, 5474, 33411, 357, 34, 9050, 62, 15, 13, 19205, 62, 8189, 796, 31600, 15490, 62, 35009, 27389, 62, 15, 13, 19205, 62, 8189, 5357, 27993, 62, 15, 13, 19205, 62, 3672, 796, 705, 21793, 6, 5357, 27993, 62, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14555, 5474, 422, 370, 19436, 284, 37376, 8782, 20940, 37719, 14058, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 16, 11, 1748, 7054, 27993, 62, 15, 11, 1748, 7054, 27993, 62, 16, 11, 5474, 33411, 357, 34, 9050, 62, 15, 13, 19205, 62, 8189, 796, 31600, 15490, 62, 35009, 27389, 62, 15, 13, 19205, 62, 8189, 5357, 27993, 62, 15, 13, 19205, 62, 3672, 796, 705, 21793, 6, 5357, 27993, 62, 16 ]
Which gold has a Bronze of 1, a Rank of 47, and a Nation of spain?
SELECT "Gold" FROM table_70668 WHERE "Bronze" = '1' AND "Rank" = '47' AND "Nation" = 'spain'
[ 13828, 3869, 468, 257, 19461, 286, 352, 11, 257, 10916, 286, 6298, 11, 290, 257, 8741, 286, 599, 391, 30, 46506, 366, 13306, 1, 16034, 3084, 62, 2154, 35809, 33411, 366, 18760, 2736, 1, 796, 705, 16, 6, 5357, 366, 27520, 1, 796, 705, 2857, 6, 5357, 366, 46108, 1, 796, 705, 2777, 391, 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 ]
[ 13828, 3869, 468, 257, 19461, 286, 352, 11, 257, 10916, 286, 6298, 11, 290, 257, 8741, 286, 599, 391, 30, 46506, 366, 13306, 1, 16034, 3084, 62, 2154, 35809, 33411, 366, 18760, 2736, 1, 796, 705, 16, 6, 5357, 366, 27520, 1, 796, 705, 2857, 6, 5357, 366, 46108, 1, 796, 705, 2777, 391, 6 ]
how many teams had less than 10 wins ?
SELECT COUNT("club") FROM table_203_145 WHERE "wins" < 10
[ 4919, 867, 3466, 550, 1342, 621, 838, 7864, 5633, 46506, 327, 28270, 7203, 18664, 4943, 16034, 3084, 62, 22416, 62, 18781, 33411, 366, 86, 1040, 1, 1279, 838 ]
[ 1, 1, 1, 1, 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, 3466, 550, 1342, 621, 838, 7864, 5633, 46506, 327, 28270, 7203, 18664, 4943, 16034, 3084, 62, 22416, 62, 18781, 33411, 366, 86, 1040, 1, 1279, 838 ]
how many picks were between jesse joensuu and kim johansson ?
SELECT ABS((SELECT id FROM table_204_140 WHERE "player" = 'jesse joensuu') - (SELECT id FROM table_204_140 WHERE "player" = 'kim johansson')) - 1
[ 4919, 867, 11103, 547, 1022, 474, 35270, 2525, 641, 12303, 290, 479, 320, 474, 1219, 44038, 5633, 46506, 29950, 19510, 46506, 4686, 16034, 3084, 62, 18638, 62, 15187, 33411, 366, 7829, 1, 796, 705, 73, 35270, 2525, 641, 12303, 11537, 532, 357, 46506, 4686, 16034, 3084, 62, 18638, 62, 15187, 33411, 366, 7829, 1, 796, 705, 74, 320, 474, 1219, 44038, 6, 4008, 532, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 11103, 547, 1022, 474, 35270, 2525, 641, 12303, 290, 479, 320, 474, 1219, 44038, 5633, 46506, 29950, 19510, 46506, 4686, 16034, 3084, 62, 18638, 62, 15187, 33411, 366, 7829, 1, 796, 705, 73, 35270, 2525, 641, 12303, 11537, 532, 357, 46506, 4686, 16034, 3084, 62, 18638, 62, 15187, 33411, 366, 7829, 1, 796, 705, 74, 320, 474, 1219, 44038, 6, 4008, 532, 352 ]
what is discharge location and discharge time of subject id 22999?
SELECT demographic.discharge_location, demographic.dischtime FROM demographic WHERE demographic.subject_id = "22999"
[ 10919, 318, 17655, 4067, 290, 17655, 640, 286, 2426, 4686, 31064, 2079, 30, 46506, 16728, 13, 6381, 10136, 62, 24886, 11, 16728, 13, 6381, 354, 2435, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 1828, 17032, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17655, 4067, 290, 17655, 640, 286, 2426, 4686, 31064, 2079, 30, 46506, 16728, 13, 6381, 10136, 62, 24886, 11, 16728, 13, 6381, 354, 2435, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 1828, 17032, 1 ]
is morris s. arnold above or below maryanne trump barry in in the list ?
SELECT (SELECT id FROM table_203_572 WHERE "judge" = 'morris s. arnold') < (SELECT id FROM table_203_572 WHERE "judge" = 'maryanne trump barry')
[ 271, 2146, 2442, 264, 13, 610, 77, 727, 2029, 393, 2174, 285, 560, 21952, 19997, 2318, 563, 287, 287, 262, 1351, 5633, 46506, 357, 46506, 4686, 16034, 3084, 62, 22416, 62, 48724, 33411, 366, 10456, 469, 1, 796, 705, 4491, 2442, 264, 13, 610, 77, 727, 11537, 1279, 357, 46506, 4686, 16034, 3084, 62, 22416, 62, 48724, 33411, 366, 10456, 469, 1, 796, 705, 6874, 21952, 19997, 2318, 563, 11537 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 271, 2146, 2442, 264, 13, 610, 77, 727, 2029, 393, 2174, 285, 560, 21952, 19997, 2318, 563, 287, 287, 262, 1351, 5633, 46506, 357, 46506, 4686, 16034, 3084, 62, 22416, 62, 48724, 33411, 366, 10456, 469, 1, 796, 705, 4491, 2442, 264, 13, 610, 77, 727, 11537, 1279, 357, 46506, 4686, 16034, 3084, 62, 22416, 62, 48724, 33411, 366, 10456, 469, 1, 796, 705, 6874, 21952, 19997, 2318, 563, 11537 ]
What is the total of the jury that is 2nd place and the total is larger than 190?
SELECT SUM(jury) FROM table_name_86 WHERE place = "2nd" AND total > 190
[ 2061, 318, 262, 2472, 286, 262, 9002, 326, 318, 362, 358, 1295, 290, 262, 2472, 318, 4025, 621, 19884, 30, 46506, 35683, 7, 21871, 8, 16034, 3084, 62, 3672, 62, 4521, 33411, 1295, 796, 366, 17, 358, 1, 5357, 2472, 1875, 19884 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 262, 9002, 326, 318, 362, 358, 1295, 290, 262, 2472, 318, 4025, 621, 19884, 30, 46506, 35683, 7, 21871, 8, 16034, 3084, 62, 3672, 62, 4521, 33411, 1295, 796, 366, 17, 358, 1, 5357, 2472, 1875, 19884 ]
What is 2005's budget figure?
SELECT "Budget" FROM table_5954 WHERE "Year" = '2005'
[ 2061, 318, 5075, 338, 4466, 3785, 30, 46506, 366, 33, 29427, 1, 16034, 3084, 62, 3270, 4051, 33411, 366, 17688, 1, 796, 705, 14315, 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, 318, 5075, 338, 4466, 3785, 30, 46506, 366, 33, 29427, 1, 16034, 3084, 62, 3270, 4051, 33411, 366, 17688, 1, 796, 705, 14315, 6 ]
How many regions do we have?
SELECT COUNT(*) FROM region
[ 2437, 867, 7652, 466, 356, 423, 30, 46506, 327, 28270, 7, 28104, 16034, 3814 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 7652, 466, 356, 423, 30, 46506, 327, 28270, 7, 28104, 16034, 3814 ]
Which player had a score of 71-73-68-75=287?
SELECT "Player" FROM table_61093 WHERE "Score" = '71-73-68-75=287'
[ 13828, 2137, 550, 257, 4776, 286, 9166, 12, 4790, 12, 3104, 12, 2425, 28, 27800, 30, 46506, 366, 14140, 1, 16034, 3084, 62, 39132, 6052, 33411, 366, 26595, 1, 796, 705, 4869, 12, 4790, 12, 3104, 12, 2425, 28, 27800, 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 ]
[ 13828, 2137, 550, 257, 4776, 286, 9166, 12, 4790, 12, 3104, 12, 2425, 28, 27800, 30, 46506, 366, 14140, 1, 16034, 3084, 62, 39132, 6052, 33411, 366, 26595, 1, 796, 705, 4869, 12, 4790, 12, 3104, 12, 2425, 28, 27800, 6 ]
What is the grid total associated with a Time/Retired of +33.634, and a Laps smaller than 19?
SELECT MIN("Grid") FROM table_71709 WHERE "Time/Retired" = '+33.634' AND "Laps" < '19'
[ 2061, 318, 262, 10706, 2472, 3917, 351, 257, 3862, 14, 9781, 1202, 286, 1343, 2091, 13, 21, 2682, 11, 290, 257, 406, 1686, 4833, 621, 678, 30, 46506, 20625, 7203, 41339, 4943, 16034, 3084, 62, 22, 1558, 2931, 33411, 366, 7575, 14, 9781, 1202, 1, 796, 705, 10, 2091, 13, 21, 2682, 6, 5357, 366, 43, 1686, 1, 1279, 705, 1129, 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 ]
[ 2061, 318, 262, 10706, 2472, 3917, 351, 257, 3862, 14, 9781, 1202, 286, 1343, 2091, 13, 21, 2682, 11, 290, 257, 406, 1686, 4833, 621, 678, 30, 46506, 20625, 7203, 41339, 4943, 16034, 3084, 62, 22, 1558, 2931, 33411, 366, 7575, 14, 9781, 1202, 1, 796, 705, 10, 2091, 13, 21, 2682, 6, 5357, 366, 43, 1686, 1, 1279, 705, 1129, 6 ]
Show the number of companies each investor has invested with a bar chart, I want to order by the total number in asc.
SELECT Investor, COUNT(Investor) FROM entrepreneur GROUP BY Investor ORDER BY COUNT(Investor)
[ 15307, 262, 1271, 286, 2706, 1123, 15811, 468, 13356, 351, 257, 2318, 8262, 11, 314, 765, 284, 1502, 416, 262, 2472, 1271, 287, 10570, 13, 46506, 47979, 11, 327, 28270, 7, 19070, 273, 8, 16034, 19500, 44441, 11050, 47979, 38678, 11050, 327, 28270, 7, 19070, 273, 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 ]
[ 15307, 262, 1271, 286, 2706, 1123, 15811, 468, 13356, 351, 257, 2318, 8262, 11, 314, 765, 284, 1502, 416, 262, 2472, 1271, 287, 10570, 13, 46506, 47979, 11, 327, 28270, 7, 19070, 273, 8, 16034, 19500, 44441, 11050, 47979, 38678, 11050, 327, 28270, 7, 19070, 273, 8 ]
You can return a bar chart to show the employees' first name and the corresponding department's id.
SELECT FIRST_NAME, DEPARTMENT_ID FROM employees
[ 1639, 460, 1441, 257, 2318, 8262, 284, 905, 262, 4409, 6, 717, 1438, 290, 262, 11188, 5011, 338, 4686, 13, 46506, 31328, 62, 20608, 11, 5550, 30709, 10979, 62, 2389, 16034, 4409 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1639, 460, 1441, 257, 2318, 8262, 284, 905, 262, 4409, 6, 717, 1438, 290, 262, 11188, 5011, 338, 4686, 13, 46506, 31328, 62, 20608, 11, 5550, 30709, 10979, 62, 2389, 16034, 4409 ]
All code history for a PostId.
SELECT Id, Text FROM PostHistory WHERE PostId = 111102
[ 3237, 2438, 2106, 329, 257, 2947, 7390, 13, 46506, 5121, 11, 8255, 16034, 2947, 18122, 33411, 2947, 7390, 796, 13374, 15377 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 3237, 2438, 2106, 329, 257, 2947, 7390, 13, 46506, 5121, 11, 8255, 16034, 2947, 18122, 33411, 2947, 7390, 796, 13374, 15377 ]
list the top three most common medications that patients were prescribed with within 2 months after being prescribed megestrol acetate until 2104.
SELECT t3.drug FROM (SELECT t2.drug, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, prescriptions.startdate FROM prescriptions JOIN admissions ON prescriptions.hadm_id = admissions.hadm_id WHERE prescriptions.drug = 'megestrol acetate' AND STRFTIME('%y', prescriptions.startdate) <= '2104') AS t1 JOIN (SELECT admissions.subject_id, prescriptions.drug, prescriptions.startdate FROM prescriptions JOIN admissions ON prescriptions.hadm_id = admissions.hadm_id WHERE STRFTIME('%y', prescriptions.startdate) <= '2104') AS t2 ON t1.subject_id = t2.subject_id WHERE t1.startdate < t2.startdate AND DATETIME(t2.startdate) BETWEEN DATETIME(t1.startdate) AND DATETIME(t1.startdate, '+2 month') GROUP BY t2.drug) AS t3 WHERE t3.c1 <= 3
[ 4868, 262, 1353, 1115, 749, 2219, 17638, 326, 3871, 547, 14798, 351, 1626, 362, 1933, 706, 852, 14798, 502, 3495, 3225, 25174, 378, 1566, 362, 13464, 13, 46506, 256, 18, 13, 30349, 16034, 357, 46506, 256, 17, 13, 30349, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, 7, 28104, 22196, 34, 8, 7054, 269, 16, 16034, 357, 46506, 25349, 13, 32796, 62, 312, 11, 34092, 13, 9688, 4475, 16034, 34092, 32357, 1268, 25349, 6177, 34092, 13, 18108, 76, 62, 312, 796, 25349, 13, 18108, 76, 62, 312, 33411, 34092, 13, 30349, 796, 705, 1326 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4868, 262, 1353, 1115, 749, 2219, 17638, 326, 3871, 547, 14798, 351, 1626, 362, 1933, 706, 852, 14798, 502, 3495, 3225, 25174, 378, 1566, 362, 13464, 13, 46506, 256, 18, 13, 30349, 16034, 357, 46506, 256, 17, 13, 30349, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, 7, 28104, 22196, 34, 8, 7054, 269, 16, 16034, 357, 46506, 25349, 13, 32796, 62, 312, 11, 34092, 13, 9688, 4475, 16034, 34092, 32357, 1268, 25349, 6177, 34092, 13, 18108, 76, 62, 312, 796, 25349, 13, 18108, 76, 62, 312, 33411, 34092, 13, 30349, 796, 705, 1326 ]