instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
How many documents can one grant have at most? List the grant id and number.
SELECT grant_id, COUNT(*) FROM documents GROUP BY grant_id ORDER BY COUNT(*) DESC LIMIT 1
[ 2437, 867, 4963, 460, 530, 7264, 423, 379, 749, 30, 7343, 262, 7264, 4686, 290, 1271, 13, 46506, 7264, 62, 312, 11, 327, 28270, 7, 28104, 16034, 4963, 44441, 11050, 7264, 62, 312, 38678, 11050, 327, 28270, 7, 28104, 22196, 34, 27564, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4963, 460, 530, 7264, 423, 379, 749, 30, 7343, 262, 7264, 4686, 290, 1271, 13, 46506, 7264, 62, 312, 11, 327, 28270, 7, 28104, 16034, 4963, 44441, 11050, 7264, 62, 312, 38678, 11050, 327, 28270, 7, 28104, 22196, 34, 27564, ...
What is the accreditation level for the approved (awarded 05.12.12) date?
SELECT "Accreditation level" FROM table_47481 WHERE "Date" = 'approved (awarded 05.12.12)'
[ 2061, 318, 262, 697, 42845, 1241, 329, 262, 6325, 357, 707, 10676, 8870, 13, 1065, 13, 1065, 8, 3128, 30, 46506, 366, 17320, 42845, 1241, 1, 16034, 3084, 62, 2857, 40271, 33411, 366, 10430, 1, 796, 705, 29137, 357, 707, 10676, 8870, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 697, 42845, 1241, 329, 262, 6325, 357, 707, 10676, 8870, 13, 1065, 13, 1065, 8, 3128, 30, 46506, 366, 17320, 42845, 1241, 1, 16034, 3084, 62, 2857, 40271, 33411, 366, 10430, 1, 796, 705, 29137, 357, 707, 10676, 8870, ...
Who is the visitor on May 9?
SELECT "Visitor" FROM table_15215 WHERE "Date" = 'may 9'
[ 8241, 318, 262, 21493, 319, 1737, 860, 30, 46506, 366, 15854, 2072, 1, 16034, 3084, 62, 17827, 1314, 33411, 366, 10430, 1, 796, 705, 11261, 860, 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 ]
[ 8241, 318, 262, 21493, 319, 1737, 860, 30, 46506, 366, 15854, 2072, 1, 16034, 3084, 62, 17827, 1314, 33411, 366, 10430, 1, 796, 705, 11261, 860, 6 ]
Calculate the number of patients with item id 51098 who died in or before the year 2165.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.dod_year <= "2165.0" AND lab.itemid = "51098"
[ 9771, 3129, 378, 262, 1271, 286, 3871, 351, 2378, 4686, 35148, 4089, 508, 3724, 287, 393, 878, 262, 614, 362, 20986, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1271, 286, 3871, 351, 2378, 4686, 35148, 4089, 508, 3724, 287, 393, 878, 262, 614, 362, 20986, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268,...
count the number of the icu visits patient 022-31513 during their last hospital visit.
SELECT COUNT(DISTINCT patient.patientunitstayid) FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '022-31513' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospitaladmittime DESC LIMIT 1)
[ 9127, 262, 1271, 286, 262, 14158, 84, 11864, 5827, 657, 1828, 12, 27936, 1485, 1141, 511, 938, 4436, 3187, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 5827, 13, 26029, 20850, 31712, 312, 8, 16034, 5827, 33411, 5827, 13, 26029, 139...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 262, 14158, 84, 11864, 5827, 657, 1828, 12, 27936, 1485, 1141, 511, 938, 4436, 3187, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 5827, 13, 26029, 20850, 31712, 312, 8, 16034, 5827, 33411, 5827, 13, 26029, 139...
Name the manner of departure for luis enrique
SELECT manner_of_departure FROM table_27666856_3 WHERE outgoing_manager = "Luis Enrique"
[ 5376, 262, 5642, 286, 12928, 329, 300, 84, 271, 551, 33865, 46506, 5642, 62, 1659, 62, 10378, 433, 495, 16034, 3084, 62, 1983, 2791, 3104, 3980, 62, 18, 33411, 28181, 62, 37153, 796, 366, 25596, 271, 46879, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5642, 286, 12928, 329, 300, 84, 271, 551, 33865, 46506, 5642, 62, 1659, 62, 10378, 433, 495, 16034, 3084, 62, 1983, 2791, 3104, 3980, 62, 18, 33411, 28181, 62, 37153, 796, 366, 25596, 271, 46879, 1 ]
calculate the difference between patient 021-141335's total input and the total output amount on last month/04.
SELECT (SELECT SUM(intakeoutput.cellvaluenumeric) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '021-141335')) AND intakeoutput.cellpath ...
[ 9948, 3129, 378, 262, 3580, 1022, 5827, 657, 2481, 12, 1415, 1485, 2327, 338, 2472, 5128, 290, 262, 2472, 5072, 2033, 319, 938, 1227, 14, 3023, 13, 46506, 357, 46506, 35683, 7, 600, 539, 22915, 13, 3846, 2100, 84, 268, 39223, 8, 160...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9948, 3129, 378, 262, 3580, 1022, 5827, 657, 2481, 12, 1415, 1485, 2327, 338, 2472, 5128, 290, 262, 2472, 5072, 2033, 319, 938, 1227, 14, 3023, 13, 46506, 357, 46506, 35683, 7, 600, 539, 22915, 13, 3846, 2100, 84, 268, 39223, 8, 160...
what are the four most commonly done lab tests in 2105 for patients with age 40s?
SELECT t1.labname FROM (SELECT lab.labname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.age BETWEEN 40 AND 49) AND STRFTIME('%y', lab.labresulttime) = '2105' GROUP BY lab.labname) AS t1 WHERE t1.c1 <= 4
[ 10919, 389, 262, 1440, 749, 8811, 1760, 2248, 5254, 287, 362, 13348, 329, 3871, 351, 2479, 2319, 82, 30, 46506, 256, 16, 13, 23912, 3672, 16034, 357, 46506, 2248, 13, 23912, 3672, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 389, 262, 1440, 749, 8811, 1760, 2248, 5254, 287, 362, 13348, 329, 3871, 351, 2479, 2319, 82, 30, 46506, 256, 16, 13, 23912, 3672, 16034, 357, 46506, 2248, 13, 23912, 3672, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532...
What is the earliest year when the points were more than 0?
SELECT MIN(year) FROM table_name_38 WHERE points > 0
[ 2061, 318, 262, 14555, 614, 618, 262, 2173, 547, 517, 621, 657, 30, 46506, 20625, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 2548, 33411, 2173, 1875, 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, 318, 262, 14555, 614, 618, 262, 2173, 547, 517, 621, 657, 30, 46506, 20625, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 2548, 33411, 2173, 1875, 657 ]
NAME THE OVERALL FOR THE OMAHA (USHL) CLUB TEAM
SELECT MIN("Overall") FROM table_17202 WHERE "Club team" = 'Omaha (USHL)'
[ 20608, 3336, 28729, 7036, 7473, 3336, 440, 5673, 7801, 357, 2937, 6581, 8, 7852, 10526, 33536, 46506, 20625, 7203, 16350, 4943, 16034, 3084, 62, 1558, 19004, 33411, 366, 42350, 1074, 1, 796, 705, 46, 76, 12236, 357, 2937, 6581, 33047 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 20608, 3336, 28729, 7036, 7473, 3336, 440, 5673, 7801, 357, 2937, 6581, 8, 7852, 10526, 33536, 46506, 20625, 7203, 16350, 4943, 16034, 3084, 62, 1558, 19004, 33411, 366, 42350, 1074, 1, 796, 705, 46, 76, 12236, 357, 2937, 6581, 33047 ]
Algo query counts by month.
SELECT TIME_TO_STR(Posts.CreationDate, '%Y') * 100 + TIME_TO_STR(Posts.CreationDate, '%m') AS YYYYMM, COUNT(0) AS CT FROM Tags INNER JOIN PostTags ON PostTags.TagId = Tags.Id INNER JOIN Posts ON Posts.ParentId = PostTags.PostId WHERE Posts.CreationDate > '2015-01-01' AND Tags.TagName = 'algorithms' GROUP BY TIME_TO_STR...
[ 2348, 2188, 12405, 9853, 416, 1227, 13, 46506, 20460, 62, 10468, 62, 18601, 7, 21496, 13, 12443, 341, 10430, 11, 705, 4, 56, 11537, 1635, 1802, 1343, 20460, 62, 10468, 62, 18601, 7, 21496, 13, 12443, 341, 10430, 11, 705, 4, 76, 1153...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2348, 2188, 12405, 9853, 416, 1227, 13, 46506, 20460, 62, 10468, 62, 18601, 7, 21496, 13, 12443, 341, 10430, 11, 705, 4, 56, 11537, 1635, 1802, 1343, 20460, 62, 10468, 62, 18601, 7, 21496, 13, 12443, 341, 10430, 11, 705, 4, 76, 1153...
Group and count the move in date in a bar chart, and I want to bin the X into Year interval.
SELECT date_moved_in, COUNT(date_moved_in) FROM Customer_Events
[ 13247, 290, 954, 262, 1445, 287, 3128, 287, 257, 2318, 8262, 11, 290, 314, 765, 284, 9874, 262, 1395, 656, 6280, 16654, 13, 46506, 3128, 62, 76, 2668, 62, 259, 11, 327, 28270, 7, 4475, 62, 76, 2668, 62, 259, 8, 16034, 22092, 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 ]
[ 13247, 290, 954, 262, 1445, 287, 3128, 287, 257, 2318, 8262, 11, 290, 314, 765, 284, 9874, 262, 1395, 656, 6280, 16654, 13, 46506, 3128, 62, 76, 2668, 62, 259, 11, 327, 28270, 7, 4475, 62, 76, 2668, 62, 259, 8, 16034, 22092, 62, ...
Name the number for margin of victory being 3 strokes
SELECT COUNT(no) FROM table_21469545_2 WHERE margin_of_victory = "3 strokes"
[ 5376, 262, 1271, 329, 10330, 286, 5373, 852, 513, 29483, 46506, 327, 28270, 7, 3919, 8, 16034, 3084, 62, 22291, 37381, 2231, 62, 17, 33411, 10330, 62, 1659, 62, 32433, 652, 796, 366, 18, 29483, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 1271, 329, 10330, 286, 5373, 852, 513, 29483, 46506, 327, 28270, 7, 3919, 8, 16034, 3084, 62, 22291, 37381, 2231, 62, 17, 33411, 10330, 62, 1659, 62, 32433, 652, 796, 366, 18, 29483, 1 ]
What is the B (max) average when the C (max) is greater than 156, the taper is 1:19.231, and the D (max) is less than 34.9?
SELECT AVG("B (max)") FROM table_9637 WHERE "C (max)" > '156' AND "Taper" = '1:19.231' AND "D (max)" < '34.9'
[ 2061, 318, 262, 347, 357, 9806, 8, 2811, 618, 262, 327, 357, 9806, 8, 318, 3744, 621, 23871, 11, 262, 256, 2136, 318, 352, 25, 1129, 13, 25667, 11, 290, 262, 360, 357, 9806, 8, 318, 1342, 621, 4974, 13, 24, 30, 46506, 35224, 720...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 347, 357, 9806, 8, 2811, 618, 262, 327, 357, 9806, 8, 318, 3744, 621, 23871, 11, 262, 256, 2136, 318, 352, 25, 1129, 13, 25667, 11, 290, 262, 360, 357, 9806, 8, 318, 1342, 621, 4974, 13, 24, 30, 46506, 35224, 720...
What was Law Hiu Fung's time?
SELECT time FROM table_name_26 WHERE athlete = "law hiu fung"
[ 2061, 373, 3854, 15902, 84, 376, 2150, 338, 640, 30, 46506, 640, 16034, 3084, 62, 3672, 62, 2075, 33411, 16076, 796, 366, 6270, 289, 16115, 31317, 1 ]
[ 1, 1, 1, 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, 3854, 15902, 84, 376, 2150, 338, 640, 30, 46506, 640, 16034, 3084, 62, 3672, 62, 2075, 33411, 16076, 796, 366, 6270, 289, 16115, 31317, 1 ]
What is the name of the staff that is in charge of the attraction named 'US museum'?
SELECT T1.Name FROM STAFF AS T1 JOIN TOURIST_ATTRACTIONS AS T2 ON T1.Tourist_Attraction_ID = T2.Tourist_Attraction_ID WHERE T2.Name = "US museum"
[ 2061, 318, 262, 1438, 286, 262, 3085, 326, 318, 287, 3877, 286, 262, 17416, 3706, 705, 2937, 13257, 30960, 46506, 309, 16, 13, 5376, 16034, 47550, 5777, 7054, 309, 16, 32357, 1268, 49698, 8808, 62, 1404, 5446, 10659, 11053, 7054, 309, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 318, 262, 1438, 286, 262, 3085, 326, 318, 287, 3877, 286, 262, 17416, 3706, 705, 2937, 13257, 30960, 46506, 309, 16, 13, 5376, 16034, 47550, 5777, 7054, 309, 16, 32357, 1268, 49698, 8808, 62, 1404, 5446, 10659, 11053, 7054, 309, ...
how many flights come from DENVER to BALTIMORE on 7 19
SELECT COUNT(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, date_day, days, flight WHERE (((flight.arrival_time < flight.departure_time) AND date_day.day_number = 18 AND date_day.month_number = 7 AND date_day.year = 1991 AND da...
[ 4919, 867, 13956, 1282, 422, 37692, 5959, 284, 347, 31429, 3955, 6965, 319, 767, 678, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 8, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 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...
[ 4919, 867, 13956, 1282, 422, 37692, 5959, 284, 347, 31429, 3955, 6965, 319, 767, 678, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 8, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, ...
What label has RTRADLP 346 as catalogue?
SELECT "Label" FROM table_32172 WHERE "Catalogue" = 'rtradlp 346'
[ 2061, 6167, 468, 371, 5446, 2885, 19930, 44729, 355, 34614, 30, 46506, 366, 33986, 1, 16034, 3084, 62, 2624, 23628, 33411, 366, 39075, 5119, 1, 796, 705, 81, 2213, 324, 34431, 44729, 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, 6167, 468, 371, 5446, 2885, 19930, 44729, 355, 34614, 30, 46506, 366, 33986, 1, 16034, 3084, 62, 2624, 23628, 33411, 366, 39075, 5119, 1, 796, 705, 81, 2213, 324, 34431, 44729, 6 ]
What is the land area of Reed Township?
SELECT "Land ( sqmi )" FROM table_22478 WHERE "Township" = 'Reed'
[ 2061, 318, 262, 1956, 1989, 286, 16105, 32115, 30, 46506, 366, 22342, 357, 19862, 11632, 1267, 1, 16034, 3084, 62, 24137, 3695, 33411, 366, 38097, 6720, 1, 796, 705, 49, 2308, 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, 1956, 1989, 286, 16105, 32115, 30, 46506, 366, 22342, 357, 19862, 11632, 1267, 1, 16034, 3084, 62, 24137, 3695, 33411, 366, 38097, 6720, 1, 796, 705, 49, 2308, 6 ]
What are the prerequisites that I have met for SOCADMIN 570 ?
SELECT DISTINCT COURSE_0.department, COURSE_0.name, COURSE_0.number FROM course AS COURSE_0, course AS COURSE_1, course_prerequisite, student_record WHERE COURSE_0.course_id = course_prerequisite.pre_course_id AND COURSE_1.course_id = course_prerequisite.course_id AND COURSE_1.department = 'SOCADMIN' AND COURSE_1.numbe...
[ 2061, 389, 262, 662, 34075, 326, 314, 423, 1138, 329, 31430, 2885, 23678, 44626, 5633, 46506, 360, 8808, 1268, 4177, 37384, 5188, 62, 15, 13, 10378, 1823, 11, 37384, 5188, 62, 15, 13, 3672, 11, 37384, 5188, 62, 15, 13, 17618, 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...
[ 2061, 389, 262, 662, 34075, 326, 314, 423, 1138, 329, 31430, 2885, 23678, 44626, 5633, 46506, 360, 8808, 1268, 4177, 37384, 5188, 62, 15, 13, 10378, 1823, 11, 37384, 5188, 62, 15, 13, 3672, 11, 37384, 5188, 62, 15, 13, 17618, 16034, ...
What is the type of Guangjia?
SELECT "Type" FROM table_62903 WHERE "Name (pinyin)" = 'guangjia'
[ 2061, 318, 262, 2099, 286, 36980, 73, 544, 30, 46506, 366, 6030, 1, 16034, 3084, 62, 48602, 3070, 33411, 366, 5376, 357, 79, 3541, 259, 16725, 796, 705, 5162, 648, 73, 544, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2099, 286, 36980, 73, 544, 30, 46506, 366, 6030, 1, 16034, 3084, 62, 48602, 3070, 33411, 366, 5376, 357, 79, 3541, 259, 16725, 796, 705, 5162, 648, 73, 544, 6 ]
When the away team has a total score of 13.9 (87), what is the name of the away team?
SELECT "Away team" FROM table_57641 WHERE "Away team score" = '13.9 (87)'
[ 2215, 262, 1497, 1074, 468, 257, 2472, 4776, 286, 1511, 13, 24, 357, 5774, 828, 644, 318, 262, 1438, 286, 262, 1497, 1074, 30, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 3553, 42759, 33411, 366, 32, 1014, 1074, 4776, 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 ]
[ 2215, 262, 1497, 1074, 468, 257, 2472, 4776, 286, 1511, 13, 24, 357, 5774, 828, 644, 318, 262, 1438, 286, 262, 1497, 1074, 30, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 3553, 42759, 33411, 366, 32, 1014, 1074, 4776, 1, 796, ...
When the club is flamengo in the 2009 season, and they scored more than 0 goals, what's the sum of the Apps?
SELECT SUM(apps) FROM table_name_30 WHERE club = "flamengo" AND season = "2009" AND goals > 0
[ 2215, 262, 3430, 318, 781, 321, 1516, 78, 287, 262, 3717, 1622, 11, 290, 484, 7781, 517, 621, 657, 4661, 11, 644, 338, 262, 2160, 286, 262, 27710, 30, 46506, 35683, 7, 18211, 8, 16034, 3084, 62, 3672, 62, 1270, 33411, 3430, 796, 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 ]
[ 2215, 262, 3430, 318, 781, 321, 1516, 78, 287, 262, 3717, 1622, 11, 290, 484, 7781, 517, 621, 657, 4661, 11, 644, 338, 262, 2160, 286, 262, 27710, 30, 46506, 35683, 7, 18211, 8, 16034, 3084, 62, 3672, 62, 1270, 33411, 3430, 796, 3...
What's the value for oklahoma when nevada and colorado are clinton?
SELECT oklahoma FROM table_name_94 WHERE nevada = "clinton" AND colorado = "clinton"
[ 2061, 338, 262, 1988, 329, 12876, 9802, 618, 497, 85, 4763, 290, 3124, 4533, 389, 537, 2371, 30, 46506, 12876, 9802, 16034, 3084, 62, 3672, 62, 5824, 33411, 497, 85, 4763, 796, 366, 37821, 1, 5357, 3124, 4533, 796, 366, 37821, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1988, 329, 12876, 9802, 618, 497, 85, 4763, 290, 3124, 4533, 389, 537, 2371, 30, 46506, 12876, 9802, 16034, 3084, 62, 3672, 62, 5824, 33411, 497, 85, 4763, 796, 366, 37821, 1, 5357, 3124, 4533, 796, 366, 37821, 1 ]
What is the largest value for Fall 08 when Fall 07 is less than 242?
SELECT MAX(fall_08) FROM table_name_28 WHERE fall_07 < 242
[ 2061, 318, 262, 4387, 1988, 329, 7218, 8487, 618, 7218, 8753, 318, 1342, 621, 34353, 30, 46506, 25882, 7, 7207, 62, 2919, 8, 16034, 3084, 62, 3672, 62, 2078, 33411, 2121, 62, 2998, 1279, 34353 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1988, 329, 7218, 8487, 618, 7218, 8753, 318, 1342, 621, 34353, 30, 46506, 25882, 7, 7207, 62, 2919, 8, 16034, 3084, 62, 3672, 62, 2078, 33411, 2121, 62, 2998, 1279, 34353 ]
What team was the opponent when the score was 8-2?
SELECT opponent FROM table_name_24 WHERE score = "8-2"
[ 2061, 1074, 373, 262, 6125, 618, 262, 4776, 373, 807, 12, 17, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 1731, 33411, 4776, 796, 366, 23, 12, 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 ]
[ 2061, 1074, 373, 262, 6125, 618, 262, 4776, 373, 807, 12, 17, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 1731, 33411, 4776, 796, 366, 23, 12, 17, 1 ]
What is the highest rank from Lane 4?
SELECT MAX(rank) FROM table_name_44 WHERE lane = 4
[ 2061, 318, 262, 4511, 4279, 422, 15016, 604, 30, 46506, 25882, 7, 43027, 8, 16034, 3084, 62, 3672, 62, 2598, 33411, 11193, 796, 604 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4511, 4279, 422, 15016, 604, 30, 46506, 25882, 7, 43027, 8, 16034, 3084, 62, 3672, 62, 2598, 33411, 11193, 796, 604 ]
What is the roll of the school in Oakura?
SELECT SUM(roll) FROM table_name_59 WHERE area = "oakura"
[ 2061, 318, 262, 4836, 286, 262, 1524, 287, 9121, 5330, 30, 46506, 35683, 7, 2487, 8, 16034, 3084, 62, 3672, 62, 3270, 33411, 1989, 796, 366, 15877, 5330, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4836, 286, 262, 1524, 287, 9121, 5330, 30, 46506, 35683, 7, 2487, 8, 16034, 3084, 62, 3672, 62, 3270, 33411, 1989, 796, 366, 15877, 5330, 1 ]
tell me patient 035-2205's difference in sao2 second measured on the last intensive care unit visit compared to the value first measured on the last intensive care unit visit?
SELECT (SELECT vitalperiodic.sao2 FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '035-2205') AND NOT patient.unitdischargetime IS NULL O...
[ 33331, 502, 5827, 657, 2327, 12, 17572, 20, 338, 3580, 287, 473, 78, 17, 1218, 8630, 319, 262, 938, 18590, 1337, 4326, 3187, 3688, 284, 262, 1988, 717, 8630, 319, 262, 938, 18590, 1337, 4326, 3187, 30, 46506, 357, 46506, 9204, 41007, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 33331, 502, 5827, 657, 2327, 12, 17572, 20, 338, 3580, 287, 473, 78, 17, 1218, 8630, 319, 262, 938, 18590, 1337, 4326, 3187, 3688, 284, 262, 1988, 717, 8630, 319, 262, 938, 18590, 1337, 4326, 3187, 30, 46506, 357, 46506, 9204, 41007, ...
What is the lowest Wins with a Top-10 that is larger than 9?
SELECT MIN(wins) FROM table_name_40 WHERE top_10 > 9
[ 2061, 318, 262, 9016, 24423, 351, 257, 5849, 12, 940, 326, 318, 4025, 621, 860, 30, 46506, 20625, 7, 86, 1040, 8, 16034, 3084, 62, 3672, 62, 1821, 33411, 1353, 62, 940, 1875, 860 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 9016, 24423, 351, 257, 5849, 12, 940, 326, 318, 4025, 621, 860, 30, 46506, 20625, 7, 86, 1040, 8, 16034, 3084, 62, 3672, 62, 1821, 33411, 1353, 62, 940, 1875, 860 ]
Which season with 16 races had less than 321 points and a larger percent than 65.78 possible?
SELECT season FROM table_name_17 WHERE points < 321 AND percentage_of_possible_points > 65.78 AND races = 16
[ 13828, 1622, 351, 1467, 9558, 550, 1342, 621, 39595, 2173, 290, 257, 4025, 1411, 621, 6135, 13, 3695, 1744, 30, 46506, 1622, 16034, 3084, 62, 3672, 62, 1558, 33411, 2173, 1279, 39595, 5357, 5873, 62, 1659, 62, 79, 4733, 62, 13033, 187...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 351, 1467, 9558, 550, 1342, 621, 39595, 2173, 290, 257, 4025, 1411, 621, 6135, 13, 3695, 1744, 30, 46506, 1622, 16034, 3084, 62, 3672, 62, 1558, 33411, 2173, 1279, 39595, 5357, 5873, 62, 1659, 62, 79, 4733, 62, 13033, 187...
What did the away team score when they visited south melbourne?
SELECT "Away team score" FROM table_51914 WHERE "Home team" = 'south melbourne'
[ 2061, 750, 262, 1497, 1074, 4776, 618, 484, 8672, 5366, 7758, 12544, 30, 46506, 366, 32, 1014, 1074, 4776, 1, 16034, 3084, 62, 47785, 1415, 33411, 366, 16060, 1074, 1, 796, 705, 35782, 7758, 12544, 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, 750, 262, 1497, 1074, 4776, 618, 484, 8672, 5366, 7758, 12544, 30, 46506, 366, 32, 1014, 1074, 4776, 1, 16034, 3084, 62, 47785, 1415, 33411, 366, 16060, 1074, 1, 796, 705, 35782, 7758, 12544, 6 ]
On what date was Anniston Army Depot (SE Industrial Area) deleted?
SELECT deleted FROM table_name_8 WHERE name = "anniston army depot (se industrial area)"
[ 2202, 644, 3128, 373, 5506, 36363, 5407, 30884, 357, 5188, 19034, 9498, 8, 13140, 30, 46506, 13140, 16034, 3084, 62, 3672, 62, 23, 33411, 1438, 796, 366, 1236, 36363, 5428, 43369, 357, 325, 7593, 1989, 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 ]
[ 2202, 644, 3128, 373, 5506, 36363, 5407, 30884, 357, 5188, 19034, 9498, 8, 13140, 30, 46506, 13140, 16034, 3084, 62, 3672, 62, 23, 33411, 1438, 796, 366, 1236, 36363, 5428, 43369, 357, 325, 7593, 1989, 16725 ]
Give me a stacked bar chart for showing the total number of each ship type and categorize it by ship nationality, and rank Y from low to high order.
SELECT Type, COUNT(Type) FROM ship GROUP BY Nationality, Type ORDER BY COUNT(Type)
[ 23318, 502, 257, 24167, 2318, 8262, 329, 4478, 262, 2472, 1271, 286, 1123, 4074, 2099, 290, 17851, 1096, 340, 416, 4074, 29835, 11, 290, 4279, 575, 422, 1877, 284, 1029, 1502, 13, 46506, 5994, 11, 327, 28270, 7, 6030, 8, 16034, 4074, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 24167, 2318, 8262, 329, 4478, 262, 2472, 1271, 286, 1123, 4074, 2099, 290, 17851, 1096, 340, 416, 4074, 29835, 11, 290, 4279, 575, 422, 1877, 284, 1029, 1502, 13, 46506, 5994, 11, 327, 28270, 7, 6030, 8, 16034, 4074, ...
what is the name of the medication that patient 79348 was prescribed in 05/this year for the last time?
SELECT prescriptions.drug FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 79348) AND DATETIME(prescriptions.startdate, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') AND STRFTIME('%m', prescriptions.startdate) = '05' ORD...
[ 10919, 318, 262, 1438, 286, 262, 14103, 326, 5827, 9225, 28978, 373, 14798, 287, 8870, 14, 5661, 614, 329, 262, 938, 640, 30, 46506, 34092, 13, 30349, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 1438, 286, 262, 14103, 326, 5827, 9225, 28978, 373, 14798, 287, 8870, 14, 5661, 614, 329, 262, 938, 640, 30, 46506, 34092, 13, 30349, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18...
How many students are older than 20 in each dorm Visualize by bar chart, and could you display by the y axis in descending please?
SELECT dorm_name, COUNT(*) FROM Student AS T1 JOIN Lives_in AS T2 ON T1.stuid = T2.stuid JOIN Dorm AS T3 ON T3.dormid = T2.dormid WHERE T1.Age > 20 GROUP BY T3.dorm_name ORDER BY COUNT(*) DESC
[ 2437, 867, 2444, 389, 4697, 621, 1160, 287, 1123, 18586, 15612, 1096, 416, 2318, 8262, 11, 290, 714, 345, 3359, 416, 262, 331, 16488, 287, 31491, 3387, 30, 46506, 18586, 62, 3672, 11, 327, 28270, 7, 28104, 16034, 13613, 7054, 309, 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...
[ 2437, 867, 2444, 389, 4697, 621, 1160, 287, 1123, 18586, 15612, 1096, 416, 2318, 8262, 11, 290, 714, 345, 3359, 416, 262, 331, 16488, 287, 31491, 3387, 30, 46506, 18586, 62, 3672, 11, 327, 28270, 7, 28104, 16034, 13613, 7054, 309, 16,...
Which week was the December 21, 2003 game?
SELECT week FROM table_name_59 WHERE date = "december 21, 2003"
[ 13828, 1285, 373, 262, 3426, 2310, 11, 5816, 983, 30, 46506, 1285, 16034, 3084, 62, 3672, 62, 3270, 33411, 3128, 796, 366, 2934, 3273, 2310, 11, 5816, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 1285, 373, 262, 3426, 2310, 11, 5816, 983, 30, 46506, 1285, 16034, 3084, 62, 3672, 62, 3270, 33411, 3128, 796, 366, 2934, 3273, 2310, 11, 5816, 1 ]
Is butter or bacon better?.
SELECT 'bacon', COUNT(*) FROM Posts WHERE Body LIKE '%bacon%' UNION ALL SELECT 'butter', COUNT(*) FROM Posts WHERE Body LIKE '%butter%'
[ 3792, 9215, 393, 21385, 1365, 30, 13, 46506, 705, 65, 7807, 3256, 327, 28270, 7, 28104, 16034, 12043, 33411, 12290, 34178, 705, 4, 65, 7807, 4, 6, 4725, 2849, 11096, 33493, 705, 4360, 353, 3256, 327, 28270, 7, 28104, 16034, 12043, 334...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9215, 393, 21385, 1365, 30, 13, 46506, 705, 65, 7807, 3256, 327, 28270, 7, 28104, 16034, 12043, 33411, 12290, 34178, 705, 4, 65, 7807, 4, 6, 4725, 2849, 11096, 33493, 705, 4360, 353, 3256, 327, 28270, 7, 28104, 16034, 12043, 334...
When was G teborg the opponent with a score of 3-1?
SELECT date FROM table_name_9 WHERE opponents = "göteborg" AND score = "3-1"
[ 2215, 373, 402, 573, 23297, 262, 6125, 351, 257, 4776, 286, 513, 12, 16, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 24, 33411, 7691, 796, 366, 70, 9101, 660, 23297, 1, 5357, 4776, 796, 366, 18, 12, 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 ]
[ 2215, 373, 402, 573, 23297, 262, 6125, 351, 257, 4776, 286, 513, 12, 16, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 24, 33411, 7691, 796, 366, 70, 9101, 660, 23297, 1, 5357, 4776, 796, 366, 18, 12, 16, 1 ]
what's the points against with lost being 13
SELECT points_against FROM table_14058433_4 WHERE lost = "13"
[ 10919, 338, 262, 2173, 1028, 351, 2626, 852, 1511, 46506, 2173, 62, 32826, 16034, 3084, 62, 1415, 2713, 5705, 2091, 62, 19, 33411, 2626, 796, 366, 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 ]
[ 10919, 338, 262, 2173, 1028, 351, 2626, 852, 1511, 46506, 2173, 62, 32826, 16034, 3084, 62, 1415, 2713, 5705, 2091, 62, 19, 33411, 2626, 796, 366, 1485, 1 ]
Which Location has a Year Joined of 1966, and a Previous Conference of noble county, and a School of wawaka?
SELECT "Location" FROM table_63618 WHERE "Year Joined" = '1966' AND "Previous Conference" = 'noble county' AND "School" = 'wawaka'
[ 13828, 13397, 468, 257, 6280, 16709, 286, 19322, 11, 290, 257, 21801, 8785, 286, 15581, 7968, 11, 290, 257, 3961, 286, 266, 707, 8130, 30, 46506, 366, 14749, 1, 16034, 3084, 62, 21, 2623, 1507, 33411, 366, 17688, 16709, 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, 1, 1, 1, 1, 1, 1, 1...
[ 13828, 13397, 468, 257, 6280, 16709, 286, 19322, 11, 290, 257, 21801, 8785, 286, 15581, 7968, 11, 290, 257, 3961, 286, 266, 707, 8130, 30, 46506, 366, 14749, 1, 16034, 3084, 62, 21, 2623, 1507, 33411, 366, 17688, 16709, 1, 796, 705, ...
On what network was the Kentucky game broadcast?
SELECT "Broadcast" FROM table_29064 WHERE "Home team" = 'Kentucky'
[ 2202, 644, 3127, 373, 262, 11867, 983, 7025, 30, 46506, 366, 30507, 2701, 1, 16034, 3084, 62, 24369, 2414, 33411, 366, 16060, 1074, 1, 796, 705, 42265, 5309, 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 ]
[ 2202, 644, 3127, 373, 262, 11867, 983, 7025, 30, 46506, 366, 30507, 2701, 1, 16034, 3084, 62, 24369, 2414, 33411, 366, 16060, 1074, 1, 796, 705, 42265, 5309, 6 ]
what was the first medication that patient 28343 was prescribed via po route?
SELECT prescriptions.drug FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 28343) AND prescriptions.route = 'po' ORDER BY prescriptions.startdate LIMIT 1
[ 10919, 373, 262, 717, 14103, 326, 5827, 2579, 32118, 373, 14798, 2884, 745, 6339, 30, 46506, 34092, 13, 30349, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 253...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 717, 14103, 326, 5827, 2579, 32118, 373, 14798, 2884, 745, 6339, 30, 46506, 34092, 13, 30349, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 253...
Which Programming language used has a First public release of 1997?
SELECT "Programming language used" FROM table_38278 WHERE "First public release" = '1997'
[ 13828, 30297, 3303, 973, 468, 257, 3274, 1171, 2650, 286, 8309, 30, 46506, 366, 15167, 2229, 3303, 973, 1, 16034, 3084, 62, 2548, 25870, 33411, 366, 5962, 1171, 2650, 1, 796, 705, 21498, 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, 30297, 3303, 973, 468, 257, 3274, 1171, 2650, 286, 8309, 30, 46506, 366, 15167, 2229, 3303, 973, 1, 16034, 3084, 62, 2548, 25870, 33411, 366, 5962, 1171, 2650, 1, 796, 705, 21498, 6 ]
What's Brazil's rank when it has notes of R?
SELECT COUNT("Rank") FROM table_64996 WHERE "Notes" = 'r' AND "Country" = 'brazil'
[ 2061, 338, 7595, 338, 4279, 618, 340, 468, 4710, 286, 371, 30, 46506, 327, 28270, 7203, 27520, 4943, 16034, 3084, 62, 2414, 38565, 33411, 366, 16130, 1, 796, 705, 81, 6, 5357, 366, 33921, 1, 796, 705, 65, 7098, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 338, 7595, 338, 4279, 618, 340, 468, 4710, 286, 371, 30, 46506, 327, 28270, 7203, 27520, 4943, 16034, 3084, 62, 2414, 38565, 33411, 366, 16130, 1, 796, 705, 81, 6, 5357, 366, 33921, 1, 796, 705, 65, 7098, 6 ]
in 2008 , david oliver came in first during what competition ?
SELECT "competition" FROM table_203_192 WHERE "year" = 2008 AND "position" = 1
[ 259, 3648, 837, 21970, 25776, 1428, 1625, 287, 717, 1141, 644, 5449, 5633, 46506, 366, 5589, 15620, 1, 16034, 3084, 62, 22416, 62, 17477, 33411, 366, 1941, 1, 796, 3648, 5357, 366, 9150, 1, 796, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 259, 3648, 837, 21970, 25776, 1428, 1625, 287, 717, 1141, 644, 5449, 5633, 46506, 366, 5589, 15620, 1, 16034, 3084, 62, 22416, 62, 17477, 33411, 366, 1941, 1, 796, 3648, 5357, 366, 9150, 1, 796, 352 ]
What is 'the w rd' when guests were daniel ellsberg , william wegman , julie taymor?
SELECT "The W\u00f8rd" FROM table_28002 WHERE "Guest" = 'Daniel Ellsberg , William Wegman , Julie Taymor'
[ 2061, 318, 705, 1169, 266, 374, 67, 6, 618, 10650, 547, 288, 6321, 30004, 82, 3900, 837, 481, 1789, 356, 70, 805, 837, 474, 377, 494, 256, 323, 4491, 30, 46506, 366, 464, 370, 59, 84, 405, 69, 23, 4372, 1, 16034, 3084, 62, 2078,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 705, 1169, 266, 374, 67, 6, 618, 10650, 547, 288, 6321, 30004, 82, 3900, 837, 481, 1789, 356, 70, 805, 837, 474, 377, 494, 256, 323, 4491, 30, 46506, 366, 464, 370, 59, 84, 405, 69, 23, 4372, 1, 16034, 3084, 62, 2078,...
List the names of entrepreneurs and their companies in descending order of money requested?
SELECT T2.Name, T1.Company FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID ORDER BY T1.Money_Requested
[ 8053, 262, 3891, 286, 17038, 290, 511, 2706, 287, 31491, 1502, 286, 1637, 9167, 30, 46506, 309, 17, 13, 5376, 11, 309, 16, 13, 39154, 16034, 19500, 7054, 309, 16, 32357, 1268, 661, 7054, 309, 17, 6177, 309, 16, 13, 8061, 62, 2389, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8053, 262, 3891, 286, 17038, 290, 511, 2706, 287, 31491, 1502, 286, 1637, 9167, 30, 46506, 309, 17, 13, 5376, 11, 309, 16, 13, 39154, 16034, 19500, 7054, 309, 16, 32357, 1268, 661, 7054, 309, 17, 6177, 309, 16, 13, 8061, 62, 2389, ...
What are the cell phone numbers of the candidates that received an assessment code of 'Fail'?
SELECT T3.cell_mobile_number FROM candidates AS T1 JOIN candidate_assessments AS T2 ON T1.candidate_id = T2.candidate_id JOIN people AS T3 ON T1.candidate_id = T3.person_id WHERE T2.asessment_outcome_code = "Fail"
[ 2061, 389, 262, 2685, 3072, 3146, 286, 262, 5871, 326, 2722, 281, 8922, 2438, 286, 705, 39044, 30960, 46506, 309, 18, 13, 3846, 62, 24896, 62, 17618, 16034, 5871, 7054, 309, 16, 32357, 1268, 4540, 62, 562, 408, 902, 7054, 309, 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, 1, 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, 2685, 3072, 3146, 286, 262, 5871, 326, 2722, 281, 8922, 2438, 286, 705, 39044, 30960, 46506, 309, 18, 13, 3846, 62, 24896, 62, 17618, 16034, 5871, 7054, 309, 16, 32357, 1268, 4540, 62, 562, 408, 902, 7054, 309, 17, 6...
Which is the smallest pick number that had a Reg GP of less than 0?
SELECT MIN("Pick #") FROM table_53088 WHERE "Reg GP" < '0'
[ 13828, 318, 262, 18197, 2298, 1271, 326, 550, 257, 3310, 14714, 286, 1342, 621, 657, 30, 46506, 20625, 7203, 31686, 1303, 4943, 16034, 3084, 62, 38612, 3459, 33411, 366, 8081, 14714, 1, 1279, 705, 15, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 318, 262, 18197, 2298, 1271, 326, 550, 257, 3310, 14714, 286, 1342, 621, 657, 30, 46506, 20625, 7203, 31686, 1303, 4943, 16034, 3084, 62, 38612, 3459, 33411, 366, 8081, 14714, 1, 1279, 705, 15, 6 ]
has patient 20000 been prescribed medication in 2105?
SELECT COUNT(*) > 0 FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 20000) AND STRFTIME('%y', prescriptions.startdate) = '2105'
[ 10134, 5827, 939, 405, 587, 14798, 14103, 287, 362, 13348, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 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...
[ 10134, 5827, 939, 405, 587, 14798, 14103, 287, 362, 13348, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, ...
How many # entries are there for the date of situation of 23 January 2003?
SELECT COUNT("#") FROM table_19398 WHERE "Date of Situation" = '23 January 2003'
[ 2437, 867, 1303, 12784, 389, 612, 329, 262, 3128, 286, 3074, 286, 2242, 3269, 5816, 30, 46506, 327, 28270, 7203, 2, 4943, 16034, 3084, 62, 1129, 31952, 33411, 366, 10430, 286, 49465, 1, 796, 705, 1954, 3269, 5816, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 1303, 12784, 389, 612, 329, 262, 3128, 286, 3074, 286, 2242, 3269, 5816, 30, 46506, 327, 28270, 7203, 2, 4943, 16034, 3084, 62, 1129, 31952, 33411, 366, 10430, 286, 49465, 1, 796, 705, 1954, 3269, 5816, 6 ]
What was the Attendance when Lincoln City was the Opponents with H/A of A?
SELECT COUNT(attendance) FROM table_name_20 WHERE opponents = "lincoln city" AND h___a = "a"
[ 2061, 373, 262, 46502, 590, 618, 12406, 2254, 373, 262, 9385, 3906, 351, 367, 14, 32, 286, 317, 30, 46506, 327, 28270, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 1238, 33411, 7691, 796, 366, 75, 11690, 1748, 1, 5357, 289, 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 ]
[ 2061, 373, 262, 46502, 590, 618, 12406, 2254, 373, 262, 9385, 3906, 351, 367, 14, 32, 286, 317, 30, 46506, 327, 28270, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 1238, 33411, 7691, 796, 366, 75, 11690, 1748, 1, 5357, 289, 17...
Which position has john keane as the player?
SELECT position FROM table_name_15 WHERE player = "john keane"
[ 13828, 2292, 468, 45610, 885, 1531, 355, 262, 2137, 30, 46506, 2292, 16034, 3084, 62, 3672, 62, 1314, 33411, 2137, 796, 366, 30686, 885, 1531, 1 ]
[ 1, 1, 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, 2292, 468, 45610, 885, 1531, 355, 262, 2137, 30, 46506, 2292, 16034, 3084, 62, 3672, 62, 1314, 33411, 2137, 796, 366, 30686, 885, 1531, 1 ]
Draw a bar chart about the distribution of date_address_to and the average of monthly_rental , and group by attribute other_details and bin date_address_to by weekday.
SELECT date_address_to, AVG(monthly_rental) FROM Student_Addresses GROUP BY other_details ORDER BY monthly_rental DESC
[ 25302, 257, 2318, 8262, 546, 262, 6082, 286, 3128, 62, 21975, 62, 1462, 290, 262, 2811, 286, 9651, 62, 1156, 282, 837, 290, 1448, 416, 11688, 584, 62, 36604, 290, 9874, 3128, 62, 21975, 62, 1462, 416, 28269, 13, 46506, 3128, 62, 219...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 25302, 257, 2318, 8262, 546, 262, 6082, 286, 3128, 62, 21975, 62, 1462, 290, 262, 2811, 286, 9651, 62, 1156, 282, 837, 290, 1448, 416, 11688, 584, 62, 36604, 290, 9874, 3128, 62, 21975, 62, 1462, 416, 28269, 13, 46506, 3128, 62, 219...
what are the number of times hit is listed as the operator ?
SELECT COUNT(*) FROM table_203_196 WHERE "operator" = 'hit'
[ 10919, 389, 262, 1271, 286, 1661, 2277, 318, 5610, 355, 262, 10088, 5633, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 22416, 62, 25272, 33411, 366, 46616, 1, 796, 705, 17945, 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 ]
[ 10919, 389, 262, 1271, 286, 1661, 2277, 318, 5610, 355, 262, 10088, 5633, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 22416, 62, 25272, 33411, 366, 46616, 1, 796, 705, 17945, 6 ]
What was the prize for winner benny spindler?
SELECT prize FROM table_name_11 WHERE winner = "benny spindler"
[ 2061, 373, 262, 11596, 329, 8464, 275, 11870, 599, 521, 1754, 30, 46506, 11596, 16034, 3084, 62, 3672, 62, 1157, 33411, 8464, 796, 366, 65, 11870, 599, 521, 1754, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 11596, 329, 8464, 275, 11870, 599, 521, 1754, 30, 46506, 11596, 16034, 3084, 62, 3672, 62, 1157, 33411, 8464, 796, 366, 65, 11870, 599, 521, 1754, 1 ]
Which malaysian team classification had mohd nur rizuan zainal as points classification?
SELECT "Malaysian team classification" FROM table_2614 WHERE "Points classification" = 'Mohd Nur Rizuan Zainal'
[ 13828, 6428, 592, 666, 1074, 17923, 550, 285, 1219, 67, 299, 333, 374, 528, 7258, 1976, 391, 282, 355, 2173, 17923, 30, 46506, 366, 15029, 592, 666, 1074, 17923, 1, 16034, 3084, 62, 2075, 1415, 33411, 366, 40710, 17923, 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 ]
[ 13828, 6428, 592, 666, 1074, 17923, 550, 285, 1219, 67, 299, 333, 374, 528, 7258, 1976, 391, 282, 355, 2173, 17923, 30, 46506, 366, 15029, 592, 666, 1074, 17923, 1, 16034, 3084, 62, 2075, 1415, 33411, 366, 40710, 17923, 1, 796, 705, ...
What was the attendance at the St Kilda home game?
SELECT AVG(crowd) FROM table_name_54 WHERE home_team = "st kilda"
[ 2061, 373, 262, 14858, 379, 262, 520, 509, 27281, 1363, 983, 30, 46506, 35224, 7, 66, 3986, 8, 16034, 3084, 62, 3672, 62, 4051, 33411, 1363, 62, 15097, 796, 366, 301, 479, 27281, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14858, 379, 262, 520, 509, 27281, 1363, 983, 30, 46506, 35224, 7, 66, 3986, 8, 16034, 3084, 62, 3672, 62, 4051, 33411, 1363, 62, 15097, 796, 366, 301, 479, 27281, 1 ]
What is the minimum introduced value for the Departmental region?
SELECT MIN(introduced) FROM table_1081459_1 WHERE region = "Departmental"
[ 2061, 318, 262, 5288, 5495, 1988, 329, 262, 2732, 282, 3814, 30, 46506, 20625, 7, 27427, 771, 8, 16034, 3084, 62, 15711, 1415, 3270, 62, 16, 33411, 3814, 796, 366, 36261, 282, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5288, 5495, 1988, 329, 262, 2732, 282, 3814, 30, 46506, 20625, 7, 27427, 771, 8, 16034, 3084, 62, 15711, 1415, 3270, 62, 16, 33411, 3814, 796, 366, 36261, 282, 1 ]
what is number of parts that received their latest amendment before 2010 ?
SELECT COUNT("part") FROM table_203_679 WHERE "latest amendment" < 2010
[ 10919, 318, 1271, 286, 3354, 326, 2722, 511, 3452, 11326, 878, 3050, 5633, 46506, 327, 28270, 7203, 3911, 4943, 16034, 3084, 62, 22416, 62, 37601, 33411, 366, 42861, 11326, 1, 1279, 3050 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 1271, 286, 3354, 326, 2722, 511, 3452, 11326, 878, 3050, 5633, 46506, 327, 28270, 7203, 3911, 4943, 16034, 3084, 62, 22416, 62, 37601, 33411, 366, 42861, 11326, 1, 1279, 3050 ]
How many years did the new york giants lose at metlife stadium?
SELECT COUNT("Year") FROM table_47790 WHERE "Location" = 'metlife stadium' AND "Loser" = 'new york giants'
[ 2437, 867, 812, 750, 262, 649, 331, 967, 20178, 4425, 379, 1138, 6042, 10308, 30, 46506, 327, 28270, 7203, 17688, 4943, 16034, 3084, 62, 2857, 37750, 33411, 366, 14749, 1, 796, 705, 4164, 6042, 10308, 6, 5357, 366, 43, 13416, 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 ]
[ 2437, 867, 812, 750, 262, 649, 331, 967, 20178, 4425, 379, 1138, 6042, 10308, 30, 46506, 327, 28270, 7203, 17688, 4943, 16034, 3084, 62, 2857, 37750, 33411, 366, 14749, 1, 796, 705, 4164, 6042, 10308, 6, 5357, 366, 43, 13416, 1, 796, ...
Tell me the number of patients younger than 31 years who have syncope telemetry as their primary disease.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "SYNCOPE;TELEMETRY" AND demographic.age < "31"
[ 24446, 502, 262, 1271, 286, 3871, 7099, 621, 3261, 812, 508, 423, 17510, 3008, 5735, 41935, 355, 511, 4165, 4369, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 47356, 595...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1271, 286, 3871, 7099, 621, 3261, 812, 508, 423, 17510, 3008, 5735, 41935, 355, 511, 4165, 4369, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 47356, 595...
provide the number of patients whose insurance is self pay and diagnoses short title is gstr/ddnts nos w/o hmrhg?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.insurance = "Self Pay" AND diagnoses.short_title = "Gstr/ddnts NOS w/o hmrhg"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 5096, 318, 2116, 1414, 290, 40567, 1790, 3670, 318, 308, 2536, 14, 1860, 429, 82, 43630, 266, 14, 78, 289, 76, 17179, 70, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 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...
[ 15234, 485, 262, 1271, 286, 3871, 3025, 5096, 318, 2116, 1414, 290, 40567, 1790, 3670, 318, 308, 2536, 14, 1860, 429, 82, 43630, 266, 14, 78, 289, 76, 17179, 70, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, ...
What is the status of the Eng Country from the Maynard name?
SELECT "Status" FROM table_76831 WHERE "Country" = 'eng' AND "Name" = 'maynard'
[ 2061, 318, 262, 3722, 286, 262, 1985, 12946, 422, 262, 1737, 40542, 1438, 30, 46506, 366, 19580, 1, 16034, 3084, 62, 30610, 3132, 33411, 366, 33921, 1, 796, 705, 1516, 6, 5357, 366, 5376, 1, 796, 705, 11261, 40542, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 3722, 286, 262, 1985, 12946, 422, 262, 1737, 40542, 1438, 30, 46506, 366, 19580, 1, 16034, 3084, 62, 30610, 3132, 33411, 366, 33921, 1, 796, 705, 1516, 6, 5357, 366, 5376, 1, 796, 705, 11261, 40542, 6 ]
For those employees who get more salary than the employee whose id is 163, show the frequency of their last name, and could you rank by the Y from low to high?
SELECT LAST_NAME, COUNT(LAST_NAME) FROM employees WHERE SALARY > (SELECT SALARY FROM employees WHERE EMPLOYEE_ID = 163) GROUP BY LAST_NAME ORDER BY COUNT(LAST_NAME)
[ 1890, 883, 4409, 508, 651, 517, 9588, 621, 262, 6538, 3025, 4686, 318, 26826, 11, 905, 262, 8373, 286, 511, 938, 1438, 11, 290, 714, 345, 4279, 416, 262, 575, 422, 1877, 284, 1029, 30, 46506, 41894, 62, 20608, 11, 327, 28270, 7, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4409, 508, 651, 517, 9588, 621, 262, 6538, 3025, 4686, 318, 26826, 11, 905, 262, 8373, 286, 511, 938, 1438, 11, 290, 714, 345, 4279, 416, 262, 575, 422, 1877, 284, 1029, 30, 46506, 41894, 62, 20608, 11, 327, 28270, 7, 4...
What's the record of game number 23?
SELECT "Record" FROM table_39661 WHERE "Number" = '23'
[ 2061, 338, 262, 1700, 286, 983, 1271, 2242, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 2670, 47159, 33411, 366, 15057, 1, 796, 705, 1954, 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, 338, 262, 1700, 286, 983, 1271, 2242, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 2670, 47159, 33411, 366, 15057, 1, 796, 705, 1954, 6 ]
how many patients were diagnosed with lung contusion-closed who did not return to the hospital within the same month since 6 years ago?
SELECT (SELECT COUNT(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'lung contu...
[ 4919, 867, 3871, 547, 14641, 351, 12317, 542, 4241, 12, 20225, 508, 750, 407, 1441, 284, 262, 4436, 1626, 262, 976, 1227, 1201, 718, 812, 2084, 30, 46506, 357, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 32796, 62, 312,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 3871, 547, 14641, 351, 12317, 542, 4241, 12, 20225, 508, 750, 407, 1441, 284, 262, 4436, 1626, 262, 976, 1227, 1201, 718, 812, 2084, 30, 46506, 357, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 32796, 62, 312,...
what are the five most frequently performed surgeries for patients 30s during this year?
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 procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.age B...
[ 10919, 389, 262, 1936, 749, 6777, 6157, 33624, 329, 3871, 1542, 82, 1141, 428, 614, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1936, 749, 6777, 6157, 33624, 329, 3871, 1542, 82, 1141, 428, 614, 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, ...
What is the total number of Total when Germany is the nation with less than 1 silver?
SELECT COUNT(total) FROM table_name_35 WHERE nation = "germany" AND silver < 1
[ 2061, 318, 262, 2472, 1271, 286, 7472, 618, 4486, 318, 262, 3277, 351, 1342, 621, 352, 8465, 30, 46506, 327, 28270, 7, 23350, 8, 16034, 3084, 62, 3672, 62, 2327, 33411, 3277, 796, 366, 1362, 21834, 1, 5357, 8465, 1279, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2472, 1271, 286, 7472, 618, 4486, 318, 262, 3277, 351, 1342, 621, 352, 8465, 30, 46506, 327, 28270, 7, 23350, 8, 16034, 3084, 62, 3672, 62, 2327, 33411, 3277, 796, 366, 1362, 21834, 1, 5357, 8465, 1279, 352 ]
Total number of users grouped by location.
SELECT COUNT(Id) FROM Users WHERE Location = 'India'
[ 14957, 1271, 286, 2985, 32824, 416, 4067, 13, 46506, 327, 28270, 7, 7390, 8, 16034, 18987, 33411, 13397, 796, 705, 21569, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 14957, 1271, 286, 2985, 32824, 416, 4067, 13, 46506, 327, 28270, 7, 7390, 8, 16034, 18987, 33411, 13397, 796, 705, 21569, 6 ]
what is the number of patients whose diagnoses icd9 code is 99659 and drug route is id?
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.icd9_code = "99659" AND prescriptions.route = "ID"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 40567, 14158, 67, 24, 2438, 318, 7388, 36445, 290, 2563, 6339, 318, 4686, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 40567, 14158, 67, 24, 2438, 318, 7388, 36445, 290, 2563, 6339, 318, 4686, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40...
Which station has a license in Fort Collins, Colorado?
SELECT station FROM table_1353096_2 WHERE city_of_license_market = "Fort Collins, Colorado"
[ 13828, 4429, 468, 257, 5964, 287, 6401, 14006, 11, 7492, 30, 46506, 4429, 16034, 3084, 62, 17059, 1270, 4846, 62, 17, 33411, 1748, 62, 1659, 62, 43085, 62, 10728, 796, 366, 21926, 14006, 11, 7492, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 4429, 468, 257, 5964, 287, 6401, 14006, 11, 7492, 30, 46506, 4429, 16034, 3084, 62, 17059, 1270, 4846, 62, 17, 33411, 1748, 62, 1659, 62, 43085, 62, 10728, 796, 366, 21926, 14006, 11, 7492, 1 ]
What number of patients below the age of 71 had a lab test named asparate aminotransferase (ast)?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.age < "71" AND lab.label = "Asparate Aminotransferase (AST)"
[ 2061, 1271, 286, 3871, 2174, 262, 2479, 286, 9166, 550, 257, 2248, 1332, 3706, 355, 1845, 378, 716, 259, 313, 26084, 2232, 589, 357, 459, 19427, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 1271, 286, 3871, 2174, 262, 2479, 286, 9166, 550, 257, 2248, 1332, 3706, 355, 1845, 378, 716, 259, 313, 26084, 2232, 589, 357, 459, 19427, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, ...
WHAT IS THE POINTS PERCENTAGE WITH A TOTAL OF 1-2-2 RECORD?
SELECT "Points %" FROM table_50755 WHERE "Total W-L-H" = '1-2-2'
[ 32971, 3180, 3336, 19922, 1268, 4694, 19878, 43960, 11879, 13315, 317, 36247, 3963, 352, 12, 17, 12, 17, 19644, 12532, 30, 46506, 366, 40710, 4064, 1, 16034, 3084, 62, 1120, 38172, 33411, 366, 14957, 370, 12, 43, 12, 39, 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 ]
[ 32971, 3180, 3336, 19922, 1268, 4694, 19878, 43960, 11879, 13315, 317, 36247, 3963, 352, 12, 17, 12, 17, 19644, 12532, 30, 46506, 366, 40710, 4064, 1, 16034, 3084, 62, 1120, 38172, 33411, 366, 14957, 370, 12, 43, 12, 39, 1, 796, 705, ...
What are the names of entrepreneurs?
SELECT T2.Name FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID
[ 2061, 389, 262, 3891, 286, 17038, 30, 46506, 309, 17, 13, 5376, 16034, 19500, 7054, 309, 16, 32357, 1268, 661, 7054, 309, 17, 6177, 309, 16, 13, 8061, 62, 2389, 796, 309, 17, 13, 8061, 62, 2389 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 262, 3891, 286, 17038, 30, 46506, 309, 17, 13, 5376, 16034, 19500, 7054, 309, 16, 32357, 1268, 661, 7054, 309, 17, 6177, 309, 16, 13, 8061, 62, 2389, 796, 309, 17, 13, 8061, 62, 2389 ]
What is the name of the candidate where the incumbent is named James P. Buchanan?
SELECT "Candidates" FROM table_18660 WHERE "Incumbent" = 'James P. Buchanan'
[ 2061, 318, 262, 1438, 286, 262, 4540, 810, 262, 23526, 318, 3706, 3700, 350, 13, 36358, 30, 46506, 366, 41572, 37051, 1, 16034, 3084, 62, 25096, 1899, 33411, 366, 25517, 2178, 298, 1, 796, 705, 14731, 350, 13, 36358, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1438, 286, 262, 4540, 810, 262, 23526, 318, 3706, 3700, 350, 13, 36358, 30, 46506, 366, 41572, 37051, 1, 16034, 3084, 62, 25096, 1899, 33411, 366, 25517, 2178, 298, 1, 796, 705, 14731, 350, 13, 36358, 6 ]
How many cuts were made when there weren't any wins but had a top-5 of 1 and a top 10 larger than 4?
SELECT SUM(cuts_made) FROM table_name_62 WHERE wins < 1 AND top_5 = 1 AND top_10 > 4
[ 2437, 867, 6630, 547, 925, 618, 612, 6304, 470, 597, 7864, 475, 550, 257, 1353, 12, 20, 286, 352, 290, 257, 1353, 838, 4025, 621, 604, 30, 46506, 35683, 7, 23779, 62, 9727, 8, 16034, 3084, 62, 3672, 62, 5237, 33411, 7864, 1279, 35...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6630, 547, 925, 618, 612, 6304, 470, 597, 7864, 475, 550, 257, 1353, 12, 20, 286, 352, 290, 257, 1353, 838, 4025, 621, 604, 30, 46506, 35683, 7, 23779, 62, 9727, 8, 16034, 3084, 62, 3672, 62, 5237, 33411, 7864, 1279, 35...
What are the average wins with a Points of 42-2, and Goals against of 67, and Played smaller than 44?
SELECT AVG("Wins") FROM table_67675 WHERE "Points" = '42-2' AND "Goals against" = '67' AND "Played" < '44'
[ 2061, 389, 262, 2811, 7864, 351, 257, 11045, 286, 5433, 12, 17, 11, 290, 28510, 1028, 286, 8275, 11, 290, 33101, 4833, 621, 5846, 30, 46506, 35224, 7203, 54, 1040, 4943, 16034, 3084, 62, 3134, 42444, 33411, 366, 40710, 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, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 389, 262, 2811, 7864, 351, 257, 11045, 286, 5433, 12, 17, 11, 290, 28510, 1028, 286, 8275, 11, 290, 33101, 4833, 621, 5846, 30, 46506, 35224, 7203, 54, 1040, 4943, 16034, 3084, 62, 3134, 42444, 33411, 366, 40710, 1, 796, 705, ...
Which source has a date of June 2008?
SELECT "Source" FROM table_66327 WHERE "Date" = 'june 2008'
[ 13828, 2723, 468, 257, 3128, 286, 2795, 3648, 30, 46506, 366, 7416, 1, 16034, 3084, 62, 2791, 34159, 33411, 366, 10430, 1, 796, 705, 73, 1726, 3648, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 2723, 468, 257, 3128, 286, 2795, 3648, 30, 46506, 366, 7416, 1, 16034, 3084, 62, 2791, 34159, 33411, 366, 10430, 1, 796, 705, 73, 1726, 3648, 6 ]
Name the highest game for west (8) high assists
SELECT MAX("Game") FROM table_53701 WHERE "High assists" = 'west (8)'
[ 5376, 262, 4511, 983, 329, 7421, 357, 23, 8, 1029, 13648, 46506, 25882, 7203, 8777, 4943, 16034, 3084, 62, 46096, 486, 33411, 366, 11922, 13648, 1, 796, 705, 7038, 357, 23, 33047 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 4511, 983, 329, 7421, 357, 23, 8, 1029, 13648, 46506, 25882, 7203, 8777, 4943, 16034, 3084, 62, 46096, 486, 33411, 366, 11922, 13648, 1, 796, 705, 7038, 357, 23, 33047 ]
how many papers does nicola dell have at chi
SELECT DISTINCT COUNT(paper.paperid) FROM author, paper, venue, writes WHERE author.authorname = 'nicola dell' AND venue.venueid = paper.venueid AND venue.venuename = 'chi' AND writes.authorid = author.authorid AND writes.paperid = paper.paperid
[ 4919, 867, 9473, 857, 9200, 5708, 390, 297, 423, 379, 33166, 46506, 360, 8808, 1268, 4177, 327, 28270, 7, 20189, 13, 20189, 312, 8, 16034, 1772, 11, 3348, 11, 14359, 11, 6797, 33411, 1772, 13, 18439, 1211, 480, 796, 705, 6988, 5708, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 9473, 857, 9200, 5708, 390, 297, 423, 379, 33166, 46506, 360, 8808, 1268, 4177, 327, 28270, 7, 20189, 13, 20189, 312, 8, 16034, 1772, 11, 3348, 11, 14359, 11, 6797, 33411, 1772, 13, 18439, 1211, 480, 796, 705, 6988, 5708, ...
Which 1st Member has an election in 1880 and a liberal 1st Party?
SELECT "1st Member" FROM table_71752 WHERE "1st Party" = 'liberal' AND "Election" = '1880'
[ 13828, 352, 301, 10239, 468, 281, 3071, 287, 34865, 290, 257, 7270, 352, 301, 3615, 30, 46506, 366, 16, 301, 10239, 1, 16034, 3084, 62, 22, 1558, 4309, 33411, 366, 16, 301, 3615, 1, 796, 705, 35739, 6, 5357, 366, 36, 1564, 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 ]
[ 13828, 352, 301, 10239, 468, 281, 3071, 287, 34865, 290, 257, 7270, 352, 301, 3615, 30, 46506, 366, 16, 301, 10239, 1, 16034, 3084, 62, 22, 1558, 4309, 33411, 366, 16, 301, 3615, 1, 796, 705, 35739, 6, 5357, 366, 36, 1564, 1, 796,...
Who had the high rebounds on January 24?
SELECT "High rebounds" FROM table_76331 WHERE "Date" = 'january 24'
[ 8241, 550, 262, 1029, 18841, 319, 3269, 1987, 30, 46506, 366, 11922, 18841, 1, 16034, 3084, 62, 4304, 31697, 33411, 366, 10430, 1, 796, 705, 13881, 2838, 1987, 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 ]
[ 8241, 550, 262, 1029, 18841, 319, 3269, 1987, 30, 46506, 366, 11922, 18841, 1, 16034, 3084, 62, 4304, 31697, 33411, 366, 10430, 1, 796, 705, 13881, 2838, 1987, 6 ]
What draft pick is a goaltender?
SELECT "Pick #" FROM table_4153 WHERE "Position" = 'Goaltender'
[ 2061, 4538, 2298, 318, 257, 44113, 30, 46506, 366, 31686, 1303, 1, 16034, 3084, 62, 19, 21395, 33411, 366, 26545, 1, 796, 705, 5247, 2501, 2194, 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, 4538, 2298, 318, 257, 44113, 30, 46506, 366, 31686, 1303, 1, 16034, 3084, 62, 19, 21395, 33411, 366, 26545, 1, 796, 705, 5247, 2501, 2194, 6 ]
What is the most lanes used in races with more than 1 heat and a winning mark of 7.25?
SELECT MAX("Lane") FROM table_8940 WHERE "Heat" > '1' AND "Mark" = '7.25'
[ 2061, 318, 262, 749, 15296, 973, 287, 9558, 351, 517, 621, 352, 4894, 290, 257, 5442, 1317, 286, 767, 13, 1495, 30, 46506, 25882, 7203, 43, 1531, 4943, 16034, 3084, 62, 4531, 1821, 33411, 366, 39596, 1, 1875, 705, 16, 6, 5357, 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 ]
[ 2061, 318, 262, 749, 15296, 973, 287, 9558, 351, 517, 621, 352, 4894, 290, 257, 5442, 1317, 286, 767, 13, 1495, 30, 46506, 25882, 7203, 43, 1531, 4943, 16034, 3084, 62, 4531, 1821, 33411, 366, 39596, 1, 1875, 705, 16, 6, 5357, 366, ...
What are the full names of the 3 instructors who teach the most courses?
SELECT T2.fname, T2.lname FROM course AS T1 JOIN faculty AS T2 ON T1.instructor = T2.facid GROUP BY T1.instructor ORDER BY COUNT(*) DESC LIMIT 3
[ 2061, 389, 262, 1336, 3891, 286, 262, 513, 33667, 508, 4545, 262, 749, 10902, 30, 46506, 309, 17, 13, 69, 3672, 11, 309, 17, 13, 75, 3672, 16034, 1781, 7054, 309, 16, 32357, 1268, 12829, 7054, 309, 17, 6177, 309, 16, 13, 259, 7249...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1336, 3891, 286, 262, 513, 33667, 508, 4545, 262, 749, 10902, 30, 46506, 309, 17, 13, 69, 3672, 11, 309, 17, 13, 75, 3672, 16034, 1781, 7054, 309, 16, 32357, 1268, 12829, 7054, 309, 17, 6177, 309, 16, 13, 259, 7249...
What's the sum of attendance when banbury united is the away team and tie no is over 102?
SELECT SUM("Attendance") FROM table_62043 WHERE "Away team" = 'banbury united' AND "Tie no" > '102'
[ 2061, 338, 262, 2160, 286, 14858, 618, 3958, 10711, 16503, 318, 262, 1497, 1074, 290, 9839, 645, 318, 625, 15143, 30, 46506, 35683, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 38850, 3559, 33411, 366, 32, 1014, 1074, 1, 796, 705, 382...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 338, 262, 2160, 286, 14858, 618, 3958, 10711, 16503, 318, 262, 1497, 1074, 290, 9839, 645, 318, 625, 15143, 30, 46506, 35683, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 38850, 3559, 33411, 366, 32, 1014, 1074, 1, 796, 705, 382...
count the number of patients whose admission type is emergency and lab test category is blood gas?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_type = "EMERGENCY" AND lab."CATEGORY" = "Blood Gas"
[ 9127, 262, 1271, 286, 3871, 3025, 13938, 2099, 318, 6334, 290, 2248, 1332, 6536, 318, 2910, 3623, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9127, 262, 1271, 286, 3871, 3025, 13938, 2099, 318, 6334, 290, 2248, 1332, 6536, 318, 2910, 3623, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, ...
Which varieties of apple typically have higher pesticide levels?
SELECT T1.variety FROM resultsdata15 AS T2 JOIN sampledata15 AS T1 ON T1.sample_pk = T2.sample_pk WHERE T2.commod = "AP" GROUP BY T1.variety ORDER BY SUM(T2.concen) DESC LIMIT 1
[ 13828, 20328, 286, 17180, 6032, 423, 2440, 36466, 2974, 30, 46506, 309, 16, 13, 7785, 1905, 16034, 2482, 7890, 1314, 7054, 309, 17, 32357, 1268, 35846, 1045, 1314, 7054, 309, 16, 6177, 309, 16, 13, 39873, 62, 79, 74, 796, 309, 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, 1...
[ 13828, 20328, 286, 17180, 6032, 423, 2440, 36466, 2974, 30, 46506, 309, 16, 13, 7785, 1905, 16034, 2482, 7890, 1314, 7054, 309, 17, 32357, 1268, 35846, 1045, 1314, 7054, 309, 16, 6177, 309, 16, 13, 39873, 62, 79, 74, 796, 309, 17, 1...
What is the road record for Vanderbilt?
SELECT COUNT("Road Record") FROM table_25697 WHERE "Team" = 'Vanderbilt'
[ 2061, 318, 262, 2975, 1700, 329, 38684, 30, 46506, 327, 28270, 7203, 29197, 13266, 4943, 16034, 3084, 62, 1495, 40035, 33411, 366, 15592, 1, 796, 705, 53, 4066, 34508, 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, 2975, 1700, 329, 38684, 30, 46506, 327, 28270, 7203, 29197, 13266, 4943, 16034, 3084, 62, 1495, 40035, 33411, 366, 15592, 1, 796, 705, 53, 4066, 34508, 6 ]
Give me the comparison about School_ID over the All_Home , and group by attribute ACC_Road by a bar chart, and sort names in ascending order please.
SELECT All_Home, School_ID FROM basketball_match GROUP BY ACC_Road, All_Home ORDER BY All_Home
[ 23318, 502, 262, 7208, 546, 3961, 62, 2389, 625, 262, 1439, 62, 16060, 837, 290, 1448, 416, 11688, 15859, 62, 29197, 416, 257, 2318, 8262, 11, 290, 3297, 3891, 287, 41988, 1502, 3387, 13, 46506, 1439, 62, 16060, 11, 3961, 62, 2389, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 23318, 502, 262, 7208, 546, 3961, 62, 2389, 625, 262, 1439, 62, 16060, 837, 290, 1448, 416, 11688, 15859, 62, 29197, 416, 257, 2318, 8262, 11, 290, 3297, 3891, 287, 41988, 1502, 3387, 13, 46506, 1439, 62, 16060, 11, 3961, 62, 2389, ...
now i need a flight leaving FORT WORTH and arriving in DENVER no later than 2pm next monday
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, date_day, days, flight WHERE ((date_day.day_number = 21 AND date_day.month_number = 2 AND date_day.year = 1991 AND days.day_name = date_day.day_name AND flight.departure_time...
[ 2197, 1312, 761, 257, 5474, 4305, 7473, 51, 21881, 4221, 290, 14820, 287, 37692, 5959, 645, 1568, 621, 362, 4426, 1306, 285, 3204, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 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...
[ 2197, 1312, 761, 257, 5474, 4305, 7473, 51, 21881, 4221, 290, 14820, 287, 37692, 5959, 645, 1568, 621, 362, 4426, 1306, 285, 3204, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, ...
had patient 13806 been prescribed vancomycin hcl, phenylephrine or d5w (excel bag) until 2102?
SELECT COUNT(*) > 0 FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 13806) AND prescriptions.drug IN ('vancomycin hcl', 'phenylephrine', 'd5w (excel bag)') AND STRFTIME('%y', prescriptions.startdate) <= '2102'
[ 18108, 5827, 1511, 37988, 587, 14798, 5719, 785, 88, 17879, 289, 565, 11, 6566, 2349, 47723, 393, 288, 20, 86, 357, 1069, 5276, 6131, 8, 1566, 362, 15377, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 34092, 33411, 34092, 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...
[ 18108, 5827, 1511, 37988, 587, 14798, 5719, 785, 88, 17879, 289, 565, 11, 6566, 2349, 47723, 393, 288, 20, 86, 357, 1069, 5276, 6131, 8, 1566, 362, 15377, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 34092, 33411, 34092, 13, 181...
Display a bar chart for the names and the ages of editors, order by the total number in desc.
SELECT Name, Age FROM editor ORDER BY Age DESC
[ 23114, 257, 2318, 8262, 329, 262, 3891, 290, 262, 9337, 286, 15719, 11, 1502, 416, 262, 2472, 1271, 287, 1715, 13, 46506, 6530, 11, 7129, 16034, 5464, 38678, 11050, 7129, 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 ]
[ 23114, 257, 2318, 8262, 329, 262, 3891, 290, 262, 9337, 286, 15719, 11, 1502, 416, 262, 2472, 1271, 287, 1715, 13, 46506, 6530, 11, 7129, 16034, 5464, 38678, 11050, 7129, 22196, 34 ]
What years did the player who's school is Clemson spend in Orlando?
SELECT "Years in Orlando" FROM table_20199 WHERE "School/Club Team" = 'Clemson'
[ 2061, 812, 750, 262, 2137, 508, 338, 1524, 318, 27801, 4341, 287, 13117, 30, 46506, 366, 40630, 287, 13117, 1, 16034, 3084, 62, 1264, 2079, 33411, 366, 26130, 14, 42350, 4816, 1, 796, 705, 34349, 24996, 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, 812, 750, 262, 2137, 508, 338, 1524, 318, 27801, 4341, 287, 13117, 30, 46506, 366, 40630, 287, 13117, 1, 16034, 3084, 62, 1264, 2079, 33411, 366, 26130, 14, 42350, 4816, 1, 796, 705, 34349, 24996, 6 ]
Which club had 5 bonus points?
SELECT club FROM table_27293285_2 WHERE bonus_points = "5"
[ 13828, 3430, 550, 642, 7202, 2173, 30, 46506, 3430, 16034, 3084, 62, 1983, 31675, 26279, 62, 17, 33411, 7202, 62, 13033, 796, 366, 20, 1 ]
[ 1, 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, 3430, 550, 642, 7202, 2173, 30, 46506, 3430, 16034, 3084, 62, 1983, 31675, 26279, 62, 17, 33411, 7202, 62, 13033, 796, 366, 20, 1 ]
How many production codes are there for episode number 45?
SELECT COUNT("Prod. code") FROM table_28250 WHERE "No." = '45'
[ 2437, 867, 3227, 12416, 389, 612, 329, 4471, 1271, 4153, 30, 46506, 327, 28270, 7203, 2964, 67, 13, 2438, 4943, 16034, 3084, 62, 2078, 9031, 33411, 366, 2949, 526, 796, 705, 2231, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 3227, 12416, 389, 612, 329, 4471, 1271, 4153, 30, 46506, 327, 28270, 7203, 2964, 67, 13, 2438, 4943, 16034, 3084, 62, 2078, 9031, 33411, 366, 2949, 526, 796, 705, 2231, 6 ]
List all the Sci-Fi movies which released in 2010
SELECT movie.title FROM classification, genre, movie WHERE genre.genre = 'Sci-Fi' AND genre.gid = classification.gid AND movie.mid = classification.msid AND movie.release_year = 2010
[ 8053, 477, 262, 10286, 12, 10547, 6918, 543, 2716, 287, 3050, 46506, 3807, 13, 7839, 16034, 17923, 11, 12121, 11, 3807, 33411, 12121, 13, 35850, 796, 705, 50, 979, 12, 10547, 6, 5357, 12121, 13, 70, 312, 796, 17923, 13, 70, 312, 535...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8053, 477, 262, 10286, 12, 10547, 6918, 543, 2716, 287, 3050, 46506, 3807, 13, 7839, 16034, 17923, 11, 12121, 11, 3807, 33411, 12121, 13, 35850, 796, 705, 50, 979, 12, 10547, 6, 5357, 12121, 13, 70, 312, 796, 17923, 13, 70, 312, 535...
Show the number of accounts in a pie chart that groups by other account details.
SELECT other_account_details, COUNT(other_account_details) FROM Accounts GROUP BY other_account_details
[ 15307, 262, 1271, 286, 5504, 287, 257, 2508, 8262, 326, 2628, 416, 584, 1848, 3307, 13, 46506, 584, 62, 23317, 62, 36604, 11, 327, 28270, 7, 847, 62, 23317, 62, 36604, 8, 16034, 35584, 44441, 11050, 584, 62, 23317, 62, 36604 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1271, 286, 5504, 287, 257, 2508, 8262, 326, 2628, 416, 584, 1848, 3307, 13, 46506, 584, 62, 23317, 62, 36604, 11, 327, 28270, 7, 847, 62, 23317, 62, 36604, 8, 16034, 35584, 44441, 11050, 584, 62, 23317, 62, 36604 ]