instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
Who was the visiting team when the record was 6–12–5–1?
SELECT Visitor FROM table WHERE Record = 6–12–5–1
Translate the following into a SQL query
Who was the home team when the record was 21–45–8–5?
SELECT Home FROM table WHERE Record = 21–45–8–5
Translate the following into a SQL query
Which of the attributes has is cancelable and an answer of yes for bubbles?
SELECT Attribute FROM table WHERE Cancelable = yes AND Bubbles = yes
Translate the following into a SQL query
Which bubbles has an atribute of onlostpointercapture?
SELECT Bubbles FROM table WHERE Attribute = onlostpointercapture
Translate the following into a SQL query
For the attribute of onpointerout, what is the cancelable?
SELECT Cancelable FROM table WHERE Attribute = onpointerout
Translate the following into a SQL query
Which bubble have a cancelable of yes and an attribute of onpointerdown?
SELECT Bubbles FROM table WHERE Cancelable = yes AND Attribute = onpointerdown
Translate the following into a SQL query
What's the highest grid of Ronnie Bremer, who had more than 18 points?
SELECT MAX Grid FROM table WHERE Driver = ronnie bremer AND Points > 18
Translate the following into a SQL query
What are the most points Lap 70 had with a grid larger than 16?
SELECT MAX Points FROM table WHERE Laps = 70 AND Grid > 16
Translate the following into a SQL query
What is the name of the track in Holland?
SELECT Track FROM table WHERE City = holland
Translate the following into a SQL query
What is the track in Washington state?
SELECT Track FROM table WHERE State = washington
Translate the following into a SQL query
What is the city the track of manzanita speedway is in?
SELECT City FROM table WHERE Track = manzanita speedway
Translate the following into a SQL query
What is the surface of the track at the indianapolis speedrome?
SELECT Surface FROM table WHERE Track = indianapolis speedrome
Translate the following into a SQL query
What is the surface for the riverhead raceway?
SELECT Surface FROM table WHERE Track = riverhead raceway
Translate the following into a SQL query
What city is the indianapolis speedrome in?
SELECT City FROM table WHERE Track = indianapolis speedrome
Translate the following into a SQL query
What is the IUPAC name for chloroform?
SELECT IUPAC name FROM table WHERE Common name = chloroform
Translate the following into a SQL query
What is the SZDSZ percentage with an MSZP of 25% on 25/2/2009?
SELECT SZDSZ FROM table WHERE MSZP = 25% AND Date = 25/2/2009
Translate the following into a SQL query
What percentage of others have an SZDSZ of 4% and a Fidesz of 60%?
SELECT others FROM table WHERE SZDSZ = 4% AND Fidesz = 60%
Translate the following into a SQL query
What is the percentage of others with a Fidesz of 62% and a Jobbik of 4%?
SELECT others FROM table WHERE Fidesz = 62% AND Jobbik = 4%
Translate the following into a SQL query
On what date do others have 5% with an SZDSZ of 5%?
SELECT Date FROM table WHERE others = 5% AND SZDSZ = 5%
Translate the following into a SQL query
What is the SZDSZ percentage with a Jobbik of 5% and a Fidesz of 68%?
SELECT SZDSZ FROM table WHERE Jobbik = 5% AND Fidesz = 68%
Translate the following into a SQL query
What is the Jobbik percentage with a Fidesz of 61% and others of 2%?
SELECT Jobbik FROM table WHERE Fidesz = 61% AND others = 2%
Translate the following into a SQL query
What's listed for the Turnout % with a Ngilu of 3,429?
SELECT Turnout % FROM table WHERE Ngilu = 3,429
Translate the following into a SQL query
What's listed for the Turnout % with a Raila of 519,180?
SELECT Turnout % FROM table WHERE Raila = 519,180
Translate the following into a SQL query
What's listed for the Turnout % with a Ngilu of 30,535?
SELECT Turnout % FROM table WHERE Ngilu = 30,535
Translate the following into a SQL query
What's listed for the Registered Voters with a Ngilu of 3,429?
SELECT Registered Voters FROM table WHERE Ngilu = 3,429
Translate the following into a SQL query
What is listed for the Province with a Wamalwa of 4,431?
SELECT Province FROM table WHERE Wamalwa = 4,431
Translate the following into a SQL query
What's listed for the Wamalwa that has a Turnout % of 55.9%?
SELECT Wamalwa FROM table WHERE Turnout % = 55.9%
Translate the following into a SQL query
What were the average partial failures when the rocket was Ariane 5?
SELECT AVG Partial failures FROM table WHERE Rocket = ariane 5
Translate the following into a SQL query
What are average launches with 0 failures, rocket of Soyuz, and less than 12 successes?
SELECT AVG Launches FROM table WHERE Failures = 0 AND Rocket = soyuz AND Successes < 12
Translate the following into a SQL query
What is the sum of launches with Long March 3 and 0 failures?
SELECT SUM Launches FROM table WHERE Rocket = long march 3 AND Failures > 0
Translate the following into a SQL query
What is the least amount of failures with 1 launch and 0 partial failures?
SELECT MIN Failures FROM table WHERE Launches = 1 AND Partial failures < 0
Translate the following into a SQL query
What were the average launches for Ariane 5 and 0 partial failures?
SELECT AVG Launches FROM table WHERE Rocket = ariane 5 AND Partial failures < 0
Translate the following into a SQL query
What was the race of the jockey in na group in 4th place?
SELECT Race FROM table WHERE Group = na AND Result = 4th
Translate the following into a SQL query
How far did p. carbery run to get 2nd?
SELECT Distance FROM table WHERE Jockey = p. carbery AND Result = 2nd
Translate the following into a SQL query
What is the Removal that has a Trim of xe (2009)?
SELECT Transmission FROM table WHERE Trim = xe (2009)
Translate the following into a SQL query
What is the Torque that has a Power of hp (kw), and a Trim of xr (2009)? Question 6
SELECT Torque FROM table WHERE Power = hp (kw) AND Trim = xr (2009)
Translate the following into a SQL query
Which Round is the lowest one that has a College/Junior/Club Team (League) of oshawa generals (oha), and a Player of bob kelly?
SELECT MIN Round FROM table WHERE College/Junior/Club Team (League) = oshawa generals (oha) AND Player = bob kelly
Translate the following into a SQL query
What surface was used when she played with Remi Tezuka?
SELECT Surface FROM table WHERE Partner = remi tezuka
Translate the following into a SQL query
What Results has the Record of 28-12?
SELECT Results FROM table WHERE Record = 28-12
Translate the following into a SQL query
What Results has a Seed #12 and a Year that's smaller than 1996
SELECT Results FROM table WHERE Seed = #12 AND Year < 1996
Translate the following into a SQL query
What's the highest Year with the Record of 18-12?
SELECT MAX Year FROM table WHERE Record = 18-12
Translate the following into a SQL query
What's the highest Year with the Region of Southeast?
SELECT MAX Year FROM table WHERE Region = southeast
Translate the following into a SQL query
What Record has a Year that's larger than 2012?
SELECT Record FROM table WHERE Year > 2012
Translate the following into a SQL query
What is the Laker's record when they played against Kansas City Kings?
SELECT Record FROM table WHERE Opponent = kansas city kings
Translate the following into a SQL query
Name the pronunciation for ε‚³
SELECT Pronunciation a FROM table WHERE Word = ε‚³
Translate the following into a SQL query
Name the pronunciation for meaning of king
SELECT Pronunciation a FROM table WHERE Meaning a = king
Translate the following into a SQL query
Name the word with pronunciation b of *sɨks
SELECT Word FROM table WHERE Pronunciation b = *sɨks
Translate the following into a SQL query
Name the pronunciation for meaning b of border, frontier
SELECT Pronunciation b FROM table WHERE Meaning b = border, frontier
Translate the following into a SQL query
Name the pronunciation b for meaning of grind
SELECT Pronunciation b FROM table WHERE Meaning a = grind
Translate the following into a SQL query
What is the 2008 value that was 2nd in 2006?
SELECT 2008 FROM table WHERE 2006 = 2nd
Translate the following into a SQL query
What is the average total that is 1st in 2010?
SELECT AVG Total FROM table WHERE 2010 = 1st
Translate the following into a SQL query
What is the 2008 value with a 7 in 2010?
SELECT 2008 FROM table WHERE 2010 = 7
Translate the following into a SQL query
What is the Location for the woodburn dragstrip?
SELECT Location FROM table WHERE Name = woodburn dragstrip
Translate the following into a SQL query
What State has an Opened (closing date if defunct) that shows 1960?
SELECT State FROM table WHERE Opened (closing date if defunct) = 1960
Translate the following into a SQL query
What is the Location for the route 66 raceway?
SELECT Location FROM table WHERE Name = route 66 raceway
Translate the following into a SQL query
What is the Location for the newington international airport?
SELECT Location FROM table WHERE Name = newington international airport
Translate the following into a SQL query
What is the Name with an Opened (closing date if defunct) of 1995 and has a Length of miles (m), in Illinois?
SELECT Name FROM table WHERE Opened (closing date if defunct) = 1995 AND Length = miles (m) AND State = illinois
Translate the following into a SQL query
What is the Score with an Opponent that is amanda brown brenda remilton?
SELECT Score FROM table WHERE Opponents = amanda brown brenda remilton
Translate the following into a SQL query
What is the Score with an Outcome of runner-up, and a Partner that is elizabeth little?
SELECT Score FROM table WHERE Outcome = runner-up AND Partner = elizabeth little
Translate the following into a SQL query
Who was the pitcher on June 8, 1961?
SELECT Pitcher FROM table WHERE Date = june 8, 1961
Translate the following into a SQL query
What team had the record asscoiated with the 9th inning?
SELECT Team FROM table WHERE Inn. = 9th
Translate the following into a SQL query
In what venue did the Boston Red Sox play in?
SELECT Venue FROM table WHERE Team = boston red sox
Translate the following into a SQL query
Who was the pitcher with the record recorded in the 7th inning?
SELECT Pitcher FROM table WHERE Inn. = 7th
Translate the following into a SQL query
When David E. Finley was the incumbent what was the result?
SELECT Result FROM table WHERE Incumbent = david e. finley
Translate the following into a SQL query
When someone was first elected in 1898 what was the result?
SELECT Result FROM table WHERE First elected = 1898
Translate the following into a SQL query
What party has an incumbent of Stanyarne Wilson?
SELECT Party FROM table WHERE Incumbent = stanyarne wilson
Translate the following into a SQL query
When the incumbent was William Elliott, what was the result?
SELECT Result FROM table WHERE Incumbent = william elliott
Translate the following into a SQL query
What is the 8:00 that has da vinci's inquest as the 9:00?
SELECT 8:00 FROM table WHERE 9:00 = da vinci's inquest
Translate the following into a SQL query
What 10:00 has party of five as 9:30?
SELECT 10:00 FROM table WHERE 9:30 = party of five
Translate the following into a SQL query
What 9:00 has entertainment tonight as 7:00?
SELECT 9:00 FROM table WHERE 7:00 = entertainment tonight
Translate the following into a SQL query
Score of 2-1, and a Competition of pl, and a Date of december 22, 2006 had what opponents?
SELECT Opponents FROM table WHERE Score = 2-1 AND Competition = pl AND Date = december 22, 2006
Translate the following into a SQL query
Date of april 3, 2007 had what score?
SELECT Score FROM table WHERE Date = april 3, 2007
Translate the following into a SQL query
Competition of pl, and a Score of 1-1, and a Opponents of kelantan had what date?
SELECT Date FROM table WHERE Competition = pl AND Score = 1-1 AND Opponents = kelantan
Translate the following into a SQL query
Venue of klfa stadium, cheras, and a Score of 3-3 had what competition?
SELECT Competition FROM table WHERE Venue = klfa stadium, cheras AND Score = 3-3
Translate the following into a SQL query
Opponents of police, and a Venue of selayang municipal council stadium had what date?
SELECT Date FROM table WHERE Opponents = police AND Venue = selayang municipal council stadium
Translate the following into a SQL query
Competition of fa cup rd 1 had what venue?
SELECT Venue FROM table WHERE Competition = fa cup rd 1
Translate the following into a SQL query
Who was the visiting team on January 27?
SELECT Visitor FROM table WHERE Date = january 27
Translate the following into a SQL query
What is the home team that played on February 25?
SELECT Home FROM table WHERE Date = february 25
Translate the following into a SQL query
Name the date with chicago visiting
SELECT Date FROM table WHERE Visitor = chicago
Translate the following into a SQL query
Name the home with chicago visiting
SELECT Home FROM table WHERE Visitor = chicago
Translate the following into a SQL query
What is the highest number of apps of the player with more than 63 goals and an avge of 0.45?
SELECT MAX Apps FROM table WHERE Goals > 63 AND Avge = 0.45
Translate the following into a SQL query
What is the total avge of John Hall, who has less than 63 goals?
SELECT COUNT Avge FROM table WHERE Name = john hall AND Goals < 63
Translate the following into a SQL query
When did Kim Thompson win with 278 score?
SELECT SUM Year FROM table WHERE Score = 278 AND Champion = kim thompson
Translate the following into a SQL query
Where did Steve Gotsche win?
SELECT Venue FROM table WHERE Champion = steve gotsche
Translate the following into a SQL query
What is the sum of Rank with a build year earlier than 2007 for the howard johnson hotel bucharest?
SELECT SUM Rank FROM table WHERE Built < 2007 AND Building = howard johnson hotel bucharest
Translate the following into a SQL query
What is the Height (m/ft) for bucharest Built in 2009, and a Rank of 13?
SELECT Height (m/ft) FROM table WHERE City = bucharest AND Built = 2009 AND Rank = 13
Translate the following into a SQL query
What city is the bucharest tower center (btc) located in?
SELECT City FROM table WHERE Building = bucharest tower center (btc)
Translate the following into a SQL query
What is the name of the building in Bucharest with a rank of less than 12?
SELECT Building FROM table WHERE City = bucharest AND Rank < 12
Translate the following into a SQL query
What city was the building built in 1988?
SELECT City FROM table WHERE Built = 1988
Translate the following into a SQL query
What is the score of the Boston Bruins game from April 11?
SELECT Score FROM table WHERE Home = boston bruins AND Date = april 11
Translate the following into a SQL query
What is the record of the Hartford Whalers home team with the April 13 game date?
SELECT Record FROM table WHERE Home = hartford whalers AND Date = april 13
Translate the following into a SQL query
What is the score of the visiting Hartford Whalers game from April 11?
SELECT Score FROM table WHERE Visitor = hartford whalers AND Date = april 11
Translate the following into a SQL query
Which Passengers have Carriers of air canada?
SELECT Passengers FROM table WHERE Carriers = air canada
Translate the following into a SQL query
Which Metropolitan area has Passengers larger than 130,903, and a Rank of 4?
SELECT Metropolitan area FROM table WHERE Passengers > 130,903 AND Rank = 4
Translate the following into a SQL query
Which Metropolitan area has an Airport of toronto pearson international airport?
SELECT Metropolitan area FROM table WHERE Airport = toronto pearson international airport
Translate the following into a SQL query
What is the link for january 31 – february 3, 2011?
SELECT Link FROM table WHERE Date of Polling = january 31 – february 3, 2011
Translate the following into a SQL query
On what date of polling was the Polling Firm forum research with 7 green and less than 30 liberals?
SELECT Date of Polling FROM table WHERE Polling Firm = forum research AND Green = 7 AND Liberal < 30
Translate the following into a SQL query
Which september 26–28, 2011 polling firm had a Link of html, less than 36 liberals, and less than 8 green?
SELECT Polling Firm FROM table WHERE Link = html AND Liberal < 36 AND Green < 8 AND Date of Polling = september 26–28, 2011
Translate the following into a SQL query
What june 21–22, 2011 polling has green smaller than 13?
SELECT Polling Firm FROM table WHERE Green < 13 AND Date of Polling = june 21–22, 2011
Translate the following into a SQL query
What is listed under the Years as tallest, that has Floors of 31?
SELECT Years as tallest FROM table WHERE Floors = 31