instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
Who is the head of household for task number 7?
SELECT "Head of Household" FROM table_38713 WHERE "Task No." = '7'
[ 8241, 318, 262, 1182, 286, 6641, 329, 4876, 1271, 767, 30, 46506, 366, 13847, 286, 37306, 1, 16034, 3084, 62, 32220, 1485, 33411, 366, 25714, 1400, 526, 796, 705, 22, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 318, 262, 1182, 286, 6641, 329, 4876, 1271, 767, 30, 46506, 366, 13847, 286, 37306, 1, 16034, 3084, 62, 32220, 1485, 33411, 366, 25714, 1400, 526, 796, 705, 22, 6 ]
What is Surface, when Edition is 2012, and when Outcome is Winner?
SELECT surface FROM table_name_51 WHERE edition = 2012 AND outcome = "winner"
[ 2061, 318, 20321, 11, 618, 5061, 318, 2321, 11, 290, 618, 3806, 2958, 318, 25358, 30, 46506, 4417, 16034, 3084, 62, 3672, 62, 4349, 33411, 8313, 796, 2321, 5357, 8055, 796, 366, 39791, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 20321, 11, 618, 5061, 318, 2321, 11, 290, 618, 3806, 2958, 318, 25358, 30, 46506, 4417, 16034, 3084, 62, 3672, 62, 4349, 33411, 8313, 796, 2321, 5357, 8055, 796, 366, 39791, 1 ]
What is the Second when the third is don walchuk?
SELECT "Second" FROM table_41282 WHERE "Third" = 'don walchuk'
[ 2061, 318, 262, 5498, 618, 262, 2368, 318, 836, 6514, 46019, 30, 46506, 366, 12211, 1, 16034, 3084, 62, 39226, 6469, 33411, 366, 22747, 1, 796, 705, 9099, 6514, 46019, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 5498, 618, 262, 2368, 318, 836, 6514, 46019, 30, 46506, 366, 12211, 1, 16034, 3084, 62, 39226, 6469, 33411, 366, 22747, 1, 796, 705, 9099, 6514, 46019, 6 ]
What is Position, when Nationality is 'Canada', and when Round is greater than 3?
SELECT position FROM table_name_31 WHERE nationality = "canada" AND round > 3
[ 2061, 318, 23158, 11, 618, 2351, 414, 318, 705, 17940, 3256, 290, 618, 10485, 318, 3744, 621, 513, 30, 46506, 2292, 16034, 3084, 62, 3672, 62, 3132, 33411, 29835, 796, 366, 5171, 4763, 1, 5357, 2835, 1875, 513 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 23158, 11, 618, 2351, 414, 318, 705, 17940, 3256, 290, 618, 10485, 318, 3744, 621, 513, 30, 46506, 2292, 16034, 3084, 62, 3672, 62, 3132, 33411, 29835, 796, 366, 5171, 4763, 1, 5357, 2835, 1875, 513 ]
What courses that I 've taken are computing infrastructure courses ?
SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN student_record ON student_record.course_id = course.course_id INNER JOIN area ON student_record.course_id = area.course_id WHERE area.area LIKE '%computing infrastructure%' AND student_record.student_id = 1
[ 2061, 10902, 326, 314, 705, 303, 2077, 389, 14492, 6884, 10902, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 3268, 21479, 32357, 1268, 3710, 62, 22105, 6177, 3710, 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, 10902, 326, 314, 705, 303, 2077, 389, 14492, 6884, 10902, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 3268, 21479, 32357, 1268, 3710, 62, 22105, 6177, 3710, 62, ...
Who did the Raptors play against when their record was 13-48?
SELECT team FROM table_13619053_8 WHERE record = "13-48"
[ 8241, 750, 262, 30836, 711, 1028, 618, 511, 1700, 373, 1511, 12, 2780, 30, 46506, 1074, 16034, 3084, 62, 20809, 1129, 2713, 18, 62, 23, 33411, 1700, 796, 366, 1485, 12, 2780, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 750, 262, 30836, 711, 1028, 618, 511, 1700, 373, 1511, 12, 2780, 30, 46506, 1074, 16034, 3084, 62, 20809, 1129, 2713, 18, 62, 23, 33411, 1700, 796, 366, 1485, 12, 2780, 1 ]
What classes need to be taken before ENS 350 ?
SELECT DISTINCT COURSE_1.department, COURSE_1.name, COURSE_1.number FROM course AS COURSE_0 INNER JOIN course_prerequisite ON COURSE_0.course_id = course_prerequisite.course_id INNER JOIN course AS COURSE_1 ON COURSE_1.course_id = course_prerequisite.pre_course_id WHERE COURSE_0.department = 'ENS' AND COURSE_0.number =...
[ 2061, 6097, 761, 284, 307, 2077, 878, 412, 8035, 13803, 5633, 46506, 360, 8808, 1268, 4177, 37384, 5188, 62, 16, 13, 10378, 1823, 11, 37384, 5188, 62, 16, 13, 3672, 11, 37384, 5188, 62, 16, 13, 17618, 16034, 1781, 7054, 37384, 5188, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6097, 761, 284, 307, 2077, 878, 412, 8035, 13803, 5633, 46506, 360, 8808, 1268, 4177, 37384, 5188, 62, 16, 13, 10378, 1823, 11, 37384, 5188, 62, 16, 13, 3672, 11, 37384, 5188, 62, 16, 13, 17618, 16034, 1781, 7054, 37384, 5188, ...
What is the start address when the network number bit field is 16?
SELECT start_address FROM table_name_88 WHERE size_of_network_number_bit_field = "16"
[ 2061, 318, 262, 923, 2209, 618, 262, 3127, 1271, 1643, 2214, 318, 1467, 30, 46506, 923, 62, 21975, 16034, 3084, 62, 3672, 62, 3459, 33411, 2546, 62, 1659, 62, 27349, 62, 17618, 62, 2545, 62, 3245, 796, 366, 1433, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 923, 2209, 618, 262, 3127, 1271, 1643, 2214, 318, 1467, 30, 46506, 923, 62, 21975, 16034, 3084, 62, 3672, 62, 3459, 33411, 2546, 62, 1659, 62, 27349, 62, 17618, 62, 2545, 62, 3245, 796, 366, 1433, 1 ]
what are the three most frequent drugs prescribed to the seizures - suspected female patients 30s within 2 months after having been diagnosed with seizures - suspected until 2103?
SELECT t3.drugname FROM (SELECT t2.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'seizures - suspected' AND STRFTIME('%y', diagnosis...
[ 10919, 389, 262, 1115, 749, 10792, 5010, 14798, 284, 262, 24715, 532, 9885, 4048, 3871, 1542, 82, 1626, 362, 1933, 706, 1719, 587, 14641, 351, 24715, 532, 9885, 1566, 362, 15197, 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, 1115, 749, 10792, 5010, 14798, 284, 262, 24715, 532, 9885, 4048, 3871, 1542, 82, 1626, 362, 1933, 706, 1719, 587, 14641, 351, 24715, 532, 9885, 1566, 362, 15197, 30, 46506, 256, 18, 13, 30349, 3672, 16034, 357, 46506, ...
other than 1984 , what year did he place first ?
SELECT "year" FROM table_204_780 WHERE "year" <> 1984 AND "position" = 1
[ 847, 621, 12844, 837, 644, 614, 750, 339, 1295, 717, 5633, 46506, 366, 1941, 1, 16034, 3084, 62, 18638, 62, 40873, 33411, 366, 1941, 1, 1279, 29, 12844, 5357, 366, 9150, 1, 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, 1 ]
[ 847, 621, 12844, 837, 644, 614, 750, 339, 1295, 717, 5633, 46506, 366, 1941, 1, 16034, 3084, 62, 18638, 62, 40873, 33411, 366, 1941, 1, 1279, 29, 12844, 5357, 366, 9150, 1, 796, 352 ]
Give me a histogram for what is the number of players who have points less than 30 for each position?
SELECT Position, COUNT(*) FROM player WHERE Points < 30 GROUP BY Position
[ 23318, 502, 257, 1554, 21857, 329, 644, 318, 262, 1271, 286, 1938, 508, 423, 2173, 1342, 621, 1542, 329, 1123, 2292, 30, 46506, 23158, 11, 327, 28270, 7, 28104, 16034, 2137, 33411, 11045, 1279, 1542, 44441, 11050, 23158 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 262, 1271, 286, 1938, 508, 423, 2173, 1342, 621, 1542, 329, 1123, 2292, 30, 46506, 23158, 11, 327, 28270, 7, 28104, 16034, 2137, 33411, 11045, 1279, 1542, 44441, 11050, 23158 ]
list DL flights from SEATTLE to SALT LAKE CITY with aircraft type
SELECT DISTINCT flight.flight_id FROM aircraft, equipment_sequence, flight WHERE ((flight.from_airport IN (SELECT AIRPORT_SERVICEalias0.airport_code FROM airport_service AS AIRPORT_SERVICEalias0 WHERE AIRPORT_SERVICEalias0.city_code IN (SELECT CITYalias0.city_code FROM city AS CITYalias0 WHERE CITYalias0.city_name = 'S...
[ 4868, 23641, 13956, 422, 7946, 35455, 284, 311, 31429, 9131, 7336, 27993, 351, 6215, 2099, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 6215, 11, 5112, 62, 43167, 11, 5474, 33411, 14808, 22560, 13, 6738, 62, 958, 634, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 23641, 13956, 422, 7946, 35455, 284, 311, 31429, 9131, 7336, 27993, 351, 6215, 2099, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 6215, 11, 5112, 62, 43167, 11, 5474, 33411, 14808, 22560, 13, 6738, 62, 958, 634, ...
With the Type is game of friendly and the City Belgrade and November 2 as the Date what were the Results ?
SELECT results¹ FROM table_name_82 WHERE type_of_game = "friendly" AND city = "belgrade" AND date = "november 2"
[ 3152, 262, 5994, 318, 983, 286, 8030, 290, 262, 2254, 3944, 9526, 290, 3389, 362, 355, 262, 7536, 644, 547, 262, 15691, 5633, 46506, 2482, 126, 117, 16034, 3084, 62, 3672, 62, 6469, 33411, 2099, 62, 1659, 62, 6057, 796, 366, 13120, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 3152, 262, 5994, 318, 983, 286, 8030, 290, 262, 2254, 3944, 9526, 290, 3389, 362, 355, 262, 7536, 644, 547, 262, 15691, 5633, 46506, 2482, 126, 117, 16034, 3084, 62, 3672, 62, 6469, 33411, 2099, 62, 1659, 62, 6057, 796, 366, 13120, ...
User's Favorited Posts. Ordered by Date Favorited (DESC)..
SELECT PostId AS "post_link", v.CreationDate AS "favorited_on" FROM Votes AS v INNER JOIN Posts AS p ON p.Id = v.PostId WHERE UserId = 25197 AND VoteTypeId = 5 ORDER BY v.CreationDate DESC
[ 12982, 338, 38196, 863, 12043, 13, 14230, 1068, 416, 7536, 38196, 863, 357, 30910, 34, 8, 492, 46506, 2947, 7390, 7054, 366, 7353, 62, 8726, 1600, 410, 13, 12443, 341, 10430, 7054, 366, 69, 5570, 863, 62, 261, 1, 16034, 39584, 7054, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12982, 338, 38196, 863, 12043, 13, 14230, 1068, 416, 7536, 38196, 863, 357, 30910, 34, 8, 492, 46506, 2947, 7390, 7054, 366, 7353, 62, 8726, 1600, 410, 13, 12443, 341, 10430, 7054, 366, 69, 5570, 863, 62, 261, 1, 16034, 39584, 7054, ...
What year was Neverchanger with the label of Latenight weeknight?
SELECT "Year" FROM table_58161 WHERE "Label" = 'latenight weeknight' AND "Release title" = 'neverchanger'
[ 2061, 614, 373, 7236, 354, 2564, 351, 262, 6167, 286, 5476, 268, 432, 1285, 3847, 30, 46506, 366, 17688, 1, 16034, 3084, 62, 3365, 25948, 33411, 366, 33986, 1, 796, 705, 15460, 268, 432, 1285, 3847, 6, 5357, 366, 26362, 3670, 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 ]
[ 2061, 614, 373, 7236, 354, 2564, 351, 262, 6167, 286, 5476, 268, 432, 1285, 3847, 30, 46506, 366, 17688, 1, 16034, 3084, 62, 3365, 25948, 33411, 366, 33986, 1, 796, 705, 15460, 268, 432, 1285, 3847, 6, 5357, 366, 26362, 3670, 1, 796...
What was the entrant in round 16 were Ferrari was the constructor?
SELECT "Entrant" FROM table_52403 WHERE "Rounds" = '16' AND "Constructor" = 'ferrari'
[ 2061, 373, 262, 920, 5250, 287, 2835, 1467, 547, 23502, 373, 262, 23772, 30, 46506, 366, 14539, 5250, 1, 16034, 3084, 62, 48057, 3070, 33411, 366, 49, 3733, 1, 796, 705, 1433, 6, 5357, 366, 42316, 273, 1, 796, 705, 2232, 81, 2743, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 920, 5250, 287, 2835, 1467, 547, 23502, 373, 262, 23772, 30, 46506, 366, 14539, 5250, 1, 16034, 3084, 62, 48057, 3070, 33411, 366, 49, 3733, 1, 796, 705, 1433, 6, 5357, 366, 42316, 273, 1, 796, 705, 2232, 81, 2743, ...
Compute the number of each type of job ids for employees who make more than the highest-earning employee with title PU_MAN, with a bar chart, display y-axis in ascending order.
SELECT JOB_ID, COUNT(JOB_ID) FROM employees WHERE SALARY > (SELECT MAX(SALARY) FROM employees WHERE JOB_ID = 'PU_MAN') GROUP BY JOB_ID ORDER BY COUNT(JOB_ID)
[ 7293, 1133, 262, 1271, 286, 1123, 2099, 286, 1693, 220, 2340, 329, 4409, 508, 787, 517, 621, 262, 4511, 12, 451, 768, 6538, 351, 3670, 24676, 62, 10725, 11, 351, 257, 2318, 8262, 11, 3359, 331, 12, 22704, 287, 41988, 1502, 13, 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...
[ 7293, 1133, 262, 1271, 286, 1123, 2099, 286, 1693, 220, 2340, 329, 4409, 508, 787, 517, 621, 262, 4511, 12, 451, 768, 6538, 351, 3670, 24676, 62, 10725, 11, 351, 257, 2318, 8262, 11, 3359, 331, 12, 22704, 287, 41988, 1502, 13, 46506...
What is Score, when Visitor is 'Pittsburgh', and when Points is greater than 18?
SELECT score FROM table_name_7 WHERE visitor = "pittsburgh" AND points > 18
[ 2061, 318, 15178, 11, 618, 6911, 2072, 318, 705, 47627, 11931, 3256, 290, 618, 11045, 318, 3744, 621, 1248, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 22, 33411, 21493, 796, 366, 79, 715, 11931, 1, 5357, 2173, 1875, 1248 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 15178, 11, 618, 6911, 2072, 318, 705, 47627, 11931, 3256, 290, 618, 11045, 318, 3744, 621, 1248, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 22, 33411, 21493, 796, 366, 79, 715, 11931, 1, 5357, 2173, 1875, 1248 ]
Who drove the Marlboro Mclaren Peugeot?
SELECT "Driver" FROM table_56951 WHERE "Entrant" = 'marlboro mclaren peugeot'
[ 8241, 10357, 262, 1526, 75, 21513, 337, 565, 5757, 2631, 2217, 313, 30, 46506, 366, 32103, 1, 16034, 3084, 62, 20, 3388, 4349, 33411, 366, 14539, 5250, 1, 796, 705, 3876, 75, 21513, 285, 565, 5757, 613, 2217, 313, 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 ]
[ 8241, 10357, 262, 1526, 75, 21513, 337, 565, 5757, 2631, 2217, 313, 30, 46506, 366, 32103, 1, 16034, 3084, 62, 20, 3388, 4349, 33411, 366, 14539, 5250, 1, 796, 705, 3876, 75, 21513, 285, 565, 5757, 613, 2217, 313, 6 ]
Which county has 438 (4%) listed under R. Bacon?
SELECT county FROM table_name_92 WHERE r_bacon = "438 (4%)"
[ 13828, 7968, 468, 604, 2548, 357, 19, 4407, 5610, 739, 371, 13, 28548, 30, 46506, 7968, 16034, 3084, 62, 3672, 62, 5892, 33411, 374, 62, 65, 7807, 796, 366, 43704, 357, 19, 4407, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7968, 468, 604, 2548, 357, 19, 4407, 5610, 739, 371, 13, 28548, 30, 46506, 7968, 16034, 3084, 62, 3672, 62, 5892, 33411, 374, 62, 65, 7807, 796, 366, 43704, 357, 19, 4407, 1 ]
How many members did Europe have the year that America had 403892?
SELECT europe FROM table_1914090_2 WHERE america = 403892
[ 2437, 867, 1866, 750, 2031, 423, 262, 614, 326, 2253, 550, 2319, 2548, 5892, 30, 46506, 11063, 431, 16034, 3084, 62, 1129, 1415, 42534, 62, 17, 33411, 45630, 64, 796, 2319, 2548, 5892 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1866, 750, 2031, 423, 262, 614, 326, 2253, 550, 2319, 2548, 5892, 30, 46506, 11063, 431, 16034, 3084, 62, 1129, 1415, 42534, 62, 17, 33411, 45630, 64, 796, 2319, 2548, 5892 ]
What is the lowest total?
SELECT MIN(total) FROM table_19439864_2
[ 2061, 318, 262, 9016, 2472, 30, 46506, 20625, 7, 23350, 8, 16034, 3084, 62, 22913, 31952, 2414, 62, 17 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 9016, 2472, 30, 46506, 20625, 7, 23350, 8, 16034, 3084, 62, 22913, 31952, 2414, 62, 17 ]
How many values of Other A correspond to Tommy Johnson Category:Articles with hCards?
SELECT COUNT("Other a") FROM table_19732 WHERE "Name" = 'Tommy Johnson Category:Articles with hCards'
[ 2437, 867, 3815, 286, 3819, 317, 6053, 284, 19919, 5030, 21743, 25, 8001, 2983, 351, 289, 34, 1371, 30, 46506, 327, 28270, 7203, 6395, 257, 4943, 16034, 3084, 62, 24991, 2624, 33411, 366, 5376, 1, 796, 705, 13787, 1820, 5030, 21743, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3815, 286, 3819, 317, 6053, 284, 19919, 5030, 21743, 25, 8001, 2983, 351, 289, 34, 1371, 30, 46506, 327, 28270, 7203, 6395, 257, 4943, 16034, 3084, 62, 24991, 2624, 33411, 366, 5376, 1, 796, 705, 13787, 1820, 5030, 21743, 2...
What is the sum of Points, when Equipment was 'Zabel-BSU', and when Position was 42?
SELECT SUM("Points") FROM table_50488 WHERE "Equipment" = 'zabel-bsu' AND "Position" = '42'
[ 2061, 318, 262, 2160, 286, 11045, 11, 618, 22412, 373, 705, 57, 9608, 12, 4462, 52, 3256, 290, 618, 23158, 373, 5433, 30, 46506, 35683, 7203, 40710, 4943, 16034, 3084, 62, 1120, 33646, 33411, 366, 23588, 4667, 1, 796, 705, 89, 9608, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11045, 11, 618, 22412, 373, 705, 57, 9608, 12, 4462, 52, 3256, 290, 618, 23158, 373, 5433, 30, 46506, 35683, 7203, 40710, 4943, 16034, 3084, 62, 1120, 33646, 33411, 366, 23588, 4667, 1, 796, 705, 89, 9608, ...
What was the result of the match against Pat Lawlor?
SELECT result FROM table_name_46 WHERE opponent = "pat lawlor"
[ 2061, 373, 262, 1255, 286, 262, 2872, 1028, 3208, 3854, 4685, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 3510, 33411, 6125, 796, 366, 8071, 1099, 4685, 1 ]
[ 1, 1, 1, 1, 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, 1255, 286, 262, 2872, 1028, 3208, 3854, 4685, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 3510, 33411, 6125, 796, 366, 8071, 1099, 4685, 1 ]
what is maximum age of patients whose ethnicity is white and admission year is greater than or equal to 2120?
SELECT MAX(demographic.age) FROM demographic WHERE demographic.ethnicity = "WHITE" AND demographic.admityear >= "2120"
[ 10919, 318, 5415, 2479, 286, 3871, 3025, 26289, 318, 2330, 290, 13938, 614, 318, 3744, 621, 393, 4961, 284, 362, 10232, 30, 46506, 25882, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 38546, 414, 796, 366, 12418, 12709, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5415, 2479, 286, 3871, 3025, 26289, 318, 2330, 290, 13938, 614, 318, 3744, 621, 393, 4961, 284, 362, 10232, 30, 46506, 25882, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 38546, 414, 796, 366, 12418, 12709, 1...
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, draw a bar chart about the distribution of hire_date and the sum of salary bin hire_date by weekday, and order y-axis in asc order.
SELECT HIRE_DATE, SUM(SALARY) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 ORDER BY SUM(SALARY)
[ 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, 3197, 257, 2318, 8262, 546, 262, 6082, 286, 11078, 62, 4475, 290, 262, 2160, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3197, 257, 2318, 8262, 546, 262, 6082, 286, 11078, 62, 4475, 290, 262, 2160, 28...
what is the average for 2005 when 1995 is more than 3, 1996 is less than 4, and 2011 is more than 5?
SELECT AVG(2005) FROM table_name_77 WHERE 1995 > 3 AND 1996 < 4 AND 2011 > 5
[ 10919, 318, 262, 2811, 329, 5075, 618, 8735, 318, 517, 621, 513, 11, 8235, 318, 1342, 621, 604, 11, 290, 2813, 318, 517, 621, 642, 30, 46506, 35224, 7, 14315, 8, 16034, 3084, 62, 3672, 62, 3324, 33411, 8735, 1875, 513, 5357, 8235, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 2811, 329, 5075, 618, 8735, 318, 517, 621, 513, 11, 8235, 318, 1342, 621, 604, 11, 290, 2813, 318, 517, 621, 642, 30, 46506, 35224, 7, 14315, 8, 16034, 3084, 62, 3672, 62, 3324, 33411, 8735, 1875, 513, 5357, 8235, ...
Who had the pole at the French Grand Prix?
SELECT pole_position FROM table_name_86 WHERE grand_prix = "french grand prix"
[ 8241, 550, 262, 16825, 379, 262, 4141, 5675, 23832, 30, 46506, 16825, 62, 9150, 16034, 3084, 62, 3672, 62, 4521, 33411, 4490, 62, 3448, 87, 796, 366, 69, 3532, 4490, 1293, 87, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 550, 262, 16825, 379, 262, 4141, 5675, 23832, 30, 46506, 16825, 62, 9150, 16034, 3084, 62, 3672, 62, 4521, 33411, 4490, 62, 3448, 87, 796, 366, 69, 3532, 4490, 1293, 87, 1 ]
when is the last time patient 011-55642 had the maximum value of creatinine during this hospital visit?
SELECT lab.labresulttime FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '011-55642' AND patient.hospitaldischargetime IS NULL)) AND lab.labname = 'creatinin...
[ 12518, 318, 262, 938, 640, 5827, 5534, 16, 12, 2816, 41290, 550, 262, 5415, 1988, 286, 1827, 259, 500, 1141, 428, 4436, 3187, 30, 46506, 2248, 13, 23912, 20274, 2435, 16034, 2248, 33411, 2248, 13, 26029, 20850, 31712, 312, 3268, 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...
[ 12518, 318, 262, 938, 640, 5827, 5534, 16, 12, 2816, 41290, 550, 262, 5415, 1988, 286, 1827, 259, 500, 1141, 428, 4436, 3187, 30, 46506, 2248, 13, 23912, 20274, 2435, 16034, 2248, 33411, 2248, 13, 26029, 20850, 31712, 312, 3268, 357, ...
what are the four most common lab tests for the patients who received a systemic glucocorticoid - methylprednisolone before within 2 months?
SELECT t3.labname FROM (SELECT t2.labname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, treatment.treatmenttime FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'systemic glucocorticoid - methylprednisolone') AS t1...
[ 10919, 389, 262, 1440, 749, 2219, 2248, 5254, 329, 262, 3871, 508, 2722, 257, 21971, 14182, 420, 419, 291, 1868, 532, 27664, 28764, 21361, 349, 505, 878, 1626, 362, 1933, 30, 46506, 256, 18, 13, 23912, 3672, 16034, 357, 46506, 256, 17...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 389, 262, 1440, 749, 2219, 2248, 5254, 329, 262, 3871, 508, 2722, 257, 21971, 14182, 420, 419, 291, 1868, 532, 27664, 28764, 21361, 349, 505, 878, 1626, 362, 1933, 30, 46506, 256, 18, 13, 23912, 3672, 16034, 357, 46506, 256, 17...
What is the Song choice when Elaine Paige was the Original artist?
SELECT "Song choice" FROM table_7251 WHERE "Original artist" = 'elaine paige'
[ 2061, 318, 262, 10940, 3572, 618, 41463, 42847, 373, 262, 13745, 6802, 30, 46506, 366, 44241, 3572, 1, 16034, 3084, 62, 22, 28072, 33411, 366, 20556, 6802, 1, 796, 705, 417, 5718, 14187, 10045, 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, 10940, 3572, 618, 41463, 42847, 373, 262, 13745, 6802, 30, 46506, 366, 44241, 3572, 1, 16034, 3084, 62, 22, 28072, 33411, 366, 20556, 6802, 1, 796, 705, 417, 5718, 14187, 10045, 6 ]
what is the daily maximum of output (ml)-urethral catheter latex;straight-tip 14 fr. output of patient 035-166 on their first hospital encounter?
SELECT MAX(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 = '035-166' AND NOT patient.hospitaldischargetime I...
[ 10919, 318, 262, 4445, 5415, 286, 5072, 357, 4029, 13219, 495, 400, 1373, 3797, 43332, 47038, 26, 42729, 12, 22504, 1478, 1216, 13, 5072, 286, 5827, 657, 2327, 12, 23055, 319, 511, 717, 4436, 8791, 30, 46506, 25882, 7, 600, 539, 22915...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4445, 5415, 286, 5072, 357, 4029, 13219, 495, 400, 1373, 3797, 43332, 47038, 26, 42729, 12, 22504, 1478, 1216, 13, 5072, 286, 5827, 657, 2327, 12, 23055, 319, 511, 717, 4436, 8791, 30, 46506, 25882, 7, 600, 539, 22915...
Let me know the number of emergency hospital admitted patients who were diagnosed with an unspecified disease of sebaceous glands.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admission_type = "EMERGENCY" AND diagnoses.long_title = "Unspecified disease of sebaceous glands"
[ 5756, 502, 760, 262, 1271, 286, 6334, 4436, 6848, 3871, 508, 547, 14641, 351, 281, 29547, 4369, 286, 384, 65, 37797, 42093, 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...
[ 5756, 502, 760, 262, 1271, 286, 6334, 4436, 6848, 3871, 508, 547, 14641, 351, 281, 29547, 4369, 286, 384, 65, 37797, 42093, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357...
Name the number for margin of victory being 3 strokes
SELECT COUNT("No.") FROM table_24381 WHERE "Margin of victory" = '3 strokes'
[ 5376, 262, 1271, 329, 10330, 286, 5373, 852, 513, 29483, 46506, 327, 28270, 7203, 2949, 19570, 16034, 3084, 62, 1731, 36626, 33411, 366, 24428, 259, 286, 5373, 1, 796, 705, 18, 29483, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 1271, 329, 10330, 286, 5373, 852, 513, 29483, 46506, 327, 28270, 7203, 2949, 19570, 16034, 3084, 62, 1731, 36626, 33411, 366, 24428, 259, 286, 5373, 1, 796, 705, 18, 29483, 6 ]
What team is after 1998 with a start of dnq?
SELECT team FROM table_name_87 WHERE year > 1998 AND start = "dnq"
[ 2061, 1074, 318, 706, 7795, 351, 257, 923, 286, 288, 77, 80, 30, 46506, 1074, 16034, 3084, 62, 3672, 62, 5774, 33411, 614, 1875, 7795, 5357, 923, 796, 366, 32656, 80, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 318, 706, 7795, 351, 257, 923, 286, 288, 77, 80, 30, 46506, 1074, 16034, 3084, 62, 3672, 62, 5774, 33411, 614, 1875, 7795, 5357, 923, 796, 366, 32656, 80, 1 ]
Question where my answer has been accepted but some answer has better score than mine. This query will return, for a user, the list of question where his answer has been accepted but some others answer has better score
SELECT Q.Id AS Qid, Q.Title AS Qtitle, myA.Id AS myAid, myA.Body AS myAbody, allA.Id AS OthersAid, allA.Body AS OthersAbody FROM Posts AS myA, Posts AS allA, Posts AS Q WHERE Q.Id = allA.ParentId AND Q.AcceptedAnswerId = myA.Id AND myA.OwnerUserId = '##UserId##' AND myA.PostTypeId = 2 AND allA.PostTypeId = 2 AND allA.S...
[ 24361, 810, 616, 3280, 468, 587, 6292, 475, 617, 3280, 468, 1365, 4776, 621, 6164, 13, 770, 12405, 481, 1441, 11, 329, 257, 2836, 11, 262, 1351, 286, 1808, 810, 465, 3280, 468, 587, 6292, 475, 617, 1854, 3280, 468, 1365, 4776, 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...
[ 24361, 810, 616, 3280, 468, 587, 6292, 475, 617, 3280, 468, 1365, 4776, 621, 6164, 13, 770, 12405, 481, 1441, 11, 329, 257, 2836, 11, 262, 1351, 286, 1808, 810, 465, 3280, 468, 587, 6292, 475, 617, 1854, 3280, 468, 1365, 4776, 46506...
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, a bar chart shows the distribution of job_id and the sum of salary , and group by attribute job_id, and order by the JOB_ID from low to high.
SELECT JOB_ID, SUM(SALARY) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 GROUP BY JOB_ID ORDER BY JOB_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, 257, 2318, 8262, 2523, 262, 6082, 286, 1693, 62, 312, 290, 262, 2160, 286, 9588...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 257, 2318, 8262, 2523, 262, 6082, 286, 1693, 62, 312, 290, 262, 2160, 286, 9588...
give me patient 021-100763's total output volume a day before.
SELECT SUM(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 = '021-100763')) AND intakeoutput.cellpath LIKE '%o...
[ 26535, 502, 5827, 657, 2481, 12, 3064, 49641, 338, 2472, 5072, 6115, 257, 1110, 878, 13, 46506, 35683, 7, 600, 539, 22915, 13, 3846, 2100, 84, 268, 39223, 8, 16034, 10337, 22915, 33411, 10337, 22915, 13, 26029, 20850, 31712, 312, 3268, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5827, 657, 2481, 12, 3064, 49641, 338, 2472, 5072, 6115, 257, 1110, 878, 13, 46506, 35683, 7, 600, 539, 22915, 13, 3846, 2100, 84, 268, 39223, 8, 16034, 10337, 22915, 33411, 10337, 22915, 13, 26029, 20850, 31712, 312, 3268, ...
what is the organisation when the nominated work title is n/a in the year 2005?
SELECT organisation FROM table_name_79 WHERE nominated_work_title = "n/a" AND year = 2005
[ 10919, 318, 262, 12684, 618, 262, 19332, 670, 3670, 318, 299, 14, 64, 287, 262, 614, 5075, 30, 46506, 12684, 16034, 3084, 62, 3672, 62, 3720, 33411, 19332, 62, 1818, 62, 7839, 796, 366, 77, 14, 64, 1, 5357, 614, 796, 5075 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12684, 618, 262, 19332, 670, 3670, 318, 299, 14, 64, 287, 262, 614, 5075, 30, 46506, 12684, 16034, 3084, 62, 3672, 62, 3720, 33411, 19332, 62, 1818, 62, 7839, 796, 366, 77, 14, 64, 1, 5357, 614, 796, 5075 ]
Name the round 1 +2A points for horse of poncorde
SELECT "Round 1 + 2A Points" FROM table_12015 WHERE "Horse" = 'poncorde'
[ 5376, 262, 2835, 352, 1343, 17, 32, 2173, 329, 8223, 286, 279, 261, 66, 17531, 46506, 366, 22685, 352, 1343, 362, 32, 11045, 1, 16034, 3084, 62, 1065, 25150, 33411, 366, 39, 7615, 1, 796, 705, 79, 261, 66, 17531, 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 ]
[ 5376, 262, 2835, 352, 1343, 17, 32, 2173, 329, 8223, 286, 279, 261, 66, 17531, 46506, 366, 22685, 352, 1343, 362, 32, 11045, 1, 16034, 3084, 62, 1065, 25150, 33411, 366, 39, 7615, 1, 796, 705, 79, 261, 66, 17531, 6 ]
What was the position of the player who was picked in round 22?
SELECT "Position" FROM table_46758 WHERE "Round" = '22'
[ 2061, 373, 262, 2292, 286, 262, 2137, 508, 373, 6497, 287, 2835, 2534, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 3510, 38569, 33411, 366, 22685, 1, 796, 705, 1828, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 2292, 286, 262, 2137, 508, 373, 6497, 287, 2835, 2534, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 3510, 38569, 33411, 366, 22685, 1, 796, 705, 1828, 6 ]
Which School has an Enrollment larger than 264, and a County of 46 la porte?
SELECT school FROM table_name_52 WHERE enrollment > 264 AND county = "46 la porte"
[ 13828, 3961, 468, 281, 2039, 48108, 4025, 621, 32158, 11, 290, 257, 3418, 286, 6337, 8591, 2493, 68, 30, 46506, 1524, 16034, 3084, 62, 3672, 62, 4309, 33411, 20753, 1875, 32158, 5357, 7968, 796, 366, 3510, 8591, 2493, 68, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3961, 468, 281, 2039, 48108, 4025, 621, 32158, 11, 290, 257, 3418, 286, 6337, 8591, 2493, 68, 30, 46506, 1524, 16034, 3084, 62, 3672, 62, 4309, 33411, 20753, 1875, 32158, 5357, 7968, 796, 366, 3510, 8591, 2493, 68, 1 ]
What is the average price of the rooms for each different decor? Show me a bar chart!, list by the x-axis in descending.
SELECT decor, AVG(basePrice) FROM Rooms GROUP BY decor ORDER BY decor DESC
[ 2061, 318, 262, 2811, 2756, 286, 262, 9519, 329, 1123, 1180, 11705, 30, 5438, 502, 257, 2318, 8262, 28265, 1351, 416, 262, 2124, 12, 22704, 287, 31491, 13, 46506, 11705, 11, 35224, 7, 8692, 18124, 8, 16034, 42043, 44441, 11050, 11705, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2756, 286, 262, 9519, 329, 1123, 1180, 11705, 30, 5438, 502, 257, 2318, 8262, 28265, 1351, 416, 262, 2124, 12, 22704, 287, 31491, 13, 46506, 11705, 11, 35224, 7, 8692, 18124, 8, 16034, 42043, 44441, 11050, 11705, ...
what were the total per iv flush: forearm r doses patient 006-80884 had received in the previous day?
SELECT SUM(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-80884')) AND intakeoutput.celllabel = 'per i...
[ 10919, 547, 262, 2472, 583, 21628, 24773, 25, 41031, 374, 16376, 5827, 3571, 21, 12, 1795, 40353, 550, 2722, 287, 262, 2180, 1110, 30, 46506, 35683, 7, 600, 539, 22915, 13, 3846, 2100, 84, 268, 39223, 8, 16034, 10337, 22915, 33411, 10...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2472, 583, 21628, 24773, 25, 41031, 374, 16376, 5827, 3571, 21, 12, 1795, 40353, 550, 2722, 287, 262, 2180, 1110, 30, 46506, 35683, 7, 600, 539, 22915, 13, 3846, 2100, 84, 268, 39223, 8, 16034, 10337, 22915, 33411, 10...
Which member has Cook as the electorate?
SELECT "Member" FROM table_53657 WHERE "Electorate" = 'cook'
[ 13828, 2888, 468, 8261, 355, 262, 23879, 30, 46506, 366, 27608, 1, 16034, 3084, 62, 44468, 3553, 33411, 366, 19453, 16262, 1, 796, 705, 27916, 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, 2888, 468, 8261, 355, 262, 23879, 30, 46506, 366, 27608, 1, 16034, 3084, 62, 44468, 3553, 33411, 366, 19453, 16262, 1, 796, 705, 27916, 6 ]
what is days of hospital stay of subject name kelly gallardo?
SELECT demographic.days_stay FROM demographic WHERE demographic.name = "Kelly Gallardo"
[ 10919, 318, 1528, 286, 4436, 2652, 286, 2426, 1438, 885, 12810, 7976, 13109, 30, 46506, 16728, 13, 12545, 62, 31712, 16034, 16728, 33411, 16728, 13, 3672, 796, 366, 34831, 7096, 13109, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 1528, 286, 4436, 2652, 286, 2426, 1438, 885, 12810, 7976, 13109, 30, 46506, 16728, 13, 12545, 62, 31712, 16034, 16728, 33411, 16728, 13, 3672, 796, 366, 34831, 7096, 13109, 1 ]
Find best answer to my question.
SELECT Q.Title, Q.Body, A.Body, A.Score, Q.Id AS "post_link" FROM Posts AS Q JOIN Posts AS A ON (Q.AcceptedAnswerId = A.Id) WHERE Q.PostTypeId = 1 AND A.PostTypeId = 2 AND (Q.Title LIKE '%' + REPLACE(@question, ' ', '% ') + '%' OR Q.Body LIKE '%' + REPLACE(@question, ' ', '% ') + '%') ORDER BY DIFFERENCE(@question, Q.T...
[ 16742, 1266, 3280, 284, 616, 1808, 13, 46506, 1195, 13, 19160, 11, 1195, 13, 25842, 11, 317, 13, 25842, 11, 317, 13, 26595, 11, 1195, 13, 7390, 7054, 366, 7353, 62, 8726, 1, 16034, 12043, 7054, 1195, 32357, 1268, 12043, 7054, 317, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 16742, 1266, 3280, 284, 616, 1808, 13, 46506, 1195, 13, 19160, 11, 1195, 13, 25842, 11, 317, 13, 25842, 11, 317, 13, 26595, 11, 1195, 13, 7390, 7054, 366, 7353, 62, 8726, 1, 16034, 12043, 7054, 1195, 32357, 1268, 12043, 7054, 317, 6...
What is Ateneo de Manila's PBA Team?
SELECT "PBA team" FROM table_65064 WHERE "College" = 'ateneo de manila'
[ 2061, 318, 317, 1452, 68, 78, 390, 31721, 338, 350, 4339, 4816, 30, 46506, 366, 47, 4339, 1074, 1, 16034, 3084, 62, 17544, 2414, 33411, 366, 38951, 1, 796, 705, 265, 1734, 78, 390, 582, 10102, 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 ]
[ 2061, 318, 317, 1452, 68, 78, 390, 31721, 338, 350, 4339, 4816, 30, 46506, 366, 47, 4339, 1074, 1, 16034, 3084, 62, 17544, 2414, 33411, 366, 38951, 1, 796, 705, 265, 1734, 78, 390, 582, 10102, 6 ]
What year had an issue price of $2,995.95, and a theme of grizzly bear?
SELECT MAX(year) FROM table_name_10 WHERE issue_price = "$2,995.95" AND theme = "grizzly bear"
[ 2061, 614, 550, 281, 2071, 2756, 286, 720, 17, 11, 33438, 13, 3865, 11, 290, 257, 7505, 286, 46307, 306, 6842, 30, 46506, 25882, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 940, 33411, 2071, 62, 20888, 796, 17971, 17, 11, 33438, 13, 38...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 614, 550, 281, 2071, 2756, 286, 720, 17, 11, 33438, 13, 3865, 11, 290, 257, 7505, 286, 46307, 306, 6842, 30, 46506, 25882, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 940, 33411, 2071, 62, 20888, 796, 17971, 17, 11, 33438, 13, 38...
What is the average draw number of an entrant with a time of 22:29?
SELECT AVG(draw) FROM table_name_29 WHERE time = "22:29"
[ 2061, 318, 262, 2811, 3197, 1271, 286, 281, 920, 5250, 351, 257, 640, 286, 2534, 25, 1959, 30, 46506, 35224, 7, 19334, 8, 16034, 3084, 62, 3672, 62, 1959, 33411, 640, 796, 366, 1828, 25, 1959, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3197, 1271, 286, 281, 920, 5250, 351, 257, 640, 286, 2534, 25, 1959, 30, 46506, 35224, 7, 19334, 8, 16034, 3084, 62, 3672, 62, 1959, 33411, 640, 796, 366, 1828, 25, 1959, 1 ]
Who is the h.s. principal during 1973-1974?
SELECT hs_principal FROM table_name_81 WHERE year = "1973-1974"
[ 8241, 318, 262, 289, 13, 82, 13, 10033, 1141, 15674, 12, 40828, 30, 46506, 289, 82, 62, 1050, 1939, 8521, 16034, 3084, 62, 3672, 62, 6659, 33411, 614, 796, 366, 40220, 12, 40828, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 289, 13, 82, 13, 10033, 1141, 15674, 12, 40828, 30, 46506, 289, 82, 62, 1050, 1939, 8521, 16034, 3084, 62, 3672, 62, 6659, 33411, 614, 796, 366, 40220, 12, 40828, 1 ]
Which Attendance has a Date of november 19, 1961?
SELECT MIN("Attendance") FROM table_77173 WHERE "Date" = 'november 19, 1961'
[ 13828, 46502, 590, 468, 257, 7536, 286, 645, 303, 1916, 678, 11, 20510, 30, 46506, 20625, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 3324, 25399, 33411, 366, 10430, 1, 796, 705, 77, 3239, 678, 11, 20510, 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 ]
[ 13828, 46502, 590, 468, 257, 7536, 286, 645, 303, 1916, 678, 11, 20510, 30, 46506, 20625, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 3324, 25399, 33411, 366, 10430, 1, 796, 705, 77, 3239, 678, 11, 20510, 6 ]
Who had a 32-29-8 record at home?
SELECT home FROM table_name_55 WHERE record = "32-29-8"
[ 8241, 550, 257, 3933, 12, 1959, 12, 23, 1700, 379, 1363, 30, 46506, 1363, 16034, 3084, 62, 3672, 62, 2816, 33411, 1700, 796, 366, 2624, 12, 1959, 12, 23, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 550, 257, 3933, 12, 1959, 12, 23, 1700, 379, 1363, 30, 46506, 1363, 16034, 3084, 62, 3672, 62, 2816, 33411, 1700, 796, 366, 2624, 12, 1959, 12, 23, 1 ]
until 2 years ago what are the five most common medications prescribed to patients within 2 months after receiving packed cell transfusion?
SELECT t3.drug FROM (SELECT t2.drug, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, procedures_icd.charttime FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures ...
[ 28446, 362, 812, 2084, 644, 389, 262, 1936, 749, 2219, 17638, 14798, 284, 3871, 1626, 362, 1933, 706, 6464, 11856, 2685, 13501, 4241, 30, 46506, 256, 18, 13, 30349, 16034, 357, 46506, 256, 17, 13, 30349, 11, 360, 24290, 62, 49, 15154,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 28446, 362, 812, 2084, 644, 389, 262, 1936, 749, 2219, 17638, 14798, 284, 3871, 1626, 362, 1933, 706, 6464, 11856, 2685, 13501, 4241, 30, 46506, 256, 18, 13, 30349, 16034, 357, 46506, 256, 17, 13, 30349, 11, 360, 24290, 62, 49, 15154,...
Bar chart x axis type y axis the total number, list by the Y in desc please.
SELECT Type, COUNT(*) FROM ship GROUP BY Type ORDER BY COUNT(*) DESC
[ 10374, 8262, 2124, 16488, 2099, 331, 16488, 262, 2472, 1271, 11, 1351, 416, 262, 575, 287, 1715, 3387, 13, 46506, 5994, 11, 327, 28270, 7, 28104, 16034, 4074, 44441, 11050, 5994, 38678, 11050, 327, 28270, 7, 28104, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10374, 8262, 2124, 16488, 2099, 331, 16488, 262, 2472, 1271, 11, 1351, 416, 262, 575, 287, 1715, 3387, 13, 46506, 5994, 11, 327, 28270, 7, 28104, 16034, 4074, 44441, 11050, 5994, 38678, 11050, 327, 28270, 7, 28104, 22196, 34 ]
What is the short name having video of 720p and programming of Main KSTC-TV programming?
SELECT "PSIP Short Name" FROM table_36935 WHERE "Video" = '720p' AND "Programming" = 'main kstc-tv programming'
[ 2061, 318, 262, 1790, 1438, 1719, 2008, 286, 26250, 79, 290, 8300, 286, 8774, 509, 2257, 34, 12, 6849, 8300, 30, 46506, 366, 3705, 4061, 10073, 6530, 1, 16034, 3084, 62, 30803, 2327, 33411, 366, 10798, 1, 796, 705, 23906, 79, 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, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1790, 1438, 1719, 2008, 286, 26250, 79, 290, 8300, 286, 8774, 509, 2257, 34, 12, 6849, 8300, 30, 46506, 366, 3705, 4061, 10073, 6530, 1, 16034, 3084, 62, 30803, 2327, 33411, 366, 10798, 1, 796, 705, 23906, 79, 6, 535...
What courses does Ulysses Balis teach ?
SELECT DISTINCT course.department, course.name, course.number FROM course, course_offering, instructor, offering_instructor WHERE course.course_id = course_offering.course_id AND instructor.name LIKE '%Ulysses Balis%' AND offering_instructor.instructor_id = instructor.instructor_id AND offering_instructor.offering_id =...
[ 2061, 10902, 857, 471, 35670, 274, 8528, 271, 4545, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 21187, 11, 6011, 62, 259, 7249, 273, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10902, 857, 471, 35670, 274, 8528, 271, 4545, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 21187, 11, 6011, 62, 259, 7249, 273, ...
Which competition features the 1st round of Club Union Luxembourg?
SELECT competition FROM table_name_58 WHERE round = "1st round" AND club = "union luxembourg"
[ 13828, 5449, 3033, 262, 352, 301, 2835, 286, 6289, 4479, 31864, 30, 46506, 5449, 16034, 3084, 62, 3672, 62, 3365, 33411, 2835, 796, 366, 16, 301, 2835, 1, 5357, 3430, 796, 366, 24592, 10632, 368, 24256, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5449, 3033, 262, 352, 301, 2835, 286, 6289, 4479, 31864, 30, 46506, 5449, 16034, 3084, 62, 3672, 62, 3365, 33411, 2835, 796, 366, 16, 301, 2835, 1, 5357, 3430, 796, 366, 24592, 10632, 368, 24256, 1 ]
Which country has the Highest mountain of rettlkirchspitze?
SELECT "Country" FROM table_52140 WHERE "Highest mountain" = 'rettlkirchspitze'
[ 13828, 1499, 468, 262, 41864, 8598, 286, 302, 926, 75, 74, 343, 354, 2777, 270, 2736, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 4309, 15187, 33411, 366, 36124, 3634, 8598, 1, 796, 705, 11489, 75, 74, 343, 354, 2777, 270, 2736, 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 ]
[ 13828, 1499, 468, 262, 41864, 8598, 286, 302, 926, 75, 74, 343, 354, 2777, 270, 2736, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 4309, 15187, 33411, 366, 36124, 3634, 8598, 1, 796, 705, 11489, 75, 74, 343, 354, 2777, 270, 2736, 6 ]
Which supercentenarians were born in Manitoba?
SELECT name FROM table_name_52 WHERE province_or_country_of_birth = "manitoba"
[ 13828, 2208, 1087, 268, 13517, 547, 4642, 287, 28293, 30, 46506, 1438, 16034, 3084, 62, 3672, 62, 4309, 33411, 8473, 62, 273, 62, 19315, 62, 1659, 62, 24280, 796, 366, 805, 270, 19981, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2208, 1087, 268, 13517, 547, 4642, 287, 28293, 30, 46506, 1438, 16034, 3084, 62, 3672, 62, 4309, 33411, 8473, 62, 273, 62, 19315, 62, 1659, 62, 24280, 796, 366, 805, 270, 19981, 1 ]
What days were games played at Hofstra Stadium?
SELECT date FROM table_name_20 WHERE field = "hofstra stadium"
[ 2061, 1528, 547, 1830, 2826, 379, 37745, 12044, 10499, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 1238, 33411, 2214, 796, 366, 39891, 12044, 10308, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1528, 547, 1830, 2826, 379, 37745, 12044, 10499, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 1238, 33411, 2214, 796, 366, 39891, 12044, 10308, 1 ]
what was the last value of the creatinine lab test for patient 74624 during their last hospital visit?
SELECT labevents.valuenum FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 74624 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime DESC LIMIT 1) AND labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = '...
[ 10919, 373, 262, 938, 1988, 286, 262, 1827, 259, 500, 2248, 1332, 329, 5827, 767, 3510, 1731, 1141, 511, 938, 4436, 3187, 30, 46506, 2248, 31534, 13, 2100, 84, 44709, 16034, 2248, 31534, 33411, 2248, 31534, 13, 18108, 76, 62, 312, 326...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 373, 262, 938, 1988, 286, 262, 1827, 259, 500, 2248, 1332, 329, 5827, 767, 3510, 1731, 1141, 511, 938, 4436, 3187, 30, 46506, 2248, 31534, 13, 2100, 84, 44709, 16034, 2248, 31534, 33411, 2248, 31534, 13, 18108, 76, 62, 312, 326...
how many municipalities have areas that are below 50 square kilometers ?
SELECT COUNT("official name") FROM table_204_158 WHERE "area km2" < 50
[ 4919, 867, 29364, 423, 3006, 326, 389, 2174, 2026, 6616, 18212, 5633, 46506, 327, 28270, 7203, 16841, 1438, 4943, 16034, 3084, 62, 18638, 62, 21273, 33411, 366, 20337, 10571, 17, 1, 1279, 2026 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 29364, 423, 3006, 326, 389, 2174, 2026, 6616, 18212, 5633, 46506, 327, 28270, 7203, 16841, 1438, 4943, 16034, 3084, 62, 18638, 62, 21273, 33411, 366, 20337, 10571, 17, 1, 1279, 2026 ]
Give me the comparison about the sum of ID over the Nationality , and group by attribute Nationality, and order in asc by the total number.
SELECT Nationality, SUM(ID) FROM swimmer GROUP BY Nationality ORDER BY SUM(ID)
[ 23318, 502, 262, 7208, 546, 262, 2160, 286, 4522, 625, 262, 2351, 414, 837, 290, 1448, 416, 11688, 2351, 414, 11, 290, 1502, 287, 10570, 416, 262, 2472, 1271, 13, 46506, 2351, 414, 11, 35683, 7, 2389, 8, 16034, 9422, 647, 44441, 110...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 262, 7208, 546, 262, 2160, 286, 4522, 625, 262, 2351, 414, 837, 290, 1448, 416, 11688, 2351, 414, 11, 290, 1502, 287, 10570, 416, 262, 2472, 1271, 13, 46506, 2351, 414, 11, 35683, 7, 2389, 8, 16034, 9422, 647, 44441, 110...
What surface was the November 5, 1995 match played on?
SELECT "Surface" FROM table_5604 WHERE "Date" = 'november 5, 1995'
[ 2061, 4417, 373, 262, 3389, 642, 11, 8735, 2872, 2826, 319, 30, 46506, 366, 14214, 2550, 1, 16034, 3084, 62, 20, 31916, 33411, 366, 10430, 1, 796, 705, 77, 3239, 642, 11, 8735, 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, 4417, 373, 262, 3389, 642, 11, 8735, 2872, 2826, 319, 30, 46506, 366, 14214, 2550, 1, 16034, 3084, 62, 20, 31916, 33411, 366, 10430, 1, 796, 705, 77, 3239, 642, 11, 8735, 6 ]
What is the average Total that has a Gold of 0, when the rank is less than 16, the nation is Georgia and there is more than 2 for Bronze?
SELECT AVG("Total") FROM table_7590 WHERE "Gold" = '0' AND "Rank" < '16' AND "Nation" = 'georgia' AND "Bronze" > '2'
[ 2061, 318, 262, 2811, 7472, 326, 468, 257, 3561, 286, 657, 11, 618, 262, 4279, 318, 1342, 621, 1467, 11, 262, 3277, 318, 7859, 290, 612, 318, 517, 621, 362, 329, 19461, 30, 46506, 35224, 7203, 14957, 4943, 16034, 3084, 62, 2425, 382...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7472, 326, 468, 257, 3561, 286, 657, 11, 618, 262, 4279, 318, 1342, 621, 1467, 11, 262, 3277, 318, 7859, 290, 612, 318, 517, 621, 362, 329, 19461, 30, 46506, 35224, 7203, 14957, 4943, 16034, 3084, 62, 2425, 382...
What is the result when the method was decision (unanimous), and Chris Wilson was the opponent?
SELECT res FROM table_name_43 WHERE method = "decision (unanimous)" AND opponent = "chris wilson"
[ 2061, 318, 262, 1255, 618, 262, 2446, 373, 2551, 357, 403, 45873, 828, 290, 5180, 8127, 373, 262, 6125, 30, 46506, 581, 16034, 3084, 62, 3672, 62, 3559, 33411, 2446, 796, 366, 12501, 1166, 357, 403, 45873, 16725, 5357, 6125, 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 ]
[ 2061, 318, 262, 1255, 618, 262, 2446, 373, 2551, 357, 403, 45873, 828, 290, 5180, 8127, 373, 262, 6125, 30, 46506, 581, 16034, 3084, 62, 3672, 62, 3559, 33411, 2446, 796, 366, 12501, 1166, 357, 403, 45873, 16725, 5357, 6125, 796, 366,...
What is the Location of the Moulin Bertrand Mill?
SELECT location FROM table_name_23 WHERE name_of_mill = "moulin bertrand"
[ 2061, 318, 262, 13397, 286, 262, 49902, 2815, 22108, 25192, 9212, 30, 46506, 4067, 16034, 3084, 62, 3672, 62, 1954, 33411, 1438, 62, 1659, 62, 17805, 796, 366, 76, 280, 2815, 275, 861, 25192, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13397, 286, 262, 49902, 2815, 22108, 25192, 9212, 30, 46506, 4067, 16034, 3084, 62, 3672, 62, 1954, 33411, 1438, 62, 1659, 62, 17805, 796, 366, 76, 280, 2815, 275, 861, 25192, 1 ]
what's the the mole with airdate being 5 january 2012
SELECT COUNT("The Mole") FROM table_17950 WHERE "Airdate" = '5 January 2012'
[ 10919, 338, 262, 262, 9411, 351, 257, 1447, 378, 852, 642, 42897, 2838, 2321, 46506, 327, 28270, 7203, 464, 25726, 4943, 16034, 3084, 62, 21738, 1120, 33411, 366, 32, 1447, 378, 1, 796, 705, 20, 3269, 2321, 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 ]
[ 10919, 338, 262, 262, 9411, 351, 257, 1447, 378, 852, 642, 42897, 2838, 2321, 46506, 327, 28270, 7203, 464, 25726, 4943, 16034, 3084, 62, 21738, 1120, 33411, 366, 32, 1447, 378, 1, 796, 705, 20, 3269, 2321, 6 ]
What year had a title of Die Shaolin Affen EP and EP as the type?
SELECT AVG("Year") FROM table_58828 WHERE "Type" = 'ep' AND "Title" = 'die shaolin affen ep'
[ 2061, 614, 550, 257, 3670, 286, 6733, 19413, 24910, 6708, 268, 14724, 290, 14724, 355, 262, 2099, 30, 46506, 35224, 7203, 17688, 4943, 16034, 3084, 62, 39118, 2078, 33411, 366, 6030, 1, 796, 705, 538, 6, 5357, 366, 19160, 1, 796, 705,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 614, 550, 257, 3670, 286, 6733, 19413, 24910, 6708, 268, 14724, 290, 14724, 355, 262, 2099, 30, 46506, 35224, 7203, 17688, 4943, 16034, 3084, 62, 39118, 2078, 33411, 366, 6030, 1, 796, 705, 538, 6, 5357, 366, 19160, 1, 796, 705,...
Name who wrote the episode that had 7.56 million viewers
SELECT written_by FROM table_16951593_1 WHERE us_viewers__millions_ = "7.56"
[ 5376, 508, 2630, 262, 4471, 326, 550, 767, 13, 3980, 1510, 10209, 46506, 3194, 62, 1525, 16034, 3084, 62, 1433, 3865, 1314, 6052, 62, 16, 33411, 514, 62, 1177, 364, 834, 17805, 507, 62, 796, 366, 22, 13, 3980, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 508, 2630, 262, 4471, 326, 550, 767, 13, 3980, 1510, 10209, 46506, 3194, 62, 1525, 16034, 3084, 62, 1433, 3865, 1314, 6052, 62, 16, 33411, 514, 62, 1177, 364, 834, 17805, 507, 62, 796, 366, 22, 13, 3980, 1 ]
What is the Name of the dinosaur that was discovered in the Location, China, and whose Notes are, 'described from a single tooth'?
SELECT name FROM table_name_63 WHERE location = "china" AND notes = "described from a single tooth"
[ 2061, 318, 262, 6530, 286, 262, 28257, 326, 373, 5071, 287, 262, 13397, 11, 2807, 11, 290, 3025, 11822, 389, 11, 705, 34869, 422, 257, 2060, 16162, 30960, 46506, 1438, 16034, 3084, 62, 3672, 62, 5066, 33411, 4067, 796, 366, 354, 1437,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6530, 286, 262, 28257, 326, 373, 5071, 287, 262, 13397, 11, 2807, 11, 290, 3025, 11822, 389, 11, 705, 34869, 422, 257, 2060, 16162, 30960, 46506, 1438, 16034, 3084, 62, 3672, 62, 5066, 33411, 4067, 796, 366, 354, 1437,...
Find ACC_Regular_Season and All_Games_Percent , and visualize them by a bar chart, I want to show X in desc order.
SELECT ACC_Regular_Season, All_Games_Percent FROM basketball_match ORDER BY ACC_Regular_Season DESC
[ 16742, 15859, 62, 40164, 62, 18960, 290, 1439, 62, 24474, 62, 31905, 837, 290, 38350, 606, 416, 257, 2318, 8262, 11, 314, 765, 284, 905, 1395, 287, 1715, 1502, 13, 46506, 15859, 62, 40164, 62, 18960, 11, 1439, 62, 24474, 62, 31905, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15859, 62, 40164, 62, 18960, 290, 1439, 62, 24474, 62, 31905, 837, 290, 38350, 606, 416, 257, 2318, 8262, 11, 314, 765, 284, 905, 1395, 287, 1715, 1502, 13, 46506, 15859, 62, 40164, 62, 18960, 11, 1439, 62, 24474, 62, 31905, ...
flights from PITTSBURGH to BALTIMORE arriving between 1600 and 1700
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 ((flight.arrival_time <= 1700 AND flight.arrival_time >= 1600) AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'BALTIMORE' AND flight.t...
[ 2704, 2337, 422, 49040, 4694, 38926, 17511, 284, 347, 31429, 3955, 6965, 14820, 1022, 26143, 290, 35665, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 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...
[ 2704, 2337, 422, 49040, 4694, 38926, 17511, 284, 347, 31429, 3955, 6965, 14820, 1022, 26143, 290, 35665, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9...
What is the date for the home detroit and visitor was chicago?
SELECT "Date" FROM table_74986 WHERE "Home" = 'detroit' AND "Visitor" = 'chicago'
[ 2061, 318, 262, 3128, 329, 262, 1363, 1062, 7775, 290, 21493, 373, 442, 4549, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 22, 2920, 4521, 33411, 366, 16060, 1, 796, 705, 15255, 7775, 6, 5357, 366, 15854, 2072, 1, 796, 705, 354, 4549,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 329, 262, 1363, 1062, 7775, 290, 21493, 373, 442, 4549, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 22, 2920, 4521, 33411, 366, 16060, 1, 796, 705, 15255, 7775, 6, 5357, 366, 15854, 2072, 1, 796, 705, 354, 4549,...
had patient 27392 given a lab test of total protein, body fluid in 2105?
SELECT COUNT(*) > 0 FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'total protein, body fluid') AND labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 27392) AND STRFTIME('%y', labevents.charttime) = '2105'
[ 18108, 5827, 2681, 32321, 1813, 257, 2248, 1332, 286, 2472, 7532, 11, 1767, 11711, 287, 362, 13348, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 2248, 31534, 33411, 2248, 31534, 13, 9186, 312, 3268, 357, 46506, 288, 62, 23912, 238...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 18108, 5827, 2681, 32321, 1813, 257, 2248, 1332, 286, 2472, 7532, 11, 1767, 11711, 287, 362, 13348, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 2248, 31534, 33411, 2248, 31534, 13, 9186, 312, 3268, 357, 46506, 288, 62, 23912, 238...
What is the total capacity of dorms for each gender? Give me a bar chart, and could you list total number from low to high order?
SELECT gender, SUM(student_capacity) FROM Dorm GROUP BY gender ORDER BY SUM(student_capacity)
[ 2061, 318, 262, 2472, 5339, 286, 18586, 82, 329, 1123, 5279, 30, 13786, 502, 257, 2318, 8262, 11, 290, 714, 345, 1351, 2472, 1271, 422, 1877, 284, 1029, 1502, 30, 46506, 5279, 11, 35683, 7, 50139, 62, 42404, 8, 16034, 360, 579, 4444...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5339, 286, 18586, 82, 329, 1123, 5279, 30, 13786, 502, 257, 2318, 8262, 11, 290, 714, 345, 1351, 2472, 1271, 422, 1877, 284, 1029, 1502, 30, 46506, 5279, 11, 35683, 7, 50139, 62, 42404, 8, 16034, 360, 579, 4444...
what is the number of patients who had been diagnosed with mv-oth veh coll-ped cycl until 2104?
SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE admissions.hadm_id IN (SELECT diagnoses_icd.hadm_id FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'mv-oth veh coll-ped cycl') AND STRFTIME('%y', diagnoses_ic...
[ 10919, 318, 262, 1271, 286, 3871, 508, 550, 587, 14641, 351, 285, 85, 12, 849, 2844, 2927, 12, 9124, 11700, 1566, 362, 13464, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 25349, 13, 32796, 62, 312, 8, 16034, 25349, 33411, 25349, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 508, 550, 587, 14641, 351, 285, 85, 12, 849, 2844, 2927, 12, 9124, 11700, 1566, 362, 13464, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 25349, 13, 32796, 62, 312, 8, 16034, 25349, 33411, 25349, ...
Which state does congressman jim demint represent?
SELECT "State" FROM table_2347 WHERE "Senator" = 'Jim DeMint'
[ 13828, 1181, 857, 29545, 474, 320, 1357, 600, 2380, 30, 46506, 366, 9012, 1, 16034, 3084, 62, 1954, 2857, 33411, 366, 29774, 1, 796, 705, 18050, 1024, 44, 600, 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 ]
[ 13828, 1181, 857, 29545, 474, 320, 1357, 600, 2380, 30, 46506, 366, 9012, 1, 16034, 3084, 62, 1954, 2857, 33411, 366, 29774, 1, 796, 705, 18050, 1024, 44, 600, 6 ]
What station has the call number K213cl
SELECT "Format" FROM table_18745 WHERE "Call sign" = 'K213CL'
[ 2061, 4429, 468, 262, 869, 1271, 509, 26427, 565, 46506, 366, 26227, 1, 16034, 3084, 62, 23451, 2231, 33411, 366, 14134, 1051, 1, 796, 705, 42, 26427, 5097, 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 ]
[ 2061, 4429, 468, 262, 869, 1271, 509, 26427, 565, 46506, 366, 26227, 1, 16034, 3084, 62, 23451, 2231, 33411, 366, 14134, 1051, 1, 796, 705, 42, 26427, 5097, 6 ]
Which channel did Going for Gold air on?
SELECT original_channel FROM table_name_19 WHERE programme = "going for gold"
[ 13828, 6518, 750, 19219, 329, 3561, 1633, 319, 30, 46506, 2656, 62, 17620, 16034, 3084, 62, 3672, 62, 1129, 33411, 11383, 796, 366, 5146, 329, 3869, 1 ]
[ 1, 1, 1, 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, 6518, 750, 19219, 329, 3561, 1633, 319, 30, 46506, 2656, 62, 17620, 16034, 3084, 62, 3672, 62, 1129, 33411, 11383, 796, 366, 5146, 329, 3869, 1 ]
severe renal failure ( creatinine clearance <= 30 ml / min ) ;
SELECT * FROM table_test_11 WHERE renal_disease = 1 OR creatinine_clearance_cl <= 30
[ 43070, 44375, 5287, 357, 1827, 259, 500, 19745, 19841, 1542, 25962, 1220, 949, 1267, 2162, 46506, 1635, 16034, 3084, 62, 9288, 62, 1157, 33411, 44375, 62, 67, 786, 589, 796, 352, 6375, 1827, 259, 500, 62, 20063, 590, 62, 565, 19841, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 43070, 44375, 5287, 357, 1827, 259, 500, 19745, 19841, 1542, 25962, 1220, 949, 1267, 2162, 46506, 1635, 16034, 3084, 62, 9288, 62, 1157, 33411, 44375, 62, 67, 786, 589, 796, 352, 6375, 1827, 259, 500, 62, 20063, 590, 62, 565, 19841, 1...
What record has a Score of 9 6?
SELECT record FROM table_name_15 WHERE score = "9–6"
[ 2061, 1700, 468, 257, 15178, 286, 860, 718, 30, 46506, 1700, 16034, 3084, 62, 3672, 62, 1314, 33411, 4776, 796, 366, 24, 1906, 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 ]
[ 2061, 1700, 468, 257, 15178, 286, 860, 718, 30, 46506, 1700, 16034, 3084, 62, 3672, 62, 1314, 33411, 4776, 796, 366, 24, 1906, 21, 1 ]
What is the air date of 'Rah Rah Bear'?
SELECT "Air date" FROM table_23367 WHERE "Yogi Bear" = 'Rah Rah Bear'
[ 2061, 318, 262, 1633, 3128, 286, 705, 47135, 18655, 14732, 30960, 46506, 366, 16170, 3128, 1, 16034, 3084, 62, 1954, 27824, 33411, 366, 56, 44381, 14732, 1, 796, 705, 47135, 18655, 14732, 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, 1633, 3128, 286, 705, 47135, 18655, 14732, 30960, 46506, 366, 16170, 3128, 1, 16034, 3084, 62, 1954, 27824, 33411, 366, 56, 44381, 14732, 1, 796, 705, 47135, 18655, 14732, 6 ]
List of Non-Closed Community Wiki Posts. Get all Question and Answer that are Community Wiki and still open. Don't list all answers of a Community Wiki Question because they are all Community Wiki anyway.
SELECT PostTypes.Name, Posts.Id AS "post_link", Posts.Score AS Score, Posts.CreationDate, Posts.CommunityOwnedDate FROM Posts INNER JOIN PostTypes ON Posts.PostTypeId = PostTypes.Id LEFT JOIN Posts AS ParentPosts ON Posts.ParentId = ParentPosts.Id WHERE Posts.PostTypeId IN (1, 2) AND Posts.ClosedDate IS NULL AND Parent...
[ 8053, 286, 8504, 12, 2601, 1335, 8108, 13078, 12043, 13, 3497, 477, 18233, 290, 23998, 326, 389, 8108, 13078, 290, 991, 1280, 13, 220, 201, 198, 3987, 470, 1351, 477, 7429, 286, 257, 8108, 13078, 18233, 780, 484, 389, 477, 8108, 13078...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 8053, 286, 8504, 12, 2601, 1335, 8108, 13078, 12043, 13, 3497, 477, 18233, 290, 23998, 326, 389, 8108, 13078, 290, 991, 1280, 13, 220, 201, 198, 3987, 470, 1351, 477, 7429, 286, 257, 8108, 13078, 18233, 780, 484, 389, 477, 8108, 13078...
Name the average rank for earnings less than 231,008 and wins less than 1
SELECT AVG("Rank") FROM table_58160 WHERE "Earnings ( $ )" < '231,008' AND "Wins" < '1'
[ 5376, 262, 2811, 4279, 329, 12042, 1342, 621, 34598, 11, 25257, 290, 7864, 1342, 621, 352, 46506, 35224, 7203, 27520, 4943, 16034, 3084, 62, 3365, 14198, 33411, 366, 49725, 654, 357, 720, 1267, 1, 1279, 705, 25667, 11, 25257, 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 ]
[ 5376, 262, 2811, 4279, 329, 12042, 1342, 621, 34598, 11, 25257, 290, 7864, 1342, 621, 352, 46506, 35224, 7203, 27520, 4943, 16034, 3084, 62, 3365, 14198, 33411, 366, 49725, 654, 357, 720, 1267, 1, 1279, 705, 25667, 11, 25257, 6, 5357, ...
Top 20 users from Wellington.
SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation, Location FROM Users WHERE LOWER(Location) LIKE '%wellington, new zealand' ORDER BY Reputation DESC LIMIT 20
[ 9126, 1160, 2985, 422, 30597, 13, 46506, 371, 3913, 62, 41359, 13246, 3419, 28729, 357, 12532, 1137, 11050, 1432, 7094, 22196, 34, 8, 7054, 25113, 1600, 5121, 7054, 366, 7220, 62, 8726, 1600, 1432, 7094, 11, 13397, 16034, 18987, 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...
[ 9126, 1160, 2985, 422, 30597, 13, 46506, 371, 3913, 62, 41359, 13246, 3419, 28729, 357, 12532, 1137, 11050, 1432, 7094, 22196, 34, 8, 7054, 25113, 1600, 5121, 7054, 366, 7220, 62, 8726, 1600, 1432, 7094, 11, 13397, 16034, 18987, 33411, ...
How many bronzes are there for the total nation with 112 silver and a total of 72?
SELECT AVG("Bronze") FROM table_58488 WHERE "Total" > '72' AND "Nation" = 'total' AND "Silver" < '112'
[ 2437, 867, 18443, 12271, 389, 612, 329, 262, 2472, 3277, 351, 13539, 8465, 290, 257, 2472, 286, 7724, 30, 46506, 35224, 7203, 18760, 2736, 4943, 16034, 3084, 62, 3365, 33646, 33411, 366, 14957, 1, 1875, 705, 4761, 6, 5357, 366, 46108, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 18443, 12271, 389, 612, 329, 262, 2472, 3277, 351, 13539, 8465, 290, 257, 2472, 286, 7724, 30, 46506, 35224, 7203, 18760, 2736, 4943, 16034, 3084, 62, 3365, 33646, 33411, 366, 14957, 1, 1875, 705, 4761, 6, 5357, 366, 46108, ...
What is the lowest draw that has 5 losses and byes greater than 0?
SELECT MIN("Draws") FROM table_11920 WHERE "Losses" = '5' AND "Byes" > '0'
[ 2061, 318, 262, 9016, 3197, 326, 468, 642, 9089, 290, 416, 274, 3744, 621, 657, 30, 46506, 20625, 7203, 25302, 82, 4943, 16034, 3084, 62, 16315, 1238, 33411, 366, 43, 793, 274, 1, 796, 705, 20, 6, 5357, 366, 3886, 274, 1, 1875, 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 ]
[ 2061, 318, 262, 9016, 3197, 326, 468, 642, 9089, 290, 416, 274, 3744, 621, 657, 30, 46506, 20625, 7203, 25302, 82, 4943, 16034, 3084, 62, 16315, 1238, 33411, 366, 43, 793, 274, 1, 796, 705, 20, 6, 5357, 366, 3886, 274, 1, 1875, 70...
what was the lab test that was last given to patient 006-202970 during the current hospital encounter?
SELECT lab.labname FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-202970' AND patient.hospitaldischargetime IS NULL)) ORDER BY lab.labresulttime DESC L...
[ 10919, 373, 262, 2248, 1332, 326, 373, 938, 1813, 284, 5827, 3571, 21, 12, 1238, 1959, 2154, 1141, 262, 1459, 4436, 8791, 30, 46506, 2248, 13, 23912, 3672, 16034, 2248, 33411, 2248, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 373, 262, 2248, 1332, 326, 373, 938, 1813, 284, 5827, 3571, 21, 12, 1238, 1959, 2154, 1141, 262, 1459, 4436, 8791, 30, 46506, 2248, 13, 23912, 3672, 16034, 2248, 33411, 2248, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, ...
Name the speed for 1:36.46.93
SELECT speed FROM table_name_13 WHERE time = "1:36.46.93"
[ 5376, 262, 2866, 329, 352, 25, 2623, 13, 3510, 13, 6052, 46506, 2866, 16034, 3084, 62, 3672, 62, 1485, 33411, 640, 796, 366, 16, 25, 2623, 13, 3510, 13, 6052, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 2866, 329, 352, 25, 2623, 13, 3510, 13, 6052, 46506, 2866, 16034, 3084, 62, 3672, 62, 1485, 33411, 640, 796, 366, 16, 25, 2623, 13, 3510, 13, 6052, 1 ]
Show different publishers together with the number of publications they have Plot them as bar chart, and I want to order by the bars in asc.
SELECT Publisher, COUNT(*) FROM publication GROUP BY Publisher ORDER BY Publisher
[ 15307, 1180, 17604, 1978, 351, 262, 1271, 286, 16125, 484, 423, 28114, 606, 355, 2318, 8262, 11, 290, 314, 765, 284, 1502, 416, 262, 9210, 287, 10570, 13, 46506, 28045, 11, 327, 28270, 7, 28104, 16034, 9207, 44441, 11050, 28045, 38678, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1180, 17604, 1978, 351, 262, 1271, 286, 16125, 484, 423, 28114, 606, 355, 2318, 8262, 11, 290, 314, 765, 284, 1502, 416, 262, 9210, 287, 10570, 13, 46506, 28045, 11, 327, 28270, 7, 28104, 16034, 9207, 44441, 11050, 28045, 38678, ...
What is the game number held on May 2?
SELECT AVG("Game") FROM table_38313 WHERE "Date" = 'may 2'
[ 2061, 318, 262, 983, 1271, 2714, 319, 1737, 362, 30, 46506, 35224, 7203, 8777, 4943, 16034, 3084, 62, 2548, 25838, 33411, 366, 10430, 1, 796, 705, 11261, 362, 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 ]
[ 2061, 318, 262, 983, 1271, 2714, 319, 1737, 362, 30, 46506, 35224, 7203, 8777, 4943, 16034, 3084, 62, 2548, 25838, 33411, 366, 10430, 1, 796, 705, 11261, 362, 6 ]
What's the ACL qualification when the minor ladder position is 5th and the finals qualifications were DNQ?
SELECT "ACL Qualification" FROM table_13697 WHERE "Finals Qualification" = 'dnq' AND "Minor Ladder Position" = '5th'
[ 2061, 338, 262, 17382, 28587, 618, 262, 4159, 18002, 2292, 318, 642, 400, 290, 262, 18576, 24751, 547, 45080, 48, 30, 46506, 366, 2246, 43, 9537, 2649, 1, 16034, 3084, 62, 1485, 40035, 33411, 366, 37, 6897, 9537, 2649, 1, 796, 705, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 338, 262, 17382, 28587, 618, 262, 4159, 18002, 2292, 318, 642, 400, 290, 262, 18576, 24751, 547, 45080, 48, 30, 46506, 366, 2246, 43, 9537, 2649, 1, 16034, 3084, 62, 1485, 40035, 33411, 366, 37, 6897, 9537, 2649, 1, 796, 705, ...
i would like flight information from PHOENIX to DENVER
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 = 'PHOENIX' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'DENVER...
[ 72, 561, 588, 5474, 1321, 422, 9370, 46, 1677, 10426, 284, 37692, 28884, 36, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 3160...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 72, 561, 588, 5474, 1321, 422, 9370, 46, 1677, 10426, 284, 37692, 28884, 36, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 3160...
Who is team c when dhez javier is team e?
SELECT team_c FROM table_name_44 WHERE team_e = "dhez javier"
[ 8241, 318, 1074, 269, 618, 288, 258, 89, 474, 19492, 318, 1074, 304, 30, 46506, 1074, 62, 66, 16034, 3084, 62, 3672, 62, 2598, 33411, 1074, 62, 68, 796, 366, 67, 258, 89, 474, 19492, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1074, 269, 618, 288, 258, 89, 474, 19492, 318, 1074, 304, 30, 46506, 1074, 62, 66, 16034, 3084, 62, 3672, 62, 2598, 33411, 1074, 62, 68, 796, 366, 67, 258, 89, 474, 19492, 1 ]
What is the vote % for Cliff Breitkreuz?
SELECT votes__percentage FROM table_name_24 WHERE candidate = "cliff breitkreuz"
[ 2061, 318, 262, 3015, 4064, 329, 23501, 3719, 270, 74, 260, 10277, 30, 46506, 5690, 834, 25067, 496, 16034, 3084, 62, 3672, 62, 1731, 33411, 4540, 796, 366, 565, 733, 1449, 270, 74, 260, 10277, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3015, 4064, 329, 23501, 3719, 270, 74, 260, 10277, 30, 46506, 5690, 834, 25067, 496, 16034, 3084, 62, 3672, 62, 1731, 33411, 4540, 796, 366, 565, 733, 1449, 270, 74, 260, 10277, 1 ]
What was the release date for Production Number 8181?
SELECT release_date FROM table_name_14 WHERE production_num = "8181"
[ 2061, 373, 262, 2650, 3128, 329, 19174, 7913, 807, 27057, 30, 46506, 2650, 62, 4475, 16034, 3084, 62, 3672, 62, 1415, 33411, 3227, 62, 22510, 796, 366, 23, 27057, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 2650, 3128, 329, 19174, 7913, 807, 27057, 30, 46506, 2650, 62, 4475, 16034, 3084, 62, 3672, 62, 1415, 33411, 3227, 62, 22510, 796, 366, 23, 27057, 1 ]
How many wins for bikes with under 54 points, team yamaha, a 250cc bike, and before 1977?
SELECT COUNT("Wins") FROM table_54611 WHERE "Points" < '54' AND "Team" = 'yamaha' AND "Class" = '250cc' AND "Year" < '1977'
[ 2437, 867, 7864, 329, 16715, 351, 739, 7175, 2173, 11, 1074, 331, 321, 12236, 11, 257, 8646, 535, 7161, 11, 290, 878, 15589, 30, 46506, 327, 28270, 7203, 54, 1040, 4943, 16034, 3084, 62, 49489, 1157, 33411, 366, 40710, 1, 1279, 705, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2437, 867, 7864, 329, 16715, 351, 739, 7175, 2173, 11, 1074, 331, 321, 12236, 11, 257, 8646, 535, 7161, 11, 290, 878, 15589, 30, 46506, 327, 28270, 7203, 54, 1040, 4943, 16034, 3084, 62, 49489, 1157, 33411, 366, 40710, 1, 1279, 705, ...