Instruction: text to sql

Input: Who is the leading scorer of the Villa De Los Barrios visitor?

Output: SELECT Leading scorer FROM table WHERE Visitor = villa de los barrios


Instruction: text to sql

Input: Who is the visitor with a 14-10 record?

Output: SELECT Visitor FROM table WHERE Record = 14-10


Instruction: text to sql

Input: What is the score of the team with the 14-9 record?

Output: SELECT Score FROM table WHERE Record = 14-9


Instruction: text to sql

Input: What was the date of the game with 6 goals?

Output: SELECT Date FROM table WHERE Goal = 6


Instruction: text to sql

Input: What was the highest number of goals for a game held at Hannover?

Output: SELECT MAX Goal FROM table WHERE Venue = hannover


Instruction: text to sql

Input: What was the result of the game with more than 12 goals at Pasadena?

Output: SELECT Result FROM table WHERE Goal > 12 AND Venue = pasadena


Instruction: text to sql

Input: What round was Andre Fluellen drafted as a Defensive Tackle?

Output: SELECT COUNT Round FROM table WHERE Position = defensive tackle AND Player = andre fluellen


Instruction: text to sql

Input: After Round 5, which player was drafted for Defensive Tackle?

Output: SELECT Player FROM table WHERE Round > 5 AND Position = defensive tackle


Instruction: text to sql

Input: What was the earliest Round for Central Florida?

Output: SELECT MIN Round FROM table WHERE Team = central florida


Instruction: text to sql

Input: What is the date of the label Dos or Die Recordings?

Output: SELECT Date FROM table WHERE Label = dos or die recordings


Instruction: text to sql

Input: What is the label for 2002, in Germany, Catalog Dos 195?

Output: SELECT Label FROM table WHERE Date = 2002 AND Region = germany AND Catalog = dos 195


Instruction: text to sql

Input: What region has a 2002 date, and a Catalog dos 195?

Output: SELECT Region FROM table WHERE Date = 2002 AND Catalog = dos 195


Instruction: text to sql

Input: What is the Winners when the United States is the runner-up at st. germain golf club?

Output: SELECT Winners FROM table WHERE Runners-up = united states AND Venue = st. germain golf club


Instruction: text to sql

Input: What is the average Year when Australia was the runner-up at victoria golf club?

Output: SELECT AVG Year FROM table WHERE Runners-up = australia AND Venue = victoria golf club


Instruction: text to sql

Input: What is the Location when France was the runner-up at club de campo?

Output: SELECT Location FROM table WHERE Runners-up = france AND Venue = club de campo


Instruction: text to sql

Input: What is the Location when Canada was the runner-up and Australia was the winner?

Output: SELECT Location FROM table WHERE Runners-up = canada AND Winners = australia


Instruction: text to sql

Input: What is the Name of the Space Telescope Terminated on March 1993?

Output: SELECT Name FROM table WHERE Terminated = march 1993


Instruction: text to sql

Input: What is Party, when Opinion Research Centre (OPC) is 1.5%?

Output: SELECT Party FROM table WHERE Opinion Research Centre (OPC) = 1.5%


Instruction: text to sql

Input: What is Marplan, when Gallup is 1.5%

Output: SELECT Marplan FROM table WHERE Gallup = 1.5%


Instruction: text to sql

Input: What is Opinion Research Centre (OPC), when Party is Conservative?

Output: SELECT Opinion Research Centre (OPC) FROM table WHERE Party = conservative


Instruction: text to sql

Input: What is Harris, when Marplan is 1.3%

Output: SELECT Harris FROM table WHERE Marplan = 1.3%


Instruction: text to sql

Input: What are the fewest points that Roger Dutton/Tony Wright have received?

Output: SELECT MIN Points FROM table WHERE Rider = roger dutton/tony wright


Instruction: text to sql

Input: How fast does the BMW with 6 points go?

Output: SELECT Speed FROM table WHERE Machine = bmw AND Points = 6


Instruction: text to sql

Input: What is the average draw for Desi Dobreva, was it less than 6?

Output: SELECT AVG Draw FROM table WHERE Artist = desi dobreva AND Place < 6


Instruction: text to sql

Input: What was the first leg score for the match that had AS Police as team 2?

Output: SELECT 1st leg FROM table WHERE Team 2 = as police


Instruction: text to sql

Input: Who were the team 2 when team 1 was Iwuanyanwu Nationale and the 1st leg score was 2-0?

Output: SELECT Team 2 FROM table WHERE 1st leg = 2-0 AND Team 1 = iwuanyanwu nationale


Instruction: text to sql

Input: What was the 2nd leg score for the tie that had a 5-0 first leg score?

Output: SELECT 2nd leg FROM table WHERE 1st leg = 5-0


Instruction: text to sql

Input: What was the team 1 for the tie that had a first leg score of 2-3?

Output: SELECT Team 1 FROM table WHERE 1st leg = 2-3


Instruction: text to sql

Input: Who was the team 1 in the match that had a 1st leg score of 3-0 and a 2nd leg of 1-2?

Output: SELECT Team 1 FROM table WHERE 2nd leg = 1-2 AND 1st leg = 3-0


Instruction: text to sql

Input: What was the first leg score for the match that had a 0-2 2nd leg score?

Output: SELECT 1st leg FROM table WHERE 2nd leg = 0-2


Instruction: text to sql

Input: What was the result for the Outstanding director of a musical category?

Output: SELECT Result FROM table WHERE Category = outstanding director of a musical


Instruction: text to sql

Input: What was the result of the Award of Drama desk award nominee Tom Hewitt.

Output: SELECT Result FROM table WHERE Award = drama desk award AND Nominee = tom hewitt


Instruction: text to sql

Input: What year was best costume design the award category?

Output: SELECT Year FROM table WHERE Category = best costume design


Instruction: text to sql

Input: Which accolade has USA as the country, with a year less than 2009?

Output: SELECT Accolade FROM table WHERE Country = usa AND Year < 2009


Instruction: text to sql

Input: How many years have an accolade of 50 best albums of the year, with #3 as the rank?

Output: SELECT SUM Year FROM table WHERE Accolade = 50 best albums of the year AND Rank = #3


Instruction: text to sql

Input: Which rank has canada as the country?

Output: SELECT Rank FROM table WHERE Country = canada


Instruction: text to sql

Input: What is the name of the Guest Host for Episode Number of 5?

Output: SELECT Guest Host FROM table WHERE Episode Number = 5


Instruction: text to sql

Input: What is the Guest Host for the episode on 8 june 2008?

Output: SELECT Guest Host FROM table WHERE Air Date = 8 june 2008


Instruction: text to sql

Input: What is the Musical Guest (Song performed) for the episode aired on 13 july 2008?

Output: SELECT Musical Guest (Song performed) FROM table WHERE Air Date = 13 july 2008


Instruction: text to sql

Input: What was the score for the 2014 FIFA World Cup Qualification (UEFA)?

Output: SELECT Score FROM table WHERE Competition = 2014 fifa world cup qualification (uefa)


Instruction: text to sql

Input: What was the kickoff time for week 11's game?

Output: SELECT Kickoff Time FROM table WHERE Week = 11


Instruction: text to sql

Input: When Mark O'meara was the senior player champion in a year greater than 1998, who was the tradition?

Output: SELECT The Tradition FROM table WHERE Year > 1998 AND Senior Players Championship = mark o'meara


Instruction: text to sql

Input: Who was the tradition when Roberto Devicenzo won the U.S. Senior Open and the Senior British Open was founded in 1987?

Output: SELECT The Tradition FROM table WHERE Senior British Open = founded in 1987 AND U.S. Senior Open = roberto devicenzo


Instruction: text to sql

Input: Who won the Senior British Open when Hale Irwin (3/7) won the Senior PGA Championship?

Output: SELECT Senior British Open FROM table WHERE Senior PGA Championship = hale irwin (3/7)


Instruction: text to sql

Input: When Tom Watson (5/6) won the Senior British Open who won the Senior PGA Championship?

Output: SELECT Senior PGA Championship FROM table WHERE Senior British Open = tom watson (5/6)


Instruction: text to sql

Input: Which Week has Points For larger than 19, and an Opponent of philadelphia eagles, and Points Against larger than 7?

Output: SELECT MAX Week FROM table WHERE Points For > 19 AND Opponent = philadelphia eagles AND Points Against > 7


Instruction: text to sql

Input: Which Attendance has a First Downs smaller than 26, an Opponent of los angeles rams, and Points For larger than 28?

Output: SELECT SUM Attendance FROM table WHERE First Downs < 26 AND Opponent = los angeles rams AND Points For > 28


Instruction: text to sql

Input: Which League Cup has a FA Cup of 5, and a Club of boston united, and a League smaller than 16?

Output: SELECT MAX League Cup FROM table WHERE FA Cup = 5 AND Club = boston united AND League < 16


Instruction: text to sql

Input: How many Total that has a FA Trophy of 0 and a Player of charlie butler?

Output: SELECT COUNT Total FROM table WHERE FA Trophy = 0 AND Player = charlie butler


Instruction: text to sql

Input: How many  FA Trophy has a Player of mario walsh and a League larger than 17?

Output: SELECT AVG FA Trophy FROM table WHERE Player = mario walsh AND League > 17


Instruction: text to sql

Input: What was the score of the winning match on Oct 28, 1962?

Output: SELECT Winning score FROM table WHERE Date = oct 28, 1962


Instruction: text to sql

Input: By how many strokes did Lema beat Jack Nicklaus?

Output: SELECT Margin of victory FROM table WHERE Runner(s)-up = jack nicklaus


Instruction: text to sql

Input: Who was the runner-up on Jan 19, 1964?

Output: SELECT Runner(s)-up FROM table WHERE Date = jan 19, 1964


Instruction: text to sql

Input: How many Rebounds did Maccabi Tel Aviv Team get after Game 6?

Output: SELECT COUNT Rebounds FROM table WHERE Team = maccabi tel aviv AND Games > 6


Instruction: text to sql

Input: How many Games for the player with Rebounds from Efes Pilsen?

Output: SELECT Games FROM table WHERE Team = efes pilsen


Instruction: text to sql

Input: How many Games for the Player from Lietuvos Rytas Vilnius with less the 43 Rebounds?

Output: SELECT SUM Games FROM table WHERE Team = lietuvos rytas vilnius AND Rebounds < 43


Instruction: text to sql

Input: Who is The Author of zhou clarke zhang?

Output: SELECT Name FROM table WHERE Authors = zhou clarke zhang


Instruction: text to sql

Input: What is the Status of primitive confuciusornithid .?

Output: SELECT Status FROM table WHERE Notes = primitive confuciusornithid .


Instruction: text to sql

Input: What is the name of gao chiappe meng o'connor wang cheng liu?

Output: SELECT Name FROM table WHERE Authors = gao chiappe meng o'connor wang cheng liu


Instruction: text to sql

Input: Where has a Name of zhongornis?

Output: SELECT Location FROM table WHERE Name = zhongornis


Instruction: text to sql

Input: Which Notes has Authors of zhou clarke zhang?

Output: SELECT Notes FROM table WHERE Authors = zhou clarke zhang


Instruction: text to sql

Input: Which First season of current spell is the lowest one that has a First season larger than 2005, and a Number of seasons in Superettan smaller than 8, and a Club of syrianska fc?

Output: SELECT MIN First season of current spell FROM table WHERE First season > 2005 AND Number of seasons in Superettan < 8 AND Club = syrianska fc


Instruction: text to sql

Input: Which Number of seasons in second tier has a First season of 2000, and a First season of current spell of 2014?

Output: SELECT Number of seasons in second tier FROM table WHERE First season = 2000 AND First season of current spell = 2014


Instruction: text to sql

Input: Which First season of current spell is the highest one that has a Position in 2013 of 9th, and a Number of seasons in second tier larger than 14?

Output: SELECT MAX First season of current spell FROM table WHERE Position in 2013 = 9th AND Number of seasons in second tier > 14


Instruction: text to sql

Input: What was the ranking of Beirasar Rosalía, the year they played 32 games?

Output: SELECT MAX Rank FROM table WHERE Team = beirasar rosalía AND Games < 32


Instruction: text to sql

Input: How many points did Antwain Barbour score in the year he played 39 games?

Output: SELECT SUM Points FROM table WHERE Name = antwain barbour AND Games < 39


Instruction: text to sql

Input: What team was Paolo Quinteros on?

Output: SELECT Team FROM table WHERE Name = paolo quinteros


Instruction: text to sql

Input: Was the record of 8-1 (1) a win or a loss?

Output: SELECT Res. FROM table WHERE Record = 8-1 (1)


Instruction: text to sql

Input: In what event was the technical decision (split) method used?

Output: SELECT Event FROM table WHERE Method = technical decision (split)


Instruction: text to sql

Input: What are the average play-offs that have an FA Cup greater than 3?

Output: SELECT AVG Play-offs FROM table WHERE FA Cup > 3


Instruction: text to sql

Input: How many totals have a play-off less than 0?

Output: SELECT COUNT Total FROM table WHERE Play-offs < 0


Instruction: text to sql

Input: Which league has an FA cup greater than 0, with a total greater than 21?

Output: SELECT League FROM table WHERE FA Cup > 0 AND Total > 21


Instruction: text to sql

Input: What is the highest play-offs that have stevenage borough as the club, and a total greater than 21?

Output: SELECT MAX Play-offs FROM table WHERE Club = stevenage borough AND Total > 21


Instruction: text to sql

Input: What is the tournament in 2012 results that has a 2003 results of 2r and played at Wimbledon?

Output: SELECT 2012 FROM table WHERE 2003 = 2r AND Tournament = wimbledon


Instruction: text to sql

Input: What results in 2012 also has 2013 results of 2r and the tournament was Wimbledon?

Output: SELECT 2012 FROM table WHERE 2013 = 2r AND Tournament = wimbledon


Instruction: text to sql

Input: What is the results from 2003 that has a 2012 result of 1r and a 2004 result of 2r and from the Australian Open?

Output: SELECT 2003 FROM table WHERE 2012 = 1r AND 2004 = 2r AND Tournament = australian open


Instruction: text to sql

Input: What is the name of the tournament that has the results of 2003 2r and 2004 1r?

Output: SELECT Tournament FROM table WHERE 2003 = 2r AND 2004 = 1r


Instruction: text to sql

Input: What is the results in 2004 that has a 2013 result of 2r?

Output: SELECT 2004 FROM table WHERE 2013 = 2r


Instruction: text to sql

Input: What is the result from 2003 from the US Open?

Output: SELECT 2003 FROM table WHERE Tournament = us open


Instruction: text to sql

Input: What is the height of the player born on June 24, 1964, with a weight over 84 kg?

Output: SELECT AVG Height (cm) FROM table WHERE Weight (kg) > 84 AND Birthdate = june 24, 1964


Instruction: text to sql

Input: On what date was the player from Melrose, Massachusetts born?

Output: SELECT Birthdate FROM table WHERE Birthplace = melrose, massachusetts


Instruction: text to sql

Input: What is the height of the player from the Washington Capitals, who was born in Detroit, Michigan and has a jersey number under #11?

Output: SELECT MIN Height (cm) FROM table WHERE 1986–1987 Team = washington capitals AND Birthplace = detroit, michigan AND Jersey # < 11


Instruction: text to sql

Input: What is Date, when Event is Billabong Pro?

Output: SELECT Date FROM table WHERE Event = billabong pro


Instruction: text to sql

Input: What is Location, when Date is December 8-December 20?

Output: SELECT Location FROM table WHERE Date = december 8-december 20


Instruction: text to sql

Input: What is Runner-up, when Event is Mancora Peru Classic?

Output: SELECT Runner-up FROM table WHERE Event = mancora peru classic


Instruction: text to sql

Input: What is Event, when Date is August 20-August 27?

Output: SELECT Event FROM table WHERE Date = august 20-august 27


Instruction: text to sql

Input: What is Date when Runner-up is Sofía Mulánovich ( per )?

Output: SELECT Date FROM table WHERE Runner-up = sofía mulánovich ( per )


Instruction: text to sql

Input: What is Country, when Event is Rip Curl Women's Pro?

Output: SELECT Country FROM table WHERE Event = rip curl women's pro


Instruction: text to sql

Input: What is the highest win percentage when there were 23 losses?

Output: SELECT MAX Win% FROM table WHERE Losses = 23


Instruction: text to sql

Input: Which finish had a win percentage that was more than 0.598 and also had less than 53 wins?

Output: SELECT Finish FROM table WHERE Win% > 0.598 AND Wins < 53


Instruction: text to sql

Input: What is the 2007 Team with player Deshaun Foster?

Output: SELECT 2007 Team FROM table WHERE Player = deshaun foster


Instruction: text to sql

Input: What is the Free Agent Type for player bryant johnson?

Output: SELECT Free Agent Type FROM table WHERE Player = bryant johnson


Instruction: text to sql

Input: What is the High assists with a Date that is march 31?

Output: SELECT High assists FROM table WHERE Date = march 31


Instruction: text to sql

Input: What is the Score with a Date that is march 12?

Output: SELECT Score FROM table WHERE Date = march 12


Instruction: text to sql

Input: What is the lowest silver that has a bronze greater than 1, a gold less than 2, and a total less than 2?

Output: SELECT MIN Silver FROM table WHERE Bronze > 1 AND Gold < 2 AND Total < 2


Instruction: text to sql

Input: What average rank that has a silver less than 0?

Output: SELECT AVG Rank FROM table WHERE Silver < 0


Instruction: text to sql

Input: How many silver have 4 as the total with a bronze less than 2?

Output: SELECT COUNT Silver FROM table WHERE Total = 4 AND Bronze < 2


Instruction: text to sql

Input: How many totals have a rank greater than 4, czech Republic as the nation, and a bronze greater than 0?

Output: SELECT SUM Total FROM table WHERE Rank > 4 AND Nation = czech republic AND Bronze > 0


Instruction: text to sql

Input: What average total has a gold greater than 0, and a silver greater than 0, with a bronze greater than 2?

Output: SELECT AVG Total FROM table WHERE Gold > 0 AND Silver > 0 AND Bronze > 2


Instruction: text to sql

Input: Which country has an Indigenous mining production 2006 of 0?

Output: SELECT Country FROM table WHERE Indigenous mining production 2006 = 0


Instruction: text to sql

Input: What is the total capacity of the airport ranked less than 7, has a capacity in use of 114.2%, and has less than 13,699,657 total passengers?

Output: SELECT COUNT Capacity FROM table WHERE Rank < 7 AND Capacity in use = 114.2% AND Total Passengers < 13,699,657


Instruction: text to sql

Input: What is the highest capacity of the airport in Rio de Janeiro, which was ranked greater than 6 and had more than 5,099,643 total passengers?

Output: SELECT MAX Capacity FROM table WHERE Rank > 6 AND Location = rio de janeiro AND Total Passengers > 5,099,643


Instruction: text to sql

Input: What is the capacity in use of the airport in Rio de Janeiro with an annual change of 40.53%?

Output: SELECT Capacity in use FROM table WHERE Location = rio de janeiro AND Annual change = 40.53%


Instruction: text to sql

Input: What is the sum of Silver when the total is less than 6, the rank is 6 and the Bulgaria is the nation?

Output: SELECT SUM Silver FROM table WHERE Total < 6 AND Rank = 6 AND Nation = bulgaria


Instruction: text to sql

Input: What nation has a bronze of 2 with a total less than 5 and rank of 6?

Output: SELECT Nation FROM table WHERE Bronze = 2 AND Total < 5 AND Rank = 6


Instruction: text to sql

Input: What is the lowest Total for rank 3 with more than 4 gold?

Output: SELECT MIN Total FROM table WHERE Rank = 3 AND Gold > 4


Instruction: text to sql

Input: What is the lowest Total for Italy with less than 0 silver?

Output: SELECT MIN Total FROM table WHERE Nation = italy AND Silver < 0


Instruction: text to sql

Input: What is the Nation with less than 1 silver, and the total is 1, and bronze is less than 0?

Output: SELECT Nation FROM table WHERE Silver < 1 AND Total = 1 AND Bronze = 0


Instruction: text to sql

Input: What number has 2002-2003 as the season?

Output: SELECT Number FROM table WHERE Season = 2002-2003


Instruction: text to sql

Input: What position has 2008 as the season?

Output: SELECT Position FROM table WHERE Season = 2008


Instruction: text to sql

Input: What name has 50 as the number?

Output: SELECT Name FROM table WHERE Number = 50


Instruction: text to sql

Input: What number has 2008 as the season?

Output: SELECT Number FROM table WHERE Season = 2008


Instruction: text to sql

Input: What name has 8 as the number?

Output: SELECT Name FROM table WHERE Number = 8


Instruction: text to sql

Input: What position has ronjay buenafe as the name?

Output: SELECT Position FROM table WHERE Name = ronjay buenafe


Instruction: text to sql

Input: What was the lowest long with 26 yards?

Output: SELECT MIN Long FROM table WHERE Yards = 26


Instruction: text to sql

Input: What was the highest average when Fuml was 0?

Output: SELECT MAX Avg. FROM table WHERE FumL < 0


Instruction: text to sql

Input: What is the highest run currently since the last title in 2010, and a season in Esiliiga larger than 10?

Output: SELECT MAX Current run since FROM table WHERE Last title = 2010 AND Seasons in Esiliiga > 10


Instruction: text to sql

Input: What is the 2012 season in Esiliiga more than 4, and more than 0 titles?

Output: SELECT 2012 FROM table WHERE Seasons in Esiliiga > 4 AND Titles > 0


Instruction: text to sql

Input: What is the population on average with a per capita of 1,158, and a 2011 GDP less than 6,199?

Output: SELECT AVG Population FROM table WHERE per capita = 1,158 AND GDP 2011 (In Millions USD) < 6,199


Instruction: text to sql

Input: What 20-29 was in season 2008?

Output: SELECT 20-29 FROM table WHERE Season = 2008


Instruction: text to sql

Input: What were the lowest amount of points for season 1994?

Output: SELECT MIN Points FROM table WHERE Season = 1994


Instruction: text to sql

Input: Which 20-29 had a season of 1997?

Output: SELECT 20-29 FROM table WHERE Season = 1997


Instruction: text to sql

Input: What is the Postion, when the Name is Rod Paavola?

Output: SELECT Position FROM table WHERE Name = rod paavola


Instruction: text to sql

Input: What is the total number of Jersey #, when the Position is W, and when the Birthdate is 17 October 1932?

Output: SELECT COUNT Jersey # FROM table WHERE Position = w AND Birthdate = 17 october 1932


Instruction: text to sql

Input: What is the Birthplace, when the Name is Bob Mcvey?

Output: SELECT Birthplace FROM table WHERE Name = bob mcvey


Instruction: text to sql

Input: What is the Name, when the Position is W, and when the Jersey # is 11?

Output: SELECT Name FROM table WHERE Position = w AND Jersey # = 11


Instruction: text to sql

Input: What is the Postion, when the Club/Team is Warroad Lakers, and when the Name is Roger Christian?

Output: SELECT Position FROM table WHERE Club/Team = warroad lakers AND Name = roger christian


Instruction: text to sql

Input: What home has 122-28 as the score?

Output: SELECT Home FROM table WHERE Score = 122-28


Instruction: text to sql

Input: What ground has etobicoke kangaroos as the home?

Output: SELECT Ground FROM table WHERE Home = etobicoke kangaroos


Instruction: text to sql

Input: What time has humber college north as the ground, and toronto downtown dingos as the home?

Output: SELECT Time FROM table WHERE Ground = humber college north AND Home = toronto downtown dingos


Instruction: text to sql

Input: What score has Toronto Eagles as the home?

Output: SELECT Score FROM table WHERE Home = toronto eagles


Instruction: text to sql

Input: What date has high park demons as the away?

Output: SELECT Date FROM table WHERE Away = high park demons


Instruction: text to sql

Input: What away has toronto downtown dingos as the home?

Output: SELECT Away FROM table WHERE Home = toronto downtown dingos


Instruction: text to sql

Input: Who was the winner from the Rip Curl Pro Search?

Output: SELECT Winner FROM table WHERE Event = rip curl pro search


Instruction: text to sql

Input: What was the location of the tournament held in Spain?

Output: SELECT Location FROM table WHERE Country = spain


Instruction: text to sql

Input: What was the date of the tournament held in Indonesia?

Output: SELECT Date FROM table WHERE Country = indonesia


Instruction: text to sql

Input: What is the average Lost when the difference is - 3, and a Played is less than 10?

Output: SELECT AVG Lost FROM table WHERE Difference = - 3 AND Played < 10


Instruction: text to sql

Input: What is the Position when the Drawn is less than 2, with a Difference of 2?

Output: SELECT Position FROM table WHERE Drawn < 2 AND Difference = 2


Instruction: text to sql

Input: What is the sum of Against when the drawn is less than 2, the position is more than 8, and the lost is more than 6.

Output: SELECT SUM Against FROM table WHERE Drawn < 2 AND Position > 8 AND Lost > 6


Instruction: text to sql

Input: What is the Difference with a position of less than 3, and, 17 points.

Output: SELECT Difference FROM table WHERE Position < 3 AND Points = 17


Instruction: text to sql

Input: What is the average Top-5, when Tournament is U.S. Open, and when Cuts Made is greater than 10?

Output: SELECT AVG Top-5 FROM table WHERE Tournament = u.s. open AND Cuts made > 10


Instruction: text to sql

Input: What is the sum of Events, when Top-10 is 7, and when Top-5 is greater than 4?

Output: SELECT SUM Events FROM table WHERE Top-10 = 7 AND Top-5 > 4


Instruction: text to sql

Input: What is the sum of Top-5, when Tournament is Totals, and when Events is greater than 86?

Output: SELECT SUM Top-5 FROM table WHERE Tournament = totals AND Events > 86


Instruction: text to sql

Input: What is the average Top-10, when Wins is less than 0?

Output: SELECT AVG Top-10 FROM table WHERE Wins < 0


Instruction: text to sql

Input: What is the total number of Top-25, when Events is greater than 86?

Output: SELECT COUNT Top-25 FROM table WHERE Events > 86


Instruction: text to sql

Input: What 2011 has 4r as the 2008?

Output: SELECT 2011 FROM table WHERE 2008 = 4r


Instruction: text to sql

Input: What 2007 has wimbledon as the tournament?

Output: SELECT 2007 FROM table WHERE Tournament = wimbledon


Instruction: text to sql

Input: What 2006 has 1r as the 2007?

Output: SELECT 2006 FROM table WHERE 2007 = 1r


Instruction: text to sql

Input: What tournament has q2 as the 2004?

Output: SELECT Tournament FROM table WHERE 2004 = q2


Instruction: text to sql

Input: What 2009 has grand slam tournaments of 2008?

Output: SELECT 2009 FROM table WHERE 2008 = grand slam tournaments


Instruction: text to sql

Input: What 2006 has 0-0 as the 2011?

Output: SELECT 2006 FROM table WHERE 2011 = 0-0


Instruction: text to sql

Input: What is the Lineup from a Match that is 27?

Output: SELECT Lineup FROM table WHERE Match = 27


Instruction: text to sql

Input: What is the date for Orangeville?

Output: SELECT Date FROM table WHERE Name = orangeville


Instruction: text to sql

Input: Who is the builder with a works number of 2534?

Output: SELECT Builder FROM table WHERE Works number = 2534


Instruction: text to sql

Input: Who is the name with a works number of 809?

Output: SELECT Name FROM table WHERE Works number = 809


Instruction: text to sql

Input: In early 1873, Owen sound had what works number?

Output: SELECT Works number FROM table WHERE Date = early 1873 AND Name = owen sound


Instruction: text to sql

Input: What was the name for the locomotive with a type of 2-8-0 and a number of 20?

Output: SELECT Name FROM table WHERE Type = 2-8-0 AND Number = 20


Instruction: text to sql

Input: What is the Year won for the player with a larger than 4 To par and less the 157 Total?

Output: SELECT Year won FROM table WHERE To par > 4 AND Total < 157


Instruction: text to sql

Input: What is the Total for the Player who won after 1983 with less than 4 To par?

Output: SELECT AVG Total FROM table WHERE To par < 4 AND Year won > 1983


Instruction: text to sql

Input: What is the Total of the player who won before 1983 with a smaller than 4 To par?

Output: SELECT COUNT Total FROM table WHERE To par < 4 AND Year won < 1983


Instruction: text to sql

Input: Which venue led to a draw?

Output: SELECT Venue FROM table WHERE Result = draw


Instruction: text to sql

Input: What is the highest Stolen Ends when ludmila privivkova shows for skip?

Output: SELECT MAX Stolen Ends FROM table WHERE Skip = ludmila privivkova


Instruction: text to sql

Input: What is the sum of Blank Ends for Denmark when less than 42 is the ends lost?

Output: SELECT SUM Blank Ends FROM table WHERE Nation = denmark AND Ends Lost < 42


Instruction: text to sql

Input: What is the Blank Ends when there are less than 39 ends won and, more than 35 ends lost, and 4 stolen ends.

Output: SELECT Blank Ends FROM table WHERE Ends Won < 39 AND Ends Lost > 35 AND Stolen Ends = 4


Instruction: text to sql

Input: Who was the 20 Questions section aimed at when the Interview Subject was Camille Paglia?

Output: SELECT 20 Questions FROM table WHERE Interview subject = camille paglia


Instruction: text to sql

Input: Who was the Centerfold Model on 5-95?

Output: SELECT Centerfold model FROM table WHERE Date = 5-95


Instruction: text to sql

Input: Who was the 20 Questions section aimed at when Cover Model was Kimberley Conrad Hefner?

Output: SELECT 20 Questions FROM table WHERE Cover model = kimberley conrad hefner


Instruction: text to sql

Input: Who was the Centerfold Model when the Cover Model was Julie Lynn Cialini?

Output: SELECT Centerfold model FROM table WHERE Cover model = julie lynn cialini


Instruction: text to sql

Input: Who was the Interview Subject when the Centerfold Model was Melissa Deanne Holliday?

Output: SELECT Interview subject FROM table WHERE Centerfold model = melissa deanne holliday


Instruction: text to sql

Input: Who was the 20 Questions section aimed at when Centerfold Model was Rachel Jeán Marteen?

Output: SELECT 20 Questions FROM table WHERE Centerfold model = rachel jeán marteen


Instruction: text to sql

Input: What was the average Jersey # of Steve Griffith, when his Weight (kg) was less than 84?

Output: SELECT AVG Jersey # FROM table WHERE Name = steve griffith AND Weight (kg) < 84


Instruction: text to sql

Input: What was the lowest Weight (kg) for a player that had Jersey #10?

Output: SELECT MIN Weight (kg) FROM table WHERE Jersey # = 10


Instruction: text to sql

Input: How many different Heights (cm) did Mark Fusco have, when his Jersey # was less than 16?

Output: SELECT COUNT Height (cm) FROM table WHERE Jersey # < 16 AND Name = mark fusco


Instruction: text to sql

Input: What was the title of the episode that martin worth wrote the story for?

Output: SELECT Title FROM table WHERE Story = martin worth


Instruction: text to sql

Input: In what year was Xavier Malisse the runner-up with scores of 4–6, 6–4, [8–10]?

Output: SELECT Year FROM table WHERE Outcome = runner-up AND Score = 4–6, 6–4, [8–10]


Instruction: text to sql

Input: On what surface was the game played that had a score of 4–6, 6–4, [8–10]?

Output: SELECT Surface FROM table WHERE Score = 4–6, 6–4, [8–10]


Instruction: text to sql

Input: What is Caps, when Province / Club is Example, when Position is Prop, and when Player is Sam Walters?

Output: SELECT Caps FROM table WHERE Province / Club = example AND Position = prop AND Player = sam walters


Instruction: text to sql

Input: What is Postition, when Date of Birth (Age) is Example, and when Player is Mark Spencer?

Output: SELECT Position FROM table WHERE Date of Birth (Age) = example AND Player = mark spencer


Instruction: text to sql

Input: What is Player, when Caps is Example, and when Position is Center?

Output: SELECT Player FROM table WHERE Caps = example AND Position = center


Instruction: text to sql

Input: What is Caps, when Province / Club is DRFC, and when Position is Center?

Output: SELECT Caps FROM table WHERE Province / Club = drfc AND Position = center


Instruction: text to sql

Input: What is Position, when Caps is Example, and When Player is Shane Kelly?

Output: SELECT Position FROM table WHERE Caps = example AND Player = shane kelly


Instruction: text to sql

Input: What is Position, when Province / Club is Example, when Date of Birth (Age) is Example, and when Player is Michael Elumeze?

Output: SELECT Position FROM table WHERE Province / Club = example AND Date of Birth (Age) = example AND Player = michael elumeze


Instruction: text to sql

Input: What is the average number played of the team with 1 drawn and 24 against?

Output: SELECT AVG Played FROM table WHERE Drawn = 1 AND Against = 24


Instruction: text to sql

Input: What is the highest lost number of the team with less than 14 points and less than 18 played?

Output: SELECT MAX Lost FROM table WHERE Points < 14 AND Played < 18


Instruction: text to sql

Input: Which team had 1 position?

Output: SELECT Team FROM table WHERE Position = 1


Instruction: text to sql

Input: What is the lowest number of played of the team with 18 points and a position greater than 5?

Output: SELECT MIN Played FROM table WHERE Points = 18 AND Position > 5


Instruction: text to sql

Input: What is the total number of points of the team with less than 4 drawn and an against of 34?

Output: SELECT COUNT Points FROM table WHERE Drawn < 4 AND Against = 34


Instruction: text to sql

Input: What is the average number of drawn with a difference of 17 and 22 points?

Output: SELECT AVG Drawn FROM table WHERE Difference = 17 AND Points = 22


Instruction: text to sql

Input: What is the team that has forward-center as a position?

Output: SELECT School/Club Team FROM table WHERE Position = forward-center


Instruction: text to sql

Input: What team does Kenny Smith play for?

Output: SELECT School/Club Team FROM table WHERE Player = kenny smith


Instruction: text to sql

Input: What years was Lebanon the nationality?

Output: SELECT Years in Orlando FROM table WHERE Nationality = lebanon


Instruction: text to sql

Input: Which margin of victory has cyber agent ladies as the tournament?

Output: SELECT Margin of victory FROM table WHERE Tournament = cyber agent ladies


Instruction: text to sql

Input: What date has yani tseng as the runner (s)-up?

Output: SELECT Date FROM table WHERE Runner(s)-up = yani tseng


Instruction: text to sql

Input: What is the margin of victory that has masters gc ladies as the tournament?

Output: SELECT Margin of victory FROM table WHERE Tournament = masters gc ladies


Instruction: text to sql

Input: What is the date that has yani tseng as the runner (s)-up?

Output: SELECT Date FROM table WHERE Runner(s)-up = yani tseng


Instruction: text to sql

Input: What is the winning score that has victory of 2 strokes for the margin, and cyber agent ladies for the tournament?

Output: SELECT Winning score FROM table WHERE Margin of victory = 2 strokes AND Tournament = cyber agent ladies


Instruction: text to sql

Input: What is the highest Poles with a win that is smaller than 0?

Output: SELECT MAX Poles FROM table WHERE wins < 0


Instruction: text to sql

Input: What is the headphone model with a plastic construction and a prestige headphone class?

Output: SELECT Headphone Model FROM table WHERE Construction = plastic AND Headphone Class = prestige


Instruction: text to sql

Input: What earpads does the headphone with plastic contruction and was succeeded by igrado have?

Output: SELECT Earpads FROM table WHERE Construction = plastic AND Succeeded by = igrado


Instruction: text to sql

Input: What are the earpads of the headphone with a plastic construction, an unknown sensitivity, and was succeeded by sr325?

Output: SELECT Earpads FROM table WHERE Construction = plastic AND Sensitivity (dB) = unknown AND Succeeded by = sr325


Instruction: text to sql

Input: What is the headphone model which was succeeded by sr325?

Output: SELECT Headphone Model FROM table WHERE Succeeded by = sr325


Instruction: text to sql

Input: What regulations have hudson as the winning constructor?

Output: SELECT Regulations FROM table WHERE Winning constructor = hudson


Instruction: text to sql

Input: What regulations have carlos arzani as the winning driver?

Output: SELECT Regulations FROM table WHERE Winning drivers = carlos arzani


Instruction: text to sql

Input: What is the latest year that has ferrari 166 fl as the winning constructor?

Output: SELECT MAX Year FROM table WHERE Winning constructor = ferrari 166 fl


Instruction: text to sql

Input: What is the city of license that has lp as the class?

Output: SELECT City of license FROM table WHERE Class = lp


Instruction: text to sql

Input: What is the identifier that has 50,000 watts of power?

Output: SELECT Identifier FROM table WHERE Power = 50,000 watts


Instruction: text to sql

Input: What RECNet has 40 watts of power and temagami as the city of license?

Output: SELECT RECNet FROM table WHERE Power = 40 watts AND City of license = temagami


Instruction: text to sql

Input: What city of license has A as a class, and cbec-fm as the identifier?

Output: SELECT City of license FROM table WHERE Class = a AND Identifier = cbec-fm


Instruction: text to sql

Input: What RECNet has elk lake as the city of license?

Output: SELECT RECNet FROM table WHERE City of license = elk lake


Instruction: text to sql

Input: What frequency has temagami as the city of license?

Output: SELECT Frequency FROM table WHERE City of license = temagami


Instruction: text to sql

Input: What is the highest Current Branch Opened, when Neighborhood is W. Portland Park?

Output: SELECT MAX Current branch opened FROM table WHERE Neighborhood = w. portland park


Instruction: text to sql

Input: What is the First Branch Opened, when Branch is Belmont Library?

Output: SELECT First branch opened FROM table WHERE Branch = belmont library


Instruction: text to sql

Input: What is Neighborhood, when Branch is Hollywood Library?

Output: SELECT Neighborhood FROM table WHERE Branch = hollywood library


Instruction: text to sql

Input: What is Current Branch Opened, when Branch is Midland Library?

Output: SELECT Current branch opened FROM table WHERE Branch = midland library


Instruction: text to sql

Input: Which player has the fewest assists and played 2 games or fewer?

Output: SELECT MIN Assists FROM table WHERE Games < 2


Instruction: text to sql

Input: What was the total number for March with less than 8.77 in January, more than 1.69 in December, an average monthly addition less than 5.35, and before 2004?

Output: SELECT COUNT March FROM table WHERE January < 8.77 AND December > 1.69 AND Average Monthly Additions(in millions) < 5.35 AND Year < 2004


Instruction: text to sql

Input: What is the total number for November, larger than 8.53 in February, 20.21 in March, and less than 7.9 in September?

Output: SELECT COUNT November FROM table WHERE February > 8.53 AND March = 20.21 AND September < 7.9


Instruction: text to sql

Input: What is the sum for December that has 0.36 in July, and lager than 0.35000000000000003 in February?

Output: SELECT SUM December FROM table WHERE July = 0.36 AND February > 0.35000000000000003


Instruction: text to sql

Input: What is the total number for July with less than 8.05 in October, more than 4.46 in December, and more than 6.79 in November?

Output: SELECT COUNT July FROM table WHERE October < 8.05 AND December > 4.46 AND November > 6.79


Instruction: text to sql

Input: What is the total number in October with less than 2.48 in September, after 2002, more than 1.42 in June, and smaller than 7.44 in February?

Output: SELECT COUNT October FROM table WHERE September < 2.48 AND Year > 2002 AND June > 1.42 AND February < 7.44


Instruction: text to sql

Input: What is the Catalog with a Region that is europe?

Output: SELECT Catalog FROM table WHERE Region = europe


Instruction: text to sql

Input: What is the highest SFC in g/(kN*s) for Rolls-Royce/Snecma Olympus 593 engines and SFCs under 1.195 lb/(lbf*h)?

Output: SELECT MAX SFC in g/(kN·s) FROM table WHERE Engine type = rolls-royce/snecma olympus 593 AND SFC in lb/(lbf·h) < 1.195


Instruction: text to sql

Input: What is Winner, when Week is 8 May, when Semi Finalists is Helena Suková Mary Pierce, and when Runner-Up is Conchita Martínez Patricia Tarabini?

Output: SELECT Winner FROM table WHERE Week of = 8 may AND Semi finalists = helena suková mary pierce AND Runner-up = conchita martínez patricia tarabini


Instruction: text to sql

Input: What is Week, when Semi Finalists is Sandrine Testud Yone Kamio?

Output: SELECT Week of FROM table WHERE Semi finalists = sandrine testud yone kamio


Instruction: text to sql

Input: In what Season was Colin Miller (TAS) the Player?

Output: SELECT Season FROM table WHERE Player = colin miller (tas)


Instruction: text to sql

Input: What Rank has a 65 s Wicket?

Output: SELECT Rank FROM table WHERE s Wicket = 65


Instruction: text to sql

Input: Which result featured the Indianapolis Colts as opponents?

Output: SELECT Result FROM table WHERE Opponent = indianapolis colts


Instruction: text to sql

Input: Whose Name has a Date of reclassification of 2003-04-01 (merge into shizuoka )?

Output: SELECT Name FROM table WHERE Date of reclassification = 2003-04-01 (merge into shizuoka )


Instruction: text to sql

Input: WHich Japanese has a Prefecture of iwate?

Output: SELECT Japanese FROM table WHERE Prefecture = iwate


Instruction: text to sql

Input: Which Date of designation has a Name of kurume?

Output: SELECT Date of designation FROM table WHERE Name = kurume


Instruction: text to sql

Input: What kind of Japanese has a Region of tōhoku?

Output: SELECT Japanese FROM table WHERE Region = tōhoku


Instruction: text to sql

Input: WHose Name has a Region of kansai on 2012-04-01 ( core city )?

Output: SELECT Name FROM table WHERE Region = kansai AND Date of reclassification = 2012-04-01 ( core city )


Instruction: text to sql

Input: What is the Position with a Birthdate that is august 17, 1980?

Output: SELECT Position FROM table WHERE Birthdate = august 17, 1980


Instruction: text to sql

Input: Which capacity has a purple and white colors?

Output: SELECT Capacity FROM table WHERE Colors = purple and white


Instruction: text to sql

Input: How many households have a median family income of $60,400?

Output: SELECT Number of households FROM table WHERE Median family income = $60,400


Instruction: text to sql

Input: What county of city has more than 9,505 households with a median household income greater than $94,880?

Output: SELECT County or City FROM table WHERE Number of households > 9,505 AND Median household income = $94,880


Instruction: text to sql

Input: What is the average weight of the player with a height of 180 cm and plays the d position?

Output: SELECT AVG Weight (kg) FROM table WHERE Height (cm) = 180 AND Position = d


Instruction: text to sql

Input: What is the birthplace of the player with Calgary Flames NHL rights, plays the f position, and has a height taller than 175 cm?

Output: SELECT Birthplace FROM table WHERE Position = f AND Height (cm) > 175 AND NHL rights, if any = calgary flames


Instruction: text to sql

Input: What is the 2008-09 team of the player who plays the f position and has NHL rights with the New Jersey Devils?

Output: SELECT 2008-09 team FROM table WHERE Position = f AND NHL rights, if any = new jersey devils


Instruction: text to sql

Input: What was the resting potential with an AP duration of 1.0 and a median giant fiber cell type?

Output: SELECT Resting potential (mV) FROM table WHERE AP duration (ms) = 1.0 AND Cell type = median giant fiber


Instruction: text to sql

Input: Which animal has a resting potential of −60?

Output: SELECT Animal FROM table WHERE Resting potential (mV) = −60


Instruction: text to sql

Input: Which animal has an AP duration of 1.0 and a conduction speed of 7–30?

Output: SELECT Animal FROM table WHERE AP duration (ms) = 1.0 AND Conduction speed (m/s) = 7–30


Instruction: text to sql

Input: What AP increase has an AP duration of 0.75?

Output: SELECT AP increase (mV) FROM table WHERE AP duration (ms) = 0.75


Instruction: text to sql

Input: Which cell type has a conduction speed of 35?

Output: SELECT Cell type FROM table WHERE Conduction speed (m/s) = 35


Instruction: text to sql

Input: What was the total matches that ranked above 10?

Output: SELECT SUM Matches FROM table WHERE Rank > 10


Instruction: text to sql

Input: What was the total amount of matches for Alan Shearer?

Output: SELECT COUNT Matches FROM table WHERE Name = alan shearer


Instruction: text to sql

Input: What is the average goals for Jimmy Greaves, and matches more than 516?

Output: SELECT AVG Goals FROM table WHERE Name = jimmy greaves AND Matches > 516


Instruction: text to sql

Input: What was the total number of matches for Nat Lofthouse, ranking higher than 7?

Output: SELECT COUNT Matches FROM table WHERE Name = nat lofthouse AND Rank > 7


Instruction: text to sql

Input: What is the highest rank for Nat Lofthouse, and goals more than 255?

Output: SELECT MAX Rank FROM table WHERE Name = nat lofthouse AND Goals > 255


Instruction: text to sql

Input: What is the location/state that has adelaide international raceway as the circuit?

Output: SELECT Location / State FROM table WHERE Circuit = adelaide international raceway


Instruction: text to sql

Input: What is the name of the director for the episode titled "homewrecker for the holidays"?

Output: SELECT Directed by FROM table WHERE Title = "homewrecker for the holidays"


Instruction: text to sql

Input: What is the Original air date for the episode with a Production code of 07-00-107?

Output: SELECT Original air date FROM table WHERE Production code = 07-00-107


Instruction: text to sql

Input: What is the name of the director of the episode written by robin schwartz & robert tarlow?

Output: SELECT Directed by FROM table WHERE Written by = robin schwartz & robert tarlow


Instruction: text to sql

Input: What is the Original air date for the episode directed by lev l. spiro, with a Production code of 07-00-109?

Output: SELECT Original air date FROM table WHERE Directed by = lev l. spiro AND Production code = 07-00-109


Instruction: text to sql

Input: What is the name of the writer for the episode with an Original air date of october 9, 2000?

Output: SELECT Written by FROM table WHERE Original air date = october 9, 2000


Instruction: text to sql

Input: What is the Title written by Terri Hughes & Ron Milbauer, and an Original air date of march 6, 2001?

Output: SELECT Title FROM table WHERE Written by = terri hughes & ron milbauer AND Original air date = march 6, 2001


Instruction: text to sql

Input: What time or retired does Scott Dixon have?

Output: SELECT Time/Retired FROM table WHERE Driver = scott dixon


Instruction: text to sql

Input: Which driver has a grid bigger than 3 and a time of +62.6 secs?

Output: SELECT Driver FROM table WHERE Grid > 3 AND Time/Retired = +62.6 secs


Instruction: text to sql

Input: Who drives for Newman-Haas Racing with a time of 1:51:47.260?

Output: SELECT Driver FROM table WHERE Team = newman-haas racing AND Time/Retired = 1:51:47.260


Instruction: text to sql

Input: Which driver had less than 65 laps for Sigma Autosport?

Output: SELECT Driver FROM table WHERE Laps < 65 AND Team = sigma autosport


Instruction: text to sql

Input: Which game modes have Pinyin of chāojí mǎlìōu shìjiè?

Output: SELECT Game Modes FROM table WHERE Pinyin = chāojí mǎlìōu shìjiè


Instruction: text to sql

Input: What is the sum of Population (1 July 2005 est.), when Area (km²) is less than 5,131, when Population density (per km²) is less than 180, when Subdivisions is Parishes, and when Capital is Roseau?

Output: SELECT SUM Population (1 July 2005 est.) FROM table WHERE Area (km²) < 5,131 AND Population density (per km²) < 180 AND Subdivisions = parishes AND Capital = roseau


Instruction: text to sql

Input: What is the lowest Population (1 July 2005 est.), when Population density (per km²) is 0?

Output: SELECT MIN Population (1 July 2005 est.) FROM table WHERE Population density (per km²) = 0


Instruction: text to sql

Input: What is Population density (per km²), when Name is Antigua and Barbuda, and when Capital is St. John's?

Output: SELECT Population density (per km²) FROM table WHERE Name = antigua and barbuda AND Capital = st. john's


Instruction: text to sql

Input: Who were the opponents on grass when playing with Mark Woodforde, and the outcome of winner, and a year greater than 1996?

Output: SELECT Opponents FROM table WHERE Surface = grass AND Partner = mark woodforde AND Outcome = winner AND Year > 1996


Instruction: text to sql

Input: Who was the partner at the Australian Open, Melbourne when the score was 2–6, 7–5, 6–2, 4–6, 3–6?

Output: SELECT Partner FROM table WHERE Championship = australian open, melbourne AND Score = 2–6, 7–5, 6–2, 4–6, 3–6


Instruction: text to sql

Input: When playing on grass who was the opponents in a year greater than 1993, and playing with Jonas Björkman?

Output: SELECT Opponents FROM table WHERE Surface = grass AND Year > 1993 AND Partner = jonas björkman


Instruction: text to sql

Input: Which league's playoffs was national semi-finals?

Output: SELECT League FROM table WHERE Playoffs = national semi-finals


Instruction: text to sql

Input: Which country is Lemd the ICAO of?

Output: SELECT Country FROM table WHERE ICAO = lemd


Instruction: text to sql

Input: Paris-Charles de Gaulle airport is in which country?

Output: SELECT Country FROM table WHERE Airport = paris-charles de gaulle airport


Instruction: text to sql

Input: What is the ICAO for Riyadh, Saudi Arabia?

Output: SELECT ICAO FROM table WHERE Country = saudi arabia AND City = riyadh


Instruction: text to sql

Input: What is the IATA for Benghazi, Libya?

Output: SELECT IATA FROM table WHERE Country = libya AND City = benghazi


Instruction: text to sql

Input: What is the average Grid for the honda cbr1000rr, with 18 laps and a time of +1:12.884?

Output: SELECT AVG Grid FROM table WHERE Bike = honda cbr1000rr AND Laps = 18 AND Time = +1:12.884


Instruction: text to sql

Input: What is the Bike with 18 laps and +41.280 as the time?

Output: SELECT Bike FROM table WHERE Laps = 18 AND Time = +41.280


Instruction: text to sql

Input: What is the Time when there are 18 laps, grid larger than 15, and Rider of Russell Holland?

Output: SELECT Time FROM table WHERE Laps = 18 AND Grid > 15 AND Rider = russell holland


Instruction: text to sql

Input: What is the Bike with a grid more than 4 and the rider is Michel Fabrizio?

Output: SELECT Bike FROM table WHERE Grid > 4 AND Rider = michel fabrizio


Instruction: text to sql

Input: What was Lee Smith's highest number of goals when he made fewer than 364 appearances?

Output: SELECT MAX Goals FROM table WHERE Name = lee smith AND Appearances < 364


Instruction: text to sql

Input: What is the sum of Rob Coldray's goals when he made fewer than 348 appearances with goals/game ratio less than 0.313?

Output: SELECT SUM Goals FROM table WHERE Goals/Game Ratio < 0.313 AND Name = rob coldray AND Appearances < 348


Instruction: text to sql

Input: Which goals/game ratio has fewer than 201 goals and fewer than 170 appearances?

Output: SELECT Goals/Game Ratio FROM table WHERE Goals < 201 AND Appearances < 170


Instruction: text to sql

Input: What is the average rank of the airport in São Paulo with passengers totaling less than 18,795,596?

Output: SELECT AVG Rank FROM table WHERE Location = são paulo AND Total Passengers < 18,795,596


Instruction: text to sql

Input: What is the average rank of the airport with a 9.3% annual change?

Output: SELECT AVG Rank FROM table WHERE Annual change = 9.3%


Instruction: text to sql

Input: Where is the airport located that has a 98.9% in use capacity?

Output: SELECT Location FROM table WHERE Capacity in use = 98.9%


Instruction: text to sql

Input: What rank is the airport in Fortaleza?

Output: SELECT Rank FROM table WHERE Location = fortaleza


Instruction: text to sql

Input: What is the Award name with a Team name that is cougar robotics team?

Output: SELECT Award name FROM table WHERE Team name = cougar robotics team


Instruction: text to sql

Input: What is the zan 1 that has 11 as the nor 1?

Output: SELECT ZAN 1 FROM table WHERE NOR 1 = 11


Instruction: text to sql

Input: What driver has 19 as the zan 1?

Output: SELECT Driver FROM table WHERE ZAN 1 = 19


Instruction: text to sql

Input: What driver has 5 as the zan 2?

Output: SELECT Driver FROM table WHERE ZAN 2 = 5


Instruction: text to sql

Input: What is the nor 2 that has nor 1 as nor 1?

Output: SELECT NOR 2 FROM table WHERE NOR 1 = nor 1


Instruction: text to sql

Input: What driver has 22 as nor 1?

Output: SELECT Driver FROM table WHERE NOR 1 = 22


Instruction: text to sql

Input: What Date had a Result of draw, and a Venue of lord's?

Output: SELECT Date FROM table WHERE Result = draw AND Venue = lord's


Instruction: text to sql

Input: What Date that had a Result of draw, with Oval as a venue?

Output: SELECT Date FROM table WHERE Result = draw AND Venue = oval


Instruction: text to sql

Input: What is the Away captain when the Result was draw, and a Venue of lord's?

Output: SELECT Away captain FROM table WHERE Result = draw AND Venue = lord's


Instruction: text to sql

Input: What is the Date when the match Resulted in a draw?

Output: SELECT Date FROM table WHERE Result = draw


Instruction: text to sql

Input: What was the margin of victory when the winning score was –10 (70-72-68-68=278)?

Output: SELECT Margin of victory FROM table WHERE Winning score = –10 (70-72-68-68=278)


Instruction: text to sql

Input: When Gary Player was the runner-up, what was the margin of victory?

Output: SELECT Margin of victory FROM table WHERE Runner(s)-up = gary player


Instruction: text to sql

Input: In what tournament was the winning score –10 (68-71-69-70=278)?

Output: SELECT Tournament FROM table WHERE Winning score = –10 (68-71-69-70=278)


Instruction: text to sql

Input: What is the highest number of wins when earnings are larger than 150,643, more than 1 cut was made, there are more than 22 starts, and the money list rank is 32?

Output: SELECT MAX Wins FROM table WHERE Earnings (€) > 150,643 AND Cuts Made > 1 AND Starts > 22 AND Money list rank = 32


Instruction: text to sql

Input: What is the highest number of wins when more than 17 cuts and more than 25 starts were made, and the top 10 ranking is less than 8?

Output: SELECT MAX Wins FROM table WHERE Cuts Made > 17 AND Starts > 25 AND Top 10 < 8


Instruction: text to sql

Input: What is the average number of starts when the money list rank is 108 and the rank in the top 25 is greater than 4?

Output: SELECT AVG Starts FROM table WHERE Money list rank = 108 AND Top 25 > 4


Instruction: text to sql

Input: What is the money list rank when the starts are less than 30, earnings are larger than 8,689, and the ranking is 2 in the top 25?

Output: SELECT Money list rank FROM table WHERE Starts < 30 AND Earnings (€) > 8,689 AND Top 25 = 2


Instruction: text to sql

Input: What is the average number of starts when 11 cuts were made and the top 10 ranking is larger than 4?

Output: SELECT AVG Starts FROM table WHERE Cuts Made = 11 AND Top 10 > 4


Instruction: text to sql

Input: What is the Name when the position is g, and weight is 190 pounds?

Output: SELECT Name FROM table WHERE Position = g AND Weight (lbs.) = 190


Instruction: text to sql

Input: What is the Position with a weight of more than 195 pounds, height of 6'5", and named David Hoskins 3?

Output: SELECT Position FROM table WHERE Weight (lbs.) > 195 AND Height = 6'5" AND Name = david hoskins 3


Instruction: text to sql

Input: What is the sum of Weight for the person with a height of 6'6"?

Output: SELECT SUM Weight (lbs.) FROM table WHERE Height = 6'6"


Instruction: text to sql

Input: Who was the home team of the game on 2 February 2006?

Output: SELECT Home FROM table WHERE Date = 2 february 2006


Instruction: text to sql

Input: What is the home team of the game with Warriors as the visitor team?

Output: SELECT Home FROM table WHERE Visitor = warriors


Instruction: text to sql

Input: What date was the match on a hard surface with a score of 6–4, 2–6, 3–6?

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


Instruction: text to sql

Input: What is the Score of the match on a clay surface with an outcome of winner, at the tournament ciudad juárez, and an Opponent in the final of estefania craciún?

Output: SELECT Score FROM table WHERE Surface = clay AND Outcome = winner AND Tournament = ciudad juárez AND Opponent in the final = estefania craciún


Instruction: text to sql

Input: What is the Outcome of the match with a Score of 6–3, 6–4?

Output: SELECT Outcome FROM table WHERE Score = 6–3, 6–4


Instruction: text to sql

Input: What is the Outcome of the match with a Score of 6–3, 6–4?

Output: SELECT Outcome FROM table WHERE Score = 6–3, 6–4


Instruction: text to sql

Input: What is the Outcome of the match on 12 september 2004?

Output: SELECT Outcome FROM table WHERE Date = 12 september 2004


Instruction: text to sql

Input: What was the Surface when the Score was 6–4, 2–6, 3–6?

Output: SELECT Surface FROM table WHERE Score = 6–4, 2–6, 3–6


Instruction: text to sql

Input: What is the 2000 kwh p y with a 2400 kwh/kw p y less than 12.5, a 3.8 1600 kwh/kw p y, and a 1800 kwh/kw p y less than 3.3?

Output: SELECT MAX 2000 kWh/kW p y FROM table WHERE 2400 kWh/kW p y < 12.5 AND 1600 kWh/kW p y = 3.8 AND 1800 kWh/kW p y < 3.3


Instruction: text to sql

Input: What is the total number of 1800 kwk/kw p y with an 8.8 1600 kwh/kw p y, and a 1200 kwh/kw p y greater than 11.7?

Output: SELECT COUNT 1800 kWh/kW p y FROM table WHERE 1600 kWh/kW p y = 8.8 AND 1200 kWh/kW p y > 11.7


Instruction: text to sql

Input: What is the average 800 kwh/kw p y with a 1600 kwh/kw p y less than 6.3 and a 2000 kwh/kw p y less than 1?

Output: SELECT AVG 800 kWh/kW p y FROM table WHERE 1600 kWh/kW p y < 6.3 AND 2000 kWh/kW p y < 1


Instruction: text to sql

Input: What is the average 2400 kwh/kw p y with a 1400 kwh/kw p y greater than 12.9, a 1200 kwh/kw p y greater than 21.7, and a 1600 kwh/kw p y greater than 18.8?

Output: SELECT AVG 2400 kWh/kW p y FROM table WHERE 1400 kWh/kW p y > 12.9 AND 1200 kWh/kW p y > 21.7 AND 1600 kWh/kW p y > 18.8


Instruction: text to sql

Input: What was the total attendance at a game against the Pittsburgh Steelers before week 4?

Output: SELECT COUNT Attendance FROM table WHERE Opponent = pittsburgh steelers AND Week < 4


Instruction: text to sql

Input: What was the date of the game held at the A venue with a result of 0-1 against the Rangers?

Output: SELECT Date FROM table WHERE Venue = a AND Result = 0-1 AND Opponent = rangers


Instruction: text to sql

Input: Who was the opponent on November 11, 2001?

Output: SELECT Opponent FROM table WHERE Date = november 11, 2001


Instruction: text to sql

Input: Who was the opponent before week 5 that played on September 23, 2001?

Output: SELECT Opponent FROM table WHERE Week < 5 AND Date = september 23, 2001


Instruction: text to sql

Input: What is the frequency of the Turion 64 X2 TL-62?

Output: SELECT Frequency FROM table WHERE Model Number = turion 64 x2 tl-62


Instruction: text to sql

Input: What is the socket for Order Part Number TMDTL68HAX5DM?

Output: SELECT Socket FROM table WHERE Order Part Number = tmdtl68hax5dm


Instruction: text to sql

Input: What is the multiplier 1 for chips with a frequency of 1800MHz?

Output: SELECT Multiplier 1 FROM table WHERE Frequency = 1800mhz


Instruction: text to sql

Input: What is the socket type for the processor with a multiplier 1 of 11.5x?

Output: SELECT Socket FROM table WHERE Multiplier 1 = 11.5x


Instruction: text to sql

Input: What is the highest sample size administered on October 18?

Output: SELECT MAX Sample size FROM table WHERE Date(s) administered = october 18


Instruction: text to sql

Input: What is the percentage for Mel Martinez when the sample size is 800?

Output: SELECT Mel Martinez (R) FROM table WHERE Sample size = 800


Instruction: text to sql

Input: How many games were played by the Scottish Wanderers where less than 5 Points were scored?

Output: SELECT SUM Played FROM table WHERE Team = scottish wanderers AND Points < 5


Instruction: text to sql

Input: How many games were played where exactly 15 points were scored?

Output: SELECT SUM Played FROM table WHERE Points = 15


Instruction: text to sql

Input: What LINER class has a W.A. of 0-6-0st with a 2 No. Built?

Output: SELECT LNER Class FROM table WHERE W.A. = 0-6-0st AND No. Built = 2


Instruction: text to sql

Input: What is the pick number for Peter Moore of the Montreal Alouettes?

Output: SELECT Pick # FROM table WHERE CFL Team = montreal alouettes AND Player = peter moore


Instruction: text to sql

Input: What CFL team did Kelly Bates play for?

Output: SELECT CFL Team FROM table WHERE Player = kelly bates


Instruction: text to sql

Input: How many average total matches have a swansea win less than 3, fa cup as the competition, with a draw less than 0?

Output: SELECT AVG Total Matches FROM table WHERE Swansea Win < 3 AND Competition = fa cup AND Draw < 0


Instruction: text to sql

Input: How many cardiff wins have a draw greater than 27?

Output: SELECT COUNT Cardiff Win FROM table WHERE Draw > 27


Instruction: text to sql

Input: How many average total matches have league cup as the competition, with a draw greater than 0?

Output: SELECT AVG Total Matches FROM table WHERE Competition = league cup AND Draw > 0


Instruction: text to sql

Input: What is the number of tries for when the try bonus is 0?

Output: SELECT Tries For FROM table WHERE Try Bonus = 0


Instruction: text to sql

Input: How many points is there when the lost is 6 and the try bonus is 9?

Output: SELECT Points for FROM table WHERE Lost = 6 AND Try Bonus = 9


Instruction: text to sql

Input: How many pints does the Cambrian Welfare RFC have?

Output: SELECT Points for FROM table WHERE Club = cambrian welfare rfc


Instruction: text to sql

Input: When the try bonus is 9 and the lost 4, what is the drawn?

Output: SELECT Drawn FROM table WHERE Try Bonus = 9 AND Lost = 4


Instruction: text to sql

Input: Club Clwb Rygbi Cymru Caerdydd RFC has how many points?

Output: SELECT Points FROM table WHERE Club = clwb rygbi cymru caerdydd rfc


Instruction: text to sql

Input: What is the highest Rank with a density less than 376.37, the province was valverde, and an Area larger than 823?

Output: SELECT MAX Rank FROM table WHERE Density < 376.37 AND Province = valverde AND Area > 823


Instruction: text to sql

Input: What is the average Density when the area is more than 1,185.8 with a population of 63,029?

Output: SELECT AVG Density FROM table WHERE Area > 1,185.8 AND Population = 63,029


Instruction: text to sql

Input: What is the highest Density for the independencia province, with an area smaller than 2,007.4?

Output: SELECT MAX Density FROM table WHERE Province = independencia AND Area < 2,007.4


Instruction: text to sql

Input: Which 2nd leg has pamesa valencia for team #2?

Output: SELECT 2nd leg FROM table WHERE Team #2 = pamesa valencia


Instruction: text to sql

Input: What is the team #1 that has unics kazan for team #2?

Output: SELECT Team #1 FROM table WHERE Team #2 = unics kazan


Instruction: text to sql

Input: What is the 1st leg that has akasvayu girona as team #2?

Output: SELECT 1st leg FROM table WHERE Team #2 = akasvayu girona


Instruction: text to sql

Input: Which Wins has a Tournament of totals, and a Cuts made larger than 42?

Output: SELECT AVG Wins FROM table WHERE Tournament = totals AND Cuts made > 42


Instruction: text to sql

Input: Which Top-10 has a Cuts made larger than 42?

Output: SELECT MIN Top-10 FROM table WHERE Cuts made > 42


Instruction: text to sql

Input: Which Wins has a Top-5 of 6?

Output: SELECT AVG Wins FROM table WHERE Top-5 = 6


Instruction: text to sql

Input: Which Cuts made has a Top-25 smaller than 3?

Output: SELECT MAX Cuts made FROM table WHERE Top-25 < 3


Instruction: text to sql

Input: Which Top-10 has a Cuts made of 10, and a Top-5 larger than 1?

Output: SELECT MIN Top-10 FROM table WHERE Cuts made = 10 AND Top-5 > 1


Instruction: text to sql

Input: Concerning protestantism by country, the ranking is out of how many total?

Output: SELECT Out of FROM table WHERE Source = protestantism by country


Instruction: text to sql

Input: What is the lowest rank that the protestants population holds?

Output: SELECT MIN Rank FROM table WHERE Name = protestants population


Instruction: text to sql

Input: The album titled I had what chart positions?

Output: SELECT Chart positions FROM table WHERE Album title = i


Instruction: text to sql

Input: What is the title of the album that has Popup has the original label?

Output: SELECT Album title FROM table WHERE Original label = popup


Instruction: text to sql

Input: What is the format of the album with a year less than 1992?

Output: SELECT Format FROM table WHERE Year < 1992


Instruction: text to sql

Input: What chart positions did the album reach when ep was the format?

Output: SELECT Chart positions FROM table WHERE Format = ep


Instruction: text to sql

Input: What was the average pick with Ed O'Bannon and a round smaller than 1?

Output: SELECT AVG Pick FROM table WHERE Player = ed o'bannon AND Round < 1


Instruction: text to sql

Input: What player was drafted for the Detroit Pistons?

Output: SELECT Player FROM table WHERE NBA Team = detroit pistons


Instruction: text to sql

Input: Which Team 2 had a Team 1 of montreal impact?

Output: SELECT Team 2 FROM table WHERE Team 1 = montreal impact


Instruction: text to sql

Input: Which Team 2 had a Team 1of joe public?

Output: SELECT Team 2 FROM table WHERE Team 1 = joe public


Instruction: text to sql

Input: Which team 1 had a Team 2 of hankook verdes?

Output: SELECT Team 1 FROM table WHERE Team 2 = hankook verdes


Instruction: text to sql

Input: What is the first leg score when team 2 is Wagad Mogadishu?

Output: SELECT 1st leg FROM table WHERE Team 2 = wagad mogadishu


Instruction: text to sql

Input: What is the first leg score when the second leg score is 0-4?

Output: SELECT 1st leg FROM table WHERE 2nd leg = 0-4


Instruction: text to sql

Input: What is the first leg score when the second leg score is 0-4?

Output: SELECT 1st leg FROM table WHERE 2nd leg = 0-4


Instruction: text to sql

Input: What is the Status with a Name that is anas cheuen?

Output: SELECT Status FROM table WHERE Name = anas cheuen


Instruction: text to sql

Input: What is the Unit with a Name that is anas cheuen?

Output: SELECT Unit FROM table WHERE Name = anas cheuen


Instruction: text to sql

Input: What team was the Opponent when the Score was 31-6?

Output: SELECT Opponent FROM table WHERE Score = 31-6


Instruction: text to sql

Input: What is the Score when the record was 9-3-0?

Output: SELECT Score FROM table WHERE Record = 9-3-0


Instruction: text to sql

Input: What is the Record with an attendance of more than 54,761, and a Result of loss?

Output: SELECT Record FROM table WHERE attendance > 54,761 AND Result = loss


Instruction: text to sql

Input: What is the away team where the home team is Coventry City?

Output: SELECT Away team FROM table WHERE Home team = coventry city


Instruction: text to sql

Input: What is the score where the away team is Exeter City?

Output: SELECT Score FROM table WHERE Away team = exeter city


Instruction: text to sql

Input: How many ties does Walsall have?

Output: SELECT Tie no FROM table WHERE Away team = walsall


Instruction: text to sql

Input: Where Bolton Wanderers is the home team, who is the away team?

Output: SELECT Away team FROM table WHERE Home team = bolton wanderers


Instruction: text to sql

Input: How many ties are there where attendance is 11,997?

Output: SELECT Tie no FROM table WHERE Attendance = 11,997


Instruction: text to sql

Input: Where the away team is Bradford City, who is the home team?

Output: SELECT Home team FROM table WHERE Away team = bradford city


Instruction: text to sql

Input: For which school/club team did the player in the position of Guard/Forward play?

Output: SELECT School/Club Team FROM table WHERE Position = guard/forward


Instruction: text to sql

Input: How was the player in the position of Center acquired?

Output: SELECT Acquisition via FROM table WHERE Position = center


Instruction: text to sql

Input: In what season did Omar Thomas play, with a jersey number larger than 15?

Output: SELECT Season FROM table WHERE Number > 15 AND Name = omar thomas


Instruction: text to sql

Input: How many total players came from the school/club team of De La Salle?

Output: SELECT COUNT Number FROM table WHERE School/Club Team = de la salle


Instruction: text to sql

Input: Which player is in the position of Guard/Forward?

Output: SELECT Name FROM table WHERE Position = guard/forward


Instruction: text to sql

Input: What is the most wins associated with under 4 events with 0 top-5s?

Output: SELECT MAX Wins FROM table WHERE Top-5 > 0 AND Events < 4


Instruction: text to sql

Input: What is the average number of events having 1 top-10, fewer than 4 cuts made, and 0 wins?

Output: SELECT AVG Events FROM table WHERE Top-10 = 1 AND Wins > 0 AND Cuts made < 4


Instruction: text to sql

Input: What is the average number of wins for events larger than 28?

Output: SELECT AVG Wins FROM table WHERE Events > 28


Instruction: text to sql

Input: What is the sum of top-25s for events with more than 1 top-5?

Output: SELECT SUM Top-25 FROM table WHERE Top-5 > 1


Instruction: text to sql

Input: Who is the producer of city sharks?

Output: SELECT Producer FROM table WHERE Title = city sharks


Instruction: text to sql

Input: What is the title of the film when the producer was 2003?

Output: SELECT Title FROM table WHERE Producer = 2003


Instruction: text to sql

Input: Who is the director when the title is 2003?

Output: SELECT Director FROM table WHERE Title = 2003


Instruction: text to sql

Input: What is the production cost when the producer is raintree pictures?

Output: SELECT Production Cost FROM table WHERE Producer = raintree pictures


Instruction: text to sql

Input: What was the lowest attendance at a week 15 game?

Output: SELECT MIN Attendance FROM table WHERE Week = 15


Instruction: text to sql

Input: What is the Score for the game with a record of 38-18?

Output: SELECT Score FROM table WHERE Record = 38-18


Instruction: text to sql

Input: What team was the opponent when the score was 8-2?

Output: SELECT Opponent FROM table WHERE Score = 8-2


Instruction: text to sql

Input: What is the Location when the opponent shows vs. ole miss, and a Loss of mckean (4-1)?

Output: SELECT Location FROM table WHERE Opponent = vs. ole miss AND Loss = mckean (4-1)


Instruction: text to sql

Input: What is the name of the Opponent when there is a Record of 39-19?

Output: SELECT Opponent FROM table WHERE Record = 39-19


Instruction: text to sql

Input: What is the Record on may 24, with a Loss of hayes (2-1)?

Output: SELECT Record FROM table WHERE Date = may 24 AND Loss = hayes (2-1)


Instruction: text to sql

Input: What is the Location when the Opponent shows vs. #23 south carolina?

Output: SELECT Location FROM table WHERE Opponent = vs. #23 south carolina


Instruction: text to sql

Input: What is that if the weight for the play born on June 2, 1983?

Output: SELECT SUM Weight (kg) FROM table WHERE Birthdate = june 2, 1983


Instruction: text to sql

Input: What was the highest weight in kg for F Position, Jersey #12?

Output: SELECT MAX Weight (kg) FROM table WHERE Position = f AND Jersey # = 12


Instruction: text to sql

Input: Which player is the NHL right, who was born in Downers Grove, Illinois?

Output: SELECT NHL rights, if any FROM table WHERE Birthplace = downers grove, illinois


Instruction: text to sql

Input: Which coding's variant id is abd'1a 3?

Output: SELECT Coding FROM table WHERE Variant id = abd'1a 3


Instruction: text to sql

Input: Which 5'utr splice's coding is 1a 2, when the Variant id is abd'1a 2?

Output: SELECT 5’UTR splice FROM table WHERE Coding = 1a 2 AND Variant id = abd'1a 2


Instruction: text to sql

Input: Which variant id's coding is 1a 5 when the 5'utr splice is abd'?

Output: SELECT Variant id FROM table WHERE Coding = 1a 5 AND 5’UTR splice = abd'


Instruction: text to sql

Input: Which genbank id's variant is abd1a?

Output: SELECT GenBank id FROM table WHERE Variant id = abd1a


Instruction: text to sql

Input: Which coding entry has a 3'utr sequence of 1a 0 and a 5'utr splice that is abd?

Output: SELECT Coding FROM table WHERE 3’UTR sequence = 1a 0 AND 5’UTR splice = abd


Instruction: text to sql

Input: Which genbank id has a 5'utr splice of abd and a variant id that is abd1a 3?

Output: SELECT GenBank id FROM table WHERE 5’UTR splice = abd AND Variant id = abd1a 3


Instruction: text to sql

Input: What year did Orlando have a School/Club team in Clemson?

Output: SELECT Years in Orlando FROM table WHERE School/Club Team = clemson


Instruction: text to sql

Input: What years did the player in Orlando play that is from the United States, and is part of the school/club team Clemson?

Output: SELECT Years in Orlando FROM table WHERE Nationality = united states AND School/Club Team = clemson


Instruction: text to sql

Input: Who is the player for the School/Club team in Georgia?

Output: SELECT Player FROM table WHERE School/Club Team = georgia


Instruction: text to sql

Input: What was the nationality of the player Pat Garrity?

Output: SELECT Nationality FROM table WHERE Player = pat garrity


Instruction: text to sql

Input: What is the nationality of the School/Club team of Louisville?

Output: SELECT Nationality FROM table WHERE School/Club Team = louisville


Instruction: text to sql

Input: How many features did Adam Carroll win 6 times when the start was larger than 32?

Output: SELECT COUNT Feature FROM table WHERE Wins = 6 AND Driver = adam carroll AND Starts > 32


Instruction: text to sql

Input: What is the lowest feature with 2 wins and 2 sprints?

Output: SELECT MIN Feature FROM table WHERE Wins = 2 AND Sprint = 2


Instruction: text to sql

Input: How many sprints on average had 10 wins and less than 5 features?

Output: SELECT AVG Sprint FROM table WHERE Wins = 10 AND Feature < 5


Instruction: text to sql

Input: Which country has a lane greater than 6 and a mark of 6.63?

Output: SELECT Country FROM table WHERE Lane > 6 AND Mark = 6.63


Instruction: text to sql

Input: What is the lowest lane for Nigeria, with a react less than 0.133?

Output: SELECT MIN Lane FROM table WHERE Country = nigeria AND React < 0.133


Instruction: text to sql

Input: What is the mark for Kim Collins?

Output: SELECT Mark FROM table WHERE Name = kim collins


Instruction: text to sql

Input: Which country had 1 Bronze, 1 Silver, with a total of 3 medals?

Output: SELECT Nation FROM table WHERE Bronze = 1 AND Total = 3 AND Silver = 1


Instruction: text to sql

Input: Which country had more than 2 silvers and less than 4 golds?

Output: SELECT Nation FROM table WHERE Silver > 2 AND Gold < 4


Instruction: text to sql

Input: What's the average bronze with a total number of medals being 1, with more than 0 silvers?

Output: SELECT AVG Bronze FROM table WHERE Total = 1 AND Silver > 0


Instruction: text to sql

Input: In the 2005 season, how many races did the 15th place team complete?

Output: SELECT AVG Races FROM table WHERE Final Placing = 15th AND Season = 2005


Instruction: text to sql

Input: Which team completed 10 races?

Output: SELECT Team Name FROM table WHERE Races = 10


Instruction: text to sql

Input: What is the PBA team with a Pick that is 4?

Output: SELECT PBA team FROM table WHERE Pick = 4


Instruction: text to sql

Input: What is the Player with a Pick that is 6?

Output: SELECT Player FROM table WHERE Pick = 6


Instruction: text to sql

Input: How many totals have 1 gold and a rank smaller than 2?

Output: SELECT COUNT Total FROM table WHERE Gold = 1 AND Rank < 2


Instruction: text to sql

Input: How much gold did South Korea get?

Output: SELECT SUM Gold FROM table WHERE Nation = south korea


Instruction: text to sql

Input: What locomotive built after 1895 has the highest SLM number?

Output: SELECT MAX SLM Number FROM table WHERE Built > 1895


Instruction: text to sql

Input: Which type of locomotive was built in 1923?

Output: SELECT Type FROM table WHERE Built = 1923


Instruction: text to sql

Input: What is the first locomotive that has a SLM number lower than 924?

Output: SELECT MIN Number FROM table WHERE SLM Number < 924


Instruction: text to sql

Input: When the United Kingdom had a time of 1:30.51.2, what was the lowest that they ranked?

Output: SELECT MIN Place FROM table WHERE Country = united kingdom AND Time = 1:30.51.2


Instruction: text to sql

Input: What County scored with a speed of 98.09mph?

Output: SELECT Country FROM table WHERE Speed = 98.09mph


Instruction: text to sql

Input: What is Set 4, when Date is Jun 27, and when Set 3 is 17-25?

Output: SELECT Set 4 FROM table WHERE Date = jun 27 AND Set 3 = 17-25


Instruction: text to sql

Input: What is Score, when Set 3 is 17-25?

Output: SELECT Score FROM table WHERE Set 3 = 17-25


Instruction: text to sql

Input: What is Set 5, when Date is Jun 26, and when Set 2 is 25-22?

Output: SELECT Set 5 FROM table WHERE Date = jun 26 AND Set 2 = 25-22


Instruction: text to sql

Input: What is Set 1, when Set 3 is 22-25?

Output: SELECT Set 1 FROM table WHERE Set 3 = 22-25


Instruction: text to sql

Input: What is Set 1, when Date is Jun 26, and when Set 4 is 26-24?

Output: SELECT Set 1 FROM table WHERE Date = jun 26 AND Set 4 = 26-24


Instruction: text to sql

Input: What is Set 4, when Set 5 is NA, and when Set 3 is 19-25?

Output: SELECT Set 4 FROM table WHERE Set 5 = na AND Set 3 = 19-25


Instruction: text to sql

Input: What is the Team when the match was in buenos aires , argentina?

Output: SELECT Team FROM table WHERE Location = buenos aires , argentina


Instruction: text to sql

Input: What is the Location when the team was seve ballesteros & manuel piñero?

Output: SELECT Location FROM table WHERE Team = seve ballesteros & manuel piñero


Instruction: text to sql

Input: What is the Location when the individual was josé maria cañizares?

Output: SELECT Location FROM table WHERE Individual = josé maria cañizares


Instruction: text to sql

Input: What is the highest Year when the team was seve ballesteros & manuel piñero?

Output: SELECT MAX Year FROM table WHERE Team = seve ballesteros & manuel piñero


Instruction: text to sql

Input: What is the total number of acres at Sai Tso Wan, opening before 1978?

Output: SELECT COUNT Acres FROM table WHERE Landfill = sai tso wan AND Opened < 1978


Instruction: text to sql

Input: Which Rank has a Goals smaller than 76, and a Matches larger than 270?

Output: SELECT SUM Rank FROM table WHERE Goals < 76 AND Matches > 270


Instruction: text to sql

Input: Which Matches have a Rank smaller than 5, a Years of 1995–2003, and a Goals smaller than 104?

Output: SELECT AVG Matches FROM table WHERE Rank < 5 AND Years = 1995–2003 AND Goals < 104


Instruction: text to sql

Input: Which Goals have a Name of lee dong-gook?

Output: SELECT MAX Goals FROM table WHERE Name = lee dong-gook


Instruction: text to sql

Input: Which Rank has a Years of 1998–present?

Output: SELECT AVG Rank FROM table WHERE Years = 1998–present


Instruction: text to sql

Input: Which Matches have a Rank of 2?

Output: SELECT COUNT Matches FROM table WHERE Rank = 2


Instruction: text to sql

Input: What Position was achieved in the World Championships Competition in Tokyo, Japan?

Output: SELECT Position FROM table WHERE Competition = world championships AND Venue = tokyo, japan


Instruction: text to sql

Input: Which Competition was 1st Position with 57.03 in Notes?

Output: SELECT Competition FROM table WHERE Position = 1st AND Notes = 57.03


Instruction: text to sql

Input: What is the earliest Year for 400m h Event with 54.86 in Notes?

Output: SELECT MIN Year FROM table WHERE Event = 400m h AND Notes = 54.86


Instruction: text to sql

Input: What is the total number of appearances for players from Chaux-de-Fonds with places over 8?

Output: SELECT COUNT Appearances FROM table WHERE Team = chaux-de-fonds AND Place > 8


Instruction: text to sql

Input: What is the highest week of the game on November 9, 1997?

Output: SELECT MAX Week FROM table WHERE Date = november 9, 1997


Instruction: text to sql

Input: Which Proto-Austronesian has a Proto-Oceanic of *lima?

Output: SELECT Proto-Austronesian FROM table WHERE Proto-Oceanic = *lima


Instruction: text to sql

Input: Which Proto-Oceanic has a Proto-Polynesian of *lima?

Output: SELECT Proto-Oceanic FROM table WHERE Proto-Polynesian = *lima


Instruction: text to sql

Input: Which Number has a Proto-Polynesian of *taha?

Output: SELECT Number FROM table WHERE Proto-Polynesian = *taha


Instruction: text to sql

Input: WHich Proto-Polynesian has a Number of five?

Output: SELECT Proto-Polynesian FROM table WHERE Number = five


Instruction: text to sql

Input: Which Proto-Polynesian has a Proto-Malayo-Polynesian of *telu?

Output: SELECT Proto-Polynesian FROM table WHERE Proto-Malayo-Polynesian = *telu


Instruction: text to sql

Input: Which  Proto-Oceanic has a Proto-Polynesian of *lima?

Output: SELECT Proto-Oceanic FROM table WHERE Proto-Polynesian = *lima


Instruction: text to sql

Input: How many countries in 2009 have fewer than 1 in 1999, more than 0 in 2006 and none in 1997?

Output: SELECT COUNT 2009 FROM table WHERE 1999 < 1 AND 2006 > 0 AND 1997 < 0


Instruction: text to sql

Input: How much is the highest number in 2006 with fewer than 0 in 2002?

Output: SELECT MAX 2006 FROM table WHERE 2002 < 0


Instruction: text to sql

Input: How many are there in 2003 that have 0 in 2001, more than 0 in 2009 and fewer than 0 in 1999?

Output: SELECT SUM 2003 FROM table WHERE 2001 = 0 AND 2009 > 0 AND 1999 < 0


Instruction: text to sql

Input: Which country has more than 0 in 2012 and 2009, 0 in 2008 and more than 0 in 2004?

Output: SELECT Country FROM table WHERE 2012 > 0 AND 2009 > 0 AND 2008 = 0 AND 2004 > 0


Instruction: text to sql

Input: Which % GDP has an Expenditure larger than 50.9, and a Year larger than 2009, and an Income of 39.3?

Output: SELECT % GDP FROM table WHERE Expenditure > 50.9 AND Year > 2009 AND Income = 39.3


Instruction: text to sql

Input: Which Year has an Expenditure smaller than 41.3, and a % GDP of x, and an Income larger than 34.4?

Output: SELECT SUM Year FROM table WHERE Expenditure < 41.3 AND % GDP = x AND Income > 34.4


Instruction: text to sql

Input: Which Surplus(Deficit) has an Expenditure larger than 45.8, and a Year smaller than 2011, and a % GDP of (0.9%)?

Output: SELECT Surplus(Deficit) FROM table WHERE Expenditure > 45.8 AND Year < 2011 AND % GDP = (0.9%)


Instruction: text to sql

Input: Which Year has an Expenditure of 55, and an Income smaller than 36.2?

Output: SELECT MIN Year FROM table WHERE Expenditure = 55 AND Income < 36.2


Instruction: text to sql

Input: Which % GDP has a Year smaller than 2011, and an Expenditure larger than 41.3, and an Income smaller than 48, and a Surplus(Deficit) of (24.6)?

Output: SELECT % GDP FROM table WHERE Year < 2011 AND Expenditure > 41.3 AND Income < 48 AND Surplus(Deficit) = (24.6)


Instruction: text to sql

Input: What year was the Grand Prix Passing Shot Bordeaux that had Runners-up of Diego Nargiso?

Output: SELECT Year FROM table WHERE Tournament Name = grand prix passing shot bordeaux AND Runners-up = diego nargiso


Instruction: text to sql

Input: What tournament had a score of 5–7, 6–4, 6–4?

Output: SELECT Tournament Name FROM table WHERE Score = 5–7, 6–4, 6–4


Instruction: text to sql

Input: After 1989, what was the score of the Grand Prix Passing Shot where the Runners-up were Jeff Tarango?

Output: SELECT Score FROM table WHERE Year > 1989 AND Tournament Name = grand prix passing shot AND Runners-up = jeff tarango


Instruction: text to sql

Input: What's the name of the tournament that Gianni Ocleppo was the runner-up?

Output: SELECT Tournament Name FROM table WHERE Runners-up = gianni ocleppo


Instruction: text to sql

Input: What is the lowest percentage of wins for 6½ games and more than 77 total wins?

Output: SELECT MIN Win% FROM table WHERE Games behind = 6½ AND Wins > 77


Instruction: text to sql

Input: What is the score of the competition on November 10?

Output: SELECT Score FROM table WHERE Date = november 10


Instruction: text to sql

Input: Who is the visitor when the record is 2-1?

Output: SELECT Visitor FROM table WHERE Record = 2-1


Instruction: text to sql

Input: Who is the home team when the score is 81-80?

Output: SELECT Home FROM table WHERE Score = 81-80


Instruction: text to sql

Input: How many Gold medals did Japan receive who had a Total of more than 1 medals?

Output: SELECT SUM Gold FROM table WHERE Nation = japan AND Total > 1


Instruction: text to sql

Input: What time (cst) has and NFL recap of recap with october 19, 2008 as the date?

Output: SELECT Time (CST) FROM table WHERE NFL Recap = recap AND Date = october 19, 2008


Instruction: text to sql

Input: Which week has giants stadium as the game site?

Output: SELECT Week FROM table WHERE Game site = giants stadium


Instruction: text to sql

Input: What is the lowest week that has 7:15 p.m. as the time (cst) and fedexfield as the game site?

Output: SELECT MIN Week FROM table WHERE Time (CST) = 7:15 p.m. AND Game site = fedexfield


Instruction: text to sql

Input: What office was law preservation ticket holder William E. Barron running for?

Output: SELECT Office FROM table WHERE Law Preservation ticket = william e. barron


Instruction: text to sql

Input: Who was the constitutional ticken when Charles B. Sears was the republican ticket?

Output: SELECT Constitutional ticket FROM table WHERE Republican ticket = charles b. sears


Instruction: text to sql

Input: Who was the constitutional ticket when william karlin was the socialist ticket?

Output: SELECT Constitutional ticket FROM table WHERE Socialist ticket = william karlin


Instruction: text to sql

Input: What was the margin of victory on Mar 18, 1979?

Output: SELECT Margin of victory FROM table WHERE Date = mar 18, 1979


Instruction: text to sql

Input: What is the comp for the year 1989?

Output: SELECT Comp FROM table WHERE Year = 1989


Instruction: text to sql

Input: What is the team in 1989?

Output: SELECT Team FROM table WHERE Year = 1989


Instruction: text to sql

Input: What is the RAtt in the year 1988?

Output: SELECT RAtt FROM table WHERE Year = 1988


Instruction: text to sql

Input: What was the team with a Ratt of 42?

Output: SELECT Team FROM table WHERE RAtt = 42


Instruction: text to sql

Input: What was the team with a ratt of 57?

Output: SELECT Team FROM table WHERE RAtt = 57


Instruction: text to sql

Input: Who did the Giants play before week 7 in Tulane Stadium?

Output: SELECT Opponent FROM table WHERE Week < 7 AND Game site = tulane stadium


Instruction: text to sql

Input: What was the lowest attendance for week 1?

Output: SELECT MIN Attendance FROM table WHERE Week = 1


Instruction: text to sql

Input: What is the highest rank of a player from Ethiopia?

Output: SELECT MAX Rank FROM table WHERE Country = ethiopia


Instruction: text to sql

Input: How many ranks had 367 matches and more than 216 goals?

Output: SELECT SUM Rank FROM table WHERE Matches = 367 AND Goals > 216


Instruction: text to sql

Input: What is the mean rank number when goals are 230 and there are more than 535?

Output: SELECT AVG Rank FROM table WHERE Goals = 230 AND Matches > 535


Instruction: text to sql

Input: Where the audience share is 8%, what is the original airing?

Output: SELECT Original airing FROM table WHERE Audience share (average) = 8%


Instruction: text to sql

Input: For episode number 2 what is the season viewer average?

Output: SELECT Season viewer average FROM table WHERE Episode number = 2


Instruction: text to sql

Input: What episode number has an audience share of 10%?

Output: SELECT COUNT Episode number FROM table WHERE Audience share (average) = 10%


Instruction: text to sql

Input: What is the value for the item "Class" when the value of the item "Wheels" is 137?

Output: SELECT Class FROM table WHERE Wheels = 137


Instruction: text to sql

Input: What's the smallest number of games for the fenerbahçe team?

Output: SELECT MIN Games FROM table WHERE Team = fenerbahçe


Instruction: text to sql

Input: What's the mean game number for the olympiacos team when there's less than 17 rebounds?

Output: SELECT AVG Games FROM table WHERE Team = olympiacos AND Rebounds < 17


Instruction: text to sql

Input: How many games does novica veličković have when there's more than 24 rebounds?

Output: SELECT COUNT Games FROM table WHERE Name = novica veličković AND Rebounds > 24


Instruction: text to sql

Input: What is the League with a Year that is 1990/91?

Output: SELECT League FROM table WHERE Year = 1990/91


Instruction: text to sql

Input: What is the ICAO for simferopol international airport?

Output: SELECT ICAO FROM table WHERE Airport = simferopol international airport


Instruction: text to sql

Input: Which country has an IATA of gzt?

Output: SELECT Country FROM table WHERE IATA = gzt


Instruction: text to sql

Input: What country is Yerevan located in?

Output: SELECT Country FROM table WHERE City = yerevan


Instruction: text to sql

Input: What is the ICAO when the IATA is ika?

Output: SELECT ICAO FROM table WHERE IATA = ika


Instruction: text to sql

Input: What is the ICAO when the IATA is ist?

Output: SELECT ICAO FROM table WHERE IATA = ist


Instruction: text to sql

Input: Which team has 10 losses?

Output: SELECT Team FROM table WHERE Lost = 10


Instruction: text to sql

Input: In which yearly change was there a capacity of 78.4% and a rank smaller than 3?

Output: SELECT Annual change FROM table WHERE Rank < 3 AND Capacity in use = 78.4%


Instruction: text to sql

Input: In Which rank was there a location of porto alegre?

Output: SELECT Rank FROM table WHERE Location = porto alegre


Instruction: text to sql

Input: what is the number of passengers when the capacity is 81.2%?

Output: SELECT SUM Total Passengers FROM table WHERE Capacity in use = 81.2%


Instruction: text to sql

Input: what is the highest amount of passengers when there is a rank of 1?

Output: SELECT MAX Total Passengers FROM table WHERE Rank = 1


Instruction: text to sql

Input: Which highest rank had an annual change of 10.3% and a capacity of people smaller than 1,368,968?

Output: SELECT MAX Rank FROM table WHERE Annual change = 10.3% AND Total Passengers < 1,368,968


Instruction: text to sql

Input: What was the latest Week on which the Result was l 17–0?

Output: SELECT MAX Week FROM table WHERE Result = l 17–0


Instruction: text to sql

Input: What is the average cuts made at the top 25, less than 10, and at the Top 10 more than 3?

Output: SELECT AVG Cuts made FROM table WHERE Top-25 < 10 AND Top-10 > 3


Instruction: text to sql

Input: What is average Top 10 with 0 wins?

Output: SELECT AVG Top-10 FROM table WHERE Wins < 0


Instruction: text to sql

Input: What is the average event for the Open Championship Tournament, and a Top-5 less than 1?

Output: SELECT AVG Events FROM table WHERE Tournament = the open championship AND Top-5 < 1


Instruction: text to sql

Input: What is the average wins has Top-25 less than 0?

Output: SELECT AVG Wins FROM table WHERE Top-25 < 0


Instruction: text to sql

Input: What is the largest Against with a Byes larger than 0?

Output: SELECT MAX Against FROM table WHERE Byes > 0


Instruction: text to sql

Input: Which Wins has an Against of 1940, and a Byes larger than 0?

Output: SELECT MAX Wins FROM table WHERE Against = 1940 AND Byes > 0


Instruction: text to sql

Input: Which Draws has a Wins of 10, and a Peel of south mandurah, and a Byes larger than 0?

Output: SELECT AVG Draws FROM table WHERE Wins = 10 AND Peel = south mandurah AND Byes > 0


Instruction: text to sql

Input: Which Against has a Draws larger than 0, a Losses smaller than 16, and a Wins smaller than 4?

Output: SELECT MAX Against FROM table WHERE Draws > 0 AND Losses < 16 AND Wins < 4


Instruction: text to sql

Input: Which Losses has an Against of 1101, and a Byes smaller than 0?

Output: SELECT COUNT Losses FROM table WHERE Against = 1101 AND Byes < 0


Instruction: text to sql

Input: Which Byes has a Losses smaller than 1?

Output: SELECT MAX Byes FROM table WHERE Losses < 1


Instruction: text to sql

Input: What is the average number of games of the player with a rank less than 1?

Output: SELECT AVG Games FROM table WHERE Rank < 1


Instruction: text to sql

Input: What is the highest rank of the player with less than 32 points?

Output: SELECT MAX Rank FROM table WHERE Points < 32


Instruction: text to sql

Input: What is the rank of the player with less than 34 points?

Output: SELECT SUM Rank FROM table WHERE Points < 34


Instruction: text to sql

Input: Who's Fourth District has a Second District of bob springstead?

Output: SELECT Fourth District FROM table WHERE Second District = bob springstead


Instruction: text to sql

Input: Who's the First District with a Fifth District of prudy adam?

Output: SELECT First District FROM table WHERE Fifth District = prudy adam


Instruction: text to sql

Input: Who's the Fourth District with a First District of beverly bodem?

Output: SELECT Fourth District FROM table WHERE First District = beverly bodem


Instruction: text to sql

Input: Who's the Fourth District with a Second District of kurt van koevering?

Output: SELECT Fourth District FROM table WHERE Second District = kurt van koevering


Instruction: text to sql

Input: Who's the Fifth District with a Second District of paul leidig?

Output: SELECT Fifth District FROM table WHERE Second District = paul leidig


Instruction: text to sql

Input: Who's the Fourth District with a Third District of sharon yentsch?

Output: SELECT Fourth District FROM table WHERE Third District = sharon yentsch


Instruction: text to sql

Input: How many Sets did Gary Muller have?

Output: SELECT COUNT Sets FROM table WHERE Player = gary muller


Instruction: text to sql

Input: What Player in 2005 Wimbledon had less than 5 Sets?

Output: SELECT Player FROM table WHERE Sets < 5 AND Event = 2005 wimbledon


Instruction: text to sql

Input: At the 2001 Davis Cup, what Opponent had less than 50 Aces?

Output: SELECT Opponent FROM table WHERE Aces < 50 AND Event = 2001 davis cup


Instruction: text to sql

Input: What is Channel 4 and Channel 4+1's rating in E4 and E4+1 when the ratings were 780,200?

Output: SELECT Position in Channel 4 and Channel 4+1's ratings FROM table WHERE Position in E4 and E4+1's ratings = 780,200


Instruction: text to sql

Input: What time did Channel 4 air an episode number larger than 106 with the title of Marry Me A Little?

Output: SELECT Time of airing on Channel 4 FROM table WHERE Episode number > 106 AND Title = marry me a little


Instruction: text to sql

Input: What is the total number of sunk by U-boats with less than 2 German submarines lost, 56328 sunk by aircrafts, and more than 8269 sunk by mines?

Output: SELECT COUNT Sunk by U-Boat FROM table WHERE German submarines lost < 2 AND Sunk by aircraft = 56328 AND Sunk by mines > 8269


Instruction: text to sql

Input: What is the total number sunk by warship or raider with 20 German submarines lost and more than 21616 sunk by aircraft?

Output: SELECT COUNT Sunk by warship or raider FROM table WHERE German submarines lost = 20 AND Sunk by aircraft > 21616


Instruction: text to sql

Input: What is the total number of German submarines lost with more than 120958 sunk by mines?

Output: SELECT COUNT German submarines lost FROM table WHERE Sunk by mines > 120958


Instruction: text to sql

Input: What is the month and year less than 5 German submarines were lost, less than 6893 were sunk by warship or raider, less than 133746 were sunk by aircraft, and more than 111263 were sunk by U-boat?

Output: SELECT Month, year FROM table WHERE German submarines lost < 5 AND Sunk by warship or raider < 6893 AND Sunk by aircraft < 133746 AND Sunk by U-Boat > 111263


Instruction: text to sql

Input: What is the month and year less than 106005 were sunk by aircraft and 61857 were sunk by warship or raider?

Output: SELECT Month, year FROM table WHERE Sunk by aircraft < 106005 AND Sunk by warship or raider = 61857


Instruction: text to sql

Input: What is the post-1986 provinces with a 全羅道 Hanja?

Output: SELECT Post-1896 Provinces FROM table WHERE Hanja = 全羅道


Instruction: text to sql

Input: What is the Korean dialect in the daegu capital?

Output: SELECT Korean dialect FROM table WHERE Capital = daegu


Instruction: text to sql

Input: What is the Korean dialect with a jeolla RR Romaja?

Output: SELECT Korean dialect FROM table WHERE RR Romaja = jeolla


Instruction: text to sql

Input: What is the Hanja for the hamgyeong RR Romaja?

Output: SELECT Hanja FROM table WHERE RR Romaja = hamgyeong


Instruction: text to sql

Input: What is the mean huc example code when the example name's lower snake, there are 6 digits, and less than 3 levels?

Output: SELECT AVG Example code (HUC) FROM table WHERE Example name = lower snake AND Digits = 6 AND Level < 3


Instruction: text to sql

Input: What's the approximate number of HUs when there are more than 2 digits, and 6 levels?

Output: SELECT COUNT Number of HUs (approximate) FROM table WHERE Digits > 2 AND Level = 6


Instruction: text to sql

Input: How many HUC example codes have 1 level?

Output: SELECT COUNT Example code (HUC) FROM table WHERE Level = 1


Instruction: text to sql

Input: What is the mean level number when the example name is lower snake and the approximate number is hus is less than 370?

Output: SELECT AVG Level FROM table WHERE Example name = lower snake AND Number of HUs (approximate) < 370


Instruction: text to sql

Input: What is the losses average when the against is greater than 1255 and wins is 0 and the draws less than 0?

Output: SELECT AVG Losses FROM table WHERE Against > 1255 AND Wins = 0 AND Draws < 0


Instruction: text to sql

Input: What is the smallest losses when the wins are 5 and the against less than 1852?

Output: SELECT MIN Losses FROM table WHERE Wins = 5 AND Against < 1852


Instruction: text to sql

Input: What is the total against that has wins less than 9, and losses less than 16, and 2 as the byes, and Ballarat FL of ballarat?

Output: SELECT SUM Against FROM table WHERE Wins < 9 AND Losses < 16 AND Byes = 2 AND Ballarat FL = ballarat


Instruction: text to sql

Input: What is the fewest losses that Ballarat FL of Lake Wendouree has when the wins are smaller than 9?

Output: SELECT MIN Losses FROM table WHERE Ballarat FL = lake wendouree AND Wins < 9


Instruction: text to sql

Input: What is the smallest byes when the wins are 3?

Output: SELECT MIN Byes FROM table WHERE Wins = 3