instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
How many airports are there per country? Order the countries by decreasing number of airports.
SELECT COUNT(*), country FROM airports GROUP BY country ORDER BY COUNT(*) DESC
[ 2437, 867, 22600, 389, 612, 583, 1499, 30, 8284, 262, 2678, 416, 24030, 1271, 286, 22600, 13, 46506, 327, 28270, 46491, 828, 1499, 16034, 22600, 44441, 11050, 1499, 38678, 11050, 327, 28270, 7, 28104, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 22600, 389, 612, 583, 1499, 30, 8284, 262, 2678, 416, 24030, 1271, 286, 22600, 13, 46506, 327, 28270, 46491, 828, 1499, 16034, 22600, 44441, 11050, 1499, 38678, 11050, 327, 28270, 7, 28104, 22196, 34 ]
Usuarios que ja responderam Quest o de WP.
SELECT u.* FROM Posts AS p JOIN Posts AS respostas ON respostas.ParentId = p.Id JOIN Users AS u ON p.OwnerUserId = u.Id WHERE p.Tags LIKE '%<windows-phone%' AND p.CreationDate >= '01/01/2018'
[ 52, 2385, 13010, 8358, 45091, 3031, 263, 321, 6785, 267, 390, 28993, 13, 46506, 334, 15885, 16034, 12043, 7054, 279, 32357, 1268, 12043, 7054, 1217, 455, 292, 6177, 1217, 455, 292, 13, 24546, 7390, 796, 279, 13, 7390, 32357, 1268, 18987...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 52, 2385, 13010, 8358, 45091, 3031, 263, 321, 6785, 267, 390, 28993, 13, 46506, 334, 15885, 16034, 12043, 7054, 279, 32357, 1268, 12043, 7054, 1217, 455, 292, 6177, 1217, 455, 292, 13, 24546, 7390, 796, 279, 13, 7390, 32357, 1268, 18987...
How many points for were scored by the team that won exactly 22?
SELECT points_for FROM table_27293285_6 WHERE won = "22"
[ 2437, 867, 2173, 329, 547, 7781, 416, 262, 1074, 326, 1839, 3446, 2534, 30, 46506, 2173, 62, 1640, 16034, 3084, 62, 1983, 31675, 26279, 62, 21, 33411, 1839, 796, 366, 1828, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 2173, 329, 547, 7781, 416, 262, 1074, 326, 1839, 3446, 2534, 30, 46506, 2173, 62, 1640, 16034, 3084, 62, 1983, 31675, 26279, 62, 21, 33411, 1839, 796, 366, 1828, 1 ]
Give me the comparison about the sum of School_ID over the ACC_Road , and group by attribute ACC_Road by a bar chart.
SELECT ACC_Road, SUM(School_ID) FROM basketball_match GROUP BY ACC_Road
[ 23318, 502, 262, 7208, 546, 262, 2160, 286, 3961, 62, 2389, 625, 262, 15859, 62, 29197, 837, 290, 1448, 416, 11688, 15859, 62, 29197, 416, 257, 2318, 8262, 13, 46506, 15859, 62, 29197, 11, 35683, 7, 26130, 62, 2389, 8, 16034, 9669, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 23318, 502, 262, 7208, 546, 262, 2160, 286, 3961, 62, 2389, 625, 262, 15859, 62, 29197, 837, 290, 1448, 416, 11688, 15859, 62, 29197, 416, 257, 2318, 8262, 13, 46506, 15859, 62, 29197, 11, 35683, 7, 26130, 62, 2389, 8, 16034, 9669, ...
What is Lijsttrekker, when Year is after 1990, and when Chair is 'Ingrid Van Engelshoven'?
SELECT lijsttrekker FROM table_name_51 WHERE year > 1990 AND chair = "ingrid van engelshoven"
[ 2061, 318, 406, 2926, 301, 33945, 74, 6122, 11, 618, 6280, 318, 706, 6303, 11, 290, 618, 9369, 318, 705, 27682, 6058, 6656, 42532, 8873, 574, 30960, 46506, 300, 2926, 301, 33945, 74, 6122, 16034, 3084, 62, 3672, 62, 4349, 33411, 614, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 406, 2926, 301, 33945, 74, 6122, 11, 618, 6280, 318, 706, 6303, 11, 290, 618, 9369, 318, 705, 27682, 6058, 6656, 42532, 8873, 574, 30960, 46506, 300, 2926, 301, 33945, 74, 6122, 16034, 3084, 62, 3672, 62, 4349, 33411, 614, ...
What is Partner Tomas Behrend's Score in the final?
SELECT score_in_the_final FROM table_name_48 WHERE partner = "tomas behrend"
[ 2061, 318, 35532, 42884, 10407, 10920, 338, 15178, 287, 262, 2457, 30, 46506, 4776, 62, 259, 62, 1169, 62, 20311, 16034, 3084, 62, 3672, 62, 2780, 33411, 5212, 796, 366, 83, 16911, 1372, 10920, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 35532, 42884, 10407, 10920, 338, 15178, 287, 262, 2457, 30, 46506, 4776, 62, 259, 62, 1169, 62, 20311, 16034, 3084, 62, 3672, 62, 2780, 33411, 5212, 796, 366, 83, 16911, 1372, 10920, 1 ]
What are the completion dates of all the tests that have result 'Fail'?
SELECT T1.date_of_completion FROM Student_Course_Enrolment AS T1 JOIN Student_Tests_Taken AS T2 ON T1.registration_id = T2.registration_id WHERE T2.test_result = "Fail"
[ 2061, 389, 262, 11939, 9667, 286, 477, 262, 5254, 326, 423, 1255, 705, 39044, 30960, 46506, 309, 16, 13, 4475, 62, 1659, 62, 785, 24547, 16034, 13613, 62, 49046, 62, 4834, 3225, 434, 7054, 309, 16, 32357, 1268, 13613, 62, 51, 3558, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11939, 9667, 286, 477, 262, 5254, 326, 423, 1255, 705, 39044, 30960, 46506, 309, 16, 13, 4475, 62, 1659, 62, 785, 24547, 16034, 13613, 62, 49046, 62, 4834, 3225, 434, 7054, 309, 16, 32357, 1268, 13613, 62, 51, 3558, ...
age 5 _ 14 at time of enrollment
SELECT * FROM table_train_199 WHERE age >= 5 AND age <= 14
[ 496, 642, 4808, 1478, 379, 640, 286, 20753, 46506, 1635, 16034, 3084, 62, 27432, 62, 19104, 33411, 2479, 18189, 642, 5357, 2479, 19841, 1478 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 496, 642, 4808, 1478, 379, 640, 286, 20753, 46506, 1635, 16034, 3084, 62, 27432, 62, 19104, 33411, 2479, 18189, 642, 5357, 2479, 19841, 1478 ]
What was the attendance on September 11, 1988?
SELECT AVG("Attendance") FROM table_62383 WHERE "Date" = 'september 11, 1988'
[ 2061, 373, 262, 14858, 319, 2693, 1367, 11, 12122, 30, 46506, 35224, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 46872, 5999, 33411, 366, 10430, 1, 796, 705, 325, 457, 1491, 1367, 11, 12122, 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, 14858, 319, 2693, 1367, 11, 12122, 30, 46506, 35224, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 46872, 5999, 33411, 366, 10430, 1, 796, 705, 325, 457, 1491, 1367, 11, 12122, 6 ]
Find the number of courses for each subject in a bar chart, and rank from high to low by the bars.
SELECT subject_name, COUNT(*) FROM Courses AS T1 JOIN Subjects AS T2 ON T1.subject_id = T2.subject_id GROUP BY T1.subject_id ORDER BY subject_name DESC
[ 16742, 262, 1271, 286, 10902, 329, 1123, 2426, 287, 257, 2318, 8262, 11, 290, 4279, 422, 1029, 284, 1877, 416, 262, 9210, 13, 46506, 2426, 62, 3672, 11, 327, 28270, 7, 28104, 16034, 2734, 8448, 7054, 309, 16, 32357, 1268, 43815, 7054,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 16742, 262, 1271, 286, 10902, 329, 1123, 2426, 287, 257, 2318, 8262, 11, 290, 4279, 422, 1029, 284, 1877, 416, 262, 9210, 13, 46506, 2426, 62, 3672, 11, 327, 28270, 7, 28104, 16034, 2734, 8448, 7054, 309, 16, 32357, 1268, 43815, 7054,...
What was the place when the score was 70-69-74=213?
SELECT "Place" FROM table_61646 WHERE "Score" = '70-69-74=213'
[ 2061, 373, 262, 1295, 618, 262, 4776, 373, 4317, 12, 3388, 12, 4524, 28, 26427, 30, 46506, 366, 27271, 1, 16034, 3084, 62, 44214, 3510, 33411, 366, 26595, 1, 796, 705, 2154, 12, 3388, 12, 4524, 28, 26427, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 1295, 618, 262, 4776, 373, 4317, 12, 3388, 12, 4524, 28, 26427, 30, 46506, 366, 27271, 1, 16034, 3084, 62, 44214, 3510, 33411, 366, 26595, 1, 796, 705, 2154, 12, 3388, 12, 4524, 28, 26427, 6 ]
How many military deaths were there when there were 1,615 total casualties?
SELECT military_deaths FROM table_name_92 WHERE total_casualties = "1,615"
[ 2437, 867, 2422, 7040, 547, 612, 618, 612, 547, 352, 11, 47007, 2472, 18499, 30, 46506, 2422, 62, 22595, 82, 16034, 3084, 62, 3672, 62, 5892, 33411, 2472, 62, 34004, 723, 4278, 796, 366, 16, 11, 47007, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2422, 7040, 547, 612, 618, 612, 547, 352, 11, 47007, 2472, 18499, 30, 46506, 2422, 62, 22595, 82, 16034, 3084, 62, 3672, 62, 5892, 33411, 2472, 62, 34004, 723, 4278, 796, 366, 16, 11, 47007, 1 ]
Who was North Melbourne's home opponent?
SELECT "Home team" FROM table_58389 WHERE "Away team" = 'north melbourne'
[ 8241, 373, 2258, 14819, 338, 1363, 6125, 30, 46506, 366, 16060, 1074, 1, 16034, 3084, 62, 3365, 29769, 33411, 366, 32, 1014, 1074, 1, 796, 705, 43588, 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 ]
[ 8241, 373, 2258, 14819, 338, 1363, 6125, 30, 46506, 366, 16060, 1074, 1, 16034, 3084, 62, 3365, 29769, 33411, 366, 32, 1014, 1074, 1, 796, 705, 43588, 7758, 12544, 6 ]
find how many hispanic or latino patients have been diagnosed under icd9 code v140.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.ethnicity = "HISPANIC OR LATINO" AND diagnoses.icd9_code = "V140"
[ 19796, 703, 867, 465, 35843, 393, 3042, 2879, 3871, 423, 587, 14641, 739, 14158, 67, 24, 2438, 410, 15187, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 61...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 19796, 703, 867, 465, 35843, 393, 3042, 2879, 3871, 423, 587, 14641, 739, 14158, 67, 24, 2438, 410, 15187, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 61...
had patient 2700 been to er until 2104?
SELECT COUNT(*) > 0 FROM admissions WHERE admissions.subject_id = 2700 AND admissions.admission_location = 'emergency room admit' AND STRFTIME('%y', admissions.admittime) <= '2104'
[ 18108, 5827, 2681, 405, 587, 284, 1931, 1566, 362, 13464, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 2681, 405, 5357, 25349, 13, 324, 3411, 62, 24886, 796, 705, 24677, 4949, 2119, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2681, 405, 587, 284, 1931, 1566, 362, 13464, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 2681, 405, 5357, 25349, 13, 324, 3411, 62, 24886, 796, 705, 24677, 4949, 2119, ...
Name the 18-49 rating for weekly rank of 30
SELECT 18 AS _49__rating_share_ FROM table_name_1 WHERE weekly_rank___number_ = "30"
[ 5376, 262, 1248, 12, 2920, 7955, 329, 10273, 4279, 286, 1542, 46506, 1248, 7054, 4808, 2920, 834, 8821, 62, 20077, 62, 16034, 3084, 62, 3672, 62, 16, 33411, 10273, 62, 43027, 17569, 17618, 62, 796, 366, 1270, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 1248, 12, 2920, 7955, 329, 10273, 4279, 286, 1542, 46506, 1248, 7054, 4808, 2920, 834, 8821, 62, 20077, 62, 16034, 3084, 62, 3672, 62, 16, 33411, 10273, 62, 43027, 17569, 17618, 62, 796, 366, 1270, 1 ]
did patient 56490 have the results of the microbiology test of the blood culture in 09/last year?
SELECT COUNT(*) > 0 FROM microbiologyevents WHERE microbiologyevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 56490) AND microbiologyevents.spec_type_desc = 'blood culture' AND DATETIME(microbiologyevents.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', ...
[ 20839, 5827, 642, 2414, 3829, 423, 262, 2482, 286, 262, 24559, 1435, 1332, 286, 262, 2910, 3968, 287, 7769, 14, 12957, 614, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 24559, 1435, 31534, 33411, 24559, 1435, 31534, 13, 18108, 76,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 20839, 5827, 642, 2414, 3829, 423, 262, 2482, 286, 262, 24559, 1435, 1332, 286, 262, 2910, 3968, 287, 7769, 14, 12957, 614, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 24559, 1435, 31534, 33411, 24559, 1435, 31534, 13, 18108, 76,...
List all institutions with a team name of the Cardinals.
SELECT institution FROM table_18483171_1 WHERE team_nickname = "Cardinals"
[ 8053, 477, 6712, 351, 257, 1074, 1438, 286, 262, 18071, 13, 46506, 9901, 16034, 3084, 62, 1507, 38783, 27192, 62, 16, 33411, 1074, 62, 17172, 3672, 796, 366, 16962, 6897, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 6712, 351, 257, 1074, 1438, 286, 262, 18071, 13, 46506, 9901, 16034, 3084, 62, 1507, 38783, 27192, 62, 16, 33411, 1074, 62, 17172, 3672, 796, 366, 16962, 6897, 1 ]
What is the away team score for North Melbourne's home team?
SELECT "Away team score" FROM table_53472 WHERE "Away team" = 'north melbourne'
[ 2061, 318, 262, 1497, 1074, 4776, 329, 2258, 14819, 338, 1363, 1074, 30, 46506, 366, 32, 1014, 1074, 4776, 1, 16034, 3084, 62, 20, 2682, 4761, 33411, 366, 32, 1014, 1074, 1, 796, 705, 43588, 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, 1, 1 ]
[ 2061, 318, 262, 1497, 1074, 4776, 329, 2258, 14819, 338, 1363, 1074, 30, 46506, 366, 32, 1014, 1074, 4776, 1, 16034, 3084, 62, 20, 2682, 4761, 33411, 366, 32, 1014, 1074, 1, 796, 705, 43588, 7758, 12544, 6 ]
What was the position in 1959-1960 for the Sporting De Braga club?
SELECT position_in_1959_1960 FROM table_name_19 WHERE clubs = "sporting de braga"
[ 2061, 373, 262, 2292, 287, 23859, 12, 38503, 329, 262, 31790, 1024, 1709, 8126, 3430, 30, 46506, 2292, 62, 259, 62, 45403, 62, 38503, 16034, 3084, 62, 3672, 62, 1129, 33411, 9784, 796, 366, 82, 26527, 390, 865, 8126, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2292, 287, 23859, 12, 38503, 329, 262, 31790, 1024, 1709, 8126, 3430, 30, 46506, 2292, 62, 259, 62, 45403, 62, 38503, 16034, 3084, 62, 3672, 62, 1129, 33411, 9784, 796, 366, 82, 26527, 390, 865, 8126, 1 ]
Bar chart x axis document name y axis the number of document name
SELECT Document_Name, COUNT(Document_Name) FROM Documents GROUP BY Document_Name
[ 10374, 8262, 2124, 16488, 3188, 1438, 331, 16488, 262, 1271, 286, 3188, 1438, 46506, 16854, 62, 5376, 11, 327, 28270, 7, 24941, 62, 5376, 8, 16034, 33267, 44441, 11050, 16854, 62, 5376 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10374, 8262, 2124, 16488, 3188, 1438, 331, 16488, 262, 1271, 286, 3188, 1438, 46506, 16854, 62, 5376, 11, 327, 28270, 7, 24941, 62, 5376, 8, 16034, 33267, 44441, 11050, 16854, 62, 5376 ]
What is the place of the Pinyin transcription Xi Wangri?
SELECT MAX("Standard order") FROM table_22131 WHERE "Transcription (based on Pinyin)" = 'Xi Wangri'
[ 2061, 318, 262, 1295, 286, 262, 350, 3541, 259, 26955, 21313, 15233, 380, 30, 46506, 25882, 7203, 23615, 1502, 4943, 16034, 3084, 62, 1828, 22042, 33411, 366, 8291, 6820, 357, 3106, 319, 350, 3541, 259, 16725, 796, 705, 42528, 15233, 38...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1295, 286, 262, 350, 3541, 259, 26955, 21313, 15233, 380, 30, 46506, 25882, 7203, 23615, 1502, 4943, 16034, 3084, 62, 1828, 22042, 33411, 366, 8291, 6820, 357, 3106, 319, 350, 3541, 259, 16725, 796, 705, 42528, 15233, 38...
What was the result of the election in the district whose incumbent is Tom Foley?
SELECT status FROM table_1341568_48 WHERE incumbent = "Tom Foley"
[ 2061, 373, 262, 1255, 286, 262, 3071, 287, 262, 4783, 3025, 23526, 318, 4186, 35535, 30, 46506, 3722, 16034, 3084, 62, 19880, 1314, 3104, 62, 2780, 33411, 23526, 796, 366, 13787, 35535, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1255, 286, 262, 3071, 287, 262, 4783, 3025, 23526, 318, 4186, 35535, 30, 46506, 3722, 16034, 3084, 62, 19880, 1314, 3104, 62, 2780, 33411, 23526, 796, 366, 13787, 35535, 1 ]
Find the country of the airlines whose name starts with 'Orbit'.
SELECT country FROM airlines WHERE name LIKE 'Orbit%'
[ 16742, 262, 1499, 286, 262, 26225, 3025, 1438, 4940, 351, 705, 5574, 2545, 4458, 46506, 1499, 16034, 26225, 33411, 1438, 34178, 705, 5574, 2545, 4, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16742, 262, 1499, 286, 262, 26225, 3025, 1438, 4940, 351, 705, 5574, 2545, 4458, 46506, 1499, 16034, 26225, 33411, 1438, 34178, 705, 5574, 2545, 4, 6 ]
Name the time for event of tfc 21
SELECT time FROM table_name_22 WHERE event = "tfc 21"
[ 5376, 262, 640, 329, 1785, 286, 256, 16072, 2310, 46506, 640, 16034, 3084, 62, 3672, 62, 1828, 33411, 1785, 796, 366, 83, 16072, 2310, 1 ]
[ 1, 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, 640, 329, 1785, 286, 256, 16072, 2310, 46506, 640, 16034, 3084, 62, 3672, 62, 1828, 33411, 1785, 796, 366, 83, 16072, 2310, 1 ]
what is the total amount of current state regents who are bankers ?
SELECT COUNT("name") FROM table_204_68 WHERE "profession" = 'banker'
[ 10919, 318, 262, 2472, 2033, 286, 1459, 1181, 842, 658, 508, 389, 25091, 5633, 46506, 327, 28270, 7203, 3672, 4943, 16034, 3084, 62, 18638, 62, 3104, 33411, 366, 5577, 2521, 1, 796, 705, 17796, 263, 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 ]
[ 10919, 318, 262, 2472, 2033, 286, 1459, 1181, 842, 658, 508, 389, 25091, 5633, 46506, 327, 28270, 7203, 3672, 4943, 16034, 3084, 62, 18638, 62, 3104, 33411, 366, 5577, 2521, 1, 796, 705, 17796, 263, 6 ]
tell me the sex of patient 55027.
SELECT patients.gender FROM patients WHERE patients.subject_id = 55027
[ 33331, 502, 262, 1714, 286, 5827, 25240, 1983, 13, 46506, 3871, 13, 8388, 16034, 3871, 33411, 3871, 13, 32796, 62, 312, 796, 25240, 1983 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 33331, 502, 262, 1714, 286, 5827, 25240, 1983, 13, 46506, 3871, 13, 8388, 16034, 3871, 33411, 3871, 13, 32796, 62, 312, 796, 25240, 1983 ]
calculate the minimum duration of hospital stay of married patients
SELECT MIN(demographic.days_stay) FROM demographic WHERE demographic.marital_status = "MARRIED"
[ 9948, 3129, 378, 262, 5288, 9478, 286, 4436, 2652, 286, 6405, 3871, 46506, 20625, 7, 9536, 6826, 13, 12545, 62, 31712, 8, 16034, 16728, 33411, 16728, 13, 3876, 1287, 62, 13376, 796, 366, 40569, 7112, 1961, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5288, 9478, 286, 4436, 2652, 286, 6405, 3871, 46506, 20625, 7, 9536, 6826, 13, 12545, 62, 31712, 8, 16034, 16728, 33411, 16728, 13, 3876, 1287, 62, 13376, 796, 366, 40569, 7112, 1961, 1 ]
the heart rate of patient 29666 has been normal in 04/this year?
SELECT COUNT(*) > 0 FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 29666)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'heart rate' AND d...
[ 1169, 2612, 2494, 286, 5827, 2808, 27310, 468, 587, 3487, 287, 8702, 14, 5661, 614, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, 323, 62, 312, 3268, 357, 46506, 14158, 436, 592, 13,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1169, 2612, 2494, 286, 5827, 2808, 27310, 468, 587, 3487, 287, 8702, 14, 5661, 614, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, 323, 62, 312, 3268, 357, 46506, 14158, 436, 592, 13,...
What is the lowest overall draft pick number for terry daniels who was picked in round 10?
SELECT MIN("Overall") FROM table_45971 WHERE "Round" = '10' AND "Name" = 'terry daniels'
[ 2061, 318, 262, 9016, 4045, 4538, 2298, 1271, 329, 1059, 563, 288, 3216, 1424, 508, 373, 6497, 287, 2835, 838, 30, 46506, 20625, 7203, 16350, 4943, 16034, 3084, 62, 33459, 4869, 33411, 366, 22685, 1, 796, 705, 940, 6, 5357, 366, 5376,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 9016, 4045, 4538, 2298, 1271, 329, 1059, 563, 288, 3216, 1424, 508, 373, 6497, 287, 2835, 838, 30, 46506, 20625, 7203, 16350, 4943, 16034, 3084, 62, 33459, 4869, 33411, 366, 22685, 1, 796, 705, 940, 6, 5357, 366, 5376,...
For those employees who was hired before 2002-06-21, what is the relationship between employee_id and commission_pct ?
SELECT EMPLOYEE_ID, COMMISSION_PCT FROM employees WHERE HIRE_DATE < '2002-06-21'
[ 1890, 883, 4409, 508, 373, 9657, 878, 6244, 12, 3312, 12, 2481, 11, 644, 318, 262, 2776, 1022, 6538, 62, 312, 290, 5810, 62, 79, 310, 5633, 46506, 17228, 6489, 21414, 6500, 62, 2389, 11, 22240, 40373, 62, 47, 4177, 16034, 4409, 3341...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 373, 9657, 878, 6244, 12, 3312, 12, 2481, 11, 644, 318, 262, 2776, 1022, 6538, 62, 312, 290, 5810, 62, 79, 310, 5633, 46506, 17228, 6489, 21414, 6500, 62, 2389, 11, 22240, 40373, 62, 47, 4177, 16034, 4409, 3341...
How many times did Tim Macrow and Joey Foster both got the fastest lap and pole position respectively?
SELECT COUNT("Event") FROM table_24762 WHERE "Fastest Lap" = 'Tim Macrow' AND "Pole Position" = 'Joey Foster'
[ 2437, 867, 1661, 750, 5045, 4100, 808, 290, 26154, 18489, 1111, 1392, 262, 14162, 14779, 290, 16825, 2292, 8148, 30, 46506, 327, 28270, 7203, 9237, 4943, 16034, 3084, 62, 1731, 48194, 33411, 366, 22968, 395, 26944, 1, 796, 705, 14967, 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 ]
[ 2437, 867, 1661, 750, 5045, 4100, 808, 290, 26154, 18489, 1111, 1392, 262, 14162, 14779, 290, 16825, 2292, 8148, 30, 46506, 327, 28270, 7203, 9237, 4943, 16034, 3084, 62, 1731, 48194, 33411, 366, 22968, 395, 26944, 1, 796, 705, 14967, 4...
i need a ticket from LOS ANGELES to CHARLOTTE that leaves early in the morning
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE (CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'LOS ANGELES' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'C...
[ 72, 761, 257, 7846, 422, 406, 2640, 44892, 1546, 284, 28521, 43, 2394, 9328, 326, 5667, 1903, 287, 262, 3329, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 72, 761, 257, 7846, 422, 406, 2640, 44892, 1546, 284, 28521, 43, 2394, 9328, 326, 5667, 1903, 287, 262, 3329, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15...
specify icd9 code for patient id 14755
SELECT procedures.long_title FROM procedures WHERE procedures.subject_id = "14755"
[ 16684, 1958, 14158, 67, 24, 2438, 329, 5827, 4686, 1478, 38172, 46506, 9021, 13, 6511, 62, 7839, 16034, 9021, 33411, 9021, 13, 32796, 62, 312, 796, 366, 1415, 38172, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16684, 1958, 14158, 67, 24, 2438, 329, 5827, 4686, 1478, 38172, 46506, 9021, 13, 6511, 62, 7839, 16034, 9021, 33411, 9021, 13, 32796, 62, 312, 796, 366, 1415, 38172, 1 ]
For the tournament played on Jul 4, 1982, what was the winning score?
SELECT "Winning score" FROM table_41961 WHERE "Date" = 'jul 4, 1982'
[ 1890, 262, 7756, 2826, 319, 5979, 604, 11, 14489, 11, 644, 373, 262, 5442, 4776, 30, 46506, 366, 16643, 768, 4776, 1, 16034, 3084, 62, 45068, 5333, 33411, 366, 10430, 1, 796, 705, 73, 377, 604, 11, 14489, 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 ]
[ 1890, 262, 7756, 2826, 319, 5979, 604, 11, 14489, 11, 644, 373, 262, 5442, 4776, 30, 46506, 366, 16643, 768, 4776, 1, 16034, 3084, 62, 45068, 5333, 33411, 366, 10430, 1, 796, 705, 73, 377, 604, 11, 14489, 6 ]
Name the tournament for 2009 2r
SELECT "Tournament" FROM table_58549 WHERE "2009" = '2r'
[ 5376, 262, 7756, 329, 3717, 362, 81, 46506, 366, 51, 5138, 1, 16034, 3084, 62, 38905, 2920, 33411, 366, 10531, 1, 796, 705, 17, 81, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 7756, 329, 3717, 362, 81, 46506, 366, 51, 5138, 1, 16034, 3084, 62, 38905, 2920, 33411, 366, 10531, 1, 796, 705, 17, 81, 6 ]
What's the name of the title for the Maserati A6GCS?
SELECT race_title FROM table_name_81 WHERE vehicle = "maserati a6gcs"
[ 2061, 338, 262, 1438, 286, 262, 3670, 329, 262, 337, 6005, 7246, 317, 21, 38, 7902, 30, 46506, 3234, 62, 7839, 16034, 3084, 62, 3672, 62, 6659, 33411, 4038, 796, 366, 5356, 263, 7246, 257, 21, 70, 6359, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1438, 286, 262, 3670, 329, 262, 337, 6005, 7246, 317, 21, 38, 7902, 30, 46506, 3234, 62, 7839, 16034, 3084, 62, 3672, 62, 6659, 33411, 4038, 796, 366, 5356, 263, 7246, 257, 21, 70, 6359, 1 ]
What was the score in the game on March 26?
SELECT score FROM table_27756572_10 WHERE date = "March 26"
[ 2061, 373, 262, 4776, 287, 262, 983, 319, 2805, 2608, 30, 46506, 4776, 16034, 3084, 62, 1983, 2425, 2996, 4761, 62, 940, 33411, 3128, 796, 366, 16192, 2608, 1 ]
[ 1, 1, 1, 1, 1, 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, 287, 262, 983, 319, 2805, 2608, 30, 46506, 4776, 16034, 3084, 62, 1983, 2425, 2996, 4761, 62, 940, 33411, 3128, 796, 366, 16192, 2608, 1 ]
How much Body Width/mm has a Body Length/mm of 18.4, and Pins of 40?
SELECT COUNT(body_width_mm) FROM table_name_50 WHERE body_length_mm = 18.4 AND pins = "40"
[ 2437, 881, 12290, 38807, 14, 3020, 468, 257, 12290, 22313, 14, 3020, 286, 1248, 13, 19, 11, 290, 350, 1040, 286, 2319, 30, 46506, 327, 28270, 7, 2618, 62, 10394, 62, 3020, 8, 16034, 3084, 62, 3672, 62, 1120, 33411, 1767, 62, 13664, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12290, 38807, 14, 3020, 468, 257, 12290, 22313, 14, 3020, 286, 1248, 13, 19, 11, 290, 350, 1040, 286, 2319, 30, 46506, 327, 28270, 7, 2618, 62, 10394, 62, 3020, 8, 16034, 3084, 62, 3672, 62, 1120, 33411, 1767, 62, 13664, ...
For those employees who was hired before 2002-06-21, visualize a line chart about the change of employee_id over hire_date , and could you display in asc by the HIRE_DATE?
SELECT HIRE_DATE, EMPLOYEE_ID FROM employees WHERE HIRE_DATE < '2002-06-21' ORDER BY HIRE_DATE
[ 1890, 883, 4409, 508, 373, 9657, 878, 6244, 12, 3312, 12, 2481, 11, 38350, 257, 1627, 8262, 546, 262, 1487, 286, 6538, 62, 312, 625, 11078, 62, 4475, 837, 290, 714, 345, 3359, 287, 10570, 416, 262, 36210, 2200, 62, 35, 6158, 30, 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, 373, 9657, 878, 6244, 12, 3312, 12, 2481, 11, 38350, 257, 1627, 8262, 546, 262, 1487, 286, 6538, 62, 312, 625, 11078, 62, 4475, 837, 290, 714, 345, 3359, 287, 10570, 416, 262, 36210, 2200, 62, 35, 6158, 30, 4...
whats the first care unit of patient 1114 in this hospital visit?
SELECT transfers.careunit FROM transfers WHERE transfers.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 1114 AND admissions.dischtime IS NULL) AND NOT transfers.careunit IS NULL ORDER BY transfers.intime LIMIT 1
[ 1929, 1381, 262, 717, 1337, 4326, 286, 5827, 13374, 19, 287, 428, 4436, 3187, 30, 46506, 16395, 13, 6651, 20850, 16034, 16395, 33411, 16395, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1929, 1381, 262, 717, 1337, 4326, 286, 5827, 13374, 19, 287, 428, 4436, 3187, 30, 46506, 16395, 13, 6651, 20850, 16034, 16395, 33411, 16395, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, ...
When the transfer fee is 8.5m, what is the total ends?
SELECT SUM("Ends") FROM table_78637 WHERE "Transfer fee" = '£8.5m'
[ 2215, 262, 4351, 6838, 318, 807, 13, 20, 76, 11, 644, 318, 262, 2472, 5645, 30, 46506, 35683, 7203, 12915, 82, 4943, 16034, 3084, 62, 46302, 2718, 33411, 366, 43260, 6838, 1, 796, 705, 14988, 23, 13, 20, 76, 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 ]
[ 2215, 262, 4351, 6838, 318, 807, 13, 20, 76, 11, 644, 318, 262, 2472, 5645, 30, 46506, 35683, 7203, 12915, 82, 4943, 16034, 3084, 62, 46302, 2718, 33411, 366, 43260, 6838, 1, 796, 705, 14988, 23, 13, 20, 76, 6 ]
What Variant has a Launch site that is white sands?
SELECT variant FROM table_name_68 WHERE launch_site = "white sands"
[ 2061, 38215, 468, 257, 21225, 2524, 326, 318, 2330, 30959, 30, 46506, 15304, 16034, 3084, 62, 3672, 62, 3104, 33411, 4219, 62, 15654, 796, 366, 11186, 30959, 1 ]
[ 1, 1, 1, 1, 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, 38215, 468, 257, 21225, 2524, 326, 318, 2330, 30959, 30, 46506, 15304, 16034, 3084, 62, 3672, 62, 3104, 33411, 4219, 62, 15654, 796, 366, 11186, 30959, 1 ]
What's the highest week for the day of October 21, 1956?
SELECT MAX(week) FROM table_name_66 WHERE date = "october 21, 1956"
[ 2061, 338, 262, 4511, 1285, 329, 262, 1110, 286, 3267, 2310, 11, 25190, 30, 46506, 25882, 7, 10464, 8, 16034, 3084, 62, 3672, 62, 2791, 33411, 3128, 796, 366, 38441, 2023, 2310, 11, 25190, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4511, 1285, 329, 262, 1110, 286, 3267, 2310, 11, 25190, 30, 46506, 25882, 7, 10464, 8, 16034, 3084, 62, 3672, 62, 2791, 33411, 3128, 796, 366, 38441, 2023, 2310, 11, 25190, 1 ]
A bar chart for what are the number of the category of music festivals with result 'Awarded'?, could you list Y from low to high order?
SELECT Category, COUNT(Category) FROM music_festival WHERE Result = "Awarded" GROUP BY Category ORDER BY COUNT(Category)
[ 32, 2318, 8262, 329, 644, 389, 262, 1271, 286, 262, 6536, 286, 2647, 25575, 351, 1255, 705, 32, 904, 276, 6, 21747, 714, 345, 1351, 575, 422, 1877, 284, 1029, 1502, 30, 46506, 21743, 11, 327, 28270, 7, 27313, 8, 16034, 2647, 62, 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 ]
[ 32, 2318, 8262, 329, 644, 389, 262, 1271, 286, 262, 6536, 286, 2647, 25575, 351, 1255, 705, 32, 904, 276, 6, 21747, 714, 345, 1351, 575, 422, 1877, 284, 1029, 1502, 30, 46506, 21743, 11, 327, 28270, 7, 27313, 8, 16034, 2647, 62, 6...
how is patient 027-100528 last admitted into a hospital in the previous year?
SELECT patient.hospitaladmitsource FROM patient WHERE patient.uniquepid = '027-100528' AND DATETIME(patient.hospitaladmittime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') ORDER BY patient.hospitaladmittime DESC LIMIT 1
[ 4919, 318, 5827, 657, 1983, 12, 3064, 49351, 938, 6848, 656, 257, 4436, 287, 262, 2180, 614, 30, 46506, 5827, 13, 49257, 324, 24883, 1668, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 44698, 12, 3064, 49351, 6, 5357, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 318, 5827, 657, 1983, 12, 3064, 49351, 938, 6848, 656, 257, 4436, 287, 262, 2180, 614, 30, 46506, 5827, 13, 49257, 324, 24883, 1668, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 44698, 12, 3064, 49351, 6, 5357, ...
what is procedure short title and procedure long title of procedure icd9 code 3891?
SELECT procedures.short_title, procedures.long_title FROM procedures WHERE procedures.icd9_code = "3891"
[ 10919, 318, 8771, 1790, 3670, 290, 8771, 890, 3670, 286, 8771, 14158, 67, 24, 2438, 4353, 6420, 30, 46506, 9021, 13, 19509, 62, 7839, 11, 9021, 13, 6511, 62, 7839, 16034, 9021, 33411, 9021, 13, 291, 67, 24, 62, 8189, 796, 366, 2548,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8771, 1790, 3670, 290, 8771, 890, 3670, 286, 8771, 14158, 67, 24, 2438, 4353, 6420, 30, 46506, 9021, 13, 19509, 62, 7839, 11, 9021, 13, 6511, 62, 7839, 16034, 9021, 33411, 9021, 13, 291, 67, 24, 62, 8189, 796, 366, 2548,...
What college or club team did Steve Jones play for?
SELECT "College/Junior/Club Team (League)" FROM table_36596 WHERE "Player" = 'steve jones'
[ 2061, 4152, 393, 3430, 1074, 750, 6542, 5437, 711, 329, 30, 46506, 366, 38951, 14, 22396, 1504, 14, 42350, 4816, 357, 24623, 16725, 16034, 3084, 62, 2623, 45734, 33411, 366, 14140, 1, 796, 705, 4169, 303, 474, 1952, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 4152, 393, 3430, 1074, 750, 6542, 5437, 711, 329, 30, 46506, 366, 38951, 14, 22396, 1504, 14, 42350, 4816, 357, 24623, 16725, 16034, 3084, 62, 2623, 45734, 33411, 366, 14140, 1, 796, 705, 4169, 303, 474, 1952, 6 ]
How many patients are newborn and stayed in hospital for minimum days?
SELECT MIN(demographic.days_stay) FROM demographic WHERE demographic.diagnosis = "NEWBORN"
[ 2437, 867, 3871, 389, 23856, 290, 9658, 287, 4436, 329, 5288, 1528, 30, 46506, 20625, 7, 9536, 6826, 13, 12545, 62, 31712, 8, 16034, 16728, 33411, 16728, 13, 47356, 5958, 796, 366, 13965, 33, 30649, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3871, 389, 23856, 290, 9658, 287, 4436, 329, 5288, 1528, 30, 46506, 20625, 7, 9536, 6826, 13, 12545, 62, 31712, 8, 16034, 16728, 33411, 16728, 13, 47356, 5958, 796, 366, 13965, 33, 30649, 1 ]
Where was the GTE Suncoast Classic tournament held?
SELECT location FROM table_11622562_1 WHERE tournament = "GTE Suncoast Classic"
[ 8496, 373, 262, 7963, 36, 3825, 1073, 459, 13449, 7756, 2714, 30, 46506, 4067, 16034, 3084, 62, 1157, 5237, 1495, 5237, 62, 16, 33411, 7756, 796, 366, 38, 9328, 3825, 1073, 459, 13449, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8496, 373, 262, 7963, 36, 3825, 1073, 459, 13449, 7756, 2714, 30, 46506, 4067, 16034, 3084, 62, 1157, 5237, 1495, 5237, 62, 16, 33411, 7756, 796, 366, 38, 9328, 3825, 1073, 459, 13449, 1 ]
For those records from the products and each product's manufacturer, visualize a bar chart about the distribution of name and the average of manufacturer , and group by attribute name, and order y-axis in descending order.
SELECT T1.Name, T1.Manufacturer FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T1.Name ORDER BY T1.Manufacturer DESC
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 38350, 257, 2318, 8262, 546, 262, 6082, 286, 1438, 290, 262, 2811, 286, 11554, 837, 290, 1448, 416, 11688, 1438, 11, 290, 1502, 331, 12, 22704, 287, 31491, 1502, 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...
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 38350, 257, 2318, 8262, 546, 262, 6082, 286, 1438, 290, 262, 2811, 286, 11554, 837, 290, 1448, 416, 11688, 1438, 11, 290, 1502, 331, 12, 22704, 287, 31491, 1502, 13, ...
Which team had 64 laps and 13 points?
SELECT "Team" FROM table_37670 WHERE "Laps" = '64' AND "Points" = '13'
[ 13828, 1074, 550, 5598, 24590, 290, 1511, 2173, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 32128, 2154, 33411, 366, 43, 1686, 1, 796, 705, 2414, 6, 5357, 366, 40710, 1, 796, 705, 1485, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 1074, 550, 5598, 24590, 290, 1511, 2173, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 32128, 2154, 33411, 366, 43, 1686, 1, 796, 705, 2414, 6, 5357, 366, 40710, 1, 796, 705, 1485, 6 ]
Select * from Users where Location='Turkey'.
SELECT * FROM Users WHERE Location LIKE '%Turkey%' ORDER BY Reputation DESC
[ 17563, 1635, 422, 18987, 810, 13397, 11639, 31632, 4458, 46506, 1635, 16034, 18987, 33411, 13397, 34178, 705, 4, 31632, 4, 6, 38678, 11050, 1432, 7094, 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 ]
[ 17563, 1635, 422, 18987, 810, 13397, 11639, 31632, 4458, 46506, 1635, 16034, 18987, 33411, 13397, 34178, 705, 4, 31632, 4, 6, 38678, 11050, 1432, 7094, 22196, 34 ]
What is the smallest rank for new zealand?
SELECT MIN("Rank") FROM table_10154 WHERE "Country" = 'new zealand'
[ 2061, 318, 262, 18197, 4279, 329, 649, 27689, 392, 30, 46506, 20625, 7203, 27520, 4943, 16034, 3084, 62, 8784, 4051, 33411, 366, 33921, 1, 796, 705, 3605, 27689, 392, 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, 18197, 4279, 329, 649, 27689, 392, 30, 46506, 20625, 7203, 27520, 4943, 16034, 3084, 62, 8784, 4051, 33411, 366, 33921, 1, 796, 705, 3605, 27689, 392, 6 ]
Say the region for 6854 altitudes
SELECT "Region" FROM table_31723 WHERE "Altitude (metres)" = '6854'
[ 25515, 262, 3814, 329, 8257, 4051, 5988, 10455, 46506, 366, 47371, 1, 16034, 3084, 62, 34125, 1954, 33411, 366, 29161, 3984, 357, 4164, 411, 16725, 796, 705, 3104, 4051, 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 ]
[ 25515, 262, 3814, 329, 8257, 4051, 5988, 10455, 46506, 366, 47371, 1, 16034, 3084, 62, 34125, 1954, 33411, 366, 29161, 3984, 357, 4164, 411, 16725, 796, 705, 3104, 4051, 6 ]
What is Team, when High Rebounds is 'Carl Landry (11)'?
SELECT "Team" FROM table_49374 WHERE "High rebounds" = 'carl landry (11)'
[ 2061, 318, 4816, 11, 618, 3334, 15652, 3733, 318, 705, 26886, 6379, 563, 357, 1157, 8, 30960, 46506, 366, 15592, 1, 16034, 3084, 62, 2920, 31020, 33411, 366, 11922, 18841, 1, 796, 705, 66, 7063, 1956, 563, 357, 1157, 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 ]
[ 2061, 318, 4816, 11, 618, 3334, 15652, 3733, 318, 705, 26886, 6379, 563, 357, 1157, 8, 30960, 46506, 366, 15592, 1, 16034, 3084, 62, 2920, 31020, 33411, 366, 11922, 18841, 1, 796, 705, 66, 7063, 1956, 563, 357, 1157, 33047 ]
In what place did the golfer that scored 68-70-69=207 finish?
SELECT "Place" FROM table_61707 WHERE "Score" = '68-70-69=207'
[ 818, 644, 1295, 750, 262, 43791, 2232, 326, 7781, 8257, 12, 2154, 12, 3388, 28, 22745, 5461, 30, 46506, 366, 27271, 1, 16034, 3084, 62, 47941, 2998, 33411, 366, 26595, 1, 796, 705, 3104, 12, 2154, 12, 3388, 28, 22745, 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 ]
[ 818, 644, 1295, 750, 262, 43791, 2232, 326, 7781, 8257, 12, 2154, 12, 3388, 28, 22745, 5461, 30, 46506, 366, 27271, 1, 16034, 3084, 62, 47941, 2998, 33411, 366, 26595, 1, 796, 705, 3104, 12, 2154, 12, 3388, 28, 22745, 6 ]
What is the municipality percentage for San Antonio de Lomerio is San Javier municipality percentage is 31?
SELECT san_antonio_de_lomerío_municipality___percentage_ FROM table_19998428_3 WHERE san_javier_municipality___percentage_ = 31
[ 2061, 318, 262, 27264, 5873, 329, 2986, 11366, 390, 406, 12057, 952, 318, 2986, 44492, 27264, 5873, 318, 3261, 30, 46506, 5336, 62, 23026, 952, 62, 2934, 62, 75, 12057, 8836, 78, 62, 6199, 4311, 1483, 17569, 25067, 496, 62, 16034, 308...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 27264, 5873, 329, 2986, 11366, 390, 406, 12057, 952, 318, 2986, 44492, 27264, 5873, 318, 3261, 30, 46506, 5336, 62, 23026, 952, 62, 2934, 62, 75, 12057, 8836, 78, 62, 6199, 4311, 1483, 17569, 25067, 496, 62, 16034, 308...
Which Opponent has a Streak of lost 1, and a Date of april 30?
SELECT "Opponent" FROM table_34123 WHERE "Streak" = 'lost 1' AND "Date" = 'april 30'
[ 13828, 9385, 3471, 468, 257, 9737, 461, 286, 2626, 352, 11, 290, 257, 7536, 286, 46593, 346, 1542, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 2682, 10163, 33411, 366, 30611, 461, 1, 796, 705, 33224, 352, 6, 5357, 366, 10430, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 9385, 3471, 468, 257, 9737, 461, 286, 2626, 352, 11, 290, 257, 7536, 286, 46593, 346, 1542, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 2682, 10163, 33411, 366, 30611, 461, 1, 796, 705, 33224, 352, 6, 5357, 366, 10430, 1...
What are the years of participation for central crossing school?
SELECT "Years of Participation" FROM table_21683 WHERE "School" = 'Central Crossing'
[ 2061, 389, 262, 812, 286, 10270, 329, 4318, 12538, 1524, 30, 46506, 366, 40630, 286, 34408, 1, 16034, 3084, 62, 20666, 5999, 33411, 366, 26130, 1, 796, 705, 30645, 31910, 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, 389, 262, 812, 286, 10270, 329, 4318, 12538, 1524, 30, 46506, 366, 40630, 286, 34408, 1, 16034, 3084, 62, 20666, 5999, 33411, 366, 26130, 1, 796, 705, 30645, 31910, 6 ]
How many ranks have more than 7 lanes, and an Athlete of michael mathieu, and a Reaction time larger than 0.203?
SELECT SUM(rank) FROM table_name_3 WHERE lane > 7 AND athlete = "michael mathieu" AND react > 0.203
[ 2437, 867, 9803, 423, 517, 621, 767, 15296, 11, 290, 281, 13548, 5807, 286, 285, 40302, 10688, 22304, 11, 290, 257, 39912, 640, 4025, 621, 657, 13, 22416, 30, 46506, 35683, 7, 43027, 8, 16034, 3084, 62, 3672, 62, 18, 33411, 11193, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9803, 423, 517, 621, 767, 15296, 11, 290, 281, 13548, 5807, 286, 285, 40302, 10688, 22304, 11, 290, 257, 39912, 640, 4025, 621, 657, 13, 22416, 30, 46506, 35683, 7, 43027, 8, 16034, 3084, 62, 3672, 62, 18, 33411, 11193, 1...
What is the language for translators ritah meltser and amatsyah porat?
SELECT language FROM table_name_87 WHERE translator = "ritah meltser and amatsyah porat"
[ 2061, 318, 262, 3303, 329, 4779, 2024, 374, 270, 993, 48813, 263, 290, 716, 1381, 46848, 16964, 265, 30, 46506, 3303, 16034, 3084, 62, 3672, 62, 5774, 33411, 33417, 796, 366, 799, 993, 48813, 263, 290, 716, 1381, 46848, 16964, 265, 1 ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3303, 329, 4779, 2024, 374, 270, 993, 48813, 263, 290, 716, 1381, 46848, 16964, 265, 30, 46506, 3303, 16034, 3084, 62, 3672, 62, 5774, 33411, 33417, 796, 366, 799, 993, 48813, 263, 290, 716, 1381, 46848, 16964, 265, 1 ...
List all department names ordered by their starting date.
SELECT dname FROM department ORDER BY mgr_start_date
[ 8053, 477, 5011, 3891, 6149, 416, 511, 3599, 3128, 13, 46506, 288, 3672, 16034, 5011, 38678, 11050, 285, 2164, 62, 9688, 62, 4475 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8053, 477, 5011, 3891, 6149, 416, 511, 3599, 3128, 13, 46506, 288, 3672, 16034, 5011, 38678, 11050, 285, 2164, 62, 9688, 62, 4475 ]
Who got the decision in the game, when the final score was 1-7?
SELECT "Decision" FROM table_29606 WHERE "Score" = '1-7'
[ 8241, 1392, 262, 2551, 287, 262, 983, 11, 618, 262, 2457, 4776, 373, 352, 12, 22, 30, 46506, 366, 10707, 1166, 1, 16034, 3084, 62, 1959, 33206, 33411, 366, 26595, 1, 796, 705, 16, 12, 22, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 1392, 262, 2551, 287, 262, 983, 11, 618, 262, 2457, 4776, 373, 352, 12, 22, 30, 46506, 366, 10707, 1166, 1, 16034, 3084, 62, 1959, 33206, 33411, 366, 26595, 1, 796, 705, 16, 12, 22, 6 ]
what's the club with losing bonus being 1
SELECT "Club" FROM table_72480 WHERE "Losing bonus" = '1'
[ 10919, 338, 262, 3430, 351, 6078, 7202, 852, 352, 46506, 366, 42350, 1, 16034, 3084, 62, 22, 1731, 1795, 33411, 366, 43, 2752, 7202, 1, 796, 705, 16, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 338, 262, 3430, 351, 6078, 7202, 852, 352, 46506, 366, 42350, 1, 16034, 3084, 62, 22, 1731, 1795, 33411, 366, 43, 2752, 7202, 1, 796, 705, 16, 6 ]
what is the daily average amount of calcium of patient 006-105495 during this month?
SELECT AVG(lab.labresult) FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-105495')) AND lab.labname = 'calcium' AND DATETIME(lab.labresulttime, 'start o...
[ 10919, 318, 262, 4445, 2811, 2033, 286, 19700, 286, 5827, 3571, 21, 12, 13348, 33781, 1141, 428, 1227, 30, 46506, 35224, 7, 23912, 13, 23912, 20274, 8, 16034, 2248, 33411, 2248, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 4445, 2811, 2033, 286, 19700, 286, 5827, 3571, 21, 12, 13348, 33781, 1141, 428, 1227, 30, 46506, 35224, 7, 23912, 13, 23912, 20274, 8, 16034, 2248, 33411, 2248, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, ...
How many totals does p draig harrington have?
SELECT COUNT("Total") FROM table_13136 WHERE "Player" = 'pádraig harrington'
[ 2437, 867, 26310, 857, 279, 28841, 328, 3971, 24833, 423, 30, 46506, 327, 28270, 7203, 14957, 4943, 16034, 3084, 62, 1485, 20809, 33411, 366, 14140, 1, 796, 705, 79, 6557, 32491, 328, 3971, 24833, 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 ]
[ 2437, 867, 26310, 857, 279, 28841, 328, 3971, 24833, 423, 30, 46506, 327, 28270, 7203, 14957, 4943, 16034, 3084, 62, 1485, 20809, 33411, 366, 14140, 1, 796, 705, 79, 6557, 32491, 328, 3971, 24833, 6 ]
What is Record, when H/A/N is n?
SELECT "Record" FROM table_45435 WHERE "H/A/N" = 'n'
[ 2061, 318, 13266, 11, 618, 367, 14, 32, 14, 45, 318, 299, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 34229, 2327, 33411, 366, 39, 14, 32, 14, 45, 1, 796, 705, 77, 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, 13266, 11, 618, 367, 14, 32, 14, 45, 318, 299, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 34229, 2327, 33411, 366, 39, 14, 32, 14, 45, 1, 796, 705, 77, 6 ]
what are the four most frequent cultures taken in a year before?
SELECT t1.culturesite FROM (SELECT microlab.culturesite, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM microlab WHERE DATETIME(microlab.culturetakentime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') GROUP BY microlab.culturesite) AS t1 WHERE t1.c1 <= 4
[ 10919, 389, 262, 1440, 749, 10792, 13817, 2077, 287, 257, 614, 878, 30, 46506, 256, 16, 13, 40820, 942, 578, 16034, 357, 46506, 4580, 23912, 13, 40820, 942, 578, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10792, 13817, 2077, 287, 257, 614, 878, 30, 46506, 256, 16, 13, 40820, 942, 578, 16034, 357, 46506, 4580, 23912, 13, 40820, 942, 578, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327...
count the number of patients who were born before the year 2182 whose lab test fluid is joint fluid.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.dob_year < "2182" AND lab.fluid = "Joint Fluid"
[ 9127, 262, 1271, 286, 3871, 508, 547, 4642, 878, 262, 614, 362, 24294, 3025, 2248, 1332, 11711, 318, 6466, 11711, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 22...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 508, 547, 4642, 878, 262, 614, 362, 24294, 3025, 2248, 1332, 11711, 318, 6466, 11711, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 22...
What is the name of the person that was appointed on 13 May 2009?
SELECT replaced_by FROM table_name_74 WHERE date_of_appointment = "13 may 2009"
[ 2061, 318, 262, 1438, 286, 262, 1048, 326, 373, 9899, 319, 1511, 1737, 3717, 30, 46506, 6928, 62, 1525, 16034, 3084, 62, 3672, 62, 4524, 33411, 3128, 62, 1659, 62, 1324, 49805, 796, 366, 1485, 743, 3717, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1048, 326, 373, 9899, 319, 1511, 1737, 3717, 30, 46506, 6928, 62, 1525, 16034, 3084, 62, 3672, 62, 4524, 33411, 3128, 62, 1659, 62, 1324, 49805, 796, 366, 1485, 743, 3717, 1 ]
What was the percentage in 1980 in Brooklyn?
SELECT MIN("1980") FROM table_49439 WHERE "Borough" = 'brooklyn'
[ 2061, 373, 262, 5873, 287, 7169, 287, 12232, 30, 46506, 20625, 7203, 23664, 4943, 16034, 3084, 62, 39449, 2670, 33411, 366, 33, 7985, 1, 796, 705, 19094, 6213, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 5873, 287, 7169, 287, 12232, 30, 46506, 20625, 7203, 23664, 4943, 16034, 3084, 62, 39449, 2670, 33411, 366, 33, 7985, 1, 796, 705, 19094, 6213, 6 ]
What name has pembroke as the built by hm dockyard, and may 1825 as the laid down?
SELECT name FROM table_name_79 WHERE built_by_hm_dockyard = "pembroke" AND laid_down = "may 1825"
[ 2061, 1438, 468, 279, 368, 7957, 365, 355, 262, 3170, 416, 289, 76, 23423, 9413, 11, 290, 743, 1248, 1495, 355, 262, 8104, 866, 30, 46506, 1438, 16034, 3084, 62, 3672, 62, 3720, 33411, 3170, 62, 1525, 62, 23940, 62, 67, 735, 9413, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1438, 468, 279, 368, 7957, 365, 355, 262, 3170, 416, 289, 76, 23423, 9413, 11, 290, 743, 1248, 1495, 355, 262, 8104, 866, 30, 46506, 1438, 16034, 3084, 62, 3672, 62, 3720, 33411, 3170, 62, 1525, 62, 23940, 62, 67, 735, 9413, ...
Show me a bar chart for how many invoices were billed from each state?, and show by the Y-axis in desc.
SELECT billing_state, COUNT(*) FROM invoices WHERE billing_country = "USA" GROUP BY billing_state ORDER BY COUNT(*) DESC
[ 15307, 502, 257, 2318, 8262, 329, 703, 867, 800, 78, 1063, 547, 33094, 422, 1123, 1181, 21747, 290, 905, 416, 262, 575, 12, 22704, 287, 1715, 13, 46506, 26297, 62, 5219, 11, 327, 28270, 7, 28104, 16034, 800, 78, 1063, 33411, 26297, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 502, 257, 2318, 8262, 329, 703, 867, 800, 78, 1063, 547, 33094, 422, 1123, 1181, 21747, 290, 905, 416, 262, 575, 12, 22704, 287, 1715, 13, 46506, 26297, 62, 5219, 11, 327, 28270, 7, 28104, 16034, 800, 78, 1063, 33411, 26297, ...
did patient 12797 have any surgery until 2102?
SELECT COUNT(*) > 0 FROM procedures_icd WHERE procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 12797) AND STRFTIME('%y', procedures_icd.charttime) <= '2102'
[ 20839, 5827, 1105, 44673, 423, 597, 8185, 1566, 362, 15377, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 9021, 62, 291, 67, 33411, 9021, 62, 291, 67, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 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...
[ 20839, 5827, 1105, 44673, 423, 597, 8185, 1566, 362, 15377, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 9021, 62, 291, 67, 33411, 9021, 62, 291, 67, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 160...
What was the record of the game that had a loss of Stottlemyre (10-12)?
SELECT "Record" FROM table_79894 WHERE "Loss" = 'stottlemyre (10-12)'
[ 2061, 373, 262, 1700, 286, 262, 983, 326, 550, 257, 2994, 286, 520, 1252, 293, 1820, 260, 357, 940, 12, 1065, 19427, 46506, 366, 23739, 1, 16034, 3084, 62, 3720, 4531, 19, 33411, 366, 43, 793, 1, 796, 705, 301, 1252, 293, 1820, 26...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1700, 286, 262, 983, 326, 550, 257, 2994, 286, 520, 1252, 293, 1820, 260, 357, 940, 12, 1065, 19427, 46506, 366, 23739, 1, 16034, 3084, 62, 3720, 4531, 19, 33411, 366, 43, 793, 1, 796, 705, 301, 1252, 293, 1820, 26...
give me the number of patients whose lab test fluid is blood?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE lab.fluid = "Blood"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 2248, 1332, 11711, 318, 2910, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108, 76, 62, 312, 796...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 26535, 502, 262, 1271, 286, 3871, 3025, 2248, 1332, 11711, 318, 2910, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108, 76, 62, 312, 796...
How many districts have an area of 17.72 KM2?
SELECT COUNT("English name") FROM table_16435 WHERE "Area in km\u00b2" = '17.72'
[ 2437, 867, 12815, 423, 281, 1989, 286, 1596, 13, 4761, 46646, 17, 30, 46506, 327, 28270, 7203, 15823, 1438, 4943, 16034, 3084, 62, 23237, 2327, 33411, 366, 30547, 287, 10571, 59, 84, 405, 65, 17, 1, 796, 705, 1558, 13, 4761, 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 ]
[ 2437, 867, 12815, 423, 281, 1989, 286, 1596, 13, 4761, 46646, 17, 30, 46506, 327, 28270, 7203, 15823, 1438, 4943, 16034, 3084, 62, 23237, 2327, 33411, 366, 30547, 287, 10571, 59, 84, 405, 65, 17, 1, 796, 705, 1558, 13, 4761, 6 ]
What type of station is within the 972khz frequency?
SELECT station_type FROM table_28794440_1 WHERE frequency = "972kHz"
[ 2061, 2099, 286, 4429, 318, 1626, 262, 860, 4761, 14636, 89, 8373, 30, 46506, 4429, 62, 4906, 16034, 3084, 62, 2078, 3720, 2598, 1821, 62, 16, 33411, 8373, 796, 366, 24, 4761, 44191, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2099, 286, 4429, 318, 1626, 262, 860, 4761, 14636, 89, 8373, 30, 46506, 4429, 62, 4906, 16034, 3084, 62, 2078, 3720, 2598, 1821, 62, 16, 33411, 8373, 796, 366, 24, 4761, 44191, 1 ]
What is Score, when Team is '@ Memphis'?
SELECT score FROM table_name_29 WHERE team = "@ memphis"
[ 2061, 318, 15178, 11, 618, 4816, 318, 705, 31, 20522, 30960, 46506, 4776, 16034, 3084, 62, 3672, 62, 1959, 33411, 1074, 796, 44212, 1066, 18691, 1 ]
[ 1, 1, 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, 15178, 11, 618, 4816, 318, 705, 31, 20522, 30960, 46506, 4776, 16034, 3084, 62, 3672, 62, 1959, 33411, 1074, 796, 44212, 1066, 18691, 1 ]
What is the highest number born in a none EU state (1000) from Denmark with a total population (1000) less than 5,534?
SELECT MAX("Born in a non EU state (1000)") FROM table_14533 WHERE "Country" = 'denmark' AND "Total population (1000)" < '5,534'
[ 2061, 318, 262, 4511, 1271, 4642, 287, 257, 4844, 4576, 1181, 357, 12825, 8, 422, 16490, 351, 257, 2472, 3265, 357, 12825, 8, 1342, 621, 642, 11, 20, 2682, 30, 46506, 25882, 7203, 28524, 287, 257, 1729, 4576, 1181, 357, 12825, 8, 49...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1271, 4642, 287, 257, 4844, 4576, 1181, 357, 12825, 8, 422, 16490, 351, 257, 2472, 3265, 357, 12825, 8, 1342, 621, 642, 11, 20, 2682, 30, 46506, 25882, 7203, 28524, 287, 257, 1729, 4576, 1181, 357, 12825, 8, 49...
there is a microbiology test result for patient 96833 since 6 years ago?
SELECT COUNT(*) > 0 FROM microbiologyevents WHERE microbiologyevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 96833) AND DATETIME(microbiologyevents.charttime) >= DATETIME(CURRENT_TIME(), '-6 year')
[ 8117, 318, 257, 24559, 1435, 1332, 1255, 329, 5827, 860, 3104, 2091, 1201, 718, 812, 2084, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 24559, 1435, 31534, 33411, 24559, 1435, 31534, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 8117, 318, 257, 24559, 1435, 1332, 1255, 329, 5827, 860, 3104, 2091, 1201, 718, 812, 2084, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 24559, 1435, 31534, 33411, 24559, 1435, 31534, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349...
give the number of patients whose ethnicity is asian and who have died in or before year 2148.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "ASIAN" AND demographic.dod_year <= "2148.0"
[ 26535, 262, 1271, 286, 3871, 3025, 26289, 318, 355, 666, 290, 508, 423, 3724, 287, 393, 878, 614, 362, 18294, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 38546, 414, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1271, 286, 3871, 3025, 26289, 318, 355, 666, 290, 508, 423, 3724, 287, 393, 878, 614, 362, 18294, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 38546, 414, ...
return me the papers by ' H. V. Jagadish ' on PVLDB with more than 200 citations .
SELECT publication.title FROM author, journal, publication, writes WHERE author.name = 'H. V. Jagadish' AND journal.name = 'PVLDB' AND publication.citation_num > 200 AND publication.jid = journal.jid AND writes.aid = author.aid AND writes.pid = publication.pid
[ 7783, 502, 262, 9473, 416, 705, 367, 13, 569, 13, 35687, 48563, 705, 319, 31392, 43, 11012, 351, 517, 621, 939, 33499, 764, 46506, 9207, 13, 7839, 16034, 1772, 11, 3989, 11, 9207, 11, 6797, 33411, 1772, 13, 3672, 796, 705, 39, 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...
[ 7783, 502, 262, 9473, 416, 705, 367, 13, 569, 13, 35687, 48563, 705, 319, 31392, 43, 11012, 351, 517, 621, 939, 33499, 764, 46506, 9207, 13, 7839, 16034, 1772, 11, 3989, 11, 9207, 11, 6797, 33411, 1772, 13, 3672, 796, 705, 39, 13, ...
Which Population (2004) has a Moroccan population larger than 234506?
SELECT AVG("Population (2004)") FROM table_64315 WHERE "Moroccan population" > '234506'
[ 13828, 20133, 357, 15724, 8, 468, 257, 49323, 3265, 4025, 621, 2242, 17885, 21, 30, 46506, 35224, 7203, 45251, 357, 15724, 8, 4943, 16034, 3084, 62, 2414, 27936, 33411, 366, 20044, 420, 5171, 3265, 1, 1875, 705, 1954, 17885, 21, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 20133, 357, 15724, 8, 468, 257, 49323, 3265, 4025, 621, 2242, 17885, 21, 30, 46506, 35224, 7203, 45251, 357, 15724, 8, 4943, 16034, 3084, 62, 2414, 27936, 33411, 366, 20044, 420, 5171, 3265, 1, 1875, 705, 1954, 17885, 21, 6 ]
what is gender and diagnoses short title of subject id 2560?
SELECT demographic.gender, diagnoses.short_title FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.subject_id = "2560"
[ 10919, 318, 5279, 290, 40567, 1790, 3670, 286, 2426, 4686, 1679, 1899, 30, 46506, 16728, 13, 8388, 11, 40567, 13, 19509, 62, 7839, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312, 796, 40567, 13, 18108...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5279, 290, 40567, 1790, 3670, 286, 2426, 4686, 1679, 1899, 30, 46506, 16728, 13, 8388, 11, 40567, 13, 19509, 62, 7839, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312, 796, 40567, 13, 18108...
what is the first year of the australian open ?
SELECT MIN("year") FROM table_203_719 WHERE NOT "australian open" IS NULL
[ 10919, 318, 262, 717, 614, 286, 262, 38132, 1373, 666, 1280, 5633, 46506, 20625, 7203, 1941, 4943, 16034, 3084, 62, 22416, 62, 22, 1129, 33411, 5626, 366, 64, 436, 1373, 666, 1280, 1, 3180, 15697 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 717, 614, 286, 262, 38132, 1373, 666, 1280, 5633, 46506, 20625, 7203, 1941, 4943, 16034, 3084, 62, 22416, 62, 22, 1129, 33411, 5626, 366, 64, 436, 1373, 666, 1280, 1, 3180, 15697 ]
What is the lowest number of FA Cup goals for players with 12 League goals and 14 total goals?
SELECT MIN(fa_cup_goals) FROM table_name_46 WHERE league_goals = "12" AND total = 14
[ 2061, 318, 262, 9016, 1271, 286, 9677, 5454, 4661, 329, 1938, 351, 1105, 4041, 4661, 290, 1478, 2472, 4661, 30, 46506, 20625, 7, 13331, 62, 25244, 62, 2188, 874, 8, 16034, 3084, 62, 3672, 62, 3510, 33411, 4652, 62, 2188, 874, 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 ]
[ 2061, 318, 262, 9016, 1271, 286, 9677, 5454, 4661, 329, 1938, 351, 1105, 4041, 4661, 290, 1478, 2472, 4661, 30, 46506, 20625, 7, 13331, 62, 25244, 62, 2188, 874, 8, 16034, 3084, 62, 3672, 62, 3510, 33411, 4652, 62, 2188, 874, 796, 3...
How many attendance numbers had more than 15 games, and sellouts of more than 8 in the 2011-12 season?
SELECT COUNT("Attendance") FROM table_35152 WHERE "Games" > '15' AND "Sellouts" > '8' AND "Season" = '2011-12'
[ 2437, 867, 14858, 3146, 550, 517, 621, 1315, 1830, 11, 290, 3677, 5269, 286, 517, 621, 807, 287, 262, 2813, 12, 1065, 1622, 30, 46506, 327, 28270, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 2327, 17827, 33411, 366, 24474, 1, 1875, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14858, 3146, 550, 517, 621, 1315, 1830, 11, 290, 3677, 5269, 286, 517, 621, 807, 287, 262, 2813, 12, 1065, 1622, 30, 46506, 327, 28270, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 2327, 17827, 33411, 366, 24474, 1, 1875, ...
what is the gpu frequency when the part number is cw8064701470702?
SELECT "GPU frequency" FROM table_14256 WHERE "Part number(s)" = 'cw8064701470702'
[ 10919, 318, 262, 308, 19944, 8373, 618, 262, 636, 1271, 318, 269, 86, 1795, 33981, 486, 27790, 36680, 30, 46506, 366, 33346, 8373, 1, 16034, 3084, 62, 1415, 11645, 33411, 366, 7841, 1271, 7, 82, 16725, 796, 705, 66, 86, 1795, 33981, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 308, 19944, 8373, 618, 262, 636, 1271, 318, 269, 86, 1795, 33981, 486, 27790, 36680, 30, 46506, 366, 33346, 8373, 1, 16034, 3084, 62, 1415, 11645, 33411, 366, 7841, 1271, 7, 82, 16725, 796, 705, 66, 86, 1795, 33981, ...
What is Number of Contestants, when Cycle is 4?
SELECT number_of_contestants FROM table_name_81 WHERE cycle = 4
[ 2061, 318, 7913, 286, 27297, 1187, 11, 618, 26993, 318, 604, 30, 46506, 1271, 62, 1659, 62, 3642, 395, 1187, 16034, 3084, 62, 3672, 62, 6659, 33411, 6772, 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, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 7913, 286, 27297, 1187, 11, 618, 26993, 318, 604, 30, 46506, 1271, 62, 1659, 62, 3642, 395, 1187, 16034, 3084, 62, 3672, 62, 6659, 33411, 6772, 796, 604 ]
who had more semifinalists , brazil or poland ?
SELECT "country/territory" FROM table_204_225 WHERE "country/territory" IN ('brazil', 'poland') ORDER BY "semifinalists" DESC LIMIT 1
[ 8727, 550, 517, 32948, 1292, 1023, 837, 275, 7098, 393, 755, 392, 5633, 46506, 366, 19315, 14, 353, 799, 652, 1, 16034, 3084, 62, 18638, 62, 18182, 33411, 366, 19315, 14, 353, 799, 652, 1, 3268, 19203, 65, 7098, 3256, 705, 16104, 39...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 550, 517, 32948, 1292, 1023, 837, 275, 7098, 393, 755, 392, 5633, 46506, 366, 19315, 14, 353, 799, 652, 1, 16034, 3084, 62, 18638, 62, 18182, 33411, 366, 19315, 14, 353, 799, 652, 1, 3268, 19203, 65, 7098, 3256, 705, 16104, 39...
Who teaches web technology courses ?
SELECT DISTINCT instructor.name FROM instructor INNER JOIN offering_instructor ON offering_instructor.instructor_id = instructor.instructor_id INNER JOIN course_offering ON offering_instructor.offering_id = course_offering.offering_id INNER JOIN area ON course_offering.course_id = area.course_id WHERE area.area LIKE '%...
[ 8241, 17324, 3992, 3037, 10902, 5633, 46506, 360, 8808, 1268, 4177, 21187, 13, 3672, 16034, 21187, 3268, 21479, 32357, 1268, 6011, 62, 259, 7249, 273, 6177, 6011, 62, 259, 7249, 273, 13, 259, 7249, 273, 62, 312, 796, 21187, 13, 259, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 8241, 17324, 3992, 3037, 10902, 5633, 46506, 360, 8808, 1268, 4177, 21187, 13, 3672, 16034, 21187, 3268, 21479, 32357, 1268, 6011, 62, 259, 7249, 273, 6177, 6011, 62, 259, 7249, 273, 13, 259, 7249, 273, 62, 312, 796, 21187, 13, 259, 7...
What is total number of show times per dat for each cinema. Show bar chart.
SELECT Name, SUM(T1.Show_times_per_day) FROM schedule AS T1 JOIN cinema AS T2 ON T1.Cinema_ID = T2.Cinema_ID GROUP BY T1.Cinema_ID
[ 2061, 318, 2472, 1271, 286, 905, 1661, 583, 4818, 329, 1123, 22041, 13, 5438, 2318, 8262, 13, 46506, 6530, 11, 35683, 7, 51, 16, 13, 15307, 62, 22355, 62, 525, 62, 820, 8, 16034, 7269, 7054, 309, 16, 32357, 1268, 22041, 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, 2472, 1271, 286, 905, 1661, 583, 4818, 329, 1123, 22041, 13, 5438, 2318, 8262, 13, 46506, 6530, 11, 35683, 7, 51, 16, 13, 15307, 62, 22355, 62, 525, 62, 820, 8, 16034, 7269, 7054, 309, 16, 32357, 1268, 22041, 7054, 309, ...
Who is the Monarch whose Heir is Robert Curthose when the Reason is that the father became king?
SELECT monarch FROM table_name_67 WHERE heir = "robert curthose" AND reason = "father became king"
[ 8241, 318, 262, 41768, 3025, 679, 343, 318, 5199, 4424, 25591, 618, 262, 23219, 318, 326, 262, 2988, 2627, 5822, 30, 46506, 26464, 16034, 3084, 62, 3672, 62, 3134, 33411, 28625, 796, 366, 305, 4835, 1090, 25591, 1, 5357, 1738, 796, 36...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 41768, 3025, 679, 343, 318, 5199, 4424, 25591, 618, 262, 23219, 318, 326, 262, 2988, 2627, 5822, 30, 46506, 26464, 16034, 3084, 62, 3672, 62, 3134, 33411, 28625, 796, 366, 305, 4835, 1090, 25591, 1, 5357, 1738, 796, 36...
What is the 1994 value with a 2r in 1996, A in 1993, and 2r in 1991?
SELECT "1994" FROM table_46231 WHERE "1996" = '2r' AND "1993" = 'a' AND "1991" = '2r'
[ 2061, 318, 262, 9162, 1988, 351, 257, 362, 81, 287, 8235, 11, 317, 287, 9656, 11, 290, 362, 81, 287, 10249, 30, 46506, 366, 22666, 1, 16034, 3084, 62, 3510, 25667, 33411, 366, 22288, 1, 796, 705, 17, 81, 6, 5357, 366, 24465, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9162, 1988, 351, 257, 362, 81, 287, 8235, 11, 317, 287, 9656, 11, 290, 362, 81, 287, 10249, 30, 46506, 366, 22666, 1, 16034, 3084, 62, 3510, 25667, 33411, 366, 22288, 1, 796, 705, 17, 81, 6, 5357, 366, 24465, 1, ...
Which country has had 8 miss universes?
SELECT "Country" FROM table_30639 WHERE "Miss Universe" = '8'
[ 13828, 1499, 468, 550, 807, 2051, 44751, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 20548, 2670, 33411, 366, 17140, 11950, 1, 796, 705, 23, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 1499, 468, 550, 807, 2051, 44751, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 20548, 2670, 33411, 366, 17140, 11950, 1, 796, 705, 23, 6 ]
What horses does r. a. Scott own?
SELECT "Horse" FROM table_23110 WHERE "Owner" = 'R. A. Scott'
[ 2061, 14260, 857, 374, 13, 257, 13, 4746, 898, 30, 46506, 366, 39, 7615, 1, 16034, 3084, 62, 1954, 11442, 33411, 366, 42419, 1, 796, 705, 49, 13, 317, 13, 4746, 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, 14260, 857, 374, 13, 257, 13, 4746, 898, 30, 46506, 366, 39, 7615, 1, 16034, 3084, 62, 1954, 11442, 33411, 366, 42419, 1, 796, 705, 49, 13, 317, 13, 4746, 6 ]
give me the number of government health insurance patients who had elective hospital admission.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_type = "ELECTIVE" AND demographic.insurance = "Government"
[ 26535, 502, 262, 1271, 286, 1230, 1535, 5096, 3871, 508, 550, 1742, 425, 4436, 13938, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, 4906, 796, 366, 36, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 26535, 502, 262, 1271, 286, 1230, 1535, 5096, 3871, 508, 550, 1742, 425, 4436, 13938, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, 4906, 796, 366, 36, 1...
What are the meanings of the flag whose name transliterates to sem rka?
SELECT "Meaning" FROM table_74440 WHERE "Transliteration" = 'semërka'
[ 2061, 389, 262, 26368, 286, 262, 6056, 3025, 1438, 4779, 2676, 689, 284, 5026, 374, 4914, 30, 46506, 366, 5308, 7574, 1, 16034, 3084, 62, 22, 2598, 1821, 33411, 366, 8291, 17201, 341, 1, 796, 705, 43616, 26689, 81, 4914, 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, 389, 262, 26368, 286, 262, 6056, 3025, 1438, 4779, 2676, 689, 284, 5026, 374, 4914, 30, 46506, 366, 5308, 7574, 1, 16034, 3084, 62, 22, 2598, 1821, 33411, 366, 8291, 17201, 341, 1, 796, 705, 43616, 26689, 81, 4914, 6 ]