instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
How much 2005 has a 2006 larger than 4,67, and a 2004 of -14,76?
SELECT COUNT 2005 FROM table WHERE 2006 > 4,67 AND 2004 = -14,76
Translate the following into a SQL query
Which 2004 has a 2005 larger than -80,04, and a 2003 of 36,60?
SELECT MAX 2004 FROM table WHERE 2005 > -80,04 AND 2003 = 36,60
Translate the following into a SQL query
Which 2005 has a 2003 of -13,25, and a 2004 smaller than -8,37?
SELECT MIN 2005 FROM table WHERE 2003 = -13,25 AND 2004 < -8,37
Translate the following into a SQL query
What is the Status of the 44 Against?
SELECT Status FROM table WHERE Against = 44
Translate the following into a SQL query
What is the date of the 42 Against?
SELECT Date FROM table WHERE Against = 42
Translate the following into a SQL query
What is the total number for Seve Ballesteros?
SELECT COUNT Total FROM table WHERE Player = seve ballesteros
Translate the following into a SQL query
What is the lowest to par for Bob Charles?
SELECT MIN To par FROM table WHERE Player = bob charles
Translate the following into a SQL query
Who is born on 1982-01-29?
SELECT Name FROM table WHERE Date of Birth = 1982-01-29
Translate the following into a SQL query
What is the position played by the man born on 1976-09-20?
SELECT Pos. FROM table WHERE Date of Birth = 1976-09-20
Translate the following into a SQL query
What country was the golfer with a score of 72-72-72=216 representing?
SELECT Country FROM table WHERE Score = 72-72-72=216
Translate the following into a SQL query
Which Division Two team were champions as the same time the Premier Division Leominster town team were champs?
SELECT Division Two FROM table WHERE Premier Division = leominster town
Translate the following into a SQL query
Which Season was the Division Three Hampton Park Rangers champions?
SELECT Season FROM table WHERE Division Three = hampton park rangers
Translate the following into a SQL query
Which Season was the Division Two Fownhope Reserves champions?
SELECT Season FROM table WHERE Division Two = fownhope reserves
Translate the following into a SQL query
What Division One team were champions at the same time the Division Two Hereford Lads Club Colts were champs?
SELECT Division One FROM table WHERE Division Two = hereford lads club colts
Translate the following into a SQL query
Which year were both the Premier Division Ewyas Harold and Division Three Stoke Prior champions?
SELECT Season FROM table WHERE Premier Division = ewyas harold AND Division Three = stoke prior
Translate the following into a SQL query
What engine has an output of ps (kw; hp) @4700 rpm?
SELECT Engine FROM table WHERE Output = ps (kw; hp) @4700 rpm
Translate the following into a SQL query
What is the output of the engine AEX/APQ that uses petrol?
SELECT Output FROM table WHERE Fuel = petrol AND Engine ID code(s) = aex/apq
Translate the following into a SQL query
What is the 0–100km/h,s for the output of ps (kw; hp) @4000 rpm?
SELECT COUNT 0–100km/h,s FROM table WHERE Output = ps (kw; hp) @4000 rpm
Translate the following into a SQL query
Who were the opposing teams on 08/02/1969?
SELECT Opposing Teams FROM table WHERE Date = 08/02/1969
Translate the following into a SQL query
What is the highest number against on 12/04/1969?
SELECT MAX Against FROM table WHERE Date = 12/04/1969
Translate the following into a SQL query
What is the venue of the match with more than 8 against and ireland as the opposing team?
SELECT Venue FROM table WHERE Against > 8 AND Opposing Teams = ireland
Translate the following into a SQL query
which Place has a Player of mark brooks?
SELECT Place FROM table WHERE Player = mark brooks
Translate the following into a SQL query
Which Place has a Player of justin leonard?
SELECT Place FROM table WHERE Player = justin leonard
Translate the following into a SQL query
Name the Place which has a Score of 67-71=138, united states?
SELECT Place FROM table WHERE Country = united states AND Score = 67-71=138
Translate the following into a SQL query
Name the Player which has a To par of –6?
SELECT Player FROM table WHERE To par = –6
Translate the following into a SQL query
What was their record on week 11?
SELECT Record FROM table WHERE Week = 11
Translate the following into a SQL query
Who did they play at Atlanta-Fulton County Stadium?
SELECT Opponent FROM table WHERE Game site = atlanta-fulton county stadium
Translate the following into a SQL query
What was their record when they played at Riverfront Stadium?
SELECT Record FROM table WHERE Game site = riverfront stadium
Translate the following into a SQL query
What is Another She's Label?
SELECT Label FROM table WHERE English Title = another she
Translate the following into a SQL query
What is 你 朋友's Label?
SELECT Label FROM table WHERE Chinese (Simplified) = 你 朋友
Translate the following into a SQL query
What Label was Released on December 7, 2012?
SELECT Label FROM table WHERE Release date = december 7, 2012
Translate the following into a SQL query
What is 你 朋友's English title?
SELECT English Title FROM table WHERE Chinese (Simplified) = 你 朋友
Translate the following into a SQL query
What is the Release date of the Album Your Friend?
SELECT Release date FROM table WHERE English Title = your friend
Translate the following into a SQL query
What was the runner-up when champion is 0, 4th place is 0 and rank is 6?
SELECT Runner-up FROM table WHERE Champion = 0 AND Fourth place = 0 AND Rank = 6
Translate the following into a SQL query
What is the runner-up for rank of 7?
SELECT Runner-up FROM table WHERE Rank = 7
Translate the following into a SQL query
What is the runner-up when the total is 5?
SELECT Runner-up FROM table WHERE Total = 5
Translate the following into a SQL query
What was the score of team 2 Stade Lavallois (D1)?
SELECT Score FROM table WHERE Team 2 = stade lavallois (d1)
Translate the following into a SQL query
What is the CC displacement for 1965?
SELECT Displacement cc FROM table WHERE Year = 1965
Translate the following into a SQL query
What year was the Grand Prix with an i8 engine and a cc displacement of 1500?
SELECT Year FROM table WHERE Type = grand prix AND Engine = i8 AND Displacement cc = 1500
Translate the following into a SQL query
What type of car has the model 6cm?
SELECT Type FROM table WHERE Model = 6cm
Translate the following into a SQL query
What cc displacement has an i6 engine in 1936?
SELECT Displacement cc FROM table WHERE Engine = i6 AND Year = 1936
Translate the following into a SQL query
What type of car has the v16 engine?
SELECT Type FROM table WHERE Engine = v16
Translate the following into a SQL query
What is the total number of years won by Justin Leonard with a to par under 9?
SELECT COUNT Year(s) won FROM table WHERE Player = justin leonard AND To par < 9
Translate the following into a SQL query
What is the highest total for Scotland with a year won of 1985?
SELECT MAX Total FROM table WHERE Country = scotland AND Year(s) won = 1985
Translate the following into a SQL query
What is Date (Opening), when Opening Film is "Another Myanmar, Mae Sot"?
SELECT Date (Opening) FROM table WHERE Opening Film = another myanmar, mae sot
Translate the following into a SQL query
What is Date (Closing), when Opening Film is "Deconstruction of Korean Housewife"?
SELECT Date (Closing) FROM table WHERE Opening Film = deconstruction of korean housewife
Translate the following into a SQL query
What is the total number of Year(s), when Date (Opening) is "September 21"?
SELECT COUNT Year FROM table WHERE Date (Opening) = september 21
Translate the following into a SQL query
What is Date (Opening), when Year is less than 2010, and when Date (Closing) is "September 28"?
SELECT Date (Opening) FROM table WHERE Year < 2010 AND Date (Closing) = september 28
Translate the following into a SQL query
What is Date (Closing), when Year is greater than 2011?
SELECT Date (Closing) FROM table WHERE Year > 2011
Translate the following into a SQL query
Name the number of Earnings per share (¢) which has a Net profit (US $m) larger than 66, and a Year to April smaller than 2010?
SELECT COUNT Earnings per share (¢) FROM table WHERE Net profit (US $m) > 66 AND Year to April < 2010
Translate the following into a SQL query
Name the total number of EBIT (US $m) in 2011 and a Earnings per share (¢) larger than 47?
SELECT COUNT EBIT (US $m) FROM table WHERE Year to April = 2011 AND Earnings per share (¢) > 47
Translate the following into a SQL query
Count the Earnings per share (¢) in April smaller than 2012, a Revenue (US $million) of 432.6 and a EBIT (US $m) smaller than 150.5?
SELECT SUM Earnings per share (¢) FROM table WHERE Year to April < 2012 AND Revenue (US $million) = 432.6 AND EBIT (US $m) < 150.5
Translate the following into a SQL query
COunt the EBIT (US $m) which has a Revenue (US $million) larger than 434.8 and a Net profit (US $m) larger than 96.4?
SELECT COUNT EBIT (US $m) FROM table WHERE Revenue (US $million) > 434.8 AND Net profit (US $m) > 96.4
Translate the following into a SQL query
What position does Barry Richter play?
SELECT Position FROM table WHERE Player = barry richter
Translate the following into a SQL query
What nationality is Mark Hirth from Michigan State University (NCAA)?
SELECT Nationality FROM table WHERE College/junior/club team = michigan state university (ncaa) AND Player = mark hirth
Translate the following into a SQL query
What NHL team does Rob White play on?
SELECT NHL team FROM table WHERE Player = rob white
Translate the following into a SQL query
What is the pick number for position of D from the University of Maine (NCAA)?
SELECT Pick # FROM table WHERE Position = d AND College/junior/club team = university of maine (ncaa)
Translate the following into a SQL query
What college/junior/club team is a left wing from Canada?
SELECT College/junior/club team FROM table WHERE Position = left wing AND Nationality = canada
Translate the following into a SQL query
What is the average last cf of the st. louis blues, who has less than 4 cf appearances and less than 1 cf wins?
SELECT AVG Last CF FROM table WHERE CF appearances < 4 AND CF wins < 1 AND Team = st. louis blues
Translate the following into a SQL query
What is the lowest number of cf wins of the chicago blackhawks, which has more than 4 cf appearances, a last cf in 2013, and more than 2 cup wins?
SELECT MIN CF wins FROM table WHERE CF appearances > 4 AND Last CF = 2013 AND Team = chicago blackhawks AND Cup wins > 2
Translate the following into a SQL query
What is the lowest number of last cfs of the team with 2 cf appearances, 0 cup wins, and less than 0 cf wins?
SELECT MIN Last CF FROM table WHERE CF appearances = 2 AND Cup wins = 0 AND CF wins < 0
Translate the following into a SQL query
What position did the driver from Audi Sport North America finish in the race after 2008?
SELECT Pos. FROM table WHERE Team = audi sport north america AND Year > 2008
Translate the following into a SQL query
What event has 8 as the rank points, with 20 as the total?
SELECT Event FROM table WHERE Rank points = 8 AND Total = 20
Translate the following into a SQL query
What shooter has wc munich as the event, and 8 as the rank points?
SELECT Shooter FROM table WHERE Event = wc munich AND Rank points = 8
Translate the following into a SQL query
What score points have olympic gold medalist as the rank points?
SELECT Score points FROM table WHERE Rank points = olympic gold medalist
Translate the following into a SQL query
What Northern Ireland Player has more than 36,000 Money with a To par of –7?
SELECT Player FROM table WHERE Money ( £ ) > 36,000 AND To par = –7 AND Country = northern ireland
Translate the following into a SQL query
With a To par of –5, what is Nick Faldo's Place?
SELECT Place FROM table WHERE To par = –5 AND Player = nick faldo
Translate the following into a SQL query
What is Fuzzy Zoeller's To par?
SELECT To par FROM table WHERE Player = fuzzy zoeller
Translate the following into a SQL query
What is the Government the has the Kadima Party?
SELECT Governments FROM table WHERE Party = kadima
Translate the following into a SQL query
Which Rank points has a Score points of olympic silver medalist?
SELECT Rank points FROM table WHERE Score points = olympic silver medalist
Translate the following into a SQL query
Which Shooter has a Rank points of 8 and a Event of wc milan?
SELECT Shooter FROM table WHERE Rank points = 8 AND Event = wc milan
Translate the following into a SQL query
Which Score points has an Event of og beijing, and Rank points of olympic gold medalist?
SELECT Score points FROM table WHERE Event = og beijing AND Rank points = olympic gold medalist
Translate the following into a SQL query
Name Event of wc milan and a Total of 23?
SELECT Score points FROM table WHERE Event = wc milan AND Total = 23
Translate the following into a SQL query
which Score points has a Rank points of 10, and an Event of wc milan?
SELECT Score points FROM table WHERE Rank points = 10 AND Event = wc milan
Translate the following into a SQL query
What was willie goggin's score?
SELECT Score FROM table WHERE Player = willie goggin
Translate the following into a SQL query
Which Place has a Country of united states, and a Money ($) larger than 0, and a Player of craig wood?
SELECT Place FROM table WHERE Country = united states AND Money ( $ ) > 0 AND Player = craig wood
Translate the following into a SQL query
What is the home team on March 7?
SELECT Home FROM table WHERE Date = march 7
Translate the following into a SQL query
What is the record on October 30?
SELECT Record FROM table WHERE Date = october 30
Translate the following into a SQL query
What is the record on February 19?
SELECT Record FROM table WHERE Date = february 19
Translate the following into a SQL query
What was d. a. weibring's to par?
SELECT To par FROM table WHERE Player = d. a. weibring
Translate the following into a SQL query
For which to par was the score 71-74-68=213?
SELECT To par FROM table WHERE Score = 71-74-68=213
Translate the following into a SQL query
What player scored 70-72-70=212?
SELECT Player FROM table WHERE Score = 70-72-70=212
Translate the following into a SQL query
What is the to par for the score 72-69-68=209?
SELECT To par FROM table WHERE Score = 72-69-68=209
Translate the following into a SQL query
What was Australia's to par when the place was t9?
SELECT To par FROM table WHERE Place = t9 AND Country = australia
Translate the following into a SQL query
Wht did Mark O'Meara place when the to par was +2?
SELECT Place FROM table WHERE To par = +2 AND Player = mark o'meara
Translate the following into a SQL query
What is the total number of losses for entries with 15 wins and a position larger than 3?
SELECT SUM Losses FROM table WHERE Wins = 15 AND Position > 3
Translate the following into a SQL query
What is the goal difference for entries with more than 6 draws, a position lower than 12, and fewer than 9 wins?
SELECT Goal Difference FROM table WHERE Draws > 6 AND Position > 12 AND Wins < 9
Translate the following into a SQL query
What is the position of club Melilla CF, with a goal difference smaller than -10?
SELECT SUM Position FROM table WHERE Club = melilla cf AND Goal Difference < -10
Translate the following into a SQL query
What is the sum of goals against for positions higher than 14, with fewer than 30 played?
SELECT SUM Goals against FROM table WHERE Position > 14 AND Played < 30
Translate the following into a SQL query
What is the average number of wins for entries with more than 32 points, a goal difference smaller than 23, and a Goals against of 36, and a Played smaller than 30?
SELECT AVG Wins FROM table WHERE Points > 32 AND Goal Difference < 23 AND Goals against = 36 AND Played < 30
Translate the following into a SQL query
Which Location has a Year larger than 2006, and a Score of 6–3, 6–3?
SELECT Location FROM table WHERE Year > 2006 AND Score = 6–3, 6–3
Translate the following into a SQL query
Which Score has a Year larger than 2004, and a Champion of gaël monfils?
SELECT Score FROM table WHERE Year > 2004 AND Champion = gaël monfils
Translate the following into a SQL query
Which Runner-up has a Year smaller than 2008, and a Champion of josé acasuso?
SELECT Runner-up FROM table WHERE Year < 2008 AND Champion = josé acasuso
Translate the following into a SQL query
Which Champion has a Runner-up of florian mayer, and a Score of 7–6(6), 4–6, 7–5?
SELECT Champion FROM table WHERE Runner-up = florian mayer AND Score = 7–6(6), 4–6, 7–5
Translate the following into a SQL query
WHAT IS THE SCORE WITH A WINNER AND OPPONENT BYRON BLACK?
SELECT Score FROM table WHERE Outcome = winner AND Opponent = byron black
Translate the following into a SQL query
Which country has the city of London, England with more than 150,000 specimens?
SELECT Country FROM table WHERE No. Specimens > 150,000 AND City = london, england
Translate the following into a SQL query
What is the number of points of the match with less than 22 games played?
SELECT COUNT Points FROM table WHERE Games played < 22
Translate the following into a SQL query
What is the total number of loses of the club with a 4 position and less than 23 goals conceded?
SELECT COUNT Loses FROM table WHERE Position = 4 AND Goals conceded < 23
Translate the following into a SQL query
What is the lowest number of games played of the club with more than 25 goals conceded, more than 17 goals scored, and a position of 7?
SELECT MIN Games played FROM table WHERE Goals conceded > 25 AND Goals scored > 17 AND Position = 7
Translate the following into a SQL query
What is the lowest number of loses of the club with more than 42 goals scored, more than 20 goals conceded, and less than 3 draws?
SELECT MIN Loses FROM table WHERE Goals scored > 42 AND Goals conceded > 20 AND Draws < 3