instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
How many countries have 2 current drivers as of March 20, 2010?
SELECT COUNT Total Drivers FROM table WHERE Current March 20, 2010 = 2
Translate the following into a SQL query
How many current drivers, as of March 20, 2010 does Denmark have?
SELECT Current March 20, 2010 FROM table WHERE Country = Denmark
Translate the following into a SQL query
What in the minimum number of championships won by a nation?
SELECT MIN Championships FROM table
Translate the following into a SQL query
Where was the season that ended on June 25 located?
SELECT Country FROM table WHERE End Date = June 25
Translate the following into a SQL query
When did the season that end in July ? start?
SELECT Start Date FROM table WHERE End Date = July ?
Translate the following into a SQL query
When did the season with 1 team format premiere?
SELECT Premiere/Air Dates FROM table WHERE Format = 1 Team
Translate the following into a SQL query
What's the format of the season that ended on June 25?
SELECT Format FROM table WHERE End Date = June 25
Translate the following into a SQL query
What's season 3's premiere date?
SELECT Premiere/Air Dates FROM table WHERE No. = 3
Translate the following into a SQL query
When did the season located in the Netherlands premier?
SELECT Premiere/Air Dates FROM table WHERE Country = The Netherlands
Translate the following into a SQL query
Name the viewers for the episode directed by tony phelan
SELECT U.S. viewers (millions) FROM table WHERE Directed by = Tony Phelan
Translate the following into a SQL query
Name the original air date for 15.74 viewers
SELECT Original air date FROM table WHERE U.S. viewers (millions) = 15.74
Translate the following into a SQL query
Name the title for us viewers being 18.29
SELECT Title FROM table WHERE U.S. viewers (millions) = 18.29
Translate the following into a SQL query
Name the platforms for cityengine
SELECT Platforms FROM table WHERE Application = CityEngine
Translate the following into a SQL query
Name the license for e-on vue
SELECT License FROM table WHERE Application = E-on Vue
Translate the following into a SQL query
Name the number of developed by for solid edge
SELECT COUNT Developed by FROM table WHERE Application = Solid Edge
Translate the following into a SQL query
Name the license for 2009-05-25 v 7.61
SELECT License FROM table WHERE Latest release date and version = 2009-05-25 v 7.61
Translate the following into a SQL query
Name the number of application for modeling, computer aided design, animation
SELECT COUNT Application FROM table WHERE Mainly Used For = Modeling, Computer Aided Design, Animation
Translate the following into a SQL query
Name the application for caligari corporation
SELECT Application FROM table WHERE Developed by = Caligari Corporation
Translate the following into a SQL query
What series number started production on June 6?
SELECT MIN No. FROM table WHERE Start Date = June 6
Translate the following into a SQL query
What was the production format for the series with the local title Fort Boyard: Ultimate Challenge?
SELECT Format FROM table WHERE Local title = Fort Boyard: Ultimate Challenge
Translate the following into a SQL query
What were the television air dates for the series that had a production start date of June 16?
SELECT Premiere/Air Dates FROM table WHERE Start Date = June 16
Translate the following into a SQL query
What series number had the local title of Fort Boyard?
SELECT MAX No. FROM table WHERE Local title = Fort Boyard
Translate the following into a SQL query
What was the minimum number of episodes in any of the series?
SELECT MIN Episodes FROM table
Translate the following into a SQL query
Name the week number for the beatles
SELECT Week # FROM table WHERE Theme = The Beatles
Translate the following into a SQL query
Name the result for 1980s
SELECT Result FROM table WHERE Theme = 1980s
Translate the following into a SQL query
Name the order number for 1960s
SELECT Order # FROM table WHERE Theme = 1960s
Translate the following into a SQL query
Name the result for dolly parton
SELECT Result FROM table WHERE Original artist = Dolly Parton
Translate the following into a SQL query
Name the song choice for michael jackson
SELECT Song choice FROM table WHERE Original artist = Michael Jackson
Translate the following into a SQL query
What is the largest series number?
SELECT MAX Series # FROM table
Translate the following into a SQL query
What is the latest episode number with the title of Jerusalem?
SELECT MAX Episode # FROM table WHERE Title = Jerusalem
Translate the following into a SQL query
What was the original air date of the episode written by Michelle Offen?
SELECT Original airdate FROM table WHERE Written by = Michelle Offen
Translate the following into a SQL query
What is the title of the episode written by Vanessa Bates?
SELECT Title FROM table WHERE Written by = Vanessa Bates
Translate the following into a SQL query
What was the original air date for the episode Calle, The Transit of Venus?
SELECT Original airdate FROM table WHERE Title = The Transit of Venus
Translate the following into a SQL query
What is the completion percentage when yards per attempt was done by Steve McNair : 2003?
SELECT Completion Percentage FROM table WHERE Yards Per Attempt = Steve McNair : 2003
Translate the following into a SQL query
What rank has a rating of 146.8?
SELECT Rank FROM table WHERE Rating = 146.8
Translate the following into a SQL query
How many yards per attempt were there when total yards were 513?
SELECT Yards Per Attempt FROM table WHERE Total Yards = 513
Translate the following into a SQL query
What is the series number for the episode written by Kristen Dunphy and David Ogilvy?
SELECT MAX Series # FROM table WHERE Written by = Kristen Dunphy and David Ogilvy
Translate the following into a SQL query
If the title if the Lost Boy, how many directors were there?
SELECT COUNT Directed by FROM table WHERE Title = The Lost Boy
Translate the following into a SQL query
What is the title for the episode that written by Michael Miller?
SELECT Title FROM table WHERE Written by = Michael Miller
Translate the following into a SQL query
If the playoff berth is 17, what is the AFC championship number?
SELECT AFC Championships FROM table WHERE Playoff Berths = 17
Translate the following into a SQL query
If the team in the New England Patriots, what is the super bowl championship minimum number?
SELECT MIN Super Bowl Championships FROM table WHERE Team = New England Patriots
Translate the following into a SQL query
What is the maximum number of AFC championships?
SELECT MAX AFC Championships FROM table
Translate the following into a SQL query
How many authors are present when the original was Carry On?
SELECT COUNT Authors FROM table WHERE Original = Carry On
Translate the following into a SQL query
What was the draw for the english meaning Eyes that Never Lie?
SELECT Draw FROM table WHERE Language = English AND English Meaning = Eyes That Never Lie
Translate the following into a SQL query
What is the highest draw represented?
SELECT MAX Draw FROM table
Translate the following into a SQL query
Who was the artist for the origin Shake it, Europe?
SELECT Artist FROM table WHERE Original = Shake It, Europe
Translate the following into a SQL query
What is the arena capacity of the arena in the town whose head coach is Yuriy Korotkevich?
SELECT COUNT Arena (capacity) FROM table WHERE Head Coach = Yuriy Korotkevich
Translate the following into a SQL query
What is the arena capacity of the arena in the town whose head coach is Roberto Serniotti?
SELECT Arena (capacity) FROM table WHERE Head Coach = Roberto Serniotti
Translate the following into a SQL query
Who are the foreign players on team/s that play in Moscow?
SELECT Foreign Players (max. 2) FROM table WHERE Town = Moscow
Translate the following into a SQL query
What are the previous season ranks of teams whose website is www.novavolley.narod.ru?
SELECT Previous season 2007/2008 FROM table WHERE Website = www.novavolley.narod.ru
Translate the following into a SQL query
What are the minimum indoor results that have a 5 for inspection?
SELECT MIN Indoor FROM table WHERE Inspection = 5
Translate the following into a SQL query
What was the maximum number in written when the standard was 2?
SELECT MAX Written FROM table WHERE Standard = 2
Translate the following into a SQL query
How many point categories are there for the 3 mile run?
SELECT COUNT Points FROM table WHERE Mile Run = 3
Translate the following into a SQL query
What is the indoor number for the NJ wing/
SELECT Indoor FROM table WHERE Wing = NJ
Translate the following into a SQL query
What is the indoor number for the NER region?
SELECT COUNT Indoor FROM table WHERE Region = NER
Translate the following into a SQL query
What is the winning span of the name martin kaymer?
SELECT Winning span FROM table WHERE Name = Martin Kaymer
Translate the following into a SQL query
What is the winning span in the country of England with the name of paul casey?
SELECT Winning span FROM table WHERE Country = England AND Name = Paul Casey
Translate the following into a SQL query
What is the winning span for the name of bernard gallacher?
SELECT Winning span FROM table WHERE Name = Bernard Gallacher
Translate the following into a SQL query
What is the winning span with the rank of 5?
SELECT Winning span FROM table WHERE Rank = 5
Translate the following into a SQL query
How many scorecards are there for the match on October 28?
SELECT COUNT Scorecard FROM table WHERE Date = October 28
Translate the following into a SQL query
How many venues were there for the match on November 6?
SELECT COUNT Venue FROM table WHERE Date = November 6
Translate the following into a SQL query
What was the venue for the match on October 10?
SELECT Venue FROM table WHERE Date = October 10
Translate the following into a SQL query
Who was the man of the match when the Rockets won by 9 wickets?
SELECT Man of the Match FROM table WHERE Result = Rockets won by 9 wickets
Translate the following into a SQL query
Name the vacator for wisconsin 1st
SELECT Vacator FROM table WHERE District = Wisconsin 1st
Translate the following into a SQL query
Name the successor for pennsylvania 15th
SELECT Successor FROM table WHERE District = Pennsylvania 15th
Translate the following into a SQL query
Name the circuit for #47 orbit racing
SELECT Circuit FROM table WHERE Challenge Winning Team = #47 Orbit Racing
Translate the following into a SQL query
Name the gt2 winning team where lmp2 winning team and butch leitzinger marino franchitti ben devlin
SELECT GT2 Winning Team FROM table WHERE LMP2 Winning Team = Butch Leitzinger Marino Franchitti Ben Devlin
Translate the following into a SQL query
Name the lmp 1 winning team for rnd being 2 and adrian fernández luis díaz
SELECT LMP1 Winning Team FROM table WHERE Rnd = 2 AND LMP2 Winning Team = Adrian Fernández Luis Díaz
Translate the following into a SQL query
Which capitals have an area of exactly 377930 square km?
SELECT Capital FROM table WHERE Area km² = 377930
Translate the following into a SQL query
What is the total number of capitals that have an area of exactly 1104 square km?
SELECT COUNT Capital FROM table WHERE Area km² = 1104
Translate the following into a SQL query
What capital has a population of exactly 1339724852?
SELECT Capital FROM table WHERE Population = 1339724852
Translate the following into a SQL query
How many populations have a capital of Hong Kong?
SELECT COUNT Population FROM table WHERE Capital = Hong Kong
Translate the following into a SQL query
What are all values for the male population in 2001 with a growth rate in 1991-01 of 36.16?
SELECT Male Population 2001 FROM table WHERE Growth Rate 1991-01 = 36.16
Translate the following into a SQL query
What is the least value for total population in 2001 with a growth rate in 1991-01 of 33.08?
SELECT MIN Total Population 2001 FROM table WHERE Growth Rate 1991-01 = 33.08
Translate the following into a SQL query
What are all values for male population in 2001 when sex ratio in 1991 is 896?
SELECT Male Population 2001 FROM table WHERE Sex Ratio ‡ 1991 = 896
Translate the following into a SQL query
What is every growth rate in 1991-2001 when sex ratio in 2001 is 937?
SELECT Growth Rate 1991-01 FROM table WHERE Sex Ratio ‡ 2001 = 937
Translate the following into a SQL query
What districts of Bihar have a sex ratio in 1991 of 864?
SELECT Districts of Bihar FROM table WHERE Sex Ratio ‡ 1991 = 864
Translate the following into a SQL query
How many marriages between women have % same-sex marriages of 1.06?
SELECT Marriages between women FROM table WHERE % same-sex marriages = 1.06
Translate the following into a SQL query
What is the % of same-sex marriages for the year of 2011?
SELECT % same-sex marriages FROM table WHERE Year = 2011
Translate the following into a SQL query
How many % same-sex marriages are there for the year 2008?
SELECT COUNT % same-sex marriages FROM table WHERE Year = 2008
Translate the following into a SQL query
How many % same-sex marriages are marriages between men for 923?
SELECT COUNT % same-sex marriages FROM table WHERE Marriages between men = 923
Translate the following into a SQL query
When was the episode number 2 originally aired?
SELECT Original Air Date FROM table WHERE Episode # = 2
Translate the following into a SQL query
When was the episode titled "The Parachute of Healing" originally aired?
SELECT Original Air Date FROM table WHERE Title = "The Parachute of Healing"
Translate the following into a SQL query
Who was the writer of the episode titled "The Parachute of Healing"?
SELECT Writer(s) FROM table WHERE Title = "The Parachute of Healing"
Translate the following into a SQL query
What was the highest season number?
SELECT MAX Season # FROM table
Translate the following into a SQL query
What was the margin of victory of Steve Stricker as a runner up?
SELECT Margin of victory FROM table WHERE Runner(s)-up = Steve Stricker
Translate the following into a SQL query
How many to par has the winning score of 69-66-68=203.
SELECT To par FROM table WHERE Winning score = 69-66-68=203
Translate the following into a SQL query
What is the minimum number of the bmw championship tournament.
SELECT MIN No. FROM table WHERE Tournament = BMW Championship
Translate the following into a SQL query
What is the total number of John Merrick as a runner up?
SELECT COUNT No. FROM table WHERE Runner(s)-up = John Merrick
Translate the following into a SQL query
What horses does r. a. Scott own?
SELECT Horse FROM table WHERE Owner = R. A. Scott
Translate the following into a SQL query
How many numbers have sp of 20/1 and a finishing position of fence 19?
SELECT COUNT Number FROM table WHERE SP = 20/1 AND Finishing position = Fence 19
Translate the following into a SQL query
Which handicap has the horse knowhere?
SELECT Handicap (st-lb) FROM table WHERE Horse = Knowhere
Translate the following into a SQL query
What colors does David Langdon use?
SELECT Colours FROM table WHERE Owner = David Langdon
Translate the following into a SQL query
If the film title nominated is Baran, what was the result?
SELECT Result FROM table WHERE Film title used in nomination = Baran
Translate the following into a SQL query
For the Persian Title میم مثل مادر, what were the results?
SELECT Result FROM table WHERE Persian title = میم مثل مادر
Translate the following into a SQL query
For the Persian title گبه, What was the film title used for the nomination?
SELECT Film title used in nomination FROM table WHERE Persian title = گبه
Translate the following into a SQL query
What year had an Allison B400R transmission and a model of BRT?
SELECT Year FROM table WHERE Transmission = Allison B400R AND Model = BRT
Translate the following into a SQL query
What is the fleet number when the length (ft) is 30?
SELECT Fleet # FROM table WHERE Length (ft) = 30
Translate the following into a SQL query
What is the fleet number when the transmission is Voith D863.4 and the engine is Cummins ISL?
SELECT Fleet # FROM table WHERE Transmission = Voith D863.4 AND Engine = Cummins ISL
Translate the following into a SQL query
Which year had a transmission of Voith D863.4 and a Cummins ISM engine?
SELECT Year FROM table WHERE Transmission = Voith D863.4 AND Engine = Cummins ISM