instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
Most popular StackOverflow tags in 2013.
SELECT num.TagName AS Tag, ROW_NUMBER() OVER (ORDER BY rate.Rate DESC) AS MayRank, ROW_NUMBER() OVER (ORDER BY num.Num DESC) AS TotalRank, rate.Rate AS QuestionsIn2013, num.Num AS QuestionsTotal FROM (SELECT COUNT(PostId) AS Rate, TagName FROM Tags, PostTags, Posts WHERE Tags.Id = PostTags.TagId AND Posts.Id = PostId A...
[ 6943, 2968, 23881, 5886, 11125, 15940, 287, 2211, 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, 1737, 27520, 11, 371, 3913, 62, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 6943, 2968, 23881, 5886, 11125, 15940, 287, 2211, 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, 1737, 27520, 11, 371, 3913, 62, ...
What was the overall draft pick of the player who was a db and attended college in iowa?
SELECT "Overall" FROM table_50556 WHERE "College" = 'iowa' AND "Position" = 'db'
[ 2061, 373, 262, 4045, 4538, 2298, 286, 262, 2137, 508, 373, 257, 20613, 290, 9141, 4152, 287, 1312, 8455, 30, 46506, 366, 16350, 1, 16034, 3084, 62, 1120, 37864, 33411, 366, 38951, 1, 796, 705, 72, 8455, 6, 5357, 366, 26545, 1, 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 ]
[ 2061, 373, 262, 4045, 4538, 2298, 286, 262, 2137, 508, 373, 257, 20613, 290, 9141, 4152, 287, 1312, 8455, 30, 46506, 366, 16350, 1, 16034, 3084, 62, 1120, 37864, 33411, 366, 38951, 1, 796, 705, 72, 8455, 6, 5357, 366, 26545, 1, 796,...
Get questions with long titles.
SELECT Score, Id AS "post_link" FROM Posts WHERE (LENGTH(Title) >= 100) AND (@Tag IS NULL OR STR_POSITION(Tags, @Tag) > 0) ORDER BY Score DESC LIMIT 25
[ 3855, 2683, 351, 890, 8714, 13, 46506, 15178, 11, 5121, 7054, 366, 7353, 62, 8726, 1, 16034, 12043, 33411, 357, 43, 49494, 7, 19160, 8, 18189, 1802, 8, 5357, 4275, 24835, 3180, 15697, 6375, 19269, 62, 37997, 17941, 7, 36142, 11, 2488,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 3855, 2683, 351, 890, 8714, 13, 46506, 15178, 11, 5121, 7054, 366, 7353, 62, 8726, 1, 16034, 12043, 33411, 357, 43, 49494, 7, 19160, 8, 18189, 1802, 8, 5357, 4275, 24835, 3180, 15697, 6375, 19269, 62, 37997, 17941, 7, 36142, 11, 2488,...
did patient 006-116961 have a less hct value last measured on the first hospital visit than the second to last value measured on the first hospital visit?
SELECT (SELECT lab.labresult FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-116961' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hosp...
[ 20839, 5827, 3571, 21, 12, 1157, 3388, 5333, 423, 257, 1342, 289, 310, 1988, 938, 8630, 319, 262, 717, 4436, 3187, 621, 262, 1218, 284, 938, 1988, 8630, 319, 262, 717, 4436, 3187, 30, 46506, 357, 46506, 2248, 13, 23912, 20274, 16034, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 20839, 5827, 3571, 21, 12, 1157, 3388, 5333, 423, 257, 1342, 289, 310, 1988, 938, 8630, 319, 262, 717, 4436, 3187, 621, 262, 1218, 284, 938, 1988, 8630, 319, 262, 717, 4436, 3187, 30, 46506, 357, 46506, 2248, 13, 23912, 20274, 16034, ...
Whats the age demographic per tag?. I tried to make this accept the tag as a parameter but I kepy getting an error.
SELECT TagName, COUNT(TagName) AS TagsPerAge, Age FROM Tags INNER JOIN PostTags ON PostTags.TagId = Tags.Id INNER JOIN Posts ON Posts.ParentId = PostTags.PostId INNER JOIN Users ON Users.Id = Posts.OwnerUserId WHERE TagName = 'php' AND age > 0 GROUP BY Age, TagName ORDER BY TagsPerAge DESC
[ 1199, 1381, 262, 2479, 16728, 583, 7621, 30, 13, 314, 3088, 284, 787, 428, 2453, 262, 7621, 355, 257, 198, 17143, 2357, 475, 314, 885, 9078, 1972, 281, 4049, 13, 46506, 17467, 5376, 11, 327, 28270, 7, 24835, 5376, 8, 7054, 44789, 59...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1199, 1381, 262, 2479, 16728, 583, 7621, 30, 13, 314, 3088, 284, 787, 428, 2453, 262, 7621, 355, 257, 198, 17143, 2357, 475, 314, 885, 9078, 1972, 281, 4049, 13, 46506, 17467, 5376, 11, 327, 28270, 7, 24835, 5376, 8, 7054, 44789, 59...
On what date did the person leave office who died on October 23, 1887 and who served 2 years?
SELECT "Left Office" FROM table_8046 WHERE "Years in office" = '2' AND "Death" = 'october 23, 1887'
[ 2202, 644, 3128, 750, 262, 1048, 2666, 2607, 508, 3724, 319, 3267, 2242, 11, 1248, 5774, 290, 508, 4983, 362, 812, 30, 46506, 366, 18819, 4452, 1, 16034, 3084, 62, 1795, 3510, 33411, 366, 40630, 287, 2607, 1, 796, 705, 17, 6, 5357, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2202, 644, 3128, 750, 262, 1048, 2666, 2607, 508, 3724, 319, 3267, 2242, 11, 1248, 5774, 290, 508, 4983, 362, 812, 30, 46506, 366, 18819, 4452, 1, 16034, 3084, 62, 1795, 3510, 33411, 366, 40630, 287, 2607, 1, 796, 705, 17, 6, 5357, ...
What is the medal total when there is 2 gold medals, and Brazil (BRA) is the nation?
SELECT total FROM table_name_2 WHERE gold = 2 AND nation = "brazil (bra)"
[ 2061, 318, 262, 18279, 2472, 618, 612, 318, 362, 3869, 28057, 11, 290, 7595, 357, 33, 3861, 8, 318, 262, 3277, 30, 46506, 2472, 16034, 3084, 62, 3672, 62, 17, 33411, 3869, 796, 362, 5357, 3277, 796, 366, 65, 7098, 357, 16057, 16725 ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 18279, 2472, 618, 612, 318, 362, 3869, 28057, 11, 290, 7595, 357, 33, 3861, 8, 318, 262, 3277, 30, 46506, 2472, 16034, 3084, 62, 3672, 62, 17, 33411, 3869, 796, 362, 5357, 3277, 796, 366, 65, 7098, 357, 16057, 16725 ...
IN EVENTS 1995 STOH, WHO WAS THE THIRD WITH SKIP SANDRA PETERSON AND SECOND JOAN MCCUSKER?
SELECT third FROM table_name_52 WHERE skip = "sandra peterson" AND second = "joan mccusker" AND events = "1995 stoh"
[ 1268, 22399, 8735, 3563, 12096, 11, 19494, 21725, 3336, 2320, 46833, 13315, 14277, 4061, 311, 6981, 3861, 32043, 29086, 5357, 10729, 18672, 32357, 1565, 337, 4093, 2937, 42839, 30, 46506, 2368, 16034, 3084, 62, 3672, 62, 4309, 33411, 14267,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1268, 22399, 8735, 3563, 12096, 11, 19494, 21725, 3336, 2320, 46833, 13315, 14277, 4061, 311, 6981, 3861, 32043, 29086, 5357, 10729, 18672, 32357, 1565, 337, 4093, 2937, 42839, 30, 46506, 2368, 16034, 3084, 62, 3672, 62, 4309, 33411, 14267,...
What was the Loss when the opponent was the Rangers and the attendance was greater than 43,211?
SELECT loss FROM table_name_57 WHERE opponent = "rangers" AND attendance > 43 OFFSET 211
[ 2061, 373, 262, 22014, 618, 262, 6125, 373, 262, 13804, 290, 262, 14858, 373, 3744, 621, 5946, 11, 21895, 30, 46506, 2994, 16034, 3084, 62, 3672, 62, 3553, 33411, 6125, 796, 366, 81, 6606, 1, 5357, 14858, 1875, 5946, 3963, 10652, 2767...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 22014, 618, 262, 6125, 373, 262, 13804, 290, 262, 14858, 373, 3744, 621, 5946, 11, 21895, 30, 46506, 2994, 16034, 3084, 62, 3672, 62, 3553, 33411, 6125, 796, 366, 81, 6606, 1, 5357, 14858, 1875, 5946, 3963, 10652, 2767...
what is the diagnosis code and diagnosis long title for the patient francis baseler?
SELECT diagnoses.icd9_code, diagnoses.long_title FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.name = "Francis Baseler"
[ 10919, 318, 262, 13669, 2438, 290, 13669, 890, 3670, 329, 262, 5827, 46754, 271, 1615, 417, 263, 30, 46506, 40567, 13, 291, 67, 24, 62, 8189, 11, 40567, 13, 6511, 62, 7839, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13669, 2438, 290, 13669, 890, 3670, 329, 262, 5827, 46754, 271, 1615, 417, 263, 30, 46506, 40567, 13, 291, 67, 24, 62, 8189, 11, 40567, 13, 6511, 62, 7839, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 1...
Average answer length per user > 10K rep..
SELECT u.Id AS "user_link", COUNT(*) AS "answer_count", MIN(LENGTH(p.Body)) AS "min", AVG(LENGTH(p.Body)) AS "average", MAX(LENGTH(p.Body)) AS "max", VAR(LENGTH(p.Body)) AS "variance", STDEV(LENGTH(p.Body)) AS "stdev" FROM Users AS u, Posts AS p WHERE p.OwnerUserId = '##UserID##' AND p.PostTypeId = 2 AND u.Reputation >...
[ 26287, 3280, 4129, 583, 2836, 1875, 838, 42, 1128, 492, 46506, 334, 13, 7390, 7054, 366, 7220, 62, 8726, 1600, 327, 28270, 7, 28104, 7054, 366, 41484, 62, 9127, 1600, 20625, 7, 43, 49494, 7, 79, 13, 25842, 4008, 7054, 366, 1084, 160...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 26287, 3280, 4129, 583, 2836, 1875, 838, 42, 1128, 492, 46506, 334, 13, 7390, 7054, 366, 7220, 62, 8726, 1600, 327, 28270, 7, 28104, 7054, 366, 41484, 62, 9127, 1600, 20625, 7, 43, 49494, 7, 79, 13, 25842, 4008, 7054, 366, 1084, 160...
i need one FIRST class ticket from DALLAS FORT WORTH to 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, fare, fare_basis, flight, flight_fare WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SAN FRANCISCO' AND fare_basis.class_type = 'FIRST' AND far...
[ 72, 761, 530, 31328, 1398, 7846, 422, 360, 7036, 1921, 7473, 51, 21881, 4221, 284, 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, 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...
[ 72, 761, 530, 31328, 1398, 7846, 422, 360, 7036, 1921, 7473, 51, 21881, 4221, 284, 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, 6...
What is the Outcome of the Melbourne Tournament?
SELECT outcome FROM table_name_48 WHERE tournament = "melbourne"
[ 2061, 318, 262, 3806, 2958, 286, 262, 14819, 9595, 30, 46506, 8055, 16034, 3084, 62, 3672, 62, 2780, 33411, 7756, 796, 366, 17694, 12544, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 3806, 2958, 286, 262, 14819, 9595, 30, 46506, 8055, 16034, 3084, 62, 3672, 62, 2780, 33411, 7756, 796, 366, 17694, 12544, 1 ]
How many million u.s. viewers saw the episode that was directed by roger young and written by debra j. fisher?
SELECT us_viewers__million_ FROM table_28037619_2 WHERE directed_by = "Roger Young" AND written_by = "Debra J. Fisher"
[ 2437, 867, 1510, 334, 13, 82, 13, 10209, 2497, 262, 4471, 326, 373, 7924, 416, 686, 1362, 1862, 290, 3194, 416, 1915, 430, 474, 13, 17685, 30, 46506, 514, 62, 1177, 364, 834, 14100, 62, 16034, 3084, 62, 21033, 32128, 1129, 62, 17, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2437, 867, 1510, 334, 13, 82, 13, 10209, 2497, 262, 4471, 326, 373, 7924, 416, 686, 1362, 1862, 290, 3194, 416, 1915, 430, 474, 13, 17685, 30, 46506, 514, 62, 1177, 364, 834, 14100, 62, 16034, 3084, 62, 21033, 32128, 1129, 62, 17, ...
what is minimum age for different job title?, and list y axis in asc order.
SELECT job, MIN(age) FROM Person GROUP BY job ORDER BY MIN(age)
[ 10919, 318, 5288, 2479, 329, 1180, 1693, 3670, 21747, 290, 1351, 331, 16488, 287, 10570, 1502, 13, 46506, 1693, 11, 20625, 7, 496, 8, 16034, 7755, 44441, 11050, 1693, 38678, 11050, 20625, 7, 496, 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 ]
[ 10919, 318, 5288, 2479, 329, 1180, 1693, 3670, 21747, 290, 1351, 331, 16488, 287, 10570, 1502, 13, 46506, 1693, 11, 20625, 7, 496, 8, 16034, 7755, 44441, 11050, 1693, 38678, 11050, 20625, 7, 496, 8 ]
What was the winning car's chassis for the 1982 season?
SELECT chassis FROM table_name_48 WHERE season = "1982"
[ 2061, 373, 262, 5442, 1097, 338, 24587, 329, 262, 14489, 1622, 30, 46506, 24587, 16034, 3084, 62, 3672, 62, 2780, 33411, 1622, 796, 366, 30763, 1 ]
[ 1, 1, 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, 5442, 1097, 338, 24587, 329, 262, 14489, 1622, 30, 46506, 24587, 16034, 3084, 62, 3672, 62, 2780, 33411, 1622, 796, 366, 30763, 1 ]
Frequency MHz of 88.7 had what average erp w?
SELECT AVG("ERP W") FROM table_75601 WHERE "Frequency MHz" = '88.7'
[ 37, 28707, 19805, 286, 9193, 13, 22, 550, 644, 2811, 1931, 79, 266, 30, 46506, 35224, 7203, 1137, 47, 370, 4943, 16034, 3084, 62, 38219, 486, 33411, 366, 37, 28707, 19805, 1, 796, 705, 3459, 13, 22, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 37, 28707, 19805, 286, 9193, 13, 22, 550, 644, 2811, 1931, 79, 266, 30, 46506, 35224, 7203, 1137, 47, 370, 4943, 16034, 3084, 62, 38219, 486, 33411, 366, 37, 28707, 19805, 1, 796, 705, 3459, 13, 22, 6 ]
Give the earliest year that featured Pi Hongyan on women's singles.
SELECT MIN("Year") FROM table_80270 WHERE "Women's singles" = 'pi hongyan'
[ 23318, 262, 14555, 614, 326, 8096, 13993, 9764, 4121, 319, 1466, 338, 25287, 13, 46506, 20625, 7203, 17688, 4943, 16034, 3084, 62, 1795, 20233, 33411, 366, 18495, 338, 25287, 1, 796, 705, 14415, 289, 506, 4121, 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 ]
[ 23318, 262, 14555, 614, 326, 8096, 13993, 9764, 4121, 319, 1466, 338, 25287, 13, 46506, 20625, 7203, 17688, 4943, 16034, 3084, 62, 1795, 20233, 33411, 366, 18495, 338, 25287, 1, 796, 705, 14415, 289, 506, 4121, 6 ]
what is 2012-13 when 2011-12 is dnp and event is autumn gold?
SELECT "2012\u201313" FROM table_45124 WHERE "2011\u201312" = 'dnp' AND "Event" = 'autumn gold'
[ 10919, 318, 2321, 12, 1485, 618, 2813, 12, 1065, 318, 288, 37659, 290, 1785, 318, 23608, 3869, 30, 46506, 366, 6999, 59, 84, 6390, 1485, 1, 16034, 3084, 62, 2231, 17464, 33411, 366, 9804, 59, 84, 6390, 1065, 1, 796, 705, 32656, 79, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 2321, 12, 1485, 618, 2813, 12, 1065, 318, 288, 37659, 290, 1785, 318, 23608, 3869, 30, 46506, 366, 6999, 59, 84, 6390, 1485, 1, 16034, 3084, 62, 2231, 17464, 33411, 366, 9804, 59, 84, 6390, 1065, 1, 796, 705, 32656, 79, ...
What was the date for the catalog 32xa-112?
SELECT "Date" FROM table_15648 WHERE "Catalog" = '32xa-112'
[ 2061, 373, 262, 3128, 329, 262, 18388, 3933, 27865, 12, 14686, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 1314, 34287, 33411, 366, 49015, 1, 796, 705, 2624, 27865, 12, 14686, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 3128, 329, 262, 18388, 3933, 27865, 12, 14686, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 1314, 34287, 33411, 366, 49015, 1, 796, 705, 2624, 27865, 12, 14686, 6 ]
What is the lowest played 2 number with less than 83 losses and less than 65 draws with Chernomorets Novorossiysk in season 8?
SELECT MIN(played_2) FROM table_name_65 WHERE lost > 83 AND seasons = 8 AND club_1 = "chernomorets novorossiysk" AND drawn < 65
[ 2061, 318, 262, 9016, 2826, 362, 1271, 351, 1342, 621, 9698, 9089, 290, 1342, 621, 6135, 14293, 351, 37243, 22113, 912, 5267, 273, 793, 72, 893, 74, 287, 1622, 807, 30, 46506, 20625, 7, 21542, 62, 17, 8, 16034, 3084, 62, 3672, 62, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 318, 262, 9016, 2826, 362, 1271, 351, 1342, 621, 9698, 9089, 290, 1342, 621, 6135, 14293, 351, 37243, 22113, 912, 5267, 273, 793, 72, 893, 74, 287, 1622, 807, 30, 46506, 20625, 7, 21542, 62, 17, 8, 16034, 3084, 62, 3672, 62, ...
What is the average gold with a bronze smaller than 5 with a rank of 8?
SELECT AVG(gold) FROM table_name_17 WHERE bronze < 5 AND rank = "8"
[ 2061, 318, 262, 2811, 3869, 351, 257, 22101, 4833, 621, 642, 351, 257, 4279, 286, 807, 30, 46506, 35224, 7, 24267, 8, 16034, 3084, 62, 3672, 62, 1558, 33411, 22101, 1279, 642, 5357, 4279, 796, 366, 23, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2811, 3869, 351, 257, 22101, 4833, 621, 642, 351, 257, 4279, 286, 807, 30, 46506, 35224, 7, 24267, 8, 16034, 3084, 62, 3672, 62, 1558, 33411, 22101, 1279, 642, 5357, 4279, 796, 366, 23, 1 ]
In which venue is South Melbourne the home team?
SELECT venue FROM table_name_11 WHERE home_team = "south melbourne"
[ 818, 543, 14359, 318, 2520, 14819, 262, 1363, 1074, 30, 46506, 14359, 16034, 3084, 62, 3672, 62, 1157, 33411, 1363, 62, 15097, 796, 366, 35782, 7758, 12544, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 818, 543, 14359, 318, 2520, 14819, 262, 1363, 1074, 30, 46506, 14359, 16034, 3084, 62, 3672, 62, 1157, 33411, 1363, 62, 15097, 796, 366, 35782, 7758, 12544, 1 ]
What was the highest number of votes for mir-hossein mousavi when the number of invalid votes is 5683
SELECT MAX(mir_hossein_mousavi) FROM table_23390604_1 WHERE spoiled_ballots = 5683
[ 2061, 373, 262, 4511, 1271, 286, 5690, 329, 5720, 12, 71, 418, 20719, 285, 516, 15820, 618, 262, 1271, 286, 12515, 5690, 318, 642, 47521, 46506, 25882, 7, 10793, 62, 71, 418, 20719, 62, 76, 516, 15820, 8, 16034, 3084, 62, 1954, 2596...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 4511, 1271, 286, 5690, 329, 5720, 12, 71, 418, 20719, 285, 516, 15820, 618, 262, 1271, 286, 12515, 5690, 318, 642, 47521, 46506, 25882, 7, 10793, 62, 71, 418, 20719, 62, 76, 516, 15820, 8, 16034, 3084, 62, 1954, 2596...
For those records from the products and each product's manufacturer, find name and price , and group by attribute founder, and visualize them by a bar chart, I want to rank by the Price from high to low.
SELECT T1.Name, T1.Price FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder, T1.Name ORDER BY T1.Price DESC
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 1064, 1438, 290, 2756, 837, 290, 1448, 416, 11688, 9119, 11, 290, 38350, 606, 416, 257, 2318, 8262, 11, 314, 765, 284, 4279, 416, 262, 7886, 422, 1029, 284, 1877, 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...
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 1064, 1438, 290, 2756, 837, 290, 1448, 416, 11688, 9119, 11, 290, 38350, 606, 416, 257, 2318, 8262, 11, 314, 765, 284, 4279, 416, 262, 7886, 422, 1029, 284, 1877, 13,...
the last ward id of patient 021-43538 since 2102 is?
SELECT patient.wardid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '021-43538') AND STRFTIME('%y', patient.unitadmittime) >= '2102' ORDER BY patient.unitadmittime DESC LIMIT 1
[ 1169, 938, 15305, 4686, 286, 5827, 657, 2481, 12, 40064, 2548, 1201, 362, 15377, 318, 30, 46506, 5827, 13, 904, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 938, 15305, 4686, 286, 5827, 657, 2481, 12, 40064, 2548, 1201, 362, 15377, 318, 30, 46506, 5827, 13, 904, 312, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 13948, 10057, 31712, ...
What are the names of all teams?
SELECT name FROM team
[ 2061, 389, 262, 3891, 286, 477, 3466, 30, 46506, 1438, 16034, 1074 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 262, 3891, 286, 477, 3466, 30, 46506, 1438, 16034, 1074 ]
What is the batting team where the runs are 276?
SELECT batting_team FROM table_11303072_5 WHERE runs = "276"
[ 2061, 318, 262, 23761, 1074, 810, 262, 4539, 389, 38147, 30, 46506, 23761, 62, 15097, 16034, 3084, 62, 1157, 1270, 1270, 4761, 62, 20, 33411, 4539, 796, 366, 27988, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 23761, 1074, 810, 262, 4539, 389, 38147, 30, 46506, 23761, 62, 15097, 16034, 3084, 62, 1157, 1270, 1270, 4761, 62, 20, 33411, 4539, 796, 366, 27988, 1 ]
Which tournament had a final score of 6 7, 2 6, and a Partner of wayne arthurs?
SELECT "Tournament" FROM table_10809 WHERE "Score in the final" = '6–7, 2–6' AND "Partner" = 'wayne arthurs'
[ 13828, 7756, 550, 257, 2457, 4776, 286, 718, 767, 11, 362, 718, 11, 290, 257, 35532, 286, 835, 710, 610, 400, 1834, 30, 46506, 366, 51, 5138, 1, 16034, 3084, 62, 24045, 24, 33411, 366, 26595, 287, 262, 2457, 1, 796, 705, 21, 1906,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 7756, 550, 257, 2457, 4776, 286, 718, 767, 11, 362, 718, 11, 290, 257, 35532, 286, 835, 710, 610, 400, 1834, 30, 46506, 366, 51, 5138, 1, 16034, 3084, 62, 24045, 24, 33411, 366, 26595, 287, 262, 2457, 1, 796, 705, 21, 1906,...
Where is Norco HIgh School?
SELECT "Hometown" FROM table_17111 WHERE "School" = 'Norco High School'
[ 8496, 318, 5414, 1073, 36210, 456, 3961, 30, 46506, 366, 39, 19191, 1, 16034, 3084, 62, 1558, 16243, 33411, 366, 26130, 1, 796, 705, 21991, 1073, 3334, 3961, 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 ]
[ 8496, 318, 5414, 1073, 36210, 456, 3961, 30, 46506, 366, 39, 19191, 1, 16034, 3084, 62, 1558, 16243, 33411, 366, 26130, 1, 796, 705, 21991, 1073, 3334, 3961, 6 ]
what are the average and maximum attendances of all events?
SELECT AVG(event_attendance), MAX(event_attendance) FROM event
[ 10919, 389, 262, 2811, 290, 5415, 5262, 1817, 286, 477, 2995, 30, 46506, 35224, 7, 15596, 62, 1078, 437, 590, 828, 25882, 7, 15596, 62, 1078, 437, 590, 8, 16034, 1785 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 2811, 290, 5415, 5262, 1817, 286, 477, 2995, 30, 46506, 35224, 7, 15596, 62, 1078, 437, 590, 828, 25882, 7, 15596, 62, 1078, 437, 590, 8, 16034, 1785 ]
Return the average price for each product type. Visualize by bar chart.
SELECT product_type_code, AVG(product_price) FROM Products GROUP BY product_type_code
[ 13615, 262, 2811, 2756, 329, 1123, 1720, 2099, 13, 15612, 1096, 416, 2318, 8262, 13, 46506, 1720, 62, 4906, 62, 8189, 11, 35224, 7, 11167, 62, 20888, 8, 16034, 18675, 44441, 11050, 1720, 62, 4906, 62, 8189 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13615, 262, 2811, 2756, 329, 1123, 1720, 2099, 13, 15612, 1096, 416, 2318, 8262, 13, 46506, 1720, 62, 4906, 62, 8189, 11, 35224, 7, 11167, 62, 20888, 8, 16034, 18675, 44441, 11050, 1720, 62, 4906, 62, 8189 ]
Bar chart x axis building y axis maximal capacity
SELECT building, MAX(capacity) FROM classroom GROUP BY building
[ 10374, 8262, 2124, 16488, 2615, 331, 16488, 40708, 5339, 46506, 2615, 11, 25882, 7, 42404, 8, 16034, 15806, 44441, 11050, 2615 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10374, 8262, 2124, 16488, 2615, 331, 16488, 40708, 5339, 46506, 2615, 11, 25882, 7, 42404, 8, 16034, 15806, 44441, 11050, 2615 ]
For those employees who do not work in departments with managers that have ids between 100 and 200, give me the comparison about commission_pct over the last_name by a bar chart, and order bars in desc order.
SELECT LAST_NAME, COMMISSION_PCT FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY LAST_NAME DESC
[ 1890, 883, 4409, 508, 466, 407, 670, 287, 13346, 351, 11663, 326, 423, 220, 2340, 1022, 1802, 290, 939, 11, 1577, 502, 262, 7208, 546, 5810, 62, 79, 310, 625, 262, 938, 62, 3672, 416, 257, 2318, 8262, 11, 290, 1502, 9210, 287, 171...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 466, 407, 670, 287, 13346, 351, 11663, 326, 423, 220, 2340, 1022, 1802, 290, 939, 11, 1577, 502, 262, 7208, 546, 5810, 62, 79, 310, 625, 262, 938, 62, 3672, 416, 257, 2318, 8262, 11, 290, 1502, 9210, 287, 171...
What were the highest losses for a byes larger than 2?
SELECT MAX(losses) FROM table_name_99 WHERE byes > 2
[ 2061, 547, 262, 4511, 9089, 329, 257, 416, 274, 4025, 621, 362, 30, 46506, 25882, 7, 22462, 274, 8, 16034, 3084, 62, 3672, 62, 2079, 33411, 416, 274, 1875, 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 ]
[ 2061, 547, 262, 4511, 9089, 329, 257, 416, 274, 4025, 621, 362, 30, 46506, 25882, 7, 22462, 274, 8, 16034, 3084, 62, 3672, 62, 2079, 33411, 416, 274, 1875, 362 ]
what is the number of patients whose diagnoses short title is systolic hrt failure nos and drug type is main?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.short_title = "Systolic hrt failure NOS" AND prescriptions.drug_type = "MAIN"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 40567, 1790, 3670, 318, 827, 301, 4160, 289, 17034, 5287, 43630, 290, 2563, 2099, 318, 1388, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 214...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 40567, 1790, 3670, 318, 827, 301, 4160, 289, 17034, 5287, 43630, 290, 2563, 2099, 318, 1388, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 214...
What is the total Money ( ) with a Place of t6, and a Player of ian baker-finch?
SELECT COUNT(money___) AS £__ FROM table_name_61 WHERE place = "t6" AND player = "ian baker-finch"
[ 2061, 318, 262, 2472, 12911, 357, 1267, 351, 257, 8474, 286, 256, 21, 11, 290, 257, 7853, 286, 220, 666, 46412, 12, 69, 8589, 30, 46506, 327, 28270, 7, 26316, 17569, 8, 7054, 4248, 834, 16034, 3084, 62, 3672, 62, 5333, 33411, 1295, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12911, 357, 1267, 351, 257, 8474, 286, 256, 21, 11, 290, 257, 7853, 286, 220, 666, 46412, 12, 69, 8589, 30, 46506, 327, 28270, 7, 26316, 17569, 8, 7054, 4248, 834, 16034, 3084, 62, 3672, 62, 5333, 33411, 1295, ...
What Hometown/School had a pick above 30, position of OF and team of Cleveland Indians?
SELECT hometown_school FROM table_name_79 WHERE pick > 30 AND position = "of" AND team = "cleveland indians"
[ 2061, 367, 19191, 14, 26130, 550, 257, 2298, 2029, 1542, 11, 2292, 286, 3963, 290, 1074, 286, 10306, 12746, 30, 46506, 20994, 62, 14347, 16034, 3084, 62, 3672, 62, 3720, 33411, 2298, 1875, 1542, 5357, 2292, 796, 366, 1659, 1, 5357, 10...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 367, 19191, 14, 26130, 550, 257, 2298, 2029, 1542, 11, 2292, 286, 3963, 290, 1074, 286, 10306, 12746, 30, 46506, 20994, 62, 14347, 16034, 3084, 62, 3672, 62, 3720, 33411, 2298, 1875, 1542, 5357, 2292, 796, 366, 1659, 1, 5357, 10...
Which Rank has a Name of thomas morgenstern, and Points larger than 368.9?
SELECT AVG("Rank") FROM table_36015 WHERE "Name" = 'thomas morgenstern' AND "Points" > '368.9'
[ 13828, 10916, 468, 257, 6530, 286, 294, 16911, 2146, 5235, 301, 1142, 11, 290, 11045, 4025, 621, 43019, 13, 24, 30, 46506, 35224, 7203, 27520, 4943, 16034, 3084, 62, 2623, 25150, 33411, 366, 5376, 1, 796, 705, 400, 16911, 2146, 5235, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10916, 468, 257, 6530, 286, 294, 16911, 2146, 5235, 301, 1142, 11, 290, 11045, 4025, 621, 43019, 13, 24, 30, 46506, 35224, 7203, 27520, 4943, 16034, 3084, 62, 2623, 25150, 33411, 366, 5376, 1, 796, 705, 400, 16911, 2146, 5235, ...
What European competitions have a tier of 2 and a position of 3?
SELECT "European competitions" FROM table_66339 WHERE "Tier" = '2' AND "Pos." = '3'
[ 2061, 3427, 24174, 423, 257, 14249, 286, 362, 290, 257, 2292, 286, 513, 30, 46506, 366, 22030, 24174, 1, 16034, 3084, 62, 2791, 29626, 33411, 366, 35252, 1, 796, 705, 17, 6, 5357, 366, 21604, 526, 796, 705, 18, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 3427, 24174, 423, 257, 14249, 286, 362, 290, 257, 2292, 286, 513, 30, 46506, 366, 22030, 24174, 1, 16034, 3084, 62, 2791, 29626, 33411, 366, 35252, 1, 796, 705, 17, 6, 5357, 366, 21604, 526, 796, 705, 18, 6 ]
In what district was Tim Holden the incumbent?
SELECT district FROM table_1341453_40 WHERE incumbent = "Tim Holden"
[ 818, 644, 4783, 373, 5045, 43393, 262, 23526, 30, 46506, 4783, 16034, 3084, 62, 19880, 1415, 4310, 62, 1821, 33411, 23526, 796, 366, 14967, 43393, 1 ]
[ 1, 1, 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, 4783, 373, 5045, 43393, 262, 23526, 30, 46506, 4783, 16034, 3084, 62, 19880, 1415, 4310, 62, 1821, 33411, 23526, 796, 366, 14967, 43393, 1 ]
give me the number of patients whose diagnoses short title is esophageal reflux and lab test name is bands?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.short_title = "Esophageal reflux" AND lab.label = "Bands"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 40567, 1790, 3670, 318, 1658, 2522, 496, 282, 1006, 22564, 290, 2248, 1332, 1438, 318, 11760, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 26535, 502, 262, 1271, 286, 3871, 3025, 40567, 1790, 3670, 318, 1658, 2522, 496, 282, 1006, 22564, 290, 2248, 1332, 1438, 318, 11760, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21...
where was the first competition held according to this chart ?
SELECT "venue" FROM table_203_192 ORDER BY "year" LIMIT 1
[ 3003, 373, 262, 717, 5449, 2714, 1864, 284, 428, 8262, 5633, 46506, 366, 4080, 1, 16034, 3084, 62, 22416, 62, 17477, 38678, 11050, 366, 1941, 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 ]
[ 3003, 373, 262, 717, 5449, 2714, 1864, 284, 428, 8262, 5633, 46506, 366, 4080, 1, 16034, 3084, 62, 22416, 62, 17477, 38678, 11050, 366, 1941, 1, 27564, 2043, 352 ]
What is the sum of the season with 8 clubs and shanghai as the runners-up?
SELECT SUM(season) FROM table_name_63 WHERE number_of_clubs = 8 AND runners_up = "shanghai"
[ 2061, 318, 262, 2160, 286, 262, 1622, 351, 807, 9784, 290, 427, 272, 20380, 355, 262, 19323, 12, 929, 30, 46506, 35683, 7, 6230, 8, 16034, 3084, 62, 3672, 62, 5066, 33411, 1271, 62, 1659, 62, 18664, 82, 796, 807, 5357, 19323, 62, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2160, 286, 262, 1622, 351, 807, 9784, 290, 427, 272, 20380, 355, 262, 19323, 12, 929, 30, 46506, 35683, 7, 6230, 8, 16034, 3084, 62, 3672, 62, 5066, 33411, 1271, 62, 1659, 62, 18664, 82, 796, 807, 5357, 19323, 62, ...
Where is the margin of victory dated mar 28, 2004?
SELECT "Margin of victory" FROM table_72156 WHERE "Date" = 'Mar 28, 2004'
[ 8496, 318, 262, 10330, 286, 5373, 14567, 1667, 2579, 11, 5472, 30, 46506, 366, 24428, 259, 286, 5373, 1, 16034, 3084, 62, 4761, 21599, 33411, 366, 10430, 1, 796, 705, 7676, 2579, 11, 5472, 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 ]
[ 8496, 318, 262, 10330, 286, 5373, 14567, 1667, 2579, 11, 5472, 30, 46506, 366, 24428, 259, 286, 5373, 1, 16034, 3084, 62, 4761, 21599, 33411, 366, 10430, 1, 796, 705, 7676, 2579, 11, 5472, 6 ]
When did they play at the Cotton Bowl?
SELECT date FROM table_17765264_1 WHERE game_site = "Cotton Bowl"
[ 2215, 750, 484, 711, 379, 262, 23915, 8693, 30, 46506, 3128, 16034, 3084, 62, 22413, 2996, 18897, 62, 16, 33411, 983, 62, 15654, 796, 366, 34, 11324, 8693, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 750, 484, 711, 379, 262, 23915, 8693, 30, 46506, 3128, 16034, 3084, 62, 22413, 2996, 18897, 62, 16, 33411, 983, 62, 15654, 796, 366, 34, 11324, 8693, 1 ]
how many patients whose age is less than 80 and procedure icd9 code is 4610?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.age < "80" AND procedures.icd9_code = "4610"
[ 4919, 867, 3871, 3025, 2479, 318, 1342, 621, 4019, 290, 8771, 14158, 67, 24, 2438, 318, 6337, 940, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 3871, 3025, 2479, 318, 1342, 621, 4019, 290, 8771, 14158, 67, 24, 2438, 318, 6337, 940, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728...
Visualize a bar chart for what are the names and account balances of customers with the letter 'a' in their names?, could you sort from high to low by the y axis?
SELECT cust_name, acc_bal FROM customer WHERE cust_name LIKE '%a%' ORDER BY acc_bal DESC
[ 36259, 1096, 257, 2318, 8262, 329, 644, 389, 262, 3891, 290, 1848, 25223, 286, 4297, 351, 262, 3850, 705, 64, 6, 287, 511, 3891, 21747, 714, 345, 3297, 422, 1029, 284, 1877, 416, 262, 331, 16488, 30, 46506, 9378, 62, 3672, 11, 697, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 36259, 1096, 257, 2318, 8262, 329, 644, 389, 262, 3891, 290, 1848, 25223, 286, 4297, 351, 262, 3850, 705, 64, 6, 287, 511, 3891, 21747, 714, 345, 3297, 422, 1029, 284, 1877, 416, 262, 331, 16488, 30, 46506, 9378, 62, 3672, 11, 697, ...
Which level is quarterfinals domestic cup?
SELECT "Level" FROM table_57958 WHERE "Domestic Cup" = 'quarterfinals'
[ 13828, 1241, 318, 3860, 32089, 5928, 6508, 30, 46506, 366, 4971, 1, 16034, 3084, 62, 41734, 3365, 33411, 366, 24510, 4699, 5454, 1, 796, 705, 24385, 32089, 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, 1241, 318, 3860, 32089, 5928, 6508, 30, 46506, 366, 4971, 1, 16034, 3084, 62, 41734, 3365, 33411, 366, 24510, 4699, 5454, 1, 796, 705, 24385, 32089, 6 ]
What is the Record for 23 january 2010, with a time smaller than 42.679 seconds?
SELECT "Record" FROM table_40334 WHERE "Date" = '23 january 2010' AND "Time (seconds)" < '42.679'
[ 2061, 318, 262, 13266, 329, 2242, 42897, 2838, 3050, 11, 351, 257, 640, 4833, 621, 5433, 13, 37601, 4201, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 1821, 31380, 33411, 366, 10430, 1, 796, 705, 1954, 42897, 2838, 3050, 6, 5357, 366, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 13266, 329, 2242, 42897, 2838, 3050, 11, 351, 257, 640, 4833, 621, 5433, 13, 37601, 4201, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 1821, 31380, 33411, 366, 10430, 1, 796, 705, 1954, 42897, 2838, 3050, 6, 5357, 366, ...
What is the Score of the T3 Place Player?
SELECT "Score" FROM table_9155 WHERE "Place" = 't3'
[ 2061, 318, 262, 15178, 286, 262, 309, 18, 8474, 7853, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 24, 18742, 33411, 366, 27271, 1, 796, 705, 83, 18, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 15178, 286, 262, 309, 18, 8474, 7853, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 24, 18742, 33411, 366, 27271, 1, 796, 705, 83, 18, 6 ]
How many appelations are in Napa Country?
SELECT COUNT(*) FROM appellations WHERE county = "Napa"
[ 2437, 867, 598, 417, 602, 389, 287, 14332, 64, 12946, 30, 46506, 327, 28270, 7, 28104, 16034, 24781, 602, 33411, 7968, 796, 366, 45, 32678, 1 ]
[ 1, 1, 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, 598, 417, 602, 389, 287, 14332, 64, 12946, 30, 46506, 327, 28270, 7, 28104, 16034, 24781, 602, 33411, 7968, 796, 366, 45, 32678, 1 ]
Who was the finalist when the MVP was Romain Sato?
SELECT "Finalist" FROM table_2095 WHERE "MVP" = 'Romain Sato'
[ 8241, 373, 262, 2457, 396, 618, 262, 12742, 373, 3570, 391, 311, 5549, 30, 46506, 366, 19006, 396, 1, 16034, 3084, 62, 1238, 3865, 33411, 366, 44, 8859, 1, 796, 705, 22834, 391, 311, 5549, 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 ]
[ 8241, 373, 262, 2457, 396, 618, 262, 12742, 373, 3570, 391, 311, 5549, 30, 46506, 366, 19006, 396, 1, 16034, 3084, 62, 1238, 3865, 33411, 366, 44, 8859, 1, 796, 705, 22834, 391, 311, 5549, 6 ]
How many courses for each subject? Plot a pie 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
[ 2437, 867, 10902, 329, 1123, 2426, 30, 28114, 257, 2508, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 329, 1123, 2426, 30, 28114, 257, 2508, 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...
What is the total to par with a total of 163?
SELECT COUNT(to_par) FROM table_name_16 WHERE total = 163
[ 2061, 318, 262, 2472, 284, 1582, 351, 257, 2472, 286, 26826, 30, 46506, 327, 28270, 7, 1462, 62, 1845, 8, 16034, 3084, 62, 3672, 62, 1433, 33411, 2472, 796, 26826 ]
[ 1, 1, 1, 1, 1, 1, 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, 284, 1582, 351, 257, 2472, 286, 26826, 30, 46506, 327, 28270, 7, 1462, 62, 1845, 8, 16034, 3084, 62, 3672, 62, 1433, 33411, 2472, 796, 26826 ]
What played at 8:00 when there was local programming at 10:00 and Supernatural played at 9:00?
SELECT "8:00" FROM table_42060 WHERE "10:00" = 'local programming' AND "9:00" = 'supernatural'
[ 2061, 2826, 379, 807, 25, 405, 618, 612, 373, 1957, 8300, 379, 838, 25, 405, 290, 3115, 11802, 2826, 379, 860, 25, 405, 30, 46506, 366, 23, 25, 405, 1, 16034, 3084, 62, 27211, 1899, 33411, 366, 940, 25, 405, 1, 796, 705, 12001, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2826, 379, 807, 25, 405, 618, 612, 373, 1957, 8300, 379, 838, 25, 405, 290, 3115, 11802, 2826, 379, 860, 25, 405, 30, 46506, 366, 23, 25, 405, 1, 16034, 3084, 62, 27211, 1899, 33411, 366, 940, 25, 405, 1, 796, 705, 12001, ...
give me the number of patients whose lab test name is chloride?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE lab.label = "Chloride"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 2248, 1332, 1438, 318, 44921, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 26535, 502, 262, 1271, 286, 3871, 3025, 2248, 1332, 1438, 318, 44921, 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...
What is the worst score for the dance that has Apolo Anton Ohno as the best dancer, and where his best score is larger than 30?
SELECT SUM(worst_score) FROM table_name_23 WHERE best_dancer = "apolo anton ohno" AND best_score > 30
[ 2061, 318, 262, 5290, 4776, 329, 262, 9280, 326, 468, 5949, 14057, 9261, 3966, 3919, 355, 262, 1266, 38619, 11, 290, 810, 465, 1266, 4776, 318, 4025, 621, 1542, 30, 46506, 35683, 7, 41430, 62, 26675, 8, 16034, 3084, 62, 3672, 62, 19...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 5290, 4776, 329, 262, 9280, 326, 468, 5949, 14057, 9261, 3966, 3919, 355, 262, 1266, 38619, 11, 290, 810, 465, 1266, 4776, 318, 4025, 621, 1542, 30, 46506, 35683, 7, 41430, 62, 26675, 8, 16034, 3084, 62, 3672, 62, 19...
Which city holds Newcastle Airport?
SELECT "City" FROM table_5959 WHERE "Airport" = 'newcastle airport'
[ 13828, 1748, 6622, 22410, 12690, 30, 46506, 366, 14941, 1, 16034, 3084, 62, 3270, 3270, 33411, 366, 16170, 634, 1, 796, 705, 3605, 18676, 9003, 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 ]
[ 13828, 1748, 6622, 22410, 12690, 30, 46506, 366, 14941, 1, 16034, 3084, 62, 3270, 3270, 33411, 366, 16170, 634, 1, 796, 705, 3605, 18676, 9003, 6 ]
What is City, when Country is 'Kuwait'?
SELECT "City" FROM table_8823 WHERE "Country" = 'kuwait'
[ 2061, 318, 2254, 11, 618, 12946, 318, 705, 41733, 17077, 30960, 46506, 366, 14941, 1, 16034, 3084, 62, 3459, 1954, 33411, 366, 33921, 1, 796, 705, 23063, 17077, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 2254, 11, 618, 12946, 318, 705, 41733, 17077, 30960, 46506, 366, 14941, 1, 16034, 3084, 62, 3459, 1954, 33411, 366, 33921, 1, 796, 705, 23063, 17077, 6 ]
What kind of Week 2 has a Week 4 of araya robinson?
SELECT week_2 FROM table_name_15 WHERE week_4 = "araya robinson"
[ 2061, 1611, 286, 6119, 362, 468, 257, 6119, 604, 286, 610, 11729, 3857, 7899, 30, 46506, 1285, 62, 17, 16034, 3084, 62, 3672, 62, 1314, 33411, 1285, 62, 19, 796, 366, 283, 11729, 3857, 7899, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1611, 286, 6119, 362, 468, 257, 6119, 604, 286, 610, 11729, 3857, 7899, 30, 46506, 1285, 62, 17, 16034, 3084, 62, 3672, 62, 1314, 33411, 1285, 62, 19, 796, 366, 283, 11729, 3857, 7899, 1 ]
Show all cities and corresponding number of students by a bar chart, could you order by the bars from low to high?
SELECT city_code, COUNT(*) FROM Student GROUP BY city_code ORDER BY city_code
[ 15307, 477, 4736, 290, 11188, 1271, 286, 2444, 416, 257, 2318, 8262, 11, 714, 345, 1502, 416, 262, 9210, 422, 1877, 284, 1029, 30, 46506, 1748, 62, 8189, 11, 327, 28270, 7, 28104, 16034, 13613, 44441, 11050, 1748, 62, 8189, 38678, 110...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4736, 290, 11188, 1271, 286, 2444, 416, 257, 2318, 8262, 11, 714, 345, 1502, 416, 262, 9210, 422, 1877, 284, 1029, 30, 46506, 1748, 62, 8189, 11, 327, 28270, 7, 28104, 16034, 13613, 44441, 11050, 1748, 62, 8189, 38678, 110...
Which Run 2 has a Run 1 of 1:30.03?
SELECT run_2 FROM table_name_29 WHERE run_1 = "1:30.03"
[ 13828, 5660, 362, 468, 257, 5660, 352, 286, 352, 25, 1270, 13, 3070, 30, 46506, 1057, 62, 17, 16034, 3084, 62, 3672, 62, 1959, 33411, 1057, 62, 16, 796, 366, 16, 25, 1270, 13, 3070, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5660, 362, 468, 257, 5660, 352, 286, 352, 25, 1270, 13, 3070, 30, 46506, 1057, 62, 17, 16034, 3084, 62, 3672, 62, 1959, 33411, 1057, 62, 16, 796, 366, 16, 25, 1270, 13, 3070, 1 ]
Return a bar chart showing how many customers whose contact channel code is email for each year.
SELECT active_from_date, COUNT(active_from_date) FROM Customers AS t1 JOIN Customer_Contact_Channels AS t2 ON t1.customer_id = t2.customer_id WHERE t2.channel_code = 'Email'
[ 13615, 257, 2318, 8262, 4478, 703, 867, 4297, 3025, 2800, 6518, 2438, 318, 3053, 329, 1123, 614, 13, 46506, 4075, 62, 6738, 62, 4475, 11, 327, 28270, 7, 5275, 62, 6738, 62, 4475, 8, 16034, 36707, 7054, 256, 16, 32357, 1268, 22092, 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...
[ 13615, 257, 2318, 8262, 4478, 703, 867, 4297, 3025, 2800, 6518, 2438, 318, 3053, 329, 1123, 614, 13, 46506, 4075, 62, 6738, 62, 4475, 11, 327, 28270, 7, 5275, 62, 6738, 62, 4475, 8, 16034, 36707, 7054, 256, 16, 32357, 1268, 22092, 6...
What is the home team that played on February 25?
SELECT "Home" FROM table_35766 WHERE "Date" = 'february 25'
[ 2061, 318, 262, 1363, 1074, 326, 2826, 319, 3945, 1679, 30, 46506, 366, 16060, 1, 16034, 3084, 62, 27277, 2791, 33411, 366, 10430, 1, 796, 705, 69, 1765, 3728, 1679, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1363, 1074, 326, 2826, 319, 3945, 1679, 30, 46506, 366, 16060, 1, 16034, 3084, 62, 27277, 2791, 33411, 366, 10430, 1, 796, 705, 69, 1765, 3728, 1679, 6 ]
What is the 2012 value with an A value in 2007 and A value in 2010 in the Canada Masters?
SELECT "2012" FROM table_11460 WHERE "2007" = 'a' AND "2010" = 'a' AND "Tournament" = 'canada masters'
[ 2061, 318, 262, 2321, 1988, 351, 281, 317, 1988, 287, 4343, 290, 317, 1988, 287, 3050, 287, 262, 3340, 15812, 30, 46506, 366, 6999, 1, 16034, 3084, 62, 16562, 1899, 33411, 366, 12726, 1, 796, 705, 64, 6, 5357, 366, 10333, 1, 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 ]
[ 2061, 318, 262, 2321, 1988, 351, 281, 317, 1988, 287, 4343, 290, 317, 1988, 287, 3050, 287, 262, 3340, 15812, 30, 46506, 366, 6999, 1, 16034, 3084, 62, 16562, 1899, 33411, 366, 12726, 1, 796, 705, 64, 6, 5357, 366, 10333, 1, 796, ...
Which election, in 2003 had the lowest turnout, but also had 57 in 1999 and less then 54 in 2007?
SELECT MIN("2003 Election") FROM table_10695 WHERE "1999 Election" = '57' AND "2007 Election" < '54'
[ 13828, 3071, 11, 287, 5816, 550, 262, 9016, 21666, 11, 475, 635, 550, 7632, 287, 7358, 290, 1342, 788, 7175, 287, 4343, 30, 46506, 20625, 7203, 16088, 14219, 4943, 16034, 3084, 62, 940, 37381, 33411, 366, 18946, 14219, 1, 796, 705, 35...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3071, 11, 287, 5816, 550, 262, 9016, 21666, 11, 475, 635, 550, 7632, 287, 7358, 290, 1342, 788, 7175, 287, 4343, 30, 46506, 20625, 7203, 16088, 14219, 4943, 16034, 3084, 62, 940, 37381, 33411, 366, 18946, 14219, 1, 796, 705, 35...
What's the tie number of Chelsea when they were home?
SELECT "Tie no" FROM table_63326 WHERE "Home team" = 'chelsea'
[ 2061, 338, 262, 9839, 1271, 286, 12147, 618, 484, 547, 1363, 30, 46506, 366, 51, 494, 645, 1, 16034, 3084, 62, 21, 2091, 2075, 33411, 366, 16060, 1074, 1, 796, 705, 29232, 8583, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 338, 262, 9839, 1271, 286, 12147, 618, 484, 547, 1363, 30, 46506, 366, 51, 494, 645, 1, 16034, 3084, 62, 21, 2091, 2075, 33411, 366, 16060, 1074, 1, 796, 705, 29232, 8583, 6 ]
For those employees who do not work in departments with managers that have ids between 100 and 200, find job_id and salary , and visualize them by a bar chart, rank by the X-axis in asc.
SELECT JOB_ID, SALARY FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY JOB_ID
[ 1890, 883, 4409, 508, 466, 407, 670, 287, 13346, 351, 11663, 326, 423, 220, 2340, 1022, 1802, 290, 939, 11, 1064, 1693, 62, 312, 290, 9588, 837, 290, 38350, 606, 416, 257, 2318, 8262, 11, 4279, 416, 262, 1395, 12, 22704, 287, 10570,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 466, 407, 670, 287, 13346, 351, 11663, 326, 423, 220, 2340, 1022, 1802, 290, 939, 11, 1064, 1693, 62, 312, 290, 9588, 837, 290, 38350, 606, 416, 257, 2318, 8262, 11, 4279, 416, 262, 1395, 12, 22704, 287, 10570,...
What was the most recent year for Dean Van Lines?
SELECT MAX(year) FROM table_name_41 WHERE entrant = "dean van lines"
[ 2061, 373, 262, 749, 2274, 614, 329, 11325, 6656, 26299, 30, 46506, 25882, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 3901, 33411, 920, 5250, 796, 366, 2934, 272, 5719, 3951, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 749, 2274, 614, 329, 11325, 6656, 26299, 30, 46506, 25882, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 3901, 33411, 920, 5250, 796, 366, 2934, 272, 5719, 3951, 1 ]
What college did Keith Shologan play for?
SELECT "College" FROM table_9494 WHERE "Player" = 'keith shologan'
[ 2061, 4152, 750, 14926, 911, 928, 272, 711, 329, 30, 46506, 366, 38951, 1, 16034, 3084, 62, 24, 39449, 33411, 366, 14140, 1, 796, 705, 365, 342, 427, 928, 272, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 4152, 750, 14926, 911, 928, 272, 711, 329, 30, 46506, 366, 38951, 1, 16034, 3084, 62, 24, 39449, 33411, 366, 14140, 1, 796, 705, 365, 342, 427, 928, 272, 6 ]
What is the current account balance for a GDP at current prices of 142.640?
SELECT current_account_balance__percent_of_gdp_ FROM table_30133_1 WHERE gdp_at_current_prices__usd_billions_ = "142.640"
[ 2061, 318, 262, 1459, 1848, 5236, 329, 257, 12396, 379, 1459, 4536, 286, 25181, 13, 31102, 30, 46506, 1459, 62, 23317, 62, 20427, 834, 25067, 62, 1659, 62, 21287, 79, 62, 16034, 3084, 62, 18938, 2091, 62, 16, 33411, 308, 26059, 62, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1459, 1848, 5236, 329, 257, 12396, 379, 1459, 4536, 286, 25181, 13, 31102, 30, 46506, 1459, 62, 23317, 62, 20427, 834, 25067, 62, 1659, 62, 21287, 79, 62, 16034, 3084, 62, 18938, 2091, 62, 16, 33411, 308, 26059, 62, ...
serum creatinine = 2 mg / dl in male and > 1.8 mg / dl in female
SELECT * FROM table_train_217 WHERE (serum_creatinine = 2 AND gender = 'male') OR (serum_creatinine > 1.8 AND gender = 'female')
[ 2655, 388, 1827, 259, 500, 796, 362, 10527, 1220, 288, 75, 287, 4257, 290, 1875, 352, 13, 23, 10527, 1220, 288, 75, 287, 4048, 46506, 1635, 16034, 3084, 62, 27432, 62, 24591, 33411, 357, 2655, 388, 62, 20123, 259, 500, 796, 362, 535...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2655, 388, 1827, 259, 500, 796, 362, 10527, 1220, 288, 75, 287, 4257, 290, 1875, 352, 13, 23, 10527, 1220, 288, 75, 287, 4048, 46506, 1635, 16034, 3084, 62, 27432, 62, 24591, 33411, 357, 2655, 388, 62, 20123, 259, 500, 796, 362, 535...
Which team has a League from of ontario hockey league, and a Player of tony dehart?
SELECT "NHL team" FROM table_62154 WHERE "League from" = 'ontario hockey league' AND "Player" = 'tony dehart'
[ 13828, 1074, 468, 257, 4041, 422, 286, 39585, 4982, 12217, 4652, 11, 290, 257, 7853, 286, 256, 1647, 390, 18647, 30, 46506, 366, 45, 6581, 1074, 1, 16034, 3084, 62, 5237, 21526, 33411, 366, 24623, 422, 1, 796, 705, 756, 4982, 12217, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1074, 468, 257, 4041, 422, 286, 39585, 4982, 12217, 4652, 11, 290, 257, 7853, 286, 256, 1647, 390, 18647, 30, 46506, 366, 45, 6581, 1074, 1, 16034, 3084, 62, 5237, 21526, 33411, 366, 24623, 422, 1, 796, 705, 756, 4982, 12217, ...
What's the least mpg-UK combined when the mpg-UK urban is 25.4, the L/100km extra urban is less than 6.9 and the L/100km urban is more than 11.1?
SELECT MIN("mpg-UK Combined") FROM table_66548 WHERE "mpg-UK Urban (Cold)" = '25.4' AND "L/100km Extra-Urban" < '6.9' AND "L/100km Urban (Cold)" > '11.1'
[ 2061, 338, 262, 1551, 285, 6024, 12, 15039, 5929, 618, 262, 285, 6024, 12, 15039, 7876, 318, 1679, 13, 19, 11, 262, 406, 14, 3064, 13276, 3131, 7876, 318, 1342, 621, 718, 13, 24, 290, 262, 406, 14, 3064, 13276, 7876, 318, 517, 621...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1551, 285, 6024, 12, 15039, 5929, 618, 262, 285, 6024, 12, 15039, 7876, 318, 1679, 13, 19, 11, 262, 406, 14, 3064, 13276, 3131, 7876, 318, 1342, 621, 718, 13, 24, 290, 262, 406, 14, 3064, 13276, 7876, 318, 517, 621...
How many values for Macedonian correspond to Slovianski value of Veliki?
SELECT COUNT(macedonian) FROM table_25008327_8 WHERE slovianski = "veliki"
[ 2437, 867, 3815, 329, 25942, 27625, 6053, 284, 26613, 1547, 4106, 1988, 286, 17378, 5580, 30, 46506, 327, 28270, 7, 76, 2286, 27625, 8, 16034, 3084, 62, 44688, 5999, 1983, 62, 23, 33411, 1017, 709, 1547, 4106, 796, 366, 626, 5580, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3815, 329, 25942, 27625, 6053, 284, 26613, 1547, 4106, 1988, 286, 17378, 5580, 30, 46506, 327, 28270, 7, 76, 2286, 27625, 8, 16034, 3084, 62, 44688, 5999, 1983, 62, 23, 33411, 1017, 709, 1547, 4106, 796, 366, 626, 5580, 1 ]
Which Sub-Parish (Sogn) was built after 1894 in the Parish (Prestegjeld) of jostedal parish?
SELECT sub_parish__sogn_ FROM table_name_92 WHERE year_built > 1894 AND parish__prestegjeld_ = "jostedal parish"
[ 13828, 3834, 12, 10044, 680, 357, 50, 2360, 8, 373, 3170, 706, 1248, 5824, 287, 262, 35240, 357, 47, 2118, 1533, 18015, 335, 8, 286, 474, 455, 276, 282, 28830, 30, 46506, 850, 62, 1845, 680, 834, 82, 2360, 62, 16034, 3084, 62, 367...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3834, 12, 10044, 680, 357, 50, 2360, 8, 373, 3170, 706, 1248, 5824, 287, 262, 35240, 357, 47, 2118, 1533, 18015, 335, 8, 286, 474, 455, 276, 282, 28830, 30, 46506, 850, 62, 1845, 680, 834, 82, 2360, 62, 16034, 3084, 62, 367...
Name the venue for 2nd position of year before 2008
SELECT "Venue" FROM table_32130 WHERE "Year" < '2008' AND "Position" = '2nd'
[ 5376, 262, 14359, 329, 362, 358, 2292, 286, 614, 878, 3648, 46506, 366, 37522, 518, 1, 16034, 3084, 62, 36453, 1270, 33411, 366, 17688, 1, 1279, 705, 11528, 6, 5357, 366, 26545, 1, 796, 705, 17, 358, 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 ]
[ 5376, 262, 14359, 329, 362, 358, 2292, 286, 614, 878, 3648, 46506, 366, 37522, 518, 1, 16034, 3084, 62, 36453, 1270, 33411, 366, 17688, 1, 1279, 705, 11528, 6, 5357, 366, 26545, 1, 796, 705, 17, 358, 6 ]
how many posiitions did saudi arabia land on
SELECT COUNT("Pos") FROM table_22991 WHERE "Member Association" = 'Saudi Arabia'
[ 4919, 867, 1426, 72, 1756, 750, 473, 47928, 610, 397, 544, 1956, 319, 46506, 327, 28270, 7203, 21604, 4943, 16034, 3084, 62, 1828, 2079, 16, 33411, 366, 27608, 5396, 1, 796, 705, 36939, 9671, 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 ]
[ 4919, 867, 1426, 72, 1756, 750, 473, 47928, 610, 397, 544, 1956, 319, 46506, 327, 28270, 7203, 21604, 4943, 16034, 3084, 62, 1828, 2079, 16, 33411, 366, 27608, 5396, 1, 796, 705, 36939, 9671, 6 ]
Who built the order on November 1881 of more than 54 TC&StL no. (1883 84)?
SELECT builder FROM table_name_6 WHERE tc & stl_no__1883_84_ > 54 AND date_ordered = "november 1881"
[ 8241, 3170, 262, 1502, 319, 3389, 1248, 6659, 286, 517, 621, 7175, 17283, 5, 1273, 43, 645, 13, 357, 1507, 5999, 9508, 19427, 46506, 27098, 16034, 3084, 62, 3672, 62, 21, 33411, 37096, 1222, 336, 75, 62, 3919, 834, 1507, 5999, 62, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 3170, 262, 1502, 319, 3389, 1248, 6659, 286, 517, 621, 7175, 17283, 5, 1273, 43, 645, 13, 357, 1507, 5999, 9508, 19427, 46506, 27098, 16034, 3084, 62, 3672, 62, 21, 33411, 37096, 1222, 336, 75, 62, 3919, 834, 1507, 5999, 62, 5...
What was the score of Wally Armstrong?
SELECT "Score" FROM table_44366 WHERE "Player" = 'wally armstrong'
[ 2061, 373, 262, 4776, 286, 50117, 21166, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 2598, 32459, 33411, 366, 14140, 1, 796, 705, 86, 453, 3211, 11576, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 4776, 286, 50117, 21166, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 2598, 32459, 33411, 366, 14140, 1, 796, 705, 86, 453, 3211, 11576, 6 ]
which stadium only has a capacity of 20,000 ?
SELECT "home stadium" FROM table_203_581 WHERE "capacity" = 20000
[ 4758, 10308, 691, 468, 257, 5339, 286, 1160, 11, 830, 5633, 46506, 366, 11195, 10308, 1, 16034, 3084, 62, 22416, 62, 48630, 33411, 366, 42404, 1, 796, 939, 405 ]
[ 1, 1, 1, 1, 1, 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, 10308, 691, 468, 257, 5339, 286, 1160, 11, 830, 5633, 46506, 366, 11195, 10308, 1, 16034, 3084, 62, 22416, 62, 48630, 33411, 366, 42404, 1, 796, 939, 405 ]
Name the wrestlers with days held of 428
SELECT "Wrestlers" FROM table_68550 WHERE "Days held" = '428'
[ 5376, 262, 41758, 351, 1528, 2714, 286, 45063, 46506, 366, 54, 2118, 8116, 1, 16034, 3084, 62, 3104, 22730, 33411, 366, 38770, 2714, 1, 796, 705, 40173, 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 ]
[ 5376, 262, 41758, 351, 1528, 2714, 286, 45063, 46506, 366, 54, 2118, 8116, 1, 16034, 3084, 62, 3104, 22730, 33411, 366, 38770, 2714, 1, 796, 705, 40173, 6 ]
What is the score of the match played in England where Peter McEvoy was the champion and Paul McKellar was runner-up?
SELECT score FROM table_name_34 WHERE country = "england" AND champion = "peter mcevoy" AND runner_up = "paul mckellar"
[ 2061, 318, 262, 4776, 286, 262, 2872, 2826, 287, 4492, 810, 5613, 1982, 15200, 726, 373, 262, 8783, 290, 3362, 11888, 14203, 373, 17490, 12, 929, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 2682, 33411, 1499, 796, 366, 1516, 1044, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 318, 262, 4776, 286, 262, 2872, 2826, 287, 4492, 810, 5613, 1982, 15200, 726, 373, 262, 8783, 290, 3362, 11888, 14203, 373, 17490, 12, 929, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 2682, 33411, 1499, 796, 366, 1516, 1044, 1, ...
body mass index ( bmi ) = 30 kg / m2
SELECT * FROM table_train_216 WHERE body_mass_index_bmi = 30
[ 2618, 2347, 6376, 357, 275, 11632, 1267, 796, 1542, 14211, 1220, 285, 17, 46506, 1635, 16034, 3084, 62, 27432, 62, 20666, 33411, 1767, 62, 22208, 62, 9630, 62, 65, 11632, 796, 1542 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2618, 2347, 6376, 357, 275, 11632, 1267, 796, 1542, 14211, 1220, 285, 17, 46506, 1635, 16034, 3084, 62, 27432, 62, 20666, 33411, 1767, 62, 22208, 62, 9630, 62, 65, 11632, 796, 1542 ]
how many hours have elapsed since patient 006-10390 first received a laboratory platelets x 1000 test on their current hospital visit?
SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', lab.labresulttime)) FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-10390' AND patient.hosp...
[ 4919, 867, 2250, 423, 42118, 1201, 5827, 3571, 21, 12, 940, 25964, 717, 2722, 257, 14010, 7480, 5289, 2124, 8576, 1332, 319, 511, 1459, 4436, 3187, 30, 46506, 1987, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 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...
[ 4919, 867, 2250, 423, 42118, 1201, 5827, 3571, 21, 12, 940, 25964, 717, 2722, 257, 14010, 7480, 5289, 2124, 8576, 1332, 319, 511, 1459, 4436, 3187, 30, 46506, 1987, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34...
How many times was the overall attendance 17807?
SELECT COUNT("Overall Attendance") FROM table_3836 WHERE "Average Attendance" = '17807'
[ 2437, 867, 1661, 373, 262, 4045, 14858, 1596, 36928, 30, 46506, 327, 28270, 7203, 16350, 46502, 590, 4943, 16034, 3084, 62, 2548, 2623, 33411, 366, 26287, 46502, 590, 1, 796, 705, 1558, 36928, 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, 1661, 373, 262, 4045, 14858, 1596, 36928, 30, 46506, 327, 28270, 7203, 16350, 46502, 590, 4943, 16034, 3084, 62, 2548, 2623, 33411, 366, 26287, 46502, 590, 1, 796, 705, 1558, 36928, 6 ]
patient 18866 has been in the emergency department when they visited the hospital first time?
SELECT COUNT(*) > 0 FROM admissions WHERE admissions.subject_id = 18866 AND admissions.admission_location = 'emergency room admit' AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime LIMIT 1
[ 26029, 27778, 2791, 468, 587, 287, 262, 6334, 5011, 618, 484, 8672, 262, 4436, 717, 640, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 27778, 2791, 5357, 25349, 13, 324, 3411, 62, 248...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 26029, 27778, 2791, 468, 587, 287, 262, 6334, 5011, 618, 484, 8672, 262, 4436, 717, 640, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 27778, 2791, 5357, 25349, 13, 324, 3411, 62, 248...
What is the original air date of 'Helen Back Again'?
SELECT "Original air date" FROM table_28696 WHERE "Title" = 'Helen Back Again'
[ 2061, 318, 262, 2656, 1633, 3128, 286, 705, 12621, 268, 5157, 6521, 30960, 46506, 366, 20556, 1633, 3128, 1, 16034, 3084, 62, 2078, 38205, 33411, 366, 19160, 1, 796, 705, 12621, 268, 5157, 6521, 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, 2656, 1633, 3128, 286, 705, 12621, 268, 5157, 6521, 30960, 46506, 366, 20556, 1633, 3128, 1, 16034, 3084, 62, 2078, 38205, 33411, 366, 19160, 1, 796, 705, 12621, 268, 5157, 6521, 6 ]
If %2001 is 0.1%, what is the minimum Arabs 2001 number?
SELECT MIN(arabs_2001) FROM table_1939367_1 WHERE _percentage_2001 = "0.1%"
[ 1532, 4064, 14585, 318, 657, 13, 16, 7441, 644, 318, 262, 5288, 22457, 5878, 1271, 30, 46506, 20625, 7, 283, 8937, 62, 14585, 8, 16034, 3084, 62, 1129, 2670, 27824, 62, 16, 33411, 4808, 25067, 496, 62, 14585, 796, 366, 15, 13, 16, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1532, 4064, 14585, 318, 657, 13, 16, 7441, 644, 318, 262, 5288, 22457, 5878, 1271, 30, 46506, 20625, 7, 283, 8937, 62, 14585, 8, 16034, 3084, 62, 1129, 2670, 27824, 62, 16, 33411, 4808, 25067, 496, 62, 14585, 796, 366, 15, 13, 16, ...
what is procedure short title of subject id 21796?
SELECT procedures.short_title FROM procedures WHERE procedures.subject_id = "21796"
[ 10919, 318, 8771, 1790, 3670, 286, 2426, 4686, 24894, 4846, 30, 46506, 9021, 13, 19509, 62, 7839, 16034, 9021, 33411, 9021, 13, 32796, 62, 312, 796, 366, 24591, 4846, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 8771, 1790, 3670, 286, 2426, 4686, 24894, 4846, 30, 46506, 9021, 13, 19509, 62, 7839, 16034, 9021, 33411, 9021, 13, 32796, 62, 312, 796, 366, 24591, 4846, 1 ]
What was the largest crowd for North Melbourne
SELECT MAX(crowd) FROM table_name_98 WHERE home_team = "north melbourne"
[ 2061, 373, 262, 4387, 4315, 329, 2258, 14819, 46506, 25882, 7, 66, 3986, 8, 16034, 3084, 62, 3672, 62, 4089, 33411, 1363, 62, 15097, 796, 366, 43588, 7758, 12544, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 4387, 4315, 329, 2258, 14819, 46506, 25882, 7, 66, 3986, 8, 16034, 3084, 62, 3672, 62, 4089, 33411, 1363, 62, 15097, 796, 366, 43588, 7758, 12544, 1 ]
Which title was developed by Battlecry Studios?
SELECT title FROM table_name_96 WHERE developer = "battlecry studios"
[ 13828, 3670, 373, 4166, 416, 5838, 20470, 13799, 30, 46506, 3670, 16034, 3084, 62, 3672, 62, 4846, 33411, 8517, 796, 366, 38471, 20470, 20747, 1 ]
[ 1, 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, 3670, 373, 4166, 416, 5838, 20470, 13799, 30, 46506, 3670, 16034, 3084, 62, 3672, 62, 4846, 33411, 8517, 796, 366, 38471, 20470, 20747, 1 ]
longest time to accept answer, by user.
SELECT p.Id AS "post_link", p.OwnerUserId AS "user_link", DATEDIFF(day, a.CreationDate, creationdate) AS "days_elapsed", a.CreationDate AS Answered, v.CreationDate AS Accepted FROM Posts AS p, Posts AS a, Votes AS v WHERE a.ParentId = p.Id AND a.OwnerUserId = '##userid:int##' AND p.AcceptedAnswerId = v.PostId AND v.Pos...
[ 6511, 395, 640, 284, 2453, 3280, 11, 416, 2836, 13, 46506, 279, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 279, 13, 42419, 12982, 7390, 7054, 366, 7220, 62, 8726, 1600, 360, 11617, 29267, 7, 820, 11, 257, 13, 12443, 341, 10430, 11, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 6511, 395, 640, 284, 2453, 3280, 11, 416, 2836, 13, 46506, 279, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 279, 13, 42419, 12982, 7390, 7054, 366, 7220, 62, 8726, 1600, 360, 11617, 29267, 7, 820, 11, 257, 13, 12443, 341, 10430, 11, ...
Which Home has a Visitor of quebec nordiques, and a Score of 3 4, and a Record of 8 8 1?
SELECT home FROM table_name_62 WHERE visitor = "quebec nordiques" AND score = "3–4" AND record = "8–8–1"
[ 13828, 5995, 468, 257, 6911, 2072, 286, 627, 1765, 721, 299, 585, 6368, 11, 290, 257, 15178, 286, 513, 604, 11, 290, 257, 13266, 286, 807, 807, 352, 30, 46506, 1363, 16034, 3084, 62, 3672, 62, 5237, 33411, 21493, 796, 366, 421, 1765...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5995, 468, 257, 6911, 2072, 286, 627, 1765, 721, 299, 585, 6368, 11, 290, 257, 15178, 286, 513, 604, 11, 290, 257, 13266, 286, 807, 807, 352, 30, 46506, 1363, 16034, 3084, 62, 3672, 62, 5237, 33411, 21493, 796, 366, 421, 1765...
What are the notes for 6:31.16?
SELECT "Notes" FROM table_62946 WHERE "Time" = '6:31.16'
[ 2061, 389, 262, 4710, 329, 718, 25, 3132, 13, 1433, 30, 46506, 366, 16130, 1, 16034, 3084, 62, 48602, 3510, 33411, 366, 7575, 1, 796, 705, 21, 25, 3132, 13, 1433, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 262, 4710, 329, 718, 25, 3132, 13, 1433, 30, 46506, 366, 16130, 1, 16034, 3084, 62, 48602, 3510, 33411, 366, 7575, 1, 796, 705, 21, 25, 3132, 13, 1433, 6 ]
Name the engine for year less than 1977
SELECT "Engine" FROM table_68873 WHERE "Year" < '1977'
[ 5376, 262, 3113, 329, 614, 1342, 621, 15589, 46506, 366, 13798, 1, 16034, 3084, 62, 34427, 4790, 33411, 366, 17688, 1, 1279, 705, 37781, 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 ]
[ 5376, 262, 3113, 329, 614, 1342, 621, 15589, 46506, 366, 13798, 1, 16034, 3084, 62, 34427, 4790, 33411, 366, 17688, 1, 1279, 705, 37781, 6 ]
how many home discharged patients had operations on chordae tendineae?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.discharge_location = "HOME" AND procedures.short_title = "Chordae tendineae ops"
[ 4919, 867, 1363, 26476, 3871, 550, 4560, 319, 25594, 3609, 4327, 500, 3609, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, 13, 18108, 76, 62, 31...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 1363, 26476, 3871, 550, 4560, 319, 25594, 3609, 4327, 500, 3609, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, 13, 18108, 76, 62, 31...
Which event shows Matt St. Louis in second and a skip of John Morris?
SELECT event FROM table_name_24 WHERE skip = "john morris" AND second = "matt st. louis"
[ 13828, 1785, 2523, 4705, 520, 13, 5593, 287, 1218, 290, 257, 14267, 286, 1757, 14433, 30, 46506, 1785, 16034, 3084, 62, 3672, 62, 1731, 33411, 14267, 796, 366, 30686, 2146, 2442, 1, 5357, 1218, 796, 366, 76, 1078, 336, 13, 21081, 271,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1785, 2523, 4705, 520, 13, 5593, 287, 1218, 290, 257, 14267, 286, 1757, 14433, 30, 46506, 1785, 16034, 3084, 62, 3672, 62, 1731, 33411, 14267, 796, 366, 30686, 2146, 2442, 1, 5357, 1218, 796, 366, 76, 1078, 336, 13, 21081, 271,...
what team is first on the list ?
SELECT "pba team" FROM table_204_263 WHERE id = 1
[ 10919, 1074, 318, 717, 319, 262, 1351, 5633, 46506, 366, 79, 7012, 1074, 1, 16034, 3084, 62, 18638, 62, 29558, 33411, 4686, 796, 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 ]
[ 10919, 1074, 318, 717, 319, 262, 1351, 5633, 46506, 366, 79, 7012, 1074, 1, 16034, 3084, 62, 18638, 62, 29558, 33411, 4686, 796, 352 ]