instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
Who is the actor playing ' Alan Turing ' in ' The Imitation Game ' ?
SELECT actor.name FROM actor, cast, movie WHERE cast.aid = actor.aid AND cast.role = 'Alan Turing' AND movie.mid = cast.msid AND movie.title = 'The Imitation Game'
[ 8241, 318, 262, 8674, 2712, 705, 12246, 39141, 705, 287, 705, 383, 1846, 3780, 3776, 705, 5633, 46506, 8674, 13, 3672, 16034, 8674, 11, 3350, 11, 3807, 33411, 3350, 13, 1698, 796, 8674, 13, 1698, 5357, 3350, 13, 18090, 796, 705, 36235...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8674, 2712, 705, 12246, 39141, 705, 287, 705, 383, 1846, 3780, 3776, 705, 5633, 46506, 8674, 13, 3672, 16034, 8674, 11, 3350, 11, 3807, 33411, 3350, 13, 1698, 796, 8674, 13, 1698, 5357, 3350, 13, 18090, 796, 705, 36235...
what country lost the most ships to u-502 ?
SELECT "nationality" FROM table_203_268 GROUP BY "nationality" ORDER BY COUNT("name") DESC LIMIT 1
[ 10919, 1499, 2626, 262, 749, 7937, 284, 334, 12, 35126, 5633, 46506, 366, 14648, 414, 1, 16034, 3084, 62, 22416, 62, 25022, 44441, 11050, 366, 14648, 414, 1, 38678, 11050, 327, 28270, 7203, 3672, 4943, 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, 1, 1 ]
[ 10919, 1499, 2626, 262, 749, 7937, 284, 334, 12, 35126, 5633, 46506, 366, 14648, 414, 1, 16034, 3084, 62, 22416, 62, 25022, 44441, 11050, 366, 14648, 414, 1, 38678, 11050, 327, 28270, 7203, 3672, 4943, 22196, 34, 27564, 2043, 352 ]
What is the date of vacancy when the date of appointment is 28 november 2007 and replaced by is alex mcleish?
SELECT date_of_vacancy FROM table_10592536_8 WHERE date_of_appointment = "28 November 2007" AND replaced_by = "Alex McLeish"
[ 2061, 318, 262, 3128, 286, 39836, 618, 262, 3128, 286, 12557, 318, 2579, 645, 303, 1916, 4343, 290, 6928, 416, 318, 257, 2588, 285, 2375, 680, 30, 46506, 3128, 62, 1659, 62, 85, 330, 3883, 16034, 3084, 62, 940, 3270, 1495, 2623, 62,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 318, 262, 3128, 286, 39836, 618, 262, 3128, 286, 12557, 318, 2579, 645, 303, 1916, 4343, 290, 6928, 416, 318, 257, 2588, 285, 2375, 680, 30, 46506, 3128, 62, 1659, 62, 85, 330, 3883, 16034, 3084, 62, 940, 3270, 1495, 2623, 62,...
Which school is in Riverside, CA?
SELECT "School" FROM table_77982 WHERE "Hometown" = 'riverside, ca'
[ 13828, 1524, 318, 287, 35597, 11, 7257, 30, 46506, 366, 26130, 1, 16034, 3084, 62, 3324, 4089, 17, 33411, 366, 39, 19191, 1, 796, 705, 380, 690, 485, 11, 1275, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 1524, 318, 287, 35597, 11, 7257, 30, 46506, 366, 26130, 1, 16034, 3084, 62, 3324, 4089, 17, 33411, 366, 39, 19191, 1, 796, 705, 380, 690, 485, 11, 1275, 6 ]
Find the name of each user and number of tweets tweeted by each of them.
SELECT T1.name, COUNT(*) FROM user_profiles AS T1 JOIN tweets AS T2 ON T1.uid = T2.uid GROUP BY T2.uid
[ 16742, 262, 1438, 286, 1123, 2836, 290, 1271, 286, 12665, 10830, 416, 1123, 286, 606, 13, 46506, 309, 16, 13, 3672, 11, 327, 28270, 7, 28104, 16034, 2836, 62, 5577, 2915, 7054, 309, 16, 32357, 1268, 12665, 7054, 309, 17, 6177, 309, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1438, 286, 1123, 2836, 290, 1271, 286, 12665, 10830, 416, 1123, 286, 606, 13, 46506, 309, 16, 13, 3672, 11, 327, 28270, 7, 28104, 16034, 2836, 62, 5577, 2915, 7054, 309, 16, 32357, 1268, 12665, 7054, 309, 17, 6177, 309, ...
What is the position of the player who's hometown is North Babylon, NY?
SELECT "Position" FROM table_23926 WHERE "Home Town" = 'North Babylon, NY'
[ 2061, 318, 262, 2292, 286, 262, 2137, 508, 338, 20994, 318, 2258, 28028, 11, 6645, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 23516, 2075, 33411, 366, 16060, 8329, 1, 796, 705, 14157, 28028, 11, 6645, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2292, 286, 262, 2137, 508, 338, 20994, 318, 2258, 28028, 11, 6645, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 23516, 2075, 33411, 366, 16060, 8329, 1, 796, 705, 14157, 28028, 11, 6645, 6 ]
Name the most place for goals scored more than 28 and played less than 18
SELECT MAX(place) FROM table_name_23 WHERE goals_scored > 28 AND played < 18
[ 5376, 262, 749, 1295, 329, 4661, 7781, 517, 621, 2579, 290, 2826, 1342, 621, 1248, 46506, 25882, 7, 5372, 8, 16034, 3084, 62, 3672, 62, 1954, 33411, 4661, 62, 1416, 1850, 1875, 2579, 5357, 2826, 1279, 1248 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 749, 1295, 329, 4661, 7781, 517, 621, 2579, 290, 2826, 1342, 621, 1248, 46506, 25882, 7, 5372, 8, 16034, 3084, 62, 3672, 62, 1954, 33411, 4661, 62, 1416, 1850, 1875, 2579, 5357, 2826, 1279, 1248 ]
Name the year 2007 for 668 2008-q1
SELECT "year 2007" FROM table_26901 WHERE "2008 - Q1" = '668'
[ 5376, 262, 614, 4343, 329, 718, 3104, 3648, 12, 80, 16, 46506, 366, 1941, 4343, 1, 16034, 3084, 62, 26276, 486, 33411, 366, 11528, 532, 1195, 16, 1, 796, 705, 35809, 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 ]
[ 5376, 262, 614, 4343, 329, 718, 3104, 3648, 12, 80, 16, 46506, 366, 1941, 4343, 1, 16034, 3084, 62, 26276, 486, 33411, 366, 11528, 532, 1195, 16, 1, 796, 705, 35809, 6 ]
What is the least total number of medals when the bronze medals is 1, and Czech Republic (CZE) is the nation?
SELECT MIN(total) FROM table_name_46 WHERE bronze = 1 AND nation = "czech republic (cze)"
[ 2061, 318, 262, 1551, 2472, 1271, 286, 28057, 618, 262, 22101, 28057, 318, 352, 11, 290, 16639, 2066, 357, 34, 21211, 8, 318, 262, 3277, 30, 46506, 20625, 7, 23350, 8, 16034, 3084, 62, 3672, 62, 3510, 33411, 22101, 796, 352, 5357, 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 ]
[ 2061, 318, 262, 1551, 2472, 1271, 286, 28057, 618, 262, 22101, 28057, 318, 352, 11, 290, 16639, 2066, 357, 34, 21211, 8, 318, 262, 3277, 30, 46506, 20625, 7, 23350, 8, 16034, 3084, 62, 3672, 62, 3510, 33411, 22101, 796, 352, 5357, 3...
How many no votes from Alaska in 1998?
SELECT no_vote FROM table_name_31 WHERE date = "1998" AND state = "alaska"
[ 2437, 867, 645, 5690, 422, 12926, 287, 7795, 30, 46506, 645, 62, 27257, 16034, 3084, 62, 3672, 62, 3132, 33411, 3128, 796, 366, 21113, 1, 5357, 1181, 796, 366, 282, 8480, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 645, 5690, 422, 12926, 287, 7795, 30, 46506, 645, 62, 27257, 16034, 3084, 62, 3672, 62, 3132, 33411, 3128, 796, 366, 21113, 1, 5357, 1181, 796, 366, 282, 8480, 1 ]
Name the score for detroit home and record of 33-18-9
SELECT "Score" FROM table_38805 WHERE "Home" = 'detroit' AND "Record" = '33-18-9'
[ 5376, 262, 4776, 329, 1062, 7775, 1363, 290, 1700, 286, 4747, 12, 1507, 12, 24, 46506, 366, 26595, 1, 16034, 3084, 62, 2548, 28256, 33411, 366, 16060, 1, 796, 705, 15255, 7775, 6, 5357, 366, 23739, 1, 796, 705, 2091, 12, 1507, 12, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 4776, 329, 1062, 7775, 1363, 290, 1700, 286, 4747, 12, 1507, 12, 24, 46506, 366, 26595, 1, 16034, 3084, 62, 2548, 28256, 33411, 366, 16060, 1, 796, 705, 15255, 7775, 6, 5357, 366, 23739, 1, 796, 705, 2091, 12, 1507, 12, ...
what team scored 5 5 1 1?
SELECT "Home" FROM table_34446 WHERE "Record" = '5–5–1–1'
[ 10919, 1074, 7781, 642, 642, 352, 352, 30, 46506, 366, 16060, 1, 16034, 3084, 62, 33535, 3510, 33411, 366, 23739, 1, 796, 705, 20, 1906, 20, 1906, 16, 1906, 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 ]
[ 10919, 1074, 7781, 642, 642, 352, 352, 30, 46506, 366, 16060, 1, 16034, 3084, 62, 33535, 3510, 33411, 366, 23739, 1, 796, 705, 20, 1906, 20, 1906, 16, 1906, 16, 6 ]
What is the title of the episode no. 16 by season?
SELECT title FROM table_27250813_1 WHERE no_in_season = 16
[ 2061, 318, 262, 3670, 286, 262, 4471, 645, 13, 1467, 416, 1622, 30, 46506, 3670, 16034, 3084, 62, 1983, 9031, 23, 1485, 62, 16, 33411, 645, 62, 259, 62, 6230, 796, 1467 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 3670, 286, 262, 4471, 645, 13, 1467, 416, 1622, 30, 46506, 3670, 16034, 3084, 62, 1983, 9031, 23, 1485, 62, 16, 33411, 645, 62, 259, 62, 6230, 796, 1467 ]
when is death when death place is murshidabad and name is mir mehndi?
SELECT "Death" FROM table_50853 WHERE "Death Place" = 'murshidabad' AND "Name" = 'mir mehndi'
[ 12518, 318, 1918, 618, 1918, 1295, 318, 4636, 1477, 312, 17325, 290, 1438, 318, 5720, 502, 71, 358, 72, 30, 46506, 366, 20148, 1, 16034, 3084, 62, 33042, 4310, 33411, 366, 20148, 8474, 1, 796, 705, 28582, 1477, 312, 17325, 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 ]
[ 12518, 318, 1918, 618, 1918, 1295, 318, 4636, 1477, 312, 17325, 290, 1438, 318, 5720, 502, 71, 358, 72, 30, 46506, 366, 20148, 1, 16034, 3084, 62, 33042, 4310, 33411, 366, 20148, 8474, 1, 796, 705, 28582, 1477, 312, 17325, 6, 5357, ...
What's the built date when the CR number is more than 940 and the LMS number is 14760?
SELECT "Built" FROM table_65162 WHERE "CR no." > '940' AND "LMS no." = '14760'
[ 2061, 338, 262, 3170, 3128, 618, 262, 8740, 1271, 318, 517, 621, 860, 1821, 290, 262, 406, 5653, 1271, 318, 22909, 1899, 30, 46506, 366, 39582, 1, 16034, 3084, 62, 2996, 25061, 33411, 366, 9419, 645, 526, 1875, 705, 46899, 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, 3170, 3128, 618, 262, 8740, 1271, 318, 517, 621, 860, 1821, 290, 262, 406, 5653, 1271, 318, 22909, 1899, 30, 46506, 366, 39582, 1, 16034, 3084, 62, 2996, 25061, 33411, 366, 9419, 645, 526, 1875, 705, 46899, 6, 5357, ...
calculate the number of times that patient 8016 has had pe 24 fs po intake during a month before.
SELECT COUNT(*) FROM inputevents_cv WHERE inputevents_cv.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 8016)) AND inputevents_cv.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'pe 24 fs po' ...
[ 9948, 3129, 378, 262, 1271, 286, 1661, 326, 5827, 807, 27037, 468, 550, 613, 1987, 43458, 745, 10337, 1141, 257, 1227, 878, 13, 46506, 327, 28270, 7, 28104, 16034, 287, 79, 1133, 85, 658, 62, 33967, 33411, 287, 79, 1133, 85, 658, 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...
[ 9948, 3129, 378, 262, 1271, 286, 1661, 326, 5827, 807, 27037, 468, 550, 613, 1987, 43458, 745, 10337, 1141, 257, 1227, 878, 13, 46506, 327, 28270, 7, 28104, 16034, 287, 79, 1133, 85, 658, 62, 33967, 33411, 287, 79, 1133, 85, 658, 62...
Draw a bar chart about the distribution of ACC_Road and School_ID , and group by attribute All_Home, could you sort bar from low to high order please?
SELECT ACC_Road, School_ID FROM basketball_match GROUP BY All_Home, ACC_Road ORDER BY ACC_Road
[ 25302, 257, 2318, 8262, 546, 262, 6082, 286, 15859, 62, 29197, 290, 3961, 62, 2389, 837, 290, 1448, 416, 11688, 1439, 62, 16060, 11, 714, 345, 3297, 2318, 422, 1877, 284, 1029, 1502, 3387, 30, 46506, 15859, 62, 29197, 11, 3961, 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 ]
[ 25302, 257, 2318, 8262, 546, 262, 6082, 286, 15859, 62, 29197, 290, 3961, 62, 2389, 837, 290, 1448, 416, 11688, 1439, 62, 16060, 11, 714, 345, 3297, 2318, 422, 1877, 284, 1029, 1502, 3387, 30, 46506, 15859, 62, 29197, 11, 3961, 62, ...
what is the next whitworth size -lrb- in -rrb- below 1/8 ?
SELECT "whitworth size (in)" FROM table_204_828 WHERE id = (SELECT id FROM table_204_828 WHERE "whitworth size (in)" = '1/8') + 1
[ 10919, 318, 262, 1306, 20542, 9268, 2546, 532, 14050, 65, 12, 287, 532, 21062, 65, 12, 2174, 352, 14, 23, 5633, 46506, 366, 1929, 270, 9268, 2546, 357, 259, 16725, 16034, 3084, 62, 18638, 62, 23, 2078, 33411, 4686, 796, 357, 46506, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1306, 20542, 9268, 2546, 532, 14050, 65, 12, 287, 532, 21062, 65, 12, 2174, 352, 14, 23, 5633, 46506, 366, 1929, 270, 9268, 2546, 357, 259, 16725, 16034, 3084, 62, 18638, 62, 23, 2078, 33411, 4686, 796, 357, 46506, ...
What did the home team score when the away team scored 12.11 (83)?
SELECT "Home team score" FROM table_77841 WHERE "Away team score" = '12.11 (83)'
[ 2061, 750, 262, 1363, 1074, 4776, 618, 262, 1497, 1074, 7781, 1105, 13, 1157, 357, 5999, 19427, 46506, 366, 16060, 1074, 4776, 1, 16034, 3084, 62, 39761, 3901, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 1065, 13, 1157, 357, 5999, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 750, 262, 1363, 1074, 4776, 618, 262, 1497, 1074, 7781, 1105, 13, 1157, 357, 5999, 19427, 46506, 366, 16060, 1074, 4776, 1, 16034, 3084, 62, 39761, 3901, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 1065, 13, 1157, 357, 5999, ...
what is the team nickname when joined tschl is 2010 and home arena is kettering rec center and the team website is dayton hockey?
SELECT team_nickname FROM table_name_68 WHERE joined_tschl = 2010 AND home_arena = "kettering rec center" AND team_website = "dayton hockey"
[ 10919, 318, 262, 1074, 21814, 618, 5399, 256, 20601, 75, 318, 3050, 290, 1363, 13478, 318, 22354, 20212, 664, 3641, 290, 262, 1074, 3052, 318, 1110, 1122, 12217, 30, 46506, 1074, 62, 17172, 3672, 16034, 3084, 62, 3672, 62, 3104, 33411, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 1074, 21814, 618, 5399, 256, 20601, 75, 318, 3050, 290, 1363, 13478, 318, 22354, 20212, 664, 3641, 290, 262, 1074, 3052, 318, 1110, 1122, 12217, 30, 46506, 1074, 62, 17172, 3672, 16034, 3084, 62, 3672, 62, 3104, 33411, ...
In the 2008/2009 season one team had 39 tries against, how many losing bonuses did they have that year?
SELECT "Losing bonus" FROM table_18095 WHERE "Tries against" = '39'
[ 818, 262, 3648, 14, 10531, 1622, 530, 1074, 550, 5014, 8404, 1028, 11, 703, 867, 6078, 17568, 750, 484, 423, 326, 614, 30, 46506, 366, 43, 2752, 7202, 1, 16034, 3084, 62, 1507, 2931, 20, 33411, 366, 51, 1678, 1028, 1, 796, 705, 26...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 262, 3648, 14, 10531, 1622, 530, 1074, 550, 5014, 8404, 1028, 11, 703, 867, 6078, 17568, 750, 484, 423, 326, 614, 30, 46506, 366, 43, 2752, 7202, 1, 16034, 3084, 62, 1507, 2931, 20, 33411, 366, 51, 1678, 1028, 1, 796, 705, 26...
When did TDB depart?
SELECT MAX(year) FROM table_name_16 WHERE departed_from = "tdb"
[ 2215, 750, 309, 11012, 6313, 30, 46506, 25882, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 1433, 33411, 24057, 62, 6738, 796, 366, 8671, 65, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 750, 309, 11012, 6313, 30, 46506, 25882, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 1433, 33411, 24057, 62, 6738, 796, 366, 8671, 65, 1 ]
What type of school is Stratford University?
SELECT type FROM table_2076608_1 WHERE school = "Stratford University"
[ 2061, 2099, 286, 1524, 318, 29186, 3841, 2059, 30, 46506, 2099, 16034, 3084, 62, 1238, 4304, 28688, 62, 16, 33411, 1524, 796, 366, 1273, 10366, 3841, 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 ]
[ 2061, 2099, 286, 1524, 318, 29186, 3841, 2059, 30, 46506, 2099, 16034, 3084, 62, 1238, 4304, 28688, 62, 16, 33411, 1524, 796, 366, 1273, 10366, 3841, 2059, 1 ]
what number of patients who are male had single internal mammary-coronary artery bypass?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.gender = "M" AND procedures.long_title = "Single internal mammary-coronary artery bypass"
[ 10919, 1271, 286, 3871, 508, 389, 4257, 550, 2060, 5387, 13418, 560, 12, 10215, 261, 560, 37646, 17286, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 1271, 286, 3871, 508, 389, 4257, 550, 2060, 5387, 13418, 560, 12, 10215, 261, 560, 37646, 17286, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, ...
what was the name of the organism found in the last blood, venipuncture microbiology test of patient 031-3355 this month.
SELECT microlab.organism FROM microlab WHERE microlab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '031-3355')) AND microlab.culturesite = 'blood, venipuncture' AND DATETIME...
[ 10919, 373, 262, 1438, 286, 262, 26433, 1043, 287, 262, 938, 2910, 11, 8710, 541, 39187, 24559, 1435, 1332, 286, 5827, 657, 3132, 12, 2091, 2816, 428, 1227, 13, 46506, 4580, 23912, 13, 9971, 1042, 16034, 4580, 23912, 33411, 4580, 23912,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1438, 286, 262, 26433, 1043, 287, 262, 938, 2910, 11, 8710, 541, 39187, 24559, 1435, 1332, 286, 5827, 657, 3132, 12, 2091, 2816, 428, 1227, 13, 46506, 4580, 23912, 13, 9971, 1042, 16034, 4580, 23912, 33411, 4580, 23912,...
what are patient 71689's new prescriptions today compared to the prescriptions yesterday?
SELECT prescriptions.drug FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 71689) AND DATETIME(prescriptions.startdate, 'start of day') = DATETIME(CURRENT_TIME(), 'start of day', '-0 day') EXCEPT SELECT prescriptions.drug FROM prescriptions WHERE...
[ 10919, 389, 5827, 767, 1433, 4531, 338, 649, 34092, 1909, 3688, 284, 262, 34092, 7415, 30, 46506, 34092, 13, 30349, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 389, 5827, 767, 1433, 4531, 338, 649, 34092, 1909, 3688, 284, 262, 34092, 7415, 30, 46506, 34092, 13, 30349, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411...
body mass index >= 18 and <= 32 kg / m2 at screening
SELECT * FROM table_train_107 WHERE body_mass_index_bmi >= 18 AND body_mass_index_bmi <= 32
[ 2618, 2347, 6376, 18189, 1248, 290, 19841, 3933, 14211, 1220, 285, 17, 379, 14135, 46506, 1635, 16034, 3084, 62, 27432, 62, 15982, 33411, 1767, 62, 22208, 62, 9630, 62, 65, 11632, 18189, 1248, 5357, 1767, 62, 22208, 62, 9630, 62, 65, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2618, 2347, 6376, 18189, 1248, 290, 19841, 3933, 14211, 1220, 285, 17, 379, 14135, 46506, 1635, 16034, 3084, 62, 27432, 62, 15982, 33411, 1767, 62, 22208, 62, 9630, 62, 65, 11632, 18189, 1248, 5357, 1767, 62, 22208, 62, 9630, 62, 65, ...
For graduating as CS major what ROMLANG classes do I need to take ?
SELECT DISTINCT course.department, course.name, course.number FROM program_course INNER JOIN course ON program_course.course_id = course.course_id WHERE course.department = 'ROMLANG'
[ 1890, 30024, 355, 9429, 1688, 644, 21224, 43, 15567, 6097, 466, 314, 761, 284, 1011, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1430, 62, 17319, 3268, 21479, 32357, 1268, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 30024, 355, 9429, 1688, 644, 21224, 43, 15567, 6097, 466, 314, 761, 284, 1011, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1430, 62, 17319, 3268, 21479, 32357, 1268, ...
What is the mean game number when the points scored were more than 99?
SELECT AVG("Game") FROM table_38851 WHERE "Points" > '99'
[ 2061, 318, 262, 1612, 983, 1271, 618, 262, 2173, 7781, 547, 517, 621, 7388, 30, 46506, 35224, 7203, 8777, 4943, 16034, 3084, 62, 30460, 4349, 33411, 366, 40710, 1, 1875, 705, 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, 1, 1, 1 ]
[ 2061, 318, 262, 1612, 983, 1271, 618, 262, 2173, 7781, 547, 517, 621, 7388, 30, 46506, 35224, 7203, 8777, 4943, 16034, 3084, 62, 30460, 4349, 33411, 366, 40710, 1, 1875, 705, 2079, 6 ]
give me the number of patients whose discharge location is rehab/distinct part hosp and admission year is less than 2115?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.discharge_location = "REHAB/DISTINCT PART HOSP" AND demographic.admityear < "2115"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 17655, 4067, 318, 14321, 14, 17080, 4612, 636, 10496, 290, 13938, 614, 318, 1342, 621, 362, 15363, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 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...
[ 26535, 502, 262, 1271, 286, 3871, 3025, 17655, 4067, 318, 14321, 14, 17080, 4612, 636, 10496, 290, 13938, 614, 318, 1342, 621, 362, 15363, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 334...
What are the titles of all movies that have between 3 and 5 stars, and count them by a bar chart, and could you display by the y axis in descending?
SELECT title, COUNT(title) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID WHERE T1.stars BETWEEN 3 AND 5 GROUP BY title ORDER BY COUNT(title) DESC
[ 2061, 389, 262, 8714, 286, 477, 6918, 326, 423, 1022, 513, 290, 642, 5788, 11, 290, 954, 606, 416, 257, 2318, 8262, 11, 290, 714, 345, 3359, 416, 262, 331, 16488, 287, 31491, 30, 46506, 3670, 11, 327, 28270, 7, 7839, 8, 16034, 120...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8714, 286, 477, 6918, 326, 423, 1022, 513, 290, 642, 5788, 11, 290, 954, 606, 416, 257, 2318, 8262, 11, 290, 714, 345, 3359, 416, 262, 331, 16488, 287, 31491, 30, 46506, 3670, 11, 327, 28270, 7, 7839, 8, 16034, 120...
For cities with a census of 296000 in 1940, what was their census in 1920?
SELECT "1920 census" FROM table_23346 WHERE "1940 census" = '296000'
[ 1890, 4736, 351, 257, 21649, 286, 41922, 830, 287, 16236, 11, 644, 373, 511, 21649, 287, 14062, 30, 46506, 366, 40454, 21649, 1, 16034, 3084, 62, 1954, 30557, 33411, 366, 1129, 1821, 21649, 1, 796, 705, 27137, 830, 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 ]
[ 1890, 4736, 351, 257, 21649, 286, 41922, 830, 287, 16236, 11, 644, 373, 511, 21649, 287, 14062, 30, 46506, 366, 40454, 21649, 1, 16034, 3084, 62, 1954, 30557, 33411, 366, 1129, 1821, 21649, 1, 796, 705, 27137, 830, 6 ]
What date had a catalog of kicp-1321?
SELECT date FROM table_name_61 WHERE catalog = "kicp-1321"
[ 2061, 3128, 550, 257, 18388, 286, 479, 291, 79, 12, 1485, 2481, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 5333, 33411, 18388, 796, 366, 74, 291, 79, 12, 1485, 2481, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 3128, 550, 257, 18388, 286, 479, 291, 79, 12, 1485, 2481, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 5333, 33411, 18388, 796, 366, 74, 291, 79, 12, 1485, 2481, 1 ]
What is Melbourne's home venue?
SELECT "Venue" FROM table_33791 WHERE "Home team" = 'melbourne'
[ 2061, 318, 14819, 338, 1363, 14359, 30, 46506, 366, 37522, 518, 1, 16034, 3084, 62, 2091, 3720, 16, 33411, 366, 16060, 1074, 1, 796, 705, 17694, 12544, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 14819, 338, 1363, 14359, 30, 46506, 366, 37522, 518, 1, 16034, 3084, 62, 2091, 3720, 16, 33411, 366, 16060, 1074, 1, 796, 705, 17694, 12544, 6 ]
What percentage of the vote did McCain win in Waynesboro (city)?
SELECT mccain_percentage FROM table_20524090_1 WHERE county = "Waynesboro (city)"
[ 2061, 5873, 286, 262, 3015, 750, 14264, 1592, 287, 6378, 2516, 21513, 357, 19205, 19427, 46506, 285, 535, 391, 62, 25067, 496, 16034, 3084, 62, 21261, 1731, 42534, 62, 16, 33411, 7968, 796, 366, 25309, 2516, 21513, 357, 19205, 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, 1, 1 ]
[ 2061, 5873, 286, 262, 3015, 750, 14264, 1592, 287, 6378, 2516, 21513, 357, 19205, 19427, 46506, 285, 535, 391, 62, 25067, 496, 16034, 3084, 62, 21261, 1731, 42534, 62, 16, 33411, 7968, 796, 366, 25309, 2516, 21513, 357, 19205, 16725 ]
What is the US AC of the label and cat# reprise 19466?
SELECT "US AC" FROM table_11247 WHERE "Label and cat#" = 'reprise 19466'
[ 2061, 318, 262, 1294, 7125, 286, 262, 6167, 290, 3797, 2, 302, 7919, 30483, 2791, 30, 46506, 366, 2937, 7125, 1, 16034, 3084, 62, 14686, 2857, 33411, 366, 33986, 290, 3797, 2, 1, 796, 705, 260, 7919, 30483, 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, 1, 1, 1 ]
[ 2061, 318, 262, 1294, 7125, 286, 262, 6167, 290, 3797, 2, 302, 7919, 30483, 2791, 30, 46506, 366, 2937, 7125, 1, 16034, 3084, 62, 14686, 2857, 33411, 366, 33986, 290, 3797, 2, 1, 796, 705, 260, 7919, 30483, 2791, 6 ]
What was the score of the game that was played on a grass surface?
SELECT "Score" FROM table_6978 WHERE "Surface" = 'grass'
[ 2061, 373, 262, 4776, 286, 262, 983, 326, 373, 2826, 319, 257, 8701, 4417, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 3388, 3695, 33411, 366, 14214, 2550, 1, 796, 705, 29815, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 4776, 286, 262, 983, 326, 373, 2826, 319, 257, 8701, 4417, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 3388, 3695, 33411, 366, 14214, 2550, 1, 796, 705, 29815, 6 ]
What is the opening date of the musical at the adelphi theatre?
SELECT opening_date FROM table_name_6 WHERE classification = "musical" AND theatre = "adelphi theatre"
[ 2061, 318, 262, 4756, 3128, 286, 262, 10530, 379, 262, 512, 417, 34846, 21421, 30, 46506, 4756, 62, 4475, 16034, 3084, 62, 3672, 62, 21, 33411, 17923, 796, 366, 14664, 605, 1, 5357, 21421, 796, 366, 6959, 34846, 21421, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4756, 3128, 286, 262, 10530, 379, 262, 512, 417, 34846, 21421, 30, 46506, 4756, 62, 4475, 16034, 3084, 62, 3672, 62, 21, 33411, 17923, 796, 366, 14664, 605, 1, 5357, 21421, 796, 366, 6959, 34846, 21421, 1 ]
What are the 2nd round results for the match with Girondins de Bordeaux (d1) as Team 2?
SELECT "2nd round" FROM table_60063 WHERE "Team 2" = 'girondins de bordeaux (d1)'
[ 2061, 389, 262, 362, 358, 2835, 2482, 329, 262, 2872, 351, 23837, 623, 1040, 390, 347, 17531, 14644, 357, 67, 16, 8, 355, 4816, 362, 30, 46506, 366, 17, 358, 2835, 1, 16034, 3084, 62, 8054, 5066, 33411, 366, 15592, 362, 1, 796, 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 ]
[ 2061, 389, 262, 362, 358, 2835, 2482, 329, 262, 2872, 351, 23837, 623, 1040, 390, 347, 17531, 14644, 357, 67, 16, 8, 355, 4816, 362, 30, 46506, 366, 17, 358, 2835, 1, 16034, 3084, 62, 8054, 5066, 33411, 366, 15592, 362, 1, 796, 70...
What are the codes of card types that have 5 or more cards?
SELECT card_type_code FROM customers_cards GROUP BY card_type_code HAVING COUNT(*) >= 5
[ 2061, 389, 262, 12416, 286, 2657, 3858, 326, 423, 642, 393, 517, 4116, 30, 46506, 2657, 62, 4906, 62, 8189, 16034, 4297, 62, 27761, 44441, 11050, 2657, 62, 4906, 62, 8189, 367, 10116, 2751, 327, 28270, 7, 28104, 18189, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 262, 12416, 286, 2657, 3858, 326, 423, 642, 393, 517, 4116, 30, 46506, 2657, 62, 4906, 62, 8189, 16034, 4297, 62, 27761, 44441, 11050, 2657, 62, 4906, 62, 8189, 367, 10116, 2751, 327, 28270, 7, 28104, 18189, 642 ]
What was the total number of votes in the 2005 elections?
SELECT MIN(total_votes) FROM table_19698421_1 WHERE year = "2005"
[ 2061, 373, 262, 2472, 1271, 286, 5690, 287, 262, 5075, 7024, 30, 46506, 20625, 7, 23350, 62, 29307, 8, 16034, 3084, 62, 38391, 5705, 2481, 62, 16, 33411, 614, 796, 366, 14315, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2472, 1271, 286, 5690, 287, 262, 5075, 7024, 30, 46506, 20625, 7, 23350, 62, 29307, 8, 16034, 3084, 62, 38391, 5705, 2481, 62, 16, 33411, 614, 796, 366, 14315, 1 ]
For those records from the products and each product's manufacturer, visualize the relationship between code and price , and group by attribute founder.
SELECT T1.Code, T1.Price FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 38350, 262, 2776, 1022, 2438, 290, 2756, 837, 290, 1448, 416, 11688, 9119, 13, 46506, 309, 16, 13, 10669, 11, 309, 16, 13, 18124, 16034, 18675, 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 ]
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 38350, 262, 2776, 1022, 2438, 290, 2756, 837, 290, 1448, 416, 11688, 9119, 13, 46506, 309, 16, 13, 10669, 11, 309, 16, 13, 18124, 16034, 18675, 7054, 309, 16, 32357, ...
What's the smallest amount of laps that suzuki ran with a grid value of 8?
SELECT MIN("Laps") FROM table_49539 WHERE "Manufacturer" = 'suzuki' AND "Grid" = '8'
[ 2061, 338, 262, 18197, 2033, 286, 24590, 326, 424, 89, 11308, 4966, 351, 257, 10706, 1988, 286, 807, 30, 46506, 20625, 7203, 43, 1686, 4943, 16034, 3084, 62, 33781, 2670, 33411, 366, 44445, 15051, 1, 796, 705, 2385, 89, 11308, 6, 5357...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 338, 262, 18197, 2033, 286, 24590, 326, 424, 89, 11308, 4966, 351, 257, 10706, 1988, 286, 807, 30, 46506, 20625, 7203, 43, 1686, 4943, 16034, 3084, 62, 33781, 2670, 33411, 366, 44445, 15051, 1, 796, 705, 2385, 89, 11308, 6, 5357...
For those records from the products and each product's manufacturer, give me the comparison about revenue over the name , and group by attribute name, I want to sort from high to low by the Y-axis.
SELECT T1.Name, T2.Revenue FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T1.Name, T1.Name ORDER BY T2.Revenue DESC
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 1577, 502, 262, 7208, 546, 6426, 625, 262, 1438, 837, 290, 1448, 416, 11688, 1438, 11, 314, 765, 284, 3297, 422, 1029, 284, 1877, 416, 262, 575, 12, 22704, 13, 46506,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 1577, 502, 262, 7208, 546, 6426, 625, 262, 1438, 837, 290, 1448, 416, 11688, 1438, 11, 314, 765, 284, 3297, 422, 1029, 284, 1877, 416, 262, 575, 12, 22704, 13, 46506,...
Can you tell me the sum of FA Cup Goals that has the League Cup Goals larger than 0?
SELECT SUM(fa_cup_goals) FROM table_name_57 WHERE league_cup_goals > 0
[ 6090, 345, 1560, 502, 262, 2160, 286, 9677, 5454, 28510, 326, 468, 262, 4041, 5454, 28510, 4025, 621, 657, 30, 46506, 35683, 7, 13331, 62, 25244, 62, 2188, 874, 8, 16034, 3084, 62, 3672, 62, 3553, 33411, 4652, 62, 25244, 62, 2188, 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 ]
[ 6090, 345, 1560, 502, 262, 2160, 286, 9677, 5454, 28510, 326, 468, 262, 4041, 5454, 28510, 4025, 621, 657, 30, 46506, 35683, 7, 13331, 62, 25244, 62, 2188, 874, 8, 16034, 3084, 62, 3672, 62, 3553, 33411, 4652, 62, 25244, 62, 2188, 8...
What team used the toyota rvx-07 2.4 v8 engine
SELECT "Entrant" FROM table_14477 WHERE "Engine" = 'toyota rvx-07 2.4 v8'
[ 2061, 1074, 973, 262, 13373, 4265, 374, 85, 87, 12, 2998, 362, 13, 19, 410, 23, 3113, 46506, 366, 14539, 5250, 1, 16034, 3084, 62, 1415, 32883, 33411, 366, 13798, 1, 796, 705, 83, 726, 4265, 374, 85, 87, 12, 2998, 362, 13, 19, 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 ]
[ 2061, 1074, 973, 262, 13373, 4265, 374, 85, 87, 12, 2998, 362, 13, 19, 410, 23, 3113, 46506, 366, 14539, 5250, 1, 16034, 3084, 62, 1415, 32883, 33411, 366, 13798, 1, 796, 705, 83, 726, 4265, 374, 85, 87, 12, 2998, 362, 13, 19, 4...
please list the TUESDAY flights from ATLANTA to ST. LOUIS
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, days, flight WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'ST. LOUIS' AND days.day_name = 'TUESDAY' AND flight.flight_days = days.days_code AN...
[ 29688, 1351, 262, 309, 35409, 26442, 13956, 422, 5161, 25697, 5603, 284, 3563, 13, 406, 2606, 1797, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 29688, 1351, 262, 309, 35409, 26442, 13956, 422, 5161, 25697, 5603, 284, 3563, 13, 406, 2606, 1797, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, ...
calculate the number of patients tested for clinical chemistry who had infection with microorganisms resistant to penicillins
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.long_title = "Infection with microorganisms resistant to penicillins" AND lab."CATEGORY" = "Chemistry"
[ 9948, 3129, 378, 262, 1271, 286, 3871, 6789, 329, 8668, 16585, 508, 550, 10280, 351, 4580, 45165, 18290, 284, 3112, 291, 359, 1040, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 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...
[ 9948, 3129, 378, 262, 1271, 286, 3871, 6789, 329, 8668, 16585, 508, 550, 10280, 351, 4580, 45165, 18290, 284, 3112, 291, 359, 1040, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 3...
Monthly growth of given tag.
SELECT TIME_TO_STR(Posts.CreationDate, '%Y'), TIME_TO_STR(Posts.CreationDate, '%m'), COUNT(Tags.TagName) FROM Posts INNER JOIN PostTags ON PostTags.PostId = Posts.Id INNER JOIN Tags ON Tags.Id = PostTags.TagId WHERE Tags.TagName = @tag GROUP BY TIME_TO_STR(Posts.CreationDate, '%m'), TIME_TO_STR(Posts.CreationDate, '%Y'...
[ 31948, 306, 3349, 286, 1813, 7621, 13, 46506, 20460, 62, 10468, 62, 18601, 7, 21496, 13, 12443, 341, 10430, 11, 705, 4, 56, 33809, 20460, 62, 10468, 62, 18601, 7, 21496, 13, 12443, 341, 10430, 11, 705, 4, 76, 33809, 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...
[ 31948, 306, 3349, 286, 1813, 7621, 13, 46506, 20460, 62, 10468, 62, 18601, 7, 21496, 13, 12443, 341, 10430, 11, 705, 4, 56, 33809, 20460, 62, 10468, 62, 18601, 7, 21496, 13, 12443, 341, 10430, 11, 705, 4, 76, 33809, 327, 28270, 7, ...
Which away team has a tie number of 3?
SELECT "Away team" FROM table_79326 WHERE "Tie no" = '3'
[ 13828, 1497, 1074, 468, 257, 9839, 1271, 286, 513, 30, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 3720, 39195, 33411, 366, 51, 494, 645, 1, 796, 705, 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 ]
[ 13828, 1497, 1074, 468, 257, 9839, 1271, 286, 513, 30, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 3720, 39195, 33411, 366, 51, 494, 645, 1, 796, 705, 18, 6 ]
For each party, return the name of the party and the number of delegates from that party Plot them as bar chart, and rank in asc by the Y.
SELECT T2.Party, SUM(COUNT(*)) FROM election AS T1 JOIN party AS T2 ON T1.Party = T2.Party_ID GROUP BY T2.Party ORDER BY SUM(COUNT(*))
[ 1890, 1123, 2151, 11, 1441, 262, 1438, 286, 262, 2151, 290, 262, 1271, 286, 15265, 422, 326, 2151, 28114, 606, 355, 2318, 8262, 11, 290, 4279, 287, 10570, 416, 262, 575, 13, 46506, 309, 17, 13, 33553, 11, 35683, 7, 34, 28270, 46491,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1123, 2151, 11, 1441, 262, 1438, 286, 262, 2151, 290, 262, 1271, 286, 15265, 422, 326, 2151, 28114, 606, 355, 2318, 8262, 11, 290, 4279, 287, 10570, 416, 262, 575, 13, 46506, 309, 17, 13, 33553, 11, 35683, 7, 34, 28270, 46491,...
What is the unemployment rate for the county with a market income per capita of $20,958?
SELECT COUNT(unemployment_rate) FROM table_22815568_2 WHERE market_income_per_capita = "$20,958"
[ 2061, 318, 262, 10681, 2494, 329, 262, 7968, 351, 257, 1910, 3739, 583, 21344, 286, 720, 1238, 11, 24, 3365, 30, 46506, 327, 28270, 7, 403, 28812, 62, 4873, 8, 16034, 3084, 62, 23815, 18742, 3104, 62, 17, 33411, 1910, 62, 12519, 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 ]
[ 2061, 318, 262, 10681, 2494, 329, 262, 7968, 351, 257, 1910, 3739, 583, 21344, 286, 720, 1238, 11, 24, 3365, 30, 46506, 327, 28270, 7, 403, 28812, 62, 4873, 8, 16034, 3084, 62, 23815, 18742, 3104, 62, 17, 33411, 1910, 62, 12519, 62,...
How many games are associated with over 0 golds and a first year before 2008?
SELECT SUM("Games") FROM table_75036 WHERE "Gold" > '0' AND "First" < '2008'
[ 2437, 867, 1830, 389, 3917, 351, 625, 657, 3869, 82, 290, 257, 717, 614, 878, 3648, 30, 46506, 35683, 7203, 24474, 4943, 16034, 3084, 62, 15426, 2623, 33411, 366, 13306, 1, 1875, 705, 15, 6, 5357, 366, 5962, 1, 1279, 705, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 1830, 389, 3917, 351, 625, 657, 3869, 82, 290, 257, 717, 614, 878, 3648, 30, 46506, 35683, 7203, 24474, 4943, 16034, 3084, 62, 15426, 2623, 33411, 366, 13306, 1, 1875, 705, 15, 6, 5357, 366, 5962, 1, 1279, 705, 11528, 6 ]
What is the total years with average runs less than 4.75 and a time of 14.26?
SELECT COUNT("Year") FROM table_75783 WHERE "Time" = '14.26' AND "Avg. Run" < '4.75'
[ 2061, 318, 262, 2472, 812, 351, 2811, 4539, 1342, 621, 604, 13, 2425, 290, 257, 640, 286, 1478, 13, 2075, 30, 46506, 327, 28270, 7203, 17688, 4943, 16034, 3084, 62, 2425, 50165, 33411, 366, 7575, 1, 796, 705, 1415, 13, 2075, 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 ]
[ 2061, 318, 262, 2472, 812, 351, 2811, 4539, 1342, 621, 604, 13, 2425, 290, 257, 640, 286, 1478, 13, 2075, 30, 46506, 327, 28270, 7203, 17688, 4943, 16034, 3084, 62, 2425, 50165, 33411, 366, 7575, 1, 796, 705, 1415, 13, 2075, 6, 5357...
What is the against percentage in the Vest-Agder constituency?
SELECT against___percentage_ FROM table_1289762_1 WHERE constituency = "Vest-Agder"
[ 2061, 318, 262, 1028, 5873, 287, 262, 39034, 12, 10262, 1082, 28280, 30, 46506, 1028, 17569, 25067, 496, 62, 16034, 3084, 62, 1065, 4531, 48194, 62, 16, 33411, 28280, 796, 366, 53, 395, 12, 10262, 1082, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1028, 5873, 287, 262, 39034, 12, 10262, 1082, 28280, 30, 46506, 1028, 17569, 25067, 496, 62, 16034, 3084, 62, 1065, 4531, 48194, 62, 16, 33411, 28280, 796, 366, 53, 395, 12, 10262, 1082, 1 ]
Show the start dates and end dates of all the apartment bookings made by guests with gender code 'Female'.
SELECT T1.booking_start_date, T1.booking_start_date FROM Apartment_Bookings AS T1 JOIN Guests AS T2 ON T1.guest_id = T2.guest_id WHERE T2.gender_code = "Female"
[ 15307, 262, 923, 9667, 290, 886, 9667, 286, 477, 262, 7962, 1492, 654, 925, 416, 10650, 351, 5279, 2438, 705, 27273, 4458, 46506, 309, 16, 13, 2070, 278, 62, 9688, 62, 4475, 11, 309, 16, 13, 2070, 278, 62, 9688, 62, 4475, 16034, 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, 1, 1, 1, 1, 1, 1...
[ 15307, 262, 923, 9667, 290, 886, 9667, 286, 477, 262, 7962, 1492, 654, 925, 416, 10650, 351, 5279, 2438, 705, 27273, 4458, 46506, 309, 16, 13, 2070, 278, 62, 9688, 62, 4475, 11, 309, 16, 13, 2070, 278, 62, 9688, 62, 4475, 16034, 5...
What was the control for the year with a Conservative Party result of 10 (+5)?
SELECT control FROM table_name_70 WHERE conservative_party = "10 (+5)"
[ 2061, 373, 262, 1630, 329, 262, 614, 351, 257, 11132, 3615, 1255, 286, 838, 11502, 20, 19427, 46506, 1630, 16034, 3084, 62, 3672, 62, 2154, 33411, 5940, 62, 10608, 796, 366, 940, 11502, 20, 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 ]
[ 2061, 373, 262, 1630, 329, 262, 614, 351, 257, 11132, 3615, 1255, 286, 838, 11502, 20, 19427, 46506, 1630, 16034, 3084, 62, 3672, 62, 2154, 33411, 5940, 62, 10608, 796, 366, 940, 11502, 20, 16725 ]
What was the Result of the game on December 14, 1986 after Week 11?
SELECT result FROM table_name_10 WHERE week > 11 AND date = "december 14, 1986"
[ 2061, 373, 262, 25414, 286, 262, 983, 319, 3426, 1478, 11, 12113, 706, 6119, 1367, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 940, 33411, 1285, 1875, 1367, 5357, 3128, 796, 366, 2934, 3273, 1478, 11, 12113, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 25414, 286, 262, 983, 319, 3426, 1478, 11, 12113, 706, 6119, 1367, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 940, 33411, 1285, 1875, 1367, 5357, 3128, 796, 366, 2934, 3273, 1478, 11, 12113, 1 ]
To satisfy the Core requirement , which courses can I take in Special Psychological Processes ?
SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN area ON course.course_id = area.course_id INNER JOIN program_course ON program_course.course_id = course.course_id WHERE (area.area LIKE '%Special Psychological Processes%' OR course.description LIKE '%Special Psychological Processes%'...
[ 2514, 15959, 262, 7231, 9079, 837, 543, 10902, 460, 314, 1011, 287, 6093, 30583, 10854, 274, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 3268, 21479, 32357, 1268, 1989...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2514, 15959, 262, 7231, 9079, 837, 543, 10902, 460, 314, 1011, 287, 6093, 30583, 10854, 274, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 3268, 21479, 32357, 1268, 1989...
What is the 1991 for 2R 1999?
SELECT 1991 FROM table_name_92 WHERE 1999 = "2r"
[ 2061, 318, 262, 10249, 329, 362, 49, 7358, 30, 46506, 10249, 16034, 3084, 62, 3672, 62, 5892, 33411, 7358, 796, 366, 17, 81, 1 ]
[ 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, 10249, 329, 362, 49, 7358, 30, 46506, 10249, 16034, 3084, 62, 3672, 62, 5892, 33411, 7358, 796, 366, 17, 81, 1 ]
how many patients whose primary disease is atrial fibrillation\thoracoscopic maze procedure bilateral/sda and year of death is less than or equal to 2183?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "ATRIAL FIBRILLATION\THORACOSCOPIC MAZE PROCEDURE BILATERAL/SDA" AND demographic.dod_year <= "2183.0"
[ 4919, 867, 3871, 3025, 4165, 4369, 318, 379, 4454, 277, 2889, 40903, 59, 400, 273, 330, 48228, 31237, 8771, 24537, 14, 82, 6814, 290, 614, 286, 1918, 318, 1342, 621, 393, 4961, 284, 362, 24839, 30, 46506, 327, 28270, 7, 35, 8808, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 3871, 3025, 4165, 4369, 318, 379, 4454, 277, 2889, 40903, 59, 400, 273, 330, 48228, 31237, 8771, 24537, 14, 82, 6814, 290, 614, 286, 1918, 318, 1342, 621, 393, 4961, 284, 362, 24839, 30, 46506, 327, 28270, 7, 35, 8808, 12...
what is the medication that was prescribed to patient 14035 within 2 days after diagnosis of late eff motor vehic acc during the last hospital encounter?
SELECT t2.drug FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE admissions.subject_id = 14035 AND diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'late e...
[ 10919, 318, 262, 14103, 326, 373, 14798, 284, 5827, 12713, 2327, 1626, 362, 1528, 706, 13669, 286, 2739, 914, 5584, 2844, 291, 697, 1141, 262, 938, 4436, 8791, 30, 46506, 256, 17, 13, 30349, 16034, 357, 46506, 25349, 13, 32796, 62, 31...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 14103, 326, 373, 14798, 284, 5827, 12713, 2327, 1626, 362, 1528, 706, 13669, 286, 2739, 914, 5584, 2844, 291, 697, 1141, 262, 938, 4436, 8791, 30, 46506, 256, 17, 13, 30349, 16034, 357, 46506, 25349, 13, 32796, 62, 31...
Which player has a pick# over 47?
SELECT player FROM table_name_87 WHERE pick__number > 47
[ 13828, 2137, 468, 257, 2298, 2, 625, 6298, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 5774, 33411, 2298, 834, 17618, 1875, 6298 ]
[ 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, 468, 257, 2298, 2, 625, 6298, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 5774, 33411, 2298, 834, 17618, 1875, 6298 ]
Give me the comparison about the average of Team_ID over the ACC_Road , and group by attribute ACC_Road by a bar chart, and display by the y-axis in asc.
SELECT ACC_Road, AVG(Team_ID) FROM basketball_match GROUP BY ACC_Road ORDER BY AVG(Team_ID)
[ 23318, 502, 262, 7208, 546, 262, 2811, 286, 4816, 62, 2389, 625, 262, 15859, 62, 29197, 837, 290, 1448, 416, 11688, 15859, 62, 29197, 416, 257, 2318, 8262, 11, 290, 3359, 416, 262, 331, 12, 22704, 287, 10570, 13, 46506, 15859, 62, 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, 1, 1, 1, 1, 1, 1, 1, 1...
[ 23318, 502, 262, 7208, 546, 262, 2811, 286, 4816, 62, 2389, 625, 262, 15859, 62, 29197, 837, 290, 1448, 416, 11688, 15859, 62, 29197, 416, 257, 2318, 8262, 11, 290, 3359, 416, 262, 331, 12, 22704, 287, 10570, 13, 46506, 15859, 62, 2...
List the customers first and last name of 10 least expensive invoices.
SELECT T1.first_name, T1.last_name FROM customers AS T1 JOIN invoices AS T2 ON T2.customer_id = T1.id ORDER BY total LIMIT 10
[ 8053, 262, 4297, 717, 290, 938, 1438, 286, 838, 1551, 5789, 800, 78, 1063, 13, 46506, 309, 16, 13, 11085, 62, 3672, 11, 309, 16, 13, 12957, 62, 3672, 16034, 4297, 7054, 309, 16, 32357, 1268, 800, 78, 1063, 7054, 309, 17, 6177, 309...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4297, 717, 290, 938, 1438, 286, 838, 1551, 5789, 800, 78, 1063, 13, 46506, 309, 16, 13, 11085, 62, 3672, 11, 309, 16, 13, 12957, 62, 3672, 16034, 4297, 7054, 309, 16, 32357, 1268, 800, 78, 1063, 7054, 309, 17, 6177, 309...
What was the highest rank for rowers who represented Denmark?
SELECT MAX("Rank") FROM table_79410 WHERE "Country" = 'denmark'
[ 2061, 373, 262, 4511, 4279, 329, 5752, 364, 508, 7997, 16490, 30, 46506, 25882, 7203, 27520, 4943, 16034, 3084, 62, 3720, 33289, 33411, 366, 33921, 1, 796, 705, 6559, 4102, 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, 373, 262, 4511, 4279, 329, 5752, 364, 508, 7997, 16490, 30, 46506, 25882, 7203, 27520, 4943, 16034, 3084, 62, 3720, 33289, 33411, 366, 33921, 1, 796, 705, 6559, 4102, 6 ]
What is the relationship between average and greatest capacity for rooms in each building? Show me a scatter chart.
SELECT MAX(capacity), AVG(capacity) FROM classroom GROUP BY building
[ 2061, 318, 262, 2776, 1022, 2811, 290, 6000, 5339, 329, 9519, 287, 1123, 2615, 30, 5438, 502, 257, 41058, 8262, 13, 46506, 25882, 7, 42404, 828, 35224, 7, 42404, 8, 16034, 15806, 44441, 11050, 2615 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2776, 1022, 2811, 290, 6000, 5339, 329, 9519, 287, 1123, 2615, 30, 5438, 502, 257, 41058, 8262, 13, 46506, 25882, 7, 42404, 828, 35224, 7, 42404, 8, 16034, 15806, 44441, 11050, 2615 ]
what is the tallest peak in the alps ?
SELECT "peak" FROM table_204_84 ORDER BY "elevation (m)" DESC LIMIT 1
[ 10919, 318, 262, 38760, 9103, 287, 262, 435, 862, 5633, 46506, 366, 36729, 1, 16034, 3084, 62, 18638, 62, 5705, 38678, 11050, 366, 68, 2768, 341, 357, 76, 16725, 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 ]
[ 10919, 318, 262, 38760, 9103, 287, 262, 435, 862, 5633, 46506, 366, 36729, 1, 16034, 3084, 62, 18638, 62, 5705, 38678, 11050, 366, 68, 2768, 341, 357, 76, 16725, 22196, 34, 27564, 2043, 352 ]
Tell me the engine for dhg tom's racing
SELECT engine FROM table_name_88 WHERE team = "dhg tom's racing"
[ 24446, 502, 262, 3113, 329, 34590, 70, 16667, 338, 11717, 46506, 3113, 16034, 3084, 62, 3672, 62, 3459, 33411, 1074, 796, 366, 34985, 70, 16667, 338, 11717, 1 ]
[ 1, 1, 1, 1, 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, 3113, 329, 34590, 70, 16667, 338, 11717, 46506, 3113, 16034, 3084, 62, 3672, 62, 3459, 33411, 1074, 796, 366, 34985, 70, 16667, 338, 11717, 1 ]
what was the last time that patient 7375 had intake until 08/17/2100?
SELECT inputevents_cv.charttime FROM inputevents_cv WHERE inputevents_cv.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 7375)) AND STRFTIME('%y-%m-%d', inputevents_cv.charttime) <= '2100-08-17' ORDER BY inputeven...
[ 10919, 373, 262, 938, 640, 326, 5827, 8854, 2425, 550, 10337, 1566, 8487, 14, 1558, 14, 2481, 405, 30, 46506, 287, 79, 1133, 85, 658, 62, 33967, 13, 40926, 2435, 16034, 287, 79, 1133, 85, 658, 62, 33967, 33411, 287, 79, 1133, 85, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 938, 640, 326, 5827, 8854, 2425, 550, 10337, 1566, 8487, 14, 1558, 14, 2481, 405, 30, 46506, 287, 79, 1133, 85, 658, 62, 33967, 13, 40926, 2435, 16034, 287, 79, 1133, 85, 658, 62, 33967, 33411, 287, 79, 1133, 85, ...
What is the Score with a Date that is march 12?
SELECT score FROM table_name_93 WHERE date = "march 12"
[ 2061, 318, 262, 15178, 351, 257, 7536, 326, 318, 9960, 1105, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 6052, 33411, 3128, 796, 366, 76, 998, 1105, 1 ]
[ 1, 1, 1, 1, 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, 15178, 351, 257, 7536, 326, 318, 9960, 1105, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 6052, 33411, 3128, 796, 366, 76, 998, 1105, 1 ]
What is in the notes for men's speed skating?
SELECT notes FROM table_name_17 WHERE time = "men's speed skating"
[ 2061, 318, 287, 262, 4710, 329, 1450, 338, 2866, 33051, 30, 46506, 4710, 16034, 3084, 62, 3672, 62, 1558, 33411, 640, 796, 366, 3653, 338, 2866, 33051, 1 ]
[ 1, 1, 1, 1, 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, 287, 262, 4710, 329, 1450, 338, 2866, 33051, 30, 46506, 4710, 16034, 3084, 62, 3672, 62, 1558, 33411, 640, 796, 366, 3653, 338, 2866, 33051, 1 ]
What is the value of D 43 when the value of D 42 is d 42 ?
SELECT "D 43 \u221a" FROM table_80440 WHERE "D 42 \u221a" = 'd 42 √'
[ 2061, 318, 262, 1988, 286, 360, 5946, 618, 262, 1988, 286, 360, 5433, 318, 288, 5433, 5633, 46506, 366, 35, 5946, 3467, 84, 26115, 64, 1, 16034, 3084, 62, 1795, 25644, 33411, 366, 35, 5433, 3467, 84, 26115, 64, 1, 796, 705, 67, 54...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1988, 286, 360, 5946, 618, 262, 1988, 286, 360, 5433, 318, 288, 5433, 5633, 46506, 366, 35, 5946, 3467, 84, 26115, 64, 1, 16034, 3084, 62, 1795, 25644, 33411, 366, 35, 5433, 3467, 84, 26115, 64, 1, 796, 705, 67, 54...
Who sponsored the bill that was introduced on June 2, 2009?
SELECT "Sponsor(s)" FROM table_35162 WHERE "Date introduced" = 'june 2, 2009'
[ 8241, 15901, 262, 2855, 326, 373, 5495, 319, 2795, 362, 11, 3717, 30, 46506, 366, 43522, 273, 7, 82, 16725, 16034, 3084, 62, 2327, 25061, 33411, 366, 10430, 5495, 1, 796, 705, 73, 1726, 362, 11, 3717, 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 ]
[ 8241, 15901, 262, 2855, 326, 373, 5495, 319, 2795, 362, 11, 3717, 30, 46506, 366, 43522, 273, 7, 82, 16725, 16034, 3084, 62, 2327, 25061, 33411, 366, 10430, 5495, 1, 796, 705, 73, 1726, 362, 11, 3717, 6 ]
Who won at the Circuit of lakeside international raceway?
SELECT winner FROM table_name_89 WHERE circuit = "lakeside international raceway"
[ 8241, 1839, 379, 262, 13588, 286, 24768, 485, 3230, 3444, 16172, 30, 46506, 8464, 16034, 3084, 62, 3672, 62, 4531, 33411, 10349, 796, 366, 75, 1124, 485, 3230, 3444, 16172, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 1839, 379, 262, 13588, 286, 24768, 485, 3230, 3444, 16172, 30, 46506, 8464, 16034, 3084, 62, 3672, 62, 4531, 33411, 10349, 796, 366, 75, 1124, 485, 3230, 3444, 16172, 1 ]
On what day was the attendance that had a Tie value of 40?
SELECT "Attendance" FROM table_50973 WHERE "Tie no" = '40'
[ 2202, 644, 1110, 373, 262, 14858, 326, 550, 257, 36286, 1988, 286, 2319, 30, 46506, 366, 8086, 437, 590, 1, 16034, 3084, 62, 29022, 4790, 33411, 366, 51, 494, 645, 1, 796, 705, 1821, 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 ]
[ 2202, 644, 1110, 373, 262, 14858, 326, 550, 257, 36286, 1988, 286, 2319, 30, 46506, 366, 8086, 437, 590, 1, 16034, 3084, 62, 29022, 4790, 33411, 366, 51, 494, 645, 1, 796, 705, 1821, 6 ]
Draw a bar chart for what is the average age for each city and what are those cities?, and show in desc by the Y-axis.
SELECT city_code, AVG(Age) FROM Student GROUP BY city_code ORDER BY AVG(Age) DESC
[ 25302, 257, 2318, 8262, 329, 644, 318, 262, 2811, 2479, 329, 1123, 1748, 290, 644, 389, 883, 4736, 21747, 290, 905, 287, 1715, 416, 262, 575, 12, 22704, 13, 46506, 1748, 62, 8189, 11, 35224, 7, 23396, 8, 16034, 13613, 44441, 11050, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 25302, 257, 2318, 8262, 329, 644, 318, 262, 2811, 2479, 329, 1123, 1748, 290, 644, 389, 883, 4736, 21747, 290, 905, 287, 1715, 416, 262, 575, 12, 22704, 13, 46506, 1748, 62, 8189, 11, 35224, 7, 23396, 8, 16034, 13613, 44441, 11050, ...
show me US fares for next sunday from MIAMI to CLEVELAND
SELECT DISTINCT fare.fare_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, date_day AS DATE_DAY_0, date_day AS DATE_DAY_1, days AS DAYS_0, days AS DAYS_1, fare, fare_basis, flight, flight_fare WHERE ((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND C...
[ 12860, 502, 1294, 33164, 329, 1306, 37437, 323, 422, 15789, 43870, 284, 30301, 18697, 6981, 46506, 360, 8808, 1268, 4177, 14505, 13, 9496, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 1527...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12860, 502, 1294, 33164, 329, 1306, 37437, 323, 422, 15789, 43870, 284, 30301, 18697, 6981, 46506, 360, 8808, 1268, 4177, 14505, 13, 9496, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 1527...
For those records from the products and each product's manufacturer, show me about the distribution of founder and the average of code , and group by attribute founder in a bar chart, and rank by the total number from high to low.
SELECT T2.Founder, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Founder ORDER BY T1.Code DESC
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 905, 502, 546, 262, 6082, 286, 9119, 290, 262, 2811, 286, 2438, 837, 290, 1448, 416, 11688, 9119, 287, 257, 2318, 8262, 11, 290, 4279, 416, 262, 2472, 1271, 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, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 905, 502, 546, 262, 6082, 286, 9119, 290, 262, 2811, 286, 2438, 837, 290, 1448, 416, 11688, 9119, 287, 257, 2318, 8262, 11, 290, 4279, 416, 262, 2472, 1271, 422, 1029...
How many million viewers watch the episode that kevin biegel & aseem batra wrote?
SELECT "U.S viewers (million)" FROM table_27761 WHERE "Written by" = 'Kevin Biegel & Aseem Batra'
[ 2437, 867, 1510, 10209, 2342, 262, 4471, 326, 885, 7114, 275, 28210, 1222, 257, 325, 368, 7365, 430, 2630, 30, 46506, 366, 52, 13, 50, 10209, 357, 14100, 16725, 16034, 3084, 62, 1983, 4304, 16, 33411, 366, 25354, 416, 1, 796, 705, 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 ]
[ 2437, 867, 1510, 10209, 2342, 262, 4471, 326, 885, 7114, 275, 28210, 1222, 257, 325, 368, 7365, 430, 2630, 30, 46506, 366, 52, 13, 50, 10209, 357, 14100, 16725, 16034, 3084, 62, 1983, 4304, 16, 33411, 366, 25354, 416, 1, 796, 705, 2...
My Profiles Across Stack Exchange.
SELECT * FROM sys.databases
[ 3666, 4415, 2915, 27497, 23881, 12516, 13, 46506, 1635, 16034, 25064, 13, 19608, 18826 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 3666, 4415, 2915, 27497, 23881, 12516, 13, 46506, 1635, 16034, 25064, 13, 19608, 18826 ]
search deleted questions in terms of their tagname/title.
SELECT Id, url = 'site://q/' + CAST(Id AS TEXT), CreationDate, DeletionDate, Score, Tags FROM Posts WHERE (PostTypeId = 1) AND (Tags LIKE '%<##Tagname##>%' OR Title LIKE '%<##Title##>%') AND (NOT DeletionDate IS NULL) ORDER BY DeletionDate DESC LIMIT 100
[ 12947, 13140, 2683, 287, 2846, 286, 511, 7621, 3672, 14, 7839, 13, 46506, 5121, 11, 19016, 796, 705, 15654, 1378, 80, 14, 6, 1343, 327, 11262, 7, 7390, 7054, 40383, 828, 21582, 10430, 11, 1024, 1616, 295, 10430, 11, 15178, 11, 44789, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12947, 13140, 2683, 287, 2846, 286, 511, 7621, 3672, 14, 7839, 13, 46506, 5121, 11, 19016, 796, 705, 15654, 1378, 80, 14, 6, 1343, 327, 11262, 7, 7390, 7054, 40383, 828, 21582, 10430, 11, 1024, 1616, 295, 10430, 11, 15178, 11, 44789, ...
What is the enrollment number for Rockville?
SELECT COUNT("Enrollment") FROM table_65477 WHERE "Location" = 'rockville'
[ 2061, 318, 262, 20753, 1271, 329, 4631, 4244, 30, 46506, 327, 28270, 7203, 4834, 48108, 4943, 16034, 3084, 62, 2996, 32883, 33411, 366, 14749, 1, 796, 705, 10823, 4244, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 20753, 1271, 329, 4631, 4244, 30, 46506, 327, 28270, 7203, 4834, 48108, 4943, 16034, 3084, 62, 2996, 32883, 33411, 366, 14749, 1, 796, 705, 10823, 4244, 6 ]
For those employees who was hired before 2002-06-21, show me about the correlation between employee_id and commission_pct in a scatter chart.
SELECT EMPLOYEE_ID, COMMISSION_PCT FROM employees WHERE HIRE_DATE < '2002-06-21'
[ 1890, 883, 4409, 508, 373, 9657, 878, 6244, 12, 3312, 12, 2481, 11, 905, 502, 546, 262, 16096, 1022, 6538, 62, 312, 290, 5810, 62, 79, 310, 287, 257, 41058, 8262, 13, 46506, 17228, 6489, 21414, 6500, 62, 2389, 11, 22240, 40373, 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 ]
[ 1890, 883, 4409, 508, 373, 9657, 878, 6244, 12, 3312, 12, 2481, 11, 905, 502, 546, 262, 16096, 1022, 6538, 62, 312, 290, 5810, 62, 79, 310, 287, 257, 41058, 8262, 13, 46506, 17228, 6489, 21414, 6500, 62, 2389, 11, 22240, 40373, 62, ...
What is the average year of events that took place in Antwerp, Belgium?
SELECT AVG("Year") FROM table_71995 WHERE "Venue" = 'antwerp, belgium'
[ 2061, 318, 262, 2811, 614, 286, 2995, 326, 1718, 1295, 287, 3738, 15448, 79, 11, 15664, 30, 46506, 35224, 7203, 17688, 4943, 16034, 3084, 62, 22, 21908, 33411, 366, 37522, 518, 1, 796, 705, 415, 15448, 79, 11, 894, 70, 1505, 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 ]
[ 2061, 318, 262, 2811, 614, 286, 2995, 326, 1718, 1295, 287, 3738, 15448, 79, 11, 15664, 30, 46506, 35224, 7203, 17688, 4943, 16034, 3084, 62, 22, 21908, 33411, 366, 37522, 518, 1, 796, 705, 415, 15448, 79, 11, 894, 70, 1505, 6 ]
What group of juventus had an attendance larger than 47,786?
SELECT group_position FROM table_name_2 WHERE opponents = "juventus" AND attendance > 47 OFFSET 786
[ 2061, 1448, 286, 7544, 35648, 550, 281, 14858, 4025, 621, 6298, 11, 46302, 30, 46506, 1448, 62, 9150, 16034, 3084, 62, 3672, 62, 17, 33411, 7691, 796, 366, 14396, 35648, 1, 5357, 14858, 1875, 6298, 3963, 10652, 2767, 767, 4521 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1448, 286, 7544, 35648, 550, 281, 14858, 4025, 621, 6298, 11, 46302, 30, 46506, 1448, 62, 9150, 16034, 3084, 62, 3672, 62, 17, 33411, 7691, 796, 366, 14396, 35648, 1, 5357, 14858, 1875, 6298, 3963, 10652, 2767, 767, 4521 ]
what is the season when the lead is john shuster and third is shawn rojeski?
SELECT "Season" FROM table_8027 WHERE "Lead" = 'john shuster' AND "Third" = 'shawn rojeski'
[ 10919, 318, 262, 1622, 618, 262, 1085, 318, 45610, 427, 5819, 290, 2368, 318, 427, 3832, 686, 73, 274, 4106, 30, 46506, 366, 18960, 1, 16034, 3084, 62, 1795, 1983, 33411, 366, 20451, 1, 796, 705, 30686, 427, 5819, 6, 5357, 366, 2274...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1622, 618, 262, 1085, 318, 45610, 427, 5819, 290, 2368, 318, 427, 3832, 686, 73, 274, 4106, 30, 46506, 366, 18960, 1, 16034, 3084, 62, 1795, 1983, 33411, 366, 20451, 1, 796, 705, 30686, 427, 5819, 6, 5357, 366, 2274...
What are all the employee ids and the names of the countries in which they work Visualize by bar chart, and order in descending by the X.
SELECT COUNTRY_NAME, SUM(EMPLOYEE_ID) FROM employees AS T1 JOIN departments AS T2 ON T1.DEPARTMENT_ID = T2.DEPARTMENT_ID JOIN locations AS T3 ON T2.LOCATION_ID = T3.LOCATION_ID JOIN countries AS T4 ON T3.COUNTRY_ID = T4.COUNTRY_ID GROUP BY COUNTRY_NAME ORDER BY COUNTRY_NAME DESC
[ 2061, 389, 477, 262, 6538, 220, 2340, 290, 262, 3891, 286, 262, 2678, 287, 543, 484, 670, 15612, 1096, 416, 2318, 8262, 11, 290, 1502, 287, 31491, 416, 262, 1395, 13, 46506, 31404, 40405, 62, 20608, 11, 35683, 7, 3620, 6489, 21414, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 389, 477, 262, 6538, 220, 2340, 290, 262, 3891, 286, 262, 2678, 287, 543, 484, 670, 15612, 1096, 416, 2318, 8262, 11, 290, 1502, 287, 31491, 416, 262, 1395, 13, 46506, 31404, 40405, 62, 20608, 11, 35683, 7, 3620, 6489, 21414, ...
Can you tell me the average Total that had the Silver of 0, and the Rank of 6, and the Gold smaller than 0?
SELECT AVG("Total") FROM table_47067 WHERE "Silver" = '0' AND "Rank" = '6' AND "Gold" < '0'
[ 6090, 345, 1560, 502, 262, 2811, 7472, 326, 550, 262, 7698, 286, 657, 11, 290, 262, 10916, 286, 718, 11, 290, 262, 3561, 4833, 621, 657, 30, 46506, 35224, 7203, 14957, 4943, 16034, 3084, 62, 27790, 3134, 33411, 366, 26766, 1, 796, 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 ]
[ 6090, 345, 1560, 502, 262, 2811, 7472, 326, 550, 262, 7698, 286, 657, 11, 290, 262, 10916, 286, 718, 11, 290, 262, 3561, 4833, 621, 657, 30, 46506, 35224, 7203, 14957, 4943, 16034, 3084, 62, 27790, 3134, 33411, 366, 26766, 1, 796, 7...
name each contestant whose age is 21 ?
SELECT "contestant" FROM table_204_144 WHERE "age" = 21
[ 3672, 1123, 44047, 3025, 2479, 318, 2310, 5633, 46506, 366, 3642, 395, 415, 1, 16034, 3084, 62, 18638, 62, 18444, 33411, 366, 496, 1, 796, 2310 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 3672, 1123, 44047, 3025, 2479, 318, 2310, 5633, 46506, 366, 3642, 395, 415, 1, 16034, 3084, 62, 18638, 62, 18444, 33411, 366, 496, 1, 796, 2310 ]
Votes on deleted posts by year.
SELECT COUNT(*) FROM Votes WHERE PostId IS NULL
[ 53, 6421, 319, 13140, 6851, 416, 614, 13, 46506, 327, 28270, 7, 28104, 16034, 39584, 33411, 2947, 7390, 3180, 15697 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 53, 6421, 319, 13140, 6851, 416, 614, 13, 46506, 327, 28270, 7, 28104, 16034, 39584, 33411, 2947, 7390, 3180, 15697 ]
What is the Original air date for the episode written by Peter Ocko?
SELECT original_air_date FROM table_13183076_3 WHERE written_by = "Peter Ocko"
[ 2061, 318, 262, 13745, 1633, 3128, 329, 262, 4471, 3194, 416, 5613, 440, 37549, 30, 46506, 2656, 62, 958, 62, 4475, 16034, 3084, 62, 1485, 1507, 1270, 4304, 62, 18, 33411, 3194, 62, 1525, 796, 366, 19727, 440, 37549, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13745, 1633, 3128, 329, 262, 4471, 3194, 416, 5613, 440, 37549, 30, 46506, 2656, 62, 958, 62, 4475, 16034, 3084, 62, 1485, 1507, 1270, 4304, 62, 18, 33411, 3194, 62, 1525, 796, 366, 19727, 440, 37549, 1 ]
What is the average finish that has 24 as the start, with a year after 1987?
SELECT AVG("Finish") FROM table_42847 WHERE "Start" = '24' AND "Year" > '1987'
[ 2061, 318, 262, 2811, 5461, 326, 468, 1987, 355, 262, 923, 11, 351, 257, 614, 706, 12923, 30, 46506, 35224, 7203, 48658, 4943, 16034, 3084, 62, 40173, 2857, 33411, 366, 10434, 1, 796, 705, 1731, 6, 5357, 366, 17688, 1, 1875, 705, 27...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5461, 326, 468, 1987, 355, 262, 923, 11, 351, 257, 614, 706, 12923, 30, 46506, 35224, 7203, 48658, 4943, 16034, 3084, 62, 40173, 2857, 33411, 366, 10434, 1, 796, 705, 1731, 6, 5357, 366, 17688, 1, 1875, 705, 27...
Give me a histogram for how many climbers are from each country?, and show by the y axis from low to high.
SELECT Country, COUNT(*) FROM climber GROUP BY Country ORDER BY COUNT(*)
[ 23318, 502, 257, 1554, 21857, 329, 703, 867, 39311, 389, 422, 1123, 1499, 21747, 290, 905, 416, 262, 331, 16488, 422, 1877, 284, 1029, 13, 46506, 12946, 11, 327, 28270, 7, 28104, 16034, 5424, 527, 44441, 11050, 12946, 38678, 11050, 327,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 23318, 502, 257, 1554, 21857, 329, 703, 867, 39311, 389, 422, 1123, 1499, 21747, 290, 905, 416, 262, 331, 16488, 422, 1877, 284, 1029, 13, 46506, 12946, 11, 327, 28270, 7, 28104, 16034, 5424, 527, 44441, 11050, 12946, 38678, 11050, 327,...
What are the ids of documents which don't have expense budgets?
SELECT document_id FROM documents EXCEPT SELECT document_id FROM documents_with_expenses
[ 2061, 389, 262, 220, 2340, 286, 4963, 543, 836, 470, 423, 10907, 21011, 30, 46506, 3188, 62, 312, 16034, 4963, 7788, 42006, 33493, 3188, 62, 312, 16034, 4963, 62, 4480, 62, 11201, 4541 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 262, 220, 2340, 286, 4963, 543, 836, 470, 423, 10907, 21011, 30, 46506, 3188, 62, 312, 16034, 4963, 7788, 42006, 33493, 3188, 62, 312, 16034, 4963, 62, 4480, 62, 11201, 4541 ]
Where do the US import the most food ?
SELECT MAX(country) FROM sampledata15
[ 8496, 466, 262, 1294, 1330, 262, 749, 2057, 5633, 46506, 25882, 7, 19315, 8, 16034, 35846, 1045, 1314 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8496, 466, 262, 1294, 1330, 262, 749, 2057, 5633, 46506, 25882, 7, 19315, 8, 16034, 35846, 1045, 1314 ]
How many documents are there of each type Show bar chart, rank from low to high by the x-axis.
SELECT Document_Type_Code, COUNT(*) FROM Documents GROUP BY Document_Type_Code ORDER BY Document_Type_Code
[ 2437, 867, 4963, 389, 612, 286, 1123, 2099, 5438, 2318, 8262, 11, 4279, 422, 1877, 284, 1029, 416, 262, 2124, 12, 22704, 13, 46506, 16854, 62, 6030, 62, 10669, 11, 327, 28270, 7, 28104, 16034, 33267, 44441, 11050, 16854, 62, 6030, 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 ]
[ 2437, 867, 4963, 389, 612, 286, 1123, 2099, 5438, 2318, 8262, 11, 4279, 422, 1877, 284, 1029, 416, 262, 2124, 12, 22704, 13, 46506, 16854, 62, 6030, 62, 10669, 11, 327, 28270, 7, 28104, 16034, 33267, 44441, 11050, 16854, 62, 6030, 62,...
How many tags have issued at least one tag badge?.
SELECT COUNT(*) FROM (SELECT TagName FROM Badges INNER JOIN Tags ON TagName = Badges.Name WHERE TagBased = 'true' GROUP BY TagName) AS tagbadges
[ 2437, 867, 15940, 423, 4884, 379, 1551, 530, 7621, 23009, 30, 13, 46506, 327, 28270, 7, 28104, 16034, 357, 46506, 17467, 5376, 16034, 7772, 3212, 3268, 21479, 32357, 1268, 44789, 6177, 17467, 5376, 796, 7772, 3212, 13, 5376, 33411, 17467,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15940, 423, 4884, 379, 1551, 530, 7621, 23009, 30, 13, 46506, 327, 28270, 7, 28104, 16034, 357, 46506, 17467, 5376, 16034, 7772, 3212, 3268, 21479, 32357, 1268, 44789, 6177, 17467, 5376, 796, 7772, 3212, 13, 5376, 33411, 17467,...
What was the total viewership for BBC One weekly rankings larger than 7, before episode 4?
SELECT total_viewers FROM table_name_30 WHERE bbc_one_weekly_ranking > 7 AND episode_no < 4
[ 2061, 373, 262, 2472, 48347, 329, 7823, 1881, 10273, 16905, 4025, 621, 767, 11, 878, 4471, 604, 30, 46506, 2472, 62, 1177, 364, 16034, 3084, 62, 3672, 62, 1270, 33411, 275, 15630, 62, 505, 62, 45291, 62, 28405, 1875, 767, 5357, 4471, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2472, 48347, 329, 7823, 1881, 10273, 16905, 4025, 621, 767, 11, 878, 4471, 604, 30, 46506, 2472, 62, 1177, 364, 16034, 3084, 62, 3672, 62, 1270, 33411, 275, 15630, 62, 505, 62, 45291, 62, 28405, 1875, 767, 5357, 4471, ...
tags from the favorites of the user.
SELECT VT.Name, P.Body, P.Id, P.Tags FROM VoteTypes AS VT, Votes AS V, Posts AS P, Users AS U WHERE VT.Id = 5 AND VT.Id = V.VoteTypeId AND U.Id = '8048248' AND V.PostId = P.Id AND U.Id = V.UserId
[ 31499, 422, 262, 18852, 286, 262, 2836, 13, 46506, 32751, 13, 5376, 11, 350, 13, 25842, 11, 350, 13, 7390, 11, 350, 13, 36142, 16034, 19175, 31431, 7054, 32751, 11, 39584, 7054, 569, 11, 12043, 7054, 350, 11, 18987, 7054, 471, 33411, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 31499, 422, 262, 18852, 286, 262, 2836, 13, 46506, 32751, 13, 5376, 11, 350, 13, 25842, 11, 350, 13, 7390, 11, 350, 13, 36142, 16034, 19175, 31431, 7054, 32751, 11, 39584, 7054, 569, 11, 12043, 7054, 350, 11, 18987, 7054, 471, 33411, ...