instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
was patient 27172 provided with any medication in this hospital visit?
SELECT COUNT(*) > 0 FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 27172 AND admissions.dischtime IS NULL)
[ 9776, 5827, 2681, 23628, 2810, 351, 597, 14103, 287, 428, 4436, 3187, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 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 ]
[ 9776, 5827, 2681, 23628, 2810, 351, 597, 14103, 287, 428, 4436, 3187, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, ...
What is the total attendance at games against the New York Mets with a record of 18-18?
SELECT COUNT(attendance) FROM table_name_76 WHERE opponent = "new york mets" AND record = "18-18"
[ 2061, 318, 262, 2472, 14858, 379, 1830, 1028, 262, 968, 1971, 26053, 351, 257, 1700, 286, 1248, 12, 1507, 30, 46506, 327, 28270, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 4304, 33411, 6125, 796, 366, 3605, 331, 967, 285, 1039...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14858, 379, 1830, 1028, 262, 968, 1971, 26053, 351, 257, 1700, 286, 1248, 12, 1507, 30, 46506, 327, 28270, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 4304, 33411, 6125, 796, 366, 3605, 331, 967, 285, 1039...
When the network mask is 255.255.255.252 what is the prefix size?
SELECT "Prefix size" FROM table_19703 WHERE "Network mask" = '255.255.255.252'
[ 2215, 262, 3127, 9335, 318, 14280, 13, 13381, 13, 13381, 13, 22800, 644, 318, 262, 21231, 2546, 30, 46506, 366, 36698, 844, 2546, 1, 16034, 3084, 62, 30986, 18, 33411, 366, 26245, 9335, 1, 796, 705, 13381, 13, 13381, 13, 13381, 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 ]
[ 2215, 262, 3127, 9335, 318, 14280, 13, 13381, 13, 13381, 13, 22800, 644, 318, 262, 21231, 2546, 30, 46506, 366, 36698, 844, 2546, 1, 16034, 3084, 62, 30986, 18, 33411, 366, 26245, 9335, 1, 796, 705, 13381, 13, 13381, 13, 13381, 13, ...
How many Games has a Team of cai zaragoza and a Rank smaller than 1?
SELECT SUM(games) FROM table_name_24 WHERE team = "cai zaragoza" AND rank < 1
[ 2437, 867, 5776, 468, 257, 4816, 286, 1275, 72, 1976, 283, 3839, 4496, 290, 257, 10916, 4833, 621, 352, 30, 46506, 35683, 7, 19966, 8, 16034, 3084, 62, 3672, 62, 1731, 33411, 1074, 796, 366, 66, 1872, 1976, 283, 3839, 4496, 1, 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 ]
[ 2437, 867, 5776, 468, 257, 4816, 286, 1275, 72, 1976, 283, 3839, 4496, 290, 257, 10916, 4833, 621, 352, 30, 46506, 35683, 7, 19966, 8, 16034, 3084, 62, 3672, 62, 1731, 33411, 1074, 796, 366, 66, 1872, 1976, 283, 3839, 4496, 1, 5357,...
Can you tell me the Record that has the Date of december 15?
SELECT "Record" FROM table_36571 WHERE "Date" = 'december 15'
[ 6090, 345, 1560, 502, 262, 13266, 326, 468, 262, 7536, 286, 390, 3273, 1315, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 2623, 42875, 33411, 366, 10430, 1, 796, 705, 2934, 3273, 1315, 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 ]
[ 6090, 345, 1560, 502, 262, 13266, 326, 468, 262, 7536, 286, 390, 3273, 1315, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 2623, 42875, 33411, 366, 10430, 1, 796, 705, 2934, 3273, 1315, 6 ]
What is the pick number for Danny Green in a round less than 2?
SELECT COUNT(pick) FROM table_name_21 WHERE player = "danny green" AND round < 2
[ 2061, 318, 262, 2298, 1271, 329, 15105, 3469, 287, 257, 2835, 1342, 621, 362, 30, 46506, 327, 28270, 7, 27729, 8, 16034, 3084, 62, 3672, 62, 2481, 33411, 2137, 796, 366, 67, 7737, 4077, 1, 5357, 2835, 1279, 362 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2298, 1271, 329, 15105, 3469, 287, 257, 2835, 1342, 621, 362, 30, 46506, 327, 28270, 7, 27729, 8, 16034, 3084, 62, 3672, 62, 2481, 33411, 2137, 796, 366, 67, 7737, 4077, 1, 5357, 2835, 1279, 362 ]
what class has the date of 8/1954?
SELECT class FROM table_name_56 WHERE date = "8/1954"
[ 10919, 1398, 468, 262, 3128, 286, 807, 14, 1129, 4051, 30, 46506, 1398, 16034, 3084, 62, 3672, 62, 3980, 33411, 3128, 796, 366, 23, 14, 1129, 4051, 1 ]
[ 1, 1, 1, 1, 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, 1398, 468, 262, 3128, 286, 807, 14, 1129, 4051, 30, 46506, 1398, 16034, 3084, 62, 3672, 62, 3980, 33411, 3128, 796, 366, 23, 14, 1129, 4051, 1 ]
What is the nickname at the University of Nebraska at Omaha?
SELECT "Team Nickname" FROM table_28732 WHERE "Institution" = 'University of Nebraska at Omaha'
[ 2061, 318, 262, 21814, 379, 262, 2059, 286, 18329, 379, 37053, 30, 46506, 366, 15592, 8047, 3672, 1, 16034, 3084, 62, 27800, 2624, 33411, 366, 6310, 2738, 1, 796, 705, 21009, 286, 18329, 379, 37053, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 21814, 379, 262, 2059, 286, 18329, 379, 37053, 30, 46506, 366, 15592, 8047, 3672, 1, 16034, 3084, 62, 27800, 2624, 33411, 366, 6310, 2738, 1, 796, 705, 21009, 286, 18329, 379, 37053, 6 ]
In which subject area have most of my C 's been earned ?
SELECT DISTINCT DERIVED_TABLEalias0.DERIVED_FIELDalias1 FROM (SELECT AREAalias0.area, COUNT(*) INNER JOIN student_record ON student_record.course_id = AREAalias0.course_id WHERE student_record.grade LIKE 'C' AND student_record.student_id = 1 GROUP BY AREAalias0.area) AS DERIVED_TABLEalias0 WHERE DERIVED_TABLEalias0.DER...
[ 818, 543, 2426, 1989, 423, 749, 286, 616, 327, 705, 82, 587, 7366, 5633, 46506, 360, 8808, 1268, 4177, 360, 1137, 3824, 1961, 62, 38148, 26011, 15, 13, 14418, 3824, 1961, 62, 44603, 26011, 16, 16034, 357, 46506, 15986, 32, 26011, 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, 1, 1, 1, 1, 1, 1, 1...
[ 818, 543, 2426, 1989, 423, 749, 286, 616, 327, 705, 82, 587, 7366, 5633, 46506, 360, 8808, 1268, 4177, 360, 1137, 3824, 1961, 62, 38148, 26011, 15, 13, 14418, 3824, 1961, 62, 44603, 26011, 16, 16034, 357, 46506, 15986, 32, 26011, 15, ...
What amount of Gold does Russia have and have a rank larger than 1?
SELECT SUM(gold) FROM table_name_8 WHERE nation = "russia" AND rank > 1
[ 2061, 2033, 286, 3561, 857, 3284, 423, 290, 423, 257, 4279, 4025, 621, 352, 30, 46506, 35683, 7, 24267, 8, 16034, 3084, 62, 3672, 62, 23, 33411, 3277, 796, 366, 81, 31269, 1, 5357, 4279, 1875, 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 ]
[ 2061, 2033, 286, 3561, 857, 3284, 423, 290, 423, 257, 4279, 4025, 621, 352, 30, 46506, 35683, 7, 24267, 8, 16034, 3084, 62, 3672, 62, 23, 33411, 3277, 796, 366, 81, 31269, 1, 5357, 4279, 1875, 352 ]
Which Nationality has a Rank larger than 3, and a Name of tom hilde?
SELECT "Nationality" FROM table_34380 WHERE "Rank" > '3' AND "Name" = 'tom hilde'
[ 13828, 2351, 414, 468, 257, 10916, 4025, 621, 513, 11, 290, 257, 6530, 286, 16667, 289, 44725, 30, 46506, 366, 16186, 414, 1, 16034, 3084, 62, 2682, 23734, 33411, 366, 27520, 1, 1875, 705, 18, 6, 5357, 366, 5376, 1, 796, 705, 39532,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2351, 414, 468, 257, 10916, 4025, 621, 513, 11, 290, 257, 6530, 286, 16667, 289, 44725, 30, 46506, 366, 16186, 414, 1, 16034, 3084, 62, 2682, 23734, 33411, 366, 27520, 1, 1875, 705, 18, 6, 5357, 366, 5376, 1, 796, 705, 39532,...
which two buildings were listed before 1974 ?
SELECT "name" FROM table_204_872 WHERE "year of listing & ref(s)" < 1974
[ 4758, 734, 6832, 547, 5610, 878, 16489, 5633, 46506, 366, 3672, 1, 16034, 3084, 62, 18638, 62, 23, 4761, 33411, 366, 1941, 286, 13487, 1222, 1006, 7, 82, 16725, 1279, 16489 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 734, 6832, 547, 5610, 878, 16489, 5633, 46506, 366, 3672, 1, 16034, 3084, 62, 18638, 62, 23, 4761, 33411, 366, 1941, 286, 13487, 1222, 1006, 7, 82, 16725, 1279, 16489 ]
Give me a histogram for what is total number of show times per dat for each cinema?, and sort from high to low by the show times per day.
SELECT Name, SUM(T1.Show_times_per_day) FROM schedule AS T1 JOIN cinema AS T2 ON T1.Cinema_ID = T2.Cinema_ID GROUP BY T1.Cinema_ID ORDER BY SUM(T1.Show_times_per_day) DESC
[ 23318, 502, 257, 1554, 21857, 329, 644, 318, 2472, 1271, 286, 905, 1661, 583, 4818, 329, 1123, 22041, 21747, 290, 3297, 422, 1029, 284, 1877, 416, 262, 905, 1661, 583, 1110, 13, 46506, 6530, 11, 35683, 7, 51, 16, 13, 15307, 62, 2235...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 257, 1554, 21857, 329, 644, 318, 2472, 1271, 286, 905, 1661, 583, 4818, 329, 1123, 22041, 21747, 290, 3297, 422, 1029, 284, 1877, 416, 262, 905, 1661, 583, 1110, 13, 46506, 6530, 11, 35683, 7, 51, 16, 13, 15307, 62, 2235...
what is the drug that patient 035-24054 was prescribed for in the same day after being diagnosed with hypovolemic shock - hemorrhagic since 157 months ago?
SELECT t2.drugname FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '035-24054') AND diagnosis.diagnos...
[ 10919, 318, 262, 2563, 326, 5827, 657, 2327, 12, 1731, 2713, 19, 373, 14798, 329, 287, 262, 976, 1110, 706, 852, 14641, 351, 5328, 709, 2305, 9383, 6380, 532, 42203, 9083, 1201, 23313, 1933, 2084, 30, 46506, 256, 17, 13, 30349, 3672, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2563, 326, 5827, 657, 2327, 12, 1731, 2713, 19, 373, 14798, 329, 287, 262, 976, 1110, 706, 852, 14641, 351, 5328, 709, 2305, 9383, 6380, 532, 42203, 9083, 1201, 23313, 1933, 2084, 30, 46506, 256, 17, 13, 30349, 3672, ...
What is the average event for the Open Championship Tournament, and a Top-5 less than 1?
SELECT AVG("Events") FROM table_41862 WHERE "Tournament" = 'the open championship' AND "Top-5" < '1'
[ 2061, 318, 262, 2811, 1785, 329, 262, 4946, 10749, 9595, 11, 290, 257, 5849, 12, 20, 1342, 621, 352, 30, 46506, 35224, 7203, 37103, 4943, 16034, 3084, 62, 39667, 5237, 33411, 366, 51, 5138, 1, 796, 705, 1169, 1280, 12184, 6, 5357, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1785, 329, 262, 4946, 10749, 9595, 11, 290, 257, 5849, 12, 20, 1342, 621, 352, 30, 46506, 35224, 7203, 37103, 4943, 16034, 3084, 62, 39667, 5237, 33411, 366, 51, 5138, 1, 796, 705, 1169, 1280, 12184, 6, 5357, 3...
What competitions record a date and time of 17.04.1920 at 15:00?
SELECT competition FROM table_1233808_2 WHERE date_and_time = "17.04.1920 at 15:00"
[ 2061, 24174, 1700, 257, 3128, 290, 640, 286, 1596, 13, 3023, 13, 40454, 379, 1315, 25, 405, 30, 46506, 5449, 16034, 3084, 62, 1065, 2091, 28362, 62, 17, 33411, 3128, 62, 392, 62, 2435, 796, 366, 1558, 13, 3023, 13, 40454, 379, 1315,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 24174, 1700, 257, 3128, 290, 640, 286, 1596, 13, 3023, 13, 40454, 379, 1315, 25, 405, 30, 46506, 5449, 16034, 3084, 62, 1065, 2091, 28362, 62, 17, 33411, 3128, 62, 392, 62, 2435, 796, 366, 1558, 13, 3023, 13, 40454, 379, 1315,...
How many rounds have picked smaller than 220, with Alford Turner as a player?
SELECT SUM("Round") FROM table_49446 WHERE "Pick" < '220' AND "Player" = 'alford turner'
[ 2437, 867, 9196, 423, 6497, 4833, 621, 15629, 11, 351, 978, 3841, 15406, 355, 257, 2137, 30, 46506, 35683, 7203, 22685, 4943, 16034, 3084, 62, 2920, 27260, 33411, 366, 31686, 1, 1279, 705, 17572, 6, 5357, 366, 14140, 1, 796, 705, 1604...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9196, 423, 6497, 4833, 621, 15629, 11, 351, 978, 3841, 15406, 355, 257, 2137, 30, 46506, 35683, 7203, 22685, 4943, 16034, 3084, 62, 2920, 27260, 33411, 366, 31686, 1, 1279, 705, 17572, 6, 5357, 366, 14140, 1, 796, 705, 1604...
Which highest 'goals against' number had wins of 19 and a 'goals for' number that was bigger than 53?
SELECT MAX(goals_against) FROM table_name_79 WHERE wins = 19 AND goals_for > 53
[ 13828, 4511, 705, 2188, 874, 1028, 6, 1271, 550, 7864, 286, 678, 290, 257, 705, 2188, 874, 329, 6, 1271, 326, 373, 5749, 621, 7192, 30, 46506, 25882, 7, 2188, 874, 62, 32826, 8, 16034, 3084, 62, 3672, 62, 3720, 33411, 7864, 796, 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 ]
[ 13828, 4511, 705, 2188, 874, 1028, 6, 1271, 550, 7864, 286, 678, 290, 257, 705, 2188, 874, 329, 6, 1271, 326, 373, 5749, 621, 7192, 30, 46506, 25882, 7, 2188, 874, 62, 32826, 8, 16034, 3084, 62, 3672, 62, 3720, 33411, 7864, 796, 6...
What is 2006, when 2007 is '1R', and when 2002 is 'Q2'?
SELECT 2006 FROM table_name_63 WHERE 2007 = "1r" AND 2002 = "q2"
[ 2061, 318, 4793, 11, 618, 4343, 318, 705, 16, 49, 3256, 290, 618, 6244, 318, 705, 48, 17, 30960, 46506, 4793, 16034, 3084, 62, 3672, 62, 5066, 33411, 4343, 796, 366, 16, 81, 1, 5357, 6244, 796, 366, 80, 17, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 4793, 11, 618, 4343, 318, 705, 16, 49, 3256, 290, 618, 6244, 318, 705, 48, 17, 30960, 46506, 4793, 16034, 3084, 62, 3672, 62, 5066, 33411, 4343, 796, 366, 16, 81, 1, 5357, 6244, 796, 366, 80, 17, 1 ]
WHAT IS THE ATTENDANCE WITH A READING AWAY TEAM?
SELECT attendance FROM table_name_24 WHERE away_team = "reading"
[ 32971, 3180, 3336, 26195, 10619, 19240, 13315, 317, 20832, 2751, 14356, 4792, 33536, 30, 46506, 14858, 16034, 3084, 62, 3672, 62, 1731, 33411, 1497, 62, 15097, 796, 366, 25782, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 32971, 3180, 3336, 26195, 10619, 19240, 13315, 317, 20832, 2751, 14356, 4792, 33536, 30, 46506, 14858, 16034, 3084, 62, 3672, 62, 1731, 33411, 1497, 62, 15097, 796, 366, 25782, 1 ]
How many Golds did Rank 10 get, with a Bronze larger than 2?
SELECT COUNT("Gold") FROM table_75512 WHERE "Rank" = '10' AND "Bronze" > '2'
[ 2437, 867, 3561, 82, 750, 10916, 838, 651, 11, 351, 257, 19461, 4025, 621, 362, 30, 46506, 327, 28270, 7203, 13306, 4943, 16034, 3084, 62, 2425, 25836, 33411, 366, 27520, 1, 796, 705, 940, 6, 5357, 366, 18760, 2736, 1, 1875, 705, 17...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 3561, 82, 750, 10916, 838, 651, 11, 351, 257, 19461, 4025, 621, 362, 30, 46506, 327, 28270, 7203, 13306, 4943, 16034, 3084, 62, 2425, 25836, 33411, 366, 27520, 1, 796, 705, 940, 6, 5357, 366, 18760, 2736, 1, 1875, 705, 17...
When is the earliest year in milan that guillermo vilas was champion?
SELECT MIN(year) FROM table_name_43 WHERE location = "milan" AND champion = "guillermo vilas"
[ 2215, 318, 262, 14555, 614, 287, 1465, 272, 326, 915, 4665, 5908, 39796, 292, 373, 8783, 30, 46506, 20625, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 3559, 33411, 4067, 796, 366, 25433, 272, 1, 5357, 8783, 796, 366, 5162, 4665, 5908, 39...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 318, 262, 14555, 614, 287, 1465, 272, 326, 915, 4665, 5908, 39796, 292, 373, 8783, 30, 46506, 20625, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 3559, 33411, 4067, 796, 366, 25433, 272, 1, 5357, 8783, 796, 366, 5162, 4665, 5908, 39...
Which name had 6 goals?
SELECT name FROM table_name_49 WHERE goals = 6
[ 13828, 1438, 550, 718, 4661, 30, 46506, 1438, 16034, 3084, 62, 3672, 62, 2920, 33411, 4661, 796, 718 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 1438, 550, 718, 4661, 30, 46506, 1438, 16034, 3084, 62, 3672, 62, 2920, 33411, 4661, 796, 718 ]
Which Passengers flown has a Net profit/loss (SEK) smaller than -6,360,000,000, and Employees (Average/Year) smaller than 34,544, and a Basic eps (SEK) of -18.2?
SELECT SUM("Passengers flown") FROM table_34013 WHERE "Net profit/loss (SEK)" < '-6,360,000,000' AND "Employees (Average/Year)" < '34,544' AND "Basic eps (SEK)" = '-18.2'
[ 13828, 6251, 9302, 22371, 468, 257, 3433, 7630, 14, 22462, 357, 5188, 42, 8, 4833, 621, 532, 21, 11, 15277, 11, 830, 11, 830, 11, 290, 30260, 357, 26287, 14, 17688, 8, 4833, 621, 4974, 11, 47576, 11, 290, 257, 14392, 304, 862, 357...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6251, 9302, 22371, 468, 257, 3433, 7630, 14, 22462, 357, 5188, 42, 8, 4833, 621, 532, 21, 11, 15277, 11, 830, 11, 830, 11, 290, 30260, 357, 26287, 14, 17688, 8, 4833, 621, 4974, 11, 47576, 11, 290, 257, 14392, 304, 862, 357...
What is the date of the game with an attendance of 19,183?
SELECT "Date" FROM table_34073 WHERE "Attendance" = '19,183'
[ 2061, 318, 262, 3128, 286, 262, 983, 351, 281, 14858, 286, 678, 11, 24839, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 23601, 4790, 33411, 366, 8086, 437, 590, 1, 796, 705, 1129, 11, 24839, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 3128, 286, 262, 983, 351, 281, 14858, 286, 678, 11, 24839, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 23601, 4790, 33411, 366, 8086, 437, 590, 1, 796, 705, 1129, 11, 24839, 6 ]
what are the three most frequent drugs that were prescribed to pleural effusion - right male patients 50s after they were diagnosed with pleural effusion - right in the same hospital encounter?
SELECT t3.drugname FROM (SELECT t2.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, diagnosis.diagnosistime, patient.patienthealthsystemstayid FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'pleural effusio...
[ 10919, 389, 262, 1115, 749, 10792, 5010, 326, 547, 14798, 284, 3339, 1523, 914, 4241, 532, 826, 4257, 3871, 2026, 82, 706, 484, 547, 14641, 351, 3339, 1523, 914, 4241, 532, 826, 287, 262, 976, 4436, 8791, 30, 46506, 256, 18, 13, 303...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 389, 262, 1115, 749, 10792, 5010, 326, 547, 14798, 284, 3339, 1523, 914, 4241, 532, 826, 4257, 3871, 2026, 82, 706, 484, 547, 14641, 351, 3339, 1523, 914, 4241, 532, 826, 287, 262, 976, 4436, 8791, 30, 46506, 256, 18, 13, 303...
provide the number of patients diagnosed with malignant neoplasm of other sites of tongue who had abnormal lab test status.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.long_title = "Malignant neoplasm of other sites of tongue" AND lab.flag = "abnormal"
[ 15234, 485, 262, 1271, 286, 3871, 14641, 351, 6428, 25114, 497, 20106, 8597, 286, 584, 5043, 286, 11880, 508, 550, 18801, 2248, 1332, 3722, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14641, 351, 6428, 25114, 497, 20106, 8597, 286, 584, 5043, 286, 11880, 508, 550, 18801, 2248, 1332, 3722, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 32...
For how long the patients admitted to clinic referral (premature) stayed in the hospital?
SELECT MAX(demographic.days_stay) FROM demographic WHERE demographic.admission_location = "CLINIC REFERRAL/PREMATURE"
[ 1890, 703, 890, 262, 3871, 6848, 284, 15760, 31413, 357, 31605, 1300, 8, 9658, 287, 262, 4436, 30, 46506, 25882, 7, 9536, 6826, 13, 12545, 62, 31712, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, 24886, 796, 366, 5097, 1268, 2149,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 703, 890, 262, 3871, 6848, 284, 15760, 31413, 357, 31605, 1300, 8, 9658, 287, 262, 4436, 30, 46506, 25882, 7, 9536, 6826, 13, 12545, 62, 31712, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, 24886, 796, 366, 5097, 1268, 2149,...
Which Bleeding has a Condition of congenital afibrinogenemia?
SELECT "Bleeding time" FROM table_76036 WHERE "Condition" = 'congenital afibrinogenemia'
[ 13828, 17175, 8228, 468, 257, 24295, 286, 41174, 1287, 6580, 2889, 259, 6644, 22859, 30, 46506, 366, 43413, 8228, 640, 1, 16034, 3084, 62, 40761, 2623, 33411, 366, 48362, 1, 796, 705, 36801, 268, 1287, 6580, 2889, 259, 6644, 22859, 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 ]
[ 13828, 17175, 8228, 468, 257, 24295, 286, 41174, 1287, 6580, 2889, 259, 6644, 22859, 30, 46506, 366, 43413, 8228, 640, 1, 16034, 3084, 62, 40761, 2623, 33411, 366, 48362, 1, 796, 705, 36801, 268, 1287, 6580, 2889, 259, 6644, 22859, 6 ]
give the number of patients whose primary disease is aortic valve insufficiency/aortic valve replacement/sda and were born before the year 2074.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "AORTIC VALVE INSUFFIENCY\AORTIC VALVE REPLACEMENT /SDA" AND demographic.dob_year < "2074"
[ 26535, 262, 1271, 286, 3871, 3025, 4165, 4369, 318, 257, 419, 291, 22580, 1035, 1648, 19777, 14, 64, 419, 291, 22580, 9014, 14, 82, 6814, 290, 547, 4642, 878, 262, 614, 1160, 4524, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 167...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 26535, 262, 1271, 286, 3871, 3025, 4165, 4369, 318, 257, 419, 291, 22580, 1035, 1648, 19777, 14, 64, 419, 291, 22580, 9014, 14, 82, 6814, 290, 547, 4642, 878, 262, 614, 1160, 4524, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 167...
For those employees who do not work in departments with managers that have ids between 100 and 200, a bar chart shows the distribution of first_name and salary , and I want to rank by the X in asc.
SELECT FIRST_NAME, SALARY FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY FIRST_NAME
[ 1890, 883, 4409, 508, 466, 407, 670, 287, 13346, 351, 11663, 326, 423, 220, 2340, 1022, 1802, 290, 939, 11, 257, 2318, 8262, 2523, 262, 6082, 286, 717, 62, 3672, 290, 9588, 837, 290, 314, 765, 284, 4279, 416, 262, 1395, 287, 10570, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 257, 2318, 8262, 2523, 262, 6082, 286, 717, 62, 3672, 290, 9588, 837, 290, 314, 765, 284, 4279, 416, 262, 1395, 287, 10570, ...
what do you have going from ATLANTA to PHILADELPHIA serving BREAKFAST
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, food_service WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'PHILADELPHIA' AND flight.to_airport = AIRPORT_SERVICE_1.airport_code AND fo...
[ 10919, 466, 345, 423, 1016, 422, 5161, 25697, 5603, 284, 9370, 4146, 2885, 3698, 11909, 3539, 7351, 29377, 10206, 37, 1921, 4694, 36, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 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, 466, 345, 423, 1016, 422, 5161, 25697, 5603, 284, 9370, 4146, 2885, 3698, 11909, 3539, 7351, 29377, 10206, 37, 1921, 4694, 36, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62...
what is the party for district ohio 11?
SELECT "Party" FROM table_18275 WHERE "District" = 'Ohio 11'
[ 10919, 318, 262, 2151, 329, 4783, 11752, 952, 1367, 30, 46506, 366, 33553, 1, 16034, 3084, 62, 1507, 23195, 33411, 366, 44857, 1, 796, 705, 31274, 1367, 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 ]
[ 10919, 318, 262, 2151, 329, 4783, 11752, 952, 1367, 30, 46506, 366, 33553, 1, 16034, 3084, 62, 1507, 23195, 33411, 366, 44857, 1, 796, 705, 31274, 1367, 6 ]
What is the lowest female number of the hiroo 1-ch me district, which has more than 1,666 households?
SELECT MIN(female) FROM table_name_66 WHERE district = "hiroo 1-chōme" AND number_of_households > 1 OFFSET 666
[ 2061, 318, 262, 9016, 4048, 1271, 286, 262, 289, 7058, 78, 352, 12, 354, 502, 4783, 11, 543, 468, 517, 621, 352, 11, 27310, 12503, 30, 46506, 20625, 7, 24724, 8, 16034, 3084, 62, 3672, 62, 2791, 33411, 4783, 796, 366, 5303, 42407, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4048, 1271, 286, 262, 289, 7058, 78, 352, 12, 354, 502, 4783, 11, 543, 468, 517, 621, 352, 11, 27310, 12503, 30, 46506, 20625, 7, 24724, 8, 16034, 3084, 62, 3672, 62, 2791, 33411, 4783, 796, 366, 5303, 42407, ...
What model type has model designation 97500?
SELECT model_type FROM table_20866024_2 WHERE model_designation = "97500"
[ 2061, 2746, 2099, 468, 2746, 22566, 860, 2425, 405, 30, 46506, 2746, 62, 4906, 16034, 3084, 62, 1238, 4521, 1899, 1731, 62, 17, 33411, 2746, 62, 26124, 341, 796, 366, 42716, 405, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2746, 2099, 468, 2746, 22566, 860, 2425, 405, 30, 46506, 2746, 62, 4906, 16034, 3084, 62, 1238, 4521, 1899, 1731, 62, 17, 33411, 2746, 62, 26124, 341, 796, 366, 42716, 405, 1 ]
what is the number of patients whose drug code is busp10?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.formulary_drug_cd = "BUSP10"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 2563, 2438, 318, 1323, 79, 940, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, 18108, 76, 62, 312, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 1271, 286, 3871, 3025, 2563, 2438, 318, 1323, 79, 940, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, 18108, 76, 62, 312, ...
Which player placed t10?
SELECT player FROM table_name_72 WHERE place = "t10"
[ 13828, 2137, 4624, 256, 940, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 4761, 33411, 1295, 796, 366, 83, 940, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 2137, 4624, 256, 940, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 4761, 33411, 1295, 796, 366, 83, 940, 1 ]
What is the baseline extended and main profiles when level is 1.3?
SELECT MIN("Baseline, Extended and Main Profiles") FROM table_26279 WHERE "Level" = '1.3'
[ 2061, 318, 262, 14805, 7083, 290, 1388, 16545, 618, 1241, 318, 352, 13, 18, 30, 46506, 20625, 7203, 15522, 4470, 11, 24204, 290, 8774, 4415, 2915, 4943, 16034, 3084, 62, 2075, 26050, 33411, 366, 4971, 1, 796, 705, 16, 13, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 14805, 7083, 290, 1388, 16545, 618, 1241, 318, 352, 13, 18, 30, 46506, 20625, 7203, 15522, 4470, 11, 24204, 290, 8774, 4415, 2915, 4943, 16034, 3084, 62, 2075, 26050, 33411, 366, 4971, 1, 796, 705, 16, 13, 18, 6 ]
how many players are currently retired ?
SELECT COUNT("current status") FROM table_203_312 WHERE "current status" = 'retired'
[ 4919, 867, 1938, 389, 3058, 9880, 5633, 46506, 327, 28270, 7203, 14421, 3722, 4943, 16034, 3084, 62, 22416, 62, 27970, 33411, 366, 14421, 3722, 1, 796, 705, 1186, 1202, 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 ]
[ 4919, 867, 1938, 389, 3058, 9880, 5633, 46506, 327, 28270, 7203, 14421, 3722, 4943, 16034, 3084, 62, 22416, 62, 27970, 33411, 366, 14421, 3722, 1, 796, 705, 1186, 1202, 6 ]
For all employees who have the letters D or S in their first name, a bar chart shows the distribution of job_id and the average of department_id , and group by attribute job_id.
SELECT JOB_ID, AVG(DEPARTMENT_ID) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' GROUP BY JOB_ID
[ 1890, 477, 4409, 508, 423, 262, 7475, 360, 393, 311, 287, 511, 717, 1438, 11, 257, 2318, 8262, 2523, 262, 6082, 286, 1693, 62, 312, 290, 262, 2811, 286, 5011, 62, 312, 837, 290, 1448, 416, 11688, 1693, 62, 312, 13, 46506, 449, 986...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 477, 4409, 508, 423, 262, 7475, 360, 393, 311, 287, 511, 717, 1438, 11, 257, 2318, 8262, 2523, 262, 6082, 286, 1693, 62, 312, 290, 262, 2811, 286, 5011, 62, 312, 837, 290, 1448, 416, 11688, 1693, 62, 312, 13, 46506, 449, 986...
what is the last team on the chart
SELECT "team" FROM table_204_772 ORDER BY id DESC LIMIT 1
[ 10919, 318, 262, 938, 1074, 319, 262, 8262, 46506, 366, 15097, 1, 16034, 3084, 62, 18638, 62, 43571, 38678, 11050, 4686, 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 ]
[ 10919, 318, 262, 938, 1074, 319, 262, 8262, 46506, 366, 15097, 1, 16034, 3084, 62, 18638, 62, 43571, 38678, 11050, 4686, 22196, 34, 27564, 2043, 352 ]
how many patients whose admission type is newborn and admission year is less than 2154?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_type = "NEWBORN" AND demographic.admityear < "2154"
[ 4919, 867, 3871, 3025, 13938, 2099, 318, 23856, 290, 13938, 614, 318, 1342, 621, 362, 21526, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, 4906, 796, 366, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 3871, 3025, 13938, 2099, 318, 23856, 290, 13938, 614, 318, 1342, 621, 362, 21526, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, 4906, 796, 366, ...
What 's 501 's schedule next semester ?
SELECT DISTINCT course_offering.end_time, course_offering.friday, course_offering.monday, course_offering.saturday, course_offering.start_time, course_offering.sunday, course_offering.thursday, course_offering.tuesday, course_offering.wednesday FROM course, course_offering, semester WHERE course.course_id = course_offe...
[ 2061, 705, 82, 24555, 705, 82, 7269, 1306, 24878, 5633, 46506, 360, 8808, 1268, 4177, 1781, 62, 2364, 1586, 13, 437, 62, 2435, 11, 1781, 62, 2364, 1586, 13, 8310, 2567, 11, 1781, 62, 2364, 1586, 13, 76, 3204, 11, 1781, 62, 2364, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 705, 82, 24555, 705, 82, 7269, 1306, 24878, 5633, 46506, 360, 8808, 1268, 4177, 1781, 62, 2364, 1586, 13, 437, 62, 2435, 11, 1781, 62, 2364, 1586, 13, 8310, 2567, 11, 1781, 62, 2364, 1586, 13, 76, 3204, 11, 1781, 62, 2364, 1...
What Core classes are scheduled for next 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 INNER JOIN program_course ON program_course.course_id = course_offering.course_id WHERE program_cour...
[ 2061, 7231, 6097, 389, 7530, 329, 1306, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7231, 6097, 389, 7530, 329, 1306, 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, ...
Which location held the bout that led to a 4-3 record?
SELECT "Location" FROM table_34503 WHERE "Record" = '4-3'
[ 13828, 4067, 2714, 262, 18222, 326, 2957, 284, 257, 604, 12, 18, 1700, 30, 46506, 366, 14749, 1, 16034, 3084, 62, 2682, 31938, 33411, 366, 23739, 1, 796, 705, 19, 12, 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, 1, 1, 1, 1, 1 ]
[ 13828, 4067, 2714, 262, 18222, 326, 2957, 284, 257, 604, 12, 18, 1700, 30, 46506, 366, 14749, 1, 16034, 3084, 62, 2682, 31938, 33411, 366, 23739, 1, 796, 705, 19, 12, 18, 6 ]
How many games against for team guarani with under 3 draws?
SELECT SUM("Against") FROM table_35159 WHERE "Team" = 'guarani' AND "Drawn" < '3'
[ 2437, 867, 1830, 1028, 329, 1074, 915, 283, 3216, 351, 739, 513, 14293, 30, 46506, 35683, 7203, 39276, 4943, 16034, 3084, 62, 2327, 19707, 33411, 366, 15592, 1, 796, 705, 5162, 283, 3216, 6, 5357, 366, 35, 5791, 1, 1279, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 1830, 1028, 329, 1074, 915, 283, 3216, 351, 739, 513, 14293, 30, 46506, 35683, 7203, 39276, 4943, 16034, 3084, 62, 2327, 19707, 33411, 366, 15592, 1, 796, 705, 5162, 283, 3216, 6, 5357, 366, 35, 5791, 1, 1279, 705, 18, 6 ...
Name the total number of titles for 3x5655
SELECT COUNT(title) FROM table_24222929_2 WHERE production_code = "3X5655"
[ 5376, 262, 2472, 1271, 286, 8714, 329, 513, 87, 3980, 2816, 46506, 327, 28270, 7, 7839, 8, 16034, 3084, 62, 1731, 1828, 1959, 1959, 62, 17, 33411, 3227, 62, 8189, 796, 366, 18, 55, 3980, 2816, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8714, 329, 513, 87, 3980, 2816, 46506, 327, 28270, 7, 7839, 8, 16034, 3084, 62, 1731, 1828, 1959, 1959, 62, 17, 33411, 3227, 62, 8189, 796, 366, 18, 55, 3980, 2816, 1 ]
Alireza Rouzbahani did not advance to the quarterfinal in what event?
SELECT "Event" FROM table_56719 WHERE "Quarterfinal" = 'did not advance' AND "Athlete" = 'alireza rouzbahani'
[ 2348, 557, 4496, 13876, 14969, 993, 3216, 750, 407, 5963, 284, 262, 3860, 20311, 287, 644, 1785, 30, 46506, 366, 9237, 1, 16034, 3084, 62, 20, 3134, 1129, 33411, 366, 4507, 2571, 20311, 1, 796, 705, 20839, 407, 5963, 6, 5357, 366, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2348, 557, 4496, 13876, 14969, 993, 3216, 750, 407, 5963, 284, 262, 3860, 20311, 287, 644, 1785, 30, 46506, 366, 9237, 1, 16034, 3084, 62, 20, 3134, 1129, 33411, 366, 4507, 2571, 20311, 1, 796, 705, 20839, 407, 5963, 6, 5357, 366, 3...
What is the highest average that has 6 dances and a total of over 128?
SELECT MAX(average) FROM table_name_15 WHERE number_of_dances = 6 AND total > 128
[ 2061, 318, 262, 4511, 2811, 326, 468, 718, 38207, 290, 257, 2472, 286, 625, 13108, 30, 46506, 25882, 7, 23913, 8, 16034, 3084, 62, 3672, 62, 1314, 33411, 1271, 62, 1659, 62, 67, 1817, 796, 718, 5357, 2472, 1875, 13108 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4511, 2811, 326, 468, 718, 38207, 290, 257, 2472, 286, 625, 13108, 30, 46506, 25882, 7, 23913, 8, 16034, 3084, 62, 3672, 62, 1314, 33411, 1271, 62, 1659, 62, 67, 1817, 796, 718, 5357, 2472, 1875, 13108 ]
What is the record for the opponent St. Louis Cardinals?
SELECT "Record" FROM table_66070 WHERE "Opponent" = 'st. louis cardinals'
[ 2061, 318, 262, 1700, 329, 262, 6125, 520, 13, 5593, 18071, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 39885, 2154, 33411, 366, 27524, 3471, 1, 796, 705, 301, 13, 21081, 271, 2657, 6897, 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, 1700, 329, 262, 6125, 520, 13, 5593, 18071, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 39885, 2154, 33411, 366, 27524, 3471, 1, 796, 705, 301, 13, 21081, 271, 2657, 6897, 6 ]
What is the transfer window in esp with promoted type and more than 2010 ends?
SELECT "Transfer window" FROM table_70767 WHERE "Country" = 'esp' AND "Type" = 'promoted' AND "Ends" > '2010'
[ 2061, 318, 262, 4351, 4324, 287, 15024, 351, 13722, 2099, 290, 517, 621, 3050, 5645, 30, 46506, 366, 43260, 4324, 1, 16034, 3084, 62, 24038, 3134, 33411, 366, 33921, 1, 796, 705, 9774, 6, 5357, 366, 6030, 1, 796, 705, 16963, 5191, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4351, 4324, 287, 15024, 351, 13722, 2099, 290, 517, 621, 3050, 5645, 30, 46506, 366, 43260, 4324, 1, 16034, 3084, 62, 24038, 3134, 33411, 366, 33921, 1, 796, 705, 9774, 6, 5357, 366, 6030, 1, 796, 705, 16963, 5191, 6...
How many married patients had a wbc joint fluid lab test?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.marital_status = "MARRIED" AND lab.label = "WBC, Joint Fluid"
[ 2437, 867, 6405, 3871, 550, 257, 266, 15630, 6466, 11711, 2248, 1332, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6405, 3871, 550, 257, 266, 15630, 6466, 11711, 2248, 1332, 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...
Who has a length of 71 ft?
SELECT name FROM table_name_21 WHERE length__ft_ = 71
[ 8241, 468, 257, 4129, 286, 9166, 10117, 30, 46506, 1438, 16034, 3084, 62, 3672, 62, 2481, 33411, 4129, 834, 701, 62, 796, 9166 ]
[ 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, 257, 4129, 286, 9166, 10117, 30, 46506, 1438, 16034, 3084, 62, 3672, 62, 2481, 33411, 4129, 834, 701, 62, 796, 9166 ]
provide the number of patients whose diagnoses icd9 code is e8786 and lab test abnormal status is abnormal?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.icd9_code = "E8786" AND lab.flag = "abnormal"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 40567, 14158, 67, 24, 2438, 318, 304, 23, 46302, 290, 2248, 1332, 18801, 3722, 318, 18801, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14158, 67, 24, 2438, 318, 304, 23, 46302, 290, 2248, 1332, 18801, 3722, 318, 18801, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479...
provide the number of patients who were admitted before year 2175 and whose diagnosis short title is chronic liver disease nec.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admityear < "2175" AND diagnoses.short_title = "Chronic liver dis NEC"
[ 15234, 485, 262, 1271, 286, 3871, 508, 547, 6848, 878, 614, 362, 17430, 290, 3025, 13669, 1790, 3670, 318, 10726, 14383, 4369, 27576, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 15234, 485, 262, 1271, 286, 3871, 508, 547, 6848, 878, 614, 362, 17430, 290, 3025, 13669, 1790, 3670, 318, 10726, 14383, 4369, 27576, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21...
Number of answers in a given period.
SELECT COUNT(*) FROM Posts WHERE PostTypeId = 2 AND CreationDate BETWEEN '##start?2019-01-01##' AND '##end?2019-07-01##'
[ 15057, 286, 7429, 287, 257, 1813, 2278, 13, 46506, 327, 28270, 7, 28104, 16034, 12043, 33411, 2947, 6030, 7390, 796, 362, 5357, 21582, 10430, 38651, 8845, 1677, 705, 2235, 9688, 30, 23344, 12, 486, 12, 486, 2235, 6, 5357, 705, 2235, 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 ]
[ 15057, 286, 7429, 287, 257, 1813, 2278, 13, 46506, 327, 28270, 7, 28104, 16034, 12043, 33411, 2947, 6030, 7390, 796, 362, 5357, 21582, 10430, 38651, 8845, 1677, 705, 2235, 9688, 30, 23344, 12, 486, 12, 486, 2235, 6, 5357, 705, 2235, 4...
What are the cities/towns located in the municipality of Horten?
SELECT "City/town" FROM table_72718 WHERE "Municipality" = 'Horten'
[ 2061, 389, 262, 4736, 14, 12735, 82, 5140, 287, 262, 27264, 286, 31693, 268, 30, 46506, 366, 14941, 14, 12735, 1, 16034, 3084, 62, 47760, 1507, 33411, 366, 44, 9462, 1483, 1, 796, 705, 39, 419, 268, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 262, 4736, 14, 12735, 82, 5140, 287, 262, 27264, 286, 31693, 268, 30, 46506, 366, 14941, 14, 12735, 1, 16034, 3084, 62, 47760, 1507, 33411, 366, 44, 9462, 1483, 1, 796, 705, 39, 419, 268, 6 ]
What is the number of each course name that have at least five enrollments? Show me a bar chart, and rank CName in desc order.
SELECT T1.CName, COUNT(T1.CName) FROM Course AS T1 JOIN Enrolled_in AS T2 ON T1.CID = T2.CID GROUP BY T1.CName, T2.CID HAVING COUNT(*) >= 5 ORDER BY T1.CName DESC
[ 2061, 318, 262, 1271, 286, 1123, 1781, 1438, 326, 423, 379, 1551, 1936, 14627, 902, 30, 5438, 502, 257, 2318, 8262, 11, 290, 4279, 327, 5376, 287, 1715, 1502, 13, 46506, 309, 16, 13, 34, 5376, 11, 327, 28270, 7, 51, 16, 13, 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...
[ 2061, 318, 262, 1271, 286, 1123, 1781, 1438, 326, 423, 379, 1551, 1936, 14627, 902, 30, 5438, 502, 257, 2318, 8262, 11, 290, 4279, 327, 5376, 287, 1715, 1502, 13, 46506, 309, 16, 13, 34, 5376, 11, 327, 28270, 7, 51, 16, 13, 34, ...
What is the Lomavren associated with a Persian of se?
SELECT lomavren FROM table_name_32 WHERE persian = "se"
[ 2061, 318, 262, 406, 296, 615, 918, 3917, 351, 257, 22035, 286, 384, 30, 46506, 300, 296, 615, 918, 16034, 3084, 62, 3672, 62, 2624, 33411, 2774, 666, 796, 366, 325, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 406, 296, 615, 918, 3917, 351, 257, 22035, 286, 384, 30, 46506, 300, 296, 615, 918, 16034, 3084, 62, 3672, 62, 2624, 33411, 2774, 666, 796, 366, 325, 1 ]
What was segment C when segment B was package printing?
SELECT segment_c FROM table_15187735_1 WHERE segment_b = "Package printing"
[ 2061, 373, 10618, 327, 618, 10618, 347, 373, 5301, 13570, 30, 46506, 10618, 62, 66, 16034, 3084, 62, 1314, 1507, 3324, 2327, 62, 16, 33411, 10618, 62, 65, 796, 366, 27813, 13570, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10618, 327, 618, 10618, 347, 373, 5301, 13570, 30, 46506, 10618, 62, 66, 16034, 3084, 62, 1314, 1507, 3324, 2327, 62, 16, 33411, 10618, 62, 65, 796, 366, 27813, 13570, 1 ]
How big was the crowd when the away team was Richmond?
SELECT crowd FROM table_name_4 WHERE away_team = "richmond"
[ 2437, 1263, 373, 262, 4315, 618, 262, 1497, 1074, 373, 16940, 30, 46506, 4315, 16034, 3084, 62, 3672, 62, 19, 33411, 1497, 62, 15097, 796, 366, 7527, 6327, 1 ]
[ 1, 1, 1, 1, 1, 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, 373, 262, 4315, 618, 262, 1497, 1074, 373, 16940, 30, 46506, 4315, 16034, 3084, 62, 3672, 62, 19, 33411, 1497, 62, 15097, 796, 366, 7527, 6327, 1 ]
What time does Belgium have?
SELECT "Time" FROM table_14066 WHERE "Country" = 'belgium'
[ 2061, 640, 857, 15664, 423, 30, 46506, 366, 7575, 1, 16034, 3084, 62, 15187, 2791, 33411, 366, 33921, 1, 796, 705, 6667, 70, 1505, 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 ]
[ 2061, 640, 857, 15664, 423, 30, 46506, 366, 7575, 1, 16034, 3084, 62, 15187, 2791, 33411, 366, 33921, 1, 796, 705, 6667, 70, 1505, 6 ]
What date did Virginia Commonwealth Rams win?
SELECT "Date(s)" FROM table_11276 WHERE "Winner" = 'virginia commonwealth rams'
[ 2061, 3128, 750, 6025, 17165, 16077, 1592, 30, 46506, 366, 10430, 7, 82, 16725, 16034, 3084, 62, 14686, 4304, 33411, 366, 48056, 1, 796, 705, 85, 4672, 544, 2219, 14298, 374, 4105, 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, 3128, 750, 6025, 17165, 16077, 1592, 30, 46506, 366, 10430, 7, 82, 16725, 16034, 3084, 62, 14686, 4304, 33411, 366, 48056, 1, 796, 705, 85, 4672, 544, 2219, 14298, 374, 4105, 6 ]
Which class is the easiest class to take to fulfill the Core requirement ?
SELECT DISTINCT course.department, course.name, course.number, program_course.workload, program_course.workload FROM course, program_course WHERE program_course.category LIKE '%Core%' AND program_course.course_id = course.course_id AND program_course.workload = (SELECT MIN(PROGRAM_COURSEalias1.workload) FROM program_co...
[ 13828, 1398, 318, 262, 16638, 1398, 284, 1011, 284, 14658, 262, 7231, 9079, 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, 1430, 62, 17319, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 318, 262, 16638, 1398, 284, 1011, 284, 14658, 262, 7231, 9079, 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, 1430, 62, 17319, ...
show me the flights from PHILADELPHIA to DALLAS with a stop in ATLANTA
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, airport_service AS AIRPORT_SERVICE_2, city AS CITY_0, city AS CITY_1, city AS CITY_2, flight, flight_stop WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'DALLAS' AND CITY_2.cit...
[ 12860, 502, 262, 13956, 422, 9370, 4146, 2885, 3698, 11909, 3539, 284, 360, 7036, 1921, 351, 257, 2245, 287, 41051, 8643, 11159, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 350...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12860, 502, 262, 13956, 422, 9370, 4146, 2885, 3698, 11909, 3539, 284, 360, 7036, 1921, 351, 257, 2245, 287, 41051, 8643, 11159, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 350...
how many patients whose admission location is clinic referral/premature and diagnoses icd9 code is 2800?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admission_location = "CLINIC REFERRAL/PREMATURE" AND diagnoses.icd9_code = "2800"
[ 4919, 867, 3871, 3025, 13938, 4067, 318, 15760, 31413, 14, 31605, 1300, 290, 40567, 14158, 67, 24, 2438, 318, 2579, 405, 30, 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, 1...
[ 4919, 867, 3871, 3025, 13938, 4067, 318, 15760, 31413, 14, 31605, 1300, 290, 40567, 14158, 67, 24, 2438, 318, 2579, 405, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1...
What is the January climate figure for Eastman?
SELECT "January" FROM table_64840 WHERE "Region" = 'eastman'
[ 2061, 318, 262, 3269, 4258, 3785, 329, 3687, 805, 30, 46506, 366, 21339, 1, 16034, 3084, 62, 34287, 1821, 33411, 366, 47371, 1, 796, 705, 23316, 805, 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 ]
[ 2061, 318, 262, 3269, 4258, 3785, 329, 3687, 805, 30, 46506, 366, 21339, 1, 16034, 3084, 62, 34287, 1821, 33411, 366, 47371, 1, 796, 705, 23316, 805, 6 ]
What was the highest number of goals for 1922 1935?
SELECT MAX("Goals") FROM table_43130 WHERE "Years" = '1922–1935'
[ 2061, 373, 262, 4511, 1271, 286, 4661, 329, 36094, 30704, 30, 46506, 25882, 7203, 5247, 874, 4943, 16034, 3084, 62, 50080, 1270, 33411, 366, 40630, 1, 796, 705, 1129, 1828, 1906, 1129, 2327, 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, 4511, 1271, 286, 4661, 329, 36094, 30704, 30, 46506, 25882, 7203, 5247, 874, 4943, 16034, 3084, 62, 50080, 1270, 33411, 366, 40630, 1, 796, 705, 1129, 1828, 1906, 1129, 2327, 6 ]
Show all branch names with the number of members in each branch registered after 2015 with a bar chart, and could you order the total number in asc order?
SELECT Name, COUNT(*) FROM membership_register_branch AS T1 JOIN branch AS T2 ON T1.Branch_ID = T2.Branch_ID WHERE T1.Register_Year > 2015 GROUP BY T2.Branch_ID ORDER BY COUNT(*)
[ 15307, 477, 8478, 3891, 351, 262, 1271, 286, 1866, 287, 1123, 8478, 6823, 706, 1853, 351, 257, 2318, 8262, 11, 290, 714, 345, 1502, 262, 2472, 1271, 287, 10570, 1502, 30, 46506, 6530, 11, 327, 28270, 7, 28104, 16034, 9931, 62, 30238, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 477, 8478, 3891, 351, 262, 1271, 286, 1866, 287, 1123, 8478, 6823, 706, 1853, 351, 257, 2318, 8262, 11, 290, 714, 345, 1502, 262, 2472, 1271, 287, 10570, 1502, 30, 46506, 6530, 11, 327, 28270, 7, 28104, 16034, 9931, 62, 30238, ...
What is the 1st leg when team 1 is Chelsea?
SELECT "1st leg" FROM table_56147 WHERE "Team 1" = 'chelsea'
[ 2061, 318, 262, 352, 301, 1232, 618, 1074, 352, 318, 12147, 30, 46506, 366, 16, 301, 1232, 1, 16034, 3084, 62, 3980, 20198, 33411, 366, 15592, 352, 1, 796, 705, 29232, 8583, 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, 352, 301, 1232, 618, 1074, 352, 318, 12147, 30, 46506, 366, 16, 301, 1232, 1, 16034, 3084, 62, 3980, 20198, 33411, 366, 15592, 352, 1, 796, 705, 29232, 8583, 6 ]
Which Championship has a League Cup smaller than 0?
SELECT AVG("Championship") FROM table_12763 WHERE "League Cup" < '0'
[ 13828, 10749, 468, 257, 4041, 5454, 4833, 621, 657, 30, 46506, 35224, 7203, 1925, 4350, 1056, 4943, 16034, 3084, 62, 1065, 49641, 33411, 366, 24623, 5454, 1, 1279, 705, 15, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 10749, 468, 257, 4041, 5454, 4833, 621, 657, 30, 46506, 35224, 7203, 1925, 4350, 1056, 4943, 16034, 3084, 62, 1065, 49641, 33411, 366, 24623, 5454, 1, 1279, 705, 15, 6 ]
what is the score when the surface is carpet (i) outcome is winner and the championship is rotterdam, netherlands?
SELECT score FROM table_name_43 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, 4776, 16034, 3084, 62, 3672, 62, 3559, 33411, 4417, 796, 366, 66, 5117, 316, 357...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4776, 16034, 3084, 62, 3672, 62, 3559, 33411, 4417, 796, 366, 66, 5117, 316, 357...
count the number of patients whose admission location is clinic referral/premature and procedure icd9 code is 45?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_location = "CLINIC REFERRAL/PREMATURE" AND procedures.icd9_code = "45"
[ 9127, 262, 1271, 286, 3871, 3025, 13938, 4067, 318, 15760, 31413, 14, 31605, 1300, 290, 8771, 14158, 67, 24, 2438, 318, 4153, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 323...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9127, 262, 1271, 286, 3871, 3025, 13938, 4067, 318, 15760, 31413, 14, 31605, 1300, 290, 8771, 14158, 67, 24, 2438, 318, 4153, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 323...
What is the product category description and unit of measurement of category 'Herbs'?
SELECT product_category_description, unit_of_measure FROM ref_product_categories WHERE product_category_code = "Herbs"
[ 2061, 318, 262, 1720, 6536, 6764, 290, 4326, 286, 15558, 286, 6536, 705, 9360, 1443, 30960, 46506, 1720, 62, 22872, 62, 11213, 11, 4326, 62, 1659, 62, 1326, 5015, 16034, 1006, 62, 11167, 62, 66, 26129, 33411, 1720, 62, 22872, 62, 8189...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1720, 6536, 6764, 290, 4326, 286, 15558, 286, 6536, 705, 9360, 1443, 30960, 46506, 1720, 62, 22872, 62, 11213, 11, 4326, 62, 1659, 62, 1326, 5015, 16034, 1006, 62, 11167, 62, 66, 26129, 33411, 1720, 62, 22872, 62, 8189...
What is Japanese Release Date, when Australia Release Date is '2006-03-23'?
SELECT japanese_release_date FROM table_name_34 WHERE australia_release_date = "2006-03-23"
[ 2061, 318, 4960, 13868, 7536, 11, 618, 4505, 13868, 7536, 318, 705, 13330, 12, 3070, 12, 1954, 30960, 46506, 474, 2674, 2771, 62, 20979, 62, 4475, 16034, 3084, 62, 3672, 62, 2682, 33411, 38132, 1373, 544, 62, 20979, 62, 4475, 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 ]
[ 2061, 318, 4960, 13868, 7536, 11, 618, 4505, 13868, 7536, 318, 705, 13330, 12, 3070, 12, 1954, 30960, 46506, 474, 2674, 2771, 62, 20979, 62, 4475, 16034, 3084, 62, 3672, 62, 2682, 33411, 38132, 1373, 544, 62, 20979, 62, 4475, 796, 366...
which was the last team played ?
SELECT "opponent" FROM table_203_672 ORDER BY "date" DESC LIMIT 1
[ 4758, 373, 262, 938, 1074, 2826, 5633, 46506, 366, 10365, 3471, 1, 16034, 3084, 62, 22416, 62, 43864, 38678, 11050, 366, 4475, 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 ]
[ 4758, 373, 262, 938, 1074, 2826, 5633, 46506, 366, 10365, 3471, 1, 16034, 3084, 62, 22416, 62, 43864, 38678, 11050, 366, 4475, 1, 22196, 34, 27564, 2043, 352 ]
Which Name had the Source, World Bank, and a Rank smaller than 110, Out of a number smaller than 199?
SELECT "Name" FROM table_40575 WHERE "Source" = 'world bank' AND "Rank" < '110' AND "Out of" < '199'
[ 13828, 6530, 550, 262, 8090, 11, 2159, 5018, 11, 290, 257, 10916, 4833, 621, 9796, 11, 3806, 286, 257, 1271, 4833, 621, 1594, 30, 46506, 366, 5376, 1, 16034, 3084, 62, 26598, 2425, 33411, 366, 7416, 1, 796, 705, 6894, 3331, 6, 5357,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 6530, 550, 262, 8090, 11, 2159, 5018, 11, 290, 257, 10916, 4833, 621, 9796, 11, 3806, 286, 257, 1271, 4833, 621, 1594, 30, 46506, 366, 5376, 1, 16034, 3084, 62, 26598, 2425, 33411, 366, 7416, 1, 796, 705, 6894, 3331, 6, 5357,...
Draw a pie chart about the proportion of All_Games and Team_ID.
SELECT All_Games, Team_ID FROM basketball_match
[ 25302, 257, 2508, 8262, 546, 262, 9823, 286, 1439, 62, 24474, 290, 4816, 62, 2389, 13, 46506, 1439, 62, 24474, 11, 4816, 62, 2389, 16034, 9669, 62, 15699 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 25302, 257, 2508, 8262, 546, 262, 9823, 286, 1439, 62, 24474, 290, 4816, 62, 2389, 13, 46506, 1439, 62, 24474, 11, 4816, 62, 2389, 16034, 9669, 62, 15699 ]
What is the least bronze number when the silver is less than 0?
SELECT MIN("Bronze") FROM table_63102 WHERE "Silver" < '0'
[ 2061, 318, 262, 1551, 22101, 1271, 618, 262, 8465, 318, 1342, 621, 657, 30, 46506, 20625, 7203, 18760, 2736, 4943, 16034, 3084, 62, 5066, 15377, 33411, 366, 26766, 1, 1279, 705, 15, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1551, 22101, 1271, 618, 262, 8465, 318, 1342, 621, 657, 30, 46506, 20625, 7203, 18760, 2736, 4943, 16034, 3084, 62, 5066, 15377, 33411, 366, 26766, 1, 1279, 705, 15, 6 ]
What is the IATA code for the airport with an ICAO code of HLLS?
SELECT iata FROM table_name_19 WHERE icao = "hlls"
[ 2061, 318, 262, 314, 13563, 2438, 329, 262, 9003, 351, 281, 314, 8141, 46, 2438, 286, 367, 3069, 50, 30, 46506, 1312, 1045, 16034, 3084, 62, 3672, 62, 1129, 33411, 220, 3970, 78, 796, 366, 71, 297, 82, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 314, 13563, 2438, 329, 262, 9003, 351, 281, 314, 8141, 46, 2438, 286, 367, 3069, 50, 30, 46506, 1312, 1045, 16034, 3084, 62, 3672, 62, 1129, 33411, 220, 3970, 78, 796, 366, 71, 297, 82, 1 ]
what are the four most frequent prescribed drugs for patients that were prescribed with polyethylene glycol 3350 udpwd at the same time since 2104?
SELECT t3.drugname FROM (SELECT t2.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, medication.drugstarttime FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid WHERE medication.drugname = 'polyethylene glycol 3350 udpwd' AND STRFTIME('%y', ...
[ 10919, 389, 262, 1440, 749, 10792, 14798, 5010, 329, 3871, 326, 547, 14798, 351, 7514, 21610, 1734, 13874, 4033, 4747, 1120, 334, 26059, 16993, 379, 262, 976, 640, 1201, 362, 13464, 30, 46506, 256, 18, 13, 30349, 3672, 16034, 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...
[ 10919, 389, 262, 1440, 749, 10792, 14798, 5010, 329, 3871, 326, 547, 14798, 351, 7514, 21610, 1734, 13874, 4033, 4747, 1120, 334, 26059, 16993, 379, 262, 976, 640, 1201, 362, 13464, 30, 46506, 256, 18, 13, 30349, 3672, 16034, 357, 46506...
What type of cartridge is used by a Winchester?
SELECT cartridge FROM table_16010376_1 WHERE source = "Winchester"
[ 2061, 2099, 286, 26904, 318, 973, 416, 257, 40868, 30, 46506, 26904, 16034, 3084, 62, 1433, 20943, 32128, 62, 16, 33411, 2723, 796, 366, 54, 1939, 19593, 1 ]
[ 1, 1, 1, 1, 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, 2099, 286, 26904, 318, 973, 416, 257, 40868, 30, 46506, 26904, 16034, 3084, 62, 1433, 20943, 32128, 62, 16, 33411, 2723, 796, 366, 54, 1939, 19593, 1 ]
Which name has a lane smaller than 7, and a time greater than 54.32 with germany as the nationality and a rank less than 5?
SELECT "Name" FROM table_15704 WHERE "Lane" < '7' AND "Time" > '54.32' AND "Nationality" = 'germany' AND "Rank" < '5'
[ 13828, 1438, 468, 257, 11193, 4833, 621, 767, 11, 290, 257, 640, 3744, 621, 7175, 13, 2624, 351, 308, 2224, 88, 355, 262, 29835, 290, 257, 4279, 1342, 621, 642, 30, 46506, 366, 5376, 1, 16034, 3084, 62, 1314, 32869, 33411, 366, 43, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1438, 468, 257, 11193, 4833, 621, 767, 11, 290, 257, 640, 3744, 621, 7175, 13, 2624, 351, 308, 2224, 88, 355, 262, 29835, 290, 257, 4279, 1342, 621, 642, 30, 46506, 366, 5376, 1, 16034, 3084, 62, 1314, 32869, 33411, 366, 43, ...
When did first minister Henry Mcleish enter office?
SELECT "Entered office" FROM table_68219 WHERE "First Minister" = 'henry mcleish'
[ 2215, 750, 717, 5342, 8616, 1982, 293, 680, 3802, 2607, 30, 46506, 366, 14539, 1068, 2607, 1, 16034, 3084, 62, 3104, 28896, 33411, 366, 5962, 4139, 1, 796, 705, 831, 563, 285, 2375, 680, 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 ]
[ 2215, 750, 717, 5342, 8616, 1982, 293, 680, 3802, 2607, 30, 46506, 366, 14539, 1068, 2607, 1, 16034, 3084, 62, 3104, 28896, 33411, 366, 5962, 4139, 1, 796, 705, 831, 563, 285, 2375, 680, 6 ]
in 2105, what were the top three most common intakes?
SELECT t1.celllabel FROM (SELECT intakeoutput.celllabel, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM intakeoutput WHERE intakeoutput.cellpath LIKE '%intake%' AND STRFTIME('%y', intakeoutput.intakeoutputtime) = '2105' GROUP BY intakeoutput.celllabel) AS t1 WHERE t1.c1 <= 3
[ 259, 362, 13348, 11, 644, 547, 262, 1353, 1115, 749, 2219, 42219, 30, 46506, 256, 16, 13, 3846, 18242, 16034, 357, 46506, 10337, 22915, 13, 3846, 18242, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 259, 362, 13348, 11, 644, 547, 262, 1353, 1115, 749, 2219, 42219, 30, 46506, 256, 16, 13, 3846, 18242, 16034, 357, 46506, 10337, 22915, 13, 3846, 18242, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, ...
Which date had a game with the New York Giants as the winner, year over 1985, and a result of 17-14?
SELECT "Date" FROM table_46272 WHERE "Winner" = 'new york giants' AND "Year" > '1985' AND "Result" = '17-14'
[ 13828, 3128, 550, 257, 983, 351, 262, 968, 1971, 12056, 355, 262, 8464, 11, 614, 625, 12863, 11, 290, 257, 1255, 286, 1596, 12, 1415, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 3510, 29807, 33411, 366, 48056, 1, 796, 705, 3605, 331,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3128, 550, 257, 983, 351, 262, 968, 1971, 12056, 355, 262, 8464, 11, 614, 625, 12863, 11, 290, 257, 1255, 286, 1596, 12, 1415, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 3510, 29807, 33411, 366, 48056, 1, 796, 705, 3605, 331,...
What is the total number of squad no when there are more than 8 points, Danny Mcguire is a player, and there are more than 0 goals?
SELECT SUM(squad_no) FROM table_name_23 WHERE points > 8 AND player = "danny mcguire" AND goals > 0
[ 2061, 318, 262, 2472, 1271, 286, 8244, 645, 618, 612, 389, 517, 621, 807, 2173, 11, 15105, 1982, 5162, 557, 318, 257, 2137, 11, 290, 612, 389, 517, 621, 657, 4661, 30, 46506, 35683, 7, 16485, 324, 62, 3919, 8, 16034, 3084, 62, 367...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8244, 645, 618, 612, 389, 517, 621, 807, 2173, 11, 15105, 1982, 5162, 557, 318, 257, 2137, 11, 290, 612, 389, 517, 621, 657, 4661, 30, 46506, 35683, 7, 16485, 324, 62, 3919, 8, 16034, 3084, 62, 367...
In what Year is the Gauge 2 ft 6 in?
SELECT year FROM table_name_22 WHERE gauge = "2 ft 6 in"
[ 818, 644, 6280, 318, 262, 35094, 469, 362, 10117, 718, 287, 30, 46506, 614, 16034, 3084, 62, 3672, 62, 1828, 33411, 18266, 796, 366, 17, 10117, 718, 287, 1 ]
[ 1, 1, 1, 1, 1, 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, 318, 262, 35094, 469, 362, 10117, 718, 287, 30, 46506, 614, 16034, 3084, 62, 3672, 62, 1828, 33411, 18266, 796, 366, 17, 10117, 718, 287, 1 ]
See tags of my answers.
SELECT TagName, COUNT(*) AS UpVotes FROM Tags INNER JOIN PostTags ON PostTags.TagId = Tags.Id INNER JOIN Posts ON Posts.ParentId = PostTags.PostId INNER JOIN Votes ON Votes.PostId = Posts.Id AND VoteTypeId = 2 WHERE Posts.OwnerUserId = @UserId GROUP BY TagName ORDER BY UpVotes DESC
[ 6214, 15940, 286, 616, 7429, 13, 46506, 17467, 5376, 11, 327, 28270, 7, 28104, 7054, 3205, 53, 6421, 16034, 44789, 3268, 21479, 32357, 1268, 2947, 36142, 6177, 2947, 36142, 13, 24835, 7390, 796, 44789, 13, 7390, 3268, 21479, 32357, 1268, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 6214, 15940, 286, 616, 7429, 13, 46506, 17467, 5376, 11, 327, 28270, 7, 28104, 7054, 3205, 53, 6421, 16034, 44789, 3268, 21479, 32357, 1268, 2947, 36142, 6177, 2947, 36142, 13, 24835, 7390, 796, 44789, 13, 7390, 3268, 21479, 32357, 1268, ...
Number of users on SO.
SELECT COUNT(*) FROM Users
[ 15057, 286, 2985, 319, 12809, 13, 46506, 327, 28270, 7, 28104, 16034, 18987 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15057, 286, 2985, 319, 12809, 13, 46506, 327, 28270, 7, 28104, 16034, 18987 ]
Name the driver for race time being 2:34:21
SELECT driver FROM table_16493961_1 WHERE race_time = "2:34:21"
[ 5376, 262, 4639, 329, 3234, 640, 852, 362, 25, 2682, 25, 2481, 46506, 4639, 16034, 3084, 62, 1433, 2920, 2670, 5333, 62, 16, 33411, 3234, 62, 2435, 796, 366, 17, 25, 2682, 25, 2481, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4639, 329, 3234, 640, 852, 362, 25, 2682, 25, 2481, 46506, 4639, 16034, 3084, 62, 1433, 2920, 2670, 5333, 62, 16, 33411, 3234, 62, 2435, 796, 366, 17, 25, 2682, 25, 2481, 1 ]
What source has delph as the name?
SELECT "Source" FROM table_12563 WHERE "Name" = 'delph'
[ 2061, 2723, 468, 1619, 746, 355, 262, 1438, 30, 46506, 366, 7416, 1, 16034, 3084, 62, 1065, 46572, 33411, 366, 5376, 1, 796, 705, 12381, 746, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 2723, 468, 1619, 746, 355, 262, 1438, 30, 46506, 366, 7416, 1, 16034, 3084, 62, 1065, 46572, 33411, 366, 5376, 1, 796, 705, 12381, 746, 6 ]
What type ends in 2011, has a free transfer fee, and is sourced in leeds united?
SELECT type FROM table_name_26 WHERE ends = "2011" AND transfer_fee = "free" AND source = "leeds united"
[ 2061, 2099, 5645, 287, 2813, 11, 468, 257, 1479, 4351, 6838, 11, 290, 318, 18229, 287, 443, 5379, 16503, 30, 46506, 2099, 16034, 3084, 62, 3672, 62, 2075, 33411, 5645, 796, 366, 9804, 1, 5357, 4351, 62, 39071, 796, 366, 5787, 1, 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 ]
[ 2061, 2099, 5645, 287, 2813, 11, 468, 257, 1479, 4351, 6838, 11, 290, 318, 18229, 287, 443, 5379, 16503, 30, 46506, 2099, 16034, 3084, 62, 3672, 62, 2075, 33411, 5645, 796, 366, 9804, 1, 5357, 4351, 62, 39071, 796, 366, 5787, 1, 535...
which university had the most years won ?
SELECT "university" FROM table_204_19 ORDER BY "winner" DESC LIMIT 1
[ 4758, 6403, 550, 262, 749, 812, 1839, 5633, 46506, 366, 403, 1608, 1, 16034, 3084, 62, 18638, 62, 1129, 38678, 11050, 366, 39791, 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 ]
[ 4758, 6403, 550, 262, 749, 812, 1839, 5633, 46506, 366, 403, 1608, 1, 16034, 3084, 62, 18638, 62, 1129, 38678, 11050, 366, 39791, 1, 22196, 34, 27564, 2043, 352 ]
What is the fewest number of silver medals won by Canada with fewer than 3 total medals?
SELECT MIN("Silver") FROM table_79580 WHERE "Nation" = 'canada' AND "Total" < '3'
[ 2061, 318, 262, 1178, 395, 1271, 286, 8465, 28057, 1839, 416, 3340, 351, 7380, 621, 513, 2472, 28057, 30, 46506, 20625, 7203, 26766, 4943, 16034, 3084, 62, 3720, 39322, 33411, 366, 46108, 1, 796, 705, 5171, 4763, 6, 5357, 366, 14957, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1178, 395, 1271, 286, 8465, 28057, 1839, 416, 3340, 351, 7380, 621, 513, 2472, 28057, 30, 46506, 20625, 7203, 26766, 4943, 16034, 3084, 62, 3720, 39322, 33411, 366, 46108, 1, 796, 705, 5171, 4763, 6, 5357, 366, 14957, ...
What is the lowest pick number of John Scully?
SELECT MIN(pick__number) FROM table_name_45 WHERE name = "john scully"
[ 2061, 318, 262, 9016, 2298, 1271, 286, 1757, 47953, 30, 46506, 20625, 7, 27729, 834, 17618, 8, 16034, 3084, 62, 3672, 62, 2231, 33411, 1438, 796, 366, 30686, 629, 2132, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 2298, 1271, 286, 1757, 47953, 30, 46506, 20625, 7, 27729, 834, 17618, 8, 16034, 3084, 62, 3672, 62, 2231, 33411, 1438, 796, 366, 30686, 629, 2132, 1 ]
Name the last time for club of newell's old boys
SELECT last_title FROM table_name_11 WHERE club = "newell's old boys"
[ 5376, 262, 938, 640, 329, 3430, 286, 649, 695, 338, 1468, 6510, 46506, 938, 62, 7839, 16034, 3084, 62, 3672, 62, 1157, 33411, 3430, 796, 366, 3605, 695, 338, 1468, 6510, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 938, 640, 329, 3430, 286, 649, 695, 338, 1468, 6510, 46506, 938, 62, 7839, 16034, 3084, 62, 3672, 62, 1157, 33411, 3430, 796, 366, 3605, 695, 338, 1468, 6510, 1 ]
What records are hit where the opponent is Aylesbury United?
SELECT "Record" FROM table_17640 WHERE "Opponent" = 'Aylesbury United'
[ 2061, 4406, 389, 2277, 810, 262, 6125, 318, 13709, 829, 10711, 1578, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 24096, 1821, 33411, 366, 27524, 3471, 1, 796, 705, 32, 24327, 10711, 1578, 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, 4406, 389, 2277, 810, 262, 6125, 318, 13709, 829, 10711, 1578, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 24096, 1821, 33411, 366, 27524, 3471, 1, 796, 705, 32, 24327, 10711, 1578, 6 ]
What is the highest score for candidate Mohsen Rezaee when candidate mir-hossein mousavi scored 837858 votes?
SELECT MAX("Mohsen Rezaee") FROM table_25998 WHERE "Mir-Hossein Mousavi" = '837858'
[ 2061, 318, 262, 4511, 4776, 329, 4540, 9719, 6248, 797, 4496, 1453, 618, 4540, 5720, 12, 71, 418, 20719, 285, 516, 15820, 7781, 807, 30695, 3365, 5690, 30, 46506, 25882, 7203, 38443, 6248, 797, 4496, 1453, 4943, 16034, 3084, 62, 1495, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4511, 4776, 329, 4540, 9719, 6248, 797, 4496, 1453, 618, 4540, 5720, 12, 71, 418, 20719, 285, 516, 15820, 7781, 807, 30695, 3365, 5690, 30, 46506, 25882, 7203, 38443, 6248, 797, 4496, 1453, 4943, 16034, 3084, 62, 1495, ...
Name the 1821 with 1861 of 3733
SELECT "1821" FROM table_38876 WHERE "1861" = '3733'
[ 5376, 262, 1248, 2481, 351, 45278, 286, 5214, 2091, 46506, 366, 1507, 2481, 1, 16034, 3084, 62, 30460, 4304, 33411, 366, 1507, 5333, 1, 796, 705, 2718, 2091, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 1248, 2481, 351, 45278, 286, 5214, 2091, 46506, 366, 1507, 2481, 1, 16034, 3084, 62, 30460, 4304, 33411, 366, 1507, 5333, 1, 796, 705, 2718, 2091, 6 ]