instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
What is the lowest ranking team in Australia?
SELECT MIN("Rank") FROM table_10861 WHERE "Country" = 'australia'
[ 2061, 318, 262, 9016, 12759, 1074, 287, 4505, 30, 46506, 20625, 7203, 27520, 4943, 16034, 3084, 62, 940, 4521, 16, 33411, 366, 33921, 1, 796, 705, 64, 436, 1373, 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 ]
[ 2061, 318, 262, 9016, 12759, 1074, 287, 4505, 30, 46506, 20625, 7203, 27520, 4943, 16034, 3084, 62, 940, 4521, 16, 33411, 366, 33921, 1, 796, 705, 64, 436, 1373, 544, 6 ]
What position went lower than 106 from the College of Virginia?
SELECT "Position" FROM table_70045 WHERE "Overall" < '106' AND "College" = 'virginia'
[ 2061, 2292, 1816, 2793, 621, 15696, 422, 262, 5535, 286, 6025, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 9879, 2231, 33411, 366, 16350, 1, 1279, 705, 15801, 6, 5357, 366, 38951, 1, 796, 705, 85, 4672, 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, 1, 1, 1, 1 ]
[ 2061, 2292, 1816, 2793, 621, 15696, 422, 262, 5535, 286, 6025, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 9879, 2231, 33411, 366, 16350, 1, 1279, 705, 15801, 6, 5357, 366, 38951, 1, 796, 705, 85, 4672, 544, 6 ]
what is the number of times that patient 76327 had had foley today?
SELECT COUNT(*) FROM outputevents WHERE outputevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 76327)) AND outputevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'foley' AND d_items...
[ 10919, 318, 262, 1271, 286, 1661, 326, 5827, 767, 5066, 1983, 550, 550, 11511, 1636, 1909, 30, 46506, 327, 28270, 7, 28104, 16034, 38701, 1133, 85, 658, 33411, 38701, 1133, 85, 658, 13, 291, 436, 323, 62, 312, 3268, 357, 46506, 14158,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1661, 326, 5827, 767, 5066, 1983, 550, 550, 11511, 1636, 1909, 30, 46506, 327, 28270, 7, 28104, 16034, 38701, 1133, 85, 658, 33411, 38701, 1133, 85, 658, 13, 291, 436, 323, 62, 312, 3268, 357, 46506, 14158,...
what km comes after 8.25 , but before
SELECT "km" FROM table_204_498 WHERE id = (SELECT id FROM table_204_498 WHERE "km" = 8.25) + 1
[ 10919, 10571, 2058, 706, 807, 13, 1495, 837, 475, 878, 46506, 366, 13276, 1, 16034, 3084, 62, 18638, 62, 36260, 33411, 4686, 796, 357, 46506, 4686, 16034, 3084, 62, 18638, 62, 36260, 33411, 366, 13276, 1, 796, 807, 13, 1495, 8, 1343, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10571, 2058, 706, 807, 13, 1495, 837, 475, 878, 46506, 366, 13276, 1, 16034, 3084, 62, 18638, 62, 36260, 33411, 4686, 796, 357, 46506, 4686, 16034, 3084, 62, 18638, 62, 36260, 33411, 366, 13276, 1, 796, 807, 13, 1495, 8, 1343, ...
any 2 of the following: waist circumference > 40 inches in male , > 35 inches in female ; triglycerides > 150 mg / dl; high _ density lipoprotein cholesterol ( hdl _ c ) < 40 mg / dl in male , < 50 mg / dl in female ; systolic blood pressure > 130 mm hg or diastolic blood pressure > 85 mm hg.
SELECT * FROM table_dev_49 WHERE (CASE WHEN (waist_circumference > 40 AND gender = 'male') OR (waist_circumference > 35 AND gender = 'female') THEN 1 ELSE 0 END + CASE WHEN triglyceride_tg > 150 THEN 1 ELSE 0 END + CASE WHEN (high_density_lipoprotein_cholesterol_hdl_c < 40 AND gender = 'male') OR (high_density_lipoprot...
[ 1092, 362, 286, 262, 1708, 25, 16139, 38447, 1875, 2319, 8331, 287, 4257, 837, 1875, 3439, 8331, 287, 4048, 2162, 47937, 1460, 1875, 6640, 10527, 1220, 288, 75, 26, 1029, 4808, 12109, 10645, 404, 35574, 18759, 357, 289, 25404, 4808, 269...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1092, 362, 286, 262, 1708, 25, 16139, 38447, 1875, 2319, 8331, 287, 4257, 837, 1875, 3439, 8331, 287, 4048, 2162, 47937, 1460, 1875, 6640, 10527, 1220, 288, 75, 26, 1029, 4808, 12109, 10645, 404, 35574, 18759, 357, 289, 25404, 4808, 269...
how many hours has it been since patient 10624 has been prescribed lidocaine-prilocaine first on the current hospital encounter?
SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', prescriptions.startdate)) FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 10624 AND admissions.dischtime IS NULL) AND prescriptions.drug = 'lidocaine-prilocaine' ORDER BY prescriptions...
[ 4919, 867, 2250, 468, 340, 587, 1201, 5827, 15696, 1731, 468, 587, 14798, 19789, 420, 5718, 12, 1050, 346, 420, 5718, 717, 319, 262, 1459, 4436, 8791, 30, 46506, 1987, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 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...
[ 4919, 867, 2250, 468, 340, 587, 1201, 5827, 15696, 1731, 468, 587, 14798, 19789, 420, 5718, 12, 1050, 346, 420, 5718, 717, 319, 262, 1459, 4436, 8791, 30, 46506, 1987, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62,...
What award was won after 2008?
SELECT award FROM table_name_77 WHERE year > 2008
[ 2061, 5764, 373, 1839, 706, 3648, 30, 46506, 5764, 16034, 3084, 62, 3672, 62, 3324, 33411, 614, 1875, 3648 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 5764, 373, 1839, 706, 3648, 30, 46506, 5764, 16034, 3084, 62, 3672, 62, 3324, 33411, 614, 1875, 3648 ]
for adults: bmi below 18.5
SELECT * FROM table_train_179 WHERE age >= 18 AND body_mass_index_bmi < 18.5
[ 1640, 6490, 25, 275, 11632, 2174, 1248, 13, 20, 46506, 1635, 16034, 3084, 62, 27432, 62, 21738, 33411, 2479, 18189, 1248, 5357, 1767, 62, 22208, 62, 9630, 62, 65, 11632, 1279, 1248, 13, 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 ]
[ 1640, 6490, 25, 275, 11632, 2174, 1248, 13, 20, 46506, 1635, 16034, 3084, 62, 27432, 62, 21738, 33411, 2479, 18189, 1248, 5357, 1767, 62, 22208, 62, 9630, 62, 65, 11632, 1279, 1248, 13, 20 ]
What date shows corrado barazzutti's partner?
SELECT date FROM table_name_99 WHERE partner = "corrado barazzutti"
[ 2061, 3128, 2523, 1162, 81, 4533, 2318, 8101, 15318, 72, 338, 5212, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 2079, 33411, 5212, 796, 366, 10215, 81, 4533, 2318, 8101, 15318, 72, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 3128, 2523, 1162, 81, 4533, 2318, 8101, 15318, 72, 338, 5212, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 2079, 33411, 5212, 796, 366, 10215, 81, 4533, 2318, 8101, 15318, 72, 1 ]
Who had the highest rebounds against detroit?
SELECT "High rebounds" FROM table_42231 WHERE "Team" = 'detroit'
[ 8241, 550, 262, 4511, 18841, 1028, 1062, 7775, 30, 46506, 366, 11922, 18841, 1, 16034, 3084, 62, 44361, 3132, 33411, 366, 15592, 1, 796, 705, 15255, 7775, 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 ]
[ 8241, 550, 262, 4511, 18841, 1028, 1062, 7775, 30, 46506, 366, 11922, 18841, 1, 16034, 3084, 62, 44361, 3132, 33411, 366, 15592, 1, 796, 705, 15255, 7775, 6 ]
What is the average price for each type of product Visualize by bar chart, and could you sort by the X-axis in asc please?
SELECT product_type_code, AVG(product_price) FROM Products GROUP BY product_type_code ORDER BY product_type_code
[ 2061, 318, 262, 2811, 2756, 329, 1123, 2099, 286, 1720, 15612, 1096, 416, 2318, 8262, 11, 290, 714, 345, 3297, 416, 262, 1395, 12, 22704, 287, 10570, 3387, 30, 46506, 1720, 62, 4906, 62, 8189, 11, 35224, 7, 11167, 62, 20888, 8, 1603...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2811, 2756, 329, 1123, 2099, 286, 1720, 15612, 1096, 416, 2318, 8262, 11, 290, 714, 345, 3297, 416, 262, 1395, 12, 22704, 287, 10570, 3387, 30, 46506, 1720, 62, 4906, 62, 8189, 11, 35224, 7, 11167, 62, 20888, 8, 1603...
What is Circuit, when Series is ASTC Round 4?
SELECT circuit FROM table_name_26 WHERE series = "astc round 4"
[ 2061, 318, 13588, 11, 618, 7171, 318, 29273, 34, 10485, 604, 30, 46506, 10349, 16034, 3084, 62, 3672, 62, 2075, 33411, 2168, 796, 366, 459, 66, 2835, 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, 13588, 11, 618, 7171, 318, 29273, 34, 10485, 604, 30, 46506, 10349, 16034, 3084, 62, 3672, 62, 2075, 33411, 2168, 796, 366, 459, 66, 2835, 604, 1 ]
Name the new entries this round for third round
SELECT "New entries this round" FROM table_73077 WHERE "Round" = 'Third round'
[ 5376, 262, 649, 12784, 428, 2835, 329, 2368, 2835, 46506, 366, 3791, 12784, 428, 2835, 1, 16034, 3084, 62, 43916, 3324, 33411, 366, 22685, 1, 796, 705, 22747, 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 ]
[ 5376, 262, 649, 12784, 428, 2835, 329, 2368, 2835, 46506, 366, 3791, 12784, 428, 2835, 1, 16034, 3084, 62, 43916, 3324, 33411, 366, 22685, 1, 796, 705, 22747, 2835, 6 ]
What is To Par, when Money ( $ ) is Playoff, and when Score is 68-73-77-65=283?
SELECT "To par" FROM table_44632 WHERE "Money ( $ )" = 'playoff' AND "Score" = '68-73-77-65=283'
[ 2061, 318, 1675, 2547, 11, 618, 12911, 357, 720, 1267, 318, 41325, 11, 290, 618, 15178, 318, 8257, 12, 4790, 12, 3324, 12, 2996, 28, 30290, 30, 46506, 366, 2514, 1582, 1, 16034, 3084, 62, 27260, 2624, 33411, 366, 26788, 357, 720, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1675, 2547, 11, 618, 12911, 357, 720, 1267, 318, 41325, 11, 290, 618, 15178, 318, 8257, 12, 4790, 12, 3324, 12, 2996, 28, 30290, 30, 46506, 366, 2514, 1582, 1, 16034, 3084, 62, 27260, 2624, 33411, 366, 26788, 357, 720, 12...
Which award show had the category of best supporting actress?
SELECT "Award" FROM table_55135 WHERE "Category" = 'best supporting actress'
[ 13828, 5764, 905, 550, 262, 6536, 286, 1266, 6493, 14549, 30, 46506, 366, 32, 904, 1, 16034, 3084, 62, 2816, 17059, 33411, 366, 27313, 1, 796, 705, 13466, 6493, 14549, 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 ]
[ 13828, 5764, 905, 550, 262, 6536, 286, 1266, 6493, 14549, 30, 46506, 366, 32, 904, 1, 16034, 3084, 62, 2816, 17059, 33411, 366, 27313, 1, 796, 705, 13466, 6493, 14549, 6 ]
What is the total number of medals for West Germany with more than 1 bronze medal and more than 2 gold medals?
SELECT COUNT("Total") FROM table_66480 WHERE "Bronze" > '1' AND "Nation" = 'west germany' AND "Gold" > '2'
[ 2061, 318, 262, 2472, 1271, 286, 28057, 329, 2688, 4486, 351, 517, 621, 352, 22101, 18279, 290, 517, 621, 362, 3869, 28057, 30, 46506, 327, 28270, 7203, 14957, 4943, 16034, 3084, 62, 21, 2414, 1795, 33411, 366, 18760, 2736, 1, 1875, 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 ]
[ 2061, 318, 262, 2472, 1271, 286, 28057, 329, 2688, 4486, 351, 517, 621, 352, 22101, 18279, 290, 517, 621, 362, 3869, 28057, 30, 46506, 327, 28270, 7203, 14957, 4943, 16034, 3084, 62, 21, 2414, 1795, 33411, 366, 18760, 2736, 1, 1875, 7...
What is the tournament on Apr 6?
SELECT "Tournament" FROM table_34699 WHERE "Date" = 'apr 6'
[ 2061, 318, 262, 7756, 319, 2758, 718, 30, 46506, 366, 51, 5138, 1, 16034, 3084, 62, 30557, 2079, 33411, 366, 10430, 1, 796, 705, 499, 81, 718, 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 ]
[ 2061, 318, 262, 7756, 319, 2758, 718, 30, 46506, 366, 51, 5138, 1, 16034, 3084, 62, 30557, 2079, 33411, 366, 10430, 1, 796, 705, 499, 81, 718, 6 ]
What are all the special topics classes next Winter ?
SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN semester ON semester.semester_id = course_offering.semester WHERE (course.number = 398 OR course.number = 498 OR course.number = 598) AND course.department = 'E...
[ 2061, 389, 477, 262, 2041, 10233, 6097, 1306, 10633, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 3268, 21479, 32357, 1268, 1781, 62, 2364, 1586, 6177, 1781, 13, 17319,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 389, 477, 262, 2041, 10233, 6097, 1306, 10633, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 3268, 21479, 32357, 1268, 1781, 62, 2364, 1586, 6177, 1781, 13, 17319,...
papers written by srinivasan iyer
SELECT DISTINCT writes.paperid FROM author, writes WHERE author.authorname = 'srinivasan iyer' AND writes.authorid = author.authorid
[ 40491, 3194, 416, 264, 12769, 38630, 272, 1312, 9860, 46506, 360, 8808, 1268, 4177, 6797, 13, 20189, 312, 16034, 1772, 11, 6797, 33411, 1772, 13, 18439, 1211, 480, 796, 705, 82, 12769, 38630, 272, 1312, 9860, 6, 5357, 6797, 13, 9800, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 40491, 3194, 416, 264, 12769, 38630, 272, 1312, 9860, 46506, 360, 8808, 1268, 4177, 6797, 13, 20189, 312, 16034, 1772, 11, 6797, 33411, 1772, 13, 18439, 1211, 480, 796, 705, 82, 12769, 38630, 272, 1312, 9860, 6, 5357, 6797, 13, 9800, ...
What are the best NLP conferences ?
SELECT DISTINCT COUNT(DISTINCT cite.citingpaperid), paper.venueid FROM cite, keyphrase, paper, paperkeyphrase WHERE keyphrase.keyphrasename = 'NLP' AND paperkeyphrase.keyphraseid = keyphrase.keyphraseid AND paper.paperid = cite.citedpaperid AND paper.paperid = paperkeyphrase.paperid GROUP BY paper.venueid ORDER BY COUN...
[ 2061, 389, 262, 1266, 399, 19930, 19993, 5633, 46506, 360, 8808, 1268, 4177, 327, 28270, 7, 35, 8808, 1268, 4177, 21729, 13, 66, 1780, 20189, 312, 828, 3348, 13, 4080, 312, 16034, 21729, 11, 1994, 34675, 11, 3348, 11, 3348, 2539, 3467...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1266, 399, 19930, 19993, 5633, 46506, 360, 8808, 1268, 4177, 327, 28270, 7, 35, 8808, 1268, 4177, 21729, 13, 66, 1780, 20189, 312, 828, 3348, 13, 4080, 312, 16034, 21729, 11, 1994, 34675, 11, 3348, 11, 3348, 2539, 3467...
What is the lowest Title Playoff, when Total is less than 3, and when League is greater than '2'?
SELECT MIN(title_playoff) FROM table_name_93 WHERE total < 3 AND league > 2
[ 2061, 318, 262, 9016, 11851, 41325, 11, 618, 7472, 318, 1342, 621, 513, 11, 290, 618, 4041, 318, 3744, 621, 705, 17, 30960, 46506, 20625, 7, 7839, 62, 1759, 2364, 8, 16034, 3084, 62, 3672, 62, 6052, 33411, 2472, 1279, 513, 5357, 465...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11851, 41325, 11, 618, 7472, 318, 1342, 621, 513, 11, 290, 618, 4041, 318, 3744, 621, 705, 17, 30960, 46506, 20625, 7, 7839, 62, 1759, 2364, 8, 16034, 3084, 62, 3672, 62, 6052, 33411, 2472, 1279, 513, 5357, 465...
What are the dates in which the mean sea level pressure was between 303 and 31, and count them by a line chart, list from low to high by the date.
SELECT date, COUNT(date) FROM weather WHERE mean_sea_level_pressure_inches BETWEEN 30.3 AND 31 GROUP BY date ORDER BY date
[ 2061, 389, 262, 9667, 287, 543, 262, 1612, 5417, 1241, 3833, 373, 1022, 30727, 290, 3261, 11, 290, 954, 606, 416, 257, 1627, 8262, 11, 1351, 422, 1877, 284, 1029, 416, 262, 3128, 13, 46506, 3128, 11, 327, 28270, 7, 4475, 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...
[ 2061, 389, 262, 9667, 287, 543, 262, 1612, 5417, 1241, 3833, 373, 1022, 30727, 290, 3261, 11, 290, 954, 606, 416, 257, 1627, 8262, 11, 1351, 422, 1877, 284, 1029, 416, 262, 3128, 13, 46506, 3128, 11, 327, 28270, 7, 4475, 8, 16034, ...
What is the Championship Game when the Final Four is 1 and the conference is American South?
SELECT "Championship Game" FROM table_32438 WHERE "Final Four" = '1' AND "Conference" = 'american south'
[ 2061, 318, 262, 10749, 3776, 618, 262, 8125, 6675, 318, 352, 290, 262, 4495, 318, 1605, 2520, 30, 46506, 366, 1925, 4350, 1056, 3776, 1, 16034, 3084, 62, 33916, 2548, 33411, 366, 19006, 6675, 1, 796, 705, 16, 6, 5357, 366, 3103, 428...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10749, 3776, 618, 262, 8125, 6675, 318, 352, 290, 262, 4495, 318, 1605, 2520, 30, 46506, 366, 1925, 4350, 1056, 3776, 1, 16034, 3084, 62, 33916, 2548, 33411, 366, 19006, 6675, 1, 796, 705, 16, 6, 5357, 366, 3103, 428...
Is the subject id 74032 married, find his religion ?
SELECT demographic.marital_status, demographic.religion FROM demographic WHERE demographic.subject_id = "74032"
[ 3792, 262, 2426, 4686, 767, 1821, 2624, 6405, 11, 1064, 465, 5737, 5633, 46506, 16728, 13, 3876, 1287, 62, 13376, 11, 16728, 13, 2411, 17035, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 45598, 2624, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 3792, 262, 2426, 4686, 767, 1821, 2624, 6405, 11, 1064, 465, 5737, 5633, 46506, 16728, 13, 3876, 1287, 62, 13376, 11, 16728, 13, 2411, 17035, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 45598, 2624, 1 ]
How many times was something listed under content when the television was R-light?
SELECT COUNT("Content") FROM table_20383 WHERE "Television service" = 'R-LIGHT'
[ 2437, 867, 1661, 373, 1223, 5610, 739, 2695, 618, 262, 5581, 373, 371, 12, 2971, 30, 46506, 327, 28270, 7203, 19746, 4943, 16034, 3084, 62, 1238, 34741, 33411, 366, 6767, 5024, 2139, 1, 796, 705, 49, 12, 43, 9947, 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 ]
[ 2437, 867, 1661, 373, 1223, 5610, 739, 2695, 618, 262, 5581, 373, 371, 12, 2971, 30, 46506, 327, 28270, 7203, 19746, 4943, 16034, 3084, 62, 1238, 34741, 33411, 366, 6767, 5024, 2139, 1, 796, 705, 49, 12, 43, 9947, 6 ]
Name the film title for okkar milli: hita og unga dagsins
SELECT film_title_used_in_nomination FROM table_name_98 WHERE original_name = "okkar á milli: í hita og þunga dagsins"
[ 5376, 262, 2646, 3670, 329, 12876, 21070, 3939, 72, 25, 2277, 64, 267, 70, 555, 4908, 288, 3775, 1040, 46506, 2646, 62, 7839, 62, 1484, 62, 259, 62, 26601, 1883, 16034, 3084, 62, 3672, 62, 4089, 33411, 2656, 62, 3672, 796, 366, 482,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2646, 3670, 329, 12876, 21070, 3939, 72, 25, 2277, 64, 267, 70, 555, 4908, 288, 3775, 1040, 46506, 2646, 62, 7839, 62, 1484, 62, 259, 62, 26601, 1883, 16034, 3084, 62, 3672, 62, 4089, 33411, 2656, 62, 3672, 796, 366, 482,...
What was the maximum rank of the source with renewable percentage w/o hydro is 2.17%?
SELECT MAX("Rank") FROM table_27478 WHERE "% Renewable w/o Hydro" = '2.17%'
[ 2061, 373, 262, 5415, 4279, 286, 262, 2723, 351, 15713, 5873, 266, 14, 78, 17173, 318, 362, 13, 1558, 4, 30, 46506, 25882, 7203, 27520, 4943, 16034, 3084, 62, 1983, 29059, 33411, 36521, 29479, 540, 266, 14, 78, 32116, 1, 796, 705, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 5415, 4279, 286, 262, 2723, 351, 15713, 5873, 266, 14, 78, 17173, 318, 362, 13, 1558, 4, 30, 46506, 25882, 7203, 27520, 4943, 16034, 3084, 62, 1983, 29059, 33411, 36521, 29479, 540, 266, 14, 78, 32116, 1, 796, 705, 1...
On what date was the first match for the competition that ended its last match on December 16, 2007?
SELECT "First Match" FROM table_69629 WHERE "Last Match" = 'december 16, 2007'
[ 2202, 644, 3128, 373, 262, 717, 2872, 329, 262, 5449, 326, 4444, 663, 938, 2872, 319, 3426, 1467, 11, 4343, 30, 46506, 366, 5962, 13225, 1, 16034, 3084, 62, 38205, 1959, 33411, 366, 5956, 13225, 1, 796, 705, 2934, 3273, 1467, 11, 43...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2202, 644, 3128, 373, 262, 717, 2872, 329, 262, 5449, 326, 4444, 663, 938, 2872, 319, 3426, 1467, 11, 4343, 30, 46506, 366, 5962, 13225, 1, 16034, 3084, 62, 38205, 1959, 33411, 366, 5956, 13225, 1, 796, 705, 2934, 3273, 1467, 11, 43...
What day(s) did the team play indiana?
SELECT date FROM table_17340355_7 WHERE team = "Indiana"
[ 2061, 1110, 7, 82, 8, 750, 262, 1074, 711, 773, 7484, 30, 46506, 3128, 16034, 3084, 62, 1558, 23601, 28567, 62, 22, 33411, 1074, 796, 366, 49153, 1 ]
[ 1, 1, 1, 1, 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, 1110, 7, 82, 8, 750, 262, 1074, 711, 773, 7484, 30, 46506, 3128, 16034, 3084, 62, 1558, 23601, 28567, 62, 22, 33411, 1074, 796, 366, 49153, 1 ]
What is Package/Option, when Content is Poker?
SELECT package_option FROM table_name_3 WHERE content = "poker"
[ 2061, 318, 15717, 14, 19722, 11, 618, 14041, 318, 36157, 30, 46506, 5301, 62, 18076, 16034, 3084, 62, 3672, 62, 18, 33411, 2695, 796, 366, 79, 11020, 1 ]
[ 1, 1, 1, 1, 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, 15717, 14, 19722, 11, 618, 14041, 318, 36157, 30, 46506, 5301, 62, 18076, 16034, 3084, 62, 3672, 62, 18, 33411, 2695, 796, 366, 79, 11020, 1 ]
How many million viewers watched episode 6?
SELECT "Viewers (millions)" FROM table_72940 WHERE "No. in season" = '6'
[ 2437, 867, 1510, 10209, 7342, 4471, 718, 30, 46506, 366, 7680, 364, 357, 17805, 507, 16725, 16034, 3084, 62, 48555, 1821, 33411, 366, 2949, 13, 287, 1622, 1, 796, 705, 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 ]
[ 2437, 867, 1510, 10209, 7342, 4471, 718, 30, 46506, 366, 7680, 364, 357, 17805, 507, 16725, 16034, 3084, 62, 48555, 1821, 33411, 366, 2949, 13, 287, 1622, 1, 796, 705, 21, 6 ]
what is the total amount of pe 24 fs po delivered until 907 days ago to patient 32168?
SELECT SUM(inputevents_cv.amount) FROM inputevents_cv WHERE inputevents_cv.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 32168)) AND inputevents_cv.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.lab...
[ 10919, 318, 262, 2472, 2033, 286, 613, 1987, 43458, 745, 6793, 1566, 860, 2998, 1528, 2084, 284, 5827, 3933, 14656, 30, 46506, 35683, 7, 259, 79, 1133, 85, 658, 62, 33967, 13, 17287, 8, 16034, 287, 79, 1133, 85, 658, 62, 33967, 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, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 2472, 2033, 286, 613, 1987, 43458, 745, 6793, 1566, 860, 2998, 1528, 2084, 284, 5827, 3933, 14656, 30, 46506, 35683, 7, 259, 79, 1133, 85, 658, 62, 33967, 13, 17287, 8, 16034, 287, 79, 1133, 85, 658, 62, 33967, 3341...
Name the driver for Laps less than 9 and a grid of 13
SELECT "Driver" FROM table_52277 WHERE "Laps" < '9' AND "Grid" = '13'
[ 5376, 262, 4639, 329, 406, 1686, 1342, 621, 860, 290, 257, 10706, 286, 1511, 46506, 366, 32103, 1, 16034, 3084, 62, 49542, 3324, 33411, 366, 43, 1686, 1, 1279, 705, 24, 6, 5357, 366, 41339, 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, 1, 1, 1, 1, 1 ]
[ 5376, 262, 4639, 329, 406, 1686, 1342, 621, 860, 290, 257, 10706, 286, 1511, 46506, 366, 32103, 1, 16034, 3084, 62, 49542, 3324, 33411, 366, 43, 1686, 1, 1279, 705, 24, 6, 5357, 366, 41339, 1, 796, 705, 1485, 6 ]
What is the name of the song that was released most recently?
SELECT song_name, releasedate FROM song ORDER BY releasedate DESC LIMIT 1
[ 2061, 318, 262, 1438, 286, 262, 3496, 326, 373, 2716, 749, 2904, 30, 46506, 3496, 62, 3672, 11, 2716, 378, 16034, 3496, 38678, 11050, 2716, 378, 22196, 34, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1438, 286, 262, 3496, 326, 373, 2716, 749, 2904, 30, 46506, 3496, 62, 3672, 11, 2716, 378, 16034, 3496, 38678, 11050, 2716, 378, 22196, 34, 27564, 2043, 352 ]
Which final has rank of 10?
SELECT "Final" FROM table_47596 WHERE "Rank" = '10'
[ 13828, 2457, 468, 4279, 286, 838, 30, 46506, 366, 19006, 1, 16034, 3084, 62, 32576, 4846, 33411, 366, 27520, 1, 796, 705, 940, 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 ]
[ 13828, 2457, 468, 4279, 286, 838, 30, 46506, 366, 19006, 1, 16034, 3084, 62, 32576, 4846, 33411, 366, 27520, 1, 796, 705, 940, 6 ]
how many patients in 2105 have undergone packed cell transfusion in the same month following the first hemodialysis?
SELECT COUNT(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, procedures_icd.charttime FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'hemodialysi...
[ 4919, 867, 3871, 287, 362, 13348, 423, 29900, 11856, 2685, 13501, 4241, 287, 262, 976, 1227, 1708, 262, 717, 339, 4666, 498, 3097, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 32796, 62, 312, 8, 16034, 357, 46506, 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...
[ 4919, 867, 3871, 287, 362, 13348, 423, 29900, 11856, 2685, 13501, 4241, 287, 262, 976, 1227, 1708, 262, 717, 339, 4666, 498, 3097, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 32796, 62, 312, 8, 16034, 357, 46506, 25...
what are the classes of service for CO
SELECT DISTINCT class_of_service.booking_class FROM class_of_service, fare, fare_basis, flight, flight_fare WHERE fare_basis.booking_class = class_of_service.booking_class AND fare.fare_basis_code = fare_basis.fare_basis_code AND flight_fare.fare_id = fare.fare_id AND flight.airline_code = 'CO' AND flight.flight_id = f...
[ 10919, 389, 262, 6097, 286, 2139, 329, 327, 14058, 16779, 360, 8808, 1268, 4177, 1398, 62, 1659, 62, 15271, 13, 2070, 278, 62, 4871, 16034, 1398, 62, 1659, 62, 15271, 11, 14505, 11, 14505, 62, 12093, 271, 11, 5474, 11, 5474, 62, 949...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6097, 286, 2139, 329, 327, 14058, 16779, 360, 8808, 1268, 4177, 1398, 62, 1659, 62, 15271, 13, 2070, 278, 62, 4871, 16034, 1398, 62, 1659, 62, 15271, 11, 14505, 11, 14505, 62, 12093, 271, 11, 5474, 11, 5474, 62, 949...
Closed Questions By GTE ViewCount.
SELECT COUNT(*) AS TotalCount FROM Posts WHERE NOT ClosedDate IS NULL AND PostTypeId = 1 AND CreationDate >= '##startdate:string##' AND ViewCount >= '##viewcount:int##'
[ 2601, 1335, 20396, 2750, 7963, 36, 3582, 12332, 13, 46506, 327, 28270, 7, 28104, 7054, 7472, 12332, 16034, 12043, 33411, 5626, 30550, 10430, 3180, 15697, 5357, 2947, 6030, 7390, 796, 352, 5357, 21582, 10430, 18189, 705, 2235, 9688, 4475, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2601, 1335, 20396, 2750, 7963, 36, 3582, 12332, 13, 46506, 327, 28270, 7, 28104, 7054, 7472, 12332, 16034, 12043, 33411, 5626, 30550, 10430, 3180, 15697, 5357, 2947, 6030, 7390, 796, 352, 5357, 21582, 10430, 18189, 705, 2235, 9688, 4475, ...
when they visited the hospital last time what was the first dose of requip xl prescribed to patient 1912?
SELECT prescriptions.dose_val_rx FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 1912 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime DESC LIMIT 1) AND prescriptions.drug = 'requip xl' ORDER BY prescriptions.startdate LIMIT 1
[ 12518, 484, 8672, 262, 4436, 938, 640, 644, 373, 262, 717, 10742, 286, 1038, 541, 2124, 75, 14798, 284, 5827, 34463, 30, 46506, 34092, 13, 34436, 62, 2100, 62, 40914, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 4650...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 484, 8672, 262, 4436, 938, 640, 644, 373, 262, 717, 10742, 286, 1038, 541, 2124, 75, 14798, 284, 5827, 34463, 30, 46506, 34092, 13, 34436, 62, 2100, 62, 40914, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 4650...
What year did player steve jones, who had a t60 finish, win?
SELECT year_s__won FROM table_name_53 WHERE finish = "t60" AND player = "steve jones"
[ 2061, 614, 750, 2137, 2876, 303, 474, 1952, 11, 508, 550, 257, 256, 1899, 5461, 11, 1592, 30, 46506, 614, 62, 82, 834, 26502, 16034, 3084, 62, 3672, 62, 4310, 33411, 5461, 796, 366, 83, 1899, 1, 5357, 2137, 796, 366, 4169, 303, 47...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 750, 2137, 2876, 303, 474, 1952, 11, 508, 550, 257, 256, 1899, 5461, 11, 1592, 30, 46506, 614, 62, 82, 834, 26502, 16034, 3084, 62, 3672, 62, 4310, 33411, 5461, 796, 366, 83, 1899, 1, 5357, 2137, 796, 366, 4169, 303, 47...
How tall was the member of Nymburk, who was born in 1982?
SELECT MAX("Height") FROM table_68132 WHERE "Year born" = '1982' AND "Current Club" = 'nymburk'
[ 2437, 7331, 373, 262, 2888, 286, 17735, 2022, 333, 74, 11, 508, 373, 4642, 287, 14489, 30, 46506, 25882, 7203, 23106, 4943, 16034, 3084, 62, 3104, 19924, 33411, 366, 17688, 4642, 1, 796, 705, 30763, 6, 5357, 366, 11297, 6289, 1, 796, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 7331, 373, 262, 2888, 286, 17735, 2022, 333, 74, 11, 508, 373, 4642, 287, 14489, 30, 46506, 25882, 7203, 23106, 4943, 16034, 3084, 62, 3104, 19924, 33411, 366, 17688, 4642, 1, 796, 705, 30763, 6, 5357, 366, 11297, 6289, 1, 796, ...
what is the elevation of south america?
SELECT elevation_ft FROM table_27435931_1 WHERE continent = "South America"
[ 10919, 318, 262, 22910, 286, 5366, 45630, 64, 30, 46506, 22910, 62, 701, 16034, 3084, 62, 28857, 30743, 3132, 62, 16, 33411, 15549, 796, 366, 14942, 2253, 1 ]
[ 1, 1, 1, 1, 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, 22910, 286, 5366, 45630, 64, 30, 46506, 22910, 62, 701, 16034, 3084, 62, 28857, 30743, 3132, 62, 16, 33411, 15549, 796, 366, 14942, 2253, 1 ]
What date did Footscray play at home?
SELECT "Date" FROM table_52476 WHERE "Home team" = 'footscray'
[ 2061, 3128, 750, 7870, 1416, 2433, 711, 379, 1363, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 48057, 4304, 33411, 366, 16060, 1074, 1, 796, 705, 5898, 1416, 2433, 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, 3128, 750, 7870, 1416, 2433, 711, 379, 1363, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 48057, 4304, 33411, 366, 16060, 1074, 1, 796, 705, 5898, 1416, 2433, 6 ]
when was subject id 85673 admitted and what is his admission location?
SELECT demographic.admission_location, demographic.admittime FROM demographic WHERE demographic.subject_id = "85673"
[ 12518, 373, 2426, 4686, 7600, 45758, 6848, 290, 644, 318, 465, 13938, 4067, 30, 46506, 16728, 13, 324, 3411, 62, 24886, 11, 16728, 13, 324, 20124, 524, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 5332, 45758, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 12518, 373, 2426, 4686, 7600, 45758, 6848, 290, 644, 318, 465, 13938, 4067, 30, 46506, 16728, 13, 324, 3411, 62, 24886, 11, 16728, 13, 324, 20124, 524, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 5332, 45758, 1 ]
Which department has a small of 11370?
SELECT department FROM table_21249915_1 WHERE small__100ha_ = 11370
[ 13828, 5011, 468, 257, 1402, 286, 17318, 2154, 30, 46506, 5011, 16034, 3084, 62, 17, 17464, 2079, 1314, 62, 16, 33411, 1402, 834, 3064, 3099, 62, 796, 17318, 2154 ]
[ 1, 1, 1, 1, 1, 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, 5011, 468, 257, 1402, 286, 17318, 2154, 30, 46506, 5011, 16034, 3084, 62, 17, 17464, 2079, 1314, 62, 16, 33411, 1402, 834, 3064, 3099, 62, 796, 17318, 2154 ]
who wrote the most ACL papers in 2010
SELECT DISTINCT COUNT(paper.paperid), writes.authorid FROM paper, venue, writes WHERE paper.year = 2010 AND venue.venueid = paper.venueid AND venue.venuename = 'ACL' AND writes.paperid = paper.paperid GROUP BY writes.authorid ORDER BY COUNT(paper.paperid) DESC
[ 8727, 2630, 262, 749, 17382, 9473, 287, 3050, 46506, 360, 8808, 1268, 4177, 327, 28270, 7, 20189, 13, 20189, 312, 828, 6797, 13, 9800, 312, 16034, 3348, 11, 14359, 11, 6797, 33411, 3348, 13, 1941, 796, 3050, 5357, 14359, 13, 4080, 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...
[ 8727, 2630, 262, 749, 17382, 9473, 287, 3050, 46506, 360, 8808, 1268, 4177, 327, 28270, 7, 20189, 13, 20189, 312, 828, 6797, 13, 9800, 312, 16034, 3348, 11, 14359, 11, 6797, 33411, 3348, 13, 1941, 796, 3050, 5357, 14359, 13, 4080, 312...
Show cinema name, film title, date, and price for each record in schedule.
SELECT T3.name, T2.title, T1.date, T1.price FROM schedule AS T1 JOIN film AS T2 ON T1.film_id = T2.film_id JOIN cinema AS T3 ON T1.cinema_id = T3.cinema_id
[ 15307, 22041, 1438, 11, 2646, 3670, 11, 3128, 11, 290, 2756, 329, 1123, 1700, 287, 7269, 13, 46506, 309, 18, 13, 3672, 11, 309, 17, 13, 7839, 11, 309, 16, 13, 4475, 11, 309, 16, 13, 20888, 16034, 7269, 7054, 309, 16, 32357, 1268, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 15307, 22041, 1438, 11, 2646, 3670, 11, 3128, 11, 290, 2756, 329, 1123, 1700, 287, 7269, 13, 46506, 309, 18, 13, 3672, 11, 309, 17, 13, 7839, 11, 309, 16, 13, 4475, 11, 309, 16, 13, 20888, 16034, 7269, 7054, 309, 16, 32357, 1268, ...
What's the points classification of Stage 18 when the general classification was Denis Menchov?
SELECT "Points classification" FROM table_13641 WHERE "General classification" = 'denis menchov' AND "Stage" = '18'
[ 2061, 338, 262, 2173, 17923, 286, 15371, 1248, 618, 262, 2276, 17923, 373, 33089, 6065, 354, 709, 30, 46506, 366, 40710, 17923, 1, 16034, 3084, 62, 1485, 42759, 33411, 366, 12218, 17923, 1, 796, 705, 6559, 271, 1450, 354, 709, 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 ]
[ 2061, 338, 262, 2173, 17923, 286, 15371, 1248, 618, 262, 2276, 17923, 373, 33089, 6065, 354, 709, 30, 46506, 366, 40710, 17923, 1, 16034, 3084, 62, 1485, 42759, 33411, 366, 12218, 17923, 1, 796, 705, 6559, 271, 1450, 354, 709, 6, 5357...
For those records from the products and each product's manufacturer, draw a bar chart about the distribution of name and the sum of code , and group by attribute name, could you list by the y axis in desc?
SELECT T2.Name, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name ORDER BY T1.Code DESC
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 3197, 257, 2318, 8262, 546, 262, 6082, 286, 1438, 290, 262, 2160, 286, 2438, 837, 290, 1448, 416, 11688, 1438, 11, 714, 345, 1351, 416, 262, 331, 16488, 287, 1715, 30...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 3197, 257, 2318, 8262, 546, 262, 6082, 286, 1438, 290, 262, 2160, 286, 2438, 837, 290, 1448, 416, 11688, 1438, 11, 714, 345, 1351, 416, 262, 331, 16488, 287, 1715, 30...
What is Effect, when Weapon is '35mm/Small arms fire'?
SELECT "Effect" FROM table_43966 WHERE "Weapon" = '35mm/small arms fire'
[ 2061, 318, 7896, 11, 618, 13072, 318, 705, 2327, 3020, 14, 18712, 5101, 2046, 30960, 46506, 366, 18610, 1, 16034, 3084, 62, 47106, 2791, 33411, 366, 27632, 1, 796, 705, 2327, 3020, 14, 17470, 5101, 2046, 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, 7896, 11, 618, 13072, 318, 705, 2327, 3020, 14, 18712, 5101, 2046, 30960, 46506, 366, 18610, 1, 16034, 3084, 62, 47106, 2791, 33411, 366, 27632, 1, 796, 705, 2327, 3020, 14, 17470, 5101, 2046, 6 ]
What driver has 22 as nor 1?
SELECT driver FROM table_name_85 WHERE nor_1 = "22"
[ 2061, 4639, 468, 2534, 355, 4249, 352, 30, 46506, 4639, 16034, 3084, 62, 3672, 62, 5332, 33411, 4249, 62, 16, 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 ]
[ 2061, 4639, 468, 2534, 355, 4249, 352, 30, 46506, 4639, 16034, 3084, 62, 3672, 62, 5332, 33411, 4249, 62, 16, 796, 366, 1828, 1 ]
get the number of patients who suffered from pneumonia primary disease and were never hospitalized.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "PNEUMONIA" AND demographic.days_stay > "0"
[ 1136, 262, 1271, 286, 3871, 508, 6989, 422, 35647, 4165, 4369, 290, 547, 1239, 31736, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 47356, 5958, 796, 366, 47, 12161, 5883...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1136, 262, 1271, 286, 3871, 508, 6989, 422, 35647, 4165, 4369, 290, 547, 1239, 31736, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 47356, 5958, 796, 366, 47, 12161, 5883...
What year was the match against filippo volandri where xavier malisse was runner-up?
SELECT year FROM table_name_39 WHERE outcome = "runner-up" AND opponent = "filippo volandri"
[ 2061, 614, 373, 262, 2872, 1028, 1226, 3974, 78, 2322, 392, 380, 810, 2124, 19492, 6428, 20782, 373, 17490, 12, 929, 30, 46506, 614, 16034, 3084, 62, 3672, 62, 2670, 33411, 8055, 796, 366, 16737, 12, 929, 1, 5357, 6125, 796, 366, 69...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 373, 262, 2872, 1028, 1226, 3974, 78, 2322, 392, 380, 810, 2124, 19492, 6428, 20782, 373, 17490, 12, 929, 30, 46506, 614, 16034, 3084, 62, 3672, 62, 2670, 33411, 8055, 796, 366, 16737, 12, 929, 1, 5357, 6125, 796, 366, 69...
What is High Assists, when High Points is 'Tayshaun Prince (23)'?
SELECT "High assists" FROM table_50501 WHERE "High points" = 'tayshaun prince (23)'
[ 2061, 318, 3334, 2195, 1023, 11, 618, 3334, 11045, 318, 705, 51, 592, 71, 1942, 9005, 357, 1954, 8, 30960, 46506, 366, 11922, 13648, 1, 16034, 3084, 62, 31654, 486, 33411, 366, 11922, 2173, 1, 796, 705, 83, 592, 71, 1942, 19716, 357...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 3334, 2195, 1023, 11, 618, 3334, 11045, 318, 705, 51, 592, 71, 1942, 9005, 357, 1954, 8, 30960, 46506, 366, 11922, 13648, 1, 16034, 3084, 62, 31654, 486, 33411, 366, 11922, 2173, 1, 796, 705, 83, 592, 71, 1942, 19716, 357...
What is the highest Year, when Finish is '51', and when Start is less than 64?
SELECT MAX(year) FROM table_name_29 WHERE finish = 51 AND start < 64
[ 2061, 318, 262, 4511, 6280, 11, 618, 32585, 318, 705, 4349, 3256, 290, 618, 7253, 318, 1342, 621, 5598, 30, 46506, 25882, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 1959, 33411, 5461, 796, 6885, 5357, 923, 1279, 5598 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6280, 11, 618, 32585, 318, 705, 4349, 3256, 290, 618, 7253, 318, 1342, 621, 5598, 30, 46506, 25882, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 1959, 33411, 5461, 796, 6885, 5357, 923, 1279, 5598 ]
Please tell me how many employees in the department 80 on each type of job titles using a bar chart.
SELECT JOB_TITLE, COUNT(JOB_TITLE) FROM employees AS T1 JOIN jobs AS T2 ON T1.JOB_ID = T2.JOB_ID WHERE T1.DEPARTMENT_ID = 80 GROUP BY JOB_TITLE
[ 5492, 1560, 502, 703, 867, 4409, 287, 262, 5011, 4019, 319, 1123, 2099, 286, 1693, 8714, 1262, 257, 2318, 8262, 13, 46506, 449, 9864, 62, 49560, 2538, 11, 327, 28270, 7, 41, 9864, 62, 49560, 2538, 8, 16034, 4409, 7054, 309, 16, 3235...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 5492, 1560, 502, 703, 867, 4409, 287, 262, 5011, 4019, 319, 1123, 2099, 286, 1693, 8714, 1262, 257, 2318, 8262, 13, 46506, 449, 9864, 62, 49560, 2538, 11, 327, 28270, 7, 41, 9864, 62, 49560, 2538, 8, 16034, 4409, 7054, 309, 16, 3235...
name the type of drug taken by patient with patient id 24425.
SELECT prescriptions.drug_type FROM prescriptions WHERE prescriptions.subject_id = "24425"
[ 3672, 262, 2099, 286, 2563, 2077, 416, 5827, 351, 5827, 4686, 1987, 32114, 13, 46506, 34092, 13, 30349, 62, 4906, 16034, 34092, 33411, 34092, 13, 32796, 62, 312, 796, 366, 25707, 1495, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 3672, 262, 2099, 286, 2563, 2077, 416, 5827, 351, 5827, 4686, 1987, 32114, 13, 46506, 34092, 13, 30349, 62, 4906, 16034, 34092, 33411, 34092, 13, 32796, 62, 312, 796, 366, 25707, 1495, 1 ]
what was the total number of people who attended the first game of the season ?
SELECT "attendance" FROM table_204_22 ORDER BY "date" LIMIT 1
[ 10919, 373, 262, 2472, 1271, 286, 661, 508, 9141, 262, 717, 983, 286, 262, 1622, 5633, 46506, 366, 1078, 437, 590, 1, 16034, 3084, 62, 18638, 62, 1828, 38678, 11050, 366, 4475, 1, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 373, 262, 2472, 1271, 286, 661, 508, 9141, 262, 717, 983, 286, 262, 1622, 5633, 46506, 366, 1078, 437, 590, 1, 16034, 3084, 62, 18638, 62, 1828, 38678, 11050, 366, 4475, 1, 27564, 2043, 352 ]
What is the method of resolution for the fight against akihiro gono?
SELECT "Method" FROM table_45147 WHERE "Opponent" = 'akihiro gono'
[ 2061, 318, 262, 2446, 286, 6323, 329, 262, 1907, 1028, 257, 4106, 49907, 308, 29941, 30, 46506, 366, 17410, 1, 16034, 3084, 62, 2231, 20198, 33411, 366, 27524, 3471, 1, 796, 705, 461, 4449, 7058, 308, 29941, 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, 2446, 286, 6323, 329, 262, 1907, 1028, 257, 4106, 49907, 308, 29941, 30, 46506, 366, 17410, 1, 16034, 3084, 62, 2231, 20198, 33411, 366, 27524, 3471, 1, 796, 705, 461, 4449, 7058, 308, 29941, 6 ]
Upvotes per Question/Answer for postgresql tag.
SELECT DATEADD(month, DATEDIFF(month, 0, CreationDate), 0) AS StartOfMonth, COUNT(DISTINCT Posts.Id) AS Questions, COUNT(*) AS UpVotes, ROUND(COUNT(*) / CAST(COUNT(DISTINCT Posts.Id) AS DECIMAL), 2) AS UpVotesPerQuestion, ROUND(SUM(CASE WHEN Votes.PostId IS NULL THEN 1 ELSE 0 END) / CAST(COUNT(DISTINCT Posts.Id) AS DEC...
[ 4933, 29307, 583, 18233, 14, 33706, 329, 1281, 34239, 13976, 7621, 13, 46506, 360, 6158, 29266, 7, 8424, 11, 360, 11617, 29267, 7, 8424, 11, 657, 11, 21582, 10430, 828, 657, 8, 7054, 7253, 5189, 31948, 11, 327, 28270, 7, 35, 8808, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4933, 29307, 583, 18233, 14, 33706, 329, 1281, 34239, 13976, 7621, 13, 46506, 360, 6158, 29266, 7, 8424, 11, 360, 11617, 29267, 7, 8424, 11, 657, 11, 21582, 10430, 828, 657, 8, 7054, 7253, 5189, 31948, 11, 327, 28270, 7, 35, 8808, 1...
What is the winning score that has victory of 2 strokes for the margin, and cyber agent ladies for the tournament?
SELECT "Winning score" FROM table_41546 WHERE "Margin of victory" = '2 strokes' AND "Tournament" = 'cyber agent ladies'
[ 2061, 318, 262, 5442, 4776, 326, 468, 5373, 286, 362, 29483, 329, 262, 10330, 11, 290, 10075, 5797, 17308, 329, 262, 7756, 30, 46506, 366, 16643, 768, 4776, 1, 16034, 3084, 62, 35038, 3510, 33411, 366, 24428, 259, 286, 5373, 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 ]
[ 2061, 318, 262, 5442, 4776, 326, 468, 5373, 286, 362, 29483, 329, 262, 10330, 11, 290, 10075, 5797, 17308, 329, 262, 7756, 30, 46506, 366, 16643, 768, 4776, 1, 16034, 3084, 62, 35038, 3510, 33411, 366, 24428, 259, 286, 5373, 1, 796, ...
How many total medals for the netherlands?
SELECT SUM(total) FROM table_name_9 WHERE nation = "netherlands"
[ 2437, 867, 2472, 28057, 329, 262, 2010, 372, 4447, 30, 46506, 35683, 7, 23350, 8, 16034, 3084, 62, 3672, 62, 24, 33411, 3277, 796, 366, 3262, 372, 4447, 1 ]
[ 1, 1, 1, 1, 1, 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, 2472, 28057, 329, 262, 2010, 372, 4447, 30, 46506, 35683, 7, 23350, 8, 16034, 3084, 62, 3672, 62, 24, 33411, 3277, 796, 366, 3262, 372, 4447, 1 ]
how many patients whose discharge location is snf and primary disease is copd exacerbation?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.discharge_location = "SNF" AND demographic.diagnosis = "COPD EXACERBATION"
[ 4919, 867, 3871, 3025, 17655, 4067, 318, 3013, 69, 290, 4165, 4369, 318, 2243, 67, 22907, 341, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 6381, 10136, 62, 24886, 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 ]
[ 4919, 867, 3871, 3025, 17655, 4067, 318, 3013, 69, 290, 4165, 4369, 318, 2243, 67, 22907, 341, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 6381, 10136, 62, 24886, 796, ...
What is the lowest overall for a quarterback with fewer than 7 rounds?
SELECT MIN(overall) FROM table_name_88 WHERE position = "quarterback" AND round < 7
[ 2061, 318, 262, 9016, 4045, 329, 257, 7880, 351, 7380, 621, 767, 9196, 30, 46506, 20625, 7, 2502, 439, 8, 16034, 3084, 62, 3672, 62, 3459, 33411, 2292, 796, 366, 24385, 1891, 1, 5357, 2835, 1279, 767 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 329, 257, 7880, 351, 7380, 621, 767, 9196, 30, 46506, 20625, 7, 2502, 439, 8, 16034, 3084, 62, 3672, 62, 3459, 33411, 2292, 796, 366, 24385, 1891, 1, 5357, 2835, 1279, 767 ]
i need flight information for flights departing from CLEVELAND to MILWAUKEE on wednesday after 1700
SELECT DISTINCT flight_id FROM flight WHERE (((departure_time > 1700 AND flight_days IN (SELECT DAYSalias0.days_code FROM days AS DAYSalias0 WHERE DAYSalias0.day_name IN (SELECT DATE_DAYalias0.day_name FROM date_day AS DATE_DAYalias0 WHERE DATE_DAYalias0.day_number = 23 AND DATE_DAYalias0.month_number = 4 AND DATE_DAYa...
[ 72, 761, 5474, 1321, 329, 13956, 37717, 422, 30301, 18697, 6981, 284, 31515, 15543, 15039, 6500, 319, 29445, 3462, 706, 35665, 46506, 360, 8808, 1268, 4177, 5474, 62, 312, 16034, 5474, 33411, 14808, 7, 10378, 433, 495, 62, 2435, 1875, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 72, 761, 5474, 1321, 329, 13956, 37717, 422, 30301, 18697, 6981, 284, 31515, 15543, 15039, 6500, 319, 29445, 3462, 706, 35665, 46506, 360, 8808, 1268, 4177, 5474, 62, 312, 16034, 5474, 33411, 14808, 7, 10378, 433, 495, 62, 2435, 1875, 3...
count the number of patients whose discharge location is disch-tran to psych hosp and procedure long title is (aorto)coronary bypass of three coronary arteries?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.discharge_location = "DISCH-TRAN TO PSYCH HOSP" AND procedures.long_title = "(Aorto)coronary bypass of three coronary arteries"
[ 9127, 262, 1271, 286, 3871, 3025, 17655, 4067, 318, 595, 354, 12, 2213, 272, 284, 3795, 10496, 290, 8771, 890, 3670, 318, 357, 64, 419, 78, 8, 10215, 261, 560, 17286, 286, 1115, 37151, 45894, 30, 46506, 327, 28270, 7, 35, 8808, 1268...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9127, 262, 1271, 286, 3871, 3025, 17655, 4067, 318, 595, 354, 12, 2213, 272, 284, 3795, 10496, 290, 8771, 890, 3670, 318, 357, 64, 419, 78, 8, 10215, 261, 560, 17286, 286, 1115, 37151, 45894, 30, 46506, 327, 28270, 7, 35, 8808, 1268...
For those records from the products and each product's manufacturer, return a bar chart about the distribution of headquarter and the average of revenue , and group by attribute headquarter, and I want to list from low to high by the Headquarter.
SELECT Headquarter, AVG(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, 1441, 257, 2318, 8262, 546, 262, 6082, 286, 1182, 24385, 290, 262, 2811, 286, 6426, 837, 290, 1448, 416, 11688, 1182, 24385, 11, 290, 314, 765, 284, 1351, 422, 1877, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1441, 257, 2318, 8262, 546, 262, 6082, 286, 1182, 24385, 290, 262, 2811, 286, 6426, 837, 290, 1448, 416, 11688, 1182, 24385, 11, 290, 314, 765, 284, 1351, 422, 1877, ...
Which Terminus is on line 10?
SELECT terminus FROM table_name_1 WHERE line = "line 10"
[ 13828, 15527, 385, 318, 319, 1627, 838, 30, 46506, 5651, 385, 16034, 3084, 62, 3672, 62, 16, 33411, 1627, 796, 366, 1370, 838, 1 ]
[ 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, 15527, 385, 318, 319, 1627, 838, 30, 46506, 5651, 385, 16034, 3084, 62, 3672, 62, 16, 33411, 1627, 796, 366, 1370, 838, 1 ]
which is the first jockey on the chart
SELECT "jockey" FROM table_204_561 WHERE id = 1
[ 4758, 318, 262, 717, 474, 8337, 319, 262, 8262, 46506, 366, 73, 8337, 1, 16034, 3084, 62, 18638, 62, 47915, 33411, 4686, 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 ]
[ 4758, 318, 262, 717, 474, 8337, 319, 262, 8262, 46506, 366, 73, 8337, 1, 16034, 3084, 62, 18638, 62, 47915, 33411, 4686, 796, 352 ]
Name the number of februaries
SELECT COUNT(february) FROM table_1539201_1
[ 5376, 262, 1271, 286, 730, 65, 622, 3166, 46506, 327, 28270, 7, 69, 1765, 3728, 8, 16034, 3084, 62, 1314, 2670, 1264, 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 ]
[ 5376, 262, 1271, 286, 730, 65, 622, 3166, 46506, 327, 28270, 7, 69, 1765, 3728, 8, 16034, 3084, 62, 1314, 2670, 1264, 62, 16 ]
Clock rate (MHz) smaller than 400, and a Bandwidth (MB/s) of 1420 has what channels?
SELECT channels FROM table_name_93 WHERE clock_rate__mhz_ < 400 AND bandwidth__mb_s_ = 1420
[ 44758, 2494, 357, 25983, 8, 4833, 621, 7337, 11, 290, 257, 10243, 10394, 357, 10744, 14, 82, 8, 286, 1478, 1238, 468, 644, 9619, 30, 46506, 9619, 16034, 3084, 62, 3672, 62, 6052, 33411, 8801, 62, 4873, 834, 76, 32179, 62, 1279, 7337...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 44758, 2494, 357, 25983, 8, 4833, 621, 7337, 11, 290, 257, 10243, 10394, 357, 10744, 14, 82, 8, 286, 1478, 1238, 468, 644, 9619, 30, 46506, 9619, 16034, 3084, 62, 3672, 62, 6052, 33411, 8801, 62, 4873, 834, 76, 32179, 62, 1279, 7337...
total number of models created .
SELECT COUNT(DISTINCT "model name") FROM table_203_873
[ 23350, 1271, 286, 4981, 2727, 764, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 366, 19849, 1438, 4943, 16034, 3084, 62, 22416, 62, 23, 4790 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 23350, 1271, 286, 4981, 2727, 764, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 366, 19849, 1438, 4943, 16034, 3084, 62, 22416, 62, 23, 4790 ]
What network is the Korean title of mbc - on?
SELECT network FROM table_name_30 WHERE korean_title = "mbc 베스트극장 - 작은 도둑"
[ 2061, 3127, 318, 262, 6983, 3670, 286, 285, 15630, 532, 319, 30, 46506, 3127, 16034, 3084, 62, 3672, 62, 1270, 33411, 479, 29456, 62, 7839, 796, 366, 2022, 66, 31619, 110, 254, 168, 232, 97, 169, 232, 116, 166, 115, 117, 168, 252, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3127, 318, 262, 6983, 3670, 286, 285, 15630, 532, 319, 30, 46506, 3127, 16034, 3084, 62, 3672, 62, 1270, 33411, 479, 29456, 62, 7839, 796, 366, 2022, 66, 31619, 110, 254, 168, 232, 97, 169, 232, 116, 166, 115, 117, 168, 252, ...
What is the highest Attendance with a Result that is w 24-21?
SELECT MAX(attendance) FROM table_name_50 WHERE result = "w 24-21"
[ 2061, 318, 262, 4511, 46502, 590, 351, 257, 25414, 326, 318, 266, 1987, 12, 2481, 30, 46506, 25882, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 1120, 33411, 1255, 796, 366, 86, 1987, 12, 2481, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 46502, 590, 351, 257, 25414, 326, 318, 266, 1987, 12, 2481, 30, 46506, 25882, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 1120, 33411, 1255, 796, 366, 86, 1987, 12, 2481, 1 ]
What is the crowd size of the game where the away team scored 8.15 (63)?
SELECT SUM("Crowd") FROM table_32957 WHERE "Away team score" = '8.15 (63)'
[ 2061, 318, 262, 4315, 2546, 286, 262, 983, 810, 262, 1497, 1074, 7781, 807, 13, 1314, 357, 5066, 19427, 46506, 35683, 7203, 34, 3986, 4943, 16034, 3084, 62, 37967, 3553, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 23, 13, 1314, 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 ]
[ 2061, 318, 262, 4315, 2546, 286, 262, 983, 810, 262, 1497, 1074, 7781, 807, 13, 1314, 357, 5066, 19427, 46506, 35683, 7203, 34, 3986, 4943, 16034, 3084, 62, 37967, 3553, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 23, 13, 1314, 3...
provide the average age of patients above the age of 31 admitted in the year 2155.
SELECT AVG(demographic.age) FROM demographic WHERE demographic.age >= "31" AND demographic.admityear >= "2155"
[ 15234, 485, 262, 2811, 2479, 286, 3871, 2029, 262, 2479, 286, 3261, 6848, 287, 262, 614, 362, 18742, 13, 46506, 35224, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 496, 18189, 366, 3132, 1, 5357, 16728, 13, 324, 76, 41...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15234, 485, 262, 2811, 2479, 286, 3871, 2029, 262, 2479, 286, 3261, 6848, 287, 262, 614, 362, 18742, 13, 46506, 35224, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 496, 18189, 366, 3132, 1, 5357, 16728, 13, 324, 76, 41...
What is the load bearing capacity when the name is Camelus Dromedarius
SELECT "Load Bearing Capacity" FROM table_977 WHERE "Scientific Name" = 'Camelus dromedarius'
[ 2061, 318, 262, 3440, 14121, 5339, 618, 262, 1438, 318, 43281, 385, 360, 398, 276, 19897, 46506, 366, 8912, 28834, 29765, 1, 16034, 3084, 62, 24, 3324, 33411, 366, 23010, 811, 6530, 1, 796, 705, 34, 17983, 385, 288, 398, 276, 19897, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3440, 14121, 5339, 618, 262, 1438, 318, 43281, 385, 360, 398, 276, 19897, 46506, 366, 8912, 28834, 29765, 1, 16034, 3084, 62, 24, 3324, 33411, 366, 23010, 811, 6530, 1, 796, 705, 34, 17983, 385, 288, 398, 276, 19897, ...
On what Date is Sheffield Wednesday the Home team?
SELECT date FROM table_name_61 WHERE home_team = "sheffield wednesday"
[ 2202, 644, 7536, 318, 33496, 3583, 262, 5995, 1074, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 5333, 33411, 1363, 62, 15097, 796, 366, 7091, 31374, 29445, 3462, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2202, 644, 7536, 318, 33496, 3583, 262, 5995, 1074, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 5333, 33411, 1363, 62, 15097, 796, 366, 7091, 31374, 29445, 3462, 1 ]
What is the Visitor with a Series with 3 2?
SELECT visitor FROM table_name_50 WHERE series = "3 – 2"
[ 2061, 318, 262, 6911, 2072, 351, 257, 7171, 351, 513, 362, 30, 46506, 21493, 16034, 3084, 62, 3672, 62, 1120, 33411, 2168, 796, 366, 18, 784, 362, 1 ]
[ 1, 1, 1, 1, 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, 6911, 2072, 351, 257, 7171, 351, 513, 362, 30, 46506, 21493, 16034, 3084, 62, 3672, 62, 1120, 33411, 2168, 796, 366, 18, 784, 362, 1 ]
What driver has over 19 points and a grid of over 2?
SELECT driver FROM table_name_65 WHERE points > 19 AND grid > 2
[ 2061, 4639, 468, 625, 678, 2173, 290, 257, 10706, 286, 625, 362, 30, 46506, 4639, 16034, 3084, 62, 3672, 62, 2996, 33411, 2173, 1875, 678, 5357, 10706, 1875, 362 ]
[ 1, 1, 1, 1, 1, 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, 468, 625, 678, 2173, 290, 257, 10706, 286, 625, 362, 30, 46506, 4639, 16034, 3084, 62, 3672, 62, 2996, 33411, 2173, 1875, 678, 5357, 10706, 1875, 362 ]
What was the highest order amount in weeks prier to 15 and a major less than 1?
SELECT MAX(order) FROM table_name_55 WHERE weeks < 15 AND majors < 1
[ 2061, 373, 262, 4511, 1502, 2033, 287, 2745, 1293, 263, 284, 1315, 290, 257, 1688, 1342, 621, 352, 30, 46506, 25882, 7, 2875, 8, 16034, 3084, 62, 3672, 62, 2816, 33411, 2745, 1279, 1315, 5357, 26353, 1279, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 4511, 1502, 2033, 287, 2745, 1293, 263, 284, 1315, 290, 257, 1688, 1342, 621, 352, 30, 46506, 25882, 7, 2875, 8, 16034, 3084, 62, 3672, 62, 2816, 33411, 2745, 1279, 1315, 5357, 26353, 1279, 352 ]
Find all the policy type codes associated with the customer 'Dayana Robel
SELECT policy_type_code FROM policies AS t1 JOIN customers AS t2 ON t1.customer_id = t2.customer_id WHERE t2.customer_details = "Dayana Robel"
[ 16742, 477, 262, 2450, 2099, 12416, 3917, 351, 262, 6491, 705, 12393, 2271, 3851, 417, 46506, 2450, 62, 4906, 62, 8189, 16034, 4788, 7054, 256, 16, 32357, 1268, 4297, 7054, 256, 17, 6177, 256, 16, 13, 23144, 263, 62, 312, 796, 256, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16742, 477, 262, 2450, 2099, 12416, 3917, 351, 262, 6491, 705, 12393, 2271, 3851, 417, 46506, 2450, 62, 4906, 62, 8189, 16034, 4788, 7054, 256, 16, 32357, 1268, 4297, 7054, 256, 17, 6177, 256, 16, 13, 23144, 263, 62, 312, 796, 256, ...
Name the years in orlando for forward
SELECT years_in_orlando FROM table_15621965_10 WHERE position = "Forward"
[ 5376, 262, 812, 287, 393, 11993, 329, 2651, 46506, 812, 62, 259, 62, 273, 11993, 16034, 3084, 62, 1314, 5237, 45271, 62, 940, 33411, 2292, 796, 366, 39746, 1 ]
[ 1, 1, 1, 1, 1, 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, 812, 287, 393, 11993, 329, 2651, 46506, 812, 62, 259, 62, 273, 11993, 16034, 3084, 62, 1314, 5237, 45271, 62, 940, 33411, 2292, 796, 366, 39746, 1 ]
How many races are there?
SELECT COUNT(*) FROM race
[ 2437, 867, 9558, 389, 612, 30, 46506, 327, 28270, 7, 28104, 16034, 3234 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 9558, 389, 612, 30, 46506, 327, 28270, 7, 28104, 16034, 3234 ]
What are the total number of credits offered by each department.
SELECT DEPT_CODE, SUM(T1.CRS_CREDIT) FROM COURSE AS T1 JOIN CLASS AS T2 ON T1.CRS_CODE = T2.CRS_CODE GROUP BY T1.DEPT_CODE
[ 2061, 389, 262, 2472, 1271, 286, 10824, 4438, 416, 1123, 5011, 13, 46506, 5550, 11571, 62, 34, 16820, 11, 35683, 7, 51, 16, 13, 34, 6998, 62, 9419, 24706, 8, 16034, 37384, 5188, 7054, 309, 16, 32357, 1268, 42715, 7054, 309, 17, 6177...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 389, 262, 2472, 1271, 286, 10824, 4438, 416, 1123, 5011, 13, 46506, 5550, 11571, 62, 34, 16820, 11, 35683, 7, 51, 16, 13, 34, 6998, 62, 9419, 24706, 8, 16034, 37384, 5188, 7054, 309, 16, 32357, 1268, 42715, 7054, 309, 17, 6177...
What position does that draft pick play from Lake Superior State University (NCAA)?
SELECT "Position" FROM table_74270 WHERE "College/junior/club team" = 'Lake Superior State University (NCAA)'
[ 2061, 2292, 857, 326, 4538, 2298, 711, 422, 6233, 22953, 1812, 2059, 357, 7792, 3838, 19427, 46506, 366, 26545, 1, 16034, 3084, 62, 4524, 20233, 33411, 366, 38951, 14, 29741, 1504, 14, 18664, 1074, 1, 796, 705, 43035, 22953, 1812, 2059,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 2292, 857, 326, 4538, 2298, 711, 422, 6233, 22953, 1812, 2059, 357, 7792, 3838, 19427, 46506, 366, 26545, 1, 16034, 3084, 62, 4524, 20233, 33411, 366, 38951, 14, 29741, 1504, 14, 18664, 1074, 1, 796, 705, 43035, 22953, 1812, 2059,...
provide the number of patients whose marital status is widowed and lab test name is albumin, urine?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.marital_status = "WIDOWED" AND lab.label = "Albumin, Urine"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 29555, 3722, 318, 9214, 6972, 290, 2248, 1332, 1438, 318, 5062, 259, 11, 18922, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 15234, 485, 262, 1271, 286, 3871, 3025, 29555, 3722, 318, 9214, 6972, 290, 2248, 1332, 1438, 318, 5062, 259, 11, 18922, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 12...
What country is the Jiufotang Formation located in?
SELECT "Location" FROM table_40086 WHERE "Unit" = 'jiufotang formation'
[ 2061, 1499, 318, 262, 29380, 3046, 313, 648, 46689, 5140, 287, 30, 46506, 366, 14749, 1, 16034, 3084, 62, 7029, 4521, 33411, 366, 26453, 1, 796, 705, 7285, 3046, 313, 648, 9978, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1499, 318, 262, 29380, 3046, 313, 648, 46689, 5140, 287, 30, 46506, 366, 14749, 1, 16034, 3084, 62, 7029, 4521, 33411, 366, 26453, 1, 796, 705, 7285, 3046, 313, 648, 9978, 6 ]
number of hospital visits of patient 65401 in this year.
SELECT COUNT(DISTINCT admissions.hadm_id) FROM admissions WHERE admissions.subject_id = 65401 AND DATETIME(admissions.admittime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year')
[ 17618, 286, 4436, 11864, 286, 5827, 718, 4051, 486, 287, 428, 614, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 25349, 13, 18108, 76, 62, 312, 8, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 718, 4051, 486, 5357, 360, 140...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 17618, 286, 4436, 11864, 286, 5827, 718, 4051, 486, 287, 428, 614, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 25349, 13, 18108, 76, 62, 312, 8, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 718, 4051, 486, 5357, 360, 140...
What is Teleplay, when First Broadcast is April 10, 1981?
SELECT teleplay FROM table_name_57 WHERE first_broadcast = "april 10, 1981"
[ 2061, 318, 14318, 1759, 11, 618, 3274, 44244, 318, 3035, 838, 11, 14745, 30, 46506, 5735, 1759, 16034, 3084, 62, 3672, 62, 3553, 33411, 717, 62, 36654, 2701, 796, 366, 499, 22379, 838, 11, 14745, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14318, 1759, 11, 618, 3274, 44244, 318, 3035, 838, 11, 14745, 30, 46506, 5735, 1759, 16034, 3084, 62, 3672, 62, 3553, 33411, 717, 62, 36654, 2701, 796, 366, 499, 22379, 838, 11, 14745, 1 ]
Name the D 41 when it has D 43 of r 18
SELECT "D 41 \u221a" FROM table_53299 WHERE "D 43 \u221a" = 'r 18'
[ 5376, 262, 360, 6073, 618, 340, 468, 360, 5946, 286, 374, 1248, 46506, 366, 35, 6073, 3467, 84, 26115, 64, 1, 16034, 3084, 62, 4310, 22579, 33411, 366, 35, 5946, 3467, 84, 26115, 64, 1, 796, 705, 81, 1248, 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 ]
[ 5376, 262, 360, 6073, 618, 340, 468, 360, 5946, 286, 374, 1248, 46506, 366, 35, 6073, 3467, 84, 26115, 64, 1, 16034, 3084, 62, 4310, 22579, 33411, 366, 35, 5946, 3467, 84, 26115, 64, 1, 796, 705, 81, 1248, 6 ]
Which theme has a Episode of top 6?
SELECT theme FROM table_name_79 WHERE episode = "top 6"
[ 13828, 7505, 468, 257, 7922, 286, 1353, 718, 30, 46506, 7505, 16034, 3084, 62, 3672, 62, 3720, 33411, 4471, 796, 366, 4852, 718, 1 ]
[ 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, 7505, 468, 257, 7922, 286, 1353, 718, 30, 46506, 7505, 16034, 3084, 62, 3672, 62, 3720, 33411, 4471, 796, 366, 4852, 718, 1 ]
What is the Position of the winner with 18 Goals and Level of 5?
SELECT "Position" FROM table_5330 WHERE "Goals" = '18' AND "Level" = '5'
[ 2061, 318, 262, 23158, 286, 262, 8464, 351, 1248, 28510, 290, 5684, 286, 642, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 4310, 1270, 33411, 366, 5247, 874, 1, 796, 705, 1507, 6, 5357, 366, 4971, 1, 796, 705, 20, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 23158, 286, 262, 8464, 351, 1248, 28510, 290, 5684, 286, 642, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 4310, 1270, 33411, 366, 5247, 874, 1, 796, 705, 1507, 6, 5357, 366, 4971, 1, 796, 705, 20, 6 ]
what is the maximum number of patients diagnosed with hepatic dysfunction - severe daily in a year before?
SELECT MAX(t1.c1) FROM (SELECT COUNT(DISTINCT diagnosis.patientunitstayid) AS c1 FROM diagnosis WHERE diagnosis.diagnosisname = 'hepatic dysfunction - severe' AND DATETIME(diagnosis.diagnosistime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') GROUP BY STRFTIME('%y-%m-%d', diagnosis.diagnosisti...
[ 10919, 318, 262, 5415, 1271, 286, 3871, 14641, 351, 47585, 1512, 19327, 532, 6049, 4445, 287, 257, 614, 878, 30, 46506, 25882, 7, 83, 16, 13, 66, 16, 8, 16034, 357, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 13669, 13, 26029, 20850...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5415, 1271, 286, 3871, 14641, 351, 47585, 1512, 19327, 532, 6049, 4445, 287, 257, 614, 878, 30, 46506, 25882, 7, 83, 16, 13, 66, 16, 8, 16034, 357, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 13669, 13, 26029, 20850...
Which 2011 has a Career Win-Loss of 7 10?
SELECT 2011 FROM table_name_65 WHERE career_win_loss = "7–10"
[ 13828, 2813, 468, 257, 32619, 7178, 12, 43, 793, 286, 767, 838, 30, 46506, 2813, 16034, 3084, 62, 3672, 62, 2996, 33411, 3451, 62, 5404, 62, 22462, 796, 366, 22, 1906, 940, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2813, 468, 257, 32619, 7178, 12, 43, 793, 286, 767, 838, 30, 46506, 2813, 16034, 3084, 62, 3672, 62, 2996, 33411, 3451, 62, 5404, 62, 22462, 796, 366, 22, 1906, 940, 1 ]
What Gauthier had a 15 Liscumb?
SELECT "Gauthier" FROM table_57574 WHERE "Liscumb" = '15'
[ 2061, 12822, 1071, 959, 550, 257, 1315, 406, 2304, 2178, 30, 46506, 366, 38, 18439, 959, 1, 16034, 3084, 62, 36189, 4524, 33411, 366, 43, 2304, 2178, 1, 796, 705, 1314, 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, 12822, 1071, 959, 550, 257, 1315, 406, 2304, 2178, 30, 46506, 366, 38, 18439, 959, 1, 16034, 3084, 62, 36189, 4524, 33411, 366, 43, 2304, 2178, 1, 796, 705, 1314, 6 ]
What are all the languages for tsotsi?
SELECT "Language(s)" FROM table_864 WHERE "Film title" = 'Tsotsi'
[ 2061, 389, 477, 262, 8950, 329, 40379, 1747, 72, 30, 46506, 366, 32065, 7, 82, 16725, 16034, 3084, 62, 39570, 33411, 366, 39750, 3670, 1, 796, 705, 33758, 1747, 72, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 477, 262, 8950, 329, 40379, 1747, 72, 30, 46506, 366, 32065, 7, 82, 16725, 16034, 3084, 62, 39570, 33411, 366, 39750, 3670, 1, 796, 705, 33758, 1747, 72, 6 ]
What is the surface for the year 2001?
SELECT surface FROM table_23297_3 WHERE year = 2001
[ 2061, 318, 262, 4417, 329, 262, 614, 5878, 30, 46506, 4417, 16034, 3084, 62, 1954, 26561, 62, 18, 33411, 614, 796, 5878 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4417, 329, 262, 614, 5878, 30, 46506, 4417, 16034, 3084, 62, 1954, 26561, 62, 18, 33411, 614, 796, 5878 ]
Which FA Cup has a Player of khairan ezuan razali, and a Total smaller than 0?
SELECT AVG(fa_cup) FROM table_name_62 WHERE player = "khairan ezuan razali" AND total < 0
[ 13828, 9677, 5454, 468, 257, 7853, 286, 479, 27108, 272, 304, 89, 7258, 374, 1031, 7344, 11, 290, 257, 7472, 4833, 621, 657, 30, 46506, 35224, 7, 13331, 62, 25244, 8, 16034, 3084, 62, 3672, 62, 5237, 33411, 2137, 796, 366, 14636, 95...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9677, 5454, 468, 257, 7853, 286, 479, 27108, 272, 304, 89, 7258, 374, 1031, 7344, 11, 290, 257, 7472, 4833, 621, 657, 30, 46506, 35224, 7, 13331, 62, 25244, 8, 16034, 3084, 62, 3672, 62, 5237, 33411, 2137, 796, 366, 14636, 95...
How large was the crowd when the away team was melbourne?
SELECT crowd FROM table_name_77 WHERE away_team = "melbourne"
[ 2437, 1588, 373, 262, 4315, 618, 262, 1497, 1074, 373, 7758, 12544, 30, 46506, 4315, 16034, 3084, 62, 3672, 62, 3324, 33411, 1497, 62, 15097, 796, 366, 17694, 12544, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 1588, 373, 262, 4315, 618, 262, 1497, 1074, 373, 7758, 12544, 30, 46506, 4315, 16034, 3084, 62, 3672, 62, 3324, 33411, 1497, 62, 15097, 796, 366, 17694, 12544, 1 ]