instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
What opponent has 76,202 attendance ?
SELECT opponent FROM table_name_5 WHERE attendance = "76,202"
[ 2061, 6125, 468, 8684, 11, 19004, 14858, 5633, 46506, 6125, 16034, 3084, 62, 3672, 62, 20, 33411, 14858, 796, 366, 4304, 11, 19004, 1 ]
[ 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, 6125, 468, 8684, 11, 19004, 14858, 5633, 46506, 6125, 16034, 3084, 62, 3672, 62, 20, 33411, 14858, 796, 366, 4304, 11, 19004, 1 ]
Posts (Questions and Answer) based on a given tag.
SELECT TIME_TO_STR(p.LastActivityDate, '%Y') AS YEAR, TIME_TO_STR(p.LastActivityDate, '%B') AS MONTH, MONTH(p.LastActivityDate) AS ACTIVE_MONTH_DAY, COUNT(*) AS Total FROM Posts AS p, PostTags AS ptags, Tags AS t, PostTypes AS ptypes WHERE p.PostTypeId = ptypes.Id AND ptypes.Id IN (1, 2) AND p.Id = ptags.PostId AND ptags.TagId = t.Id AND t.TagName = '##TagName##' GROUP BY TIME_TO_STR(p.LastActivityDate, '%Y'), MONTH(p.LastActivityDate), TIME_TO_STR(p.LastActivityDate, '%B') ORDER BY TIME_TO_STR(p.LastActivityDate, '%Y'), MONTH(p.LastActivityDate), TIME_TO_STR(p.LastActivityDate, '%B')
[ 21496, 357, 35741, 290, 23998, 8, 1912, 319, 257, 1813, 7621, 13, 46506, 20460, 62, 10468, 62, 18601, 7, 79, 13, 5956, 16516, 10430, 11, 705, 4, 56, 11537, 7054, 32914, 11, 20460, 62, 10468, 62, 18601, 7, 79, 13, 5956, 16516, 10430, 11, 705, 4, 33, 11537, 7054, 25000, 4221, 11, 25000, 4221, 7, 79, 13, 5956, 16516, 10430, 8, 7054, 11741, 9306, 62, 27857, 4221, 62, 26442, 11, 327, 28270, 7, 28104, 7054, 7472, 16034, 12043, 7054, 279, 11, 2947, 36142, 7054, 279, 31499, 11, 44789, 7054, 256, 11, 2947, 31431, 7054, 279, 19199, 33411, 279, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 21496, 357, 35741, 290, 23998, 8, 1912, 319, 257, 1813, 7621, 13, 46506, 20460, 62, 10468, 62, 18601, 7, 79, 13, 5956, 16516, 10430, 11, 705, 4, 56, 11537, 7054, 32914, 11, 20460, 62, 10468, 62, 18601, 7, 79, 13, 5956, 16516, 10430, 11, 705, 4, 33, 11537, 7054, 25000, 4221, 11, 25000, 4221, 7, 79, 13, 5956, 16516, 10430, 8, 7054, 11741, 9306, 62, 27857, 4221, 62, 26442, 11, 327, 28270, 7, 28104, 7054, 7472, 16034, 12043, 7054, 279, 11, 2947, 36142, 7054, 279, 31499, 11, 44789, 7054, 256, 11, 2947, 31431, 7054, 279, 19199, 33411, 279, 13, 6307 ]
how long has it been since the zebra finch diverged from humans ?
SELECT "years since divergence from human (mya)" FROM table_204_358 WHERE "common name" = 'zebra finch'
[ 4919, 890, 468, 340, 587, 1201, 262, 1976, 37052, 957, 354, 12312, 2004, 422, 5384, 5633, 46506, 366, 19002, 1201, 43366, 422, 1692, 357, 1820, 64, 16725, 16034, 3084, 62, 18638, 62, 31128, 33411, 366, 11321, 1438, 1, 796, 705, 89, 37052, 957, 354, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 890, 468, 340, 587, 1201, 262, 1976, 37052, 957, 354, 12312, 2004, 422, 5384, 5633, 46506, 366, 19002, 1201, 43366, 422, 1692, 357, 1820, 64, 16725, 16034, 3084, 62, 18638, 62, 31128, 33411, 366, 11321, 1438, 1, 796, 705, 89, 37052, 957, 354, 6 ]
Show the names of countries and the average speed of roller coasters from each country. Plot them as bar chart.
SELECT T1.Name, AVG(T2.Speed) FROM country AS T1 JOIN roller_coaster AS T2 ON T1.Country_ID = T2.Country_ID GROUP BY T1.Name
[ 15307, 262, 3891, 286, 2678, 290, 262, 2811, 2866, 286, 24471, 763, 7060, 422, 1123, 1499, 13, 28114, 606, 355, 2318, 8262, 13, 46506, 309, 16, 13, 5376, 11, 35224, 7, 51, 17, 13, 22785, 8, 16034, 1499, 7054, 309, 16, 32357, 1268, 24471, 62, 1073, 1603, 7054, 309, 17, 6177, 309, 16, 13, 33921, 62, 2389, 796, 309, 17, 13, 33921, 62, 2389, 44441, 11050, 309, 16, 13, 5376 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3891, 286, 2678, 290, 262, 2811, 2866, 286, 24471, 763, 7060, 422, 1123, 1499, 13, 28114, 606, 355, 2318, 8262, 13, 46506, 309, 16, 13, 5376, 11, 35224, 7, 51, 17, 13, 22785, 8, 16034, 1499, 7054, 309, 16, 32357, 1268, 24471, 62, 1073, 1603, 7054, 309, 17, 6177, 309, 16, 13, 33921, 62, 2389, 796, 309, 17, 13, 33921, 62, 2389, 44441, 11050, 309, 16, 13, 5376 ]
How tall is player James Stanton?
SELECT "Height" FROM table_61434 WHERE "Name" = 'james stanton'
[ 2437, 7331, 318, 2137, 3700, 36442, 30, 46506, 366, 23106, 1, 16034, 3084, 62, 46841, 2682, 33411, 366, 5376, 1, 796, 705, 73, 1047, 336, 23026, 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 ]
[ 2437, 7331, 318, 2137, 3700, 36442, 30, 46506, 366, 23106, 1, 16034, 3084, 62, 46841, 2682, 33411, 366, 5376, 1, 796, 705, 73, 1047, 336, 23026, 6 ]
Name the old bulgarian names for yanuari
SELECT old_bulgarian_names FROM table_15275060_1 WHERE BULGARIAN_NAME(Transliteration) = Yanuari
[ 5376, 262, 1468, 4807, 70, 3699, 3891, 329, 331, 42357, 2743, 46506, 1468, 62, 15065, 70, 3699, 62, 14933, 16034, 3084, 62, 1314, 1983, 1120, 1899, 62, 16, 33411, 347, 6239, 38, 1503, 16868, 62, 20608, 7, 8291, 17201, 341, 8, 796, 10642, 84, 2743 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1468, 4807, 70, 3699, 3891, 329, 331, 42357, 2743, 46506, 1468, 62, 15065, 70, 3699, 62, 14933, 16034, 3084, 62, 1314, 1983, 1120, 1899, 62, 16, 33411, 347, 6239, 38, 1503, 16868, 62, 20608, 7, 8291, 17201, 341, 8, 796, 10642, 84, 2743 ]
SQL post links per user.
SELECT GROUP_CONCAT(CAST(link AS TEXT), ', ') AS data FROM (SELECT CONCAT('''https://', '##SiteDomain:string##', CASE WHEN PostTypeId = 1 THEN '/q/' ELSE '/a/' END, Id, '''') AS link FROM Posts WHERE PostTypeId IN (1, 2) AND OwnerUserId = '##OwnerUserId:int##') AS X
[ 17861, 1281, 6117, 583, 2836, 13, 46506, 44441, 62, 10943, 34, 1404, 7, 44647, 7, 8726, 7054, 40383, 828, 46083, 705, 8, 7054, 1366, 16034, 357, 46506, 39962, 1404, 7, 7061, 6, 5450, 1378, 3256, 705, 2235, 29123, 43961, 25, 8841, 2235, 3256, 42001, 42099, 2947, 6030, 7390, 796, 352, 42243, 31051, 80, 14, 6, 17852, 5188, 31051, 64, 14, 6, 23578, 11, 5121, 11, 705, 7061, 11537, 7054, 2792, 16034, 12043, 33411, 2947, 6030, 7390, 3268, 357, 16, 11, 362, 8, 5357, 23853, 12982, 7390, 796, 705, 2235, 42419, 12982, 7390, 25, 600, 2235, 11537, 7054, 1395 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 17861, 1281, 6117, 583, 2836, 13, 46506, 44441, 62, 10943, 34, 1404, 7, 44647, 7, 8726, 7054, 40383, 828, 46083, 705, 8, 7054, 1366, 16034, 357, 46506, 39962, 1404, 7, 7061, 6, 5450, 1378, 3256, 705, 2235, 29123, 43961, 25, 8841, 2235, 3256, 42001, 42099, 2947, 6030, 7390, 796, 352, 42243, 31051, 80, 14, 6, 17852, 5188, 31051, 64, 14, 6, 23578, 11, 5121, 11, 705, 7061, 11537, 7054, 2792, 16034, 12043, 33411, 2947, 6030, 7390, 3268, 357, 16, 11, 362, 8, 5357, 23853, 12982, 7390, 796, 705, 2235, 42419, 12982, 7390, 25, 600, 2235, 11537, 7054, 1395 ]
what was the diagnosis of patient 26799 for the first time during a year before?
SELECT d_icd_diagnoses.short_title FROM d_icd_diagnoses WHERE d_icd_diagnoses.icd9_code IN (SELECT diagnoses_icd.icd9_code FROM diagnoses_icd WHERE diagnoses_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 26799) AND DATETIME(diagnoses_icd.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') ORDER BY diagnoses_icd.charttime LIMIT 1)
[ 10919, 373, 262, 13669, 286, 5827, 37364, 2079, 329, 262, 717, 640, 1141, 257, 614, 878, 30, 46506, 288, 62, 291, 67, 62, 47356, 4629, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 47356, 4629, 33411, 288, 62, 291, 67, 62, 47356, 4629, 13, 291, 67, 24, 62, 8189, 3268, 357, 46506, 40567, 62, 291, 67, 13, 291, 67, 24, 62, 8189, 16034, 40567, 62, 291, 67, 33411, 40567, 62, 291, 67, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 37364, 2079, 8 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13669, 286, 5827, 37364, 2079, 329, 262, 717, 640, 1141, 257, 614, 878, 30, 46506, 288, 62, 291, 67, 62, 47356, 4629, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 47356, 4629, 33411, 288, 62, 291, 67, 62, 47356, 4629, 13, 291, 67, 24, 62, 8189, 3268, 357, 46506, 40567, 62, 291, 67, 13, 291, 67, 24, 62, 8189, 16034, 40567, 62, 291, 67, 33411, 40567, 62, 291, 67, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 37364, 2079, 8 ]
What Have you Tried? w/ accepted answer.
SELECT c.Text, c.Id AS "comment_link", p.Score, c.CreationDate, p.ViewCount, LENGTH(c.Text) AS "Len", p.Id AS "post_link" FROM Comments AS c INNER JOIN Posts AS p ON c.PostId = p.Id WHERE c.Text LIKE '_hat have you tri%' AND NOT p.AcceptedAnswerId IS NULL AND LENGTH(c.Text) < 80 ORDER BY p.LastEditDate LIMIT 100
[ 2061, 8192, 345, 309, 2228, 30, 266, 14, 6292, 3280, 13, 46506, 269, 13, 8206, 11, 269, 13, 7390, 7054, 366, 23893, 62, 8726, 1600, 279, 13, 26595, 11, 269, 13, 12443, 341, 10430, 11, 279, 13, 7680, 12332, 11, 406, 49494, 7, 66, 13, 8206, 8, 7054, 366, 30659, 1600, 279, 13, 7390, 7054, 366, 7353, 62, 8726, 1, 16034, 19502, 7054, 269, 3268, 21479, 32357, 1268, 12043, 7054, 279, 6177, 269, 13, 6307, 7390, 796, 279, 13, 7390, 33411, 269, 13, 8206, 34178, 705, 62, 5183, 423, 345, 1333, 4, 6, 5357, 5626, 279, 13, 38855, 276, 33706 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8192, 345, 309, 2228, 30, 266, 14, 6292, 3280, 13, 46506, 269, 13, 8206, 11, 269, 13, 7390, 7054, 366, 23893, 62, 8726, 1600, 279, 13, 26595, 11, 269, 13, 12443, 341, 10430, 11, 279, 13, 7680, 12332, 11, 406, 49494, 7, 66, 13, 8206, 8, 7054, 366, 30659, 1600, 279, 13, 7390, 7054, 366, 7353, 62, 8726, 1, 16034, 19502, 7054, 269, 3268, 21479, 32357, 1268, 12043, 7054, 279, 6177, 269, 13, 6307, 7390, 796, 279, 13, 7390, 33411, 269, 13, 8206, 34178, 705, 62, 5183, 423, 345, 1333, 4, 6, 5357, 5626, 279, 13, 38855, 276, 33706 ]
What is the number of laps for Grid 3?
SELECT "Laps" FROM table_67301 WHERE "Grid" = '3'
[ 2061, 318, 262, 1271, 286, 24590, 329, 24846, 513, 30, 46506, 366, 43, 1686, 1, 16034, 3084, 62, 3134, 18938, 33411, 366, 41339, 1, 796, 705, 18, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1271, 286, 24590, 329, 24846, 513, 30, 46506, 366, 43, 1686, 1, 16034, 3084, 62, 3134, 18938, 33411, 366, 41339, 1, 796, 705, 18, 6 ]
what were the five most common drugs prescribed until 2102?
SELECT t1.drug FROM (SELECT prescriptions.drug, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM prescriptions WHERE STRFTIME('%y', prescriptions.startdate) <= '2102' GROUP BY prescriptions.drug) AS t1 WHERE t1.c1 <= 5
[ 10919, 547, 262, 1936, 749, 2219, 5010, 14798, 1566, 362, 15377, 30, 46506, 256, 16, 13, 30349, 16034, 357, 46506, 34092, 13, 30349, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, 7, 28104, 22196, 34, 8, 7054, 269, 16, 16034, 34092, 33411, 19269, 9792, 12789, 10786, 4, 88, 3256, 34092, 13, 9688, 4475, 8, 19841, 705, 17, 15377, 6, 44441, 11050, 34092, 13, 30349, 8, 7054, 256, 16, 33411, 256, 16, 13, 66, 16, 19841, 642 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1936, 749, 2219, 5010, 14798, 1566, 362, 15377, 30, 46506, 256, 16, 13, 30349, 16034, 357, 46506, 34092, 13, 30349, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, 7, 28104, 22196, 34, 8, 7054, 269, 16, 16034, 34092, 33411, 19269, 9792, 12789, 10786, 4, 88, 3256, 34092, 13, 9688, 4475, 8, 19841, 705, 17, 15377, 6, 44441, 11050, 34092, 13, 30349, 8, 7054, 256, 16, 33411, 256, 16, 13, 66, 16, 19841, 642 ]
Who was the candidate in the election in the Louisiana 2 district?
SELECT candidates FROM table_1342149_18 WHERE district = "Louisiana 2"
[ 8241, 373, 262, 4540, 287, 262, 3071, 287, 262, 13340, 362, 4783, 30, 46506, 5871, 16034, 3084, 62, 1485, 3682, 19442, 62, 1507, 33411, 4783, 796, 366, 32117, 7484, 362, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 373, 262, 4540, 287, 262, 3071, 287, 262, 13340, 362, 4783, 30, 46506, 5871, 16034, 3084, 62, 1485, 3682, 19442, 62, 1507, 33411, 4783, 796, 366, 32117, 7484, 362, 1 ]
The Rainbow District School Board is associated with what type?
SELECT type FROM table_1506619_1 WHERE school_board = "Rainbow District school_board"
[ 464, 19909, 5665, 3961, 5926, 318, 3917, 351, 644, 2099, 30, 46506, 2099, 16034, 3084, 62, 8628, 2791, 1129, 62, 16, 33411, 1524, 62, 3526, 796, 366, 31443, 8176, 5665, 1524, 62, 3526, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 19909, 5665, 3961, 5926, 318, 3917, 351, 644, 2099, 30, 46506, 2099, 16034, 3084, 62, 8628, 2791, 1129, 62, 16, 33411, 1524, 62, 3526, 796, 366, 31443, 8176, 5665, 1524, 62, 3526, 1 ]
Name the away team score for home team of university
SELECT away_team AS score FROM table_name_36 WHERE home_team = "university"
[ 5376, 262, 1497, 1074, 4776, 329, 1363, 1074, 286, 6403, 46506, 1497, 62, 15097, 7054, 4776, 16034, 3084, 62, 3672, 62, 2623, 33411, 1363, 62, 15097, 796, 366, 403, 1608, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 1497, 1074, 4776, 329, 1363, 1074, 286, 6403, 46506, 1497, 62, 15097, 7054, 4776, 16034, 3084, 62, 3672, 62, 2623, 33411, 1363, 62, 15097, 796, 366, 403, 1608, 1 ]
which urban area has the largest population ?
SELECT "urban area" FROM table_203_74 ORDER BY "population\n(2001 census)" DESC LIMIT 1
[ 4758, 7876, 1989, 468, 262, 4387, 3265, 5633, 46506, 366, 32679, 1989, 1, 16034, 3084, 62, 22416, 62, 4524, 38678, 11050, 366, 39748, 59, 77, 7, 14585, 21649, 16725, 22196, 34, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4758, 7876, 1989, 468, 262, 4387, 3265, 5633, 46506, 366, 32679, 1989, 1, 16034, 3084, 62, 22416, 62, 4524, 38678, 11050, 366, 39748, 59, 77, 7, 14585, 21649, 16725, 22196, 34, 27564, 2043, 352 ]
Answer count for [status-completed] questions.
SELECT AnswerCount, COUNT(*) FROM Posts WHERE Tags LIKE '%<status-completed>%' GROUP BY AnswerCount
[ 33706, 954, 329, 685, 13376, 12, 785, 16838, 60, 2683, 13, 46506, 23998, 12332, 11, 327, 28270, 7, 28104, 16034, 12043, 33411, 44789, 34178, 705, 4, 27, 13376, 12, 785, 16838, 29, 4, 6, 44441, 11050, 23998, 12332 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 33706, 954, 329, 685, 13376, 12, 785, 16838, 60, 2683, 13, 46506, 23998, 12332, 11, 327, 28270, 7, 28104, 16034, 12043, 33411, 44789, 34178, 705, 4, 27, 13376, 12, 785, 16838, 29, 4, 6, 44441, 11050, 23998, 12332 ]
What was the score for the away team of Brentford?
SELECT "Score" FROM table_63720 WHERE "Away team" = 'brentford'
[ 2061, 373, 262, 4776, 329, 262, 1497, 1074, 286, 23357, 3841, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 21, 2718, 1238, 33411, 366, 32, 1014, 1074, 1, 796, 705, 65, 1156, 3841, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 4776, 329, 262, 1497, 1074, 286, 23357, 3841, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 21, 2718, 1238, 33411, 366, 32, 1014, 1074, 1, 796, 705, 65, 1156, 3841, 6 ]
what is drug name and drug route of drug code hydm4?
SELECT prescriptions.drug, prescriptions.route FROM prescriptions WHERE prescriptions.formulary_drug_cd = "HYDM4"
[ 10919, 318, 2563, 1438, 290, 2563, 6339, 286, 2563, 2438, 7409, 76, 19, 30, 46506, 34092, 13, 30349, 11, 34092, 13, 38629, 16034, 34092, 33411, 34092, 13, 687, 377, 560, 62, 30349, 62, 10210, 796, 366, 42598, 23127, 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 ]
[ 10919, 318, 2563, 1438, 290, 2563, 6339, 286, 2563, 2438, 7409, 76, 19, 30, 46506, 34092, 13, 30349, 11, 34092, 13, 38629, 16034, 34092, 33411, 34092, 13, 687, 377, 560, 62, 30349, 62, 10210, 796, 366, 42598, 23127, 19, 1 ]
What position does alun wyn jones play?
SELECT position FROM table_name_59 WHERE player = "alun wyn jones"
[ 2061, 2292, 857, 435, 403, 266, 2047, 474, 1952, 711, 30, 46506, 2292, 16034, 3084, 62, 3672, 62, 3270, 33411, 2137, 796, 366, 282, 403, 266, 2047, 474, 1952, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 2292, 857, 435, 403, 266, 2047, 474, 1952, 711, 30, 46506, 2292, 16034, 3084, 62, 3672, 62, 3270, 33411, 2137, 796, 366, 282, 403, 266, 2047, 474, 1952, 1 ]
How many students have a food allergy?
SELECT COUNT(*) FROM Has_allergy AS T1 JOIN Allergy_type AS T2 ON T1.allergy = T2.allergy WHERE T2.allergytype = "food"
[ 2437, 867, 2444, 423, 257, 2057, 36197, 30, 46506, 327, 28270, 7, 28104, 16034, 7875, 62, 439, 26079, 7054, 309, 16, 32357, 1268, 1439, 26079, 62, 4906, 7054, 309, 17, 6177, 309, 16, 13, 439, 26079, 796, 309, 17, 13, 439, 26079, 33411, 309, 17, 13, 439, 26079, 4906, 796, 366, 19425, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2444, 423, 257, 2057, 36197, 30, 46506, 327, 28270, 7, 28104, 16034, 7875, 62, 439, 26079, 7054, 309, 16, 32357, 1268, 1439, 26079, 62, 4906, 7054, 309, 17, 6177, 309, 16, 13, 439, 26079, 796, 309, 17, 13, 439, 26079, 33411, 309, 17, 13, 439, 26079, 4906, 796, 366, 19425, 1 ]
brooklyn dodgers 3, new york yankees 5, and a Game larger than 1 had what attendance figure?
SELECT SUM(attendance) FROM table_name_47 WHERE score = "brooklyn dodgers – 3, new york yankees – 5" AND game > 1
[ 19094, 6213, 20764, 5355, 513, 11, 649, 331, 967, 331, 272, 16683, 642, 11, 290, 257, 3776, 4025, 621, 352, 550, 644, 14858, 3785, 30, 46506, 35683, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 2857, 33411, 4776, 796, 366, 19094, 6213, 20764, 5355, 784, 513, 11, 649, 331, 967, 331, 272, 16683, 784, 642, 1, 5357, 983, 1875, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 19094, 6213, 20764, 5355, 513, 11, 649, 331, 967, 331, 272, 16683, 642, 11, 290, 257, 3776, 4025, 621, 352, 550, 644, 14858, 3785, 30, 46506, 35683, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 2857, 33411, 4776, 796, 366, 19094, 6213, 20764, 5355, 784, 513, 11, 649, 331, 967, 331, 272, 16683, 784, 642, 1, 5357, 983, 1875, 352 ]
When did the ATV that launched on 9 March 2008, deorbit?
SELECT "Deorbit date" FROM table_44449 WHERE "Launch date" = '9 march 2008'
[ 2215, 750, 262, 5161, 53, 326, 5611, 319, 860, 2805, 3648, 11, 390, 42594, 30, 46506, 366, 5005, 42594, 3128, 1, 16034, 3084, 62, 2598, 31911, 33411, 366, 38296, 3128, 1, 796, 705, 24, 9960, 3648, 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 ]
[ 2215, 750, 262, 5161, 53, 326, 5611, 319, 860, 2805, 3648, 11, 390, 42594, 30, 46506, 366, 5005, 42594, 3128, 1, 16034, 3084, 62, 2598, 31911, 33411, 366, 38296, 3128, 1, 796, 705, 24, 9960, 3648, 6 ]
What is the Song choice with a Theme that is 1960s?
SELECT "Song choice" FROM table_7323 WHERE "Theme" = '1960s'
[ 2061, 318, 262, 10940, 3572, 351, 257, 26729, 326, 318, 9507, 82, 30, 46506, 366, 44241, 3572, 1, 16034, 3084, 62, 4790, 1954, 33411, 366, 47863, 1, 796, 705, 38503, 82, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 10940, 3572, 351, 257, 26729, 326, 318, 9507, 82, 30, 46506, 366, 44241, 3572, 1, 16034, 3084, 62, 4790, 1954, 33411, 366, 47863, 1, 796, 705, 38503, 82, 6 ]
Who was the sideline reporter prior to 1993?
SELECT sideline_reporter_s_ FROM table_name_8 WHERE year < 1993
[ 8241, 373, 262, 31585, 9095, 3161, 284, 9656, 30, 46506, 31585, 62, 260, 26634, 62, 82, 62, 16034, 3084, 62, 3672, 62, 23, 33411, 614, 1279, 9656 ]
[ 1, 1, 1, 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, 31585, 9095, 3161, 284, 9656, 30, 46506, 31585, 62, 260, 26634, 62, 82, 62, 16034, 3084, 62, 3672, 62, 23, 33411, 614, 1279, 9656 ]
what movie grossed the most amount of money in one weekend ?
SELECT "film" FROM table_203_180 ORDER BY "weekend gross (millions)" DESC LIMIT 1
[ 10919, 3807, 10319, 276, 262, 749, 2033, 286, 1637, 287, 530, 5041, 5633, 46506, 366, 26240, 1, 16034, 3084, 62, 22416, 62, 15259, 38678, 11050, 366, 10464, 437, 10319, 357, 17805, 507, 16725, 22196, 34, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 3807, 10319, 276, 262, 749, 2033, 286, 1637, 287, 530, 5041, 5633, 46506, 366, 26240, 1, 16034, 3084, 62, 22416, 62, 15259, 38678, 11050, 366, 10464, 437, 10319, 357, 17805, 507, 16725, 22196, 34, 27564, 2043, 352 ]
What is the Player that has a To standard of 7?
SELECT "Player" FROM table_44460 WHERE "To par" = '–7'
[ 2061, 318, 262, 7853, 326, 468, 257, 1675, 3210, 286, 767, 30, 46506, 366, 14140, 1, 16034, 3084, 62, 30272, 1899, 33411, 366, 2514, 1582, 1, 796, 705, 1906, 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, 1 ]
[ 2061, 318, 262, 7853, 326, 468, 257, 1675, 3210, 286, 767, 30, 46506, 366, 14140, 1, 16034, 3084, 62, 30272, 1899, 33411, 366, 2514, 1582, 1, 796, 705, 1906, 22, 6 ]
For those employees who did not have any job in the past, what is the relationship between employee_id and manager_id ?
SELECT EMPLOYEE_ID, MANAGER_ID FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history)
[ 1890, 883, 4409, 508, 750, 407, 423, 597, 1693, 287, 262, 1613, 11, 644, 318, 262, 2776, 1022, 6538, 62, 312, 290, 4706, 62, 312, 5633, 46506, 17228, 6489, 21414, 6500, 62, 2389, 11, 17254, 4760, 1137, 62, 2389, 16034, 4409, 33411, 5626, 17228, 6489, 21414, 6500, 62, 2389, 3268, 357, 46506, 17228, 6489, 21414, 6500, 62, 2389, 16034, 1693, 62, 23569, 8 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1890, 883, 4409, 508, 750, 407, 423, 597, 1693, 287, 262, 1613, 11, 644, 318, 262, 2776, 1022, 6538, 62, 312, 290, 4706, 62, 312, 5633, 46506, 17228, 6489, 21414, 6500, 62, 2389, 11, 17254, 4760, 1137, 62, 2389, 16034, 4409, 33411, 5626, 17228, 6489, 21414, 6500, 62, 2389, 3268, 357, 46506, 17228, 6489, 21414, 6500, 62, 2389, 16034, 1693, 62, 23569, 8 ]
Recent Tags in Android posts by Popularity within last 45 days. All tags in posts tagged with android (or android-*), ordered by number of posts, by posts within last 7 days.
SELECT t2.TagName, COUNT(p.Id) FROM Tags AS t INNER JOIN PostTags AS pt ON pt.TagId = t.Id AND t.TagName LIKE '%android%' INNER JOIN Posts AS p ON pt.PostId = p.Id AND DATEDIFF(d, GETDATE(), CreationDate) >= -45 INNER JOIN PostTags AS pt2 ON p.Id = pt2.PostId INNER JOIN Tags AS t2 ON pt2.TagId = t2.Id GROUP BY t2.TagName ORDER BY COUNT(t2.TagName) DESC
[ 26446, 44789, 287, 5565, 6851, 416, 22623, 414, 1626, 938, 4153, 1528, 13, 1439, 15940, 287, 6851, 30509, 351, 19286, 357, 273, 19286, 12, 9, 828, 6149, 416, 1271, 286, 6851, 11, 416, 6851, 1626, 938, 767, 1528, 13, 46506, 256, 17, 13, 24835, 5376, 11, 327, 28270, 7, 79, 13, 7390, 8, 16034, 44789, 7054, 256, 3268, 21479, 32357, 1268, 2947, 36142, 7054, 42975, 6177, 42975, 13, 24835, 7390, 796, 256, 13, 7390, 5357, 256, 13, 24835, 5376, 34178, 705, 4, 19411, 4, 6, 3268, 21479, 32357, 1268, 12043, 7054, 279, 6177, 42975, 13, 6307, 7390, 796, 279, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 26446, 44789, 287, 5565, 6851, 416, 22623, 414, 1626, 938, 4153, 1528, 13, 1439, 15940, 287, 6851, 30509, 351, 19286, 357, 273, 19286, 12, 9, 828, 6149, 416, 1271, 286, 6851, 11, 416, 6851, 1626, 938, 767, 1528, 13, 46506, 256, 17, 13, 24835, 5376, 11, 327, 28270, 7, 79, 13, 7390, 8, 16034, 44789, 7054, 256, 3268, 21479, 32357, 1268, 2947, 36142, 7054, 42975, 6177, 42975, 13, 24835, 7390, 796, 256, 13, 7390, 5357, 256, 13, 24835, 5376, 34178, 705, 4, 19411, 4, 6, 3268, 21479, 32357, 1268, 12043, 7054, 279, 6177, 42975, 13, 6307, 7390, 796, 279, 13 ]
I want the driver for Laps more than 8 and ferrari with Grid of 8
SELECT driver FROM table_name_45 WHERE laps > 8 AND constructor = "ferrari" AND grid = 8
[ 40, 765, 262, 4639, 329, 406, 1686, 517, 621, 807, 290, 277, 8056, 2743, 351, 24846, 286, 807, 46506, 4639, 16034, 3084, 62, 3672, 62, 2231, 33411, 24590, 1875, 807, 5357, 23772, 796, 366, 2232, 81, 2743, 1, 5357, 10706, 796, 807 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 40, 765, 262, 4639, 329, 406, 1686, 517, 621, 807, 290, 277, 8056, 2743, 351, 24846, 286, 807, 46506, 4639, 16034, 3084, 62, 3672, 62, 2231, 33411, 24590, 1875, 807, 5357, 23772, 796, 366, 2232, 81, 2743, 1, 5357, 10706, 796, 807 ]
When did Avex Entertainment release a CD?
SELECT "Date" FROM table_65412 WHERE "Format" = 'cd' AND "Label" = 'avex entertainment'
[ 2215, 750, 12761, 87, 11058, 2650, 257, 6458, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 39111, 1065, 33411, 366, 26227, 1, 796, 705, 10210, 6, 5357, 366, 33986, 1, 796, 705, 1015, 87, 9739, 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 ]
[ 2215, 750, 12761, 87, 11058, 2650, 257, 6458, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 39111, 1065, 33411, 366, 26227, 1, 796, 705, 10210, 6, 5357, 366, 33986, 1, 796, 705, 1015, 87, 9739, 6 ]
Which Date has a Record of 19 16 8?
SELECT "Date" FROM table_64405 WHERE "Record" = '19–16–8'
[ 13828, 7536, 468, 257, 13266, 286, 678, 1467, 807, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 2414, 26598, 33411, 366, 23739, 1, 796, 705, 1129, 1906, 1433, 1906, 23, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 7536, 468, 257, 13266, 286, 678, 1467, 807, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 2414, 26598, 33411, 366, 23739, 1, 796, 705, 1129, 1906, 1433, 1906, 23, 6 ]
count the number of patients whose marital status is married and primary disease is left internal jugular vein thrombosis;left arm edema?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.marital_status = "MARRIED" AND demographic.diagnosis = "LEFT INTERNAL JUGULAR VEIN THROMBOSIS;LEFT ARM EDEMA"
[ 9127, 262, 1271, 286, 3871, 3025, 29555, 3722, 318, 6405, 290, 4165, 4369, 318, 1364, 5387, 45808, 934, 27208, 294, 398, 65, 5958, 26, 9464, 3211, 1225, 19687, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 3876, 1287, 62, 13376, 796, 366, 40569, 7112, 1961, 1, 5357, 16728, 13, 47356, 5958, 796, 366, 2538, 9792, 23255, 45, 1847, 449, 7340, 37232, 569, 36, 1268, 2320, 33676, 33, 2640, 1797, 26, 2538, 9792, 20359, 8392, 27630, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 9127, 262, 1271, 286, 3871, 3025, 29555, 3722, 318, 6405, 290, 4165, 4369, 318, 1364, 5387, 45808, 934, 27208, 294, 398, 65, 5958, 26, 9464, 3211, 1225, 19687, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 3876, 1287, 62, 13376, 796, 366, 40569, 7112, 1961, 1, 5357, 16728, 13, 47356, 5958, 796, 366, 2538, 9792, 23255, 45, 1847, 449, 7340, 37232, 569, 36, 1268, 2320, 33676, 33, 2640, 1797, 26, 2538, 9792, 20359, 8392, 27630, 1 ]
give me the flights and fares on 12 27 from ORLANDO to INDIANAPOLIS
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 AS DATE_DAY_0, date_day AS DATE_DAY_1, days AS DAYS_0, days AS DAYS_1, fare, fare_basis, flight, flight_fare WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'INDIANAPOLIS' AND DATE_DAY_0.day_number = 27 AND DATE_DAY_0.month_number = 12 AND DATE_DAY_0.year = 1991 AND DAYS_0.day_name = DATE_DAY_0.day_name AND flight.flight_days = DAYS_0.days_code AND flight.to_airport = AIRPORT_SERVICE_1.airport_code) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'ORLANDO' AND DATE_DAY_1.day_number = 27 AND DATE_DAY_1.month_number = 12 AND DATE_DAY_1.year = 1991 AND DAYS_1.day_name = DATE_DAY_1.day_name AND fare_basis.basis_days = DAYS_1.days_code AND fare.fare_basis_code = fare_basis.fare_basis_code AND flight_fare.fare_id = fare.fare_id AND flight.flight_id = flight_fare.flight_id AND flight.from_airport = AIRPORT_SERVICE_0.airport_code
[ 26535, 502, 262, 13956, 290, 33164, 319, 1105, 2681, 422, 6375, 28182, 46, 284, 24413, 16868, 2969, 3535, 1797, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 16, 11, 1748, 7054, 27993, 62, 15, 11, 1748, 7054, 27993, 62, 16, 11, 3128, 62, 820, 7054, 360, 6158, 62, 26442, 62, 15, 11, 3128, 62, 820, 7054, 360, 6158, 62, 26442, 62, 16, 11, 1528, 7054, 24644, 50, 62, 15, 11, 1528, 7054, 24644, 50, 62 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 290, 33164, 319, 1105, 2681, 422, 6375, 28182, 46, 284, 24413, 16868, 2969, 3535, 1797, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 16, 11, 1748, 7054, 27993, 62, 15, 11, 1748, 7054, 27993, 62, 16, 11, 3128, 62, 820, 7054, 360, 6158, 62, 26442, 62, 15, 11, 3128, 62, 820, 7054, 360, 6158, 62, 26442, 62, 16, 11, 1528, 7054, 24644, 50, 62, 15, 11, 1528, 7054, 24644, 50, 62 ]
show me all DAILY flights out of BOSTON that have COACH class
SELECT DISTINCT flight.flight_id FROM airport_service, city, fare, fare_basis, flight, flight_fare WHERE (city.city_code = airport_service.city_code AND city.city_name = 'BOSTON' AND fare_basis.class_type = 'COACH' AND fare.fare_basis_code = fare_basis.fare_basis_code AND flight_fare.fare_id = fare.fare_id AND flight.flight_id = flight_fare.flight_id AND flight.from_airport = airport_service.airport_code) AND flight.flight_days = 'DAILY'
[ 12860, 502, 477, 17051, 33340, 13956, 503, 286, 347, 10892, 1340, 326, 423, 7375, 16219, 1398, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 11, 1748, 11, 14505, 11, 14505, 62, 12093, 271, 11, 5474, 11, 5474, 62, 9496, 33411, 357, 19205, 13, 19205, 62, 8189, 796, 9003, 62, 15271, 13, 19205, 62, 8189, 5357, 1748, 13, 19205, 62, 3672, 796, 705, 8202, 41924, 6, 5357, 14505, 62, 12093, 271, 13, 4871, 62, 4906, 796, 705, 8220, 16219, 6, 5357, 14505, 13, 9496, 62, 12093, 271, 62, 8189, 796, 14505, 62, 12093, 271, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 477, 17051, 33340, 13956, 503, 286, 347, 10892, 1340, 326, 423, 7375, 16219, 1398, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 11, 1748, 11, 14505, 11, 14505, 62, 12093, 271, 11, 5474, 11, 5474, 62, 9496, 33411, 357, 19205, 13, 19205, 62, 8189, 796, 9003, 62, 15271, 13, 19205, 62, 8189, 5357, 1748, 13, 19205, 62, 3672, 796, 705, 8202, 41924, 6, 5357, 14505, 62, 12093, 271, 13, 4871, 62, 4906, 796, 705, 8220, 16219, 6, 5357, 14505, 13, 9496, 62, 12093, 271, 62, 8189, 796, 14505, 62, 12093, 271, 13 ]
provide the number of widow patients who had procedure with short title cv cath plcmt w guidance.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.marital_status = "WIDOWED" AND procedures.short_title = "CV cath plcmt w guidance"
[ 15234, 485, 262, 1271, 286, 27075, 3871, 508, 550, 8771, 351, 1790, 3670, 269, 85, 32171, 458, 11215, 83, 266, 11154, 13, 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, 796, 9021, 13, 18108, 76, 62, 312, 33411, 16728, 13, 3876, 1287, 62, 13376, 796, 366, 54, 2389, 3913, 1961, 1, 5357, 9021, 13, 19509, 62, 7839, 796, 366, 33538, 32171, 458, 11215, 83, 266, 11154, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 27075, 3871, 508, 550, 8771, 351, 1790, 3670, 269, 85, 32171, 458, 11215, 83, 266, 11154, 13, 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, 796, 9021, 13, 18108, 76, 62, 312, 33411, 16728, 13, 3876, 1287, 62, 13376, 796, 366, 54, 2389, 3913, 1961, 1, 5357, 9021, 13, 19509, 62, 7839, 796, 366, 33538, 32171, 458, 11215, 83, 266, 11154, 1 ]
Which winner had a location of Iowa?
SELECT winner FROM table_name_12 WHERE location = "iowa"
[ 13828, 8464, 550, 257, 4067, 286, 9406, 30, 46506, 8464, 16034, 3084, 62, 3672, 62, 1065, 33411, 4067, 796, 366, 72, 8455, 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, 8464, 550, 257, 4067, 286, 9406, 30, 46506, 8464, 16034, 3084, 62, 3672, 62, 1065, 33411, 4067, 796, 366, 72, 8455, 1 ]
What was the score of the game when the record was 19 13 3?
SELECT score FROM table_name_92 WHERE record = "19–13–3"
[ 2061, 373, 262, 4776, 286, 262, 983, 618, 262, 1700, 373, 678, 1511, 513, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 5892, 33411, 1700, 796, 366, 1129, 1906, 1485, 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, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 4776, 286, 262, 983, 618, 262, 1700, 373, 678, 1511, 513, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 5892, 33411, 1700, 796, 366, 1129, 1906, 1485, 1906, 18, 1 ]
What was the position of the event held in Valencia, Spain?
SELECT position FROM table_name_8 WHERE venue = "valencia, spain"
[ 2061, 373, 262, 2292, 286, 262, 1785, 2714, 287, 35773, 11, 8602, 30, 46506, 2292, 16034, 3084, 62, 3672, 62, 23, 33411, 14359, 796, 366, 2100, 29634, 11, 599, 391, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 2292, 286, 262, 1785, 2714, 287, 35773, 11, 8602, 30, 46506, 2292, 16034, 3084, 62, 3672, 62, 23, 33411, 14359, 796, 366, 2100, 29634, 11, 599, 391, 1 ]
My Charity vs My Vanity.
SELECT (SELECT SUM(Score) * 10 FROM Posts WHERE PostTypeId = 2 AND OwnerUserId = '##userid##' AND NOT CommunityOwnedDate IS NULL) AS "charity", (SELECT SUM(Score) * 10 FROM Posts WHERE PostTypeId = 2 AND OwnerUserId = '##userid##' AND CommunityOwnedDate IS NULL) AS "vanity", '##userid##' AS "user_link"
[ 3666, 37575, 3691, 2011, 46584, 13, 46506, 357, 46506, 35683, 7, 26595, 8, 1635, 838, 16034, 12043, 33411, 2947, 6030, 7390, 796, 362, 5357, 23853, 12982, 7390, 796, 705, 2235, 7220, 312, 2235, 6, 5357, 5626, 8108, 23858, 276, 10430, 3180, 15697, 8, 7054, 366, 354, 6806, 1600, 357, 46506, 35683, 7, 26595, 8, 1635, 838, 16034, 12043, 33411, 2947, 6030, 7390, 796, 362, 5357, 23853, 12982, 7390, 796, 705, 2235, 7220, 312, 2235, 6, 5357, 8108, 23858, 276, 10430, 3180, 15697, 8, 7054, 366, 10438, 414, 1600, 705, 2235, 7220, 312, 2235, 6, 7054, 366, 7220, 62, 8726, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 37575, 3691, 2011, 46584, 13, 46506, 357, 46506, 35683, 7, 26595, 8, 1635, 838, 16034, 12043, 33411, 2947, 6030, 7390, 796, 362, 5357, 23853, 12982, 7390, 796, 705, 2235, 7220, 312, 2235, 6, 5357, 5626, 8108, 23858, 276, 10430, 3180, 15697, 8, 7054, 366, 354, 6806, 1600, 357, 46506, 35683, 7, 26595, 8, 1635, 838, 16034, 12043, 33411, 2947, 6030, 7390, 796, 362, 5357, 23853, 12982, 7390, 796, 705, 2235, 7220, 312, 2235, 6, 5357, 8108, 23858, 276, 10430, 3180, 15697, 8, 7054, 366, 10438, 414, 1600, 705, 2235, 7220, 312, 2235, 6, 7054, 366, 7220, 62, 8726, 1 ]
For those records from the products and each product's manufacturer, give me the comparison about the average of code over the name , and group by attribute name, show X in asc order.
SELECT T2.Name, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name ORDER BY T2.Name
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 1577, 502, 262, 7208, 546, 262, 2811, 286, 2438, 625, 262, 1438, 837, 290, 1448, 416, 11688, 1438, 11, 905, 1395, 287, 10570, 1502, 13, 46506, 309, 17, 13, 5376, 11, 309, 16, 13, 10669, 16034, 18675, 7054, 309, 16, 32357, 1268, 17858, 17496, 7054, 309, 17, 6177, 309, 16, 13, 44445, 15051, 796, 309, 17, 13, 10669, 44441, 11050, 309, 17, 13, 5376, 38678, 11050, 309, 17, 13, 5376 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 1577, 502, 262, 7208, 546, 262, 2811, 286, 2438, 625, 262, 1438, 837, 290, 1448, 416, 11688, 1438, 11, 905, 1395, 287, 10570, 1502, 13, 46506, 309, 17, 13, 5376, 11, 309, 16, 13, 10669, 16034, 18675, 7054, 309, 16, 32357, 1268, 17858, 17496, 7054, 309, 17, 6177, 309, 16, 13, 44445, 15051, 796, 309, 17, 13, 10669, 44441, 11050, 309, 17, 13, 5376, 38678, 11050, 309, 17, 13, 5376 ]
list the AS flights arriving in BURBANK
SELECT DISTINCT flight.flight_id FROM airport_service, city, flight WHERE city.city_code = airport_service.city_code AND city.city_name = 'BURBANK' AND flight.airline_code = 'AS' AND flight.to_airport = airport_service.airport_code
[ 4868, 262, 7054, 13956, 14820, 287, 45604, 33, 15154, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 11, 1748, 11, 5474, 33411, 1748, 13, 19205, 62, 8189, 796, 9003, 62, 15271, 13, 19205, 62, 8189, 5357, 1748, 13, 19205, 62, 3672, 796, 705, 38926, 33, 15154, 6, 5357, 5474, 13, 958, 1370, 62, 8189, 796, 705, 1921, 6, 5357, 5474, 13, 1462, 62, 958, 634, 796, 9003, 62, 15271, 13, 958, 634, 62, 8189 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4868, 262, 7054, 13956, 14820, 287, 45604, 33, 15154, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 11, 1748, 11, 5474, 33411, 1748, 13, 19205, 62, 8189, 796, 9003, 62, 15271, 13, 19205, 62, 8189, 5357, 1748, 13, 19205, 62, 3672, 796, 705, 38926, 33, 15154, 6, 5357, 5474, 13, 958, 1370, 62, 8189, 796, 705, 1921, 6, 5357, 5474, 13, 1462, 62, 958, 634, 796, 9003, 62, 15271, 13, 958, 634, 62, 8189 ]
What tournament did Nadal win and had a nadal of 16?
SELECT "Tournament" FROM table_76793 WHERE "Winner" = 'nadal' AND "Nadal" = '16'
[ 2061, 7756, 750, 21877, 282, 1592, 290, 550, 257, 299, 31682, 286, 1467, 30, 46506, 366, 51, 5138, 1, 16034, 3084, 62, 32059, 6052, 33411, 366, 48056, 1, 796, 705, 77, 31682, 6, 5357, 366, 45, 31682, 1, 796, 705, 1433, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 7756, 750, 21877, 282, 1592, 290, 550, 257, 299, 31682, 286, 1467, 30, 46506, 366, 51, 5138, 1, 16034, 3084, 62, 32059, 6052, 33411, 366, 48056, 1, 796, 705, 77, 31682, 6, 5357, 366, 45, 31682, 1, 796, 705, 1433, 6 ]
What is the maximum aperture of the lens(es) with a focal length of 20mm?
SELECT "Max. aperture" FROM table_79371 WHERE "Focal Length" = '20mm'
[ 2061, 318, 262, 5415, 32729, 286, 262, 10317, 7, 274, 8, 351, 257, 25397, 4129, 286, 1160, 3020, 30, 46506, 366, 11518, 13, 32729, 1, 16034, 3084, 62, 3720, 38056, 33411, 366, 37, 4374, 22313, 1, 796, 705, 1238, 3020, 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, 5415, 32729, 286, 262, 10317, 7, 274, 8, 351, 257, 25397, 4129, 286, 1160, 3020, 30, 46506, 366, 11518, 13, 32729, 1, 16034, 3084, 62, 3720, 38056, 33411, 366, 37, 4374, 22313, 1, 796, 705, 1238, 3020, 6 ]
calculate the total number of patients who had diverticulosis of colon with hemorrhage and abnormal lab test rsults.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.long_title = "Diverticulosis of colon with hemorrhage" AND lab.flag = "abnormal"
[ 9948, 3129, 378, 262, 2472, 1271, 286, 3871, 508, 550, 12312, 13370, 377, 5958, 286, 7633, 351, 42203, 496, 290, 18801, 2248, 1332, 44608, 8376, 13, 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, 312, 796, 40567, 13, 18108, 76, 62, 312, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108, 76, 62, 312, 796, 2248, 13, 18108, 76, 62, 312, 33411, 40567, 13, 6511, 62, 7839, 796, 366, 35, 1428, 13370, 377, 5958, 286, 7633, 351, 42203, 496, 1, 5357 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2472, 1271, 286, 3871, 508, 550, 12312, 13370, 377, 5958, 286, 7633, 351, 42203, 496, 290, 18801, 2248, 1332, 44608, 8376, 13, 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, 312, 796, 40567, 13, 18108, 76, 62, 312, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108, 76, 62, 312, 796, 2248, 13, 18108, 76, 62, 312, 33411, 40567, 13, 6511, 62, 7839, 796, 366, 35, 1428, 13370, 377, 5958, 286, 7633, 351, 42203, 496, 1, 5357 ]
What is Builder, when Location is 'Govan , Scotland'?
SELECT builder FROM table_name_80 WHERE location = "govan , scotland"
[ 2061, 318, 35869, 11, 618, 13397, 318, 705, 38, 22590, 837, 8838, 30960, 46506, 27098, 16034, 3084, 62, 3672, 62, 1795, 33411, 4067, 796, 366, 9567, 272, 837, 629, 313, 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 ]
[ 2061, 318, 35869, 11, 618, 13397, 318, 705, 38, 22590, 837, 8838, 30960, 46506, 27098, 16034, 3084, 62, 3672, 62, 1795, 33411, 4067, 796, 366, 9567, 272, 837, 629, 313, 1044, 1 ]
Who was the opponent of the game with final score won 4-1?
SELECT opponent FROM table_17120964_8 WHERE result = "Won 4-1"
[ 8241, 373, 262, 6125, 286, 262, 983, 351, 2457, 4776, 1839, 604, 12, 16, 30, 46506, 6125, 16034, 3084, 62, 1558, 1065, 2931, 2414, 62, 23, 33411, 1255, 796, 366, 54, 261, 604, 12, 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 ]
[ 8241, 373, 262, 6125, 286, 262, 983, 351, 2457, 4776, 1839, 604, 12, 16, 30, 46506, 6125, 16034, 3084, 62, 1558, 1065, 2931, 2414, 62, 23, 33411, 1255, 796, 366, 54, 261, 604, 12, 16, 1 ]
when province is monse or nouel, what is the area (km )?
SELECT area__km²_ FROM table_1888051_1 WHERE province = "Monseñor Nouel"
[ 12518, 8473, 318, 937, 325, 393, 299, 280, 417, 11, 644, 318, 262, 1989, 357, 13276, 1267, 30, 46506, 1989, 834, 13276, 31185, 62, 16034, 3084, 62, 20356, 1795, 4349, 62, 16, 33411, 8473, 796, 366, 44, 2591, 12654, 273, 44599, 417, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8473, 318, 937, 325, 393, 299, 280, 417, 11, 644, 318, 262, 1989, 357, 13276, 1267, 30, 46506, 1989, 834, 13276, 31185, 62, 16034, 3084, 62, 20356, 1795, 4349, 62, 16, 33411, 8473, 796, 366, 44, 2591, 12654, 273, 44599, 417, 1 ]
Which grid has a time/retired of +3.9 secs in less than 96 laps?
SELECT AVG("Grid") FROM table_67341 WHERE "Time/Retired" = '+3.9 secs' AND "Laps" < '96'
[ 13828, 10706, 468, 257, 640, 14, 1186, 1202, 286, 1343, 18, 13, 24, 792, 82, 287, 1342, 621, 9907, 24590, 30, 46506, 35224, 7203, 41339, 4943, 16034, 3084, 62, 3134, 33660, 33411, 366, 7575, 14, 9781, 1202, 1, 796, 705, 10, 18, 13, 24, 792, 82, 6, 5357, 366, 43, 1686, 1, 1279, 705, 4846, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 10706, 468, 257, 640, 14, 1186, 1202, 286, 1343, 18, 13, 24, 792, 82, 287, 1342, 621, 9907, 24590, 30, 46506, 35224, 7203, 41339, 4943, 16034, 3084, 62, 3134, 33660, 33411, 366, 7575, 14, 9781, 1202, 1, 796, 705, 10, 18, 13, 24, 792, 82, 6, 5357, 366, 43, 1686, 1, 1279, 705, 4846, 6 ]
what time did patient 016-27397 get his last stool output on this month/15?
SELECT intakeoutput.intakeoutputtime FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '016-27397')) AND intakeoutput.cellpath LIKE '%output%' AND intakeoutput.celllabel = 'stool' AND DATETIME(intakeoutput.intakeoutputtime, 'start of month') = DATETIME(CURRENT_TIME(), 'start of month', '-0 month') AND STRFTIME('%d', intakeoutput.intakeoutputtime) = '15' ORDER BY intakeoutput.intakeoutputtime DESC LIMIT 1
[ 10919, 640, 750, 5827, 5534, 21, 12, 1983, 33372, 651, 465, 938, 38753, 5072, 319, 428, 1227, 14, 1314, 30, 46506, 10337, 22915, 13, 600, 539, 22915, 2435, 16034, 10337, 22915, 33411, 10337, 22915, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 27037, 12, 1983, 33372, 6, 4008, 5357, 10337, 22915, 13, 3846, 6978, 34178, 705, 4, 22915, 4, 6, 5357, 10337, 22915 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 640, 750, 5827, 5534, 21, 12, 1983, 33372, 651, 465, 938, 38753, 5072, 319, 428, 1227, 14, 1314, 30, 46506, 10337, 22915, 13, 600, 539, 22915, 2435, 16034, 10337, 22915, 33411, 10337, 22915, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 27037, 12, 1983, 33372, 6, 4008, 5357, 10337, 22915, 13, 3846, 6978, 34178, 705, 4, 22915, 4, 6, 5357, 10337, 22915 ]
What is the 2nd ratio of 1996-2002 Dodge Viper?
SELECT 2 AS nd FROM table_1310499_1 WHERE application = "1996-2002 Dodge Viper"
[ 2061, 318, 262, 362, 358, 8064, 286, 8235, 12, 16942, 26048, 34517, 30, 46506, 362, 7054, 299, 67, 16034, 3084, 62, 1485, 13464, 2079, 62, 16, 33411, 3586, 796, 366, 22288, 12, 16942, 26048, 34517, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 362, 358, 8064, 286, 8235, 12, 16942, 26048, 34517, 30, 46506, 362, 7054, 299, 67, 16034, 3084, 62, 1485, 13464, 2079, 62, 16, 33411, 3586, 796, 366, 22288, 12, 16942, 26048, 34517, 1 ]
What NFL Teams have the player Aaron Williams?
SELECT "NFL Team" FROM table_27362 WHERE "Player" = 'Aaron Williams'
[ 2061, 5134, 24690, 423, 262, 2137, 12139, 6484, 30, 46506, 366, 32078, 4816, 1, 16034, 3084, 62, 1983, 35667, 33411, 366, 14140, 1, 796, 705, 34451, 6484, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 5134, 24690, 423, 262, 2137, 12139, 6484, 30, 46506, 366, 32078, 4816, 1, 16034, 3084, 62, 1983, 35667, 33411, 366, 14140, 1, 796, 705, 34451, 6484, 6 ]
Which Atomic property has Helium of 4.16?
SELECT atomic_property FROM table_name_57 WHERE helium = "4.16"
[ 13828, 28976, 3119, 468, 5053, 1505, 286, 604, 13, 1433, 30, 46506, 17226, 62, 26745, 16034, 3084, 62, 3672, 62, 3553, 33411, 43142, 796, 366, 19, 13, 1433, 1 ]
[ 1, 1, 1, 1, 1, 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, 28976, 3119, 468, 5053, 1505, 286, 604, 13, 1433, 30, 46506, 17226, 62, 26745, 16034, 3084, 62, 3672, 62, 3553, 33411, 43142, 796, 366, 19, 13, 1433, 1 ]
what was the first intake of patient 29741 for the patient until 04/26/2105?
SELECT d_items.label FROM d_items WHERE d_items.itemid IN (SELECT inputevents_cv.itemid FROM inputevents_cv WHERE inputevents_cv.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 29741)) AND STRFTIME('%y-%m-%d', inputevents_cv.charttime) <= '2105-04-26' ORDER BY inputevents_cv.charttime LIMIT 1)
[ 10919, 373, 262, 717, 10337, 286, 5827, 41103, 3901, 329, 262, 5827, 1566, 8702, 14, 2075, 14, 17, 13348, 30, 46506, 288, 62, 23814, 13, 18242, 16034, 288, 62, 23814, 33411, 288, 62, 23814, 13, 9186, 312, 3268, 357, 46506, 287, 79, 1133, 85, 658, 62, 33967, 13, 9186, 312, 16034, 287, 79, 1133, 85, 658, 62, 33967, 33411, 287, 79, 1133, 85, 658, 62, 33967, 13, 291, 436, 323, 62, 312, 3268, 357, 46506, 14158, 436, 592, 13, 291, 436, 323, 62, 312, 16034, 14158, 436, 592, 33411, 14158, 436, 592, 13, 18108, 76, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 717, 10337, 286, 5827, 41103, 3901, 329, 262, 5827, 1566, 8702, 14, 2075, 14, 17, 13348, 30, 46506, 288, 62, 23814, 13, 18242, 16034, 288, 62, 23814, 33411, 288, 62, 23814, 13, 9186, 312, 3268, 357, 46506, 287, 79, 1133, 85, 658, 62, 33967, 13, 9186, 312, 16034, 287, 79, 1133, 85, 658, 62, 33967, 33411, 287, 79, 1133, 85, 658, 62, 33967, 13, 291, 436, 323, 62, 312, 3268, 357, 46506, 14158, 436, 592, 13, 291, 436, 323, 62, 312, 16034, 14158, 436, 592, 33411, 14158, 436, 592, 13, 18108, 76, 62, 312, 3268, 357, 46506 ]
Name the Total of jeff sluman?
SELECT AVG(total) FROM table_name_76 WHERE player = "jeff sluman"
[ 5376, 262, 7472, 286, 11223, 487, 1017, 3778, 30, 46506, 35224, 7, 23350, 8, 16034, 3084, 62, 3672, 62, 4304, 33411, 2137, 796, 366, 73, 14822, 1017, 3778, 1 ]
[ 1, 1, 1, 1, 1, 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, 7472, 286, 11223, 487, 1017, 3778, 30, 46506, 35224, 7, 23350, 8, 16034, 3084, 62, 3672, 62, 4304, 33411, 2137, 796, 366, 73, 14822, 1017, 3778, 1 ]
It was announced on July 2, 2006 that what asset was acquired?
SELECT asset_acquired FROM table_1373542_1 WHERE date_announced = "July 2, 2006"
[ 1026, 373, 3414, 319, 2901, 362, 11, 4793, 326, 644, 11171, 373, 9477, 30, 46506, 11171, 62, 43561, 1202, 16034, 3084, 62, 19708, 2327, 3682, 62, 16, 33411, 3128, 62, 43499, 796, 366, 16157, 362, 11, 4793, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1026, 373, 3414, 319, 2901, 362, 11, 4793, 326, 644, 11171, 373, 9477, 30, 46506, 11171, 62, 43561, 1202, 16034, 3084, 62, 19708, 2327, 3682, 62, 16, 33411, 3128, 62, 43499, 796, 366, 16157, 362, 11, 4793, 1 ]
how many patients are diagnosed with other drugs and medicinal substances causing adverse effects in therapeutic use?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE diagnoses.long_title = "Other drugs and medicinal substances causing adverse effects in therapeutic use"
[ 4919, 867, 3871, 389, 14641, 351, 584, 5010, 290, 30381, 15938, 6666, 12681, 3048, 287, 21546, 779, 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, 312, 796, 40567, 13, 18108, 76, 62, 312, 33411, 40567, 13, 6511, 62, 7839, 796, 366, 6395, 5010, 290, 30381, 15938, 6666, 12681, 3048, 287, 21546, 779, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 389, 14641, 351, 584, 5010, 290, 30381, 15938, 6666, 12681, 3048, 287, 21546, 779, 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, 312, 796, 40567, 13, 18108, 76, 62, 312, 33411, 40567, 13, 6511, 62, 7839, 796, 366, 6395, 5010, 290, 30381, 15938, 6666, 12681, 3048, 287, 21546, 779, 1 ]
Which Year(s) won has a Total larger than 148, and a To par smaller than 17, and a Country of new zealand?
SELECT "Year(s) won" FROM table_62585 WHERE "Total" > '148' AND "To par" < '17' AND "Country" = 'new zealand'
[ 13828, 6280, 7, 82, 8, 1839, 468, 257, 7472, 4025, 621, 22613, 11, 290, 257, 1675, 1582, 4833, 621, 1596, 11, 290, 257, 12946, 286, 649, 27689, 392, 30, 46506, 366, 17688, 7, 82, 8, 1839, 1, 16034, 3084, 62, 26704, 5332, 33411, 366, 14957, 1, 1875, 705, 18294, 6, 5357, 366, 2514, 1582, 1, 1279, 705, 1558, 6, 5357, 366, 33921, 1, 796, 705, 3605, 27689, 392, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 6280, 7, 82, 8, 1839, 468, 257, 7472, 4025, 621, 22613, 11, 290, 257, 1675, 1582, 4833, 621, 1596, 11, 290, 257, 12946, 286, 649, 27689, 392, 30, 46506, 366, 17688, 7, 82, 8, 1839, 1, 16034, 3084, 62, 26704, 5332, 33411, 366, 14957, 1, 1875, 705, 18294, 6, 5357, 366, 2514, 1582, 1, 1279, 705, 1558, 6, 5357, 366, 33921, 1, 796, 705, 3605, 27689, 392, 6 ]
What Report has the Date September 3, 2005?
SELECT report FROM table_name_8 WHERE date = "september 3, 2005"
[ 2061, 6358, 468, 262, 7536, 2693, 513, 11, 5075, 30, 46506, 989, 16034, 3084, 62, 3672, 62, 23, 33411, 3128, 796, 366, 325, 457, 1491, 513, 11, 5075, 1 ]
[ 1, 1, 1, 1, 1, 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, 6358, 468, 262, 7536, 2693, 513, 11, 5075, 30, 46506, 989, 16034, 3084, 62, 3672, 62, 23, 33411, 3128, 796, 366, 325, 457, 1491, 513, 11, 5075, 1 ]
What is average age of male for different job title Visualize by bar chart, rank from low to high by the x-axis.
SELECT job, AVG(age) FROM Person WHERE gender = 'male' GROUP BY job ORDER BY job
[ 2061, 318, 2811, 2479, 286, 4257, 329, 1180, 1693, 3670, 15612, 1096, 416, 2318, 8262, 11, 4279, 422, 1877, 284, 1029, 416, 262, 2124, 12, 22704, 13, 46506, 1693, 11, 35224, 7, 496, 8, 16034, 7755, 33411, 5279, 796, 705, 22606, 6, 44441, 11050, 1693, 38678, 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, 4279, 422, 1877, 284, 1029, 416, 262, 2124, 12, 22704, 13, 46506, 1693, 11, 35224, 7, 496, 8, 16034, 7755, 33411, 5279, 796, 705, 22606, 6, 44441, 11050, 1693, 38678, 11050, 1693 ]
What catalog has a format of ED remaster CD and a date of December 19, 2001?
SELECT "Catalog" FROM table_70690 WHERE "Format" = 'ed remaster cd' AND "Date" = 'december 19, 2001'
[ 2061, 18388, 468, 257, 5794, 286, 8392, 816, 1603, 6458, 290, 257, 3128, 286, 3426, 678, 11, 5878, 30, 46506, 366, 49015, 1, 16034, 3084, 62, 2154, 35844, 33411, 366, 26227, 1, 796, 705, 276, 816, 1603, 22927, 6, 5357, 366, 10430, 1, 796, 705, 2934, 3273, 678, 11, 5878, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 18388, 468, 257, 5794, 286, 8392, 816, 1603, 6458, 290, 257, 3128, 286, 3426, 678, 11, 5878, 30, 46506, 366, 49015, 1, 16034, 3084, 62, 2154, 35844, 33411, 366, 26227, 1, 796, 705, 276, 816, 1603, 22927, 6, 5357, 366, 10430, 1, 796, 705, 2934, 3273, 678, 11, 5878, 6 ]
provide the number of patients whose admission year is less than 2167 and diagnoses short title is pressure ulcer, hip?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admityear < "2167" AND diagnoses.short_title = "Pressure ulcer, hip"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 13938, 614, 318, 1342, 621, 362, 21940, 290, 40567, 1790, 3670, 318, 3833, 14856, 2189, 11, 10359, 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, 312, 796, 40567, 13, 18108, 76, 62, 312, 33411, 16728, 13, 324, 76, 414, 451, 1279, 366, 20666, 22, 1, 5357, 40567, 13, 19509, 62, 7839, 796, 366, 13800, 495, 14856, 2189, 11, 10359, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13938, 614, 318, 1342, 621, 362, 21940, 290, 40567, 1790, 3670, 318, 3833, 14856, 2189, 11, 10359, 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, 312, 796, 40567, 13, 18108, 76, 62, 312, 33411, 16728, 13, 324, 76, 414, 451, 1279, 366, 20666, 22, 1, 5357, 40567, 13, 19509, 62, 7839, 796, 366, 13800, 495, 14856, 2189, 11, 10359, 1 ]
Find the last name and gender of the students who are playing both Call of Destiny and Works of Widenius games.
SELECT lname, sex FROM student WHERE stuid IN (SELECT T1.stuid FROM plays_games AS T1 JOIN video_games AS T2 ON T1.gameid = T2.gameid WHERE T2.gname = "Call of Destiny" INTERSECT SELECT T1.stuid FROM plays_games AS T1 JOIN video_games AS T2 ON T1.gameid = T2.gameid WHERE T2.gname = "Works of Widenius")
[ 16742, 262, 938, 1438, 290, 5279, 286, 262, 2444, 508, 389, 2712, 1111, 4889, 286, 17886, 290, 10933, 286, 370, 14029, 3754, 1830, 13, 46506, 300, 3672, 11, 1714, 16034, 3710, 33411, 336, 27112, 3268, 357, 46506, 309, 16, 13, 301, 27112, 16034, 5341, 62, 19966, 7054, 309, 16, 32357, 1268, 2008, 62, 19966, 7054, 309, 17, 6177, 309, 16, 13, 6057, 312, 796, 309, 17, 13, 6057, 312, 33411, 309, 17, 13, 70, 3672, 796, 366, 14134, 286, 17886, 1, 17828, 4877, 9782, 33493, 309, 16, 13, 301, 27112, 16034, 5341, 62, 19966, 7054, 309, 16, 32357, 1268, 2008 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 938, 1438, 290, 5279, 286, 262, 2444, 508, 389, 2712, 1111, 4889, 286, 17886, 290, 10933, 286, 370, 14029, 3754, 1830, 13, 46506, 300, 3672, 11, 1714, 16034, 3710, 33411, 336, 27112, 3268, 357, 46506, 309, 16, 13, 301, 27112, 16034, 5341, 62, 19966, 7054, 309, 16, 32357, 1268, 2008, 62, 19966, 7054, 309, 17, 6177, 309, 16, 13, 6057, 312, 796, 309, 17, 13, 6057, 312, 33411, 309, 17, 13, 70, 3672, 796, 366, 14134, 286, 17886, 1, 17828, 4877, 9782, 33493, 309, 16, 13, 301, 27112, 16034, 5341, 62, 19966, 7054, 309, 16, 32357, 1268, 2008 ]
what is the cost to do a wbc, ascites lab test?
SELECT DISTINCT cost.cost FROM cost WHERE cost.event_type = 'labevents' AND cost.event_id IN (SELECT labevents.row_id FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'wbc, ascites'))
[ 10919, 318, 262, 1575, 284, 466, 257, 266, 15630, 11, 10570, 2737, 2248, 1332, 30, 46506, 360, 8808, 1268, 4177, 1575, 13, 15805, 16034, 1575, 33411, 1575, 13, 15596, 62, 4906, 796, 705, 23912, 31534, 6, 5357, 1575, 13, 15596, 62, 312, 3268, 357, 46506, 2248, 31534, 13, 808, 62, 312, 16034, 2248, 31534, 33411, 2248, 31534, 13, 9186, 312, 3268, 357, 46506, 288, 62, 23912, 23814, 13, 9186, 312, 16034, 288, 62, 23912, 23814, 33411, 288, 62, 23912, 23814, 13, 18242, 796, 705, 86, 15630, 11, 10570, 2737, 6, 4008 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1575, 284, 466, 257, 266, 15630, 11, 10570, 2737, 2248, 1332, 30, 46506, 360, 8808, 1268, 4177, 1575, 13, 15805, 16034, 1575, 33411, 1575, 13, 15596, 62, 4906, 796, 705, 23912, 31534, 6, 5357, 1575, 13, 15596, 62, 312, 3268, 357, 46506, 2248, 31534, 13, 808, 62, 312, 16034, 2248, 31534, 33411, 2248, 31534, 13, 9186, 312, 3268, 357, 46506, 288, 62, 23912, 23814, 13, 9186, 312, 16034, 288, 62, 23912, 23814, 33411, 288, 62, 23912, 23814, 13, 18242, 796, 705, 86, 15630, 11, 10570, 2737, 6, 4008 ]
What is the id and name of the enzyme that can interact with the most medicines as an activator?
SELECT T1.id, T1.name FROM enzyme AS T1 JOIN medicine_enzyme_interaction AS T2 ON T1.id = T2.enzyme_id WHERE T2.interaction_type = 'activitor' GROUP BY T1.id ORDER BY COUNT(*) DESC LIMIT 1
[ 2061, 318, 262, 4686, 290, 1438, 286, 262, 27679, 326, 460, 9427, 351, 262, 749, 23533, 355, 281, 1753, 1352, 30, 46506, 309, 16, 13, 312, 11, 309, 16, 13, 3672, 16034, 27679, 7054, 309, 16, 32357, 1268, 9007, 62, 268, 24266, 62, 3849, 2673, 7054, 309, 17, 6177, 309, 16, 13, 312, 796, 309, 17, 13, 268, 24266, 62, 312, 33411, 309, 17, 13, 3849, 2673, 62, 4906, 796, 705, 15791, 2072, 6, 44441, 11050, 309, 16, 13, 312, 38678, 11050, 327, 28270, 7, 28104, 22196, 34, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 290, 1438, 286, 262, 27679, 326, 460, 9427, 351, 262, 749, 23533, 355, 281, 1753, 1352, 30, 46506, 309, 16, 13, 312, 11, 309, 16, 13, 3672, 16034, 27679, 7054, 309, 16, 32357, 1268, 9007, 62, 268, 24266, 62, 3849, 2673, 7054, 309, 17, 6177, 309, 16, 13, 312, 796, 309, 17, 13, 268, 24266, 62, 312, 33411, 309, 17, 13, 3849, 2673, 62, 4906, 796, 705, 15791, 2072, 6, 44441, 11050, 309, 16, 13, 312, 38678, 11050, 327, 28270, 7, 28104, 22196, 34, 27564, 2043, 352 ]
What party did incumbent Albert Wynn belong to?
SELECT "Party" FROM table_18100 WHERE "Incumbent" = 'Albert Wynn'
[ 2061, 2151, 750, 23526, 9966, 29758, 77, 5594, 284, 30, 46506, 366, 33553, 1, 16034, 3084, 62, 1507, 3064, 33411, 366, 25517, 2178, 298, 1, 796, 705, 42590, 29758, 77, 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, 2151, 750, 23526, 9966, 29758, 77, 5594, 284, 30, 46506, 366, 33553, 1, 16034, 3084, 62, 1507, 3064, 33411, 366, 25517, 2178, 298, 1, 796, 705, 42590, 29758, 77, 6 ]
what number of swat games were made for microsoft windows ?
SELECT COUNT("title") FROM table_203_633 WHERE "platform" = 'microsoft windows'
[ 10919, 1271, 286, 44284, 1830, 547, 925, 329, 4580, 4215, 9168, 5633, 46506, 327, 28270, 7203, 7839, 4943, 16034, 3084, 62, 22416, 62, 21, 2091, 33411, 366, 24254, 1, 796, 705, 40485, 9168, 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 ]
[ 10919, 1271, 286, 44284, 1830, 547, 925, 329, 4580, 4215, 9168, 5633, 46506, 327, 28270, 7203, 7839, 4943, 16034, 3084, 62, 22416, 62, 21, 2091, 33411, 366, 24254, 1, 796, 705, 40485, 9168, 6 ]
Who has a date of october 11, 2008?
SELECT "Wrestler" FROM table_8862 WHERE "Date" = 'october 11, 2008'
[ 8241, 468, 257, 3128, 286, 19318, 2023, 1367, 11, 3648, 30, 46506, 366, 54, 2118, 1754, 1, 16034, 3084, 62, 3459, 5237, 33411, 366, 10430, 1, 796, 705, 38441, 2023, 1367, 11, 3648, 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 ]
[ 8241, 468, 257, 3128, 286, 19318, 2023, 1367, 11, 3648, 30, 46506, 366, 54, 2118, 1754, 1, 16034, 3084, 62, 3459, 5237, 33411, 366, 10430, 1, 796, 705, 38441, 2023, 1367, 11, 3648, 6 ]
What are the total scores of the body builders whose birthday contains the string 'January' ?
SELECT T1.total FROM body_builder AS T1 JOIN people AS T2 ON T1.people_id = T2.people_id WHERE T2.birth_date LIKE "%January%"
[ 2061, 389, 262, 2472, 8198, 286, 262, 1767, 31606, 3025, 10955, 4909, 262, 4731, 705, 21339, 6, 5633, 46506, 309, 16, 13, 23350, 16034, 1767, 62, 38272, 7054, 309, 16, 32357, 1268, 661, 7054, 309, 17, 6177, 309, 16, 13, 15332, 62, 312, 796, 309, 17, 13, 15332, 62, 312, 33411, 309, 17, 13, 24280, 62, 4475, 34178, 36521, 21339, 39658 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2472, 8198, 286, 262, 1767, 31606, 3025, 10955, 4909, 262, 4731, 705, 21339, 6, 5633, 46506, 309, 16, 13, 23350, 16034, 1767, 62, 38272, 7054, 309, 16, 32357, 1268, 661, 7054, 309, 17, 6177, 309, 16, 13, 15332, 62, 312, 796, 309, 17, 13, 15332, 62, 312, 33411, 309, 17, 13, 24280, 62, 4475, 34178, 36521, 21339, 39658 ]
what flights are available from ATLANTA to OAKLAND with one way economy fares
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, fare_basis, flight, flight_fare WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'OAKLAND' AND fare_basis.economy = 'YES' AND fare.fare_basis_code = fare_basis.fare_basis_code AND fare.round_trip_required = 'NO' AND flight_fare.fare_id = fare.fare_id AND flight.flight_id = flight_fare.flight_id AND flight.to_airport = AIRPORT_SERVICE_1.airport_code) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'ATLANTA' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code
[ 10919, 13956, 389, 1695, 422, 5161, 25697, 5603, 284, 440, 10206, 28182, 351, 530, 835, 3773, 33164, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 16, 11, 1748, 7054, 27993, 62, 15, 11, 1748, 7054, 27993, 62, 16, 11, 14505, 11, 14505, 62, 12093, 271, 11, 5474, 11, 5474, 62, 9496, 33411, 357, 34, 9050, 62, 16, 13, 19205, 62, 8189, 796, 31600, 15490, 62, 35009, 27389, 62, 16, 13, 19205, 62, 8189, 5357, 27993 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13956, 389, 1695, 422, 5161, 25697, 5603, 284, 440, 10206, 28182, 351, 530, 835, 3773, 33164, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 16, 11, 1748, 7054, 27993, 62, 15, 11, 1748, 7054, 27993, 62, 16, 11, 14505, 11, 14505, 62, 12093, 271, 11, 5474, 11, 5474, 62, 9496, 33411, 357, 34, 9050, 62, 16, 13, 19205, 62, 8189, 796, 31600, 15490, 62, 35009, 27389, 62, 16, 13, 19205, 62, 8189, 5357, 27993 ]
Which incumbent was first elected in 1984?
SELECT "Incumbent" FROM table_18163 WHERE "First elected" = '1984'
[ 13828, 23526, 373, 717, 7018, 287, 12844, 30, 46506, 366, 25517, 2178, 298, 1, 16034, 3084, 62, 1507, 24136, 33411, 366, 5962, 7018, 1, 796, 705, 28296, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 23526, 373, 717, 7018, 287, 12844, 30, 46506, 366, 25517, 2178, 298, 1, 16034, 3084, 62, 1507, 24136, 33411, 366, 5962, 7018, 1, 796, 705, 28296, 6 ]
Which Score has a To par of +1, and a Player of masashi ozaki?
SELECT score FROM table_name_94 WHERE to_par = "+1" AND player = "masashi ozaki"
[ 13828, 15178, 468, 257, 1675, 1582, 286, 1343, 16, 11, 290, 257, 7853, 286, 12422, 12144, 15649, 8182, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 5824, 33411, 284, 62, 1845, 796, 43825, 16, 1, 5357, 2137, 796, 366, 5356, 12144, 15649, 8182, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15178, 468, 257, 1675, 1582, 286, 1343, 16, 11, 290, 257, 7853, 286, 12422, 12144, 15649, 8182, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 5824, 33411, 284, 62, 1845, 796, 43825, 16, 1, 5357, 2137, 796, 366, 5356, 12144, 15649, 8182, 1 ]
On what date was a friendly match held at Auckland?
SELECT date FROM table_name_32 WHERE competition = "friendly match" AND venue = "auckland"
[ 2202, 644, 3128, 373, 257, 8030, 2872, 2714, 379, 30422, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 2624, 33411, 5449, 796, 366, 13120, 2872, 1, 5357, 14359, 796, 366, 559, 694, 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 ]
[ 2202, 644, 3128, 373, 257, 8030, 2872, 2714, 379, 30422, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 2624, 33411, 5449, 796, 366, 13120, 2872, 1, 5357, 14359, 796, 366, 559, 694, 1044, 1 ]
Name the home team for carlton away team
SELECT "Home team" FROM table_77862 WHERE "Away team" = 'carlton'
[ 5376, 262, 1363, 1074, 329, 1097, 75, 1122, 1497, 1074, 46506, 366, 16060, 1074, 1, 16034, 3084, 62, 3324, 4521, 17, 33411, 366, 32, 1014, 1074, 1, 796, 705, 66, 7063, 1122, 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 ]
[ 5376, 262, 1363, 1074, 329, 1097, 75, 1122, 1497, 1074, 46506, 366, 16060, 1074, 1, 16034, 3084, 62, 3324, 4521, 17, 33411, 366, 32, 1014, 1074, 1, 796, 705, 66, 7063, 1122, 6 ]
when did patient 013-17922 receive a prescription for insulin aspart in 05/last year first?
SELECT medication.drugstarttime FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '013-17922')) AND medication.drugname = 'insulin aspart' AND DATETIME(medication.drugstarttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') AND STRFTIME('%m', medication.drugstarttime) = '05' ORDER BY medication.drugstarttime LIMIT 1
[ 12518, 750, 5827, 5534, 18, 12, 21738, 1828, 3328, 257, 15077, 329, 14588, 355, 3911, 287, 8870, 14, 12957, 614, 717, 30, 46506, 14103, 13, 30349, 9688, 2435, 16034, 14103, 33411, 14103, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 30273, 12, 21738, 1828, 6, 4008, 5357, 14103, 13, 30349, 3672, 796, 705, 1040, 11599, 355, 3911, 6, 5357, 360, 1404, 2767, 12789 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 750, 5827, 5534, 18, 12, 21738, 1828, 3328, 257, 15077, 329, 14588, 355, 3911, 287, 8870, 14, 12957, 614, 717, 30, 46506, 14103, 13, 30349, 9688, 2435, 16034, 14103, 33411, 14103, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, 312, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 30273, 12, 21738, 1828, 6, 4008, 5357, 14103, 13, 30349, 3672, 796, 705, 1040, 11599, 355, 3911, 6, 5357, 360, 1404, 2767, 12789 ]
Find the first names and degree of all professors who are teaching some class in Computer Info. Systems department.
SELECT DISTINCT T2.emp_fname, T3.prof_high_degree FROM CLASS AS T1 JOIN employee AS T2 ON T1.prof_num = T2.emp_num JOIN professor AS T3 ON T2.emp_num = T3.emp_num JOIN department AS T4 ON T4.dept_code = T3.dept_code WHERE T4.dept_name = 'Computer Info. Systems'
[ 16742, 262, 717, 3891, 290, 4922, 286, 477, 20339, 508, 389, 7743, 617, 1398, 287, 13851, 14151, 13, 11998, 5011, 13, 46506, 360, 8808, 1268, 4177, 309, 17, 13, 45787, 62, 69, 3672, 11, 309, 18, 13, 5577, 62, 8929, 62, 16863, 16034, 42715, 7054, 309, 16, 32357, 1268, 6538, 7054, 309, 17, 6177, 309, 16, 13, 5577, 62, 22510, 796, 309, 17, 13, 45787, 62, 22510, 32357, 1268, 6240, 7054, 309, 18, 6177, 309, 17, 13, 45787, 62, 22510, 796, 309, 18, 13, 45787, 62, 22510, 32357, 1268, 5011, 7054, 309, 19, 6177, 309, 19, 13, 2934, 457, 62 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 717, 3891, 290, 4922, 286, 477, 20339, 508, 389, 7743, 617, 1398, 287, 13851, 14151, 13, 11998, 5011, 13, 46506, 360, 8808, 1268, 4177, 309, 17, 13, 45787, 62, 69, 3672, 11, 309, 18, 13, 5577, 62, 8929, 62, 16863, 16034, 42715, 7054, 309, 16, 32357, 1268, 6538, 7054, 309, 17, 6177, 309, 16, 13, 5577, 62, 22510, 796, 309, 17, 13, 45787, 62, 22510, 32357, 1268, 6240, 7054, 309, 18, 6177, 309, 17, 13, 45787, 62, 22510, 796, 309, 18, 13, 45787, 62, 22510, 32357, 1268, 5011, 7054, 309, 19, 6177, 309, 19, 13, 2934, 457, 62 ]
List the number of completion students in each month and bin date of completion by month interval with a bar chart.
SELECT date_of_completion, COUNT(date_of_completion) FROM Student_Course_Enrolment
[ 8053, 262, 1271, 286, 11939, 2444, 287, 1123, 1227, 290, 9874, 3128, 286, 11939, 416, 1227, 16654, 351, 257, 2318, 8262, 13, 46506, 3128, 62, 1659, 62, 785, 24547, 11, 327, 28270, 7, 4475, 62, 1659, 62, 785, 24547, 8, 16034, 13613, 62, 49046, 62, 4834, 3225, 434 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8053, 262, 1271, 286, 11939, 2444, 287, 1123, 1227, 290, 9874, 3128, 286, 11939, 416, 1227, 16654, 351, 257, 2318, 8262, 13, 46506, 3128, 62, 1659, 62, 785, 24547, 11, 327, 28270, 7, 4475, 62, 1659, 62, 785, 24547, 8, 16034, 13613, 62, 49046, 62, 4834, 3225, 434 ]
How much Gold has a Nation of mongolia, and a Total larger than 18?
SELECT SUM(gold) FROM table_name_37 WHERE nation = "mongolia" AND total > 18
[ 2437, 881, 3561, 468, 257, 8741, 286, 285, 506, 22703, 11, 290, 257, 7472, 4025, 621, 1248, 30, 46506, 35683, 7, 24267, 8, 16034, 3084, 62, 3672, 62, 2718, 33411, 3277, 796, 366, 31059, 22703, 1, 5357, 2472, 1875, 1248 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 881, 3561, 468, 257, 8741, 286, 285, 506, 22703, 11, 290, 257, 7472, 4025, 621, 1248, 30, 46506, 35683, 7, 24267, 8, 16034, 3084, 62, 3672, 62, 2718, 33411, 3277, 796, 366, 31059, 22703, 1, 5357, 2472, 1875, 1248 ]
What was the result of the election of the incumbent clyde doyle?
SELECT result FROM table_1341973_6 WHERE incumbent = "Clyde Doyle"
[ 2061, 373, 262, 1255, 286, 262, 3071, 286, 262, 23526, 269, 306, 2934, 466, 2349, 30, 46506, 1255, 16034, 3084, 62, 19880, 40220, 62, 21, 33411, 23526, 796, 366, 34, 306, 2934, 31233, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 286, 262, 3071, 286, 262, 23526, 269, 306, 2934, 466, 2349, 30, 46506, 1255, 16034, 3084, 62, 19880, 40220, 62, 21, 33411, 23526, 796, 366, 34, 306, 2934, 31233, 1 ]
what party is represented the most ?
SELECT "party affiliation" FROM table_204_54 GROUP BY "party affiliation" ORDER BY COUNT(*) DESC LIMIT 1
[ 10919, 2151, 318, 7997, 262, 749, 5633, 46506, 366, 10608, 26218, 1, 16034, 3084, 62, 18638, 62, 4051, 44441, 11050, 366, 10608, 26218, 1, 38678, 11050, 327, 28270, 7, 28104, 22196, 34, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 2151, 318, 7997, 262, 749, 5633, 46506, 366, 10608, 26218, 1, 16034, 3084, 62, 18638, 62, 4051, 44441, 11050, 366, 10608, 26218, 1, 38678, 11050, 327, 28270, 7, 28104, 22196, 34, 27564, 2043, 352 ]
how many gold medals where won in total ?
SELECT SUM("gold") FROM table_204_248
[ 4919, 867, 3869, 28057, 810, 1839, 287, 2472, 5633, 46506, 35683, 7203, 24267, 4943, 16034, 3084, 62, 18638, 62, 23045 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 3869, 28057, 810, 1839, 287, 2472, 5633, 46506, 35683, 7203, 24267, 4943, 16034, 3084, 62, 18638, 62, 23045 ]
Name the team for record 3-2
SELECT team FROM table_22654073_6 WHERE record = "3-2"
[ 5376, 262, 1074, 329, 1700, 513, 12, 17, 46506, 1074, 16034, 3084, 62, 1828, 2996, 1821, 4790, 62, 21, 33411, 1700, 796, 366, 18, 12, 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 ]
[ 5376, 262, 1074, 329, 1700, 513, 12, 17, 46506, 1074, 16034, 3084, 62, 1828, 2996, 1821, 4790, 62, 21, 33411, 1700, 796, 366, 18, 12, 17, 1 ]
What was the result in the election where the incumbent was Finis J. Garrett?
SELECT result FROM table_1342370_41 WHERE incumbent = "Finis J. Garrett"
[ 2061, 373, 262, 1255, 287, 262, 3071, 810, 262, 23526, 373, 4463, 271, 449, 13, 27540, 30, 46506, 1255, 16034, 3084, 62, 19880, 1954, 2154, 62, 3901, 33411, 23526, 796, 366, 37, 16661, 449, 13, 27540, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 287, 262, 3071, 810, 262, 23526, 373, 4463, 271, 449, 13, 27540, 30, 46506, 1255, 16034, 3084, 62, 19880, 1954, 2154, 62, 3901, 33411, 23526, 796, 366, 37, 16661, 449, 13, 27540, 1 ]
How much Total has a Rank smaller than 10, and a Silver larger than 3, and a Gold larger than 3?
SELECT SUM("Total") FROM table_60846 WHERE "Rank" < '10' AND "Silver" > '3' AND "Gold" > '3'
[ 2437, 881, 7472, 468, 257, 10916, 4833, 621, 838, 11, 290, 257, 7698, 4025, 621, 513, 11, 290, 257, 3561, 4025, 621, 513, 30, 46506, 35683, 7203, 14957, 4943, 16034, 3084, 62, 28688, 3510, 33411, 366, 27520, 1, 1279, 705, 940, 6, 5357, 366, 26766, 1, 1875, 705, 18, 6, 5357, 366, 13306, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 881, 7472, 468, 257, 10916, 4833, 621, 838, 11, 290, 257, 7698, 4025, 621, 513, 11, 290, 257, 3561, 4025, 621, 513, 30, 46506, 35683, 7203, 14957, 4943, 16034, 3084, 62, 28688, 3510, 33411, 366, 27520, 1, 1279, 705, 940, 6, 5357, 366, 26766, 1, 1875, 705, 18, 6, 5357, 366, 13306, 1, 1875, 705, 18, 6 ]
Which Garfield episode 1 is mind over Melvin?
SELECT "Garfield Episode 1" FROM table_1876 WHERE "U.S. Acres Episode" = 'Mind Over Melvin'
[ 13828, 47218, 4471, 352, 318, 2000, 625, 48834, 30, 46506, 366, 27676, 3245, 7922, 352, 1, 16034, 3084, 62, 1507, 4304, 33411, 366, 52, 13, 50, 13, 4013, 411, 7922, 1, 796, 705, 28478, 3827, 48834, 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, 47218, 4471, 352, 318, 2000, 625, 48834, 30, 46506, 366, 27676, 3245, 7922, 352, 1, 16034, 3084, 62, 1507, 4304, 33411, 366, 52, 13, 50, 13, 4013, 411, 7922, 1, 796, 705, 28478, 3827, 48834, 6 ]
of the total number of pro football games played by eddie royal between the two years 2011 and 2012 , what was the average number of games played during those two years by him ?
SELECT AVG("games") FROM table_203_516 WHERE "year" IN (2011, 2012)
[ 1659, 262, 2472, 1271, 286, 386, 4346, 1830, 2826, 416, 1225, 11979, 15100, 1022, 262, 734, 812, 2813, 290, 2321, 837, 644, 373, 262, 2811, 1271, 286, 1830, 2826, 1141, 883, 734, 812, 416, 683, 5633, 46506, 35224, 7203, 19966, 4943, 16034, 3084, 62, 22416, 62, 47493, 33411, 366, 1941, 1, 3268, 357, 9804, 11, 2321, 8 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1659, 262, 2472, 1271, 286, 386, 4346, 1830, 2826, 416, 1225, 11979, 15100, 1022, 262, 734, 812, 2813, 290, 2321, 837, 644, 373, 262, 2811, 1271, 286, 1830, 2826, 1141, 883, 734, 812, 416, 683, 5633, 46506, 35224, 7203, 19966, 4943, 16034, 3084, 62, 22416, 62, 47493, 33411, 366, 1941, 1, 3268, 357, 9804, 11, 2321, 8 ]
find top 100 unaccapted c# good questions. Looks at unanswered questions in your top 20 tags and sorts them by a combined weight which takes into account: score, askers reputation and how well you do on that particular tag
SELECT Id AS "post_link", Tags, CreationDate FROM Posts WHERE ParentId IS NULL AND CommunityOwnedDate IS NULL AND ClosedDate IS NULL AND AcceptedAnswerId IS NULL AND STR_POSITION(Tags, 'c#') > 0 AND Score > 10 ORDER BY CreationDate DESC LIMIT 100
[ 19796, 1353, 1802, 555, 4134, 2373, 276, 269, 2, 922, 2683, 13, 29403, 379, 34001, 2683, 287, 534, 1353, 1160, 15940, 290, 10524, 606, 416, 198, 64, 5929, 3463, 543, 2753, 656, 1848, 25, 4776, 11, 1265, 364, 8507, 290, 703, 198, 4053, 345, 466, 319, 326, 1948, 7621, 46506, 5121, 7054, 366, 7353, 62, 8726, 1600, 44789, 11, 21582, 10430, 16034, 12043, 33411, 16774, 7390, 3180, 15697, 5357, 8108, 23858, 276, 10430, 3180, 15697, 5357, 30550, 10430, 3180, 15697, 5357, 21699, 276, 33706, 7390, 3180, 15697, 5357, 19269, 62, 37997, 17941, 7, 36142, 11, 705, 66, 2, 11537, 1875 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1353, 1802, 555, 4134, 2373, 276, 269, 2, 922, 2683, 13, 29403, 379, 34001, 2683, 287, 534, 1353, 1160, 15940, 290, 10524, 606, 416, 198, 64, 5929, 3463, 543, 2753, 656, 1848, 25, 4776, 11, 1265, 364, 8507, 290, 703, 198, 4053, 345, 466, 319, 326, 1948, 7621, 46506, 5121, 7054, 366, 7353, 62, 8726, 1600, 44789, 11, 21582, 10430, 16034, 12043, 33411, 16774, 7390, 3180, 15697, 5357, 8108, 23858, 276, 10430, 3180, 15697, 5357, 30550, 10430, 3180, 15697, 5357, 21699, 276, 33706, 7390, 3180, 15697, 5357, 19269, 62, 37997, 17941, 7, 36142, 11, 705, 66, 2, 11537, 1875 ]
What year was the congressional service elected for a term beginning on January 3, 1989?
SELECT "Elected" FROM table_23235 WHERE "Term began" = 'January 3, 1989'
[ 2061, 614, 373, 262, 11702, 2139, 7018, 329, 257, 3381, 3726, 319, 3269, 513, 11, 11104, 30, 46506, 366, 36, 12609, 1, 16034, 3084, 62, 1954, 22370, 33411, 366, 40596, 2540, 1, 796, 705, 21339, 513, 11, 11104, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 614, 373, 262, 11702, 2139, 7018, 329, 257, 3381, 3726, 319, 3269, 513, 11, 11104, 30, 46506, 366, 36, 12609, 1, 16034, 3084, 62, 1954, 22370, 33411, 366, 40596, 2540, 1, 796, 705, 21339, 513, 11, 11104, 6 ]
How many points does Clark have?
SELECT "Points" FROM table_19277 WHERE "Player" = 'Clark'
[ 2437, 867, 2173, 857, 11264, 423, 30, 46506, 366, 40710, 1, 16034, 3084, 62, 1129, 27019, 33411, 366, 14140, 1, 796, 705, 43250, 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 ]
[ 2437, 867, 2173, 857, 11264, 423, 30, 46506, 366, 40710, 1, 16034, 3084, 62, 1129, 27019, 33411, 366, 14140, 1, 796, 705, 43250, 6 ]
what is marital status and religion of subject id 2560?
SELECT demographic.marital_status, demographic.religion FROM demographic WHERE demographic.subject_id = "2560"
[ 10919, 318, 29555, 3722, 290, 5737, 286, 2426, 4686, 1679, 1899, 30, 46506, 16728, 13, 3876, 1287, 62, 13376, 11, 16728, 13, 2411, 17035, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 1495, 1899, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 29555, 3722, 290, 5737, 286, 2426, 4686, 1679, 1899, 30, 46506, 16728, 13, 3876, 1287, 62, 13376, 11, 16728, 13, 2411, 17035, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 1495, 1899, 1 ]
Top 10 answers for year-in-review.
SELECT Id AS "post_link", Score FROM Posts AS p WHERE YEAR(CreationDate) = '##year?2018##' AND p.PostTypeId = 2 ORDER BY Score DESC LIMIT 10
[ 9126, 838, 7429, 329, 614, 12, 259, 12, 19023, 13, 46506, 5121, 7054, 366, 7353, 62, 8726, 1600, 15178, 16034, 12043, 7054, 279, 33411, 32914, 7, 12443, 341, 10430, 8, 796, 705, 2235, 1941, 30, 7908, 2235, 6, 5357, 279, 13, 6307, 6030, 7390, 796, 362, 38678, 11050, 15178, 22196, 34, 27564, 2043, 838 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 838, 7429, 329, 614, 12, 259, 12, 19023, 13, 46506, 5121, 7054, 366, 7353, 62, 8726, 1600, 15178, 16034, 12043, 7054, 279, 33411, 32914, 7, 12443, 341, 10430, 8, 796, 705, 2235, 1941, 30, 7908, 2235, 6, 5357, 279, 13, 6307, 6030, 7390, 796, 362, 38678, 11050, 15178, 22196, 34, 27564, 2043, 838 ]
Find Name and Height , and visualize them by a bar chart, I want to sort bars in asc order.
SELECT Name, Height FROM people ORDER BY Name
[ 16742, 6530, 290, 27280, 837, 290, 38350, 606, 416, 257, 2318, 8262, 11, 314, 765, 284, 3297, 9210, 287, 10570, 1502, 13, 46506, 6530, 11, 27280, 16034, 661, 38678, 11050, 6530 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 6530, 290, 27280, 837, 290, 38350, 606, 416, 257, 2318, 8262, 11, 314, 765, 284, 3297, 9210, 287, 10570, 1502, 13, 46506, 6530, 11, 27280, 16034, 661, 38678, 11050, 6530 ]
cheapest round trip fare from INDIANAPOLIS to ORLANDO on 12 25
SELECT DISTINCT fare.fare_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, date_day AS DATE_DAY_0, date_day AS DATE_DAY_1, days AS DAYS_0, days AS DAYS_1, fare, fare_basis, flight, flight_fare WHERE ((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'ORLANDO' AND DATE_DAY_1.day_number = 25 AND DATE_DAY_1.month_number = 12 AND DATE_DAY_1.year = 1991 AND DAYS_1.day_name = DATE_DAY_1.day_name AND flight.flight_days = DAYS_1.days_code AND flight.to_airport = AIRPORT_SERVICE_1.airport_code) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'INDIANAPOLIS' AND DATE_DAY_0.day_number = 25 AND DATE_DAY_0.month_number = 12 AND DATE_DAY_0.year = 1991 AND DAYS_0.day_name = DATE_DAY_0.day_name AND fare_basis.basis_days = DAYS_0.days_code AND fare.fare_basis_code = fare_basis.fare_basis_code AND flight_fare.fare_id = fare.fare_id AND flight.flight_id = flight_fare.flight_id AND flight.from_airport = AIRPORT_SERVICE_0.airport_code) AND fare.round_trip_cost = (SELECT MIN(FAREalias1.round_trip_cost) FROM airport_service AS AIRPORT_SERVICEalias2, airport_service AS AIRPORT_SERVICEalias3, city AS CITYalias2, city AS CITYalias3, date_day AS DATE_DAYalias2, date_day AS DATE_DAYalias3, days AS DAYSalias2, days AS DAYSalias3, fare AS FAREalias1, fare_basis AS FARE_BASISalias1, flight AS FLIGHTalias1, flight_fare AS FLIGHT_FAREalias1 WHERE (CITYalias3.city_code = AIRPORT_SERVICEalias3.city_code AND CITYalias3.city_name = 'ORLANDO' AND DATE_DAYalias3.day_number = 25 AND DATE_DAYalias3.month_number = 12 AND DATE_DAYalias3.year = 1991 AND DAYSalias3.day_name = DATE_DAYalias3.day_name AND FLIGHTalias1.flight_days = DAYSalias3.days_code AND FLIGHTalias1.to_airport = AIRPORT_SERVICEalias3.airport_code) AND CITYalias2.city_code = AIRPORT_SERVICEalias2.city_code AND CITYalias2.city_name = 'INDIANAPOLIS' AND DATE_DAYalias2.day_number = 25 AND DATE_DAYalias2.month_number = 12 AND DATE_DAYalias2.year = 1991 AND DAYSalias2.day_name = DATE_DAYalias2.day_name AND FARE_BASISalias1.basis_days = DAYSalias2.days_code AND FAREalias1.fare_basis_code = FARE_BASISalias1.fare_basis_code AND FLIGHT_FAREalias1.fare_id = FAREalias1.fare_id AND FLIGHTalias1.flight_id = FLIGHT_FAREalias1.flight_id AND FLIGHTalias1.from_airport = AIRPORT_SERVICEalias2.airport_code)
[ 2395, 35746, 2835, 5296, 14505, 422, 24413, 16868, 2969, 3535, 1797, 284, 6375, 28182, 46, 319, 1105, 1679, 46506, 360, 8808, 1268, 4177, 14505, 13, 9496, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 16, 11, 1748, 7054, 27993, 62, 15, 11, 1748, 7054, 27993, 62, 16, 11, 3128, 62, 820, 7054, 360, 6158, 62, 26442, 62, 15, 11, 3128, 62, 820, 7054, 360, 6158, 62, 26442, 62, 16, 11, 1528, 7054, 24644, 50, 62, 15, 11, 1528, 7054, 24644, 50, 62, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2395, 35746, 2835, 5296, 14505, 422, 24413, 16868, 2969, 3535, 1797, 284, 6375, 28182, 46, 319, 1105, 1679, 46506, 360, 8808, 1268, 4177, 14505, 13, 9496, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 16, 11, 1748, 7054, 27993, 62, 15, 11, 1748, 7054, 27993, 62, 16, 11, 3128, 62, 820, 7054, 360, 6158, 62, 26442, 62, 15, 11, 3128, 62, 820, 7054, 360, 6158, 62, 26442, 62, 16, 11, 1528, 7054, 24644, 50, 62, 15, 11, 1528, 7054, 24644, 50, 62, 16 ]
which match had the least in attendance ?
SELECT "home team" FROM table_204_146 ORDER BY "attendance" LIMIT 1
[ 4758, 2872, 550, 262, 1551, 287, 14858, 5633, 46506, 366, 11195, 1074, 1, 16034, 3084, 62, 18638, 62, 20964, 38678, 11050, 366, 1078, 437, 590, 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 ]
[ 4758, 2872, 550, 262, 1551, 287, 14858, 5633, 46506, 366, 11195, 1074, 1, 16034, 3084, 62, 18638, 62, 20964, 38678, 11050, 366, 1078, 437, 590, 1, 27564, 2043, 352 ]
Find all the payment dates for the payments with an amount larger than 10 and the payments handled by a staff person with the first name Elsa, and count them by a bar chart, order Y in desc order.
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) DESC
[ 16742, 477, 262, 6074, 9667, 329, 262, 7524, 351, 281, 2033, 4025, 621, 838, 290, 262, 7524, 12118, 416, 257, 3085, 1048, 351, 262, 717, 1438, 19226, 11, 290, 954, 606, 416, 257, 2318, 8262, 11, 1502, 575, 287, 1715, 1502, 13, 46506, 6074, 62, 4475, 11, 327, 28270, 7, 37301, 62, 4475, 8, 16034, 6074, 33411, 2033, 1875, 838, 4725, 2849, 33493, 309, 16, 13, 37301, 62, 4475, 16034, 6074, 7054, 309, 16, 32357, 1268, 3085, 7054, 309, 17, 6177, 309, 16, 13, 28120, 62, 312, 796, 309, 17, 13, 28120, 62, 312, 33411, 309, 17, 13, 11085, 62 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 262, 6074, 9667, 329, 262, 7524, 351, 281, 2033, 4025, 621, 838, 290, 262, 7524, 12118, 416, 257, 3085, 1048, 351, 262, 717, 1438, 19226, 11, 290, 954, 606, 416, 257, 2318, 8262, 11, 1502, 575, 287, 1715, 1502, 13, 46506, 6074, 62, 4475, 11, 327, 28270, 7, 37301, 62, 4475, 8, 16034, 6074, 33411, 2033, 1875, 838, 4725, 2849, 33493, 309, 16, 13, 37301, 62, 4475, 16034, 6074, 7054, 309, 16, 32357, 1268, 3085, 7054, 309, 17, 6177, 309, 16, 13, 28120, 62, 312, 796, 309, 17, 13, 28120, 62, 312, 33411, 309, 17, 13, 11085, 62 ]
what is the birth date when the weight (kg) is 100 and the world rank is 2?
SELECT birth_date FROM table_name_3 WHERE weight__kg_ = "100" AND world_rank = "2"
[ 10919, 318, 262, 4082, 3128, 618, 262, 3463, 357, 10025, 8, 318, 1802, 290, 262, 995, 4279, 318, 362, 30, 46506, 4082, 62, 4475, 16034, 3084, 62, 3672, 62, 18, 33411, 3463, 834, 10025, 62, 796, 366, 3064, 1, 5357, 995, 62, 43027, 796, 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, 1 ]
[ 10919, 318, 262, 4082, 3128, 618, 262, 3463, 357, 10025, 8, 318, 1802, 290, 262, 995, 4279, 318, 362, 30, 46506, 4082, 62, 4475, 16034, 3084, 62, 3672, 62, 18, 33411, 3463, 834, 10025, 62, 796, 366, 3064, 1, 5357, 995, 62, 43027, 796, 366, 17, 1 ]
What's the name of the album from 2012 with a Hammer Music / Nail Records label?
SELECT "Album" FROM table_47890 WHERE "Label" = 'hammer music / nail records' AND "Year" = '2012'
[ 2061, 338, 262, 1438, 286, 262, 5062, 422, 2321, 351, 257, 18278, 7849, 1220, 399, 603, 13407, 6167, 30, 46506, 366, 2348, 4435, 1, 16034, 3084, 62, 29059, 3829, 33411, 366, 33986, 1, 796, 705, 17980, 2647, 1220, 17864, 4406, 6, 5357, 366, 17688, 1, 796, 705, 6999, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 338, 262, 1438, 286, 262, 5062, 422, 2321, 351, 257, 18278, 7849, 1220, 399, 603, 13407, 6167, 30, 46506, 366, 2348, 4435, 1, 16034, 3084, 62, 29059, 3829, 33411, 366, 33986, 1, 796, 705, 17980, 2647, 1220, 17864, 4406, 6, 5357, 366, 17688, 1, 796, 705, 6999, 6 ]
just how many 50 ml flex cont: magnesium sulfate 40 mg/ml ij soln prescriptions were there since 2105?
SELECT COUNT(*) FROM medication WHERE medication.drugname = '50 ml flex cont: magnesium sulfate 40 mg/ml ij soln' AND STRFTIME('%y', medication.drugstarttime) >= '2105'
[ 3137, 703, 867, 2026, 25962, 7059, 542, 25, 33525, 22443, 378, 2319, 10527, 14, 4029, 1312, 73, 1540, 77, 34092, 547, 612, 1201, 362, 13348, 30, 46506, 327, 28270, 7, 28104, 16034, 14103, 33411, 14103, 13, 30349, 3672, 796, 705, 1120, 25962, 7059, 542, 25, 33525, 22443, 378, 2319, 10527, 14, 4029, 1312, 73, 1540, 77, 6, 5357, 19269, 9792, 12789, 10786, 4, 88, 3256, 14103, 13, 30349, 9688, 2435, 8, 18189, 705, 17, 13348, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 3137, 703, 867, 2026, 25962, 7059, 542, 25, 33525, 22443, 378, 2319, 10527, 14, 4029, 1312, 73, 1540, 77, 34092, 547, 612, 1201, 362, 13348, 30, 46506, 327, 28270, 7, 28104, 16034, 14103, 33411, 14103, 13, 30349, 3672, 796, 705, 1120, 25962, 7059, 542, 25, 33525, 22443, 378, 2319, 10527, 14, 4029, 1312, 73, 1540, 77, 6, 5357, 19269, 9792, 12789, 10786, 4, 88, 3256, 14103, 13, 30349, 9688, 2435, 8, 18189, 705, 17, 13348, 6 ]
What group on the island of Faray has a Height (m) of 32 and a Population of 0?
SELECT group FROM table_name_99 WHERE height__m_ = 32 AND population = "0" AND island = "faray"
[ 2061, 1448, 319, 262, 7022, 286, 6755, 323, 468, 257, 27280, 357, 76, 8, 286, 3933, 290, 257, 20133, 286, 657, 30, 46506, 1448, 16034, 3084, 62, 3672, 62, 2079, 33411, 6001, 834, 76, 62, 796, 3933, 5357, 3265, 796, 366, 15, 1, 5357, 7022, 796, 366, 16370, 323, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1448, 319, 262, 7022, 286, 6755, 323, 468, 257, 27280, 357, 76, 8, 286, 3933, 290, 257, 20133, 286, 657, 30, 46506, 1448, 16034, 3084, 62, 3672, 62, 2079, 33411, 6001, 834, 76, 62, 796, 3933, 5357, 3265, 796, 366, 15, 1, 5357, 7022, 796, 366, 16370, 323, 1 ]
Which city held the game in Old Trafford before 1907 when the Opposition was sussex?
SELECT "City" FROM table_5041 WHERE "Year" < '1907' AND "Venue" = 'old trafford' AND "Opposition" = 'sussex'
[ 13828, 1748, 2714, 262, 983, 287, 5706, 41107, 878, 41435, 618, 262, 29560, 373, 2341, 8044, 30, 46506, 366, 14941, 1, 16034, 3084, 62, 1120, 3901, 33411, 366, 17688, 1, 1279, 705, 1129, 2998, 6, 5357, 366, 37522, 518, 1, 796, 705, 727, 11878, 585, 6, 5357, 366, 27524, 3507, 1, 796, 705, 82, 385, 8044, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 1748, 2714, 262, 983, 287, 5706, 41107, 878, 41435, 618, 262, 29560, 373, 2341, 8044, 30, 46506, 366, 14941, 1, 16034, 3084, 62, 1120, 3901, 33411, 366, 17688, 1, 1279, 705, 1129, 2998, 6, 5357, 366, 37522, 518, 1, 796, 705, 727, 11878, 585, 6, 5357, 366, 27524, 3507, 1, 796, 705, 82, 385, 8044, 6 ]
Tell me the competition for 25 march 2001
SELECT competition FROM table_name_43 WHERE date = "25 march 2001"
[ 24446, 502, 262, 5449, 329, 1679, 9960, 5878, 46506, 5449, 16034, 3084, 62, 3672, 62, 3559, 33411, 3128, 796, 366, 1495, 9960, 5878, 1 ]
[ 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, 5449, 329, 1679, 9960, 5878, 46506, 5449, 16034, 3084, 62, 3672, 62, 3559, 33411, 3128, 796, 366, 1495, 9960, 5878, 1 ]