instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
did warfarin, albuterol mdi, or glucagon be prescribed for patient 24971 on the last hospital encounter?
SELECT COUNT(*) > 0 FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 24971 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime DESC LIMIT 1) AND prescriptions.drug IN ('warfarin', 'albuterol mdi', 'glucagon')
[ 20839, 1175, 16370, 259, 11, 435, 4360, 263, 349, 285, 10989, 11, 393, 14182, 1840, 307, 14798, 329, 5827, 34620, 4869, 319, 262, 938, 4436, 8791, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 34092, 33411, 34092, 13, 18108, 76, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 20839, 1175, 16370, 259, 11, 435, 4360, 263, 349, 285, 10989, 11, 393, 14182, 1840, 307, 14798, 329, 5827, 34620, 4869, 319, 262, 938, 4436, 8791, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 34092, 33411, 34092, 13, 18108, 76, ...
calculate the maximum age of elective hospital admission patients who were hospitalized for 17 days.
SELECT MAX(demographic.age) FROM demographic WHERE demographic.admission_type = "ELECTIVE" AND demographic.days_stay = "17"
[ 9948, 3129, 378, 262, 5415, 2479, 286, 1742, 425, 4436, 13938, 3871, 508, 547, 31736, 329, 1596, 1528, 13, 46506, 25882, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, 4906, 796, 366, 36, 16779, 9306, 1, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5415, 2479, 286, 1742, 425, 4436, 13938, 3871, 508, 547, 31736, 329, 1596, 1528, 13, 46506, 25882, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, 4906, 796, 366, 36, 16779, 9306, 1, 5...
What is Winner, when Prize is ' 50,000', and when Runner-Up is 'Korosh Nejad'?
SELECT "Winner" FROM table_9732 WHERE "Prize" = '£50,000' AND "Runner-Up" = 'korosh nejad'
[ 2061, 318, 25358, 11, 618, 15895, 318, 705, 2026, 11, 830, 3256, 290, 618, 21529, 12, 4933, 318, 705, 42, 273, 3768, 3169, 38442, 30960, 46506, 366, 48056, 1, 16034, 3084, 62, 5607, 2624, 33411, 366, 34487, 2736, 1, 796, 705, 14988, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 25358, 11, 618, 15895, 318, 705, 2026, 11, 830, 3256, 290, 618, 21529, 12, 4933, 318, 705, 42, 273, 3768, 3169, 38442, 30960, 46506, 366, 48056, 1, 16034, 3084, 62, 5607, 2624, 33411, 366, 34487, 2736, 1, 796, 705, 14988, ...
What is the Country of the Play Electra?
SELECT "country" FROM table_66173 WHERE "play" = 'electra'
[ 2061, 318, 262, 12946, 286, 262, 3811, 5903, 430, 30, 46506, 366, 19315, 1, 16034, 3084, 62, 2791, 25399, 33411, 366, 1759, 1, 796, 705, 9509, 430, 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, 12946, 286, 262, 3811, 5903, 430, 30, 46506, 366, 19315, 1, 16034, 3084, 62, 2791, 25399, 33411, 366, 1759, 1, 796, 705, 9509, 430, 6 ]
For those employees who do not work in departments with managers that have ids between 100 and 200, give me the comparison about the sum of employee_id over the hire_date bin hire_date by time, and sort in desc by the Y-axis please.
SELECT HIRE_DATE, SUM(EMPLOYEE_ID) FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY SUM(EMPLOYEE_ID) DESC
[ 1890, 883, 4409, 508, 466, 407, 670, 287, 13346, 351, 11663, 326, 423, 220, 2340, 1022, 1802, 290, 939, 11, 1577, 502, 262, 7208, 546, 262, 2160, 286, 6538, 62, 312, 625, 262, 11078, 62, 4475, 9874, 11078, 62, 4475, 416, 640, 11, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4409, 508, 466, 407, 670, 287, 13346, 351, 11663, 326, 423, 220, 2340, 1022, 1802, 290, 939, 11, 1577, 502, 262, 7208, 546, 262, 2160, 286, 6538, 62, 312, 625, 262, 11078, 62, 4475, 9874, 11078, 62, 4475, 416, 640, 11, ...
What is the lowest Attendance, when Date is 'December 20, 1970', and when Week is less than 14?
SELECT MIN(attendance) FROM table_name_69 WHERE date = "december 20, 1970" AND week < 14
[ 2061, 318, 262, 9016, 46502, 590, 11, 618, 7536, 318, 705, 20588, 1160, 11, 8069, 3256, 290, 618, 6119, 318, 1342, 621, 1478, 30, 46506, 20625, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 3388, 33411, 3128, 796, 366, 2934, 3273...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 46502, 590, 11, 618, 7536, 318, 705, 20588, 1160, 11, 8069, 3256, 290, 618, 6119, 318, 1342, 621, 1478, 30, 46506, 20625, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 3388, 33411, 3128, 796, 366, 2934, 3273...
how many hours has it been since patient 025-50213 was last diagnosed with lower urinary tract infection during their current hospital encounter.
SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', diagnosis.diagnosistime)) FROM diagnosis WHERE diagnosis.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '025-50213...
[ 4919, 867, 2250, 468, 340, 587, 1201, 5827, 657, 1495, 12, 1120, 26427, 373, 938, 14641, 351, 2793, 38628, 14998, 10280, 1141, 511, 1459, 4436, 8791, 13, 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, 657, 1495, 12, 1120, 26427, 373, 938, 14641, 351, 2793, 38628, 14998, 10280, 1141, 511, 1459, 4436, 8791, 13, 46506, 1987, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, ...
What was the score of the game that had a loss of Embree (1-2)?
SELECT score FROM table_name_98 WHERE loss = "embree (1-2)"
[ 2061, 373, 262, 4776, 286, 262, 983, 326, 550, 257, 2994, 286, 13302, 631, 357, 16, 12, 17, 19427, 46506, 4776, 16034, 3084, 62, 3672, 62, 4089, 33411, 2994, 796, 366, 24419, 631, 357, 16, 12, 17, 16725 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 4776, 286, 262, 983, 326, 550, 257, 2994, 286, 13302, 631, 357, 16, 12, 17, 19427, 46506, 4776, 16034, 3084, 62, 3672, 62, 4089, 33411, 2994, 796, 366, 24419, 631, 357, 16, 12, 17, 16725 ]
What is listed as the highest Year that's also got a Bronze of Wataru Haraguchi?
SELECT MAX("Year") FROM table_37012 WHERE "Bronze" = 'wataru haraguchi'
[ 2061, 318, 5610, 355, 262, 4511, 6280, 326, 338, 635, 1392, 257, 19461, 286, 370, 9459, 84, 2113, 363, 22200, 30, 46506, 25882, 7203, 17688, 4943, 16034, 3084, 62, 2718, 30206, 33411, 366, 18760, 2736, 1, 796, 705, 86, 9459, 84, 3971,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5610, 355, 262, 4511, 6280, 326, 338, 635, 1392, 257, 19461, 286, 370, 9459, 84, 2113, 363, 22200, 30, 46506, 25882, 7203, 17688, 4943, 16034, 3084, 62, 2718, 30206, 33411, 366, 18760, 2736, 1, 796, 705, 86, 9459, 84, 3971,...
What is the average Gold when the rank is less than 3 and the bronze is less than 1?
SELECT AVG(gold) FROM table_name_79 WHERE rank < 3 AND bronze < 1
[ 2061, 318, 262, 2811, 3561, 618, 262, 4279, 318, 1342, 621, 513, 290, 262, 22101, 318, 1342, 621, 352, 30, 46506, 35224, 7, 24267, 8, 16034, 3084, 62, 3672, 62, 3720, 33411, 4279, 1279, 513, 5357, 22101, 1279, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2811, 3561, 618, 262, 4279, 318, 1342, 621, 513, 290, 262, 22101, 318, 1342, 621, 352, 30, 46506, 35224, 7, 24267, 8, 16034, 3084, 62, 3672, 62, 3720, 33411, 4279, 1279, 513, 5357, 22101, 1279, 352 ]
when did she first win first place ?
SELECT MIN("year") FROM table_203_300 WHERE "result" = 1
[ 12518, 750, 673, 717, 1592, 717, 1295, 5633, 46506, 20625, 7203, 1941, 4943, 16034, 3084, 62, 22416, 62, 6200, 33411, 366, 20274, 1, 796, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 12518, 750, 673, 717, 1592, 717, 1295, 5633, 46506, 20625, 7203, 1941, 4943, 16034, 3084, 62, 22416, 62, 6200, 33411, 366, 20274, 1, 796, 352 ]
Which tournament had a score of 6 3, 7 6?
SELECT tournament FROM table_name_75 WHERE score = "6–3, 7–6"
[ 13828, 7756, 550, 257, 4776, 286, 718, 513, 11, 767, 718, 30, 46506, 7756, 16034, 3084, 62, 3672, 62, 2425, 33411, 4776, 796, 366, 21, 1906, 18, 11, 767, 1906, 21, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 7756, 550, 257, 4776, 286, 718, 513, 11, 767, 718, 30, 46506, 7756, 16034, 3084, 62, 3672, 62, 2425, 33411, 4776, 796, 366, 21, 1906, 18, 11, 767, 1906, 21, 1 ]
Name the status for points 3185
SELECT "Status" FROM table_73561 WHERE "Points" = '3185'
[ 5376, 262, 3722, 329, 2173, 513, 21652, 46506, 366, 19580, 1, 16034, 3084, 62, 22, 2327, 5333, 33411, 366, 40710, 1, 796, 705, 18, 21652, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 3722, 329, 2173, 513, 21652, 46506, 366, 19580, 1, 16034, 3084, 62, 22, 2327, 5333, 33411, 366, 40710, 1, 796, 705, 18, 21652, 6 ]
What is the notes for the vehicle built in 1917?
SELECT notes FROM table_name_98 WHERE built = "1917"
[ 2061, 318, 262, 4710, 329, 262, 4038, 3170, 287, 24168, 30, 46506, 4710, 16034, 3084, 62, 3672, 62, 4089, 33411, 3170, 796, 366, 1129, 1558, 1 ]
[ 1, 1, 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, 4710, 329, 262, 4038, 3170, 287, 24168, 30, 46506, 4710, 16034, 3084, 62, 3672, 62, 4089, 33411, 3170, 796, 366, 1129, 1558, 1 ]
What is the average number of attendance at home games for each year. Plot them as line chart.
SELECT year, AVG(attendance) FROM home_game GROUP BY year
[ 2061, 318, 262, 2811, 1271, 286, 14858, 379, 1363, 1830, 329, 1123, 614, 13, 28114, 606, 355, 1627, 8262, 13, 46506, 614, 11, 35224, 7, 1078, 437, 590, 8, 16034, 1363, 62, 6057, 44441, 11050, 614 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2811, 1271, 286, 14858, 379, 1363, 1830, 329, 1123, 614, 13, 28114, 606, 355, 1627, 8262, 13, 46506, 614, 11, 35224, 7, 1078, 437, 590, 8, 16034, 1363, 62, 6057, 44441, 11050, 614 ]
What is the Homeport that has a Laid down on 14 december 1985?
SELECT "Homeport (as of July 2013)" FROM table_36211 WHERE "Laid down" = '14 december 1985'
[ 2061, 318, 262, 5995, 634, 326, 468, 257, 406, 1698, 866, 319, 1478, 390, 3273, 12863, 30, 46506, 366, 16060, 634, 357, 292, 286, 2901, 2211, 16725, 16034, 3084, 62, 2623, 21895, 33411, 366, 43, 1698, 866, 1, 796, 705, 1415, 390, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5995, 634, 326, 468, 257, 406, 1698, 866, 319, 1478, 390, 3273, 12863, 30, 46506, 366, 16060, 634, 357, 292, 286, 2901, 2211, 16725, 16034, 3084, 62, 2623, 21895, 33411, 366, 43, 1698, 866, 1, 796, 705, 1415, 390, 32...
What CFL team did simeon rottier play for?
SELECT cfl_team FROM table_20170644_1 WHERE player = "Simeon Rottier"
[ 2061, 45239, 1074, 750, 264, 524, 261, 686, 926, 959, 711, 329, 30, 46506, 269, 2704, 62, 15097, 16034, 3084, 62, 1264, 2154, 29173, 62, 16, 33411, 2137, 796, 366, 50, 524, 261, 371, 1252, 959, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 45239, 1074, 750, 264, 524, 261, 686, 926, 959, 711, 329, 30, 46506, 269, 2704, 62, 15097, 16034, 3084, 62, 1264, 2154, 29173, 62, 16, 33411, 2137, 796, 366, 50, 524, 261, 371, 1252, 959, 1 ]
what is the only building in canada to have more than 60 floors ?
SELECT "building" FROM table_203_777 WHERE "floors" > 60
[ 10919, 318, 262, 691, 2615, 287, 460, 4763, 284, 423, 517, 621, 3126, 18570, 5633, 46506, 366, 16894, 1, 16034, 3084, 62, 22416, 62, 29331, 33411, 366, 48679, 669, 1, 1875, 3126 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 691, 2615, 287, 460, 4763, 284, 423, 517, 621, 3126, 18570, 5633, 46506, 366, 16894, 1, 16034, 3084, 62, 22416, 62, 29331, 33411, 366, 48679, 669, 1, 1875, 3126 ]
How many documents for each document type name? Visualize by a ar chart, and could you list in descending by the how many document type name?
SELECT Document_Type_Name, COUNT(Document_Type_Name) FROM Ref_Document_Types AS T1 JOIN Documents AS T2 ON T1.Document_Type_Code = T2.Document_Type_Code GROUP BY Document_Type_Name ORDER BY COUNT(Document_Type_Name) DESC
[ 2437, 867, 4963, 329, 1123, 3188, 2099, 1438, 30, 15612, 1096, 416, 257, 610, 8262, 11, 290, 714, 345, 1351, 287, 31491, 416, 262, 703, 867, 3188, 2099, 1438, 30, 46506, 16854, 62, 6030, 62, 5376, 11, 327, 28270, 7, 24941, 62, 6030,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2437, 867, 4963, 329, 1123, 3188, 2099, 1438, 30, 15612, 1096, 416, 257, 610, 8262, 11, 290, 714, 345, 1351, 287, 31491, 416, 262, 703, 867, 3188, 2099, 1438, 30, 46506, 16854, 62, 6030, 62, 5376, 11, 327, 28270, 7, 24941, 62, 6030,...
What team has a high score with tracy mcgrady (24)?
SELECT team FROM table_name_70 WHERE high_points = "tracy mcgrady (24)"
[ 2061, 1074, 468, 257, 1029, 4776, 351, 491, 1590, 36650, 2164, 4597, 357, 1731, 19427, 46506, 1074, 16034, 3084, 62, 3672, 62, 2154, 33411, 1029, 62, 13033, 796, 366, 2213, 1590, 36650, 2164, 4597, 357, 1731, 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 ]
[ 2061, 1074, 468, 257, 1029, 4776, 351, 491, 1590, 36650, 2164, 4597, 357, 1731, 19427, 46506, 1074, 16034, 3084, 62, 3672, 62, 2154, 33411, 1029, 62, 13033, 796, 366, 2213, 1590, 36650, 2164, 4597, 357, 1731, 16725 ]
what is the number of patients whose admission type is elective and lab test name is creatinine, urine?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_type = "ELECTIVE" AND lab.label = "Creatinine, Urine"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 13938, 2099, 318, 1742, 425, 290, 2248, 1332, 1438, 318, 1827, 259, 500, 11, 18922, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13938, 2099, 318, 1742, 425, 290, 2248, 1332, 1438, 318, 1827, 259, 500, 11, 18922, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357...
How many faculty members do we have for each gender? Draw a bar chart, display from low to high by the Y-axis.
SELECT Sex, COUNT(*) FROM Faculty GROUP BY Sex ORDER BY COUNT(*)
[ 2437, 867, 12829, 1866, 466, 356, 423, 329, 1123, 5279, 30, 15315, 257, 2318, 8262, 11, 3359, 422, 1877, 284, 1029, 416, 262, 575, 12, 22704, 13, 46506, 14419, 11, 327, 28270, 7, 28104, 16034, 35262, 44441, 11050, 14419, 38678, 11050, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 12829, 1866, 466, 356, 423, 329, 1123, 5279, 30, 15315, 257, 2318, 8262, 11, 3359, 422, 1877, 284, 1029, 416, 262, 575, 12, 22704, 13, 46506, 14419, 11, 327, 28270, 7, 28104, 16034, 35262, 44441, 11050, 14419, 38678, 11050, ...
Who played hte home team when the score was 2:1?
SELECT home FROM table_name_45 WHERE score = "2:1"
[ 8241, 2826, 289, 660, 1363, 1074, 618, 262, 4776, 373, 362, 25, 16, 30, 46506, 1363, 16034, 3084, 62, 3672, 62, 2231, 33411, 4776, 796, 366, 17, 25, 16, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 2826, 289, 660, 1363, 1074, 618, 262, 4776, 373, 362, 25, 16, 30, 46506, 1363, 16034, 3084, 62, 3672, 62, 2231, 33411, 4776, 796, 366, 17, 25, 16, 1 ]
At what venue was the game played where the away team was South Melbourne
SELECT venue FROM table_name_49 WHERE away_team = "south melbourne"
[ 2953, 644, 14359, 373, 262, 983, 2826, 810, 262, 1497, 1074, 373, 2520, 14819, 46506, 14359, 16034, 3084, 62, 3672, 62, 2920, 33411, 1497, 62, 15097, 796, 366, 35782, 7758, 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, 1, 1 ]
[ 2953, 644, 14359, 373, 262, 983, 2826, 810, 262, 1497, 1074, 373, 2520, 14819, 46506, 14359, 16034, 3084, 62, 3672, 62, 2920, 33411, 1497, 62, 15097, 796, 366, 35782, 7758, 12544, 1 ]
find the number of patients taking base type drug prescription who had whole blood calculated bicarbonate lab test.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE prescriptions.drug_type = "BASE" AND lab.label = "Calculated Bicarbonate, Whole Blood"
[ 19796, 262, 1271, 286, 3871, 2263, 2779, 2099, 2563, 15077, 508, 550, 2187, 2910, 10488, 275, 291, 42084, 378, 2248, 1332, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 19796, 262, 1271, 286, 3871, 2263, 2779, 2099, 2563, 15077, 508, 550, 2187, 2910, 10488, 275, 291, 42084, 378, 2248, 1332, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, ...
For those records from the products and each product's manufacturer, show me about the correlation between code and price , and group by attribute name in a scatter chart.
SELECT T1.Code, T1.Price FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Name
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 905, 502, 546, 262, 16096, 1022, 2438, 290, 2756, 837, 290, 1448, 416, 11688, 1438, 287, 257, 41058, 8262, 13, 46506, 309, 16, 13, 10669, 11, 309, 16, 13, 18124, 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, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 905, 502, 546, 262, 16096, 1022, 2438, 290, 2756, 837, 290, 1448, 416, 11688, 1438, 287, 257, 41058, 8262, 13, 46506, 309, 16, 13, 10669, 11, 309, 16, 13, 18124, 1603...
What is FA Cup Goals, when Euro Competitions is 1, and when League Goals is 11?
SELECT fa_cup_goals FROM table_name_75 WHERE euro_competitions = "1" AND league_goals = "11"
[ 2061, 318, 9677, 5454, 28510, 11, 618, 1898, 38558, 1756, 318, 352, 11, 290, 618, 4041, 28510, 318, 1367, 30, 46506, 24685, 62, 25244, 62, 2188, 874, 16034, 3084, 62, 3672, 62, 2425, 33411, 11063, 62, 5589, 316, 1756, 796, 366, 16, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 9677, 5454, 28510, 11, 618, 1898, 38558, 1756, 318, 352, 11, 290, 618, 4041, 28510, 318, 1367, 30, 46506, 24685, 62, 25244, 62, 2188, 874, 16034, 3084, 62, 3672, 62, 2425, 33411, 11063, 62, 5589, 316, 1756, 796, 366, 16, ...
What is the news frequency for the show Locker Room?
SELECT news_freq FROM table_name_73 WHERE show_name = "locker room"
[ 2061, 318, 262, 1705, 8373, 329, 262, 905, 406, 12721, 10096, 30, 46506, 1705, 62, 19503, 80, 16034, 3084, 62, 3672, 62, 4790, 33411, 905, 62, 3672, 796, 366, 5354, 263, 2119, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1705, 8373, 329, 262, 905, 406, 12721, 10096, 30, 46506, 1705, 62, 19503, 80, 16034, 3084, 62, 3672, 62, 4790, 33411, 905, 62, 3672, 796, 366, 5354, 263, 2119, 1 ]
What is the minimum amount of poles?
SELECT MIN(poles) FROM table_24937583_1
[ 2061, 318, 262, 5288, 2033, 286, 24971, 30, 46506, 20625, 7, 79, 4316, 8, 16034, 3084, 62, 1731, 6052, 2425, 5999, 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 ]
[ 2061, 318, 262, 5288, 2033, 286, 24971, 30, 46506, 20625, 7, 79, 4316, 8, 16034, 3084, 62, 1731, 6052, 2425, 5999, 62, 16 ]
what kind of plane is used on the earliest flight from BOSTON to SAN FRANCISCO afternoon
SELECT DISTINCT aircraft.aircraft_code FROM aircraft, airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, equipment_sequence, flight WHERE ((CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'BOSTON' AND CITY_1.city_code = AIRPORT_SERVICE_1.cit...
[ 10919, 1611, 286, 6614, 318, 973, 319, 262, 14555, 5474, 422, 347, 10892, 1340, 284, 37376, 8782, 20940, 1797, 8220, 6672, 46506, 360, 8808, 1268, 4177, 6215, 13, 958, 3323, 62, 8189, 16034, 6215, 11, 9003, 62, 15271, 7054, 31600, 15490...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1611, 286, 6614, 318, 973, 319, 262, 14555, 5474, 422, 347, 10892, 1340, 284, 37376, 8782, 20940, 1797, 8220, 6672, 46506, 360, 8808, 1268, 4177, 6215, 13, 958, 3323, 62, 8189, 16034, 6215, 11, 9003, 62, 15271, 7054, 31600, 15490...
HOw many films did martin repka category:articles with hcards direct?
SELECT COUNT("Film title used in nomination") FROM table_24736 WHERE "Director" = 'Martin Repka Category:Articles with hCards'
[ 32298, 86, 867, 7328, 750, 11277, 259, 1128, 4914, 6536, 25, 26845, 351, 289, 27761, 1277, 30, 46506, 327, 28270, 7203, 39750, 3670, 973, 287, 11872, 4943, 16034, 3084, 62, 23753, 2623, 33411, 366, 28702, 1, 796, 705, 24778, 1432, 4914,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 32298, 86, 867, 7328, 750, 11277, 259, 1128, 4914, 6536, 25, 26845, 351, 289, 27761, 1277, 30, 46506, 327, 28270, 7203, 39750, 3670, 973, 287, 11872, 4943, 16034, 3084, 62, 23753, 2623, 33411, 366, 28702, 1, 796, 705, 24778, 1432, 4914,...
Tell me the discovery/publication for still living
SELECT "Discovery / publication of name" FROM table_31627 WHERE "Fossil record" = 'still living'
[ 24446, 502, 262, 9412, 14, 11377, 341, 329, 991, 2877, 46506, 366, 35, 40821, 1220, 9207, 286, 1438, 1, 16034, 3084, 62, 33400, 1983, 33411, 366, 37, 793, 346, 1700, 1, 796, 705, 24219, 2877, 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 ]
[ 24446, 502, 262, 9412, 14, 11377, 341, 329, 991, 2877, 46506, 366, 35, 40821, 1220, 9207, 286, 1438, 1, 16034, 3084, 62, 33400, 1983, 33411, 366, 37, 793, 346, 1700, 1, 796, 705, 24219, 2877, 6 ]
What is the total for a to par bigger than 7 and a player of al geiberger?
SELECT COUNT(total) FROM table_name_58 WHERE player = "al geiberger" AND to_par > 7
[ 2061, 318, 262, 2472, 329, 257, 284, 1582, 5749, 621, 767, 290, 257, 2137, 286, 435, 4903, 1856, 1362, 30, 46506, 327, 28270, 7, 23350, 8, 16034, 3084, 62, 3672, 62, 3365, 33411, 2137, 796, 366, 282, 4903, 1856, 1362, 1, 5357, 284, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 329, 257, 284, 1582, 5749, 621, 767, 290, 257, 2137, 286, 435, 4903, 1856, 1362, 30, 46506, 327, 28270, 7, 23350, 8, 16034, 3084, 62, 3672, 62, 3365, 33411, 2137, 796, 366, 282, 4903, 1856, 1362, 1, 5357, 284, ...
What is the notes of the transmission on channel bbc four and a time of 22:30?
SELECT notes FROM table_name_15 WHERE channel = "bbc four" AND time = "22:30"
[ 2061, 318, 262, 4710, 286, 262, 11478, 319, 6518, 275, 15630, 1440, 290, 257, 640, 286, 2534, 25, 1270, 30, 46506, 4710, 16034, 3084, 62, 3672, 62, 1314, 33411, 6518, 796, 366, 11848, 66, 1440, 1, 5357, 640, 796, 366, 1828, 25, 1270...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4710, 286, 262, 11478, 319, 6518, 275, 15630, 1440, 290, 257, 640, 286, 2534, 25, 1270, 30, 46506, 4710, 16034, 3084, 62, 3672, 62, 1314, 33411, 6518, 796, 366, 11848, 66, 1440, 1, 5357, 640, 796, 366, 1828, 25, 1270...
what is the swimsuit score when evening gown score is 9.165 (3)?
SELECT "Swimsuit" FROM table_7811 WHERE "Evening Gown" = '9.165 (3)'
[ 10919, 318, 262, 9422, 6063, 4776, 618, 6180, 33323, 4776, 318, 860, 13, 20986, 357, 18, 19427, 46506, 366, 10462, 320, 6063, 1, 16034, 3084, 62, 3695, 1157, 33411, 366, 6104, 278, 402, 593, 1, 796, 705, 24, 13, 20986, 357, 18, 3304...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9422, 6063, 4776, 618, 6180, 33323, 4776, 318, 860, 13, 20986, 357, 18, 19427, 46506, 366, 10462, 320, 6063, 1, 16034, 3084, 62, 3695, 1157, 33411, 366, 6104, 278, 402, 593, 1, 796, 705, 24, 13, 20986, 357, 18, 3304...
Which driver had 3 Laps and grids less than 15?
SELECT driver FROM table_name_83 WHERE laps = 3 AND grid < 15
[ 13828, 4639, 550, 513, 406, 1686, 290, 50000, 1342, 621, 1315, 30, 46506, 4639, 16034, 3084, 62, 3672, 62, 5999, 33411, 24590, 796, 513, 5357, 10706, 1279, 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, 1, 1 ]
[ 13828, 4639, 550, 513, 406, 1686, 290, 50000, 1342, 621, 1315, 30, 46506, 4639, 16034, 3084, 62, 3672, 62, 5999, 33411, 24590, 796, 513, 5357, 10706, 1279, 1315 ]
Name the total number of laps for 23rd position
SELECT COUNT(laps) FROM table_name_17 WHERE pos = "23rd"
[ 5376, 262, 2472, 1271, 286, 24590, 329, 2242, 4372, 2292, 46506, 327, 28270, 7, 75, 1686, 8, 16034, 3084, 62, 3672, 62, 1558, 33411, 1426, 796, 366, 1954, 4372, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 2472, 1271, 286, 24590, 329, 2242, 4372, 2292, 46506, 327, 28270, 7, 75, 1686, 8, 16034, 3084, 62, 3672, 62, 1558, 33411, 1426, 796, 366, 1954, 4372, 1 ]
Month history of completed review tasks by type.
WITH Raw AS (SELECT ReviewTasks.Id, DATEFROMPARTS(TIME_TO_STR(ReviewTasks.CreationDate, '%Y'), TIME_TO_STR(ReviewTasks.CreationDate, '%M'), 1) AS Month, ReviewTaskTypes.Name AS ReviewType FROM ReviewTasks, ReviewTaskTypes WHERE ReviewTasks.ReviewTaskTypeId = ReviewTaskTypes.Id AND ReviewTasks.ReviewTaskStateId = 2) SEL...
[ 31948, 2106, 286, 5668, 2423, 8861, 416, 2099, 13, 54, 10554, 16089, 7054, 357, 46506, 6602, 51, 6791, 13, 7390, 11, 360, 6158, 10913, 2662, 27082, 4694, 7, 34694, 62, 10468, 62, 18601, 7, 14832, 51, 6791, 13, 12443, 341, 10430, 11, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 31948, 2106, 286, 5668, 2423, 8861, 416, 2099, 13, 54, 10554, 16089, 7054, 357, 46506, 6602, 51, 6791, 13, 7390, 11, 360, 6158, 10913, 2662, 27082, 4694, 7, 34694, 62, 10468, 62, 18601, 7, 14832, 51, 6791, 13, 12443, 341, 10430, 11, ...
Which dates have a Rally HQ of kingscliff?
SELECT "Dates" FROM table_13651 WHERE "Rally HQ" = 'kingscliff'
[ 13828, 9667, 423, 257, 27752, 25112, 286, 21557, 565, 733, 30, 46506, 366, 35, 689, 1, 16034, 3084, 62, 1485, 40639, 33411, 366, 49, 453, 25112, 1, 796, 705, 74, 654, 565, 733, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 9667, 423, 257, 27752, 25112, 286, 21557, 565, 733, 30, 46506, 366, 35, 689, 1, 16034, 3084, 62, 1485, 40639, 33411, 366, 49, 453, 25112, 1, 796, 705, 74, 654, 565, 733, 6 ]
What is the latest year with less than 2 points, a Mclaren m28 chassis and an Entrant of l wenbr u team mclaren?
SELECT MAX("Year") FROM table_14312 WHERE "Points" < '2' AND "Chassis" = 'mclaren m28' AND "Entrant" = 'löwenbräu team mclaren'
[ 2061, 318, 262, 3452, 614, 351, 1342, 621, 362, 2173, 11, 257, 337, 565, 5757, 285, 2078, 24587, 290, 281, 7232, 5250, 286, 300, 266, 268, 1671, 334, 1074, 285, 565, 5757, 30, 46506, 25882, 7203, 17688, 4943, 16034, 3084, 62, 21139, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3452, 614, 351, 1342, 621, 362, 2173, 11, 257, 337, 565, 5757, 285, 2078, 24587, 290, 281, 7232, 5250, 286, 300, 266, 268, 1671, 334, 1074, 285, 565, 5757, 30, 46506, 25882, 7203, 17688, 4943, 16034, 3084, 62, 21139, ...
count the number of patients whose ethnicity is asian and diagnoses icd9 code is 78057?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.ethnicity = "ASIAN" AND diagnoses.icd9_code = "78057"
[ 9127, 262, 1271, 286, 3871, 3025, 26289, 318, 355, 666, 290, 40567, 14158, 67, 24, 2438, 318, 41287, 3553, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 61...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9127, 262, 1271, 286, 3871, 3025, 26289, 318, 355, 666, 290, 40567, 14158, 67, 24, 2438, 318, 41287, 3553, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 61...
What is the adjusted GDP per capita when the population is 37.376 million?
SELECT "GDP per capita Adjusted ($)" FROM table_20565 WHERE "Population (millions)" = '37.376'
[ 2061, 318, 262, 12328, 12396, 583, 21344, 618, 262, 3265, 318, 5214, 13, 32128, 1510, 30, 46506, 366, 38, 6322, 583, 21344, 45624, 7198, 16725, 16034, 3084, 62, 21261, 2996, 33411, 366, 45251, 357, 17805, 507, 16725, 796, 705, 2718, 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 ]
[ 2061, 318, 262, 12328, 12396, 583, 21344, 618, 262, 3265, 318, 5214, 13, 32128, 1510, 30, 46506, 366, 38, 6322, 583, 21344, 45624, 7198, 16725, 16034, 3084, 62, 21261, 2996, 33411, 366, 45251, 357, 17805, 507, 16725, 796, 705, 2718, 13,...
What year has a Schwante smaller than 2.043, an Eichst dt smaller than 848, and a B renklau smaller than 1.262?
SELECT COUNT(year) FROM table_name_30 WHERE schwante < 2.043 AND eichstädt < 848 AND bärenklau < 1.262
[ 2061, 614, 468, 257, 20469, 12427, 4833, 621, 362, 13, 48768, 11, 281, 412, 488, 301, 288, 83, 4833, 621, 807, 2780, 11, 290, 257, 347, 8851, 41582, 559, 4833, 621, 352, 13, 29119, 30, 46506, 327, 28270, 7, 1941, 8, 16034, 3084, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 614, 468, 257, 20469, 12427, 4833, 621, 362, 13, 48768, 11, 281, 412, 488, 301, 288, 83, 4833, 621, 807, 2780, 11, 290, 257, 347, 8851, 41582, 559, 4833, 621, 352, 13, 29119, 30, 46506, 327, 28270, 7, 1941, 8, 16034, 3084, 6...
The rep for the owner, commenter and replier. http://meta.stackexchange.com/questions/228620/querying-for-reputation-of-the-commenter-and-its-addressee-using-sede/234278#234278
SELECT c.Id, PostId, 'text', STR_POSITION('text', '@') AS at1, STR_POSITION('text', ' ', STR_POSITION('text', '@')) AS at1Token, SUBSTRING('text', STR_POSITION('text', '@') + 1, STR_POSITION('text', ' ', STR_POSITION('text', '@')) - (STR_POSITION('text', '@') + 1)) AS atreply, u.Id, u.DisplayName, owner.Id, owner.Displ...
[ 464, 1128, 329, 262, 4870, 11, 46914, 290, 2186, 959, 13, 2638, 1378, 28961, 13, 301, 330, 365, 87, 3803, 13, 785, 14, 6138, 507, 14, 1828, 4521, 1238, 14, 10819, 1112, 12, 1640, 12, 260, 1996, 341, 12, 1659, 12, 1169, 12, 23893, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1128, 329, 262, 4870, 11, 46914, 290, 2186, 959, 13, 2638, 1378, 28961, 13, 301, 330, 365, 87, 3803, 13, 785, 14, 6138, 507, 14, 1828, 4521, 1238, 14, 10819, 1112, 12, 1640, 12, 260, 1996, 341, 12, 1659, 12, 1169, 12, 23893, ...
Find employee with ID and name of the country presently where (s)he is working. Visualize by bar chart.
SELECT COUNTRY_NAME, SUM(EMPLOYEE_ID) FROM employees AS T1 JOIN departments AS T2 ON T1.DEPARTMENT_ID = T2.DEPARTMENT_ID JOIN locations AS T3 ON T2.LOCATION_ID = T3.LOCATION_ID JOIN countries AS T4 ON T3.COUNTRY_ID = T4.COUNTRY_ID GROUP BY COUNTRY_NAME
[ 16742, 6538, 351, 4522, 290, 1438, 286, 262, 1499, 27606, 810, 357, 82, 8, 258, 318, 1762, 13, 15612, 1096, 416, 2318, 8262, 13, 46506, 31404, 40405, 62, 20608, 11, 35683, 7, 3620, 6489, 21414, 6500, 62, 2389, 8, 16034, 4409, 7054, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 16742, 6538, 351, 4522, 290, 1438, 286, 262, 1499, 27606, 810, 357, 82, 8, 258, 318, 1762, 13, 15612, 1096, 416, 2318, 8262, 13, 46506, 31404, 40405, 62, 20608, 11, 35683, 7, 3620, 6489, 21414, 6500, 62, 2389, 8, 16034, 4409, 7054, ...
Give me the number of hispanic/latino-puerto rican patients with unique drug code hydx25.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.ethnicity = "HISPANIC/LATINO - PUERTO RICAN" AND prescriptions.formulary_drug_cd = "HYDX25"
[ 23318, 502, 262, 1271, 286, 465, 35843, 14, 15460, 2879, 12, 19944, 13806, 374, 7490, 3871, 351, 3748, 2563, 2438, 7409, 87, 1495, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 23318, 502, 262, 1271, 286, 465, 35843, 14, 15460, 2879, 12, 19944, 13806, 374, 7490, 3871, 351, 3748, 2563, 2438, 7409, 87, 1495, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479...
When was the song titled if you talk in your sleep released?
SELECT release_date FROM table_name_34 WHERE song_title = "if you talk in your sleep"
[ 2215, 373, 262, 3496, 11946, 611, 345, 1561, 287, 534, 3993, 2716, 30, 46506, 2650, 62, 4475, 16034, 3084, 62, 3672, 62, 2682, 33411, 3496, 62, 7839, 796, 366, 361, 345, 1561, 287, 534, 3993, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 373, 262, 3496, 11946, 611, 345, 1561, 287, 534, 3993, 2716, 30, 46506, 2650, 62, 4475, 16034, 3084, 62, 3672, 62, 2682, 33411, 3496, 62, 7839, 796, 366, 361, 345, 1561, 287, 534, 3993, 1 ]
Top 500 users from india.
SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation FROM Users WHERE LOWER(Location) LIKE '%india%' AND DisplayName LIKE '%geek%' ORDER BY Reputation DESC LIMIT 500
[ 9126, 5323, 2985, 422, 773, 544, 13, 46506, 371, 3913, 62, 41359, 13246, 3419, 28729, 357, 12532, 1137, 11050, 1432, 7094, 22196, 34, 8, 7054, 25113, 1600, 5121, 7054, 366, 7220, 62, 8726, 1600, 1432, 7094, 16034, 18987, 33411, 406, 360...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9126, 5323, 2985, 422, 773, 544, 13, 46506, 371, 3913, 62, 41359, 13246, 3419, 28729, 357, 12532, 1137, 11050, 1432, 7094, 22196, 34, 8, 7054, 25113, 1600, 5121, 7054, 366, 7220, 62, 8726, 1600, 1432, 7094, 16034, 18987, 33411, 406, 360...
Name the most laps for corvette racing in 2004
SELECT MAX("Laps") FROM table_68663 WHERE "Team" = 'corvette racing' AND "Year" = '2004'
[ 5376, 262, 749, 24590, 329, 1162, 33573, 11717, 287, 5472, 46506, 25882, 7203, 43, 1686, 4943, 16034, 3084, 62, 3104, 45791, 33411, 366, 15592, 1, 796, 705, 10215, 33573, 11717, 6, 5357, 366, 17688, 1, 796, 705, 15724, 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 ]
[ 5376, 262, 749, 24590, 329, 1162, 33573, 11717, 287, 5472, 46506, 25882, 7203, 43, 1686, 4943, 16034, 3084, 62, 3104, 45791, 33411, 366, 15592, 1, 796, 705, 10215, 33573, 11717, 6, 5357, 366, 17688, 1, 796, 705, 15724, 6 ]
Who is player number 51?
SELECT player FROM table_11545282_11 WHERE no = "51"
[ 8241, 318, 2137, 1271, 6885, 30, 46506, 2137, 16034, 3084, 62, 15363, 2231, 32568, 62, 1157, 33411, 645, 796, 366, 4349, 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, 2137, 1271, 6885, 30, 46506, 2137, 16034, 3084, 62, 15363, 2231, 32568, 62, 1157, 33411, 645, 796, 366, 4349, 1 ]
How many bookings for different guests? Show me a bar chart grouping by guest first name, could you list by the names in ascending please?
SELECT guest_first_name, COUNT(guest_first_name) FROM Apartment_Bookings AS T1 JOIN Guests AS T2 ON T1.guest_id = T2.guest_id GROUP BY guest_first_name ORDER BY guest_first_name
[ 2437, 867, 1492, 654, 329, 1180, 10650, 30, 5438, 502, 257, 2318, 8262, 36115, 416, 8319, 717, 1438, 11, 714, 345, 1351, 416, 262, 3891, 287, 41988, 3387, 30, 46506, 8319, 62, 11085, 62, 3672, 11, 327, 28270, 7, 5162, 395, 62, 11085...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1492, 654, 329, 1180, 10650, 30, 5438, 502, 257, 2318, 8262, 36115, 416, 8319, 717, 1438, 11, 714, 345, 1351, 416, 262, 3891, 287, 41988, 3387, 30, 46506, 8319, 62, 11085, 62, 3672, 11, 327, 28270, 7, 5162, 395, 62, 11085...
what is drug code and drug route of drug name potassium chl 40 meq / 1000 ml ns?
SELECT prescriptions.formulary_drug_cd, prescriptions.route FROM prescriptions WHERE prescriptions.drug = "Potassium Chl 40 mEq / 1000 mL NS"
[ 10919, 318, 2563, 2438, 290, 2563, 6339, 286, 2563, 1438, 33156, 442, 75, 2319, 502, 80, 1220, 8576, 25962, 36545, 30, 46506, 34092, 13, 687, 377, 560, 62, 30349, 62, 10210, 11, 34092, 13, 38629, 16034, 34092, 33411, 34092, 13, 30349, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2563, 2438, 290, 2563, 6339, 286, 2563, 1438, 33156, 442, 75, 2319, 502, 80, 1220, 8576, 25962, 36545, 30, 46506, 34092, 13, 687, 377, 560, 62, 30349, 62, 10210, 11, 34092, 13, 38629, 16034, 34092, 33411, 34092, 13, 30349, ...
Ken Hemenway is in which Round?
SELECT round FROM table_name_23 WHERE player = "ken hemenway"
[ 27827, 367, 8952, 1014, 318, 287, 543, 10485, 30, 46506, 2835, 16034, 3084, 62, 3672, 62, 1954, 33411, 2137, 796, 366, 3464, 339, 3653, 1014, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 27827, 367, 8952, 1014, 318, 287, 543, 10485, 30, 46506, 2835, 16034, 3084, 62, 3672, 62, 1954, 33411, 2137, 796, 366, 3464, 339, 3653, 1014, 1 ]
Container Orchestration Weekly Popularity, by Tag.
SELECT DATEADD(week, DATEDIFF(week, 0, CreationDate), 0) AS m, TagName, COUNT(*) FROM PostTags AS pt JOIN Posts AS q ON q.Id = pt.PostId JOIN Tags AS t ON t.Id = pt.TagId WHERE TagName IN ('serverless', 'containers', 'dockeree') AND q.CreationDate < DATEADD(week, DATEDIFF(week, 0, GETDATE()), 0) AND q.CreationDate < '2...
[ 29869, 30369, 12401, 18168, 22623, 414, 11, 416, 17467, 13, 46506, 360, 6158, 29266, 7, 10464, 11, 360, 11617, 29267, 7, 10464, 11, 657, 11, 21582, 10430, 828, 657, 8, 7054, 285, 11, 17467, 5376, 11, 327, 28270, 7, 28104, 16034, 2947,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 29869, 30369, 12401, 18168, 22623, 414, 11, 416, 17467, 13, 46506, 360, 6158, 29266, 7, 10464, 11, 360, 11617, 29267, 7, 10464, 11, 657, 11, 21582, 10430, 828, 657, 8, 7054, 285, 11, 17467, 5376, 11, 327, 28270, 7, 28104, 16034, 2947,...
Which Model has hybrid propulsion?
SELECT model FROM table_name_59 WHERE propulsion = "hybrid"
[ 13828, 9104, 468, 14554, 38873, 30, 46506, 2746, 16034, 3084, 62, 3672, 62, 3270, 33411, 38873, 796, 366, 12114, 10236, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 9104, 468, 14554, 38873, 30, 46506, 2746, 16034, 3084, 62, 3672, 62, 3270, 33411, 38873, 796, 366, 12114, 10236, 1 ]
What was the date of appointment for the manager of lecce when the previous manager's contract expired?
SELECT date_of_appointment FROM table_name_79 WHERE manner_of_departure = "contract expired" AND team = "lecce"
[ 2061, 373, 262, 3128, 286, 12557, 329, 262, 4706, 286, 443, 66, 344, 618, 262, 2180, 4706, 338, 2775, 21350, 30, 46506, 3128, 62, 1659, 62, 1324, 49805, 16034, 3084, 62, 3672, 62, 3720, 33411, 5642, 62, 1659, 62, 10378, 433, 495, 79...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12557, 329, 262, 4706, 286, 443, 66, 344, 618, 262, 2180, 4706, 338, 2775, 21350, 30, 46506, 3128, 62, 1659, 62, 1324, 49805, 16034, 3084, 62, 3672, 62, 3720, 33411, 5642, 62, 1659, 62, 10378, 433, 495, 79...
Give me the comparison about ID over the meter_500 , rank in ascending by the x axis.
SELECT meter_500, ID FROM swimmer ORDER BY meter_500
[ 23318, 502, 262, 7208, 546, 4522, 625, 262, 16430, 62, 4059, 837, 4279, 287, 41988, 416, 262, 2124, 16488, 13, 46506, 16430, 62, 4059, 11, 4522, 16034, 9422, 647, 38678, 11050, 16430, 62, 4059 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 23318, 502, 262, 7208, 546, 4522, 625, 262, 16430, 62, 4059, 837, 4279, 287, 41988, 416, 262, 2124, 16488, 13, 46506, 16430, 62, 4059, 11, 4522, 16034, 9422, 647, 38678, 11050, 16430, 62, 4059 ]
What is the Selsdon for the 17:19 Coombe Road?
SELECT selsdon FROM table_name_14 WHERE coombe_road = "17:19"
[ 2061, 318, 262, 311, 1424, 9099, 329, 262, 1596, 25, 1129, 1766, 296, 1350, 5567, 30, 46506, 384, 7278, 9099, 16034, 3084, 62, 3672, 62, 1415, 33411, 763, 296, 1350, 62, 6344, 796, 366, 1558, 25, 1129, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 311, 1424, 9099, 329, 262, 1596, 25, 1129, 1766, 296, 1350, 5567, 30, 46506, 384, 7278, 9099, 16034, 3084, 62, 3672, 62, 1415, 33411, 763, 296, 1350, 62, 6344, 796, 366, 1558, 25, 1129, 1 ]
What team does Graeme Souness manage?
SELECT team FROM table_name_32 WHERE manager = "graeme souness"
[ 2061, 1074, 857, 7037, 34755, 311, 977, 408, 6687, 30, 46506, 1074, 16034, 3084, 62, 3672, 62, 2624, 33411, 4706, 796, 366, 46784, 34755, 264, 977, 408, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1074, 857, 7037, 34755, 311, 977, 408, 6687, 30, 46506, 1074, 16034, 3084, 62, 3672, 62, 2624, 33411, 4706, 796, 366, 46784, 34755, 264, 977, 408, 1 ]
Which Pos has a Team of circle bar racing, and a Car # smaller than 14?
SELECT MAX("Pos.") FROM table_38294 WHERE "Team" = 'circle bar racing' AND "Car #" < '14'
[ 13828, 18574, 468, 257, 4816, 286, 9197, 2318, 11717, 11, 290, 257, 1879, 1303, 4833, 621, 1478, 30, 46506, 25882, 7203, 21604, 19570, 16034, 3084, 62, 2548, 27696, 33411, 366, 15592, 1, 796, 705, 45597, 2318, 11717, 6, 5357, 366, 9914,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 18574, 468, 257, 4816, 286, 9197, 2318, 11717, 11, 290, 257, 1879, 1303, 4833, 621, 1478, 30, 46506, 25882, 7203, 21604, 19570, 16034, 3084, 62, 2548, 27696, 33411, 366, 15592, 1, 796, 705, 45597, 2318, 11717, 6, 5357, 366, 9914,...
Name the theatre name for french
SELECT theatre_name FROM table_2461720_1 WHERE language_of_films = "French"
[ 5376, 262, 21421, 1438, 329, 48718, 46506, 21421, 62, 3672, 16034, 3084, 62, 26912, 1558, 1238, 62, 16, 33411, 3303, 62, 1659, 62, 10379, 907, 796, 366, 24111, 1 ]
[ 1, 1, 1, 1, 1, 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, 21421, 1438, 329, 48718, 46506, 21421, 62, 3672, 16034, 3084, 62, 26912, 1558, 1238, 62, 16, 33411, 3303, 62, 1659, 62, 10379, 907, 796, 366, 24111, 1 ]
What is the free sotware with the latest stable date version of 1.1?
SELECT software FROM table_name_78 WHERE cost___usd__ = "free" AND latest_stable_date__version_ = "1.1"
[ 2061, 318, 262, 1479, 264, 313, 1574, 351, 262, 3452, 8245, 3128, 2196, 286, 352, 13, 16, 30, 46506, 3788, 16034, 3084, 62, 3672, 62, 3695, 33411, 1575, 17569, 385, 67, 834, 796, 366, 5787, 1, 5357, 3452, 62, 31284, 62, 4475, 834, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1479, 264, 313, 1574, 351, 262, 3452, 8245, 3128, 2196, 286, 352, 13, 16, 30, 46506, 3788, 16034, 3084, 62, 3672, 62, 3695, 33411, 1575, 17569, 385, 67, 834, 796, 366, 5787, 1, 5357, 3452, 62, 31284, 62, 4475, 834, ...
How long did the game go that was played with the Houston Oilers at home?
SELECT length_of_game FROM table_name_31 WHERE home_team = "houston oilers"
[ 2437, 890, 750, 262, 983, 467, 326, 373, 2826, 351, 262, 6995, 35004, 379, 1363, 30, 46506, 4129, 62, 1659, 62, 6057, 16034, 3084, 62, 3672, 62, 3132, 33411, 1363, 62, 15097, 796, 366, 71, 6526, 3056, 364, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 890, 750, 262, 983, 467, 326, 373, 2826, 351, 262, 6995, 35004, 379, 1363, 30, 46506, 4129, 62, 1659, 62, 6057, 16034, 3084, 62, 3672, 62, 3132, 33411, 1363, 62, 15097, 796, 366, 71, 6526, 3056, 364, 1 ]
Which 2007/ 08 has a 2011/ 12 of ur?
SELECT "2007/ 08" FROM table_37823 WHERE "2011/ 12" = 'ur'
[ 13828, 4343, 14, 8487, 468, 257, 2813, 14, 1105, 286, 2956, 30, 46506, 366, 12726, 14, 8487, 1, 16034, 3084, 62, 30695, 1954, 33411, 366, 9804, 14, 1105, 1, 796, 705, 333, 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 ]
[ 13828, 4343, 14, 8487, 468, 257, 2813, 14, 1105, 286, 2956, 30, 46506, 366, 12726, 14, 8487, 1, 16034, 3084, 62, 30695, 1954, 33411, 366, 9804, 14, 1105, 1, 796, 705, 333, 6 ]
How many games played have 4.7 as points per game?
SELECT "Games played" FROM table_73584 WHERE "Points per game" = '4.7'
[ 2437, 867, 1830, 2826, 423, 604, 13, 22, 355, 2173, 583, 983, 30, 46506, 366, 24474, 2826, 1, 16034, 3084, 62, 22, 2327, 5705, 33411, 366, 40710, 583, 983, 1, 796, 705, 19, 13, 22, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 1830, 2826, 423, 604, 13, 22, 355, 2173, 583, 983, 30, 46506, 366, 24474, 2826, 1, 16034, 3084, 62, 22, 2327, 5705, 33411, 366, 40710, 583, 983, 1, 796, 705, 19, 13, 22, 6 ]
What's the location when the notes area is notes?
SELECT location FROM table_name_27 WHERE "notes" = "notes"
[ 2061, 338, 262, 4067, 618, 262, 4710, 1989, 318, 4710, 30, 46506, 4067, 16034, 3084, 62, 3672, 62, 1983, 33411, 366, 17815, 1, 796, 366, 17815, 1 ]
[ 1, 1, 1, 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, 4067, 618, 262, 4710, 1989, 318, 4710, 30, 46506, 4067, 16034, 3084, 62, 3672, 62, 1983, 33411, 366, 17815, 1, 796, 366, 17815, 1 ]
What is the lowest number of goals scored for the entry with goals conceded larger than 30, lost larger than 3, and fewer than 6 draws?
SELECT MIN(goals_scored) FROM table_name_94 WHERE draw < 6 AND lost > 3 AND goals_conceded > 30
[ 2061, 318, 262, 9016, 1271, 286, 4661, 7781, 329, 262, 5726, 351, 4661, 24684, 4025, 621, 1542, 11, 2626, 4025, 621, 513, 11, 290, 7380, 621, 718, 14293, 30, 46506, 20625, 7, 2188, 874, 62, 1416, 1850, 8, 16034, 3084, 62, 3672, 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 ]
[ 2061, 318, 262, 9016, 1271, 286, 4661, 7781, 329, 262, 5726, 351, 4661, 24684, 4025, 621, 1542, 11, 2626, 4025, 621, 513, 11, 290, 7380, 621, 718, 14293, 30, 46506, 20625, 7, 2188, 874, 62, 1416, 1850, 8, 16034, 3084, 62, 3672, 62, ...
Name the Scored which has a Position larger than 6?
SELECT COUNT(scored) FROM table_name_28 WHERE position > 6
[ 5376, 262, 1446, 1850, 543, 468, 257, 23158, 4025, 621, 718, 30, 46506, 327, 28270, 7, 1416, 1850, 8, 16034, 3084, 62, 3672, 62, 2078, 33411, 2292, 1875, 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, 1, 1, 1, 1 ]
[ 5376, 262, 1446, 1850, 543, 468, 257, 23158, 4025, 621, 718, 30, 46506, 327, 28270, 7, 1416, 1850, 8, 16034, 3084, 62, 3672, 62, 2078, 33411, 2292, 1875, 718 ]
What are the ids and names of the companies that operated more than one flight, and order bars in ascending order.
SELECT T1.name, T1.id FROM operate_company AS T1 JOIN flight AS t2 ON T1.id = T2.company_id ORDER BY T1.name
[ 2061, 389, 262, 220, 2340, 290, 3891, 286, 262, 2706, 326, 12228, 517, 621, 530, 5474, 11, 290, 1502, 9210, 287, 41988, 1502, 13, 46506, 309, 16, 13, 3672, 11, 309, 16, 13, 312, 16034, 8076, 62, 39722, 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...
[ 2061, 389, 262, 220, 2340, 290, 3891, 286, 262, 2706, 326, 12228, 517, 621, 530, 5474, 11, 290, 1502, 9210, 287, 41988, 1502, 13, 46506, 309, 16, 13, 3672, 11, 309, 16, 13, 312, 16034, 8076, 62, 39722, 7054, 309, 16, 32357, 1268, ...
a score of 15 or more on the modified geriatric depression scale ( gds ) ;
SELECT * FROM table_train_112 WHERE modified_geriatric_depression_scale_gds >= 15
[ 64, 4776, 286, 1315, 393, 517, 319, 262, 9518, 27602, 11439, 8862, 5046, 357, 308, 9310, 1267, 2162, 46506, 1635, 16034, 3084, 62, 27432, 62, 14686, 33411, 9518, 62, 1362, 11439, 62, 10378, 2234, 62, 9888, 62, 70, 9310, 18189, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 64, 4776, 286, 1315, 393, 517, 319, 262, 9518, 27602, 11439, 8862, 5046, 357, 308, 9310, 1267, 2162, 46506, 1635, 16034, 3084, 62, 27432, 62, 14686, 33411, 9518, 62, 1362, 11439, 62, 10378, 2234, 62, 9888, 62, 70, 9310, 18189, 1315 ]
Which school/club team did blue edwards play for
SELECT "School/Club Team" FROM table_72794 WHERE "Player" = 'Blue Edwards'
[ 13828, 1524, 14, 18664, 1074, 750, 4171, 1225, 2017, 711, 329, 46506, 366, 26130, 14, 42350, 4816, 1, 16034, 3084, 62, 47760, 5824, 33411, 366, 14140, 1, 796, 705, 14573, 17381, 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 ]
[ 13828, 1524, 14, 18664, 1074, 750, 4171, 1225, 2017, 711, 329, 46506, 366, 26130, 14, 42350, 4816, 1, 16034, 3084, 62, 47760, 5824, 33411, 366, 14140, 1, 796, 705, 14573, 17381, 6 ]
What is the average Bronze when silver is more than 2, and rank is 2, and gold more than 2
SELECT AVG(bronze) FROM table_name_62 WHERE silver > "2" AND rank = "2" AND gold > 2
[ 2061, 318, 262, 2811, 19461, 618, 8465, 318, 517, 621, 362, 11, 290, 4279, 318, 362, 11, 290, 3869, 517, 621, 362, 46506, 35224, 7, 65, 1313, 2736, 8, 16034, 3084, 62, 3672, 62, 5237, 33411, 8465, 1875, 366, 17, 1, 5357, 4279, 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 ]
[ 2061, 318, 262, 2811, 19461, 618, 8465, 318, 517, 621, 362, 11, 290, 4279, 318, 362, 11, 290, 3869, 517, 621, 362, 46506, 35224, 7, 65, 1313, 2736, 8, 16034, 3084, 62, 3672, 62, 5237, 33411, 8465, 1875, 366, 17, 1, 5357, 4279, 796...
Find the grade taught in classroom 103.
SELECT DISTINCT grade FROM list WHERE classroom = 103
[ 16742, 262, 9559, 7817, 287, 15806, 15349, 13, 46506, 360, 8808, 1268, 4177, 9559, 16034, 1351, 33411, 15806, 796, 15349 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16742, 262, 9559, 7817, 287, 15806, 15349, 13, 46506, 360, 8808, 1268, 4177, 9559, 16034, 1351, 33411, 15806, 796, 15349 ]
Name the most losses for leslie mann
SELECT MAX("Losses") FROM table_20873 WHERE "Manager" = 'Leslie Mann'
[ 5376, 262, 749, 9089, 329, 10287, 14485, 582, 77, 46506, 25882, 7203, 43, 793, 274, 4943, 16034, 3084, 62, 21315, 4790, 33411, 366, 13511, 1, 796, 705, 35882, 14485, 20291, 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 ]
[ 5376, 262, 749, 9089, 329, 10287, 14485, 582, 77, 46506, 25882, 7203, 43, 793, 274, 4943, 16034, 3084, 62, 21315, 4790, 33411, 366, 13511, 1, 796, 705, 35882, 14485, 20291, 6 ]
just count how many patients have been prescribed insulin lispro 100 units/ml subq soln since 6 years ago.
SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.patientunitstayid IN (SELECT medication.patientunitstayid FROM medication WHERE medication.drugname = 'insulin lispro 100 units/ml subq soln' AND DATETIME(medication.drugstarttime) >= DATETIME(CURRENT_TIME(), '-6 year'))
[ 3137, 954, 703, 867, 3871, 423, 587, 14798, 14588, 300, 271, 1676, 1802, 4991, 14, 4029, 850, 80, 1540, 77, 1201, 718, 812, 2084, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 5827, 13, 403, 1557, 538, 312, 8, 16034, 5827, 33411, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3137, 954, 703, 867, 3871, 423, 587, 14798, 14588, 300, 271, 1676, 1802, 4991, 14, 4029, 850, 80, 1540, 77, 1201, 718, 812, 2084, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 5827, 13, 403, 1557, 538, 312, 8, 16034, 5827, 33411, ...
Who is moving to Metalurh Donetsk?
SELECT "Name" FROM table_44677 WHERE "Moving to" = 'metalurh donetsk'
[ 8241, 318, 3867, 284, 12136, 333, 71, 31819, 30, 46506, 366, 5376, 1, 16034, 3084, 62, 2598, 40179, 33411, 366, 33622, 284, 1, 796, 705, 28469, 333, 71, 836, 29515, 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, 3867, 284, 12136, 333, 71, 31819, 30, 46506, 366, 5376, 1, 16034, 3084, 62, 2598, 40179, 33411, 366, 33622, 284, 1, 796, 705, 28469, 333, 71, 836, 29515, 6 ]
What is the nationality of the player listed that played in 1996?
SELECT "Nationality" FROM table_4907 WHERE "From" = '1996'
[ 2061, 318, 262, 29835, 286, 262, 2137, 5610, 326, 2826, 287, 8235, 30, 46506, 366, 16186, 414, 1, 16034, 3084, 62, 2920, 2998, 33411, 366, 4863, 1, 796, 705, 22288, 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, 29835, 286, 262, 2137, 5610, 326, 2826, 287, 8235, 30, 46506, 366, 16186, 414, 1, 16034, 3084, 62, 2920, 2998, 33411, 366, 4863, 1, 796, 705, 22288, 6 ]
DBA - Total Posts by Database Server Per Month - AmazonRDS.
SELECT CONCAT(YEAR(P.CreationDate), '-', MONTH(P.CreationDate)) AS YearMonth, 'AmazonRDS' AS TagName, COUNT(*) AS PostCount FROM Posts AS P INNER JOIN PostTags AS PT ON (P.Id = PT.PostId) INNER JOIN Tags AS T ON (PT.TagId = T.Id) WHERE T.TagName LIKE 'amazonrds%' GROUP BY YEAR(P.CreationDate), MONTH(P.CreationDate) ORD...
[ 35, 4339, 532, 7472, 12043, 416, 24047, 9652, 2448, 16061, 532, 6186, 49, 5258, 13, 46506, 39962, 1404, 7, 56, 17133, 7, 47, 13, 12443, 341, 10430, 828, 705, 12, 3256, 25000, 4221, 7, 47, 13, 12443, 341, 10430, 4008, 7054, 6280, 319...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 35, 4339, 532, 7472, 12043, 416, 24047, 9652, 2448, 16061, 532, 6186, 49, 5258, 13, 46506, 39962, 1404, 7, 56, 17133, 7, 47, 13, 12443, 341, 10430, 828, 705, 12, 3256, 25000, 4221, 7, 47, 13, 12443, 341, 10430, 4008, 7054, 6280, 319...
Which Alliance Constituency has Seamus Close, position 2 and an election smaller than 1997?
SELECT "Constituency" FROM table_4389 WHERE "Party" = 'alliance' AND "Election" < '1997' AND "Position" = '2' AND "Candidate" = 'seamus close'
[ 13828, 10302, 4757, 34272, 1387, 468, 1001, 25509, 13872, 11, 2292, 362, 290, 281, 3071, 4833, 621, 8309, 30, 46506, 366, 34184, 34272, 1387, 1, 16034, 3084, 62, 19, 29769, 33411, 366, 33553, 1, 796, 705, 439, 3610, 6, 5357, 366, 36, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 13828, 10302, 4757, 34272, 1387, 468, 1001, 25509, 13872, 11, 2292, 362, 290, 281, 3071, 4833, 621, 8309, 30, 46506, 366, 34184, 34272, 1387, 1, 16034, 3084, 62, 19, 29769, 33411, 366, 33553, 1, 796, 705, 439, 3610, 6, 5357, 366, 36, ...
What is the sum of Points, when Played is less than 114, when Team is Gimnasia De Jujuy, and when 1994-1995 is less than 32?
SELECT SUM("Points") FROM table_9671 WHERE "Played" < '114' AND "Team" = 'gimnasia de jujuy' AND "1994-1995" < '32'
[ 2061, 318, 262, 2160, 286, 11045, 11, 618, 33101, 318, 1342, 621, 17342, 11, 618, 4816, 318, 41123, 77, 23218, 1024, 12585, 73, 4669, 11, 290, 618, 9162, 12, 21908, 318, 1342, 621, 3933, 30, 46506, 35683, 7203, 40710, 4943, 16034, 308...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 318, 262, 2160, 286, 11045, 11, 618, 33101, 318, 1342, 621, 17342, 11, 618, 4816, 318, 41123, 77, 23218, 1024, 12585, 73, 4669, 11, 290, 618, 9162, 12, 21908, 318, 1342, 621, 3933, 30, 46506, 35683, 7203, 40710, 4943, 16034, 308...
Which Attendance has a Date of december 22, 1985, and a Week smaller than 16?
SELECT SUM(attendance) FROM table_name_65 WHERE date = "december 22, 1985" AND week < 16
[ 13828, 46502, 590, 468, 257, 7536, 286, 390, 3273, 2534, 11, 12863, 11, 290, 257, 6119, 4833, 621, 1467, 30, 46506, 35683, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 2996, 33411, 3128, 796, 366, 2934, 3273, 2534, 11, 12863, 1,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 46502, 590, 468, 257, 7536, 286, 390, 3273, 2534, 11, 12863, 11, 290, 257, 6119, 4833, 621, 1467, 30, 46506, 35683, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 2996, 33411, 3128, 796, 366, 2934, 3273, 2534, 11, 12863, 1,...
what is religion and death status of subject id 4589?
SELECT demographic.religion, demographic.expire_flag FROM demographic WHERE demographic.subject_id = "4589"
[ 10919, 318, 5737, 290, 1918, 3722, 286, 2426, 4686, 604, 44169, 30, 46506, 16728, 13, 2411, 17035, 11, 16728, 13, 1069, 5111, 62, 32109, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 2231, 4531, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5737, 290, 1918, 3722, 286, 2426, 4686, 604, 44169, 30, 46506, 16728, 13, 2411, 17035, 11, 16728, 13, 1069, 5111, 62, 32109, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 2231, 4531, 1 ]
What city is the Stadium est dio cidade de barcelos in?
SELECT "City" FROM table_62636 WHERE "Stadium" = 'estádio cidade de barcelos'
[ 2061, 1748, 318, 262, 10499, 1556, 288, 952, 269, 312, 671, 390, 2318, 5276, 418, 287, 30, 46506, 366, 14941, 1, 16034, 3084, 62, 45191, 2623, 33411, 366, 1273, 6271, 1, 796, 705, 395, 6557, 67, 952, 269, 312, 671, 390, 2318, 5276, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1748, 318, 262, 10499, 1556, 288, 952, 269, 312, 671, 390, 2318, 5276, 418, 287, 30, 46506, 366, 14941, 1, 16034, 3084, 62, 45191, 2623, 33411, 366, 1273, 6271, 1, 796, 705, 395, 6557, 67, 952, 269, 312, 671, 390, 2318, 5276, ...
Give me a bar chart for the number of date moved in of each date moved in, and list y axis from high to low order.
SELECT date_moved_in, COUNT(date_moved_in) FROM Residents ORDER BY COUNT(date_moved_in) DESC
[ 23318, 502, 257, 2318, 8262, 329, 262, 1271, 286, 3128, 3888, 287, 286, 1123, 3128, 3888, 287, 11, 290, 1351, 331, 16488, 422, 1029, 284, 1877, 1502, 13, 46506, 3128, 62, 76, 2668, 62, 259, 11, 327, 28270, 7, 4475, 62, 76, 2668, 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 ]
[ 23318, 502, 257, 2318, 8262, 329, 262, 1271, 286, 3128, 3888, 287, 286, 1123, 3128, 3888, 287, 11, 290, 1351, 331, 16488, 422, 1029, 284, 1877, 1502, 13, 46506, 3128, 62, 76, 2668, 62, 259, 11, 327, 28270, 7, 4475, 62, 76, 2668, 6...
What sport was played by the team founded in 2010?
SELECT "Sport" FROM table_66379 WHERE "Founded" = '2010'
[ 2061, 6332, 373, 2826, 416, 262, 1074, 9393, 287, 3050, 30, 46506, 366, 42576, 1, 16034, 3084, 62, 2791, 29088, 33411, 366, 37, 6302, 1, 796, 705, 10333, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 6332, 373, 2826, 416, 262, 1074, 9393, 287, 3050, 30, 46506, 366, 42576, 1, 16034, 3084, 62, 2791, 29088, 33411, 366, 37, 6302, 1, 796, 705, 10333, 6 ]
Which Wins have Losses smaller than 6, and a Position of 4, and Played larger than 9?
SELECT MIN("Wins") FROM table_66360 WHERE "Losses" < '6' AND "Position" = '4' AND "Played" > '9'
[ 13828, 24423, 423, 22014, 274, 4833, 621, 718, 11, 290, 257, 23158, 286, 604, 11, 290, 33101, 4025, 621, 860, 30, 46506, 20625, 7203, 54, 1040, 4943, 16034, 3084, 62, 2791, 15277, 33411, 366, 43, 793, 274, 1, 1279, 705, 21, 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 ]
[ 13828, 24423, 423, 22014, 274, 4833, 621, 718, 11, 290, 257, 23158, 286, 604, 11, 290, 33101, 4025, 621, 860, 30, 46506, 20625, 7203, 54, 1040, 4943, 16034, 3084, 62, 2791, 15277, 33411, 366, 43, 793, 274, 1, 1279, 705, 21, 6, 5357,...
What is the 10:30 PM when the 08:00 PM is [v] play & learn, and a Time of Sunday?
SELECT "10:30 PM" FROM table_42552 WHERE "08:00 PM" = '[v] play & learn' AND "Time" = 'sunday'
[ 2061, 318, 262, 838, 25, 1270, 3122, 618, 262, 8487, 25, 405, 3122, 318, 685, 85, 60, 711, 1222, 2193, 11, 290, 257, 3862, 286, 3502, 30, 46506, 366, 940, 25, 1270, 3122, 1, 16034, 3084, 62, 32114, 4309, 33411, 366, 2919, 25, 405,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 318, 262, 838, 25, 1270, 3122, 618, 262, 8487, 25, 405, 3122, 318, 685, 85, 60, 711, 1222, 2193, 11, 290, 257, 3862, 286, 3502, 30, 46506, 366, 940, 25, 1270, 3122, 1, 16034, 3084, 62, 32114, 4309, 33411, 366, 2919, 25, 405,...
Who was a defensive end at California?
SELECT player_name FROM table_name_93 WHERE position = "defensive end" AND college = "california"
[ 8241, 373, 257, 6110, 886, 379, 3442, 30, 46506, 2137, 62, 3672, 16034, 3084, 62, 3672, 62, 6052, 33411, 2292, 796, 366, 4299, 2021, 886, 1, 5357, 4152, 796, 366, 9948, 361, 3317, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 257, 6110, 886, 379, 3442, 30, 46506, 2137, 62, 3672, 16034, 3084, 62, 3672, 62, 6052, 33411, 2292, 796, 366, 4299, 2021, 886, 1, 5357, 4152, 796, 366, 9948, 361, 3317, 1 ]
Name the champion for 3rd place tbc and runner-up tbc
SELECT "Champion" FROM table_69390 WHERE "3rd Place" = 'tbc' AND "Runner-Up" = 'tbc'
[ 5376, 262, 8783, 329, 513, 4372, 1295, 256, 15630, 290, 17490, 12, 929, 256, 15630, 46506, 366, 1925, 6734, 1, 16034, 3084, 62, 3388, 25964, 33411, 366, 18, 4372, 8474, 1, 796, 705, 83, 15630, 6, 5357, 366, 49493, 12, 4933, 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 ]
[ 5376, 262, 8783, 329, 513, 4372, 1295, 256, 15630, 290, 17490, 12, 929, 256, 15630, 46506, 366, 1925, 6734, 1, 16034, 3084, 62, 3388, 25964, 33411, 366, 18, 4372, 8474, 1, 796, 705, 83, 15630, 6, 5357, 366, 49493, 12, 4933, 1, 796, ...
What are the records when Elzbieta Urbanczik competed?
SELECT "Record" FROM table_19646 WHERE "Athletes" = 'Elzbieta Urbanczik'
[ 2061, 389, 262, 4406, 618, 2574, 14969, 1155, 64, 8799, 65, 1192, 47303, 32440, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 1129, 27720, 33411, 366, 32, 400, 40676, 1, 796, 705, 9527, 14969, 1155, 64, 8799, 65, 1192, 47303, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 262, 4406, 618, 2574, 14969, 1155, 64, 8799, 65, 1192, 47303, 32440, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 1129, 27720, 33411, 366, 32, 400, 40676, 1, 796, 705, 9527, 14969, 1155, 64, 8799, 65, 1192, 47303, 6 ]
provide the number of patients whose lab test category is hematology?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE lab."CATEGORY" = "Hematology"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 2248, 1332, 6536, 318, 339, 6759, 1435, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2248, 1332, 6536, 318, 339, 6759, 1435, 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...
What is Stella Farentino's current relationship status?
SELECT current_marital_status FROM table_24143253_2 WHERE name = "Stella Farentino"
[ 2061, 318, 45856, 376, 1580, 2879, 338, 1459, 2776, 3722, 30, 46506, 1459, 62, 3876, 1287, 62, 13376, 16034, 3084, 62, 1731, 21139, 28592, 62, 17, 33411, 1438, 796, 366, 7447, 8466, 376, 1580, 2879, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 45856, 376, 1580, 2879, 338, 1459, 2776, 3722, 30, 46506, 1459, 62, 3876, 1287, 62, 13376, 16034, 3084, 62, 1731, 21139, 28592, 62, 17, 33411, 1438, 796, 366, 7447, 8466, 376, 1580, 2879, 1 ]
How many millions of $ were spent in Iceland in 1948/49?
SELECT MAX("1948/49 ($ millions)") FROM table_2153 WHERE "Country" = 'Iceland'
[ 2437, 867, 5242, 286, 720, 547, 3377, 287, 17333, 287, 21794, 14, 2920, 30, 46506, 25882, 7203, 1129, 2780, 14, 2920, 7198, 5242, 8, 4943, 16034, 3084, 62, 17, 21395, 33411, 366, 33921, 1, 796, 705, 23709, 1044, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 5242, 286, 720, 547, 3377, 287, 17333, 287, 21794, 14, 2920, 30, 46506, 25882, 7203, 1129, 2780, 14, 2920, 7198, 5242, 8, 4943, 16034, 3084, 62, 17, 21395, 33411, 366, 33921, 1, 796, 705, 23709, 1044, 6 ]
When did the score of 2-0 take place?
SELECT date FROM table_name_29 WHERE score = "2-0"
[ 2215, 750, 262, 4776, 286, 362, 12, 15, 1011, 1295, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 1959, 33411, 4776, 796, 366, 17, 12, 15, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 750, 262, 4776, 286, 362, 12, 15, 1011, 1295, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 1959, 33411, 4776, 796, 366, 17, 12, 15, 1 ]
Are there any 6 -credit upper level classes in Summer 2015 ?
SELECT DISTINCT course.department, course.name, course.number FROM course, course_offering, program_course, semester WHERE course.course_id = course_offering.course_id AND course.credits = 6 AND program_course.category LIKE '%ULCS%' AND program_course.course_id = course.course_id AND semester.semester = 'Summer' AND se...
[ 8491, 612, 597, 718, 532, 43082, 6727, 1241, 6097, 287, 10216, 1853, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 1430, 62, 17319, 11, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 8491, 612, 597, 718, 532, 43082, 6727, 1241, 6097, 287, 10216, 1853, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 1430, 62, 17319, 11, ...
show flights from PHILADELPHIA to SAN FRANCISCO
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 = 'S...
[ 12860, 13956, 422, 9370, 4146, 2885, 3698, 11909, 3539, 284, 37376, 8782, 20940, 37719, 14058, 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, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12860, 13956, 422, 9370, 4146, 2885, 3698, 11909, 3539, 284, 37376, 8782, 20940, 37719, 14058, 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, 1...
what comes after 2.7 volts
SELECT "volts" FROM table_204_583 WHERE id > (SELECT id FROM table_204_583 WHERE "volts" = 2.7 ORDER BY id DESC LIMIT 1) ORDER BY id LIMIT 1
[ 10919, 2058, 706, 362, 13, 22, 46297, 46506, 366, 10396, 912, 1, 16034, 3084, 62, 18638, 62, 46239, 33411, 4686, 1875, 357, 46506, 4686, 16034, 3084, 62, 18638, 62, 46239, 33411, 366, 10396, 912, 1, 796, 362, 13, 22, 38678, 11050, 468...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2058, 706, 362, 13, 22, 46297, 46506, 366, 10396, 912, 1, 16034, 3084, 62, 18638, 62, 46239, 33411, 4686, 1875, 357, 46506, 4686, 16034, 3084, 62, 18638, 62, 46239, 33411, 366, 10396, 912, 1, 796, 362, 13, 22, 38678, 11050, 468...
provide the number of patients whose diagnoses long title is pure hypercholesterolemia and lab test abnormal status is delta?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.long_title = "Pure hypercholesterolemia" AND lab.flag = "delta"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 40567, 890, 3670, 318, 5899, 8718, 354, 15764, 2305, 20730, 290, 2248, 1332, 18801, 3722, 318, 25979, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 15234, 485, 262, 1271, 286, 3871, 3025, 40567, 890, 3670, 318, 5899, 8718, 354, 15764, 2305, 20730, 290, 2248, 1332, 18801, 3722, 318, 25979, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, ...
Most popular good questions about Python. All non-CW questions with at least 1000 views ordered by votes ascending so that the least popular of the questions is on top
SELECT question.Id AS "post_link", question.Score, question.AnswerCount AS "Answer Count", question.ViewCount, question.Title, question.Body, t.TagName FROM Posts AS question JOIN PostTypes AS ty ON ty.Id = question.PostTypeId JOIN PostTags AS questiont ON question.Id = questiont.PostId JOIN Tags AS t ON t.Id = questio...
[ 6943, 2968, 922, 2683, 546, 11361, 13, 1439, 1729, 12, 43538, 2683, 351, 379, 1551, 8576, 5009, 6149, 416, 5690, 41988, 523, 326, 262, 1551, 2968, 286, 262, 2683, 318, 319, 1353, 46506, 1808, 13, 7390, 7054, 366, 7353, 62, 8726, 1600,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 6943, 2968, 922, 2683, 546, 11361, 13, 1439, 1729, 12, 43538, 2683, 351, 379, 1551, 8576, 5009, 6149, 416, 5690, 41988, 523, 326, 262, 1551, 2968, 286, 262, 2683, 318, 319, 1353, 46506, 1808, 13, 7390, 7054, 366, 7353, 62, 8726, 1600,...
What is the record of the match at 6:00?
SELECT record FROM table_name_84 WHERE time = "6:00"
[ 2061, 318, 262, 1700, 286, 262, 2872, 379, 718, 25, 405, 30, 46506, 1700, 16034, 3084, 62, 3672, 62, 5705, 33411, 640, 796, 366, 21, 25, 405, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1700, 286, 262, 2872, 379, 718, 25, 405, 30, 46506, 1700, 16034, 3084, 62, 3672, 62, 5705, 33411, 640, 796, 366, 21, 25, 405, 1 ]