instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
what is patient 13686's average calcium, total value in 07/this year?
SELECT AVG(labevents.valuenum) FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 13686) AND labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'calcium, total') AND DATETIME(labevents.charttime, 'start of year') = DATET...
[ 10919, 318, 5827, 1511, 33808, 338, 2811, 19700, 11, 2472, 1988, 287, 8753, 14, 5661, 614, 30, 46506, 35224, 7, 23912, 31534, 13, 2100, 84, 44709, 8, 16034, 2248, 31534, 33411, 2248, 31534, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5827, 1511, 33808, 338, 2811, 19700, 11, 2472, 1988, 287, 8753, 14, 5661, 614, 30, 46506, 35224, 7, 23912, 31534, 13, 2100, 84, 44709, 8, 16034, 2248, 31534, 33411, 2248, 31534, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25...
Which Television service has a Content of general television?
SELECT television_service FROM table_name_49 WHERE content = "general television"
[ 13828, 21516, 2139, 468, 257, 14041, 286, 2276, 5581, 30, 46506, 5581, 62, 15271, 16034, 3084, 62, 3672, 62, 2920, 33411, 2695, 796, 366, 24622, 5581, 1 ]
[ 1, 1, 1, 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, 21516, 2139, 468, 257, 14041, 286, 2276, 5581, 30, 46506, 5581, 62, 15271, 16034, 3084, 62, 3672, 62, 2920, 33411, 2695, 796, 366, 24622, 5581, 1 ]
Top stackoverflow users from Karur.
SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "rank", Id AS "user_link", Reputation, Location FROM Users WHERE LOWER(Location) LIKE '%Karur%' OR UPPER(Location) LIKE '%Karur%' OR Location LIKE '%Karur%' ORDER BY Reputation DESC
[ 9126, 8931, 2502, 11125, 2985, 422, 9375, 333, 13, 46506, 371, 3913, 62, 41359, 13246, 3419, 28729, 357, 12532, 1137, 11050, 1432, 7094, 22196, 34, 8, 7054, 366, 43027, 1600, 5121, 7054, 366, 7220, 62, 8726, 1600, 1432, 7094, 11, 13397,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9126, 8931, 2502, 11125, 2985, 422, 9375, 333, 13, 46506, 371, 3913, 62, 41359, 13246, 3419, 28729, 357, 12532, 1137, 11050, 1432, 7094, 22196, 34, 8, 7054, 366, 43027, 1600, 5121, 7054, 366, 7220, 62, 8726, 1600, 1432, 7094, 11, 13397,...
Give me a bar chart for budget_in_billions of each name, and sort by the total number in asc.
SELECT Name, Budget_in_Billions FROM department ORDER BY Budget_in_Billions
[ 23318, 502, 257, 2318, 8262, 329, 4466, 62, 259, 62, 35546, 507, 286, 1123, 1438, 11, 290, 3297, 416, 262, 2472, 1271, 287, 10570, 13, 46506, 6530, 11, 15401, 62, 259, 62, 17798, 507, 16034, 5011, 38678, 11050, 15401, 62, 259, 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 ]
[ 23318, 502, 257, 2318, 8262, 329, 4466, 62, 259, 62, 35546, 507, 286, 1123, 1438, 11, 290, 3297, 416, 262, 2472, 1271, 287, 10570, 13, 46506, 6530, 11, 15401, 62, 259, 62, 17798, 507, 16034, 5011, 38678, 11050, 15401, 62, 259, 62, 1...
Which directors had a movie in either 1999 or 2000, and count them by a bar chart, show by the Y in desc.
SELECT Director, COUNT(Director) FROM movie WHERE Year = 1999 OR Year = 2000 GROUP BY Director ORDER BY COUNT(Director) DESC
[ 13828, 13445, 550, 257, 3807, 287, 2035, 7358, 393, 4751, 11, 290, 954, 606, 416, 257, 2318, 8262, 11, 905, 416, 262, 575, 287, 1715, 13, 46506, 5890, 11, 327, 28270, 7, 28702, 8, 16034, 3807, 33411, 6280, 796, 7358, 6375, 6280, 796...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 13445, 550, 257, 3807, 287, 2035, 7358, 393, 4751, 11, 290, 954, 606, 416, 257, 2318, 8262, 11, 905, 416, 262, 575, 287, 1715, 13, 46506, 5890, 11, 327, 28270, 7, 28702, 8, 16034, 3807, 33411, 6280, 796, 7358, 6375, 6280, 796...
What is the smallest number of field goals for players with 4 touchdowns and less than 9 extra points?
SELECT MIN(field_goals) FROM table_name_5 WHERE touchdowns = 4 AND extra_points < 9
[ 2061, 318, 262, 18197, 1271, 286, 2214, 4661, 329, 1938, 351, 604, 17692, 290, 1342, 621, 860, 3131, 2173, 30, 46506, 20625, 7, 3245, 62, 2188, 874, 8, 16034, 3084, 62, 3672, 62, 20, 33411, 17692, 796, 604, 5357, 3131, 62, 13033, 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 ]
[ 2061, 318, 262, 18197, 1271, 286, 2214, 4661, 329, 1938, 351, 604, 17692, 290, 1342, 621, 860, 3131, 2173, 30, 46506, 20625, 7, 3245, 62, 2188, 874, 8, 16034, 3084, 62, 3672, 62, 20, 33411, 17692, 796, 604, 5357, 3131, 62, 13033, 12...
what is procedure icd9 code and procedure short title of subject id 17570?
SELECT procedures.icd9_code, procedures.short_title FROM procedures WHERE procedures.subject_id = "17570"
[ 10919, 318, 8771, 14158, 67, 24, 2438, 290, 8771, 1790, 3670, 286, 2426, 4686, 19038, 2154, 30, 46506, 9021, 13, 291, 67, 24, 62, 8189, 11, 9021, 13, 19509, 62, 7839, 16034, 9021, 33411, 9021, 13, 32796, 62, 312, 796, 366, 17430, 21...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 8771, 14158, 67, 24, 2438, 290, 8771, 1790, 3670, 286, 2426, 4686, 19038, 2154, 30, 46506, 9021, 13, 291, 67, 24, 62, 8189, 11, 9021, 13, 19509, 62, 7839, 16034, 9021, 33411, 9021, 13, 32796, 62, 312, 796, 366, 17430, 21...
What is the Position of the Pick 8 Player?
SELECT "Position" FROM table_66222 WHERE "Pick" = '8'
[ 2061, 318, 262, 23158, 286, 262, 12346, 807, 7853, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 2791, 23148, 33411, 366, 31686, 1, 796, 705, 23, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 23158, 286, 262, 12346, 807, 7853, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 2791, 23148, 33411, 366, 31686, 1, 796, 705, 23, 6 ]
For those employees who did not have any job in the past, give me the comparison about the average of department_id over the job_id , and group by attribute job_id by a bar chart, and display from high to low by the JOB_ID.
SELECT JOB_ID, AVG(DEPARTMENT_ID) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) GROUP BY JOB_ID ORDER BY JOB_ID DESC
[ 1890, 883, 4409, 508, 750, 407, 423, 597, 1693, 287, 262, 1613, 11, 1577, 502, 262, 7208, 546, 262, 2811, 286, 5011, 62, 312, 625, 262, 1693, 62, 312, 837, 290, 1448, 416, 11688, 1693, 62, 312, 416, 257, 2318, 8262, 11, 290, 3359,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 750, 407, 423, 597, 1693, 287, 262, 1613, 11, 1577, 502, 262, 7208, 546, 262, 2811, 286, 5011, 62, 312, 625, 262, 1693, 62, 312, 837, 290, 1448, 416, 11688, 1693, 62, 312, 416, 257, 2318, 8262, 11, 290, 3359,...
show me the five most frequent output events since 2105?
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) >= '2105' GROUP BY outputevents.itemid) AS t1 WHERE t1.c1 <= 5)
[ 12860, 502, 262, 1936, 749, 10792, 5072, 2995, 1201, 362, 13348, 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, 38701, 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...
[ 12860, 502, 262, 1936, 749, 10792, 5072, 2995, 1201, 362, 13348, 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, 38701, 11...
Resposta por usu rio e conte do.
SELECT Id AS "post_link", 'owneruserid' AS "user_link" FROM Posts WHERE OwnerUserId = '##UserId##' AND Body LIKE '%##text##%' COLLATE sql_latin1_general_cp1_ci_as AND PostTypeId = 2
[ 4965, 7353, 64, 16964, 514, 84, 374, 952, 304, 542, 68, 466, 13, 46506, 5121, 7054, 366, 7353, 62, 8726, 1600, 705, 18403, 7220, 312, 6, 7054, 366, 7220, 62, 8726, 1, 16034, 12043, 33411, 23853, 12982, 7390, 796, 705, 2235, 12982, 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...
[ 4965, 7353, 64, 16964, 514, 84, 374, 952, 304, 542, 68, 466, 13, 46506, 5121, 7054, 366, 7353, 62, 8726, 1600, 705, 18403, 7220, 312, 6, 7054, 366, 7220, 62, 8726, 1, 16034, 12043, 33411, 23853, 12982, 7390, 796, 705, 2235, 12982, 7...
what is average age of patients whose gender is f and admission type is urgent?
SELECT AVG(demographic.age) FROM demographic WHERE demographic.gender = "F" AND demographic.admission_type = "URGENT"
[ 10919, 318, 2811, 2479, 286, 3871, 3025, 5279, 318, 277, 290, 13938, 2099, 318, 18039, 30, 46506, 35224, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 8388, 796, 366, 37, 1, 5357, 16728, 13, 324, 3411, 62, 4906, 796, 36...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5279, 318, 277, 290, 13938, 2099, 318, 18039, 30, 46506, 35224, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 8388, 796, 366, 37, 1, 5357, 16728, 13, 324, 3411, 62, 4906, 796, 36...
Does LHSP 130 have 200 as a prerequisite ?
SELECT COUNT(*) > 0 FROM course AS COURSE_0, course AS COURSE_1, course_prerequisite WHERE COURSE_0.course_id = course_prerequisite.pre_course_id AND COURSE_0.department = 'LHSP' AND COURSE_0.number = 200 AND COURSE_1.course_id = course_prerequisite.course_id AND COURSE_1.department = 'LHSP' AND COURSE_1.number = 130
[ 13921, 49730, 4303, 11323, 423, 939, 355, 257, 43119, 5633, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 1781, 7054, 37384, 5188, 62, 15, 11, 1781, 7054, 37384, 5188, 62, 16, 11, 1781, 62, 3866, 27614, 33411, 37384, 5188, 62, 15, 13...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 13921, 49730, 4303, 11323, 423, 939, 355, 257, 43119, 5633, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 1781, 7054, 37384, 5188, 62, 15, 11, 1781, 7054, 37384, 5188, 62, 16, 11, 1781, 62, 3866, 27614, 33411, 37384, 5188, 62, 15, 13...
What is the lowest total?
SELECT MIN("Total") FROM table_73115
[ 2061, 318, 262, 9016, 2472, 30, 46506, 20625, 7203, 14957, 4943, 16034, 3084, 62, 4790, 15363 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 9016, 2472, 30, 46506, 20625, 7203, 14957, 4943, 16034, 3084, 62, 4790, 15363 ]
Which team raced at Amaroo Park?
SELECT team FROM table_name_65 WHERE circuit = "amaroo park"
[ 13828, 1074, 32897, 379, 1703, 38049, 3250, 30, 46506, 1074, 16034, 3084, 62, 3672, 62, 2996, 33411, 10349, 796, 366, 321, 38049, 3952, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 1074, 32897, 379, 1703, 38049, 3250, 30, 46506, 1074, 16034, 3084, 62, 3672, 62, 2996, 33411, 10349, 796, 366, 321, 38049, 3952, 1 ]
What record has candlestick park as the game site, and october 12, 2008 as the date?
SELECT "Record" FROM table_43155 WHERE "Game site" = 'candlestick park' AND "Date" = 'october 12, 2008'
[ 2061, 1700, 468, 2658, 32712, 624, 3952, 355, 262, 983, 2524, 11, 290, 19318, 2023, 1105, 11, 3648, 355, 262, 3128, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 3559, 18742, 33411, 366, 8777, 2524, 1, 796, 705, 46188, 32712, 624, 3952, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1700, 468, 2658, 32712, 624, 3952, 355, 262, 983, 2524, 11, 290, 19318, 2023, 1105, 11, 3648, 355, 262, 3128, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 3559, 18742, 33411, 366, 8777, 2524, 1, 796, 705, 46188, 32712, 624, 3952, ...
show me all economy prices from DALLAS to BALTIMORE
SELECT DISTINCT fare.fare_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, fare, fare_basis, flight, flight_fare WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'DALLAS' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND ...
[ 12860, 502, 477, 3773, 4536, 422, 360, 7036, 1921, 284, 347, 31429, 3955, 1581, 33635, 16779, 360, 8808, 1268, 4177, 14505, 13, 9496, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3773, 4536, 422, 360, 7036, 1921, 284, 347, 31429, 3955, 1581, 33635, 16779, 360, 8808, 1268, 4177, 14505, 13, 9496, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, ...
What is the score of the home team, bath city?
SELECT "Score" FROM table_64725 WHERE "Home team" = 'bath city'
[ 2061, 318, 262, 4776, 286, 262, 1363, 1074, 11, 7837, 1748, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 33981, 1495, 33411, 366, 16060, 1074, 1, 796, 705, 37648, 1748, 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, 262, 4776, 286, 262, 1363, 1074, 11, 7837, 1748, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 33981, 1495, 33411, 366, 16060, 1074, 1, 796, 705, 37648, 1748, 6 ]
Give me the comparison about ID over the meter_400 by a bar chart, show in descending by the ID.
SELECT meter_400, ID FROM swimmer ORDER BY ID DESC
[ 23318, 502, 262, 7208, 546, 4522, 625, 262, 16430, 62, 7029, 416, 257, 2318, 8262, 11, 905, 287, 31491, 416, 262, 4522, 13, 46506, 16430, 62, 7029, 11, 4522, 16034, 9422, 647, 38678, 11050, 4522, 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 ]
[ 23318, 502, 262, 7208, 546, 4522, 625, 262, 16430, 62, 7029, 416, 257, 2318, 8262, 11, 905, 287, 31491, 416, 262, 4522, 13, 46506, 16430, 62, 7029, 11, 4522, 16034, 9422, 647, 38678, 11050, 4522, 22196, 34 ]
List the area and county of all appelations.
SELECT Area, County FROM APPELLATIONS
[ 8053, 262, 1989, 290, 7968, 286, 477, 598, 417, 602, 13, 46506, 9498, 11, 3418, 16034, 3486, 11401, 3069, 18421 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8053, 262, 1989, 290, 7968, 286, 477, 598, 417, 602, 13, 46506, 9498, 11, 3418, 16034, 3486, 11401, 3069, 18421 ]
How many grids have more than 24 laps with a time/retired of +1:12.208?
SELECT SUM(grid) FROM table_name_96 WHERE time_retired = "+1:12.208" AND laps > 24
[ 2437, 867, 50000, 423, 517, 621, 1987, 24590, 351, 257, 640, 14, 1186, 1202, 286, 1343, 16, 25, 1065, 13, 21315, 30, 46506, 35683, 7, 25928, 8, 16034, 3084, 62, 3672, 62, 4846, 33411, 640, 62, 1186, 1202, 796, 43825, 16, 25, 1065, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 50000, 423, 517, 621, 1987, 24590, 351, 257, 640, 14, 1186, 1202, 286, 1343, 16, 25, 1065, 13, 21315, 30, 46506, 35683, 7, 25928, 8, 16034, 3084, 62, 3672, 62, 4846, 33411, 640, 62, 1186, 1202, 796, 43825, 16, 25, 1065, ...
List the number of invoices from the US, grouped by state.
SELECT billing_state, COUNT(*) FROM invoices WHERE billing_country = "USA" GROUP BY billing_state
[ 8053, 262, 1271, 286, 800, 78, 1063, 422, 262, 1294, 11, 32824, 416, 1181, 13, 46506, 26297, 62, 5219, 11, 327, 28270, 7, 28104, 16034, 800, 78, 1063, 33411, 26297, 62, 19315, 796, 366, 14053, 1, 44441, 11050, 26297, 62, 5219 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8053, 262, 1271, 286, 800, 78, 1063, 422, 262, 1294, 11, 32824, 416, 1181, 13, 46506, 26297, 62, 5219, 11, 327, 28270, 7, 28104, 16034, 800, 78, 1063, 33411, 26297, 62, 19315, 796, 366, 14053, 1, 44441, 11050, 26297, 62, 5219 ]
Name the number of awardees for english and hindi
SELECT COUNT(awardee_s_) FROM table_24446718_7 WHERE language = "English and Hindi"
[ 5376, 262, 1271, 286, 5764, 2841, 329, 46932, 290, 16222, 72, 46506, 327, 28270, 7, 707, 446, 1453, 62, 82, 62, 8, 16034, 3084, 62, 1731, 2598, 3134, 1507, 62, 22, 33411, 3303, 796, 366, 15823, 290, 43443, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5764, 2841, 329, 46932, 290, 16222, 72, 46506, 327, 28270, 7, 707, 446, 1453, 62, 82, 62, 8, 16034, 3084, 62, 1731, 2598, 3134, 1507, 62, 22, 33411, 3303, 796, 366, 15823, 290, 43443, 1 ]
what is gender and insurance of subject id 81923?
SELECT demographic.gender, demographic.insurance FROM demographic WHERE demographic.subject_id = "81923"
[ 10919, 318, 5279, 290, 5096, 286, 2426, 4686, 807, 1129, 1954, 30, 46506, 16728, 13, 8388, 11, 16728, 13, 1040, 3874, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 23, 1129, 1954, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5279, 290, 5096, 286, 2426, 4686, 807, 1129, 1954, 30, 46506, 16728, 13, 8388, 11, 16728, 13, 1040, 3874, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 23, 1129, 1954, 1 ]
Return the names of singers who are from UK and released an English song.
SELECT artist_name FROM artist WHERE country = "UK" INTERSECT SELECT T1.artist_name FROM artist AS T1 JOIN song AS T2 ON T1.artist_name = T2.artist_name WHERE T2.languages = "english"
[ 13615, 262, 3891, 286, 39113, 508, 389, 422, 3482, 290, 2716, 281, 3594, 3496, 13, 46506, 6802, 62, 3672, 16034, 6802, 33411, 1499, 796, 366, 15039, 1, 17828, 4877, 9782, 33493, 309, 16, 13, 49016, 62, 3672, 16034, 6802, 7054, 309, 16...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 13615, 262, 3891, 286, 39113, 508, 389, 422, 3482, 290, 2716, 281, 3594, 3496, 13, 46506, 6802, 62, 3672, 16034, 6802, 33411, 1499, 796, 366, 15039, 1, 17828, 4877, 9782, 33493, 309, 16, 13, 49016, 62, 3672, 16034, 6802, 7054, 309, 16...
What is the total number of bronze medals of the team with more than 8 silvers and a total of 50 medals?
SELECT COUNT(bronze) FROM table_name_67 WHERE silver > 8 AND total = 50
[ 2061, 318, 262, 2472, 1271, 286, 22101, 28057, 286, 262, 1074, 351, 517, 621, 807, 3313, 690, 290, 257, 2472, 286, 2026, 28057, 30, 46506, 327, 28270, 7, 65, 1313, 2736, 8, 16034, 3084, 62, 3672, 62, 3134, 33411, 8465, 1875, 807, 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 ]
[ 2061, 318, 262, 2472, 1271, 286, 22101, 28057, 286, 262, 1074, 351, 517, 621, 807, 3313, 690, 290, 257, 2472, 286, 2026, 28057, 30, 46506, 327, 28270, 7, 65, 1313, 2736, 8, 16034, 3084, 62, 3672, 62, 3134, 33411, 8465, 1875, 807, 53...
count the number of times patient 007-8317 received enteral tube intake: nasoduodenal nostril, r 12 during their last hospital encounter.
SELECT COUNT(*) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '007-8317' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.h...
[ 9127, 262, 1271, 286, 1661, 5827, 3571, 22, 12, 5999, 1558, 2722, 920, 1691, 12403, 10337, 25, 25221, 375, 84, 375, 268, 282, 18216, 22379, 11, 374, 1105, 1141, 511, 938, 4436, 8791, 13, 46506, 327, 28270, 7, 28104, 16034, 10337, 2291...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1661, 5827, 3571, 22, 12, 5999, 1558, 2722, 920, 1691, 12403, 10337, 25, 25221, 375, 84, 375, 268, 282, 18216, 22379, 11, 374, 1105, 1141, 511, 938, 4436, 8791, 13, 46506, 327, 28270, 7, 28104, 16034, 10337, 2291...
What are the types of vocals that the musician with the last name 'Heilo' played in 'Der Kapitan'?
SELECT type FROM vocals AS T1 JOIN songs AS T2 ON T1.songid = T2.songid JOIN band AS T3 ON T1.bandmate = T3.id WHERE T3.lastname = "Heilo" AND T2.title = "Der Kapitan"
[ 2061, 389, 262, 3858, 286, 25355, 326, 262, 21623, 351, 262, 938, 1438, 705, 1544, 18526, 6, 2826, 287, 705, 28532, 27344, 18642, 30960, 46506, 2099, 16034, 25355, 7054, 309, 16, 32357, 1268, 7259, 7054, 309, 17, 6177, 309, 16, 13, 34...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 389, 262, 3858, 286, 25355, 326, 262, 21623, 351, 262, 938, 1438, 705, 1544, 18526, 6, 2826, 287, 705, 28532, 27344, 18642, 30960, 46506, 2099, 16034, 25355, 7054, 309, 16, 32357, 1268, 7259, 7054, 309, 17, 6177, 309, 16, 13, 34...
who came in first ?
SELECT "horse" FROM table_204_330 WHERE "finished" = 1
[ 8727, 1625, 287, 717, 5633, 46506, 366, 30527, 1, 16034, 3084, 62, 18638, 62, 26073, 33411, 366, 43952, 1, 796, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8727, 1625, 287, 717, 5633, 46506, 366, 30527, 1, 16034, 3084, 62, 18638, 62, 26073, 33411, 366, 43952, 1, 796, 352 ]
tell me the length of the hospital stay of the last hospital stay of patient 027-214052.
SELECT STRFTIME('%j', patient.hospitaldischargetime) - STRFTIME('%j', patient.hospitaladmittime) FROM patient WHERE patient.uniquepid = '027-214052' AND NOT patient.hospitaladmittime IS NULL ORDER BY patient.hospitaladmittime DESC LIMIT 1
[ 33331, 502, 262, 4129, 286, 262, 4436, 2652, 286, 262, 938, 4436, 2652, 286, 5827, 657, 1983, 12, 22291, 37841, 13, 46506, 19269, 9792, 12789, 10786, 4, 73, 3256, 5827, 13, 49257, 6381, 354, 7641, 524, 8, 532, 19269, 9792, 12789, 1078...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 33331, 502, 262, 4129, 286, 262, 4436, 2652, 286, 262, 938, 4436, 2652, 286, 5827, 657, 1983, 12, 22291, 37841, 13, 46506, 19269, 9792, 12789, 10786, 4, 73, 3256, 5827, 13, 49257, 6381, 354, 7641, 524, 8, 532, 19269, 9792, 12789, 1078...
what is the admission location and discharge location of subject id 4589?
SELECT demographic.admission_location, demographic.discharge_location FROM demographic WHERE demographic.subject_id = "4589"
[ 10919, 318, 262, 13938, 4067, 290, 17655, 4067, 286, 2426, 4686, 604, 44169, 30, 46506, 16728, 13, 324, 3411, 62, 24886, 11, 16728, 13, 6381, 10136, 62, 24886, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 2231, 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, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 13938, 4067, 290, 17655, 4067, 286, 2426, 4686, 604, 44169, 30, 46506, 16728, 13, 324, 3411, 62, 24886, 11, 16728, 13, 6381, 10136, 62, 24886, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 2231, 4531, 1 ]
How many stories is the torre reforma building?
SELECT COUNT("Stories") FROM table_78450 WHERE "Building" = 'torre reforma'
[ 2437, 867, 3923, 318, 262, 7332, 260, 4975, 64, 2615, 30, 46506, 327, 28270, 7203, 1273, 1749, 4943, 16034, 3084, 62, 3695, 17885, 33411, 366, 25954, 1, 796, 705, 13165, 260, 4975, 64, 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, 3923, 318, 262, 7332, 260, 4975, 64, 2615, 30, 46506, 327, 28270, 7203, 1273, 1749, 4943, 16034, 3084, 62, 3695, 17885, 33411, 366, 25954, 1, 796, 705, 13165, 260, 4975, 64, 6 ]
What was the record for opponent Matt Serra?
SELECT record FROM table_name_36 WHERE opponent = "matt serra"
[ 2061, 373, 262, 1700, 329, 6125, 4705, 2930, 430, 30, 46506, 1700, 16034, 3084, 62, 3672, 62, 2623, 33411, 6125, 796, 366, 76, 1078, 1055, 430, 1 ]
[ 1, 1, 1, 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, 1700, 329, 6125, 4705, 2930, 430, 30, 46506, 1700, 16034, 3084, 62, 3672, 62, 2623, 33411, 6125, 796, 366, 76, 1078, 1055, 430, 1 ]
Show the number of customer address history in each day and bin date from by weekday with a bar chart, display by the total number from high to low.
SELECT date_from, COUNT(date_from) FROM Customer_Address_History AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id JOIN Addresses AS T3 ON T1.address_id = T3.address_id ORDER BY COUNT(date_from) DESC
[ 15307, 262, 1271, 286, 6491, 2209, 2106, 287, 1123, 1110, 290, 9874, 3128, 422, 416, 28269, 351, 257, 2318, 8262, 11, 3359, 416, 262, 2472, 1271, 422, 1029, 284, 1877, 13, 46506, 3128, 62, 6738, 11, 327, 28270, 7, 4475, 62, 6738, 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...
[ 15307, 262, 1271, 286, 6491, 2209, 2106, 287, 1123, 1110, 290, 9874, 3128, 422, 416, 28269, 351, 257, 2318, 8262, 11, 3359, 416, 262, 2472, 1271, 422, 1029, 284, 1877, 13, 46506, 3128, 62, 6738, 11, 327, 28270, 7, 4475, 62, 6738, 8,...
the presence of at least 2 of the following criteria of sepsis according to accp / sccm ( 8 ) a ) body temperature > 38 degreesc or < 36 degreesc; b ) pulse rate > 90 / min; c ) breath rate > 20 / min or paco2 < 32 mmhg; and / or d ) leukocytosis ( white blood cell count > 12000 / ul ) or leukopenia ( white blood cell ...
SELECT * FROM table_train_66 WHERE (CASE WHEN temperature > 38 OR temperature < 36 THEN 1 ELSE 0 END + CASE WHEN heart_rate > 90 THEN 1 ELSE 0 END + CASE WHEN respiratory_rate > 20 OR paco2 < 32 THEN 1 ELSE 0 END + CASE WHEN white_blood_cell_count_wbc > 12000 OR white_blood_cell_count_wbc < 4000 OR band_form > 10 THEN ...
[ 1169, 4931, 286, 379, 1551, 362, 286, 262, 1708, 9987, 286, 384, 862, 271, 1864, 284, 697, 79, 1220, 264, 535, 76, 357, 807, 1267, 257, 1267, 1767, 5951, 1875, 4353, 3396, 260, 3798, 393, 1279, 4570, 3396, 260, 3798, 26, 275, 1267, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1169, 4931, 286, 379, 1551, 362, 286, 262, 1708, 9987, 286, 384, 862, 271, 1864, 284, 697, 79, 1220, 264, 535, 76, 357, 807, 1267, 257, 1267, 1767, 5951, 1875, 4353, 3396, 260, 3798, 393, 1279, 4570, 3396, 260, 3798, 26, 275, 1267, ...
What is the catalogue number for Brazil?
SELECT catalogue__number FROM table_name_8 WHERE country = "brazil"
[ 2061, 318, 262, 34614, 1271, 329, 7595, 30, 46506, 34614, 834, 17618, 16034, 3084, 62, 3672, 62, 23, 33411, 1499, 796, 366, 65, 7098, 1 ]
[ 1, 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, 34614, 1271, 329, 7595, 30, 46506, 34614, 834, 17618, 16034, 3084, 62, 3672, 62, 23, 33411, 1499, 796, 366, 65, 7098, 1 ]
List the forenames of all distinct drivers in alphabetical order?
SELECT DISTINCT forename FROM drivers ORDER BY forename
[ 8053, 262, 1674, 14933, 286, 477, 7310, 6643, 287, 24830, 605, 1502, 30, 46506, 360, 8808, 1268, 4177, 1674, 3672, 16034, 6643, 38678, 11050, 1674, 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 ]
[ 8053, 262, 1674, 14933, 286, 477, 7310, 6643, 287, 24830, 605, 1502, 30, 46506, 360, 8808, 1268, 4177, 1674, 3672, 16034, 6643, 38678, 11050, 1674, 3672 ]
how many patients had a insert endotracheal tube during the same month after the first percu abdominal drainage since 1 year ago?
SELECT COUNT(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, procedures_icd.charttime FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'percu abdom...
[ 4919, 867, 3871, 550, 257, 7550, 46710, 81, 4891, 282, 12403, 1141, 262, 976, 1227, 706, 262, 717, 583, 27399, 32692, 37664, 1201, 352, 614, 2084, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 32796, 62, 312, 8, 16034...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 3871, 550, 257, 7550, 46710, 81, 4891, 282, 12403, 1141, 262, 976, 1227, 706, 262, 717, 583, 27399, 32692, 37664, 1201, 352, 614, 2084, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 32796, 62, 312, 8, 16034...
What was Thierry Henry's average goal when his rank was higher than 7?
SELECT AVG("Goals") FROM table_69475 WHERE "Player" = 'thierry henry' AND "Rank" > '7'
[ 2061, 373, 536, 959, 563, 8616, 338, 2811, 3061, 618, 465, 4279, 373, 2440, 621, 767, 30, 46506, 35224, 7203, 5247, 874, 4943, 16034, 3084, 62, 3388, 32576, 33411, 366, 14140, 1, 796, 705, 400, 959, 563, 30963, 563, 6, 5357, 366, 27...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 536, 959, 563, 8616, 338, 2811, 3061, 618, 465, 4279, 373, 2440, 621, 767, 30, 46506, 35224, 7203, 5247, 874, 4943, 16034, 3084, 62, 3388, 32576, 33411, 366, 14140, 1, 796, 705, 400, 959, 563, 30963, 563, 6, 5357, 366, 27...
What is the land (sqmi) at geo id 3801947380?
SELECT "Land ( sqmi )" FROM table_22471 WHERE "GEO ID" = '3801947380'
[ 2061, 318, 262, 1956, 357, 31166, 11632, 8, 379, 40087, 4686, 4353, 30484, 2857, 23734, 30, 46506, 366, 22342, 357, 19862, 11632, 1267, 1, 16034, 3084, 62, 24137, 4869, 33411, 366, 38, 4720, 4522, 1, 796, 705, 2548, 30484, 2857, 23734, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1956, 357, 31166, 11632, 8, 379, 40087, 4686, 4353, 30484, 2857, 23734, 30, 46506, 366, 22342, 357, 19862, 11632, 1267, 1, 16034, 3084, 62, 24137, 4869, 33411, 366, 38, 4720, 4522, 1, 796, 705, 2548, 30484, 2857, 23734, ...
Find the number of courses provided in each year with a line chart, could you display X in descending order?
SELECT year, COUNT(*) FROM section GROUP BY year ORDER BY year DESC
[ 16742, 262, 1271, 286, 10902, 2810, 287, 1123, 614, 351, 257, 1627, 8262, 11, 714, 345, 3359, 1395, 287, 31491, 1502, 30, 46506, 614, 11, 327, 28270, 7, 28104, 16034, 2665, 44441, 11050, 614, 38678, 11050, 614, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16742, 262, 1271, 286, 10902, 2810, 287, 1123, 614, 351, 257, 1627, 8262, 11, 714, 345, 3359, 1395, 287, 31491, 1502, 30, 46506, 614, 11, 327, 28270, 7, 28104, 16034, 2665, 44441, 11050, 614, 38678, 11050, 614, 22196, 34 ]
Who was the opponents in the final that was played on April 16, 2006 and the outcome was runner-up?
SELECT "Opponents in Final" FROM table_7728 WHERE "Outcome" = 'runner-up' AND "Date" = 'april 16, 2006'
[ 8241, 373, 262, 7691, 287, 262, 2457, 326, 373, 2826, 319, 3035, 1467, 11, 4793, 290, 262, 8055, 373, 17490, 12, 929, 30, 46506, 366, 27524, 3906, 287, 8125, 1, 16034, 3084, 62, 3324, 2078, 33411, 366, 7975, 2958, 1, 796, 705, 16737...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7691, 287, 262, 2457, 326, 373, 2826, 319, 3035, 1467, 11, 4793, 290, 262, 8055, 373, 17490, 12, 929, 30, 46506, 366, 27524, 3906, 287, 8125, 1, 16034, 3084, 62, 3324, 2078, 33411, 366, 7975, 2958, 1, 796, 705, 16737...
What is the result of game 5 with Los Angeles as the home team?
SELECT result FROM table_name_26 WHERE home_team = "los angeles" AND game = "game 5"
[ 2061, 318, 262, 1255, 286, 983, 642, 351, 5401, 5652, 355, 262, 1363, 1074, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 2075, 33411, 1363, 62, 15097, 796, 366, 33280, 18304, 274, 1, 5357, 983, 796, 366, 6057, 642, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 286, 983, 642, 351, 5401, 5652, 355, 262, 1363, 1074, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 2075, 33411, 1363, 62, 15097, 796, 366, 33280, 18304, 274, 1, 5357, 983, 796, 366, 6057, 642, 1 ]
Which team does Pierre Duguay play for?
SELECT nhl_team FROM table_1213511_6 WHERE player = "Pierre Duguay"
[ 13828, 1074, 857, 21204, 27436, 30106, 711, 329, 30, 46506, 299, 18519, 62, 15097, 16034, 3084, 62, 1065, 17059, 1157, 62, 21, 33411, 2137, 796, 366, 36910, 27436, 30106, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 1074, 857, 21204, 27436, 30106, 711, 329, 30, 46506, 299, 18519, 62, 15097, 16034, 3084, 62, 1065, 17059, 1157, 62, 21, 33411, 2137, 796, 366, 36910, 27436, 30106, 1 ]
Which Car # has a Make of toyota, and a Driver of mike skinner, and a Pos larger than 3?
SELECT MAX("Car #") FROM table_39673 WHERE "Make" = 'toyota' AND "Driver" = 'mike skinner' AND "Pos." > '3'
[ 13828, 1879, 1303, 468, 257, 6889, 286, 13373, 4265, 11, 290, 257, 12434, 286, 285, 522, 4168, 1008, 11, 290, 257, 18574, 4025, 621, 513, 30, 46506, 25882, 7203, 9914, 1303, 4943, 16034, 3084, 62, 2670, 45758, 33411, 366, 12050, 1, 79...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1879, 1303, 468, 257, 6889, 286, 13373, 4265, 11, 290, 257, 12434, 286, 285, 522, 4168, 1008, 11, 290, 257, 18574, 4025, 621, 513, 30, 46506, 25882, 7203, 9914, 1303, 4943, 16034, 3084, 62, 2670, 45758, 33411, 366, 12050, 1, 79...
For those records from the products and each product's manufacturer, show me about the correlation between code and code , and group by attribute founder in a scatter chart.
SELECT T1.Code, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 905, 502, 546, 262, 16096, 1022, 2438, 290, 2438, 837, 290, 1448, 416, 11688, 9119, 287, 257, 41058, 8262, 13, 46506, 309, 16, 13, 10669, 11, 309, 16, 13, 10669, 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...
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 905, 502, 546, 262, 16096, 1022, 2438, 290, 2438, 837, 290, 1448, 416, 11688, 9119, 287, 257, 41058, 8262, 13, 46506, 309, 16, 13, 10669, 11, 309, 16, 13, 10669, 1603...
What is the rank of the airport with the BKK/VTBS code?
SELECT rank FROM table_name_60 WHERE code__iata_icao_ = "bkk/vtbs"
[ 2061, 318, 262, 4279, 286, 262, 9003, 351, 262, 347, 16601, 14, 36392, 4462, 2438, 30, 46506, 4279, 16034, 3084, 62, 3672, 62, 1899, 33411, 2438, 834, 72, 1045, 62, 3970, 78, 62, 796, 366, 65, 28747, 14, 36540, 1443, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4279, 286, 262, 9003, 351, 262, 347, 16601, 14, 36392, 4462, 2438, 30, 46506, 4279, 16034, 3084, 62, 3672, 62, 1899, 33411, 2438, 834, 72, 1045, 62, 3970, 78, 62, 796, 366, 65, 28747, 14, 36540, 1443, 1 ]
Tell me the left team for josh vanlandingham
SELECT "Left team" FROM table_31896 WHERE "Name" = 'josh vanlandingham'
[ 24446, 502, 262, 1364, 1074, 329, 474, 3768, 5719, 1044, 25875, 46506, 366, 18819, 1074, 1, 16034, 3084, 62, 36042, 4846, 33411, 366, 5376, 1, 796, 705, 73, 3768, 5719, 1044, 25875, 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 ]
[ 24446, 502, 262, 1364, 1074, 329, 474, 3768, 5719, 1044, 25875, 46506, 366, 18819, 1074, 1, 16034, 3084, 62, 36042, 4846, 33411, 366, 5376, 1, 796, 705, 73, 3768, 5719, 1044, 25875, 6 ]
Find the classrooms in which grade 4 is studying.
SELECT DISTINCT classroom FROM list WHERE grade = 4
[ 16742, 262, 32579, 287, 543, 9559, 604, 318, 11065, 13, 46506, 360, 8808, 1268, 4177, 15806, 16034, 1351, 33411, 9559, 796, 604 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16742, 262, 32579, 287, 543, 9559, 604, 318, 11065, 13, 46506, 360, 8808, 1268, 4177, 15806, 16034, 1351, 33411, 9559, 796, 604 ]
Which young classification has an aggressive rider of Tim Johnson?
SELECT young_classification FROM table_name_89 WHERE aggressive_rider = "tim johnson"
[ 13828, 1862, 17923, 468, 281, 8361, 17876, 286, 5045, 5030, 30, 46506, 1862, 62, 4871, 2649, 16034, 3084, 62, 3672, 62, 4531, 33411, 8361, 62, 49449, 796, 366, 16514, 45610, 1559, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 1862, 17923, 468, 281, 8361, 17876, 286, 5045, 5030, 30, 46506, 1862, 62, 4871, 2649, 16034, 3084, 62, 3672, 62, 4531, 33411, 8361, 62, 49449, 796, 366, 16514, 45610, 1559, 1 ]
What is the largest ethnic group in (hungarian: kispiac)?
SELECT "Largest ethnic group (2002)" FROM table_27865 WHERE "Cyrillic Name Other Names" = 'Мале Пијаце (Hungarian: Kispiac)'
[ 2061, 318, 262, 4387, 9450, 1448, 287, 357, 43274, 3699, 25, 479, 8802, 9607, 19427, 46506, 366, 43, 853, 395, 9450, 1448, 357, 16942, 16725, 16034, 3084, 62, 25870, 2996, 33411, 366, 34, 2417, 359, 291, 6530, 3819, 28531, 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, 318, 262, 4387, 9450, 1448, 287, 357, 43274, 3699, 25, 479, 8802, 9607, 19427, 46506, 366, 43, 853, 395, 9450, 1448, 357, 16942, 16725, 16034, 3084, 62, 25870, 2996, 33411, 366, 34, 2417, 359, 291, 6530, 3819, 28531, 1, 796, 705...
CLEANUP: find comments that use code formatting.
SELECT c.CreationDate, c.Id AS "comment_link" FROM Comments AS c WHERE c.Text LIKE '%`%' ORDER BY c.CreationDate DESC
[ 29931, 1565, 8577, 25, 1064, 3651, 326, 779, 2438, 33313, 13, 46506, 269, 13, 12443, 341, 10430, 11, 269, 13, 7390, 7054, 366, 23893, 62, 8726, 1, 16034, 19502, 7054, 269, 33411, 269, 13, 8206, 34178, 705, 4, 63, 4, 6, 38678, 11050,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 29931, 1565, 8577, 25, 1064, 3651, 326, 779, 2438, 33313, 13, 46506, 269, 13, 12443, 341, 10430, 11, 269, 13, 7390, 7054, 366, 23893, 62, 8726, 1, 16034, 19502, 7054, 269, 33411, 269, 13, 8206, 34178, 705, 4, 63, 4, 6, 38678, 11050,...
Tell me the competition that happened on 14 june 2008
SELECT "Competition" FROM table_51770 WHERE "Date" = '14 june 2008'
[ 24446, 502, 262, 5449, 326, 3022, 319, 1478, 474, 1726, 3648, 46506, 366, 7293, 15620, 1, 16034, 3084, 62, 48170, 2154, 33411, 366, 10430, 1, 796, 705, 1415, 474, 1726, 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 ]
[ 24446, 502, 262, 5449, 326, 3022, 319, 1478, 474, 1726, 3648, 46506, 366, 7293, 15620, 1, 16034, 3084, 62, 48170, 2154, 33411, 366, 10430, 1, 796, 705, 1415, 474, 1726, 3648, 6 ]
how many patients whose primary disease is sternal wound infection and year of death is less than or equal to 2122?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "STERNAL WOUND INFECTION" AND demographic.dod_year <= "2122.0"
[ 4919, 867, 3871, 3025, 4165, 4369, 318, 26370, 282, 11699, 10280, 290, 614, 286, 1918, 318, 1342, 621, 393, 4961, 284, 362, 18376, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 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...
[ 4919, 867, 3871, 3025, 4165, 4369, 318, 26370, 282, 11699, 10280, 290, 614, 286, 1918, 318, 1342, 621, 393, 4961, 284, 362, 18376, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 1672...
Name the patients who had a fiber-optic bronchoscopy procedure.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE procedures.long_title = "Fiber-optic bronchoscopy"
[ 5376, 262, 3871, 508, 550, 257, 13608, 12, 8738, 291, 18443, 354, 17500, 11081, 8771, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, 13, 18108, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3871, 508, 550, 257, 13608, 12, 8738, 291, 18443, 354, 17500, 11081, 8771, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, 13, 18108, ...
What is the nation who won 1 bronze in the Olympics during 1924 1928?
SELECT nation FROM table_22355_20 WHERE olympics = "1924–1928" AND bronze = 1
[ 2061, 318, 262, 3277, 508, 1839, 352, 22101, 287, 262, 14935, 1141, 37547, 35768, 30, 46506, 3277, 16034, 3084, 62, 1828, 28567, 62, 1238, 33411, 267, 6760, 873, 796, 366, 1129, 1731, 1906, 1129, 2078, 1, 5357, 22101, 796, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 3277, 508, 1839, 352, 22101, 287, 262, 14935, 1141, 37547, 35768, 30, 46506, 3277, 16034, 3084, 62, 1828, 28567, 62, 1238, 33411, 267, 6760, 873, 796, 366, 1129, 1731, 1906, 1129, 2078, 1, 5357, 22101, 796, 352 ]
Who was the constitutional ticken when Charles B. Sears was the republican ticket?
SELECT "Constitutional ticket" FROM table_41827 WHERE "Republican ticket" = 'charles b. sears'
[ 8241, 373, 262, 9758, 4378, 268, 618, 7516, 347, 13, 36895, 373, 262, 41477, 7846, 30, 46506, 366, 34184, 5677, 7846, 1, 16034, 3084, 62, 39667, 1983, 33411, 366, 25777, 7846, 1, 796, 705, 10641, 829, 275, 13, 384, 945, 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, 373, 262, 9758, 4378, 268, 618, 7516, 347, 13, 36895, 373, 262, 41477, 7846, 30, 46506, 366, 34184, 5677, 7846, 1, 16034, 3084, 62, 39667, 1983, 33411, 366, 25777, 7846, 1, 796, 705, 10641, 829, 275, 13, 384, 945, 6 ]
until 2102, what was the three most frequently ordered procedure for patients 30s?
SELECT d_icd_procedures.short_title FROM d_icd_procedures WHERE d_icd_procedures.icd9_code IN (SELECT t1.icd9_code FROM (SELECT procedures_icd.icd9_code, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM procedures_icd WHERE procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.age B...
[ 28446, 362, 15377, 11, 644, 373, 262, 1115, 749, 6777, 6149, 8771, 329, 3871, 1542, 82, 30, 46506, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 1676, 771, 942, 33411, 288, 62, 291, 67, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 28446, 362, 15377, 11, 644, 373, 262, 1115, 749, 6777, 6149, 8771, 329, 3871, 1542, 82, 30, 46506, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 1676, 771, 942, 33411, 288, 62, 291, 67, ...
In what series did Alice Levine Jamie East give a presentation on Saturday?
SELECT "Series" FROM table_11580 WHERE "Saturday" = 'alice levine jamie east'
[ 818, 644, 2168, 750, 14862, 38294, 17826, 3687, 1577, 257, 10470, 319, 3909, 30, 46506, 366, 27996, 1, 16034, 3084, 62, 15363, 1795, 33411, 366, 19844, 1, 796, 705, 282, 501, 23145, 500, 16853, 494, 7627, 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 ]
[ 818, 644, 2168, 750, 14862, 38294, 17826, 3687, 1577, 257, 10470, 319, 3909, 30, 46506, 366, 27996, 1, 16034, 3084, 62, 15363, 1795, 33411, 366, 19844, 1, 796, 705, 282, 501, 23145, 500, 16853, 494, 7627, 6 ]
what are the drugs that patient 022-6959 has an allergic reaction to in 12/2105?
SELECT allergy.drugname FROM allergy WHERE allergy.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '022-6959')) AND STRFTIME('%y-%m', allergy.allergytime) = '2105-12'
[ 10919, 389, 262, 5010, 326, 5827, 657, 1828, 12, 3388, 3270, 468, 281, 31856, 6317, 284, 287, 1105, 14, 17, 13348, 30, 46506, 36197, 13, 30349, 3672, 16034, 36197, 33411, 36197, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 389, 262, 5010, 326, 5827, 657, 1828, 12, 3388, 3270, 468, 281, 31856, 6317, 284, 287, 1105, 14, 17, 13348, 30, 46506, 36197, 13, 30349, 3672, 16034, 36197, 33411, 36197, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, ...
number of different teams listed on the chart
SELECT COUNT(DISTINCT "opponent") FROM table_203_750
[ 17618, 286, 1180, 3466, 5610, 319, 262, 8262, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 366, 10365, 3471, 4943, 16034, 3084, 62, 22416, 62, 15426 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 17618, 286, 1180, 3466, 5610, 319, 262, 8262, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 366, 10365, 3471, 4943, 16034, 3084, 62, 22416, 62, 15426 ]
What are all the labels?
SELECT DISTINCT label FROM Albums
[ 2061, 389, 477, 262, 14722, 30, 46506, 360, 8808, 1268, 4177, 6167, 16034, 23999, 82 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 477, 262, 14722, 30, 46506, 360, 8808, 1268, 4177, 6167, 16034, 23999, 82 ]
What is the maximum specific impulse with a 4423 m/s effective exhaust velocity?
SELECT MAX("Specific impulse (s)") FROM table_20439 WHERE "Effective exhaust velocity (m/s)" = '4423'
[ 2061, 318, 262, 5415, 2176, 25278, 351, 257, 5846, 1954, 285, 14, 82, 4050, 12142, 15432, 30, 46506, 25882, 7203, 32419, 25278, 357, 82, 8, 4943, 16034, 3084, 62, 47936, 33411, 366, 44831, 12142, 15432, 357, 76, 14, 82, 16725, 796, 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 ]
[ 2061, 318, 262, 5415, 2176, 25278, 351, 257, 5846, 1954, 285, 14, 82, 4050, 12142, 15432, 30, 46506, 25882, 7203, 32419, 25278, 357, 82, 8, 4943, 16034, 3084, 62, 47936, 33411, 366, 44831, 12142, 15432, 357, 76, 14, 82, 16725, 796, 70...
Will there be any PATH 581 classes on Friday ?
SELECT DISTINCT course_offering.friday 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 = 'PATH' AND course.number = 581 AND semester.semester = 'WN' AND semester.year = 2016
[ 8743, 612, 307, 597, 46490, 642, 6659, 6097, 319, 3217, 5633, 46506, 360, 8808, 1268, 4177, 1781, 62, 2364, 1586, 13, 8310, 2567, 16034, 1781, 3268, 21479, 32357, 1268, 1781, 62, 2364, 1586, 6177, 1781, 13, 17319, 62, 312, 796, 1781, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 8743, 612, 307, 597, 46490, 642, 6659, 6097, 319, 3217, 5633, 46506, 360, 8808, 1268, 4177, 1781, 62, 2364, 1586, 13, 8310, 2567, 16034, 1781, 3268, 21479, 32357, 1268, 1781, 62, 2364, 1586, 6177, 1781, 13, 17319, 62, 312, 796, 1781, ...
patients with a renal transplant that is more than 6 months old.
SELECT * FROM table_train_238 WHERE renal_transplantation = 1
[ 8071, 2334, 351, 257, 44375, 23319, 326, 318, 517, 621, 718, 1933, 1468, 13, 46506, 1635, 16034, 3084, 62, 27432, 62, 23721, 33411, 44375, 62, 7645, 15060, 341, 796, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8071, 2334, 351, 257, 44375, 23319, 326, 318, 517, 621, 718, 1933, 1468, 13, 46506, 1635, 16034, 3084, 62, 27432, 62, 23721, 33411, 44375, 62, 7645, 15060, 341, 796, 352 ]
What years had 134 orbital flights?
SELECT "Years" FROM table_21994 WHERE "Flights" = '134 Orbital'
[ 2061, 812, 550, 22352, 32362, 13956, 30, 46506, 366, 40630, 1, 16034, 3084, 62, 17, 22666, 33411, 366, 7414, 2337, 1, 796, 705, 19880, 45453, 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, 812, 550, 22352, 32362, 13956, 30, 46506, 366, 40630, 1, 16034, 3084, 62, 17, 22666, 33411, 366, 7414, 2337, 1, 796, 705, 19880, 45453, 6 ]
What city was the event in when Patrik Antonius won?
SELECT "City" FROM table_79948 WHERE "Winner" = 'patrik antonius'
[ 2061, 1748, 373, 262, 1785, 287, 618, 9606, 74, 9261, 3754, 1839, 30, 46506, 366, 14941, 1, 16034, 3084, 62, 45455, 2780, 33411, 366, 48056, 1, 796, 705, 8071, 12602, 281, 1122, 3754, 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 ]
[ 2061, 1748, 373, 262, 1785, 287, 618, 9606, 74, 9261, 3754, 1839, 30, 46506, 366, 14941, 1, 16034, 3084, 62, 45455, 2780, 33411, 366, 48056, 1, 796, 705, 8071, 12602, 281, 1122, 3754, 6 ]
How many assists per game did he have when he had 6.8 points per game?
SELECT "Assists per game" FROM table_29681 WHERE "Points per game" = '6.8'
[ 2437, 867, 13648, 583, 983, 750, 339, 423, 618, 339, 550, 718, 13, 23, 2173, 583, 983, 30, 46506, 366, 8021, 1023, 583, 983, 1, 16034, 3084, 62, 1959, 48564, 33411, 366, 40710, 583, 983, 1, 796, 705, 21, 13, 23, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 13648, 583, 983, 750, 339, 423, 618, 339, 550, 718, 13, 23, 2173, 583, 983, 30, 46506, 366, 8021, 1023, 583, 983, 1, 16034, 3084, 62, 1959, 48564, 33411, 366, 40710, 583, 983, 1, 796, 705, 21, 13, 23, 6 ]
Return a bar chart for what is the number of areas for all appellations?, and could you show X-axis in desc order?
SELECT Area, COUNT(Area) FROM appellations GROUP BY Area ORDER BY Area DESC
[ 13615, 257, 2318, 8262, 329, 644, 318, 262, 1271, 286, 3006, 329, 477, 24781, 602, 21747, 290, 714, 345, 905, 1395, 12, 22704, 287, 1715, 1502, 30, 46506, 9498, 11, 327, 28270, 7, 30547, 8, 16034, 24781, 602, 44441, 11050, 9498, 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 ]
[ 13615, 257, 2318, 8262, 329, 644, 318, 262, 1271, 286, 3006, 329, 477, 24781, 602, 21747, 290, 714, 345, 905, 1395, 12, 22704, 287, 1715, 1502, 30, 46506, 9498, 11, 327, 28270, 7, 30547, 8, 16034, 24781, 602, 44441, 11050, 9498, 38678...
Compare the distribution of the players' gender using a bar chart, and rank in descending by the bar please.
SELECT Gender, COUNT(Gender) FROM player GROUP BY Gender ORDER BY Gender DESC
[ 41488, 262, 6082, 286, 262, 1938, 6, 5279, 1262, 257, 2318, 8262, 11, 290, 4279, 287, 31491, 416, 262, 2318, 3387, 13, 46506, 20247, 11, 327, 28270, 7, 41394, 8, 16034, 2137, 44441, 11050, 20247, 38678, 11050, 20247, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 41488, 262, 6082, 286, 262, 1938, 6, 5279, 1262, 257, 2318, 8262, 11, 290, 4279, 287, 31491, 416, 262, 2318, 3387, 13, 46506, 20247, 11, 327, 28270, 7, 41394, 8, 16034, 2137, 44441, 11050, 20247, 38678, 11050, 20247, 22196, 34 ]
which coach had greater than 700 total wins ?
SELECT "coach" FROM table_204_469 WHERE "wins" > 700
[ 4758, 3985, 550, 3744, 621, 13037, 2472, 7864, 5633, 46506, 366, 1073, 620, 1, 16034, 3084, 62, 18638, 62, 42947, 33411, 366, 86, 1040, 1, 1875, 13037 ]
[ 1, 1, 1, 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, 3985, 550, 3744, 621, 13037, 2472, 7864, 5633, 46506, 366, 1073, 620, 1, 16034, 3084, 62, 18638, 62, 42947, 33411, 366, 86, 1040, 1, 1875, 13037 ]
Highest round 5 pick from western illinois?
SELECT MAX("Pick") FROM table_7257 WHERE "Round" = '5' AND "School/College" = 'western illinois'
[ 36124, 3634, 2835, 642, 2298, 422, 8830, 2801, 8981, 30, 46506, 25882, 7203, 31686, 4943, 16034, 3084, 62, 22, 28676, 33411, 366, 22685, 1, 796, 705, 20, 6, 5357, 366, 26130, 14, 38951, 1, 796, 705, 14197, 2801, 8981, 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 ]
[ 36124, 3634, 2835, 642, 2298, 422, 8830, 2801, 8981, 30, 46506, 25882, 7203, 31686, 4943, 16034, 3084, 62, 22, 28676, 33411, 366, 22685, 1, 796, 705, 20, 6, 5357, 366, 26130, 14, 38951, 1, 796, 705, 14197, 2801, 8981, 6 ]
If the channels is wxyzuv, what is the number of channels?
SELECT number_of_channels FROM table_233830_1 WHERE channels = "WXYZUV"
[ 1532, 262, 9619, 318, 266, 5431, 89, 14795, 11, 644, 318, 262, 1271, 286, 9619, 30, 46506, 1271, 62, 1659, 62, 354, 8961, 16034, 3084, 62, 1954, 2548, 1270, 62, 16, 33411, 9619, 796, 366, 54, 34278, 57, 31667, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9619, 318, 266, 5431, 89, 14795, 11, 644, 318, 262, 1271, 286, 9619, 30, 46506, 1271, 62, 1659, 62, 354, 8961, 16034, 3084, 62, 1954, 2548, 1270, 62, 16, 33411, 9619, 796, 366, 54, 34278, 57, 31667, 1 ]
what is the number of patients whose gender is m and age is less than 55?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.gender = "M" AND demographic.age < "55"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 5279, 318, 285, 290, 2479, 318, 1342, 621, 5996, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 8388, 796, 366, 44, 1, 5357, 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 ]
[ 10919, 318, 262, 1271, 286, 3871, 3025, 5279, 318, 285, 290, 2479, 318, 1342, 621, 5996, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 8388, 796, 366, 44, 1, 5357, 1672...
how many actors have appeared in each musical?, and list from low to high by the y-axis please.
SELECT T2.Name, COUNT(*) FROM actor AS T1 JOIN musical AS T2 ON T1.Musical_ID = T2.Musical_ID GROUP BY T1.Musical_ID ORDER BY COUNT(*)
[ 4919, 867, 10544, 423, 4120, 287, 1123, 10530, 21747, 290, 1351, 422, 1877, 284, 1029, 416, 262, 331, 12, 22704, 3387, 13, 46506, 309, 17, 13, 5376, 11, 327, 28270, 7, 28104, 16034, 8674, 7054, 309, 16, 32357, 1268, 10530, 7054, 309, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10544, 423, 4120, 287, 1123, 10530, 21747, 290, 1351, 422, 1877, 284, 1029, 416, 262, 331, 12, 22704, 3387, 13, 46506, 309, 17, 13, 5376, 11, 327, 28270, 7, 28104, 16034, 8674, 7054, 309, 16, 32357, 1268, 10530, 7054, 309, ...
Which album had a release of heavenly (hvn95)?
SELECT "Album" FROM table_33303 WHERE "Release info" = 'heavenly (hvn95)'
[ 13828, 5062, 550, 257, 2650, 286, 32271, 357, 71, 85, 77, 3865, 19427, 46506, 366, 2348, 4435, 1, 16034, 3084, 62, 2091, 22572, 33411, 366, 26362, 7508, 1, 796, 705, 258, 4005, 306, 357, 71, 85, 77, 3865, 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 ]
[ 13828, 5062, 550, 257, 2650, 286, 32271, 357, 71, 85, 77, 3865, 19427, 46506, 366, 2348, 4435, 1, 16034, 3084, 62, 2091, 22572, 33411, 366, 26362, 7508, 1, 796, 705, 258, 4005, 306, 357, 71, 85, 77, 3865, 33047 ]
Which Representative has a Presentation of Credentials on september 8, 2005?
SELECT representative FROM table_name_93 WHERE presentation_of_credentials = "september 8, 2005"
[ 13828, 19920, 468, 257, 21662, 341, 286, 327, 445, 14817, 319, 384, 457, 1491, 807, 11, 5075, 30, 46506, 8852, 16034, 3084, 62, 3672, 62, 6052, 33411, 10470, 62, 1659, 62, 66, 445, 14817, 796, 366, 325, 457, 1491, 807, 11, 5075, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 19920, 468, 257, 21662, 341, 286, 327, 445, 14817, 319, 384, 457, 1491, 807, 11, 5075, 30, 46506, 8852, 16034, 3084, 62, 3672, 62, 6052, 33411, 10470, 62, 1659, 62, 66, 445, 14817, 796, 366, 325, 457, 1491, 807, 11, 5075, 1 ]
Tell me the long for charles frederick
SELECT long FROM table_name_93 WHERE player = "charles frederick"
[ 24446, 502, 262, 890, 329, 1149, 829, 277, 445, 41556, 46506, 890, 16034, 3084, 62, 3672, 62, 6052, 33411, 2137, 796, 366, 10641, 829, 277, 445, 41556, 1 ]
[ 1, 1, 1, 1, 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, 890, 329, 1149, 829, 277, 445, 41556, 46506, 890, 16034, 3084, 62, 3672, 62, 6052, 33411, 2137, 796, 366, 10641, 829, 277, 445, 41556, 1 ]
Badge progress for curious, inquisitive, and Socratic. For users interested in their badge progress.
SELECT CASE WHEN days >= 5 THEN 'Yes' ELSE CONCAT(days, '/', 5) END AS Curious, CASE WHEN days >= 30 THEN 'Yes' ELSE CONCAT(days, '/', 30) END AS Inquisitive, CASE WHEN days >= 100 THEN 'Yes' ELSE CONCAT(days, '/', 100) END AS Socratic FROM (SELECT COUNT(*) AS days FROM (SELECT DATEDIFF(d, CreationDate, GETDATE()) AS c...
[ 22069, 469, 4371, 329, 11040, 11, 7949, 271, 1800, 11, 290, 311, 15405, 13, 1114, 2985, 4609, 287, 511, 23009, 4371, 13, 46506, 42001, 42099, 1528, 18189, 642, 42243, 705, 5297, 6, 17852, 5188, 39962, 1404, 7, 12545, 11, 31051, 3256, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 22069, 469, 4371, 329, 11040, 11, 7949, 271, 1800, 11, 290, 311, 15405, 13, 1114, 2985, 4609, 287, 511, 23009, 4371, 13, 46506, 42001, 42099, 1528, 18189, 642, 42243, 705, 5297, 6, 17852, 5188, 39962, 1404, 7, 12545, 11, 31051, 3256, ...
jones won best actress in a play in 2005 . which other award did she win that year ?
SELECT "category" FROM table_203_146 WHERE "category" <> 'best actress in a play' AND "year" = 2005
[ 73, 1952, 1839, 1266, 14549, 287, 257, 711, 287, 5075, 764, 543, 584, 5764, 750, 673, 1592, 326, 614, 5633, 46506, 366, 22872, 1, 16034, 3084, 62, 22416, 62, 20964, 33411, 366, 22872, 1, 1279, 29, 705, 13466, 14549, 287, 257, 711, 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 ]
[ 73, 1952, 1839, 1266, 14549, 287, 257, 711, 287, 5075, 764, 543, 584, 5764, 750, 673, 1592, 326, 614, 5633, 46506, 366, 22872, 1, 16034, 3084, 62, 22416, 62, 20964, 33411, 366, 22872, 1, 1279, 29, 705, 13466, 14549, 287, 257, 711, 6...
In what bowl game was the result Oklahoma 31, Stanford 27?
SELECT "Bowl Game" FROM table_26294 WHERE "Matchup/Results" = 'Oklahoma 31, Stanford 27'
[ 818, 644, 9396, 983, 373, 262, 1255, 10433, 3261, 11, 13863, 2681, 30, 46506, 366, 33, 4883, 3776, 1, 16034, 3084, 62, 2075, 27696, 33411, 366, 23850, 929, 14, 25468, 1, 796, 705, 18690, 9802, 3261, 11, 13863, 2681, 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, 9396, 983, 373, 262, 1255, 10433, 3261, 11, 13863, 2681, 30, 46506, 366, 33, 4883, 3776, 1, 16034, 3084, 62, 2075, 27696, 33411, 366, 23850, 929, 14, 25468, 1, 796, 705, 18690, 9802, 3261, 11, 13863, 2681, 6 ]
How many female patients are aged below 43 years?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.gender = "F" AND demographic.age < "43"
[ 2437, 867, 4048, 3871, 389, 9722, 2174, 5946, 812, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 8388, 796, 366, 37, 1, 5357, 16728, 13, 496, 1279, 366, 3559, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 4048, 3871, 389, 9722, 2174, 5946, 812, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 8388, 796, 366, 37, 1, 5357, 16728, 13, 496, 1279, 366, 3559, 1 ]
What platform came out before 2009 with the game wii sports?
SELECT "Platform(s)" FROM table_62748 WHERE "Year" < '2009' AND "Game" = 'wii sports'
[ 2061, 3859, 1625, 503, 878, 3717, 351, 262, 983, 266, 4178, 5701, 30, 46506, 366, 37148, 7, 82, 16725, 16034, 3084, 62, 49856, 2780, 33411, 366, 17688, 1, 1279, 705, 10531, 6, 5357, 366, 8777, 1, 796, 705, 86, 4178, 5701, 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, 3859, 1625, 503, 878, 3717, 351, 262, 983, 266, 4178, 5701, 30, 46506, 366, 37148, 7, 82, 16725, 16034, 3084, 62, 49856, 2780, 33411, 366, 17688, 1, 1279, 705, 10531, 6, 5357, 366, 8777, 1, 796, 705, 86, 4178, 5701, 6 ]
Find the average elevation of all airports for each country.
SELECT AVG(elevation), country FROM airports GROUP BY country
[ 16742, 262, 2811, 22910, 286, 477, 22600, 329, 1123, 1499, 13, 46506, 35224, 7, 68, 2768, 341, 828, 1499, 16034, 22600, 44441, 11050, 1499 ]
[ 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, 2811, 22910, 286, 477, 22600, 329, 1123, 1499, 13, 46506, 35224, 7, 68, 2768, 341, 828, 1499, 16034, 22600, 44441, 11050, 1499 ]
What's the Korean word for Pohang?
SELECT korean FROM table_name_89 WHERE city = "pohang"
[ 2061, 338, 262, 6983, 1573, 329, 350, 1219, 648, 30, 46506, 479, 29456, 16034, 3084, 62, 3672, 62, 4531, 33411, 1748, 796, 366, 79, 1219, 648, 1 ]
[ 1, 1, 1, 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, 6983, 1573, 329, 350, 1219, 648, 30, 46506, 479, 29456, 16034, 3084, 62, 3672, 62, 4531, 33411, 1748, 796, 366, 79, 1219, 648, 1 ]
When the standard torque (lb/ft) is 11.53 how much does more is the modified hp?
SELECT "Modified HP" FROM table_23168 WHERE "Standard torque (lb/ft)" = '11.53'
[ 2215, 262, 3210, 26415, 357, 23160, 14, 701, 8, 318, 1367, 13, 4310, 703, 881, 857, 517, 318, 262, 9518, 27673, 30, 46506, 366, 5841, 1431, 6574, 1, 16034, 3084, 62, 1954, 14656, 33411, 366, 23615, 26415, 357, 23160, 14, 701, 16725, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 262, 3210, 26415, 357, 23160, 14, 701, 8, 318, 1367, 13, 4310, 703, 881, 857, 517, 318, 262, 9518, 27673, 30, 46506, 366, 5841, 1431, 6574, 1, 16034, 3084, 62, 1954, 14656, 33411, 366, 23615, 26415, 357, 23160, 14, 701, 16725, ...
What team set a 3:15:43 winning time?
SELECT team FROM table_2241841_1 WHERE race_time = "3:15:43"
[ 2061, 1074, 900, 257, 513, 25, 1314, 25, 3559, 5442, 640, 30, 46506, 1074, 16034, 3084, 62, 24137, 1507, 3901, 62, 16, 33411, 3234, 62, 2435, 796, 366, 18, 25, 1314, 25, 3559, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 900, 257, 513, 25, 1314, 25, 3559, 5442, 640, 30, 46506, 1074, 16034, 3084, 62, 24137, 1507, 3901, 62, 16, 33411, 3234, 62, 2435, 796, 366, 18, 25, 1314, 25, 3559, 1 ]
Which production had Rex Robbins as Herbie?
SELECT productions FROM table_name_96 WHERE herbie = "rex robbins"
[ 13828, 3227, 550, 17853, 44117, 355, 2332, 12590, 30, 46506, 32260, 16034, 3084, 62, 3672, 62, 4846, 33411, 607, 12590, 796, 366, 21510, 3857, 65, 1040, 1 ]
[ 1, 1, 1, 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, 3227, 550, 17853, 44117, 355, 2332, 12590, 30, 46506, 32260, 16034, 3084, 62, 3672, 62, 4846, 33411, 607, 12590, 796, 366, 21510, 3857, 65, 1040, 1 ]
What is the count of the songs that last approximately 4 minutes?
SELECT COUNT(*) FROM files WHERE duration LIKE "4:%"
[ 2061, 318, 262, 954, 286, 262, 7259, 326, 938, 6702, 604, 2431, 30, 46506, 327, 28270, 7, 28104, 16034, 3696, 33411, 9478, 34178, 366, 19, 25, 39658 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 954, 286, 262, 7259, 326, 938, 6702, 604, 2431, 30, 46506, 327, 28270, 7, 28104, 16034, 3696, 33411, 9478, 34178, 366, 19, 25, 39658 ]
What country had a 6:55.23 time?
SELECT "Country" FROM table_14282 WHERE "Time" = '6:55.23'
[ 2061, 1499, 550, 257, 718, 25, 2816, 13, 1954, 640, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 1415, 32568, 33411, 366, 7575, 1, 796, 705, 21, 25, 2816, 13, 1954, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1499, 550, 257, 718, 25, 2816, 13, 1954, 640, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 1415, 32568, 33411, 366, 7575, 1, 796, 705, 21, 25, 2816, 13, 1954, 6 ]
The original air date of 29November2007 has what total no.?
SELECT "Total No." FROM table_16977 WHERE "Original air date" = '29November2007'
[ 464, 2656, 1633, 3128, 286, 2808, 21159, 12726, 468, 644, 2472, 645, 40791, 46506, 366, 14957, 1400, 526, 16034, 3084, 62, 22172, 3324, 33411, 366, 20556, 1633, 3128, 1, 796, 705, 1959, 21159, 12726, 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 ]
[ 464, 2656, 1633, 3128, 286, 2808, 21159, 12726, 468, 644, 2472, 645, 40791, 46506, 366, 14957, 1400, 526, 16034, 3084, 62, 22172, 3324, 33411, 366, 20556, 1633, 3128, 1, 796, 705, 1959, 21159, 12726, 6 ]
What edition had magdalena maleeva as partner?
SELECT "Edition" FROM table_59075 WHERE "Partner" = 'magdalena maleeva'
[ 2061, 8313, 550, 2153, 31748, 8107, 4257, 48855, 355, 5212, 30, 46506, 366, 7407, 653, 1, 16034, 3084, 62, 36993, 2425, 33411, 366, 7841, 1008, 1, 796, 705, 19726, 31748, 8107, 4257, 48855, 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 ]
[ 2061, 8313, 550, 2153, 31748, 8107, 4257, 48855, 355, 5212, 30, 46506, 366, 7407, 653, 1, 16034, 3084, 62, 36993, 2425, 33411, 366, 7841, 1008, 1, 796, 705, 19726, 31748, 8107, 4257, 48855, 6 ]
Name the departure for spalding
SELECT "Departure" FROM table_21416 WHERE "Going to" = 'Spalding'
[ 5376, 262, 12928, 329, 599, 1940, 278, 46506, 366, 12156, 433, 495, 1, 16034, 3084, 62, 22291, 1433, 33411, 366, 27404, 284, 1, 796, 705, 4561, 1940, 278, 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, 12928, 329, 599, 1940, 278, 46506, 366, 12156, 433, 495, 1, 16034, 3084, 62, 22291, 1433, 33411, 366, 27404, 284, 1, 796, 705, 4561, 1940, 278, 6 ]
On what Surface was the match with a Score of 6 4, 6 3 and Runner-up Outcome played?
SELECT surface FROM table_name_30 WHERE outcome = "runner-up" AND score = "6–4, 6–3"
[ 2202, 644, 20321, 373, 262, 2872, 351, 257, 15178, 286, 718, 604, 11, 718, 513, 290, 21529, 12, 929, 3806, 2958, 2826, 30, 46506, 4417, 16034, 3084, 62, 3672, 62, 1270, 33411, 8055, 796, 366, 16737, 12, 929, 1, 5357, 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 ]
[ 2202, 644, 20321, 373, 262, 2872, 351, 257, 15178, 286, 718, 604, 11, 718, 513, 290, 21529, 12, 929, 3806, 2958, 2826, 30, 46506, 4417, 16034, 3084, 62, 3672, 62, 1270, 33411, 8055, 796, 366, 16737, 12, 929, 1, 5357, 4776, 796, 366,...
Which Home has an Opponent of br ndby?
SELECT "Home" FROM table_6712 WHERE "Opponent" = 'brøndby'
[ 13828, 5995, 468, 281, 9385, 3471, 286, 865, 299, 67, 1525, 30, 46506, 366, 16060, 1, 16034, 3084, 62, 3134, 1065, 33411, 366, 27524, 3471, 1, 796, 705, 1671, 24172, 358, 1525, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 5995, 468, 281, 9385, 3471, 286, 865, 299, 67, 1525, 30, 46506, 366, 16060, 1, 16034, 3084, 62, 3134, 1065, 33411, 366, 27524, 3471, 1, 796, 705, 1671, 24172, 358, 1525, 6 ]
What is the lowest number of episodes for anabel barnston?
SELECT MIN(episodes) FROM table_name_35 WHERE actor = "anabel barnston"
[ 2061, 318, 262, 9016, 1271, 286, 8640, 329, 281, 9608, 25203, 3743, 30, 46506, 20625, 7, 538, 8052, 8, 16034, 3084, 62, 3672, 62, 2327, 33411, 8674, 796, 366, 272, 9608, 25203, 3743, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 9016, 1271, 286, 8640, 329, 281, 9608, 25203, 3743, 30, 46506, 20625, 7, 538, 8052, 8, 16034, 3084, 62, 3672, 62, 2327, 33411, 8674, 796, 366, 272, 9608, 25203, 3743, 1 ]
How many touchdowns did the left guard took?
SELECT MAX("Touchdowns") FROM table_28032 WHERE "Position" = 'Left guard'
[ 2437, 867, 17692, 750, 262, 1364, 4860, 1718, 30, 46506, 25882, 7203, 35211, 30371, 4943, 16034, 3084, 62, 21033, 2624, 33411, 366, 26545, 1, 796, 705, 18819, 4860, 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 ]
[ 2437, 867, 17692, 750, 262, 1364, 4860, 1718, 30, 46506, 25882, 7203, 35211, 30371, 4943, 16034, 3084, 62, 21033, 2624, 33411, 366, 26545, 1, 796, 705, 18819, 4860, 6 ]
Where is the director Dariush Mehrjui from?
SELECT "Country" FROM table_80038 WHERE "Director" = 'dariush mehrjui'
[ 8496, 318, 262, 3437, 360, 2743, 1530, 2185, 11840, 73, 9019, 422, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 7410, 2548, 33411, 366, 28702, 1, 796, 705, 67, 2743, 1530, 502, 11840, 73, 9019, 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 ]
[ 8496, 318, 262, 3437, 360, 2743, 1530, 2185, 11840, 73, 9019, 422, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 7410, 2548, 33411, 366, 28702, 1, 796, 705, 67, 2743, 1530, 502, 11840, 73, 9019, 6 ]
what is the total number of senior advisors that there has been ?
SELECT COUNT("name") FROM table_204_598
[ 10919, 318, 262, 2472, 1271, 286, 4664, 32456, 326, 612, 468, 587, 5633, 46506, 327, 28270, 7203, 3672, 4943, 16034, 3084, 62, 18638, 62, 41292 ]
[ 1, 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, 2472, 1271, 286, 4664, 32456, 326, 612, 468, 587, 5633, 46506, 327, 28270, 7203, 3672, 4943, 16034, 3084, 62, 18638, 62, 41292 ]
what is the mountain range when the mountain peak is mauna kea?
SELECT mountain_range FROM table_name_50 WHERE mountain_peak = "mauna kea"
[ 10919, 318, 262, 8598, 2837, 618, 262, 8598, 9103, 318, 285, 32837, 885, 64, 30, 46506, 8598, 62, 9521, 16034, 3084, 62, 3672, 62, 1120, 33411, 8598, 62, 36729, 796, 366, 76, 32837, 885, 64, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 8598, 2837, 618, 262, 8598, 9103, 318, 285, 32837, 885, 64, 30, 46506, 8598, 62, 9521, 16034, 3084, 62, 3672, 62, 1120, 33411, 8598, 62, 36729, 796, 366, 76, 32837, 885, 64, 1 ]