instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
What season had a winning profit of $15,000?
SELECT season FROM table_2311410_1 WHERE winning_profit___aud__ = "$15,000"
[ 2061, 1622, 550, 257, 5442, 7630, 286, 720, 1314, 11, 830, 30, 46506, 1622, 16034, 3084, 62, 1954, 16562, 940, 62, 16, 33411, 5442, 62, 9183, 17569, 3885, 834, 796, 17971, 1314, 11, 830, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1622, 550, 257, 5442, 7630, 286, 720, 1314, 11, 830, 30, 46506, 1622, 16034, 3084, 62, 1954, 16562, 940, 62, 16, 33411, 5442, 62, 9183, 17569, 3885, 834, 796, 17971, 1314, 11, 830, 1 ]
Tell me the surface for eastbourne 14 june 1999
SELECT surface FROM table_name_6 WHERE tournament = "eastbourne" AND date = "14 june 1999"
[ 24446, 502, 262, 4417, 329, 7627, 12544, 1478, 474, 1726, 7358, 46506, 4417, 16034, 3084, 62, 3672, 62, 21, 33411, 7756, 796, 366, 23316, 12544, 1, 5357, 3128, 796, 366, 1415, 474, 1726, 7358, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4417, 329, 7627, 12544, 1478, 474, 1726, 7358, 46506, 4417, 16034, 3084, 62, 3672, 62, 21, 33411, 7756, 796, 366, 23316, 12544, 1, 5357, 3128, 796, 366, 1415, 474, 1726, 7358, 1 ]
which production codes were written by andrew goldberg
SELECT production_code FROM table_26259391_1 WHERE written_by = "Andrew Goldberg"
[ 4758, 3227, 12416, 547, 3194, 416, 290, 1809, 3869, 3900, 46506, 3227, 62, 8189, 16034, 3084, 62, 2075, 25191, 37710, 62, 16, 33411, 3194, 62, 1525, 796, 366, 20508, 31225, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 3227, 12416, 547, 3194, 416, 290, 1809, 3869, 3900, 46506, 3227, 62, 8189, 16034, 3084, 62, 2075, 25191, 37710, 62, 16, 33411, 3194, 62, 1525, 796, 366, 20508, 31225, 1 ]
what was the total number of patients on ward 489 until 2 years ago?
SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.wardid = 489 AND DATETIME(patient.unitadmittime) <= DATETIME(CURRENT_TIME(), '-2 year')
[ 10919, 373, 262, 2472, 1271, 286, 3871, 319, 15305, 604, 4531, 1566, 362, 812, 2084, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 5827, 13, 403, 1557, 538, 312, 8, 16034, 5827, 33411, 5827, 13, 904, 312, 796, 604, 4531, 5357, 360...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2472, 1271, 286, 3871, 319, 15305, 604, 4531, 1566, 362, 812, 2084, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 5827, 13, 403, 1557, 538, 312, 8, 16034, 5827, 33411, 5827, 13, 904, 312, 796, 604, 4531, 5357, 360...
what was the win for the 6 matches?
SELECT wins FROM table_name_17 WHERE matches = "6"
[ 10919, 373, 262, 1592, 329, 262, 718, 7466, 30, 46506, 7864, 16034, 3084, 62, 3672, 62, 1558, 33411, 7466, 796, 366, 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 ]
[ 10919, 373, 262, 1592, 329, 262, 718, 7466, 30, 46506, 7864, 16034, 3084, 62, 3672, 62, 1558, 33411, 7466, 796, 366, 21, 1 ]
How many millions of people in the US saw the episode titled 'Ball of Trash'?
SELECT "U.S. Viewers (in millions)" FROM table_26040 WHERE "Title" = 'Ball of Trash'
[ 2437, 867, 5242, 286, 661, 287, 262, 1294, 2497, 262, 4471, 11946, 705, 23410, 286, 48161, 30960, 46506, 366, 52, 13, 50, 13, 3582, 364, 357, 259, 5242, 16725, 16034, 3084, 62, 21719, 1821, 33411, 366, 19160, 1, 796, 705, 23410, 286, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5242, 286, 661, 287, 262, 1294, 2497, 262, 4471, 11946, 705, 23410, 286, 48161, 30960, 46506, 366, 52, 13, 50, 13, 3582, 364, 357, 259, 5242, 16725, 16034, 3084, 62, 21719, 1821, 33411, 366, 19160, 1, 796, 705, 23410, 286, ...
What was the religious affiliation for the athletics nicknamed lords/ladies?
SELECT religious_affiliation FROM table_name_34 WHERE athletics_nickname = "lords/ladies"
[ 2061, 373, 262, 4158, 26218, 329, 262, 35691, 35786, 33200, 14, 9435, 444, 30, 46506, 4158, 62, 2001, 15547, 16034, 3084, 62, 3672, 62, 2682, 33411, 35691, 62, 17172, 3672, 796, 366, 19673, 14, 9435, 444, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4158, 26218, 329, 262, 35691, 35786, 33200, 14, 9435, 444, 30, 46506, 4158, 62, 2001, 15547, 16034, 3084, 62, 3672, 62, 2682, 33411, 35691, 62, 17172, 3672, 796, 366, 19673, 14, 9435, 444, 1 ]
how many titles has jamaica won since trinidad and tobago 's last title ?
SELECT COUNT(*) FROM table_202_253 WHERE "team" = 'jamaica' AND "titles" > (SELECT MAX("titles") FROM table_202_253 WHERE "team" = 'trinidad and tobago')
[ 4919, 867, 8714, 468, 474, 1689, 3970, 1839, 1201, 491, 259, 32482, 290, 10773, 3839, 705, 82, 938, 3670, 5633, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 19004, 62, 28592, 33411, 366, 15097, 1, 796, 705, 73, 1689, 3970, 6, 5357, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 8714, 468, 474, 1689, 3970, 1839, 1201, 491, 259, 32482, 290, 10773, 3839, 705, 82, 938, 3670, 5633, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 19004, 62, 28592, 33411, 366, 15097, 1, 796, 705, 73, 1689, 3970, 6, 5357, ...
What is the Draw that has Points larger than 44 and a Place larger than 1?
SELECT AVG(draw) FROM table_name_92 WHERE points > 44 AND place > 1
[ 2061, 318, 262, 15315, 326, 468, 11045, 4025, 621, 5846, 290, 257, 8474, 4025, 621, 352, 30, 46506, 35224, 7, 19334, 8, 16034, 3084, 62, 3672, 62, 5892, 33411, 2173, 1875, 5846, 5357, 1295, 1875, 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 ]
[ 2061, 318, 262, 15315, 326, 468, 11045, 4025, 621, 5846, 290, 257, 8474, 4025, 621, 352, 30, 46506, 35224, 7, 19334, 8, 16034, 3084, 62, 3672, 62, 5892, 33411, 2173, 1875, 5846, 5357, 1295, 1875, 352 ]
How many white-russian ethnic background patients have other pulmonary insufficiency not elsewhere classfied diagnoses?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.ethnicity = "WHITE - RUSSIAN" AND diagnoses.long_title = "Other pulmonary insufficiency, not elsewhere classified"
[ 2437, 867, 2330, 12, 81, 31562, 9450, 4469, 3871, 423, 584, 45105, 1035, 1648, 19777, 407, 8057, 1398, 69, 798, 40567, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 126...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2330, 12, 81, 31562, 9450, 4469, 3871, 423, 584, 45105, 1035, 1648, 19777, 407, 8057, 1398, 69, 798, 40567, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 126...
What is the lowest Rank with a Nation that is east germany?
SELECT MIN("Rank") FROM table_7652 WHERE "Nation" = 'east germany'
[ 2061, 318, 262, 9016, 10916, 351, 257, 8741, 326, 318, 7627, 308, 2224, 88, 30, 46506, 20625, 7203, 27520, 4943, 16034, 3084, 62, 29143, 17, 33411, 366, 46108, 1, 796, 705, 23316, 308, 2224, 88, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 9016, 10916, 351, 257, 8741, 326, 318, 7627, 308, 2224, 88, 30, 46506, 20625, 7203, 27520, 4943, 16034, 3084, 62, 29143, 17, 33411, 366, 46108, 1, 796, 705, 23316, 308, 2224, 88, 6 ]
What award was Trent Tesoro nominated for in 2007?
SELECT award FROM table_name_2 WHERE result = "nominated" AND year = 2007
[ 2061, 5764, 373, 24269, 10696, 16522, 19332, 329, 287, 4343, 30, 46506, 5764, 16034, 3084, 62, 3672, 62, 17, 33411, 1255, 796, 366, 26601, 3898, 1, 5357, 614, 796, 4343 ]
[ 1, 1, 1, 1, 1, 1, 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, 5764, 373, 24269, 10696, 16522, 19332, 329, 287, 4343, 30, 46506, 5764, 16034, 3084, 62, 3672, 62, 17, 33411, 1255, 796, 366, 26601, 3898, 1, 5357, 614, 796, 4343 ]
Which Bronze is the highest one that has a Rank larger than 1, and a Nation of dominican republic, and a Total larger than 4?
SELECT MAX("Bronze") FROM table_75486 WHERE "Rank" > '1' AND "Nation" = 'dominican republic' AND "Total" > '4'
[ 13828, 19461, 318, 262, 4511, 530, 326, 468, 257, 10916, 4025, 621, 352, 11, 290, 257, 8741, 286, 7462, 7490, 17146, 11, 290, 257, 7472, 4025, 621, 604, 30, 46506, 25882, 7203, 18760, 2736, 4943, 16034, 3084, 62, 2425, 34251, 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...
[ 13828, 19461, 318, 262, 4511, 530, 326, 468, 257, 10916, 4025, 621, 352, 11, 290, 257, 8741, 286, 7462, 7490, 17146, 11, 290, 257, 7472, 4025, 621, 604, 30, 46506, 25882, 7203, 18760, 2736, 4943, 16034, 3084, 62, 2425, 34251, 33411, 3...
what were the first outputs of patient 027-62948 until 1285 days ago?
SELECT intakeoutput.celllabel FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '027-62948')) AND intakeoutput.cellpath LIKE '%output%' AND D...
[ 10919, 547, 262, 717, 23862, 286, 5827, 657, 1983, 12, 48602, 2780, 1566, 1105, 5332, 1528, 2084, 30, 46506, 10337, 22915, 13, 3846, 18242, 16034, 10337, 22915, 33411, 10337, 22915, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 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...
[ 10919, 547, 262, 717, 23862, 286, 5827, 657, 1983, 12, 48602, 2780, 1566, 1105, 5332, 1528, 2084, 30, 46506, 10337, 22915, 13, 3846, 18242, 16034, 10337, 22915, 33411, 10337, 22915, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13...
When did the Baltimore Ravens play at home ?
SELECT date FROM table_name_79 WHERE host_team = "baltimore ravens"
[ 2215, 750, 262, 10346, 20091, 711, 379, 1363, 5633, 46506, 3128, 16034, 3084, 62, 3672, 62, 3720, 33411, 2583, 62, 15097, 796, 366, 65, 2501, 9401, 37735, 82, 1 ]
[ 1, 1, 1, 1, 1, 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, 750, 262, 10346, 20091, 711, 379, 1363, 5633, 46506, 3128, 16034, 3084, 62, 3672, 62, 3720, 33411, 2583, 62, 15097, 796, 366, 65, 2501, 9401, 37735, 82, 1 ]
what is admission location and discharge location of subject id 22377?
SELECT demographic.admission_location, demographic.discharge_location FROM demographic WHERE demographic.subject_id = "22377"
[ 10919, 318, 13938, 4067, 290, 17655, 4067, 286, 2426, 4686, 30299, 3324, 30, 46506, 16728, 13, 324, 3411, 62, 24886, 11, 16728, 13, 6381, 10136, 62, 24886, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 1828, 26514, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13938, 4067, 290, 17655, 4067, 286, 2426, 4686, 30299, 3324, 30, 46506, 16728, 13, 324, 3411, 62, 24886, 11, 16728, 13, 6381, 10136, 62, 24886, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 1828, 26514, 1 ]
How long until I get the pundit badge?. List comments in order of score
SELECT Posts.Title, Comments.Text, Comments.Score, Posts.Id, Posts.ParentId FROM Comments INNER JOIN Posts ON Comments.PostId = Posts.Id WHERE UserId = @UserId ORDER BY Comments.Score DESC, Posts.ParentId, Posts.Id
[ 2437, 890, 1566, 314, 651, 262, 24745, 270, 23009, 30, 13, 7343, 3651, 287, 1502, 286, 4776, 46506, 12043, 13, 19160, 11, 19502, 13, 8206, 11, 19502, 13, 26595, 11, 12043, 13, 7390, 11, 12043, 13, 24546, 7390, 16034, 19502, 3268, 2147...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 890, 1566, 314, 651, 262, 24745, 270, 23009, 30, 13, 7343, 3651, 287, 1502, 286, 4776, 46506, 12043, 13, 19160, 11, 19502, 13, 8206, 11, 19502, 13, 26595, 11, 12043, 13, 7390, 11, 12043, 13, 24546, 7390, 16034, 19502, 3268, 2147...
which name is listed below niki palli ?
SELECT "name" FROM table_204_173 WHERE id = (SELECT id FROM table_204_173 WHERE "name" = 'niki palli') + 1
[ 4758, 1438, 318, 5610, 2174, 299, 5580, 279, 36546, 5633, 46506, 366, 3672, 1, 16034, 3084, 62, 18638, 62, 25399, 33411, 4686, 796, 357, 46506, 4686, 16034, 3084, 62, 18638, 62, 25399, 33411, 366, 3672, 1, 796, 705, 77, 5580, 279, 365...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1438, 318, 5610, 2174, 299, 5580, 279, 36546, 5633, 46506, 366, 3672, 1, 16034, 3084, 62, 18638, 62, 25399, 33411, 4686, 796, 357, 46506, 4686, 16034, 3084, 62, 18638, 62, 25399, 33411, 366, 3672, 1, 796, 705, 77, 5580, 279, 365...
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, return a scatter chart about the correlation between commission_pct and manager_id .
SELECT COMMISSION_PCT, MANAGER_ID FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40
[ 1890, 883, 4409, 3025, 9588, 318, 287, 262, 2837, 286, 38055, 290, 1105, 830, 290, 5810, 318, 407, 9242, 393, 5011, 1271, 857, 407, 4961, 284, 2319, 11, 1441, 257, 41058, 8262, 546, 262, 16096, 1022, 5810, 62, 79, 310, 290, 4706, 62...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4409, 3025, 9588, 318, 287, 262, 2837, 286, 38055, 290, 1105, 830, 290, 5810, 318, 407, 9242, 393, 5011, 1271, 857, 407, 4961, 284, 2319, 11, 1441, 257, 41058, 8262, 546, 262, 16096, 1022, 5810, 62, 79, 310, 290, 4706, 62...
What is the Location when Canada was the runner-up and Australia was the winner?
SELECT location FROM table_name_77 WHERE runners_up = "canada" AND winners = "australia"
[ 2061, 318, 262, 13397, 618, 3340, 373, 262, 17490, 12, 929, 290, 4505, 373, 262, 8464, 30, 46506, 4067, 16034, 3084, 62, 3672, 62, 3324, 33411, 19323, 62, 929, 796, 366, 5171, 4763, 1, 5357, 14591, 796, 366, 64, 436, 1373, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 13397, 618, 3340, 373, 262, 17490, 12, 929, 290, 4505, 373, 262, 8464, 30, 46506, 4067, 16034, 3084, 62, 3672, 62, 3324, 33411, 19323, 62, 929, 796, 366, 5171, 4763, 1, 5357, 14591, 796, 366, 64, 436, 1373, 544, 1 ]
For those employees who do not work in departments with managers that have ids between 100 and 200, show me about the distribution of hire_date and the amount of hire_date bin hire_date by weekday in a bar chart.
SELECT HIRE_DATE, COUNT(HIRE_DATE) FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200)
[ 1890, 883, 4409, 508, 466, 407, 670, 287, 13346, 351, 11663, 326, 423, 220, 2340, 1022, 1802, 290, 939, 11, 905, 502, 546, 262, 6082, 286, 11078, 62, 4475, 290, 262, 2033, 286, 11078, 62, 4475, 9874, 11078, 62, 4475, 416, 28269, 287...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4409, 508, 466, 407, 670, 287, 13346, 351, 11663, 326, 423, 220, 2340, 1022, 1802, 290, 939, 11, 905, 502, 546, 262, 6082, 286, 11078, 62, 4475, 290, 262, 2033, 286, 11078, 62, 4475, 9874, 11078, 62, 4475, 416, 28269, 287...
How many drama workshop groups are there in each city? Return both the city and the count with a bar chart.
SELECT City_Town, COUNT(*) FROM Addresses AS T1 JOIN Drama_Workshop_Groups AS T2 ON T1.Address_ID = T2.Address_ID GROUP BY T1.City_Town
[ 2437, 867, 10512, 20243, 2628, 389, 612, 287, 1123, 1748, 30, 8229, 1111, 262, 1748, 290, 262, 954, 351, 257, 2318, 8262, 13, 46506, 2254, 62, 38097, 11, 327, 28270, 7, 28104, 16034, 3060, 16746, 7054, 309, 16, 32357, 1268, 30647, 62,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2437, 867, 10512, 20243, 2628, 389, 612, 287, 1123, 1748, 30, 8229, 1111, 262, 1748, 290, 262, 954, 351, 257, 2318, 8262, 13, 46506, 2254, 62, 38097, 11, 327, 28270, 7, 28104, 16034, 3060, 16746, 7054, 309, 16, 32357, 1268, 30647, 62,...
what was the first height of patient 031-22988 since 86 months ago.
SELECT patient.admissionheight FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '031-22988') AND NOT patient.admissionheight IS NULL AND DATETIME(patient.unitadmittime) >= DATETIME(CURRENT_TIME(), '-86 month') ORDER BY patient.unita...
[ 10919, 373, 262, 717, 6001, 286, 5827, 657, 3132, 12, 23539, 3459, 1201, 9849, 1933, 2084, 13, 46506, 5827, 13, 324, 3411, 17015, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6001, 286, 5827, 657, 3132, 12, 23539, 3459, 1201, 9849, 1933, 2084, 13, 46506, 5827, 13, 324, 3411, 17015, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 1...
What position did the winnipeg blue bombers draft?
SELECT position FROM table_16575609_1 WHERE cfl_team = "Winnipeg Blue Bombers"
[ 2061, 2292, 750, 262, 1592, 77, 21700, 4171, 26127, 4538, 30, 46506, 2292, 16034, 3084, 62, 20986, 2425, 31751, 62, 16, 33411, 269, 2704, 62, 15097, 796, 366, 54, 3732, 21700, 4518, 20403, 1213, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 2292, 750, 262, 1592, 77, 21700, 4171, 26127, 4538, 30, 46506, 2292, 16034, 3084, 62, 20986, 2425, 31751, 62, 16, 33411, 269, 2704, 62, 15097, 796, 366, 54, 3732, 21700, 4518, 20403, 1213, 1 ]
what are the genders of patient 015-56556?
SELECT DISTINCT patient.gender FROM patient WHERE patient.uniquepid = '015-56556'
[ 10919, 389, 262, 38054, 286, 5827, 5534, 20, 12, 3980, 37864, 30, 46506, 360, 8808, 1268, 4177, 5827, 13, 8388, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 25150, 12, 3980, 37864, 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 ]
[ 10919, 389, 262, 38054, 286, 5827, 5534, 20, 12, 3980, 37864, 30, 46506, 360, 8808, 1268, 4177, 5827, 13, 8388, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 25150, 12, 3980, 37864, 6 ]
On what grounds did the away team of the Toronto Rebels play?
SELECT ground FROM table_name_5 WHERE away = "toronto rebels"
[ 2202, 644, 9384, 750, 262, 1497, 1074, 286, 262, 6586, 36069, 711, 30, 46506, 2323, 16034, 3084, 62, 3672, 62, 20, 33411, 1497, 796, 366, 13165, 5957, 12669, 1 ]
[ 1, 1, 1, 1, 1, 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, 9384, 750, 262, 1497, 1074, 286, 262, 6586, 36069, 711, 30, 46506, 2323, 16034, 3084, 62, 3672, 62, 20, 33411, 1497, 796, 366, 13165, 5957, 12669, 1 ]
What is the maximum apogee for samos f3-3?
SELECT MAX(apogee__km_) FROM table_12141496_1 WHERE name = "SAMOS F3-3"
[ 2061, 318, 262, 5415, 2471, 78, 29622, 329, 6072, 418, 277, 18, 12, 18, 30, 46506, 25882, 7, 41817, 29622, 834, 13276, 62, 8, 16034, 3084, 62, 1065, 1415, 1415, 4846, 62, 16, 33411, 1438, 796, 366, 49302, 2640, 376, 18, 12, 18, 1 ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 5415, 2471, 78, 29622, 329, 6072, 418, 277, 18, 12, 18, 30, 46506, 25882, 7, 41817, 29622, 834, 13276, 62, 8, 16034, 3084, 62, 1065, 1415, 1415, 4846, 62, 16, 33411, 1438, 796, 366, 49302, 2640, 376, 18, 12, 18, 1 ...
What shows for sat 20 aug when fri 26 aug is 19' 30.70 116.023mph?
SELECT sat_20_aug FROM table_30058355_2 WHERE fri_26_aug = "19' 30.70 116.023mph"
[ 2061, 2523, 329, 3332, 1160, 16339, 618, 32803, 2608, 16339, 318, 678, 6, 1542, 13, 2154, 18693, 13, 45310, 23335, 30, 46506, 3332, 62, 1238, 62, 7493, 16034, 3084, 62, 6200, 3365, 28567, 62, 17, 33411, 32803, 62, 2075, 62, 7493, 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 ]
[ 2061, 2523, 329, 3332, 1160, 16339, 618, 32803, 2608, 16339, 318, 678, 6, 1542, 13, 2154, 18693, 13, 45310, 23335, 30, 46506, 3332, 62, 1238, 62, 7493, 16034, 3084, 62, 6200, 3365, 28567, 62, 17, 33411, 32803, 62, 2075, 62, 7493, 796,...
Who was the opponent when Devin Gardner was the player?
SELECT "Opponent" FROM table_28313 WHERE "Player" = 'Devin Gardner'
[ 8241, 373, 262, 6125, 618, 37081, 27911, 373, 262, 2137, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 2078, 25838, 33411, 366, 14140, 1, 796, 705, 35, 6830, 27911, 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, 373, 262, 6125, 618, 37081, 27911, 373, 262, 2137, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 2078, 25838, 33411, 366, 14140, 1, 796, 705, 35, 6830, 27911, 6 ]
What is the list of school locations sorted in ascending order of school enrollment?
SELECT location FROM school ORDER BY enrollment
[ 2061, 318, 262, 1351, 286, 1524, 7064, 23243, 287, 41988, 1502, 286, 1524, 20753, 30, 46506, 4067, 16034, 1524, 38678, 11050, 20753 ]
[ 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, 1351, 286, 1524, 7064, 23243, 287, 41988, 1502, 286, 1524, 20753, 30, 46506, 4067, 16034, 1524, 38678, 11050, 20753 ]
Which tyre was before 1995 with 142 laps?
SELECT tyres FROM table_name_14 WHERE year < 1995 AND laps = 142
[ 13828, 48216, 373, 878, 8735, 351, 25181, 24590, 30, 46506, 40498, 16034, 3084, 62, 3672, 62, 1415, 33411, 614, 1279, 8735, 5357, 24590, 796, 25181 ]
[ 1, 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, 48216, 373, 878, 8735, 351, 25181, 24590, 30, 46506, 40498, 16034, 3084, 62, 3672, 62, 1415, 33411, 614, 1279, 8735, 5357, 24590, 796, 25181 ]
What is the Place of the Player with a Score of 70-68=138?
SELECT "Place" FROM table_50706 WHERE "Score" = '70-68=138'
[ 2061, 318, 262, 8474, 286, 262, 7853, 351, 257, 15178, 286, 4317, 12, 3104, 28, 20107, 30, 46506, 366, 27271, 1, 16034, 3084, 62, 1120, 35402, 33411, 366, 26595, 1, 796, 705, 2154, 12, 3104, 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, 1, 1, 1 ]
[ 2061, 318, 262, 8474, 286, 262, 7853, 351, 257, 15178, 286, 4317, 12, 3104, 28, 20107, 30, 46506, 366, 27271, 1, 16034, 3084, 62, 1120, 35402, 33411, 366, 26595, 1, 796, 705, 2154, 12, 3104, 28, 20107, 6 ]
List the studios of each film and the number of films produced by that studio. Show bar chart.
SELECT Studio, COUNT(*) FROM film GROUP BY Studio
[ 8053, 262, 20747, 286, 1123, 2646, 290, 262, 1271, 286, 7328, 4635, 416, 326, 8034, 13, 5438, 2318, 8262, 13, 46506, 11733, 11, 327, 28270, 7, 28104, 16034, 2646, 44441, 11050, 11733 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 20747, 286, 1123, 2646, 290, 262, 1271, 286, 7328, 4635, 416, 326, 8034, 13, 5438, 2318, 8262, 13, 46506, 11733, 11, 327, 28270, 7, 28104, 16034, 2646, 44441, 11050, 11733 ]
What date did the episode 'the killing (part two)' originally air?
SELECT "Originalairdate" FROM table_26285 WHERE "Title" = 'The Killing (part two)'
[ 2061, 3128, 750, 262, 4471, 705, 1169, 5170, 357, 3911, 734, 33047, 6198, 1633, 30, 46506, 366, 20556, 958, 4475, 1, 16034, 3084, 62, 2075, 26279, 33411, 366, 19160, 1, 796, 705, 464, 25536, 357, 3911, 734, 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 ]
[ 2061, 3128, 750, 262, 4471, 705, 1169, 5170, 357, 3911, 734, 33047, 6198, 1633, 30, 46506, 366, 20556, 958, 4475, 1, 16034, 3084, 62, 2075, 26279, 33411, 366, 19160, 1, 796, 705, 464, 25536, 357, 3911, 734, 33047 ]
What episode number of the series aired on February 26, 1968?
SELECT series__number FROM table_25800134_12 WHERE airdate = "February 26, 1968"
[ 2061, 4471, 1271, 286, 262, 2168, 18530, 319, 3945, 2608, 11, 15963, 30, 46506, 2168, 834, 17618, 16034, 3084, 62, 1495, 7410, 19880, 62, 1065, 33411, 257, 1447, 378, 796, 366, 21816, 2608, 11, 15963, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4471, 1271, 286, 262, 2168, 18530, 319, 3945, 2608, 11, 15963, 30, 46506, 2168, 834, 17618, 16034, 3084, 62, 1495, 7410, 19880, 62, 1065, 33411, 257, 1447, 378, 796, 366, 21816, 2608, 11, 15963, 1 ]
is nominated for anything?
SELECT "Result" FROM table_19688 WHERE "Original title" = 'Γолемата Вода'
[ 271, 19332, 329, 1997, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 1129, 34427, 33411, 366, 20556, 3670, 1, 796, 705, 138, 241, 25443, 119, 16843, 43108, 16142, 20375, 16142, 12466, 240, 25443, 112, 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 ]
[ 271, 19332, 329, 1997, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 1129, 34427, 33411, 366, 20556, 3670, 1, 796, 705, 138, 241, 25443, 119, 16843, 43108, 16142, 20375, 16142, 12466, 240, 25443, 112, 16142, 6 ]
what are all the Canadian air dates where the u.s. air date is may 1, 2009
SELECT "Canadian airdate" FROM table_482 WHERE "U.S. airdate" = 'May 1, 2009'
[ 10919, 389, 477, 262, 5398, 1633, 9667, 810, 262, 334, 13, 82, 13, 1633, 3128, 318, 743, 352, 11, 3717, 46506, 366, 28203, 257, 1447, 378, 1, 16034, 3084, 62, 40149, 33411, 366, 52, 13, 50, 13, 257, 1447, 378, 1, 796, 705, 6747, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 389, 477, 262, 5398, 1633, 9667, 810, 262, 334, 13, 82, 13, 1633, 3128, 318, 743, 352, 11, 3717, 46506, 366, 28203, 257, 1447, 378, 1, 16034, 3084, 62, 40149, 33411, 366, 52, 13, 50, 13, 257, 1447, 378, 1, 796, 705, 6747, ...
Who was the winner of stage 11?
SELECT "Winner" FROM table_69068 WHERE "Stage" = '11'
[ 8241, 373, 262, 8464, 286, 3800, 1367, 30, 46506, 366, 48056, 1, 16034, 3084, 62, 35844, 3104, 33411, 366, 29391, 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 ]
[ 8241, 373, 262, 8464, 286, 3800, 1367, 30, 46506, 366, 48056, 1, 16034, 3084, 62, 35844, 3104, 33411, 366, 29391, 1, 796, 705, 1157, 6 ]
Show the ids of the investors who have at least two transactions.
SELECT T2.investor_id FROM INVESTORS AS T1 JOIN TRANSACTIONS AS T2 ON T1.investor_id = T2.investor_id GROUP BY T2.investor_id HAVING COUNT(*) >= 2
[ 15307, 262, 220, 2340, 286, 262, 7713, 508, 423, 379, 1551, 734, 8945, 13, 46506, 309, 17, 13, 24859, 273, 62, 312, 16034, 34899, 6465, 20673, 7054, 309, 16, 32357, 1268, 44069, 10659, 11053, 7054, 309, 17, 6177, 309, 16, 13, 24859, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 220, 2340, 286, 262, 7713, 508, 423, 379, 1551, 734, 8945, 13, 46506, 309, 17, 13, 24859, 273, 62, 312, 16034, 34899, 6465, 20673, 7054, 309, 16, 32357, 1268, 44069, 10659, 11053, 7054, 309, 17, 6177, 309, 16, 13, 24859, ...
What is the Date of the game with a Record of 1 2 4?
SELECT "Date" FROM table_47170 WHERE "Record" = '1–2–4'
[ 2061, 318, 262, 7536, 286, 262, 983, 351, 257, 13266, 286, 352, 362, 604, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 2857, 17279, 33411, 366, 23739, 1, 796, 705, 16, 1906, 17, 1906, 19, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 7536, 286, 262, 983, 351, 257, 13266, 286, 352, 362, 604, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 2857, 17279, 33411, 366, 23739, 1, 796, 705, 16, 1906, 17, 1906, 19, 6 ]
Difference between accepted and highest-rated answer.
SELECT Answers.Id AS accId, Answers2.Id AS bestId, Answers.CreationDate AS accDate, Answers2.CreationDate AS bestDate, Answers.Score AS accScore, Answers2.Score AS bestScore, (CAST(Answers2.CreationDate AS INT) - CAST(Answers.CreationDate AS INT)) AS Dif, Questions.Tags AS tags FROM Posts AS Questions INNER JOIN Posts ...
[ 28813, 1945, 1022, 6292, 290, 4511, 12, 4111, 3280, 13, 46506, 42612, 13, 7390, 7054, 697, 7390, 11, 42612, 17, 13, 7390, 7054, 1266, 7390, 11, 42612, 13, 12443, 341, 10430, 7054, 697, 10430, 11, 42612, 17, 13, 12443, 341, 10430, 7054...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 28813, 1945, 1022, 6292, 290, 4511, 12, 4111, 3280, 13, 46506, 42612, 13, 7390, 7054, 697, 7390, 11, 42612, 17, 13, 7390, 7054, 1266, 7390, 11, 42612, 13, 12443, 341, 10430, 7054, 697, 10430, 11, 42612, 17, 13, 12443, 341, 10430, 7054...
show all flights from MIAMI to JFK
SELECT DISTINCT flight.flight_id FROM airport, airport_service, city, flight WHERE airport.airport_code = 'JFK' AND city.city_code = airport_service.city_code AND city.city_name = 'MIAMI' AND flight.from_airport = airport_service.airport_code AND flight.to_airport = airport.airport_code
[ 12860, 477, 13956, 422, 15789, 43870, 284, 35216, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 11, 9003, 62, 15271, 11, 1748, 11, 5474, 33411, 9003, 13, 958, 634, 62, 8189, 796, 705, 41, 26236, 6, 5357, 1748, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 477, 13956, 422, 15789, 43870, 284, 35216, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 11, 9003, 62, 15271, 11, 1748, 11, 5474, 33411, 9003, 13, 958, 634, 62, 8189, 796, 705, 41, 26236, 6, 5357, 1748, ...
what were the top five most frequently prescribed medicines in this year?
SELECT t1.drugname FROM (SELECT medication.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM medication WHERE DATETIME(medication.drugstarttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') GROUP BY medication.drugname) AS t1 WHERE t1.c1 <= 5
[ 10919, 547, 262, 1353, 1936, 749, 6777, 14798, 23533, 287, 428, 614, 30, 46506, 256, 16, 13, 30349, 3672, 16034, 357, 46506, 14103, 13, 30349, 3672, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, 7, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 547, 262, 1353, 1936, 749, 6777, 14798, 23533, 287, 428, 614, 30, 46506, 256, 16, 13, 30349, 3672, 16034, 357, 46506, 14103, 13, 30349, 3672, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, 7, 2...
Who won the Brands Hatch circuit?
SELECT "Winning driver" FROM table_16741 WHERE "Circuit" = 'Brands Hatch'
[ 8241, 1839, 262, 46129, 31537, 10349, 30, 46506, 366, 16643, 768, 4639, 1, 16034, 3084, 62, 21940, 3901, 33411, 366, 31560, 5013, 1, 796, 705, 9414, 1746, 31537, 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 ]
[ 8241, 1839, 262, 46129, 31537, 10349, 30, 46506, 366, 16643, 768, 4639, 1, 16034, 3084, 62, 21940, 3901, 33411, 366, 31560, 5013, 1, 796, 705, 9414, 1746, 31537, 6 ]
WHAT IS THE ELEVATION OF THE UNAKA MOUNTAINS, IN ROAN HIGH BLUFF PEAK, AND ISOLATION LARGER THAN 1.54?
SELECT AVG(elevation__ft_) FROM table_name_77 WHERE range = "unaka mountains" AND peak_name = "roan high bluff" AND isolation > 1.54
[ 32971, 3180, 3336, 40342, 53, 6234, 3963, 3336, 471, 4535, 25123, 337, 19385, 5603, 20913, 11, 3268, 15107, 1565, 34677, 9878, 47588, 18468, 10206, 11, 5357, 3180, 3535, 6234, 47211, 30373, 2320, 1565, 352, 13, 4051, 30, 46506, 35224, 7, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 32971, 3180, 3336, 40342, 53, 6234, 3963, 3336, 471, 4535, 25123, 337, 19385, 5603, 20913, 11, 3268, 15107, 1565, 34677, 9878, 47588, 18468, 10206, 11, 5357, 3180, 3535, 6234, 47211, 30373, 2320, 1565, 352, 13, 4051, 30, 46506, 35224, 7, ...
Which To par has a Country of england, and a Place of t9, and a Player of graeme storm?
SELECT MAX(to_par) FROM table_name_47 WHERE country = "england" AND place = "t9" AND player = "graeme storm"
[ 13828, 1675, 1582, 468, 257, 12946, 286, 1786, 1044, 11, 290, 257, 8474, 286, 256, 24, 11, 290, 257, 7853, 286, 7933, 34755, 6388, 30, 46506, 25882, 7, 1462, 62, 1845, 8, 16034, 3084, 62, 3672, 62, 2857, 33411, 1499, 796, 366, 1516,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1675, 1582, 468, 257, 12946, 286, 1786, 1044, 11, 290, 257, 8474, 286, 256, 24, 11, 290, 257, 7853, 286, 7933, 34755, 6388, 30, 46506, 25882, 7, 1462, 62, 1845, 8, 16034, 3084, 62, 3672, 62, 2857, 33411, 1499, 796, 366, 1516,...
what is the average age of patients whose primary disease is copd exacerbation and who were admitted in or after year 2166?
SELECT AVG(demographic.age) FROM demographic WHERE demographic.diagnosis = "COPD EXACERBATION" AND demographic.admityear >= "2166"
[ 10919, 318, 262, 2811, 2479, 286, 3871, 3025, 4165, 4369, 318, 2243, 67, 22907, 341, 290, 508, 547, 6848, 287, 393, 706, 614, 362, 23055, 30, 46506, 35224, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 47356, 5958, 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...
[ 10919, 318, 262, 2811, 2479, 286, 3871, 3025, 4165, 4369, 318, 2243, 67, 22907, 341, 290, 508, 547, 6848, 287, 393, 706, 614, 362, 23055, 30, 46506, 35224, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 47356, 5958, 796, ...
What was the production code for the episode with 3.38 million viewers?
SELECT production_code FROM table_20726262_3 WHERE usviewers__million_ = "3.38"
[ 2061, 373, 262, 3227, 2438, 329, 262, 4471, 351, 513, 13, 2548, 1510, 10209, 30, 46506, 3227, 62, 8189, 16034, 3084, 62, 22745, 2075, 29119, 62, 18, 33411, 514, 1177, 364, 834, 14100, 62, 796, 366, 18, 13, 2548, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3227, 2438, 329, 262, 4471, 351, 513, 13, 2548, 1510, 10209, 30, 46506, 3227, 62, 8189, 16034, 3084, 62, 22745, 2075, 29119, 62, 18, 33411, 514, 1177, 364, 834, 14100, 62, 796, 366, 18, 13, 2548, 1 ]
What are the average number of played with goals of less than 43, more than 9 draws, a higher position than 17 and 30-8 points?
SELECT AVG("Played") FROM table_69318 WHERE "Goals for" < '43' AND "Draws" > '9' AND "Position" > '17' AND "Points" = '30-8'
[ 2061, 389, 262, 2811, 1271, 286, 2826, 351, 4661, 286, 1342, 621, 5946, 11, 517, 621, 860, 14293, 11, 257, 2440, 2292, 621, 1596, 290, 1542, 12, 23, 2173, 30, 46506, 35224, 7203, 11002, 276, 4943, 16034, 3084, 62, 3388, 36042, 33411, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2811, 1271, 286, 2826, 351, 4661, 286, 1342, 621, 5946, 11, 517, 621, 860, 14293, 11, 257, 2440, 2292, 621, 1596, 290, 1542, 12, 23, 2173, 30, 46506, 35224, 7203, 11002, 276, 4943, 16034, 3084, 62, 3388, 36042, 33411, ...
Where did Ben Gordon (8) have the high assists?
SELECT "Location Attendance" FROM table_8148 WHERE "High assists" = 'ben gordon (8)'
[ 8496, 750, 3932, 11646, 357, 23, 8, 423, 262, 1029, 13648, 30, 46506, 366, 14749, 46502, 590, 1, 16034, 3084, 62, 23, 18294, 33411, 366, 11922, 13648, 1, 796, 705, 11722, 308, 9999, 357, 23, 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 ]
[ 8496, 750, 3932, 11646, 357, 23, 8, 423, 262, 1029, 13648, 30, 46506, 366, 14749, 46502, 590, 1, 16034, 3084, 62, 23, 18294, 33411, 366, 11922, 13648, 1, 796, 705, 11722, 308, 9999, 357, 23, 33047 ]
What year was the accolade for Scottish albums of the decade?
SELECT year FROM table_name_83 WHERE accolade = "scottish albums of the decade"
[ 2061, 614, 373, 262, 45667, 671, 329, 11905, 16788, 286, 262, 5707, 30, 46506, 614, 16034, 3084, 62, 3672, 62, 5999, 33411, 45667, 671, 796, 366, 1416, 1252, 680, 16788, 286, 262, 5707, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 614, 373, 262, 45667, 671, 329, 11905, 16788, 286, 262, 5707, 30, 46506, 614, 16034, 3084, 62, 3672, 62, 5999, 33411, 45667, 671, 796, 366, 1416, 1252, 680, 16788, 286, 262, 5707, 1 ]
get the number of patients on main type drug prescription who have procedure icd9 code 8960.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE procedures.icd9_code = "8960" AND prescriptions.drug_type = "MAIN"
[ 1136, 262, 1271, 286, 3871, 319, 1388, 2099, 2563, 15077, 508, 423, 8771, 14158, 67, 24, 2438, 9919, 1899, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 617...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1136, 262, 1271, 286, 3871, 319, 1388, 2099, 2563, 15077, 508, 423, 8771, 14158, 67, 24, 2438, 9919, 1899, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 617...
What is the Torque of the Model 320td (diesel)?
SELECT torque FROM table_name_27 WHERE model = "320td (diesel)"
[ 2061, 318, 262, 4022, 4188, 286, 262, 9104, 20959, 8671, 357, 25990, 417, 19427, 46506, 26415, 16034, 3084, 62, 3672, 62, 1983, 33411, 2746, 796, 366, 19504, 8671, 357, 25990, 417, 16725 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4022, 4188, 286, 262, 9104, 20959, 8671, 357, 25990, 417, 19427, 46506, 26415, 16034, 3084, 62, 3672, 62, 1983, 33411, 2746, 796, 366, 19504, 8671, 357, 25990, 417, 16725 ]
What is Date, when Outcome is 'Runner Up', and when Opponent is 'Lu Jiaxiang'?
SELECT "Date" FROM table_58623 WHERE "Outcome" = 'runner up' AND "Opponent" = 'lu jiaxiang'
[ 2061, 318, 7536, 11, 618, 3806, 2958, 318, 705, 49493, 3205, 3256, 290, 618, 9385, 3471, 318, 705, 25596, 449, 544, 87, 15483, 30960, 46506, 366, 10430, 1, 16034, 3084, 62, 29796, 1954, 33411, 366, 7975, 2958, 1, 796, 705, 16737, 510,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 7536, 11, 618, 3806, 2958, 318, 705, 49493, 3205, 3256, 290, 618, 9385, 3471, 318, 705, 25596, 449, 544, 87, 15483, 30960, 46506, 366, 10430, 1, 16034, 3084, 62, 29796, 1954, 33411, 366, 7975, 2958, 1, 796, 705, 16737, 510,...
How big was the crowd of away team Richmond?
SELECT crowd FROM table_name_34 WHERE away_team = "richmond"
[ 2437, 1263, 373, 262, 4315, 286, 1497, 1074, 16940, 30, 46506, 4315, 16034, 3084, 62, 3672, 62, 2682, 33411, 1497, 62, 15097, 796, 366, 7527, 6327, 1 ]
[ 1, 1, 1, 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, 1263, 373, 262, 4315, 286, 1497, 1074, 16940, 30, 46506, 4315, 16034, 3084, 62, 3672, 62, 2682, 33411, 1497, 62, 15097, 796, 366, 7527, 6327, 1 ]
stack exchange big with accepted answers.
SELECT COUNT(1) FROM (SELECT Id, AcceptedAnswerId FROM Posts WHERE AcceptedAnswerId > 0 AND ViewCount > 1000) AS Posts JOIN Posts AS Answers ON Posts.AcceptedAnswerId = Answers.Id
[ 25558, 5163, 1263, 351, 6292, 7429, 13, 46506, 327, 28270, 7, 16, 8, 16034, 357, 46506, 5121, 11, 21699, 276, 33706, 7390, 16034, 12043, 33411, 21699, 276, 33706, 7390, 1875, 657, 5357, 3582, 12332, 1875, 8576, 8, 7054, 12043, 32357, 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 ]
[ 25558, 5163, 1263, 351, 6292, 7429, 13, 46506, 327, 28270, 7, 16, 8, 16034, 357, 46506, 5121, 11, 21699, 276, 33706, 7390, 16034, 12043, 33411, 21699, 276, 33706, 7390, 1875, 657, 5357, 3582, 12332, 1875, 8576, 8, 7054, 12043, 32357, 12...
what is the chassis when the tyre is b, the engine is ferrari 050 ferrari 051 and the driver is rubens barrichello?
SELECT "Chassis" FROM table_77583 WHERE "Tyre" = 'b' AND "Engine \u2020" = 'ferrari 050 ferrari 051' AND "Driver" = 'rubens barrichello'
[ 10919, 318, 262, 24587, 618, 262, 48216, 318, 275, 11, 262, 3113, 318, 277, 8056, 2743, 657, 1120, 277, 8056, 2743, 657, 4349, 290, 262, 4639, 318, 6437, 641, 31853, 31373, 30, 46506, 366, 1925, 20297, 1, 16034, 3084, 62, 34483, 5999,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 24587, 618, 262, 48216, 318, 275, 11, 262, 3113, 318, 277, 8056, 2743, 657, 1120, 277, 8056, 2743, 657, 4349, 290, 262, 4639, 318, 6437, 641, 31853, 31373, 30, 46506, 366, 1925, 20297, 1, 16034, 3084, 62, 34483, 5999,...
What is the name of the company that constructed the vehicle for Timo Glock?
SELECT constructor FROM table_name_15 WHERE driver = "timo glock"
[ 2061, 318, 262, 1438, 286, 262, 1664, 326, 12006, 262, 4038, 329, 5045, 78, 45152, 30, 46506, 23772, 16034, 3084, 62, 3672, 62, 1314, 33411, 4639, 796, 366, 16514, 78, 1278, 735, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1664, 326, 12006, 262, 4038, 329, 5045, 78, 45152, 30, 46506, 23772, 16034, 3084, 62, 3672, 62, 1314, 33411, 4639, 796, 366, 16514, 78, 1278, 735, 1 ]
What are the Poles for Season 2006
SELECT "Poles" FROM table_44589 WHERE "Season" = '2006'
[ 2061, 389, 262, 45631, 329, 7369, 4793, 46506, 366, 47, 4316, 1, 16034, 3084, 62, 43489, 4531, 33411, 366, 18960, 1, 796, 705, 13330, 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, 389, 262, 45631, 329, 7369, 4793, 46506, 366, 47, 4316, 1, 16034, 3084, 62, 43489, 4531, 33411, 366, 18960, 1, 796, 705, 13330, 6 ]
For those employees who was hired before 2002-06-21, a line chart shows the change of salary over hire_date
SELECT HIRE_DATE, SALARY FROM employees WHERE HIRE_DATE < '2002-06-21'
[ 1890, 883, 4409, 508, 373, 9657, 878, 6244, 12, 3312, 12, 2481, 11, 257, 1627, 8262, 2523, 262, 1487, 286, 9588, 625, 11078, 62, 4475, 46506, 36210, 2200, 62, 35, 6158, 11, 42475, 13153, 16034, 4409, 33411, 36210, 2200, 62, 35, 6158, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1890, 883, 4409, 508, 373, 9657, 878, 6244, 12, 3312, 12, 2481, 11, 257, 1627, 8262, 2523, 262, 1487, 286, 9588, 625, 11078, 62, 4475, 46506, 36210, 2200, 62, 35, 6158, 11, 42475, 13153, 16034, 4409, 33411, 36210, 2200, 62, 35, 6158, ...
For those records from the products and each product's manufacturer, draw a bar chart about the distribution of headquarter and the sum of manufacturer , and group by attribute headquarter.
SELECT Headquarter, SUM(Manufacturer) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Headquarter
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 3197, 257, 2318, 8262, 546, 262, 6082, 286, 1182, 24385, 290, 262, 2160, 286, 11554, 837, 290, 1448, 416, 11688, 1182, 24385, 13, 46506, 7123, 24385, 11, 35683, 7, 4444...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 3197, 257, 2318, 8262, 546, 262, 6082, 286, 1182, 24385, 290, 262, 2160, 286, 11554, 837, 290, 1448, 416, 11688, 1182, 24385, 13, 46506, 7123, 24385, 11, 35683, 7, 4444...
What player that has a Nationality of Turkey, a Height smaller than 183, a shirt no smaller than 19, and a birth date of June 27, 1993 (age20)?
SELECT "Player" FROM table_65519 WHERE "Nationality" = 'turkey' AND "Height" < '183' AND "Shirt No" < '19' AND "Birth Date" = 'june 27, 1993 (age20)'
[ 2061, 2137, 326, 468, 257, 2351, 414, 286, 7137, 11, 257, 27280, 4833, 621, 28551, 11, 257, 10147, 645, 4833, 621, 678, 11, 290, 257, 4082, 3128, 286, 2795, 2681, 11, 9656, 357, 496, 1238, 19427, 46506, 366, 14140, 1, 16034, 3084, 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...
[ 2061, 2137, 326, 468, 257, 2351, 414, 286, 7137, 11, 257, 27280, 4833, 621, 28551, 11, 257, 10147, 645, 4833, 621, 678, 11, 290, 257, 4082, 3128, 286, 2795, 2681, 11, 9656, 357, 496, 1238, 19427, 46506, 366, 14140, 1, 16034, 3084, 6...
What is the name of the school with the Tornadoes Lady Tornadoes?
SELECT school FROM table_name_41 WHERE nickname_s_ = "tornadoes lady tornadoes"
[ 2061, 318, 262, 1438, 286, 262, 1524, 351, 262, 31940, 46368, 11182, 31940, 46368, 30, 46506, 1524, 16034, 3084, 62, 3672, 62, 3901, 33411, 21814, 62, 82, 62, 796, 366, 45910, 46368, 10846, 12445, 46368, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1524, 351, 262, 31940, 46368, 11182, 31940, 46368, 30, 46506, 1524, 16034, 3084, 62, 3672, 62, 3901, 33411, 21814, 62, 82, 62, 796, 366, 45910, 46368, 10846, 12445, 46368, 1 ]
How many minutes were played by Sue Bird?
SELECT MIN(minutes) FROM table_24915964_4 WHERE player = "Sue Bird"
[ 2437, 867, 2431, 547, 2826, 416, 26089, 14506, 30, 46506, 20625, 7, 1084, 1769, 8, 16034, 3084, 62, 21626, 19707, 2414, 62, 19, 33411, 2137, 796, 366, 50, 518, 14506, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 2431, 547, 2826, 416, 26089, 14506, 30, 46506, 20625, 7, 1084, 1769, 8, 16034, 3084, 62, 21626, 19707, 2414, 62, 19, 33411, 2137, 796, 366, 50, 518, 14506, 1 ]
keyphrases used by kentaro toyama
SELECT DISTINCT keyphrase.keyphraseid FROM author, keyphrase, paper, paperkeyphrase, writes WHERE author.authorname = 'kentaro toyama' AND paperkeyphrase.keyphraseid = keyphrase.keyphraseid AND paper.paperid = paperkeyphrase.paperid AND writes.authorid = author.authorid AND writes.paperid = paper.paperid
[ 2539, 746, 81, 1386, 973, 416, 479, 298, 12022, 13373, 1689, 46506, 360, 8808, 1268, 4177, 1994, 34675, 13, 2539, 34675, 312, 16034, 1772, 11, 1994, 34675, 11, 3348, 11, 3348, 2539, 34675, 11, 6797, 33411, 1772, 13, 18439, 1211, 480, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2539, 746, 81, 1386, 973, 416, 479, 298, 12022, 13373, 1689, 46506, 360, 8808, 1268, 4177, 1994, 34675, 13, 2539, 34675, 312, 16034, 1772, 11, 1994, 34675, 11, 3348, 11, 3348, 2539, 34675, 11, 6797, 33411, 1772, 13, 18439, 1211, 480, ...
Name the number of scores for 5x06
SELECT COUNT(scores) FROM table_23292220_5 WHERE episode = "5x06"
[ 5376, 262, 1271, 286, 8198, 329, 642, 87, 3312, 46506, 327, 28270, 7, 1416, 2850, 8, 16034, 3084, 62, 1954, 1959, 1828, 1238, 62, 20, 33411, 4471, 796, 366, 20, 87, 3312, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 1271, 286, 8198, 329, 642, 87, 3312, 46506, 327, 28270, 7, 1416, 2850, 8, 16034, 3084, 62, 1954, 1959, 1828, 1238, 62, 20, 33411, 4471, 796, 366, 20, 87, 3312, 1 ]
What class can I take this semester that 's a prerequisite for most other classes ?
SELECT COUNT(DISTINCT COURSE_PREREQUISITEalias0.course_id), COURSEalias0.department, COURSEalias0.name, COURSEalias0.number FROM (SELECT course_id FROM student_record WHERE earn_credit = 'Y' AND student_id = 1) AS DERIVED_TABLEalias0, course AS COURSEalias0, course AS COURSEalias1, course_offering AS COURSE_OFFERINGali...
[ 2061, 1398, 460, 314, 1011, 428, 24878, 326, 705, 82, 257, 43119, 329, 749, 584, 6097, 5633, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 37384, 5188, 62, 4805, 9338, 10917, 1797, 12709, 26011, 15, 13, 17319, 62, 312, 828, 37384, 5188,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1398, 460, 314, 1011, 428, 24878, 326, 705, 82, 257, 43119, 329, 749, 584, 6097, 5633, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 37384, 5188, 62, 4805, 9338, 10917, 1797, 12709, 26011, 15, 13, 17319, 62, 312, 828, 37384, 5188,...
What was the finishing position with 13 points?
SELECT "Fin. Pos" FROM table_8447 WHERE "Points" = '13'
[ 2061, 373, 262, 12848, 2292, 351, 1511, 2173, 30, 46506, 366, 18467, 13, 18574, 1, 16034, 3084, 62, 23, 34825, 33411, 366, 40710, 1, 796, 705, 1485, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 12848, 2292, 351, 1511, 2173, 30, 46506, 366, 18467, 13, 18574, 1, 16034, 3084, 62, 23, 34825, 33411, 366, 40710, 1, 796, 705, 1485, 6 ]
Show the reign and days held of wrestlers.
SELECT Reign, Days_held FROM wrestler
[ 15307, 262, 13580, 290, 1528, 2714, 286, 41758, 13, 46506, 29297, 11, 12579, 62, 10217, 16034, 34845 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 262, 13580, 290, 1528, 2714, 286, 41758, 13, 46506, 29297, 11, 12579, 62, 10217, 16034, 34845 ]
What males speak Polish?
SELECT males FROM table_name_22 WHERE language = "polish"
[ 2061, 10835, 2740, 15945, 30, 46506, 10835, 16034, 3084, 62, 3672, 62, 1828, 33411, 3303, 796, 366, 16104, 680, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 10835, 2740, 15945, 30, 46506, 10835, 16034, 3084, 62, 3672, 62, 1828, 33411, 3303, 796, 366, 16104, 680, 1 ]
how much is patient 10855's difference in weight last measured on the current hospital visit compared to the second to last value measured on the current hospital visit?
SELECT (SELECT chartevents.valuenum FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 10855 AND admissions.dischtime IS NULL)) AND chartevents.itemid IN (SELECT d_items.itemid FROM...
[ 4919, 881, 318, 5827, 15495, 2816, 338, 3580, 287, 3463, 938, 8630, 319, 262, 1459, 4436, 3187, 3688, 284, 262, 1218, 284, 938, 1988, 8630, 319, 262, 1459, 4436, 3187, 30, 46506, 357, 46506, 8262, 31534, 13, 2100, 84, 44709, 16034, 82...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 881, 318, 5827, 15495, 2816, 338, 3580, 287, 3463, 938, 8630, 319, 262, 1459, 4436, 3187, 3688, 284, 262, 1218, 284, 938, 1988, 8630, 319, 262, 1459, 4436, 3187, 30, 46506, 357, 46506, 8262, 31534, 13, 2100, 84, 44709, 16034, 82...
i need information for a flight from DENVER to ATLANTA
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 = 'DENVER' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'ATLANTA...
[ 72, 761, 1321, 329, 257, 5474, 422, 37692, 5959, 284, 41051, 8643, 11159, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 72, 761, 1321, 329, 257, 5474, 422, 37692, 5959, 284, 41051, 8643, 11159, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, ...
Which Rank has a Col (m) of 0, and a Peak of aoraki/mount cook, and a Prominence (m) larger than 3,755?
SELECT SUM(rank) FROM table_name_32 WHERE col__m_ = 0 AND peak = "aoraki/mount cook" AND prominence__m_ > 3 OFFSET 755
[ 13828, 10916, 468, 257, 1623, 357, 76, 8, 286, 657, 11, 290, 257, 23974, 286, 257, 273, 8182, 14, 14948, 4255, 11, 290, 257, 10335, 18386, 357, 76, 8, 4025, 621, 513, 11, 38172, 30, 46506, 35683, 7, 43027, 8, 16034, 3084, 62, 3672...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 13828, 10916, 468, 257, 1623, 357, 76, 8, 286, 657, 11, 290, 257, 23974, 286, 257, 273, 8182, 14, 14948, 4255, 11, 290, 257, 10335, 18386, 357, 76, 8, 4025, 621, 513, 11, 38172, 30, 46506, 35683, 7, 43027, 8, 16034, 3084, 62, 3672...
Who was David Adams partner on the match played on Clay Surface with a Score in the final of 6 3, 6 7 (5 7) , 7 6 (7 5)?
SELECT partner FROM table_name_53 WHERE surface = "clay" AND score_in_the_final = "6–3, 6–7 (5–7) , 7–6 (7–5)"
[ 8241, 373, 3271, 12620, 5212, 319, 262, 2872, 2826, 319, 15551, 20321, 351, 257, 15178, 287, 262, 2457, 286, 718, 513, 11, 718, 767, 357, 20, 767, 8, 837, 767, 718, 357, 22, 642, 19427, 46506, 5212, 16034, 3084, 62, 3672, 62, 4310, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3271, 12620, 5212, 319, 262, 2872, 2826, 319, 15551, 20321, 351, 257, 15178, 287, 262, 2457, 286, 718, 513, 11, 718, 767, 357, 20, 767, 8, 837, 767, 718, 357, 22, 642, 19427, 46506, 5212, 16034, 3084, 62, 3672, 62, 4310, ...
what is admission time of subject id 29961?
SELECT demographic.admittime FROM demographic WHERE demographic.subject_id = "29961"
[ 10919, 318, 13938, 640, 286, 2426, 4686, 31011, 5333, 30, 46506, 16728, 13, 324, 20124, 524, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 1959, 4846, 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 ]
[ 10919, 318, 13938, 640, 286, 2426, 4686, 31011, 5333, 30, 46506, 16728, 13, 324, 20124, 524, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 1959, 4846, 16, 1 ]
What is the affiliation of the University of Maryland?
SELECT affiliation FROM table_name_54 WHERE school = "university of maryland"
[ 2061, 318, 262, 26218, 286, 262, 2059, 286, 10769, 30, 46506, 26218, 16034, 3084, 62, 3672, 62, 4051, 33411, 1524, 796, 366, 403, 1608, 286, 285, 560, 1044, 1 ]
[ 1, 1, 1, 1, 1, 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, 26218, 286, 262, 2059, 286, 10769, 30, 46506, 26218, 16034, 3084, 62, 3672, 62, 4051, 33411, 1524, 796, 366, 403, 1608, 286, 285, 560, 1044, 1 ]
which event did anton lyuboslavskiy finish in first ?
SELECT "event" FROM table_203_677 WHERE "position" = 1
[ 4758, 1785, 750, 281, 1122, 22404, 549, 26388, 20545, 88, 5461, 287, 717, 5633, 46506, 366, 15596, 1, 16034, 3084, 62, 22416, 62, 40179, 33411, 366, 9150, 1, 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 ]
[ 4758, 1785, 750, 281, 1122, 22404, 549, 26388, 20545, 88, 5461, 287, 717, 5633, 46506, 366, 15596, 1, 16034, 3084, 62, 22416, 62, 40179, 33411, 366, 9150, 1, 796, 352 ]
What was the aspect ratio if the vertical pixel is 480 and pixel aspect ratio is 1:1?
SELECT aspect_ratio FROM table_272313_1 WHERE vertical = 480 AND pixel_aspect_ratio = "1:1"
[ 2061, 373, 262, 4843, 8064, 611, 262, 11723, 17465, 318, 23487, 290, 17465, 4843, 8064, 318, 352, 25, 16, 30, 46506, 4843, 62, 10366, 952, 16034, 3084, 62, 1983, 1954, 1485, 62, 16, 33411, 11723, 796, 23487, 5357, 17465, 62, 292, 806,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4843, 8064, 611, 262, 11723, 17465, 318, 23487, 290, 17465, 4843, 8064, 318, 352, 25, 16, 30, 46506, 4843, 62, 10366, 952, 16034, 3084, 62, 1983, 1954, 1485, 62, 16, 33411, 11723, 796, 23487, 5357, 17465, 62, 292, 806,...
Show me the total number by product category in a histogram
SELECT product_category, COUNT(*) FROM Mailshot_Campaigns GROUP BY product_category
[ 15307, 502, 262, 2472, 1271, 416, 1720, 6536, 287, 257, 1554, 21857, 46506, 1720, 62, 22872, 11, 327, 28270, 7, 28104, 16034, 11099, 9442, 62, 46102, 82, 44441, 11050, 1720, 62, 22872 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 502, 262, 2472, 1271, 416, 1720, 6536, 287, 257, 1554, 21857, 46506, 1720, 62, 22872, 11, 327, 28270, 7, 28104, 16034, 11099, 9442, 62, 46102, 82, 44441, 11050, 1720, 62, 22872 ]
how many days have passed since patient 035-2205 received the last pulmonary/ccm consultation treatment in this hospital visit?
SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', treatment.treatmenttime)) FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '035-2205' ...
[ 4919, 867, 1528, 423, 3804, 1201, 5827, 657, 2327, 12, 17572, 20, 2722, 262, 938, 45105, 14, 535, 76, 18103, 3513, 287, 428, 4436, 3187, 30, 46506, 352, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694, 28955, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3804, 1201, 5827, 657, 2327, 12, 17572, 20, 2722, 262, 938, 45105, 14, 535, 76, 18103, 3513, 287, 428, 4436, 3187, 30, 46506, 352, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694, 28955, ...
Which 2008 had a 1998 and 2006 that were a when 2009 was sf?
SELECT 2008 FROM table_name_16 WHERE 1998 = "a" AND 2009 = "sf" AND 2006 = "a"
[ 13828, 3648, 550, 257, 7795, 290, 4793, 326, 547, 257, 618, 3717, 373, 264, 69, 30, 46506, 3648, 16034, 3084, 62, 3672, 62, 1433, 33411, 7795, 796, 366, 64, 1, 5357, 3717, 796, 366, 28202, 1, 5357, 4793, 796, 366, 64, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 3648, 550, 257, 7795, 290, 4793, 326, 547, 257, 618, 3717, 373, 264, 69, 30, 46506, 3648, 16034, 3084, 62, 3672, 62, 1433, 33411, 7795, 796, 366, 64, 1, 5357, 3717, 796, 366, 28202, 1, 5357, 4793, 796, 366, 64, 1 ]
What is the country with a t7 place and a 69-68-72=209 score?
SELECT "Country" FROM table_50234 WHERE "Place" = 't7' AND "Score" = '69-68-72=209'
[ 2061, 318, 262, 1499, 351, 257, 256, 22, 1295, 290, 257, 8644, 12, 3104, 12, 4761, 28, 22567, 4776, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 1120, 24409, 33411, 366, 27271, 1, 796, 705, 83, 22, 6, 5357, 366, 26595, 1, 796, 705, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1499, 351, 257, 256, 22, 1295, 290, 257, 8644, 12, 3104, 12, 4761, 28, 22567, 4776, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 1120, 24409, 33411, 366, 27271, 1, 796, 705, 83, 22, 6, 5357, 366, 26595, 1, 796, 705, ...
what is the number of times 15 ml vial : sodium phosphate 3 mmole/ml iv soln was ordered until 2104?
SELECT COUNT(*) FROM medication WHERE medication.drugname = '15 ml vial : sodium phosphate 3 mmole/ml iv soln' AND STRFTIME('%y', medication.drugstarttime) <= '2104'
[ 10919, 318, 262, 1271, 286, 1661, 1315, 25962, 410, 498, 1058, 21072, 46926, 513, 8085, 2305, 14, 4029, 21628, 1540, 77, 373, 6149, 1566, 362, 13464, 30, 46506, 327, 28270, 7, 28104, 16034, 14103, 33411, 14103, 13, 30349, 3672, 796, 705...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 1271, 286, 1661, 1315, 25962, 410, 498, 1058, 21072, 46926, 513, 8085, 2305, 14, 4029, 21628, 1540, 77, 373, 6149, 1566, 362, 13464, 30, 46506, 327, 28270, 7, 28104, 16034, 14103, 33411, 14103, 13, 30349, 3672, 796, 705...
For those employees who do not work in departments with managers that have ids between 100 and 200, show me about the distribution of phone_number and manager_id in a bar chart, could you sort from high to low by the PHONE_NUMBER?
SELECT PHONE_NUMBER, MANAGER_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY PHONE_NUMBER DESC
[ 1890, 883, 4409, 508, 466, 407, 670, 287, 13346, 351, 11663, 326, 423, 220, 2340, 1022, 1802, 290, 939, 11, 905, 502, 546, 262, 6082, 286, 3072, 62, 17618, 290, 4706, 62, 312, 287, 257, 2318, 8262, 11, 714, 345, 3297, 422, 1029, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4409, 508, 466, 407, 670, 287, 13346, 351, 11663, 326, 423, 220, 2340, 1022, 1802, 290, 939, 11, 905, 502, 546, 262, 6082, 286, 3072, 62, 17618, 290, 4706, 62, 312, 287, 257, 2318, 8262, 11, 714, 345, 3297, 422, 1029, 2...
For those employees who do not work in departments with managers that have ids between 100 and 200, visualize a bar chart about the distribution of hire_date and the amount of hire_date bin hire_date by time, and I want to rank from high to low by the y-axis.
SELECT HIRE_DATE, COUNT(HIRE_DATE) FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY COUNT(HIRE_DATE) DESC
[ 1890, 883, 4409, 508, 466, 407, 670, 287, 13346, 351, 11663, 326, 423, 220, 2340, 1022, 1802, 290, 939, 11, 38350, 257, 2318, 8262, 546, 262, 6082, 286, 11078, 62, 4475, 290, 262, 2033, 286, 11078, 62, 4475, 9874, 11078, 62, 4475, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4409, 508, 466, 407, 670, 287, 13346, 351, 11663, 326, 423, 220, 2340, 1022, 1802, 290, 939, 11, 38350, 257, 2318, 8262, 546, 262, 6082, 286, 11078, 62, 4475, 290, 262, 2033, 286, 11078, 62, 4475, 9874, 11078, 62, 4475, 4...
what is the team when the location attendace is boston garden and the series is 0-1?
SELECT "Team" FROM table_44354 WHERE "Location Attendance" = 'boston garden' AND "Series" = '0-1'
[ 10919, 318, 262, 1074, 618, 262, 4067, 5262, 558, 318, 275, 5744, 11376, 290, 262, 2168, 318, 657, 12, 16, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 2598, 32182, 33411, 366, 14749, 46502, 590, 1, 796, 705, 65, 5744, 11376, 6, 5357,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 1074, 618, 262, 4067, 5262, 558, 318, 275, 5744, 11376, 290, 262, 2168, 318, 657, 12, 16, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 2598, 32182, 33411, 366, 14749, 46502, 590, 1, 796, 705, 65, 5744, 11376, 6, 5357,...
What Event used submission (rear naked choke) with 9-4?
SELECT event FROM table_name_11 WHERE method = "submission (rear naked choke)" AND record = "9-4"
[ 2061, 8558, 973, 14498, 357, 260, 283, 12105, 28504, 8, 351, 860, 12, 19, 30, 46506, 1785, 16034, 3084, 62, 3672, 62, 1157, 33411, 2446, 796, 366, 7266, 3411, 357, 260, 283, 12105, 28504, 16725, 5357, 1700, 796, 366, 24, 12, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 8558, 973, 14498, 357, 260, 283, 12105, 28504, 8, 351, 860, 12, 19, 30, 46506, 1785, 16034, 3084, 62, 3672, 62, 1157, 33411, 2446, 796, 366, 7266, 3411, 357, 260, 283, 12105, 28504, 16725, 5357, 1700, 796, 366, 24, 12, 19, 1 ]
Name the series number that aired on november 11, 1996
SELECT series__number FROM table_18646432_1 WHERE original_air_date = "November 11, 1996"
[ 5376, 262, 2168, 1271, 326, 18530, 319, 645, 303, 1916, 1367, 11, 8235, 46506, 2168, 834, 17618, 16034, 3084, 62, 1507, 2414, 2414, 2624, 62, 16, 33411, 2656, 62, 958, 62, 4475, 796, 366, 21159, 1367, 11, 8235, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2168, 1271, 326, 18530, 319, 645, 303, 1916, 1367, 11, 8235, 46506, 2168, 834, 17618, 16034, 3084, 62, 1507, 2414, 2414, 2624, 62, 16, 33411, 2656, 62, 958, 62, 4475, 796, 366, 21159, 1367, 11, 8235, 1 ]
Who had the fastest lap in the Dutch TT Grand Prix?
SELECT "Fastest Lap" FROM table_73001 WHERE "Grand Prix" = 'Dutch TT'
[ 8241, 550, 262, 14162, 14779, 287, 262, 10914, 26653, 5675, 23832, 30, 46506, 366, 22968, 395, 26944, 1, 16034, 3084, 62, 4790, 8298, 33411, 366, 23581, 23832, 1, 796, 705, 49717, 26653, 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 ]
[ 8241, 550, 262, 14162, 14779, 287, 262, 10914, 26653, 5675, 23832, 30, 46506, 366, 22968, 395, 26944, 1, 16034, 3084, 62, 4790, 8298, 33411, 366, 23581, 23832, 1, 796, 705, 49717, 26653, 6 ]
hba1c 6 _ 9 %
SELECT * FROM table_train_203 WHERE hemoglobin_a1c_hba1c >= 6 AND hemoglobin_a1c_hba1c <= 9
[ 71, 7012, 16, 66, 718, 4808, 860, 4064, 46506, 1635, 16034, 3084, 62, 27432, 62, 22416, 33411, 16869, 49835, 62, 64, 16, 66, 62, 71, 7012, 16, 66, 18189, 718, 5357, 16869, 49835, 62, 64, 16, 66, 62, 71, 7012, 16, 66, 19841, 860 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 71, 7012, 16, 66, 718, 4808, 860, 4064, 46506, 1635, 16034, 3084, 62, 27432, 62, 22416, 33411, 16869, 49835, 62, 64, 16, 66, 62, 71, 7012, 16, 66, 18189, 718, 5357, 16869, 49835, 62, 64, 16, 66, 62, 71, 7012, 16, 66, 19841, 860 ]
Which score has an Opponent of @ athletics, and a Record of 76-57?
SELECT score FROM table_name_19 WHERE opponent = "@ athletics" AND record = "76-57"
[ 13828, 4776, 468, 281, 9385, 3471, 286, 2488, 35691, 11, 290, 257, 13266, 286, 8684, 12, 3553, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 1129, 33411, 6125, 796, 44212, 35691, 1, 5357, 1700, 796, 366, 4304, 12, 3553, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4776, 468, 281, 9385, 3471, 286, 2488, 35691, 11, 290, 257, 13266, 286, 8684, 12, 3553, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 1129, 33411, 6125, 796, 44212, 35691, 1, 5357, 1700, 796, 366, 4304, 12, 3553, 1 ]
Who is the home team when Preston North End is the away team?
SELECT "Home team" FROM table_46619 WHERE "Away team" = 'preston north end'
[ 8241, 318, 262, 1363, 1074, 618, 34564, 2258, 5268, 318, 262, 1497, 1074, 30, 46506, 366, 16060, 1074, 1, 16034, 3084, 62, 42199, 1129, 33411, 366, 32, 1014, 1074, 1, 796, 705, 79, 2118, 261, 5093, 886, 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 ]
[ 8241, 318, 262, 1363, 1074, 618, 34564, 2258, 5268, 318, 262, 1497, 1074, 30, 46506, 366, 16060, 1074, 1, 16034, 3084, 62, 42199, 1129, 33411, 366, 32, 1014, 1074, 1, 796, 705, 79, 2118, 261, 5093, 886, 6 ]
Who was the lead supporting vocalist on the song that was 4:54 long?
SELECT lead_supporting_vocal FROM table_name_32 WHERE time = "4:54"
[ 8241, 373, 262, 1085, 6493, 12435, 396, 319, 262, 3496, 326, 373, 604, 25, 4051, 890, 30, 46506, 1085, 62, 11284, 278, 62, 85, 4374, 16034, 3084, 62, 3672, 62, 2624, 33411, 640, 796, 366, 19, 25, 4051, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 373, 262, 1085, 6493, 12435, 396, 319, 262, 3496, 326, 373, 604, 25, 4051, 890, 30, 46506, 1085, 62, 11284, 278, 62, 85, 4374, 16034, 3084, 62, 3672, 62, 2624, 33411, 640, 796, 366, 19, 25, 4051, 1 ]
Just show the first name of the employee and list their manager's id in the Y-axis of the bar chart, I want to order in ascending by the Y-axis please.
SELECT FIRST_NAME, MANAGER_ID FROM employees ORDER BY MANAGER_ID
[ 5703, 905, 262, 717, 1438, 286, 262, 6538, 290, 1351, 511, 4706, 338, 4686, 287, 262, 575, 12, 22704, 286, 262, 2318, 8262, 11, 314, 765, 284, 1502, 287, 41988, 416, 262, 575, 12, 22704, 3387, 13, 46506, 31328, 62, 20608, 11, 17254,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5703, 905, 262, 717, 1438, 286, 262, 6538, 290, 1351, 511, 4706, 338, 4686, 287, 262, 575, 12, 22704, 286, 262, 2318, 8262, 11, 314, 765, 284, 1502, 287, 41988, 416, 262, 575, 12, 22704, 3387, 13, 46506, 31328, 62, 20608, 11, 17254,...
what is the average age of male patients who died before the year 2165?
SELECT AVG(demographic.age) FROM demographic WHERE demographic.gender = "M" AND demographic.dod_year < "2165.0"
[ 10919, 318, 262, 2811, 2479, 286, 4257, 3871, 508, 3724, 878, 262, 614, 362, 20986, 30, 46506, 35224, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 8388, 796, 366, 44, 1, 5357, 16728, 13, 67, 375, 62, 1941, 1279, 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 ]
[ 10919, 318, 262, 2811, 2479, 286, 4257, 3871, 508, 3724, 878, 262, 614, 362, 20986, 30, 46506, 35224, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 8388, 796, 366, 44, 1, 5357, 16728, 13, 67, 375, 62, 1941, 1279, 366, ...
Which Natural Wood Keyboard has a CLP380 ?
SELECT "Natural Wood Keyboard" FROM table_69591 WHERE "Model" = 'clp380'
[ 13828, 12068, 5326, 31973, 468, 257, 7852, 47, 23734, 5633, 46506, 366, 35364, 5326, 31973, 1, 16034, 3084, 62, 3388, 48952, 33411, 366, 17633, 1, 796, 705, 565, 79, 23734, 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, 12068, 5326, 31973, 468, 257, 7852, 47, 23734, 5633, 46506, 366, 35364, 5326, 31973, 1, 16034, 3084, 62, 3388, 48952, 33411, 366, 17633, 1, 796, 705, 565, 79, 23734, 6 ]
What was the Gdp (bn) for the region that has ioannina as its Capital?
SELECT gdp___bn__ FROM table_name_67 WHERE capital = "ioannina"
[ 2061, 373, 262, 402, 26059, 357, 9374, 8, 329, 262, 3814, 326, 468, 33245, 1236, 1437, 355, 663, 9747, 30, 46506, 308, 26059, 17569, 9374, 834, 16034, 3084, 62, 3672, 62, 3134, 33411, 3139, 796, 366, 952, 1236, 1437, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 402, 26059, 357, 9374, 8, 329, 262, 3814, 326, 468, 33245, 1236, 1437, 355, 663, 9747, 30, 46506, 308, 26059, 17569, 9374, 834, 16034, 3084, 62, 3672, 62, 3134, 33411, 3139, 796, 366, 952, 1236, 1437, 1 ]
Find the name of each user and number of tweets tweeted by each of them Visualize by bar chart, and order Y-axis from low to high order please.
SELECT name, COUNT(*) FROM user_profiles AS T1 JOIN tweets AS T2 ON T1.uid = T2.uid GROUP BY T2.uid ORDER BY COUNT(*)
[ 16742, 262, 1438, 286, 1123, 2836, 290, 1271, 286, 12665, 10830, 416, 1123, 286, 606, 15612, 1096, 416, 2318, 8262, 11, 290, 1502, 575, 12, 22704, 422, 1877, 284, 1029, 1502, 3387, 13, 46506, 1438, 11, 327, 28270, 7, 28104, 16034, 283...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1123, 2836, 290, 1271, 286, 12665, 10830, 416, 1123, 286, 606, 15612, 1096, 416, 2318, 8262, 11, 290, 1502, 575, 12, 22704, 422, 1877, 284, 1029, 1502, 3387, 13, 46506, 1438, 11, 327, 28270, 7, 28104, 16034, 283...
What was the average number of attendance for the game on November 29, 1981 played after week 13?
SELECT AVG(attendance) FROM table_name_40 WHERE date = "november 29, 1981" AND week > 13
[ 2061, 373, 262, 2811, 1271, 286, 14858, 329, 262, 983, 319, 3389, 2808, 11, 14745, 2826, 706, 1285, 1511, 30, 46506, 35224, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 1821, 33411, 3128, 796, 366, 77, 3239, 2808, 11, 14745, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1271, 286, 14858, 329, 262, 983, 319, 3389, 2808, 11, 14745, 2826, 706, 1285, 1511, 30, 46506, 35224, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 1821, 33411, 3128, 796, 366, 77, 3239, 2808, 11, 14745, 1, ...
What's the rank if the time was 5:54.57 and FB in notes?
SELECT "Rank" FROM table_65542 WHERE "Notes" = 'fb' AND "Time" = '5:54.57'
[ 2061, 338, 262, 4279, 611, 262, 640, 373, 642, 25, 4051, 13, 3553, 290, 13186, 287, 4710, 30, 46506, 366, 27520, 1, 16034, 3084, 62, 35916, 3682, 33411, 366, 16130, 1, 796, 705, 21855, 6, 5357, 366, 7575, 1, 796, 705, 20, 25, 4051...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4279, 611, 262, 640, 373, 642, 25, 4051, 13, 3553, 290, 13186, 287, 4710, 30, 46506, 366, 27520, 1, 16034, 3084, 62, 35916, 3682, 33411, 366, 16130, 1, 796, 705, 21855, 6, 5357, 366, 7575, 1, 796, 705, 20, 25, 4051...