instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
What surface has indian wells as the championship, with winner as the outcome?
SELECT surface FROM table_name_63 WHERE championship = "indian wells" AND outcome = "winner"
[ 2061, 4417, 468, 773, 666, 22571, 355, 262, 12184, 11, 351, 8464, 355, 262, 8055, 30, 46506, 4417, 16034, 3084, 62, 3672, 62, 5066, 33411, 12184, 796, 366, 521, 666, 22571, 1, 5357, 8055, 796, 366, 39791, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4417, 468, 773, 666, 22571, 355, 262, 12184, 11, 351, 8464, 355, 262, 8055, 30, 46506, 4417, 16034, 3084, 62, 3672, 62, 5066, 33411, 12184, 796, 366, 521, 666, 22571, 1, 5357, 8055, 796, 366, 39791, 1 ]
Who is the Opponent in the final on 4 April 2011?
SELECT "Opponent in the final" FROM table_42892 WHERE "Date" = '4 april 2011'
[ 8241, 318, 262, 9385, 3471, 287, 262, 2457, 319, 604, 3035, 2813, 30, 46506, 366, 27524, 3471, 287, 262, 2457, 1, 16034, 3084, 62, 40173, 5892, 33411, 366, 10430, 1, 796, 705, 19, 46593, 346, 2813, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 318, 262, 9385, 3471, 287, 262, 2457, 319, 604, 3035, 2813, 30, 46506, 366, 27524, 3471, 287, 262, 2457, 1, 16034, 3084, 62, 40173, 5892, 33411, 366, 10430, 1, 796, 705, 19, 46593, 346, 2813, 6 ]
Show the number of courses for each course description in a bar chart, and order by the total number in ascending.
SELECT CRS_DESCRIPTION, COUNT(CRS_DESCRIPTION) FROM CLASS AS T1 JOIN EMPLOYEE AS T2 ON T1.PROF_NUM = T2.EMP_NUM JOIN COURSE AS T3 ON T1.CRS_CODE = T3.CRS_CODE GROUP BY CRS_DESCRIPTION ORDER BY COUNT(CRS_DESCRIPTION)
[ 15307, 262, 1271, 286, 10902, 329, 1123, 1781, 6764, 287, 257, 2318, 8262, 11, 290, 1502, 416, 262, 2472, 1271, 287, 41988, 13, 46506, 327, 6998, 62, 30910, 40165, 11, 327, 28270, 7, 34, 6998, 62, 30910, 40165, 8, 16034, 42715, 7054, 309, 16, 32357, 1268, 17228, 6489, 21414, 6500, 7054, 309, 17, 6177, 309, 16, 13, 4805, 19238, 62, 41359, 796, 309, 17, 13, 39494, 62, 41359, 32357, 1268, 37384, 5188, 7054, 309, 18, 6177, 309, 16, 13, 34, 6998, 62, 34, 16820, 796, 309, 18, 13, 34, 6998, 62, 34, 16820, 44441, 11050, 327, 6998, 62, 30910, 40165 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 262, 1271, 286, 10902, 329, 1123, 1781, 6764, 287, 257, 2318, 8262, 11, 290, 1502, 416, 262, 2472, 1271, 287, 41988, 13, 46506, 327, 6998, 62, 30910, 40165, 11, 327, 28270, 7, 34, 6998, 62, 30910, 40165, 8, 16034, 42715, 7054, 309, 16, 32357, 1268, 17228, 6489, 21414, 6500, 7054, 309, 17, 6177, 309, 16, 13, 4805, 19238, 62, 41359, 796, 309, 17, 13, 39494, 62, 41359, 32357, 1268, 37384, 5188, 7054, 309, 18, 6177, 309, 16, 13, 34, 6998, 62, 34, 16820, 796, 309, 18, 13, 34, 6998, 62, 34, 16820, 44441, 11050, 327, 6998, 62, 30910, 40165 ]
How many 2nd legs had an aggregate of 2-4?
SELECT COUNT("2nd leg") FROM table_19179 WHERE "Aggregate" = '2-4'
[ 2437, 867, 362, 358, 7405, 550, 281, 19406, 286, 362, 12, 19, 30, 46506, 327, 28270, 7203, 17, 358, 1232, 4943, 16034, 3084, 62, 1129, 21738, 33411, 366, 46384, 49373, 1, 796, 705, 17, 12, 19, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 362, 358, 7405, 550, 281, 19406, 286, 362, 12, 19, 30, 46506, 327, 28270, 7203, 17, 358, 1232, 4943, 16034, 3084, 62, 1129, 21738, 33411, 366, 46384, 49373, 1, 796, 705, 17, 12, 19, 6 ]
What was the attendance record for Leicester City?
SELECT attendance FROM table_name_17 WHERE home_team = "leicester city"
[ 2061, 373, 262, 14858, 1700, 329, 29224, 2254, 30, 46506, 14858, 16034, 3084, 62, 3672, 62, 1558, 33411, 1363, 62, 15097, 796, 366, 293, 26382, 1748, 1 ]
[ 1, 1, 1, 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, 1700, 329, 29224, 2254, 30, 46506, 14858, 16034, 3084, 62, 3672, 62, 1558, 33411, 1363, 62, 15097, 796, 366, 293, 26382, 1748, 1 ]
Name the percentage with number of 1 343
SELECT percentage___percentage_ FROM table_name_11 WHERE number = "1 343"
[ 5376, 262, 5873, 351, 1271, 286, 352, 37290, 46506, 5873, 17569, 25067, 496, 62, 16034, 3084, 62, 3672, 62, 1157, 33411, 1271, 796, 366, 16, 37290, 1 ]
[ 1, 1, 1, 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, 5873, 351, 1271, 286, 352, 37290, 46506, 5873, 17569, 25067, 496, 62, 16034, 3084, 62, 3672, 62, 1157, 33411, 1271, 796, 366, 16, 37290, 1 ]
Review results with links to the review page. Returns the full ReviewTaskResults table, with a link to the corresponding review page on the site. Note that the site displays the user associated with each review task result, but the table does not.
SELECT 'site://review/close/' + CAST(ReviewTaskResults.ReviewTaskId AS TEXT) + '|' + CAST(ReviewTaskResults.ReviewTaskId AS TEXT) AS "Review Link", ReviewTasks.ReviewTaskTypeId, CASE WHEN ReviewTasks.ReviewTaskTypeId = 1 THEN 'suggested-edits' ELSE 'null' END, ReviewTaskTypes.Name, ReviewTaskResults.* FROM ReviewTaskResults JOIN ReviewTasks ON ReviewTaskResults.ReviewTaskId = ReviewTasks.Id JOIN ReviewTaskTypes ON ReviewTaskTypes.Id = ReviewTasks.ReviewTaskTypeId ORDER BY ReviewTaskResults.CreationDate DESC LIMIT 50
[ 14832, 2482, 351, 6117, 284, 262, 2423, 2443, 13, 16409, 262, 1336, 6602, 25714, 25468, 3084, 11, 351, 257, 2792, 284, 262, 11188, 2423, 2443, 319, 262, 2524, 13, 201, 198, 201, 198, 6425, 326, 262, 2524, 11298, 262, 2836, 3917, 351, 1123, 2423, 4876, 1255, 11, 475, 262, 3084, 857, 407, 13, 46506, 705, 15654, 1378, 19023, 14, 19836, 14, 6, 1343, 327, 11262, 7, 14832, 25714, 25468, 13, 14832, 25714, 7390, 7054, 40383, 8, 1343, 705, 91, 6, 1343, 327, 11262, 7, 14832, 25714, 25468, 13, 14832, 25714, 7390, 7054, 40383, 8, 7054, 366, 14832, 7502, 1600, 6602 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 14832, 2482, 351, 6117, 284, 262, 2423, 2443, 13, 16409, 262, 1336, 6602, 25714, 25468, 3084, 11, 351, 257, 2792, 284, 262, 11188, 2423, 2443, 319, 262, 2524, 13, 201, 198, 201, 198, 6425, 326, 262, 2524, 11298, 262, 2836, 3917, 351, 1123, 2423, 4876, 1255, 11, 475, 262, 3084, 857, 407, 13, 46506, 705, 15654, 1378, 19023, 14, 19836, 14, 6, 1343, 327, 11262, 7, 14832, 25714, 25468, 13, 14832, 25714, 7390, 7054, 40383, 8, 1343, 705, 91, 6, 1343, 327, 11262, 7, 14832, 25714, 25468, 13, 14832, 25714, 7390, 7054, 40383, 8, 7054, 366, 14832, 7502, 1600, 6602 ]
are there any nonstop flights leaving from DALLAS to BALTIMORE 7 7 with who UA
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 = 'BALTIMORE' AND date_day.day_number = 7 AND date_day.month_number = 7 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 = 'DALLAS' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code) AND flight.airline_code = 'UA') AND flight.stops = 0
[ 533, 612, 597, 1729, 11338, 13956, 4305, 422, 360, 7036, 1921, 284, 347, 31429, 3955, 6965, 767, 767, 351, 508, 471, 11159, 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, 7, 34, 9050, 62, 16, 13, 19205, 62, 8189, 796, 31600, 15490, 62, 35009, 27389, 62, 16, 13, 19205, 62, 8189, 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 ]
[ 533, 612, 597, 1729, 11338, 13956, 4305, 422, 360, 7036, 1921, 284, 347, 31429, 3955, 6965, 767, 767, 351, 508, 471, 11159, 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, 7, 34, 9050, 62, 16, 13, 19205, 62, 8189, 796, 31600, 15490, 62, 35009, 27389, 62, 16, 13, 19205, 62, 8189, 5357 ]
Show the order ids and the number of invoices for each order.
SELECT order_id, COUNT(*) FROM Invoices GROUP BY order_id
[ 15307, 262, 1502, 220, 2340, 290, 262, 1271, 286, 800, 78, 1063, 329, 1123, 1502, 13, 46506, 1502, 62, 312, 11, 327, 28270, 7, 28104, 16034, 10001, 78, 1063, 44441, 11050, 1502, 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 ]
[ 15307, 262, 1502, 220, 2340, 290, 262, 1271, 286, 800, 78, 1063, 329, 1123, 1502, 13, 46506, 1502, 62, 312, 11, 327, 28270, 7, 28104, 16034, 10001, 78, 1063, 44441, 11050, 1502, 62, 312 ]
had patient 030-53717 been diagnosed since 2 years ago with sedated - responsive?
SELECT COUNT(*) > 0 FROM diagnosis WHERE diagnosis.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '030-53717')) AND diagnosis.diagnosisname = 'sedated - responsive' AND DATETIME(diagnosis.diagnosistime) >= DATETIME(CURRENT_TIME(), '-2 year')
[ 18108, 5827, 657, 1270, 12, 46096, 1558, 587, 14641, 1201, 362, 812, 2084, 351, 10081, 515, 532, 21802, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 13669, 33411, 13669, 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, 39101, 12, 46096, 1558, 6, 4008, 5357, 13669, 13, 47356, 5958, 3672, 796, 705, 36622, 515, 532, 21802, 6, 5357, 360, 1404, 2767, 12789, 7 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 18108, 5827, 657, 1270, 12, 46096, 1558, 587, 14641, 1201, 362, 812, 2084, 351, 10081, 515, 532, 21802, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 13669, 33411, 13669, 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, 39101, 12, 46096, 1558, 6, 4008, 5357, 13669, 13, 47356, 5958, 3672, 796, 705, 36622, 515, 532, 21802, 6, 5357, 360, 1404, 2767, 12789, 7 ]
what is the score when the surface is carpet (i) outcome is winner and the championship is rotterdam, netherlands?
SELECT "Score" FROM table_43606 WHERE "Surface" = 'carpet (i)' AND "Outcome" = 'winner' AND "Championship" = 'rotterdam, netherlands'
[ 10919, 318, 262, 4776, 618, 262, 4417, 318, 20710, 357, 72, 8, 8055, 318, 8464, 290, 262, 12184, 318, 5724, 353, 11043, 11, 2010, 372, 4447, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 3559, 33206, 33411, 366, 14214, 2550, 1, 796, 705, 66, 5117, 316, 357, 72, 33047, 5357, 366, 7975, 2958, 1, 796, 705, 39791, 6, 5357, 366, 1925, 4350, 1056, 1, 796, 705, 10599, 353, 11043, 11, 2010, 372, 4447, 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 ]
[ 10919, 318, 262, 4776, 618, 262, 4417, 318, 20710, 357, 72, 8, 8055, 318, 8464, 290, 262, 12184, 318, 5724, 353, 11043, 11, 2010, 372, 4447, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 3559, 33206, 33411, 366, 14214, 2550, 1, 796, 705, 66, 5117, 316, 357, 72, 33047, 5357, 366, 7975, 2958, 1, 796, 705, 39791, 6, 5357, 366, 1925, 4350, 1056, 1, 796, 705, 10599, 353, 11043, 11, 2010, 372, 4447, 6 ]
What is the sum of the episodes where chip esten was the 4th performer and jim meskimen was the 1st performer?
SELECT SUM(episode) FROM table_name_96 WHERE performer_4 = "chip esten" AND performer_1 = "jim meskimen"
[ 2061, 318, 262, 2160, 286, 262, 8640, 810, 11594, 1556, 268, 373, 262, 604, 400, 26960, 290, 474, 320, 18842, 74, 19027, 373, 262, 352, 301, 26960, 30, 46506, 35683, 7, 38668, 8, 16034, 3084, 62, 3672, 62, 4846, 33411, 26960, 62, 19, 796, 366, 35902, 1556, 268, 1, 5357, 26960, 62, 16, 796, 366, 73, 320, 18842, 74, 19027, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2160, 286, 262, 8640, 810, 11594, 1556, 268, 373, 262, 604, 400, 26960, 290, 474, 320, 18842, 74, 19027, 373, 262, 352, 301, 26960, 30, 46506, 35683, 7, 38668, 8, 16034, 3084, 62, 3672, 62, 4846, 33411, 26960, 62, 19, 796, 366, 35902, 1556, 268, 1, 5357, 26960, 62, 16, 796, 366, 73, 320, 18842, 74, 19027, 1 ]
What are the courses which are only offered in the Winter ?
SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN semester ON semester.semester_id = course_offering.semester WHERE course.department = 'EECS' AND semester.semester = 'Winter' AND (SELECT COUNT(DISTINCT SEMESTERalias1.semester) FROM course AS COURSEalias1 INNER JOIN course_offering ON COURSEalias1.course_id = course_offering.course_id INNER JOIN semester AS SEMESTERalias1 ON SEMESTERalias1.semester_id = course_offering.semester WHERE course.course_id = COURSEalias1.course_id) = 1
[ 2061, 389, 262, 10902, 543, 389, 691, 4438, 287, 262, 10633, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 3268, 21479, 32357, 1268, 1781, 62, 2364, 1586, 6177, 1781, 13, 17319, 62, 312, 796, 1781, 62, 2364, 1586, 13, 17319, 62, 312, 3268, 21479, 32357, 1268, 24878, 6177, 24878, 13, 325, 6880, 353, 62, 312, 796, 1781, 62, 2364, 1586, 13, 325, 6880, 353, 33411, 1781, 13, 10378, 1823, 796, 705, 36, 2943, 50, 6, 5357, 24878, 13, 325, 6880, 353, 796, 705, 35376, 6, 5357, 357, 46506 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10902, 543, 389, 691, 4438, 287, 262, 10633, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 3268, 21479, 32357, 1268, 1781, 62, 2364, 1586, 6177, 1781, 13, 17319, 62, 312, 796, 1781, 62, 2364, 1586, 13, 17319, 62, 312, 3268, 21479, 32357, 1268, 24878, 6177, 24878, 13, 325, 6880, 353, 62, 312, 796, 1781, 62, 2364, 1586, 13, 325, 6880, 353, 33411, 1781, 13, 10378, 1823, 796, 705, 36, 2943, 50, 6, 5357, 24878, 13, 325, 6880, 353, 796, 705, 35376, 6, 5357, 357, 46506 ]
How many seasons was the losing team Adelaide City?
SELECT COUNT("Season") FROM table_17381 WHERE "LosingTeam" = 'Adelaide City'
[ 2437, 867, 7028, 373, 262, 6078, 1074, 27139, 2254, 30, 46506, 327, 28270, 7203, 18960, 4943, 16034, 3084, 62, 1558, 36626, 33411, 366, 43, 2752, 15592, 1, 796, 705, 2782, 25078, 2254, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 7028, 373, 262, 6078, 1074, 27139, 2254, 30, 46506, 327, 28270, 7203, 18960, 4943, 16034, 3084, 62, 1558, 36626, 33411, 366, 43, 2752, 15592, 1, 796, 705, 2782, 25078, 2254, 6 ]
provide the number of patients whose diagnoses short title is adv eff cardiovasc nec and drug type is base?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.short_title = "Adv eff cardiovasc NEC" AND prescriptions.drug_type = "BASE"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 40567, 1790, 3670, 318, 1354, 914, 2657, 16664, 3372, 27576, 290, 2563, 2099, 318, 2779, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312, 796, 40567, 13, 18108, 76, 62, 312, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, 18108, 76, 62, 312, 796, 34092, 13, 18108, 76, 62, 312, 33411, 40567, 13, 19509, 62, 7839, 796, 366, 22856, 914, 2657, 16664, 3372, 41804, 1, 5357, 34092, 13, 30349, 62, 4906, 796, 366 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 40567, 1790, 3670, 318, 1354, 914, 2657, 16664, 3372, 27576, 290, 2563, 2099, 318, 2779, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312, 796, 40567, 13, 18108, 76, 62, 312, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, 18108, 76, 62, 312, 796, 34092, 13, 18108, 76, 62, 312, 33411, 40567, 13, 19509, 62, 7839, 796, 366, 22856, 914, 2657, 16664, 3372, 41804, 1, 5357, 34092, 13, 30349, 62, 4906, 796, 366 ]
what is the average total cost of a hospital that includes a medicine called furosemide (lasix) inj 20 mg until 1 year ago?
SELECT AVG(t1.c1) FROM (SELECT SUM(cost.cost) AS c1 FROM cost WHERE cost.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.patientunitstayid IN (SELECT medication.patientunitstayid FROM medication WHERE medication.drugname = 'furosemide (lasix) inj 20 mg')) AND DATETIME(cost.chargetime) <= DATETIME(CURRENT_TIME(), '-1 year') GROUP BY cost.patienthealthsystemstayid) AS t1
[ 10919, 318, 262, 2811, 2472, 1575, 286, 257, 4436, 326, 3407, 257, 9007, 1444, 277, 1434, 43616, 485, 357, 21921, 844, 8, 2529, 1160, 10527, 1566, 352, 614, 2084, 30, 46506, 35224, 7, 83, 16, 13, 66, 16, 8, 16034, 357, 46506, 35683, 7, 15805, 13, 15805, 8, 7054, 269, 16, 16034, 1575, 33411, 1575, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 14103, 13, 26029, 20850, 31712, 312, 16034, 14103, 33411, 14103, 13, 30349, 3672, 796, 705, 69, 1434 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2811, 2472, 1575, 286, 257, 4436, 326, 3407, 257, 9007, 1444, 277, 1434, 43616, 485, 357, 21921, 844, 8, 2529, 1160, 10527, 1566, 352, 614, 2084, 30, 46506, 35224, 7, 83, 16, 13, 66, 16, 8, 16034, 357, 46506, 35683, 7, 15805, 13, 15805, 8, 7054, 269, 16, 16034, 1575, 33411, 1575, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 14103, 13, 26029, 20850, 31712, 312, 16034, 14103, 33411, 14103, 13, 30349, 3672, 796, 705, 69, 1434 ]
what was the last time that patient 54390 came into the hospital until 3 years ago?
SELECT admissions.admittime FROM admissions WHERE admissions.subject_id = 54390 AND DATETIME(admissions.admittime) <= DATETIME(CURRENT_TIME(), '-3 year') ORDER BY admissions.admittime DESC LIMIT 1
[ 10919, 373, 262, 938, 640, 326, 5827, 7175, 25964, 1625, 656, 262, 4436, 1566, 513, 812, 2084, 30, 46506, 25349, 13, 324, 20124, 524, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 7175, 25964, 5357, 360, 1404, 2767, 12789, 7, 324, 8481, 13, 324, 20124, 524, 8, 19841, 360, 1404, 2767, 12789, 7, 34, 39237, 62, 34694, 22784, 705, 12, 18, 614, 11537, 38678, 11050, 25349, 13, 324, 20124, 524, 22196, 34, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 373, 262, 938, 640, 326, 5827, 7175, 25964, 1625, 656, 262, 4436, 1566, 513, 812, 2084, 30, 46506, 25349, 13, 324, 20124, 524, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 7175, 25964, 5357, 360, 1404, 2767, 12789, 7, 324, 8481, 13, 324, 20124, 524, 8, 19841, 360, 1404, 2767, 12789, 7, 34, 39237, 62, 34694, 22784, 705, 12, 18, 614, 11537, 38678, 11050, 25349, 13, 324, 20124, 524, 22196, 34, 27564, 2043, 352 ]
For those employees who did not have any job in the past, show me about the distribution of hire_date and the average of salary bin hire_date by time in a bar chart, could you order by the Y in descending?
SELECT HIRE_DATE, AVG(SALARY) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) ORDER BY AVG(SALARY) DESC
[ 1890, 883, 4409, 508, 750, 407, 423, 597, 1693, 287, 262, 1613, 11, 905, 502, 546, 262, 6082, 286, 11078, 62, 4475, 290, 262, 2811, 286, 9588, 9874, 11078, 62, 4475, 416, 640, 287, 257, 2318, 8262, 11, 714, 345, 1502, 416, 262, 575, 287, 31491, 30, 46506, 36210, 2200, 62, 35, 6158, 11, 35224, 7, 50, 1847, 13153, 8, 16034, 4409, 33411, 5626, 17228, 6489, 21414, 6500, 62, 2389, 3268, 357, 46506, 17228, 6489, 21414, 6500, 62, 2389, 16034, 1693, 62, 23569, 8, 38678, 11050, 35224, 7, 50, 1847, 13153, 8, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1890, 883, 4409, 508, 750, 407, 423, 597, 1693, 287, 262, 1613, 11, 905, 502, 546, 262, 6082, 286, 11078, 62, 4475, 290, 262, 2811, 286, 9588, 9874, 11078, 62, 4475, 416, 640, 287, 257, 2318, 8262, 11, 714, 345, 1502, 416, 262, 575, 287, 31491, 30, 46506, 36210, 2200, 62, 35, 6158, 11, 35224, 7, 50, 1847, 13153, 8, 16034, 4409, 33411, 5626, 17228, 6489, 21414, 6500, 62, 2389, 3268, 357, 46506, 17228, 6489, 21414, 6500, 62, 2389, 16034, 1693, 62, 23569, 8, 38678, 11050, 35224, 7, 50, 1847, 13153, 8, 22196, 34 ]
what is the points against when the losing bonus is 0 and the club is banwen rfc?
SELECT "Points against" FROM table_76349 WHERE "Losing bonus" = '0' AND "Club" = 'banwen rfc'
[ 10919, 318, 262, 2173, 1028, 618, 262, 6078, 7202, 318, 657, 290, 262, 3430, 318, 3958, 21006, 374, 16072, 30, 46506, 366, 40710, 1028, 1, 16034, 3084, 62, 4304, 27371, 33411, 366, 43, 2752, 7202, 1, 796, 705, 15, 6, 5357, 366, 42350, 1, 796, 705, 3820, 21006, 374, 16072, 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 ]
[ 10919, 318, 262, 2173, 1028, 618, 262, 6078, 7202, 318, 657, 290, 262, 3430, 318, 3958, 21006, 374, 16072, 30, 46506, 366, 40710, 1028, 1, 16034, 3084, 62, 4304, 27371, 33411, 366, 43, 2752, 7202, 1, 796, 705, 15, 6, 5357, 366, 42350, 1, 796, 705, 3820, 21006, 374, 16072, 6 ]
Name the title for 446913
SELECT "Title" FROM table_2987 WHERE "Production code" = '446913'
[ 5376, 262, 3670, 329, 5846, 3388, 1485, 46506, 366, 19160, 1, 16034, 3084, 62, 1959, 5774, 33411, 366, 35027, 2438, 1, 796, 705, 2598, 3388, 1485, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 3670, 329, 5846, 3388, 1485, 46506, 366, 19160, 1, 16034, 3084, 62, 1959, 5774, 33411, 366, 35027, 2438, 1, 796, 705, 2598, 3388, 1485, 6 ]
Which player has a 1 February 1982 birthday and more than 16 caps?
SELECT player FROM table_name_61 WHERE caps > 16 AND date_of_birth__age_ = "1 february 1982"
[ 13828, 2137, 468, 257, 352, 3945, 14489, 10955, 290, 517, 621, 1467, 11022, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 5333, 33411, 11022, 1875, 1467, 5357, 3128, 62, 1659, 62, 24280, 834, 496, 62, 796, 366, 16, 730, 65, 3728, 14489, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2137, 468, 257, 352, 3945, 14489, 10955, 290, 517, 621, 1467, 11022, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 5333, 33411, 11022, 1875, 1467, 5357, 3128, 62, 1659, 62, 24280, 834, 496, 62, 796, 366, 16, 730, 65, 3728, 14489, 1 ]
What is the mean average score when the evening gown score is more than 9.35, the state is South Carolina, and the swimsuit score is more than 9.4?
SELECT AVG("Average") FROM table_11154 WHERE "Evening Gown" > '9.35' AND "State" = 'south carolina' AND "Swimsuit" > '9.4'
[ 2061, 318, 262, 1612, 2811, 4776, 618, 262, 6180, 33323, 4776, 318, 517, 621, 860, 13, 2327, 11, 262, 1181, 318, 2520, 5913, 11, 290, 262, 9422, 6063, 4776, 318, 517, 621, 860, 13, 19, 30, 46506, 35224, 7203, 26287, 4943, 16034, 3084, 62, 1157, 21526, 33411, 366, 6104, 278, 402, 593, 1, 1875, 705, 24, 13, 2327, 6, 5357, 366, 9012, 1, 796, 705, 35782, 1097, 47196, 6, 5357, 366, 10462, 320, 6063, 1, 1875, 705, 24, 13, 19, 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 ]
[ 2061, 318, 262, 1612, 2811, 4776, 618, 262, 6180, 33323, 4776, 318, 517, 621, 860, 13, 2327, 11, 262, 1181, 318, 2520, 5913, 11, 290, 262, 9422, 6063, 4776, 318, 517, 621, 860, 13, 19, 30, 46506, 35224, 7203, 26287, 4943, 16034, 3084, 62, 1157, 21526, 33411, 366, 6104, 278, 402, 593, 1, 1875, 705, 24, 13, 2327, 6, 5357, 366, 9012, 1, 796, 705, 35782, 1097, 47196, 6, 5357, 366, 10462, 320, 6063, 1, 1875, 705, 24, 13, 19, 6 ]
tell me the number of female patients with medicaid.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.gender = "F" AND demographic.insurance = "Medicaid"
[ 33331, 502, 262, 1271, 286, 4048, 3871, 351, 6924, 1698, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 8388, 796, 366, 37, 1, 5357, 16728, 13, 1040, 3874, 796, 366, 39112, 1698, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 33331, 502, 262, 1271, 286, 4048, 3871, 351, 6924, 1698, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 8388, 796, 366, 37, 1, 5357, 16728, 13, 1040, 3874, 796, 366, 39112, 1698, 1 ]
What time is CDT when EDT is 4:55 a.m.?
SELECT cdt___5_utc_ FROM table_name_71 WHERE edt___4_utc_ = "4:55 a.m."
[ 2061, 640, 318, 6458, 51, 618, 15693, 318, 604, 25, 2816, 257, 13, 76, 40791, 46506, 22927, 83, 17569, 20, 62, 315, 66, 62, 16034, 3084, 62, 3672, 62, 4869, 33411, 1225, 83, 17569, 19, 62, 315, 66, 62, 796, 366, 19, 25, 2816, 257, 13, 76, 526 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 640, 318, 6458, 51, 618, 15693, 318, 604, 25, 2816, 257, 13, 76, 40791, 46506, 22927, 83, 17569, 20, 62, 315, 66, 62, 16034, 3084, 62, 3672, 62, 4869, 33411, 1225, 83, 17569, 19, 62, 315, 66, 62, 796, 366, 19, 25, 2816, 257, 13, 76, 526 ]
What was the score for a game with the odds of p + 2 after 1847?
SELECT "Score" FROM table_4962 WHERE "Odds" = 'p + 2' AND "Date" > '1847'
[ 2061, 373, 262, 4776, 329, 257, 983, 351, 262, 10402, 286, 279, 1343, 362, 706, 1248, 2857, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 2920, 5237, 33411, 366, 46, 33714, 1, 796, 705, 79, 1343, 362, 6, 5357, 366, 10430, 1, 1875, 705, 1507, 2857, 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, 373, 262, 4776, 329, 257, 983, 351, 262, 10402, 286, 279, 1343, 362, 706, 1248, 2857, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 2920, 5237, 33411, 366, 46, 33714, 1, 796, 705, 79, 1343, 362, 6, 5357, 366, 10430, 1, 1875, 705, 1507, 2857, 6 ]
give me the number of patients whose year of birth is less than 2097 and lab test name is reticulocyte count, manual?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.dob_year < "2097" AND lab.label = "Reticulocyte Count, Manual"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 614, 286, 4082, 318, 1342, 621, 1160, 5607, 290, 2248, 1332, 1438, 318, 1005, 291, 377, 43320, 954, 11, 10107, 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, 67, 672, 62, 1941, 1279, 366, 1238, 5607, 1, 5357, 2248, 13, 18242, 796, 366, 49, 5139, 377, 43320, 2764, 11, 17969, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 614, 286, 4082, 318, 1342, 621, 1160, 5607, 290, 2248, 1332, 1438, 318, 1005, 291, 377, 43320, 954, 11, 10107, 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, 67, 672, 62, 1941, 1279, 366, 1238, 5607, 1, 5357, 2248, 13, 18242, 796, 366, 49, 5139, 377, 43320, 2764, 11, 17969, 1 ]
What's the hometown of the player with a college of lsu?
SELECT hometown FROM table_name_51 WHERE college = "lsu"
[ 2061, 338, 262, 20994, 286, 262, 2137, 351, 257, 4152, 286, 300, 2385, 30, 46506, 20994, 16034, 3084, 62, 3672, 62, 4349, 33411, 4152, 796, 366, 75, 2385, 1 ]
[ 1, 1, 1, 1, 1, 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, 20994, 286, 262, 2137, 351, 257, 4152, 286, 300, 2385, 30, 46506, 20994, 16034, 3084, 62, 3672, 62, 4349, 33411, 4152, 796, 366, 75, 2385, 1 ]
What is the high amount of points on February 11?
SELECT high_points FROM table_17311812_8 WHERE date = "February 11"
[ 2061, 318, 262, 1029, 2033, 286, 2173, 319, 3945, 1367, 30, 46506, 1029, 62, 13033, 16034, 3084, 62, 25399, 16817, 1065, 62, 23, 33411, 3128, 796, 366, 21816, 1367, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1029, 2033, 286, 2173, 319, 3945, 1367, 30, 46506, 1029, 62, 13033, 16034, 3084, 62, 25399, 16817, 1065, 62, 23, 33411, 3128, 796, 366, 21816, 1367, 1 ]
How many regional seats were there with the SNP party and where the number of total seats was bigger than 46?
SELECT COUNT(regional_seats) FROM table_name_77 WHERE party = "snp" AND total_seats > 46
[ 2437, 867, 7915, 8632, 547, 612, 351, 262, 25632, 2151, 290, 810, 262, 1271, 286, 2472, 8632, 373, 5749, 621, 6337, 30, 46506, 327, 28270, 7, 2301, 1538, 62, 325, 1381, 8, 16034, 3084, 62, 3672, 62, 3324, 33411, 2151, 796, 366, 16184, 79, 1, 5357, 2472, 62, 325, 1381, 1875, 6337 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7915, 8632, 547, 612, 351, 262, 25632, 2151, 290, 810, 262, 1271, 286, 2472, 8632, 373, 5749, 621, 6337, 30, 46506, 327, 28270, 7, 2301, 1538, 62, 325, 1381, 8, 16034, 3084, 62, 3672, 62, 3324, 33411, 2151, 796, 366, 16184, 79, 1, 5357, 2472, 62, 325, 1381, 1875, 6337 ]
What is the smallest number of goals when the goals against are more than 58 and played number is more than 30?
SELECT MIN(goals_for) FROM table_name_37 WHERE goals_against > 58 AND played > 30
[ 2061, 318, 262, 18197, 1271, 286, 4661, 618, 262, 4661, 1028, 389, 517, 621, 7618, 290, 2826, 1271, 318, 517, 621, 1542, 30, 46506, 20625, 7, 2188, 874, 62, 1640, 8, 16034, 3084, 62, 3672, 62, 2718, 33411, 4661, 62, 32826, 1875, 7618, 5357, 2826, 1875, 1542 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 18197, 1271, 286, 4661, 618, 262, 4661, 1028, 389, 517, 621, 7618, 290, 2826, 1271, 318, 517, 621, 1542, 30, 46506, 20625, 7, 2188, 874, 62, 1640, 8, 16034, 3084, 62, 3672, 62, 2718, 33411, 4661, 62, 32826, 1875, 7618, 5357, 2826, 1875, 1542 ]
what was the first id of patient 13054's ward during this hospital visit?
SELECT transfers.wardid FROM transfers WHERE transfers.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 13054 AND admissions.dischtime IS NULL) AND NOT transfers.wardid IS NULL ORDER BY transfers.intime LIMIT 1
[ 10919, 373, 262, 717, 4686, 286, 5827, 11323, 4051, 338, 15305, 1141, 428, 4436, 3187, 30, 46506, 16395, 13, 904, 312, 16034, 16395, 33411, 16395, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 11323, 4051, 5357, 25349, 13, 6381, 354, 2435, 3180, 15697, 8, 5357, 5626, 16395, 13, 904, 312, 3180, 15697, 38678, 11050, 16395, 13, 600, 524, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 373, 262, 717, 4686, 286, 5827, 11323, 4051, 338, 15305, 1141, 428, 4436, 3187, 30, 46506, 16395, 13, 904, 312, 16034, 16395, 33411, 16395, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 11323, 4051, 5357, 25349, 13, 6381, 354, 2435, 3180, 15697, 8, 5357, 5626, 16395, 13, 904, 312, 3180, 15697, 38678, 11050, 16395, 13, 600, 524, 27564, 2043, 352 ]
Does any section of RCSSCI 360 start after 10:00 ?
SELECT DISTINCT course_offering.end_time, course_offering.section_number, course_offering.start_time FROM course, course_offering, semester WHERE course_offering.start_time > '10:00' AND course.course_id = course_offering.course_id AND course.department = 'RCSSCI' AND course.number = 360 AND semester.semester = 'WN' AND semester.semester_id = course_offering.semester AND semester.year = 2016
[ 13921, 597, 2665, 286, 13987, 5432, 25690, 11470, 923, 706, 838, 25, 405, 5633, 46506, 360, 8808, 1268, 4177, 1781, 62, 2364, 1586, 13, 437, 62, 2435, 11, 1781, 62, 2364, 1586, 13, 5458, 62, 17618, 11, 1781, 62, 2364, 1586, 13, 9688, 62, 2435, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 24878, 33411, 1781, 62, 2364, 1586, 13, 9688, 62, 2435, 1875, 705, 940, 25, 405, 6, 5357, 1781, 13, 17319, 62, 312, 796, 1781, 62, 2364, 1586, 13, 17319, 62, 312, 5357, 1781, 13, 10378, 1823, 796, 705, 7397, 5432, 25690, 6, 5357, 1781, 13, 17618, 796 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13921, 597, 2665, 286, 13987, 5432, 25690, 11470, 923, 706, 838, 25, 405, 5633, 46506, 360, 8808, 1268, 4177, 1781, 62, 2364, 1586, 13, 437, 62, 2435, 11, 1781, 62, 2364, 1586, 13, 5458, 62, 17618, 11, 1781, 62, 2364, 1586, 13, 9688, 62, 2435, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 24878, 33411, 1781, 62, 2364, 1586, 13, 9688, 62, 2435, 1875, 705, 940, 25, 405, 6, 5357, 1781, 13, 17319, 62, 312, 796, 1781, 62, 2364, 1586, 13, 17319, 62, 312, 5357, 1781, 13, 10378, 1823, 796, 705, 7397, 5432, 25690, 6, 5357, 1781, 13, 17618, 796 ]
count the number of people that died after being diagnosed with hemorrhage in the same hospital encounter until 1 year ago.
SELECT COUNT(DISTINCT t2.uniquepid) FROM (SELECT t1.uniquepid, t1.diagnosistime, t1.patienthealthsystemstayid FROM (SELECT patient.uniquepid, diagnosis.diagnosistime, patient.patienthealthsystemstayid FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'hemorrhage') AS t1 GROUP BY t1.uniquepid HAVING MIN(t1.diagnosistime) = t1.diagnosistime AND DATETIME(t1.diagnosistime) <= DATETIME(CURRENT_TIME(), '-1 year')) AS t2 JOIN (SELECT patient.uniquepid, patient.patienthealthsystemstayid, patient.hospitaldischargetime FROM patient WHERE patient.hospitaldischargestatus = 'expired') AS t3 ON t2.uniquepid = t3.uniquepid WHERE t2.patienthealthsystemstayid = t3.patienthealthsystemstayid
[ 9127, 262, 1271, 286, 661, 326, 3724, 706, 852, 14641, 351, 42203, 496, 287, 262, 976, 4436, 8791, 1566, 352, 614, 2084, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 17, 13, 403, 1557, 538, 312, 8, 16034, 357, 46506, 256, 16, 13, 403, 1557, 538, 312, 11, 256, 16, 13, 47356, 418, 396, 524, 11, 256, 16, 13, 26029, 13948, 10057, 31712, 312, 16034, 357, 46506, 5827, 13, 403, 1557, 538, 312, 11, 13669, 13, 47356, 418, 396, 524, 11, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 13669, 32357, 1268, 5827, 6177, 13669, 13, 26029, 20850 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 9127, 262, 1271, 286, 661, 326, 3724, 706, 852, 14641, 351, 42203, 496, 287, 262, 976, 4436, 8791, 1566, 352, 614, 2084, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 17, 13, 403, 1557, 538, 312, 8, 16034, 357, 46506, 256, 16, 13, 403, 1557, 538, 312, 11, 256, 16, 13, 47356, 418, 396, 524, 11, 256, 16, 13, 26029, 13948, 10057, 31712, 312, 16034, 357, 46506, 5827, 13, 403, 1557, 538, 312, 11, 13669, 13, 47356, 418, 396, 524, 11, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 13669, 32357, 1268, 5827, 6177, 13669, 13, 26029, 20850 ]
For those records from the products and each product's manufacturer, give me the comparison about the sum of code over the founder , and group by attribute founder by a bar chart, and I want to sort in desc by the bar.
SELECT T2.Founder, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Founder ORDER BY T2.Founder DESC
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 1577, 502, 262, 7208, 546, 262, 2160, 286, 2438, 625, 262, 9119, 837, 290, 1448, 416, 11688, 9119, 416, 257, 2318, 8262, 11, 290, 314, 765, 284, 3297, 287, 1715, 416, 262, 2318, 13, 46506, 309, 17, 13, 21077, 263, 11, 309, 16, 13, 10669, 16034, 18675, 7054, 309, 16, 32357, 1268, 17858, 17496, 7054, 309, 17, 6177, 309, 16, 13, 44445, 15051, 796, 309, 17, 13, 10669, 44441, 11050, 309, 17, 13, 21077, 263, 38678, 11050, 309, 17, 13, 21077, 263, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 1577, 502, 262, 7208, 546, 262, 2160, 286, 2438, 625, 262, 9119, 837, 290, 1448, 416, 11688, 9119, 416, 257, 2318, 8262, 11, 290, 314, 765, 284, 3297, 287, 1715, 416, 262, 2318, 13, 46506, 309, 17, 13, 21077, 263, 11, 309, 16, 13, 10669, 16034, 18675, 7054, 309, 16, 32357, 1268, 17858, 17496, 7054, 309, 17, 6177, 309, 16, 13, 44445, 15051, 796, 309, 17, 13, 10669, 44441, 11050, 309, 17, 13, 21077, 263, 38678, 11050, 309, 17, 13, 21077, 263, 22196, 34 ]
Which CHE classes do n't meet on Friday ?
SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN semester ON semester.semester_id = course_offering.semester WHERE course_offering.friday = 'N' AND course.department = 'CHE' AND semester.semester = 'WN' AND semester.year = 2016
[ 13828, 5870, 36, 6097, 466, 299, 470, 1826, 319, 3217, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 3268, 21479, 32357, 1268, 1781, 62, 2364, 1586, 6177, 1781, 13, 17319, 62, 312, 796, 1781, 62, 2364, 1586, 13, 17319, 62, 312, 3268, 21479, 32357, 1268, 24878, 6177, 24878, 13, 325, 6880, 353, 62, 312, 796, 1781, 62, 2364, 1586, 13, 325, 6880, 353, 33411, 1781, 62, 2364, 1586, 13, 8310, 2567, 796, 705, 45, 6, 5357, 1781, 13, 10378, 1823, 796, 705, 3398, 36, 6, 5357, 24878, 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 ]
[ 13828, 5870, 36, 6097, 466, 299, 470, 1826, 319, 3217, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 3268, 21479, 32357, 1268, 1781, 62, 2364, 1586, 6177, 1781, 13, 17319, 62, 312, 796, 1781, 62, 2364, 1586, 13, 17319, 62, 312, 3268, 21479, 32357, 1268, 24878, 6177, 24878, 13, 325, 6880, 353, 62, 312, 796, 1781, 62, 2364, 1586, 13, 325, 6880, 353, 33411, 1781, 62, 2364, 1586, 13, 8310, 2567, 796, 705, 45, 6, 5357, 1781, 13, 10378, 1823, 796, 705, 3398, 36, 6, 5357, 24878, 13 ]
How many wins does he get when he starts at 10?
SELECT wins FROM table_2169966_1 WHERE starts = 10
[ 2437, 867, 7864, 857, 339, 651, 618, 339, 4940, 379, 838, 30, 46506, 7864, 16034, 3084, 62, 20666, 2079, 2791, 62, 16, 33411, 4940, 796, 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 ]
[ 2437, 867, 7864, 857, 339, 651, 618, 339, 4940, 379, 838, 30, 46506, 7864, 16034, 3084, 62, 20666, 2079, 2791, 62, 16, 33411, 4940, 796, 838 ]
Tell me the 1998 Broadway with barry cavanagh
SELECT "1998 Broadway" FROM table_4372 WHERE "1999 Broadway" = 'barry cavanagh'
[ 24446, 502, 262, 7795, 20617, 351, 2318, 563, 269, 12421, 10471, 46506, 366, 21113, 20617, 1, 16034, 3084, 62, 19, 36720, 33411, 366, 18946, 20617, 1, 796, 705, 5657, 563, 269, 12421, 10471, 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 ]
[ 24446, 502, 262, 7795, 20617, 351, 2318, 563, 269, 12421, 10471, 46506, 366, 21113, 20617, 1, 16034, 3084, 62, 19, 36720, 33411, 366, 18946, 20617, 1, 796, 705, 5657, 563, 269, 12421, 10471, 6 ]
Which average money has a To par larger than 12?
SELECT AVG(money___) AS $__ FROM table_name_16 WHERE to_par > 12
[ 13828, 2811, 1637, 468, 257, 1675, 1582, 4025, 621, 1105, 30, 46506, 35224, 7, 26316, 17569, 8, 7054, 720, 834, 16034, 3084, 62, 3672, 62, 1433, 33411, 284, 62, 1845, 1875, 1105 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 2811, 1637, 468, 257, 1675, 1582, 4025, 621, 1105, 30, 46506, 35224, 7, 26316, 17569, 8, 7054, 720, 834, 16034, 3084, 62, 3672, 62, 1433, 33411, 284, 62, 1845, 1875, 1105 ]
How big is the land in square miles of Grand Forks county?
SELECT land___sqmi__ FROM table_18600760_10 WHERE county = "Grand Forks"
[ 2437, 1263, 318, 262, 1956, 287, 6616, 4608, 286, 5675, 1114, 591, 7968, 30, 46506, 1956, 17569, 31166, 11632, 834, 16034, 3084, 62, 1507, 8054, 40761, 62, 940, 33411, 7968, 796, 366, 23581, 1114, 591, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1263, 318, 262, 1956, 287, 6616, 4608, 286, 5675, 1114, 591, 7968, 30, 46506, 1956, 17569, 31166, 11632, 834, 16034, 3084, 62, 1507, 8054, 40761, 62, 940, 33411, 7968, 796, 366, 23581, 1114, 591, 1 ]
What day was the score for tournament of alcoba a 6 3, 2 6, 7 5?
SELECT "Date" FROM table_47928 WHERE "Tournament" = 'alcobaça' AND "Score" = '6–3, 2–6, 7–5'
[ 2061, 1110, 373, 262, 4776, 329, 7756, 286, 435, 66, 19981, 257, 718, 513, 11, 362, 718, 11, 767, 642, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 31714, 2078, 33411, 366, 51, 5138, 1, 796, 705, 282, 66, 19981, 50041, 6, 5357, 366, 26595, 1, 796, 705, 21, 1906, 18, 11, 362, 1906, 21, 11, 767, 1906, 20, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1110, 373, 262, 4776, 329, 7756, 286, 435, 66, 19981, 257, 718, 513, 11, 362, 718, 11, 767, 642, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 31714, 2078, 33411, 366, 51, 5138, 1, 796, 705, 282, 66, 19981, 50041, 6, 5357, 366, 26595, 1, 796, 705, 21, 1906, 18, 11, 362, 1906, 21, 11, 767, 1906, 20, 6 ]
what is the engine when the tyre is m and the driver is fernando alonso?
SELECT engine_† FROM table_name_34 WHERE tyre = "m" AND driver = "fernando alonso"
[ 10919, 318, 262, 3113, 618, 262, 48216, 318, 285, 290, 262, 4639, 318, 277, 13023, 78, 435, 26666, 30, 46506, 3113, 62, 33912, 16034, 3084, 62, 3672, 62, 2682, 33411, 48216, 796, 366, 76, 1, 5357, 4639, 796, 366, 69, 13023, 78, 435, 26666, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3113, 618, 262, 48216, 318, 285, 290, 262, 4639, 318, 277, 13023, 78, 435, 26666, 30, 46506, 3113, 62, 33912, 16034, 3084, 62, 3672, 62, 2682, 33411, 48216, 796, 366, 76, 1, 5357, 4639, 796, 366, 69, 13023, 78, 435, 26666, 1 ]
Who is the director when the share is 11.8?
SELECT "Directed by" FROM table_31245 WHERE "Share (%)" = '11.8'
[ 8241, 318, 262, 3437, 618, 262, 2648, 318, 1367, 13, 23, 30, 46506, 366, 13470, 276, 416, 1, 16034, 3084, 62, 27970, 2231, 33411, 366, 11649, 11509, 1, 796, 705, 1157, 13, 23, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 318, 262, 3437, 618, 262, 2648, 318, 1367, 13, 23, 30, 46506, 366, 13470, 276, 416, 1, 16034, 3084, 62, 27970, 2231, 33411, 366, 11649, 11509, 1, 796, 705, 1157, 13, 23, 6 ]
What Country is Rocco Mediate from?
SELECT country FROM table_name_49 WHERE player = "rocco mediate"
[ 2061, 12946, 318, 13545, 1073, 2019, 9386, 422, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 2920, 33411, 2137, 796, 366, 305, 535, 78, 1117, 9386, 1 ]
[ 1, 1, 1, 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, 12946, 318, 13545, 1073, 2019, 9386, 422, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 2920, 33411, 2137, 796, 366, 305, 535, 78, 1117, 9386, 1 ]
tell me the number of artists who ended up in 6th place .
SELECT COUNT("artist") FROM table_204_915 WHERE "place" = 6
[ 33331, 502, 262, 1271, 286, 7912, 508, 4444, 510, 287, 718, 400, 1295, 764, 46506, 327, 28270, 7203, 49016, 4943, 16034, 3084, 62, 18638, 62, 40248, 33411, 366, 5372, 1, 796, 718 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 33331, 502, 262, 1271, 286, 7912, 508, 4444, 510, 287, 718, 400, 1295, 764, 46506, 327, 28270, 7203, 49016, 4943, 16034, 3084, 62, 18638, 62, 40248, 33411, 366, 5372, 1, 796, 718 ]
what were the three most frequently prescribed drugs that were prescribed to the intracranial injury - with subarachnoid hemorrhage male patients 40s in the same month after they had been diagnosed with intracranial injury - with subarachnoid hemorrhage until 1 year ago?
SELECT t3.drugname FROM (SELECT t2.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'intracranial injury - with subarachnoid hemorrhage' AND DATETIME(diagnosis.diagnosistime) <= DATETIME(CURRENT_TIME(), '-1 year')) AS t1 JOIN (SELECT patient.uniquepid, medication.drugname, medication.drugstarttime FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid WHERE patient.gender = 'male' AND patient.age BETWEEN 40 AND 49 AND DATETIME(medication.drugstarttime) <= DATETIME(CURRENT_TIME(), '-1 year')) AS t2 ON t1.uniquepid = t2.uniquepid WHERE t1.diagnosistime < t2.drugstarttime AND DATETIME(t1.diagnosistime, 'start of month') = DATETIME(t2.drugstarttime, 'start of month') GROUP BY t2.drugname) AS t3 WHERE t3.c1 <= 3
[ 10919, 547, 262, 1115, 749, 6777, 14798, 5010, 326, 547, 14798, 284, 262, 9913, 330, 2596, 498, 5095, 532, 351, 850, 283, 620, 77, 1868, 42203, 496, 4257, 3871, 2319, 82, 287, 262, 976, 1227, 706, 484, 550, 587, 14641, 351, 9913, 330, 2596, 498, 5095, 532, 351, 850, 283, 620, 77, 1868, 42203, 496, 1566, 352, 614, 2084, 30, 46506, 256, 18, 13, 30349, 3672, 16034, 357, 46506, 256, 17, 13, 30349, 3672, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, 7, 28104, 22196, 34, 8, 7054, 269, 16, 16034, 357, 46506, 5827 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1115, 749, 6777, 14798, 5010, 326, 547, 14798, 284, 262, 9913, 330, 2596, 498, 5095, 532, 351, 850, 283, 620, 77, 1868, 42203, 496, 4257, 3871, 2319, 82, 287, 262, 976, 1227, 706, 484, 550, 587, 14641, 351, 9913, 330, 2596, 498, 5095, 532, 351, 850, 283, 620, 77, 1868, 42203, 496, 1566, 352, 614, 2084, 30, 46506, 256, 18, 13, 30349, 3672, 16034, 357, 46506, 256, 17, 13, 30349, 3672, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, 7, 28104, 22196, 34, 8, 7054, 269, 16, 16034, 357, 46506, 5827 ]
What were phoenix's high points?
SELECT high_points FROM table_name_83 WHERE opponent = "phoenix"
[ 2061, 547, 872, 8538, 338, 1029, 2173, 30, 46506, 1029, 62, 13033, 16034, 3084, 62, 3672, 62, 5999, 33411, 6125, 796, 366, 746, 8538, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 547, 872, 8538, 338, 1029, 2173, 30, 46506, 1029, 62, 13033, 16034, 3084, 62, 3672, 62, 5999, 33411, 6125, 796, 366, 746, 8538, 1 ]
which section did seymour halpern run in
SELECT "District" FROM table_18412 WHERE "Incumbent" = 'Seymour Halpern'
[ 4758, 2665, 750, 384, 4948, 454, 10284, 525, 77, 1057, 287, 46506, 366, 44857, 1, 16034, 3084, 62, 22883, 1065, 33411, 366, 25517, 2178, 298, 1, 796, 705, 50, 2959, 76, 454, 11023, 525, 77, 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 ]
[ 4758, 2665, 750, 384, 4948, 454, 10284, 525, 77, 1057, 287, 46506, 366, 44857, 1, 16034, 3084, 62, 22883, 1065, 33411, 366, 25517, 2178, 298, 1, 796, 705, 50, 2959, 76, 454, 11023, 525, 77, 6 ]
What is Surface, when Tournament is 'Sunderland , United Kingdom'?
SELECT "Surface" FROM table_58668 WHERE "Tournament" = 'sunderland , united kingdom'
[ 2061, 318, 20321, 11, 618, 9595, 318, 705, 50, 4625, 1044, 837, 1578, 7526, 30960, 46506, 366, 14214, 2550, 1, 16034, 3084, 62, 3365, 35809, 33411, 366, 51, 5138, 1, 796, 705, 2385, 681, 1044, 837, 16503, 13239, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 20321, 11, 618, 9595, 318, 705, 50, 4625, 1044, 837, 1578, 7526, 30960, 46506, 366, 14214, 2550, 1, 16034, 3084, 62, 3365, 35809, 33411, 366, 51, 5138, 1, 796, 705, 2385, 681, 1044, 837, 16503, 13239, 6 ]
What is the released date for Super Mario 64 DS?
SELECT "Released Date" FROM table_20593 WHERE "Western Title" = 'Super Mario 64 DS'
[ 2061, 318, 262, 2716, 3128, 329, 3115, 10682, 5598, 17400, 30, 46506, 366, 45037, 7536, 1, 16034, 3084, 62, 1238, 49051, 33411, 366, 24227, 11851, 1, 796, 705, 12442, 10682, 5598, 17400, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2716, 3128, 329, 3115, 10682, 5598, 17400, 30, 46506, 366, 45037, 7536, 1, 16034, 3084, 62, 1238, 49051, 33411, 366, 24227, 11851, 1, 796, 705, 12442, 10682, 5598, 17400, 6 ]
Which Name has Ends of 30 june 2010, and a Nation of eng, and Since larger than 2007?
SELECT name FROM table_name_2 WHERE ends = "30 june 2010" AND nat = "eng" AND since > 2007
[ 13828, 6530, 468, 46756, 286, 1542, 474, 1726, 3050, 11, 290, 257, 8741, 286, 1786, 11, 290, 4619, 4025, 621, 4343, 30, 46506, 1438, 16034, 3084, 62, 3672, 62, 17, 33411, 5645, 796, 366, 1270, 474, 1726, 3050, 1, 5357, 34664, 796, 366, 1516, 1, 5357, 1201, 1875, 4343 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 6530, 468, 46756, 286, 1542, 474, 1726, 3050, 11, 290, 257, 8741, 286, 1786, 11, 290, 4619, 4025, 621, 4343, 30, 46506, 1438, 16034, 3084, 62, 3672, 62, 17, 33411, 5645, 796, 366, 1270, 474, 1726, 3050, 1, 5357, 34664, 796, 366, 1516, 1, 5357, 1201, 1875, 4343 ]
Which episode had 2.75 million viewers in the U.S.?
SELECT title FROM table_25740548_4 WHERE us_viewers__million_ = "2.75"
[ 13828, 4471, 550, 362, 13, 2425, 1510, 10209, 287, 262, 471, 13, 50, 40791, 46506, 3670, 16034, 3084, 62, 28676, 26598, 2780, 62, 19, 33411, 514, 62, 1177, 364, 834, 14100, 62, 796, 366, 17, 13, 2425, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4471, 550, 362, 13, 2425, 1510, 10209, 287, 262, 471, 13, 50, 40791, 46506, 3670, 16034, 3084, 62, 28676, 26598, 2780, 62, 19, 33411, 514, 62, 1177, 364, 834, 14100, 62, 796, 366, 17, 13, 2425, 1 ]
what year was he most featured in shows ?
SELECT "year 1958" FROM table_202_276 ORDER BY "notes" DESC LIMIT 1
[ 10919, 614, 373, 339, 749, 8096, 287, 2523, 5633, 46506, 366, 1941, 24648, 1, 16034, 3084, 62, 19004, 62, 27988, 38678, 11050, 366, 17815, 1, 22196, 34, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 614, 373, 339, 749, 8096, 287, 2523, 5633, 46506, 366, 1941, 24648, 1, 16034, 3084, 62, 19004, 62, 27988, 38678, 11050, 366, 17815, 1, 22196, 34, 27564, 2043, 352 ]
What cub team or college did Bob Law come from?
SELECT college_junior_club_team FROM table_1965650_8 WHERE player = "Bob Law"
[ 2061, 13617, 1074, 393, 4152, 750, 5811, 3854, 1282, 422, 30, 46506, 4152, 62, 29741, 1504, 62, 18664, 62, 15097, 16034, 3084, 62, 45271, 17544, 62, 23, 33411, 2137, 796, 366, 18861, 3854, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13617, 1074, 393, 4152, 750, 5811, 3854, 1282, 422, 30, 46506, 4152, 62, 29741, 1504, 62, 18664, 62, 15097, 16034, 3084, 62, 45271, 17544, 62, 23, 33411, 2137, 796, 366, 18861, 3854, 1 ]
What date did the capitols play the toronto maple leafs?
SELECT date FROM table_23308178_6 WHERE opponent = "Toronto Maple Leafs"
[ 2061, 3128, 750, 262, 46964, 10220, 711, 262, 7332, 5957, 31377, 12835, 82, 30, 46506, 3128, 16034, 3084, 62, 1954, 21495, 23188, 62, 21, 33411, 6125, 796, 366, 31359, 21249, 25479, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 3128, 750, 262, 46964, 10220, 711, 262, 7332, 5957, 31377, 12835, 82, 30, 46506, 3128, 16034, 3084, 62, 1954, 21495, 23188, 62, 21, 33411, 6125, 796, 366, 31359, 21249, 25479, 1 ]
For those records from the products and each product's manufacturer, show me about the distribution of name and the sum of revenue , and group by attribute name in a bar chart, could you show in desc by the X-axis?
SELECT T2.Name, T2.Revenue FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name ORDER BY T2.Name DESC
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 905, 502, 546, 262, 6082, 286, 1438, 290, 262, 2160, 286, 6426, 837, 290, 1448, 416, 11688, 1438, 287, 257, 2318, 8262, 11, 714, 345, 905, 287, 1715, 416, 262, 1395, 12, 22704, 30, 46506, 309, 17, 13, 5376, 11, 309, 17, 13, 3041, 4080, 16034, 18675, 7054, 309, 16, 32357, 1268, 17858, 17496, 7054, 309, 17, 6177, 309, 16, 13, 44445, 15051, 796, 309, 17, 13, 10669, 44441, 11050, 309, 17, 13, 5376, 38678, 11050, 309, 17, 13, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 905, 502, 546, 262, 6082, 286, 1438, 290, 262, 2160, 286, 6426, 837, 290, 1448, 416, 11688, 1438, 287, 257, 2318, 8262, 11, 714, 345, 905, 287, 1715, 416, 262, 1395, 12, 22704, 30, 46506, 309, 17, 13, 5376, 11, 309, 17, 13, 3041, 4080, 16034, 18675, 7054, 309, 16, 32357, 1268, 17858, 17496, 7054, 309, 17, 6177, 309, 16, 13, 44445, 15051, 796, 309, 17, 13, 10669, 44441, 11050, 309, 17, 13, 5376, 38678, 11050, 309, 17, 13, 5376, 22196, 34 ]
My answers and their questions.
SELECT b.Body AS question, a.Body AS answer, b.Tags FROM Posts AS a, Posts AS b WHERE a.OwnerUserId = 4288101 AND b.Id = a.ParentId AND b.Tags LIKE '%vba%'
[ 3666, 7429, 290, 511, 2683, 13, 46506, 275, 13, 25842, 7054, 1808, 11, 257, 13, 25842, 7054, 3280, 11, 275, 13, 36142, 16034, 12043, 7054, 257, 11, 12043, 7054, 275, 33411, 257, 13, 42419, 12982, 7390, 796, 45063, 6659, 486, 5357, 275, 13, 7390, 796, 257, 13, 24546, 7390, 5357, 275, 13, 36142, 34178, 705, 4, 85, 7012, 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 ]
[ 3666, 7429, 290, 511, 2683, 13, 46506, 275, 13, 25842, 7054, 1808, 11, 257, 13, 25842, 7054, 3280, 11, 275, 13, 36142, 16034, 12043, 7054, 257, 11, 12043, 7054, 275, 33411, 257, 13, 42419, 12982, 7390, 796, 45063, 6659, 486, 5357, 275, 13, 7390, 796, 257, 13, 24546, 7390, 5357, 275, 13, 36142, 34178, 705, 4, 85, 7012, 4, 6 ]
What is Name, when Laps is '50', when Grid is greater than 9, when Team is 'Jim Beam Racing', and when Time/Retired is '+ 18.0s'?
SELECT "Name" FROM table_48468 WHERE "Laps" = '50' AND "Grid" > '9' AND "Team" = 'jim beam racing' AND "Time/Retired" = '+ 18.0s'
[ 2061, 318, 6530, 11, 618, 406, 1686, 318, 705, 1120, 3256, 618, 24846, 318, 3744, 621, 860, 11, 618, 4816, 318, 705, 18050, 25855, 14954, 3256, 290, 618, 3862, 14, 9781, 1202, 318, 705, 10, 1248, 13, 15, 82, 30960, 46506, 366, 5376, 1, 16034, 3084, 62, 34137, 3104, 33411, 366, 43, 1686, 1, 796, 705, 1120, 6, 5357, 366, 41339, 1, 1875, 705, 24, 6, 5357, 366, 15592, 1, 796, 705, 73, 320, 15584, 11717, 6, 5357, 366, 7575, 14, 9781, 1202, 1, 796, 705, 10, 1248, 13, 15, 82, 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, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 6530, 11, 618, 406, 1686, 318, 705, 1120, 3256, 618, 24846, 318, 3744, 621, 860, 11, 618, 4816, 318, 705, 18050, 25855, 14954, 3256, 290, 618, 3862, 14, 9781, 1202, 318, 705, 10, 1248, 13, 15, 82, 30960, 46506, 366, 5376, 1, 16034, 3084, 62, 34137, 3104, 33411, 366, 43, 1686, 1, 796, 705, 1120, 6, 5357, 366, 41339, 1, 1875, 705, 24, 6, 5357, 366, 15592, 1, 796, 705, 73, 320, 15584, 11717, 6, 5357, 366, 7575, 14, 9781, 1202, 1, 796, 705, 10, 1248, 13, 15, 82, 6 ]
Who is the UK co-presenters that have Joe Swash as a co-presenter of the series Eleven (2011)?
SELECT "UK co-presenter" FROM table_19286 WHERE "Co-presenter" = 'Joe Swash' AND "Series" = 'Eleven (2011)'
[ 8241, 318, 262, 3482, 763, 12, 25579, 364, 326, 423, 5689, 2451, 1077, 355, 257, 763, 12, 25579, 263, 286, 262, 2168, 37339, 357, 9804, 19427, 46506, 366, 15039, 763, 12, 25579, 263, 1, 16034, 3084, 62, 1129, 27033, 33411, 366, 7222, 12, 25579, 263, 1, 796, 705, 19585, 2451, 1077, 6, 5357, 366, 27996, 1, 796, 705, 28827, 574, 357, 9804, 33047 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 318, 262, 3482, 763, 12, 25579, 364, 326, 423, 5689, 2451, 1077, 355, 257, 763, 12, 25579, 263, 286, 262, 2168, 37339, 357, 9804, 19427, 46506, 366, 15039, 763, 12, 25579, 263, 1, 16034, 3084, 62, 1129, 27033, 33411, 366, 7222, 12, 25579, 263, 1, 796, 705, 19585, 2451, 1077, 6, 5357, 366, 27996, 1, 796, 705, 28827, 574, 357, 9804, 33047 ]
For those employees who do not work in departments with managers that have ids between 100 and 200, return a scatter chart about the correlation between salary and commission_pct .
SELECT SALARY, COMMISSION_PCT FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200)
[ 1890, 883, 4409, 508, 466, 407, 670, 287, 13346, 351, 11663, 326, 423, 220, 2340, 1022, 1802, 290, 939, 11, 1441, 257, 41058, 8262, 546, 262, 16096, 1022, 9588, 290, 5810, 62, 79, 310, 764, 46506, 42475, 13153, 11, 22240, 40373, 62, 47, 4177, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1441, 257, 41058, 8262, 546, 262, 16096, 1022, 9588, 290, 5810, 62, 79, 310, 764, 46506, 42475, 13153, 11, 22240, 40373, 62, 47, 4177, 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 ]
What was the score in a place of t5 in the United States?
SELECT "Score" FROM table_36067 WHERE "Place" = 't5' AND "Nation" = 'united states'
[ 2061, 373, 262, 4776, 287, 257, 1295, 286, 256, 20, 287, 262, 1578, 1829, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 15277, 3134, 33411, 366, 27271, 1, 796, 705, 83, 20, 6, 5357, 366, 46108, 1, 796, 705, 41187, 2585, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 4776, 287, 257, 1295, 286, 256, 20, 287, 262, 1578, 1829, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 15277, 3134, 33411, 366, 27271, 1, 796, 705, 83, 20, 6, 5357, 366, 46108, 1, 796, 705, 41187, 2585, 6 ]
Who constructed the car that won the Canadian Grand Prix?
SELECT constructor FROM table_name_97 WHERE grand_prix = "canadian grand prix"
[ 8241, 12006, 262, 1097, 326, 1839, 262, 5398, 5675, 23832, 30, 46506, 23772, 16034, 3084, 62, 3672, 62, 5607, 33411, 4490, 62, 3448, 87, 796, 366, 5171, 18425, 4490, 1293, 87, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 12006, 262, 1097, 326, 1839, 262, 5398, 5675, 23832, 30, 46506, 23772, 16034, 3084, 62, 3672, 62, 5607, 33411, 4490, 62, 3448, 87, 796, 366, 5171, 18425, 4490, 1293, 87, 1 ]
Find the total population of the districts where the area is bigger than the average city area.
SELECT SUM(city_population) FROM district WHERE city_area > (SELECT AVG(city_area) FROM district)
[ 16742, 262, 2472, 3265, 286, 262, 12815, 810, 262, 1989, 318, 5749, 621, 262, 2811, 1748, 1989, 13, 46506, 35683, 7, 19205, 62, 39748, 8, 16034, 4783, 33411, 1748, 62, 20337, 1875, 357, 46506, 35224, 7, 19205, 62, 20337, 8, 16034, 4783, 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 ]
[ 16742, 262, 2472, 3265, 286, 262, 12815, 810, 262, 1989, 318, 5749, 621, 262, 2811, 1748, 1989, 13, 46506, 35683, 7, 19205, 62, 39748, 8, 16034, 4783, 33411, 1748, 62, 20337, 1875, 357, 46506, 35224, 7, 19205, 62, 20337, 8, 16034, 4783, 8 ]
how many total world performance cars are there for 2007 ?
SELECT "world performance car" FROM table_203_838 WHERE "year" = 2007
[ 4919, 867, 2472, 995, 2854, 5006, 389, 612, 329, 4343, 5633, 46506, 366, 6894, 2854, 1097, 1, 16034, 3084, 62, 22416, 62, 23, 2548, 33411, 366, 1941, 1, 796, 4343 ]
[ 1, 1, 1, 1, 1, 1, 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, 2472, 995, 2854, 5006, 389, 612, 329, 4343, 5633, 46506, 366, 6894, 2854, 1097, 1, 16034, 3084, 62, 22416, 62, 23, 2548, 33411, 366, 1941, 1, 796, 4343 ]
Name the total number of losses with number result less than 0
SELECT COUNT(losses) FROM table_name_5 WHERE no_result < 0
[ 5376, 262, 2472, 1271, 286, 9089, 351, 1271, 1255, 1342, 621, 657, 46506, 327, 28270, 7, 22462, 274, 8, 16034, 3084, 62, 3672, 62, 20, 33411, 645, 62, 20274, 1279, 657 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 2472, 1271, 286, 9089, 351, 1271, 1255, 1342, 621, 657, 46506, 327, 28270, 7, 22462, 274, 8, 16034, 3084, 62, 3672, 62, 20, 33411, 645, 62, 20274, 1279, 657 ]
In what Year was Labyrinth nominated?
SELECT "Year (Ceremony)" FROM table_43409 WHERE "Film title used in nomination" = 'labyrinth'
[ 818, 644, 6280, 373, 28561, 19332, 30, 46506, 366, 17688, 357, 34, 567, 9926, 16725, 16034, 3084, 62, 3559, 29416, 33411, 366, 39750, 3670, 973, 287, 11872, 1, 796, 705, 23912, 21324, 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 ]
[ 818, 644, 6280, 373, 28561, 19332, 30, 46506, 366, 17688, 357, 34, 567, 9926, 16725, 16034, 3084, 62, 3559, 29416, 33411, 366, 39750, 3670, 973, 287, 11872, 1, 796, 705, 23912, 21324, 6 ]
What is the total number of wins for events with under 2 top-5s, under 5 top-25s, and more than 4 events played?
SELECT COUNT("Wins") FROM table_79677 WHERE "Top-25" < '5' AND "Events" > '4' AND "Top-5" < '2'
[ 2061, 318, 262, 2472, 1271, 286, 7864, 329, 2995, 351, 739, 362, 1353, 12, 20, 82, 11, 739, 642, 1353, 12, 1495, 82, 11, 290, 517, 621, 604, 2995, 2826, 30, 46506, 327, 28270, 7203, 54, 1040, 4943, 16034, 3084, 62, 3720, 40179, 33411, 366, 9126, 12, 1495, 1, 1279, 705, 20, 6, 5357, 366, 37103, 1, 1875, 705, 19, 6, 5357, 366, 9126, 12, 20, 1, 1279, 705, 17, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2472, 1271, 286, 7864, 329, 2995, 351, 739, 362, 1353, 12, 20, 82, 11, 739, 642, 1353, 12, 1495, 82, 11, 290, 517, 621, 604, 2995, 2826, 30, 46506, 327, 28270, 7203, 54, 1040, 4943, 16034, 3084, 62, 3720, 40179, 33411, 366, 9126, 12, 1495, 1, 1279, 705, 20, 6, 5357, 366, 37103, 1, 1875, 705, 19, 6, 5357, 366, 9126, 12, 20, 1, 1279, 705, 17, 6 ]
What was the score for the tie that had Shrewsbury Town as home team?
SELECT "Score" FROM table_79561 WHERE "Home team" = 'shrewsbury town'
[ 2061, 373, 262, 4776, 329, 262, 9839, 326, 550, 911, 1809, 82, 10711, 8329, 355, 1363, 1074, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 3720, 47915, 33411, 366, 16060, 1074, 1, 796, 705, 1477, 1809, 82, 10711, 3240, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 4776, 329, 262, 9839, 326, 550, 911, 1809, 82, 10711, 8329, 355, 1363, 1074, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 3720, 47915, 33411, 366, 16060, 1074, 1, 796, 705, 1477, 1809, 82, 10711, 3240, 6 ]
What was the crowd when the away team is footscray?
SELECT "Crowd" FROM table_78399 WHERE "Away team" = 'footscray'
[ 2061, 373, 262, 4315, 618, 262, 1497, 1074, 318, 2366, 1416, 2433, 30, 46506, 366, 34, 3986, 1, 16034, 3084, 62, 3695, 28771, 33411, 366, 32, 1014, 1074, 1, 796, 705, 5898, 1416, 2433, 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, 373, 262, 4315, 618, 262, 1497, 1074, 318, 2366, 1416, 2433, 30, 46506, 366, 34, 3986, 1, 16034, 3084, 62, 3695, 28771, 33411, 366, 32, 1014, 1074, 1, 796, 705, 5898, 1416, 2433, 6 ]
Posts of a hibernate project.
SELECT * FROM Posts WHERE Tags LIKE '%hibernate%' AND Tags LIKE '%orm%' AND Body LIKE '%doc%'
[ 21496, 286, 257, 46681, 77, 378, 1628, 13, 46506, 1635, 16034, 12043, 33411, 44789, 34178, 705, 4, 71, 1856, 77, 378, 4, 6, 5357, 44789, 34178, 705, 4, 579, 4, 6, 5357, 12290, 34178, 705, 4, 15390, 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 ]
[ 21496, 286, 257, 46681, 77, 378, 1628, 13, 46506, 1635, 16034, 12043, 33411, 44789, 34178, 705, 4, 71, 1856, 77, 378, 4, 6, 5357, 44789, 34178, 705, 4, 579, 4, 6, 5357, 12290, 34178, 705, 4, 15390, 4, 6 ]
how many patients whose diagnoses short title is insomnia nos and drug route is po/ng?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.short_title = "Insomnia NOS" AND prescriptions.route = "PO/NG"
[ 4919, 867, 3871, 3025, 40567, 1790, 3670, 318, 47104, 43630, 290, 2563, 6339, 318, 745, 14, 782, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312, 796, 40567, 13, 18108, 76, 62, 312, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, 18108, 76, 62, 312, 796, 34092, 13, 18108, 76, 62, 312, 33411, 40567, 13, 19509, 62, 7839, 796, 366, 20376, 37340, 399, 2640, 1, 5357, 34092, 13, 38629, 796, 366, 16402, 14, 10503, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 40567, 1790, 3670, 318, 47104, 43630, 290, 2563, 6339, 318, 745, 14, 782, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312, 796, 40567, 13, 18108, 76, 62, 312, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, 18108, 76, 62, 312, 796, 34092, 13, 18108, 76, 62, 312, 33411, 40567, 13, 19509, 62, 7839, 796, 366, 20376, 37340, 399, 2640, 1, 5357, 34092, 13, 38629, 796, 366, 16402, 14, 10503, 1 ]
In the next semester if 300 -level classes are offered what kind of classes can be taken ?
SELECT DISTINCT course.department, course.name, course.number FROM course, course_offering, semester WHERE course.course_id = course_offering.course_id AND course.department = 'EECS' AND course.number BETWEEN 300 AND 300 + 100 AND semester.semester = 'FA' AND semester.semester_id = course_offering.semester AND semester.year = 2016
[ 818, 262, 1306, 24878, 611, 5867, 532, 5715, 6097, 389, 4438, 644, 1611, 286, 6097, 460, 307, 2077, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 24878, 33411, 1781, 13, 17319, 62, 312, 796, 1781, 62, 2364, 1586, 13, 17319, 62, 312, 5357, 1781, 13, 10378, 1823, 796, 705, 36, 2943, 50, 6, 5357, 1781, 13, 17618, 38651, 8845, 1677, 5867, 5357, 5867, 1343, 1802, 5357, 24878, 13, 325, 6880, 353, 796, 705, 7708, 6, 5357, 24878, 13, 325, 6880, 353, 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 ]
[ 818, 262, 1306, 24878, 611, 5867, 532, 5715, 6097, 389, 4438, 644, 1611, 286, 6097, 460, 307, 2077, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 24878, 33411, 1781, 13, 17319, 62, 312, 796, 1781, 62, 2364, 1586, 13, 17319, 62, 312, 5357, 1781, 13, 10378, 1823, 796, 705, 36, 2943, 50, 6, 5357, 1781, 13, 17618, 38651, 8845, 1677, 5867, 5357, 5867, 1343, 1802, 5357, 24878, 13, 325, 6880, 353, 796, 705, 7708, 6, 5357, 24878, 13, 325, 6880, 353, 62 ]
Which season received 10.2 million viewers?
SELECT COUNT("TV season") FROM table_24611 WHERE "Viewers (in millions of households)" = '10.2'
[ 13828, 1622, 2722, 838, 13, 17, 1510, 10209, 30, 46506, 327, 28270, 7203, 6849, 1622, 4943, 16034, 3084, 62, 26912, 1157, 33411, 366, 7680, 364, 357, 259, 5242, 286, 12503, 16725, 796, 705, 940, 13, 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 ]
[ 13828, 1622, 2722, 838, 13, 17, 1510, 10209, 30, 46506, 327, 28270, 7203, 6849, 1622, 4943, 16034, 3084, 62, 26912, 1157, 33411, 366, 7680, 364, 357, 259, 5242, 286, 12503, 16725, 796, 705, 940, 13, 17, 6 ]
What is the score of game 37?
SELECT score FROM table_name_72 WHERE game = 37
[ 2061, 318, 262, 4776, 286, 983, 5214, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 4761, 33411, 983, 796, 5214 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4776, 286, 983, 5214, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 4761, 33411, 983, 796, 5214 ]
how long was joseph black a coach ?
SELECT "years" FROM table_203_577 WHERE "coach" = 'joseph black'
[ 4919, 890, 373, 474, 577, 746, 2042, 257, 3985, 5633, 46506, 366, 19002, 1, 16034, 3084, 62, 22416, 62, 49447, 33411, 366, 1073, 620, 1, 796, 705, 73, 577, 746, 2042, 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 ]
[ 4919, 890, 373, 474, 577, 746, 2042, 257, 3985, 5633, 46506, 366, 19002, 1, 16034, 3084, 62, 22416, 62, 49447, 33411, 366, 1073, 620, 1, 796, 705, 73, 577, 746, 2042, 6 ]
What is the title that aired from 17 may 2008 21 june 2008 on Nederland 3?
SELECT name FROM table_178242_1 WHERE channel = "Nederland 3" AND premiere___aired = "17 May 2008 – 21 June 2008"
[ 2061, 318, 262, 3670, 326, 18530, 422, 1596, 743, 3648, 2310, 474, 1726, 3648, 319, 399, 5702, 1044, 513, 30, 46506, 1438, 16034, 3084, 62, 23188, 27877, 62, 16, 33411, 6518, 796, 366, 45, 5702, 1044, 513, 1, 5357, 19245, 17569, 9820, 796, 366, 1558, 1737, 3648, 784, 2310, 2795, 3648, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3670, 326, 18530, 422, 1596, 743, 3648, 2310, 474, 1726, 3648, 319, 399, 5702, 1044, 513, 30, 46506, 1438, 16034, 3084, 62, 23188, 27877, 62, 16, 33411, 6518, 796, 366, 45, 5702, 1044, 513, 1, 5357, 19245, 17569, 9820, 796, 366, 1558, 1737, 3648, 784, 2310, 2795, 3648, 1 ]
What is the class of the qb, Josh Riddell?
SELECT "Class" FROM table_38223 WHERE "Position" = 'qb' AND "Name" = 'josh riddell'
[ 2061, 318, 262, 1398, 286, 262, 10662, 65, 11, 8518, 371, 1638, 695, 30, 46506, 366, 9487, 1, 16034, 3084, 62, 2548, 22047, 33411, 366, 26545, 1, 796, 705, 80, 65, 6, 5357, 366, 5376, 1, 796, 705, 73, 3768, 374, 1638, 695, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1398, 286, 262, 10662, 65, 11, 8518, 371, 1638, 695, 30, 46506, 366, 9487, 1, 16034, 3084, 62, 2548, 22047, 33411, 366, 26545, 1, 796, 705, 80, 65, 6, 5357, 366, 5376, 1, 796, 705, 73, 3768, 374, 1638, 695, 6 ]
What are the id and name of the stations that have ever had more than 12 bikes available? Plot them as a bar chart, rank id in asc order.
SELECT name, id FROM station AS T1 JOIN status AS T2 ON T1.id = T2.station_id WHERE T2.bikes_available > 12 ORDER BY id
[ 2061, 389, 262, 4686, 290, 1438, 286, 262, 8985, 326, 423, 1683, 550, 517, 621, 1105, 16715, 1695, 30, 28114, 606, 355, 257, 2318, 8262, 11, 4279, 4686, 287, 10570, 1502, 13, 46506, 1438, 11, 4686, 16034, 4429, 7054, 309, 16, 32357, 1268, 3722, 7054, 309, 17, 6177, 309, 16, 13, 312, 796, 309, 17, 13, 17529, 62, 312, 33411, 309, 17, 13, 65, 7938, 62, 15182, 1875, 1105, 38678, 11050, 4686 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4686, 290, 1438, 286, 262, 8985, 326, 423, 1683, 550, 517, 621, 1105, 16715, 1695, 30, 28114, 606, 355, 257, 2318, 8262, 11, 4279, 4686, 287, 10570, 1502, 13, 46506, 1438, 11, 4686, 16034, 4429, 7054, 309, 16, 32357, 1268, 3722, 7054, 309, 17, 6177, 309, 16, 13, 312, 796, 309, 17, 13, 17529, 62, 312, 33411, 309, 17, 13, 65, 7938, 62, 15182, 1875, 1105, 38678, 11050, 4686 ]
Name the fleet numbers for diagram of 186 and lot number of 30798
SELECT "Fleet numbers" FROM table_71496 WHERE "Diagram" = '186' AND "Lot No." = '30798'
[ 5376, 262, 11026, 3146, 329, 16362, 286, 28481, 290, 1256, 1271, 286, 1542, 43240, 46506, 366, 47669, 316, 3146, 1, 16034, 3084, 62, 45722, 4846, 33411, 366, 18683, 6713, 1, 796, 705, 25096, 6, 5357, 366, 48601, 1400, 526, 796, 705, 1270, 43240, 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 ]
[ 5376, 262, 11026, 3146, 329, 16362, 286, 28481, 290, 1256, 1271, 286, 1542, 43240, 46506, 366, 47669, 316, 3146, 1, 16034, 3084, 62, 45722, 4846, 33411, 366, 18683, 6713, 1, 796, 705, 25096, 6, 5357, 366, 48601, 1400, 526, 796, 705, 1270, 43240, 6 ]
What country is the player who earned $9,000 from?
SELECT "Country" FROM table_8405 WHERE "Money ($)" = '9,000'
[ 2061, 1499, 318, 262, 2137, 508, 7366, 720, 24, 11, 830, 422, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 23, 26598, 33411, 366, 26788, 7198, 16725, 796, 705, 24, 11, 830, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1499, 318, 262, 2137, 508, 7366, 720, 24, 11, 830, 422, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 23, 26598, 33411, 366, 26788, 7198, 16725, 796, 705, 24, 11, 830, 6 ]
A bar chart about what is the name of every city that has at least 15 stations and how many stations does it have?
SELECT city, COUNT(*) FROM station GROUP BY city
[ 32, 2318, 8262, 546, 644, 318, 262, 1438, 286, 790, 1748, 326, 468, 379, 1551, 1315, 8985, 290, 703, 867, 8985, 857, 340, 423, 30, 46506, 1748, 11, 327, 28270, 7, 28104, 16034, 4429, 44441, 11050, 1748 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 32, 2318, 8262, 546, 644, 318, 262, 1438, 286, 790, 1748, 326, 468, 379, 1551, 1315, 8985, 290, 703, 867, 8985, 857, 340, 423, 30, 46506, 1748, 11, 327, 28270, 7, 28104, 16034, 4429, 44441, 11050, 1748 ]
Which finalist played in the week of October 21?
SELECT "Finalist" FROM table_44687 WHERE "Week" = 'october 21'
[ 13828, 2457, 396, 2826, 287, 262, 1285, 286, 3267, 2310, 30, 46506, 366, 19006, 396, 1, 16034, 3084, 62, 2598, 39925, 33411, 366, 20916, 1, 796, 705, 38441, 2023, 2310, 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, 2457, 396, 2826, 287, 262, 1285, 286, 3267, 2310, 30, 46506, 366, 19006, 396, 1, 16034, 3084, 62, 2598, 39925, 33411, 366, 20916, 1, 796, 705, 38441, 2023, 2310, 6 ]
How many of the newborn patients died in or before the year 2122?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "NEWBORN" AND demographic.dod_year <= "2122.0"
[ 2437, 867, 286, 262, 23856, 3871, 3724, 287, 393, 878, 262, 614, 362, 18376, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 47356, 5958, 796, 366, 13965, 33, 30649, 1, 5357, 16728, 13, 67, 375, 62, 1941, 19841, 366, 17, 18376, 13, 15, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 286, 262, 23856, 3871, 3724, 287, 393, 878, 262, 614, 362, 18376, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 47356, 5958, 796, 366, 13965, 33, 30649, 1, 5357, 16728, 13, 67, 375, 62, 1941, 19841, 366, 17, 18376, 13, 15, 1 ]
when was the first time patient 015-23047 took per iv flush: wrist l 20 gauge, today?
SELECT intakeoutput.intakeoutputtime FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '015-23047')) AND intakeoutput.cellpath LIKE '%intake%' AND intakeoutput.celllabel = 'per iv flush: wrist l 20 gauge' AND DATETIME(intakeoutput.intakeoutputtime, 'start of day') = DATETIME(CURRENT_TIME(), 'start of day', '-0 day') ORDER BY intakeoutput.intakeoutputtime LIMIT 1
[ 12518, 373, 262, 717, 640, 5827, 5534, 20, 12, 19214, 2857, 1718, 583, 21628, 24773, 25, 15980, 300, 1160, 18266, 11, 1909, 30, 46506, 10337, 22915, 13, 600, 539, 22915, 2435, 16034, 10337, 22915, 33411, 10337, 22915, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 25150, 12, 19214, 2857, 6, 4008, 5357, 10337, 22915, 13, 3846, 6978, 34178, 705, 4, 600, 539, 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 ]
[ 12518, 373, 262, 717, 640, 5827, 5534, 20, 12, 19214, 2857, 1718, 583, 21628, 24773, 25, 15980, 300, 1160, 18266, 11, 1909, 30, 46506, 10337, 22915, 13, 600, 539, 22915, 2435, 16034, 10337, 22915, 33411, 10337, 22915, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 25150, 12, 19214, 2857, 6, 4008, 5357, 10337, 22915, 13, 3846, 6978, 34178, 705, 4, 600, 539, 4 ]
What is the fa cup apps with 0 league cup goals, and a total of 43 apps?
SELECT fa_cup_apps FROM table_name_60 WHERE league_cup_goals = 0 AND total_apps = "43"
[ 2061, 318, 262, 24685, 6508, 6725, 351, 657, 4652, 6508, 4661, 11, 290, 257, 2472, 286, 5946, 6725, 30, 46506, 24685, 62, 25244, 62, 18211, 16034, 3084, 62, 3672, 62, 1899, 33411, 4652, 62, 25244, 62, 2188, 874, 796, 657, 5357, 2472, 62, 18211, 796, 366, 3559, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 24685, 6508, 6725, 351, 657, 4652, 6508, 4661, 11, 290, 257, 2472, 286, 5946, 6725, 30, 46506, 24685, 62, 25244, 62, 18211, 16034, 3084, 62, 3672, 62, 1899, 33411, 4652, 62, 25244, 62, 2188, 874, 796, 657, 5357, 2472, 62, 18211, 796, 366, 3559, 1 ]
Which Affected area codes have an Effective date of august 30, 2014?
SELECT affected_area_codes FROM table_name_95 WHERE effective_date = "august 30, 2014"
[ 13828, 36931, 276, 1989, 12416, 423, 281, 29455, 3128, 286, 16339, 436, 1542, 11, 1946, 30, 46506, 5676, 62, 20337, 62, 40148, 16034, 3084, 62, 3672, 62, 3865, 33411, 4050, 62, 4475, 796, 366, 7493, 436, 1542, 11, 1946, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 36931, 276, 1989, 12416, 423, 281, 29455, 3128, 286, 16339, 436, 1542, 11, 1946, 30, 46506, 5676, 62, 20337, 62, 40148, 16034, 3084, 62, 3672, 62, 3865, 33411, 4050, 62, 4475, 796, 366, 7493, 436, 1542, 11, 1946, 1 ]
For those records from the products and each product's manufacturer, visualize a bar chart about the distribution of name and revenue , and group by attribute founder, I want to display by the X in desc.
SELECT T1.Name, T2.Revenue FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder, T1.Name ORDER BY T1.Name DESC
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 38350, 257, 2318, 8262, 546, 262, 6082, 286, 1438, 290, 6426, 837, 290, 1448, 416, 11688, 9119, 11, 314, 765, 284, 3359, 416, 262, 1395, 287, 1715, 13, 46506, 309, 16, 13, 5376, 11, 309, 17, 13, 3041, 4080, 16034, 18675, 7054, 309, 16, 32357, 1268, 17858, 17496, 7054, 309, 17, 6177, 309, 16, 13, 44445, 15051, 796, 309, 17, 13, 10669, 44441, 11050, 30153, 11, 309, 16, 13, 5376, 38678, 11050, 309, 16, 13, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 38350, 257, 2318, 8262, 546, 262, 6082, 286, 1438, 290, 6426, 837, 290, 1448, 416, 11688, 9119, 11, 314, 765, 284, 3359, 416, 262, 1395, 287, 1715, 13, 46506, 309, 16, 13, 5376, 11, 309, 17, 13, 3041, 4080, 16034, 18675, 7054, 309, 16, 32357, 1268, 17858, 17496, 7054, 309, 17, 6177, 309, 16, 13, 44445, 15051, 796, 309, 17, 13, 10669, 44441, 11050, 30153, 11, 309, 16, 13, 5376, 38678, 11050, 309, 16, 13, 5376, 22196, 34 ]
Plot a scatter chart, sum(grant amount) by organisation_id.
SELECT SUM(grant_amount), organisation_id FROM Grants GROUP BY organisation_id
[ 43328, 257, 41058, 8262, 11, 2160, 7, 2164, 415, 2033, 8, 416, 12684, 62, 312, 13, 46506, 35683, 7, 2164, 415, 62, 17287, 828, 12684, 62, 312, 16034, 40535, 44441, 11050, 12684, 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 ]
[ 43328, 257, 41058, 8262, 11, 2160, 7, 2164, 415, 2033, 8, 416, 12684, 62, 312, 13, 46506, 35683, 7, 2164, 415, 62, 17287, 828, 12684, 62, 312, 16034, 40535, 44441, 11050, 12684, 62, 312 ]
What was the date of the game that was played against the away team of York City?
SELECT attendance FROM table_name_7 WHERE away_team = "york city"
[ 2061, 373, 262, 3128, 286, 262, 983, 326, 373, 2826, 1028, 262, 1497, 1074, 286, 1971, 2254, 30, 46506, 14858, 16034, 3084, 62, 3672, 62, 22, 33411, 1497, 62, 15097, 796, 366, 88, 967, 1748, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 3128, 286, 262, 983, 326, 373, 2826, 1028, 262, 1497, 1074, 286, 1971, 2254, 30, 46506, 14858, 16034, 3084, 62, 3672, 62, 22, 33411, 1497, 62, 15097, 796, 366, 88, 967, 1748, 1 ]
User +1 comments for 2014.
SELECT Score, Id AS "comment_link", CreationDate FROM Comments WHERE UserId = '##YourUserId##' AND Text LIKE '%paste%paste%' AND Score > 0 ORDER BY Score DESC
[ 12982, 1343, 16, 3651, 329, 1946, 13, 46506, 15178, 11, 5121, 7054, 366, 23893, 62, 8726, 1600, 21582, 10430, 16034, 19502, 33411, 11787, 7390, 796, 705, 2235, 7120, 12982, 7390, 2235, 6, 5357, 8255, 34178, 705, 4, 34274, 4, 34274, 4, 6, 5357, 15178, 1875, 657, 38678, 11050, 15178, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 12982, 1343, 16, 3651, 329, 1946, 13, 46506, 15178, 11, 5121, 7054, 366, 23893, 62, 8726, 1600, 21582, 10430, 16034, 19502, 33411, 11787, 7390, 796, 705, 2235, 7120, 12982, 7390, 2235, 6, 5357, 8255, 34178, 705, 4, 34274, 4, 34274, 4, 6, 5357, 15178, 1875, 657, 38678, 11050, 15178, 22196, 34 ]
Which courses is Prof. Julia Adler-milstein scheduled to teach over the next year ?
SELECT DISTINCT course.department, course.name, course.number FROM course, course_offering, instructor, offering_instructor, semester WHERE course.course_id = course_offering.course_id AND instructor.name LIKE '%Julia Adler-milstein%' AND offering_instructor.instructor_id = instructor.instructor_id AND offering_instructor.offering_id = course_offering.offering_id AND semester.semester_id = course_offering.semester AND ((semester.semester = 'FA' AND semester.year = 2016) OR (semester.semester = 'WN' AND semester.year = 2017))
[ 13828, 10902, 318, 4415, 13, 22300, 1215, 1754, 12, 25433, 5714, 7530, 284, 4545, 625, 262, 1306, 614, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 21187, 11, 6011, 62, 259, 7249, 273, 11, 24878, 33411, 1781, 13, 17319, 62, 312, 796, 1781, 62, 2364, 1586, 13, 17319, 62, 312, 5357, 21187, 13, 3672, 34178, 705, 4, 16980, 544, 1215, 1754, 12, 25433, 5714, 4, 6, 5357, 6011, 62, 259, 7249, 273, 13, 259, 7249, 273, 62, 312, 796, 21187, 13, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10902, 318, 4415, 13, 22300, 1215, 1754, 12, 25433, 5714, 7530, 284, 4545, 625, 262, 1306, 614, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 21187, 11, 6011, 62, 259, 7249, 273, 11, 24878, 33411, 1781, 13, 17319, 62, 312, 796, 1781, 62, 2364, 1586, 13, 17319, 62, 312, 5357, 21187, 13, 3672, 34178, 705, 4, 16980, 544, 1215, 1754, 12, 25433, 5714, 4, 6, 5357, 6011, 62, 259, 7249, 273, 13, 259, 7249, 273, 62, 312, 796, 21187, 13, 259 ]
What is the lowest attendance that East End Park has ever had?
SELECT MIN("Lowest") FROM table_16519 WHERE "Stadium" = 'East End Park'
[ 2061, 318, 262, 9016, 14858, 326, 3687, 5268, 3250, 468, 1683, 550, 30, 46506, 20625, 7203, 20535, 395, 4943, 16034, 3084, 62, 20986, 1129, 33411, 366, 1273, 6271, 1, 796, 705, 25234, 5268, 3250, 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, 9016, 14858, 326, 3687, 5268, 3250, 468, 1683, 550, 30, 46506, 20625, 7203, 20535, 395, 4943, 16034, 3084, 62, 20986, 1129, 33411, 366, 1273, 6271, 1, 796, 705, 25234, 5268, 3250, 6 ]
What is the Attendance after Week 8 with a Result of W 42 0?
SELECT MAX("Attendance") FROM table_9781 WHERE "Week" > '8' AND "Result" = 'w 42–0'
[ 2061, 318, 262, 46502, 590, 706, 6119, 807, 351, 257, 25414, 286, 370, 5433, 657, 30, 46506, 25882, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 32196, 16, 33411, 366, 20916, 1, 1875, 705, 23, 6, 5357, 366, 23004, 1, 796, 705, 86, 5433, 1906, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 46502, 590, 706, 6119, 807, 351, 257, 25414, 286, 370, 5433, 657, 30, 46506, 25882, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 32196, 16, 33411, 366, 20916, 1, 1875, 705, 23, 6, 5357, 366, 23004, 1, 796, 705, 86, 5433, 1906, 15, 6 ]
What is Tournament, when Week is November 23?
SELECT "Tournament" FROM table_46640 WHERE "Week" = 'november 23'
[ 2061, 318, 9595, 11, 618, 6119, 318, 3389, 2242, 30, 46506, 366, 51, 5138, 1, 16034, 3084, 62, 42199, 1821, 33411, 366, 20916, 1, 796, 705, 77, 3239, 2242, 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, 9595, 11, 618, 6119, 318, 3389, 2242, 30, 46506, 366, 51, 5138, 1, 16034, 3084, 62, 42199, 1821, 33411, 366, 20916, 1, 796, 705, 77, 3239, 2242, 6 ]
how many rides have a max capacity of 600 ?
SELECT COUNT(DISTINCT ("model name")) FROM table_203_873 WHERE "capacity" = 600
[ 4919, 867, 17445, 423, 257, 3509, 5339, 286, 10053, 5633, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 5855, 19849, 1438, 48774, 16034, 3084, 62, 22416, 62, 23, 4790, 33411, 366, 42404, 1, 796, 10053 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17445, 423, 257, 3509, 5339, 286, 10053, 5633, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 5855, 19849, 1438, 48774, 16034, 3084, 62, 22416, 62, 23, 4790, 33411, 366, 42404, 1, 796, 10053 ]
What were GD Mcgrath's bowling figures?
SELECT "Bowling figures Wickets-Runs (Overs)" FROM table_56382 WHERE "Bowler" = 'gd mcgrath'
[ 2061, 547, 27044, 1982, 2164, 776, 338, 33564, 5538, 30, 46506, 366, 39961, 1359, 5538, 370, 15970, 12, 10987, 82, 357, 46, 690, 16725, 16034, 3084, 62, 3980, 36243, 33411, 366, 33, 30014, 1, 796, 705, 21287, 36650, 2164, 776, 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 ]
[ 2061, 547, 27044, 1982, 2164, 776, 338, 33564, 5538, 30, 46506, 366, 39961, 1359, 5538, 370, 15970, 12, 10987, 82, 357, 46, 690, 16725, 16034, 3084, 62, 3980, 36243, 33411, 366, 33, 30014, 1, 796, 705, 21287, 36650, 2164, 776, 6 ]
what destination is at the top of the list ?
SELECT "destination" FROM table_204_336 WHERE id = 1
[ 10919, 10965, 318, 379, 262, 1353, 286, 262, 1351, 5633, 46506, 366, 16520, 1883, 1, 16034, 3084, 62, 18638, 62, 29211, 33411, 4686, 796, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 10965, 318, 379, 262, 1353, 286, 262, 1351, 5633, 46506, 366, 16520, 1883, 1, 16034, 3084, 62, 18638, 62, 29211, 33411, 4686, 796, 352 ]
Visualize a bar chart, count and group by nationality from the journalist table, rank in ascending by the Y-axis please.
SELECT Nationality, COUNT(Nationality) FROM journalist GROUP BY Nationality ORDER BY COUNT(Nationality)
[ 36259, 1096, 257, 2318, 8262, 11, 954, 290, 1448, 416, 29835, 422, 262, 10099, 3084, 11, 4279, 287, 41988, 416, 262, 575, 12, 22704, 3387, 13, 46506, 2351, 414, 11, 327, 28270, 7, 16186, 414, 8, 16034, 10099, 44441, 11050, 2351, 414, 38678, 11050, 327, 28270, 7, 16186, 414, 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 ]
[ 36259, 1096, 257, 2318, 8262, 11, 954, 290, 1448, 416, 29835, 422, 262, 10099, 3084, 11, 4279, 287, 41988, 416, 262, 575, 12, 22704, 3387, 13, 46506, 2351, 414, 11, 327, 28270, 7, 16186, 414, 8, 16034, 10099, 44441, 11050, 2351, 414, 38678, 11050, 327, 28270, 7, 16186, 414, 8 ]
What is the Front Side Bus for Model Number c3 850?
SELECT "Front Side Bus" FROM table_46635 WHERE "Model Number" = 'c3 850'
[ 2061, 318, 262, 8880, 12075, 5869, 329, 9104, 7913, 269, 18, 30607, 30, 46506, 366, 25886, 12075, 5869, 1, 16034, 3084, 62, 42199, 2327, 33411, 366, 17633, 7913, 1, 796, 705, 66, 18, 30607, 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, 8880, 12075, 5869, 329, 9104, 7913, 269, 18, 30607, 30, 46506, 366, 25886, 12075, 5869, 1, 16034, 3084, 62, 42199, 2327, 33411, 366, 17633, 7913, 1, 796, 705, 66, 18, 30607, 6 ]
What was the transfer fee for the player who had an App(L/C/E) of 0 (0/0/0) and notes of to anagennisi karditsa?
SELECT "Transfer fee" FROM table_51079 WHERE "App(L/C/E)" = '0 (0/0/0)' AND "Notes" = 'to anagennisi karditsa'
[ 2061, 373, 262, 4351, 6838, 329, 262, 2137, 508, 550, 281, 2034, 7, 43, 14, 34, 14, 36, 8, 286, 657, 357, 15, 14, 15, 14, 15, 8, 290, 4710, 286, 284, 281, 363, 10679, 72, 479, 446, 896, 64, 30, 46506, 366, 43260, 6838, 1, 16034, 3084, 62, 33690, 3720, 33411, 366, 4677, 7, 43, 14, 34, 14, 36, 16725, 796, 705, 15, 357, 15, 14, 15, 14, 15, 33047, 5357, 366, 16130, 1, 796, 705, 1462, 281, 363, 10679, 72, 479, 446, 896, 64, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4351, 6838, 329, 262, 2137, 508, 550, 281, 2034, 7, 43, 14, 34, 14, 36, 8, 286, 657, 357, 15, 14, 15, 14, 15, 8, 290, 4710, 286, 284, 281, 363, 10679, 72, 479, 446, 896, 64, 30, 46506, 366, 43260, 6838, 1, 16034, 3084, 62, 33690, 3720, 33411, 366, 4677, 7, 43, 14, 34, 14, 36, 16725, 796, 705, 15, 357, 15, 14, 15, 14, 15, 33047, 5357, 366, 16130, 1, 796, 705, 1462, 281, 363, 10679, 72, 479, 446, 896, 64, 6 ]
What are the names of customers with checking balances lower than the average checking balance?
SELECT T1.name FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid WHERE T2.balance < (SELECT AVG(balance) FROM checking)
[ 2061, 389, 262, 3891, 286, 4297, 351, 10627, 25223, 2793, 621, 262, 2811, 10627, 5236, 30, 46506, 309, 16, 13, 3672, 16034, 5504, 7054, 309, 16, 32357, 1268, 10627, 7054, 309, 17, 6177, 309, 16, 13, 66, 436, 312, 796, 309, 17, 13, 66, 436, 312, 33411, 309, 17, 13, 20427, 1279, 357, 46506, 35224, 7, 20427, 8, 16034, 10627, 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 ]
[ 2061, 389, 262, 3891, 286, 4297, 351, 10627, 25223, 2793, 621, 262, 2811, 10627, 5236, 30, 46506, 309, 16, 13, 3672, 16034, 5504, 7054, 309, 16, 32357, 1268, 10627, 7054, 309, 17, 6177, 309, 16, 13, 66, 436, 312, 796, 309, 17, 13, 66, 436, 312, 33411, 309, 17, 13, 20427, 1279, 357, 46506, 35224, 7, 20427, 8, 16034, 10627, 8 ]