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