instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
return me the references of ' Making database systems usable ' .
SELECT reference_num FROM publication WHERE title = 'Making database systems usable'
[ 7783, 502, 262, 10288, 286, 705, 16427, 6831, 3341, 24284, 705, 764, 46506, 4941, 62, 22510, 16034, 9207, 33411, 3670, 796, 705, 23874, 6831, 3341, 24284, 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 ]
[ 7783, 502, 262, 10288, 286, 705, 16427, 6831, 3341, 24284, 705, 764, 46506, 4941, 62, 22510, 16034, 9207, 33411, 3670, 796, 705, 23874, 6831, 3341, 24284, 6 ]
Which Team has a Winner of 1?
SELECT "Team" FROM table_14828 WHERE "Winner" = '1'
[ 13828, 4816, 468, 257, 25358, 286, 352, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 18294, 2078, 33411, 366, 48056, 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 ]
[ 13828, 4816, 468, 257, 25358, 286, 352, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 18294, 2078, 33411, 366, 48056, 1, 796, 705, 16, 6 ]
Tell me the icao of isla grande
SELECT icao FROM table_name_76 WHERE city = "isla grande"
[ 24446, 502, 262, 220, 3970, 78, 286, 318, 5031, 4490, 68, 46506, 220, 3970, 78, 16034, 3084, 62, 3672, 62, 4304, 33411, 1748, 796, 366, 3044, 64, 4490, 68, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 220, 3970, 78, 286, 318, 5031, 4490, 68, 46506, 220, 3970, 78, 16034, 3084, 62, 3672, 62, 4304, 33411, 1748, 796, 366, 3044, 64, 4490, 68, 1 ]
For those employees who do not work in departments with managers that have ids between 100 and 200, draw a bar chart about the distribution of first_name and manager_id , and order by the FIRST_NAME in descending.
SELECT FIRST_NAME, MANAGER_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY FIRST_NAME DESC
[ 1890, 883, 4409, 508, 466, 407, 670, 287, 13346, 351, 11663, 326, 423, 220, 2340, 1022, 1802, 290, 939, 11, 3197, 257, 2318, 8262, 546, 262, 6082, 286, 717, 62, 3672, 290, 4706, 62, 312, 837, 290, 1502, 416, 262, 31328, 62, 20608, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4409, 508, 466, 407, 670, 287, 13346, 351, 11663, 326, 423, 220, 2340, 1022, 1802, 290, 939, 11, 3197, 257, 2318, 8262, 546, 262, 6082, 286, 717, 62, 3672, 290, 4706, 62, 312, 837, 290, 1502, 416, 262, 31328, 62, 20608, ...
what is patient 58649's age in their last hospital encounter?
SELECT admissions.age FROM admissions WHERE admissions.subject_id = 58649 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime DESC LIMIT 1
[ 10919, 318, 5827, 7618, 33300, 338, 2479, 287, 511, 938, 4436, 8791, 30, 46506, 25349, 13, 496, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 7618, 33300, 5357, 5626, 25349, 13, 6381, 354, 2435, 3180, 15697, 38678, 11050, 25349, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 5827, 7618, 33300, 338, 2479, 287, 511, 938, 4436, 8791, 30, 46506, 25349, 13, 496, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 7618, 33300, 5357, 5626, 25349, 13, 6381, 354, 2435, 3180, 15697, 38678, 11050, 25349, ...
count the number of patients whose year of birth is less than 2043 and lab test fluid is cerebrospinal fluid (csf)?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.dob_year < "2043" AND lab.fluid = "Cerebrospinal Fluid (CSF)"
[ 9127, 262, 1271, 286, 3871, 3025, 614, 286, 4082, 318, 1342, 621, 1160, 3559, 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, 312, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9127, 262, 1271, 286, 3871, 3025, 614, 286, 4082, 318, 1342, 621, 1160, 3559, 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, 312, 8, ...
How many schools named southern new hampshire university?
SELECT COUNT(enrollment) FROM table_1969634_1 WHERE institution = "Southern New Hampshire University"
[ 2437, 867, 4266, 3706, 8372, 649, 289, 696, 10932, 6403, 30, 46506, 327, 28270, 7, 268, 48108, 8, 16034, 3084, 62, 1129, 38205, 2682, 62, 16, 33411, 9901, 796, 366, 44993, 968, 13910, 2059, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 4266, 3706, 8372, 649, 289, 696, 10932, 6403, 30, 46506, 327, 28270, 7, 268, 48108, 8, 16034, 3084, 62, 1129, 38205, 2682, 62, 16, 33411, 9901, 796, 366, 44993, 968, 13910, 2059, 1 ]
What is Opponent, when Date is December 18, 1988?
SELECT "Opponent" FROM table_41909 WHERE "Date" = 'december 18, 1988'
[ 2061, 318, 9385, 3471, 11, 618, 7536, 318, 3426, 1248, 11, 12122, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 45068, 2931, 33411, 366, 10430, 1, 796, 705, 2934, 3273, 1248, 11, 12122, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 9385, 3471, 11, 618, 7536, 318, 3426, 1248, 11, 12122, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 45068, 2931, 33411, 366, 10430, 1, 796, 705, 2934, 3273, 1248, 11, 12122, 6 ]
What's the moving of the Esp with a transfer and named De La Red?
SELECT "Moving from" FROM table_44658 WHERE "Type" = 'transfer' AND "Nat." = 'esp' AND "Name" = 'de la red'
[ 2061, 338, 262, 3867, 286, 262, 20386, 351, 257, 4351, 290, 3706, 1024, 4689, 2297, 30, 46506, 366, 33622, 422, 1, 16034, 3084, 62, 2598, 38431, 33411, 366, 6030, 1, 796, 705, 39437, 6, 5357, 366, 47849, 526, 796, 705, 9774, 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 ]
[ 2061, 338, 262, 3867, 286, 262, 20386, 351, 257, 4351, 290, 3706, 1024, 4689, 2297, 30, 46506, 366, 33622, 422, 1, 16034, 3084, 62, 2598, 38431, 33411, 366, 6030, 1, 796, 705, 39437, 6, 5357, 366, 47849, 526, 796, 705, 9774, 6, 5357...
For those products with a price between 60 and 120, visualize a bar chart about the distribution of name and manufacturer , rank from low to high by the Y.
SELECT Name, Manufacturer FROM Products WHERE Price BETWEEN 60 AND 120 ORDER BY Manufacturer
[ 1890, 883, 3186, 351, 257, 2756, 1022, 3126, 290, 7982, 11, 38350, 257, 2318, 8262, 546, 262, 6082, 286, 1438, 290, 11554, 837, 4279, 422, 1877, 284, 1029, 416, 262, 575, 13, 46506, 6530, 11, 40218, 16034, 18675, 33411, 7886, 38651, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1890, 883, 3186, 351, 257, 2756, 1022, 3126, 290, 7982, 11, 38350, 257, 2318, 8262, 546, 262, 6082, 286, 1438, 290, 11554, 837, 4279, 422, 1877, 284, 1029, 416, 262, 575, 13, 46506, 6530, 11, 40218, 16034, 18675, 33411, 7886, 38651, 8...
Show the management id and their salary using a scatter chart.
SELECT T1.SALARY, T1.MANAGER_ID FROM employees AS T1 JOIN departments AS T2 ON T1.DEPARTMENT_ID = T2.DEPARTMENT_ID WHERE T1.EMPLOYEE_ID = T2.MANAGER_ID
[ 15307, 262, 4542, 4686, 290, 511, 9588, 1262, 257, 41058, 8262, 13, 46506, 309, 16, 13, 50, 1847, 13153, 11, 309, 16, 13, 10725, 4760, 1137, 62, 2389, 16034, 4409, 7054, 309, 16, 32357, 1268, 13346, 7054, 309, 17, 6177, 309, 16, 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...
[ 15307, 262, 4542, 4686, 290, 511, 9588, 1262, 257, 41058, 8262, 13, 46506, 309, 16, 13, 50, 1847, 13153, 11, 309, 16, 13, 10725, 4760, 1137, 62, 2389, 16034, 4409, 7054, 309, 16, 32357, 1268, 13346, 7054, 309, 17, 6177, 309, 16, 13,...
What is Bronze, when Silver is less than 89, and when Total is '4'?
SELECT "Bronze" FROM table_12356 WHERE "Silver" < '89' AND "Total" = '4'
[ 2061, 318, 19461, 11, 618, 7698, 318, 1342, 621, 9919, 11, 290, 618, 7472, 318, 705, 19, 30960, 46506, 366, 18760, 2736, 1, 16034, 3084, 62, 1065, 32066, 33411, 366, 26766, 1, 1279, 705, 4531, 6, 5357, 366, 14957, 1, 796, 705, 19, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 19461, 11, 618, 7698, 318, 1342, 621, 9919, 11, 290, 618, 7472, 318, 705, 19, 30960, 46506, 366, 18760, 2736, 1, 16034, 3084, 62, 1065, 32066, 33411, 366, 26766, 1, 1279, 705, 4531, 6, 5357, 366, 14957, 1, 796, 705, 19, ...
What is the highest Year, when Opponent is #2 Syracuse?
SELECT MAX(year) FROM table_name_52 WHERE opponent = "#2 syracuse"
[ 2061, 318, 262, 4511, 6280, 11, 618, 9385, 3471, 318, 1303, 17, 29141, 30, 46506, 25882, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 4309, 33411, 6125, 796, 25113, 17, 827, 28268, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4511, 6280, 11, 618, 9385, 3471, 318, 1303, 17, 29141, 30, 46506, 25882, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 4309, 33411, 6125, 796, 25113, 17, 827, 28268, 1 ]
Who is the developer when the pre-release is no*?
SELECT "KINKA Developer" FROM table_12231 WHERE "KINKA Pre-release" = 'no*'
[ 8241, 318, 262, 8517, 618, 262, 662, 12, 20979, 318, 645, 9, 30, 46506, 366, 42, 17248, 32, 23836, 1, 16034, 3084, 62, 1065, 25667, 33411, 366, 42, 17248, 32, 3771, 12, 20979, 1, 796, 705, 3919, 9, 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 ]
[ 8241, 318, 262, 8517, 618, 262, 662, 12, 20979, 318, 645, 9, 30, 46506, 366, 42, 17248, 32, 23836, 1, 16034, 3084, 62, 1065, 25667, 33411, 366, 42, 17248, 32, 3771, 12, 20979, 1, 796, 705, 3919, 9, 6 ]
Who was the Home Team while Calgary was visiting while having an Attendance above 15,655?
SELECT "Home" FROM table_77929 WHERE "Visitor" = 'calgary' AND "Attendance" > '15,655'
[ 8241, 373, 262, 5995, 4816, 981, 17842, 373, 10013, 981, 1719, 281, 46502, 590, 2029, 1315, 11, 35916, 30, 46506, 366, 16060, 1, 16034, 3084, 62, 40393, 1959, 33411, 366, 15854, 2072, 1, 796, 705, 9948, 14849, 6, 5357, 366, 8086, 437,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 373, 262, 5995, 4816, 981, 17842, 373, 10013, 981, 1719, 281, 46502, 590, 2029, 1315, 11, 35916, 30, 46506, 366, 16060, 1, 16034, 3084, 62, 40393, 1959, 33411, 366, 15854, 2072, 1, 796, 705, 9948, 14849, 6, 5357, 366, 8086, 437,...
How many cup goals for the season with more than 34 league apps?
SELECT AVG(cup_goals) FROM table_name_9 WHERE league_apps > 34
[ 2437, 867, 6508, 4661, 329, 262, 1622, 351, 517, 621, 4974, 4652, 6725, 30, 46506, 35224, 7, 25244, 62, 2188, 874, 8, 16034, 3084, 62, 3672, 62, 24, 33411, 4652, 62, 18211, 1875, 4974 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6508, 4661, 329, 262, 1622, 351, 517, 621, 4974, 4652, 6725, 30, 46506, 35224, 7, 25244, 62, 2188, 874, 8, 16034, 3084, 62, 3672, 62, 24, 33411, 4652, 62, 18211, 1875, 4974 ]
What is the price of the internet provider that has an upstream rate of 256 kbit and a downstream rate of 512 kbit?
SELECT price FROM table_name_24 WHERE upstream = "256 kbit" AND downstream = "512 kbit"
[ 2061, 318, 262, 2756, 286, 262, 5230, 10131, 326, 468, 281, 28717, 2494, 286, 17759, 479, 2545, 290, 257, 33218, 2494, 286, 22243, 479, 2545, 30, 46506, 2756, 16034, 3084, 62, 3672, 62, 1731, 33411, 28717, 796, 366, 11645, 479, 2545, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2756, 286, 262, 5230, 10131, 326, 468, 281, 28717, 2494, 286, 17759, 479, 2545, 290, 257, 33218, 2494, 286, 22243, 479, 2545, 30, 46506, 2756, 16034, 3084, 62, 3672, 62, 1731, 33411, 28717, 796, 366, 11645, 479, 2545, ...
What is the assists for the year 1995?
SELECT assists FROM table_name_66 WHERE year = "1995"
[ 2061, 318, 262, 13648, 329, 262, 614, 8735, 30, 46506, 13648, 16034, 3084, 62, 3672, 62, 2791, 33411, 614, 796, 366, 21908, 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, 13648, 329, 262, 614, 8735, 30, 46506, 13648, 16034, 3084, 62, 3672, 62, 2791, 33411, 614, 796, 366, 21908, 1 ]
Are upper level electives offered before noon ?
SELECT DISTINCT course.department, course.name, course.number FROM course, course_offering, program_course, semester WHERE course_offering.end_time <= '12:00:00' AND course.course_id = course_offering.course_id AND program_course.category LIKE '%ULCS%' AND program_course.course_id = course.course_id AND semester.semest...
[ 8491, 6727, 1241, 1742, 1083, 4438, 878, 19613, 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, 24878, 33411, 1781, 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...
[ 8491, 6727, 1241, 1742, 1083, 4438, 878, 19613, 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, 24878, 33411, 1781, 62...
give me some good places for arabic in mountain view ?
SELECT location.house_number, restaurant.name FROM location, restaurant WHERE location.city_name = 'mountain view' AND restaurant.food_type = 'arabic' AND restaurant.id = location.restaurant_id AND restaurant.rating > 2.5
[ 26535, 502, 617, 922, 4113, 329, 610, 397, 291, 287, 8598, 1570, 5633, 46506, 4067, 13, 4803, 62, 17618, 11, 7072, 13, 3672, 16034, 4067, 11, 7072, 33411, 4067, 13, 19205, 62, 3672, 796, 705, 14948, 391, 1570, 6, 5357, 7072, 13, 194...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 617, 922, 4113, 329, 610, 397, 291, 287, 8598, 1570, 5633, 46506, 4067, 13, 4803, 62, 17618, 11, 7072, 13, 3672, 16034, 4067, 11, 7072, 33411, 4067, 13, 19205, 62, 3672, 796, 705, 14948, 391, 1570, 6, 5357, 7072, 13, 194...
Which lead had a season of 2009-10?
SELECT lead FROM table_name_40 WHERE season = "2009-10"
[ 13828, 1085, 550, 257, 1622, 286, 3717, 12, 940, 30, 46506, 1085, 16034, 3084, 62, 3672, 62, 1821, 33411, 1622, 796, 366, 10531, 12, 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 ]
[ 13828, 1085, 550, 257, 1622, 286, 3717, 12, 940, 30, 46506, 1085, 16034, 3084, 62, 3672, 62, 1821, 33411, 1622, 796, 366, 10531, 12, 940, 1 ]
Rollbacks by a certain user.
WITH RollbackHistory AS (SELECT PostId, CreationDate FROM PostHistory WHERE UserId = @UserId AND PostHistoryTypeId IN (7, 8, 9) GROUP BY PostId, CreationDate, RevisionGUID) SELECT h.PostId AS "post_link", h.CreationDate, p.OwnerUserId AS "user_link", CASE p.PostTypeId WHEN 1 THEN 'Question' WHEN 2 THEN 'Answer' END AS ...
[ 26869, 10146, 416, 257, 1728, 2836, 13, 54, 10554, 8299, 1891, 18122, 7054, 357, 46506, 2947, 7390, 11, 21582, 10430, 16034, 2947, 18122, 33411, 11787, 7390, 796, 2488, 12982, 7390, 5357, 2947, 18122, 6030, 7390, 3268, 357, 22, 11, 807, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 26869, 10146, 416, 257, 1728, 2836, 13, 54, 10554, 8299, 1891, 18122, 7054, 357, 46506, 2947, 7390, 11, 21582, 10430, 16034, 2947, 18122, 33411, 11787, 7390, 796, 2488, 12982, 7390, 5357, 2947, 18122, 6030, 7390, 3268, 357, 22, 11, 807, ...
How many papers does robert wood have ?
SELECT DISTINCT COUNT(DISTINCT writes.paperid) FROM author, writes WHERE author.authorname = 'robert wood' AND writes.authorid = author.authorid
[ 2437, 867, 9473, 857, 686, 4835, 4898, 423, 5633, 46506, 360, 8808, 1268, 4177, 327, 28270, 7, 35, 8808, 1268, 4177, 6797, 13, 20189, 312, 8, 16034, 1772, 11, 6797, 33411, 1772, 13, 18439, 1211, 480, 796, 705, 305, 4835, 4898, 6, 53...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9473, 857, 686, 4835, 4898, 423, 5633, 46506, 360, 8808, 1268, 4177, 327, 28270, 7, 35, 8808, 1268, 4177, 6797, 13, 20189, 312, 8, 16034, 1772, 11, 6797, 33411, 1772, 13, 18439, 1211, 480, 796, 705, 305, 4835, 4898, 6, 53...
What is the date when streak was won 8?
SELECT "Date" FROM table_38718 WHERE "Streak" = 'won 8'
[ 2061, 318, 262, 3128, 618, 15113, 373, 1839, 807, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 32220, 1507, 33411, 366, 30611, 461, 1, 796, 705, 26502, 807, 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, 318, 262, 3128, 618, 15113, 373, 1839, 807, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 32220, 1507, 33411, 366, 30611, 461, 1, 796, 705, 26502, 807, 6 ]
What is the release date of I Wanna Play House?
SELECT release_date FROM table_name_95 WHERE title = "i wanna play house"
[ 2061, 318, 262, 2650, 3128, 286, 314, 370, 7697, 3811, 2097, 30, 46506, 2650, 62, 4475, 16034, 3084, 62, 3672, 62, 3865, 33411, 3670, 796, 366, 72, 18869, 711, 2156, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2650, 3128, 286, 314, 370, 7697, 3811, 2097, 30, 46506, 2650, 62, 4475, 16034, 3084, 62, 3672, 62, 3865, 33411, 3670, 796, 366, 72, 18869, 711, 2156, 1 ]
What is listed the Favorite Professional Sport that's got a 2005 of 17.1%?
SELECT favorite_professional_sport FROM table_name_91 WHERE 2005 = "17.1%"
[ 2061, 318, 5610, 262, 33992, 18612, 12771, 326, 338, 1392, 257, 5075, 286, 1596, 13, 16, 4, 30, 46506, 4004, 62, 33163, 62, 82, 634, 16034, 3084, 62, 3672, 62, 6420, 33411, 5075, 796, 366, 1558, 13, 16, 39658 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 262, 33992, 18612, 12771, 326, 338, 1392, 257, 5075, 286, 1596, 13, 16, 4, 30, 46506, 4004, 62, 33163, 62, 82, 634, 16034, 3084, 62, 3672, 62, 6420, 33411, 5075, 796, 366, 1558, 13, 16, 39658 ]
what is the number of patients whose procedure short title is inj/inf platelet inhibit?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE procedures.short_title = "Inj/inf platelet inhibit"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 8771, 1790, 3670, 318, 2529, 14, 10745, 7480, 1616, 26776, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 1271, 286, 3871, 3025, 8771, 1790, 3670, 318, 2529, 14, 10745, 7480, 1616, 26776, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, ...
Find the title of course whose prerequisite is course Differential Geometry.
SELECT title FROM course WHERE course_id IN (SELECT T1.course_id FROM prereq AS T1 JOIN course AS T2 ON T1.prereq_id = T2.course_id WHERE T2.title = 'Differential Geometry')
[ 16742, 262, 3670, 286, 1781, 3025, 43119, 318, 1781, 20615, 498, 2269, 15748, 13, 46506, 3670, 16034, 1781, 33411, 1781, 62, 312, 3268, 357, 46506, 309, 16, 13, 17319, 62, 312, 16034, 662, 42180, 7054, 309, 16, 32357, 1268, 1781, 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, 3670, 286, 1781, 3025, 43119, 318, 1781, 20615, 498, 2269, 15748, 13, 46506, 3670, 16034, 1781, 33411, 1781, 62, 312, 3268, 357, 46506, 309, 16, 13, 17319, 62, 312, 16034, 662, 42180, 7054, 309, 16, 32357, 1268, 1781, 7054, ...
A bar chart for how many competitions for each country, and display bars from high to low order.
SELECT Country, COUNT(Country) FROM competition GROUP BY Country ORDER BY Country DESC
[ 32, 2318, 8262, 329, 703, 867, 24174, 329, 1123, 1499, 11, 290, 3359, 9210, 422, 1029, 284, 1877, 1502, 13, 46506, 12946, 11, 327, 28270, 7, 33921, 8, 16034, 5449, 44441, 11050, 12946, 38678, 11050, 12946, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 32, 2318, 8262, 329, 703, 867, 24174, 329, 1123, 1499, 11, 290, 3359, 9210, 422, 1029, 284, 1877, 1502, 13, 46506, 12946, 11, 327, 28270, 7, 33921, 8, 16034, 5449, 44441, 11050, 12946, 38678, 11050, 12946, 22196, 34 ]
Show the stars of each director by a bar chart, and could you order stars in asc order?
SELECT director, stars FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID ORDER BY stars
[ 15307, 262, 5788, 286, 1123, 3437, 416, 257, 2318, 8262, 11, 290, 714, 345, 1502, 5788, 287, 10570, 1502, 30, 46506, 3437, 11, 5788, 16034, 12028, 7054, 309, 16, 32357, 1268, 15875, 7054, 309, 17, 6177, 309, 16, 13, 76, 2389, 796, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 262, 5788, 286, 1123, 3437, 416, 257, 2318, 8262, 11, 290, 714, 345, 1502, 5788, 287, 10570, 1502, 30, 46506, 3437, 11, 5788, 16034, 12028, 7054, 309, 16, 32357, 1268, 15875, 7054, 309, 17, 6177, 309, 16, 13, 76, 2389, 796, 3...
How many blocks are there when the rebounds are fewer than 5.2?
SELECT COUNT(blocks) FROM table_name_19 WHERE rebounds < 5.2
[ 2437, 867, 7021, 389, 612, 618, 262, 18841, 389, 7380, 621, 642, 13, 17, 30, 46506, 327, 28270, 7, 27372, 8, 16034, 3084, 62, 3672, 62, 1129, 33411, 18841, 1279, 642, 13, 17 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 7021, 389, 612, 618, 262, 18841, 389, 7380, 621, 642, 13, 17, 30, 46506, 327, 28270, 7, 27372, 8, 16034, 3084, 62, 3672, 62, 1129, 33411, 18841, 1279, 642, 13, 17 ]
What Home team played Richmond?
SELECT home_team FROM table_name_22 WHERE away_team = "richmond"
[ 2061, 5995, 1074, 2826, 16940, 30, 46506, 1363, 62, 15097, 16034, 3084, 62, 3672, 62, 1828, 33411, 1497, 62, 15097, 796, 366, 7527, 6327, 1 ]
[ 1, 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, 5995, 1074, 2826, 16940, 30, 46506, 1363, 62, 15097, 16034, 3084, 62, 3672, 62, 1828, 33411, 1497, 62, 15097, 796, 366, 7527, 6327, 1 ]
List all different genre types.
SELECT DISTINCT name FROM genres
[ 8053, 477, 1180, 12121, 3858, 13, 46506, 360, 8808, 1268, 4177, 1438, 16034, 27962 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8053, 477, 1180, 12121, 3858, 13, 46506, 360, 8808, 1268, 4177, 1438, 16034, 27962 ]
Show the leader names and locations of colleges.
SELECT Leader_Name, College_Location FROM college
[ 15307, 262, 3554, 3891, 290, 7064, 286, 15273, 13, 46506, 10540, 62, 5376, 11, 5535, 62, 14749, 16034, 4152 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 262, 3554, 3891, 290, 7064, 286, 15273, 13, 46506, 10540, 62, 5376, 11, 5535, 62, 14749, 16034, 4152 ]
provide the number of patients whose discharge location is home health care and procedure short title is open incis hern-grft nec?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.discharge_location = "HOME HEALTH CARE" AND procedures.short_title = "Open incis hern-grft NEC"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 17655, 4067, 318, 1363, 1535, 1337, 290, 8771, 1790, 3670, 318, 1280, 753, 271, 607, 77, 12, 2164, 701, 27576, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 15234, 485, 262, 1271, 286, 3871, 3025, 17655, 4067, 318, 1363, 1535, 1337, 290, 8771, 1790, 3670, 318, 1280, 753, 271, 607, 77, 12, 2164, 701, 27576, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 160...
When the league is 84 (4) what is the Canadian Championship?
SELECT canadian_championship FROM table_name_87 WHERE league = "84 (4)"
[ 2215, 262, 4652, 318, 9508, 357, 19, 8, 644, 318, 262, 5398, 10749, 30, 46506, 460, 18425, 62, 354, 4350, 1056, 16034, 3084, 62, 3672, 62, 5774, 33411, 4652, 796, 366, 5705, 357, 19, 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 ]
[ 2215, 262, 4652, 318, 9508, 357, 19, 8, 644, 318, 262, 5398, 10749, 30, 46506, 460, 18425, 62, 354, 4350, 1056, 16034, 3084, 62, 3672, 62, 5774, 33411, 4652, 796, 366, 5705, 357, 19, 16725 ]
Which Year has a Result smaller than 20.26, and a Location of eugene?
SELECT SUM("Year") FROM table_42962 WHERE "Result" < '20.26' AND "Location" = 'eugene'
[ 13828, 6280, 468, 257, 25414, 4833, 621, 1160, 13, 2075, 11, 290, 257, 13397, 286, 304, 1018, 1734, 30, 46506, 35683, 7203, 17688, 4943, 16034, 3084, 62, 11785, 5237, 33411, 366, 23004, 1, 1279, 705, 1238, 13, 2075, 6, 5357, 366, 1474...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6280, 468, 257, 25414, 4833, 621, 1160, 13, 2075, 11, 290, 257, 13397, 286, 304, 1018, 1734, 30, 46506, 35683, 7203, 17688, 4943, 16034, 3084, 62, 11785, 5237, 33411, 366, 23004, 1, 1279, 705, 1238, 13, 2075, 6, 5357, 366, 1474...
i want a flight from TORONTO to SAN DIEGO that stops in ST. LOUIS are there flights
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, airport_service AS AIRPORT_SERVICE_2, city AS CITY_0, city AS CITY_1, city AS CITY_2, flight, flight_stop WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SAN DIEGO' AND CITY_2....
[ 72, 765, 257, 5474, 422, 40691, 1340, 10468, 284, 37376, 14766, 7156, 46, 326, 9911, 287, 3563, 13, 406, 2606, 1797, 389, 612, 13956, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 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...
[ 72, 765, 257, 5474, 422, 40691, 1340, 10468, 284, 37376, 14766, 7156, 46, 326, 9911, 287, 3563, 13, 406, 2606, 1797, 389, 612, 13956, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, ...
What occurrs as of September 1, 2012 when the value for vs. all is 65.47%?
SELECT as_of_september_1, _2012 FROM table_name_61 WHERE vs_all = "65.47%"
[ 2061, 3051, 3808, 355, 286, 2693, 352, 11, 2321, 618, 262, 1988, 329, 3691, 13, 477, 318, 6135, 13, 2857, 4, 30, 46506, 355, 62, 1659, 62, 325, 457, 1491, 62, 16, 11, 4808, 6999, 16034, 3084, 62, 3672, 62, 5333, 33411, 3691, 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 ]
[ 2061, 3051, 3808, 355, 286, 2693, 352, 11, 2321, 618, 262, 1988, 329, 3691, 13, 477, 318, 6135, 13, 2857, 4, 30, 46506, 355, 62, 1659, 62, 325, 457, 1491, 62, 16, 11, 4808, 6999, 16034, 3084, 62, 3672, 62, 5333, 33411, 3691, 62, ...
A bar chart for returning the number of the dates of birth for entrepreneurs who have either the investor Simon Woodroffe or Peter Jones.
SELECT Date_of_Birth, COUNT(Date_of_Birth) FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID WHERE T1.Investor = "Simon Woodroffe" OR T1.Investor = "Peter Jones"
[ 32, 2318, 8262, 329, 8024, 262, 1271, 286, 262, 9667, 286, 4082, 329, 17038, 508, 423, 2035, 262, 15811, 11288, 5326, 305, 16658, 393, 5613, 5437, 13, 46506, 7536, 62, 1659, 62, 38480, 11, 327, 28270, 7, 10430, 62, 1659, 62, 38480, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 32, 2318, 8262, 329, 8024, 262, 1271, 286, 262, 9667, 286, 4082, 329, 17038, 508, 423, 2035, 262, 15811, 11288, 5326, 305, 16658, 393, 5613, 5437, 13, 46506, 7536, 62, 1659, 62, 38480, 11, 327, 28270, 7, 10430, 62, 1659, 62, 38480, ...
List the number of counties of all appellations in a bar chart.
SELECT County, COUNT(County) FROM appellations GROUP BY County
[ 8053, 262, 1271, 286, 14683, 286, 477, 24781, 602, 287, 257, 2318, 8262, 13, 46506, 3418, 11, 327, 28270, 7, 12332, 88, 8, 16034, 24781, 602, 44441, 11050, 3418 ]
[ 1, 1, 1, 1, 1, 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, 1271, 286, 14683, 286, 477, 24781, 602, 287, 257, 2318, 8262, 13, 46506, 3418, 11, 327, 28270, 7, 12332, 88, 8, 16034, 24781, 602, 44441, 11050, 3418 ]
What is Round, when Record is '4-1'?
SELECT "Round" FROM table_47484 WHERE "Record" = '4-1'
[ 2061, 318, 10485, 11, 618, 13266, 318, 705, 19, 12, 16, 30960, 46506, 366, 22685, 1, 16034, 3084, 62, 2857, 34137, 33411, 366, 23739, 1, 796, 705, 19, 12, 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 ]
[ 2061, 318, 10485, 11, 618, 13266, 318, 705, 19, 12, 16, 30960, 46506, 366, 22685, 1, 16034, 3084, 62, 2857, 34137, 33411, 366, 23739, 1, 796, 705, 19, 12, 16, 6 ]
Which was the home team that had an opponent have a score of 11.6 (72)?
SELECT "Home team score" FROM table_54509 WHERE "Away team score" = '11.6 (72)'
[ 13828, 373, 262, 1363, 1074, 326, 550, 281, 6125, 423, 257, 4776, 286, 1367, 13, 21, 357, 4761, 19427, 46506, 366, 16060, 1074, 4776, 1, 16034, 3084, 62, 4051, 29022, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 1157, 13, 21, 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 ]
[ 13828, 373, 262, 1363, 1074, 326, 550, 281, 6125, 423, 257, 4776, 286, 1367, 13, 21, 357, 4761, 19427, 46506, 366, 16060, 1074, 4776, 1, 16034, 3084, 62, 4051, 29022, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 1157, 13, 21, 357,...
What is the amount of trees, that require replacement when prevailing types, % is pine 29.37 poplar 26.12 acer negundo 13.2?
SELECT "Amount of trees, that require replacement" FROM table_72089 WHERE "Prevailing types, %" = 'Pine — 29.37 Poplar — 26.12 Acer negundo — 13.2'
[ 2061, 318, 262, 2033, 286, 7150, 11, 326, 2421, 9014, 618, 26602, 3858, 11, 4064, 318, 20161, 2808, 13, 2718, 1461, 21681, 2608, 13, 1065, 936, 263, 2469, 41204, 1511, 13, 17, 30, 46506, 366, 31264, 286, 7150, 11, 326, 2421, 9014, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2033, 286, 7150, 11, 326, 2421, 9014, 618, 26602, 3858, 11, 4064, 318, 20161, 2808, 13, 2718, 1461, 21681, 2608, 13, 1065, 936, 263, 2469, 41204, 1511, 13, 17, 30, 46506, 366, 31264, 286, 7150, 11, 326, 2421, 9014, 1...
What is the Round with a Opponent with blackburn?
SELECT round FROM table_name_15 WHERE opponent = "blackburn"
[ 2061, 318, 262, 10485, 351, 257, 9385, 3471, 351, 2042, 10899, 30, 46506, 2835, 16034, 3084, 62, 3672, 62, 1314, 33411, 6125, 796, 366, 13424, 10899, 1 ]
[ 1, 1, 1, 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, 10485, 351, 257, 9385, 3471, 351, 2042, 10899, 30, 46506, 2835, 16034, 3084, 62, 3672, 62, 1314, 33411, 6125, 796, 366, 13424, 10899, 1 ]
Users With A Combination Of Badges.
WITH MultiBadgeHolders AS (SELECT UserId, Name, Date FROM Badges WHERE UserId IN (SELECT UserId FROM Badges WHERE Name = '##BadgeName1##' INTERSECT SELECT UserId FROM Badges WHERE Name = '##BadgeName2##') AND Name IN ('##BadgeName1##', '##BadgeName2##')), AllHoldersBadges AS (SELECT *, ROW_NUMBER() OVER (PARTITION BY U...
[ 14490, 2080, 317, 14336, 1883, 3226, 7772, 3212, 13, 54, 10554, 15237, 22069, 469, 26807, 364, 7054, 357, 46506, 11787, 7390, 11, 6530, 11, 7536, 16034, 7772, 3212, 33411, 11787, 7390, 3268, 357, 46506, 11787, 7390, 16034, 7772, 3212, 334...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2080, 317, 14336, 1883, 3226, 7772, 3212, 13, 54, 10554, 15237, 22069, 469, 26807, 364, 7054, 357, 46506, 11787, 7390, 11, 6530, 11, 7536, 16034, 7772, 3212, 33411, 11787, 7390, 3268, 357, 46506, 11787, 7390, 16034, 7772, 3212, 334...
What is the name of the video game magazine that was issued bimonthly?
SELECT "Title" FROM table_47317 WHERE "Magazine type" = 'video game' AND "Frequency" = 'bimonthly'
[ 2061, 318, 262, 1438, 286, 262, 2008, 983, 7093, 326, 373, 4884, 275, 20473, 400, 306, 30, 46506, 366, 19160, 1, 16034, 3084, 62, 2857, 34125, 33411, 366, 36028, 2099, 1, 796, 705, 15588, 983, 6, 5357, 366, 37, 28707, 1, 796, 705, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1438, 286, 262, 2008, 983, 7093, 326, 373, 4884, 275, 20473, 400, 306, 30, 46506, 366, 19160, 1, 16034, 3084, 62, 2857, 34125, 33411, 366, 36028, 2099, 1, 796, 705, 15588, 983, 6, 5357, 366, 37, 28707, 1, 796, 705, ...
What is the average Year when there were more than 3 points, for MV Agusta and ranked 10th?
SELECT AVG(year) FROM table_name_45 WHERE points > 3 AND team = "mv agusta" AND rank = "10th"
[ 2061, 318, 262, 2811, 6280, 618, 612, 547, 517, 621, 513, 2173, 11, 329, 32947, 2449, 436, 64, 290, 10307, 838, 400, 30, 46506, 35224, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 2231, 33411, 2173, 1875, 513, 5357, 1074, 796, 366, 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 ]
[ 2061, 318, 262, 2811, 6280, 618, 612, 547, 517, 621, 513, 2173, 11, 329, 32947, 2449, 436, 64, 290, 10307, 838, 400, 30, 46506, 35224, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 2231, 33411, 2173, 1875, 513, 5357, 1074, 796, 366, 76, ...
What is the average To Par, when Place is 'T3', and when Player is 'Ben Hogan'?
SELECT AVG("To par") FROM table_47824 WHERE "Place" = 't3' AND "Player" = 'ben hogan'
[ 2061, 318, 262, 2811, 1675, 2547, 11, 618, 8474, 318, 705, 51, 18, 3256, 290, 618, 7853, 318, 705, 11696, 25316, 30960, 46506, 35224, 7203, 2514, 1582, 4943, 16034, 3084, 62, 29059, 1731, 33411, 366, 27271, 1, 796, 705, 83, 18, 6, 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 ]
[ 2061, 318, 262, 2811, 1675, 2547, 11, 618, 8474, 318, 705, 51, 18, 3256, 290, 618, 7853, 318, 705, 11696, 25316, 30960, 46506, 35224, 7203, 2514, 1582, 4943, 16034, 3084, 62, 29059, 1731, 33411, 366, 27271, 1, 796, 705, 83, 18, 6, 5...
How many average votes did producer carlos coelho have in a higher place than 6 and with a draw larger than 5?
SELECT AVG("Votes") FROM table_40934 WHERE "Place" < '6' AND "Producer" = 'carlos coelho' AND "Draw" > '5'
[ 2437, 867, 2811, 5690, 750, 9920, 1097, 33280, 763, 417, 8873, 423, 287, 257, 2440, 1295, 621, 718, 290, 351, 257, 3197, 4025, 621, 642, 30, 46506, 35224, 7203, 53, 6421, 4943, 16034, 3084, 62, 29416, 2682, 33411, 366, 27271, 1, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2437, 867, 2811, 5690, 750, 9920, 1097, 33280, 763, 417, 8873, 423, 287, 257, 2440, 1295, 621, 718, 290, 351, 257, 3197, 4025, 621, 642, 30, 46506, 35224, 7203, 53, 6421, 4943, 16034, 3084, 62, 29416, 2682, 33411, 366, 27271, 1, 1279,...
Name the class aa for 1998-99
SELECT "Class AA" FROM table_19419 WHERE "School Year" = '1998-99'
[ 5376, 262, 1398, 257, 64, 329, 7795, 12, 2079, 46506, 366, 9487, 15923, 1, 16034, 3084, 62, 22913, 1129, 33411, 366, 26130, 6280, 1, 796, 705, 21113, 12, 2079, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 1398, 257, 64, 329, 7795, 12, 2079, 46506, 366, 9487, 15923, 1, 16034, 3084, 62, 22913, 1129, 33411, 366, 26130, 6280, 1, 796, 705, 21113, 12, 2079, 6 ]
What is the capital of Umbria?
SELECT "Capital" FROM table_19386 WHERE "Region" = 'Umbria'
[ 2061, 318, 262, 3139, 286, 35716, 7496, 30, 46506, 366, 39315, 1, 16034, 3084, 62, 1129, 21734, 33411, 366, 47371, 1, 796, 705, 52, 2022, 7496, 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, 318, 262, 3139, 286, 35716, 7496, 30, 46506, 366, 39315, 1, 16034, 3084, 62, 1129, 21734, 33411, 366, 47371, 1, 796, 705, 52, 2022, 7496, 6 ]
which religion does patient with patient id 42067 belong to and what is his marital status?
SELECT demographic.marital_status, demographic.religion FROM demographic WHERE demographic.subject_id = "42067"
[ 4758, 5737, 857, 5827, 351, 5827, 4686, 28262, 3134, 5594, 284, 290, 644, 318, 465, 29555, 3722, 30, 46506, 16728, 13, 3876, 1287, 62, 13376, 11, 16728, 13, 2411, 17035, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 27211, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4758, 5737, 857, 5827, 351, 5827, 4686, 28262, 3134, 5594, 284, 290, 644, 318, 465, 29555, 3722, 30, 46506, 16728, 13, 3876, 1287, 62, 13376, 11, 16728, 13, 2411, 17035, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 27211, ...
what was the total amount of points scored between topolniky and union landhaus in the 1st match ?
SELECT "1st match" + "1st match" FROM table_204_230 WHERE "team #1" = 'topolniky'
[ 10919, 373, 262, 2472, 2033, 286, 2173, 7781, 1022, 1353, 10875, 47536, 290, 6441, 1956, 30404, 287, 262, 352, 301, 2872, 5633, 46506, 366, 16, 301, 2872, 1, 1343, 366, 16, 301, 2872, 1, 16034, 3084, 62, 18638, 62, 19214, 33411, 366, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 373, 262, 2472, 2033, 286, 2173, 7781, 1022, 1353, 10875, 47536, 290, 6441, 1956, 30404, 287, 262, 352, 301, 2872, 5633, 46506, 366, 16, 301, 2872, 1, 1343, 366, 16, 301, 2872, 1, 16034, 3084, 62, 18638, 62, 19214, 33411, 366, ...
What is the area of the appelation that produces the highest number of wines before the year of 2010?
SELECT T1.area FROM appellations AS T1 JOIN wine AS T2 ON T1.appelation = T2.appelation GROUP BY T2.appelation HAVING T2.year < 2010 ORDER BY COUNT(*) DESC LIMIT 1
[ 2061, 318, 262, 1989, 286, 262, 598, 417, 341, 326, 11073, 262, 4511, 1271, 286, 30680, 878, 262, 614, 286, 3050, 30, 46506, 309, 16, 13, 20337, 16034, 24781, 602, 7054, 309, 16, 32357, 1268, 8237, 7054, 309, 17, 6177, 309, 16, 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...
[ 2061, 318, 262, 1989, 286, 262, 598, 417, 341, 326, 11073, 262, 4511, 1271, 286, 30680, 878, 262, 614, 286, 3050, 30, 46506, 309, 16, 13, 20337, 16034, 24781, 602, 7054, 309, 16, 32357, 1268, 8237, 7054, 309, 17, 6177, 309, 16, 13, ...
For those records from the products and each product's manufacturer, a bar chart shows the distribution of name and revenue , and group by attribute name.
SELECT T1.Name, T2.Revenue FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T1.Name, T1.Name
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 257, 2318, 8262, 2523, 262, 6082, 286, 1438, 290, 6426, 837, 290, 1448, 416, 11688, 1438, 13, 46506, 309, 16, 13, 5376, 11, 309, 17, 13, 3041, 4080, 16034, 18675, 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, 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, 257, 2318, 8262, 2523, 262, 6082, 286, 1438, 290, 6426, 837, 290, 1448, 416, 11688, 1438, 13, 46506, 309, 16, 13, 5376, 11, 309, 17, 13, 3041, 4080, 16034, 18675, 705...
What is the multi 1 for the Athlon x2 BE-2400?
SELECT multi_1 FROM table_name_46 WHERE model_number = "athlon x2 be-2400"
[ 2061, 318, 262, 5021, 352, 329, 262, 13548, 14995, 2124, 17, 9348, 12, 1731, 405, 30, 46506, 5021, 62, 16, 16034, 3084, 62, 3672, 62, 3510, 33411, 2746, 62, 17618, 796, 366, 50236, 2124, 17, 307, 12, 1731, 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 ]
[ 2061, 318, 262, 5021, 352, 329, 262, 13548, 14995, 2124, 17, 9348, 12, 1731, 405, 30, 46506, 5021, 62, 16, 16034, 3084, 62, 3672, 62, 3510, 33411, 2746, 62, 17618, 796, 366, 50236, 2124, 17, 307, 12, 1731, 405, 1 ]
Find the number of settlements each claim corresponds to. Show the number together with the claim id.
SELECT T1.claim_id, COUNT(*) FROM claims AS T1 JOIN settlements AS T2 ON T1.claim_id = T2.claim_id GROUP BY T1.claim_id
[ 16742, 262, 1271, 286, 18573, 1123, 1624, 24866, 284, 13, 5438, 262, 1271, 1978, 351, 262, 1624, 4686, 13, 46506, 309, 16, 13, 6604, 62, 312, 11, 327, 28270, 7, 28104, 16034, 3667, 7054, 309, 16, 32357, 1268, 18573, 7054, 309, 17, 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...
[ 16742, 262, 1271, 286, 18573, 1123, 1624, 24866, 284, 13, 5438, 262, 1271, 1978, 351, 262, 1624, 4686, 13, 46506, 309, 16, 13, 6604, 62, 312, 11, 327, 28270, 7, 28104, 16034, 3667, 7054, 309, 16, 32357, 1268, 18573, 7054, 309, 17, 6...
What is the lowest week number for the game that was at milwaukee county stadium?
SELECT MIN("Week") FROM table_36151 WHERE "Game Site" = 'milwaukee county stadium'
[ 2061, 318, 262, 9016, 1285, 1271, 329, 262, 983, 326, 373, 379, 1465, 15428, 7968, 10308, 30, 46506, 20625, 7203, 20916, 4943, 16034, 3084, 62, 2623, 24309, 33411, 366, 8777, 14413, 1, 796, 705, 25433, 15428, 7968, 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, 1 ]
[ 2061, 318, 262, 9016, 1285, 1271, 329, 262, 983, 326, 373, 379, 1465, 15428, 7968, 10308, 30, 46506, 20625, 7203, 20916, 4943, 16034, 3084, 62, 2623, 24309, 33411, 366, 8777, 14413, 1, 796, 705, 25433, 15428, 7968, 10308, 6 ]
List the state names and the number of customers living in each state, order from low to high by the the total number .
SELECT state_province_county, COUNT(*) FROM Customer_Addresses AS t1 JOIN Addresses AS t2 ON t1.address_id = t2.address_id GROUP BY t2.state_province_county ORDER BY COUNT(*)
[ 8053, 262, 1181, 3891, 290, 262, 1271, 286, 4297, 2877, 287, 1123, 1181, 11, 1502, 422, 1877, 284, 1029, 416, 262, 262, 2472, 1271, 764, 46506, 1181, 62, 15234, 924, 62, 9127, 88, 11, 327, 28270, 7, 28104, 16034, 22092, 62, 4550, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 8053, 262, 1181, 3891, 290, 262, 1271, 286, 4297, 2877, 287, 1123, 1181, 11, 1502, 422, 1877, 284, 1029, 416, 262, 262, 2472, 1271, 764, 46506, 1181, 62, 15234, 924, 62, 9127, 88, 11, 327, 28270, 7, 28104, 16034, 22092, 62, 4550, 16...
Total score and number of questions/answers by tag.
SELECT TagName, COUNT(DISTINCT Posts.Id) AS "Number of questions", (SELECT SUM(Score) FROM Tags AS TagsI INNER JOIN PostTags ON PostTags.TagId = TagsI.Id INNER JOIN Posts ON PostTags.PostId = Posts.Id WHERE TagsI.TagName = TagsO.TagName) AS "Total score of all questions", COUNT(Answers.Id) AS "Number of answers", SUM(A...
[ 14957, 4776, 290, 1271, 286, 2683, 14, 504, 86, 364, 416, 7621, 13, 46506, 17467, 5376, 11, 327, 28270, 7, 35, 8808, 1268, 4177, 12043, 13, 7390, 8, 7054, 366, 15057, 286, 2683, 1600, 357, 46506, 35683, 7, 26595, 8, 16034, 44789, 70...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 14957, 4776, 290, 1271, 286, 2683, 14, 504, 86, 364, 416, 7621, 13, 46506, 17467, 5376, 11, 327, 28270, 7, 35, 8808, 1268, 4177, 12043, 13, 7390, 8, 7054, 366, 15057, 286, 2683, 1600, 357, 46506, 35683, 7, 26595, 8, 16034, 44789, 70...
What is the label for the CD format in North America?
SELECT "Label" FROM table_8349 WHERE "Format" = 'cd' AND "Region" = 'north america'
[ 2061, 318, 262, 6167, 329, 262, 6458, 5794, 287, 2258, 2253, 30, 46506, 366, 33986, 1, 16034, 3084, 62, 23, 27371, 33411, 366, 26227, 1, 796, 705, 10210, 6, 5357, 366, 47371, 1, 796, 705, 43588, 45630, 64, 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, 6167, 329, 262, 6458, 5794, 287, 2258, 2253, 30, 46506, 366, 33986, 1, 16034, 3084, 62, 23, 27371, 33411, 366, 26227, 1, 796, 705, 10210, 6, 5357, 366, 47371, 1, 796, 705, 43588, 45630, 64, 6 ]
is the value of mchc of patient 8244 second measured on the first hospital visit less than it was first measured on the first hospital visit?
SELECT (SELECT labevents.valuenum FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 8244 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 =...
[ 271, 262, 1988, 286, 285, 354, 66, 286, 5827, 807, 25707, 1218, 8630, 319, 262, 717, 4436, 3187, 1342, 621, 340, 373, 717, 8630, 319, 262, 717, 4436, 3187, 30, 46506, 357, 46506, 2248, 31534, 13, 2100, 84, 44709, 16034, 2248, 31534, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 271, 262, 1988, 286, 285, 354, 66, 286, 5827, 807, 25707, 1218, 8630, 319, 262, 717, 4436, 3187, 1342, 621, 340, 373, 717, 8630, 319, 262, 717, 4436, 3187, 30, 46506, 357, 46506, 2248, 31534, 13, 2100, 84, 44709, 16034, 2248, 31534, ...
How many delegates in each committee? Return a bar chart.
SELECT Committee, COUNT(Committee) FROM election GROUP BY Committee
[ 2437, 867, 15265, 287, 1123, 5583, 30, 8229, 257, 2318, 8262, 13, 46506, 4606, 11, 327, 28270, 7, 6935, 2979, 8, 16034, 3071, 44441, 11050, 4606 ]
[ 1, 1, 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, 15265, 287, 1123, 5583, 30, 8229, 257, 2318, 8262, 13, 46506, 4606, 11, 327, 28270, 7, 6935, 2979, 8, 16034, 3071, 44441, 11050, 4606 ]
Name the opponent with a record of 60-61
SELECT "Opponent" FROM table_71567 WHERE "Record" = '60-61'
[ 5376, 262, 6125, 351, 257, 1700, 286, 3126, 12, 5333, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 22, 1314, 3134, 33411, 366, 23739, 1, 796, 705, 1899, 12, 5333, 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, 6125, 351, 257, 1700, 286, 3126, 12, 5333, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 22, 1314, 3134, 33411, 366, 23739, 1, 796, 705, 1899, 12, 5333, 6 ]
What are the GDP and population of the city that already served as a host more than once?
SELECT t1.gdp, t1.Regional_Population FROM city AS T1 JOIN hosting_city AS T2 ON T1.city_id = T2.host_city GROUP BY t2.host_city HAVING COUNT(*) > 1
[ 2061, 389, 262, 12396, 290, 3265, 286, 262, 1748, 326, 1541, 4983, 355, 257, 2583, 517, 621, 1752, 30, 46506, 256, 16, 13, 21287, 79, 11, 256, 16, 13, 8081, 1538, 62, 45251, 16034, 1748, 7054, 309, 16, 32357, 1268, 13662, 62, 19205,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12396, 290, 3265, 286, 262, 1748, 326, 1541, 4983, 355, 257, 2583, 517, 621, 1752, 30, 46506, 256, 16, 13, 21287, 79, 11, 256, 16, 13, 8081, 1538, 62, 45251, 16034, 1748, 7054, 309, 16, 32357, 1268, 13662, 62, 19205,...
Which year first played with Double W-L of 8 3?
SELECT "First year played" FROM table_57996 WHERE "Doubles W-L" = '8–3'
[ 13828, 614, 717, 2826, 351, 11198, 370, 12, 43, 286, 807, 513, 30, 46506, 366, 5962, 614, 2826, 1, 16034, 3084, 62, 3553, 38565, 33411, 366, 40287, 7689, 370, 12, 43, 1, 796, 705, 23, 1906, 18, 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 ]
[ 13828, 614, 717, 2826, 351, 11198, 370, 12, 43, 286, 807, 513, 30, 46506, 366, 5962, 614, 2826, 1, 16034, 3084, 62, 3553, 38565, 33411, 366, 40287, 7689, 370, 12, 43, 1, 796, 705, 23, 1906, 18, 6 ]
Find the number of routes from the United States to Canada.
SELECT COUNT(*) FROM routes WHERE dst_apid IN (SELECT apid FROM airports WHERE country = 'Canada') AND src_apid IN (SELECT apid FROM airports WHERE country = 'United States')
[ 16742, 262, 1271, 286, 11926, 422, 262, 1578, 1829, 284, 3340, 13, 46506, 327, 28270, 7, 28104, 16034, 11926, 33411, 29636, 62, 499, 312, 3268, 357, 46506, 2471, 312, 16034, 22600, 33411, 1499, 796, 705, 17940, 11537, 5357, 12351, 62, 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 ]
[ 16742, 262, 1271, 286, 11926, 422, 262, 1578, 1829, 284, 3340, 13, 46506, 327, 28270, 7, 28104, 16034, 11926, 33411, 29636, 62, 499, 312, 3268, 357, 46506, 2471, 312, 16034, 22600, 33411, 1499, 796, 705, 17940, 11537, 5357, 12351, 62, 4...
what is the most number of season when the position in 2012 10th and the first season of current spell after 2004?
SELECT MAX("Number of seasons") FROM table_55931 WHERE "Position in 2012" = '10th' AND "First season of current spell" > '2004'
[ 10919, 318, 262, 749, 1271, 286, 1622, 618, 262, 2292, 287, 2321, 838, 400, 290, 262, 717, 1622, 286, 1459, 4822, 706, 5472, 30, 46506, 25882, 7203, 15057, 286, 7028, 4943, 16034, 3084, 62, 38605, 3132, 33411, 366, 26545, 287, 2321, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 749, 1271, 286, 1622, 618, 262, 2292, 287, 2321, 838, 400, 290, 262, 717, 1622, 286, 1459, 4822, 706, 5472, 30, 46506, 25882, 7203, 15057, 286, 7028, 4943, 16034, 3084, 62, 38605, 3132, 33411, 366, 26545, 287, 2321, 1...
For those records from the products and each product's manufacturer, visualize a bar chart about the distribution of name and the sum of code , and group by attribute name, and could you show in descending by the y axis?
SELECT T1.Name, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T1.Name ORDER BY T1.Code DESC
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 38350, 257, 2318, 8262, 546, 262, 6082, 286, 1438, 290, 262, 2160, 286, 2438, 837, 290, 1448, 416, 11688, 1438, 11, 290, 714, 345, 905, 287, 31491, 416, 262, 331, 164...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 38350, 257, 2318, 8262, 546, 262, 6082, 286, 1438, 290, 262, 2160, 286, 2438, 837, 290, 1448, 416, 11688, 1438, 11, 290, 714, 345, 905, 287, 31491, 416, 262, 331, 164...
What is the name of episode 5 in the season?
SELECT title FROM table_27988540_1 WHERE no_in_season = 5
[ 2061, 318, 262, 1438, 286, 4471, 642, 287, 262, 1622, 30, 46506, 3670, 16034, 3084, 62, 26050, 3459, 35005, 62, 16, 33411, 645, 62, 259, 62, 6230, 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, 1, 1 ]
[ 2061, 318, 262, 1438, 286, 4471, 642, 287, 262, 1622, 30, 46506, 3670, 16034, 3084, 62, 26050, 3459, 35005, 62, 16, 33411, 645, 62, 259, 62, 6230, 796, 642 ]
What is the Points 2 average of teams that have played more than 46 games?
SELECT AVG("Points 2") FROM table_47093 WHERE "Played" > '46'
[ 2061, 318, 262, 11045, 362, 2811, 286, 3466, 326, 423, 2826, 517, 621, 6337, 1830, 30, 46506, 35224, 7203, 40710, 362, 4943, 16034, 3084, 62, 27790, 6052, 33411, 366, 11002, 276, 1, 1875, 705, 3510, 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, 318, 262, 11045, 362, 2811, 286, 3466, 326, 423, 2826, 517, 621, 6337, 1830, 30, 46506, 35224, 7203, 40710, 362, 4943, 16034, 3084, 62, 27790, 6052, 33411, 366, 11002, 276, 1, 1875, 705, 3510, 6 ]
Name the circuit for united arab emirates
SELECT "Circuit" FROM table_3068 WHERE "Country" = 'United Arab Emirates'
[ 5376, 262, 10349, 329, 16503, 610, 397, 795, 343, 689, 46506, 366, 31560, 5013, 1, 16034, 3084, 62, 1270, 3104, 33411, 366, 33921, 1, 796, 705, 17013, 4498, 24880, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 10349, 329, 16503, 610, 397, 795, 343, 689, 46506, 366, 31560, 5013, 1, 16034, 3084, 62, 1270, 3104, 33411, 366, 33921, 1, 796, 705, 17013, 4498, 24880, 6 ]
What was the Score in Final of the Eckerd Open Tournament?
SELECT "Score in Final" FROM table_34646 WHERE "Tournament Name" = 'eckerd open'
[ 2061, 373, 262, 15178, 287, 8125, 286, 262, 412, 15280, 67, 4946, 9595, 30, 46506, 366, 26595, 287, 8125, 1, 16034, 3084, 62, 2682, 27720, 33411, 366, 51, 5138, 6530, 1, 796, 705, 68, 15280, 67, 1280, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 15178, 287, 8125, 286, 262, 412, 15280, 67, 4946, 9595, 30, 46506, 366, 26595, 287, 8125, 1, 16034, 3084, 62, 2682, 27720, 33411, 366, 51, 5138, 6530, 1, 796, 705, 68, 15280, 67, 1280, 6 ]
What number of wickets were there when the average was 22.66?
SELECT MAX("Wickets") FROM table_20894 WHERE "Average" = '22.66'
[ 2061, 1271, 286, 266, 15970, 547, 612, 618, 262, 2811, 373, 2534, 13, 2791, 30, 46506, 25882, 7203, 54, 15970, 4943, 16034, 3084, 62, 1238, 4531, 19, 33411, 366, 26287, 1, 796, 705, 1828, 13, 2791, 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, 1271, 286, 266, 15970, 547, 612, 618, 262, 2811, 373, 2534, 13, 2791, 30, 46506, 25882, 7203, 54, 15970, 4943, 16034, 3084, 62, 1238, 4531, 19, 33411, 366, 26287, 1, 796, 705, 1828, 13, 2791, 6 ]
Find the number of different states which banks are located at.
SELECT COUNT(DISTINCT state) FROM bank
[ 16742, 262, 1271, 286, 1180, 2585, 543, 6341, 389, 5140, 379, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 1181, 8, 16034, 3331 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16742, 262, 1271, 286, 1180, 2585, 543, 6341, 389, 5140, 379, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 1181, 8, 16034, 3331 ]
What is the highest round that had a pick lower than 8?
SELECT MAX("Round") FROM table_6681 WHERE "Pick #" < '8'
[ 2061, 318, 262, 4511, 2835, 326, 550, 257, 2298, 2793, 621, 807, 30, 46506, 25882, 7203, 22685, 4943, 16034, 3084, 62, 2791, 6659, 33411, 366, 31686, 1303, 1, 1279, 705, 23, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4511, 2835, 326, 550, 257, 2298, 2793, 621, 807, 30, 46506, 25882, 7203, 22685, 4943, 16034, 3084, 62, 2791, 6659, 33411, 366, 31686, 1303, 1, 1279, 705, 23, 6 ]
what was the total number of winners before the tour was canceled ?
SELECT COUNT("winner") FROM table_204_694 WHERE "date" <> 'cancelled'
[ 10919, 373, 262, 2472, 1271, 286, 14591, 878, 262, 4205, 373, 19994, 5633, 46506, 327, 28270, 7203, 39791, 4943, 16034, 3084, 62, 18638, 62, 45214, 33411, 366, 4475, 1, 1279, 29, 705, 66, 590, 3353, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 373, 262, 2472, 1271, 286, 14591, 878, 262, 4205, 373, 19994, 5633, 46506, 327, 28270, 7203, 39791, 4943, 16034, 3084, 62, 18638, 62, 45214, 33411, 366, 4475, 1, 1279, 29, 705, 66, 590, 3353, 6 ]
What is the lowest number in series when U.S. viewers is 0.23 million?
SELECT MIN("No. in series") FROM table_31355 WHERE "U.S. viewers (million)" = '0.23'
[ 2061, 318, 262, 9016, 1271, 287, 2168, 618, 471, 13, 50, 13, 10209, 318, 657, 13, 1954, 1510, 30, 46506, 20625, 7203, 2949, 13, 287, 2168, 4943, 16034, 3084, 62, 25838, 2816, 33411, 366, 52, 13, 50, 13, 10209, 357, 14100, 16725, 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 ]
[ 2061, 318, 262, 9016, 1271, 287, 2168, 618, 471, 13, 50, 13, 10209, 318, 657, 13, 1954, 1510, 30, 46506, 20625, 7203, 2949, 13, 287, 2168, 4943, 16034, 3084, 62, 25838, 2816, 33411, 366, 52, 13, 50, 13, 10209, 357, 14100, 16725, 796...
What team was the home team when Colorado was the visitor and the record became 22 13 6?
SELECT home FROM table_name_88 WHERE visitor = "colorado" AND record = "22–13–6"
[ 2061, 1074, 373, 262, 1363, 1074, 618, 7492, 373, 262, 21493, 290, 262, 1700, 2627, 2534, 1511, 718, 30, 46506, 1363, 16034, 3084, 62, 3672, 62, 3459, 33411, 21493, 796, 366, 8043, 4533, 1, 5357, 1700, 796, 366, 1828, 1906, 1485, 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, 1074, 373, 262, 1363, 1074, 618, 7492, 373, 262, 21493, 290, 262, 1700, 2627, 2534, 1511, 718, 30, 46506, 1363, 16034, 3084, 62, 3672, 62, 3459, 33411, 21493, 796, 366, 8043, 4533, 1, 5357, 1700, 796, 366, 1828, 1906, 1485, 1906...
My answers to questions tagged jquery and not tagged javascript. My answers to questions tagged [r]
SELECT q.Id AS "post_link", q.Title, q.Tags, a.Score FROM Posts AS q INNER JOIN Posts AS a ON q.Id = a.ParentId AND a.PostTypeId = 2 AND q.PostTypeId = 1 WHERE a.CommunityOwnedDate IS NULL AND a.OwnerUserId = '##UserId##' AND q.Tags LIKE '%jquery%' AND NOT q.Tags LIKE '%javascript%' ORDER BY a.Score DESC
[ 3666, 7429, 284, 2683, 30509, 474, 22766, 290, 407, 30509, 44575, 13, 2011, 7429, 284, 2683, 30509, 685, 81, 60, 46506, 10662, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 10662, 13, 19160, 11, 10662, 13, 36142, 11, 257, 13, 26595, 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...
[ 3666, 7429, 284, 2683, 30509, 474, 22766, 290, 407, 30509, 44575, 13, 2011, 7429, 284, 2683, 30509, 685, 81, 60, 46506, 10662, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 10662, 13, 19160, 11, 10662, 13, 36142, 11, 257, 13, 26595, 1603...
What is the Record of the game with an Attendance of 70,604?
SELECT record FROM table_name_92 WHERE attendance = "70,604"
[ 2061, 318, 262, 13266, 286, 262, 983, 351, 281, 46502, 590, 286, 4317, 11, 31916, 30, 46506, 1700, 16034, 3084, 62, 3672, 62, 5892, 33411, 14858, 796, 366, 2154, 11, 31916, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 13266, 286, 262, 983, 351, 281, 46502, 590, 286, 4317, 11, 31916, 30, 46506, 1700, 16034, 3084, 62, 3672, 62, 5892, 33411, 14858, 796, 366, 2154, 11, 31916, 1 ]
What is the census ranking for the parish with an area larger than 243.31 square km?
SELECT census_ranking FROM table_name_79 WHERE area_km_2 > 243.31
[ 2061, 318, 262, 21649, 12759, 329, 262, 28830, 351, 281, 1989, 4025, 621, 35989, 13, 3132, 6616, 10571, 30, 46506, 21649, 62, 28405, 16034, 3084, 62, 3672, 62, 3720, 33411, 1989, 62, 13276, 62, 17, 1875, 35989, 13, 3132 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 21649, 12759, 329, 262, 28830, 351, 281, 1989, 4025, 621, 35989, 13, 3132, 6616, 10571, 30, 46506, 21649, 62, 28405, 16034, 3084, 62, 3672, 62, 3720, 33411, 1989, 62, 13276, 62, 17, 1875, 35989, 13, 3132 ]
What is the lowest rank of Qaanaaq, which has a population greater than 231?
SELECT MIN(rank) FROM table_name_28 WHERE population > 231 AND name = "qaanaaq"
[ 2061, 318, 262, 9016, 4279, 286, 1195, 64, 2271, 30188, 11, 543, 468, 257, 3265, 3744, 621, 34598, 30, 46506, 20625, 7, 43027, 8, 16034, 3084, 62, 3672, 62, 2078, 33411, 3265, 1875, 34598, 5357, 1438, 796, 366, 20402, 2271, 30188, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4279, 286, 1195, 64, 2271, 30188, 11, 543, 468, 257, 3265, 3744, 621, 34598, 30, 46506, 20625, 7, 43027, 8, 16034, 3084, 62, 3672, 62, 2078, 33411, 3265, 1875, 34598, 5357, 1438, 796, 366, 20402, 2271, 30188, 1 ]
What was the date of the game at Lake Oval?
SELECT date FROM table_name_17 WHERE venue = "lake oval"
[ 2061, 373, 262, 3128, 286, 262, 983, 379, 6233, 25165, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 1558, 33411, 14359, 796, 366, 27180, 41186, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 3128, 286, 262, 983, 379, 6233, 25165, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 1558, 33411, 14359, 796, 366, 27180, 41186, 1 ]
Which Sleeves have a Year of 2006-2008?
SELECT "Sleeves" FROM table_44512 WHERE "Year" = '2006-2008'
[ 13828, 311, 7197, 1158, 423, 257, 6280, 286, 4793, 12, 11528, 30, 46506, 366, 50, 7197, 1158, 1, 16034, 3084, 62, 43489, 1065, 33411, 366, 17688, 1, 796, 705, 13330, 12, 11528, 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, 311, 7197, 1158, 423, 257, 6280, 286, 4793, 12, 11528, 30, 46506, 366, 50, 7197, 1158, 1, 16034, 3084, 62, 43489, 1065, 33411, 366, 17688, 1, 796, 705, 13330, 12, 11528, 6 ]
What is the smallest Pick with Overall larger than 17, a Player name of dave adams category:articles with hcards, and a Year larger than 1963?
SELECT MIN("Pick") FROM table_60085 WHERE "Overall" > '17' AND "Player name" = 'dave adams category:articles with hcards' AND "Year" > '1963'
[ 2061, 318, 262, 18197, 12346, 351, 14674, 4025, 621, 1596, 11, 257, 7853, 1438, 286, 288, 1015, 512, 4105, 6536, 25, 26845, 351, 289, 27761, 11, 290, 257, 6280, 4025, 621, 19342, 30, 46506, 20625, 7203, 31686, 4943, 16034, 3084, 62, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 318, 262, 18197, 12346, 351, 14674, 4025, 621, 1596, 11, 257, 7853, 1438, 286, 288, 1015, 512, 4105, 6536, 25, 26845, 351, 289, 27761, 11, 290, 257, 6280, 4025, 621, 19342, 30, 46506, 20625, 7203, 31686, 4943, 16034, 3084, 62, 8...
What is the average total with less than 8 bronze, 3 silver, and a Rank smaller than 2?
SELECT AVG("Total") FROM table_5450 WHERE "Bronze" < '8' AND "Silver" = '3' AND "Rank" < '2'
[ 2061, 318, 262, 2811, 2472, 351, 1342, 621, 807, 22101, 11, 513, 8465, 11, 290, 257, 10916, 4833, 621, 362, 30, 46506, 35224, 7203, 14957, 4943, 16034, 3084, 62, 4051, 1120, 33411, 366, 18760, 2736, 1, 1279, 705, 23, 6, 5357, 366, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2811, 2472, 351, 1342, 621, 807, 22101, 11, 513, 8465, 11, 290, 257, 10916, 4833, 621, 362, 30, 46506, 35224, 7203, 14957, 4943, 16034, 3084, 62, 4051, 1120, 33411, 366, 18760, 2736, 1, 1279, 705, 23, 6, 5357, 366, 2...
very much' questions.
SELECT c.Id AS "comment_link" FROM Comments AS c WHERE c.Text LIKE '%very much%' ORDER BY c.CreationDate
[ 548, 881, 6, 2683, 13, 46506, 269, 13, 7390, 7054, 366, 23893, 62, 8726, 1, 16034, 19502, 7054, 269, 33411, 269, 13, 8206, 34178, 705, 4, 548, 881, 4, 6, 38678, 11050, 269, 13, 12443, 341, 10430 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 548, 881, 6, 2683, 13, 46506, 269, 13, 7390, 7054, 366, 23893, 62, 8726, 1, 16034, 19502, 7054, 269, 33411, 269, 13, 8206, 34178, 705, 4, 548, 881, 4, 6, 38678, 11050, 269, 13, 12443, 341, 10430 ]
in what year was the position of 3rd first achieved ?
SELECT MIN("year") FROM table_204_706 WHERE "position" = 3
[ 259, 644, 614, 373, 262, 2292, 286, 513, 4372, 717, 8793, 5633, 46506, 20625, 7203, 1941, 4943, 16034, 3084, 62, 18638, 62, 35402, 33411, 366, 9150, 1, 796, 513 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 259, 644, 614, 373, 262, 2292, 286, 513, 4372, 717, 8793, 5633, 46506, 20625, 7203, 1941, 4943, 16034, 3084, 62, 18638, 62, 35402, 33411, 366, 9150, 1, 796, 513 ]
what is the number of patients whose age is less than 62 and diagnoses long title is acute glomerulonephritis with other specified pathological lesion in kidney?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.age < "62" AND diagnoses.long_title = "Acute glomerulonephritis with other specified pathological lesion in kidney"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 2479, 318, 1342, 621, 8190, 290, 40567, 890, 3670, 318, 14352, 1278, 12057, 377, 505, 746, 27398, 351, 584, 7368, 42306, 10287, 295, 287, 21919, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2479, 318, 1342, 621, 8190, 290, 40567, 890, 3670, 318, 14352, 1278, 12057, 377, 505, 746, 27398, 351, 584, 7368, 42306, 10287, 295, 287, 21919, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 1...
What is Competition, when Round is '8 A'?
SELECT competition FROM table_name_1 WHERE round = "8 a"
[ 2061, 318, 27348, 11, 618, 10485, 318, 705, 23, 317, 30960, 46506, 5449, 16034, 3084, 62, 3672, 62, 16, 33411, 2835, 796, 366, 23, 257, 1 ]
[ 1, 1, 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, 27348, 11, 618, 10485, 318, 705, 23, 317, 30960, 46506, 5449, 16034, 3084, 62, 3672, 62, 16, 33411, 2835, 796, 366, 23, 257, 1 ]
In how many different years was the team nicknamed Comets founded?
SELECT COUNT("Founded") FROM table_30436 WHERE "Team Nickname" = 'Comets'
[ 818, 703, 867, 1180, 812, 373, 262, 1074, 35786, 36238, 82, 9393, 30, 46506, 327, 28270, 7203, 37, 6302, 4943, 16034, 3084, 62, 21288, 2623, 33411, 366, 15592, 8047, 3672, 1, 796, 705, 34, 908, 82, 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 ]
[ 818, 703, 867, 1180, 812, 373, 262, 1074, 35786, 36238, 82, 9393, 30, 46506, 327, 28270, 7203, 37, 6302, 4943, 16034, 3084, 62, 21288, 2623, 33411, 366, 15592, 8047, 3672, 1, 796, 705, 34, 908, 82, 6 ]
which municipality has the most number of people who reside in it ?
SELECT "official name" FROM table_204_158 ORDER BY "population" DESC LIMIT 1
[ 4758, 27264, 468, 262, 749, 1271, 286, 661, 508, 26412, 287, 340, 5633, 46506, 366, 16841, 1438, 1, 16034, 3084, 62, 18638, 62, 21273, 38678, 11050, 366, 39748, 1, 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 ]
[ 4758, 27264, 468, 262, 749, 1271, 286, 661, 508, 26412, 287, 340, 5633, 46506, 366, 16841, 1438, 1, 16034, 3084, 62, 18638, 62, 21273, 38678, 11050, 366, 39748, 1, 22196, 34, 27564, 2043, 352 ]
has patient 26777 had any surgery since 6 years ago?
SELECT COUNT(*) > 0 FROM procedures_icd WHERE procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 26777) AND DATETIME(procedures_icd.charttime) >= DATETIME(CURRENT_TIME(), '-6 year')
[ 10134, 5827, 2608, 29331, 550, 597, 8185, 1201, 718, 812, 2084, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 9021, 62, 291, 67, 33411, 9021, 62, 291, 67, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10134, 5827, 2608, 29331, 550, 597, 8185, 1201, 718, 812, 2084, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 9021, 62, 291, 67, 33411, 9021, 62, 291, 67, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312,...
has patient 006-80884 had any procedures undergone in 2105?
SELECT COUNT(*) > 0 FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-80884')) AND STRFTIME('%y', treatment.treatmenttime) = '2105'
[ 10134, 5827, 3571, 21, 12, 1795, 40353, 550, 597, 9021, 29900, 287, 362, 13348, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 3513, 33411, 3513, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10134, 5827, 3571, 21, 12, 1795, 40353, 550, 597, 9021, 29900, 287, 362, 13348, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 3513, 33411, 3513, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16...
Which Circuit has a Winning Driver of hans-joachim stuck, and a Round of 3?
SELECT circuit FROM table_name_74 WHERE winning_driver = "hans-joachim stuck" AND round = 3
[ 13828, 13588, 468, 257, 40983, 12434, 286, 289, 504, 12, 7639, 620, 320, 7819, 11, 290, 257, 10485, 286, 513, 30, 46506, 10349, 16034, 3084, 62, 3672, 62, 4524, 33411, 5442, 62, 26230, 796, 366, 71, 504, 12, 7639, 620, 320, 7819, 1,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13588, 468, 257, 40983, 12434, 286, 289, 504, 12, 7639, 620, 320, 7819, 11, 290, 257, 10485, 286, 513, 30, 46506, 10349, 16034, 3084, 62, 3672, 62, 4524, 33411, 5442, 62, 26230, 796, 366, 71, 504, 12, 7639, 620, 320, 7819, 1,...
What is the Station Code of the Destination Station Departure?
SELECT "Station Code" FROM table_5088 WHERE "Departure" = 'destination station'
[ 2061, 318, 262, 9327, 6127, 286, 262, 45657, 9327, 2129, 433, 495, 30, 46506, 366, 12367, 6127, 1, 16034, 3084, 62, 1120, 3459, 33411, 366, 12156, 433, 495, 1, 796, 705, 16520, 1883, 4429, 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, 9327, 6127, 286, 262, 45657, 9327, 2129, 433, 495, 30, 46506, 366, 12367, 6127, 1, 16034, 3084, 62, 1120, 3459, 33411, 366, 12156, 433, 495, 1, 796, 705, 16520, 1883, 4429, 6 ]
For those employees who do not work in departments with managers that have ids between 100 and 200, show me about the distribution of job_id and employee_id in a bar chart, rank by the Y from high to low.
SELECT JOB_ID, EMPLOYEE_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY EMPLOYEE_ID DESC
[ 1890, 883, 4409, 508, 466, 407, 670, 287, 13346, 351, 11663, 326, 423, 220, 2340, 1022, 1802, 290, 939, 11, 905, 502, 546, 262, 6082, 286, 1693, 62, 312, 290, 6538, 62, 312, 287, 257, 2318, 8262, 11, 4279, 416, 262, 575, 422, 1029...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 905, 502, 546, 262, 6082, 286, 1693, 62, 312, 290, 6538, 62, 312, 287, 257, 2318, 8262, 11, 4279, 416, 262, 575, 422, 1029...
What are the maximum and minimum number of cows across all farms.
SELECT MAX(Cows), MIN(Cows) FROM farm
[ 2061, 389, 262, 5415, 290, 5288, 1271, 286, 22575, 1973, 477, 15893, 13, 46506, 25882, 7, 34, 1666, 828, 20625, 7, 34, 1666, 8, 16034, 5318 ]
[ 1, 1, 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, 5415, 290, 5288, 1271, 286, 22575, 1973, 477, 15893, 13, 46506, 25882, 7, 34, 1666, 828, 20625, 7, 34, 1666, 8, 16034, 5318 ]