instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
Which province has a gdp of 38355€ million euros?
SELECT Province FROM table WHERE GDP (2003, PPS in mil. € ) = 38355
Translate the following into a SQL query
What is the population estimate for the place that gad a 18496€ million euro gdp?
SELECT Population (2004 estimate) FROM table WHERE GDP (2003, PPS in mil. € ) = 18496
Translate the following into a SQL query
What is the title when original air date is may15,2008?
SELECT Title FROM table WHERE Original air date = May15,2008
Translate the following into a SQL query
What is the highest no. in season?
SELECT MAX No. in season FROM table
Translate the following into a SQL query
Who directed the episode where u.s. viewers (million) is 12.90?
SELECT Directed by FROM table WHERE U.S. viewers (million) = 12.90
Translate the following into a SQL query
How many episodes aired in Region 2 beginning May 26, 2008?
SELECT MIN # of Ep FROM table WHERE Region 2 = May 26, 2008
Translate the following into a SQL query
What date did the DVD for season six come out in region 2?
SELECT Region 2 FROM table WHERE DVD Name = Season Six
Translate the following into a SQL query
What is the least amount of season epidsodes?
SELECT MIN # of Ep FROM table
Translate the following into a SQL query
What DVD season/name for region 2 was released August 22, 2010?
SELECT DVD Name FROM table WHERE Region 2 = August 22, 2010
Translate the following into a SQL query
How many points for 2005?
SELECT COUNT Points FROM table WHERE Season = 2005
Translate the following into a SQL query
what is the score for the dams?
SELECT Points FROM table WHERE Team Name = DAMS
Translate the following into a SQL query
how many positions in 2009?
SELECT COUNT Position FROM table WHERE Season = 2009
Translate the following into a SQL query
what is the least number of poles?
SELECT MIN Poles FROM table
Translate the following into a SQL query
Which series with 62 points?
SELECT Series FROM table WHERE Points = 62
Translate the following into a SQL query
What is the total for 10th position?
SELECT COUNT Points FROM table WHERE Position = 10th
Translate the following into a SQL query
how many reports of races took place on october 16?
SELECT COUNT Report FROM table WHERE Date = October 16
Translate the following into a SQL query
what is the name of the report that lists the race name as long beach grand prix?
SELECT Report FROM table WHERE Race Name = Long Beach Grand Prix
Translate the following into a SQL query
what is the report called where the circuit took place at the nazareth speedway?
SELECT Report FROM table WHERE Circuit = Nazareth Speedway
Translate the following into a SQL query
what is the name of the race where newman/haas racing is the winning team and rick mears is at the pole position?
SELECT Race Name FROM table WHERE Winning team = Newman/Haas Racing AND Pole position = Rick Mears
Translate the following into a SQL query
meadowlands sports complex is the circuit at which city/location?
SELECT City/Location FROM table WHERE Circuit = Meadowlands Sports Complex
Translate the following into a SQL query
What is the literacy rate for groups that grew 103.1% between 1991 and 2001?
SELECT Literacy (%) FROM table WHERE Growth (1991–2001) = 103.1%
Translate the following into a SQL query
What is the lowest sex ratio in rural areas?
SELECT MIN Sex ratio (rural) FROM table
Translate the following into a SQL query
What is the lowest child sex ratio in groups where employment is 31.3%?
SELECT MIN Sex ratio (child) FROM table WHERE Work participation (%) = 31.3%
Translate the following into a SQL query
What is the population percentage of the group where the rural sex ratio is 953?
SELECT Population % FROM table WHERE Sex ratio (rural) = 953
Translate the following into a SQL query
What is the original air date for the title "felonious monk"?
SELECT Original air date FROM table WHERE Title = "Felonious Monk"
Translate the following into a SQL query
What is the title of the episode directed by Peter Markle and written by Jerry Stahl?
SELECT Title FROM table WHERE Directed by = Peter Markle AND Written by = Jerry Stahl
Translate the following into a SQL query
How many episodes were titled "identity crisis"?
SELECT COUNT Directed by FROM table WHERE Title = "Identity Crisis"
Translate the following into a SQL query
Who does the lap-by-lap in 2011?
SELECT Lap-by-lap FROM table WHERE Year = 2011
Translate the following into a SQL query
Which network has Marty Reid as host and lap-by-lap broadcaster?
SELECT Network FROM table WHERE Lap-by-lap = Marty Reid AND Host = Marty Reid
Translate the following into a SQL query
How many pre-race analysis occur when Allen Bestwick does the lap-by-lap?
SELECT COUNT Pre-race analyst FROM table WHERE Lap-by-lap = Allen Bestwick
Translate the following into a SQL query
What's the highest season number of an episode in the series?
SELECT MAX No. in season FROM table
Translate the following into a SQL query
When did the episode titled "Lucky Strike" air for the first time?
SELECT Original air date FROM table WHERE Title = "Lucky Strike"
Translate the following into a SQL query
Who was the writer of the episode titled "One Hit Wonder"?
SELECT Written by FROM table WHERE Title = "One Hit Wonder"
Translate the following into a SQL query
What's the date of the first airing of the episode with series number 63?
SELECT Original air date FROM table WHERE No. in series = 63
Translate the following into a SQL query
How many titles got a viewership of 26.53 million?
SELECT COUNT Title FROM table WHERE U.S. viewers (millions) = 26.53
Translate the following into a SQL query
How many viewers tuned into the show directed by Matt Earl Beesley?
SELECT U.S. viewers (millions) FROM table WHERE Directed by = Matt Earl Beesley
Translate the following into a SQL query
Who wrote episode 94?
SELECT Written by FROM table WHERE No. in series = 94
Translate the following into a SQL query
Which episode was the number in the season where the number in the season is 10?
SELECT No. in series FROM table WHERE No. in season = 10
Translate the following into a SQL query
How many episodes were in the season that had the epiosde of "crow's feet"?
SELECT No. in season FROM table WHERE Title = "Crow's Feet"
Translate the following into a SQL query
When did the 113 episode air?
SELECT Original air date FROM table WHERE No. in series = 113
Translate the following into a SQL query
How many titles were there for the 113 episode?
SELECT COUNT Title FROM table WHERE No. in series = 113
Translate the following into a SQL query
What is the number in the season that Marlene Meyer wrote and 20.49 million people watched?
SELECT MAX No. in season FROM table WHERE Written by = Marlene Meyer AND U.S. viewers (millions) = 20.49
Translate the following into a SQL query
When did the no. 23 show originally air?
SELECT Original air date FROM table WHERE No. in season = 23
Translate the following into a SQL query
Which circuits had a race on October 4?
SELECT Circuit FROM table WHERE Date = October 4
Translate the following into a SQL query
In which reports does Michael Andretti have the pole position and Galles-Kraco Racing is the winning team?
SELECT Report FROM table WHERE Pole position = Michael Andretti AND Winning team = Galles-Kraco Racing
Translate the following into a SQL query
How many rounds were there of the Bosch Spark Plug Grand Prix?
SELECT COUNT Rnd FROM table WHERE Race Name = Bosch Spark Plug Grand Prix
Translate the following into a SQL query
Which rounds were held on August 9?
SELECT Rnd FROM table WHERE Date = August 9
Translate the following into a SQL query
On how many dates did the Michigan International Speedway hold a round?
SELECT COUNT Date FROM table WHERE Circuit = Michigan International Speedway
Translate the following into a SQL query
Name the total number of bids of the sun belt conference
SELECT COUNT # of Bids FROM table WHERE Conference = Sun Belt
Translate the following into a SQL query
Name the round of 32 in conference usa
SELECT Round of 32 FROM table WHERE Conference = Conference USA
Translate the following into a SQL query
What is the record when round of 32 is 0 and metro atlantic conference?
SELECT Record FROM table WHERE Round of 32 = 0 AND Conference = Metro Atlantic
Translate the following into a SQL query
What is the number of bids with elite eight larger than 1.0
SELECT COUNT # of Bids FROM table WHERE Elite Eight > 1.0
Translate the following into a SQL query
Who directed the episode with production code 7aff03?
SELECT Directed by FROM table WHERE Production code = 7AFF03
Translate the following into a SQL query
What is the title of the episode wtih 10.34 million U.S viewers?
SELECT Title FROM table WHERE U.S. viewers (millions) = 10.34
Translate the following into a SQL query
What place is the team that completed 6 races?
SELECT Position FROM table WHERE Races = 6
Translate the following into a SQL query
how much did the british formula three called "fortec motorsport" score?
SELECT Points FROM table WHERE Series = British Formula Three AND Team Name = Fortec Motorsport
Translate the following into a SQL query
how many races were in 2009 with 0 wins?
SELECT Races FROM table WHERE Season = 2009 AND Wins = 0
Translate the following into a SQL query
What years did art grand prix compete?
SELECT Season FROM table WHERE Team Name = ART Grand Prix
Translate the following into a SQL query
What year had a score of 9?
SELECT Season FROM table WHERE Points = 9
Translate the following into a SQL query
what is the greatest number of wins by japanese formula three?
SELECT MAX Wins FROM table WHERE Series = Japanese Formula Three
Translate the following into a SQL query
Who took test #4?
SELECT Test-taker FROM table WHERE # = 4
Translate the following into a SQL query
What episode aired on 18 April 2007?
SELECT MIN # FROM table WHERE Air Date = 18 April 2007
Translate the following into a SQL query
Who had the challenge of night driving?
SELECT Test-taker FROM table WHERE Challenge = Night Driving
Translate the following into a SQL query
How many directors were there for the film Course Completed?
SELECT COUNT Director FROM table WHERE Film title used in nomination = Course Completed
Translate the following into a SQL query
Who directed El Nido?
SELECT Director FROM table WHERE Original title = El nido
Translate the following into a SQL query
Who directed Dulcinea?
SELECT Director FROM table WHERE Original title = Dulcinea
Translate the following into a SQL query
What are the slovenian names of the villages that had 65.9% of slovenes in 1951?
SELECT Village (Slovenian) FROM table WHERE Percent of Slovenes 1951 = 65.9%
Translate the following into a SQL query
What are the slovenian names of the villages that had 16.7% of slovenes in 1991?
SELECT Village (Slovenian) FROM table WHERE Percent of Slovenes 1991 = 16.7%
Translate the following into a SQL query
How many villages had 21.7% of slovenes in 1991?
SELECT COUNT Village (German) FROM table WHERE Percent of Slovenes 1991 = 21.7%
Translate the following into a SQL query
what percent of slovenes did the village called čahorče in slovenian have in 1991?
SELECT Percent of Slovenes 1991 FROM table WHERE Village (Slovenian) = Čahorče
Translate the following into a SQL query
What is the slovenian name for the village that in german is known as st.margarethen?
SELECT Village (Slovenian) FROM table WHERE Village (German) = St.Margarethen
Translate the following into a SQL query
For games on December 20, how many points did the scoring leaders get?
SELECT High points FROM table WHERE Date = December 20
Translate the following into a SQL query
Who was the scoring leader and how many points did he get in games on December 23?
SELECT High points FROM table WHERE Date = December 23
Translate the following into a SQL query
What is the pick # for the position de?
SELECT Pick # FROM table WHERE Position = DE
Translate the following into a SQL query
Which player went to college at Saint Mary's?
SELECT Player FROM table WHERE College = Saint Mary's
Translate the following into a SQL query
What is the position for the player with cfl team Winnipeg blue bombers?
SELECT Position FROM table WHERE CFL Team = Winnipeg Blue Bombers
Translate the following into a SQL query
Which player went to college at Laval?
SELECT Player FROM table WHERE College = Laval
Translate the following into a SQL query
What was the college for the player with the cfl team of Edmonton Eskimos (via calgary)?
SELECT College FROM table WHERE CFL Team = Edmonton Eskimos (via Calgary)
Translate the following into a SQL query
What's the team of the player from St. Francis Xavier College?
SELECT CFL Team FROM table WHERE College = St. Francis Xavier
Translate the following into a SQL query
What player is on the Montreal Alouettes CFl team?
SELECT Player FROM table WHERE CFL Team = Montreal Alouettes
Translate the following into a SQL query
What's the pick number of the player from Toronto Argonauts?
SELECT MIN Pick # FROM table WHERE CFL Team = Toronto Argonauts
Translate the following into a SQL query
What's the pick number of the player whose position is CB?
SELECT Pick # FROM table WHERE Position = CB
Translate the following into a SQL query
What's the pick number of the player from New Mexico?
SELECT MAX Pick # FROM table WHERE College = New Mexico
Translate the following into a SQL query
What player went to Ohio State College?
SELECT Player FROM table WHERE College = Ohio State
Translate the following into a SQL query
What is the minimum introduced value for the Departmental region?
SELECT MIN Introduced FROM table WHERE Region = Departmental
Translate the following into a SQL query
What is the smallest introduced value?
SELECT MIN Introduced FROM table
Translate the following into a SQL query
Which CFL Teams drafted an OL in 2006?
SELECT CFL Team FROM table WHERE Position = OL
Translate the following into a SQL query
Which college is aligned to the Saskatchewan Roughriders?
SELECT College FROM table WHERE CFL Team = Saskatchewan Roughriders
Translate the following into a SQL query
What Position did the Hamilton Tiger-Cats (via Ottawa) pick in the 2006 Draft.
SELECT Position FROM table WHERE CFL Team = Hamilton Tiger-Cats (via Ottawa)
Translate the following into a SQL query
What is the earliest pick listed in the table.
SELECT MIN Pick # FROM table
Translate the following into a SQL query
What episode number had production code e4423?
SELECT MAX No. in season FROM table WHERE Production code = E4423
Translate the following into a SQL query
What's the latest episode in a season where the U.S. viewers totaled 14.37 million?
SELECT MAX No. in season FROM table WHERE U.S. viewers (millions) = 14.37
Translate the following into a SQL query
Who directed the episode "Escape"?
SELECT Directed by FROM table WHERE Title = "Escape"
Translate the following into a SQL query
How many seasons is the season finale on May 26, 2010?
SELECT COUNT Season FROM table WHERE Season finale = May 26, 2010
Translate the following into a SQL query
What episodes are there where the season premier is September 23, 2009?
SELECT Episodes FROM table WHERE Season premiere = September 23, 2009
Translate the following into a SQL query
What is the season finale for season 4?
SELECT Season finale FROM table WHERE Season = 4
Translate the following into a SQL query
How many season premiers have a rank of #21?
SELECT Season premiere FROM table WHERE Rank = #21
Translate the following into a SQL query
What are the seasons where September 26, 2007 is the season premier?
SELECT TV season FROM table WHERE Season premiere = September 26, 2007
Translate the following into a SQL query
What max processor has a maximum memory of 256 gb?
SELECT Max processors FROM table WHERE Max memory = 256 GB
Translate the following into a SQL query
What is the max memory of the t5120 model?
SELECT Max memory FROM table WHERE Model = T5120