instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | What is the winning score of standard register ping tournament, which has Kelly Robbins as the runner-up? | SELECT Winning score FROM table WHERE Tournament = standard register ping AND Runner(s)-up = kelly robbins |
Translate the following into a SQL query | What is the winning score of the tournament on 16 May 1993? | SELECT Winning score FROM table WHERE Date = 16 may 1993 |
Translate the following into a SQL query | What is the margin of victory of the tournament on 5 Jun 1988? | SELECT Margin of victory FROM table WHERE Date = 5 jun 1988 |
Translate the following into a SQL query | What is the winning scor of the tournament with Robin Walton as the runner-up? | SELECT Winning score FROM table WHERE Runner(s)-up = robin walton |
Translate the following into a SQL query | which NHL team has a College/Junior/Club Team (League) of shattuck-saint mary's school (midget major aaa)? | SELECT NHL team FROM table WHERE College/Junior/Club Team (League) = shattuck-saint mary's school (midget major aaa) |
Translate the following into a SQL query | How many Rounds have a Nationality of canada, and a College/Junior/Club Team (League) of fort mcmurray oil barons (ajhl)? | SELECT COUNT Round FROM table WHERE Nationality = canada AND College/Junior/Club Team (League) = fort mcmurray oil barons (ajhl) |
Translate the following into a SQL query | Which Round has a NHL team of edmonton oilers and a Player of vyacheslav trukhno? | SELECT AVG Round FROM table WHERE NHL team = edmonton oilers AND Player = vyacheslav trukhno |
Translate the following into a SQL query | Which Round has a Nationality of united states, and a College/Junior/Club Team (League) of breck school (ushs)? | SELECT MIN Round FROM table WHERE Nationality = united states AND College/Junior/Club Team (League) = breck school (ushs) |
Translate the following into a SQL query | What is the max 1-min wind mph when the minimum press is 997? | SELECT Max 1-min wind mph (km/h) FROM table WHERE Min. press. ( mbar ) = 997 |
Translate the following into a SQL query | How many deaths occurred during Darby? | SELECT Deaths FROM table WHERE Storm name = darby |
Translate the following into a SQL query | What is the distance from Jaffa of Jerusalem station? | SELECT Distance from Jaffa FROM table WHERE Name/Location = jerusalem |
Translate the following into a SQL query | What visitor has February 11 as the date? | SELECT Visitor FROM table WHERE Date = february 11 |
Translate the following into a SQL query | Which venue is the friendly match in? | SELECT Venue FROM table WHERE Competition = friendly match |
Translate the following into a SQL query | What is the result of the friendly match in Seoul? | SELECT Result FROM table WHERE Competition = friendly match AND Venue = seoul |
Translate the following into a SQL query | What is the result of the 2007 AFC asian cup? | SELECT Result FROM table WHERE Competition = 2007 afc asian cup |
Translate the following into a SQL query | Which Runner(s)-up has a Margin of victory of 1 stroke, and a Tournament of world seniors invitational? | SELECT Runner(s)-up FROM table WHERE Margin of victory = 1 stroke AND Tournament = world seniors invitational |
Translate the following into a SQL query | Which Date has a Margin of victory of 4 strokes? | SELECT Date FROM table WHERE Margin of victory = 4 strokes |
Translate the following into a SQL query | Which Runner(s)-up has a Tournament of general foods pga seniors' championship? | SELECT Runner(s)-up FROM table WHERE Tournament = general foods pga seniors' championship |
Translate the following into a SQL query | Which Tournament has a Margin of victory of 2 strokes, and a Winning score of −14 (68-66-68=202)? | SELECT Tournament FROM table WHERE Margin of victory = 2 strokes AND Winning score = −14 (68-66-68=202) |
Translate the following into a SQL query | Which Date has a Winning score of −9 (70-64-70=203)? | SELECT Date FROM table WHERE Winning score = −9 (70-64-70=203) |
Translate the following into a SQL query | What was the High points when date was February 11? | SELECT High points FROM table WHERE Date = february 11 |
Translate the following into a SQL query | What was the team that has a High rebounds of popeye jones (14), and when the Record was 16-28? | SELECT Team FROM table WHERE High rebounds = popeye jones (14) AND Record = 16-28 |
Translate the following into a SQL query | What is the Location Attendance when the Date was February 27? | SELECT Location Attendance FROM table WHERE Date = february 27 |
Translate the following into a SQL query | What is the score of the scores when Game had a Record of 17-29? | SELECT SUM Game FROM table WHERE Record = 17-29 |
Translate the following into a SQL query | Who has the lead on Lisa Weagle? | SELECT Skip FROM table WHERE Lead = lisa weagle |
Translate the following into a SQL query | Which event shows Matt St. Louis in second and a skip of John Morris? | SELECT Event FROM table WHERE Skip = john morris AND Second = matt st. louis |
Translate the following into a SQL query | What are the highest attempts that have net yards less than 631, and 2 for the touchdowns? | SELECT MAX Attempts FROM table WHERE Net yards < 631 AND Touchdowns = 2 |
Translate the following into a SQL query | What are the average net yards that have 9 as the touchdowns, 145 as the attempts, and yards per attempt greater than 4.8? | SELECT AVG Net yards FROM table WHERE Touchdowns = 9 AND Attempts = 145 AND Yards per attempt > 4.8 |
Translate the following into a SQL query | How many yards per attempt have net yards greater than 631? | SELECT SUM Yards per attempt FROM table WHERE Net yards > 631 |
Translate the following into a SQL query | What are the highest touchdowns that have net yards greater than 631, with attempts less than 145? | SELECT MAX Touchdowns FROM table WHERE Net yards > 631 AND Attempts < 145 |
Translate the following into a SQL query | What is the value for Slalom in seasons later than 1994 and overall value greater than 22? | SELECT Slalom FROM table WHERE Season > 1994 AND Overall > 22 |
Translate the following into a SQL query | How many seasons had a Super G of 2 and overall of 3? | SELECT COUNT Season FROM table WHERE Super G = 2 AND Overall = 3 |
Translate the following into a SQL query | Who was the Opponent in the Auckland, New Zealand Tournament? | SELECT Opponent FROM table WHERE Tournament = auckland, new zealand |
Translate the following into a SQL query | On what Date was Rafael Nadal the Opponent? | SELECT Date FROM table WHERE Opponent = rafael nadal |
Translate the following into a SQL query | Who was the Opponent on a Hard (i) Surface? | SELECT Opponent FROM table WHERE Surface = hard (i) |
Translate the following into a SQL query | What was the Score at the Auckland, New Zealand Tournament? | SELECT Score FROM table WHERE Tournament = auckland, new zealand |
Translate the following into a SQL query | What team plays in Dinamo, Brest? | SELECT Team FROM table WHERE Venue = dinamo, brest |
Translate the following into a SQL query | What team plays at Spartak, Mogilev? | SELECT Team FROM table WHERE Venue = spartak, mogilev |
Translate the following into a SQL query | Who was the Producer/Director of Fear Beneath? | SELECT Producer/Director FROM table WHERE Film = fear beneath |
Translate the following into a SQL query | What film was released in 1996? | SELECT Film FROM table WHERE Year = 1996 |
Translate the following into a SQL query | Who is the Producer/Director of Political Engagement? | SELECT Producer/Director FROM table WHERE Film = political engagement |
Translate the following into a SQL query | What is the original airdate for episode 7-17 (195) from writer Sidney Slon? | SELECT Original airdate FROM table WHERE Writer(s) = sidney slon AND Episode = 7-17 (195) |
Translate the following into a SQL query | What is the rank of Greg Norman who earned more than $12,507,322? | SELECT AVG Rank FROM table WHERE Player = greg norman AND Earnings ( $ ) > 12,507,322 |
Translate the following into a SQL query | What is the rank of the United States player Davis Love III with earnings under $12,487,463? | SELECT MAX Rank FROM table WHERE Country = united states AND Player = davis love iii AND Earnings ( $ ) < 12,487,463 |
Translate the following into a SQL query | What is the date of the tournament played in Madrid, Spain? | SELECT Date FROM table WHERE Tournament = madrid, spain |
Translate the following into a SQL query | What opponent has final as the round? | SELECT Opponent FROM table WHERE Round = final |
Translate the following into a SQL query | What round has hereford united as the opponent? | SELECT Round FROM table WHERE Opponent = hereford united |
Translate the following into a SQL query | Which Location /State has a Winner of craig lowndes, and a Date of 29–31 may? | SELECT Location / State FROM table WHERE Winner = craig lowndes AND Date = 29–31 may |
Translate the following into a SQL query | Which Team has a Winner of craig lowndes, and a Circuit of phillip island grand prix circuit? | SELECT Team FROM table WHERE Winner = craig lowndes AND Circuit = phillip island grand prix circuit |
Translate the following into a SQL query | Which Location/ State has a Date of 29–31 may? | SELECT Location / State FROM table WHERE Date = 29–31 may |
Translate the following into a SQL query | Who won at the Circuit of lakeside international raceway? | SELECT Winner FROM table WHERE Circuit = lakeside international raceway |
Translate the following into a SQL query | What is the service charge of the boat howitzers with 456 made? | SELECT Service Charge FROM table WHERE Number Made = 456 |
Translate the following into a SQL query | What is the service chage of the boat howitzers with a 12-pdr light destination? | SELECT Service Charge FROM table WHERE Designation = 12-pdr light |
Translate the following into a SQL query | What is the service charge of the boat howitzers with 1009 made? | SELECT Service Charge FROM table WHERE Number Made = 1009 |
Translate the following into a SQL query | What is the bore of the boat howitzers with a 12-pdr heavy designation? | SELECT Bore FROM table WHERE Designation = 12-pdr heavy |
Translate the following into a SQL query | Which attendance has 9 as the tie no.? | SELECT Attendance FROM table WHERE Tie No. = 9 |
Translate the following into a SQL query | How many Picks have a Position of defensive end, and an Overall smaller than 33? | SELECT COUNT Pick # FROM table WHERE Position = defensive end AND Overall < 33 |
Translate the following into a SQL query | Which Overall is the highest one that has a Name of gregory spann, and a Pick # larger than 19? | SELECT MAX Overall FROM table WHERE Name = gregory spann AND Pick # > 19 |
Translate the following into a SQL query | Which Pick # has a Round larger than 5, and a Position of wide receiver, and a Name of gregory spann, and an Overall larger than 228? | SELECT AVG Pick # FROM table WHERE Round > 5 AND Position = wide receiver AND Name = gregory spann AND Overall > 228 |
Translate the following into a SQL query | What is the score from the 21-27 Record? | SELECT Score FROM table WHERE Record = 21-27 |
Translate the following into a SQL query | How many people attended the May 28 game? | SELECT Attendance FROM table WHERE Date = may 28 |
Translate the following into a SQL query | What is the average drawn number of the team with less than 70 points and less than 46 played? | SELECT AVG Drawn FROM table WHERE Points < 70 AND Played < 46 |
Translate the following into a SQL query | What is the highest position of the team with 24 lost and a drawn greater than 9? | SELECT MAX Position FROM table WHERE Lost = 24 AND Drawn > 9 |
Translate the following into a SQL query | How many Points has a Game of 82 and a April larger than 10? | SELECT AVG Points FROM table WHERE Game = 82 AND April > 10 |
Translate the following into a SQL query | How many Games have a Score of 3–3 ot? | SELECT COUNT Game FROM table WHERE Score = 3–3 ot |
Translate the following into a SQL query | Which April has a Game of 84 | SELECT MAX April FROM table WHERE Game = 84 |
Translate the following into a SQL query | what's the played status when the club was banwen rfc? | SELECT Played FROM table WHERE Club = banwen rfc |
Translate the following into a SQL query | what's the points total when points against was points against? | SELECT Points for FROM table WHERE Points against = points against |
Translate the following into a SQL query | when points were 36 and points against 489 what is the lost? | SELECT Lost FROM table WHERE Points = 36 AND Points against = 489 |
Translate the following into a SQL query | when points against was 387 what was the lost? | SELECT Lost FROM table WHERE Points against = 387 |
Translate the following into a SQL query | when points for was points for what was the points? | SELECT Points FROM table WHERE Points for = points for |
Translate the following into a SQL query | What was 1948's pick? | SELECT Pick FROM table WHERE Year = 1948 |
Translate the following into a SQL query | What was the pick in 2004? | SELECT Pick FROM table WHERE Year = 2004 |
Translate the following into a SQL query | How many years have a Pick of 12, and a Position of dt, and a College of penn state? | SELECT COUNT Year FROM table WHERE Pick = 12 AND Position = dt AND College = penn state |
Translate the following into a SQL query | What is the scoring average where the wins are 0? | SELECT COUNT Scoring average FROM table WHERE Wins < 0 |
Translate the following into a SQL query | What year has earnings of $557,158? | SELECT MAX Year FROM table WHERE Earnings ($) = 557,158 |
Translate the following into a SQL query | Which Points have an Opponent of @ florida panthers, and a Game larger than 58? | SELECT MIN Points FROM table WHERE Opponent = @ florida panthers AND Game > 58 |
Translate the following into a SQL query | what is the catholic when the % catholic is 1.39%? | SELECT Catholic FROM table WHERE % Catholic = 1.39% |
Translate the following into a SQL query | with catholic of 3.33% and total population more than 1,528,384,440, what is the % global catholic pop.? | SELECT % of global Catholic pop. FROM table WHERE Total Population > 1,528,384,440 AND % Catholic = 3.33% |
Translate the following into a SQL query | Which February has a Game of 64? | SELECT AVG February FROM table WHERE Game = 64 |
Translate the following into a SQL query | Which Points have a Game smaller than 60, and a Score of 2–0, and a February larger than 1? | SELECT AVG Points FROM table WHERE Game < 60 AND Score = 2–0 AND February > 1 |
Translate the following into a SQL query | Which Game is the highest one that has a February of 25? | SELECT MAX Game FROM table WHERE February = 25 |
Translate the following into a SQL query | Which Game is the highest one that has a Score of 3–4 ot, and Points larger than 75? | SELECT MAX Game FROM table WHERE Score = 3–4 ot AND Points > 75 |
Translate the following into a SQL query | How much February has a Score of 5–2, and Points of 70? | SELECT COUNT February FROM table WHERE Score = 5–2 AND Points = 70 |
Translate the following into a SQL query | Which result happened more recently than week 2, and had a date of November 30, 1958? | SELECT Result FROM table WHERE Week > 2 AND Date = november 30, 1958 |
Translate the following into a SQL query | what album is 4:30 long | SELECT Album FROM table WHERE Length = 4:30 |
Translate the following into a SQL query | What is the Head Coach of Novy Urengoy? | SELECT Head Coach FROM table WHERE Town = novy urengoy |
Translate the following into a SQL query | What is the Arena o Kazan? | SELECT Arena (capacity) FROM table WHERE Town = kazan |
Translate the following into a SQL query | What is the Website of Head Coach Yuriy Korotkevich? | SELECT Website FROM table WHERE Head Coach = yuriy korotkevich |
Translate the following into a SQL query | Opponents of sebastián decoud santiago giraldo had what surface? | SELECT Surface FROM table WHERE Opponents = sebastián decoud santiago giraldo |
Translate the following into a SQL query | Partnering of franco ferreiro had what tournament? | SELECT Tournament FROM table WHERE Partnering = franco ferreiro |
Translate the following into a SQL query | Date of april 10, 2006 had what surface? | SELECT Surface FROM table WHERE Date = april 10, 2006 |
Translate the following into a SQL query | Surface of clay, and a Partnering of júlio silva had what score? | SELECT Score FROM table WHERE Surface = clay AND Partnering = júlio silva |
Translate the following into a SQL query | Date of november 3, 2008 had what score? | SELECT Score FROM table WHERE Date = november 3, 2008 |
Translate the following into a SQL query | Which Points have a Name of denis kornilov? | SELECT AVG Points FROM table WHERE Name = denis kornilov |
Translate the following into a SQL query | Which Rank is the highest one that has a 1st (m) larger than 130, and a Name of thomas morgenstern, and a 2nd (m) larger than 139? | SELECT MAX Rank FROM table WHERE 1st (m) > 130 AND Name = thomas morgenstern AND 2nd (m) > 139 |
Translate the following into a SQL query | Which Rank that a Name of thomas morgenstern, and Points larger than 288.7? | SELECT SUM Rank FROM table WHERE Name = thomas morgenstern AND Points > 288.7 |
Translate the following into a SQL query | How many Points have a Nationality of nor, and an Overall WC points (Rank) of 374 (13), and a Rank smaller than 4? | SELECT COUNT Points FROM table WHERE Nationality = nor AND Overall WC points (Rank) = 374 (13) AND Rank < 4 |
Translate the following into a SQL query | What is the overall number for Louisiana Tech college, and a pick more than 10? | SELECT SUM Overall FROM table WHERE College = louisiana tech AND Pick # > 10 |
Translate the following into a SQL query | What was the pick number for Deji Karim, in a round lower than 6? | SELECT AVG Pick # FROM table WHERE Name = deji karim AND Round < 6 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.