instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
What round was the opponent Manny Gamburyan?
SELECT "Round" FROM table_68699 WHERE "Opponent" = 'manny gamburyan'
[ 2061, 2835, 373, 262, 6125, 44745, 33330, 1601, 272, 30, 46506, 366, 22685, 1, 16034, 3084, 62, 33808, 2079, 33411, 366, 27524, 3471, 1, 796, 705, 805, 3281, 45756, 1601, 272, 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, 2835, 373, 262, 6125, 44745, 33330, 1601, 272, 30, 46506, 366, 22685, 1, 16034, 3084, 62, 33808, 2079, 33411, 366, 27524, 3471, 1, 796, 705, 805, 3281, 45756, 1601, 272, 6 ]
How many directors were there for the production code 1ark08?
SELECT COUNT(directed_by) FROM table_22835602_1 WHERE production_code = "1ARK08"
[ 2437, 867, 13445, 547, 612, 329, 262, 3227, 2438, 352, 668, 2919, 30, 46506, 327, 28270, 7, 34762, 62, 1525, 8, 16034, 3084, 62, 23815, 2327, 31418, 62, 16, 33411, 3227, 62, 8189, 796, 366, 16, 14175, 2919, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13445, 547, 612, 329, 262, 3227, 2438, 352, 668, 2919, 30, 46506, 327, 28270, 7, 34762, 62, 1525, 8, 16034, 3084, 62, 23815, 2327, 31418, 62, 16, 33411, 3227, 62, 8189, 796, 366, 16, 14175, 2919, 1 ]
show me the top four commonly prescribed drugs for the 20s patients until 2 years ago?
SELECT t1.drugname FROM (SELECT medication.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.age BETWEEN 20 AND 29) AND DATETIME(medication.drugstarttime) <= DATETIME(CURRENT_TIME(), '-2 year') GR...
[ 12860, 502, 262, 1353, 1440, 8811, 14798, 5010, 329, 262, 1160, 82, 3871, 1566, 362, 812, 2084, 30, 46506, 256, 16, 13, 30349, 3672, 16034, 357, 46506, 14103, 13, 30349, 3672, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 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...
[ 12860, 502, 262, 1353, 1440, 8811, 14798, 5010, 329, 262, 1160, 82, 3871, 1566, 362, 812, 2084, 30, 46506, 256, 16, 13, 30349, 3672, 16034, 357, 46506, 14103, 13, 30349, 3672, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 11...
Visualize a bar chart for how many students are older than average for each gender?, list by the the total number from high to low.
SELECT Sex, COUNT(*) FROM Student WHERE Age > (SELECT AVG(Age) FROM Student) GROUP BY Sex ORDER BY COUNT(*) DESC
[ 36259, 1096, 257, 2318, 8262, 329, 703, 867, 2444, 389, 4697, 621, 2811, 329, 1123, 5279, 21747, 1351, 416, 262, 262, 2472, 1271, 422, 1029, 284, 1877, 13, 46506, 14419, 11, 327, 28270, 7, 28104, 16034, 13613, 33411, 7129, 1875, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 36259, 1096, 257, 2318, 8262, 329, 703, 867, 2444, 389, 4697, 621, 2811, 329, 1123, 5279, 21747, 1351, 416, 262, 262, 2472, 1271, 422, 1029, 284, 1877, 13, 46506, 14419, 11, 327, 28270, 7, 28104, 16034, 13613, 33411, 7129, 1875, 357, ...
How many rounds did fr d ric vervisch go?
SELECT "Rounds" FROM table_59640 WHERE "Driver" = 'frédéric vervisch'
[ 2437, 867, 9196, 750, 1216, 288, 12410, 3326, 4703, 354, 467, 30, 46506, 366, 49, 3733, 1, 16034, 3084, 62, 3270, 31102, 33411, 366, 32103, 1, 796, 705, 8310, 2634, 67, 2634, 1173, 3326, 4703, 354, 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 ]
[ 2437, 867, 9196, 750, 1216, 288, 12410, 3326, 4703, 354, 467, 30, 46506, 366, 49, 3733, 1, 16034, 3084, 62, 3270, 31102, 33411, 366, 32103, 1, 796, 705, 8310, 2634, 67, 2634, 1173, 3326, 4703, 354, 6 ]
did patient 7241's arterial bp mean ever greater than 116.0 until 09/21/2104.
SELECT COUNT(*) > 0 FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 7241)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'arterial bp mean' ...
[ 20839, 5827, 767, 28872, 338, 30675, 498, 275, 79, 1612, 1683, 3744, 621, 18693, 13, 15, 1566, 7769, 14, 2481, 14, 17, 13464, 13, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, 323, 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...
[ 20839, 5827, 767, 28872, 338, 30675, 498, 275, 79, 1612, 1683, 3744, 621, 18693, 13, 15, 1566, 7769, 14, 2481, 14, 17, 13464, 13, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, 323, 62, ...
What is the sum of Week, when Date is December 2, 2001?
SELECT SUM("Week") FROM table_45561 WHERE "Date" = 'december 2, 2001'
[ 2061, 318, 262, 2160, 286, 6119, 11, 618, 7536, 318, 3426, 362, 11, 5878, 30, 46506, 35683, 7203, 20916, 4943, 16034, 3084, 62, 2231, 47915, 33411, 366, 10430, 1, 796, 705, 2934, 3273, 362, 11, 5878, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2160, 286, 6119, 11, 618, 7536, 318, 3426, 362, 11, 5878, 30, 46506, 35683, 7203, 20916, 4943, 16034, 3084, 62, 2231, 47915, 33411, 366, 10430, 1, 796, 705, 2934, 3273, 362, 11, 5878, 6 ]
Which Grid did Alain Prost drive on?
SELECT SUM(grid) FROM table_name_39 WHERE driver = "alain prost"
[ 13828, 24846, 750, 978, 391, 1041, 301, 3708, 319, 30, 46506, 35683, 7, 25928, 8, 16034, 3084, 62, 3672, 62, 2670, 33411, 4639, 796, 366, 282, 391, 11825, 1 ]
[ 1, 1, 1, 1, 1, 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, 24846, 750, 978, 391, 1041, 301, 3708, 319, 30, 46506, 35683, 7, 25928, 8, 16034, 3084, 62, 3672, 62, 2670, 33411, 4639, 796, 366, 282, 391, 11825, 1 ]
What was the result for the cirtcuit where the LMPC winning team was #89 Intersport Racing?
SELECT "Results" FROM table_3896 WHERE "LMPC Winning Team" = '#89 Intersport Racing'
[ 2061, 373, 262, 1255, 329, 262, 269, 2265, 66, 5013, 810, 262, 37125, 5662, 5442, 1074, 373, 1303, 4531, 554, 1010, 634, 14954, 30, 46506, 366, 25468, 1, 16034, 3084, 62, 2548, 4846, 33411, 366, 31288, 5662, 40983, 4816, 1, 796, 705, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 1255, 329, 262, 269, 2265, 66, 5013, 810, 262, 37125, 5662, 5442, 1074, 373, 1303, 4531, 554, 1010, 634, 14954, 30, 46506, 366, 25468, 1, 16034, 3084, 62, 2548, 4846, 33411, 366, 31288, 5662, 40983, 4816, 1, 796, 705, ...
What is the time for 18 laps and 5 grids?
SELECT time FROM table_name_52 WHERE laps = 18 AND grid = 5
[ 2061, 318, 262, 640, 329, 1248, 24590, 290, 642, 50000, 30, 46506, 640, 16034, 3084, 62, 3672, 62, 4309, 33411, 24590, 796, 1248, 5357, 10706, 796, 642 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 640, 329, 1248, 24590, 290, 642, 50000, 30, 46506, 640, 16034, 3084, 62, 3672, 62, 4309, 33411, 24590, 796, 1248, 5357, 10706, 796, 642 ]
Which Against has a Draws larger than 0, a Losses smaller than 16, and a Wins smaller than 4?
SELECT MAX(against) FROM table_name_50 WHERE draws > 0 AND losses < 16 AND wins < 4
[ 13828, 12914, 468, 257, 15315, 82, 4025, 621, 657, 11, 257, 22014, 274, 4833, 621, 1467, 11, 290, 257, 24423, 4833, 621, 604, 30, 46506, 25882, 7, 32826, 8, 16034, 3084, 62, 3672, 62, 1120, 33411, 14293, 1875, 657, 5357, 9089, 1279, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12914, 468, 257, 15315, 82, 4025, 621, 657, 11, 257, 22014, 274, 4833, 621, 1467, 11, 290, 257, 24423, 4833, 621, 604, 30, 46506, 25882, 7, 32826, 8, 16034, 3084, 62, 3672, 62, 1120, 33411, 14293, 1875, 657, 5357, 9089, 1279, ...
When slblw(b1) is the sspec number what is the mult.?
SELECT "Mult." FROM table_22634 WHERE "sSpec number" = 'SLBLW(B1)'
[ 2215, 1017, 2436, 86, 7, 65, 16, 8, 318, 262, 264, 16684, 1271, 644, 318, 262, 1963, 40791, 46506, 366, 15205, 526, 16034, 3084, 62, 24909, 2682, 33411, 366, 82, 22882, 1271, 1, 796, 705, 8634, 9148, 54, 7, 33, 16, 33047 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 1017, 2436, 86, 7, 65, 16, 8, 318, 262, 264, 16684, 1271, 644, 318, 262, 1963, 40791, 46506, 366, 15205, 526, 16034, 3084, 62, 24909, 2682, 33411, 366, 82, 22882, 1271, 1, 796, 705, 8634, 9148, 54, 7, 33, 16, 33047 ]
Compare the total number of different job titles for all those jobs in department 80 using a bar chart, display bars in descending order please.
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 ORDER BY JOB_TITLE DESC
[ 41488, 262, 2472, 1271, 286, 1180, 1693, 8714, 329, 477, 883, 3946, 287, 5011, 4019, 1262, 257, 2318, 8262, 11, 3359, 9210, 287, 31491, 1502, 3387, 13, 46506, 449, 9864, 62, 49560, 2538, 11, 327, 28270, 7, 41, 9864, 62, 49560, 2538, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 41488, 262, 2472, 1271, 286, 1180, 1693, 8714, 329, 477, 883, 3946, 287, 5011, 4019, 1262, 257, 2318, 8262, 11, 3359, 9210, 287, 31491, 1502, 3387, 13, 46506, 449, 9864, 62, 49560, 2538, 11, 327, 28270, 7, 41, 9864, 62, 49560, 2538, ...
what is three of the most frequent intake until 2102?
SELECT d_items.label FROM d_items WHERE d_items.itemid IN (SELECT t1.itemid FROM (SELECT inputevents_cv.itemid, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM inputevents_cv WHERE STRFTIME('%y', inputevents_cv.charttime) <= '2102' GROUP BY inputevents_cv.itemid) AS t1 WHERE t1.c1 <= 3)
[ 10919, 318, 1115, 286, 262, 749, 10792, 10337, 1566, 362, 15377, 30, 46506, 288, 62, 23814, 13, 18242, 16034, 288, 62, 23814, 33411, 288, 62, 23814, 13, 9186, 312, 3268, 357, 46506, 256, 16, 13, 9186, 312, 16034, 357, 46506, 287, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 1115, 286, 262, 749, 10792, 10337, 1566, 362, 15377, 30, 46506, 288, 62, 23814, 13, 18242, 16034, 288, 62, 23814, 33411, 288, 62, 23814, 13, 9186, 312, 3268, 357, 46506, 256, 16, 13, 9186, 312, 16034, 357, 46506, 287, 79, ...
Show the names of cities in counties that have a crime rate less than 100.
SELECT name FROM city WHERE county_id IN (SELECT county_id FROM county_public_safety WHERE crime_rate < 100)
[ 15307, 262, 3891, 286, 4736, 287, 14683, 326, 423, 257, 4065, 2494, 1342, 621, 1802, 13, 46506, 1438, 16034, 1748, 33411, 7968, 62, 312, 3268, 357, 46506, 7968, 62, 312, 16034, 7968, 62, 11377, 62, 44708, 33411, 4065, 62, 4873, 1279, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 262, 3891, 286, 4736, 287, 14683, 326, 423, 257, 4065, 2494, 1342, 621, 1802, 13, 46506, 1438, 16034, 1748, 33411, 7968, 62, 312, 3268, 357, 46506, 7968, 62, 312, 16034, 7968, 62, 11377, 62, 44708, 33411, 4065, 62, 4873, 1279, ...
what is the number of elective hospital admission patients who have lab test item id 50927?
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.itemid = "50927"
[ 10919, 318, 262, 1271, 286, 1742, 425, 4436, 13938, 3871, 508, 423, 2248, 1332, 2378, 4686, 2026, 24, 1983, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 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...
[ 10919, 318, 262, 1271, 286, 1742, 425, 4436, 13938, 3871, 508, 423, 2248, 1332, 2378, 4686, 2026, 24, 1983, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 61...
How many students are from each city, and which cities have more than one cities. Plot them as bar chart.
SELECT city_code, COUNT(*) FROM Student GROUP BY city_code
[ 2437, 867, 2444, 389, 422, 1123, 1748, 11, 290, 543, 4736, 423, 517, 621, 530, 4736, 13, 28114, 606, 355, 2318, 8262, 13, 46506, 1748, 62, 8189, 11, 327, 28270, 7, 28104, 16034, 13613, 44441, 11050, 1748, 62, 8189 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 2444, 389, 422, 1123, 1748, 11, 290, 543, 4736, 423, 517, 621, 530, 4736, 13, 28114, 606, 355, 2318, 8262, 13, 46506, 1748, 62, 8189, 11, 327, 28270, 7, 28104, 16034, 13613, 44441, 11050, 1748, 62, 8189 ]
What is the highest top-10 that has a u.s. open for the tournament, and a top-25 greater than 12?
SELECT MAX(top_10) FROM table_name_49 WHERE tournament = "u.s. open" AND top_25 > 12
[ 2061, 318, 262, 4511, 1353, 12, 940, 326, 468, 257, 334, 13, 82, 13, 1280, 329, 262, 7756, 11, 290, 257, 1353, 12, 1495, 3744, 621, 1105, 30, 46506, 25882, 7, 4852, 62, 940, 8, 16034, 3084, 62, 3672, 62, 2920, 33411, 7756, 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 ]
[ 2061, 318, 262, 4511, 1353, 12, 940, 326, 468, 257, 334, 13, 82, 13, 1280, 329, 262, 7756, 11, 290, 257, 1353, 12, 1495, 3744, 621, 1105, 30, 46506, 25882, 7, 4852, 62, 940, 8, 16034, 3084, 62, 3672, 62, 2920, 33411, 7756, 796, ...
how many patients received a cd4 cells, percent test the last year?
SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE admissions.hadm_id IN (SELECT labevents.hadm_id FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'cd4 cells, percent') AND DATETIME(labevents.charttime, 'start of year') = DATETIME(CURRENT_TIME(...
[ 4919, 867, 3871, 2722, 257, 22927, 19, 4778, 11, 1411, 1332, 262, 938, 614, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 25349, 13, 32796, 62, 312, 8, 16034, 25349, 33411, 25349, 13, 18108, 76, 62, 312, 3268, 357, 46506, 2248, 31...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2722, 257, 22927, 19, 4778, 11, 1411, 1332, 262, 938, 614, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 25349, 13, 32796, 62, 312, 8, 16034, 25349, 33411, 25349, 13, 18108, 76, 62, 312, 3268, 357, 46506, 2248, 31...
Tell me the number of elective hospital admission patients who had a chloride lab test.
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 = "Chloride"
[ 24446, 502, 262, 1271, 286, 1742, 425, 4436, 13938, 3871, 508, 550, 257, 44921, 2248, 1332, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 24446, 502, 262, 1271, 286, 1742, 425, 4436, 13938, 3871, 508, 550, 257, 44921, 2248, 1332, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 1...
Filter posts by high rep user.
SELECT ParentId AS "post_link", OwnerUserId FROM Posts JOIN Users ON Posts.OwnerUserId = Users.Id WHERE Users.Reputation > @RepFilter AND PostTypeId = 1
[ 22417, 6851, 416, 1029, 1128, 2836, 13, 46506, 16774, 7390, 7054, 366, 7353, 62, 8726, 1600, 23853, 12982, 7390, 16034, 12043, 32357, 1268, 18987, 6177, 12043, 13, 42419, 12982, 7390, 796, 18987, 13, 7390, 33411, 18987, 13, 6207, 7094, 18...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 22417, 6851, 416, 1029, 1128, 2836, 13, 46506, 16774, 7390, 7054, 366, 7353, 62, 8726, 1600, 23853, 12982, 7390, 16034, 12043, 32357, 1268, 18987, 6177, 12043, 13, 42419, 12982, 7390, 796, 18987, 13, 7390, 33411, 18987, 13, 6207, 7094, 18...
How many themes are there where the order # is 9?
SELECT COUNT(theme) FROM table_26250253_1 WHERE order__number = "9"
[ 2437, 867, 13460, 389, 612, 810, 262, 1502, 1303, 318, 860, 30, 46506, 327, 28270, 7, 43810, 8, 16034, 3084, 62, 2075, 9031, 28592, 62, 16, 33411, 1502, 834, 17618, 796, 366, 24, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13460, 389, 612, 810, 262, 1502, 1303, 318, 860, 30, 46506, 327, 28270, 7, 43810, 8, 16034, 3084, 62, 2075, 9031, 28592, 62, 16, 33411, 1502, 834, 17618, 796, 366, 24, 1 ]
give me the number of patients whose days of hospital stay is greater than 4 and lab test category is blood gas?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.days_stay > "4" AND lab."CATEGORY" = "Blood Gas"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 1528, 286, 4436, 2652, 318, 3744, 621, 604, 290, 2248, 1332, 6536, 318, 2910, 3623, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 26535, 502, 262, 1271, 286, 3871, 3025, 1528, 286, 4436, 2652, 318, 3744, 621, 604, 290, 2248, 1332, 6536, 318, 2910, 3623, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357...
What is Christian Malcolm s highest react when his time was below 20.58?
SELECT MAX("React") FROM table_63559 WHERE "Time" < '20.58' AND "Athlete" = 'christian malcolm'
[ 2061, 318, 4302, 20002, 264, 4511, 6324, 618, 465, 640, 373, 2174, 1160, 13, 3365, 30, 46506, 25882, 7203, 3041, 529, 4943, 16034, 3084, 62, 48250, 3270, 33411, 366, 7575, 1, 1279, 705, 1238, 13, 3365, 6, 5357, 366, 32, 400, 5807, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4302, 20002, 264, 4511, 6324, 618, 465, 640, 373, 2174, 1160, 13, 3365, 30, 46506, 25882, 7203, 3041, 529, 4943, 16034, 3084, 62, 48250, 3270, 33411, 366, 7575, 1, 1279, 705, 1238, 13, 3365, 6, 5357, 366, 32, 400, 5807, 1...
Sandbox: Inactive > 2 years && Score < 1.
SELECT SUM(CASE WHEN LastActivityDate < DATEADD(mm, -12, GETDATE()) AND Score < 0 THEN 1 ELSE 0 END) FROM Posts WHERE ParentId = 2140
[ 18471, 3524, 25, 554, 5275, 1875, 362, 812, 11405, 15178, 1279, 352, 13, 46506, 35683, 7, 34, 11159, 42099, 4586, 16516, 10430, 1279, 360, 6158, 29266, 7, 3020, 11, 532, 1065, 11, 17151, 35, 6158, 28955, 5357, 15178, 1279, 657, 42243, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 18471, 3524, 25, 554, 5275, 1875, 362, 812, 11405, 15178, 1279, 352, 13, 46506, 35683, 7, 34, 11159, 42099, 4586, 16516, 10430, 1279, 360, 6158, 29266, 7, 3020, 11, 532, 1065, 11, 17151, 35, 6158, 28955, 5357, 15178, 1279, 657, 42243, ...
What is the area in CZ?
SELECT MAX("Area (km\u00b2)") FROM table_2395 WHERE "2-letter abbreviation" = 'CZ'
[ 2061, 318, 262, 1989, 287, 327, 57, 30, 46506, 25882, 7203, 30547, 357, 13276, 59, 84, 405, 65, 17, 8, 4943, 16034, 3084, 62, 1954, 3865, 33411, 366, 17, 12, 9291, 28873, 47625, 1, 796, 705, 34, 57, 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, 318, 262, 1989, 287, 327, 57, 30, 46506, 25882, 7203, 30547, 357, 13276, 59, 84, 405, 65, 17, 8, 4943, 16034, 3084, 62, 1954, 3865, 33411, 366, 17, 12, 9291, 28873, 47625, 1, 796, 705, 34, 57, 6 ]
Show sum team id from each all home, and could you show by the total number in desc?
SELECT All_Home, SUM(Team_ID) FROM basketball_match GROUP BY All_Home ORDER BY SUM(Team_ID) DESC
[ 15307, 2160, 1074, 4686, 422, 1123, 477, 1363, 11, 290, 714, 345, 905, 416, 262, 2472, 1271, 287, 1715, 30, 46506, 1439, 62, 16060, 11, 35683, 7, 15592, 62, 2389, 8, 16034, 9669, 62, 15699, 44441, 11050, 1439, 62, 16060, 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, 1, 1, 1, 1, 1 ]
[ 15307, 2160, 1074, 4686, 422, 1123, 477, 1363, 11, 290, 714, 345, 905, 416, 262, 2472, 1271, 287, 1715, 30, 46506, 1439, 62, 16060, 11, 35683, 7, 15592, 62, 2389, 8, 16034, 9669, 62, 15699, 44441, 11050, 1439, 62, 16060, 38678, 11050,...
What's the title of the episode seen by 12.85 millions of people in the US?
SELECT "Title" FROM table_30411 WHERE "U.S. viewers (millions)" = '12.85'
[ 2061, 338, 262, 3670, 286, 262, 4471, 1775, 416, 1105, 13, 5332, 5242, 286, 661, 287, 262, 1294, 30, 46506, 366, 19160, 1, 16034, 3084, 62, 21288, 1157, 33411, 366, 52, 13, 50, 13, 10209, 357, 17805, 507, 16725, 796, 705, 1065, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 338, 262, 3670, 286, 262, 4471, 1775, 416, 1105, 13, 5332, 5242, 286, 661, 287, 262, 1294, 30, 46506, 366, 19160, 1, 16034, 3084, 62, 21288, 1157, 33411, 366, 52, 13, 50, 13, 10209, 357, 17805, 507, 16725, 796, 705, 1065, 13, ...
Name the most round for jordan cameron
SELECT MAX(round) FROM table_26533354_8 WHERE player = "Jordan Cameron"
[ 5376, 262, 749, 2835, 329, 474, 7350, 3676, 261, 46506, 25882, 7, 744, 8, 16034, 3084, 62, 22980, 2091, 32182, 62, 23, 33411, 2137, 796, 366, 34522, 10821, 1 ]
[ 1, 1, 1, 1, 1, 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, 2835, 329, 474, 7350, 3676, 261, 46506, 25882, 7, 744, 8, 16034, 3084, 62, 22980, 2091, 32182, 62, 23, 33411, 2137, 796, 366, 34522, 10821, 1 ]
For those employees who did not have any job in the past, visualize a bar chart about the distribution of job_id and the average of department_id , and group by attribute job_id, and could you list bars in descending order?
SELECT JOB_ID, AVG(DEPARTMENT_ID) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) GROUP BY JOB_ID ORDER BY JOB_ID DESC
[ 1890, 883, 4409, 508, 750, 407, 423, 597, 1693, 287, 262, 1613, 11, 38350, 257, 2318, 8262, 546, 262, 6082, 286, 1693, 62, 312, 290, 262, 2811, 286, 5011, 62, 312, 837, 290, 1448, 416, 11688, 1693, 62, 312, 11, 290, 714, 345, 1351...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 750, 407, 423, 597, 1693, 287, 262, 1613, 11, 38350, 257, 2318, 8262, 546, 262, 6082, 286, 1693, 62, 312, 290, 262, 2811, 286, 5011, 62, 312, 837, 290, 1448, 416, 11688, 1693, 62, 312, 11, 290, 714, 345, 1351...
What is Rochester, when Syracuse is Cardiff Dark Gray Shale, and when Albany is (Mt. Marion Fm.)?
SELECT rochester FROM table_name_39 WHERE syracuse = "cardiff dark gray shale" AND albany = "(mt. marion fm.)"
[ 2061, 318, 27008, 11, 618, 29141, 318, 34910, 3801, 12723, 911, 1000, 11, 290, 618, 29285, 318, 357, 44, 83, 13, 32473, 376, 76, 2014, 30, 46506, 686, 35983, 16034, 3084, 62, 3672, 62, 2670, 33411, 827, 28268, 796, 366, 9517, 733, 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 ]
[ 2061, 318, 27008, 11, 618, 29141, 318, 34910, 3801, 12723, 911, 1000, 11, 290, 618, 29285, 318, 357, 44, 83, 13, 32473, 376, 76, 2014, 30, 46506, 686, 35983, 16034, 3084, 62, 3672, 62, 2670, 33411, 827, 28268, 796, 366, 9517, 733, 3...
What is the lowest crowd when essendon is the away team?
SELECT MIN("Crowd") FROM table_11786 WHERE "Away team" = 'essendon'
[ 2061, 318, 262, 9016, 4315, 618, 3209, 43153, 318, 262, 1497, 1074, 30, 46506, 20625, 7203, 34, 3986, 4943, 16034, 3084, 62, 1157, 46302, 33411, 366, 32, 1014, 1074, 1, 796, 705, 408, 43153, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 9016, 4315, 618, 3209, 43153, 318, 262, 1497, 1074, 30, 46506, 20625, 7203, 34, 3986, 4943, 16034, 3084, 62, 1157, 46302, 33411, 366, 32, 1014, 1074, 1, 796, 705, 408, 43153, 6 ]
Are there ULCS classes on the schedule 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 INNER JOIN program_course ON program_course.course_id = course_offering.course_id WHERE program_cour...
[ 8491, 612, 471, 29814, 6097, 319, 262, 7269, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 471, 29814, 6097, 319, 262, 7269, 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, ...
What is the best time for a rusport driver with a qual 2 time of 1:10.166?
SELECT MAX("Best") FROM table_34673 WHERE "Team" = 'rusport' AND "Qual 2" = '1:10.166'
[ 2061, 318, 262, 1266, 640, 329, 257, 374, 385, 634, 4639, 351, 257, 4140, 362, 640, 286, 352, 25, 940, 13, 23055, 30, 46506, 25882, 7203, 13014, 4943, 16034, 3084, 62, 2682, 45758, 33411, 366, 15592, 1, 796, 705, 14932, 634, 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 ]
[ 2061, 318, 262, 1266, 640, 329, 257, 374, 385, 634, 4639, 351, 257, 4140, 362, 640, 286, 352, 25, 940, 13, 23055, 30, 46506, 25882, 7203, 13014, 4943, 16034, 3084, 62, 2682, 45758, 33411, 366, 15592, 1, 796, 705, 14932, 634, 6, 5357...
Which player number is 2.10 meters tall?
SELECT no FROM table_12962773_10 WHERE height = "2.10"
[ 13828, 2137, 1271, 318, 362, 13, 940, 10700, 7331, 30, 46506, 645, 16034, 3084, 62, 1065, 4846, 1983, 4790, 62, 940, 33411, 6001, 796, 366, 17, 13, 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 ]
[ 13828, 2137, 1271, 318, 362, 13, 940, 10700, 7331, 30, 46506, 645, 16034, 3084, 62, 1065, 4846, 1983, 4790, 62, 940, 33411, 6001, 796, 366, 17, 13, 940, 1 ]
Name who directed season 1
SELECT "Directed by" FROM table_23835 WHERE "Season #" = '1'
[ 5376, 508, 7924, 1622, 352, 46506, 366, 13470, 276, 416, 1, 16034, 3084, 62, 23721, 2327, 33411, 366, 18960, 1303, 1, 796, 705, 16, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 508, 7924, 1622, 352, 46506, 366, 13470, 276, 416, 1, 16034, 3084, 62, 23721, 2327, 33411, 366, 18960, 1303, 1, 796, 705, 16, 6 ]
List the name of all playlist.
SELECT name FROM playlists
[ 8053, 262, 1438, 286, 477, 33178, 13, 46506, 1438, 16034, 711, 20713 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8053, 262, 1438, 286, 477, 33178, 13, 46506, 1438, 16034, 711, 20713 ]
how many points did alianza f.c. receive ?
SELECT "points" FROM table_203_67 WHERE "team" = 'alianza f.c'
[ 4919, 867, 2173, 750, 435, 666, 4496, 277, 13, 66, 13, 3328, 5633, 46506, 366, 13033, 1, 16034, 3084, 62, 22416, 62, 3134, 33411, 366, 15097, 1, 796, 705, 7199, 4496, 277, 13, 66, 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 ]
[ 4919, 867, 2173, 750, 435, 666, 4496, 277, 13, 66, 13, 3328, 5633, 46506, 366, 13033, 1, 16034, 3084, 62, 22416, 62, 3134, 33411, 366, 15097, 1, 796, 705, 7199, 4496, 277, 13, 66, 6 ]
What is the height of the school club team members in clemson?
SELECT "Height in Ft." FROM table_17169 WHERE "School/Club Team/Country" = 'Clemson'
[ 2061, 318, 262, 6001, 286, 262, 1524, 3430, 1074, 1866, 287, 1190, 24996, 30, 46506, 366, 23106, 287, 45231, 526, 16034, 3084, 62, 1558, 22172, 33411, 366, 26130, 14, 42350, 4816, 14, 33921, 1, 796, 705, 34349, 24996, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 6001, 286, 262, 1524, 3430, 1074, 1866, 287, 1190, 24996, 30, 46506, 366, 23106, 287, 45231, 526, 16034, 3084, 62, 1558, 22172, 33411, 366, 26130, 14, 42350, 4816, 14, 33921, 1, 796, 705, 34349, 24996, 6 ]
what's the engine where builder is gloucester rcw and withdrawn is 1959
SELECT "Engine" FROM table_341 WHERE "Builder" = 'Gloucester RCW' AND "Withdrawn" = '1959'
[ 10919, 338, 262, 3113, 810, 27098, 318, 1278, 280, 33187, 48321, 86, 290, 23019, 318, 23859, 46506, 366, 13798, 1, 16034, 3084, 62, 33660, 33411, 366, 32875, 1, 796, 705, 9861, 280, 33187, 13987, 54, 6, 5357, 366, 3152, 41549, 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 ]
[ 10919, 338, 262, 3113, 810, 27098, 318, 1278, 280, 33187, 48321, 86, 290, 23019, 318, 23859, 46506, 366, 13798, 1, 16034, 3084, 62, 33660, 33411, 366, 32875, 1, 796, 705, 9861, 280, 33187, 13987, 54, 6, 5357, 366, 3152, 41549, 1, 796,...
Let me see Political Economy and Development courses of 10 credits .
SELECT DISTINCT department, name, number FROM course WHERE (description LIKE '%Political Economy and Development%' OR name LIKE '%Political Economy and Development%') AND credits = 10
[ 5756, 502, 766, 14611, 18493, 290, 7712, 10902, 286, 838, 10824, 764, 46506, 360, 8808, 1268, 4177, 5011, 11, 1438, 11, 1271, 16034, 1781, 33411, 357, 11213, 34178, 705, 4, 35443, 18493, 290, 7712, 4, 6, 6375, 1438, 34178, 705, 4, 354...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5756, 502, 766, 14611, 18493, 290, 7712, 10902, 286, 838, 10824, 764, 46506, 360, 8808, 1268, 4177, 5011, 11, 1438, 11, 1271, 16034, 1781, 33411, 357, 11213, 34178, 705, 4, 35443, 18493, 290, 7712, 4, 6, 6375, 1438, 34178, 705, 4, 354...
What is the lowest Digital PSIP for channels over 29 with callsign CFTU-DT?
SELECT MIN("Digital PSIP") FROM table_63928 WHERE "Call sign" = 'cftu-dt' AND "Broadcast channel" > '29'
[ 2061, 318, 262, 9016, 10231, 6599, 4061, 329, 9619, 625, 2808, 351, 3848, 570, 327, 9792, 52, 12, 24544, 30, 46506, 20625, 7203, 27640, 6599, 4061, 4943, 16034, 3084, 62, 21, 2670, 2078, 33411, 366, 14134, 1051, 1, 796, 705, 66, 701, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10231, 6599, 4061, 329, 9619, 625, 2808, 351, 3848, 570, 327, 9792, 52, 12, 24544, 30, 46506, 20625, 7203, 27640, 6599, 4061, 4943, 16034, 3084, 62, 21, 2670, 2078, 33411, 366, 14134, 1051, 1, 796, 705, 66, 701, ...
Find the first names and offices of all professors sorted by alphabetical order of their first name.
SELECT T2.emp_fname, T1.prof_office FROM professor AS T1 JOIN employee AS T2 ON T1.emp_num = T2.emp_num ORDER BY T2.emp_fname
[ 16742, 262, 717, 3891, 290, 9730, 286, 477, 20339, 23243, 416, 24830, 605, 1502, 286, 511, 717, 1438, 13, 46506, 309, 17, 13, 45787, 62, 69, 3672, 11, 309, 16, 13, 5577, 62, 31810, 16034, 6240, 7054, 309, 16, 32357, 1268, 6538, 7054...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 16742, 262, 717, 3891, 290, 9730, 286, 477, 20339, 23243, 416, 24830, 605, 1502, 286, 511, 717, 1438, 13, 46506, 309, 17, 13, 45787, 62, 69, 3672, 11, 309, 16, 13, 5577, 62, 31810, 16034, 6240, 7054, 309, 16, 32357, 1268, 6538, 7054...
Top 50 Highest Rep Users.
SELECT 'reputation', 'displayname', 'upvotes', 'downvotes' FROM Users ORDER BY 'reputation' DESC LIMIT 50
[ 9126, 2026, 41864, 1432, 18987, 13, 46506, 705, 260, 1996, 341, 3256, 705, 13812, 3672, 3256, 705, 929, 29307, 3256, 705, 2902, 29307, 6, 16034, 18987, 38678, 11050, 705, 260, 1996, 341, 6, 22196, 34, 27564, 2043, 2026 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2026, 41864, 1432, 18987, 13, 46506, 705, 260, 1996, 341, 3256, 705, 13812, 3672, 3256, 705, 929, 29307, 3256, 705, 2902, 29307, 6, 16034, 18987, 38678, 11050, 705, 260, 1996, 341, 6, 22196, 34, 27564, 2043, 2026 ]
Who wrote the episode with production code 1ANJ01?
SELECT "Written by" FROM table_18729 WHERE "Production code" = '1ANJ01'
[ 8241, 2630, 262, 4471, 351, 3227, 2438, 352, 1565, 41, 486, 30, 46506, 366, 25354, 416, 1, 16034, 3084, 62, 23451, 1959, 33411, 366, 35027, 2438, 1, 796, 705, 16, 1565, 41, 486, 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 ]
[ 8241, 2630, 262, 4471, 351, 3227, 2438, 352, 1565, 41, 486, 30, 46506, 366, 25354, 416, 1, 16034, 3084, 62, 23451, 1959, 33411, 366, 35027, 2438, 1, 796, 705, 16, 1565, 41, 486, 6 ]
For those records from the products and each product's manufacturer, give me the comparison about the amount of name over the name , and group by attribute name, rank in desc by the names.
SELECT T2.Name, COUNT(T2.Name) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name ORDER BY T2.Name DESC
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 1577, 502, 262, 7208, 546, 262, 2033, 286, 1438, 625, 262, 1438, 837, 290, 1448, 416, 11688, 1438, 11, 4279, 287, 1715, 416, 262, 3891, 13, 46506, 309, 17, 13, 5376, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 1577, 502, 262, 7208, 546, 262, 2033, 286, 1438, 625, 262, 1438, 837, 290, 1448, 416, 11688, 1438, 11, 4279, 287, 1715, 416, 262, 3891, 13, 46506, 309, 17, 13, 5376, ...
What was the percentage of firefox was chrome was 23.90%
SELECT "Firefox" FROM table_65407 WHERE "Chrome" = '23.90%'
[ 2061, 373, 262, 5873, 286, 2046, 12792, 373, 32030, 373, 2242, 13, 3829, 4, 46506, 366, 13543, 12792, 1, 16034, 3084, 62, 2996, 30120, 33411, 366, 1925, 5998, 1, 796, 705, 1954, 13, 3829, 4, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 5873, 286, 2046, 12792, 373, 32030, 373, 2242, 13, 3829, 4, 46506, 366, 13543, 12792, 1, 16034, 3084, 62, 2996, 30120, 33411, 366, 1925, 5998, 1, 796, 705, 1954, 13, 3829, 4, 6 ]
How many polling areas are there with John Taber as the sitting Representative?
SELECT COUNT(district) FROM table_1342256_32 WHERE incumbent = "John Taber"
[ 2437, 867, 13985, 3006, 389, 612, 351, 1757, 16904, 263, 355, 262, 5586, 19920, 30, 46506, 327, 28270, 7, 17080, 2012, 8, 16034, 3084, 62, 1485, 3682, 11645, 62, 2624, 33411, 23526, 796, 366, 7554, 16904, 263, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13985, 3006, 389, 612, 351, 1757, 16904, 263, 355, 262, 5586, 19920, 30, 46506, 327, 28270, 7, 17080, 2012, 8, 16034, 3084, 62, 1485, 3682, 11645, 62, 2624, 33411, 23526, 796, 366, 7554, 16904, 263, 1 ]
What's the original season in 11th place?
SELECT "Original Season" FROM table_64426 WHERE "Placing" = '11th place'
[ 2061, 338, 262, 2656, 1622, 287, 1367, 400, 1295, 30, 46506, 366, 20556, 7369, 1, 16034, 3084, 62, 29173, 2075, 33411, 366, 3646, 4092, 1, 796, 705, 1157, 400, 1295, 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, 338, 262, 2656, 1622, 287, 1367, 400, 1295, 30, 46506, 366, 20556, 7369, 1, 16034, 3084, 62, 29173, 2075, 33411, 366, 3646, 4092, 1, 796, 705, 1157, 400, 1295, 6 ]
What was the margin of victory when runner-up was K. J. Choi?
SELECT "Margin of victory" FROM table_3132 WHERE "Runner(s)-up" = 'K. J. Choi'
[ 2061, 373, 262, 10330, 286, 5373, 618, 17490, 12, 929, 373, 509, 13, 449, 13, 42198, 30, 46506, 366, 24428, 259, 286, 5373, 1, 16034, 3084, 62, 18, 19924, 33411, 366, 49493, 7, 82, 13219, 929, 1, 796, 705, 42, 13, 449, 13, 42198, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10330, 286, 5373, 618, 17490, 12, 929, 373, 509, 13, 449, 13, 42198, 30, 46506, 366, 24428, 259, 286, 5373, 1, 16034, 3084, 62, 18, 19924, 33411, 366, 49493, 7, 82, 13219, 929, 1, 796, 705, 42, 13, 449, 13, 42198, ...
When was the away team burnley?
SELECT "Date" FROM table_48030 WHERE "Away team" = 'burnley'
[ 2215, 373, 262, 1497, 1074, 4245, 1636, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 22148, 1270, 33411, 366, 32, 1014, 1074, 1, 796, 705, 10899, 1636, 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 ]
[ 2215, 373, 262, 1497, 1074, 4245, 1636, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 22148, 1270, 33411, 366, 32, 1014, 1074, 1, 796, 705, 10899, 1636, 6 ]
What is the lane with a time of 1:56.64, and a tank smaller than 7?
SELECT COUNT(lane) FROM table_name_31 WHERE time = "1:56.64" AND rank < 7
[ 2061, 318, 262, 11193, 351, 257, 640, 286, 352, 25, 3980, 13, 2414, 11, 290, 257, 6873, 4833, 621, 767, 30, 46506, 327, 28270, 7, 33533, 8, 16034, 3084, 62, 3672, 62, 3132, 33411, 640, 796, 366, 16, 25, 3980, 13, 2414, 1, 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 ]
[ 2061, 318, 262, 11193, 351, 257, 640, 286, 352, 25, 3980, 13, 2414, 11, 290, 257, 6873, 4833, 621, 767, 30, 46506, 327, 28270, 7, 33533, 8, 16034, 3084, 62, 3672, 62, 3132, 33411, 640, 796, 366, 16, 25, 3980, 13, 2414, 1, 5357, ...
what is the monthly maximum amount of parathyroid hormone of patient 26849 on the first hospital visit?
SELECT MAX(labevents.valuenum) FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 26849 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime LIMIT 1) AND labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = '...
[ 10919, 318, 262, 9651, 5415, 2033, 286, 1582, 10036, 3882, 17770, 286, 5827, 36678, 2920, 319, 262, 717, 4436, 3187, 30, 46506, 25882, 7, 23912, 31534, 13, 2100, 84, 44709, 8, 16034, 2248, 31534, 33411, 2248, 31534, 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...
[ 10919, 318, 262, 9651, 5415, 2033, 286, 1582, 10036, 3882, 17770, 286, 5827, 36678, 2920, 319, 262, 717, 4436, 3187, 30, 46506, 25882, 7, 23912, 31534, 13, 2100, 84, 44709, 8, 16034, 2248, 31534, 33411, 2248, 31534, 13, 18108, 76, 62, ...
Show the name of the party that has at least two records.
SELECT party FROM party GROUP BY party HAVING COUNT(*) >= 2
[ 15307, 262, 1438, 286, 262, 2151, 326, 468, 379, 1551, 734, 4406, 13, 46506, 2151, 16034, 2151, 44441, 11050, 2151, 367, 10116, 2751, 327, 28270, 7, 28104, 18189, 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 ]
[ 15307, 262, 1438, 286, 262, 2151, 326, 468, 379, 1551, 734, 4406, 13, 46506, 2151, 16034, 2151, 44441, 11050, 2151, 367, 10116, 2751, 327, 28270, 7, 28104, 18189, 362 ]
List the plats that attended Wilfrid Laurier University.
SELECT "Player" FROM table_22100 WHERE "Alma Mater" = 'Wilfrid Laurier University'
[ 8053, 262, 458, 1381, 326, 9141, 5187, 69, 6058, 13240, 959, 2059, 13, 46506, 366, 14140, 1, 16034, 3084, 62, 1828, 3064, 33411, 366, 2348, 2611, 337, 729, 1, 796, 705, 22327, 69, 6058, 13240, 959, 2059, 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 ]
[ 8053, 262, 458, 1381, 326, 9141, 5187, 69, 6058, 13240, 959, 2059, 13, 46506, 366, 14140, 1, 16034, 3084, 62, 1828, 3064, 33411, 366, 2348, 2611, 337, 729, 1, 796, 705, 22327, 69, 6058, 13240, 959, 2059, 6 ]
What are the names of all directors whose movies have been reviewed by Sarah Martinez?
SELECT DISTINCT T2.director FROM rating AS T1 JOIN movie AS T2 ON T1.mid = T2.mid JOIN reviewer AS T3 ON T1.rid = T3.rid WHERE T3.name = 'Sarah Martinez'
[ 2061, 389, 262, 3891, 286, 477, 13445, 3025, 6918, 423, 587, 11765, 416, 10490, 20741, 30, 46506, 360, 8808, 1268, 4177, 309, 17, 13, 35248, 16034, 7955, 7054, 309, 16, 32357, 1268, 3807, 7054, 309, 17, 6177, 309, 16, 13, 13602, 796, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 389, 262, 3891, 286, 477, 13445, 3025, 6918, 423, 587, 11765, 416, 10490, 20741, 30, 46506, 360, 8808, 1268, 4177, 309, 17, 13, 35248, 16034, 7955, 7054, 309, 16, 32357, 1268, 3807, 7054, 309, 17, 6177, 309, 16, 13, 13602, 796, ...
what is the number of patients whose diagnoses icd9 code is v293 and lab test fluid is cerebrospinal fluid (csf)?
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.icd9_code = "V293" AND lab.fluid = "Cerebrospinal Fluid (CSF)"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 40567, 14158, 67, 24, 2438, 318, 410, 31675, 290, 2248, 1332, 11711, 318, 6736, 7957, 2777, 1292, 11711, 357, 6359, 69, 19427, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 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...
[ 10919, 318, 262, 1271, 286, 3871, 3025, 40567, 14158, 67, 24, 2438, 318, 410, 31675, 290, 2248, 1332, 11711, 318, 6736, 7957, 2777, 1292, 11711, 357, 6359, 69, 19427, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 3...
Name the presenter 11 may
SELECT "Presenter" FROM table_23732 WHERE "Date" = '11 May'
[ 5376, 262, 39597, 1367, 743, 46506, 366, 34695, 263, 1, 16034, 3084, 62, 24693, 2624, 33411, 366, 10430, 1, 796, 705, 1157, 1737, 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 ]
[ 5376, 262, 39597, 1367, 743, 46506, 366, 34695, 263, 1, 16034, 3084, 62, 24693, 2624, 33411, 366, 10430, 1, 796, 705, 1157, 1737, 6 ]
What Country scored 70-68-70=208?
SELECT country FROM table_name_67 WHERE score = 70 - 68 - 70 = 208
[ 2061, 12946, 7781, 4317, 12, 3104, 12, 2154, 28, 21315, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 3134, 33411, 4776, 796, 4317, 532, 8257, 532, 4317, 796, 27121 ]
[ 1, 1, 1, 1, 1, 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, 12946, 7781, 4317, 12, 3104, 12, 2154, 28, 21315, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 3134, 33411, 4776, 796, 4317, 532, 8257, 532, 4317, 796, 27121 ]
What is the name of the network in the United Kingdom which aired in 1985 1992?
SELECT network FROM table_name_44 WHERE region_country = "united kingdom" AND dates_aired = "1985–1992"
[ 2061, 318, 262, 1438, 286, 262, 3127, 287, 262, 1578, 7526, 543, 18530, 287, 12863, 9768, 30, 46506, 3127, 16034, 3084, 62, 3672, 62, 2598, 33411, 3814, 62, 19315, 796, 366, 41187, 13239, 1, 5357, 9667, 62, 9820, 796, 366, 29110, 1906...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1438, 286, 262, 3127, 287, 262, 1578, 7526, 543, 18530, 287, 12863, 9768, 30, 46506, 3127, 16034, 3084, 62, 3672, 62, 2598, 33411, 3814, 62, 19315, 796, 366, 41187, 13239, 1, 5357, 9667, 62, 9820, 796, 366, 29110, 1906...
Users with most reputation from different states.
SELECT u.Id AS "user_link", Reputation, Location FROM Users AS u WHERE LOWER(Location) LIKE LOWER('%##countryname##%') OR LOWER(Location) LIKE LOWER('%##countryname1##%') OR LOWER(Location) LIKE LOWER('%##countryname2##%') ORDER BY Reputation DESC
[ 14490, 351, 749, 8507, 422, 1180, 2585, 13, 46506, 334, 13, 7390, 7054, 366, 7220, 62, 8726, 1600, 1432, 7094, 11, 13397, 16034, 18987, 7054, 334, 33411, 406, 36048, 7, 14749, 8, 34178, 406, 36048, 10786, 4, 2235, 19315, 3672, 2235, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 14490, 351, 749, 8507, 422, 1180, 2585, 13, 46506, 334, 13, 7390, 7054, 366, 7220, 62, 8726, 1600, 1432, 7094, 11, 13397, 16034, 18987, 7054, 334, 33411, 406, 36048, 7, 14749, 8, 34178, 406, 36048, 10786, 4, 2235, 19315, 3672, 2235, 4...
journal articles by lorenzo bruzzone
SELECT DISTINCT paper.paperid FROM author, paper, writes WHERE author.authorname = 'lorenzo bruzzone' AND paper.journalid >= 0 AND writes.authorid = author.authorid AND writes.paperid = paper.paperid
[ 24891, 6685, 416, 24044, 77, 10872, 18145, 3019, 505, 46506, 360, 8808, 1268, 4177, 3348, 13, 20189, 312, 16034, 1772, 11, 3348, 11, 6797, 33411, 1772, 13, 18439, 1211, 480, 796, 705, 75, 29578, 10872, 18145, 3019, 505, 6, 5357, 3348, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 24891, 6685, 416, 24044, 77, 10872, 18145, 3019, 505, 46506, 360, 8808, 1268, 4177, 3348, 13, 20189, 312, 16034, 1772, 11, 3348, 11, 6797, 33411, 1772, 13, 18439, 1211, 480, 796, 705, 75, 29578, 10872, 18145, 3019, 505, 6, 5357, 3348, ...
How many ranks have a rebound average smaller than 6.1?
SELECT COUNT("Rank") FROM table_33416 WHERE "Reb. Avg." < '6.1'
[ 2437, 867, 9803, 423, 257, 23623, 2811, 4833, 621, 718, 13, 16, 30, 46506, 327, 28270, 7203, 27520, 4943, 16034, 3084, 62, 31380, 1433, 33411, 366, 28951, 13, 33455, 526, 1279, 705, 21, 13, 16, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 9803, 423, 257, 23623, 2811, 4833, 621, 718, 13, 16, 30, 46506, 327, 28270, 7203, 27520, 4943, 16034, 3084, 62, 31380, 1433, 33411, 366, 28951, 13, 33455, 526, 1279, 705, 21, 13, 16, 6 ]
how many patients had been discharged from hospital during this year?
SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE NOT patient.hospitaldischargetime IS NULL AND DATETIME(patient.hospitaldischargetime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year')
[ 4919, 867, 3871, 550, 587, 26476, 422, 4436, 1141, 428, 614, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 5827, 13, 403, 1557, 538, 312, 8, 16034, 5827, 33411, 5626, 5827, 13, 49257, 6381, 354, 7641, 524, 3180, 15697, 5357, 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...
[ 4919, 867, 3871, 550, 587, 26476, 422, 4436, 1141, 428, 614, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 5827, 13, 403, 1557, 538, 312, 8, 16034, 5827, 33411, 5626, 5827, 13, 49257, 6381, 354, 7641, 524, 3180, 15697, 5357, 360, ...
Who received gold when the event is road race details and silver is max weber germany (ger)?
SELECT "Gold" FROM table_79466 WHERE "Event" = 'road race details' AND "Silver" = 'max weber germany (ger)'
[ 8241, 2722, 3869, 618, 262, 1785, 318, 2975, 3234, 3307, 290, 8465, 318, 3509, 356, 527, 308, 2224, 88, 357, 1362, 19427, 46506, 366, 13306, 1, 16034, 3084, 62, 3720, 42199, 33411, 366, 9237, 1, 796, 705, 6344, 3234, 3307, 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 ]
[ 8241, 2722, 3869, 618, 262, 1785, 318, 2975, 3234, 3307, 290, 8465, 318, 3509, 356, 527, 308, 2224, 88, 357, 1362, 19427, 46506, 366, 13306, 1, 16034, 3084, 62, 3720, 42199, 33411, 366, 9237, 1, 796, 705, 6344, 3234, 3307, 6, 5357, ...
what were the five most common microbiological tests for patients who received bronchodilator - beta-agonist earlier within 2 months?
SELECT t3.culturesite FROM (SELECT t2.culturesite, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, treatment.treatmenttime FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'bronchodilator - beta-agonist') AS t1 JOIN (...
[ 10919, 547, 262, 1936, 749, 2219, 24559, 2770, 5254, 329, 3871, 508, 2722, 18443, 354, 375, 346, 1352, 532, 12159, 12, 15239, 2961, 1626, 362, 1933, 30, 46506, 256, 18, 13, 40820, 942, 578, 16034, 357, 46506, 256, 17, 13, 40820, 942, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 547, 262, 1936, 749, 2219, 24559, 2770, 5254, 329, 3871, 508, 2722, 18443, 354, 375, 346, 1352, 532, 12159, 12, 15239, 2961, 1626, 362, 1933, 30, 46506, 256, 18, 13, 40820, 942, 578, 16034, 357, 46506, 256, 17, 13, 40820, 942, ...
when patient 19175 had intake for the first time on last month/02?
SELECT inputevents_cv.charttime 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 = 19175)) AND DATETIME(inputevents_cv.charttime, 'start of month') = DATETIME(CURRENT_TIME(), ...
[ 12518, 5827, 678, 17430, 550, 10337, 329, 262, 717, 640, 319, 938, 1227, 14, 2999, 30, 46506, 287, 79, 1133, 85, 658, 62, 33967, 13, 40926, 2435, 16034, 287, 79, 1133, 85, 658, 62, 33967, 33411, 287, 79, 1133, 85, 658, 62, 33967, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5827, 678, 17430, 550, 10337, 329, 262, 717, 640, 319, 938, 1227, 14, 2999, 30, 46506, 287, 79, 1133, 85, 658, 62, 33967, 13, 40926, 2435, 16034, 287, 79, 1133, 85, 658, 62, 33967, 33411, 287, 79, 1133, 85, 658, 62, 33967, ...
Visualize the average experience working length of journalists working on different role type using a bar chart, and could you rank in descending by the total number?
SELECT Work_Type, AVG(Years_working) FROM journalist AS t1 JOIN news_report AS t2 ON t1.journalist_ID = t2.journalist_ID GROUP BY t2.Work_Type ORDER BY AVG(Years_working) DESC
[ 36259, 1096, 262, 2811, 1998, 1762, 4129, 286, 9046, 1762, 319, 1180, 2597, 2099, 1262, 257, 2318, 8262, 11, 290, 714, 345, 4279, 287, 31491, 416, 262, 2472, 1271, 30, 46506, 5521, 62, 6030, 11, 35224, 7, 40630, 62, 16090, 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...
[ 36259, 1096, 262, 2811, 1998, 1762, 4129, 286, 9046, 1762, 319, 1180, 2597, 2099, 1262, 257, 2318, 8262, 11, 290, 714, 345, 4279, 287, 31491, 416, 262, 2472, 1271, 30, 46506, 5521, 62, 6030, 11, 35224, 7, 40630, 62, 16090, 8, 16034, ...
What is the lowest FA cup that has a league greater than 0, with a Malaysia cup greater than 5?
SELECT MIN("FA Cup") FROM table_7161 WHERE "League" > '0' AND "Malaysia Cup" > '5'
[ 2061, 318, 262, 9016, 9677, 6508, 326, 468, 257, 4652, 3744, 621, 657, 11, 351, 257, 15336, 6508, 3744, 621, 642, 30, 46506, 20625, 7203, 7708, 5454, 4943, 16034, 3084, 62, 22, 25948, 33411, 366, 24623, 1, 1875, 705, 15, 6, 5357, 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 ]
[ 2061, 318, 262, 9016, 9677, 6508, 326, 468, 257, 4652, 3744, 621, 657, 11, 351, 257, 15336, 6508, 3744, 621, 642, 30, 46506, 20625, 7203, 7708, 5454, 4943, 16034, 3084, 62, 22, 25948, 33411, 366, 24623, 1, 1875, 705, 15, 6, 5357, 36...
how many patients less than 68 years were discharged to short term hospital?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.discharge_location = "SHORT TERM HOSPITAL" AND demographic.age < "68"
[ 4919, 867, 3871, 1342, 621, 8257, 812, 547, 26476, 284, 1790, 3381, 4436, 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, 366, 9693, 9863, 2899...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1342, 621, 8257, 812, 547, 26476, 284, 1790, 3381, 4436, 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, 366, 9693, 9863, 2899...
In what year(s) were the CLASS T14 trains withdrawn from service?
SELECT year_s__withdrawn FROM table_name_86 WHERE class = "t14"
[ 818, 644, 614, 7, 82, 8, 547, 262, 42715, 309, 1415, 13404, 23019, 422, 2139, 30, 46506, 614, 62, 82, 834, 4480, 41549, 16034, 3084, 62, 3672, 62, 4521, 33411, 1398, 796, 366, 83, 1415, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 818, 644, 614, 7, 82, 8, 547, 262, 42715, 309, 1415, 13404, 23019, 422, 2139, 30, 46506, 614, 62, 82, 834, 4480, 41549, 16034, 3084, 62, 3672, 62, 4521, 33411, 1398, 796, 366, 83, 1415, 1 ]
What is the address of the Life & Casualty Tower?
SELECT "Street Address" FROM table_68778 WHERE "Name" = 'life & casualty tower'
[ 2061, 318, 262, 2209, 286, 262, 5155, 1222, 43508, 774, 8765, 30, 46506, 366, 34356, 17917, 1, 16034, 3084, 62, 3104, 39761, 33411, 366, 5376, 1, 796, 705, 6042, 1222, 39068, 10580, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2209, 286, 262, 5155, 1222, 43508, 774, 8765, 30, 46506, 366, 34356, 17917, 1, 16034, 3084, 62, 3104, 39761, 33411, 366, 5376, 1, 796, 705, 6042, 1222, 39068, 10580, 6 ]
Which Method has a Round of 1, and a Time of 0:28?
SELECT method FROM table_name_98 WHERE round = 1 AND time = "0:28"
[ 13828, 11789, 468, 257, 10485, 286, 352, 11, 290, 257, 3862, 286, 657, 25, 2078, 30, 46506, 2446, 16034, 3084, 62, 3672, 62, 4089, 33411, 2835, 796, 352, 5357, 640, 796, 366, 15, 25, 2078, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 11789, 468, 257, 10485, 286, 352, 11, 290, 257, 3862, 286, 657, 25, 2078, 30, 46506, 2446, 16034, 3084, 62, 3672, 62, 4089, 33411, 2835, 796, 352, 5357, 640, 796, 366, 15, 25, 2078, 1 ]
Who were the incumbent(s) in the election featuring john murray (dr) 50.4% george denison (dr) 49.6% with a result of a retired democratic-republican hold?
SELECT incumbent FROM table_2668336_19 WHERE candidates = "John Murray (DR) 50.4% George Denison (DR) 49.6%" AND result = "Retired Democratic-Republican hold"
[ 8241, 547, 262, 23526, 7, 82, 8, 287, 262, 3071, 9593, 45610, 4636, 2433, 357, 7109, 8, 2026, 13, 19, 4, 4903, 3643, 2853, 1653, 357, 7109, 8, 5125, 13, 21, 4, 351, 257, 1255, 286, 257, 9880, 10518, 12, 7856, 841, 272, 1745, 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...
[ 8241, 547, 262, 23526, 7, 82, 8, 287, 262, 3071, 9593, 45610, 4636, 2433, 357, 7109, 8, 2026, 13, 19, 4, 4903, 3643, 2853, 1653, 357, 7109, 8, 5125, 13, 21, 4, 351, 257, 1255, 286, 257, 9880, 10518, 12, 7856, 841, 272, 1745, 30,...
Give me the comparison about the average of Weight over the Sex , and group by attribute Sex by a bar chart, and show by the Y-axis from low to high.
SELECT Sex, AVG(Weight) FROM people GROUP BY Sex ORDER BY AVG(Weight)
[ 23318, 502, 262, 7208, 546, 262, 2811, 286, 14331, 625, 262, 14419, 837, 290, 1448, 416, 11688, 14419, 416, 257, 2318, 8262, 11, 290, 905, 416, 262, 575, 12, 22704, 422, 1877, 284, 1029, 13, 46506, 14419, 11, 35224, 7, 25844, 8, 160...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 23318, 502, 262, 7208, 546, 262, 2811, 286, 14331, 625, 262, 14419, 837, 290, 1448, 416, 11688, 14419, 416, 257, 2318, 8262, 11, 290, 905, 416, 262, 575, 12, 22704, 422, 1877, 284, 1029, 13, 46506, 14419, 11, 35224, 7, 25844, 8, 160...
Which Round has a Location of auckland, new zealand, and a Method of tko on 1994-11-24?
SELECT AVG(round) FROM table_name_83 WHERE location = "auckland, new zealand" AND method = "tko" AND date = "1994-11-24"
[ 13828, 10485, 468, 257, 13397, 286, 257, 28789, 11, 649, 27689, 392, 11, 290, 257, 11789, 286, 256, 7204, 319, 9162, 12, 1157, 12, 1731, 30, 46506, 35224, 7, 744, 8, 16034, 3084, 62, 3672, 62, 5999, 33411, 4067, 796, 366, 559, 694, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10485, 468, 257, 13397, 286, 257, 28789, 11, 649, 27689, 392, 11, 290, 257, 11789, 286, 256, 7204, 319, 9162, 12, 1157, 12, 1731, 30, 46506, 35224, 7, 744, 8, 16034, 3084, 62, 3672, 62, 5999, 33411, 4067, 796, 366, 559, 694, ...
What is the proportion of each customer's move in date? You can show me a bar chart that bins move in date into Year interval.
SELECT date_moved_in, COUNT(date_moved_in) FROM Customers AS T1 JOIN Customer_Events AS T2 ON T1.customer_id = T2.customer_id
[ 2061, 318, 262, 9823, 286, 1123, 6491, 338, 1445, 287, 3128, 30, 921, 460, 905, 502, 257, 2318, 8262, 326, 41701, 1445, 287, 3128, 656, 6280, 16654, 13, 46506, 3128, 62, 76, 2668, 62, 259, 11, 327, 28270, 7, 4475, 62, 76, 2668, 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...
[ 2061, 318, 262, 9823, 286, 1123, 6491, 338, 1445, 287, 3128, 30, 921, 460, 905, 502, 257, 2318, 8262, 326, 41701, 1445, 287, 3128, 656, 6280, 16654, 13, 46506, 3128, 62, 76, 2668, 62, 259, 11, 327, 28270, 7, 4475, 62, 76, 2668, 62...
What City of license has a Frequency MHz smaller than 95.9 with w223au as the call sign?
SELECT city_of_license FROM table_name_43 WHERE frequency_mhz < 95.9 AND call_sign = "w223au"
[ 2061, 2254, 286, 5964, 468, 257, 31902, 19805, 4833, 621, 6957, 13, 24, 351, 266, 22047, 559, 355, 262, 869, 1051, 30, 46506, 1748, 62, 1659, 62, 43085, 16034, 3084, 62, 3672, 62, 3559, 33411, 8373, 62, 76, 32179, 1279, 6957, 13, 24...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2254, 286, 5964, 468, 257, 31902, 19805, 4833, 621, 6957, 13, 24, 351, 266, 22047, 559, 355, 262, 869, 1051, 30, 46506, 1748, 62, 1659, 62, 43085, 16034, 3084, 62, 3672, 62, 3559, 33411, 8373, 62, 76, 32179, 1279, 6957, 13, 24...
What was Johnny Rutherford's fastest lap while Al Unser was the pole position?
SELECT fastest_lap FROM table_10527215_3 WHERE winning_driver = "Johnny Rutherford" AND pole_position = "Al Unser"
[ 2061, 373, 15470, 49767, 338, 14162, 14779, 981, 978, 791, 2655, 373, 262, 16825, 2292, 30, 46506, 14162, 62, 37796, 16034, 3084, 62, 13348, 1983, 23349, 62, 18, 33411, 5442, 62, 26230, 796, 366, 44960, 49767, 1, 5357, 16825, 62, 9150, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15470, 49767, 338, 14162, 14779, 981, 978, 791, 2655, 373, 262, 16825, 2292, 30, 46506, 14162, 62, 37796, 16034, 3084, 62, 13348, 1983, 23349, 62, 18, 33411, 5442, 62, 26230, 796, 366, 44960, 49767, 1, 5357, 16825, 62, 9150, ...
Which streets in Manchester have the highest rates of crime?
SELECT location FROM greatermanchestercrime WHERE location LIKE "%Street%" GROUP BY location ORDER BY COUNT(*) DESC LIMIT 1
[ 13828, 6483, 287, 9502, 423, 262, 4511, 3965, 286, 4065, 30, 46506, 4067, 16034, 1049, 2224, 35983, 28126, 33411, 4067, 34178, 36521, 34356, 39658, 44441, 11050, 4067, 38678, 11050, 327, 28270, 7, 28104, 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, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 6483, 287, 9502, 423, 262, 4511, 3965, 286, 4065, 30, 46506, 4067, 16034, 1049, 2224, 35983, 28126, 33411, 4067, 34178, 36521, 34356, 39658, 44441, 11050, 4067, 38678, 11050, 327, 28270, 7, 28104, 22196, 34, 27564, 2043, 352 ]
who is the away team when the home team is luton town?
SELECT "Away team" FROM table_8275 WHERE "Home team" = 'luton town'
[ 8727, 318, 262, 1497, 1074, 618, 262, 1363, 1074, 318, 300, 32894, 3240, 30, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 23, 23195, 33411, 366, 16060, 1074, 1, 796, 705, 75, 32894, 3240, 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 ]
[ 8727, 318, 262, 1497, 1074, 618, 262, 1363, 1074, 318, 300, 32894, 3240, 30, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 23, 23195, 33411, 366, 16060, 1074, 1, 796, 705, 75, 32894, 3240, 6 ]
Create a bar chart showing the number of city across city, and rank from high to low by the y axis.
SELECT CITY, COUNT(CITY) FROM locations GROUP BY CITY ORDER BY COUNT(CITY) DESC
[ 16447, 257, 2318, 8262, 4478, 262, 1271, 286, 1748, 1973, 1748, 11, 290, 4279, 422, 1029, 284, 1877, 416, 262, 331, 16488, 13, 46506, 27993, 11, 327, 28270, 7, 34, 9050, 8, 16034, 7064, 44441, 11050, 27993, 38678, 11050, 327, 28270, 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 ]
[ 16447, 257, 2318, 8262, 4478, 262, 1271, 286, 1748, 1973, 1748, 11, 290, 4279, 422, 1029, 284, 1877, 416, 262, 331, 16488, 13, 46506, 27993, 11, 327, 28270, 7, 34, 9050, 8, 16034, 7064, 44441, 11050, 27993, 38678, 11050, 327, 28270, 7...
what is the number of games played at olympic stadium this season ?
SELECT COUNT(*) FROM table_204_658 WHERE "game site" = 'olympic stadium'
[ 10919, 318, 262, 1271, 286, 1830, 2826, 379, 267, 6760, 291, 10308, 428, 1622, 5633, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 18638, 62, 38431, 33411, 366, 6057, 2524, 1, 796, 705, 3366, 3149, 291, 10308, 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 ]
[ 10919, 318, 262, 1271, 286, 1830, 2826, 379, 267, 6760, 291, 10308, 428, 1622, 5633, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 18638, 62, 38431, 33411, 366, 6057, 2524, 1, 796, 705, 3366, 3149, 291, 10308, 6 ]
What's the average year lebanon won?
SELECT AVG("Year") FROM table_59793 WHERE "Country/Territory" = 'lebanon'
[ 2061, 338, 262, 2811, 614, 443, 3820, 261, 1839, 30, 46506, 35224, 7203, 17688, 4943, 16034, 3084, 62, 3270, 44750, 33411, 366, 33921, 14, 15156, 799, 652, 1, 796, 705, 293, 3820, 261, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 338, 262, 2811, 614, 443, 3820, 261, 1839, 30, 46506, 35224, 7203, 17688, 4943, 16034, 3084, 62, 3270, 44750, 33411, 366, 33921, 14, 15156, 799, 652, 1, 796, 705, 293, 3820, 261, 6 ]
What pick was J.D. Hill?
SELECT MIN("Pick") FROM table_49171 WHERE "Player" = 'j.d. hill'
[ 2061, 2298, 373, 449, 13, 35, 13, 3327, 30, 46506, 20625, 7203, 31686, 4943, 16034, 3084, 62, 2920, 27192, 33411, 366, 14140, 1, 796, 705, 73, 13, 67, 13, 12788, 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, 2298, 373, 449, 13, 35, 13, 3327, 30, 46506, 20625, 7203, 31686, 4943, 16034, 3084, 62, 2920, 27192, 33411, 366, 14140, 1, 796, 705, 73, 13, 67, 13, 12788, 6 ]
What is the sum total of picks for drake players from the tri-cities blackhawks?
SELECT SUM("Pick") FROM table_77927 WHERE "Team" = 'tri-cities blackhawks' AND "College" = 'drake'
[ 2061, 318, 262, 2160, 2472, 286, 11103, 329, 28841, 365, 1938, 422, 262, 1333, 12, 66, 871, 2042, 27221, 30, 46506, 35683, 7203, 31686, 4943, 16034, 3084, 62, 40393, 1983, 33411, 366, 15592, 1, 796, 705, 28461, 12, 66, 871, 2042, 2722...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2472, 286, 11103, 329, 28841, 365, 1938, 422, 262, 1333, 12, 66, 871, 2042, 27221, 30, 46506, 35683, 7203, 31686, 4943, 16034, 3084, 62, 40393, 1983, 33411, 366, 15592, 1, 796, 705, 28461, 12, 66, 871, 2042, 2722...
tell me patient 17694's average value of heart rate since 1708 days ago?
SELECT AVG(chartevents.valuenum) FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 17694)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'hear...
[ 33331, 502, 5827, 1596, 45214, 338, 2811, 1988, 286, 2612, 2494, 1201, 1596, 2919, 1528, 2084, 30, 46506, 35224, 7, 40926, 31534, 13, 2100, 84, 44709, 8, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, 323, 62, 312, 3268, 357, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 33331, 502, 5827, 1596, 45214, 338, 2811, 1988, 286, 2612, 2494, 1201, 1596, 2919, 1528, 2084, 30, 46506, 35224, 7, 40926, 31534, 13, 2100, 84, 44709, 8, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, 323, 62, 312, 3268, 357, 4...
What is the chassis of rahel frey's volkswagen engine?
SELECT "Chassis" FROM table_59643 WHERE "Engine" = 'volkswagen' AND "Driver" = 'rahel frey'
[ 2061, 318, 262, 24587, 286, 2179, 2978, 2030, 88, 338, 2322, 591, 29160, 3113, 30, 46506, 366, 1925, 20297, 1, 16034, 3084, 62, 3270, 41813, 33411, 366, 13798, 1, 796, 705, 10396, 591, 29160, 6, 5357, 366, 32103, 1, 796, 705, 430, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 24587, 286, 2179, 2978, 2030, 88, 338, 2322, 591, 29160, 3113, 30, 46506, 366, 1925, 20297, 1, 16034, 3084, 62, 3270, 41813, 33411, 366, 13798, 1, 796, 705, 10396, 591, 29160, 6, 5357, 366, 32103, 1, 796, 705, 430, 2...
provide the number of patients whose marital status is single and procedure long title is cardiac mapping?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.marital_status = "SINGLE" AND procedures.long_title = "Cardiac mapping"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 29555, 3722, 318, 2060, 290, 8771, 890, 3670, 318, 26077, 16855, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 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...
[ 15234, 485, 262, 1271, 286, 3871, 3025, 29555, 3722, 318, 2060, 290, 8771, 890, 3670, 318, 26077, 16855, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, ...
What label has the 817 catalog?
SELECT "Label" FROM table_64256 WHERE "Catalog number" = '817'
[ 2061, 6167, 468, 262, 807, 1558, 18388, 30, 46506, 366, 33986, 1, 16034, 3084, 62, 2414, 11645, 33411, 366, 49015, 1271, 1, 796, 705, 23, 1558, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 6167, 468, 262, 807, 1558, 18388, 30, 46506, 366, 33986, 1, 16034, 3084, 62, 2414, 11645, 33411, 366, 49015, 1271, 1, 796, 705, 23, 1558, 6 ]
What is the average attendance for all events held at Palmerston Park venue?
SELECT AVG("Attendance") FROM table_45890 WHERE "Venue" = 'palmerston park'
[ 2061, 318, 262, 2811, 14858, 329, 477, 2995, 2714, 379, 18918, 3743, 3250, 14359, 30, 46506, 35224, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 29334, 3829, 33411, 366, 37522, 518, 1, 796, 705, 18596, 647, 3743, 3952, 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, 318, 262, 2811, 14858, 329, 477, 2995, 2714, 379, 18918, 3743, 3250, 14359, 30, 46506, 35224, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 29334, 3829, 33411, 366, 37522, 518, 1, 796, 705, 18596, 647, 3743, 3952, 6 ]
Show the location codes and the number of documents in each location in a bar chart, order the total number in descending order.
SELECT Location_Code, COUNT(*) FROM Document_Locations GROUP BY Location_Code ORDER BY COUNT(*) DESC
[ 15307, 262, 4067, 12416, 290, 262, 1271, 286, 4963, 287, 1123, 4067, 287, 257, 2318, 8262, 11, 1502, 262, 2472, 1271, 287, 31491, 1502, 13, 46506, 13397, 62, 10669, 11, 327, 28270, 7, 28104, 16034, 16854, 62, 43, 20968, 44441, 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, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 262, 4067, 12416, 290, 262, 1271, 286, 4963, 287, 1123, 4067, 287, 257, 2318, 8262, 11, 1502, 262, 2472, 1271, 287, 31491, 1502, 13, 46506, 13397, 62, 10669, 11, 327, 28270, 7, 28104, 16034, 16854, 62, 43, 20968, 44441, 11050, ...
What team(s) enjoyed an average spped (mph) of 138.14?
SELECT team FROM table_17802778_1 WHERE average_speed__mph_ = "138.14"
[ 2061, 1074, 7, 82, 8, 8359, 281, 2811, 264, 1496, 357, 23335, 8, 286, 21503, 13, 1415, 30, 46506, 1074, 16034, 3084, 62, 1558, 1795, 1983, 3695, 62, 16, 33411, 2811, 62, 12287, 834, 23335, 62, 796, 366, 20107, 13, 1415, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7, 82, 8, 8359, 281, 2811, 264, 1496, 357, 23335, 8, 286, 21503, 13, 1415, 30, 46506, 1074, 16034, 3084, 62, 1558, 1795, 1983, 3695, 62, 16, 33411, 2811, 62, 12287, 834, 23335, 62, 796, 366, 20107, 13, 1415, 1 ]
What are the average and minimum price (in Euro) of all products?
SELECT AVG(price_in_euros), MIN(price_in_euros) FROM catalog_contents
[ 2061, 389, 262, 2811, 290, 5288, 2756, 357, 259, 1898, 8, 286, 477, 3186, 30, 46506, 35224, 7, 20888, 62, 259, 62, 44252, 82, 828, 20625, 7, 20888, 62, 259, 62, 44252, 82, 8, 16034, 18388, 62, 3642, 658 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 262, 2811, 290, 5288, 2756, 357, 259, 1898, 8, 286, 477, 3186, 30, 46506, 35224, 7, 20888, 62, 259, 62, 44252, 82, 828, 20625, 7, 20888, 62, 259, 62, 44252, 82, 8, 16034, 18388, 62, 3642, 658 ]
What is the series number that had 5.31 million viewers?
SELECT MAX("Series #") FROM table_27762 WHERE "U.S viewers (million)" = '5.31'
[ 2061, 318, 262, 2168, 1271, 326, 550, 642, 13, 3132, 1510, 10209, 30, 46506, 25882, 7203, 27996, 1303, 4943, 16034, 3084, 62, 1983, 48194, 33411, 366, 52, 13, 50, 10209, 357, 14100, 16725, 796, 705, 20, 13, 3132, 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, 318, 262, 2168, 1271, 326, 550, 642, 13, 3132, 1510, 10209, 30, 46506, 25882, 7203, 27996, 1303, 4943, 16034, 3084, 62, 1983, 48194, 33411, 366, 52, 13, 50, 10209, 357, 14100, 16725, 796, 705, 20, 13, 3132, 6 ]
In what nation did Darko Sovran place third?
SELECT nation FROM table_name_19 WHERE third = "darko sovran"
[ 818, 644, 3277, 750, 3801, 78, 6917, 2596, 1295, 2368, 30, 46506, 3277, 16034, 3084, 62, 3672, 62, 1129, 33411, 2368, 796, 366, 21953, 78, 523, 85, 2596, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 818, 644, 3277, 750, 3801, 78, 6917, 2596, 1295, 2368, 30, 46506, 3277, 16034, 3084, 62, 3672, 62, 1129, 33411, 2368, 796, 366, 21953, 78, 523, 85, 2596, 1 ]
What is the height of the F who weighs less than 195?
SELECT height FROM table_name_82 WHERE pos = "f" AND weight < 195
[ 2061, 318, 262, 6001, 286, 262, 376, 508, 24034, 1342, 621, 24793, 30, 46506, 6001, 16034, 3084, 62, 3672, 62, 6469, 33411, 1426, 796, 366, 69, 1, 5357, 3463, 1279, 24793 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 6001, 286, 262, 376, 508, 24034, 1342, 621, 24793, 30, 46506, 6001, 16034, 3084, 62, 3672, 62, 6469, 33411, 1426, 796, 366, 69, 1, 5357, 3463, 1279, 24793 ]
What is the series number for season episode 24?
SELECT MIN(series_number) FROM table_13505192_3 WHERE season_number = 24
[ 2061, 318, 262, 2168, 1271, 329, 1622, 4471, 1987, 30, 46506, 20625, 7, 25076, 62, 17618, 8, 16034, 3084, 62, 1485, 31654, 17477, 62, 18, 33411, 1622, 62, 17618, 796, 1987 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 2168, 1271, 329, 1622, 4471, 1987, 30, 46506, 20625, 7, 25076, 62, 17618, 8, 16034, 3084, 62, 1485, 31654, 17477, 62, 18, 33411, 1622, 62, 17618, 796, 1987 ]
What tournament had a 1 point margin of victory?
SELECT "Tournament" FROM table_9532 WHERE "Margin of victory" = '1 point'
[ 2061, 7756, 550, 257, 352, 966, 10330, 286, 5373, 30, 46506, 366, 51, 5138, 1, 16034, 3084, 62, 3865, 2624, 33411, 366, 24428, 259, 286, 5373, 1, 796, 705, 16, 966, 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, 7756, 550, 257, 352, 966, 10330, 286, 5373, 30, 46506, 366, 51, 5138, 1, 16034, 3084, 62, 3865, 2624, 33411, 366, 24428, 259, 286, 5373, 1, 796, 705, 16, 966, 6 ]
Name the highest silver for table tennis and bronze more than 0
SELECT MAX(silver) FROM table_name_18 WHERE sport = "table tennis" AND bronze > 0
[ 5376, 262, 4511, 8465, 329, 3084, 20790, 290, 22101, 517, 621, 657, 46506, 25882, 7, 40503, 8, 16034, 3084, 62, 3672, 62, 1507, 33411, 6332, 796, 366, 11487, 20790, 1, 5357, 22101, 1875, 657 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 4511, 8465, 329, 3084, 20790, 290, 22101, 517, 621, 657, 46506, 25882, 7, 40503, 8, 16034, 3084, 62, 3672, 62, 1507, 33411, 6332, 796, 366, 11487, 20790, 1, 5357, 22101, 1875, 657 ]