instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
sequence
attention_mask
sequence
labels
sequence
Which VIETNAMESE has a CHINESE of / b r m du ?
SELECT "VIETNAMESE" FROM table_6770 WHERE "CHINESE" = '不如密多 / bùrúmìduō'
[ 13828, 13889, 2767, 45, 29559, 36, 468, 257, 5870, 1268, 33635, 286, 1220, 275, 374, 285, 7043, 5633, 46506, 366, 12861, 2767, 45, 29559, 36, 1, 16034, 3084, 62, 3134, 2154, 33411, 366, 3398, 1268, 33635, 1, 796, 705, 38834, 36685, 224, 43380, 228, 13783, 248, 1220, 275, 127, 117, 81, 21356, 76, 127, 105, 646, 13090, 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 ]
[ 13828, 13889, 2767, 45, 29559, 36, 468, 257, 5870, 1268, 33635, 286, 1220, 275, 374, 285, 7043, 5633, 46506, 366, 12861, 2767, 45, 29559, 36, 1, 16034, 3084, 62, 3134, 2154, 33411, 366, 3398, 1268, 33635, 1, 796, 705, 38834, 36685, 224, 43380, 228, 13783, 248, 1220, 275, 127, 117, 81, 21356, 76, 127, 105, 646, 13090, 6 ]
What is the highest number of byes when draws are larger than 0?
SELECT MAX("Byes") FROM table_60461 WHERE "Draws" > '0'
[ 2061, 318, 262, 4511, 1271, 286, 416, 274, 618, 14293, 389, 4025, 621, 657, 30, 46506, 25882, 7203, 3886, 274, 4943, 16034, 3084, 62, 1899, 40652, 33411, 366, 25302, 82, 1, 1875, 705, 15, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4511, 1271, 286, 416, 274, 618, 14293, 389, 4025, 621, 657, 30, 46506, 25882, 7203, 3886, 274, 4943, 16034, 3084, 62, 1899, 40652, 33411, 366, 25302, 82, 1, 1875, 705, 15, 6 ]
who is the 2nd runner-up when the 3rd runner-up is mariannys caraballo?
SELECT "2nd Runner Up" FROM table_9725 WHERE "3rd Runner Up" = 'mariannys caraballo'
[ 8727, 318, 262, 362, 358, 17490, 12, 929, 618, 262, 513, 4372, 17490, 12, 929, 318, 1667, 28627, 893, 1097, 397, 49457, 30, 46506, 366, 17, 358, 21529, 3205, 1, 16034, 3084, 62, 5607, 1495, 33411, 366, 18, 4372, 21529, 3205, 1, 796, 705, 76, 3699, 77, 893, 1097, 397, 49457, 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 ]
[ 8727, 318, 262, 362, 358, 17490, 12, 929, 618, 262, 513, 4372, 17490, 12, 929, 318, 1667, 28627, 893, 1097, 397, 49457, 30, 46506, 366, 17, 358, 21529, 3205, 1, 16034, 3084, 62, 5607, 1495, 33411, 366, 18, 4372, 21529, 3205, 1, 796, 705, 76, 3699, 77, 893, 1097, 397, 49457, 6 ]
What is the lowest first elected?
SELECT MIN("First elected") FROM table_18108
[ 2061, 318, 262, 9016, 717, 7018, 30, 46506, 20625, 7203, 5962, 7018, 4943, 16034, 3084, 62, 1507, 15711 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 9016, 717, 7018, 30, 46506, 20625, 7203, 5962, 7018, 4943, 16034, 3084, 62, 1507, 15711 ]
With an aggregate of 0-2, what is listed for home?
SELECT "Home (2nd leg)" FROM table_22030 WHERE "Aggregate" = '0-2'
[ 3152, 281, 19406, 286, 657, 12, 17, 11, 644, 318, 5610, 329, 1363, 30, 46506, 366, 16060, 357, 17, 358, 1232, 16725, 16034, 3084, 62, 17572, 1270, 33411, 366, 46384, 49373, 1, 796, 705, 15, 12, 17, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 3152, 281, 19406, 286, 657, 12, 17, 11, 644, 318, 5610, 329, 1363, 30, 46506, 366, 16060, 357, 17, 358, 1232, 16725, 16034, 3084, 62, 17572, 1270, 33411, 366, 46384, 49373, 1, 796, 705, 15, 12, 17, 6 ]
Crockett High School had which number(#)?
SELECT "#" FROM table_406 WHERE "High School" = 'Crockett'
[ 34, 10823, 3087, 3334, 3961, 550, 543, 1271, 7, 2, 19427, 46506, 25113, 1, 16034, 3084, 62, 29703, 33411, 366, 11922, 3961, 1, 796, 705, 34, 10823, 3087, 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 ]
[ 34, 10823, 3087, 3334, 3961, 550, 543, 1271, 7, 2, 19427, 46506, 25113, 1, 16034, 3084, 62, 29703, 33411, 366, 11922, 3961, 1, 796, 705, 34, 10823, 3087, 6 ]
Which Party has Years in Senate of , and Years in Assembly of 2012 present?
SELECT "Party" FROM table_59661 WHERE "Years in Senate" = '—' AND "Years in Assembly" = '2012–present'
[ 13828, 3615, 468, 13212, 287, 3845, 286, 837, 290, 13212, 287, 10006, 286, 2321, 1944, 30, 46506, 366, 33553, 1, 16034, 3084, 62, 3270, 47159, 33411, 366, 40630, 287, 3845, 1, 796, 705, 960, 6, 5357, 366, 40630, 287, 10006, 1, 796, 705, 6999, 1906, 25579, 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 ]
[ 13828, 3615, 468, 13212, 287, 3845, 286, 837, 290, 13212, 287, 10006, 286, 2321, 1944, 30, 46506, 366, 33553, 1, 16034, 3084, 62, 3270, 47159, 33411, 366, 40630, 287, 3845, 1, 796, 705, 960, 6, 5357, 366, 40630, 287, 10006, 1, 796, 705, 6999, 1906, 25579, 6 ]
Find the number of students who participate in the tryout for each college ordered by descending count.
SELECT COUNT(*), cname FROM tryout GROUP BY cname ORDER BY COUNT(*) DESC
[ 16742, 262, 1271, 286, 2444, 508, 8277, 287, 262, 1949, 448, 329, 1123, 4152, 6149, 416, 31491, 954, 13, 46506, 327, 28270, 46491, 828, 269, 3672, 16034, 1949, 448, 44441, 11050, 269, 3672, 38678, 11050, 327, 28270, 7, 28104, 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 ]
[ 16742, 262, 1271, 286, 2444, 508, 8277, 287, 262, 1949, 448, 329, 1123, 4152, 6149, 416, 31491, 954, 13, 46506, 327, 28270, 46491, 828, 269, 3672, 16034, 1949, 448, 44441, 11050, 269, 3672, 38678, 11050, 327, 28270, 7, 28104, 22196, 34 ]
show me all flights from PHILADELPHIA to BOSTON on monday which serve a meal and arrive before 1200
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, date_day, days, flight, food_service WHERE (((flight.arrival_time < 1200 AND food_service.meal_code = flight.meal_code) AND date_day.day_number = 21 AND date_day.month_number = 2 AND date_day.year = 1991 AND days.day_name = date_day.day_name AND flight.flight_days = days.days_code) AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'BOSTON' AND flight.to_airport = AIRPORT_SERVICE_1.airport_code) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'PHILADELPHIA' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code
[ 12860, 502, 477, 13956, 422, 9370, 4146, 2885, 3698, 11909, 3539, 284, 347, 10892, 1340, 319, 285, 3204, 543, 4691, 257, 9799, 290, 9240, 878, 24938, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 16, 11, 1748, 7054, 27993, 62, 15, 11, 1748, 7054, 27993, 62, 16, 11, 3128, 62, 820, 11, 1528, 11, 5474, 11, 2057, 62, 15271, 33411, 14808, 7, 22560, 13, 283, 43171, 62, 2435, 1279, 24938, 5357, 2057, 62, 15271, 13 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 12860, 502, 477, 13956, 422, 9370, 4146, 2885, 3698, 11909, 3539, 284, 347, 10892, 1340, 319, 285, 3204, 543, 4691, 257, 9799, 290, 9240, 878, 24938, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 16, 11, 1748, 7054, 27993, 62, 15, 11, 1748, 7054, 27993, 62, 16, 11, 3128, 62, 820, 11, 1528, 11, 5474, 11, 2057, 62, 15271, 33411, 14808, 7, 22560, 13, 283, 43171, 62, 2435, 1279, 24938, 5357, 2057, 62, 15271, 13 ]
What are total transaction amounts for each transaction type.
SELECT transaction_type, SUM(transaction_amount) FROM Financial_Transactions GROUP BY transaction_type
[ 2061, 389, 2472, 8611, 6867, 329, 1123, 8611, 2099, 13, 46506, 8611, 62, 4906, 11, 35683, 7, 7645, 2673, 62, 17287, 8, 16034, 11302, 62, 8291, 4658, 44441, 11050, 8611, 62, 4906 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 2472, 8611, 6867, 329, 1123, 8611, 2099, 13, 46506, 8611, 62, 4906, 11, 35683, 7, 7645, 2673, 62, 17287, 8, 16034, 11302, 62, 8291, 4658, 44441, 11050, 8611, 62, 4906 ]
What round was the game with a result of 5-1 at N venue?
SELECT "Round" FROM table_78773 WHERE "Venue" = 'n' AND "Result" = '5-1'
[ 2061, 2835, 373, 262, 983, 351, 257, 1255, 286, 642, 12, 16, 379, 399, 14359, 30, 46506, 366, 22685, 1, 16034, 3084, 62, 3695, 46871, 33411, 366, 37522, 518, 1, 796, 705, 77, 6, 5357, 366, 23004, 1, 796, 705, 20, 12, 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 ]
[ 2061, 2835, 373, 262, 983, 351, 257, 1255, 286, 642, 12, 16, 379, 399, 14359, 30, 46506, 366, 22685, 1, 16034, 3084, 62, 3695, 46871, 33411, 366, 37522, 518, 1, 796, 705, 77, 6, 5357, 366, 23004, 1, 796, 705, 20, 12, 16, 6 ]
what does a pros repair atria def-cl cost?
SELECT DISTINCT cost.cost FROM cost WHERE cost.event_type = 'procedures_icd' AND cost.event_id IN (SELECT procedures_icd.row_id FROM procedures_icd WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'pros repair atria def-cl'))
[ 10919, 857, 257, 10360, 9185, 379, 7496, 825, 12, 565, 1575, 30, 46506, 360, 8808, 1268, 4177, 1575, 13, 15805, 16034, 1575, 33411, 1575, 13, 15596, 62, 4906, 796, 705, 1676, 771, 942, 62, 291, 67, 6, 5357, 1575, 13, 15596, 62, 312, 3268, 357, 46506, 9021, 62, 291, 67, 13, 808, 62, 312, 16034, 9021, 62, 291, 67, 33411, 9021, 62, 291, 67, 13, 291, 67, 24, 62, 8189, 796, 357, 46506, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 291, 67, 24, 62, 8189, 16034, 288, 62, 291, 67, 62, 1676, 771, 942, 33411, 288, 62, 291 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 857, 257, 10360, 9185, 379, 7496, 825, 12, 565, 1575, 30, 46506, 360, 8808, 1268, 4177, 1575, 13, 15805, 16034, 1575, 33411, 1575, 13, 15596, 62, 4906, 796, 705, 1676, 771, 942, 62, 291, 67, 6, 5357, 1575, 13, 15596, 62, 312, 3268, 357, 46506, 9021, 62, 291, 67, 13, 808, 62, 312, 16034, 9021, 62, 291, 67, 33411, 9021, 62, 291, 67, 13, 291, 67, 24, 62, 8189, 796, 357, 46506, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 291, 67, 24, 62, 8189, 16034, 288, 62, 291, 67, 62, 1676, 771, 942, 33411, 288, 62, 291 ]
Show the names of pilots and fleet series of the aircrafts they have flied with in ascending order of the rank of the pilot.
SELECT T3.pilot_name, T2.fleet_series FROM pilot_record AS T1 JOIN aircraft AS T2 ON T1.aircraft_id = T2.aircraft_id JOIN pilot AS T3 ON T1.pilot_id = T3.pilot_id ORDER BY T3.rank
[ 15307, 262, 3891, 286, 14982, 290, 11026, 2168, 286, 262, 6215, 82, 484, 423, 781, 798, 351, 287, 41988, 1502, 286, 262, 4279, 286, 262, 8022, 13, 46506, 309, 18, 13, 79, 23439, 62, 3672, 11, 309, 17, 13, 33559, 62, 25076, 16034, 8022, 62, 22105, 7054, 309, 16, 32357, 1268, 6215, 7054, 309, 17, 6177, 309, 16, 13, 958, 3323, 62, 312, 796, 309, 17, 13, 958, 3323, 62, 312, 32357, 1268, 8022, 7054, 309, 18, 6177, 309, 16, 13, 79, 23439, 62, 312, 796, 309, 18, 13, 79, 23439, 62, 312, 38678, 11050, 309, 18, 13, 43027 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 262, 3891, 286, 14982, 290, 11026, 2168, 286, 262, 6215, 82, 484, 423, 781, 798, 351, 287, 41988, 1502, 286, 262, 4279, 286, 262, 8022, 13, 46506, 309, 18, 13, 79, 23439, 62, 3672, 11, 309, 17, 13, 33559, 62, 25076, 16034, 8022, 62, 22105, 7054, 309, 16, 32357, 1268, 6215, 7054, 309, 17, 6177, 309, 16, 13, 958, 3323, 62, 312, 796, 309, 17, 13, 958, 3323, 62, 312, 32357, 1268, 8022, 7054, 309, 18, 6177, 309, 16, 13, 79, 23439, 62, 312, 796, 309, 18, 13, 79, 23439, 62, 312, 38678, 11050, 309, 18, 13, 43027 ]
What is the Official ITV1 rating for auditions 4?
SELECT official_itv1_rating FROM table_name_96 WHERE episode = "auditions 4"
[ 2061, 318, 262, 15934, 49188, 16, 7955, 329, 2709, 1756, 604, 30, 46506, 1743, 62, 270, 85, 16, 62, 8821, 16034, 3084, 62, 3672, 62, 4846, 33411, 4471, 796, 366, 3885, 1756, 604, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 15934, 49188, 16, 7955, 329, 2709, 1756, 604, 30, 46506, 1743, 62, 270, 85, 16, 62, 8821, 16034, 3084, 62, 3672, 62, 4846, 33411, 4471, 796, 366, 3885, 1756, 604, 1 ]
is arterial bp [systolic] of patient 27964 measured at 2105-09-08 16:00:00 less than the value measured at 2105-09-08 15:45:00?
SELECT (SELECT 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 = 27964)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'arterial bp [systolic]' AND d_items.linksto = 'chartevents') AND chartevents.charttime = '2105-09-08 16:00:00') < (SELECT 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 = 27964)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'arterial bp [systolic]' AND d_items.linksto = 'chartevents') AND chartevents.charttime = '2105-09-08 15:45:00')
[ 271, 30675, 498, 275, 79, 685, 1837, 301, 4160, 60, 286, 5827, 39466, 2414, 8630, 379, 362, 13348, 12, 2931, 12, 2919, 1467, 25, 405, 25, 405, 1342, 621, 262, 1988, 8630, 379, 362, 13348, 12, 2931, 12, 2919, 1315, 25, 2231, 25, 405, 30, 46506, 357, 46506, 8262, 31534, 13, 2100, 84, 44709, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 30675, 498, 275, 79, 685, 1837, 301, 4160, 60, 286, 5827, 39466, 2414, 8630, 379, 362, 13348, 12, 2931, 12, 2919, 1467, 25, 405, 25, 405, 1342, 621, 262, 1988, 8630, 379, 362, 13348, 12, 2931, 12, 2919, 1315, 25, 2231, 25, 405, 30, 46506, 357, 46506, 8262, 31534, 13, 2100, 84, 44709, 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 ]
Who played women's singles in 2002?
SELECT "Women's singles" FROM table_68059 WHERE "Year" = '2002'
[ 8241, 2826, 1466, 338, 25287, 287, 6244, 30, 46506, 366, 18495, 338, 25287, 1, 16034, 3084, 62, 37397, 3270, 33411, 366, 17688, 1, 796, 705, 16942, 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 ]
[ 8241, 2826, 1466, 338, 25287, 287, 6244, 30, 46506, 366, 18495, 338, 25287, 1, 16034, 3084, 62, 37397, 3270, 33411, 366, 17688, 1, 796, 705, 16942, 6 ]
Show the party and the number of drivers in each party.
SELECT party, COUNT(*) FROM driver GROUP BY party
[ 15307, 262, 2151, 290, 262, 1271, 286, 6643, 287, 1123, 2151, 13, 46506, 2151, 11, 327, 28270, 7, 28104, 16034, 4639, 44441, 11050, 2151 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 262, 2151, 290, 262, 1271, 286, 6643, 287, 1123, 2151, 13, 46506, 2151, 11, 327, 28270, 7, 28104, 16034, 4639, 44441, 11050, 2151 ]
how many candidates had more votes than tamara lorincz ?
SELECT COUNT("candidate") FROM table_204_786 WHERE "votes" > (SELECT "votes" FROM table_204_786 WHERE "candidate" = 'tamara lorincz')
[ 4919, 867, 5871, 550, 517, 5690, 621, 21885, 3301, 300, 273, 1939, 89, 5633, 46506, 327, 28270, 7203, 46188, 20540, 4943, 16034, 3084, 62, 18638, 62, 46302, 33411, 366, 29307, 1, 1875, 357, 46506, 366, 29307, 1, 16034, 3084, 62, 18638, 62, 46302, 33411, 366, 46188, 20540, 1, 796, 705, 83, 47848, 300, 273, 1939, 89, 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 ]
[ 4919, 867, 5871, 550, 517, 5690, 621, 21885, 3301, 300, 273, 1939, 89, 5633, 46506, 327, 28270, 7203, 46188, 20540, 4943, 16034, 3084, 62, 18638, 62, 46302, 33411, 366, 29307, 1, 1875, 357, 46506, 366, 29307, 1, 16034, 3084, 62, 18638, 62, 46302, 33411, 366, 46188, 20540, 1, 796, 705, 83, 47848, 300, 273, 1939, 89, 11537 ]
what's the lowest point with highest point being mount greylock
SELECT "Lowest point" FROM table_19168 WHERE "Highest point" = 'Mount Greylock'
[ 10919, 338, 262, 9016, 966, 351, 4511, 966, 852, 3817, 10536, 2645, 735, 46506, 366, 20535, 395, 966, 1, 16034, 3084, 62, 1129, 14656, 33411, 366, 36124, 3634, 966, 1, 796, 705, 35452, 11955, 2645, 735, 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 ]
[ 10919, 338, 262, 9016, 966, 351, 4511, 966, 852, 3817, 10536, 2645, 735, 46506, 366, 20535, 395, 966, 1, 16034, 3084, 62, 1129, 14656, 33411, 366, 36124, 3634, 966, 1, 796, 705, 35452, 11955, 2645, 735, 6 ]
What is the highest number of ends won of 47 Ends Lost and a Shot % less than 73?
SELECT MAX(ends_won) FROM table_name_4 WHERE ends_lost = 47 AND shot__percentage < 73
[ 2061, 318, 262, 4511, 1271, 286, 5645, 1839, 286, 6298, 46756, 9164, 290, 257, 13590, 4064, 1342, 621, 8854, 30, 46506, 25882, 7, 2412, 62, 26502, 8, 16034, 3084, 62, 3672, 62, 19, 33411, 5645, 62, 33224, 796, 6298, 5357, 2823, 834, 25067, 496, 1279, 8854 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4511, 1271, 286, 5645, 1839, 286, 6298, 46756, 9164, 290, 257, 13590, 4064, 1342, 621, 8854, 30, 46506, 25882, 7, 2412, 62, 26502, 8, 16034, 3084, 62, 3672, 62, 19, 33411, 5645, 62, 33224, 796, 6298, 5357, 2823, 834, 25067, 496, 1279, 8854 ]
have my posts be edited for CommonMark.
SELECT ph.PostId AS "post_link" FROM PostHistory AS ph INNER JOIN Posts AS p ON p.Id = ph.PostId WHERE PostHistoryTypeId = 5 AND UserId = -1 AND OwnerUserId = '##userid?1839439##' AND Comment = 'Commonmark migration'
[ 14150, 616, 6851, 307, 13012, 329, 8070, 9704, 13, 46506, 872, 13, 6307, 7390, 7054, 366, 7353, 62, 8726, 1, 16034, 2947, 18122, 7054, 872, 3268, 21479, 32357, 1268, 12043, 7054, 279, 6177, 279, 13, 7390, 796, 872, 13, 6307, 7390, 33411, 2947, 18122, 6030, 7390, 796, 642, 5357, 11787, 7390, 796, 532, 16, 5357, 23853, 12982, 7390, 796, 705, 2235, 7220, 312, 30, 1507, 34626, 2670, 2235, 6, 5357, 18957, 796, 705, 17227, 4102, 13472, 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, 1, 1, 1, 1 ]
[ 14150, 616, 6851, 307, 13012, 329, 8070, 9704, 13, 46506, 872, 13, 6307, 7390, 7054, 366, 7353, 62, 8726, 1, 16034, 2947, 18122, 7054, 872, 3268, 21479, 32357, 1268, 12043, 7054, 279, 6177, 279, 13, 7390, 796, 872, 13, 6307, 7390, 33411, 2947, 18122, 6030, 7390, 796, 642, 5357, 11787, 7390, 796, 532, 16, 5357, 23853, 12982, 7390, 796, 705, 2235, 7220, 312, 30, 1507, 34626, 2670, 2235, 6, 5357, 18957, 796, 705, 17227, 4102, 13472, 6 ]
Find meter_500 and meter_100 , and visualize them by a bar chart, and order in descending by the X-axis.
SELECT meter_500, meter_100 FROM swimmer ORDER BY meter_500 DESC
[ 16742, 16430, 62, 4059, 290, 16430, 62, 3064, 837, 290, 38350, 606, 416, 257, 2318, 8262, 11, 290, 1502, 287, 31491, 416, 262, 1395, 12, 22704, 13, 46506, 16430, 62, 4059, 11, 16430, 62, 3064, 16034, 9422, 647, 38678, 11050, 16430, 62, 4059, 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 ]
[ 16742, 16430, 62, 4059, 290, 16430, 62, 3064, 837, 290, 38350, 606, 416, 257, 2318, 8262, 11, 290, 1502, 287, 31491, 416, 262, 1395, 12, 22704, 13, 46506, 16430, 62, 4059, 11, 16430, 62, 3064, 16034, 9422, 647, 38678, 11050, 16430, 62, 4059, 22196, 34 ]
What is the score on 17 November 1956 when home team is Derby County?
SELECT "Score" FROM table_10033 WHERE "Date" = '17 november 1956' AND "Home team" = 'derby county'
[ 2061, 318, 262, 4776, 319, 1596, 3389, 25190, 618, 1363, 1074, 318, 22962, 3418, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 3064, 2091, 33411, 366, 10430, 1, 796, 705, 1558, 645, 303, 1916, 25190, 6, 5357, 366, 16060, 1074, 1, 796, 705, 1082, 1525, 7968, 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 ]
[ 2061, 318, 262, 4776, 319, 1596, 3389, 25190, 618, 1363, 1074, 318, 22962, 3418, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 3064, 2091, 33411, 366, 10430, 1, 796, 705, 1558, 645, 303, 1916, 25190, 6, 5357, 366, 16060, 1074, 1, 796, 705, 1082, 1525, 7968, 6 ]
What district has a democratic leader from Roby?
SELECT SUM("District") FROM table_45276 WHERE "Party" = 'democratic' AND "Home Town" = 'roby'
[ 2061, 4783, 468, 257, 10518, 3554, 422, 3851, 88, 30, 46506, 35683, 7203, 44857, 4943, 16034, 3084, 62, 2231, 27988, 33411, 366, 33553, 1, 796, 705, 41232, 6, 5357, 366, 16060, 8329, 1, 796, 705, 305, 1525, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 4783, 468, 257, 10518, 3554, 422, 3851, 88, 30, 46506, 35683, 7203, 44857, 4943, 16034, 3084, 62, 2231, 27988, 33411, 366, 33553, 1, 796, 705, 41232, 6, 5357, 366, 16060, 8329, 1, 796, 705, 305, 1525, 6 ]
Which membership card has more than 5 members?
SELECT membership_card FROM member GROUP BY membership_card HAVING COUNT(*) > 5
[ 13828, 9931, 2657, 468, 517, 621, 642, 1866, 30, 46506, 9931, 62, 9517, 16034, 2888, 44441, 11050, 9931, 62, 9517, 367, 10116, 2751, 327, 28270, 7, 28104, 1875, 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 ]
[ 13828, 9931, 2657, 468, 517, 621, 642, 1866, 30, 46506, 9931, 62, 9517, 16034, 2888, 44441, 11050, 9931, 62, 9517, 367, 10116, 2751, 327, 28270, 7, 28104, 1875, 642 ]
what is the years when the notes is laredo, limited, overland and the engine is 5.7l hemi v8?
SELECT "Years" FROM table_57231 WHERE "Notes" = 'laredo, limited, overland' AND "Engine" = '5.7l hemi v8'
[ 10919, 318, 262, 812, 618, 262, 4710, 318, 300, 1144, 78, 11, 3614, 11, 625, 1044, 290, 262, 3113, 318, 642, 13, 22, 75, 339, 11632, 410, 23, 30, 46506, 366, 40630, 1, 16034, 3084, 62, 3553, 25667, 33411, 366, 16130, 1, 796, 705, 75, 1144, 78, 11, 3614, 11, 625, 1044, 6, 5357, 366, 13798, 1, 796, 705, 20, 13, 22, 75, 339, 11632, 410, 23, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 812, 618, 262, 4710, 318, 300, 1144, 78, 11, 3614, 11, 625, 1044, 290, 262, 3113, 318, 642, 13, 22, 75, 339, 11632, 410, 23, 30, 46506, 366, 40630, 1, 16034, 3084, 62, 3553, 25667, 33411, 366, 16130, 1, 796, 705, 75, 1144, 78, 11, 3614, 11, 625, 1044, 6, 5357, 366, 13798, 1, 796, 705, 20, 13, 22, 75, 339, 11632, 410, 23, 6 ]
What was the attendance on August 23?
SELECT COUNT(attendance) FROM table_name_77 WHERE date = "august 23"
[ 2061, 373, 262, 14858, 319, 2932, 2242, 30, 46506, 327, 28270, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 3324, 33411, 3128, 796, 366, 7493, 436, 2242, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 14858, 319, 2932, 2242, 30, 46506, 327, 28270, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 3324, 33411, 3128, 796, 366, 7493, 436, 2242, 1 ]
What was the average league with Kris Doolan and a total less than 5?
SELECT AVG(league) FROM table_name_22 WHERE player = "kris doolan" AND total < 5
[ 2061, 373, 262, 2811, 4652, 351, 27748, 360, 970, 272, 290, 257, 2472, 1342, 621, 642, 30, 46506, 35224, 7, 19316, 8, 16034, 3084, 62, 3672, 62, 1828, 33411, 2137, 796, 366, 74, 2442, 466, 16617, 1, 5357, 2472, 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 ]
[ 2061, 373, 262, 2811, 4652, 351, 27748, 360, 970, 272, 290, 257, 2472, 1342, 621, 642, 30, 46506, 35224, 7, 19316, 8, 16034, 3084, 62, 3672, 62, 1828, 33411, 2137, 796, 366, 74, 2442, 466, 16617, 1, 5357, 2472, 1279, 642 ]
For all employees who have the letters D or S in their first name, show me about the distribution of hire_date and the amount of hire_date bin hire_date by time in a bar chart, display in ascending by the y-axis.
SELECT HIRE_DATE, COUNT(HIRE_DATE) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' ORDER BY COUNT(HIRE_DATE)
[ 1890, 477, 4409, 508, 423, 262, 7475, 360, 393, 311, 287, 511, 717, 1438, 11, 905, 502, 546, 262, 6082, 286, 11078, 62, 4475, 290, 262, 2033, 286, 11078, 62, 4475, 9874, 11078, 62, 4475, 416, 640, 287, 257, 2318, 8262, 11, 3359, 287, 41988, 416, 262, 331, 12, 22704, 13, 46506, 36210, 2200, 62, 35, 6158, 11, 327, 28270, 7, 25374, 2200, 62, 35, 6158, 8, 16034, 4409, 33411, 31328, 62, 20608, 34178, 705, 4, 35, 4, 6, 6375, 31328, 62, 20608, 34178, 705, 4, 50, 4, 6, 38678, 11050, 327, 28270, 7, 25374, 2200, 62, 35, 6158, 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 ]
[ 1890, 477, 4409, 508, 423, 262, 7475, 360, 393, 311, 287, 511, 717, 1438, 11, 905, 502, 546, 262, 6082, 286, 11078, 62, 4475, 290, 262, 2033, 286, 11078, 62, 4475, 9874, 11078, 62, 4475, 416, 640, 287, 257, 2318, 8262, 11, 3359, 287, 41988, 416, 262, 331, 12, 22704, 13, 46506, 36210, 2200, 62, 35, 6158, 11, 327, 28270, 7, 25374, 2200, 62, 35, 6158, 8, 16034, 4409, 33411, 31328, 62, 20608, 34178, 705, 4, 35, 4, 6, 6375, 31328, 62, 20608, 34178, 705, 4, 50, 4, 6, 38678, 11050, 327, 28270, 7, 25374, 2200, 62, 35, 6158, 8 ]
What was the Attendance on November 7, 1999?
SELECT attendance FROM table_name_86 WHERE date = "november 7, 1999"
[ 2061, 373, 262, 46502, 590, 319, 3389, 767, 11, 7358, 30, 46506, 14858, 16034, 3084, 62, 3672, 62, 4521, 33411, 3128, 796, 366, 77, 3239, 767, 11, 7358, 1 ]
[ 1, 1, 1, 1, 1, 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, 46502, 590, 319, 3389, 767, 11, 7358, 30, 46506, 14858, 16034, 3084, 62, 3672, 62, 4521, 33411, 3128, 796, 366, 77, 3239, 767, 11, 7358, 1 ]
How many points for maserati v12 engines in 1968?
SELECT COUNT("Points") FROM table_51711 WHERE "Engine" = 'maserati v12' AND "Year" = '1968'
[ 2437, 867, 2173, 329, 285, 6005, 7246, 410, 1065, 11874, 287, 15963, 30, 46506, 327, 28270, 7203, 40710, 4943, 16034, 3084, 62, 48170, 1157, 33411, 366, 13798, 1, 796, 705, 5356, 263, 7246, 410, 1065, 6, 5357, 366, 17688, 1, 796, 705, 42246, 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, 2173, 329, 285, 6005, 7246, 410, 1065, 11874, 287, 15963, 30, 46506, 327, 28270, 7203, 40710, 4943, 16034, 3084, 62, 48170, 1157, 33411, 366, 13798, 1, 796, 705, 5356, 263, 7246, 410, 1065, 6, 5357, 366, 17688, 1, 796, 705, 42246, 6 ]
until 2104 what is the four most commonly taken lab test for patients 60 or above?
SELECT t1.labname FROM (SELECT lab.labname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.age >= 60) AND STRFTIME('%y', lab.labresulttime) <= '2104' GROUP BY lab.labname) AS t1 WHERE t1.c1 <= 4
[ 28446, 362, 13464, 644, 318, 262, 1440, 749, 8811, 2077, 2248, 1332, 329, 3871, 3126, 393, 2029, 30, 46506, 256, 16, 13, 23912, 3672, 16034, 357, 46506, 2248, 13, 23912, 3672, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, 7, 28104, 22196, 34, 8, 7054, 269, 16, 16034, 2248, 33411, 2248, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 496, 18189, 3126, 8, 5357, 19269, 9792, 12789, 10786, 4, 88, 3256, 2248, 13, 23912, 20274, 2435, 8, 19841, 705, 17, 13464, 6, 44441 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13464, 644, 318, 262, 1440, 749, 8811, 2077, 2248, 1332, 329, 3871, 3126, 393, 2029, 30, 46506, 256, 16, 13, 23912, 3672, 16034, 357, 46506, 2248, 13, 23912, 3672, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, 7, 28104, 22196, 34, 8, 7054, 269, 16, 16034, 2248, 33411, 2248, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 496, 18189, 3126, 8, 5357, 19269, 9792, 12789, 10786, 4, 88, 3256, 2248, 13, 23912, 20274, 2435, 8, 19841, 705, 17, 13464, 6, 44441 ]
what would be patient 035-24054's monthly maximum weight since 2103?
SELECT MAX(patient.admissionweight) FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '035-24054') AND NOT patient.admissionweight IS NULL AND STRFTIME('%y', patient.unitadmittime) >= '2103' GROUP BY STRFTIME('%y-%m', patient.unitadmittime)
[ 10919, 561, 307, 5827, 657, 2327, 12, 1731, 2713, 19, 338, 9651, 5415, 3463, 1201, 362, 15197, 30, 46506, 25882, 7, 26029, 13, 324, 3411, 6551, 8, 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, 44215, 12, 1731, 2713, 19, 11537, 5357, 5626, 5827, 13, 324, 3411, 6551, 3180, 15697, 5357, 19269, 9792, 12789, 10786, 4, 88, 3256, 5827, 13, 20850, 324, 20124, 524, 8, 18189, 705, 17, 15197, 6, 44441, 11050, 19269, 9792, 12789, 10786, 4 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 561, 307, 5827, 657, 2327, 12, 1731, 2713, 19, 338, 9651, 5415, 3463, 1201, 362, 15197, 30, 46506, 25882, 7, 26029, 13, 324, 3411, 6551, 8, 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, 44215, 12, 1731, 2713, 19, 11537, 5357, 5626, 5827, 13, 324, 3411, 6551, 3180, 15697, 5357, 19269, 9792, 12789, 10786, 4, 88, 3256, 5827, 13, 20850, 324, 20124, 524, 8, 18189, 705, 17, 15197, 6, 44441, 11050, 19269, 9792, 12789, 10786, 4 ]
How many customers don't have an account?
SELECT COUNT(*) FROM customers WHERE NOT customer_id IN (SELECT customer_id FROM accounts)
[ 2437, 867, 4297, 836, 470, 423, 281, 1848, 30, 46506, 327, 28270, 7, 28104, 16034, 4297, 33411, 5626, 6491, 62, 312, 3268, 357, 46506, 6491, 62, 312, 16034, 5504, 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 ]
[ 2437, 867, 4297, 836, 470, 423, 281, 1848, 30, 46506, 327, 28270, 7, 28104, 16034, 4297, 33411, 5626, 6491, 62, 312, 3268, 357, 46506, 6491, 62, 312, 16034, 5504, 8 ]
What was the name of the episode that bill lawrence directed?
SELECT title FROM table_25548213_1 WHERE directed_by = "Bill Lawrence"
[ 2061, 373, 262, 1438, 286, 262, 4471, 326, 2855, 1099, 6784, 7924, 30, 46506, 3670, 16034, 3084, 62, 13381, 2780, 26427, 62, 16, 33411, 7924, 62, 1525, 796, 366, 17798, 13914, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 1438, 286, 262, 4471, 326, 2855, 1099, 6784, 7924, 30, 46506, 3670, 16034, 3084, 62, 13381, 2780, 26427, 62, 16, 33411, 7924, 62, 1525, 796, 366, 17798, 13914, 1 ]
Name the year when start was 32
SELECT year FROM table_name_78 WHERE start = 32
[ 5376, 262, 614, 618, 923, 373, 3933, 46506, 614, 16034, 3084, 62, 3672, 62, 3695, 33411, 923, 796, 3933 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 614, 618, 923, 373, 3933, 46506, 614, 16034, 3084, 62, 3672, 62, 3695, 33411, 923, 796, 3933 ]
show me the AA flights leaving PHOENIX on wednesday and arriving in MILWAUKEE
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, date_day, days, flight WHERE ((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'MILWAUKEE' AND date_day.day_number = 23 AND date_day.month_number = 4 AND date_day.year = 1991 AND days.day_name = date_day.day_name AND flight.flight_days = days.days_code AND flight.to_airport = AIRPORT_SERVICE_1.airport_code) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'PHOENIX' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code) AND flight.airline_code = 'AA'
[ 12860, 502, 262, 15923, 13956, 4305, 9370, 46, 1677, 10426, 319, 29445, 3462, 290, 14820, 287, 31515, 15543, 52, 7336, 33635, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 16, 11, 1748, 7054, 27993, 62, 15, 11, 1748, 7054, 27993, 62, 16, 11, 3128, 62, 820, 11, 1528, 11, 5474, 33411, 14808, 34, 9050, 62, 16, 13, 19205, 62, 8189, 796, 31600, 15490, 62, 35009, 27389, 62, 16, 13, 19205, 62, 8189, 5357, 27993, 62 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 12860, 502, 262, 15923, 13956, 4305, 9370, 46, 1677, 10426, 319, 29445, 3462, 290, 14820, 287, 31515, 15543, 52, 7336, 33635, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 16, 11, 1748, 7054, 27993, 62, 15, 11, 1748, 7054, 27993, 62, 16, 11, 3128, 62, 820, 11, 1528, 11, 5474, 33411, 14808, 34, 9050, 62, 16, 13, 19205, 62, 8189, 796, 31600, 15490, 62, 35009, 27389, 62, 16, 13, 19205, 62, 8189, 5357, 27993, 62 ]
What is Quantity made, when Wheel Arrangement is '2-6-0', and when Class is 'D-3'?
SELECT quantity_made FROM table_name_31 WHERE wheel_arrangement = "2-6-0" AND class = "d-3"
[ 2061, 318, 39789, 925, 11, 618, 15810, 943, 36985, 972, 318, 705, 17, 12, 21, 12, 15, 3256, 290, 618, 5016, 318, 705, 35, 12, 18, 30960, 46506, 12040, 62, 9727, 16034, 3084, 62, 3672, 62, 3132, 33411, 7825, 62, 3258, 648, 972, 796, 366, 17, 12, 21, 12, 15, 1, 5357, 1398, 796, 366, 67, 12, 18, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 39789, 925, 11, 618, 15810, 943, 36985, 972, 318, 705, 17, 12, 21, 12, 15, 3256, 290, 618, 5016, 318, 705, 35, 12, 18, 30960, 46506, 12040, 62, 9727, 16034, 3084, 62, 3672, 62, 3132, 33411, 7825, 62, 3258, 648, 972, 796, 366, 17, 12, 21, 12, 15, 1, 5357, 1398, 796, 366, 67, 12, 18, 1 ]
What is the capacity for the arena in Chester?
SELECT "Capacity" FROM table_55105 WHERE "City/Area" = 'chester'
[ 2061, 318, 262, 5339, 329, 262, 13478, 287, 26943, 30, 46506, 366, 15610, 4355, 1, 16034, 3084, 62, 2816, 13348, 33411, 366, 14941, 14, 30547, 1, 796, 705, 35983, 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, 318, 262, 5339, 329, 262, 13478, 287, 26943, 30, 46506, 366, 15610, 4355, 1, 16034, 3084, 62, 2816, 13348, 33411, 366, 14941, 14, 30547, 1, 796, 705, 35983, 6 ]
when was patient 53176's first diagnosis time this year for lack of coordination?
SELECT diagnoses_icd.charttime FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'lack of coordination') AND diagnoses_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 53176) AND DATETIME(diagnoses_icd.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') ORDER BY diagnoses_icd.charttime LIMIT 1
[ 12518, 373, 5827, 7192, 24096, 338, 717, 13669, 640, 428, 614, 329, 3092, 286, 19877, 30, 46506, 40567, 62, 291, 67, 13, 40926, 2435, 16034, 40567, 62, 291, 67, 33411, 40567, 62, 291, 67, 13, 291, 67, 24, 62, 8189, 796, 357, 46506, 288, 62, 291, 67, 62, 47356, 4629, 13, 291, 67, 24, 62, 8189, 16034, 288, 62, 291, 67, 62, 47356, 4629, 33411, 288, 62, 291, 67, 62, 47356, 4629, 13, 19509, 62, 7839, 796, 705, 75, 441, 286, 19877, 11537, 5357, 40567, 62, 291, 67, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5827, 7192, 24096, 338, 717, 13669, 640, 428, 614, 329, 3092, 286, 19877, 30, 46506, 40567, 62, 291, 67, 13, 40926, 2435, 16034, 40567, 62, 291, 67, 33411, 40567, 62, 291, 67, 13, 291, 67, 24, 62, 8189, 796, 357, 46506, 288, 62, 291, 67, 62, 47356, 4629, 13, 291, 67, 24, 62, 8189, 16034, 288, 62, 291, 67, 62, 47356, 4629, 33411, 288, 62, 291, 67, 62, 47356, 4629, 13, 19509, 62, 7839, 796, 705, 75, 441, 286, 19877, 11537, 5357, 40567, 62, 291, 67, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76 ]
Among deaths 106 000 how many is crude rate.
SELECT crude_death_rate FROM table_21258_1 WHERE deaths = "106 000"
[ 14311, 7040, 15696, 12877, 703, 867, 318, 14897, 2494, 13, 46506, 14897, 62, 22595, 62, 4873, 16034, 3084, 62, 21777, 3365, 62, 16, 33411, 7040, 796, 366, 15801, 12877, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 14311, 7040, 15696, 12877, 703, 867, 318, 14897, 2494, 13, 46506, 14897, 62, 22595, 62, 4873, 16034, 3084, 62, 21777, 3365, 62, 16, 33411, 7040, 796, 366, 15801, 12877, 1 ]
In what former province was the area 694.9 kilometers squared?
SELECT former_province FROM table_16278894_1 WHERE area__km_2__ = "694.9"
[ 818, 644, 1966, 8473, 373, 262, 1989, 718, 5824, 13, 24, 18212, 44345, 30, 46506, 1966, 62, 15234, 924, 16034, 3084, 62, 1433, 1983, 3459, 5824, 62, 16, 33411, 1989, 834, 13276, 62, 17, 834, 796, 366, 45214, 13, 24, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 818, 644, 1966, 8473, 373, 262, 1989, 718, 5824, 13, 24, 18212, 44345, 30, 46506, 1966, 62, 15234, 924, 16034, 3084, 62, 1433, 1983, 3459, 5824, 62, 16, 33411, 1989, 834, 13276, 62, 17, 834, 796, 366, 45214, 13, 24, 1 ]
get the number of patients with newborn primary disease who had packed cell transfusion procedure.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.diagnosis = "NEWBORN" AND procedures.short_title = "Packed cell transfusion"
[ 1136, 262, 1271, 286, 3871, 351, 23856, 4165, 4369, 508, 550, 11856, 2685, 13501, 4241, 8771, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, 13, 18108, 76, 62, 312, 796, 9021, 13, 18108, 76, 62, 312, 33411, 16728, 13, 47356, 5958, 796, 366, 13965, 33, 30649, 1, 5357, 9021, 13, 19509, 62, 7839, 796, 366, 47, 6021, 2685, 13501, 4241, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1136, 262, 1271, 286, 3871, 351, 23856, 4165, 4369, 508, 550, 11856, 2685, 13501, 4241, 8771, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, 13, 18108, 76, 62, 312, 796, 9021, 13, 18108, 76, 62, 312, 33411, 16728, 13, 47356, 5958, 796, 366, 13965, 33, 30649, 1, 5357, 9021, 13, 19509, 62, 7839, 796, 366, 47, 6021, 2685, 13501, 4241, 1 ]
What original air date has 5.85 u.s. viewers (million)?
SELECT "Original air date" FROM table_29319 WHERE "U.S. viewers (million)" = '5.85'
[ 2061, 2656, 1633, 3128, 468, 642, 13, 5332, 334, 13, 82, 13, 10209, 357, 14100, 19427, 46506, 366, 20556, 1633, 3128, 1, 16034, 3084, 62, 31675, 1129, 33411, 366, 52, 13, 50, 13, 10209, 357, 14100, 16725, 796, 705, 20, 13, 5332, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 2656, 1633, 3128, 468, 642, 13, 5332, 334, 13, 82, 13, 10209, 357, 14100, 19427, 46506, 366, 20556, 1633, 3128, 1, 16034, 3084, 62, 31675, 1129, 33411, 366, 52, 13, 50, 13, 10209, 357, 14100, 16725, 796, 705, 20, 13, 5332, 6 ]
since 2105, how many patients were prescribed with propofol within 2 months after having been diagnosed with pneumonia?
SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'pneumonia' AND STRFTIME('%y', diagnosis.diagnosistime) >= '2105') AS t1 JOIN (SELECT patient.uniquepid, medication.drugstarttime FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid WHERE medication.drugname = 'propofol' AND STRFTIME('%y', medication.drugstarttime) >= '2105') AS t2 WHERE t1.diagnosistime < t2.drugstarttime AND DATETIME(t2.drugstarttime) BETWEEN DATETIME(t1.diagnosistime) AND DATETIME(t1.diagnosistime, '+2 month')
[ 20777, 362, 13348, 11, 703, 867, 3871, 547, 14798, 351, 2632, 1659, 349, 1626, 362, 1933, 706, 1719, 587, 14641, 351, 35647, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 403, 1557, 538, 312, 8, 16034, 357, 46506, 5827, 13, 403, 1557, 538, 312, 11, 13669, 13, 47356, 418, 396, 524, 16034, 13669, 32357, 1268, 5827, 6177, 13669, 13, 26029, 20850, 31712, 312, 796, 5827, 13, 26029, 20850, 31712, 312, 33411, 13669, 13, 47356, 5958, 3672, 796, 705, 79, 25668, 11339, 6, 5357, 19269, 9792, 12789, 10786, 4, 88, 3256, 13669, 13, 47356, 418, 396, 524 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 20777, 362, 13348, 11, 703, 867, 3871, 547, 14798, 351, 2632, 1659, 349, 1626, 362, 1933, 706, 1719, 587, 14641, 351, 35647, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 403, 1557, 538, 312, 8, 16034, 357, 46506, 5827, 13, 403, 1557, 538, 312, 11, 13669, 13, 47356, 418, 396, 524, 16034, 13669, 32357, 1268, 5827, 6177, 13669, 13, 26029, 20850, 31712, 312, 796, 5827, 13, 26029, 20850, 31712, 312, 33411, 13669, 13, 47356, 5958, 3672, 796, 705, 79, 25668, 11339, 6, 5357, 19269, 9792, 12789, 10786, 4, 88, 3256, 13669, 13, 47356, 418, 396, 524 ]
how many patients were admitted before the year 2121 whose lab test category was hematology ?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admityear < "2121" AND lab."CATEGORY" = "Hematology"
[ 4919, 867, 3871, 547, 6848, 878, 262, 614, 362, 19244, 3025, 2248, 1332, 6536, 373, 339, 6759, 1435, 5633, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108, 76, 62, 312, 796, 2248, 13, 18108, 76, 62, 312, 33411, 16728, 13, 324, 76, 414, 451, 1279, 366, 17, 19244, 1, 5357, 2248, 526, 34, 6158, 38, 15513, 1, 796, 366, 39, 368, 265, 1435, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 3871, 547, 6848, 878, 262, 614, 362, 19244, 3025, 2248, 1332, 6536, 373, 339, 6759, 1435, 5633, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108, 76, 62, 312, 796, 2248, 13, 18108, 76, 62, 312, 33411, 16728, 13, 324, 76, 414, 451, 1279, 366, 17, 19244, 1, 5357, 2248, 526, 34, 6158, 38, 15513, 1, 796, 366, 39, 368, 265, 1435, 1 ]
What was the away team for the match that had a time of 18:30?
SELECT "Away team" FROM table_65608 WHERE "Time" = '18:30'
[ 2061, 373, 262, 1497, 1074, 329, 262, 2872, 326, 550, 257, 640, 286, 1248, 25, 1270, 30, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 2996, 28688, 33411, 366, 7575, 1, 796, 705, 1507, 25, 1270, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 1497, 1074, 329, 262, 2872, 326, 550, 257, 640, 286, 1248, 25, 1270, 30, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 2996, 28688, 33411, 366, 7575, 1, 796, 705, 1507, 25, 1270, 6 ]
Visualize a bar chart for what are the name and level of catalog structure with level number between 5 and 10, and I want to list in ascending by the y axis.
SELECT catalog_level_name, catalog_level_number FROM Catalog_Structure WHERE catalog_level_number BETWEEN 5 AND 10 ORDER BY catalog_level_number
[ 36259, 1096, 257, 2318, 8262, 329, 644, 389, 262, 1438, 290, 1241, 286, 18388, 4645, 351, 1241, 1271, 1022, 642, 290, 838, 11, 290, 314, 765, 284, 1351, 287, 41988, 416, 262, 331, 16488, 13, 46506, 18388, 62, 5715, 62, 3672, 11, 18388, 62, 5715, 62, 17618, 16034, 44515, 62, 1273, 5620, 33411, 18388, 62, 5715, 62, 17618, 38651, 8845, 1677, 642, 5357, 838, 38678, 11050, 18388, 62, 5715, 62, 17618 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 36259, 1096, 257, 2318, 8262, 329, 644, 389, 262, 1438, 290, 1241, 286, 18388, 4645, 351, 1241, 1271, 1022, 642, 290, 838, 11, 290, 314, 765, 284, 1351, 287, 41988, 416, 262, 331, 16488, 13, 46506, 18388, 62, 5715, 62, 3672, 11, 18388, 62, 5715, 62, 17618, 16034, 44515, 62, 1273, 5620, 33411, 18388, 62, 5715, 62, 17618, 38651, 8845, 1677, 642, 5357, 838, 38678, 11050, 18388, 62, 5715, 62, 17618 ]
What is the largest lead margin when Schweitzer has 55% and Jones is not an option?
SELECT MAX("Lead Margin") FROM table_47387 WHERE "Democrat: Brian Schweitzer" = '55%' AND "Libertarian: Stan Jones" = 'not an option'
[ 2061, 318, 262, 4387, 1085, 10330, 618, 40430, 10557, 468, 5996, 4, 290, 5437, 318, 407, 281, 3038, 30, 46506, 25882, 7203, 20451, 11899, 259, 4943, 16034, 3084, 62, 2857, 32220, 33411, 366, 11522, 35128, 25, 8403, 40430, 10557, 1, 796, 705, 2816, 4, 6, 5357, 366, 31199, 14012, 25, 7299, 5437, 1, 796, 705, 1662, 281, 3038, 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 ]
[ 2061, 318, 262, 4387, 1085, 10330, 618, 40430, 10557, 468, 5996, 4, 290, 5437, 318, 407, 281, 3038, 30, 46506, 25882, 7203, 20451, 11899, 259, 4943, 16034, 3084, 62, 2857, 32220, 33411, 366, 11522, 35128, 25, 8403, 40430, 10557, 1, 796, 705, 2816, 4, 6, 5357, 366, 31199, 14012, 25, 7299, 5437, 1, 796, 705, 1662, 281, 3038, 6 ]
give me the number of patients whose admission year is less than 2151 and lab test category is blood gas?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admityear < "2151" AND lab."CATEGORY" = "Blood Gas"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 13938, 614, 318, 1342, 621, 22951, 16, 290, 2248, 1332, 6536, 318, 2910, 3623, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108, 76, 62, 312, 796, 2248, 13, 18108, 76, 62, 312, 33411, 16728, 13, 324, 76, 414, 451, 1279, 366, 23349, 16, 1, 5357, 2248, 526, 34, 6158, 38, 15513, 1, 796, 366, 21659, 14345, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 26535, 502, 262, 1271, 286, 3871, 3025, 13938, 614, 318, 1342, 621, 22951, 16, 290, 2248, 1332, 6536, 318, 2910, 3623, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108, 76, 62, 312, 796, 2248, 13, 18108, 76, 62, 312, 33411, 16728, 13, 324, 76, 414, 451, 1279, 366, 23349, 16, 1, 5357, 2248, 526, 34, 6158, 38, 15513, 1, 796, 366, 21659, 14345, 1 ]
What are the family relations of the king with the throne name 303?
SELECT family_relations FROM table_name_20 WHERE throne_name = "303"
[ 2061, 389, 262, 1641, 2316, 286, 262, 5822, 351, 262, 19262, 1438, 30727, 30, 46506, 1641, 62, 39468, 16034, 3084, 62, 3672, 62, 1238, 33411, 19262, 62, 3672, 796, 366, 22572, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 262, 1641, 2316, 286, 262, 5822, 351, 262, 19262, 1438, 30727, 30, 46506, 1641, 62, 39468, 16034, 3084, 62, 3672, 62, 1238, 33411, 19262, 62, 3672, 796, 366, 22572, 1 ]
Tell me the tv time for attendance of 60,894
SELECT tv_time FROM table_name_86 WHERE attendance = "60,894"
[ 24446, 502, 262, 31557, 640, 329, 14858, 286, 3126, 11, 4531, 19, 46506, 31557, 62, 2435, 16034, 3084, 62, 3672, 62, 4521, 33411, 14858, 796, 366, 1899, 11, 4531, 19, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 24446, 502, 262, 31557, 640, 329, 14858, 286, 3126, 11, 4531, 19, 46506, 31557, 62, 2435, 16034, 3084, 62, 3672, 62, 4521, 33411, 14858, 796, 366, 1899, 11, 4531, 19, 1 ]
Who directed the episode aired on February 27, 2009?
SELECT directed_by FROM table_18424435_3 WHERE us_air_date = "February 27, 2009"
[ 8241, 7924, 262, 4471, 18530, 319, 3945, 2681, 11, 3717, 30, 46506, 7924, 62, 1525, 16034, 3084, 62, 22883, 25707, 2327, 62, 18, 33411, 514, 62, 958, 62, 4475, 796, 366, 21816, 2681, 11, 3717, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 7924, 262, 4471, 18530, 319, 3945, 2681, 11, 3717, 30, 46506, 7924, 62, 1525, 16034, 3084, 62, 22883, 25707, 2327, 62, 18, 33411, 514, 62, 958, 62, 4475, 796, 366, 21816, 2681, 11, 3717, 1 ]
What's the report for the race name, XIII Grand Prix de l'Albigeois?
SELECT report FROM table_1140117_5 WHERE race_name = "XIII Grand Prix de l'Albigeois"
[ 2061, 338, 262, 989, 329, 262, 3234, 1438, 11, 35302, 5675, 23832, 390, 300, 6, 2348, 65, 10045, 10924, 30, 46506, 989, 16034, 3084, 62, 16562, 486, 1558, 62, 20, 33411, 3234, 62, 3672, 796, 366, 55, 10855, 5675, 23832, 390, 300, 6, 2348, 65, 10045, 10924, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 989, 329, 262, 3234, 1438, 11, 35302, 5675, 23832, 390, 300, 6, 2348, 65, 10045, 10924, 30, 46506, 989, 16034, 3084, 62, 16562, 486, 1558, 62, 20, 33411, 3234, 62, 3672, 796, 366, 55, 10855, 5675, 23832, 390, 300, 6, 2348, 65, 10045, 10924, 1 ]
Name the most for when difference is 7
SELECT MAX("For") FROM table_72671 WHERE "Difference" = '7'
[ 5376, 262, 749, 329, 618, 3580, 318, 767, 46506, 25882, 7203, 1890, 4943, 16034, 3084, 62, 22, 2075, 4869, 33411, 366, 28813, 1945, 1, 796, 705, 22, 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 ]
[ 5376, 262, 749, 329, 618, 3580, 318, 767, 46506, 25882, 7203, 1890, 4943, 16034, 3084, 62, 22, 2075, 4869, 33411, 366, 28813, 1945, 1, 796, 705, 22, 6 ]
how many white ethnic background patients have prescription for metolazone medication?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.ethnicity = "WHITE" AND prescriptions.drug = "Metolazone"
[ 4919, 867, 2330, 9450, 4469, 3871, 423, 15077, 329, 1138, 349, 1031, 505, 14103, 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, 12418, 12709, 1, 5357, 34092, 13, 30349, 796, 366, 9171, 349, 1031, 505, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2330, 9450, 4469, 3871, 423, 15077, 329, 1138, 349, 1031, 505, 14103, 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, 12418, 12709, 1, 5357, 34092, 13, 30349, 796, 366, 9171, 349, 1031, 505, 1 ]
What is the sum of draws for teams with against of 1731 and under 10 losses?
SELECT SUM("Draws") FROM table_63014 WHERE "Against" = '1731' AND "Losses" < '10'
[ 2061, 318, 262, 2160, 286, 14293, 329, 3466, 351, 1028, 286, 1596, 3132, 290, 739, 838, 9089, 30, 46506, 35683, 7203, 25302, 82, 4943, 16034, 3084, 62, 5066, 28645, 33411, 366, 39276, 1, 796, 705, 1558, 3132, 6, 5357, 366, 43, 793, 274, 1, 1279, 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, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2160, 286, 14293, 329, 3466, 351, 1028, 286, 1596, 3132, 290, 739, 838, 9089, 30, 46506, 35683, 7203, 25302, 82, 4943, 16034, 3084, 62, 5066, 28645, 33411, 366, 39276, 1, 796, 705, 1558, 3132, 6, 5357, 366, 43, 793, 274, 1, 1279, 705, 940, 6 ]
What glider did thomas gostner pilot?
SELECT glider FROM table_name_84 WHERE pilot = "thomas gostner"
[ 2061, 1278, 1304, 750, 294, 16911, 308, 455, 1008, 8022, 30, 46506, 1278, 1304, 16034, 3084, 62, 3672, 62, 5705, 33411, 8022, 796, 366, 400, 16911, 308, 455, 1008, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 1278, 1304, 750, 294, 16911, 308, 455, 1008, 8022, 30, 46506, 1278, 1304, 16034, 3084, 62, 3672, 62, 5705, 33411, 8022, 796, 366, 400, 16911, 308, 455, 1008, 1 ]
Which team has a Reg GP over 62?
SELECT team__league_ FROM table_name_12 WHERE reg_gp > 62
[ 13828, 1074, 468, 257, 3310, 14714, 625, 8190, 30, 46506, 1074, 834, 19316, 62, 16034, 3084, 62, 3672, 62, 1065, 33411, 842, 62, 31197, 1875, 8190 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 1074, 468, 257, 3310, 14714, 625, 8190, 30, 46506, 1074, 834, 19316, 62, 16034, 3084, 62, 3672, 62, 1065, 33411, 842, 62, 31197, 1875, 8190 ]
What is the cardinal direction of Monday in English?
SELECT "Cardinal direction" FROM table_6620 WHERE "English" = 'monday'
[ 2061, 318, 262, 38691, 4571, 286, 3321, 287, 3594, 30, 46506, 366, 16962, 1292, 4571, 1, 16034, 3084, 62, 2791, 1238, 33411, 366, 15823, 1, 796, 705, 76, 3204, 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, 318, 262, 38691, 4571, 286, 3321, 287, 3594, 30, 46506, 366, 16962, 1292, 4571, 1, 16034, 3084, 62, 2791, 1238, 33411, 366, 15823, 1, 796, 705, 76, 3204, 6 ]
Name the circuit for marcel lehoux
SELECT "Circuit" FROM table_31993 WHERE "Winning driver" = 'marcel lehoux'
[ 5376, 262, 10349, 329, 1667, 5276, 443, 15710, 87, 46506, 366, 31560, 5013, 1, 16034, 3084, 62, 18, 24465, 33411, 366, 16643, 768, 4639, 1, 796, 705, 3876, 5276, 443, 15710, 87, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 10349, 329, 1667, 5276, 443, 15710, 87, 46506, 366, 31560, 5013, 1, 16034, 3084, 62, 18, 24465, 33411, 366, 16643, 768, 4639, 1, 796, 705, 3876, 5276, 443, 15710, 87, 6 ]
provide the number of patients whose ethnicity is white and year of birth is less than 2058?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "WHITE" AND demographic.dob_year < "2058"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 26289, 318, 2330, 290, 614, 286, 4082, 318, 1342, 621, 1160, 3365, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 38546, 414, 796, 366, 12418, 12709, 1, 5357, 16728, 13, 67, 672, 62, 1941, 1279, 366, 1238, 3365, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 614, 286, 4082, 318, 1342, 621, 1160, 3365, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 38546, 414, 796, 366, 12418, 12709, 1, 5357, 16728, 13, 67, 672, 62, 1941, 1279, 366, 1238, 3365, 1 ]
In what year was John Bell Williams first elected?
SELECT "First elected" FROM table_18451 WHERE "Incumbent" = 'John Bell Williams'
[ 818, 644, 614, 373, 1757, 7459, 6484, 717, 7018, 30, 46506, 366, 5962, 7018, 1, 16034, 3084, 62, 1507, 36330, 33411, 366, 25517, 2178, 298, 1, 796, 705, 7554, 7459, 6484, 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 ]
[ 818, 644, 614, 373, 1757, 7459, 6484, 717, 7018, 30, 46506, 366, 5962, 7018, 1, 16034, 3084, 62, 1507, 36330, 33411, 366, 25517, 2178, 298, 1, 796, 705, 7554, 7459, 6484, 6 ]
Which Date has a Record of 36 11 7?
SELECT "Date" FROM table_49083 WHERE "Record" = '36–11–7'
[ 13828, 7536, 468, 257, 13266, 286, 4570, 1367, 767, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 2920, 48290, 33411, 366, 23739, 1, 796, 705, 2623, 1906, 1157, 1906, 22, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 7536, 468, 257, 13266, 286, 4570, 1367, 767, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 2920, 48290, 33411, 366, 23739, 1, 796, 705, 2623, 1906, 1157, 1906, 22, 6 ]
WHAT IS THE ENROLLMENT FOR cole saint-ther se AFTER 1954?
SELECT MIN("2012 Enrolment") FROM table_9623 WHERE "School Name" = 'école saint-therèse' AND "Year Open" > '1954'
[ 32971, 3180, 3336, 12964, 13252, 3069, 10979, 7473, 763, 293, 32292, 12, 490, 384, 36050, 24718, 30, 46506, 20625, 7203, 6999, 2039, 3225, 434, 4943, 16034, 3084, 62, 4846, 1954, 33411, 366, 26130, 6530, 1, 796, 705, 2634, 1073, 293, 32292, 12, 490, 14064, 325, 6, 5357, 366, 17688, 4946, 1, 1875, 705, 1129, 4051, 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 ]
[ 32971, 3180, 3336, 12964, 13252, 3069, 10979, 7473, 763, 293, 32292, 12, 490, 384, 36050, 24718, 30, 46506, 20625, 7203, 6999, 2039, 3225, 434, 4943, 16034, 3084, 62, 4846, 1954, 33411, 366, 26130, 6530, 1, 796, 705, 2634, 1073, 293, 32292, 12, 490, 14064, 325, 6, 5357, 366, 17688, 4946, 1, 1875, 705, 1129, 4051, 6 ]
Find all the payment dates for the payments with an amount larger than 10 and the payments handled by a staff person with the first name Elsa.
SELECT payment_date FROM payment WHERE amount > 10 UNION SELECT T1.payment_date FROM payment AS T1 JOIN staff AS T2 ON T1.staff_id = T2.staff_id WHERE T2.first_name = 'Elsa'
[ 16742, 477, 262, 6074, 9667, 329, 262, 7524, 351, 281, 2033, 4025, 621, 838, 290, 262, 7524, 12118, 416, 257, 3085, 1048, 351, 262, 717, 1438, 19226, 13, 46506, 6074, 62, 4475, 16034, 6074, 33411, 2033, 1875, 838, 4725, 2849, 33493, 309, 16, 13, 37301, 62, 4475, 16034, 6074, 7054, 309, 16, 32357, 1268, 3085, 7054, 309, 17, 6177, 309, 16, 13, 28120, 62, 312, 796, 309, 17, 13, 28120, 62, 312, 33411, 309, 17, 13, 11085, 62, 3672, 796, 705, 49050, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16742, 477, 262, 6074, 9667, 329, 262, 7524, 351, 281, 2033, 4025, 621, 838, 290, 262, 7524, 12118, 416, 257, 3085, 1048, 351, 262, 717, 1438, 19226, 13, 46506, 6074, 62, 4475, 16034, 6074, 33411, 2033, 1875, 838, 4725, 2849, 33493, 309, 16, 13, 37301, 62, 4475, 16034, 6074, 7054, 309, 16, 32357, 1268, 3085, 7054, 309, 17, 6177, 309, 16, 13, 28120, 62, 312, 796, 309, 17, 13, 28120, 62, 312, 33411, 309, 17, 13, 11085, 62, 3672, 796, 705, 49050, 6 ]
If the round is the semi-finals, what are the new entries this round?
SELECT new_entries_this_round FROM table_1859269_1 WHERE round = "Semi-finals"
[ 1532, 262, 2835, 318, 262, 10663, 12, 32089, 11, 644, 389, 262, 649, 12784, 428, 2835, 30, 46506, 649, 62, 298, 1678, 62, 5661, 62, 744, 16034, 3084, 62, 1507, 3270, 26276, 62, 16, 33411, 2835, 796, 366, 13900, 72, 12, 32089, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2835, 318, 262, 10663, 12, 32089, 11, 644, 389, 262, 649, 12784, 428, 2835, 30, 46506, 649, 62, 298, 1678, 62, 5661, 62, 744, 16034, 3084, 62, 1507, 3270, 26276, 62, 16, 33411, 2835, 796, 366, 13900, 72, 12, 32089, 1 ]
What is the name of the project that has a scientist assigned to it whose name contains 'Smith', and count them by a bar chart, could you order names from low to high order please?
SELECT T2.Name, COUNT(T2.Name) FROM AssignedTo AS T1 JOIN Projects AS T2 ON T1.Project = T2.Code JOIN Scientists AS T3 ON T1.Scientist = T3.SSN WHERE T3.Name LIKE '%Smith%' GROUP BY T2.Name ORDER BY T2.Name
[ 2061, 318, 262, 1438, 286, 262, 1628, 326, 468, 257, 11444, 8686, 284, 340, 3025, 1438, 4909, 705, 17919, 3256, 290, 954, 606, 416, 257, 2318, 8262, 11, 714, 345, 1502, 3891, 422, 1877, 284, 1029, 1502, 3387, 30, 46506, 309, 17, 13, 5376, 11, 327, 28270, 7, 51, 17, 13, 5376, 8, 16034, 2195, 3916, 2514, 7054, 309, 16, 32357, 1268, 29898, 7054, 309, 17, 6177, 309, 16, 13, 16775, 796, 309, 17, 13, 10669, 32357, 1268, 23782, 7054, 309, 18, 6177, 309, 16, 13, 23010, 396, 796, 309, 18, 13, 5432, 45, 33411, 309, 18, 13, 5376, 34178 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1438, 286, 262, 1628, 326, 468, 257, 11444, 8686, 284, 340, 3025, 1438, 4909, 705, 17919, 3256, 290, 954, 606, 416, 257, 2318, 8262, 11, 714, 345, 1502, 3891, 422, 1877, 284, 1029, 1502, 3387, 30, 46506, 309, 17, 13, 5376, 11, 327, 28270, 7, 51, 17, 13, 5376, 8, 16034, 2195, 3916, 2514, 7054, 309, 16, 32357, 1268, 29898, 7054, 309, 17, 6177, 309, 16, 13, 16775, 796, 309, 17, 13, 10669, 32357, 1268, 23782, 7054, 309, 18, 6177, 309, 16, 13, 23010, 396, 796, 309, 18, 13, 5432, 45, 33411, 309, 18, 13, 5376, 34178 ]
what is the highest week when the date is october 6, 1975 and attendance is higher than 79,384?
SELECT MAX("Week") FROM table_13493 WHERE "Date" = 'october 6, 1975' AND "Attendance" > '79,384'
[ 10919, 318, 262, 4511, 1285, 618, 262, 3128, 318, 19318, 2023, 718, 11, 15231, 290, 14858, 318, 2440, 621, 9225, 11, 22842, 30, 46506, 25882, 7203, 20916, 4943, 16034, 3084, 62, 1485, 43134, 33411, 366, 10430, 1, 796, 705, 38441, 2023, 718, 11, 15231, 6, 5357, 366, 8086, 437, 590, 1, 1875, 705, 3720, 11, 22842, 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 ]
[ 10919, 318, 262, 4511, 1285, 618, 262, 3128, 318, 19318, 2023, 718, 11, 15231, 290, 14858, 318, 2440, 621, 9225, 11, 22842, 30, 46506, 25882, 7203, 20916, 4943, 16034, 3084, 62, 1485, 43134, 33411, 366, 10430, 1, 796, 705, 38441, 2023, 718, 11, 15231, 6, 5357, 366, 8086, 437, 590, 1, 1875, 705, 3720, 11, 22842, 6 ]
What is rank of player Charles Eady and a Bowling of 12/63?
SELECT "Rank" FROM table_36885 WHERE "Player" = 'charles eady' AND "Bowling" = '12/63'
[ 2061, 318, 4279, 286, 2137, 7516, 412, 4597, 290, 257, 44748, 286, 1105, 14, 5066, 30, 46506, 366, 27520, 1, 16034, 3084, 62, 2623, 44230, 33411, 366, 14140, 1, 796, 705, 10641, 829, 304, 4597, 6, 5357, 366, 39961, 1359, 1, 796, 705, 1065, 14, 5066, 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 ]
[ 2061, 318, 4279, 286, 2137, 7516, 412, 4597, 290, 257, 44748, 286, 1105, 14, 5066, 30, 46506, 366, 27520, 1, 16034, 3084, 62, 2623, 44230, 33411, 366, 14140, 1, 796, 705, 10641, 829, 304, 4597, 6, 5357, 366, 39961, 1359, 1, 796, 705, 1065, 14, 5066, 6 ]
what is average age of patients whose admission type is elective and insurance is government?
SELECT AVG(demographic.age) FROM demographic WHERE demographic.admission_type = "ELECTIVE" AND demographic.insurance = "Government"
[ 10919, 318, 2811, 2479, 286, 3871, 3025, 13938, 2099, 318, 1742, 425, 290, 5096, 318, 1230, 30, 46506, 35224, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, 4906, 796, 366, 36, 16779, 9306, 1, 5357, 16728, 13, 1040, 3874, 796, 366, 28848, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 2811, 2479, 286, 3871, 3025, 13938, 2099, 318, 1742, 425, 290, 5096, 318, 1230, 30, 46506, 35224, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, 4906, 796, 366, 36, 16779, 9306, 1, 5357, 16728, 13, 1040, 3874, 796, 366, 28848, 1 ]
What is Gil Morgan's Place?
SELECT place FROM table_name_70 WHERE player = "gil morgan"
[ 2061, 318, 10689, 10805, 338, 8474, 30, 46506, 1295, 16034, 3084, 62, 3672, 62, 2154, 33411, 2137, 796, 366, 37718, 2146, 1030, 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, 10689, 10805, 338, 8474, 30, 46506, 1295, 16034, 3084, 62, 3672, 62, 2154, 33411, 2137, 796, 366, 37718, 2146, 1030, 1 ]
Top answerers for a given tag over a given period.
SELECT Users.Id AS "user_link", SUM(Answers.Score) AS Score FROM Tags JOIN PostTags ON PostTags.TagId = Tags.Id JOIN Posts ON Posts.Id = PostTags.PostId JOIN Posts AS Answers ON Answers.ParentId = Posts.Id JOIN Users ON Users.Id = Answers.OwnerUserId WHERE Tags.TagName = '##tagName##' AND Posts.CreationDate >= DATE('##startDate##') AND Posts.CreationDate <= DATE('##endDate##') GROUP BY Users.Id ORDER BY Score DESC LIMIT 100
[ 9126, 2590, 19288, 329, 257, 1813, 7621, 625, 257, 1813, 2278, 13, 46506, 18987, 13, 7390, 7054, 366, 7220, 62, 8726, 1600, 35683, 7, 2025, 37848, 13, 26595, 8, 7054, 15178, 16034, 44789, 32357, 1268, 2947, 36142, 6177, 2947, 36142, 13, 24835, 7390, 796, 44789, 13, 7390, 32357, 1268, 12043, 6177, 12043, 13, 7390, 796, 2947, 36142, 13, 6307, 7390, 32357, 1268, 12043, 7054, 42612, 6177, 42612, 13, 24546, 7390, 796, 12043, 13, 7390, 32357, 1268, 18987, 6177, 18987, 13, 7390, 796, 42612, 13, 42419, 12982, 7390, 33411, 44789, 13, 24835, 5376, 796, 705, 2235, 12985, 5376, 2235, 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 ]
[ 9126, 2590, 19288, 329, 257, 1813, 7621, 625, 257, 1813, 2278, 13, 46506, 18987, 13, 7390, 7054, 366, 7220, 62, 8726, 1600, 35683, 7, 2025, 37848, 13, 26595, 8, 7054, 15178, 16034, 44789, 32357, 1268, 2947, 36142, 6177, 2947, 36142, 13, 24835, 7390, 796, 44789, 13, 7390, 32357, 1268, 12043, 6177, 12043, 13, 7390, 796, 2947, 36142, 13, 6307, 7390, 32357, 1268, 12043, 7054, 42612, 6177, 42612, 13, 24546, 7390, 796, 12043, 13, 7390, 32357, 1268, 18987, 6177, 18987, 13, 7390, 796, 42612, 13, 42419, 12982, 7390, 33411, 44789, 13, 24835, 5376, 796, 705, 2235, 12985, 5376, 2235, 6, 5357 ]
Which Males have a percentage of 0.42?
SELECT "males" FROM table_68315 WHERE "percentage (%)" = '0.42'
[ 13828, 43404, 423, 257, 5873, 286, 657, 13, 3682, 30, 46506, 366, 76, 2040, 1, 16034, 3084, 62, 3104, 27936, 33411, 366, 25067, 496, 11509, 1, 796, 705, 15, 13, 3682, 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 ]
[ 13828, 43404, 423, 257, 5873, 286, 657, 13, 3682, 30, 46506, 366, 76, 2040, 1, 16034, 3084, 62, 3104, 27936, 33411, 366, 25067, 496, 11509, 1, 796, 705, 15, 13, 3682, 6 ]
What is the smallest amount of water having landmass over 34.864 sqmi, in Pierce township, with a GEO ID over 3800362460?
SELECT MIN("Water (sqmi)") FROM table_13260 WHERE "Land ( sqmi )" > '34.864' AND "Township" = 'pierce' AND "GEO ID" > '3800362460'
[ 2061, 318, 262, 18197, 2033, 286, 1660, 1719, 1956, 22208, 625, 4974, 13, 39570, 19862, 11632, 11, 287, 23023, 42823, 11, 351, 257, 402, 4720, 4522, 625, 4353, 405, 2623, 1731, 1899, 30, 46506, 20625, 7203, 19184, 357, 31166, 11632, 8, 4943, 16034, 3084, 62, 19924, 1899, 33411, 366, 22342, 357, 19862, 11632, 1267, 1, 1875, 705, 2682, 13, 39570, 6, 5357, 366, 38097, 6720, 1, 796, 705, 79, 9798, 6, 5357, 366, 38, 4720, 4522, 1, 1875, 705, 2548, 405, 2623, 1731, 1899, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 18197, 2033, 286, 1660, 1719, 1956, 22208, 625, 4974, 13, 39570, 19862, 11632, 11, 287, 23023, 42823, 11, 351, 257, 402, 4720, 4522, 625, 4353, 405, 2623, 1731, 1899, 30, 46506, 20625, 7203, 19184, 357, 31166, 11632, 8, 4943, 16034, 3084, 62, 19924, 1899, 33411, 366, 22342, 357, 19862, 11632, 1267, 1, 1875, 705, 2682, 13, 39570, 6, 5357, 366, 38097, 6720, 1, 796, 705, 79, 9798, 6, 5357, 366, 38, 4720, 4522, 1, 1875, 705, 2548, 405, 2623, 1731, 1899, 6 ]
For those employees who do not work in departments with managers that have ids between 100 and 200, give me the comparison about manager_id over the first_name , order from low to high by the X.
SELECT FIRST_NAME, MANAGER_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY FIRST_NAME
[ 1890, 883, 4409, 508, 466, 407, 670, 287, 13346, 351, 11663, 326, 423, 220, 2340, 1022, 1802, 290, 939, 11, 1577, 502, 262, 7208, 546, 4706, 62, 312, 625, 262, 717, 62, 3672, 837, 1502, 422, 1877, 284, 1029, 416, 262, 1395, 13, 46506, 31328, 62, 20608, 11, 17254, 4760, 1137, 62, 2389, 16034, 4409, 33411, 5626, 5550, 30709, 10979, 62, 2389, 3268, 357, 46506, 5550, 30709, 10979, 62, 2389, 16034, 13346, 33411, 17254, 4760, 1137, 62, 2389, 38651, 8845, 1677, 1802, 5357, 939, 8, 38678, 11050, 31328, 62, 20608 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1890, 883, 4409, 508, 466, 407, 670, 287, 13346, 351, 11663, 326, 423, 220, 2340, 1022, 1802, 290, 939, 11, 1577, 502, 262, 7208, 546, 4706, 62, 312, 625, 262, 717, 62, 3672, 837, 1502, 422, 1877, 284, 1029, 416, 262, 1395, 13, 46506, 31328, 62, 20608, 11, 17254, 4760, 1137, 62, 2389, 16034, 4409, 33411, 5626, 5550, 30709, 10979, 62, 2389, 3268, 357, 46506, 5550, 30709, 10979, 62, 2389, 16034, 13346, 33411, 17254, 4760, 1137, 62, 2389, 38651, 8845, 1677, 1802, 5357, 939, 8, 38678, 11050, 31328, 62, 20608 ]
how many patients whose admission type is urgent and procedure icd9 code is 3799?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_type = "URGENT" AND procedures.icd9_code = "3799"
[ 4919, 867, 3871, 3025, 13938, 2099, 318, 18039, 290, 8771, 14158, 67, 24, 2438, 318, 5214, 2079, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, 13, 18108, 76, 62, 312, 796, 9021, 13, 18108, 76, 62, 312, 33411, 16728, 13, 324, 3411, 62, 4906, 796, 366, 4261, 38, 3525, 1, 5357, 9021, 13, 291, 67, 24, 62, 8189, 796, 366, 2718, 2079, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 3871, 3025, 13938, 2099, 318, 18039, 290, 8771, 14158, 67, 24, 2438, 318, 5214, 2079, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, 13, 18108, 76, 62, 312, 796, 9021, 13, 18108, 76, 62, 312, 33411, 16728, 13, 324, 3411, 62, 4906, 796, 366, 4261, 38, 3525, 1, 5357, 9021, 13, 291, 67, 24, 62, 8189, 796, 366, 2718, 2079, 1 ]
When was the incumbent from the Virginia 10 district first elected?
SELECT first_elected FROM table_2668401_17 WHERE district = "Virginia 10"
[ 2215, 373, 262, 23526, 422, 262, 6025, 838, 4783, 717, 7018, 30, 46506, 717, 62, 28604, 16034, 3084, 62, 2075, 3104, 21844, 62, 1558, 33411, 4783, 796, 366, 41017, 838, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 373, 262, 23526, 422, 262, 6025, 838, 4783, 717, 7018, 30, 46506, 717, 62, 28604, 16034, 3084, 62, 2075, 3104, 21844, 62, 1558, 33411, 4783, 796, 366, 41017, 838, 1 ]
what were the four most most common specimen tests in 2101?
SELECT t1.spec_type_desc FROM (SELECT microbiologyevents.spec_type_desc, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM microbiologyevents WHERE STRFTIME('%y', microbiologyevents.charttime) = '2101' GROUP BY microbiologyevents.spec_type_desc) AS t1 WHERE t1.c1 <= 4
[ 10919, 547, 262, 1440, 749, 749, 2219, 31674, 5254, 287, 2310, 486, 30, 46506, 256, 16, 13, 16684, 62, 4906, 62, 20147, 16034, 357, 46506, 24559, 1435, 31534, 13, 16684, 62, 4906, 62, 20147, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, 7, 28104, 22196, 34, 8, 7054, 269, 16, 16034, 24559, 1435, 31534, 33411, 19269, 9792, 12789, 10786, 4, 88, 3256, 24559, 1435, 31534, 13, 40926, 2435, 8, 796, 705, 2481, 486, 6, 44441, 11050, 24559, 1435, 31534, 13, 16684, 62, 4906, 62, 20147, 8, 7054, 256, 16, 33411, 256, 16, 13, 66 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1440, 749, 749, 2219, 31674, 5254, 287, 2310, 486, 30, 46506, 256, 16, 13, 16684, 62, 4906, 62, 20147, 16034, 357, 46506, 24559, 1435, 31534, 13, 16684, 62, 4906, 62, 20147, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, 7, 28104, 22196, 34, 8, 7054, 269, 16, 16034, 24559, 1435, 31534, 33411, 19269, 9792, 12789, 10786, 4, 88, 3256, 24559, 1435, 31534, 13, 40926, 2435, 8, 796, 705, 2481, 486, 6, 44441, 11050, 24559, 1435, 31534, 13, 16684, 62, 4906, 62, 20147, 8, 7054, 256, 16, 33411, 256, 16, 13, 66 ]
For all employees who have the letters D or S in their first name, show me the trend about employee_id over hire_date with a line chart.
SELECT HIRE_DATE, EMPLOYEE_ID FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%'
[ 1890, 477, 4409, 508, 423, 262, 7475, 360, 393, 311, 287, 511, 717, 1438, 11, 905, 502, 262, 5182, 546, 6538, 62, 312, 625, 11078, 62, 4475, 351, 257, 1627, 8262, 13, 46506, 36210, 2200, 62, 35, 6158, 11, 17228, 6489, 21414, 6500, 62, 2389, 16034, 4409, 33411, 31328, 62, 20608, 34178, 705, 4, 35, 4, 6, 6375, 31328, 62, 20608, 34178, 705, 4, 50, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1890, 477, 4409, 508, 423, 262, 7475, 360, 393, 311, 287, 511, 717, 1438, 11, 905, 502, 262, 5182, 546, 6538, 62, 312, 625, 11078, 62, 4475, 351, 257, 1627, 8262, 13, 46506, 36210, 2200, 62, 35, 6158, 11, 17228, 6489, 21414, 6500, 62, 2389, 16034, 4409, 33411, 31328, 62, 20608, 34178, 705, 4, 35, 4, 6, 6375, 31328, 62, 20608, 34178, 705, 4, 50, 4, 6 ]
How many classes of the upper level are 1 credits ?
SELECT COUNT(DISTINCT course.course_id) FROM course INNER JOIN program_course ON program_course.course_id = course.course_id WHERE course.credits = 1 AND program_course.category LIKE 'ULCS'
[ 2437, 867, 6097, 286, 262, 6727, 1241, 389, 352, 10824, 5633, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 1781, 13, 17319, 62, 312, 8, 16034, 1781, 3268, 21479, 32357, 1268, 1430, 62, 17319, 6177, 1430, 62, 17319, 13, 17319, 62, 312, 796, 1781, 13, 17319, 62, 312, 33411, 1781, 13, 66, 20696, 796, 352, 5357, 1430, 62, 17319, 13, 22872, 34178, 705, 52, 29814, 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 ]
[ 2437, 867, 6097, 286, 262, 6727, 1241, 389, 352, 10824, 5633, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 1781, 13, 17319, 62, 312, 8, 16034, 1781, 3268, 21479, 32357, 1268, 1430, 62, 17319, 6177, 1430, 62, 17319, 13, 17319, 62, 312, 796, 1781, 13, 17319, 62, 312, 33411, 1781, 13, 66, 20696, 796, 352, 5357, 1430, 62, 17319, 13, 22872, 34178, 705, 52, 29814, 6 ]
Count the number of members in club 'Bootup Baltimore' whose age is below 18.
SELECT COUNT(*) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Bootup Baltimore" AND t3.age < 18
[ 12332, 262, 1271, 286, 1866, 287, 3430, 705, 36476, 929, 10346, 6, 3025, 2479, 318, 2174, 1248, 13, 46506, 327, 28270, 7, 28104, 16034, 3430, 7054, 256, 16, 32357, 1268, 2888, 62, 1659, 62, 18664, 7054, 256, 17, 6177, 256, 16, 13, 18664, 312, 796, 256, 17, 13, 18664, 312, 32357, 1268, 3710, 7054, 256, 18, 6177, 256, 17, 13, 301, 27112, 796, 256, 18, 13, 301, 27112, 33411, 256, 16, 13, 18664, 3672, 796, 366, 36476, 929, 10346, 1, 5357, 256, 18, 13, 496, 1279, 1248 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 12332, 262, 1271, 286, 1866, 287, 3430, 705, 36476, 929, 10346, 6, 3025, 2479, 318, 2174, 1248, 13, 46506, 327, 28270, 7, 28104, 16034, 3430, 7054, 256, 16, 32357, 1268, 2888, 62, 1659, 62, 18664, 7054, 256, 17, 6177, 256, 16, 13, 18664, 312, 796, 256, 17, 13, 18664, 312, 32357, 1268, 3710, 7054, 256, 18, 6177, 256, 17, 13, 301, 27112, 796, 256, 18, 13, 301, 27112, 33411, 256, 16, 13, 18664, 3672, 796, 366, 36476, 929, 10346, 1, 5357, 256, 18, 13, 496, 1279, 1248 ]
How much did the away team St Kilda score?
SELECT away_team AS score FROM table_name_51 WHERE away_team = "st kilda"
[ 2437, 881, 750, 262, 1497, 1074, 520, 509, 27281, 4776, 30, 46506, 1497, 62, 15097, 7054, 4776, 16034, 3084, 62, 3672, 62, 4349, 33411, 1497, 62, 15097, 796, 366, 301, 479, 27281, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 881, 750, 262, 1497, 1074, 520, 509, 27281, 4776, 30, 46506, 1497, 62, 15097, 7054, 4776, 16034, 3084, 62, 3672, 62, 4349, 33411, 1497, 62, 15097, 796, 366, 301, 479, 27281, 1 ]
what drug was prescribed to patient 012-4131 in the same day after having undergone a cultures - sputum in a month before?
SELECT t2.drugname FROM (SELECT patient.uniquepid, treatment.treatmenttime FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '012-4131') AND treatment.treatmentname = 'cultures - sputum' AND DATETIME(treatment.treatmenttime, 'start of month') = DATETIME(CURRENT_TIME(), 'start of month', '-1 month')) AS t1 JOIN (SELECT patient.uniquepid, medication.drugname, medication.drugstarttime FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '012-4131') AND DATETIME(medication.drugstarttime, 'start of month') = DATETIME(CURRENT_TIME(), 'start of month', '-1 month')) AS t2 ON t1.uniquepid = t2.uniquepid WHERE t1.treatmenttime < t2.drugstarttime AND DATETIME(t1.treatmenttime, 'start of day') = DATETIME(t2.drugstarttime, 'start of day')
[ 10919, 2563, 373, 14798, 284, 5827, 5534, 17, 12, 19, 22042, 287, 262, 976, 1110, 706, 1719, 29900, 257, 13817, 532, 599, 315, 388, 287, 257, 1227, 878, 30, 46506, 256, 17, 13, 30349, 3672, 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, 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, 30206, 12, 19 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2563, 373, 14798, 284, 5827, 5534, 17, 12, 19, 22042, 287, 262, 976, 1110, 706, 1719, 29900, 257, 13817, 532, 599, 315, 388, 287, 257, 1227, 878, 30, 46506, 256, 17, 13, 30349, 3672, 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, 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, 30206, 12, 19 ]
what's first systemicsystolic value of patient 004-4326 since 2080 days ago?
SELECT vitalperiodic.systemicsystolic FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '004-4326')) AND NOT vitalperiodic.systemicsystolic IS NULL AND DATETIME(vitalperiodic.observationtime) >= DATETIME(CURRENT_TIME(), '-2080 day') ORDER BY vitalperiodic.observationtime LIMIT 1
[ 10919, 338, 717, 1080, 873, 88, 301, 4160, 1988, 286, 5827, 3571, 19, 12, 3559, 2075, 1201, 1160, 1795, 1528, 2084, 30, 46506, 9204, 41007, 291, 13, 10057, 873, 88, 301, 4160, 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, 22914, 12, 3559, 2075, 6, 4008, 5357, 5626, 9204, 41007, 291, 13, 10057, 873, 88 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 338, 717, 1080, 873, 88, 301, 4160, 1988, 286, 5827, 3571, 19, 12, 3559, 2075, 1201, 1160, 1795, 1528, 2084, 30, 46506, 9204, 41007, 291, 13, 10057, 873, 88, 301, 4160, 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, 22914, 12, 3559, 2075, 6, 4008, 5357, 5626, 9204, 41007, 291, 13, 10057, 873, 88 ]
What is the home team for Windy Hill?
SELECT "Home team" FROM table_11077 WHERE "Venue" = 'windy hill'
[ 2061, 318, 262, 1363, 1074, 329, 3086, 88, 3327, 30, 46506, 366, 16060, 1074, 1, 16034, 3084, 62, 11442, 3324, 33411, 366, 37522, 518, 1, 796, 705, 7972, 88, 12788, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1363, 1074, 329, 3086, 88, 3327, 30, 46506, 366, 16060, 1074, 1, 16034, 3084, 62, 11442, 3324, 33411, 366, 37522, 518, 1, 796, 705, 7972, 88, 12788, 6 ]
Find the name and training hours of players whose hours are below 1500 Show bar chart, show names in desc order.
SELECT pName, HS FROM Player WHERE HS < 1500 ORDER BY pName DESC
[ 16742, 262, 1438, 290, 3047, 2250, 286, 1938, 3025, 2250, 389, 2174, 20007, 5438, 2318, 8262, 11, 905, 3891, 287, 1715, 1502, 13, 46506, 279, 5376, 11, 18070, 16034, 7853, 33411, 18070, 1279, 20007, 38678, 11050, 279, 5376, 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 ]
[ 16742, 262, 1438, 290, 3047, 2250, 286, 1938, 3025, 2250, 389, 2174, 20007, 5438, 2318, 8262, 11, 905, 3891, 287, 1715, 1502, 13, 46506, 279, 5376, 11, 18070, 16034, 7853, 33411, 18070, 1279, 20007, 38678, 11050, 279, 5376, 22196, 34 ]
Name the candidates for ellsworth b. buck
SELECT "Candidates" FROM table_18574 WHERE "Incumbent" = 'Ellsworth B. Buck'
[ 5376, 262, 5871, 329, 30004, 30567, 275, 13, 10230, 46506, 366, 41572, 37051, 1, 16034, 3084, 62, 1507, 46900, 33411, 366, 25517, 2178, 298, 1, 796, 705, 30639, 30567, 347, 13, 13452, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 5871, 329, 30004, 30567, 275, 13, 10230, 46506, 366, 41572, 37051, 1, 16034, 3084, 62, 1507, 46900, 33411, 366, 25517, 2178, 298, 1, 796, 705, 30639, 30567, 347, 13, 13452, 6 ]
A pie chart shows the proportion of ACC_Regular_Season and ACC_Percent.
SELECT ACC_Regular_Season, ACC_Percent FROM basketball_match
[ 32, 2508, 8262, 2523, 262, 9823, 286, 15859, 62, 40164, 62, 18960, 290, 15859, 62, 31905, 13, 46506, 15859, 62, 40164, 62, 18960, 11, 15859, 62, 31905, 16034, 9669, 62, 15699 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 2508, 8262, 2523, 262, 9823, 286, 15859, 62, 40164, 62, 18960, 290, 15859, 62, 31905, 13, 46506, 15859, 62, 40164, 62, 18960, 11, 15859, 62, 31905, 16034, 9669, 62, 15699 ]
Is 595 open to be taken by undergrads ?
SELECT DISTINCT advisory_requirement, enforced_requirement, name FROM course WHERE department = 'EECS' AND number = 595
[ 3792, 642, 3865, 1280, 284, 307, 2077, 416, 739, 2164, 5643, 5633, 46506, 360, 8808, 1268, 4177, 20852, 62, 8897, 24615, 11, 20326, 62, 8897, 24615, 11, 1438, 16034, 1781, 33411, 5011, 796, 705, 36, 2943, 50, 6, 5357, 1271, 796, 642, 3865 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 3792, 642, 3865, 1280, 284, 307, 2077, 416, 739, 2164, 5643, 5633, 46506, 360, 8808, 1268, 4177, 20852, 62, 8897, 24615, 11, 20326, 62, 8897, 24615, 11, 1438, 16034, 1781, 33411, 5011, 796, 705, 36, 2943, 50, 6, 5357, 1271, 796, 642, 3865 ]
hba1c greater than 7 %
SELECT * FROM table_train_224 WHERE hba1c > 7
[ 71, 7012, 16, 66, 3744, 621, 767, 4064, 46506, 1635, 16034, 3084, 62, 27432, 62, 24137, 33411, 289, 7012, 16, 66, 1875, 767 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 71, 7012, 16, 66, 3744, 621, 767, 4064, 46506, 1635, 16034, 3084, 62, 27432, 62, 24137, 33411, 289, 7012, 16, 66, 1875, 767 ]
Bar chart x axis product name y axis how many product name, and display Y in descending order.
SELECT Product_Name, COUNT(Product_Name) FROM Products GROUP BY Product_Name ORDER BY COUNT(Product_Name) DESC
[ 10374, 8262, 2124, 16488, 1720, 1438, 331, 16488, 703, 867, 1720, 1438, 11, 290, 3359, 575, 287, 31491, 1502, 13, 46506, 8721, 62, 5376, 11, 327, 28270, 7, 15667, 62, 5376, 8, 16034, 18675, 44441, 11050, 8721, 62, 5376, 38678, 11050, 327, 28270, 7, 15667, 62, 5376, 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 ]
[ 10374, 8262, 2124, 16488, 1720, 1438, 331, 16488, 703, 867, 1720, 1438, 11, 290, 3359, 575, 287, 31491, 1502, 13, 46506, 8721, 62, 5376, 11, 327, 28270, 7, 15667, 62, 5376, 8, 16034, 18675, 44441, 11050, 8721, 62, 5376, 38678, 11050, 327, 28270, 7, 15667, 62, 5376, 8, 22196, 34 ]
What is the Total Apps when League Cup Apps is 0 (1), and position is df?
SELECT total_apps FROM table_name_55 WHERE league_cup_apps = "0 (1)" AND position = "df"
[ 2061, 318, 262, 7472, 27710, 618, 4041, 5454, 27710, 318, 657, 357, 16, 828, 290, 2292, 318, 47764, 30, 46506, 2472, 62, 18211, 16034, 3084, 62, 3672, 62, 2816, 33411, 4652, 62, 25244, 62, 18211, 796, 366, 15, 357, 16, 16725, 5357, 2292, 796, 366, 7568, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7472, 27710, 618, 4041, 5454, 27710, 318, 657, 357, 16, 828, 290, 2292, 318, 47764, 30, 46506, 2472, 62, 18211, 16034, 3084, 62, 3672, 62, 2816, 33411, 4652, 62, 25244, 62, 18211, 796, 366, 15, 357, 16, 16725, 5357, 2292, 796, 366, 7568, 1 ]
Which patients have the lope2 drug code?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.formulary_drug_cd = "LOPE2"
[ 13828, 3871, 423, 262, 300, 3008, 17, 2563, 2438, 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, 34092, 13, 687, 377, 560, 62, 30349, 62, 10210, 796, 366, 43, 32135, 17, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 3871, 423, 262, 300, 3008, 17, 2563, 2438, 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, 34092, 13, 687, 377, 560, 62, 30349, 62, 10210, 796, 366, 43, 32135, 17, 1 ]
Find the number of female patients who have an aspirin drug prescription.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.gender = "F" AND prescriptions.drug = "Aspirin"
[ 16742, 262, 1271, 286, 4048, 3871, 508, 423, 281, 49550, 2563, 15077, 13, 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, 8388, 796, 366, 37, 1, 5357, 34092, 13, 30349, 796, 366, 1722, 4063, 259, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16742, 262, 1271, 286, 4048, 3871, 508, 423, 281, 49550, 2563, 15077, 13, 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, 8388, 796, 366, 37, 1, 5357, 34092, 13, 30349, 796, 366, 1722, 4063, 259, 1 ]
What was the archive for episode with 6.6 million viewers?
SELECT archive FROM table_1601935_1 WHERE viewers__in_millions_ = "6.6"
[ 2061, 373, 262, 15424, 329, 4471, 351, 718, 13, 21, 1510, 10209, 30, 46506, 15424, 16034, 3084, 62, 1433, 30484, 2327, 62, 16, 33411, 10209, 834, 259, 62, 17805, 507, 62, 796, 366, 21, 13, 21, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 15424, 329, 4471, 351, 718, 13, 21, 1510, 10209, 30, 46506, 15424, 16034, 3084, 62, 1433, 30484, 2327, 62, 16, 33411, 10209, 834, 259, 62, 17805, 507, 62, 796, 366, 21, 13, 21, 1 ]
What was the nationality for the player with 33 goals?
SELECT "Nationality" FROM table_13176 WHERE "Goals" = '33'
[ 2061, 373, 262, 29835, 329, 262, 2137, 351, 4747, 4661, 30, 46506, 366, 16186, 414, 1, 16034, 3084, 62, 1485, 24096, 33411, 366, 5247, 874, 1, 796, 705, 2091, 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, 29835, 329, 262, 2137, 351, 4747, 4661, 30, 46506, 366, 16186, 414, 1, 16034, 3084, 62, 1485, 24096, 33411, 366, 5247, 874, 1, 796, 705, 2091, 6 ]
QUERY: count tags from daterange. TODO: compare from two different dateranges...
SELECT Tags.TagName, COUNT(*) AS tagcount FROM Posts INNER JOIN PostTags ON PostTags.PostId = Posts.Id INNER JOIN Tags ON Tags.Id = PostTags.TagId WHERE TIME_TO_STR(Posts.CreationDate, '%Y') = 2011 AND TIME_TO_STR(Posts.CreationDate, '%m') = 1 GROUP BY Tags.TagName ORDER BY tagcount DESC LIMIT 10
[ 10917, 19664, 25, 954, 15940, 422, 288, 729, 858, 13, 16926, 46, 25, 8996, 422, 734, 1180, 288, 729, 6231, 986, 46506, 44789, 13, 24835, 5376, 11, 327, 28270, 7, 28104, 7054, 7621, 9127, 16034, 12043, 3268, 21479, 32357, 1268, 2947, 36142, 6177, 2947, 36142, 13, 6307, 7390, 796, 12043, 13, 7390, 3268, 21479, 32357, 1268, 44789, 6177, 44789, 13, 7390, 796, 2947, 36142, 13, 24835, 7390, 33411, 20460, 62, 10468, 62, 18601, 7, 21496, 13, 12443, 341, 10430, 11, 705, 4, 56, 11537, 796, 2813, 5357, 20460, 62, 10468, 62, 18601, 7, 21496, 13, 12443, 341, 10430, 11, 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 ]
[ 10917, 19664, 25, 954, 15940, 422, 288, 729, 858, 13, 16926, 46, 25, 8996, 422, 734, 1180, 288, 729, 6231, 986, 46506, 44789, 13, 24835, 5376, 11, 327, 28270, 7, 28104, 7054, 7621, 9127, 16034, 12043, 3268, 21479, 32357, 1268, 2947, 36142, 6177, 2947, 36142, 13, 6307, 7390, 796, 12043, 13, 7390, 3268, 21479, 32357, 1268, 44789, 6177, 44789, 13, 7390, 796, 2947, 36142, 13, 24835, 7390, 33411, 20460, 62, 10468, 62, 18601, 7, 21496, 13, 12443, 341, 10430, 11, 705, 4, 56, 11537, 796, 2813, 5357, 20460, 62, 10468, 62, 18601, 7, 21496, 13, 12443, 341, 10430, 11, 705 ]
Show the name of each party and the corresponding number of delegates from that party Plot them as bar chart, and list from low to high by the Y-axis please.
SELECT T2.Party, SUM(COUNT(*)) FROM election AS T1 JOIN party AS T2 ON T1.Party = T2.Party_ID GROUP BY T2.Party ORDER BY SUM(COUNT(*))
[ 15307, 262, 1438, 286, 1123, 2151, 290, 262, 11188, 1271, 286, 15265, 422, 326, 2151, 28114, 606, 355, 2318, 8262, 11, 290, 1351, 422, 1877, 284, 1029, 416, 262, 575, 12, 22704, 3387, 13, 46506, 309, 17, 13, 33553, 11, 35683, 7, 34, 28270, 46491, 4008, 16034, 3071, 7054, 309, 16, 32357, 1268, 2151, 7054, 309, 17, 6177, 309, 16, 13, 33553, 796, 309, 17, 13, 33553, 62, 2389, 44441, 11050, 309, 17, 13, 33553, 38678, 11050, 35683, 7, 34, 28270, 46491, 4008 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 262, 1438, 286, 1123, 2151, 290, 262, 11188, 1271, 286, 15265, 422, 326, 2151, 28114, 606, 355, 2318, 8262, 11, 290, 1351, 422, 1877, 284, 1029, 416, 262, 575, 12, 22704, 3387, 13, 46506, 309, 17, 13, 33553, 11, 35683, 7, 34, 28270, 46491, 4008, 16034, 3071, 7054, 309, 16, 32357, 1268, 2151, 7054, 309, 17, 6177, 309, 16, 13, 33553, 796, 309, 17, 13, 33553, 62, 2389, 44441, 11050, 309, 17, 13, 33553, 38678, 11050, 35683, 7, 34, 28270, 46491, 4008 ]
what was the transfer fee to transfer kevin watson ?
SELECT "fee" FROM table_204_482 WHERE "name" = 'kevin watson'
[ 10919, 373, 262, 4351, 6838, 284, 4351, 885, 7114, 266, 13506, 5633, 46506, 366, 39071, 1, 16034, 3084, 62, 18638, 62, 40149, 33411, 366, 3672, 1, 796, 705, 365, 7114, 266, 13506, 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 ]
[ 10919, 373, 262, 4351, 6838, 284, 4351, 885, 7114, 266, 13506, 5633, 46506, 366, 39071, 1, 16034, 3084, 62, 18638, 62, 40149, 33411, 366, 3672, 1, 796, 705, 365, 7114, 266, 13506, 6 ]