instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
tell me the length of stay of patient 19352's first intensive care unit stay.
SELECT STRFTIME('%j', icustays.outtime) - STRFTIME('%j', icustays.intime) FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 19352) AND NOT icustays.outtime IS NULL ORDER BY icustays.intime LIMIT 1
[ 33331, 502, 262, 4129, 286, 2652, 286, 5827, 30704, 17, 338, 717, 18590, 1337, 4326, 2652, 13, 46506, 19269, 9792, 12789, 10786, 4, 73, 3256, 14158, 436, 592, 13, 448, 2435, 8, 532, 19269, 9792, 12789, 10786, 4, 73, 3256, 14158, 436, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4129, 286, 2652, 286, 5827, 30704, 17, 338, 717, 18590, 1337, 4326, 2652, 13, 46506, 19269, 9792, 12789, 10786, 4, 73, 3256, 14158, 436, 592, 13, 448, 2435, 8, 532, 19269, 9792, 12789, 10786, 4, 73, 3256, 14158, 436, ...
how many patients of black /african american ethnicity had elective type of admission ?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_type = "ELECTIVE" AND demographic.ethnicity = "BLACK/AFRICAN AMERICAN"
[ 4919, 867, 3871, 286, 2042, 1220, 1878, 37189, 45630, 272, 26289, 550, 1742, 425, 2099, 286, 13938, 5633, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, 4906, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 3871, 286, 2042, 1220, 1878, 37189, 45630, 272, 26289, 550, 1742, 425, 2099, 286, 13938, 5633, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, 4906, 7...
how many patients whose admission year is less than 2157 and procedure long title is open reduction of fracture with internal fixation, femur?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admityear < "2157" AND procedures.long_title = "Open reduction of fracture with internal fixation, femur"
[ 4919, 867, 3871, 3025, 13938, 614, 318, 1342, 621, 362, 18458, 290, 8771, 890, 3670, 318, 1280, 7741, 286, 31846, 351, 5387, 48785, 11, 2796, 333, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 3871, 3025, 13938, 614, 318, 1342, 621, 362, 18458, 290, 8771, 890, 3670, 318, 1280, 7741, 286, 31846, 351, 5387, 48785, 11, 2796, 333, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, ...
Name the maximum founded for blue hose
SELECT MAX(founded) FROM table_16168849_1 WHERE nickname = "Blue Hose"
[ 5376, 262, 5415, 9393, 329, 4171, 31489, 46506, 25882, 7, 27060, 8, 16034, 3084, 62, 1433, 1433, 3459, 2920, 62, 16, 33411, 21814, 796, 366, 14573, 367, 577, 1 ]
[ 1, 1, 1, 1, 1, 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, 5415, 9393, 329, 4171, 31489, 46506, 25882, 7, 27060, 8, 16034, 3084, 62, 1433, 1433, 3459, 2920, 62, 16, 33411, 21814, 796, 366, 14573, 367, 577, 1 ]
What is Record, when Location Attendance is 'Pepsi Center 19,749'?
SELECT record FROM table_name_97 WHERE location_attendance = "pepsi center 19,749"
[ 2061, 318, 13266, 11, 618, 13397, 46502, 590, 318, 705, 47, 538, 13396, 3337, 678, 11, 22, 2920, 30960, 46506, 1700, 16034, 3084, 62, 3672, 62, 5607, 33411, 4067, 62, 1078, 437, 590, 796, 366, 431, 862, 72, 3641, 678, 11, 22, 2920, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 13266, 11, 618, 13397, 46502, 590, 318, 705, 47, 538, 13396, 3337, 678, 11, 22, 2920, 30960, 46506, 1700, 16034, 3084, 62, 3672, 62, 5607, 33411, 4067, 62, 1078, 437, 590, 796, 366, 431, 862, 72, 3641, 678, 11, 22, 2920, ...
What is the least number of wins West Ham got when they tied 27 times?
SELECT MIN(west_ham_wins) FROM table_name_54 WHERE drawn > 27
[ 2061, 318, 262, 1551, 1271, 286, 7864, 2688, 4345, 1392, 618, 484, 8165, 2681, 1661, 30, 46506, 20625, 7, 7038, 62, 2763, 62, 86, 1040, 8, 16034, 3084, 62, 3672, 62, 4051, 33411, 7428, 1875, 2681 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1551, 1271, 286, 7864, 2688, 4345, 1392, 618, 484, 8165, 2681, 1661, 30, 46506, 20625, 7, 7038, 62, 2763, 62, 86, 1040, 8, 16034, 3084, 62, 3672, 62, 4051, 33411, 7428, 1875, 2681 ]
On what date was the game in Week 9 played?
SELECT "Date" FROM table_5424 WHERE "Week" = '9'
[ 2202, 644, 3128, 373, 262, 983, 287, 6119, 860, 2826, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 4051, 1731, 33411, 366, 20916, 1, 796, 705, 24, 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 ]
[ 2202, 644, 3128, 373, 262, 983, 287, 6119, 860, 2826, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 4051, 1731, 33411, 366, 20916, 1, 796, 705, 24, 6 ]
how many times do patient 55729 visit the hospital until 2103?
SELECT COUNT(DISTINCT admissions.hadm_id) FROM admissions WHERE admissions.subject_id = 55729 AND STRFTIME('%y', admissions.admittime) <= '2103'
[ 4919, 867, 1661, 466, 5827, 642, 3553, 1959, 3187, 262, 4436, 1566, 362, 15197, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 25349, 13, 18108, 76, 62, 312, 8, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 642, 3553, 1959, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 1661, 466, 5827, 642, 3553, 1959, 3187, 262, 4436, 1566, 362, 15197, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 25349, 13, 18108, 76, 62, 312, 8, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 642, 3553, 1959, ...
Which week has Game site of Candlestick Park?
SELECT "Week" FROM table_11802 WHERE "Game site" = 'candlestick park'
[ 13828, 1285, 468, 3776, 2524, 286, 15518, 32712, 624, 3250, 30, 46506, 366, 20916, 1, 16034, 3084, 62, 1157, 30863, 33411, 366, 8777, 2524, 1, 796, 705, 46188, 32712, 624, 3952, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 1285, 468, 3776, 2524, 286, 15518, 32712, 624, 3250, 30, 46506, 366, 20916, 1, 16034, 3084, 62, 1157, 30863, 33411, 366, 8777, 2524, 1, 796, 705, 46188, 32712, 624, 3952, 6 ]
What is the number of courses that are taught by 3 or more professors ?
SELECT COUNT(DISTINCT course_offering.course_id) FROM course, course_offering, offering_instructor AS OFFERING_INSTRUCTOR_0, offering_instructor AS OFFERING_INSTRUCTOR_1, offering_instructor AS OFFERING_INSTRUCTOR_2 WHERE course.course_id = course_offering.course_id AND course.department = 'EECS' AND OFFERING_INSTRUCTO...
[ 2061, 318, 262, 1271, 286, 10902, 326, 389, 7817, 416, 513, 393, 517, 20339, 5633, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 1781, 62, 2364, 1586, 13, 17319, 62, 312, 8, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 6011, 62, 259, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 318, 262, 1271, 286, 10902, 326, 389, 7817, 416, 513, 393, 517, 20339, 5633, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 1781, 62, 2364, 1586, 13, 17319, 62, 312, 8, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 6011, 62, 259, ...
how many times , total , was the result won
SELECT COUNT(*) FROM table_204_948 WHERE "result" = 'won'
[ 4919, 867, 1661, 837, 2472, 837, 373, 262, 1255, 1839, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 18638, 62, 24, 2780, 33411, 366, 20274, 1, 796, 705, 26502, 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 ]
[ 4919, 867, 1661, 837, 2472, 837, 373, 262, 1255, 1839, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 18638, 62, 24, 2780, 33411, 366, 20274, 1, 796, 705, 26502, 6 ]
Which team is ranked 3rd in 2008?
SELECT "Team" FROM table_42455 WHERE "Rank" = '3rd' AND "Year" = '2008'
[ 13828, 1074, 318, 10307, 513, 4372, 287, 3648, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 40090, 2816, 33411, 366, 27520, 1, 796, 705, 18, 4372, 6, 5357, 366, 17688, 1, 796, 705, 11528, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 1074, 318, 10307, 513, 4372, 287, 3648, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 40090, 2816, 33411, 366, 27520, 1, 796, 705, 18, 4372, 6, 5357, 366, 17688, 1, 796, 705, 11528, 6 ]
tell me the total amount of chest tubes cticu ct 1 output for patient 20801 on 04/01/last year?
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 = 20801)) AND outputevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'che...
[ 33331, 502, 262, 2472, 2033, 286, 7721, 21103, 269, 13370, 84, 269, 83, 352, 5072, 329, 5827, 27121, 486, 319, 8702, 14, 486, 14, 12957, 614, 30, 46506, 35683, 7, 448, 79, 1133, 85, 658, 13, 8367, 8, 16034, 38701, 1133, 85, 658, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 33331, 502, 262, 2472, 2033, 286, 7721, 21103, 269, 13370, 84, 269, 83, 352, 5072, 329, 5827, 27121, 486, 319, 8702, 14, 486, 14, 12957, 614, 30, 46506, 35683, 7, 448, 79, 1133, 85, 658, 13, 8367, 8, 16034, 38701, 1133, 85, 658, 3...
What is the population density (per km) that has -6.7 as the change (%)?
SELECT "Population density (per km\u00b2)" FROM table_13795 WHERE "Change (%)" = '-6.7'
[ 2061, 318, 262, 3265, 12109, 357, 525, 10571, 8, 326, 468, 532, 21, 13, 22, 355, 262, 1487, 11509, 30, 46506, 366, 45251, 12109, 357, 525, 10571, 59, 84, 405, 65, 17, 16725, 16034, 3084, 62, 1485, 41544, 33411, 366, 19400, 11509, 1,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12109, 357, 525, 10571, 8, 326, 468, 532, 21, 13, 22, 355, 262, 1487, 11509, 30, 46506, 366, 45251, 12109, 357, 525, 10571, 59, 84, 405, 65, 17, 16725, 16034, 3084, 62, 1485, 41544, 33411, 366, 19400, 11509, 1,...
Question Single Vote Closures by User & Reason.
WITH superclosures AS (SELECT ph.Id, ph.PostId AS "post_link", u.DisplayName AS CloseUser, crt.Name AS CloseReasonType, COUNT(v.value) AS VoterCount FROM PostHistory AS ph JOIN Posts AS p ON p.Id = ph.PostId JOIN Users AS u ON u.Id = ph.UserId JOIN CloseReasonTypes AS crt ON crt.Id = ph.Comment JOIN LATERAL OPENJSON(ph...
[ 24361, 14206, 19175, 1012, 16091, 416, 11787, 1222, 23219, 13, 54, 10554, 2208, 565, 16091, 7054, 357, 46506, 872, 13, 7390, 11, 872, 13, 6307, 7390, 7054, 366, 7353, 62, 8726, 1600, 334, 13, 23114, 5376, 7054, 13872, 12982, 11, 1067, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 24361, 14206, 19175, 1012, 16091, 416, 11787, 1222, 23219, 13, 54, 10554, 2208, 565, 16091, 7054, 357, 46506, 872, 13, 7390, 11, 872, 13, 6307, 7390, 7054, 366, 7353, 62, 8726, 1600, 334, 13, 23114, 5376, 7054, 13872, 12982, 11, 1067, ...
What is the 1USD= that has the Uruguayan Peso (uyu) and 1 Euro is greater than 25.3797?
SELECT SUM("1 USD =") FROM table_71333 WHERE "Currency" = 'uruguayan peso (uyu)' AND "1 Euro =" > '25.3797'
[ 2061, 318, 262, 352, 29072, 28, 326, 468, 262, 31021, 84, 22931, 38434, 78, 357, 4669, 84, 8, 290, 352, 1898, 318, 3744, 621, 1679, 13, 2718, 5607, 30, 46506, 35683, 7203, 16, 11403, 796, 4943, 16034, 3084, 62, 50055, 2091, 33411, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 318, 262, 352, 29072, 28, 326, 468, 262, 31021, 84, 22931, 38434, 78, 357, 4669, 84, 8, 290, 352, 1898, 318, 3744, 621, 1679, 13, 2718, 5607, 30, 46506, 35683, 7203, 16, 11403, 796, 4943, 16034, 3084, 62, 50055, 2091, 33411, 3...
Which episode had 2.75 million viewers in the U.S.?
SELECT "Title" FROM table_73842 WHERE "U.S. viewers (million)" = '2.75'
[ 13828, 4471, 550, 362, 13, 2425, 1510, 10209, 287, 262, 471, 13, 50, 40791, 46506, 366, 19160, 1, 16034, 3084, 62, 22, 2548, 3682, 33411, 366, 52, 13, 50, 13, 10209, 357, 14100, 16725, 796, 705, 17, 13, 2425, 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 ]
[ 13828, 4471, 550, 362, 13, 2425, 1510, 10209, 287, 262, 471, 13, 50, 40791, 46506, 366, 19160, 1, 16034, 3084, 62, 22, 2548, 3682, 33411, 366, 52, 13, 50, 13, 10209, 357, 14100, 16725, 796, 705, 17, 13, 2425, 6 ]
Which college has a pick number of 155?
SELECT "College" FROM table_42437 WHERE "Pick #" = '155'
[ 13828, 4152, 468, 257, 2298, 1271, 286, 20708, 30, 46506, 366, 38951, 1, 16034, 3084, 62, 40090, 2718, 33411, 366, 31686, 1303, 1, 796, 705, 18742, 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 ]
[ 13828, 4152, 468, 257, 2298, 1271, 286, 20708, 30, 46506, 366, 38951, 1, 16034, 3084, 62, 40090, 2718, 33411, 366, 31686, 1303, 1, 796, 705, 18742, 6 ]
when season mvp is larger than 1.0 what is the maximum number of selection
SELECT MAX("Number Of Selections") FROM table_3467 WHERE "Season MVP" > '1.0'
[ 12518, 1622, 285, 36133, 318, 4025, 621, 352, 13, 15, 644, 318, 262, 5415, 1271, 286, 6356, 46506, 25882, 7203, 15057, 3226, 9683, 507, 4943, 16034, 3084, 62, 2682, 3134, 33411, 366, 18960, 12742, 1, 1875, 705, 16, 13, 15, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 12518, 1622, 285, 36133, 318, 4025, 621, 352, 13, 15, 644, 318, 262, 5415, 1271, 286, 6356, 46506, 25882, 7203, 15057, 3226, 9683, 507, 4943, 16034, 3084, 62, 2682, 3134, 33411, 366, 18960, 12742, 1, 1875, 705, 16, 13, 15, 6 ]
What country is the Eurasia Astana team from?
SELECT "Country" FROM table_31881 WHERE "Team" = 'eurasia astana'
[ 2061, 1499, 318, 262, 35769, 544, 8304, 2271, 1074, 422, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 36042, 6659, 33411, 366, 15592, 1, 796, 705, 68, 17786, 544, 6468, 2271, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1499, 318, 262, 35769, 544, 8304, 2271, 1074, 422, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 36042, 6659, 33411, 366, 15592, 1, 796, 705, 68, 17786, 544, 6468, 2271, 6 ]
please list the FRIDAY flights from HOUSTON to MILWAUKEE on AA in the evening
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, days, flight WHERE (((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'MILWAUKEE' AND days.day_name = 'FRIDAY' AND flight.flight_days = days.days_code A...
[ 29688, 1351, 262, 8782, 2389, 4792, 13956, 422, 29068, 41924, 284, 31515, 15543, 15039, 6500, 319, 15923, 287, 262, 6180, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 29688, 1351, 262, 8782, 2389, 4792, 13956, 422, 29068, 41924, 284, 31515, 15543, 15039, 6500, 319, 15923, 287, 262, 6180, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389...
What was the issue date for the single with a Volume:Issue of 47:8-9?
SELECT "Issue Date(s)" FROM table_35439 WHERE "Volume:Issue" = '47:8-9'
[ 2061, 373, 262, 2071, 3128, 329, 262, 2060, 351, 257, 14701, 25, 45147, 286, 6298, 25, 23, 12, 24, 30, 46506, 366, 45147, 7536, 7, 82, 16725, 16034, 3084, 62, 32182, 2670, 33411, 366, 31715, 25, 45147, 1, 796, 705, 2857, 25, 23, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2071, 3128, 329, 262, 2060, 351, 257, 14701, 25, 45147, 286, 6298, 25, 23, 12, 24, 30, 46506, 366, 45147, 7536, 7, 82, 16725, 16034, 3084, 62, 32182, 2670, 33411, 366, 31715, 25, 45147, 1, 796, 705, 2857, 25, 23, 1...
what were the five most frequently provided tests for patients who had previously been diagnosed with cerv spondyl w myelopath during the same hospital encounter, until 1 year ago?
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, diagnoses_icd.charttime, admissions.hadm_id FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id W...
[ 10919, 547, 262, 1936, 749, 6777, 2810, 5254, 329, 3871, 508, 550, 4271, 587, 14641, 351, 28987, 599, 623, 2645, 266, 616, 417, 18569, 1141, 262, 976, 4436, 8791, 11, 1566, 352, 614, 2084, 30, 46506, 288, 62, 23912, 23814, 13, 18242, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2810, 5254, 329, 3871, 508, 550, 4271, 587, 14641, 351, 28987, 599, 623, 2645, 266, 616, 417, 18569, 1141, 262, 976, 4436, 8791, 11, 1566, 352, 614, 2084, 30, 46506, 288, 62, 23912, 23814, 13, 18242, ...
count the number of portuguese speaking patients categorized under blood gas lab test.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.language = "PORT" AND lab."CATEGORY" = "Blood Gas"
[ 9127, 262, 1271, 286, 2493, 1018, 20506, 5486, 3871, 37661, 739, 2910, 3623, 2248, 1332, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9127, 262, 1271, 286, 2493, 1018, 20506, 5486, 3871, 37661, 739, 2910, 3623, 2248, 1332, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108,...
Which polling firm put T. Papadopoulos at 31%?
SELECT "Polling Firm" FROM table_69603 WHERE "T. Papadopoulos" = '31%'
[ 13828, 13985, 4081, 1234, 309, 13, 14185, 324, 20338, 379, 3261, 4, 30, 46506, 366, 39176, 278, 31623, 1, 16034, 3084, 62, 3388, 35642, 33411, 366, 51, 13, 14185, 324, 20338, 1, 796, 705, 3132, 4, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 13985, 4081, 1234, 309, 13, 14185, 324, 20338, 379, 3261, 4, 30, 46506, 366, 39176, 278, 31623, 1, 16034, 3084, 62, 3388, 35642, 33411, 366, 51, 13, 14185, 324, 20338, 1, 796, 705, 3132, 4, 6 ]
What was the result of the election in the Texas 3 district?
SELECT "Result" FROM table_18520 WHERE "District" = 'Texas 3'
[ 2061, 373, 262, 1255, 286, 262, 3071, 287, 262, 3936, 513, 4783, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 21652, 1238, 33411, 366, 44857, 1, 796, 705, 21607, 513, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 1255, 286, 262, 3071, 287, 262, 3936, 513, 4783, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 21652, 1238, 33411, 366, 44857, 1, 796, 705, 21607, 513, 6 ]
How many points total are there later than 2003?
SELECT SUM("Points") FROM table_7468 WHERE "Year" > '2003'
[ 2437, 867, 2173, 2472, 389, 612, 1568, 621, 5816, 30, 46506, 35683, 7203, 40710, 4943, 16034, 3084, 62, 4524, 3104, 33411, 366, 17688, 1, 1875, 705, 16088, 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, 2173, 2472, 389, 612, 1568, 621, 5816, 30, 46506, 35683, 7203, 40710, 4943, 16034, 3084, 62, 4524, 3104, 33411, 366, 17688, 1, 1875, 705, 16088, 6 ]
Who was the home team when grimsby town was the away team?
SELECT home_team FROM table_name_91 WHERE away_team = "grimsby town"
[ 8241, 373, 262, 1363, 1074, 618, 1036, 12078, 1525, 3240, 373, 262, 1497, 1074, 30, 46506, 1363, 62, 15097, 16034, 3084, 62, 3672, 62, 6420, 33411, 1497, 62, 15097, 796, 366, 2164, 12078, 1525, 3240, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 373, 262, 1363, 1074, 618, 1036, 12078, 1525, 3240, 373, 262, 1497, 1074, 30, 46506, 1363, 62, 15097, 16034, 3084, 62, 3672, 62, 6420, 33411, 1497, 62, 15097, 796, 366, 2164, 12078, 1525, 3240, 1 ]
Who drove the grid 11 car?
SELECT "Driver" FROM table_58414 WHERE "Grid" = '11'
[ 8241, 10357, 262, 10706, 1367, 1097, 30, 46506, 366, 32103, 1, 16034, 3084, 62, 3365, 37309, 33411, 366, 41339, 1, 796, 705, 1157, 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 ]
[ 8241, 10357, 262, 10706, 1367, 1097, 30, 46506, 366, 32103, 1, 16034, 3084, 62, 3365, 37309, 33411, 366, 41339, 1, 796, 705, 1157, 6 ]
when was the last time that patient 010-26737 has had the minimum respiration since 04/04/2105?
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 = '010-26737')) AND NOT vitalperiodic.respiration IS N...
[ 12518, 373, 262, 938, 640, 326, 5827, 5534, 15, 12, 25674, 2718, 468, 550, 262, 5288, 1217, 15297, 1201, 8702, 14, 3023, 14, 17, 13348, 30, 46506, 9204, 41007, 291, 13, 672, 3168, 341, 2435, 16034, 9204, 41007, 291, 33411, 9204, 41007...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 938, 640, 326, 5827, 5534, 15, 12, 25674, 2718, 468, 550, 262, 5288, 1217, 15297, 1201, 8702, 14, 3023, 14, 17, 13348, 30, 46506, 9204, 41007, 291, 13, 672, 3168, 341, 2435, 16034, 9204, 41007, 291, 33411, 9204, 41007...
What are the election date for elections held in the province of Albacete?
SELECT "Election date" FROM table_28606 WHERE "Province" = 'Albacete'
[ 2061, 389, 262, 3071, 3128, 329, 7024, 2714, 287, 262, 8473, 286, 17399, 330, 14471, 30, 46506, 366, 36, 1564, 3128, 1, 16034, 3084, 62, 2078, 33206, 33411, 366, 15946, 924, 1, 796, 705, 2348, 65, 330, 14471, 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 ]
[ 2061, 389, 262, 3071, 3128, 329, 7024, 2714, 287, 262, 8473, 286, 17399, 330, 14471, 30, 46506, 366, 36, 1564, 3128, 1, 16034, 3084, 62, 2078, 33206, 33411, 366, 15946, 924, 1, 796, 705, 2348, 65, 330, 14471, 6 ]
Who has 5/1 odds?
SELECT "Jockey" FROM table_68152 WHERE "Odds" = '5/1'
[ 8241, 468, 642, 14, 16, 10402, 30, 46506, 366, 41, 8337, 1, 16034, 3084, 62, 3104, 17827, 33411, 366, 46, 33714, 1, 796, 705, 20, 14, 16, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 468, 642, 14, 16, 10402, 30, 46506, 366, 41, 8337, 1, 16034, 3084, 62, 3104, 17827, 33411, 366, 46, 33714, 1, 796, 705, 20, 14, 16, 6 ]
My unaccepted answers with non-zero probability of acceptance.
SELECT Q.Id AS "post_link" FROM Posts AS Q INNER JOIN Posts AS A ON (Q.Id = A.ParentId) INNER JOIN Users AS U ON (Q.OwnerUserId = U.Id) WHERE Q.PostTypeId = 1 AND A.PostTypeId = 2 AND A.OwnerUserId = @UserId AND Q.AcceptedAnswerId IS NULL AND Q.ClosedDate IS NULL AND NOT EXISTS(SELECT A2.Id FROM Posts AS A2 WHERE A2.Po...
[ 3666, 555, 13635, 276, 7429, 351, 1729, 12, 22570, 12867, 286, 13427, 13, 46506, 1195, 13, 7390, 7054, 366, 7353, 62, 8726, 1, 16034, 12043, 7054, 1195, 3268, 21479, 32357, 1268, 12043, 7054, 317, 6177, 357, 48, 13, 7390, 796, 317, 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...
[ 3666, 555, 13635, 276, 7429, 351, 1729, 12, 22570, 12867, 286, 13427, 13, 46506, 1195, 13, 7390, 7054, 366, 7353, 62, 8726, 1, 16034, 12043, 7054, 1195, 3268, 21479, 32357, 1268, 12043, 7054, 317, 6177, 357, 48, 13, 7390, 796, 317, 13...
body mass index > 27 and < 43 kg / m2
SELECT * FROM table_train_245 WHERE body_mass_index_bmi > 27 AND body_mass_index_bmi < 43
[ 2618, 2347, 6376, 1875, 2681, 290, 1279, 5946, 14211, 1220, 285, 17, 46506, 1635, 16034, 3084, 62, 27432, 62, 22995, 33411, 1767, 62, 22208, 62, 9630, 62, 65, 11632, 1875, 2681, 5357, 1767, 62, 22208, 62, 9630, 62, 65, 11632, 1279, 59...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2618, 2347, 6376, 1875, 2681, 290, 1279, 5946, 14211, 1220, 285, 17, 46506, 1635, 16034, 3084, 62, 27432, 62, 22995, 33411, 1767, 62, 22208, 62, 9630, 62, 65, 11632, 1875, 2681, 5357, 1767, 62, 22208, 62, 9630, 62, 65, 11632, 1279, 59...
What is the trigger pack on the Colt 602 with the a1 rear sight type?
SELECT trigger_pack FROM table_19901_1 WHERE rear_sight_type = "A1" AND colt_model_no = "602"
[ 2061, 318, 262, 7616, 2353, 319, 262, 37360, 718, 2999, 351, 262, 257, 16, 8286, 6504, 2099, 30, 46506, 7616, 62, 8002, 16034, 3084, 62, 19104, 486, 62, 16, 33411, 8286, 62, 18627, 62, 4906, 796, 366, 32, 16, 1, 5357, 951, 83, 62,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 7616, 2353, 319, 262, 37360, 718, 2999, 351, 262, 257, 16, 8286, 6504, 2099, 30, 46506, 7616, 62, 8002, 16034, 3084, 62, 19104, 486, 62, 16, 33411, 8286, 62, 18627, 62, 4906, 796, 366, 32, 16, 1, 5357, 951, 83, 62,...
What is the quantity preserved when 4 were made of class F-21?
SELECT quantity_preserved FROM table_name_76 WHERE quantity_made = "4" AND class = "f-21"
[ 2061, 318, 262, 12040, 17232, 618, 604, 547, 925, 286, 1398, 376, 12, 2481, 30, 46506, 12040, 62, 18302, 8520, 16034, 3084, 62, 3672, 62, 4304, 33411, 12040, 62, 9727, 796, 366, 19, 1, 5357, 1398, 796, 366, 69, 12, 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 ]
[ 2061, 318, 262, 12040, 17232, 618, 604, 547, 925, 286, 1398, 376, 12, 2481, 30, 46506, 12040, 62, 18302, 8520, 16034, 3084, 62, 3672, 62, 4304, 33411, 12040, 62, 9727, 796, 366, 19, 1, 5357, 1398, 796, 366, 69, 12, 2481, 1 ]
Where did Test Mission: War Heads and Missile Payload launch when there was a partial failure?
SELECT launch_site FROM table_11869952_3 WHERE mission = "Test mission: war heads and Missile payload" AND results = "Partial Failure"
[ 8496, 750, 6208, 12633, 25, 1810, 34838, 290, 25350, 7119, 2220, 4219, 618, 612, 373, 257, 13027, 5287, 30, 46506, 4219, 62, 15654, 16034, 3084, 62, 1157, 4521, 2079, 4309, 62, 18, 33411, 4365, 796, 366, 14402, 4365, 25, 1175, 6665, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8496, 750, 6208, 12633, 25, 1810, 34838, 290, 25350, 7119, 2220, 4219, 618, 612, 373, 257, 13027, 5287, 30, 46506, 4219, 62, 15654, 16034, 3084, 62, 1157, 4521, 2079, 4309, 62, 18, 33411, 4365, 796, 366, 14402, 4365, 25, 1175, 6665, 2...
% questions asked by new account users.
SELECT CAST((SELECT COUNT(1) FROM Posts AS p JOIN Users AS u ON p.OwnerUserId = u.Id WHERE CAST(TIME_TO_STR(p.CreationDate, '%Y%m%d') AS TEXT(30)) = CAST(TIME_TO_STR(u.CreationDate, '%Y%m%d') AS TEXT(30))) AS FLOAT) / CAST((SELECT COUNT(1) FROM Posts) AS FLOAT) * 100.0
[ 4, 2683, 1965, 416, 649, 1848, 2985, 13, 46506, 327, 11262, 19510, 46506, 327, 28270, 7, 16, 8, 16034, 12043, 7054, 279, 32357, 1268, 18987, 7054, 334, 6177, 279, 13, 42419, 12982, 7390, 796, 334, 13, 7390, 33411, 327, 11262, 7, 34694...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4, 2683, 1965, 416, 649, 1848, 2985, 13, 46506, 327, 11262, 19510, 46506, 327, 28270, 7, 16, 8, 16034, 12043, 7054, 279, 32357, 1268, 18987, 7054, 334, 6177, 279, 13, 42419, 12982, 7390, 796, 334, 13, 7390, 33411, 327, 11262, 7, 34694...
Name the score for march 8
SELECT "Score" FROM table_31449 WHERE "Date" = 'March 8'
[ 5376, 262, 4776, 329, 9960, 807, 46506, 366, 26595, 1, 16034, 3084, 62, 33638, 2920, 33411, 366, 10430, 1, 796, 705, 16192, 807, 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 ]
[ 5376, 262, 4776, 329, 9960, 807, 46506, 366, 26595, 1, 16034, 3084, 62, 33638, 2920, 33411, 366, 10430, 1, 796, 705, 16192, 807, 6 ]
How many rebounds per game did he have at the 2006 fiba world championship?
SELECT "Rebounds per game" FROM table_29679 WHERE "Tournament" = '2006 FIBA World Championship'
[ 2437, 867, 18841, 583, 983, 750, 339, 423, 379, 262, 4793, 12900, 64, 995, 12184, 30, 46506, 366, 28951, 3733, 583, 983, 1, 16034, 3084, 62, 1959, 37601, 33411, 366, 51, 5138, 1, 796, 705, 13330, 18930, 4339, 2159, 10749, 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 ]
[ 2437, 867, 18841, 583, 983, 750, 339, 423, 379, 262, 4793, 12900, 64, 995, 12184, 30, 46506, 366, 28951, 3733, 583, 983, 1, 16034, 3084, 62, 1959, 37601, 33411, 366, 51, 5138, 1, 796, 705, 13330, 18930, 4339, 2159, 10749, 6 ]
how many patients aged below 61 years have the discharge location as long term care hospital?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.discharge_location = "LONG TERM CARE HOSPITAL" AND demographic.age < "61"
[ 4919, 867, 3871, 9722, 2174, 8454, 812, 423, 262, 17655, 4067, 355, 890, 3381, 1337, 4436, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 6381, 10136, 62, 24886, 796, 366,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 3871, 9722, 2174, 8454, 812, 423, 262, 17655, 4067, 355, 890, 3381, 1337, 4436, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 6381, 10136, 62, 24886, 796, 366,...
What is the score in the final in the year 1994?
SELECT score_in_the_final FROM table_22834834_2 WHERE year = 1994
[ 2061, 318, 262, 4776, 287, 262, 2457, 287, 262, 614, 9162, 30, 46506, 4776, 62, 259, 62, 1169, 62, 20311, 16034, 3084, 62, 23815, 28978, 2682, 62, 17, 33411, 614, 796, 9162 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4776, 287, 262, 2457, 287, 262, 614, 9162, 30, 46506, 4776, 62, 259, 62, 1169, 62, 20311, 16034, 3084, 62, 23815, 28978, 2682, 62, 17, 33411, 614, 796, 9162 ]
give me the number of patients whose admission location is phys referral/normal deli and age is less than 45?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_location = "PHYS REFERRAL/NORMAL DELI" AND demographic.age < "45"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 13938, 4067, 318, 2281, 31413, 14, 11265, 1619, 72, 290, 2479, 318, 1342, 621, 4153, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 26535, 502, 262, 1271, 286, 3871, 3025, 13938, 4067, 318, 2281, 31413, 14, 11265, 1619, 72, 290, 2479, 318, 1342, 621, 4153, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13,...
What is the highest year premiered when Benjamin Castaldi is main presenter?
SELECT MAX("Year premiered") FROM table_26683 WHERE "Main presenter" = 'Benjamin Castaldi'
[ 2061, 318, 262, 4511, 614, 44119, 618, 14533, 5833, 37566, 318, 1388, 39597, 30, 46506, 25882, 7203, 17688, 44119, 4943, 16034, 3084, 62, 2075, 47521, 33411, 366, 13383, 39597, 1, 796, 705, 11696, 13337, 5833, 37566, 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, 4511, 614, 44119, 618, 14533, 5833, 37566, 318, 1388, 39597, 30, 46506, 25882, 7203, 17688, 44119, 4943, 16034, 3084, 62, 2075, 47521, 33411, 366, 13383, 39597, 1, 796, 705, 11696, 13337, 5833, 37566, 6 ]
give the number of patients born before the year 2152 who had procedure titled left heart cardiac cath.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.dob_year < "2152" AND procedures.short_title = "Left heart cardiac cath"
[ 26535, 262, 1271, 286, 3871, 4642, 878, 262, 614, 362, 17827, 508, 550, 8771, 11946, 1364, 2612, 26077, 32171, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 26535, 262, 1271, 286, 3871, 4642, 878, 262, 614, 362, 17827, 508, 550, 8771, 11946, 1364, 2612, 26077, 32171, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, ...
What was Min Patel's bowling?
SELECT bowling FROM table_name_7 WHERE player = "min patel"
[ 2061, 373, 1855, 33110, 338, 33564, 30, 46506, 33564, 16034, 3084, 62, 3672, 62, 22, 33411, 2137, 796, 366, 1084, 279, 25791, 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, 1855, 33110, 338, 33564, 30, 46506, 33564, 16034, 3084, 62, 3672, 62, 22, 33411, 2137, 796, 366, 1084, 279, 25791, 1 ]
What are the names and genders of staff who were assigned in 2016?
SELECT T1.staff_name, T1.staff_gender FROM staff AS T1 JOIN staff_department_assignments AS T2 ON T1.staff_id = T2.staff_id WHERE T2.date_assigned_from LIKE "2016%"
[ 2061, 389, 262, 3891, 290, 38054, 286, 3085, 508, 547, 8686, 287, 1584, 30, 46506, 309, 16, 13, 28120, 62, 3672, 11, 309, 16, 13, 28120, 62, 8388, 16034, 3085, 7054, 309, 16, 32357, 1268, 3085, 62, 10378, 1823, 62, 562, 570, 902, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3891, 290, 38054, 286, 3085, 508, 547, 8686, 287, 1584, 30, 46506, 309, 16, 13, 28120, 62, 3672, 11, 309, 16, 13, 28120, 62, 8388, 16034, 3085, 7054, 309, 16, 32357, 1268, 3085, 62, 10378, 1823, 62, 562, 570, 902, ...
What is the smallest number of third place earned for the Es Sahel at a rank less than 3?
SELECT MIN(third) FROM table_name_37 WHERE club = "es sahel" AND rank < 3
[ 2061, 318, 262, 18197, 1271, 286, 2368, 1295, 7366, 329, 262, 8678, 10318, 2978, 379, 257, 4279, 1342, 621, 513, 30, 46506, 20625, 7, 17089, 8, 16034, 3084, 62, 3672, 62, 2718, 33411, 3430, 796, 366, 274, 473, 2978, 1, 5357, 4279, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 18197, 1271, 286, 2368, 1295, 7366, 329, 262, 8678, 10318, 2978, 379, 257, 4279, 1342, 621, 513, 30, 46506, 20625, 7, 17089, 8, 16034, 3084, 62, 3672, 62, 2718, 33411, 3430, 796, 366, 274, 473, 2978, 1, 5357, 4279, 1...
What is the Record of the game with a Result of l 14 16?
SELECT "Record" FROM table_60376 WHERE "Result" = 'l 14–16'
[ 2061, 318, 262, 13266, 286, 262, 983, 351, 257, 25414, 286, 300, 1478, 1467, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 1899, 32128, 33411, 366, 23004, 1, 796, 705, 75, 1478, 1906, 1433, 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, 13266, 286, 262, 983, 351, 257, 25414, 286, 300, 1478, 1467, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 1899, 32128, 33411, 366, 23004, 1, 796, 705, 75, 1478, 1906, 1433, 6 ]
what is the daily average of the weight of patient 016-38131 this month?
SELECT AVG(patient.admissionweight) FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '016-38131') AND NOT patient.admissionweight IS NULL AND DATETIME(patient.unitadmittime, 'start of month') = DATETIME(CURRENT_TIME(), 'start of mon...
[ 10919, 318, 262, 4445, 2811, 286, 262, 3463, 286, 5827, 5534, 21, 12, 2548, 22042, 428, 1227, 30, 46506, 35224, 7, 26029, 13, 324, 3411, 6551, 8, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4445, 2811, 286, 262, 3463, 286, 5827, 5534, 21, 12, 2548, 22042, 428, 1227, 30, 46506, 35224, 7, 26029, 13, 324, 3411, 6551, 8, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 1...
for patients who have been diagnosed with discharged on aspirin what are the top four most common lab tests that followed within the same hospital visit?
SELECT t3.labname FROM (SELECT t2.labname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, diagnosis.diagnosistime, patient.patienthealthsystemstayid FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'discharged on asp...
[ 1640, 3871, 508, 423, 587, 14641, 351, 26476, 319, 49550, 644, 389, 262, 1353, 1440, 749, 2219, 2248, 5254, 326, 3940, 1626, 262, 976, 4436, 3187, 30, 46506, 256, 18, 13, 23912, 3672, 16034, 357, 46506, 256, 17, 13, 23912, 3672, 11, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1640, 3871, 508, 423, 587, 14641, 351, 26476, 319, 49550, 644, 389, 262, 1353, 1440, 749, 2219, 2248, 5254, 326, 3940, 1626, 262, 976, 4436, 3187, 30, 46506, 256, 18, 13, 23912, 3672, 16034, 357, 46506, 256, 17, 13, 23912, 3672, 11, ...
Which School/Club Team has a Pick of 198?
SELECT school_club_team FROM table_name_7 WHERE pick = 198
[ 13828, 3961, 14, 42350, 4816, 468, 257, 12346, 286, 2757, 30, 46506, 1524, 62, 18664, 62, 15097, 16034, 3084, 62, 3672, 62, 22, 33411, 2298, 796, 2757 ]
[ 1, 1, 1, 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, 3961, 14, 42350, 4816, 468, 257, 12346, 286, 2757, 30, 46506, 1524, 62, 18664, 62, 15097, 16034, 3084, 62, 3672, 62, 22, 33411, 2298, 796, 2757 ]
Are there any other professors teaching Sports and Daily Ancient Rome besides Prof. Maguire ?
SELECT DISTINCT course.department, course.name, course.number, instructor.name FROM course, course_offering, instructor, offering_instructor WHERE course.course_id = course_offering.course_id AND course.name LIKE '%Sports and Daily Ancient Rome%' AND NOT instructor.name LIKE '%Maguire%' AND offering_instructor.instruct...
[ 8491, 612, 597, 584, 20339, 7743, 7092, 290, 6714, 13406, 10598, 13769, 4415, 13, 2944, 84, 557, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 11, 21187, 13, 3672, 16034, 1781, 11,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 8491, 612, 597, 584, 20339, 7743, 7092, 290, 6714, 13406, 10598, 13769, 4415, 13, 2944, 84, 557, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 11, 21187, 13, 3672, 16034, 1781, 11,...
What is the accreditation type of Vodacom Group PTY LTD (Vodafone group)?
SELECT "Accreditation type" FROM table_45493 WHERE "Company name" = 'vodacom group pty ltd (vodafone group)'
[ 2061, 318, 262, 697, 42845, 2099, 286, 569, 375, 330, 296, 4912, 350, 9936, 42513, 357, 53, 375, 1878, 505, 1448, 19427, 46506, 366, 17320, 42845, 2099, 1, 16034, 3084, 62, 2231, 43134, 33411, 366, 39154, 1438, 1, 796, 705, 85, 375, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 697, 42845, 2099, 286, 569, 375, 330, 296, 4912, 350, 9936, 42513, 357, 53, 375, 1878, 505, 1448, 19427, 46506, 366, 17320, 42845, 2099, 1, 16034, 3084, 62, 2231, 43134, 33411, 366, 39154, 1438, 1, 796, 705, 85, 375, ...
count the number of patients whose admission type is emergency and lab test name is rbc, pleural?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_type = "EMERGENCY" AND lab.label = "RBC, Pleural"
[ 9127, 262, 1271, 286, 3871, 3025, 13938, 2099, 318, 6334, 290, 2248, 1332, 1438, 318, 374, 15630, 11, 3339, 1523, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 22...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9127, 262, 1271, 286, 3871, 3025, 13938, 2099, 318, 6334, 290, 2248, 1332, 1438, 318, 374, 15630, 11, 3339, 1523, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 22...
What's the Sanskrit word for month with Thai name ?
SELECT "Sanskrit word" FROM table_2243 WHERE "Thai name" = 'มกราคม'
[ 2061, 338, 262, 46178, 1573, 329, 1227, 351, 18933, 1438, 5633, 46506, 366, 50, 34738, 799, 1573, 1, 16034, 3084, 62, 24137, 18, 33411, 366, 817, 1872, 1438, 1, 796, 705, 19567, 94, 19567, 223, 19567, 96, 19567, 110, 19567, 226, 19567...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 338, 262, 46178, 1573, 329, 1227, 351, 18933, 1438, 5633, 46506, 366, 50, 34738, 799, 1573, 1, 16034, 3084, 62, 24137, 18, 33411, 366, 817, 1872, 1438, 1, 796, 705, 19567, 94, 19567, 223, 19567, 96, 19567, 110, 19567, 226, 19567...
when was patient 12572 since 4 years ago last diagnosed with ileostomy status?
SELECT diagnoses_icd.charttime FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'ileostomy status') AND diagnoses_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 12572) AND DATETIME(diagn...
[ 12518, 373, 5827, 1105, 48724, 1201, 604, 812, 2084, 938, 14641, 351, 220, 576, 455, 9145, 3722, 30, 46506, 40567, 62, 291, 67, 13, 40926, 2435, 16034, 40567, 62, 291, 67, 33411, 40567, 62, 291, 67, 13, 291, 67, 24, 62, 8189, 796, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12518, 373, 5827, 1105, 48724, 1201, 604, 812, 2084, 938, 14641, 351, 220, 576, 455, 9145, 3722, 30, 46506, 40567, 62, 291, 67, 13, 40926, 2435, 16034, 40567, 62, 291, 67, 33411, 40567, 62, 291, 67, 13, 291, 67, 24, 62, 8189, 796, ...
Stacked bar chart of team_id for with each ACC_Road in each all home, and I want to show total number from high to low order please.
SELECT All_Home, Team_ID FROM basketball_match GROUP BY ACC_Road, All_Home ORDER BY Team_ID DESC
[ 1273, 6021, 2318, 8262, 286, 1074, 62, 312, 329, 351, 1123, 15859, 62, 29197, 287, 1123, 477, 1363, 11, 290, 314, 765, 284, 905, 2472, 1271, 422, 1029, 284, 1877, 1502, 3387, 13, 46506, 1439, 62, 16060, 11, 4816, 62, 2389, 16034, 96...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1273, 6021, 2318, 8262, 286, 1074, 62, 312, 329, 351, 1123, 15859, 62, 29197, 287, 1123, 477, 1363, 11, 290, 314, 765, 284, 905, 2472, 1271, 422, 1029, 284, 1877, 1502, 3387, 13, 46506, 1439, 62, 16060, 11, 4816, 62, 2389, 16034, 96...
What was the pick for the game at the College of Kentucky with the team Washington Capitols?
SELECT pick FROM table_name_56 WHERE college = "kentucky" AND team = "washington capitols"
[ 2061, 373, 262, 2298, 329, 262, 983, 379, 262, 5535, 286, 11867, 351, 262, 1074, 2669, 4476, 270, 10220, 30, 46506, 2298, 16034, 3084, 62, 3672, 62, 3980, 33411, 4152, 796, 366, 74, 298, 5309, 1, 5357, 1074, 796, 366, 86, 2542, 4696...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2298, 329, 262, 983, 379, 262, 5535, 286, 11867, 351, 262, 1074, 2669, 4476, 270, 10220, 30, 46506, 2298, 16034, 3084, 62, 3672, 62, 3980, 33411, 4152, 796, 366, 74, 298, 5309, 1, 5357, 1074, 796, 366, 86, 2542, 4696...
find the primary disease and lab test item id of subject id 2560.
SELECT demographic.diagnosis, lab.itemid FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.subject_id = "2560"
[ 19796, 262, 4165, 4369, 290, 2248, 1332, 2378, 4686, 286, 2426, 4686, 1679, 1899, 13, 46506, 16728, 13, 47356, 5958, 11, 2248, 13, 9186, 312, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108, 76, 62, 312, 796, 2248, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 19796, 262, 4165, 4369, 290, 2248, 1332, 2378, 4686, 286, 2426, 4686, 1679, 1899, 13, 46506, 16728, 13, 47356, 5958, 11, 2248, 13, 9186, 312, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108, 76, 62, 312, 796, 2248, ...
How many projects are there?
SELECT COUNT(*) FROM projects
[ 2437, 867, 4493, 389, 612, 30, 46506, 327, 28270, 7, 28104, 16034, 4493 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 4493, 389, 612, 30, 46506, 327, 28270, 7, 28104, 16034, 4493 ]
What is the report status of Hockenheimring circuit?
SELECT report FROM table_name_5 WHERE circuit = "hockenheimring"
[ 2061, 318, 262, 989, 3722, 286, 367, 735, 268, 9096, 1806, 10349, 30, 46506, 989, 16034, 3084, 62, 3672, 62, 20, 33411, 10349, 796, 366, 71, 735, 268, 9096, 1806, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 989, 3722, 286, 367, 735, 268, 9096, 1806, 10349, 30, 46506, 989, 16034, 3084, 62, 3672, 62, 20, 33411, 10349, 796, 366, 71, 735, 268, 9096, 1806, 1 ]
count the number of patients who are aged below 89 years with an item id 50889.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.age < "89" AND lab.itemid = "50889"
[ 9127, 262, 1271, 286, 3871, 508, 389, 9722, 2174, 9919, 812, 351, 281, 2378, 4686, 2026, 39121, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9127, 262, 1271, 286, 3871, 508, 389, 9722, 2174, 9919, 812, 351, 281, 2378, 4686, 2026, 39121, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 1...
With a To par of 2, what is Johnny Miller's Place?
SELECT place FROM table_name_13 WHERE to_par = "–2" AND player = "johnny miller"
[ 3152, 257, 1675, 1582, 286, 362, 11, 644, 318, 15470, 7920, 338, 8474, 30, 46506, 1295, 16034, 3084, 62, 3672, 62, 1485, 33411, 284, 62, 1845, 796, 366, 1906, 17, 1, 5357, 2137, 796, 366, 30686, 3281, 3939, 263, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 3152, 257, 1675, 1582, 286, 362, 11, 644, 318, 15470, 7920, 338, 8474, 30, 46506, 1295, 16034, 3084, 62, 3672, 62, 1485, 33411, 284, 62, 1845, 796, 366, 1906, 17, 1, 5357, 2137, 796, 366, 30686, 3281, 3939, 263, 1 ]
WHAT COUNTRY HAS A SCORE OF 68-70=138?
SELECT "Country" FROM table_50289 WHERE "Score" = '68-70=138'
[ 32971, 31404, 40405, 33930, 317, 6374, 6965, 3963, 8257, 12, 2154, 28, 20107, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 1120, 27693, 33411, 366, 26595, 1, 796, 705, 3104, 12, 2154, 28, 20107, 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 ]
[ 32971, 31404, 40405, 33930, 317, 6374, 6965, 3963, 8257, 12, 2154, 28, 20107, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 1120, 27693, 33411, 366, 26595, 1, 796, 705, 3104, 12, 2154, 28, 20107, 6 ]
COunt the sum of Prominence (m) of an Elevation (m) of 2,024?
SELECT SUM(prominence__m_) FROM table_name_69 WHERE elevation__m_ = 2 OFFSET 024
[ 8220, 2797, 262, 2160, 286, 10335, 18386, 357, 76, 8, 286, 281, 37881, 341, 357, 76, 8, 286, 362, 11, 40839, 30, 46506, 35683, 7, 16963, 18386, 834, 76, 62, 8, 16034, 3084, 62, 3672, 62, 3388, 33411, 22910, 834, 76, 62, 796, 362, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8220, 2797, 262, 2160, 286, 10335, 18386, 357, 76, 8, 286, 281, 37881, 341, 357, 76, 8, 286, 362, 11, 40839, 30, 46506, 35683, 7, 16963, 18386, 834, 76, 62, 8, 16034, 3084, 62, 3672, 62, 3388, 33411, 22910, 834, 76, 62, 796, 362, ...
what is the withdrawal when the lb&sc number is less than 16 and the s.r. number is 2011?
SELECT "Withdrawal" FROM table_8294 WHERE "LB&SC Number" < '16' AND "S.R. Number" = '2011'
[ 10919, 318, 262, 15220, 618, 262, 18360, 5, 1416, 1271, 318, 1342, 621, 1467, 290, 262, 264, 13, 81, 13, 1271, 318, 2813, 30, 46506, 366, 3152, 19334, 282, 1, 16034, 3084, 62, 23, 27696, 33411, 366, 30501, 5, 6173, 7913, 1, 1279, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15220, 618, 262, 18360, 5, 1416, 1271, 318, 1342, 621, 1467, 290, 262, 264, 13, 81, 13, 1271, 318, 2813, 30, 46506, 366, 3152, 19334, 282, 1, 16034, 3084, 62, 23, 27696, 33411, 366, 30501, 5, 6173, 7913, 1, 1279, ...
What round had a result of 6 7 (6 8) , 1 6?
SELECT round FROM table_name_83 WHERE result = "6–7 (6–8) , 1–6"
[ 2061, 2835, 550, 257, 1255, 286, 718, 767, 357, 21, 807, 8, 837, 352, 718, 30, 46506, 2835, 16034, 3084, 62, 3672, 62, 5999, 33411, 1255, 796, 366, 21, 1906, 22, 357, 21, 1906, 23, 8, 837, 352, 1906, 21, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 2835, 550, 257, 1255, 286, 718, 767, 357, 21, 807, 8, 837, 352, 718, 30, 46506, 2835, 16034, 3084, 62, 3672, 62, 5999, 33411, 1255, 796, 366, 21, 1906, 22, 357, 21, 1906, 23, 8, 837, 352, 1906, 21, 1 ]
what is the number of patients who were born before 2182?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.dob_year < "2182"
[ 10919, 318, 262, 1271, 286, 3871, 508, 547, 4642, 878, 362, 24294, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 67, 672, 62, 1941, 1279, 366, 17, 24294, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 1271, 286, 3871, 508, 547, 4642, 878, 362, 24294, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 67, 672, 62, 1941, 1279, 366, 17, 24294, 1 ]
Which Incumbent has a Republican of dan mansell?
SELECT "Incumbent" FROM table_37323 WHERE "Republican" = 'dan mansell'
[ 13828, 3457, 2178, 298, 468, 257, 3415, 286, 46078, 582, 7255, 30, 46506, 366, 25517, 2178, 298, 1, 16034, 3084, 62, 2718, 32637, 33411, 366, 25777, 1, 796, 705, 25604, 582, 7255, 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, 3457, 2178, 298, 468, 257, 3415, 286, 46078, 582, 7255, 30, 46506, 366, 25517, 2178, 298, 1, 16034, 3084, 62, 2718, 32637, 33411, 366, 25777, 1, 796, 705, 25604, 582, 7255, 6 ]
What is the name of the building listed on 1977-11-23?
SELECT "Name" FROM table_47774 WHERE "Listed" = '1977-11-23'
[ 2061, 318, 262, 1438, 286, 262, 2615, 5610, 319, 15589, 12, 1157, 12, 1954, 30, 46506, 366, 5376, 1, 16034, 3084, 62, 2857, 47582, 33411, 366, 43, 6347, 1, 796, 705, 37781, 12, 1157, 12, 1954, 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, 1438, 286, 262, 2615, 5610, 319, 15589, 12, 1157, 12, 1954, 30, 46506, 366, 5376, 1, 16034, 3084, 62, 2857, 47582, 33411, 366, 43, 6347, 1, 796, 705, 37781, 12, 1157, 12, 1954, 6 ]
Who had evening gown score of 9.82?
SELECT "Country" FROM table_323 WHERE "Evening Gown" = '9.82'
[ 8241, 550, 6180, 33323, 4776, 286, 860, 13, 6469, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 32637, 33411, 366, 6104, 278, 402, 593, 1, 796, 705, 24, 13, 6469, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 550, 6180, 33323, 4776, 286, 860, 13, 6469, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 32637, 33411, 366, 6104, 278, 402, 593, 1, 796, 705, 24, 13, 6469, 6 ]
what was the medication that was prescribed to patient 007-3999 within 2 days after being diagnosed with hepatic dysfunction - acute during their first hospital visit?
SELECT t2.drugname FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '007-3999' AND NOT patient.hospita...
[ 10919, 373, 262, 14103, 326, 373, 14798, 284, 5827, 3571, 22, 12, 18, 17032, 1626, 362, 1528, 706, 852, 14641, 351, 47585, 1512, 19327, 532, 14352, 1141, 511, 717, 4436, 3187, 30, 46506, 256, 17, 13, 30349, 3672, 16034, 357, 46506, 58...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14103, 326, 373, 14798, 284, 5827, 3571, 22, 12, 18, 17032, 1626, 362, 1528, 706, 852, 14641, 351, 47585, 1512, 19327, 532, 14352, 1141, 511, 717, 4436, 3187, 30, 46506, 256, 17, 13, 30349, 3672, 16034, 357, 46506, 58...
What opponent has a record of 6-9?
SELECT opponent FROM table_name_27 WHERE record = "6-9"
[ 2061, 6125, 468, 257, 1700, 286, 718, 12, 24, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 1983, 33411, 1700, 796, 366, 21, 12, 24, 1 ]
[ 1, 1, 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, 6125, 468, 257, 1700, 286, 718, 12, 24, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 1983, 33411, 1700, 796, 366, 21, 12, 24, 1 ]
What is the lowest rank of Deutsche Telekom with a market value over 209,628?
SELECT MIN(rank) FROM table_name_85 WHERE name = "deutsche telekom" AND market_value___usd_million_ > 209 OFFSET 628
[ 2061, 318, 262, 9016, 4279, 286, 36763, 14318, 74, 296, 351, 257, 1910, 1988, 625, 28815, 11, 48200, 30, 46506, 20625, 7, 43027, 8, 16034, 3084, 62, 3672, 62, 5332, 33411, 1438, 796, 366, 2934, 30433, 5735, 74, 296, 1, 5357, 1910, 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 ]
[ 2061, 318, 262, 9016, 4279, 286, 36763, 14318, 74, 296, 351, 257, 1910, 1988, 625, 28815, 11, 48200, 30, 46506, 20625, 7, 43027, 8, 16034, 3084, 62, 3672, 62, 5332, 33411, 1438, 796, 366, 2934, 30433, 5735, 74, 296, 1, 5357, 1910, 6...
What was the world rank by QS in 2013 for the University of Otago?
SELECT world_rank_by_qs_, _2013 FROM table_27484208_1 WHERE members = "University of Otago"
[ 2061, 373, 262, 995, 4279, 416, 1195, 50, 287, 2211, 329, 262, 2059, 286, 19740, 3839, 30, 46506, 995, 62, 43027, 62, 1525, 62, 48382, 62, 11, 4808, 6390, 16034, 3084, 62, 1983, 34137, 21315, 62, 16, 33411, 1866, 796, 366, 21009, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 995, 4279, 416, 1195, 50, 287, 2211, 329, 262, 2059, 286, 19740, 3839, 30, 46506, 995, 62, 43027, 62, 1525, 62, 48382, 62, 11, 4808, 6390, 16034, 3084, 62, 1983, 34137, 21315, 62, 16, 33411, 1866, 796, 366, 21009, 28...
Name the further cities for east romania
SELECT further_cities FROM table_197286_4 WHERE direction = "East" AND country = "Romania"
[ 5376, 262, 2252, 4736, 329, 7627, 374, 5185, 544, 46506, 2252, 62, 66, 871, 16034, 3084, 62, 24991, 27033, 62, 19, 33411, 4571, 796, 366, 25234, 1, 5357, 1499, 796, 366, 32454, 544, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2252, 4736, 329, 7627, 374, 5185, 544, 46506, 2252, 62, 66, 871, 16034, 3084, 62, 24991, 27033, 62, 19, 33411, 4571, 796, 366, 25234, 1, 5357, 1499, 796, 366, 32454, 544, 1 ]
What was the streak at the game at the Miami Orange Bowl?
SELECT "Streak" FROM table_9613 WHERE "Stadium" = 'miami orange bowl'
[ 2061, 373, 262, 15113, 379, 262, 983, 379, 262, 8437, 11942, 8693, 30, 46506, 366, 30611, 461, 1, 16034, 3084, 62, 4846, 1485, 33411, 366, 1273, 6271, 1, 796, 705, 76, 7871, 10912, 9396, 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, 373, 262, 15113, 379, 262, 983, 379, 262, 8437, 11942, 8693, 30, 46506, 366, 30611, 461, 1, 16034, 3084, 62, 4846, 1485, 33411, 366, 1273, 6271, 1, 796, 705, 76, 7871, 10912, 9396, 6 ]
How many people are listed for high rebounds on game 30?
SELECT COUNT("High rebounds") FROM table_29844 WHERE "Game" = '30'
[ 2437, 867, 661, 389, 5610, 329, 1029, 18841, 319, 983, 1542, 30, 46506, 327, 28270, 7203, 11922, 18841, 4943, 16034, 3084, 62, 27728, 2598, 33411, 366, 8777, 1, 796, 705, 1270, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 661, 389, 5610, 329, 1029, 18841, 319, 983, 1542, 30, 46506, 327, 28270, 7203, 11922, 18841, 4943, 16034, 3084, 62, 27728, 2598, 33411, 366, 8777, 1, 796, 705, 1270, 6 ]
List the total play time for 11 starts.
SELECT MAX("Minutes") FROM table_27311 WHERE "Starts" = '11'
[ 8053, 262, 2472, 711, 640, 329, 1367, 4940, 13, 46506, 25882, 7203, 9452, 1769, 4943, 16034, 3084, 62, 27367, 1157, 33411, 366, 1273, 5889, 1, 796, 705, 1157, 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 ]
[ 8053, 262, 2472, 711, 640, 329, 1367, 4940, 13, 46506, 25882, 7203, 9452, 1769, 4943, 16034, 3084, 62, 27367, 1157, 33411, 366, 1273, 5889, 1, 796, 705, 1157, 6 ]
What is the latest year when Call of Duty 4: Modern Warfare was the game?
SELECT MAX("Year") FROM table_64969 WHERE "Game" = 'call of duty 4: modern warfare'
[ 2061, 318, 262, 3452, 614, 618, 4889, 286, 18104, 604, 25, 12495, 20745, 373, 262, 983, 30, 46506, 25882, 7203, 17688, 4943, 16034, 3084, 62, 33300, 3388, 33411, 366, 8777, 1, 796, 705, 13345, 286, 7077, 604, 25, 3660, 15611, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 3452, 614, 618, 4889, 286, 18104, 604, 25, 12495, 20745, 373, 262, 983, 30, 46506, 25882, 7203, 17688, 4943, 16034, 3084, 62, 33300, 3388, 33411, 366, 8777, 1, 796, 705, 13345, 286, 7077, 604, 25, 3660, 15611, 6 ]
List the names of aircrafts and the number of times it won matches.
SELECT T1.Aircraft, COUNT(*) FROM aircraft AS T1 JOIN MATCH AS T2 ON T1.Aircraft_ID = T2.Winning_Aircraft GROUP BY T2.Winning_Aircraft
[ 8053, 262, 3891, 286, 6215, 82, 290, 262, 1271, 286, 1661, 340, 1839, 7466, 13, 46506, 309, 16, 13, 32, 27002, 11, 327, 28270, 7, 28104, 16034, 6215, 7054, 309, 16, 32357, 1268, 337, 11417, 7054, 309, 17, 6177, 309, 16, 13, 32, 27...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 8053, 262, 3891, 286, 6215, 82, 290, 262, 1271, 286, 1661, 340, 1839, 7466, 13, 46506, 309, 16, 13, 32, 27002, 11, 327, 28270, 7, 28104, 16034, 6215, 7054, 309, 16, 32357, 1268, 337, 11417, 7054, 309, 17, 6177, 309, 16, 13, 32, 27...
What is the to par for the score 72-69-68=209?
SELECT to_par FROM table_name_11 WHERE score = 72 - 69 - 68 = 209
[ 2061, 318, 262, 284, 1582, 329, 262, 4776, 7724, 12, 3388, 12, 3104, 28, 22567, 30, 46506, 284, 62, 1845, 16034, 3084, 62, 3672, 62, 1157, 33411, 4776, 796, 7724, 532, 8644, 532, 8257, 796, 28815 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 284, 1582, 329, 262, 4776, 7724, 12, 3388, 12, 3104, 28, 22567, 30, 46506, 284, 62, 1845, 16034, 3084, 62, 3672, 62, 1157, 33411, 4776, 796, 7724, 532, 8644, 532, 8257, 796, 28815 ]
calculate patient 028-39354's length of stay in the intensive care unit for the first time.
SELECT STRFTIME('%j', patient.unitdischargetime) - STRFTIME('%j', patient.unitadmittime) FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '028-39354') AND NOT patient.unitadmittime IS NULL ORDER BY patient.unitadmittime LIMIT 1
[ 9948, 3129, 378, 5827, 657, 2078, 12, 2670, 32182, 338, 4129, 286, 2652, 287, 262, 18590, 1337, 4326, 329, 262, 717, 640, 13, 46506, 19269, 9792, 12789, 10786, 4, 73, 3256, 5827, 13, 20850, 6381, 354, 7641, 524, 8, 532, 19269, 9792, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9948, 3129, 378, 5827, 657, 2078, 12, 2670, 32182, 338, 4129, 286, 2652, 287, 262, 18590, 1337, 4326, 329, 262, 717, 640, 13, 46506, 19269, 9792, 12789, 10786, 4, 73, 3256, 5827, 13, 20850, 6381, 354, 7641, 524, 8, 532, 19269, 9792, ...
What is the average finish that has a start greater than 3, with honda as the engine, and 2011 as the year?
SELECT AVG(finish) FROM table_name_35 WHERE start > 3 AND engine = "honda" AND year = 2011
[ 2061, 318, 262, 2811, 5461, 326, 468, 257, 923, 3744, 621, 513, 11, 351, 289, 13533, 355, 262, 3113, 11, 290, 2813, 355, 262, 614, 30, 46506, 35224, 7, 15643, 680, 8, 16034, 3084, 62, 3672, 62, 2327, 33411, 923, 1875, 513, 5357, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2811, 5461, 326, 468, 257, 923, 3744, 621, 513, 11, 351, 289, 13533, 355, 262, 3113, 11, 290, 2813, 355, 262, 614, 30, 46506, 35224, 7, 15643, 680, 8, 16034, 3084, 62, 3672, 62, 2327, 33411, 923, 1875, 513, 5357, 3...
What is Gold, when Silver is 5, and when Nation is Belgium?
SELECT "Gold" FROM table_76978 WHERE "Silver" = '5' AND "Nation" = 'belgium'
[ 2061, 318, 3561, 11, 618, 7698, 318, 642, 11, 290, 618, 8741, 318, 15664, 30, 46506, 366, 13306, 1, 16034, 3084, 62, 22, 3388, 3695, 33411, 366, 26766, 1, 796, 705, 20, 6, 5357, 366, 46108, 1, 796, 705, 6667, 70, 1505, 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 ]
[ 2061, 318, 3561, 11, 618, 7698, 318, 642, 11, 290, 618, 8741, 318, 15664, 30, 46506, 366, 13306, 1, 16034, 3084, 62, 22, 3388, 3695, 33411, 366, 26766, 1, 796, 705, 20, 6, 5357, 366, 46108, 1, 796, 705, 6667, 70, 1505, 6 ]
Users with more than 28 questions.
WITH QuestionsPerUser AS (SELECT U.Id AS UserId, COUNT(*) AS QuestionCount FROM Users AS u INNER JOIN Posts AS p ON u.Id = p.OwnerUserId WHERE p.PostTypeId = 1 GROUP BY U.Id), UsersWITHMoreThan28Questions AS (SELECT * FROM QuestionsPerUser WHERE QuestionCount > 28) SELECT SUM(QuestionCount) FROM UsersWITHMoreThan28Ques...
[ 14490, 351, 517, 621, 2579, 2683, 13, 54, 10554, 20396, 5990, 12982, 7054, 357, 46506, 471, 13, 7390, 7054, 11787, 7390, 11, 327, 28270, 7, 28104, 7054, 18233, 12332, 16034, 18987, 7054, 334, 3268, 21479, 32357, 1268, 12043, 7054, 279, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 14490, 351, 517, 621, 2579, 2683, 13, 54, 10554, 20396, 5990, 12982, 7054, 357, 46506, 471, 13, 7390, 7054, 11787, 7390, 11, 327, 28270, 7, 28104, 7054, 18233, 12332, 16034, 18987, 7054, 334, 3268, 21479, 32357, 1268, 12043, 7054, 279, ...
What is the lowest Rank when Attempts was 319, and the Year was larger than 2000?
SELECT MIN("Rank") FROM table_38845 WHERE "Attempts" = '319' AND "Year" > '2000'
[ 2061, 318, 262, 9016, 10916, 618, 25770, 82, 373, 40385, 11, 290, 262, 6280, 373, 4025, 621, 4751, 30, 46506, 20625, 7203, 27520, 4943, 16034, 3084, 62, 30460, 2231, 33411, 366, 48452, 1, 796, 705, 35175, 6, 5357, 366, 17688, 1, 1875,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 9016, 10916, 618, 25770, 82, 373, 40385, 11, 290, 262, 6280, 373, 4025, 621, 4751, 30, 46506, 20625, 7203, 27520, 4943, 16034, 3084, 62, 30460, 2231, 33411, 366, 48452, 1, 796, 705, 35175, 6, 5357, 366, 17688, 1, 1875,...
In 1937, what was the finish?
SELECT "Finish" FROM table_80229 WHERE "Year" = '1937'
[ 818, 28684, 11, 644, 373, 262, 5461, 30, 46506, 366, 48658, 1, 16034, 3084, 62, 1795, 23539, 33411, 366, 17688, 1, 796, 705, 1129, 2718, 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 ]
[ 818, 28684, 11, 644, 373, 262, 5461, 30, 46506, 366, 48658, 1, 16034, 3084, 62, 1795, 23539, 33411, 366, 17688, 1, 796, 705, 1129, 2718, 6 ]
Who rode a Honda CBR1000rr, had fewer than 22 laps, and a time of +2 laps?
SELECT rider FROM table_name_43 WHERE bike = "honda cbr1000rr" AND laps < 22 AND time = "+2 laps"
[ 8241, 22075, 257, 20059, 10078, 49, 12825, 21062, 11, 550, 7380, 621, 2534, 24590, 11, 290, 257, 640, 286, 1343, 17, 24590, 30, 46506, 17876, 16034, 3084, 62, 3672, 62, 3559, 33411, 7161, 796, 366, 71, 13533, 269, 1671, 12825, 21062, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 22075, 257, 20059, 10078, 49, 12825, 21062, 11, 550, 7380, 621, 2534, 24590, 11, 290, 257, 640, 286, 1343, 17, 24590, 30, 46506, 17876, 16034, 3084, 62, 3672, 62, 3559, 33411, 7161, 796, 366, 71, 13533, 269, 1671, 12825, 21062, ...
What is set 3 when set 5 is na, set 1 is 21-25, and set 2 is 25-16?
SELECT set_3 FROM table_name_54 WHERE set_5 = "na" AND set_1 = "21-25" AND set_2 = "25-16"
[ 2061, 318, 900, 513, 618, 900, 642, 318, 12385, 11, 900, 352, 318, 2310, 12, 1495, 11, 290, 900, 362, 318, 1679, 12, 1433, 30, 46506, 900, 62, 18, 16034, 3084, 62, 3672, 62, 4051, 33411, 900, 62, 20, 796, 366, 2616, 1, 5357, 900...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 900, 513, 618, 900, 642, 318, 12385, 11, 900, 352, 318, 2310, 12, 1495, 11, 290, 900, 362, 318, 1679, 12, 1433, 30, 46506, 900, 62, 18, 16034, 3084, 62, 3672, 62, 4051, 33411, 900, 62, 20, 796, 366, 2616, 1, 5357, 900...
How many silvers for japan (1 gold)?
SELECT SUM("Silver") FROM table_57828 WHERE "Nation" = 'japan' AND "Gold" > '1'
[ 2437, 867, 3313, 690, 329, 474, 2674, 357, 16, 3869, 19427, 46506, 35683, 7203, 26766, 4943, 16034, 3084, 62, 38907, 2078, 33411, 366, 46108, 1, 796, 705, 73, 2674, 6, 5357, 366, 13306, 1, 1875, 705, 16, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 3313, 690, 329, 474, 2674, 357, 16, 3869, 19427, 46506, 35683, 7203, 26766, 4943, 16034, 3084, 62, 38907, 2078, 33411, 366, 46108, 1, 796, 705, 73, 2674, 6, 5357, 366, 13306, 1, 1875, 705, 16, 6 ]
Find the name of people whose age is greater than any engineer sorted by their age.
SELECT name FROM Person WHERE age > (SELECT MIN(age) FROM Person WHERE job = 'engineer') ORDER BY age
[ 16742, 262, 1438, 286, 661, 3025, 2479, 318, 3744, 621, 597, 11949, 23243, 416, 511, 2479, 13, 46506, 1438, 16034, 7755, 33411, 2479, 1875, 357, 46506, 20625, 7, 496, 8, 16034, 7755, 33411, 1693, 796, 705, 18392, 263, 11537, 38678, 1105...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1438, 286, 661, 3025, 2479, 318, 3744, 621, 597, 11949, 23243, 416, 511, 2479, 13, 46506, 1438, 16034, 7755, 33411, 2479, 1875, 357, 46506, 20625, 7, 496, 8, 16034, 7755, 33411, 1693, 796, 705, 18392, 263, 11537, 38678, 1105...
how many games were released for smartphones ?
SELECT COUNT("title") FROM table_203_580 WHERE NOT "smartphone" IS NULL
[ 4919, 867, 1830, 547, 2716, 329, 18151, 5633, 46506, 327, 28270, 7203, 7839, 4943, 16034, 3084, 62, 22416, 62, 39322, 33411, 5626, 366, 27004, 4862, 1, 3180, 15697 ]
[ 1, 1, 1, 1, 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, 1830, 547, 2716, 329, 18151, 5633, 46506, 327, 28270, 7203, 7839, 4943, 16034, 3084, 62, 22416, 62, 39322, 33411, 5626, 366, 27004, 4862, 1, 3180, 15697 ]
What is the finishing position for the person who had a grid of 3?
SELECT fin_pos FROM table_name_44 WHERE grid = "3"
[ 2061, 318, 262, 12848, 2292, 329, 262, 1048, 508, 550, 257, 10706, 286, 513, 30, 46506, 957, 62, 1930, 16034, 3084, 62, 3672, 62, 2598, 33411, 10706, 796, 366, 18, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 12848, 2292, 329, 262, 1048, 508, 550, 257, 10706, 286, 513, 30, 46506, 957, 62, 1930, 16034, 3084, 62, 3672, 62, 2598, 33411, 10706, 796, 366, 18, 1 ]
Count the Earnings per share ( ) in April smaller than 2012, a Revenue (US $million) of 432.6 and a EBIT (US $m) smaller than 150.5?
SELECT SUM("Earnings per share (\u00a2)") FROM table_60287 WHERE "Year to April" < '2012' AND "Revenue (US $million)" = '432.6' AND "EBIT (US $m)" < '150.5'
[ 12332, 262, 22535, 654, 583, 2648, 357, 1267, 287, 3035, 4833, 621, 2321, 11, 257, 20197, 357, 2937, 720, 14100, 8, 286, 46393, 13, 21, 290, 257, 412, 26094, 357, 2937, 720, 76, 8, 4833, 621, 6640, 13, 20, 30, 46506, 35683, 7203, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12332, 262, 22535, 654, 583, 2648, 357, 1267, 287, 3035, 4833, 621, 2321, 11, 257, 20197, 357, 2937, 720, 14100, 8, 286, 46393, 13, 21, 290, 257, 412, 26094, 357, 2937, 720, 76, 8, 4833, 621, 6640, 13, 20, 30, 46506, 35683, 7203, ...
Show a bar graph, the data is those times of trains that run through stations for the local authority Chiltern, and the Y axis is the total number of different times, could you list in descending by the Y-axis?
SELECT time, COUNT(time) FROM station AS t1 JOIN route AS t2 ON t1.id = t2.station_id JOIN train AS t3 ON t2.train_id = t3.id WHERE t1.local_authority = "Chiltern" GROUP BY time ORDER BY COUNT(time) DESC
[ 15307, 257, 2318, 4823, 11, 262, 1366, 318, 883, 1661, 286, 13404, 326, 1057, 832, 8985, 329, 262, 1957, 4934, 609, 346, 759, 11, 290, 262, 575, 16488, 318, 262, 2472, 1271, 286, 1180, 1661, 11, 714, 345, 1351, 287, 31491, 416, 262,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 257, 2318, 4823, 11, 262, 1366, 318, 883, 1661, 286, 13404, 326, 1057, 832, 8985, 329, 262, 1957, 4934, 609, 346, 759, 11, 290, 262, 575, 16488, 318, 262, 2472, 1271, 286, 1180, 1661, 11, 714, 345, 1351, 287, 31491, 416, 262,...
Name the sum of pick for philippines and erwin velez
SELECT SUM("Pick") FROM table_14347 WHERE "Country of Origin*" = 'philippines' AND "Player" = 'erwin velez'
[ 5376, 262, 2160, 286, 2298, 329, 872, 8908, 1127, 290, 1931, 5404, 1569, 36858, 46506, 35683, 7203, 31686, 4943, 16034, 3084, 62, 1415, 30995, 33411, 366, 33921, 286, 19349, 9, 1, 796, 705, 746, 8908, 1127, 6, 5357, 366, 14140, 1, 796...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 2160, 286, 2298, 329, 872, 8908, 1127, 290, 1931, 5404, 1569, 36858, 46506, 35683, 7203, 31686, 4943, 16034, 3084, 62, 1415, 30995, 33411, 366, 33921, 286, 19349, 9, 1, 796, 705, 746, 8908, 1127, 6, 5357, 366, 14140, 1, 796...
congenital heart disease.
SELECT * FROM table_train_72 WHERE heart_disease = 1
[ 36801, 268, 1287, 2612, 4369, 13, 46506, 1635, 16034, 3084, 62, 27432, 62, 4761, 33411, 2612, 62, 67, 786, 589, 796, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 36801, 268, 1287, 2612, 4369, 13, 46506, 1635, 16034, 3084, 62, 27432, 62, 4761, 33411, 2612, 62, 67, 786, 589, 796, 352 ]
is the pt - inr value of last measured on the current hospital visit on patient 022-187132 less than the value first measured on the current hospital visit?
SELECT (SELECT lab.labresult FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '022-187132' AND patient.hospitaldischargetime IS NULL)) AND lab.labname = 'pt -...
[ 271, 262, 42975, 532, 287, 81, 1988, 286, 938, 8630, 319, 262, 1459, 4436, 3187, 319, 5827, 657, 1828, 12, 23451, 19924, 1342, 621, 262, 1988, 717, 8630, 319, 262, 1459, 4436, 3187, 30, 46506, 357, 46506, 2248, 13, 23912, 20274, 16034...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 271, 262, 42975, 532, 287, 81, 1988, 286, 938, 8630, 319, 262, 1459, 4436, 3187, 319, 5827, 657, 1828, 12, 23451, 19924, 1342, 621, 262, 1988, 717, 8630, 319, 262, 1459, 4436, 3187, 30, 46506, 357, 46506, 2248, 13, 23912, 20274, 16034...