instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What kind of D.C. has Races smaller than 20, and Points larger than 0, and Drivers of christian vietoris, and Wins of 1?
SELECT D.C. FROM table WHERE Races < 20 AND Points > 0 AND Drivers = christian vietoris AND Wins = 1
Translate the following into a SQL query
Which Races has a T.C. of 3rd, and a D.C. of 7th?
SELECT MIN Races FROM table WHERE T.C. = 3rd AND D.C. = 7th
Translate the following into a SQL query
What is the 2007 of the Grand Slam Tournaments in 2008?
SELECT 2007 FROM table WHERE 2008 = grand slam tournaments
Translate the following into a SQL query
What is the Tournament with a 3r 2011 and A 2010?
SELECT Tournament FROM table WHERE 2011 = 3r AND 2010 = a
Translate the following into a SQL query
What is the 2008 of the 2r 2011 and A 2010?
SELECT 2008 FROM table WHERE 2011 = 2r AND 2010 = a
Translate the following into a SQL query
What is the 2010 of the Grand Slam Tournaments in 2011?
SELECT 2010 FROM table WHERE 2011 = grand slam tournaments
Translate the following into a SQL query
What is the total number of runners-up for a club with winning years of 2010?
SELECT COUNT Runners-up FROM table WHERE Winning Years = 2010
Translate the following into a SQL query
Who were the runners-up for the FC Viktoria Plzeň club?
SELECT Runners-up FROM table WHERE Club = fc viktoria plzeň
Translate the following into a SQL query
Which congress was held in 2010?
SELECT Con- gress FROM table WHERE Date = 2010
Translate the following into a SQL query
What is the casting temperature for a hardness of 22?
SELECT Casting at (°C) FROM table WHERE Hardness = 22
Translate the following into a SQL query
What is the hardness for the alloy that is liquid at 243 degrees C?
SELECT Hardness FROM table WHERE Liquid at (°C) = 243
Translate the following into a SQL query
What is the Sn/Sb percentage that is liquid at 258 degrees C?
SELECT Sn/Sb (%) FROM table WHERE Liquid at (°C) = 258
Translate the following into a SQL query
What is the remelting temperature for the alloy that has a Sn/Sb ratio of 9.5/15?
SELECT Remelting at (°C) FROM table WHERE Sn/Sb (%) = 9.5/15
Translate the following into a SQL query
What is the casting temperature for the alloy with hardness 21?
SELECT Casting at (°C) FROM table WHERE Hardness = 21
Translate the following into a SQL query
What's the most laps when grid is 16?
SELECT MAX Laps FROM table WHERE Grid = 16
Translate the following into a SQL query
How many laps were there for a grid of 13?
SELECT COUNT Laps FROM table WHERE Grid = 13
Translate the following into a SQL query
How many points did the Giants get when attendance was 78,673?
SELECT Giants' points FROM table WHERE Attendance = 78,673
Translate the following into a SQL query
What was the result when the opponents got 15 points?
SELECT Result FROM table WHERE Opponents' Points = 15
Translate the following into a SQL query
What was the TV time for the game where the Giants had 14 points?
SELECT TV Time FROM table WHERE Giants' points = 14
Translate the following into a SQL query
How many weeks had an attendance at 69,149?
SELECT COUNT Week FROM table WHERE Attendance = 69,149
Translate the following into a SQL query
On what date did week 6 occur?
SELECT Date FROM table WHERE Week = 6
Translate the following into a SQL query
Who was the opponent on December 18, 2005?
SELECT Opponent FROM table WHERE Date = december 18, 2005
Translate the following into a SQL query
What was the date of the game against the Queen of the South attended by more than 14,176?
SELECT Date FROM table WHERE Attendance > 14,176 AND Opponent = queen of the south
Translate the following into a SQL query
What is the result/score for the match report recap on week 14?
SELECT Result/Score FROM table WHERE Match Report = recap AND Week = 14
Translate the following into a SQL query
How many weeks have w 51-29 as the result/score?
SELECT SUM Week FROM table WHERE Result/Score = w 51-29
Translate the following into a SQL query
What is the result/score that has 6-5 as the record?
SELECT Result/Score FROM table WHERE Record = 6-5
Translate the following into a SQL query
Which match report has l 7-30 as the result/score?
SELECT Match Report FROM table WHERE Result/Score = l 7-30
Translate the following into a SQL query
Which game site has a recap as the match report for week 7?
SELECT Game Site FROM table WHERE Match Report = recap AND Week = 7
Translate the following into a SQL query
Which shooter's time is more than 8.97 and has a year prior to 2013?
SELECT Shooter FROM table WHERE Time > 8.97 AND Year < 2013
Translate the following into a SQL query
What country was the race in on April 27?
SELECT Country FROM table WHERE Date = april 27
Translate the following into a SQL query
What is the name of the leader's team when the race was in France on October 5?
SELECT Leader's Team FROM table WHERE Country = france AND Date = october 5
Translate the following into a SQL query
What is the name of the team leading on August 17?
SELECT Team FROM table WHERE Date = august 17
Translate the following into a SQL query
In the Ronde Van Vlaanderen race what is the leader's team?
SELECT Leader's Team FROM table WHERE Race = ronde van vlaanderen
Translate the following into a SQL query
What is the name of the race when Quick Step-Davitamon is the leader's team and the team of team telekom?
SELECT Race FROM table WHERE Leader's Team = quick step-davitamon AND Team = team telekom
Translate the following into a SQL query
What is the highest Ranking Round Rank for Russia with a Final Rank over 11?
SELECT MAX Ranking Round Rank FROM table WHERE Nation = russia AND Final Rank > 11
Translate the following into a SQL query
Which Music has a Points Jury of 18 (5,5,4,4)?
SELECT Music FROM table WHERE Points jury = 18 (5,5,4,4)
Translate the following into a SQL query
What is the Music if the Dance is Jive?
SELECT Music FROM table WHERE Dance = jive
Translate the following into a SQL query
What is the Music for Team anna guzik & rafał kamiński that has a Points Jury of 24 (7,5,6,6)?
SELECT Music FROM table WHERE Team = anna guzik & rafał kamiński AND Points jury = 24 (7,5,6,6)
Translate the following into a SQL query
Which Music has a Dance of Modern?
SELECT Music FROM table WHERE Dance = modern
Translate the following into a SQL query
What is the Points Jury for Dance pop?
SELECT Points jury FROM table WHERE Dance = pop
Translate the following into a SQL query
Which Place has a Points Jury of 34 (7,8,9,10)?
SELECT Place FROM table WHERE Points jury = 34 (7,8,9,10)
Translate the following into a SQL query
What is the 2013 press freedom index of the country Egypt?
SELECT 2013 Press Freedom Index FROM table WHERE Country = egypt
Translate the following into a SQL query
What is the 2013 index of economic freedom of Slovenia?
SELECT 2013 Index of Economic Freedom FROM table WHERE Country = slovenia
Translate the following into a SQL query
How many FA Trophy has a Total larger than 17 and a Player of david gamble and a League Cup larger than 0?
SELECT COUNT FA Trophy FROM table WHERE Total > 17 AND Player = david gamble AND League Cup > 0
Translate the following into a SQL query
Which League Cup that has a Total of 19 and a League smaller than 15?
SELECT AVG League Cup FROM table WHERE Total = 19 AND League < 15
Translate the following into a SQL query
How many FA Trophy that have a Player of paul dobson, and a League Cup smaller than 2?
SELECT COUNT FA Trophy FROM table WHERE Player = paul dobson AND League Cup < 2
Translate the following into a SQL query
For what country is the skip Andy Kapp?
SELECT Country FROM table WHERE Skip = andy kapp
Translate the following into a SQL query
Who is the second on the North America team for which Cathy Overton-Clapham the third?
SELECT Second FROM table WHERE Team = north america AND Third = cathy overton-clapham
Translate the following into a SQL query
Who is the lead of the team from Lockerbie?
SELECT Lead FROM table WHERE Home = lockerbie
Translate the following into a SQL query
What is the name of the team from Stirling?
SELECT Team FROM table WHERE Home = stirling
Translate the following into a SQL query
Who is the lead on the Europe team that has a Liudmila Privivkova as the skip?
SELECT Lead FROM table WHERE Team = europe AND Skip = liudmila privivkova
Translate the following into a SQL query
Who is the second of the North America team from Edmonton, Canada?
SELECT Second FROM table WHERE Team = north america AND Country = canada AND Home = edmonton
Translate the following into a SQL query
What is the livery of the steam locomotive built after 1950 with a wheel arrangement of 2-6-2?
SELECT Livery FROM table WHERE Locomotive type = steam AND Year built > 1950 AND Wheel Arrangement = 2-6-2
Translate the following into a SQL query
What livery belongs to the steam Locomotive type builder that was building before 1989?
SELECT Livery FROM table WHERE Year built < 1989 AND Locomotive type = steam
Translate the following into a SQL query
What is the total number of medals when the gold is more than 2 and silver more than 2?
SELECT COUNT Total FROM table WHERE Gold > 2 AND Silver > 2
Translate the following into a SQL query
What is the most silver medals when the total is less than 4 and the rank is 12?
SELECT MAX Silver FROM table WHERE Total < 4 AND Rank = 12
Translate the following into a SQL query
What is the total number of bronze medals when the silver is greater than 0, and the total medals 5?
SELECT SUM Bronze FROM table WHERE Silver > 0 AND Total = 5
Translate the following into a SQL query
What is the total number of medals when the bronze is more than 1, and Germany is the nation, and gold medals less than 1?
SELECT COUNT Total FROM table WHERE Bronze > 1 AND Nation = germany AND Gold < 1
Translate the following into a SQL query
When Oscar Míguez had over 107 goals, what was the lowest he ranked?
SELECT MIN Rank FROM table WHERE Name = oscar míguez AND Goals > 107
Translate the following into a SQL query
What was the highest number of goals for 1922–1935?
SELECT MAX Goals FROM table WHERE Years = 1922–1935
Translate the following into a SQL query
Which pick number was there for Jason French?
SELECT Pick # FROM table WHERE Player = jason french
Translate the following into a SQL query
Which cfl team was associated with the college of manitoba?
SELECT CFL Team FROM table WHERE College = manitoba
Translate the following into a SQL query
Which college's cfl team is the hamilton tiger-cats?
SELECT College FROM table WHERE CFL Team = hamilton tiger-cats
Translate the following into a SQL query
Which position's cfl team was the Montreal Alouettes when the pick number was less than 15?
SELECT Position FROM table WHERE CFL Team = montreal alouettes AND Pick # < 15
Translate the following into a SQL query
Which player was drafted by the Saskatchewan Roughriders?
SELECT Player FROM table WHERE CFL Team = saskatchewan roughriders
Translate the following into a SQL query
What college did Ben Wearing play for?
SELECT College FROM table WHERE Player = ben wearing
Translate the following into a SQL query
What is the average FA Cup Goal value for players that have 0 Other goals, 0 FL Cup goals, and fewer than 39 League goals?
SELECT AVG FA Cup Goals FROM table WHERE Other Goals = 0 AND FL Cup Goals = 0 AND League Goals < 39
Translate the following into a SQL query
On what date were the Ottawa Swans the away team?
SELECT Date FROM table WHERE Away = ottawa swans
Translate the following into a SQL query
What was the score of the game with the Etobicoke Kangaroos as the home team?
SELECT Score FROM table WHERE Home = etobicoke kangaroos
Translate the following into a SQL query
What was the score of the game with the Broadview Hawks as the home team?
SELECT Score FROM table WHERE Home = broadview hawks
Translate the following into a SQL query
What was the score of the Broadview Hawks home game?
SELECT Score FROM table WHERE Home = broadview hawks
Translate the following into a SQL query
Who was the away team for the Etobicoke Kangaroos home game?
SELECT Away FROM table WHERE Home = etobicoke kangaroos
Translate the following into a SQL query
What was the date for the 130-56 game?
SELECT Date FROM table WHERE Score = 130-56
Translate the following into a SQL query
Which men's singles has a women's singles of marketa koudelková as well as a Men's doubles of jan lanik / pavel weigner??
SELECT Men's singles FROM table WHERE Women's singles = marketa koudelková AND Men's doubles = jan lanik / pavel weigner
Translate the following into a SQL query
Which men's singles had a women's doubles team of irena ferencová / yweta trminková?
SELECT Men's singles FROM table WHERE Women's doubles = irena ferencová / yweta trminková
Translate the following into a SQL query
What is the mean year when the women's doubles team was helena turcinková / buresová?
SELECT AVG Year FROM table WHERE Women's doubles = helena turcinková / buresová
Translate the following into a SQL query
What is the date with Cuba is Home team?
SELECT Date FROM table WHERE Home team = cuba
Translate the following into a SQL query
What is the location with Honduras is Home team?
SELECT Location FROM table WHERE Home team = honduras
Translate the following into a SQL query
What is the location of 11 April 2013 and Mexico Home team?
SELECT Location FROM table WHERE Home team = mexico AND Date = 11 april 2013
Translate the following into a SQL query
What is the date that is Away team is Honduras?
SELECT Date FROM table WHERE Away team = honduras
Translate the following into a SQL query
What is the date where Guatemala is the Away team?
SELECT Date FROM table WHERE Away team = guatemala
Translate the following into a SQL query
What is the score for 17 April 2013?
SELECT Score FROM table WHERE Date = 17 april 2013
Translate the following into a SQL query
How many weeks have September 14, 2008 as the date?
SELECT SUM Week FROM table WHERE Date = september 14, 2008
Translate the following into a SQL query
What opponent has a week less than 16, with September 7, 2008 as the date?
SELECT Opponent FROM table WHERE Week < 16 AND Date = september 7, 2008
Translate the following into a SQL query
What record has candlestick park as the game site, and october 12, 2008 as the date?
SELECT Record FROM table WHERE Game site = candlestick park AND Date = october 12, 2008
Translate the following into a SQL query
What date has new england patriots as the opponent?
SELECT Date FROM table WHERE Opponent = new england patriots
Translate the following into a SQL query
What date has 10 for the week?
SELECT Date FROM table WHERE Week = 10
Translate the following into a SQL query
What game site has w 10-3 as the result?
SELECT Game site FROM table WHERE Result = w 10-3
Translate the following into a SQL query
what is the victory margin in 2013 with a Winner's share of 1,440,000
SELECT Margin of victory FROM table WHERE Winner's share ( $ ) = 1,440,000 AND Year = 2013
Translate the following into a SQL query
what is the victory margin with a 45,000 Winner's share
SELECT Margin of victory FROM table WHERE Winner's share ( $ ) = 45,000
Translate the following into a SQL query
what is the margin of victory with a 183,800 Winner's share
SELECT Margin of victory FROM table WHERE Winner's share ( $ ) = 183,800
Translate the following into a SQL query
what is to par for the Winner's share 450,000
SELECT To par FROM table WHERE Winner's share ( $ ) = 450,000
Translate the following into a SQL query
What is the sum of Rank that when the Singapore Cup is 0 (1), and the Name is masrezwan masturi?
SELECT SUM Rank FROM table WHERE Singapore Cup = 0 (1) AND Name = masrezwan masturi
Translate the following into a SQL query
What is the Name of the person with a Total of 3 (15), and Rank of more than 3?
SELECT Name FROM table WHERE Total = 3 (15) AND Rank > 3
Translate the following into a SQL query
What is the Singapore Cup when the S-League is 5 (14)?
SELECT Singapore Cup FROM table WHERE S-League = 5 (14)
Translate the following into a SQL query
What is the Singapore League Cup when rank is more than 4, and the S-League is 2 (12)?
SELECT Singapore League Cup FROM table WHERE Rank > 4 AND S-League = 2 (12)
Translate the following into a SQL query
In which tournament did Al Geiberger finish runner-up?
SELECT Tournament FROM table WHERE Runner(s)-up = al geiberger
Translate the following into a SQL query
What is the Season with an Acquisition via of rookie draft, and the number is 15?
SELECT Season FROM table WHERE Acquisition via = rookie draft AND Number = 15
Translate the following into a SQL query
What is the Acquisition via for Dennis Miranda?
SELECT Acquisition via FROM table WHERE Name = dennis miranda
Translate the following into a SQL query
What team acquired as a rookie draft in the position of guard Dennis Miranda?
SELECT School/Club Team FROM table WHERE Acquisition via = rookie draft AND Position = guard AND Name = dennis miranda