instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
sequence
attention_mask
sequence
labels
sequence
What is the lowest grid that Paul Tracy had when he had over 4 points?
SELECT MIN("Grid") FROM table_15406 WHERE "Name" = 'paul tracy' AND "Points" > '4'
[ 2061, 318, 262, 9016, 10706, 326, 3362, 31140, 550, 618, 339, 550, 625, 604, 2173, 30, 46506, 20625, 7203, 41339, 4943, 16034, 3084, 62, 1314, 29703, 33411, 366, 5376, 1, 796, 705, 79, 2518, 491, 1590, 6, 5357, 366, 40710, 1, 1875, 705, 19, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 9016, 10706, 326, 3362, 31140, 550, 618, 339, 550, 625, 604, 2173, 30, 46506, 20625, 7203, 41339, 4943, 16034, 3084, 62, 1314, 29703, 33411, 366, 5376, 1, 796, 705, 79, 2518, 491, 1590, 6, 5357, 366, 40710, 1, 1875, 705, 19, 6 ]
For which Category was Outstanding Main Title Design a Recipient and nominee?
SELECT category FROM table_name_71 WHERE recipients_and_nominees = "outstanding main title design"
[ 1890, 543, 21743, 373, 3806, 5646, 8774, 11851, 8495, 257, 3311, 48137, 290, 10429, 30, 46506, 6536, 16034, 3084, 62, 3672, 62, 4869, 33411, 20352, 62, 392, 62, 26601, 500, 274, 796, 366, 448, 5646, 1388, 3670, 1486, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 543, 21743, 373, 3806, 5646, 8774, 11851, 8495, 257, 3311, 48137, 290, 10429, 30, 46506, 6536, 16034, 3084, 62, 3672, 62, 4869, 33411, 20352, 62, 392, 62, 26601, 500, 274, 796, 366, 448, 5646, 1388, 3670, 1486, 1 ]
Cryptography related questions (tag list based on related tags).
SELECT COUNT(Id) FROM Posts WHERE Posts.Tags LIKE '%<' + '##tagname:string##' + '>%'
[ 23919, 4867, 3519, 2683, 357, 12985, 1351, 1912, 319, 3519, 15940, 737, 46506, 327, 28270, 7, 7390, 8, 16034, 12043, 33411, 12043, 13, 36142, 34178, 705, 4, 27, 6, 1343, 705, 2235, 12985, 3672, 25, 8841, 2235, 6, 1343, 705, 29, 4, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 23919, 4867, 3519, 2683, 357, 12985, 1351, 1912, 319, 3519, 15940, 737, 46506, 327, 28270, 7, 7390, 8, 16034, 12043, 33411, 12043, 13, 36142, 34178, 705, 4, 27, 6, 1343, 705, 2235, 12985, 3672, 25, 8841, 2235, 6, 1343, 705, 29, 4, 6 ]
How many wins does a player who have $7,188,408 earnings with lower than rank 5?
SELECT MIN("Wins") FROM table_35484 WHERE "Earnings ( $ )" = '7,188,408' AND "Rank" > '5'
[ 2437, 867, 7864, 857, 257, 2137, 508, 423, 720, 22, 11, 20356, 11, 26200, 12042, 351, 2793, 621, 4279, 642, 30, 46506, 20625, 7203, 54, 1040, 4943, 16034, 3084, 62, 2327, 34137, 33411, 366, 49725, 654, 357, 720, 1267, 1, 796, 705, 22, 11, 20356, 11, 26200, 6, 5357, 366, 27520, 1, 1875, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 7864, 857, 257, 2137, 508, 423, 720, 22, 11, 20356, 11, 26200, 12042, 351, 2793, 621, 4279, 642, 30, 46506, 20625, 7203, 54, 1040, 4943, 16034, 3084, 62, 2327, 34137, 33411, 366, 49725, 654, 357, 720, 1267, 1, 796, 705, 22, 11, 20356, 11, 26200, 6, 5357, 366, 27520, 1, 1875, 705, 20, 6 ]
What is the largest ethnic group in 2002 when the population is 200?
SELECT "Largest ethnic group (2002)" FROM table_27872 WHERE "Population (2011)" = '200'
[ 2061, 318, 262, 4387, 9450, 1448, 287, 6244, 618, 262, 3265, 318, 939, 30, 46506, 366, 43, 853, 395, 9450, 1448, 357, 16942, 16725, 16034, 3084, 62, 25870, 4761, 33411, 366, 45251, 357, 9804, 16725, 796, 705, 2167, 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, 4387, 9450, 1448, 287, 6244, 618, 262, 3265, 318, 939, 30, 46506, 366, 43, 853, 395, 9450, 1448, 357, 16942, 16725, 16034, 3084, 62, 25870, 4761, 33411, 366, 45251, 357, 9804, 16725, 796, 705, 2167, 6 ]
Who are the upper-level class teachers ?
SELECT DISTINCT instructor.name FROM course INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN offering_instructor ON offering_instructor.offering_id = course_offering.offering_id INNER JOIN instructor ON offering_instructor.instructor_id = instructor.instructor_id INNER JOIN program_course ON program_course.course_id = course.course_id WHERE program_course.category LIKE '%ULCS%'
[ 8241, 389, 262, 6727, 12, 5715, 1398, 7799, 5633, 46506, 360, 8808, 1268, 4177, 21187, 13, 3672, 16034, 1781, 3268, 21479, 32357, 1268, 1781, 62, 2364, 1586, 6177, 1781, 13, 17319, 62, 312, 796, 1781, 62, 2364, 1586, 13, 17319, 62, 312, 3268, 21479, 32357, 1268, 6011, 62, 259, 7249, 273, 6177, 6011, 62, 259, 7249, 273, 13, 2364, 1586, 62, 312, 796, 1781, 62, 2364, 1586, 13, 2364, 1586, 62, 312, 3268, 21479, 32357, 1268, 21187, 6177, 6011, 62, 259, 7249, 273, 13, 259, 7249, 273, 62, 312, 796, 21187, 13, 259, 7249, 273, 62, 312, 3268, 21479, 32357, 1268, 1430, 62, 17319, 6177, 1430, 62, 17319, 13, 17319, 62, 312, 796, 1781, 13, 17319, 62, 312, 33411, 1430, 62, 17319, 13, 22872, 34178, 705, 4, 52, 29814, 4, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 389, 262, 6727, 12, 5715, 1398, 7799, 5633, 46506, 360, 8808, 1268, 4177, 21187, 13, 3672, 16034, 1781, 3268, 21479, 32357, 1268, 1781, 62, 2364, 1586, 6177, 1781, 13, 17319, 62, 312, 796, 1781, 62, 2364, 1586, 13, 17319, 62, 312, 3268, 21479, 32357, 1268, 6011, 62, 259, 7249, 273, 6177, 6011, 62, 259, 7249, 273, 13, 2364, 1586, 62, 312, 796, 1781, 62, 2364, 1586, 13, 2364, 1586, 62, 312, 3268, 21479, 32357, 1268, 21187, 6177, 6011, 62, 259, 7249, 273, 13, 259, 7249, 273, 62, 312, 796, 21187, 13, 259, 7249, 273, 62, 312, 3268, 21479, 32357, 1268, 1430, 62, 17319, 6177, 1430, 62, 17319, 13, 17319, 62, 312, 796, 1781, 13, 17319, 62, 312, 33411, 1430, 62, 17319, 13, 22872, 34178, 705, 4, 52, 29814, 4, 6 ]
How many people attended the game when Larry Hughes(33) was the leading scorer and cleveland was visiting?
SELECT SUM("Attendance") FROM table_35910 WHERE "Visitor" = 'cleveland' AND "Leading scorer" = 'larry hughes(33)'
[ 2437, 867, 661, 9141, 262, 983, 618, 13633, 19712, 7, 2091, 8, 373, 262, 3756, 30664, 290, 1190, 9731, 373, 10013, 30, 46506, 35683, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 30743, 940, 33411, 366, 15854, 2072, 1, 796, 705, 2375, 9731, 6, 5357, 366, 20451, 278, 30664, 1, 796, 705, 75, 6532, 16225, 956, 7, 2091, 33047 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 661, 9141, 262, 983, 618, 13633, 19712, 7, 2091, 8, 373, 262, 3756, 30664, 290, 1190, 9731, 373, 10013, 30, 46506, 35683, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 30743, 940, 33411, 366, 15854, 2072, 1, 796, 705, 2375, 9731, 6, 5357, 366, 20451, 278, 30664, 1, 796, 705, 75, 6532, 16225, 956, 7, 2091, 33047 ]
what are the ids and names of all start stations that were the beginning of at least 200 trips?, and could you rank bars in ascending order?
SELECT start_station_name, start_station_id FROM trip ORDER BY start_station_name
[ 10919, 389, 262, 220, 2340, 290, 3891, 286, 477, 923, 8985, 326, 547, 262, 3726, 286, 379, 1551, 939, 13229, 21747, 290, 714, 345, 4279, 9210, 287, 41988, 1502, 30, 46506, 923, 62, 17529, 62, 3672, 11, 923, 62, 17529, 62, 312, 16034, 5296, 38678, 11050, 923, 62, 17529, 62, 3672 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 389, 262, 220, 2340, 290, 3891, 286, 477, 923, 8985, 326, 547, 262, 3726, 286, 379, 1551, 939, 13229, 21747, 290, 714, 345, 4279, 9210, 287, 41988, 1502, 30, 46506, 923, 62, 17529, 62, 3672, 11, 923, 62, 17529, 62, 312, 16034, 5296, 38678, 11050, 923, 62, 17529, 62, 3672 ]
What is the s B share for the shareholder that has 2.55 percent of votes?
SELECT MAX("s B share") FROM table_73213 WHERE "Percent of votes" = '2.55'
[ 2061, 318, 262, 264, 347, 2648, 329, 262, 29378, 326, 468, 362, 13, 2816, 1411, 286, 5690, 30, 46506, 25882, 7203, 82, 347, 2648, 4943, 16034, 3084, 62, 22, 2624, 1485, 33411, 366, 31905, 286, 5690, 1, 796, 705, 17, 13, 2816, 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 ]
[ 2061, 318, 262, 264, 347, 2648, 329, 262, 29378, 326, 468, 362, 13, 2816, 1411, 286, 5690, 30, 46506, 25882, 7203, 82, 347, 2648, 4943, 16034, 3084, 62, 22, 2624, 1485, 33411, 366, 31905, 286, 5690, 1, 796, 705, 17, 13, 2816, 6 ]
What is the song title sung by Sonu Nigam with lyricists of Dev Kohli/Biddu, and number over 8?
SELECT song_title FROM table_name_3 WHERE singer_s_ = "sonu nigam" AND lyricist = "dev kohli/biddu" AND number > 8
[ 2061, 318, 262, 3496, 3670, 23568, 416, 6295, 84, 13732, 321, 351, 43086, 1023, 286, 6245, 24754, 4528, 14, 33, 312, 646, 11, 290, 1271, 625, 807, 30, 46506, 3496, 62, 7839, 16034, 3084, 62, 3672, 62, 18, 33411, 14015, 62, 82, 62, 796, 366, 1559, 84, 44873, 321, 1, 5357, 43086, 396, 796, 366, 7959, 479, 1219, 4528, 14, 14065, 646, 1, 5357, 1271, 1875, 807 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3496, 3670, 23568, 416, 6295, 84, 13732, 321, 351, 43086, 1023, 286, 6245, 24754, 4528, 14, 33, 312, 646, 11, 290, 1271, 625, 807, 30, 46506, 3496, 62, 7839, 16034, 3084, 62, 3672, 62, 18, 33411, 14015, 62, 82, 62, 796, 366, 1559, 84, 44873, 321, 1, 5357, 43086, 396, 796, 366, 7959, 479, 1219, 4528, 14, 14065, 646, 1, 5357, 1271, 1875, 807 ]
For those employees who did not have any job in the past, give me the trend about department_id over hire_date .
SELECT HIRE_DATE, DEPARTMENT_ID FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history)
[ 1890, 883, 4409, 508, 750, 407, 423, 597, 1693, 287, 262, 1613, 11, 1577, 502, 262, 5182, 546, 5011, 62, 312, 625, 11078, 62, 4475, 764, 46506, 36210, 2200, 62, 35, 6158, 11, 5550, 30709, 10979, 62, 2389, 16034, 4409, 33411, 5626, 17228, 6489, 21414, 6500, 62, 2389, 3268, 357, 46506, 17228, 6489, 21414, 6500, 62, 2389, 16034, 1693, 62, 23569, 8 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1890, 883, 4409, 508, 750, 407, 423, 597, 1693, 287, 262, 1613, 11, 1577, 502, 262, 5182, 546, 5011, 62, 312, 625, 11078, 62, 4475, 764, 46506, 36210, 2200, 62, 35, 6158, 11, 5550, 30709, 10979, 62, 2389, 16034, 4409, 33411, 5626, 17228, 6489, 21414, 6500, 62, 2389, 3268, 357, 46506, 17228, 6489, 21414, 6500, 62, 2389, 16034, 1693, 62, 23569, 8 ]
Show how many rank from each rank
SELECT Rank, COUNT(Rank) FROM Faculty GROUP BY Rank
[ 15307, 703, 867, 4279, 422, 1123, 4279, 46506, 10916, 11, 327, 28270, 7, 27520, 8, 16034, 35262, 44441, 11050, 10916 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 703, 867, 4279, 422, 1123, 4279, 46506, 10916, 11, 327, 28270, 7, 27520, 8, 16034, 35262, 44441, 11050, 10916 ]
Who is team 1 with an agg of 2-5?
SELECT "Team 1" FROM table_13644 WHERE "Agg." = '2-5'
[ 8241, 318, 1074, 352, 351, 281, 4194, 286, 362, 12, 20, 30, 46506, 366, 15592, 352, 1, 16034, 3084, 62, 1485, 29173, 33411, 366, 46384, 526, 796, 705, 17, 12, 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 ]
[ 8241, 318, 1074, 352, 351, 281, 4194, 286, 362, 12, 20, 30, 46506, 366, 15592, 352, 1, 16034, 3084, 62, 1485, 29173, 33411, 366, 46384, 526, 796, 705, 17, 12, 20, 6 ]
What place is Nolan Henke in?
SELECT "Place" FROM table_46954 WHERE "Player" = 'nolan henke'
[ 2061, 1295, 318, 27788, 6752, 365, 287, 30, 46506, 366, 27271, 1, 16034, 3084, 62, 42947, 4051, 33411, 366, 14140, 1, 796, 705, 77, 16617, 30963, 365, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1295, 318, 27788, 6752, 365, 287, 30, 46506, 366, 27271, 1, 16034, 3084, 62, 42947, 4051, 33411, 366, 14140, 1, 796, 705, 77, 16617, 30963, 365, 6 ]
this year, what were the top four most frequent diagnoses of which patients were diagnosed in the same hospital visit after receiving enteral feeds?
SELECT t3.diagnosisname FROM (SELECT t2.diagnosisname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, treatment.treatmenttime, patient.patienthealthsystemstayid FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'enteral feeds' AND DATETIME(treatment.treatmenttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year')) AS t1 JOIN (SELECT patient.uniquepid, diagnosis.diagnosisname, diagnosis.diagnosistime, patient.patienthealthsystemstayid FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE DATETIME(diagnosis.diagnosistime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year')) AS t2 ON t1.uniquepid = t2.uniquepid WHERE t1.treatmenttime < t2.diagnosistime AND t1.patienthealthsystemstayid = t2.patienthealthsystemstayid GROUP BY t2.diagnosisname) AS t3 WHERE t3.c1 <= 4
[ 5661, 614, 11, 644, 547, 262, 1353, 1440, 749, 10792, 40567, 286, 543, 3871, 547, 14641, 287, 262, 976, 4436, 3187, 706, 6464, 920, 1691, 21318, 30, 46506, 256, 18, 13, 47356, 5958, 3672, 16034, 357, 46506, 256, 17, 13, 47356, 5958, 3672, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, 7, 28104, 22196, 34, 8, 7054, 269, 16, 16034, 357, 46506, 5827, 13, 403, 1557, 538, 312, 11, 3513, 13, 42487, 2435, 11, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 3513, 32357, 1268, 5827, 6177, 3513, 13, 26029, 20850, 31712, 312, 796, 5827, 13, 26029, 20850, 31712, 312, 33411, 3513, 13, 42487, 3672, 796, 705, 298, 1691, 21318, 6, 5357, 360, 1404, 2767, 12789, 7, 42487, 13, 42487, 2435, 11, 705, 9688, 286, 614, 11537, 796, 360, 1404, 2767, 12789, 7, 34, 39237, 62, 34694, 22784, 705, 9688, 286, 614, 3256, 705, 12, 15, 614, 6, 4008, 7054, 256, 16, 32357, 1268, 357, 46506, 5827, 13, 403, 1557, 538, 312, 11, 13669, 13, 47356, 5958, 3672, 11, 13669, 13, 47356, 418, 396, 524, 11, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 13669, 32357, 1268, 5827, 6177, 13669, 13, 26029, 20850, 31712, 312, 796, 5827, 13, 26029, 20850, 31712, 312, 33411, 360, 1404, 2767, 12789, 7, 47356, 5958, 13, 47356, 418, 396, 524, 11, 705, 9688, 286, 614, 11537, 796, 360, 1404, 2767, 12789, 7, 34, 39237, 62, 34694, 22784, 705, 9688, 286, 614, 3256, 705, 12, 15, 614, 6, 4008, 7054, 256, 17, 6177, 256, 16, 13, 403, 1557, 538, 312, 796, 256, 17, 13, 403, 1557, 538, 312, 33411, 256, 16, 13, 42487, 2435, 1279, 256, 17, 13, 47356, 418, 396, 524, 5357, 256, 16, 13, 26029, 13948, 10057, 31712, 312, 796, 256, 17, 13, 26029, 13948, 10057, 31712, 312, 44441, 11050, 256, 17, 13, 47356, 5958, 3672, 8, 7054, 256, 18, 33411, 256, 18, 13, 66, 16, 19841, 604 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5661, 614, 11, 644, 547, 262, 1353, 1440, 749, 10792, 40567, 286, 543, 3871, 547, 14641, 287, 262, 976, 4436, 3187, 706, 6464, 920, 1691, 21318, 30, 46506, 256, 18, 13, 47356, 5958, 3672, 16034, 357, 46506, 256, 17, 13, 47356, 5958, 3672, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, 7, 28104, 22196, 34, 8, 7054, 269, 16, 16034, 357, 46506, 5827, 13, 403, 1557, 538, 312, 11, 3513, 13, 42487, 2435, 11, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 3513, 32357, 1268, 5827, 6177, 3513, 13, 26029, 20850, 31712, 312, 796, 5827, 13, 26029, 20850, 31712, 312, 33411, 3513, 13, 42487, 3672, 796, 705, 298, 1691, 21318, 6, 5357, 360, 1404, 2767, 12789, 7, 42487, 13, 42487, 2435, 11, 705, 9688, 286, 614, 11537, 796, 360, 1404, 2767, 12789, 7, 34, 39237, 62, 34694, 22784, 705, 9688, 286, 614, 3256, 705, 12, 15, 614, 6, 4008, 7054, 256, 16, 32357, 1268, 357, 46506, 5827, 13, 403, 1557, 538, 312, 11, 13669, 13, 47356, 5958, 3672, 11, 13669, 13, 47356, 418, 396, 524, 11, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 13669, 32357, 1268, 5827, 6177, 13669, 13, 26029, 20850, 31712, 312, 796, 5827, 13, 26029, 20850, 31712, 312, 33411, 360, 1404, 2767, 12789, 7, 47356, 5958, 13, 47356, 418, 396, 524, 11, 705, 9688, 286, 614, 11537, 796, 360, 1404, 2767, 12789, 7, 34, 39237, 62, 34694, 22784, 705, 9688, 286, 614, 3256, 705, 12, 15, 614, 6, 4008, 7054, 256, 17, 6177, 256, 16, 13, 403, 1557, 538, 312, 796, 256, 17, 13, 403, 1557, 538, 312, 33411, 256, 16, 13, 42487, 2435, 1279, 256, 17, 13, 47356, 418, 396, 524, 5357, 256, 16, 13, 26029, 13948, 10057, 31712, 312, 796, 256, 17, 13, 26029, 13948, 10057, 31712, 312, 44441, 11050, 256, 17, 13, 47356, 5958, 3672, 8, 7054, 256, 18, 33411, 256, 18, 13, 66, 16, 19841, 604 ]
How many college/junior/club teams are from Sweden?
SELECT COUNT("College/junior/club team") FROM table_30563 WHERE "Nationality" = 'Sweden'
[ 2437, 867, 4152, 14, 29741, 1504, 14, 18664, 3466, 389, 422, 10710, 30, 46506, 327, 28270, 7203, 38951, 14, 29741, 1504, 14, 18664, 1074, 4943, 16034, 3084, 62, 1270, 46572, 33411, 366, 16186, 414, 1, 796, 705, 10462, 31829, 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, 4152, 14, 29741, 1504, 14, 18664, 3466, 389, 422, 10710, 30, 46506, 327, 28270, 7203, 38951, 14, 29741, 1504, 14, 18664, 1074, 4943, 16034, 3084, 62, 1270, 46572, 33411, 366, 16186, 414, 1, 796, 705, 10462, 31829, 6 ]
What is the date of the tournament played in Madrid, Spain?
SELECT "Date" FROM table_35334 WHERE "Tournament" = 'madrid, spain'
[ 2061, 318, 262, 3128, 286, 262, 7756, 2826, 287, 14708, 11, 8602, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 2327, 31380, 33411, 366, 51, 5138, 1, 796, 705, 9937, 6058, 11, 599, 391, 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, 3128, 286, 262, 7756, 2826, 287, 14708, 11, 8602, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 2327, 31380, 33411, 366, 51, 5138, 1, 796, 705, 9937, 6058, 11, 599, 391, 6 ]
how many areas were in the election in 1912
SELECT COUNT("District") FROM table_18697 WHERE "First elected" = '1912'
[ 4919, 867, 3006, 547, 287, 262, 3071, 287, 34463, 46506, 327, 28270, 7203, 44857, 4943, 16034, 3084, 62, 1507, 40035, 33411, 366, 5962, 7018, 1, 796, 705, 1129, 1065, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 3006, 547, 287, 262, 3071, 287, 34463, 46506, 327, 28270, 7203, 44857, 4943, 16034, 3084, 62, 1507, 40035, 33411, 366, 5962, 7018, 1, 796, 705, 1129, 1065, 6 ]
how many hours has it been since the last intake of tf residual for patient 18866 on the current icu visit?
SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', inputevents_cv.charttime)) 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 = 18866) AND icustays.outtime IS NULL) AND inputevents_cv.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'tf residual' AND d_items.linksto = 'inputevents_cv') ORDER BY inputevents_cv.charttime DESC LIMIT 1
[ 4919, 867, 2250, 468, 340, 587, 1201, 262, 938, 10337, 286, 48700, 29598, 329, 5827, 27778, 2791, 319, 262, 1459, 14158, 84, 3187, 30, 46506, 1987, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694, 28955, 532, 19269, 9792, 12789, 10786, 4, 73, 3256, 287, 79, 1133, 85, 658, 62, 33967, 13, 40926, 2435, 4008, 16034, 287, 79, 1133, 85, 658, 62, 33967, 33411, 287, 79, 1133, 85, 658, 62, 33967, 13, 291, 436, 323, 62, 312, 3268, 357, 46506, 14158, 436, 592, 13, 291, 436, 323, 62, 312, 16034, 14158, 436, 592, 33411, 14158, 436, 592, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 27778, 2791, 8, 5357, 14158, 436, 592, 13, 448, 2435, 3180, 15697, 8, 5357, 287, 79, 1133, 85, 658, 62, 33967, 13, 9186, 312, 3268, 357, 46506, 288, 62, 23814, 13, 9186, 312, 16034, 288, 62, 23814, 33411, 288, 62, 23814, 13, 18242, 796, 705, 27110, 29598, 6, 5357, 288, 62, 23814, 13, 8726, 301, 78, 796, 705, 259, 79, 1133, 85, 658, 62, 33967, 11537, 38678, 11050, 287, 79, 1133, 85, 658, 62, 33967, 13, 40926, 2435, 22196, 34, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2250, 468, 340, 587, 1201, 262, 938, 10337, 286, 48700, 29598, 329, 5827, 27778, 2791, 319, 262, 1459, 14158, 84, 3187, 30, 46506, 1987, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694, 28955, 532, 19269, 9792, 12789, 10786, 4, 73, 3256, 287, 79, 1133, 85, 658, 62, 33967, 13, 40926, 2435, 4008, 16034, 287, 79, 1133, 85, 658, 62, 33967, 33411, 287, 79, 1133, 85, 658, 62, 33967, 13, 291, 436, 323, 62, 312, 3268, 357, 46506, 14158, 436, 592, 13, 291, 436, 323, 62, 312, 16034, 14158, 436, 592, 33411, 14158, 436, 592, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 27778, 2791, 8, 5357, 14158, 436, 592, 13, 448, 2435, 3180, 15697, 8, 5357, 287, 79, 1133, 85, 658, 62, 33967, 13, 9186, 312, 3268, 357, 46506, 288, 62, 23814, 13, 9186, 312, 16034, 288, 62, 23814, 33411, 288, 62, 23814, 13, 18242, 796, 705, 27110, 29598, 6, 5357, 288, 62, 23814, 13, 8726, 301, 78, 796, 705, 259, 79, 1133, 85, 658, 62, 33967, 11537, 38678, 11050, 287, 79, 1133, 85, 658, 62, 33967, 13, 40926, 2435, 22196, 34, 27564, 2043, 352 ]
Name the total number for race caller for bob costas and charlsie cantey
SELECT COUNT("Race caller") FROM table_25092 WHERE "Trophy presentation" = 'Bob Costas and Charlsie Cantey'
[ 5376, 262, 2472, 1271, 329, 3234, 24955, 329, 29202, 1575, 292, 290, 1149, 7278, 494, 18548, 2959, 46506, 327, 28270, 7203, 35157, 24955, 4943, 16034, 3084, 62, 9031, 5892, 33411, 366, 44095, 6883, 10470, 1, 796, 705, 18861, 6446, 292, 290, 6258, 44524, 16821, 2959, 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 ]
[ 5376, 262, 2472, 1271, 329, 3234, 24955, 329, 29202, 1575, 292, 290, 1149, 7278, 494, 18548, 2959, 46506, 327, 28270, 7203, 35157, 24955, 4943, 16034, 3084, 62, 9031, 5892, 33411, 366, 44095, 6883, 10470, 1, 796, 705, 18861, 6446, 292, 290, 6258, 44524, 16821, 2959, 6 ]
When did the episode with production code 410 air?
SELECT original_air_date FROM table_11630008_6 WHERE production_code = 410
[ 2215, 750, 262, 4471, 351, 3227, 2438, 32921, 1633, 30, 46506, 2656, 62, 958, 62, 4475, 16034, 3084, 62, 1157, 5066, 830, 23, 62, 21, 33411, 3227, 62, 8189, 796, 32921 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 750, 262, 4471, 351, 3227, 2438, 32921, 1633, 30, 46506, 2656, 62, 958, 62, 4475, 16034, 3084, 62, 1157, 5066, 830, 23, 62, 21, 33411, 3227, 62, 8189, 796, 32921 ]
What committees do the district 46 members serve on?
SELECT committee FROM table_27050981_7 WHERE district = "46"
[ 2061, 17460, 466, 262, 4783, 6337, 1866, 4691, 319, 30, 46506, 5583, 16034, 3084, 62, 20233, 1120, 4089, 16, 62, 22, 33411, 4783, 796, 366, 3510, 1 ]
[ 1, 1, 1, 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, 17460, 466, 262, 4783, 6337, 1866, 4691, 319, 30, 46506, 5583, 16034, 3084, 62, 20233, 1120, 4089, 16, 62, 22, 33411, 4783, 796, 366, 3510, 1 ]
What was the Vanwall time/retired with 49 laps?
SELECT time_retired FROM table_name_37 WHERE laps = 49 AND constructor = "vanwall"
[ 2061, 373, 262, 6656, 11930, 640, 14, 1186, 1202, 351, 5125, 24590, 30, 46506, 640, 62, 1186, 1202, 16034, 3084, 62, 3672, 62, 2718, 33411, 24590, 796, 5125, 5357, 23772, 796, 366, 10438, 11930, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6656, 11930, 640, 14, 1186, 1202, 351, 5125, 24590, 30, 46506, 640, 62, 1186, 1202, 16034, 3084, 62, 3672, 62, 2718, 33411, 24590, 796, 5125, 5357, 23772, 796, 366, 10438, 11930, 1 ]
Who is first elected when Kentucky 6 is the district?
SELECT first_elected FROM table_2668352_5 WHERE district = "Kentucky 6"
[ 8241, 318, 717, 7018, 618, 11867, 718, 318, 262, 4783, 30, 46506, 717, 62, 28604, 16034, 3084, 62, 2075, 3104, 33394, 62, 20, 33411, 4783, 796, 366, 42265, 5309, 718, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 318, 717, 7018, 618, 11867, 718, 318, 262, 4783, 30, 46506, 717, 62, 28604, 16034, 3084, 62, 2075, 3104, 33394, 62, 20, 33411, 4783, 796, 366, 42265, 5309, 718, 1 ]
For all employees who have the letters D or S in their first name, give me the comparison about the average of salary over the hire_date bin hire_date by time, I want to display from low to high by the Y-axis.
SELECT HIRE_DATE, AVG(SALARY) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' ORDER BY AVG(SALARY)
[ 1890, 477, 4409, 508, 423, 262, 7475, 360, 393, 311, 287, 511, 717, 1438, 11, 1577, 502, 262, 7208, 546, 262, 2811, 286, 9588, 625, 262, 11078, 62, 4475, 9874, 11078, 62, 4475, 416, 640, 11, 314, 765, 284, 3359, 422, 1877, 284, 1029, 416, 262, 575, 12, 22704, 13, 46506, 36210, 2200, 62, 35, 6158, 11, 35224, 7, 50, 1847, 13153, 8, 16034, 4409, 33411, 31328, 62, 20608, 34178, 705, 4, 35, 4, 6, 6375, 31328, 62, 20608, 34178, 705, 4, 50, 4, 6, 38678, 11050, 35224, 7, 50, 1847, 13153, 8 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1577, 502, 262, 7208, 546, 262, 2811, 286, 9588, 625, 262, 11078, 62, 4475, 9874, 11078, 62, 4475, 416, 640, 11, 314, 765, 284, 3359, 422, 1877, 284, 1029, 416, 262, 575, 12, 22704, 13, 46506, 36210, 2200, 62, 35, 6158, 11, 35224, 7, 50, 1847, 13153, 8, 16034, 4409, 33411, 31328, 62, 20608, 34178, 705, 4, 35, 4, 6, 6375, 31328, 62, 20608, 34178, 705, 4, 50, 4, 6, 38678, 11050, 35224, 7, 50, 1847, 13153, 8 ]
Show me 9 -credit The History of Disaster courses .
SELECT DISTINCT department, name, number FROM course WHERE (description LIKE '%The History of Disaster%' OR name LIKE '%The History of Disaster%') AND credits = 9
[ 15307, 502, 860, 532, 43082, 383, 7443, 286, 35213, 10902, 764, 46506, 360, 8808, 1268, 4177, 5011, 11, 1438, 11, 1271, 16034, 1781, 33411, 357, 11213, 34178, 705, 4, 464, 7443, 286, 35213, 4, 6, 6375, 1438, 34178, 705, 4, 464, 7443, 286, 35213, 4, 11537, 5357, 10824, 796, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 502, 860, 532, 43082, 383, 7443, 286, 35213, 10902, 764, 46506, 360, 8808, 1268, 4177, 5011, 11, 1438, 11, 1271, 16034, 1781, 33411, 357, 11213, 34178, 705, 4, 464, 7443, 286, 35213, 4, 6, 6375, 1438, 34178, 705, 4, 464, 7443, 286, 35213, 4, 11537, 5357, 10824, 796, 860 ]
Highest Quality Posts: Votes * Post Length (non-wiki). Top 1000 (non-wiki) 'quality' posts as defined by (votes * post length). Idea taken from: http://data.stackexchange.com/stackoverflow/query/36092/
SELECT Score, COUNT(Score) FROM Posts WHERE Score > 10 AND Score < 100 GROUP BY Score ORDER BY Score
[ 36124, 3634, 14156, 12043, 25, 39584, 1635, 2947, 22313, 357, 13159, 12, 15466, 737, 5849, 8576, 357, 13159, 12, 15466, 8, 705, 13237, 6, 6851, 355, 5447, 416, 357, 29307, 1635, 1281, 4129, 737, 37560, 2077, 422, 25, 2638, 1378, 7890, 13, 301, 330, 365, 87, 3803, 13, 785, 14, 25558, 2502, 11125, 14, 22766, 14, 15277, 5892, 14, 46506, 15178, 11, 327, 28270, 7, 26595, 8, 16034, 12043, 33411, 15178, 1875, 838, 5357, 15178, 1279, 1802, 44441, 11050, 15178, 38678, 11050, 15178 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 36124, 3634, 14156, 12043, 25, 39584, 1635, 2947, 22313, 357, 13159, 12, 15466, 737, 5849, 8576, 357, 13159, 12, 15466, 8, 705, 13237, 6, 6851, 355, 5447, 416, 357, 29307, 1635, 1281, 4129, 737, 37560, 2077, 422, 25, 2638, 1378, 7890, 13, 301, 330, 365, 87, 3803, 13, 785, 14, 25558, 2502, 11125, 14, 22766, 14, 15277, 5892, 14, 46506, 15178, 11, 327, 28270, 7, 26595, 8, 16034, 12043, 33411, 15178, 1875, 838, 5357, 15178, 1279, 1802, 44441, 11050, 15178, 38678, 11050, 15178 ]
what is the cheapest flight from ATLANTA to PITTSBURGH one way
SELECT DISTINCT fare.fare_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, fare, flight, flight_fare WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'ATLANTA' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'PITTSBURGH' AND fare.one_direction_cost = (SELECT MIN(FAREalias1.one_direction_cost) FROM airport_service AS AIRPORT_SERVICEalias2, airport_service AS AIRPORT_SERVICEalias3, city AS CITYalias2, city AS CITYalias3, fare AS FAREalias1, flight AS FLIGHTalias1, flight_fare AS FLIGHT_FAREalias1 WHERE CITYalias2.city_code = AIRPORT_SERVICEalias2.city_code AND CITYalias2.city_name = 'ATLANTA' AND CITYalias3.city_code = AIRPORT_SERVICEalias3.city_code AND CITYalias3.city_name = 'PITTSBURGH' AND FAREalias1.round_trip_required = 'NO' AND FLIGHT_FAREalias1.fare_id = FAREalias1.fare_id AND FLIGHTalias1.flight_id = FLIGHT_FAREalias1.flight_id AND FLIGHTalias1.from_airport = AIRPORT_SERVICEalias2.airport_code AND FLIGHTalias1.to_airport = AIRPORT_SERVICEalias3.airport_code) AND flight_fare.fare_id = fare.fare_id AND flight.flight_id = flight_fare.flight_id AND flight.from_airport = AIRPORT_SERVICE_0.airport_code AND flight.to_airport = AIRPORT_SERVICE_1.airport_code
[ 10919, 318, 262, 28918, 5474, 422, 5161, 25697, 5603, 284, 49040, 4694, 38926, 17511, 530, 835, 46506, 360, 8808, 1268, 4177, 14505, 13, 9496, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 16, 11, 1748, 7054, 27993, 62, 15, 11, 1748, 7054, 27993, 62, 16, 11, 14505, 11, 5474, 11, 5474, 62, 9496, 33411, 27993, 62, 15, 13, 19205, 62, 8189, 796, 31600, 15490, 62, 35009, 27389, 62, 15, 13, 19205, 62, 8189, 5357, 27993, 62, 15, 13, 19205, 62, 3672, 796, 705, 1404, 25697, 5603, 6, 5357, 27993, 62, 16, 13, 19205, 62, 8189, 796, 31600, 15490, 62, 35009, 27389, 62, 16, 13, 19205, 62, 8189, 5357, 27993, 62, 16, 13, 19205, 62, 3672, 796, 705, 47, 2043, 4694, 38926, 17511, 6, 5357, 14505, 13, 505, 62, 37295, 62, 15805, 796, 357, 46506, 20625, 7, 37, 12203, 26011, 16, 13, 505, 62, 37295, 62, 15805, 8, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 26011, 17, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 26011, 18, 11, 1748, 7054, 27993, 26011, 17, 11, 1748, 7054, 27993, 26011, 18, 11, 14505, 7054, 376, 12203, 26011, 16, 11, 5474, 7054, 9977, 9947, 26011, 16, 11, 5474, 62, 9496, 7054, 9977, 9947, 62, 37, 12203, 26011, 16, 33411, 27993, 26011, 17, 13, 19205, 62, 8189, 796, 31600, 15490, 62, 35009, 27389, 26011, 17, 13, 19205, 62, 8189, 5357, 27993, 26011, 17, 13, 19205, 62, 3672, 796, 705, 1404, 25697, 5603, 6, 5357, 27993, 26011, 18, 13, 19205, 62, 8189, 796, 31600, 15490, 62, 35009, 27389, 26011, 18, 13, 19205, 62, 8189, 5357, 27993, 26011, 18, 13, 19205, 62, 3672, 796, 705, 47, 2043, 4694, 38926, 17511, 6, 5357, 376, 12203, 26011, 16, 13, 744, 62, 39813, 62, 35827, 796, 705, 15285, 6, 5357, 9977, 9947, 62, 37, 12203, 26011, 16, 13, 9496, 62, 312, 796, 376, 12203, 26011, 16, 13, 9496, 62, 312, 5357, 9977, 9947, 26011, 16, 13, 22560, 62, 312, 796, 9977, 9947, 62, 37, 12203, 26011, 16, 13, 22560, 62, 312, 5357, 9977, 9947, 26011, 16, 13, 6738, 62, 958, 634, 796, 31600, 15490, 62, 35009, 27389, 26011, 17, 13, 958, 634, 62, 8189, 5357, 9977, 9947, 26011, 16, 13, 1462, 62, 958, 634, 796, 31600, 15490, 62, 35009, 27389, 26011, 18, 13, 958, 634, 62, 8189, 8, 5357, 5474, 62, 9496, 13, 9496, 62, 312, 796, 14505, 13, 9496, 62, 312, 5357, 5474, 13, 22560, 62, 312, 796, 5474, 62, 9496, 13, 22560, 62, 312, 5357, 5474, 13, 6738, 62, 958, 634, 796, 31600, 15490, 62, 35009, 27389, 62, 15, 13, 958, 634, 62, 8189, 5357, 5474, 13, 1462, 62, 958, 634, 796, 31600, 15490, 62, 35009, 27389, 62, 16, 13, 958, 634, 62, 8189 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 28918, 5474, 422, 5161, 25697, 5603, 284, 49040, 4694, 38926, 17511, 530, 835, 46506, 360, 8808, 1268, 4177, 14505, 13, 9496, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 16, 11, 1748, 7054, 27993, 62, 15, 11, 1748, 7054, 27993, 62, 16, 11, 14505, 11, 5474, 11, 5474, 62, 9496, 33411, 27993, 62, 15, 13, 19205, 62, 8189, 796, 31600, 15490, 62, 35009, 27389, 62, 15, 13, 19205, 62, 8189, 5357, 27993, 62, 15, 13, 19205, 62, 3672, 796, 705, 1404, 25697, 5603, 6, 5357, 27993, 62, 16, 13, 19205, 62, 8189, 796, 31600, 15490, 62, 35009, 27389, 62, 16, 13, 19205, 62, 8189, 5357, 27993, 62, 16, 13, 19205, 62, 3672, 796, 705, 47, 2043, 4694, 38926, 17511, 6, 5357, 14505, 13, 505, 62, 37295, 62, 15805, 796, 357, 46506, 20625, 7, 37, 12203, 26011, 16, 13, 505, 62, 37295, 62, 15805, 8, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 26011, 17, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 26011, 18, 11, 1748, 7054, 27993, 26011, 17, 11, 1748, 7054, 27993, 26011, 18, 11, 14505, 7054, 376, 12203, 26011, 16, 11, 5474, 7054, 9977, 9947, 26011, 16, 11, 5474, 62, 9496, 7054, 9977, 9947, 62, 37, 12203, 26011, 16, 33411, 27993, 26011, 17, 13, 19205, 62, 8189, 796, 31600, 15490, 62, 35009, 27389, 26011, 17, 13, 19205, 62, 8189, 5357, 27993, 26011, 17, 13, 19205, 62, 3672, 796, 705, 1404, 25697, 5603, 6, 5357, 27993, 26011, 18, 13, 19205, 62, 8189, 796, 31600, 15490, 62, 35009, 27389, 26011, 18, 13, 19205, 62, 8189, 5357, 27993, 26011, 18, 13, 19205, 62, 3672, 796, 705, 47, 2043, 4694, 38926, 17511, 6, 5357, 376, 12203, 26011, 16, 13, 744, 62, 39813, 62, 35827, 796, 705, 15285, 6, 5357, 9977, 9947, 62, 37, 12203, 26011, 16, 13, 9496, 62, 312, 796, 376, 12203, 26011, 16, 13, 9496, 62, 312, 5357, 9977, 9947, 26011, 16, 13, 22560, 62, 312, 796, 9977, 9947, 62, 37, 12203, 26011, 16, 13, 22560, 62, 312, 5357, 9977, 9947, 26011, 16, 13, 6738, 62, 958, 634, 796, 31600, 15490, 62, 35009, 27389, 26011, 17, 13, 958, 634, 62, 8189, 5357, 9977, 9947, 26011, 16, 13, 1462, 62, 958, 634, 796, 31600, 15490, 62, 35009, 27389, 26011, 18, 13, 958, 634, 62, 8189, 8, 5357, 5474, 62, 9496, 13, 9496, 62, 312, 796, 14505, 13, 9496, 62, 312, 5357, 5474, 13, 22560, 62, 312, 796, 5474, 62, 9496, 13, 22560, 62, 312, 5357, 5474, 13, 6738, 62, 958, 634, 796, 31600, 15490, 62, 35009, 27389, 62, 15, 13, 958, 634, 62, 8189, 5357, 5474, 13, 1462, 62, 958, 634, 796, 31600, 15490, 62, 35009, 27389, 62, 16, 13, 958, 634, 62, 8189 ]
What teacher teaches DANCE 327 ?
SELECT DISTINCT instructor.name FROM course, course_offering, instructor, offering_instructor WHERE course.course_id = course_offering.course_id AND course.department = 'DANCE' AND course.number = 327 AND offering_instructor.instructor_id = instructor.instructor_id AND offering_instructor.offering_id = course_offering.offering_id
[ 2061, 4701, 17324, 360, 19240, 36203, 5633, 46506, 360, 8808, 1268, 4177, 21187, 13, 3672, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 21187, 11, 6011, 62, 259, 7249, 273, 33411, 1781, 13, 17319, 62, 312, 796, 1781, 62, 2364, 1586, 13, 17319, 62, 312, 5357, 1781, 13, 10378, 1823, 796, 705, 35, 19240, 6, 5357, 1781, 13, 17618, 796, 36203, 5357, 6011, 62, 259, 7249, 273, 13, 259, 7249, 273, 62, 312, 796, 21187, 13, 259, 7249, 273, 62, 312, 5357, 6011, 62, 259, 7249, 273, 13, 2364, 1586, 62, 312, 796, 1781, 62, 2364, 1586, 13, 2364, 1586, 62, 312 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4701, 17324, 360, 19240, 36203, 5633, 46506, 360, 8808, 1268, 4177, 21187, 13, 3672, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 21187, 11, 6011, 62, 259, 7249, 273, 33411, 1781, 13, 17319, 62, 312, 796, 1781, 62, 2364, 1586, 13, 17319, 62, 312, 5357, 1781, 13, 10378, 1823, 796, 705, 35, 19240, 6, 5357, 1781, 13, 17618, 796, 36203, 5357, 6011, 62, 259, 7249, 273, 13, 259, 7249, 273, 62, 312, 796, 21187, 13, 259, 7249, 273, 62, 312, 5357, 6011, 62, 259, 7249, 273, 13, 2364, 1586, 62, 312, 796, 1781, 62, 2364, 1586, 13, 2364, 1586, 62, 312 ]
how many patients were diagnosed with pure hypercholesterolem in the same hospital encounter after they were first diagnosed with orthostatic hypotension, until 2104?
SELECT COUNT(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, diagnoses_icd.charttime, admissions.hadm_id FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'pure hypercholesterolem') AND STRFTIME('%y', diagnoses_icd.charttime) <= '2104') AS t1 JOIN (SELECT admissions.subject_id, diagnoses_icd.charttime, admissions.hadm_id FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'orthostatic hypotension') AND STRFTIME('%y', diagnoses_icd.charttime) <= '2104') AS t2 ON t1.subject_id = t2.subject_id WHERE t1.charttime < t2.charttime AND t1.hadm_id = t2.hadm_id
[ 4919, 867, 3871, 547, 14641, 351, 5899, 8718, 354, 15764, 2305, 76, 287, 262, 976, 4436, 8791, 706, 484, 547, 717, 14641, 351, 29617, 455, 1512, 8813, 3004, 11, 1566, 362, 13464, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 32796, 62, 312, 8, 16034, 357, 46506, 25349, 13, 32796, 62, 312, 11, 40567, 62, 291, 67, 13, 40926, 2435, 11, 25349, 13, 18108, 76, 62, 312, 16034, 40567, 62, 291, 67, 32357, 1268, 25349, 6177, 40567, 62, 291, 67, 13, 18108, 76, 62, 312, 796, 25349, 13, 18108, 76, 62, 312, 33411, 40567, 62, 291, 67, 13, 291, 67, 24, 62, 8189, 796, 357, 46506, 288, 62, 291, 67, 62, 47356, 4629, 13, 291, 67, 24, 62, 8189, 16034, 288, 62, 291, 67, 62, 47356, 4629, 33411, 288, 62, 291, 67, 62, 47356, 4629, 13, 19509, 62, 7839, 796, 705, 37424, 8718, 354, 15764, 2305, 76, 11537, 5357, 19269, 9792, 12789, 10786, 4, 88, 3256, 40567, 62, 291, 67, 13, 40926, 2435, 8, 19841, 705, 17, 13464, 11537, 7054, 256, 16, 32357, 1268, 357, 46506, 25349, 13, 32796, 62, 312, 11, 40567, 62, 291, 67, 13, 40926, 2435, 11, 25349, 13, 18108, 76, 62, 312, 16034, 40567, 62, 291, 67, 32357, 1268, 25349, 6177, 40567, 62, 291, 67, 13, 18108, 76, 62, 312, 796, 25349, 13, 18108, 76, 62, 312, 33411, 40567, 62, 291, 67, 13, 291, 67, 24, 62, 8189, 796, 357, 46506, 288, 62, 291, 67, 62, 47356, 4629, 13, 291, 67, 24, 62, 8189, 16034, 288, 62, 291, 67, 62, 47356, 4629, 33411, 288, 62, 291, 67, 62, 47356, 4629, 13, 19509, 62, 7839, 796, 705, 1506, 455, 1512, 8813, 3004, 11537, 5357, 19269, 9792, 12789, 10786, 4, 88, 3256, 40567, 62, 291, 67, 13, 40926, 2435, 8, 19841, 705, 17, 13464, 11537, 7054, 256, 17, 6177, 256, 16, 13, 32796, 62, 312, 796, 256, 17, 13, 32796, 62, 312, 33411, 256, 16, 13, 40926, 2435, 1279, 256, 17, 13, 40926, 2435, 5357, 256, 16, 13, 18108, 76, 62, 312, 796, 256, 17, 13, 18108, 76, 62, 312 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 3871, 547, 14641, 351, 5899, 8718, 354, 15764, 2305, 76, 287, 262, 976, 4436, 8791, 706, 484, 547, 717, 14641, 351, 29617, 455, 1512, 8813, 3004, 11, 1566, 362, 13464, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 32796, 62, 312, 8, 16034, 357, 46506, 25349, 13, 32796, 62, 312, 11, 40567, 62, 291, 67, 13, 40926, 2435, 11, 25349, 13, 18108, 76, 62, 312, 16034, 40567, 62, 291, 67, 32357, 1268, 25349, 6177, 40567, 62, 291, 67, 13, 18108, 76, 62, 312, 796, 25349, 13, 18108, 76, 62, 312, 33411, 40567, 62, 291, 67, 13, 291, 67, 24, 62, 8189, 796, 357, 46506, 288, 62, 291, 67, 62, 47356, 4629, 13, 291, 67, 24, 62, 8189, 16034, 288, 62, 291, 67, 62, 47356, 4629, 33411, 288, 62, 291, 67, 62, 47356, 4629, 13, 19509, 62, 7839, 796, 705, 37424, 8718, 354, 15764, 2305, 76, 11537, 5357, 19269, 9792, 12789, 10786, 4, 88, 3256, 40567, 62, 291, 67, 13, 40926, 2435, 8, 19841, 705, 17, 13464, 11537, 7054, 256, 16, 32357, 1268, 357, 46506, 25349, 13, 32796, 62, 312, 11, 40567, 62, 291, 67, 13, 40926, 2435, 11, 25349, 13, 18108, 76, 62, 312, 16034, 40567, 62, 291, 67, 32357, 1268, 25349, 6177, 40567, 62, 291, 67, 13, 18108, 76, 62, 312, 796, 25349, 13, 18108, 76, 62, 312, 33411, 40567, 62, 291, 67, 13, 291, 67, 24, 62, 8189, 796, 357, 46506, 288, 62, 291, 67, 62, 47356, 4629, 13, 291, 67, 24, 62, 8189, 16034, 288, 62, 291, 67, 62, 47356, 4629, 33411, 288, 62, 291, 67, 62, 47356, 4629, 13, 19509, 62, 7839, 796, 705, 1506, 455, 1512, 8813, 3004, 11537, 5357, 19269, 9792, 12789, 10786, 4, 88, 3256, 40567, 62, 291, 67, 13, 40926, 2435, 8, 19841, 705, 17, 13464, 11537, 7054, 256, 17, 6177, 256, 16, 13, 32796, 62, 312, 796, 256, 17, 13, 32796, 62, 312, 33411, 256, 16, 13, 40926, 2435, 1279, 256, 17, 13, 40926, 2435, 5357, 256, 16, 13, 18108, 76, 62, 312, 796, 256, 17, 13, 18108, 76, 62, 312 ]
what is the name of the next player after mark walsh ?
SELECT "player" FROM table_203_460 WHERE id = (SELECT id FROM table_203_460 WHERE "player" = 'mark walsh') + 1
[ 10919, 318, 262, 1438, 286, 262, 1306, 2137, 706, 1317, 266, 22114, 5633, 46506, 366, 7829, 1, 16034, 3084, 62, 22416, 62, 34716, 33411, 4686, 796, 357, 46506, 4686, 16034, 3084, 62, 22416, 62, 34716, 33411, 366, 7829, 1, 796, 705, 4102, 266, 22114, 11537, 1343, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 1438, 286, 262, 1306, 2137, 706, 1317, 266, 22114, 5633, 46506, 366, 7829, 1, 16034, 3084, 62, 22416, 62, 34716, 33411, 4686, 796, 357, 46506, 4686, 16034, 3084, 62, 22416, 62, 34716, 33411, 366, 7829, 1, 796, 705, 4102, 266, 22114, 11537, 1343, 352 ]
Name the torque for 1986
SELECT "Torque" FROM table_23485 WHERE "Year" = '1986'
[ 5376, 262, 26415, 329, 12113, 46506, 366, 15884, 4188, 1, 16034, 3084, 62, 1954, 32642, 33411, 366, 17688, 1, 796, 705, 28054, 6 ]
[ 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, 26415, 329, 12113, 46506, 366, 15884, 4188, 1, 16034, 3084, 62, 1954, 32642, 33411, 366, 17688, 1, 796, 705, 28054, 6 ]
How much is per capita income when median household income is $42,845?
SELECT "Per capita income" FROM table_75645 WHERE "Median household income" = '$42,845'
[ 2437, 881, 318, 583, 21344, 3739, 618, 14288, 6641, 3739, 318, 720, 3682, 11, 23, 2231, 30, 46506, 366, 5990, 21344, 3739, 1, 16034, 3084, 62, 38219, 2231, 33411, 366, 9921, 666, 6641, 3739, 1, 796, 705, 3, 3682, 11, 23, 2231, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 881, 318, 583, 21344, 3739, 618, 14288, 6641, 3739, 318, 720, 3682, 11, 23, 2231, 30, 46506, 366, 5990, 21344, 3739, 1, 16034, 3084, 62, 38219, 2231, 33411, 366, 9921, 666, 6641, 3739, 1, 796, 705, 3, 3682, 11, 23, 2231, 6 ]
What is the event of the match with a round larger than 2 and ended with a method of ko (kick)?
SELECT event FROM table_name_39 WHERE round > 2 AND method = "ko (kick)"
[ 2061, 318, 262, 1785, 286, 262, 2872, 351, 257, 2835, 4025, 621, 362, 290, 4444, 351, 257, 2446, 286, 41727, 357, 24585, 19427, 46506, 1785, 16034, 3084, 62, 3672, 62, 2670, 33411, 2835, 1875, 362, 5357, 2446, 796, 366, 7204, 357, 24585, 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, 1 ]
[ 2061, 318, 262, 1785, 286, 262, 2872, 351, 257, 2835, 4025, 621, 362, 290, 4444, 351, 257, 2446, 286, 41727, 357, 24585, 19427, 46506, 1785, 16034, 3084, 62, 3672, 62, 2670, 33411, 2835, 1875, 362, 5357, 2446, 796, 366, 7204, 357, 24585, 16725 ]
What are names of stations that have average bike availability above 10 and are not located in San Jose city?
SELECT T1.name FROM station AS T1 JOIN status AS T2 ON T1.id = T2.station_id GROUP BY T2.station_id HAVING AVG(bikes_available) > 10 EXCEPT SELECT name FROM station WHERE city = "San Jose"
[ 2061, 389, 3891, 286, 8985, 326, 423, 2811, 7161, 11500, 2029, 838, 290, 389, 407, 5140, 287, 2986, 5264, 1748, 30, 46506, 309, 16, 13, 3672, 16034, 4429, 7054, 309, 16, 32357, 1268, 3722, 7054, 309, 17, 6177, 309, 16, 13, 312, 796, 309, 17, 13, 17529, 62, 312, 44441, 11050, 309, 17, 13, 17529, 62, 312, 367, 10116, 2751, 35224, 7, 65, 7938, 62, 15182, 8, 1875, 838, 7788, 42006, 33493, 1438, 16034, 4429, 33411, 1748, 796, 366, 15017, 5264, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3891, 286, 8985, 326, 423, 2811, 7161, 11500, 2029, 838, 290, 389, 407, 5140, 287, 2986, 5264, 1748, 30, 46506, 309, 16, 13, 3672, 16034, 4429, 7054, 309, 16, 32357, 1268, 3722, 7054, 309, 17, 6177, 309, 16, 13, 312, 796, 309, 17, 13, 17529, 62, 312, 44441, 11050, 309, 17, 13, 17529, 62, 312, 367, 10116, 2751, 35224, 7, 65, 7938, 62, 15182, 8, 1875, 838, 7788, 42006, 33493, 1438, 16034, 4429, 33411, 1748, 796, 366, 15017, 5264, 1 ]
list the flights from INDIANAPOLIS to HOUSTON
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 = 'INDIANAPOLIS' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'HOUSTON' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code AND flight.to_airport = AIRPORT_SERVICE_1.airport_code
[ 4868, 262, 13956, 422, 24413, 16868, 2969, 3535, 1797, 284, 29068, 41924, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 16, 11, 1748, 7054, 27993, 62, 15, 11, 1748, 7054, 27993, 62, 16, 11, 5474, 33411, 27993, 62, 15, 13, 19205, 62, 8189, 796, 31600, 15490, 62, 35009, 27389, 62, 15, 13, 19205, 62, 8189, 5357, 27993, 62, 15, 13, 19205, 62, 3672, 796, 705, 12115, 16868, 2969, 3535, 1797, 6, 5357, 27993, 62, 16, 13, 19205, 62, 8189, 796, 31600, 15490, 62, 35009, 27389, 62, 16, 13, 19205, 62, 8189, 5357, 27993, 62, 16, 13, 19205, 62, 3672, 796, 705, 46685, 41924, 6, 5357, 5474, 13, 6738, 62, 958, 634, 796, 31600, 15490, 62, 35009, 27389, 62, 15, 13, 958, 634, 62, 8189, 5357, 5474, 13, 1462, 62, 958, 634, 796, 31600, 15490, 62, 35009, 27389, 62, 16, 13, 958, 634, 62, 8189 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4868, 262, 13956, 422, 24413, 16868, 2969, 3535, 1797, 284, 29068, 41924, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 16, 11, 1748, 7054, 27993, 62, 15, 11, 1748, 7054, 27993, 62, 16, 11, 5474, 33411, 27993, 62, 15, 13, 19205, 62, 8189, 796, 31600, 15490, 62, 35009, 27389, 62, 15, 13, 19205, 62, 8189, 5357, 27993, 62, 15, 13, 19205, 62, 3672, 796, 705, 12115, 16868, 2969, 3535, 1797, 6, 5357, 27993, 62, 16, 13, 19205, 62, 8189, 796, 31600, 15490, 62, 35009, 27389, 62, 16, 13, 19205, 62, 8189, 5357, 27993, 62, 16, 13, 19205, 62, 3672, 796, 705, 46685, 41924, 6, 5357, 5474, 13, 6738, 62, 958, 634, 796, 31600, 15490, 62, 35009, 27389, 62, 15, 13, 958, 634, 62, 8189, 5357, 5474, 13, 1462, 62, 958, 634, 796, 31600, 15490, 62, 35009, 27389, 62, 16, 13, 958, 634, 62, 8189 ]
List the number of enginners in a stacked bar chart The x-axis is last name and group by skill description, rank bars from low to high order.
SELECT last_name, COUNT(last_name) FROM Maintenance_Engineers AS T1 JOIN Engineer_Skills AS T2 ON T1.engineer_id = T2.engineer_id JOIN Skills AS T3 ON T2.skill_id = T3.skill_id GROUP BY skill_description, last_name ORDER BY last_name
[ 8053, 262, 1271, 286, 551, 1655, 2741, 287, 257, 24167, 2318, 8262, 383, 2124, 12, 22704, 318, 938, 1438, 290, 1448, 416, 5032, 6764, 11, 4279, 9210, 422, 1877, 284, 1029, 1502, 13, 46506, 938, 62, 3672, 11, 327, 28270, 7, 12957, 62, 3672, 8, 16034, 34857, 62, 28620, 7054, 309, 16, 32357, 1268, 23164, 62, 15739, 2171, 7054, 309, 17, 6177, 309, 16, 13, 18392, 263, 62, 312, 796, 309, 17, 13, 18392, 263, 62, 312, 32357, 1268, 20389, 7054, 309, 18, 6177, 309, 17, 13, 42401, 62, 312, 796, 309, 18, 13, 42401, 62, 312, 44441, 11050, 5032, 62, 11213, 11, 938, 62, 3672, 38678, 11050, 938, 62, 3672 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1271, 286, 551, 1655, 2741, 287, 257, 24167, 2318, 8262, 383, 2124, 12, 22704, 318, 938, 1438, 290, 1448, 416, 5032, 6764, 11, 4279, 9210, 422, 1877, 284, 1029, 1502, 13, 46506, 938, 62, 3672, 11, 327, 28270, 7, 12957, 62, 3672, 8, 16034, 34857, 62, 28620, 7054, 309, 16, 32357, 1268, 23164, 62, 15739, 2171, 7054, 309, 17, 6177, 309, 16, 13, 18392, 263, 62, 312, 796, 309, 17, 13, 18392, 263, 62, 312, 32357, 1268, 20389, 7054, 309, 18, 6177, 309, 17, 13, 42401, 62, 312, 796, 309, 18, 13, 42401, 62, 312, 44441, 11050, 5032, 62, 11213, 11, 938, 62, 3672, 38678, 11050, 938, 62, 3672 ]
Which League Cup has a Total smaller than 1?
SELECT SUM(league_cup) FROM table_name_3 WHERE total < 1
[ 13828, 4041, 5454, 468, 257, 7472, 4833, 621, 352, 30, 46506, 35683, 7, 19316, 62, 25244, 8, 16034, 3084, 62, 3672, 62, 18, 33411, 2472, 1279, 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 ]
[ 13828, 4041, 5454, 468, 257, 7472, 4833, 621, 352, 30, 46506, 35683, 7, 19316, 62, 25244, 8, 16034, 3084, 62, 3672, 62, 18, 33411, 2472, 1279, 352 ]
How many locomotives were made that were withdrawn in 1913?
SELECT "Quantity made" FROM table_68864 WHERE "Withdrawn" = '1913'
[ 2437, 867, 33334, 313, 1083, 547, 925, 326, 547, 23019, 287, 35145, 30, 46506, 366, 31208, 925, 1, 16034, 3084, 62, 34427, 2414, 33411, 366, 3152, 41549, 1, 796, 705, 1129, 1485, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 33334, 313, 1083, 547, 925, 326, 547, 23019, 287, 35145, 30, 46506, 366, 31208, 925, 1, 16034, 3084, 62, 34427, 2414, 33411, 366, 3152, 41549, 1, 796, 705, 1129, 1485, 6 ]
how many patients are with white ethnicity and drug route id?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.ethnicity = "WHITE" AND prescriptions.route = "ID"
[ 4919, 867, 3871, 389, 351, 2330, 26289, 290, 2563, 6339, 4686, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, 18108, 76, 62, 312, 796, 34092, 13, 18108, 76, 62, 312, 33411, 16728, 13, 38546, 414, 796, 366, 12418, 12709, 1, 5357, 34092, 13, 38629, 796, 366, 2389, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 3871, 389, 351, 2330, 26289, 290, 2563, 6339, 4686, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, 18108, 76, 62, 312, 796, 34092, 13, 18108, 76, 62, 312, 33411, 16728, 13, 38546, 414, 796, 366, 12418, 12709, 1, 5357, 34092, 13, 38629, 796, 366, 2389, 1 ]
had today patient 6170's arterial bp mean been greater than 127.0?
SELECT COUNT(*) > 0 FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 6170)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'arterial bp mean' AND d_items.linksto = 'chartevents') AND chartevents.valuenum > 127.0 AND DATETIME(chartevents.charttime, 'start of day') = DATETIME(CURRENT_TIME(), 'start of day', '-0 day')
[ 18108, 1909, 5827, 718, 17279, 338, 30675, 498, 275, 79, 1612, 587, 3744, 621, 18112, 13, 15, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, 323, 62, 312, 3268, 357, 46506, 14158, 436, 592, 13, 291, 436, 323, 62, 312, 16034, 14158, 436, 592, 33411, 14158, 436, 592, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 718, 17279, 4008, 5357, 8262, 31534, 13, 9186, 312, 3268, 357, 46506, 288, 62, 23814, 13, 9186, 312, 16034, 288, 62, 23814, 33411, 288, 62, 23814, 13, 18242, 796, 705, 2571, 498, 275, 79, 1612, 6, 5357, 288, 62, 23814, 13, 8726, 301, 78, 796, 705, 40926, 31534, 11537, 5357, 8262, 31534, 13, 2100, 84, 44709, 1875, 18112, 13, 15, 5357, 360, 1404, 2767, 12789, 7, 40926, 31534, 13, 40926, 2435, 11, 705, 9688, 286, 1110, 11537, 796, 360, 1404, 2767, 12789, 7, 34, 39237, 62, 34694, 22784, 705, 9688, 286, 1110, 3256, 705, 12, 15, 1110, 11537 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1909, 5827, 718, 17279, 338, 30675, 498, 275, 79, 1612, 587, 3744, 621, 18112, 13, 15, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, 323, 62, 312, 3268, 357, 46506, 14158, 436, 592, 13, 291, 436, 323, 62, 312, 16034, 14158, 436, 592, 33411, 14158, 436, 592, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 718, 17279, 4008, 5357, 8262, 31534, 13, 9186, 312, 3268, 357, 46506, 288, 62, 23814, 13, 9186, 312, 16034, 288, 62, 23814, 33411, 288, 62, 23814, 13, 18242, 796, 705, 2571, 498, 275, 79, 1612, 6, 5357, 288, 62, 23814, 13, 8726, 301, 78, 796, 705, 40926, 31534, 11537, 5357, 8262, 31534, 13, 2100, 84, 44709, 1875, 18112, 13, 15, 5357, 360, 1404, 2767, 12789, 7, 40926, 31534, 13, 40926, 2435, 11, 705, 9688, 286, 1110, 11537, 796, 360, 1404, 2767, 12789, 7, 34, 39237, 62, 34694, 22784, 705, 9688, 286, 1110, 3256, 705, 12, 15, 1110, 11537 ]
How many wins for the year that is later than 1987 and has points less than 188?
SELECT "Wins" FROM table_62712 WHERE "Year" > '1987' AND "Points" < '188'
[ 2437, 867, 7864, 329, 262, 614, 326, 318, 1568, 621, 12923, 290, 468, 2173, 1342, 621, 27778, 30, 46506, 366, 54, 1040, 1, 16034, 3084, 62, 49856, 1065, 33411, 366, 17688, 1, 1875, 705, 27301, 6, 5357, 366, 40710, 1, 1279, 705, 20356, 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, 7864, 329, 262, 614, 326, 318, 1568, 621, 12923, 290, 468, 2173, 1342, 621, 27778, 30, 46506, 366, 54, 1040, 1, 16034, 3084, 62, 49856, 1065, 33411, 366, 17688, 1, 1875, 705, 27301, 6, 5357, 366, 40710, 1, 1279, 705, 20356, 6 ]
how many correctional facilities are listed in yerevan ?
SELECT COUNT("name") FROM table_204_414 WHERE "location" = 'yerevan'
[ 4919, 867, 49187, 7291, 389, 5610, 287, 331, 567, 10438, 5633, 46506, 327, 28270, 7203, 3672, 4943, 16034, 3084, 62, 18638, 62, 37309, 33411, 366, 24886, 1, 796, 705, 88, 567, 10438, 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 ]
[ 4919, 867, 49187, 7291, 389, 5610, 287, 331, 567, 10438, 5633, 46506, 327, 28270, 7203, 3672, 4943, 16034, 3084, 62, 18638, 62, 37309, 33411, 366, 24886, 1, 796, 705, 88, 567, 10438, 6 ]
Which away team resulted in a 15.14 (104) score for the home team?
SELECT "Away team" FROM table_32447 WHERE "Home team score" = '15.14 (104)'
[ 13828, 1497, 1074, 8724, 287, 257, 1315, 13, 1415, 357, 13464, 8, 4776, 329, 262, 1363, 1074, 30, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 33916, 2857, 33411, 366, 16060, 1074, 4776, 1, 796, 705, 1314, 13, 1415, 357, 13464, 33047 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 1497, 1074, 8724, 287, 257, 1315, 13, 1415, 357, 13464, 8, 4776, 329, 262, 1363, 1074, 30, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 33916, 2857, 33411, 366, 16060, 1074, 4776, 1, 796, 705, 1314, 13, 1415, 357, 13464, 33047 ]
what is the intake method of the sodium chloride 0.9%?
SELECT DISTINCT medication.routeadmin FROM medication WHERE medication.drugname = 'sodium chloride 0.9%'
[ 10919, 318, 262, 10337, 2446, 286, 262, 21072, 44921, 657, 13, 24, 4, 30, 46506, 360, 8808, 1268, 4177, 14103, 13, 81, 448, 1329, 1084, 16034, 14103, 33411, 14103, 13, 30349, 3672, 796, 705, 82, 12664, 44921, 657, 13, 24, 4, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 10337, 2446, 286, 262, 21072, 44921, 657, 13, 24, 4, 30, 46506, 360, 8808, 1268, 4177, 14103, 13, 81, 448, 1329, 1084, 16034, 14103, 33411, 14103, 13, 30349, 3672, 796, 705, 82, 12664, 44921, 657, 13, 24, 4, 6 ]
What's the record of Game 56?
SELECT record FROM table_name_37 WHERE game = 56
[ 2061, 338, 262, 1700, 286, 3776, 7265, 30, 46506, 1700, 16034, 3084, 62, 3672, 62, 2718, 33411, 983, 796, 7265 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 338, 262, 1700, 286, 3776, 7265, 30, 46506, 1700, 16034, 3084, 62, 3672, 62, 2718, 33411, 983, 796, 7265 ]
What is the FCC information of 104.5 fm frequency?
SELECT fcc_info FROM table_name_68 WHERE frequency_mhz = "104.5 fm"
[ 2061, 318, 262, 15915, 1321, 286, 14436, 13, 20, 277, 76, 8373, 30, 46506, 277, 535, 62, 10951, 16034, 3084, 62, 3672, 62, 3104, 33411, 8373, 62, 76, 32179, 796, 366, 13464, 13, 20, 277, 76, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15915, 1321, 286, 14436, 13, 20, 277, 76, 8373, 30, 46506, 277, 535, 62, 10951, 16034, 3084, 62, 3672, 62, 3104, 33411, 8373, 62, 76, 32179, 796, 366, 13464, 13, 20, 277, 76, 1 ]
WHAT IS THE PLAYER WITH 287?
SELECT player FROM table_name_26 WHERE total = 287
[ 32971, 3180, 3336, 28180, 1137, 13315, 38721, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 2075, 33411, 2472, 796, 38721 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 32971, 3180, 3336, 28180, 1137, 13315, 38721, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 2075, 33411, 2472, 796, 38721 ]
What are the upper level CS classes that are available next semester ?
SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN program_course ON program_course.course_id = course.course_id INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN semester ON semester.semester_id = course_offering.semester WHERE program_course.category LIKE '%ULCS%' AND semester.semester = 'FA' AND semester.year = 2016
[ 2061, 389, 262, 6727, 1241, 9429, 6097, 326, 389, 1695, 1306, 24878, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 3268, 21479, 32357, 1268, 1430, 62, 17319, 6177, 1430, 62, 17319, 13, 17319, 62, 312, 796, 1781, 13, 17319, 62, 312, 3268, 21479, 32357, 1268, 1781, 62, 2364, 1586, 6177, 1781, 13, 17319, 62, 312, 796, 1781, 62, 2364, 1586, 13, 17319, 62, 312, 3268, 21479, 32357, 1268, 24878, 6177, 24878, 13, 325, 6880, 353, 62, 312, 796, 1781, 62, 2364, 1586, 13, 325, 6880, 353, 33411, 1430, 62, 17319, 13, 22872, 34178, 705, 4, 52, 29814, 4, 6, 5357, 24878, 13, 325, 6880, 353, 796, 705, 7708, 6, 5357, 24878, 13, 1941, 796, 1584 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 262, 6727, 1241, 9429, 6097, 326, 389, 1695, 1306, 24878, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 3268, 21479, 32357, 1268, 1430, 62, 17319, 6177, 1430, 62, 17319, 13, 17319, 62, 312, 796, 1781, 13, 17319, 62, 312, 3268, 21479, 32357, 1268, 1781, 62, 2364, 1586, 6177, 1781, 13, 17319, 62, 312, 796, 1781, 62, 2364, 1586, 13, 17319, 62, 312, 3268, 21479, 32357, 1268, 24878, 6177, 24878, 13, 325, 6880, 353, 62, 312, 796, 1781, 62, 2364, 1586, 13, 325, 6880, 353, 33411, 1430, 62, 17319, 13, 22872, 34178, 705, 4, 52, 29814, 4, 6, 5357, 24878, 13, 325, 6880, 353, 796, 705, 7708, 6, 5357, 24878, 13, 1941, 796, 1584 ]
what is age of subject name stephanie suchan?
SELECT demographic.age FROM demographic WHERE demographic.name = "Stephanie Suchan"
[ 10919, 318, 2479, 286, 2426, 1438, 2239, 7637, 494, 884, 272, 30, 46506, 16728, 13, 496, 16034, 16728, 33411, 16728, 13, 3672, 796, 366, 8600, 7637, 494, 8013, 272, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 2479, 286, 2426, 1438, 2239, 7637, 494, 884, 272, 30, 46506, 16728, 13, 496, 16034, 16728, 33411, 16728, 13, 3672, 796, 366, 8600, 7637, 494, 8013, 272, 1 ]
What is the Population of the Rural Community
SELECT population FROM table_name_75 WHERE status = "rural community"
[ 2061, 318, 262, 20133, 286, 262, 36486, 8108, 46506, 3265, 16034, 3084, 62, 3672, 62, 2425, 33411, 3722, 796, 366, 81, 1523, 2055, 1 ]
[ 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, 20133, 286, 262, 36486, 8108, 46506, 3265, 16034, 3084, 62, 3672, 62, 2425, 33411, 3722, 796, 366, 81, 1523, 2055, 1 ]
What is the highest losses for more than 11 wins, a goal difference greater than 5, a 3 position, and more than 3 draws?
SELECT MAX(losses) FROM table_name_33 WHERE wins > 11 AND goal_difference > 5 AND position = 3 AND draws > 3
[ 2061, 318, 262, 4511, 9089, 329, 517, 621, 1367, 7864, 11, 257, 3061, 3580, 3744, 621, 642, 11, 257, 513, 2292, 11, 290, 517, 621, 513, 14293, 30, 46506, 25882, 7, 22462, 274, 8, 16034, 3084, 62, 3672, 62, 2091, 33411, 7864, 1875, 1367, 5357, 3061, 62, 26069, 1945, 1875, 642, 5357, 2292, 796, 513, 5357, 14293, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4511, 9089, 329, 517, 621, 1367, 7864, 11, 257, 3061, 3580, 3744, 621, 642, 11, 257, 513, 2292, 11, 290, 517, 621, 513, 14293, 30, 46506, 25882, 7, 22462, 274, 8, 16034, 3084, 62, 3672, 62, 2091, 33411, 7864, 1875, 1367, 5357, 3061, 62, 26069, 1945, 1875, 642, 5357, 2292, 796, 513, 5357, 14293, 1875, 513 ]
what is average days of hospital stay of patients whose admission location is trsf within this facility?
SELECT AVG(demographic.days_stay) FROM demographic WHERE demographic.admission_location = "TRSF WITHIN THIS FACILITY"
[ 10919, 318, 2811, 1528, 286, 4436, 2652, 286, 3871, 3025, 13938, 4067, 318, 491, 28202, 1626, 428, 6841, 30, 46506, 35224, 7, 9536, 6826, 13, 12545, 62, 31712, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, 24886, 796, 366, 5446, 20802, 13315, 1268, 12680, 44216, 4146, 9050, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2811, 1528, 286, 4436, 2652, 286, 3871, 3025, 13938, 4067, 318, 491, 28202, 1626, 428, 6841, 30, 46506, 35224, 7, 9536, 6826, 13, 12545, 62, 31712, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, 24886, 796, 366, 5446, 20802, 13315, 1268, 12680, 44216, 4146, 9050, 1 ]
what is the price for orthopedics consultation?
SELECT DISTINCT cost.cost FROM cost WHERE cost.eventtype = 'treatment' AND cost.eventid IN (SELECT treatment.treatmentid FROM treatment WHERE treatment.treatmentname = 'orthopedics consultation')
[ 10919, 318, 262, 2756, 329, 29617, 19458, 873, 18103, 30, 46506, 360, 8808, 1268, 4177, 1575, 13, 15805, 16034, 1575, 33411, 1575, 13, 15596, 4906, 796, 705, 42487, 6, 5357, 1575, 13, 15596, 312, 3268, 357, 46506, 3513, 13, 42487, 312, 16034, 3513, 33411, 3513, 13, 42487, 3672, 796, 705, 1506, 19458, 873, 18103, 11537 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2756, 329, 29617, 19458, 873, 18103, 30, 46506, 360, 8808, 1268, 4177, 1575, 13, 15805, 16034, 1575, 33411, 1575, 13, 15596, 4906, 796, 705, 42487, 6, 5357, 1575, 13, 15596, 312, 3268, 357, 46506, 3513, 13, 42487, 312, 16034, 3513, 33411, 3513, 13, 42487, 3672, 796, 705, 1506, 19458, 873, 18103, 11537 ]
What visitor has tim duncan (16) as the leading scorer?
SELECT "Visitor" FROM table_34462 WHERE "Leading scorer" = 'tim duncan (16)'
[ 2061, 21493, 468, 4628, 12574, 5171, 357, 1433, 8, 355, 262, 3756, 30664, 30, 46506, 366, 15854, 2072, 1, 16034, 3084, 62, 33535, 5237, 33411, 366, 20451, 278, 30664, 1, 796, 705, 16514, 12574, 5171, 357, 1433, 33047 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 21493, 468, 4628, 12574, 5171, 357, 1433, 8, 355, 262, 3756, 30664, 30, 46506, 366, 15854, 2072, 1, 16034, 3084, 62, 33535, 5237, 33411, 366, 20451, 278, 30664, 1, 796, 705, 16514, 12574, 5171, 357, 1433, 33047 ]
What is the Delivered as name of the H3 Locomotive?
SELECT "Delivered as" FROM table_6594 WHERE "Locomotive" = 'h3'
[ 2061, 318, 262, 4216, 6396, 355, 1438, 286, 262, 367, 18, 15181, 296, 19138, 30, 46506, 366, 13856, 6396, 355, 1, 16034, 3084, 62, 2996, 5824, 33411, 366, 33711, 296, 19138, 1, 796, 705, 71, 18, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4216, 6396, 355, 1438, 286, 262, 367, 18, 15181, 296, 19138, 30, 46506, 366, 13856, 6396, 355, 1, 16034, 3084, 62, 2996, 5824, 33411, 366, 33711, 296, 19138, 1, 796, 705, 71, 18, 6 ]
What is the average last yr with an l plyf less than 0?
SELECT AVG(last_yr) FROM table_name_98 WHERE l_plyf < 0
[ 2061, 318, 262, 2811, 938, 42635, 351, 281, 300, 35960, 69, 1342, 621, 657, 30, 46506, 35224, 7, 12957, 62, 2417, 8, 16034, 3084, 62, 3672, 62, 4089, 33411, 300, 62, 2145, 69, 1279, 657 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2811, 938, 42635, 351, 281, 300, 35960, 69, 1342, 621, 657, 30, 46506, 35224, 7, 12957, 62, 2417, 8, 16034, 3084, 62, 3672, 62, 4089, 33411, 300, 62, 2145, 69, 1279, 657 ]
How many picks did the Chicago Black Hawks get?
SELECT COUNT("Pick #") FROM table_29011 WHERE "NHL team" = 'Chicago Black Hawks'
[ 2437, 867, 11103, 750, 262, 4842, 2619, 23445, 651, 30, 46506, 327, 28270, 7203, 31686, 1303, 4943, 16034, 3084, 62, 1959, 28555, 33411, 366, 45, 6581, 1074, 1, 796, 705, 25705, 2619, 23445, 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, 11103, 750, 262, 4842, 2619, 23445, 651, 30, 46506, 327, 28270, 7203, 31686, 1303, 4943, 16034, 3084, 62, 1959, 28555, 33411, 366, 45, 6581, 1074, 1, 796, 705, 25705, 2619, 23445, 6 ]
what was the name of the specimen test that patient 031-17834 received in 10/this year for the last time?
SELECT microlab.culturesite FROM microlab WHERE microlab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '031-17834')) AND DATETIME(microlab.culturetakentime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') AND STRFTIME('%m', microlab.culturetakentime) = '10' ORDER BY microlab.culturetakentime DESC LIMIT 1
[ 10919, 373, 262, 1438, 286, 262, 31674, 1332, 326, 5827, 657, 3132, 12, 23188, 2682, 2722, 287, 838, 14, 5661, 614, 329, 262, 938, 640, 30, 46506, 4580, 23912, 13, 40820, 942, 578, 16034, 4580, 23912, 33411, 4580, 23912, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 43637, 12, 23188, 2682, 6, 4008, 5357, 360, 1404, 2767, 12789, 7, 24055, 23912, 13, 25584, 83, 461, 298, 524, 11, 705, 9688, 286, 614, 11537, 796, 360, 1404, 2767, 12789, 7, 34, 39237, 62, 34694, 22784, 705, 9688, 286, 614, 3256, 705, 12, 15, 614, 11537, 5357, 19269, 9792, 12789, 10786, 4, 76, 3256, 4580, 23912, 13, 25584, 83, 461, 298, 524, 8, 796, 705, 940, 6, 38678, 11050, 4580, 23912, 13, 25584, 83, 461, 298, 524, 22196, 34, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1438, 286, 262, 31674, 1332, 326, 5827, 657, 3132, 12, 23188, 2682, 2722, 287, 838, 14, 5661, 614, 329, 262, 938, 640, 30, 46506, 4580, 23912, 13, 40820, 942, 578, 16034, 4580, 23912, 33411, 4580, 23912, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 43637, 12, 23188, 2682, 6, 4008, 5357, 360, 1404, 2767, 12789, 7, 24055, 23912, 13, 25584, 83, 461, 298, 524, 11, 705, 9688, 286, 614, 11537, 796, 360, 1404, 2767, 12789, 7, 34, 39237, 62, 34694, 22784, 705, 9688, 286, 614, 3256, 705, 12, 15, 614, 11537, 5357, 19269, 9792, 12789, 10786, 4, 76, 3256, 4580, 23912, 13, 25584, 83, 461, 298, 524, 8, 796, 705, 940, 6, 38678, 11050, 4580, 23912, 13, 25584, 83, 461, 298, 524, 22196, 34, 27564, 2043, 352 ]
What is the record of wins/losses that were played at opponents venue (uf, 1-0)
SELECT "Overall Record" FROM table_20621 WHERE "at Opponents Venue" = 'UF, 1-0'
[ 2061, 318, 262, 1700, 286, 7864, 14, 22462, 274, 326, 547, 2826, 379, 7691, 14359, 357, 3046, 11, 352, 12, 15, 8, 46506, 366, 16350, 13266, 1, 16034, 3084, 62, 22136, 2481, 33411, 366, 265, 9385, 3906, 9932, 518, 1, 796, 705, 36820, 11, 352, 12, 15, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1700, 286, 7864, 14, 22462, 274, 326, 547, 2826, 379, 7691, 14359, 357, 3046, 11, 352, 12, 15, 8, 46506, 366, 16350, 13266, 1, 16034, 3084, 62, 22136, 2481, 33411, 366, 265, 9385, 3906, 9932, 518, 1, 796, 705, 36820, 11, 352, 12, 15, 6 ]
What yacht had LOA Metres of 13.34?
SELECT yacht FROM table_25594271_2 WHERE loa__metres_ = "13.34"
[ 2061, 43207, 550, 17579, 32, 3395, 411, 286, 1511, 13, 2682, 30, 46506, 43207, 16034, 3084, 62, 1495, 46438, 28977, 62, 17, 33411, 2376, 64, 834, 4164, 411, 62, 796, 366, 1485, 13, 2682, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 43207, 550, 17579, 32, 3395, 411, 286, 1511, 13, 2682, 30, 46506, 43207, 16034, 3084, 62, 1495, 46438, 28977, 62, 17, 33411, 2376, 64, 834, 4164, 411, 62, 796, 366, 1485, 13, 2682, 1 ]
how many patients whose marital status is married and diagnoses long title is other convulsions?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.marital_status = "MARRIED" AND diagnoses.long_title = "Other convulsions"
[ 4919, 867, 3871, 3025, 29555, 3722, 318, 6405, 290, 40567, 890, 3670, 318, 584, 3063, 5753, 507, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312, 796, 40567, 13, 18108, 76, 62, 312, 33411, 16728, 13, 3876, 1287, 62, 13376, 796, 366, 40569, 7112, 1961, 1, 5357, 40567, 13, 6511, 62, 7839, 796, 366, 6395, 3063, 5753, 507, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 29555, 3722, 318, 6405, 290, 40567, 890, 3670, 318, 584, 3063, 5753, 507, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312, 796, 40567, 13, 18108, 76, 62, 312, 33411, 16728, 13, 3876, 1287, 62, 13376, 796, 366, 40569, 7112, 1961, 1, 5357, 40567, 13, 6511, 62, 7839, 796, 366, 6395, 3063, 5753, 507, 1 ]
What is the distance when brisbane is $4.80?
SELECT "Distance" FROM table_31022 WHERE "Brisbane" = '$4.80'
[ 2061, 318, 262, 5253, 618, 865, 271, 20235, 318, 720, 19, 13, 1795, 30, 46506, 366, 45767, 1, 16034, 3084, 62, 26717, 1828, 33411, 366, 33, 2442, 20235, 1, 796, 705, 3, 19, 13, 1795, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 5253, 618, 865, 271, 20235, 318, 720, 19, 13, 1795, 30, 46506, 366, 45767, 1, 16034, 3084, 62, 26717, 1828, 33411, 366, 33, 2442, 20235, 1, 796, 705, 3, 19, 13, 1795, 6 ]
What is the home team score when the away team is Melbourne?
SELECT home_team AS score FROM table_name_95 WHERE away_team = "melbourne"
[ 2061, 318, 262, 1363, 1074, 4776, 618, 262, 1497, 1074, 318, 14819, 30, 46506, 1363, 62, 15097, 7054, 4776, 16034, 3084, 62, 3672, 62, 3865, 33411, 1497, 62, 15097, 796, 366, 17694, 12544, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1363, 1074, 4776, 618, 262, 1497, 1074, 318, 14819, 30, 46506, 1363, 62, 15097, 7054, 4776, 16034, 3084, 62, 3672, 62, 3865, 33411, 1497, 62, 15097, 796, 366, 17694, 12544, 1 ]
Who is the women's doubles when the mixed doubles are sudket prapakamol saralee thungthongkam?
SELECT womens_doubles FROM table_27753492_2 WHERE mixed_doubles = "Sudket Prapakamol Saralee Thungthongkam"
[ 8241, 318, 262, 1466, 338, 21938, 618, 262, 7668, 21938, 389, 424, 67, 7126, 279, 2416, 461, 321, 349, 29008, 1000, 68, 294, 2150, 400, 506, 74, 321, 30, 46506, 1116, 641, 62, 67, 280, 7689, 16034, 3084, 62, 1983, 2425, 2682, 5892, 62, 17, 33411, 7668, 62, 67, 280, 7689, 796, 366, 50, 463, 7126, 350, 2416, 461, 321, 349, 6866, 1000, 68, 536, 2150, 400, 506, 74, 321, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1466, 338, 21938, 618, 262, 7668, 21938, 389, 424, 67, 7126, 279, 2416, 461, 321, 349, 29008, 1000, 68, 294, 2150, 400, 506, 74, 321, 30, 46506, 1116, 641, 62, 67, 280, 7689, 16034, 3084, 62, 1983, 2425, 2682, 5892, 62, 17, 33411, 7668, 62, 67, 280, 7689, 796, 366, 50, 463, 7126, 350, 2416, 461, 321, 349, 6866, 1000, 68, 536, 2150, 400, 506, 74, 321, 1 ]
Top C Devs in Greece.
SELECT u.Id AS id, COUNT(a.Id) AS answerCount FROM Posts AS a JOIN Users AS u ON u.Id = a.OwnerUserId JOIN Posts AS q ON a.ParentId = q.Id WHERE q.Tags LIKE '%C++%' AND u.Location LIKE '%Greece%' GROUP BY u.Id
[ 9126, 327, 6245, 82, 287, 10315, 13, 46506, 334, 13, 7390, 7054, 4686, 11, 327, 28270, 7, 64, 13, 7390, 8, 7054, 3280, 12332, 16034, 12043, 7054, 257, 32357, 1268, 18987, 7054, 334, 6177, 334, 13, 7390, 796, 257, 13, 42419, 12982, 7390, 32357, 1268, 12043, 7054, 10662, 6177, 257, 13, 24546, 7390, 796, 10662, 13, 7390, 33411, 10662, 13, 36142, 34178, 705, 4, 34, 4880, 4, 6, 5357, 334, 13, 14749, 34178, 705, 4, 38, 631, 344, 4, 6, 44441, 11050, 334, 13, 7390 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 9126, 327, 6245, 82, 287, 10315, 13, 46506, 334, 13, 7390, 7054, 4686, 11, 327, 28270, 7, 64, 13, 7390, 8, 7054, 3280, 12332, 16034, 12043, 7054, 257, 32357, 1268, 18987, 7054, 334, 6177, 334, 13, 7390, 796, 257, 13, 42419, 12982, 7390, 32357, 1268, 12043, 7054, 10662, 6177, 257, 13, 24546, 7390, 796, 10662, 13, 7390, 33411, 10662, 13, 36142, 34178, 705, 4, 34, 4880, 4, 6, 5357, 334, 13, 14749, 34178, 705, 4, 38, 631, 344, 4, 6, 44441, 11050, 334, 13, 7390 ]
Please tell me the number of courses that 2 or more faculty members teach .
SELECT COUNT(DISTINCT course_offering.course_id) FROM course, course_offering, offering_instructor AS OFFERING_INSTRUCTOR_0, offering_instructor AS OFFERING_INSTRUCTOR_1, offering_instructor AS OFFERING_INSTRUCTOR_2 WHERE course.course_id = course_offering.course_id AND course.department = 'EECS' AND OFFERING_INSTRUCTOR_0.instructor_id < OFFERING_INSTRUCTOR_1.instructor_id AND OFFERING_INSTRUCTOR_0.offering_id = course_offering.offering_id AND OFFERING_INSTRUCTOR_1.instructor_id < OFFERING_INSTRUCTOR_2.instructor_id AND OFFERING_INSTRUCTOR_1.offering_id = OFFERING_INSTRUCTOR_0.offering_id AND OFFERING_INSTRUCTOR_2.offering_id = OFFERING_INSTRUCTOR_0.offering_id
[ 5492, 1560, 502, 262, 1271, 286, 10902, 326, 362, 393, 517, 12829, 1866, 4545, 764, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 1781, 62, 2364, 1586, 13, 17319, 62, 312, 8, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 6011, 62, 259, 7249, 273, 7054, 18562, 1137, 2751, 62, 1268, 46126, 1581, 62, 15, 11, 6011, 62, 259, 7249, 273, 7054, 18562, 1137, 2751, 62, 1268, 46126, 1581, 62, 16, 11, 6011, 62, 259, 7249, 273, 7054, 18562, 1137, 2751, 62, 1268, 46126, 1581, 62, 17, 33411, 1781, 13, 17319, 62, 312, 796, 1781, 62, 2364, 1586, 13, 17319, 62, 312, 5357, 1781, 13, 10378, 1823, 796, 705, 36, 2943, 50, 6, 5357, 18562, 1137, 2751, 62, 1268, 46126, 1581, 62, 15, 13, 259, 7249, 273, 62, 312, 1279, 18562, 1137, 2751, 62, 1268, 46126, 1581, 62, 16, 13, 259, 7249, 273, 62, 312, 5357, 18562, 1137, 2751, 62, 1268, 46126, 1581, 62, 15, 13, 2364, 1586, 62, 312, 796, 1781, 62, 2364, 1586, 13, 2364, 1586, 62, 312, 5357, 18562, 1137, 2751, 62, 1268, 46126, 1581, 62, 16, 13, 259, 7249, 273, 62, 312, 1279, 18562, 1137, 2751, 62, 1268, 46126, 1581, 62, 17, 13, 259, 7249, 273, 62, 312, 5357, 18562, 1137, 2751, 62, 1268, 46126, 1581, 62, 16, 13, 2364, 1586, 62, 312, 796, 18562, 1137, 2751, 62, 1268, 46126, 1581, 62, 15, 13, 2364, 1586, 62, 312, 5357, 18562, 1137, 2751, 62, 1268, 46126, 1581, 62, 17, 13, 2364, 1586, 62, 312, 796, 18562, 1137, 2751, 62, 1268, 46126, 1581, 62, 15, 13, 2364, 1586, 62, 312 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5492, 1560, 502, 262, 1271, 286, 10902, 326, 362, 393, 517, 12829, 1866, 4545, 764, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 1781, 62, 2364, 1586, 13, 17319, 62, 312, 8, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 6011, 62, 259, 7249, 273, 7054, 18562, 1137, 2751, 62, 1268, 46126, 1581, 62, 15, 11, 6011, 62, 259, 7249, 273, 7054, 18562, 1137, 2751, 62, 1268, 46126, 1581, 62, 16, 11, 6011, 62, 259, 7249, 273, 7054, 18562, 1137, 2751, 62, 1268, 46126, 1581, 62, 17, 33411, 1781, 13, 17319, 62, 312, 796, 1781, 62, 2364, 1586, 13, 17319, 62, 312, 5357, 1781, 13, 10378, 1823, 796, 705, 36, 2943, 50, 6, 5357, 18562, 1137, 2751, 62, 1268, 46126, 1581, 62, 15, 13, 259, 7249, 273, 62, 312, 1279, 18562, 1137, 2751, 62, 1268, 46126, 1581, 62, 16, 13, 259, 7249, 273, 62, 312, 5357, 18562, 1137, 2751, 62, 1268, 46126, 1581, 62, 15, 13, 2364, 1586, 62, 312, 796, 1781, 62, 2364, 1586, 13, 2364, 1586, 62, 312, 5357, 18562, 1137, 2751, 62, 1268, 46126, 1581, 62, 16, 13, 259, 7249, 273, 62, 312, 1279, 18562, 1137, 2751, 62, 1268, 46126, 1581, 62, 17, 13, 259, 7249, 273, 62, 312, 5357, 18562, 1137, 2751, 62, 1268, 46126, 1581, 62, 16, 13, 2364, 1586, 62, 312, 796, 18562, 1137, 2751, 62, 1268, 46126, 1581, 62, 15, 13, 2364, 1586, 62, 312, 5357, 18562, 1137, 2751, 62, 1268, 46126, 1581, 62, 17, 13, 2364, 1586, 62, 312, 796, 18562, 1137, 2751, 62, 1268, 46126, 1581, 62, 15, 13, 2364, 1586, 62, 312 ]
Find All_Home and the average of Team_ID , and group by attribute All_Home, and visualize them by a bar chart, could you sort by the X in asc?
SELECT All_Home, AVG(Team_ID) FROM basketball_match GROUP BY All_Home ORDER BY All_Home
[ 16742, 1439, 62, 16060, 290, 262, 2811, 286, 4816, 62, 2389, 837, 290, 1448, 416, 11688, 1439, 62, 16060, 11, 290, 38350, 606, 416, 257, 2318, 8262, 11, 714, 345, 3297, 416, 262, 1395, 287, 10570, 30, 46506, 1439, 62, 16060, 11, 35224, 7, 15592, 62, 2389, 8, 16034, 9669, 62, 15699, 44441, 11050, 1439, 62, 16060, 38678, 11050, 1439, 62, 16060 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1439, 62, 16060, 290, 262, 2811, 286, 4816, 62, 2389, 837, 290, 1448, 416, 11688, 1439, 62, 16060, 11, 290, 38350, 606, 416, 257, 2318, 8262, 11, 714, 345, 3297, 416, 262, 1395, 287, 10570, 30, 46506, 1439, 62, 16060, 11, 35224, 7, 15592, 62, 2389, 8, 16034, 9669, 62, 15699, 44441, 11050, 1439, 62, 16060, 38678, 11050, 1439, 62, 16060 ]
List the number of the name of all playlist, display by the x-axis from high to low please.
SELECT name, COUNT(name) FROM playlists GROUP BY name ORDER BY name DESC
[ 8053, 262, 1271, 286, 262, 1438, 286, 477, 33178, 11, 3359, 416, 262, 2124, 12, 22704, 422, 1029, 284, 1877, 3387, 13, 46506, 1438, 11, 327, 28270, 7, 3672, 8, 16034, 711, 20713, 44441, 11050, 1438, 38678, 11050, 1438, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8053, 262, 1271, 286, 262, 1438, 286, 477, 33178, 11, 3359, 416, 262, 2124, 12, 22704, 422, 1029, 284, 1877, 3387, 13, 46506, 1438, 11, 327, 28270, 7, 3672, 8, 16034, 711, 20713, 44441, 11050, 1438, 38678, 11050, 1438, 22196, 34 ]
Who was the home team on March 5, 2008?
SELECT "Home" FROM table_10100 WHERE "Date" = 'march 5, 2008'
[ 8241, 373, 262, 1363, 1074, 319, 2805, 642, 11, 3648, 30, 46506, 366, 16060, 1, 16034, 3084, 62, 8784, 405, 33411, 366, 10430, 1, 796, 705, 76, 998, 642, 11, 3648, 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 ]
[ 8241, 373, 262, 1363, 1074, 319, 2805, 642, 11, 3648, 30, 46506, 366, 16060, 1, 16034, 3084, 62, 8784, 405, 33411, 366, 10430, 1, 796, 705, 76, 998, 642, 11, 3648, 6 ]
from where did ` stayin ' alive ' receive the most accolades ?
SELECT "publisher" FROM table_202_43 GROUP BY "publisher" ORDER BY COUNT("accolade") DESC LIMIT 1
[ 6738, 810, 750, 4600, 2652, 259, 705, 6776, 705, 3328, 262, 749, 45667, 2367, 5633, 46506, 366, 12984, 8191, 1, 16034, 3084, 62, 19004, 62, 3559, 44441, 11050, 366, 12984, 8191, 1, 38678, 11050, 327, 28270, 7203, 330, 4033, 671, 4943, 22196, 34, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 6738, 810, 750, 4600, 2652, 259, 705, 6776, 705, 3328, 262, 749, 45667, 2367, 5633, 46506, 366, 12984, 8191, 1, 16034, 3084, 62, 19004, 62, 3559, 44441, 11050, 366, 12984, 8191, 1, 38678, 11050, 327, 28270, 7203, 330, 4033, 671, 4943, 22196, 34, 27564, 2043, 352 ]
Visualize a bar chart about the distribution of Name and Weight , and rank by the y axis from low to high.
SELECT Name, Weight FROM people ORDER BY Weight
[ 36259, 1096, 257, 2318, 8262, 546, 262, 6082, 286, 6530, 290, 14331, 837, 290, 4279, 416, 262, 331, 16488, 422, 1877, 284, 1029, 13, 46506, 6530, 11, 14331, 16034, 661, 38678, 11050, 14331 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 36259, 1096, 257, 2318, 8262, 546, 262, 6082, 286, 6530, 290, 14331, 837, 290, 4279, 416, 262, 331, 16488, 422, 1877, 284, 1029, 13, 46506, 6530, 11, 14331, 16034, 661, 38678, 11050, 14331 ]
List of Not-Closed Community Wiki Posts. List of Not-Closed Community Wiki Posts Get all Question and Answer that are Community Wiki but not closed. 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 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 NOT (Posts.CommunityOwnedDate IS NULL) AND (ParentPosts.CommunityOwnedDate IS NULL) ORDER BY Posts.CreationDate
[ 8053, 286, 1892, 12, 2601, 1335, 8108, 13078, 12043, 13, 7343, 286, 1892, 12, 2601, 1335, 8108, 13078, 12043, 201, 198, 3855, 477, 18233, 290, 23998, 326, 389, 8108, 13078, 475, 407, 4838, 13, 201, 198, 3987, 470, 1351, 477, 7429, 286, 257, 8108, 13078, 18233, 780, 484, 389, 477, 8108, 13078, 6949, 13, 46506, 2947, 31431, 13, 5376, 11, 12043, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 12043, 13, 26595, 7054, 15178, 11, 12043, 13, 12443, 341, 10430, 16034, 12043, 3268, 21479, 32357, 1268, 2947, 31431, 6177, 12043, 13, 6307, 6030, 7390, 796, 2947, 31431, 13, 7390, 12509, 9792, 32357, 1268, 12043, 7054, 16774, 21496, 6177, 12043, 13, 24546, 7390, 796, 16774, 21496, 13, 7390, 33411, 12043, 13, 6307, 6030, 7390, 3268, 357, 16, 11, 362, 8, 5357, 5626, 357, 21496, 13, 20012, 23858, 276, 10430, 3180, 15697, 8, 5357, 357, 24546, 21496, 13, 20012, 23858, 276, 10430, 3180, 15697, 8, 38678, 11050, 12043, 13, 12443, 341, 10430 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1892, 12, 2601, 1335, 8108, 13078, 12043, 13, 7343, 286, 1892, 12, 2601, 1335, 8108, 13078, 12043, 201, 198, 3855, 477, 18233, 290, 23998, 326, 389, 8108, 13078, 475, 407, 4838, 13, 201, 198, 3987, 470, 1351, 477, 7429, 286, 257, 8108, 13078, 18233, 780, 484, 389, 477, 8108, 13078, 6949, 13, 46506, 2947, 31431, 13, 5376, 11, 12043, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 12043, 13, 26595, 7054, 15178, 11, 12043, 13, 12443, 341, 10430, 16034, 12043, 3268, 21479, 32357, 1268, 2947, 31431, 6177, 12043, 13, 6307, 6030, 7390, 796, 2947, 31431, 13, 7390, 12509, 9792, 32357, 1268, 12043, 7054, 16774, 21496, 6177, 12043, 13, 24546, 7390, 796, 16774, 21496, 13, 7390, 33411, 12043, 13, 6307, 6030, 7390, 3268, 357, 16, 11, 362, 8, 5357, 5626, 357, 21496, 13, 20012, 23858, 276, 10430, 3180, 15697, 8, 5357, 357, 24546, 21496, 13, 20012, 23858, 276, 10430, 3180, 15697, 8, 38678, 11050, 12043, 13, 12443, 341, 10430 ]
Name the series for april 30
SELECT "Series" FROM table_53700 WHERE "Date" = 'april 30'
[ 5376, 262, 2168, 329, 46593, 346, 1542, 46506, 366, 27996, 1, 16034, 3084, 62, 46096, 405, 33411, 366, 10430, 1, 796, 705, 499, 22379, 1542, 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 ]
[ 5376, 262, 2168, 329, 46593, 346, 1542, 46506, 366, 27996, 1, 16034, 3084, 62, 46096, 405, 33411, 366, 10430, 1, 796, 705, 499, 22379, 1542, 6 ]
For those records from the products and each product's manufacturer, show me about the distribution of name and the average of manufacturer , and group by attribute name in a bar chart.
SELECT T2.Name, T1.Manufacturer FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 905, 502, 546, 262, 6082, 286, 1438, 290, 262, 2811, 286, 11554, 837, 290, 1448, 416, 11688, 1438, 287, 257, 2318, 8262, 13, 46506, 309, 17, 13, 5376, 11, 309, 16, 13, 44445, 15051, 16034, 18675, 7054, 309, 16, 32357, 1268, 17858, 17496, 7054, 309, 17, 6177, 309, 16, 13, 44445, 15051, 796, 309, 17, 13, 10669, 44441, 11050, 309, 17, 13, 5376 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 905, 502, 546, 262, 6082, 286, 1438, 290, 262, 2811, 286, 11554, 837, 290, 1448, 416, 11688, 1438, 287, 257, 2318, 8262, 13, 46506, 309, 17, 13, 5376, 11, 309, 16, 13, 44445, 15051, 16034, 18675, 7054, 309, 16, 32357, 1268, 17858, 17496, 7054, 309, 17, 6177, 309, 16, 13, 44445, 15051, 796, 309, 17, 13, 10669, 44441, 11050, 309, 17, 13, 5376 ]
What is the average grid for damon hill with over 74 laps?
SELECT AVG(grid) FROM table_name_29 WHERE laps > 74 AND driver = "damon hill"
[ 2061, 318, 262, 2811, 10706, 329, 1801, 261, 12788, 351, 625, 8915, 24590, 30, 46506, 35224, 7, 25928, 8, 16034, 3084, 62, 3672, 62, 1959, 33411, 24590, 1875, 8915, 5357, 4639, 796, 366, 11043, 261, 12788, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10706, 329, 1801, 261, 12788, 351, 625, 8915, 24590, 30, 46506, 35224, 7, 25928, 8, 16034, 3084, 62, 3672, 62, 1959, 33411, 24590, 1875, 8915, 5357, 4639, 796, 366, 11043, 261, 12788, 1 ]
How many people led in assists on game 71?
SELECT COUNT("High assists") FROM table_25807 WHERE "Game" = '71'
[ 2437, 867, 661, 2957, 287, 13648, 319, 983, 9166, 30, 46506, 327, 28270, 7203, 11922, 13648, 4943, 16034, 3084, 62, 1495, 36928, 33411, 366, 8777, 1, 796, 705, 4869, 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 ]
[ 2437, 867, 661, 2957, 287, 13648, 319, 983, 9166, 30, 46506, 327, 28270, 7203, 11922, 13648, 4943, 16034, 3084, 62, 1495, 36928, 33411, 366, 8777, 1, 796, 705, 4869, 6 ]
Where is wang li duan cheng located?
SELECT location FROM table_name_3 WHERE authors = "wang li duan cheng"
[ 8496, 318, 266, 648, 7649, 7043, 272, 1125, 782, 5140, 30, 46506, 4067, 16034, 3084, 62, 3672, 62, 18, 33411, 7035, 796, 366, 47562, 7649, 7043, 272, 1125, 782, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 266, 648, 7649, 7043, 272, 1125, 782, 5140, 30, 46506, 4067, 16034, 3084, 62, 3672, 62, 18, 33411, 7035, 796, 366, 47562, 7649, 7043, 272, 1125, 782, 1 ]
give me the number of patients whose religion is catholic and lab test name is wbc, pleural?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.religion = "CATHOLIC" AND lab.label = "WBC, Pleural"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 5737, 318, 32171, 4160, 290, 2248, 1332, 1438, 318, 266, 15630, 11, 3339, 1523, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108, 76, 62, 312, 796, 2248, 13, 18108, 76, 62, 312, 33411, 16728, 13, 2411, 17035, 796, 366, 34, 12599, 3535, 2149, 1, 5357, 2248, 13, 18242, 796, 366, 54, 2749, 11, 18063, 1523, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5737, 318, 32171, 4160, 290, 2248, 1332, 1438, 318, 266, 15630, 11, 3339, 1523, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108, 76, 62, 312, 796, 2248, 13, 18108, 76, 62, 312, 33411, 16728, 13, 2411, 17035, 796, 366, 34, 12599, 3535, 2149, 1, 5357, 2248, 13, 18242, 796, 366, 54, 2749, 11, 18063, 1523, 1 ]
Who was the 4 lane person from Canada?
SELECT MIN("Heat") FROM table_80227 WHERE "Lane" = '4' AND "Nationality" = 'canada'
[ 8241, 373, 262, 604, 11193, 1048, 422, 3340, 30, 46506, 20625, 7203, 39596, 4943, 16034, 3084, 62, 1795, 24403, 33411, 366, 43, 1531, 1, 796, 705, 19, 6, 5357, 366, 16186, 414, 1, 796, 705, 5171, 4763, 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, 262, 604, 11193, 1048, 422, 3340, 30, 46506, 20625, 7203, 39596, 4943, 16034, 3084, 62, 1795, 24403, 33411, 366, 43, 1531, 1, 796, 705, 19, 6, 5357, 366, 16186, 414, 1, 796, 705, 5171, 4763, 6 ]
What is the mean number of wins for the norton team in 1966, when there are 8 points?
SELECT AVG("Wins") FROM table_35458 WHERE "Team" = 'norton' AND "Year" = '1966' AND "Points" = '8'
[ 2061, 318, 262, 1612, 1271, 286, 7864, 329, 262, 17605, 261, 1074, 287, 19322, 11, 618, 612, 389, 807, 2173, 30, 46506, 35224, 7203, 54, 1040, 4943, 16034, 3084, 62, 2327, 29334, 33411, 366, 15592, 1, 796, 705, 77, 419, 261, 6, 5357, 366, 17688, 1, 796, 705, 44227, 6, 5357, 366, 40710, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1612, 1271, 286, 7864, 329, 262, 17605, 261, 1074, 287, 19322, 11, 618, 612, 389, 807, 2173, 30, 46506, 35224, 7203, 54, 1040, 4943, 16034, 3084, 62, 2327, 29334, 33411, 366, 15592, 1, 796, 705, 77, 419, 261, 6, 5357, 366, 17688, 1, 796, 705, 44227, 6, 5357, 366, 40710, 1, 796, 705, 23, 6 ]
When Peter Sagan won the youth classification and Thomas Rabou won the most corageous, who won the sprint classification?
SELECT "Sprint Classification" FROM table_73725 WHERE "Youth Classification" = 'Peter Sagan' AND "Most Courageous" = 'Thomas Rabou'
[ 2215, 5613, 49381, 1839, 262, 6205, 17923, 290, 5658, 28559, 280, 1839, 262, 749, 1162, 496, 516, 11, 508, 1839, 262, 18553, 17923, 30, 46506, 366, 50, 4798, 40984, 1, 16034, 3084, 62, 22, 2718, 1495, 33411, 366, 56, 1536, 40984, 1, 796, 705, 19727, 49381, 6, 5357, 366, 6943, 37106, 516, 1, 796, 705, 22405, 28559, 280, 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 ]
[ 2215, 5613, 49381, 1839, 262, 6205, 17923, 290, 5658, 28559, 280, 1839, 262, 749, 1162, 496, 516, 11, 508, 1839, 262, 18553, 17923, 30, 46506, 366, 50, 4798, 40984, 1, 16034, 3084, 62, 22, 2718, 1495, 33411, 366, 56, 1536, 40984, 1, 796, 705, 19727, 49381, 6, 5357, 366, 6943, 37106, 516, 1, 796, 705, 22405, 28559, 280, 6 ]
When 1.79 is the height what is the geographical region?
SELECT "Geographical Regions" FROM table_22506 WHERE "Height" = '1.79'
[ 2215, 352, 13, 3720, 318, 262, 6001, 644, 318, 262, 27465, 3814, 30, 46506, 366, 10082, 17046, 47089, 1, 16034, 3084, 62, 1828, 35638, 33411, 366, 23106, 1, 796, 705, 16, 13, 3720, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 352, 13, 3720, 318, 262, 6001, 644, 318, 262, 27465, 3814, 30, 46506, 366, 10082, 17046, 47089, 1, 16034, 3084, 62, 1828, 35638, 33411, 366, 23106, 1, 796, 705, 16, 13, 3720, 6 ]
Return the apartment number and the number of rooms for each apartment.
SELECT apt_number, room_count FROM apartments
[ 13615, 262, 7962, 1271, 290, 262, 1271, 286, 9519, 329, 1123, 7962, 13, 46506, 15409, 62, 17618, 11, 2119, 62, 9127, 16034, 19592 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13615, 262, 7962, 1271, 290, 262, 1271, 286, 9519, 329, 1123, 7962, 13, 46506, 15409, 62, 17618, 11, 2119, 62, 9127, 16034, 19592 ]
Who wrote the episode with the production code of 3t7255?
SELECT "Written by" FROM table_29335 WHERE "Production code" = '3T7255'
[ 8241, 2630, 262, 4471, 351, 262, 3227, 2438, 286, 513, 83, 22, 13381, 30, 46506, 366, 25354, 416, 1, 16034, 3084, 62, 1959, 27326, 33411, 366, 35027, 2438, 1, 796, 705, 18, 51, 22, 13381, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 2630, 262, 4471, 351, 262, 3227, 2438, 286, 513, 83, 22, 13381, 30, 46506, 366, 25354, 416, 1, 16034, 3084, 62, 1959, 27326, 33411, 366, 35027, 2438, 1, 796, 705, 18, 51, 22, 13381, 6 ]
What is the batting style of the player born on 14 November 1971?
SELECT batting_style FROM table_name_77 WHERE date_of_birth = "14 november 1971"
[ 2061, 318, 262, 23761, 3918, 286, 262, 2137, 4642, 319, 1478, 3389, 16382, 30, 46506, 23761, 62, 7635, 16034, 3084, 62, 3672, 62, 3324, 33411, 3128, 62, 1659, 62, 24280, 796, 366, 1415, 645, 303, 1916, 16382, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 23761, 3918, 286, 262, 2137, 4642, 319, 1478, 3389, 16382, 30, 46506, 23761, 62, 7635, 16034, 3084, 62, 3672, 62, 3324, 33411, 3128, 62, 1659, 62, 24280, 796, 366, 1415, 645, 303, 1916, 16382, 1 ]
When was the game in which Deron Williams (13) did the high assists played?
SELECT date FROM table_23286223_5 WHERE high_assists = "Deron Williams (13)"
[ 2215, 373, 262, 983, 287, 543, 9626, 261, 6484, 357, 1485, 8, 750, 262, 1029, 13648, 2826, 30, 46506, 3128, 16034, 3084, 62, 1954, 27033, 22047, 62, 20, 33411, 1029, 62, 562, 1023, 796, 366, 28532, 261, 6484, 357, 1485, 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 ]
[ 2215, 373, 262, 983, 287, 543, 9626, 261, 6484, 357, 1485, 8, 750, 262, 1029, 13648, 2826, 30, 46506, 3128, 16034, 3084, 62, 1954, 27033, 22047, 62, 20, 33411, 1029, 62, 562, 1023, 796, 366, 28532, 261, 6484, 357, 1485, 16725 ]
What is the date of the game against Philadelphia Eagles?
SELECT "Date" FROM table_43637 WHERE "Opponent" = 'philadelphia eagles'
[ 2061, 318, 262, 3128, 286, 262, 983, 1028, 8857, 13785, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 43690, 2718, 33411, 366, 27524, 3471, 1, 796, 705, 28864, 8273, 304, 37803, 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 ]
[ 2061, 318, 262, 3128, 286, 262, 983, 1028, 8857, 13785, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 43690, 2718, 33411, 366, 27524, 3471, 1, 796, 705, 28864, 8273, 304, 37803, 6 ]
Who is in July where October is jill de vries?
SELECT july FROM table_name_7 WHERE october = "jill de vries"
[ 8241, 318, 287, 2901, 810, 3267, 318, 474, 359, 390, 410, 1678, 30, 46506, 474, 2062, 16034, 3084, 62, 3672, 62, 22, 33411, 19318, 2023, 796, 366, 73, 359, 390, 410, 1678, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 287, 2901, 810, 3267, 318, 474, 359, 390, 410, 1678, 30, 46506, 474, 2062, 16034, 3084, 62, 3672, 62, 22, 33411, 19318, 2023, 796, 366, 73, 359, 390, 410, 1678, 1 ]
known pre _ existing left ventricular dysfunction ( ef < 45 % prior to admission )
SELECT * FROM table_test_22 WHERE left_ventricular_dysfunction = 1 OR ejection_fraction_ef < 45
[ 4002, 662, 4808, 4683, 1364, 7435, 41001, 19327, 357, 304, 69, 1279, 4153, 4064, 3161, 284, 13938, 1267, 46506, 1635, 16034, 3084, 62, 9288, 62, 1828, 33411, 1364, 62, 1151, 41001, 62, 67, 893, 8818, 796, 352, 6375, 22189, 295, 62, 69, 7861, 62, 891, 1279, 4153 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4002, 662, 4808, 4683, 1364, 7435, 41001, 19327, 357, 304, 69, 1279, 4153, 4064, 3161, 284, 13938, 1267, 46506, 1635, 16034, 3084, 62, 9288, 62, 1828, 33411, 1364, 62, 1151, 41001, 62, 67, 893, 8818, 796, 352, 6375, 22189, 295, 62, 69, 7861, 62, 891, 1279, 4153 ]
when did the last time patient 016-18150 had the minimum respiration on the last icu visit?
SELECT vitalperiodic.observationtime FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '016-18150') AND NOT patient.unitdischargetime IS NULL ORDER BY patient.unitadmittime DESC LIMIT 1) AND NOT vitalperiodic.respiration IS NULL ORDER BY vitalperiodic.respiration, vitalperiodic.observationtime DESC LIMIT 1
[ 12518, 750, 262, 938, 640, 5827, 5534, 21, 12, 1507, 8628, 550, 262, 5288, 1217, 15297, 319, 262, 938, 14158, 84, 3187, 30, 46506, 9204, 41007, 291, 13, 672, 3168, 341, 2435, 16034, 9204, 41007, 291, 33411, 9204, 41007, 291, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 27037, 12, 1507, 8628, 11537, 5357, 5626, 5827, 13, 20850, 6381, 354, 7641, 524, 3180, 15697, 38678, 11050, 5827, 13, 20850, 324, 20124, 524, 22196, 34, 27564, 2043, 352, 8, 5357, 5626, 9204, 41007, 291, 13, 411, 10514, 3180, 15697, 38678, 11050, 9204, 41007, 291, 13, 411, 10514, 11, 9204, 41007, 291, 13, 672, 3168, 341, 2435, 22196, 34, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 640, 5827, 5534, 21, 12, 1507, 8628, 550, 262, 5288, 1217, 15297, 319, 262, 938, 14158, 84, 3187, 30, 46506, 9204, 41007, 291, 13, 672, 3168, 341, 2435, 16034, 9204, 41007, 291, 33411, 9204, 41007, 291, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 27037, 12, 1507, 8628, 11537, 5357, 5626, 5827, 13, 20850, 6381, 354, 7641, 524, 3180, 15697, 38678, 11050, 5827, 13, 20850, 324, 20124, 524, 22196, 34, 27564, 2043, 352, 8, 5357, 5626, 9204, 41007, 291, 13, 411, 10514, 3180, 15697, 38678, 11050, 9204, 41007, 291, 13, 411, 10514, 11, 9204, 41007, 291, 13, 672, 3168, 341, 2435, 22196, 34, 27564, 2043, 352 ]
Which long version was remixed in 1986?
SELECT "Remixed by" FROM table_34911 WHERE "Year" = '1986' AND "Version" = 'long version'
[ 13828, 890, 2196, 373, 816, 2966, 287, 12113, 30, 46506, 366, 8413, 2966, 416, 1, 16034, 3084, 62, 27371, 1157, 33411, 366, 17688, 1, 796, 705, 28054, 6, 5357, 366, 14815, 1, 796, 705, 6511, 2196, 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, 890, 2196, 373, 816, 2966, 287, 12113, 30, 46506, 366, 8413, 2966, 416, 1, 16034, 3084, 62, 27371, 1157, 33411, 366, 17688, 1, 796, 705, 28054, 6, 5357, 366, 14815, 1, 796, 705, 6511, 2196, 6 ]
Which NFL team has a pick# less than 200 for Travis Davis?
SELECT "NFL Team" FROM table_76744 WHERE "Pick #" < '200' AND "Player" = 'travis davis'
[ 13828, 5134, 1074, 468, 257, 2298, 2, 1342, 621, 939, 329, 19804, 7802, 30, 46506, 366, 32078, 4816, 1, 16034, 3084, 62, 32059, 2598, 33411, 366, 31686, 1303, 1, 1279, 705, 2167, 6, 5357, 366, 14140, 1, 796, 705, 83, 16956, 288, 23401, 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 ]
[ 13828, 5134, 1074, 468, 257, 2298, 2, 1342, 621, 939, 329, 19804, 7802, 30, 46506, 366, 32078, 4816, 1, 16034, 3084, 62, 32059, 2598, 33411, 366, 31686, 1303, 1, 1279, 705, 2167, 6, 5357, 366, 14140, 1, 796, 705, 83, 16956, 288, 23401, 6 ]
What background does the person from New york, New york, have?
SELECT "Background" FROM table_17851 WHERE "Hometown" = 'New York, New York'
[ 2061, 4469, 857, 262, 1048, 422, 968, 331, 967, 11, 968, 331, 967, 11, 423, 30, 46506, 366, 21756, 1, 16034, 3084, 62, 23188, 4349, 33411, 366, 39, 19191, 1, 796, 705, 3791, 1971, 11, 968, 1971, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 4469, 857, 262, 1048, 422, 968, 331, 967, 11, 968, 331, 967, 11, 423, 30, 46506, 366, 21756, 1, 16034, 3084, 62, 23188, 4349, 33411, 366, 39, 19191, 1, 796, 705, 3791, 1971, 11, 968, 1971, 6 ]
What is the result when the candidates are alexander smyth (dr) 100%
SELECT "Result" FROM table_28898 WHERE "Candidates" = 'Alexander Smyth (DR) 100%'
[ 2061, 318, 262, 1255, 618, 262, 5871, 389, 257, 2588, 4066, 895, 5272, 357, 7109, 8, 1802, 4, 46506, 366, 23004, 1, 16034, 3084, 62, 25270, 4089, 33411, 366, 41572, 37051, 1, 796, 705, 38708, 45083, 400, 357, 7707, 8, 1802, 4, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1255, 618, 262, 5871, 389, 257, 2588, 4066, 895, 5272, 357, 7109, 8, 1802, 4, 46506, 366, 23004, 1, 16034, 3084, 62, 25270, 4089, 33411, 366, 41572, 37051, 1, 796, 705, 38708, 45083, 400, 357, 7707, 8, 1802, 4, 6 ]
What grades did I get in class from Prof. Bookstein ?
SELECT DISTINCT student_record.grade FROM student_record INNER JOIN offering_instructor ON student_record.offering_id = offering_instructor.offering_id INNER JOIN instructor ON offering_instructor.instructor_id = instructor.instructor_id WHERE LOWER(instructor.name) LIKE '%Bookstein%' AND student_record.student_id = 1
[ 2061, 19051, 750, 314, 651, 287, 1398, 422, 4415, 13, 4897, 5714, 5633, 46506, 360, 8808, 1268, 4177, 3710, 62, 22105, 13, 9526, 16034, 3710, 62, 22105, 3268, 21479, 32357, 1268, 6011, 62, 259, 7249, 273, 6177, 3710, 62, 22105, 13, 2364, 1586, 62, 312, 796, 6011, 62, 259, 7249, 273, 13, 2364, 1586, 62, 312, 3268, 21479, 32357, 1268, 21187, 6177, 6011, 62, 259, 7249, 273, 13, 259, 7249, 273, 62, 312, 796, 21187, 13, 259, 7249, 273, 62, 312, 33411, 406, 36048, 7, 259, 7249, 273, 13, 3672, 8, 34178, 705, 4, 10482, 5714, 4, 6, 5357, 3710, 62, 22105, 13, 50139, 62, 312, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 19051, 750, 314, 651, 287, 1398, 422, 4415, 13, 4897, 5714, 5633, 46506, 360, 8808, 1268, 4177, 3710, 62, 22105, 13, 9526, 16034, 3710, 62, 22105, 3268, 21479, 32357, 1268, 6011, 62, 259, 7249, 273, 6177, 3710, 62, 22105, 13, 2364, 1586, 62, 312, 796, 6011, 62, 259, 7249, 273, 13, 2364, 1586, 62, 312, 3268, 21479, 32357, 1268, 21187, 6177, 6011, 62, 259, 7249, 273, 13, 259, 7249, 273, 62, 312, 796, 21187, 13, 259, 7249, 273, 62, 312, 33411, 406, 36048, 7, 259, 7249, 273, 13, 3672, 8, 34178, 705, 4, 10482, 5714, 4, 6, 5357, 3710, 62, 22105, 13, 50139, 62, 312, 796, 352 ]
How many married patients have had a direct bilirubin lab test?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.marital_status = "MARRIED" AND lab.label = "Bilirubin, Direct"
[ 2437, 867, 6405, 3871, 423, 550, 257, 1277, 47027, 343, 549, 259, 2248, 1332, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108, 76, 62, 312, 796, 2248, 13, 18108, 76, 62, 312, 33411, 16728, 13, 3876, 1287, 62, 13376, 796, 366, 40569, 7112, 1961, 1, 5357, 2248, 13, 18242, 796, 366, 33, 346, 343, 549, 259, 11, 4128, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 6405, 3871, 423, 550, 257, 1277, 47027, 343, 549, 259, 2248, 1332, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108, 76, 62, 312, 796, 2248, 13, 18108, 76, 62, 312, 33411, 16728, 13, 3876, 1287, 62, 13376, 796, 366, 40569, 7112, 1961, 1, 5357, 2248, 13, 18242, 796, 366, 33, 346, 343, 549, 259, 11, 4128, 1 ]
did patient 1457 get a lab magnesium test since 2 years ago?
SELECT COUNT(*) > 0 FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'magnesium') AND labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 1457) AND DATETIME(labevents.charttime) >= DATETIME(CURRENT_TIME(), '-2 year')
[ 20839, 5827, 1478, 3553, 651, 257, 2248, 33525, 1332, 1201, 362, 812, 2084, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 2248, 31534, 33411, 2248, 31534, 13, 9186, 312, 3268, 357, 46506, 288, 62, 23912, 23814, 13, 9186, 312, 16034, 288, 62, 23912, 23814, 33411, 288, 62, 23912, 23814, 13, 18242, 796, 705, 19726, 27619, 11537, 5357, 2248, 31534, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 1478, 3553, 8, 5357, 360, 1404, 2767, 12789, 7, 23912, 31534, 13, 40926, 2435, 8, 18189, 360, 1404, 2767, 12789, 7, 34, 39237, 62, 34694, 22784, 705, 12, 17, 614, 11537 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 20839, 5827, 1478, 3553, 651, 257, 2248, 33525, 1332, 1201, 362, 812, 2084, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 2248, 31534, 33411, 2248, 31534, 13, 9186, 312, 3268, 357, 46506, 288, 62, 23912, 23814, 13, 9186, 312, 16034, 288, 62, 23912, 23814, 33411, 288, 62, 23912, 23814, 13, 18242, 796, 705, 19726, 27619, 11537, 5357, 2248, 31534, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 1478, 3553, 8, 5357, 360, 1404, 2767, 12789, 7, 23912, 31534, 13, 40926, 2435, 8, 18189, 360, 1404, 2767, 12789, 7, 34, 39237, 62, 34694, 22784, 705, 12, 17, 614, 11537 ]
Which Result has a Round of 6?
SELECT "Result" FROM table_42536 WHERE "Round" = '6'
[ 13828, 25414, 468, 257, 10485, 286, 718, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 32114, 2623, 33411, 366, 22685, 1, 796, 705, 21, 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 ]
[ 13828, 25414, 468, 257, 10485, 286, 718, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 32114, 2623, 33411, 366, 22685, 1, 796, 705, 21, 6 ]
What is the state that has the 2012 rank of 43?
SELECT "State" FROM table_12735 WHERE "Rank (2012)" = '43'
[ 2061, 318, 262, 1181, 326, 468, 262, 2321, 4279, 286, 5946, 30, 46506, 366, 9012, 1, 16034, 3084, 62, 16799, 2327, 33411, 366, 27520, 357, 6999, 16725, 796, 705, 3559, 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, 1181, 326, 468, 262, 2321, 4279, 286, 5946, 30, 46506, 366, 9012, 1, 16034, 3084, 62, 16799, 2327, 33411, 366, 27520, 357, 6999, 16725, 796, 705, 3559, 6 ]