instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
What was the week 7 opponent for the year that had a week 12 opponent of Oregon State (7-3)?
SELECT "Week 7 Oct 12" FROM table_38966 WHERE "Week 12 Nov 16" = 'oregon state (7-3)'
[ 2061, 373, 262, 1285, 767, 6125, 329, 262, 614, 326, 550, 257, 1285, 1105, 6125, 286, 8819, 1812, 357, 22, 12, 18, 19427, 46506, 366, 20916, 767, 2556, 1105, 1, 16034, 3084, 62, 29769, 2791, 33411, 366, 20916, 1105, 5267, 1467, 1, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 1285, 767, 6125, 329, 262, 614, 326, 550, 257, 1285, 1105, 6125, 286, 8819, 1812, 357, 22, 12, 18, 19427, 46506, 366, 20916, 767, 2556, 1105, 1, 16034, 3084, 62, 29769, 2791, 33411, 366, 20916, 1105, 5267, 1467, 1, 7...
Name the frequency with class of b
SELECT "Frequency" FROM table_71969 WHERE "Class" = 'b'
[ 5376, 262, 8373, 351, 1398, 286, 275, 46506, 366, 37, 28707, 1, 16034, 3084, 62, 22, 38391, 33411, 366, 9487, 1, 796, 705, 65, 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 ]
[ 5376, 262, 8373, 351, 1398, 286, 275, 46506, 366, 37, 28707, 1, 16034, 3084, 62, 22, 38391, 33411, 366, 9487, 1, 796, 705, 65, 6 ]
What is 1996 Grand Slam Tournament if 1994 is LQ and 1992 is 3R?
SELECT 1996 FROM table_name_4 WHERE 1994 = "lq" AND 1992 = "3r"
[ 2061, 318, 8235, 5675, 30382, 9595, 611, 9162, 318, 406, 48, 290, 9768, 318, 513, 49, 30, 46506, 8235, 16034, 3084, 62, 3672, 62, 19, 33411, 9162, 796, 366, 75, 80, 1, 5357, 9768, 796, 366, 18, 81, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8235, 5675, 30382, 9595, 611, 9162, 318, 406, 48, 290, 9768, 318, 513, 49, 30, 46506, 8235, 16034, 3084, 62, 3672, 62, 19, 33411, 9162, 796, 366, 75, 80, 1, 5357, 9768, 796, 366, 18, 81, 1 ]
since 2103, how many people were diagnosed with lower urinary tract infection - likely bacterial within 2 months after having received oxygen therapy (40% to 60%)?
SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, treatment.treatmenttime FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'oxygen therapy (40% to 60%)' AND STRFTIME('%y', treatment.treatmenttime) >= '2103') AS t1 JOIN (SELECT patie...
[ 20777, 362, 15197, 11, 703, 867, 661, 547, 14641, 351, 2793, 38628, 14998, 10280, 532, 1884, 23462, 1626, 362, 1933, 706, 1719, 2722, 11863, 9102, 357, 1821, 4, 284, 3126, 4407, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 20777, 362, 15197, 11, 703, 867, 661, 547, 14641, 351, 2793, 38628, 14998, 10280, 532, 1884, 23462, 1626, 362, 1933, 706, 1719, 2722, 11863, 9102, 357, 1821, 4, 284, 3126, 4407, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16,...
What are the name and id of the team with the most victories in 2008 postseason?
SELECT T2.name, T1.team_id_winner FROM postseason AS T1 JOIN team AS T2 ON T1.team_id_winner = T2.team_id_br WHERE T1.year = 2008 GROUP BY T1.team_id_winner ORDER BY COUNT(*) DESC LIMIT 1
[ 2061, 389, 262, 1438, 290, 4686, 286, 262, 1074, 351, 262, 749, 19017, 287, 3648, 22905, 30, 46506, 309, 17, 13, 3672, 11, 309, 16, 13, 15097, 62, 312, 62, 39791, 16034, 22905, 7054, 309, 16, 32357, 1268, 1074, 7054, 309, 17, 6177, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 389, 262, 1438, 290, 4686, 286, 262, 1074, 351, 262, 749, 19017, 287, 3648, 22905, 30, 46506, 309, 17, 13, 3672, 11, 309, 16, 13, 15097, 62, 312, 62, 39791, 16034, 22905, 7054, 309, 16, 32357, 1268, 1074, 7054, 309, 17, 6177, ...
How many against when losses are 11 and wins are fewer than 5?
SELECT AVG("Against") FROM table_61118 WHERE "Losses" = '11' AND "Wins" < '5'
[ 2437, 867, 1028, 618, 9089, 389, 1367, 290, 7864, 389, 7380, 621, 642, 30, 46506, 35224, 7203, 39276, 4943, 16034, 3084, 62, 21, 1157, 1507, 33411, 366, 43, 793, 274, 1, 796, 705, 1157, 6, 5357, 366, 54, 1040, 1, 1279, 705, 20, 6 ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 1028, 618, 9089, 389, 1367, 290, 7864, 389, 7380, 621, 642, 30, 46506, 35224, 7203, 39276, 4943, 16034, 3084, 62, 21, 1157, 1507, 33411, 366, 43, 793, 274, 1, 796, 705, 1157, 6, 5357, 366, 54, 1040, 1, 1279, 705, 20, 6 ...
Which Opponent has an Event of jungle fight 5?
SELECT "Opponent" FROM table_48093 WHERE "Event" = 'jungle fight 5'
[ 13828, 9385, 3471, 468, 281, 8558, 286, 20712, 1907, 642, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 22148, 6052, 33411, 366, 9237, 1, 796, 705, 73, 13687, 1907, 642, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 9385, 3471, 468, 281, 8558, 286, 20712, 1907, 642, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 22148, 6052, 33411, 366, 9237, 1, 796, 705, 73, 13687, 1907, 642, 6 ]
Which week has a result L 56-3?
SELECT AVG(week) FROM table_name_93 WHERE result = "l 56-3"
[ 13828, 1285, 468, 257, 1255, 406, 7265, 12, 18, 30, 46506, 35224, 7, 10464, 8, 16034, 3084, 62, 3672, 62, 6052, 33411, 1255, 796, 366, 75, 7265, 12, 18, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 1285, 468, 257, 1255, 406, 7265, 12, 18, 30, 46506, 35224, 7, 10464, 8, 16034, 3084, 62, 3672, 62, 6052, 33411, 1255, 796, 366, 75, 7265, 12, 18, 1 ]
When is cyrillic name other names and village is the type and orthodox Christianity is the dominant religion of 2002 what is the settlement?
SELECT "Settlement" FROM table_27855 WHERE "Dominant religion (2002)" = 'Orthodox Christianity' AND "Type" = 'village' AND "Cyrillic Name Other Names" = 'Ратково'
[ 2215, 318, 269, 2417, 359, 291, 1438, 584, 3891, 290, 7404, 318, 262, 2099, 290, 28299, 13624, 318, 262, 11410, 5737, 286, 6244, 644, 318, 262, 9443, 30, 46506, 366, 50, 27331, 1, 16034, 3084, 62, 25870, 2816, 33411, 366, 43417, 415, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 269, 2417, 359, 291, 1438, 584, 3891, 290, 7404, 318, 262, 2099, 290, 28299, 13624, 318, 262, 11410, 5737, 286, 6244, 644, 318, 262, 9443, 30, 46506, 366, 50, 27331, 1, 16034, 3084, 62, 25870, 2816, 33411, 366, 43417, 415, ...
What position did Max Redfield play?
SELECT position FROM table_name_97 WHERE player = "max redfield"
[ 2061, 2292, 750, 5436, 2297, 3245, 711, 30, 46506, 2292, 16034, 3084, 62, 3672, 62, 5607, 33411, 2137, 796, 366, 9806, 2266, 3245, 1 ]
[ 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, 2292, 750, 5436, 2297, 3245, 711, 30, 46506, 2292, 16034, 3084, 62, 3672, 62, 5607, 33411, 2137, 796, 366, 9806, 2266, 3245, 1 ]
Is Nuclear Waste Management taught only by Prof. Toman ?
SELECT DISTINCT course.department, course.name, course.number, instructor.name FROM course, course_offering, instructor, offering_instructor WHERE course.course_id = course_offering.course_id AND course.name LIKE '%Nuclear Waste Management%' AND NOT instructor.name LIKE '%Toman%' AND offering_instructor.instructor_id =...
[ 3792, 19229, 35304, 8549, 7817, 691, 416, 4415, 13, 4186, 272, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 11, 21187, 13, 3672, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 21187, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3792, 19229, 35304, 8549, 7817, 691, 416, 4415, 13, 4186, 272, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 11, 21187, 13, 3672, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 21187, ...
Who is that player from South Africa who had a total score under 293?
SELECT player FROM table_name_93 WHERE total < 293 AND country = "south africa"
[ 8241, 318, 326, 2137, 422, 2520, 5478, 508, 550, 257, 2472, 4776, 739, 37224, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 6052, 33411, 2472, 1279, 37224, 5357, 1499, 796, 366, 35782, 6580, 30997, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 326, 2137, 422, 2520, 5478, 508, 550, 257, 2472, 4776, 739, 37224, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 6052, 33411, 2472, 1279, 37224, 5357, 1499, 796, 366, 35782, 6580, 30997, 1 ]
let's count the number of patients who were diagnosed with pneumonia - community-acquired and didn't come back to hospital within 2 months since 2103.
SELECT (SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'pneumonia - community-acquired' AND STRFTIME('%y', diagnosis.diagnosistime) >= '2103') AS t1) - (SEL...
[ 1616, 338, 954, 262, 1271, 286, 3871, 508, 547, 14641, 351, 35647, 532, 2055, 12, 43561, 1202, 290, 1422, 470, 1282, 736, 284, 4436, 1626, 362, 1933, 1201, 362, 15197, 13, 46506, 357, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1616, 338, 954, 262, 1271, 286, 3871, 508, 547, 14641, 351, 35647, 532, 2055, 12, 43561, 1202, 290, 1422, 470, 1282, 736, 284, 4436, 1626, 362, 1933, 1201, 362, 15197, 13, 46506, 357, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, ...
Who is the rider who did less than 20 laps on a grid number greater than 23?
SELECT rider FROM table_name_67 WHERE laps < 20 AND grid > 23
[ 8241, 318, 262, 17876, 508, 750, 1342, 621, 1160, 24590, 319, 257, 10706, 1271, 3744, 621, 2242, 30, 46506, 17876, 16034, 3084, 62, 3672, 62, 3134, 33411, 24590, 1279, 1160, 5357, 10706, 1875, 2242 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 318, 262, 17876, 508, 750, 1342, 621, 1160, 24590, 319, 257, 10706, 1271, 3744, 621, 2242, 30, 46506, 17876, 16034, 3084, 62, 3672, 62, 3134, 33411, 24590, 1279, 1160, 5357, 10706, 1875, 2242 ]
What is the name of the country with the most number of home airlines?
SELECT country FROM airlines GROUP BY country ORDER BY COUNT(*) DESC LIMIT 1
[ 2061, 318, 262, 1438, 286, 262, 1499, 351, 262, 749, 1271, 286, 1363, 26225, 30, 46506, 1499, 16034, 26225, 44441, 11050, 1499, 38678, 11050, 327, 28270, 7, 28104, 22196, 34, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1438, 286, 262, 1499, 351, 262, 749, 1271, 286, 1363, 26225, 30, 46506, 1499, 16034, 26225, 44441, 11050, 1499, 38678, 11050, 327, 28270, 7, 28104, 22196, 34, 27564, 2043, 352 ]
List the total number of institutions founded in Rock Island, Illinois.
SELECT COUNT("Founded") FROM table_22370 WHERE "Location" = 'Rock Island, Illinois'
[ 8053, 262, 2472, 1271, 286, 6712, 9393, 287, 4631, 5451, 11, 9486, 13, 46506, 327, 28270, 7203, 37, 6302, 4943, 16034, 3084, 62, 1828, 20167, 33411, 366, 14749, 1, 796, 705, 19665, 5451, 11, 9486, 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 ]
[ 8053, 262, 2472, 1271, 286, 6712, 9393, 287, 4631, 5451, 11, 9486, 13, 46506, 327, 28270, 7203, 37, 6302, 4943, 16034, 3084, 62, 1828, 20167, 33411, 366, 14749, 1, 796, 705, 19665, 5451, 11, 9486, 6 ]
Next semester , who is teaching PAT 451 ?
SELECT DISTINCT instructor.name FROM instructor INNER JOIN offering_instructor ON offering_instructor.instructor_id = instructor.instructor_id INNER JOIN course_offering ON offering_instructor.offering_id = course_offering.offering_id INNER JOIN course ON course.course_id = course_offering.course_id INNER JOIN semester...
[ 10019, 24878, 837, 508, 318, 7743, 28748, 49356, 5633, 46506, 360, 8808, 1268, 4177, 21187, 13, 3672, 16034, 21187, 3268, 21479, 32357, 1268, 6011, 62, 259, 7249, 273, 6177, 6011, 62, 259, 7249, 273, 13, 259, 7249, 273, 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...
[ 10019, 24878, 837, 508, 318, 7743, 28748, 49356, 5633, 46506, 360, 8808, 1268, 4177, 21187, 13, 3672, 16034, 21187, 3268, 21479, 32357, 1268, 6011, 62, 259, 7249, 273, 6177, 6011, 62, 259, 7249, 273, 13, 259, 7249, 273, 62, 312, 796, ...
When the result was l 13-7 ot, who was the opponent?
SELECT "Opponent" FROM table_11906 WHERE "Result" = 'l 13-7 ot'
[ 2215, 262, 1255, 373, 300, 1511, 12, 22, 30972, 11, 508, 373, 262, 6125, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 16315, 3312, 33411, 366, 23004, 1, 796, 705, 75, 1511, 12, 22, 30972, 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 ]
[ 2215, 262, 1255, 373, 300, 1511, 12, 22, 30972, 11, 508, 373, 262, 6125, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 16315, 3312, 33411, 366, 23004, 1, 796, 705, 75, 1511, 12, 22, 30972, 6 ]
What is Volume:Issue, when Weeks on Top is less than 5, and when Issue Date(s) are 10 July - 24 July?
SELECT volume AS :issue FROM table_name_75 WHERE weeks_on_top < 5 AND issue_date_s_ = "10 july - 24 july"
[ 2061, 318, 14701, 25, 45147, 11, 618, 33259, 319, 5849, 318, 1342, 621, 642, 11, 290, 618, 18232, 7536, 7, 82, 8, 389, 838, 2901, 532, 1987, 2901, 30, 46506, 6115, 7054, 1058, 21949, 16034, 3084, 62, 3672, 62, 2425, 33411, 2745, 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, 318, 14701, 25, 45147, 11, 618, 33259, 319, 5849, 318, 1342, 621, 642, 11, 290, 618, 18232, 7536, 7, 82, 8, 389, 838, 2901, 532, 1987, 2901, 30, 46506, 6115, 7054, 1058, 21949, 16034, 3084, 62, 3672, 62, 2425, 33411, 2745, 62,...
SAN FRANCISCO 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 = 'SAN FRANCISCO' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = '...
[ 36753, 8782, 20940, 1797, 8220, 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, 31600, 15490, 62, 35009, 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...
[ 36753, 8782, 20940, 1797, 8220, 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, 31600, 15490, 62, 35009, 273...
Find the titles of all movies that have no ratings.
SELECT title FROM Movie WHERE NOT mID IN (SELECT mID FROM Rating)
[ 16742, 262, 8714, 286, 477, 6918, 326, 423, 645, 10109, 13, 46506, 3670, 16034, 15875, 33411, 5626, 285, 2389, 3268, 357, 46506, 285, 2389, 16034, 12028, 8 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16742, 262, 8714, 286, 477, 6918, 326, 423, 645, 10109, 13, 46506, 3670, 16034, 15875, 33411, 5626, 285, 2389, 3268, 357, 46506, 285, 2389, 16034, 12028, 8 ]
For each party, use a bar chart to show the number of its delegates, sort bars in asc order.
SELECT T2.Party, COUNT(T2.Party) FROM election AS T1 JOIN party AS T2 ON T1.Party = T2.Party_ID GROUP BY T2.Party ORDER BY T2.Party
[ 1890, 1123, 2151, 11, 779, 257, 2318, 8262, 284, 905, 262, 1271, 286, 663, 15265, 11, 3297, 9210, 287, 10570, 1502, 13, 46506, 309, 17, 13, 33553, 11, 327, 28270, 7, 51, 17, 13, 33553, 8, 16034, 3071, 7054, 309, 16, 32357, 1268, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 1123, 2151, 11, 779, 257, 2318, 8262, 284, 905, 262, 1271, 286, 663, 15265, 11, 3297, 9210, 287, 10570, 1502, 13, 46506, 309, 17, 13, 33553, 11, 327, 28270, 7, 51, 17, 13, 33553, 8, 16034, 3071, 7054, 309, 16, 32357, 1268, 2...
What are the different card types, and how many cards are there of each, and list in asc by the the total number .
SELECT card_type_code, COUNT(*) FROM Customers_Cards GROUP BY card_type_code ORDER BY COUNT(*)
[ 2061, 389, 262, 1180, 2657, 3858, 11, 290, 703, 867, 4116, 389, 612, 286, 1123, 11, 290, 1351, 287, 10570, 416, 262, 262, 2472, 1271, 764, 46506, 2657, 62, 4906, 62, 8189, 11, 327, 28270, 7, 28104, 16034, 36707, 62, 34, 1371, 44441,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 262, 1180, 2657, 3858, 11, 290, 703, 867, 4116, 389, 612, 286, 1123, 11, 290, 1351, 287, 10570, 416, 262, 262, 2472, 1271, 764, 46506, 2657, 62, 4906, 62, 8189, 11, 327, 28270, 7, 28104, 16034, 36707, 62, 34, 1371, 44441,...
Who was the partner on the game which took place on a clay surface with opponents of marco chiudinelli michael lammer and a runner-up result?
SELECT "Partner" FROM table_44450 WHERE "Outcome" = 'runner-up' AND "Surface" = 'clay' AND "Opponents" = 'marco chiudinelli michael lammer'
[ 8241, 373, 262, 5212, 319, 262, 983, 543, 1718, 1295, 319, 257, 21558, 4417, 351, 7691, 286, 1667, 1073, 33166, 463, 44076, 285, 40302, 30592, 647, 290, 257, 17490, 12, 929, 1255, 30, 46506, 366, 7841, 1008, 1, 16034, 3084, 62, 2598, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 8241, 373, 262, 5212, 319, 262, 983, 543, 1718, 1295, 319, 257, 21558, 4417, 351, 7691, 286, 1667, 1073, 33166, 463, 44076, 285, 40302, 30592, 647, 290, 257, 17490, 12, 929, 1255, 30, 46506, 366, 7841, 1008, 1, 16034, 3084, 62, 2598, ...
Users with a Website or AboutMe IDs 248532 to 497677.
SELECT * FROM Users WHERE (LENGTH(WebsiteUrl) > 0 OR LENGTH(AboutMe) > 0) AND Id >= 248532 AND Id < 497677 ORDER BY Id
[ 14490, 351, 257, 15887, 393, 7994, 5308, 32373, 1987, 5332, 2624, 284, 5125, 32059, 22, 13, 46506, 1635, 16034, 18987, 33411, 357, 43, 49494, 7, 33420, 28165, 8, 1875, 657, 6375, 406, 49494, 7, 8585, 5308, 8, 1875, 657, 8, 5357, 5121,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 14490, 351, 257, 15887, 393, 7994, 5308, 32373, 1987, 5332, 2624, 284, 5125, 32059, 22, 13, 46506, 1635, 16034, 18987, 33411, 357, 43, 49494, 7, 33420, 28165, 8, 1875, 657, 6375, 406, 49494, 7, 8585, 5308, 8, 1875, 657, 8, 5357, 5121,...
what is the total of floors when the name is k lntriangle and rank is less thank 63?
SELECT SUM(floors) FROM table_name_10 WHERE name = "kölntriangle" AND rank < 63
[ 10919, 318, 262, 2472, 286, 18570, 618, 262, 1438, 318, 479, 300, 429, 380, 9248, 290, 4279, 318, 1342, 5875, 8093, 30, 46506, 35683, 7, 48679, 669, 8, 16034, 3084, 62, 3672, 62, 940, 33411, 1438, 796, 366, 74, 9101, 75, 429, 380, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2472, 286, 18570, 618, 262, 1438, 318, 479, 300, 429, 380, 9248, 290, 4279, 318, 1342, 5875, 8093, 30, 46506, 35683, 7, 48679, 669, 8, 16034, 3084, 62, 3672, 62, 940, 33411, 1438, 796, 366, 74, 9101, 75, 429, 380, ...
What is the start of the Team of Andretti Green Racing with a finish higher than 3 in a year before 2007?
SELECT AVG("Start") FROM table_62782 WHERE "Team" = 'andretti green racing' AND "Finish" > '3' AND "Year" < '2007'
[ 2061, 318, 262, 923, 286, 262, 4816, 286, 10948, 35671, 3469, 14954, 351, 257, 5461, 2440, 621, 513, 287, 257, 614, 878, 4343, 30, 46506, 35224, 7203, 10434, 4943, 16034, 3084, 62, 49856, 6469, 33411, 366, 15592, 1, 796, 705, 392, 114...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 286, 262, 4816, 286, 10948, 35671, 3469, 14954, 351, 257, 5461, 2440, 621, 513, 287, 257, 614, 878, 4343, 30, 46506, 35224, 7203, 10434, 4943, 16034, 3084, 62, 49856, 6469, 33411, 366, 15592, 1, 796, 705, 392, 114...
Name the number of nat for total g of 6
SELECT COUNT(nat) FROM table_22542179_3 WHERE total_g = 6
[ 5376, 262, 1271, 286, 34664, 329, 2472, 308, 286, 718, 46506, 327, 28270, 7, 32353, 8, 16034, 3084, 62, 18182, 3682, 21738, 62, 18, 33411, 2472, 62, 70, 796, 718 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 1271, 286, 34664, 329, 2472, 308, 286, 718, 46506, 327, 28270, 7, 32353, 8, 16034, 3084, 62, 18182, 3682, 21738, 62, 18, 33411, 2472, 62, 70, 796, 718 ]
Where is the University that is also called Owls?
SELECT location FROM table_19210115_1 WHERE nickname = "Owls"
[ 8496, 318, 262, 2059, 326, 318, 635, 1444, 11960, 7278, 30, 46506, 4067, 16034, 3084, 62, 1129, 2481, 486, 1314, 62, 16, 33411, 21814, 796, 366, 46, 86, 7278, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8496, 318, 262, 2059, 326, 318, 635, 1444, 11960, 7278, 30, 46506, 4067, 16034, 3084, 62, 1129, 2481, 486, 1314, 62, 16, 33411, 21814, 796, 366, 46, 86, 7278, 1 ]
What is the arena capacity of the arena in the town whose head coach is Roberto Serniotti?
SELECT "Arena (capacity)" FROM table_23068 WHERE "Head Coach" = 'Roberto Serniotti'
[ 2061, 318, 262, 13478, 5339, 286, 262, 13478, 287, 262, 3240, 3025, 1182, 3985, 318, 32076, 311, 1142, 20773, 72, 30, 46506, 366, 43199, 64, 357, 42404, 16725, 16034, 3084, 62, 19214, 3104, 33411, 366, 13847, 16393, 1, 796, 705, 15924, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13478, 5339, 286, 262, 13478, 287, 262, 3240, 3025, 1182, 3985, 318, 32076, 311, 1142, 20773, 72, 30, 46506, 366, 43199, 64, 357, 42404, 16725, 16034, 3084, 62, 19214, 3104, 33411, 366, 13847, 16393, 1, 796, 705, 15924, ...
Which opponent has a save of smith (22)?
SELECT "Opponent" FROM table_37074 WHERE "Save" = 'smith (22)'
[ 13828, 6125, 468, 257, 3613, 286, 895, 342, 357, 1828, 19427, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 20167, 4524, 33411, 366, 16928, 1, 796, 705, 21453, 357, 1828, 33047 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 6125, 468, 257, 3613, 286, 895, 342, 357, 1828, 19427, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 20167, 4524, 33411, 366, 16928, 1, 796, 705, 21453, 357, 1828, 33047 ]
Which Partner has an Opponents of wayne arthurs sandon stolle?
SELECT "Partner" FROM table_6969 WHERE "Opponents" = 'wayne arthurs sandon stolle'
[ 13828, 35532, 468, 281, 9385, 3906, 286, 835, 710, 610, 400, 1834, 264, 5063, 336, 349, 293, 30, 46506, 366, 7841, 1008, 1, 16034, 3084, 62, 3388, 3388, 33411, 366, 27524, 3906, 1, 796, 705, 43932, 610, 400, 1834, 264, 5063, 336, 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 ]
[ 13828, 35532, 468, 281, 9385, 3906, 286, 835, 710, 610, 400, 1834, 264, 5063, 336, 349, 293, 30, 46506, 366, 7841, 1008, 1, 16034, 3084, 62, 3388, 3388, 33411, 366, 27524, 3906, 1, 796, 705, 43932, 610, 400, 1834, 264, 5063, 336, 34...
how many papers published in acm dev 2016 ?
SELECT DISTINCT COUNT(paper.paperid) FROM paper, venue WHERE paper.year = 2016 AND venue.venueid = paper.venueid AND venue.venuename = 'acm dev'
[ 4919, 867, 9473, 3199, 287, 936, 76, 1614, 1584, 5633, 46506, 360, 8808, 1268, 4177, 327, 28270, 7, 20189, 13, 20189, 312, 8, 16034, 3348, 11, 14359, 33411, 3348, 13, 1941, 796, 1584, 5357, 14359, 13, 4080, 312, 796, 3348, 13, 4080, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9473, 3199, 287, 936, 76, 1614, 1584, 5633, 46506, 360, 8808, 1268, 4177, 327, 28270, 7, 20189, 13, 20189, 312, 8, 16034, 3348, 11, 14359, 33411, 3348, 13, 1941, 796, 1584, 5357, 14359, 13, 4080, 312, 796, 3348, 13, 4080, ...
How many F.L. are listed for Formula Three Euroseries?
SELECT COUNT("F.L.") FROM table_73796 WHERE "Series" = 'Formula Three Euroseries'
[ 2437, 867, 376, 13, 43, 13, 389, 5610, 329, 19639, 7683, 1898, 25076, 30, 46506, 327, 28270, 7203, 37, 13, 43, 19570, 16034, 3084, 62, 22, 2718, 4846, 33411, 366, 27996, 1, 796, 705, 8479, 4712, 7683, 1898, 25076, 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 ]
[ 2437, 867, 376, 13, 43, 13, 389, 5610, 329, 19639, 7683, 1898, 25076, 30, 46506, 327, 28270, 7203, 37, 13, 43, 19570, 16034, 3084, 62, 22, 2718, 4846, 33411, 366, 27996, 1, 796, 705, 8479, 4712, 7683, 1898, 25076, 6 ]
What is the score of the United States, which has more than $24,542?
SELECT score FROM table_name_21 WHERE country = "united states" AND money___$__ > 24 OFFSET 542
[ 2061, 318, 262, 4776, 286, 262, 1578, 1829, 11, 543, 468, 517, 621, 720, 1731, 11, 20, 3682, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 2481, 33411, 1499, 796, 366, 41187, 2585, 1, 5357, 1637, 17569, 3, 834, 1875, 1987, 3963, 10652...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4776, 286, 262, 1578, 1829, 11, 543, 468, 517, 621, 720, 1731, 11, 20, 3682, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 2481, 33411, 1499, 796, 366, 41187, 2585, 1, 5357, 1637, 17569, 3, 834, 1875, 1987, 3963, 10652...
How many players are from Sioux City, Iowa?
SELECT COUNT(player) FROM table_14342367_13 WHERE hometown = "Sioux City, Iowa"
[ 2437, 867, 1938, 389, 422, 37903, 2254, 11, 9406, 30, 46506, 327, 28270, 7, 7829, 8, 16034, 3084, 62, 1415, 2682, 1954, 3134, 62, 1485, 33411, 20994, 796, 366, 42801, 22193, 2254, 11, 9406, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1938, 389, 422, 37903, 2254, 11, 9406, 30, 46506, 327, 28270, 7, 7829, 8, 16034, 3084, 62, 1415, 2682, 1954, 3134, 62, 1485, 33411, 20994, 796, 366, 42801, 22193, 2254, 11, 9406, 1 ]
how many patients stayed in hospital for more than 17 days and were suggested drug route as ou?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.days_stay > "17" AND prescriptions.route = "OU"
[ 4919, 867, 3871, 9658, 287, 4436, 329, 517, 621, 1596, 1528, 290, 547, 5220, 2563, 6339, 355, 267, 84, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 3871, 9658, 287, 4436, 329, 517, 621, 1596, 1528, 290, 547, 5220, 2563, 6339, 355, 267, 84, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, ...
when did the last episode air ?
SELECT "original airdate" FROM table_204_449 ORDER BY "episode" DESC LIMIT 1
[ 12518, 750, 262, 938, 4471, 1633, 5633, 46506, 366, 14986, 257, 1447, 378, 1, 16034, 3084, 62, 18638, 62, 31911, 38678, 11050, 366, 38668, 1, 22196, 34, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 12518, 750, 262, 938, 4471, 1633, 5633, 46506, 366, 14986, 257, 1447, 378, 1, 16034, 3084, 62, 18638, 62, 31911, 38678, 11050, 366, 38668, 1, 22196, 34, 27564, 2043, 352 ]
Which player from A-League 39 (110) has the highest games per goal?
SELECT MAX(games_per_goal) FROM table_name_34 WHERE a_league = "39 (110)"
[ 13828, 2137, 422, 317, 12, 24623, 5014, 357, 11442, 8, 468, 262, 4511, 1830, 583, 3061, 30, 46506, 25882, 7, 19966, 62, 525, 62, 35231, 8, 16034, 3084, 62, 3672, 62, 2682, 33411, 257, 62, 19316, 796, 366, 2670, 357, 11442, 16725 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 2137, 422, 317, 12, 24623, 5014, 357, 11442, 8, 468, 262, 4511, 1830, 583, 3061, 30, 46506, 25882, 7, 19966, 62, 525, 62, 35231, 8, 16034, 3084, 62, 3672, 62, 2682, 33411, 257, 62, 19316, 796, 366, 2670, 357, 11442, 16725 ]
How many players weight 95?
SELECT COUNT(player) FROM table_13312864_1 WHERE weight = 95
[ 2437, 867, 1938, 3463, 6957, 30, 46506, 327, 28270, 7, 7829, 8, 16034, 3084, 62, 16945, 12762, 2414, 62, 16, 33411, 3463, 796, 6957 ]
[ 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, 1938, 3463, 6957, 30, 46506, 327, 28270, 7, 7829, 8, 16034, 3084, 62, 16945, 12762, 2414, 62, 16, 33411, 3463, 796, 6957 ]
Return a bar chart on what are the names and prices of all products in the store?, and order names in desc order.
SELECT Name, AVG(Price) FROM Products GROUP BY Name ORDER BY Name DESC
[ 13615, 257, 2318, 8262, 319, 644, 389, 262, 3891, 290, 4536, 286, 477, 3186, 287, 262, 3650, 21747, 290, 1502, 3891, 287, 1715, 1502, 13, 46506, 6530, 11, 35224, 7, 18124, 8, 16034, 18675, 44441, 11050, 6530, 38678, 11050, 6530, 22196, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13615, 257, 2318, 8262, 319, 644, 389, 262, 3891, 290, 4536, 286, 477, 3186, 287, 262, 3650, 21747, 290, 1502, 3891, 287, 1715, 1502, 13, 46506, 6530, 11, 35224, 7, 18124, 8, 16034, 18675, 44441, 11050, 6530, 38678, 11050, 6530, 22196, ...
Which segment A also has a segment D of kitchen shears?
SELECT "Segment A" FROM table_33826 WHERE "Segment D" = 'kitchen shears'
[ 13828, 10618, 317, 635, 468, 257, 10618, 360, 286, 9592, 673, 945, 30, 46506, 366, 41030, 434, 317, 1, 16034, 3084, 62, 28460, 2075, 33411, 366, 41030, 434, 360, 1, 796, 705, 15813, 6607, 673, 945, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 10618, 317, 635, 468, 257, 10618, 360, 286, 9592, 673, 945, 30, 46506, 366, 41030, 434, 317, 1, 16034, 3084, 62, 28460, 2075, 33411, 366, 41030, 434, 360, 1, 796, 705, 15813, 6607, 673, 945, 6 ]
What is the roll number of the school in Aramoho with a decile of 1?
SELECT roll FROM table_name_86 WHERE area = "aramoho" AND decile = 1
[ 2061, 318, 262, 4836, 1271, 286, 262, 1524, 287, 39026, 40950, 351, 257, 875, 576, 286, 352, 30, 46506, 4836, 16034, 3084, 62, 3672, 62, 4521, 33411, 1989, 796, 366, 41158, 40950, 1, 5357, 875, 576, 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, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4836, 1271, 286, 262, 1524, 287, 39026, 40950, 351, 257, 875, 576, 286, 352, 30, 46506, 4836, 16034, 3084, 62, 3672, 62, 4521, 33411, 1989, 796, 366, 41158, 40950, 1, 5357, 875, 576, 796, 352 ]
What 1941 has N/A as 1945, N/A for 1948, and 9 for 1953?
SELECT "1941" FROM table_40819 WHERE "1945" = 'n/a' AND "1948" = 'n/a' AND "1953" = '9'
[ 2061, 23234, 468, 399, 14, 32, 355, 15761, 11, 399, 14, 32, 329, 21794, 11, 290, 860, 329, 24217, 30, 46506, 366, 1129, 3901, 1, 16034, 3084, 62, 26200, 1129, 33411, 366, 41931, 1, 796, 705, 77, 14, 64, 6, 5357, 366, 1129, 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, 1, 1, 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, 23234, 468, 399, 14, 32, 355, 15761, 11, 399, 14, 32, 329, 21794, 11, 290, 860, 329, 24217, 30, 46506, 366, 1129, 3901, 1, 16034, 3084, 62, 26200, 1129, 33411, 366, 41931, 1, 796, 705, 77, 14, 64, 6, 5357, 366, 1129, 2780, ...
What was the year of Bridget Jones: The Edge of Reason that was nominated?
SELECT MIN("Year") FROM table_66052 WHERE "Result" = 'nominated' AND "Film" = 'bridget jones: the edge of reason'
[ 2061, 373, 262, 614, 286, 1709, 17484, 5437, 25, 383, 13113, 286, 23219, 326, 373, 19332, 30, 46506, 20625, 7203, 17688, 4943, 16034, 3084, 62, 39885, 4309, 33411, 366, 23004, 1, 796, 705, 26601, 3898, 6, 5357, 366, 39750, 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 ]
[ 2061, 373, 262, 614, 286, 1709, 17484, 5437, 25, 383, 13113, 286, 23219, 326, 373, 19332, 30, 46506, 20625, 7203, 17688, 4943, 16034, 3084, 62, 39885, 4309, 33411, 366, 23004, 1, 796, 705, 26601, 3898, 6, 5357, 366, 39750, 1, 796, 705...
Which manufacturer is grid 11?
SELECT "Manufacturer" FROM table_45525 WHERE "Grid" = '11'
[ 13828, 11554, 318, 10706, 1367, 30, 46506, 366, 44445, 15051, 1, 16034, 3084, 62, 30505, 1495, 33411, 366, 41339, 1, 796, 705, 1157, 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 ]
[ 13828, 11554, 318, 10706, 1367, 30, 46506, 366, 44445, 15051, 1, 16034, 3084, 62, 30505, 1495, 33411, 366, 41339, 1, 796, 705, 1157, 6 ]
How many totals have 1 gold and a rank smaller than 2?
SELECT COUNT(total) FROM table_name_32 WHERE gold = 1 AND rank < 2
[ 2437, 867, 26310, 423, 352, 3869, 290, 257, 4279, 4833, 621, 362, 30, 46506, 327, 28270, 7, 23350, 8, 16034, 3084, 62, 3672, 62, 2624, 33411, 3869, 796, 352, 5357, 4279, 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 ]
[ 2437, 867, 26310, 423, 352, 3869, 290, 257, 4279, 4833, 621, 362, 30, 46506, 327, 28270, 7, 23350, 8, 16034, 3084, 62, 3672, 62, 2624, 33411, 3869, 796, 352, 5357, 4279, 1279, 362 ]
Which home team plays at Punt Road Oval?
SELECT home_team FROM table_name_40 WHERE venue = "punt road oval"
[ 13828, 1363, 1074, 5341, 379, 350, 2797, 5567, 25165, 30, 46506, 1363, 62, 15097, 16034, 3084, 62, 3672, 62, 1821, 33411, 14359, 796, 366, 79, 2797, 2975, 41186, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 1363, 1074, 5341, 379, 350, 2797, 5567, 25165, 30, 46506, 1363, 62, 15097, 16034, 3084, 62, 3672, 62, 1821, 33411, 14359, 796, 366, 79, 2797, 2975, 41186, 1 ]
If the speaker is R. Muthiah, what is the election year maximum?
SELECT MAX(election_year) FROM table_23512864_4 WHERE speaker = "R. Muthiah"
[ 1532, 262, 10834, 318, 371, 13, 337, 1071, 9520, 11, 644, 318, 262, 3071, 614, 5415, 30, 46506, 25882, 7, 14300, 62, 1941, 8, 16034, 3084, 62, 22370, 12762, 2414, 62, 19, 33411, 10834, 796, 366, 49, 13, 337, 1071, 9520, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1532, 262, 10834, 318, 371, 13, 337, 1071, 9520, 11, 644, 318, 262, 3071, 614, 5415, 30, 46506, 25882, 7, 14300, 62, 1941, 8, 16034, 3084, 62, 22370, 12762, 2414, 62, 19, 33411, 10834, 796, 366, 49, 13, 337, 1071, 9520, 1 ]
provide the number of patients whose admission year is less than 2175 and diagnoses short title is poison-psychotropic agt?
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 = "Poison-psychotropic agt"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 13938, 614, 318, 1342, 621, 362, 17430, 290, 40567, 1790, 3670, 318, 8764, 12, 23947, 46084, 556, 83, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13938, 614, 318, 1342, 621, 362, 17430, 290, 40567, 1790, 3670, 318, 8764, 12, 23947, 46084, 556, 83, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, ...
What is the year that Dewi Claire Schreefel is the champion?
SELECT "Year" FROM table_471 WHERE "Champion" = 'Dewi Claire Schreefel'
[ 2061, 318, 262, 614, 326, 25075, 72, 20758, 3059, 631, 69, 417, 318, 262, 8783, 30, 46506, 366, 17688, 1, 16034, 3084, 62, 38339, 33411, 366, 1925, 6734, 1, 796, 705, 35, 413, 72, 20758, 3059, 631, 69, 417, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 614, 326, 25075, 72, 20758, 3059, 631, 69, 417, 318, 262, 8783, 30, 46506, 366, 17688, 1, 16034, 3084, 62, 38339, 33411, 366, 1925, 6734, 1, 796, 705, 35, 413, 72, 20758, 3059, 631, 69, 417, 6 ]
what is the total number of patients diagnosed with icd9 code 45620?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE diagnoses.icd9_code = "45620"
[ 10919, 318, 262, 2472, 1271, 286, 3871, 14641, 351, 14158, 67, 24, 2438, 604, 3980, 1238, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 2472, 1271, 286, 3871, 14641, 351, 14158, 67, 24, 2438, 604, 3980, 1238, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18...
Which team has the team captain Jon Newsome?
SELECT team FROM table_name_81 WHERE captain = "jon newsome"
[ 13828, 1074, 468, 262, 1074, 10654, 5966, 3000, 462, 30, 46506, 1074, 16034, 3084, 62, 3672, 62, 6659, 33411, 10654, 796, 366, 46286, 1705, 462, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 1074, 468, 262, 1074, 10654, 5966, 3000, 462, 30, 46506, 1074, 16034, 3084, 62, 3672, 62, 6659, 33411, 10654, 796, 366, 46286, 1705, 462, 1 ]
how many patients whose discharge location is rehab/distinct part hosp were diagnosed with myalgia and myositis nos?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.discharge_location = "REHAB/DISTINCT PART HOSP" AND diagnoses.short_title = "Myalgia and myositis NOS"
[ 4919, 867, 3871, 3025, 17655, 4067, 318, 14321, 14, 17080, 4612, 636, 10496, 547, 14641, 351, 616, 47111, 290, 616, 7434, 271, 43630, 30, 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...
[ 4919, 867, 3871, 3025, 17655, 4067, 318, 14321, 14, 17080, 4612, 636, 10496, 547, 14641, 351, 616, 47111, 290, 616, 7434, 271, 43630, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21...
In what place did Tom Lehman finish?
SELECT "Place" FROM table_61706 WHERE "Player" = 'tom lehman'
[ 818, 644, 1295, 750, 4186, 29921, 805, 5461, 30, 46506, 366, 27271, 1, 16034, 3084, 62, 47941, 3312, 33411, 366, 14140, 1, 796, 705, 39532, 443, 71, 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, 1 ]
[ 818, 644, 1295, 750, 4186, 29921, 805, 5461, 30, 46506, 366, 27271, 1, 16034, 3084, 62, 47941, 3312, 33411, 366, 14140, 1, 796, 705, 39532, 443, 71, 805, 6 ]
do you have a flight from ATLANTA to BOSTON that will stop in WASHINGTON
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 = 'BOSTON' AND CITY_2.cit...
[ 4598, 345, 423, 257, 5474, 422, 5161, 25697, 5603, 284, 347, 10892, 1340, 326, 481, 2245, 287, 370, 19436, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 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, 1...
[ 4598, 345, 423, 257, 5474, 422, 5161, 25697, 5603, 284, 347, 10892, 1340, 326, 481, 2245, 287, 370, 19436, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 1...
What location has October 10 as date?
SELECT "Location" FROM table_71083 WHERE "Date" = 'october 10'
[ 2061, 4067, 468, 3267, 838, 355, 3128, 30, 46506, 366, 14749, 1, 16034, 3084, 62, 43147, 5999, 33411, 366, 10430, 1, 796, 705, 38441, 2023, 838, 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, 4067, 468, 3267, 838, 355, 3128, 30, 46506, 366, 14749, 1, 16034, 3084, 62, 43147, 5999, 33411, 366, 10430, 1, 796, 705, 38441, 2023, 838, 6 ]
what are the top five most often prescribed drugs that patients were prescribed within 2 months after they were prescribed with paclitaxel (taxol) since 2 years ago?
SELECT t3.drug FROM (SELECT t2.drug, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, prescriptions.startdate FROM prescriptions JOIN admissions ON prescriptions.hadm_id = admissions.hadm_id WHERE prescriptions.drug = 'paclitaxel (taxol)' AND DATETIME(prescriptions.startdate) >= DATE...
[ 10919, 389, 262, 1353, 1936, 749, 1690, 14798, 5010, 326, 3871, 547, 14798, 1626, 362, 1933, 706, 484, 547, 14798, 351, 23503, 18250, 897, 417, 357, 19290, 349, 8, 1201, 362, 812, 2084, 30, 46506, 256, 18, 13, 30349, 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, 1353, 1936, 749, 1690, 14798, 5010, 326, 3871, 547, 14798, 1626, 362, 1933, 706, 484, 547, 14798, 351, 23503, 18250, 897, 417, 357, 19290, 349, 8, 1201, 362, 812, 2084, 30, 46506, 256, 18, 13, 30349, 16034, 357, 46506...
what is the name of the diagnosis of patient 25814 first was received since 2105?
SELECT d_icd_diagnoses.short_title FROM d_icd_diagnoses WHERE d_icd_diagnoses.icd9_code IN (SELECT diagnoses_icd.icd9_code FROM diagnoses_icd WHERE diagnoses_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 25814) AND STRFTIME('%y', diagnoses_icd.charttime) >= '2105' ORDER BY diag...
[ 10919, 318, 262, 1438, 286, 262, 13669, 286, 5827, 37528, 1415, 717, 373, 2722, 1201, 362, 13348, 30, 46506, 288, 62, 291, 67, 62, 47356, 4629, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 47356, 4629, 33411, 288, 62, 291, 67, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 1438, 286, 262, 13669, 286, 5827, 37528, 1415, 717, 373, 2722, 1201, 362, 13348, 30, 46506, 288, 62, 291, 67, 62, 47356, 4629, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 47356, 4629, 33411, 288, 62, 291, 67, ...
What score has February 12, 2006 as the date?
SELECT score FROM table_name_38 WHERE date = "february 12, 2006"
[ 2061, 4776, 468, 3945, 1105, 11, 4793, 355, 262, 3128, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 2548, 33411, 3128, 796, 366, 69, 1765, 3728, 1105, 11, 4793, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 4776, 468, 3945, 1105, 11, 4793, 355, 262, 3128, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 2548, 33411, 3128, 796, 366, 69, 1765, 3728, 1105, 11, 4793, 1 ]
What is the earliest year a SG has over 650 assists?
SELECT MIN("From") FROM table_55647 WHERE "Pos." = 'sg' AND "Asts" > '650'
[ 2061, 318, 262, 14555, 614, 257, 26147, 468, 625, 22626, 13648, 30, 46506, 20625, 7203, 4863, 4943, 16034, 3084, 62, 2816, 33981, 33411, 366, 21604, 526, 796, 705, 45213, 6, 5357, 366, 32, 6448, 1, 1875, 705, 17544, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 14555, 614, 257, 26147, 468, 625, 22626, 13648, 30, 46506, 20625, 7203, 4863, 4943, 16034, 3084, 62, 2816, 33981, 33411, 366, 21604, 526, 796, 705, 45213, 6, 5357, 366, 32, 6448, 1, 1875, 705, 17544, 6 ]
Who was in Lane 5 and had a heat of 7?
SELECT "Name" FROM table_66301 WHERE "Heat" = '7' AND "Lane" = '5'
[ 8241, 373, 287, 15016, 642, 290, 550, 257, 4894, 286, 767, 30, 46506, 366, 5376, 1, 16034, 3084, 62, 2791, 18938, 33411, 366, 39596, 1, 796, 705, 22, 6, 5357, 366, 43, 1531, 1, 796, 705, 20, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 373, 287, 15016, 642, 290, 550, 257, 4894, 286, 767, 30, 46506, 366, 5376, 1, 16034, 3084, 62, 2791, 18938, 33411, 366, 39596, 1, 796, 705, 22, 6, 5357, 366, 43, 1531, 1, 796, 705, 20, 6 ]
Stacked bar chart of the total number for with each Sex in each rank, and show names from low to high order please.
SELECT Rank, COUNT(*) FROM Faculty GROUP BY Sex, Rank ORDER BY Rank
[ 1273, 6021, 2318, 8262, 286, 262, 2472, 1271, 329, 351, 1123, 14419, 287, 1123, 4279, 11, 290, 905, 3891, 422, 1877, 284, 1029, 1502, 3387, 13, 46506, 10916, 11, 327, 28270, 7, 28104, 16034, 35262, 44441, 11050, 14419, 11, 10916, 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 ]
[ 1273, 6021, 2318, 8262, 286, 262, 2472, 1271, 329, 351, 1123, 14419, 287, 1123, 4279, 11, 290, 905, 3891, 422, 1877, 284, 1029, 1502, 3387, 13, 46506, 10916, 11, 327, 28270, 7, 28104, 16034, 35262, 44441, 11050, 14419, 11, 10916, 38678,...
Who is the director when the title is 2003?
SELECT director FROM table_name_27 WHERE title = "2003"
[ 8241, 318, 262, 3437, 618, 262, 3670, 318, 5816, 30, 46506, 3437, 16034, 3084, 62, 3672, 62, 1983, 33411, 3670, 796, 366, 16088, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 318, 262, 3437, 618, 262, 3670, 318, 5816, 30, 46506, 3437, 16034, 3084, 62, 3672, 62, 1983, 33411, 3670, 796, 366, 16088, 1 ]
Which station is from China and has a frequency of 684khz?
SELECT station FROM table_name_79 WHERE country_of_origin = "china" AND frequency = "684khz"
[ 13828, 4429, 318, 422, 2807, 290, 468, 257, 8373, 286, 718, 5705, 14636, 89, 30, 46506, 4429, 16034, 3084, 62, 3672, 62, 3720, 33411, 1499, 62, 1659, 62, 47103, 796, 366, 354, 1437, 1, 5357, 8373, 796, 366, 41580, 14636, 89, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4429, 318, 422, 2807, 290, 468, 257, 8373, 286, 718, 5705, 14636, 89, 30, 46506, 4429, 16034, 3084, 62, 3672, 62, 3720, 33411, 1499, 62, 1659, 62, 47103, 796, 366, 354, 1437, 1, 5357, 8373, 796, 366, 41580, 14636, 89, 1 ]
What were the highest points for less than 78 laps and on grid 5?
SELECT MAX(points) FROM table_name_86 WHERE grid = 5 AND laps < 78
[ 2061, 547, 262, 4511, 2173, 329, 1342, 621, 8699, 24590, 290, 319, 10706, 642, 30, 46506, 25882, 7, 13033, 8, 16034, 3084, 62, 3672, 62, 4521, 33411, 10706, 796, 642, 5357, 24590, 1279, 8699 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 547, 262, 4511, 2173, 329, 1342, 621, 8699, 24590, 290, 319, 10706, 642, 30, 46506, 25882, 7, 13033, 8, 16034, 3084, 62, 3672, 62, 4521, 33411, 10706, 796, 642, 5357, 24590, 1279, 8699 ]
what drug was last given to patient 022-44805 since 01/2104?
SELECT medication.drugname FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '022-44805')) AND STRFTIME('%y-%m', medication.drugstarttime) >= '21...
[ 10919, 2563, 373, 938, 1813, 284, 5827, 657, 1828, 12, 2598, 28256, 1201, 5534, 14, 17, 13464, 30, 46506, 14103, 13, 30349, 3672, 16034, 14103, 33411, 14103, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 2563, 373, 938, 1813, 284, 5827, 657, 1828, 12, 2598, 28256, 1201, 5534, 14, 17, 13464, 30, 46506, 14103, 13, 30349, 3672, 16034, 14103, 33411, 14103, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, ...
Bar graph to show mean school id from different all home, rank by the names in asc.
SELECT All_Home, AVG(School_ID) FROM basketball_match GROUP BY All_Home ORDER BY All_Home
[ 10374, 4823, 284, 905, 1612, 1524, 4686, 422, 1180, 477, 1363, 11, 4279, 416, 262, 3891, 287, 10570, 13, 46506, 1439, 62, 16060, 11, 35224, 7, 26130, 62, 2389, 8, 16034, 9669, 62, 15699, 44441, 11050, 1439, 62, 16060, 38678, 11050, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4823, 284, 905, 1612, 1524, 4686, 422, 1180, 477, 1363, 11, 4279, 416, 262, 3891, 287, 10570, 13, 46506, 1439, 62, 16060, 11, 35224, 7, 26130, 62, 2389, 8, 16034, 9669, 62, 15699, 44441, 11050, 1439, 62, 16060, 38678, 11050, 14...
what is the four most commonly used procedures that were given to patients within 2 months after the diagnosis of ventricular fibrillation since 2104?
SELECT t3.treatmentname FROM (SELECT t2.treatmentname, 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 = 'ventricular fibrillation' AND STRFTIME('...
[ 10919, 318, 262, 1440, 749, 8811, 973, 9021, 326, 547, 1813, 284, 3871, 1626, 362, 1933, 706, 262, 13669, 286, 7435, 41001, 277, 2889, 40903, 1201, 362, 13464, 30, 46506, 256, 18, 13, 42487, 3672, 16034, 357, 46506, 256, 17, 13, 42487...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1440, 749, 8811, 973, 9021, 326, 547, 1813, 284, 3871, 1626, 362, 1933, 706, 262, 13669, 286, 7435, 41001, 277, 2889, 40903, 1201, 362, 13464, 30, 46506, 256, 18, 13, 42487, 3672, 16034, 357, 46506, 256, 17, 13, 42487...
Who won the US Open in 1937?
SELECT player FROM table_197638_6 WHERE us_open = 1937
[ 8241, 1839, 262, 1294, 4946, 287, 28684, 30, 46506, 2137, 16034, 3084, 62, 38108, 2548, 62, 21, 33411, 514, 62, 9654, 796, 28684 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 1839, 262, 1294, 4946, 287, 28684, 30, 46506, 2137, 16034, 3084, 62, 38108, 2548, 62, 21, 33411, 514, 62, 9654, 796, 28684 ]
What is the To par of the Player from New Zealand who had a Score of 75-70=145?
SELECT to_par FROM table_name_51 WHERE score = 75 - 70 = 145 AND country = "new zealand"
[ 2061, 318, 262, 1675, 1582, 286, 262, 7853, 422, 968, 8936, 508, 550, 257, 15178, 286, 5441, 12, 2154, 28, 18781, 30, 46506, 284, 62, 1845, 16034, 3084, 62, 3672, 62, 4349, 33411, 4776, 796, 5441, 532, 4317, 796, 20299, 5357, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1675, 1582, 286, 262, 7853, 422, 968, 8936, 508, 550, 257, 15178, 286, 5441, 12, 2154, 28, 18781, 30, 46506, 284, 62, 1845, 16034, 3084, 62, 3672, 62, 4349, 33411, 4776, 796, 5441, 532, 4317, 796, 20299, 5357, 1499, ...
Name the first elected for kentucky 3
SELECT first_elected FROM table_2668378_5 WHERE district = "Kentucky 3"
[ 5376, 262, 717, 7018, 329, 479, 298, 5309, 513, 46506, 717, 62, 28604, 16034, 3084, 62, 2075, 3104, 30695, 62, 20, 33411, 4783, 796, 366, 42265, 5309, 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 ]
[ 5376, 262, 717, 7018, 329, 479, 298, 5309, 513, 46506, 717, 62, 28604, 16034, 3084, 62, 2075, 3104, 30695, 62, 20, 33411, 4783, 796, 366, 42265, 5309, 513, 1 ]
List all directors along with the number of films directed by each director in a bar chart, and rank Y-axis from low to high order.
SELECT Directed_by, COUNT(*) FROM film GROUP BY Directed_by ORDER BY COUNT(*)
[ 8053, 477, 13445, 1863, 351, 262, 1271, 286, 7328, 7924, 416, 1123, 3437, 287, 257, 2318, 8262, 11, 290, 4279, 575, 12, 22704, 422, 1877, 284, 1029, 1502, 13, 46506, 4128, 276, 62, 1525, 11, 327, 28270, 7, 28104, 16034, 2646, 44441, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8053, 477, 13445, 1863, 351, 262, 1271, 286, 7328, 7924, 416, 1123, 3437, 287, 257, 2318, 8262, 11, 290, 4279, 575, 12, 22704, 422, 1877, 284, 1029, 1502, 13, 46506, 4128, 276, 62, 1525, 11, 327, 28270, 7, 28104, 16034, 2646, 44441, ...
since 12/2104, what was the daily minimum value of the pt of patient 31854?
SELECT MIN(labevents.valuenum) FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 31854) AND labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'pt') AND STRFTIME('%y-%m', labevents.charttime) >= '2104-12' GROUP BY STRFT...
[ 20777, 1105, 14, 17, 13464, 11, 644, 373, 262, 4445, 5288, 1988, 286, 262, 42975, 286, 5827, 39320, 4051, 30, 46506, 20625, 7, 23912, 31534, 13, 2100, 84, 44709, 8, 16034, 2248, 31534, 33411, 2248, 31534, 13, 18108, 76, 62, 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...
[ 20777, 1105, 14, 17, 13464, 11, 644, 373, 262, 4445, 5288, 1988, 286, 262, 42975, 286, 5827, 39320, 4051, 30, 46506, 20625, 7, 23912, 31534, 13, 2100, 84, 44709, 8, 16034, 2248, 31534, 33411, 2248, 31534, 13, 18108, 76, 62, 312, 3268,...
Return a histogram on what are the different role codes for users, and how many users have each?
SELECT role_code, COUNT(*) FROM Users GROUP BY role_code
[ 13615, 257, 1554, 21857, 319, 644, 389, 262, 1180, 2597, 12416, 329, 2985, 11, 290, 703, 867, 2985, 423, 1123, 30, 46506, 2597, 62, 8189, 11, 327, 28270, 7, 28104, 16034, 18987, 44441, 11050, 2597, 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 ]
[ 13615, 257, 1554, 21857, 319, 644, 389, 262, 1180, 2597, 12416, 329, 2985, 11, 290, 703, 867, 2985, 423, 1123, 30, 46506, 2597, 62, 8189, 11, 327, 28270, 7, 28104, 16034, 18987, 44441, 11050, 2597, 62, 8189 ]
What was the name of the episode directed by Jessica Yu?
SELECT title FROM table_23492454_1 WHERE directed_by = "Jessica Yu"
[ 2061, 373, 262, 1438, 286, 262, 4471, 7924, 416, 17352, 10605, 30, 46506, 3670, 16034, 3084, 62, 1954, 2920, 1731, 4051, 62, 16, 33411, 7924, 62, 1525, 796, 366, 45572, 10605, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 1438, 286, 262, 4471, 7924, 416, 17352, 10605, 30, 46506, 3670, 16034, 3084, 62, 1954, 2920, 1731, 4051, 62, 16, 33411, 7924, 62, 1525, 796, 366, 45572, 10605, 1 ]
How many numbers in series were for the number in season of 8?
SELECT COUNT("No. in series") FROM table_28382 WHERE "No. in season" = '8'
[ 2437, 867, 3146, 287, 2168, 547, 329, 262, 1271, 287, 1622, 286, 807, 30, 46506, 327, 28270, 7203, 2949, 13, 287, 2168, 4943, 16034, 3084, 62, 2078, 36243, 33411, 366, 2949, 13, 287, 1622, 1, 796, 705, 23, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 3146, 287, 2168, 547, 329, 262, 1271, 287, 1622, 286, 807, 30, 46506, 327, 28270, 7203, 2949, 13, 287, 2168, 4943, 16034, 3084, 62, 2078, 36243, 33411, 366, 2949, 13, 287, 1622, 1, 796, 705, 23, 6 ]
give me the number of patients whose age is less than 83 and drug code is fent100t?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.age < "83" AND prescriptions.formulary_drug_cd = "FENT100T"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 2479, 318, 1342, 621, 9698, 290, 2563, 2438, 318, 277, 298, 3064, 83, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 26535, 502, 262, 1271, 286, 3871, 3025, 2479, 318, 1342, 621, 9698, 290, 2563, 2438, 318, 277, 298, 3064, 83, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092,...
How many services for each service type description? Use a bar chart to show it, could you sort in ascending by the Y please?
SELECT Service_Type_Description, COUNT(*) FROM Ref_Service_Types AS T1 JOIN Services AS T2 ON T1.Service_Type_Code = T2.Service_Type_Code GROUP BY T2.Service_Type_Code ORDER BY COUNT(*)
[ 2437, 867, 2594, 329, 1123, 2139, 2099, 6764, 30, 5765, 257, 2318, 8262, 284, 905, 340, 11, 714, 345, 3297, 287, 41988, 416, 262, 575, 3387, 30, 46506, 4809, 62, 6030, 62, 11828, 11, 327, 28270, 7, 28104, 16034, 6524, 62, 16177, 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...
[ 2437, 867, 2594, 329, 1123, 2139, 2099, 6764, 30, 5765, 257, 2318, 8262, 284, 905, 340, 11, 714, 345, 3297, 287, 41988, 416, 262, 575, 3387, 30, 46506, 4809, 62, 6030, 62, 11828, 11, 327, 28270, 7, 28104, 16034, 6524, 62, 16177, 62,...
How many positions were given when 30 points were won?
SELECT COUNT(position) FROM table_24330803_1 WHERE points = "30"
[ 2437, 867, 6116, 547, 1813, 618, 1542, 2173, 547, 1839, 30, 46506, 327, 28270, 7, 9150, 8, 16034, 3084, 62, 1731, 26073, 43564, 62, 16, 33411, 2173, 796, 366, 1270, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 6116, 547, 1813, 618, 1542, 2173, 547, 1839, 30, 46506, 327, 28270, 7, 9150, 8, 16034, 3084, 62, 1731, 26073, 43564, 62, 16, 33411, 2173, 796, 366, 1270, 1 ]
Find all Bars reviewed by Patrick with at least 3 stars
SELECT business.name FROM business, category, review, user WHERE business.rating >= 3 AND category.business_id = business.business_id AND category.category_name = 'Bars' AND review.business_id = business.business_id AND user.name = 'Patrick' AND user.user_id = review.user_id
[ 16742, 477, 39924, 11765, 416, 9925, 351, 379, 1551, 513, 5788, 46506, 1597, 13, 3672, 16034, 1597, 11, 6536, 11, 2423, 11, 2836, 33411, 1597, 13, 8821, 18189, 513, 5357, 6536, 13, 22680, 62, 312, 796, 1597, 13, 22680, 62, 312, 5357, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 16742, 477, 39924, 11765, 416, 9925, 351, 379, 1551, 513, 5788, 46506, 1597, 13, 3672, 16034, 1597, 11, 6536, 11, 2423, 11, 2836, 33411, 1597, 13, 8821, 18189, 513, 5357, 6536, 13, 22680, 62, 312, 796, 1597, 13, 22680, 62, 312, 5357, ...
On what surface was the score 6 2, 6 1?
SELECT "Surface" FROM table_57810 WHERE "Score" = '6–2, 6–1'
[ 2202, 644, 4417, 373, 262, 4776, 718, 362, 11, 718, 352, 30, 46506, 366, 14214, 2550, 1, 16034, 3084, 62, 38907, 940, 33411, 366, 26595, 1, 796, 705, 21, 1906, 17, 11, 718, 1906, 16, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2202, 644, 4417, 373, 262, 4776, 718, 362, 11, 718, 352, 30, 46506, 366, 14214, 2550, 1, 16034, 3084, 62, 38907, 940, 33411, 366, 26595, 1, 796, 705, 21, 1906, 17, 11, 718, 1906, 16, 6 ]
Cross platform technology stacks communities unanswered posts.
SELECT COUNT(p.Id) AS UnansweredPosts, tg.TagName FROM Posts AS p INNER JOIN PostTags AS t ON p.Id = t.PostId INNER JOIN Tags AS tg ON tg.Id = t.TagId WHERE tg.TagName IN ('react-native', 'xamarin', 'flutter', 'kotlin', 'cordova', 'titanium', 'ionic-framework', 'javascript') AND p.PostTypeId = 1 AND (AnswerCount IS NUL...
[ 21544, 3859, 3037, 24285, 5348, 34001, 6851, 13, 46506, 327, 28270, 7, 79, 13, 7390, 8, 7054, 791, 31966, 21496, 11, 256, 70, 13, 24835, 5376, 16034, 12043, 7054, 279, 3268, 21479, 32357, 1268, 2947, 36142, 7054, 256, 6177, 279, 13, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 21544, 3859, 3037, 24285, 5348, 34001, 6851, 13, 46506, 327, 28270, 7, 79, 13, 7390, 8, 7054, 791, 31966, 21496, 11, 256, 70, 13, 24835, 5376, 16034, 12043, 7054, 279, 3268, 21479, 32357, 1268, 2947, 36142, 7054, 256, 6177, 279, 13, 7...
Visualize the general trend of sum share count over the date of transaction, list x-axis in ascending order.
SELECT date_of_transaction, SUM(share_count) FROM Transactions ORDER BY date_of_transaction
[ 36259, 1096, 262, 2276, 5182, 286, 2160, 2648, 954, 625, 262, 3128, 286, 8611, 11, 1351, 2124, 12, 22704, 287, 41988, 1502, 13, 46506, 3128, 62, 1659, 62, 7645, 2673, 11, 35683, 7, 20077, 62, 9127, 8, 16034, 46192, 38678, 11050, 3128,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 36259, 1096, 262, 2276, 5182, 286, 2160, 2648, 954, 625, 262, 3128, 286, 8611, 11, 1351, 2124, 12, 22704, 287, 41988, 1502, 13, 46506, 3128, 62, 1659, 62, 7645, 2673, 11, 35683, 7, 20077, 62, 9127, 8, 16034, 46192, 38678, 11050, 3128,...
what was the monthly average value of weight for patient 013-29301?
SELECT AVG(patient.admissionweight) FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '013-29301') AND NOT patient.admissionweight IS NULL GROUP BY STRFTIME('%y-%m', patient.unitadmittime)
[ 10919, 373, 262, 9651, 2811, 1988, 286, 3463, 329, 5827, 5534, 18, 12, 1959, 18938, 30, 46506, 35224, 7, 26029, 13, 324, 3411, 6551, 8, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 373, 262, 9651, 2811, 1988, 286, 3463, 329, 5827, 5534, 18, 12, 1959, 18938, 30, 46506, 35224, 7, 26029, 13, 324, 3411, 6551, 8, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, ...
Who were the candidates in the election in the Tennessee 9 district?
SELECT candidates FROM table_1342370_41 WHERE district = "Tennessee 9"
[ 8241, 547, 262, 5871, 287, 262, 3071, 287, 262, 11287, 860, 4783, 30, 46506, 5871, 16034, 3084, 62, 19880, 1954, 2154, 62, 3901, 33411, 4783, 796, 366, 43139, 10702, 860, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 547, 262, 5871, 287, 262, 3071, 287, 262, 11287, 860, 4783, 30, 46506, 5871, 16034, 3084, 62, 19880, 1954, 2154, 62, 3901, 33411, 4783, 796, 366, 43139, 10702, 860, 1 ]
How many communes when the arrondissement is cosne-cours-sur-loire?
SELECT MIN(communes) FROM table_1175233_1 WHERE arrondissement = "Cosne-Cours-sur-Loire"
[ 2437, 867, 1316, 274, 618, 262, 5240, 623, 20782, 434, 318, 8615, 710, 12, 66, 4662, 12, 11793, 12, 5439, 557, 30, 46506, 20625, 7, 9503, 4015, 8, 16034, 3084, 62, 1157, 2425, 25429, 62, 16, 33411, 5240, 623, 20782, 434, 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 ]
[ 2437, 867, 1316, 274, 618, 262, 5240, 623, 20782, 434, 318, 8615, 710, 12, 66, 4662, 12, 11793, 12, 5439, 557, 30, 46506, 20625, 7, 9503, 4015, 8, 16034, 3084, 62, 1157, 2425, 25429, 62, 16, 33411, 5240, 623, 20782, 434, 796, 366, ...
count the number of patients whose discharge location is rehab/distinct part hosp and diagnoses short title is septic shock?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.discharge_location = "REHAB/DISTINCT PART HOSP" AND diagnoses.short_title = "Septic shock"
[ 9127, 262, 1271, 286, 3871, 3025, 17655, 4067, 318, 14321, 14, 17080, 4612, 636, 10496, 290, 40567, 1790, 3670, 318, 384, 17459, 6380, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9127, 262, 1271, 286, 3871, 3025, 17655, 4067, 318, 14321, 14, 17080, 4612, 636, 10496, 290, 40567, 1790, 3670, 318, 384, 17459, 6380, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 2...
Who directed the episode with a UK viewership of exactly 5.77 million?
SELECT "Directed by" FROM table_30918 WHERE "UK viewers (million)" = '5.77'
[ 8241, 7924, 262, 4471, 351, 257, 3482, 48347, 286, 3446, 642, 13, 3324, 1510, 30, 46506, 366, 13470, 276, 416, 1, 16034, 3084, 62, 26895, 1507, 33411, 366, 15039, 10209, 357, 14100, 16725, 796, 705, 20, 13, 3324, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 7924, 262, 4471, 351, 257, 3482, 48347, 286, 3446, 642, 13, 3324, 1510, 30, 46506, 366, 13470, 276, 416, 1, 16034, 3084, 62, 26895, 1507, 33411, 366, 15039, 10209, 357, 14100, 16725, 796, 705, 20, 13, 3324, 6 ]
Which year or years did a team win 174 games and had an assist number less than 17?
SELECT "Years" FROM table_32597 WHERE "Assist" < '17' AND "Games" = '174'
[ 13828, 614, 393, 812, 750, 257, 1074, 1592, 27621, 1830, 290, 550, 281, 3342, 1271, 1342, 621, 1596, 30, 46506, 366, 40630, 1, 16034, 3084, 62, 26582, 5607, 33411, 366, 8021, 396, 1, 1279, 705, 1558, 6, 5357, 366, 24474, 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 ]
[ 13828, 614, 393, 812, 750, 257, 1074, 1592, 27621, 1830, 290, 550, 281, 3342, 1271, 1342, 621, 1596, 30, 46506, 366, 40630, 1, 16034, 3084, 62, 26582, 5607, 33411, 366, 8021, 396, 1, 1279, 705, 1558, 6, 5357, 366, 24474, 1, 796, 705...
hi i'd like a flight from TAMPA to MONTREAL
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 = 'TAMPA' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'MONTREAL...
[ 5303, 1312, 1549, 588, 257, 5474, 422, 33112, 4537, 284, 25000, 51, 2200, 23719, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 5303, 1312, 1549, 588, 257, 5474, 422, 33112, 4537, 284, 25000, 51, 2200, 23719, 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, ...
How many PNC votes did the election before 1996 have?
SELECT "Number of PNC votes" FROM table_44645 WHERE "Election" < '1996'
[ 2437, 867, 350, 7792, 5690, 750, 262, 3071, 878, 8235, 423, 30, 46506, 366, 15057, 286, 350, 7792, 5690, 1, 16034, 3084, 62, 27260, 2231, 33411, 366, 36, 1564, 1, 1279, 705, 22288, 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 ]
[ 2437, 867, 350, 7792, 5690, 750, 262, 3071, 878, 8235, 423, 30, 46506, 366, 15057, 286, 350, 7792, 5690, 1, 16034, 3084, 62, 27260, 2231, 33411, 366, 36, 1564, 1, 1279, 705, 22288, 6 ]
For all employees who have the letters D or S in their first name, visualize the relationship between salary and department_id .
SELECT SALARY, DEPARTMENT_ID FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%'
[ 1890, 477, 4409, 508, 423, 262, 7475, 360, 393, 311, 287, 511, 717, 1438, 11, 38350, 262, 2776, 1022, 9588, 290, 5011, 62, 312, 764, 46506, 42475, 13153, 11, 5550, 30709, 10979, 62, 2389, 16034, 4409, 33411, 31328, 62, 20608, 34178, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1890, 477, 4409, 508, 423, 262, 7475, 360, 393, 311, 287, 511, 717, 1438, 11, 38350, 262, 2776, 1022, 9588, 290, 5011, 62, 312, 764, 46506, 42475, 13153, 11, 5550, 30709, 10979, 62, 2389, 16034, 4409, 33411, 31328, 62, 20608, 34178, 7...
Who is the position for the 2009-2010 season, number 1?
SELECT position FROM table_name_26 WHERE season = "2009-2010" AND number = "1"
[ 8241, 318, 262, 2292, 329, 262, 3717, 12, 10333, 1622, 11, 1271, 352, 30, 46506, 2292, 16034, 3084, 62, 3672, 62, 2075, 33411, 1622, 796, 366, 10531, 12, 10333, 1, 5357, 1271, 796, 366, 16, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 318, 262, 2292, 329, 262, 3717, 12, 10333, 1622, 11, 1271, 352, 30, 46506, 2292, 16034, 3084, 62, 3672, 62, 2075, 33411, 1622, 796, 366, 10531, 12, 10333, 1, 5357, 1271, 796, 366, 16, 1 ]
get me the difference between patient 1784's total volume of input and output since 05/20/2101.
SELECT (SELECT SUM(inputevents_cv.amount) FROM inputevents_cv WHERE inputevents_cv.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 1784)) AND STRFTIME('%y-%m-%d', inputevents_cv.charttime) >= '2101-05-20') - (SELE...
[ 1136, 502, 262, 3580, 1022, 5827, 1596, 5705, 338, 2472, 6115, 286, 5128, 290, 5072, 1201, 8870, 14, 1238, 14, 2481, 486, 13, 46506, 357, 46506, 35683, 7, 259, 79, 1133, 85, 658, 62, 33967, 13, 17287, 8, 16034, 287, 79, 1133, 85, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1136, 502, 262, 3580, 1022, 5827, 1596, 5705, 338, 2472, 6115, 286, 5128, 290, 5072, 1201, 8870, 14, 1238, 14, 2481, 486, 13, 46506, 357, 46506, 35683, 7, 259, 79, 1133, 85, 658, 62, 33967, 13, 17287, 8, 16034, 287, 79, 1133, 85, ...
Which model has 175 seats?
SELECT model FROM table_name_92 WHERE seats = 175
[ 13828, 2746, 468, 19038, 8632, 30, 46506, 2746, 16034, 3084, 62, 3672, 62, 5892, 33411, 8632, 796, 19038 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 2746, 468, 19038, 8632, 30, 46506, 2746, 16034, 3084, 62, 3672, 62, 5892, 33411, 8632, 796, 19038 ]
Is there a DUTCH 512 class on Friday ?
SELECT DISTINCT course_offering.friday FROM course INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN semester ON semester.semester_id = course_offering.semester WHERE course.department = 'DUTCH' AND course.number = 512 AND semester.semester = 'WN' AND semester.year = 2016
[ 3792, 612, 257, 360, 3843, 3398, 22243, 1398, 319, 3217, 5633, 46506, 360, 8808, 1268, 4177, 1781, 62, 2364, 1586, 13, 8310, 2567, 16034, 1781, 3268, 21479, 32357, 1268, 1781, 62, 2364, 1586, 6177, 1781, 13, 17319, 62, 312, 796, 1781, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3792, 612, 257, 360, 3843, 3398, 22243, 1398, 319, 3217, 5633, 46506, 360, 8808, 1268, 4177, 1781, 62, 2364, 1586, 13, 8310, 2567, 16034, 1781, 3268, 21479, 32357, 1268, 1781, 62, 2364, 1586, 6177, 1781, 13, 17319, 62, 312, 796, 1781, ...
which team ranked after germany while qualifying ?
SELECT "team" FROM table_204_735 WHERE "rank" = (SELECT "rank" FROM table_204_735 WHERE "team" = 'germany') + 1
[ 4758, 1074, 10307, 706, 308, 2224, 88, 981, 18677, 5633, 46506, 366, 15097, 1, 16034, 3084, 62, 18638, 62, 22, 2327, 33411, 366, 43027, 1, 796, 357, 46506, 366, 43027, 1, 16034, 3084, 62, 18638, 62, 22, 2327, 33411, 366, 15097, 1, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4758, 1074, 10307, 706, 308, 2224, 88, 981, 18677, 5633, 46506, 366, 15097, 1, 16034, 3084, 62, 18638, 62, 22, 2327, 33411, 366, 43027, 1, 796, 357, 46506, 366, 43027, 1, 16034, 3084, 62, 18638, 62, 22, 2327, 33411, 366, 15097, 1, 7...
What's the genre of the song recorded in 1929?
SELECT "Genre" FROM table_59654 WHERE "Year recorded" = '1929'
[ 2061, 338, 262, 12121, 286, 262, 3496, 6264, 287, 31883, 30, 46506, 366, 13746, 260, 1, 16034, 3084, 62, 3270, 39111, 33411, 366, 17688, 6264, 1, 796, 705, 1129, 1959, 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, 338, 262, 12121, 286, 262, 3496, 6264, 287, 31883, 30, 46506, 366, 13746, 260, 1, 16034, 3084, 62, 3270, 39111, 33411, 366, 17688, 6264, 1, 796, 705, 1129, 1959, 6 ]
what is the name of the allergy patient 015-96048 has had on their last hospital visit?
SELECT allergy.allergyname FROM allergy WHERE allergy.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '015-96048' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient...
[ 10919, 318, 262, 1438, 286, 262, 36197, 5827, 5534, 20, 12, 39277, 2780, 468, 550, 319, 511, 938, 4436, 3187, 30, 46506, 36197, 13, 439, 26079, 3672, 16034, 36197, 33411, 36197, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 1438, 286, 262, 36197, 5827, 5534, 20, 12, 39277, 2780, 468, 550, 319, 511, 938, 4436, 3187, 30, 46506, 36197, 13, 439, 26079, 3672, 16034, 36197, 33411, 36197, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, ...