instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
What is the headphone model with a plastic construction and a prestige headphone class?
SELECT headphone_model FROM table_name_28 WHERE construction = "plastic" AND headphone_class = "prestige"
[ 2061, 318, 262, 36769, 2746, 351, 257, 7309, 5103, 290, 257, 29063, 36769, 1398, 30, 46506, 36769, 62, 19849, 16034, 3084, 62, 3672, 62, 2078, 33411, 5103, 796, 366, 489, 3477, 1, 5357, 36769, 62, 4871, 796, 366, 79, 2118, 10045, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 36769, 2746, 351, 257, 7309, 5103, 290, 257, 29063, 36769, 1398, 30, 46506, 36769, 62, 19849, 16034, 3084, 62, 3672, 62, 2078, 33411, 5103, 796, 366, 489, 3477, 1, 5357, 36769, 62, 4871, 796, 366, 79, 2118, 10045, 1 ]
how long after fairfield was no. 1 built ?
SELECT (SELECT "date built" FROM table_204_476 WHERE "name" = 'no.1') - (SELECT "date built" FROM table_204_476 WHERE "name" = 'fairfield')
[ 4919, 890, 706, 3148, 3245, 373, 645, 13, 352, 3170, 5633, 46506, 357, 46506, 366, 4475, 3170, 1, 16034, 3084, 62, 18638, 62, 35435, 33411, 366, 3672, 1, 796, 705, 3919, 13, 16, 11537, 532, 357, 46506, 366, 4475, 3170, 1, 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 ]
[ 4919, 890, 706, 3148, 3245, 373, 645, 13, 352, 3170, 5633, 46506, 357, 46506, 366, 4475, 3170, 1, 16034, 3084, 62, 18638, 62, 35435, 33411, 366, 3672, 1, 796, 705, 3919, 13, 16, 11537, 532, 357, 46506, 366, 4475, 3170, 1, 16034, 308...
Which location has an Opponent of masanori suda?
SELECT location FROM table_name_84 WHERE opponent = "masanori suda"
[ 13828, 4067, 468, 281, 9385, 3471, 286, 12422, 272, 10145, 424, 6814, 30, 46506, 4067, 16034, 3084, 62, 3672, 62, 5705, 33411, 6125, 796, 366, 5356, 272, 10145, 424, 6814, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 4067, 468, 281, 9385, 3471, 286, 12422, 272, 10145, 424, 6814, 30, 46506, 4067, 16034, 3084, 62, 3672, 62, 5705, 33411, 6125, 796, 366, 5356, 272, 10145, 424, 6814, 1 ]
What is the Record of the Game after 40 with New York Rangers as Opponent?
SELECT "Record" FROM table_37631 WHERE "Game" > '40' AND "Opponent" = 'new york rangers'
[ 2061, 318, 262, 13266, 286, 262, 3776, 706, 2319, 351, 968, 1971, 13804, 355, 9385, 3471, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 32128, 3132, 33411, 366, 8777, 1, 1875, 705, 1821, 6, 5357, 366, 27524, 3471, 1, 796, 705, 3605, 33...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13266, 286, 262, 3776, 706, 2319, 351, 968, 1971, 13804, 355, 9385, 3471, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 32128, 3132, 33411, 366, 8777, 1, 1875, 705, 1821, 6, 5357, 366, 27524, 3471, 1, 796, 705, 3605, 33...
How many cities are there that have more than 3 airports?
SELECT COUNT(*) FROM (SELECT city FROM airports GROUP BY city HAVING COUNT(*) > 3)
[ 2437, 867, 4736, 389, 612, 326, 423, 517, 621, 513, 22600, 30, 46506, 327, 28270, 7, 28104, 16034, 357, 46506, 1748, 16034, 22600, 44441, 11050, 1748, 367, 10116, 2751, 327, 28270, 7, 28104, 1875, 513, 8 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 4736, 389, 612, 326, 423, 517, 621, 513, 22600, 30, 46506, 327, 28270, 7, 28104, 16034, 357, 46506, 1748, 16034, 22600, 44441, 11050, 1748, 367, 10116, 2751, 327, 28270, 7, 28104, 1875, 513, 8 ]
Can you tell me the Rebounds that has the Name of pom baskets jena?
SELECT "Rebounds" FROM table_50340 WHERE "Name" = 'pom baskets jena'
[ 6090, 345, 1560, 502, 262, 15652, 3733, 326, 468, 262, 6530, 286, 279, 296, 46530, 474, 8107, 30, 46506, 366, 28951, 3733, 1, 16034, 3084, 62, 1120, 23601, 33411, 366, 5376, 1, 796, 705, 79, 296, 46530, 474, 8107, 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 ]
[ 6090, 345, 1560, 502, 262, 15652, 3733, 326, 468, 262, 6530, 286, 279, 296, 46530, 474, 8107, 30, 46506, 366, 28951, 3733, 1, 16034, 3084, 62, 1120, 23601, 33411, 366, 5376, 1, 796, 705, 79, 296, 46530, 474, 8107, 6 ]
what is the number of patients whose diagnoses icd9 code is 78630 and drug type is additive?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.icd9_code = "78630" AND prescriptions.drug_type = "ADDITIVE"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 40567, 14158, 67, 24, 2438, 318, 767, 4521, 1270, 290, 2563, 2099, 318, 38298, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 126...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 767, 4521, 1270, 290, 2563, 2099, 318, 38298, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 126...
How many colleges did the player picked 57 attend?
SELECT COUNT("College") FROM table_1163 WHERE "Pick" = '57'
[ 2437, 867, 15273, 750, 262, 2137, 6497, 7632, 5262, 30, 46506, 327, 28270, 7203, 38951, 4943, 16034, 3084, 62, 1157, 5066, 33411, 366, 31686, 1, 796, 705, 3553, 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 ]
[ 2437, 867, 15273, 750, 262, 2137, 6497, 7632, 5262, 30, 46506, 327, 28270, 7203, 38951, 4943, 16034, 3084, 62, 1157, 5066, 33411, 366, 31686, 1, 796, 705, 3553, 6 ]
For those products with a price between 60 and 120, draw a bar chart about the distribution of name and manufacturer , display by the X from low to high.
SELECT Name, Manufacturer FROM Products WHERE Price BETWEEN 60 AND 120 ORDER BY Name
[ 1890, 883, 3186, 351, 257, 2756, 1022, 3126, 290, 7982, 11, 3197, 257, 2318, 8262, 546, 262, 6082, 286, 1438, 290, 11554, 837, 3359, 416, 262, 1395, 422, 1877, 284, 1029, 13, 46506, 6530, 11, 40218, 16034, 18675, 33411, 7886, 38651, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1890, 883, 3186, 351, 257, 2756, 1022, 3126, 290, 7982, 11, 3197, 257, 2318, 8262, 546, 262, 6082, 286, 1438, 290, 11554, 837, 3359, 416, 262, 1395, 422, 1877, 284, 1029, 13, 46506, 6530, 11, 40218, 16034, 18675, 33411, 7886, 38651, 8...
What is the surface for the tournament of manta, ecuador?
SELECT "Surface" FROM table_39169 WHERE "Tournament" = 'manta, ecuador'
[ 2061, 318, 262, 4417, 329, 262, 7756, 286, 285, 4910, 11, 9940, 24201, 30, 46506, 366, 14214, 2550, 1, 16034, 3084, 62, 2670, 22172, 33411, 366, 51, 5138, 1, 796, 705, 76, 4910, 11, 9940, 24201, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4417, 329, 262, 7756, 286, 285, 4910, 11, 9940, 24201, 30, 46506, 366, 14214, 2550, 1, 16034, 3084, 62, 2670, 22172, 33411, 366, 51, 5138, 1, 796, 705, 76, 4910, 11, 9940, 24201, 6 ]
Which Accolade had a publication of Under the Radar?
SELECT accolade FROM table_name_44 WHERE publication = "under the radar"
[ 13828, 6366, 349, 671, 550, 257, 9207, 286, 4698, 262, 38426, 30, 46506, 45667, 671, 16034, 3084, 62, 3672, 62, 2598, 33411, 9207, 796, 366, 4625, 262, 13428, 1 ]
[ 1, 1, 1, 1, 1, 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, 6366, 349, 671, 550, 257, 9207, 286, 4698, 262, 38426, 30, 46506, 45667, 671, 16034, 3084, 62, 3672, 62, 2598, 33411, 9207, 796, 366, 4625, 262, 13428, 1 ]
What was the course called that had an Edition of 117th?
SELECT course FROM table_name_68 WHERE edition = "117th"
[ 2061, 373, 262, 1781, 1444, 326, 550, 281, 5061, 286, 19048, 400, 30, 46506, 1781, 16034, 3084, 62, 3672, 62, 3104, 33411, 8313, 796, 366, 17657, 400, 1 ]
[ 1, 1, 1, 1, 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, 1781, 1444, 326, 550, 281, 5061, 286, 19048, 400, 30, 46506, 1781, 16034, 3084, 62, 3672, 62, 3104, 33411, 8313, 796, 366, 17657, 400, 1 ]
Away result of 1 1, and a Round of 1r, and a Season of 1967-68 involves what club?
SELECT "Club" FROM table_75508 WHERE "Away result" = '1–1' AND "Round" = '1r' AND "Season" = '1967-68'
[ 32, 1014, 1255, 286, 352, 352, 11, 290, 257, 10485, 286, 352, 81, 11, 290, 257, 7369, 286, 15904, 12, 3104, 9018, 644, 3430, 30, 46506, 366, 42350, 1, 16034, 3084, 62, 2425, 33042, 33411, 366, 32, 1014, 1255, 1, 796, 705, 16, 1906...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1014, 1255, 286, 352, 352, 11, 290, 257, 10485, 286, 352, 81, 11, 290, 257, 7369, 286, 15904, 12, 3104, 9018, 644, 3430, 30, 46506, 366, 42350, 1, 16034, 3084, 62, 2425, 33042, 33411, 366, 32, 1014, 1255, 1, 796, 705, 16, 1906...
WHich Partner has a Outcome of winner, and a Opponents in the final of rick leach jim pugh?
SELECT "Partner" FROM table_45727 WHERE "Outcome" = 'winner' AND "Opponents in the final" = 'rick leach jim pugh'
[ 12418, 488, 35532, 468, 257, 3806, 2958, 286, 8464, 11, 290, 257, 9385, 3906, 287, 262, 2457, 286, 374, 624, 443, 620, 474, 320, 279, 6724, 30, 46506, 366, 7841, 1008, 1, 16034, 3084, 62, 33032, 1983, 33411, 366, 7975, 2958, 1, 796,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12418, 488, 35532, 468, 257, 3806, 2958, 286, 8464, 11, 290, 257, 9385, 3906, 287, 262, 2457, 286, 374, 624, 443, 620, 474, 320, 279, 6724, 30, 46506, 366, 7841, 1008, 1, 16034, 3084, 62, 33032, 1983, 33411, 366, 7975, 2958, 1, 796,...
how many patients had abdomen artery incision procedure and had sepsis primary disease?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.diagnosis = "SEPSIS" AND procedures.short_title = "Abdomen artery incision"
[ 4919, 867, 3871, 550, 32956, 37646, 753, 1166, 8771, 290, 550, 384, 862, 271, 4165, 4369, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, 13, 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...
[ 4919, 867, 3871, 550, 32956, 37646, 753, 1166, 8771, 290, 550, 384, 862, 271, 4165, 4369, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, 13, 181...
For the away team with a score of 14.7 (91) what was the home team?
SELECT "Home team" FROM table_52478 WHERE "Away team score" = '14.7 (91)'
[ 1890, 262, 1497, 1074, 351, 257, 4776, 286, 1478, 13, 22, 357, 6420, 8, 644, 373, 262, 1363, 1074, 30, 46506, 366, 16060, 1074, 1, 16034, 3084, 62, 48057, 3695, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 1415, 13, 22, 357, 642...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1497, 1074, 351, 257, 4776, 286, 1478, 13, 22, 357, 6420, 8, 644, 373, 262, 1363, 1074, 30, 46506, 366, 16060, 1074, 1, 16034, 3084, 62, 48057, 3695, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 1415, 13, 22, 357, 642...
In the Central region, where the land area (km 2) is 8,543.2, what was the rainfall by depth (mm/year)?
SELECT "Rainfall by depth (mm/year)" FROM table_28225 WHERE "Land area (km 2 )" = '8,543.2'
[ 818, 262, 5694, 3814, 11, 810, 262, 1956, 1989, 357, 13276, 362, 8, 318, 807, 11, 20, 3559, 13, 17, 11, 644, 373, 262, 25807, 416, 6795, 357, 3020, 14, 1941, 19427, 46506, 366, 31443, 7207, 416, 6795, 357, 3020, 14, 1941, 16725, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 818, 262, 5694, 3814, 11, 810, 262, 1956, 1989, 357, 13276, 362, 8, 318, 807, 11, 20, 3559, 13, 17, 11, 644, 373, 262, 25807, 416, 6795, 357, 3020, 14, 1941, 19427, 46506, 366, 31443, 7207, 416, 6795, 357, 3020, 14, 1941, 16725, 1...
Find the average age of journalists working on different role type, show the result with a bar chart, and sort by the y axis in descending please.
SELECT Work_Type, AVG(t1.Age) FROM journalist AS t1 JOIN news_report AS t2 ON t1.journalist_ID = t2.journalist_ID GROUP BY t2.Work_Type ORDER BY AVG(t1.Age) DESC
[ 16742, 262, 2811, 2479, 286, 9046, 1762, 319, 1180, 2597, 2099, 11, 905, 262, 1255, 351, 257, 2318, 8262, 11, 290, 3297, 416, 262, 331, 16488, 287, 31491, 3387, 13, 46506, 5521, 62, 6030, 11, 35224, 7, 83, 16, 13, 23396, 8, 16034, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 16742, 262, 2811, 2479, 286, 9046, 1762, 319, 1180, 2597, 2099, 11, 905, 262, 1255, 351, 257, 2318, 8262, 11, 290, 3297, 416, 262, 331, 16488, 287, 31491, 3387, 13, 46506, 5521, 62, 6030, 11, 35224, 7, 83, 16, 13, 23396, 8, 16034, ...
What is the highest Roll of Orere School with a Decile less than 8 with a State Authority?
SELECT MAX("Roll") FROM table_55791 WHERE "Decile" < '8' AND "Authority" = 'state' AND "Name" = 'orere school'
[ 2061, 318, 262, 4511, 8299, 286, 22452, 260, 3961, 351, 257, 4280, 576, 1342, 621, 807, 351, 257, 1812, 11416, 30, 46506, 25882, 7203, 26869, 4943, 16034, 3084, 62, 2816, 3720, 16, 33411, 366, 10707, 576, 1, 1279, 705, 23, 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 ]
[ 2061, 318, 262, 4511, 8299, 286, 22452, 260, 3961, 351, 257, 4280, 576, 1342, 621, 807, 351, 257, 1812, 11416, 30, 46506, 25882, 7203, 26869, 4943, 16034, 3084, 62, 2816, 3720, 16, 33411, 366, 10707, 576, 1, 1279, 705, 23, 6, 5357, ...
What is the away where the round is the second round?
SELECT "Away" FROM table_59761 WHERE "Round" = 'second round'
[ 2061, 318, 262, 1497, 810, 262, 2835, 318, 262, 1218, 2835, 30, 46506, 366, 32, 1014, 1, 16034, 3084, 62, 3270, 4304, 16, 33411, 366, 22685, 1, 796, 705, 12227, 2835, 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, 1497, 810, 262, 2835, 318, 262, 1218, 2835, 30, 46506, 366, 32, 1014, 1, 16034, 3084, 62, 3270, 4304, 16, 33411, 366, 22685, 1, 796, 705, 12227, 2835, 6 ]
What is on at 3pm on the channel that shows Local Programs at non?
SELECT "3:00 pm" FROM table_61205 WHERE "noon" = 'local programs'
[ 2061, 318, 319, 379, 513, 4426, 319, 262, 6518, 326, 2523, 10714, 26179, 379, 1729, 30, 46506, 366, 18, 25, 405, 9114, 1, 16034, 3084, 62, 43610, 2713, 33411, 366, 6357, 1, 796, 705, 12001, 4056, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 319, 379, 513, 4426, 319, 262, 6518, 326, 2523, 10714, 26179, 379, 1729, 30, 46506, 366, 18, 25, 405, 9114, 1, 16034, 3084, 62, 43610, 2713, 33411, 366, 6357, 1, 796, 705, 12001, 4056, 6 ]
are there DL flights leaving DENVER
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 = 'DENVER' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND flight.from_airport = AIRP...
[ 533, 612, 23641, 13956, 4305, 37692, 28884, 36, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 533, 612, 23641, 13956, 4305, 37692, 28884, 36, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62,...
How many opponents were in North Carolina state game?
SELECT COUNT(opponents) FROM table_20928649_1 WHERE opponent = "North Carolina State"
[ 2437, 867, 7691, 547, 287, 2258, 5913, 1181, 983, 30, 46506, 327, 28270, 7, 10365, 3906, 8, 16034, 3084, 62, 22567, 2078, 33300, 62, 16, 33411, 6125, 796, 366, 14157, 5913, 1812, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7691, 547, 287, 2258, 5913, 1181, 983, 30, 46506, 327, 28270, 7, 10365, 3906, 8, 16034, 3084, 62, 22567, 2078, 33300, 62, 16, 33411, 6125, 796, 366, 14157, 5913, 1812, 1 ]
what is the least total on the list ?
SELECT MIN("total") FROM table_204_952
[ 10919, 318, 262, 1551, 2472, 319, 262, 1351, 5633, 46506, 20625, 7203, 23350, 4943, 16034, 3084, 62, 18638, 62, 49234 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 1551, 2472, 319, 262, 1351, 5633, 46506, 20625, 7203, 23350, 4943, 16034, 3084, 62, 18638, 62, 49234 ]
Name the torque of the engine is d5244 t5
SELECT torque__nm AS @rpm_ FROM table_1147701_5 WHERE engine_code = "D5244 T5"
[ 5376, 262, 26415, 286, 262, 3113, 318, 288, 20, 25707, 256, 20, 46506, 26415, 834, 21533, 7054, 2488, 48235, 62, 16034, 3084, 62, 1157, 32883, 486, 62, 20, 33411, 3113, 62, 8189, 796, 366, 35, 20, 25707, 309, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 26415, 286, 262, 3113, 318, 288, 20, 25707, 256, 20, 46506, 26415, 834, 21533, 7054, 2488, 48235, 62, 16034, 3084, 62, 1157, 32883, 486, 62, 20, 33411, 3113, 62, 8189, 796, 366, 35, 20, 25707, 309, 20, 1 ]
How many points did Stuart have when he had 0 extra points?
SELECT MIN(points) FROM table_name_53 WHERE player = "stuart" AND extra_points < 0
[ 2437, 867, 2173, 750, 22559, 423, 618, 339, 550, 657, 3131, 2173, 30, 46506, 20625, 7, 13033, 8, 16034, 3084, 62, 3672, 62, 4310, 33411, 2137, 796, 366, 301, 19986, 1, 5357, 3131, 62, 13033, 1279, 657 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 2173, 750, 22559, 423, 618, 339, 550, 657, 3131, 2173, 30, 46506, 20625, 7, 13033, 8, 16034, 3084, 62, 3672, 62, 4310, 33411, 2137, 796, 366, 301, 19986, 1, 5357, 3131, 62, 13033, 1279, 657 ]
What is Record, when Home is 'New York Rangers', and when Date is 'April 17'?
SELECT "Record" FROM table_12222 WHERE "Home" = 'new york rangers' AND "Date" = 'april 17'
[ 2061, 318, 13266, 11, 618, 5995, 318, 705, 3791, 1971, 13804, 3256, 290, 618, 7536, 318, 705, 16784, 1596, 30960, 46506, 366, 23739, 1, 16034, 3084, 62, 1065, 23148, 33411, 366, 16060, 1, 796, 705, 3605, 331, 967, 374, 6606, 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 ]
[ 2061, 318, 13266, 11, 618, 5995, 318, 705, 3791, 1971, 13804, 3256, 290, 618, 7536, 318, 705, 16784, 1596, 30960, 46506, 366, 23739, 1, 16034, 3084, 62, 1065, 23148, 33411, 366, 16060, 1, 796, 705, 3605, 331, 967, 374, 6606, 6, 5357, ...
what is the name of the diagnosis patient 028-70851 last was received until 4 years ago?
SELECT diagnosis.diagnosisname FROM diagnosis WHERE diagnosis.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '028-70851')) AND DATETIME(diagnosis.diagnosistime) <= DATETIME(CU...
[ 10919, 318, 262, 1438, 286, 262, 13669, 5827, 657, 2078, 12, 32583, 4349, 938, 373, 2722, 1566, 604, 812, 2084, 30, 46506, 13669, 13, 47356, 5958, 3672, 16034, 13669, 33411, 13669, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13669, 5827, 657, 2078, 12, 32583, 4349, 938, 373, 2722, 1566, 604, 812, 2084, 30, 46506, 13669, 13, 47356, 5958, 3672, 16034, 13669, 33411, 13669, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 1...
does the sao2 of patient 004-49903 today have been normal?
SELECT COUNT(*) > 0 FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '004-49903')) AND vitalperiodic.sao2 BETWEEN sao2_lower AND sao2_uppe...
[ 22437, 262, 473, 78, 17, 286, 5827, 3571, 19, 12, 28324, 3070, 1909, 423, 587, 3487, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 9204, 41007, 291, 33411, 9204, 41007, 291, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 22437, 262, 473, 78, 17, 286, 5827, 3571, 19, 12, 28324, 3070, 1909, 423, 587, 3487, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 9204, 41007, 291, 33411, 9204, 41007, 291, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 1...
How many languages is refractaire as the film title used in nomination?
SELECT COUNT(languages) FROM table_22073745_1 WHERE film_title_used_in_nomination = "Refractaire"
[ 2437, 867, 8950, 318, 1006, 974, 7626, 355, 262, 2646, 3670, 973, 287, 11872, 30, 46506, 327, 28270, 7, 75, 33213, 8, 16034, 3084, 62, 17572, 22, 2718, 2231, 62, 16, 33411, 2646, 62, 7839, 62, 1484, 62, 259, 62, 26601, 1883, 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, 8950, 318, 1006, 974, 7626, 355, 262, 2646, 3670, 973, 287, 11872, 30, 46506, 327, 28270, 7, 75, 33213, 8, 16034, 3084, 62, 17572, 22, 2718, 2231, 62, 16, 33411, 2646, 62, 7839, 62, 1484, 62, 259, 62, 26601, 1883, 796, ...
What is the most Miss Fires any country has had?
SELECT MAX(miss_fire) FROM table_30008638_1
[ 2061, 318, 262, 749, 4544, 47702, 597, 1499, 468, 550, 30, 46506, 25882, 7, 3927, 62, 6495, 8, 16034, 3084, 62, 23924, 4521, 2548, 62, 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 ]
[ 2061, 318, 262, 749, 4544, 47702, 597, 1499, 468, 550, 30, 46506, 25882, 7, 3927, 62, 6495, 8, 16034, 3084, 62, 23924, 4521, 2548, 62, 16 ]
What are the category of music festivals with result 'Awarded', and count them by a bar chart, and show by the x axis in desc.
SELECT Category, COUNT(Category) FROM music_festival WHERE Result = "Awarded" GROUP BY Category ORDER BY Category DESC
[ 2061, 389, 262, 6536, 286, 2647, 25575, 351, 1255, 705, 32, 904, 276, 3256, 290, 954, 606, 416, 257, 2318, 8262, 11, 290, 905, 416, 262, 2124, 16488, 287, 1715, 13, 46506, 21743, 11, 327, 28270, 7, 27313, 8, 16034, 2647, 62, 69, 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 ]
[ 2061, 389, 262, 6536, 286, 2647, 25575, 351, 1255, 705, 32, 904, 276, 3256, 290, 954, 606, 416, 257, 2318, 8262, 11, 290, 905, 416, 262, 2124, 16488, 287, 1715, 13, 46506, 21743, 11, 327, 28270, 7, 27313, 8, 16034, 2647, 62, 69, 6...
What is the grid total for jean-pierre beltoise?
SELECT COUNT(grid) FROM table_name_73 WHERE driver = "jean-pierre beltoise"
[ 2061, 318, 262, 10706, 2472, 329, 474, 11025, 12, 79, 31058, 894, 1462, 786, 30, 46506, 327, 28270, 7, 25928, 8, 16034, 3084, 62, 3672, 62, 4790, 33411, 4639, 796, 366, 73, 11025, 12, 79, 31058, 894, 1462, 786, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10706, 2472, 329, 474, 11025, 12, 79, 31058, 894, 1462, 786, 30, 46506, 327, 28270, 7, 25928, 8, 16034, 3084, 62, 3672, 62, 4790, 33411, 4639, 796, 366, 73, 11025, 12, 79, 31058, 894, 1462, 786, 1 ]
What is the average points when the drawn is less than 0?
SELECT AVG("Points") FROM table_48165 WHERE "Drawn" < '0'
[ 2061, 318, 262, 2811, 2173, 618, 262, 7428, 318, 1342, 621, 657, 30, 46506, 35224, 7203, 40710, 4943, 16034, 3084, 62, 2780, 20986, 33411, 366, 35, 5791, 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 ]
[ 2061, 318, 262, 2811, 2173, 618, 262, 7428, 318, 1342, 621, 657, 30, 46506, 35224, 7203, 40710, 4943, 16034, 3084, 62, 2780, 20986, 33411, 366, 35, 5791, 1, 1279, 705, 15, 6 ]
What driver was the winner when constructor was Maserati at the Monaco grand prix?
SELECT "Winning driver" FROM table_11804 WHERE "Constructor" = 'maserati' AND "Race" = 'monaco grand prix'
[ 2061, 4639, 373, 262, 8464, 618, 23772, 373, 337, 6005, 7246, 379, 262, 31630, 4490, 1293, 87, 30, 46506, 366, 16643, 768, 4639, 1, 16034, 3084, 62, 1157, 36088, 33411, 366, 42316, 273, 1, 796, 705, 5356, 263, 7246, 6, 5357, 366, 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 ]
[ 2061, 4639, 373, 262, 8464, 618, 23772, 373, 337, 6005, 7246, 379, 262, 31630, 4490, 1293, 87, 30, 46506, 366, 16643, 768, 4639, 1, 16034, 3084, 62, 1157, 36088, 33411, 366, 42316, 273, 1, 796, 705, 5356, 263, 7246, 6, 5357, 366, 35...
Where was the game played on 3 january 2009 against east fife?
SELECT "Venue" FROM table_64806 WHERE "Opponents" = 'east fife' AND "Date" = '3 january 2009'
[ 8496, 373, 262, 983, 2826, 319, 513, 42897, 2838, 3717, 1028, 7627, 277, 901, 30, 46506, 366, 37522, 518, 1, 16034, 3084, 62, 2414, 37988, 33411, 366, 27524, 3906, 1, 796, 705, 23316, 277, 901, 6, 5357, 366, 10430, 1, 796, 705, 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 ]
[ 8496, 373, 262, 983, 2826, 319, 513, 42897, 2838, 3717, 1028, 7627, 277, 901, 30, 46506, 366, 37522, 518, 1, 16034, 3084, 62, 2414, 37988, 33411, 366, 27524, 3906, 1, 796, 705, 23316, 277, 901, 6, 5357, 366, 10430, 1, 796, 705, 18, ...
What year had a domestic cup of singapore cup?
SELECT year FROM table_name_9 WHERE domestic_cup = "singapore cup"
[ 2061, 614, 550, 257, 5928, 6508, 286, 1702, 11656, 6508, 30, 46506, 614, 16034, 3084, 62, 3672, 62, 24, 33411, 5928, 62, 25244, 796, 366, 12215, 11656, 6508, 1 ]
[ 1, 1, 1, 1, 1, 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, 614, 550, 257, 5928, 6508, 286, 1702, 11656, 6508, 30, 46506, 614, 16034, 3084, 62, 3672, 62, 24, 33411, 5928, 62, 25244, 796, 366, 12215, 11656, 6508, 1 ]
What is the highest draw against 2161?
SELECT MAX(draws) FROM table_name_98 WHERE against > 2161
[ 2061, 318, 262, 4511, 3197, 1028, 362, 25948, 30, 46506, 25882, 7, 19334, 82, 8, 16034, 3084, 62, 3672, 62, 4089, 33411, 1028, 1875, 362, 25948 ]
[ 1, 1, 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, 3197, 1028, 362, 25948, 30, 46506, 25882, 7, 19334, 82, 8, 16034, 3084, 62, 3672, 62, 4089, 33411, 1028, 1875, 362, 25948 ]
bangkok , thailand held the 2002 asian junior championships . what was the next year they held another event ?
SELECT "year" FROM table_203_781 WHERE "venue" = 'bangkok, thailand' AND "year" > 2002 ORDER BY "year" LIMIT 1
[ 36668, 32004, 837, 294, 16188, 2714, 262, 6244, 355, 666, 13430, 27459, 764, 644, 373, 262, 1306, 614, 484, 2714, 1194, 1785, 5633, 46506, 366, 1941, 1, 16034, 3084, 62, 22416, 62, 49703, 33411, 366, 4080, 1, 796, 705, 36668, 32004, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 36668, 32004, 837, 294, 16188, 2714, 262, 6244, 355, 666, 13430, 27459, 764, 644, 373, 262, 1306, 614, 484, 2714, 1194, 1785, 5633, 46506, 366, 1941, 1, 16034, 3084, 62, 22416, 62, 49703, 33411, 366, 4080, 1, 796, 705, 36668, 32004, 1...
current addiction to alcohol or substances of abuse as determined by the investigator.
SELECT * FROM table_train_194 WHERE alcohol_abuse = 1 OR substance_dependence = 1
[ 14421, 13230, 284, 5548, 393, 15938, 286, 5076, 355, 5295, 416, 262, 20725, 13, 46506, 1635, 16034, 3084, 62, 27432, 62, 22913, 33411, 5548, 62, 47158, 796, 352, 6375, 9136, 62, 67, 15091, 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 ]
[ 14421, 13230, 284, 5548, 393, 15938, 286, 5076, 355, 5295, 416, 262, 20725, 13, 46506, 1635, 16034, 3084, 62, 27432, 62, 22913, 33411, 5548, 62, 47158, 796, 352, 6375, 9136, 62, 67, 15091, 796, 352 ]
Which show was sent to syndication for its new/returning/same network.
SELECT show FROM table_169766_13 WHERE new_returning_same_network = "Syndication"
[ 13828, 905, 373, 1908, 284, 11150, 3299, 329, 663, 649, 14, 7783, 278, 14, 31642, 3127, 13, 46506, 905, 16034, 3084, 62, 1433, 5607, 2791, 62, 1485, 33411, 649, 62, 7783, 278, 62, 31642, 62, 27349, 796, 366, 13940, 358, 3299, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 905, 373, 1908, 284, 11150, 3299, 329, 663, 649, 14, 7783, 278, 14, 31642, 3127, 13, 46506, 905, 16034, 3084, 62, 1433, 5607, 2791, 62, 1485, 33411, 649, 62, 7783, 278, 62, 31642, 62, 27349, 796, 366, 13940, 358, 3299, 1 ]
Show aircraft names and number of flights for each aircraft with a bar chart, show by the X in ascending.
SELECT name, COUNT(*) FROM flight AS T1 JOIN aircraft AS T2 ON T1.aid = T2.aid GROUP BY T1.aid ORDER BY name
[ 15307, 6215, 3891, 290, 1271, 286, 13956, 329, 1123, 6215, 351, 257, 2318, 8262, 11, 905, 416, 262, 1395, 287, 41988, 13, 46506, 1438, 11, 327, 28270, 7, 28104, 16034, 5474, 7054, 309, 16, 32357, 1268, 6215, 7054, 309, 17, 6177, 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 ]
[ 15307, 6215, 3891, 290, 1271, 286, 13956, 329, 1123, 6215, 351, 257, 2318, 8262, 11, 905, 416, 262, 1395, 287, 41988, 13, 46506, 1438, 11, 327, 28270, 7, 28104, 16034, 5474, 7054, 309, 16, 32357, 1268, 6215, 7054, 309, 17, 6177, 309, ...
What is the Away team at Bristol Rovers' Home game?
SELECT "Away team" FROM table_12490 WHERE "Home team" = 'bristol rovers'
[ 2061, 318, 262, 21986, 1074, 379, 25040, 5564, 690, 6, 5995, 983, 30, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 1065, 31503, 33411, 366, 16060, 1074, 1, 796, 705, 65, 1585, 349, 686, 690, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 21986, 1074, 379, 25040, 5564, 690, 6, 5995, 983, 30, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 1065, 31503, 33411, 366, 16060, 1074, 1, 796, 705, 65, 1585, 349, 686, 690, 6 ]
What is the name of the race held most recently?
SELECT name FROM races ORDER BY date DESC LIMIT 1
[ 2061, 318, 262, 1438, 286, 262, 3234, 2714, 749, 2904, 30, 46506, 1438, 16034, 9558, 38678, 11050, 3128, 22196, 34, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1438, 286, 262, 3234, 2714, 749, 2904, 30, 46506, 1438, 16034, 9558, 38678, 11050, 3128, 22196, 34, 27564, 2043, 352 ]
what is the monthly average of the weight of patient 23858 since 5 years ago?
SELECT AVG(chartevents.valuenum) FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 23858)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'admi...
[ 10919, 318, 262, 9651, 2811, 286, 262, 3463, 286, 5827, 32544, 3365, 1201, 642, 812, 2084, 30, 46506, 35224, 7, 40926, 31534, 13, 2100, 84, 44709, 8, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, 323, 62, 312, 3268, 357, 46506...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 9651, 2811, 286, 262, 3463, 286, 5827, 32544, 3365, 1201, 642, 812, 2084, 30, 46506, 35224, 7, 40926, 31534, 13, 2100, 84, 44709, 8, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, 323, 62, 312, 3268, 357, 46506...
calculate the minimum age of divorced patients who had emergency room hospital admit.
SELECT MIN(demographic.age) FROM demographic WHERE demographic.marital_status = "DIVORCED" AND demographic.admission_location = "EMERGENCY ROOM ADMIT"
[ 9948, 3129, 378, 262, 5288, 2479, 286, 25107, 3871, 508, 550, 6334, 2119, 4436, 9159, 13, 46506, 20625, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 3876, 1287, 62, 13376, 796, 366, 33569, 1581, 34, 1961, 1, 5357, 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 ]
[ 9948, 3129, 378, 262, 5288, 2479, 286, 25107, 3871, 508, 550, 6334, 2119, 4436, 9159, 13, 46506, 20625, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 3876, 1287, 62, 13376, 796, 366, 33569, 1581, 34, 1961, 1, 5357, 16728,...
What bike has 26 as the grid?
SELECT bike FROM table_name_20 WHERE grid = 26
[ 2061, 7161, 468, 2608, 355, 262, 10706, 30, 46506, 7161, 16034, 3084, 62, 3672, 62, 1238, 33411, 10706, 796, 2608 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 7161, 468, 2608, 355, 262, 10706, 30, 46506, 7161, 16034, 3084, 62, 3672, 62, 1238, 33411, 10706, 796, 2608 ]
Which cornerback has the highest round?
SELECT MAX(round) FROM table_name_97 WHERE position = "cornerback"
[ 13828, 26683, 468, 262, 4511, 2835, 30, 46506, 25882, 7, 744, 8, 16034, 3084, 62, 3672, 62, 5607, 33411, 2292, 796, 366, 10215, 1008, 1891, 1 ]
[ 1, 1, 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, 26683, 468, 262, 4511, 2835, 30, 46506, 25882, 7, 744, 8, 16034, 3084, 62, 3672, 62, 5607, 33411, 2292, 796, 366, 10215, 1008, 1891, 1 ]
What is the incumbent for pennsylvania 15
SELECT incumbent FROM table_1342013_37 WHERE district = "Pennsylvania 15"
[ 2061, 318, 262, 23526, 329, 22429, 9270, 1315, 46506, 23526, 16034, 3084, 62, 19880, 6390, 62, 2718, 33411, 4783, 796, 366, 39899, 9270, 1315, 1 ]
[ 1, 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, 23526, 329, 22429, 9270, 1315, 46506, 23526, 16034, 3084, 62, 19880, 6390, 62, 2718, 33411, 4783, 796, 366, 39899, 9270, 1315, 1 ]
How many different kickoffs happened when the oppenent was at Rhein Fire?
SELECT COUNT(kickoff) FROM table_26275503_2 WHERE opponent = "at Rhein Fire"
[ 2437, 867, 1180, 4829, 8210, 3022, 618, 262, 1269, 268, 298, 373, 379, 371, 258, 259, 3764, 30, 46506, 327, 28270, 7, 24585, 2364, 8, 16034, 3084, 62, 2075, 1983, 22730, 18, 62, 17, 33411, 6125, 796, 366, 265, 371, 258, 259, 3764, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 1180, 4829, 8210, 3022, 618, 262, 1269, 268, 298, 373, 379, 371, 258, 259, 3764, 30, 46506, 327, 28270, 7, 24585, 2364, 8, 16034, 3084, 62, 2075, 1983, 22730, 18, 62, 17, 33411, 6125, 796, 366, 265, 371, 258, 259, 3764, ...
give me the number of patients whose admission type is urgent and drug type is main?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.admission_type = "URGENT" AND prescriptions.drug_type = "MAIN"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 13938, 2099, 318, 18039, 290, 2563, 2099, 318, 1388, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 26535, 502, 262, 1271, 286, 3871, 3025, 13938, 2099, 318, 18039, 290, 2563, 2099, 318, 1388, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, ...
Who had a lane number smaller than 7 and a time of 2:19.86?
SELECT name FROM table_name_32 WHERE lane < 7 AND time = "2:19.86"
[ 8241, 550, 257, 11193, 1271, 4833, 621, 767, 290, 257, 640, 286, 362, 25, 1129, 13, 4521, 30, 46506, 1438, 16034, 3084, 62, 3672, 62, 2624, 33411, 11193, 1279, 767, 5357, 640, 796, 366, 17, 25, 1129, 13, 4521, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 257, 11193, 1271, 4833, 621, 767, 290, 257, 640, 286, 362, 25, 1129, 13, 4521, 30, 46506, 1438, 16034, 3084, 62, 3672, 62, 2624, 33411, 11193, 1279, 767, 5357, 640, 796, 366, 17, 25, 1129, 13, 4521, 1 ]
when did patient 12568 get prescribed for the first time since 02/2105?
SELECT prescriptions.startdate FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 12568) AND STRFTIME('%y-%m', prescriptions.startdate) >= '2105-02' ORDER BY prescriptions.startdate LIMIT 1
[ 12518, 750, 5827, 13151, 3104, 651, 14798, 329, 262, 717, 640, 1201, 7816, 14, 17, 13348, 30, 46506, 34092, 13, 9688, 4475, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12518, 750, 5827, 13151, 3104, 651, 14798, 329, 262, 717, 640, 1201, 7816, 14, 17, 13348, 30, 46506, 34092, 13, 9688, 4475, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25...
Draw a scatter chart about the correlation between Team_ID and All_Games_Percent , and group by attribute All_Neutral.
SELECT Team_ID, All_Games_Percent FROM basketball_match GROUP BY All_Neutral
[ 25302, 257, 41058, 8262, 546, 262, 16096, 1022, 4816, 62, 2389, 290, 1439, 62, 24474, 62, 31905, 837, 290, 1448, 416, 11688, 1439, 62, 8199, 6815, 13, 46506, 4816, 62, 2389, 11, 1439, 62, 24474, 62, 31905, 16034, 9669, 62, 15699, 4444...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 25302, 257, 41058, 8262, 546, 262, 16096, 1022, 4816, 62, 2389, 290, 1439, 62, 24474, 62, 31905, 837, 290, 1448, 416, 11688, 1439, 62, 8199, 6815, 13, 46506, 4816, 62, 2389, 11, 1439, 62, 24474, 62, 31905, 16034, 9669, 62, 15699, 4444...
i want to go from BOSTON to OAKLAND on UA and leave at 838 which flight should i take
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_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'OAKLAND' AND flight.departure_time = 838 AND flight.to_airport = AIRPORT_SERVICE_1.airpo...
[ 72, 765, 284, 467, 422, 347, 10892, 1340, 284, 440, 10206, 28182, 319, 46164, 290, 2666, 379, 807, 2548, 543, 5474, 815, 1312, 1011, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 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...
[ 72, 765, 284, 467, 422, 347, 10892, 1340, 284, 440, 10206, 28182, 319, 46164, 290, 2666, 379, 807, 2548, 543, 5474, 815, 1312, 1011, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 6...
count the number of male patients who were born before 1846.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.gender = "M" AND demographic.dob_year < "1846"
[ 9127, 262, 1271, 286, 4257, 3871, 508, 547, 4642, 878, 1248, 3510, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 8388, 796, 366, 44, 1, 5357, 16728, 13, 67, 672, 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 ]
[ 9127, 262, 1271, 286, 4257, 3871, 508, 547, 4642, 878, 1248, 3510, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 8388, 796, 366, 44, 1, 5357, 16728, 13, 67, 672, 62, ...
How many records for number of viewers is listed for episode number 8?
SELECT COUNT(viewers__millions_) FROM table_24689168_5 WHERE episode = 8
[ 2437, 867, 4406, 329, 1271, 286, 10209, 318, 5610, 329, 4471, 1271, 807, 30, 46506, 327, 28270, 7, 1177, 364, 834, 17805, 507, 62, 8, 16034, 3084, 62, 1731, 40523, 14656, 62, 20, 33411, 4471, 796, 807 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 4406, 329, 1271, 286, 10209, 318, 5610, 329, 4471, 1271, 807, 30, 46506, 327, 28270, 7, 1177, 364, 834, 17805, 507, 62, 8, 16034, 3084, 62, 1731, 40523, 14656, 62, 20, 33411, 4471, 796, 807 ]
What is the release date of the 2x 512 kb L2 cache with a 11x multi 1, and a FPU width of 128-bit?
SELECT release_date FROM table_name_48 WHERE l2_cache = "2x 512 kb" AND multi_1 = "11x" AND fpu_width = "128-bit"
[ 2061, 318, 262, 2650, 3128, 286, 262, 362, 87, 22243, 47823, 406, 17, 12940, 351, 257, 1367, 87, 5021, 352, 11, 290, 257, 376, 5105, 9647, 286, 13108, 12, 2545, 30, 46506, 2650, 62, 4475, 16034, 3084, 62, 3672, 62, 2780, 33411, 300,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2650, 3128, 286, 262, 362, 87, 22243, 47823, 406, 17, 12940, 351, 257, 1367, 87, 5021, 352, 11, 290, 257, 376, 5105, 9647, 286, 13108, 12, 2545, 30, 46506, 2650, 62, 4475, 16034, 3084, 62, 3672, 62, 2780, 33411, 300,...
tell me whether patient 021-172222's systemicsystolic was ever greater than 103.0 in 11/last year?
SELECT COUNT(*) > 0 FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '021-172222')) AND vitalperiodic.systemicsystolic > 103.0 AND NOT vit...
[ 33331, 502, 1771, 5827, 657, 2481, 12, 1558, 1828, 1828, 338, 1080, 873, 88, 301, 4160, 373, 1683, 3744, 621, 15349, 13, 15, 287, 1367, 14, 12957, 614, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 9204, 41007, 291, 33411, 9204, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1771, 5827, 657, 2481, 12, 1558, 1828, 1828, 338, 1080, 873, 88, 301, 4160, 373, 1683, 3744, 621, 15349, 13, 15, 287, 1367, 14, 12957, 614, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 9204, 41007, 291, 33411, 9204, ...
Who was the home team for the game played at Junction Oval?
SELECT home_team FROM table_name_98 WHERE venue = "junction oval"
[ 8241, 373, 262, 1363, 1074, 329, 262, 983, 2826, 379, 44410, 25165, 30, 46506, 1363, 62, 15097, 16034, 3084, 62, 3672, 62, 4089, 33411, 14359, 796, 366, 73, 4575, 41186, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 373, 262, 1363, 1074, 329, 262, 983, 2826, 379, 44410, 25165, 30, 46506, 1363, 62, 15097, 16034, 3084, 62, 3672, 62, 4089, 33411, 14359, 796, 366, 73, 4575, 41186, 1 ]
What was the aggregate score that had Union Douala as Team 1?
SELECT agg FROM table_name_55 WHERE team_1 = "union douala"
[ 2061, 373, 262, 19406, 4776, 326, 550, 4479, 5728, 6081, 355, 4816, 352, 30, 46506, 4194, 16034, 3084, 62, 3672, 62, 2816, 33411, 1074, 62, 16, 796, 366, 24592, 2255, 6081, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 19406, 4776, 326, 550, 4479, 5728, 6081, 355, 4816, 352, 30, 46506, 4194, 16034, 3084, 62, 3672, 62, 2816, 33411, 1074, 62, 16, 796, 366, 24592, 2255, 6081, 1 ]
What is the location for Egypt in 2013?
SELECT location FROM table_name_81 WHERE year = "2013" AND country = "egypt"
[ 2061, 318, 262, 4067, 329, 6365, 287, 2211, 30, 46506, 4067, 16034, 3084, 62, 3672, 62, 6659, 33411, 614, 796, 366, 6390, 1, 5357, 1499, 796, 366, 68, 6022, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4067, 329, 6365, 287, 2211, 30, 46506, 4067, 16034, 3084, 62, 3672, 62, 6659, 33411, 614, 796, 366, 6390, 1, 5357, 1499, 796, 366, 68, 6022, 1 ]
How many office admission patients have a rdw lab test done?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_location = "PHYS REFERRAL/NORMAL DELI" AND lab.label = "RDW"
[ 2437, 867, 2607, 13938, 3871, 423, 257, 374, 67, 86, 2248, 1332, 1760, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2607, 13938, 3871, 423, 257, 374, 67, 86, 2248, 1332, 1760, 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, ...
What is the earliest year where the result of the election was a retired republican hold?
SELECT MIN(first_elected) FROM table_1341472_40 WHERE result = "Retired Republican hold"
[ 2061, 318, 262, 14555, 614, 810, 262, 1255, 286, 262, 3071, 373, 257, 9880, 41477, 1745, 30, 46506, 20625, 7, 11085, 62, 28604, 8, 16034, 3084, 62, 19880, 1415, 4761, 62, 1821, 33411, 1255, 796, 366, 9781, 1202, 3415, 1745, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 810, 262, 1255, 286, 262, 3071, 373, 257, 9880, 41477, 1745, 30, 46506, 20625, 7, 11085, 62, 28604, 8, 16034, 3084, 62, 19880, 1415, 4761, 62, 1821, 33411, 1255, 796, 366, 9781, 1202, 3415, 1745, 1 ]
What is the sum of the races in the 2007 season, which has more than 4 podiums?
SELECT SUM("Races") FROM table_40230 WHERE "Podiums" > '4' AND "Season" = '2007'
[ 2061, 318, 262, 2160, 286, 262, 9558, 287, 262, 4343, 1622, 11, 543, 468, 517, 621, 604, 27941, 82, 30, 46506, 35683, 7203, 49, 2114, 4943, 16034, 3084, 62, 1821, 19214, 33411, 366, 47, 12664, 82, 1, 1875, 705, 19, 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 ]
[ 2061, 318, 262, 2160, 286, 262, 9558, 287, 262, 4343, 1622, 11, 543, 468, 517, 621, 604, 27941, 82, 30, 46506, 35683, 7203, 49, 2114, 4943, 16034, 3084, 62, 1821, 19214, 33411, 366, 47, 12664, 82, 1, 1875, 705, 19, 6, 5357, 366, 1...
List all mbit/s with profiles of 8b.
SELECT max_downstream_throughput___mbit_s__ FROM table_2394927_1 WHERE profile = "8b"
[ 8053, 477, 285, 2545, 14, 82, 351, 16545, 286, 807, 65, 13, 46506, 3509, 62, 2902, 5532, 62, 9579, 1996, 17569, 2022, 270, 62, 82, 834, 16034, 3084, 62, 23516, 2920, 1983, 62, 16, 33411, 7034, 796, 366, 23, 65, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 285, 2545, 14, 82, 351, 16545, 286, 807, 65, 13, 46506, 3509, 62, 2902, 5532, 62, 9579, 1996, 17569, 2022, 270, 62, 82, 834, 16034, 3084, 62, 23516, 2920, 1983, 62, 16, 33411, 7034, 796, 366, 23, 65, 1 ]
The Proto-Germanic origin of /w/ is associated with what Roman entry?
SELECT roman FROM table_name_27 WHERE proto_germanic_origin = "/w/"
[ 464, 45783, 12, 16010, 291, 8159, 286, 1220, 86, 14, 318, 3917, 351, 644, 7993, 5726, 30, 46506, 374, 5185, 16034, 3084, 62, 3672, 62, 1983, 33411, 44876, 62, 1362, 805, 291, 62, 47103, 796, 12813, 86, 30487 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 464, 45783, 12, 16010, 291, 8159, 286, 1220, 86, 14, 318, 3917, 351, 644, 7993, 5726, 30, 46506, 374, 5185, 16034, 3084, 62, 3672, 62, 1983, 33411, 44876, 62, 1362, 805, 291, 62, 47103, 796, 12813, 86, 30487 ]
do you have one to DENVER from PHILADELPHIA
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 = 'PHILADELPHIA' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'D...
[ 4598, 345, 423, 530, 284, 37692, 5959, 422, 9370, 4146, 2885, 3698, 11909, 40, 11159, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 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...
[ 4598, 345, 423, 530, 284, 37692, 5959, 422, 9370, 4146, 2885, 3698, 11909, 40, 11159, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7...
When Alinna D Penta was the cyber girl in week 3, who was the cyber girl in week 1?
SELECT week_1 FROM table_name_69 WHERE week_3 = "alinna d penta"
[ 2215, 978, 259, 2616, 360, 9696, 64, 373, 262, 10075, 2576, 287, 1285, 513, 11, 508, 373, 262, 10075, 2576, 287, 1285, 352, 30, 46506, 1285, 62, 16, 16034, 3084, 62, 3672, 62, 3388, 33411, 1285, 62, 18, 796, 366, 14414, 2616, 288, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 978, 259, 2616, 360, 9696, 64, 373, 262, 10075, 2576, 287, 1285, 513, 11, 508, 373, 262, 10075, 2576, 287, 1285, 352, 30, 46506, 1285, 62, 16, 16034, 3084, 62, 3672, 62, 3388, 33411, 1285, 62, 18, 796, 366, 14414, 2616, 288, ...
Finding your suggested edits and why they were regected.
SELECT Id, CreationDate, ApprovalDate, RejectionDate FROM SuggestedEdits WHERE OwnerUserId = '##UserID##'
[ 36276, 534, 5220, 31671, 290, 1521, 484, 547, 302, 469, 310, 276, 13, 46506, 5121, 11, 21582, 10430, 11, 20010, 2100, 10430, 11, 797, 29192, 10430, 16034, 35042, 276, 7407, 896, 33411, 23853, 12982, 7390, 796, 705, 2235, 12982, 2389, 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 ]
[ 36276, 534, 5220, 31671, 290, 1521, 484, 547, 302, 469, 310, 276, 13, 46506, 5121, 11, 21582, 10430, 11, 20010, 2100, 10430, 11, 797, 29192, 10430, 16034, 35042, 276, 7407, 896, 33411, 23853, 12982, 7390, 796, 705, 2235, 12982, 2389, 22...
What place has Wales as a country?
SELECT place FROM table_name_16 WHERE country = "wales"
[ 2061, 1295, 468, 11769, 355, 257, 1499, 30, 46506, 1295, 16034, 3084, 62, 3672, 62, 1433, 33411, 1499, 796, 366, 86, 2040, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1295, 468, 11769, 355, 257, 1499, 30, 46506, 1295, 16034, 3084, 62, 3672, 62, 1433, 33411, 1499, 796, 366, 86, 2040, 1 ]
when is the first time patient 002-13750 was prescribed a drug in 04/this year?
SELECT medication.drugstarttime FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '002-13750')) AND DATETIME(medication.drugstarttime, 'start of ...
[ 12518, 318, 262, 717, 640, 5827, 3571, 17, 12, 1485, 15426, 373, 14798, 257, 2563, 287, 8702, 14, 5661, 614, 30, 46506, 14103, 13, 30349, 9688, 2435, 16034, 14103, 33411, 14103, 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...
[ 12518, 318, 262, 717, 640, 5827, 3571, 17, 12, 1485, 15426, 373, 14798, 257, 2563, 287, 8702, 14, 5661, 614, 30, 46506, 14103, 13, 30349, 9688, 2435, 16034, 14103, 33411, 14103, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, ...
what was the last drug being prescribed for patient 24971?
SELECT prescriptions.drug FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 24971) ORDER BY prescriptions.startdate DESC LIMIT 1
[ 10919, 373, 262, 938, 2563, 852, 14798, 329, 5827, 34620, 4869, 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, 25349, 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 ]
[ 10919, 373, 262, 938, 2563, 852, 14798, 329, 5827, 34620, 4869, 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, 25349, 13, 32796, 62,...
Who is the coach of the team from Port Pirie?
SELECT "Coach" FROM table_50902 WHERE "Location" = 'port pirie'
[ 8241, 318, 262, 3985, 286, 262, 1074, 422, 4347, 10334, 494, 30, 46506, 366, 40677, 1, 16034, 3084, 62, 29022, 2999, 33411, 366, 14749, 1, 796, 705, 634, 12276, 494, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 318, 262, 3985, 286, 262, 1074, 422, 4347, 10334, 494, 30, 46506, 366, 40677, 1, 16034, 3084, 62, 29022, 2999, 33411, 366, 14749, 1, 796, 705, 634, 12276, 494, 6 ]
is there a history of a microbiology test performed on patient 025-19271 during their last hospital encounter?
SELECT COUNT(*) > 0 FROM microlab WHERE microlab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '025-19271' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hosp...
[ 271, 612, 257, 2106, 286, 257, 24559, 1435, 1332, 6157, 319, 5827, 657, 1495, 12, 1129, 28977, 1141, 511, 938, 4436, 8791, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 4580, 23912, 33411, 4580, 23912, 13, 26029, 20850, 31712, 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...
[ 271, 612, 257, 2106, 286, 257, 24559, 1435, 1332, 6157, 319, 5827, 657, 1495, 12, 1129, 28977, 1141, 511, 938, 4436, 8791, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 4580, 23912, 33411, 4580, 23912, 13, 26029, 20850, 31712, 312,...
What is the highest number of silvers for qatar with under 8 total, 0 golds, and over 2 bronzes?
SELECT MAX(silver) FROM table_name_9 WHERE total < 8 AND gold = 0 AND nation = "qatar" AND bronze > 2
[ 2061, 318, 262, 4511, 1271, 286, 3313, 690, 329, 10662, 9459, 351, 739, 807, 2472, 11, 657, 3869, 82, 11, 290, 625, 362, 18443, 12271, 30, 46506, 25882, 7, 40503, 8, 16034, 3084, 62, 3672, 62, 24, 33411, 2472, 1279, 807, 5357, 3869,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 286, 3313, 690, 329, 10662, 9459, 351, 739, 807, 2472, 11, 657, 3869, 82, 11, 290, 625, 362, 18443, 12271, 30, 46506, 25882, 7, 40503, 8, 16034, 3084, 62, 3672, 62, 24, 33411, 2472, 1279, 807, 5357, 3869,...
For those records from the products and each product's manufacturer, give me the comparison about the sum of revenue over the headquarter , and group by attribute headquarter by a bar chart, display by the x-axis from low to high please.
SELECT Headquarter, SUM(Revenue) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Headquarter ORDER BY Headquarter
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 1577, 502, 262, 7208, 546, 262, 2160, 286, 6426, 625, 262, 1182, 24385, 837, 290, 1448, 416, 11688, 1182, 24385, 416, 257, 2318, 8262, 11, 3359, 416, 262, 2124, 12, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 1577, 502, 262, 7208, 546, 262, 2160, 286, 6426, 625, 262, 1182, 24385, 837, 290, 1448, 416, 11688, 1182, 24385, 416, 257, 2318, 8262, 11, 3359, 416, 262, 2124, 12, 2...
Which LEMA/SUBLEMA has a Ch of Senators of 2?
SELECT lema_sublema FROM table_name_4 WHERE ch_of_senators = "2"
[ 13828, 406, 27630, 14, 50, 10526, 2538, 5673, 468, 257, 609, 286, 22195, 286, 362, 30, 46506, 443, 2611, 62, 7266, 293, 2611, 16034, 3084, 62, 3672, 62, 19, 33411, 442, 62, 1659, 62, 6248, 2024, 796, 366, 17, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 406, 27630, 14, 50, 10526, 2538, 5673, 468, 257, 609, 286, 22195, 286, 362, 30, 46506, 443, 2611, 62, 7266, 293, 2611, 16034, 3084, 62, 3672, 62, 19, 33411, 442, 62, 1659, 62, 6248, 2024, 796, 366, 17, 1 ]
When did Manchester United play against Bristol City with an H/A of A?
SELECT "Date" FROM table_76996 WHERE "H / A" = 'a' AND "Opponents" = 'bristol city'
[ 2215, 750, 9502, 1578, 711, 1028, 25040, 2254, 351, 281, 367, 14, 32, 286, 317, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 4304, 38565, 33411, 366, 39, 1220, 317, 1, 796, 705, 64, 6, 5357, 366, 27524, 3906, 1, 796, 705, 65, 1585, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 750, 9502, 1578, 711, 1028, 25040, 2254, 351, 281, 367, 14, 32, 286, 317, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 4304, 38565, 33411, 366, 39, 1220, 317, 1, 796, 705, 64, 6, 5357, 366, 27524, 3906, 1, 796, 705, 65, 1585, ...
Which AFL team has a pick 4 for the offensive tackle position?
SELECT "AFL Team" FROM table_59608 WHERE "Position" = 'offensive tackle' AND "Pick" = '4'
[ 13828, 25363, 1074, 468, 257, 2298, 604, 329, 262, 5859, 9761, 2292, 30, 46506, 366, 32, 3697, 4816, 1, 16034, 3084, 62, 3270, 28688, 33411, 366, 26545, 1, 796, 705, 45055, 9761, 6, 5357, 366, 31686, 1, 796, 705, 19, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 25363, 1074, 468, 257, 2298, 604, 329, 262, 5859, 9761, 2292, 30, 46506, 366, 32, 3697, 4816, 1, 16034, 3084, 62, 3270, 28688, 33411, 366, 26545, 1, 796, 705, 45055, 9761, 6, 5357, 366, 31686, 1, 796, 705, 19, 6 ]
how many of the patients diagnosed with personal history of traumatic fracture have an unspecified death status?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.expire_flag = "0" AND diagnoses.long_title = "Personal history of traumatic fracture"
[ 4919, 867, 286, 262, 3871, 14641, 351, 2614, 2106, 286, 25115, 31846, 423, 281, 29547, 1918, 3722, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 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...
[ 4919, 867, 286, 262, 3871, 14641, 351, 2614, 2106, 286, 25115, 31846, 423, 281, 29547, 1918, 3722, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728,...
What is the number & name with an Undergoing overhaul, restoration or repairs date?
SELECT "Number & Name" FROM table_58465 WHERE "Date" = 'undergoing overhaul, restoration or repairs'
[ 2061, 318, 262, 1271, 1222, 1438, 351, 281, 4698, 5146, 18708, 11, 19414, 393, 20097, 3128, 30, 46506, 366, 15057, 1222, 6530, 1, 16034, 3084, 62, 3365, 42018, 33411, 366, 10430, 1, 796, 705, 4625, 5146, 18708, 11, 19414, 393, 20097, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1271, 1222, 1438, 351, 281, 4698, 5146, 18708, 11, 19414, 393, 20097, 3128, 30, 46506, 366, 15057, 1222, 6530, 1, 16034, 3084, 62, 3365, 42018, 33411, 366, 10430, 1, 796, 705, 4625, 5146, 18708, 11, 19414, 393, 20097, ...
Which Laps is the highest one that has a Time/Retired of +3.370 secs?
SELECT MAX("Laps") FROM table_37224 WHERE "Time/Retired" = '+3.370 secs'
[ 13828, 406, 1686, 318, 262, 4511, 530, 326, 468, 257, 3862, 14, 9781, 1202, 286, 1343, 18, 13, 20167, 792, 82, 30, 46506, 25882, 7203, 43, 1686, 4943, 16034, 3084, 62, 2718, 24137, 33411, 366, 7575, 14, 9781, 1202, 1, 796, 705, 10, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 406, 1686, 318, 262, 4511, 530, 326, 468, 257, 3862, 14, 9781, 1202, 286, 1343, 18, 13, 20167, 792, 82, 30, 46506, 25882, 7203, 43, 1686, 4943, 16034, 3084, 62, 2718, 24137, 33411, 366, 7575, 14, 9781, 1202, 1, 796, 705, 10, ...
how many days have passed since the admission of patient 012-66291 to the hospital?
SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', patient.hospitaladmittime)) FROM patient WHERE patient.uniquepid = '012-66291' AND patient.hospitaldischargetime IS NULL
[ 4919, 867, 1528, 423, 3804, 1201, 262, 13938, 286, 5827, 5534, 17, 12, 2791, 33551, 284, 262, 4436, 30, 46506, 352, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694, 28955, 532, 19269, 9792, 12789, 10786, 4, 73...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 1528, 423, 3804, 1201, 262, 13938, 286, 5827, 5534, 17, 12, 2791, 33551, 284, 262, 4436, 30, 46506, 352, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694, 28955, 532, 19269, 9792, 12789, 10786, 4, 73...
What was the minimum number for opponents?
SELECT MIN("Opponents") FROM table_26935
[ 2061, 373, 262, 5288, 1271, 329, 7691, 30, 46506, 20625, 7203, 27524, 3906, 4943, 16034, 3084, 62, 26276, 2327 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 5288, 1271, 329, 7691, 30, 46506, 20625, 7203, 27524, 3906, 4943, 16034, 3084, 62, 26276, 2327 ]
Who is Pick #41?
SELECT "Player" FROM table_67086 WHERE "Pick #" = '41'
[ 8241, 318, 12346, 1303, 3901, 30, 46506, 366, 14140, 1, 16034, 3084, 62, 43798, 4521, 33411, 366, 31686, 1303, 1, 796, 705, 3901, 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 ]
[ 8241, 318, 12346, 1303, 3901, 30, 46506, 366, 14140, 1, 16034, 3084, 62, 43798, 4521, 33411, 366, 31686, 1303, 1, 796, 705, 3901, 6 ]
What is the number of minutes when there are more than 4 goals and 3 assists?
SELECT minutes FROM table_name_8 WHERE goals > 4 AND assists = 3
[ 2061, 318, 262, 1271, 286, 2431, 618, 612, 389, 517, 621, 604, 4661, 290, 513, 13648, 30, 46506, 2431, 16034, 3084, 62, 3672, 62, 23, 33411, 4661, 1875, 604, 5357, 13648, 796, 513 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1271, 286, 2431, 618, 612, 389, 517, 621, 604, 4661, 290, 513, 13648, 30, 46506, 2431, 16034, 3084, 62, 3672, 62, 23, 33411, 4661, 1875, 604, 5357, 13648, 796, 513 ]
Where did aaron wagner go to college
SELECT "College" FROM table_23797 WHERE "Player" = 'Aaron Wagner'
[ 8496, 750, 257, 8045, 266, 363, 1008, 467, 284, 4152, 46506, 366, 38951, 1, 16034, 3084, 62, 1954, 44673, 33411, 366, 14140, 1, 796, 705, 34451, 26451, 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 ]
[ 8496, 750, 257, 8045, 266, 363, 1008, 467, 284, 4152, 46506, 366, 38951, 1, 16034, 3084, 62, 1954, 44673, 33411, 366, 14140, 1, 796, 705, 34451, 26451, 6 ]
What's the show that has 60 minutes as the news freq?
SELECT "Show Name" FROM table_13892 WHERE "News Freq" = '60 minutes'
[ 2061, 338, 262, 905, 326, 468, 3126, 2431, 355, 262, 1705, 2030, 80, 30, 46506, 366, 15307, 6530, 1, 16034, 3084, 62, 1485, 4531, 17, 33411, 366, 9980, 4848, 80, 1, 796, 705, 1899, 2431, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 338, 262, 905, 326, 468, 3126, 2431, 355, 262, 1705, 2030, 80, 30, 46506, 366, 15307, 6530, 1, 16034, 3084, 62, 1485, 4531, 17, 33411, 366, 9980, 4848, 80, 1, 796, 705, 1899, 2431, 6 ]
what is minimum age of patients whose ethnicity is black/cape verdean and days of hospital stay is 9?
SELECT MIN(demographic.age) FROM demographic WHERE demographic.ethnicity = "BLACK/CAPE VERDEAN" AND demographic.days_stay = "9"
[ 10919, 318, 5288, 2479, 286, 3871, 3025, 26289, 318, 2042, 14, 36435, 3326, 2934, 272, 290, 1528, 286, 4436, 2652, 318, 860, 30, 46506, 20625, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 38546, 414, 796, 366, 9148, 8120...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5288, 2479, 286, 3871, 3025, 26289, 318, 2042, 14, 36435, 3326, 2934, 272, 290, 1528, 286, 4436, 2652, 318, 860, 30, 46506, 20625, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 38546, 414, 796, 366, 9148, 8120...
What was the date of the Capitals game when Columbus was the home team?
SELECT date FROM table_name_28 WHERE home = "columbus"
[ 2061, 373, 262, 3128, 286, 262, 40707, 983, 618, 14939, 373, 262, 1363, 1074, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 2078, 33411, 1363, 796, 366, 4033, 2178, 385, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 3128, 286, 262, 40707, 983, 618, 14939, 373, 262, 1363, 1074, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 2078, 33411, 1363, 796, 366, 4033, 2178, 385, 1 ]
what were the four most common laboratory tests for patients of age 20s?
SELECT d_labitems.label FROM d_labitems WHERE d_labitems.itemid IN (SELECT t1.itemid FROM (SELECT labevents.itemid, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.age BETWEEN 20 AND 29) GROUP BY labevents.itemid) AS ...
[ 10919, 547, 262, 1440, 749, 2219, 14010, 5254, 329, 3871, 286, 2479, 1160, 82, 30, 46506, 288, 62, 23912, 23814, 13, 18242, 16034, 288, 62, 23912, 23814, 33411, 288, 62, 23912, 23814, 13, 9186, 312, 3268, 357, 46506, 256, 16, 13, 9186...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 547, 262, 1440, 749, 2219, 14010, 5254, 329, 3871, 286, 2479, 1160, 82, 30, 46506, 288, 62, 23912, 23814, 13, 18242, 16034, 288, 62, 23912, 23814, 33411, 288, 62, 23912, 23814, 13, 9186, 312, 3268, 357, 46506, 256, 16, 13, 9186...
What title did the film from Colombia use in its nomination?
SELECT "Film title used in nomination" FROM table_14752 WHERE "Country" = 'colombia'
[ 2061, 3670, 750, 262, 2646, 422, 21291, 779, 287, 663, 11872, 30, 46506, 366, 39750, 3670, 973, 287, 11872, 1, 16034, 3084, 62, 1415, 43665, 33411, 366, 33921, 1, 796, 705, 4033, 2381, 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, 1, 1 ]
[ 2061, 3670, 750, 262, 2646, 422, 21291, 779, 287, 663, 11872, 30, 46506, 366, 39750, 3670, 973, 287, 11872, 1, 16034, 3084, 62, 1415, 43665, 33411, 366, 33921, 1, 796, 705, 4033, 2381, 544, 6 ]
What is the average number of people injured by all perpetrators?
SELECT AVG(Injured) FROM perpetrator
[ 2061, 318, 262, 2811, 1271, 286, 661, 6686, 416, 477, 25185, 30, 46506, 35224, 7, 818, 38608, 8, 16034, 33599 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2811, 1271, 286, 661, 6686, 416, 477, 25185, 30, 46506, 35224, 7, 818, 38608, 8, 16034, 33599 ]
what is the last year listed ?
SELECT "year" FROM table_204_737 ORDER BY id DESC LIMIT 1
[ 10919, 318, 262, 938, 614, 5610, 5633, 46506, 366, 1941, 1, 16034, 3084, 62, 18638, 62, 22, 2718, 38678, 11050, 4686, 22196, 34, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 938, 614, 5610, 5633, 46506, 366, 1941, 1, 16034, 3084, 62, 18638, 62, 22, 2718, 38678, 11050, 4686, 22196, 34, 27564, 2043, 352 ]
For those employees who do not work in departments with managers that have ids between 100 and 200, draw a bar chart about the distribution of first_name and manager_id , I want to rank in asc by the y-axis.
SELECT FIRST_NAME, MANAGER_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY MANAGER_ID
[ 1890, 883, 4409, 508, 466, 407, 670, 287, 13346, 351, 11663, 326, 423, 220, 2340, 1022, 1802, 290, 939, 11, 3197, 257, 2318, 8262, 546, 262, 6082, 286, 717, 62, 3672, 290, 4706, 62, 312, 837, 314, 765, 284, 4279, 287, 10570, 416, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 466, 407, 670, 287, 13346, 351, 11663, 326, 423, 220, 2340, 1022, 1802, 290, 939, 11, 3197, 257, 2318, 8262, 546, 262, 6082, 286, 717, 62, 3672, 290, 4706, 62, 312, 837, 314, 765, 284, 4279, 287, 10570, 416, ...
What is Greg Norman's place?
SELECT place FROM table_name_89 WHERE player = "greg norman"
[ 2061, 318, 8547, 19636, 338, 1295, 30, 46506, 1295, 16034, 3084, 62, 3672, 62, 4531, 33411, 2137, 796, 366, 9903, 2593, 272, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 8547, 19636, 338, 1295, 30, 46506, 1295, 16034, 3084, 62, 3672, 62, 4531, 33411, 2137, 796, 366, 9903, 2593, 272, 1 ]
what is the minimum heartrate of patient 022-89058 since 08/17/2105?
SELECT MIN(vitalperiodic.heartrate) FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '022-89058')) AND NOT vitalperiodic.heartrate IS NULL...
[ 10919, 318, 262, 5288, 2612, 4873, 286, 5827, 657, 1828, 12, 4531, 2713, 23, 1201, 8487, 14, 1558, 14, 17, 13348, 30, 46506, 20625, 7, 85, 1287, 41007, 291, 13, 11499, 4873, 8, 16034, 9204, 41007, 291, 33411, 9204, 41007, 291, 13, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 5288, 2612, 4873, 286, 5827, 657, 1828, 12, 4531, 2713, 23, 1201, 8487, 14, 1558, 14, 17, 13348, 30, 46506, 20625, 7, 85, 1287, 41007, 291, 13, 11499, 4873, 8, 16034, 9204, 41007, 291, 33411, 9204, 41007, 291, 13, 2...
How many items appear in the written by column in episode 3?
SELECT COUNT(written_by) FROM table_27155243_4 WHERE episode__number = 3
[ 2437, 867, 3709, 1656, 287, 262, 3194, 416, 5721, 287, 4471, 513, 30, 46506, 327, 28270, 7, 15266, 62, 1525, 8, 16034, 3084, 62, 1983, 18742, 26660, 62, 19, 33411, 4471, 834, 17618, 796, 513 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 3709, 1656, 287, 262, 3194, 416, 5721, 287, 4471, 513, 30, 46506, 327, 28270, 7, 15266, 62, 1525, 8, 16034, 3084, 62, 1983, 18742, 26660, 62, 19, 33411, 4471, 834, 17618, 796, 513 ]
Name the best actor for uncle boonmee who can recall his past lives
SELECT "Best Actor" FROM table_72658 WHERE "Best Film" = 'Uncle Boonmee Who Can Recall His Past Lives'
[ 5376, 262, 1266, 8674, 329, 7711, 38181, 1326, 68, 508, 460, 10014, 465, 1613, 3160, 46506, 366, 13014, 27274, 1, 16034, 3084, 62, 22, 2075, 3365, 33411, 366, 13014, 13741, 1, 796, 705, 3118, 2375, 347, 2049, 1326, 68, 5338, 1680, 445...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1266, 8674, 329, 7711, 38181, 1326, 68, 508, 460, 10014, 465, 1613, 3160, 46506, 366, 13014, 27274, 1, 16034, 3084, 62, 22, 2075, 3365, 33411, 366, 13014, 13741, 1, 796, 705, 3118, 2375, 347, 2049, 1326, 68, 5338, 1680, 445...