instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query
|
Who is the winner in des moines, iowa where p.h. finkbank was the runner-up?
|
SELECT Winner FROM table WHERE Location = des moines, iowa AND Runner-up = p.h. finkbank
|
Translate the following into a SQL query
|
What is the location where ed c. kingsley was the runner-up in 1939?
|
SELECT Location FROM table WHERE Runner-up = ed c. kingsley AND Year = 1939
|
Translate the following into a SQL query
|
Who is the winner when mark fuller was the runner-up?
|
SELECT Winner FROM table WHERE Runner-up = mark fuller
|
Translate the following into a SQL query
|
What is the venue in 2002?
|
SELECT Venue FROM table WHERE Year = 2002
|
Translate the following into a SQL query
|
Who is the runner-up in 1901?
|
SELECT Runner-up FROM table WHERE Year = 1901
|
Translate the following into a SQL query
|
What Australian sound is equivalent to e /ɛ/?
|
SELECT Australian FROM table WHERE Short vowels = e /ɛ/
|
Translate the following into a SQL query
|
What was the score of the game when they played at new york islanders?
|
SELECT Score FROM table WHERE Home = new york islanders
|
Translate the following into a SQL query
|
Which of the R. Epp, has J Thiessen of Tjoatj?
|
SELECT R. Epp FROM table WHERE J. Thiessen = tjoatj
|
Translate the following into a SQL query
|
Which of the R. Epp, has Ed Zacharias from Rollen, Jerolt, Golt?
|
SELECT R. Epp FROM table WHERE Ed Zacharias = rollen, jerolt, golt
|
Translate the following into a SQL query
|
Which of the A. Dyck has J. Thiessen of Du?
|
SELECT A. Dyck FROM table WHERE J. Thiessen = du
|
Translate the following into a SQL query
|
Which of the H. Rempel has J. J. Neufeld of Sajen?
|
SELECT H. Rempel FROM table WHERE J. J. Neufeld = sajen
|
Translate the following into a SQL query
|
What is the sum of Against, when Status is "Six Nations", and when Date is "30/03/2003"?
|
SELECT SUM Against FROM table WHERE Status = six nations AND Date = 30/03/2003
|
Translate the following into a SQL query
|
What is Opposing Teams, when Against is less than 6?
|
SELECT Opposing Teams FROM table WHERE Against < 6
|
Translate the following into a SQL query
|
What is Date, when Against is "22"?
|
SELECT Date FROM table WHERE Against = 22
|
Translate the following into a SQL query
|
What shows for money (£) when South Africa is the country?
|
SELECT MAX Money ( £ ) FROM table WHERE Country = south africa
|
Translate the following into a SQL query
|
What is the To par when Lanny Wadkins is the player?
|
SELECT To par FROM table WHERE Player = lanny wadkins
|
Translate the following into a SQL query
|
What was the score of the marco island tournament match when Kathleen Horvath won runner-up?
|
SELECT Score FROM table WHERE Outcome = runner-up AND Tournament = marco island
|
Translate the following into a SQL query
|
What was the tournament that was on july 6, 1987?
|
SELECT Tournament FROM table WHERE Date = july 6, 1987
|
Translate the following into a SQL query
|
What is pick 246's position?
|
SELECT Position FROM table WHERE Pick = 246
|
Translate the following into a SQL query
|
Which Pick has a Player of chuck bryant, and an NFL Club of san diego chargers?
|
SELECT Pick FROM table WHERE Player = chuck bryant AND NFL Club = san diego chargers
|
Translate the following into a SQL query
|
What is the position of the pittsburgh steelers?
|
SELECT Position FROM table WHERE NFL Club = pittsburgh steelers
|
Translate the following into a SQL query
|
Which NFL Club has a Player of sam tidmore, and a Pick of 81?
|
SELECT NFL Club FROM table WHERE Player = sam tidmore AND Pick = 81
|
Translate the following into a SQL query
|
Which club had round of group stage round 1 and 5?
|
SELECT Club FROM table WHERE Round = group stage round 1 and 5
|
Translate the following into a SQL query
|
What is the aggregate for the first round for K.S.V. Waregem?
|
SELECT Aggregate FROM table WHERE Round = first round AND Club = k.s.v. waregem
|
Translate the following into a SQL query
|
What is the away where the round is the second round?
|
SELECT Away FROM table WHERE Round = second round
|
Translate the following into a SQL query
|
Which Team 1 has a 2nd leg of 1-3?
|
SELECT Team 1 FROM table WHERE 2nd leg = 1-3
|
Translate the following into a SQL query
|
What is the Agg for 1st Leg 1-2 and 2nd leg of Withdrew?
|
SELECT Agg. FROM table WHERE 1st leg = 1-2 AND 2nd leg = withdrew
|
Translate the following into a SQL query
|
What is the 2nd leg if the 1st leg is 3-1 and the Team 2 is union sportive de la médina d'alger?
|
SELECT 2nd leg FROM table WHERE 1st leg = 3-1 AND Team 2 = union sportive de la médina d'alger
|
Translate the following into a SQL query
|
What is Team 2 if the 1st Leg is 3-1 and the 2nd Leg is 4-1?
|
SELECT Team 2 FROM table WHERE 1st leg = 3-1 AND 2nd leg = 4-1
|
Translate the following into a SQL query
|
What was the broadcaste date for the episode with a run time of 24:44?
|
SELECT Broadcast date FROM table WHERE Run time = 24:44
|
Translate the following into a SQL query
|
Which Episode had 9.1 million viewers?
|
SELECT Episode FROM table WHERE Viewers (in millions) = 9.1
|
Translate the following into a SQL query
|
What is Country, when Previous Team (League) is "Kingston Frontenacs ( OHL )", and when Player is "Anthony Stewart Category:Articles with hCards"?
|
SELECT Country FROM table WHERE Previous team (League) = kingston frontenacs ( ohl ) AND Player = anthony stewart category:articles with hcards
|
Translate the following into a SQL query
|
What is Player, when Pick is "3", when Position is "Defense", and when Year is less than 2010?
|
SELECT Player FROM table WHERE Pick = 3 AND Position = defense AND Year < 2010
|
Translate the following into a SQL query
|
What is Position, when Year is less than 2000, and when Player is "Radek Dvorak Category:Articles with hCards"?
|
SELECT Position FROM table WHERE Year < 2000 AND Player = radek dvorak category:articles with hcards
|
Translate the following into a SQL query
|
What is Player, when Previous Team (League) is "Medicine Hat Tigers ( WHL )", and when Year is less than 2002?
|
SELECT Player FROM table WHERE Previous team (League) = medicine hat tigers ( whl ) AND Year < 2002
|
Translate the following into a SQL query
|
What is Country, when Year is "1994"?
|
SELECT Country FROM table WHERE Year = 1994
|
Translate the following into a SQL query
|
What episode has 7.8 million viewers?
|
SELECT Episode FROM table WHERE Viewers (in millions) = 7.8
|
Translate the following into a SQL query
|
What episode has a run time of 25:12?
|
SELECT Episode FROM table WHERE Run time = 25:12
|
Translate the following into a SQL query
|
What is the broadcast date with 7.0 million viewers?
|
SELECT Broadcast date FROM table WHERE Viewers (in millions) = 7.0
|
Translate the following into a SQL query
|
What is the average total for Dave Stockton?
|
SELECT AVG Total FROM table WHERE Player = dave stockton
|
Translate the following into a SQL query
|
What is the sum of the to par for the United States in the winning year of 1967, and has a total of more than 146?
|
SELECT SUM To par FROM table WHERE Country = united states AND Year(s) won = 1967 AND Total > 146
|
Translate the following into a SQL query
|
What is the score for the game in which Arsenal was the away team?
|
SELECT Score FROM table WHERE Away team = arsenal
|
Translate the following into a SQL query
|
What is the score for the tie number 15?
|
SELECT Score FROM table WHERE Tie no = 15
|
Translate the following into a SQL query
|
What Outgoing manager left at his end of tenure as caretaker and was Replaced by Jesper Hansen?
|
SELECT Outgoing manager FROM table WHERE Manner of departure = end of tenure as caretaker AND Replaced by = jesper hansen
|
Translate the following into a SQL query
|
What Team's Pre-Season Manager's manner of departure was the end of tenure as caretaker?
|
SELECT Team FROM table WHERE Position in table = pre-season AND Manner of departure = end of tenure as caretaker
|
Translate the following into a SQL query
|
What place is Fredrik Jacobson from?
|
SELECT Place FROM table WHERE Player = fredrik jacobson
|
Translate the following into a SQL query
|
What is the to par of Tiger Woods, where his score was less than 67, and he was in t1 place?
|
SELECT To par FROM table WHERE Score < 67 AND Place = t1 AND Player = tiger woods
|
Translate the following into a SQL query
|
What place is player Brad Faxon from?
|
SELECT Place FROM table WHERE Player = brad faxon
|
Translate the following into a SQL query
|
What is Sweden's lowest score?
|
SELECT MIN Score FROM table WHERE Country = sweden
|
Translate the following into a SQL query
|
Which Sub-Parish (Sogn) was built after 1894 in the Parish (Prestegjeld) of jostedal parish?
|
SELECT Sub-Parish (Sogn) FROM table WHERE Year Built > 1894 AND Parish (Prestegjeld) = jostedal parish
|
Translate the following into a SQL query
|
Which Sub-Parish (Sogn) is in the Parish (Prestegjeld) of hafslo parish and has a church called Hafslo Kyrkje?
|
SELECT Sub-Parish (Sogn) FROM table WHERE Parish (Prestegjeld) = hafslo parish AND Church Name = hafslo kyrkje
|
Translate the following into a SQL query
|
Which Sub-Parish (Sogn) is in the Parish (Prestegjeld) of hafslo parish and is located in the Church of Urnes?
|
SELECT Sub-Parish (Sogn) FROM table WHERE Parish (Prestegjeld) = hafslo parish AND Location of the Church = urnes
|
Translate the following into a SQL query
|
Which Sub-Parish (Sogn) was built before 1883 in the Parish (Prestegjeld) of jostedal parish and is located in the Church of Gaupne?
|
SELECT Sub-Parish (Sogn) FROM table WHERE Year Built < 1883 AND Parish (Prestegjeld) = jostedal parish AND Location of the Church = gaupne
|
Translate the following into a SQL query
|
Which Sub-Parish (Sogn) has a church named Jostedal Kyrkje?
|
SELECT Sub-Parish (Sogn) FROM table WHERE Church Name = jostedal kyrkje
|
Translate the following into a SQL query
|
What's the national title of miss international ikumi yoshimatsu?
|
SELECT National title FROM table WHERE Miss International = ikumi yoshimatsu
|
Translate the following into a SQL query
|
What's the earliest year the philippines won?
|
SELECT MIN Year FROM table WHERE Country/Territory = philippines
|
Translate the following into a SQL query
|
What's the average year lebanon won?
|
SELECT AVG Year FROM table WHERE Country/Territory = lebanon
|
Translate the following into a SQL query
|
What country or territory is małgorzata rożniecka from?
|
SELECT Country/Territory FROM table WHERE Miss International = małgorzata rożniecka
|
Translate the following into a SQL query
|
Which team had a league of regionalliga süd?
|
SELECT Teams FROM table WHERE League = regionalliga süd
|
Translate the following into a SQL query
|
What was the home for season 1949-50?
|
SELECT Home FROM table WHERE Season = 1949-50
|
Translate the following into a SQL query
|
Which season had a home 2-3?
|
SELECT Season FROM table WHERE Home = 2-3
|
Translate the following into a SQL query
|
Which team had a season 1954-55?
|
SELECT Teams FROM table WHERE Season = 1954-55
|
Translate the following into a SQL query
|
What season has an away 2-0?
|
SELECT Season FROM table WHERE Away = 2-0
|
Translate the following into a SQL query
|
What team has a home of 2-3?
|
SELECT Teams FROM table WHERE Home = 2-3
|
Translate the following into a SQL query
|
What is the total that wehn Lithuania is the nation, and Silver is more than 0?
|
SELECT MIN Total FROM table WHERE Nation = lithuania AND Silver > 0
|
Translate the following into a SQL query
|
What is the rank when bronze was more than 0, gold more than 1, Nation is japan, and silver less than 0?
|
SELECT AVG Rank FROM table WHERE Bronze > 0 AND Gold > 1 AND Nation = japan AND Silver < 0
|
Translate the following into a SQL query
|
What is the rank when the total is less than 1?
|
SELECT MIN Rank FROM table WHERE Total < 1
|
Translate the following into a SQL query
|
What is the total when silver is more than 0, and bronze less than 0?
|
SELECT MAX Total FROM table WHERE Silver > 0 AND Bronze < 0
|
Translate the following into a SQL query
|
What is the rank that when Serbia is the nation, and gold is larger than 0?
|
SELECT SUM Rank FROM table WHERE Nation = serbia AND Gold > 0
|
Translate the following into a SQL query
|
Which Year(s) won has a To par smaller than 12, and a Player of john daly?
|
SELECT Year(s) won FROM table WHERE To par < 12 AND Player = john daly
|
Translate the following into a SQL query
|
Which Player has a To par of 12, and a Country of fiji?
|
SELECT Player FROM table WHERE To par = 12 AND Country = fiji
|
Translate the following into a SQL query
|
Which Total has a To par larger than 12?
|
SELECT MIN Total FROM table WHERE To par > 12
|
Translate the following into a SQL query
|
How much To par has a Total larger than 149, and a Country of united states, and a Year(s) won of 1997?
|
SELECT SUM To par FROM table WHERE Total > 149 AND Country = united states AND Year(s) won = 1997
|
Translate the following into a SQL query
|
Which Network has a Rank larger than 5, a Show of 2012 summer olympics closing ceremony in london?
|
SELECT Network FROM table WHERE Rank > 5 AND Show = 2012 summer olympics closing ceremony in london
|
Translate the following into a SQL query
|
Which Rank has a Network of bbc one, and a Number of Viewers of 30.15million? Question 2
|
SELECT SUM Rank FROM table WHERE Network = bbc one AND Number of Viewers = 30.15million
|
Translate the following into a SQL query
|
When has a Rank larger than 2 and a Network of itv?
|
SELECT Date FROM table WHERE Rank > 2 AND Network = itv
|
Translate the following into a SQL query
|
What is the Term of office for Leonard Reynolds of NSW?
|
SELECT Term of office FROM table WHERE State = nsw AND Member = leonard reynolds
|
Translate the following into a SQL query
|
What state shows for Cunningham?
|
SELECT State FROM table WHERE Electorate = cunningham
|
Translate the following into a SQL query
|
What is the Electorate when the term of office was 1955–1972, for Peter Howson?
|
SELECT Electorate FROM table WHERE Term of office = 1955–1972 AND Member = peter howson
|
Translate the following into a SQL query
|
What party has a term of office of 1951–1966, and a State of sa?
|
SELECT Party FROM table WHERE Term of office = 1951–1966 AND State = sa
|
Translate the following into a SQL query
|
What was the Attendance at Jobing.com Arena?
|
SELECT COUNT Attendance FROM table WHERE Arena = jobing.com arena
|
Translate the following into a SQL query
|
What is the Date of the game with a Loss of Leneveu (1–0–1)?
|
SELECT Date FROM table WHERE Loss = leneveu (1–0–1)
|
Translate the following into a SQL query
|
What is the Date with a game with a Record of 2–1–1?
|
SELECT Date FROM table WHERE Record = 2–1–1
|
Translate the following into a SQL query
|
What is the Score at Jobing.com Arena?
|
SELECT Score FROM table WHERE Arena = jobing.com arena
|
Translate the following into a SQL query
|
What is the Opponent of the game on September 26?
|
SELECT Opponent FROM table WHERE Date = september 26
|
Translate the following into a SQL query
|
What Label has a Region of united states, and a Format of cassette?
|
SELECT Label FROM table WHERE Region = united states AND Format = cassette
|
Translate the following into a SQL query
|
What Date has a Label of grilled cheese?
|
SELECT Date FROM table WHERE Label = grilled cheese
|
Translate the following into a SQL query
|
What Catalog has a Label of geffen records / universal music special markets?
|
SELECT Catalog FROM table WHERE Label = geffen records / universal music special markets
|
Translate the following into a SQL query
|
What Label has a Format of cd, and a Catalog of crgd 86136?
|
SELECT Label FROM table WHERE Format = cd AND Catalog = crgd 86136
|
Translate the following into a SQL query
|
What Region has a Catalog of crgd 86136?
|
SELECT Region FROM table WHERE Catalog = crgd 86136
|
Translate the following into a SQL query
|
What Label has a Catalog of 486 136-2?
|
SELECT Label FROM table WHERE Catalog = 486 136-2
|
Translate the following into a SQL query
|
Which Date has an Attendance larger than 51,338, and an Opponent of manchester united?
|
SELECT Date FROM table WHERE Attendance > 51,338 AND Opponent = manchester united
|
Translate the following into a SQL query
|
Which Opponent has a Result of 0-3?
|
SELECT Opponent FROM table WHERE Result = 0-3
|
Translate the following into a SQL query
|
What is the total attendance with a 1-0 result, at Venue H, and Round SF?
|
SELECT SUM Attendance FROM table WHERE Result = 1-0 AND Venue = h AND Round = sf
|
Translate the following into a SQL query
|
What is the lowest attendance at Venue H in Round R2?
|
SELECT MIN Attendance FROM table WHERE Venue = h AND Round = r2
|
Translate the following into a SQL query
|
What is the highest attendance for the opponents Club Brugge in Venue A?
|
SELECT MAX Attendance FROM table WHERE Opponent = club brugge AND Venue = a
|
Translate the following into a SQL query
|
What is the round for the opponent CSKA Sofia in Venue A?
|
SELECT Round FROM table WHERE Opponent = cska sofia AND Venue = a
|
Translate the following into a SQL query
|
What player placed t10?
|
SELECT Player FROM table WHERE Place = t10
|
Translate the following into a SQL query
|
What was Bernhard Langer's highest score?
|
SELECT MAX Score FROM table WHERE Player = bernhard langer
|
Translate the following into a SQL query
|
What was Craig Stadler's lowest score for United states?
|
SELECT MIN Score FROM table WHERE Country = united states AND Player = craig stadler
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.