instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
What is average age of male for different job title Visualize by bar chart, list by the mean age in asc.
SELECT job, AVG(age) FROM Person WHERE gender = 'male' GROUP BY job ORDER BY AVG(age)
[ 2061, 318, 2811, 2479, 286, 4257, 329, 1180, 1693, 3670, 15612, 1096, 416, 2318, 8262, 11, 1351, 416, 262, 1612, 2479, 287, 10570, 13, 46506, 1693, 11, 35224, 7, 496, 8, 16034, 7755, 33411, 5279, 796, 705, 22606, 6, 44441, 11050, 1693...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2811, 2479, 286, 4257, 329, 1180, 1693, 3670, 15612, 1096, 416, 2318, 8262, 11, 1351, 416, 262, 1612, 2479, 287, 10570, 13, 46506, 1693, 11, 35224, 7, 496, 8, 16034, 7755, 33411, 5279, 796, 705, 22606, 6, 44441, 11050, 1693...
How many entries for conference tournament are listed when Texas Western is the regular season winner?
SELECT COUNT("Conference Tournament") FROM table_30507 WHERE "Regular Season Winner" = 'Texas Western'
[ 2437, 867, 12784, 329, 4495, 7756, 389, 5610, 618, 3936, 4885, 318, 262, 3218, 1622, 8464, 30, 46506, 327, 28270, 7203, 3103, 4288, 9595, 4943, 16034, 3084, 62, 1270, 35378, 33411, 366, 40164, 7369, 25358, 1, 796, 705, 21607, 4885, 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 ]
[ 2437, 867, 12784, 329, 4495, 7756, 389, 5610, 618, 3936, 4885, 318, 262, 3218, 1622, 8464, 30, 46506, 327, 28270, 7203, 3103, 4288, 9595, 4943, 16034, 3084, 62, 1270, 35378, 33411, 366, 40164, 7369, 25358, 1, 796, 705, 21607, 4885, 6 ]
Show post to Socratic badge. shows all posts that are meet the Socratic badge requirements.
SELECT Id, Id AS "post_link" FROM Posts WHERE OwnerUserId = '##UserId##' AND PostTypeId = 1 AND Score > 0 AND DeletionDate IS NULL AND ClosedDate IS NULL ORDER BY Id DESC
[ 15307, 1281, 284, 311, 15405, 23009, 13, 2523, 477, 6851, 326, 389, 1826, 262, 311, 15405, 23009, 5359, 13, 46506, 5121, 11, 5121, 7054, 366, 7353, 62, 8726, 1, 16034, 12043, 33411, 23853, 12982, 7390, 796, 705, 2235, 12982, 7390, 2235,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1281, 284, 311, 15405, 23009, 13, 2523, 477, 6851, 326, 389, 1826, 262, 311, 15405, 23009, 5359, 13, 46506, 5121, 11, 5121, 7054, 366, 7353, 62, 8726, 1, 16034, 12043, 33411, 23853, 12982, 7390, 796, 705, 2235, 12982, 7390, 2235,...
What is the smallest point total when the grid is larger than 5 and the time/retired is fire?
SELECT MIN("Points") FROM table_47590 WHERE "Grid" > '5' AND "Time/Retired" = 'fire'
[ 2061, 318, 262, 18197, 966, 2472, 618, 262, 10706, 318, 4025, 621, 642, 290, 262, 640, 14, 1186, 1202, 318, 2046, 30, 46506, 20625, 7203, 40710, 4943, 16034, 3084, 62, 32576, 3829, 33411, 366, 41339, 1, 1875, 705, 20, 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 ]
[ 2061, 318, 262, 18197, 966, 2472, 618, 262, 10706, 318, 4025, 621, 642, 290, 262, 640, 14, 1186, 1202, 318, 2046, 30, 46506, 20625, 7203, 40710, 4943, 16034, 3084, 62, 32576, 3829, 33411, 366, 41339, 1, 1875, 705, 20, 6, 5357, 366, ...
what is the 2008 when 2007 is A, 2011 is A and tournament is san jose?
SELECT "2008" FROM table_9978 WHERE "2007" = 'a' AND "2011" = 'a' AND "Tournament" = 'san jose'
[ 10919, 318, 262, 3648, 618, 4343, 318, 317, 11, 2813, 318, 317, 290, 7756, 318, 5336, 474, 577, 30, 46506, 366, 11528, 1, 16034, 3084, 62, 2079, 3695, 33411, 366, 12726, 1, 796, 705, 64, 6, 5357, 366, 9804, 1, 796, 705, 64, 6, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 3648, 618, 4343, 318, 317, 11, 2813, 318, 317, 290, 7756, 318, 5336, 474, 577, 30, 46506, 366, 11528, 1, 16034, 3084, 62, 2079, 3695, 33411, 366, 12726, 1, 796, 705, 64, 6, 5357, 366, 9804, 1, 796, 705, 64, 6, 5...
Which country had the first store in the year 2007?
SELECT country FROM table_name_15 WHERE first_store = "2007"
[ 13828, 1499, 550, 262, 717, 3650, 287, 262, 614, 4343, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 1314, 33411, 717, 62, 8095, 796, 366, 12726, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 1499, 550, 262, 717, 3650, 287, 262, 614, 4343, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 1314, 33411, 717, 62, 8095, 796, 366, 12726, 1 ]
What percentage of the votes in Oneida did Kerry win?
SELECT kerry_percentage FROM table_2401326_1 WHERE county = "Oneida"
[ 2061, 5873, 286, 262, 5690, 287, 1881, 3755, 750, 15981, 1592, 30, 46506, 479, 6996, 62, 25067, 496, 16034, 3084, 62, 1731, 30273, 2075, 62, 16, 33411, 7968, 796, 366, 3198, 3755, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5690, 287, 1881, 3755, 750, 15981, 1592, 30, 46506, 479, 6996, 62, 25067, 496, 16034, 3084, 62, 1731, 30273, 2075, 62, 16, 33411, 7968, 796, 366, 3198, 3755, 1 ]
Users with a specified reputation on two sites.
EXEC(@sql)
[ 14490, 351, 257, 7368, 8507, 319, 734, 5043, 13, 6369, 2943, 7, 31, 25410, 8 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 14490, 351, 257, 7368, 8507, 319, 734, 5043, 13, 6369, 2943, 7, 31, 25410, 8 ]
what is the average wins when draws is less than 0?
SELECT AVG("Wins") FROM table_63920 WHERE "Draws" < '0'
[ 10919, 318, 262, 2811, 7864, 618, 14293, 318, 1342, 621, 657, 30, 46506, 35224, 7203, 54, 1040, 4943, 16034, 3084, 62, 21, 2670, 1238, 33411, 366, 25302, 82, 1, 1279, 705, 15, 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 ]
[ 10919, 318, 262, 2811, 7864, 618, 14293, 318, 1342, 621, 657, 30, 46506, 35224, 7203, 54, 1040, 4943, 16034, 3084, 62, 21, 2670, 1238, 33411, 366, 25302, 82, 1, 1279, 705, 15, 6 ]
What class has cbon-fm-23 as the identifier?
SELECT class FROM table_name_28 WHERE identifier = "cbon-fm-23"
[ 2061, 1398, 468, 269, 4189, 12, 38353, 12, 1954, 355, 262, 27421, 30, 46506, 1398, 16034, 3084, 62, 3672, 62, 2078, 33411, 27421, 796, 366, 66, 4189, 12, 38353, 12, 1954, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1398, 468, 269, 4189, 12, 38353, 12, 1954, 355, 262, 27421, 30, 46506, 1398, 16034, 3084, 62, 3672, 62, 2078, 33411, 27421, 796, 366, 66, 4189, 12, 38353, 12, 1954, 1 ]
What is the number of S Barangay for Paracale?
SELECT "No. of s Barangay" FROM table_27797 WHERE "Municipality" = 'Paracale'
[ 2061, 318, 262, 1271, 286, 311, 2409, 648, 323, 329, 2547, 330, 1000, 30, 46506, 366, 2949, 13, 286, 264, 2409, 648, 323, 1, 16034, 3084, 62, 1983, 44673, 33411, 366, 44, 9462, 1483, 1, 796, 705, 10044, 330, 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, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1271, 286, 311, 2409, 648, 323, 329, 2547, 330, 1000, 30, 46506, 366, 2949, 13, 286, 264, 2409, 648, 323, 1, 16034, 3084, 62, 1983, 44673, 33411, 366, 44, 9462, 1483, 1, 796, 705, 10044, 330, 1000, 6 ]
provide the maximum age of patients whose marital status is widowed and stayed in the hospital for 23 days.
SELECT MAX(demographic.age) FROM demographic WHERE demographic.marital_status = "WIDOWED" AND demographic.days_stay = "23"
[ 15234, 485, 262, 5415, 2479, 286, 3871, 3025, 29555, 3722, 318, 9214, 6972, 290, 9658, 287, 262, 4436, 329, 2242, 1528, 13, 46506, 25882, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 3876, 1287, 62, 13376, 796, 366, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15234, 485, 262, 5415, 2479, 286, 3871, 3025, 29555, 3722, 318, 9214, 6972, 290, 9658, 287, 262, 4436, 329, 2242, 1528, 13, 46506, 25882, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 3876, 1287, 62, 13376, 796, 366, 54, ...
What is the district for 1952?
SELECT district FROM table_1341577_22 WHERE first_elected = 1952
[ 2061, 318, 262, 4783, 329, 26352, 30, 46506, 4783, 16034, 3084, 62, 19880, 1314, 3324, 62, 1828, 33411, 717, 62, 28604, 796, 26352 ]
[ 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, 4783, 329, 26352, 30, 46506, 4783, 16034, 3084, 62, 19880, 1314, 3324, 62, 1828, 33411, 717, 62, 28604, 796, 26352 ]
Provide the admission location as well as discharge location of Elizabeth Bateman.
SELECT demographic.admission_location, demographic.discharge_location FROM demographic WHERE demographic.name = "Elizabeth Bateman"
[ 15946, 485, 262, 13938, 4067, 355, 880, 355, 17655, 4067, 286, 10674, 6577, 8463, 13, 46506, 16728, 13, 324, 3411, 62, 24886, 11, 16728, 13, 6381, 10136, 62, 24886, 16034, 16728, 33411, 16728, 13, 3672, 796, 366, 43568, 6577, 8463, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15946, 485, 262, 13938, 4067, 355, 880, 355, 17655, 4067, 286, 10674, 6577, 8463, 13, 46506, 16728, 13, 324, 3411, 62, 24886, 11, 16728, 13, 6381, 10136, 62, 24886, 16034, 16728, 33411, 16728, 13, 3672, 796, 366, 43568, 6577, 8463, 1 ]
With an overall record of MU, 15-8 what is the at neutral site?
SELECT at_neutral_site FROM table_name_87 WHERE overall_record = "mu, 15-8"
[ 3152, 281, 4045, 1700, 286, 25108, 11, 1315, 12, 23, 644, 318, 262, 379, 8500, 2524, 30, 46506, 379, 62, 29797, 62, 15654, 16034, 3084, 62, 3672, 62, 5774, 33411, 4045, 62, 22105, 796, 366, 30300, 11, 1315, 12, 23, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 3152, 281, 4045, 1700, 286, 25108, 11, 1315, 12, 23, 644, 318, 262, 379, 8500, 2524, 30, 46506, 379, 62, 29797, 62, 15654, 16034, 3084, 62, 3672, 62, 5774, 33411, 4045, 62, 22105, 796, 366, 30300, 11, 1315, 12, 23, 1 ]
estimated glomerular filtration rate ( egfr ) < 30 ml / min / 1.73 m2 using the mdrd formula at visit 1.
SELECT * FROM table_test_4 WHERE estimated_glomerular_filtration_rate_egfr < 30
[ 395, 15655, 1278, 12057, 934, 1226, 83, 1358, 2494, 357, 29206, 8310, 1267, 1279, 1542, 25962, 1220, 949, 1220, 352, 13, 4790, 285, 17, 1262, 262, 45243, 4372, 10451, 379, 3187, 352, 13, 46506, 1635, 16034, 3084, 62, 9288, 62, 19, 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 ]
[ 395, 15655, 1278, 12057, 934, 1226, 83, 1358, 2494, 357, 29206, 8310, 1267, 1279, 1542, 25962, 1220, 949, 1220, 352, 13, 4790, 285, 17, 1262, 262, 45243, 4372, 10451, 379, 3187, 352, 13, 46506, 1635, 16034, 3084, 62, 9288, 62, 19, 334...
Answerers for questions tagged Neo4j.
SELECT COUNT(DISTINCT answers.OwnerUserId) FROM Posts, PostTags, Tags, Posts AS answers WHERE Posts.Id = PostTags.PostId AND PostTags.TagId = Tags.Id AND Tags.TagName = 'neo4j' AND answers.PostTypeId = 2 AND answers.ParentId = Posts.Id AND answers.CommunityOwnedDate IS NULL AND Posts.CommunityOwnedDate IS NULL
[ 2025, 2032, 19288, 329, 2683, 30509, 21227, 19, 73, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 7429, 13, 42419, 12982, 7390, 8, 16034, 12043, 11, 2947, 36142, 11, 44789, 11, 12043, 7054, 7429, 33411, 12043, 13, 7390, 796, 2947, 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...
[ 2025, 2032, 19288, 329, 2683, 30509, 21227, 19, 73, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 7429, 13, 42419, 12982, 7390, 8, 16034, 12043, 11, 2947, 36142, 11, 44789, 11, 12043, 7054, 7429, 33411, 12043, 13, 7390, 796, 2947, 3...
Who added this [tag] to the question?.
SELECT MAX(CreationDate), PostId AS "post_link", FIRST_USER AS "user_link" FROM (SELECT FIRST_VALUE(PH.UserId) OVER (PARTITION BY PH.PostId ORDER BY PH.CreationDate) AS FIRST_USER, * FROM PostHistory AS PH WHERE (PH.PostHistoryTypeId = @reTag OR PH.PostHistoryTypeId = @initTag) AND PH.Text LIKE '%<' + @tagToSearch + '>...
[ 8241, 2087, 428, 685, 12985, 60, 284, 262, 1808, 30, 13, 46506, 25882, 7, 12443, 341, 10430, 828, 2947, 7390, 7054, 366, 7353, 62, 8726, 1600, 31328, 62, 29904, 7054, 366, 7220, 62, 8726, 1, 16034, 357, 46506, 31328, 62, 39488, 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, 1...
[ 8241, 2087, 428, 685, 12985, 60, 284, 262, 1808, 30, 13, 46506, 25882, 7, 12443, 341, 10430, 828, 2947, 7390, 7054, 366, 7353, 62, 8726, 1600, 31328, 62, 29904, 7054, 366, 7220, 62, 8726, 1, 16034, 357, 46506, 31328, 62, 39488, 7, 1...
Percentage of closed question per tag (among the posts that were not deleted).
WITH closed_cte AS (SELECT t.TagName AS tag, COUNT(q.Id) AS totalcount, COUNT(q.ClosedDate) AS closedcount, ROUND(COUNT(q.ClosedDate) * 100.0 / COUNT(q.Id), 2) AS percentage FROM Posts AS q INNER JOIN PostTags AS pt ON q.Id = pt.PostId INNER JOIN Tags AS t ON pt.TagId = t.Id WHERE q.PostTypeId = 1 GROUP BY t.TagName) S...
[ 31905, 496, 286, 4838, 1808, 583, 7621, 357, 35131, 262, 6851, 326, 547, 407, 13140, 737, 54, 10554, 4838, 62, 310, 68, 7054, 357, 46506, 256, 13, 24835, 5376, 7054, 7621, 11, 327, 28270, 7, 80, 13, 7390, 8, 7054, 2472, 9127, 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...
[ 31905, 496, 286, 4838, 1808, 583, 7621, 357, 35131, 262, 6851, 326, 547, 407, 13140, 737, 54, 10554, 4838, 62, 310, 68, 7054, 357, 46506, 256, 13, 24835, 5376, 7054, 7621, 11, 327, 28270, 7, 80, 13, 7390, 8, 7054, 2472, 9127, 11, ...
which cable car is the oldest ?
SELECT "name" FROM table_204_980 WHERE "type" = 'cable car' ORDER BY "construction year" LIMIT 1
[ 4758, 7862, 1097, 318, 262, 13325, 5633, 46506, 366, 3672, 1, 16034, 3084, 62, 18638, 62, 40022, 33411, 366, 4906, 1, 796, 705, 66, 540, 1097, 6, 38678, 11050, 366, 9979, 2762, 614, 1, 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 ]
[ 4758, 7862, 1097, 318, 262, 13325, 5633, 46506, 366, 3672, 1, 16034, 3084, 62, 18638, 62, 40022, 33411, 366, 4906, 1, 796, 705, 66, 540, 1097, 6, 38678, 11050, 366, 9979, 2762, 614, 1, 27564, 2043, 352 ]
Can you tell me the Total number of Rankthat has the Lane of 4?
SELECT COUNT(rank) FROM table_name_67 WHERE lane = 4
[ 6090, 345, 1560, 502, 262, 7472, 1271, 286, 10916, 5562, 468, 262, 15016, 286, 604, 30, 46506, 327, 28270, 7, 43027, 8, 16034, 3084, 62, 3672, 62, 3134, 33411, 11193, 796, 604 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 7472, 1271, 286, 10916, 5562, 468, 262, 15016, 286, 604, 30, 46506, 327, 28270, 7, 43027, 8, 16034, 3084, 62, 3672, 62, 3134, 33411, 11193, 796, 604 ]
How many hometowns does the catcher have?
SELECT COUNT("Hometown") FROM table_17038 WHERE "Position" = 'Catcher'
[ 2437, 867, 20994, 82, 857, 262, 32408, 423, 30, 46506, 327, 28270, 7203, 39, 19191, 4943, 16034, 3084, 62, 17279, 2548, 33411, 366, 26545, 1, 796, 705, 21979, 2044, 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 ]
[ 2437, 867, 20994, 82, 857, 262, 32408, 423, 30, 46506, 327, 28270, 7203, 39, 19191, 4943, 16034, 3084, 62, 17279, 2548, 33411, 366, 26545, 1, 796, 705, 21979, 2044, 6 ]
Give me the comparison about Team_ID over the ACC_Road , and group by attribute All_Home.
SELECT ACC_Road, Team_ID FROM basketball_match GROUP BY All_Home, ACC_Road
[ 23318, 502, 262, 7208, 546, 4816, 62, 2389, 625, 262, 15859, 62, 29197, 837, 290, 1448, 416, 11688, 1439, 62, 16060, 13, 46506, 15859, 62, 29197, 11, 4816, 62, 2389, 16034, 9669, 62, 15699, 44441, 11050, 1439, 62, 16060, 11, 15859, 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 ]
[ 23318, 502, 262, 7208, 546, 4816, 62, 2389, 625, 262, 15859, 62, 29197, 837, 290, 1448, 416, 11688, 1439, 62, 16060, 13, 46506, 15859, 62, 29197, 11, 4816, 62, 2389, 16034, 9669, 62, 15699, 44441, 11050, 1439, 62, 16060, 11, 15859, 62...
What's the number of pm10 particles when sulphur dioxide is at 266-354?
SELECT "PM10 Particles, 24 hour mean (\u03bcg/m 3 )" FROM table_2053 WHERE "Sulphur Dioxide, 15 minute mean (\u03bcg/m 3 )" = '266-354'
[ 2061, 338, 262, 1271, 286, 9114, 940, 13166, 618, 45558, 333, 17556, 318, 379, 37737, 12, 32182, 30, 46506, 366, 5868, 940, 2142, 2983, 11, 1987, 1711, 1612, 357, 59, 84, 3070, 15630, 70, 14, 76, 513, 1267, 1, 16034, 3084, 62, 1238,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 338, 262, 1271, 286, 9114, 940, 13166, 618, 45558, 333, 17556, 318, 379, 37737, 12, 32182, 30, 46506, 366, 5868, 940, 2142, 2983, 11, 1987, 1711, 1612, 357, 59, 84, 3070, 15630, 70, 14, 76, 513, 1267, 1, 16034, 3084, 62, 1238,...
how many of the patients had urgent admission due to hyperacusis?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admission_type = "URGENT" AND diagnoses.short_title = "Hyperacusis"
[ 4919, 867, 286, 262, 3871, 550, 18039, 13938, 2233, 284, 8718, 48628, 271, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 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, 286, 262, 3871, 550, 18039, 13938, 2233, 284, 8718, 48628, 271, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 31...
What years for the rockets did player ford, alton alton ford play?
SELECT years_for_rockets FROM table_11734041_6 WHERE player = "Ford, Alton Alton Ford"
[ 2061, 812, 329, 262, 20293, 750, 2137, 329, 67, 11, 435, 1122, 435, 1122, 329, 67, 711, 30, 46506, 812, 62, 1640, 62, 10823, 1039, 16034, 3084, 62, 1157, 4790, 1821, 3901, 62, 21, 33411, 2137, 796, 366, 37308, 11, 978, 1122, 978, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 812, 329, 262, 20293, 750, 2137, 329, 67, 11, 435, 1122, 435, 1122, 329, 67, 711, 30, 46506, 812, 62, 1640, 62, 10823, 1039, 16034, 3084, 62, 1157, 4790, 1821, 3901, 62, 21, 33411, 2137, 796, 366, 37308, 11, 978, 1122, 978, ...
Can you tell me the Away team that has the Home team of south dragons, and the Score of 94-81?
SELECT "Away team" FROM table_43491 WHERE "Home team" = 'south dragons' AND "Score" = '94-81'
[ 6090, 345, 1560, 502, 262, 21986, 1074, 326, 468, 262, 5995, 1074, 286, 5366, 20308, 11, 290, 262, 15178, 286, 10048, 12, 6659, 30, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 47101, 6420, 33411, 366, 16060, 1074, 1, 796, 705, 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 ]
[ 6090, 345, 1560, 502, 262, 21986, 1074, 326, 468, 262, 5995, 1074, 286, 5366, 20308, 11, 290, 262, 15178, 286, 10048, 12, 6659, 30, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 47101, 6420, 33411, 366, 16060, 1074, 1, 796, 705, 3...
What is the most recent final result for the years (won in bold) 1979?
SELECT most_recent_final FROM table_1463332_2 WHERE years__won_in_bold_ = "1979"
[ 2061, 318, 262, 749, 2274, 2457, 1255, 329, 262, 812, 357, 26502, 287, 10758, 8, 13521, 30, 46506, 749, 62, 49921, 62, 20311, 16034, 3084, 62, 20964, 2091, 2624, 62, 17, 33411, 812, 834, 26502, 62, 259, 62, 36575, 62, 796, 366, 3358...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 749, 2274, 2457, 1255, 329, 262, 812, 357, 26502, 287, 10758, 8, 13521, 30, 46506, 749, 62, 49921, 62, 20311, 16034, 3084, 62, 20964, 2091, 2624, 62, 17, 33411, 812, 834, 26502, 62, 259, 62, 36575, 62, 796, 366, 3358...
How many wins were there when the byes were more than 3?
SELECT COUNT("Wins") FROM table_58900 WHERE "Byes" > '3'
[ 2437, 867, 7864, 547, 612, 618, 262, 416, 274, 547, 517, 621, 513, 30, 46506, 327, 28270, 7203, 54, 1040, 4943, 16034, 3084, 62, 3365, 12865, 33411, 366, 3886, 274, 1, 1875, 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, 1, 1, 1, 1 ]
[ 2437, 867, 7864, 547, 612, 618, 262, 416, 274, 547, 517, 621, 513, 30, 46506, 327, 28270, 7203, 54, 1040, 4943, 16034, 3084, 62, 3365, 12865, 33411, 366, 3886, 274, 1, 1875, 705, 18, 6 ]
Which circuit did Peter Whitehead win?
SELECT "Circuit" FROM table_48458 WHERE "Winning driver" = 'peter whitehead'
[ 13828, 10349, 750, 5613, 2635, 2256, 1592, 30, 46506, 366, 31560, 5013, 1, 16034, 3084, 62, 2780, 29334, 33411, 366, 16643, 768, 4639, 1, 796, 705, 79, 2357, 2330, 2256, 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, 10349, 750, 5613, 2635, 2256, 1592, 30, 46506, 366, 31560, 5013, 1, 16034, 3084, 62, 2780, 29334, 33411, 366, 16643, 768, 4639, 1, 796, 705, 79, 2357, 2330, 2256, 6 ]
in the first hospital encounter, what was the daily maximum weight of patient 594?
SELECT MAX(chartevents.valuenum) FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 594 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime LIMIT 1)) AND chartevents....
[ 259, 262, 717, 4436, 8791, 11, 644, 373, 262, 4445, 5415, 3463, 286, 5827, 642, 5824, 30, 46506, 25882, 7, 40926, 31534, 13, 2100, 84, 44709, 8, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, 323, 62, 312, 3268, 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, 1...
[ 259, 262, 717, 4436, 8791, 11, 644, 373, 262, 4445, 5415, 3463, 286, 5827, 642, 5824, 30, 46506, 25882, 7, 40926, 31534, 13, 2100, 84, 44709, 8, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, 323, 62, 312, 3268, 357, 46506, 1...
What is the original date of the repeat air date of 26/01/1969?
SELECT "Originalairdate" FROM table_18088 WHERE "Repeatairdate(s)" = '26/01/1969'
[ 2061, 318, 262, 2656, 3128, 286, 262, 9585, 1633, 3128, 286, 2608, 14, 486, 14, 38391, 30, 46506, 366, 20556, 958, 4475, 1, 16034, 3084, 62, 1507, 46556, 33411, 366, 40322, 958, 4475, 7, 82, 16725, 796, 705, 2075, 14, 486, 14, 38391...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2656, 3128, 286, 262, 9585, 1633, 3128, 286, 2608, 14, 486, 14, 38391, 30, 46506, 366, 20556, 958, 4475, 1, 16034, 3084, 62, 1507, 46556, 33411, 366, 40322, 958, 4475, 7, 82, 16725, 796, 705, 2075, 14, 486, 14, 38391...
What is the release Date of the 7' single in Catalog 87184?
SELECT "Date" FROM table_34439 WHERE "Format" = '7" single' AND "Catalog" = '87184'
[ 2061, 318, 262, 2650, 7536, 286, 262, 767, 6, 2060, 287, 44515, 10083, 22883, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 33535, 2670, 33411, 366, 26227, 1, 796, 705, 22, 1, 2060, 6, 5357, 366, 49015, 1, 796, 705, 5774, 22883, 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, 318, 262, 2650, 7536, 286, 262, 767, 6, 2060, 287, 44515, 10083, 22883, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 33535, 2670, 33411, 366, 26227, 1, 796, 705, 22, 1, 2060, 6, 5357, 366, 49015, 1, 796, 705, 5774, 22883, 6 ]
After the year 2011, when the Canada - USA Rank was 46th, what was the League Rank?
SELECT "League Rank" FROM table_7178 WHERE "Year" > '2011' AND "Canada - USA Rank" = '46th'
[ 3260, 262, 614, 2813, 11, 618, 262, 3340, 532, 4916, 10916, 373, 6337, 400, 11, 644, 373, 262, 4041, 10916, 30, 46506, 366, 24623, 10916, 1, 16034, 3084, 62, 22, 23188, 33411, 366, 17688, 1, 1875, 705, 9804, 6, 5357, 366, 17940, 532...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 3260, 262, 614, 2813, 11, 618, 262, 3340, 532, 4916, 10916, 373, 6337, 400, 11, 644, 373, 262, 4041, 10916, 30, 46506, 366, 24623, 10916, 1, 16034, 3084, 62, 22, 23188, 33411, 366, 17688, 1, 1875, 705, 9804, 6, 5357, 366, 17940, 532...
What was the average score for the couple that had 4 dances?
SELECT "Average" FROM table_26236 WHERE "Number of Dances" = '4'
[ 2061, 373, 262, 2811, 4776, 329, 262, 3155, 326, 550, 604, 38207, 30, 46506, 366, 26287, 1, 16034, 3084, 62, 2075, 24940, 33411, 366, 15057, 286, 360, 1817, 1, 796, 705, 19, 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, 2811, 4776, 329, 262, 3155, 326, 550, 604, 38207, 30, 46506, 366, 26287, 1, 16034, 3084, 62, 2075, 24940, 33411, 366, 15057, 286, 360, 1817, 1, 796, 705, 19, 6 ]
Who wrote the movie positioned at 8 on the list?
SELECT "Writer(s)" FROM table_28271 WHERE "#" = '8'
[ 8241, 2630, 262, 3807, 19378, 379, 807, 319, 262, 1351, 30, 46506, 366, 34379, 7, 82, 16725, 16034, 3084, 62, 2078, 28977, 33411, 25113, 1, 796, 705, 23, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 2630, 262, 3807, 19378, 379, 807, 319, 262, 1351, 30, 46506, 366, 34379, 7, 82, 16725, 16034, 3084, 62, 2078, 28977, 33411, 25113, 1, 796, 705, 23, 6 ]
what are the five most frequent drugs, which were prescribed to the dementia male patients in the 40s within 2 months after they have been diagnosed with dementia, during the previous year?
SELECT t3.drugname FROM (SELECT t2.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'dementia' AND DATETIME(diagnosis.diagnosistime, 's...
[ 10919, 389, 262, 1936, 749, 10792, 5010, 11, 543, 547, 14798, 284, 262, 27886, 4257, 3871, 287, 262, 2319, 82, 1626, 362, 1933, 706, 484, 423, 587, 14641, 351, 27886, 11, 1141, 262, 2180, 614, 30, 46506, 256, 18, 13, 30349, 3672, 16...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 389, 262, 1936, 749, 10792, 5010, 11, 543, 547, 14798, 284, 262, 27886, 4257, 3871, 287, 262, 2319, 82, 1626, 362, 1933, 706, 484, 423, 587, 14641, 351, 27886, 11, 1141, 262, 2180, 614, 30, 46506, 256, 18, 13, 30349, 3672, 16...
what's the department with incumbent being enrique ona
SELECT "Department" FROM table_657 WHERE "Incumbent" = 'Enrique Ona'
[ 10919, 338, 262, 5011, 351, 23526, 852, 551, 33865, 319, 64, 46506, 366, 36261, 1, 16034, 3084, 62, 37680, 33411, 366, 25517, 2178, 298, 1, 796, 705, 4834, 33865, 1550, 64, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 338, 262, 5011, 351, 23526, 852, 551, 33865, 319, 64, 46506, 366, 36261, 1, 16034, 3084, 62, 37680, 33411, 366, 25517, 2178, 298, 1, 796, 705, 4834, 33865, 1550, 64, 6 ]
What is the relationship between ACC_Percent and All_Games_Percent , and group by attribute All_Home?
SELECT ACC_Percent, All_Games_Percent FROM basketball_match GROUP BY All_Home
[ 2061, 318, 262, 2776, 1022, 15859, 62, 31905, 290, 1439, 62, 24474, 62, 31905, 837, 290, 1448, 416, 11688, 1439, 62, 16060, 30, 46506, 15859, 62, 31905, 11, 1439, 62, 24474, 62, 31905, 16034, 9669, 62, 15699, 44441, 11050, 1439, 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 ]
[ 2061, 318, 262, 2776, 1022, 15859, 62, 31905, 290, 1439, 62, 24474, 62, 31905, 837, 290, 1448, 416, 11688, 1439, 62, 16060, 30, 46506, 15859, 62, 31905, 11, 1439, 62, 24474, 62, 31905, 16034, 9669, 62, 15699, 44441, 11050, 1439, 62, 1...
A bar chart shows the distribution of Sex and the sum of Height , and group by attribute Sex, and list from high to low by the X-axis.
SELECT Sex, SUM(Height) FROM people GROUP BY Sex ORDER BY Sex DESC
[ 32, 2318, 8262, 2523, 262, 6082, 286, 14419, 290, 262, 2160, 286, 27280, 837, 290, 1448, 416, 11688, 14419, 11, 290, 1351, 422, 1029, 284, 1877, 416, 262, 1395, 12, 22704, 13, 46506, 14419, 11, 35683, 7, 23106, 8, 16034, 661, 44441, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 32, 2318, 8262, 2523, 262, 6082, 286, 14419, 290, 262, 2160, 286, 27280, 837, 290, 1448, 416, 11688, 14419, 11, 290, 1351, 422, 1029, 284, 1877, 416, 262, 1395, 12, 22704, 13, 46506, 14419, 11, 35683, 7, 23106, 8, 16034, 661, 44441, ...
What was the amount of grain in 2001?
SELECT "2001" FROM table_56390 WHERE "Product" = 'grain'
[ 2061, 373, 262, 2033, 286, 13020, 287, 5878, 30, 46506, 366, 14585, 1, 16034, 3084, 62, 3980, 25964, 33411, 366, 15667, 1, 796, 705, 48270, 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 ]
[ 2061, 373, 262, 2033, 286, 13020, 287, 5878, 30, 46506, 366, 14585, 1, 16034, 3084, 62, 3980, 25964, 33411, 366, 15667, 1, 796, 705, 48270, 6 ]
what are the costs of a lipase lab test?
SELECT DISTINCT cost.cost FROM cost WHERE cost.eventtype = 'lab' AND cost.eventid IN (SELECT lab.labid FROM lab WHERE lab.labname = 'lipase')
[ 10919, 389, 262, 3484, 286, 257, 10645, 589, 2248, 1332, 30, 46506, 360, 8808, 1268, 4177, 1575, 13, 15805, 16034, 1575, 33411, 1575, 13, 15596, 4906, 796, 705, 23912, 6, 5357, 1575, 13, 15596, 312, 3268, 357, 46506, 2248, 13, 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 ]
[ 10919, 389, 262, 3484, 286, 257, 10645, 589, 2248, 1332, 30, 46506, 360, 8808, 1268, 4177, 1575, 13, 15805, 16034, 1575, 33411, 1575, 13, 15596, 4906, 796, 705, 23912, 6, 5357, 1575, 13, 15596, 312, 3268, 357, 46506, 2248, 13, 23912, ...
What is the British letter with o /o /?
SELECT "British" FROM table_61409 WHERE "Letter" = 'o /oʊ/'
[ 2061, 318, 262, 3517, 3850, 351, 267, 1220, 78, 1220, 30, 46506, 366, 25631, 1, 16034, 3084, 62, 46841, 2931, 33411, 366, 45708, 1, 796, 705, 78, 1220, 78, 134, 232, 14, 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, 3517, 3850, 351, 267, 1220, 78, 1220, 30, 46506, 366, 25631, 1, 16034, 3084, 62, 46841, 2931, 33411, 366, 45708, 1, 796, 705, 78, 1220, 78, 134, 232, 14, 6 ]
Draw a pie chart about the proportion of ACC_Regular_Season and ACC_Percent.
SELECT ACC_Regular_Season, ACC_Percent FROM basketball_match
[ 25302, 257, 2508, 8262, 546, 262, 9823, 286, 15859, 62, 40164, 62, 18960, 290, 15859, 62, 31905, 13, 46506, 15859, 62, 40164, 62, 18960, 11, 15859, 62, 31905, 16034, 9669, 62, 15699 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 2508, 8262, 546, 262, 9823, 286, 15859, 62, 40164, 62, 18960, 290, 15859, 62, 31905, 13, 46506, 15859, 62, 40164, 62, 18960, 11, 15859, 62, 31905, 16034, 9669, 62, 15699 ]
what is the tie no when the away team is solihull moors?
SELECT SUM("Tie no") FROM table_54295 WHERE "Away team" = 'solihull moors'
[ 10919, 318, 262, 9839, 645, 618, 262, 1497, 1074, 318, 1540, 4449, 724, 6941, 669, 30, 46506, 35683, 7203, 51, 494, 645, 4943, 16034, 3084, 62, 4051, 25710, 33411, 366, 32, 1014, 1074, 1, 796, 705, 34453, 4449, 724, 6941, 669, 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 ]
[ 10919, 318, 262, 9839, 645, 618, 262, 1497, 1074, 318, 1540, 4449, 724, 6941, 669, 30, 46506, 35683, 7203, 51, 494, 645, 4943, 16034, 3084, 62, 4051, 25710, 33411, 366, 32, 1014, 1074, 1, 796, 705, 34453, 4449, 724, 6941, 669, 6 ]
when was the last time patient 015-16057 had an maximum rbc in the first hospital visit?
SELECT lab.labresulttime FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '015-16057' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospitala...
[ 12518, 373, 262, 938, 640, 5827, 5534, 20, 12, 1433, 43526, 550, 281, 5415, 374, 15630, 287, 262, 717, 4436, 3187, 30, 46506, 2248, 13, 23912, 20274, 2435, 16034, 2248, 33411, 2248, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5827, 5534, 20, 12, 1433, 43526, 550, 281, 5415, 374, 15630, 287, 262, 717, 4436, 3187, 30, 46506, 2248, 13, 23912, 20274, 2435, 16034, 2248, 33411, 2248, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, ...
How many results are there when the game was at the Atlanta-Fulton county stadium?
SELECT COUNT(result) FROM table_17848578_1 WHERE game_site = "Atlanta-Fulton County Stadium"
[ 2437, 867, 2482, 389, 612, 618, 262, 983, 373, 379, 262, 9371, 12, 37, 37944, 7968, 10308, 30, 46506, 327, 28270, 7, 20274, 8, 16034, 3084, 62, 23188, 2780, 38907, 62, 16, 33411, 983, 62, 15654, 796, 366, 43482, 12, 37, 37944, 3418,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 2482, 389, 612, 618, 262, 983, 373, 379, 262, 9371, 12, 37, 37944, 7968, 10308, 30, 46506, 327, 28270, 7, 20274, 8, 16034, 3084, 62, 23188, 2780, 38907, 62, 16, 33411, 983, 62, 15654, 796, 366, 43482, 12, 37, 37944, 3418,...
When was the game at Collingwood?
SELECT date FROM table_name_59 WHERE away_team = "collingwood"
[ 2215, 373, 262, 983, 379, 7778, 278, 3822, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 3270, 33411, 1497, 62, 15097, 796, 366, 26000, 278, 3822, 1 ]
[ 1, 1, 1, 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, 983, 379, 7778, 278, 3822, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 3270, 33411, 1497, 62, 15097, 796, 366, 26000, 278, 3822, 1 ]
What is the Year won for the player with a larger than 4 To par and less the 157 Total?
SELECT year_won FROM table_name_4 WHERE to_par > 4 AND total < 157
[ 2061, 318, 262, 6280, 1839, 329, 262, 2137, 351, 257, 4025, 621, 604, 1675, 1582, 290, 1342, 262, 23313, 7472, 30, 46506, 614, 62, 26502, 16034, 3084, 62, 3672, 62, 19, 33411, 284, 62, 1845, 1875, 604, 5357, 2472, 1279, 23313 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6280, 1839, 329, 262, 2137, 351, 257, 4025, 621, 604, 1675, 1582, 290, 1342, 262, 23313, 7472, 30, 46506, 614, 62, 26502, 16034, 3084, 62, 3672, 62, 19, 33411, 284, 62, 1845, 1875, 604, 5357, 2472, 1279, 23313 ]
What is the long figure when gain is less than 0?
SELECT AVG("Long") FROM table_63784 WHERE "Gain" < '0'
[ 2061, 318, 262, 890, 3785, 618, 4461, 318, 1342, 621, 657, 30, 46506, 35224, 7203, 14617, 4943, 16034, 3084, 62, 21, 2718, 5705, 33411, 366, 38, 391, 1, 1279, 705, 15, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 890, 3785, 618, 4461, 318, 1342, 621, 657, 30, 46506, 35224, 7203, 14617, 4943, 16034, 3084, 62, 21, 2718, 5705, 33411, 366, 38, 391, 1, 1279, 705, 15, 6 ]
What was the attendance for the game when the challenge leader was at Big East (4-2)?
SELECT MAX(attendance) FROM table_20540006_6 WHERE challenge_leader = "Big East (4-2)"
[ 2061, 373, 262, 14858, 329, 262, 983, 618, 262, 4427, 3554, 373, 379, 4403, 3687, 357, 19, 12, 17, 19427, 46506, 25882, 7, 1078, 437, 590, 8, 16034, 3084, 62, 1238, 4051, 830, 21, 62, 21, 33411, 4427, 62, 27940, 796, 366, 12804, 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 ]
[ 2061, 373, 262, 14858, 329, 262, 983, 618, 262, 4427, 3554, 373, 379, 4403, 3687, 357, 19, 12, 17, 19427, 46506, 25882, 7, 1078, 437, 590, 8, 16034, 3084, 62, 1238, 4051, 830, 21, 62, 21, 33411, 4427, 62, 27940, 796, 366, 12804, 3...
Who has favourited my questions.
SELECT a.UserId AS "user_link", b.Id AS "post_link" FROM Votes AS a INNER JOIN Posts AS b ON a.PostId = b.Id WHERE a.VoteTypeId = 5 AND b.PostTypeId = 1 AND b.OwnerUserId = @UserId
[ 8241, 468, 7075, 863, 616, 2683, 13, 46506, 257, 13, 12982, 7390, 7054, 366, 7220, 62, 8726, 1600, 275, 13, 7390, 7054, 366, 7353, 62, 8726, 1, 16034, 39584, 7054, 257, 3268, 21479, 32357, 1268, 12043, 7054, 275, 6177, 257, 13, 6307, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 468, 7075, 863, 616, 2683, 13, 46506, 257, 13, 12982, 7390, 7054, 366, 7220, 62, 8726, 1600, 275, 13, 7390, 7054, 366, 7353, 62, 8726, 1, 16034, 39584, 7054, 257, 3268, 21479, 32357, 1268, 12043, 7054, 275, 6177, 257, 13, 6307, ...
The Liberal Ticket listed which candidate when Jack A. Martin was listed on the Free Libertarian Ticket?
SELECT "Liberal ticket" FROM table_6925 WHERE "Free Libertarian ticket" = 'jack a. martin'
[ 464, 12266, 24014, 5610, 543, 4540, 618, 3619, 317, 13, 5780, 373, 5610, 319, 262, 3232, 30226, 24014, 30, 46506, 366, 46650, 7846, 1, 16034, 3084, 62, 3388, 1495, 33411, 366, 11146, 30226, 7846, 1, 796, 705, 19650, 257, 13, 11277, 25...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12266, 24014, 5610, 543, 4540, 618, 3619, 317, 13, 5780, 373, 5610, 319, 262, 3232, 30226, 24014, 30, 46506, 366, 46650, 7846, 1, 16034, 3084, 62, 3388, 1495, 33411, 366, 11146, 30226, 7846, 1, 796, 705, 19650, 257, 13, 11277, 25...
What is the total of the crowd when the away team score is 4.8 (32)?
SELECT SUM("Crowd") FROM table_32443 WHERE "Away team score" = '4.8 (32)'
[ 2061, 318, 262, 2472, 286, 262, 4315, 618, 262, 1497, 1074, 4776, 318, 604, 13, 23, 357, 2624, 19427, 46506, 35683, 7203, 34, 3986, 4943, 16034, 3084, 62, 33916, 3559, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 19, 13, 23, 357, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2472, 286, 262, 4315, 618, 262, 1497, 1074, 4776, 318, 604, 13, 23, 357, 2624, 19427, 46506, 35683, 7203, 34, 3986, 4943, 16034, 3084, 62, 33916, 3559, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 19, 13, 23, 357, ...
give me the flights from PITTSBURGH to LOS ANGELES thursday evening
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, date_day, days, flight WHERE ((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'LOS ANGELES' AND date_day.day_number = 24 AND date_day.month_number = 5 ...
[ 26535, 502, 262, 13956, 422, 49040, 4694, 38926, 17511, 284, 406, 2640, 44892, 1546, 294, 3479, 6180, 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...
[ 26535, 502, 262, 13956, 422, 49040, 4694, 38926, 17511, 284, 406, 2640, 44892, 1546, 294, 3479, 6180, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003...
give me the number of patients whose primary disease is bowel obstruction and age is less than 82?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "BOWEL OBSTRUCTION" AND demographic.age < "82"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 4165, 4369, 318, 35711, 28118, 290, 2479, 318, 1342, 621, 9415, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 47356, 5958, 796, 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 ]
[ 26535, 502, 262, 1271, 286, 3871, 3025, 4165, 4369, 318, 35711, 28118, 290, 2479, 318, 1342, 621, 9415, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 47356, 5958, 796, 36...
Which common has an area (km2) of 103.02?
SELECT common FROM table_1449169_1 WHERE area__km_2__ = "103.02"
[ 13828, 2219, 468, 281, 1989, 357, 13276, 17, 8, 286, 15349, 13, 2999, 30, 46506, 2219, 16034, 3084, 62, 1415, 2920, 22172, 62, 16, 33411, 1989, 834, 13276, 62, 17, 834, 796, 366, 15197, 13, 2999, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2219, 468, 281, 1989, 357, 13276, 17, 8, 286, 15349, 13, 2999, 30, 46506, 2219, 16034, 3084, 62, 1415, 2920, 22172, 62, 16, 33411, 1989, 834, 13276, 62, 17, 834, 796, 366, 15197, 13, 2999, 1 ]
What is Friesland's gdp per capita?
SELECT MIN(gdp_per_cap__2003), _in_€_ FROM table_1067441_1 WHERE province = "Friesland"
[ 2061, 318, 376, 1678, 1044, 338, 308, 26059, 583, 21344, 30, 46506, 20625, 7, 21287, 79, 62, 525, 62, 11128, 834, 16088, 828, 4808, 259, 62, 26391, 62, 16034, 3084, 62, 940, 3134, 39710, 62, 16, 33411, 8473, 796, 366, 37, 1678, 1044...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 376, 1678, 1044, 338, 308, 26059, 583, 21344, 30, 46506, 20625, 7, 21287, 79, 62, 525, 62, 11128, 834, 16088, 828, 4808, 259, 62, 26391, 62, 16034, 3084, 62, 940, 3134, 39710, 62, 16, 33411, 8473, 796, 366, 37, 1678, 1044...
Draw a bar chart for what are the different classes of races, and how many races correspond to each?, and list x axis in asc order please.
SELECT Class, COUNT(*) FROM race GROUP BY Class ORDER BY Class
[ 25302, 257, 2318, 8262, 329, 644, 389, 262, 1180, 6097, 286, 9558, 11, 290, 703, 867, 9558, 6053, 284, 1123, 21747, 290, 1351, 2124, 16488, 287, 10570, 1502, 3387, 13, 46506, 5016, 11, 327, 28270, 7, 28104, 16034, 3234, 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 ]
[ 25302, 257, 2318, 8262, 329, 644, 389, 262, 1180, 6097, 286, 9558, 11, 290, 703, 867, 9558, 6053, 284, 1123, 21747, 290, 1351, 2124, 16488, 287, 10570, 1502, 3387, 13, 46506, 5016, 11, 327, 28270, 7, 28104, 16034, 3234, 44441, 11050, ...
What is the highest rank when the lane is larger than 6, and the heat is 3, and the nationality is colombia?
SELECT MAX("Rank") FROM table_63274 WHERE "Lane" > '6' AND "Heat" = '3' AND "Nationality" = 'colombia'
[ 2061, 318, 262, 4511, 4279, 618, 262, 11193, 318, 4025, 621, 718, 11, 290, 262, 4894, 318, 513, 11, 290, 262, 29835, 318, 951, 2381, 544, 30, 46506, 25882, 7203, 27520, 4943, 16034, 3084, 62, 5066, 28857, 33411, 366, 43, 1531, 1, 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, 1, 1...
[ 2061, 318, 262, 4511, 4279, 618, 262, 11193, 318, 4025, 621, 718, 11, 290, 262, 4894, 318, 513, 11, 290, 262, 29835, 318, 951, 2381, 544, 30, 46506, 25882, 7203, 27520, 4943, 16034, 3084, 62, 5066, 28857, 33411, 366, 43, 1531, 1, 18...
how much does a drug cost, oxycodone-acetaminophen elixir?
SELECT DISTINCT cost.cost FROM cost WHERE cost.event_type = 'prescriptions' AND cost.event_id IN (SELECT prescriptions.row_id FROM prescriptions WHERE prescriptions.drug = 'oxycodone-acetaminophen elixir')
[ 4919, 881, 857, 257, 2563, 1575, 11, 10661, 19815, 505, 12, 23253, 5669, 47806, 1288, 32345, 30, 46506, 360, 8808, 1268, 4177, 1575, 13, 15805, 16034, 1575, 33411, 1575, 13, 15596, 62, 4906, 796, 705, 18302, 24370, 6, 5357, 1575, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 881, 857, 257, 2563, 1575, 11, 10661, 19815, 505, 12, 23253, 5669, 47806, 1288, 32345, 30, 46506, 360, 8808, 1268, 4177, 1575, 13, 15805, 16034, 1575, 33411, 1575, 13, 15596, 62, 4906, 796, 705, 18302, 24370, 6, 5357, 1575, 13, ...
for patients who were prescribed with aripiprazole, what was the three most frequently prescribed drugs at the same time this year?
SELECT t3.drug FROM (SELECT t2.drug, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, prescriptions.startdate FROM prescriptions JOIN admissions ON prescriptions.hadm_id = admissions.hadm_id WHERE prescriptions.drug = 'aripiprazole' AND DATETIME(prescriptions.startdate, 'start of yea...
[ 1640, 3871, 508, 547, 14798, 351, 257, 5528, 541, 3247, 2305, 11, 644, 373, 262, 1115, 749, 6777, 14798, 5010, 379, 262, 976, 640, 428, 614, 30, 46506, 256, 18, 13, 30349, 16034, 357, 46506, 256, 17, 13, 30349, 11, 360, 24290, 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...
[ 1640, 3871, 508, 547, 14798, 351, 257, 5528, 541, 3247, 2305, 11, 644, 373, 262, 1115, 749, 6777, 14798, 5010, 379, 262, 976, 640, 428, 614, 30, 46506, 256, 18, 13, 30349, 16034, 357, 46506, 256, 17, 13, 30349, 11, 360, 24290, 62, ...
Which of the private colleges is the oldest, and whose nickname is the Mountaineers?
SELECT MIN(founded) FROM table_name_83 WHERE type = "private" AND nickname = "mountaineers"
[ 13828, 286, 262, 2839, 15273, 318, 262, 13325, 11, 290, 3025, 21814, 318, 262, 5628, 5718, 364, 30, 46506, 20625, 7, 27060, 8, 16034, 3084, 62, 3672, 62, 5999, 33411, 2099, 796, 366, 19734, 1, 5357, 21814, 796, 366, 14948, 5718, 364, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 286, 262, 2839, 15273, 318, 262, 13325, 11, 290, 3025, 21814, 318, 262, 5628, 5718, 364, 30, 46506, 20625, 7, 27060, 8, 16034, 3084, 62, 3672, 62, 5999, 33411, 2099, 796, 366, 19734, 1, 5357, 21814, 796, 366, 14948, 5718, 364, ...
what was the last height of patient 006-105495 on their current hospital encounter.
SELECT patient.admissionheight FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-105495' AND patient.hospitaldischargetime IS NULL) AND NOT patient.admissionheight IS NULL ORDER BY patient.unitadmittime DESC LIMIT 1
[ 10919, 373, 262, 938, 6001, 286, 5827, 3571, 21, 12, 13348, 33781, 319, 511, 1459, 4436, 8791, 13, 46506, 5827, 13, 324, 3411, 17015, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 1394...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6001, 286, 5827, 3571, 21, 12, 13348, 33781, 319, 511, 1459, 4436, 8791, 13, 46506, 5827, 13, 324, 3411, 17015, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 1394...
Who is the opponent of the match with an attendance larger than 59,000?
SELECT opponent FROM table_name_89 WHERE attendance > 59 OFFSET 000
[ 8241, 318, 262, 6125, 286, 262, 2872, 351, 281, 14858, 4025, 621, 7863, 11, 830, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 4531, 33411, 14858, 1875, 7863, 3963, 10652, 2767, 12877 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 6125, 286, 262, 2872, 351, 281, 14858, 4025, 621, 7863, 11, 830, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 4531, 33411, 14858, 1875, 7863, 3963, 10652, 2767, 12877 ]
Find all Bars in ' Los Angeles ' with at least 30 reviews
SELECT business.name FROM business, category WHERE business.city = 'Los Angeles' AND business.review_count >= 30 AND category.business_id = business.business_id AND category.category_name = 'Bars'
[ 16742, 477, 39924, 287, 705, 5401, 5652, 705, 351, 379, 1551, 1542, 8088, 46506, 1597, 13, 3672, 16034, 1597, 11, 6536, 33411, 1597, 13, 19205, 796, 705, 28903, 5652, 6, 5357, 1597, 13, 19023, 62, 9127, 18189, 1542, 5357, 6536, 13, 22...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 477, 39924, 287, 705, 5401, 5652, 705, 351, 379, 1551, 1542, 8088, 46506, 1597, 13, 3672, 16034, 1597, 11, 6536, 33411, 1597, 13, 19205, 796, 705, 28903, 5652, 6, 5357, 1597, 13, 19023, 62, 9127, 18189, 1542, 5357, 6536, 13, 22...
What is the result for barney frank?
SELECT "Result" FROM table_713 WHERE "Incumbent" = 'Barney Frank'
[ 2061, 318, 262, 1255, 329, 2318, 1681, 14346, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 50055, 33411, 366, 25517, 2178, 298, 1, 796, 705, 10374, 1681, 5278, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1255, 329, 2318, 1681, 14346, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 50055, 33411, 366, 25517, 2178, 298, 1, 796, 705, 10374, 1681, 5278, 6 ]
give me patient 005-77687's total amount of urinary catheter output: indwelling/continuous ure output on last month/30.
SELECT SUM(intakeoutput.cellvaluenumeric) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '005-77687')) AND intakeoutput.celllabel = 'urina...
[ 26535, 502, 5827, 3571, 20, 12, 3324, 39925, 338, 2472, 2033, 286, 38628, 3797, 43332, 5072, 25, 773, 4053, 278, 14, 18487, 5623, 334, 260, 5072, 319, 938, 1227, 14, 1270, 13, 46506, 35683, 7, 600, 539, 22915, 13, 3846, 2100, 84, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 26535, 502, 5827, 3571, 20, 12, 3324, 39925, 338, 2472, 2033, 286, 38628, 3797, 43332, 5072, 25, 773, 4053, 278, 14, 18487, 5623, 334, 260, 5072, 319, 938, 1227, 14, 1270, 13, 46506, 35683, 7, 600, 539, 22915, 13, 3846, 2100, 84, 26...
Show the trend about salary change over hire date using a line chart.
SELECT HIRE_DATE, SALARY FROM employees
[ 15307, 262, 5182, 546, 9588, 1487, 625, 11078, 3128, 1262, 257, 1627, 8262, 13, 46506, 36210, 2200, 62, 35, 6158, 11, 42475, 13153, 16034, 4409 ]
[ 1, 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, 5182, 546, 9588, 1487, 625, 11078, 3128, 1262, 257, 1627, 8262, 13, 46506, 36210, 2200, 62, 35, 6158, 11, 42475, 13153, 16034, 4409 ]
What Upper stage has Launches to date of 0, and Version of 532?
SELECT "Upper stage" FROM table_12577 WHERE "Launches to date" = '0' AND "Version" = '532'
[ 2061, 20390, 3800, 468, 19826, 2052, 284, 3128, 286, 657, 11, 290, 10628, 286, 642, 2624, 30, 46506, 366, 52, 2848, 3800, 1, 16034, 3084, 62, 11623, 3324, 33411, 366, 46182, 2052, 284, 3128, 1, 796, 705, 15, 6, 5357, 366, 14815, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 20390, 3800, 468, 19826, 2052, 284, 3128, 286, 657, 11, 290, 10628, 286, 642, 2624, 30, 46506, 366, 52, 2848, 3800, 1, 16034, 3084, 62, 11623, 3324, 33411, 366, 46182, 2052, 284, 3128, 1, 796, 705, 15, 6, 5357, 366, 14815, 1, ...
What country has a 5.5 mark for security?
SELECT "Rank" FROM table_72470 WHERE "Security" = '5.5'
[ 2061, 1499, 468, 257, 642, 13, 20, 1317, 329, 2324, 30, 46506, 366, 27520, 1, 16034, 3084, 62, 22, 1731, 2154, 33411, 366, 24074, 1, 796, 705, 20, 13, 20, 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, 1499, 468, 257, 642, 13, 20, 1317, 329, 2324, 30, 46506, 366, 27520, 1, 16034, 3084, 62, 22, 1731, 2154, 33411, 366, 24074, 1, 796, 705, 20, 13, 20, 6 ]
what are all the records with a score is w 98 91
SELECT "Record" FROM table_72239 WHERE "Score" = 'W 98–91'
[ 10919, 389, 477, 262, 4406, 351, 257, 4776, 318, 266, 9661, 10495, 46506, 366, 23739, 1, 16034, 3084, 62, 22, 1828, 2670, 33411, 366, 26595, 1, 796, 705, 54, 9661, 1906, 6420, 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 ]
[ 10919, 389, 477, 262, 4406, 351, 257, 4776, 318, 266, 9661, 10495, 46506, 366, 23739, 1, 16034, 3084, 62, 22, 1828, 2670, 33411, 366, 26595, 1, 796, 705, 54, 9661, 1906, 6420, 6 ]
Which game has more than 112 rebounds and a rank greater than 3?
SELECT MAX(games) FROM table_name_76 WHERE rank > 3 AND rebounds = 112
[ 13828, 983, 468, 517, 621, 13539, 18841, 290, 257, 4279, 3744, 621, 513, 30, 46506, 25882, 7, 19966, 8, 16034, 3084, 62, 3672, 62, 4304, 33411, 4279, 1875, 513, 5357, 18841, 796, 13539 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 983, 468, 517, 621, 13539, 18841, 290, 257, 4279, 3744, 621, 513, 30, 46506, 25882, 7, 19966, 8, 16034, 3084, 62, 3672, 62, 4304, 33411, 4279, 1875, 513, 5357, 18841, 796, 13539 ]
Top 100 posts by view count.
SELECT CONCAT('id', 'post_link'), ViewCount, CreationDate, Score FROM Posts ORDER BY ViewCount DESC LIMIT 100
[ 9126, 1802, 6851, 416, 1570, 954, 13, 46506, 39962, 1404, 10786, 312, 3256, 705, 7353, 62, 8726, 33809, 3582, 12332, 11, 21582, 10430, 11, 15178, 16034, 12043, 38678, 11050, 3582, 12332, 22196, 34, 27564, 2043, 1802 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 9126, 1802, 6851, 416, 1570, 954, 13, 46506, 39962, 1404, 10786, 312, 3256, 705, 7353, 62, 8726, 33809, 3582, 12332, 11, 21582, 10430, 11, 15178, 16034, 12043, 38678, 11050, 3582, 12332, 22196, 34, 27564, 2043, 1802 ]
What country has a total of 293?
SELECT country FROM table_name_37 WHERE total = 293
[ 2061, 1499, 468, 257, 2472, 286, 37224, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 2718, 33411, 2472, 796, 37224 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1499, 468, 257, 2472, 286, 37224, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 2718, 33411, 2472, 796, 37224 ]
how long was pilzbach 's period of service ?
SELECT "end of\nservice" - "beginning of\nservice" FROM table_204_734 WHERE "first name" = 'pilzbach'
[ 4919, 890, 373, 5560, 14969, 620, 705, 82, 2278, 286, 2139, 5633, 46506, 366, 437, 286, 59, 77, 15271, 1, 532, 366, 27471, 768, 286, 59, 77, 15271, 1, 16034, 3084, 62, 18638, 62, 22, 2682, 33411, 366, 11085, 1438, 1, 796, 705, 79,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 890, 373, 5560, 14969, 620, 705, 82, 2278, 286, 2139, 5633, 46506, 366, 437, 286, 59, 77, 15271, 1, 532, 366, 27471, 768, 286, 59, 77, 15271, 1, 16034, 3084, 62, 18638, 62, 22, 2682, 33411, 366, 11085, 1438, 1, 796, 705, 79,...
Name the height in feet for the player from valparaiso
SELECT height_in_ft FROM table_name_80 WHERE school_club_team_country = "valparaiso"
[ 5376, 262, 6001, 287, 3625, 329, 262, 2137, 422, 1188, 1845, 15152, 78, 46506, 6001, 62, 259, 62, 701, 16034, 3084, 62, 3672, 62, 1795, 33411, 1524, 62, 18664, 62, 15097, 62, 19315, 796, 366, 2100, 1845, 15152, 78, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6001, 287, 3625, 329, 262, 2137, 422, 1188, 1845, 15152, 78, 46506, 6001, 62, 259, 62, 701, 16034, 3084, 62, 3672, 62, 1795, 33411, 1524, 62, 18664, 62, 15097, 62, 19315, 796, 366, 2100, 1845, 15152, 78, 1 ]
calculate the maximum age of male patients who died before 2168.
SELECT MAX(demographic.age) FROM demographic WHERE demographic.gender = "M" AND demographic.dod_year < "2168.0"
[ 9948, 3129, 378, 262, 5415, 2479, 286, 4257, 3871, 508, 3724, 878, 362, 14656, 13, 46506, 25882, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 8388, 796, 366, 44, 1, 5357, 16728, 13, 67, 375, 62, 1941, 1279, 366, 17, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 9948, 3129, 378, 262, 5415, 2479, 286, 4257, 3871, 508, 3724, 878, 362, 14656, 13, 46506, 25882, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 8388, 796, 366, 44, 1, 5357, 16728, 13, 67, 375, 62, 1941, 1279, 366, 17, ...
What time was the Wrestler Henry eliminated by Batista?
SELECT "Time" FROM table_79065 WHERE "Eliminated by" = 'batista' AND "Wrestler" = 'henry'
[ 2061, 640, 373, 262, 20722, 1754, 8616, 15254, 416, 6577, 12523, 30, 46506, 366, 7575, 1, 16034, 3084, 62, 37750, 2996, 33411, 366, 36, 2475, 3898, 416, 1, 796, 705, 8664, 12523, 6, 5357, 366, 54, 2118, 1754, 1, 796, 705, 831, 563, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 640, 373, 262, 20722, 1754, 8616, 15254, 416, 6577, 12523, 30, 46506, 366, 7575, 1, 16034, 3084, 62, 37750, 2996, 33411, 366, 36, 2475, 3898, 416, 1, 796, 705, 8664, 12523, 6, 5357, 366, 54, 2118, 1754, 1, 796, 705, 831, 563, ...
which was the only television show gauri starred in , in which she played herself ?
SELECT "show" FROM table_203_485 WHERE "role" = 'herself'
[ 4758, 373, 262, 691, 5581, 905, 308, 35190, 31636, 287, 837, 287, 543, 673, 2826, 5223, 5633, 46506, 366, 12860, 1, 16034, 3084, 62, 22416, 62, 32642, 33411, 366, 18090, 1, 796, 705, 372, 944, 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 ]
[ 4758, 373, 262, 691, 5581, 905, 308, 35190, 31636, 287, 837, 287, 543, 673, 2826, 5223, 5633, 46506, 366, 12860, 1, 16034, 3084, 62, 22416, 62, 32642, 33411, 366, 18090, 1, 796, 705, 372, 944, 6 ]
What is the overall number of the player from Utah with a pick # higher than 7?
SELECT SUM(overall) FROM table_name_54 WHERE college = "utah" AND pick__number < 7
[ 2061, 318, 262, 4045, 1271, 286, 262, 2137, 422, 10202, 351, 257, 2298, 1303, 2440, 621, 767, 30, 46506, 35683, 7, 2502, 439, 8, 16034, 3084, 62, 3672, 62, 4051, 33411, 4152, 796, 366, 315, 993, 1, 5357, 2298, 834, 17618, 1279, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4045, 1271, 286, 262, 2137, 422, 10202, 351, 257, 2298, 1303, 2440, 621, 767, 30, 46506, 35683, 7, 2502, 439, 8, 16034, 3084, 62, 3672, 62, 4051, 33411, 4152, 796, 366, 315, 993, 1, 5357, 2298, 834, 17618, 1279, 767 ...
Is uremia affect prothrombin?
SELECT "Prothrombin time" FROM table_17573 WHERE "Condition" = 'Uremia'
[ 3792, 334, 2787, 544, 2689, 386, 400, 398, 8800, 30, 46506, 366, 2964, 400, 398, 8800, 640, 1, 16034, 3084, 62, 1558, 48638, 33411, 366, 48362, 1, 796, 705, 52, 2787, 544, 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 ]
[ 3792, 334, 2787, 544, 2689, 386, 400, 398, 8800, 30, 46506, 366, 2964, 400, 398, 8800, 640, 1, 16034, 3084, 62, 1558, 48638, 33411, 366, 48362, 1, 796, 705, 52, 2787, 544, 6 ]
What was the date for XLLP 369?
SELECT "Date" FROM table_46823 WHERE "Catalog" = 'xllp 369'
[ 2061, 373, 262, 3128, 329, 1395, 3069, 47, 45620, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 38472, 1954, 33411, 366, 49015, 1, 796, 705, 87, 297, 79, 45620, 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, 373, 262, 3128, 329, 1395, 3069, 47, 45620, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 38472, 1954, 33411, 366, 49015, 1, 796, 705, 87, 297, 79, 45620, 6 ]
Who came in 3rd at Venue?
SELECT 3 AS rd_place FROM table_name_99 WHERE "venue" = "venue"
[ 8241, 1625, 287, 513, 4372, 379, 9932, 518, 30, 46506, 513, 7054, 374, 67, 62, 5372, 16034, 3084, 62, 3672, 62, 2079, 33411, 366, 4080, 1, 796, 366, 4080, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 1625, 287, 513, 4372, 379, 9932, 518, 30, 46506, 513, 7054, 374, 67, 62, 5372, 16034, 3084, 62, 3672, 62, 2079, 33411, 366, 4080, 1, 796, 366, 4080, 1 ]
Which artist does the album 'Balls to the Wall' belong to?
SELECT T2.Name FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId = T2.ArtistId WHERE T1.Title = "Balls to the Wall"
[ 13828, 6802, 857, 262, 5062, 705, 33, 5691, 284, 262, 5007, 6, 5594, 284, 30, 46506, 309, 17, 13, 5376, 16034, 8355, 33, 5883, 7054, 309, 16, 32357, 1268, 24278, 8808, 7054, 309, 17, 6177, 309, 16, 13, 43020, 7390, 796, 309, 17, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 6802, 857, 262, 5062, 705, 33, 5691, 284, 262, 5007, 6, 5594, 284, 30, 46506, 309, 17, 13, 5376, 16034, 8355, 33, 5883, 7054, 309, 16, 32357, 1268, 24278, 8808, 7054, 309, 17, 6177, 309, 16, 13, 43020, 7390, 796, 309, 17, 1...
What is the total number for July with less than 8.05 in October, more than 4.46 in December, and more than 6.79 in November?
SELECT COUNT(july) FROM table_name_12 WHERE october < 8.05 AND december > 4.46 AND november > 6.79
[ 2061, 318, 262, 2472, 1271, 329, 2901, 351, 1342, 621, 807, 13, 2713, 287, 3267, 11, 517, 621, 604, 13, 3510, 287, 3426, 11, 290, 517, 621, 718, 13, 3720, 287, 3389, 30, 46506, 327, 28270, 7, 73, 2062, 8, 16034, 3084, 62, 3672, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 318, 262, 2472, 1271, 329, 2901, 351, 1342, 621, 807, 13, 2713, 287, 3267, 11, 517, 621, 604, 13, 3510, 287, 3426, 11, 290, 517, 621, 718, 13, 3720, 287, 3389, 30, 46506, 327, 28270, 7, 73, 2062, 8, 16034, 3084, 62, 3672, ...
Count the number of patients who were admitted to the hospital before the year 2157 and have diagnosis short title as intermediate coronary syndrome
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admityear < "2157" AND diagnoses.short_title = "Intermed coronary synd"
[ 12332, 262, 1271, 286, 3871, 508, 547, 6848, 284, 262, 4436, 878, 262, 614, 362, 18458, 290, 423, 13669, 1790, 3670, 355, 19898, 37151, 14027, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 326...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 262, 1271, 286, 3871, 508, 547, 6848, 284, 262, 4436, 878, 262, 614, 362, 18458, 290, 423, 13669, 1790, 3670, 355, 19898, 37151, 14027, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 326...
the most populated city
SELECT "sum" FROM table_204_381 ORDER BY "sum centre\npopulation" DESC LIMIT 1
[ 1169, 749, 22331, 1748, 46506, 366, 16345, 1, 16034, 3084, 62, 18638, 62, 36626, 38678, 11050, 366, 16345, 7372, 59, 77, 39748, 1, 22196, 34, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1169, 749, 22331, 1748, 46506, 366, 16345, 1, 16034, 3084, 62, 18638, 62, 36626, 38678, 11050, 366, 16345, 7372, 59, 77, 39748, 1, 22196, 34, 27564, 2043, 352 ]
Which city has an IATA of AUH?
SELECT city FROM table_name_42 WHERE iata = "auh"
[ 13828, 1748, 468, 281, 314, 13563, 286, 27548, 39, 30, 46506, 1748, 16034, 3084, 62, 3672, 62, 3682, 33411, 1312, 1045, 796, 366, 559, 71, 1 ]
[ 1, 1, 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, 1748, 468, 281, 314, 13563, 286, 27548, 39, 30, 46506, 1748, 16034, 3084, 62, 3672, 62, 3682, 33411, 1312, 1045, 796, 366, 559, 71, 1 ]
What was the date with a resulted score of 130-100?
SELECT date FROM table_name_16 WHERE score = "130-100"
[ 2061, 373, 262, 3128, 351, 257, 8724, 4776, 286, 11323, 12, 3064, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 1433, 33411, 4776, 796, 366, 12952, 12, 3064, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 3128, 351, 257, 8724, 4776, 286, 11323, 12, 3064, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 1433, 33411, 4776, 796, 366, 12952, 12, 3064, 1 ]
What city was the home team Tigre?
SELECT "City" FROM table_65240 WHERE "Home team(s)" = 'tigre'
[ 2061, 1748, 373, 262, 1363, 1074, 14189, 260, 30, 46506, 366, 14941, 1, 16034, 3084, 62, 2996, 16102, 33411, 366, 16060, 1074, 7, 82, 16725, 796, 705, 83, 328, 260, 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, 1748, 373, 262, 1363, 1074, 14189, 260, 30, 46506, 366, 14941, 1, 16034, 3084, 62, 2996, 16102, 33411, 366, 16060, 1074, 7, 82, 16725, 796, 705, 83, 328, 260, 6 ]
what's the game with record being 29 3
SELECT game FROM table_13480122_5 WHERE record = "29–3"
[ 10919, 338, 262, 983, 351, 1700, 852, 2808, 513, 46506, 983, 16034, 3084, 62, 1485, 2780, 486, 1828, 62, 20, 33411, 1700, 796, 366, 1959, 1906, 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 ]
[ 10919, 338, 262, 983, 351, 1700, 852, 2808, 513, 46506, 983, 16034, 3084, 62, 1485, 2780, 486, 1828, 62, 20, 33411, 1700, 796, 366, 1959, 1906, 18, 1 ]
Nam ethe enlisted for troop carrier group
SELECT "Enlisted" FROM table_26135 WHERE "Type of unit" = 'Troop carrier group'
[ 45, 321, 304, 1169, 30166, 329, 31874, 11920, 1448, 46506, 366, 4834, 17935, 1, 16034, 3084, 62, 2075, 17059, 33411, 366, 6030, 286, 4326, 1, 796, 705, 44095, 404, 11920, 1448, 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 ]
[ 45, 321, 304, 1169, 30166, 329, 31874, 11920, 1448, 46506, 366, 4834, 17935, 1, 16034, 3084, 62, 2075, 17059, 33411, 366, 6030, 286, 4326, 1, 796, 705, 44095, 404, 11920, 1448, 6 ]
When FA Cup Apps is 9 what is the smallest number of FA Cup Goals?
SELECT MIN(fa_cup_goals) FROM table_10240125_1 WHERE fa_cup_apps = 9
[ 2215, 9677, 5454, 27710, 318, 860, 644, 318, 262, 18197, 1271, 286, 9677, 5454, 28510, 30, 46506, 20625, 7, 13331, 62, 25244, 62, 2188, 874, 8, 16034, 3084, 62, 35500, 486, 1495, 62, 16, 33411, 24685, 62, 25244, 62, 18211, 796, 860 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9677, 5454, 27710, 318, 860, 644, 318, 262, 18197, 1271, 286, 9677, 5454, 28510, 30, 46506, 20625, 7, 13331, 62, 25244, 62, 2188, 874, 8, 16034, 3084, 62, 35500, 486, 1495, 62, 16, 33411, 24685, 62, 25244, 62, 18211, 796, 860 ]
Who wrote the episode where the original air date is july20,2007?
SELECT written_by FROM table_25716399_1 WHERE original_air_date = "July20,2007"
[ 8241, 2630, 262, 4471, 810, 262, 2656, 1633, 3128, 318, 474, 2062, 1238, 11, 12726, 30, 46506, 3194, 62, 1525, 16034, 3084, 62, 28676, 24136, 2079, 62, 16, 33411, 2656, 62, 958, 62, 4475, 796, 366, 16157, 1238, 11, 12726, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 2630, 262, 4471, 810, 262, 2656, 1633, 3128, 318, 474, 2062, 1238, 11, 12726, 30, 46506, 3194, 62, 1525, 16034, 3084, 62, 28676, 24136, 2079, 62, 16, 33411, 2656, 62, 958, 62, 4475, 796, 366, 16157, 1238, 11, 12726, 1 ]
what is the number of patients whose days of hospital stay is greater than 16 and item id is 51250?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.days_stay > "16" AND lab.itemid = "51250"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 1528, 286, 4436, 2652, 318, 3744, 621, 1467, 290, 2378, 4686, 318, 22243, 1120, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 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...
[ 10919, 318, 262, 1271, 286, 3871, 3025, 1528, 286, 4436, 2652, 318, 3744, 621, 1467, 290, 2378, 4686, 318, 22243, 1120, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 12...
What is the result when the date is August 27, 1980?
SELECT "Result" FROM table_68395 WHERE "Date" = 'august 27, 1980'
[ 2061, 318, 262, 1255, 618, 262, 3128, 318, 2932, 2681, 11, 7169, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 3104, 31010, 33411, 366, 10430, 1, 796, 705, 7493, 436, 2681, 11, 7169, 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, 1255, 618, 262, 3128, 318, 2932, 2681, 11, 7169, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 3104, 31010, 33411, 366, 10430, 1, 796, 705, 7493, 436, 2681, 11, 7169, 6 ]
Show the transaction type descriptions and dates if the share count is smaller than 10.
SELECT T1.transaction_type_description, T2.date_of_transaction FROM ref_transaction_types AS T1 JOIN transactions AS T2 ON T1.transaction_type_code = T2.transaction_type_code WHERE T2.share_count < 10
[ 15307, 262, 8611, 2099, 16969, 290, 9667, 611, 262, 2648, 954, 318, 4833, 621, 838, 13, 46506, 309, 16, 13, 7645, 2673, 62, 4906, 62, 11213, 11, 309, 17, 13, 4475, 62, 1659, 62, 7645, 2673, 16034, 1006, 62, 7645, 2673, 62, 19199, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8611, 2099, 16969, 290, 9667, 611, 262, 2648, 954, 318, 4833, 621, 838, 13, 46506, 309, 16, 13, 7645, 2673, 62, 4906, 62, 11213, 11, 309, 17, 13, 4475, 62, 1659, 62, 7645, 2673, 16034, 1006, 62, 7645, 2673, 62, 19199, ...
What years runner-up is Birmingham city, with over 1 runners-up?
SELECT years_runner_up FROM table_name_91 WHERE runners_up > 1 AND club = "birmingham city"
[ 2061, 812, 17490, 12, 929, 318, 18899, 1748, 11, 351, 625, 352, 19323, 12, 929, 30, 46506, 812, 62, 16737, 62, 929, 16034, 3084, 62, 3672, 62, 6420, 33411, 19323, 62, 929, 1875, 352, 5357, 3430, 796, 366, 65, 343, 17737, 1748, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 812, 17490, 12, 929, 318, 18899, 1748, 11, 351, 625, 352, 19323, 12, 929, 30, 46506, 812, 62, 16737, 62, 929, 16034, 3084, 62, 3672, 62, 6420, 33411, 19323, 62, 929, 1875, 352, 5357, 3430, 796, 366, 65, 343, 17737, 1748, 1 ]
what is age and discharge time of subject id 74032?
SELECT demographic.age, demographic.dischtime FROM demographic WHERE demographic.subject_id = "74032"
[ 10919, 318, 2479, 290, 17655, 640, 286, 2426, 4686, 767, 1821, 2624, 30, 46506, 16728, 13, 496, 11, 16728, 13, 6381, 354, 2435, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 45598, 2624, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 2479, 290, 17655, 640, 286, 2426, 4686, 767, 1821, 2624, 30, 46506, 16728, 13, 496, 11, 16728, 13, 6381, 354, 2435, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 45598, 2624, 1 ]