instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
NEW YORK to LAS VEGAS and MEMPHIS to LAS VEGAS on sunday
SELECT DISTINCT flight_id FROM flight WHERE ((flight_days IN (SELECT DAYSalias0.days_code FROM days AS DAYSalias0 WHERE DAYSalias0.day_name IN (SELECT DATE_DAYalias0.day_name FROM date_day AS DATE_DAYalias0 WHERE DATE_DAYalias0.day_number = 27 AND DATE_DAYalias0.month_number = 8 AND DATE_DAYalias0.year = 1991)) AND to_...
[ 13965, 28154, 284, 406, 1921, 569, 7156, 1921, 290, 35153, 11909, 1797, 284, 406, 1921, 569, 7156, 1921, 319, 37437, 323, 46506, 360, 8808, 1268, 4177, 5474, 62, 312, 16034, 5474, 33411, 14808, 22560, 62, 12545, 3268, 357, 46506, 24644, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 13965, 28154, 284, 406, 1921, 569, 7156, 1921, 290, 35153, 11909, 1797, 284, 406, 1921, 569, 7156, 1921, 319, 37437, 323, 46506, 360, 8808, 1268, 4177, 5474, 62, 312, 16034, 5474, 33411, 14808, 22560, 62, 12545, 3268, 357, 46506, 24644, ...
Tell me the highest point with lost point being 33 and league point less than 52
SELECT MAX(point) FROM table_name_98 WHERE lost_point = 33 AND league_point < 52
[ 24446, 502, 262, 4511, 966, 351, 2626, 966, 852, 4747, 290, 4652, 966, 1342, 621, 6740, 46506, 25882, 7, 4122, 8, 16034, 3084, 62, 3672, 62, 4089, 33411, 2626, 62, 4122, 796, 4747, 5357, 4652, 62, 4122, 1279, 6740 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4511, 966, 351, 2626, 966, 852, 4747, 290, 4652, 966, 1342, 621, 6740, 46506, 25882, 7, 4122, 8, 16034, 3084, 62, 3672, 62, 4089, 33411, 2626, 62, 4122, 796, 4747, 5357, 4652, 62, 4122, 1279, 6740 ]
who was the main presenter previous to barbara d'urso ?
SELECT "main presenter" FROM table_203_397 WHERE "launch date" < (SELECT "launch date" FROM table_203_397 WHERE "main presenter" = "barbara d'urso") ORDER BY "launch date" DESC LIMIT 1
[ 8727, 373, 262, 1388, 39597, 2180, 284, 2318, 39389, 288, 6, 333, 568, 5633, 46506, 366, 12417, 39597, 1, 16034, 3084, 62, 22416, 62, 33372, 33411, 366, 35681, 3128, 1, 1279, 357, 46506, 366, 35681, 3128, 1, 16034, 3084, 62, 22416, 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...
[ 8727, 373, 262, 1388, 39597, 2180, 284, 2318, 39389, 288, 6, 333, 568, 5633, 46506, 366, 12417, 39597, 1, 16034, 3084, 62, 22416, 62, 33372, 33411, 366, 35681, 3128, 1, 1279, 357, 46506, 366, 35681, 3128, 1, 16034, 3084, 62, 22416, 62...
What rank is associated with Germany?
SELECT MAX(rank) FROM table_14752049_1 WHERE country = "Germany"
[ 2061, 4279, 318, 3917, 351, 4486, 30, 46506, 25882, 7, 43027, 8, 16034, 3084, 62, 1415, 2425, 1238, 2920, 62, 16, 33411, 1499, 796, 366, 27079, 1 ]
[ 1, 1, 1, 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, 4279, 318, 3917, 351, 4486, 30, 46506, 25882, 7, 43027, 8, 16034, 3084, 62, 1415, 2425, 1238, 2920, 62, 16, 33411, 1499, 796, 366, 27079, 1 ]
What is the Week number on September 6, 1946?
SELECT SUM("Week") FROM table_63151 WHERE "Date" = 'september 6, 1946'
[ 2061, 318, 262, 6119, 1271, 319, 2693, 718, 11, 22717, 30, 46506, 35683, 7203, 20916, 4943, 16034, 3084, 62, 5066, 24309, 33411, 366, 10430, 1, 796, 705, 325, 457, 1491, 718, 11, 22717, 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, 318, 262, 6119, 1271, 319, 2693, 718, 11, 22717, 30, 46506, 35683, 7203, 20916, 4943, 16034, 3084, 62, 5066, 24309, 33411, 366, 10430, 1, 796, 705, 325, 457, 1491, 718, 11, 22717, 6 ]
What's the genre of the song recorded in 1929?
SELECT genre FROM table_name_41 WHERE year_recorded = "1929"
[ 2061, 338, 262, 12121, 286, 262, 3496, 6264, 287, 31883, 30, 46506, 12121, 16034, 3084, 62, 3672, 62, 3901, 33411, 614, 62, 47398, 796, 366, 1129, 1959, 1 ]
[ 1, 1, 1, 1, 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, 12121, 286, 262, 3496, 6264, 287, 31883, 30, 46506, 12121, 16034, 3084, 62, 3672, 62, 3901, 33411, 614, 62, 47398, 796, 366, 1129, 1959, 1 ]
Search users by user name pattern. To search for an exact name, just type it as the pattern. To search for names containing Bob, use the pattern %Bob%. To search for names starting with Bob, use the pattern Bob%. To include an apostrophe in the pattern, double it (e.g. %O B% finds Alice O'Hara).
SELECT Id AS "user_link", Reputation, CreationDate, LastAccessDate FROM Users WHERE DisplayName LIKE '##Pattern##'
[ 18243, 2985, 416, 2836, 1438, 3912, 13, 1675, 2989, 329, 281, 2748, 1438, 11, 655, 2099, 340, 355, 262, 3912, 13, 1675, 2989, 329, 3891, 7268, 5811, 11, 779, 262, 3912, 4064, 18861, 7225, 1675, 2989, 329, 3891, 3599, 351, 5811, 11, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 18243, 2985, 416, 2836, 1438, 3912, 13, 1675, 2989, 329, 281, 2748, 1438, 11, 655, 2099, 340, 355, 262, 3912, 13, 1675, 2989, 329, 3891, 7268, 5811, 11, 779, 262, 3912, 4064, 18861, 7225, 1675, 2989, 329, 3891, 3599, 351, 5811, 11, ...
What was the away team that played luton town?
SELECT "Away team" FROM table_53297 WHERE "Home team" = 'luton town'
[ 2061, 373, 262, 1497, 1074, 326, 2826, 300, 32894, 3240, 30, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 4310, 26561, 33411, 366, 16060, 1074, 1, 796, 705, 75, 32894, 3240, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 1497, 1074, 326, 2826, 300, 32894, 3240, 30, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 4310, 26561, 33411, 366, 16060, 1074, 1, 796, 705, 75, 32894, 3240, 6 ]
what character did Masaharu satou play
SELECT character_name FROM table_name_76 WHERE voice_actor__japanese_ = "masaharu satou"
[ 10919, 2095, 750, 11066, 993, 11493, 3332, 280, 711, 46506, 2095, 62, 3672, 16034, 3084, 62, 3672, 62, 4304, 33411, 3809, 62, 11218, 834, 73, 2674, 2771, 62, 796, 366, 5356, 993, 11493, 3332, 280, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2095, 750, 11066, 993, 11493, 3332, 280, 711, 46506, 2095, 62, 3672, 16034, 3084, 62, 3672, 62, 4304, 33411, 3809, 62, 11218, 834, 73, 2674, 2771, 62, 796, 366, 5356, 993, 11493, 3332, 280, 1 ]
Find the component amounts and names of all furnitures that have more than 10 components, and sort X from high to low order.
SELECT Name, Num_of_Component FROM furniture WHERE Num_of_Component > 10 ORDER BY Name DESC
[ 16742, 262, 7515, 6867, 290, 3891, 286, 477, 8926, 20686, 326, 423, 517, 621, 838, 6805, 11, 290, 3297, 1395, 422, 1029, 284, 1877, 1502, 13, 46506, 6530, 11, 31835, 62, 1659, 62, 21950, 16034, 13091, 33411, 31835, 62, 1659, 62, 21950...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7515, 6867, 290, 3891, 286, 477, 8926, 20686, 326, 423, 517, 621, 838, 6805, 11, 290, 3297, 1395, 422, 1029, 284, 1877, 1502, 13, 46506, 6530, 11, 31835, 62, 1659, 62, 21950, 16034, 13091, 33411, 31835, 62, 1659, 62, 21950...
What is Score, when Player is 'Tom Lehman'?
SELECT "Score" FROM table_61915 WHERE "Player" = 'tom lehman'
[ 2061, 318, 15178, 11, 618, 7853, 318, 705, 13787, 29921, 805, 30960, 46506, 366, 26595, 1, 16034, 3084, 62, 21, 1129, 1314, 33411, 366, 14140, 1, 796, 705, 39532, 443, 71, 805, 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, 15178, 11, 618, 7853, 318, 705, 13787, 29921, 805, 30960, 46506, 366, 26595, 1, 16034, 3084, 62, 21, 1129, 1314, 33411, 366, 14140, 1, 796, 705, 39532, 443, 71, 805, 6 ]
Which IHSAA Class has a Mascot of bulldogs?
SELECT ihsaa_class FROM table_name_10 WHERE mascot = "bulldogs"
[ 13828, 314, 7998, 3838, 5016, 468, 257, 337, 3372, 313, 286, 6473, 22242, 30, 46506, 1312, 11994, 7252, 62, 4871, 16034, 3084, 62, 3672, 62, 940, 33411, 37358, 796, 366, 16308, 22242, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 314, 7998, 3838, 5016, 468, 257, 337, 3372, 313, 286, 6473, 22242, 30, 46506, 1312, 11994, 7252, 62, 4871, 16034, 3084, 62, 3672, 62, 940, 33411, 37358, 796, 366, 16308, 22242, 1 ]
Show the different countries and the number of members from each Visualize by bar chart, rank by the bar in ascending.
SELECT Country, COUNT(*) FROM member GROUP BY Country ORDER BY Country
[ 15307, 262, 1180, 2678, 290, 262, 1271, 286, 1866, 422, 1123, 15612, 1096, 416, 2318, 8262, 11, 4279, 416, 262, 2318, 287, 41988, 13, 46506, 12946, 11, 327, 28270, 7, 28104, 16034, 2888, 44441, 11050, 12946, 38678, 11050, 12946 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1180, 2678, 290, 262, 1271, 286, 1866, 422, 1123, 15612, 1096, 416, 2318, 8262, 11, 4279, 416, 262, 2318, 287, 41988, 13, 46506, 12946, 11, 327, 28270, 7, 28104, 16034, 2888, 44441, 11050, 12946, 38678, 11050, 12946 ]
Scores of answers by a specific user.
SELECT a.Id AS "post_link", q.Title, a.Score FROM Posts AS a JOIN Posts AS q ON a.ParentId = q.Id WHERE a.OwnerUserId = '##id?210401##' AND a.PostTypeId = 2 ORDER BY a.Id
[ 3351, 2850, 286, 7429, 416, 257, 2176, 2836, 13, 46506, 257, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 10662, 13, 19160, 11, 257, 13, 26595, 16034, 12043, 7054, 257, 32357, 1268, 12043, 7054, 10662, 6177, 257, 13, 24546, 7390, 796, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3351, 2850, 286, 7429, 416, 257, 2176, 2836, 13, 46506, 257, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 10662, 13, 19160, 11, 257, 13, 26595, 16034, 12043, 7054, 257, 32357, 1268, 12043, 7054, 10662, 6177, 257, 13, 24546, 7390, 796, 1...
What is the highest vertical drop among the 1,200 meter long tracks?
SELECT MAX(vertical_drop__m_) FROM table_name_9 WHERE length__m_ = 1 OFFSET 200
[ 2061, 318, 262, 4511, 11723, 4268, 1871, 262, 352, 11, 2167, 16430, 890, 8339, 30, 46506, 25882, 7, 1851, 605, 62, 14781, 834, 76, 62, 8, 16034, 3084, 62, 3672, 62, 24, 33411, 4129, 834, 76, 62, 796, 352, 3963, 10652, 2767, 939 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11723, 4268, 1871, 262, 352, 11, 2167, 16430, 890, 8339, 30, 46506, 25882, 7, 1851, 605, 62, 14781, 834, 76, 62, 8, 16034, 3084, 62, 3672, 62, 24, 33411, 4129, 834, 76, 62, 796, 352, 3963, 10652, 2767, 939 ]
Show the number of documents for different budget type code in a bar chart, order by the names from high to low.
SELECT T1.Budget_Type_Code, COUNT(T1.Budget_Type_Code) FROM Documents_with_Expenses AS T1 JOIN Ref_Budget_Codes AS T2 ON T1.Budget_Type_Code = T2.Budget_Type_Code GROUP BY T1.Budget_Type_Code ORDER BY T1.Budget_Type_Code DESC
[ 15307, 262, 1271, 286, 4963, 329, 1180, 4466, 2099, 2438, 287, 257, 2318, 8262, 11, 1502, 416, 262, 3891, 422, 1029, 284, 1877, 13, 46506, 309, 16, 13, 33, 29427, 62, 6030, 62, 10669, 11, 327, 28270, 7, 51, 16, 13, 33, 29427, 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...
[ 15307, 262, 1271, 286, 4963, 329, 1180, 4466, 2099, 2438, 287, 257, 2318, 8262, 11, 1502, 416, 262, 3891, 422, 1029, 284, 1877, 13, 46506, 309, 16, 13, 33, 29427, 62, 6030, 62, 10669, 11, 327, 28270, 7, 51, 16, 13, 33, 29427, 62, ...
Show all calendar dates and day Numbers. Plot them as line chart.
SELECT Calendar_Date, Day_Number FROM Ref_Calendar
[ 15307, 477, 11845, 9667, 290, 1110, 27797, 13, 28114, 606, 355, 1627, 8262, 13, 46506, 26506, 62, 10430, 11, 3596, 62, 15057, 16034, 6524, 62, 9771, 9239 ]
[ 1, 1, 1, 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, 11845, 9667, 290, 1110, 27797, 13, 28114, 606, 355, 1627, 8262, 13, 46506, 26506, 62, 10430, 11, 3596, 62, 15057, 16034, 6524, 62, 9771, 9239 ]
When Benall DFL is Goorambat with less than 13 wins, what is the least amount of losses?
SELECT MIN("Losses") FROM table_12509 WHERE "Benalla DFL" = 'goorambat' AND "Wins" < '13'
[ 2215, 3932, 439, 360, 3697, 318, 1514, 273, 4131, 265, 351, 1342, 621, 1511, 7864, 11, 644, 318, 262, 1551, 2033, 286, 9089, 30, 46506, 20625, 7203, 43, 793, 274, 4943, 16034, 3084, 62, 1065, 29022, 33411, 366, 11696, 30315, 360, 3697...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3932, 439, 360, 3697, 318, 1514, 273, 4131, 265, 351, 1342, 621, 1511, 7864, 11, 644, 318, 262, 1551, 2033, 286, 9089, 30, 46506, 20625, 7203, 43, 793, 274, 4943, 16034, 3084, 62, 1065, 29022, 33411, 366, 11696, 30315, 360, 3697...
Bar chart x axis color y axis the number of color
SELECT color, COUNT(color) FROM photos GROUP BY color
[ 10374, 8262, 2124, 16488, 3124, 331, 16488, 262, 1271, 286, 3124, 46506, 3124, 11, 327, 28270, 7, 8043, 8, 16034, 5205, 44441, 11050, 3124 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10374, 8262, 2124, 16488, 3124, 331, 16488, 262, 1271, 286, 3124, 46506, 3124, 11, 327, 28270, 7, 8043, 8, 16034, 5205, 44441, 11050, 3124 ]
how many male patients had the procedure titled replace small bowel tube?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.gender = "M" AND procedures.short_title = "Replace small bowel tube"
[ 4919, 867, 4257, 3871, 550, 262, 8771, 11946, 6330, 1402, 35711, 12403, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, 13, 18108, 76, 62, 312, 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, 4257, 3871, 550, 262, 8771, 11946, 6330, 1402, 35711, 12403, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, 13, 18108, 76, 62, 312, 7...
How many points did he win in the race with more than 1.0 poles?
SELECT points FROM table_20500097_1 WHERE poles > 1.0
[ 2437, 867, 2173, 750, 339, 1592, 287, 262, 3234, 351, 517, 621, 352, 13, 15, 24971, 30, 46506, 2173, 16034, 3084, 62, 21261, 830, 5607, 62, 16, 33411, 24971, 1875, 352, 13, 15 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 2173, 750, 339, 1592, 287, 262, 3234, 351, 517, 621, 352, 13, 15, 24971, 30, 46506, 2173, 16034, 3084, 62, 21261, 830, 5607, 62, 16, 33411, 24971, 1875, 352, 13, 15 ]
Which album awarded Paul McGuinness a Lifetime Achievement Award?
SELECT "Album" FROM table_6722 WHERE "Lifetime Achievement Award" = 'paul mcguinness'
[ 13828, 5062, 11343, 3362, 33902, 32990, 257, 40870, 45511, 11289, 30, 46506, 366, 2348, 4435, 1, 16034, 3084, 62, 3134, 1828, 33411, 366, 43, 361, 8079, 45511, 11289, 1, 796, 705, 79, 2518, 36650, 5162, 32990, 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 ]
[ 13828, 5062, 11343, 3362, 33902, 32990, 257, 40870, 45511, 11289, 30, 46506, 366, 2348, 4435, 1, 16034, 3084, 62, 3134, 1828, 33411, 366, 43, 361, 8079, 45511, 11289, 1, 796, 705, 79, 2518, 36650, 5162, 32990, 6 ]
how many days has it been since patient 83182 alendronate sodium was first prescribed in the current hospital encounter?
SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', prescriptions.startdate)) FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 83182 AND admissions.dischtime IS NULL) AND prescriptions.drug = 'alendronate sodium' ORDER BY prescriptions.st...
[ 4919, 867, 1528, 468, 340, 587, 1201, 5827, 9698, 24294, 435, 437, 1313, 378, 21072, 373, 717, 14798, 287, 262, 1459, 4436, 8791, 30, 46506, 352, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694, 28955, 532, 19...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 1528, 468, 340, 587, 1201, 5827, 9698, 24294, 435, 437, 1313, 378, 21072, 373, 717, 14798, 287, 262, 1459, 4436, 8791, 30, 46506, 352, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694, 28955, 532, 19...
Easiest class to fulfill the PreMajor requirement ?
SELECT DISTINCT course.department, course.name, course.number, program_course.workload, program_course.workload FROM course, program_course WHERE program_course.category LIKE '%PreMajor%' AND program_course.course_id = course.course_id AND program_course.workload = (SELECT MIN(PROGRAM_COURSEalias1.workload) FROM progra...
[ 36, 292, 6386, 1398, 284, 14658, 262, 3771, 24206, 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, 17319, 13, 1818, 2220, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 36, 292, 6386, 1398, 284, 14658, 262, 3771, 24206, 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, 17319, 13, 1818, 2220, 1...
how long after the founding of panama city , panama was the city of rio de janeiro , brazil founded ?
SELECT ABS((SELECT "year" FROM table_204_965 WHERE "city" = 'rio de janeiro') - (SELECT "year" FROM table_204_965 WHERE "city" = 'panama city'))
[ 4919, 890, 706, 262, 16636, 286, 3425, 1689, 1748, 837, 3425, 1689, 373, 262, 1748, 286, 374, 952, 390, 474, 1531, 7058, 837, 275, 7098, 9393, 5633, 46506, 29950, 19510, 46506, 366, 1941, 1, 16034, 3084, 62, 18638, 62, 24, 2996, 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...
[ 4919, 890, 706, 262, 16636, 286, 3425, 1689, 1748, 837, 3425, 1689, 373, 262, 1748, 286, 374, 952, 390, 474, 1531, 7058, 837, 275, 7098, 9393, 5633, 46506, 29950, 19510, 46506, 366, 1941, 1, 16034, 3084, 62, 18638, 62, 24, 2996, 33411...
How many people went to the game with the record of 8-10?
SELECT SUM(attendance) FROM table_name_44 WHERE record = "8-10"
[ 2437, 867, 661, 1816, 284, 262, 983, 351, 262, 1700, 286, 807, 12, 940, 30, 46506, 35683, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 2598, 33411, 1700, 796, 366, 23, 12, 940, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 661, 1816, 284, 262, 983, 351, 262, 1700, 286, 807, 12, 940, 30, 46506, 35683, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 2598, 33411, 1700, 796, 366, 23, 12, 940, 1 ]
What is the average number of points for a difference of 55 and an against less than 47?
SELECT AVG("Points") FROM table_38506 WHERE "Difference" = '55' AND "Against" < '47'
[ 2061, 318, 262, 2811, 1271, 286, 2173, 329, 257, 3580, 286, 5996, 290, 281, 1028, 1342, 621, 6298, 30, 46506, 35224, 7203, 40710, 4943, 16034, 3084, 62, 2548, 35638, 33411, 366, 28813, 1945, 1, 796, 705, 2816, 6, 5357, 366, 39276, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 329, 257, 3580, 286, 5996, 290, 281, 1028, 1342, 621, 6298, 30, 46506, 35224, 7203, 40710, 4943, 16034, 3084, 62, 2548, 35638, 33411, 366, 28813, 1945, 1, 796, 705, 2816, 6, 5357, 366, 39276, 1, ...
What engine does Chip Mead of Parts Washer Service use?
SELECT "Engine" FROM table_4611 WHERE "Team" = 'parts washer service' AND "Drivers" = 'chip mead'
[ 2061, 3113, 857, 17869, 21910, 286, 22349, 8920, 372, 4809, 779, 30, 46506, 366, 13798, 1, 16034, 3084, 62, 3510, 1157, 33411, 366, 15592, 1, 796, 705, 42632, 373, 372, 2139, 6, 5357, 366, 20564, 690, 1, 796, 705, 35902, 502, 324, 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 ]
[ 2061, 3113, 857, 17869, 21910, 286, 22349, 8920, 372, 4809, 779, 30, 46506, 366, 13798, 1, 16034, 3084, 62, 3510, 1157, 33411, 366, 15592, 1, 796, 705, 42632, 373, 372, 2139, 6, 5357, 366, 20564, 690, 1, 796, 705, 35902, 502, 324, 6...
What are the names of all the subjects.
SELECT subject_name FROM subjects
[ 2061, 389, 262, 3891, 286, 477, 262, 7481, 13, 46506, 2426, 62, 3672, 16034, 7481 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 262, 3891, 286, 477, 262, 7481, 13, 46506, 2426, 62, 3672, 16034, 7481 ]
my answers to questions that still don't have an accepted answer.
SELECT q.CreationDate AS QDate, q.Id AS "post_link", a.CreationDate AS AnsDate, a.Id AS "post_link", a.Score, a.Id, a.ParentId FROM Posts AS a JOIN Posts AS q ON a.ParentId = q.Id WHERE a.OwnerUserId = 8112776 AND a.PostTypeId = 2 AND a.ClosedDate IS NULL AND q.AcceptedAnswerId IS NULL ORDER BY a.Id
[ 1820, 7429, 284, 2683, 326, 991, 836, 470, 423, 281, 6292, 3280, 13, 46506, 10662, 13, 12443, 341, 10430, 7054, 1195, 10430, 11, 10662, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 257, 13, 12443, 341, 10430, 7054, 28038, 10430, 11, 257...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1820, 7429, 284, 2683, 326, 991, 836, 470, 423, 281, 6292, 3280, 13, 46506, 10662, 13, 12443, 341, 10430, 7054, 1195, 10430, 11, 10662, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 257, 13, 12443, 341, 10430, 7054, 28038, 10430, 11, 257...
What shows for 2009 when the 2012 is 1R?
SELECT 2009 FROM table_name_5 WHERE 2012 = "1r"
[ 2061, 2523, 329, 3717, 618, 262, 2321, 318, 352, 49, 30, 46506, 3717, 16034, 3084, 62, 3672, 62, 20, 33411, 2321, 796, 366, 16, 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, 1, 1 ]
[ 2061, 2523, 329, 3717, 618, 262, 2321, 318, 352, 49, 30, 46506, 3717, 16034, 3084, 62, 3672, 62, 20, 33411, 2321, 796, 366, 16, 81, 1 ]
Show me a bar chart for what are all the employee ids and the names of the countries in which they work?, sort by the total number from low to high.
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 SUM(EMPLOYEE_ID)
[ 15307, 502, 257, 2318, 8262, 329, 644, 389, 477, 262, 6538, 220, 2340, 290, 262, 3891, 286, 262, 2678, 287, 543, 484, 670, 21747, 3297, 416, 262, 2472, 1271, 422, 1877, 284, 1029, 13, 46506, 31404, 40405, 62, 20608, 11, 35683, 7, 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...
[ 15307, 502, 257, 2318, 8262, 329, 644, 389, 477, 262, 6538, 220, 2340, 290, 262, 3891, 286, 262, 2678, 287, 543, 484, 670, 21747, 3297, 416, 262, 2472, 1271, 422, 1877, 284, 1029, 13, 46506, 31404, 40405, 62, 20608, 11, 35683, 7, 36...
List the names of wrestlers in descending order of days held.
SELECT name FROM wrestler ORDER BY days_held DESC
[ 8053, 262, 3891, 286, 41758, 287, 31491, 1502, 286, 1528, 2714, 13, 46506, 1438, 16034, 34845, 38678, 11050, 1528, 62, 10217, 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 ]
[ 8053, 262, 3891, 286, 41758, 287, 31491, 1502, 286, 1528, 2714, 13, 46506, 1438, 16034, 34845, 38678, 11050, 1528, 62, 10217, 22196, 34 ]
What are the payment dates for any payments that have an amount greater than 10 or were handled by a staff member with the first name Elsa, and count them by a bar chart, and show by the total number in asc please.
SELECT payment_date, COUNT(payment_date) FROM payment WHERE amount > 10 UNION SELECT T1.payment_date FROM payment AS T1 JOIN staff AS T2 ON T1.staff_id = T2.staff_id WHERE T2.first_name = 'Elsa' ORDER BY COUNT(payment_date)
[ 2061, 389, 262, 6074, 9667, 329, 597, 7524, 326, 423, 281, 2033, 3744, 621, 838, 393, 547, 12118, 416, 257, 3085, 2888, 351, 262, 717, 1438, 19226, 11, 290, 954, 606, 416, 257, 2318, 8262, 11, 290, 905, 416, 262, 2472, 1271, 287, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6074, 9667, 329, 597, 7524, 326, 423, 281, 2033, 3744, 621, 838, 393, 547, 12118, 416, 257, 3085, 2888, 351, 262, 717, 1438, 19226, 11, 290, 954, 606, 416, 257, 2318, 8262, 11, 290, 905, 416, 262, 2472, 1271, 287, ...
what is minimum age of patients whose days of hospital stay is 8 and admission year is greater than or equal to 2103?
SELECT MIN(demographic.age) FROM demographic WHERE demographic.days_stay = "8" AND demographic.admityear >= "2103"
[ 10919, 318, 5288, 2479, 286, 3871, 3025, 1528, 286, 4436, 2652, 318, 807, 290, 13938, 614, 318, 3744, 621, 393, 4961, 284, 362, 15197, 30, 46506, 20625, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 12545, 62, 31712, 796,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 5288, 2479, 286, 3871, 3025, 1528, 286, 4436, 2652, 318, 807, 290, 13938, 614, 318, 3744, 621, 393, 4961, 284, 362, 15197, 30, 46506, 20625, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 12545, 62, 31712, 796,...
Which writer had voice characters of JDR, BB, TN, LR, PS?
SELECT writer FROM table_name_13 WHERE voiced_character_s_ = "jdr, bb, tn, lr, ps"
[ 13828, 6260, 550, 3809, 3435, 286, 449, 7707, 11, 12597, 11, 29025, 11, 37491, 11, 6599, 30, 46506, 6260, 16034, 3084, 62, 3672, 62, 1485, 33411, 21346, 62, 22769, 62, 82, 62, 796, 366, 73, 7109, 11, 275, 65, 11, 256, 77, 11, 300,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6260, 550, 3809, 3435, 286, 449, 7707, 11, 12597, 11, 29025, 11, 37491, 11, 6599, 30, 46506, 6260, 16034, 3084, 62, 3672, 62, 1485, 33411, 21346, 62, 22769, 62, 82, 62, 796, 366, 73, 7109, 11, 275, 65, 11, 256, 77, 11, 300,...
when was the last time in 2104 patient 42905 had surgery?
SELECT procedures_icd.charttime FROM procedures_icd WHERE procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 42905) AND STRFTIME('%y', procedures_icd.charttime) = '2104' ORDER BY procedures_icd.charttime DESC LIMIT 1
[ 12518, 373, 262, 938, 640, 287, 362, 13464, 5827, 42313, 2713, 550, 8185, 30, 46506, 9021, 62, 291, 67, 13, 40926, 2435, 16034, 9021, 62, 291, 67, 33411, 9021, 62, 291, 67, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 373, 262, 938, 640, 287, 362, 13464, 5827, 42313, 2713, 550, 8185, 30, 46506, 9021, 62, 291, 67, 13, 40926, 2435, 16034, 9021, 62, 291, 67, 33411, 9021, 62, 291, 67, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108,...
What is Team (B), when S No is less than 18, when Margin is 8 Wickets, and when Match Date is Oct 30, 1989?
SELECT team__b_ FROM table_name_31 WHERE s_no < 18 AND margin = "8 wickets" AND match_date = "oct 30, 1989"
[ 2061, 318, 4816, 357, 33, 828, 618, 311, 1400, 318, 1342, 621, 1248, 11, 618, 11899, 259, 318, 807, 370, 15970, 11, 290, 618, 13225, 7536, 318, 2556, 1542, 11, 11104, 30, 46506, 1074, 834, 65, 62, 16034, 3084, 62, 3672, 62, 3132, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4816, 357, 33, 828, 618, 311, 1400, 318, 1342, 621, 1248, 11, 618, 11899, 259, 318, 807, 370, 15970, 11, 290, 618, 13225, 7536, 318, 2556, 1542, 11, 11104, 30, 46506, 1074, 834, 65, 62, 16034, 3084, 62, 3672, 62, 3132, ...
find the number of patients on pr route of drug administration who have upper gi bleed primary disease.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.diagnosis = "UPPER GI BLEED" AND prescriptions.route = "PR"
[ 19796, 262, 1271, 286, 3871, 319, 778, 6339, 286, 2563, 3662, 508, 423, 6727, 308, 72, 30182, 4165, 4369, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 617...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 19796, 262, 1271, 286, 3871, 319, 778, 6339, 286, 2563, 3662, 508, 423, 6727, 308, 72, 30182, 4165, 4369, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 617...
My Dupe Comments on Questions with Close Votes.
SELECT DISTINCT C.PostId AS "post_link", C.CreationDate, C.Score, V.Id FROM Comments AS C, Posts AS P, Votes AS V, VoteTypes AS Vt WHERE C.UserId = '##userid##' AND V.VoteTypeId = 6 AND Text LIKE '%duplicate%' AND P.Id = C.PostId AND P.Id = V.PostId AND Vt.Id = V.VoteTypeId
[ 3666, 10343, 431, 19502, 319, 20396, 351, 13872, 39584, 13, 46506, 360, 8808, 1268, 4177, 327, 13, 6307, 7390, 7054, 366, 7353, 62, 8726, 1600, 327, 13, 12443, 341, 10430, 11, 327, 13, 26595, 11, 569, 13, 7390, 16034, 19502, 7054, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3666, 10343, 431, 19502, 319, 20396, 351, 13872, 39584, 13, 46506, 360, 8808, 1268, 4177, 327, 13, 6307, 7390, 7054, 366, 7353, 62, 8726, 1600, 327, 13, 12443, 341, 10430, 11, 327, 13, 26595, 11, 569, 13, 7390, 16034, 19502, 7054, 327...
what is death status and diagnoses short title of subject name travis hofman?
SELECT demographic.expire_flag, diagnoses.short_title FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.name = "Travis Hofman"
[ 10919, 318, 1918, 3722, 290, 40567, 1790, 3670, 286, 2426, 1438, 1291, 4703, 289, 1659, 805, 30, 46506, 16728, 13, 1069, 5111, 62, 32109, 11, 40567, 13, 19509, 62, 7839, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 1918, 3722, 290, 40567, 1790, 3670, 286, 2426, 1438, 1291, 4703, 289, 1659, 805, 30, 46506, 16728, 13, 1069, 5111, 62, 32109, 11, 40567, 13, 19509, 62, 7839, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18...
Who was the home team that played against Aylesbury Vale?
SELECT "Home team" FROM table_59474 WHERE "Away team" = 'aylesbury vale'
[ 8241, 373, 262, 1363, 1074, 326, 2826, 1028, 13709, 829, 10711, 31832, 30, 46506, 366, 16060, 1074, 1, 16034, 3084, 62, 3270, 38652, 33411, 366, 32, 1014, 1074, 1, 796, 705, 323, 829, 10711, 410, 1000, 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 ]
[ 8241, 373, 262, 1363, 1074, 326, 2826, 1028, 13709, 829, 10711, 31832, 30, 46506, 366, 16060, 1074, 1, 16034, 3084, 62, 3270, 38652, 33411, 366, 32, 1014, 1074, 1, 796, 705, 323, 829, 10711, 410, 1000, 6 ]
When was the build date for ff20 PRR class and erie built builder's model?
SELECT "Build date" FROM table_56698 WHERE "PRR Class" = 'ff20' AND "Builder\u2019s Model" = 'erie built'
[ 2215, 373, 262, 1382, 3128, 329, 31246, 1238, 4810, 49, 1398, 290, 1931, 494, 3170, 27098, 338, 2746, 30, 46506, 366, 15580, 3128, 1, 16034, 3084, 62, 20, 2791, 4089, 33411, 366, 4805, 49, 5016, 1, 796, 705, 487, 1238, 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 ]
[ 2215, 373, 262, 1382, 3128, 329, 31246, 1238, 4810, 49, 1398, 290, 1931, 494, 3170, 27098, 338, 2746, 30, 46506, 366, 15580, 3128, 1, 16034, 3084, 62, 20, 2791, 4089, 33411, 366, 4805, 49, 5016, 1, 796, 705, 487, 1238, 6, 5357, 366,...
What was the record of the game played on November 7?
SELECT record FROM table_name_45 WHERE game < 7 AND date = "november 7"
[ 2061, 373, 262, 1700, 286, 262, 983, 2826, 319, 3389, 767, 30, 46506, 1700, 16034, 3084, 62, 3672, 62, 2231, 33411, 983, 1279, 767, 5357, 3128, 796, 366, 77, 3239, 767, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 1700, 286, 262, 983, 2826, 319, 3389, 767, 30, 46506, 1700, 16034, 3084, 62, 3672, 62, 2231, 33411, 983, 1279, 767, 5357, 3128, 796, 366, 77, 3239, 767, 1 ]
What was the total amount of matches for Alan Shearer?
SELECT COUNT(matches) FROM table_name_81 WHERE name = "alan shearer"
[ 2061, 373, 262, 2472, 2033, 286, 7466, 329, 12246, 1375, 11258, 30, 46506, 327, 28270, 7, 6759, 2052, 8, 16034, 3084, 62, 3672, 62, 6659, 33411, 1438, 796, 366, 25786, 673, 11258, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2033, 286, 7466, 329, 12246, 1375, 11258, 30, 46506, 327, 28270, 7, 6759, 2052, 8, 16034, 3084, 62, 3672, 62, 6659, 33411, 1438, 796, 366, 25786, 673, 11258, 1 ]
patients with positive results of any of the following serological tests: human immunodeficiency virus ( hiv ) _ 1 antibody, hepatitis b virus ( hbv ) surface antigen ( hbsag ) , anti _ hepatitis b core antibody ( hbcab ) , and anti _ hepatitis c virus ( hcv ) antibody ( hcv ab ) .
SELECT * FROM table_test_31 WHERE serological_tests = 1 OR (hiv_infection = 1 OR hbv_surface_antigen_hbsag = 1 OR anti_hepatitis_b_core_antibody = 1 OR hbcab = 1 OR anti_hepatitis_c_virus_hcv_antibody = 1 OR hcv_ab = 1)
[ 8071, 2334, 351, 3967, 2482, 286, 597, 286, 262, 1708, 1055, 2770, 5254, 25, 1692, 16217, 375, 891, 19777, 9471, 357, 289, 452, 1267, 4808, 352, 35757, 11, 37439, 275, 9471, 357, 289, 65, 85, 1267, 4417, 50059, 357, 289, 1443, 363, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 8071, 2334, 351, 3967, 2482, 286, 597, 286, 262, 1708, 1055, 2770, 5254, 25, 1692, 16217, 375, 891, 19777, 9471, 357, 289, 452, 1267, 4808, 352, 35757, 11, 37439, 275, 9471, 357, 289, 65, 85, 1267, 4417, 50059, 357, 289, 1443, 363, ...
What was the result for 10/04/1947?
SELECT result FROM table_name_75 WHERE date = "10/04/1947"
[ 2061, 373, 262, 1255, 329, 838, 14, 3023, 14, 1129, 2857, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 2425, 33411, 3128, 796, 366, 940, 14, 3023, 14, 1129, 2857, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 838, 14, 3023, 14, 1129, 2857, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 2425, 33411, 3128, 796, 366, 940, 14, 3023, 14, 1129, 2857, 1 ]
Find the total population of the top 3 districts with the largest area.
SELECT SUM(city_population) FROM district ORDER BY city_area DESC LIMIT 3
[ 16742, 262, 2472, 3265, 286, 262, 1353, 513, 12815, 351, 262, 4387, 1989, 13, 46506, 35683, 7, 19205, 62, 39748, 8, 16034, 4783, 38678, 11050, 1748, 62, 20337, 22196, 34, 27564, 2043, 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, 1, 1, 1, 1 ]
[ 16742, 262, 2472, 3265, 286, 262, 1353, 513, 12815, 351, 262, 4387, 1989, 13, 46506, 35683, 7, 19205, 62, 39748, 8, 16034, 4783, 38678, 11050, 1748, 62, 20337, 22196, 34, 27564, 2043, 513 ]
If unknown is larger than 1.0, what is the maximum two year amount?
SELECT MAX(two_years) FROM table_174266_6 WHERE unknown > 1.0
[ 1532, 6439, 318, 4025, 621, 352, 13, 15, 11, 644, 318, 262, 5415, 734, 614, 2033, 30, 46506, 25882, 7, 11545, 62, 19002, 8, 16034, 3084, 62, 22985, 25540, 62, 21, 33411, 6439, 1875, 352, 13, 15 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1532, 6439, 318, 4025, 621, 352, 13, 15, 11, 644, 318, 262, 5415, 734, 614, 2033, 30, 46506, 25882, 7, 11545, 62, 19002, 8, 16034, 3084, 62, 22985, 25540, 62, 21, 33411, 6439, 1875, 352, 13, 15 ]
Give me a list of all the distinct building descriptions.
SELECT DISTINCT building_description FROM apartment_buildings
[ 23318, 502, 257, 1351, 286, 477, 262, 7310, 2615, 16969, 13, 46506, 360, 8808, 1268, 4177, 2615, 62, 11213, 16034, 7962, 62, 11249, 654 ]
[ 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, 1351, 286, 477, 262, 7310, 2615, 16969, 13, 46506, 360, 8808, 1268, 4177, 2615, 62, 11213, 16034, 7962, 62, 11249, 654 ]
what were the result in semifinals when saengsawang ( tha ) l 9-15 was in 1/8 finals?
SELECT "Semifinals" FROM table_22980 WHERE "1/8 Finals" = 'Saengsawang ( THA ) L 9-15'
[ 10919, 547, 262, 1255, 287, 47633, 618, 473, 1516, 43439, 648, 357, 28110, 1267, 300, 860, 12, 1314, 373, 287, 352, 14, 23, 18576, 30, 46506, 366, 13900, 361, 6897, 1, 16034, 3084, 62, 23539, 1795, 33411, 366, 16, 14, 23, 19705, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1255, 287, 47633, 618, 473, 1516, 43439, 648, 357, 28110, 1267, 300, 860, 12, 1314, 373, 287, 352, 14, 23, 18576, 30, 46506, 366, 13900, 361, 6897, 1, 16034, 3084, 62, 23539, 1795, 33411, 366, 16, 14, 23, 19705, 1, ...
How many bronze medals for Romania when the silver count is more than 1?
SELECT AVG("Bronze") FROM table_63572 WHERE "Nation" = 'romania' AND "Silver" > '1'
[ 2437, 867, 22101, 28057, 329, 23356, 618, 262, 8465, 954, 318, 517, 621, 352, 30, 46506, 35224, 7203, 18760, 2736, 4943, 16034, 3084, 62, 48250, 4761, 33411, 366, 46108, 1, 796, 705, 398, 5411, 6, 5357, 366, 26766, 1, 1875, 705, 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 ]
[ 2437, 867, 22101, 28057, 329, 23356, 618, 262, 8465, 954, 318, 517, 621, 352, 30, 46506, 35224, 7203, 18760, 2736, 4943, 16034, 3084, 62, 48250, 4761, 33411, 366, 46108, 1, 796, 705, 398, 5411, 6, 5357, 366, 26766, 1, 1875, 705, 16, ...
what is the total score for the date of january 3?
SELECT COUNT(score) FROM table_13619027_7 WHERE date = "January 3"
[ 10919, 318, 262, 2472, 4776, 329, 262, 3128, 286, 42897, 2838, 513, 30, 46506, 327, 28270, 7, 26675, 8, 16034, 3084, 62, 20809, 19782, 1983, 62, 22, 33411, 3128, 796, 366, 21339, 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, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 2472, 4776, 329, 262, 3128, 286, 42897, 2838, 513, 30, 46506, 327, 28270, 7, 26675, 8, 16034, 3084, 62, 20809, 19782, 1983, 62, 22, 33411, 3128, 796, 366, 21339, 513, 1 ]
provide the number of patients whose discharge location is short term hospital and admission year is less than 2182?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.discharge_location = "SHORT TERM HOSPITAL" AND demographic.admityear < "2182"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 17655, 4067, 318, 1790, 3381, 4436, 290, 13938, 614, 318, 1342, 621, 362, 24294, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 638...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 15234, 485, 262, 1271, 286, 3871, 3025, 17655, 4067, 318, 1790, 3381, 4436, 290, 13938, 614, 318, 1342, 621, 362, 24294, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 638...
show me round trip flights from BURBANK to SEATTLE
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, fare, flight, flight_fare WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SEATTLE' AND NOT fare.round_trip_cost IS NULL AND flight_fare.fare_id ...
[ 12860, 502, 2835, 5296, 13956, 422, 45604, 33, 15154, 284, 7946, 1404, 14990, 33635, 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, 7054...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12860, 502, 2835, 5296, 13956, 422, 45604, 33, 15154, 284, 7946, 1404, 14990, 33635, 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, 7054...
what position did the player from connecticut play
SELECT "Position" FROM table_15874 WHERE "School/Club Team" = 'Connecticut'
[ 10919, 2292, 750, 262, 2137, 422, 2018, 13554, 711, 46506, 366, 26545, 1, 16034, 3084, 62, 21273, 4524, 33411, 366, 26130, 14, 42350, 4816, 1, 796, 705, 13313, 13554, 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 ]
[ 10919, 2292, 750, 262, 2137, 422, 2018, 13554, 711, 46506, 366, 26545, 1, 16034, 3084, 62, 21273, 4524, 33411, 366, 26130, 14, 42350, 4816, 1, 796, 705, 13313, 13554, 6 ]
What is the highest decile of Tarras school, which had a state authority?
SELECT MAX(decile) FROM table_name_58 WHERE authority = "state" AND name = "tarras school"
[ 2061, 318, 262, 4511, 875, 576, 286, 309, 3258, 292, 1524, 11, 543, 550, 257, 1181, 4934, 30, 46506, 25882, 7, 12501, 576, 8, 16034, 3084, 62, 3672, 62, 3365, 33411, 4934, 796, 366, 5219, 1, 5357, 1438, 796, 366, 83, 3258, 292, 15...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4511, 875, 576, 286, 309, 3258, 292, 1524, 11, 543, 550, 257, 1181, 4934, 30, 46506, 25882, 7, 12501, 576, 8, 16034, 3084, 62, 3672, 62, 3365, 33411, 4934, 796, 366, 5219, 1, 5357, 1438, 796, 366, 83, 3258, 292, 15...
County town of castlebar has the most populous city/town?
SELECT "Most populous city/town" FROM table_37794 WHERE "County town" = 'castlebar'
[ 12332, 88, 3240, 286, 16669, 5657, 468, 262, 749, 44042, 1748, 14, 12735, 30, 46506, 366, 6943, 44042, 1748, 14, 12735, 1, 16034, 3084, 62, 2718, 50242, 33411, 366, 12332, 88, 3240, 1, 796, 705, 18676, 5657, 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 ]
[ 12332, 88, 3240, 286, 16669, 5657, 468, 262, 749, 44042, 1748, 14, 12735, 30, 46506, 366, 6943, 44042, 1748, 14, 12735, 1, 16034, 3084, 62, 2718, 50242, 33411, 366, 12332, 88, 3240, 1, 796, 705, 18676, 5657, 6 ]
What is taipei's lowest 2010 population?
SELECT MIN(population__2010_) FROM table_name_99 WHERE city = "taipei"
[ 2061, 318, 256, 1872, 33265, 338, 9016, 3050, 3265, 30, 46506, 20625, 7, 39748, 834, 10333, 62, 8, 16034, 3084, 62, 3672, 62, 2079, 33411, 1748, 796, 366, 83, 1872, 33265, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 256, 1872, 33265, 338, 9016, 3050, 3265, 30, 46506, 20625, 7, 39748, 834, 10333, 62, 8, 16034, 3084, 62, 3672, 62, 2079, 33411, 1748, 796, 366, 83, 1872, 33265, 1 ]
What was the music for the team who earned a score of 13 (5, 4, 4)?
SELECT music FROM table_name_99 WHERE score = "13 (5, 4, 4)"
[ 2061, 373, 262, 2647, 329, 262, 1074, 508, 7366, 257, 4776, 286, 1511, 357, 20, 11, 604, 11, 604, 19427, 46506, 2647, 16034, 3084, 62, 3672, 62, 2079, 33411, 4776, 796, 366, 1485, 357, 20, 11, 604, 11, 604, 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, 373, 262, 2647, 329, 262, 1074, 508, 7366, 257, 4776, 286, 1511, 357, 20, 11, 604, 11, 604, 19427, 46506, 2647, 16034, 3084, 62, 3672, 62, 2079, 33411, 4776, 796, 366, 1485, 357, 20, 11, 604, 11, 604, 16725 ]
What result has texas longhorns as the opponent?
SELECT "Result" FROM table_39764 WHERE "Opponent" = 'texas longhorns'
[ 2061, 1255, 468, 48659, 292, 300, 19757, 19942, 355, 262, 6125, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 33372, 2414, 33411, 366, 27524, 3471, 1, 796, 705, 16886, 292, 300, 19757, 19942, 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, 1255, 468, 48659, 292, 300, 19757, 19942, 355, 262, 6125, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 33372, 2414, 33411, 366, 27524, 3471, 1, 796, 705, 16886, 292, 300, 19757, 19942, 6 ]
Which round has a Venue of nicosia, and a Opponent of levski sofia zapad?
SELECT "Round" FROM table_54196 WHERE "Venue" = 'nicosia' AND "Opponent" = 'levski sofia zapad'
[ 13828, 2835, 468, 257, 9932, 518, 286, 9200, 418, 544, 11, 290, 257, 9385, 3471, 286, 443, 14259, 4106, 523, 69, 544, 1976, 499, 324, 30, 46506, 366, 22685, 1, 16034, 3084, 62, 4051, 25272, 33411, 366, 37522, 518, 1, 796, 705, 6988,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2835, 468, 257, 9932, 518, 286, 9200, 418, 544, 11, 290, 257, 9385, 3471, 286, 443, 14259, 4106, 523, 69, 544, 1976, 499, 324, 30, 46506, 366, 22685, 1, 16034, 3084, 62, 4051, 25272, 33411, 366, 37522, 518, 1, 796, 705, 6988,...
What was the score of the Home team in the game that had the Away team of south melbourne?
SELECT home_team AS score FROM table_name_29 WHERE away_team = "south melbourne"
[ 2061, 373, 262, 4776, 286, 262, 5995, 1074, 287, 262, 983, 326, 550, 262, 21986, 1074, 286, 5366, 7758, 12544, 30, 46506, 1363, 62, 15097, 7054, 4776, 16034, 3084, 62, 3672, 62, 1959, 33411, 1497, 62, 15097, 796, 366, 35782, 7758, 125...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5995, 1074, 287, 262, 983, 326, 550, 262, 21986, 1074, 286, 5366, 7758, 12544, 30, 46506, 1363, 62, 15097, 7054, 4776, 16034, 3084, 62, 3672, 62, 1959, 33411, 1497, 62, 15097, 796, 366, 35782, 7758, 125...
What is the Nation, when the number of Bronze is less than 17, and when the number of Gold is less than 16?
SELECT "Nation" FROM table_45289 WHERE "Bronze" < '17' AND "Gold" < '16'
[ 2061, 318, 262, 8741, 11, 618, 262, 1271, 286, 19461, 318, 1342, 621, 1596, 11, 290, 618, 262, 1271, 286, 3561, 318, 1342, 621, 1467, 30, 46506, 366, 46108, 1, 16034, 3084, 62, 2231, 27693, 33411, 366, 18760, 2736, 1, 1279, 705, 155...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8741, 11, 618, 262, 1271, 286, 19461, 318, 1342, 621, 1596, 11, 290, 618, 262, 1271, 286, 3561, 318, 1342, 621, 1467, 30, 46506, 366, 46108, 1, 16034, 3084, 62, 2231, 27693, 33411, 366, 18760, 2736, 1, 1279, 705, 155...
Which Voltage Center (V) has an S-Spec Number of sk096?
SELECT voltage_center__v_ FROM table_name_76 WHERE s_spec_number = "sk096"
[ 13828, 45444, 3337, 357, 53, 8, 468, 281, 311, 12, 22882, 7913, 286, 1341, 2931, 21, 30, 46506, 15004, 62, 16159, 834, 85, 62, 16034, 3084, 62, 3672, 62, 4304, 33411, 264, 62, 16684, 62, 17618, 796, 366, 8135, 2931, 21, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 45444, 3337, 357, 53, 8, 468, 281, 311, 12, 22882, 7913, 286, 1341, 2931, 21, 30, 46506, 15004, 62, 16159, 834, 85, 62, 16034, 3084, 62, 3672, 62, 4304, 33411, 264, 62, 16684, 62, 17618, 796, 366, 8135, 2931, 21, 1 ]
What are the grades I 've been given in classes taught by Prof. Gallagher ?
SELECT DISTINCT student_record.grade FROM student_record INNER JOIN offering_instructor ON student_record.offering_id = offering_instructor.offering_id INNER JOIN instructor ON offering_instructor.instructor_id = instructor.instructor_id WHERE LOWER(instructor.name) LIKE '%Gallagher%' AND student_record.student_id = 1
[ 2061, 389, 262, 19051, 314, 705, 303, 587, 1813, 287, 6097, 7817, 416, 4415, 13, 38580, 5633, 46506, 360, 8808, 1268, 4177, 3710, 62, 22105, 13, 9526, 16034, 3710, 62, 22105, 3268, 21479, 32357, 1268, 6011, 62, 259, 7249, 273, 6177, 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...
[ 2061, 389, 262, 19051, 314, 705, 303, 587, 1813, 287, 6097, 7817, 416, 4415, 13, 38580, 5633, 46506, 360, 8808, 1268, 4177, 3710, 62, 22105, 13, 9526, 16034, 3710, 62, 22105, 3268, 21479, 32357, 1268, 6011, 62, 259, 7249, 273, 6177, 3...
What was the distance of the race in which Northerly raced in group G3?
SELECT "Distance" FROM table_18850 WHERE "Group" = 'G3'
[ 2061, 373, 262, 5253, 286, 262, 3234, 287, 543, 15209, 372, 306, 32897, 287, 1448, 402, 18, 30, 46506, 366, 45767, 1, 16034, 3084, 62, 20356, 1120, 33411, 366, 13247, 1, 796, 705, 38, 18, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 5253, 286, 262, 3234, 287, 543, 15209, 372, 306, 32897, 287, 1448, 402, 18, 30, 46506, 366, 45767, 1, 16034, 3084, 62, 20356, 1120, 33411, 366, 13247, 1, 796, 705, 38, 18, 6 ]
How did the School/Club Team of Manuel Luis Quezon acquire their Forward?
SELECT acquisition_via FROM table_name_53 WHERE position = "forward" AND school_club_team = "manuel luis quezon"
[ 2437, 750, 262, 3961, 14, 42350, 4816, 286, 25995, 20894, 4670, 26361, 12831, 511, 19530, 30, 46506, 12673, 62, 8869, 16034, 3084, 62, 3672, 62, 4310, 33411, 2292, 796, 366, 11813, 1, 5357, 1524, 62, 18664, 62, 15097, 796, 366, 18713, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 750, 262, 3961, 14, 42350, 4816, 286, 25995, 20894, 4670, 26361, 12831, 511, 19530, 30, 46506, 12673, 62, 8869, 16034, 3084, 62, 3672, 62, 4310, 33411, 2292, 796, 366, 11813, 1, 5357, 1524, 62, 18664, 62, 15097, 796, 366, 18713, ...
What did South Melbourne score when they were the Away team?
SELECT away_team AS score FROM table_name_21 WHERE away_team = "south melbourne"
[ 2061, 750, 2520, 14819, 4776, 618, 484, 547, 262, 21986, 1074, 30, 46506, 1497, 62, 15097, 7054, 4776, 16034, 3084, 62, 3672, 62, 2481, 33411, 1497, 62, 15097, 796, 366, 35782, 7758, 12544, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 750, 2520, 14819, 4776, 618, 484, 547, 262, 21986, 1074, 30, 46506, 1497, 62, 15097, 7054, 4776, 16034, 3084, 62, 3672, 62, 2481, 33411, 1497, 62, 15097, 796, 366, 35782, 7758, 12544, 1 ]
Who is the Conductor who had Stephen Barlow as Director?
SELECT conductor FROM table_name_22 WHERE director = "stephen barlow"
[ 8241, 318, 262, 9724, 33029, 508, 550, 7970, 2409, 9319, 355, 5890, 30, 46506, 39206, 16034, 3084, 62, 3672, 62, 1828, 33411, 3437, 796, 366, 9662, 831, 2318, 9319, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 9724, 33029, 508, 550, 7970, 2409, 9319, 355, 5890, 30, 46506, 39206, 16034, 3084, 62, 3672, 62, 1828, 33411, 3437, 796, 366, 9662, 831, 2318, 9319, 1 ]
Name the team for june 20
SELECT team FROM table_2139390_2 WHERE date = "June 20"
[ 5376, 262, 1074, 329, 474, 1726, 1160, 46506, 1074, 16034, 3084, 62, 17, 20219, 25964, 62, 17, 33411, 3128, 796, 366, 15749, 1160, 1 ]
[ 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, 1074, 329, 474, 1726, 1160, 46506, 1074, 16034, 3084, 62, 17, 20219, 25964, 62, 17, 33411, 3128, 796, 366, 15749, 1160, 1 ]
what is primary disease and drug route of subject id 2560?
SELECT demographic.diagnosis, prescriptions.route FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.subject_id = "2560"
[ 10919, 318, 4165, 4369, 290, 2563, 6339, 286, 2426, 4686, 1679, 1899, 30, 46506, 16728, 13, 47356, 5958, 11, 34092, 13, 38629, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, 18108, 76, 62, 312, 796, 34092, 13, 18108, 76...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 4165, 4369, 290, 2563, 6339, 286, 2426, 4686, 1679, 1899, 30, 46506, 16728, 13, 47356, 5958, 11, 34092, 13, 38629, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, 18108, 76, 62, 312, 796, 34092, 13, 18108, 76...
What is the id of the candidate who most recently accessed the course?
SELECT candidate_id FROM candidate_assessments ORDER BY assessment_date DESC LIMIT 1
[ 2061, 318, 262, 4686, 286, 262, 4540, 508, 749, 2904, 17535, 262, 1781, 30, 46506, 4540, 62, 312, 16034, 4540, 62, 562, 408, 902, 38678, 11050, 8922, 62, 4475, 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 ]
[ 2061, 318, 262, 4686, 286, 262, 4540, 508, 749, 2904, 17535, 262, 1781, 30, 46506, 4540, 62, 312, 16034, 4540, 62, 562, 408, 902, 38678, 11050, 8922, 62, 4475, 22196, 34, 27564, 2043, 352 ]
What is the least value of joined?
SELECT MIN(joined) FROM table_261954_1
[ 2061, 318, 262, 1551, 1988, 286, 5399, 30, 46506, 20625, 7, 46416, 8, 16034, 3084, 62, 2075, 1129, 4051, 62, 16 ]
[ 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, 1988, 286, 5399, 30, 46506, 20625, 7, 46416, 8, 16034, 3084, 62, 2075, 1129, 4051, 62, 16 ]
What team was the home team when the record was 11 8 2?
SELECT home FROM table_name_26 WHERE record = "11–8–2"
[ 2061, 1074, 373, 262, 1363, 1074, 618, 262, 1700, 373, 1367, 807, 362, 30, 46506, 1363, 16034, 3084, 62, 3672, 62, 2075, 33411, 1700, 796, 366, 1157, 1906, 23, 1906, 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 ]
[ 2061, 1074, 373, 262, 1363, 1074, 618, 262, 1700, 373, 1367, 807, 362, 30, 46506, 1363, 16034, 3084, 62, 3672, 62, 2075, 33411, 1700, 796, 366, 1157, 1906, 23, 1906, 17, 1 ]
How many millions of viewers did watch Episode 5?
SELECT "Viewers(millions)" FROM table_17869 WHERE "Episode" = 'Episode 5'
[ 2437, 867, 5242, 286, 10209, 750, 2342, 7922, 642, 30, 46506, 366, 7680, 364, 7, 17805, 507, 16725, 16034, 3084, 62, 23188, 3388, 33411, 366, 23758, 1, 796, 705, 23758, 642, 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 ]
[ 2437, 867, 5242, 286, 10209, 750, 2342, 7922, 642, 30, 46506, 366, 7680, 364, 7, 17805, 507, 16725, 16034, 3084, 62, 23188, 3388, 33411, 366, 23758, 1, 796, 705, 23758, 642, 6 ]
The theme Auditioner's Choice has what song choice?
SELECT song_choice FROM table_26250199_1 WHERE theme = "Auditioner's Choice"
[ 464, 7505, 7591, 653, 263, 338, 18502, 468, 644, 3496, 3572, 30, 46506, 3496, 62, 25541, 16034, 3084, 62, 2075, 1495, 486, 2079, 62, 16, 33411, 7505, 796, 366, 16353, 653, 263, 338, 18502, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 464, 7505, 7591, 653, 263, 338, 18502, 468, 644, 3496, 3572, 30, 46506, 3496, 62, 25541, 16034, 3084, 62, 2075, 1495, 486, 2079, 62, 16, 33411, 7505, 796, 366, 16353, 653, 263, 338, 18502, 1 ]
first i'd like to fly from PHILADELPHIA to DALLAS and fly from DALLAS to SAN FRANCISCO
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, airport_service AS AIRPORT_SERVICE_2, city AS CITY_0, city AS CITY_1, city AS CITY_2, flight, flight_stop WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SAN FRANCISCO' AND CIT...
[ 11085, 1312, 1549, 588, 284, 6129, 422, 9370, 4146, 2885, 3698, 11909, 3539, 284, 360, 7036, 1921, 290, 6129, 422, 360, 7036, 1921, 284, 37376, 8782, 20940, 37719, 14058, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 90...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 11085, 1312, 1549, 588, 284, 6129, 422, 9370, 4146, 2885, 3698, 11909, 3539, 284, 360, 7036, 1921, 290, 6129, 422, 360, 7036, 1921, 284, 37376, 8782, 20940, 37719, 14058, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 90...
how many patients admitted before 2162 underwent the lab test mcv?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admityear < "2162" AND lab.label = "MCV"
[ 4919, 867, 3871, 6848, 878, 362, 25061, 25289, 262, 2248, 1332, 285, 33967, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108, 76, 62, 31...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 3871, 6848, 878, 362, 25061, 25289, 262, 2248, 1332, 285, 33967, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108, 76, 62, 31...
In what year(s) did South Korea win silver?
SELECT "Year" FROM table_36364 WHERE "Silver" = 'south korea'
[ 818, 644, 614, 7, 82, 8, 750, 2520, 4969, 1592, 8465, 30, 46506, 366, 17688, 1, 16034, 3084, 62, 2623, 26780, 33411, 366, 26766, 1, 796, 705, 35782, 479, 46215, 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 ]
[ 818, 644, 614, 7, 82, 8, 750, 2520, 4969, 1592, 8465, 30, 46506, 366, 17688, 1, 16034, 3084, 62, 2623, 26780, 33411, 366, 26766, 1, 796, 705, 35782, 479, 46215, 6 ]
What was the lowest Pick number of Player Brian Bradley from Canada, in a Draft year before 1985?
SELECT MIN("Pick") FROM table_55236 WHERE "Nationality" = 'canada' AND "Draft" < '1985' AND "Player" = 'brian bradley'
[ 2061, 373, 262, 9016, 12346, 1271, 286, 7853, 8403, 16182, 422, 3340, 11, 287, 257, 13650, 614, 878, 12863, 30, 46506, 20625, 7203, 31686, 4943, 16034, 3084, 62, 2816, 24940, 33411, 366, 16186, 414, 1, 796, 705, 5171, 4763, 6, 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, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 9016, 12346, 1271, 286, 7853, 8403, 16182, 422, 3340, 11, 287, 257, 13650, 614, 878, 12863, 30, 46506, 20625, 7203, 31686, 4943, 16034, 3084, 62, 2816, 24940, 33411, 366, 16186, 414, 1, 796, 705, 5171, 4763, 6, 5357, 3...
Show all destinations and the number of flights to each destination.
SELECT destination, COUNT(*) FROM flight GROUP BY destination
[ 15307, 477, 23982, 290, 262, 1271, 286, 13956, 284, 1123, 10965, 13, 46506, 10965, 11, 327, 28270, 7, 28104, 16034, 5474, 44441, 11050, 10965 ]
[ 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, 23982, 290, 262, 1271, 286, 13956, 284, 1123, 10965, 13, 46506, 10965, 11, 327, 28270, 7, 28104, 16034, 5474, 44441, 11050, 10965 ]
what are the three most frequently performed procedures for patients who are 30s since 2105?
SELECT d_icd_procedures.short_title FROM d_icd_procedures WHERE d_icd_procedures.icd9_code IN (SELECT t1.icd9_code FROM (SELECT procedures_icd.icd9_code, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM procedures_icd WHERE procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.age B...
[ 10919, 389, 262, 1115, 749, 6777, 6157, 9021, 329, 3871, 508, 389, 1542, 82, 1201, 362, 13348, 30, 46506, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 1676, 771, 942, 33411, 288, 62, 291,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1115, 749, 6777, 6157, 9021, 329, 3871, 508, 389, 1542, 82, 1201, 362, 13348, 30, 46506, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 1676, 771, 942, 33411, 288, 62, 291,...
What engine does the Fuzzy's Ultra Premium Vodka sponsored car use?
SELECT engine FROM table_2503102_1 WHERE car_sponsor_s_ = "Fuzzy's Ultra Premium Vodka"
[ 2061, 3113, 857, 262, 376, 4715, 88, 338, 14563, 17315, 569, 28601, 15901, 1097, 779, 30, 46506, 3113, 16034, 3084, 62, 9031, 18, 15377, 62, 16, 33411, 1097, 62, 20587, 273, 62, 82, 62, 796, 366, 37, 4715, 88, 338, 14563, 17315, 569...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3113, 857, 262, 376, 4715, 88, 338, 14563, 17315, 569, 28601, 15901, 1097, 779, 30, 46506, 3113, 16034, 3084, 62, 9031, 18, 15377, 62, 16, 33411, 1097, 62, 20587, 273, 62, 82, 62, 796, 366, 37, 4715, 88, 338, 14563, 17315, 569...
how many times has ricky landell held the wsl title ?
SELECT "times:" FROM table_204_684 WHERE "wrestler:" = 'ricky landell'
[ 4919, 867, 1661, 468, 374, 17479, 1956, 695, 2714, 262, 266, 6649, 3670, 5633, 46506, 366, 22355, 11097, 16034, 3084, 62, 18638, 62, 41580, 33411, 366, 86, 2118, 1754, 11097, 796, 705, 5557, 88, 1956, 695, 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 ]
[ 4919, 867, 1661, 468, 374, 17479, 1956, 695, 2714, 262, 266, 6649, 3670, 5633, 46506, 366, 22355, 11097, 16034, 3084, 62, 18638, 62, 41580, 33411, 366, 86, 2118, 1754, 11097, 796, 705, 5557, 88, 1956, 695, 6 ]
What is the date, average temperature and mean humidity for the days with the 3 largest maximum gust speeds?
SELECT date, mean_temperature_f, mean_humidity FROM weather ORDER BY max_gust_speed_mph DESC LIMIT 3
[ 2061, 318, 262, 3128, 11, 2811, 5951, 290, 1612, 27716, 329, 262, 1528, 351, 262, 513, 4387, 5415, 35253, 12055, 30, 46506, 3128, 11, 1612, 62, 11498, 21069, 62, 69, 11, 1612, 62, 17047, 17995, 16034, 6193, 38678, 11050, 3509, 62, 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 ]
[ 2061, 318, 262, 3128, 11, 2811, 5951, 290, 1612, 27716, 329, 262, 1528, 351, 262, 513, 4387, 5415, 35253, 12055, 30, 46506, 3128, 11, 1612, 62, 11498, 21069, 62, 69, 11, 1612, 62, 17047, 17995, 16034, 6193, 38678, 11050, 3509, 62, 70,...
find the number of patients on additive type drug prescription who have diagnoses icd9 code 78791.
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.icd9_code = "78791" AND prescriptions.drug_type = "ADDITIVE"
[ 19796, 262, 1271, 286, 3871, 319, 38298, 2099, 2563, 15077, 508, 423, 40567, 14158, 67, 24, 2438, 8699, 3720, 16, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 19796, 262, 1271, 286, 3871, 319, 38298, 2099, 2563, 15077, 508, 423, 40567, 14158, 67, 24, 2438, 8699, 3720, 16, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40...
Upvotes and downvotes on HNQ questions.
SELECT HNQed.PostId AS "post_link", HNQed.CreationDate AS HNQedDate, COUNT(CASE WHEN questionVotes.VoteTypeId = 2 THEN 1 ELSE NULL END) AS UpVotes, COUNT(CASE WHEN questionVotes.VoteTypeId = 3 THEN 1 ELSE NULL END) AS DownVotes, COUNT(*) AS TotalVotes, ROUND(CAST(COUNT(CASE WHEN questionVotes.VoteTypeId = 3 THEN 1 ELSE...
[ 4933, 29307, 290, 866, 29307, 319, 367, 45, 48, 2683, 13, 46506, 367, 45, 48, 276, 13, 6307, 7390, 7054, 366, 7353, 62, 8726, 1600, 367, 45, 48, 276, 13, 12443, 341, 10430, 7054, 367, 45, 48, 276, 10430, 11, 327, 28270, 7, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4933, 29307, 290, 866, 29307, 319, 367, 45, 48, 2683, 13, 46506, 367, 45, 48, 276, 13, 6307, 7390, 7054, 366, 7353, 62, 8726, 1600, 367, 45, 48, 276, 13, 12443, 341, 10430, 7054, 367, 45, 48, 276, 10430, 11, 327, 28270, 7, 34, 1...
What are the names of enzymes in the medicine named 'Amisulpride' that can serve as an 'inhibitor'?
SELECT T1.name FROM enzyme AS T1 JOIN medicine_enzyme_interaction AS T2 ON T1.id = T2.enzyme_id JOIN medicine AS T3 ON T2.medicine_id = T3.id WHERE T3.name = 'Amisulpride' AND T2.interaction_type = 'inhibitor'
[ 2061, 389, 262, 3891, 286, 29120, 287, 262, 9007, 3706, 705, 5840, 271, 377, 1050, 485, 6, 326, 460, 4691, 355, 281, 705, 259, 3145, 2072, 30960, 46506, 309, 16, 13, 3672, 16034, 27679, 7054, 309, 16, 32357, 1268, 9007, 62, 268, 242...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 389, 262, 3891, 286, 29120, 287, 262, 9007, 3706, 705, 5840, 271, 377, 1050, 485, 6, 326, 460, 4691, 355, 281, 705, 259, 3145, 2072, 30960, 46506, 309, 16, 13, 3672, 16034, 27679, 7054, 309, 16, 32357, 1268, 9007, 62, 268, 242...
How many episodes with different season numbers had the Jeans family in them?
SELECT COUNT("No. in season") FROM table_23391 WHERE "Family/families" = 'The Jeans Family'
[ 2437, 867, 8640, 351, 1180, 1622, 3146, 550, 262, 3852, 504, 1641, 287, 606, 30, 46506, 327, 28270, 7203, 2949, 13, 287, 1622, 4943, 16034, 3084, 62, 1954, 37710, 33411, 366, 24094, 14, 44769, 3922, 1, 796, 705, 464, 3852, 504, 7884, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8640, 351, 1180, 1622, 3146, 550, 262, 3852, 504, 1641, 287, 606, 30, 46506, 327, 28270, 7203, 2949, 13, 287, 1622, 4943, 16034, 3084, 62, 1954, 37710, 33411, 366, 24094, 14, 44769, 3922, 1, 796, 705, 464, 3852, 504, 7884, ...
Who is listed under mens singles when womens has wang nan zhang yining?
SELECT "Mens Singles" FROM table_30306 WHERE "Womens Doubles" = 'Wang Nan Zhang Yining'
[ 8241, 318, 5610, 739, 285, 641, 25287, 618, 1116, 641, 468, 266, 648, 15709, 1976, 33255, 331, 3191, 30, 46506, 366, 44, 641, 5573, 829, 1, 16034, 3084, 62, 1270, 20548, 33411, 366, 54, 296, 641, 5728, 7689, 1, 796, 705, 54, 648, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5610, 739, 285, 641, 25287, 618, 1116, 641, 468, 266, 648, 15709, 1976, 33255, 331, 3191, 30, 46506, 366, 44, 641, 5573, 829, 1, 16034, 3084, 62, 1270, 20548, 33411, 366, 54, 296, 641, 5728, 7689, 1, 796, 705, 54, 648, ...
What was the name of the opponent Tommy Haas played in the Championship?
SELECT "Championship" FROM table_62118 WHERE "Opponent in the final" = 'tommy haas'
[ 2061, 373, 262, 1438, 286, 262, 6125, 19919, 50090, 2826, 287, 262, 10749, 30, 46506, 366, 1925, 4350, 1056, 1, 16034, 3084, 62, 5237, 16817, 33411, 366, 27524, 3471, 287, 262, 2457, 1, 796, 705, 39532, 1820, 387, 292, 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, 373, 262, 1438, 286, 262, 6125, 19919, 50090, 2826, 287, 262, 10749, 30, 46506, 366, 1925, 4350, 1056, 1, 16034, 3084, 62, 5237, 16817, 33411, 366, 27524, 3471, 287, 262, 2457, 1, 796, 705, 39532, 1820, 387, 292, 6 ]
Of all the teachers , which one teaches PEDDENT 599 ?
SELECT DISTINCT instructor.name FROM course, course_offering, instructor, offering_instructor WHERE course.course_id = course_offering.course_id AND course.department = 'PEDDENT' AND course.number = 599 AND offering_instructor.instructor_id = instructor.instructor_id AND offering_instructor.offering_id = course_offerin...
[ 5189, 477, 262, 7799, 837, 543, 530, 17324, 350, 1961, 35, 3525, 642, 2079, 5633, 46506, 360, 8808, 1268, 4177, 21187, 13, 3672, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 21187, 11, 6011, 62, 259, 7249, 273, 33411, 1781, 13, 17319, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 5189, 477, 262, 7799, 837, 543, 530, 17324, 350, 1961, 35, 3525, 642, 2079, 5633, 46506, 360, 8808, 1268, 4177, 21187, 13, 3672, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 21187, 11, 6011, 62, 259, 7249, 273, 33411, 1781, 13, 17319, ...
What was the outcome of the match against Magdalena Maleeva?
SELECT "Outcome" FROM table_34785 WHERE "Opponent" = 'magdalena maleeva'
[ 2061, 373, 262, 8055, 286, 262, 2872, 1028, 2944, 31748, 8107, 12674, 48855, 30, 46506, 366, 7975, 2958, 1, 16034, 3084, 62, 2682, 41172, 33411, 366, 27524, 3471, 1, 796, 705, 19726, 31748, 8107, 4257, 48855, 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, 373, 262, 8055, 286, 262, 2872, 1028, 2944, 31748, 8107, 12674, 48855, 30, 46506, 366, 7975, 2958, 1, 16034, 3084, 62, 2682, 41172, 33411, 366, 27524, 3471, 1, 796, 705, 19726, 31748, 8107, 4257, 48855, 6 ]
What's the average crowd size when the Home team is melbourne?
SELECT AVG(crowd) FROM table_name_48 WHERE home_team = "melbourne"
[ 2061, 338, 262, 2811, 4315, 2546, 618, 262, 5995, 1074, 318, 7758, 12544, 30, 46506, 35224, 7, 66, 3986, 8, 16034, 3084, 62, 3672, 62, 2780, 33411, 1363, 62, 15097, 796, 366, 17694, 12544, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 338, 262, 2811, 4315, 2546, 618, 262, 5995, 1074, 318, 7758, 12544, 30, 46506, 35224, 7, 66, 3986, 8, 16034, 3084, 62, 3672, 62, 2780, 33411, 1363, 62, 15097, 796, 366, 17694, 12544, 1 ]
Which tournament had a 1994 finish of RR and 1996 and 1998 finishes of A?
SELECT "Tournament" FROM table_47040 WHERE "1996" = 'a' AND "1998" = 'a' AND "1994" = 'rr'
[ 13828, 7756, 550, 257, 9162, 5461, 286, 26067, 290, 8235, 290, 7795, 20271, 286, 317, 30, 46506, 366, 51, 5138, 1, 16034, 3084, 62, 27790, 1821, 33411, 366, 22288, 1, 796, 705, 64, 6, 5357, 366, 21113, 1, 796, 705, 64, 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 ]
[ 13828, 7756, 550, 257, 9162, 5461, 286, 26067, 290, 8235, 290, 7795, 20271, 286, 317, 30, 46506, 366, 51, 5138, 1, 16034, 3084, 62, 27790, 1821, 33411, 366, 22288, 1, 796, 705, 64, 6, 5357, 366, 21113, 1, 796, 705, 64, 6, 5357, 36...
In week 7, what was the average attendance?
SELECT AVG("Attendance") FROM table_64115 WHERE "Week" = '7'
[ 818, 1285, 767, 11, 644, 373, 262, 2811, 14858, 30, 46506, 35224, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 2414, 15363, 33411, 366, 20916, 1, 796, 705, 22, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 818, 1285, 767, 11, 644, 373, 262, 2811, 14858, 30, 46506, 35224, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 2414, 15363, 33411, 366, 20916, 1, 796, 705, 22, 6 ]
what venue does tim southee bowl at?
SELECT venue FROM table_name_14 WHERE player = "tim southee"
[ 10919, 14359, 857, 4628, 264, 448, 21067, 9396, 379, 30, 46506, 14359, 16034, 3084, 62, 3672, 62, 1415, 33411, 2137, 796, 366, 16514, 264, 448, 21067, 1 ]
[ 1, 1, 1, 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, 14359, 857, 4628, 264, 448, 21067, 9396, 379, 30, 46506, 14359, 16034, 3084, 62, 3672, 62, 1415, 33411, 2137, 796, 366, 16514, 264, 448, 21067, 1 ]
Find the number of people who is under 40 for each gender, list bar in desc order please.
SELECT gender, COUNT(*) FROM Person WHERE age < 40 GROUP BY gender ORDER BY gender DESC
[ 16742, 262, 1271, 286, 661, 508, 318, 739, 2319, 329, 1123, 5279, 11, 1351, 2318, 287, 1715, 1502, 3387, 13, 46506, 5279, 11, 327, 28270, 7, 28104, 16034, 7755, 33411, 2479, 1279, 2319, 44441, 11050, 5279, 38678, 11050, 5279, 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 ]
[ 16742, 262, 1271, 286, 661, 508, 318, 739, 2319, 329, 1123, 5279, 11, 1351, 2318, 287, 1715, 1502, 3387, 13, 46506, 5279, 11, 327, 28270, 7, 28104, 16034, 7755, 33411, 2479, 1279, 2319, 44441, 11050, 5279, 38678, 11050, 5279, 22196, 34 ...
What is the starting point of the route that has its terminus at Ecat/Rosa Park Transit Center?
SELECT "Starting Point" FROM table_15808 WHERE "Terminus" = 'ecat/rosa park transit center'
[ 2061, 318, 262, 3599, 966, 286, 262, 6339, 326, 468, 663, 5651, 385, 379, 412, 9246, 14, 49, 8546, 3250, 22325, 3337, 30, 46506, 366, 22851, 6252, 1, 16034, 3084, 62, 1314, 28362, 33411, 366, 15156, 40191, 1, 796, 705, 721, 265, 14,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3599, 966, 286, 262, 6339, 326, 468, 663, 5651, 385, 379, 412, 9246, 14, 49, 8546, 3250, 22325, 3337, 30, 46506, 366, 22851, 6252, 1, 16034, 3084, 62, 1314, 28362, 33411, 366, 15156, 40191, 1, 796, 705, 721, 265, 14,...