instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
How many gold medals were won by the nation that won over 4 silver medals, over 14 bronze, and 97 medals total?
SELECT COUNT("Gold") FROM table_66257 WHERE "Silver" > '4' AND "Bronze" > '14' AND "Total" = '97'
[ 2437, 867, 3869, 28057, 547, 1839, 416, 262, 3277, 326, 1839, 625, 604, 8465, 28057, 11, 625, 1478, 22101, 11, 290, 10111, 28057, 2472, 30, 46506, 327, 28270, 7203, 13306, 4943, 16034, 3084, 62, 2791, 28676, 33411, 366, 26766, 1, 1875, 705, 19, 6, 5357, 366, 18760, 2736, 1, 1875, 705, 1415, 6, 5357, 366, 14957, 1, 796, 705, 5607, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 3869, 28057, 547, 1839, 416, 262, 3277, 326, 1839, 625, 604, 8465, 28057, 11, 625, 1478, 22101, 11, 290, 10111, 28057, 2472, 30, 46506, 327, 28270, 7203, 13306, 4943, 16034, 3084, 62, 2791, 28676, 33411, 366, 26766, 1, 1875, 705, 19, 6, 5357, 366, 18760, 2736, 1, 1875, 705, 1415, 6, 5357, 366, 14957, 1, 796, 705, 5607, 6 ]
hot topics at ACL 2014
SELECT DISTINCT COUNT(paper.paperid), keyphrase.keyphraseid FROM keyphrase, paper, paperkeyphrase, venue WHERE paperkeyphrase.keyphraseid = keyphrase.keyphraseid AND paper.paperid = paperkeyphrase.paperid AND paper.year = 2014 AND venue.venueid = paper.venueid AND venue.venuename = 'ACL' GROUP BY keyphrase.keyphraseid ORDER BY COUNT(paper.paperid) DESC
[ 8940, 10233, 379, 17382, 1946, 46506, 360, 8808, 1268, 4177, 327, 28270, 7, 20189, 13, 20189, 312, 828, 1994, 34675, 13, 2539, 34675, 312, 16034, 1994, 34675, 11, 3348, 11, 3348, 2539, 34675, 11, 14359, 33411, 3348, 2539, 34675, 13, 2539, 34675, 312, 796, 1994, 34675, 13, 2539, 34675, 312, 5357, 3348, 13, 20189, 312, 796, 3348, 2539, 34675, 13, 20189, 312, 5357, 3348, 13, 1941, 796, 1946, 5357, 14359, 13, 4080, 312, 796, 3348, 13, 4080, 312, 5357, 14359, 13, 574, 84, 12453, 796, 705, 2246, 43, 6, 44441, 11050, 1994, 34675, 13, 2539, 34675, 312, 38678, 11050, 327 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8940, 10233, 379, 17382, 1946, 46506, 360, 8808, 1268, 4177, 327, 28270, 7, 20189, 13, 20189, 312, 828, 1994, 34675, 13, 2539, 34675, 312, 16034, 1994, 34675, 11, 3348, 11, 3348, 2539, 34675, 11, 14359, 33411, 3348, 2539, 34675, 13, 2539, 34675, 312, 796, 1994, 34675, 13, 2539, 34675, 312, 5357, 3348, 13, 20189, 312, 796, 3348, 2539, 34675, 13, 20189, 312, 5357, 3348, 13, 1941, 796, 1946, 5357, 14359, 13, 4080, 312, 796, 3348, 13, 4080, 312, 5357, 14359, 13, 574, 84, 12453, 796, 705, 2246, 43, 6, 44441, 11050, 1994, 34675, 13, 2539, 34675, 312, 38678, 11050, 327 ]
Who was the opposing team when the status is second test?
SELECT "Opposing Teams" FROM table_61136 WHERE "Status" = 'second test'
[ 8241, 373, 262, 12330, 1074, 618, 262, 3722, 318, 1218, 1332, 30, 46506, 366, 27524, 2752, 24690, 1, 16034, 3084, 62, 21, 1157, 2623, 33411, 366, 19580, 1, 796, 705, 12227, 1332, 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 ]
[ 8241, 373, 262, 12330, 1074, 618, 262, 3722, 318, 1218, 1332, 30, 46506, 366, 27524, 2752, 24690, 1, 16034, 3084, 62, 21, 1157, 2623, 33411, 366, 19580, 1, 796, 705, 12227, 1332, 6 ]
What were the number of laps led by the driver with a finish position of 14?
SELECT laps AS Led FROM table_name_38 WHERE fin_pos = "14"
[ 2061, 547, 262, 1271, 286, 24590, 2957, 416, 262, 4639, 351, 257, 5461, 2292, 286, 1478, 30, 46506, 24590, 7054, 22964, 16034, 3084, 62, 3672, 62, 2548, 33411, 957, 62, 1930, 796, 366, 1415, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 547, 262, 1271, 286, 24590, 2957, 416, 262, 4639, 351, 257, 5461, 2292, 286, 1478, 30, 46506, 24590, 7054, 22964, 16034, 3084, 62, 3672, 62, 2548, 33411, 957, 62, 1930, 796, 366, 1415, 1 ]
Who were the opponents in the final when the game was played on hard surface and the score of the final was 6 1, 1 6, 7 6(4)?
SELECT "Opponents in Final" FROM table_7729 WHERE "Surface" = 'hard' AND "Score in Final" = '6–1, 1–6, 7–6(4)'
[ 8241, 547, 262, 7691, 287, 262, 2457, 618, 262, 983, 373, 2826, 319, 1327, 4417, 290, 262, 4776, 286, 262, 2457, 373, 718, 352, 11, 352, 718, 11, 767, 718, 7, 19, 19427, 46506, 366, 27524, 3906, 287, 8125, 1, 16034, 3084, 62, 3324, 1959, 33411, 366, 14214, 2550, 1, 796, 705, 10424, 6, 5357, 366, 26595, 287, 8125, 1, 796, 705, 21, 1906, 16, 11, 352, 1906, 21, 11, 767, 1906, 21, 7, 19, 33047 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 547, 262, 7691, 287, 262, 2457, 618, 262, 983, 373, 2826, 319, 1327, 4417, 290, 262, 4776, 286, 262, 2457, 373, 718, 352, 11, 352, 718, 11, 767, 718, 7, 19, 19427, 46506, 366, 27524, 3906, 287, 8125, 1, 16034, 3084, 62, 3324, 1959, 33411, 366, 14214, 2550, 1, 796, 705, 10424, 6, 5357, 366, 26595, 287, 8125, 1, 796, 705, 21, 1906, 16, 11, 352, 1906, 21, 11, 767, 1906, 21, 7, 19, 33047 ]
How much Distance has a County of faulkner, and a Total smaller than 1.5?
SELECT SUM("Distance") FROM table_64574 WHERE "County" = 'faulkner' AND "Total" < '1.5'
[ 2437, 881, 34600, 468, 257, 3418, 286, 277, 2518, 74, 1008, 11, 290, 257, 7472, 4833, 621, 352, 13, 20, 30, 46506, 35683, 7203, 45767, 4943, 16034, 3084, 62, 49259, 4524, 33411, 366, 12332, 88, 1, 796, 705, 69, 2518, 74, 1008, 6, 5357, 366, 14957, 1, 1279, 705, 16, 13, 20, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 881, 34600, 468, 257, 3418, 286, 277, 2518, 74, 1008, 11, 290, 257, 7472, 4833, 621, 352, 13, 20, 30, 46506, 35683, 7203, 45767, 4943, 16034, 3084, 62, 49259, 4524, 33411, 366, 12332, 88, 1, 796, 705, 69, 2518, 74, 1008, 6, 5357, 366, 14957, 1, 1279, 705, 16, 13, 20, 6 ]
how many french restaurants are there in palo alto ?
SELECT COUNT(*) FROM location, restaurant WHERE location.city_name = 'palo alto' AND restaurant.food_type = 'french' AND restaurant.id = location.restaurant_id
[ 4919, 867, 48718, 10808, 389, 612, 287, 6340, 78, 435, 1462, 5633, 46506, 327, 28270, 7, 28104, 16034, 4067, 11, 7072, 33411, 4067, 13, 19205, 62, 3672, 796, 705, 79, 7335, 435, 1462, 6, 5357, 7072, 13, 19425, 62, 4906, 796, 705, 69, 3532, 6, 5357, 7072, 13, 312, 796, 4067, 13, 2118, 2899, 415, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 48718, 10808, 389, 612, 287, 6340, 78, 435, 1462, 5633, 46506, 327, 28270, 7, 28104, 16034, 4067, 11, 7072, 33411, 4067, 13, 19205, 62, 3672, 796, 705, 79, 7335, 435, 1462, 6, 5357, 7072, 13, 19425, 62, 4906, 796, 705, 69, 3532, 6, 5357, 7072, 13, 312, 796, 4067, 13, 2118, 2899, 415, 62, 312 ]
Which Series has a Score of 0 6?
SELECT "Series" FROM table_5099 WHERE "Score" = '0–6'
[ 13828, 7171, 468, 257, 15178, 286, 657, 718, 30, 46506, 366, 27996, 1, 16034, 3084, 62, 1120, 2079, 33411, 366, 26595, 1, 796, 705, 15, 1906, 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 ]
[ 13828, 7171, 468, 257, 15178, 286, 657, 718, 30, 46506, 366, 27996, 1, 16034, 3084, 62, 1120, 2079, 33411, 366, 26595, 1, 796, 705, 15, 1906, 21, 6 ]
When did the duchess who became duchess on 7/8 April 1766 cease to be duchess?
SELECT "Ceased to be Duchess" FROM table_37104 WHERE "Became Duchess" = '7/8 april 1766'
[ 2215, 750, 262, 288, 1229, 33979, 508, 2627, 288, 1229, 33979, 319, 767, 14, 23, 3035, 1596, 2791, 13468, 284, 307, 288, 1229, 33979, 30, 46506, 366, 34, 68, 839, 284, 307, 40289, 1, 16034, 3084, 62, 2718, 13464, 33411, 366, 39649, 480, 40289, 1, 796, 705, 22, 14, 23, 46593, 346, 1596, 2791, 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 ]
[ 2215, 750, 262, 288, 1229, 33979, 508, 2627, 288, 1229, 33979, 319, 767, 14, 23, 3035, 1596, 2791, 13468, 284, 307, 288, 1229, 33979, 30, 46506, 366, 34, 68, 839, 284, 307, 40289, 1, 16034, 3084, 62, 2718, 13464, 33411, 366, 39649, 480, 40289, 1, 796, 705, 22, 14, 23, 46593, 346, 1596, 2791, 6 ]
What was the production code for the episode that debuted October 1, 1993?
SELECT MAX(production_code) FROM table_2468961_4 WHERE original_air_date = "October 1, 1993"
[ 2061, 373, 262, 3227, 2438, 329, 262, 4471, 326, 26376, 3267, 352, 11, 9656, 30, 46506, 25882, 7, 25493, 62, 8189, 8, 16034, 3084, 62, 1731, 3104, 4846, 16, 62, 19, 33411, 2656, 62, 958, 62, 4475, 796, 366, 18517, 352, 11, 9656, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3227, 2438, 329, 262, 4471, 326, 26376, 3267, 352, 11, 9656, 30, 46506, 25882, 7, 25493, 62, 8189, 8, 16034, 3084, 62, 1731, 3104, 4846, 16, 62, 19, 33411, 2656, 62, 958, 62, 4475, 796, 366, 18517, 352, 11, 9656, 1 ]
when patient 22295 first got an operation?
SELECT procedures_icd.charttime FROM procedures_icd WHERE procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 22295) ORDER BY procedures_icd.charttime LIMIT 1
[ 12518, 5827, 27795, 3865, 717, 1392, 281, 4905, 30, 46506, 9021, 62, 291, 67, 13, 40926, 2435, 16034, 9021, 62, 291, 67, 33411, 9021, 62, 291, 67, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 27795, 3865, 8, 38678, 11050, 9021, 62, 291, 67, 13, 40926, 2435, 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, 1, 1, 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, 27795, 3865, 717, 1392, 281, 4905, 30, 46506, 9021, 62, 291, 67, 13, 40926, 2435, 16034, 9021, 62, 291, 67, 33411, 9021, 62, 291, 67, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 27795, 3865, 8, 38678, 11050, 9021, 62, 291, 67, 13, 40926, 2435, 27564, 2043, 352 ]
What is the ICAO of Lohausen airport?
SELECT icao FROM table_name_2 WHERE airport = "lohausen airport"
[ 2061, 318, 262, 314, 8141, 46, 286, 406, 1219, 8717, 268, 9003, 30, 46506, 220, 3970, 78, 16034, 3084, 62, 3672, 62, 17, 33411, 9003, 796, 366, 75, 1219, 8717, 268, 9003, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 314, 8141, 46, 286, 406, 1219, 8717, 268, 9003, 30, 46506, 220, 3970, 78, 16034, 3084, 62, 3672, 62, 17, 33411, 9003, 796, 366, 75, 1219, 8717, 268, 9003, 1 ]
provide the number of patients whose ethnicity is white and diagnosis long title is personal history of hodgkin's disease
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.ethnicity = "WHITE" AND diagnoses.long_title = "Personal history of hodgkin's disease"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 26289, 318, 2330, 290, 13669, 890, 3670, 318, 2614, 2106, 286, 289, 375, 70, 5116, 338, 4369, 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, 18108, 76, 62, 312, 33411, 16728, 13, 38546, 414, 796, 366, 12418, 12709, 1, 5357, 40567, 13, 6511, 62, 7839, 796, 366, 30228, 2106, 286, 289, 375, 70, 5116, 338, 4369, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 26289, 318, 2330, 290, 13669, 890, 3670, 318, 2614, 2106, 286, 289, 375, 70, 5116, 338, 4369, 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, 18108, 76, 62, 312, 33411, 16728, 13, 38546, 414, 796, 366, 12418, 12709, 1, 5357, 40567, 13, 6511, 62, 7839, 796, 366, 30228, 2106, 286, 289, 375, 70, 5116, 338, 4369, 1 ]
What is the census ranking when the area is 78.67 ?
SELECT "Census Ranking" FROM table_1602 WHERE "Area km 2" = '78.67'
[ 2061, 318, 262, 21649, 12759, 618, 262, 1989, 318, 8699, 13, 3134, 5633, 46506, 366, 34, 7314, 45407, 1, 16034, 3084, 62, 1433, 2999, 33411, 366, 30547, 10571, 362, 1, 796, 705, 3695, 13, 3134, 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, 262, 21649, 12759, 618, 262, 1989, 318, 8699, 13, 3134, 5633, 46506, 366, 34, 7314, 45407, 1, 16034, 3084, 62, 1433, 2999, 33411, 366, 30547, 10571, 362, 1, 796, 705, 3695, 13, 3134, 6 ]
Look for the birth date and type of admission for Jerry Deberry.
SELECT demographic.dob, demographic.admission_type FROM demographic WHERE demographic.name = "Jerry Deberry"
[ 8567, 329, 262, 4082, 3128, 290, 2099, 286, 13938, 329, 13075, 1024, 8396, 13, 46506, 16728, 13, 67, 672, 11, 16728, 13, 324, 3411, 62, 4906, 16034, 16728, 33411, 16728, 13, 3672, 796, 366, 43462, 1024, 8396, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 262, 4082, 3128, 290, 2099, 286, 13938, 329, 13075, 1024, 8396, 13, 46506, 16728, 13, 67, 672, 11, 16728, 13, 324, 3411, 62, 4906, 16034, 16728, 33411, 16728, 13, 3672, 796, 366, 43462, 1024, 8396, 1 ]
when did patient 11426 until 05/05/2102 for the last time have an intake?
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 = 11426)) AND STRFTIME('%y-%m-%d', inputevents_cv.charttime) <= '2102-05-05' ORDER BY inputevents_cv.charttime DESC LIMIT 1
[ 12518, 750, 5827, 17342, 2075, 1566, 8870, 14, 2713, 14, 17, 15377, 329, 262, 938, 640, 423, 281, 10337, 30, 46506, 287, 79, 1133, 85, 658, 62, 33967, 13, 40926, 2435, 16034, 287, 79, 1133, 85, 658, 62, 33967, 33411, 287, 79, 1133, 85, 658, 62, 33967, 13, 291, 436, 323, 62, 312, 3268, 357, 46506, 14158, 436, 592, 13, 291, 436, 323, 62, 312, 16034, 14158, 436, 592, 33411, 14158, 436, 592, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 17342, 2075, 4008, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17342, 2075, 1566, 8870, 14, 2713, 14, 17, 15377, 329, 262, 938, 640, 423, 281, 10337, 30, 46506, 287, 79, 1133, 85, 658, 62, 33967, 13, 40926, 2435, 16034, 287, 79, 1133, 85, 658, 62, 33967, 33411, 287, 79, 1133, 85, 658, 62, 33967, 13, 291, 436, 323, 62, 312, 3268, 357, 46506, 14158, 436, 592, 13, 291, 436, 323, 62, 312, 16034, 14158, 436, 592, 33411, 14158, 436, 592, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 17342, 2075, 4008, 5357 ]
when did patient 021-213732 last get prescribed for percocet 5/325 tab and pantoprazole at the same time the last month?
SELECT t1.drugstarttime FROM (SELECT patient.uniquepid, medication.drugstarttime FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid WHERE medication.drugname = 'percocet 5/325 tab' AND patient.uniquepid = '021-213732' AND DATETIME(medication.drugstarttime, 'start of month') = DATETIME(CURRENT_TIME(), 'start of month', '-1 month')) AS t1 JOIN (SELECT patient.uniquepid, medication.drugstarttime FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid WHERE medication.drugname = 'pantoprazole' AND patient.uniquepid = '021-213732' AND DATETIME(medication.drugstarttime, 'start of month') = DATETIME(CURRENT_TIME(), 'start of month', '-1 month')) AS t2 ON t1.uniquepid = t2.uniquepid WHERE DATETIME(t1.drugstarttime) = DATETIME(t2.drugstarttime) ORDER BY t1.drugstarttime DESC LIMIT 1
[ 12518, 750, 5827, 657, 2481, 12, 17, 19708, 2624, 938, 651, 14798, 329, 583, 66, 420, 316, 642, 14, 26582, 7400, 290, 15857, 404, 3247, 2305, 379, 262, 976, 640, 262, 938, 1227, 30, 46506, 256, 16, 13, 30349, 9688, 2435, 16034, 357, 46506, 5827, 13, 403, 1557, 538, 312, 11, 14103, 13, 30349, 9688, 2435, 16034, 14103, 32357, 1268, 5827, 6177, 14103, 13, 26029, 20850, 31712, 312, 796, 5827, 13, 26029, 20850, 31712, 312, 33411, 14103, 13, 30349, 3672, 796, 705, 525, 66, 420, 316, 642, 14, 26582, 7400, 6, 5357, 5827, 13, 403, 1557, 538, 312, 796, 705 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 657, 2481, 12, 17, 19708, 2624, 938, 651, 14798, 329, 583, 66, 420, 316, 642, 14, 26582, 7400, 290, 15857, 404, 3247, 2305, 379, 262, 976, 640, 262, 938, 1227, 30, 46506, 256, 16, 13, 30349, 9688, 2435, 16034, 357, 46506, 5827, 13, 403, 1557, 538, 312, 11, 14103, 13, 30349, 9688, 2435, 16034, 14103, 32357, 1268, 5827, 6177, 14103, 13, 26029, 20850, 31712, 312, 796, 5827, 13, 26029, 20850, 31712, 312, 33411, 14103, 13, 30349, 3672, 796, 705, 525, 66, 420, 316, 642, 14, 26582, 7400, 6, 5357, 5827, 13, 403, 1557, 538, 312, 796, 705 ]
How many losses had a total of 17 and more than 10 wins?
SELECT COUNT("Losses") FROM table_39747 WHERE "Total" = '17' AND "Wins" > '10'
[ 2437, 867, 9089, 550, 257, 2472, 286, 1596, 290, 517, 621, 838, 7864, 30, 46506, 327, 28270, 7203, 43, 793, 274, 4943, 16034, 3084, 62, 33372, 2857, 33411, 366, 14957, 1, 796, 705, 1558, 6, 5357, 366, 54, 1040, 1, 1875, 705, 940, 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 ]
[ 2437, 867, 9089, 550, 257, 2472, 286, 1596, 290, 517, 621, 838, 7864, 30, 46506, 327, 28270, 7203, 43, 793, 274, 4943, 16034, 3084, 62, 33372, 2857, 33411, 366, 14957, 1, 796, 705, 1558, 6, 5357, 366, 54, 1040, 1, 1875, 705, 940, 6 ]
what is the number of emergency hospital admission patients who were born before 2056?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_type = "EMERGENCY" AND demographic.dob_year < "2056"
[ 10919, 318, 262, 1271, 286, 6334, 4436, 13938, 3871, 508, 547, 4642, 878, 1160, 3980, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, 4906, 796, 366, 3620, 49837, 45155, 1, 5357, 16728, 13, 67, 672, 62, 1941, 1279, 366, 1238, 3980, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 1271, 286, 6334, 4436, 13938, 3871, 508, 547, 4642, 878, 1160, 3980, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, 4906, 796, 366, 3620, 49837, 45155, 1, 5357, 16728, 13, 67, 672, 62, 1941, 1279, 366, 1238, 3980, 1 ]
until 2103 what was the top three most common diagnoses that patients received within 2 months after receiving packed cell transfusion?
SELECT d_icd_diagnoses.short_title FROM d_icd_diagnoses WHERE d_icd_diagnoses.icd9_code IN (SELECT t3.icd9_code FROM (SELECT t2.icd9_code, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, procedures_icd.charttime FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'packed cell transfusion') AND STRFTIME('%y', procedures_icd.charttime) <= '2103') AS t1 JOIN (SELECT admissions.subject_id, diagnoses_icd.icd9_code, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE STRFTIME('%y', diagnoses_icd.charttime) <= '2103') AS t2 ON t1.subject_id = t2.subject_id WHERE t1.charttime < t2.charttime AND DATETIME(t2.charttime) BETWEEN DATETIME(t1.charttime) AND DATETIME(t1.charttime, '+2 month') GROUP BY t2.icd9_code) AS t3 WHERE t3.c1 <= 3)
[ 28446, 362, 15197, 644, 373, 262, 1353, 1115, 749, 2219, 40567, 326, 3871, 2722, 1626, 362, 1933, 706, 6464, 11856, 2685, 13501, 4241, 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, 13, 291, 67, 24, 62, 8189, 3268, 357, 46506, 256, 18, 13, 291, 67, 24, 62, 8189, 16034, 357, 46506, 256, 17, 13, 291, 67, 24, 62, 8189, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, 7, 28104, 22196, 34, 8, 7054 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 28446, 362, 15197, 644, 373, 262, 1353, 1115, 749, 2219, 40567, 326, 3871, 2722, 1626, 362, 1933, 706, 6464, 11856, 2685, 13501, 4241, 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, 13, 291, 67, 24, 62, 8189, 3268, 357, 46506, 256, 18, 13, 291, 67, 24, 62, 8189, 16034, 357, 46506, 256, 17, 13, 291, 67, 24, 62, 8189, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, 7, 28104, 22196, 34, 8, 7054 ]
tell me the first value of lactate in patient 022-187132 in their current hospital visit?
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 = '022-187132' AND patient.hospitaldischargetime IS NULL)) AND lab.labname = 'lactate' ORDER BY lab.labresulttime LIMIT 1
[ 33331, 502, 262, 717, 1988, 286, 26222, 378, 287, 5827, 657, 1828, 12, 23451, 19924, 287, 511, 1459, 4436, 3187, 30, 46506, 2248, 13, 23912, 20274, 16034, 2248, 33411, 2248, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 44087, 12, 23451, 19924, 6, 5357, 5827, 13, 49257, 6381, 354, 7641, 524, 3180, 15697, 4008, 5357, 2248, 13, 23912, 3672, 796, 705, 75, 529 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 33331, 502, 262, 717, 1988, 286, 26222, 378, 287, 5827, 657, 1828, 12, 23451, 19924, 287, 511, 1459, 4436, 3187, 30, 46506, 2248, 13, 23912, 20274, 16034, 2248, 33411, 2248, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 44087, 12, 23451, 19924, 6, 5357, 5827, 13, 49257, 6381, 354, 7641, 524, 3180, 15697, 4008, 5357, 2248, 13, 23912, 3672, 796, 705, 75, 529 ]
bring the number of patients less than 68 years who were admitted before 2198.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.age < "68" AND demographic.admityear < "2198"
[ 48580, 262, 1271, 286, 3871, 1342, 621, 8257, 812, 508, 547, 6848, 878, 362, 22337, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 496, 1279, 366, 3104, 1, 5357, 16728, 13, 324, 76, 414, 451, 1279, 366, 17, 22337, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 48580, 262, 1271, 286, 3871, 1342, 621, 8257, 812, 508, 547, 6848, 878, 362, 22337, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 496, 1279, 366, 3104, 1, 5357, 16728, 13, 324, 76, 414, 451, 1279, 366, 17, 22337, 1 ]
What is every value for % 20-39 if % 60-74 is 10,46%?
SELECT "% 20-39" FROM table_26176 WHERE "% 60-74" = '10,46%'
[ 2061, 318, 790, 1988, 329, 4064, 1160, 12, 2670, 611, 4064, 3126, 12, 4524, 318, 838, 11, 3510, 4, 30, 46506, 36521, 1160, 12, 2670, 1, 16034, 3084, 62, 2075, 24096, 33411, 36521, 3126, 12, 4524, 1, 796, 705, 940, 11, 3510, 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, 1, 1, 1, 1 ]
[ 2061, 318, 790, 1988, 329, 4064, 1160, 12, 2670, 611, 4064, 3126, 12, 4524, 318, 838, 11, 3510, 4, 30, 46506, 36521, 1160, 12, 2670, 1, 16034, 3084, 62, 2075, 24096, 33411, 36521, 3126, 12, 4524, 1, 796, 705, 940, 11, 3510, 4, 6 ]
Name the sepal length for sepal width of 2.8 and petal length of 5.1
SELECT "Sepal length" FROM table_16137 WHERE "Sepal width" = '2.8' AND "Petal length" = '5.1'
[ 5376, 262, 384, 18596, 4129, 329, 384, 18596, 9647, 286, 362, 13, 23, 290, 4273, 282, 4129, 286, 642, 13, 16, 46506, 366, 19117, 282, 4129, 1, 16034, 3084, 62, 1433, 19708, 33411, 366, 19117, 282, 9647, 1, 796, 705, 17, 13, 23, 6, 5357, 366, 25803, 282, 4129, 1, 796, 705, 20, 13, 16, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 384, 18596, 4129, 329, 384, 18596, 9647, 286, 362, 13, 23, 290, 4273, 282, 4129, 286, 642, 13, 16, 46506, 366, 19117, 282, 4129, 1, 16034, 3084, 62, 1433, 19708, 33411, 366, 19117, 282, 9647, 1, 796, 705, 17, 13, 23, 6, 5357, 366, 25803, 282, 4129, 1, 796, 705, 20, 13, 16, 6 ]
what is the highest wickets when the best bowling is 2/32 and matches is less than 5?
SELECT MAX(wickets) FROM table_name_33 WHERE best_bowling = "2/32" AND matches < 5
[ 10919, 318, 262, 4511, 266, 15970, 618, 262, 1266, 33564, 318, 362, 14, 2624, 290, 7466, 318, 1342, 621, 642, 30, 46506, 25882, 7, 86, 15970, 8, 16034, 3084, 62, 3672, 62, 2091, 33411, 1266, 62, 8176, 1359, 796, 366, 17, 14, 2624, 1, 5357, 7466, 1279, 642 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 4511, 266, 15970, 618, 262, 1266, 33564, 318, 362, 14, 2624, 290, 7466, 318, 1342, 621, 642, 30, 46506, 25882, 7, 86, 15970, 8, 16034, 3084, 62, 3672, 62, 2091, 33411, 1266, 62, 8176, 1359, 796, 366, 17, 14, 2624, 1, 5357, 7466, 1279, 642 ]
When gaoliang is the commandery what is the commandery capital?
SELECT commandery AS capital FROM table_278229_1 WHERE commandery = "Gaoliang 高涼"
[ 2215, 31986, 11106, 648, 318, 262, 3141, 1924, 644, 318, 262, 3141, 1924, 3139, 30, 46506, 3141, 1924, 7054, 3139, 16034, 3084, 62, 25870, 23539, 62, 16, 33411, 3141, 1924, 796, 366, 35389, 11106, 648, 16268, 45865, 162, 114, 120, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 31986, 11106, 648, 318, 262, 3141, 1924, 644, 318, 262, 3141, 1924, 3139, 30, 46506, 3141, 1924, 7054, 3139, 16034, 3084, 62, 25870, 23539, 62, 16, 33411, 3141, 1924, 796, 366, 35389, 11106, 648, 16268, 45865, 162, 114, 120, 1 ]
Top users by average score in a given tag (non-CW posts).
SELECT a.OwnerUserId AS "user_link", a.OwnerDisplayName, AVG(CAST(a.Score AS FLOAT)) AS "average_score", SUM(a.Score) AS "total_score", COUNT(a.Id) AS "num_answers" FROM Posts AS a JOIN Posts AS q ON a.ParentId = q.Id WHERE a.PostTypeId = 2 AND q.Tags LIKE '%<##tagName##>%' AND a.CommunityOwnedDate IS NULL GROUP BY a.OwnerUserId, a.OwnerDisplayName HAVING COUNT(a.Score) >= '##min?5##' ORDER BY AVG(a.Score) DESC LIMIT 100
[ 9126, 2985, 416, 2811, 4776, 287, 257, 1813, 7621, 357, 13159, 12, 43538, 6851, 737, 46506, 257, 13, 42419, 12982, 7390, 7054, 366, 7220, 62, 8726, 1600, 257, 13, 42419, 23114, 5376, 11, 35224, 7, 44647, 7, 64, 13, 26595, 7054, 9977, 46, 1404, 4008, 7054, 366, 23913, 62, 26675, 1600, 35683, 7, 64, 13, 26595, 8, 7054, 366, 23350, 62, 26675, 1600, 327, 28270, 7, 64, 13, 7390, 8, 7054, 366, 22510, 62, 504, 86, 364, 1, 16034, 12043, 7054, 257, 32357, 1268, 12043, 7054, 10662, 6177, 257, 13, 24546, 7390, 796, 10662, 13, 7390, 33411, 257, 13, 6307 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 9126, 2985, 416, 2811, 4776, 287, 257, 1813, 7621, 357, 13159, 12, 43538, 6851, 737, 46506, 257, 13, 42419, 12982, 7390, 7054, 366, 7220, 62, 8726, 1600, 257, 13, 42419, 23114, 5376, 11, 35224, 7, 44647, 7, 64, 13, 26595, 7054, 9977, 46, 1404, 4008, 7054, 366, 23913, 62, 26675, 1600, 35683, 7, 64, 13, 26595, 8, 7054, 366, 23350, 62, 26675, 1600, 327, 28270, 7, 64, 13, 7390, 8, 7054, 366, 22510, 62, 504, 86, 364, 1, 16034, 12043, 7054, 257, 32357, 1268, 12043, 7054, 10662, 6177, 257, 13, 24546, 7390, 796, 10662, 13, 7390, 33411, 257, 13, 6307 ]
How many were in Attendance on October 8?
SELECT COUNT("Attendance") FROM table_46455 WHERE "Date" = 'october 8'
[ 2437, 867, 547, 287, 46502, 590, 319, 3267, 807, 30, 46506, 327, 28270, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 3510, 30505, 33411, 366, 10430, 1, 796, 705, 38441, 2023, 807, 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 ]
[ 2437, 867, 547, 287, 46502, 590, 319, 3267, 807, 30, 46506, 327, 28270, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 3510, 30505, 33411, 366, 10430, 1, 796, 705, 38441, 2023, 807, 6 ]
What circuit was the British Grand Prix?
SELECT circuit FROM table_name_92 WHERE race = "british grand prix"
[ 2061, 10349, 373, 262, 3517, 5675, 23832, 30, 46506, 10349, 16034, 3084, 62, 3672, 62, 5892, 33411, 3234, 796, 366, 65, 799, 680, 4490, 1293, 87, 1 ]
[ 1, 1, 1, 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, 10349, 373, 262, 3517, 5675, 23832, 30, 46506, 10349, 16034, 3084, 62, 3672, 62, 5892, 33411, 3234, 796, 366, 65, 799, 680, 4490, 1293, 87, 1 ]
Who is the player with a t8 place?
SELECT "Player" FROM table_43688 WHERE "Place" = 't8'
[ 8241, 318, 262, 2137, 351, 257, 256, 23, 1295, 30, 46506, 366, 14140, 1, 16034, 3084, 62, 43690, 3459, 33411, 366, 27271, 1, 796, 705, 83, 23, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 318, 262, 2137, 351, 257, 256, 23, 1295, 30, 46506, 366, 14140, 1, 16034, 3084, 62, 43690, 3459, 33411, 366, 27271, 1, 796, 705, 83, 23, 6 ]
What is the lowest number of gold medals the nation with less than 0 silver medals has?
SELECT MIN(gold) FROM table_name_67 WHERE silver < 0
[ 2061, 318, 262, 9016, 1271, 286, 3869, 28057, 262, 3277, 351, 1342, 621, 657, 8465, 28057, 468, 30, 46506, 20625, 7, 24267, 8, 16034, 3084, 62, 3672, 62, 3134, 33411, 8465, 1279, 657 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 9016, 1271, 286, 3869, 28057, 262, 3277, 351, 1342, 621, 657, 8465, 28057, 468, 30, 46506, 20625, 7, 24267, 8, 16034, 3084, 62, 3672, 62, 3134, 33411, 8465, 1279, 657 ]
what is the number of times that the heat is 3 and the name is cxhristy ekpukhon ihunaegbo?
SELECT COUNT("Lane") FROM table_43862 WHERE "Heat" = '3' AND "Name" = 'cxhristy ekpukhon ihunaegbo'
[ 10919, 318, 262, 1271, 286, 1661, 326, 262, 4894, 318, 513, 290, 262, 1438, 318, 43213, 71, 1585, 88, 304, 74, 79, 2724, 24130, 1312, 71, 9613, 1533, 2127, 30, 46506, 327, 28270, 7203, 43, 1531, 4943, 16034, 3084, 62, 43704, 5237, 33411, 366, 39596, 1, 796, 705, 18, 6, 5357, 366, 5376, 1, 796, 705, 66, 87, 71, 1585, 88, 304, 74, 79, 2724, 24130, 1312, 71, 9613, 1533, 2127, 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, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 1271, 286, 1661, 326, 262, 4894, 318, 513, 290, 262, 1438, 318, 43213, 71, 1585, 88, 304, 74, 79, 2724, 24130, 1312, 71, 9613, 1533, 2127, 30, 46506, 327, 28270, 7203, 43, 1531, 4943, 16034, 3084, 62, 43704, 5237, 33411, 366, 39596, 1, 796, 705, 18, 6, 5357, 366, 5376, 1, 796, 705, 66, 87, 71, 1585, 88, 304, 74, 79, 2724, 24130, 1312, 71, 9613, 1533, 2127, 6 ]
is the systemicmean of patient 032-24135 less last measured on the current icu visit than it was first measured on the current icu visit?
SELECT (SELECT vitalperiodic.systemicmean FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '032-24135') AND patient.unitdischargetime IS NULL) AND NOT vitalperiodic.systemicmean IS NULL ORDER BY vitalperiodic.observationtime DESC LIMIT 1) < (SELECT vitalperiodic.systemicmean FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '032-24135') AND patient.unitdischargetime IS NULL) AND NOT vitalperiodic.systemicmean IS NULL ORDER BY vitalperiodic.observationtime LIMIT 1)
[ 271, 262, 21971, 32604, 286, 5827, 657, 2624, 12, 1731, 17059, 1342, 938, 8630, 319, 262, 1459, 14158, 84, 3187, 621, 340, 373, 717, 8630, 319, 262, 1459, 14158, 84, 3187, 30, 46506, 357, 46506, 9204, 41007, 291, 13, 10057, 291, 32604, 16034, 9204, 41007, 291, 33411, 9204, 41007, 291, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 49959, 12, 1731, 17059, 11537 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 271, 262, 21971, 32604, 286, 5827, 657, 2624, 12, 1731, 17059, 1342, 938, 8630, 319, 262, 1459, 14158, 84, 3187, 621, 340, 373, 717, 8630, 319, 262, 1459, 14158, 84, 3187, 30, 46506, 357, 46506, 9204, 41007, 291, 13, 10057, 291, 32604, 16034, 9204, 41007, 291, 33411, 9204, 41007, 291, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 49959, 12, 1731, 17059, 11537 ]
What was the court surface on year 1971?
SELECT "Surface" FROM table_24153 WHERE "Year" = '1971'
[ 2061, 373, 262, 2184, 4417, 319, 614, 16382, 30, 46506, 366, 14214, 2550, 1, 16034, 3084, 62, 1731, 21395, 33411, 366, 17688, 1, 796, 705, 41208, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 2184, 4417, 319, 614, 16382, 30, 46506, 366, 14214, 2550, 1, 16034, 3084, 62, 1731, 21395, 33411, 366, 17688, 1, 796, 705, 41208, 6 ]
what is minimum days of hospital stay of patients whose primary disease is newborn?
SELECT MIN(demographic.days_stay) FROM demographic WHERE demographic.diagnosis = "NEWBORN"
[ 10919, 318, 5288, 1528, 286, 4436, 2652, 286, 3871, 3025, 4165, 4369, 318, 23856, 30, 46506, 20625, 7, 9536, 6826, 13, 12545, 62, 31712, 8, 16034, 16728, 33411, 16728, 13, 47356, 5958, 796, 366, 13965, 33, 30649, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5288, 1528, 286, 4436, 2652, 286, 3871, 3025, 4165, 4369, 318, 23856, 30, 46506, 20625, 7, 9536, 6826, 13, 12545, 62, 31712, 8, 16034, 16728, 33411, 16728, 13, 47356, 5958, 796, 366, 13965, 33, 30649, 1 ]
how many skiers finished at least under the 39 minute mark ?
SELECT COUNT("name") FROM table_204_81 WHERE "time" IS NULL AND "time" < 39
[ 4919, 867, 1341, 3183, 5201, 379, 1551, 739, 262, 5014, 5664, 1317, 5633, 46506, 327, 28270, 7203, 3672, 4943, 16034, 3084, 62, 18638, 62, 6659, 33411, 366, 2435, 1, 3180, 15697, 5357, 366, 2435, 1, 1279, 5014 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1341, 3183, 5201, 379, 1551, 739, 262, 5014, 5664, 1317, 5633, 46506, 327, 28270, 7203, 3672, 4943, 16034, 3084, 62, 18638, 62, 6659, 33411, 366, 2435, 1, 3180, 15697, 5357, 366, 2435, 1, 1279, 5014 ]
How many seasons did Apocalypstix place 2nd?
SELECT COUNT("Season") FROM table_31265 WHERE "Apocalypstix" = '2nd'
[ 2437, 867, 7028, 750, 5949, 12063, 79, 301, 844, 1295, 362, 358, 30, 46506, 327, 28270, 7203, 18960, 4943, 16034, 3084, 62, 27970, 2996, 33411, 366, 25189, 12063, 79, 301, 844, 1, 796, 705, 17, 358, 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 ]
[ 2437, 867, 7028, 750, 5949, 12063, 79, 301, 844, 1295, 362, 358, 30, 46506, 327, 28270, 7203, 18960, 4943, 16034, 3084, 62, 27970, 2996, 33411, 366, 25189, 12063, 79, 301, 844, 1, 796, 705, 17, 358, 6 ]
Which is easier between EECS 597 and EECS 521 ?
SELECT DISTINCT course.number FROM course INNER JOIN program_course ON program_course.course_id = course.course_id WHERE (course.number = 597 OR course.number = 521) AND program_course.workload = (SELECT MIN(PROGRAM_COURSEalias1.workload) FROM program_course AS PROGRAM_COURSEalias1 INNER JOIN course AS COURSEalias1 ON PROGRAM_COURSEalias1.course_id = COURSEalias1.course_id WHERE (COURSEalias1.number = 597 OR COURSEalias1.number = 521) AND COURSEalias1.department = 'EECS')
[ 13828, 318, 4577, 1022, 412, 2943, 50, 642, 5607, 290, 412, 2943, 50, 642, 2481, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 17618, 16034, 1781, 3268, 21479, 32357, 1268, 1430, 62, 17319, 6177, 1430, 62, 17319, 13, 17319, 62, 312, 796, 1781, 13, 17319, 62, 312, 33411, 357, 17319, 13, 17618, 796, 642, 5607, 6375, 1781, 13, 17618, 796, 642, 2481, 8, 5357, 1430, 62, 17319, 13, 1818, 2220, 796, 357, 46506, 20625, 7, 4805, 7730, 24115, 62, 34, 11698, 5188, 26011, 16, 13, 1818, 2220, 8, 16034, 1430, 62, 17319, 7054, 46805, 62, 34, 11698, 5188, 26011, 16 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 318, 4577, 1022, 412, 2943, 50, 642, 5607, 290, 412, 2943, 50, 642, 2481, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 17618, 16034, 1781, 3268, 21479, 32357, 1268, 1430, 62, 17319, 6177, 1430, 62, 17319, 13, 17319, 62, 312, 796, 1781, 13, 17319, 62, 312, 33411, 357, 17319, 13, 17618, 796, 642, 5607, 6375, 1781, 13, 17618, 796, 642, 2481, 8, 5357, 1430, 62, 17319, 13, 1818, 2220, 796, 357, 46506, 20625, 7, 4805, 7730, 24115, 62, 34, 11698, 5188, 26011, 16, 13, 1818, 2220, 8, 16034, 1430, 62, 17319, 7054, 46805, 62, 34, 11698, 5188, 26011, 16 ]
what is average days of hospital stay of patients whose admission location is transfer from hosp/extram?
SELECT AVG(demographic.days_stay) FROM demographic WHERE demographic.admission_location = "TRANSFER FROM HOSP/EXTRAM"
[ 10919, 318, 2811, 1528, 286, 4436, 2652, 286, 3871, 3025, 13938, 4067, 318, 4351, 422, 10496, 14, 2302, 859, 30, 46506, 35224, 7, 9536, 6826, 13, 12545, 62, 31712, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, 24886, 796, 366, 5446, 15037, 24302, 16034, 367, 47053, 14, 6369, 5446, 2390, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 2811, 1528, 286, 4436, 2652, 286, 3871, 3025, 13938, 4067, 318, 4351, 422, 10496, 14, 2302, 859, 30, 46506, 35224, 7, 9536, 6826, 13, 12545, 62, 31712, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, 24886, 796, 366, 5446, 15037, 24302, 16034, 367, 47053, 14, 6369, 5446, 2390, 1 ]
What is the lowest Total for Italy with less than 0 silver?
SELECT MIN(total) FROM table_name_32 WHERE nation = "italy" AND silver < 0
[ 2061, 318, 262, 9016, 7472, 329, 8031, 351, 1342, 621, 657, 8465, 30, 46506, 20625, 7, 23350, 8, 16034, 3084, 62, 3672, 62, 2624, 33411, 3277, 796, 366, 1287, 88, 1, 5357, 8465, 1279, 657 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 9016, 7472, 329, 8031, 351, 1342, 621, 657, 8465, 30, 46506, 20625, 7, 23350, 8, 16034, 3084, 62, 3672, 62, 2624, 33411, 3277, 796, 366, 1287, 88, 1, 5357, 8465, 1279, 657 ]
Name the premiere for 8 episodes
SELECT "Premiere" FROM table_2743 WHERE "Number of episodes" = '8'
[ 5376, 262, 19245, 329, 807, 8640, 46506, 366, 24914, 13235, 1, 16034, 3084, 62, 1983, 3559, 33411, 366, 15057, 286, 8640, 1, 796, 705, 23, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 19245, 329, 807, 8640, 46506, 366, 24914, 13235, 1, 16034, 3084, 62, 1983, 3559, 33411, 366, 15057, 286, 8640, 1, 796, 705, 23, 6 ]
When did the Summer Olympics occur in Tokyo?
SELECT "Summer Olympics" FROM table_11925 WHERE "City" = 'tokyo'
[ 2215, 750, 262, 10216, 14935, 3051, 287, 11790, 30, 46506, 366, 33560, 14935, 1, 16034, 3084, 62, 16315, 1495, 33411, 366, 14941, 1, 796, 705, 83, 482, 8226, 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 ]
[ 2215, 750, 262, 10216, 14935, 3051, 287, 11790, 30, 46506, 366, 33560, 14935, 1, 16034, 3084, 62, 16315, 1495, 33411, 366, 14941, 1, 796, 705, 83, 482, 8226, 6 ]
If the stadium name is the Thuwunna Stadium, what is the date?
SELECT date FROM table_25428629_1 WHERE stadium = "Thuwunna stadium"
[ 1532, 262, 10308, 1438, 318, 262, 26223, 86, 403, 2616, 10499, 11, 644, 318, 262, 3128, 30, 46506, 3128, 16034, 3084, 62, 24970, 27033, 1959, 62, 16, 33411, 10308, 796, 366, 39902, 86, 403, 2616, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1532, 262, 10308, 1438, 318, 262, 26223, 86, 403, 2616, 10499, 11, 644, 318, 262, 3128, 30, 46506, 3128, 16034, 3084, 62, 24970, 27033, 1959, 62, 16, 33411, 10308, 796, 366, 39902, 86, 403, 2616, 10308, 1 ]
What's the Bronze that's also got a Godl of Kim Woo-Jin?
SELECT "Bronze" FROM table_37011 WHERE "Gold" = 'kim woo-jin'
[ 2061, 338, 262, 19461, 326, 338, 635, 1392, 257, 1793, 75, 286, 6502, 39832, 12, 41, 259, 30, 46506, 366, 18760, 2736, 1, 16034, 3084, 62, 2718, 28555, 33411, 366, 13306, 1, 796, 705, 74, 320, 36440, 12, 18594, 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 ]
[ 2061, 338, 262, 19461, 326, 338, 635, 1392, 257, 1793, 75, 286, 6502, 39832, 12, 41, 259, 30, 46506, 366, 18760, 2736, 1, 16034, 3084, 62, 2718, 28555, 33411, 366, 13306, 1, 796, 705, 74, 320, 36440, 12, 18594, 6 ]
Show me about the distribution of All_Home and the sum of School_ID , and group by attribute All_Home in a bar chart, and show y axis in descending order.
SELECT All_Home, SUM(School_ID) FROM basketball_match GROUP BY All_Home ORDER BY SUM(School_ID) DESC
[ 15307, 502, 546, 262, 6082, 286, 1439, 62, 16060, 290, 262, 2160, 286, 3961, 62, 2389, 837, 290, 1448, 416, 11688, 1439, 62, 16060, 287, 257, 2318, 8262, 11, 290, 905, 331, 16488, 287, 31491, 1502, 13, 46506, 1439, 62, 16060, 11, 35683, 7, 26130, 62, 2389, 8, 16034, 9669, 62, 15699, 44441, 11050, 1439, 62, 16060, 38678, 11050, 35683, 7, 26130, 62, 2389, 8, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 502, 546, 262, 6082, 286, 1439, 62, 16060, 290, 262, 2160, 286, 3961, 62, 2389, 837, 290, 1448, 416, 11688, 1439, 62, 16060, 287, 257, 2318, 8262, 11, 290, 905, 331, 16488, 287, 31491, 1502, 13, 46506, 1439, 62, 16060, 11, 35683, 7, 26130, 62, 2389, 8, 16034, 9669, 62, 15699, 44441, 11050, 1439, 62, 16060, 38678, 11050, 35683, 7, 26130, 62, 2389, 8, 22196, 34 ]
what number of female patients were diagnosed with suicidal ideation?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.gender = "F" AND diagnoses.long_title = "Suicidal ideation"
[ 10919, 1271, 286, 4048, 3871, 547, 14641, 351, 26781, 1405, 341, 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, 18108, 76, 62, 312, 33411, 16728, 13, 8388, 796, 366, 37, 1, 5357, 40567, 13, 6511, 62, 7839, 796, 366, 5606, 21488, 1405, 341, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1271, 286, 4048, 3871, 547, 14641, 351, 26781, 1405, 341, 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, 18108, 76, 62, 312, 33411, 16728, 13, 8388, 796, 366, 37, 1, 5357, 40567, 13, 6511, 62, 7839, 796, 366, 5606, 21488, 1405, 341, 1 ]
When was there a match in Centurion Park?
SELECT "Date" FROM table_70521 WHERE "Venue" = 'centurion park'
[ 2215, 373, 612, 257, 2872, 287, 1979, 40956, 3250, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 34801, 2481, 33411, 366, 37522, 518, 1, 796, 705, 1087, 40956, 3952, 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 ]
[ 2215, 373, 612, 257, 2872, 287, 1979, 40956, 3250, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 34801, 2481, 33411, 366, 37522, 518, 1, 796, 705, 1087, 40956, 3952, 6 ]
For those records from the products and each product's manufacturer, find founder and the average of manufacturer , and group by attribute founder, and visualize them by a bar chart.
SELECT Founder, AVG(Manufacturer) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 1064, 9119, 290, 262, 2811, 286, 11554, 837, 290, 1448, 416, 11688, 9119, 11, 290, 38350, 606, 416, 257, 2318, 8262, 13, 46506, 30153, 11, 35224, 7, 44445, 15051, 8, 16034, 18675, 7054, 309, 16, 32357, 1268, 17858, 17496, 7054, 309, 17, 6177, 309, 16, 13, 44445, 15051, 796, 309, 17, 13, 10669, 44441, 11050, 30153 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1064, 9119, 290, 262, 2811, 286, 11554, 837, 290, 1448, 416, 11688, 9119, 11, 290, 38350, 606, 416, 257, 2318, 8262, 13, 46506, 30153, 11, 35224, 7, 44445, 15051, 8, 16034, 18675, 7054, 309, 16, 32357, 1268, 17858, 17496, 7054, 309, 17, 6177, 309, 16, 13, 44445, 15051, 796, 309, 17, 13, 10669, 44441, 11050, 30153 ]
What's the pick for Georgia tech?
SELECT pick FROM table_name_94 WHERE college = "georgia tech"
[ 2061, 338, 262, 2298, 329, 7859, 7261, 30, 46506, 2298, 16034, 3084, 62, 3672, 62, 5824, 33411, 4152, 796, 366, 469, 2398, 544, 7261, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 338, 262, 2298, 329, 7859, 7261, 30, 46506, 2298, 16034, 3084, 62, 3672, 62, 5824, 33411, 4152, 796, 366, 469, 2398, 544, 7261, 1 ]
How many times is the couple laura and colin?
SELECT COUNT("Place") FROM table_31255 WHERE "Couple" = 'Laura and Colin'
[ 2437, 867, 1661, 318, 262, 3155, 300, 33830, 290, 951, 259, 30, 46506, 327, 28270, 7203, 27271, 4943, 16034, 3084, 62, 27970, 2816, 33411, 366, 34, 43846, 1, 796, 705, 43687, 290, 18373, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 1661, 318, 262, 3155, 300, 33830, 290, 951, 259, 30, 46506, 327, 28270, 7203, 27271, 4943, 16034, 3084, 62, 27970, 2816, 33411, 366, 34, 43846, 1, 796, 705, 43687, 290, 18373, 6 ]
what is the number of patients whose primary disease is st elevated myocardial infarction\cardiac cath and admission year is less than 2103?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "ST ELEVATED MYOCARDIAL INFARCTION\CARDIAC CATH" AND demographic.admityear < "2103"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 4165, 4369, 318, 336, 15321, 616, 44412, 498, 1167, 283, 596, 59, 9517, 9607, 32171, 290, 13938, 614, 318, 1342, 621, 362, 15197, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 47356, 5958, 796, 366, 2257, 40342, 53, 11617, 17615, 4503, 9795, 12576, 45594, 1503, 4177, 2849, 59, 34, 9795, 40, 2246, 327, 12599, 1, 5357, 16728, 13, 324, 76, 414, 451, 1279, 366, 17, 15197, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 1271, 286, 3871, 3025, 4165, 4369, 318, 336, 15321, 616, 44412, 498, 1167, 283, 596, 59, 9517, 9607, 32171, 290, 13938, 614, 318, 1342, 621, 362, 15197, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 47356, 5958, 796, 366, 2257, 40342, 53, 11617, 17615, 4503, 9795, 12576, 45594, 1503, 4177, 2849, 59, 34, 9795, 40, 2246, 327, 12599, 1, 5357, 16728, 13, 324, 76, 414, 451, 1279, 366, 17, 15197, 1 ]
in what year did jon stewart have the highest number of roles ?
SELECT "year" FROM table_202_7 GROUP BY "year" ORDER BY COUNT("role") DESC LIMIT 1
[ 259, 644, 614, 750, 474, 261, 20798, 433, 423, 262, 4511, 1271, 286, 9176, 5633, 46506, 366, 1941, 1, 16034, 3084, 62, 19004, 62, 22, 44441, 11050, 366, 1941, 1, 38678, 11050, 327, 28270, 7203, 18090, 4943, 22196, 34, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 259, 644, 614, 750, 474, 261, 20798, 433, 423, 262, 4511, 1271, 286, 9176, 5633, 46506, 366, 1941, 1, 16034, 3084, 62, 19004, 62, 22, 44441, 11050, 366, 1941, 1, 38678, 11050, 327, 28270, 7203, 18090, 4943, 22196, 34, 27564, 2043, 352 ]
What is the lowest amount of floors after rank 1 in the Trillium (residential) building?
SELECT MIN("Floors") FROM table_56384 WHERE "Rank" > '1' AND "Building" = 'the trillium (residential)'
[ 2061, 318, 262, 9016, 2033, 286, 18570, 706, 4279, 352, 287, 262, 833, 359, 1505, 357, 8154, 498, 8, 2615, 30, 46506, 20625, 7203, 33574, 669, 4943, 16034, 3084, 62, 3980, 22842, 33411, 366, 27520, 1, 1875, 705, 16, 6, 5357, 366, 25954, 1, 796, 705, 1169, 491, 359, 1505, 357, 8154, 498, 33047 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 9016, 2033, 286, 18570, 706, 4279, 352, 287, 262, 833, 359, 1505, 357, 8154, 498, 8, 2615, 30, 46506, 20625, 7203, 33574, 669, 4943, 16034, 3084, 62, 3980, 22842, 33411, 366, 27520, 1, 1875, 705, 16, 6, 5357, 366, 25954, 1, 796, 705, 1169, 491, 359, 1505, 357, 8154, 498, 33047 ]
What is the result for Steve Gonzalez?
SELECT "Result" FROM table_25172 WHERE "Name" = 'Steve Gonzalez'
[ 2061, 318, 262, 1255, 329, 6542, 24416, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 1495, 23628, 33411, 366, 5376, 1, 796, 705, 19206, 24416, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1255, 329, 6542, 24416, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 1495, 23628, 33411, 366, 5376, 1, 796, 705, 19206, 24416, 6 ]
What was Collingwood's score when they played against North Melbourne at home?
SELECT "Home team score" FROM table_57090 WHERE "Away team" = 'north melbourne'
[ 2061, 373, 7778, 278, 3822, 338, 4776, 618, 484, 2826, 1028, 2258, 14819, 379, 1363, 30, 46506, 366, 16060, 1074, 4776, 1, 16034, 3084, 62, 39254, 3829, 33411, 366, 32, 1014, 1074, 1, 796, 705, 43588, 7758, 12544, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 7778, 278, 3822, 338, 4776, 618, 484, 2826, 1028, 2258, 14819, 379, 1363, 30, 46506, 366, 16060, 1074, 4776, 1, 16034, 3084, 62, 39254, 3829, 33411, 366, 32, 1014, 1074, 1, 796, 705, 43588, 7758, 12544, 6 ]
how many patients are diagnosed with primary disease guillain barre syndrome and born before 2076?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "GUILLAIN BARRE SYNDROME" AND demographic.dob_year < "2076"
[ 4919, 867, 3871, 389, 14641, 351, 4165, 4369, 915, 359, 391, 2318, 260, 14027, 290, 4642, 878, 1160, 4304, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 47356, 5958, 796, 366, 38022, 8267, 29833, 31597, 2200, 19704, 45, 7707, 13649, 1, 5357, 16728, 13, 67, 672, 62, 1941, 1279, 366, 1238, 4304, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4165, 4369, 915, 359, 391, 2318, 260, 14027, 290, 4642, 878, 1160, 4304, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 47356, 5958, 796, 366, 38022, 8267, 29833, 31597, 2200, 19704, 45, 7707, 13649, 1, 5357, 16728, 13, 67, 672, 62, 1941, 1279, 366, 1238, 4304, 1 ]
Questions with more than n answers.
SELECT q.Id, q.Title, q.Body, q.AnswerCount, a.Id, a.Body, q.CreationDate, a.CreationDate, q.ClosedDate, a.ClosedDate, q.ViewCount, q.OwnerUserId, a.OwnerUserId, q.FavoriteCount FROM Posts AS q INNER JOIN Posts AS a ON a.ParentId = q.Id WHERE q.PostTypeId = 1 AND a.PostTypeId = 2 AND q.AnswerCount >= 10
[ 35741, 351, 517, 621, 299, 7429, 13, 46506, 10662, 13, 7390, 11, 10662, 13, 19160, 11, 10662, 13, 25842, 11, 10662, 13, 33706, 12332, 11, 257, 13, 7390, 11, 257, 13, 25842, 11, 10662, 13, 12443, 341, 10430, 11, 257, 13, 12443, 341, 10430, 11, 10662, 13, 2601, 1335, 10430, 11, 257, 13, 2601, 1335, 10430, 11, 10662, 13, 7680, 12332, 11, 10662, 13, 42419, 12982, 7390, 11, 257, 13, 42419, 12982, 7390, 11, 10662, 13, 49434, 12332, 16034, 12043, 7054, 10662, 3268, 21479, 32357, 1268, 12043, 7054, 257, 6177, 257, 13, 24546, 7390, 796, 10662, 13, 7390, 33411, 10662 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 35741, 351, 517, 621, 299, 7429, 13, 46506, 10662, 13, 7390, 11, 10662, 13, 19160, 11, 10662, 13, 25842, 11, 10662, 13, 33706, 12332, 11, 257, 13, 7390, 11, 257, 13, 25842, 11, 10662, 13, 12443, 341, 10430, 11, 257, 13, 12443, 341, 10430, 11, 10662, 13, 2601, 1335, 10430, 11, 257, 13, 2601, 1335, 10430, 11, 10662, 13, 7680, 12332, 11, 10662, 13, 42419, 12982, 7390, 11, 257, 13, 42419, 12982, 7390, 11, 10662, 13, 49434, 12332, 16034, 12043, 7054, 10662, 3268, 21479, 32357, 1268, 12043, 7054, 257, 6177, 257, 13, 24546, 7390, 796, 10662, 13, 7390, 33411, 10662 ]
When massachusetts 6th is the district what is the reason for vacancy?
SELECT reason_for_vacancy FROM table_2417445_4 WHERE district = "Massachusetts 6th"
[ 2215, 2347, 9770, 718, 400, 318, 262, 4783, 644, 318, 262, 1738, 329, 39836, 30, 46506, 1738, 62, 1640, 62, 85, 330, 3883, 16034, 3084, 62, 1731, 22985, 2231, 62, 19, 33411, 4783, 796, 366, 20273, 9770, 718, 400, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2347, 9770, 718, 400, 318, 262, 4783, 644, 318, 262, 1738, 329, 39836, 30, 46506, 1738, 62, 1640, 62, 85, 330, 3883, 16034, 3084, 62, 1731, 22985, 2231, 62, 19, 33411, 4783, 796, 366, 20273, 9770, 718, 400, 1 ]
what is the cost of hct?
SELECT DISTINCT cost.cost FROM cost WHERE cost.eventtype = 'lab' AND cost.eventid IN (SELECT lab.labid FROM lab WHERE lab.labname = 'hct')
[ 10919, 318, 262, 1575, 286, 289, 310, 30, 46506, 360, 8808, 1268, 4177, 1575, 13, 15805, 16034, 1575, 33411, 1575, 13, 15596, 4906, 796, 705, 23912, 6, 5357, 1575, 13, 15596, 312, 3268, 357, 46506, 2248, 13, 23912, 312, 16034, 2248, 33411, 2248, 13, 23912, 3672, 796, 705, 71, 310, 11537 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1575, 286, 289, 310, 30, 46506, 360, 8808, 1268, 4177, 1575, 13, 15805, 16034, 1575, 33411, 1575, 13, 15596, 4906, 796, 705, 23912, 6, 5357, 1575, 13, 15596, 312, 3268, 357, 46506, 2248, 13, 23912, 312, 16034, 2248, 33411, 2248, 13, 23912, 3672, 796, 705, 71, 310, 11537 ]
when was the ship completed when laid down is 21 august 1925?
SELECT completed FROM table_name_32 WHERE laid_down = "21 august 1925"
[ 12518, 373, 262, 4074, 5668, 618, 8104, 866, 318, 2310, 16339, 436, 36864, 30, 46506, 5668, 16034, 3084, 62, 3672, 62, 2624, 33411, 8104, 62, 2902, 796, 366, 2481, 16339, 436, 36864, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 373, 262, 4074, 5668, 618, 8104, 866, 318, 2310, 16339, 436, 36864, 30, 46506, 5668, 16034, 3084, 62, 3672, 62, 2624, 33411, 8104, 62, 2902, 796, 366, 2481, 16339, 436, 36864, 1 ]
What was the method in the fight against Chris Myers?
SELECT "Method" FROM table_9597 WHERE "Opponent" = 'chris myers'
[ 2061, 373, 262, 2446, 287, 262, 1907, 1028, 5180, 25434, 30, 46506, 366, 17410, 1, 16034, 3084, 62, 24, 43239, 33411, 366, 27524, 3471, 1, 796, 705, 354, 2442, 616, 364, 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, 2446, 287, 262, 1907, 1028, 5180, 25434, 30, 46506, 366, 17410, 1, 16034, 3084, 62, 24, 43239, 33411, 366, 27524, 3471, 1, 796, 705, 354, 2442, 616, 364, 6 ]
How many original air dates were there for episode 22?
SELECT COUNT("Original Airdate") FROM table_27109 WHERE "Episode Number" = '22'
[ 2437, 867, 2656, 1633, 9667, 547, 612, 329, 4471, 2534, 30, 46506, 327, 28270, 7203, 20556, 317, 1447, 378, 4943, 16034, 3084, 62, 1983, 14454, 33411, 366, 23758, 7913, 1, 796, 705, 1828, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 2656, 1633, 9667, 547, 612, 329, 4471, 2534, 30, 46506, 327, 28270, 7203, 20556, 317, 1447, 378, 4943, 16034, 3084, 62, 1983, 14454, 33411, 366, 23758, 7913, 1, 796, 705, 1828, 6 ]
What's the W rttemberg for Karlsruher FV happening after 1931?
SELECT "W\u00fcrttemberg" FROM table_63703 WHERE "Baden" = 'karlsruher fv' AND "Year" > '1931'
[ 2061, 338, 262, 370, 374, 926, 1491, 70, 329, 15415, 82, 622, 372, 376, 53, 5836, 706, 34625, 30, 46506, 366, 54, 59, 84, 405, 69, 6098, 926, 1491, 70, 1, 16034, 3084, 62, 5066, 36809, 33411, 366, 22069, 268, 1, 796, 705, 74, 7063, 82, 622, 372, 277, 85, 6, 5357, 366, 17688, 1, 1875, 705, 1129, 3132, 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 ]
[ 2061, 338, 262, 370, 374, 926, 1491, 70, 329, 15415, 82, 622, 372, 376, 53, 5836, 706, 34625, 30, 46506, 366, 54, 59, 84, 405, 69, 6098, 926, 1491, 70, 1, 16034, 3084, 62, 5066, 36809, 33411, 366, 22069, 268, 1, 796, 705, 74, 7063, 82, 622, 372, 277, 85, 6, 5357, 366, 17688, 1, 1875, 705, 1129, 3132, 6 ]
What rank has a mark of NM and is from India?
SELECT rank FROM table_name_85 WHERE mark = "nm" AND nationality = "india"
[ 2061, 4279, 468, 257, 1317, 286, 28692, 290, 318, 422, 3794, 30, 46506, 4279, 16034, 3084, 62, 3672, 62, 5332, 33411, 1317, 796, 366, 21533, 1, 5357, 29835, 796, 366, 521, 544, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 468, 257, 1317, 286, 28692, 290, 318, 422, 3794, 30, 46506, 4279, 16034, 3084, 62, 3672, 62, 5332, 33411, 1317, 796, 366, 21533, 1, 5357, 29835, 796, 366, 521, 544, 1 ]
If the census ranking is 231 of 5,008, what was the population?
SELECT population FROM table_171236_1 WHERE census_ranking = "231 of 5,008"
[ 1532, 262, 21649, 12759, 318, 34598, 286, 642, 11, 25257, 11, 644, 373, 262, 3265, 30, 46506, 3265, 16034, 3084, 62, 1558, 1065, 2623, 62, 16, 33411, 21649, 62, 28405, 796, 366, 25667, 286, 642, 11, 25257, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1532, 262, 21649, 12759, 318, 34598, 286, 642, 11, 25257, 11, 644, 373, 262, 3265, 30, 46506, 3265, 16034, 3084, 62, 1558, 1065, 2623, 62, 16, 33411, 21649, 62, 28405, 796, 366, 25667, 286, 642, 11, 25257, 1 ]
Name the number of wins for when points is 17
SELECT COUNT(wins) FROM table_14889048_1 WHERE points = 17
[ 5376, 262, 1271, 286, 7864, 329, 618, 2173, 318, 1596, 46506, 327, 28270, 7, 86, 1040, 8, 16034, 3084, 62, 1415, 3459, 3829, 2780, 62, 16, 33411, 2173, 796, 1596 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 1271, 286, 7864, 329, 618, 2173, 318, 1596, 46506, 327, 28270, 7, 86, 1040, 8, 16034, 3084, 62, 1415, 3459, 3829, 2780, 62, 16, 33411, 2173, 796, 1596 ]
do you have the fare for traveling from OAK airport to OAKLAND downtown
SELECT DISTINCT ground_service.ground_fare FROM airport, city, ground_service WHERE airport.airport_code = 'OAK' AND city.city_name = 'OAKLAND' AND ground_service.airport_code = airport.airport_code AND ground_service.city_code = city.city_code
[ 4598, 345, 423, 262, 14505, 329, 11300, 422, 440, 10206, 9003, 284, 440, 10206, 28182, 9436, 46506, 360, 8808, 1268, 4177, 2323, 62, 15271, 13, 2833, 62, 9496, 16034, 9003, 11, 1748, 11, 2323, 62, 15271, 33411, 9003, 13, 958, 634, 62, 8189, 796, 705, 46, 10206, 6, 5357, 1748, 13, 19205, 62, 3672, 796, 705, 46, 10206, 28182, 6, 5357, 2323, 62, 15271, 13, 958, 634, 62, 8189, 796, 9003, 13, 958, 634, 62, 8189, 5357, 2323, 62, 15271, 13, 19205, 62, 8189, 796, 1748, 13, 19205, 62, 8189 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4598, 345, 423, 262, 14505, 329, 11300, 422, 440, 10206, 9003, 284, 440, 10206, 28182, 9436, 46506, 360, 8808, 1268, 4177, 2323, 62, 15271, 13, 2833, 62, 9496, 16034, 9003, 11, 1748, 11, 2323, 62, 15271, 33411, 9003, 13, 958, 634, 62, 8189, 796, 705, 46, 10206, 6, 5357, 1748, 13, 19205, 62, 3672, 796, 705, 46, 10206, 28182, 6, 5357, 2323, 62, 15271, 13, 958, 634, 62, 8189, 796, 9003, 13, 958, 634, 62, 8189, 5357, 2323, 62, 15271, 13, 19205, 62, 8189, 796, 1748, 13, 19205, 62, 8189 ]
Let me know the route of administration of the medication with drug code ISOS10.
SELECT prescriptions.route FROM prescriptions WHERE prescriptions.formulary_drug_cd = "ISOS10"
[ 5756, 502, 760, 262, 6339, 286, 3662, 286, 262, 14103, 351, 2563, 2438, 3180, 2640, 940, 13, 46506, 34092, 13, 38629, 16034, 34092, 33411, 34092, 13, 687, 377, 560, 62, 30349, 62, 10210, 796, 366, 1797, 2640, 940, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5756, 502, 760, 262, 6339, 286, 3662, 286, 262, 14103, 351, 2563, 2438, 3180, 2640, 940, 13, 46506, 34092, 13, 38629, 16034, 34092, 33411, 34092, 13, 687, 377, 560, 62, 30349, 62, 10210, 796, 366, 1797, 2640, 940, 1 ]
Bar chart x axis date moved in y axis how many date moved in
SELECT date_moved_in, COUNT(date_moved_in) FROM Customer_Events
[ 10374, 8262, 2124, 16488, 3128, 3888, 287, 331, 16488, 703, 867, 3128, 3888, 287, 46506, 3128, 62, 76, 2668, 62, 259, 11, 327, 28270, 7, 4475, 62, 76, 2668, 62, 259, 8, 16034, 22092, 62, 37103 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3128, 3888, 287, 331, 16488, 703, 867, 3128, 3888, 287, 46506, 3128, 62, 76, 2668, 62, 259, 11, 327, 28270, 7, 4475, 62, 76, 2668, 62, 259, 8, 16034, 22092, 62, 37103 ]
when did patient 033-24126 last had the maximum number of -polys?
SELECT lab.labresulttime FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '033-24126')) AND lab.labname = '-polys' ORDER BY lab.labresult DESC, lab.labresulttime DESC LIMIT 1
[ 12518, 750, 5827, 657, 2091, 12, 1731, 19420, 938, 550, 262, 5415, 1271, 286, 532, 35428, 82, 30, 46506, 2248, 13, 23912, 20274, 2435, 16034, 2248, 33411, 2248, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 44427, 12, 1731, 19420, 6, 4008, 5357, 2248, 13, 23912, 3672, 796, 705, 12, 35428, 82, 6, 38678, 11050, 2248, 13, 23912, 20274, 22196, 34, 11, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 657, 2091, 12, 1731, 19420, 938, 550, 262, 5415, 1271, 286, 532, 35428, 82, 30, 46506, 2248, 13, 23912, 20274, 2435, 16034, 2248, 33411, 2248, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 44427, 12, 1731, 19420, 6, 4008, 5357, 2248, 13, 23912, 3672, 796, 705, 12, 35428, 82, 6, 38678, 11050, 2248, 13, 23912, 20274, 22196, 34, 11, 2248 ]
What is the mean number of laps when the grid was 8?
SELECT AVG("Laps") FROM table_11593 WHERE "Grid" = '8'
[ 2061, 318, 262, 1612, 1271, 286, 24590, 618, 262, 10706, 373, 807, 30, 46506, 35224, 7203, 43, 1686, 4943, 16034, 3084, 62, 1157, 49051, 33411, 366, 41339, 1, 796, 705, 23, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1612, 1271, 286, 24590, 618, 262, 10706, 373, 807, 30, 46506, 35224, 7203, 43, 1686, 4943, 16034, 3084, 62, 1157, 49051, 33411, 366, 41339, 1, 796, 705, 23, 6 ]
what is minimum age of patients whose insurance is government and admission year is greater than or equal to 2178?
SELECT MIN(demographic.age) FROM demographic WHERE demographic.insurance = "Government" AND demographic.admityear >= "2178"
[ 10919, 318, 5288, 2479, 286, 3871, 3025, 5096, 318, 1230, 290, 13938, 614, 318, 3744, 621, 393, 4961, 284, 362, 23188, 30, 46506, 20625, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 1040, 3874, 796, 366, 28848, 1, 5357, 16728, 13, 324, 76, 414, 451, 18189, 366, 17, 23188, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5288, 2479, 286, 3871, 3025, 5096, 318, 1230, 290, 13938, 614, 318, 3744, 621, 393, 4961, 284, 362, 23188, 30, 46506, 20625, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 1040, 3874, 796, 366, 28848, 1, 5357, 16728, 13, 324, 76, 414, 451, 18189, 366, 17, 23188, 1 ]
Who was Canada's lead?
SELECT "Lead" FROM table_34912 WHERE "Country" = 'canada'
[ 8241, 373, 3340, 338, 1085, 30, 46506, 366, 20451, 1, 16034, 3084, 62, 27371, 1065, 33411, 366, 33921, 1, 796, 705, 5171, 4763, 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 ]
[ 8241, 373, 3340, 338, 1085, 30, 46506, 366, 20451, 1, 16034, 3084, 62, 27371, 1065, 33411, 366, 33921, 1, 796, 705, 5171, 4763, 6 ]
Which air date had an 11 share
SELECT "Air Date" FROM table_16562 WHERE "Share" = '11'
[ 13828, 1633, 3128, 550, 281, 1367, 2648, 46506, 366, 16170, 7536, 1, 16034, 3084, 62, 1433, 43918, 33411, 366, 11649, 1, 796, 705, 1157, 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 ]
[ 13828, 1633, 3128, 550, 281, 1367, 2648, 46506, 366, 16170, 7536, 1, 16034, 3084, 62, 1433, 43918, 33411, 366, 11649, 1, 796, 705, 1157, 6 ]
when did patient 009-12985 the last time had urine catheter output until 2045 days ago?
SELECT intakeoutput.intakeoutputtime FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '009-12985')) AND intakeoutput.cellpath LIKE '%output%' AND intakeoutput.celllabel = 'urine catheter' AND DATETIME(intakeoutput.intakeoutputtime) <= DATETIME(CURRENT_TIME(), '-2045 day') ORDER BY intakeoutput.intakeoutputtime DESC LIMIT 1
[ 12518, 750, 5827, 3571, 24, 12, 1065, 42250, 262, 938, 640, 550, 18922, 3797, 43332, 5072, 1566, 1160, 2231, 1528, 2084, 30, 46506, 10337, 22915, 13, 600, 539, 22915, 2435, 16034, 10337, 22915, 33411, 10337, 22915, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 28694, 12, 1065, 42250, 6, 4008, 5357, 10337, 22915, 13, 3846, 6978, 34178, 705, 4, 22915, 4, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3571, 24, 12, 1065, 42250, 262, 938, 640, 550, 18922, 3797, 43332, 5072, 1566, 1160, 2231, 1528, 2084, 30, 46506, 10337, 22915, 13, 600, 539, 22915, 2435, 16034, 10337, 22915, 33411, 10337, 22915, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 28694, 12, 1065, 42250, 6, 4008, 5357, 10337, 22915, 13, 3846, 6978, 34178, 705, 4, 22915, 4, 6, 5357 ]
What is the Enrollment where Cougars is a Mascot?
SELECT SUM(enrollment) FROM table_name_66 WHERE mascot = "cougars"
[ 2061, 318, 262, 2039, 48108, 810, 15062, 25821, 318, 257, 337, 3372, 313, 30, 46506, 35683, 7, 268, 48108, 8, 16034, 3084, 62, 3672, 62, 2791, 33411, 37358, 796, 366, 66, 20805, 945, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2039, 48108, 810, 15062, 25821, 318, 257, 337, 3372, 313, 30, 46506, 35683, 7, 268, 48108, 8, 16034, 3084, 62, 3672, 62, 2791, 33411, 37358, 796, 366, 66, 20805, 945, 1 ]
Who was the high rebounder against charlotte?
SELECT "High rebounds" FROM table_72461 WHERE "Team" = 'Charlotte'
[ 8241, 373, 262, 1029, 23623, 263, 1028, 1149, 75, 11404, 30, 46506, 366, 11922, 18841, 1, 16034, 3084, 62, 22, 1731, 5333, 33411, 366, 15592, 1, 796, 705, 24453, 11404, 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, 373, 262, 1029, 23623, 263, 1028, 1149, 75, 11404, 30, 46506, 366, 11922, 18841, 1, 16034, 3084, 62, 22, 1731, 5333, 33411, 366, 15592, 1, 796, 705, 24453, 11404, 6 ]
List the builder from 1930.
SELECT builder FROM table_22481967_1 WHERE date = "1930"
[ 8053, 262, 27098, 422, 15533, 13, 46506, 27098, 16034, 3084, 62, 17, 23045, 42830, 62, 16, 33411, 3128, 796, 366, 1129, 1270, 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, 27098, 422, 15533, 13, 46506, 27098, 16034, 3084, 62, 17, 23045, 42830, 62, 16, 33411, 3128, 796, 366, 1129, 1270, 1 ]
what were the five most frequent medications that followed within the same month for those patients who received abscess drainage procedure - percutaneous since 2 years ago?
SELECT t3.drugname FROM (SELECT t2.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, treatment.treatmenttime FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'abscess drainage procedure - percutaneous' AND DATETIME(treatment.treatmenttime) >= DATETIME(CURRENT_TIME(), '-2 year')) AS t1 JOIN (SELECT patient.uniquepid, medication.drugname, medication.drugstarttime FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid WHERE DATETIME(medication.drugstarttime) >= DATETIME(CURRENT_TIME(), '-2 year')) AS t2 ON t1.uniquepid = t2.uniquepid WHERE t1.treatmenttime < t2.drugstarttime AND DATETIME(t1.treatmenttime, 'start of month') = DATETIME(t2.drugstarttime, 'start of month') GROUP BY t2.drugname) AS t3 WHERE t3.c1 <= 5
[ 10919, 547, 262, 1936, 749, 10792, 17638, 326, 3940, 1626, 262, 976, 1227, 329, 883, 3871, 508, 2722, 2352, 919, 37664, 8771, 532, 583, 8968, 11655, 1201, 362, 812, 2084, 30, 46506, 256, 18, 13, 30349, 3672, 16034, 357, 46506, 256, 17, 13, 30349, 3672, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, 7, 28104, 22196, 34, 8, 7054, 269, 16, 16034, 357, 46506, 5827, 13, 403, 1557, 538, 312, 11, 3513, 13, 42487, 2435, 16034, 3513, 32357, 1268, 5827, 6177, 3513, 13, 26029, 20850, 31712, 312, 796, 5827, 13, 26029, 20850, 31712, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 547, 262, 1936, 749, 10792, 17638, 326, 3940, 1626, 262, 976, 1227, 329, 883, 3871, 508, 2722, 2352, 919, 37664, 8771, 532, 583, 8968, 11655, 1201, 362, 812, 2084, 30, 46506, 256, 18, 13, 30349, 3672, 16034, 357, 46506, 256, 17, 13, 30349, 3672, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, 7, 28104, 22196, 34, 8, 7054, 269, 16, 16034, 357, 46506, 5827, 13, 403, 1557, 538, 312, 11, 3513, 13, 42487, 2435, 16034, 3513, 32357, 1268, 5827, 6177, 3513, 13, 26029, 20850, 31712, 312, 796, 5827, 13, 26029, 20850, 31712, 312 ]
Who is the Driver, when the Date is October 6?
SELECT "Driver" FROM table_42130 WHERE "Date" = 'october 6'
[ 8241, 318, 262, 12434, 11, 618, 262, 7536, 318, 3267, 718, 30, 46506, 366, 32103, 1, 16034, 3084, 62, 46636, 1270, 33411, 366, 10430, 1, 796, 705, 38441, 2023, 718, 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, 318, 262, 12434, 11, 618, 262, 7536, 318, 3267, 718, 30, 46506, 366, 32103, 1, 16034, 3084, 62, 46636, 1270, 33411, 366, 10430, 1, 796, 705, 38441, 2023, 718, 6 ]
what was patient 22245's daily average value of body weight this year?
SELECT AVG(chartevents.valuenum) FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 22245)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'admit wt' AND d_items.linksto = 'chartevents') AND DATETIME(chartevents.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') GROUP BY STRFTIME('%y-%m-%d', chartevents.charttime)
[ 10919, 373, 5827, 2534, 22995, 338, 4445, 2811, 1988, 286, 1767, 3463, 428, 614, 30, 46506, 35224, 7, 40926, 31534, 13, 2100, 84, 44709, 8, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, 323, 62, 312, 3268, 357, 46506, 14158, 436, 592, 13, 291, 436, 323, 62, 312, 16034, 14158, 436, 592, 33411, 14158, 436, 592, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 2534, 22995, 4008, 5357, 8262, 31534, 13, 9186, 312, 3268, 357, 46506, 288, 62, 23814, 13, 9186, 312, 16034, 288 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5827, 2534, 22995, 338, 4445, 2811, 1988, 286, 1767, 3463, 428, 614, 30, 46506, 35224, 7, 40926, 31534, 13, 2100, 84, 44709, 8, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, 323, 62, 312, 3268, 357, 46506, 14158, 436, 592, 13, 291, 436, 323, 62, 312, 16034, 14158, 436, 592, 33411, 14158, 436, 592, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 2534, 22995, 4008, 5357, 8262, 31534, 13, 9186, 312, 3268, 357, 46506, 288, 62, 23814, 13, 9186, 312, 16034, 288 ]
which team finished top of the league ?
SELECT "club" FROM table_204_135 ORDER BY "position" LIMIT 1
[ 4758, 1074, 5201, 1353, 286, 262, 4652, 5633, 46506, 366, 18664, 1, 16034, 3084, 62, 18638, 62, 17059, 38678, 11050, 366, 9150, 1, 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 ]
[ 4758, 1074, 5201, 1353, 286, 262, 4652, 5633, 46506, 366, 18664, 1, 16034, 3084, 62, 18638, 62, 17059, 38678, 11050, 366, 9150, 1, 27564, 2043, 352 ]
How many votes were tallied in 1956 with a % of national vote larger than 11.47?
SELECT SUM(votes) FROM table_name_66 WHERE date = "1956" AND _percentage_of_national_vote > 11.47
[ 2437, 867, 5690, 547, 48729, 287, 25190, 351, 257, 4064, 286, 2260, 3015, 4025, 621, 1367, 13, 2857, 30, 46506, 35683, 7, 29307, 8, 16034, 3084, 62, 3672, 62, 2791, 33411, 3128, 796, 366, 1129, 3980, 1, 5357, 4808, 25067, 496, 62, 1659, 62, 14648, 62, 27257, 1875, 1367, 13, 2857 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5690, 547, 48729, 287, 25190, 351, 257, 4064, 286, 2260, 3015, 4025, 621, 1367, 13, 2857, 30, 46506, 35683, 7, 29307, 8, 16034, 3084, 62, 3672, 62, 2791, 33411, 3128, 796, 366, 1129, 3980, 1, 5357, 4808, 25067, 496, 62, 1659, 62, 14648, 62, 27257, 1875, 1367, 13, 2857 ]
What was the date for the record 23-13?
SELECT "Date" FROM table_25498 WHERE "Record" = '23-13'
[ 2061, 373, 262, 3128, 329, 262, 1700, 2242, 12, 1485, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 1495, 36260, 33411, 366, 23739, 1, 796, 705, 1954, 12, 1485, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 3128, 329, 262, 1700, 2242, 12, 1485, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 1495, 36260, 33411, 366, 23739, 1, 796, 705, 1954, 12, 1485, 6 ]
What is the film title and inventory id of the item in the inventory which was rented most frequently?
SELECT T1.title, T2.inventory_id FROM film AS T1 JOIN inventory AS T2 ON T1.film_id = T2.film_id JOIN rental AS T3 ON T2.inventory_id = T3.inventory_id GROUP BY T2.inventory_id ORDER BY COUNT(*) DESC LIMIT 1
[ 2061, 318, 262, 2646, 3670, 290, 13184, 4686, 286, 262, 2378, 287, 262, 13184, 543, 373, 26399, 749, 6777, 30, 46506, 309, 16, 13, 7839, 11, 309, 17, 13, 24807, 62, 312, 16034, 2646, 7054, 309, 16, 32357, 1268, 13184, 7054, 309, 17, 6177, 309, 16, 13, 26240, 62, 312, 796, 309, 17, 13, 26240, 62, 312, 32357, 1268, 14447, 7054, 309, 18, 6177, 309, 17, 13, 24807, 62, 312, 796, 309, 18, 13, 24807, 62, 312, 44441, 11050, 309, 17, 13, 24807, 62, 312, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2646, 3670, 290, 13184, 4686, 286, 262, 2378, 287, 262, 13184, 543, 373, 26399, 749, 6777, 30, 46506, 309, 16, 13, 7839, 11, 309, 17, 13, 24807, 62, 312, 16034, 2646, 7054, 309, 16, 32357, 1268, 13184, 7054, 309, 17, 6177, 309, 16, 13, 26240, 62, 312, 796, 309, 17, 13, 26240, 62, 312, 32357, 1268, 14447, 7054, 309, 18, 6177, 309, 17, 13, 24807, 62, 312, 796, 309, 18, 13, 24807, 62, 312, 44441, 11050, 309, 17, 13, 24807, 62, 312, 38678, 11050, 327, 28270, 7, 28104, 22196, 34, 27564, 2043, 352 ]
count the number of patients whose ethnicity is hispanic/latino - puerto rican and drug name is vial?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.ethnicity = "HISPANIC/LATINO - PUERTO RICAN" AND prescriptions.drug = "Vial"
[ 9127, 262, 1271, 286, 3871, 3025, 26289, 318, 465, 35843, 14, 15460, 2879, 532, 47574, 13806, 374, 7490, 290, 2563, 1438, 318, 410, 498, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, 18108, 76, 62, 312, 796, 34092, 13, 18108, 76, 62, 312, 33411, 16728, 13, 38546, 414, 796, 366, 39, 1797, 47, 1565, 2149, 14, 43, 1404, 46016, 532, 24676, 1137, 10468, 371, 42710, 1, 5357, 34092, 13, 30349, 796, 366, 53, 498, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 9127, 262, 1271, 286, 3871, 3025, 26289, 318, 465, 35843, 14, 15460, 2879, 532, 47574, 13806, 374, 7490, 290, 2563, 1438, 318, 410, 498, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, 18108, 76, 62, 312, 796, 34092, 13, 18108, 76, 62, 312, 33411, 16728, 13, 38546, 414, 796, 366, 39, 1797, 47, 1565, 2149, 14, 43, 1404, 46016, 532, 24676, 1137, 10468, 371, 42710, 1, 5357, 34092, 13, 30349, 796, 366, 53, 498, 1 ]
What is the Win % in the Span of 2011 2013 with a Lost of less than 1?
SELECT AVG(win__percentage) FROM table_name_91 WHERE span = "2011–2013" AND lost < 1
[ 2061, 318, 262, 7178, 4064, 287, 262, 49101, 286, 2813, 2211, 351, 257, 9164, 286, 1342, 621, 352, 30, 46506, 35224, 7, 5404, 834, 25067, 496, 8, 16034, 3084, 62, 3672, 62, 6420, 33411, 11506, 796, 366, 9804, 1906, 6390, 1, 5357, 2626, 1279, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 7178, 4064, 287, 262, 49101, 286, 2813, 2211, 351, 257, 9164, 286, 1342, 621, 352, 30, 46506, 35224, 7, 5404, 834, 25067, 496, 8, 16034, 3084, 62, 3672, 62, 6420, 33411, 11506, 796, 366, 9804, 1906, 6390, 1, 5357, 2626, 1279, 352 ]
Tor Top 100 Favorited Posts.
SELECT Id AS "post_link", FavoriteCount FROM Posts ORDER BY FavoriteCount DESC LIMIT 100
[ 15884, 5849, 1802, 38196, 863, 12043, 13, 46506, 5121, 7054, 366, 7353, 62, 8726, 1600, 33992, 12332, 16034, 12043, 38678, 11050, 33992, 12332, 22196, 34, 27564, 2043, 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 ]
[ 15884, 5849, 1802, 38196, 863, 12043, 13, 46506, 5121, 7054, 366, 7353, 62, 8726, 1600, 33992, 12332, 16034, 12043, 38678, 11050, 33992, 12332, 22196, 34, 27564, 2043, 1802 ]
Count the hometown by hometown.
SELECT Hometown, COUNT(Hometown) FROM member GROUP BY Hometown
[ 12332, 262, 20994, 416, 20994, 13, 46506, 367, 19191, 11, 327, 28270, 7, 39, 19191, 8, 16034, 2888, 44441, 11050, 367, 19191 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 12332, 262, 20994, 416, 20994, 13, 46506, 367, 19191, 11, 327, 28270, 7, 39, 19191, 8, 16034, 2888, 44441, 11050, 367, 19191 ]
Has anyone taught an course where a A+ was given to a student minoring in ENGLISH ?
SELECT DISTINCT instructor.name FROM instructor INNER JOIN offering_instructor ON offering_instructor.instructor_id = instructor.instructor_id INNER JOIN student_record ON student_record.offering_id = offering_instructor.offering_id INNER JOIN student ON student.student_id = student_record.student_id WHERE (student_record.grade LIKE '%A+%' OR student_record.grade LIKE '%A+%') AND student.minor = 'ENGLISH'
[ 19242, 2687, 7817, 281, 1781, 810, 257, 317, 10, 373, 1813, 284, 257, 3710, 949, 3255, 287, 12964, 8763, 18422, 5633, 46506, 360, 8808, 1268, 4177, 21187, 13, 3672, 16034, 21187, 3268, 21479, 32357, 1268, 6011, 62, 259, 7249, 273, 6177, 6011, 62, 259, 7249, 273, 13, 259, 7249, 273, 62, 312, 796, 21187, 13, 259, 7249, 273, 62, 312, 3268, 21479, 32357, 1268, 3710, 62, 22105, 6177, 3710, 62, 22105, 13, 2364, 1586, 62, 312, 796, 6011, 62, 259, 7249, 273, 13, 2364, 1586, 62, 312, 3268, 21479, 32357, 1268, 3710, 6177, 3710, 13, 50139, 62, 312, 796, 3710 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2687, 7817, 281, 1781, 810, 257, 317, 10, 373, 1813, 284, 257, 3710, 949, 3255, 287, 12964, 8763, 18422, 5633, 46506, 360, 8808, 1268, 4177, 21187, 13, 3672, 16034, 21187, 3268, 21479, 32357, 1268, 6011, 62, 259, 7249, 273, 6177, 6011, 62, 259, 7249, 273, 13, 259, 7249, 273, 62, 312, 796, 21187, 13, 259, 7249, 273, 62, 312, 3268, 21479, 32357, 1268, 3710, 62, 22105, 6177, 3710, 62, 22105, 13, 2364, 1586, 62, 312, 796, 6011, 62, 259, 7249, 273, 13, 2364, 1586, 62, 312, 3268, 21479, 32357, 1268, 3710, 6177, 3710, 13, 50139, 62, 312, 796, 3710 ]
Name the date of appointment for 26 may 2011
SELECT COUNT("Date of appointment") FROM table_3821 WHERE "Date of vacancy" = '26 May 2011'
[ 5376, 262, 3128, 286, 12557, 329, 2608, 743, 2813, 46506, 327, 28270, 7203, 10430, 286, 12557, 4943, 16034, 3084, 62, 2548, 2481, 33411, 366, 10430, 286, 39836, 1, 796, 705, 2075, 1737, 2813, 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, 3128, 286, 12557, 329, 2608, 743, 2813, 46506, 327, 28270, 7203, 10430, 286, 12557, 4943, 16034, 3084, 62, 2548, 2481, 33411, 366, 10430, 286, 39836, 1, 796, 705, 2075, 1737, 2813, 6 ]
How many polling percentages were there in October 2008 when is was 30.8% in Aug 2008?
SELECT COUNT("Oct 2008") FROM table_26258 WHERE "Aug 2008" = '30.8%'
[ 2437, 867, 13985, 28071, 547, 612, 287, 3267, 3648, 618, 318, 373, 1542, 13, 23, 4, 287, 2447, 3648, 30, 46506, 327, 28270, 7203, 12349, 3648, 4943, 16034, 3084, 62, 2075, 25600, 33411, 366, 12512, 3648, 1, 796, 705, 1270, 13, 23, 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, 1, 1, 1, 1 ]
[ 2437, 867, 13985, 28071, 547, 612, 287, 3267, 3648, 618, 318, 373, 1542, 13, 23, 4, 287, 2447, 3648, 30, 46506, 327, 28270, 7203, 12349, 3648, 4943, 16034, 3084, 62, 2075, 25600, 33411, 366, 12512, 3648, 1, 796, 705, 1270, 13, 23, 4, 6 ]
What is the opponent name when the H/A is h with more than 28,411 in attendance and Sharpe 28' is the scorer?
SELECT "Opponents" FROM table_76876 WHERE "H / A" = 'h' AND "Attendance" > '28,411' AND "Scorers" = 'sharpe 28'
[ 2061, 318, 262, 6125, 1438, 618, 262, 367, 14, 32, 318, 289, 351, 517, 621, 2579, 11, 42224, 287, 14858, 290, 15465, 431, 2579, 6, 318, 262, 30664, 30, 46506, 366, 27524, 3906, 1, 16034, 3084, 62, 30610, 4304, 33411, 366, 39, 1220, 317, 1, 796, 705, 71, 6, 5357, 366, 8086, 437, 590, 1, 1875, 705, 2078, 11, 42224, 6, 5357, 366, 26595, 3808, 1, 796, 705, 1477, 283, 431, 2579, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 6125, 1438, 618, 262, 367, 14, 32, 318, 289, 351, 517, 621, 2579, 11, 42224, 287, 14858, 290, 15465, 431, 2579, 6, 318, 262, 30664, 30, 46506, 366, 27524, 3906, 1, 16034, 3084, 62, 30610, 4304, 33411, 366, 39, 1220, 317, 1, 796, 705, 71, 6, 5357, 366, 8086, 437, 590, 1, 1875, 705, 2078, 11, 42224, 6, 5357, 366, 26595, 3808, 1, 796, 705, 1477, 283, 431, 2579, 6 ]
when was the first time that patient 006-133605 has the minimum systemicmean value on 12/26/this year.
SELECT vitalperiodic.observationtime FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-133605')) AND NOT vitalperiodic.systemicmean IS NULL AND DATETIME(vitalperiodic.observationtime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') AND STRFTIME('%m-%d', vitalperiodic.observationtime) = '12-26' ORDER BY vitalperiodic.systemicmean, vitalperiodic.observationtime LIMIT 1
[ 12518, 373, 262, 717, 640, 326, 5827, 3571, 21, 12, 1485, 15277, 20, 468, 262, 5288, 21971, 32604, 1988, 319, 1105, 14, 2075, 14, 5661, 614, 13, 46506, 9204, 41007, 291, 13, 672, 3168, 341, 2435, 16034, 9204, 41007, 291, 33411, 9204, 41007, 291, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 28041, 12, 1485, 15277, 20, 6, 4008, 5357, 5626, 9204, 41007 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 373, 262, 717, 640, 326, 5827, 3571, 21, 12, 1485, 15277, 20, 468, 262, 5288, 21971, 32604, 1988, 319, 1105, 14, 2075, 14, 5661, 614, 13, 46506, 9204, 41007, 291, 13, 672, 3168, 341, 2435, 16034, 9204, 41007, 291, 33411, 9204, 41007, 291, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 28041, 12, 1485, 15277, 20, 6, 4008, 5357, 5626, 9204, 41007 ]
count the number of patients whose ethnicity is american indian/alaska native and drug name is syringe (neonatal) *d5w*?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.ethnicity = "AMERICAN INDIAN/ALASKA NATIVE" AND prescriptions.drug = "Syringe (Neonatal) *D5W*"
[ 9127, 262, 1271, 286, 3871, 3025, 26289, 318, 45630, 272, 773, 666, 14, 282, 8480, 6868, 290, 2563, 1438, 318, 827, 38229, 357, 710, 261, 10254, 8, 1635, 67, 20, 86, 9, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, 18108, 76, 62, 312, 796, 34092, 13, 18108, 76, 62, 312, 33411, 16728, 13, 38546, 414, 796, 366, 2390, 1137, 42710, 24413, 16868, 14, 1847, 1921, 25123, 10149, 9306, 1, 5357, 34092, 13, 30349, 796, 366, 13940, 38229, 357, 8199, 261, 10254, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 9127, 262, 1271, 286, 3871, 3025, 26289, 318, 45630, 272, 773, 666, 14, 282, 8480, 6868, 290, 2563, 1438, 318, 827, 38229, 357, 710, 261, 10254, 8, 1635, 67, 20, 86, 9, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, 18108, 76, 62, 312, 796, 34092, 13, 18108, 76, 62, 312, 33411, 16728, 13, 38546, 414, 796, 366, 2390, 1137, 42710, 24413, 16868, 14, 1847, 1921, 25123, 10149, 9306, 1, 5357, 34092, 13, 30349, 796, 366, 13940, 38229, 357, 8199, 261, 10254, 8 ]
A bar chart for what are the number of the names of all products?
SELECT Name, COUNT(Name) FROM Products GROUP BY Name
[ 32, 2318, 8262, 329, 644, 389, 262, 1271, 286, 262, 3891, 286, 477, 3186, 30, 46506, 6530, 11, 327, 28270, 7, 5376, 8, 16034, 18675, 44441, 11050, 6530 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 32, 2318, 8262, 329, 644, 389, 262, 1271, 286, 262, 3891, 286, 477, 3186, 30, 46506, 6530, 11, 327, 28270, 7, 5376, 8, 16034, 18675, 44441, 11050, 6530 ]
What date is for Venue of jjb stadium, and a Result of w?
SELECT "Date" FROM table_54202 WHERE "Venue" = 'jjb stadium' AND "Result" = 'w'
[ 2061, 3128, 318, 329, 9932, 518, 286, 474, 73, 65, 10308, 11, 290, 257, 25414, 286, 266, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 4051, 19004, 33411, 366, 37522, 518, 1, 796, 705, 41098, 65, 10308, 6, 5357, 366, 23004, 1, 796, 705, 86, 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 ]
[ 2061, 3128, 318, 329, 9932, 518, 286, 474, 73, 65, 10308, 11, 290, 257, 25414, 286, 266, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 4051, 19004, 33411, 366, 37522, 518, 1, 796, 705, 41098, 65, 10308, 6, 5357, 366, 23004, 1, 796, 705, 86, 6 ]
What is the colloquial translation of (s)he will sing?
SELECT romanian__colloquial_ FROM table_23710609_2 WHERE english = "(s)he will sing"
[ 2061, 318, 262, 2927, 22696, 498, 11059, 286, 357, 82, 8, 258, 481, 1702, 30, 46506, 374, 5185, 666, 834, 66, 15578, 421, 498, 62, 16034, 3084, 62, 24693, 940, 31751, 62, 17, 33411, 46932, 796, 30629, 82, 8, 258, 481, 1702, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2927, 22696, 498, 11059, 286, 357, 82, 8, 258, 481, 1702, 30, 46506, 374, 5185, 666, 834, 66, 15578, 421, 498, 62, 16034, 3084, 62, 24693, 940, 31751, 62, 17, 33411, 46932, 796, 30629, 82, 8, 258, 481, 1702, 1 ]
State pensions of 7%, and a Self employed of 7%, and a Other income sources of 2% has what investment income?
SELECT investment_income FROM table_name_67 WHERE state_pensions = "7%" AND self_employed = "7%" AND other_income_sources = "2%"
[ 9012, 27581, 286, 767, 7441, 290, 257, 12189, 9322, 286, 767, 7441, 290, 257, 3819, 3739, 4237, 286, 362, 4, 468, 644, 4896, 3739, 30, 46506, 4896, 62, 12519, 16034, 3084, 62, 3672, 62, 3134, 33411, 1181, 62, 79, 5736, 796, 366, 22, 39658, 5357, 2116, 62, 36266, 796, 366, 22, 39658, 5357, 584, 62, 12519, 62, 82, 2203, 796, 366, 17, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 9012, 27581, 286, 767, 7441, 290, 257, 12189, 9322, 286, 767, 7441, 290, 257, 3819, 3739, 4237, 286, 362, 4, 468, 644, 4896, 3739, 30, 46506, 4896, 62, 12519, 16034, 3084, 62, 3672, 62, 3134, 33411, 1181, 62, 79, 5736, 796, 366, 22, 39658, 5357, 2116, 62, 36266, 796, 366, 22, 39658, 5357, 584, 62, 12519, 62, 82, 2203, 796, 366, 17, 39658 ]
What is the average AE 2011 ranking with a Forbes 2011 ranking of 24 and a FT 2011 ranking less than 44?
SELECT AVG("AE 2011") FROM table_37644 WHERE "Forbes 2011" = '24' AND "FT 2011" < '44'
[ 2061, 318, 262, 2811, 25603, 2813, 12759, 351, 257, 22720, 2813, 12759, 286, 1987, 290, 257, 19446, 2813, 12759, 1342, 621, 5846, 30, 46506, 35224, 7203, 14242, 2813, 4943, 16034, 3084, 62, 2718, 29173, 33411, 366, 1890, 12636, 2813, 1, 796, 705, 1731, 6, 5357, 366, 9792, 2813, 1, 1279, 705, 2598, 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 ]
[ 2061, 318, 262, 2811, 25603, 2813, 12759, 351, 257, 22720, 2813, 12759, 286, 1987, 290, 257, 19446, 2813, 12759, 1342, 621, 5846, 30, 46506, 35224, 7203, 14242, 2813, 4943, 16034, 3084, 62, 2718, 29173, 33411, 366, 1890, 12636, 2813, 1, 796, 705, 1731, 6, 5357, 366, 9792, 2813, 1, 1279, 705, 2598, 6 ]