Instruction: text to sql

Input: Which 1st party has John Brocklehurst as 1st member, Edward Christopher Egerton 2nd memeber, and election smaller than 1880?

Output: SELECT 1st Party FROM table WHERE Election < 1880 AND 1st Member = john brocklehurst AND 2nd Member = edward christopher egerton


Instruction: text to sql

Input: Which 1st party has 2nd party conservative, election smaller than 1852, and Thomas Grimsditch as 2nd member?

Output: SELECT 1st Party FROM table WHERE 2nd Party = conservative AND Election < 1852 AND 2nd Member = thomas grimsditch


Instruction: text to sql

Input: Name the Weight of ádám steinmetz category:articles with hcards?

Output: SELECT Weight FROM table WHERE Name = ádám steinmetz category:articles with hcards


Instruction: text to sql

Input: Name the Weight which has a 2012 club of pro recco, and a Name of tamás kásás category:articles with hcards?

Output: SELECT Weight FROM table WHERE 2012 club = pro recco AND Name = tamás kásás category:articles with hcards


Instruction: text to sql

Input: Name the Weight which has a Name of balázs hárai category:articles with hcards?

Output: SELECT Weight FROM table WHERE Name = balázs hárai category:articles with hcards


Instruction: text to sql

Input: Name the 012 club which has of norbert hosnyánszky category:articles with hcards?

Output: SELECT 2012 club FROM table WHERE Name = norbert hosnyánszky category:articles with hcards


Instruction: text to sql

Input: What is the lowest Against, when Venue is "Twickenham , London", when Status is "Six Nations", and when Opposing Teams is "France"?

Output: SELECT MIN Against FROM table WHERE Venue = twickenham , london AND Status = six nations AND Opposing Teams = france


Instruction: text to sql

Input: What is the total number of Against, when Date is "27/02/2005"?

Output: SELECT COUNT Against FROM table WHERE Date = 27/02/2005


Instruction: text to sql

Input: What is the highest Against, when Date is "27/02/2005"?

Output: SELECT MAX Against FROM table WHERE Date = 27/02/2005


Instruction: text to sql

Input: What is Status, when Opposing Teams is "Italy"?

Output: SELECT Status FROM table WHERE Opposing Teams = italy


Instruction: text to sql

Input: Which Name has Apparent Magnitude smaller than 11.4, and R.A. (J2000) of 04h17m35.8s?

Output: SELECT Name FROM table WHERE Apparent Magnitude < 11.4 AND R.A. ( J2000 ) = 04h17m35.8s


Instruction: text to sql

Input: Which R.A. (J2000) has a Name of ngc 1543?

Output: SELECT R.A. ( J2000 ) FROM table WHERE Name = ngc 1543


Instruction: text to sql

Input: Which Dec. (J2000) has a Redshift (km/ s) of 1331 ± 3?

Output: SELECT Dec. ( J2000 ) FROM table WHERE Redshift (km/ s ) = 1331 ± 3


Instruction: text to sql

Input: Which R.A. (J2000) has a Name of ngc 1515?

Output: SELECT R.A. ( J2000 ) FROM table WHERE Name = ngc 1515


Instruction: text to sql

Input: Which R.A. (J2000) has Apparent Magnitude of 11.7, and Dec. (J2000) of °07′06″?

Output: SELECT R.A. ( J2000 ) FROM table WHERE Apparent Magnitude = 11.7 AND Dec. ( J2000 ) = °07′06″


Instruction: text to sql

Input: Which player had a To par of +11?

Output: SELECT Player FROM table WHERE To par = +11


Instruction: text to sql

Input: Who won in 1997 with a finish of t48?

Output: SELECT Player FROM table WHERE Finish = t48 AND Year(s) won = 1997


Instruction: text to sql

Input: What player from the United States had a total of 297?

Output: SELECT Player FROM table WHERE Country = united states AND Total = 297


Instruction: text to sql

Input: Which country won in 1988?

Output: SELECT Country FROM table WHERE Year(s) won = 1988


Instruction: text to sql

Input: Which party had a term start of 5 august 1999?

Output: SELECT Party FROM table WHERE Term start = 5 august 1999


Instruction: text to sql

Input: What term end had minister Danny Ayalon?

Output: SELECT Term end FROM table WHERE Minister = danny ayalon


Instruction: text to sql

Input: Which goverment had a party of yisrael beiteinu?

Output: SELECT Governments FROM table WHERE Party = yisrael beiteinu


Instruction: text to sql

Input: Who was the minister of the labor party and had 26 goverments?

Output: SELECT Minister FROM table WHERE Party = labor party AND Governments = 26


Instruction: text to sql

Input: What is the category that came before 2011?

Output: SELECT Category FROM table WHERE Year < 2011


Instruction: text to sql

Input: What is the year of the Premios Carlos Gardel 2009 award?

Output: SELECT Year FROM table WHERE Award = premios carlos gardel 2009


Instruction: text to sql

Input: What is Andrea Suarez Lazaro's height?

Output: SELECT Height FROM table WHERE Contestant = andrea suarez lazaro


Instruction: text to sql

Input: What is niurbi encarnación ynoa's height?

Output: SELECT Height FROM table WHERE Contestant = niurbi encarnación ynoa


Instruction: text to sql

Input: What is the province for Jamao Afuera?

Output: SELECT Province, Community FROM table WHERE Hometown = jamao afuera


Instruction: text to sql

Input: What is the hometown for Santiago?

Output: SELECT Hometown FROM table WHERE Province, Community = santiago


Instruction: text to sql

Input: What is the geographical region for hometown Imbert?

Output: SELECT Geographical Regions FROM table WHERE Hometown = imbert


Instruction: text to sql

Input: What is the Name of the Ship attacked on 20February1942?

Output: SELECT Name of ship FROM table WHERE Date = 20february1942


Instruction: text to sql

Input: Which ship was sunk at 01:00?

Output: SELECT Name of ship FROM table WHERE Fate = sunk at AND Time = 01:00


Instruction: text to sql

Input: What is the to par for the 68-72-73=213 score?

Output: SELECT To par FROM table WHERE Score = 68-72-73=213


Instruction: text to sql

Input: What is the to par for the 69-70-72=211 score?

Output: SELECT To par FROM table WHERE Score = 69-70-72=211


Instruction: text to sql

Input: What is the to par for the United States with a 67-71-73=211 score?

Output: SELECT To par FROM table WHERE Country = united states AND Score = 67-71-73=211


Instruction: text to sql

Input: What country has t4 place and a 67-71-73=211 score?

Output: SELECT Country FROM table WHERE Place = t4 AND Score = 67-71-73=211


Instruction: text to sql

Input: What is the to par for Australia and a 73-69-71=213 score?

Output: SELECT To par FROM table WHERE Country = australia AND Score = 73-69-71=213


Instruction: text to sql

Input: What Location has a Partner of app, a Population Served larger than 2000, and a Design flow (LPM) of 375?

Output: SELECT Location FROM table WHERE Partner = app AND Population Served > 2000 AND Design flow (LPM) = 375


Instruction: text to sql

Input: What Construction Start has an Inauguration Date of 2010 june?

Output: SELECT Construction Start FROM table WHERE Inauguration Date = 2010 june


Instruction: text to sql

Input: What Construction Start has a Design flow (LPM) of 1300?

Output: SELECT Construction Start FROM table WHERE Design flow (LPM) = 1300


Instruction: text to sql

Input: What Location has a Design flow (LPM) smaller than 1900, and a Construction Start of 2006 june?

Output: SELECT Location FROM table WHERE Design flow (LPM) < 1900 AND Construction Start = 2006 june


Instruction: text to sql

Input: What Partner has a Construction Start of 2008 january?

Output: SELECT Partner FROM table WHERE Construction Start = 2008 january


Instruction: text to sql

Input: What is the total Design flow (LPM) with a Partner of app, a Construction Start of 2008 january, and a Population Served larger than 3500?

Output: SELECT SUM Design flow (LPM) FROM table WHERE Partner = app AND Construction Start = 2008 january AND Population Served > 3500


Instruction: text to sql

Input: What is Sandy Lyle's To Par?

Output: SELECT To par FROM table WHERE Player = sandy lyle


Instruction: text to sql

Input: What is Australia's score where they were in place t1?

Output: SELECT Score FROM table WHERE Country = australia AND Place = t1


Instruction: text to sql

Input: What place has Wales as a country?

Output: SELECT Place FROM table WHERE Country = wales


Instruction: text to sql

Input: What is the To Par of Peter Senior from Australia?

Output: SELECT To par FROM table WHERE Country = australia AND Player = peter senior


Instruction: text to sql

Input: What is the score of Howard Clark from England with a To Par of +1?

Output: SELECT Score FROM table WHERE To par = +1 AND Country = england AND Player = howard clark


Instruction: text to sql

Input: What is the score of the player with a To Par of +1 from Spain?

Output: SELECT Score FROM table WHERE To par = +1 AND Country = spain


Instruction: text to sql

Input: Who won the event against U.S.A.?

Output: SELECT Status FROM table WHERE Opposing Teams = u.s.a.


Instruction: text to sql

Input: Where was the match on 10/11/2001 against 15?

Output: SELECT Venue FROM table WHERE Against = 15 AND Date = 10/11/2001


Instruction: text to sql

Input: What is the lowest against team in the Six Nations status in Lansdowne Road, Dublin?

Output: SELECT MIN Against FROM table WHERE Status = six nations AND Venue = lansdowne road, dublin


Instruction: text to sql

Input: What 2008 has 1r as a 2010, A as the 2007, and 1r as the 2009?

Output: SELECT 2008 FROM table WHERE 2010 = 1r AND 2007 = a AND 2009 = 1r


Instruction: text to sql

Input: What 2008 has A as the 2007, and 2r as the 2010?

Output: SELECT 2008 FROM table WHERE 2007 = a AND 2010 = 2r


Instruction: text to sql

Input: What 2009 has lq as the 2011?

Output: SELECT 2009 FROM table WHERE 2011 = lq


Instruction: text to sql

Input: What 2009 has 345 as the 2007?

Output: SELECT 2009 FROM table WHERE 2007 = 345


Instruction: text to sql

Input: What nation has a sport of weightlifting and a pinyin of kùkè qúndǎo?

Output: SELECT Nation FROM table WHERE Sport = weightlifting AND Pinyin = kùkè qúndǎo


Instruction: text to sql

Input: What day did Glentoran play at Windsor Park, Belfast?

Output: SELECT Date FROM table WHERE Team = glentoran AND Venue = windsor park, belfast


Instruction: text to sql

Input: What day was the score 1-0?

Output: SELECT Date FROM table WHERE Score = 1-0


Instruction: text to sql

Input: Which team scored 2-1?

Output: SELECT Team FROM table WHERE Score = 2-1


Instruction: text to sql

Input: What is the 1998 value with 2r in 2003?

Output: SELECT 1998 FROM table WHERE 2003 = 2r


Instruction: text to sql

Input: What is the 2004 value with 2r in 1994?

Output: SELECT 2004 FROM table WHERE 1994 = 2r


Instruction: text to sql

Input: What is the 2003 value for the french open, which has a 1r in 1994?

Output: SELECT 2003 FROM table WHERE 1994 = 1r AND Tournament = french open


Instruction: text to sql

Input: What is the 2003 value with a 1r in 1998, a 14 in 1994, and a 7-12 career?

Output: SELECT 2003 FROM table WHERE 1998 = 1r AND 1994 = 1r AND Career = 7-12


Instruction: text to sql

Input: Which driver finished in position 8?

Output: SELECT Driver FROM table WHERE Fin. Pos = 8


Instruction: text to sql

Input: How many laps have 16 points and With a Laps Led of greater than 0?

Output: SELECT SUM Laps FROM table WHERE Points = 16 AND Laps Led > 0


Instruction: text to sql

Input: What is the average grid for Marco Andretti with a finishing position higher than 19?

Output: SELECT AVG Grid FROM table WHERE Driver = marco andretti AND Fin. Pos > 19


Instruction: text to sql

Input: What is Car number 98's lowest grid?

Output: SELECT MIN Grid FROM table WHERE Car No. = 98


Instruction: text to sql

Input: What is the highest Laps Led with a grid of less than 4 and a finishing position of 15?

Output: SELECT MAX Laps Led FROM table WHERE Grid < 4 AND Fin. Pos = 15


Instruction: text to sql

Input: What is the average Qiangshu lower than rank 4 and less than 9.22 Jianshu?

Output: SELECT AVG Qiangshu FROM table WHERE Rank > 4 AND Jianshu < 9.22


Instruction: text to sql

Input: What is the average Jianshu higher than rank 2, with a Qiangshu smaller than 9.85?

Output: SELECT AVG Jianshu FROM table WHERE Rank < 2 AND Qiangshu < 9.85


Instruction: text to sql

Input: On what date did the woman married to Louis II become consort?

Output: SELECT Became Consort FROM table WHERE Spouse = louis ii


Instruction: text to sql

Input: What is the Date of the game when the Record is 32–31–6?

Output: SELECT Date FROM table WHERE Record = 32–31–6


Instruction: text to sql

Input: What is the Opponent at the Honda Center on March 29?

Output: SELECT Opponent FROM table WHERE Arena = honda center AND Date = march 29


Instruction: text to sql

Input: What is the Opponent when the Record is 34–31–6?

Output: SELECT Opponent FROM table WHERE Record = 34–31–6


Instruction: text to sql

Input: What is Date, when Away Team is "Minehead"?

Output: SELECT Date FROM table WHERE Away team = minehead


Instruction: text to sql

Input: What is Date, when Away Team is "Barnet"?

Output: SELECT Date FROM table WHERE Away team = barnet


Instruction: text to sql

Input: What is Tie no, when Home Team is "Hull City"?

Output: SELECT Tie no FROM table WHERE Home team = hull city


Instruction: text to sql

Input: What is Away Team, when Home Team is "Swindon Town"?

Output: SELECT Away team FROM table WHERE Home team = swindon town


Instruction: text to sql

Input: What is Away Team, when Home Team is "Boston United"?

Output: SELECT Away team FROM table WHERE Home team = boston united


Instruction: text to sql

Input: What was Nick Faldo's score?

Output: SELECT Score FROM table WHERE Player = nick faldo


Instruction: text to sql

Input: What country placed t8 and scored 71-71-71=213?

Output: SELECT Country FROM table WHERE Place = t8 AND Score = 71-71-71=213


Instruction: text to sql

Input: What was the place when the score was 67-73-73=213?

Output: SELECT Place FROM table WHERE Score = 67-73-73=213


Instruction: text to sql

Input: What was the place when the score was 70-69-74=213?

Output: SELECT Place FROM table WHERE Score = 70-69-74=213


Instruction: text to sql

Input: What was United States place when the player was Fred Couples?

Output: SELECT Place FROM table WHERE Country = united states AND Player = fred couples


Instruction: text to sql

Input: WHAT IS THE TOURNAMENT WITH 2008 AND 2011 WITH A?

Output: SELECT Tournament FROM table WHERE 2008 = a AND 2011 = a


Instruction: text to sql

Input: WHAT IS THE 2012 WITH 2005 OF 1R?

Output: SELECT 2012 FROM table WHERE 2005 = 1r


Instruction: text to sql

Input: WHAT IS THE 2010 WITH 2012 OF 2R AT MIAMI MASTERS?

Output: SELECT 2010 FROM table WHERE 2012 = 2r AND Tournament = miami masters


Instruction: text to sql

Input: WHAT IS THE 2008 WITH TOURNAMENT OF WIN-LOSS, AND 2005 A?

Output: SELECT 2008 FROM table WHERE Tournament = win-loss AND 2005 = a


Instruction: text to sql

Input: WHAT IS THE 2007 AT MADRID MASTERS?

Output: SELECT 2007 FROM table WHERE Tournament = madrid masters


Instruction: text to sql

Input: WHAT IS THE 2011 WITH 2007 AT A AND2 008 AT 3R?

Output: SELECT 2011 FROM table WHERE 2007 = a AND 2008 = 3r


Instruction: text to sql

Input: What game was released before 2010 with a Metacritic of 85/100?

Output: SELECT Game Title FROM table WHERE Metacritic = 85/100 AND Year Released < 2010


Instruction: text to sql

Input: What is the Metacritic released after 2005, with a Platform of playstation 3 and a GameRankings of 84.44%?

Output: SELECT Metacritic FROM table WHERE Year Released > 2005 AND Platform = playstation 3 AND GameRankings = 84.44%


Instruction: text to sql

Input: What is the GameRankings Released of 2011 with a Metacritic of 83/100?

Output: SELECT GameRankings FROM table WHERE Metacritic = 83/100 AND Year Released = 2011


Instruction: text to sql

Input: How many weeks have an attendance less than 26,048?

Output: SELECT SUM Week FROM table WHERE Attendance < 26,048


Instruction: text to sql

Input: WHAT IS THE 11AM WITH LOCAL PROGRAMS AT 4PM AND GENERAL HOSPITAL AT 3PM?

Output: SELECT 11:00 am FROM table WHERE 4:00 pm = local programs AND 3:00 pm = general hospital


Instruction: text to sql

Input: WHAT IS THE 4:30PM WITH AN 8:00AM CBS THIS MORNING?

Output: SELECT 4:30 pm FROM table WHERE 8:00 am = cbs this morning


Instruction: text to sql

Input: WHAT IS THE 4:30PM WITH 1:30PM LOCAL PROGRAMS?

Output: SELECT 4:30 pm FROM table WHERE 1:30 pm = local programs


Instruction: text to sql

Input: WHAT IS THE 8:00AM WITH PORT CHARLES AT 12:30PM?

Output: SELECT 8:00 am FROM table WHERE 12:30 pm = port charles


Instruction: text to sql

Input: What was the record when the Denver Broncos played the New York Titans at Bears Stadium?

Output: SELECT Record FROM table WHERE Game site = bears stadium AND Opponent = new york titans


Instruction: text to sql

Input: What was the result of the match on December 9, 1962?

Output: SELECT Result FROM table WHERE Date = december 9, 1962


Instruction: text to sql

Input: What is To par, when Score is "70-68-68-71=277"?

Output: SELECT To par FROM table WHERE Score = 70-68-68-71=277


Instruction: text to sql

Input: What is the score of the match on 12 September 1990?

Output: SELECT Score FROM table WHERE Date = 12 september 1990


Instruction: text to sql

Input: For what league was the player in G position drafted?

Output: SELECT League from FROM table WHERE Position = g


Instruction: text to sql

Input: What pick number was player Greg McKegg?

Output: SELECT AVG Pick # FROM table WHERE Player = greg mckegg


Instruction: text to sql

Input: What Place has a Player of tony jacklin?

Output: SELECT Place FROM table WHERE Player = tony jacklin


Instruction: text to sql

Input: What Place has a Player of bernhard langer?

Output: SELECT Place FROM table WHERE Player = bernhard langer


Instruction: text to sql

Input: What Player has a Country of west germany?

Output: SELECT Player FROM table WHERE Country = west germany


Instruction: text to sql

Input: What Player has a To par of –2?

Output: SELECT Player FROM table WHERE To par = –2


Instruction: text to sql

Input: What To par has a Place of t2, and a Country of united states?

Output: SELECT To par FROM table WHERE Place = t2 AND Country = united states


Instruction: text to sql

Input: What Score has a Place of t2, and a Country of england?

Output: SELECT Score FROM table WHERE Place = t2 AND Country = england


Instruction: text to sql

Input: How many tries were there for club cwmtwrch rfc?

Output: SELECT Tries against FROM table WHERE Club = cwmtwrch rfc


Instruction: text to sql

Input: What is the draw when the tries against was 69?

Output: SELECT Drawn FROM table WHERE Tries against = 69


Instruction: text to sql

Input: What is the try bonus when the loss is 13 and the draw is 2?

Output: SELECT Try bonus FROM table WHERE Lost = 13 AND Drawn = 2


Instruction: text to sql

Input: What is the average Finish, when Team is "Buck Baker", and when Start is less than 13?

Output: SELECT AVG Finish FROM table WHERE Team = buck baker AND Start < 13


Instruction: text to sql

Input: What is the average Year, when Start is "11"?

Output: SELECT AVG Year FROM table WHERE Start = 11


Instruction: text to sql

Input: What is the lowest Year, when Finish is "29", and when Start is less than 24?

Output: SELECT MIN Year FROM table WHERE Finish = 29 AND Start < 24


Instruction: text to sql

Input: What is the highest Year, when Finish is "51", and when Start is less than 64?

Output: SELECT MAX Year FROM table WHERE Finish = 51 AND Start < 64


Instruction: text to sql

Input: What is Manufacturer, when Finish is greater than 29, when Start is less than 23, and when Year is "1973"?

Output: SELECT Manufacturer FROM table WHERE Finish > 29 AND Start < 23 AND Year = 1973


Instruction: text to sql

Input: What is the opposing team with 11 against?

Output: SELECT Opposing Teams FROM table WHERE Against = 11


Instruction: text to sql

Input: What is the venue where Argentina was the opposing team in a test match?

Output: SELECT Venue FROM table WHERE Opposing Teams = argentina AND Status = test match


Instruction: text to sql

Input: What is the status of the game against France with more than 16 against?

Output: SELECT Status FROM table WHERE Against > 16 AND Opposing Teams = france


Instruction: text to sql

Input: On what date is there a status of Five Nations and an against of 23?

Output: SELECT Date FROM table WHERE Status = five nations AND Against = 23


Instruction: text to sql

Input: What model has a number built smaller than 6.526, and the Chassis code w109.015?

Output: SELECT Model FROM table WHERE Number built < 6.526 AND Chassis code = w109.015


Instruction: text to sql

Input: What was the record at Tiger Stadium?

Output: SELECT Record FROM table WHERE Game site = tiger stadium


Instruction: text to sql

Input: What was the attendance on September 19, 1971, after week 1?

Output: SELECT AVG Attendance FROM table WHERE Date = september 19, 1971 AND Week > 1


Instruction: text to sql

Input: How many Bronze medals did the team ranked 1 win?

Output: SELECT Bronze FROM table WHERE Rank = 1


Instruction: text to sql

Input: What is the name of the person who plays the GK position and is from the Wolverhampton Wanderers?

Output: SELECT Name FROM table WHERE Position = gk AND From = wolverhampton wanderers


Instruction: text to sql

Input: What is the date for Liverpool, and player Robbie Threlfall?

Output: SELECT Date From FROM table WHERE From = liverpool AND Name = robbie threlfall


Instruction: text to sql

Input: What is the date for Watford and player Lionel Ainsworth?

Output: SELECT Date To FROM table WHERE From = watford AND Name = lionel ainsworth


Instruction: text to sql

Input: What is the date for the MF position and player Jennison Myrie-Williams?

Output: SELECT Date From FROM table WHERE Position = mf AND Name = jennison myrie-williams


Instruction: text to sql

Input: What is the position of the player from Leicester City?

Output: SELECT Position FROM table WHERE From = leicester city


Instruction: text to sql

Input: What Goals has a Team of zamora, and Average larger than 0.89?

Output: SELECT AVG Goals FROM table WHERE Team = zamora AND Average > 0.89


Instruction: text to sql

Input: What is the sum of Goals win an Average larger than 1?

Output: SELECT COUNT Goals FROM table WHERE Average > 1


Instruction: text to sql

Input: What is the smallest Matches with a Goalkeeper of josé bermúdez, and Goals larger than 18?

Output: SELECT MIN Matches FROM table WHERE Goalkeeper = josé bermúdez AND Goals > 18


Instruction: text to sql

Input: What is the total of Matches with Goals of 18, and an Average larger than 0.55?

Output: SELECT SUM Matches FROM table WHERE Goals = 18 AND Average > 0.55


Instruction: text to sql

Input: What is the largest Average with Goals smaller than 34, Matches larger than 30, and a Team of cultural leonesa?

Output: SELECT MAX Average FROM table WHERE Goals < 34 AND Matches > 30 AND Team = cultural leonesa


Instruction: text to sql

Input: Which To par has a Score of 78-74-71-75=298?

Output: SELECT AVG To par FROM table WHERE Score = 78-74-71-75=298


Instruction: text to sql

Input: How much To par has a Country of united states, and a Money ($) of 90?

Output: SELECT COUNT To par FROM table WHERE Country = united states AND Money ( $ ) = 90


Instruction: text to sql

Input: What is are the highest matches with £5,000 in prize money?

Output: SELECT MAX Matches FROM table WHERE Prize money = £5,000


Instruction: text to sql

Input: What is the prize money amount after match 1, with 102 new entries to the round?

Output: SELECT Prize money FROM table WHERE Matches > 1 AND New entries this round = 102


Instruction: text to sql

Input: In what place did Darren Clarke finish?

Output: SELECT Place FROM table WHERE Player = darren clarke


Instruction: text to sql

Input: What was Ernie Els's score?

Output: SELECT Score FROM table WHERE Player = ernie els


Instruction: text to sql

Input: In what place did Tom Lehman finish?

Output: SELECT Place FROM table WHERE Player = tom lehman


Instruction: text to sql

Input: In what place did the golfer that scored 68-70-69=207 finish?

Output: SELECT Place FROM table WHERE Score = 68-70-69=207


Instruction: text to sql

Input: What were the highest laps for glenn seton gregg hansford?

Output: SELECT MAX Laps FROM table WHERE Drivers = glenn seton gregg hansford


Instruction: text to sql

Input: What driver had 101 laps?

Output: SELECT Drivers FROM table WHERE Laps = 101


Instruction: text to sql

Input: Gary Barnett who has been in 0 FA Cups plays what position?

Output: SELECT Position FROM table WHERE FA Cup Apps = 0 AND Name = gary barnett


Instruction: text to sql

Input: What is the maximum league cup goals when there has been 0 FA cup appearances, and MF is the position, with 1 league appearance, and smaller than 0 total goals?

Output: SELECT MAX League Cup Goals FROM table WHERE FA Cup Apps = 0 AND Position = mf AND League Apps = 1 AND Total Goals < 0


Instruction: text to sql

Input: How many FLT appearances for the player with less than 5 total goals, and 3 FA Cup appearances, 4 league goals, and plays MF?

Output: SELECT FLT Apps FROM table WHERE Total Goals < 5 AND FA Cup Apps = 3 AND Position = mf AND League Goals = 4


Instruction: text to sql

Input: Who was the opponent when the attendance was 87,453?

Output: SELECT Opponent# FROM table WHERE Attendance = 87,453


Instruction: text to sql

Input: What was the attendance when they had a ranking of #4?

Output: SELECT Attendance FROM table WHERE Rank # = 4


Instruction: text to sql

Input: What's the average Played for a draw of 5 and more than 43 points?

Output: SELECT AVG Played FROM table WHERE Draw = 5 AND Points > 43


Instruction: text to sql

Input: What is the government salary of the Undersecretary with a Romanised name of Chen Wei-On, Kenneth?

Output: SELECT Govt salary FROM table WHERE Romanised name = chen wei-on, kenneth


Instruction: text to sql

Input: What is the portfolio attachment of the Undersecretary appointed at age 48 with a Chinese name of 梁鳳儀?

Output: SELECT Portfolio attachment FROM table WHERE age at appointment = 48 AND Chinese name = 梁鳳儀


Instruction: text to sql

Input: What is the Romanised name of the Undersecretary with an education portfolio attachment?

Output: SELECT Romanised name FROM table WHERE Portfolio attachment = education


Instruction: text to sql

Input: What is the best top 10 when there are fewer than 0 wins?

Output: SELECT MAX Top 10s FROM table WHERE Wins < 0


Instruction: text to sql

Input: Where did naylor move from?

Output: SELECT Moving from FROM table WHERE Name = naylor


Instruction: text to sql

Input: What type ends in 2011, has a free transfer fee, and is sourced in leeds united?

Output: SELECT Type FROM table WHERE Ends = 2011 AND Transfer fee = free AND Source = leeds united


Instruction: text to sql

Input: What is the type of sco country?

Output: SELECT Type FROM table WHERE Country = sco


Instruction: text to sql

Input: What is the type that ends in 2009?

Output: SELECT Type FROM table WHERE Ends = 2009


Instruction: text to sql

Input: What is the transfer fee of assoumani, who has a summer transfer window?

Output: SELECT Transfer fee FROM table WHERE Transfer window = summer AND Name = assoumani


Instruction: text to sql

Input: What is the ends with a free transfer fee and was moved from middlesbrough?

Output: SELECT Ends FROM table WHERE Transfer fee = free AND Moving from = middlesbrough


Instruction: text to sql

Input: Which Week has Attendance of 51,558?

Output: SELECT MIN Week FROM table WHERE Attendance = 51,558


Instruction: text to sql

Input: Which Attendance has a Result of w 24-14, and a Week smaller than 7?

Output: SELECT SUM Attendance FROM table WHERE Result = w 24-14 AND Week < 7


Instruction: text to sql

Input: Which Attendance has an Opponent of at los angeles rams, and a Week larger than 12?

Output: SELECT MAX Attendance FROM table WHERE Opponent = at los angeles rams AND Week > 12


Instruction: text to sql

Input: Which method has a record of 4-0?

Output: SELECT Method FROM table WHERE Record = 4-0


Instruction: text to sql

Input: What is the record when the method is decision and the location is Martigues, France?

Output: SELECT Record FROM table WHERE Method = decision AND Location = martigues, france


Instruction: text to sql

Input: Which location has a method of decision and Nikos Tsoukalas for an opponent?

Output: SELECT Location FROM table WHERE Method = decision AND Opponent = nikos tsoukalas


Instruction: text to sql

Input: What is the method when the location is Auckland, New Zealand, Darren Berry as the opponent, and resulted in a win?

Output: SELECT Method FROM table WHERE Location = auckland, new zealand AND Result = win AND Opponent = darren berry


Instruction: text to sql

Input: What is the location when the record is 9-7?

Output: SELECT Location FROM table WHERE Record = 9-7


Instruction: text to sql

Input: What is the location when KO is the method, the result is a win, and the record is 2-0?

Output: SELECT Location FROM table WHERE Method = ko AND Result = win AND Record = 2-0


Instruction: text to sql

Input: What 1:00 pm has a 6:30 pm of local programs, and a 7:30 am of animaniacs?

Output: SELECT 1:00 pm FROM table WHERE 6:30 pm = local programs AND 7:30 am = animaniacs


Instruction: text to sql

Input: What 8:00 am has a 3:00 pm of space goofs (mon) spider-man (tue-fri)?

Output: SELECT 8:00 am FROM table WHERE 3:00 pm = space goofs (mon) spider-man (tue-fri)


Instruction: text to sql

Input: What 1:00 pm has an 11:00 am of the view?

Output: SELECT 1:00 pm FROM table WHERE 11:00 am = the view


Instruction: text to sql

Input: What 1:30 pm has a 3:00 pm of local programs?

Output: SELECT 1:30 pm FROM table WHERE 3:00 pm = local programs


Instruction: text to sql

Input: What 12:30 pm has an 8:00 am of the today show with katie couric & matt lauer?

Output: SELECT 12:30 pm FROM table WHERE 8:00 am = the today show with katie couric & matt lauer


Instruction: text to sql

Input: What 1:00 pm has a 4:30 pm of local programs, and a 7:30 am of the today show with katie couric & matt lauer?

Output: SELECT 1:00 pm FROM table WHERE 4:30 pm = local programs AND 7:30 am = the today show with katie couric & matt lauer


Instruction: text to sql

Input: What are the total deaths from the Battle of Tel Hai prior to Israel's independence?

Output: SELECT Total deaths FROM table WHERE Conflicts prior to Israel's independence = battle of tel hai


Instruction: text to sql

Input: What are the total casualties with 1,200+ military and/or civilian wounded?

Output: SELECT Total casualties FROM table WHERE Military and/or Civilian wounded = 1,200+


Instruction: text to sql

Input: How many military deaths were there when there were 1,615 total casualties?

Output: SELECT Military deaths FROM table WHERE Total casualties = 1,615


Instruction: text to sql

Input: How many military deaths were there when there were 1,200+ military and/or civilian wounded?

Output: SELECT Military deaths FROM table WHERE Military and/or Civilian wounded = 1,200+


Instruction: text to sql

Input: How many deaths were there when the total casualties were 6?

Output: SELECT Total deaths FROM table WHERE Total casualties = 6


Instruction: text to sql

Input: Which country scored 70-68-71-71=280?

Output: SELECT Country FROM table WHERE Score = 70-68-71-71=280


Instruction: text to sql

Input: What champions have 1 (2009) as the semi-finalists?

Output: SELECT Champions FROM table WHERE Semi-finalists = 1 (2009)


Instruction: text to sql

Input: What fourth-place has 2 (1999, 2005) as the runner(s)-up?

Output: SELECT Fourth-place FROM table WHERE Runners-up = 2 (1999, 2005)


Instruction: text to sql

Input: What semi-finalists has 2 (1993, 2003) as the fourth-place?

Output: SELECT Semi-finalists FROM table WHERE Fourth-place = 2 (1993, 2003)


Instruction: text to sql

Input: What runner(s)-up has 1 (2013) as the champions?

Output: SELECT Runners-up FROM table WHERE Champions = 1 (2013)


Instruction: text to sql

Input: What was the day of vacancy for vitória de guimarães?

Output: SELECT Date of vacancy FROM table WHERE Team = vitória de guimarães


Instruction: text to sql

Input: Who was the outgoing manager when the incoming manager was augusto inácio?

Output: SELECT Outgoing manage FROM table WHERE Incoming manager = augusto inácio


Instruction: text to sql

Input: How many matches did Atlético Ciudad have with an average higher than 0.61?

Output: SELECT COUNT Matches FROM table WHERE Team = atlético ciudad AND Average > 0.61


Instruction: text to sql

Input: Who is the goalkeeper with fewer than 24 goals?

Output: SELECT Goalkeeper FROM table WHERE Goals < 24


Instruction: text to sql

Input: What was the highest amount of losses when there were 45 goals and the play was smaller than 38?

Output: SELECT MAX Losses FROM table WHERE Goals for = 45 AND Played < 38


Instruction: text to sql

Input: What were the lowest goals when there were mor than 15 wins and the goal difference was larger than 35?

Output: SELECT MIN Goals for FROM table WHERE Wins > 15 AND Goal Difference > 35


Instruction: text to sql

Input: What were the highest losses when the goal was smaller than 45 and the points was smaller than 18?

Output: SELECT MAX Losses FROM table WHERE Goals for < 45 AND Points < 18


Instruction: text to sql

Input: What were the highest goals against when the position was larger than 19 and the goals smaller than 36?

Output: SELECT MAX Goals against FROM table WHERE Position > 19 AND Goals for < 36


Instruction: text to sql

Input: What is the to par for the player with fewer than 148 total points?

Output: SELECT SUM To par FROM table WHERE Total < 148


Instruction: text to sql

Input: What is 2:00 pm, when 3:30 pm is "Animaniacs (Mon-Thu) Pinky and The Brain (Fri)"?

Output: SELECT 2:00 pm FROM table WHERE 3:30 pm = animaniacs (mon-thu) pinky and the brain (fri)


Instruction: text to sql

Input: What is 7:30 am, when 11:00 am is "The View"?

Output: SELECT 7:30 am FROM table WHERE 11:00 am = the view


Instruction: text to sql

Input: What is 3:00 pm, when 1:00 pm is "Days of Our Lives"?

Output: SELECT 3:00 pm FROM table WHERE 1:00 pm = days of our lives


Instruction: text to sql

Input: What is Noon, when 3:00 pm is "General Hospital"?

Output: SELECT noon FROM table WHERE 3:00 pm = general hospital


Instruction: text to sql

Input: What is 9:00 am, when 6:30 pm is "Local Programs"?

Output: SELECT 9:00 am FROM table WHERE 6:30 pm = local programs


Instruction: text to sql

Input: What school year is vaucluse public school?

Output: SELECT Years FROM table WHERE School = vaucluse public school


Instruction: text to sql

Input: What are the websites of schools that were founded in 1872?

Output: SELECT Website FROM table WHERE Founded = 1872


Instruction: text to sql

Input: On average, when were vineyard schools founded?

Output: SELECT AVG Founded FROM table WHERE Suburb/Town = vineyard


Instruction: text to sql

Input: What was the surface later than 1979, for the Melbourne Indoor, Australia, and the score was 2–6, 6–2, 6–2?

Output: SELECT Surface FROM table WHERE Date > 1979 AND Championship = melbourne indoor, australia AND Score = 2–6, 6–2, 6–2


Instruction: text to sql

Input: What is the earliest date when the championship was Monterrey WCT, Mexico?

Output: SELECT MIN Date FROM table WHERE Championship = monterrey wct, mexico


Instruction: text to sql

Input: What is the score when the outcome was runner-up, earlier than 1975?

Output: SELECT Score FROM table WHERE Outcome = runner-up AND Date < 1975


Instruction: text to sql

Input: How many Losses have a Geelong FL of newtown & chilwell, and more than 11 wins?

Output: SELECT COUNT Losses FROM table WHERE Geelong FL = newtown & chilwell AND Wins > 11


Instruction: text to sql

Input: When were the shares 39.1%?

Output: SELECT Date FROM table WHERE Share = 39.1%


Instruction: text to sql

Input: Which show aired on 19 april?

Output: SELECT Show FROM table WHERE Date = 19 april


Instruction: text to sql

Input: What was the original title for the film used in nomination of street days?

Output: SELECT Original title FROM table WHERE Film title used in nomination = street days


Instruction: text to sql

Input: What was the original title for the film used in nomination of keep smiling?

Output: SELECT Original title FROM table WHERE Film title used in nomination = keep smiling


Instruction: text to sql

Input: How much were tickets for the show in Hartford, Connecticut?

Output: SELECT Ticket price(s) FROM table WHERE City, state = hartford, connecticut


Instruction: text to sql

Input: How many tickets were sold and how many were available for the shows that grossed $348,674?

Output: SELECT Ticket sold / available FROM table WHERE Ticket grossing = $348,674


Instruction: text to sql

Input: How much were tickets for the show in Indianapolis, Indiana?

Output: SELECT Ticket price(s) FROM table WHERE City, state = indianapolis, indiana


Instruction: text to sql

Input: Which Production in 2009 had a Result of Nominated at the Helpmann awards Award Ceremony?

Output: SELECT Production FROM table WHERE Result = nominated AND Year = 2009 AND Award ceremony = helpmann awards


Instruction: text to sql

Input: Which Award Ceremony in 2009 has a Role of Glinda?

Output: SELECT Award ceremony FROM table WHERE Role = glinda AND Year = 2009


Instruction: text to sql

Input: Which Year saw the Production of Wicked at the Helpmann Awards Award ceremony?

Output: SELECT Year FROM table WHERE Production = wicked AND Award ceremony = helpmann awards


Instruction: text to sql

Input: What was the Result in 2013?

Output: SELECT Result FROM table WHERE Year = 2013


Instruction: text to sql

Input: Who was the rider riding the Kawasaki ZX-6r, that rode less than 22 laps, and the grid was greater than 19, and retirement was the time?

Output: SELECT Rider FROM table WHERE Laps < 22 AND Grid > 19 AND Time = retirement AND Bike = kawasaki zx-6r


Instruction: text to sql

Input: What is the maximum grid when the laps were greater than 22?

Output: SELECT MAX Grid FROM table WHERE Laps > 22


Instruction: text to sql

Input: What is the minimum grid when there was more than 22 laps?

Output: SELECT MIN Grid FROM table WHERE Laps > 22


Instruction: text to sql

Input: How many total laps were ridden when the grid was 7 and the rider rode the Honda CBR600RR?

Output: SELECT SUM Laps FROM table WHERE Bike = honda cbr600rr AND Grid = 7


Instruction: text to sql

Input: Which sign has a fall of Venus?

Output: SELECT Sign FROM table WHERE Fall = venus


Instruction: text to sql

Input: Which exaltation has a fall of moon?

Output: SELECT Exaltation FROM table WHERE Fall = moon


Instruction: text to sql

Input: Which exaltation has a domicile of Saturn and a fall of Jupiter?

Output: SELECT Exaltation FROM table WHERE Domicile = saturn AND Fall = jupiter


Instruction: text to sql

Input: Which exaltation has a domicile of Saturn and Capricorn as a sign?

Output: SELECT Exaltation FROM table WHERE Domicile = saturn AND Sign = capricorn


Instruction: text to sql

Input: Which detriment has a domicile of mercury and Virgo as a sign?

Output: SELECT Detriment FROM table WHERE Domicile = mercury AND Sign = virgo


Instruction: text to sql

Input: Which exaltation has a detriment of Saturn and Cancer as a sign?

Output: SELECT Exaltation FROM table WHERE Detriment = saturn AND Sign = cancer


Instruction: text to sql

Input: What was the draw when the points against was 234?

Output: SELECT Drawn FROM table WHERE Points against = 234


Instruction: text to sql

Input: What was the try bonus when the points for was 608?

Output: SELECT Try bonus FROM table WHERE Points for = 608


Instruction: text to sql

Input: Which Team has a Previous team of san diego rockets, and a Position of f?

Output: SELECT Team FROM table WHERE Previous team = san diego rockets AND Pos. = f


Instruction: text to sql

Input: Which Nationality has a Previous team of new york knicks, and more than 3 Years of NBA experience?

Output: SELECT Nationality FROM table WHERE Previous team = new york knicks AND Years of NBA experience [a ] > 3


Instruction: text to sql

Input: What is team 1 when team 2 is Manchester United?

Output: SELECT Team 1 FROM table WHERE Team 2 = manchester united


Instruction: text to sql

Input: What is the agg when team 1 is Milan?

Output: SELECT Agg. FROM table WHERE Team 1 = milan


Instruction: text to sql

Input: Which team is ranked #10?

Output: SELECT Team FROM table WHERE Rank = 10


Instruction: text to sql

Input: Which cyclist has UCI ProTour points of 40?

Output: SELECT Cyclist FROM table WHERE UCI ProTour Points = 40


Instruction: text to sql

Input: What is the province with a contestant of tatiana vargas rosales?

Output: SELECT Province, Community FROM table WHERE Contestant = tatiana vargas rosales


Instruction: text to sql

Input: Which province has the contestant elixandra tobias carasco?

Output: SELECT Province, Community FROM table WHERE Contestant = elixandra tobias carasco


Instruction: text to sql

Input: What is the 2005 sum with a 2009 less than 1,850,654?

Output: SELECT SUM 2005 FROM table WHERE 2009 < 1,850,654


Instruction: text to sql

Input: What is the average 2003 with 2,154,170 in 2010 and a 2008 less than 2,266,716?

Output: SELECT AVG 2003 FROM table WHERE 2010 = 2,154,170 AND 2008 < 2,266,716


Instruction: text to sql

Input: What is the average 2009 with a 2003 greater than 3,791, 107,982 in 2007, and a 2006 less than 98,264?

Output: SELECT AVG 2009 FROM table WHERE 2003 > 3,791 AND 2007 = 107,982 AND 2006 < 98,264


Instruction: text to sql

Input: What is the sum of the 2008 with a 2007 of 4,244,115 and less than 3,296,267 in 2003?

Output: SELECT SUM 2008 FROM table WHERE 2007 = 4,244,115 AND 2003 < 3,296,267


Instruction: text to sql

Input: What is 2011, when 2009 is "A"?

Output: SELECT 2011 FROM table WHERE 2009 = a


Instruction: text to sql

Input: What is 2009, when Tournament is "Year-End Ranking"?

Output: SELECT 2009 FROM table WHERE Tournament = year-end ranking


Instruction: text to sql

Input: What is 2011, when 2012 is "1R"?

Output: SELECT 2011 FROM table WHERE 2012 = 1r


Instruction: text to sql

Input: What is 2012, when 2009 is "A"?

Output: SELECT 2012 FROM table WHERE 2009 = a


Instruction: text to sql

Input: What is 2011, when 2012 is "A", and when Tournament is "French Open"?

Output: SELECT 2011 FROM table WHERE 2012 = a AND Tournament = french open


Instruction: text to sql

Input: What is the largest Against with an Opposing Teams of wales?

Output: SELECT MAX Against FROM table WHERE Opposing Teams = wales


Instruction: text to sql

Input: What Status has a Date of 18/03/1989?

Output: SELECT Status FROM table WHERE Date = 18/03/1989


Instruction: text to sql

Input: What Venue has a Status of five nations, and Against of 0?

Output: SELECT Venue FROM table WHERE Status = five nations AND Against = 0


Instruction: text to sql

Input: What is the smallest Against with a Date of 18/02/1989?

Output: SELECT MIN Against FROM table WHERE Date = 18/02/1989


Instruction: text to sql

Input: What are the additional notes for Cotabato?

Output: SELECT Additional Notes FROM table WHERE Location = cotabato


Instruction: text to sql

Input: What country in Kunlong in?

Output: SELECT Country FROM table WHERE Location = kunlong


Instruction: text to sql

Input: Who went on a rampage in Baghdad?

Output: SELECT Perpetrator FROM table WHERE Location = baghdad


Instruction: text to sql

Input: What's the rank that has a total of less than 1?

Output: SELECT SUM Rank FROM table WHERE Total < 1


Instruction: text to sql

Input: What's the bronze medal count when the silver is less than 3 and the gold is 1?

Output: SELECT SUM Bronze FROM table WHERE Gold = 1 AND Silver < 3


Instruction: text to sql

Input: What's the gold medal count ranked 2 with a total of more than 21?

Output: SELECT COUNT Gold FROM table WHERE Rank = 2 AND Total > 21


Instruction: text to sql

Input: What's the smallest total with a bronze count of 5 and a gold count less than 8?

Output: SELECT MIN Total FROM table WHERE Bronze = 5 AND Gold < 8


Instruction: text to sql

Input: What is the party for the representative who was first elected before 2002 and the results were re-elected?

Output: SELECT Party FROM table WHERE Results = re-elected AND First elected < 2002


Instruction: text to sql

Input: Incumbent John Sullivan has what as biggest first elected?

Output: SELECT MAX First elected FROM table WHERE Incumbent = john sullivan


Instruction: text to sql

Input: What Location has Years Member of 1963–1968?

Output: SELECT Location FROM table WHERE Years Member = 1963–1968


Instruction: text to sql

Input: What School has Colors of navy blue orange?

Output: SELECT School FROM table WHERE Colors = navy blue orange


Instruction: text to sql

Input: What Years Member has a School of cairo high school?

Output: SELECT Years Member FROM table WHERE School = cairo high school


Instruction: text to sql

Input: What Colors has a School of sesser high school?

Output: SELECT Colors FROM table WHERE School = sesser high school


Instruction: text to sql

Input: What Colors has a School of zeigler high school?

Output: SELECT Colors FROM table WHERE School = zeigler high school


Instruction: text to sql

Input: What Nickname(s) has a Location of elkville, illinois?

Output: SELECT Nickname(s) FROM table WHERE Location = elkville, illinois


Instruction: text to sql

Input: Which Season 1 has a Season 7 of david chilton?

Output: SELECT Season 1 FROM table WHERE Season 7 = david chilton


Instruction: text to sql

Input: Which Seat has a Season 6 of kevin o'leary?

Output: SELECT MAX Seat FROM table WHERE Season 6 = kevin o'leary


Instruction: text to sql

Input: Which Season 7 has a Season 6 of jim treliving?

Output: SELECT Season 7 FROM table WHERE Season 6 = jim treliving


Instruction: text to sql

Input: Which Season 7 has a Seat larger than 1, and a Season 3 of w. brett wilson?

Output: SELECT Season 7 FROM table WHERE Seat > 1 AND Season 3 = w. brett wilson


Instruction: text to sql

Input: Which Season 3 has a Season 7 of jim treliving?

Output: SELECT Season 3 FROM table WHERE Season 7 = jim treliving


Instruction: text to sql

Input: What is Weekly Winner, when Air Date is "July 4, 2008"?

Output: SELECT Weekly Winner FROM table WHERE Air Date = july 4, 2008


Instruction: text to sql

Input: What is Rating, when Air Date is "July 24, 2008*", and when Weekly Winner is "Sales Rep. Oscar Ledezma"?

Output: SELECT Rating FROM table WHERE Air Date = july 24, 2008* AND Weekly Winner = sales rep. oscar ledezma


Instruction: text to sql

Input: What is Viewers, when 18-49 is "N/A", and when Weekly Winner is "Wedding DJ Chris Dixon"?

Output: SELECT Viewers FROM table WHERE 18-49 = n/a AND Weekly Winner = wedding dj chris dixon


Instruction: text to sql

Input: What is 18-49, when Weekly Winner is "Youth Counselor Justin Meece"?

Output: SELECT 18-49 FROM table WHERE Weekly Winner = youth counselor justin meece


Instruction: text to sql

Input: What is Viewers, when Air Date is "July 4, 2008"?

Output: SELECT Viewers FROM table WHERE Air Date = july 4, 2008


Instruction: text to sql

Input: What is Air Date, when Rating is "N/A", and when Weekly Winner is "Wedding DJ Chris Dixon"?

Output: SELECT Air Date FROM table WHERE Rating = n/a AND Weekly Winner = wedding dj chris dixon


Instruction: text to sql

Input: What was the record for Dec 16?

Output: SELECT Record FROM table WHERE Date = dec 16


Instruction: text to sql

Input: What is the 2010 with a qf in 2011?

Output: SELECT 2010 FROM table WHERE 2011 = qf


Instruction: text to sql

Input: What is the 2013 of the grand slam tournaments?

Output: SELECT 2013 FROM table WHERE Tournament = grand slam tournaments


Instruction: text to sql

Input: What is the 2013 with a 2r in 2010 and a qf in 2011?

Output: SELECT 2013 FROM table WHERE 2010 = 2r AND 2011 = qf


Instruction: text to sql

Input: What is the 2011 with 1r in 2010?

Output: SELECT 2011 FROM table WHERE 2010 = 1r


Instruction: text to sql

Input: What is the 2012 with A in 2009 and 2r in 2010?

Output: SELECT 2012 FROM table WHERE 2009 = a AND 2010 = 2r


Instruction: text to sql

Input: What is the poison/klesha word for moha avijja in pali?

Output: SELECT Poison/Klesha FROM table WHERE Pali = moha avijja


Instruction: text to sql

Input: What is the poision/klesha word for the tibetan word gti mug ma rig pa?

Output: SELECT Poison/Klesha FROM table WHERE Tibetan = gti mug ma rig pa


Instruction: text to sql

Input: What is the pali word for pride in poison/klesha?

Output: SELECT Pali FROM table WHERE Poison/Klesha = pride


Instruction: text to sql

Input: What is the pali word for phrag dog in tibetan?

Output: SELECT Pali FROM table WHERE Tibetan = phrag dog


Instruction: text to sql

Input: What is the pali word for rāga in sanskrit?

Output: SELECT Pali FROM table WHERE Sanskrit = rāga


Instruction: text to sql

Input: What is the attendance total when Southend Manor is the away team and there are less than 93 ties?

Output: SELECT COUNT Attendance FROM table WHERE Away team = southend manor AND Tie no < 93


Instruction: text to sql

Input: What is the score when the attendance is less than 83 and Raunds Town is the away team?

Output: SELECT Score FROM table WHERE Attendance < 83 AND Away team = raunds town


Instruction: text to sql

Input: Who was the player that was picked at a number less than 205 from the Michigan State Spartans?

Output: SELECT Player FROM table WHERE Pick # < 205 AND Team from = michigan state spartans


Instruction: text to sql

Input: What is the average Density of 53 No. munic.?

Output: SELECT AVG Density (per km²) FROM table WHERE No. munic. = 53


Instruction: text to sql

Input: Name the Status of Venue of sydney sports ground , sydney?

Output: SELECT Status FROM table WHERE Venue = sydney sports ground , sydney


Instruction: text to sql

Input: Which Status has a Opposing Teams of wales?

Output: SELECT Status FROM table WHERE Opposing Teams = wales


Instruction: text to sql

Input: WHICH Date has a Venue of lancaster park , christchurch?

Output: SELECT Date FROM table WHERE Venue = lancaster park , christchurch


Instruction: text to sql

Input: WHAT IS THE TEAM WITH DAVE COGGIN?

Output: SELECT Team FROM table WHERE Player = dave coggin


Instruction: text to sql

Input: WHAT IS THE TEAM WITH AN OF POSITION AND PICK OF 24?

Output: SELECT Team FROM table WHERE Position = of AND Pick = 24


Instruction: text to sql

Input: WHAT IS THE POSITION WITH BOSTON RED SOX FOR COREY JENKINS?

Output: SELECT Position FROM table WHERE Team = boston red sox AND Player = corey jenkins


Instruction: text to sql

Input: WHAT PLAYER HAS UPLAND HIGH SCHOOL?

Output: SELECT Player FROM table WHERE Hometown/School = upland high school


Instruction: text to sql

Input: WHAT PLAYER HAS THE OAKLAND ATHLETICS?

Output: SELECT Player FROM table WHERE Team = oakland athletics


Instruction: text to sql

Input: WHAT TEAM HAS A PICK LARGER THAN 29?

Output: SELECT Team FROM table WHERE Pick > 29


Instruction: text to sql

Input: Which rampage killed 8 in Israel?

Output: SELECT Name FROM table WHERE Killed = 8 AND Country = israel


Instruction: text to sql

Input: What coutry had a rampaged killing 14 in 1965?

Output: SELECT Country FROM table WHERE Killed = 14 AND Year = 1965


Instruction: text to sql

Input: What is Club, when Drawn is "0", and when Try Bonus is "5"?

Output: SELECT Club FROM table WHERE Drawn = 0 AND Try bonus = 5


Instruction: text to sql

Input: What is Club, when Points is "82"?

Output: SELECT Club FROM table WHERE Points = 82


Instruction: text to sql

Input: What is Played, when Points Against is "374"?

Output: SELECT Played FROM table WHERE Points against = 374


Instruction: text to sql

Input: What is Points Against, when Try Bonus is "Try bonus"?

Output: SELECT Points against FROM table WHERE Try bonus = try bonus


Instruction: text to sql

Input: What is Try Bonus, when Losing Bonus is "1", and when Points For is "179"?

Output: SELECT Try bonus FROM table WHERE Losing bonus = 1 AND Points for = 179


Instruction: text to sql

Input: What is Points For, when Club is "Tycroes RFC"?

Output: SELECT Points for FROM table WHERE Club = tycroes rfc


Instruction: text to sql

Input: When has a cause of gas explosion, a Death toll smaller than 63, and a Location of penygraig?

Output: SELECT Date FROM table WHERE cause = gas explosion AND Death toll < 63 AND Location = penygraig


Instruction: text to sql

Input: Where has a cause of gas explosion, a Death toll larger than 38 on 10 june?

Output: SELECT Location FROM table WHERE cause = gas explosion AND Death toll > 38 AND Date = 10 june


Instruction: text to sql

Input: Which Year has a Location of dinas on 13 january?

Output: SELECT Year FROM table WHERE Location = dinas AND Date = 13 january


Instruction: text to sql

Input: Which Year has a cause of firedamp and a Death toll larger than 11?

Output: SELECT SUM Year FROM table WHERE cause = firedamp AND Death toll > 11


Instruction: text to sql

Input: Count the lowest Year which has gas explosion, Colliery of tylorstown colliery, and a Death toll larger than 57?

Output: SELECT MIN Year FROM table WHERE cause = gas explosion AND Colliery = tylorstown colliery AND Death toll > 57


Instruction: text to sql

Input: Which Colliery has a Death toll of 7?

Output: SELECT Colliery FROM table WHERE Death toll = 7


Instruction: text to sql

Input: What is the Score 1 of Tie no 6?

Output: SELECT Score 1 FROM table WHERE Tie no = 6


Instruction: text to sql

Input: What is the Attendance of Tie no 3?

Output: SELECT Attendance FROM table WHERE Tie no = 3


Instruction: text to sql

Input: What is the Attendance at the Hereford United Away game?

Output: SELECT Attendance FROM table WHERE Away team = hereford united


Instruction: text to sql

Input: What is the Home team of Tie no 11?

Output: SELECT Home team FROM table WHERE Tie no = 11


Instruction: text to sql

Input: What is the Tie no of Hereford United's Away game?

Output: SELECT Tie no FROM table WHERE Away team = hereford united


Instruction: text to sql

Input: What is the Score 1 of the game with Attendance of 2,571?

Output: SELECT Score 1 FROM table WHERE Attendance = 2,571


Instruction: text to sql

Input: What is the sum of the clubs remaining with 34 new entries this round and more than 34 clubs involved?

Output: SELECT SUM Clubs remaining FROM table WHERE New entries this round = 34 AND Clubs involved > 34


Instruction: text to sql

Input: What are the clubs involved with 16 clubs remaining?

Output: SELECT Clubs involved FROM table WHERE Clubs remaining = 16


Instruction: text to sql

Input: What is the total rank of the athlete with a total larger than 19.42 and a taijiquan less than 9.87?

Output: SELECT COUNT Rank FROM table WHERE Total > 19.42 AND Taijiquan < 9.87


Instruction: text to sql

Input: What is the lowest rank of the athlete with a taijiquan greater than 9.42 and a 19.02 total?

Output: SELECT MIN Rank FROM table WHERE Taijiquan > 9.42 AND Total = 19.02


Instruction: text to sql

Input: What is the highest taijijian with a 9.87 taijiquan and a total less than 19.77?

Output: SELECT MAX Taijijian FROM table WHERE Taijiquan = 9.87 AND Total < 19.77


Instruction: text to sql

Input: Who is the cyber girl in week 3 when Demi Jessica was the cyber girl in week 1?

Output: SELECT Week 3 FROM table WHERE Week 1 = demi jessica


Instruction: text to sql

Input: What is the name of the cyber girl in week 4 when Lexi Lombardelli was the cyber girl in week 2?

Output: SELECT Week 4 FROM table WHERE Week 2 = lexi lombardelli


Instruction: text to sql

Input: When Alinna D Penta was the cyber girl in week 3, who was the cyber girl in week 1?

Output: SELECT Week 1 FROM table WHERE Week 3 = alinna d penta


Instruction: text to sql

Input: Felicia Taylor was cyber girl in week 3, so who was the cyber girl in week 5?

Output: SELECT Week 5 FROM table WHERE Week 3 = felicia taylor


Instruction: text to sql

Input: Who is the cyber girl in week 3 when Ashley Lowe was the cyber girl in week 2?

Output: SELECT Week 3 FROM table WHERE Week 2 = ashley lowe


Instruction: text to sql

Input: When Diane Deluna was the cyber girl in week 4 who was the cyber girl in week 2?

Output: SELECT Week 2 FROM table WHERE Week 4 = diane deluna


Instruction: text to sql

Input: Which Round has a Year later than 2011?

Output: SELECT Round FROM table WHERE Year > 2011


Instruction: text to sql

Input: When was the Result of 3–2, with a Score of 6–0, 6–4?

Output: SELECT Date FROM table WHERE Result = 3–2 AND Score = 6–0, 6–4


Instruction: text to sql

Input: Which Surface has an Opponent(s) of anna-lena grönefeld tatjana malek?

Output: SELECT Surface FROM table WHERE Opponent(s) = anna-lena grönefeld tatjana malek


Instruction: text to sql

Input: Which Year has a Date of 5–6 february?

Output: SELECT AVG Year FROM table WHERE Date = 5–6 february


Instruction: text to sql

Input: What home team has 27 as the tie no.?

Output: SELECT Home team FROM table WHERE Tie no = 27


Instruction: text to sql

Input: What date has 1 as the tie no.?

Output: SELECT Date FROM table WHERE Tie no = 1


Instruction: text to sql

Input: What score has west ham united as the away team?

Output: SELECT Score FROM table WHERE Away team = west ham united


Instruction: text to sql

Input: What home team has Southampton as the away team?

Output: SELECT Home team FROM table WHERE Away team = southampton


Instruction: text to sql

Input: What current club has a Height of 1.96?

Output: SELECT Current Club FROM table WHERE Height = 1.96


Instruction: text to sql

Input: What is the Age of f/c Posiiton?

Output: SELECT Year born (Age) FROM table WHERE Position = f/c


Instruction: text to sql

Input: Who is the player with a score of 70-68-70=208?

Output: SELECT Player FROM table WHERE Score = 70-68-70=208


Instruction: text to sql

Input: What place is the player with score of 70-68-70=208 from?

Output: SELECT Place FROM table WHERE Score = 70-68-70=208


Instruction: text to sql

Input: What is the name for Malay with a foundation in Iptura?

Output: SELECT Name in Malay FROM table WHERE Foundation = iptura


Instruction: text to sql

Input: What is the acronym for the name Malay of Kolej Komuniti Sungai Petani?

Output: SELECT Acronym FROM table WHERE Name in Malay = kolej komuniti sungai petani


Instruction: text to sql

Input: What is the acronym for the English name Northern management and technological institute?

Output: SELECT Acronym FROM table WHERE Name in English = northern management and technological institute


Instruction: text to sql

Input: What is the location of the Kkspe Foundation?

Output: SELECT Location FROM table WHERE Foundation = kkspe


Instruction: text to sql

Input: What is Country, when Place is "T3", and when Score is "67-70=137"?

Output: SELECT Country FROM table WHERE Place = t3 AND Score = 67-70=137


Instruction: text to sql

Input: What is Score, when Player is "David Toms"?

Output: SELECT Score FROM table WHERE Player = david toms


Instruction: text to sql

Input: What is Score, when Player is "Tom Lehman"?

Output: SELECT Score FROM table WHERE Player = tom lehman


Instruction: text to sql

Input: What is the Title of the Pye Label mono LP release?

Output: SELECT Title FROM table WHERE Format = mono lp AND Label = pye


Instruction: text to sql

Input: What is the Catalog-Nr of the Epic Label Stereo LP named For Little Ones?

Output: SELECT Catalog-Nr. FROM table WHERE Format = stereo lp AND Label = epic AND Title = for little ones


Instruction: text to sql

Input: What is the assumed office date of the prime minister ranked 22?

Output: SELECT Assumed Office: FROM table WHERE Rank: = 22


Instruction: text to sql

Input: What is the total time in office of the prime minister from the liberal party and left office in 19 December 1967?

Output: SELECT TOTAL Time in Office: FROM table WHERE Party: = liberal AND Left Office: = 19 december 1967


Instruction: text to sql

Input: What is the party of the prime minister who left office on 11 March 1983?

Output: SELECT Party: FROM table WHERE Left Office: = 11 march 1983


Instruction: text to sql

Input: What is the total area with the census ranking of 3,129 of 5,008, and a Population smaller than 460?

Output: SELECT COUNT Area km 2 FROM table WHERE Census Ranking = 3,129 of 5,008 AND Population < 460


Instruction: text to sql

Input: What is the total area with the Census Ranking of 3,129 of 5,008, and a Population larger than 460?

Output: SELECT COUNT Area km 2 FROM table WHERE Census Ranking = 3,129 of 5,008 AND Population > 460


Instruction: text to sql

Input: What census ranking has an area greater than 578.28 km2?

Output: SELECT Census Ranking FROM table WHERE Area km 2 > 578.28


Instruction: text to sql

Input: What is the position for Jani Lajunen?

Output: SELECT Position FROM table WHERE Player = jani lajunen


Instruction: text to sql

Input: What is the round number when nationality was United States, and player is Jeffrey Foss?

Output: SELECT COUNT Round FROM table WHERE Nationality = united states AND Player = jeffrey foss


Instruction: text to sql

Input: What player has a round larger than 2, and position of (d)?

Output: SELECT Player FROM table WHERE Round > 2 AND Position = (d)


Instruction: text to sql

Input: What is the nationality for the position of (d), and college was SC Bern ( Swiss )?

Output: SELECT Nationality FROM table WHERE Position = (d) AND College = sc bern ( swiss )


Instruction: text to sql

Input: Who is the athlete with a run 1 larger than 54.95 and a 56.19 run 2?

Output: SELECT Athlete FROM table WHERE Run 1 > 54.95 AND Run 2 = 56.19


Instruction: text to sql

Input: What is the highest run 2 of athlete eric neilson, who has a run 3 larger than 55.97?

Output: SELECT MAX Run 2 FROM table WHERE Athlete = eric neilson AND Run 3 > 55.97


Instruction: text to sql

Input: What is the highest run 3 of the athlete with a 55.44 run 2?

Output: SELECT MAX Run 3 FROM table WHERE Run 2 = 55.44


Instruction: text to sql

Input: Who is the athlete with a run 1 less than 54.13 and a 55.21 run 3?

Output: SELECT Athlete FROM table WHERE Run 1 < 54.13 AND Run 3 = 55.21


Instruction: text to sql

Input: What is the sum of the run 1 of athlete matthias guggenberger, who has a run 2 greater than 55.24?

Output: SELECT SUM Run 1 FROM table WHERE Run 2 > 55.24 AND Athlete = matthias guggenberger


Instruction: text to sql

Input: What is the dissolved date of the parliament assembled on 3 June 1467?

Output: SELECT Dissolved FROM table WHERE Assembled = 3 june 1467


Instruction: text to sql

Input: What is the dissolved date of the parliament assembled on 4 November 1461?

Output: SELECT Dissolved FROM table WHERE Assembled = 4 november 1461


Instruction: text to sql

Input: What is the assembled date of the parliament with an unknown 2nd member who was elected in 1482/83?

Output: SELECT Assembled FROM table WHERE 2nd member = unknown AND Elected = 1482/83


Instruction: text to sql

Input: What is the dissolved date of the parliament assembled on 4 November 1461 with an unknown 2nd member?

Output: SELECT Dissolved FROM table WHERE 2nd member = unknown AND Assembled = 4 november 1461


Instruction: text to sql

Input: Who is the 2nd member elected in 1461?

Output: SELECT 2nd member FROM table WHERE Elected = 1461


Instruction: text to sql

Input: What is the dissolved date of the parliament summoned on 28 February 1467?

Output: SELECT Dissolved FROM table WHERE Summoned = 28 february 1467


Instruction: text to sql

Input: What is 2nd Member, when Assembled is "30 March 1298"?

Output: SELECT 2nd member FROM table WHERE Assembled = 30 march 1298


Instruction: text to sql

Input: What is Assembled, when 2nd Member is "Unknown"?

Output: SELECT Assembled FROM table WHERE 2nd member = unknown


Instruction: text to sql

Input: What is 1st Member, when Summoned is "14 July 1302"?

Output: SELECT 1st member FROM table WHERE Summoned = 14 july 1302


Instruction: text to sql

Input: What is Assembled, when Summoned is "6 October 1297"?

Output: SELECT Assembled FROM table WHERE Summoned = 6 october 1297


Instruction: text to sql

Input: What is 1st Member, when 2nd Member is "William Benne", and when Elected is "1300/01"?

Output: SELECT 1st member FROM table WHERE 2nd member = william benne AND Elected = 1300/01


Instruction: text to sql

Input: What is Summoned, when Elected is "March 1298"?

Output: SELECT Summoned FROM table WHERE Elected = march 1298


Instruction: text to sql

Input: Which Planet has a Sanskrit word of budha?

Output: SELECT Planet FROM table WHERE Sanskrit word = budha


Instruction: text to sql

Input: WHich Thai name has a Transcription of wan phruehatsabodi?

Output: SELECT Thai name FROM table WHERE Transcription = wan phruehatsabodi


Instruction: text to sql

Input: Show the Thai name of wan phruehatsabodi?

Output: SELECT Thai name FROM table WHERE Transcription = wan phruehatsabodi


Instruction: text to sql

Input: Show the Color which has a Thai name of วันพฤหัสบดี?

Output: SELECT Color FROM table WHERE Thai name = วันพฤหัสบดี


Instruction: text to sql

Input: Which Color has a Transcription of wan suk?

Output: SELECT Color FROM table WHERE Transcription = wan suk


Instruction: text to sql

Input: Which English name has a Color of green?

Output: SELECT English name FROM table WHERE Color = green


Instruction: text to sql

Input: What is Gil Morgan's Place?

Output: SELECT Place FROM table WHERE Player = gil morgan


Instruction: text to sql

Input: What is the Place of the Player with a To par of –5?

Output: SELECT Place FROM table WHERE To par = –5


Instruction: text to sql

Input: Which Player has a Money ($) of 137, and a Score of 73-70-73-74=290?

Output: SELECT Player FROM table WHERE Money ( $ ) = 137 AND Score = 73-70-73-74=290


Instruction: text to sql

Input: Which To Par has a Money ($) of 350, and a Player of henry picard?

Output: SELECT To Par FROM table WHERE Money ( $ ) = 350 AND Player = henry picard


Instruction: text to sql

Input: What year had Best Actor in a Musical as a category?

Output: SELECT SUM Year FROM table WHERE Category = best actor in a musical


Instruction: text to sql

Input: What Secretary has a Social AO of lieke de boer?

Output: SELECT Secretary FROM table WHERE Social AO = lieke de boer


Instruction: text to sql

Input: What Social AO has an External CO of elena buscher, and a President of harm van leeuwen?

Output: SELECT Social AO FROM table WHERE External CO = elena buscher AND President = harm van leeuwen


Instruction: text to sql

Input: What Social AO has an External CO of simonas savickas, and an Internal CO of pieter kuijsten?

Output: SELECT Social AO FROM table WHERE External CO = simonas savickas AND Internal CO = pieter kuijsten


Instruction: text to sql

Input: What Secretary has an Internal CO of isabel voets?

Output: SELECT Secretary FROM table WHERE Internal CO = isabel voets


Instruction: text to sql

Input: What Academic AO has a President of harm van leeuwen?

Output: SELECT Academic AO FROM table WHERE President = harm van leeuwen


Instruction: text to sql

Input: What Social AO has a President of harm van leeuwen?

Output: SELECT Social AO FROM table WHERE President = harm van leeuwen


Instruction: text to sql

Input: Which country has a to par of +2 for Bernhard Langer?

Output: SELECT Country FROM table WHERE To par = +2 AND Player = bernhard langer


Instruction: text to sql

Input: Which country has a score of 72 by Andrew Brooks?

Output: SELECT Country FROM table WHERE Score = 72 AND Player = andrew brooks


Instruction: text to sql

Input: What is Anders Forsbrand's score with a to par of +1?

Output: SELECT Score FROM table WHERE To par = +1 AND Player = anders forsbrand


Instruction: text to sql

Input: What is the rad number for the dead end in rank 22?

Output: SELECT Road number FROM table WHERE Type = dead end AND Rank = 22


Instruction: text to sql

Input: What is the name of the dead end type ranked 22?

Output: SELECT Name FROM table WHERE Type = dead end AND Rank = 22


Instruction: text to sql

Input: What is the type ranked 13?

Output: SELECT Type FROM table WHERE Rank = 13


Instruction: text to sql

Input: Who had 1344 points?

Output: SELECT Name FROM table WHERE Points = 1344


Instruction: text to sql

Input: What was the total number of wins that had an against greater than 1136 but losses less than 15 with Ultima with less than 2 byes?

Output: SELECT SUM Wins FROM table WHERE Against > 1136 AND Losses < 15 AND Golden Rivers = ultima AND Byes < 2


Instruction: text to sql

Input: What's the average number of wins for those with less than 2 byes?

Output: SELECT AVG Wins FROM table WHERE Byes < 2


Instruction: text to sql

Input: What's the greatest losses for those with more than 13 wins?

Output: SELECT MAX Losses FROM table WHERE Wins > 13


Instruction: text to sql

Input: What was the greatest number of wins for a team that had 7 losses and more than 0 draws?

Output: SELECT MAX Wins FROM table WHERE Losses = 7 AND Draws > 0


Instruction: text to sql

Input: What's the number of byes for someone who had 7 wins and an against number greater than 1412?

Output: SELECT SUM Byes FROM table WHERE Wins = 7 AND Against > 1412


Instruction: text to sql

Input: What's the total wins of a team with more than 2 byes?

Output: SELECT COUNT Wins FROM table WHERE Byes > 2


Instruction: text to sql

Input: Who had a finish of t16?

Output: SELECT Player FROM table WHERE Finish = t16


Instruction: text to sql

Input: What country is jack nicklaus from?

Output: SELECT Country FROM table WHERE Player = jack nicklaus


Instruction: text to sql

Input: Who has a total of 272?

Output: SELECT Player FROM table WHERE Total = 272


Instruction: text to sql

Input: What country won in 1977?

Output: SELECT Country FROM table WHERE Year(s) won = 1977


Instruction: text to sql

Input: Can you tell me the total number of Draw that has the Artist of de spelbrekers, and the Points smaller than 0?

Output: SELECT COUNT Draw FROM table WHERE Artist = de spelbrekers AND Points < 0


Instruction: text to sql

Input: Can you tell me the Artist that has the Draw smaller than 16, and the English translation of lullaby?

Output: SELECT Artist FROM table WHERE Draw < 16 AND English translation = lullaby


Instruction: text to sql

Input: Can you tell me the English translation that has the Artist of camillo felgen?

Output: SELECT English translation FROM table WHERE Artist = camillo felgen


Instruction: text to sql

Input: What is the population of the town with an area larger than 3.09?

Output: SELECT AVG Population FROM table WHERE Area km 2 > 3.09 AND Status = town


Instruction: text to sql

Input: What is the area of the community with a census ranking of 636 of 5,008?

Output: SELECT AVG Area km 2 FROM table WHERE Census Ranking = 636 of 5,008


Instruction: text to sql

Input: What is the area of drummond village?

Output: SELECT MAX Area km 2 FROM table WHERE Status = village AND Official Name = drummond


Instruction: text to sql

Input: What is the status of the community with a census ranking of 2,418 of 5,008?

Output: SELECT Status FROM table WHERE Census Ranking = 2,418 of 5,008


Instruction: text to sql

Input: What is the area of the village with a census ranking of 1,442 of 5,008 and a population less than 1,778?

Output: SELECT MAX Area km 2 FROM table WHERE Status = village AND Census Ranking = 1,442 of 5,008 AND Population < 1,778


Instruction: text to sql

Input: WHAT YEAR HAS A TO PAR SMALLER THAN 16, TOTAL 151?

Output: SELECT Year(s) won FROM table WHERE To par < 16 AND Total = 151


Instruction: text to sql

Input: WHAT IS THE TOTAL WITH A TO PAR OF 10?

Output: SELECT MAX Total FROM table WHERE To par = 10


Instruction: text to sql

Input: WHAT IS THE PLAYER WITH TOTAL LESS THAN 151, TO PAR OF 8?

Output: SELECT Player FROM table WHERE Total < 151 AND To par = 8


Instruction: text to sql

Input: Who is the player who has a total less than 4, no scottish cups, and a league cup greater than 0?

Output: SELECT Player FROM table WHERE Total < 4 AND Scottish Cup = 0 AND League Cup > 0


Instruction: text to sql

Input: What is the sum of the scottish cup of the forward player with less than 2 league cups and a total greater than 6?

Output: SELECT SUM Scottish Cup FROM table WHERE League Cup < 2 AND Total > 6 AND Position = forward


Instruction: text to sql

Input: What was Kilgore's percentage when Potts (I) had 4% and Kaine (D) 47%, in the poll from October 30, 2005?

Output: SELECT Kilgore (R) FROM table WHERE Potts (I) = 4% AND Kaine (D) = 47% AND Date = october 30, 2005


Instruction: text to sql

Input: On which date did Potts (I) poll at 9%?

Output: SELECT Date FROM table WHERE Potts (I) = 9%


Instruction: text to sql

Input: What was Kaine's (D) percentage in the Rasmussen poll on October 24, 2005?

Output: SELECT Kaine (D) FROM table WHERE Source = rasmussen AND Date = october 24, 2005


Instruction: text to sql

Input: What was Kaine's (D) percentage in the poll on October 30, 2005?

Output: SELECT Kaine (D) FROM table WHERE Date = october 30, 2005


Instruction: text to sql

Input: What was Kilgore's (R) percentage when Potts (I) polled at 1%?

Output: SELECT Kilgore (R) FROM table WHERE Potts (I) = 1%


Instruction: text to sql

Input: What was Kaine's (D) percentage in the poll on september 19, 2005?

Output: SELECT Kaine (D) FROM table WHERE Date = september 19, 2005


Instruction: text to sql

Input: What is To par, when Country is "United States", and when Player is "Jay Haas"?

Output: SELECT To par FROM table WHERE Country = united states AND Player = jay haas


Instruction: text to sql

Input: What is Player, when Score is "68-67-75-70=280"?

Output: SELECT Player FROM table WHERE Score = 68-67-75-70=280


Instruction: text to sql

Input: What is the result of the friendly competition on 23 January 2010?

Output: SELECT Result FROM table WHERE Competition = friendly AND Date = 23 january 2010


Instruction: text to sql

Input: What is the venue of the match with a w result on 3 March 2010?

Output: SELECT Venue FROM table WHERE Result = w AND Date = 3 march 2010


Instruction: text to sql

Input: What is the lowest Year, when Notes is "5.19km, 18controls"?

Output: SELECT MIN Year FROM table WHERE Notes = 5.19km, 18controls


Instruction: text to sql

Input: What is Notes, when Year is "2010"?

Output: SELECT Notes FROM table WHERE Year = 2010


Instruction: text to sql

Input: What winning score has in-kyung kim as the runner(s)-up?

Output: SELECT Winning score FROM table WHERE Runner(s)-up = in-kyung kim


Instruction: text to sql

Input: What winning score has kraft nabisco championship as the tournament?

Output: SELECT Winning score FROM table WHERE Tournament = kraft nabisco championship


Instruction: text to sql

Input: What Winning constructor has a Name of grand prix de la marne?

Output: SELECT Winning constructor FROM table WHERE Name = grand prix de la marne


Instruction: text to sql

Input: What kind of the Winning driver has a Circuit of saint-raphaël?

Output: SELECT Winning driver FROM table WHERE Circuit = saint-raphaël


Instruction: text to sql

Input: Name the Report with Winning constructor of maserati, and a Name of monza grand prix?

Output: SELECT Report FROM table WHERE Winning constructor = maserati AND Name = monza grand prix


Instruction: text to sql

Input: Name the Report has a Name of lyon grand prix?

Output: SELECT Report FROM table WHERE Name = lyon grand prix


Instruction: text to sql

Input: Name the Report which has heinrich-joachim von morgen?

Output: SELECT Report FROM table WHERE Winning driver = heinrich-joachim von morgen


Instruction: text to sql

Input: Which player had a draft before 1975 and before round 6?

Output: SELECT Player FROM table WHERE Draft < 1975 AND Round < 6


Instruction: text to sql

Input: What is Score, when Opponent Team is Belgium, and when Opponent is Kirsten Flipkens?

Output: SELECT Score FROM table WHERE Opponent Team = belgium AND Opponent = kirsten flipkens


Instruction: text to sql

Input: What is Opponent, when Round is World Group?

Output: SELECT Opponent FROM table WHERE Round = world group


Instruction: text to sql

Input: What is Surface, when Edition is 2012, and when Outcome is Winner?

Output: SELECT Surface FROM table WHERE Edition = 2012 AND Outcome = winner


Instruction: text to sql

Input: What is Score, when Outcome is Loser, and when Edition is 2011?

Output: SELECT Score FROM table WHERE Outcome = loser AND Edition = 2011


Instruction: text to sql

Input: What is Score, when Edition is 2011, and when Surface is Hard (i)?

Output: SELECT Score FROM table WHERE Edition = 2011 AND Surface = hard (i)


Instruction: text to sql

Input: What is Round, when Opponent Team is Slovakia, when Outcome is Loser, and when Edition is greater than 2010?

Output: SELECT Round FROM table WHERE Opponent Team = slovakia AND Outcome = loser AND Edition > 2010


Instruction: text to sql

Input: In what Week was the Record 4–7–1?

Output: SELECT MIN Week FROM table WHERE Record = 4–7–1


Instruction: text to sql

Input: On what Date was the Attendance 63,546?

Output: SELECT Date FROM table WHERE Attendance = 63,546


Instruction: text to sql

Input: In what Week was the Attendance 17,737?

Output: SELECT COUNT Week FROM table WHERE Attendance = 17,737


Instruction: text to sql

Input: What is the Result of the game after Week 10 against Philadelphia Eagles?

Output: SELECT Result FROM table WHERE Week > 10 AND Opponent = philadelphia eagles


Instruction: text to sql

Input: What is the Opponent on Week 11?

Output: SELECT Opponent FROM table WHERE Week = 11


Instruction: text to sql

Input: What is the largest WNBA game average with 9,290 (4th) is the average, and less than 157,934 is the total for the year?

Output: SELECT MAX WNBA game average FROM table WHERE Average = 9,290 (4th) AND Total for year < 157,934


Instruction: text to sql

Input: How many years in all was less than 105,005 the total for the year?

Output: SELECT COUNT Year FROM table WHERE Total for year < 105,005


Instruction: text to sql

Input: What is the total for year average that less than 7,742 is the WNBA game average, and 7,625 (10th) is the average, and before the year 1999?

Output: SELECT AVG Total for year FROM table WHERE WNBA game average < 7,742 AND Average = 7,625 (10th) AND Year < 1999


Instruction: text to sql

Input: What is the total of the year that more than 13,142 is the high, and 10,387 (2nd) is the average, and there was less than 0 sellouts?

Output: SELECT SUM Year FROM table WHERE High > 13,142 AND Average = 10,387 (2nd) AND Sellouts < 0


Instruction: text to sql

Input: What is the maximum sellouts for the 2008 year, with less than 161,369 total for year?

Output: SELECT MAX Sellouts FROM table WHERE Year = 2008 AND Total for year < 161,369


Instruction: text to sql

Input: What is the highest First Elected, when Party is "Republican", and when District is "Louisiana 7"?

Output: SELECT MAX First elected FROM table WHERE Party = republican AND District = louisiana 7


Instruction: text to sql

Input: What is Party, when Results is "Re-Elected", and when District is "Louisiana 5"?

Output: SELECT Party FROM table WHERE Results = re-elected AND District = louisiana 5


Instruction: text to sql

Input: What is Party, when Incumbent is "Rodney Alexander"?

Output: SELECT Party FROM table WHERE Incumbent = rodney alexander


Instruction: text to sql

Input: What is Results, when First Elected is less than 1988?

Output: SELECT Results FROM table WHERE First elected < 1988


Instruction: text to sql

Input: What is Incumbent, when District is "Louisiana 4"?

Output: SELECT Incumbent FROM table WHERE District = louisiana 4


Instruction: text to sql

Input: What's the finish for car number 6?

Output: SELECT Finish FROM table WHERE Car number = 6


Instruction: text to sql

Input: What's the speed rank in 1963?

Output: SELECT Speed rank FROM table WHERE Year = 1963


Instruction: text to sql

Input: What is the total of Losses with a Result of runner-up, Wins of 1, and a Year smaller than 2006?

Output: SELECT SUM Losses FROM table WHERE Result = runner-up AND Wins = 1 AND Year < 2006


Instruction: text to sql

Input: What is the smallest Draws with a Result of runner-up, and Losses larger than 1?

Output: SELECT MIN Draws FROM table WHERE Result = runner-up AND Losses > 1


Instruction: text to sql

Input: What is the number of Year with a Result of champions, and Matches larger than 5?

Output: SELECT COUNT Year FROM table WHERE Result = champions AND Matches > 5


Instruction: text to sql

Input: What is the greatest Wins with Losses larger than 1?

Output: SELECT MAX Wins FROM table WHERE Losses > 1


Instruction: text to sql

Input: What is the total number of Year with Wins of 1, and Losses smaller than 1?

Output: SELECT SUM Year FROM table WHERE Wins = 1 AND Losses < 1


Instruction: text to sql

Input: What is the greatest Wins with Matches smaller than 5, and a Year of 1994?

Output: SELECT MAX Wins FROM table WHERE Matches < 5 AND Year = 1994


Instruction: text to sql

Input: On what date was Motherwell the opponent at Fir Park?

Output: SELECT Date FROM table WHERE Opponent = motherwell AND Venue = fir park


Instruction: text to sql

Input: What is the round at St. Mirren Park with more than 4,555 people attending?

Output: SELECT Round FROM table WHERE Venue = st. mirren park AND Attendance > 4,555


Instruction: text to sql

Input: What's the sum of attendance when banbury united is the away team and tie no is over 102?

Output: SELECT SUM Attendance FROM table WHERE Away team = banbury united AND Tie no > 102


Instruction: text to sql

Input: What's the sum of tie no for home team burgess hill town?

Output: SELECT SUM Tie no FROM table WHERE Home team = burgess hill town


Instruction: text to sql

Input: What is the highest population of Deuel county's 1,819 households?

Output: SELECT MAX Population FROM table WHERE County = deuel AND Number of households < 1,819


Instruction: text to sql

Input: When the venue is away and the opponents are the bracknell bees, what is the competition?

Output: SELECT Competition FROM table WHERE Venue = away AND Opponent = bracknell bees


Instruction: text to sql

Input: What opponent played on the 28th with a venue of away?

Output: SELECT Opponent FROM table WHERE Venue = away AND Date = 28th


Instruction: text to sql

Input: What was the venue on the 20th?

Output: SELECT Venue FROM table WHERE Date = 20th


Instruction: text to sql

Input: When did the peterborough phantoms play at a venue of home?

Output: SELECT Date FROM table WHERE Venue = home AND Opponent = peterborough phantoms


Instruction: text to sql

Input: Which opponent has a result of 2-0 l?

Output: SELECT Opponent FROM table WHERE Result = 2-0 l


Instruction: text to sql

Input: Which opponent completed a challenge competition with a result of 8-2 w?

Output: SELECT Opponent FROM table WHERE Competition = challenge AND Result = 8-2 w


Instruction: text to sql

Input: What shows for round when the race was Int. Adac Preis Von Zweibrücken?

Output: SELECT Round FROM table WHERE Race = int. adac preis von zweibrücken


Instruction: text to sql

Input: What is the round for the Norisring circuit?

Output: SELECT AVG Round FROM table WHERE Circuit = norisring


Instruction: text to sql

Input: What race was a round smaller than 8,  on 6 july?

Output: SELECT Race FROM table WHERE Round < 8 AND Date = 6 july


Instruction: text to sql

Input: What is the round for the Int. Adac-Preis Der Tourenwagen Von Sachsen-Anhalt?

Output: SELECT Round FROM table WHERE Race = int. adac-preis der tourenwagen von sachsen-anhalt


Instruction: text to sql

Input: What week were there 56,023 people in attendance?

Output: SELECT COUNT Week FROM table WHERE Attendance = 56,023


Instruction: text to sql

Input: What is the attendance number later than week 9 on November 20, 1983?

Output: SELECT COUNT Attendance FROM table WHERE Week > 9 AND Date = november 20, 1983


Instruction: text to sql

Input: What is Surface, when Date is less than 1979, and when Opponent in the Final is "Bill Scanlon"?

Output: SELECT Surface FROM table WHERE Date < 1979 AND Opponent in the final = bill scanlon


Instruction: text to sql

Input: What is Score in The Final, when Opponent in The Final is "John McEnroe", and when Championship is "Los Angeles , U.S."?

Output: SELECT Score in the final FROM table WHERE Opponent in the final = john mcenroe AND Championship = los angeles , u.s.


Instruction: text to sql

Input: What is Outcome, when Opponent in The Final is "Bill Scanlon"?

Output: SELECT Outcome FROM table WHERE Opponent in the final = bill scanlon


Instruction: text to sql

Input: Which To par has a Player of bernhard langer?

Output: SELECT To par FROM table WHERE Player = bernhard langer


Instruction: text to sql

Input: Which Score has a Country of united states, and a Player of raymond floyd?

Output: SELECT Score FROM table WHERE Country = united states AND Player = raymond floyd


Instruction: text to sql

Input: Which To par has a Place of t6, and a Player of nick faldo?

Output: SELECT To par FROM table WHERE Place = t6 AND Player = nick faldo


Instruction: text to sql

Input: Which To par has a Place of t2, and a Player of mark james?

Output: SELECT To par FROM table WHERE Place = t2 AND Player = mark james


Instruction: text to sql

Input: Which Country has a Place of t10, and a Player of tony jacklin?

Output: SELECT Country FROM table WHERE Place = t10 AND Player = tony jacklin


Instruction: text to sql

Input: Which Country has a Score of 71-74-70=215?

Output: SELECT Country FROM table WHERE Score = 71-74-70=215


Instruction: text to sql

Input: How many losses for the team with less than 4 wins, more than 0 byes and 2510 against?

Output: SELECT AVG Losses FROM table WHERE Wins < 4 AND Against = 2510 AND Byes > 0


Instruction: text to sql

Input: How many wins for team with 1800 Against and more than 0 byes?

Output: SELECT MAX Wins FROM table WHERE Against = 1800 AND Draws > 0


Instruction: text to sql

Input: What is the least wins for a team with against less than 814?

Output: SELECT MIN Wins FROM table WHERE Against < 814


Instruction: text to sql

Input: How many losses for the team with 3 wins and more than 1919 against?

Output: SELECT MIN Losses FROM table WHERE Wins = 3 AND Against > 1919


Instruction: text to sql

Input: What is the 2002 result where 2011 and 2000 are 1R?

Output: SELECT 2002 FROM table WHERE 2011 = 1r AND 2000 = 1r


Instruction: text to sql

Input: What is the 2008 result where 2003 is 325?

Output: SELECT 2008 FROM table WHERE 2003 = 325


Instruction: text to sql

Input: What is the 2002 result when 2006 is A and 2010 is Q1?

Output: SELECT 2002 FROM table WHERE 2006 = a AND 2010 = q1


Instruction: text to sql

Input: Which Year completed has a Dam type of concrete gravity, and an Impounded body of water of deep creek reservoir?

Output: SELECT MIN Year completed FROM table WHERE Dam type = concrete gravity AND Impounded body of water = deep creek reservoir


Instruction: text to sql

Input: Which dam type was completed in 1961?

Output: SELECT Dam type FROM table WHERE Year completed = 1961


Instruction: text to sql

Input: Which Year completed has a Dam type of earthfill embankment, and a Dam constructed of khancoban dam?

Output: SELECT MAX Year completed FROM table WHERE Dam type = earthfill embankment AND Dam constructed = khancoban dam


Instruction: text to sql

Input: Which Reservoir capacity has an Impounded body of water of tumut two pondage?

Output: SELECT Reservoir capacity FROM table WHERE Impounded body of water = tumut two pondage


Instruction: text to sql

Input: What Companion (in order from star) has a Semimajor axis (AU) of 0.1886 +0.083 −0.0104?

Output: SELECT Companion (in order from star) FROM table WHERE Semimajor axis ( AU ) = 0.1886 +0.083 −0.0104


Instruction: text to sql

Input: What Inclination has Eccentricity of 0.06 +0.06 −0.11?

Output: SELECT Inclination FROM table WHERE Eccentricity = 0.06 +0.06 −0.11


Instruction: text to sql

Input: What Companion (in order from star) has an Orbital period (s day) of 9.6184 +0.0050 −0.0049?

Output: SELECT Companion (in order from star) FROM table WHERE Orbital period ( s day ) = 9.6184 +0.0050 −0.0049


Instruction: text to sql

Input: What Inclination has a Mass of ≥ 6.6 +1.1 −1.0 m⊕?

Output: SELECT Inclination FROM table WHERE Mass = ≥ 6.6 +1.1 −1.0 m⊕


Instruction: text to sql

Input: What Semimajor axis (AU) has a Companion (in order from star) of g?

Output: SELECT Semimajor axis ( AU ) FROM table WHERE Companion (in order from star) = g


Instruction: text to sql

Input: What Semimajor axis (AU) has a Mass of ≥ 3.5 ± 1.4 m⊕?

Output: SELECT Semimajor axis ( AU ) FROM table WHERE Mass = ≥ 3.5 ± 1.4 m⊕


Instruction: text to sql

Input: What Slalom was Switzerland in?

Output: SELECT Slalom FROM table WHERE Country = switzerland


Instruction: text to sql

Input: WHAT IS THE PACKAGE VERSION WITH TELUS MOBILITY?

Output: SELECT Package Version FROM table WHERE Carrier = telus mobility


Instruction: text to sql

Input: WHAT IS THE PACKAGE VERSION FOR blackberry storm 9530, APPLICATION 5.0.0.419, AND MTS MOBILITY?

Output: SELECT Package Version FROM table WHERE Device = blackberry storm 9530 AND Applications = 5.0.0.419 AND Carrier = mts mobility


Instruction: text to sql

Input: WHAT IS THE CARRIER WITH 5.0.0.742 VERSION?

Output: SELECT Carrier FROM table WHERE Package Version = 5.0.0.742


Instruction: text to sql

Input: WHAT IS THE CARRIER FOR 4.7.0.208 VERSION?

Output: SELECT Carrier FROM table WHERE Package Version = 4.7.0.208


Instruction: text to sql

Input: WHAT IS THE DEVICE WITH MTS MOBILITY?

Output: SELECT Device FROM table WHERE Carrier = mts mobility


Instruction: text to sql

Input: How much money was there when the to par was 15?

Output: SELECT SUM Money ( $ ) FROM table WHERE To par = 15


Instruction: text to sql

Input: What are the years for the 250 model?

Output: SELECT Years FROM table WHERE Model = 250


Instruction: text to sql

Input: What is the power of the Chassis code w123.130?

Output: SELECT Power FROM table WHERE Chassis code = w123.130


Instruction: text to sql

Input: What Engine does the w123.026 chassis have?

Output: SELECT Engine FROM table WHERE Chassis code = w123.026


Instruction: text to sql

Input: What Chassis code has a 200d model and a Power of ps (kw; hp) @ 4200?

Output: SELECT Chassis code FROM table WHERE Power = ps (kw; hp) @ 4200 AND Model = 200d


Instruction: text to sql

Input: What is the height in ft and m of the regions bank building?

Output: SELECT Height ft (m) FROM table WHERE Name = regions bank building


Instruction: text to sql

Input: What is the street address of the van antwerp building?

Output: SELECT Street address FROM table WHERE Name = van antwerp building


Instruction: text to sql

Input: What is the hight in ft and m of the building with less than 11 floors?

Output: SELECT Height ft (m) FROM table WHERE Floors < 11


Instruction: text to sql

Input: What is the against when the opposing team is Italy?

Output: SELECT COUNT Against FROM table WHERE Opposing Teams = italy


Instruction: text to sql

Input: What is Cha Bum-Kun's average number of goals per match?

Output: SELECT COUNT Goals per Match FROM table WHERE Name = cha bum-kun


Instruction: text to sql

Input: How many caps does Jon Dahl Tomasson, who has less than 0.46 goals per match, have?

Output: SELECT COUNT Caps FROM table WHERE Name = jon dahl tomasson AND Goals per Match < 0.46


Instruction: text to sql

Input: What is the club from Vila Do Conde?

Output: SELECT Club FROM table WHERE City = vila do conde


Instruction: text to sql

Input: What is the stadium for the team that was 6th in the liga in the 2004-2005 season?

Output: SELECT Stadium FROM table WHERE 2004-2005 season = 6th in the liga


Instruction: text to sql

Input: What is the stadium for the city of Braga?

Output: SELECT Stadium FROM table WHERE City = braga


Instruction: text to sql

Input: In what round was Kelsey Tessier drafted?

Output: SELECT Round FROM table WHERE Player = kelsey tessier


Instruction: text to sql

Input: What is Local Mission, when Mission is "Mauritius"?

Output: SELECT Local Mission FROM table WHERE Mission = mauritius


Instruction: text to sql

Input: What is Local Position, when Mission is "Paraguay"?

Output: SELECT Local Position FROM table WHERE Mission = paraguay


Instruction: text to sql

Input: What is Local Location, when Local Position is "Ambassador", when Non-Resident Head of Mission is "Marina Isabel Cáceres de Estévez", and when Mission is "Finland"?

Output: SELECT Local Location FROM table WHERE Local Position = ambassador AND Non-Resident Head of Mission = marina isabel cáceres de estévez AND Mission = finland


Instruction: text to sql

Input: What is Non-Resident Head of Mission, when Local Location is "Warsaw", and when Mission is "Poland"?

Output: SELECT Non-Resident Head of Mission FROM table WHERE Local Location = warsaw AND Mission = poland


Instruction: text to sql

Input: What is Local Location, when Resident Country is "Belgium", and when Mission is "Poland"?

Output: SELECT Local Location FROM table WHERE Resident Country = belgium AND Mission = poland


Instruction: text to sql

Input: What is Resident Country, when Local Location is "Copenhagen"?

Output: SELECT Resident Country FROM table WHERE Local Location = copenhagen


Instruction: text to sql

Input: What is Player, when Place is "1"?

Output: SELECT Player FROM table WHERE Place = 1


Instruction: text to sql

Input: What is Score, when Country is "United States", when Place is "T3", and when Player is "Phil Blackmar"?

Output: SELECT Score FROM table WHERE Country = united states AND Place = t3 AND Player = phil blackmar


Instruction: text to sql

Input: What is To Par, when Country is "Australia"?

Output: SELECT To par FROM table WHERE Country = australia


Instruction: text to sql

Input: What is Score, when Player is "Vijay Singh"?

Output: SELECT Score FROM table WHERE Player = vijay singh


Instruction: text to sql

Input: What type of surface did they play on 23 October 2000?

Output: SELECT Surface FROM table WHERE Date = 23 october 2000


Instruction: text to sql

Input: What type of surface did they play on 21 July 1997

Output: SELECT Surface FROM table WHERE Date = 21 july 1997


Instruction: text to sql

Input: what was the score of the Championship match played in Estoril, Portugal?

Output: SELECT Score in the final FROM table WHERE Championship = estoril, portugal


Instruction: text to sql

Input: What was the name of the opponent Tommy Haas played in the Championship?

Output: SELECT Championship FROM table WHERE Opponent in the final = tommy haas


Instruction: text to sql

Input: What was the score of the match played on 18 January 1999?

Output: SELECT Outcome FROM table WHERE Date = 18 january 1999


Instruction: text to sql

Input: What season has roma as the opponent?

Output: SELECT Season FROM table WHERE Opponent = roma


Instruction: text to sql

Input: What is the Ship Type of the Prize Disposition of ship and a tonnage less than 151?

Output: SELECT Ship Type FROM table WHERE Disposition of Ship = prize AND Tonnage < 151


Instruction: text to sql

Input: What is the highest tonnage of the Brig Ship Type and the disposition of Ship of Prize?

Output: SELECT MAX Tonnage FROM table WHERE Ship Type = brig AND Disposition of Ship = prize


Instruction: text to sql

Input: What's the to par for england when the score is less than 71?

Output: SELECT To par FROM table WHERE Country = england AND Score < 71


Instruction: text to sql

Input: What is the lowest total for 1985-1986 when the total points are 124?

Output: SELECT MIN 1985-1986 FROM table WHERE Total points = 124


Instruction: text to sql

Input: Which Year born (Age) has a Current Club of sporting al riyadi beirut, and a Position of pf?

Output: SELECT Year born (Age) FROM table WHERE Current Club = sporting al riyadi beirut AND Position = pf


Instruction: text to sql

Input: Which Current Club has a Player of bassem balaa?

Output: SELECT Current Club FROM table WHERE Player = bassem balaa


Instruction: text to sql

Input: What was the round in 1968?

Output: SELECT Round FROM table WHERE Year = 1968


Instruction: text to sql

Input: What is the round for a year earlier than 1987?

Output: SELECT Round FROM table WHERE Year < 1987


Instruction: text to sql

Input: What is the round when Grand Slam was the Davis Cup?

Output: SELECT Round FROM table WHERE Grand Slam = davis cup


Instruction: text to sql

Input: What is the grand slam in 1987, when round shows first round, and Ivan Lendl won?

Output: SELECT Grand Slam FROM table WHERE Year = 1987 AND Round = first round AND Winner = ivan lendl


Instruction: text to sql

Input: What is the highes win % that manager juan carlos chávez's team had when they lost less than 4 times?

Output: SELECT MAX Win % FROM table WHERE Manager = juan carlos chávez AND Lost < 4


Instruction: text to sql

Input: In which district is the incumbent a republican first elected in 1998?

Output: SELECT District FROM table WHERE Party = republican AND First elected = 1998


Instruction: text to sql

Input: What is the party affiliation of Virginia Foxx?

Output: SELECT Party FROM table WHERE Incumbent = virginia foxx


Instruction: text to sql

Input: What is Event, when Winning Driver is "Laurent Aiello Laurent Aiello", when Round is greater than 1, and when Circuit is "Wunstorf"?

Output: SELECT Event FROM table WHERE Winning driver = laurent aiello laurent aiello AND Round > 1 AND Circuit = wunstorf


Instruction: text to sql

Input: What is Date, when Round is "2"?

Output: SELECT Date FROM table WHERE Round = 2


Instruction: text to sql

Input: What is Event, when Round is "10"?

Output: SELECT Event FROM table WHERE Round = 10


Instruction: text to sql

Input: What is Date, when Round is less than 10, and when Circuit is "Norisring"?

Output: SELECT Date FROM table WHERE Round < 10 AND Circuit = norisring


Instruction: text to sql

Input: What is the highest goal difference of the club with more than 34 played?

Output: SELECT MAX Goal Difference FROM table WHERE Played > 34


Instruction: text to sql

Input: What is the total number of points of the club with a goal difference greater than 17 and more than 34 played?

Output: SELECT COUNT Points FROM table WHERE Goal Difference > 17 AND Played > 34


Instruction: text to sql

Input: What is the lowest goal difference of club real betis, who has less than 18 wins?

Output: SELECT MIN Goal Difference FROM table WHERE Club = real betis AND Wins < 18