instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | What were the Points on December 13? | SELECT MAX Points FROM table WHERE Date = december 13 |
Translate the following into a SQL query | What is the year established of North Jersey Phoenix? | SELECT Established FROM table WHERE Institution = north jersey phoenix |
Translate the following into a SQL query | What is the nickname of the school established in 2009? | SELECT Nickname FROM table WHERE Established = 2009 |
Translate the following into a SQL query | What is the location of the school established in 2013? | SELECT Location FROM table WHERE Established = 2013 |
Translate the following into a SQL query | What is the nickname of Columbia University? | SELECT Nickname FROM table WHERE Institution = columbia university |
Translate the following into a SQL query | The match against Valentijn Overeem had what method? | SELECT Method FROM table WHERE Opponent = valentijn overeem |
Translate the following into a SQL query | Where was the match held when the result was win, and tko as the method? | SELECT Location FROM table WHERE Res. = win AND Method = tko |
Translate the following into a SQL query | What round did the match go to when the event was Bars - Moscow vs St. Petersburg? | SELECT Round FROM table WHERE Event = bars - moscow vs st. petersburg |
Translate the following into a SQL query | With a method of tko (kick) what is the record of the match? | SELECT Record FROM table WHERE Method = tko (kick) |
Translate the following into a SQL query | What round did the match go to when tko (cut) was the method? | SELECT Round FROM table WHERE Method = tko (cut) |
Translate the following into a SQL query | what is the place when the score is 68-72-77-74=291? | SELECT Place FROM table WHERE Score = 68-72-77-74=291 |
Translate the following into a SQL query | how many times is the country united states and the score 72-71-73-73=289? | SELECT COUNT To par FROM table WHERE Country = united states AND Score = 72-71-73-73=289 |
Translate the following into a SQL query | Who is the player when the to par is more than 11 and the score is 71-71-71-79=292? | SELECT Player FROM table WHERE To par > 11 AND Score = 71-71-71-79=292 |
Translate the following into a SQL query | what is the country when the player is bill nary? | SELECT Country FROM table WHERE Player = bill nary |
Translate the following into a SQL query | what is the score when the country is united states and the player is george fazio? | SELECT Score FROM table WHERE Country = united states AND Player = george fazio |
Translate the following into a SQL query | WHAT IS THE DEATH WHEN BIRTH DATE IS 2 AUGUST 1424? | SELECT Death FROM table WHERE Birth = 2 august 1424 |
Translate the following into a SQL query | WHAT IS THE Ceased to be Duke of Girona THAT HAS PETER IV? | SELECT Ceased to be Duke of Girona FROM table WHERE Heir of = peter iv |
Translate the following into a SQL query | WHAT IS THE BIRTH DATE THAT HAS Ceased to be Duke of Girona OF 21 NOVEMBER 1582? | SELECT Birth FROM table WHERE Ceased to be Duke of Girona = 21 november 1582 |
Translate the following into a SQL query | WHAT IS THE BIRTH DATE WITH A DEATH OF OCTOBER 1389? | SELECT Birth FROM table WHERE Death = october 1389 |
Translate the following into a SQL query | What is the total number of Laps, when Ride is Aleix Espargaro? | SELECT COUNT Laps FROM table WHERE Rider = aleix espargaro |
Translate the following into a SQL query | What was the start date for the party of LSAP with a Prime Minister of Jean-Claude Juncker? | SELECT Start date FROM table WHERE Party = lsap AND Prime Minister = jean-claude juncker |
Translate the following into a SQL query | What is the County of Howard Street Tunnel? | SELECT County FROM table WHERE Name = howard street tunnel |
Translate the following into a SQL query | What is the Location of the Bridge Built in 1869? | SELECT Location FROM table WHERE Built = 1869 |
Translate the following into a SQL query | What is the date Listed of the B & O Bridge in Washington? | SELECT Listed FROM table WHERE County = washington AND Name = b & o bridge |
Translate the following into a SQL query | What is the date Listed of the Bridge Built CA.1876? | SELECT Listed FROM table WHERE Built = ca.1876 |
Translate the following into a SQL query | What is the date Listed of the Bridge Built in 1864? | SELECT Listed FROM table WHERE Built = 1864 |
Translate the following into a SQL query | What is the total number of Draw(s), when Televotes is greater than 1761, when Song is "Ils Sont LΓ ", and when Place is less than 2? | SELECT COUNT Draw FROM table WHERE Televotes > 1761 AND Song = ils sont lΓ AND Place < 2 |
Translate the following into a SQL query | What is the lowest Place, when Televotes is 15424? | SELECT MIN Place FROM table WHERE Televotes = 15424 |
Translate the following into a SQL query | What is the average Place, when Song is "Dis Oui"? | SELECT AVG Place FROM table WHERE Song = dis oui |
Translate the following into a SQL query | What club received a DF player for free? | SELECT To club FROM table WHERE Transfer fee = free AND Pos. = df |
Translate the following into a SQL query | Which player was transferred to Reggina? | SELECT Player FROM table WHERE To club = reggina |
Translate the following into a SQL query | What is the exit date of the player transferred to Reggina for free? | SELECT Exit Date FROM table WHERE Transfer fee = free AND To club = reggina |
Translate the following into a SQL query | What is the lowest position of pilot mario kiessling from Germany? | SELECT MIN Position FROM table WHERE Country = germany AND Pilot = mario kiessling |
Translate the following into a SQL query | What is the average position of pilot petr krejcirik, who has less than 11 points? | SELECT AVG Position FROM table WHERE Points < 11 AND Pilot = petr krejcirik |
Translate the following into a SQL query | What is the career SR with a 1r in 1985? | SELECT Career SR FROM table WHERE 1985 = 1r |
Translate the following into a SQL query | What tournament has a 3r in 1983? | SELECT Tournament FROM table WHERE 1983 = 3r |
Translate the following into a SQL query | What is the 1980 value with a 1r in 1984 and a 1r in 1981? | SELECT 1980 FROM table WHERE 1984 = 1r AND 1981 = 1r |
Translate the following into a SQL query | What is the finish of Australia? | SELECT Finish FROM table WHERE Country = australia |
Translate the following into a SQL query | What is the total with a +4 to par? | SELECT Total FROM table WHERE To par = +4 |
Translate the following into a SQL query | What country has a +3 to par? | SELECT Country FROM table WHERE To par = +3 |
Translate the following into a SQL query | What was the first year that the artist of every little thing ranked lower than 10? | SELECT MIN Year FROM table WHERE Artist = every little thing AND Rank < 10 |
Translate the following into a SQL query | Which Championship was louise suggs the runner-up by 3 strokes? | SELECT Championship FROM table WHERE Runner(s)-up = louise suggs AND Margin = 3 strokes |
Translate the following into a SQL query | When was the most recent year that kathy whitworth was the runner-up? | SELECT MAX Year FROM table WHERE Runner(s)-up = kathy whitworth |
Translate the following into a SQL query | What was the winning score in the u.s. women's open that was won by 5 strokes? | SELECT Winning score FROM table WHERE Championship = u.s. women's open AND Margin = 5 strokes |
Translate the following into a SQL query | What is Record, when High Rebounds is "Marcus Camby (15)", and when High Assists is "Baron Davis (7)"? | SELECT Record FROM table WHERE High rebounds = marcus camby (15) AND High assists = baron davis (7) |
Translate the following into a SQL query | What is Game, when Team is "Philadelphia" | SELECT Game FROM table WHERE Team = philadelphia |
Translate the following into a SQL query | What is High Assists, when Team is "@ Milwaukee"? | SELECT High assists FROM table WHERE Team = @ milwaukee |
Translate the following into a SQL query | What was the tie number for the round against visiting opponent Chelsea? | SELECT SUM Tie no FROM table WHERE Away team = chelsea |
Translate the following into a SQL query | What was the tie number for the round against visiting opponent Newcastle United? | SELECT Tie no FROM table WHERE Away team = newcastle united |
Translate the following into a SQL query | What date was Millwall the home team? | SELECT Date FROM table WHERE Home team = millwall |
Translate the following into a SQL query | What date was Leeds United the away team? | SELECT Date FROM table WHERE Away team = leeds united |
Translate the following into a SQL query | What was the score when Bolton Wanderers were the away team? | SELECT Score FROM table WHERE Away team = bolton wanderers |
Translate the following into a SQL query | What is the total of events when the tournament was U.S. Open and the Top-25 was less than 1? | SELECT SUM Events FROM table WHERE Tournament = u.s. open AND Top-25 < 1 |
Translate the following into a SQL query | How many total wins have 3 as the Top-35 and less than 5 cuts made? | SELECT SUM Wins FROM table WHERE Top-25 = 3 AND Cuts made < 5 |
Translate the following into a SQL query | What is the minimum Top-10 when the Open Championship was the tournament and the wins greater than 0? | SELECT MIN Top-10 FROM table WHERE Tournament = the open championship AND Wins > 0 |
Translate the following into a SQL query | With wins greater than 0 what is the minimum Top-10? | SELECT MIN Top-10 FROM table WHERE Wins > 0 |
Translate the following into a SQL query | What is the total Top-25 when the events were less than 0? | SELECT SUM Top-25 FROM table WHERE Events < 0 |
Translate the following into a SQL query | Who is the player from the United States with a score of 71-75=146? | SELECT Player FROM table WHERE Country = united states AND Score = 71-75=146 |
Translate the following into a SQL query | Who is the player with a 77-68=145 score? | SELECT Player FROM table WHERE Score = 77-68=145 |
Translate the following into a SQL query | What is the country with a 76-68=144 score? | SELECT Country FROM table WHERE Score = 76-68=144 |
Translate the following into a SQL query | Who is the player in t8 place with a 75-71=146 score? | SELECT Player FROM table WHERE Place = t8 AND Score = 75-71=146 |
Translate the following into a SQL query | What is the to par of the player from the United States with a place of t1 and a 76-68=144 score? | SELECT To par FROM table WHERE Country = united states AND Place = t1 AND Score = 76-68=144 |
Translate the following into a SQL query | What is the country of player lee trevino, who has a to par of +2? | SELECT Country FROM table WHERE To par = +2 AND Player = lee trevino |
Translate the following into a SQL query | Who was the pilot at lake dumbleyung? | SELECT Pilot(s) FROM table WHERE Location = lake dumbleyung |
Translate the following into a SQL query | How fast was the speed during the record set at Coniston Water that was piloted by Malcolm Campbell? | SELECT Speed FROM table WHERE Location = coniston water AND Pilot(s) = malcolm campbell |
Translate the following into a SQL query | Which Home has an Away of 1β1? | SELECT Home FROM table WHERE Away = 1β1 |
Translate the following into a SQL query | Which Away has a Season of 2007β08? | SELECT Away FROM table WHERE Season = 2007β08 |
Translate the following into a SQL query | Which Season has an Away of 1β2? | SELECT Season FROM table WHERE Away = 1β2 |
Translate the following into a SQL query | Which Away has a Home of 1β0? | SELECT Away FROM table WHERE Home = 1β0 |
Translate the following into a SQL query | Which Season has a League of bezirksliga? | SELECT Season FROM table WHERE League = bezirksliga |
Translate the following into a SQL query | Which Season has a Home of 0β1? | SELECT Season FROM table WHERE Home = 0β1 |
Translate the following into a SQL query | What was the Venue in 2003? | SELECT Venue FROM table WHERE Date = 2003 |
Translate the following into a SQL query | What Competition had a Score of 3β3? | SELECT Competition FROM table WHERE Score = 3β3 |
Translate the following into a SQL query | Name the lowest Round with Opponent of rolando delgado? | SELECT MIN Round FROM table WHERE Opponent = rolando delgado |
Translate the following into a SQL query | Name the total number of Round in liverpool , england? | SELECT COUNT Round FROM table WHERE Location = liverpool , england |
Translate the following into a SQL query | Which Event is in chandigarh , india? | SELECT Event FROM table WHERE Location = chandigarh , india |
Translate the following into a SQL query | Who is the player with a year later than 2007 and the college/high school/club of Arizona? | SELECT Player FROM table WHERE Year > 2007 AND College/High School/Club = arizona |
Translate the following into a SQL query | What is the earliest year of c position player gary bergen? | SELECT MIN Year FROM table WHERE Position = c AND Player = gary bergen |
Translate the following into a SQL query | What round is sf/sg player sly williams from a year after 1965 from? | SELECT Round FROM table WHERE Position = sf/sg AND Year > 1965 AND Player = sly williams |
Translate the following into a SQL query | What is the round of the pf position player from 1996 and the college/high school/club mississippi state? | SELECT Round FROM table WHERE Position = pf AND Year = 1996 AND College/High School/Club = mississippi state |
Translate the following into a SQL query | Which Score has a Visitor of montreal canadiens, and Points of 5? | SELECT Score FROM table WHERE Visitor = montreal canadiens AND Points = 5 |
Translate the following into a SQL query | Which Points have an Attendance of 21,273, and a Record of 5β1β1? | SELECT MIN Points FROM table WHERE Attendance = 21,273 AND Record = 5β1β1 |
Translate the following into a SQL query | Which Points have a Visitor of montreal canadiens, and an Attendance larger than 18,568, and a Record of 2β0β1? | SELECT MAX Points FROM table WHERE Visitor = montreal canadiens AND Attendance > 18,568 AND Record = 2β0β1 |
Translate the following into a SQL query | Which Date has a Home of montreal canadiens, and Points larger than 9, and a Decision of price? | SELECT Date FROM table WHERE Home = montreal canadiens AND Points > 9 AND Decision = price |
Translate the following into a SQL query | What is the score for the home team Notts County? | SELECT Score FROM table WHERE Home team = notts county |
Translate the following into a SQL query | Which Episode has a Viewers (millions) larger than 11.26, a Weekly Rank of #8, and a Share of 12? | SELECT Episode FROM table WHERE Viewers (millions) > 11.26 AND Weekly Rank = #8 AND Share = 12 |
Translate the following into a SQL query | Which Viewers (millions) has an Episode of "i'm not a good villain", and a Share smaller than 12? | SELECT MAX Viewers (millions) FROM table WHERE Episode = "i'm not a good villain" AND Share < 12 |
Translate the following into a SQL query | What is the 2012 with a mini in 2009? | SELECT 2012 FROM table WHERE 2009 = mini |
Translate the following into a SQL query | What is the 2013 with virgin in 2009? | SELECT 2013 FROM table WHERE 2009 = virgin |
Translate the following into a SQL query | What is the highest rank of the 2009 xbox? | SELECT MAX Rank FROM table WHERE 2009 = xbox |
Translate the following into a SQL query | What is the 2010 with a rank higher than 15 and a 2011 maserati? | SELECT 2010 FROM table WHERE Rank > 15 AND 2011 = maserati |
Translate the following into a SQL query | What is the record with 23 points and a visitor of Chicago? | SELECT Record FROM table WHERE Points = 23 AND Visitor = chicago |
Translate the following into a SQL query | What venue had a tie? | SELECT Tied FROM table WHERE Venue = venue |
Translate the following into a SQL query | What was the score in Spain T3? | SELECT Score FROM table WHERE Place = t3 AND Country = spain |
Translate the following into a SQL query | What score did Lee Trevino get in T1? | SELECT Score FROM table WHERE Place = t1 AND Player = lee trevino |
Translate the following into a SQL query | Which player had the score 71-72=143 in Spain? | SELECT Player FROM table WHERE Score = 71-72=143 AND Country = spain |
Translate the following into a SQL query | When curtis strange had a to par +1, what was his score? | SELECT Score FROM table WHERE To par = +1 AND Player = curtis strange |
Translate the following into a SQL query | Who is the player for Zimbabwe? | SELECT Player FROM table WHERE Country = zimbabwe |
Translate the following into a SQL query | What country is Greg Norman from? | SELECT Country FROM table WHERE Player = greg norman |
Translate the following into a SQL query | What country is Bob Tway from? | SELECT Country FROM table WHERE Player = bob tway |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.