instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What is the settlement destiny in Aleksandrovo?
SELECT Settlement destiny FROM table WHERE Settlement = Aleksandrovo
Translate the following into a SQL query
What is the Cyrillic name for Novi Vladimirovac?
SELECT Cyrillic Name Other Names FROM table WHERE Settlement = Novi Vladimirovac
Translate the following into a SQL query
How many items appear in the population 2011 column for the krčedin settlement?
SELECT COUNT Population (2011) FROM table WHERE Settlement = Krčedin
Translate the following into a SQL query
What is the dominant religion in 2002 for the population of 2337 in 2011?
SELECT Dominant religion (2002) FROM table WHERE Population (2011) = 2337
Translate the following into a SQL query
What is the lowest population in 2011 for the settlement of čortanovci?
SELECT MIN Population (2011) FROM table WHERE Settlement = Čortanovci
Translate the following into a SQL query
What is the largest ethnic group in 2002 for the cyrillic name, other name of бешка?
SELECT Largest ethnic group (2002) FROM table WHERE Cyrillic Name Other Names = Бешка
Translate the following into a SQL query
What was the lowes population of 2002 when the 2011 population was 30076?
SELECT MIN Population (2002) FROM table WHERE Population (2011) = 30076
Translate the following into a SQL query
What is the dominant religion in степановићево during 2002?
SELECT Dominant religion (2002) FROM table WHERE Cyrillic Name Other Names = Степановићево
Translate the following into a SQL query
What is the cyrillic name for the settlement with the population of 2125?
SELECT Cyrillic Name Other Names FROM table WHERE Population (2011) = 2125
Translate the following into a SQL query
What type of settlement is футог?
SELECT Type FROM table WHERE Cyrillic Name Other Names = Футог
Translate the following into a SQL query
What is the cyrillic name for the settlement with the population of 5414?
SELECT Cyrillic Name Other Names FROM table WHERE Population (2011) = 5414
Translate the following into a SQL query
What is the cyrillic name for Budisava?
SELECT Cyrillic Name Other Names FROM table WHERE Settlement = Budisava
Translate the following into a SQL query
What is the dominant religion for нови сад in 2002?
SELECT Dominant religion (2002) FROM table WHERE Cyrillic Name Other Names = Нови Сад
Translate the following into a SQL query
What is the largest number of yest votes for the measure with 61307 no votes?
SELECT MAX YES votes FROM table WHERE NO votes = 61307
Translate the following into a SQL query
What numbered measure had a 58.29% yes%?
SELECT meas. num FROM table WHERE % YES = 58.29%
Translate the following into a SQL query
What was the passing result for the measure with 61307 no votes?
SELECT passed FROM table WHERE NO votes = 61307
Translate the following into a SQL query
What is the lowest measure number for the measure with a 33.57% yes percentage?
SELECT MIN meas. num FROM table WHERE % YES = 33.57%
Translate the following into a SQL query
What was the passing result for the measure with a description of bus and truck operating license bill?
SELECT passed FROM table WHERE description = Bus and Truck Operating License Bill
Translate the following into a SQL query
What was the result of the ballot that had a 52.49% yes vote percentage?
SELECT passed FROM table WHERE % YES = 52.49%
Translate the following into a SQL query
List the total number of constitutional amendments for a five cent gasoline tax bill.
SELECT COUNT Const. Amd.? FROM table WHERE description = Five Cent Gasoline Tax Bill
Translate the following into a SQL query
What type of proposal is measure number 3?
SELECT type FROM table WHERE meas. num = 3
Translate the following into a SQL query
How many yes votes did the measure that got 60.39% yes votes get?
SELECT YES votes FROM table WHERE % YES = 60.39%
Translate the following into a SQL query
What is the description of the measure that got 39.57% yes votes?
SELECT description FROM table WHERE % YES = 39.57%
Translate the following into a SQL query
What is the number of the tax supervising and conservation bill?
SELECT MIN meas. num FROM table WHERE description = Tax Supervising and Conservation Bill
Translate the following into a SQL query
How many ballot measures had a percentage yes of 52.11%?
SELECT COUNT passed FROM table WHERE % YES = 52.11%
Translate the following into a SQL query
What is the measure where the yes% is 44.06%?
SELECT description FROM table WHERE % YES = 44.06%
Translate the following into a SQL query
How many measures had a yes vote of 216545?
SELECT COUNT passed FROM table WHERE YES votes = 216545
Translate the following into a SQL query
What is the highest measure number?
SELECT MAX meas. num. FROM table
Translate the following into a SQL query
What was the percentage of yes votes for the measure where the no votes number 199174?
SELECT % YES FROM table WHERE NO votes = 199174
Translate the following into a SQL query
How many types are there for the measure where there were 312680 yes votes?
SELECT COUNT type FROM table WHERE YES votes = 312680
Translate the following into a SQL query
How many figures are there for No votes for the Forest Rehabilitation Debt Limit Amendment?
SELECT COUNT NO votes FROM table WHERE description = Forest Rehabilitation Debt Limit Amendment
Translate the following into a SQL query
What is the type of measure that voted on the Power Development Debt Limit Amendment?
SELECT type FROM table WHERE description = Power Development Debt Limit Amendment
Translate the following into a SQL query
What vote passed for the measure with the description, authorizing state acceptance of certain gifts?
SELECT passed FROM table WHERE description = Authorizing State Acceptance of Certain Gifts
Translate the following into a SQL query
How many votes passed are listed on the measure that had 390338 yes votes?
SELECT COUNT passed FROM table WHERE YES votes = 390338
Translate the following into a SQL query
What was the type when there were 175932 yes votes?
SELECT type FROM table WHERE YES votes = 175932
Translate the following into a SQL query
What is the aggregate number of yes votes where no votes is littler than 299939.1619948521 and % yes is 66.49%
SELECT COUNT YES votes FROM table WHERE NO votes < 299939.1619948521 AND % YES = 66.49%
Translate the following into a SQL query
What is the description of the measure that got 78.27% yes votes?
SELECT description FROM table WHERE % YES = 78.27%
Translate the following into a SQL query
What is the highest measure number?
SELECT MAX meas. num. FROM table
Translate the following into a SQL query
How many measures numbered 8 were a constitutional ammendment?
SELECT COUNT Const. Amd.? FROM table WHERE meas. num. = 8
Translate the following into a SQL query
How many type classifications are given to the measure with the description, calling convention to revise state constitution?
SELECT COUNT type FROM table WHERE description = Calling Convention to revise State Constitution
Translate the following into a SQL query
What is the yes percentage in the measure that had 35270 yes votes?
SELECT % YES FROM table WHERE YES votes = 35270
Translate the following into a SQL query
Was the constitution amended for the measure with description , to annex part of Washington county to multnomah?
SELECT Const. Amd.? FROM table WHERE description = To Annex Part of Washington County to Multnomah
Translate the following into a SQL query
When the no votes was 322682, what was the max meas. number?
SELECT MAX meas. num. FROM table WHERE NO votes = 322682
Translate the following into a SQL query
Was the constitution amended on the measure described as authorizes bonds for water development fund?
SELECT Const. Amd.? FROM table WHERE description = Authorizes bonds for water development fund
Translate the following into a SQL query
How yes votes were there for measure 4?
SELECT MAX YES votes FROM table WHERE meas. num. = 4
Translate the following into a SQL query
Was the constitution amended when the percentage of yes votes was 69.82%?
SELECT Const. Amd.? FROM table WHERE % YES = 69.82%
Translate the following into a SQL query
What was the lowest measure number?
SELECT MIN meas. num. FROM table
Translate the following into a SQL query
What was the type of ballot measures if the % of yes vote is 32.47%?
SELECT type FROM table WHERE % YES = 32.47%
Translate the following into a SQL query
What was the type of ballot measure with the description of Department of Industry and Public Works Amendment?
SELECT type FROM table WHERE description = Department of Industry and Public Works Amendment
Translate the following into a SQL query
How many data are there under NO vote with a description of $1500 tax exemption amendment?
SELECT COUNT NO votes FROM table WHERE description = $1500 Tax Exemption Amendment
Translate the following into a SQL query
What is the percentage of yes when there were 218846 yes votes
SELECT % YES FROM table WHERE YES votes = 218846
Translate the following into a SQL query
How many type catagories are listed when the percentage of yes is 68.91%?
SELECT COUNT type FROM table WHERE % YES = 68.91%
Translate the following into a SQL query
What is the type when yes votes are 546255?
SELECT type FROM table WHERE YES votes = 546255
Translate the following into a SQL query
What is the measure number for the bill described as obscenity and sexual conduct bill?
SELECT meas. num. FROM table WHERE description = Obscenity and sexual conduct bill
Translate the following into a SQL query
How many points did art renner have?
SELECT COUNT Points FROM table WHERE Player = Art Renner
Translate the following into a SQL query
How many touchdowns did bill culligan have?
SELECT COUNT Touchdowns FROM table WHERE Player = Bill Culligan
Translate the following into a SQL query
What was the highest number of touchdowns by a player?
SELECT MAX Touchdowns FROM table
Translate the following into a SQL query
How many points did robert stenberg have?
SELECT MIN Points FROM table WHERE Player = Robert Stenberg
Translate the following into a SQL query
Where was the quake that began at 14:07?
SELECT Location FROM table WHERE Origin time = 14:07
Translate the following into a SQL query
What was the epicenter latitude for the quake that started at 17:09?
SELECT Epicentre (Lat., S) FROM table WHERE Origin time = 17:09
Translate the following into a SQL query
When "pants on fire" is the title what is the air date?
SELECT Original air date FROM table WHERE Title = "Pants on Fire"
Translate the following into a SQL query
When "the charlotte letter" is the title what is the air date?
SELECT Original air date FROM table WHERE Title = "The Charlotte Letter"
Translate the following into a SQL query
When "the 37-year itch" is the title what is the lowest series number?
SELECT MIN Series # FROM table WHERE Title = "The 37-Year Itch"
Translate the following into a SQL query
When 12 is the season number how many series numbers are there?
SELECT COUNT Series # FROM table WHERE Season # = 12
Translate the following into a SQL query
Who had the mountains classification when borut božič was the winner?
SELECT Mountains Classification FROM table WHERE Winner = Borut Božič
Translate the following into a SQL query
What was the team classification where andré greipel was the winner and had the points classification?
SELECT Team Classification FROM table WHERE Winner = André Greipel AND Points Classification = André Greipel
Translate the following into a SQL query
How many stages are there?
SELECT MAX Stage FROM table
Translate the following into a SQL query
How many sprint classifications are there where marco frapporti is the winner?
SELECT COUNT Sprint Classification FROM table WHERE Winner = Marco Frapporti
Translate the following into a SQL query
Who was the second couple for the episode having an ITV1 ranking of 29?
SELECT Second couple FROM table WHERE ITV1 weekly ranking = 29
Translate the following into a SQL query
What is the maximum ITV1 weekly ranking?
SELECT MAX ITV1 weekly ranking FROM table
Translate the following into a SQL query
What was the number of viewers for the episode having a fourth couple of Tony and Jamie?
SELECT Viewers (millions) FROM table WHERE Fourth couple = Tony and Jamie
Translate the following into a SQL query
Who was the first couple in the episode having a fourth couple of Sammy and Nat?
SELECT First couple FROM table WHERE Fourth couple = Sammy and Nat
Translate the following into a SQL query
What is the minimum ITV1 ranking for the episode having viewership of 5.42 million?
SELECT MIN ITV1 weekly ranking FROM table WHERE Viewers (millions) = 5.42
Translate the following into a SQL query
What episode number in the series was viewed by 13.66 million people in the U.S.?
SELECT MAX No. in series FROM table WHERE U.S. viewers (million) = 13.66
Translate the following into a SQL query
How many million U.S. viewers watched the epiode with a production code of 1arc12?
SELECT U.S. viewers (million) FROM table WHERE Production code = 1ARC12
Translate the following into a SQL query
How many million U.S. viewers watched the episode with a production code of 1arc03?
SELECT U.S. viewers (million) FROM table WHERE Production code = 1ARC03
Translate the following into a SQL query
How many million U.S. viewers watched episode number 6 in the series?
SELECT U.S. viewers (million) FROM table WHERE No. in series = 6
Translate the following into a SQL query
Who directed episode number 18 in the series?
SELECT Directed by FROM table WHERE No. in series = 18
Translate the following into a SQL query
How many episode numbers are there on the show whose first couple was Stuart and Pegah>?
SELECT COUNT # FROM table WHERE 1st couple = Stuart and Pegah
Translate the following into a SQL query
Who were the 3rd couple that were viewed by 4.89 million viewers?
SELECT 3rd couple FROM table WHERE Viewers (millions) = 4.89
Translate the following into a SQL query
What location(s) did patrick mckenna lead the most laps?
SELECT Location FROM table WHERE Most laps led = Patrick McKenna
Translate the following into a SQL query
How many races went for 10 rounds?
SELECT COUNT Fastest lap FROM table WHERE Rnd = 10
Translate the following into a SQL query
Who had the most laps led in monterey, california when scott rarick won the race?
SELECT Most laps led FROM table WHERE Location = Monterey, California AND Winning driver = Scott Rarick
Translate the following into a SQL query
What was the winning team when mikhail goikhberg was the winning driver?
SELECT Winning team FROM table WHERE Winning driver = Mikhail Goikhberg
Translate the following into a SQL query
Who directed the episode with the production code 10?
SELECT Directed by FROM table WHERE Prod. code = 10
Translate the following into a SQL query
Who wrote the episode with production code 2?
SELECT Written by FROM table WHERE Prod. code = 2
Translate the following into a SQL query
Who wrote the episode with production code 5?
SELECT Written by FROM table WHERE Prod. code = 5
Translate the following into a SQL query
Name the number of finishes for 15 entries 15 and l'esprit d'equipe
SELECT COUNT Finish FROM table WHERE Entries = 15 AND Winning yacht = L'Esprit d'Equipe
Translate the following into a SQL query
Name the most legs for steinlager 2
SELECT MAX Legs FROM table WHERE Winning yacht = Steinlager 2
Translate the following into a SQL query
Name the wininng yacht for 14 entries
SELECT Winning yacht FROM table WHERE Entries = 14
Translate the following into a SQL query
What was the word for the episode that aired February 11?
SELECT The Wørd FROM table WHERE Original airdate = February 11
Translate the following into a SQL query
What was the introductory phrase for the episode with the production bode 6026?
SELECT Introductory phrase FROM table WHERE Production code = 6026
Translate the following into a SQL query
What was the word on episode number 673?
SELECT The Wørd FROM table WHERE Episode # = 673
Translate the following into a SQL query
Who were the guests in the episode with production code 6021?
SELECT Guest FROM table WHERE Production code = 6021
Translate the following into a SQL query
Who were the guests on a show where the production code is 6152?
SELECT Guest FROM table WHERE Production code = 6152
Translate the following into a SQL query
Who were the guests for the episode with an original airdate of december 07?
SELECT Guest FROM table WHERE Original airdate = December 07
Translate the following into a SQL query
How many introductory phrases are there with "the wørd" is "unrequited gov"?
SELECT COUNT Introductory phrase FROM table WHERE The Wørd = "Unrequited Gov"
Translate the following into a SQL query
What is "the wørd" when guests were daniel ellsberg , william wegman , julie taymor?
SELECT The Wørd FROM table WHERE Guest = Daniel Ellsberg , William Wegman , Julie Taymor
Translate the following into a SQL query
What is the production code of the episode with an original airdate of december 01?
SELECT Production code FROM table WHERE Original airdate = December 01
Translate the following into a SQL query
What is the episode # when the guests were julie nixon eisenhower and david eisenhower?
SELECT MIN Episode # FROM table WHERE Guest = Julie Nixon Eisenhower and David Eisenhower