instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
Number of comments by user.
SELECT UserId AS "user_link", COUNT(*) FROM Comments WHERE CreationDate BETWEEN '##fromDate:string##' AND '##tillDate:string##' GROUP BY UserId ORDER BY COUNT(*) DESC
[ 15057, 286, 3651, 416, 2836, 13, 46506, 11787, 7390, 7054, 366, 7220, 62, 8726, 1600, 327, 28270, 7, 28104, 16034, 19502, 33411, 21582, 10430, 38651, 8845, 1677, 705, 2235, 6738, 10430, 25, 8841, 2235, 6, 5357, 705, 2235, 83, 359, 10430...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15057, 286, 3651, 416, 2836, 13, 46506, 11787, 7390, 7054, 366, 7220, 62, 8726, 1600, 327, 28270, 7, 28104, 16034, 19502, 33411, 21582, 10430, 38651, 8845, 1677, 705, 2235, 6738, 10430, 25, 8841, 2235, 6, 5357, 705, 2235, 83, 359, 10430...
Show me The the Aftermath of Revolution courses of 4 credits please .
SELECT DISTINCT department, name, number FROM course WHERE (description LIKE '%The the Aftermath of Revolution%' OR name LIKE '%The the Aftermath of Revolution%') AND credits = 4
[ 15307, 502, 383, 262, 2293, 11018, 286, 9303, 10902, 286, 604, 10824, 3387, 764, 46506, 360, 8808, 1268, 4177, 5011, 11, 1438, 11, 1271, 16034, 1781, 33411, 357, 11213, 34178, 705, 4, 464, 262, 2293, 11018, 286, 9303, 4, 6, 6375, 1438...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 383, 262, 2293, 11018, 286, 9303, 10902, 286, 604, 10824, 3387, 764, 46506, 360, 8808, 1268, 4177, 5011, 11, 1438, 11, 1271, 16034, 1781, 33411, 357, 11213, 34178, 705, 4, 464, 262, 2293, 11018, 286, 9303, 4, 6, 6375, 1438...
What is the df when Adam Hinshelwood is Junior Mendes?
SELECT df FROM table_23835213_2 WHERE adam_hinshelwood = "Junior Mendes"
[ 2061, 318, 262, 47764, 618, 7244, 367, 1040, 2978, 3822, 318, 20000, 20442, 274, 30, 46506, 47764, 16034, 3084, 62, 23721, 2327, 26427, 62, 17, 33411, 23197, 62, 71, 1040, 2978, 3822, 796, 366, 22396, 1504, 20442, 274, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 47764, 618, 7244, 367, 1040, 2978, 3822, 318, 20000, 20442, 274, 30, 46506, 47764, 16034, 3084, 62, 23721, 2327, 26427, 62, 17, 33411, 23197, 62, 71, 1040, 2978, 3822, 796, 366, 22396, 1504, 20442, 274, 1 ]
Compare the number of players of different occupations using a bar chart.
SELECT Occupation, COUNT(Occupation) FROM player GROUP BY Occupation
[ 41488, 262, 1271, 286, 1938, 286, 1180, 23308, 1262, 257, 2318, 8262, 13, 46506, 15227, 341, 11, 327, 28270, 7, 47658, 341, 8, 16034, 2137, 44441, 11050, 15227, 341 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 41488, 262, 1271, 286, 1938, 286, 1180, 23308, 1262, 257, 2318, 8262, 13, 46506, 15227, 341, 11, 327, 28270, 7, 47658, 341, 8, 16034, 2137, 44441, 11050, 15227, 341 ]
how many days has it been since patient 013-33898 stayed for the last time on this hospital visit in ward 559?
SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', patient.unitadmittime)) FROM patient WHERE patient.uniquepid = '013-33898' AND patient.wardid = 559 AND patient.hospitaldischargetime IS NULL ORDER BY patient.unitadmittime DESC LIMIT 1
[ 4919, 867, 1528, 468, 340, 587, 1201, 5827, 5534, 18, 12, 28460, 4089, 9658, 329, 262, 938, 640, 319, 428, 4436, 3187, 287, 15305, 642, 3270, 30, 46506, 352, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 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...
[ 4919, 867, 1528, 468, 340, 587, 1201, 5827, 5534, 18, 12, 28460, 4089, 9658, 329, 262, 938, 640, 319, 428, 4436, 3187, 287, 15305, 642, 3270, 30, 46506, 352, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694, ...
Which of my comments have zero score and can be potentially removed.
SELECT Id AS "comment_link", CreationDate FROM Comments WHERE UserId = @UserId AND Score = 0 ORDER BY CreationDate DESC
[ 13828, 286, 616, 3651, 423, 6632, 4776, 290, 460, 307, 6196, 4615, 13, 46506, 5121, 7054, 366, 23893, 62, 8726, 1600, 21582, 10430, 16034, 19502, 33411, 11787, 7390, 796, 2488, 12982, 7390, 5357, 15178, 796, 657, 38678, 11050, 21582, 1043...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 286, 616, 3651, 423, 6632, 4776, 290, 460, 307, 6196, 4615, 13, 46506, 5121, 7054, 366, 23893, 62, 8726, 1600, 21582, 10430, 16034, 19502, 33411, 11787, 7390, 796, 2488, 12982, 7390, 5357, 15178, 796, 657, 38678, 11050, 21582, 1043...
Name the sabaean for sab -
SELECT sabaean FROM table_26919_6 WHERE arabic = "sabʕ-"
[ 5376, 262, 17463, 3609, 272, 329, 17463, 532, 46506, 17463, 3609, 272, 16034, 3084, 62, 26276, 1129, 62, 21, 33411, 610, 397, 291, 796, 366, 82, 397, 134, 243, 21215 ]
[ 1, 1, 1, 1, 1, 1, 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, 17463, 3609, 272, 329, 17463, 532, 46506, 17463, 3609, 272, 16034, 3084, 62, 26276, 1129, 62, 21, 33411, 610, 397, 291, 796, 366, 82, 397, 134, 243, 21215 ]
what is the number of patients whose days of hospital stay is greater than 6 and procedure long title is procedure on single vessel?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.days_stay > "6" AND procedures.long_title = "Procedure on single vessel"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 1528, 286, 4436, 2652, 318, 3744, 621, 718, 290, 8771, 890, 3670, 318, 8771, 319, 2060, 8837, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 1271, 286, 3871, 3025, 1528, 286, 4436, 2652, 318, 3744, 621, 718, 290, 8771, 890, 3670, 318, 8771, 319, 2060, 8837, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, ...
What is the Byzantine Commander with a Bulgarian Victory at the Siege of Lovech?
SELECT byzantine_commander FROM table_name_44 WHERE result = "bulgarian victory" AND battle = "siege of lovech"
[ 2061, 318, 262, 45772, 13353, 351, 257, 42119, 21203, 379, 262, 30207, 286, 5896, 354, 30, 46506, 416, 89, 29003, 62, 9503, 4066, 16034, 3084, 62, 3672, 62, 2598, 33411, 1255, 796, 366, 15065, 70, 3699, 5373, 1, 5357, 3344, 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 ]
[ 2061, 318, 262, 45772, 13353, 351, 257, 42119, 21203, 379, 262, 30207, 286, 5896, 354, 30, 46506, 416, 89, 29003, 62, 9503, 4066, 16034, 3084, 62, 3672, 62, 2598, 33411, 1255, 796, 366, 15065, 70, 3699, 5373, 1, 5357, 3344, 796, 366, ...
what are the three most frequent diagnoses that patients were diagnosed within 2 months after receiving a peripheral nerve graft?
SELECT d_icd_diagnoses.short_title FROM d_icd_diagnoses WHERE d_icd_diagnoses.icd9_code IN (SELECT t3.icd9_code FROM (SELECT t2.icd9_code, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, procedures_icd.charttime FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissi...
[ 10919, 389, 262, 1115, 749, 10792, 40567, 326, 3871, 547, 14641, 1626, 362, 1933, 706, 6464, 257, 25514, 16384, 38455, 30, 46506, 288, 62, 291, 67, 62, 47356, 4629, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 47356, 4629, 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...
[ 10919, 389, 262, 1115, 749, 10792, 40567, 326, 3871, 547, 14641, 1626, 362, 1933, 706, 6464, 257, 25514, 16384, 38455, 30, 46506, 288, 62, 291, 67, 62, 47356, 4629, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 47356, 4629, 33411,...
Which National team has a Year of total?
SELECT "National team" FROM table_13248 WHERE "Year" = 'total'
[ 13828, 2351, 1074, 468, 257, 6280, 286, 2472, 30, 46506, 366, 16186, 1074, 1, 16034, 3084, 62, 1485, 23045, 33411, 366, 17688, 1, 796, 705, 23350, 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, 2351, 1074, 468, 257, 6280, 286, 2472, 30, 46506, 366, 16186, 1074, 1, 16034, 3084, 62, 1485, 23045, 33411, 366, 17688, 1, 796, 705, 23350, 6 ]
how many judges served as chief total ?
SELECT COUNT("judge") FROM table_203_563 WHERE NOT "chief" IS NULL
[ 4919, 867, 10266, 4983, 355, 4039, 2472, 5633, 46506, 327, 28270, 7203, 10456, 469, 4943, 16034, 3084, 62, 22416, 62, 46572, 33411, 5626, 366, 17351, 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, 10266, 4983, 355, 4039, 2472, 5633, 46506, 327, 28270, 7203, 10456, 469, 4943, 16034, 3084, 62, 22416, 62, 46572, 33411, 5626, 366, 17351, 1, 3180, 15697 ]
What place is the team that completed 6 races?
SELECT position FROM table_10748727_1 WHERE races = 6
[ 2061, 1295, 318, 262, 1074, 326, 5668, 718, 9558, 30, 46506, 2292, 16034, 3084, 62, 15982, 35133, 1983, 62, 16, 33411, 9558, 796, 718 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1295, 318, 262, 1074, 326, 5668, 718, 9558, 30, 46506, 2292, 16034, 3084, 62, 15982, 35133, 1983, 62, 16, 33411, 9558, 796, 718 ]
At what venue is the margin of victory 7 strokes?
SELECT venue FROM table_name_82 WHERE margin_of_victory = "7 strokes"
[ 2953, 644, 14359, 318, 262, 10330, 286, 5373, 767, 29483, 30, 46506, 14359, 16034, 3084, 62, 3672, 62, 6469, 33411, 10330, 62, 1659, 62, 32433, 652, 796, 366, 22, 29483, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2953, 644, 14359, 318, 262, 10330, 286, 5373, 767, 29483, 30, 46506, 14359, 16034, 3084, 62, 3672, 62, 6469, 33411, 10330, 62, 1659, 62, 32433, 652, 796, 366, 22, 29483, 1 ]
How many people wrote the episode that had 7.26 million u.s. viewers?
SELECT COUNT("Written by") FROM table_30248 WHERE "U.S. viewers (million)" = '7.26'
[ 2437, 867, 661, 2630, 262, 4471, 326, 550, 767, 13, 2075, 1510, 334, 13, 82, 13, 10209, 30, 46506, 327, 28270, 7203, 25354, 416, 4943, 16034, 3084, 62, 1270, 23045, 33411, 366, 52, 13, 50, 13, 10209, 357, 14100, 16725, 796, 705, 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 ]
[ 2437, 867, 661, 2630, 262, 4471, 326, 550, 767, 13, 2075, 1510, 334, 13, 82, 13, 10209, 30, 46506, 327, 28270, 7203, 25354, 416, 4943, 16034, 3084, 62, 1270, 23045, 33411, 366, 52, 13, 50, 13, 10209, 357, 14100, 16725, 796, 705, 22,...
Name the highest cuts made when top 5 is less than 3 and top ten is more than 4
SELECT MAX("Cuts made") FROM table_52225 WHERE "Top-5" < '3' AND "Top-10" > '4'
[ 5376, 262, 4511, 6630, 925, 618, 1353, 642, 318, 1342, 621, 513, 290, 1353, 3478, 318, 517, 621, 604, 46506, 25882, 7203, 34, 5500, 925, 4943, 16034, 3084, 62, 49542, 1495, 33411, 366, 9126, 12, 20, 1, 1279, 705, 18, 6, 5357, 366, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 4511, 6630, 925, 618, 1353, 642, 318, 1342, 621, 513, 290, 1353, 3478, 318, 517, 621, 604, 46506, 25882, 7203, 34, 5500, 925, 4943, 16034, 3084, 62, 49542, 1495, 33411, 366, 9126, 12, 20, 1, 1279, 705, 18, 6, 5357, 366, ...
What teams has a home of 5-0?
SELECT "Teams" FROM table_13059 WHERE "Home" = '5-0'
[ 2061, 3466, 468, 257, 1363, 286, 642, 12, 15, 30, 46506, 366, 6767, 4105, 1, 16034, 3084, 62, 12952, 3270, 33411, 366, 16060, 1, 796, 705, 20, 12, 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 ]
[ 2061, 3466, 468, 257, 1363, 286, 642, 12, 15, 30, 46506, 366, 6767, 4105, 1, 16034, 3084, 62, 12952, 3270, 33411, 366, 16060, 1, 796, 705, 20, 12, 15, 6 ]
how much does it cost to get a lab alt (sgpt) test?
SELECT DISTINCT cost.cost FROM cost WHERE cost.eventtype = 'lab' AND cost.eventid IN (SELECT lab.labid FROM lab WHERE lab.labname = 'alt (sgpt)')
[ 4919, 881, 857, 340, 1575, 284, 651, 257, 2248, 5988, 357, 45213, 457, 8, 1332, 30, 46506, 360, 8808, 1268, 4177, 1575, 13, 15805, 16034, 1575, 33411, 1575, 13, 15596, 4906, 796, 705, 23912, 6, 5357, 1575, 13, 15596, 312, 3268, 357, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 881, 857, 340, 1575, 284, 651, 257, 2248, 5988, 357, 45213, 457, 8, 1332, 30, 46506, 360, 8808, 1268, 4177, 1575, 13, 15805, 16034, 1575, 33411, 1575, 13, 15596, 4906, 796, 705, 23912, 6, 5357, 1575, 13, 15596, 312, 3268, 357, ...
Show each location and the number of cinemas there Show bar chart, could you order in ascending by the Y-axis?
SELECT Location, COUNT(*) FROM cinema GROUP BY Location ORDER BY COUNT(*)
[ 15307, 1123, 4067, 290, 262, 1271, 286, 13483, 292, 612, 5438, 2318, 8262, 11, 714, 345, 1502, 287, 41988, 416, 262, 575, 12, 22704, 30, 46506, 13397, 11, 327, 28270, 7, 28104, 16034, 22041, 44441, 11050, 13397, 38678, 11050, 327, 28270...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 1123, 4067, 290, 262, 1271, 286, 13483, 292, 612, 5438, 2318, 8262, 11, 714, 345, 1502, 287, 41988, 416, 262, 575, 12, 22704, 30, 46506, 13397, 11, 327, 28270, 7, 28104, 16034, 22041, 44441, 11050, 13397, 38678, 11050, 327, 28270...
had patient 7241 ever been diagnosed in this year?
SELECT COUNT(*) > 0 FROM diagnoses_icd WHERE diagnoses_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 7241) AND DATETIME(diagnoses_icd.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year')
[ 18108, 5827, 767, 28872, 1683, 587, 14641, 287, 428, 614, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 40567, 62, 291, 67, 33411, 40567, 62, 291, 67, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 160...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 18108, 5827, 767, 28872, 1683, 587, 14641, 287, 428, 614, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 40567, 62, 291, 67, 33411, 40567, 62, 291, 67, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 160...
How many interviews were there for Miss Virginia?
SELECT COUNT("Interview") FROM table_321 WHERE "Country" = 'Virginia'
[ 2437, 867, 9299, 547, 612, 329, 4544, 6025, 30, 46506, 327, 28270, 7203, 39945, 4943, 16034, 3084, 62, 36453, 33411, 366, 33921, 1, 796, 705, 41017, 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 ]
[ 2437, 867, 9299, 547, 612, 329, 4544, 6025, 30, 46506, 327, 28270, 7203, 39945, 4943, 16034, 3084, 62, 36453, 33411, 366, 33921, 1, 796, 705, 41017, 6 ]
In order to be on work on time I need to leave by 5:00 P.M. , can you tell me when 596 and 851 will be over ?
SELECT DISTINCT course_offering.end_time, course.number FROM course INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN semester ON semester.semester_id = course_offering.semester WHERE course.department = 'department0' AND (course.number = 596 OR course.number = 851) AND course_offeri...
[ 818, 1502, 284, 307, 319, 670, 319, 640, 314, 761, 284, 2666, 416, 642, 25, 405, 350, 13, 44, 13, 837, 460, 345, 1560, 502, 618, 642, 4846, 290, 807, 4349, 481, 307, 625, 5633, 46506, 360, 8808, 1268, 4177, 1781, 62, 2364, 1586, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1502, 284, 307, 319, 670, 319, 640, 314, 761, 284, 2666, 416, 642, 25, 405, 350, 13, 44, 13, 837, 460, 345, 1560, 502, 618, 642, 4846, 290, 807, 4349, 481, 307, 625, 5633, 46506, 360, 8808, 1268, 4177, 1781, 62, 2364, 1586, ...
What is the away where the round is the second round?
SELECT away FROM table_name_40 WHERE round = "second round"
[ 2061, 318, 262, 1497, 810, 262, 2835, 318, 262, 1218, 2835, 30, 46506, 1497, 16034, 3084, 62, 3672, 62, 1821, 33411, 2835, 796, 366, 12227, 2835, 1 ]
[ 1, 1, 1, 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, 1497, 810, 262, 2835, 318, 262, 1218, 2835, 30, 46506, 1497, 16034, 3084, 62, 3672, 62, 1821, 33411, 2835, 796, 366, 12227, 2835, 1 ]
What is the party for new york 20?
SELECT party FROM table_1342233_32 WHERE district = "New York 20"
[ 2061, 318, 262, 2151, 329, 649, 331, 967, 1160, 30, 46506, 2151, 16034, 3084, 62, 19880, 1828, 2091, 62, 2624, 33411, 4783, 796, 366, 3791, 1971, 1160, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2151, 329, 649, 331, 967, 1160, 30, 46506, 2151, 16034, 3084, 62, 19880, 1828, 2091, 62, 2624, 33411, 4783, 796, 366, 3791, 1971, 1160, 1 ]
What is the biggest week with an opponent of washington redskins?
SELECT MAX("Week") FROM table_45259 WHERE "Opponent" = 'washington redskins'
[ 2061, 318, 262, 4094, 1285, 351, 281, 6125, 286, 20518, 1122, 2266, 82, 5331, 30, 46506, 25882, 7203, 20916, 4943, 16034, 3084, 62, 2231, 25191, 33411, 366, 27524, 3471, 1, 796, 705, 86, 2542, 2266, 82, 5331, 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, 4094, 1285, 351, 281, 6125, 286, 20518, 1122, 2266, 82, 5331, 30, 46506, 25882, 7203, 20916, 4943, 16034, 3084, 62, 2231, 25191, 33411, 366, 27524, 3471, 1, 796, 705, 86, 2542, 2266, 82, 5331, 6 ]
What is the total latitude of the greenland township with more than 34.846 sqmi of land, a geo id less than 3805529660, and an ANSI code greater than 1036405?
SELECT COUNT(latitude) FROM table_name_45 WHERE land___sqmi__ > 34.846 AND geo_id < 3805529660 AND township = "greenland" AND ansi_code > 1036405
[ 2061, 318, 262, 2472, 32477, 286, 262, 4077, 1044, 42823, 351, 517, 621, 4974, 13, 23, 3510, 19862, 11632, 286, 1956, 11, 257, 40087, 4686, 1342, 621, 29101, 2816, 27137, 1899, 11, 290, 281, 3537, 11584, 2438, 3744, 621, 838, 2623, 26...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 318, 262, 2472, 32477, 286, 262, 4077, 1044, 42823, 351, 517, 621, 4974, 13, 23, 3510, 19862, 11632, 286, 1956, 11, 257, 40087, 4686, 1342, 621, 29101, 2816, 27137, 1899, 11, 290, 281, 3537, 11584, 2438, 3744, 621, 838, 2623, 26...
Name the area for administrative county being flintshire
SELECT "Area 1891 (Statute acres)" FROM table_1130 WHERE "Administrative county" = 'Flintshire'
[ 5376, 262, 1989, 329, 11553, 7968, 852, 781, 600, 10932, 46506, 366, 30547, 1248, 6420, 357, 17126, 1133, 16051, 16725, 16034, 3084, 62, 1157, 1270, 33411, 366, 41862, 13260, 7968, 1, 796, 705, 7414, 600, 10932, 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 ]
[ 5376, 262, 1989, 329, 11553, 7968, 852, 781, 600, 10932, 46506, 366, 30547, 1248, 6420, 357, 17126, 1133, 16051, 16725, 16034, 3084, 62, 1157, 1270, 33411, 366, 41862, 13260, 7968, 1, 796, 705, 7414, 600, 10932, 6 ]
When the score is 71 and the player is from United States what is the place?
SELECT "Place" FROM table_9874 WHERE "Score" = '71' AND "Country" = 'united states'
[ 2215, 262, 4776, 318, 9166, 290, 262, 2137, 318, 422, 1578, 1829, 644, 318, 262, 1295, 30, 46506, 366, 27271, 1, 16034, 3084, 62, 4089, 4524, 33411, 366, 26595, 1, 796, 705, 4869, 6, 5357, 366, 33921, 1, 796, 705, 41187, 2585, 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 ]
[ 2215, 262, 4776, 318, 9166, 290, 262, 2137, 318, 422, 1578, 1829, 644, 318, 262, 1295, 30, 46506, 366, 27271, 1, 16034, 3084, 62, 4089, 4524, 33411, 366, 26595, 1, 796, 705, 4869, 6, 5357, 366, 33921, 1, 796, 705, 41187, 2585, 6 ]
How many dollars is listed under Sydney when the distance is 10km?
SELECT sydney FROM table_2923917_4 WHERE distance = "10km"
[ 2437, 867, 5054, 318, 5610, 739, 11852, 618, 262, 5253, 318, 838, 13276, 30, 46506, 827, 67, 1681, 16034, 3084, 62, 1959, 23516, 1558, 62, 19, 33411, 5253, 796, 366, 940, 13276, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5054, 318, 5610, 739, 11852, 618, 262, 5253, 318, 838, 13276, 30, 46506, 827, 67, 1681, 16034, 3084, 62, 1959, 23516, 1558, 62, 19, 33411, 5253, 796, 366, 940, 13276, 1 ]
how many parishes are named st. anthony ?
SELECT COUNT("name") FROM table_204_540 WHERE "name" = 'st. anthony'
[ 4919, 867, 1582, 5614, 389, 3706, 336, 13, 26794, 1647, 5633, 46506, 327, 28270, 7203, 3672, 4943, 16034, 3084, 62, 18638, 62, 35005, 33411, 366, 3672, 1, 796, 705, 301, 13, 26794, 1647, 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 ]
[ 4919, 867, 1582, 5614, 389, 3706, 336, 13, 26794, 1647, 5633, 46506, 327, 28270, 7203, 3672, 4943, 16034, 3084, 62, 18638, 62, 35005, 33411, 366, 3672, 1, 796, 705, 301, 13, 26794, 1647, 6 ]
Show all video games with type Collectible card game.
SELECT gname FROM Video_games WHERE gtype = "Collectible card game"
[ 15307, 477, 2008, 1830, 351, 2099, 9745, 856, 2657, 983, 13, 46506, 308, 3672, 16034, 7623, 62, 19966, 33411, 308, 4906, 796, 366, 31337, 856, 2657, 983, 1 ]
[ 1, 1, 1, 1, 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, 477, 2008, 1830, 351, 2099, 9745, 856, 2657, 983, 13, 46506, 308, 3672, 16034, 7623, 62, 19966, 33411, 308, 4906, 796, 366, 31337, 856, 2657, 983, 1 ]
had famotidine, acetaminophen 325 mg po tabs or fluticasone-salmeterol 250-50 mcg/dose in aepb been prescribed in 12/this year to patient 030-52327?
SELECT COUNT(*) > 0 FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '030-52327')) AND medication.drugname IN ('famotidine', 'acetaminophen 325 ...
[ 18108, 1145, 313, 39422, 11, 25174, 5669, 47806, 29524, 10527, 745, 22524, 393, 781, 18089, 292, 505, 12, 21680, 27231, 349, 8646, 12, 1120, 36650, 70, 14, 34436, 287, 257, 538, 65, 587, 14798, 287, 1105, 14, 5661, 614, 284, 5827, 657...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 18108, 1145, 313, 39422, 11, 25174, 5669, 47806, 29524, 10527, 745, 22524, 393, 781, 18089, 292, 505, 12, 21680, 27231, 349, 8646, 12, 1120, 36650, 70, 14, 34436, 287, 257, 538, 65, 587, 14798, 287, 1105, 14, 5661, 614, 284, 5827, 657...
since 1 year ago was patient 23070 undergone a nucleated rbc test?
SELECT COUNT(*) > 0 FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'nucleated rbc') AND labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 23070) AND DATETIME(labevents.charttime) >= DATETIME(CURRENT_TIME(), '-1 year...
[ 20777, 352, 614, 2084, 373, 5827, 18395, 2154, 29900, 257, 17751, 515, 374, 15630, 1332, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 2248, 31534, 33411, 2248, 31534, 13, 9186, 312, 3268, 357, 46506, 288, 62, 23912, 23814, 13, 918...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 20777, 352, 614, 2084, 373, 5827, 18395, 2154, 29900, 257, 17751, 515, 374, 15630, 1332, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 2248, 31534, 33411, 2248, 31534, 13, 9186, 312, 3268, 357, 46506, 288, 62, 23912, 23814, 13, 918...
i would like a flight from ATLANTA to DENVER
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 = 'ATLANTA' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'DENVER...
[ 72, 561, 588, 257, 5474, 422, 5161, 25697, 5603, 284, 37692, 28884, 36, 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, 15...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 72, 561, 588, 257, 5474, 422, 5161, 25697, 5603, 284, 37692, 28884, 36, 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, 15...
On what Date was the Meet of 2007 Pan American Games with a Time of 1:07.78?
SELECT date FROM table_name_66 WHERE meet = "2007 pan american games" AND time = "1:07.78"
[ 2202, 644, 7536, 373, 262, 21167, 286, 4343, 5961, 1605, 5776, 351, 257, 3862, 286, 352, 25, 2998, 13, 3695, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 2791, 33411, 1826, 796, 366, 12726, 3425, 45630, 272, 1830, 1, 5357, 640, 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 ]
[ 2202, 644, 7536, 373, 262, 21167, 286, 4343, 5961, 1605, 5776, 351, 257, 3862, 286, 352, 25, 2998, 13, 3695, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 2791, 33411, 1826, 796, 366, 12726, 3425, 45630, 272, 1830, 1, 5357, 640, 796, ...
what is insurance and death status of subject id 8990?
SELECT demographic.insurance, demographic.expire_flag FROM demographic WHERE demographic.subject_id = "8990"
[ 10919, 318, 5096, 290, 1918, 3722, 286, 2426, 4686, 807, 34155, 30, 46506, 16728, 13, 1040, 3874, 11, 16728, 13, 1069, 5111, 62, 32109, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 23, 34155, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5096, 290, 1918, 3722, 286, 2426, 4686, 807, 34155, 30, 46506, 16728, 13, 1040, 3874, 11, 16728, 13, 1069, 5111, 62, 32109, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 23, 34155, 1 ]
Name the year for angga pratama ryan agung saputra
SELECT "Year" FROM table_38969 WHERE "Men's doubles" = 'angga pratama ryan agung saputra'
[ 5376, 262, 614, 329, 281, 1130, 64, 778, 265, 1689, 374, 4121, 556, 2150, 473, 1996, 430, 46506, 366, 17688, 1, 16034, 3084, 62, 29769, 3388, 33411, 366, 10418, 338, 21938, 1, 796, 705, 648, 4908, 778, 265, 1689, 374, 4121, 556, 215...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 614, 329, 281, 1130, 64, 778, 265, 1689, 374, 4121, 556, 2150, 473, 1996, 430, 46506, 366, 17688, 1, 16034, 3084, 62, 29769, 3388, 33411, 366, 10418, 338, 21938, 1, 796, 705, 648, 4908, 778, 265, 1689, 374, 4121, 556, 215...
What is the result when there was an attendance of 54,418?
SELECT "Result" FROM table_14459 WHERE "Attendance" = '54,418'
[ 2061, 318, 262, 1255, 618, 612, 373, 281, 14858, 286, 7175, 11, 39667, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 1415, 33459, 33411, 366, 8086, 437, 590, 1, 796, 705, 4051, 11, 39667, 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, 1255, 618, 612, 373, 281, 14858, 286, 7175, 11, 39667, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 1415, 33459, 33411, 366, 8086, 437, 590, 1, 796, 705, 4051, 11, 39667, 6 ]
In what industry was the company that had 89.16 billions of dollars in sales?
SELECT "Industry" FROM table_21122 WHERE "Sales (billion $)" = '89.16'
[ 818, 644, 2831, 373, 262, 1664, 326, 550, 9919, 13, 1433, 13188, 286, 5054, 287, 4200, 30, 46506, 366, 35848, 563, 1, 16034, 3084, 62, 2481, 18376, 33411, 366, 44490, 357, 24540, 720, 16725, 796, 705, 4531, 13, 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, 1, 1, 1, 1, 1 ]
[ 818, 644, 2831, 373, 262, 1664, 326, 550, 9919, 13, 1433, 13188, 286, 5054, 287, 4200, 30, 46506, 366, 35848, 563, 1, 16034, 3084, 62, 2481, 18376, 33411, 366, 44490, 357, 24540, 720, 16725, 796, 705, 4531, 13, 1433, 6 ]
what are the top four of the most frequent output event in 2100?
SELECT d_items.label FROM d_items WHERE d_items.itemid IN (SELECT t1.itemid FROM (SELECT outputevents.itemid, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM outputevents WHERE STRFTIME('%y', outputevents.charttime) = '2100' GROUP BY outputevents.itemid) AS t1 WHERE t1.c1 <= 4)
[ 10919, 389, 262, 1353, 1440, 286, 262, 749, 10792, 5072, 1785, 287, 38123, 30, 46506, 288, 62, 23814, 13, 18242, 16034, 288, 62, 23814, 33411, 288, 62, 23814, 13, 9186, 312, 3268, 357, 46506, 256, 16, 13, 9186, 312, 16034, 357, 46506,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 389, 262, 1353, 1440, 286, 262, 749, 10792, 5072, 1785, 287, 38123, 30, 46506, 288, 62, 23814, 13, 18242, 16034, 288, 62, 23814, 33411, 288, 62, 23814, 13, 9186, 312, 3268, 357, 46506, 256, 16, 13, 9186, 312, 16034, 357, 46506,...
At what # does 10 3 bbl/day (2006) equal 5097?
SELECT MIN("#") FROM table_25715 WHERE "10 3 bbl/day (2006)" = '5097'
[ 2953, 644, 1303, 857, 838, 513, 275, 2436, 14, 820, 357, 13330, 8, 4961, 2026, 5607, 30, 46506, 20625, 7203, 2, 4943, 16034, 3084, 62, 28676, 1314, 33411, 366, 940, 513, 275, 2436, 14, 820, 357, 13330, 16725, 796, 705, 1120, 5607, 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 ]
[ 2953, 644, 1303, 857, 838, 513, 275, 2436, 14, 820, 357, 13330, 8, 4961, 2026, 5607, 30, 46506, 20625, 7203, 2, 4943, 16034, 3084, 62, 28676, 1314, 33411, 366, 940, 513, 275, 2436, 14, 820, 357, 13330, 16725, 796, 705, 1120, 5607, 6...
Users above given number of upvotes.
SELECT Id AS "user_link", Reputation, CreationDate, DisplayName, LastAccessDate, UpVotes, DownVotes FROM Users WHERE UpVotes > '##votes##' ORDER BY Id
[ 14490, 2029, 1813, 1271, 286, 510, 29307, 13, 46506, 5121, 7054, 366, 7220, 62, 8726, 1600, 1432, 7094, 11, 21582, 10430, 11, 16531, 5376, 11, 4586, 15457, 10430, 11, 3205, 53, 6421, 11, 5588, 53, 6421, 16034, 18987, 33411, 3205, 53, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2029, 1813, 1271, 286, 510, 29307, 13, 46506, 5121, 7054, 366, 7220, 62, 8726, 1600, 1432, 7094, 11, 21582, 10430, 11, 16531, 5376, 11, 4586, 15457, 10430, 11, 3205, 53, 6421, 11, 5588, 53, 6421, 16034, 18987, 33411, 3205, 53, ...
What are the names of all the players with an average of 15.89?
SELECT name FROM table_2482547_5 WHERE average = "15.89"
[ 2061, 389, 262, 3891, 286, 477, 262, 1938, 351, 281, 2811, 286, 1315, 13, 4531, 30, 46506, 1438, 16034, 3084, 62, 23045, 1495, 2857, 62, 20, 33411, 2811, 796, 366, 1314, 13, 4531, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 286, 477, 262, 1938, 351, 281, 2811, 286, 1315, 13, 4531, 30, 46506, 1438, 16034, 3084, 62, 23045, 1495, 2857, 62, 20, 33411, 2811, 796, 366, 1314, 13, 4531, 1 ]
Who had the highest assists on November 4
SELECT "High assists" FROM table_17281 WHERE "Date" = 'November 4'
[ 8241, 550, 262, 4511, 13648, 319, 3389, 604, 46506, 366, 11922, 13648, 1, 16034, 3084, 62, 1558, 30368, 33411, 366, 10430, 1, 796, 705, 21159, 604, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 550, 262, 4511, 13648, 319, 3389, 604, 46506, 366, 11922, 13648, 1, 16034, 3084, 62, 1558, 30368, 33411, 366, 10430, 1, 796, 705, 21159, 604, 6 ]
What rank is the nation that has a bronze of source: Maltese Olympic Committee?
SELECT rank FROM table_name_29 WHERE bronze = "source: maltese olympic committee"
[ 2061, 4279, 318, 262, 3277, 326, 468, 257, 22101, 286, 2723, 25, 23729, 2771, 11514, 4606, 30, 46506, 4279, 16034, 3084, 62, 3672, 62, 1959, 33411, 22101, 796, 366, 10459, 25, 26868, 2771, 267, 6760, 291, 5583, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 4279, 318, 262, 3277, 326, 468, 257, 22101, 286, 2723, 25, 23729, 2771, 11514, 4606, 30, 46506, 4279, 16034, 3084, 62, 3672, 62, 1959, 33411, 22101, 796, 366, 10459, 25, 26868, 2771, 267, 6760, 291, 5583, 1 ]
give the number of patients whose marital status is widowed and procedure short title is nasal sinus dx proc nec.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.marital_status = "WIDOWED" AND procedures.short_title = "Nasal sinus dx proc NEC"
[ 26535, 262, 1271, 286, 3871, 3025, 29555, 3722, 318, 9214, 6972, 290, 8771, 1790, 3670, 318, 40829, 7813, 385, 44332, 13834, 27576, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 26535, 262, 1271, 286, 3871, 3025, 29555, 3722, 318, 9214, 6972, 290, 8771, 1790, 3670, 318, 40829, 7813, 385, 44332, 13834, 27576, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479,...
For which song was the score 6.5 + 6.0 + 6.0 + 5.5 = 24.0?
SELECT song FROM table_name_25 WHERE score = 6.5 + 6.0 + 6.0 + 5.5 = 24.0
[ 1890, 543, 3496, 373, 262, 4776, 718, 13, 20, 1343, 718, 13, 15, 1343, 718, 13, 15, 1343, 642, 13, 20, 796, 1987, 13, 15, 30, 46506, 3496, 16034, 3084, 62, 3672, 62, 1495, 33411, 4776, 796, 718, 13, 20, 1343, 718, 13, 15, 1343, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 543, 3496, 373, 262, 4776, 718, 13, 20, 1343, 718, 13, 15, 1343, 718, 13, 15, 1343, 642, 13, 20, 796, 1987, 13, 15, 30, 46506, 3496, 16034, 3084, 62, 3672, 62, 1495, 33411, 4776, 796, 718, 13, 20, 1343, 718, 13, 15, 1343, ...
What is the score of the Devil Rays on April 24?
SELECT "Score" FROM table_66887 WHERE "Opponent" = 'devil rays' AND "Date" = 'april 24'
[ 2061, 318, 262, 4776, 286, 262, 10489, 36199, 319, 3035, 1987, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 2791, 46660, 33411, 366, 27524, 3471, 1, 796, 705, 7959, 346, 24823, 6, 5357, 366, 10430, 1, 796, 705, 499, 22379, 1987, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4776, 286, 262, 10489, 36199, 319, 3035, 1987, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 2791, 46660, 33411, 366, 27524, 3471, 1, 796, 705, 7959, 346, 24823, 6, 5357, 366, 10430, 1, 796, 705, 499, 22379, 1987, 6 ]
Who was the champion in the game played at the St. Andrews Links with Dick Chapman as the runner-up?
SELECT champion FROM table_name_87 WHERE runner_up = "dick chapman" AND venue = "st. andrews links"
[ 8241, 373, 262, 8783, 287, 262, 983, 2826, 379, 262, 520, 13, 26414, 21691, 351, 11740, 29045, 355, 262, 17490, 12, 929, 30, 46506, 8783, 16034, 3084, 62, 3672, 62, 5774, 33411, 17490, 62, 929, 796, 366, 67, 624, 28022, 805, 1, 5357...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 373, 262, 8783, 287, 262, 983, 2826, 379, 262, 520, 13, 26414, 21691, 351, 11740, 29045, 355, 262, 17490, 12, 929, 30, 46506, 8783, 16034, 3084, 62, 3672, 62, 5774, 33411, 17490, 62, 929, 796, 366, 67, 624, 28022, 805, 1, 5357...
If the total points is 5, what is the 2005-2006 points total number?
SELECT COUNT("2005-06 Points") FROM table_25732 WHERE "Total Points" = '5'
[ 1532, 262, 2472, 2173, 318, 642, 11, 644, 318, 262, 5075, 12, 13330, 2173, 2472, 1271, 30, 46506, 327, 28270, 7203, 14315, 12, 3312, 11045, 4943, 16034, 3084, 62, 28676, 2624, 33411, 366, 14957, 11045, 1, 796, 705, 20, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1532, 262, 2472, 2173, 318, 642, 11, 644, 318, 262, 5075, 12, 13330, 2173, 2472, 1271, 30, 46506, 327, 28270, 7203, 14315, 12, 3312, 11045, 4943, 16034, 3084, 62, 28676, 2624, 33411, 366, 14957, 11045, 1, 796, 705, 20, 6 ]
who 's the only player with a 2 phase career ?
SELECT "player" FROM table_203_754 WHERE "career" = 2
[ 8727, 705, 82, 262, 691, 2137, 351, 257, 362, 7108, 3451, 5633, 46506, 366, 7829, 1, 16034, 3084, 62, 22416, 62, 41874, 33411, 366, 6651, 263, 1, 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 ]
[ 8727, 705, 82, 262, 691, 2137, 351, 257, 362, 7108, 3451, 5633, 46506, 366, 7829, 1, 16034, 3084, 62, 22416, 62, 41874, 33411, 366, 6651, 263, 1, 796, 362 ]
What's the city of license having a D ERP of 100kw?
SELECT city_of_license FROM table_name_21 WHERE d_erp = "100kw"
[ 2061, 338, 262, 1748, 286, 5964, 1719, 257, 360, 13793, 47, 286, 1802, 46265, 30, 46506, 1748, 62, 1659, 62, 43085, 16034, 3084, 62, 3672, 62, 2481, 33411, 288, 62, 263, 79, 796, 366, 3064, 46265, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1748, 286, 5964, 1719, 257, 360, 13793, 47, 286, 1802, 46265, 30, 46506, 1748, 62, 1659, 62, 43085, 16034, 3084, 62, 3672, 62, 2481, 33411, 288, 62, 263, 79, 796, 366, 3064, 46265, 1 ]
What was the first game in which Weekes scored the decision goal and the record was 7-4-2?
SELECT MIN("Game") FROM table_50116 WHERE "Decision" = 'weekes' AND "Record" = '7-4-2'
[ 2061, 373, 262, 717, 983, 287, 543, 6119, 274, 7781, 262, 2551, 3061, 290, 262, 1700, 373, 767, 12, 19, 12, 17, 30, 46506, 20625, 7203, 8777, 4943, 16034, 3084, 62, 33548, 1433, 33411, 366, 10707, 1166, 1, 796, 705, 10464, 274, 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 ]
[ 2061, 373, 262, 717, 983, 287, 543, 6119, 274, 7781, 262, 2551, 3061, 290, 262, 1700, 373, 767, 12, 19, 12, 17, 30, 46506, 20625, 7203, 8777, 4943, 16034, 3084, 62, 33548, 1433, 33411, 366, 10707, 1166, 1, 796, 705, 10464, 274, 6, ...
count the number of patients whose diagnoses short title is polyp of nasal cavity and drug route is nu?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.short_title = "Polyp of nasal cavity" AND prescriptions.route = "NU"
[ 9127, 262, 1271, 286, 3871, 3025, 40567, 1790, 3670, 318, 7514, 79, 286, 40829, 31643, 290, 2563, 6339, 318, 14364, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9127, 262, 1271, 286, 3871, 3025, 40567, 1790, 3670, 318, 7514, 79, 286, 40829, 31643, 290, 2563, 6339, 318, 14364, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, ...
how many of the patients who had lab test for oxygen saturation are widowed?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.marital_status = "WIDOWED" AND lab.label = "Oxygen Saturation"
[ 4919, 867, 286, 262, 3871, 508, 550, 2248, 1332, 329, 11863, 36275, 389, 9214, 6972, 30, 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, 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...
[ 4919, 867, 286, 262, 3871, 508, 550, 2248, 1332, 329, 11863, 36275, 389, 9214, 6972, 30, 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, 7...
What is the Date of the match with Partner Steffi Graf with a Score in Final of 4 6, 1 6?
SELECT date FROM table_name_26 WHERE score_in_final = "4–6, 1–6" AND partner = "steffi graf"
[ 2061, 318, 262, 7536, 286, 262, 2872, 351, 35532, 2441, 487, 72, 7037, 69, 351, 257, 15178, 287, 8125, 286, 604, 718, 11, 352, 718, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 2075, 33411, 4776, 62, 259, 62, 20311, 796, 366, 19, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2872, 351, 35532, 2441, 487, 72, 7037, 69, 351, 257, 15178, 287, 8125, 286, 604, 718, 11, 352, 718, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 2075, 33411, 4776, 62, 259, 62, 20311, 796, 366, 19, 1...
What company is known as the producer at the kethanur location?
SELECT "Producer" FROM table_56454 WHERE "Location" = 'kethanur'
[ 2061, 1664, 318, 1900, 355, 262, 9920, 379, 262, 479, 2788, 272, 333, 4067, 30, 46506, 366, 11547, 2189, 1, 16034, 3084, 62, 3980, 34229, 33411, 366, 14749, 1, 796, 705, 74, 2788, 272, 333, 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, 1664, 318, 1900, 355, 262, 9920, 379, 262, 479, 2788, 272, 333, 4067, 30, 46506, 366, 11547, 2189, 1, 16034, 3084, 62, 3980, 34229, 33411, 366, 14749, 1, 796, 705, 74, 2788, 272, 333, 6 ]
how many people have no goals ?
SELECT COUNT("name") FROM table_203_121 WHERE "goals" = 0
[ 4919, 867, 661, 423, 645, 4661, 5633, 46506, 327, 28270, 7203, 3672, 4943, 16034, 3084, 62, 22416, 62, 19244, 33411, 366, 2188, 874, 1, 796, 657 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 661, 423, 645, 4661, 5633, 46506, 327, 28270, 7203, 3672, 4943, 16034, 3084, 62, 22416, 62, 19244, 33411, 366, 2188, 874, 1, 796, 657 ]
which poll source has the larger sample size , chicago sun times or chicago tribune ?
SELECT "poll source" FROM table_204_0 WHERE "poll source" IN ('chicago sun-times', 'chicago tribune') ORDER BY "sample\nsize" DESC LIMIT 1
[ 4758, 3278, 2723, 468, 262, 4025, 6291, 2546, 837, 442, 4549, 4252, 1661, 393, 442, 4549, 8433, 1726, 5633, 46506, 366, 30393, 2723, 1, 16034, 3084, 62, 18638, 62, 15, 33411, 366, 30393, 2723, 1, 3268, 19203, 354, 4549, 4252, 12, 2235...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3278, 2723, 468, 262, 4025, 6291, 2546, 837, 442, 4549, 4252, 1661, 393, 442, 4549, 8433, 1726, 5633, 46506, 366, 30393, 2723, 1, 16034, 3084, 62, 18638, 62, 15, 33411, 366, 30393, 2723, 1, 3268, 19203, 354, 4549, 4252, 12, 2235...
what is average age of patients whose marital status is single and admission location is trsf within this facility?
SELECT AVG(demographic.age) FROM demographic WHERE demographic.marital_status = "SINGLE" AND demographic.admission_location = "TRSF WITHIN THIS FACILITY"
[ 10919, 318, 2811, 2479, 286, 3871, 3025, 29555, 3722, 318, 2060, 290, 13938, 4067, 318, 491, 28202, 1626, 428, 6841, 30, 46506, 35224, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 3876, 1287, 62, 13376, 796, 366, 50, 275...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2811, 2479, 286, 3871, 3025, 29555, 3722, 318, 2060, 290, 13938, 4067, 318, 491, 28202, 1626, 428, 6841, 30, 46506, 35224, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 3876, 1287, 62, 13376, 796, 366, 50, 275...
Which Year has a Game of resident evil 4?
SELECT AVG(year) FROM table_name_35 WHERE game = "resident evil 4"
[ 13828, 6280, 468, 257, 3776, 286, 6623, 6181, 604, 30, 46506, 35224, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 2327, 33411, 983, 796, 366, 8154, 6181, 604, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 6280, 468, 257, 3776, 286, 6623, 6181, 604, 30, 46506, 35224, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 2327, 33411, 983, 796, 366, 8154, 6181, 604, 1 ]
Find the type and route of administration of Avapro?
SELECT prescriptions.drug_type, prescriptions.route FROM prescriptions WHERE prescriptions.drug = "Avapro"
[ 16742, 262, 2099, 290, 6339, 286, 3662, 286, 5184, 499, 305, 30, 46506, 34092, 13, 30349, 62, 4906, 11, 34092, 13, 38629, 16034, 34092, 33411, 34092, 13, 30349, 796, 366, 7355, 499, 305, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2099, 290, 6339, 286, 3662, 286, 5184, 499, 305, 30, 46506, 34092, 13, 30349, 62, 4906, 11, 34092, 13, 38629, 16034, 34092, 33411, 34092, 13, 30349, 796, 366, 7355, 499, 305, 1 ]
What is the branding for the station with a frequency of 93.1mhz and a coverage of Zamboanga?
SELECT branding FROM table_name_45 WHERE frequency = "93.1mhz" AND coverage = "zamboanga"
[ 2061, 318, 262, 24150, 329, 262, 4429, 351, 257, 8373, 286, 10261, 13, 16, 76, 32179, 290, 257, 5197, 286, 1168, 22651, 16484, 30, 46506, 24150, 16034, 3084, 62, 3672, 62, 2231, 33411, 8373, 796, 366, 6052, 13, 16, 76, 32179, 1, 535...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 24150, 329, 262, 4429, 351, 257, 8373, 286, 10261, 13, 16, 76, 32179, 290, 257, 5197, 286, 1168, 22651, 16484, 30, 46506, 24150, 16034, 3084, 62, 3672, 62, 2231, 33411, 8373, 796, 366, 6052, 13, 16, 76, 32179, 1, 535...
Who is the director of the fimm Biola Tak Berdawai?
SELECT "Director" FROM table_18933 WHERE "Original title" = 'Biola tak berdawai'
[ 8241, 318, 262, 3437, 286, 262, 277, 8608, 347, 30292, 15804, 4312, 67, 707, 1872, 30, 46506, 366, 28702, 1, 16034, 3084, 62, 23362, 2091, 33411, 366, 20556, 3670, 1, 796, 705, 33, 30292, 256, 461, 18157, 67, 707, 1872, 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 ]
[ 8241, 318, 262, 3437, 286, 262, 277, 8608, 347, 30292, 15804, 4312, 67, 707, 1872, 30, 46506, 366, 28702, 1, 16034, 3084, 62, 23362, 2091, 33411, 366, 20556, 3670, 1, 796, 705, 33, 30292, 256, 461, 18157, 67, 707, 1872, 6 ]
out of total number of patients diagnosed with icd9 code 2764, how many of them were divorcee?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.marital_status = "DIVORCED" AND diagnoses.icd9_code = "2764"
[ 448, 286, 2472, 1271, 286, 3871, 14641, 351, 14158, 67, 24, 2438, 2681, 2414, 11, 703, 867, 286, 606, 547, 13609, 68, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 448, 286, 2472, 1271, 286, 3871, 14641, 351, 14158, 67, 24, 2438, 2681, 2414, 11, 703, 867, 286, 606, 547, 13609, 68, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 12...
What is the literacy rate for groups that grew 103.1% between 1991 and 2001?
SELECT "Literacy (%)" FROM table_16260 WHERE "Growth (1991\u20132001)" = '103.1%'
[ 2061, 318, 262, 31231, 2494, 329, 2628, 326, 6348, 15349, 13, 16, 4, 1022, 10249, 290, 5878, 30, 46506, 366, 43460, 1590, 11509, 1, 16034, 3084, 62, 1433, 21719, 33411, 366, 38, 13046, 357, 24529, 59, 84, 6390, 14585, 16725, 796, 705,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 31231, 2494, 329, 2628, 326, 6348, 15349, 13, 16, 4, 1022, 10249, 290, 5878, 30, 46506, 366, 43460, 1590, 11509, 1, 16034, 3084, 62, 1433, 21719, 33411, 366, 38, 13046, 357, 24529, 59, 84, 6390, 14585, 16725, 796, 705,...
Name the number of won for maesteg harlequins rfc
SELECT COUNT("Won") FROM table_18830 WHERE "Club" = 'Maesteg Harlequins RFC'
[ 5376, 262, 1271, 286, 1839, 329, 17266, 395, 1533, 3971, 293, 421, 1040, 374, 16072, 46506, 327, 28270, 7203, 54, 261, 4943, 16034, 3084, 62, 20356, 1270, 33411, 366, 42350, 1, 796, 705, 21467, 395, 1533, 2113, 293, 421, 1040, 30978, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1839, 329, 17266, 395, 1533, 3971, 293, 421, 1040, 374, 16072, 46506, 327, 28270, 7203, 54, 261, 4943, 16034, 3084, 62, 20356, 1270, 33411, 366, 42350, 1, 796, 705, 21467, 395, 1533, 2113, 293, 421, 1040, 30978, ...
which month had the most air dates ?
SELECT "air date" FROM table_203_784 GROUP BY "air date" ORDER BY COUNT("air date") DESC LIMIT 1
[ 4758, 1227, 550, 262, 749, 1633, 9667, 5633, 46506, 366, 958, 3128, 1, 16034, 3084, 62, 22416, 62, 37688, 44441, 11050, 366, 958, 3128, 1, 38678, 11050, 327, 28270, 7203, 958, 3128, 4943, 22196, 34, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4758, 1227, 550, 262, 749, 1633, 9667, 5633, 46506, 366, 958, 3128, 1, 16034, 3084, 62, 22416, 62, 37688, 44441, 11050, 366, 958, 3128, 1, 38678, 11050, 327, 28270, 7203, 958, 3128, 4943, 22196, 34, 27564, 2043, 352 ]
what is the number of patients admitted to hospital since 2103?
SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE STRFTIME('%y', patient.hospitaladmittime) >= '2103'
[ 10919, 318, 262, 1271, 286, 3871, 6848, 284, 4436, 1201, 362, 15197, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 5827, 13, 403, 1557, 538, 312, 8, 16034, 5827, 33411, 19269, 9792, 12789, 10786, 4, 88, 3256, 5827, 13, 49257, 324, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6848, 284, 4436, 1201, 362, 15197, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 5827, 13, 403, 1557, 538, 312, 8, 16034, 5827, 33411, 19269, 9792, 12789, 10786, 4, 88, 3256, 5827, 13, 49257, 324, ...
What is the least 2009 that has 2005 littler than 640, and 2011 of 425, and 2003 littler than 500?
SELECT MIN(2009) FROM table_name_81 WHERE 2005 < 640 AND 2011 = 425 AND 2003 < 500
[ 2061, 318, 262, 1551, 3717, 326, 468, 5075, 300, 715, 1754, 621, 33759, 11, 290, 2813, 286, 36959, 11, 290, 5816, 300, 715, 1754, 621, 5323, 30, 46506, 20625, 7, 10531, 8, 16034, 3084, 62, 3672, 62, 6659, 33411, 5075, 1279, 33759, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1551, 3717, 326, 468, 5075, 300, 715, 1754, 621, 33759, 11, 290, 2813, 286, 36959, 11, 290, 5816, 300, 715, 1754, 621, 5323, 30, 46506, 20625, 7, 10531, 8, 16034, 3084, 62, 3672, 62, 6659, 33411, 5075, 1279, 33759, 5...
Which height is associated with Franklin High School?
SELECT "Height" FROM table_77980 WHERE "School" = 'franklin high school'
[ 13828, 6001, 318, 3917, 351, 14021, 3334, 3961, 30, 46506, 366, 23106, 1, 16034, 3084, 62, 3324, 40022, 33411, 366, 26130, 1, 796, 705, 8310, 962, 2815, 1029, 1524, 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 ]
[ 13828, 6001, 318, 3917, 351, 14021, 3334, 3961, 30, 46506, 366, 23106, 1, 16034, 3084, 62, 3324, 40022, 33411, 366, 26130, 1, 796, 705, 8310, 962, 2815, 1029, 1524, 6 ]
on the current hospital visit, how many days have passed since the first inotropic agent - milrinone of patient 005-87465?
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 = '005-87465'...
[ 261, 262, 1459, 4436, 3187, 11, 703, 867, 1528, 423, 3804, 1201, 262, 717, 287, 46084, 5797, 532, 1465, 12769, 505, 286, 5827, 3571, 20, 12, 23, 4524, 2996, 30, 46506, 352, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 392...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 261, 262, 1459, 4436, 3187, 11, 703, 867, 1528, 423, 3804, 1201, 262, 717, 287, 46084, 5797, 532, 1465, 12769, 505, 286, 5827, 3571, 20, 12, 23, 4524, 2996, 30, 46506, 352, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 392...
how many millions of spectator did has the episode whose prod.code was rp#213?
SELECT viewers__millions_ FROM table_23117208_3 WHERE prod_code = "RP#213"
[ 4919, 867, 5242, 286, 43893, 750, 468, 262, 4471, 3025, 40426, 13, 8189, 373, 374, 79, 2, 26427, 30, 46506, 10209, 834, 17805, 507, 62, 16034, 3084, 62, 1954, 17657, 21315, 62, 18, 33411, 40426, 62, 8189, 796, 366, 20031, 2, 26427, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5242, 286, 43893, 750, 468, 262, 4471, 3025, 40426, 13, 8189, 373, 374, 79, 2, 26427, 30, 46506, 10209, 834, 17805, 507, 62, 16034, 3084, 62, 1954, 17657, 21315, 62, 18, 33411, 40426, 62, 8189, 796, 366, 20031, 2, 26427, ...
What is the name for the species Authority of sigmodon hispidus say & ord, 1825?
SELECT "Name" FROM table_67363 WHERE "Species Authority" = 'sigmodon hispidus say & ord, 1825'
[ 2061, 318, 262, 1438, 329, 262, 4693, 11416, 286, 43237, 4666, 261, 465, 35317, 385, 910, 1222, 2760, 11, 1248, 1495, 30, 46506, 366, 5376, 1, 16034, 3084, 62, 3134, 35447, 33411, 366, 5248, 3171, 11416, 1, 796, 705, 82, 328, 4666, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 329, 262, 4693, 11416, 286, 43237, 4666, 261, 465, 35317, 385, 910, 1222, 2760, 11, 1248, 1495, 30, 46506, 366, 5376, 1, 16034, 3084, 62, 3134, 35447, 33411, 366, 5248, 3171, 11416, 1, 796, 705, 82, 328, 4666, ...
List of users by reputation >= 101.
SELECT Reputation FROM Users WHERE Reputation >= 101
[ 8053, 286, 2985, 416, 8507, 18189, 8949, 13, 46506, 1432, 7094, 16034, 18987, 33411, 1432, 7094, 18189, 8949 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8053, 286, 2985, 416, 8507, 18189, 8949, 13, 46506, 1432, 7094, 16034, 18987, 33411, 1432, 7094, 18189, 8949 ]
get count of users between 21 and 29.
SELECT COUNT(*) FROM Users WHERE LOWER(Location) LIKE LOWER('%##CountryName##%') AND AGE BETWEEN 21 AND 29
[ 1136, 954, 286, 2985, 1022, 2310, 290, 2808, 13, 46506, 327, 28270, 7, 28104, 16034, 18987, 33411, 406, 36048, 7, 14749, 8, 34178, 406, 36048, 10786, 4, 2235, 33921, 5376, 2235, 4, 11537, 5357, 317, 8264, 38651, 8845, 1677, 2310, 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 ]
[ 1136, 954, 286, 2985, 1022, 2310, 290, 2808, 13, 46506, 327, 28270, 7, 28104, 16034, 18987, 33411, 406, 36048, 7, 14749, 8, 34178, 406, 36048, 10786, 4, 2235, 33921, 5376, 2235, 4, 11537, 5357, 317, 8264, 38651, 8845, 1677, 2310, 5357, ...
Show weight from each name, and display by the X-axis from low to high.
SELECT Name, Weight FROM people ORDER BY Name
[ 15307, 3463, 422, 1123, 1438, 11, 290, 3359, 416, 262, 1395, 12, 22704, 422, 1877, 284, 1029, 13, 46506, 6530, 11, 14331, 16034, 661, 38678, 11050, 6530 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 3463, 422, 1123, 1438, 11, 290, 3359, 416, 262, 1395, 12, 22704, 422, 1877, 284, 1029, 13, 46506, 6530, 11, 14331, 16034, 661, 38678, 11050, 6530 ]
Find the number of students who participate in the tryout for each college ordered by descending count. Visualize by bar chart.
SELECT cName, COUNT(*) FROM Tryout GROUP BY cName ORDER BY COUNT(*) DESC
[ 16742, 262, 1271, 286, 2444, 508, 8277, 287, 262, 1949, 448, 329, 1123, 4152, 6149, 416, 31491, 954, 13, 15612, 1096, 416, 2318, 8262, 13, 46506, 269, 5376, 11, 327, 28270, 7, 28104, 16034, 9993, 448, 44441, 11050, 269, 5376, 38678, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16742, 262, 1271, 286, 2444, 508, 8277, 287, 262, 1949, 448, 329, 1123, 4152, 6149, 416, 31491, 954, 13, 15612, 1096, 416, 2318, 8262, 13, 46506, 269, 5376, 11, 327, 28270, 7, 28104, 16034, 9993, 448, 44441, 11050, 269, 5376, 38678, 1...
what DL flights fly from WASHINGTON to DALLAS in the morning
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 (((flight.departure_time <= 0 AND flight.departure_time >= 1200) AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'WASHINGTON' AND fligh...
[ 10919, 23641, 13956, 6129, 422, 370, 19436, 284, 360, 7036, 1921, 287, 262, 3329, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 23641, 13956, 6129, 422, 370, 19436, 284, 360, 7036, 1921, 287, 262, 3329, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, ...
What episode was first aired in 1976?
SELECT "Episode" FROM table_79450 WHERE "First aired" = '1976'
[ 2061, 4471, 373, 717, 18530, 287, 15408, 30, 46506, 366, 23758, 1, 16034, 3084, 62, 3720, 17885, 33411, 366, 5962, 18530, 1, 796, 705, 38108, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 4471, 373, 717, 18530, 287, 15408, 30, 46506, 366, 23758, 1, 16034, 3084, 62, 3720, 17885, 33411, 366, 5962, 18530, 1, 796, 705, 38108, 6 ]
If a team has a grid of over 8 with less than 4 points, what's the team name?
SELECT team FROM table_name_31 WHERE grid > 8 AND points < 4
[ 1532, 257, 1074, 468, 257, 10706, 286, 625, 807, 351, 1342, 621, 604, 2173, 11, 644, 338, 262, 1074, 1438, 30, 46506, 1074, 16034, 3084, 62, 3672, 62, 3132, 33411, 10706, 1875, 807, 5357, 2173, 1279, 604 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1532, 257, 1074, 468, 257, 10706, 286, 625, 807, 351, 1342, 621, 604, 2173, 11, 644, 338, 262, 1074, 1438, 30, 46506, 1074, 16034, 3084, 62, 3672, 62, 3132, 33411, 10706, 1875, 807, 5357, 2173, 1279, 604 ]
What is the total of PI GP played by Anton Rodin with a Reg GP less than 0?
SELECT COUNT(pl_gp) FROM table_name_73 WHERE player = "anton rodin" AND reg_gp < 0
[ 2061, 318, 262, 2472, 286, 30434, 14714, 2826, 416, 9261, 6882, 259, 351, 257, 3310, 14714, 1342, 621, 657, 30, 46506, 327, 28270, 7, 489, 62, 31197, 8, 16034, 3084, 62, 3672, 62, 4790, 33411, 2137, 796, 366, 23026, 15299, 259, 1, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2472, 286, 30434, 14714, 2826, 416, 9261, 6882, 259, 351, 257, 3310, 14714, 1342, 621, 657, 30, 46506, 327, 28270, 7, 489, 62, 31197, 8, 16034, 3084, 62, 3672, 62, 4790, 33411, 2137, 796, 366, 23026, 15299, 259, 1, 5...
Which City has a State of massachusetts, and a School of northeastern university?
SELECT "City" FROM table_6036 WHERE "State" = 'massachusetts' AND "School" = 'northeastern university'
[ 13828, 2254, 468, 257, 1812, 286, 2347, 9770, 11, 290, 257, 3961, 286, 38131, 6403, 30, 46506, 366, 14941, 1, 16034, 3084, 62, 1899, 2623, 33411, 366, 9012, 1, 796, 705, 22208, 9770, 6, 5357, 366, 26130, 1, 796, 705, 77, 419, 18160,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2254, 468, 257, 1812, 286, 2347, 9770, 11, 290, 257, 3961, 286, 38131, 6403, 30, 46506, 366, 14941, 1, 16034, 3084, 62, 1899, 2623, 33411, 366, 9012, 1, 796, 705, 22208, 9770, 6, 5357, 366, 26130, 1, 796, 705, 77, 419, 18160,...
Which Date has a Distance of 3,000 m?
SELECT "Date" FROM table_38590 WHERE "Distance" = '3,000 m'
[ 13828, 7536, 468, 257, 34600, 286, 513, 11, 830, 285, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 2548, 36993, 33411, 366, 45767, 1, 796, 705, 18, 11, 830, 285, 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, 7536, 468, 257, 34600, 286, 513, 11, 830, 285, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 2548, 36993, 33411, 366, 45767, 1, 796, 705, 18, 11, 830, 285, 6 ]
how many turns were completed to make a mean of 34.0
SELECT COUNT("Number of dances") FROM table_18809 WHERE "Average" = '34.0'
[ 4919, 867, 4962, 547, 5668, 284, 787, 257, 1612, 286, 4974, 13, 15, 46506, 327, 28270, 7203, 15057, 286, 38207, 4943, 16034, 3084, 62, 1507, 34583, 33411, 366, 26287, 1, 796, 705, 2682, 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 ]
[ 4919, 867, 4962, 547, 5668, 284, 787, 257, 1612, 286, 4974, 13, 15, 46506, 327, 28270, 7203, 15057, 286, 38207, 4943, 16034, 3084, 62, 1507, 34583, 33411, 366, 26287, 1, 796, 705, 2682, 13, 15, 6 ]
what is drug code of drug name psyllium wafer?
SELECT prescriptions.formulary_drug_cd FROM prescriptions WHERE prescriptions.drug = "Psyllium Wafer"
[ 10919, 318, 2563, 2438, 286, 2563, 1438, 17331, 297, 1505, 266, 34659, 30, 46506, 34092, 13, 687, 377, 560, 62, 30349, 62, 10210, 16034, 34092, 33411, 34092, 13, 30349, 796, 366, 25918, 297, 1505, 370, 34659, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2563, 2438, 286, 2563, 1438, 17331, 297, 1505, 266, 34659, 30, 46506, 34092, 13, 687, 377, 560, 62, 30349, 62, 10210, 16034, 34092, 33411, 34092, 13, 30349, 796, 366, 25918, 297, 1505, 370, 34659, 1 ]
give me the number of patients whose discharge location is dead/expired and diagnoses long title is aftercare for healing traumatic fracture of lower leg?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.discharge_location = "DEAD/EXPIRED" AND diagnoses.long_title = "Aftercare for healing traumatic fracture of lower leg"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 17655, 4067, 318, 2636, 14, 1069, 6474, 290, 40567, 890, 3670, 318, 706, 6651, 329, 11516, 25115, 31846, 286, 2793, 1232, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 31...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17655, 4067, 318, 2636, 14, 1069, 6474, 290, 40567, 890, 3670, 318, 706, 6651, 329, 11516, 25115, 31846, 286, 2793, 1232, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 31...
What authority is the coed school in pinehaven?
SELECT "Authority" FROM table_71491 WHERE "Gender" = 'coed' AND "Area" = 'pinehaven'
[ 2061, 4934, 318, 262, 763, 276, 1524, 287, 20161, 39487, 30, 46506, 366, 13838, 414, 1, 16034, 3084, 62, 45722, 6420, 33411, 366, 41394, 1, 796, 705, 1073, 276, 6, 5357, 366, 30547, 1, 796, 705, 23908, 39487, 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, 4934, 318, 262, 763, 276, 1524, 287, 20161, 39487, 30, 46506, 366, 13838, 414, 1, 16034, 3084, 62, 45722, 6420, 33411, 366, 41394, 1, 796, 705, 1073, 276, 6, 5357, 366, 30547, 1, 796, 705, 23908, 39487, 6 ]
count the number of patients whose age is less than 44 and item id is 50902?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.age < "44" AND lab.itemid = "50902"
[ 9127, 262, 1271, 286, 3871, 3025, 2479, 318, 1342, 621, 5846, 290, 2378, 4686, 318, 2026, 24, 2999, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 1672...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2479, 318, 1342, 621, 5846, 290, 2378, 4686, 318, 2026, 24, 2999, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 1672...
what are the four most commonly used procedures for patients who had received antiemetic - anticholinergic previously during the same month, until 1 year ago?
SELECT t3.treatmentname FROM (SELECT t2.treatmentname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, treatment.treatmenttime FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'antiemetic - anticholinergic' AND DATETI...
[ 10919, 389, 262, 1440, 749, 8811, 973, 9021, 329, 3871, 508, 550, 2722, 3098, 368, 5139, 532, 1885, 488, 24910, 19793, 4271, 1141, 262, 976, 1227, 11, 1566, 352, 614, 2084, 30, 46506, 256, 18, 13, 42487, 3672, 16034, 357, 46506, 256, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 389, 262, 1440, 749, 8811, 973, 9021, 329, 3871, 508, 550, 2722, 3098, 368, 5139, 532, 1885, 488, 24910, 19793, 4271, 1141, 262, 976, 1227, 11, 1566, 352, 614, 2084, 30, 46506, 256, 18, 13, 42487, 3672, 16034, 357, 46506, 256, ...
For those employees who do not work in departments with managers that have ids between 100 and 200, return a line chart about the change of department_id over hire_date .
SELECT HIRE_DATE, DEPARTMENT_ID 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, 1441, 257, 1627, 8262, 546, 262, 1487, 286, 5011, 62, 312, 625, 11078, 62, 4475, 764, 46506, 36210, 2200, 62, 35, 6158, 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...
[ 1890, 883, 4409, 508, 466, 407, 670, 287, 13346, 351, 11663, 326, 423, 220, 2340, 1022, 1802, 290, 939, 11, 1441, 257, 1627, 8262, 546, 262, 1487, 286, 5011, 62, 312, 625, 11078, 62, 4475, 764, 46506, 36210, 2200, 62, 35, 6158, 11, ...
Count: Answers by all users in year by month. Answers by all users in a year broken down by month
SELECT MONTH(p.CreationDate), COUNT(p.Id) FROM Posts AS p WHERE p.PostTypeId = 2 AND YEAR(p.CreationDate) = @Year GROUP BY MONTH(CreationDate)
[ 12332, 25, 42612, 416, 477, 2985, 287, 614, 416, 1227, 13, 42612, 416, 477, 2985, 287, 257, 614, 5445, 866, 416, 1227, 46506, 25000, 4221, 7, 79, 13, 12443, 341, 10430, 828, 327, 28270, 7, 79, 13, 7390, 8, 16034, 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...
[ 12332, 25, 42612, 416, 477, 2985, 287, 614, 416, 1227, 13, 42612, 416, 477, 2985, 287, 257, 614, 5445, 866, 416, 1227, 46506, 25000, 4221, 7, 79, 13, 12443, 341, 10430, 828, 327, 28270, 7, 79, 13, 7390, 8, 16034, 12043, 7054, 279, ...
Name the country for gerrard
SELECT "Country" FROM table_2680 WHERE "Name" = 'Gerrard'
[ 5376, 262, 1499, 329, 308, 8056, 446, 46506, 366, 33921, 1, 16034, 3084, 62, 2075, 1795, 33411, 366, 5376, 1, 796, 705, 38, 8056, 446, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 1499, 329, 308, 8056, 446, 46506, 366, 33921, 1, 16034, 3084, 62, 2075, 1795, 33411, 366, 5376, 1, 796, 705, 38, 8056, 446, 6 ]
Which of the private colleges is the oldest, and whose nickname is the Mountaineers?
SELECT MIN("Founded") FROM table_74673 WHERE "Type" = 'private' AND "Nickname" = 'mountaineers'
[ 13828, 286, 262, 2839, 15273, 318, 262, 13325, 11, 290, 3025, 21814, 318, 262, 5628, 5718, 364, 30, 46506, 20625, 7203, 37, 6302, 4943, 16034, 3084, 62, 4524, 45758, 33411, 366, 6030, 1, 796, 705, 19734, 6, 5357, 366, 23609, 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 ]
[ 13828, 286, 262, 2839, 15273, 318, 262, 13325, 11, 290, 3025, 21814, 318, 262, 5628, 5718, 364, 30, 46506, 20625, 7203, 37, 6302, 4943, 16034, 3084, 62, 4524, 45758, 33411, 366, 6030, 1, 796, 705, 19734, 6, 5357, 366, 23609, 3672, 1, ...
What position does the player with 13 caps play?
SELECT "Position" FROM table_51803 WHERE "Caps" = '13'
[ 2061, 2292, 857, 262, 2137, 351, 1511, 11022, 711, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 44085, 3070, 33411, 366, 34, 1686, 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, 2292, 857, 262, 2137, 351, 1511, 11022, 711, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 44085, 3070, 33411, 366, 34, 1686, 1, 796, 705, 1485, 6 ]
what were the total number of people in attendance on 11/24/2012 ?
SELECT "attendance" FROM table_204_119 WHERE "date" = '11/24/2012'
[ 10919, 547, 262, 2472, 1271, 286, 661, 287, 14858, 319, 1367, 14, 1731, 14, 6999, 5633, 46506, 366, 1078, 437, 590, 1, 16034, 3084, 62, 18638, 62, 16315, 33411, 366, 4475, 1, 796, 705, 1157, 14, 1731, 14, 6999, 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 ]
[ 10919, 547, 262, 2472, 1271, 286, 661, 287, 14858, 319, 1367, 14, 1731, 14, 6999, 5633, 46506, 366, 1078, 437, 590, 1, 16034, 3084, 62, 18638, 62, 16315, 33411, 366, 4475, 1, 796, 705, 1157, 14, 1731, 14, 6999, 6 ]
what is a name for a drug that patient 009-5015 was prescribed within 2 days after having been diagnosed with acute respiratory distress during their last 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 = '009-5015' AND NOT patient.hospita...
[ 10919, 318, 257, 1438, 329, 257, 2563, 326, 5827, 3571, 24, 12, 20, 25150, 373, 14798, 1626, 362, 1528, 706, 1719, 587, 14641, 351, 14352, 22949, 17087, 1141, 511, 938, 4436, 3187, 30, 46506, 256, 17, 13, 30349, 3672, 16034, 357, 4650...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 257, 1438, 329, 257, 2563, 326, 5827, 3571, 24, 12, 20, 25150, 373, 14798, 1626, 362, 1528, 706, 1719, 587, 14641, 351, 14352, 22949, 17087, 1141, 511, 938, 4436, 3187, 30, 46506, 256, 17, 13, 30349, 3672, 16034, 357, 4650...
how many patients last year had a sputum, expectorated microbiology test taken?
SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.patientunitstayid IN (SELECT microlab.patientunitstayid FROM microlab WHERE microlab.culturesite = 'sputum, expectorated' AND DATETIME(microlab.culturetakentime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year'))
[ 4919, 867, 3871, 938, 614, 550, 257, 599, 315, 388, 11, 1607, 273, 515, 24559, 1435, 1332, 2077, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 5827, 13, 403, 1557, 538, 312, 8, 16034, 5827, 33411, 5827, 13, 26029, 20850, 31712, 31...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 938, 614, 550, 257, 599, 315, 388, 11, 1607, 273, 515, 24559, 1435, 1332, 2077, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 5827, 13, 403, 1557, 538, 312, 8, 16034, 5827, 33411, 5827, 13, 26029, 20850, 31712, 31...
On what date was the game that the Indianapolis Colts lost in 2004?
SELECT "Date" FROM table_69802 WHERE "Loser" = 'indianapolis colts' AND "Year" = '2004'
[ 2202, 644, 3128, 373, 262, 983, 326, 262, 19362, 20464, 2626, 287, 5472, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 3388, 30863, 33411, 366, 43, 13416, 1, 796, 705, 521, 666, 11174, 951, 912, 6, 5357, 366, 17688, 1, 796, 705, 15724,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 326, 262, 19362, 20464, 2626, 287, 5472, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 3388, 30863, 33411, 366, 43, 13416, 1, 796, 705, 521, 666, 11174, 951, 912, 6, 5357, 366, 17688, 1, 796, 705, 15724,...
how many total standards are there for type b plugs ?
SELECT COUNT("standard") FROM table_204_794 WHERE "iec\nworld plugs\nType" = 'b'
[ 4919, 867, 2472, 5423, 389, 612, 329, 2099, 275, 37008, 5633, 46506, 327, 28270, 7203, 20307, 4943, 16034, 3084, 62, 18638, 62, 50242, 33411, 366, 494, 66, 59, 77, 6894, 37008, 59, 77, 6030, 1, 796, 705, 65, 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 ]
[ 4919, 867, 2472, 5423, 389, 612, 329, 2099, 275, 37008, 5633, 46506, 327, 28270, 7203, 20307, 4943, 16034, 3084, 62, 18638, 62, 50242, 33411, 366, 494, 66, 59, 77, 6894, 37008, 59, 77, 6030, 1, 796, 705, 65, 6 ]