instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
Is there an easy class that will fulfill the MDE requirement ?
SELECT DISTINCT course.department, course.name, course.number, program_course.workload, program_course.workload FROM course, program_course WHERE program_course.category LIKE '%MDE%' AND program_course.course_id = course.course_id AND program_course.workload = (SELECT MIN(PROGRAM_COURSEalias1.workload) FROM program_cou...
[ 3792, 612, 281, 2562, 1398, 326, 481, 14658, 262, 337, 7206, 9079, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 11, 1430, 62, 17319, 13, 1818, 2220, 11, 1430, 62, 17319, 13, 181...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3792, 612, 281, 2562, 1398, 326, 481, 14658, 262, 337, 7206, 9079, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 11, 1430, 62, 17319, 13, 1818, 2220, 11, 1430, 62, 17319, 13, 181...
how much weight was patient 739's last weight in this month?
SELECT chartevents.valuenum 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 = 739)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'admit wt' A...
[ 4919, 881, 3463, 373, 5827, 767, 2670, 338, 938, 3463, 287, 428, 1227, 30, 46506, 8262, 31534, 13, 2100, 84, 44709, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, 323, 62, 312, 3268, 357, 46506, 14158, 436, 592, 13, 291, 436, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 881, 3463, 373, 5827, 767, 2670, 338, 938, 3463, 287, 428, 1227, 30, 46506, 8262, 31534, 13, 2100, 84, 44709, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, 323, 62, 312, 3268, 357, 46506, 14158, 436, 592, 13, 291, 436, ...
give me the number of patients whose admission type is urgent and year of birth is less than 2078?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_type = "URGENT" AND demographic.dob_year < "2078"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 13938, 2099, 318, 18039, 290, 614, 286, 4082, 318, 1342, 621, 1160, 3695, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 324, 3411,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13938, 2099, 318, 18039, 290, 614, 286, 4082, 318, 1342, 621, 1160, 3695, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 324, 3411,...
What is the second qualifying time for the dale coyne racing team with a first qualifying time of 1:00.081?
SELECT qual_2 FROM table_name_31 WHERE team = "dale coyne racing" AND qual_1 = "1:00.081"
[ 2061, 318, 262, 1218, 18677, 640, 329, 262, 288, 1000, 34003, 710, 11717, 1074, 351, 257, 717, 18677, 640, 286, 352, 25, 405, 13, 2919, 16, 30, 46506, 4140, 62, 17, 16034, 3084, 62, 3672, 62, 3132, 33411, 1074, 796, 366, 14597, 3400...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1218, 18677, 640, 329, 262, 288, 1000, 34003, 710, 11717, 1074, 351, 257, 717, 18677, 640, 286, 352, 25, 405, 13, 2919, 16, 30, 46506, 4140, 62, 17, 16034, 3084, 62, 3672, 62, 3132, 33411, 1074, 796, 366, 14597, 3400...
What is the Eagle Riders character voiced by Japanese voice actor Katsuji Mori?
SELECT "Eagle Riders" FROM table_45985 WHERE "Japanese voice actor" = 'katsuji mori'
[ 2061, 318, 262, 18456, 34854, 2095, 21346, 416, 4960, 3809, 8674, 509, 19231, 7285, 32709, 30, 46506, 366, 36, 19345, 34854, 1, 16034, 3084, 62, 2231, 42250, 33411, 366, 25324, 3809, 8674, 1, 796, 705, 74, 19231, 7285, 2146, 72, 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 ]
[ 2061, 318, 262, 18456, 34854, 2095, 21346, 416, 4960, 3809, 8674, 509, 19231, 7285, 32709, 30, 46506, 366, 36, 19345, 34854, 1, 16034, 3084, 62, 2231, 42250, 33411, 366, 25324, 3809, 8674, 1, 796, 705, 74, 19231, 7285, 2146, 72, 6 ]
Which country has less than 4 votes?
SELECT "State" FROM table_11187 WHERE "Council votes" < '4'
[ 13828, 1499, 468, 1342, 621, 604, 5690, 30, 46506, 366, 9012, 1, 16034, 3084, 62, 1157, 23451, 33411, 366, 40940, 5690, 1, 1279, 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 ]
[ 13828, 1499, 468, 1342, 621, 604, 5690, 30, 46506, 366, 9012, 1, 16034, 3084, 62, 1157, 23451, 33411, 366, 40940, 5690, 1, 1279, 705, 19, 6 ]
How many papers has Chris Mattmann published ?
SELECT DISTINCT COUNT(DISTINCT writes.paperid) FROM author, writes WHERE author.authorname = 'Chris Mattmann' AND writes.authorid = author.authorid
[ 2437, 867, 9473, 468, 5180, 4705, 9038, 3199, 5633, 46506, 360, 8808, 1268, 4177, 327, 28270, 7, 35, 8808, 1268, 4177, 6797, 13, 20189, 312, 8, 16034, 1772, 11, 6797, 33411, 1772, 13, 18439, 1211, 480, 796, 705, 15645, 4705, 9038, 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 ]
[ 2437, 867, 9473, 468, 5180, 4705, 9038, 3199, 5633, 46506, 360, 8808, 1268, 4177, 327, 28270, 7, 35, 8808, 1268, 4177, 6797, 13, 20189, 312, 8, 16034, 1772, 11, 6797, 33411, 1772, 13, 18439, 1211, 480, 796, 705, 15645, 4705, 9038, 6, ...
When the number is 2 what is the lowest amount of al-wedhat wins?
SELECT MIN("Al-Wehdat Wins") FROM table_31370 WHERE "#" = '2'
[ 2215, 262, 1271, 318, 362, 644, 318, 262, 9016, 2033, 286, 435, 12, 19103, 5183, 7864, 30, 46506, 20625, 7203, 2348, 12, 1135, 71, 19608, 24423, 4943, 16034, 3084, 62, 25838, 2154, 33411, 25113, 1, 796, 705, 17, 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 ]
[ 2215, 262, 1271, 318, 362, 644, 318, 262, 9016, 2033, 286, 435, 12, 19103, 5183, 7864, 30, 46506, 20625, 7203, 2348, 12, 1135, 71, 19608, 24423, 4943, 16034, 3084, 62, 25838, 2154, 33411, 25113, 1, 796, 705, 17, 6 ]
What is the adjusted GDP when the nominal GDP per capita is 2874?
SELECT "GDP Adjusted ($ billions)" FROM table_20564 WHERE "GDP per capita Nominal ($)" = '2874'
[ 2061, 318, 262, 12328, 12396, 618, 262, 26934, 12396, 583, 21344, 318, 2579, 4524, 30, 46506, 366, 38, 6322, 45624, 7198, 13188, 16725, 16034, 3084, 62, 21261, 2414, 33411, 366, 38, 6322, 583, 21344, 21198, 1292, 7198, 16725, 796, 705, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 12328, 12396, 618, 262, 26934, 12396, 583, 21344, 318, 2579, 4524, 30, 46506, 366, 38, 6322, 45624, 7198, 13188, 16725, 16034, 3084, 62, 21261, 2414, 33411, 366, 38, 6322, 583, 21344, 21198, 1292, 7198, 16725, 796, 705, ...
what is the accompaniment when the title is stormy seas blues?
SELECT accompaniment FROM table_name_26 WHERE title = "stormy seas blues"
[ 10919, 318, 262, 10600, 3681, 618, 262, 3670, 318, 6388, 88, 21547, 25570, 30, 46506, 10600, 3681, 16034, 3084, 62, 3672, 62, 2075, 33411, 3670, 796, 366, 12135, 88, 21547, 25570, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 10600, 3681, 618, 262, 3670, 318, 6388, 88, 21547, 25570, 30, 46506, 10600, 3681, 16034, 3084, 62, 3672, 62, 2075, 33411, 3670, 796, 366, 12135, 88, 21547, 25570, 1 ]
Ratio between downvoted and commented posts.
SELECT u.Id AS "user_link", u.DownVotes, COUNT(DISTINCT c.PostId) AS CommentedPosts, CAST(u.DownVotes AS FLOAT) / CAST(COUNT(DISTINCT c.PostId) AS FLOAT) AS Ratio FROM Users AS u INNER JOIN Comments AS c ON c.UserId = u.Id WHERE u.DownVotes > '##min?100##' GROUP BY u.Id, u.DownVotes ORDER BY CAST(u.DownVotes AS FLOAT) ...
[ 29665, 952, 1022, 866, 85, 5191, 290, 16476, 6851, 13, 46506, 334, 13, 7390, 7054, 366, 7220, 62, 8726, 1600, 334, 13, 8048, 53, 6421, 11, 327, 28270, 7, 35, 8808, 1268, 4177, 269, 13, 6307, 7390, 8, 7054, 955, 12061, 21496, 11, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 29665, 952, 1022, 866, 85, 5191, 290, 16476, 6851, 13, 46506, 334, 13, 7390, 7054, 366, 7220, 62, 8726, 1600, 334, 13, 8048, 53, 6421, 11, 327, 28270, 7, 35, 8808, 1268, 4177, 269, 13, 6307, 7390, 8, 7054, 955, 12061, 21496, 11, 3...
find the number of female patients whose procedure icd9 code is 8960.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.gender = "F" AND procedures.icd9_code = "8960"
[ 19796, 262, 1271, 286, 4048, 3871, 3025, 8771, 14158, 67, 24, 2438, 318, 9919, 1899, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, 13, 18108, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 19796, 262, 1271, 286, 4048, 3871, 3025, 8771, 14158, 67, 24, 2438, 318, 9919, 1899, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, 13, 18108, 7...
For each director, return the director's name together with the title of the movie they directed that received the highest rating among all of their movies, and the value of that rating. Ignore movies whose director is NULL.
SELECT T2.title, T1.stars, T2.director, MAX(T1.stars) FROM rating AS T1 JOIN movie AS T2 ON T1.mid = T2.mid WHERE director <> "null" GROUP BY director
[ 1890, 1123, 3437, 11, 1441, 262, 3437, 338, 1438, 1978, 351, 262, 3670, 286, 262, 3807, 484, 7924, 326, 2722, 262, 4511, 7955, 1871, 477, 286, 511, 6918, 11, 290, 262, 1988, 286, 326, 7955, 13, 41032, 6918, 3025, 3437, 318, 15697, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 1123, 3437, 11, 1441, 262, 3437, 338, 1438, 1978, 351, 262, 3670, 286, 262, 3807, 484, 7924, 326, 2722, 262, 4511, 7955, 1871, 477, 286, 511, 6918, 11, 290, 262, 1988, 286, 326, 7955, 13, 41032, 6918, 3025, 3437, 318, 15697, 1...
Calculate the maximum age of patients admitted to emergency in or after the year 2174.
SELECT MAX(demographic.age) FROM demographic WHERE demographic.admission_type = "EMERGENCY" AND demographic.admityear >= "2174"
[ 9771, 3129, 378, 262, 5415, 2479, 286, 3871, 6848, 284, 6334, 287, 393, 706, 262, 614, 362, 22985, 13, 46506, 25882, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, 4906, 796, 366, 3620, 49837, 45155, 1, 53...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 9771, 3129, 378, 262, 5415, 2479, 286, 3871, 6848, 284, 6334, 287, 393, 706, 262, 614, 362, 22985, 13, 46506, 25882, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, 4906, 796, 366, 3620, 49837, 45155, 1, 53...
Who is the player when the economy is 6.14?
SELECT player FROM table_28846752_9 WHERE economy = "6.14"
[ 8241, 318, 262, 2137, 618, 262, 3773, 318, 718, 13, 1415, 30, 46506, 2137, 16034, 3084, 62, 25270, 3510, 43665, 62, 24, 33411, 3773, 796, 366, 21, 13, 1415, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 2137, 618, 262, 3773, 318, 718, 13, 1415, 30, 46506, 2137, 16034, 3084, 62, 25270, 3510, 43665, 62, 24, 33411, 3773, 796, 366, 21, 13, 1415, 1 ]
what is the total minimum cost of a hospital that includes a anion gap lab test since 5 years ago?
SELECT MIN(t1.c1) FROM (SELECT SUM(cost.cost) AS c1 FROM cost WHERE cost.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.patientunitstayid IN (SELECT lab.patientunitstayid FROM lab WHERE lab.labname = 'anion gap')) AND DATETIME(cost.chargetime) >= DATETIME(CURRENT_TIME(...
[ 10919, 318, 262, 2472, 5288, 1575, 286, 257, 4436, 326, 3407, 257, 281, 295, 7625, 2248, 1332, 1201, 642, 812, 2084, 30, 46506, 20625, 7, 83, 16, 13, 66, 16, 8, 16034, 357, 46506, 35683, 7, 15805, 13, 15805, 8, 7054, 269, 16, 1603...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 2472, 5288, 1575, 286, 257, 4436, 326, 3407, 257, 281, 295, 7625, 2248, 1332, 1201, 642, 812, 2084, 30, 46506, 20625, 7, 83, 16, 13, 66, 16, 8, 16034, 357, 46506, 35683, 7, 15805, 13, 15805, 8, 7054, 269, 16, 1603...
Give me the comparison about the amount of All_Home over the All_Home , and group by attribute All_Home by a bar chart, rank by the X from low to high.
SELECT All_Home, COUNT(All_Home) FROM basketball_match GROUP BY All_Home ORDER BY All_Home
[ 23318, 502, 262, 7208, 546, 262, 2033, 286, 1439, 62, 16060, 625, 262, 1439, 62, 16060, 837, 290, 1448, 416, 11688, 1439, 62, 16060, 416, 257, 2318, 8262, 11, 4279, 416, 262, 1395, 422, 1877, 284, 1029, 13, 46506, 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, 1, 1, 1...
[ 23318, 502, 262, 7208, 546, 262, 2033, 286, 1439, 62, 16060, 625, 262, 1439, 62, 16060, 837, 290, 1448, 416, 11688, 1439, 62, 16060, 416, 257, 2318, 8262, 11, 4279, 416, 262, 1395, 422, 1877, 284, 1029, 13, 46506, 1439, 62, 16060, 1...
Who was the subject of the sculpture created in 1982?
SELECT "Title/Subject" FROM table_2374 WHERE "Date Painted/Created" = '1982'
[ 8241, 373, 262, 2426, 286, 262, 26924, 2727, 287, 14489, 30, 46506, 366, 19160, 14, 19776, 1, 16034, 3084, 62, 1954, 4524, 33411, 366, 10430, 350, 14215, 14, 41972, 1, 796, 705, 30763, 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 ]
[ 8241, 373, 262, 2426, 286, 262, 26924, 2727, 287, 14489, 30, 46506, 366, 19160, 14, 19776, 1, 16034, 3084, 62, 1954, 4524, 33411, 366, 10430, 350, 14215, 14, 41972, 1, 796, 705, 30763, 6 ]
Show me school_id by all road in a histogram, sort in desc by the x axis.
SELECT All_Road, School_ID FROM basketball_match ORDER BY All_Road DESC
[ 15307, 502, 1524, 62, 312, 416, 477, 2975, 287, 257, 1554, 21857, 11, 3297, 287, 1715, 416, 262, 2124, 16488, 13, 46506, 1439, 62, 29197, 11, 3961, 62, 2389, 16034, 9669, 62, 15699, 38678, 11050, 1439, 62, 29197, 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 ]
[ 15307, 502, 1524, 62, 312, 416, 477, 2975, 287, 257, 1554, 21857, 11, 3297, 287, 1715, 416, 262, 2124, 16488, 13, 46506, 1439, 62, 29197, 11, 3961, 62, 2389, 16034, 9669, 62, 15699, 38678, 11050, 1439, 62, 29197, 22196, 34 ]
Who was the high scorer in the game when the team was 1-4?
SELECT high_points FROM table_13619105_3 WHERE record = "1-4"
[ 8241, 373, 262, 1029, 30664, 287, 262, 983, 618, 262, 1074, 373, 352, 12, 19, 30, 46506, 1029, 62, 13033, 16034, 3084, 62, 20809, 1129, 13348, 62, 18, 33411, 1700, 796, 366, 16, 12, 19, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1029, 30664, 287, 262, 983, 618, 262, 1074, 373, 352, 12, 19, 30, 46506, 1029, 62, 13033, 16034, 3084, 62, 20809, 1129, 13348, 62, 18, 33411, 1700, 796, 366, 16, 12, 19, 1 ]
Name the high assists for madison square garden 19,763 and record is 39 38
SELECT high_assists FROM table_27713583_11 WHERE location_attendance = "Madison Square Garden 19,763" AND record = "39–38"
[ 5376, 262, 1029, 13648, 329, 8805, 1653, 6616, 11376, 678, 11, 49641, 290, 1700, 318, 5014, 4353, 46506, 1029, 62, 562, 1023, 16034, 3084, 62, 27019, 1485, 46239, 62, 1157, 33411, 4067, 62, 1078, 437, 590, 796, 366, 46845, 9276, 11652, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1029, 13648, 329, 8805, 1653, 6616, 11376, 678, 11, 49641, 290, 1700, 318, 5014, 4353, 46506, 1029, 62, 562, 1023, 16034, 3084, 62, 27019, 1485, 46239, 62, 1157, 33411, 4067, 62, 1078, 437, 590, 796, 366, 46845, 9276, 11652, ...
What is IATA, when ICAO is 'Hesh'?
SELECT "IATA" FROM table_8824 WHERE "ICAO" = 'hesh'
[ 2061, 318, 314, 13563, 11, 618, 314, 8141, 46, 318, 705, 39, 5069, 30960, 46506, 366, 40, 13563, 1, 16034, 3084, 62, 3459, 1731, 33411, 366, 25241, 46, 1, 796, 705, 956, 71, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 314, 13563, 11, 618, 314, 8141, 46, 318, 705, 39, 5069, 30960, 46506, 366, 40, 13563, 1, 16034, 3084, 62, 3459, 1731, 33411, 366, 25241, 46, 1, 796, 705, 956, 71, 6 ]
How many points did the away team score in the game that the home team scored 14.25 (109)?
SELECT "Away team score" FROM table_54834 WHERE "Home team score" = '14.25 (109)'
[ 2437, 867, 2173, 750, 262, 1497, 1074, 4776, 287, 262, 983, 326, 262, 1363, 1074, 7781, 1478, 13, 1495, 357, 14454, 19427, 46506, 366, 32, 1014, 1074, 4776, 1, 16034, 3084, 62, 49934, 2682, 33411, 366, 16060, 1074, 4776, 1, 796, 705, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 2173, 750, 262, 1497, 1074, 4776, 287, 262, 983, 326, 262, 1363, 1074, 7781, 1478, 13, 1495, 357, 14454, 19427, 46506, 366, 32, 1014, 1074, 4776, 1, 16034, 3084, 62, 49934, 2682, 33411, 366, 16060, 1074, 4776, 1, 796, 705, ...
what are the three most commonly prescribed drugs that patients were prescribed within 2 months after receiving a cultures - blood procedure in the last year?
SELECT t3.drugname FROM (SELECT t2.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, treatment.treatmenttime FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'cultures - blood' AND DATETIME(treatment.treatment...
[ 10919, 389, 262, 1115, 749, 8811, 14798, 5010, 326, 3871, 547, 14798, 1626, 362, 1933, 706, 6464, 257, 13817, 532, 2910, 8771, 287, 262, 938, 614, 30, 46506, 256, 18, 13, 30349, 3672, 16034, 357, 46506, 256, 17, 13, 30349, 3672, 11, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 389, 262, 1115, 749, 8811, 14798, 5010, 326, 3871, 547, 14798, 1626, 362, 1933, 706, 6464, 257, 13817, 532, 2910, 8771, 287, 262, 938, 614, 30, 46506, 256, 18, 13, 30349, 3672, 16034, 357, 46506, 256, 17, 13, 30349, 3672, 11, ...
What was the lowest draw from Ballarat FL of sunbury, and byes larger than 2?
SELECT MIN(draws) FROM table_name_94 WHERE ballarat_fl = "sunbury" AND byes > 2
[ 2061, 373, 262, 9016, 3197, 422, 6932, 34174, 9977, 286, 4252, 10711, 11, 290, 416, 274, 4025, 621, 362, 30, 46506, 20625, 7, 19334, 82, 8, 16034, 3084, 62, 3672, 62, 5824, 33411, 2613, 34174, 62, 2704, 796, 366, 19155, 10711, 1, 53...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9016, 3197, 422, 6932, 34174, 9977, 286, 4252, 10711, 11, 290, 416, 274, 4025, 621, 362, 30, 46506, 20625, 7, 19334, 82, 8, 16034, 3084, 62, 3672, 62, 5824, 33411, 2613, 34174, 62, 2704, 796, 366, 19155, 10711, 1, 53...
What country has the city, Sydney?
SELECT "Country" FROM table_33923 WHERE "City" = 'sydney'
[ 2061, 1499, 468, 262, 1748, 11, 11852, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 29626, 1954, 33411, 366, 14941, 1, 796, 705, 1837, 67, 1681, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1499, 468, 262, 1748, 11, 11852, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 29626, 1954, 33411, 366, 14941, 1, 796, 705, 1837, 67, 1681, 6 ]
Please use a pie chart to show the proportion of the average price of the rooms in a different decor.
SELECT decor, AVG(basePrice) FROM Rooms GROUP BY decor
[ 5492, 779, 257, 2508, 8262, 284, 905, 262, 9823, 286, 262, 2811, 2756, 286, 262, 9519, 287, 257, 1180, 11705, 13, 46506, 11705, 11, 35224, 7, 8692, 18124, 8, 16034, 42043, 44441, 11050, 11705 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5492, 779, 257, 2508, 8262, 284, 905, 262, 9823, 286, 262, 2811, 2756, 286, 262, 9519, 287, 257, 1180, 11705, 13, 46506, 11705, 11, 35224, 7, 8692, 18124, 8, 16034, 42043, 44441, 11050, 11705 ]
What is the record for the game when the loss was hargan (14 13)?
SELECT record FROM table_name_84 WHERE loss = "hargan (14–13)"
[ 2061, 318, 262, 1700, 329, 262, 983, 618, 262, 2994, 373, 289, 853, 272, 357, 1415, 1511, 19427, 46506, 1700, 16034, 3084, 62, 3672, 62, 5705, 33411, 2994, 796, 366, 71, 853, 272, 357, 1415, 1906, 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 ]
[ 2061, 318, 262, 1700, 329, 262, 983, 618, 262, 2994, 373, 289, 853, 272, 357, 1415, 1511, 19427, 46506, 1700, 16034, 3084, 62, 3672, 62, 5705, 33411, 2994, 796, 366, 71, 853, 272, 357, 1415, 1906, 1485, 16725 ]
Edits on other peoples' posts over time.
SELECT * FROM PostHistory LEFT JOIN Posts ON Posts.Id = PostHistory.PostId WHERE PostHistory.UserId != Posts.OwnerUserId
[ 7407, 896, 319, 584, 14366, 6, 6851, 625, 640, 13, 46506, 1635, 16034, 2947, 18122, 12509, 9792, 32357, 1268, 12043, 6177, 12043, 13, 7390, 796, 2947, 18122, 13, 6307, 7390, 33411, 2947, 18122, 13, 12982, 7390, 14512, 12043, 13, 42419, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 7407, 896, 319, 584, 14366, 6, 6851, 625, 640, 13, 46506, 1635, 16034, 2947, 18122, 12509, 9792, 32357, 1268, 12043, 6177, 12043, 13, 7390, 796, 2947, 18122, 13, 6307, 7390, 33411, 2947, 18122, 13, 12982, 7390, 14512, 12043, 13, 42419, ...
Name the total number of Laps for year of 1961
SELECT COUNT("Laps") FROM table_67824 WHERE "Year" = '1961'
[ 5376, 262, 2472, 1271, 286, 406, 1686, 329, 614, 286, 20510, 46506, 327, 28270, 7203, 43, 1686, 4943, 16034, 3084, 62, 30924, 1731, 33411, 366, 17688, 1, 796, 705, 1129, 5333, 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 ]
[ 5376, 262, 2472, 1271, 286, 406, 1686, 329, 614, 286, 20510, 46506, 327, 28270, 7203, 43, 1686, 4943, 16034, 3084, 62, 30924, 1731, 33411, 366, 17688, 1, 796, 705, 1129, 5333, 6 ]
What's the Lost average that has a Drawn less than 0?
SELECT AVG(lost) FROM table_name_19 WHERE drawn < 0
[ 2061, 338, 262, 9164, 2811, 326, 468, 257, 50061, 1342, 621, 657, 30, 46506, 35224, 7, 33224, 8, 16034, 3084, 62, 3672, 62, 1129, 33411, 7428, 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 ]
[ 2061, 338, 262, 9164, 2811, 326, 468, 257, 50061, 1342, 621, 657, 30, 46506, 35224, 7, 33224, 8, 16034, 3084, 62, 3672, 62, 1129, 33411, 7428, 1279, 657 ]
What is the highest listed year for the partner of Marcel Granollers and a hard surface?
SELECT MAX(year) FROM table_name_28 WHERE partner = "marcel granollers" AND surface = "hard"
[ 2061, 318, 262, 4511, 5610, 614, 329, 262, 5212, 286, 36547, 17113, 692, 364, 290, 257, 1327, 4417, 30, 46506, 25882, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 2078, 33411, 5212, 796, 366, 3876, 5276, 19468, 692, 364, 1, 5357, 4417, 79...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5610, 614, 329, 262, 5212, 286, 36547, 17113, 692, 364, 290, 257, 1327, 4417, 30, 46506, 25882, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 2078, 33411, 5212, 796, 366, 3876, 5276, 19468, 692, 364, 1, 5357, 4417, 79...
What are the total lanes that have a rank larger than 22?
SELECT SUM("Lane") FROM table_71792 WHERE "Rank" > '22'
[ 2061, 389, 262, 2472, 15296, 326, 423, 257, 4279, 4025, 621, 2534, 30, 46506, 35683, 7203, 43, 1531, 4943, 16034, 3084, 62, 22, 1558, 5892, 33411, 366, 27520, 1, 1875, 705, 1828, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 262, 2472, 15296, 326, 423, 257, 4279, 4025, 621, 2534, 30, 46506, 35683, 7203, 43, 1531, 4943, 16034, 3084, 62, 22, 1558, 5892, 33411, 366, 27520, 1, 1875, 705, 1828, 6 ]
in what year did the muncie flyers have an undefeated record ?
SELECT "year" FROM table_200_32 WHERE "l" = 0
[ 259, 644, 614, 750, 262, 285, 19524, 494, 45112, 423, 281, 41445, 1700, 5633, 46506, 366, 1941, 1, 16034, 3084, 62, 2167, 62, 2624, 33411, 366, 75, 1, 796, 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 ]
[ 259, 644, 614, 750, 262, 285, 19524, 494, 45112, 423, 281, 41445, 1700, 5633, 46506, 366, 1941, 1, 16034, 3084, 62, 2167, 62, 2624, 33411, 366, 75, 1, 796, 657 ]
What is the smallest crowd for victoria park?
SELECT MIN("Crowd") FROM table_57447 WHERE "Venue" = 'victoria park'
[ 2061, 318, 262, 18197, 4315, 329, 2210, 7661, 3952, 30, 46506, 20625, 7203, 34, 3986, 4943, 16034, 3084, 62, 3553, 34825, 33411, 366, 37522, 518, 1, 796, 705, 32433, 7661, 3952, 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, 18197, 4315, 329, 2210, 7661, 3952, 30, 46506, 20625, 7203, 34, 3986, 4943, 16034, 3084, 62, 3553, 34825, 33411, 366, 37522, 518, 1, 796, 705, 32433, 7661, 3952, 6 ]
Is an Philosophy of Language seminar occurring this year ?
SELECT COUNT(*) > 0 FROM course, course_offering, semester WHERE (course.description LIKE '%seminar%' OR course.name LIKE '%seminar%') AND (course.description LIKE '%Philosophy of Language%' OR course.name LIKE '%Philosophy of Language%') AND course.course_id = course_offering.course_id AND semester.semester_id = cours...
[ 3792, 281, 26099, 286, 15417, 37634, 14963, 428, 614, 5633, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 24878, 33411, 357, 17319, 13, 11213, 34178, 705, 4, 325, 1084, 283, 4, 6, 6375, 1781, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3792, 281, 26099, 286, 15417, 37634, 14963, 428, 614, 5633, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 24878, 33411, 357, 17319, 13, 11213, 34178, 705, 4, 325, 1084, 283, 4, 6, 6375, 1781, 13, ...
Which country is Scott Hoch from?
SELECT country FROM table_name_65 WHERE player = "scott hoch"
[ 13828, 1499, 318, 4746, 367, 5374, 422, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 2996, 33411, 2137, 796, 366, 1416, 1252, 289, 5374, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 1499, 318, 4746, 367, 5374, 422, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 2996, 33411, 2137, 796, 366, 1416, 1252, 289, 5374, 1 ]
which county has the most representation ?
SELECT "county" FROM table_204_190 GROUP BY "county" ORDER BY SUM("percentage") DESC LIMIT 1
[ 4758, 7968, 468, 262, 749, 10552, 5633, 46506, 366, 9127, 88, 1, 16034, 3084, 62, 18638, 62, 19782, 44441, 11050, 366, 9127, 88, 1, 38678, 11050, 35683, 7203, 25067, 496, 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 ]
[ 4758, 7968, 468, 262, 749, 10552, 5633, 46506, 366, 9127, 88, 1, 16034, 3084, 62, 18638, 62, 19782, 44441, 11050, 366, 9127, 88, 1, 38678, 11050, 35683, 7203, 25067, 496, 4943, 22196, 34, 27564, 2043, 352 ]
Which entrant was present prior to 1953?
SELECT "Entrant" FROM table_80050 WHERE "Year" < '1953'
[ 13828, 920, 5250, 373, 1944, 3161, 284, 24217, 30, 46506, 366, 14539, 5250, 1, 16034, 3084, 62, 7410, 1120, 33411, 366, 17688, 1, 1279, 705, 1129, 4310, 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 ]
[ 13828, 920, 5250, 373, 1944, 3161, 284, 24217, 30, 46506, 366, 14539, 5250, 1, 16034, 3084, 62, 7410, 1120, 33411, 366, 17688, 1, 1279, 705, 1129, 4310, 6 ]
How much Total has a Rank of 5, and a Bronze larger than 3?
SELECT SUM(total) FROM table_name_44 WHERE rank = "5" AND bronze > 3
[ 2437, 881, 7472, 468, 257, 10916, 286, 642, 11, 290, 257, 19461, 4025, 621, 513, 30, 46506, 35683, 7, 23350, 8, 16034, 3084, 62, 3672, 62, 2598, 33411, 4279, 796, 366, 20, 1, 5357, 22101, 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 ]
[ 2437, 881, 7472, 468, 257, 10916, 286, 642, 11, 290, 257, 19461, 4025, 621, 513, 30, 46506, 35683, 7, 23350, 8, 16034, 3084, 62, 3672, 62, 2598, 33411, 4279, 796, 366, 20, 1, 5357, 22101, 1875, 513 ]
What is the Money of the T4 Place Player with a Score of 71-66-74-67=278?
SELECT AVG("Money ( $ )") FROM table_9005 WHERE "Place" = 't4' AND "Score" = '71-66-74-67=278'
[ 2061, 318, 262, 12911, 286, 262, 309, 19, 8474, 7853, 351, 257, 15178, 286, 9166, 12, 2791, 12, 4524, 12, 3134, 28, 25870, 30, 46506, 35224, 7203, 26788, 357, 720, 1267, 4943, 16034, 3084, 62, 12865, 20, 33411, 366, 27271, 1, 796, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 12911, 286, 262, 309, 19, 8474, 7853, 351, 257, 15178, 286, 9166, 12, 2791, 12, 4524, 12, 3134, 28, 25870, 30, 46506, 35224, 7203, 26788, 357, 720, 1267, 4943, 16034, 3084, 62, 12865, 20, 33411, 366, 27271, 1, 796, 7...
What is the hometown for tre madden?
SELECT "Hometown" FROM table_54595 WHERE "Player" = 'tre madden'
[ 2061, 318, 262, 20994, 329, 2054, 285, 38014, 30, 46506, 366, 39, 19191, 1, 16034, 3084, 62, 45326, 3865, 33411, 366, 14140, 1, 796, 705, 33945, 285, 38014, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 20994, 329, 2054, 285, 38014, 30, 46506, 366, 39, 19191, 1, 16034, 3084, 62, 45326, 3865, 33411, 366, 14140, 1, 796, 705, 33945, 285, 38014, 6 ]
How many positions drafted players from Washington?
SELECT COUNT(position) FROM table_16729063_1 WHERE college = "Washington"
[ 2437, 867, 6116, 15937, 1938, 422, 2669, 30, 46506, 327, 28270, 7, 9150, 8, 16034, 3084, 62, 21940, 1959, 3312, 18, 62, 16, 33411, 4152, 796, 366, 17402, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 6116, 15937, 1938, 422, 2669, 30, 46506, 327, 28270, 7, 9150, 8, 16034, 3084, 62, 21940, 1959, 3312, 18, 62, 16, 33411, 4152, 796, 366, 17402, 1 ]
Return a histogram on what are the titles and ids for albums containing tracks with unit price greater than 1?, and display by the Y from high to low please.
SELECT T1.Title, T1.AlbumId FROM Album AS T1 JOIN Track AS T2 ON T1.AlbumId = T2.AlbumId WHERE T2.UnitPrice > 1 ORDER BY T1.AlbumId DESC
[ 13615, 257, 1554, 21857, 319, 644, 389, 262, 8714, 290, 220, 2340, 329, 16788, 7268, 8339, 351, 4326, 2756, 3744, 621, 352, 21747, 290, 3359, 416, 262, 575, 422, 1029, 284, 1877, 3387, 13, 46506, 309, 16, 13, 19160, 11, 309, 16, 13,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 13615, 257, 1554, 21857, 319, 644, 389, 262, 8714, 290, 220, 2340, 329, 16788, 7268, 8339, 351, 4326, 2756, 3744, 621, 352, 21747, 290, 3359, 416, 262, 575, 422, 1029, 284, 1877, 3387, 13, 46506, 309, 16, 13, 19160, 11, 309, 16, 13,...
What's the average Rd number for dane jackson with a pick number over 44?
SELECT AVG(rd__number) FROM table_name_2 WHERE player = "dane jackson" AND pick__number > 44
[ 2061, 338, 262, 2811, 20769, 1271, 329, 288, 1531, 14509, 1559, 351, 257, 2298, 1271, 625, 5846, 30, 46506, 35224, 7, 4372, 834, 17618, 8, 16034, 3084, 62, 3672, 62, 17, 33411, 2137, 796, 366, 67, 1531, 14509, 1559, 1, 5357, 2298, 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 ]
[ 2061, 338, 262, 2811, 20769, 1271, 329, 288, 1531, 14509, 1559, 351, 257, 2298, 1271, 625, 5846, 30, 46506, 35224, 7, 4372, 834, 17618, 8, 16034, 3084, 62, 3672, 62, 17, 33411, 2137, 796, 366, 67, 1531, 14509, 1559, 1, 5357, 2298, 8...
What is the production number of 3-04?
SELECT MAX(prod_no) FROM table_25046766_3 WHERE episode_no = "3-04"
[ 2061, 318, 262, 3227, 1271, 286, 513, 12, 3023, 30, 46506, 25882, 7, 1676, 67, 62, 3919, 8, 16034, 3084, 62, 9031, 24669, 2791, 62, 18, 33411, 4471, 62, 3919, 796, 366, 18, 12, 3023, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3227, 1271, 286, 513, 12, 3023, 30, 46506, 25882, 7, 1676, 67, 62, 3919, 8, 16034, 3084, 62, 9031, 24669, 2791, 62, 18, 33411, 4471, 62, 3919, 796, 366, 18, 12, 3023, 1 ]
what is the number of patients whose admission location is trsf within this facility and drug name is ferrous sulfate (liquid)?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.admission_location = "TRSF WITHIN THIS FACILITY" AND prescriptions.drug = "Ferrous Sulfate (Liquid)"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 13938, 4067, 318, 491, 28202, 1626, 428, 6841, 290, 2563, 1438, 318, 11354, 7596, 22443, 378, 357, 39250, 19427, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 1271, 286, 3871, 3025, 13938, 4067, 318, 491, 28202, 1626, 428, 6841, 290, 2563, 1438, 318, 11354, 7596, 22443, 378, 357, 39250, 19427, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, ...
Return the average price for each product type by a bar chart, and could you list the average of product price from high to low order?
SELECT product_type_code, AVG(product_price) FROM Products GROUP BY product_type_code ORDER BY AVG(product_price) DESC
[ 13615, 262, 2811, 2756, 329, 1123, 1720, 2099, 416, 257, 2318, 8262, 11, 290, 714, 345, 1351, 262, 2811, 286, 1720, 2756, 422, 1029, 284, 1877, 1502, 30, 46506, 1720, 62, 4906, 62, 8189, 11, 35224, 7, 11167, 62, 20888, 8, 16034, 186...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13615, 262, 2811, 2756, 329, 1123, 1720, 2099, 416, 257, 2318, 8262, 11, 290, 714, 345, 1351, 262, 2811, 286, 1720, 2756, 422, 1029, 284, 1877, 1502, 30, 46506, 1720, 62, 4906, 62, 8189, 11, 35224, 7, 11167, 62, 20888, 8, 16034, 186...
What position was Jafus White who was picked after round 1?
SELECT position FROM table_name_87 WHERE round > 1 AND player = "jafus white"
[ 2061, 2292, 373, 449, 1878, 385, 2635, 508, 373, 6497, 706, 2835, 352, 30, 46506, 2292, 16034, 3084, 62, 3672, 62, 5774, 33411, 2835, 1875, 352, 5357, 2137, 796, 366, 73, 1878, 385, 2330, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 2292, 373, 449, 1878, 385, 2635, 508, 373, 6497, 706, 2835, 352, 30, 46506, 2292, 16034, 3084, 62, 3672, 62, 5774, 33411, 2835, 1875, 352, 5357, 2137, 796, 366, 73, 1878, 385, 2330, 1 ]
what's the date with attendance being 40657
SELECT "Date" FROM table_1142 WHERE "Attendance" = '40657'
[ 10919, 338, 262, 3128, 351, 14858, 852, 2319, 37680, 46506, 366, 10430, 1, 16034, 3084, 62, 1157, 3682, 33411, 366, 8086, 437, 590, 1, 796, 705, 1821, 37680, 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 ]
[ 10919, 338, 262, 3128, 351, 14858, 852, 2319, 37680, 46506, 366, 10430, 1, 16034, 3084, 62, 1157, 3682, 33411, 366, 8086, 437, 590, 1, 796, 705, 1821, 37680, 6 ]
how many days it has been since the first time patient 027-142451 underwent a procedure during their current hospital visit?
SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', treatment.treatmenttime)) FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '027-142451...
[ 4919, 867, 1528, 340, 468, 587, 1201, 262, 717, 640, 5827, 657, 1983, 12, 1415, 1731, 4349, 25289, 257, 8771, 1141, 511, 1459, 4436, 3187, 30, 46506, 352, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694, 28955...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 1528, 340, 468, 587, 1201, 262, 717, 640, 5827, 657, 1983, 12, 1415, 1731, 4349, 25289, 257, 8771, 1141, 511, 1459, 4436, 3187, 30, 46506, 352, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694, 28955...
Next Winter , will Prof. Jiarui Fei be teaching 280 ?
SELECT COUNT(*) > 0 FROM course, course_offering, instructor, offering_instructor, semester WHERE course.course_id = course_offering.course_id AND course.department = 'EECS' AND course.number = 280 AND instructor.name LIKE '%Jiarui Fei%' AND offering_instructor.instructor_id = instructor.instructor_id AND offering_inst...
[ 10019, 10633, 837, 481, 4415, 13, 449, 12571, 9019, 39575, 307, 7743, 21355, 5633, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 21187, 11, 6011, 62, 259, 7249, 273, 11, 24878, 33411, 1781, 13, 173...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10019, 10633, 837, 481, 4415, 13, 449, 12571, 9019, 39575, 307, 7743, 21355, 5633, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 21187, 11, 6011, 62, 259, 7249, 273, 11, 24878, 33411, 1781, 13, 173...
For EECS 481 , what is the workload like ?
SELECT DISTINCT program_course.workload FROM course, program_course WHERE course.department = 'EECS' AND course.number = 481 AND program_course.course_id = course.course_id
[ 1890, 412, 2943, 50, 4764, 16, 837, 644, 318, 262, 26211, 588, 5633, 46506, 360, 8808, 1268, 4177, 1430, 62, 17319, 13, 1818, 2220, 16034, 1781, 11, 1430, 62, 17319, 33411, 1781, 13, 10378, 1823, 796, 705, 36, 2943, 50, 6, 5357, 178...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 412, 2943, 50, 4764, 16, 837, 644, 318, 262, 26211, 588, 5633, 46506, 360, 8808, 1268, 4177, 1430, 62, 17319, 13, 1818, 2220, 16034, 1781, 11, 1430, 62, 17319, 33411, 1781, 13, 10378, 1823, 796, 705, 36, 2943, 50, 6, 5357, 178...
What is Election, when 2nd Party is 'Conservative', and when First Member is 'Edmund Antrobus'?
SELECT "Election" FROM table_60191 WHERE "2nd Party" = 'conservative' AND "First member" = 'edmund antrobus'
[ 2061, 318, 14219, 11, 618, 362, 358, 3615, 318, 705, 42039, 3256, 290, 618, 3274, 10239, 318, 705, 7407, 20125, 3738, 305, 10885, 30960, 46506, 366, 36, 1564, 1, 16034, 3084, 62, 41706, 6420, 33411, 366, 17, 358, 3615, 1, 796, 705, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 14219, 11, 618, 362, 358, 3615, 318, 705, 42039, 3256, 290, 618, 3274, 10239, 318, 705, 7407, 20125, 3738, 305, 10885, 30960, 46506, 366, 36, 1564, 1, 16034, 3084, 62, 41706, 6420, 33411, 366, 17, 358, 3615, 1, 796, 705, ...
What is the s B share for the shareholder that has 2.55 percent of votes?
SELECT MAX(s_b_share) FROM table_206419_3 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, 7, 82, 62, 65, 62, 20077, 8, 16034, 3084, 62, 1238, 2414, 1129, 62, 18, 33411, 1411, 62, 1659, 62, 29307, 796, 366, 17, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 264, 347, 2648, 329, 262, 29378, 326, 468, 362, 13, 2816, 1411, 286, 5690, 30, 46506, 25882, 7, 82, 62, 65, 62, 20077, 8, 16034, 3084, 62, 1238, 2414, 1129, 62, 18, 33411, 1411, 62, 1659, 62, 29307, 796, 366, 17, ...
What are Arthur Ashe's games w-l?
SELECT games_w_l FROM table_23133482_1 WHERE player = "Arthur Ashe"
[ 2061, 389, 13514, 36318, 338, 1830, 266, 12, 75, 30, 46506, 1830, 62, 86, 62, 75, 16034, 3084, 62, 1954, 1485, 2682, 6469, 62, 16, 33411, 2137, 796, 366, 29874, 36318, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 13514, 36318, 338, 1830, 266, 12, 75, 30, 46506, 1830, 62, 86, 62, 75, 16034, 3084, 62, 1954, 1485, 2682, 6469, 62, 16, 33411, 2137, 796, 366, 29874, 36318, 1 ]
How many draft picks are there at the linebacker position?
SELECT COUNT("Pick #") FROM table_1511 WHERE "Position" = 'Linebacker'
[ 2437, 867, 4538, 11103, 389, 612, 379, 262, 18961, 2292, 30, 46506, 327, 28270, 7203, 31686, 1303, 4943, 16034, 3084, 62, 1314, 1157, 33411, 366, 26545, 1, 796, 705, 13949, 49978, 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 ]
[ 2437, 867, 4538, 11103, 389, 612, 379, 262, 18961, 2292, 30, 46506, 327, 28270, 7203, 31686, 1303, 4943, 16034, 3084, 62, 1314, 1157, 33411, 366, 26545, 1, 796, 705, 13949, 49978, 6 ]
List the name, IHSAA Football Class, and Mascot of the schools that have more than 6000 of budgeted amount or were founded before 2003, in the order of percent of total invested budget and total budgeted budget.
SELECT T1.School_name, T1.Mascot, T1.IHSAA_Football_Class FROM school AS T1 JOIN budget AS T2 ON T1.school_id = T2.school_id WHERE Budgeted > 6000 OR YEAR < 2003 ORDER BY T2.total_budget_percent_invested, T2.total_budget_percent_budgeted
[ 8053, 262, 1438, 11, 314, 7998, 3838, 9957, 5016, 11, 290, 337, 3372, 313, 286, 262, 4266, 326, 423, 517, 621, 39064, 286, 4466, 276, 2033, 393, 547, 9393, 878, 5816, 11, 287, 262, 1502, 286, 1411, 286, 2472, 13356, 4466, 290, 2472,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1438, 11, 314, 7998, 3838, 9957, 5016, 11, 290, 337, 3372, 313, 286, 262, 4266, 326, 423, 517, 621, 39064, 286, 4466, 276, 2033, 393, 547, 9393, 878, 5816, 11, 287, 262, 1502, 286, 1411, 286, 2472, 13356, 4466, 290, 2472,...
Which Altitude (mslm) has a Density (inhabitants/km 2) smaller than 1233, and a Rank of 9th?
SELECT SUM("Altitude (mslm)") FROM table_34145 WHERE "Density (inhabitants/km 2 )" < '1233' AND "Rank" = '9th'
[ 13828, 12344, 3984, 357, 907, 75, 76, 8, 468, 257, 360, 6377, 357, 259, 5976, 270, 1187, 14, 13276, 362, 8, 4833, 621, 1105, 2091, 11, 290, 257, 10916, 286, 860, 400, 30, 46506, 35683, 7203, 29161, 3984, 357, 907, 75, 76, 8, 4943,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 13828, 12344, 3984, 357, 907, 75, 76, 8, 468, 257, 360, 6377, 357, 259, 5976, 270, 1187, 14, 13276, 362, 8, 4833, 621, 1105, 2091, 11, 290, 257, 10916, 286, 860, 400, 30, 46506, 35683, 7203, 29161, 3984, 357, 907, 75, 76, 8, 4943,...
What artist was released in 2005?
SELECT "Artist" FROM table_51307 WHERE "Year" = '2005'
[ 2061, 6802, 373, 2716, 287, 5075, 30, 46506, 366, 43020, 1, 16034, 3084, 62, 4349, 22996, 33411, 366, 17688, 1, 796, 705, 14315, 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 ]
[ 2061, 6802, 373, 2716, 287, 5075, 30, 46506, 366, 43020, 1, 16034, 3084, 62, 4349, 22996, 33411, 366, 17688, 1, 796, 705, 14315, 6 ]
when was patient 60219 last having the minimum value of platelet count since 81 months ago?
SELECT labevents.charttime FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 60219) AND labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'platelet count') AND DATETIME(labevents.charttime) >= DATETIME(CURRENT_TIME(), ...
[ 12518, 373, 5827, 718, 2999, 1129, 938, 1719, 262, 5288, 1988, 286, 7480, 1616, 954, 1201, 9773, 1933, 2084, 30, 46506, 2248, 31534, 13, 40926, 2435, 16034, 2248, 31534, 33411, 2248, 31534, 13, 18108, 76, 62, 312, 3268, 357, 46506, 2534...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12518, 373, 5827, 718, 2999, 1129, 938, 1719, 262, 5288, 1988, 286, 7480, 1616, 954, 1201, 9773, 1933, 2084, 30, 46506, 2248, 31534, 13, 40926, 2435, 16034, 2248, 31534, 33411, 2248, 31534, 13, 18108, 76, 62, 312, 3268, 357, 46506, 2534...
What is the pick number later than round 1, for Reyshawn Terry?
SELECT AVG("Pick") FROM table_47987 WHERE "Round" > '1' AND "Player" = 'reyshawn terry'
[ 2061, 318, 262, 2298, 1271, 1568, 621, 2835, 352, 11, 329, 797, 893, 3099, 675, 14286, 30, 46506, 35224, 7203, 31686, 4943, 16034, 3084, 62, 2857, 44183, 33411, 366, 22685, 1, 1875, 705, 16, 6, 5357, 366, 14140, 1, 796, 705, 46703, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2298, 1271, 1568, 621, 2835, 352, 11, 329, 797, 893, 3099, 675, 14286, 30, 46506, 35224, 7203, 31686, 4943, 16034, 3084, 62, 2857, 44183, 33411, 366, 22685, 1, 1875, 705, 16, 6, 5357, 366, 14140, 1, 796, 705, 46703, ...
what's the number of patients who have had intravenous diuretic - iv diuretic - bolus infusion in 2105?
SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.patientunitstayid IN (SELECT treatment.patientunitstayid FROM treatment WHERE treatment.treatmentname = 'intravenous diuretic - iv diuretic - bolus infusion' AND STRFTIME('%y', treatment.treatmenttime) = '2105')
[ 10919, 338, 262, 1271, 286, 3871, 508, 423, 550, 45840, 516, 2566, 495, 13370, 532, 21628, 2566, 495, 13370, 532, 11572, 385, 35547, 287, 362, 13348, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 5827, 13, 403, 1557, 538, 312, 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...
[ 10919, 338, 262, 1271, 286, 3871, 508, 423, 550, 45840, 516, 2566, 495, 13370, 532, 21628, 2566, 495, 13370, 532, 11572, 385, 35547, 287, 362, 13348, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 5827, 13, 403, 1557, 538, 312, 8, ...
What was spain's score?
SELECT "Score" FROM table_50699 WHERE "Country" = 'spain'
[ 2061, 373, 599, 391, 338, 4776, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 35638, 2079, 33411, 366, 33921, 1, 796, 705, 2777, 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 ]
[ 2061, 373, 599, 391, 338, 4776, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 35638, 2079, 33411, 366, 33921, 1, 796, 705, 2777, 391, 6 ]
What was Obama's percentage in the county of Surry?
SELECT "Obama%" FROM table_23744 WHERE "County" = 'Surry'
[ 2061, 373, 2486, 338, 5873, 287, 262, 7968, 286, 4198, 563, 30, 46506, 366, 15948, 39658, 16034, 3084, 62, 24693, 2598, 33411, 366, 12332, 88, 1, 796, 705, 14214, 563, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 2486, 338, 5873, 287, 262, 7968, 286, 4198, 563, 30, 46506, 366, 15948, 39658, 16034, 3084, 62, 24693, 2598, 33411, 366, 12332, 88, 1, 796, 705, 14214, 563, 6 ]
What is the decile of the school with a roll larger than 513?
SELECT SUM(decile) FROM table_name_36 WHERE roll > 513
[ 2061, 318, 262, 875, 576, 286, 262, 1524, 351, 257, 4836, 4025, 621, 642, 1485, 30, 46506, 35683, 7, 12501, 576, 8, 16034, 3084, 62, 3672, 62, 2623, 33411, 4836, 1875, 642, 1485 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 875, 576, 286, 262, 1524, 351, 257, 4836, 4025, 621, 642, 1485, 30, 46506, 35683, 7, 12501, 576, 8, 16034, 3084, 62, 3672, 62, 2623, 33411, 4836, 1875, 642, 1485 ]
How many people attended the game at the miami orange bowl?
SELECT SUM(attendance) FROM table_name_49 WHERE game_site = "miami orange bowl"
[ 2437, 867, 661, 9141, 262, 983, 379, 262, 285, 7871, 10912, 9396, 30, 46506, 35683, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 2920, 33411, 983, 62, 15654, 796, 366, 76, 7871, 10912, 9396, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 379, 262, 285, 7871, 10912, 9396, 30, 46506, 35683, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 2920, 33411, 983, 62, 15654, 796, 366, 76, 7871, 10912, 9396, 1 ]
Name the country for hideki noda category:articles with hcards
SELECT "Country" FROM table_22756 WHERE "Name" = 'Hideki Noda Category:Articles with hCards'
[ 5376, 262, 1499, 329, 7808, 4106, 299, 11329, 6536, 25, 26845, 351, 289, 27761, 46506, 366, 33921, 1, 16034, 3084, 62, 1828, 38219, 33411, 366, 5376, 1, 796, 705, 38518, 4106, 399, 11329, 21743, 25, 8001, 2983, 351, 289, 34, 1371, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 1499, 329, 7808, 4106, 299, 11329, 6536, 25, 26845, 351, 289, 27761, 46506, 366, 33921, 1, 16034, 3084, 62, 1828, 38219, 33411, 366, 5376, 1, 796, 705, 38518, 4106, 399, 11329, 21743, 25, 8001, 2983, 351, 289, 34, 1371, 6 ]
Name the 20 questions for derek jeter
SELECT 20 AS _questions FROM table_1566852_5 WHERE interview_subject = "Derek Jeter"
[ 5376, 262, 1160, 2683, 329, 390, 37818, 474, 2357, 46506, 1160, 7054, 4808, 6138, 507, 16034, 3084, 62, 1314, 35809, 4309, 62, 20, 33411, 2720, 62, 32796, 796, 366, 35, 18238, 449, 2357, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1160, 2683, 329, 390, 37818, 474, 2357, 46506, 1160, 7054, 4808, 6138, 507, 16034, 3084, 62, 1314, 35809, 4309, 62, 20, 33411, 2720, 62, 32796, 796, 366, 35, 18238, 449, 2357, 1 ]
What are all of the PreMajor classes ?
SELECT DISTINCT course.department, course.name, course.number FROM course, program, program_course WHERE program_course.category LIKE '%PreMajor%' AND program_course.course_id = course.course_id AND program.name LIKE '%CS-LSA%' AND program.program_id = program_course.program_id
[ 2061, 389, 477, 286, 262, 3771, 24206, 6097, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 11, 1430, 11, 1430, 62, 17319, 33411, 1430, 62, 17319, 13, 22872, 34178, 705...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 389, 477, 286, 262, 3771, 24206, 6097, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 11, 1430, 11, 1430, 62, 17319, 33411, 1430, 62, 17319, 13, 22872, 34178, 705...
when was the last time that patient 030-40287 was tested for base excess during their last hospital visit?
SELECT lab.labresulttime FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '030-40287' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospitala...
[ 12518, 373, 262, 938, 640, 326, 5827, 657, 1270, 12, 1821, 27800, 373, 6789, 329, 2779, 6992, 1141, 511, 938, 4436, 3187, 30, 46506, 2248, 13, 23912, 20274, 2435, 16034, 2248, 33411, 2248, 13, 26029, 20850, 31712, 312, 3268, 357, 46506,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12518, 373, 262, 938, 640, 326, 5827, 657, 1270, 12, 1821, 27800, 373, 6789, 329, 2779, 6992, 1141, 511, 938, 4436, 3187, 30, 46506, 2248, 13, 23912, 20274, 2435, 16034, 2248, 33411, 2248, 13, 26029, 20850, 31712, 312, 3268, 357, 46506,...
how much phenytoin sodium was prescribed for the last time until 01/2101 to patient 62977?
SELECT prescriptions.dose_val_rx FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 62977) AND prescriptions.drug = 'phenytoin sodium' AND STRFTIME('%y-%m', prescriptions.startdate) <= '2101-01' ORDER BY prescriptions.startdate DESC LIMIT 1
[ 4919, 881, 6566, 88, 1462, 259, 21072, 373, 14798, 329, 262, 938, 640, 1566, 5534, 14, 2481, 486, 284, 5827, 718, 1959, 3324, 30, 46506, 34092, 13, 34436, 62, 2100, 62, 40914, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 881, 6566, 88, 1462, 259, 21072, 373, 14798, 329, 262, 938, 640, 1566, 5534, 14, 2481, 486, 284, 5827, 718, 1959, 3324, 30, 46506, 34092, 13, 34436, 62, 2100, 62, 40914, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, ...
What's the comp for 1998-04-22?
SELECT "Comp" FROM table_63867 WHERE "Date" = '1998-04-22'
[ 2061, 338, 262, 552, 329, 7795, 12, 3023, 12, 1828, 30, 46506, 366, 7293, 1, 16034, 3084, 62, 21, 2548, 3134, 33411, 366, 10430, 1, 796, 705, 21113, 12, 3023, 12, 1828, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 338, 262, 552, 329, 7795, 12, 3023, 12, 1828, 30, 46506, 366, 7293, 1, 16034, 3084, 62, 21, 2548, 3134, 33411, 366, 10430, 1, 796, 705, 21113, 12, 3023, 12, 1828, 6 ]
find the age of subject id 74032 and his discharge time.
SELECT demographic.age, demographic.dischtime FROM demographic WHERE demographic.subject_id = "74032"
[ 19796, 262, 2479, 286, 2426, 4686, 767, 1821, 2624, 290, 465, 17655, 640, 13, 46506, 16728, 13, 496, 11, 16728, 13, 6381, 354, 2435, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 45598, 2624, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 19796, 262, 2479, 286, 2426, 4686, 767, 1821, 2624, 290, 465, 17655, 640, 13, 46506, 16728, 13, 496, 11, 16728, 13, 6381, 354, 2435, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 45598, 2624, 1 ]
What is the location with the most cinemas opened in year 2010 or later?
SELECT LOCATION FROM cinema WHERE openning_year >= 2010 GROUP BY LOCATION ORDER BY COUNT(*) DESC LIMIT 1
[ 2061, 318, 262, 4067, 351, 262, 749, 13483, 292, 4721, 287, 614, 3050, 393, 1568, 30, 46506, 37347, 6234, 16034, 22041, 33411, 1280, 768, 62, 1941, 18189, 3050, 44441, 11050, 37347, 6234, 38678, 11050, 327, 28270, 7, 28104, 22196, 34, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4067, 351, 262, 749, 13483, 292, 4721, 287, 614, 3050, 393, 1568, 30, 46506, 37347, 6234, 16034, 22041, 33411, 1280, 768, 62, 1941, 18189, 3050, 44441, 11050, 37347, 6234, 38678, 11050, 327, 28270, 7, 28104, 22196, 34, 2...
What was the series of the episode directed by Abe Levitow released on 1959-06-27?
SELECT series FROM table_name_63 WHERE director = "abe levitow" AND release_date = "1959-06-27"
[ 2061, 373, 262, 2168, 286, 262, 4471, 7924, 416, 22257, 16042, 270, 322, 2716, 319, 23859, 12, 3312, 12, 1983, 30, 46506, 2168, 16034, 3084, 62, 3672, 62, 5066, 33411, 3437, 796, 366, 11231, 23145, 270, 322, 1, 5357, 2650, 62, 4475, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2168, 286, 262, 4471, 7924, 416, 22257, 16042, 270, 322, 2716, 319, 23859, 12, 3312, 12, 1983, 30, 46506, 2168, 16034, 3084, 62, 3672, 62, 5066, 33411, 3437, 796, 366, 11231, 23145, 270, 322, 1, 5357, 2650, 62, 4475, ...
Add bounty remarks to a question's revision history. http://meta.stackexchange.com/questions/110003/add-bounty-remarks-to-a-questions-revision-history
SELECT pn.Body AS "custom_comment", pt.Name AS "notice_type", pt.Body AS "reason", pn.CreationDate, pn.DeletionDate, OwnerUserId AS "user_link" FROM PostNotices AS pn INNER JOIN PostNoticeTypes AS pt ON pt.Id = pn.PostNoticeTypeId WHERE PostId = '##questionid?83292##'
[ 4550, 24180, 10252, 284, 257, 1808, 338, 18440, 2106, 13, 2638, 1378, 28961, 13, 301, 330, 365, 87, 3803, 13, 785, 14, 6138, 507, 14, 1157, 830, 18, 14, 2860, 12, 65, 17705, 12, 2787, 5558, 12, 1462, 12, 64, 12, 6138, 507, 12, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4550, 24180, 10252, 284, 257, 1808, 338, 18440, 2106, 13, 2638, 1378, 28961, 13, 301, 330, 365, 87, 3803, 13, 785, 14, 6138, 507, 14, 1157, 830, 18, 14, 2860, 12, 65, 17705, 12, 2787, 5558, 12, 1462, 12, 64, 12, 6138, 507, 12, 2...
In which championship had a previous champion of 'defeated Justin Corino in tournament final'?
SELECT "Championship" FROM table_40102 WHERE "Previous champion(s)" = 'defeated justin corino in tournament final'
[ 818, 543, 12184, 550, 257, 2180, 8783, 286, 705, 4299, 68, 515, 10799, 2744, 2879, 287, 7756, 2457, 30960, 46506, 366, 1925, 4350, 1056, 1, 16034, 3084, 62, 21844, 2999, 33411, 366, 21448, 8783, 7, 82, 16725, 796, 705, 4299, 68, 515, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 818, 543, 12184, 550, 257, 2180, 8783, 286, 705, 4299, 68, 515, 10799, 2744, 2879, 287, 7756, 2457, 30960, 46506, 366, 1925, 4350, 1056, 1, 16034, 3084, 62, 21844, 2999, 33411, 366, 21448, 8783, 7, 82, 16725, 796, 705, 4299, 68, 515, ...
Who was the Runner-up when the game was played at Bells Beach?
SELECT "Runner-up" FROM table_41996 WHERE "Location" = 'bells beach'
[ 8241, 373, 262, 21529, 12, 929, 618, 262, 983, 373, 2826, 379, 7459, 82, 8511, 30, 46506, 366, 49493, 12, 929, 1, 16034, 3084, 62, 19, 22288, 33411, 366, 14749, 1, 796, 705, 7923, 82, 10481, 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 ]
[ 8241, 373, 262, 21529, 12, 929, 618, 262, 983, 373, 2826, 379, 7459, 82, 8511, 30, 46506, 366, 49493, 12, 929, 1, 16034, 3084, 62, 19, 22288, 33411, 366, 14749, 1, 796, 705, 7923, 82, 10481, 6 ]
Tell me the lowest ties played with a debut of 1936
SELECT MIN("Ties played") FROM table_32046 WHERE "Debut" = '1936'
[ 24446, 502, 262, 9016, 8470, 2826, 351, 257, 8886, 286, 27653, 46506, 20625, 7203, 51, 444, 2826, 4943, 16034, 3084, 62, 19504, 3510, 33411, 366, 16587, 315, 1, 796, 705, 1129, 2623, 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 ]
[ 24446, 502, 262, 9016, 8470, 2826, 351, 257, 8886, 286, 27653, 46506, 20625, 7203, 51, 444, 2826, 4943, 16034, 3084, 62, 19504, 3510, 33411, 366, 16587, 315, 1, 796, 705, 1129, 2623, 6 ]
Show the top 3 most common colleges of players in match seasons.
SELECT College FROM match_season GROUP BY College ORDER BY COUNT(*) DESC LIMIT 3
[ 15307, 262, 1353, 513, 749, 2219, 15273, 286, 1938, 287, 2872, 7028, 13, 46506, 5535, 16034, 2872, 62, 6230, 44441, 11050, 5535, 38678, 11050, 327, 28270, 7, 28104, 22196, 34, 27564, 2043, 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 ]
[ 15307, 262, 1353, 513, 749, 2219, 15273, 286, 1938, 287, 2872, 7028, 13, 46506, 5535, 16034, 2872, 62, 6230, 44441, 11050, 5535, 38678, 11050, 327, 28270, 7, 28104, 22196, 34, 27564, 2043, 513 ]
Questions average views over the years.
SELECT YEAR(CreationDate) AS year, SUM(CAST(ViewCount AS INT)) / COUNT(Id) AS average_views FROM Posts GROUP BY YEAR(CreationDate)
[ 35741, 2811, 5009, 625, 262, 812, 13, 46506, 32914, 7, 12443, 341, 10430, 8, 7054, 614, 11, 35683, 7, 44647, 7, 7680, 12332, 7054, 17828, 4008, 1220, 327, 28270, 7, 7390, 8, 7054, 2811, 62, 33571, 16034, 12043, 44441, 11050, 32914, 7,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 35741, 2811, 5009, 625, 262, 812, 13, 46506, 32914, 7, 12443, 341, 10430, 8, 7054, 614, 11, 35683, 7, 44647, 7, 7680, 12332, 7054, 17828, 4008, 1220, 327, 28270, 7, 7390, 8, 7054, 2811, 62, 33571, 16034, 12043, 44441, 11050, 32914, 7,...
Which Away team score has a Crowd larger than 6,000?
SELECT "Away team score" FROM table_10214 WHERE "Crowd" > '6,000'
[ 13828, 21986, 1074, 4776, 468, 257, 29452, 4025, 621, 718, 11, 830, 30, 46506, 366, 32, 1014, 1074, 4776, 1, 16034, 3084, 62, 15377, 1415, 33411, 366, 34, 3986, 1, 1875, 705, 21, 11, 830, 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 ]
[ 13828, 21986, 1074, 4776, 468, 257, 29452, 4025, 621, 718, 11, 830, 30, 46506, 366, 32, 1014, 1074, 4776, 1, 16034, 3084, 62, 15377, 1415, 33411, 366, 34, 3986, 1, 1875, 705, 21, 11, 830, 6 ]
What's the address of the union bank of California tower?
SELECT "Street address" FROM table_38558 WHERE "Name" = 'union bank of california tower'
[ 2061, 338, 262, 2209, 286, 262, 6441, 3331, 286, 3442, 10580, 30, 46506, 366, 34356, 2209, 1, 16034, 3084, 62, 2548, 40486, 33411, 366, 5376, 1, 796, 705, 24592, 3331, 286, 2386, 361, 3317, 10580, 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, 338, 262, 2209, 286, 262, 6441, 3331, 286, 3442, 10580, 30, 46506, 366, 34356, 2209, 1, 16034, 3084, 62, 2548, 40486, 33411, 366, 5376, 1, 796, 705, 24592, 3331, 286, 2386, 361, 3317, 10580, 6 ]
Show all ages and corresponding number of students. Show the correlation.
SELECT Age, COUNT(*) FROM Student GROUP BY Age
[ 15307, 477, 9337, 290, 11188, 1271, 286, 2444, 13, 5438, 262, 16096, 13, 46506, 7129, 11, 327, 28270, 7, 28104, 16034, 13613, 44441, 11050, 7129 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 477, 9337, 290, 11188, 1271, 286, 2444, 13, 5438, 262, 16096, 13, 46506, 7129, 11, 327, 28270, 7, 28104, 16034, 13613, 44441, 11050, 7129 ]
Tell me the opponent for attendance of 55,527
SELECT opponent FROM table_name_24 WHERE attendance = "55,527"
[ 24446, 502, 262, 6125, 329, 14858, 286, 5996, 11, 20, 1983, 46506, 6125, 16034, 3084, 62, 3672, 62, 1731, 33411, 14858, 796, 366, 2816, 11, 20, 1983, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 24446, 502, 262, 6125, 329, 14858, 286, 5996, 11, 20, 1983, 46506, 6125, 16034, 3084, 62, 3672, 62, 1731, 33411, 14858, 796, 366, 2816, 11, 20, 1983, 1 ]
What is the relationship between student_id and monthly_rental ?
SELECT student_id, monthly_rental FROM Student_Addresses ORDER BY monthly_rental DESC
[ 2061, 318, 262, 2776, 1022, 3710, 62, 312, 290, 9651, 62, 1156, 282, 5633, 46506, 3710, 62, 312, 11, 9651, 62, 1156, 282, 16034, 13613, 62, 4550, 16746, 38678, 11050, 9651, 62, 1156, 282, 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 ]
[ 2061, 318, 262, 2776, 1022, 3710, 62, 312, 290, 9651, 62, 1156, 282, 5633, 46506, 3710, 62, 312, 11, 9651, 62, 1156, 282, 16034, 13613, 62, 4550, 16746, 38678, 11050, 9651, 62, 1156, 282, 22196, 34 ]
what round happened at galpharm stadium?
SELECT "Round" FROM table_10812 WHERE "Venue" = 'galpharm stadium'
[ 10919, 2835, 3022, 379, 9426, 746, 1670, 10308, 30, 46506, 366, 22685, 1, 16034, 3084, 62, 15711, 1065, 33411, 366, 37522, 518, 1, 796, 705, 13528, 746, 1670, 10308, 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 ]
[ 10919, 2835, 3022, 379, 9426, 746, 1670, 10308, 30, 46506, 366, 22685, 1, 16034, 3084, 62, 15711, 1065, 33411, 366, 37522, 518, 1, 796, 705, 13528, 746, 1670, 10308, 6 ]
Give me a bar graph showing the total number of different product names, I want to rank x axis in ascending order.
SELECT Product_Name, COUNT(Product_Name) FROM Products GROUP BY Product_Name ORDER BY Product_Name
[ 23318, 502, 257, 2318, 4823, 4478, 262, 2472, 1271, 286, 1180, 1720, 3891, 11, 314, 765, 284, 4279, 2124, 16488, 287, 41988, 1502, 13, 46506, 8721, 62, 5376, 11, 327, 28270, 7, 15667, 62, 5376, 8, 16034, 18675, 44441, 11050, 8721, 62,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 23318, 502, 257, 2318, 4823, 4478, 262, 2472, 1271, 286, 1180, 1720, 3891, 11, 314, 765, 284, 4279, 2124, 16488, 287, 41988, 1502, 13, 46506, 8721, 62, 5376, 11, 327, 28270, 7, 15667, 62, 5376, 8, 16034, 18675, 44441, 11050, 8721, 62,...
What was the period for 1896?
SELECT "Period" FROM table_10581 WHERE "Year" = '1896'
[ 2061, 373, 262, 2278, 329, 46723, 30, 46506, 366, 5990, 2101, 1, 16034, 3084, 62, 940, 48630, 33411, 366, 17688, 1, 796, 705, 1507, 4846, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 2278, 329, 46723, 30, 46506, 366, 5990, 2101, 1, 16034, 3084, 62, 940, 48630, 33411, 366, 17688, 1, 796, 705, 1507, 4846, 6 ]
What's the axle ratio of the model with model designation 97G00?
SELECT "Axle Ratio" FROM table_23973 WHERE "Model Designation" = '97G00'
[ 2061, 338, 262, 41066, 8064, 286, 262, 2746, 351, 2746, 22566, 10111, 38, 405, 30, 46506, 366, 31554, 293, 33956, 1, 16034, 3084, 62, 23516, 4790, 33411, 366, 17633, 8495, 341, 1, 796, 705, 5607, 38, 405, 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, 338, 262, 41066, 8064, 286, 262, 2746, 351, 2746, 22566, 10111, 38, 405, 30, 46506, 366, 31554, 293, 33956, 1, 16034, 3084, 62, 23516, 4790, 33411, 366, 17633, 8495, 341, 1, 796, 705, 5607, 38, 405, 6 ]
What is the highest amount of group legs won when the prize money was 21,850?
SELECT MAX(Winners) AS group_legs_won FROM table_24334163_1 WHERE total_money_won = "£21,850"
[ 2061, 318, 262, 4511, 2033, 286, 1448, 7405, 1839, 618, 262, 11596, 1637, 373, 2310, 11, 25764, 30, 46506, 25882, 7, 16643, 2741, 8, 7054, 1448, 62, 1455, 82, 62, 26502, 16034, 3084, 62, 1731, 31380, 24136, 62, 16, 33411, 2472, 62, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4511, 2033, 286, 1448, 7405, 1839, 618, 262, 11596, 1637, 373, 2310, 11, 25764, 30, 46506, 25882, 7, 16643, 2741, 8, 7054, 1448, 62, 1455, 82, 62, 26502, 16034, 3084, 62, 1731, 31380, 24136, 62, 16, 33411, 2472, 62, ...
What communes have enrolled values of 174946?
SELECT communes FROM table_2683116_1 WHERE enrolled = 174946
[ 2061, 1316, 274, 423, 18724, 3815, 286, 1596, 2920, 3510, 30, 46506, 1316, 274, 16034, 3084, 62, 2075, 5999, 18298, 62, 16, 33411, 18724, 796, 1596, 2920, 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, 1316, 274, 423, 18724, 3815, 286, 1596, 2920, 3510, 30, 46506, 1316, 274, 16034, 3084, 62, 2075, 5999, 18298, 62, 16, 33411, 18724, 796, 1596, 2920, 3510 ]
What is the highest population (2000 Census) that has a rank of 43, population (2010 Census) larger than 231,271, and population (2005 Census) larger than 157,632?
SELECT MAX("Population (2000 Census)") FROM table_41125 WHERE "Population (2005 Census)" > '157,632' AND "Rank" = '43' AND "Population (2010 Census)" > '231,271'
[ 2061, 318, 262, 4511, 3265, 357, 11024, 20962, 8, 326, 468, 257, 4279, 286, 5946, 11, 3265, 357, 10333, 20962, 8, 4025, 621, 34598, 11, 28977, 11, 290, 3265, 357, 14315, 20962, 8, 4025, 621, 23313, 11, 21, 2624, 30, 46506, 25882, 72...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3265, 357, 11024, 20962, 8, 326, 468, 257, 4279, 286, 5946, 11, 3265, 357, 10333, 20962, 8, 4025, 621, 34598, 11, 28977, 11, 290, 3265, 357, 14315, 20962, 8, 4025, 621, 23313, 11, 21, 2624, 30, 46506, 25882, 72...
Find all the stage positions of the musicians with first name 'Solveig
SELECT DISTINCT T1.stageposition FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate = T2.id WHERE Firstname = "Solveig"
[ 16742, 477, 262, 3800, 6116, 286, 262, 17245, 351, 717, 1438, 705, 50, 6442, 328, 46506, 360, 8808, 1268, 4177, 309, 16, 13, 14247, 9150, 16034, 15193, 7054, 309, 16, 32357, 1268, 10243, 7054, 309, 17, 6177, 309, 16, 13, 3903, 9830, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16742, 477, 262, 3800, 6116, 286, 262, 17245, 351, 717, 1438, 705, 50, 6442, 328, 46506, 360, 8808, 1268, 4177, 309, 16, 13, 14247, 9150, 16034, 15193, 7054, 309, 16, 32357, 1268, 10243, 7054, 309, 17, 6177, 309, 16, 13, 3903, 9830, ...
in what year did joe public win the trinidad and tobago league cup after losing the prior year ?
SELECT "season" FROM table_204_894 WHERE "winner" = 'joe public'
[ 259, 644, 614, 750, 2525, 68, 1171, 1592, 262, 491, 259, 32482, 290, 10773, 3839, 4652, 6508, 706, 6078, 262, 3161, 614, 5633, 46506, 366, 6230, 1, 16034, 3084, 62, 18638, 62, 4531, 19, 33411, 366, 39791, 1, 796, 705, 73, 2577, 1171...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 259, 644, 614, 750, 2525, 68, 1171, 1592, 262, 491, 259, 32482, 290, 10773, 3839, 4652, 6508, 706, 6078, 262, 3161, 614, 5633, 46506, 366, 6230, 1, 16034, 3084, 62, 18638, 62, 4531, 19, 33411, 366, 39791, 1, 796, 705, 73, 2577, 1171...
what is the total number of seats 2001 with seats 2006 more than 10 and voter communities of cdu?
SELECT SUM(seats_2001) FROM table_name_91 WHERE parties_and_voter_communities = "cdu" AND seats_2006 > 10
[ 10919, 318, 262, 2472, 1271, 286, 8632, 5878, 351, 8632, 4793, 517, 621, 838, 290, 10765, 5348, 286, 269, 646, 30, 46506, 35683, 7, 325, 1381, 62, 14585, 8, 16034, 3084, 62, 3672, 62, 6420, 33411, 4671, 62, 392, 62, 85, 19543, 62, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 2472, 1271, 286, 8632, 5878, 351, 8632, 4793, 517, 621, 838, 290, 10765, 5348, 286, 269, 646, 30, 46506, 35683, 7, 325, 1381, 62, 14585, 8, 16034, 3084, 62, 3672, 62, 6420, 33411, 4671, 62, 392, 62, 85, 19543, 62, ...
What is the sum of Rob Coldray's goals when he made fewer than 348 appearances with goals/game ratio less than 0.313?
SELECT SUM("Goals") FROM table_41628 WHERE "Goals/Game Ratio" < '0.313' AND "Name" = 'rob coldray' AND "Appearances" < '348'
[ 2061, 318, 262, 2160, 286, 3851, 10250, 2433, 338, 4661, 618, 339, 925, 7380, 621, 44084, 11057, 351, 4661, 14, 6057, 8064, 1342, 621, 657, 13, 25838, 30, 46506, 35683, 7203, 5247, 874, 4943, 16034, 3084, 62, 35218, 2078, 33411, 366, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 318, 262, 2160, 286, 3851, 10250, 2433, 338, 4661, 618, 339, 925, 7380, 621, 44084, 11057, 351, 4661, 14, 6057, 8064, 1342, 621, 657, 13, 25838, 30, 46506, 35683, 7203, 5247, 874, 4943, 16034, 3084, 62, 35218, 2078, 33411, 366, ...
Return a bar chart on how many documents are there of each type?, and rank from low to high by the x-axis.
SELECT Document_Type_Code, COUNT(*) FROM Documents GROUP BY Document_Type_Code ORDER BY Document_Type_Code
[ 13615, 257, 2318, 8262, 319, 703, 867, 4963, 389, 612, 286, 1123, 2099, 21747, 290, 4279, 422, 1877, 284, 1029, 416, 262, 2124, 12, 22704, 13, 46506, 16854, 62, 6030, 62, 10669, 11, 327, 28270, 7, 28104, 16034, 33267, 44441, 11050, 16...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13615, 257, 2318, 8262, 319, 703, 867, 4963, 389, 612, 286, 1123, 2099, 21747, 290, 4279, 422, 1877, 284, 1029, 416, 262, 2124, 12, 22704, 13, 46506, 16854, 62, 6030, 62, 10669, 11, 327, 28270, 7, 28104, 16034, 33267, 44441, 11050, 16...
For each party, return the name of the party and the number of delegates from that party.
SELECT T2.Party, SUM(COUNT(*)) FROM election AS T1 JOIN party AS T2 ON T1.Party = T2.Party_ID GROUP BY T2.Party
[ 1890, 1123, 2151, 11, 1441, 262, 1438, 286, 262, 2151, 290, 262, 1271, 286, 15265, 422, 326, 2151, 13, 46506, 309, 17, 13, 33553, 11, 35683, 7, 34, 28270, 46491, 4008, 16034, 3071, 7054, 309, 16, 32357, 1268, 2151, 7054, 309, 17, 61...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1890, 1123, 2151, 11, 1441, 262, 1438, 286, 262, 2151, 290, 262, 1271, 286, 15265, 422, 326, 2151, 13, 46506, 309, 17, 13, 33553, 11, 35683, 7, 34, 28270, 46491, 4008, 16034, 3071, 7054, 309, 16, 32357, 1268, 2151, 7054, 309, 17, 61...