instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What was the highest amount of runs for more than 5 matches?
SELECT MAX Runs FROM table WHERE Matches > 5
Translate the following into a SQL query
What is the lowest Shot Pct., when Blank Ends is greater than 6?
SELECT MIN Shot Pct. FROM table WHERE Blank Ends > 6
Translate the following into a SQL query
What is Shot Pct., when Stolen Ends is 2?
SELECT Shot Pct. FROM table WHERE Stolen Ends = 2
Translate the following into a SQL query
What is the total number of Ends Won, when Province is "Saskatchewan", and when Stolen Ends is less than 6?
SELECT COUNT Ends Won FROM table WHERE Province = saskatchewan AND Stolen Ends < 6
Translate the following into a SQL query
On what date were Perth Wildcats the away team?
SELECT Date FROM table WHERE Away team = perth wildcats
Translate the following into a SQL query
On what date was the score 121-113?
SELECT Date FROM table WHERE Score = 121-113
Translate the following into a SQL query
On what date was Adelaide 36ers the home team?
SELECT Date FROM table WHERE Home team = adelaide 36ers
Translate the following into a SQL query
Which report is for Townsville Entertainment Centre?
SELECT Report FROM table WHERE Venue = townsville entertainment centre
Translate the following into a SQL query
Which home team had a score of 85-101?
SELECT Home team FROM table WHERE Score = 85-101
Translate the following into a SQL query
What was the box core for the Melbourne Tigers?
SELECT Box Score FROM table WHERE Home team = melbourne tigers
Translate the following into a SQL query
who is the author when featuring is leela, the master, kraals?
SELECT Author FROM table WHERE Featuring = leela, the master, kraals
Translate the following into a SQL query
who is the author when the title is destination: nerva?
SELECT Author FROM table WHERE Title = destination: nerva
Translate the following into a SQL query
who is featuring when the title is energy of the daleks?
SELECT Featuring FROM table WHERE Title = energy of the daleks
Translate the following into a SQL query
what is the title when the featuring is leela and series sorted is 4s/b?
SELECT Title FROM table WHERE Featuring = leela AND Series Sorted = 4s/b
Translate the following into a SQL query
Can you tell me the Opponent that has the December of 2?
SELECT Opponent FROM table WHERE December = 2
Translate the following into a SQL query
Can you tell me the average December rhat has the Opponent of @ toronto maple leafs?
SELECT AVG December FROM table WHERE Opponent = @ toronto maple leafs
Translate the following into a SQL query
Can you tell me the Score that has the December of 10?
SELECT Score FROM table WHERE December = 10
Translate the following into a SQL query
What was the score when the Tie no was 6?
SELECT Score FROM table WHERE Tie no = 6
Translate the following into a SQL query
What was the score when the Tie no less than 2?
SELECT Score FROM table WHERE Tie no < 2
Translate the following into a SQL query
Who was the away team when the home team was Sunderland?
SELECT Away team FROM table WHERE Home team = sunderland
Translate the following into a SQL query
Which Winning Team has the Fastest Lap of brendon hartley, and a Pole Position of oliver turvey, and a Circuit of spa-francorchamps, and the Winning Driver of brendon hartley?
SELECT Winning Team FROM table WHERE Fastest Lap = brendon hartley AND Pole Position = oliver turvey AND Circuit = spa-francorchamps AND Winning Driver = brendon hartley
Translate the following into a SQL query
Which Circuit has the Winning Team of carlin motorsport, and the Winning Driver of oliver turvey, and a Date of 24 march?
SELECT Circuit FROM table WHERE Winning Team = carlin motorsport AND Winning Driver = oliver turvey AND Date = 24 march
Translate the following into a SQL query
Which Round has the Winning Driver of brendon hartley, and a Date of 27 april?
SELECT MIN Round FROM table WHERE Winning Driver = brendon hartley AND Date = 27 april
Translate the following into a SQL query
Which Date has a Pole Position of michael devaney?
SELECT Date FROM table WHERE Pole Position = michael devaney
Translate the following into a SQL query
Which Report has a Winning driver of emerson fittipaldi?
SELECT Report FROM table WHERE Winning driver = emerson fittipaldi
Translate the following into a SQL query
Which Circuit has a Pole position of andré ribeiro?
SELECT Circuit FROM table WHERE Pole position = andré ribeiro
Translate the following into a SQL query
Which Circuit has a Winning driver of scott pruett?
SELECT Circuit FROM table WHERE Winning driver = scott pruett
Translate the following into a SQL query
Who's the Winning driver with a Pole position of bryan herta?
SELECT Winning driver FROM table WHERE Pole position = bryan herta
Translate the following into a SQL query
Which Date had a City/Location of vancouver, british columbia?
SELECT Date FROM table WHERE City/Location = vancouver, british columbia
Translate the following into a SQL query
Who's the Winning team with a Pole position of robby gordon, and a Date of june 11?
SELECT Winning team FROM table WHERE Pole position = robby gordon AND Date = june 11
Translate the following into a SQL query
What subject has a plural of am(ô)ra (we)?
SELECT AVG Subject FROM table WHERE Plural = am(ô)ra (we)
Translate the following into a SQL query
What round was the player drafted from mississippi valley state?
SELECT Round FROM table WHERE College = mississippi valley state
Translate the following into a SQL query
What college was the draft pick from who plays center position?
SELECT College FROM table WHERE Position = center
Translate the following into a SQL query
What is the record of the game with the toronto huskies as the opponent?
SELECT Record FROM table WHERE Opponent = toronto huskies
Translate the following into a SQL query
Who is the opponent on November 14?
SELECT Opponent FROM table WHERE Date = november 14
Translate the following into a SQL query
What is the record of the game with a game number greater than 7 at boston garden with the providence steam rollers as the opponent?
SELECT Record FROM table WHERE Game > 7 AND Location = boston garden AND Opponent = providence steam rollers
Translate the following into a SQL query
What pick in round 5 did the 49ers pick Jim Pilot?
SELECT SUM Pick FROM table WHERE Player = jim pilot AND Round > 5
Translate the following into a SQL query
What pick in a round earlier than 4 did UCLA choose their pick?
SELECT Pick FROM table WHERE Round < 4 AND School/Club Team = ucla
Translate the following into a SQL query
What position did pick 36 play?
SELECT Position FROM table WHERE Pick = 36
Translate the following into a SQL query
Who is the owner of Miss Terrible?
SELECT Owner FROM table WHERE Winner = miss terrible
Translate the following into a SQL query
What is the most recent year that had a time of 1:36.69?
SELECT MAX Year FROM table WHERE Time = 1:36.69
Translate the following into a SQL query
What time does the trainer, Todd Pletcher have?
SELECT Time FROM table WHERE Trainer = todd pletcher
Translate the following into a SQL query
What is the most recent year that Iftiraas was the winner?
SELECT MAX Year FROM table WHERE Winner = iftiraas
Translate the following into a SQL query
What sport was played at the bosse field?
SELECT Sport FROM table WHERE Venue = bosse field
Translate the following into a SQL query
What sport was played between the years of 2008-2010?
SELECT Sport FROM table WHERE Played = 2008-2010
Translate the following into a SQL query
What venue did the team, evansville bluecats play on?
SELECT Venue FROM table WHERE Team = evansville bluecats
Translate the following into a SQL query
What team played between the years of 2008-2010?
SELECT Team FROM table WHERE Played = 2008-2010
Translate the following into a SQL query
Name the Score of craig stadler?
SELECT Score FROM table WHERE Player = craig stadler
Translate the following into a SQL query
Name the Score that has a Place of t5 of tom watson?
SELECT Score FROM table WHERE Place = t5 AND Player = tom watson
Translate the following into a SQL query
Name the Place with a Score of 72-68=140?
SELECT Place FROM table WHERE Score = 72-68=140
Translate the following into a SQL query
Name the Score of jack nicklaus, united states, ?
SELECT Score FROM table WHERE Country = united states AND Player = jack nicklaus
Translate the following into a SQL query
Name the Place of seve ballesteros?
SELECT Place FROM table WHERE Player = seve ballesteros
Translate the following into a SQL query
Who was No. 9 when Ava was No. 4 and Addison was No. 6?
SELECT No. 9 FROM table WHERE No. 4 = ava AND No. 6 = addison
Translate the following into a SQL query
What was the No. 6 name when Emma was No. 2 and Sophia was No. 3?
SELECT No. 6 FROM table WHERE No. 2 = emma AND No. 3 = sophia
Translate the following into a SQL query
What was the No. 8 name when Chloe was No. 9 and Abigail was No. 7?
SELECT No. 8 FROM table WHERE No. 9 = chloe AND No. 7 = abigail
Translate the following into a SQL query
What was the No. 4 name when Madison was No. 5 and Abigail was No. 9?
SELECT No. 4 FROM table WHERE No. 5 = madison AND No. 9 = abigail
Translate the following into a SQL query
Which player had a to par score of +2?
SELECT Player FROM table WHERE To par = +2
Translate the following into a SQL query
How many codes have a density of 621.68, and a Land area (hectares) larger than 75.28?
SELECT SUM Code FROM table WHERE Density (inh./km²) = 621.68 AND Land area (hectares) > 75.28
Translate the following into a SQL query
What is the average density with a land area of 123.02, and a Code larger than 2356?
SELECT AVG Density (inh./km²) FROM table WHERE Land area (hectares) = 123.02 AND Code > 2356
Translate the following into a SQL query
What is the average land area with a density of 815.48, and a Population larger than 411?
SELECT AVG Land area (hectares) FROM table WHERE Density (inh./km²) = 815.48 AND Population > 411
Translate the following into a SQL query
What is the Date, when Partnering is "Francesca Lubiani", and when Opponent in Final is "Yuliya Beygelzimer / Jennifer Hopkins"?
SELECT Date FROM table WHERE Partnering = francesca lubiani AND Opponent in final = yuliya beygelzimer / jennifer hopkins
Translate the following into a SQL query
What is Score, when Outcome is "winner", when Partnering is "Nicole Sewell", and when Opponent in Final is "Victoria Davies / Kate Warne-Holland"?
SELECT Score FROM table WHERE Outcome = winner AND Partnering = nicole sewell AND Opponent in final = victoria davies / kate warne-holland
Translate the following into a SQL query
What is Tie No., when Away Team is "Manchester United"?
SELECT Tie no FROM table WHERE Away team = manchester united
Translate the following into a SQL query
What is Away Team, when Home Team is "Ipswich Town", and when Date is "6 February 1986"?
SELECT Away team FROM table WHERE Home team = ipswich town AND Date = 6 february 1986
Translate the following into a SQL query
What is Date, when Home Team is "Luton Town"?
SELECT Date FROM table WHERE Home team = luton town
Translate the following into a SQL query
What is Away Team, when Date is "25 January 1986", and when Tie No is "6"?
SELECT Away team FROM table WHERE Date = 25 january 1986 AND Tie no = 6
Translate the following into a SQL query
WHAT IS THE LEAGUE WITH A ROUND LARGER THAN 6?
SELECT College/Junior/Club Team (League) FROM table WHERE Round > 6
Translate the following into a SQL query
WHAT IS THE ROUND FOR ZACH BOYCHUK?
SELECT COUNT Round FROM table WHERE Player = zach boychuk
Translate the following into a SQL query
WHAT IS THE POSITION FOR CANADA, ROUND SMALLER THAN 7, PLAYER ZACH BOYCHUK?
SELECT Position FROM table WHERE Nationality = canada AND Round < 7 AND Player = zach boychuk
Translate the following into a SQL query
What was the date of week 8?
SELECT Date FROM table WHERE Week = 8
Translate the following into a SQL query
What was the result of the September 8, 1985 game?
SELECT Result FROM table WHERE Date = september 8, 1985
Translate the following into a SQL query
Which date did the oakland raiders play as the opponent when the Bills first downs were under 28?
SELECT Date FROM table WHERE Bills first downs < 28 AND Opponent = oakland raiders
Translate the following into a SQL query
Who were the Paraguay scorers on June 15, 2008?
SELECT Paraguay scorers FROM table WHERE Date = june 15, 2008
Translate the following into a SQL query
What is the To par of the player with a t14 Finish?
SELECT To par FROM table WHERE Finish = t14
Translate the following into a SQL query
What country is player Raymond Floyd from?
SELECT Country FROM table WHERE Player = raymond floyd
Translate the following into a SQL query
What is the Year(s) won from the United States as country with a To Par of +4?
SELECT Year(s) won FROM table WHERE Country = united states AND To par = +4
Translate the following into a SQL query
Who is the player from the United States and a place of t2?
SELECT Player FROM table WHERE Country = united states AND Place = t2
Translate the following into a SQL query
What's the sum of all values in category 1 when category 3 is equal to 300?
SELECT SUM Category 1 FROM table WHERE Category 3 = 300
Translate the following into a SQL query
If category 1 is 0.05, what is category 3?
SELECT Category 3 FROM table WHERE Category 1 = 0.05
Translate the following into a SQL query
Which player has an average of 38.22?
SELECT Player FROM table WHERE Average = 38.22
Translate the following into a SQL query
What is the highest number of matches for Australia when the wickets are more than 13, the average is less than 23.33, and the best bowling is 5/36?
SELECT MAX Matches FROM table WHERE Wickets > 13 AND Team = australia AND Best Bowling = 5/36 AND Average < 23.33
Translate the following into a SQL query
What is the total average for the England team when the wickets are less than 18, the best bowling is 4/138, and there are less than 3 matches?
SELECT COUNT Average FROM table WHERE Team = england AND Wickets < 18 AND Best Bowling = 4/138 AND Matches < 3
Translate the following into a SQL query
Which To par has a Money ($) larger than 5,500?
SELECT To par FROM table WHERE Money ( $ ) > 5,500
Translate the following into a SQL query
Which Score has a Place of 4?
SELECT Score FROM table WHERE Place = 4
Translate the following into a SQL query
Which ethnic group has 5% of people categorizing religion as other?
SELECT Ethnic Group FROM table WHERE Other = 5%
Translate the following into a SQL query
Which ehtinc group consists of 93% muslims?
SELECT Ethnic Group FROM table WHERE Muslims = 93%
Translate the following into a SQL query
What is the Venue when the score was 1 – 1, and the result was 2 – 2?
SELECT Venue FROM table WHERE Score = 1 – 1 AND Result = 2 – 2
Translate the following into a SQL query
What is the score of the 2006 Fifa World Cup Qualification?
SELECT Score FROM table WHERE Competition = 2006 fifa world cup qualification
Translate the following into a SQL query
What venue was the game held at when the Score was 3 – 0?
SELECT Venue FROM table WHERE Score = 3 – 0
Translate the following into a SQL query
What is the result of the game when the competition was a friendly match, and the Score was 1 – 1?
SELECT Result FROM table WHERE Competition = friendly match AND Score = 1 – 1
Translate the following into a SQL query
What is Race 1, when Race 4 is 1?
SELECT Race 1 FROM table WHERE Race 4 = 1
Translate the following into a SQL query
What is Race 2, when Race 1 is 30?
SELECT Race 2 FROM table WHERE Race 1 = 30
Translate the following into a SQL query
What is Race 2, when Driver is John Faulkner?
SELECT Race 2 FROM table WHERE Driver = john faulkner
Translate the following into a SQL query
What is Driver, when Race 2 is 14?
SELECT Driver FROM table WHERE Race 2 = 14
Translate the following into a SQL query
What is Race 4, when Race 1 is 28?
SELECT Race 4 FROM table WHERE Race 1 = 28
Translate the following into a SQL query
What is Race 2, when Race 4 is 28?
SELECT Race 2 FROM table WHERE Race 4 = 28
Translate the following into a SQL query
What is the score of the copa libertadores group 3 competition round on 2 February 1994?
SELECT Score FROM table WHERE Competition round = copa libertadores group 3 AND Date = 2 february 1994
Translate the following into a SQL query
What is the score of the copa libertadores group 4 competition round on 14 March 1972 with universitario as the away team?
SELECT Score FROM table WHERE Competition round = copa libertadores group 4 AND Away team = universitario AND Date = 14 march 1972
Translate the following into a SQL query
What is the venue of season 1983, which had alianza lima as the home team?
SELECT Venue FROM table WHERE Home team = alianza lima AND Season = 1983
Translate the following into a SQL query
What is the score of the match on 3 March 1988 at the estadio nacional?
SELECT Score FROM table WHERE Venue = estadio nacional AND Date = 3 march 1988