instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
Name the transfer fee with a transfer window of summer for schollen
SELECT transfer_fee FROM table_name_88 WHERE transfer_window = "summer" AND name = "schollen"
[ 5376, 262, 4351, 6838, 351, 257, 4351, 4324, 286, 3931, 329, 5513, 29952, 46506, 4351, 62, 39071, 16034, 3084, 62, 3672, 62, 3459, 33411, 4351, 62, 17497, 796, 366, 16345, 647, 1, 5357, 1438, 796, 366, 20601, 29952, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4351, 6838, 351, 257, 4351, 4324, 286, 3931, 329, 5513, 29952, 46506, 4351, 62, 39071, 16034, 3084, 62, 3672, 62, 3459, 33411, 4351, 62, 17497, 796, 366, 16345, 647, 1, 5357, 1438, 796, 366, 20601, 29952, 1 ]
give me flights from PITTSBURGH to BALTIMORE
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, flight WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'PITTSBURGH' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'BAL...
[ 26535, 502, 13956, 422, 49040, 4694, 38926, 17511, 284, 347, 31429, 3955, 1581, 33635, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 70...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13956, 422, 49040, 4694, 38926, 17511, 284, 347, 31429, 3955, 1581, 33635, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 70...
Which class that fulfills the MDE requirement can I take that is the easiest ?
SELECT DISTINCT course.department, course.name, course.number, program_course.workload, program_course.workload FROM course, program_course WHERE program_course.category LIKE '%MDE%' AND program_course.course_id = course.course_id AND program_course.workload = (SELECT MIN(PROGRAM_COURSEalias1.workload) FROM program_cou...
[ 13828, 1398, 326, 8456, 2171, 262, 337, 7206, 9079, 460, 314, 1011, 326, 318, 262, 16638, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 11, 1430, 62, 17319, 13, 1818, 2220, 11, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 13828, 1398, 326, 8456, 2171, 262, 337, 7206, 9079, 460, 314, 1011, 326, 318, 262, 16638, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 11, 1430, 62, 17319, 13, 1818, 2220, 11, 1...
I am wondering how many 100 level classes are avaliable in Spring and Summer semesters ?
SELECT COUNT(DISTINCT course.course_id, semester.semester) FROM course, course_offering, semester WHERE course.course_id = course_offering.course_id AND course.department = 'department0' AND course.number BETWEEN 100 AND 100 + 100 AND semester.semester IN ('SP', 'SS', 'SU') AND semester.semester_id = course_offering.se...
[ 40, 716, 11263, 703, 867, 1802, 1241, 6097, 389, 37441, 3379, 287, 8225, 290, 10216, 5026, 8586, 5633, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 1781, 13, 17319, 62, 312, 11, 24878, 13, 325, 6880, 353, 8, 16034, 1781, 11, 1781, 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...
[ 40, 716, 11263, 703, 867, 1802, 1241, 6097, 389, 37441, 3379, 287, 8225, 290, 10216, 5026, 8586, 5633, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 1781, 13, 17319, 62, 312, 11, 24878, 13, 325, 6880, 353, 8, 16034, 1781, 11, 1781, 62...
how many patients this year were staying at ward 425?
SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.wardid = 425 AND DATETIME(patient.unitadmittime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year')
[ 4919, 867, 3871, 428, 614, 547, 10589, 379, 15305, 36959, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 5827, 13, 403, 1557, 538, 312, 8, 16034, 5827, 33411, 5827, 13, 904, 312, 796, 36959, 5357, 360, 1404, 2767, 12789, 7, 26029, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 3871, 428, 614, 547, 10589, 379, 15305, 36959, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 5827, 13, 403, 1557, 538, 312, 8, 16034, 5827, 33411, 5827, 13, 904, 312, 796, 36959, 5357, 360, 1404, 2767, 12789, 7, 26029, ...
What is the Origin of Programming for the Network NDTV India?
SELECT "Origin of Programming" FROM table_4728 WHERE "Network" = 'ndtv india'
[ 2061, 318, 262, 19349, 286, 30297, 329, 262, 7311, 25524, 6849, 3794, 30, 46506, 366, 39688, 286, 30297, 1, 16034, 3084, 62, 2857, 2078, 33411, 366, 26245, 1, 796, 705, 358, 14981, 773, 544, 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, 19349, 286, 30297, 329, 262, 7311, 25524, 6849, 3794, 30, 46506, 366, 39688, 286, 30297, 1, 16034, 3084, 62, 2857, 2078, 33411, 366, 26245, 1, 796, 705, 358, 14981, 773, 544, 6 ]
Closed non dupe questions. Closed non duplicate questions, plus total questions and percentage (for the lazy)
SELECT COUNT(*) AS ClosedNonDupes, (SELECT COUNT(*) FROM Posts AS p WHERE p.PostTypeId = 1) AS Questions FROM PostHistory AS q WHERE q.PostHistoryTypeId = 10 AND q.Comment != 1
[ 2601, 1335, 1729, 7043, 431, 2683, 13, 30550, 1729, 23418, 2683, 11, 5556, 2472, 2683, 290, 5873, 357, 1640, 262, 16931, 8, 46506, 327, 28270, 7, 28104, 7054, 30550, 15419, 35, 929, 274, 11, 357, 46506, 327, 28270, 7, 28104, 16034, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2601, 1335, 1729, 7043, 431, 2683, 13, 30550, 1729, 23418, 2683, 11, 5556, 2472, 2683, 290, 5873, 357, 1640, 262, 16931, 8, 46506, 327, 28270, 7, 28104, 7054, 30550, 15419, 35, 929, 274, 11, 357, 46506, 327, 28270, 7, 28104, 16034, 12...
provide the number of patients whose ethnicity is white and age is less than 49?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "WHITE" AND demographic.age < "49"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 26289, 318, 2330, 290, 2479, 318, 1342, 621, 5125, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 38546, 414, 796, 366, 12418, 1270...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15234, 485, 262, 1271, 286, 3871, 3025, 26289, 318, 2330, 290, 2479, 318, 1342, 621, 5125, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 38546, 414, 796, 366, 12418, 1270...
What is the Away team when the home team was wycombe wanderers?
SELECT "Away team" FROM table_41904 WHERE "Home team" = 'wycombe wanderers'
[ 2061, 318, 262, 21986, 1074, 618, 262, 1363, 1074, 373, 266, 88, 49325, 11569, 19288, 30, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 45068, 3023, 33411, 366, 16060, 1074, 1, 796, 705, 21768, 49325, 11569, 19288, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 21986, 1074, 618, 262, 1363, 1074, 373, 266, 88, 49325, 11569, 19288, 30, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 45068, 3023, 33411, 366, 16060, 1074, 1, 796, 705, 21768, 49325, 11569, 19288, 6 ]
what team has +1'25.337 for the time?
SELECT "Team" FROM table_5074 WHERE "Time" = '+1''25.337'
[ 10919, 1074, 468, 1343, 16, 6, 1495, 13, 31496, 329, 262, 640, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 1120, 4524, 33411, 366, 7575, 1, 796, 705, 10, 16, 7061, 1495, 13, 31496, 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 ]
[ 10919, 1074, 468, 1343, 16, 6, 1495, 13, 31496, 329, 262, 640, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 1120, 4524, 33411, 366, 7575, 1, 796, 705, 10, 16, 7061, 1495, 13, 31496, 6 ]
What was the score of the game when the record was 58 47?
SELECT "Score" FROM table_67134 WHERE "Record" = '58–47'
[ 2061, 373, 262, 4776, 286, 262, 983, 618, 262, 1700, 373, 7618, 6298, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 3134, 19880, 33411, 366, 23739, 1, 796, 705, 3365, 1906, 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 ]
[ 2061, 373, 262, 4776, 286, 262, 983, 618, 262, 1700, 373, 7618, 6298, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 3134, 19880, 33411, 366, 23739, 1, 796, 705, 3365, 1906, 2857, 6 ]
What is the latest year born when the current club is Barons LMT?
SELECT MAX(year_born) FROM table_23670057_7 WHERE current_club = "Barons LMT"
[ 2061, 318, 262, 3452, 614, 4642, 618, 262, 1459, 3430, 318, 2409, 684, 406, 13752, 30, 46506, 25882, 7, 1941, 62, 6286, 8, 16034, 3084, 62, 1954, 3134, 405, 3553, 62, 22, 33411, 1459, 62, 18664, 796, 366, 10374, 684, 406, 13752, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3452, 614, 4642, 618, 262, 1459, 3430, 318, 2409, 684, 406, 13752, 30, 46506, 25882, 7, 1941, 62, 6286, 8, 16034, 3084, 62, 1954, 3134, 405, 3553, 62, 22, 33411, 1459, 62, 18664, 796, 366, 10374, 684, 406, 13752, 1 ]
What is the lenth of a 2003 Make & Model of nabi 35-lfw?
SELECT "Length" FROM table_55004 WHERE "Year" = '2003' AND "Make & Model" = 'nabi 35-lfw'
[ 2061, 318, 262, 300, 7944, 286, 257, 5816, 6889, 1222, 9104, 286, 299, 17914, 3439, 12, 1652, 86, 30, 46506, 366, 24539, 1, 16034, 3084, 62, 2816, 22914, 33411, 366, 17688, 1, 796, 705, 16088, 6, 5357, 366, 12050, 1222, 9104, 1, 796...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 300, 7944, 286, 257, 5816, 6889, 1222, 9104, 286, 299, 17914, 3439, 12, 1652, 86, 30, 46506, 366, 24539, 1, 16034, 3084, 62, 2816, 22914, 33411, 366, 17688, 1, 796, 705, 16088, 6, 5357, 366, 12050, 1222, 9104, 1, 796...
Who are the co-drivers the risi competizione gt2 class that went under 329 laps and recorded a DNF?
SELECT co_drivers FROM table_name_45 WHERE laps < 329 AND class = "gt2" AND team = "risi competizione" AND pos = "dnf"
[ 8241, 389, 262, 763, 12, 36702, 262, 6106, 72, 2307, 528, 7935, 308, 83, 17, 1398, 326, 1816, 739, 42141, 24590, 290, 6264, 257, 360, 21870, 30, 46506, 763, 62, 36702, 16034, 3084, 62, 3672, 62, 2231, 33411, 24590, 1279, 42141, 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...
[ 8241, 389, 262, 763, 12, 36702, 262, 6106, 72, 2307, 528, 7935, 308, 83, 17, 1398, 326, 1816, 739, 42141, 24590, 290, 6264, 257, 360, 21870, 30, 46506, 763, 62, 36702, 16034, 3084, 62, 3672, 62, 2231, 33411, 24590, 1279, 42141, 5357, ...
have patient 15257's sao2 been normal in 12/last year?
SELECT COUNT(*) > 0 FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 15257)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'sao2' AND d_items...
[ 14150, 5827, 1315, 28676, 338, 473, 78, 17, 587, 3487, 287, 1105, 14, 12957, 614, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, 323, 62, 312, 3268, 357, 46506, 14158, 436, 592, 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...
[ 14150, 5827, 1315, 28676, 338, 473, 78, 17, 587, 3487, 287, 1105, 14, 12957, 614, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, 323, 62, 312, 3268, 357, 46506, 14158, 436, 592, 13, ...
Give me all the phone numbers and email addresses of the workshop groups where services are performed.
SELECT T1.store_phone, T1.store_email_address FROM drama_workshop_groups AS T1 JOIN services AS T2 ON T1.workshop_group_id = T2.workshop_group_id
[ 23318, 502, 477, 262, 3072, 3146, 290, 3053, 9405, 286, 262, 20243, 2628, 810, 2594, 389, 6157, 13, 46506, 309, 16, 13, 8095, 62, 4862, 11, 309, 16, 13, 8095, 62, 12888, 62, 21975, 16034, 10512, 62, 38067, 62, 24432, 7054, 309, 16, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 23318, 502, 477, 262, 3072, 3146, 290, 3053, 9405, 286, 262, 20243, 2628, 810, 2594, 389, 6157, 13, 46506, 309, 16, 13, 8095, 62, 4862, 11, 309, 16, 13, 8095, 62, 12888, 62, 21975, 16034, 10512, 62, 38067, 62, 24432, 7054, 309, 16, ...
What did the away team score at Moorabbin oval?
SELECT away_team AS score FROM table_name_38 WHERE venue = "moorabbin oval"
[ 2061, 750, 262, 1497, 1074, 4776, 379, 31451, 6485, 259, 41186, 30, 46506, 1497, 62, 15097, 7054, 4776, 16034, 3084, 62, 3672, 62, 2548, 33411, 14359, 796, 366, 76, 2675, 6485, 259, 41186, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 750, 262, 1497, 1074, 4776, 379, 31451, 6485, 259, 41186, 30, 46506, 1497, 62, 15097, 7054, 4776, 16034, 3084, 62, 3672, 62, 2548, 33411, 14359, 796, 366, 76, 2675, 6485, 259, 41186, 1 ]
how many patients with hypertension as the diagnosis short title had the drug route 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 = "Hypertension NOS" AND prescriptions.route = "PO/NG"
[ 4919, 867, 3871, 351, 37454, 355, 262, 13669, 1790, 3670, 550, 262, 2563, 6339, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 351, 37454, 355, 262, 13669, 1790, 3670, 550, 262, 2563, 6339, 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...
New users sorted by creation date.
SELECT Id, DisplayName, CreationDate FROM Users WHERE DATEDIFF('d', CreationDate, GETDATE()) <= 720 ORDER BY CreationDate DESC
[ 3791, 2985, 23243, 416, 6282, 3128, 13, 46506, 5121, 11, 16531, 5376, 11, 21582, 10430, 16034, 18987, 33411, 360, 11617, 29267, 10786, 67, 3256, 21582, 10430, 11, 17151, 35, 6158, 28955, 19841, 26250, 38678, 11050, 21582, 10430, 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 ]
[ 3791, 2985, 23243, 416, 6282, 3128, 13, 46506, 5121, 11, 16531, 5376, 11, 21582, 10430, 16034, 18987, 33411, 360, 11617, 29267, 10786, 67, 3256, 21582, 10430, 11, 17151, 35, 6158, 28955, 19841, 26250, 38678, 11050, 21582, 10430, 22196, 34 ]
Mideast region host University of Tennessee is in what state?
SELECT "State" FROM table_40695 WHERE "Region" = 'mideast' AND "Host" = 'university of tennessee'
[ 44, 485, 459, 3814, 2583, 2059, 286, 11287, 318, 287, 644, 1181, 30, 46506, 366, 9012, 1, 16034, 3084, 62, 1821, 37381, 33411, 366, 47371, 1, 796, 705, 76, 485, 459, 6, 5357, 366, 17932, 1, 796, 705, 403, 1608, 286, 256, 1697, 107...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 44, 485, 459, 3814, 2583, 2059, 286, 11287, 318, 287, 644, 1181, 30, 46506, 366, 9012, 1, 16034, 3084, 62, 1821, 37381, 33411, 366, 47371, 1, 796, 705, 76, 485, 459, 6, 5357, 366, 17932, 1, 796, 705, 403, 1608, 286, 256, 1697, 107...
flights from BALTIMORE to WASHINGTON
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, flight WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'BALTIMORE' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'WASH...
[ 2704, 2337, 422, 347, 31429, 3955, 6965, 284, 370, 19436, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2704, 2337, 422, 347, 31429, 3955, 6965, 284, 370, 19436, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, ...
how many days have passed since the first time that patient 97330 has received a red blood cells laboratory test in the current hospital encounter?
SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', labevents.charttime)) FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'red blood cells') AND labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 97330 AND adm...
[ 4919, 867, 1528, 423, 3804, 1201, 262, 717, 640, 326, 5827, 860, 4790, 1270, 468, 2722, 257, 2266, 2910, 4778, 14010, 1332, 287, 262, 1459, 4436, 8791, 30, 46506, 352, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 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...
[ 4919, 867, 1528, 423, 3804, 1201, 262, 717, 640, 326, 5827, 860, 4790, 1270, 468, 2722, 257, 2266, 2910, 4778, 14010, 1332, 287, 262, 1459, 4436, 8791, 30, 46506, 352, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62,...
What is Nationality, when Round is 6?
SELECT nationality FROM table_name_5 WHERE round = 6
[ 2061, 318, 2351, 414, 11, 618, 10485, 318, 718, 30, 46506, 29835, 16034, 3084, 62, 3672, 62, 20, 33411, 2835, 796, 718 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 2351, 414, 11, 618, 10485, 318, 718, 30, 46506, 29835, 16034, 3084, 62, 3672, 62, 20, 33411, 2835, 796, 718 ]
what is the name of the graemest guest of episode 1x03
SELECT "Graemes guest" FROM table_1687 WHERE "Episode" = '1x03'
[ 10919, 318, 262, 1438, 286, 262, 7933, 368, 395, 8319, 286, 4471, 352, 87, 3070, 46506, 366, 46971, 368, 274, 8319, 1, 16034, 3084, 62, 1433, 5774, 33411, 366, 23758, 1, 796, 705, 16, 87, 3070, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 1438, 286, 262, 7933, 368, 395, 8319, 286, 4471, 352, 87, 3070, 46506, 366, 46971, 368, 274, 8319, 1, 16034, 3084, 62, 1433, 5774, 33411, 366, 23758, 1, 796, 705, 16, 87, 3070, 6 ]
What is the sum of state champions with more tan 9 MRC Championships, more than 4 co-champions, and a record of 192-189-3?
SELECT SUM("State Champions") FROM table_5740 WHERE "MRC Championships" > '9' AND "Records" = '192-189-3' AND "Co-Champions" > '4'
[ 2061, 318, 262, 2160, 286, 1181, 7827, 351, 517, 25706, 860, 337, 7397, 24782, 11, 517, 621, 604, 763, 12, 354, 4350, 11, 290, 257, 1700, 286, 17817, 12, 23362, 12, 18, 30, 46506, 35683, 7203, 9012, 6662, 4943, 16034, 3084, 62, 3553...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1181, 7827, 351, 517, 25706, 860, 337, 7397, 24782, 11, 517, 621, 604, 763, 12, 354, 4350, 11, 290, 257, 1700, 286, 17817, 12, 23362, 12, 18, 30, 46506, 35683, 7203, 9012, 6662, 4943, 16034, 3084, 62, 3553...
Which Tournament has an Opponent of meike babel?
SELECT tournament FROM table_name_92 WHERE opponent = "meike babel"
[ 13828, 9595, 468, 281, 9385, 3471, 286, 502, 522, 9289, 417, 30, 46506, 7756, 16034, 3084, 62, 3672, 62, 5892, 33411, 6125, 796, 366, 1326, 522, 9289, 417, 1 ]
[ 1, 1, 1, 1, 1, 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, 9595, 468, 281, 9385, 3471, 286, 502, 522, 9289, 417, 30, 46506, 7756, 16034, 3084, 62, 3672, 62, 5892, 33411, 6125, 796, 366, 1326, 522, 9289, 417, 1 ]
Who held the pole position in misano world circuit?
SELECT "Pole Position" FROM table_25961 WHERE "Circuit" = 'Misano World Circuit'
[ 8241, 2714, 262, 16825, 2292, 287, 2984, 5733, 995, 10349, 30, 46506, 366, 47, 2305, 23158, 1, 16034, 3084, 62, 1495, 4846, 16, 33411, 366, 31560, 5013, 1, 796, 705, 31281, 5733, 2159, 13588, 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 ]
[ 8241, 2714, 262, 16825, 2292, 287, 2984, 5733, 995, 10349, 30, 46506, 366, 47, 2305, 23158, 1, 16034, 3084, 62, 1495, 4846, 16, 33411, 366, 31560, 5013, 1, 796, 705, 31281, 5733, 2159, 13588, 6 ]
Name the least date for the place which has a building of victoria hall
SELECT MIN(date) FROM table_name_37 WHERE building = "victoria hall"
[ 5376, 262, 1551, 3128, 329, 262, 1295, 543, 468, 257, 2615, 286, 2210, 7661, 6899, 46506, 20625, 7, 4475, 8, 16034, 3084, 62, 3672, 62, 2718, 33411, 2615, 796, 366, 32433, 7661, 6899, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1551, 3128, 329, 262, 1295, 543, 468, 257, 2615, 286, 2210, 7661, 6899, 46506, 20625, 7, 4475, 8, 16034, 3084, 62, 3672, 62, 2718, 33411, 2615, 796, 366, 32433, 7661, 6899, 1 ]
Who was the score composer of the film released in 1967?
SELECT "Score composer" FROM table_15009 WHERE "Year" = '1967'
[ 8241, 373, 262, 4776, 26777, 286, 262, 2646, 2716, 287, 15904, 30, 46506, 366, 26595, 26777, 1, 16034, 3084, 62, 1314, 28694, 33411, 366, 17688, 1, 796, 705, 42830, 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 ]
[ 8241, 373, 262, 4776, 26777, 286, 262, 2646, 2716, 287, 15904, 30, 46506, 366, 26595, 26777, 1, 16034, 3084, 62, 1314, 28694, 33411, 366, 17688, 1, 796, 705, 42830, 6 ]
provide the number of patients on sodium citrate 4% medication prescription who are less than 72 years of age.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.age < "72" AND prescriptions.drug = "Sodium CITRATE 4%"
[ 15234, 485, 262, 1271, 286, 3871, 319, 21072, 15433, 4873, 604, 4, 14103, 15077, 508, 389, 1342, 621, 7724, 812, 286, 2479, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 319, 21072, 15433, 4873, 604, 4, 14103, 15077, 508, 389, 1342, 621, 7724, 812, 286, 2479, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357...
Name the population 2000 census for 77 area
SELECT "Population 2000 Census" FROM table_19776 WHERE "Area (km\u00b2)" = '77'
[ 5376, 262, 3265, 4751, 21649, 329, 8541, 1989, 46506, 366, 45251, 4751, 20962, 1, 16034, 3084, 62, 37781, 21, 33411, 366, 30547, 357, 13276, 59, 84, 405, 65, 17, 16725, 796, 705, 3324, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 3265, 4751, 21649, 329, 8541, 1989, 46506, 366, 45251, 4751, 20962, 1, 16034, 3084, 62, 37781, 21, 33411, 366, 30547, 357, 13276, 59, 84, 405, 65, 17, 16725, 796, 705, 3324, 6 ]
Which years did the Tampa Bay Storm win the Championships?
SELECT "Championships (Years)" FROM table_69848 WHERE "Club" = 'tampa bay storm'
[ 13828, 812, 750, 262, 15528, 4696, 8865, 1592, 262, 24782, 30, 46506, 366, 1925, 4350, 5748, 357, 40630, 16725, 16034, 3084, 62, 39357, 2780, 33411, 366, 42350, 1, 796, 705, 83, 13299, 15489, 6388, 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 ]
[ 13828, 812, 750, 262, 15528, 4696, 8865, 1592, 262, 24782, 30, 46506, 366, 1925, 4350, 5748, 357, 40630, 16725, 16034, 3084, 62, 39357, 2780, 33411, 366, 42350, 1, 796, 705, 83, 13299, 15489, 6388, 6 ]
How many sections does course ACCT-211 has?
SELECT COUNT(DISTINCT class_section) FROM class WHERE crs_code = 'ACCT-211'
[ 2437, 867, 9004, 857, 1781, 15859, 51, 12, 21895, 468, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 1398, 62, 5458, 8, 16034, 1398, 33411, 1067, 82, 62, 8189, 796, 705, 2246, 4177, 12, 21895, 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, 9004, 857, 1781, 15859, 51, 12, 21895, 468, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 1398, 62, 5458, 8, 16034, 1398, 33411, 1067, 82, 62, 8189, 796, 705, 2246, 4177, 12, 21895, 6 ]
the number of patients in ward 14?
SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE admissions.hadm_id IN (SELECT transfers.hadm_id FROM transfers WHERE transfers.wardid = 14)
[ 1169, 1271, 286, 3871, 287, 15305, 1478, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 25349, 13, 32796, 62, 312, 8, 16034, 25349, 33411, 25349, 13, 18108, 76, 62, 312, 3268, 357, 46506, 16395, 13, 18108, 76, 62, 312, 16034, 16395, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1169, 1271, 286, 3871, 287, 15305, 1478, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 25349, 13, 32796, 62, 312, 8, 16034, 25349, 33411, 25349, 13, 18108, 76, 62, 312, 3268, 357, 46506, 16395, 13, 18108, 76, 62, 312, 16034, 16395, ...
known hypersensitivity to perflutren ( contained in definity )
SELECT * FROM table_train_195 WHERE allergy_to_perflutren = 1
[ 4002, 45086, 40545, 284, 583, 2704, 315, 918, 357, 7763, 287, 2730, 414, 1267, 46506, 1635, 16034, 3084, 62, 27432, 62, 22186, 33411, 36197, 62, 1462, 62, 525, 2704, 315, 918, 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, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4002, 45086, 40545, 284, 583, 2704, 315, 918, 357, 7763, 287, 2730, 414, 1267, 46506, 1635, 16034, 3084, 62, 27432, 62, 22186, 33411, 36197, 62, 1462, 62, 525, 2704, 315, 918, 796, 352 ]
how many patients are admitted in location transfer within this facility and are born before 2138?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_location = "TRSF WITHIN THIS FACILITY" AND demographic.dob_year < "2138"
[ 4919, 867, 3871, 389, 6848, 287, 4067, 4351, 1626, 428, 6841, 290, 389, 4642, 878, 362, 20107, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, 24886, 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...
[ 4919, 867, 3871, 389, 6848, 287, 4067, 4351, 1626, 428, 6841, 290, 389, 4642, 878, 362, 20107, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, 24886, 796, ...
Return the dates of birth for entrepreneurs who have either the investor Simon Woodroffe or Peter Jones, and count them by a line chart, sort by the Date_of_Birth in desc.
SELECT Date_of_Birth, COUNT(Date_of_Birth) FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID WHERE T1.Investor = "Simon Woodroffe" OR T1.Investor = "Peter Jones" ORDER BY Date_of_Birth DESC
[ 13615, 262, 9667, 286, 4082, 329, 17038, 508, 423, 2035, 262, 15811, 11288, 5326, 305, 16658, 393, 5613, 5437, 11, 290, 954, 606, 416, 257, 1627, 8262, 11, 3297, 416, 262, 7536, 62, 1659, 62, 38480, 287, 1715, 13, 46506, 7536, 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...
[ 13615, 262, 9667, 286, 4082, 329, 17038, 508, 423, 2035, 262, 15811, 11288, 5326, 305, 16658, 393, 5613, 5437, 11, 290, 954, 606, 416, 257, 1627, 8262, 11, 3297, 416, 262, 7536, 62, 1659, 62, 38480, 287, 1715, 13, 46506, 7536, 62, 1...
Where is the Westfield State University located?
SELECT "Location" FROM table_23258 WHERE "Institution" = 'Westfield State University'
[ 8496, 318, 262, 2688, 3245, 1812, 2059, 5140, 30, 46506, 366, 14749, 1, 16034, 3084, 62, 1954, 25600, 33411, 366, 6310, 2738, 1, 796, 705, 15045, 3245, 1812, 2059, 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 ]
[ 8496, 318, 262, 2688, 3245, 1812, 2059, 5140, 30, 46506, 366, 14749, 1, 16034, 3084, 62, 1954, 25600, 33411, 366, 6310, 2738, 1, 796, 705, 15045, 3245, 1812, 2059, 6 ]
count the number of married patients who died in or before 2112.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.marital_status = "MARRIED" AND demographic.dod_year <= "2112.0"
[ 9127, 262, 1271, 286, 6405, 3871, 508, 3724, 287, 393, 878, 2310, 1065, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 3876, 1287, 62, 13376, 796, 366, 40569, 7112, 1961, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6405, 3871, 508, 3724, 287, 393, 878, 2310, 1065, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 3876, 1287, 62, 13376, 796, 366, 40569, 7112, 1961, ...
Find the number of employees of each gender whose salary is lower than 50000 Visualize by bar chart, could you rank in descending by the Sex?
SELECT Sex, COUNT(*) FROM employee WHERE Salary < 50000 GROUP BY Sex ORDER BY Sex DESC
[ 16742, 262, 1271, 286, 4409, 286, 1123, 5279, 3025, 9588, 318, 2793, 621, 642, 2388, 15612, 1096, 416, 2318, 8262, 11, 714, 345, 4279, 287, 31491, 416, 262, 14419, 30, 46506, 14419, 11, 327, 28270, 7, 28104, 16034, 6538, 33411, 46860, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16742, 262, 1271, 286, 4409, 286, 1123, 5279, 3025, 9588, 318, 2793, 621, 642, 2388, 15612, 1096, 416, 2318, 8262, 11, 714, 345, 4279, 287, 31491, 416, 262, 14419, 30, 46506, 14419, 11, 327, 28270, 7, 28104, 16034, 6538, 33411, 46860, ...
Name the rank for mikey and melanie
SELECT "Rank" FROM table_28646 WHERE "Couple" = 'Mikey and Melanie'
[ 5376, 262, 4279, 329, 285, 522, 88, 290, 7758, 34166, 46506, 366, 27520, 1, 16034, 3084, 62, 2078, 27720, 33411, 366, 34, 43846, 1, 796, 705, 16073, 88, 290, 49872, 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 ]
[ 5376, 262, 4279, 329, 285, 522, 88, 290, 7758, 34166, 46506, 366, 27520, 1, 16034, 3084, 62, 2078, 27720, 33411, 366, 34, 43846, 1, 796, 705, 16073, 88, 290, 49872, 6 ]
When was the audio book with target number 069 69 released?
SELECT "Release Date" FROM table_23577 WHERE "Target #" = '069 69'
[ 2215, 373, 262, 6597, 1492, 351, 2496, 1271, 657, 3388, 8644, 2716, 30, 46506, 366, 26362, 7536, 1, 16034, 3084, 62, 22370, 3324, 33411, 366, 21745, 1303, 1, 796, 705, 3312, 24, 8644, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 373, 262, 6597, 1492, 351, 2496, 1271, 657, 3388, 8644, 2716, 30, 46506, 366, 26362, 7536, 1, 16034, 3084, 62, 22370, 3324, 33411, 366, 21745, 1303, 1, 796, 705, 3312, 24, 8644, 6 ]
Which Place has a Score larger than 68, and a Player of david ogrin?
SELECT place FROM table_name_63 WHERE score > 68 AND player = "david ogrin"
[ 13828, 8474, 468, 257, 15178, 4025, 621, 8257, 11, 290, 257, 7853, 286, 21970, 267, 2164, 259, 30, 46506, 1295, 16034, 3084, 62, 3672, 62, 5066, 33411, 4776, 1875, 8257, 5357, 2137, 796, 366, 67, 8490, 267, 2164, 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 ]
[ 13828, 8474, 468, 257, 15178, 4025, 621, 8257, 11, 290, 257, 7853, 286, 21970, 267, 2164, 259, 30, 46506, 1295, 16034, 3084, 62, 3672, 62, 5066, 33411, 4776, 1875, 8257, 5357, 2137, 796, 366, 67, 8490, 267, 2164, 259, 1 ]
Find all actors from Italy
SELECT name FROM actor WHERE nationality = 'Italy'
[ 16742, 477, 10544, 422, 8031, 46506, 1438, 16034, 8674, 33411, 29835, 796, 705, 45001, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16742, 477, 10544, 422, 8031, 46506, 1438, 16034, 8674, 33411, 29835, 796, 705, 45001, 6 ]
What was the margin of the match on 19 Jan 2002?
SELECT margin FROM table_22384475_1 WHERE match_date = "19 Jan 2002"
[ 2061, 373, 262, 10330, 286, 262, 2872, 319, 678, 2365, 6244, 30, 46506, 10330, 16034, 3084, 62, 1828, 2548, 2598, 2425, 62, 16, 33411, 2872, 62, 4475, 796, 366, 1129, 2365, 6244, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10330, 286, 262, 2872, 319, 678, 2365, 6244, 30, 46506, 10330, 16034, 3084, 62, 1828, 2548, 2598, 2425, 62, 16, 33411, 2872, 62, 4475, 796, 366, 1129, 2365, 6244, 1 ]
what were the top four most frequent diagnoses of the patients of age 50s in the last year?
SELECT d_icd_diagnoses.short_title FROM d_icd_diagnoses WHERE d_icd_diagnoses.icd9_code IN (SELECT t1.icd9_code FROM (SELECT diagnoses_icd.icd9_code, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM diagnoses_icd WHERE diagnoses_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.age BETWEEN...
[ 10919, 547, 262, 1353, 1440, 749, 10792, 40567, 286, 262, 3871, 286, 2479, 2026, 82, 287, 262, 938, 614, 30, 46506, 288, 62, 291, 67, 62, 47356, 4629, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 47356, 4629, 33411, 288, 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...
[ 10919, 547, 262, 1353, 1440, 749, 10792, 40567, 286, 262, 3871, 286, 2479, 2026, 82, 287, 262, 938, 614, 30, 46506, 288, 62, 291, 67, 62, 47356, 4629, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 47356, 4629, 33411, 288, 62, ...
what is the home team when the away team is frickley colliery?
SELECT home_team FROM table_name_17 WHERE away_team = "frickley colliery"
[ 10919, 318, 262, 1363, 1074, 618, 262, 1497, 1074, 318, 1216, 624, 1636, 2927, 23012, 30, 46506, 1363, 62, 15097, 16034, 3084, 62, 3672, 62, 1558, 33411, 1497, 62, 15097, 796, 366, 69, 5557, 1636, 2927, 23012, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1363, 1074, 618, 262, 1497, 1074, 318, 1216, 624, 1636, 2927, 23012, 30, 46506, 1363, 62, 15097, 16034, 3084, 62, 3672, 62, 1558, 33411, 1497, 62, 15097, 796, 366, 69, 5557, 1636, 2927, 23012, 1 ]
What are the upper level options next semester that do not meet on Friday ?
SELECT DISTINCT course.department, course.name, course.number FROM course, course_offering, program_course, semester WHERE course_offering.friday = 'N' AND course.course_id = course_offering.course_id AND program_course.category LIKE '%ULCS%' AND program_course.course_id = course.course_id AND semester.semester = 'FA' ...
[ 2061, 389, 262, 6727, 1241, 3689, 1306, 24878, 326, 466, 407, 1826, 319, 3217, 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, 1430, 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...
[ 2061, 389, 262, 6727, 1241, 3689, 1306, 24878, 326, 466, 407, 1826, 319, 3217, 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, 1430, 62, ...
What is listed as the highest Nominal GDP World Bank, 2009 (million USD) that has a GDP per capita World Bank, 2009 nominal (USD) of 14267?
SELECT MAX("Nominal GDP World Bank, 2009 (million USD)") FROM table_63424 WHERE "GDP per capita World Bank, 2009 nominal (USD)" = '14267'
[ 2061, 318, 5610, 355, 262, 4511, 21198, 1292, 12396, 2159, 5018, 11, 3717, 357, 14100, 11403, 8, 326, 468, 257, 12396, 583, 21344, 2159, 5018, 11, 3717, 26934, 357, 29072, 8, 286, 1478, 25674, 30, 46506, 25882, 7203, 45, 296, 1292, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 318, 5610, 355, 262, 4511, 21198, 1292, 12396, 2159, 5018, 11, 3717, 357, 14100, 11403, 8, 326, 468, 257, 12396, 583, 21344, 2159, 5018, 11, 3717, 26934, 357, 29072, 8, 286, 1478, 25674, 30, 46506, 25882, 7203, 45, 296, 1292, 12...
Tell me the north america for september 18, 2009
SELECT "North America" FROM table_32104 WHERE "Europe" = 'september 18, 2009'
[ 24446, 502, 262, 5093, 45630, 64, 329, 384, 457, 1491, 1248, 11, 3717, 46506, 366, 14157, 2253, 1, 16034, 3084, 62, 2624, 13464, 33411, 366, 16112, 1, 796, 705, 325, 457, 1491, 1248, 11, 3717, 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 ]
[ 24446, 502, 262, 5093, 45630, 64, 329, 384, 457, 1491, 1248, 11, 3717, 46506, 366, 14157, 2253, 1, 16034, 3084, 62, 2624, 13464, 33411, 366, 16112, 1, 796, 705, 325, 457, 1491, 1248, 11, 3717, 6 ]
Which Competition has a Venue of Seoul, and Result of 4-1?
SELECT competition FROM table_name_36 WHERE venue = "seoul" AND result = "4-1"
[ 13828, 27348, 468, 257, 9932, 518, 286, 22372, 11, 290, 25414, 286, 604, 12, 16, 30, 46506, 5449, 16034, 3084, 62, 3672, 62, 2623, 33411, 14359, 796, 366, 325, 2852, 1, 5357, 1255, 796, 366, 19, 12, 16, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 27348, 468, 257, 9932, 518, 286, 22372, 11, 290, 25414, 286, 604, 12, 16, 30, 46506, 5449, 16034, 3084, 62, 3672, 62, 2623, 33411, 14359, 796, 366, 325, 2852, 1, 5357, 1255, 796, 366, 19, 12, 16, 1 ]
Name the total number of grounds for essendon
SELECT COUNT("Ground") FROM table_72783 WHERE "Home team" = 'Essendon'
[ 5376, 262, 2472, 1271, 286, 9384, 329, 3209, 43153, 46506, 327, 28270, 7203, 35539, 4943, 16034, 3084, 62, 47760, 5999, 33411, 366, 16060, 1074, 1, 796, 705, 29508, 43153, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 2472, 1271, 286, 9384, 329, 3209, 43153, 46506, 327, 28270, 7203, 35539, 4943, 16034, 3084, 62, 47760, 5999, 33411, 366, 16060, 1074, 1, 796, 705, 29508, 43153, 6 ]
Count the number of different film ratings.
SELECT COUNT(DISTINCT rating) FROM film
[ 12332, 262, 1271, 286, 1180, 2646, 10109, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 7955, 8, 16034, 2646 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 12332, 262, 1271, 286, 1180, 2646, 10109, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 7955, 8, 16034, 2646 ]
What is the class of the translator with 10 ERP W and a call sign of w273bl?
SELECT class FROM table_name_57 WHERE erp_w = 10 AND call_sign = "w273bl"
[ 2061, 318, 262, 1398, 286, 262, 33417, 351, 838, 13793, 47, 370, 290, 257, 869, 1051, 286, 266, 27367, 2436, 30, 46506, 1398, 16034, 3084, 62, 3672, 62, 3553, 33411, 1931, 79, 62, 86, 796, 838, 5357, 869, 62, 12683, 796, 366, 86, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 33417, 351, 838, 13793, 47, 370, 290, 257, 869, 1051, 286, 266, 27367, 2436, 30, 46506, 1398, 16034, 3084, 62, 3672, 62, 3553, 33411, 1931, 79, 62, 86, 796, 838, 5357, 869, 62, 12683, 796, 366, 86, ...
For the names and the players of clubs, count the names by names in a bar chart, list from high to low by the x-axis.
SELECT T1.name, COUNT(T1.name) FROM club AS T1 JOIN player AS T2 ON T1.Club_ID = T2.Club_ID GROUP BY T1.name ORDER BY T1.name DESC
[ 1890, 262, 3891, 290, 262, 1938, 286, 9784, 11, 954, 262, 3891, 416, 3891, 287, 257, 2318, 8262, 11, 1351, 422, 1029, 284, 1877, 416, 262, 2124, 12, 22704, 13, 46506, 309, 16, 13, 3672, 11, 327, 28270, 7, 51, 16, 13, 3672, 8, 16...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 262, 3891, 290, 262, 1938, 286, 9784, 11, 954, 262, 3891, 416, 3891, 287, 257, 2318, 8262, 11, 1351, 422, 1029, 284, 1877, 416, 262, 2124, 12, 22704, 13, 46506, 309, 16, 13, 3672, 11, 327, 28270, 7, 51, 16, 13, 3672, 8, 16...
what flights can i take between BOSTON and ATLANTA so that when i leave BOSTON i will have the maximum amount of time on the ground in ATLANTA and still return in the same day
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, flight WHERE ((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'ATLANTA' AND flight.arrival_time = (SELECT MIN(FLIGHTalias1.arrival_time) FROM airport_s...
[ 10919, 13956, 460, 1312, 1011, 1022, 347, 10892, 1340, 290, 5161, 25697, 5603, 523, 326, 618, 1312, 2666, 347, 10892, 1340, 1312, 481, 423, 262, 5415, 2033, 286, 640, 319, 262, 2323, 287, 5161, 25697, 5603, 290, 991, 1441, 287, 262, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 13956, 460, 1312, 1011, 1022, 347, 10892, 1340, 290, 5161, 25697, 5603, 523, 326, 618, 1312, 2666, 347, 10892, 1340, 1312, 481, 423, 262, 5415, 2033, 286, 640, 319, 262, 2323, 287, 5161, 25697, 5603, 290, 991, 1441, 287, 262, 9...
What was the average crowd size at a game when the away team scored 17.12 (114)?
SELECT AVG("Crowd") FROM table_54185 WHERE "Away team score" = '17.12 (114)'
[ 2061, 373, 262, 2811, 4315, 2546, 379, 257, 983, 618, 262, 1497, 1074, 7781, 1596, 13, 1065, 357, 16562, 19427, 46506, 35224, 7203, 34, 3986, 4943, 16034, 3084, 62, 4051, 21652, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 1558, 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 ]
[ 2061, 373, 262, 2811, 4315, 2546, 379, 257, 983, 618, 262, 1497, 1074, 7781, 1596, 13, 1065, 357, 16562, 19427, 46506, 35224, 7203, 34, 3986, 4943, 16034, 3084, 62, 4051, 21652, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 1558, 13,...
What is the average number of laps that has a Time/Retired of +1 lap, a Driver of olivier panis, and a Grid larger than 4?
SELECT AVG("Laps") FROM table_78406 WHERE "Time/Retired" = '+1 lap' AND "Driver" = 'olivier panis' AND "Grid" > '4'
[ 2061, 318, 262, 2811, 1271, 286, 24590, 326, 468, 257, 3862, 14, 9781, 1202, 286, 1343, 16, 14779, 11, 257, 12434, 286, 267, 16017, 959, 3425, 271, 11, 290, 257, 24846, 4025, 621, 604, 30, 46506, 35224, 7203, 43, 1686, 4943, 16034, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 318, 262, 2811, 1271, 286, 24590, 326, 468, 257, 3862, 14, 9781, 1202, 286, 1343, 16, 14779, 11, 257, 12434, 286, 267, 16017, 959, 3425, 271, 11, 290, 257, 24846, 4025, 621, 604, 30, 46506, 35224, 7203, 43, 1686, 4943, 16034, ...
What was the surface for finalist Justine Henin?
SELECT "Surface" FROM table_76541 WHERE "Finalist" = 'justine henin'
[ 2061, 373, 262, 4417, 329, 2457, 396, 2329, 500, 6752, 259, 30, 46506, 366, 14214, 2550, 1, 16034, 3084, 62, 29143, 3901, 33411, 366, 19006, 396, 1, 796, 705, 3137, 500, 30963, 259, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 4417, 329, 2457, 396, 2329, 500, 6752, 259, 30, 46506, 366, 14214, 2550, 1, 16034, 3084, 62, 29143, 3901, 33411, 366, 19006, 396, 1, 796, 705, 3137, 500, 30963, 259, 6 ]
how many different names are there ?
SELECT COUNT(DISTINCT "name") FROM table_204_618
[ 4919, 867, 1180, 3891, 389, 612, 5633, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 366, 3672, 4943, 16034, 3084, 62, 18638, 62, 47448 ]
[ 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, 1180, 3891, 389, 612, 5633, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 366, 3672, 4943, 16034, 3084, 62, 18638, 62, 47448 ]
What is the number for overall for angelo craig?
SELECT COUNT(overall) FROM table_name_30 WHERE player = "angelo craig"
[ 2061, 318, 262, 1271, 329, 4045, 329, 18304, 78, 15671, 328, 30, 46506, 327, 28270, 7, 2502, 439, 8, 16034, 3084, 62, 3672, 62, 1270, 33411, 2137, 796, 366, 46525, 15671, 328, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1271, 329, 4045, 329, 18304, 78, 15671, 328, 30, 46506, 327, 28270, 7, 2502, 439, 8, 16034, 3084, 62, 3672, 62, 1270, 33411, 2137, 796, 366, 46525, 15671, 328, 1 ]
Who are the reporters for the year of 1984?
SELECT reporters FROM table_22514845_4 WHERE year = 1984
[ 8241, 389, 262, 7638, 329, 262, 614, 286, 12844, 30, 46506, 7638, 16034, 3084, 62, 18182, 18294, 2231, 62, 19, 33411, 614, 796, 12844 ]
[ 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, 389, 262, 7638, 329, 262, 614, 286, 12844, 30, 46506, 7638, 16034, 3084, 62, 18182, 18294, 2231, 62, 19, 33411, 614, 796, 12844 ]
Name the total number of points for 44 game and january more than 15
SELECT COUNT("Points") FROM table_38045 WHERE "Game" = '44' AND "January" > '15'
[ 5376, 262, 2472, 1271, 286, 2173, 329, 5846, 983, 290, 42897, 2838, 517, 621, 1315, 46506, 327, 28270, 7203, 40710, 4943, 16034, 3084, 62, 23734, 2231, 33411, 366, 8777, 1, 796, 705, 2598, 6, 5357, 366, 21339, 1, 1875, 705, 1314, 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 ]
[ 5376, 262, 2472, 1271, 286, 2173, 329, 5846, 983, 290, 42897, 2838, 517, 621, 1315, 46506, 327, 28270, 7203, 40710, 4943, 16034, 3084, 62, 23734, 2231, 33411, 366, 8777, 1, 796, 705, 2598, 6, 5357, 366, 21339, 1, 1875, 705, 1314, 6 ]
since 11/02/2103, what was the monthly average dose of enteral jevity1.2 of patient 006-254232?
SELECT AVG(intakeoutput.cellvaluenumeric) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-254232')) AND intakeoutput.celllabel = 'ente...
[ 20777, 1367, 14, 2999, 14, 17, 15197, 11, 644, 373, 262, 9651, 2811, 10742, 286, 920, 1691, 474, 1990, 414, 16, 13, 17, 286, 5827, 3571, 21, 12, 24970, 24339, 30, 46506, 35224, 7, 600, 539, 22915, 13, 3846, 2100, 84, 268, 39223, 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...
[ 20777, 1367, 14, 2999, 14, 17, 15197, 11, 644, 373, 262, 9651, 2811, 10742, 286, 920, 1691, 474, 1990, 414, 16, 13, 17, 286, 5827, 3571, 21, 12, 24970, 24339, 30, 46506, 35224, 7, 600, 539, 22915, 13, 3846, 2100, 84, 268, 39223, 8...
What 1997 has grand slams for the 1999?
SELECT 1997 FROM table_name_23 WHERE 1999 = "grand slams"
[ 2061, 8309, 468, 4490, 45846, 329, 262, 7358, 30, 46506, 8309, 16034, 3084, 62, 3672, 62, 1954, 33411, 7358, 796, 366, 23936, 45846, 1 ]
[ 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, 8309, 468, 4490, 45846, 329, 262, 7358, 30, 46506, 8309, 16034, 3084, 62, 3672, 62, 1954, 33411, 7358, 796, 366, 23936, 45846, 1 ]
How many papers did Noah Smith publish in 2010 ?
SELECT DISTINCT COUNT(writes.paperid) FROM author, paper, writes WHERE author.authorname = 'Noah Smith' AND paper.year = 2010 AND writes.authorid = author.authorid AND writes.paperid = paper.paperid
[ 2437, 867, 9473, 750, 18394, 4176, 7715, 287, 3050, 5633, 46506, 360, 8808, 1268, 4177, 327, 28270, 7, 8933, 274, 13, 20189, 312, 8, 16034, 1772, 11, 3348, 11, 6797, 33411, 1772, 13, 18439, 1211, 480, 796, 705, 2949, 993, 4176, 6, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9473, 750, 18394, 4176, 7715, 287, 3050, 5633, 46506, 360, 8808, 1268, 4177, 327, 28270, 7, 8933, 274, 13, 20189, 312, 8, 16034, 1772, 11, 3348, 11, 6797, 33411, 1772, 13, 18439, 1211, 480, 796, 705, 2949, 993, 4176, 6, 5...
How many were in attendance on October 27, 1963?
SELECT MAX(attendance) FROM table_name_33 WHERE date = "october 27, 1963"
[ 2437, 867, 547, 287, 14858, 319, 3267, 2681, 11, 19342, 30, 46506, 25882, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 2091, 33411, 3128, 796, 366, 38441, 2023, 2681, 11, 19342, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 547, 287, 14858, 319, 3267, 2681, 11, 19342, 30, 46506, 25882, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 2091, 33411, 3128, 796, 366, 38441, 2023, 2681, 11, 19342, 1 ]
first time patient 26156 got surgery until 2104?
SELECT procedures_icd.charttime FROM procedures_icd WHERE procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 26156) AND STRFTIME('%y', procedures_icd.charttime) <= '2104' ORDER BY procedures_icd.charttime LIMIT 1
[ 11085, 640, 5827, 2608, 21599, 1392, 8185, 1566, 362, 13464, 30, 46506, 9021, 62, 291, 67, 13, 40926, 2435, 16034, 9021, 62, 291, 67, 33411, 9021, 62, 291, 67, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 11085, 640, 5827, 2608, 21599, 1392, 8185, 1566, 362, 13464, 30, 46506, 9021, 62, 291, 67, 13, 40926, 2435, 16034, 9021, 62, 291, 67, 33411, 9021, 62, 291, 67, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312,...
Deleted users with large number of posts.
SELECT p.OwnerDisplayName, COUNT(p.Id) FROM Posts AS p WHERE NOT p.OwnerDisplayName IS NULL AND p.PostTypeId IN (1, 2) GROUP BY p.OwnerDisplayName ORDER BY COUNT(p.Id) DESC
[ 5005, 33342, 2985, 351, 1588, 1271, 286, 6851, 13, 46506, 279, 13, 42419, 23114, 5376, 11, 327, 28270, 7, 79, 13, 7390, 8, 16034, 12043, 7054, 279, 33411, 5626, 279, 13, 42419, 23114, 5376, 3180, 15697, 5357, 279, 13, 6307, 6030, 7390...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 5005, 33342, 2985, 351, 1588, 1271, 286, 6851, 13, 46506, 279, 13, 42419, 23114, 5376, 11, 327, 28270, 7, 79, 13, 7390, 8, 16034, 12043, 7054, 279, 33411, 5626, 279, 13, 42419, 23114, 5376, 3180, 15697, 5357, 279, 13, 6307, 6030, 7390...
What were the guests that aired on 7 June 2010?
SELECT guests FROM table_26733129_1 WHERE air_date = "7 June 2010"
[ 2061, 547, 262, 10650, 326, 18530, 319, 767, 2795, 3050, 30, 46506, 10650, 16034, 3084, 62, 25674, 2091, 18741, 62, 16, 33411, 1633, 62, 4475, 796, 366, 22, 2795, 3050, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 547, 262, 10650, 326, 18530, 319, 767, 2795, 3050, 30, 46506, 10650, 16034, 3084, 62, 25674, 2091, 18741, 62, 16, 33411, 1633, 62, 4475, 796, 366, 22, 2795, 3050, 1 ]
Who has points larger than 167.5?
SELECT "Name" FROM table_77826 WHERE "Points" > '167.5'
[ 8241, 468, 2173, 4025, 621, 26118, 13, 20, 30, 46506, 366, 5376, 1, 16034, 3084, 62, 39761, 2075, 33411, 366, 40710, 1, 1875, 705, 21940, 13, 20, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 468, 2173, 4025, 621, 26118, 13, 20, 30, 46506, 366, 5376, 1, 16034, 3084, 62, 39761, 2075, 33411, 366, 40710, 1, 1875, 705, 21940, 13, 20, 6 ]
when was the first time patient 033-42758 got prescribed for pantoprazole 40 mg iv recon soln and meropenem 500 mg iv solr at the same time in 11/2104?
SELECT t1.drugstarttime FROM (SELECT patient.uniquepid, medication.drugstarttime FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid WHERE medication.drugname = 'pantoprazole 40 mg iv recon soln' AND patient.uniquepid = '033-42758' AND STRFTIME('%y-%m', medication.drugstarttime) = '...
[ 12518, 373, 262, 717, 640, 5827, 657, 2091, 12, 42363, 3365, 1392, 14798, 329, 15857, 404, 3247, 2305, 2319, 10527, 21628, 8195, 1540, 77, 290, 4017, 9654, 368, 5323, 10527, 21628, 1540, 81, 379, 262, 976, 640, 287, 1367, 14, 17, 1346...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 657, 2091, 12, 42363, 3365, 1392, 14798, 329, 15857, 404, 3247, 2305, 2319, 10527, 21628, 8195, 1540, 77, 290, 4017, 9654, 368, 5323, 10527, 21628, 1540, 81, 379, 262, 976, 640, 287, 1367, 14, 17, 1346...
list the top four most frequent lab tests that were given to patients in the same month after they were diagnosed with meth resis staph carrier until 3 years ago.
SELECT d_labitems.label FROM d_labitems WHERE d_labitems.itemid IN (SELECT t3.itemid FROM (SELECT t2.itemid, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE diagnoses_icd.i...
[ 4868, 262, 1353, 1440, 749, 10792, 2248, 5254, 326, 547, 1813, 284, 3871, 287, 262, 976, 1227, 706, 484, 547, 14641, 351, 11248, 581, 271, 336, 6570, 11920, 1566, 513, 812, 2084, 13, 46506, 288, 62, 23912, 23814, 13, 18242, 16034, 288...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4868, 262, 1353, 1440, 749, 10792, 2248, 5254, 326, 547, 1813, 284, 3871, 287, 262, 976, 1227, 706, 484, 547, 14641, 351, 11248, 581, 271, 336, 6570, 11920, 1566, 513, 812, 2084, 13, 46506, 288, 62, 23912, 23814, 13, 18242, 16034, 288...
when did patient 10624 receive a neutrophils lab test, the first time, in 12/2105?
SELECT labevents.charttime FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'neutrophils') AND labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 10624) AND STRFTIME('%y-%m', labevents.charttime) = '2105-12' ORDER BY l...
[ 12518, 750, 5827, 15696, 1731, 3328, 257, 22190, 10051, 4487, 2248, 1332, 11, 262, 717, 640, 11, 287, 1105, 14, 17, 13348, 30, 46506, 2248, 31534, 13, 40926, 2435, 16034, 2248, 31534, 33411, 2248, 31534, 13, 9186, 312, 3268, 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...
[ 12518, 750, 5827, 15696, 1731, 3328, 257, 22190, 10051, 4487, 2248, 1332, 11, 262, 717, 640, 11, 287, 1105, 14, 17, 13348, 30, 46506, 2248, 31534, 13, 40926, 2435, 16034, 2248, 31534, 33411, 2248, 31534, 13, 9186, 312, 3268, 357, 46506,...
What team has a year listed of 2008?
SELECT "Team" FROM table_32973 WHERE "Year" = '2008'
[ 2061, 1074, 468, 257, 614, 5610, 286, 3648, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 37967, 4790, 33411, 366, 17688, 1, 796, 705, 11528, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1074, 468, 257, 614, 5610, 286, 3648, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 37967, 4790, 33411, 366, 17688, 1, 796, 705, 11528, 6 ]
On what circuit was the City of Ipswich 400 race held?
SELECT "Circuit" FROM table_19076 WHERE "Race Title" = 'City of Ipswich 400'
[ 2202, 644, 10349, 373, 262, 2254, 286, 47177, 11451, 7337, 3234, 2714, 30, 46506, 366, 31560, 5013, 1, 16034, 3084, 62, 1129, 2998, 21, 33411, 366, 35157, 11851, 1, 796, 705, 14941, 286, 47177, 11451, 7337, 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 ]
[ 2202, 644, 10349, 373, 262, 2254, 286, 47177, 11451, 7337, 3234, 2714, 30, 46506, 366, 31560, 5013, 1, 16034, 3084, 62, 1129, 2998, 21, 33411, 366, 35157, 11851, 1, 796, 705, 14941, 286, 47177, 11451, 7337, 6 ]
Who is the lyricist for the song with a length of 3:05?
SELECT "Lyricist" FROM table_107 WHERE "Length" = '3:05'
[ 8241, 318, 262, 43086, 396, 329, 262, 3496, 351, 257, 4129, 286, 513, 25, 2713, 30, 46506, 366, 31633, 1173, 396, 1, 16034, 3084, 62, 15982, 33411, 366, 24539, 1, 796, 705, 18, 25, 2713, 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 ]
[ 8241, 318, 262, 43086, 396, 329, 262, 3496, 351, 257, 4129, 286, 513, 25, 2713, 30, 46506, 366, 31633, 1173, 396, 1, 16034, 3084, 62, 15982, 33411, 366, 24539, 1, 796, 705, 18, 25, 2713, 6 ]
Show weight from each date of birth, list X in desc order.
SELECT Date_of_Birth, Weight FROM people ORDER BY Date_of_Birth DESC
[ 15307, 3463, 422, 1123, 3128, 286, 4082, 11, 1351, 1395, 287, 1715, 1502, 13, 46506, 7536, 62, 1659, 62, 38480, 11, 14331, 16034, 661, 38678, 11050, 7536, 62, 1659, 62, 38480, 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 ]
[ 15307, 3463, 422, 1123, 3128, 286, 4082, 11, 1351, 1395, 287, 1715, 1502, 13, 46506, 7536, 62, 1659, 62, 38480, 11, 14331, 16034, 661, 38678, 11050, 7536, 62, 1659, 62, 38480, 22196, 34 ]
What is the number of each allergie type that the student with first name Lisa has? Visualize by bar chart, and order x axis from high to low order.
SELECT AllergyType, COUNT(AllergyType) FROM Allergy_Type AS T1 JOIN Has_Allergy AS T2 ON T1.Allergy = T2.Allergy JOIN Student AS T3 ON T3.StuID = T2.StuID WHERE T3.Fname = "Lisa" GROUP BY AllergyType ORDER BY AllergyType DESC
[ 2061, 318, 262, 1271, 286, 1123, 30975, 494, 2099, 326, 262, 3710, 351, 717, 1438, 15378, 468, 30, 15612, 1096, 416, 2318, 8262, 11, 290, 1502, 2124, 16488, 422, 1029, 284, 1877, 1502, 13, 46506, 1439, 26079, 6030, 11, 327, 28270, 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...
[ 2061, 318, 262, 1271, 286, 1123, 30975, 494, 2099, 326, 262, 3710, 351, 717, 1438, 15378, 468, 30, 15612, 1096, 416, 2318, 8262, 11, 290, 1502, 2124, 16488, 422, 1029, 284, 1877, 1502, 13, 46506, 1439, 26079, 6030, 11, 327, 28270, 7, ...
What was the highest number of attendance in a week before 8 and game on October 25, 1981?
SELECT MAX("Attendance") FROM table_77186 WHERE "Date" = 'october 25, 1981' AND "Week" < '8'
[ 2061, 373, 262, 4511, 1271, 286, 14858, 287, 257, 1285, 878, 807, 290, 983, 319, 3267, 1679, 11, 14745, 30, 46506, 25882, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 3324, 25096, 33411, 366, 10430, 1, 796, 705, 38441, 2023, 1679, 11,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 4511, 1271, 286, 14858, 287, 257, 1285, 878, 807, 290, 983, 319, 3267, 1679, 11, 14745, 30, 46506, 25882, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 3324, 25096, 33411, 366, 10430, 1, 796, 705, 38441, 2023, 1679, 11,...
What was the name of the home team playing at the Junction Oval venue?
SELECT "Home team" FROM table_52176 WHERE "Venue" = 'junction oval'
[ 2061, 373, 262, 1438, 286, 262, 1363, 1074, 2712, 379, 262, 44410, 25165, 14359, 30, 46506, 366, 16060, 1074, 1, 16034, 3084, 62, 4309, 24096, 33411, 366, 37522, 518, 1, 796, 705, 73, 4575, 41186, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 1438, 286, 262, 1363, 1074, 2712, 379, 262, 44410, 25165, 14359, 30, 46506, 366, 16060, 1074, 1, 16034, 3084, 62, 4309, 24096, 33411, 366, 37522, 518, 1, 796, 705, 73, 4575, 41186, 6 ]
Which band plays Self Versus Self - Immersion?
SELECT "Band" FROM table_71927 WHERE "Album or Song" = 'self versus self - immersion'
[ 13828, 4097, 5341, 12189, 44079, 12189, 532, 9543, 6900, 30, 46506, 366, 31407, 1, 16034, 3084, 62, 22, 1129, 1983, 33411, 366, 2348, 4435, 393, 10940, 1, 796, 705, 944, 9051, 2116, 532, 36375, 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 ]
[ 13828, 4097, 5341, 12189, 44079, 12189, 532, 9543, 6900, 30, 46506, 366, 31407, 1, 16034, 3084, 62, 22, 1129, 1983, 33411, 366, 2348, 4435, 393, 10940, 1, 796, 705, 944, 9051, 2116, 532, 36375, 6 ]
What horse was shown by with Britta N pel and got less than 71.909?
SELECT "Horse" FROM table_13947 WHERE "Athlete" = 'britta näpel' AND "Result" < '71.909'
[ 2061, 8223, 373, 3402, 416, 351, 26036, 64, 399, 16176, 290, 1392, 1342, 621, 9166, 13, 44675, 30, 46506, 366, 39, 7615, 1, 16034, 3084, 62, 20219, 2857, 33411, 366, 32, 400, 5807, 1, 796, 705, 1671, 48519, 299, 11033, 30242, 6, 535...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8223, 373, 3402, 416, 351, 26036, 64, 399, 16176, 290, 1392, 1342, 621, 9166, 13, 44675, 30, 46506, 366, 39, 7615, 1, 16034, 3084, 62, 20219, 2857, 33411, 366, 32, 400, 5807, 1, 796, 705, 1671, 48519, 299, 11033, 30242, 6, 535...
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, give me the comparison about the sum of manager_id over the hire_date bin hire_date by time, and could you list by the total number in asc?
SELECT HIRE_DATE, SUM(MANAGER_ID) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 ORDER BY SUM(MANAGER_ID)
[ 1890, 883, 4409, 3025, 9588, 318, 287, 262, 2837, 286, 38055, 290, 1105, 830, 290, 5810, 318, 407, 9242, 393, 5011, 1271, 857, 407, 4961, 284, 2319, 11, 1577, 502, 262, 7208, 546, 262, 2160, 286, 4706, 62, 312, 625, 262, 11078, 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...
[ 1890, 883, 4409, 3025, 9588, 318, 287, 262, 2837, 286, 38055, 290, 1105, 830, 290, 5810, 318, 407, 9242, 393, 5011, 1271, 857, 407, 4961, 284, 2319, 11, 1577, 502, 262, 7208, 546, 262, 2160, 286, 4706, 62, 312, 625, 262, 11078, 62, ...
Which Channel has an Aspect of 4:3 and a Programming of me-tv?
SELECT "Channel" FROM table_8257 WHERE "Aspect" = '4:3' AND "Programming" = 'me-tv'
[ 13828, 11102, 468, 281, 1081, 806, 286, 604, 25, 18, 290, 257, 30297, 286, 502, 12, 14981, 30, 46506, 366, 29239, 1, 16034, 3084, 62, 23, 28676, 33411, 366, 1722, 806, 1, 796, 705, 19, 25, 18, 6, 5357, 366, 15167, 2229, 1, 796, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 11102, 468, 281, 1081, 806, 286, 604, 25, 18, 290, 257, 30297, 286, 502, 12, 14981, 30, 46506, 366, 29239, 1, 16034, 3084, 62, 23, 28676, 33411, 366, 1722, 806, 1, 796, 705, 19, 25, 18, 6, 5357, 366, 15167, 2229, 1, 796, ...
Tell me the date for dinah pfizenmaier anna zaja and winner
SELECT date FROM table_name_46 WHERE outcome = "winner" AND opponents = "dinah pfizenmaier anna zaja"
[ 24446, 502, 262, 3128, 329, 16278, 993, 279, 69, 33977, 2611, 959, 1529, 64, 1976, 27792, 290, 8464, 46506, 3128, 16034, 3084, 62, 3672, 62, 3510, 33411, 8055, 796, 366, 39791, 1, 5357, 7691, 796, 366, 25194, 993, 279, 69, 33977, 2611...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3128, 329, 16278, 993, 279, 69, 33977, 2611, 959, 1529, 64, 1976, 27792, 290, 8464, 46506, 3128, 16034, 3084, 62, 3672, 62, 3510, 33411, 8055, 796, 366, 39791, 1, 5357, 7691, 796, 366, 25194, 993, 279, 69, 33977, 2611...
what was the organism found in the last test of sputum, expectorated microbiology of patient 025-44495 in 12/this year?
SELECT microlab.organism FROM microlab WHERE microlab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '025-44495')) AND microlab.culturesite = 'sputum, expectorated' AND DATETI...
[ 10919, 373, 262, 26433, 1043, 287, 262, 938, 1332, 286, 599, 315, 388, 11, 1607, 273, 515, 24559, 1435, 286, 5827, 657, 1495, 12, 2598, 33781, 287, 1105, 14, 5661, 614, 30, 46506, 4580, 23912, 13, 9971, 1042, 16034, 4580, 23912, 33411...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 26433, 1043, 287, 262, 938, 1332, 286, 599, 315, 388, 11, 1607, 273, 515, 24559, 1435, 286, 5827, 657, 1495, 12, 2598, 33781, 287, 1105, 14, 5661, 614, 30, 46506, 4580, 23912, 13, 9971, 1042, 16034, 4580, 23912, 33411...
list the fares of US flights from BOSTON to PHILADELPHIA
SELECT DISTINCT fare.fare_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, fare, flight, flight_fare WHERE (CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'BOSTON' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city...
[ 4868, 262, 33164, 286, 1294, 13956, 422, 347, 10892, 1340, 284, 9370, 4146, 2885, 3698, 11909, 40, 11159, 16779, 360, 8808, 1268, 4177, 14505, 13, 9496, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4868, 262, 33164, 286, 1294, 13956, 422, 347, 10892, 1340, 284, 9370, 4146, 2885, 3698, 11909, 40, 11159, 16779, 360, 8808, 1268, 4177, 14505, 13, 9496, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, ...
Name the most draws when wins is 3
SELECT MAX("Draws") FROM table_1126 WHERE "Wins" = '3'
[ 5376, 262, 749, 14293, 618, 7864, 318, 513, 46506, 25882, 7203, 25302, 82, 4943, 16034, 3084, 62, 14686, 21, 33411, 366, 54, 1040, 1, 796, 705, 18, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 749, 14293, 618, 7864, 318, 513, 46506, 25882, 7203, 25302, 82, 4943, 16034, 3084, 62, 14686, 21, 33411, 366, 54, 1040, 1, 796, 705, 18, 6 ]
how many patients were admitted to the hospital before the year 2198 and their drug route was im?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.admityear < "2198" AND prescriptions.route = "IM"
[ 4919, 867, 3871, 547, 6848, 284, 262, 4436, 878, 262, 614, 362, 22337, 290, 511, 2563, 6339, 373, 545, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 3871, 547, 6848, 284, 262, 4436, 878, 262, 614, 362, 22337, 290, 511, 2563, 6339, 373, 545, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, ...
What was the district when the reason for change was died January 1, 1974?
SELECT "District" FROM table_72178 WHERE "Reason for change" = 'Died January 1, 1974'
[ 2061, 373, 262, 4783, 618, 262, 1738, 329, 1487, 373, 3724, 3269, 352, 11, 16489, 30, 46506, 366, 44857, 1, 16034, 3084, 62, 4761, 23188, 33411, 366, 45008, 329, 1487, 1, 796, 705, 35, 798, 3269, 352, 11, 16489, 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, 4783, 618, 262, 1738, 329, 1487, 373, 3724, 3269, 352, 11, 16489, 30, 46506, 366, 44857, 1, 16034, 3084, 62, 4761, 23188, 33411, 366, 45008, 329, 1487, 1, 796, 705, 35, 798, 3269, 352, 11, 16489, 6 ]
provide the number of patients whose procedure long title is continuous invasive mechanical ventilation for less than 96 consecutive hours and lab test category is hematology?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE procedures.long_title = "Continuous invasive mechanical ventilation for less than 96 consecutive hours" AND lab."CATEGORY" = "Hematol...
[ 15234, 485, 262, 1271, 286, 3871, 3025, 8771, 890, 3670, 318, 12948, 27376, 12370, 34834, 329, 1342, 621, 9907, 12785, 2250, 290, 2248, 1332, 6536, 318, 339, 6759, 1435, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 15234, 485, 262, 1271, 286, 3871, 3025, 8771, 890, 3670, 318, 12948, 27376, 12370, 34834, 329, 1342, 621, 9907, 12785, 2250, 290, 2248, 1332, 6536, 318, 339, 6759, 1435, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, ...
Which driver has grid value of 18?
SELECT "Driver" FROM table_56784 WHERE "Grid" = '18'
[ 13828, 4639, 468, 10706, 1988, 286, 1248, 30, 46506, 366, 32103, 1, 16034, 3084, 62, 20, 3134, 5705, 33411, 366, 41339, 1, 796, 705, 1507, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 4639, 468, 10706, 1988, 286, 1248, 30, 46506, 366, 32103, 1, 16034, 3084, 62, 20, 3134, 5705, 33411, 366, 41339, 1, 796, 705, 1507, 6 ]
What are the different classes of races, and how many races correspond to each?
SELECT class, COUNT(*) FROM race GROUP BY class
[ 2061, 389, 262, 1180, 6097, 286, 9558, 11, 290, 703, 867, 9558, 6053, 284, 1123, 30, 46506, 1398, 11, 327, 28270, 7, 28104, 16034, 3234, 44441, 11050, 1398 ]
[ 1, 1, 1, 1, 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, 1180, 6097, 286, 9558, 11, 290, 703, 867, 9558, 6053, 284, 1123, 30, 46506, 1398, 11, 327, 28270, 7, 28104, 16034, 3234, 44441, 11050, 1398 ]
What is the name of the team that Tulip Computers NV sponsors?
SELECT team FROM table_name_99 WHERE shirt_sponsor = "tulip computers nv"
[ 2061, 318, 262, 1438, 286, 262, 1074, 326, 30941, 541, 22476, 364, 23973, 18073, 30, 46506, 1074, 16034, 3084, 62, 3672, 62, 2079, 33411, 10147, 62, 20587, 273, 796, 366, 83, 377, 541, 9061, 299, 85, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1438, 286, 262, 1074, 326, 30941, 541, 22476, 364, 23973, 18073, 30, 46506, 1074, 16034, 3084, 62, 3672, 62, 2079, 33411, 10147, 62, 20587, 273, 796, 366, 83, 377, 541, 9061, 299, 85, 1 ]
If the Rank is 10, what was the time on Sat aug 28?
SELECT "Sat 28 Aug" FROM table_29180 WHERE "Rank" = '10'
[ 1532, 262, 10916, 318, 838, 11, 644, 373, 262, 640, 319, 7031, 16339, 2579, 30, 46506, 366, 20245, 2579, 2447, 1, 16034, 3084, 62, 1959, 15259, 33411, 366, 27520, 1, 796, 705, 940, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1532, 262, 10916, 318, 838, 11, 644, 373, 262, 640, 319, 7031, 16339, 2579, 30, 46506, 366, 20245, 2579, 2447, 1, 16034, 3084, 62, 1959, 15259, 33411, 366, 27520, 1, 796, 705, 940, 6 ]
For those employees who do not work in departments with managers that have ids between 100 and 200, find hire_date and the amount of hire_date bin hire_date by time, and visualize them by a bar chart.
SELECT HIRE_DATE, COUNT(HIRE_DATE) 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, 1064, 11078, 62, 4475, 290, 262, 2033, 286, 11078, 62, 4475, 9874, 11078, 62, 4475, 416, 640, 11, 290, 38350, 606, 416, 257,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1064, 11078, 62, 4475, 290, 262, 2033, 286, 11078, 62, 4475, 9874, 11078, 62, 4475, 416, 640, 11, 290, 38350, 606, 416, 257,...
What is the mean vertical relief in feet when the Peak Name is Tower near mead wood road entrance and the elevation in feet is more than 1,410?
SELECT AVG("Vertical Relief (ft)") FROM table_7247 WHERE "Peak Name" = 'tower near mead wood road entrance' AND "Elevation (ft)" > '1,410'
[ 2061, 318, 262, 1612, 11723, 8259, 287, 3625, 618, 262, 23974, 6530, 318, 8765, 1474, 502, 324, 4898, 2975, 10384, 290, 262, 22910, 287, 3625, 318, 517, 621, 352, 11, 33289, 30, 46506, 35224, 7203, 42369, 605, 30323, 357, 701, 8, 4943...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11723, 8259, 287, 3625, 618, 262, 23974, 6530, 318, 8765, 1474, 502, 324, 4898, 2975, 10384, 290, 262, 22910, 287, 3625, 318, 517, 621, 352, 11, 33289, 30, 46506, 35224, 7203, 42369, 605, 30323, 357, 701, 8, 4943...
What School/Club Team played in Toronto during 2012?
SELECT school_club_team FROM table_name_43 WHERE years_in_toronto = "2012"
[ 2061, 3961, 14, 42350, 4816, 2826, 287, 6586, 1141, 2321, 30, 46506, 1524, 62, 18664, 62, 15097, 16034, 3084, 62, 3672, 62, 3559, 33411, 812, 62, 259, 62, 13165, 5957, 796, 366, 6999, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3961, 14, 42350, 4816, 2826, 287, 6586, 1141, 2321, 30, 46506, 1524, 62, 18664, 62, 15097, 16034, 3084, 62, 3672, 62, 3559, 33411, 812, 62, 259, 62, 13165, 5957, 796, 366, 6999, 1 ]
How many bands are there?
SELECT COUNT(*) FROM Band
[ 2437, 867, 11760, 389, 612, 30, 46506, 327, 28270, 7, 28104, 16034, 10243 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 11760, 389, 612, 30, 46506, 327, 28270, 7, 28104, 16034, 10243 ]