instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
sequence
attention_mask
sequence
labels
sequence
the only player to sign in july ?
SELECT "player" FROM table_204_783 WHERE "date signed" = 7
[ 1169, 691, 2137, 284, 1051, 287, 474, 2062, 5633, 46506, 366, 7829, 1, 16034, 3084, 62, 18638, 62, 50165, 33411, 366, 4475, 4488, 1, 796, 767 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1169, 691, 2137, 284, 1051, 287, 474, 2062, 5633, 46506, 366, 7829, 1, 16034, 3084, 62, 18638, 62, 50165, 33411, 366, 4475, 4488, 1, 796, 767 ]
Which Series has a Score of 3 8?
SELECT "Series" FROM table_36388 WHERE "Score" = '3 – 8'
[ 13828, 7171, 468, 257, 15178, 286, 513, 807, 30, 46506, 366, 27996, 1, 16034, 3084, 62, 2623, 30460, 33411, 366, 26595, 1, 796, 705, 18, 784, 807, 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, 7171, 468, 257, 15178, 286, 513, 807, 30, 46506, 366, 27996, 1, 16034, 3084, 62, 2623, 30460, 33411, 366, 26595, 1, 796, 705, 18, 784, 807, 6 ]
Which nominating festival nominated Iao Lethem's film?
SELECT nominating_festival FROM table_name_80 WHERE director_s_ = "iao lethem"
[ 13828, 48833, 10876, 19332, 314, 5488, 3914, 4411, 338, 2646, 30, 46506, 48833, 62, 69, 6743, 16034, 3084, 62, 3672, 62, 1795, 33411, 3437, 62, 82, 62, 796, 366, 13481, 443, 18855, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 48833, 10876, 19332, 314, 5488, 3914, 4411, 338, 2646, 30, 46506, 48833, 62, 69, 6743, 16034, 3084, 62, 3672, 62, 1795, 33411, 3437, 62, 82, 62, 796, 366, 13481, 443, 18855, 1 ]
What are the statuses of the districts whose successor is Wiltshire?
SELECT "Status" FROM table_30218 WHERE "Successor" = 'Wiltshire'
[ 2061, 389, 262, 1185, 2664, 286, 262, 12815, 3025, 17270, 318, 5187, 912, 10695, 30, 46506, 366, 19580, 1, 16034, 3084, 62, 22709, 1507, 33411, 366, 33244, 273, 1, 796, 705, 22327, 912, 10695, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 262, 1185, 2664, 286, 262, 12815, 3025, 17270, 318, 5187, 912, 10695, 30, 46506, 366, 19580, 1, 16034, 3084, 62, 22709, 1507, 33411, 366, 33244, 273, 1, 796, 705, 22327, 912, 10695, 6 ]
Which Party has a Representative of brian bosma?
SELECT party FROM table_name_61 WHERE representative = "brian bosma"
[ 13828, 3615, 468, 257, 19920, 286, 275, 4484, 37284, 2611, 30, 46506, 2151, 16034, 3084, 62, 3672, 62, 5333, 33411, 8852, 796, 366, 65, 4484, 37284, 2611, 1 ]
[ 1, 1, 1, 1, 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, 3615, 468, 257, 19920, 286, 275, 4484, 37284, 2611, 30, 46506, 2151, 16034, 3084, 62, 3672, 62, 5333, 33411, 8852, 796, 366, 65, 4484, 37284, 2611, 1 ]
where was the last conference held ?
SELECT "place of conference" FROM table_204_278 ORDER BY "year of presidency" DESC LIMIT 1
[ 3003, 373, 262, 938, 4495, 2714, 5633, 46506, 366, 5372, 286, 4495, 1, 16034, 3084, 62, 18638, 62, 25870, 38678, 11050, 366, 1941, 286, 12112, 1, 22196, 34, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 3003, 373, 262, 938, 4495, 2714, 5633, 46506, 366, 5372, 286, 4495, 1, 16034, 3084, 62, 18638, 62, 25870, 38678, 11050, 366, 1941, 286, 12112, 1, 22196, 34, 27564, 2043, 352 ]
what is the number of patients whose ethnicity is black/cape verdean and lab test name is bilirubin, direct?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.ethnicity = "BLACK/CAPE VERDEAN" AND lab.label = "Bilirubin, Direct"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 26289, 318, 2042, 14, 36435, 3326, 2934, 272, 290, 2248, 1332, 1438, 318, 47027, 343, 549, 259, 11, 1277, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108, 76, 62, 312, 796, 2248, 13, 18108, 76, 62, 312, 33411, 16728, 13, 38546, 414, 796, 366, 9148, 8120, 14, 33177, 36, 33310, 7206, 1565, 1, 5357, 2248, 13, 18242, 796, 366, 33, 346, 343, 549, 259, 11, 4128, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 1271, 286, 3871, 3025, 26289, 318, 2042, 14, 36435, 3326, 2934, 272, 290, 2248, 1332, 1438, 318, 47027, 343, 549, 259, 11, 1277, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108, 76, 62, 312, 796, 2248, 13, 18108, 76, 62, 312, 33411, 16728, 13, 38546, 414, 796, 366, 9148, 8120, 14, 33177, 36, 33310, 7206, 1565, 1, 5357, 2248, 13, 18242, 796, 366, 33, 346, 343, 549, 259, 11, 4128, 1 ]
Overlap between a given tag and related ones.
SELECT *, CAST(100.0 * without_tag / (without_tag + with_tag) AS FLOAT(18, 2)) AS perc_not_tag FROM (SELECT COUNT(p.Id) AS post_count, t.TagName, SUM(CASE WHEN p.Tags LIKE '%<##Tag##>%' THEN 1 ELSE 0 END) AS with_tag, SUM(CASE WHEN NOT p.Tags LIKE '%<##Tag##>%' THEN 1 ELSE 0 END) AS without_tag FROM Posts AS p JOIN PostTags AS pTags ON pTags.PostId = p.Id JOIN Tags AS t ON t.Id = pTags.TagId WHERE t.TagName LIKE '%##Tag##%' GROUP BY t.TagName) AS a ORDER BY post_count DESC
[ 5886, 37796, 1022, 257, 1813, 7621, 290, 3519, 3392, 13, 46506, 1635, 11, 327, 11262, 7, 3064, 13, 15, 1635, 1231, 62, 12985, 1220, 357, 19419, 62, 12985, 1343, 351, 62, 12985, 8, 7054, 9977, 46, 1404, 7, 1507, 11, 362, 4008, 7054, 583, 66, 62, 1662, 62, 12985, 16034, 357, 46506, 327, 28270, 7, 79, 13, 7390, 8, 7054, 1281, 62, 9127, 11, 256, 13, 24835, 5376, 11, 35683, 7, 34, 11159, 42099, 279, 13, 36142, 34178, 705, 4, 27, 2235, 24835, 2235, 29, 4, 6, 42243, 352, 17852, 5188, 657, 23578, 8, 7054, 351, 62, 12985, 11, 35683 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5886, 37796, 1022, 257, 1813, 7621, 290, 3519, 3392, 13, 46506, 1635, 11, 327, 11262, 7, 3064, 13, 15, 1635, 1231, 62, 12985, 1220, 357, 19419, 62, 12985, 1343, 351, 62, 12985, 8, 7054, 9977, 46, 1404, 7, 1507, 11, 362, 4008, 7054, 583, 66, 62, 1662, 62, 12985, 16034, 357, 46506, 327, 28270, 7, 79, 13, 7390, 8, 7054, 1281, 62, 9127, 11, 256, 13, 24835, 5376, 11, 35683, 7, 34, 11159, 42099, 279, 13, 36142, 34178, 705, 4, 27, 2235, 24835, 2235, 29, 4, 6, 42243, 352, 17852, 5188, 657, 23578, 8, 7054, 351, 62, 12985, 11, 35683 ]
How many gold medals were awarded to the team with more than 2 bronze and exactly 29 silver medals?
SELECT gold FROM table_name_19 WHERE bronze > 2 AND silver = 29
[ 2437, 867, 3869, 28057, 547, 11343, 284, 262, 1074, 351, 517, 621, 362, 22101, 290, 3446, 2808, 8465, 28057, 30, 46506, 3869, 16034, 3084, 62, 3672, 62, 1129, 33411, 22101, 1875, 362, 5357, 8465, 796, 2808 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3869, 28057, 547, 11343, 284, 262, 1074, 351, 517, 621, 362, 22101, 290, 3446, 2808, 8465, 28057, 30, 46506, 3869, 16034, 3084, 62, 3672, 62, 1129, 33411, 22101, 1875, 362, 5357, 8465, 796, 2808 ]
What is the Away team at Mansfield Town's Home game?
SELECT "Away team" FROM table_12491 WHERE "Home team" = 'mansfield town'
[ 2061, 318, 262, 21986, 1074, 379, 18580, 3245, 8329, 338, 5995, 983, 30, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 1065, 41289, 33411, 366, 16060, 1074, 1, 796, 705, 16221, 3245, 3240, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 21986, 1074, 379, 18580, 3245, 8329, 338, 5995, 983, 30, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 1065, 41289, 33411, 366, 16060, 1074, 1, 796, 705, 16221, 3245, 3240, 6 ]
get the number of inpatient hospital admission patients who have bume05 drug code.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.admission_location = "TRSF WITHIN THIS FACILITY" AND prescriptions.formulary_drug_cd = "BUME05"
[ 1136, 262, 1271, 286, 287, 26029, 4436, 13938, 3871, 508, 423, 275, 2454, 2713, 2563, 2438, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, 18108, 76, 62, 312, 796, 34092, 13, 18108, 76, 62, 312, 33411, 16728, 13, 324, 3411, 62, 24886, 796, 366, 5446, 20802, 13315, 1268, 12680, 44216, 4146, 9050, 1, 5357, 34092, 13, 687, 377, 560, 62, 30349, 62, 10210, 796, 366, 33, 38340, 2713, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1136, 262, 1271, 286, 287, 26029, 4436, 13938, 3871, 508, 423, 275, 2454, 2713, 2563, 2438, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728, 13, 18108, 76, 62, 312, 796, 34092, 13, 18108, 76, 62, 312, 33411, 16728, 13, 324, 3411, 62, 24886, 796, 366, 5446, 20802, 13315, 1268, 12680, 44216, 4146, 9050, 1, 5357, 34092, 13, 687, 377, 560, 62, 30349, 62, 10210, 796, 366, 33, 38340, 2713, 1 ]
what tests are the three most frequently ordered lab tests since 2101?
SELECT t1.labname FROM (SELECT lab.labname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM lab WHERE STRFTIME('%y', lab.labresulttime) >= '2101' GROUP BY lab.labname) AS t1 WHERE t1.c1 <= 3
[ 10919, 5254, 389, 262, 1115, 749, 6777, 6149, 2248, 5254, 1201, 2310, 486, 30, 46506, 256, 16, 13, 23912, 3672, 16034, 357, 46506, 2248, 13, 23912, 3672, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, 7, 28104, 22196, 34, 8, 7054, 269, 16, 16034, 2248, 33411, 19269, 9792, 12789, 10786, 4, 88, 3256, 2248, 13, 23912, 20274, 2435, 8, 18189, 705, 2481, 486, 6, 44441, 11050, 2248, 13, 23912, 3672, 8, 7054, 256, 16, 33411, 256, 16, 13, 66, 16, 19841, 513 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5254, 389, 262, 1115, 749, 6777, 6149, 2248, 5254, 1201, 2310, 486, 30, 46506, 256, 16, 13, 23912, 3672, 16034, 357, 46506, 2248, 13, 23912, 3672, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, 7, 28104, 22196, 34, 8, 7054, 269, 16, 16034, 2248, 33411, 19269, 9792, 12789, 10786, 4, 88, 3256, 2248, 13, 23912, 20274, 2435, 8, 18189, 705, 2481, 486, 6, 44441, 11050, 2248, 13, 23912, 3672, 8, 7054, 256, 16, 33411, 256, 16, 13, 66, 16, 19841, 513 ]
Count of the users with a positively scored post by month.
WITH Raw AS (SELECT DISTINCT DATEFROMPARTS(TIME_TO_STR(CreationDate, '%Y'), TIME_TO_STR(CreationDate, '%M'), 1) AS Month, OwnerUserId AS UserId FROM Posts WHERE CreationDate < @TsNow AND Score > 0) SELECT Month, COUNT(*) AS Count FROM Raw GROUP BY Month ORDER BY Month
[ 12332, 286, 262, 2985, 351, 257, 19888, 7781, 1281, 416, 1227, 13, 54, 10554, 16089, 7054, 357, 46506, 360, 8808, 1268, 4177, 360, 6158, 10913, 2662, 27082, 4694, 7, 34694, 62, 10468, 62, 18601, 7, 12443, 341, 10430, 11, 705, 4, 56, 33809, 20460, 62, 10468, 62, 18601, 7, 12443, 341, 10430, 11, 705, 4, 44, 33809, 352, 8, 7054, 16061, 11, 23853, 12982, 7390, 7054, 11787, 7390, 16034, 12043, 33411, 21582, 10430, 1279, 2488, 33758, 3844, 5357, 15178, 1875, 657, 8, 33493, 16061, 11, 327, 28270, 7, 28104, 7054, 2764, 16034, 16089, 44441, 11050, 16061, 38678, 11050, 16061 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 12332, 286, 262, 2985, 351, 257, 19888, 7781, 1281, 416, 1227, 13, 54, 10554, 16089, 7054, 357, 46506, 360, 8808, 1268, 4177, 360, 6158, 10913, 2662, 27082, 4694, 7, 34694, 62, 10468, 62, 18601, 7, 12443, 341, 10430, 11, 705, 4, 56, 33809, 20460, 62, 10468, 62, 18601, 7, 12443, 341, 10430, 11, 705, 4, 44, 33809, 352, 8, 7054, 16061, 11, 23853, 12982, 7390, 7054, 11787, 7390, 16034, 12043, 33411, 21582, 10430, 1279, 2488, 33758, 3844, 5357, 15178, 1875, 657, 8, 33493, 16061, 11, 327, 28270, 7, 28104, 7054, 2764, 16034, 16089, 44441, 11050, 16061, 38678, 11050, 16061 ]
Can I take 532 some time in the next 2 years ?
SELECT DISTINCT semester.semester, semester.year FROM course, course_offering, semester WHERE course.course_id = course_offering.course_id AND course.department = 'EECS' AND course.number = 532 AND semester.semester_id = course_offering.semester AND semester.year IN (2016, 2017)
[ 6090, 314, 1011, 642, 2624, 617, 640, 287, 262, 1306, 362, 812, 5633, 46506, 360, 8808, 1268, 4177, 24878, 13, 325, 6880, 353, 11, 24878, 13, 1941, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 24878, 33411, 1781, 13, 17319, 62, 312, 796, 1781, 62, 2364, 1586, 13, 17319, 62, 312, 5357, 1781, 13, 10378, 1823, 796, 705, 36, 2943, 50, 6, 5357, 1781, 13, 17618, 796, 642, 2624, 5357, 24878, 13, 325, 6880, 353, 62, 312, 796, 1781, 62, 2364, 1586, 13, 325, 6880, 353, 5357, 24878, 13, 1941, 3268, 357, 5304, 11, 2177, 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 ]
[ 6090, 314, 1011, 642, 2624, 617, 640, 287, 262, 1306, 362, 812, 5633, 46506, 360, 8808, 1268, 4177, 24878, 13, 325, 6880, 353, 11, 24878, 13, 1941, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 24878, 33411, 1781, 13, 17319, 62, 312, 796, 1781, 62, 2364, 1586, 13, 17319, 62, 312, 5357, 1781, 13, 10378, 1823, 796, 705, 36, 2943, 50, 6, 5357, 1781, 13, 17618, 796, 642, 2624, 5357, 24878, 13, 325, 6880, 353, 62, 312, 796, 1781, 62, 2364, 1586, 13, 325, 6880, 353, 5357, 24878, 13, 1941, 3268, 357, 5304, 11, 2177, 8 ]
List the number of enrolment students in each day and bin date of enrolment by weekday with a bar chart.
SELECT date_of_enrolment, COUNT(date_of_enrolment) FROM Student_Course_Enrolment
[ 8053, 262, 1271, 286, 34311, 434, 2444, 287, 1123, 1110, 290, 9874, 3128, 286, 34311, 434, 416, 28269, 351, 257, 2318, 8262, 13, 46506, 3128, 62, 1659, 62, 268, 3225, 434, 11, 327, 28270, 7, 4475, 62, 1659, 62, 268, 3225, 434, 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, 1, 1, 1 ]
[ 8053, 262, 1271, 286, 34311, 434, 2444, 287, 1123, 1110, 290, 9874, 3128, 286, 34311, 434, 416, 28269, 351, 257, 2318, 8262, 13, 46506, 3128, 62, 1659, 62, 268, 3225, 434, 11, 327, 28270, 7, 4475, 62, 1659, 62, 268, 3225, 434, 8, 16034, 13613, 62, 49046, 62, 4834, 3225, 434 ]
What is the Elimination of the Player with Elimination Move of hurricanrana pin?
SELECT "Elimination" FROM table_12863 WHERE "Elimination Move" = 'hurricanrana pin'
[ 2061, 318, 262, 27405, 1883, 286, 262, 7853, 351, 27405, 1883, 10028, 286, 6990, 37189, 81, 2271, 6757, 30, 46506, 366, 36, 2475, 1883, 1, 16034, 3084, 62, 1065, 4521, 18, 33411, 366, 36, 2475, 1883, 10028, 1, 796, 705, 48349, 37189, 81, 2271, 6757, 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 ]
[ 2061, 318, 262, 27405, 1883, 286, 262, 7853, 351, 27405, 1883, 10028, 286, 6990, 37189, 81, 2271, 6757, 30, 46506, 366, 36, 2475, 1883, 1, 16034, 3084, 62, 1065, 4521, 18, 33411, 366, 36, 2475, 1883, 10028, 1, 796, 705, 48349, 37189, 81, 2271, 6757, 6 ]
What was the result of the 2011 US Open when the 2007 was F?
SELECT "2011" FROM table_4697 WHERE "2007" = 'f' AND "Tournament" = 'us open'
[ 2061, 373, 262, 1255, 286, 262, 2813, 1294, 4946, 618, 262, 4343, 373, 376, 30, 46506, 366, 9804, 1, 16034, 3084, 62, 19, 40035, 33411, 366, 12726, 1, 796, 705, 69, 6, 5357, 366, 51, 5138, 1, 796, 705, 385, 1280, 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, 373, 262, 1255, 286, 262, 2813, 1294, 4946, 618, 262, 4343, 373, 376, 30, 46506, 366, 9804, 1, 16034, 3084, 62, 19, 40035, 33411, 366, 12726, 1, 796, 705, 69, 6, 5357, 366, 51, 5138, 1, 796, 705, 385, 1280, 6 ]
Which year has a fleet number of 603?
SELECT year FROM table_name_22 WHERE fleet_number = "603"
[ 13828, 614, 468, 257, 11026, 1271, 286, 718, 3070, 30, 46506, 614, 16034, 3084, 62, 3672, 62, 1828, 33411, 11026, 62, 17618, 796, 366, 35642, 1 ]
[ 1, 1, 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, 614, 468, 257, 11026, 1271, 286, 718, 3070, 30, 46506, 614, 16034, 3084, 62, 3672, 62, 1828, 33411, 11026, 62, 17618, 796, 366, 35642, 1 ]
when has patient 012-4131 entered the hospital for the first time in 2105 via the direct admit?
SELECT patient.hospitaladmittime FROM patient WHERE patient.uniquepid = '012-4131' AND patient.hospitaladmitsource = 'direct admit' AND STRFTIME('%y', patient.hospitaladmittime) = '2105' ORDER BY patient.hospitaladmittime LIMIT 1
[ 12518, 468, 5827, 5534, 17, 12, 19, 22042, 5982, 262, 4436, 329, 262, 717, 640, 287, 362, 13348, 2884, 262, 1277, 9159, 30, 46506, 5827, 13, 49257, 324, 20124, 524, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 30206, 12, 19, 22042, 6, 5357, 5827, 13, 49257, 324, 24883, 1668, 796, 705, 12942, 9159, 6, 5357, 19269, 9792, 12789, 10786, 4, 88, 3256, 5827, 13, 49257, 324, 20124, 524, 8, 796, 705, 17, 13348, 6, 38678, 11050, 5827, 13, 49257, 324, 20124, 524, 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 ]
[ 12518, 468, 5827, 5534, 17, 12, 19, 22042, 5982, 262, 4436, 329, 262, 717, 640, 287, 362, 13348, 2884, 262, 1277, 9159, 30, 46506, 5827, 13, 49257, 324, 20124, 524, 16034, 5827, 33411, 5827, 13, 403, 1557, 538, 312, 796, 705, 30206, 12, 19, 22042, 6, 5357, 5827, 13, 49257, 324, 24883, 1668, 796, 705, 12942, 9159, 6, 5357, 19269, 9792, 12789, 10786, 4, 88, 3256, 5827, 13, 49257, 324, 20124, 524, 8, 796, 705, 17, 13348, 6, 38678, 11050, 5827, 13, 49257, 324, 20124, 524, 27564, 2043, 352 ]
How many races are in College Station, Texas and won by Johnny Rutherford?
SELECT COUNT("Race Name") FROM table_25232 WHERE "Location" = 'College Station, Texas' AND "Winning Driver" = 'Johnny Rutherford'
[ 2437, 867, 9558, 389, 287, 5535, 9327, 11, 3936, 290, 1839, 416, 15470, 49767, 30, 46506, 327, 28270, 7203, 35157, 6530, 4943, 16034, 3084, 62, 1495, 24339, 33411, 366, 14749, 1, 796, 705, 38951, 9327, 11, 3936, 6, 5357, 366, 16643, 768, 12434, 1, 796, 705, 44960, 49767, 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 ]
[ 2437, 867, 9558, 389, 287, 5535, 9327, 11, 3936, 290, 1839, 416, 15470, 49767, 30, 46506, 327, 28270, 7203, 35157, 6530, 4943, 16034, 3084, 62, 1495, 24339, 33411, 366, 14749, 1, 796, 705, 38951, 9327, 11, 3936, 6, 5357, 366, 16643, 768, 12434, 1, 796, 705, 44960, 49767, 6 ]
which city had the least people at the 2002 census ?
SELECT "name" FROM table_203_465 ORDER BY "population (2007 estimation)" LIMIT 1
[ 4758, 1748, 550, 262, 1551, 661, 379, 262, 6244, 21649, 5633, 46506, 366, 3672, 1, 16034, 3084, 62, 22416, 62, 42018, 38678, 11050, 366, 39748, 357, 12726, 31850, 16725, 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 ]
[ 4758, 1748, 550, 262, 1551, 661, 379, 262, 6244, 21649, 5633, 46506, 366, 3672, 1, 16034, 3084, 62, 22416, 62, 42018, 38678, 11050, 366, 39748, 357, 12726, 31850, 16725, 27564, 2043, 352 ]
What is the place of the player witha 69-69=138 score?
SELECT "Place" FROM table_47813 WHERE "Score" = '69-69=138'
[ 2061, 318, 262, 1295, 286, 262, 2137, 351, 64, 8644, 12, 3388, 28, 20107, 4776, 30, 46506, 366, 27271, 1, 16034, 3084, 62, 29059, 1485, 33411, 366, 26595, 1, 796, 705, 3388, 12, 3388, 28, 20107, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1295, 286, 262, 2137, 351, 64, 8644, 12, 3388, 28, 20107, 4776, 30, 46506, 366, 27271, 1, 16034, 3084, 62, 29059, 1485, 33411, 366, 26595, 1, 796, 705, 3388, 12, 3388, 28, 20107, 6 ]
What is the number of electorates (2009) for Constituency number 182?
SELECT number_of_electorates__2009_ FROM table_name_13 WHERE constituency_number = "182"
[ 2061, 318, 262, 1271, 286, 43191, 689, 357, 10531, 8, 329, 4757, 34272, 1387, 1271, 28581, 30, 46506, 1271, 62, 1659, 62, 9509, 273, 689, 834, 10531, 62, 16034, 3084, 62, 3672, 62, 1485, 33411, 28280, 62, 17618, 796, 366, 24294, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 43191, 689, 357, 10531, 8, 329, 4757, 34272, 1387, 1271, 28581, 30, 46506, 1271, 62, 1659, 62, 9509, 273, 689, 834, 10531, 62, 16034, 3084, 62, 3672, 62, 1485, 33411, 28280, 62, 17618, 796, 366, 24294, 1 ]
What is the earliest year with colin berry as the spokesperson and ray moore as the radio commentator?
SELECT MIN("Year(s)") FROM table_12664 WHERE "Spokesperson" = 'colin berry' AND "Radio commentator" = 'ray moore'
[ 2061, 318, 262, 14555, 614, 351, 951, 259, 275, 6996, 355, 262, 11821, 290, 26842, 6941, 382, 355, 262, 5243, 28823, 30, 46506, 20625, 7203, 17688, 7, 82, 8, 4943, 16034, 3084, 62, 19420, 2414, 33411, 366, 4561, 3369, 6259, 1, 796, 705, 4033, 259, 275, 6996, 6, 5357, 366, 26093, 28823, 1, 796, 705, 2433, 6941, 382, 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 ]
[ 2061, 318, 262, 14555, 614, 351, 951, 259, 275, 6996, 355, 262, 11821, 290, 26842, 6941, 382, 355, 262, 5243, 28823, 30, 46506, 20625, 7203, 17688, 7, 82, 8, 4943, 16034, 3084, 62, 19420, 2414, 33411, 366, 4561, 3369, 6259, 1, 796, 705, 4033, 259, 275, 6996, 6, 5357, 366, 26093, 28823, 1, 796, 705, 2433, 6941, 382, 6 ]
questions where the OP offered a bounty on an answer they didn't accept. https://meta.stackexchange.com/questions/314515/what-is-the-reason-that-i-can-accept-only-one-answer
SELECT DISTINCT q.Id AS "post_link" FROM Posts AS q INNER JOIN Votes AS v ON v.PostId = q.Id INNER JOIN Posts AS a ON a.ParentId = q.Id AND a.Id != q.AcceptedAnswerId INNER JOIN Votes AS va ON va.PostId = a.Id WHERE NOT q.AcceptedAnswerId IS NULL AND v.VoteTypeId = 8 AND v.UserId = q.OwnerUserId AND va.VoteTypeId = 9 AND q.OwnerUserId = v.UserId
[ 6138, 507, 810, 262, 13349, 4438, 257, 24180, 319, 281, 3280, 484, 1422, 470, 2453, 13, 3740, 1378, 28961, 13, 301, 330, 365, 87, 3803, 13, 785, 14, 6138, 507, 14, 18, 18781, 1314, 14, 10919, 12, 271, 12, 1169, 12, 41181, 12, 5562, 12, 72, 12, 5171, 12, 13635, 12, 8807, 12, 505, 12, 41484, 46506, 360, 8808, 1268, 4177, 10662, 13, 7390, 7054, 366, 7353, 62, 8726, 1, 16034, 12043, 7054, 10662, 3268, 21479, 32357, 1268, 39584, 7054, 410, 6177, 410, 13, 6307, 7390, 796, 10662, 13, 7390, 3268, 21479, 32357, 1268, 12043, 7054, 257, 6177, 257, 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 ]
[ 6138, 507, 810, 262, 13349, 4438, 257, 24180, 319, 281, 3280, 484, 1422, 470, 2453, 13, 3740, 1378, 28961, 13, 301, 330, 365, 87, 3803, 13, 785, 14, 6138, 507, 14, 18, 18781, 1314, 14, 10919, 12, 271, 12, 1169, 12, 41181, 12, 5562, 12, 72, 12, 5171, 12, 13635, 12, 8807, 12, 505, 12, 41484, 46506, 360, 8808, 1268, 4177, 10662, 13, 7390, 7054, 366, 7353, 62, 8726, 1, 16034, 12043, 7054, 10662, 3268, 21479, 32357, 1268, 39584, 7054, 410, 6177, 410, 13, 6307, 7390, 796, 10662, 13, 7390, 3268, 21479, 32357, 1268, 12043, 7054, 257, 6177, 257, 13 ]
how many hours have passed since the first time that patient 96833 was prescribed acetazolamide sodium during their current hospital visit?
SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', prescriptions.startdate)) FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 96833 AND admissions.dischtime IS NULL) AND prescriptions.drug = 'acetazolamide sodium' ORDER BY prescriptions.startdate LIMIT 1
[ 4919, 867, 2250, 423, 3804, 1201, 262, 717, 640, 326, 5827, 860, 3104, 2091, 373, 14798, 25174, 1031, 349, 37905, 21072, 1141, 511, 1459, 4436, 3187, 30, 46506, 1987, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694, 28955, 532, 19269, 9792, 12789, 10786, 4, 73, 3256, 34092, 13, 9688, 4475, 4008, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 860, 3104, 2091, 5357, 25349, 13, 6381, 354, 2435, 3180, 15697, 8, 5357, 34092, 13, 30349, 796 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2250, 423, 3804, 1201, 262, 717, 640, 326, 5827, 860, 3104, 2091, 373, 14798, 25174, 1031, 349, 37905, 21072, 1141, 511, 1459, 4436, 3187, 30, 46506, 1987, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694, 28955, 532, 19269, 9792, 12789, 10786, 4, 73, 3256, 34092, 13, 9688, 4475, 4008, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 860, 3104, 2091, 5357, 25349, 13, 6381, 354, 2435, 3180, 15697, 8, 5357, 34092, 13, 30349, 796 ]
What is the save of the game that 23,394 people attended?
SELECT save FROM table_name_49 WHERE attendance = "23,394"
[ 2061, 318, 262, 3613, 286, 262, 983, 326, 2242, 11, 34626, 661, 9141, 30, 46506, 3613, 16034, 3084, 62, 3672, 62, 2920, 33411, 14858, 796, 366, 1954, 11, 34626, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 3613, 286, 262, 983, 326, 2242, 11, 34626, 661, 9141, 30, 46506, 3613, 16034, 3084, 62, 3672, 62, 2920, 33411, 14858, 796, 366, 1954, 11, 34626, 1 ]
What is the total number of byes with more than 0 losses and 1526 against?
SELECT COUNT("Byes") FROM table_63955 WHERE "Losses" > '0' AND "Against" = '1526'
[ 2061, 318, 262, 2472, 1271, 286, 416, 274, 351, 517, 621, 657, 9089, 290, 1315, 2075, 1028, 30, 46506, 327, 28270, 7203, 3886, 274, 4943, 16034, 3084, 62, 21, 2670, 2816, 33411, 366, 43, 793, 274, 1, 1875, 705, 15, 6, 5357, 366, 39276, 1, 796, 705, 1314, 2075, 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 ]
[ 2061, 318, 262, 2472, 1271, 286, 416, 274, 351, 517, 621, 657, 9089, 290, 1315, 2075, 1028, 30, 46506, 327, 28270, 7203, 3886, 274, 4943, 16034, 3084, 62, 21, 2670, 2816, 33411, 366, 43, 793, 274, 1, 1875, 705, 15, 6, 5357, 366, 39276, 1, 796, 705, 1314, 2075, 6 ]
what is primary disease of subject id 6983?
SELECT demographic.diagnosis FROM demographic WHERE demographic.subject_id = "6983"
[ 10919, 318, 4165, 4369, 286, 2426, 4686, 39861, 18, 30, 46506, 16728, 13, 47356, 5958, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 3388, 5999, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 4165, 4369, 286, 2426, 4686, 39861, 18, 30, 46506, 16728, 13, 47356, 5958, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 3388, 5999, 1 ]
Which date has date started from 30 Sep 1913?
SELECT "Date (To)" FROM table_46711 WHERE "Date (From)" = '30 sep 1913'
[ 13828, 3128, 468, 3128, 2067, 422, 1542, 8621, 35145, 30, 46506, 366, 10430, 357, 2514, 16725, 16034, 3084, 62, 24669, 1157, 33411, 366, 10430, 357, 4863, 16725, 796, 705, 1270, 41767, 35145, 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 ]
[ 13828, 3128, 468, 3128, 2067, 422, 1542, 8621, 35145, 30, 46506, 366, 10430, 357, 2514, 16725, 16034, 3084, 62, 24669, 1157, 33411, 366, 10430, 357, 4863, 16725, 796, 705, 1270, 41767, 35145, 6 ]
Which country is bob tway from?
SELECT country FROM table_name_30 WHERE player = "bob tway"
[ 13828, 1499, 318, 29202, 665, 323, 422, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 1270, 33411, 2137, 796, 366, 65, 672, 665, 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 ]
[ 13828, 1499, 318, 29202, 665, 323, 422, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 1270, 33411, 2137, 796, 366, 65, 672, 665, 323, 1 ]
Find the number of courses for each subject in a bar chart.
SELECT subject_name, COUNT(*) FROM Courses AS T1 JOIN Subjects AS T2 ON T1.subject_id = T2.subject_id GROUP BY T1.subject_id
[ 16742, 262, 1271, 286, 10902, 329, 1123, 2426, 287, 257, 2318, 8262, 13, 46506, 2426, 62, 3672, 11, 327, 28270, 7, 28104, 16034, 2734, 8448, 7054, 309, 16, 32357, 1268, 43815, 7054, 309, 17, 6177, 309, 16, 13, 32796, 62, 312, 796, 309, 17, 13, 32796, 62, 312, 44441, 11050, 309, 16, 13, 32796, 62, 312 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16742, 262, 1271, 286, 10902, 329, 1123, 2426, 287, 257, 2318, 8262, 13, 46506, 2426, 62, 3672, 11, 327, 28270, 7, 28104, 16034, 2734, 8448, 7054, 309, 16, 32357, 1268, 43815, 7054, 309, 17, 6177, 309, 16, 13, 32796, 62, 312, 796, 309, 17, 13, 32796, 62, 312, 44441, 11050, 309, 16, 13, 32796, 62, 312 ]
Where is constituency number 16?
SELECT name FROM table_name_57 WHERE constituency_number = "16"
[ 8496, 318, 28280, 1271, 1467, 30, 46506, 1438, 16034, 3084, 62, 3672, 62, 3553, 33411, 28280, 62, 17618, 796, 366, 1433, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8496, 318, 28280, 1271, 1467, 30, 46506, 1438, 16034, 3084, 62, 3672, 62, 3553, 33411, 28280, 62, 17618, 796, 366, 1433, 1 ]
which was the first song he performed that was originally a beatles song ?
SELECT "song choice" FROM table_204_889 WHERE "original artist" = 'the beatles' ORDER BY "date" LIMIT 1
[ 4758, 373, 262, 717, 3496, 339, 6157, 326, 373, 6198, 257, 4405, 829, 3496, 5633, 46506, 366, 34050, 3572, 1, 16034, 3084, 62, 18638, 62, 39121, 33411, 366, 14986, 6802, 1, 796, 705, 1169, 4405, 829, 6, 38678, 11050, 366, 4475, 1, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4758, 373, 262, 717, 3496, 339, 6157, 326, 373, 6198, 257, 4405, 829, 3496, 5633, 46506, 366, 34050, 3572, 1, 16034, 3084, 62, 18638, 62, 39121, 33411, 366, 14986, 6802, 1, 796, 705, 1169, 4405, 829, 6, 38678, 11050, 366, 4475, 1, 27564, 2043, 352 ]
Show the number of documents for different budget type code in a bar chart, show in ascending by the total number.
SELECT T1.Budget_Type_Code, COUNT(T1.Budget_Type_Code) FROM Documents_with_Expenses AS T1 JOIN Ref_Budget_Codes AS T2 ON T1.Budget_Type_Code = T2.Budget_Type_Code GROUP BY T1.Budget_Type_Code ORDER BY COUNT(T1.Budget_Type_Code)
[ 15307, 262, 1271, 286, 4963, 329, 1180, 4466, 2099, 2438, 287, 257, 2318, 8262, 11, 905, 287, 41988, 416, 262, 2472, 1271, 13, 46506, 309, 16, 13, 33, 29427, 62, 6030, 62, 10669, 11, 327, 28270, 7, 51, 16, 13, 33, 29427, 62, 6030, 62, 10669, 8, 16034, 33267, 62, 4480, 62, 16870, 4541, 7054, 309, 16, 32357, 1268, 6524, 62, 33, 29427, 62, 34, 4147, 7054, 309, 17, 6177, 309, 16, 13, 33, 29427, 62, 6030, 62, 10669, 796, 309, 17, 13, 33, 29427, 62, 6030, 62, 10669, 44441, 11050, 309, 16, 13, 33, 29427, 62, 6030, 62, 10669 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 262, 1271, 286, 4963, 329, 1180, 4466, 2099, 2438, 287, 257, 2318, 8262, 11, 905, 287, 41988, 416, 262, 2472, 1271, 13, 46506, 309, 16, 13, 33, 29427, 62, 6030, 62, 10669, 11, 327, 28270, 7, 51, 16, 13, 33, 29427, 62, 6030, 62, 10669, 8, 16034, 33267, 62, 4480, 62, 16870, 4541, 7054, 309, 16, 32357, 1268, 6524, 62, 33, 29427, 62, 34, 4147, 7054, 309, 17, 6177, 309, 16, 13, 33, 29427, 62, 6030, 62, 10669, 796, 309, 17, 13, 33, 29427, 62, 6030, 62, 10669, 44441, 11050, 309, 16, 13, 33, 29427, 62, 6030, 62, 10669 ]
Name the class AA with class A of rule and school year of 1995-96
SELECT "Class AA" FROM table_37442 WHERE "Class A" = 'rule' AND "School Year" = '1995-96'
[ 5376, 262, 1398, 15923, 351, 1398, 317, 286, 3896, 290, 1524, 614, 286, 8735, 12, 4846, 46506, 366, 9487, 15923, 1, 16034, 3084, 62, 2718, 39506, 33411, 366, 9487, 317, 1, 796, 705, 25135, 6, 5357, 366, 26130, 6280, 1, 796, 705, 21908, 12, 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 ]
[ 5376, 262, 1398, 15923, 351, 1398, 317, 286, 3896, 290, 1524, 614, 286, 8735, 12, 4846, 46506, 366, 9487, 15923, 1, 16034, 3084, 62, 2718, 39506, 33411, 366, 9487, 317, 1, 796, 705, 25135, 6, 5357, 366, 26130, 6280, 1, 796, 705, 21908, 12, 4846, 6 ]
What day was the winning score 16 (67-70-69-66=272)?
SELECT "Date" FROM table_7849 WHERE "Winning score" = '–16 (67-70-69-66=272)'
[ 2061, 1110, 373, 262, 5442, 4776, 1467, 357, 3134, 12, 2154, 12, 3388, 12, 2791, 28, 29807, 19427, 46506, 366, 10430, 1, 16034, 3084, 62, 3695, 2920, 33411, 366, 16643, 768, 4776, 1, 796, 705, 1906, 1433, 357, 3134, 12, 2154, 12, 3388, 12, 2791, 28, 29807, 33047 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1110, 373, 262, 5442, 4776, 1467, 357, 3134, 12, 2154, 12, 3388, 12, 2791, 28, 29807, 19427, 46506, 366, 10430, 1, 16034, 3084, 62, 3695, 2920, 33411, 366, 16643, 768, 4776, 1, 796, 705, 1906, 1433, 357, 3134, 12, 2154, 12, 3388, 12, 2791, 28, 29807, 33047 ]
What is the tax source system code related to the benefits and overpayments? List the code and the benifit id, order by benifit id.
SELECT T1.source_system_code, T2.council_tax_id FROM cmi_cross_references AS T1 JOIN benefits_overpayments AS T2 ON T1.cmi_cross_ref_id = T2.cmi_cross_ref_id ORDER BY T2.council_tax_id
[ 2061, 318, 262, 1687, 2723, 1080, 2438, 3519, 284, 262, 4034, 290, 625, 15577, 902, 30, 7343, 262, 2438, 290, 262, 1888, 361, 270, 4686, 11, 1502, 416, 1888, 361, 270, 4686, 13, 46506, 309, 16, 13, 10459, 62, 10057, 62, 8189, 11, 309, 17, 13, 66, 977, 2856, 62, 19290, 62, 312, 16034, 269, 11632, 62, 19692, 62, 5420, 4972, 7054, 309, 16, 32357, 1268, 4034, 62, 2502, 15577, 902, 7054, 309, 17, 6177, 309, 16, 13, 11215, 72, 62, 19692, 62, 5420, 62, 312, 796, 309, 17, 13, 11215, 72, 62, 19692, 62, 5420, 62, 312, 38678, 11050 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1687, 2723, 1080, 2438, 3519, 284, 262, 4034, 290, 625, 15577, 902, 30, 7343, 262, 2438, 290, 262, 1888, 361, 270, 4686, 11, 1502, 416, 1888, 361, 270, 4686, 13, 46506, 309, 16, 13, 10459, 62, 10057, 62, 8189, 11, 309, 17, 13, 66, 977, 2856, 62, 19290, 62, 312, 16034, 269, 11632, 62, 19692, 62, 5420, 4972, 7054, 309, 16, 32357, 1268, 4034, 62, 2502, 15577, 902, 7054, 309, 17, 6177, 309, 16, 13, 11215, 72, 62, 19692, 62, 5420, 62, 312, 796, 309, 17, 13, 11215, 72, 62, 19692, 62, 5420, 62, 312, 38678, 11050 ]
What is Nationality, when Position is 'G', and when Pick is greater than 26?
SELECT nationality FROM table_name_44 WHERE position = "g" AND pick > 26
[ 2061, 318, 2351, 414, 11, 618, 23158, 318, 705, 38, 3256, 290, 618, 12346, 318, 3744, 621, 2608, 30, 46506, 29835, 16034, 3084, 62, 3672, 62, 2598, 33411, 2292, 796, 366, 70, 1, 5357, 2298, 1875, 2608 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2351, 414, 11, 618, 23158, 318, 705, 38, 3256, 290, 618, 12346, 318, 3744, 621, 2608, 30, 46506, 29835, 16034, 3084, 62, 3672, 62, 2598, 33411, 2292, 796, 366, 70, 1, 5357, 2298, 1875, 2608 ]
Who was the home team when Sheffield United was the away team and the date was also Sheffield United?
SELECT "Home team" FROM table_48291 WHERE "Away team" = 'sheffield united' AND "Date" = 'sheffield united'
[ 8241, 373, 262, 1363, 1074, 618, 33496, 1578, 373, 262, 1497, 1074, 290, 262, 3128, 373, 635, 33496, 1578, 30, 46506, 366, 16060, 1074, 1, 16034, 3084, 62, 2780, 33551, 33411, 366, 32, 1014, 1074, 1, 796, 705, 7091, 31374, 16503, 6, 5357, 366, 10430, 1, 796, 705, 7091, 31374, 16503, 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 ]
[ 8241, 373, 262, 1363, 1074, 618, 33496, 1578, 373, 262, 1497, 1074, 290, 262, 3128, 373, 635, 33496, 1578, 30, 46506, 366, 16060, 1074, 1, 16034, 3084, 62, 2780, 33551, 33411, 366, 32, 1014, 1074, 1, 796, 705, 7091, 31374, 16503, 6, 5357, 366, 10430, 1, 796, 705, 7091, 31374, 16503, 6 ]
How many opponents were there when the opponent was Arizona State?
SELECT MIN("Opponents") FROM table_25322 WHERE "Opponent" = 'Arizona State'
[ 2437, 867, 7691, 547, 612, 618, 262, 6125, 373, 7943, 1812, 30, 46506, 20625, 7203, 27524, 3906, 4943, 16034, 3084, 62, 28592, 1828, 33411, 366, 27524, 3471, 1, 796, 705, 40732, 1812, 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 ]
[ 2437, 867, 7691, 547, 612, 618, 262, 6125, 373, 7943, 1812, 30, 46506, 20625, 7203, 27524, 3906, 4943, 16034, 3084, 62, 28592, 1828, 33411, 366, 27524, 3471, 1, 796, 705, 40732, 1812, 6 ]
how many hours since patient 027-140654 was last diagnosed with septic arthritis on their current hospital visit.
SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', diagnosis.diagnosistime)) FROM diagnosis WHERE diagnosis.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '027-140654' AND patient.hospitaldischargetime IS NULL)) AND diagnosis.diagnosisname = 'septic arthritis' ORDER BY diagnosis.diagnosistime DESC LIMIT 1
[ 4919, 867, 2250, 1201, 5827, 657, 1983, 12, 15187, 39111, 373, 938, 14641, 351, 384, 17459, 37954, 319, 511, 1459, 4436, 3187, 13, 46506, 1987, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694, 28955, 532, 19269, 9792, 12789, 10786, 4, 73, 3256, 13669, 13, 47356, 418, 396, 524, 4008, 16034, 13669, 33411, 13669, 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 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2250, 1201, 5827, 657, 1983, 12, 15187, 39111, 373, 938, 14641, 351, 384, 17459, 37954, 319, 511, 1459, 4436, 3187, 13, 46506, 1987, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694, 28955, 532, 19269, 9792, 12789, 10786, 4, 73, 3256, 13669, 13, 47356, 418, 396, 524, 4008, 16034, 13669, 33411, 13669, 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 ]
How many Points against has Tries for smaller than 14, and a Team of llanelli?
SELECT AVG(points_against) FROM table_name_13 WHERE tries_for < 14 AND team = "llanelli"
[ 2437, 867, 11045, 1028, 468, 309, 1678, 329, 4833, 621, 1478, 11, 290, 257, 4816, 286, 32660, 272, 23225, 30, 46506, 35224, 7, 13033, 62, 32826, 8, 16034, 3084, 62, 3672, 62, 1485, 33411, 8404, 62, 1640, 1279, 1478, 5357, 1074, 796, 366, 47993, 23225, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11045, 1028, 468, 309, 1678, 329, 4833, 621, 1478, 11, 290, 257, 4816, 286, 32660, 272, 23225, 30, 46506, 35224, 7, 13033, 62, 32826, 8, 16034, 3084, 62, 3672, 62, 1485, 33411, 8404, 62, 1640, 1279, 1478, 5357, 1074, 796, 366, 47993, 23225, 1 ]
what flights depart BALTIMORE and arrive by 2000 friday in SAN FRANCISCO
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, date_day, days, flight WHERE ((((((flight.arrival_time < 41 OR flight.time_elapsed >= 60) AND flight.departure_time > flight.arrival_time) AND date_day.day_number = 25 AND date_day.month_number = 6 AND date_day.year = 1991 AND days.day_name = date_day.day_name AND flight.flight_days = days.days_code) OR (date_day.day_number = 25 AND date_day.month_number = 6 AND date_day.year = 1991 AND days.day_name = date_day.day_name AND flight.flight_days = days.days_code AND NOT ((flight.arrival_time < 41 OR flight.time_elapsed >= 60) AND flight.departure_time > flight.arrival_time))) AND flight.arrival_time <= 2000) AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SAN FRANCISCO' AND flight.to_airport = AIRPORT_SERVICE_1.airport_code) AND CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'BALTIMORE' AND flight.from_airport = AIRPORT_SERVICE_0.airport_code
[ 10919, 13956, 6313, 347, 31429, 3955, 6965, 290, 9240, 416, 4751, 1216, 2567, 287, 37376, 8782, 20940, 37719, 14058, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 16, 11, 1748, 7054, 27993, 62, 15, 11, 1748, 7054, 27993, 62, 16, 11, 3128, 62, 820, 11, 1528, 11, 5474, 33411, 14808, 19510, 19510, 22560, 13, 283, 43171, 62, 2435, 1279, 6073, 6375, 5474, 13, 2435, 62, 417, 28361, 18189, 3126, 8, 5357, 5474, 13, 10378, 433 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6313, 347, 31429, 3955, 6965, 290, 9240, 416, 4751, 1216, 2567, 287, 37376, 8782, 20940, 37719, 14058, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 16, 11, 1748, 7054, 27993, 62, 15, 11, 1748, 7054, 27993, 62, 16, 11, 3128, 62, 820, 11, 1528, 11, 5474, 33411, 14808, 19510, 19510, 22560, 13, 283, 43171, 62, 2435, 1279, 6073, 6375, 5474, 13, 2435, 62, 417, 28361, 18189, 3126, 8, 5357, 5474, 13, 10378, 433 ]
calculate the number of people who died after being diagnosed with esoph varice oth dis nos within the same hospital visit since 1 year ago.
SELECT COUNT(DISTINCT t2.subject_id) FROM (SELECT t1.subject_id, t1.charttime, t1.hadm_id FROM (SELECT admissions.subject_id, diagnoses_icd.charttime, admissions.hadm_id FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'esoph varice oth dis nos')) AS t1 GROUP BY t1.subject_id HAVING MIN(t1.charttime) = t1.charttime AND DATETIME(t1.charttime) >= DATETIME(CURRENT_TIME(), '-1 year')) AS t2 JOIN (SELECT patients.subject_id, admissions.hadm_id, patients.dod FROM admissions JOIN patients ON patients.subject_id = admissions.subject_id WHERE NOT patients.dod IS NULL AND DATETIME(patients.dod) >= DATETIME(CURRENT_TIME(), '-1 year')) AS t3 ON t2.subject_id = t3.subject_id WHERE t2.hadm_id = t3.hadm_id
[ 9948, 3129, 378, 262, 1271, 286, 661, 508, 3724, 706, 852, 14641, 351, 1658, 2522, 1401, 501, 267, 400, 595, 43630, 1626, 262, 976, 4436, 3187, 1201, 352, 614, 2084, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 17, 13, 32796, 62, 312, 8, 16034, 357, 46506, 256, 16, 13, 32796, 62, 312, 11, 256, 16, 13, 40926, 2435, 11, 256, 16, 13, 18108, 76, 62, 312, 16034, 357, 46506, 25349, 13, 32796, 62, 312, 11, 40567, 62, 291, 67, 13, 40926, 2435, 11, 25349, 13, 18108, 76, 62, 312, 16034, 40567, 62, 291, 67, 32357, 1268, 25349 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 9948, 3129, 378, 262, 1271, 286, 661, 508, 3724, 706, 852, 14641, 351, 1658, 2522, 1401, 501, 267, 400, 595, 43630, 1626, 262, 976, 4436, 3187, 1201, 352, 614, 2084, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 17, 13, 32796, 62, 312, 8, 16034, 357, 46506, 256, 16, 13, 32796, 62, 312, 11, 256, 16, 13, 40926, 2435, 11, 256, 16, 13, 18108, 76, 62, 312, 16034, 357, 46506, 25349, 13, 32796, 62, 312, 11, 40567, 62, 291, 67, 13, 40926, 2435, 11, 25349, 13, 18108, 76, 62, 312, 16034, 40567, 62, 291, 67, 32357, 1268, 25349 ]
Show all student IDs with more than total 10 hours per week on all sports played.
SELECT StuID FROM Sportsinfo GROUP BY StuID HAVING SUM(hoursperweek) > 10
[ 15307, 477, 3710, 32373, 351, 517, 621, 2472, 838, 2250, 583, 1285, 319, 477, 5701, 2826, 13, 46506, 520, 84, 2389, 16034, 7092, 10951, 44441, 11050, 520, 84, 2389, 367, 10116, 2751, 35683, 7, 24425, 525, 10464, 8, 1875, 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 ]
[ 15307, 477, 3710, 32373, 351, 517, 621, 2472, 838, 2250, 583, 1285, 319, 477, 5701, 2826, 13, 46506, 520, 84, 2389, 16034, 7092, 10951, 44441, 11050, 520, 84, 2389, 367, 10116, 2751, 35683, 7, 24425, 525, 10464, 8, 1875, 838 ]
in what year did laurens vault higher than in 2006 ?
SELECT "year" FROM table_204_759 WHERE "notes" > (SELECT MAX("notes") FROM table_204_759 WHERE "year" = 2006)
[ 259, 644, 614, 750, 34515, 5907, 22563, 2440, 621, 287, 4793, 5633, 46506, 366, 1941, 1, 16034, 3084, 62, 18638, 62, 38314, 33411, 366, 17815, 1, 1875, 357, 46506, 25882, 7203, 17815, 4943, 16034, 3084, 62, 18638, 62, 38314, 33411, 366, 1941, 1, 796, 4793, 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 ]
[ 259, 644, 614, 750, 34515, 5907, 22563, 2440, 621, 287, 4793, 5633, 46506, 366, 1941, 1, 16034, 3084, 62, 18638, 62, 38314, 33411, 366, 17815, 1, 1875, 357, 46506, 25882, 7203, 17815, 4943, 16034, 3084, 62, 18638, 62, 38314, 33411, 366, 1941, 1, 796, 4793, 8 ]
report the number of private health insurance patients who had short term hospital discharge.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.insurance = "Private" AND demographic.discharge_location = "SHORT TERM HOSPITAL"
[ 13116, 262, 1271, 286, 2839, 1535, 5096, 3871, 508, 550, 1790, 3381, 4436, 17655, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 1040, 3874, 796, 366, 29067, 1, 5357, 16728, 13, 6381, 10136, 62, 24886, 796, 366, 9693, 9863, 28994, 44, 367, 47053, 40579, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13116, 262, 1271, 286, 2839, 1535, 5096, 3871, 508, 550, 1790, 3381, 4436, 17655, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 1040, 3874, 796, 366, 29067, 1, 5357, 16728, 13, 6381, 10136, 62, 24886, 796, 366, 9693, 9863, 28994, 44, 367, 47053, 40579, 1 ]
What is the lowest decile with 1-6 years and area of Maitland?
SELECT MIN("Decile") FROM table_69790 WHERE "Years" = '1-6' AND "Area" = 'maitland'
[ 2061, 318, 262, 9016, 875, 576, 351, 352, 12, 21, 812, 290, 1989, 286, 337, 4548, 1044, 30, 46506, 20625, 7203, 10707, 576, 4943, 16034, 3084, 62, 3388, 37750, 33411, 366, 40630, 1, 796, 705, 16, 12, 21, 6, 5357, 366, 30547, 1, 796, 705, 2611, 270, 1044, 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, 318, 262, 9016, 875, 576, 351, 352, 12, 21, 812, 290, 1989, 286, 337, 4548, 1044, 30, 46506, 20625, 7203, 10707, 576, 4943, 16034, 3084, 62, 3388, 37750, 33411, 366, 40630, 1, 796, 705, 16, 12, 21, 6, 5357, 366, 30547, 1, 796, 705, 2611, 270, 1044, 6 ]
Name the high rebounds for record 10-19
SELECT high_rebounds FROM table_23274514_5 WHERE record = "10-19"
[ 5376, 262, 1029, 18841, 329, 1700, 838, 12, 1129, 46506, 1029, 62, 34806, 3733, 16034, 3084, 62, 1954, 1983, 2231, 1415, 62, 20, 33411, 1700, 796, 366, 940, 12, 1129, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 1029, 18841, 329, 1700, 838, 12, 1129, 46506, 1029, 62, 34806, 3733, 16034, 3084, 62, 1954, 1983, 2231, 1415, 62, 20, 33411, 1700, 796, 366, 940, 12, 1129, 1 ]
Where was the game played that had an away team score of 20.17 (137)?
SELECT "Venue" FROM table_10531 WHERE "Away team score" = '20.17 (137)'
[ 8496, 373, 262, 983, 2826, 326, 550, 281, 1497, 1074, 4776, 286, 1160, 13, 1558, 357, 19708, 19427, 46506, 366, 37522, 518, 1, 16034, 3084, 62, 13348, 3132, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 1238, 13, 1558, 357, 19708, 33047 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8496, 373, 262, 983, 2826, 326, 550, 281, 1497, 1074, 4776, 286, 1160, 13, 1558, 357, 19708, 19427, 46506, 366, 37522, 518, 1, 16034, 3084, 62, 13348, 3132, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 1238, 13, 1558, 357, 19708, 33047 ]
what is the only team to have 2005 in qld cup premierships ?
SELECT "team" FROM table_204_661 WHERE "qld cup\npremierships" = 2005
[ 10919, 318, 262, 691, 1074, 284, 423, 5075, 287, 10662, 335, 6508, 4199, 3183, 5748, 5633, 46506, 366, 15097, 1, 16034, 3084, 62, 18638, 62, 47159, 33411, 366, 80, 335, 6508, 59, 77, 31605, 3183, 5748, 1, 796, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 691, 1074, 284, 423, 5075, 287, 10662, 335, 6508, 4199, 3183, 5748, 5633, 46506, 366, 15097, 1, 16034, 3084, 62, 18638, 62, 47159, 33411, 366, 80, 335, 6508, 59, 77, 31605, 3183, 5748, 1, 796, 5075 ]
Which formula has a refractive index 589.3 at 1.97?
SELECT "Formula" FROM table_7698 WHERE "Refractive index(es) 589.3nm" = '1.97'
[ 13828, 10451, 468, 257, 1006, 35587, 6376, 642, 4531, 13, 18, 379, 352, 13, 5607, 30, 46506, 366, 8479, 4712, 1, 16034, 3084, 62, 22, 39357, 33411, 366, 8134, 35587, 6376, 7, 274, 8, 642, 4531, 13, 18, 21533, 1, 796, 705, 16, 13, 5607, 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 ]
[ 13828, 10451, 468, 257, 1006, 35587, 6376, 642, 4531, 13, 18, 379, 352, 13, 5607, 30, 46506, 366, 8479, 4712, 1, 16034, 3084, 62, 22, 39357, 33411, 366, 8134, 35587, 6376, 7, 274, 8, 642, 4531, 13, 18, 21533, 1, 796, 705, 16, 13, 5607, 6 ]
How many strongs transliteration of the english spelling of the work jehojakin?
SELECT COUNT(strongs_transliteration) FROM table_1242447_1 WHERE english_spelling = "Jehojakin"
[ 2437, 867, 1913, 82, 4779, 2676, 341, 286, 262, 46932, 24993, 286, 262, 670, 11223, 8873, 73, 27048, 30, 46506, 327, 28270, 7, 11576, 82, 62, 7645, 17201, 341, 8, 16034, 3084, 62, 17464, 1731, 2857, 62, 16, 33411, 46932, 62, 4125, 2680, 796, 366, 40932, 8873, 73, 27048, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1913, 82, 4779, 2676, 341, 286, 262, 46932, 24993, 286, 262, 670, 11223, 8873, 73, 27048, 30, 46506, 327, 28270, 7, 11576, 82, 62, 7645, 17201, 341, 8, 16034, 3084, 62, 17464, 1731, 2857, 62, 16, 33411, 46932, 62, 4125, 2680, 796, 366, 40932, 8873, 73, 27048, 1 ]
What is the highest amount of bronze china, which has more than 1 gold and more than 11 total, has?
SELECT MAX("Bronze") FROM table_79667 WHERE "Gold" > '1' AND "Nation" = 'china' AND "Total" > '11'
[ 2061, 318, 262, 4511, 2033, 286, 22101, 442, 1437, 11, 543, 468, 517, 621, 352, 3869, 290, 517, 621, 1367, 2472, 11, 468, 30, 46506, 25882, 7203, 18760, 2736, 4943, 16034, 3084, 62, 3720, 28933, 33411, 366, 13306, 1, 1875, 705, 16, 6, 5357, 366, 46108, 1, 796, 705, 354, 1437, 6, 5357, 366, 14957, 1, 1875, 705, 1157, 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 ]
[ 2061, 318, 262, 4511, 2033, 286, 22101, 442, 1437, 11, 543, 468, 517, 621, 352, 3869, 290, 517, 621, 1367, 2472, 11, 468, 30, 46506, 25882, 7203, 18760, 2736, 4943, 16034, 3084, 62, 3720, 28933, 33411, 366, 13306, 1, 1875, 705, 16, 6, 5357, 366, 46108, 1, 796, 705, 354, 1437, 6, 5357, 366, 14957, 1, 1875, 705, 1157, 6 ]
In what award show was Bad Girls nominated for Best Loved Drama in 2002?
SELECT "Award Show" FROM table_71296 WHERE "Category" = 'best loved drama' AND "Year" = '2002'
[ 818, 644, 5764, 905, 373, 7772, 12002, 19332, 329, 6705, 406, 2668, 30647, 287, 6244, 30, 46506, 366, 32, 904, 5438, 1, 16034, 3084, 62, 49517, 4846, 33411, 366, 27313, 1, 796, 705, 13466, 6151, 10512, 6, 5357, 366, 17688, 1, 796, 705, 16942, 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 ]
[ 818, 644, 5764, 905, 373, 7772, 12002, 19332, 329, 6705, 406, 2668, 30647, 287, 6244, 30, 46506, 366, 32, 904, 5438, 1, 16034, 3084, 62, 49517, 4846, 33411, 366, 27313, 1, 796, 705, 13466, 6151, 10512, 6, 5357, 366, 17688, 1, 796, 705, 16942, 6 ]
what are the five most frequent drugs that were prescribed within 2 months to the patients aged 60 or above after having been diagnosed with hepatic dysfunction - acute, until 2 years ago?
SELECT t3.drugname FROM (SELECT t2.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'hepatic dysfunction - acute' AND DATETIME(diagnosis.diagnosistime) <= DATETIME(CURRENT_TIME(), '-2 year')) AS t1 JOIN (SELECT patient.uniquepid, medication.drugname, medication.drugstarttime FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid WHERE patient.age >= 60 AND DATETIME(medication.drugstarttime) <= DATETIME(CURRENT_TIME(), '-2 year')) AS t2 ON t1.uniquepid = t2.uniquepid WHERE t1.diagnosistime < t2.drugstarttime AND DATETIME(t2.drugstarttime) BETWEEN DATETIME(t1.diagnosistime) AND DATETIME(t1.diagnosistime, '+2 month') GROUP BY t2.drugname) AS t3 WHERE t3.c1 <= 5
[ 10919, 389, 262, 1936, 749, 10792, 5010, 326, 547, 14798, 1626, 362, 1933, 284, 262, 3871, 9722, 3126, 393, 2029, 706, 1719, 587, 14641, 351, 47585, 1512, 19327, 532, 14352, 11, 1566, 362, 812, 2084, 30, 46506, 256, 18, 13, 30349, 3672, 16034, 357, 46506, 256, 17, 13, 30349, 3672, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, 7, 28104, 22196, 34, 8, 7054, 269, 16, 16034, 357, 46506, 5827, 13, 403, 1557, 538, 312, 11, 13669, 13, 47356, 418, 396, 524, 16034, 13669, 32357, 1268, 5827, 6177, 13669, 13, 26029, 20850, 31712, 312 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 389, 262, 1936, 749, 10792, 5010, 326, 547, 14798, 1626, 362, 1933, 284, 262, 3871, 9722, 3126, 393, 2029, 706, 1719, 587, 14641, 351, 47585, 1512, 19327, 532, 14352, 11, 1566, 362, 812, 2084, 30, 46506, 256, 18, 13, 30349, 3672, 16034, 357, 46506, 256, 17, 13, 30349, 3672, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, 7, 28104, 22196, 34, 8, 7054, 269, 16, 16034, 357, 46506, 5827, 13, 403, 1557, 538, 312, 11, 13669, 13, 47356, 418, 396, 524, 16034, 13669, 32357, 1268, 5827, 6177, 13669, 13, 26029, 20850, 31712, 312 ]
Tell me the screen size for pixels of model s6400
SELECT "Screen size,pixels" FROM table_32148 WHERE "Model" = 's6400'
[ 24446, 502, 262, 3159, 2546, 329, 17848, 286, 2746, 264, 2414, 405, 46506, 366, 23901, 2546, 11, 79, 14810, 1, 16034, 3084, 62, 2624, 18294, 33411, 366, 17633, 1, 796, 705, 82, 2414, 405, 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 ]
[ 24446, 502, 262, 3159, 2546, 329, 17848, 286, 2746, 264, 2414, 405, 46506, 366, 23901, 2546, 11, 79, 14810, 1, 16034, 3084, 62, 2624, 18294, 33411, 366, 17633, 1, 796, 705, 82, 2414, 405, 6 ]
What record has pittsburgh as the visitor, and November 23 as the date?
SELECT record FROM table_name_45 WHERE visitor = "pittsburgh" AND date = "november 23"
[ 2061, 1700, 468, 279, 715, 11931, 355, 262, 21493, 11, 290, 3389, 2242, 355, 262, 3128, 30, 46506, 1700, 16034, 3084, 62, 3672, 62, 2231, 33411, 21493, 796, 366, 79, 715, 11931, 1, 5357, 3128, 796, 366, 77, 3239, 2242, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1700, 468, 279, 715, 11931, 355, 262, 21493, 11, 290, 3389, 2242, 355, 262, 3128, 30, 46506, 1700, 16034, 3084, 62, 3672, 62, 2231, 33411, 21493, 796, 366, 79, 715, 11931, 1, 5357, 3128, 796, 366, 77, 3239, 2242, 1 ]
When the regular season of 2nd, Northeast and the year was less than 2008 what was the total number of Division?
SELECT COUNT("Division") FROM table_40634 WHERE "Regular Season" = '2nd, northeast' AND "Year" < '2008'
[ 2215, 262, 3218, 1622, 286, 362, 358, 11, 26315, 290, 262, 614, 373, 1342, 621, 3648, 644, 373, 262, 2472, 1271, 286, 7458, 30, 46506, 327, 28270, 7203, 24095, 1166, 4943, 16034, 3084, 62, 29703, 2682, 33411, 366, 40164, 7369, 1, 796, 705, 17, 358, 11, 24287, 6, 5357, 366, 17688, 1, 1279, 705, 11528, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 262, 3218, 1622, 286, 362, 358, 11, 26315, 290, 262, 614, 373, 1342, 621, 3648, 644, 373, 262, 2472, 1271, 286, 7458, 30, 46506, 327, 28270, 7203, 24095, 1166, 4943, 16034, 3084, 62, 29703, 2682, 33411, 366, 40164, 7369, 1, 796, 705, 17, 358, 11, 24287, 6, 5357, 366, 17688, 1, 1279, 705, 11528, 6 ]
Which capitals have an area of exactly 377930 square km?
SELECT "Capital" FROM table_23089 WHERE "Area km\u00b2" = '377930'
[ 13828, 44590, 423, 281, 1989, 286, 3446, 513, 40393, 1270, 6616, 10571, 30, 46506, 366, 39315, 1, 16034, 3084, 62, 19214, 4531, 33411, 366, 30547, 10571, 59, 84, 405, 65, 17, 1, 796, 705, 2718, 3720, 1270, 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 ]
[ 13828, 44590, 423, 281, 1989, 286, 3446, 513, 40393, 1270, 6616, 10571, 30, 46506, 366, 39315, 1, 16034, 3084, 62, 19214, 4531, 33411, 366, 30547, 10571, 59, 84, 405, 65, 17, 1, 796, 705, 2718, 3720, 1270, 6 ]
What are the drivers' last names and id who had 11 pit stops and participated in more than 5 race results?
SELECT T1.surname, T1.driverid FROM drivers AS T1 JOIN pitstops AS T2 ON T1.driverid = T2.driverid GROUP BY T1.driverid HAVING COUNT(*) = 11 INTERSECT SELECT T1.surname, T1.driverid FROM drivers AS T1 JOIN results AS T2 ON T1.driverid = T2.driverid GROUP BY T1.driverid HAVING COUNT(*) > 5
[ 2061, 389, 262, 6643, 6, 938, 3891, 290, 4686, 508, 550, 1367, 6028, 9911, 290, 14888, 287, 517, 621, 642, 3234, 2482, 30, 46506, 309, 16, 13, 82, 700, 480, 11, 309, 16, 13, 26230, 312, 16034, 6643, 7054, 309, 16, 32357, 1268, 6028, 301, 2840, 7054, 309, 17, 6177, 309, 16, 13, 26230, 312, 796, 309, 17, 13, 26230, 312, 44441, 11050, 309, 16, 13, 26230, 312, 367, 10116, 2751, 327, 28270, 7, 28104, 796, 1367, 17828, 4877, 9782, 33493, 309, 16, 13, 82, 700, 480, 11, 309, 16, 13, 26230, 312, 16034, 6643, 7054, 309, 16, 32357, 1268 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6643, 6, 938, 3891, 290, 4686, 508, 550, 1367, 6028, 9911, 290, 14888, 287, 517, 621, 642, 3234, 2482, 30, 46506, 309, 16, 13, 82, 700, 480, 11, 309, 16, 13, 26230, 312, 16034, 6643, 7054, 309, 16, 32357, 1268, 6028, 301, 2840, 7054, 309, 17, 6177, 309, 16, 13, 26230, 312, 796, 309, 17, 13, 26230, 312, 44441, 11050, 309, 16, 13, 26230, 312, 367, 10116, 2751, 327, 28270, 7, 28104, 796, 1367, 17828, 4877, 9782, 33493, 309, 16, 13, 82, 700, 480, 11, 309, 16, 13, 26230, 312, 16034, 6643, 7054, 309, 16, 32357, 1268 ]
What's the years that has a chassis code of W116.025 and number built was more than 150,593?
SELECT "Model Years" FROM table_66061 WHERE "No. built" > '150,593' AND "Chassis code" = 'w116.025'
[ 2061, 338, 262, 812, 326, 468, 257, 24587, 2438, 286, 370, 18298, 13, 36629, 290, 1271, 3170, 373, 517, 621, 6640, 11, 49051, 30, 46506, 366, 17633, 13212, 1, 16034, 3084, 62, 39885, 5333, 33411, 366, 2949, 13, 3170, 1, 1875, 705, 8628, 11, 49051, 6, 5357, 366, 1925, 20297, 2438, 1, 796, 705, 86, 18298, 13, 36629, 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 ]
[ 2061, 338, 262, 812, 326, 468, 257, 24587, 2438, 286, 370, 18298, 13, 36629, 290, 1271, 3170, 373, 517, 621, 6640, 11, 49051, 30, 46506, 366, 17633, 13212, 1, 16034, 3084, 62, 39885, 5333, 33411, 366, 2949, 13, 3170, 1, 1875, 705, 8628, 11, 49051, 6, 5357, 366, 1925, 20297, 2438, 1, 796, 705, 86, 18298, 13, 36629, 6 ]
Name the location that was founded 1798
SELECT location FROM table_2293402_2 WHERE founded = 1798
[ 5376, 262, 4067, 326, 373, 9393, 1596, 4089, 46506, 4067, 16034, 3084, 62, 1828, 6052, 32531, 62, 17, 33411, 9393, 796, 1596, 4089 ]
[ 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, 4067, 326, 373, 9393, 1596, 4089, 46506, 4067, 16034, 3084, 62, 1828, 6052, 32531, 62, 17, 33411, 9393, 796, 1596, 4089 ]
What was the attendance when VFL played MCG?
SELECT MAX(crowd) FROM table_name_11 WHERE venue = "mcg"
[ 2061, 373, 262, 14858, 618, 569, 3697, 2826, 13122, 38, 30, 46506, 25882, 7, 66, 3986, 8, 16034, 3084, 62, 3672, 62, 1157, 33411, 14359, 796, 366, 23209, 70, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 14858, 618, 569, 3697, 2826, 13122, 38, 30, 46506, 25882, 7, 66, 3986, 8, 16034, 3084, 62, 3672, 62, 1157, 33411, 14359, 796, 366, 23209, 70, 1 ]
count the number of patients whose ethnicity is american indian/alaska native and age is less than 63?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "AMERICAN INDIAN/ALASKA NATIVE" AND demographic.age < "63"
[ 9127, 262, 1271, 286, 3871, 3025, 26289, 318, 45630, 272, 773, 666, 14, 282, 8480, 6868, 290, 2479, 318, 1342, 621, 8093, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 38546, 414, 796, 366, 2390, 1137, 42710, 24413, 16868, 14, 1847, 1921, 25123, 10149, 9306, 1, 5357, 16728, 13, 496, 1279, 366, 5066, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 26289, 318, 45630, 272, 773, 666, 14, 282, 8480, 6868, 290, 2479, 318, 1342, 621, 8093, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 38546, 414, 796, 366, 2390, 1137, 42710, 24413, 16868, 14, 1847, 1921, 25123, 10149, 9306, 1, 5357, 16728, 13, 496, 1279, 366, 5066, 1 ]
What is Left Office, when Took Office is 2006?
SELECT left_office FROM table_name_82 WHERE took_office = "2006"
[ 2061, 318, 9578, 4452, 11, 618, 309, 566, 4452, 318, 4793, 30, 46506, 1364, 62, 31810, 16034, 3084, 62, 3672, 62, 6469, 33411, 1718, 62, 31810, 796, 366, 13330, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 9578, 4452, 11, 618, 309, 566, 4452, 318, 4793, 30, 46506, 1364, 62, 31810, 16034, 3084, 62, 3672, 62, 6469, 33411, 1718, 62, 31810, 796, 366, 13330, 1 ]
Return a bar chart about the distribution of All_Road and All_Games_Percent , sort in desc by the All_Road.
SELECT All_Road, All_Games_Percent FROM basketball_match ORDER BY All_Road DESC
[ 13615, 257, 2318, 8262, 546, 262, 6082, 286, 1439, 62, 29197, 290, 1439, 62, 24474, 62, 31905, 837, 3297, 287, 1715, 416, 262, 1439, 62, 29197, 13, 46506, 1439, 62, 29197, 11, 1439, 62, 24474, 62, 31905, 16034, 9669, 62, 15699, 38678, 11050, 1439, 62, 29197, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13615, 257, 2318, 8262, 546, 262, 6082, 286, 1439, 62, 29197, 290, 1439, 62, 24474, 62, 31905, 837, 3297, 287, 1715, 416, 262, 1439, 62, 29197, 13, 46506, 1439, 62, 29197, 11, 1439, 62, 24474, 62, 31905, 16034, 9669, 62, 15699, 38678, 11050, 1439, 62, 29197, 22196, 34 ]
Who has the high assists when 0-1 is the series?
SELECT high_assists FROM table_22871316_11 WHERE series = "0-1"
[ 8241, 468, 262, 1029, 13648, 618, 657, 12, 16, 318, 262, 2168, 30, 46506, 1029, 62, 562, 1023, 16034, 3084, 62, 1828, 5774, 1485, 1433, 62, 1157, 33411, 2168, 796, 366, 15, 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 ]
[ 8241, 468, 262, 1029, 13648, 618, 657, 12, 16, 318, 262, 2168, 30, 46506, 1029, 62, 562, 1023, 16034, 3084, 62, 1828, 5774, 1485, 1433, 62, 1157, 33411, 2168, 796, 366, 15, 12, 16, 1 ]
which type of drug is vitamin d?
SELECT prescriptions.drug_type FROM prescriptions WHERE prescriptions.drug = "Vitamin D"
[ 4758, 2099, 286, 2563, 318, 14411, 288, 30, 46506, 34092, 13, 30349, 62, 4906, 16034, 34092, 33411, 34092, 13, 30349, 796, 366, 53, 40746, 360, 1 ]
[ 1, 1, 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, 2099, 286, 2563, 318, 14411, 288, 30, 46506, 34092, 13, 30349, 62, 4906, 16034, 34092, 33411, 34092, 13, 30349, 796, 366, 53, 40746, 360, 1 ]
Which college is Kellen Davis from?
SELECT "College" FROM table_35025 WHERE "Player" = 'kellen davis'
[ 13828, 4152, 318, 25043, 268, 7802, 422, 30, 46506, 366, 38951, 1, 16034, 3084, 62, 14877, 1495, 33411, 366, 14140, 1, 796, 705, 17164, 268, 288, 23401, 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, 4152, 318, 25043, 268, 7802, 422, 30, 46506, 366, 38951, 1, 16034, 3084, 62, 14877, 1495, 33411, 366, 14140, 1, 796, 705, 17164, 268, 288, 23401, 6 ]
How many courses are in the Psychology department for each semester? Return a bar chart.
SELECT semester, COUNT(semester) FROM course AS T1 JOIN section AS T2 ON T1.course_id = T2.course_id WHERE T1.dept_name = 'Psychology' GROUP BY semester ORDER BY T1.title
[ 2437, 867, 10902, 389, 287, 262, 18430, 5011, 329, 1123, 24878, 30, 8229, 257, 2318, 8262, 13, 46506, 24878, 11, 327, 28270, 7, 325, 6880, 353, 8, 16034, 1781, 7054, 309, 16, 32357, 1268, 2665, 7054, 309, 17, 6177, 309, 16, 13, 17319, 62, 312, 796, 309, 17, 13, 17319, 62, 312, 33411, 309, 16, 13, 2934, 457, 62, 3672, 796, 705, 31923, 1435, 6, 44441, 11050, 24878, 38678, 11050, 309, 16, 13, 7839 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10902, 389, 287, 262, 18430, 5011, 329, 1123, 24878, 30, 8229, 257, 2318, 8262, 13, 46506, 24878, 11, 327, 28270, 7, 325, 6880, 353, 8, 16034, 1781, 7054, 309, 16, 32357, 1268, 2665, 7054, 309, 17, 6177, 309, 16, 13, 17319, 62, 312, 796, 309, 17, 13, 17319, 62, 312, 33411, 309, 16, 13, 2934, 457, 62, 3672, 796, 705, 31923, 1435, 6, 44441, 11050, 24878, 38678, 11050, 309, 16, 13, 7839 ]
What is the total number of Jersey #, when the Position is W, and when the Birthdate is 17 October 1932?
SELECT COUNT("Jersey #") FROM table_41474 WHERE "Position" = 'w' AND "Birthdate" = '17 october 1932'
[ 2061, 318, 262, 2472, 1271, 286, 8221, 1303, 11, 618, 262, 23158, 318, 370, 11, 290, 618, 262, 17647, 4475, 318, 1596, 3267, 32471, 30, 46506, 327, 28270, 7203, 36134, 4397, 1303, 4943, 16034, 3084, 62, 37309, 4524, 33411, 366, 26545, 1, 796, 705, 86, 6, 5357, 366, 38480, 4475, 1, 796, 705, 1558, 19318, 2023, 32471, 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 ]
[ 2061, 318, 262, 2472, 1271, 286, 8221, 1303, 11, 618, 262, 23158, 318, 370, 11, 290, 618, 262, 17647, 4475, 318, 1596, 3267, 32471, 30, 46506, 327, 28270, 7203, 36134, 4397, 1303, 4943, 16034, 3084, 62, 37309, 4524, 33411, 366, 26545, 1, 796, 705, 86, 6, 5357, 366, 38480, 4475, 1, 796, 705, 1558, 19318, 2023, 32471, 6 ]
How many total dismissals did the player for Guyana have?
SELECT MAX("Total dismissals") FROM table_29969 WHERE "Club" = 'Guyana'
[ 2437, 867, 2472, 6735, 874, 750, 262, 2137, 329, 13145, 2271, 423, 30, 46506, 25882, 7203, 14957, 6735, 874, 4943, 16034, 3084, 62, 22579, 3388, 33411, 366, 42350, 1, 796, 705, 31080, 2271, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 2472, 6735, 874, 750, 262, 2137, 329, 13145, 2271, 423, 30, 46506, 25882, 7203, 14957, 6735, 874, 4943, 16034, 3084, 62, 22579, 3388, 33411, 366, 42350, 1, 796, 705, 31080, 2271, 6 ]
What was the score when Sydney Spirit was the home team?
SELECT "Score" FROM table_49257 WHERE "Home team" = 'sydney spirit'
[ 2061, 373, 262, 4776, 618, 11852, 7710, 373, 262, 1363, 1074, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 2920, 28676, 33411, 366, 16060, 1074, 1, 796, 705, 1837, 67, 1681, 4437, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 4776, 618, 11852, 7710, 373, 262, 1363, 1074, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 2920, 28676, 33411, 366, 16060, 1074, 1, 796, 705, 1837, 67, 1681, 4437, 6 ]
Which 2005 06 Pts has a Team of estudiantes (lp), and a 2006 07 Pts smaller than 81?
SELECT COUNT("2005\u201306 Pts") FROM table_13020 WHERE "Team" = 'estudiantes (lp)' AND "2006\u201307 Pts" < '81'
[ 13828, 5075, 9130, 350, 912, 468, 257, 4816, 286, 1556, 463, 3014, 274, 357, 34431, 828, 290, 257, 4793, 8753, 350, 912, 4833, 621, 9773, 30, 46506, 327, 28270, 7203, 14315, 59, 84, 1264, 20548, 350, 912, 4943, 16034, 3084, 62, 12952, 1238, 33411, 366, 15592, 1, 796, 705, 395, 463, 3014, 274, 357, 34431, 33047, 5357, 366, 13330, 59, 84, 1264, 22996, 350, 912, 1, 1279, 705, 6659, 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 ]
[ 13828, 5075, 9130, 350, 912, 468, 257, 4816, 286, 1556, 463, 3014, 274, 357, 34431, 828, 290, 257, 4793, 8753, 350, 912, 4833, 621, 9773, 30, 46506, 327, 28270, 7203, 14315, 59, 84, 1264, 20548, 350, 912, 4943, 16034, 3084, 62, 12952, 1238, 33411, 366, 15592, 1, 796, 705, 395, 463, 3014, 274, 357, 34431, 33047, 5357, 366, 13330, 59, 84, 1264, 22996, 350, 912, 1, 1279, 705, 6659, 6 ]
Reputated users with posts containing specific tags.
SELECT COUNT(DISTINCT u.Id) FROM Posts AS p LEFT JOIN Users AS u ON p.OwnerUserId = u.Id WHERE p.PostTypeId = 1 AND (p.Tags LIKE '%<##tag?Python##>%' OR p.Tags LIKE '%<##tag2?Flask##>%') AND u.Reputation >= '##rep:int##'
[ 6207, 315, 515, 2985, 351, 6851, 7268, 2176, 15940, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 334, 13, 7390, 8, 16034, 12043, 7054, 279, 12509, 9792, 32357, 1268, 18987, 7054, 334, 6177, 279, 13, 42419, 12982, 7390, 796, 334, 13, 7390, 33411, 279, 13, 6307, 6030, 7390, 796, 352, 5357, 357, 79, 13, 36142, 34178, 705, 4, 27, 2235, 12985, 30, 37906, 2235, 29, 4, 6, 6375, 279, 13, 36142, 34178, 705, 4, 27, 2235, 12985, 17, 30, 7414, 2093, 2235, 29, 4, 11537, 5357, 334, 13, 6207, 7094, 18189, 705, 2235, 7856, 25, 600, 2235, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 6207, 315, 515, 2985, 351, 6851, 7268, 2176, 15940, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 334, 13, 7390, 8, 16034, 12043, 7054, 279, 12509, 9792, 32357, 1268, 18987, 7054, 334, 6177, 279, 13, 42419, 12982, 7390, 796, 334, 13, 7390, 33411, 279, 13, 6307, 6030, 7390, 796, 352, 5357, 357, 79, 13, 36142, 34178, 705, 4, 27, 2235, 12985, 30, 37906, 2235, 29, 4, 6, 6375, 279, 13, 36142, 34178, 705, 4, 27, 2235, 12985, 17, 30, 7414, 2093, 2235, 29, 4, 11537, 5357, 334, 13, 6207, 7094, 18189, 705, 2235, 7856, 25, 600, 2235, 6 ]
for the last time during this year, when did patient 31306 get admitted via emergency room admit to the hospital?
SELECT admissions.admittime FROM admissions WHERE admissions.subject_id = 31306 AND admissions.admission_location = 'emergency room admit' AND DATETIME(admissions.admittime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') ORDER BY admissions.admittime DESC LIMIT 1
[ 1640, 262, 938, 640, 1141, 428, 614, 11, 618, 750, 5827, 3261, 20548, 651, 6848, 2884, 6334, 2119, 9159, 284, 262, 4436, 30, 46506, 25349, 13, 324, 20124, 524, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 3261, 20548, 5357, 25349, 13, 324, 3411, 62, 24886, 796, 705, 24677, 4949, 2119, 9159, 6, 5357, 360, 1404, 2767, 12789, 7, 324, 8481, 13, 324, 20124, 524, 11, 705, 9688, 286, 614, 11537, 796, 360, 1404, 2767, 12789, 7, 34, 39237, 62, 34694, 22784, 705, 9688, 286, 614, 3256, 705, 12, 15, 614, 11537, 38678, 11050, 25349, 13, 324, 20124, 524 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1640, 262, 938, 640, 1141, 428, 614, 11, 618, 750, 5827, 3261, 20548, 651, 6848, 2884, 6334, 2119, 9159, 284, 262, 4436, 30, 46506, 25349, 13, 324, 20124, 524, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 3261, 20548, 5357, 25349, 13, 324, 3411, 62, 24886, 796, 705, 24677, 4949, 2119, 9159, 6, 5357, 360, 1404, 2767, 12789, 7, 324, 8481, 13, 324, 20124, 524, 11, 705, 9688, 286, 614, 11537, 796, 360, 1404, 2767, 12789, 7, 34, 39237, 62, 34694, 22784, 705, 9688, 286, 614, 3256, 705, 12, 15, 614, 11537, 38678, 11050, 25349, 13, 324, 20124, 524 ]
How many rounds were played on May 8?
SELECT COUNT(round) FROM table_25773116_2 WHERE date = "May 8"
[ 2437, 867, 9196, 547, 2826, 319, 1737, 807, 30, 46506, 327, 28270, 7, 744, 8, 16034, 3084, 62, 1495, 46871, 18298, 62, 17, 33411, 3128, 796, 366, 6747, 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 ]
[ 2437, 867, 9196, 547, 2826, 319, 1737, 807, 30, 46506, 327, 28270, 7, 744, 8, 16034, 3084, 62, 1495, 46871, 18298, 62, 17, 33411, 3128, 796, 366, 6747, 807, 1 ]
For those employees who did not have any job in the past, return a scatter chart about the correlation between salary and manager_id .
SELECT SALARY, 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, 1441, 257, 41058, 8262, 546, 262, 16096, 1022, 9588, 290, 4706, 62, 312, 764, 46506, 42475, 13153, 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 ]
[ 1890, 883, 4409, 508, 750, 407, 423, 597, 1693, 287, 262, 1613, 11, 1441, 257, 41058, 8262, 546, 262, 16096, 1022, 9588, 290, 4706, 62, 312, 764, 46506, 42475, 13153, 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 ]
Number of posts by tags in Year 2016.
SELECT num.TagName AS Tag, ROW_NUMBER() OVER (ORDER BY rate.Rate DESC) AS YearRank, ROW_NUMBER() OVER (ORDER BY num.Num DESC) AS TotalRank, rate.Rate AS Questions, num.Num AS QuestionsTotal FROM (SELECT COUNT(PostId) AS Rate, TagName FROM Tags, PostTags, Posts WHERE Tags.Id = PostTags.TagId AND Posts.Id = PostId AND Tags.Id = 79466 AND Posts.CreationDate < '2016-06-01' AND Posts.CreationDate > '2016-05-16' GROUP BY TagName) AS rate INNER JOIN (SELECT COUNT(PostId) AS Num, TagName FROM Tags, PostTags, Posts WHERE Tags.Id = PostTags.TagId AND Posts.Id = PostId GROUP BY TagName HAVING COUNT(PostId) > 800) AS num ON rate.TagName = num.TagName ORDER BY rate.rate DESC
[ 15057, 286, 6851, 416, 15940, 287, 6280, 1584, 13, 46506, 997, 13, 24835, 5376, 7054, 17467, 11, 371, 3913, 62, 41359, 13246, 3419, 28729, 357, 12532, 1137, 11050, 2494, 13, 32184, 22196, 34, 8, 7054, 6280, 27520, 11, 371, 3913, 62, 41359, 13246, 3419, 28729, 357, 12532, 1137, 11050, 997, 13, 33111, 22196, 34, 8, 7054, 7472, 27520, 11, 2494, 13, 32184, 7054, 20396, 11, 997, 13, 33111, 7054, 20396, 14957, 16034, 357, 46506, 327, 28270, 7, 6307, 7390, 8, 7054, 14806, 11, 17467, 5376, 16034, 44789, 11, 2947, 36142, 11, 12043, 33411, 44789, 13, 7390, 796, 2947, 36142, 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 ]
[ 15057, 286, 6851, 416, 15940, 287, 6280, 1584, 13, 46506, 997, 13, 24835, 5376, 7054, 17467, 11, 371, 3913, 62, 41359, 13246, 3419, 28729, 357, 12532, 1137, 11050, 2494, 13, 32184, 22196, 34, 8, 7054, 6280, 27520, 11, 371, 3913, 62, 41359, 13246, 3419, 28729, 357, 12532, 1137, 11050, 997, 13, 33111, 22196, 34, 8, 7054, 7472, 27520, 11, 2494, 13, 32184, 7054, 20396, 11, 997, 13, 33111, 7054, 20396, 14957, 16034, 357, 46506, 327, 28270, 7, 6307, 7390, 8, 7054, 14806, 11, 17467, 5376, 16034, 44789, 11, 2947, 36142, 11, 12043, 33411, 44789, 13, 7390, 796, 2947, 36142, 13 ]
What place had a score of 71-70-73-71=285?
SELECT "Place" FROM table_50350 WHERE "Score" = '71-70-73-71=285'
[ 2061, 1295, 550, 257, 4776, 286, 9166, 12, 2154, 12, 4790, 12, 4869, 28, 26279, 30, 46506, 366, 27271, 1, 16034, 3084, 62, 1120, 14877, 33411, 366, 26595, 1, 796, 705, 4869, 12, 2154, 12, 4790, 12, 4869, 28, 26279, 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, 1295, 550, 257, 4776, 286, 9166, 12, 2154, 12, 4790, 12, 4869, 28, 26279, 30, 46506, 366, 27271, 1, 16034, 3084, 62, 1120, 14877, 33411, 366, 26595, 1, 796, 705, 4869, 12, 2154, 12, 4790, 12, 4869, 28, 26279, 6 ]
What is the lowest decile that Ohau School has?
SELECT MIN(decile) FROM table_name_10 WHERE name = "ohau school"
[ 2061, 318, 262, 9016, 875, 576, 326, 3966, 559, 3961, 468, 30, 46506, 20625, 7, 12501, 576, 8, 16034, 3084, 62, 3672, 62, 940, 33411, 1438, 796, 366, 1219, 559, 1524, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 9016, 875, 576, 326, 3966, 559, 3961, 468, 30, 46506, 20625, 7, 12501, 576, 8, 16034, 3084, 62, 3672, 62, 940, 33411, 1438, 796, 366, 1219, 559, 1524, 1 ]
provide the number of patients whose admission type is elective and days of hospital stay is greater than 9?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_type = "ELECTIVE" AND demographic.days_stay > "9"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 13938, 2099, 318, 1742, 425, 290, 1528, 286, 4436, 2652, 318, 3744, 621, 860, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, 4906, 796, 366, 36, 16779, 9306, 1, 5357, 16728, 13, 12545, 62, 31712, 1875, 366, 24, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2099, 318, 1742, 425, 290, 1528, 286, 4436, 2652, 318, 3744, 621, 860, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, 4906, 796, 366, 36, 16779, 9306, 1, 5357, 16728, 13, 12545, 62, 31712, 1875, 366, 24, 1 ]
number of answers per month.
SELECT CAST(TIME_TO_STR(CreationDate, '%Y-%m-%d %H:%M:%S') AS TEXT(7)) AS date, COUNT(1) AS answers FROM Posts WHERE PostTypeId = 2 GROUP BY CAST(TIME_TO_STR(CreationDate, '%Y-%m-%d %H:%M:%S') AS TEXT(7)) ORDER BY date
[ 17618, 286, 7429, 583, 1227, 13, 46506, 327, 11262, 7, 34694, 62, 10468, 62, 18601, 7, 12443, 341, 10430, 11, 705, 4, 56, 12, 4, 76, 12, 4, 67, 4064, 39, 25, 4, 44, 25, 4, 50, 11537, 7054, 40383, 7, 22, 4008, 7054, 3128, 11, 327, 28270, 7, 16, 8, 7054, 7429, 16034, 12043, 33411, 2947, 6030, 7390, 796, 362, 44441, 11050, 327, 11262, 7, 34694, 62, 10468, 62, 18601, 7, 12443, 341, 10430, 11, 705, 4, 56, 12, 4, 76, 12, 4, 67, 4064, 39, 25, 4, 44, 25, 4, 50, 11537, 7054, 40383, 7, 22, 4008, 38678 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 17618, 286, 7429, 583, 1227, 13, 46506, 327, 11262, 7, 34694, 62, 10468, 62, 18601, 7, 12443, 341, 10430, 11, 705, 4, 56, 12, 4, 76, 12, 4, 67, 4064, 39, 25, 4, 44, 25, 4, 50, 11537, 7054, 40383, 7, 22, 4008, 7054, 3128, 11, 327, 28270, 7, 16, 8, 7054, 7429, 16034, 12043, 33411, 2947, 6030, 7390, 796, 362, 44441, 11050, 327, 11262, 7, 34694, 62, 10468, 62, 18601, 7, 12443, 341, 10430, 11, 705, 4, 56, 12, 4, 76, 12, 4, 67, 4064, 39, 25, 4, 44, 25, 4, 50, 11537, 7054, 40383, 7, 22, 4008, 38678 ]
what is the name of the only c mill located in colney health ?
SELECT "name of mill and\ngrid reference" FROM table_204_929 WHERE "location" = 'colney heath'
[ 10919, 318, 262, 1438, 286, 262, 691, 269, 3939, 5140, 287, 951, 1681, 1535, 5633, 46506, 366, 3672, 286, 3939, 290, 59, 782, 6058, 4941, 1, 16034, 3084, 62, 18638, 62, 24, 1959, 33411, 366, 24886, 1, 796, 705, 4033, 1681, 339, 776, 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 ]
[ 10919, 318, 262, 1438, 286, 262, 691, 269, 3939, 5140, 287, 951, 1681, 1535, 5633, 46506, 366, 3672, 286, 3939, 290, 59, 782, 6058, 4941, 1, 16034, 3084, 62, 18638, 62, 24, 1959, 33411, 366, 24886, 1, 796, 705, 4033, 1681, 339, 776, 6 ]
What is the Score of Stewart Cink with a To par of +4?
SELECT score FROM table_name_50 WHERE to_par = "+4" AND player = "stewart cink"
[ 2061, 318, 262, 15178, 286, 13671, 327, 676, 351, 257, 1675, 1582, 286, 1343, 19, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 1120, 33411, 284, 62, 1845, 796, 43825, 19, 1, 5357, 2137, 796, 366, 301, 413, 433, 269, 676, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 15178, 286, 13671, 327, 676, 351, 257, 1675, 1582, 286, 1343, 19, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 1120, 33411, 284, 62, 1845, 796, 43825, 19, 1, 5357, 2137, 796, 366, 301, 413, 433, 269, 676, 1 ]
Show me the total number of the flag of ships that are not steered by any captain with Midshipman rank using a bar graph, display from high to low by the Y-axis.
SELECT Flag, COUNT(Flag) FROM Ship WHERE NOT Ship_ID IN (SELECT Ship_ID FROM captain WHERE Rank = 'Midshipman') GROUP BY Flag ORDER BY COUNT(Flag) DESC
[ 15307, 502, 262, 2472, 1271, 286, 262, 6056, 286, 7937, 326, 389, 407, 49300, 416, 597, 10654, 351, 337, 2340, 1056, 805, 4279, 1262, 257, 2318, 4823, 11, 3359, 422, 1029, 284, 1877, 416, 262, 575, 12, 22704, 13, 46506, 19762, 11, 327, 28270, 7, 34227, 8, 16034, 16656, 33411, 5626, 16656, 62, 2389, 3268, 357, 46506, 16656, 62, 2389, 16034, 10654, 33411, 10916, 796, 705, 44, 2340, 1056, 805, 11537, 44441, 11050, 19762, 38678, 11050, 327, 28270, 7, 34227, 8, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 502, 262, 2472, 1271, 286, 262, 6056, 286, 7937, 326, 389, 407, 49300, 416, 597, 10654, 351, 337, 2340, 1056, 805, 4279, 1262, 257, 2318, 4823, 11, 3359, 422, 1029, 284, 1877, 416, 262, 575, 12, 22704, 13, 46506, 19762, 11, 327, 28270, 7, 34227, 8, 16034, 16656, 33411, 5626, 16656, 62, 2389, 3268, 357, 46506, 16656, 62, 2389, 16034, 10654, 33411, 10916, 796, 705, 44, 2340, 1056, 805, 11537, 44441, 11050, 19762, 38678, 11050, 327, 28270, 7, 34227, 8, 22196, 34 ]
Who is the away side that scores 9.8 (62)?
SELECT "Away team" FROM table_33574 WHERE "Away team score" = '9.8 (62)'
[ 8241, 318, 262, 1497, 1735, 326, 8198, 860, 13, 23, 357, 5237, 19427, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 2091, 46900, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 24, 13, 23, 357, 5237, 33047 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 318, 262, 1497, 1735, 326, 8198, 860, 13, 23, 357, 5237, 19427, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 2091, 46900, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 24, 13, 23, 357, 5237, 33047 ]
provide the admission location and procedure name for subject id 7273.
SELECT demographic.admission_location, procedures.long_title FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.subject_id = "7273"
[ 15234, 485, 262, 13938, 4067, 290, 8771, 1438, 329, 2426, 4686, 767, 27367, 13, 46506, 16728, 13, 324, 3411, 62, 24886, 11, 9021, 13, 6511, 62, 7839, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, 13, 18108, 76, 62, 312, 796, 9021, 13, 18108, 76, 62, 312, 33411, 16728, 13, 32796, 62, 312, 796, 366, 22, 27367, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13938, 4067, 290, 8771, 1438, 329, 2426, 4686, 767, 27367, 13, 46506, 16728, 13, 324, 3411, 62, 24886, 11, 9021, 13, 6511, 62, 7839, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, 13, 18108, 76, 62, 312, 796, 9021, 13, 18108, 76, 62, 312, 33411, 16728, 13, 32796, 62, 312, 796, 366, 22, 27367, 1 ]
What is the sum of silvers for teams with ranks over 3 and totals under 2?
SELECT SUM(silver) FROM table_name_98 WHERE rank > 3 AND total < 2
[ 2061, 318, 262, 2160, 286, 3313, 690, 329, 3466, 351, 9803, 625, 513, 290, 26310, 739, 362, 30, 46506, 35683, 7, 40503, 8, 16034, 3084, 62, 3672, 62, 4089, 33411, 4279, 1875, 513, 5357, 2472, 1279, 362 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2160, 286, 3313, 690, 329, 3466, 351, 9803, 625, 513, 290, 26310, 739, 362, 30, 46506, 35683, 7, 40503, 8, 16034, 3084, 62, 3672, 62, 4089, 33411, 4279, 1875, 513, 5357, 2472, 1279, 362 ]
On what date did the Rockets play Memphis?
SELECT "Date" FROM table_72868 WHERE "Team" = 'Memphis'
[ 2202, 644, 3128, 750, 262, 23328, 711, 20522, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 48524, 3104, 33411, 366, 15592, 1, 796, 705, 13579, 18691, 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 ]
[ 2202, 644, 3128, 750, 262, 23328, 711, 20522, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 48524, 3104, 33411, 366, 15592, 1, 796, 705, 13579, 18691, 6 ]
Who was the opponent in Week 8?
SELECT opponent FROM table_24814477_2 WHERE week = 8
[ 8241, 373, 262, 6125, 287, 6119, 807, 30, 46506, 6125, 16034, 3084, 62, 23045, 1415, 32883, 62, 17, 33411, 1285, 796, 807 ]
[ 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, 287, 6119, 807, 30, 46506, 6125, 16034, 3084, 62, 23045, 1415, 32883, 62, 17, 33411, 1285, 796, 807 ]
When was patient id 17519 admitted? Specify the time and location.
SELECT demographic.admission_location, demographic.admittime FROM demographic WHERE demographic.subject_id = "17519"
[ 2215, 373, 5827, 4686, 19038, 1129, 6848, 30, 18291, 1958, 262, 640, 290, 4067, 13, 46506, 16728, 13, 324, 3411, 62, 24886, 11, 16728, 13, 324, 20124, 524, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 17430, 1129, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 373, 5827, 4686, 19038, 1129, 6848, 30, 18291, 1958, 262, 640, 290, 4067, 13, 46506, 16728, 13, 324, 3411, 62, 24886, 11, 16728, 13, 324, 20124, 524, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 17430, 1129, 1 ]
For those records from the products and each product's manufacturer, return a bar chart about the distribution of headquarter and the average of code , and group by attribute headquarter, sort x-axis from low to high order.
SELECT T2.Headquarter, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Headquarter ORDER BY T2.Headquarter
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 1441, 257, 2318, 8262, 546, 262, 6082, 286, 1182, 24385, 290, 262, 2811, 286, 2438, 837, 290, 1448, 416, 11688, 1182, 24385, 11, 3297, 2124, 12, 22704, 422, 1877, 284, 1029, 1502, 13, 46506, 309, 17, 13, 13847, 24385, 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, 13847, 24385, 38678, 11050, 309, 17, 13, 13847, 24385 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1441, 257, 2318, 8262, 546, 262, 6082, 286, 1182, 24385, 290, 262, 2811, 286, 2438, 837, 290, 1448, 416, 11688, 1182, 24385, 11, 3297, 2124, 12, 22704, 422, 1877, 284, 1029, 1502, 13, 46506, 309, 17, 13, 13847, 24385, 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, 13847, 24385, 38678, 11050, 309, 17, 13, 13847, 24385 ]
what is admission location and procedure long title of subject id 2560?
SELECT demographic.admission_location, procedures.long_title FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.subject_id = "2560"
[ 10919, 318, 13938, 4067, 290, 8771, 890, 3670, 286, 2426, 4686, 1679, 1899, 30, 46506, 16728, 13, 324, 3411, 62, 24886, 11, 9021, 13, 6511, 62, 7839, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, 13, 18108, 76, 62, 312, 796, 9021, 13, 18108, 76, 62, 312, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 13938, 4067, 290, 8771, 890, 3670, 286, 2426, 4686, 1679, 1899, 30, 46506, 16728, 13, 324, 3411, 62, 24886, 11, 9021, 13, 6511, 62, 7839, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, 13, 18108, 76, 62, 312, 796, 9021, 13, 18108, 76, 62, 312, 33411, 16728, 13, 32796, 62, 312, 796, 366, 1495, 1899, 1 ]
What is the swimsuit number when the preliminary is 8.721, and the average is more than 8.781?
SELECT COUNT("Swimsuit") FROM table_48254 WHERE "Preliminary" = '8.721' AND "Average" > '8.781'
[ 2061, 318, 262, 9422, 6063, 1271, 618, 262, 15223, 318, 807, 13, 22, 2481, 11, 290, 262, 2811, 318, 517, 621, 807, 13, 49703, 30, 46506, 327, 28270, 7203, 10462, 320, 6063, 4943, 16034, 3084, 62, 2780, 24970, 33411, 366, 47, 2411, 38429, 1, 796, 705, 23, 13, 22, 2481, 6, 5357, 366, 26287, 1, 1875, 705, 23, 13, 49703, 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 ]
[ 2061, 318, 262, 9422, 6063, 1271, 618, 262, 15223, 318, 807, 13, 22, 2481, 11, 290, 262, 2811, 318, 517, 621, 807, 13, 49703, 30, 46506, 327, 28270, 7203, 10462, 320, 6063, 4943, 16034, 3084, 62, 2780, 24970, 33411, 366, 47, 2411, 38429, 1, 796, 705, 23, 13, 22, 2481, 6, 5357, 366, 26287, 1, 1875, 705, 23, 13, 49703, 6 ]
what's the first elected with candidates being joe starnes (d) 100.0% george bogus ( w/i ) 0.003%
SELECT first_elected FROM table_1342270_3 WHERE candidates = "Joe Starnes (D) 100.0% George Bogus ( W/I ) 0.003%"
[ 10919, 338, 262, 717, 7018, 351, 5871, 852, 2525, 68, 336, 1501, 274, 357, 67, 8, 1802, 13, 15, 4, 4903, 3643, 33418, 357, 266, 14, 72, 1267, 657, 13, 11245, 4, 46506, 717, 62, 28604, 16034, 3084, 62, 19880, 1828, 2154, 62, 18, 33411, 5871, 796, 366, 19585, 520, 1501, 274, 357, 35, 8, 1802, 13, 15, 4, 4502, 21555, 385, 357, 370, 14, 40, 1267, 657, 13, 11245, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 338, 262, 717, 7018, 351, 5871, 852, 2525, 68, 336, 1501, 274, 357, 67, 8, 1802, 13, 15, 4, 4903, 3643, 33418, 357, 266, 14, 72, 1267, 657, 13, 11245, 4, 46506, 717, 62, 28604, 16034, 3084, 62, 19880, 1828, 2154, 62, 18, 33411, 5871, 796, 366, 19585, 520, 1501, 274, 357, 35, 8, 1802, 13, 15, 4, 4502, 21555, 385, 357, 370, 14, 40, 1267, 657, 13, 11245, 39658 ]
which player played in the least games ?
SELECT "name" FROM table_204_292 ORDER BY "games" LIMIT 1
[ 4758, 2137, 2826, 287, 262, 1551, 1830, 5633, 46506, 366, 3672, 1, 16034, 3084, 62, 18638, 62, 32759, 38678, 11050, 366, 19966, 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 ]
[ 4758, 2137, 2826, 287, 262, 1551, 1830, 5633, 46506, 366, 3672, 1, 16034, 3084, 62, 18638, 62, 32759, 38678, 11050, 366, 19966, 1, 27564, 2043, 352 ]
Who won Mixed doubles the year that Pablo Abian won Men's singles?
SELECT "Mixed doubles" FROM table_70107 WHERE "Men's singles" = 'pablo abian'
[ 8241, 1839, 35250, 21938, 262, 614, 326, 33185, 2275, 666, 1839, 6065, 338, 25287, 30, 46506, 366, 44, 2966, 21938, 1, 16034, 3084, 62, 41583, 2998, 33411, 366, 10418, 338, 25287, 1, 796, 705, 79, 18817, 450, 666, 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 ]
[ 8241, 1839, 35250, 21938, 262, 614, 326, 33185, 2275, 666, 1839, 6065, 338, 25287, 30, 46506, 366, 44, 2966, 21938, 1, 16034, 3084, 62, 41583, 2998, 33411, 366, 10418, 338, 25287, 1, 796, 705, 79, 18817, 450, 666, 6 ]