instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
On which date was the Winning score 5 (70-65-69-75=279)?
SELECT "Date" FROM table_34069 WHERE "Winning score" = '–5 (70-65-69-75=279)'
[ 2202, 543, 3128, 373, 262, 40983, 4776, 642, 357, 2154, 12, 2996, 12, 3388, 12, 2425, 28, 26050, 19427, 46506, 366, 10430, 1, 16034, 3084, 62, 23601, 3388, 33411, 366, 16643, 768, 4776, 1, 796, 705, 1906, 20, 357, 2154, 12, 2996, 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 ]
[ 2202, 543, 3128, 373, 262, 40983, 4776, 642, 357, 2154, 12, 2996, 12, 3388, 12, 2425, 28, 26050, 19427, 46506, 366, 10430, 1, 16034, 3084, 62, 23601, 3388, 33411, 366, 16643, 768, 4776, 1, 796, 705, 1906, 20, 357, 2154, 12, 2996, 12...
What are the lowest points from 1992 with a Chassis of Minardi m192?
SELECT MIN(points) FROM table_name_89 WHERE year = 1992 AND chassis = "minardi m192"
[ 2061, 389, 262, 9016, 2173, 422, 9768, 351, 257, 609, 20297, 286, 1855, 22490, 285, 17477, 30, 46506, 20625, 7, 13033, 8, 16034, 3084, 62, 3672, 62, 4531, 33411, 614, 796, 9768, 5357, 24587, 796, 366, 1084, 22490, 285, 17477, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9016, 2173, 422, 9768, 351, 257, 609, 20297, 286, 1855, 22490, 285, 17477, 30, 46506, 20625, 7, 13033, 8, 16034, 3084, 62, 3672, 62, 4531, 33411, 614, 796, 9768, 5357, 24587, 796, 366, 1084, 22490, 285, 17477, 1 ]
what are the three commonest prescribed drugs for patients who previously were prescribed calcium chloride within 2 months until 2104?
SELECT t3.drugname FROM (SELECT t2.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, medication.drugstarttime FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid WHERE medication.drugname = 'calcium chloride' AND STRFTIME('%y', medication.dru...
[ 10919, 389, 262, 1115, 2219, 395, 14798, 5010, 329, 3871, 508, 4271, 547, 14798, 19700, 44921, 1626, 362, 1933, 1566, 362, 13464, 30, 46506, 256, 18, 13, 30349, 3672, 16034, 357, 46506, 256, 17, 13, 30349, 3672, 11, 360, 24290, 62, 49...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2219, 395, 14798, 5010, 329, 3871, 508, 4271, 547, 14798, 19700, 44921, 1626, 362, 1933, 1566, 362, 13464, 30, 46506, 256, 18, 13, 30349, 3672, 16034, 357, 46506, 256, 17, 13, 30349, 3672, 11, 360, 24290, 62, 49...
What is the episode number of the episode that originally aired on February 4, 2008?
SELECT "Episode no." FROM table_58230 WHERE "Original Airdate" = 'february 4, 2008'
[ 2061, 318, 262, 4471, 1271, 286, 262, 4471, 326, 6198, 18530, 319, 3945, 604, 11, 3648, 30, 46506, 366, 23758, 645, 526, 16034, 3084, 62, 3365, 19214, 33411, 366, 20556, 317, 1447, 378, 1, 796, 705, 69, 1765, 3728, 604, 11, 3648, 6 ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4471, 1271, 286, 262, 4471, 326, 6198, 18530, 319, 3945, 604, 11, 3648, 30, 46506, 366, 23758, 645, 526, 16034, 3084, 62, 3365, 19214, 33411, 366, 20556, 317, 1447, 378, 1, 796, 705, 69, 1765, 3728, 604, 11, 3648, 6 ...
Find the max gpa of all students in each department with a bar chart, and I want to order by the Y in desc.
SELECT DEPT_CODE, MAX(STU_GPA) FROM STUDENT GROUP BY DEPT_CODE ORDER BY MAX(STU_GPA) DESC
[ 16742, 262, 3509, 308, 8957, 286, 477, 2444, 287, 1123, 5011, 351, 257, 2318, 8262, 11, 290, 314, 765, 284, 1502, 416, 262, 575, 287, 1715, 13, 46506, 5550, 11571, 62, 34, 16820, 11, 25882, 7, 2257, 52, 62, 38, 4537, 8, 16034, 493...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3509, 308, 8957, 286, 477, 2444, 287, 1123, 5011, 351, 257, 2318, 8262, 11, 290, 314, 765, 284, 1502, 416, 262, 575, 287, 1715, 13, 46506, 5550, 11571, 62, 34, 16820, 11, 25882, 7, 2257, 52, 62, 38, 4537, 8, 16034, 493...
Number of posts per tag for the last month.
SELECT t.TagName, COUNT(pt.PostId) AS numposts FROM Tags AS t, PostTags AS pt, Posts AS p WHERE pt.TagId = t.Id AND pt.PostId = p.Id AND p.CreationDate > DATEFROMPARTS(2013, 8, 1) GROUP BY t.TagName ORDER BY numposts DESC
[ 15057, 286, 6851, 583, 7621, 329, 262, 938, 1227, 13, 46506, 256, 13, 24835, 5376, 11, 327, 28270, 7, 457, 13, 6307, 7390, 8, 7054, 299, 931, 455, 82, 16034, 44789, 7054, 256, 11, 2947, 36142, 7054, 42975, 11, 12043, 7054, 279, 3341...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6851, 583, 7621, 329, 262, 938, 1227, 13, 46506, 256, 13, 24835, 5376, 11, 327, 28270, 7, 457, 13, 6307, 7390, 8, 7054, 299, 931, 455, 82, 16034, 44789, 7054, 256, 11, 2947, 36142, 7054, 42975, 11, 12043, 7054, 279, 3341...
Total DTD (Range) 'classroom' in Title.
SELECT Id AS "post_link", CreationDate, Tags, Score, AnswerCount, CommentCount FROM Posts WHERE Posts.Title LIKE '%classroom%' AND CreationDate BETWEEN @StartDate AND @EndDate ORDER BY CreationDate
[ 14957, 360, 21016, 357, 17257, 8, 705, 4871, 3823, 6, 287, 11851, 13, 46506, 5121, 7054, 366, 7353, 62, 8726, 1600, 21582, 10430, 11, 44789, 11, 15178, 11, 23998, 12332, 11, 18957, 12332, 16034, 12043, 33411, 12043, 13, 19160, 34178, 70...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 14957, 360, 21016, 357, 17257, 8, 705, 4871, 3823, 6, 287, 11851, 13, 46506, 5121, 7054, 366, 7353, 62, 8726, 1600, 21582, 10430, 11, 44789, 11, 15178, 11, 23998, 12332, 11, 18957, 12332, 16034, 12043, 33411, 12043, 13, 19160, 34178, 70...
Where is the rate 5.7 in October 2010?
SELECT employment_area FROM table_21531764_1 WHERE october_2010 = "5.7"
[ 8496, 318, 262, 2494, 642, 13, 22, 287, 3267, 3050, 30, 46506, 7184, 62, 20337, 16034, 3084, 62, 17, 21395, 1558, 2414, 62, 16, 33411, 19318, 2023, 62, 10333, 796, 366, 20, 13, 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 ]
[ 8496, 318, 262, 2494, 642, 13, 22, 287, 3267, 3050, 30, 46506, 7184, 62, 20337, 16034, 3084, 62, 17, 21395, 1558, 2414, 62, 16, 33411, 19318, 2023, 62, 10333, 796, 366, 20, 13, 22, 1 ]
show the name of all bridges that was designed by american archtect, and sort the result by the bridge feet length.
SELECT t1.name FROM bridge AS t1 JOIN architect AS t2 ON t1.architect_id = t2.id WHERE t2.nationality = 'American' ORDER BY t1.length_feet
[ 12860, 262, 1438, 286, 477, 19432, 326, 373, 3562, 416, 45630, 272, 3934, 83, 478, 11, 290, 3297, 262, 1255, 416, 262, 7696, 3625, 4129, 13, 46506, 256, 16, 13, 3672, 16034, 7696, 7054, 256, 16, 32357, 1268, 7068, 7054, 256, 17, 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...
[ 12860, 262, 1438, 286, 477, 19432, 326, 373, 3562, 416, 45630, 272, 3934, 83, 478, 11, 290, 3297, 262, 1255, 416, 262, 7696, 3625, 4129, 13, 46506, 256, 16, 13, 3672, 16034, 7696, 7054, 256, 16, 32357, 1268, 7068, 7054, 256, 17, 617...
What is north melbourne's score as an away side?
SELECT "Away team score" FROM table_77924 WHERE "Away team" = 'north melbourne'
[ 2061, 318, 5093, 7758, 12544, 338, 4776, 355, 281, 1497, 1735, 30, 46506, 366, 32, 1014, 1074, 4776, 1, 16034, 3084, 62, 40393, 1731, 33411, 366, 32, 1014, 1074, 1, 796, 705, 43588, 7758, 12544, 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, 5093, 7758, 12544, 338, 4776, 355, 281, 1497, 1735, 30, 46506, 366, 32, 1014, 1074, 4776, 1, 16034, 3084, 62, 40393, 1731, 33411, 366, 32, 1014, 1074, 1, 796, 705, 43588, 7758, 12544, 6 ]
what are the film names with the co-singer vinod rathod?
SELECT film_name FROM table_11827596_2 WHERE co_singer = "Vinod Rathod"
[ 10919, 389, 262, 2646, 3891, 351, 262, 763, 12, 82, 3889, 410, 259, 375, 374, 776, 375, 30, 46506, 2646, 62, 3672, 16034, 3084, 62, 16817, 1983, 45734, 62, 17, 33411, 763, 62, 82, 3889, 796, 366, 53, 259, 375, 26494, 375, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 389, 262, 2646, 3891, 351, 262, 763, 12, 82, 3889, 410, 259, 375, 374, 776, 375, 30, 46506, 2646, 62, 3672, 16034, 3084, 62, 16817, 1983, 45734, 62, 17, 33411, 763, 62, 82, 3889, 796, 366, 53, 259, 375, 26494, 375, 1 ]
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 bar chart about the distribution of job_id and the amount of job_id , and group by attribute job_id.
SELECT JOB_ID, COUNT(JOB_ID) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 GROUP BY JOB_ID
[ 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, 2318, 8262, 546, 262, 6082, 286, 1693, 62, 312, 290, 262, 2033, 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, 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, 2318, 8262, 546, 262, 6082, 286, 1693, 62, 312, 290, 262, 2033, 286,...
Which Country has a Year(s) won of 1963?
SELECT country FROM table_name_62 WHERE year_s__won = "1963"
[ 13828, 12946, 468, 257, 6280, 7, 82, 8, 1839, 286, 19342, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 5237, 33411, 614, 62, 82, 834, 26502, 796, 366, 45192, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 12946, 468, 257, 6280, 7, 82, 8, 1839, 286, 19342, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 5237, 33411, 614, 62, 82, 834, 26502, 796, 366, 45192, 1 ]
Which Player has a PI GP over 0 and a Rd # of 1?
SELECT "Player" FROM table_54911 WHERE "Pl GP" > '0' AND "Rd #" = '1'
[ 13828, 7853, 468, 257, 30434, 14714, 625, 657, 290, 257, 20769, 1303, 286, 352, 30, 46506, 366, 14140, 1, 16034, 3084, 62, 44966, 1157, 33411, 366, 3646, 14714, 1, 1875, 705, 15, 6, 5357, 366, 49, 67, 1303, 1, 796, 705, 16, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 7853, 468, 257, 30434, 14714, 625, 657, 290, 257, 20769, 1303, 286, 352, 30, 46506, 366, 14140, 1, 16034, 3084, 62, 44966, 1157, 33411, 366, 3646, 14714, 1, 1875, 705, 15, 6, 5357, 366, 49, 67, 1303, 1, 796, 705, 16, 6 ]
What was the result of the election with incumbent john lewis?
SELECT result FROM table_27487712_1 WHERE incumbent = "John Lewis"
[ 2061, 373, 262, 1255, 286, 262, 3071, 351, 23526, 45610, 443, 86, 271, 30, 46506, 1255, 16034, 3084, 62, 1983, 2780, 3324, 1065, 62, 16, 33411, 23526, 796, 366, 7554, 10174, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 1255, 286, 262, 3071, 351, 23526, 45610, 443, 86, 271, 30, 46506, 1255, 16034, 3084, 62, 1983, 2780, 3324, 1065, 62, 16, 33411, 23526, 796, 366, 7554, 10174, 1 ]
how many patients on medicare insurance had retention urine nos?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.insurance = "Medicare" AND diagnoses.short_title = "Retention urine NOS"
[ 4919, 867, 3871, 319, 6924, 533, 5096, 550, 21545, 18922, 43630, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312, 796, 40...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 319, 6924, 533, 5096, 550, 21545, 18922, 43630, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312, 796, 40...
Which 2 -credit courses are available that are on the SW 100 -level ?
SELECT DISTINCT department, name, number FROM course WHERE credits = 2 AND department = 'SW' AND number < 100 + 100 AND number >= 100
[ 13828, 362, 532, 43082, 10902, 389, 1695, 326, 389, 319, 262, 12672, 1802, 532, 5715, 5633, 46506, 360, 8808, 1268, 4177, 5011, 11, 1438, 11, 1271, 16034, 1781, 33411, 10824, 796, 362, 5357, 5011, 796, 705, 17887, 6, 5357, 1271, 1279, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 362, 532, 43082, 10902, 389, 1695, 326, 389, 319, 262, 12672, 1802, 532, 5715, 5633, 46506, 360, 8808, 1268, 4177, 5011, 11, 1438, 11, 1271, 16034, 1781, 33411, 10824, 796, 362, 5357, 5011, 796, 705, 17887, 6, 5357, 1271, 1279, ...
what are the four most frequently prescribed medications for patients who were also prescribed with chlorthalidone at the same time until 2104?
SELECT t3.drug FROM (SELECT t2.drug, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, prescriptions.startdate FROM prescriptions JOIN admissions ON prescriptions.hadm_id = admissions.hadm_id WHERE prescriptions.drug = 'chlorthalidone' AND STRFTIME('%y', prescriptions.startdate) <= '2...
[ 10919, 389, 262, 1440, 749, 6777, 14798, 17638, 329, 3871, 508, 547, 635, 14798, 351, 442, 75, 1506, 10751, 505, 379, 262, 976, 640, 1566, 362, 13464, 30, 46506, 256, 18, 13, 30349, 16034, 357, 46506, 256, 17, 13, 30349, 11, 360, 24...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 389, 262, 1440, 749, 6777, 14798, 17638, 329, 3871, 508, 547, 635, 14798, 351, 442, 75, 1506, 10751, 505, 379, 262, 976, 640, 1566, 362, 13464, 30, 46506, 256, 18, 13, 30349, 16034, 357, 46506, 256, 17, 13, 30349, 11, 360, 24...
What is the latest year with less than 2 points, a Mclaren m28 chassis and an Entrant of l wenbr u team mclaren?
SELECT MAX(year) FROM table_name_84 WHERE points < 2 AND chassis = "mclaren m28" AND entrant = "löwenbräu team mclaren"
[ 2061, 318, 262, 3452, 614, 351, 1342, 621, 362, 2173, 11, 257, 337, 565, 5757, 285, 2078, 24587, 290, 281, 7232, 5250, 286, 300, 266, 268, 1671, 334, 1074, 285, 565, 5757, 30, 46506, 25882, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 318, 262, 3452, 614, 351, 1342, 621, 362, 2173, 11, 257, 337, 565, 5757, 285, 2078, 24587, 290, 281, 7232, 5250, 286, 300, 266, 268, 1671, 334, 1074, 285, 565, 5757, 30, 46506, 25882, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 5...
list the flights from BALTIMORE to SEATTLE that stop in MINNEAPOLIS
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, airport_service AS AIRPORT_SERVICE_2, city AS CITY_0, city AS CITY_1, city AS CITY_2, flight, flight_stop WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SEATTLE' AND CITY_2.ci...
[ 4868, 262, 13956, 422, 347, 31429, 3955, 6965, 284, 7946, 35455, 326, 2245, 287, 20625, 12161, 2969, 3535, 1797, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 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, 1...
[ 4868, 262, 13956, 422, 347, 31429, 3955, 6965, 284, 7946, 35455, 326, 2245, 287, 20625, 12161, 2969, 3535, 1797, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 1...
Find the number of classes offered for all class rooms that held at least 2 classes Show bar chart, rank from high to low by the Y.
SELECT CLASS_ROOM, COUNT(*) FROM CLASS GROUP BY CLASS_ROOM ORDER BY COUNT(*) DESC
[ 16742, 262, 1271, 286, 6097, 4438, 329, 477, 1398, 9519, 326, 2714, 379, 1551, 362, 6097, 5438, 2318, 8262, 11, 4279, 422, 1029, 284, 1877, 416, 262, 575, 13, 46506, 42715, 62, 13252, 2662, 11, 327, 28270, 7, 28104, 16034, 42715, 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 ]
[ 16742, 262, 1271, 286, 6097, 4438, 329, 477, 1398, 9519, 326, 2714, 379, 1551, 362, 6097, 5438, 2318, 8262, 11, 4279, 422, 1029, 284, 1877, 416, 262, 575, 13, 46506, 42715, 62, 13252, 2662, 11, 327, 28270, 7, 28104, 16034, 42715, 4444...
Unanswered questions with high views + high votes, by tag. A list of questions with a high score and low view count
SELECT a.Id, a.Title, a.Score, a.ViewCount, a.Tags FROM Posts AS a WHERE Id IN (SELECT ParentId FROM Posts WHERE OwnerUserId = 108797) ORDER BY ViewCount DESC
[ 3118, 31966, 2683, 351, 1029, 5009, 1343, 1029, 5690, 11, 416, 7621, 13, 317, 1351, 286, 2683, 351, 257, 1029, 4776, 290, 1877, 1570, 954, 46506, 257, 13, 7390, 11, 257, 13, 19160, 11, 257, 13, 26595, 11, 257, 13, 7680, 12332, 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...
[ 3118, 31966, 2683, 351, 1029, 5009, 1343, 1029, 5690, 11, 416, 7621, 13, 317, 1351, 286, 2683, 351, 257, 1029, 4776, 290, 1877, 1570, 954, 46506, 257, 13, 7390, 11, 257, 13, 19160, 11, 257, 13, 26595, 11, 257, 13, 7680, 12332, 11, ...
List roles that have more than one employee. List the role description and number of employees.
SELECT roles.role_description, COUNT(employees.employee_id) FROM roles JOIN employees ON employees.role_code = roles.role_code GROUP BY employees.role_code HAVING COUNT(employees.employee_id) > 1
[ 8053, 9176, 326, 423, 517, 621, 530, 6538, 13, 7343, 262, 2597, 6764, 290, 1271, 286, 4409, 13, 46506, 9176, 13, 18090, 62, 11213, 11, 327, 28270, 7, 7033, 2841, 13, 7033, 1453, 62, 312, 8, 16034, 9176, 32357, 1268, 4409, 6177, 4409...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9176, 326, 423, 517, 621, 530, 6538, 13, 7343, 262, 2597, 6764, 290, 1271, 286, 4409, 13, 46506, 9176, 13, 18090, 62, 11213, 11, 327, 28270, 7, 7033, 2841, 13, 7033, 1453, 62, 312, 8, 16034, 9176, 32357, 1268, 4409, 6177, 4409...
What is the score of the tournament on November 5, 2007 with a carpet surface?
SELECT score FROM table_name_90 WHERE surface = "carpet" AND date = "november 5, 2007"
[ 2061, 318, 262, 4776, 286, 262, 7756, 319, 3389, 642, 11, 4343, 351, 257, 20710, 4417, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 3829, 33411, 4417, 796, 366, 66, 5117, 316, 1, 5357, 3128, 796, 366, 77, 3239, 642, 11, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4776, 286, 262, 7756, 319, 3389, 642, 11, 4343, 351, 257, 20710, 4417, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 3829, 33411, 4417, 796, 366, 66, 5117, 316, 1, 5357, 3128, 796, 366, 77, 3239, 642, 11, 4343, 1 ]
Name the high rebounds for charlotte
SELECT high_rebounds FROM table_27700375_11 WHERE team = "Charlotte"
[ 5376, 262, 1029, 18841, 329, 1149, 75, 11404, 46506, 1029, 62, 34806, 3733, 16034, 3084, 62, 1983, 9879, 22318, 62, 1157, 33411, 1074, 796, 366, 24453, 11404, 1 ]
[ 1, 1, 1, 1, 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, 1029, 18841, 329, 1149, 75, 11404, 46506, 1029, 62, 34806, 3733, 16034, 3084, 62, 1983, 9879, 22318, 62, 1157, 33411, 1074, 796, 366, 24453, 11404, 1 ]
For those employees who do not work in departments with managers that have ids between 100 and 200, draw a bar chart about the distribution of hire_date and the average of employee_id bin hire_date by time.
SELECT HIRE_DATE, AVG(EMPLOYEE_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, 3197, 257, 2318, 8262, 546, 262, 6082, 286, 11078, 62, 4475, 290, 262, 2811, 286, 6538, 62, 312, 9874, 11078, 62, 4475, 416,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3197, 257, 2318, 8262, 546, 262, 6082, 286, 11078, 62, 4475, 290, 262, 2811, 286, 6538, 62, 312, 9874, 11078, 62, 4475, 416,...
What grid has a Time/Retired of +5 laps?
SELECT grid FROM table_name_34 WHERE time_retired = "+5 laps"
[ 2061, 10706, 468, 257, 3862, 14, 9781, 1202, 286, 1343, 20, 24590, 30, 46506, 10706, 16034, 3084, 62, 3672, 62, 2682, 33411, 640, 62, 1186, 1202, 796, 43825, 20, 24590, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 10706, 468, 257, 3862, 14, 9781, 1202, 286, 1343, 20, 24590, 30, 46506, 10706, 16034, 3084, 62, 3672, 62, 2682, 33411, 640, 62, 1186, 1202, 796, 43825, 20, 24590, 1 ]
give the death status and duration of hospital stay for subject id 1121.
SELECT demographic.days_stay, demographic.expire_flag FROM demographic WHERE demographic.subject_id = "1121"
[ 26535, 262, 1918, 3722, 290, 9478, 286, 4436, 2652, 329, 2426, 4686, 13539, 16, 13, 46506, 16728, 13, 12545, 62, 31712, 11, 16728, 13, 1069, 5111, 62, 32109, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 14686, 16, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 26535, 262, 1918, 3722, 290, 9478, 286, 4436, 2652, 329, 2426, 4686, 13539, 16, 13, 46506, 16728, 13, 12545, 62, 31712, 11, 16728, 13, 1069, 5111, 62, 32109, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 14686, 16, 1 ]
Which artist has a serial number of ATM24016?
SELECT artist FROM table_name_41 WHERE number = "atm24016"
[ 13828, 6802, 468, 257, 11389, 1271, 286, 30939, 1731, 27037, 30, 46506, 6802, 16034, 3084, 62, 3672, 62, 3901, 33411, 1271, 796, 366, 265, 76, 1731, 27037, 1 ]
[ 1, 1, 1, 1, 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, 6802, 468, 257, 11389, 1271, 286, 30939, 1731, 27037, 30, 46506, 6802, 16034, 3084, 62, 3672, 62, 3901, 33411, 1271, 796, 366, 265, 76, 1731, 27037, 1 ]
Which location had a round of 3, and an Opponent of matt horwich?
SELECT "Location" FROM table_71723 WHERE "Round" < '3' AND "Opponent" = 'matt horwich'
[ 13828, 4067, 550, 257, 2835, 286, 513, 11, 290, 281, 9385, 3471, 286, 23963, 3076, 11451, 30, 46506, 366, 14749, 1, 16034, 3084, 62, 22, 1558, 1954, 33411, 366, 22685, 1, 1279, 705, 18, 6, 5357, 366, 27524, 3471, 1, 796, 705, 76, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4067, 550, 257, 2835, 286, 513, 11, 290, 281, 9385, 3471, 286, 23963, 3076, 11451, 30, 46506, 366, 14749, 1, 16034, 3084, 62, 22, 1558, 1954, 33411, 366, 22685, 1, 1279, 705, 18, 6, 5357, 366, 27524, 3471, 1, 796, 705, 76, ...
Tell me the average gold for moldova and bronze less than 1
SELECT AVG("Gold") FROM table_51649 WHERE "Nation" = 'moldova' AND "Bronze" < '1'
[ 24446, 502, 262, 2811, 3869, 329, 15936, 10071, 290, 22101, 1342, 621, 352, 46506, 35224, 7203, 13306, 4943, 16034, 3084, 62, 47493, 2920, 33411, 366, 46108, 1, 796, 705, 76, 727, 10071, 6, 5357, 366, 18760, 2736, 1, 1279, 705, 16, 6 ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 24446, 502, 262, 2811, 3869, 329, 15936, 10071, 290, 22101, 1342, 621, 352, 46506, 35224, 7203, 13306, 4943, 16034, 3084, 62, 47493, 2920, 33411, 366, 46108, 1, 796, 705, 76, 727, 10071, 6, 5357, 366, 18760, 2736, 1, 1279, 705, 16, 6 ...
no i want to go from DENVER to OAKLAND
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 = 'OAKLAND...
[ 3919, 1312, 765, 284, 467, 422, 37692, 5959, 284, 440, 10206, 28182, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15490, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3919, 1312, 765, 284, 467, 422, 37692, 5959, 284, 440, 10206, 28182, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15490, ...
What is the L2 Cache for Model Number nano u3400 with an Idle Power of 100mw?
SELECT "L2 Cache" FROM table_62651 WHERE "Idle Power" = '100mw' AND "Model Number" = 'nano u3400'
[ 2061, 318, 262, 406, 17, 34088, 329, 9104, 7913, 38706, 334, 2682, 405, 351, 281, 37130, 4333, 286, 1802, 76, 86, 30, 46506, 366, 43, 17, 34088, 1, 16034, 3084, 62, 45191, 4349, 33411, 366, 7390, 293, 4333, 1, 796, 705, 3064, 76, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 406, 17, 34088, 329, 9104, 7913, 38706, 334, 2682, 405, 351, 281, 37130, 4333, 286, 1802, 76, 86, 30, 46506, 366, 43, 17, 34088, 1, 16034, 3084, 62, 45191, 4349, 33411, 366, 7390, 293, 4333, 1, 796, 705, 3064, 76, ...
What is the highest number listed for matches?
SELECT MAX("Matches") FROM table_30787
[ 2061, 318, 262, 4511, 1271, 5610, 329, 7466, 30, 46506, 25882, 7203, 19044, 2052, 4943, 16034, 3084, 62, 1270, 41019 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4511, 1271, 5610, 329, 7466, 30, 46506, 25882, 7203, 19044, 2052, 4943, 16034, 3084, 62, 1270, 41019 ]
how many times was the population estimate 2005 have an area (km2) more than 8,023.74?
SELECT COUNT("Population Estimate 2005") FROM table_11225 WHERE "Area (km 2 )" > '8,023.74'
[ 4919, 867, 1661, 373, 262, 3265, 8636, 5075, 423, 281, 1989, 357, 13276, 17, 8, 517, 621, 807, 11, 45310, 13, 4524, 30, 46506, 327, 28270, 7203, 45251, 10062, 1920, 5075, 4943, 16034, 3084, 62, 14686, 1495, 33411, 366, 30547, 357, 132...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 1661, 373, 262, 3265, 8636, 5075, 423, 281, 1989, 357, 13276, 17, 8, 517, 621, 807, 11, 45310, 13, 4524, 30, 46506, 327, 28270, 7203, 45251, 10062, 1920, 5075, 4943, 16034, 3084, 62, 14686, 1495, 33411, 366, 30547, 357, 132...
What were the lowest goals with a debut before 1961 in Europe?
SELECT MIN(goals) FROM table_name_53 WHERE debut_in_europe < 1961
[ 2061, 547, 262, 9016, 4661, 351, 257, 8886, 878, 20510, 287, 2031, 30, 46506, 20625, 7, 2188, 874, 8, 16034, 3084, 62, 3672, 62, 4310, 33411, 8886, 62, 259, 62, 44252, 431, 1279, 20510 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 547, 262, 9016, 4661, 351, 257, 8886, 878, 20510, 287, 2031, 30, 46506, 20625, 7, 2188, 874, 8, 16034, 3084, 62, 3672, 62, 4310, 33411, 8886, 62, 259, 62, 44252, 431, 1279, 20510 ]
does patient 31243 have a normal arterial bp mean since 02/11/2104?
SELECT COUNT(*) > 0 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 = 31243)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'arterial bp mean'...
[ 22437, 5827, 34465, 3559, 423, 257, 3487, 30675, 498, 275, 79, 1612, 1201, 7816, 14, 1157, 14, 17, 13464, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, 323, 62, 312, 3268, 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...
[ 22437, 5827, 34465, 3559, 423, 257, 3487, 30675, 498, 275, 79, 1612, 1201, 7816, 14, 1157, 14, 17, 13464, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, 323, 62, 312, 3268, 357, 46506...
Tell me the lowest 2005 for 2010 less than 21 for 2009 being 19
SELECT MIN(2005) FROM table_name_75 WHERE 2009 = 19 AND 2010 < 21
[ 24446, 502, 262, 9016, 5075, 329, 3050, 1342, 621, 2310, 329, 3717, 852, 678, 46506, 20625, 7, 14315, 8, 16034, 3084, 62, 3672, 62, 2425, 33411, 3717, 796, 678, 5357, 3050, 1279, 2310 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9016, 5075, 329, 3050, 1342, 621, 2310, 329, 3717, 852, 678, 46506, 20625, 7, 14315, 8, 16034, 3084, 62, 3672, 62, 2425, 33411, 3717, 796, 678, 5357, 3050, 1279, 2310 ]
what is the price of diagnosis of renal trauma?
SELECT DISTINCT cost.cost FROM cost WHERE cost.eventtype = 'diagnosis' AND cost.eventid IN (SELECT diagnosis.diagnosisid FROM diagnosis WHERE diagnosis.diagnosisname = 'renal trauma')
[ 10919, 318, 262, 2756, 286, 13669, 286, 44375, 14649, 30, 46506, 360, 8808, 1268, 4177, 1575, 13, 15805, 16034, 1575, 33411, 1575, 13, 15596, 4906, 796, 705, 47356, 5958, 6, 5357, 1575, 13, 15596, 312, 3268, 357, 46506, 13669, 13, 47356...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2756, 286, 13669, 286, 44375, 14649, 30, 46506, 360, 8808, 1268, 4177, 1575, 13, 15805, 16034, 1575, 33411, 1575, 13, 15596, 4906, 796, 705, 47356, 5958, 6, 5357, 1575, 13, 15596, 312, 3268, 357, 46506, 13669, 13, 47356...
What year shows 4 points?
SELECT year FROM table_name_65 WHERE points = 4
[ 2061, 614, 2523, 604, 2173, 30, 46506, 614, 16034, 3084, 62, 3672, 62, 2996, 33411, 2173, 796, 604 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 614, 2523, 604, 2173, 30, 46506, 614, 16034, 3084, 62, 3672, 62, 2996, 33411, 2173, 796, 604 ]
show me all flights from SAN DIEGO to PHOENIX on a BOEING 737
SELECT DISTINCT flight.flight_id FROM aircraft, airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, equipment_sequence, flight WHERE (aircraft.basic_type = '737' AND aircraft.manufacturer = 'BOEING' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.cit...
[ 12860, 502, 477, 13956, 422, 37376, 14766, 7156, 46, 284, 9370, 46, 1677, 10426, 319, 257, 16494, 36, 2751, 37517, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 6215, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12860, 502, 477, 13956, 422, 37376, 14766, 7156, 46, 284, 9370, 46, 1677, 10426, 319, 257, 16494, 36, 2751, 37517, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 6215, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, ...
What is the primary disease and procedure of the patient id 12220?
SELECT demographic.diagnosis, procedures.long_title FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.subject_id = "12220"
[ 2061, 318, 262, 4165, 4369, 290, 8771, 286, 262, 5827, 4686, 1105, 17572, 30, 46506, 16728, 13, 47356, 5958, 11, 9021, 13, 6511, 62, 7839, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, 13, 18108, 76, 62, 312, 796, 9021, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4165, 4369, 290, 8771, 286, 262, 5827, 4686, 1105, 17572, 30, 46506, 16728, 13, 47356, 5958, 11, 9021, 13, 6511, 62, 7839, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, 13, 18108, 76, 62, 312, 796, 9021, 1...
How many clf teams have a pick # of 5?
SELECT COUNT("CFL Team") FROM table_24282 WHERE "Pick #" = '5'
[ 2437, 867, 537, 69, 3466, 423, 257, 2298, 1303, 286, 642, 30, 46506, 327, 28270, 7203, 34, 3697, 4816, 4943, 16034, 3084, 62, 1731, 32568, 33411, 366, 31686, 1303, 1, 796, 705, 20, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 537, 69, 3466, 423, 257, 2298, 1303, 286, 642, 30, 46506, 327, 28270, 7203, 34, 3697, 4816, 4943, 16034, 3084, 62, 1731, 32568, 33411, 366, 31686, 1303, 1, 796, 705, 20, 6 ]
what are all the position where player is al simmons
SELECT "Position" FROM table_17461 WHERE "Player" = 'Al Simmons'
[ 10919, 389, 477, 262, 2292, 810, 2137, 318, 435, 985, 11567, 46506, 366, 26545, 1, 16034, 3084, 62, 1558, 40652, 33411, 366, 14140, 1, 796, 705, 2348, 22553, 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 ]
[ 10919, 389, 477, 262, 2292, 810, 2137, 318, 435, 985, 11567, 46506, 366, 26545, 1, 16034, 3084, 62, 1558, 40652, 33411, 366, 14140, 1, 796, 705, 2348, 22553, 6 ]
Draw a bar chart about the distribution of Nationality and the sum of meter_100 , and group by attribute Nationality.
SELECT Nationality, SUM(meter_100) FROM swimmer GROUP BY Nationality
[ 25302, 257, 2318, 8262, 546, 262, 6082, 286, 2351, 414, 290, 262, 2160, 286, 16430, 62, 3064, 837, 290, 1448, 416, 11688, 2351, 414, 13, 46506, 2351, 414, 11, 35683, 7, 27231, 62, 3064, 8, 16034, 9422, 647, 44441, 11050, 2351, 414 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 25302, 257, 2318, 8262, 546, 262, 6082, 286, 2351, 414, 290, 262, 2160, 286, 16430, 62, 3064, 837, 290, 1448, 416, 11688, 2351, 414, 13, 46506, 2351, 414, 11, 35683, 7, 27231, 62, 3064, 8, 16034, 9422, 647, 44441, 11050, 2351, 414 ]
What is donovan's surname?
SELECT surname FROM table_name_12 WHERE first = "donovan"
[ 2061, 318, 836, 22590, 338, 40358, 30, 46506, 40358, 16034, 3084, 62, 3672, 62, 1065, 33411, 717, 796, 366, 9099, 22590, 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, 836, 22590, 338, 40358, 30, 46506, 40358, 16034, 3084, 62, 3672, 62, 1065, 33411, 717, 796, 366, 9099, 22590, 1 ]
Name all the candidates that ran for the seat where Harold D. Cooley is the incumbent?
SELECT "Candidates" FROM table_18597 WHERE "Incumbent" = 'Harold D. Cooley'
[ 5376, 477, 262, 5871, 326, 4966, 329, 262, 5852, 810, 23987, 360, 13, 1766, 48437, 318, 262, 23526, 30, 46506, 366, 41572, 37051, 1, 16034, 3084, 62, 1507, 43239, 33411, 366, 25517, 2178, 298, 1, 796, 705, 13587, 727, 360, 13, 1766, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 477, 262, 5871, 326, 4966, 329, 262, 5852, 810, 23987, 360, 13, 1766, 48437, 318, 262, 23526, 30, 46506, 366, 41572, 37051, 1, 16034, 3084, 62, 1507, 43239, 33411, 366, 25517, 2178, 298, 1, 796, 705, 13587, 727, 360, 13, 1766, ...
For those records from the products and each product's manufacturer, draw a bar chart about the distribution of name and the average of price , and group by attribute name, and could you list by the bars in desc?
SELECT T2.Name, T1.Price FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name ORDER BY T2.Name DESC
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 3197, 257, 2318, 8262, 546, 262, 6082, 286, 1438, 290, 262, 2811, 286, 2756, 837, 290, 1448, 416, 11688, 1438, 11, 290, 714, 345, 1351, 416, 262, 9210, 287, 1715, 30,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1438, 290, 262, 2811, 286, 2756, 837, 290, 1448, 416, 11688, 1438, 11, 290, 714, 345, 1351, 416, 262, 9210, 287, 1715, 30,...
Who were the opponents of the final on June 23, 2003?
SELECT opponents_in_the_final FROM table_name_4 WHERE date = "june 23, 2003"
[ 8241, 547, 262, 7691, 286, 262, 2457, 319, 2795, 2242, 11, 5816, 30, 46506, 7691, 62, 259, 62, 1169, 62, 20311, 16034, 3084, 62, 3672, 62, 19, 33411, 3128, 796, 366, 73, 1726, 2242, 11, 5816, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 547, 262, 7691, 286, 262, 2457, 319, 2795, 2242, 11, 5816, 30, 46506, 7691, 62, 259, 62, 1169, 62, 20311, 16034, 3084, 62, 3672, 62, 19, 33411, 3128, 796, 366, 73, 1726, 2242, 11, 5816, 1 ]
Questions Ordered By Number of Answers.
SELECT Id AS "post_link", AnswerCount AS "Answer Count" FROM Posts WHERE PostTypeId = 1 ORDER BY AnswerCount DESC
[ 35741, 14230, 1068, 2750, 7913, 286, 42612, 13, 46506, 5121, 7054, 366, 7353, 62, 8726, 1600, 23998, 12332, 7054, 366, 33706, 2764, 1, 16034, 12043, 33411, 2947, 6030, 7390, 796, 352, 38678, 11050, 23998, 12332, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 35741, 14230, 1068, 2750, 7913, 286, 42612, 13, 46506, 5121, 7054, 366, 7353, 62, 8726, 1600, 23998, 12332, 7054, 366, 33706, 2764, 1, 16034, 12043, 33411, 2947, 6030, 7390, 796, 352, 38678, 11050, 23998, 12332, 22196, 34 ]
What team does Anthony Redmond ride for?
SELECT team FROM table_name_32 WHERE rider = "anthony redmond"
[ 2061, 1074, 857, 9953, 49420, 6594, 329, 30, 46506, 1074, 16034, 3084, 62, 3672, 62, 2624, 33411, 17876, 796, 366, 29313, 1647, 2266, 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 ]
[ 2061, 1074, 857, 9953, 49420, 6594, 329, 30, 46506, 1074, 16034, 3084, 62, 3672, 62, 2624, 33411, 17876, 796, 366, 29313, 1647, 2266, 6327, 1 ]
What's the highest rank of a PVG/ZSPD Code (IATA/ICAO) airport with a total cargo less than 2,543,394 metric tonnes?
SELECT MAX("Rank") FROM table_37599 WHERE "Code (IATA/ICAO)" = 'pvg/zspd' AND "Total Cargo (Metric Tonnes)" < '2,543,394'
[ 2061, 338, 262, 4511, 4279, 286, 257, 31392, 38, 14, 57, 4303, 35, 6127, 357, 40, 13563, 14, 25241, 46, 8, 9003, 351, 257, 2472, 15892, 1342, 621, 362, 11, 20, 3559, 11, 34626, 18663, 26840, 30, 46506, 25882, 7203, 27520, 4943, 1603...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4511, 4279, 286, 257, 31392, 38, 14, 57, 4303, 35, 6127, 357, 40, 13563, 14, 25241, 46, 8, 9003, 351, 257, 2472, 15892, 1342, 621, 362, 11, 20, 3559, 11, 34626, 18663, 26840, 30, 46506, 25882, 7203, 27520, 4943, 1603...
The other [C] of 0 12 0 (0) belongs to what FA Cup?
SELECT "FA Cup" FROM table_68721 WHERE "Other [C ]" = '0 12 0 (0)'
[ 464, 584, 685, 34, 60, 286, 657, 1105, 657, 357, 15, 8, 14448, 284, 644, 9677, 5454, 30, 46506, 366, 7708, 5454, 1, 16034, 3084, 62, 39925, 2481, 33411, 366, 6395, 685, 34, 2361, 1, 796, 705, 15, 1105, 657, 357, 15, 33047 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 464, 584, 685, 34, 60, 286, 657, 1105, 657, 357, 15, 8, 14448, 284, 644, 9677, 5454, 30, 46506, 366, 7708, 5454, 1, 16034, 3084, 62, 39925, 2481, 33411, 366, 6395, 685, 34, 2361, 1, 796, 705, 15, 1105, 657, 357, 15, 33047 ]
count the number of patients whose ethnicity is hispanic or latino and diagnoses short title is crbl art ocl nos w infrc?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.ethnicity = "HISPANIC OR LATINO" AND diagnoses.short_title = "Crbl art ocl NOS w infrc"
[ 9127, 262, 1271, 286, 3871, 3025, 26289, 318, 465, 35843, 393, 3042, 2879, 290, 40567, 1790, 3670, 318, 1067, 2436, 1242, 267, 565, 43630, 266, 1167, 6015, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9127, 262, 1271, 286, 3871, 3025, 26289, 318, 465, 35843, 393, 3042, 2879, 290, 40567, 1790, 3670, 318, 1067, 2436, 1242, 267, 565, 43630, 266, 1167, 6015, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, ...
how many championships did roche win with newcombe ?
SELECT COUNT("championship") FROM table_204_196 WHERE "outcome" = 'winner' AND "partner" = 'john newcombe'
[ 4919, 867, 27459, 750, 686, 2395, 1592, 351, 22315, 1350, 5633, 46506, 327, 28270, 7203, 354, 4350, 1056, 4943, 16034, 3084, 62, 18638, 62, 25272, 33411, 366, 448, 2958, 1, 796, 705, 39791, 6, 5357, 366, 3911, 1008, 1, 796, 705, 30686...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 27459, 750, 686, 2395, 1592, 351, 22315, 1350, 5633, 46506, 327, 28270, 7203, 354, 4350, 1056, 4943, 16034, 3084, 62, 18638, 62, 25272, 33411, 366, 448, 2958, 1, 796, 705, 39791, 6, 5357, 366, 3911, 1008, 1, 796, 705, 30686...
What was the year of the last final for the club whose last title was 1990?
SELECT last_final FROM table_2869837_1 WHERE last_title = "1990"
[ 2061, 373, 262, 614, 286, 262, 938, 2457, 329, 262, 3430, 3025, 938, 3670, 373, 6303, 30, 46506, 938, 62, 20311, 16034, 3084, 62, 2078, 39357, 2718, 62, 16, 33411, 938, 62, 7839, 796, 366, 19891, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 614, 286, 262, 938, 2457, 329, 262, 3430, 3025, 938, 3670, 373, 6303, 30, 46506, 938, 62, 20311, 16034, 3084, 62, 2078, 39357, 2718, 62, 16, 33411, 938, 62, 7839, 796, 366, 19891, 1 ]
Which player was drafted by Winnipeg?
SELECT player FROM table_28059992_6 WHERE cfl_team = "Winnipeg"
[ 13828, 2137, 373, 15937, 416, 23434, 30, 46506, 2137, 16034, 3084, 62, 21033, 43452, 5892, 62, 21, 33411, 269, 2704, 62, 15097, 796, 366, 54, 3732, 21700, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 2137, 373, 15937, 416, 23434, 30, 46506, 2137, 16034, 3084, 62, 21033, 43452, 5892, 62, 21, 33411, 269, 2704, 62, 15097, 796, 366, 54, 3732, 21700, 1 ]
Display a pie chart for how many entrepreneurs correspond to each investor?
SELECT Investor, COUNT(*) FROM entrepreneur GROUP BY Investor
[ 23114, 257, 2508, 8262, 329, 703, 867, 17038, 6053, 284, 1123, 15811, 30, 46506, 47979, 11, 327, 28270, 7, 28104, 16034, 19500, 44441, 11050, 47979 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 23114, 257, 2508, 8262, 329, 703, 867, 17038, 6053, 284, 1123, 15811, 30, 46506, 47979, 11, 327, 28270, 7, 28104, 16034, 19500, 44441, 11050, 47979 ]
What is melbourne's away score?
SELECT "Away team score" FROM table_54181 WHERE "Away team" = 'melbourne'
[ 2061, 318, 7758, 12544, 338, 1497, 4776, 30, 46506, 366, 32, 1014, 1074, 4776, 1, 16034, 3084, 62, 4051, 27057, 33411, 366, 32, 1014, 1074, 1, 796, 705, 17694, 12544, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 7758, 12544, 338, 1497, 4776, 30, 46506, 366, 32, 1014, 1074, 4776, 1, 16034, 3084, 62, 4051, 27057, 33411, 366, 32, 1014, 1074, 1, 796, 705, 17694, 12544, 6 ]
what is the number of patients whose admission type is urgent and with lab test item id 50980?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_type = "URGENT" AND lab.itemid = "50980"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 13938, 2099, 318, 18039, 290, 351, 2248, 1332, 2378, 4686, 2026, 40022, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 1271, 286, 3871, 3025, 13938, 2099, 318, 18039, 290, 351, 2248, 1332, 2378, 4686, 2026, 40022, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, ...
Name the record for detroit and decision of denis
SELECT record FROM table_name_39 WHERE home = "detroit" AND decision = "denis"
[ 5376, 262, 1700, 329, 1062, 7775, 290, 2551, 286, 2853, 271, 46506, 1700, 16034, 3084, 62, 3672, 62, 2670, 33411, 1363, 796, 366, 15255, 7775, 1, 5357, 2551, 796, 366, 6559, 271, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1700, 329, 1062, 7775, 290, 2551, 286, 2853, 271, 46506, 1700, 16034, 3084, 62, 3672, 62, 2670, 33411, 1363, 796, 366, 15255, 7775, 1, 5357, 2551, 796, 366, 6559, 271, 1 ]
How many video games have type Massively multiplayer online game?
SELECT COUNT(*) FROM Video_games WHERE gtype = "Massively multiplayer online game"
[ 2437, 867, 2008, 1830, 423, 2099, 5674, 2280, 16913, 2691, 983, 30, 46506, 327, 28270, 7, 28104, 16034, 7623, 62, 19966, 33411, 308, 4906, 796, 366, 20273, 2280, 16913, 2691, 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, 1, 1, 1, 1 ]
[ 2437, 867, 2008, 1830, 423, 2099, 5674, 2280, 16913, 2691, 983, 30, 46506, 327, 28270, 7, 28104, 16034, 7623, 62, 19966, 33411, 308, 4906, 796, 366, 20273, 2280, 16913, 2691, 983, 1 ]
show me all flights from PITTSBURGH to BOSTON which leave before 1200
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_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'BOSTON' AND flight.departure_time < 1200 AND flight.to_airport = AIRPORT_SERVICE_1.airpor...
[ 12860, 502, 477, 13956, 422, 49040, 4694, 38926, 17511, 284, 347, 10892, 1340, 543, 2666, 878, 24938, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12860, 502, 477, 13956, 422, 49040, 4694, 38926, 17511, 284, 347, 10892, 1340, 543, 2666, 878, 24938, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003...
Is meta? - check for WikiPlaceholder posts.
SELECT @is_meta_site
[ 3792, 13634, 30, 532, 2198, 329, 13078, 27271, 13829, 6851, 13, 46506, 2488, 271, 62, 28961, 62, 15654 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 3792, 13634, 30, 532, 2198, 329, 13078, 27271, 13829, 6851, 13, 46506, 2488, 271, 62, 28961, 62, 15654 ]
What is the hometown of the player who went to college at USC?
SELECT hometown FROM table_name_33 WHERE college = "usc"
[ 2061, 318, 262, 20994, 286, 262, 2137, 508, 1816, 284, 4152, 379, 18928, 30, 46506, 20994, 16034, 3084, 62, 3672, 62, 2091, 33411, 4152, 796, 366, 16241, 1 ]
[ 1, 1, 1, 1, 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, 20994, 286, 262, 2137, 508, 1816, 284, 4152, 379, 18928, 30, 46506, 20994, 16034, 3084, 62, 3672, 62, 2091, 33411, 4152, 796, 366, 16241, 1 ]
Percent of answers given to questions with a particular tag per day.
WITH AnsTagInfo(AnsId, AnsCreationDate, quesHasTag) AS (SELECT a.Id AS AnsId, DATE(a.CreationDate) AS AnsCreationDate, CASE WHEN (q.Tags LIKE ('%<##TagName##>%')) THEN 1 ELSE 0 END AS quesHasTag FROM Posts AS a INNER JOIN Posts AS q ON q.Id = a.ParentId WHERE a.PostTypeId = 2) SELECT AnsCreationDate, CASE WHEN (COUNT(*...
[ 31905, 286, 7429, 1813, 284, 2683, 351, 257, 1948, 7621, 583, 1110, 13, 54, 10554, 28038, 24835, 12360, 7, 2025, 82, 7390, 11, 28038, 12443, 341, 10430, 11, 627, 274, 19242, 24835, 8, 7054, 357, 46506, 257, 13, 7390, 7054, 28038, 7390...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 31905, 286, 7429, 1813, 284, 2683, 351, 257, 1948, 7621, 583, 1110, 13, 54, 10554, 28038, 24835, 12360, 7, 2025, 82, 7390, 11, 28038, 12443, 341, 10430, 11, 627, 274, 19242, 24835, 8, 7054, 357, 46506, 257, 13, 7390, 7054, 28038, 7390...
Who won when np cooper av cooke was runner up?
SELECT "Winners" FROM table_71889 WHERE "Runners-up" = 'np cooper av cooke'
[ 8241, 1839, 618, 45941, 6788, 1196, 763, 2088, 373, 17490, 510, 30, 46506, 366, 16643, 2741, 1, 16034, 3084, 62, 45720, 4531, 33411, 366, 10987, 2741, 12, 929, 1, 796, 705, 37659, 6788, 1196, 763, 2088, 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 ]
[ 8241, 1839, 618, 45941, 6788, 1196, 763, 2088, 373, 17490, 510, 30, 46506, 366, 16643, 2741, 1, 16034, 3084, 62, 45720, 4531, 33411, 366, 10987, 2741, 12, 929, 1, 796, 705, 37659, 6788, 1196, 763, 2088, 6 ]
What is the party that has the largest number of representatives?
SELECT Party, COUNT(*) FROM representative GROUP BY Party ORDER BY COUNT(*) DESC LIMIT 1
[ 2061, 318, 262, 2151, 326, 468, 262, 4387, 1271, 286, 10826, 30, 46506, 3615, 11, 327, 28270, 7, 28104, 16034, 8852, 44441, 11050, 3615, 38678, 11050, 327, 28270, 7, 28104, 22196, 34, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2151, 326, 468, 262, 4387, 1271, 286, 10826, 30, 46506, 3615, 11, 327, 28270, 7, 28104, 16034, 8852, 44441, 11050, 3615, 38678, 11050, 327, 28270, 7, 28104, 22196, 34, 27564, 2043, 352 ]
Name the number of application for modeling, computer aided design, animation
SELECT COUNT("Application") FROM table_23037 WHERE "Mainly Used For" = 'Modeling, Computer Aided Design, Animation'
[ 5376, 262, 1271, 286, 3586, 329, 21128, 11, 3644, 28310, 1486, 11, 11034, 46506, 327, 28270, 7203, 23416, 4943, 16034, 3084, 62, 19214, 2718, 33411, 366, 13383, 306, 16718, 1114, 1, 796, 705, 5841, 10809, 11, 13851, 317, 1384, 8495, 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 ]
[ 5376, 262, 1271, 286, 3586, 329, 21128, 11, 3644, 28310, 1486, 11, 11034, 46506, 327, 28270, 7203, 23416, 4943, 16034, 3084, 62, 19214, 2718, 33411, 366, 13383, 306, 16718, 1114, 1, 796, 705, 5841, 10809, 11, 13851, 317, 1384, 8495, 11,...
How many Losses have South West DFL of coleraine, and an Against smaller than 891?
SELECT COUNT("Losses") FROM table_60867 WHERE "South West DFL" = 'coleraine' AND "Against" < '891'
[ 2437, 867, 22014, 274, 423, 2520, 2688, 360, 3697, 286, 951, 263, 5718, 11, 290, 281, 12914, 4833, 621, 807, 6420, 30, 46506, 327, 28270, 7203, 43, 793, 274, 4943, 16034, 3084, 62, 28688, 3134, 33411, 366, 14942, 2688, 360, 3697, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 22014, 274, 423, 2520, 2688, 360, 3697, 286, 951, 263, 5718, 11, 290, 281, 12914, 4833, 621, 807, 6420, 30, 46506, 327, 28270, 7203, 43, 793, 274, 4943, 16034, 3084, 62, 28688, 3134, 33411, 366, 14942, 2688, 360, 3697, 1, ...
Name the Height which has a 2013 club of wvc dynamo moscow?
SELECT "Height" FROM table_49665 WHERE "2013 club" = 'wvc dynamo moscow'
[ 5376, 262, 27280, 543, 468, 257, 2211, 3430, 286, 266, 28435, 6382, 78, 10867, 8232, 30, 46506, 366, 23106, 1, 16034, 3084, 62, 2920, 36879, 33411, 366, 6390, 3430, 1, 796, 705, 86, 28435, 6382, 78, 10867, 8232, 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 ]
[ 5376, 262, 27280, 543, 468, 257, 2211, 3430, 286, 266, 28435, 6382, 78, 10867, 8232, 30, 46506, 366, 23106, 1, 16034, 3084, 62, 2920, 36879, 33411, 366, 6390, 3430, 1, 796, 705, 86, 28435, 6382, 78, 10867, 8232, 6 ]
What c class engine did philipp eng and team hs technik motorsport use?
SELECT engine FROM table_name_2 WHERE class = "c" AND team = "hs technik motorsport" AND driver = "philipp eng"
[ 2061, 269, 1398, 3113, 750, 872, 8908, 1786, 290, 1074, 289, 82, 1579, 1134, 24699, 634, 779, 30, 46506, 3113, 16034, 3084, 62, 3672, 62, 17, 33411, 1398, 796, 366, 66, 1, 5357, 1074, 796, 366, 11994, 1579, 1134, 24699, 634, 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 ]
[ 2061, 269, 1398, 3113, 750, 872, 8908, 1786, 290, 1074, 289, 82, 1579, 1134, 24699, 634, 779, 30, 46506, 3113, 16034, 3084, 62, 3672, 62, 17, 33411, 1398, 796, 366, 66, 1, 5357, 1074, 796, 366, 11994, 1579, 1134, 24699, 634, 1, 5357...
What was average attendance during week 15?
SELECT AVG(attendance) FROM table_name_63 WHERE week = 15
[ 2061, 373, 2811, 14858, 1141, 1285, 1315, 30, 46506, 35224, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 5066, 33411, 1285, 796, 1315 ]
[ 1, 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, 2811, 14858, 1141, 1285, 1315, 30, 46506, 35224, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 5066, 33411, 1285, 796, 1315 ]
What to par has The United States as the country, t8 as the place, and tommy valentine as the player?
SELECT "To par" FROM table_50934 WHERE "Country" = 'united states' AND "Place" = 't8' AND "Player" = 'tommy valentine'
[ 2061, 284, 1582, 468, 383, 1578, 1829, 355, 262, 1499, 11, 256, 23, 355, 262, 1295, 11, 290, 16667, 1820, 1188, 298, 500, 355, 262, 2137, 30, 46506, 366, 2514, 1582, 1, 16034, 3084, 62, 29022, 2682, 33411, 366, 33921, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 284, 1582, 468, 383, 1578, 1829, 355, 262, 1499, 11, 256, 23, 355, 262, 1295, 11, 290, 16667, 1820, 1188, 298, 500, 355, 262, 2137, 30, 46506, 366, 2514, 1582, 1, 16034, 3084, 62, 29022, 2682, 33411, 366, 33921, 1, 796, 705, ...
At what venue did the team from Collingwood score 7.14 (56) - 4.5 (29)?
SELECT "Venue" FROM table_74493 WHERE "Opponent" = 'collingwood' AND "Score" = '7.14 (56) - 4.5 (29)'
[ 2953, 644, 14359, 750, 262, 1074, 422, 7778, 278, 3822, 4776, 767, 13, 1415, 357, 3980, 8, 532, 604, 13, 20, 357, 1959, 19427, 46506, 366, 37522, 518, 1, 16034, 3084, 62, 22, 2598, 6052, 33411, 366, 27524, 3471, 1, 796, 705, 26000, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 750, 262, 1074, 422, 7778, 278, 3822, 4776, 767, 13, 1415, 357, 3980, 8, 532, 604, 13, 20, 357, 1959, 19427, 46506, 366, 37522, 518, 1, 16034, 3084, 62, 22, 2598, 6052, 33411, 366, 27524, 3471, 1, 796, 705, 26000, ...
Name the summary for the success rate for 68.75%
SELECT "Summary" FROM table_20327 WHERE "Success Rate" = '68.75%'
[ 5376, 262, 10638, 329, 262, 1943, 2494, 329, 8257, 13, 2425, 4, 46506, 366, 22093, 1, 16034, 3084, 62, 22416, 1983, 33411, 366, 33244, 14806, 1, 796, 705, 3104, 13, 2425, 4, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 10638, 329, 262, 1943, 2494, 329, 8257, 13, 2425, 4, 46506, 366, 22093, 1, 16034, 3084, 62, 22416, 1983, 33411, 366, 33244, 14806, 1, 796, 705, 3104, 13, 2425, 4, 6 ]
how many patients are below 77 years of age and tested with lab item id 51032?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.age < "77" AND lab.itemid = "51032"
[ 4919, 867, 3871, 389, 2174, 8541, 812, 286, 2479, 290, 6789, 351, 2248, 2378, 4686, 35148, 2624, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 3871, 389, 2174, 8541, 812, 286, 2479, 290, 6789, 351, 2248, 2378, 4686, 35148, 2624, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, ...
The film titled Bosko's fox hunt had what as the smallest production number?
SELECT MIN("Production Num.") FROM table_65237 WHERE "Title" = 'bosko''s fox hunt'
[ 464, 2646, 11946, 14548, 7204, 338, 21831, 12601, 550, 644, 355, 262, 18197, 3227, 1271, 30, 46506, 20625, 7203, 35027, 31835, 19570, 16034, 3084, 62, 2996, 24693, 33411, 366, 19160, 1, 796, 705, 39565, 7204, 7061, 82, 21831, 12601, 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 ]
[ 464, 2646, 11946, 14548, 7204, 338, 21831, 12601, 550, 644, 355, 262, 18197, 3227, 1271, 30, 46506, 20625, 7203, 35027, 31835, 19570, 16034, 3084, 62, 2996, 24693, 33411, 366, 19160, 1, 796, 705, 39565, 7204, 7061, 82, 21831, 12601, 6 ]
what is the monthly minimum amount of foley cath that patient 006-224208 had until 08/17/2103?
SELECT MIN(intakeoutput.cellvaluenumeric) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-224208')) AND intakeoutput.celllabel = 'fole...
[ 10919, 318, 262, 9651, 5288, 2033, 286, 11511, 1636, 32171, 326, 5827, 3571, 21, 12, 24137, 21315, 550, 1566, 8487, 14, 1558, 14, 17, 15197, 30, 46506, 20625, 7, 600, 539, 22915, 13, 3846, 2100, 84, 268, 39223, 8, 16034, 10337, 22915,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9651, 5288, 2033, 286, 11511, 1636, 32171, 326, 5827, 3571, 21, 12, 24137, 21315, 550, 1566, 8487, 14, 1558, 14, 17, 15197, 30, 46506, 20625, 7, 600, 539, 22915, 13, 3846, 2100, 84, 268, 39223, 8, 16034, 10337, 22915,...
Name the venue for 23 january 2009
SELECT "Venue" FROM table_34006 WHERE "Date" = '23 january 2009'
[ 5376, 262, 14359, 329, 2242, 42897, 2838, 3717, 46506, 366, 37522, 518, 1, 16034, 3084, 62, 2682, 28041, 33411, 366, 10430, 1, 796, 705, 1954, 42897, 2838, 3717, 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 ]
[ 5376, 262, 14359, 329, 2242, 42897, 2838, 3717, 46506, 366, 37522, 518, 1, 16034, 3084, 62, 2682, 28041, 33411, 366, 10430, 1, 796, 705, 1954, 42897, 2838, 3717, 6 ]
The episode titled 'Epiphany' received what scripted show ranking?
SELECT MIN(scripted_show_ranking) FROM table_22170495_7 WHERE title = "Epiphany"
[ 464, 4471, 11946, 705, 13807, 49915, 6, 2722, 644, 37341, 905, 12759, 30, 46506, 20625, 7, 12048, 276, 62, 12860, 62, 28405, 8, 16034, 3084, 62, 1828, 17279, 33781, 62, 22, 33411, 3670, 796, 366, 13807, 49915, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 464, 4471, 11946, 705, 13807, 49915, 6, 2722, 644, 37341, 905, 12759, 30, 46506, 20625, 7, 12048, 276, 62, 12860, 62, 28405, 8, 16034, 3084, 62, 1828, 17279, 33781, 62, 22, 33411, 3670, 796, 366, 13807, 49915, 1 ]
How many overs occurred at Waca Ground against Queensland?
SELECT overs FROM table_name_31 WHERE ground = "waca ground" AND opponent = "queensland"
[ 2437, 867, 10753, 5091, 379, 370, 22260, 13706, 1028, 21105, 30, 46506, 10753, 16034, 3084, 62, 3672, 62, 3132, 33411, 2323, 796, 366, 86, 22260, 2323, 1, 5357, 6125, 796, 366, 4188, 641, 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, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 10753, 5091, 379, 370, 22260, 13706, 1028, 21105, 30, 46506, 10753, 16034, 3084, 62, 3672, 62, 3132, 33411, 2323, 796, 366, 86, 22260, 2323, 1, 5357, 6125, 796, 366, 4188, 641, 1044, 1 ]
Name the original title directed by luis bu uel
SELECT "Original title" FROM table_71429 WHERE "Director" = 'luis buñuel'
[ 5376, 262, 2656, 3670, 7924, 416, 300, 84, 271, 809, 334, 417, 46506, 366, 20556, 3670, 1, 16034, 3084, 62, 45722, 1959, 33411, 366, 28702, 1, 796, 705, 2290, 271, 809, 12654, 2731, 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 ]
[ 5376, 262, 2656, 3670, 7924, 416, 300, 84, 271, 809, 334, 417, 46506, 366, 20556, 3670, 1, 16034, 3084, 62, 45722, 1959, 33411, 366, 28702, 1, 796, 705, 2290, 271, 809, 12654, 2731, 6 ]
Which date had 67,472 in attendance?
SELECT date FROM table_name_73 WHERE attendance = "67,472"
[ 13828, 3128, 550, 8275, 11, 37856, 287, 14858, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 4790, 33411, 14858, 796, 366, 3134, 11, 37856, 1 ]
[ 1, 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, 3128, 550, 8275, 11, 37856, 287, 14858, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 4790, 33411, 14858, 796, 366, 3134, 11, 37856, 1 ]
What is the nationality of the player from Vancouver Canucks?
SELECT nationality FROM table_1013129_3 WHERE nhl_team = "Vancouver Canucks"
[ 2061, 318, 262, 29835, 286, 262, 2137, 422, 10930, 31252, 30, 46506, 29835, 16034, 3084, 62, 8784, 18, 18741, 62, 18, 33411, 299, 18519, 62, 15097, 796, 366, 53, 10264, 31252, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 29835, 286, 262, 2137, 422, 10930, 31252, 30, 46506, 29835, 16034, 3084, 62, 8784, 18, 18741, 62, 18, 33411, 299, 18519, 62, 15097, 796, 366, 53, 10264, 31252, 1 ]
How many gold medals were won when more than 2 bronze medals were won?
SELECT SUM("Gold") FROM table_57504 WHERE "Bronze" > '2'
[ 2437, 867, 3869, 28057, 547, 1839, 618, 517, 621, 362, 22101, 28057, 547, 1839, 30, 46506, 35683, 7203, 13306, 4943, 16034, 3084, 62, 3553, 33580, 33411, 366, 18760, 2736, 1, 1875, 705, 17, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 3869, 28057, 547, 1839, 618, 517, 621, 362, 22101, 28057, 547, 1839, 30, 46506, 35683, 7203, 13306, 4943, 16034, 3084, 62, 3553, 33580, 33411, 366, 18760, 2736, 1, 1875, 705, 17, 6 ]
What is Winner, when Location is Connie Mack Stadium, and when Year is 1946?
SELECT winner FROM table_name_98 WHERE location = "connie mack stadium" AND year = 1946
[ 2061, 318, 25358, 11, 618, 13397, 318, 48506, 16640, 10499, 11, 290, 618, 6280, 318, 22717, 30, 46506, 8464, 16034, 3084, 62, 3672, 62, 4089, 33411, 4067, 796, 366, 1102, 11952, 285, 441, 10308, 1, 5357, 614, 796, 22717 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 25358, 11, 618, 13397, 318, 48506, 16640, 10499, 11, 290, 618, 6280, 318, 22717, 30, 46506, 8464, 16034, 3084, 62, 3672, 62, 4089, 33411, 4067, 796, 366, 1102, 11952, 285, 441, 10308, 1, 5357, 614, 796, 22717 ]
Create a pie chart showing total number of age across nationality.
SELECT Nationality, SUM(Age) FROM journalist GROUP BY Nationality
[ 16447, 257, 2508, 8262, 4478, 2472, 1271, 286, 2479, 1973, 29835, 13, 46506, 2351, 414, 11, 35683, 7, 23396, 8, 16034, 10099, 44441, 11050, 2351, 414 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16447, 257, 2508, 8262, 4478, 2472, 1271, 286, 2479, 1973, 29835, 13, 46506, 2351, 414, 11, 35683, 7, 23396, 8, 16034, 10099, 44441, 11050, 2351, 414 ]
during the previous year, what are the four most frequent drugs prescribed to hypernatremia - due to volume depletion male patients 30s in the same month after having been diagnosed with hypernatremia - due to volume depletion?
SELECT t3.drugname FROM (SELECT t2.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'hypernatremia - due to volume depletion' AND DATET...
[ 42122, 262, 2180, 614, 11, 644, 389, 262, 1440, 749, 10792, 5010, 14798, 284, 8718, 32353, 2787, 544, 532, 2233, 284, 6115, 42435, 4257, 3871, 1542, 82, 287, 262, 976, 1227, 706, 1719, 587, 14641, 351, 8718, 32353, 2787, 544, 532, 223...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 42122, 262, 2180, 614, 11, 644, 389, 262, 1440, 749, 10792, 5010, 14798, 284, 8718, 32353, 2787, 544, 532, 2233, 284, 6115, 42435, 4257, 3871, 1542, 82, 287, 262, 976, 1227, 706, 1719, 587, 14641, 351, 8718, 32353, 2787, 544, 532, 223...
What is the earliest year retired delivered in 1965 with an in service in November 1971 for the PoAF Serial less than 7103?
SELECT MIN("Retired") FROM table_80056 WHERE "Delivery" = '1965' AND "In Service" = 'november 1971' AND "PoAF Serial" < '7103'
[ 2061, 318, 262, 14555, 614, 9880, 6793, 287, 17672, 351, 281, 287, 2139, 287, 3389, 16382, 329, 262, 7695, 8579, 23283, 1342, 621, 767, 15197, 30, 46506, 20625, 7203, 9781, 1202, 4943, 16034, 3084, 62, 7410, 3980, 33411, 366, 33129, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14555, 614, 9880, 6793, 287, 17672, 351, 281, 287, 2139, 287, 3389, 16382, 329, 262, 7695, 8579, 23283, 1342, 621, 767, 15197, 30, 46506, 20625, 7203, 9781, 1202, 4943, 16034, 3084, 62, 7410, 3980, 33411, 366, 33129, 1, ...
How many countries does honoree Roberto de Vicenzo represent?
SELECT COUNT(country) FROM table_1515346_2 WHERE honoree_s_ = "Roberto De Vicenzo"
[ 2437, 867, 2678, 857, 3032, 382, 68, 32076, 390, 24017, 268, 10872, 2380, 30, 46506, 327, 28270, 7, 19315, 8, 16034, 3084, 62, 1314, 1314, 30557, 62, 17, 33411, 3032, 382, 68, 62, 82, 62, 796, 366, 15924, 1462, 1024, 24017, 268, 108...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2678, 857, 3032, 382, 68, 32076, 390, 24017, 268, 10872, 2380, 30, 46506, 327, 28270, 7, 19315, 8, 16034, 3084, 62, 1314, 1314, 30557, 62, 17, 33411, 3032, 382, 68, 62, 82, 62, 796, 366, 15924, 1462, 1024, 24017, 268, 108...
When did Charles III die?
SELECT "Date of death" FROM table_56476 WHERE "Name" = 'charles iii'
[ 2215, 750, 7516, 6711, 4656, 30, 46506, 366, 10430, 286, 1918, 1, 16034, 3084, 62, 20, 2414, 4304, 33411, 366, 5376, 1, 796, 705, 10641, 829, 46955, 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 ]
[ 2215, 750, 7516, 6711, 4656, 30, 46506, 366, 10430, 286, 1918, 1, 16034, 3084, 62, 20, 2414, 4304, 33411, 366, 5376, 1, 796, 705, 10641, 829, 46955, 6 ]
which patients have diagnoses icd9 code 6826?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE diagnoses.icd9_code = "6826"
[ 4758, 3871, 423, 40567, 14158, 67, 24, 2438, 8257, 2075, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312, 796, 40567, 13,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3871, 423, 40567, 14158, 67, 24, 2438, 8257, 2075, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312, 796, 40567, 13,...
Which character was in the sexiest female category of the British Soap Awards?
SELECT "Character" FROM table_57410 WHERE "Category" = 'sexiest female' AND "Award" = 'british soap awards'
[ 13828, 2095, 373, 287, 262, 1714, 6386, 4048, 6536, 286, 262, 3517, 1406, 499, 15434, 30, 46506, 366, 27275, 1, 16034, 3084, 62, 3553, 33289, 33411, 366, 27313, 1, 796, 705, 8044, 6386, 4048, 6, 5357, 366, 32, 904, 1, 796, 705, 65, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2095, 373, 287, 262, 1714, 6386, 4048, 6536, 286, 262, 3517, 1406, 499, 15434, 30, 46506, 366, 27275, 1, 16034, 3084, 62, 3553, 33289, 33411, 366, 27313, 1, 796, 705, 8044, 6386, 4048, 6, 5357, 366, 32, 904, 1, 796, 705, 65, ...
How many championships were there where the score was 4 6, 7 6 (7 5) , [5 10]?
SELECT COUNT(championship) FROM table_29163303_4 WHERE score = "4–6, 7–6 (7–5) , [5–10]"
[ 2437, 867, 27459, 547, 612, 810, 262, 4776, 373, 604, 718, 11, 767, 718, 357, 22, 642, 8, 837, 685, 20, 838, 60, 30, 46506, 327, 28270, 7, 354, 4350, 1056, 8, 16034, 3084, 62, 1959, 24136, 22572, 62, 19, 33411, 4776, 796, 366, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 27459, 547, 612, 810, 262, 4776, 373, 604, 718, 11, 767, 718, 357, 22, 642, 8, 837, 685, 20, 838, 60, 30, 46506, 327, 28270, 7, 354, 4350, 1056, 8, 16034, 3084, 62, 1959, 24136, 22572, 62, 19, 33411, 4776, 796, 366, 1...
What is the average crowd attendance for Collingwood?
SELECT AVG(crowd) FROM table_name_92 WHERE home_team = "collingwood"
[ 2061, 318, 262, 2811, 4315, 14858, 329, 7778, 278, 3822, 30, 46506, 35224, 7, 66, 3986, 8, 16034, 3084, 62, 3672, 62, 5892, 33411, 1363, 62, 15097, 796, 366, 26000, 278, 3822, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2811, 4315, 14858, 329, 7778, 278, 3822, 30, 46506, 35224, 7, 66, 3986, 8, 16034, 3084, 62, 3672, 62, 5892, 33411, 1363, 62, 15097, 796, 366, 26000, 278, 3822, 1 ]
show me all flights that go from NEW YORK to MIAMI on tuesday and go from MIAMI to NEW YORK on sunday
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, date_day, days, flight WHERE ((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'MIAMI' AND date_day.day_number = 22 AND date_day.month_number = 3 AND da...
[ 12860, 502, 477, 13956, 326, 467, 422, 12682, 28154, 284, 15789, 43870, 319, 256, 3322, 290, 467, 422, 15789, 43870, 284, 12682, 28154, 319, 37437, 323, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 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...
[ 12860, 502, 477, 13956, 326, 467, 422, 12682, 28154, 284, 15789, 43870, 319, 256, 3322, 290, 467, 422, 15789, 43870, 284, 12682, 28154, 319, 37437, 323, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 705...
Draw a pie chart with all distinct product categories along with the number of mailshots in each category.
SELECT product_category, COUNT(*) FROM Mailshot_Campaigns GROUP BY product_category
[ 25302, 257, 2508, 8262, 351, 477, 7310, 1720, 9376, 1863, 351, 262, 1271, 286, 6920, 20910, 287, 1123, 6536, 13, 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, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 25302, 257, 2508, 8262, 351, 477, 7310, 1720, 9376, 1863, 351, 262, 1271, 286, 6920, 20910, 287, 1123, 6536, 13, 46506, 1720, 62, 22872, 11, 327, 28270, 7, 28104, 16034, 11099, 9442, 62, 46102, 82, 44441, 11050, 1720, 62, 22872 ]
Calculate the minimum age of male patients who are 54 years or older.
SELECT MIN(demographic.age) FROM demographic WHERE demographic.gender = "M" AND demographic.age >= "54"
[ 9771, 3129, 378, 262, 5288, 2479, 286, 4257, 3871, 508, 389, 7175, 812, 393, 4697, 13, 46506, 20625, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 8388, 796, 366, 44, 1, 5357, 16728, 13, 496, 18189, 366, 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 ]
[ 9771, 3129, 378, 262, 5288, 2479, 286, 4257, 3871, 508, 389, 7175, 812, 393, 4697, 13, 46506, 20625, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 8388, 796, 366, 44, 1, 5357, 16728, 13, 496, 18189, 366, 4051, 1 ]
Who are the writers of the episode titled 'Mac Bangs Dennis' Mom'?
SELECT "Written by" FROM table_31034 WHERE "Title" = 'Mac Bangs Dennis'' Mom'
[ 8241, 389, 262, 8786, 286, 262, 4471, 11946, 705, 14155, 9801, 82, 16902, 6, 11254, 30960, 46506, 366, 25354, 416, 1, 16034, 3084, 62, 26717, 2682, 33411, 366, 19160, 1, 796, 705, 14155, 9801, 82, 16902, 7061, 11254, 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 ]
[ 8241, 389, 262, 8786, 286, 262, 4471, 11946, 705, 14155, 9801, 82, 16902, 6, 11254, 30960, 46506, 366, 25354, 416, 1, 16034, 3084, 62, 26717, 2682, 33411, 366, 19160, 1, 796, 705, 14155, 9801, 82, 16902, 7061, 11254, 6 ]