instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
BUDDHST 351 is only offered in the Fall , correct ?
SELECT COUNT(*) > 0 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 = 'BUDDHST' AND course.number = 351 AND semester.semester <> 'Fall'
[ 33, 8322, 41473, 2257, 44417, 318, 691, 4438, 287, 262, 7218, 837, 3376, 5633, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 1781, 3268, 21479, 32357, 1268, 1781, 62, 2364, 1586, 6177, 1781, 13, 17319, 62, 312, 796, 1781, 62, 2364, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 33, 8322, 41473, 2257, 44417, 318, 691, 4438, 287, 262, 7218, 837, 3376, 5633, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 1781, 3268, 21479, 32357, 1268, 1781, 62, 2364, 1586, 6177, 1781, 13, 17319, 62, 312, 796, 1781, 62, 2364, 1...
What was the race time of the horse with jockey Ramon Dominguez?
SELECT time FROM table_name_73 WHERE jockey = "ramon dominguez"
[ 2061, 373, 262, 3234, 640, 286, 262, 8223, 351, 474, 8337, 7431, 261, 360, 3383, 14870, 30, 46506, 640, 16034, 3084, 62, 3672, 62, 4790, 33411, 474, 8337, 796, 366, 859, 261, 2401, 278, 14870, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3234, 640, 286, 262, 8223, 351, 474, 8337, 7431, 261, 360, 3383, 14870, 30, 46506, 640, 16034, 3084, 62, 3672, 62, 4790, 33411, 474, 8337, 796, 366, 859, 261, 2401, 278, 14870, 1 ]
Number of posts per year scoring more or less then a threshold. Input: threshold; post type.
WITH sqx_cte(q_year, more_less, q_count) AS (SELECT YEAR(p.CreationDate) AS q_year, CASE WHEN p.Score >= @ThresholdScore THEN 'M' ELSE 'L' END AS more_less, COUNT(1) AS q_count FROM Posts AS p WHERE p.PostTypeId = @PostTypeId GROUP BY YEAR(p.CreationDate), CASE WHEN p.Score >= @ThresholdScore THEN 'M' ELSE 'L' END) SEL...
[ 15057, 286, 6851, 583, 614, 9689, 517, 393, 1342, 788, 257, 11387, 13, 23412, 25, 11387, 26, 1281, 2099, 13, 54, 10554, 19862, 87, 62, 310, 68, 7, 80, 62, 1941, 11, 517, 62, 1203, 11, 10662, 62, 9127, 8, 7054, 357, 46506, 32914, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 614, 9689, 517, 393, 1342, 788, 257, 11387, 13, 23412, 25, 11387, 26, 1281, 2099, 13, 54, 10554, 19862, 87, 62, 310, 68, 7, 80, 62, 1941, 11, 517, 62, 1203, 11, 10662, 62, 9127, 8, 7054, 357, 46506, 32914, ...
What is the Time/Retired value for Driver Johnny Herbert with Constructor Benetton - Renault
SELECT "Time/Retired" FROM table_56781 WHERE "Constructor" = 'benetton - renault' AND "Driver" = 'johnny herbert'
[ 2061, 318, 262, 3862, 14, 9781, 1202, 1988, 329, 12434, 15470, 28648, 351, 28407, 273, 3932, 316, 1122, 532, 44083, 46506, 366, 7575, 14, 9781, 1202, 1, 16034, 3084, 62, 20, 3134, 6659, 33411, 366, 42316, 273, 1, 796, 705, 11722, 316,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3862, 14, 9781, 1202, 1988, 329, 12434, 15470, 28648, 351, 28407, 273, 3932, 316, 1122, 532, 44083, 46506, 366, 7575, 14, 9781, 1202, 1, 16034, 3084, 62, 20, 3134, 6659, 33411, 366, 42316, 273, 1, 796, 705, 11722, 316,...
provide the number of hispanic or latino patients who are diagnosed with short title gstr/ddnts nos w/o hmrhg.
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 = "Gstr/ddnts NOS w/o hmrhg"
[ 15234, 485, 262, 1271, 286, 465, 35843, 393, 3042, 2879, 3871, 508, 389, 14641, 351, 1790, 3670, 308, 2536, 14, 1860, 429, 82, 43630, 266, 14, 78, 289, 76, 17179, 70, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 15234, 485, 262, 1271, 286, 465, 35843, 393, 3042, 2879, 3871, 508, 389, 14641, 351, 1790, 3670, 308, 2536, 14, 1860, 429, 82, 43630, 266, 14, 78, 289, 76, 17179, 70, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796,...
What campus opened in 1970?
SELECT "Campus" FROM table_62927 WHERE "Year opened" = '1970'
[ 2061, 7611, 4721, 287, 8069, 30, 46506, 366, 21111, 385, 1, 16034, 3084, 62, 48602, 1983, 33411, 366, 17688, 4721, 1, 796, 705, 30986, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 7611, 4721, 287, 8069, 30, 46506, 366, 21111, 385, 1, 16034, 3084, 62, 48602, 1983, 33411, 366, 17688, 4721, 1, 796, 705, 30986, 6 ]
What year was the rank final of 6?
SELECT year FROM table_name_90 WHERE rank_final = "6"
[ 2061, 614, 373, 262, 4279, 2457, 286, 718, 30, 46506, 614, 16034, 3084, 62, 3672, 62, 3829, 33411, 4279, 62, 20311, 796, 366, 21, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 614, 373, 262, 4279, 2457, 286, 718, 30, 46506, 614, 16034, 3084, 62, 3672, 62, 3829, 33411, 4279, 62, 20311, 796, 366, 21, 1 ]
how many bendamustine prescriptions have taken place since 2100?
SELECT COUNT(*) FROM prescriptions WHERE prescriptions.drug = 'bendamustine' AND STRFTIME('%y', prescriptions.startdate) >= '2100'
[ 4919, 867, 19396, 321, 436, 500, 34092, 423, 2077, 1295, 1201, 38123, 30, 46506, 327, 28270, 7, 28104, 16034, 34092, 33411, 34092, 13, 30349, 796, 705, 65, 437, 321, 436, 500, 6, 5357, 19269, 9792, 12789, 10786, 4, 88, 3256, 34092, 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 ]
[ 4919, 867, 19396, 321, 436, 500, 34092, 423, 2077, 1295, 1201, 38123, 30, 46506, 327, 28270, 7, 28104, 16034, 34092, 33411, 34092, 13, 30349, 796, 705, 65, 437, 321, 436, 500, 6, 5357, 19269, 9792, 12789, 10786, 4, 88, 3256, 34092, 13...
when patient 10266 was receiving a lab test for the first time when they visited the hospital first time?
SELECT labevents.charttime FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 10266 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime LIMIT 1) ORDER BY labevents.charttime LIMIT 1
[ 12518, 5827, 838, 25540, 373, 6464, 257, 2248, 1332, 329, 262, 717, 640, 618, 484, 8672, 262, 4436, 717, 640, 30, 46506, 2248, 31534, 13, 40926, 2435, 16034, 2248, 31534, 33411, 2248, 31534, 13, 18108, 76, 62, 312, 3268, 357, 46506, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12518, 5827, 838, 25540, 373, 6464, 257, 2248, 1332, 329, 262, 717, 640, 618, 484, 8672, 262, 4436, 717, 640, 30, 46506, 2248, 31534, 13, 40926, 2435, 16034, 2248, 31534, 33411, 2248, 31534, 13, 18108, 76, 62, 312, 3268, 357, 46506, 2...
Which country first started using nuclear power plant(s)?
SELECT country FROM nuclear_power_plants ORDER BY operationalfrom LIMIT 1
[ 13828, 1499, 717, 2067, 1262, 4523, 1176, 4618, 7, 82, 19427, 46506, 1499, 16034, 4523, 62, 6477, 62, 489, 1187, 38678, 11050, 13919, 6738, 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 ]
[ 13828, 1499, 717, 2067, 1262, 4523, 1176, 4618, 7, 82, 19427, 46506, 1499, 16034, 4523, 62, 6477, 62, 489, 1187, 38678, 11050, 13919, 6738, 27564, 2043, 352 ]
Show the facility codes of apartments with more than 4 bedrooms, and count them by a bar chart, and I want to list by the bars from low to high.
SELECT facility_code, COUNT(facility_code) FROM Apartment_Facilities AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id WHERE T2.bedroom_count > 4 GROUP BY facility_code ORDER BY facility_code
[ 15307, 262, 6841, 12416, 286, 19592, 351, 517, 621, 604, 38529, 11, 290, 954, 606, 416, 257, 2318, 8262, 11, 290, 314, 765, 284, 1351, 416, 262, 9210, 422, 1877, 284, 1029, 13, 46506, 6841, 62, 8189, 11, 327, 28270, 7, 38942, 879, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6841, 12416, 286, 19592, 351, 517, 621, 604, 38529, 11, 290, 954, 606, 416, 257, 2318, 8262, 11, 290, 314, 765, 284, 1351, 416, 262, 9210, 422, 1877, 284, 1029, 13, 46506, 6841, 62, 8189, 11, 327, 28270, 7, 38942, 879, ...
which is the minimun amount of silver medals?
SELECT MIN("Silver") FROM table_24951
[ 4758, 318, 262, 10356, 403, 2033, 286, 8465, 28057, 30, 46506, 20625, 7203, 26766, 4943, 16034, 3084, 62, 1731, 50119 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4758, 318, 262, 10356, 403, 2033, 286, 8465, 28057, 30, 46506, 20625, 7203, 26766, 4943, 16034, 3084, 62, 1731, 50119 ]
On what Date was the Venue at Exhibition Stadium?
SELECT date FROM table_name_73 WHERE venue = "exhibition stadium"
[ 2202, 644, 7536, 373, 262, 9932, 518, 379, 48064, 10499, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 4790, 33411, 14359, 796, 366, 1069, 24108, 10308, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2202, 644, 7536, 373, 262, 9932, 518, 379, 48064, 10499, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 4790, 33411, 14359, 796, 366, 1069, 24108, 10308, 1 ]
How many Pop (2004) has a Governorate of al mahwit?
SELECT SUM("Pop (2004)") FROM table_76268 WHERE "Governorate" = 'al mahwit'
[ 2437, 867, 8099, 357, 15724, 8, 468, 257, 10807, 378, 286, 435, 42768, 39289, 30, 46506, 35683, 7203, 16979, 357, 15724, 8, 4943, 16034, 3084, 62, 4304, 25022, 33411, 366, 29168, 16262, 1, 796, 705, 282, 42768, 39289, 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 ]
[ 2437, 867, 8099, 357, 15724, 8, 468, 257, 10807, 378, 286, 435, 42768, 39289, 30, 46506, 35683, 7203, 16979, 357, 15724, 8, 4943, 16034, 3084, 62, 4304, 25022, 33411, 366, 29168, 16262, 1, 796, 705, 282, 42768, 39289, 6 ]
What is the Date of the game with a Result of L 33 14?
SELECT "Date" FROM table_64372 WHERE "Result" = 'l 33–14'
[ 2061, 318, 262, 7536, 286, 262, 983, 351, 257, 25414, 286, 406, 4747, 1478, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 2414, 36720, 33411, 366, 23004, 1, 796, 705, 75, 4747, 1906, 1415, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 7536, 286, 262, 983, 351, 257, 25414, 286, 406, 4747, 1478, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 2414, 36720, 33411, 366, 23004, 1, 796, 705, 75, 4747, 1906, 1415, 6 ]
What point against has tries against of 77, and a lost of 16?
SELECT points_against FROM table_name_93 WHERE tries_against = "77" AND lost = "16"
[ 2061, 966, 1028, 468, 8404, 1028, 286, 8541, 11, 290, 257, 2626, 286, 1467, 30, 46506, 2173, 62, 32826, 16034, 3084, 62, 3672, 62, 6052, 33411, 8404, 62, 32826, 796, 366, 3324, 1, 5357, 2626, 796, 366, 1433, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 966, 1028, 468, 8404, 1028, 286, 8541, 11, 290, 257, 2626, 286, 1467, 30, 46506, 2173, 62, 32826, 16034, 3084, 62, 3672, 62, 6052, 33411, 8404, 62, 32826, 796, 366, 3324, 1, 5357, 2626, 796, 366, 1433, 1 ]
For each project id, how many tasks are there?
SELECT COUNT(*), T1.project_details FROM projects AS T1 JOIN tasks AS T2 ON T1.project_id = T2.project_id GROUP BY T1.project_id
[ 1890, 1123, 1628, 4686, 11, 703, 867, 8861, 389, 612, 30, 46506, 327, 28270, 46491, 828, 309, 16, 13, 16302, 62, 36604, 16034, 4493, 7054, 309, 16, 32357, 1268, 8861, 7054, 309, 17, 6177, 309, 16, 13, 16302, 62, 312, 796, 309, 17, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1123, 1628, 4686, 11, 703, 867, 8861, 389, 612, 30, 46506, 327, 28270, 46491, 828, 309, 16, 13, 16302, 62, 36604, 16034, 4493, 7054, 309, 16, 32357, 1268, 8861, 7054, 309, 17, 6177, 309, 16, 13, 16302, 62, 312, 796, 309, 17, ...
What is the Date with a Opponent with wimbledon, and a Result of won 2-0?
SELECT "Date" FROM table_77998 WHERE "Opponent" = 'wimbledon' AND "Result" = 'won 2-0'
[ 2061, 318, 262, 7536, 351, 257, 9385, 3471, 351, 266, 320, 49258, 11, 290, 257, 25414, 286, 1839, 362, 12, 15, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 3324, 34808, 33411, 366, 27524, 3471, 1, 796, 705, 86, 320, 49258, 6, 5357, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 7536, 351, 257, 9385, 3471, 351, 266, 320, 49258, 11, 290, 257, 25414, 286, 1839, 362, 12, 15, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 3324, 34808, 33411, 366, 27524, 3471, 1, 796, 705, 86, 320, 49258, 6, 5357, ...
What is the average Rank for a lane smaller than 3 with a nationality of Australia?
SELECT AVG("Rank") FROM table_80309 WHERE "Lane" < '3' AND "Nationality" = 'australia'
[ 2061, 318, 262, 2811, 10916, 329, 257, 11193, 4833, 621, 513, 351, 257, 29835, 286, 4505, 30, 46506, 35224, 7203, 27520, 4943, 16034, 3084, 62, 1795, 26895, 33411, 366, 43, 1531, 1, 1279, 705, 18, 6, 5357, 366, 16186, 414, 1, 796, 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 ]
[ 2061, 318, 262, 2811, 10916, 329, 257, 11193, 4833, 621, 513, 351, 257, 29835, 286, 4505, 30, 46506, 35224, 7203, 27520, 4943, 16034, 3084, 62, 1795, 26895, 33411, 366, 43, 1531, 1, 1279, 705, 18, 6, 5357, 366, 16186, 414, 1, 796, 7...
What was the final score of the player from Inglewood, California?
SELECT score FROM table_name_14 WHERE city = "inglewood, california"
[ 2061, 373, 262, 2457, 4776, 286, 262, 2137, 422, 17589, 293, 3822, 11, 3442, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 1415, 33411, 1748, 796, 366, 17697, 3822, 11, 2386, 361, 3317, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2457, 4776, 286, 262, 2137, 422, 17589, 293, 3822, 11, 3442, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 1415, 33411, 1748, 796, 366, 17697, 3822, 11, 2386, 361, 3317, 1 ]
tell the competitions where the mean is 1
SELECT "Average" FROM table_18807 WHERE "Number of dances" = '1'
[ 33331, 262, 24174, 810, 262, 1612, 318, 352, 46506, 366, 26287, 1, 16034, 3084, 62, 1507, 36928, 33411, 366, 15057, 286, 38207, 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 ]
[ 33331, 262, 24174, 810, 262, 1612, 318, 352, 46506, 366, 26287, 1, 16034, 3084, 62, 1507, 36928, 33411, 366, 15057, 286, 38207, 1, 796, 705, 16, 6 ]
For the match that had detail of 2001 nrl grand final, what was the lowest total points?
SELECT MIN("Total Points") FROM table_48730 WHERE "Details" = '2001 nrl grand final'
[ 1890, 262, 2872, 326, 550, 3703, 286, 5878, 299, 45895, 4490, 2457, 11, 644, 373, 262, 9016, 2472, 2173, 30, 46506, 20625, 7203, 14957, 11045, 4943, 16034, 3084, 62, 35133, 1270, 33411, 366, 24259, 1, 796, 705, 14585, 299, 45895, 4490, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 262, 2872, 326, 550, 3703, 286, 5878, 299, 45895, 4490, 2457, 11, 644, 373, 262, 9016, 2472, 2173, 30, 46506, 20625, 7203, 14957, 11045, 4943, 16034, 3084, 62, 35133, 1270, 33411, 366, 24259, 1, 796, 705, 14585, 299, 45895, 4490, ...
What individual(s) had Pole Position for Tyre F?
SELECT "Pole position" FROM table_10854 WHERE "Tyre" = 'f'
[ 2061, 1981, 7, 82, 8, 550, 29385, 23158, 329, 7039, 260, 376, 30, 46506, 366, 47, 2305, 2292, 1, 16034, 3084, 62, 15711, 4051, 33411, 366, 25492, 260, 1, 796, 705, 69, 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 ]
[ 2061, 1981, 7, 82, 8, 550, 29385, 23158, 329, 7039, 260, 376, 30, 46506, 366, 47, 2305, 2292, 1, 16034, 3084, 62, 15711, 4051, 33411, 366, 25492, 260, 1, 796, 705, 69, 6 ]
When was the mcdonald's lpga championship?
SELECT date FROM table_17335602_1 WHERE tournament = "McDonald's LPGA Championship"
[ 2215, 373, 262, 36650, 40915, 338, 300, 79, 4908, 12184, 30, 46506, 3128, 16034, 3084, 62, 1558, 27326, 31418, 62, 16, 33411, 7756, 796, 366, 9742, 7371, 338, 406, 6968, 32, 10749, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 373, 262, 36650, 40915, 338, 300, 79, 4908, 12184, 30, 46506, 3128, 16034, 3084, 62, 1558, 27326, 31418, 62, 16, 33411, 7756, 796, 366, 9742, 7371, 338, 406, 6968, 32, 10749, 1 ]
How many grids did Shinichi Nakatomi ride in?
SELECT SUM(grid) FROM table_name_46 WHERE rider = "shinichi nakatomi"
[ 2437, 867, 50000, 750, 11466, 16590, 22255, 265, 12753, 6594, 287, 30, 46506, 35683, 7, 25928, 8, 16034, 3084, 62, 3672, 62, 3510, 33411, 17876, 796, 366, 1477, 259, 16590, 299, 461, 265, 12753, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 750, 11466, 16590, 22255, 265, 12753, 6594, 287, 30, 46506, 35683, 7, 25928, 8, 16034, 3084, 62, 3672, 62, 3510, 33411, 17876, 796, 366, 1477, 259, 16590, 299, 461, 265, 12753, 1 ]
What site has november 30, 2006 as the date?
SELECT site FROM table_name_25 WHERE date = "november 30, 2006"
[ 2061, 2524, 468, 645, 303, 1916, 1542, 11, 4793, 355, 262, 3128, 30, 46506, 2524, 16034, 3084, 62, 3672, 62, 1495, 33411, 3128, 796, 366, 77, 3239, 1542, 11, 4793, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 2524, 468, 645, 303, 1916, 1542, 11, 4793, 355, 262, 3128, 30, 46506, 2524, 16034, 3084, 62, 3672, 62, 1495, 33411, 3128, 796, 366, 77, 3239, 1542, 11, 4793, 1 ]
Which Away team has a Crowd larger than 14,000, and a Home team of melbourne?
SELECT "Away team" FROM table_77820 WHERE "Crowd" > '14,000' AND "Home team" = 'melbourne'
[ 13828, 21986, 1074, 468, 257, 29452, 4025, 621, 1478, 11, 830, 11, 290, 257, 5995, 1074, 286, 7758, 12544, 30, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 39761, 1238, 33411, 366, 34, 3986, 1, 1875, 705, 1415, 11, 830, 6, 5357, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 21986, 1074, 468, 257, 29452, 4025, 621, 1478, 11, 830, 11, 290, 257, 5995, 1074, 286, 7758, 12544, 30, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 39761, 1238, 33411, 366, 34, 3986, 1, 1875, 705, 1415, 11, 830, 6, 5357, ...
What are the results of incumbent dave weldon?
SELECT COUNT(results) FROM table_1805191_10 WHERE incumbent = "Dave Weldon"
[ 2061, 389, 262, 2482, 286, 23526, 288, 1015, 356, 25900, 30, 46506, 327, 28270, 7, 43420, 8, 16034, 3084, 62, 1507, 2713, 26492, 62, 940, 33411, 23526, 796, 366, 27984, 775, 25900, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2482, 286, 23526, 288, 1015, 356, 25900, 30, 46506, 327, 28270, 7, 43420, 8, 16034, 3084, 62, 1507, 2713, 26492, 62, 940, 33411, 23526, 796, 366, 27984, 775, 25900, 1 ]
which area has the largest number of stations serving it ?
SELECT "area served" FROM table_204_12 GROUP BY "area served" ORDER BY COUNT(*) DESC LIMIT 1
[ 4758, 1989, 468, 262, 4387, 1271, 286, 8985, 7351, 340, 5633, 46506, 366, 20337, 4983, 1, 16034, 3084, 62, 18638, 62, 1065, 44441, 11050, 366, 20337, 4983, 1, 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, 1, 1, 1, 1 ]
[ 4758, 1989, 468, 262, 4387, 1271, 286, 8985, 7351, 340, 5633, 46506, 366, 20337, 4983, 1, 16034, 3084, 62, 18638, 62, 1065, 44441, 11050, 366, 20337, 4983, 1, 38678, 11050, 327, 28270, 7, 28104, 22196, 34, 27564, 2043, 352 ]
What is the least total number with a rank of 4 and a total silver number bigger than 3?
SELECT MIN(total) FROM table_name_99 WHERE rank = 4 AND silver > 3
[ 2061, 318, 262, 1551, 2472, 1271, 351, 257, 4279, 286, 604, 290, 257, 2472, 8465, 1271, 5749, 621, 513, 30, 46506, 20625, 7, 23350, 8, 16034, 3084, 62, 3672, 62, 2079, 33411, 4279, 796, 604, 5357, 8465, 1875, 513 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1551, 2472, 1271, 351, 257, 4279, 286, 604, 290, 257, 2472, 8465, 1271, 5749, 621, 513, 30, 46506, 20625, 7, 23350, 8, 16034, 3084, 62, 3672, 62, 2079, 33411, 4279, 796, 604, 5357, 8465, 1875, 513 ]
what is the drug that patient 66015 was prescribed for after the closed bronchial biopsy during the previous month within 2 days?
SELECT t2.drug FROM (SELECT admissions.subject_id, procedures_icd.charttime FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE admissions.subject_id = 66015 AND procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = ...
[ 10919, 318, 262, 2563, 326, 5827, 7930, 25150, 373, 14798, 329, 706, 262, 4838, 18443, 354, 498, 3182, 44522, 1141, 262, 2180, 1227, 1626, 362, 1528, 30, 46506, 256, 17, 13, 30349, 16034, 357, 46506, 25349, 13, 32796, 62, 312, 11, 902...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 2563, 326, 5827, 7930, 25150, 373, 14798, 329, 706, 262, 4838, 18443, 354, 498, 3182, 44522, 1141, 262, 2180, 1227, 1626, 362, 1528, 30, 46506, 256, 17, 13, 30349, 16034, 357, 46506, 25349, 13, 32796, 62, 312, 11, 902...
Find the name of the products that are not using the most frequently-used max page size.
SELECT product FROM product WHERE product <> (SELECT max_page_size FROM product GROUP BY max_page_size ORDER BY COUNT(*) DESC LIMIT 1)
[ 16742, 262, 1438, 286, 262, 3186, 326, 389, 407, 1262, 262, 749, 6777, 12, 1484, 3509, 2443, 2546, 13, 46506, 1720, 16034, 1720, 33411, 1720, 1279, 29, 357, 46506, 3509, 62, 7700, 62, 7857, 16034, 1720, 44441, 11050, 3509, 62, 7700, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16742, 262, 1438, 286, 262, 3186, 326, 389, 407, 1262, 262, 749, 6777, 12, 1484, 3509, 2443, 2546, 13, 46506, 1720, 16034, 1720, 33411, 1720, 1279, 29, 357, 46506, 3509, 62, 7700, 62, 7857, 16034, 1720, 44441, 11050, 3509, 62, 7700, 6...
when did patient 4326 last get admitted to the hospital during this year?
SELECT admissions.admittime FROM admissions WHERE admissions.subject_id = 4326 AND DATETIME(admissions.admittime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') ORDER BY admissions.admittime DESC LIMIT 1
[ 12518, 750, 5827, 5946, 2075, 938, 651, 6848, 284, 262, 4436, 1141, 428, 614, 30, 46506, 25349, 13, 324, 20124, 524, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 5946, 2075, 5357, 360, 1404, 2767, 12789, 7, 324, 8481, 13, 324,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12518, 750, 5827, 5946, 2075, 938, 651, 6848, 284, 262, 4436, 1141, 428, 614, 30, 46506, 25349, 13, 324, 20124, 524, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 5946, 2075, 5357, 360, 1404, 2767, 12789, 7, 324, 8481, 13, 324,...
Who is Gene Felton's TO Winning Team?
SELECT to_winning_team FROM table_13657749_2 WHERE gto_winning_team = "Gene Felton"
[ 8241, 318, 13005, 13937, 1122, 338, 5390, 40983, 4816, 30, 46506, 284, 62, 14463, 62, 15097, 16034, 3084, 62, 1485, 2996, 3324, 2920, 62, 17, 33411, 308, 1462, 62, 14463, 62, 15097, 796, 366, 39358, 13937, 1122, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 318, 13005, 13937, 1122, 338, 5390, 40983, 4816, 30, 46506, 284, 62, 14463, 62, 15097, 16034, 3084, 62, 1485, 2996, 3324, 2920, 62, 17, 33411, 308, 1462, 62, 14463, 62, 15097, 796, 366, 39358, 13937, 1122, 1 ]
Name the place for ed oliver
SELECT place FROM table_name_47 WHERE player = "ed oliver"
[ 5376, 262, 1295, 329, 1225, 25776, 1428, 46506, 1295, 16034, 3084, 62, 3672, 62, 2857, 33411, 2137, 796, 366, 276, 25776, 1428, 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, 1295, 329, 1225, 25776, 1428, 46506, 1295, 16034, 3084, 62, 3672, 62, 2857, 33411, 2137, 796, 366, 276, 25776, 1428, 1 ]
What was the election result for the candidate first elected in 1918?
SELECT "Result" FROM table_18640 WHERE "First elected" = '1918'
[ 2061, 373, 262, 3071, 1255, 329, 262, 4540, 717, 7018, 287, 25859, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 25096, 1821, 33411, 366, 5962, 7018, 1, 796, 705, 1129, 1507, 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, 373, 262, 3071, 1255, 329, 262, 4540, 717, 7018, 287, 25859, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 25096, 1821, 33411, 366, 5962, 7018, 1, 796, 705, 1129, 1507, 6 ]
What is the Height of the Player with a Date of Birth of 1982-07-05?
SELECT height FROM table_name_19 WHERE date_of_birth = "1982-07-05"
[ 2061, 318, 262, 27280, 286, 262, 7853, 351, 257, 7536, 286, 17647, 286, 14489, 12, 2998, 12, 2713, 30, 46506, 6001, 16034, 3084, 62, 3672, 62, 1129, 33411, 3128, 62, 1659, 62, 24280, 796, 366, 30763, 12, 2998, 12, 2713, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 27280, 286, 262, 7853, 351, 257, 7536, 286, 17647, 286, 14489, 12, 2998, 12, 2713, 30, 46506, 6001, 16034, 3084, 62, 3672, 62, 1129, 33411, 3128, 62, 1659, 62, 24280, 796, 366, 30763, 12, 2998, 12, 2713, 1 ]
When bergen is 88, what is the alesund?
SELECT MIN(ålesund) FROM table_19439864_2 WHERE bergen = 88
[ 2215, 18157, 5235, 318, 9193, 11, 644, 318, 262, 435, 274, 917, 30, 46506, 20625, 7, 29090, 829, 917, 8, 16034, 3084, 62, 22913, 31952, 2414, 62, 17, 33411, 18157, 5235, 796, 9193 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 18157, 5235, 318, 9193, 11, 644, 318, 262, 435, 274, 917, 30, 46506, 20625, 7, 29090, 829, 917, 8, 16034, 3084, 62, 22913, 31952, 2414, 62, 17, 33411, 18157, 5235, 796, 9193 ]
Where was the game played that had a record of 19-6?
SELECT "Location" FROM table_22688 WHERE "Record" = '19-6'
[ 8496, 373, 262, 983, 2826, 326, 550, 257, 1700, 286, 678, 12, 21, 30, 46506, 366, 14749, 1, 16034, 3084, 62, 1828, 34427, 33411, 366, 23739, 1, 796, 705, 1129, 12, 21, 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 ]
[ 8496, 373, 262, 983, 2826, 326, 550, 257, 1700, 286, 678, 12, 21, 30, 46506, 366, 14749, 1, 16034, 3084, 62, 1828, 34427, 33411, 366, 23739, 1, 796, 705, 1129, 12, 21, 6 ]
How much Overall has a Round smaller than 6, and a Pick # of 26?
SELECT SUM(overall) FROM table_name_68 WHERE round < 6 AND pick__number = 26
[ 2437, 881, 14674, 468, 257, 10485, 4833, 621, 718, 11, 290, 257, 12346, 1303, 286, 2608, 30, 46506, 35683, 7, 2502, 439, 8, 16034, 3084, 62, 3672, 62, 3104, 33411, 2835, 1279, 718, 5357, 2298, 834, 17618, 796, 2608 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 881, 14674, 468, 257, 10485, 4833, 621, 718, 11, 290, 257, 12346, 1303, 286, 2608, 30, 46506, 35683, 7, 2502, 439, 8, 16034, 3084, 62, 3672, 62, 3104, 33411, 2835, 1279, 718, 5357, 2298, 834, 17618, 796, 2608 ]
How many entrepreneurs correspond to each investor, and show from high to low by the bars please.
SELECT Investor, COUNT(*) FROM entrepreneur GROUP BY Investor ORDER BY Investor DESC
[ 2437, 867, 17038, 6053, 284, 1123, 15811, 11, 290, 905, 422, 1029, 284, 1877, 416, 262, 9210, 3387, 13, 46506, 47979, 11, 327, 28270, 7, 28104, 16034, 19500, 44441, 11050, 47979, 38678, 11050, 47979, 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 ]
[ 2437, 867, 17038, 6053, 284, 1123, 15811, 11, 290, 905, 422, 1029, 284, 1877, 416, 262, 9210, 3387, 13, 46506, 47979, 11, 327, 28270, 7, 28104, 16034, 19500, 44441, 11050, 47979, 38678, 11050, 47979, 22196, 34 ]
Show all director names who have a movie in the year 1999 or 2000, and count them by a bar chart, and I want to display by the bars in descending.
SELECT Director, COUNT(Director) FROM movie WHERE Year = 1999 OR Year = 2000 GROUP BY Director ORDER BY Director DESC
[ 15307, 477, 3437, 3891, 508, 423, 257, 3807, 287, 262, 614, 7358, 393, 4751, 11, 290, 954, 606, 416, 257, 2318, 8262, 11, 290, 314, 765, 284, 3359, 416, 262, 9210, 287, 31491, 13, 46506, 5890, 11, 327, 28270, 7, 28702, 8, 16034, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 477, 3437, 3891, 508, 423, 257, 3807, 287, 262, 614, 7358, 393, 4751, 11, 290, 954, 606, 416, 257, 2318, 8262, 11, 290, 314, 765, 284, 3359, 416, 262, 9210, 287, 31491, 13, 46506, 5890, 11, 327, 28270, 7, 28702, 8, 16034, 3...
What kind of bike had a grid less than 23, an accident under time, and Graeme Gowland as a rider?
SELECT bike FROM table_name_7 WHERE grid < 23 AND time = "accident" AND rider = "graeme gowland"
[ 2061, 1611, 286, 7161, 550, 257, 10706, 1342, 621, 2242, 11, 281, 5778, 739, 640, 11, 290, 7037, 34755, 41396, 1044, 355, 257, 17876, 30, 46506, 7161, 16034, 3084, 62, 3672, 62, 22, 33411, 10706, 1279, 2242, 5357, 640, 796, 366, 4134,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1611, 286, 7161, 550, 257, 10706, 1342, 621, 2242, 11, 281, 5778, 739, 640, 11, 290, 7037, 34755, 41396, 1044, 355, 257, 17876, 30, 46506, 7161, 16034, 3084, 62, 3672, 62, 22, 33411, 10706, 1279, 2242, 5357, 640, 796, 366, 4134,...
what is the maximum daily number of patients who suffer from meningitis - acute since 5 years ago?
SELECT MAX(t1.c1) FROM (SELECT COUNT(DISTINCT diagnosis.patientunitstayid) AS c1 FROM diagnosis WHERE diagnosis.diagnosisname = 'meningitis - acute' AND DATETIME(diagnosis.diagnosistime) >= DATETIME(CURRENT_TIME(), '-5 year') GROUP BY STRFTIME('%y-%m-%d', diagnosis.diagnosistime)) AS t1
[ 10919, 318, 262, 5415, 4445, 1271, 286, 3871, 508, 8659, 422, 1450, 278, 11815, 532, 14352, 1201, 642, 812, 2084, 30, 46506, 25882, 7, 83, 16, 13, 66, 16, 8, 16034, 357, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 13669, 13, 26029, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5415, 4445, 1271, 286, 3871, 508, 8659, 422, 1450, 278, 11815, 532, 14352, 1201, 642, 812, 2084, 30, 46506, 25882, 7, 83, 16, 13, 66, 16, 8, 16034, 357, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 13669, 13, 26029, ...
What is the total attendance at games against the New York Mets with a record of 18-18?
SELECT COUNT("Attendance") FROM table_68749 WHERE "Opponent" = 'new york mets' AND "Record" = '18-18'
[ 2061, 318, 262, 2472, 14858, 379, 1830, 1028, 262, 968, 1971, 26053, 351, 257, 1700, 286, 1248, 12, 1507, 30, 46506, 327, 28270, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 39925, 2920, 33411, 366, 27524, 3471, 1, 796, 705, 3605, 331...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14858, 379, 1830, 1028, 262, 968, 1971, 26053, 351, 257, 1700, 286, 1248, 12, 1507, 30, 46506, 327, 28270, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 39925, 2920, 33411, 366, 27524, 3471, 1, 796, 705, 3605, 331...
Which Icelandic has a Danish of bl t/bl ?
SELECT icelandic FROM table_name_59 WHERE danish = "blåt/blå"
[ 13828, 41959, 468, 257, 20849, 286, 698, 256, 14, 2436, 5633, 46506, 14158, 8822, 291, 16034, 3084, 62, 3672, 62, 3270, 33411, 288, 7115, 796, 366, 2436, 29090, 83, 14, 2436, 29090, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 41959, 468, 257, 20849, 286, 698, 256, 14, 2436, 5633, 46506, 14158, 8822, 291, 16034, 3084, 62, 3672, 62, 3270, 33411, 288, 7115, 796, 366, 2436, 29090, 83, 14, 2436, 29090, 1 ]
Who drove for Phil Parsons Racing team?
SELECT driver_s_ FROM table_1266602_2 WHERE team = "Phil Parsons Racing"
[ 8241, 10357, 329, 4543, 35925, 14954, 1074, 30, 46506, 4639, 62, 82, 62, 16034, 3084, 62, 1065, 2791, 31418, 62, 17, 33411, 1074, 796, 366, 18673, 35925, 14954, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 10357, 329, 4543, 35925, 14954, 1074, 30, 46506, 4639, 62, 82, 62, 16034, 3084, 62, 1065, 2791, 31418, 62, 17, 33411, 1074, 796, 366, 18673, 35925, 14954, 1 ]
did the united states win above 10 medals ?
SELECT (SELECT "total" FROM table_203_535 WHERE "nation" = 'united states') > 10
[ 20839, 262, 16503, 2585, 1592, 2029, 838, 28057, 5633, 46506, 357, 46506, 366, 23350, 1, 16034, 3084, 62, 22416, 62, 44465, 33411, 366, 25729, 1, 796, 705, 41187, 2585, 11537, 1875, 838 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 20839, 262, 16503, 2585, 1592, 2029, 838, 28057, 5633, 46506, 357, 46506, 366, 23350, 1, 16034, 3084, 62, 22416, 62, 44465, 33411, 366, 25729, 1, 796, 705, 41187, 2585, 11537, 1875, 838 ]
Name the original air date for the potter family
SELECT "Original air date" FROM table_23403 WHERE "Family/families" = 'The Potter Family'
[ 5376, 262, 2656, 1633, 3128, 329, 262, 1787, 353, 1641, 46506, 366, 20556, 1633, 3128, 1, 16034, 3084, 62, 1954, 31552, 33411, 366, 24094, 14, 44769, 3922, 1, 796, 705, 464, 14179, 7884, 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, 1633, 3128, 329, 262, 1787, 353, 1641, 46506, 366, 20556, 1633, 3128, 1, 16034, 3084, 62, 1954, 31552, 33411, 366, 24094, 14, 44769, 3922, 1, 796, 705, 464, 14179, 7884, 6 ]
Name the date for zi yan jie zheng opponent
SELECT date FROM table_name_64 WHERE opponents = "zi yan jie zheng"
[ 5376, 262, 3128, 329, 1976, 72, 331, 272, 474, 494, 1976, 31753, 6125, 46506, 3128, 16034, 3084, 62, 3672, 62, 2414, 33411, 7691, 796, 366, 17027, 331, 272, 474, 494, 1976, 31753, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3128, 329, 1976, 72, 331, 272, 474, 494, 1976, 31753, 6125, 46506, 3128, 16034, 3084, 62, 3672, 62, 2414, 33411, 7691, 796, 366, 17027, 331, 272, 474, 494, 1976, 31753, 1 ]
What was the away team score when the home team score was 9.10 (64)?
SELECT "Away team score" FROM table_57205 WHERE "Home team score" = '9.10 (64)'
[ 2061, 373, 262, 1497, 1074, 4776, 618, 262, 1363, 1074, 4776, 373, 860, 13, 940, 357, 2414, 19427, 46506, 366, 32, 1014, 1074, 4776, 1, 16034, 3084, 62, 3553, 21261, 33411, 366, 16060, 1074, 4776, 1, 796, 705, 24, 13, 940, 357, 2414...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1497, 1074, 4776, 618, 262, 1363, 1074, 4776, 373, 860, 13, 940, 357, 2414, 19427, 46506, 366, 32, 1014, 1074, 4776, 1, 16034, 3084, 62, 3553, 21261, 33411, 366, 16060, 1074, 4776, 1, 796, 705, 24, 13, 940, 357, 2414...
For those employees who was hired before 2002-06-21, show me about the change of department_id over hire_date in a line chart, show by the HIRE_DATE from low to high please.
SELECT HIRE_DATE, DEPARTMENT_ID FROM employees WHERE HIRE_DATE < '2002-06-21' ORDER BY HIRE_DATE
[ 1890, 883, 4409, 508, 373, 9657, 878, 6244, 12, 3312, 12, 2481, 11, 905, 502, 546, 262, 1487, 286, 5011, 62, 312, 625, 11078, 62, 4475, 287, 257, 1627, 8262, 11, 905, 416, 262, 36210, 2200, 62, 35, 6158, 422, 1877, 284, 1029, 3387...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4409, 508, 373, 9657, 878, 6244, 12, 3312, 12, 2481, 11, 905, 502, 546, 262, 1487, 286, 5011, 62, 312, 625, 11078, 62, 4475, 287, 257, 1627, 8262, 11, 905, 416, 262, 36210, 2200, 62, 35, 6158, 422, 1877, 284, 1029, 3387...
Which 2003 has a 2012 of 1r, and a 2008 of 1r?
SELECT 2003 FROM table_name_42 WHERE 2012 = "1r" AND 2008 = "1r"
[ 13828, 5816, 468, 257, 2321, 286, 352, 81, 11, 290, 257, 3648, 286, 352, 81, 30, 46506, 5816, 16034, 3084, 62, 3672, 62, 3682, 33411, 2321, 796, 366, 16, 81, 1, 5357, 3648, 796, 366, 16, 81, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5816, 468, 257, 2321, 286, 352, 81, 11, 290, 257, 3648, 286, 352, 81, 30, 46506, 5816, 16034, 3084, 62, 3672, 62, 3682, 33411, 2321, 796, 366, 16, 81, 1, 5357, 3648, 796, 366, 16, 81, 1 ]
Which catalogue has a formate of 'CD Remastered with 3 bonus tracks'?
SELECT "Catalogue" FROM table_70018 WHERE "Format" = 'cd remastered with 3 bonus tracks'
[ 13828, 34614, 468, 257, 1296, 378, 286, 705, 8610, 22773, 351, 513, 7202, 8339, 30960, 46506, 366, 39075, 5119, 1, 16034, 3084, 62, 9879, 1507, 33411, 366, 26227, 1, 796, 705, 10210, 816, 14054, 351, 513, 7202, 8339, 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 ]
[ 13828, 34614, 468, 257, 1296, 378, 286, 705, 8610, 22773, 351, 513, 7202, 8339, 30960, 46506, 366, 39075, 5119, 1, 16034, 3084, 62, 9879, 1507, 33411, 366, 26227, 1, 796, 705, 10210, 816, 14054, 351, 513, 7202, 8339, 6 ]
What is the away team of the game with an attendance of 117?
SELECT "Away team" FROM table_59690 WHERE "Attendance" = '117'
[ 2061, 318, 262, 1497, 1074, 286, 262, 983, 351, 281, 14858, 286, 19048, 30, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 3270, 35844, 33411, 366, 8086, 437, 590, 1, 796, 705, 17657, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1497, 1074, 286, 262, 983, 351, 281, 14858, 286, 19048, 30, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 3270, 35844, 33411, 366, 8086, 437, 590, 1, 796, 705, 17657, 6 ]
in 2104, what were the top three most frequent procedures that patients were given during the same month after the diagnosis of volume depletion, unspecified.
SELECT t3.treatmentname FROM (SELECT t2.treatmentname, 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 = 'volume depletion, unspecified' AND STRFT...
[ 259, 362, 13464, 11, 644, 547, 262, 1353, 1115, 749, 10792, 9021, 326, 3871, 547, 1813, 1141, 262, 976, 1227, 706, 262, 13669, 286, 6115, 42435, 11, 29547, 13, 46506, 256, 18, 13, 42487, 3672, 16034, 357, 46506, 256, 17, 13, 42487, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 259, 362, 13464, 11, 644, 547, 262, 1353, 1115, 749, 10792, 9021, 326, 3871, 547, 1813, 1141, 262, 976, 1227, 706, 262, 13669, 286, 6115, 42435, 11, 29547, 13, 46506, 256, 18, 13, 42487, 3672, 16034, 357, 46506, 256, 17, 13, 42487, ...
Will an PATH 586 class be offered 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 = 586 AND semester.semester = 'WN' AND semester.year = 2016
[ 8743, 281, 46490, 642, 4521, 1398, 307, 4438, 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, 281, 46490, 642, 4521, 1398, 307, 4438, 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, ...
what is the standard when the pollutant is o 3 and averaging time is 8-hour?
SELECT "Standard" FROM table_44967 WHERE "Pollutant" = 'o 3' AND "Averaging Time" = '8-hour'
[ 10919, 318, 262, 3210, 618, 262, 36156, 415, 318, 267, 513, 290, 20430, 640, 318, 807, 12, 9769, 30, 46506, 366, 23615, 1, 16034, 3084, 62, 31911, 3134, 33411, 366, 39176, 315, 415, 1, 796, 705, 78, 513, 6, 5357, 366, 32, 332, 303...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3210, 618, 262, 36156, 415, 318, 267, 513, 290, 20430, 640, 318, 807, 12, 9769, 30, 46506, 366, 23615, 1, 16034, 3084, 62, 31911, 3134, 33411, 366, 39176, 315, 415, 1, 796, 705, 78, 513, 6, 5357, 366, 32, 332, 303...
What is the sum of the numbers in series written by sam meikle, which have 21 numbers in the season?
SELECT SUM("No. in series") FROM table_64542 WHERE "Written by" = 'sam meikle' AND "No. in season" = '21'
[ 2061, 318, 262, 2160, 286, 262, 3146, 287, 2168, 3194, 416, 6072, 502, 1134, 293, 11, 543, 423, 2310, 3146, 287, 262, 1622, 30, 46506, 35683, 7203, 2949, 13, 287, 2168, 4943, 16034, 3084, 62, 49259, 3682, 33411, 366, 25354, 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 ]
[ 2061, 318, 262, 2160, 286, 262, 3146, 287, 2168, 3194, 416, 6072, 502, 1134, 293, 11, 543, 423, 2310, 3146, 287, 262, 1622, 30, 46506, 35683, 7203, 2949, 13, 287, 2168, 4943, 16034, 3084, 62, 49259, 3682, 33411, 366, 25354, 416, 1, ...
Can you tell me the Nation that has the Bronze of 1, and the Gold of 0?
SELECT "Nation" FROM table_66492 WHERE "Bronze" = '1' AND "Gold" = '0'
[ 6090, 345, 1560, 502, 262, 8741, 326, 468, 262, 19461, 286, 352, 11, 290, 262, 3561, 286, 657, 30, 46506, 366, 46108, 1, 16034, 3084, 62, 21, 2414, 5892, 33411, 366, 18760, 2736, 1, 796, 705, 16, 6, 5357, 366, 13306, 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 ]
[ 6090, 345, 1560, 502, 262, 8741, 326, 468, 262, 19461, 286, 352, 11, 290, 262, 3561, 286, 657, 30, 46506, 366, 46108, 1, 16034, 3084, 62, 21, 2414, 5892, 33411, 366, 18760, 2736, 1, 796, 705, 16, 6, 5357, 366, 13306, 1, 796, 705, ...
what's the party with opponent being mike oxley (r) unopposed
SELECT party FROM table_1341522_38 WHERE opponent = "Mike Oxley (R) unopposed"
[ 10919, 338, 262, 2151, 351, 6125, 852, 285, 522, 12018, 1636, 357, 81, 8, 555, 10365, 1335, 46506, 2151, 16034, 3084, 62, 19880, 1314, 1828, 62, 2548, 33411, 6125, 796, 366, 16073, 10736, 1636, 357, 49, 8, 555, 10365, 1335, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 338, 262, 2151, 351, 6125, 852, 285, 522, 12018, 1636, 357, 81, 8, 555, 10365, 1335, 46506, 2151, 16034, 3084, 62, 19880, 1314, 1828, 62, 2548, 33411, 6125, 796, 366, 16073, 10736, 1636, 357, 49, 8, 555, 10365, 1335, 1 ]
What is the rank of the episode with a share of 6 and timeslot rank smaller than 4?
SELECT AVG("Overall Rank") FROM table_57930 WHERE "Share" = '6' AND "Timeslot Rank" < '4'
[ 2061, 318, 262, 4279, 286, 262, 4471, 351, 257, 2648, 286, 718, 290, 1661, 26487, 4279, 4833, 621, 604, 30, 46506, 35224, 7203, 16350, 10916, 4943, 16034, 3084, 62, 41734, 1270, 33411, 366, 11649, 1, 796, 705, 21, 6, 5357, 366, 28595,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4471, 351, 257, 2648, 286, 718, 290, 1661, 26487, 4279, 4833, 621, 604, 30, 46506, 35224, 7203, 16350, 10916, 4943, 16034, 3084, 62, 41734, 1270, 33411, 366, 11649, 1, 796, 705, 21, 6, 5357, 366, 28595,...
How many release prices are there for the Pentium iii 550?
SELECT COUNT(release_price___usd__) FROM table_16400024_1 WHERE model_number = "Pentium III 550"
[ 2437, 867, 2650, 4536, 389, 612, 329, 262, 9696, 1505, 46955, 25240, 30, 46506, 327, 28270, 7, 20979, 62, 20888, 17569, 385, 67, 834, 8, 16034, 3084, 62, 23237, 830, 1731, 62, 16, 33411, 2746, 62, 17618, 796, 366, 47, 298, 1505, 671...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2650, 4536, 389, 612, 329, 262, 9696, 1505, 46955, 25240, 30, 46506, 327, 28270, 7, 20979, 62, 20888, 17569, 385, 67, 834, 8, 16034, 3084, 62, 23237, 830, 1731, 62, 16, 33411, 2746, 62, 17618, 796, 366, 47, 298, 1505, 671...
specify the type of admission and marital status of patient hector blair
SELECT demographic.marital_status, demographic.admission_type FROM demographic WHERE demographic.name = "Hector Blair"
[ 16684, 1958, 262, 2099, 286, 13938, 290, 29555, 3722, 286, 5827, 339, 2715, 698, 958, 46506, 16728, 13, 3876, 1287, 62, 13376, 11, 16728, 13, 324, 3411, 62, 4906, 16034, 16728, 33411, 16728, 13, 3672, 796, 366, 39, 9250, 18520, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16684, 1958, 262, 2099, 286, 13938, 290, 29555, 3722, 286, 5827, 339, 2715, 698, 958, 46506, 16728, 13, 3876, 1287, 62, 13376, 11, 16728, 13, 324, 3411, 62, 4906, 16034, 16728, 33411, 16728, 13, 3672, 796, 366, 39, 9250, 18520, 1 ]
What is the total number of January ( C) temperatures when the July ( C) temperatures were 23/15?
SELECT COUNT("January (\u00b0C)") FROM table_24690 WHERE "July (\u00b0C)" = '23/15'
[ 2061, 318, 262, 2472, 1271, 286, 3269, 357, 327, 8, 10101, 618, 262, 2901, 357, 327, 8, 10101, 547, 2242, 14, 1314, 30, 46506, 327, 28270, 7203, 21339, 357, 59, 84, 405, 65, 15, 34, 8, 4943, 16034, 3084, 62, 1731, 35844, 33411, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2472, 1271, 286, 3269, 357, 327, 8, 10101, 618, 262, 2901, 357, 327, 8, 10101, 547, 2242, 14, 1314, 30, 46506, 327, 28270, 7203, 21339, 357, 59, 84, 405, 65, 15, 34, 8, 4943, 16034, 3084, 62, 1731, 35844, 33411, 36...
For those employees who was hired before 2002-06-21, return a bar chart about the distribution of hire_date and the sum of employee_id bin hire_date by time, and could you display by the y-axis from high to low?
SELECT HIRE_DATE, SUM(EMPLOYEE_ID) FROM employees WHERE HIRE_DATE < '2002-06-21' ORDER BY SUM(EMPLOYEE_ID) DESC
[ 1890, 883, 4409, 508, 373, 9657, 878, 6244, 12, 3312, 12, 2481, 11, 1441, 257, 2318, 8262, 546, 262, 6082, 286, 11078, 62, 4475, 290, 262, 2160, 286, 6538, 62, 312, 9874, 11078, 62, 4475, 416, 640, 11, 290, 714, 345, 3359, 416, 26...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4409, 508, 373, 9657, 878, 6244, 12, 3312, 12, 2481, 11, 1441, 257, 2318, 8262, 546, 262, 6082, 286, 11078, 62, 4475, 290, 262, 2160, 286, 6538, 62, 312, 9874, 11078, 62, 4475, 416, 640, 11, 290, 714, 345, 3359, 416, 26...
Which Table diameter has a Crown height of 14.45%?
SELECT table_diameter FROM table_name_35 WHERE crown_height = "14.45%"
[ 13828, 8655, 14753, 468, 257, 12223, 6001, 286, 1478, 13, 2231, 4, 30, 46506, 3084, 62, 67, 13173, 16034, 3084, 62, 3672, 62, 2327, 33411, 12389, 62, 17015, 796, 366, 1415, 13, 2231, 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, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 8655, 14753, 468, 257, 12223, 6001, 286, 1478, 13, 2231, 4, 30, 46506, 3084, 62, 67, 13173, 16034, 3084, 62, 3672, 62, 2327, 33411, 12389, 62, 17015, 796, 366, 1415, 13, 2231, 39658 ]
What is Points, when Drawn is '1', and when Lost is '5'?
SELECT points FROM table_name_67 WHERE drawn = "1" AND lost = "5"
[ 2061, 318, 11045, 11, 618, 50061, 318, 705, 16, 3256, 290, 618, 9164, 318, 705, 20, 30960, 46506, 2173, 16034, 3084, 62, 3672, 62, 3134, 33411, 7428, 796, 366, 16, 1, 5357, 2626, 796, 366, 20, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11045, 11, 618, 50061, 318, 705, 16, 3256, 290, 618, 9164, 318, 705, 20, 30960, 46506, 2173, 16034, 3084, 62, 3672, 62, 3134, 33411, 7428, 796, 366, 16, 1, 5357, 2626, 796, 366, 20, 1 ]
how many patients stayed in hospital for more than 17 days and used the drug potassium phosphate?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.days_stay > "17" AND prescriptions.drug = "Potassium Phosphate"
[ 4919, 867, 3871, 9658, 287, 4436, 329, 517, 621, 1596, 1528, 290, 973, 262, 2563, 33156, 46926, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 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, 9658, 287, 4436, 329, 517, 621, 1596, 1528, 290, 973, 262, 2563, 33156, 46926, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728, ...
Who won the 250cc in 1927?
SELECT 250 AS _cc FROM table_name_31 WHERE year = "1927"
[ 8241, 1839, 262, 8646, 535, 287, 36565, 30, 46506, 8646, 7054, 4808, 535, 16034, 3084, 62, 3672, 62, 3132, 33411, 614, 796, 366, 1129, 1983, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 1839, 262, 8646, 535, 287, 36565, 30, 46506, 8646, 7054, 4808, 535, 16034, 3084, 62, 3672, 62, 3132, 33411, 614, 796, 366, 1129, 1983, 1 ]
What is the 1st leg that has akasvayu girona as team #2?
SELECT "1st leg" FROM table_41694 WHERE "Team #2" = 'akasvayu girona'
[ 2061, 318, 262, 352, 301, 1232, 326, 468, 257, 42749, 85, 323, 84, 308, 1934, 64, 355, 1074, 1303, 17, 30, 46506, 366, 16, 301, 1232, 1, 16034, 3084, 62, 35218, 5824, 33411, 366, 15592, 1303, 17, 1, 796, 705, 461, 292, 85, 323, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 352, 301, 1232, 326, 468, 257, 42749, 85, 323, 84, 308, 1934, 64, 355, 1074, 1303, 17, 30, 46506, 366, 16, 301, 1232, 1, 16034, 3084, 62, 35218, 5824, 33411, 366, 15592, 1303, 17, 1, 796, 705, 461, 292, 85, 323, ...
What is the smallest quantity having a Class to 1928 of BDi-21?
SELECT MIN("Quantity") FROM table_64028 WHERE "Class to 1928" = 'bdi-21'
[ 2061, 318, 262, 18197, 12040, 1719, 257, 5016, 284, 35768, 286, 347, 18683, 12, 2481, 30, 46506, 20625, 7203, 31208, 4943, 16034, 3084, 62, 31102, 2078, 33411, 366, 9487, 284, 35768, 1, 796, 705, 65, 10989, 12, 2481, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 18197, 12040, 1719, 257, 5016, 284, 35768, 286, 347, 18683, 12, 2481, 30, 46506, 20625, 7203, 31208, 4943, 16034, 3084, 62, 31102, 2078, 33411, 366, 9487, 284, 35768, 1, 796, 705, 65, 10989, 12, 2481, 6 ]
Which Runs has a Rank of =5 and an Opponent of south australia?
SELECT "Runs" FROM table_75133 WHERE "Rank" = '=5' AND "Opponent" = 'south australia'
[ 13828, 44743, 468, 257, 10916, 286, 796, 20, 290, 281, 9385, 3471, 286, 5366, 38132, 1373, 544, 30, 46506, 366, 10987, 82, 1, 16034, 3084, 62, 2425, 16945, 33411, 366, 27520, 1, 796, 705, 28, 20, 6, 5357, 366, 27524, 3471, 1, 796, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 44743, 468, 257, 10916, 286, 796, 20, 290, 281, 9385, 3471, 286, 5366, 38132, 1373, 544, 30, 46506, 366, 10987, 82, 1, 16034, 3084, 62, 2425, 16945, 33411, 366, 27520, 1, 796, 705, 28, 20, 6, 5357, 366, 27524, 3471, 1, 796, ...
have patient 013-28507 received a vte prophylaxis - compression stockings since 4 years ago?
SELECT COUNT(*) > 0 FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '013-28507')) AND treatment.treatmentname = 'vte prophylaxis - compression st...
[ 14150, 5827, 5534, 18, 12, 2078, 35378, 2722, 257, 410, 660, 386, 746, 2645, 22704, 532, 19794, 4283, 654, 1201, 604, 812, 2084, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 3513, 33411, 3513, 13, 26029, 20850, 31712, 312, 3268, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 14150, 5827, 5534, 18, 12, 2078, 35378, 2722, 257, 410, 660, 386, 746, 2645, 22704, 532, 19794, 4283, 654, 1201, 604, 812, 2084, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 3513, 33411, 3513, 13, 26029, 20850, 31712, 312, 3268, ...
A scatter chart shows the correlation between Team_ID and ACC_Percent , and group by attribute ACC_Regular_Season.
SELECT Team_ID, ACC_Percent FROM basketball_match GROUP BY ACC_Regular_Season
[ 32, 41058, 8262, 2523, 262, 16096, 1022, 4816, 62, 2389, 290, 15859, 62, 31905, 837, 290, 1448, 416, 11688, 15859, 62, 40164, 62, 18960, 13, 46506, 4816, 62, 2389, 11, 15859, 62, 31905, 16034, 9669, 62, 15699, 44441, 11050, 15859, 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 ]
[ 32, 41058, 8262, 2523, 262, 16096, 1022, 4816, 62, 2389, 290, 15859, 62, 31905, 837, 290, 1448, 416, 11688, 15859, 62, 40164, 62, 18960, 13, 46506, 4816, 62, 2389, 11, 15859, 62, 31905, 16034, 9669, 62, 15699, 44441, 11050, 15859, 62, ...
What is the value for Podiums when the value for Wins is 2, and when the Season is 2008?
SELECT "Podiums" FROM table_67064 WHERE "Wins" = '2' AND "Season" = '2008'
[ 2061, 318, 262, 1988, 329, 350, 12664, 82, 618, 262, 1988, 329, 24423, 318, 362, 11, 290, 618, 262, 7369, 318, 3648, 30, 46506, 366, 47, 12664, 82, 1, 16034, 3084, 62, 43798, 2414, 33411, 366, 54, 1040, 1, 796, 705, 17, 6, 5357, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1988, 329, 350, 12664, 82, 618, 262, 1988, 329, 24423, 318, 362, 11, 290, 618, 262, 7369, 318, 3648, 30, 46506, 366, 47, 12664, 82, 1, 16034, 3084, 62, 43798, 2414, 33411, 366, 54, 1040, 1, 796, 705, 17, 6, 5357, ...
What is th title of the episode written by Nick Thiel?
SELECT "Title" FROM table_30456 WHERE "Written by" = 'Nick Thiel'
[ 2061, 318, 294, 3670, 286, 262, 4471, 3194, 416, 8047, 42511, 30, 46506, 366, 19160, 1, 16034, 3084, 62, 1270, 29228, 33411, 366, 25354, 416, 1, 796, 705, 23609, 42511, 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, 294, 3670, 286, 262, 4471, 3194, 416, 8047, 42511, 30, 46506, 366, 19160, 1, 16034, 3084, 62, 1270, 29228, 33411, 366, 25354, 416, 1, 796, 705, 23609, 42511, 6 ]
count how many times patient 005-77687 had d10w in their system on last month/27.
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 = '005-77687')) AND intakeoutput.cellpath LIKE '%intake%' AND intakeoutput.ce...
[ 9127, 703, 867, 1661, 5827, 3571, 20, 12, 3324, 39925, 550, 288, 940, 86, 287, 511, 1080, 319, 938, 1227, 14, 1983, 13, 46506, 327, 28270, 7, 28104, 16034, 10337, 22915, 33411, 10337, 22915, 13, 26029, 20850, 31712, 312, 3268, 357, 46...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 703, 867, 1661, 5827, 3571, 20, 12, 3324, 39925, 550, 288, 940, 86, 287, 511, 1080, 319, 938, 1227, 14, 1983, 13, 46506, 327, 28270, 7, 28104, 16034, 10337, 22915, 33411, 10337, 22915, 13, 26029, 20850, 31712, 312, 3268, 357, 46...
Can you tell me the Overall Record that has the Away Team of miami?
SELECT overall_record FROM table_name_46 WHERE away_team = "miami"
[ 6090, 345, 1560, 502, 262, 14674, 13266, 326, 468, 262, 21986, 4816, 286, 285, 7871, 30, 46506, 4045, 62, 22105, 16034, 3084, 62, 3672, 62, 3510, 33411, 1497, 62, 15097, 796, 366, 76, 7871, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 6090, 345, 1560, 502, 262, 14674, 13266, 326, 468, 262, 21986, 4816, 286, 285, 7871, 30, 46506, 4045, 62, 22105, 16034, 3084, 62, 3672, 62, 3510, 33411, 1497, 62, 15097, 796, 366, 76, 7871, 1 ]
Return a bar chart on how many movie reviews does each director get?
SELECT director, COUNT(*) FROM Movie AS T1 JOIN Rating AS T2 ON T1.mID = T2.mID GROUP BY T1.director
[ 13615, 257, 2318, 8262, 319, 703, 867, 3807, 8088, 857, 1123, 3437, 651, 30, 46506, 3437, 11, 327, 28270, 7, 28104, 16034, 15875, 7054, 309, 16, 32357, 1268, 12028, 7054, 309, 17, 6177, 309, 16, 13, 76, 2389, 796, 309, 17, 13, 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 ]
[ 13615, 257, 2318, 8262, 319, 703, 867, 3807, 8088, 857, 1123, 3437, 651, 30, 46506, 3437, 11, 327, 28270, 7, 28104, 16034, 15875, 7054, 309, 16, 32357, 1268, 12028, 7054, 309, 17, 6177, 309, 16, 13, 76, 2389, 796, 309, 17, 13, 76, ...
What was the fastest lap time in the Escort Radar Warning 200?
SELECT fastest_lap FROM table_10706961_2 WHERE name = "Escort Radar Warning 200"
[ 2061, 373, 262, 14162, 14779, 640, 287, 262, 16319, 419, 38426, 15932, 939, 30, 46506, 14162, 62, 37796, 16034, 3084, 62, 940, 2154, 3388, 5333, 62, 17, 33411, 1438, 796, 366, 47051, 419, 38426, 15932, 939, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14162, 14779, 640, 287, 262, 16319, 419, 38426, 15932, 939, 30, 46506, 14162, 62, 37796, 16034, 3084, 62, 940, 2154, 3388, 5333, 62, 17, 33411, 1438, 796, 366, 47051, 419, 38426, 15932, 939, 1 ]
who finished before canada in the first run ?
SELECT "country" FROM table_204_439 WHERE "run 1" < (SELECT "run 1" FROM table_204_439 WHERE "country" = 'canada') ORDER BY "run 1" DESC LIMIT 1
[ 8727, 5201, 878, 460, 4763, 287, 262, 717, 1057, 5633, 46506, 366, 19315, 1, 16034, 3084, 62, 18638, 62, 47106, 33411, 366, 5143, 352, 1, 1279, 357, 46506, 366, 5143, 352, 1, 16034, 3084, 62, 18638, 62, 47106, 33411, 366, 19315, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8727, 5201, 878, 460, 4763, 287, 262, 717, 1057, 5633, 46506, 366, 19315, 1, 16034, 3084, 62, 18638, 62, 47106, 33411, 366, 5143, 352, 1, 1279, 357, 46506, 366, 5143, 352, 1, 16034, 3084, 62, 18638, 62, 47106, 33411, 366, 19315, 1, ...
what is lab test name and lab test fluid of subject name shawn green?
SELECT lab.label, lab.fluid FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.name = "Shawn Green"
[ 10919, 318, 2248, 1332, 1438, 290, 2248, 1332, 11711, 286, 2426, 1438, 427, 3832, 4077, 30, 46506, 2248, 13, 18242, 11, 2248, 13, 35522, 312, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108, 76, 62, 312, 796, 2248, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 2248, 1332, 1438, 290, 2248, 1332, 11711, 286, 2426, 1438, 427, 3832, 4077, 30, 46506, 2248, 13, 18242, 11, 2248, 13, 35522, 312, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108, 76, 62, 312, 796, 2248, ...
how many patients aged below 81 were black/african american?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "BLACK/AFRICAN AMERICAN" AND demographic.age < "81"
[ 4919, 867, 3871, 9722, 2174, 9773, 547, 2042, 14, 1878, 37189, 45630, 272, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 38546, 414, 796, 366, 9148, 8120, 14, 8579, 41132...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 3871, 9722, 2174, 9773, 547, 2042, 14, 1878, 37189, 45630, 272, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 38546, 414, 796, 366, 9148, 8120, 14, 8579, 41132...
What is the earliest season that has a position over 12?
SELECT MIN(season) FROM table_name_80 WHERE position > 12
[ 2061, 318, 262, 14555, 1622, 326, 468, 257, 2292, 625, 1105, 30, 46506, 20625, 7, 6230, 8, 16034, 3084, 62, 3672, 62, 1795, 33411, 2292, 1875, 1105 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 14555, 1622, 326, 468, 257, 2292, 625, 1105, 30, 46506, 20625, 7, 6230, 8, 16034, 3084, 62, 3672, 62, 1795, 33411, 2292, 1875, 1105 ]
what is the gdp ( bn ) where capital is capital?
SELECT gdp___bn__ FROM table_12108_1 WHERE "capital" = "capital"
[ 10919, 318, 262, 308, 26059, 357, 275, 77, 1267, 810, 3139, 318, 3139, 30, 46506, 308, 26059, 17569, 9374, 834, 16034, 3084, 62, 1065, 15711, 62, 16, 33411, 366, 27544, 1, 796, 366, 27544, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 308, 26059, 357, 275, 77, 1267, 810, 3139, 318, 3139, 30, 46506, 308, 26059, 17569, 9374, 834, 16034, 3084, 62, 1065, 15711, 62, 16, 33411, 366, 27544, 1, 796, 366, 27544, 1 ]
Query Code Search on SO [from Deep Code Search].
SELECT * FROM Posts WHERE Id IN (309424, 157944, 1066589, 363681, 5585779, 1005073, 1128723, 604424, 886955, 1200621, 41107, 409784, 109383, 295579, 80476, 326390, 1149703, 513832, 3481828, 2885173, 507602, 223918, 415953, 1069066, 2784514, 153724, 473282, 529085, 4716503, 1104975, 3076078, 4105331, 8172420, 1816673, 4...
[ 20746, 6127, 11140, 319, 12809, 685, 6738, 10766, 6127, 11140, 4083, 46506, 1635, 16034, 12043, 33411, 5121, 3268, 357, 1270, 5824, 1731, 11, 1315, 3720, 2598, 11, 838, 2791, 44169, 11, 4570, 2623, 6659, 11, 642, 38905, 40393, 11, 1802, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 20746, 6127, 11140, 319, 12809, 685, 6738, 10766, 6127, 11140, 4083, 46506, 1635, 16034, 12043, 33411, 5121, 3268, 357, 1270, 5824, 1731, 11, 1315, 3720, 2598, 11, 838, 2791, 44169, 11, 4570, 2623, 6659, 11, 642, 38905, 40393, 11, 1802, ...
List the types of competition and the number of competitions of each type by a pie chart.
SELECT Competition_type, COUNT(*) FROM competition GROUP BY Competition_type
[ 8053, 262, 3858, 286, 5449, 290, 262, 1271, 286, 24174, 286, 1123, 2099, 416, 257, 2508, 8262, 13, 46506, 27348, 62, 4906, 11, 327, 28270, 7, 28104, 16034, 5449, 44441, 11050, 27348, 62, 4906 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3858, 286, 5449, 290, 262, 1271, 286, 24174, 286, 1123, 2099, 416, 257, 2508, 8262, 13, 46506, 27348, 62, 4906, 11, 327, 28270, 7, 28104, 16034, 5449, 44441, 11050, 27348, 62, 4906 ]
What is the name of the visitor team who played home team Chicago Black Hawks on March 20?
SELECT "Visitor" FROM table_67989 WHERE "Home" = 'chicago black hawks' AND "Date" = 'march 20'
[ 2061, 318, 262, 1438, 286, 262, 21493, 1074, 508, 2826, 1363, 1074, 4842, 2619, 23445, 319, 2805, 1160, 30, 46506, 366, 15854, 2072, 1, 16034, 3084, 62, 3134, 42520, 33411, 366, 16060, 1, 796, 705, 354, 4549, 2042, 23185, 591, 6, 5357...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1438, 286, 262, 21493, 1074, 508, 2826, 1363, 1074, 4842, 2619, 23445, 319, 2805, 1160, 30, 46506, 366, 15854, 2072, 1, 16034, 3084, 62, 3134, 42520, 33411, 366, 16060, 1, 796, 705, 354, 4549, 2042, 23185, 591, 6, 5357...
find the number of patients with formation of cutaneous uretero-ileostomy who were admitted before the year 2190.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admityear < "2190" AND procedures.long_title = "Formation of cutaneous uretero-ileostomy"
[ 19796, 262, 1271, 286, 3871, 351, 9978, 286, 2005, 11655, 334, 260, 353, 78, 12, 576, 455, 9145, 508, 547, 6848, 878, 262, 614, 362, 19782, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 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...
[ 19796, 262, 1271, 286, 3871, 351, 9978, 286, 2005, 11655, 334, 260, 353, 78, 12, 576, 455, 9145, 508, 547, 6848, 878, 262, 614, 362, 19782, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, ...
how many patients are diagnosed with intestinal abscess?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE diagnoses.short_title = "Intestinal abscess"
[ 4919, 867, 3871, 389, 14641, 351, 32031, 2352, 919, 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, 1810...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14641, 351, 32031, 2352, 919, 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, 1810...
Which home team had an away team of the Brisbane Lions?
SELECT home_team FROM table_name_36 WHERE away_team = "brisbane lions"
[ 13828, 1363, 1074, 550, 281, 1497, 1074, 286, 262, 26914, 14536, 30, 46506, 1363, 62, 15097, 16034, 3084, 62, 3672, 62, 2623, 33411, 1497, 62, 15097, 796, 366, 15311, 20235, 31420, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 1363, 1074, 550, 281, 1497, 1074, 286, 262, 26914, 14536, 30, 46506, 1363, 62, 15097, 16034, 3084, 62, 3672, 62, 2623, 33411, 1497, 62, 15097, 796, 366, 15311, 20235, 31420, 1 ]
What Persian word has the same meaning as the Domari word na?
SELECT persian FROM table_name_84 WHERE domari = "na"
[ 2061, 22035, 1573, 468, 262, 976, 3616, 355, 262, 9666, 2743, 1573, 12385, 30, 46506, 2774, 666, 16034, 3084, 62, 3672, 62, 5705, 33411, 2401, 2743, 796, 366, 2616, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 22035, 1573, 468, 262, 976, 3616, 355, 262, 9666, 2743, 1573, 12385, 30, 46506, 2774, 666, 16034, 3084, 62, 3672, 62, 5705, 33411, 2401, 2743, 796, 366, 2616, 1 ]
When did the old manager vacate his position in Plymouth Argyle?
SELECT "Date of vacancy" FROM table_22957 WHERE "Team" = 'Plymouth Argyle'
[ 2215, 750, 262, 1468, 4706, 6658, 378, 465, 2292, 287, 42125, 943, 1360, 293, 30, 46506, 366, 10430, 286, 39836, 1, 16034, 3084, 62, 23539, 3553, 33411, 366, 15592, 1, 796, 705, 47, 306, 14775, 943, 1360, 293, 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 ]
[ 2215, 750, 262, 1468, 4706, 6658, 378, 465, 2292, 287, 42125, 943, 1360, 293, 30, 46506, 366, 10430, 286, 39836, 1, 16034, 3084, 62, 23539, 3553, 33411, 366, 15592, 1, 796, 705, 47, 306, 14775, 943, 1360, 293, 6 ]
What Nationality of the person who has a Rank of 4
SELECT nationality FROM table_name_59 WHERE lane < 4 AND rank = 4
[ 2061, 2351, 414, 286, 262, 1048, 508, 468, 257, 10916, 286, 604, 46506, 29835, 16034, 3084, 62, 3672, 62, 3270, 33411, 11193, 1279, 604, 5357, 4279, 796, 604 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 2351, 414, 286, 262, 1048, 508, 468, 257, 10916, 286, 604, 46506, 29835, 16034, 3084, 62, 3672, 62, 3270, 33411, 11193, 1279, 604, 5357, 4279, 796, 604 ]
Users with zero upvotes but many downvotes.
SELECT Id AS "user_link", Reputation, CreationDate, LastAccessDate, DownVotes FROM Users WHERE UpVotes = 0 ORDER BY DownVotes DESC LIMIT 200
[ 14490, 351, 6632, 510, 29307, 475, 867, 866, 29307, 13, 46506, 5121, 7054, 366, 7220, 62, 8726, 1600, 1432, 7094, 11, 21582, 10430, 11, 4586, 15457, 10430, 11, 5588, 53, 6421, 16034, 18987, 33411, 3205, 53, 6421, 796, 657, 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 ]
[ 14490, 351, 6632, 510, 29307, 475, 867, 866, 29307, 13, 46506, 5121, 7054, 366, 7220, 62, 8726, 1600, 1432, 7094, 11, 21582, 10430, 11, 4586, 15457, 10430, 11, 5588, 53, 6421, 16034, 18987, 33411, 3205, 53, 6421, 796, 657, 38678, 11050,...
Return a bar chart on what are the different ship flags, and how many ships have each?, and could you rank in asc by the Y?
SELECT Flag, COUNT(*) FROM Ship GROUP BY Flag ORDER BY COUNT(*)
[ 13615, 257, 2318, 8262, 319, 644, 389, 262, 1180, 4074, 9701, 11, 290, 703, 867, 7937, 423, 1123, 21747, 290, 714, 345, 4279, 287, 10570, 416, 262, 575, 30, 46506, 19762, 11, 327, 28270, 7, 28104, 16034, 16656, 44441, 11050, 19762, 38...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 319, 644, 389, 262, 1180, 4074, 9701, 11, 290, 703, 867, 7937, 423, 1123, 21747, 290, 714, 345, 4279, 287, 10570, 416, 262, 575, 30, 46506, 19762, 11, 327, 28270, 7, 28104, 16034, 16656, 44441, 11050, 19762, 38...
what heat number had a time of 58.44?
SELECT COUNT(heat) FROM table_name_49 WHERE time = "58.44"
[ 10919, 4894, 1271, 550, 257, 640, 286, 7618, 13, 2598, 30, 46506, 327, 28270, 7, 25080, 8, 16034, 3084, 62, 3672, 62, 2920, 33411, 640, 796, 366, 3365, 13, 2598, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 4894, 1271, 550, 257, 640, 286, 7618, 13, 2598, 30, 46506, 327, 28270, 7, 25080, 8, 16034, 3084, 62, 3672, 62, 2920, 33411, 640, 796, 366, 3365, 13, 2598, 1 ]
does the first blood, venipuncture microbiology test of patient 031-4987 since 3 years ago have any organisms?
SELECT COUNT(*) > 0 FROM microlab WHERE microlab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '031-4987')) AND microlab.culturesite = 'blood, venipuncture' AND DATETIME(micr...
[ 22437, 262, 717, 2910, 11, 8710, 541, 39187, 24559, 1435, 1332, 286, 5827, 657, 3132, 12, 2920, 5774, 1201, 513, 812, 2084, 423, 597, 20296, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 4580, 23912, 33411, 4580, 23912, 13, 26029, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 262, 717, 2910, 11, 8710, 541, 39187, 24559, 1435, 1332, 286, 5827, 657, 3132, 12, 2920, 5774, 1201, 513, 812, 2084, 423, 597, 20296, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 4580, 23912, 33411, 4580, 23912, 13, 26029, ...
Name the three for 16 december 1676
SELECT "Three" FROM table_51634 WHERE "Date" = '16 december 1676'
[ 5376, 262, 1115, 329, 1467, 390, 3273, 1467, 4304, 46506, 366, 12510, 1, 16034, 3084, 62, 47493, 2682, 33411, 366, 10430, 1, 796, 705, 1433, 390, 3273, 1467, 4304, 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 ]
[ 5376, 262, 1115, 329, 1467, 390, 3273, 1467, 4304, 46506, 366, 12510, 1, 16034, 3084, 62, 47493, 2682, 33411, 366, 10430, 1, 796, 705, 1433, 390, 3273, 1467, 4304, 6 ]