question
stringlengths
12
243
context
stringlengths
45
517
answer
stringlengths
32
484
What are the main places for the streymoy region with an area of larger than 6.1?
columns: - name: main_places type: VARCHAR - name: regions type: VARCHAR - name: area type: VARCHAR table: table_name_91
SELECT main_places FROM table_name_91 WHERE regions = "streymoy" AND area > 6.1
In what Venue was the Result 1-3?
columns: - name: venue type: VARCHAR - name: result type: VARCHAR table: table_name_16
SELECT venue FROM table_name_16 WHERE result = "1-3"
What was the score for the game on June 30?
columns: - name: score type: VARCHAR - name: date type: VARCHAR table: table_name_65
SELECT score FROM table_name_65 WHERE date = "june 30"
What is the score of the game before January 22 with a 30-7-7 record?
columns: - name: score type: VARCHAR - name: january type: VARCHAR - name: record type: VARCHAR table: table_name_54
SELECT score FROM table_name_54 WHERE january < 22 AND record = "30-7-7"
How many draws are there when there are 11 wins, and more than 7 losses?
columns: - name: draws type: INTEGER - name: wins type: VARCHAR - name: losses type: VARCHAR table: table_name_92
SELECT SUM(draws) FROM table_name_92 WHERE wins = 11 AND losses > 7
When did the term end for the U.S. Marine Corps?
columns: - name: term_ended type: VARCHAR - name: branch type: VARCHAR table: table_name_5
SELECT term_ended FROM table_name_5 WHERE branch = "u.s. marine corps"
Name the score for scotland
columns: - name: score type: VARCHAR - name: country type: VARCHAR table: table_name_64
SELECT score FROM table_name_64 WHERE country = "scotland"
On 15/04/07 in the competition Super League XII, what was the score?
columns: - name: score type: VARCHAR - name: competition type: VARCHAR - name: date type: VARCHAR table: table_name_94
SELECT score FROM table_name_94 WHERE competition = "super league xii" AND date = "15/04/07"
who is third place when the tournament is delray beach?
columns: - name: third_place type: VARCHAR - name: tournament type: VARCHAR table: table_name_77
SELECT third_place FROM table_name_77 WHERE tournament = "delray beach"
What is 你 朋友's Label?
columns: - name: label type: VARCHAR - name: chinese__simplified_ type: VARCHAR table: table_name_92
SELECT label FROM table_name_92 WHERE chinese__simplified_ = "你 朋友"
What is the bleeding time for the disseminated intravascular coagulation condition?
columns: - name: bleeding_time type: VARCHAR - name: condition type: VARCHAR table: table_221653_1
SELECT COUNT(bleeding_time) FROM table_221653_1 WHERE condition = "Disseminated intravascular coagulation"
Which Opponent has a Venue of h, and a Result of 0–1, and a Date of 29 august 1998?
columns: - name: opponent type: VARCHAR - name: date type: VARCHAR - name: venue type: VARCHAR - name: result type: VARCHAR table: table_name_12
SELECT opponent FROM table_name_12 WHERE venue = "h" AND result = "0–1" AND date = "29 august 1998"
What is the median family income when the per capita is $24,114?
columns: - name: median_family_income type: VARCHAR - name: per_capita_income type: VARCHAR table: table_name_23
SELECT median_family_income FROM table_name_23 WHERE per_capita_income = "$24,114"
what is the lowest grid when the laps is more than 7 and the driver is rubens barrichello?
columns: - name: grid type: INTEGER - name: laps type: VARCHAR - name: driver type: VARCHAR table: table_name_21
SELECT MIN(grid) FROM table_name_21 WHERE laps > 7 AND driver = "rubens barrichello"
What is the highest number of students with a teacher:student ratio of 20.8?
columns: - name: students type: INTEGER - name: pupil_teacher_ratio type: VARCHAR table: table_1414743_1
SELECT MAX(students) FROM table_1414743_1 WHERE pupil_teacher_ratio = "20.8"
If the year is 2007, what is the top ten?
columns: - name: top_10s type: VARCHAR - name: year type: VARCHAR table: table_22838521_3
SELECT top_10s FROM table_22838521_3 WHERE year = 2007
What is Player, when To Par is +1, and when Score is 72-70-72=214?
columns: - name: player type: VARCHAR - name: to_par type: VARCHAR - name: score type: VARCHAR table: table_name_70
SELECT player FROM table_name_70 WHERE to_par = "+1" AND score = 72 - 70 - 72 = 214
What is the Purpose of the Callsign with a Freq currently of 4gld?
columns: - name: purpose type: VARCHAR - name: freq_currently type: VARCHAR table: table_name_59
SELECT purpose FROM table_name_59 WHERE freq_currently = "4gld"
On what circuit is there a class gts-2 race that takes place on May 27?
columns: - name: circuit type: VARCHAR - name: date type: VARCHAR - name: class type: VARCHAR table: table_name_68
SELECT circuit FROM table_name_68 WHERE date = "may 27" AND class = "gts-2"
What is the wins when there are 5 losses, and against is more than 1205?
columns: - name: wins type: INTEGER - name: losses type: VARCHAR - name: against type: VARCHAR table: table_name_33
SELECT MAX(wins) FROM table_name_33 WHERE losses = 5 AND against > 1205
What was the lowest attendance at a Fitzroy match?
columns: - name: crowd type: INTEGER - name: home_team type: VARCHAR table: table_name_68
SELECT MIN(crowd) FROM table_name_68 WHERE home_team = "fitzroy"
What year(s) did Hakeem Olajuwon play Center for Toronto?
columns: - name: years_in_toronto type: VARCHAR - name: player type: VARCHAR table: table_name_33
SELECT years_in_toronto FROM table_name_33 WHERE player = "hakeem olajuwon"
Which Centerfold model has a Date of 3-01?
columns: - name: centerfold_model type: VARCHAR - name: date type: VARCHAR table: table_name_54
SELECT centerfold_model FROM table_name_54 WHERE date = "3-01"
How many picks have charley sanders as the name, with a round greater than 22?
columns: - name: pick type: INTEGER - name: name type: VARCHAR - name: round type: VARCHAR table: table_name_78
SELECT SUM(pick) FROM table_name_78 WHERE name = "charley sanders" AND round > 22
How may women doubles winner were there when Philippe Aulner was mens singles winner?
columns: - name: womens_doubles type: VARCHAR - name: mens_singles type: VARCHAR table: table_15001957_1
SELECT COUNT(womens_doubles) FROM table_15001957_1 WHERE mens_singles = "Philippe Aulner"
What is the specification where senior high school is 25mm?
columns: - name: specification type: VARCHAR - name: senior_high_school__15_18_yrs_ type: VARCHAR table: table_13555999_1
SELECT specification FROM table_13555999_1 WHERE senior_high_school__15_18_yrs_ = "25mm"
Can you tell me the average Attendance that has the Opponent of new orleans saints, and the Week larger than 12?
columns: - name: attendance type: INTEGER - name: opponent type: VARCHAR - name: week type: VARCHAR table: table_name_45
SELECT AVG(attendance) FROM table_name_45 WHERE opponent = "new orleans saints" AND week > 12
What was the final for rouhollah hosseini?
columns: - name: final type: VARCHAR - name: athlete type: VARCHAR table: table_name_78
SELECT final FROM table_name_78 WHERE athlete = "rouhollah hosseini"
What is the long for the player with 26 carries?
columns: - name: long type: VARCHAR - name: car type: VARCHAR table: table_name_60
SELECT long FROM table_name_60 WHERE car = 26
On November 2 what was the record of the team?
columns: - name: record type: VARCHAR - name: date type: VARCHAR table: table_name_27
SELECT record FROM table_name_27 WHERE date = "november 2"
What district is Samuel A. Bridges ( D ) assigned to as a successor?
columns: - name: district type: VARCHAR - name: successor type: VARCHAR table: table_228439_4
SELECT district FROM table_228439_4 WHERE successor = "Samuel A. Bridges ( D )"
If the opponent is Kristian Pless, who was it against?
columns: - name: against type: VARCHAR - name: opponent type: VARCHAR table: table_23314951_4
SELECT against FROM table_23314951_4 WHERE opponent = "Kristian Pless"
How many opponents' points numbers are associated with the game at Ole Miss?
columns: - name: opponents type: VARCHAR - name: opponent type: VARCHAR table: table_24560733_1
SELECT COUNT(opponents) FROM table_24560733_1 WHERE opponent = "at Ole Miss"
Who had the highest points against new york?
columns: - name: high_points type: VARCHAR - name: team type: VARCHAR table: table_23211041_5
SELECT high_points FROM table_23211041_5 WHERE team = "New York"
What is the highest number of bronze when silver is larger than 0, rank is larger than 3?
columns: - name: bronze type: INTEGER - name: silver type: VARCHAR - name: rank type: VARCHAR table: table_name_69
SELECT MAX(bronze) FROM table_name_69 WHERE silver > 0 AND rank > 3
What European Cup is in Israeli Premier League?
columns: - name: european_cup type: VARCHAR - name: national_league type: VARCHAR table: table_name_24
SELECT european_cup FROM table_name_24 WHERE national_league = "israeli premier league"
What is the length for iin range 51-55?
columns: - name: length type: VARCHAR - name: iin_ranges type: VARCHAR table: table_15905399_1
SELECT length FROM table_15905399_1 WHERE iin_ranges = "51-55"
What is the region 2 (UK) date associated with a region 4 (Aus) date of July 31, 2008?
columns: - name: region_2__uk_ type: VARCHAR - name: region_4__australia_ type: VARCHAR table: table_240936_2
SELECT region_2__uk_ FROM table_240936_2 WHERE region_4__australia_ = "July 31, 2008"
How many Extra points have Touchdowns of 1, and a Player of ross kidston, and Points smaller than 5?
columns: - name: extra_points type: INTEGER - name: points type: VARCHAR - name: touchdowns type: VARCHAR - name: player type: VARCHAR table: table_name_92
SELECT SUM(extra_points) FROM table_name_92 WHERE touchdowns = 1 AND player = "ross kidston" AND points < 5
Name the gdp per capita for world rank being 131
columns: - name: gdp_per_capita type: VARCHAR - name: gdp_world_rank type: VARCHAR table: table_2249029_1
SELECT gdp_per_capita FROM table_2249029_1 WHERE gdp_world_rank = "131"
What is the Name when the runner-up was Sania Mirza Elena Vesnina?
columns: - name: name type: VARCHAR - name: runner_up type: VARCHAR table: table_name_77
SELECT name FROM table_name_77 WHERE runner_up = "sania mirza elena vesnina"
Which Song has a Weeks at number one larger than 2, and an Issue date(s) of 17 april - 8 may?
columns: - name: song type: VARCHAR - name: weeks_at_number_one type: VARCHAR - name: issue_date_s_ type: VARCHAR table: table_name_52
SELECT song FROM table_name_52 WHERE weeks_at_number_one > 2 AND issue_date_s_ = "17 april - 8 may"
What is the Format o Catalog F4 87199?
columns: - name: format type: VARCHAR - name: catalog type: VARCHAR table: table_name_99
SELECT format FROM table_name_99 WHERE catalog = "f4 87199"
What was the score for a goal of 6?
columns: - name: score type: VARCHAR - name: goal type: VARCHAR table: table_name_57
SELECT score FROM table_name_57 WHERE goal = 6
Name the goals with since less than 2007 and App(GS/Sub) of 97 (69/28)
columns: - name: goals type: VARCHAR - name: since type: VARCHAR - name: app_gs_sub_ type: VARCHAR table: table_name_57
SELECT goals FROM table_name_57 WHERE since < 2007 AND app_gs_sub_ = "97 (69/28)"
What was the total number of seats won where the % of votes is equal to 20.29?
columns: - name: seats_won type: VARCHAR - name: _percentage_of_votes type: VARCHAR table: table_149330_1
SELECT COUNT(seats_won) FROM table_149330_1 WHERE _percentage_of_votes = "20.29"
Name the record for july 18
columns: - name: record type: VARCHAR - name: date type: VARCHAR table: table_17103645_10
SELECT record FROM table_17103645_10 WHERE date = "July 18"
For an aggregate of 1-3, what was the 2nd leg?
columns: - name: agg type: VARCHAR table: table_name_74
SELECT 2 AS nd_leg FROM table_name_74 WHERE agg = "1-3"
How many draws have 1 win, 1 loss, and a Goal Differential of +1?
columns: - name: draws type: INTEGER - name: goal_differential type: VARCHAR - name: wins type: VARCHAR - name: losses type: VARCHAR table: table_name_85
SELECT SUM(draws) FROM table_name_85 WHERE wins = 1 AND losses = 1 AND goal_differential = "+1"
Which Set 3 has a Score of 0–3, a Time of 18:30, and a Date of july 10?
columns: - name: set_3 type: VARCHAR - name: date type: VARCHAR - name: score type: VARCHAR - name: time type: VARCHAR table: table_name_56
SELECT set_3 FROM table_name_56 WHERE score = "0–3" AND time = "18:30" AND date = "july 10"
What is Team, when Position is "LHP", and when Pick is "23"?
columns: - name: team type: VARCHAR - name: position type: VARCHAR - name: pick type: VARCHAR table: table_name_16
SELECT team FROM table_name_16 WHERE position = "lhp" AND pick = 23
what is the number of people in sri lanka
columns: - name: s_no type: INTEGER - name: opponent type: VARCHAR table: table_name_10
SELECT AVG(s_no) FROM table_name_10 WHERE opponent = "sri lanka"
What is the position in e4s ratings b when June 30, 2010 is the original airing on channel 4?
columns: - name: position_in_e4s_ratings_b type: VARCHAR - name: original_airing_on_channel_4 type: VARCHAR table: table_22170495_6
SELECT position_in_e4s_ratings_b FROM table_22170495_6 WHERE original_airing_on_channel_4 = "June 30, 2010"
How many total miles recorded for the racer who finished in 1:05:33?
columns: - name: miles__km_ type: VARCHAR - name: race_time type: VARCHAR table: table_17802778_1
SELECT miles__km_ FROM table_17802778_1 WHERE race_time = "1:05:33"
Which channel has Joel Meyers as the Play by play commentator?
columns: - name: channel type: VARCHAR - name: play_by_play type: VARCHAR table: table_name_71
SELECT channel FROM table_name_71 WHERE play_by_play = "joel meyers"
Who was the opponent at the game attended by 23,203?
columns: - name: opponent type: VARCHAR - name: attendance type: VARCHAR table: table_name_63
SELECT opponent FROM table_name_63 WHERE attendance = "23,203"
What is Rank, when Run 2 is 2:06.62?
columns: - name: rank type: VARCHAR - name: run_2 type: VARCHAR table: table_name_74
SELECT rank FROM table_name_74 WHERE run_2 = "2:06.62"
Which Total has a Gold smaller than 0?
columns: - name: total type: INTEGER - name: gold type: INTEGER table: table_name_29
SELECT SUM(total) FROM table_name_29 WHERE gold < 0
what is the organisation when the year is less than 2005 and the award is the best variety show host?
columns: - name: organisation type: VARCHAR - name: year type: VARCHAR - name: award type: VARCHAR table: table_name_84
SELECT organisation FROM table_name_84 WHERE year < 2005 AND award = "best variety show host"
How many Againsts have more than 15 wins?
columns: - name: against type: VARCHAR - name: wins type: INTEGER table: table_name_84
SELECT COUNT(against) FROM table_name_84 WHERE wins > 15
Emilya Valenti has what draw average?
columns: - name: draw type: INTEGER - name: artist type: VARCHAR table: table_name_31
SELECT AVG(draw) FROM table_name_31 WHERE artist = "emilya valenti"
What player belongs to the Chicago Blackhawks?
columns: - name: player type: VARCHAR - name: nhl_team type: VARCHAR table: table_2781227_2
SELECT player FROM table_2781227_2 WHERE nhl_team = "Chicago Blackhawks"
What is 1995 Grand Slam Tournament if 1996 is also grand slam tournaments?
columns: - name: Id type: VARCHAR table: table_name_33
SELECT 1990 FROM table_name_33 WHERE 1996 = "grand slam tournaments"
what is the competition when the result is won and the date is september 13, 1996?
columns: - name: competition type: VARCHAR - name: result type: VARCHAR - name: date type: VARCHAR table: table_name_87
SELECT competition FROM table_name_87 WHERE result = "won" AND date = "september 13, 1996"
What is the date opened if thedistrict ID is 11901?
columns: - name: date_opened type: VARCHAR - name: dist_id type: VARCHAR table: table_22665117_1
SELECT date_opened FROM table_22665117_1 WHERE dist_id = 11901
What player went to montreal college?
columns: - name: player type: VARCHAR - name: college type: VARCHAR table: table_20170644_5
SELECT player FROM table_20170644_5 WHERE college = "Montreal"
What is the total when the B Score was 9.15 for Cheng Fei ( chn )?
columns: - name: total type: INTEGER - name: b_score type: VARCHAR - name: gymnast type: VARCHAR table: table_name_70
SELECT AVG(total) FROM table_name_70 WHERE b_score = 9.15 AND gymnast = "cheng fei ( chn )"
What number truck is owned by Stephen Germain?
columns: - name: _number type: VARCHAR - name: listed_owner_s_ type: VARCHAR table: table_19908313_2
SELECT _number FROM table_19908313_2 WHERE listed_owner_s_ = "Stephen Germain"
What is the position of the player with a Pick # of 108?
columns: - name: position type: VARCHAR - name: pick__number type: VARCHAR table: table_name_18
SELECT position FROM table_name_18 WHERE pick__number = "108"
What network has an aspect of 4:3 and a PSIP Short Name of qvc?
columns: - name: network type: VARCHAR - name: aspect type: VARCHAR - name: psip_short_name type: VARCHAR table: table_name_80
SELECT network FROM table_name_80 WHERE aspect = "4:3" AND psip_short_name = "qvc"
Which game has a high rebound of Evans (7) and a high assist of Evans, Ollie (3)?
columns: - name: game type: INTEGER - name: high_rebounds type: VARCHAR - name: high_assists type: VARCHAR table: table_name_11
SELECT MAX(game) FROM table_name_11 WHERE high_rebounds = "evans (7)" AND high_assists = "evans, ollie (3)"
How many field goals does the player with 84 rebounds have?
columns: - name: field_goals type: INTEGER - name: rebounds type: VARCHAR table: table_24912693_4
SELECT MIN(field_goals) FROM table_24912693_4 WHERE rebounds = 84
In what region is the city of Austin?
columns: - name: region type: VARCHAR - name: city type: VARCHAR table: table_name_36
SELECT region FROM table_name_36 WHERE city = "austin"
Who was the opponent on April 21, 2008?
columns: - name: opponent type: VARCHAR - name: date type: VARCHAR table: table_name_44
SELECT opponent FROM table_name_44 WHERE date = "april 21, 2008"
What day is essendon the home team?
columns: - name: date type: VARCHAR - name: home_team type: VARCHAR table: table_name_69
SELECT date FROM table_name_69 WHERE home_team = "essendon"
If the amount of viewers is 5.14 million and the rating/share is 2.0/6, what is the ranking?
columns: - name: rating type: VARCHAR - name: viewers__millions_ type: VARCHAR table: table_19805130_3
SELECT rating FROM table_19805130_3 WHERE rating / SHARE(18 - 49) = 2.0 / 6 AND viewers__millions_ = "5.14"
Where was the location of the Mong Kok Stadium?
columns: - name: location type: VARCHAR - name: home_ground type: VARCHAR table: table_name_12
SELECT location FROM table_name_12 WHERE home_ground = "mong kok stadium"
WHich Team that has Points against of 43?
columns: - name: team type: VARCHAR - name: points_against type: VARCHAR table: table_name_17
SELECT team FROM table_name_17 WHERE points_against = 43
What is the title for YI?
columns: - name: title type: VARCHAR - name: name type: VARCHAR table: table_name_45
SELECT title FROM table_name_45 WHERE name = "yi"
Who did the high rebounds in the game where Douglas (28) did the high points?
columns: - name: high_rebounds type: VARCHAR - name: high_points type: VARCHAR table: table_18894744_6
SELECT high_rebounds FROM table_18894744_6 WHERE high_points = "Douglas (28)"
What is the place when the performance is 60.73m?
columns: - name: place type: VARCHAR - name: performance type: VARCHAR table: table_name_65
SELECT place FROM table_name_65 WHERE performance = "60.73m"
What was the draw when the points against was 234?
columns: - name: drawn type: VARCHAR - name: points_against type: VARCHAR table: table_name_96
SELECT drawn FROM table_name_96 WHERE points_against = "234"
What is the stadium of the san diego chargers?
columns: - name: stadium type: VARCHAR - name: team type: VARCHAR table: table_name_99
SELECT stadium FROM table_name_99 WHERE team = "san diego chargers"
with lola t86/50 chassis and less than 7 points what is the entrant?
columns: - name: entrant type: VARCHAR - name: points type: VARCHAR - name: chassis type: VARCHAR table: table_name_87
SELECT entrant FROM table_name_87 WHERE points < 7 AND chassis = "lola t86/50"
What is the country with a t7 place and a 69-68-72=209 score?
columns: - name: country type: VARCHAR - name: place type: VARCHAR - name: score type: VARCHAR table: table_name_70
SELECT country FROM table_name_70 WHERE place = "t7" AND score = 69 - 68 - 72 = 209
What is the highest Matches, when Prize Money is £5,000?
columns: - name: matches type: INTEGER - name: prize_money type: VARCHAR table: table_name_5
SELECT MAX(matches) FROM table_name_5 WHERE prize_money = "£5,000"
What was the date when the attendance was 77,918?
columns: - name: date type: VARCHAR - name: attendance type: VARCHAR table: table_name_90
SELECT date FROM table_name_90 WHERE attendance = "77,918"
What is the website of the school affiliated with the Church of England?
columns: - name: school type: VARCHAR - name: religious_affiliation type: VARCHAR table: table_28523_3
SELECT school AS website FROM table_28523_3 WHERE religious_affiliation = "Church of England"
Which School Colors were Founded of 1969, with an Institution of barton community college?
columns: - name: school_colors type: VARCHAR - name: founded type: VARCHAR - name: institution type: VARCHAR table: table_name_48
SELECT school_colors FROM table_name_48 WHERE founded = 1969 AND institution = "barton community college"
What is the Call sign of the Omni television network with a Digitial PSIP of 14.1?
columns: - name: call_sign type: VARCHAR - name: network type: VARCHAR - name: digital_psip type: VARCHAR table: table_name_52
SELECT call_sign FROM table_name_52 WHERE network = "omni television" AND digital_psip = 14.1
What was the mascot for the 2013-2014 principal named Frank Hendricsen?
columns: - name: mascot type: VARCHAR - name: principal__2013_2014_ type: VARCHAR table: table_name_7
SELECT mascot FROM table_name_7 WHERE principal__2013_2014_ = "frank hendricsen"
Name the most attendance for number 4
columns: - name: attendance type: INTEGER - name: _number type: VARCHAR table: table_16227492_1
SELECT MAX(attendance) FROM table_16227492_1 WHERE _number = 4
What pick in a round earlier than 4 did UCLA choose their pick?
columns: - name: pick type: VARCHAR - name: round type: VARCHAR - name: school_club_team type: VARCHAR table: table_name_64
SELECT pick FROM table_name_64 WHERE round < 4 AND school_club_team = "ucla"
How many sprint classifications are there where marco frapporti is the winner?
columns: - name: sprint_classification type: VARCHAR - name: winner type: VARCHAR table: table_25655781_17
SELECT COUNT(sprint_classification) FROM table_25655781_17 WHERE winner = "Marco Frapporti"
If the equation is 0 × 9² + 3 × 9 + 3, what is the result?
columns: - name: result type: INTEGER - name: equation type: VARCHAR table: table_17265535_7
SELECT MIN(result) FROM table_17265535_7 WHERE equation = "0 × 9² + 3 × 9 + 3"
How many teams scored exactly 38 points
columns: - name: team type: VARCHAR - name: points_for type: VARCHAR table: table_14288212_1
SELECT COUNT(team) FROM table_14288212_1 WHERE points_for = 38
Which tournament was on 2009 with 11?
columns: - name: tournament type: VARCHAR table: table_name_30
SELECT tournament FROM table_name_30 WHERE 2009 = "11"
Which station was opened in 2013, with no park & ride lot?
columns: - name: station_name type: VARCHAR - name: opening_year type: VARCHAR - name: park_and_ride_lot type: VARCHAR table: table_name_99
SELECT station_name FROM table_name_99 WHERE opening_year = "2013" AND park_and_ride_lot = "no"
What is Place, when Player is "Mike Souchak"?
columns: - name: place type: VARCHAR - name: player type: VARCHAR table: table_name_68
SELECT place FROM table_name_68 WHERE player = "mike souchak"
Which Week has a Result of l 13-16 and an Opponent of at buffalo bills?
columns: - name: week type: INTEGER - name: result type: VARCHAR - name: opponent type: VARCHAR table: table_name_27
SELECT AVG(week) FROM table_name_27 WHERE result = "l 13-16" AND opponent = "at buffalo bills"