instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
Which Points Classification does the General Classification of Cyril Dessel have?
SELECT Points Classification FROM table WHERE General Classification = cyril dessel
Translate the following into a SQL query
What is the Team Classification if the Winner is Cyril Dessel?
SELECT Team Classification FROM table WHERE Winner = cyril dessel
Translate the following into a SQL query
In the final Stage with a Mountains Classification of Christophe Moreau, what is the Team Classification?
SELECT Team Classification FROM table WHERE Mountains Classification = christophe moreau AND Stage = final
Translate the following into a SQL query
What is the Mountains Classification for Winner Thor hushovd with Sprints Classification of no award?
SELECT Mountains Classification FROM table WHERE Winner = thor hushovd AND Sprints classification = no award
Translate the following into a SQL query
What is the Mountains Classification for Winner josé luis carrasco?
SELECT Mountains Classification FROM table WHERE Winner = josé luis carrasco
Translate the following into a SQL query
Which channel has Joel Meyers as the Play by play commentator?
SELECT Channel FROM table WHERE Play-by-play = joel meyers
Translate the following into a SQL query
Who is the studio host for the game that has Paul Sunderland as play by play commentator and Jack Haley as the Studio Analyst?
SELECT Studio host FROM table WHERE Play-by-play = paul sunderland AND Studio analysts = jack haley
Translate the following into a SQL query
Who is the studio host for the game broadcasted by Fox Sports Net west and has Chick Hearn as the play by play commentator ?
SELECT Studio host FROM table WHERE Channel = fox sports net west AND Play-by-play = chick hearn
Translate the following into a SQL query
Who is the play by play commentator for the game that has Alan Massengale as Studio Host?
SELECT Play-by-play FROM table WHERE Studio host = alan massengale
Translate the following into a SQL query
which channel will have play by play commentator Paul Sunderland, Studio Host Bill Macdonald and Studi Analysty Jack Haley?
SELECT Channel FROM table WHERE Play-by-play = paul sunderland AND Studio host = bill macdonald AND Studio analysts = jack haley
Translate the following into a SQL query
How many Assists have a Club of adler mannheim, and Points larger than 57?
SELECT SUM Assists FROM table WHERE Club = adler mannheim AND Points > 57
Translate the following into a SQL query
How many points have 41 assists?
SELECT SUM Points FROM table WHERE Assists = 41
Translate the following into a SQL query
Which Goals have a Player of david mcllwain, and Games larger than 52?
SELECT MAX Goals FROM table WHERE Player = david mcllwain AND Games > 52
Translate the following into a SQL query
Which Platform is the one that has a Stop number of 99014?
SELECT Platform FROM table WHERE Stop no. = 99014
Translate the following into a SQL query
Which Line has a Platform of 3?
SELECT Line FROM table WHERE Platform = 3
Translate the following into a SQL query
Which Destination has a Stopping pattern of [2777] mciver station platforms?
SELECT Destination FROM table WHERE Stopping pattern = [2777] mciver station platforms
Translate the following into a SQL query
Which Stop # has a Platform of [2777] mciver station platforms?
SELECT Stop no. FROM table WHERE Platform = [2777] mciver station platforms
Translate the following into a SQL query
Which Line has a Stopping pattern of all stations, A, b, p?
SELECT Line FROM table WHERE Stopping pattern = all stations, a, b, p
Translate the following into a SQL query
Which Stopping pattern has a Platform of [2777] mciver station platforms?
SELECT Stopping pattern FROM table WHERE Platform = [2777] mciver station platforms
Translate the following into a SQL query
Who was runner-up at Berlin when the result was 2-0 with 100,000 fans in attendance?
SELECT Runner-Up FROM table WHERE Venue = berlin AND Result = 2-0 AND Attendance = 100,000
Translate the following into a SQL query
Who was the champion at berlin when the result was 2-0 with 100,000 fans in attendance?
SELECT Champion FROM table WHERE Venue = berlin AND Attendance = 100,000 AND Result = 2-0
Translate the following into a SQL query
What year had an attendance of 90,000?
SELECT Year FROM table WHERE Attendance = 90,000
Translate the following into a SQL query
What is the sum of the years where the attendance was 95,000 and the runner-up was dresdner sc?
SELECT SUM Year FROM table WHERE Attendance = 95,000 AND Runner-Up = dresdner sc
Translate the following into a SQL query
Who was the champion when the attendance was 70,000?
SELECT Champion FROM table WHERE Attendance = 70,000
Translate the following into a SQL query
What is the Height (ft) of the Churchill House with a Height (m) less than 59?
SELECT COUNT Height (ft) FROM table WHERE Name = churchill house AND Height (m) < 59
Translate the following into a SQL query
What is the Height of the Canterbury House with 12 Floors and a Rank of 75=?
SELECT AVG Height (ft) FROM table WHERE Floors = 12 AND Rank = 75= AND Name = canterbury house
Translate the following into a SQL query
What is the Height (m) of the 32= Rank Building with 18 Floors and Height (ft) greater than 171?
SELECT AVG Height (m) FROM table WHERE Floors = 18 AND Height (ft) > 171 AND Rank = 32=
Translate the following into a SQL query
Total for 1994, 1997 years won?
SELECT SUM Total FROM table WHERE Year(s) won = 1994, 1997
Translate the following into a SQL query
Player than won in 2003?
SELECT Player FROM table WHERE Year(s) won = 2003
Translate the following into a SQL query
Average total for jim furyk?
SELECT AVG Total FROM table WHERE Player = jim furyk
Translate the following into a SQL query
Which record had a visitor of New Jersey Devils on May 7?
SELECT Record FROM table WHERE Visitor = new jersey devils AND Date = may 7
Translate the following into a SQL query
What was the record on May 8?
SELECT Record FROM table WHERE Date = may 8
Translate the following into a SQL query
What is Nelspruit's population?
SELECT COUNT Population (2013) FROM table WHERE Largest city = nelspruit
Translate the following into a SQL query
When Hapoel tel aviv was team 2 and 1st leg was 1–2, what was the 2nd leg?
SELECT 2nd leg FROM table WHERE 1st leg = 1–2 AND Team 2 = hapoel tel aviv
Translate the following into a SQL query
Which Time has a Round of 3, and a Record of 2–0?
SELECT Time FROM table WHERE Round = 3 AND Record = 2–0
Translate the following into a SQL query
What were the average laps on a grid of 11?
SELECT AVG Laps FROM table WHERE Grid = 11
Translate the following into a SQL query
Where is the location with a record of 50-19?
SELECT Location FROM table WHERE Record = 50-19
Translate the following into a SQL query
Which game had a record of 45-16?
SELECT AVG Game FROM table WHERE Record = 45-16
Translate the following into a SQL query
Which game is located in Boston Garden and has a record of 49-17?
SELECT Game FROM table WHERE Location = boston garden AND Record = 49-17
Translate the following into a SQL query
What is the largest 1st LBSC number with a LBSC Name of northcote?
SELECT MAX 1st LBSC No. FROM table WHERE LBSC Name = northcote
Translate the following into a SQL query
What is the result when the round shows 34?
SELECT Result FROM table WHERE Round = 34
Translate the following into a SQL query
What is the venue when Woking was the opponent, and the round was less than 29?
SELECT Venue FROM table WHERE Opponent = woking AND Round < 29
Translate the following into a SQL query
What is the round number when the opponent was Wrexham, and the venue shows as Away?
SELECT COUNT Round FROM table WHERE Opponent = wrexham AND Venue = away
Translate the following into a SQL query
what is the lowest position when the name is esv türkheim, and Drawn more than 0?
SELECT MIN Position FROM table WHERE Name = esv türkheim AND Drawn > 0
Translate the following into a SQL query
what is the highest drawn when played is more than 14?
SELECT MAX Drawn FROM table WHERE Played > 14
Translate the following into a SQL query
what is the least drawn when the name is sv apfeldorf and the position is more than 8?
SELECT MIN Drawn FROM table WHERE Name = sv apfeldorf AND Position > 8
Translate the following into a SQL query
who is the winner when the team is mobil 1 racing?
SELECT Winner FROM table WHERE Team = mobil 1 racing
Translate the following into a SQL query
what is the circuit when the date is 16 april?
SELECT Circuit FROM table WHERE Date = 16 april
Translate the following into a SQL query
what is the circuit when the date is 4 june?
SELECT Circuit FROM table WHERE Date = 4 june
Translate the following into a SQL query
what is the race title when the winner is dick johnson and the circuit is sandown raceway?
SELECT Race Title FROM table WHERE Winner = dick johnson AND Circuit = sandown raceway
Translate the following into a SQL query
On what date was the game 1 played at Portland?
SELECT Date FROM table WHERE Home team = portland AND Game = game 1
Translate the following into a SQL query
Who was the road team on May 2?
SELECT Road team FROM table WHERE Date = may 2
Translate the following into a SQL query
Who was the road team on May 2?
SELECT Road team FROM table WHERE Date = may 2
Translate the following into a SQL query
On what date did Portland play game 5 at home?
SELECT Date FROM table WHERE Home team = portland AND Game = game 5
Translate the following into a SQL query
Which game of the season was played on April 22?
SELECT Game FROM table WHERE Date = april 22
Translate the following into a SQL query
What is the highest round a fight lasted against masutatsu yano?
SELECT MAX Round FROM table WHERE Opponent = masutatsu yano
Translate the following into a SQL query
What was the method of resolution when Katsuhisa Fujii's record was 0-1?
SELECT Method FROM table WHERE Record = 0-1
Translate the following into a SQL query
What is the jersey number of the player from years 1986 – 1991 1997 – 1999?
SELECT Jersey Number(s) FROM table WHERE Years = 1986 – 1991 1997 – 1999
Translate the following into a SQL query
Where is the player from that wears the number 29?
SELECT From FROM table WHERE Jersey Number(s) = 29
Translate the following into a SQL query
What position was played by the player during 1986 – 1991 1997 – 1999?
SELECT Position FROM table WHERE Years = 1986 – 1991 1997 – 1999
Translate the following into a SQL query
Who is the player from Tennessee?
SELECT Player FROM table WHERE From = tennessee
Translate the following into a SQL query
During what years was the Jersey Numbers 34, 30 played?
SELECT Years FROM table WHERE Jersey Number(s) = 34, 30
Translate the following into a SQL query
What is Record, when Opponent is San Francisco Warriors?
SELECT Record FROM table WHERE Opponent = san francisco warriors
Translate the following into a SQL query
What is H/A/N, when Date is October 31?
SELECT H/A/N FROM table WHERE Date = october 31
Translate the following into a SQL query
What is Score, when Opponent is Atlanta Hawks?
SELECT Score FROM table WHERE Opponent = atlanta hawks
Translate the following into a SQL query
What is H/A/N, when Record is 2-5?
SELECT H/A/N FROM table WHERE Record = 2-5
Translate the following into a SQL query
What is Record, when Date is October 31?
SELECT Record FROM table WHERE Date = october 31
Translate the following into a SQL query
What is Record, when H/A/N is n?
SELECT Record FROM table WHERE H/A/N = n
Translate the following into a SQL query
What was the guage of the concessionaire ferrosur roca?
SELECT Gauge FROM table WHERE Concessionaire = ferrosur roca
Translate the following into a SQL query
Which FA Division has a length of 2704 km?
SELECT FA Division(s) FROM table WHERE Length, km = 2704
Translate the following into a SQL query
What is the takeover date of the FA division mitre?
SELECT Takeover Date FROM table WHERE FA Division(s) = mitre
Translate the following into a SQL query
What date was the tournament in Indian Wells?
SELECT Date FROM table WHERE Tournament = indian wells
Translate the following into a SQL query
Who was the opponent in the math that was played in Nice on a clay court?
SELECT Opponent FROM table WHERE Surface = clay AND Tournament = nice
Translate the following into a SQL query
What was the score in the match against Sergi Bruguera?
SELECT Score FROM table WHERE Opponent = sergi bruguera
Translate the following into a SQL query
What was the score of the tournament in Wellington?
SELECT Score FROM table WHERE Tournament = wellington
Translate the following into a SQL query
Which race was in round 6?
SELECT Race Name FROM table WHERE Round = 6
Translate the following into a SQL query
Which round did jonathan bomarito win?
SELECT Round FROM table WHERE Winning driver = jonathan bomarito
Translate the following into a SQL query
What race did the team Mi-Jack Conquest racing win with a pole position of andreas wirth?
SELECT Race Name FROM table WHERE Winning Team = mi-jack conquest racing AND Pole position = andreas wirth
Translate the following into a SQL query
What race after round 6 did Graham Rahal win with a pole position of graham rahal?
SELECT Race Name FROM table WHERE Winning driver = graham rahal AND Round > 6 AND Pole position = graham rahal
Translate the following into a SQL query
What pole position did 2006 gehl championship finale have?
SELECT Pole position FROM table WHERE Race Name = 2006 gehl championship finale
Translate the following into a SQL query
who is the player when the place is t5 and the score is 69-74=143?
SELECT Player FROM table WHERE Place = t5 AND Score = 69-74=143
Translate the following into a SQL query
what is the score when the country is united states, the to par is +2 and the player is phil hancock?
SELECT Score FROM table WHERE Country = united states AND To par = +2 AND Player = phil hancock
Translate the following into a SQL query
what is the place for gary player?
SELECT Place FROM table WHERE Player = gary player
Translate the following into a SQL query
what is the place when the score is 70-72=142?
SELECT Place FROM table WHERE Score = 70-72=142
Translate the following into a SQL query
what is the place when the score is 70-70=140?
SELECT Place FROM table WHERE Score = 70-70=140
Translate the following into a SQL query
who is the player when the country is united states and the score is 71-73=144?
SELECT Player FROM table WHERE Country = united states AND Score = 71-73=144
Translate the following into a SQL query
WHAT SEASON HAD A SEASON FINALE OF MAY 21, 1989 AND WAS VIEWED BY 17.98 MILLION HOUSEHOLDS?
SELECT MAX Season FROM table WHERE Season finale = may 21, 1989 AND Households (millions) < 17.98
Translate the following into a SQL query
What school or team is in a round below 5 with a pick of 2?
SELECT School/Club Team FROM table WHERE Round < 5 AND Pick = 2
Translate the following into a SQL query
Who is the player with a pick less than 234 and a quarterback position?
SELECT Player FROM table WHERE Pick < 234 AND Position = quarterback
Translate the following into a SQL query
Who is the player in tight end position in a round below 12 that has a pick greater than 17?
SELECT Player FROM table WHERE Pick > 17 AND Round < 12 AND Position = tight end
Translate the following into a SQL query
How many picks does Auburn have?
SELECT COUNT Pick FROM table WHERE School/Club Team = auburn
Translate the following into a SQL query
What is the career for 2007 3r, and 1999 1r?
SELECT Career FROM table WHERE 2007 = 3r AND 1999 = 1r
Translate the following into a SQL query
What is the career for the 2006 3r, and the 1999 2r?
SELECT Career FROM table WHERE 2006 = 3r AND 1999 = 2r
Translate the following into a SQL query
Who in 2009, has a 2003 2r and a 2000 2r?
SELECT 2009 FROM table WHERE 2003 = 2r AND 2000 = 2r
Translate the following into a SQL query
What is Result/Score, when Year is greater than 2005, and when Opponent is #8 Arkansas #1 Memphis?
SELECT Result/Score FROM table WHERE Year > 2005 AND Opponent = #8 arkansas #1 memphis
Translate the following into a SQL query
What is the highest Year, when Opponent is #2 Syracuse?
SELECT MAX Year FROM table WHERE Opponent = #2 syracuse
Translate the following into a SQL query
What is Round when Year is 1987?
SELECT Round FROM table WHERE Year = 1987
Translate the following into a SQL query
What is the sum of Year, when Opponent is #3 UCONN?
SELECT SUM Year FROM table WHERE Opponent = #3 uconn
Translate the following into a SQL query
What's the longitude named zipaltonal fluctus in 1997 with a diameter smaller than 490?
SELECT Longitude FROM table WHERE Year named = 1997 AND Diameter (km) < 490 AND Name = zipaltonal fluctus
Translate the following into a SQL query
What's the diameter of kaiwan fluctus?
SELECT Diameter (km) FROM table WHERE Name = kaiwan fluctus