instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
What is the structure of the document with the least number of accesses?
SELECT t2.document_structure_description FROM documents AS t1 JOIN document_structures AS t2 ON t1.document_structure_code = t2.document_structure_code GROUP BY t1.document_structure_code ORDER BY COUNT(*) DESC LIMIT 1
[ 2061, 318, 262, 4645, 286, 262, 3188, 351, 262, 1551, 1271, 286, 1895, 274, 30, 46506, 256, 17, 13, 22897, 62, 301, 5620, 62, 11213, 16034, 4963, 7054, 256, 16, 32357, 1268, 3188, 62, 7249, 942, 7054, 256, 17, 6177, 256, 16, 13, 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...
[ 2061, 318, 262, 4645, 286, 262, 3188, 351, 262, 1551, 1271, 286, 1895, 274, 30, 46506, 256, 17, 13, 22897, 62, 301, 5620, 62, 11213, 16034, 4963, 7054, 256, 16, 32357, 1268, 3188, 62, 7249, 942, 7054, 256, 17, 6177, 256, 16, 13, 2...
Is CLIMATE 102 included in the morning class list ?
SELECT COUNT(*) > 0 FROM course, course_offering, semester WHERE course_offering.start_time < '12:00:00' AND course_offering.start_time >= '08:00:00' AND course.course_id = course_offering.course_id AND course.department = 'CLIMATE' AND course.number = 102 AND semester.semester = 'WN' AND semester.semester_id = course_...
[ 3792, 7852, 3955, 6158, 15143, 3017, 287, 262, 3329, 1398, 1351, 5633, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 24878, 33411, 1781, 62, 2364, 1586, 13, 9688, 62, 2435, 1279, 705, 1065, 25, 405...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7852, 3955, 6158, 15143, 3017, 287, 262, 3329, 1398, 1351, 5633, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 24878, 33411, 1781, 62, 2364, 1586, 13, 9688, 62, 2435, 1279, 705, 1065, 25, 405...
Questions with negative score asked in the last month.
SELECT p.Id AS "post_link", p.CreationDate, p.Score, p.ViewCount, p.ClosedDate FROM Posts AS p WHERE p.PostTypeId = 1 AND MONTH(p.CreationDate) = MONTH(CURRENT_TIMESTAMP()) - 1 AND YEAR(p.CreationDate) = YEAR(CURRENT_TIMESTAMP()) AND p.Score < 0 ORDER BY p.Score DESC
[ 35741, 351, 4633, 4776, 1965, 287, 262, 938, 1227, 13, 46506, 279, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 279, 13, 12443, 341, 10430, 11, 279, 13, 26595, 11, 279, 13, 7680, 12332, 11, 279, 13, 2601, 1335, 10430, 16034, 12043, 70...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 35741, 351, 4633, 4776, 1965, 287, 262, 938, 1227, 13, 46506, 279, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 279, 13, 12443, 341, 10430, 11, 279, 13, 26595, 11, 279, 13, 7680, 12332, 11, 279, 13, 2601, 1335, 10430, 16034, 12043, 70...
When the crowd was larger than 7,500 what was the away teams score?
SELECT "Away team score" FROM table_58011 WHERE "Crowd" > '7,500'
[ 2215, 262, 4315, 373, 4025, 621, 767, 11, 4059, 644, 373, 262, 1497, 3466, 4776, 30, 46506, 366, 32, 1014, 1074, 4776, 1, 16034, 3084, 62, 3365, 28555, 33411, 366, 34, 3986, 1, 1875, 705, 22, 11, 4059, 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, 4315, 373, 4025, 621, 767, 11, 4059, 644, 373, 262, 1497, 3466, 4776, 30, 46506, 366, 32, 1014, 1074, 4776, 1, 16034, 3084, 62, 3365, 28555, 33411, 366, 34, 3986, 1, 1875, 705, 22, 11, 4059, 6 ]
How many students whose are playing the role of goalie?
SELECT COUNT(*) FROM tryout WHERE ppos = 'goalie'
[ 2437, 867, 2444, 3025, 389, 2712, 262, 2597, 286, 31071, 30, 46506, 327, 28270, 7, 28104, 16034, 1949, 448, 33411, 279, 1930, 796, 705, 35231, 494, 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 ]
[ 2437, 867, 2444, 3025, 389, 2712, 262, 2597, 286, 31071, 30, 46506, 327, 28270, 7, 28104, 16034, 1949, 448, 33411, 279, 1930, 796, 705, 35231, 494, 6 ]
What language is spoken after 2007 for the role of urvashi mathur?
SELECT "Language" FROM table_71340 WHERE "Year" > '2007' AND "Role" = 'urvashi mathur'
[ 2061, 3303, 318, 9635, 706, 4343, 329, 262, 2597, 286, 2956, 85, 12144, 10688, 333, 30, 46506, 366, 32065, 1, 16034, 3084, 62, 50055, 1821, 33411, 366, 17688, 1, 1875, 705, 12726, 6, 5357, 366, 47445, 1, 796, 705, 333, 85, 12144, 10...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 3303, 318, 9635, 706, 4343, 329, 262, 2597, 286, 2956, 85, 12144, 10688, 333, 30, 46506, 366, 32065, 1, 16034, 3084, 62, 50055, 1821, 33411, 366, 17688, 1, 1875, 705, 12726, 6, 5357, 366, 47445, 1, 796, 705, 333, 85, 12144, 10...
Show names of pilots that have more than one record.
SELECT T2.pilot_name, COUNT(*) FROM pilot_record AS T1 JOIN pilot AS T2 ON T1.pilot_id = T2.pilot_id GROUP BY T2.pilot_name HAVING COUNT(*) > 1
[ 15307, 3891, 286, 14982, 326, 423, 517, 621, 530, 1700, 13, 46506, 309, 17, 13, 79, 23439, 62, 3672, 11, 327, 28270, 7, 28104, 16034, 8022, 62, 22105, 7054, 309, 16, 32357, 1268, 8022, 7054, 309, 17, 6177, 309, 16, 13, 79, 23439, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3891, 286, 14982, 326, 423, 517, 621, 530, 1700, 13, 46506, 309, 17, 13, 79, 23439, 62, 3672, 11, 327, 28270, 7, 28104, 16034, 8022, 62, 22105, 7054, 309, 16, 32357, 1268, 8022, 7054, 309, 17, 6177, 309, 16, 13, 79, 23439, ...
In what state is the Thomas Assembly Center located?
SELECT state FROM table_name_5 WHERE venue = "thomas assembly center"
[ 818, 644, 1181, 318, 262, 5658, 10006, 3337, 5140, 30, 46506, 1181, 16034, 3084, 62, 3672, 62, 20, 33411, 14359, 796, 366, 400, 16911, 10474, 3641, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 818, 644, 1181, 318, 262, 5658, 10006, 3337, 5140, 30, 46506, 1181, 16034, 3084, 62, 3672, 62, 20, 33411, 14359, 796, 366, 400, 16911, 10474, 3641, 1 ]
What stadium was the game held in when the final score was 17-31?
SELECT stadium FROM table_name_88 WHERE final_score = "17-31"
[ 2061, 10308, 373, 262, 983, 2714, 287, 618, 262, 2457, 4776, 373, 1596, 12, 3132, 30, 46506, 10308, 16034, 3084, 62, 3672, 62, 3459, 33411, 2457, 62, 26675, 796, 366, 1558, 12, 3132, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10308, 373, 262, 983, 2714, 287, 618, 262, 2457, 4776, 373, 1596, 12, 3132, 30, 46506, 10308, 16034, 3084, 62, 3672, 62, 3459, 33411, 2457, 62, 26675, 796, 366, 1558, 12, 3132, 1 ]
How many times was the finish t32?
SELECT COUNT(total) FROM table_name_92 WHERE finish = "t32"
[ 2437, 867, 1661, 373, 262, 5461, 256, 2624, 30, 46506, 327, 28270, 7, 23350, 8, 16034, 3084, 62, 3672, 62, 5892, 33411, 5461, 796, 366, 83, 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 ]
[ 2437, 867, 1661, 373, 262, 5461, 256, 2624, 30, 46506, 327, 28270, 7, 23350, 8, 16034, 3084, 62, 3672, 62, 5892, 33411, 5461, 796, 366, 83, 2624, 1 ]
What was the weekly rank by Virgin media for the title aired on May 20, 2010?
SELECT MIN(weekly_rank_virgin_media) FROM table_26826304_2 WHERE air_date = "May 20, 2010"
[ 2061, 373, 262, 10273, 4279, 416, 5283, 2056, 329, 262, 3670, 18530, 319, 1737, 1160, 11, 3050, 30, 46506, 20625, 7, 45291, 62, 43027, 62, 85, 4672, 62, 11431, 8, 16034, 3084, 62, 25022, 2075, 21288, 62, 17, 33411, 1633, 62, 4475, 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 ]
[ 2061, 373, 262, 10273, 4279, 416, 5283, 2056, 329, 262, 3670, 18530, 319, 1737, 1160, 11, 3050, 30, 46506, 20625, 7, 45291, 62, 43027, 62, 85, 4672, 62, 11431, 8, 16034, 3084, 62, 25022, 2075, 21288, 62, 17, 33411, 1633, 62, 4475, 7...
what is the number of emergency room admitted patients who have mesenteric ischemia primary disease?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_location = "EMERGENCY ROOM ADMIT" AND demographic.diagnosis = "MESENTERIC ISCHEMIA"
[ 10919, 318, 262, 1271, 286, 6334, 2119, 6848, 3871, 508, 423, 18842, 9255, 291, 318, 15245, 544, 4165, 4369, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 1271, 286, 6334, 2119, 6848, 3871, 508, 423, 18842, 9255, 291, 318, 15245, 544, 4165, 4369, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, ...
What stadium(sO does san juan jabloteh play in?
SELECT stadium FROM table_25794138_1 WHERE team = "San Juan Jabloteh"
[ 2061, 10308, 7, 82, 46, 857, 5336, 474, 7258, 474, 23117, 1258, 71, 711, 287, 30, 46506, 10308, 16034, 3084, 62, 1495, 50242, 20107, 62, 16, 33411, 1074, 796, 366, 15017, 16852, 449, 23117, 1258, 71, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10308, 7, 82, 46, 857, 5336, 474, 7258, 474, 23117, 1258, 71, 711, 287, 30, 46506, 10308, 16034, 3084, 62, 1495, 50242, 20107, 62, 16, 33411, 1074, 796, 366, 15017, 16852, 449, 23117, 1258, 71, 1 ]
how many patients whose admission type is urgent and procedure long title is venous catheterization for renal dialysis?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_type = "URGENT" AND procedures.long_title = "Venous catheterization for renal dialysis"
[ 4919, 867, 3871, 3025, 13938, 2099, 318, 18039, 290, 8771, 890, 3670, 318, 8710, 516, 3797, 43332, 1634, 329, 44375, 5980, 3097, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 3871, 3025, 13938, 2099, 318, 18039, 290, 8771, 890, 3670, 318, 8710, 516, 3797, 43332, 1634, 329, 44375, 5980, 3097, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, ...
patients who take more than 1 g of vitamin c per day before enrollment or who take supplemental thiamine
SELECT * FROM table_train_42 WHERE taking_vitamin_c = 1 OR taking_thiamine = 1
[ 8071, 2334, 508, 1011, 517, 621, 352, 308, 286, 14411, 269, 583, 1110, 878, 20753, 393, 508, 1011, 34885, 294, 1789, 500, 46506, 1635, 16034, 3084, 62, 27432, 62, 3682, 33411, 2263, 62, 85, 40746, 62, 66, 796, 352, 6375, 2263, 62, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8071, 2334, 508, 1011, 517, 621, 352, 308, 286, 14411, 269, 583, 1110, 878, 20753, 393, 508, 1011, 34885, 294, 1789, 500, 46506, 1635, 16034, 3084, 62, 27432, 62, 3682, 33411, 2263, 62, 85, 40746, 62, 66, 796, 352, 6375, 2263, 62, 4...
Find the number of checking accounts for each account name.
SELECT COUNT(*), T1.name FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid GROUP BY T1.name
[ 16742, 262, 1271, 286, 10627, 5504, 329, 1123, 1848, 1438, 13, 46506, 327, 28270, 46491, 828, 309, 16, 13, 3672, 16034, 5504, 7054, 309, 16, 32357, 1268, 10627, 7054, 309, 17, 6177, 309, 16, 13, 66, 436, 312, 796, 309, 17, 13, 66, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16742, 262, 1271, 286, 10627, 5504, 329, 1123, 1848, 1438, 13, 46506, 327, 28270, 46491, 828, 309, 16, 13, 3672, 16034, 5504, 7054, 309, 16, 32357, 1268, 10627, 7054, 309, 17, 6177, 309, 16, 13, 66, 436, 312, 796, 309, 17, 13, 66, ...
What is the most bronze when the total is 14, and there are more than 6 gold?
SELECT MAX("Bronze") FROM table_65874 WHERE "Total" = '14' AND "Gold" > '6'
[ 2061, 318, 262, 749, 22101, 618, 262, 2472, 318, 1478, 11, 290, 612, 389, 517, 621, 718, 3869, 30, 46506, 25882, 7203, 18760, 2736, 4943, 16034, 3084, 62, 38431, 4524, 33411, 366, 14957, 1, 796, 705, 1415, 6, 5357, 366, 13306, 1, 18...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 749, 22101, 618, 262, 2472, 318, 1478, 11, 290, 612, 389, 517, 621, 718, 3869, 30, 46506, 25882, 7203, 18760, 2736, 4943, 16034, 3084, 62, 38431, 4524, 33411, 366, 14957, 1, 796, 705, 1415, 6, 5357, 366, 13306, 1, 18...
jamie callan 's publications by year
SELECT DISTINCT paper.paperid, paper.year FROM author, paper, writes WHERE author.authorname = 'jamie callan' AND writes.authorid = author.authorid AND writes.paperid = paper.paperid ORDER BY paper.year
[ 39159, 494, 869, 272, 705, 82, 16125, 416, 614, 46506, 360, 8808, 1268, 4177, 3348, 13, 20189, 312, 11, 3348, 13, 1941, 16034, 1772, 11, 3348, 11, 6797, 33411, 1772, 13, 18439, 1211, 480, 796, 705, 39159, 494, 869, 272, 6, 5357, 679...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 39159, 494, 869, 272, 705, 82, 16125, 416, 614, 46506, 360, 8808, 1268, 4177, 3348, 13, 20189, 312, 11, 3348, 13, 1941, 16034, 1772, 11, 3348, 11, 6797, 33411, 1772, 13, 18439, 1211, 480, 796, 705, 39159, 494, 869, 272, 6, 5357, 679...
which country has the smallest capacity stadium ?
SELECT "country" FROM table_204_392 ORDER BY "capacity" LIMIT 1
[ 4758, 1499, 468, 262, 18197, 5339, 10308, 5633, 46506, 366, 19315, 1, 16034, 3084, 62, 18638, 62, 32321, 38678, 11050, 366, 42404, 1, 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 ]
[ 4758, 1499, 468, 262, 18197, 5339, 10308, 5633, 46506, 366, 19315, 1, 16034, 3084, 62, 18638, 62, 32321, 38678, 11050, 366, 42404, 1, 27564, 2043, 352 ]
What are the statuses and average populations of each city Plot them as bar chart, and list by the y-axis in asc.
SELECT Status, AVG(Population) FROM city GROUP BY Status ORDER BY AVG(Population)
[ 2061, 389, 262, 1185, 2664, 290, 2811, 9684, 286, 1123, 1748, 28114, 606, 355, 2318, 8262, 11, 290, 1351, 416, 262, 331, 12, 22704, 287, 10570, 13, 46506, 12678, 11, 35224, 7, 45251, 8, 16034, 1748, 44441, 11050, 12678, 38678, 11050, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1185, 2664, 290, 2811, 9684, 286, 1123, 1748, 28114, 606, 355, 2318, 8262, 11, 290, 1351, 416, 262, 331, 12, 22704, 287, 10570, 13, 46506, 12678, 11, 35224, 7, 45251, 8, 16034, 1748, 44441, 11050, 12678, 38678, 11050, ...
who are the writers of the episode that had 3.07 millions of North American spectators?
SELECT "Written by" FROM table_24696 WHERE "U.S. viewers (million)" = '3.07'
[ 8727, 389, 262, 8786, 286, 262, 4471, 326, 550, 513, 13, 2998, 5242, 286, 2258, 1605, 31704, 30, 46506, 366, 25354, 416, 1, 16034, 3084, 62, 1731, 38205, 33411, 366, 52, 13, 50, 13, 10209, 357, 14100, 16725, 796, 705, 18, 13, 2998, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8727, 389, 262, 8786, 286, 262, 4471, 326, 550, 513, 13, 2998, 5242, 286, 2258, 1605, 31704, 30, 46506, 366, 25354, 416, 1, 16034, 3084, 62, 1731, 38205, 33411, 366, 52, 13, 50, 13, 10209, 357, 14100, 16725, 796, 705, 18, 13, 2998, ...
Which Position has a Player of bernard thompson?
SELECT "Position" FROM table_8854 WHERE "Player" = 'bernard thompson'
[ 13828, 23158, 468, 257, 7853, 286, 275, 1142, 446, 294, 296, 8430, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 3459, 4051, 33411, 366, 14140, 1, 796, 705, 33900, 446, 294, 296, 8430, 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 ]
[ 13828, 23158, 468, 257, 7853, 286, 275, 1142, 446, 294, 296, 8430, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 3459, 4051, 33411, 366, 14140, 1, 796, 705, 33900, 446, 294, 296, 8430, 6 ]
Which player has a score of 68-69-73=210
SELECT player FROM table_name_8 WHERE score = 68 - 69 - 73 = 210
[ 13828, 2137, 468, 257, 4776, 286, 8257, 12, 3388, 12, 4790, 28, 21536, 46506, 2137, 16034, 3084, 62, 3672, 62, 23, 33411, 4776, 796, 8257, 532, 8644, 532, 8854, 796, 20064 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 2137, 468, 257, 4776, 286, 8257, 12, 3388, 12, 4790, 28, 21536, 46506, 2137, 16034, 3084, 62, 3672, 62, 23, 33411, 4776, 796, 8257, 532, 8644, 532, 8854, 796, 20064 ]
How many different locations does each school have?
SELECT COUNT(DISTINCT dept_address), school_code FROM department GROUP BY school_code
[ 2437, 867, 1180, 7064, 857, 1123, 1524, 423, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 390, 457, 62, 21975, 828, 1524, 62, 8189, 16034, 5011, 44441, 11050, 1524, 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 ]
[ 2437, 867, 1180, 7064, 857, 1123, 1524, 423, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 390, 457, 62, 21975, 828, 1524, 62, 8189, 16034, 5011, 44441, 11050, 1524, 62, 8189 ]
Visualize a scatter chart about the correlation between Team_ID and All_Games_Percent , and group by attribute Team_Name.
SELECT Team_ID, All_Games_Percent FROM basketball_match GROUP BY Team_Name
[ 36259, 1096, 257, 41058, 8262, 546, 262, 16096, 1022, 4816, 62, 2389, 290, 1439, 62, 24474, 62, 31905, 837, 290, 1448, 416, 11688, 4816, 62, 5376, 13, 46506, 4816, 62, 2389, 11, 1439, 62, 24474, 62, 31905, 16034, 9669, 62, 15699, 4444...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 36259, 1096, 257, 41058, 8262, 546, 262, 16096, 1022, 4816, 62, 2389, 290, 1439, 62, 24474, 62, 31905, 837, 290, 1448, 416, 11688, 4816, 62, 5376, 13, 46506, 4816, 62, 2389, 11, 1439, 62, 24474, 62, 31905, 16034, 9669, 62, 15699, 4444...
What is the largest bronze with a Rank of 2, and a Gold smaller than 8?
SELECT MAX("Bronze") FROM table_5454 WHERE "Rank" = '2' AND "Gold" < '8'
[ 2061, 318, 262, 4387, 22101, 351, 257, 10916, 286, 362, 11, 290, 257, 3561, 4833, 621, 807, 30, 46506, 25882, 7203, 18760, 2736, 4943, 16034, 3084, 62, 20, 34229, 33411, 366, 27520, 1, 796, 705, 17, 6, 5357, 366, 13306, 1, 1279, 705...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4387, 22101, 351, 257, 10916, 286, 362, 11, 290, 257, 3561, 4833, 621, 807, 30, 46506, 25882, 7203, 18760, 2736, 4943, 16034, 3084, 62, 20, 34229, 33411, 366, 27520, 1, 796, 705, 17, 6, 5357, 366, 13306, 1, 1279, 705...
What is the Round against Gillingham with an Against smaller than 3?
SELECT "Round" FROM table_63418 WHERE "Opposing Team" = 'gillingham' AND "Against" < '3'
[ 2061, 318, 262, 10485, 1028, 402, 4509, 2763, 351, 281, 12914, 4833, 621, 513, 30, 46506, 366, 22685, 1, 16034, 3084, 62, 21, 2682, 1507, 33411, 366, 27524, 2752, 4816, 1, 796, 705, 70, 4509, 2763, 6, 5357, 366, 39276, 1, 1279, 705,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 10485, 1028, 402, 4509, 2763, 351, 281, 12914, 4833, 621, 513, 30, 46506, 366, 22685, 1, 16034, 3084, 62, 21, 2682, 1507, 33411, 366, 27524, 2752, 4816, 1, 796, 705, 70, 4509, 2763, 6, 5357, 366, 39276, 1, 1279, 705,...
Give me the comparison about Weight over the Date_of_Birth by a bar chart, and display by the x axis in desc please.
SELECT Date_of_Birth, Weight FROM people ORDER BY Date_of_Birth DESC
[ 23318, 502, 262, 7208, 546, 14331, 625, 262, 7536, 62, 1659, 62, 38480, 416, 257, 2318, 8262, 11, 290, 3359, 416, 262, 2124, 16488, 287, 1715, 3387, 13, 46506, 7536, 62, 1659, 62, 38480, 11, 14331, 16034, 661, 38678, 11050, 7536, 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 ]
[ 23318, 502, 262, 7208, 546, 14331, 625, 262, 7536, 62, 1659, 62, 38480, 416, 257, 2318, 8262, 11, 290, 3359, 416, 262, 2124, 16488, 287, 1715, 3387, 13, 46506, 7536, 62, 1659, 62, 38480, 11, 14331, 16034, 661, 38678, 11050, 7536, 62, ...
What team was the away team for the venue punt road oval?
SELECT "Away team" FROM table_4722 WHERE "Venue" = 'punt road oval'
[ 2061, 1074, 373, 262, 1497, 1074, 329, 262, 14359, 35363, 2975, 41186, 30, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 2857, 1828, 33411, 366, 37522, 518, 1, 796, 705, 79, 2797, 2975, 41186, 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, 1074, 373, 262, 1497, 1074, 329, 262, 14359, 35363, 2975, 41186, 30, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 2857, 1828, 33411, 366, 37522, 518, 1, 796, 705, 79, 2797, 2975, 41186, 6 ]
what was the floor exercise score with a pommel horse score of 9.65 and horizontal bar score more than 9.475?
SELECT MAX(floor_exercise) FROM table_name_81 WHERE pommel_horse = 9.65 AND horizontal_bar > 9.475
[ 10919, 373, 262, 4314, 5517, 4776, 351, 257, 279, 48990, 8223, 4776, 286, 860, 13, 2996, 290, 16021, 2318, 4776, 517, 621, 860, 13, 32576, 30, 46506, 25882, 7, 28300, 62, 1069, 23697, 8, 16034, 3084, 62, 3672, 62, 6659, 33411, 279, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4314, 5517, 4776, 351, 257, 279, 48990, 8223, 4776, 286, 860, 13, 2996, 290, 16021, 2318, 4776, 517, 621, 860, 13, 32576, 30, 46506, 25882, 7, 28300, 62, 1069, 23697, 8, 16034, 3084, 62, 3672, 62, 6659, 33411, 279, ...
What was the final score of the Paul Goldstein match?
SELECT "Score" FROM table_56309 WHERE "Opponent in the final" = 'paul goldstein'
[ 2061, 373, 262, 2457, 4776, 286, 262, 3362, 45655, 2872, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 3980, 26895, 33411, 366, 27524, 3471, 287, 262, 2457, 1, 796, 705, 79, 2518, 3869, 5714, 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, 373, 262, 2457, 4776, 286, 262, 3362, 45655, 2872, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 3980, 26895, 33411, 366, 27524, 3471, 287, 262, 2457, 1, 796, 705, 79, 2518, 3869, 5714, 6 ]
What is the enrollment at Lanesville?
SELECT AVG("Enrollment") FROM table_14181 WHERE "School" = 'lanesville'
[ 2061, 318, 262, 20753, 379, 406, 7305, 4244, 30, 46506, 35224, 7203, 4834, 48108, 4943, 16034, 3084, 62, 1415, 27057, 33411, 366, 26130, 1, 796, 705, 75, 7305, 4244, 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 ]
[ 2061, 318, 262, 20753, 379, 406, 7305, 4244, 30, 46506, 35224, 7203, 4834, 48108, 4943, 16034, 3084, 62, 1415, 27057, 33411, 366, 26130, 1, 796, 705, 75, 7305, 4244, 6 ]
What is the largest points number where the difference is 12?
SELECT MAX("Points") FROM table_7215 WHERE "Difference" = '12'
[ 2061, 318, 262, 4387, 2173, 1271, 810, 262, 3580, 318, 1105, 30, 46506, 25882, 7203, 40710, 4943, 16034, 3084, 62, 4761, 1314, 33411, 366, 28813, 1945, 1, 796, 705, 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, 1 ]
[ 2061, 318, 262, 4387, 2173, 1271, 810, 262, 3580, 318, 1105, 30, 46506, 25882, 7203, 40710, 4943, 16034, 3084, 62, 4761, 1314, 33411, 366, 28813, 1945, 1, 796, 705, 1065, 6 ]
Who is the winner in the location of ljvm coliseum winston-salem, nc?
SELECT "Winner" FROM table_24294 WHERE "Location" = 'LJVM Coliseum • Winston-Salem, NC'
[ 8241, 318, 262, 8464, 287, 262, 4067, 286, 300, 73, 14761, 951, 38277, 1592, 3743, 12, 21680, 368, 11, 299, 66, 30, 46506, 366, 48056, 1, 16034, 3084, 62, 1731, 27696, 33411, 366, 14749, 1, 796, 705, 43, 41, 15996, 40846, 5595, 2140...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8464, 287, 262, 4067, 286, 300, 73, 14761, 951, 38277, 1592, 3743, 12, 21680, 368, 11, 299, 66, 30, 46506, 366, 48056, 1, 16034, 3084, 62, 1731, 27696, 33411, 366, 14749, 1, 796, 705, 43, 41, 15996, 40846, 5595, 2140...
Can I leave at 5:00 P.M. every day if I take 370 and 489 ?
SELECT COUNT(*) = 0 FROM course INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN semester ON semester.semester_id = course_offering.semester WHERE (course.number = 370 OR course.number = 489) AND course_offering.end_time > '17:00:00' AND semester.semester = 'WN' AND semester.year = ...
[ 6090, 314, 2666, 379, 642, 25, 405, 350, 13, 44, 13, 790, 1110, 611, 314, 1011, 28687, 290, 604, 4531, 5633, 46506, 327, 28270, 7, 28104, 796, 657, 16034, 1781, 3268, 21479, 32357, 1268, 1781, 62, 2364, 1586, 6177, 1781, 13, 17319, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 6090, 314, 2666, 379, 642, 25, 405, 350, 13, 44, 13, 790, 1110, 611, 314, 1011, 28687, 290, 604, 4531, 5633, 46506, 327, 28270, 7, 28104, 796, 657, 16034, 1781, 3268, 21479, 32357, 1268, 1781, 62, 2364, 1586, 6177, 1781, 13, 17319, ...
What was his money list rank in 2001?
SELECT MIN(money_list_rank) FROM table_22839669_12 WHERE year = 2001
[ 2061, 373, 465, 1637, 1351, 4279, 287, 5878, 30, 46506, 20625, 7, 26316, 62, 4868, 62, 43027, 8, 16034, 3084, 62, 23815, 2670, 36657, 62, 1065, 33411, 614, 796, 5878 ]
[ 1, 1, 1, 1, 1, 1, 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, 465, 1637, 1351, 4279, 287, 5878, 30, 46506, 20625, 7, 26316, 62, 4868, 62, 43027, 8, 16034, 3084, 62, 23815, 2670, 36657, 62, 1065, 33411, 614, 796, 5878 ]
Which school joined in 1971 and left in 1975?
SELECT "School" FROM table_13277 WHERE "Year Joined" = '1971' AND "Year Left" = '1975'
[ 13828, 1524, 5399, 287, 16382, 290, 1364, 287, 15231, 30, 46506, 366, 26130, 1, 16034, 3084, 62, 1485, 27019, 33411, 366, 17688, 16709, 1, 796, 705, 41208, 6, 5357, 366, 17688, 9578, 1, 796, 705, 38449, 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, 1524, 5399, 287, 16382, 290, 1364, 287, 15231, 30, 46506, 366, 26130, 1, 16034, 3084, 62, 1485, 27019, 33411, 366, 17688, 16709, 1, 796, 705, 41208, 6, 5357, 366, 17688, 9578, 1, 796, 705, 38449, 6 ]
what intake did patient 006-157753 eat for the first time on the current intensive care unit visit?
SELECT intakeoutput.celllabel FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-157753') AND patient.unitdischargetime IS NULL) AND inta...
[ 10919, 10337, 750, 5827, 3571, 21, 12, 18458, 44550, 4483, 329, 262, 717, 640, 319, 262, 1459, 18590, 1337, 4326, 3187, 30, 46506, 10337, 22915, 13, 3846, 18242, 16034, 10337, 22915, 33411, 10337, 22915, 13, 26029, 20850, 31712, 312, 3268...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 10337, 750, 5827, 3571, 21, 12, 18458, 44550, 4483, 329, 262, 717, 640, 319, 262, 1459, 18590, 1337, 4326, 3187, 30, 46506, 10337, 22915, 13, 3846, 18242, 16034, 10337, 22915, 33411, 10337, 22915, 13, 26029, 20850, 31712, 312, 3268...
Find the number of activities available.
SELECT COUNT(*) FROM activity
[ 16742, 262, 1271, 286, 4568, 1695, 13, 46506, 327, 28270, 7, 28104, 16034, 3842 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16742, 262, 1271, 286, 4568, 1695, 13, 46506, 327, 28270, 7, 28104, 16034, 3842 ]
Which Number stayed in Southeast has over 4,000 emigrated or forcibly removed?
SELECT "Number stayed in Southeast" FROM table_6518 WHERE "Total number emigrated or forcibly removed" = 'over 4,000'
[ 13828, 7913, 9658, 287, 21199, 468, 625, 604, 11, 830, 795, 38769, 393, 30522, 4615, 30, 46506, 366, 15057, 9658, 287, 21199, 1, 16034, 3084, 62, 2996, 1507, 33411, 366, 14957, 1271, 795, 38769, 393, 30522, 4615, 1, 796, 705, 2502, 60...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7913, 9658, 287, 21199, 468, 625, 604, 11, 830, 795, 38769, 393, 30522, 4615, 30, 46506, 366, 15057, 9658, 287, 21199, 1, 16034, 3084, 62, 2996, 1507, 33411, 366, 14957, 1271, 795, 38769, 393, 30522, 4615, 1, 796, 705, 2502, 60...
Which season led to a position of 13, and a head coach of Protasov Lyutyi Talalayev Balakhnin Baidachny?
SELECT season FROM table_name_24 WHERE pos = 13 AND head_coach = "protasov lyutyi talalayev balakhnin baidachny"
[ 13828, 1622, 2957, 284, 257, 2292, 286, 1511, 11, 290, 257, 1182, 3985, 286, 5038, 292, 709, 9334, 3935, 72, 7193, 282, 323, 1990, 8528, 11322, 35073, 347, 1698, 620, 3281, 30, 46506, 1622, 16034, 3084, 62, 3672, 62, 1731, 33411, 1426...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1622, 2957, 284, 257, 2292, 286, 1511, 11, 290, 257, 1182, 3985, 286, 5038, 292, 709, 9334, 3935, 72, 7193, 282, 323, 1990, 8528, 11322, 35073, 347, 1698, 620, 3281, 30, 46506, 1622, 16034, 3084, 62, 3672, 62, 1731, 33411, 1426...
For those records from the products and each product's manufacturer, draw a bar chart about the distribution of founder and the average of manufacturer , and group by attribute founder.
SELECT Founder, AVG(Manufacturer) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 3197, 257, 2318, 8262, 546, 262, 6082, 286, 9119, 290, 262, 2811, 286, 11554, 837, 290, 1448, 416, 11688, 9119, 13, 46506, 30153, 11, 35224, 7, 44445, 15051, 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...
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 3197, 257, 2318, 8262, 546, 262, 6082, 286, 9119, 290, 262, 2811, 286, 11554, 837, 290, 1448, 416, 11688, 9119, 13, 46506, 30153, 11, 35224, 7, 44445, 15051, 8, 16034, ...
Which date has an Away team of fitzroy?
SELECT date FROM table_name_67 WHERE away_team = "fitzroy"
[ 13828, 3128, 468, 281, 21986, 1074, 286, 4197, 89, 3287, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 3134, 33411, 1497, 62, 15097, 796, 366, 69, 4224, 3287, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 3128, 468, 281, 21986, 1074, 286, 4197, 89, 3287, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 3134, 33411, 1497, 62, 15097, 796, 366, 69, 4224, 3287, 1 ]
I want to see the result for venue of n and attendance more than 20,664
SELECT "Result" FROM table_56205 WHERE "Venue" = 'n' AND "Attendance" > '20,664'
[ 40, 765, 284, 766, 262, 1255, 329, 14359, 286, 299, 290, 14858, 517, 621, 1160, 11, 21, 2414, 46506, 366, 23004, 1, 16034, 3084, 62, 3980, 21261, 33411, 366, 37522, 518, 1, 796, 705, 77, 6, 5357, 366, 8086, 437, 590, 1, 1875, 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 ]
[ 40, 765, 284, 766, 262, 1255, 329, 14359, 286, 299, 290, 14858, 517, 621, 1160, 11, 21, 2414, 46506, 366, 23004, 1, 16034, 3084, 62, 3980, 21261, 33411, 366, 37522, 518, 1, 796, 705, 77, 6, 5357, 366, 8086, 437, 590, 1, 1875, 705,...
What is the arrangement for bets3ab 3alia nafsy?
SELECT "Arrangement" FROM table_30200 WHERE "Title" = 'Bets3ab 3alia Nafsy'
[ 2061, 318, 262, 13888, 329, 29222, 18, 397, 513, 9752, 299, 1878, 1837, 30, 46506, 366, 3163, 36985, 972, 1, 16034, 3084, 62, 1270, 2167, 33411, 366, 19160, 1, 796, 705, 33, 1039, 18, 397, 513, 9752, 399, 1878, 1837, 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, 13888, 329, 29222, 18, 397, 513, 9752, 299, 1878, 1837, 30, 46506, 366, 3163, 36985, 972, 1, 16034, 3084, 62, 1270, 2167, 33411, 366, 19160, 1, 796, 705, 33, 1039, 18, 397, 513, 9752, 399, 1878, 1837, 6 ]
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, a bar chart shows the distribution of job_id and the sum of manager_id , and group by attribute job_id, sort in asc by the Y-axis.
SELECT JOB_ID, SUM(MANAGER_ID) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 GROUP BY JOB_ID ORDER BY SUM(MANAGER_ID)
[ 1890, 883, 4409, 3025, 9588, 318, 287, 262, 2837, 286, 38055, 290, 1105, 830, 290, 5810, 318, 407, 9242, 393, 5011, 1271, 857, 407, 4961, 284, 2319, 11, 257, 2318, 8262, 2523, 262, 6082, 286, 1693, 62, 312, 290, 262, 2160, 286, 4706...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4409, 3025, 9588, 318, 287, 262, 2837, 286, 38055, 290, 1105, 830, 290, 5810, 318, 407, 9242, 393, 5011, 1271, 857, 407, 4961, 284, 2319, 11, 257, 2318, 8262, 2523, 262, 6082, 286, 1693, 62, 312, 290, 262, 2160, 286, 4706...
count the number of patients whose ethnicity is asian and admission year is less than 2108?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "ASIAN" AND demographic.admityear < "2108"
[ 9127, 262, 1271, 286, 3871, 3025, 26289, 318, 355, 666, 290, 13938, 614, 318, 1342, 621, 362, 15711, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 38546, 414, 796, 366, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 9127, 262, 1271, 286, 3871, 3025, 26289, 318, 355, 666, 290, 13938, 614, 318, 1342, 621, 362, 15711, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 38546, 414, 796, 366, ...
What is the date that is Away team is Honduras?
SELECT "Date" FROM table_43150 WHERE "Away team" = 'honduras'
[ 2061, 318, 262, 3128, 326, 318, 21986, 1074, 318, 32982, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 50080, 1120, 33411, 366, 32, 1014, 1074, 1, 796, 705, 71, 623, 17786, 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, 326, 318, 21986, 1074, 318, 32982, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 50080, 1120, 33411, 366, 32, 1014, 1074, 1, 796, 705, 71, 623, 17786, 6 ]
How many networks are there whose version of the shows includes judges tba and the presenter is Arbana Osmani?
SELECT COUNT("Network") FROM table_3999 WHERE "Judges" = 'TBA' AND "Presenter(s)" = 'Arbana Osmani'
[ 2437, 867, 7686, 389, 612, 3025, 2196, 286, 262, 2523, 3407, 10266, 256, 7012, 290, 262, 39597, 318, 943, 65, 2271, 8834, 805, 72, 30, 46506, 327, 28270, 7203, 26245, 4943, 16034, 3084, 62, 18, 17032, 33411, 366, 26141, 3212, 1, 796, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 7686, 389, 612, 3025, 2196, 286, 262, 2523, 3407, 10266, 256, 7012, 290, 262, 39597, 318, 943, 65, 2271, 8834, 805, 72, 30, 46506, 327, 28270, 7203, 26245, 4943, 16034, 3084, 62, 18, 17032, 33411, 366, 26141, 3212, 1, 796, ...
Which memeber has nsw as the state, a first elected of 1952, and alp as the party?
SELECT "Member" FROM table_6779 WHERE "State" = 'nsw' AND "First elected" = '1952' AND "Party" = 'alp'
[ 13828, 25336, 527, 468, 299, 2032, 355, 262, 1181, 11, 257, 717, 7018, 286, 26352, 11, 290, 435, 79, 355, 262, 2151, 30, 46506, 366, 27608, 1, 16034, 3084, 62, 3134, 3720, 33411, 366, 9012, 1, 796, 705, 77, 2032, 6, 5357, 366, 596...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 25336, 527, 468, 299, 2032, 355, 262, 1181, 11, 257, 717, 7018, 286, 26352, 11, 290, 435, 79, 355, 262, 2151, 30, 46506, 366, 27608, 1, 16034, 3084, 62, 3134, 3720, 33411, 366, 9012, 1, 796, 705, 77, 2032, 6, 5357, 366, 596...
Show each school name, its budgeted amount, and invested amount in year 2002 or after.
SELECT T2.school_name, T1.budgeted, T1.invested FROM budget AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id WHERE T1.year >= 2002
[ 15307, 1123, 1524, 1438, 11, 663, 4466, 276, 2033, 11, 290, 13356, 2033, 287, 614, 6244, 393, 706, 13, 46506, 309, 17, 13, 14347, 62, 3672, 11, 309, 16, 13, 37315, 276, 11, 309, 16, 13, 24859, 276, 16034, 4466, 7054, 309, 16, 3235...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1123, 1524, 1438, 11, 663, 4466, 276, 2033, 11, 290, 13356, 2033, 287, 614, 6244, 393, 706, 13, 46506, 309, 17, 13, 14347, 62, 3672, 11, 309, 16, 13, 37315, 276, 11, 309, 16, 13, 24859, 276, 16034, 4466, 7054, 309, 16, 3235...
What is the frequency of KQLX?
SELECT "Frequency" FROM table_53996 WHERE "Call sign" = 'kqlx'
[ 2061, 318, 262, 8373, 286, 509, 9711, 55, 30, 46506, 366, 37, 28707, 1, 16034, 3084, 62, 4310, 38565, 33411, 366, 14134, 1051, 1, 796, 705, 74, 13976, 87, 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 ]
[ 2061, 318, 262, 8373, 286, 509, 9711, 55, 30, 46506, 366, 37, 28707, 1, 16034, 3084, 62, 4310, 38565, 33411, 366, 14134, 1051, 1, 796, 705, 74, 13976, 87, 6 ]
Round smaller than 7, and an Overall of 129 is what college?
SELECT college FROM table_name_67 WHERE round < 7 AND overall = 129
[ 22685, 4833, 621, 767, 11, 290, 281, 14674, 286, 20248, 318, 644, 4152, 30, 46506, 4152, 16034, 3084, 62, 3672, 62, 3134, 33411, 2835, 1279, 767, 5357, 4045, 796, 20248 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 22685, 4833, 621, 767, 11, 290, 281, 14674, 286, 20248, 318, 644, 4152, 30, 46506, 4152, 16034, 3084, 62, 3672, 62, 3134, 33411, 2835, 1279, 767, 5357, 4045, 796, 20248 ]
What's the total number of years with a Rank that smaller than 7, Studio of Red Chillies Entertainment, and Opening Weekend Net Gross of 52,93,00,000?
SELECT COUNT("Year") FROM table_11618 WHERE "Rank" < '7' AND "Studio(s)" = 'red chillies entertainment' AND "Opening Weekend Net Gross" = '52,93,00,000'
[ 2061, 338, 262, 2472, 1271, 286, 812, 351, 257, 10916, 326, 4833, 621, 767, 11, 11733, 286, 2297, 38290, 444, 11058, 11, 290, 25522, 30537, 3433, 21796, 286, 6740, 11, 6052, 11, 405, 11, 830, 30, 46506, 327, 28270, 7203, 17688, 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...
[ 2061, 338, 262, 2472, 1271, 286, 812, 351, 257, 10916, 326, 4833, 621, 767, 11, 11733, 286, 2297, 38290, 444, 11058, 11, 290, 25522, 30537, 3433, 21796, 286, 6740, 11, 6052, 11, 405, 11, 830, 30, 46506, 327, 28270, 7203, 17688, 4943, ...
Name the maximum points for libertad
SELECT MAX(points) FROM table_18607260_6 WHERE team = "Libertad"
[ 5376, 262, 5415, 2173, 329, 3655, 83, 324, 46506, 25882, 7, 13033, 8, 16034, 3084, 62, 1507, 1899, 4761, 1899, 62, 21, 33411, 1074, 796, 366, 31199, 83, 324, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 5415, 2173, 329, 3655, 83, 324, 46506, 25882, 7, 13033, 8, 16034, 3084, 62, 1507, 1899, 4761, 1899, 62, 21, 33411, 1074, 796, 366, 31199, 83, 324, 1 ]
What county is CERCLIS ID nhd062004569 in?
SELECT county FROM table_name_61 WHERE cerclis_id = "nhd062004569"
[ 2061, 7968, 318, 327, 1137, 5097, 1797, 4522, 299, 31298, 3312, 2167, 2231, 3388, 287, 30, 46506, 7968, 16034, 3084, 62, 3672, 62, 5333, 33411, 26074, 565, 271, 62, 312, 796, 366, 77, 31298, 3312, 2167, 2231, 3388, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7968, 318, 327, 1137, 5097, 1797, 4522, 299, 31298, 3312, 2167, 2231, 3388, 287, 30, 46506, 7968, 16034, 3084, 62, 3672, 62, 5333, 33411, 26074, 565, 271, 62, 312, 796, 366, 77, 31298, 3312, 2167, 2231, 3388, 1 ]
what are the three most commonly prescribed medications for patients who have received audiological evaluation before during the same month, during this year?
SELECT t3.drug FROM (SELECT t2.drug, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, procedures_icd.charttime FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures ...
[ 10919, 389, 262, 1115, 749, 8811, 14798, 17638, 329, 3871, 508, 423, 2722, 2709, 15071, 12660, 878, 1141, 262, 976, 1227, 11, 1141, 428, 614, 30, 46506, 256, 18, 13, 30349, 16034, 357, 46506, 256, 17, 13, 30349, 11, 360, 24290, 62, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 389, 262, 1115, 749, 8811, 14798, 17638, 329, 3871, 508, 423, 2722, 2709, 15071, 12660, 878, 1141, 262, 976, 1227, 11, 1141, 428, 614, 30, 46506, 256, 18, 13, 30349, 16034, 357, 46506, 256, 17, 13, 30349, 11, 360, 24290, 62, ...
Which Date has a Result of 2 2, and a Venue of H?
SELECT date FROM table_name_3 WHERE result = "2–2" AND venue = "h"
[ 13828, 7536, 468, 257, 25414, 286, 362, 362, 11, 290, 257, 9932, 518, 286, 367, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 18, 33411, 1255, 796, 366, 17, 1906, 17, 1, 5357, 14359, 796, 366, 71, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7536, 468, 257, 25414, 286, 362, 362, 11, 290, 257, 9932, 518, 286, 367, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 18, 33411, 1255, 796, 366, 17, 1906, 17, 1, 5357, 14359, 796, 366, 71, 1 ]
count the number of patients whose procedure icd9 code is 4610?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE procedures.icd9_code = "4610"
[ 9127, 262, 1271, 286, 3871, 3025, 8771, 14158, 67, 24, 2438, 318, 6337, 940, 30, 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, 76, 62, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 9127, 262, 1271, 286, 3871, 3025, 8771, 14158, 67, 24, 2438, 318, 6337, 940, 30, 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, 76, 62, ...
how many patients with black/cape verdean ethnicity were given the drug psyllium wafer?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.ethnicity = "BLACK/CAPE VERDEAN" AND prescriptions.drug = "Psyllium Wafer"
[ 4919, 867, 3871, 351, 2042, 14, 36435, 3326, 2934, 272, 26289, 547, 1813, 262, 2563, 17331, 297, 1505, 266, 34659, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 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...
[ 4919, 867, 3871, 351, 2042, 14, 36435, 3326, 2934, 272, 26289, 547, 1813, 262, 2563, 17331, 297, 1505, 266, 34659, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 3...
What is the name and country of origin of the artist who released a song that has 'love' in its title?
SELECT T1.artist_name, T1.country FROM artist AS T1 JOIN song AS T2 ON T1.artist_name = T2.artist_name WHERE T2.song_name LIKE "%love%"
[ 2061, 318, 262, 1438, 290, 1499, 286, 8159, 286, 262, 6802, 508, 2716, 257, 3496, 326, 468, 705, 23205, 6, 287, 663, 3670, 30, 46506, 309, 16, 13, 49016, 62, 3672, 11, 309, 16, 13, 19315, 16034, 6802, 7054, 309, 16, 32357, 1268, 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...
[ 2061, 318, 262, 1438, 290, 1499, 286, 8159, 286, 262, 6802, 508, 2716, 257, 3496, 326, 468, 705, 23205, 6, 287, 663, 3670, 30, 46506, 309, 16, 13, 49016, 62, 3672, 11, 309, 16, 13, 19315, 16034, 6802, 7054, 309, 16, 32357, 1268, 3...
What is the former school of the player from Detroit, MI?
SELECT "Former school" FROM table_31126 WHERE "Hometown" = 'Detroit, MI'
[ 2061, 318, 262, 1966, 1524, 286, 262, 2137, 422, 8488, 11, 15789, 30, 46506, 366, 14282, 1524, 1, 16034, 3084, 62, 3132, 19420, 33411, 366, 39, 19191, 1, 796, 705, 40404, 11, 15789, 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, 262, 1966, 1524, 286, 262, 2137, 422, 8488, 11, 15789, 30, 46506, 366, 14282, 1524, 1, 16034, 3084, 62, 3132, 19420, 33411, 366, 39, 19191, 1, 796, 705, 40404, 11, 15789, 6 ]
what are the three most commonly taken specimen tests in a year before for patients who were previously diagnosed with atrial fibrillation during the same month?
SELECT t3.culturesite FROM (SELECT t2.culturesite, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'atrial fibrillation' AND DATETIME(diagnosis....
[ 10919, 389, 262, 1115, 749, 8811, 2077, 31674, 5254, 287, 257, 614, 878, 329, 3871, 508, 547, 4271, 14641, 351, 379, 4454, 277, 2889, 40903, 1141, 262, 976, 1227, 30, 46506, 256, 18, 13, 40820, 942, 578, 16034, 357, 46506, 256, 17, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 389, 262, 1115, 749, 8811, 2077, 31674, 5254, 287, 257, 614, 878, 329, 3871, 508, 547, 4271, 14641, 351, 379, 4454, 277, 2889, 40903, 1141, 262, 976, 1227, 30, 46506, 256, 18, 13, 40820, 942, 578, 16034, 357, 46506, 256, 17, ...
How much is the money ($) when the country is united states, to par is e and the score is 72-75-70-71=288?
SELECT SUM("Money ( $ )") FROM table_9524 WHERE "Country" = 'united states' AND "To par" = 'e' AND "Score" = '72-75-70-71=288'
[ 2437, 881, 318, 262, 1637, 45491, 618, 262, 1499, 318, 16503, 2585, 11, 284, 1582, 318, 304, 290, 262, 4776, 318, 7724, 12, 2425, 12, 2154, 12, 4869, 28, 25270, 30, 46506, 35683, 7203, 26788, 357, 720, 1267, 4943, 16034, 3084, 62, 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...
[ 2437, 881, 318, 262, 1637, 45491, 618, 262, 1499, 318, 16503, 2585, 11, 284, 1582, 318, 304, 290, 262, 4776, 318, 7724, 12, 2425, 12, 2154, 12, 4869, 28, 25270, 30, 46506, 35683, 7203, 26788, 357, 720, 1267, 4943, 16034, 3084, 62, 3...
Which college has a linebacker from Lessburg High School?
SELECT college FROM table_name_92 WHERE position = "linebacker" AND school = "lessburg high school"
[ 13828, 4152, 468, 257, 18961, 422, 12892, 7423, 3334, 3961, 30, 46506, 4152, 16034, 3084, 62, 3672, 62, 5892, 33411, 2292, 796, 366, 1370, 49978, 1, 5357, 1524, 796, 366, 1203, 7423, 1029, 1524, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4152, 468, 257, 18961, 422, 12892, 7423, 3334, 3961, 30, 46506, 4152, 16034, 3084, 62, 3672, 62, 5892, 33411, 2292, 796, 366, 1370, 49978, 1, 5357, 1524, 796, 366, 1203, 7423, 1029, 1524, 1 ]
where was the only tournament in 1991 held ?
SELECT "tournament" FROM table_204_553 WHERE "date" = 1991
[ 3003, 373, 262, 691, 7756, 287, 10249, 2714, 5633, 46506, 366, 83, 5138, 1, 16034, 3084, 62, 18638, 62, 48096, 33411, 366, 4475, 1, 796, 10249 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 3003, 373, 262, 691, 7756, 287, 10249, 2714, 5633, 46506, 366, 83, 5138, 1, 16034, 3084, 62, 18638, 62, 48096, 33411, 366, 4475, 1, 796, 10249 ]
A bar chart showing the average price of each cinema, and sort names in ascending order.
SELECT Name, AVG(Price) FROM schedule AS T1 JOIN film AS T2 ON T1.Film_ID = T2.Film_ID JOIN cinema AS T3 ON T1.Cinema_ID = T3.Cinema_ID GROUP BY Name ORDER BY Name
[ 32, 2318, 8262, 4478, 262, 2811, 2756, 286, 1123, 22041, 11, 290, 3297, 3891, 287, 41988, 1502, 13, 46506, 6530, 11, 35224, 7, 18124, 8, 16034, 7269, 7054, 309, 16, 32357, 1268, 2646, 7054, 309, 17, 6177, 309, 16, 13, 39750, 62, 238...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 32, 2318, 8262, 4478, 262, 2811, 2756, 286, 1123, 22041, 11, 290, 3297, 3891, 287, 41988, 1502, 13, 46506, 6530, 11, 35224, 7, 18124, 8, 16034, 7269, 7054, 309, 16, 32357, 1268, 2646, 7054, 309, 17, 6177, 309, 16, 13, 39750, 62, 238...
what is the minimum days of hospital stay of patients whose admission type is urgent?
SELECT MIN(demographic.days_stay) FROM demographic WHERE demographic.admission_type = "URGENT"
[ 10919, 318, 262, 5288, 1528, 286, 4436, 2652, 286, 3871, 3025, 13938, 2099, 318, 18039, 30, 46506, 20625, 7, 9536, 6826, 13, 12545, 62, 31712, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, 4906, 796, 366, 4261, 38, 3525, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5288, 1528, 286, 4436, 2652, 286, 3871, 3025, 13938, 2099, 318, 18039, 30, 46506, 20625, 7, 9536, 6826, 13, 12545, 62, 31712, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, 4906, 796, 366, 4261, 38, 3525, 1 ]
Which Film has a Song of 'ek ladki ko dekha'?
SELECT "Film" FROM table_34120 WHERE "Song" = 'ek ladki ko dekha'
[ 13828, 13741, 468, 257, 10940, 286, 705, 988, 9717, 4106, 41727, 390, 74, 3099, 30960, 46506, 366, 39750, 1, 16034, 3084, 62, 2682, 10232, 33411, 366, 44241, 1, 796, 705, 988, 9717, 4106, 41727, 390, 74, 3099, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 13741, 468, 257, 10940, 286, 705, 988, 9717, 4106, 41727, 390, 74, 3099, 30960, 46506, 366, 39750, 1, 16034, 3084, 62, 2682, 10232, 33411, 366, 44241, 1, 796, 705, 988, 9717, 4106, 41727, 390, 74, 3099, 6 ]
provide the number of patients whose ethnicity is hispanic/latino - puerto rican and procedure long title is colonoscopy?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.ethnicity = "HISPANIC/LATINO - PUERTO RICAN" AND procedures.long_title = "Colonoscopy"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 26289, 318, 465, 35843, 14, 15460, 2879, 532, 47574, 13806, 374, 7490, 290, 8771, 890, 3670, 318, 7633, 17500, 11081, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 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...
[ 15234, 485, 262, 1271, 286, 3871, 3025, 26289, 318, 465, 35843, 14, 15460, 2879, 532, 47574, 13806, 374, 7490, 290, 8771, 890, 3670, 318, 7633, 17500, 11081, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8...
What is the Name of the Player from Albuquerque, New Mexico?
SELECT "Name" FROM table_61344 WHERE "Hometown" = 'albuquerque, new mexico'
[ 2061, 318, 262, 6530, 286, 262, 7853, 422, 38633, 11, 968, 5828, 30, 46506, 366, 5376, 1, 16034, 3084, 62, 47512, 2598, 33411, 366, 39, 19191, 1, 796, 705, 282, 36461, 11, 649, 502, 87, 3713, 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, 6530, 286, 262, 7853, 422, 38633, 11, 968, 5828, 30, 46506, 366, 5376, 1, 16034, 3084, 62, 47512, 2598, 33411, 366, 39, 19191, 1, 796, 705, 282, 36461, 11, 649, 502, 87, 3713, 6 ]
What Round is in Ullevaal?
SELECT "Round" FROM table_49401 WHERE "Venue" = 'ullevaal'
[ 2061, 10485, 318, 287, 16322, 2768, 64, 282, 30, 46506, 366, 22685, 1, 16034, 3084, 62, 2920, 21844, 33411, 366, 37522, 518, 1, 796, 705, 377, 2768, 64, 282, 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 ]
[ 2061, 10485, 318, 287, 16322, 2768, 64, 282, 30, 46506, 366, 22685, 1, 16034, 3084, 62, 2920, 21844, 33411, 366, 37522, 518, 1, 796, 705, 377, 2768, 64, 282, 6 ]
count the number of patients whose diagnosis long title is other diseases of lung, not elsewhere classified and drug type is additive.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.long_title = "Other diseases of lung, not elsewhere classified" AND prescriptions.drug_type = "ADDITIVE"
[ 9127, 262, 1271, 286, 3871, 3025, 13669, 890, 3670, 318, 584, 10040, 286, 12317, 11, 407, 8057, 10090, 290, 2563, 2099, 318, 38298, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 2147...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9127, 262, 1271, 286, 3871, 3025, 13669, 890, 3670, 318, 584, 10040, 286, 12317, 11, 407, 8057, 10090, 290, 2563, 2099, 318, 38298, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 2147...
what are the procedures that are the top four most common until 2103?
SELECT d_icd_procedures.short_title FROM d_icd_procedures WHERE d_icd_procedures.icd9_code IN (SELECT t1.icd9_code FROM (SELECT procedures_icd.icd9_code, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM procedures_icd WHERE STRFTIME('%y', procedures_icd.charttime) <= '2103' GROUP BY procedures_icd.icd9_code) AS t1...
[ 10919, 389, 262, 9021, 326, 389, 262, 1353, 1440, 749, 2219, 1566, 362, 15197, 30, 46506, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 1676, 771, 942, 33411, 288, 62, 291, 67, 62, 1676, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9021, 326, 389, 262, 1353, 1440, 749, 2219, 1566, 362, 15197, 30, 46506, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 1676, 771, 942, 33411, 288, 62, 291, 67, 62, 1676, ...
select distinct * from posts p inner join posttags pt on pt.postid = p.id inner join tags t on pt.ta.
SELECT question.Id AS QuestionId, question.Score AS QuestionScore, question.Title AS QuestionTitle, question.Body AS QuestionBody, question.Tags, answer.Id AS AcceptedAnswerId, answer.Score AS AnswerScore, answer.Body AS AnswerBody FROM Posts AS question JOIN Posts AS answer ON question.AcceptedAnswerId = answer.Id INN...
[ 19738, 7310, 1635, 422, 6851, 279, 8434, 4654, 1281, 31499, 42975, 319, 42975, 13, 7353, 312, 796, 279, 13, 312, 8434, 4654, 15940, 256, 319, 42975, 13, 8326, 13, 46506, 1808, 13, 7390, 7054, 18233, 7390, 11, 1808, 13, 26595, 7054, 18...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 19738, 7310, 1635, 422, 6851, 279, 8434, 4654, 1281, 31499, 42975, 319, 42975, 13, 7353, 312, 796, 279, 13, 312, 8434, 4654, 15940, 256, 319, 42975, 13, 8326, 13, 46506, 1808, 13, 7390, 7054, 18233, 7390, 11, 1808, 13, 26595, 7054, 18...
When 62 is the number in series who is the writer?
SELECT written_by FROM table_27657925_1 WHERE no_in_series = "62"
[ 2215, 8190, 318, 262, 1271, 287, 2168, 508, 318, 262, 6260, 30, 46506, 3194, 62, 1525, 16034, 3084, 62, 1983, 2996, 3720, 1495, 62, 16, 33411, 645, 62, 259, 62, 25076, 796, 366, 5237, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8190, 318, 262, 1271, 287, 2168, 508, 318, 262, 6260, 30, 46506, 3194, 62, 1525, 16034, 3084, 62, 1983, 2996, 3720, 1495, 62, 16, 33411, 645, 62, 259, 62, 25076, 796, 366, 5237, 1 ]
Find the dates of the tests taken with result 'Pass', and count them by a bar chart, display by the names in ascending.
SELECT date_test_taken, COUNT(date_test_taken) FROM Student_Tests_Taken WHERE test_result = "Pass" GROUP BY date_test_taken ORDER BY date_test_taken
[ 16742, 262, 9667, 286, 262, 5254, 2077, 351, 1255, 705, 14478, 3256, 290, 954, 606, 416, 257, 2318, 8262, 11, 3359, 416, 262, 3891, 287, 41988, 13, 46506, 3128, 62, 9288, 62, 83, 1685, 11, 327, 28270, 7, 4475, 62, 9288, 62, 83, 16...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 16742, 262, 9667, 286, 262, 5254, 2077, 351, 1255, 705, 14478, 3256, 290, 954, 606, 416, 257, 2318, 8262, 11, 3359, 416, 262, 3891, 287, 41988, 13, 46506, 3128, 62, 9288, 62, 83, 1685, 11, 327, 28270, 7, 4475, 62, 9288, 62, 83, 16...
which model had the highest starting price
SELECT "model" FROM table_203_42 ORDER BY "starting price" DESC LIMIT 1
[ 4758, 2746, 550, 262, 4511, 3599, 2756, 46506, 366, 19849, 1, 16034, 3084, 62, 22416, 62, 3682, 38678, 11050, 366, 38690, 2756, 1, 22196, 34, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4758, 2746, 550, 262, 4511, 3599, 2756, 46506, 366, 19849, 1, 16034, 3084, 62, 22416, 62, 3682, 38678, 11050, 366, 38690, 2756, 1, 22196, 34, 27564, 2043, 352 ]
What was the score of the game when the Indians ended up with a record of 55-51?
SELECT score FROM table_name_33 WHERE record = "55-51"
[ 2061, 373, 262, 4776, 286, 262, 983, 618, 262, 12746, 4444, 510, 351, 257, 1700, 286, 5996, 12, 4349, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 2091, 33411, 1700, 796, 366, 2816, 12, 4349, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4776, 286, 262, 983, 618, 262, 12746, 4444, 510, 351, 257, 1700, 286, 5996, 12, 4349, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 2091, 33411, 1700, 796, 366, 2816, 12, 4349, 1 ]
List all of the player ids with a height of at least 180cm and an overall rating higher than 85.
SELECT player_api_id FROM player WHERE height >= 180 INTERSECT SELECT player_api_id FROM player_attributes WHERE overall_rating > 85
[ 8053, 477, 286, 262, 2137, 220, 2340, 351, 257, 6001, 286, 379, 1551, 11546, 11215, 290, 281, 4045, 7955, 2440, 621, 7600, 13, 46506, 2137, 62, 15042, 62, 312, 16034, 2137, 33411, 6001, 18189, 11546, 17828, 4877, 9782, 33493, 2137, 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 ]
[ 8053, 477, 286, 262, 2137, 220, 2340, 351, 257, 6001, 286, 379, 1551, 11546, 11215, 290, 281, 4045, 7955, 2440, 621, 7600, 13, 46506, 2137, 62, 15042, 62, 312, 16034, 2137, 33411, 6001, 18189, 11546, 17828, 4877, 9782, 33493, 2137, 62, ...
What date shows a Loss of lilly (2 2)?
SELECT date FROM table_name_80 WHERE loss = "lilly (2–2)"
[ 2061, 3128, 2523, 257, 22014, 286, 300, 6548, 357, 17, 362, 19427, 46506, 3128, 16034, 3084, 62, 3672, 62, 1795, 33411, 2994, 796, 366, 75, 6548, 357, 17, 1906, 17, 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 ]
[ 2061, 3128, 2523, 257, 22014, 286, 300, 6548, 357, 17, 362, 19427, 46506, 3128, 16034, 3084, 62, 3672, 62, 1795, 33411, 2994, 796, 366, 75, 6548, 357, 17, 1906, 17, 16725 ]
What was the actors name that vadim ilyenko directed?
SELECT "Actors Name" FROM table_16010 WHERE "Director" = 'Vadim Ilyenko'
[ 2061, 373, 262, 10544, 1438, 326, 410, 324, 320, 220, 813, 32720, 7924, 30, 46506, 366, 32, 5217, 6530, 1, 16034, 3084, 62, 1433, 20943, 33411, 366, 28702, 1, 796, 705, 53, 324, 320, 49804, 32720, 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, 373, 262, 10544, 1438, 326, 410, 324, 320, 220, 813, 32720, 7924, 30, 46506, 366, 32, 5217, 6530, 1, 16034, 3084, 62, 1433, 20943, 33411, 366, 28702, 1, 796, 705, 53, 324, 320, 49804, 32720, 6 ]
which year held the most tournaments ?
SELECT "year" FROM table_203_300 GROUP BY "year" ORDER BY COUNT("tournament") DESC LIMIT 1
[ 4758, 614, 2714, 262, 749, 18130, 5633, 46506, 366, 1941, 1, 16034, 3084, 62, 22416, 62, 6200, 44441, 11050, 366, 1941, 1, 38678, 11050, 327, 28270, 7203, 83, 5138, 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 ]
[ 4758, 614, 2714, 262, 749, 18130, 5633, 46506, 366, 1941, 1, 16034, 3084, 62, 22416, 62, 6200, 44441, 11050, 366, 1941, 1, 38678, 11050, 327, 28270, 7203, 83, 5138, 4943, 22196, 34, 27564, 2043, 352 ]
How large is the crowd with an Away team score of 7.13 (55)?
SELECT COUNT("Crowd") FROM table_54577 WHERE "Away team score" = '7.13 (55)'
[ 2437, 1588, 318, 262, 4315, 351, 281, 21986, 1074, 4776, 286, 767, 13, 1485, 357, 2816, 19427, 46506, 327, 28270, 7203, 34, 3986, 4943, 16034, 3084, 62, 45326, 3324, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 22, 13, 1485, 357, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 1588, 318, 262, 4315, 351, 281, 21986, 1074, 4776, 286, 767, 13, 1485, 357, 2816, 19427, 46506, 327, 28270, 7203, 34, 3986, 4943, 16034, 3084, 62, 45326, 3324, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 22, 13, 1485, 357, ...
Which Ch of Senators has a LEMA/SUBLEMA of lema?
SELECT "Ch. of Senators" FROM table_36818 WHERE "LEMA/SUBLEMA" = 'lema'
[ 13828, 609, 286, 22195, 468, 257, 406, 27630, 14, 50, 10526, 2538, 5673, 286, 443, 2611, 30, 46506, 366, 1925, 13, 286, 22195, 1, 16034, 3084, 62, 27412, 1507, 33411, 366, 2538, 5673, 14, 50, 10526, 2538, 5673, 1, 796, 705, 293, 261...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 609, 286, 22195, 468, 257, 406, 27630, 14, 50, 10526, 2538, 5673, 286, 443, 2611, 30, 46506, 366, 1925, 13, 286, 22195, 1, 16034, 3084, 62, 27412, 1507, 33411, 366, 2538, 5673, 14, 50, 10526, 2538, 5673, 1, 796, 705, 293, 261...
What is the number of patients who have a protestant quaker religious background?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.religion = "PROTESTANT QUAKER"
[ 2061, 318, 262, 1271, 286, 3871, 508, 423, 257, 5402, 415, 627, 3110, 4158, 4469, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 2411, 17035, 796, 366, 4805, 2394, 6465, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1271, 286, 3871, 508, 423, 257, 5402, 415, 627, 3110, 4158, 4469, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 2411, 17035, 796, 366, 4805, 2394, 6465, ...
What match has Clem Hill (sa) as the player?
SELECT match FROM table_name_9 WHERE player = "clem hill (sa)"
[ 2061, 2872, 468, 3779, 76, 3327, 357, 11400, 8, 355, 262, 2137, 30, 46506, 2872, 16034, 3084, 62, 3672, 62, 24, 33411, 2137, 796, 366, 2375, 76, 12788, 357, 11400, 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 ]
[ 2061, 2872, 468, 3779, 76, 3327, 357, 11400, 8, 355, 262, 2137, 30, 46506, 2872, 16034, 3084, 62, 3672, 62, 24, 33411, 2137, 796, 366, 2375, 76, 12788, 357, 11400, 16725 ]
What is the highest Runners-Up, when Champions is less than 0?
SELECT MAX(runners_up) FROM table_name_30 WHERE champions < 0
[ 2061, 318, 262, 4511, 5660, 2741, 12, 4933, 11, 618, 6662, 318, 1342, 621, 657, 30, 46506, 25882, 7, 36740, 62, 929, 8, 16034, 3084, 62, 3672, 62, 1270, 33411, 7827, 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 ]
[ 2061, 318, 262, 4511, 5660, 2741, 12, 4933, 11, 618, 6662, 318, 1342, 621, 657, 30, 46506, 25882, 7, 36740, 62, 929, 8, 16034, 3084, 62, 3672, 62, 1270, 33411, 7827, 1279, 657 ]
what is the time of the last finisher from kazakhstan ?
SELECT "time" FROM table_204_14 WHERE "country" = 'kazakhstan' ORDER BY "rank" DESC LIMIT 1
[ 10919, 318, 262, 640, 286, 262, 938, 957, 4828, 422, 479, 1031, 11322, 14192, 5633, 46506, 366, 2435, 1, 16034, 3084, 62, 18638, 62, 1415, 33411, 366, 19315, 1, 796, 705, 74, 1031, 11322, 14192, 6, 38678, 11050, 366, 43027, 1, 22196, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 640, 286, 262, 938, 957, 4828, 422, 479, 1031, 11322, 14192, 5633, 46506, 366, 2435, 1, 16034, 3084, 62, 18638, 62, 1415, 33411, 366, 19315, 1, 796, 705, 74, 1031, 11322, 14192, 6, 38678, 11050, 366, 43027, 1, 22196, ...
what name is just before thea lafond on the list ?
SELECT "name" FROM table_204_741 WHERE id = (SELECT id FROM table_204_741 WHERE "name" = 'thea lafond') - 1
[ 10919, 1438, 318, 655, 878, 262, 64, 300, 1878, 623, 319, 262, 1351, 5633, 46506, 366, 3672, 1, 16034, 3084, 62, 18638, 62, 22, 3901, 33411, 4686, 796, 357, 46506, 4686, 16034, 3084, 62, 18638, 62, 22, 3901, 33411, 366, 3672, 1, 796...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 1438, 318, 655, 878, 262, 64, 300, 1878, 623, 319, 262, 1351, 5633, 46506, 366, 3672, 1, 16034, 3084, 62, 18638, 62, 22, 3901, 33411, 4686, 796, 357, 46506, 4686, 16034, 3084, 62, 18638, 62, 22, 3901, 33411, 366, 3672, 1, 796...
What Thai has a ~Gregorian of April May?
SELECT "Thai" FROM table_14452 WHERE "~Gregorian" = 'april–may'
[ 2061, 18933, 468, 257, 5299, 25025, 22618, 286, 3035, 1737, 30, 46506, 366, 817, 1872, 1, 16034, 3084, 62, 1415, 37730, 33411, 366, 93, 25025, 22618, 1, 796, 705, 499, 22379, 1906, 11261, 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, 18933, 468, 257, 5299, 25025, 22618, 286, 3035, 1737, 30, 46506, 366, 817, 1872, 1, 16034, 3084, 62, 1415, 37730, 33411, 366, 93, 25025, 22618, 1, 796, 705, 499, 22379, 1906, 11261, 6 ]
What town has the reserve with an area of 163,62?
SELECT district___town FROM table_26013618_1 WHERE area__ha_ = "163,62"
[ 2061, 3240, 468, 262, 11515, 351, 281, 1989, 286, 26826, 11, 5237, 30, 46506, 4783, 17569, 12735, 16034, 3084, 62, 2075, 486, 2623, 1507, 62, 16, 33411, 1989, 834, 3099, 62, 796, 366, 24136, 11, 5237, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3240, 468, 262, 11515, 351, 281, 1989, 286, 26826, 11, 5237, 30, 46506, 4783, 17569, 12735, 16034, 3084, 62, 2075, 486, 2623, 1507, 62, 16, 33411, 1989, 834, 3099, 62, 796, 366, 24136, 11, 5237, 1 ]
What is the enzyme involved in the disorder of Ornithine Transcarbamylase deficiency?
SELECT "Enzyme" FROM table_52256 WHERE "Disorder" = 'ornithine transcarbamylase deficiency'
[ 2061, 318, 262, 27679, 2950, 287, 262, 8967, 286, 49359, 342, 500, 3602, 35684, 321, 2645, 589, 23580, 30, 46506, 366, 4834, 24266, 1, 16034, 3084, 62, 4309, 11645, 33411, 366, 7279, 2875, 1, 796, 705, 1211, 342, 500, 1007, 35684, 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 ]
[ 2061, 318, 262, 27679, 2950, 287, 262, 8967, 286, 49359, 342, 500, 3602, 35684, 321, 2645, 589, 23580, 30, 46506, 366, 4834, 24266, 1, 16034, 3084, 62, 4309, 11645, 33411, 366, 7279, 2875, 1, 796, 705, 1211, 342, 500, 1007, 35684, 321...
okay could you get me a round trip ticket from INDIANAPOLIS to KANSAS CITY
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, fare, flight, flight_fare WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'KANSAS CITY' AND NOT fare.round_trip_cost IS NULL AND flight_fare.fare...
[ 482, 323, 714, 345, 651, 502, 257, 2835, 5296, 7846, 422, 24413, 16868, 2969, 3535, 1797, 284, 509, 15037, 1921, 27993, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 482, 323, 714, 345, 651, 502, 257, 2835, 5296, 7846, 422, 24413, 16868, 2969, 3535, 1797, 284, 509, 15037, 1921, 27993, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389...
give the average duration of hospital stay for asian patients.
SELECT AVG(demographic.days_stay) FROM demographic WHERE demographic.ethnicity = "ASIAN"
[ 26535, 262, 2811, 9478, 286, 4436, 2652, 329, 355, 666, 3871, 13, 46506, 35224, 7, 9536, 6826, 13, 12545, 62, 31712, 8, 16034, 16728, 33411, 16728, 13, 38546, 414, 796, 366, 1921, 16868, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 26535, 262, 2811, 9478, 286, 4436, 2652, 329, 355, 666, 3871, 13, 46506, 35224, 7, 9536, 6826, 13, 12545, 62, 31712, 8, 16034, 16728, 33411, 16728, 13, 38546, 414, 796, 366, 1921, 16868, 1 ]
Show the names of people that are on affirmative side of debates with number of audience bigger than 200.
SELECT T3.Name FROM debate_people AS T1 JOIN debate AS T2 ON T1.Debate_ID = T2.Debate_ID JOIN people AS T3 ON T1.Affirmative = T3.People_ID WHERE T2.Num_of_Audience > 200
[ 15307, 262, 3891, 286, 661, 326, 389, 319, 27990, 1735, 286, 15389, 351, 1271, 286, 5386, 5749, 621, 939, 13, 46506, 309, 18, 13, 5376, 16034, 4384, 62, 15332, 7054, 309, 16, 32357, 1268, 4384, 7054, 309, 17, 6177, 309, 16, 13, 1658...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3891, 286, 661, 326, 389, 319, 27990, 1735, 286, 15389, 351, 1271, 286, 5386, 5749, 621, 939, 13, 46506, 309, 18, 13, 5376, 16034, 4384, 62, 15332, 7054, 309, 16, 32357, 1268, 4384, 7054, 309, 17, 6177, 309, 16, 13, 1658...
how often was an encyclical sent in january ?
SELECT COUNT(*) FROM table_204_265 WHERE "date" = 1
[ 4919, 1690, 373, 281, 551, 15539, 605, 1908, 287, 42897, 2838, 5633, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 18638, 62, 22980, 33411, 366, 4475, 1, 796, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 1690, 373, 281, 551, 15539, 605, 1908, 287, 42897, 2838, 5633, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 18638, 62, 22980, 33411, 366, 4475, 1, 796, 352 ]
What is the State with the imsa gt as the Major Series and a track in new orleans?
SELECT state FROM table_name_23 WHERE major_series = "imsa gt" AND track = "new orleans"
[ 2061, 318, 262, 1812, 351, 262, 545, 11400, 308, 83, 355, 262, 8386, 7171, 290, 257, 2610, 287, 649, 393, 11861, 30, 46506, 1181, 16034, 3084, 62, 3672, 62, 1954, 33411, 1688, 62, 25076, 796, 366, 320, 11400, 308, 83, 1, 5357, 2610,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1812, 351, 262, 545, 11400, 308, 83, 355, 262, 8386, 7171, 290, 257, 2610, 287, 649, 393, 11861, 30, 46506, 1181, 16034, 3084, 62, 3672, 62, 1954, 33411, 1688, 62, 25076, 796, 366, 320, 11400, 308, 83, 1, 5357, 2610,...
Who was the winner when the total attendance was 16597?
SELECT "Winner" FROM table_21011 WHERE "Attendance" = '16597'
[ 8241, 373, 262, 8464, 618, 262, 2472, 14858, 373, 1467, 43239, 30, 46506, 366, 48056, 1, 16034, 3084, 62, 2481, 28555, 33411, 366, 8086, 437, 590, 1, 796, 705, 1433, 43239, 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, 8464, 618, 262, 2472, 14858, 373, 1467, 43239, 30, 46506, 366, 48056, 1, 16034, 3084, 62, 2481, 28555, 33411, 366, 8086, 437, 590, 1, 796, 705, 1433, 43239, 6 ]
What was the location of the Ju-52 aircraft?
SELECT "Location" FROM table_41231 WHERE "Aircraft" = 'ju-52'
[ 2061, 373, 262, 4067, 286, 262, 12585, 12, 4309, 6215, 30, 46506, 366, 14749, 1, 16034, 3084, 62, 39226, 3132, 33411, 366, 32, 27002, 1, 796, 705, 14396, 12, 4309, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 4067, 286, 262, 12585, 12, 4309, 6215, 30, 46506, 366, 14749, 1, 16034, 3084, 62, 39226, 3132, 33411, 366, 32, 27002, 1, 796, 705, 14396, 12, 4309, 6 ]