instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
Name the average apps for smederevo
SELECT AVG Apps FROM table WHERE Team = smederevo
Translate the following into a SQL query
What model engine has a lotus 16 chassis?
SELECT Engine FROM table WHERE Chassis = lotus 16
Translate the following into a SQL query
How many points after 1960 for fred tuck cars?
SELECT MAX Points FROM table WHERE Entrant = fred tuck cars AND Year > 1960
Translate the following into a SQL query
What is the distance for the unnamed race with 3 runners at Newcastle?
SELECT Dist (miles) FROM table WHERE Race name = unnamed race AND Runners = 3 AND Course = newcastle
Translate the following into a SQL query
Name the score when the record was 18-25
SELECT Score FROM table WHERE Record = 18-25
Translate the following into a SQL query
Name the loss for the angels opponent
SELECT Loss FROM table WHERE Opponent = angels
Translate the following into a SQL query
Name the total number of people that went when the record was 16-22
SELECT COUNT Attendance FROM table WHERE Record = 16-22
Translate the following into a SQL query
Name the score for the mariners opponent on may 10
SELECT Score FROM table WHERE Opponent = mariners AND Date = may 10
Translate the following into a SQL query
What was the Outcome for the Partner of Jürgen Melzer and the Date of January 7, 2012?
SELECT Outcome FROM table WHERE Partner = jürgen melzer AND Date = january 7, 2012
Translate the following into a SQL query
What was the Surface for the Partner of Jürgen Melzer, and a Date of July 16, 2011?
SELECT Surface FROM table WHERE Partner = jürgen melzer AND Date = july 16, 2011
Translate the following into a SQL query
What's the Outcome for the Date of July 16, 2011?
SELECT Outcome FROM table WHERE Date = july 16, 2011
Translate the following into a SQL query
What's the Outcome for the Partner of Jürgen Melzer on the Date of February 7, 2010?
SELECT Outcome FROM table WHERE Partner = jürgen melzer AND Date = february 7, 2010
Translate the following into a SQL query
Name the nation with rank more than 9
SELECT Nation FROM table WHERE Rank > 9
Translate the following into a SQL query
Name the least bronze for silver being less than 0
SELECT MIN Bronze FROM table WHERE Silver < 0
Translate the following into a SQL query
Name the sum of rank for bronze less than 1 and gold of 1 with total less than 1
SELECT SUM Rank FROM table WHERE Bronze < 1 AND Gold = 1 AND Total < 1
Translate the following into a SQL query
Name the sum of rank for silver less than 0
SELECT SUM Rank FROM table WHERE Silver < 0
Translate the following into a SQL query
Name the least rank when silver is less than 1 and bronze is less than 1 with total more than 1
SELECT MIN Rank FROM table WHERE Silver < 1 AND Total > 1 AND Bronze < 1
Translate the following into a SQL query
What was the date of the game in which the series was 1-4?
SELECT Date FROM table WHERE Series = 1-4
Translate the following into a SQL query
What is the Score that has a Home of montreal canadiens on april 11?
SELECT Score FROM table WHERE Home = montreal canadiens AND Date = april 11
Translate the following into a SQL query
What is the Record on april 13?
SELECT Record FROM table WHERE Date = april 13
Translate the following into a SQL query
When is Home of chicago black hawks has a Record of 0–1?
SELECT Date FROM table WHERE Home = chicago black hawks AND Record = 0–1
Translate the following into a SQL query
What is the Date that chicago black hawks has a Record of 2–2?
SELECT Date FROM table WHERE Visitor = chicago black hawks AND Record = 2–2
Translate the following into a SQL query
Which Record has a Score of 0–2?
SELECT Record FROM table WHERE Score = 0–2
Translate the following into a SQL query
Who is the visitor on April 5?
SELECT Visitor FROM table WHERE Date = april 5
Translate the following into a SQL query
What is the Team, when the Year is 2011?
SELECT Team FROM table WHERE Year = 2011
Translate the following into a SQL query
What is the value for INT YDS, when the Team is New Orleans Saints, and when the value for Sacks is greater than 0, and when the vale for Solo is 71?
SELECT INT YDS FROM table WHERE Team = new orleans saints AND Sacks > 0 AND Solo = 71
Translate the following into a SQL query
What is the value for lowest Sacks, when the Team is New Orleans Saints, and when the value for Tackles is 132?
SELECT MIN Sacks FROM table WHERE Team = new orleans saints AND Tackles = 132
Translate the following into a SQL query
What is the value for Tackles, when the value for Solo is greater than 67, when the value for Sacks is less than 2, and when the value for INT YDS is greater than 1?
SELECT Tackles FROM table WHERE Solo > 67 AND Sacks < 2 AND INT YDS > 1
Translate the following into a SQL query
What is the total value for Solo, when the value of Sacks is 2, and when the Team is New York Jets?
SELECT COUNT Solo FROM table WHERE Sacks = 2 AND Team = new york jets
Translate the following into a SQL query
What is the outcome of the match with a score of 6–4, 6–1?
SELECT Outcome FROM table WHERE Score = 6–4, 6–1
Translate the following into a SQL query
What date was the match on a clay surface against Andrea Hlaváčková?
SELECT Date FROM table WHERE Surface = clay AND Opponent = andrea hlaváčková
Translate the following into a SQL query
What is the name of the opponent at the Herceg Novi tournament?
SELECT Opponent FROM table WHERE Tournament = herceg novi
Translate the following into a SQL query
What was the loss of the game when the record was 50-32?
SELECT Loss FROM table WHERE Record = 50-32
Translate the following into a SQL query
Who was the opponent with a result of l 14–6?
SELECT Opponent FROM table WHERE Result = l 14–6
Translate the following into a SQL query
What is the sum of all attendance on November 17, 1961?
SELECT SUM Attendance FROM table WHERE Date = november 17, 1961
Translate the following into a SQL query
What is the smallest attendance in week 5?
SELECT MIN Attendance FROM table WHERE Week = 5
Translate the following into a SQL query
Name the 3rd for season less than 4 and lost of 61
SELECT 3 rd FROM table WHERE Season < 4 AND Lost = 61
Translate the following into a SQL query
What is the sum of matches played that has a year of first match before 2000, fewer than 21 lost, and 0 drawn?
SELECT SUM Played FROM table WHERE First game < 2000 AND Lost < 21 AND Drawn < 0
Translate the following into a SQL query
What is the lowest number of matches played that has more than 0 draws, a percentage of 12.50%, and fewer than 3 losses?
SELECT MIN Played FROM table WHERE Drawn > 0 AND Percentage = 12.50% AND Lost < 3
Translate the following into a SQL query
What's the total value of សាមសិប?
SELECT SUM Value FROM table WHERE Word Form = សាមសិប
Translate the following into a SQL query
What can you say is the word from of sam sep?
SELECT Word Form FROM table WHERE Other = sam sep
Translate the following into a SQL query
What is smallest Khmer valued less than 90 have a kau sip ALA-LC?
SELECT MIN Khmer FROM table WHERE ALA-LC = kau sip AND Value < 90
Translate the following into a SQL query
How much is the total value of kau sĕb UNGEGN ?
SELECT SUM Value FROM table WHERE UNGEGN = kau sĕb
Translate the following into a SQL query
What is the lowest number of losses for the club cádiz cf?
SELECT MIN Losses FROM table WHERE Club = cádiz cf
Translate the following into a SQL query
What is the name of the artist with a Single / Pack of guitar hero track pack 1?
SELECT Artist FROM table WHERE Single / Pack = guitar hero track pack 1
Translate the following into a SQL query
What was the record at the game that had a loss of Lemanczyk (0–1)?
SELECT Record FROM table WHERE Loss = lemanczyk (0–1)
Translate the following into a SQL query
Game larger than 1, and a Location of comiskey park (i), and a Date of October 9 happened at what time?
SELECT Time FROM table WHERE Game > 1 AND Location = comiskey park (i) AND Date = october 9
Translate the following into a SQL query
Date of october 8 happened at what time?
SELECT Time FROM table WHERE Date = october 8
Translate the following into a SQL query
Game 1's sum of attendance is?
SELECT SUM Attendance FROM table WHERE Game = 1
Translate the following into a SQL query
What was the finish of the winner of the 2000 Masters?
SELECT Finish FROM table WHERE Year(s) won = 2000
Translate the following into a SQL query
For the player from Fiji, what was his finish?
SELECT Finish FROM table WHERE Country = fiji
Translate the following into a SQL query
For the player finishing at +8, what is his nationality?
SELECT Country FROM table WHERE To par = +8
Translate the following into a SQL query
What was the score of the game that had a record of 52–103?
SELECT Score FROM table WHERE Record = 52–103
Translate the following into a SQL query
What was the date of the game when the record was 53–104?
SELECT Date FROM table WHERE Record = 53–104
Translate the following into a SQL query
What was the record at the game that had a loss of Huffman (6–18)?
SELECT Record FROM table WHERE Loss = huffman (6–18)
Translate the following into a SQL query
for the 8:00 of kid nation what is at 10:00?
SELECT 10:00 FROM table WHERE 8:00 = kid nation
Translate the following into a SQL query
for the 10:00 of the simple life what is the 9:00?
SELECT 9:00 FROM table WHERE 10:00 = the simple life
Translate the following into a SQL query
for the 10:00 of le journal du soir what is the 9:00?
SELECT 9:00 FROM table WHERE 10:00 = le journal du soir
Translate the following into a SQL query
for the 7:30 of access hollywood what is the 10:00?
SELECT 10:00 FROM table WHERE 7:30 = access hollywood
Translate the following into a SQL query
for the 9:00 of bionic woman what is the 8:30?
SELECT 8:30 FROM table WHERE 9:00 = bionic woman
Translate the following into a SQL query
Which format is released on August 29, 1998?
SELECT Format FROM table WHERE Date = august 29, 1998
Translate the following into a SQL query
What is the catalog number for the January 25, 1987 release?
SELECT Catalog FROM table WHERE Date = january 25, 1987
Translate the following into a SQL query
Which format is released on May 27, 2009?
SELECT Format FROM table WHERE Date = may 27, 2009
Translate the following into a SQL query
What is the catalog number of the May 27, 2009 release?
SELECT Catalog FROM table WHERE Date = may 27, 2009
Translate the following into a SQL query
What is the release date of a CD with the catalog number ALCA-9206?
SELECT Date FROM table WHERE Format = cd AND Catalog = alca-9206
Translate the following into a SQL query
Which format is released on May 27, 2009?
SELECT Format FROM table WHERE Date = may 27, 2009
Translate the following into a SQL query
What was the average of points with ranks smaller than 7 but with total point games of 113?
SELECT AVG Total Points FROM table WHERE Games = 113 AND Rank < 7
Translate the following into a SQL query
What is the sum of the roll with an area of Waikaka?
SELECT SUM Roll FROM table WHERE Area = waikaka
Translate the following into a SQL query
What is the roll number for East Gore School?
SELECT COUNT Roll FROM table WHERE Name = east gore school
Translate the following into a SQL query
What is the lowest decile with 1-6 years and area of Maitland?
SELECT MIN Decile FROM table WHERE Years = 1-6 AND Area = maitland
Translate the following into a SQL query
Which gender has 7-15 years?
SELECT Gender FROM table WHERE Years = 7-15
Translate the following into a SQL query
What is the gender for Otama?
SELECT Gender FROM table WHERE Area = otama
Translate the following into a SQL query
What is the authority for roll of 96?
SELECT Authority FROM table WHERE Roll = 96
Translate the following into a SQL query
When is a Roll of 9?
SELECT Years FROM table WHERE Roll = 9
Translate the following into a SQL query
What is the Area with 26 in Roll
SELECT Area FROM table WHERE Roll = 26
Translate the following into a SQL query
For nations with more than 6 silvers and more than 10 golds, what is the lowest total?
SELECT MIN Total FROM table WHERE Silver > 6 AND Gold > 10
Translate the following into a SQL query
What is the lowest rank for nations with more than 3 bronze medals and more than 36 total medals?
SELECT MIN Rank FROM table WHERE Bronze > 3 AND Total > 36
Translate the following into a SQL query
Which country has the most bronze and has more than one silver, 1 gold, and less than 4 total medals.
SELECT MAX Bronze FROM table WHERE Silver > 1 AND Gold = 1 AND Total < 4
Translate the following into a SQL query
What nation has the most bronze medals with over 11 total medals?
SELECT MAX Bronze FROM table WHERE Total > 11
Translate the following into a SQL query
How many silver medals does Cuba have?
SELECT SUM Silver FROM table WHERE Nation = cuba
Translate the following into a SQL query
Where was the game that the Indianapolis Colts lost 24-14?
SELECT Location FROM table WHERE Loser = indianapolis colts AND Result = 24-14
Translate the following into a SQL query
On what date was the game that the Indianapolis Colts lost in 2004?
SELECT Date FROM table WHERE Loser = indianapolis colts AND Year = 2004
Translate the following into a SQL query
Which team won against the New England Patriots 40-21?
SELECT Winner FROM table WHERE Loser = new england patriots AND Result = 40-21
Translate the following into a SQL query
What was the date of the game played at Gillette Stadium with a score of 40-21?
SELECT Date FROM table WHERE Location = gillette stadium AND Result = 40-21
Translate the following into a SQL query
What year was the game that ended with a score of 24-14?
SELECT AVG Year FROM table WHERE Result = 24-14
Translate the following into a SQL query
What was the score of the 3-0 Win result?
SELECT Score FROM table WHERE Result = 3-0 win
Translate the following into a SQL query
What was the result of the game from 10 October 2009?
SELECT Result FROM table WHERE Date = 10 october 2009
Translate the following into a SQL query
What is the name of the competition that has a score of 2-0?
SELECT Competition FROM table WHERE Score = 2-0
Translate the following into a SQL query
Which Men's singles has a Mixed doubles of kai abraham petra michalowsky?
SELECT Men's singles FROM table WHERE Mixed doubles = kai abraham petra michalowsky
Translate the following into a SQL query
Which women's doubles has a Year of 1992?
SELECT Women's doubles FROM table WHERE Year = 1992
Translate the following into a SQL query
Which year has a Men's doubles of marcus ellis peter mills?
SELECT Year FROM table WHERE Men's doubles = marcus ellis peter mills
Translate the following into a SQL query
Name the visitor for home of dallas
SELECT Visitor FROM table WHERE Home = dallas
Translate the following into a SQL query
Name the period for south korea with peak position of #1
SELECT Period FROM table WHERE Country = south korea AND Peak position = #1
Translate the following into a SQL query
Name the period for south korea with peak position of #24
SELECT Period FROM table WHERE Country = south korea AND Peak position = #24
Translate the following into a SQL query
Name the period for Chart of g-music j-pop/k-pop chart
SELECT Period FROM table WHERE Chart = g-music j-pop/k-pop chart
Translate the following into a SQL query
Name the sales with peak position of #24
SELECT Sales FROM table WHERE Peak position = #24
Translate the following into a SQL query
Which aggregate has ajax as the club?
SELECT Aggregate FROM table WHERE Club = ajax
Translate the following into a SQL query
How many attended on march 1?
SELECT AVG Attendance FROM table WHERE Date = march 1
Translate the following into a SQL query
Who was the visitor on march 21?
SELECT Visitor FROM table WHERE Date = march 21
Translate the following into a SQL query
Who was the cyclist from Belgium?
SELECT Cyclist FROM table WHERE Nation = belgium