answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT settlement FROM table_2562572_44 WHERE cyrillic_name_other_names = "Локве (Romanian: Locve)"
CREATE TABLE table_2562572_44 (settlement VARCHAR, cyrillic_name_other_names VARCHAR)
Which settlement has the cyrillic and other name of локве (romanian: locve)?
SELECT MAX(population__2011_) FROM table_2562572_44 WHERE cyrillic_name_other_names = "Добрица"
CREATE TABLE table_2562572_44 (population__2011_ INTEGER, cyrillic_name_other_names VARCHAR)
What is the population of the settlement with the cyrillic name of добрица?
SELECT settlement FROM table_2562572_46 WHERE cyrillic_name_other_names = "Војводинци (Romanian: Voivodinţ)"
CREATE TABLE table_2562572_46 (settlement VARCHAR, cyrillic_name_other_names VARCHAR)
Which settlement has a cyrillic and other name of војводинци (romanian: voivodinţ)?
SELECT dominant_religion__2002_ FROM table_2562572_46 WHERE cyrillic_name_other_names = "Војводинци (Romanian: Voivodinţ)"
CREATE TABLE table_2562572_46 (dominant_religion__2002_ VARCHAR, cyrillic_name_other_names VARCHAR)
What was the dominant religion in 2002 of the settlement with the cyrillic and other name of војводинци (romanian: voivodinţ)?
SELECT MAX(population__2011_) FROM table_2562572_46 WHERE cyrillic_name_other_names = "Ватин"
CREATE TABLE table_2562572_46 (population__2011_ INTEGER, cyrillic_name_other_names VARCHAR)
What was the population in 2011 of the settlement with the cyrillic name of ватин?
SELECT largest_ethnic_group__2002_ FROM table_2562572_46 WHERE settlement = "Sočica"
CREATE TABLE table_2562572_46 (largest_ethnic_group__2002_ VARCHAR, settlement VARCHAR)
What was the largest ethnic group in sočica?
SELECT population__2011_ FROM table_2562572_46 WHERE settlement = "Pavliš"
CREATE TABLE table_2562572_46 (population__2011_ VARCHAR, settlement VARCHAR)
What was the 2011 population of pavliš?
SELECT largest_ethnic_group__2002_ FROM table_2562572_46 WHERE cyrillic_name_other_names = "Ватин"
CREATE TABLE table_2562572_46 (largest_ethnic_group__2002_ VARCHAR, cyrillic_name_other_names VARCHAR)
What was the largest ethnic group in 2002 of the settlement with the cyrillic name of ватин?
SELECT dominant_religion__2002_ FROM table_2562572_50 WHERE settlement = "Mala Remeta"
CREATE TABLE table_2562572_50 (dominant_religion__2002_ VARCHAR, settlement VARCHAR)
What was the dominant religion (2002) of the Mala Remeta settlement?
SELECT type FROM table_2562572_50 WHERE settlement = "Krušedol Selo"
CREATE TABLE table_2562572_50 (type VARCHAR, settlement VARCHAR)
What type of settlemen is Krušedol Selo?
SELECT COUNT(type) FROM table_2562572_50 WHERE settlement = "Neradin"
CREATE TABLE table_2562572_50 (type VARCHAR, settlement VARCHAR)
How many types of settlement if Neradin?
SELECT type FROM table_2562572_50 WHERE settlement = "Jazak"
CREATE TABLE table_2562572_50 (type VARCHAR, settlement VARCHAR)
What type of settlement is Jazak?
SELECT settlement FROM table_2562572_53 WHERE population__2011_ = 9443
CREATE TABLE table_2562572_53 (settlement VARCHAR, population__2011_ VARCHAR)
What is the name of the settlement that had a population of 9443 in 2011?
SELECT COUNT(type) FROM table_2562572_53 WHERE settlement = "Nova Pazova"
CREATE TABLE table_2562572_53 (type VARCHAR, settlement VARCHAR)
How many different types of settlements does Nova Pazova fall into?
SELECT largest_ethnic_group__2002_ FROM table_2562572_53 WHERE cyrillic_name = "Сурдук"
CREATE TABLE table_2562572_53 (largest_ethnic_group__2002_ VARCHAR, cyrillic_name VARCHAR)
What ethnic group had the largest population in сурдук in 2002?
SELECT COUNT(dominant_religion__2002_) FROM table_2562572_53 WHERE population__2011_ = 17105
CREATE TABLE table_2562572_53 (dominant_religion__2002_ VARCHAR, population__2011_ VARCHAR)
How many dominant religions were in the settlement that had a population of 17105?
SELECT COUNT(population__2011_) FROM table_2562572_53 WHERE cyrillic_name = "Сурдук"
CREATE TABLE table_2562572_53 (population__2011_ VARCHAR, cyrillic_name VARCHAR)
What was the population of сурдук in 2011?
SELECT MAX(meas_num) FROM table_256286_13 WHERE description = "Extending Eminent Domain Over Roads and Ways"
CREATE TABLE table_256286_13 (meas_num INTEGER, description VARCHAR)
When extending eminent domain over roads and ways is the description what is the highest means number?
SELECT COUNT(type) FROM table_256286_13 WHERE description = "Restoring Capital Punishment"
CREATE TABLE table_256286_13 (type VARCHAR, description VARCHAR)
When restoring capital punishment is the description how many types are there?
SELECT MIN(no_votes) FROM table_256286_13
CREATE TABLE table_256286_13 (no_votes INTEGER)
What is the lowest overall amount of no votes?
SELECT urban_settlement FROM table_2562572_7 WHERE city___municipality = "Kovin"
CREATE TABLE table_2562572_7 (urban_settlement VARCHAR, city___municipality VARCHAR)
What was the urban settlement when the city / municipality was kovin?
SELECT COUNT(population__1991_) FROM table_2562572_7 WHERE population__2002_ = 14250
CREATE TABLE table_2562572_7 (population__1991_ VARCHAR, population__2002_ VARCHAR)
What is the population (1991) where population (2002) was 14250?
SELECT MIN(population__1991_) FROM table_2562572_7 WHERE cyrillic_name = "Панчево"
CREATE TABLE table_2562572_7 (population__1991_ INTEGER, cyrillic_name VARCHAR)
What is the population (1991) when cyrillic name is панчево?
SELECT settlement AS destiny FROM table_2562572_56 WHERE settlement = "Aleksandrovo"
CREATE TABLE table_2562572_56 (settlement VARCHAR)
What is the settlement destiny in Aleksandrovo?
SELECT cyrillic_name_other_names FROM table_2562572_56 WHERE settlement = "Novi Vladimirovac"
CREATE TABLE table_2562572_56 (cyrillic_name_other_names VARCHAR, settlement VARCHAR)
What is the Cyrillic name for Novi Vladimirovac?
SELECT COUNT(population__2011_) FROM table_2562572_54 WHERE settlement = "Krčedin"
CREATE TABLE table_2562572_54 (population__2011_ VARCHAR, settlement VARCHAR)
How many items appear in the population 2011 column for the krčedin settlement?
SELECT dominant_religion__2002_ FROM table_2562572_54 WHERE population__2011_ = 2337
CREATE TABLE table_2562572_54 (dominant_religion__2002_ VARCHAR, population__2011_ VARCHAR)
What is the dominant religion in 2002 for the population of 2337 in 2011?
SELECT MIN(population__2011_) FROM table_2562572_54 WHERE settlement = "Čortanovci"
CREATE TABLE table_2562572_54 (population__2011_ INTEGER, settlement VARCHAR)
What is the lowest population in 2011 for the settlement of čortanovci?
SELECT largest_ethnic_group__2002_ FROM table_2562572_54 WHERE cyrillic_name_other_names = "Бешка"
CREATE TABLE table_2562572_54 (largest_ethnic_group__2002_ VARCHAR, cyrillic_name_other_names VARCHAR)
What is the largest ethnic group in 2002 for the cyrillic name, other name of бешка?
SELECT MIN(population__2002_) FROM table_2562572_8 WHERE population__2011_ = 30076
CREATE TABLE table_2562572_8 (population__2002_ INTEGER, population__2011_ VARCHAR)
What was the lowes population of 2002 when the 2011 population was 30076?
SELECT dominant_religion__2002_ FROM table_2562572_9 WHERE cyrillic_name_other_names = "Степановићево"
CREATE TABLE table_2562572_9 (dominant_religion__2002_ VARCHAR, cyrillic_name_other_names VARCHAR)
What is the dominant religion in степановићево during 2002?
SELECT cyrillic_name_other_names FROM table_2562572_9 WHERE population__2011_ = 2125
CREATE TABLE table_2562572_9 (cyrillic_name_other_names VARCHAR, population__2011_ VARCHAR)
What is the cyrillic name for the settlement with the population of 2125?
SELECT type FROM table_2562572_9 WHERE cyrillic_name_other_names = "Футог"
CREATE TABLE table_2562572_9 (type VARCHAR, cyrillic_name_other_names VARCHAR)
What type of settlement is футог?
SELECT cyrillic_name_other_names FROM table_2562572_9 WHERE population__2011_ = 5414
CREATE TABLE table_2562572_9 (cyrillic_name_other_names VARCHAR, population__2011_ VARCHAR)
What is the cyrillic name for the settlement with the population of 5414?
SELECT cyrillic_name_other_names FROM table_2562572_9 WHERE settlement = "Budisava"
CREATE TABLE table_2562572_9 (cyrillic_name_other_names VARCHAR, settlement VARCHAR)
What is the cyrillic name for Budisava?
SELECT dominant_religion__2002_ FROM table_2562572_9 WHERE cyrillic_name_other_names = "Нови Сад"
CREATE TABLE table_2562572_9 (dominant_religion__2002_ VARCHAR, cyrillic_name_other_names VARCHAR)
What is the dominant religion for нови сад in 2002?
SELECT MAX(yes_votes) FROM table_256286_19 WHERE no_votes = 61307
CREATE TABLE table_256286_19 (yes_votes INTEGER, no_votes VARCHAR)
What is the largest number of yest votes for the measure with 61307 no votes?
SELECT meas_num FROM table_256286_19 WHERE _percentage_yes = "58.29%"
CREATE TABLE table_256286_19 (meas_num VARCHAR, _percentage_yes VARCHAR)
What numbered measure had a 58.29% yes%?
SELECT passed FROM table_256286_19 WHERE no_votes = 61307
CREATE TABLE table_256286_19 (passed VARCHAR, no_votes VARCHAR)
What was the passing result for the measure with 61307 no votes?
SELECT MIN(meas_num) FROM table_256286_19 WHERE _percentage_yes = "33.57%"
CREATE TABLE table_256286_19 (meas_num INTEGER, _percentage_yes VARCHAR)
What is the lowest measure number for the measure with a 33.57% yes percentage?
SELECT passed FROM table_256286_19 WHERE description = "Bus and Truck Operating License Bill"
CREATE TABLE table_256286_19 (passed VARCHAR, description VARCHAR)
What was the passing result for the measure with a description of bus and truck operating license bill?
SELECT passed FROM table_256286_22 WHERE _percentage_yes = "52.49%"
CREATE TABLE table_256286_22 (passed VARCHAR, _percentage_yes VARCHAR)
What was the result of the ballot that had a 52.49% yes vote percentage?
SELECT type FROM table_256286_21 WHERE meas_num = 3
CREATE TABLE table_256286_21 (type VARCHAR, meas_num VARCHAR)
What type of proposal is measure number 3?
SELECT yes_votes FROM table_256286_23 WHERE _percentage_yes = "60.39%"
CREATE TABLE table_256286_23 (yes_votes VARCHAR, _percentage_yes VARCHAR)
How many yes votes did the measure that got 60.39% yes votes get?
SELECT description FROM table_256286_23 WHERE _percentage_yes = "39.57%"
CREATE TABLE table_256286_23 (description VARCHAR, _percentage_yes VARCHAR)
What is the description of the measure that got 39.57% yes votes?
SELECT MIN(meas_num) FROM table_256286_23 WHERE description = "Tax Supervising and Conservation Bill"
CREATE TABLE table_256286_23 (meas_num INTEGER, description VARCHAR)
What is the number of the tax supervising and conservation bill?
SELECT COUNT(passed) FROM table_256286_39 WHERE _percentage_yes = "52.11%"
CREATE TABLE table_256286_39 (passed VARCHAR, _percentage_yes VARCHAR)
How many ballot measures had a percentage yes of 52.11%?
SELECT description FROM table_256286_39 WHERE _percentage_yes = "44.06%"
CREATE TABLE table_256286_39 (description VARCHAR, _percentage_yes VARCHAR)
What is the measure where the yes% is 44.06%?
SELECT COUNT(passed) FROM table_256286_39 WHERE yes_votes = 216545
CREATE TABLE table_256286_39 (passed VARCHAR, yes_votes VARCHAR)
How many measures had a yes vote of 216545?
SELECT MAX(meas_num) FROM table_256286_39
CREATE TABLE table_256286_39 (meas_num INTEGER)
What is the highest measure number?
SELECT _percentage_yes FROM table_256286_45 WHERE no_votes = 199174
CREATE TABLE table_256286_45 (_percentage_yes VARCHAR, no_votes VARCHAR)
What was the percentage of yes votes for the measure where the no votes number 199174?
SELECT COUNT(type) FROM table_256286_45 WHERE yes_votes = 312680
CREATE TABLE table_256286_45 (type VARCHAR, yes_votes VARCHAR)
How many types are there for the measure where there were 312680 yes votes?
SELECT COUNT(no_votes) FROM table_256286_45 WHERE description = "Forest Rehabilitation Debt Limit Amendment"
CREATE TABLE table_256286_45 (no_votes VARCHAR, description VARCHAR)
How many figures are there for No votes for the Forest Rehabilitation Debt Limit Amendment?
SELECT type FROM table_256286_45 WHERE description = "Power Development Debt Limit Amendment"
CREATE TABLE table_256286_45 (type VARCHAR, description VARCHAR)
What is the type of measure that voted on the Power Development Debt Limit Amendment?
SELECT passed FROM table_256286_40 WHERE description = "Authorizing State Acceptance of Certain Gifts"
CREATE TABLE table_256286_40 (passed VARCHAR, description VARCHAR)
What vote passed for the measure with the description, authorizing state acceptance of certain gifts?
SELECT COUNT(passed) FROM table_256286_40 WHERE yes_votes = 390338
CREATE TABLE table_256286_40 (passed VARCHAR, yes_votes VARCHAR)
How many votes passed are listed on the measure that had 390338 yes votes?
SELECT type FROM table_256286_40 WHERE yes_votes = 175932
CREATE TABLE table_256286_40 (type VARCHAR, yes_votes VARCHAR)
What was the type when there were 175932 yes votes?
SELECT COUNT(yes_votes) FROM table_256286_41 WHERE no_votes < 299939.1619948521 AND _percentage_yes = "66.49%"
CREATE TABLE table_256286_41 (yes_votes VARCHAR, no_votes VARCHAR, _percentage_yes VARCHAR)
What is the aggregate number of yes votes where no votes is littler than 299939.1619948521 and % yes is 66.49%
SELECT description FROM table_256286_55 WHERE _percentage_yes = "78.27%"
CREATE TABLE table_256286_55 (description VARCHAR, _percentage_yes VARCHAR)
What is the description of the measure that got 78.27% yes votes?
SELECT MAX(meas_num) FROM table_256286_55
CREATE TABLE table_256286_55 (meas_num INTEGER)
What is the highest measure number?
SELECT COUNT(type) FROM table_256286_5 WHERE description = "Calling Convention to revise State Constitution"
CREATE TABLE table_256286_5 (type VARCHAR, description VARCHAR)
How many type classifications are given to the measure with the description, calling convention to revise state constitution?
SELECT _percentage_yes FROM table_256286_5 WHERE yes_votes = 35270
CREATE TABLE table_256286_5 (_percentage_yes VARCHAR, yes_votes VARCHAR)
What is the yes percentage in the measure that had 35270 yes votes?
SELECT MAX(meas_num) FROM table_256286_54 WHERE no_votes = 322682
CREATE TABLE table_256286_54 (meas_num INTEGER, no_votes VARCHAR)
When the no votes was 322682, what was the max meas. number?
SELECT MAX(yes_votes) FROM table_256286_60 WHERE meas_num = 4
CREATE TABLE table_256286_60 (yes_votes INTEGER, meas_num VARCHAR)
How yes votes were there for measure 4?
SELECT MIN(meas_num) FROM table_256286_60
CREATE TABLE table_256286_60 (meas_num INTEGER)
What was the lowest measure number?
SELECT type FROM table_256286_8 WHERE _percentage_yes = "32.47%"
CREATE TABLE table_256286_8 (type VARCHAR, _percentage_yes VARCHAR)
What was the type of ballot measures if the % of yes vote is 32.47%?
SELECT type FROM table_256286_8 WHERE description = "Department of Industry and Public Works Amendment"
CREATE TABLE table_256286_8 (type VARCHAR, description VARCHAR)
What was the type of ballot measure with the description of Department of Industry and Public Works Amendment?
SELECT COUNT(no_votes) FROM table_256286_8 WHERE description = "$1500 Tax Exemption Amendment"
CREATE TABLE table_256286_8 (no_votes VARCHAR, description VARCHAR)
How many data are there under NO vote with a description of $1500 tax exemption amendment?
SELECT _percentage_yes FROM table_256286_61 WHERE yes_votes = 218846
CREATE TABLE table_256286_61 (_percentage_yes VARCHAR, yes_votes VARCHAR)
What is the percentage of yes when there were 218846 yes votes
SELECT COUNT(type) FROM table_256286_61 WHERE _percentage_yes = "68.91%"
CREATE TABLE table_256286_61 (type VARCHAR, _percentage_yes VARCHAR)
How many type catagories are listed when the percentage of yes is 68.91%?
SELECT type FROM table_256286_61 WHERE yes_votes = 546255
CREATE TABLE table_256286_61 (type VARCHAR, yes_votes VARCHAR)
What is the type when yes votes are 546255?
SELECT meas_num FROM table_256286_61 WHERE description = "Obscenity and sexual conduct bill"
CREATE TABLE table_256286_61 (meas_num VARCHAR, description VARCHAR)
What is the measure number for the bill described as obscenity and sexual conduct bill?
SELECT COUNT(points) FROM table_25647137_2 WHERE player = "Art Renner"
CREATE TABLE table_25647137_2 (points VARCHAR, player VARCHAR)
How many points did art renner have?
SELECT COUNT(touchdowns) FROM table_25647137_2 WHERE player = "Bill Culligan"
CREATE TABLE table_25647137_2 (touchdowns VARCHAR, player VARCHAR)
How many touchdowns did bill culligan have?
SELECT MAX(touchdowns) FROM table_25647137_2
CREATE TABLE table_25647137_2 (touchdowns INTEGER)
What was the highest number of touchdowns by a player?
SELECT MIN(points) FROM table_25647137_2 WHERE player = "Robert Stenberg"
CREATE TABLE table_25647137_2 (points INTEGER, player VARCHAR)
How many points did robert stenberg have?
SELECT location FROM table_25643046_1 WHERE origin_time = "14:07"
CREATE TABLE table_25643046_1 (location VARCHAR, origin_time VARCHAR)
Where was the quake that began at 14:07?
SELECT epicentre__lat, _s_ FROM table_25643046_1 WHERE origin_time = "17:09"
CREATE TABLE table_25643046_1 (epicentre__lat VARCHAR, _s_ VARCHAR, origin_time VARCHAR)
What was the epicenter latitude for the quake that started at 17:09?
SELECT COUNT(series__number) FROM table_25649467_2 WHERE season__number = 12
CREATE TABLE table_25649467_2 (series__number VARCHAR, season__number VARCHAR)
When 12 is the season number how many series numbers are there?
SELECT mountains_classification FROM table_25655781_17 WHERE winner = "Borut Božič"
CREATE TABLE table_25655781_17 (mountains_classification VARCHAR, winner VARCHAR)
Who had the mountains classification when borut božič was the winner?
SELECT team_classification FROM table_25655781_17 WHERE winner = "André Greipel" AND points_classification = "André Greipel"
CREATE TABLE table_25655781_17 (team_classification VARCHAR, winner VARCHAR, points_classification VARCHAR)
What was the team classification where andré greipel was the winner and had the points classification?
SELECT MAX(stage) FROM table_25655781_17
CREATE TABLE table_25655781_17 (stage INTEGER)
How many stages are there?
SELECT COUNT(sprint_classification) FROM table_25655781_17 WHERE winner = "Marco Frapporti"
CREATE TABLE table_25655781_17 (sprint_classification VARCHAR, winner VARCHAR)
How many sprint classifications are there where marco frapporti is the winner?
SELECT second_couple FROM table_25664518_3 WHERE itv1_weekly_ranking = 29
CREATE TABLE table_25664518_3 (second_couple VARCHAR, itv1_weekly_ranking VARCHAR)
Who was the second couple for the episode having an ITV1 ranking of 29?
SELECT MAX(itv1_weekly_ranking) FROM table_25664518_3
CREATE TABLE table_25664518_3 (itv1_weekly_ranking INTEGER)
What is the maximum ITV1 weekly ranking?
SELECT viewers__millions_ FROM table_25664518_3 WHERE fourth_couple = "Tony and Jamie"
CREATE TABLE table_25664518_3 (viewers__millions_ VARCHAR, fourth_couple VARCHAR)
What was the number of viewers for the episode having a fourth couple of Tony and Jamie?
SELECT first_couple FROM table_25664518_3 WHERE fourth_couple = "Sammy and Nat"
CREATE TABLE table_25664518_3 (first_couple VARCHAR, fourth_couple VARCHAR)
Who was the first couple in the episode having a fourth couple of Sammy and Nat?
SELECT MIN(itv1_weekly_ranking) FROM table_25664518_3 WHERE viewers__millions_ = "5.42"
CREATE TABLE table_25664518_3 (itv1_weekly_ranking INTEGER, viewers__millions_ VARCHAR)
What is the minimum ITV1 ranking for the episode having viewership of 5.42 million?
SELECT MAX(no_in_series) FROM table_25668962_1 WHERE us_viewers__million_ = "13.66"
CREATE TABLE table_25668962_1 (no_in_series INTEGER, us_viewers__million_ VARCHAR)
What episode number in the series was viewed by 13.66 million people in the U.S.?
SELECT us_viewers__million_ FROM table_25668962_1 WHERE production_code = "1ARC12"
CREATE TABLE table_25668962_1 (us_viewers__million_ VARCHAR, production_code VARCHAR)
How many million U.S. viewers watched the epiode with a production code of 1arc12?
SELECT us_viewers__million_ FROM table_25668962_1 WHERE production_code = "1ARC03"
CREATE TABLE table_25668962_1 (us_viewers__million_ VARCHAR, production_code VARCHAR)
How many million U.S. viewers watched the episode with a production code of 1arc03?
SELECT us_viewers__million_ FROM table_25668962_1 WHERE no_in_series = 6
CREATE TABLE table_25668962_1 (us_viewers__million_ VARCHAR, no_in_series VARCHAR)
How many million U.S. viewers watched episode number 6 in the series?
SELECT directed_by FROM table_25668962_1 WHERE no_in_series = 18
CREATE TABLE table_25668962_1 (directed_by VARCHAR, no_in_series VARCHAR)
Who directed episode number 18 in the series?
SELECT 3 AS rd_couple FROM table_25664518_4 WHERE viewers__millions_ = "4.89"
CREATE TABLE table_25664518_4 (viewers__millions_ VARCHAR)
Who were the 3rd couple that were viewed by 4.89 million viewers?
SELECT location FROM table_25668203_2 WHERE most_laps_led = "Patrick McKenna"
CREATE TABLE table_25668203_2 (location VARCHAR, most_laps_led VARCHAR)
What location(s) did patrick mckenna lead the most laps?
SELECT COUNT(fastest_lap) FROM table_25668203_2 WHERE rnd = "10"
CREATE TABLE table_25668203_2 (fastest_lap VARCHAR, rnd VARCHAR)
How many races went for 10 rounds?
SELECT most_laps_led FROM table_25668203_2 WHERE location = "Monterey, California" AND winning_driver = "Scott Rarick"
CREATE TABLE table_25668203_2 (most_laps_led VARCHAR, location VARCHAR, winning_driver VARCHAR)
Who had the most laps led in monterey, california when scott rarick won the race?
SELECT winning_team FROM table_25668203_2 WHERE winning_driver = "Mikhail Goikhberg"
CREATE TABLE table_25668203_2 (winning_team VARCHAR, winning_driver VARCHAR)
What was the winning team when mikhail goikhberg was the winning driver?
SELECT directed_by FROM table_25679312_2 WHERE prod_code = 10
CREATE TABLE table_25679312_2 (directed_by VARCHAR, prod_code VARCHAR)
Who directed the episode with the production code 10?
SELECT written_by FROM table_25679312_2 WHERE prod_code = 2
CREATE TABLE table_25679312_2 (written_by VARCHAR, prod_code VARCHAR)
Who wrote the episode with production code 2?