instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
What is the average number of points with less than 1 draw and more than 11 losses for Ev Aich?
SELECT AVG("Points") FROM table_49179 WHERE "Drawn" < '1' AND "Name" = 'ev aich' AND "Lost" > '11'
[ 2061, 318, 262, 2811, 1271, 286, 2173, 351, 1342, 621, 352, 3197, 290, 517, 621, 1367, 9089, 329, 4319, 317, 488, 30, 46506, 35224, 7203, 40710, 4943, 16034, 3084, 62, 2920, 21738, 33411, 366, 35, 5791, 1, 1279, 705, 16, 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, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2811, 1271, 286, 2173, 351, 1342, 621, 352, 3197, 290, 517, 621, 1367, 9089, 329, 4319, 317, 488, 30, 46506, 35224, 7203, 40710, 4943, 16034, 3084, 62, 2920, 21738, 33411, 366, 35, 5791, 1, 1279, 705, 16, 6, 5357, 36...
How many is the high assist total for players from panama?
SELECT MAX(assists) FROM table_29743928_3 WHERE country = "Panama"
[ 2437, 867, 318, 262, 1029, 3342, 2472, 329, 1938, 422, 3425, 1689, 30, 46506, 25882, 7, 562, 1023, 8, 16034, 3084, 62, 1959, 4524, 2670, 2078, 62, 18, 33411, 1499, 796, 366, 15730, 1689, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 318, 262, 1029, 3342, 2472, 329, 1938, 422, 3425, 1689, 30, 46506, 25882, 7, 562, 1023, 8, 16034, 3084, 62, 1959, 4524, 2670, 2078, 62, 18, 33411, 1499, 796, 366, 15730, 1689, 1 ]
Who had the high rebounds record on December 12?
SELECT "High rebounds" FROM table_74166 WHERE "Date" = 'December 12'
[ 8241, 550, 262, 1029, 18841, 1700, 319, 3426, 1105, 30, 46506, 366, 11922, 18841, 1, 16034, 3084, 62, 4524, 23055, 33411, 366, 10430, 1, 796, 705, 20588, 1105, 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 ]
[ 8241, 550, 262, 1029, 18841, 1700, 319, 3426, 1105, 30, 46506, 366, 11922, 18841, 1, 16034, 3084, 62, 4524, 23055, 33411, 366, 10430, 1, 796, 705, 20588, 1105, 6 ]
What is the total number of gentle personalities?
SELECT COUNT(方位_direction) FROM table_1912713_2 WHERE 性情_personality = "Gentle"
[ 2061, 318, 262, 2472, 1271, 286, 10296, 20929, 30, 46506, 327, 28270, 7, 43095, 19526, 235, 62, 37295, 8, 16034, 3084, 62, 1129, 16799, 1485, 62, 17, 33411, 10545, 222, 100, 46349, 227, 62, 6259, 1483, 796, 366, 38, 8651, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2472, 1271, 286, 10296, 20929, 30, 46506, 327, 28270, 7, 43095, 19526, 235, 62, 37295, 8, 16034, 3084, 62, 1129, 16799, 1485, 62, 17, 33411, 10545, 222, 100, 46349, 227, 62, 6259, 1483, 796, 366, 38, 8651, 1 ]
How many documents in different ending date? Return a line chart grouping by ending date, and rank from low to high by the Date_in_Locaton_To.
SELECT Date_in_Locaton_To, COUNT(Date_in_Locaton_To) FROM Document_Locations GROUP BY Date_in_Locaton_To ORDER BY Date_in_Locaton_To
[ 2437, 867, 4963, 287, 1180, 7464, 3128, 30, 8229, 257, 1627, 8262, 36115, 416, 7464, 3128, 11, 290, 4279, 422, 1877, 284, 1029, 416, 262, 7536, 62, 259, 62, 33711, 13951, 62, 2514, 13, 46506, 7536, 62, 259, 62, 33711, 13951, 62, 251...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2437, 867, 4963, 287, 1180, 7464, 3128, 30, 8229, 257, 1627, 8262, 36115, 416, 7464, 3128, 11, 290, 4279, 422, 1877, 284, 1029, 416, 262, 7536, 62, 259, 62, 33711, 13951, 62, 2514, 13, 46506, 7536, 62, 259, 62, 33711, 13951, 62, 251...
Name the runner-up for margin of victory of 3 strokes
SELECT runner_s__up FROM table_name_37 WHERE margin_of_victory = "3 strokes"
[ 5376, 262, 17490, 12, 929, 329, 10330, 286, 5373, 286, 513, 29483, 46506, 17490, 62, 82, 834, 929, 16034, 3084, 62, 3672, 62, 2718, 33411, 10330, 62, 1659, 62, 32433, 652, 796, 366, 18, 29483, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17490, 12, 929, 329, 10330, 286, 5373, 286, 513, 29483, 46506, 17490, 62, 82, 834, 929, 16034, 3084, 62, 3672, 62, 2718, 33411, 10330, 62, 1659, 62, 32433, 652, 796, 366, 18, 29483, 1 ]
Who trained the horse with time of 1:09.40?
SELECT trainer FROM table_name_24 WHERE time = "1:09.40"
[ 8241, 8776, 262, 8223, 351, 640, 286, 352, 25, 2931, 13, 1821, 30, 46506, 21997, 16034, 3084, 62, 3672, 62, 1731, 33411, 640, 796, 366, 16, 25, 2931, 13, 1821, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 8776, 262, 8223, 351, 640, 286, 352, 25, 2931, 13, 1821, 30, 46506, 21997, 16034, 3084, 62, 3672, 62, 1731, 33411, 640, 796, 366, 16, 25, 2931, 13, 1821, 1 ]
List the name, born state and age of the heads of departments ordered by age.
SELECT name, born_state, age FROM head ORDER BY age
[ 8053, 262, 1438, 11, 4642, 1181, 290, 2479, 286, 262, 6665, 286, 13346, 6149, 416, 2479, 13, 46506, 1438, 11, 4642, 62, 5219, 11, 2479, 16034, 1182, 38678, 11050, 2479 ]
[ 1, 1, 1, 1, 1, 1, 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, 1438, 11, 4642, 1181, 290, 2479, 286, 262, 6665, 286, 13346, 6149, 416, 2479, 13, 46506, 1438, 11, 4642, 62, 5219, 11, 2479, 16034, 1182, 38678, 11050, 2479 ]
What is the highest effic with an avg/g of 91.9?
SELECT MAX(effic) FROM table_name_68 WHERE avg_g = 91.9
[ 2061, 318, 262, 4511, 4396, 351, 281, 42781, 14, 70, 286, 10495, 13, 24, 30, 46506, 25882, 7, 24531, 8, 16034, 3084, 62, 3672, 62, 3104, 33411, 42781, 62, 70, 796, 10495, 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 ]
[ 2061, 318, 262, 4511, 4396, 351, 281, 42781, 14, 70, 286, 10495, 13, 24, 30, 46506, 25882, 7, 24531, 8, 16034, 3084, 62, 3672, 62, 3104, 33411, 42781, 62, 70, 796, 10495, 13, 24 ]
For all employees who have the letters D or S in their first name, give me the comparison about the sum of department_id over the hire_date bin hire_date by weekday by a bar chart, list by the y axis in desc.
SELECT HIRE_DATE, SUM(DEPARTMENT_ID) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' ORDER BY SUM(DEPARTMENT_ID) DESC
[ 1890, 477, 4409, 508, 423, 262, 7475, 360, 393, 311, 287, 511, 717, 1438, 11, 1577, 502, 262, 7208, 546, 262, 2160, 286, 5011, 62, 312, 625, 262, 11078, 62, 4475, 9874, 11078, 62, 4475, 416, 28269, 416, 257, 2318, 8262, 11, 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, 477, 4409, 508, 423, 262, 7475, 360, 393, 311, 287, 511, 717, 1438, 11, 1577, 502, 262, 7208, 546, 262, 2160, 286, 5011, 62, 312, 625, 262, 11078, 62, 4475, 9874, 11078, 62, 4475, 416, 28269, 416, 257, 2318, 8262, 11, 1351, ...
When was the ensemble closed that went on air in June 2003?
SELECT closure_date FROM table_name_96 WHERE on_air_date = "june 2003"
[ 2215, 373, 262, 34549, 4838, 326, 1816, 319, 1633, 287, 2795, 5816, 30, 46506, 16512, 62, 4475, 16034, 3084, 62, 3672, 62, 4846, 33411, 319, 62, 958, 62, 4475, 796, 366, 73, 1726, 5816, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 34549, 4838, 326, 1816, 319, 1633, 287, 2795, 5816, 30, 46506, 16512, 62, 4475, 16034, 3084, 62, 3672, 62, 4846, 33411, 319, 62, 958, 62, 4475, 796, 366, 73, 1726, 5816, 1 ]
Show all locations and the total number of platforms for all train stations in each location in a bar chart, I want to order by the x axis in desc.
SELECT Location, SUM(Number_of_Platforms) FROM station GROUP BY Location ORDER BY Location DESC
[ 15307, 477, 7064, 290, 262, 2472, 1271, 286, 9554, 329, 477, 4512, 8985, 287, 1123, 4067, 287, 257, 2318, 8262, 11, 314, 765, 284, 1502, 416, 262, 2124, 16488, 287, 1715, 13, 46506, 13397, 11, 35683, 7, 15057, 62, 1659, 62, 37148, 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 ]
[ 15307, 477, 7064, 290, 262, 2472, 1271, 286, 9554, 329, 477, 4512, 8985, 287, 1123, 4067, 287, 257, 2318, 8262, 11, 314, 765, 284, 1502, 416, 262, 2124, 16488, 287, 1715, 13, 46506, 13397, 11, 35683, 7, 15057, 62, 1659, 62, 37148, 8...
What home team scored 102-87?
SELECT home_team FROM table_name_60 WHERE score = "102-87"
[ 2061, 1363, 1074, 7781, 15143, 12, 5774, 30, 46506, 1363, 62, 15097, 16034, 3084, 62, 3672, 62, 1899, 33411, 4776, 796, 366, 15377, 12, 5774, 1 ]
[ 1, 1, 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, 1363, 1074, 7781, 15143, 12, 5774, 30, 46506, 1363, 62, 15097, 16034, 3084, 62, 3672, 62, 1899, 33411, 4776, 796, 366, 15377, 12, 5774, 1 ]
What are the draws when wins are fwewer than 9 and byes fewer than 2?
SELECT COUNT(draws) FROM table_name_15 WHERE wins < 9 AND byes < 2
[ 2061, 389, 262, 14293, 618, 7864, 389, 277, 86, 413, 263, 621, 860, 290, 416, 274, 7380, 621, 362, 30, 46506, 327, 28270, 7, 19334, 82, 8, 16034, 3084, 62, 3672, 62, 1314, 33411, 7864, 1279, 860, 5357, 416, 274, 1279, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 262, 14293, 618, 7864, 389, 277, 86, 413, 263, 621, 860, 290, 416, 274, 7380, 621, 362, 30, 46506, 327, 28270, 7, 19334, 82, 8, 16034, 3084, 62, 3672, 62, 1314, 33411, 7864, 1279, 860, 5357, 416, 274, 1279, 362 ]
How many stages are in a distance of 2,192 km?
SELECT "Stages" FROM table_32326 WHERE "Distance" = '2,192 km'
[ 2437, 867, 9539, 389, 287, 257, 5253, 286, 362, 11, 17477, 10571, 30, 46506, 366, 1273, 1095, 1, 16034, 3084, 62, 32637, 2075, 33411, 366, 45767, 1, 796, 705, 17, 11, 17477, 10571, 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 ]
[ 2437, 867, 9539, 389, 287, 257, 5253, 286, 362, 11, 17477, 10571, 30, 46506, 366, 1273, 1095, 1, 16034, 3084, 62, 32637, 2075, 33411, 366, 45767, 1, 796, 705, 17, 11, 17477, 10571, 6 ]
How many in attendance when Penguins were home with a record of 14 19 6 with less than 34 points?
SELECT COUNT(attendance) FROM table_name_98 WHERE home = "penguins" AND record = "14–19–6" AND points < 34
[ 2437, 867, 287, 14858, 618, 29755, 547, 1363, 351, 257, 1700, 286, 1478, 678, 718, 351, 1342, 621, 4974, 2173, 30, 46506, 327, 28270, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 4089, 33411, 1363, 796, 366, 79, 13561, 1040, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 287, 14858, 618, 29755, 547, 1363, 351, 257, 1700, 286, 1478, 678, 718, 351, 1342, 621, 4974, 2173, 30, 46506, 327, 28270, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 4089, 33411, 1363, 796, 366, 79, 13561, 1040, 1, ...
find the number of white ethnic background patients who have diagnoses icd9 code e8799.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.ethnicity = "WHITE" AND diagnoses.icd9_code = "E8799"
[ 19796, 262, 1271, 286, 2330, 9450, 4469, 3871, 508, 423, 40567, 14158, 67, 24, 2438, 304, 5774, 2079, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 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, 1...
[ 19796, 262, 1271, 286, 2330, 9450, 4469, 3871, 508, 423, 40567, 14158, 67, 24, 2438, 304, 5774, 2079, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 1...
Which country was the player from who scored 66-72-70=207?
SELECT "Country" FROM table_63563 WHERE "Score" = '66-72-70=207'
[ 13828, 1499, 373, 262, 2137, 422, 508, 7781, 7930, 12, 4761, 12, 2154, 28, 22745, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 48250, 5066, 33411, 366, 26595, 1, 796, 705, 2791, 12, 4761, 12, 2154, 28, 22745, 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 ]
[ 13828, 1499, 373, 262, 2137, 422, 508, 7781, 7930, 12, 4761, 12, 2154, 28, 22745, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 48250, 5066, 33411, 366, 26595, 1, 796, 705, 2791, 12, 4761, 12, 2154, 28, 22745, 6 ]
Who was the Class C winner in round 8?
SELECT class_c_winner FROM table_24852622_1 WHERE round = "8"
[ 8241, 373, 262, 5016, 327, 8464, 287, 2835, 807, 30, 46506, 1398, 62, 66, 62, 39791, 16034, 3084, 62, 1731, 5332, 2075, 1828, 62, 16, 33411, 2835, 796, 366, 23, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 5016, 327, 8464, 287, 2835, 807, 30, 46506, 1398, 62, 66, 62, 39791, 16034, 3084, 62, 1731, 5332, 2075, 1828, 62, 16, 33411, 2835, 796, 366, 23, 1 ]
has patient 005-26011 received during the last hospital encounter a pleural effusion - etiology unknown diagnosis?
SELECT COUNT(*) > 0 FROM diagnosis WHERE diagnosis.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '005-26011' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.ho...
[ 10134, 5827, 3571, 20, 12, 2075, 28555, 2722, 1141, 262, 938, 4436, 8791, 257, 3339, 1523, 914, 4241, 532, 2123, 12371, 6439, 13669, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 13669, 33411, 13669, 13, 26029, 20850, 31712, 312, 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...
[ 10134, 5827, 3571, 20, 12, 2075, 28555, 2722, 1141, 262, 938, 4436, 8791, 257, 3339, 1523, 914, 4241, 532, 2123, 12371, 6439, 13669, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 13669, 33411, 13669, 13, 26029, 20850, 31712, 312, 3...
Which Season 7 has a Seat larger than 1, and a Season 3 of w. brett wilson?
SELECT "Season 7" FROM table_61834 WHERE "Seat" > '1' AND "Season 3" = 'w. brett wilson'
[ 13828, 7369, 767, 468, 257, 26682, 4025, 621, 352, 11, 290, 257, 7369, 513, 286, 266, 13, 1449, 926, 39716, 1559, 30, 46506, 366, 18960, 767, 1, 16034, 3084, 62, 47448, 2682, 33411, 366, 50, 4098, 1, 1875, 705, 16, 6, 5357, 366, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 7369, 767, 468, 257, 26682, 4025, 621, 352, 11, 290, 257, 7369, 513, 286, 266, 13, 1449, 926, 39716, 1559, 30, 46506, 366, 18960, 767, 1, 16034, 3084, 62, 47448, 2682, 33411, 366, 50, 4098, 1, 1875, 705, 16, 6, 5357, 366, 1...
What was the outcome on August 5, 2007?
SELECT outcome FROM table_name_59 WHERE date = "august 5, 2007"
[ 2061, 373, 262, 8055, 319, 2932, 642, 11, 4343, 30, 46506, 8055, 16034, 3084, 62, 3672, 62, 3270, 33411, 3128, 796, 366, 7493, 436, 642, 11, 4343, 1 ]
[ 1, 1, 1, 1, 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, 8055, 319, 2932, 642, 11, 4343, 30, 46506, 8055, 16034, 3084, 62, 3672, 62, 3270, 33411, 3128, 796, 366, 7493, 436, 642, 11, 4343, 1 ]
give me the number of patients on main type drug prescription who were hospitalized for more than 6 days.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.days_stay > "6" AND prescriptions.drug_type = "MAIN"
[ 26535, 502, 262, 1271, 286, 3871, 319, 1388, 2099, 2563, 15077, 508, 547, 31736, 329, 517, 621, 718, 1528, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 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...
[ 26535, 502, 262, 1271, 286, 3871, 319, 1388, 2099, 2563, 15077, 508, 547, 31736, 329, 517, 621, 718, 1528, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 61...
What is the Surface, when the Finalist is Andrei Pavel?
SELECT surface FROM table_name_90 WHERE finalist = "andrei pavel"
[ 2061, 318, 262, 20321, 11, 618, 262, 8125, 396, 318, 10948, 72, 49612, 30, 46506, 4417, 16034, 3084, 62, 3672, 62, 3829, 33411, 2457, 396, 796, 366, 49078, 72, 14187, 626, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 20321, 11, 618, 262, 8125, 396, 318, 10948, 72, 49612, 30, 46506, 4417, 16034, 3084, 62, 3672, 62, 3829, 33411, 2457, 396, 796, 366, 49078, 72, 14187, 626, 1 ]
what are the four most frequently ordered specimen tests for patients that were previously diagnosed with vomiting during the same month in this year?
SELECT t3.culturesite FROM (SELECT t2.culturesite, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'vomiting' AND DATETIME(diagnosis.diagnosisti...
[ 10919, 389, 262, 1440, 749, 6777, 6149, 31674, 5254, 329, 3871, 326, 547, 4271, 14641, 351, 30874, 1141, 262, 976, 1227, 287, 428, 614, 30, 46506, 256, 18, 13, 40820, 942, 578, 16034, 357, 46506, 256, 17, 13, 40820, 942, 578, 11, 36...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 389, 262, 1440, 749, 6777, 6149, 31674, 5254, 329, 3871, 326, 547, 4271, 14641, 351, 30874, 1141, 262, 976, 1227, 287, 428, 614, 30, 46506, 256, 18, 13, 40820, 942, 578, 16034, 357, 46506, 256, 17, 13, 40820, 942, 578, 11, 36...
how many patients have been given contrast aortogram two times until 2104?
SELECT COUNT(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, COUNT(*) AS c1 FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'contrast aortogram') ...
[ 4919, 867, 3871, 423, 587, 1813, 6273, 257, 419, 21857, 734, 1661, 1566, 362, 13464, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 32796, 62, 312, 8, 16034, 357, 46506, 25349, 13, 32796, 62, 312, 11, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 3871, 423, 587, 1813, 6273, 257, 419, 21857, 734, 1661, 1566, 362, 13464, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 32796, 62, 312, 8, 16034, 357, 46506, 25349, 13, 32796, 62, 312, 11, 327, 28270, 7, ...
Which class is the easiest I can take to fulfill the MDE requirement ?
SELECT DISTINCT course.department, course.name, course.number, program_course.workload, program_course.workload FROM course, program_course WHERE program_course.category LIKE '%MDE%' AND program_course.course_id = course.course_id AND program_course.workload = (SELECT MIN(PROGRAM_COURSEalias1.workload) FROM program_cou...
[ 13828, 1398, 318, 262, 16638, 314, 460, 1011, 284, 14658, 262, 337, 7206, 9079, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 11, 1430, 62, 17319, 13, 1818, 2220, 11, 1430, 62, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 13828, 1398, 318, 262, 16638, 314, 460, 1011, 284, 14658, 262, 337, 7206, 9079, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 11, 1430, 62, 17319, 13, 1818, 2220, 11, 1430, 62, 1...
What is the lowest number of Gold, when the number of Bronze is less than 36, when the Rank is 2, and when Silver is less than 37?
SELECT MIN(gold) FROM table_name_97 WHERE bronze < 36 AND rank = "2" AND silver < 37
[ 2061, 318, 262, 9016, 1271, 286, 3561, 11, 618, 262, 1271, 286, 19461, 318, 1342, 621, 4570, 11, 618, 262, 10916, 318, 362, 11, 290, 618, 7698, 318, 1342, 621, 5214, 30, 46506, 20625, 7, 24267, 8, 16034, 3084, 62, 3672, 62, 5607, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 9016, 1271, 286, 3561, 11, 618, 262, 1271, 286, 19461, 318, 1342, 621, 4570, 11, 618, 262, 10916, 318, 362, 11, 290, 618, 7698, 318, 1342, 621, 5214, 30, 46506, 20625, 7, 24267, 8, 16034, 3084, 62, 3672, 62, 5607, ...
Who was the Away team at Hawthorn?
SELECT home_team FROM table_name_24 WHERE away_team = "hawthorn"
[ 8241, 373, 262, 21986, 1074, 379, 41457, 1211, 30, 46506, 1363, 62, 15097, 16034, 3084, 62, 3672, 62, 1731, 33411, 1497, 62, 15097, 796, 366, 26615, 400, 1211, 1 ]
[ 1, 1, 1, 1, 1, 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, 21986, 1074, 379, 41457, 1211, 30, 46506, 1363, 62, 15097, 16034, 3084, 62, 3672, 62, 1731, 33411, 1497, 62, 15097, 796, 366, 26615, 400, 1211, 1 ]
Which nationality has Years for Jazz of 1984-85?
SELECT nationality FROM table_name_92 WHERE years_for_jazz = "1984-85"
[ 13828, 29835, 468, 13212, 329, 21406, 286, 12844, 12, 5332, 30, 46506, 29835, 16034, 3084, 62, 3672, 62, 5892, 33411, 812, 62, 1640, 62, 73, 8101, 796, 366, 28296, 12, 5332, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 29835, 468, 13212, 329, 21406, 286, 12844, 12, 5332, 30, 46506, 29835, 16034, 3084, 62, 3672, 62, 5892, 33411, 812, 62, 1640, 62, 73, 8101, 796, 366, 28296, 12, 5332, 1 ]
What is the ISIN that has an amount issued of 223,000,000?
SELECT "ISIN" FROM table_2485 WHERE "Amount Issued [\u20ac]" = '223,000,000'
[ 2061, 318, 262, 3180, 1268, 326, 468, 281, 2033, 4884, 286, 30299, 11, 830, 11, 830, 30, 46506, 366, 1797, 1268, 1, 16034, 3084, 62, 1731, 5332, 33411, 366, 31264, 10585, 1739, 685, 59, 84, 1238, 330, 30866, 796, 705, 22047, 11, 830...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3180, 1268, 326, 468, 281, 2033, 4884, 286, 30299, 11, 830, 11, 830, 30, 46506, 366, 1797, 1268, 1, 16034, 3084, 62, 1731, 5332, 33411, 366, 31264, 10585, 1739, 685, 59, 84, 1238, 330, 30866, 796, 705, 22047, 11, 830...
Which fleet was named Orenburg?
SELECT "Fleet" FROM table_7872 WHERE "Name" = 'orenburg'
[ 13828, 11026, 373, 3706, 440, 918, 7423, 30, 46506, 366, 47669, 316, 1, 16034, 3084, 62, 3695, 4761, 33411, 366, 5376, 1, 796, 705, 29578, 7423, 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 ]
[ 13828, 11026, 373, 3706, 440, 918, 7423, 30, 46506, 366, 47669, 316, 1, 16034, 3084, 62, 3695, 4761, 33411, 366, 5376, 1, 796, 705, 29578, 7423, 6 ]
Which Opponent has a Week larger than 2 on november 19, 1995?
SELECT "Opponent" FROM table_40642 WHERE "Week" > '2' AND "Date" = 'november 19, 1995'
[ 13828, 9385, 3471, 468, 257, 6119, 4025, 621, 362, 319, 645, 303, 1916, 678, 11, 8735, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 1821, 41290, 33411, 366, 20916, 1, 1875, 705, 17, 6, 5357, 366, 10430, 1, 796, 705, 77, 3239, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9385, 3471, 468, 257, 6119, 4025, 621, 362, 319, 645, 303, 1916, 678, 11, 8735, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 1821, 41290, 33411, 366, 20916, 1, 1875, 705, 17, 6, 5357, 366, 10430, 1, 796, 705, 77, 3239, ...
Can you tell me the total number of Season that has the Team 2 of chonburi, and the Score of 0:1?
SELECT COUNT(season) FROM table_name_27 WHERE team_2 = "chonburi" AND score = "0:1"
[ 6090, 345, 1560, 502, 262, 2472, 1271, 286, 7369, 326, 468, 262, 4816, 362, 286, 442, 261, 6236, 72, 11, 290, 262, 15178, 286, 657, 25, 16, 30, 46506, 327, 28270, 7, 6230, 8, 16034, 3084, 62, 3672, 62, 1983, 33411, 1074, 62, 17, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 6090, 345, 1560, 502, 262, 2472, 1271, 286, 7369, 326, 468, 262, 4816, 362, 286, 442, 261, 6236, 72, 11, 290, 262, 15178, 286, 657, 25, 16, 30, 46506, 327, 28270, 7, 6230, 8, 16034, 3084, 62, 3672, 62, 1983, 33411, 1074, 62, 17, ...
What is the subjunctive present that is associated with a plural preterite of u, a singular preterite of ou, and a singular present of ?
SELECT subj_pres FROM table_name_78 WHERE plur_pret = "u" AND sing_pret = "ou" AND sing_pres = "û"
[ 2061, 318, 262, 850, 29741, 14070, 1944, 326, 318, 3917, 351, 257, 22801, 662, 353, 578, 286, 334, 11, 257, 18032, 662, 353, 578, 286, 267, 84, 11, 290, 257, 18032, 1944, 286, 5633, 46506, 850, 73, 62, 18302, 16034, 3084, 62, 3672, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 850, 29741, 14070, 1944, 326, 318, 3917, 351, 257, 22801, 662, 353, 578, 286, 334, 11, 257, 18032, 662, 353, 578, 286, 267, 84, 11, 290, 257, 18032, 1944, 286, 5633, 46506, 850, 73, 62, 18302, 16034, 3084, 62, 3672, ...
Which club has played for 27 seasons at this level?
SELECT clubs FROM table_name_10 WHERE seasons_at_this_level = "27 seasons"
[ 13828, 3430, 468, 2826, 329, 2681, 7028, 379, 428, 1241, 30, 46506, 9784, 16034, 3084, 62, 3672, 62, 940, 33411, 7028, 62, 265, 62, 5661, 62, 5715, 796, 366, 1983, 7028, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 3430, 468, 2826, 329, 2681, 7028, 379, 428, 1241, 30, 46506, 9784, 16034, 3084, 62, 3672, 62, 940, 33411, 7028, 62, 265, 62, 5661, 62, 5715, 796, 366, 1983, 7028, 1 ]
What was the Score of the game with a Record of 0-1?
SELECT "Score" FROM table_76422 WHERE "Record" = '0-1'
[ 2061, 373, 262, 15178, 286, 262, 983, 351, 257, 13266, 286, 657, 12, 16, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 22, 2414, 1828, 33411, 366, 23739, 1, 796, 705, 15, 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, 1, 1, 1, 1 ]
[ 2061, 373, 262, 15178, 286, 262, 983, 351, 257, 13266, 286, 657, 12, 16, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 22, 2414, 1828, 33411, 366, 23739, 1, 796, 705, 15, 12, 16, 6 ]
On what date did Goal 24 take place?
SELECT date FROM table_name_76 WHERE goal = 24
[ 2202, 644, 3128, 750, 25376, 1987, 1011, 1295, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 4304, 33411, 3061, 796, 1987 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2202, 644, 3128, 750, 25376, 1987, 1011, 1295, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 4304, 33411, 3061, 796, 1987 ]
For the The History of World Film class , what is the course number ?
SELECT DISTINCT number FROM course WHERE (description LIKE '%The History of World Film%' OR name LIKE '%The History of World Film%') AND department = 'EECS'
[ 1890, 262, 383, 7443, 286, 2159, 13741, 1398, 837, 644, 318, 262, 1781, 1271, 5633, 46506, 360, 8808, 1268, 4177, 1271, 16034, 1781, 33411, 357, 11213, 34178, 705, 4, 464, 7443, 286, 2159, 13741, 4, 6, 6375, 1438, 34178, 705, 4, 464, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1890, 262, 383, 7443, 286, 2159, 13741, 1398, 837, 644, 318, 262, 1781, 1271, 5633, 46506, 360, 8808, 1268, 4177, 1271, 16034, 1781, 33411, 357, 11213, 34178, 705, 4, 464, 7443, 286, 2159, 13741, 4, 6, 6375, 1438, 34178, 705, 4, 464, ...
What is the average number of games drawn among the teams that lost over 13 games?
SELECT AVG("Drawn") FROM table_64524 WHERE "Lost" > '13'
[ 2061, 318, 262, 2811, 1271, 286, 1830, 7428, 1871, 262, 3466, 326, 2626, 625, 1511, 1830, 30, 46506, 35224, 7203, 35, 5791, 4943, 16034, 3084, 62, 49259, 1731, 33411, 366, 31042, 1, 1875, 705, 1485, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2811, 1271, 286, 1830, 7428, 1871, 262, 3466, 326, 2626, 625, 1511, 1830, 30, 46506, 35224, 7203, 35, 5791, 4943, 16034, 3084, 62, 49259, 1731, 33411, 366, 31042, 1, 1875, 705, 1485, 6 ]
List the players of the year for the tournament held in matadome ( northridge, california )?
SELECT "Conference Player of the Year" FROM table_26775 WHERE "Tournament Venue (City)" = 'Matadome ( Northridge, California )'
[ 8053, 262, 1938, 286, 262, 614, 329, 262, 7756, 2714, 287, 2603, 324, 462, 357, 5093, 12818, 11, 2386, 361, 3317, 1267, 30, 46506, 366, 3103, 4288, 7853, 286, 262, 6280, 1, 16034, 3084, 62, 25674, 2425, 33411, 366, 51, 5138, 9932, 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, 1, 1, 1, 1, 1, 1 ]
[ 8053, 262, 1938, 286, 262, 614, 329, 262, 7756, 2714, 287, 2603, 324, 462, 357, 5093, 12818, 11, 2386, 361, 3317, 1267, 30, 46506, 366, 3103, 4288, 7853, 286, 262, 6280, 1, 16034, 3084, 62, 25674, 2425, 33411, 366, 51, 5138, 9932, 5...
Which Pick # is the highest one that has a Name of william middleton, and a Round larger than 5?
SELECT MAX("Pick #") FROM table_5582 WHERE "Name" = 'william middleton' AND "Round" > '5'
[ 13828, 12346, 1303, 318, 262, 4511, 530, 326, 468, 257, 6530, 286, 481, 1789, 3504, 1122, 11, 290, 257, 10485, 4025, 621, 642, 30, 46506, 25882, 7203, 31686, 1303, 4943, 16034, 3084, 62, 2816, 6469, 33411, 366, 5376, 1, 796, 705, 1059...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12346, 1303, 318, 262, 4511, 530, 326, 468, 257, 6530, 286, 481, 1789, 3504, 1122, 11, 290, 257, 10485, 4025, 621, 642, 30, 46506, 25882, 7203, 31686, 1303, 4943, 16034, 3084, 62, 2816, 6469, 33411, 366, 5376, 1, 796, 705, 1059...
which locations had no women casualties ?
SELECT "place" FROM table_204_693 WHERE "women" IS NULL
[ 4758, 7064, 550, 645, 1466, 18499, 5633, 46506, 366, 5372, 1, 16034, 3084, 62, 18638, 62, 48528, 33411, 366, 25878, 1, 3180, 15697 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4758, 7064, 550, 645, 1466, 18499, 5633, 46506, 366, 5372, 1, 16034, 3084, 62, 18638, 62, 48528, 33411, 366, 25878, 1, 3180, 15697 ]
What venue is the home of the Carlton team?
SELECT venue FROM table_name_39 WHERE home_team = "carlton"
[ 2061, 14359, 318, 262, 1363, 286, 262, 44348, 1074, 30, 46506, 14359, 16034, 3084, 62, 3672, 62, 2670, 33411, 1363, 62, 15097, 796, 366, 66, 7063, 1122, 1 ]
[ 1, 1, 1, 1, 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, 14359, 318, 262, 1363, 286, 262, 44348, 1074, 30, 46506, 14359, 16034, 3084, 62, 3672, 62, 2670, 33411, 1363, 62, 15097, 796, 366, 66, 7063, 1122, 1 ]
What is the courtesy title of the person whose tenure goes from 1766 1794?
SELECT "Courtesy title" FROM table_15484 WHERE "Tenure" = '1766–1794'
[ 2061, 318, 262, 12537, 3670, 286, 262, 1048, 3025, 17081, 2925, 422, 1596, 2791, 1596, 5824, 30, 46506, 366, 31825, 3670, 1, 16034, 3084, 62, 1314, 34137, 33411, 366, 24893, 495, 1, 796, 705, 1558, 2791, 1906, 1558, 5824, 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 ]
[ 2061, 318, 262, 12537, 3670, 286, 262, 1048, 3025, 17081, 2925, 422, 1596, 2791, 1596, 5824, 30, 46506, 366, 31825, 3670, 1, 16034, 3084, 62, 1314, 34137, 33411, 366, 24893, 495, 1, 796, 705, 1558, 2791, 1906, 1558, 5824, 6 ]
Tell me the call sign which has a frequency Mhz more than 90.1 and ERP W of 1
SELECT call_sign FROM table_name_83 WHERE frequency_mhz > 90.1 AND erp_w = 1
[ 24446, 502, 262, 869, 1051, 543, 468, 257, 8373, 337, 32179, 517, 621, 4101, 13, 16, 290, 13793, 47, 370, 286, 352, 46506, 869, 62, 12683, 16034, 3084, 62, 3672, 62, 5999, 33411, 8373, 62, 76, 32179, 1875, 4101, 13, 16, 5357, 1931, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 869, 1051, 543, 468, 257, 8373, 337, 32179, 517, 621, 4101, 13, 16, 290, 13793, 47, 370, 286, 352, 46506, 869, 62, 12683, 16034, 3084, 62, 3672, 62, 5999, 33411, 8373, 62, 76, 32179, 1875, 4101, 13, 16, 5357, 1931, ...
MySQL and Json tags by Month.
SELECT TIME_TO_STR(p.CreationDate, '%Y') AS Year, TIME_TO_STR(p.CreationDate, '%m') AS Month, COUNT(tj.Id) AS count_json FROM Posts AS p INNER JOIN PostTags AS pm ON p.Id = pm.PostId INNER JOIN Tags AS tm ON pm.TagId = tm.Id AND tm.TagName = 'mysql' LEFT OUTER JOIN PostTags AS pj ON p.Id = pj.PostId LEFT OUTER JOIN Tag...
[ 3666, 17861, 290, 449, 1559, 15940, 416, 16061, 13, 46506, 20460, 62, 10468, 62, 18601, 7, 79, 13, 12443, 341, 10430, 11, 705, 4, 56, 11537, 7054, 6280, 11, 20460, 62, 10468, 62, 18601, 7, 79, 13, 12443, 341, 10430, 11, 705, 4, 76...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3666, 17861, 290, 449, 1559, 15940, 416, 16061, 13, 46506, 20460, 62, 10468, 62, 18601, 7, 79, 13, 12443, 341, 10430, 11, 705, 4, 56, 11537, 7054, 6280, 11, 20460, 62, 10468, 62, 18601, 7, 79, 13, 12443, 341, 10430, 11, 705, 4, 76...
A bar chart about what are the nationalities and their average ages of journalists?, and order y-axis from high to low order.
SELECT Nationality, AVG(Age) FROM journalist GROUP BY Nationality ORDER BY AVG(Age) DESC
[ 32, 2318, 8262, 546, 644, 389, 262, 2260, 871, 290, 511, 2811, 9337, 286, 9046, 21747, 290, 1502, 331, 12, 22704, 422, 1029, 284, 1877, 1502, 13, 46506, 2351, 414, 11, 35224, 7, 23396, 8, 16034, 10099, 44441, 11050, 2351, 414, 38678, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 546, 644, 389, 262, 2260, 871, 290, 511, 2811, 9337, 286, 9046, 21747, 290, 1502, 331, 12, 22704, 422, 1029, 284, 1877, 1502, 13, 46506, 2351, 414, 11, 35224, 7, 23396, 8, 16034, 10099, 44441, 11050, 2351, 414, 38678, ...
How many written by have wendey stanzler as the director?
SELECT COUNT("Written by") FROM table_25125 WHERE "Directed by" = 'Wendey Stanzler'
[ 2437, 867, 3194, 416, 423, 266, 437, 2959, 336, 35410, 1754, 355, 262, 3437, 30, 46506, 327, 28270, 7203, 25354, 416, 4943, 16034, 3084, 62, 1495, 11623, 33411, 366, 13470, 276, 416, 1, 796, 705, 54, 437, 2959, 7299, 89, 1754, 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 ]
[ 2437, 867, 3194, 416, 423, 266, 437, 2959, 336, 35410, 1754, 355, 262, 3437, 30, 46506, 327, 28270, 7203, 25354, 416, 4943, 16034, 3084, 62, 1495, 11623, 33411, 366, 13470, 276, 416, 1, 796, 705, 54, 437, 2959, 7299, 89, 1754, 6 ]
What is the highest round that has a player selected from Clarkson University?
SELECT MAX(round) FROM table_name_15 WHERE college_junior_club_team__league_ = "clarkson university"
[ 2061, 318, 262, 4511, 2835, 326, 468, 257, 2137, 6163, 422, 40524, 2059, 30, 46506, 25882, 7, 744, 8, 16034, 3084, 62, 3672, 62, 1314, 33411, 4152, 62, 29741, 1504, 62, 18664, 62, 15097, 834, 19316, 62, 796, 366, 565, 5558, 261, 640...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 468, 257, 2137, 6163, 422, 40524, 2059, 30, 46506, 25882, 7, 744, 8, 16034, 3084, 62, 3672, 62, 1314, 33411, 4152, 62, 29741, 1504, 62, 18664, 62, 15097, 834, 19316, 62, 796, 366, 565, 5558, 261, 640...
what is the country when the bie recognised is no and years(s) is 2014?
SELECT country FROM table_name_83 WHERE bie_recognised = "no" AND year_s_ = "2014"
[ 10919, 318, 262, 1499, 618, 262, 275, 494, 20915, 318, 645, 290, 812, 7, 82, 8, 318, 1946, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 5999, 33411, 275, 494, 62, 26243, 1417, 796, 366, 3919, 1, 5357, 614, 62, 82, 62, 796, 366, 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 ]
[ 10919, 318, 262, 1499, 618, 262, 275, 494, 20915, 318, 645, 290, 812, 7, 82, 8, 318, 1946, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 5999, 33411, 275, 494, 62, 26243, 1417, 796, 366, 3919, 1, 5357, 614, 62, 82, 62, 796, 366, 4...
How tall is the contestant from Ecuador?
SELECT "Height (ft)" FROM table_23813 WHERE "Country" = 'Ecuador'
[ 2437, 7331, 318, 262, 44047, 422, 25794, 30, 46506, 366, 23106, 357, 701, 16725, 16034, 3084, 62, 23721, 1485, 33411, 366, 33921, 1, 796, 705, 49136, 24201, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 7331, 318, 262, 44047, 422, 25794, 30, 46506, 366, 23106, 357, 701, 16725, 16034, 3084, 62, 23721, 1485, 33411, 366, 33921, 1, 796, 705, 49136, 24201, 6 ]
What was Random House's copyright information?
SELECT "Copyright Information" FROM table_54408 WHERE "Publisher" = 'random house'
[ 2061, 373, 14534, 2097, 338, 6634, 1321, 30, 46506, 366, 15269, 6188, 1, 16034, 3084, 62, 4051, 26200, 33411, 366, 46471, 1, 796, 705, 25120, 2156, 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, 373, 14534, 2097, 338, 6634, 1321, 30, 46506, 366, 15269, 6188, 1, 16034, 3084, 62, 4051, 26200, 33411, 366, 46471, 1, 796, 705, 25120, 2156, 6 ]
What country is the film directed by Jean-Luc Godard in French from?
SELECT country FROM table_name_19 WHERE language = "french" AND director = "jean-luc godard"
[ 2061, 1499, 318, 262, 2646, 7924, 416, 11320, 12, 22946, 1793, 446, 287, 4141, 422, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 1129, 33411, 3303, 796, 366, 69, 3532, 1, 5357, 3437, 796, 366, 73, 11025, 12, 75, 1229, 5770, 446, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1499, 318, 262, 2646, 7924, 416, 11320, 12, 22946, 1793, 446, 287, 4141, 422, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 1129, 33411, 3303, 796, 366, 69, 3532, 1, 5357, 3437, 796, 366, 73, 11025, 12, 75, 1229, 5770, 446, 1 ]
Show the average of account details for different statement details in a bar chart, and show by the names from low to high.
SELECT Statement_Details, AVG(Account_Details) FROM Accounts AS T1 JOIN Statements AS T2 ON T1.Statement_ID = T2.Statement_ID GROUP BY Statement_Details ORDER BY Statement_Details
[ 15307, 262, 2811, 286, 1848, 3307, 329, 1180, 2643, 3307, 287, 257, 2318, 8262, 11, 290, 905, 416, 262, 3891, 422, 1877, 284, 1029, 13, 46506, 21983, 62, 24259, 11, 35224, 7, 30116, 62, 24259, 8, 16034, 35584, 7054, 309, 16, 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...
[ 15307, 262, 2811, 286, 1848, 3307, 329, 1180, 2643, 3307, 287, 257, 2318, 8262, 11, 290, 905, 416, 262, 3891, 422, 1877, 284, 1029, 13, 46506, 21983, 62, 24259, 11, 35224, 7, 30116, 62, 24259, 8, 16034, 35584, 7054, 309, 16, 32357, ...
did patient 24268 excreted any of his urine . on the first icu visit?
SELECT COUNT(*) > 0 FROM outputevents WHERE outputevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 24268) AND NOT icustays.outtime IS NULL ORDER BY icustays.intime LIMIT 1) AND outputevents.itemid IN (SELECT...
[ 20839, 5827, 1987, 25022, 2859, 1186, 276, 597, 286, 465, 18922, 764, 319, 262, 717, 14158, 84, 3187, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 38701, 1133, 85, 658, 33411, 38701, 1133, 85, 658, 13, 291, 436, 323, 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...
[ 20839, 5827, 1987, 25022, 2859, 1186, 276, 597, 286, 465, 18922, 764, 319, 262, 717, 14158, 84, 3187, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 38701, 1133, 85, 658, 33411, 38701, 1133, 85, 658, 13, 291, 436, 323, 62, 312, ...
Director for Star Wars Episode II: attack of the clones?
SELECT director_s_ FROM table_name_92 WHERE title = "star wars episode ii: attack of the clones"
[ 28702, 329, 2907, 6176, 7922, 2873, 25, 1368, 286, 262, 32498, 30, 46506, 3437, 62, 82, 62, 16034, 3084, 62, 3672, 62, 5892, 33411, 3670, 796, 366, 7364, 9976, 4471, 21065, 25, 1368, 286, 262, 32498, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 28702, 329, 2907, 6176, 7922, 2873, 25, 1368, 286, 262, 32498, 30, 46506, 3437, 62, 82, 62, 16034, 3084, 62, 3672, 62, 5892, 33411, 3670, 796, 366, 7364, 9976, 4471, 21065, 25, 1368, 286, 262, 32498, 1 ]
What is Date, when Outcome is Winner, and when Opponent is An-Sophie Mestach?
SELECT "Date" FROM table_44802 WHERE "Outcome" = 'winner' AND "Opponent" = 'an-sophie mestach'
[ 2061, 318, 7536, 11, 618, 3806, 2958, 318, 25358, 11, 290, 618, 9385, 3471, 318, 1052, 12, 50, 2522, 494, 337, 395, 620, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 2598, 30863, 33411, 366, 7975, 2958, 1, 796, 705, 39791, 6, 5357, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 7536, 11, 618, 3806, 2958, 318, 25358, 11, 290, 618, 9385, 3471, 318, 1052, 12, 50, 2522, 494, 337, 395, 620, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 2598, 30863, 33411, 366, 7975, 2958, 1, 796, 705, 39791, 6, 5357, ...
What is the score for game 6?
SELECT score FROM table_name_11 WHERE game = 6
[ 2061, 318, 262, 4776, 329, 983, 718, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 1157, 33411, 983, 796, 718 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4776, 329, 983, 718, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 1157, 33411, 983, 796, 718 ]
How many people on average attended the game in week 14?
SELECT AVG(attendance) FROM table_name_68 WHERE week = 14
[ 2437, 867, 661, 319, 2811, 9141, 262, 983, 287, 1285, 1478, 30, 46506, 35224, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 3104, 33411, 1285, 796, 1478 ]
[ 1, 1, 1, 1, 1, 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, 661, 319, 2811, 9141, 262, 983, 287, 1285, 1478, 30, 46506, 35224, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 3104, 33411, 1285, 796, 1478 ]
What is the total goals scored with more than 11 points, 18 goals conceded, and played fewer than 18 times?
SELECT COUNT(goals_scored) FROM table_name_17 WHERE points > 11 AND goals_conceded = 18 AND played < 18
[ 2061, 318, 262, 2472, 4661, 7781, 351, 517, 621, 1367, 2173, 11, 1248, 4661, 24684, 11, 290, 2826, 7380, 621, 1248, 1661, 30, 46506, 327, 28270, 7, 2188, 874, 62, 1416, 1850, 8, 16034, 3084, 62, 3672, 62, 1558, 33411, 2173, 1875, 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 ]
[ 2061, 318, 262, 2472, 4661, 7781, 351, 517, 621, 1367, 2173, 11, 1248, 4661, 24684, 11, 290, 2826, 7380, 621, 1248, 1661, 30, 46506, 327, 28270, 7, 2188, 874, 62, 1416, 1850, 8, 16034, 3084, 62, 3672, 62, 1558, 33411, 2173, 1875, 13...
How many Decembers have calgary flames as the opponent?
SELECT COUNT(december) FROM table_name_90 WHERE opponent = "calgary flames"
[ 2437, 867, 1024, 344, 76, 1213, 423, 2386, 14849, 16209, 355, 262, 6125, 30, 46506, 327, 28270, 7, 2934, 3273, 8, 16034, 3084, 62, 3672, 62, 3829, 33411, 6125, 796, 366, 9948, 14849, 16209, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1024, 344, 76, 1213, 423, 2386, 14849, 16209, 355, 262, 6125, 30, 46506, 327, 28270, 7, 2934, 3273, 8, 16034, 3084, 62, 3672, 62, 3829, 33411, 6125, 796, 366, 9948, 14849, 16209, 1 ]
what is the minimum storeys on 325 5th ave n
SELECT MIN(storeys) FROM table_13397394_1 WHERE address = "325 5th Ave N"
[ 10919, 318, 262, 5288, 3650, 893, 319, 29524, 642, 400, 257, 303, 299, 46506, 20625, 7, 8095, 893, 8, 16034, 3084, 62, 1485, 33372, 34626, 62, 16, 33411, 2209, 796, 366, 26582, 642, 400, 12761, 399, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 5288, 3650, 893, 319, 29524, 642, 400, 257, 303, 299, 46506, 20625, 7, 8095, 893, 8, 16034, 3084, 62, 1485, 33372, 34626, 62, 16, 33411, 2209, 796, 366, 26582, 642, 400, 12761, 399, 1 ]
Which flag was on the Green Marine's boat?
SELECT "Flag" FROM table_23386 WHERE "Builder" = 'Green Marine'
[ 13828, 6056, 373, 319, 262, 3469, 11000, 338, 8848, 30, 46506, 366, 34227, 1, 16034, 3084, 62, 1954, 21734, 33411, 366, 32875, 1, 796, 705, 13719, 11000, 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 ]
[ 13828, 6056, 373, 319, 262, 3469, 11000, 338, 8848, 30, 46506, 366, 34227, 1, 16034, 3084, 62, 1954, 21734, 33411, 366, 32875, 1, 796, 705, 13719, 11000, 6 ]
Which Date has Points smaller than 85 and a Game # of 74?
SELECT "Date" FROM table_5685 WHERE "Points" < '85' AND "Game #" = '74'
[ 13828, 7536, 468, 11045, 4833, 621, 7600, 290, 257, 3776, 1303, 286, 8915, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 20, 35978, 33411, 366, 40710, 1, 1279, 705, 5332, 6, 5357, 366, 8777, 1303, 1, 796, 705, 4524, 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 ]
[ 13828, 7536, 468, 11045, 4833, 621, 7600, 290, 257, 3776, 1303, 286, 8915, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 20, 35978, 33411, 366, 40710, 1, 1279, 705, 5332, 6, 5357, 366, 8777, 1303, 1, 796, 705, 4524, 6 ]
Which away team has a Home team score of 17.13 (115)?
SELECT "Away team" FROM table_51918 WHERE "Home team score" = '17.13 (115)'
[ 13828, 1497, 1074, 468, 257, 5995, 1074, 4776, 286, 1596, 13, 1485, 357, 15363, 19427, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 47785, 1507, 33411, 366, 16060, 1074, 4776, 1, 796, 705, 1558, 13, 1485, 357, 15363, 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 ]
[ 13828, 1497, 1074, 468, 257, 5995, 1074, 4776, 286, 1596, 13, 1485, 357, 15363, 19427, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 47785, 1507, 33411, 366, 16060, 1074, 4776, 1, 796, 705, 1558, 13, 1485, 357, 15363, 33047 ]
Name the name of award for zubeen garg
SELECT name_of_award FROM table_24446718_7 WHERE awardee_s_ = "Zubeen Garg"
[ 5376, 262, 1438, 286, 5764, 329, 1976, 3266, 268, 44671, 46506, 1438, 62, 1659, 62, 707, 446, 16034, 3084, 62, 1731, 2598, 3134, 1507, 62, 22, 33411, 5764, 1453, 62, 82, 62, 796, 366, 57, 3266, 268, 39013, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1438, 286, 5764, 329, 1976, 3266, 268, 44671, 46506, 1438, 62, 1659, 62, 707, 446, 16034, 3084, 62, 1731, 2598, 3134, 1507, 62, 22, 33411, 5764, 1453, 62, 82, 62, 796, 366, 57, 3266, 268, 39013, 1 ]
can you list all flights from TORONTO to SAN DIEGO
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'TORONTO' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SAN DI...
[ 5171, 345, 1351, 477, 13956, 422, 40691, 1340, 10468, 284, 37376, 14766, 7156, 14058, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 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...
[ 5171, 345, 1351, 477, 13956, 422, 40691, 1340, 10468, 284, 37376, 14766, 7156, 14058, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 705...
What is the id of the product that was ordered the most often?
SELECT product_id FROM order_items GROUP BY product_id ORDER BY COUNT(*) DESC LIMIT 1
[ 2061, 318, 262, 4686, 286, 262, 1720, 326, 373, 6149, 262, 749, 1690, 30, 46506, 1720, 62, 312, 16034, 1502, 62, 23814, 44441, 11050, 1720, 62, 312, 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 ]
[ 2061, 318, 262, 4686, 286, 262, 1720, 326, 373, 6149, 262, 749, 1690, 30, 46506, 1720, 62, 312, 16034, 1502, 62, 23814, 44441, 11050, 1720, 62, 312, 38678, 11050, 327, 28270, 7, 28104, 22196, 34, 27564, 2043, 352 ]
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, a bar chart shows the distribution of hire_date and the average of department_id bin hire_date by weekday.
SELECT HIRE_DATE, AVG(DEPARTMENT_ID) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40
[ 1890, 883, 4409, 3025, 9588, 318, 287, 262, 2837, 286, 38055, 290, 1105, 830, 290, 5810, 318, 407, 9242, 393, 5011, 1271, 857, 407, 4961, 284, 2319, 11, 257, 2318, 8262, 2523, 262, 6082, 286, 11078, 62, 4475, 290, 262, 2811, 286, 50...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3025, 9588, 318, 287, 262, 2837, 286, 38055, 290, 1105, 830, 290, 5810, 318, 407, 9242, 393, 5011, 1271, 857, 407, 4961, 284, 2319, 11, 257, 2318, 8262, 2523, 262, 6082, 286, 11078, 62, 4475, 290, 262, 2811, 286, 50...
what are the draft pick numbers and draft classes for players who play the Defender position?, could you sort by the y-axis in asc?
SELECT Draft_Class, Draft_Pick_Number FROM match_season WHERE Position = "Defender" ORDER BY Draft_Pick_Number
[ 10919, 389, 262, 4538, 2298, 3146, 290, 4538, 6097, 329, 1938, 508, 711, 262, 25533, 2292, 21747, 714, 345, 3297, 416, 262, 331, 12, 22704, 287, 10570, 30, 46506, 13650, 62, 9487, 11, 13650, 62, 31686, 62, 15057, 16034, 2872, 62, 6230...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 389, 262, 4538, 2298, 3146, 290, 4538, 6097, 329, 1938, 508, 711, 262, 25533, 2292, 21747, 714, 345, 3297, 416, 262, 331, 12, 22704, 287, 10570, 30, 46506, 13650, 62, 9487, 11, 13650, 62, 31686, 62, 15057, 16034, 2872, 62, 6230...
Draw a scatter chart to show the star rating of the movie and the smallest rating of movie.
SELECT stars, MIN(T1.stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID GROUP BY stars
[ 25302, 257, 41058, 8262, 284, 905, 262, 3491, 7955, 286, 262, 3807, 290, 262, 18197, 7955, 286, 3807, 13, 46506, 5788, 11, 20625, 7, 51, 16, 13, 30783, 8, 16034, 12028, 7054, 309, 16, 32357, 1268, 15875, 7054, 309, 17, 6177, 309, 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 ]
[ 25302, 257, 41058, 8262, 284, 905, 262, 3491, 7955, 286, 262, 3807, 290, 262, 18197, 7955, 286, 3807, 13, 46506, 5788, 11, 20625, 7, 51, 16, 13, 30783, 8, 16034, 12028, 7054, 309, 16, 32357, 1268, 15875, 7054, 309, 17, 6177, 309, 16...
Users who self-answered with a score of < 0. possibly newbies who don't know what they are doing
SELECT q.Id AS "post_link" FROM Posts AS q JOIN Users AS u ON q.OwnerUserId = u.Id JOIN Posts AS a ON q.Id = a.ParentId AND q.OwnerUserId = a.OwnerUserId WHERE a.Score < 0 AND q.AcceptedAnswerId != a.Id AND u.Reputation < 15 ORDER BY a.CreationDate DESC
[ 14490, 508, 2116, 12, 31966, 351, 257, 4776, 286, 1279, 657, 13, 5457, 649, 29846, 508, 836, 470, 760, 644, 484, 389, 1804, 46506, 10662, 13, 7390, 7054, 366, 7353, 62, 8726, 1, 16034, 12043, 7054, 10662, 32357, 1268, 18987, 7054, 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, 508, 2116, 12, 31966, 351, 257, 4776, 286, 1279, 657, 13, 5457, 649, 29846, 508, 836, 470, 760, 644, 484, 389, 1804, 46506, 10662, 13, 7390, 7054, 366, 7353, 62, 8726, 1, 16034, 12043, 7054, 10662, 32357, 1268, 18987, 7054, 334...
What was the location and the attendance for the game on October 12?
SELECT "Location Attendance" FROM table_3889 WHERE "Date" = 'October 12'
[ 2061, 373, 262, 4067, 290, 262, 14858, 329, 262, 983, 319, 3267, 1105, 30, 46506, 366, 14749, 46502, 590, 1, 16034, 3084, 62, 2548, 4531, 33411, 366, 10430, 1, 796, 705, 18517, 1105, 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, 373, 262, 4067, 290, 262, 14858, 329, 262, 983, 319, 3267, 1105, 30, 46506, 366, 14749, 46502, 590, 1, 16034, 3084, 62, 2548, 4531, 33411, 366, 10430, 1, 796, 705, 18517, 1105, 6 ]
count the number of patients whose diagnoses short title is candidal esophagitis and drug route is iv?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.short_title = "Candidal esophagitis" AND prescriptions.route = "IV"
[ 9127, 262, 1271, 286, 3871, 3025, 40567, 1790, 3670, 318, 2960, 282, 1658, 2522, 363, 11815, 290, 2563, 6339, 318, 21628, 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...
[ 9127, 262, 1271, 286, 3871, 3025, 40567, 1790, 3670, 318, 2960, 282, 1658, 2522, 363, 11815, 290, 2563, 6339, 318, 21628, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, ...
what is language and death status of subject id 3623?
SELECT demographic.language, demographic.expire_flag FROM demographic WHERE demographic.subject_id = "3623"
[ 10919, 318, 3303, 290, 1918, 3722, 286, 2426, 4686, 4570, 1954, 30, 46506, 16728, 13, 16129, 11, 16728, 13, 1069, 5111, 62, 32109, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 2623, 1954, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3303, 290, 1918, 3722, 286, 2426, 4686, 4570, 1954, 30, 46506, 16728, 13, 16129, 11, 16728, 13, 1069, 5111, 62, 32109, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 2623, 1954, 1 ]
What is the rank of Bronco Billy?
SELECT AVG("Rank") FROM table_47947 WHERE "Title" = 'bronco billy'
[ 2061, 318, 262, 4279, 286, 8923, 1073, 15890, 30, 46506, 35224, 7203, 27520, 4943, 16034, 3084, 62, 31714, 2857, 33411, 366, 19160, 1, 796, 705, 65, 1313, 1073, 2855, 88, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4279, 286, 8923, 1073, 15890, 30, 46506, 35224, 7203, 27520, 4943, 16034, 3084, 62, 31714, 2857, 33411, 366, 19160, 1, 796, 705, 65, 1313, 1073, 2855, 88, 6 ]
how many archive were when run time is 24:34
SELECT archive FROM table_2112766_1 WHERE run_time = "24:34"
[ 4919, 867, 15424, 547, 618, 1057, 640, 318, 1987, 25, 2682, 46506, 15424, 16034, 3084, 62, 2481, 16799, 2791, 62, 16, 33411, 1057, 62, 2435, 796, 366, 1731, 25, 2682, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 15424, 547, 618, 1057, 640, 318, 1987, 25, 2682, 46506, 15424, 16034, 3084, 62, 2481, 16799, 2791, 62, 16, 33411, 1057, 62, 2435, 796, 366, 1731, 25, 2682, 1 ]
For those employees who was hired before 2002-06-21, show me the trend about manager_id over hire_date with a line chart, and I want to order by the X-axis in asc.
SELECT HIRE_DATE, MANAGER_ID FROM employees WHERE HIRE_DATE < '2002-06-21' ORDER BY HIRE_DATE
[ 1890, 883, 4409, 508, 373, 9657, 878, 6244, 12, 3312, 12, 2481, 11, 905, 502, 262, 5182, 546, 4706, 62, 312, 625, 11078, 62, 4475, 351, 257, 1627, 8262, 11, 290, 314, 765, 284, 1502, 416, 262, 1395, 12, 22704, 287, 10570, 13, 4650...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4409, 508, 373, 9657, 878, 6244, 12, 3312, 12, 2481, 11, 905, 502, 262, 5182, 546, 4706, 62, 312, 625, 11078, 62, 4475, 351, 257, 1627, 8262, 11, 290, 314, 765, 284, 1502, 416, 262, 1395, 12, 22704, 287, 10570, 13, 4650...
List the names of pilots in ascending order of rank.
SELECT Pilot_name FROM pilot ORDER BY Rank
[ 8053, 262, 3891, 286, 14982, 287, 41988, 1502, 286, 4279, 13, 46506, 21697, 62, 3672, 16034, 8022, 38678, 11050, 10916 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8053, 262, 3891, 286, 14982, 287, 41988, 1502, 286, 4279, 13, 46506, 21697, 62, 3672, 16034, 8022, 38678, 11050, 10916 ]
Which Result has a Year larger than 2003, and an Award of best supporting actress?
SELECT "Result" FROM table_35217 WHERE "Year" > '2003' AND "Award" = 'best supporting actress'
[ 13828, 25414, 468, 257, 6280, 4025, 621, 5816, 11, 290, 281, 11289, 286, 1266, 6493, 14549, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 2327, 24591, 33411, 366, 17688, 1, 1875, 705, 16088, 6, 5357, 366, 32, 904, 1, 796, 705, 13466, 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 ]
[ 13828, 25414, 468, 257, 6280, 4025, 621, 5816, 11, 290, 281, 11289, 286, 1266, 6493, 14549, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 2327, 24591, 33411, 366, 17688, 1, 1875, 705, 16088, 6, 5357, 366, 32, 904, 1, 796, 705, 13466, 6...
How long was the match with Jaime Fletcher?
SELECT time FROM table_name_83 WHERE opponent = "jaime fletcher"
[ 2437, 890, 373, 262, 2872, 351, 38028, 31942, 30, 46506, 640, 16034, 3084, 62, 3672, 62, 5999, 33411, 6125, 796, 366, 6592, 524, 277, 29257, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 890, 373, 262, 2872, 351, 38028, 31942, 30, 46506, 640, 16034, 3084, 62, 3672, 62, 5999, 33411, 6125, 796, 366, 6592, 524, 277, 29257, 1 ]
What municipality has 719 people and is larger than 108.46 km2?
SELECT regional_county_municipality FROM table_name_30 WHERE area__km_2__ > 108.46 AND population = 719
[ 2061, 27264, 468, 767, 1129, 661, 290, 318, 4025, 621, 15495, 13, 3510, 10571, 17, 30, 46506, 7915, 62, 9127, 88, 62, 6199, 4311, 1483, 16034, 3084, 62, 3672, 62, 1270, 33411, 1989, 834, 13276, 62, 17, 834, 1875, 15495, 13, 3510, 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 ]
[ 2061, 27264, 468, 767, 1129, 661, 290, 318, 4025, 621, 15495, 13, 3510, 10571, 17, 30, 46506, 7915, 62, 9127, 88, 62, 6199, 4311, 1483, 16034, 3084, 62, 3672, 62, 1270, 33411, 1989, 834, 13276, 62, 17, 834, 1875, 15495, 13, 3510, 53...
Which customer status code has least number of customers?
SELECT customer_status_code FROM Customers GROUP BY customer_status_code ORDER BY COUNT(*) LIMIT 1
[ 13828, 6491, 3722, 2438, 468, 1551, 1271, 286, 4297, 30, 46506, 6491, 62, 13376, 62, 8189, 16034, 36707, 44441, 11050, 6491, 62, 13376, 62, 8189, 38678, 11050, 327, 28270, 7, 28104, 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 ]
[ 13828, 6491, 3722, 2438, 468, 1551, 1271, 286, 4297, 30, 46506, 6491, 62, 13376, 62, 8189, 16034, 36707, 44441, 11050, 6491, 62, 13376, 62, 8189, 38678, 11050, 327, 28270, 7, 28104, 27564, 2043, 352 ]
For those employees who do not work in departments with managers that have ids between 100 and 200, return a bar chart about the distribution of email and employee_id , and rank from high to low by the total number please.
SELECT EMAIL, 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, 1441, 257, 2318, 8262, 546, 262, 6082, 286, 3053, 290, 6538, 62, 312, 837, 290, 4279, 422, 1029, 284, 1877, 416, 262, 2472, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1441, 257, 2318, 8262, 546, 262, 6082, 286, 3053, 290, 6538, 62, 312, 837, 290, 4279, 422, 1029, 284, 1877, 416, 262, 2472, ...
What is the Area with a Median Age of 38 years, a Population of 2,444, and a Date First Settles as a Suburb prior to 1965?
SELECT SUM("Area (km\u00b2)") FROM table_11105 WHERE "Median age (in 2006)" = '38 years' AND "Population (in 2008)" = '2,444' AND "Date first settled as a suburb" < '1965'
[ 2061, 318, 262, 9498, 351, 257, 26178, 7129, 286, 4353, 812, 11, 257, 20133, 286, 362, 11, 30272, 11, 290, 257, 7536, 3274, 41479, 829, 355, 257, 3834, 5945, 3161, 284, 17672, 30, 46506, 35683, 7203, 30547, 357, 13276, 59, 84, 405, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 318, 262, 9498, 351, 257, 26178, 7129, 286, 4353, 812, 11, 257, 20133, 286, 362, 11, 30272, 11, 290, 257, 7536, 3274, 41479, 829, 355, 257, 3834, 5945, 3161, 284, 17672, 30, 46506, 35683, 7203, 30547, 357, 13276, 59, 84, 405, ...
A bar chart shows the distribution of meter_500 and meter_100 , list by the Y-axis in desc.
SELECT meter_500, meter_100 FROM swimmer ORDER BY meter_100 DESC
[ 32, 2318, 8262, 2523, 262, 6082, 286, 16430, 62, 4059, 290, 16430, 62, 3064, 837, 1351, 416, 262, 575, 12, 22704, 287, 1715, 13, 46506, 16430, 62, 4059, 11, 16430, 62, 3064, 16034, 9422, 647, 38678, 11050, 16430, 62, 3064, 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, 1, 1, 1, 1 ]
[ 32, 2318, 8262, 2523, 262, 6082, 286, 16430, 62, 4059, 290, 16430, 62, 3064, 837, 1351, 416, 262, 575, 12, 22704, 287, 1715, 13, 46506, 16430, 62, 4059, 11, 16430, 62, 3064, 16034, 9422, 647, 38678, 11050, 16430, 62, 3064, 22196, 34 ]
What is the total number of drawn matches from first game years before 2006 and fewer than 2 matches played?
SELECT SUM(drawn) FROM table_name_42 WHERE first_game < 2006 AND played < 2
[ 2061, 318, 262, 2472, 1271, 286, 7428, 7466, 422, 717, 983, 812, 878, 4793, 290, 7380, 621, 362, 7466, 2826, 30, 46506, 35683, 7, 41549, 8, 16034, 3084, 62, 3672, 62, 3682, 33411, 717, 62, 6057, 1279, 4793, 5357, 2826, 1279, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2472, 1271, 286, 7428, 7466, 422, 717, 983, 812, 878, 4793, 290, 7380, 621, 362, 7466, 2826, 30, 46506, 35683, 7, 41549, 8, 16034, 3084, 62, 3672, 62, 3682, 33411, 717, 62, 6057, 1279, 4793, 5357, 2826, 1279, 362 ]
how many patients iwere admitted before the year 2178 operated for continous intra-arterial blood gas monitoring?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admityear < "2178" AND procedures.long_title = "Continuous intra-arterial blood gas monitoring"
[ 4919, 867, 3871, 1312, 22474, 6848, 878, 262, 614, 362, 23188, 12228, 329, 1261, 516, 23422, 12, 2571, 498, 2910, 3623, 9904, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 323...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1312, 22474, 6848, 878, 262, 614, 362, 23188, 12228, 329, 1261, 516, 23422, 12, 2571, 498, 2910, 3623, 9904, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 323...
what were the three most frequently ordered laboratory tests for patients who received ultrafiltration (fluid removal only) previously during the same hospital visit in 2105?
SELECT t3.labname FROM (SELECT t2.labname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, treatment.treatmenttime, patient.patienthealthsystemstayid FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'ultrafiltration (...
[ 10919, 547, 262, 1115, 749, 6777, 6149, 14010, 5254, 329, 3871, 508, 2722, 14764, 69, 36055, 357, 35522, 312, 9934, 691, 8, 4271, 1141, 262, 976, 4436, 3187, 287, 362, 13348, 30, 46506, 256, 18, 13, 23912, 3672, 16034, 357, 46506, 256...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 547, 262, 1115, 749, 6777, 6149, 14010, 5254, 329, 3871, 508, 2722, 14764, 69, 36055, 357, 35522, 312, 9934, 691, 8, 4271, 1141, 262, 976, 4436, 3187, 287, 362, 13348, 30, 46506, 256, 18, 13, 23912, 3672, 16034, 357, 46506, 256...
What is the score vs. Zerg with wins as of September 1,2012?
SELECT "vs. Zerg" FROM table_71407 WHERE "As of September 1, 2012" = 'wins'
[ 2061, 318, 262, 4776, 3691, 13, 37509, 351, 7864, 355, 286, 2693, 352, 11, 6999, 30, 46506, 366, 14259, 13, 37509, 1, 16034, 3084, 62, 45722, 2998, 33411, 366, 1722, 286, 2693, 352, 11, 2321, 1, 796, 705, 86, 1040, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4776, 3691, 13, 37509, 351, 7864, 355, 286, 2693, 352, 11, 6999, 30, 46506, 366, 14259, 13, 37509, 1, 16034, 3084, 62, 45722, 2998, 33411, 366, 1722, 286, 2693, 352, 11, 2321, 1, 796, 705, 86, 1040, 6 ]
What team has draft picks from Mississippi?
SELECT nfl_team FROM table_16729063_1 WHERE college = "Mississippi"
[ 2061, 1074, 468, 4538, 11103, 422, 13797, 30, 46506, 299, 2704, 62, 15097, 16034, 3084, 62, 21940, 1959, 3312, 18, 62, 16, 33411, 4152, 796, 366, 17140, 747, 12715, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1074, 468, 4538, 11103, 422, 13797, 30, 46506, 299, 2704, 62, 15097, 16034, 3084, 62, 21940, 1959, 3312, 18, 62, 16, 33411, 4152, 796, 366, 17140, 747, 12715, 1 ]
How many campuses are there in Los Angeles county?
SELECT COUNT(*) FROM campuses WHERE county = "Los Angeles"
[ 2437, 867, 23003, 389, 612, 287, 5401, 5652, 7968, 30, 46506, 327, 28270, 7, 28104, 16034, 23003, 33411, 7968, 796, 366, 28903, 5652, 1 ]
[ 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, 23003, 389, 612, 287, 5401, 5652, 7968, 30, 46506, 327, 28270, 7, 28104, 16034, 23003, 33411, 7968, 796, 366, 28903, 5652, 1 ]
Which player was defensive back after round 3?
SELECT player FROM table_name_87 WHERE position = "defensive back" AND round > 3
[ 13828, 2137, 373, 6110, 736, 706, 2835, 513, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 5774, 33411, 2292, 796, 366, 4299, 2021, 736, 1, 5357, 2835, 1875, 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 ]
[ 13828, 2137, 373, 6110, 736, 706, 2835, 513, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 5774, 33411, 2292, 796, 366, 4299, 2021, 736, 1, 5357, 2835, 1875, 513 ]
who scored higher , argo ader for the quickstep or lauri pedaja for the paso doble ?
SELECT "best dancer(s)" FROM table_204_711 WHERE "dance" IN ('quickstep', 'paso doble') ORDER BY "best score" DESC LIMIT 1
[ 8727, 7781, 2440, 837, 1822, 78, 512, 263, 329, 262, 2068, 9662, 393, 300, 35190, 7190, 27792, 329, 262, 38836, 78, 466, 903, 5633, 46506, 366, 13466, 38619, 7, 82, 16725, 16034, 3084, 62, 18638, 62, 22, 1157, 33411, 366, 67, 590, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7781, 2440, 837, 1822, 78, 512, 263, 329, 262, 2068, 9662, 393, 300, 35190, 7190, 27792, 329, 262, 38836, 78, 466, 903, 5633, 46506, 366, 13466, 38619, 7, 82, 16725, 16034, 3084, 62, 18638, 62, 22, 1157, 33411, 366, 67, 590, 1...
What's the number of poles in the season where the team had a Kalex motorcycle?
SELECT poles FROM table_20016339_1 WHERE motorcycle = "Kalex"
[ 2061, 338, 262, 1271, 286, 24971, 287, 262, 1622, 810, 262, 1074, 550, 257, 509, 1000, 87, 18757, 30, 46506, 24971, 16034, 3084, 62, 2167, 1433, 29626, 62, 16, 33411, 18757, 796, 366, 42, 1000, 87, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1271, 286, 24971, 287, 262, 1622, 810, 262, 1074, 550, 257, 509, 1000, 87, 18757, 30, 46506, 24971, 16034, 3084, 62, 2167, 1433, 29626, 62, 16, 33411, 18757, 796, 366, 42, 1000, 87, 1 ]
What was the result for the 2009 (82nd) awards?
SELECT result FROM table_16254861_1 WHERE year__ceremony_ = "2009 (82nd)"
[ 2061, 373, 262, 1255, 329, 262, 3717, 357, 6469, 358, 8, 13304, 30, 46506, 1255, 16034, 3084, 62, 1433, 1495, 2780, 5333, 62, 16, 33411, 614, 834, 344, 2787, 1647, 62, 796, 366, 10531, 357, 6469, 358, 16725 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 1255, 329, 262, 3717, 357, 6469, 358, 8, 13304, 30, 46506, 1255, 16034, 3084, 62, 1433, 1495, 2780, 5333, 62, 16, 33411, 614, 834, 344, 2787, 1647, 62, 796, 366, 10531, 357, 6469, 358, 16725 ]
Top SO users in South Carolina area.
SELECT Id AS "user_link", Reputation, Location FROM Users WHERE LOWER(Location) LIKE '%south carolina%' ORDER BY Reputation DESC
[ 9126, 12809, 2985, 287, 2520, 5913, 1989, 13, 46506, 5121, 7054, 366, 7220, 62, 8726, 1600, 1432, 7094, 11, 13397, 16034, 18987, 33411, 406, 36048, 7, 14749, 8, 34178, 705, 4, 35782, 1097, 47196, 4, 6, 38678, 11050, 1432, 7094, 22196, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12809, 2985, 287, 2520, 5913, 1989, 13, 46506, 5121, 7054, 366, 7220, 62, 8726, 1600, 1432, 7094, 11, 13397, 16034, 18987, 33411, 406, 36048, 7, 14749, 8, 34178, 705, 4, 35782, 1097, 47196, 4, 6, 38678, 11050, 1432, 7094, 22196, ...
What was attendance of the whole season when the average attendance for League Cup was 32,415?
SELECT "Season Total Att." FROM table_74619 WHERE "League Cup Average Att." = '32,415'
[ 2061, 373, 14858, 286, 262, 2187, 1622, 618, 262, 2811, 14858, 329, 4041, 5454, 373, 3933, 11, 35038, 30, 46506, 366, 18960, 7472, 3460, 526, 16034, 3084, 62, 22, 3510, 1129, 33411, 366, 24623, 5454, 13475, 3460, 526, 796, 705, 2624, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 14858, 286, 262, 2187, 1622, 618, 262, 2811, 14858, 329, 4041, 5454, 373, 3933, 11, 35038, 30, 46506, 366, 18960, 7472, 3460, 526, 16034, 3084, 62, 22, 3510, 1129, 33411, 366, 24623, 5454, 13475, 3460, 526, 796, 705, 2624, ...
CLEVELAND to MIAMI on wednesday arriving before 1600
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, date_day, days, flight WHERE ((date_day.day_number = 23 AND date_day.month_number = 4 AND date_day.year = 1991 AND days.day_name = date_day.day_name AND flight.arrival_time <...
[ 29931, 18697, 6981, 284, 15789, 43870, 319, 29445, 3462, 14820, 878, 26143, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 29931, 18697, 6981, 284, 15789, 43870, 319, 29445, 3462, 14820, 878, 26143, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, ...