Unnamed: 0
int64
0
60k
input
stringlengths
76
562
answer
stringlengths
18
557
34,900
<question>: What is the 2011 population if the headquarters is Chittorgarh? <context>: CREATE TABLE table_2168295_1 (population__2011_ VARCHAR, headquarters VARCHAR)
SELECT population__2011_ FROM table_2168295_1 WHERE headquarters = "Chittorgarh"
34,901
<question>: How many different municipal mayors were there in the municipality with an area of 42.66 km2? <context>: CREATE TABLE table_216776_2 (municipal_mayor VARCHAR, area__km²_ VARCHAR)
SELECT COUNT(municipal_mayor) FROM table_216776_2 WHERE area__km²_ = "42.66"
34,902
<question>: What municipality had 26839 people living in it in 2010? <context>: CREATE TABLE table_216776_2 (municipality VARCHAR, population__2010_ VARCHAR)
SELECT municipality FROM table_216776_2 WHERE population__2010_ = 26839
34,903
<question>: In what municipality were there 757.5 people per km2? <context>: CREATE TABLE table_216776_2 (municipality VARCHAR, pop_density__per_km²_ VARCHAR)
SELECT municipality FROM table_216776_2 WHERE pop_density__per_km²_ = "757.5"
34,904
<question>: How many different counts of the population in Cavinti in 2010 are there? <context>: CREATE TABLE table_216776_2 (population__2010_ VARCHAR, municipality VARCHAR)
SELECT COUNT(population__2010_) FROM table_216776_2 WHERE municipality = "Cavinti"
34,905
<question>: How many people per km2 are there in the municipality whose mayor is Boy Quiat? <context>: CREATE TABLE table_216776_2 (pop_density__per_km²_ VARCHAR, municipal_mayor VARCHAR)
SELECT pop_density__per_km²_ FROM table_216776_2 WHERE municipal_mayor = "Boy Quiat"
34,906
<question>: What's the number of the episode seen by 2.24 million people in the US? <context>: CREATE TABLE table_21696800_1 (_number VARCHAR, us_viewers__million_ VARCHAR)
SELECT _number FROM table_21696800_1 WHERE us_viewers__million_ = "2.24"
34,907
<question>: How many different episode numbers are there for episodes directed by Wayne Rose? <context>: CREATE TABLE table_21696800_1 (_number VARCHAR, directed_by VARCHAR)
SELECT COUNT(_number) FROM table_21696800_1 WHERE directed_by = "Wayne Rose"
34,908
<question>: How many wins does he get when he starts at 10? <context>: CREATE TABLE table_2169966_1 (wins VARCHAR, starts VARCHAR)
SELECT wins FROM table_2169966_1 WHERE starts = 10
34,909
<question>: How many wins does he have? <context>: CREATE TABLE table_2169966_1 (wins INTEGER)
SELECT MAX(wins) FROM table_2169966_1
34,910
<question>: What wast the percent cut for the nation with an 80% full gas storage? <context>: CREATE TABLE table_21690339_1 (_percentage_cut VARCHAR, gas_storage VARCHAR)
SELECT _percentage_cut FROM table_21690339_1 WHERE gas_storage = "80% full"
34,911
<question>: What was the gas storage status for the nation that had "yes" for alternative fuel? <context>: CREATE TABLE table_21690339_1 (gas_storage VARCHAR, alternative_fuel VARCHAR)
SELECT gas_storage FROM table_21690339_1 WHERE alternative_fuel = "Yes"
34,912
<question>: What was the percent cunt for the nation that had fuel oil stocks need only for industry as their fuel alternative? <context>: CREATE TABLE table_21690339_1 (_percentage_cut VARCHAR, alternative_fuel VARCHAR)
SELECT _percentage_cut FROM table_21690339_1 WHERE alternative_fuel = "Fuel oil stocks need only for industry"
34,913
<question>: What country had 20% imports from russia? <context>: CREATE TABLE table_21690339_1 (country VARCHAR, _percentage_of_imports_from_russia VARCHAR)
SELECT country FROM table_21690339_1 WHERE _percentage_of_imports_from_russia = "20%"
34,914
<question>: What country had a 100% cut? <context>: CREATE TABLE table_21690339_1 (country VARCHAR, _percentage_cut VARCHAR)
SELECT country FROM table_21690339_1 WHERE _percentage_cut = "100%"
34,915
<question>: What network garnered 2.74 million viewers for Supernatural? <context>: CREATE TABLE table_2170969_2 (network VARCHAR, viewers_in_millions VARCHAR)
SELECT network FROM table_2170969_2 WHERE viewers_in_millions = "2.74"
34,916
<question>: What season had 2.52 million viewers? <context>: CREATE TABLE table_2170969_2 (tv_season VARCHAR, viewers_in_millions VARCHAR)
SELECT tv_season FROM table_2170969_2 WHERE viewers_in_millions = "2.52"
34,917
<question>: What is the category for trains numbered 16609/16610? <context>: CREATE TABLE table_21716139_1 (category VARCHAR, train_no VARCHAR)
SELECT category FROM table_21716139_1 WHERE train_no = "16609/16610"
34,918
<question>: What trains have a category of express and a weekly frequency? <context>: CREATE TABLE table_21716139_1 (train_name VARCHAR, category VARCHAR, frequency VARCHAR)
SELECT train_name FROM table_21716139_1 WHERE category = "Express" AND frequency = "Weekly"
34,919
<question>: What is the train name that has a destination of Tuticorin? <context>: CREATE TABLE table_21716139_1 (train_name VARCHAR, destination VARCHAR)
SELECT train_name FROM table_21716139_1 WHERE destination = "Tuticorin"
34,920
<question>: What is the frequency of trains numbered 12671/12672? <context>: CREATE TABLE table_21716139_1 (frequency VARCHAR, train_no VARCHAR)
SELECT frequency FROM table_21716139_1 WHERE train_no = "12671/12672"
34,921
<question>: How many destinations have a weekly frequency and are named AC Express? <context>: CREATE TABLE table_21716139_1 (destination VARCHAR, frequency VARCHAR, train_name VARCHAR)
SELECT COUNT(destination) FROM table_21716139_1 WHERE frequency = "Weekly" AND train_name = "AC Express"
34,922
<question>: What is the number of frequencies that have a destination of Jaipur? <context>: CREATE TABLE table_21716139_1 (frequency VARCHAR, destination VARCHAR)
SELECT COUNT(frequency) FROM table_21716139_1 WHERE destination = "Jaipur"
34,923
<question>: What is the pick # for player david grannis? <context>: CREATE TABLE table_21721351_18 (pick__number INTEGER, player VARCHAR)
SELECT MAX(pick__number) FROM table_21721351_18 WHERE player = "David Grannis"
34,924
<question>: Which player belongs to deerfield academy (Massachusetts) college/junior/club team? <context>: CREATE TABLE table_21721351_18 (player VARCHAR, college_junior_club_team VARCHAR)
SELECT player FROM table_21721351_18 WHERE college_junior_club_team = "Deerfield Academy (Massachusetts)"
34,925
<question>: Which nationality is kitchener rangers (ohl) college/junior/club team? <context>: CREATE TABLE table_21721351_18 (nationality VARCHAR, college_junior_club_team VARCHAR)
SELECT nationality FROM table_21721351_18 WHERE college_junior_club_team = "Kitchener Rangers (OHL)"
34,926
<question>: Which nationality is player Brian Wilks? <context>: CREATE TABLE table_21721351_18 (nationality VARCHAR, player VARCHAR)
SELECT nationality FROM table_21721351_18 WHERE player = "Brian Wilks"
34,927
<question>: How many positions is player Tom Glavine? <context>: CREATE TABLE table_21721351_18 (position VARCHAR, player VARCHAR)
SELECT COUNT(position) FROM table_21721351_18 WHERE player = "Tom Glavine"
34,928
<question>: who directed the production code 2t5710? <context>: CREATE TABLE table_21726793_1 (directed_by VARCHAR, production_code VARCHAR)
SELECT directed_by FROM table_21726793_1 WHERE production_code = "2T5710"
34,929
<question>: what is the total number o production code where us viewers is 2.76? <context>: CREATE TABLE table_21726793_1 (production_code VARCHAR, us_viewers__million_ VARCHAR)
SELECT COUNT(production_code) FROM table_21726793_1 WHERE us_viewers__million_ = "2.76"
34,930
<question>: who wrote the no 2? <context>: CREATE TABLE table_21726793_1 (written_by VARCHAR, no VARCHAR)
SELECT written_by FROM table_21726793_1 WHERE no = 2
34,931
<question>: What is the maac when the overall is 26-8? <context>: CREATE TABLE table_21756039_1 (maac VARCHAR, overall VARCHAR)
SELECT maac FROM table_21756039_1 WHERE overall = "26-8"
34,932
<question>: How many maac are there that have 14th as the ncaa and the overall is 20-10? <context>: CREATE TABLE table_21756039_1 (maac VARCHAR, ncaa_seed VARCHAR, overall VARCHAR)
SELECT COUNT(maac) FROM table_21756039_1 WHERE ncaa_seed = "14th" AND overall = "20-10"
34,933
<question>: How many overall in the year 2010-2011? <context>: CREATE TABLE table_21756039_1 (overall VARCHAR, year VARCHAR)
SELECT COUNT(overall) FROM table_21756039_1 WHERE year = "2010-2011"
34,934
<question>: In which year is the overall 29-4? <context>: CREATE TABLE table_21756039_1 (year VARCHAR, overall VARCHAR)
SELECT year FROM table_21756039_1 WHERE overall = "29-4"
34,935
<question>: What is the regular season results for the year 2011-2012? <context>: CREATE TABLE table_21756039_1 (regular_season_results VARCHAR, year VARCHAR)
SELECT regular_season_results FROM table_21756039_1 WHERE year = "2011-2012"
34,936
<question>: How many drivers had a time of 3:09:45? <context>: CREATE TABLE table_2175858_1 (driver VARCHAR, race_time VARCHAR)
SELECT COUNT(driver) FROM table_2175858_1 WHERE race_time = "3:09:45"
34,937
<question>: How many drivers drove 300 laps at average speed of 103.594? <context>: CREATE TABLE table_2175858_1 (driver VARCHAR, laps VARCHAR, average_speed__mph_ VARCHAR)
SELECT COUNT(driver) FROM table_2175858_1 WHERE laps = "300" AND average_speed__mph_ = "103.594"
34,938
<question>: How many dates had an average speed of 102.003? <context>: CREATE TABLE table_2175858_1 (date VARCHAR, average_speed__mph_ VARCHAR)
SELECT COUNT(date) FROM table_2175858_1 WHERE average_speed__mph_ = "102.003"
34,939
<question>: How many laps were driven in 2009? <context>: CREATE TABLE table_2175858_1 (laps VARCHAR, year VARCHAR)
SELECT laps FROM table_2175858_1 WHERE year = 2009
34,940
<question>: How many laps were completed in the race with time of 3:03:50? <context>: CREATE TABLE table_2175858_1 (laps VARCHAR, race_time VARCHAR)
SELECT laps FROM table_2175858_1 WHERE race_time = "3:03:50"
34,941
<question>: How many miles were driven with the average speed at 116.81? <context>: CREATE TABLE table_2175858_1 (miles__km_ VARCHAR, average_speed__mph_ VARCHAR)
SELECT miles__km_ FROM table_2175858_1 WHERE average_speed__mph_ = "116.81"
34,942
<question>: What was the season number for production code E2110? <context>: CREATE TABLE table_21781578_2 (season_no VARCHAR, production_code VARCHAR)
SELECT season_no FROM table_21781578_2 WHERE production_code = "E2110"
34,943
<question>: What was the original air date for season number 2? <context>: CREATE TABLE table_21781578_2 (original_air_date VARCHAR, season_no VARCHAR)
SELECT original_air_date FROM table_21781578_2 WHERE season_no = 2
34,944
<question>: What was the season number episode directed by John David Coles? <context>: CREATE TABLE table_21781578_2 (season_no VARCHAR, directed_by VARCHAR)
SELECT season_no FROM table_21781578_2 WHERE directed_by = "John David Coles"
34,945
<question>: What was the number of US Viewers in the episode directed by Steve Shill and having a production code of E2102? <context>: CREATE TABLE table_21781578_2 (us_viewers__millions_ VARCHAR, directed_by VARCHAR, production_code VARCHAR)
SELECT us_viewers__millions_ FROM table_21781578_2 WHERE directed_by = "Steve Shill" AND production_code = "E2102"
34,946
<question>: What was the number of season number entries that had US Viewers of 12.30 million? <context>: CREATE TABLE table_21781578_2 (season_no VARCHAR, us_viewers__millions_ VARCHAR)
SELECT COUNT(season_no) FROM table_21781578_2 WHERE us_viewers__millions_ = "12.30"
34,947
<question>: What was the date of the game in week 3? <context>: CREATE TABLE table_21761882_4 (date VARCHAR, week VARCHAR)
SELECT date FROM table_21761882_4 WHERE week = 3
34,948
<question>: What was the final score when the game was @ roughriders? <context>: CREATE TABLE table_21761882_4 (final_score VARCHAR, opponent VARCHAR)
SELECT final_score FROM table_21761882_4 WHERE opponent = "@ Roughriders"
34,949
<question>: What was the total number of weeks where the game played Ivor Wynne Stadium? <context>: CREATE TABLE table_21761882_4 (week VARCHAR, location VARCHAR)
SELECT COUNT(week) FROM table_21761882_4 WHERE location = "Ivor Wynne Stadium"
34,950
<question>: What was the location for when the opponent was @ roughriders? <context>: CREATE TABLE table_21761882_4 (location VARCHAR, opponent VARCHAR)
SELECT location FROM table_21761882_4 WHERE opponent = "@ Roughriders"
34,951
<question>: What was the final score when the attendance was 25598? <context>: CREATE TABLE table_21761882_4 (final_score VARCHAR, attendance VARCHAR)
SELECT final_score FROM table_21761882_4 WHERE attendance = 25598
34,952
<question>: What location was the game on October 6? <context>: CREATE TABLE table_21761882_4 (location VARCHAR, date VARCHAR)
SELECT location FROM table_21761882_4 WHERE date = "October 6"
34,953
<question>: What's the lowest rating with 11.2 million viewers? <context>: CREATE TABLE table_217785_2 (ranking INTEGER, viewers__in_millions_of_households_ VARCHAR)
SELECT MIN(ranking) FROM table_217785_2 WHERE viewers__in_millions_of_households_ = "11.2"
34,954
<question>: When did the season finale ranked at 73 first air? <context>: CREATE TABLE table_217785_2 (season VARCHAR, ranking VARCHAR)
SELECT season AS finale FROM table_217785_2 WHERE ranking = 73
34,955
<question>: Which season received 10.2 million viewers? <context>: CREATE TABLE table_217785_2 (tv_season VARCHAR, viewers__in_millions_of_households_ VARCHAR)
SELECT COUNT(tv_season) FROM table_217785_2 WHERE viewers__in_millions_of_households_ = "10.2"
34,956
<question>: When 19/05/2002 is the date of withdrawn what is the name? <context>: CREATE TABLE table_21795986_1 (name VARCHAR, withdrawn VARCHAR)
SELECT name FROM table_21795986_1 WHERE withdrawn = "19/05/2002"
34,957
<question>: When 2008 t is the original number what is the lowest year? <context>: CREATE TABLE table_21795986_1 (year INTEGER, original_number VARCHAR)
SELECT MIN(year) FROM table_21795986_1 WHERE original_number = "2008 T"
34,958
<question>: When 9/07/1999 is the date of withdrawn what is the original number? <context>: CREATE TABLE table_21795986_1 (original_number VARCHAR, withdrawn VARCHAR)
SELECT original_number FROM table_21795986_1 WHERE withdrawn = "9/07/1999"
34,959
<question>: WHO WAS THE STAGE WINNER IN THE STAGE WHERE MICHAEL ALBASINI WON THE METAS VOLANTES CLASSIFICATION? <context>: CREATE TABLE table_21804557_18 (stage__winner_ VARCHAR, metas_volantes_classification VARCHAR)
SELECT stage__winner_ FROM table_21804557_18 WHERE metas_volantes_classification = "Michael Albasini"
34,960
<question>: Who got the mountains classification when Michael Albasini won the stage? <context>: CREATE TABLE table_21804557_18 (mountains_classification VARCHAR, metas_volantes_classification VARCHAR)
SELECT mountains_classification FROM table_21804557_18 WHERE metas_volantes_classification = "Michael Albasini"
34,961
<question>: How many people were present at the July 10 game? <context>: CREATE TABLE table_21796261_4 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_21796261_4 WHERE date = "July 10"
34,962
<question>: What was the final score of the game played on July 10? <context>: CREATE TABLE table_21796261_4 (final_score VARCHAR, date VARCHAR)
SELECT final_score FROM table_21796261_4 WHERE date = "July 10"
34,963
<question>: What's the record achieved in the gamed played at BC Place Stadium? <context>: CREATE TABLE table_21796261_4 (record VARCHAR, location VARCHAR)
SELECT record FROM table_21796261_4 WHERE location = "BC Place Stadium"
34,964
<question>: During what week was the July 10 game played? <context>: CREATE TABLE table_21796261_4 (week VARCHAR, date VARCHAR)
SELECT week FROM table_21796261_4 WHERE date = "July 10"
34,965
<question>: When was the game on Taylor Field played? <context>: CREATE TABLE table_21796261_4 (date VARCHAR, location VARCHAR)
SELECT date FROM table_21796261_4 WHERE location = "Taylor Field"
34,966
<question>: Who placed fourth when the winner was Greg Hancock? <context>: CREATE TABLE table_21808535_1 (winner VARCHAR)
SELECT 4 AS th_placed FROM table_21808535_1 WHERE winner = "Greg Hancock"
34,967
<question>: Who was the runner-up on September 11? <context>: CREATE TABLE table_21808535_1 (runner_up VARCHAR, date VARCHAR)
SELECT runner_up FROM table_21808535_1 WHERE date = "September 11"
34,968
<question>: How many rounds were on July 10? <context>: CREATE TABLE table_21808535_1 (round VARCHAR, date VARCHAR)
SELECT COUNT(round) FROM table_21808535_1 WHERE date = "July 10"
34,969
<question>: Name the number of years for 18.5 <context>: CREATE TABLE table_2181798_1 (year VARCHAR, avg_finish VARCHAR)
SELECT COUNT(year) FROM table_2181798_1 WHERE avg_finish = "18.5"
34,970
<question>: Name the max top 5 for avg finish being 27.6 <context>: CREATE TABLE table_2181798_1 (top_5 INTEGER, avg_finish VARCHAR)
SELECT MAX(top_5) FROM table_2181798_1 WHERE avg_finish = "27.6"
34,971
<question>: Name the number of wins for 30 starts <context>: CREATE TABLE table_2181798_1 (wins VARCHAR, starts VARCHAR)
SELECT COUNT(wins) FROM table_2181798_1 WHERE starts = 30
34,972
<question>: Name the year for donlavey racing bill davis racing <context>: CREATE TABLE table_2181798_1 (year VARCHAR, team_s_ VARCHAR)
SELECT year FROM table_2181798_1 WHERE team_s_ = "Donlavey Racing Bill Davis Racing"
34,973
<question>: Name the starts for 23.7 <context>: CREATE TABLE table_2181798_1 (starts VARCHAR, avg_start VARCHAR)
SELECT starts FROM table_2181798_1 WHERE avg_start = "23.7"
34,974
<question>: Name the position for 23.7 avg start <context>: CREATE TABLE table_2181798_1 (position VARCHAR, avg_start VARCHAR)
SELECT COUNT(position) FROM table_2181798_1 WHERE avg_start = "23.7"
34,975
<question>: What is the car number for the Chevrolet Monte Carlo that Teresa Earnhardt owns and Paul Menard is her driver? <context>: CREATE TABLE table_2182170_1 (_number INTEGER, driver_s_ VARCHAR, car_s_ VARCHAR, listed_owner_s_ VARCHAR)
SELECT MIN(_number) FROM table_2182170_1 WHERE car_s_ = "Chevrolet Monte Carlo" AND listed_owner_s_ = "Teresa Earnhardt" AND driver_s_ = "Paul Menard"
34,976
<question>: What type of car does Jeff Fuller drive? <context>: CREATE TABLE table_2182170_1 (car_s_ VARCHAR, driver_s_ VARCHAR)
SELECT car_s_ FROM table_2182170_1 WHERE driver_s_ = "Jeff Fuller"
34,977
<question>: How many cars does Gregg Mixon own? <context>: CREATE TABLE table_2182170_1 (car_s_ VARCHAR, listed_owner_s_ VARCHAR)
SELECT COUNT(car_s_) FROM table_2182170_1 WHERE listed_owner_s_ = "Gregg Mixon"
34,978
<question>: Who is Wayne Day's crew chief? <context>: CREATE TABLE table_2182170_1 (crew_chief VARCHAR, listed_owner_s_ VARCHAR)
SELECT crew_chief FROM table_2182170_1 WHERE listed_owner_s_ = "Wayne Day"
34,979
<question>: What number is on the car that Geoffrey Bodine drives? <context>: CREATE TABLE table_2182170_1 (_number INTEGER, driver_s_ VARCHAR)
SELECT MIN(_number) FROM table_2182170_1 WHERE driver_s_ = "Geoffrey Bodine"
34,980
<question>: What episode number in the season is episode 24 in the series? <context>: CREATE TABLE table_2182654_3 (no_in_season VARCHAR, no_in_series VARCHAR)
SELECT no_in_season FROM table_2182654_3 WHERE no_in_series = 24
34,981
<question>: How many episodes in the season were directed by Jeremy Podeswa? <context>: CREATE TABLE table_2182654_3 (no_in_season VARCHAR, directed_by VARCHAR)
SELECT COUNT(no_in_season) FROM table_2182654_3 WHERE directed_by = "Jeremy Podeswa"
34,982
<question>: What is the name of the episode directed by Miguel Arteta? <context>: CREATE TABLE table_2182654_3 (title VARCHAR, directed_by VARCHAR)
SELECT title FROM table_2182654_3 WHERE directed_by = "Miguel Arteta"
34,983
<question>: How many episodes in the series were directed by Alan Taylor? <context>: CREATE TABLE table_2182654_3 (no_in_series VARCHAR, directed_by VARCHAR)
SELECT COUNT(no_in_series) FROM table_2182654_3 WHERE directed_by = "Alan Taylor"
34,984
<question>: How many different teams had an average start of 12.9? <context>: CREATE TABLE table_2182562_2 (team_s_ VARCHAR, avg_start VARCHAR)
SELECT COUNT(team_s_) FROM table_2182562_2 WHERE avg_start = "12.9"
34,985
<question>: How high was the amount of winnings (in $) in the year with 15 starts? <context>: CREATE TABLE table_2182562_2 (winnings VARCHAR, starts VARCHAR)
SELECT winnings FROM table_2182562_2 WHERE starts = 15
34,986
<question>: How many different amounts of winnings were there for the year when the team had an average finish of 17.4? <context>: CREATE TABLE table_2182562_2 (winnings VARCHAR, avg_finish VARCHAR)
SELECT COUNT(winnings) FROM table_2182562_2 WHERE avg_finish = "17.4"
34,987
<question>: What was the top 5 in the year with an average finish of 8.2? <context>: CREATE TABLE table_2182562_2 (top_5 INTEGER, avg_finish VARCHAR)
SELECT MIN(top_5) FROM table_2182562_2 WHERE avg_finish = "8.2"
34,988
<question>: What was the position of the team with an average finish of 21.5? <context>: CREATE TABLE table_2182562_2 (position VARCHAR, avg_finish VARCHAR)
SELECT position FROM table_2182562_2 WHERE avg_finish = "21.5"
34,989
<question>: How many years was the position 97th? <context>: CREATE TABLE table_2182562_1 (year VARCHAR, position VARCHAR)
SELECT COUNT(year) FROM table_2182562_1 WHERE position = "97th"
34,990
<question>: How many wins when the average start is 29.0? <context>: CREATE TABLE table_2182562_1 (wins VARCHAR, avg_start VARCHAR)
SELECT COUNT(wins) FROM table_2182562_1 WHERE avg_start = "29.0"
34,991
<question>: What is the average finish when winnings equals $71,200? <context>: CREATE TABLE table_2182562_1 (avg_finish VARCHAR, winnings VARCHAR)
SELECT avg_finish FROM table_2182562_1 WHERE winnings = "$71,200"
34,992
<question>: What year did the winnings equal $281,945? <context>: CREATE TABLE table_2182562_1 (year VARCHAR, winnings VARCHAR)
SELECT year FROM table_2182562_1 WHERE winnings = "$281,945"
34,993
<question>: What are the top 5 average finishes equalling 40.3? <context>: CREATE TABLE table_2182562_1 (top_5 VARCHAR, avg_finish VARCHAR)
SELECT top_5 FROM table_2182562_1 WHERE avg_finish = "40.3"
34,994
<question>: Who wrote episode 31 in the series? <context>: CREATE TABLE table_21831229_3 (written_by VARCHAR, no_in_series VARCHAR)
SELECT written_by FROM table_21831229_3 WHERE no_in_series = 31
34,995
<question>: What was the date that the episode with a production code of 213 was originally aired? <context>: CREATE TABLE table_21831229_3 (original_us_air_date VARCHAR, prod_code VARCHAR)
SELECT original_us_air_date FROM table_21831229_3 WHERE prod_code = 213
34,996
<question>: Who was playing when the score was 5–7, 6–7 (4–7)? <context>: CREATE TABLE table_2186447_1 (opponents VARCHAR, score VARCHAR)
SELECT opponents FROM table_2186447_1 WHERE score = "5–7, 6–7 (4–7)"
34,997
<question>: Who was playing when the score was 5–7, 5–7? <context>: CREATE TABLE table_2186447_1 (opponents VARCHAR, score VARCHAR)
SELECT opponents FROM table_2186447_1 WHERE score = "5–7, 5–7"
34,998
<question>: How many partners were there when the score was 7–6 (7–4) , 6–3? <context>: CREATE TABLE table_2186447_1 (partner VARCHAR, score VARCHAR)
SELECT COUNT(partner) FROM table_2186447_1 WHERE score = "7–6 (7–4) , 6–3"
34,999
<question>: What was their record when they played the stampeders? <context>: CREATE TABLE table_21839208_4 (record VARCHAR, opponent VARCHAR)
SELECT record FROM table_21839208_4 WHERE opponent = "Stampeders"