instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
What is School/Club Team, when Season is 2006-2012?
SELECT "School/Club Team" FROM table_6878 WHERE "Season" = '2006-2012'
[ 2061, 318, 3961, 14, 42350, 4816, 11, 618, 7369, 318, 4793, 12, 6999, 30, 46506, 366, 26130, 14, 42350, 4816, 1, 16034, 3084, 62, 3104, 3695, 33411, 366, 18960, 1, 796, 705, 13330, 12, 6999, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 3961, 14, 42350, 4816, 11, 618, 7369, 318, 4793, 12, 6999, 30, 46506, 366, 26130, 14, 42350, 4816, 1, 16034, 3084, 62, 3104, 3695, 33411, 366, 18960, 1, 796, 705, 13330, 12, 6999, 6 ]
For those records from the products and each product's manufacturer, visualize a bar chart about the distribution of name and the sum of manufacturer , and group by attribute name, and show by the bars in asc.
SELECT T1.Name, T1.Manufacturer FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T1.Name ORDER BY T1.Name
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 38350, 257, 2318, 8262, 546, 262, 6082, 286, 1438, 290, 262, 2160, 286, 11554, 837, 290, 1448, 416, 11688, 1438, 11, 290, 905, 416, 262, 9210, 287, 10570, 13, 46506, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 38350, 257, 2318, 8262, 546, 262, 6082, 286, 1438, 290, 262, 2160, 286, 11554, 837, 290, 1448, 416, 11688, 1438, 11, 290, 905, 416, 262, 9210, 287, 10570, 13, 46506, ...
Create a pie chart showing the total number across document type code.
SELECT Document_Type_Code, COUNT(*) FROM Documents GROUP BY Document_Type_Code
[ 16447, 257, 2508, 8262, 4478, 262, 2472, 1271, 1973, 3188, 2099, 2438, 13, 46506, 16854, 62, 6030, 62, 10669, 11, 327, 28270, 7, 28104, 16034, 33267, 44441, 11050, 16854, 62, 6030, 62, 10669 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16447, 257, 2508, 8262, 4478, 262, 2472, 1271, 1973, 3188, 2099, 2438, 13, 46506, 16854, 62, 6030, 62, 10669, 11, 327, 28270, 7, 28104, 16034, 33267, 44441, 11050, 16854, 62, 6030, 62, 10669 ]
what was the last time patient 5553 had intake of .9% normal saline until 05/15/2105?
SELECT inputevents_cv.charttime FROM inputevents_cv WHERE inputevents_cv.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 5553)) AND inputevents_cv.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label ...
[ 10919, 373, 262, 938, 640, 5827, 44717, 18, 550, 10337, 286, 764, 24, 4, 3487, 47375, 1566, 8870, 14, 1314, 14, 17, 13348, 30, 46506, 287, 79, 1133, 85, 658, 62, 33967, 13, 40926, 2435, 16034, 287, 79, 1133, 85, 658, 62, 33967, 33...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 373, 262, 938, 640, 5827, 44717, 18, 550, 10337, 286, 764, 24, 4, 3487, 47375, 1566, 8870, 14, 1314, 14, 17, 13348, 30, 46506, 287, 79, 1133, 85, 658, 62, 33967, 13, 40926, 2435, 16034, 287, 79, 1133, 85, 658, 62, 33967, 33...
what's the three most frequent drugs that were prescribed in the same hospital encounter to the male patients of age 20s after they have been diagnosed with atrial fibrillation until 2 years ago?
SELECT t3.drug FROM (SELECT t2.drug, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, diagnoses_icd.charttime, admissions.hadm_id FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_...
[ 10919, 338, 262, 1115, 749, 10792, 5010, 326, 547, 14798, 287, 262, 976, 4436, 8791, 284, 262, 4257, 3871, 286, 2479, 1160, 82, 706, 484, 423, 587, 14641, 351, 379, 4454, 277, 2889, 40903, 1566, 362, 812, 2084, 30, 46506, 256, 18, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 338, 262, 1115, 749, 10792, 5010, 326, 547, 14798, 287, 262, 976, 4436, 8791, 284, 262, 4257, 3871, 286, 2479, 1160, 82, 706, 484, 423, 587, 14641, 351, 379, 4454, 277, 2889, 40903, 1566, 362, 812, 2084, 30, 46506, 256, 18, 1...
Can you tell me the Date that has the Team of golden state?
SELECT "Date" FROM table_48228 WHERE "Team" = 'golden state'
[ 6090, 345, 1560, 502, 262, 7536, 326, 468, 262, 4816, 286, 10861, 1181, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 2780, 23815, 33411, 366, 15592, 1, 796, 705, 24267, 268, 1181, 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 ]
[ 6090, 345, 1560, 502, 262, 7536, 326, 468, 262, 4816, 286, 10861, 1181, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 2780, 23815, 33411, 366, 15592, 1, 796, 705, 24267, 268, 1181, 6 ]
What is the callsign of Cagayan de Oro with 5kW?
SELECT "Callsign" FROM table_67472 WHERE "Power (kW)" = '5kw' AND "Location" = 'cagayan de oro'
[ 2061, 318, 262, 3848, 570, 286, 327, 363, 22931, 390, 31770, 351, 642, 74, 54, 30, 46506, 366, 34, 5691, 570, 1, 16034, 3084, 62, 3134, 37856, 33411, 366, 13434, 357, 74, 54, 16725, 796, 705, 20, 46265, 6, 5357, 366, 14749, 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, 1, 1, 1 ]
[ 2061, 318, 262, 3848, 570, 286, 327, 363, 22931, 390, 31770, 351, 642, 74, 54, 30, 46506, 366, 34, 5691, 570, 1, 16034, 3084, 62, 3134, 37856, 33411, 366, 13434, 357, 74, 54, 16725, 796, 705, 20, 46265, 6, 5357, 366, 14749, 1, 796...
how many patients died in or before 2186 and followed the procedure drsl/dslmb fus post/post?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.dod_year <= "2186.0" AND procedures.short_title = "Drsl/dslmb fus post/post"
[ 4919, 867, 3871, 3724, 287, 393, 878, 362, 25096, 290, 3940, 262, 8771, 1553, 6649, 14, 67, 6649, 2022, 277, 385, 1281, 14, 7353, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 2147...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 3871, 3724, 287, 393, 878, 362, 25096, 290, 3940, 262, 8771, 1553, 6649, 14, 67, 6649, 2022, 277, 385, 1281, 14, 7353, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 2147...
What was the 1845 disposal for sussex?
SELECT "1845 disposal" FROM table_355 WHERE "Name" = 'Sussex'
[ 2061, 373, 262, 1248, 2231, 18264, 329, 2341, 8044, 30, 46506, 366, 1507, 2231, 18264, 1, 16034, 3084, 62, 28567, 33411, 366, 5376, 1, 796, 705, 30746, 8044, 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 ]
[ 2061, 373, 262, 1248, 2231, 18264, 329, 2341, 8044, 30, 46506, 366, 1507, 2231, 18264, 1, 16034, 3084, 62, 28567, 33411, 366, 5376, 1, 796, 705, 30746, 8044, 6 ]
When was a game played where the away team is St Kilda?
SELECT date FROM table_name_63 WHERE away_team = "st kilda"
[ 2215, 373, 257, 983, 2826, 810, 262, 1497, 1074, 318, 520, 509, 27281, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 5066, 33411, 1497, 62, 15097, 796, 366, 301, 479, 27281, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 257, 983, 2826, 810, 262, 1497, 1074, 318, 520, 509, 27281, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 5066, 33411, 1497, 62, 15097, 796, 366, 301, 479, 27281, 1 ]
Who directed the episode with a production code of 301?
SELECT "Directed by" FROM table_22313 WHERE "Production code" = '301'
[ 8241, 7924, 262, 4471, 351, 257, 3227, 2438, 286, 25643, 30, 46506, 366, 13470, 276, 416, 1, 16034, 3084, 62, 22047, 1485, 33411, 366, 35027, 2438, 1, 796, 705, 18938, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 7924, 262, 4471, 351, 257, 3227, 2438, 286, 25643, 30, 46506, 366, 13470, 276, 416, 1, 16034, 3084, 62, 22047, 1485, 33411, 366, 35027, 2438, 1, 796, 705, 18938, 6 ]
random 's absurd edit summaries (meta only). Any edit summary comment from random that's over 100 characters is sure to be an interesting read.
SELECT a.CreationDate, a.Comment AS "ridiculous_comment" FROM PostHistory AS a WHERE a.PostHistoryTypeId IN (4, 5, 6) AND LENGTH(a.Comment) > 100 ORDER BY a.CreationDate
[ 25120, 705, 82, 12986, 4370, 30114, 3166, 357, 28961, 691, 737, 4377, 4370, 10638, 2912, 422, 4738, 326, 338, 625, 1802, 3435, 318, 1654, 284, 307, 281, 3499, 1100, 13, 46506, 257, 13, 12443, 341, 10430, 11, 257, 13, 21357, 7054, 366,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 25120, 705, 82, 12986, 4370, 30114, 3166, 357, 28961, 691, 737, 4377, 4370, 10638, 2912, 422, 4738, 326, 338, 625, 1802, 3435, 318, 1654, 284, 307, 281, 3499, 1100, 13, 46506, 257, 13, 12443, 341, 10430, 11, 257, 13, 21357, 7054, 366,...
What was the amount of draws where a club had 51 tries for?
SELECT drawn FROM table_name_19 WHERE tries_for = "51"
[ 2061, 373, 262, 2033, 286, 14293, 810, 257, 3430, 550, 6885, 8404, 329, 30, 46506, 7428, 16034, 3084, 62, 3672, 62, 1129, 33411, 8404, 62, 1640, 796, 366, 4349, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 2033, 286, 14293, 810, 257, 3430, 550, 6885, 8404, 329, 30, 46506, 7428, 16034, 3084, 62, 3672, 62, 1129, 33411, 8404, 62, 1640, 796, 366, 4349, 1 ]
What is the lowest silver that has 2 as the bronze, with a total greater than 4?
SELECT MIN(silver) FROM table_name_33 WHERE bronze = 2 AND total > 4
[ 2061, 318, 262, 9016, 8465, 326, 468, 362, 355, 262, 22101, 11, 351, 257, 2472, 3744, 621, 604, 30, 46506, 20625, 7, 40503, 8, 16034, 3084, 62, 3672, 62, 2091, 33411, 22101, 796, 362, 5357, 2472, 1875, 604 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 9016, 8465, 326, 468, 362, 355, 262, 22101, 11, 351, 257, 2472, 3744, 621, 604, 30, 46506, 20625, 7, 40503, 8, 16034, 3084, 62, 3672, 62, 2091, 33411, 22101, 796, 362, 5357, 2472, 1875, 604 ]
Who was the writer for the song 4:29 in length?
SELECT writer FROM table_14778650_1 WHERE length = "4:29"
[ 8241, 373, 262, 6260, 329, 262, 3496, 604, 25, 1959, 287, 4129, 30, 46506, 6260, 16034, 3084, 62, 1415, 3324, 4521, 1120, 62, 16, 33411, 4129, 796, 366, 19, 25, 1959, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 6260, 329, 262, 3496, 604, 25, 1959, 287, 4129, 30, 46506, 6260, 16034, 3084, 62, 1415, 3324, 4521, 1120, 62, 16, 33411, 4129, 796, 366, 19, 25, 1959, 1 ]
Fow how long the patient id 17570 remained admitted in hospital? Also specify the discharge location.
SELECT demographic.days_stay, demographic.discharge_location FROM demographic WHERE demographic.subject_id = "17570"
[ 37, 322, 703, 890, 262, 5827, 4686, 19038, 2154, 6150, 6848, 287, 4436, 30, 4418, 11986, 262, 17655, 4067, 13, 46506, 16728, 13, 12545, 62, 31712, 11, 16728, 13, 6381, 10136, 62, 24886, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 37, 322, 703, 890, 262, 5827, 4686, 19038, 2154, 6150, 6848, 287, 4436, 30, 4418, 11986, 262, 17655, 4067, 13, 46506, 16728, 13, 12545, 62, 31712, 11, 16728, 13, 6381, 10136, 62, 24886, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, ...
Who was the home team when VFL played at Windy Hill?
SELECT home_team FROM table_name_16 WHERE venue = "windy hill"
[ 8241, 373, 262, 1363, 1074, 618, 569, 3697, 2826, 379, 3086, 88, 3327, 30, 46506, 1363, 62, 15097, 16034, 3084, 62, 3672, 62, 1433, 33411, 14359, 796, 366, 7972, 88, 12788, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 1363, 1074, 618, 569, 3697, 2826, 379, 3086, 88, 3327, 30, 46506, 1363, 62, 15097, 16034, 3084, 62, 3672, 62, 1433, 33411, 14359, 796, 366, 7972, 88, 12788, 1 ]
Who called the race in 1998?
SELECT race_caller FROM table_22583466_3 WHERE year = 1998
[ 8241, 1444, 262, 3234, 287, 7795, 30, 46506, 3234, 62, 13345, 263, 16034, 3084, 62, 18182, 23, 2682, 2791, 62, 18, 33411, 614, 796, 7795 ]
[ 1, 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, 1444, 262, 3234, 287, 7795, 30, 46506, 3234, 62, 13345, 263, 16034, 3084, 62, 18182, 23, 2682, 2791, 62, 18, 33411, 614, 796, 7795 ]
What is the earliest game played at the TD Waterhouse Centre?
SELECT MIN(game) FROM table_name_99 WHERE location = "td waterhouse centre"
[ 2061, 318, 262, 14555, 983, 2826, 379, 262, 13320, 5638, 4803, 9072, 30, 46506, 20625, 7, 6057, 8, 16034, 3084, 62, 3672, 62, 2079, 33411, 4067, 796, 366, 8671, 1660, 4803, 7372, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 983, 2826, 379, 262, 13320, 5638, 4803, 9072, 30, 46506, 20625, 7, 6057, 8, 16034, 3084, 62, 3672, 62, 2079, 33411, 4067, 796, 366, 8671, 1660, 4803, 7372, 1 ]
What is the authority of the scientific name of O. Tricuspis?
SELECT authority FROM table_name_50 WHERE scientic_name = "o. tricuspis"
[ 2061, 318, 262, 4934, 286, 262, 5654, 1438, 286, 440, 13, 833, 291, 17723, 271, 30, 46506, 4934, 16034, 3084, 62, 3672, 62, 1120, 33411, 3062, 291, 62, 3672, 796, 366, 78, 13, 491, 291, 17723, 271, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4934, 286, 262, 5654, 1438, 286, 440, 13, 833, 291, 17723, 271, 30, 46506, 4934, 16034, 3084, 62, 3672, 62, 1120, 33411, 3062, 291, 62, 3672, 796, 366, 78, 13, 491, 291, 17723, 271, 1 ]
What is the number of attendance with the pre-season game as the type of record?
SELECT COUNT("Attendance") FROM table_24367 WHERE "Type of Record" = 'Pre-season game'
[ 2061, 318, 262, 1271, 286, 14858, 351, 262, 662, 12, 6230, 983, 355, 262, 2099, 286, 1700, 30, 46506, 327, 28270, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 1731, 27824, 33411, 366, 6030, 286, 13266, 1, 796, 705, 6719, 12, 6230, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1271, 286, 14858, 351, 262, 662, 12, 6230, 983, 355, 262, 2099, 286, 1700, 30, 46506, 327, 28270, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 1731, 27824, 33411, 366, 6030, 286, 13266, 1, 796, 705, 6719, 12, 6230, 9...
What was in 2007 that is from 2004 0f 2r and 2010 of A?
SELECT "2007" FROM table_40303 WHERE "2004" = '2r' AND "2010" = 'a'
[ 2061, 373, 287, 4343, 326, 318, 422, 5472, 657, 69, 362, 81, 290, 3050, 286, 317, 30, 46506, 366, 12726, 1, 16034, 3084, 62, 1821, 22572, 33411, 366, 15724, 1, 796, 705, 17, 81, 6, 5357, 366, 10333, 1, 796, 705, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 287, 4343, 326, 318, 422, 5472, 657, 69, 362, 81, 290, 3050, 286, 317, 30, 46506, 366, 12726, 1, 16034, 3084, 62, 1821, 22572, 33411, 366, 15724, 1, 796, 705, 17, 81, 6, 5357, 366, 10333, 1, 796, 705, 64, 6 ]
Has Lawrence Sanna ever taught the class ORALBIOL 852 ?
SELECT COUNT(*) > 0 FROM course, course_offering, instructor, offering_instructor WHERE course.course_id = course_offering.course_id AND course.department = 'ORALBIOL' AND course.number = 852 AND instructor.name LIKE '%Lawrence Sanna%' AND offering_instructor.instructor_id = instructor.instructor_id AND offering_instru...
[ 19242, 13914, 311, 7697, 1683, 7817, 262, 1398, 6375, 1847, 3483, 3535, 807, 4309, 5633, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 21187, 11, 6011, 62, 259, 7249, 273, 33411, 1781, 13, 17319, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 19242, 13914, 311, 7697, 1683, 7817, 262, 1398, 6375, 1847, 3483, 3535, 807, 4309, 5633, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 21187, 11, 6011, 62, 259, 7249, 273, 33411, 1781, 13, 17319, 6...
Are there courses worth 3 credits ?
SELECT DISTINCT name, number FROM course WHERE credits = 3 AND department = 'EECS'
[ 8491, 612, 10902, 2861, 513, 10824, 5633, 46506, 360, 8808, 1268, 4177, 1438, 11, 1271, 16034, 1781, 33411, 10824, 796, 513, 5357, 5011, 796, 705, 36, 2943, 50, 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 ]
[ 8491, 612, 10902, 2861, 513, 10824, 5633, 46506, 360, 8808, 1268, 4177, 1438, 11, 1271, 16034, 1781, 33411, 10824, 796, 513, 5357, 5011, 796, 705, 36, 2943, 50, 6 ]
What rank did rower have with the time of 6:52.74?
SELECT SUM("Rank") FROM table_13786 WHERE "Time" = '6:52.74'
[ 2061, 4279, 750, 5752, 263, 423, 351, 262, 640, 286, 718, 25, 4309, 13, 4524, 30, 46506, 35683, 7203, 27520, 4943, 16034, 3084, 62, 1485, 46302, 33411, 366, 7575, 1, 796, 705, 21, 25, 4309, 13, 4524, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 4279, 750, 5752, 263, 423, 351, 262, 640, 286, 718, 25, 4309, 13, 4524, 30, 46506, 35683, 7203, 27520, 4943, 16034, 3084, 62, 1485, 46302, 33411, 366, 7575, 1, 796, 705, 21, 25, 4309, 13, 4524, 6 ]
For those records from the products and each product's manufacturer, show me about the distribution of founder and the average of price , and group by attribute founder in a bar chart, and show Y-axis in desc order.
SELECT Founder, AVG(Price) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder ORDER BY AVG(Price) DESC
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 905, 502, 546, 262, 6082, 286, 9119, 290, 262, 2811, 286, 2756, 837, 290, 1448, 416, 11688, 9119, 287, 257, 2318, 8262, 11, 290, 905, 575, 12, 22704, 287, 1715, 1502,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6082, 286, 9119, 290, 262, 2811, 286, 2756, 837, 290, 1448, 416, 11688, 9119, 287, 257, 2318, 8262, 11, 290, 905, 575, 12, 22704, 287, 1715, 1502,...
Who was the winning driver of the British Grand Prix where Giuseppe Farina had the fastest lap?
SELECT "Winning driver" FROM table_56480 WHERE "Fastest lap" = 'giuseppe farina' AND "Race" = 'british grand prix'
[ 8241, 373, 262, 5442, 4639, 286, 262, 3517, 5675, 23832, 810, 8118, 1904, 27768, 6755, 1437, 550, 262, 14162, 14779, 30, 46506, 366, 16643, 768, 4639, 1, 16034, 3084, 62, 20, 2414, 1795, 33411, 366, 22968, 395, 14779, 1, 796, 705, 123...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5442, 4639, 286, 262, 3517, 5675, 23832, 810, 8118, 1904, 27768, 6755, 1437, 550, 262, 14162, 14779, 30, 46506, 366, 16643, 768, 4639, 1, 16034, 3084, 62, 20, 2414, 1795, 33411, 366, 22968, 395, 14779, 1, 796, 705, 123...
Please give me a bar chart showing institution types, along with the total enrollment for each type, could you order by the x axis in desc?
SELECT Type, SUM(Enrollment) FROM Institution GROUP BY Type ORDER BY Type DESC
[ 5492, 1577, 502, 257, 2318, 8262, 4478, 9901, 3858, 11, 1863, 351, 262, 2472, 20753, 329, 1123, 2099, 11, 714, 345, 1502, 416, 262, 2124, 16488, 287, 1715, 30, 46506, 5994, 11, 35683, 7, 4834, 48108, 8, 16034, 29426, 44441, 11050, 599...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5492, 1577, 502, 257, 2318, 8262, 4478, 9901, 3858, 11, 1863, 351, 262, 2472, 20753, 329, 1123, 2099, 11, 714, 345, 1502, 416, 262, 2124, 16488, 287, 1715, 30, 46506, 5994, 11, 35683, 7, 4834, 48108, 8, 16034, 29426, 44441, 11050, 599...
Before taking RELIGION 497 , what would be some useful courses to take ?
SELECT DISTINCT advisory_requirement FROM course WHERE department = 'RELIGION' AND number = 497
[ 8421, 2263, 29749, 3528, 2849, 5125, 22, 837, 644, 561, 307, 617, 4465, 10902, 284, 1011, 5633, 46506, 360, 8808, 1268, 4177, 20852, 62, 8897, 24615, 16034, 1781, 33411, 5011, 796, 705, 16448, 3528, 2849, 6, 5357, 1271, 796, 5125, 22 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8421, 2263, 29749, 3528, 2849, 5125, 22, 837, 644, 561, 307, 617, 4465, 10902, 284, 1011, 5633, 46506, 360, 8808, 1268, 4177, 20852, 62, 8897, 24615, 16034, 1781, 33411, 5011, 796, 705, 16448, 3528, 2849, 6, 5357, 1271, 796, 5125, 22 ]
How many teams did Farhad Kazemi leave?
SELECT COUNT(team) FROM table_22297198_3 WHERE outgoing_manager = "Farhad Kazemi"
[ 2437, 867, 3466, 750, 6755, 18108, 16385, 43967, 2666, 30, 46506, 327, 28270, 7, 15097, 8, 16034, 3084, 62, 1828, 26561, 22337, 62, 18, 33411, 28181, 62, 37153, 796, 366, 21428, 18108, 16385, 43967, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3466, 750, 6755, 18108, 16385, 43967, 2666, 30, 46506, 327, 28270, 7, 15097, 8, 16034, 3084, 62, 1828, 26561, 22337, 62, 18, 33411, 28181, 62, 37153, 796, 366, 21428, 18108, 16385, 43967, 1 ]
What was the streak at the game at the Miami Orange Bowl?
SELECT streak FROM table_name_99 WHERE stadium = "miami orange bowl"
[ 2061, 373, 262, 15113, 379, 262, 983, 379, 262, 8437, 11942, 8693, 30, 46506, 15113, 16034, 3084, 62, 3672, 62, 2079, 33411, 10308, 796, 366, 76, 7871, 10912, 9396, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 15113, 379, 262, 983, 379, 262, 8437, 11942, 8693, 30, 46506, 15113, 16034, 3084, 62, 3672, 62, 2079, 33411, 10308, 796, 366, 76, 7871, 10912, 9396, 1 ]
Bar chart x axis crs code y axis the total number, order names from high to low order.
SELECT CRS_CODE, COUNT(*) FROM CLASS GROUP BY CRS_CODE ORDER BY CRS_CODE DESC
[ 10374, 8262, 2124, 16488, 1067, 82, 2438, 331, 16488, 262, 2472, 1271, 11, 1502, 3891, 422, 1029, 284, 1877, 1502, 13, 46506, 327, 6998, 62, 34, 16820, 11, 327, 28270, 7, 28104, 16034, 42715, 44441, 11050, 327, 6998, 62, 34, 16820, 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, 1, 1, 1 ]
[ 10374, 8262, 2124, 16488, 1067, 82, 2438, 331, 16488, 262, 2472, 1271, 11, 1502, 3891, 422, 1029, 284, 1877, 1502, 13, 46506, 327, 6998, 62, 34, 16820, 11, 327, 28270, 7, 28104, 16034, 42715, 44441, 11050, 327, 6998, 62, 34, 16820, 38...
Find meter_200 and the sum of meter_100 , and group by attribute meter_200, and visualize them by a bar chart.
SELECT meter_200, SUM(meter_100) FROM swimmer GROUP BY meter_200
[ 16742, 16430, 62, 2167, 290, 262, 2160, 286, 16430, 62, 3064, 837, 290, 1448, 416, 11688, 16430, 62, 2167, 11, 290, 38350, 606, 416, 257, 2318, 8262, 13, 46506, 16430, 62, 2167, 11, 35683, 7, 27231, 62, 3064, 8, 16034, 9422, 647, 44...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 16430, 62, 2167, 290, 262, 2160, 286, 16430, 62, 3064, 837, 290, 1448, 416, 11688, 16430, 62, 2167, 11, 290, 38350, 606, 416, 257, 2318, 8262, 13, 46506, 16430, 62, 2167, 11, 35683, 7, 27231, 62, 3064, 8, 16034, 9422, 647, 44...
give the number of patients whose procedure short title is cardiac rhythm conv nec.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE procedures.short_title = "Cardiac rhythm conv NEC"
[ 26535, 262, 1271, 286, 3871, 3025, 8771, 1790, 3670, 318, 26077, 18662, 3063, 27576, 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, 76,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 26535, 262, 1271, 286, 3871, 3025, 8771, 1790, 3670, 318, 26077, 18662, 3063, 27576, 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, 76,...
Can you tell me the Co-driver that has the Year smaller than 2012, and the Laps smaller than 161, and the Position of dnf, and the Number 33?
SELECT "Co-driver" FROM table_7324 WHERE "Year" < '2012' AND "Laps" < '161' AND "Position" = 'dnf' AND "Number" = '33'
[ 6090, 345, 1560, 502, 262, 1766, 12, 26230, 326, 468, 262, 6280, 4833, 621, 2321, 11, 290, 262, 406, 1686, 4833, 621, 27829, 11, 290, 262, 23158, 286, 288, 77, 69, 11, 290, 262, 7913, 4747, 30, 46506, 366, 7222, 12, 26230, 1, 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...
[ 6090, 345, 1560, 502, 262, 1766, 12, 26230, 326, 468, 262, 6280, 4833, 621, 2321, 11, 290, 262, 406, 1686, 4833, 621, 27829, 11, 290, 262, 23158, 286, 288, 77, 69, 11, 290, 262, 7913, 4747, 30, 46506, 366, 7222, 12, 26230, 1, 1603...
Which Name has a Round larger than 4, an Overall smaller than 338, a Pick smaller than 11, and a College of virginia tech?
SELECT name FROM table_name_39 WHERE round > 4 AND overall < 338 AND pick < 11 AND college = "virginia tech"
[ 13828, 6530, 468, 257, 10485, 4025, 621, 604, 11, 281, 14674, 4833, 621, 40736, 11, 257, 12346, 4833, 621, 1367, 11, 290, 257, 5535, 286, 21772, 544, 7261, 30, 46506, 1438, 16034, 3084, 62, 3672, 62, 2670, 33411, 2835, 1875, 604, 5357...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 6530, 468, 257, 10485, 4025, 621, 604, 11, 281, 14674, 4833, 621, 40736, 11, 257, 12346, 4833, 621, 1367, 11, 290, 257, 5535, 286, 21772, 544, 7261, 30, 46506, 1438, 16034, 3084, 62, 3672, 62, 2670, 33411, 2835, 1875, 604, 5357...
show me the flights from BOSTON to SAN FRANCISCO that stop in ATLANTA
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, airport_service AS AIRPORT_SERVICE_2, city AS CITY_0, city AS CITY_1, city AS CITY_2, flight, flight_stop WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SAN FRANCISCO' AND CIT...
[ 12860, 502, 262, 13956, 422, 347, 10892, 1340, 284, 37376, 8782, 20940, 1797, 8220, 326, 2245, 287, 41051, 8643, 11159, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13956, 422, 347, 10892, 1340, 284, 37376, 8782, 20940, 1797, 8220, 326, 2245, 287, 41051, 8643, 11159, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, ...
Which result has adelaide oval as the venue?
SELECT "Result" FROM table_66994 WHERE "Venue" = 'adelaide oval'
[ 13828, 1255, 468, 512, 25078, 41186, 355, 262, 14359, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 2791, 42691, 33411, 366, 37522, 518, 1, 796, 705, 6959, 64, 485, 41186, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 1255, 468, 512, 25078, 41186, 355, 262, 14359, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 2791, 42691, 33411, 366, 37522, 518, 1, 796, 705, 6959, 64, 485, 41186, 6 ]
how many times has patient 61751 been prescribed with polyethylene glycol the previous month?
SELECT COUNT(*) FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 61751) AND prescriptions.drug = 'polyethylene glycol' AND DATETIME(prescriptions.startdate, 'start of month') = DATETIME(CURRENT_TIME(), 'start of month', '-1 month')
[ 4919, 867, 1661, 468, 5827, 718, 1558, 4349, 587, 14798, 351, 7514, 21610, 1734, 13874, 4033, 262, 2180, 1227, 30, 46506, 327, 28270, 7, 28104, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 1661, 468, 5827, 718, 1558, 4349, 587, 14798, 351, 7514, 21610, 1734, 13874, 4033, 262, 2180, 1227, 30, 46506, 327, 28270, 7, 28104, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, ...
Name of clem hill, and Inns larger than 126 has the lowest runs?
SELECT MIN("Runs") FROM table_69326 WHERE "Name" = 'clem hill' AND "Inns" > '126'
[ 5376, 286, 1190, 76, 12788, 11, 290, 554, 5907, 4025, 621, 19710, 468, 262, 9016, 4539, 30, 46506, 20625, 7203, 10987, 82, 4943, 16034, 3084, 62, 3388, 39195, 33411, 366, 5376, 1, 796, 705, 2375, 76, 12788, 6, 5357, 366, 818, 5907, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 286, 1190, 76, 12788, 11, 290, 554, 5907, 4025, 621, 19710, 468, 262, 9016, 4539, 30, 46506, 20625, 7203, 10987, 82, 4943, 16034, 3084, 62, 3388, 39195, 33411, 366, 5376, 1, 796, 705, 2375, 76, 12788, 6, 5357, 366, 818, 5907, ...
Who was the RF when the SP was vicente padilla?
SELECT "Rightfielder" FROM table_72288 WHERE "Starting Pitcher" = 'Vicente Padilla'
[ 8241, 373, 262, 20445, 618, 262, 6226, 373, 20429, 21872, 14841, 5049, 30, 46506, 366, 11028, 3245, 263, 1, 16034, 3084, 62, 22, 1828, 3459, 33411, 366, 22851, 16889, 2044, 1, 796, 705, 53, 291, 21872, 15744, 5049, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 373, 262, 20445, 618, 262, 6226, 373, 20429, 21872, 14841, 5049, 30, 46506, 366, 11028, 3245, 263, 1, 16034, 3084, 62, 22, 1828, 3459, 33411, 366, 22851, 16889, 2044, 1, 796, 705, 53, 291, 21872, 15744, 5049, 6 ]
What is the hometown of Devon Bookert who is 6-3 tall?
SELECT "Hometown" FROM table_8914 WHERE "Height" = '6-3' AND "Name" = 'devon bookert'
[ 2061, 318, 262, 20994, 286, 36889, 4897, 861, 508, 318, 718, 12, 18, 7331, 30, 46506, 366, 39, 19191, 1, 16034, 3084, 62, 4531, 1415, 33411, 366, 23106, 1, 796, 705, 21, 12, 18, 6, 5357, 366, 5376, 1, 796, 705, 7959, 261, 1492, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 20994, 286, 36889, 4897, 861, 508, 318, 718, 12, 18, 7331, 30, 46506, 366, 39, 19191, 1, 16034, 3084, 62, 4531, 1415, 33411, 366, 23106, 1, 796, 705, 21, 12, 18, 6, 5357, 366, 5376, 1, 796, 705, 7959, 261, 1492, ...
What is the lowest number of dances with a less than 2 place and an average smaller than 27.5?
SELECT MIN("Number of dances") FROM table_33275 WHERE "Place" < '2' AND "Average" < '27.5'
[ 2061, 318, 262, 9016, 1271, 286, 38207, 351, 257, 1342, 621, 362, 1295, 290, 281, 2811, 4833, 621, 2681, 13, 20, 30, 46506, 20625, 7203, 15057, 286, 38207, 4943, 16034, 3084, 62, 2091, 23195, 33411, 366, 27271, 1, 1279, 705, 17, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 9016, 1271, 286, 38207, 351, 257, 1342, 621, 362, 1295, 290, 281, 2811, 4833, 621, 2681, 13, 20, 30, 46506, 20625, 7203, 15057, 286, 38207, 4943, 16034, 3084, 62, 2091, 23195, 33411, 366, 27271, 1, 1279, 705, 17, 6, ...
Return the unique name for stations that have ever had 7 bikes available.
SELECT DISTINCT T1.name FROM station AS T1 JOIN status AS T2 ON T1.id = T2.station_id WHERE T2.bikes_available = 7
[ 13615, 262, 3748, 1438, 329, 8985, 326, 423, 1683, 550, 767, 16715, 1695, 13, 46506, 360, 8808, 1268, 4177, 309, 16, 13, 3672, 16034, 4429, 7054, 309, 16, 32357, 1268, 3722, 7054, 309, 17, 6177, 309, 16, 13, 312, 796, 309, 17, 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 ]
[ 13615, 262, 3748, 1438, 329, 8985, 326, 423, 1683, 550, 767, 16715, 1695, 13, 46506, 360, 8808, 1268, 4177, 309, 16, 13, 3672, 16034, 4429, 7054, 309, 16, 32357, 1268, 3722, 7054, 309, 17, 6177, 309, 16, 13, 312, 796, 309, 17, 13, ...
what is age and primary disease of subject id 2560?
SELECT demographic.age, demographic.diagnosis FROM demographic WHERE demographic.subject_id = "2560"
[ 10919, 318, 2479, 290, 4165, 4369, 286, 2426, 4686, 1679, 1899, 30, 46506, 16728, 13, 496, 11, 16728, 13, 47356, 5958, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 1495, 1899, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2479, 290, 4165, 4369, 286, 2426, 4686, 1679, 1899, 30, 46506, 16728, 13, 496, 11, 16728, 13, 47356, 5958, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 1495, 1899, 1 ]
Average Response Time for Specific Tags.
SELECT T.TagName, COUNT(P.Id) AS TotalQuestionsAsked, AVG(CAST((((DATEDIFF(year, P.CreationDate, CreationDate) * 365 + DATEDIFF(day, P.CreationDate, CreationDate)) * 24 + DATEDIFF(hour, P.CreationDate, CreationDate)) * 60 + DATEDIFF(minute, P.CreationDate, CreationDate)) * 60 + DATEDIFF(second, P.CreationDate, Creation...
[ 26287, 18261, 3862, 329, 17377, 44789, 13, 46506, 309, 13, 24835, 5376, 11, 327, 28270, 7, 47, 13, 7390, 8, 7054, 7472, 35741, 18932, 11, 35224, 7, 44647, 19510, 19510, 35, 11617, 29267, 7, 1941, 11, 350, 13, 12443, 341, 10430, 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...
[ 26287, 18261, 3862, 329, 17377, 44789, 13, 46506, 309, 13, 24835, 5376, 11, 327, 28270, 7, 47, 13, 7390, 8, 7054, 7472, 35741, 18932, 11, 35224, 7, 44647, 19510, 19510, 35, 11617, 29267, 7, 1941, 11, 350, 13, 12443, 341, 10430, 11, ...
What is the scored figure when the result is 40-22?
SELECT SUM(scored) FROM table_name_94 WHERE result = "40-22"
[ 2061, 318, 262, 7781, 3785, 618, 262, 1255, 318, 2319, 12, 1828, 30, 46506, 35683, 7, 1416, 1850, 8, 16034, 3084, 62, 3672, 62, 5824, 33411, 1255, 796, 366, 1821, 12, 1828, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7781, 3785, 618, 262, 1255, 318, 2319, 12, 1828, 30, 46506, 35683, 7, 1416, 1850, 8, 16034, 3084, 62, 3672, 62, 5824, 33411, 1255, 796, 366, 1821, 12, 1828, 1 ]
Search for answers of a specific user to questions in my favorites.
SELECT a.Id AS "post_link", a.Body FROM Posts AS a INNER JOIN Votes AS v ON v.PostId = a.ParentId WHERE v.UserId = '##UserId:int##' AND v.VoteTypeId = 5 AND a.OwnerUserId = '##AnotherUserId:int##'
[ 18243, 329, 7429, 286, 257, 2176, 2836, 284, 2683, 287, 616, 18852, 13, 46506, 257, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 257, 13, 25842, 16034, 12043, 7054, 257, 3268, 21479, 32357, 1268, 39584, 7054, 410, 6177, 410, 13, 6307, 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...
[ 18243, 329, 7429, 286, 257, 2176, 2836, 284, 2683, 287, 616, 18852, 13, 46506, 257, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 257, 13, 25842, 16034, 12043, 7054, 257, 3268, 21479, 32357, 1268, 39584, 7054, 410, 6177, 410, 13, 6307, 7...
what are the five most frequently ordered specimen tests for patients that had previously been diagnosed with upper gi bleeding within 2 months since 2105?
SELECT t3.culturesite FROM (SELECT t2.culturesite, 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 = 'upper gi bleeding' AND STRFTIME('%y', diagno...
[ 10919, 389, 262, 1936, 749, 6777, 6149, 31674, 5254, 329, 3871, 326, 550, 4271, 587, 14641, 351, 6727, 308, 72, 16832, 1626, 362, 1933, 1201, 362, 13348, 30, 46506, 256, 18, 13, 40820, 942, 578, 16034, 357, 46506, 256, 17, 13, 40820, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1936, 749, 6777, 6149, 31674, 5254, 329, 3871, 326, 550, 4271, 587, 14641, 351, 6727, 308, 72, 16832, 1626, 362, 1933, 1201, 362, 13348, 30, 46506, 256, 18, 13, 40820, 942, 578, 16034, 357, 46506, 256, 17, 13, 40820, ...
How much Elevation (m) has a Prominence (m) larger than 2,876?
SELECT COUNT("Elevation (m)") FROM table_65640 WHERE "Prominence (m)" > '2,876'
[ 2437, 881, 37881, 341, 357, 76, 8, 468, 257, 10335, 18386, 357, 76, 8, 4025, 621, 362, 11, 23, 4304, 30, 46506, 327, 28270, 7203, 36, 2768, 341, 357, 76, 8, 4943, 16034, 3084, 62, 2996, 31102, 33411, 366, 24129, 18386, 357, 76, 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 ]
[ 2437, 881, 37881, 341, 357, 76, 8, 468, 257, 10335, 18386, 357, 76, 8, 4025, 621, 362, 11, 23, 4304, 30, 46506, 327, 28270, 7203, 36, 2768, 341, 357, 76, 8, 4943, 16034, 3084, 62, 2996, 31102, 33411, 366, 24129, 18386, 357, 76, 16...
Name all the stations in 2006-2007 who had 109200 users.
SELECT "Station" FROM table_1230 WHERE "Station users 2006\u201307" = '109200'
[ 5376, 477, 262, 8985, 287, 4793, 12, 12726, 508, 550, 16003, 2167, 2985, 13, 46506, 366, 12367, 1, 16034, 3084, 62, 1065, 1270, 33411, 366, 12367, 2985, 4793, 59, 84, 1264, 22996, 1, 796, 705, 14454, 2167, 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 ]
[ 5376, 477, 262, 8985, 287, 4793, 12, 12726, 508, 550, 16003, 2167, 2985, 13, 46506, 366, 12367, 1, 16034, 3084, 62, 1065, 1270, 33411, 366, 12367, 2985, 4793, 59, 84, 1264, 22996, 1, 796, 705, 14454, 2167, 6 ]
What is the average weight of all players?
SELECT AVG(weight) FROM player
[ 2061, 318, 262, 2811, 3463, 286, 477, 1938, 30, 46506, 35224, 7, 6551, 8, 16034, 2137 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2811, 3463, 286, 477, 1938, 30, 46506, 35224, 7, 6551, 8, 16034, 2137 ]
What is the production code of the episode directed by Michael McDonald?
SELECT production_code FROM table_25548505_1 WHERE directed_by = "Michael McDonald"
[ 2061, 318, 262, 3227, 2438, 286, 262, 4471, 7924, 416, 3899, 14115, 30, 46506, 3227, 62, 8189, 16034, 3084, 62, 13381, 2780, 31654, 62, 16, 33411, 7924, 62, 1525, 796, 366, 13256, 14115, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3227, 2438, 286, 262, 4471, 7924, 416, 3899, 14115, 30, 46506, 3227, 62, 8189, 16034, 3084, 62, 13381, 2780, 31654, 62, 16, 33411, 7924, 62, 1525, 796, 366, 13256, 14115, 1 ]
Which Surface has a Semifinalist of stefan edberg thomas muster?
SELECT "Surface" FROM table_8544 WHERE "Semifinalists" = 'stefan edberg thomas muster'
[ 13828, 20321, 468, 257, 12449, 361, 1292, 396, 286, 336, 891, 272, 1225, 3900, 294, 16911, 36394, 30, 46506, 366, 14214, 2550, 1, 16034, 3084, 62, 5332, 2598, 33411, 366, 13900, 361, 1292, 1023, 1, 796, 705, 301, 891, 272, 1225, 3900,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 20321, 468, 257, 12449, 361, 1292, 396, 286, 336, 891, 272, 1225, 3900, 294, 16911, 36394, 30, 46506, 366, 14214, 2550, 1, 16034, 3084, 62, 5332, 2598, 33411, 366, 13900, 361, 1292, 1023, 1, 796, 705, 301, 891, 272, 1225, 3900,...
how much patient 002-39753's potassium changes/differs last measured on the first hospital visit compared to the first value measured on the first hospital visit?
SELECT (SELECT lab.labresult FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '002-39753' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospi...
[ 4919, 881, 5827, 3571, 17, 12, 2670, 44550, 338, 33156, 2458, 14, 26069, 364, 938, 8630, 319, 262, 717, 4436, 3187, 3688, 284, 262, 717, 1988, 8630, 319, 262, 717, 4436, 3187, 30, 46506, 357, 46506, 2248, 13, 23912, 20274, 16034, 2248...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 881, 5827, 3571, 17, 12, 2670, 44550, 338, 33156, 2458, 14, 26069, 364, 938, 8630, 319, 262, 717, 4436, 3187, 3688, 284, 262, 717, 1988, 8630, 319, 262, 717, 4436, 3187, 30, 46506, 357, 46506, 2248, 13, 23912, 20274, 16034, 2248...
What was the score for king's cup 1996?
SELECT score FROM table_name_50 WHERE competition = "king's cup 1996"
[ 2061, 373, 262, 4776, 329, 5822, 338, 6508, 8235, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 1120, 33411, 5449, 796, 366, 3364, 338, 6508, 8235, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 4776, 329, 5822, 338, 6508, 8235, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 1120, 33411, 5449, 796, 366, 3364, 338, 6508, 8235, 1 ]
Which Points have a Score of 3 3, and a Date of november 11?
SELECT points FROM table_name_4 WHERE score = "3–3" AND date = "november 11"
[ 13828, 11045, 423, 257, 15178, 286, 513, 513, 11, 290, 257, 7536, 286, 645, 303, 1916, 1367, 30, 46506, 2173, 16034, 3084, 62, 3672, 62, 19, 33411, 4776, 796, 366, 18, 1906, 18, 1, 5357, 3128, 796, 366, 77, 3239, 1367, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11045, 423, 257, 15178, 286, 513, 513, 11, 290, 257, 7536, 286, 645, 303, 1916, 1367, 30, 46506, 2173, 16034, 3084, 62, 3672, 62, 19, 33411, 4776, 796, 366, 18, 1906, 18, 1, 5357, 3128, 796, 366, 77, 3239, 1367, 1 ]
Name the interacting for need of protection
SELECT "Interacting (settings)" FROM table_68447 WHERE "Need" = 'protection'
[ 5376, 262, 24986, 329, 761, 286, 4800, 46506, 366, 9492, 27362, 357, 33692, 16725, 16034, 3084, 62, 3104, 34825, 33411, 366, 23037, 1, 796, 705, 42846, 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 ]
[ 5376, 262, 24986, 329, 761, 286, 4800, 46506, 366, 9492, 27362, 357, 33692, 16725, 16034, 3084, 62, 3104, 34825, 33411, 366, 23037, 1, 796, 705, 42846, 6 ]
How many shared titles does the club whose last final was 2012 have?
SELECT Shared AS titles FROM table_2869837_1 WHERE last_final = 2012
[ 2437, 867, 4888, 8714, 857, 262, 3430, 3025, 938, 2457, 373, 2321, 423, 30, 46506, 39403, 7054, 8714, 16034, 3084, 62, 2078, 39357, 2718, 62, 16, 33411, 938, 62, 20311, 796, 2321 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 4888, 8714, 857, 262, 3430, 3025, 938, 2457, 373, 2321, 423, 30, 46506, 39403, 7054, 8714, 16034, 3084, 62, 2078, 39357, 2718, 62, 16, 33411, 938, 62, 20311, 796, 2321 ]
Whatis the original title for lion's den?
SELECT original_title FROM table_13834298_1 WHERE film_title_used_in_nomination = "Lion's Den"
[ 2061, 271, 262, 2656, 3670, 329, 18744, 338, 2853, 30, 46506, 2656, 62, 7839, 16034, 3084, 62, 20107, 2682, 27728, 62, 16, 33411, 2646, 62, 7839, 62, 1484, 62, 259, 62, 26601, 1883, 796, 366, 43, 295, 338, 5601, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 271, 262, 2656, 3670, 329, 18744, 338, 2853, 30, 46506, 2656, 62, 7839, 16034, 3084, 62, 20107, 2682, 27728, 62, 16, 33411, 2646, 62, 7839, 62, 1484, 62, 259, 62, 26601, 1883, 796, 366, 43, 295, 338, 5601, 1 ]
What is the PRR class for wheel arrangement c-c and total less than 15?
SELECT prr_class FROM table_name_80 WHERE wheel_arrangement = "c-c" AND total_produced < 15
[ 2061, 318, 262, 4810, 49, 1398, 329, 7825, 13888, 269, 12, 66, 290, 2472, 1342, 621, 1315, 30, 46506, 778, 81, 62, 4871, 16034, 3084, 62, 3672, 62, 1795, 33411, 7825, 62, 3258, 648, 972, 796, 366, 66, 12, 66, 1, 5357, 2472, 62, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4810, 49, 1398, 329, 7825, 13888, 269, 12, 66, 290, 2472, 1342, 621, 1315, 30, 46506, 778, 81, 62, 4871, 16034, 3084, 62, 3672, 62, 1795, 33411, 7825, 62, 3258, 648, 972, 796, 366, 66, 12, 66, 1, 5357, 2472, 62, ...
provide the number of patients whose admission location is emergency room admit and procedure short title is opn lft hemicolectmy nec?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_location = "EMERGENCY ROOM ADMIT" AND procedures.short_title = "Opn lft hemicolectmy NEC"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 13938, 4067, 318, 6334, 2119, 9159, 290, 8771, 1790, 3670, 318, 1034, 77, 300, 701, 16869, 3713, 801, 1820, 27576, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 15234, 485, 262, 1271, 286, 3871, 3025, 13938, 4067, 318, 6334, 2119, 9159, 290, 8771, 1790, 3670, 318, 1034, 77, 300, 701, 16869, 3713, 801, 1820, 27576, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, ...
how many times was the televote/sms 2.39% and the place more than 9?
SELECT COUNT(draw) FROM table_name_54 WHERE televote_sms = "2.39%" AND place > 9
[ 4919, 867, 1661, 373, 262, 22884, 1258, 14, 82, 907, 362, 13, 2670, 4, 290, 262, 1295, 517, 621, 860, 30, 46506, 327, 28270, 7, 19334, 8, 16034, 3084, 62, 3672, 62, 4051, 33411, 22884, 1258, 62, 82, 907, 796, 366, 17, 13, 2670, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 1661, 373, 262, 22884, 1258, 14, 82, 907, 362, 13, 2670, 4, 290, 262, 1295, 517, 621, 860, 30, 46506, 327, 28270, 7, 19334, 8, 16034, 3084, 62, 3672, 62, 4051, 33411, 22884, 1258, 62, 82, 907, 796, 366, 17, 13, 2670, ...
Find the unit of measurement and product category code of product named 'chervil'.
SELECT t2.unit_of_measure, t2.product_category_code FROM products AS t1 JOIN ref_product_categories AS t2 ON t1.product_category_code = t2.product_category_code WHERE t1.product_name = "chervil"
[ 16742, 262, 4326, 286, 15558, 290, 1720, 6536, 2438, 286, 1720, 3706, 705, 2044, 2991, 4458, 46506, 256, 17, 13, 20850, 62, 1659, 62, 1326, 5015, 11, 256, 17, 13, 11167, 62, 22872, 62, 8189, 16034, 3186, 7054, 256, 16, 32357, 1268, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 16742, 262, 4326, 286, 15558, 290, 1720, 6536, 2438, 286, 1720, 3706, 705, 2044, 2991, 4458, 46506, 256, 17, 13, 20850, 62, 1659, 62, 1326, 5015, 11, 256, 17, 13, 11167, 62, 22872, 62, 8189, 16034, 3186, 7054, 256, 16, 32357, 1268, ...
how many patients were diagnosed with transitory tachypnea of newborn?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE diagnoses.long_title = "Transitory tachypnea of newborn"
[ 4919, 867, 3871, 547, 14641, 351, 11168, 652, 256, 620, 4464, 39718, 286, 23856, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 547, 14641, 351, 11168, 652, 256, 620, 4464, 39718, 286, 23856, 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, ...
Who was the opponent for the game played on September 19, 1994?
SELECT "Opponent" FROM table_42911 WHERE "Date" = 'september 19, 1994'
[ 8241, 373, 262, 6125, 329, 262, 983, 2826, 319, 2693, 678, 11, 9162, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 11785, 1157, 33411, 366, 10430, 1, 796, 705, 325, 457, 1491, 678, 11, 9162, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 373, 262, 6125, 329, 262, 983, 2826, 319, 2693, 678, 11, 9162, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 11785, 1157, 33411, 366, 10430, 1, 796, 705, 325, 457, 1491, 678, 11, 9162, 6 ]
How many matches have Rhymney RFC played?
SELECT played FROM table_name_24 WHERE club = "rhymney rfc"
[ 2437, 867, 7466, 423, 10323, 4948, 1681, 30978, 2826, 30, 46506, 2826, 16034, 3084, 62, 3672, 62, 1731, 33411, 3430, 796, 366, 17179, 4948, 1681, 374, 16072, 1 ]
[ 1, 1, 1, 1, 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, 7466, 423, 10323, 4948, 1681, 30978, 2826, 30, 46506, 2826, 16034, 3084, 62, 3672, 62, 1731, 33411, 3430, 796, 366, 17179, 4948, 1681, 374, 16072, 1 ]
Who was the centerfold model when the issue's pictorial was kimberly bell , bunnies of the new playboy club?
SELECT centerfold_model FROM table_1566852_8 WHERE pictorials = "Kimberly Bell , Bunnies of the New Playboy Club"
[ 8241, 373, 262, 3641, 11379, 2746, 618, 262, 2071, 338, 2862, 5132, 373, 479, 320, 527, 306, 8966, 837, 275, 20935, 444, 286, 262, 649, 711, 7081, 3430, 30, 46506, 3641, 11379, 62, 19849, 16034, 3084, 62, 1314, 35809, 4309, 62, 23, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3641, 11379, 2746, 618, 262, 2071, 338, 2862, 5132, 373, 479, 320, 527, 306, 8966, 837, 275, 20935, 444, 286, 262, 649, 711, 7081, 3430, 30, 46506, 3641, 11379, 62, 19849, 16034, 3084, 62, 1314, 35809, 4309, 62, 23, ...
What is the name of the member country that has a Population of 1,341,664?
SELECT member_countries FROM table_name_71 WHERE population = "1,341,664"
[ 2061, 318, 262, 1438, 286, 262, 2888, 1499, 326, 468, 257, 20133, 286, 352, 11, 33660, 11, 21, 2414, 30, 46506, 2888, 62, 9127, 1678, 16034, 3084, 62, 3672, 62, 4869, 33411, 3265, 796, 366, 16, 11, 33660, 11, 21, 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 ]
[ 2061, 318, 262, 1438, 286, 262, 2888, 1499, 326, 468, 257, 20133, 286, 352, 11, 33660, 11, 21, 2414, 30, 46506, 2888, 62, 9127, 1678, 16034, 3084, 62, 3672, 62, 4869, 33411, 3265, 796, 366, 16, 11, 33660, 11, 21, 2414, 1 ]
When did Julie Still first win Women's singles?
SELECT MIN("Year") FROM table_71766 WHERE "Women's singles" = 'julie still'
[ 2215, 750, 21946, 7831, 717, 1592, 6926, 338, 25287, 30, 46506, 20625, 7203, 17688, 4943, 16034, 3084, 62, 22, 1558, 2791, 33411, 366, 18495, 338, 25287, 1, 796, 705, 73, 377, 494, 991, 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 ]
[ 2215, 750, 21946, 7831, 717, 1592, 6926, 338, 25287, 30, 46506, 20625, 7203, 17688, 4943, 16034, 3084, 62, 22, 1558, 2791, 33411, 366, 18495, 338, 25287, 1, 796, 705, 73, 377, 494, 991, 6 ]
What batting style corresponds to a bowling style of right arm medium for Stuart Williams?
SELECT batting_style FROM table_name_32 WHERE bowling_style = "right arm medium" AND player = "stuart williams"
[ 2061, 23761, 3918, 24866, 284, 257, 33564, 3918, 286, 826, 3211, 7090, 329, 22559, 6484, 30, 46506, 23761, 62, 7635, 16034, 3084, 62, 3672, 62, 2624, 33411, 33564, 62, 7635, 796, 366, 3506, 3211, 7090, 1, 5357, 2137, 796, 366, 301, 19...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 23761, 3918, 24866, 284, 257, 33564, 3918, 286, 826, 3211, 7090, 329, 22559, 6484, 30, 46506, 23761, 62, 7635, 16034, 3084, 62, 3672, 62, 2624, 33411, 33564, 62, 7635, 796, 366, 3506, 3211, 7090, 1, 5357, 2137, 796, 366, 301, 19...
How many Tries against have a Team of dinamo bucure ti, and Tries for smaller than 19?
SELECT COUNT("Tries against") FROM table_62953 WHERE "Team" = 'dinamo bucureşti' AND "Tries for" < '19'
[ 2437, 867, 309, 1678, 1028, 423, 257, 4816, 286, 16278, 18811, 809, 66, 495, 46668, 11, 290, 309, 1678, 329, 4833, 621, 678, 30, 46506, 327, 28270, 7203, 51, 1678, 1028, 4943, 16034, 3084, 62, 48602, 4310, 33411, 366, 15592, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 309, 1678, 1028, 423, 257, 4816, 286, 16278, 18811, 809, 66, 495, 46668, 11, 290, 309, 1678, 329, 4833, 621, 678, 30, 46506, 327, 28270, 7203, 51, 1678, 1028, 4943, 16034, 3084, 62, 48602, 4310, 33411, 366, 15592, 1, 796, ...
what is five of the diagnoses that had the lowest two year survival rate?
SELECT d_icd_diagnoses.short_title FROM d_icd_diagnoses WHERE d_icd_diagnoses.icd9_code IN (SELECT t4.icd9_code FROM (SELECT t3.icd9_code, DENSE_RANK() OVER (ORDER BY t3.c1 DESC) AS c2 FROM (SELECT t2.icd9_code, 100 - SUM(CASE WHEN patients.dod IS NULL THEN 1 WHEN STRFTIME('%j', patients.dod) - STRFTIME('%j', t2.chartt...
[ 10919, 318, 1936, 286, 262, 40567, 326, 550, 262, 9016, 734, 614, 9441, 2494, 30, 46506, 288, 62, 291, 67, 62, 47356, 4629, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 47356, 4629, 33411, 288, 62, 291, 67, 62, 47356, 4629, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1936, 286, 262, 40567, 326, 550, 262, 9016, 734, 614, 9441, 2494, 30, 46506, 288, 62, 291, 67, 62, 47356, 4629, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 47356, 4629, 33411, 288, 62, 291, 67, 62, 47356, 4629, 1...
Look for location and time of admission for the patient with patient id 22377.
SELECT demographic.admission_location, demographic.admittime FROM demographic WHERE demographic.subject_id = "22377"
[ 8567, 329, 4067, 290, 640, 286, 13938, 329, 262, 5827, 351, 5827, 4686, 30299, 3324, 13, 46506, 16728, 13, 324, 3411, 62, 24886, 11, 16728, 13, 324, 20124, 524, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 1828, 26514, 1 ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8567, 329, 4067, 290, 640, 286, 13938, 329, 262, 5827, 351, 5827, 4686, 30299, 3324, 13, 46506, 16728, 13, 324, 3411, 62, 24886, 11, 16728, 13, 324, 20124, 524, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 1828, 26514, 1 ...
before 1990 , how many second places were obtained ?
SELECT COUNT(*) FROM table_203_763 WHERE "year" < 1990 AND "position" = 2
[ 19052, 6303, 837, 703, 867, 1218, 4113, 547, 6492, 5633, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 22416, 62, 49641, 33411, 366, 1941, 1, 1279, 6303, 5357, 366, 9150, 1, 796, 362 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 19052, 6303, 837, 703, 867, 1218, 4113, 547, 6492, 5633, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 22416, 62, 49641, 33411, 366, 1941, 1, 1279, 6303, 5357, 366, 9150, 1, 796, 362 ]
What is listed for the 2005 that has a 2012 of 4.2%?
SELECT "2005" FROM table_37727 WHERE "2012" = '4.2%'
[ 2061, 318, 5610, 329, 262, 5075, 326, 468, 257, 2321, 286, 604, 13, 17, 4, 30, 46506, 366, 14315, 1, 16034, 3084, 62, 26514, 1983, 33411, 366, 6999, 1, 796, 705, 19, 13, 17, 4, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 5610, 329, 262, 5075, 326, 468, 257, 2321, 286, 604, 13, 17, 4, 30, 46506, 366, 14315, 1, 16034, 3084, 62, 26514, 1983, 33411, 366, 6999, 1, 796, 705, 19, 13, 17, 4, 6 ]
What country has a Youth (15-24) Literacy Rate Total of 99%, and a Youth Men of 98%?
SELECT "Country" FROM table_74671 WHERE "Youth (15-24) Literacy Rate Total" = '99%' AND "Youth Men" = '98%'
[ 2061, 1499, 468, 257, 17582, 357, 1314, 12, 1731, 8, 17667, 1590, 14806, 7472, 286, 7388, 7441, 290, 257, 17582, 6065, 286, 9661, 4, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 4524, 46250, 33411, 366, 56, 1536, 357, 1314, 12, 1731, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 468, 257, 17582, 357, 1314, 12, 1731, 8, 17667, 1590, 14806, 7472, 286, 7388, 7441, 290, 257, 17582, 6065, 286, 9661, 4, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 4524, 46250, 33411, 366, 56, 1536, 357, 1314, 12, 1731, ...
Counting the number of tags in a single post - data explorer.
SELECT p.Id, p.Title, p.Tags, COUNT(t.TagName) FROM Posts AS p INNER JOIN Tags AS t ON p.Id = t.Id WHERE P.Id = 53243136 GROUP BY p.Id, p.Title, p.Tags
[ 12332, 278, 262, 1271, 286, 15940, 287, 257, 2060, 1281, 532, 1366, 39349, 13, 46506, 279, 13, 7390, 11, 279, 13, 19160, 11, 279, 13, 36142, 11, 327, 28270, 7, 83, 13, 24835, 5376, 8, 16034, 12043, 7054, 279, 3268, 21479, 32357, 126...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12332, 278, 262, 1271, 286, 15940, 287, 257, 2060, 1281, 532, 1366, 39349, 13, 46506, 279, 13, 7390, 11, 279, 13, 19160, 11, 279, 13, 36142, 11, 327, 28270, 7, 83, 13, 24835, 5376, 8, 16034, 12043, 7054, 279, 3268, 21479, 32357, 126...
who had the high points when chris bosh (13) had the high rebounds?
SELECT "High points" FROM table_77547 WHERE "High rebounds" = 'chris bosh (13)'
[ 8727, 550, 262, 1029, 2173, 618, 442, 2442, 275, 3768, 357, 1485, 8, 550, 262, 1029, 18841, 30, 46506, 366, 11922, 2173, 1, 16034, 3084, 62, 34483, 2857, 33411, 366, 11922, 18841, 1, 796, 705, 354, 2442, 275, 3768, 357, 1485, 33047 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8727, 550, 262, 1029, 2173, 618, 442, 2442, 275, 3768, 357, 1485, 8, 550, 262, 1029, 18841, 30, 46506, 366, 11922, 2173, 1, 16034, 3084, 62, 34483, 2857, 33411, 366, 11922, 18841, 1, 796, 705, 354, 2442, 275, 3768, 357, 1485, 33047 ]
Show the type of school and the number of buses for each type, and I want to list by the y axis in descending.
SELECT Type, COUNT(*) FROM school_bus AS T1 JOIN school AS T2 ON T1.School_ID = T2.School_ID GROUP BY T2.Type ORDER BY COUNT(*) DESC
[ 15307, 262, 2099, 286, 1524, 290, 262, 1271, 286, 16893, 329, 1123, 2099, 11, 290, 314, 765, 284, 1351, 416, 262, 331, 16488, 287, 31491, 13, 46506, 5994, 11, 327, 28270, 7, 28104, 16034, 1524, 62, 10885, 7054, 309, 16, 32357, 1268, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 15307, 262, 2099, 286, 1524, 290, 262, 1271, 286, 16893, 329, 1123, 2099, 11, 290, 314, 765, 284, 1351, 416, 262, 331, 16488, 287, 31491, 13, 46506, 5994, 11, 327, 28270, 7, 28104, 16034, 1524, 62, 10885, 7054, 309, 16, 32357, 1268, ...
What was the score when the way team was Wrexham?
SELECT "Score" FROM table_62190 WHERE "Away team" = 'wrexham'
[ 2061, 373, 262, 4776, 618, 262, 835, 1074, 373, 370, 21510, 2763, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 5237, 19782, 33411, 366, 32, 1014, 1074, 1, 796, 705, 86, 21510, 2763, 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, 373, 262, 4776, 618, 262, 835, 1074, 373, 370, 21510, 2763, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 5237, 19782, 33411, 366, 32, 1014, 1074, 1, 796, 705, 86, 21510, 2763, 6 ]
What is the name of the minister from the party of minister for community safety and legal affairs?
SELECT name FROM table_name_45 WHERE party = "minister for community safety and legal affairs"
[ 2061, 318, 262, 1438, 286, 262, 5342, 422, 262, 2151, 286, 5342, 329, 2055, 3747, 290, 2742, 9674, 30, 46506, 1438, 16034, 3084, 62, 3672, 62, 2231, 33411, 2151, 796, 366, 1084, 1694, 329, 2055, 3747, 290, 2742, 9674, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5342, 422, 262, 2151, 286, 5342, 329, 2055, 3747, 290, 2742, 9674, 30, 46506, 1438, 16034, 3084, 62, 3672, 62, 2231, 33411, 2151, 796, 366, 1084, 1694, 329, 2055, 3747, 290, 2742, 9674, 1 ]
provide the number of patients whose marital status is divorced and admission year is less than 2115?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.marital_status = "DIVORCED" AND demographic.admityear < "2115"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 29555, 3722, 318, 25107, 290, 13938, 614, 318, 1342, 621, 362, 15363, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 3876, 1287, 62...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15234, 485, 262, 1271, 286, 3871, 3025, 29555, 3722, 318, 25107, 290, 13938, 614, 318, 1342, 621, 362, 15363, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 3876, 1287, 62...
What is the number of the pick for round 11?
SELECT SUM(pick) FROM table_name_15 WHERE round = 11
[ 2061, 318, 262, 1271, 286, 262, 2298, 329, 2835, 1367, 30, 46506, 35683, 7, 27729, 8, 16034, 3084, 62, 3672, 62, 1314, 33411, 2835, 796, 1367 ]
[ 1, 1, 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, 1271, 286, 262, 2298, 329, 2835, 1367, 30, 46506, 35683, 7, 27729, 8, 16034, 3084, 62, 3672, 62, 1314, 33411, 2835, 796, 1367 ]
since 2100 was docusate sodium 100 mg po caps prescribed to patient 006-123134?
SELECT COUNT(*) > 0 FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-123134')) AND medication.drugname = 'docusate sodium 100 mg po caps' A...
[ 20777, 38123, 373, 2205, 385, 378, 21072, 1802, 10527, 745, 11022, 14798, 284, 5827, 3571, 21, 12, 10163, 19880, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 14103, 33411, 14103, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 20777, 38123, 373, 2205, 385, 378, 21072, 1802, 10527, 745, 11022, 14798, 284, 5827, 3571, 21, 12, 10163, 19880, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 14103, 33411, 14103, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827,...
What position does the player from the Arizona Diamondbacks play?
SELECT position FROM table_name_6 WHERE team = "arizona diamondbacks"
[ 2061, 2292, 857, 262, 2137, 422, 262, 7943, 13566, 10146, 711, 30, 46506, 2292, 16034, 3084, 62, 3672, 62, 21, 33411, 1074, 796, 366, 283, 528, 4450, 15291, 10146, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 2292, 857, 262, 2137, 422, 262, 7943, 13566, 10146, 711, 30, 46506, 2292, 16034, 3084, 62, 3672, 62, 21, 33411, 1074, 796, 366, 283, 528, 4450, 15291, 10146, 1 ]
provide the number of patients who had mch lab test and were hospitalized for more than 6 days.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.days_stay > "6" AND lab.label = "MCH"
[ 15234, 485, 262, 1271, 286, 3871, 508, 550, 285, 354, 2248, 1332, 290, 547, 31736, 329, 517, 621, 718, 1528, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 15234, 485, 262, 1271, 286, 3871, 508, 550, 285, 354, 2248, 1332, 290, 547, 31736, 329, 517, 621, 718, 1528, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, ...
What was the attendance when the VFL played Glenferrie Oval?
SELECT SUM(crowd) FROM table_name_82 WHERE venue = "glenferrie oval"
[ 2061, 373, 262, 14858, 618, 262, 569, 3697, 2826, 20716, 2232, 5034, 25165, 30, 46506, 35683, 7, 66, 3986, 8, 16034, 3084, 62, 3672, 62, 6469, 33411, 14359, 796, 366, 4743, 268, 2232, 5034, 41186, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14858, 618, 262, 569, 3697, 2826, 20716, 2232, 5034, 25165, 30, 46506, 35683, 7, 66, 3986, 8, 16034, 3084, 62, 3672, 62, 6469, 33411, 14359, 796, 366, 4743, 268, 2232, 5034, 41186, 1 ]
What is the lowest area km2 of the member state of the Czech Republic and has a population in millions lesss than 10.3?
SELECT MIN(area_km_2) FROM table_name_61 WHERE member_state = "czech republic" AND population_in_millions < 10.3
[ 2061, 318, 262, 9016, 1989, 10571, 17, 286, 262, 2888, 1181, 286, 262, 16639, 2066, 290, 468, 257, 3265, 287, 5242, 1342, 82, 621, 838, 13, 18, 30, 46506, 20625, 7, 20337, 62, 13276, 62, 17, 8, 16034, 3084, 62, 3672, 62, 5333, 334...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1989, 10571, 17, 286, 262, 2888, 1181, 286, 262, 16639, 2066, 290, 468, 257, 3265, 287, 5242, 1342, 82, 621, 838, 13, 18, 30, 46506, 20625, 7, 20337, 62, 13276, 62, 17, 8, 16034, 3084, 62, 3672, 62, 5333, 334...
How many numbers were recorded under McCain when Obama had 27.2% voters?
SELECT COUNT("McCain#") FROM table_73222 WHERE "Obama%" = '27.2%'
[ 2437, 867, 3146, 547, 6264, 739, 14264, 618, 2486, 550, 2681, 13, 17, 4, 4446, 30, 46506, 327, 28270, 7203, 30464, 391, 2, 4943, 16034, 3084, 62, 4790, 23148, 33411, 366, 15948, 39658, 796, 705, 1983, 13, 17, 4, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 3146, 547, 6264, 739, 14264, 618, 2486, 550, 2681, 13, 17, 4, 4446, 30, 46506, 327, 28270, 7203, 30464, 391, 2, 4943, 16034, 3084, 62, 4790, 23148, 33411, 366, 15948, 39658, 796, 705, 1983, 13, 17, 4, 6 ]
provide the number of patients whose primary disease is aortic valve insuffiency\aortic valve replacement /sda and lab test abnormal status is abnormal?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.diagnosis = "AORTIC VALVE INSUFFIENCY\AORTIC VALVE REPLACEMENT /SDA" AND lab.flag = "abnormal"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 4165, 4369, 318, 257, 419, 291, 22580, 1035, 1648, 6160, 59, 64, 419, 291, 22580, 9014, 1220, 82, 6814, 290, 2248, 1332, 18801, 3722, 318, 18801, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3871, 3025, 4165, 4369, 318, 257, 419, 291, 22580, 1035, 1648, 6160, 59, 64, 419, 291, 22580, 9014, 1220, 82, 6814, 290, 2248, 1332, 18801, 3722, 318, 18801, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, ...
WHAT IS THE TO PAR WITH A FINISH OF T11, FOR DAVID GRAHAM?
SELECT to_par FROM table_name_23 WHERE finish = "t11" AND player = "david graham"
[ 32971, 3180, 3336, 5390, 29463, 13315, 317, 33642, 18422, 3963, 309, 1157, 11, 7473, 42274, 2389, 402, 3861, 33363, 30, 46506, 284, 62, 1845, 16034, 3084, 62, 3672, 62, 1954, 33411, 5461, 796, 366, 83, 1157, 1, 5357, 2137, 796, 366, 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 ]
[ 32971, 3180, 3336, 5390, 29463, 13315, 317, 33642, 18422, 3963, 309, 1157, 11, 7473, 42274, 2389, 402, 3861, 33363, 30, 46506, 284, 62, 1845, 16034, 3084, 62, 3672, 62, 1954, 33411, 5461, 796, 366, 83, 1157, 1, 5357, 2137, 796, 366, 6...
Most controversial users of the site. Controversity: SUM(MIN(Downs, Ups) per post) / Reputation
WITH Raw AS (SELECT Posts.Id, MIN(Posts.OwnerUserId) AS UserId, COUNT(CASE WHEN Votes.VoteTypeId = 2 THEN 1 END) AS Ups, COUNT(CASE WHEN Votes.VoteTypeId = 3 THEN 1 END) AS Downs FROM Posts, Votes WHERE Posts.Id = Votes.PostId AND Votes.VoteTypeId BETWEEN 2 AND 3 AND Posts.OwnerUserId > 0 GROUP BY Posts.Id), Raw2 AS (S...
[ 6943, 8381, 2985, 286, 262, 2524, 13, 2345, 31257, 414, 25, 35683, 7, 23678, 7, 8048, 82, 11, 35949, 8, 583, 1281, 8, 1220, 1432, 7094, 54, 10554, 16089, 7054, 357, 46506, 12043, 13, 7390, 11, 20625, 7, 21496, 13, 42419, 12982, 7390...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 6943, 8381, 2985, 286, 262, 2524, 13, 2345, 31257, 414, 25, 35683, 7, 23678, 7, 8048, 82, 11, 35949, 8, 583, 1281, 8, 1220, 1432, 7094, 54, 10554, 16089, 7054, 357, 46506, 12043, 13, 7390, 11, 20625, 7, 21496, 13, 42419, 12982, 7390...
What is the low point total when there are over 5 games?
SELECT MIN("Points") FROM table_36130 WHERE "Games" > '5'
[ 2061, 318, 262, 1877, 966, 2472, 618, 612, 389, 625, 642, 1830, 30, 46506, 20625, 7203, 40710, 4943, 16034, 3084, 62, 2623, 12952, 33411, 366, 24474, 1, 1875, 705, 20, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1877, 966, 2472, 618, 612, 389, 625, 642, 1830, 30, 46506, 20625, 7203, 40710, 4943, 16034, 3084, 62, 2623, 12952, 33411, 366, 24474, 1, 1875, 705, 20, 6 ]
what are the top three medications that were prescribed to mouth and jaw tumor - oral cavity squamous cell ca female patients of the 60 or above during the same month after they have been diagnosed with mouth and jaw tumor - oral cavity squamous cell ca?
SELECT t3.drugname FROM (SELECT t2.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'mouth and jaw tumor - oral cavity squamous cell ca...
[ 10919, 389, 262, 1353, 1115, 17638, 326, 547, 14798, 284, 5422, 290, 19218, 22359, 532, 12886, 31643, 2809, 10877, 2685, 1275, 4048, 3871, 286, 262, 3126, 393, 2029, 1141, 262, 976, 1227, 706, 484, 423, 587, 14641, 351, 5422, 290, 19218...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 389, 262, 1353, 1115, 17638, 326, 547, 14798, 284, 5422, 290, 19218, 22359, 532, 12886, 31643, 2809, 10877, 2685, 1275, 4048, 3871, 286, 262, 3126, 393, 2029, 1141, 262, 976, 1227, 706, 484, 423, 587, 14641, 351, 5422, 290, 19218...
How many tourist attractions for each attraction name? Visualize by a bar chart, sort the total number in desc order please.
SELECT Name, COUNT(*) FROM Tourist_Attractions AS T1 JOIN Visits AS T2 ON T1.Tourist_Attraction_ID = T2.Tourist_Attraction_ID GROUP BY T2.Tourist_Attraction_ID ORDER BY COUNT(*) DESC
[ 2437, 867, 18473, 29156, 329, 1123, 17416, 1438, 30, 15612, 1096, 416, 257, 2318, 8262, 11, 3297, 262, 2472, 1271, 287, 1715, 1502, 3387, 13, 46506, 6530, 11, 327, 28270, 7, 28104, 16034, 9852, 396, 62, 8086, 37810, 7054, 309, 16, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2437, 867, 18473, 29156, 329, 1123, 17416, 1438, 30, 15612, 1096, 416, 257, 2318, 8262, 11, 3297, 262, 2472, 1271, 287, 1715, 1502, 3387, 13, 46506, 6530, 11, 327, 28270, 7, 28104, 16034, 9852, 396, 62, 8086, 37810, 7054, 309, 16, 323...
Bar chart x axis log entry description y axis the number of log entry description, and I want to order y-axis in ascending order.
SELECT log_entry_description, COUNT(log_entry_description) FROM Problem_Log GROUP BY log_entry_description ORDER BY COUNT(log_entry_description)
[ 10374, 8262, 2124, 16488, 2604, 5726, 6764, 331, 16488, 262, 1271, 286, 2604, 5726, 6764, 11, 290, 314, 765, 284, 1502, 331, 12, 22704, 287, 41988, 1502, 13, 46506, 2604, 62, 13000, 62, 11213, 11, 327, 28270, 7, 6404, 62, 13000, 62, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10374, 8262, 2124, 16488, 2604, 5726, 6764, 331, 16488, 262, 1271, 286, 2604, 5726, 6764, 11, 290, 314, 765, 284, 1502, 331, 12, 22704, 287, 41988, 1502, 13, 46506, 2604, 62, 13000, 62, 11213, 11, 327, 28270, 7, 6404, 62, 13000, 62, ...
What is the try bonus when there are 492 points?
SELECT try_bonus FROM table_name_90 WHERE points_against = "492"
[ 2061, 318, 262, 1949, 7202, 618, 612, 389, 5125, 17, 2173, 30, 46506, 1949, 62, 4189, 385, 16034, 3084, 62, 3672, 62, 3829, 33411, 2173, 62, 32826, 796, 366, 40256, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 1949, 7202, 618, 612, 389, 5125, 17, 2173, 30, 46506, 1949, 62, 4189, 385, 16034, 3084, 62, 3672, 62, 3829, 33411, 2173, 62, 32826, 796, 366, 40256, 1 ]
Name the score for when the opponent in the final is shiho hisamatsu
SELECT "Score" FROM table_51700 WHERE "Opponent in the final" = 'shiho hisamatsu'
[ 5376, 262, 4776, 329, 618, 262, 6125, 287, 262, 2457, 318, 427, 4449, 78, 465, 321, 19231, 46506, 366, 26595, 1, 16034, 3084, 62, 48170, 405, 33411, 366, 27524, 3471, 287, 262, 2457, 1, 796, 705, 1477, 4449, 78, 465, 321, 19231, 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 ]
[ 5376, 262, 4776, 329, 618, 262, 6125, 287, 262, 2457, 318, 427, 4449, 78, 465, 321, 19231, 46506, 366, 26595, 1, 16034, 3084, 62, 48170, 405, 33411, 366, 27524, 3471, 287, 262, 2457, 1, 796, 705, 1477, 4449, 78, 465, 321, 19231, 6 ]
What are the cities/towns located in the municipality of Horten?
SELECT city_town FROM table_157826_1 WHERE municipality = "Horten"
[ 2061, 389, 262, 4736, 14, 12735, 82, 5140, 287, 262, 27264, 286, 31693, 268, 30, 46506, 1748, 62, 12735, 16034, 3084, 62, 1314, 3695, 2075, 62, 16, 33411, 27264, 796, 366, 39, 419, 268, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4736, 14, 12735, 82, 5140, 287, 262, 27264, 286, 31693, 268, 30, 46506, 1748, 62, 12735, 16034, 3084, 62, 1314, 3695, 2075, 62, 16, 33411, 27264, 796, 366, 39, 419, 268, 1 ]