instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | What was the most recent race at Kyalami with Keke Rosberg competing? | SELECT MAX Year FROM table WHERE Venue = kyalami AND Driver = keke rosberg |
Translate the following into a SQL query | What year was the Spanish Grand Prix where Emerson Fittipaldi drove? | SELECT Year FROM table WHERE Event = spanish grand prix AND Driver = emerson fittipaldi |
Translate the following into a SQL query | What was the outcome for Emerson Fittipaldi in the race held at Jarama? | SELECT Result FROM table WHERE Venue = jarama AND Driver = emerson fittipaldi |
Translate the following into a SQL query | How many years did Wilson Fittipaldi race? | SELECT COUNT Year FROM table WHERE Driver = wilson fittipaldi |
Translate the following into a SQL query | What was the score of the game that had a loss of Cox (6โ2)? | SELECT Score FROM table WHERE Loss = cox (6โ2) |
Translate the following into a SQL query | What was the date of the game that had a loss of Rojas (9โ8)? | SELECT Date FROM table WHERE Loss = rojas (9โ8) |
Translate the following into a SQL query | What was the score of the game that had a loss of Coates (0โ2)? | SELECT Score FROM table WHERE Loss = coates (0โ2) |
Translate the following into a SQL query | What was the score of the game when the record was 58โ47? | SELECT Score FROM table WHERE Record = 58โ47 |
Translate the following into a SQL query | Strong's Transliteration of yowyaqiym is what Hebrew word? | SELECT Hebrew word FROM table WHERE Strong's Transliteration = yowyaqiym |
Translate the following into a SQL query | How do you spell the Hebrew word ืึฐืืึนืฉึธืคึธื in English? | SELECT English Spelling FROM table WHERE Hebrew word = ืึฐืืึนืฉึธืคึธื |
Translate the following into a SQL query | What's the english word joshaphat in Strong's Transliteration? | SELECT Strong's Transliteration FROM table WHERE English Spelling = joshaphat |
Translate the following into a SQL query | Which start has 1956 as the year? | SELECT Start FROM table WHERE Year = 1956 |
Translate the following into a SQL query | Which start has 32 as the finish and laps more than 6? | SELECT Start FROM table WHERE Finish = 32 AND Laps > 6 |
Translate the following into a SQL query | Which start has 4 as a rank? | SELECT Start FROM table WHERE Rank = 4 |
Translate the following into a SQL query | How many laps have 1 as the start? | SELECT COUNT Laps FROM table WHERE Start = 1 |
Translate the following into a SQL query | Which finish has 33 as a rank and 200 for laps? | SELECT Finish FROM table WHERE Rank = 33 AND Laps = 200 |
Translate the following into a SQL query | Which finish has 1 as the rank? | SELECT Finish FROM table WHERE Rank = 1 |
Translate the following into a SQL query | What are the special notes for an issue price under 24.95 with an edmonton oilers theme? | SELECT Special notes FROM table WHERE Issue price < 24.95 AND Theme = edmonton oilers |
Translate the following into a SQL query | What theme has special notes from calgary flames gift set? | SELECT Theme FROM table WHERE Special notes = from calgary flames gift set |
Translate the following into a SQL query | What year has an issue price over 15.95, and a special notes from edmonton oilers gift set? | SELECT COUNT Year FROM table WHERE Issue price > 15.95 AND Special notes = from edmonton oilers gift set |
Translate the following into a SQL query | What is the site when the superintendent was John Barry? | SELECT Site FROM table WHERE Superintendent = john barry |
Translate the following into a SQL query | What is the number of guns when the superintendent was Silas Talbot? | SELECT Guns FROM table WHERE Superintendent = silas talbot |
Translate the following into a SQL query | What is the site when the superintendent was James Sever? | SELECT Site FROM table WHERE Superintendent = james sever |
Translate the following into a SQL query | Who was the loss in the game with the record of 65-53? | SELECT Loss FROM table WHERE Record = 65-53 |
Translate the following into a SQL query | On August 29, What was the record playing against the Rangers? | SELECT Record FROM table WHERE Opponent = rangers AND Date = august 29 |
Translate the following into a SQL query | On August 22, how many people came to the game? | SELECT Attendance FROM table WHERE Date = august 22 |
Translate the following into a SQL query | When west indes was a holder at the end of the series for the 1991 season with an england greater than 1, what is the smallest west indies? | SELECT MIN West Indies FROM table WHERE Holder at the end of the series = west indies AND England > 1 AND Season = 1991 |
Translate the following into a SQL query | When were the Brewers 27-31? | SELECT Date FROM table WHERE Record = 27-31 |
Translate the following into a SQL query | When did the Brewers lose 2-8? | SELECT Loss FROM table WHERE Score = 2-8 |
Translate the following into a SQL query | When the Brewers score was 5-7, what was the lowest attendance? | SELECT MIN Attendance FROM table WHERE Score = 5-7 |
Translate the following into a SQL query | Who hosted the visiting team Baltimore Ravens? | SELECT Host team FROM table WHERE Visiting team = baltimore ravens |
Translate the following into a SQL query | What was the final score at Heinz Field? | SELECT Final score FROM table WHERE Stadium = heinz field |
Translate the following into a SQL query | What is the home stadium of the Atlanta Falcons? | SELECT Stadium FROM table WHERE Host team = atlanta falcons |
Translate the following into a SQL query | What date did the New York Giants play as a visiting team? | SELECT Date FROM table WHERE Visiting team = new york giants |
Translate the following into a SQL query | What is the score of Tim Herron, who placed t1? | SELECT Score FROM table WHERE Place = t1 AND Player = tim herron |
Translate the following into a SQL query | What place does Fred Funk, who has a score of 69-69=138, have? | SELECT Place FROM table WHERE Score = 69-69=138 AND Player = fred funk |
Translate the following into a SQL query | What is Tiger Woods's score? | SELECT Score FROM table WHERE Player = tiger woods |
Translate the following into a SQL query | What is the score of Australia? | SELECT Score FROM table WHERE Country = australia |
Translate the following into a SQL query | Who was Constructor for rider Marco Melandri? | SELECT Constructor FROM table WHERE Rider = marco melandri |
Translate the following into a SQL query | Anthony West ride which Motorcyle? | SELECT Motorcycle FROM table WHERE Rider = anthony west |
Translate the following into a SQL query | What team draft a player from Canada that was picked #43 and plays right wing? | SELECT NHL team FROM table WHERE Nationality = canada AND Position = right wing AND Pick # = 43 |
Translate the following into a SQL query | What nationality is Gerry Methe? | SELECT Nationality FROM table WHERE Player = gerry methe |
Translate the following into a SQL query | What which player from Canada was picked #49 and plays left wing? | SELECT Player FROM table WHERE Nationality = canada AND Position = left wing AND Pick # = 49 |
Translate the following into a SQL query | What Nationality is Dave Hynes? | SELECT Nationality FROM table WHERE Player = dave hynes |
Translate the following into a SQL query | The Estevan Bruins (WCHL) are affiliated with what NHL team? | SELECT NHL team FROM table WHERE College/junior/club team = estevan bruins (wchl) |
Translate the following into a SQL query | what's the number of games with a Goals Against smaller than 14, and a Wins larger than 1, and a Draws smaller than 2, and a Goals For of 3? | SELECT MAX Games FROM table WHERE Goals Against < 14 AND Wins > 1 AND Draws < 2 AND Goals For = 3 |
Translate the following into a SQL query | what's the total win count for Games smaller than 7, and a Goals For larger than 2, and a Goals Against smaller than 6, and Draws of 1 | SELECT COUNT Wins FROM table WHERE Games < 7 AND Goals For > 2 AND Goals Against < 6 AND Draws = 1 |
Translate the following into a SQL query | for a Goals Against smaller than 9, and a Goal Differential of 0, and a Draws smaller than 2, and a Wins of 1, what's the goal total? | SELECT SUM Goals For FROM table WHERE Goals Against < 9 AND Goal Differential = 0 AND Draws < 2 AND Wins = 1 |
Translate the following into a SQL query | What tournament happened on 12 november 2006? | SELECT Tournament FROM table WHERE Date = 12 november 2006 |
Translate the following into a SQL query | what was the score on 6 june 2010? | SELECT Score FROM table WHERE Date = 6 june 2010 |
Translate the following into a SQL query | When was the railmotor made? | SELECT Date made FROM table WHERE Type = railmotor |
Translate the following into a SQL query | What are the fleet number for the 4-6-4t locomotive? | SELECT Fleet numbers FROM table WHERE Type = 4-6-4t |
Translate the following into a SQL query | How many fast laps have 0 points in the World Series by Nissan? | SELECT Fast laps FROM table WHERE Points = 0 AND Series = world series by nissan |
Translate the following into a SQL query | How many fast laps are in 6 races with 30 points in the World Series by Nissan? | SELECT Fast laps FROM table WHERE Series = world series by nissan AND Races = 6 AND Points = 30 |
Translate the following into a SQL query | Which team has the points category of test driver? | SELECT Team FROM table WHERE Points = test driver |
Translate the following into a SQL query | What is the position with 0 points in Season of 2007โ08? | SELECT Pos. FROM table WHERE Points = 0 AND Season = 2007โ08 |
Translate the following into a SQL query | tell me the Dates administered that sees a Steve Westly* of โโ, an Antonio Villaraigosa* of โโ, and 47% for jerry brown. | SELECT Dates administered FROM table WHERE Steve Westly* = โโ AND Antonio Villaraigosa* = โโ AND Jerry Brown = 47% |
Translate the following into a SQL query | tell me the Antonio Villaraigosa* that has a Steve Westly* of โโ, and 47% for jerry brown. | SELECT Antonio Villaraigosa* FROM table WHERE Steve Westly* = โโ AND Jerry Brown = 47% |
Translate the following into a SQL query | Name the least year for wins more than 0 | SELECT MIN Year FROM table WHERE Wins > 0 |
Translate the following into a SQL query | Name the least wins for 6 points | SELECT MIN Wins FROM table WHERE Points = 6 |
Translate the following into a SQL query | Name the wins for 1963 bultaco | SELECT Wins FROM table WHERE Year = 1963 AND Team = bultaco |
Translate the following into a SQL query | Year larger than 2008, and a Nationality of director of lebanon is what director? | SELECT Director FROM table WHERE Year > 2008 AND Nationality of director = lebanon |
Translate the following into a SQL query | ilm of taukukauppiaat has how many total number of years? | SELECT COUNT Year FROM table WHERE Film = taukukauppiaat |
Translate the following into a SQL query | Award of troisiรจme prix, and a Year smaller than 2010, and a Director of jan komasa is what film? | SELECT Film FROM table WHERE Award = troisiรจme prix AND Year < 2010 AND Director = jan komasa |
Translate the following into a SQL query | Film of um sol alaranjado director is what nationality? | SELECT Nationality of director FROM table WHERE Film = um sol alaranjado |
Translate the following into a SQL query | What is the position for round 5 from alabama state? | SELECT Position FROM table WHERE Round = 5 AND College = alabama state |
Translate the following into a SQL query | what is the pick # when overall is more than 131, position is wide receiver and the round is less than 5? | SELECT COUNT Pick # FROM table WHERE Overall > 131 AND Position = wide receiver AND Round < 5 |
Translate the following into a SQL query | what is the highest round for anthony gonzalez? | SELECT MAX Round FROM table WHERE Name = anthony gonzalez |
Translate the following into a SQL query | How many times is brannon condren with and overall more than 131 drafted? | SELECT COUNT Round FROM table WHERE Name = brannon condren AND Overall > 131 |
Translate the following into a SQL query | Which rider has the time of +31.426? | SELECT Rider FROM table WHERE Time/Retired = +31.426 |
Translate the following into a SQL query | What is the grid for the rider who rides a Suzuki and has the time of +1:01.894? | SELECT MAX Grid FROM table WHERE Manufacturer = suzuki AND Time/Retired = +1:01.894 |
Translate the following into a SQL query | What is the score for Australia with a place of 4? | SELECT Score FROM table WHERE Country = australia AND Place = 4 |
Translate the following into a SQL query | What is the place of To par of e when Arron Oberholser was the player ? | SELECT Place FROM table WHERE To par = e AND Player = arron oberholser |
Translate the following into a SQL query | What is the score with a place of t6 for the player k.j. choi? | SELECT Score FROM table WHERE Place = t6 AND Player = k.j. choi |
Translate the following into a SQL query | What is the country for the player Tiger Woods? | SELECT Country FROM table WHERE Player = tiger woods |
Translate the following into a SQL query | What is the name of the player with a score of 72-68-70=210? | SELECT Player FROM table WHERE Score = 72-68-70=210 |
Translate the following into a SQL query | What is the name of the player with t6 as his place and a country of United states? | SELECT Player FROM table WHERE Place = t6 AND Country = united states |
Translate the following into a SQL query | What is the fineness of the 2008 chinese cuju sport Reverse? | SELECT Fineness FROM table WHERE Year = 2008 AND Reverse = chinese cuju sport |
Translate the following into a SQL query | What's the diameter of the 2006 equestrian Reverse? | SELECT Diameter FROM table WHERE Year = 2006 AND Reverse = equestrian |
Translate the following into a SQL query | What denomination was produced in 2006? | SELECT Denomination FROM table WHERE Year = 2006 |
Translate the following into a SQL query | What was the fineness prior to 2007? | SELECT Fineness FROM table WHERE Year < 2007 |
Translate the following into a SQL query | What does the ii Series weigh? | SELECT Weight FROM table WHERE Series = ii series |
Translate the following into a SQL query | What loss has 10-16 as the record? | SELECT Loss FROM table WHERE Record = 10-16 |
Translate the following into a SQL query | What is the least attendance that has 3-5 as a record? | SELECT MIN Attendance FROM table WHERE Record = 3-5 |
Translate the following into a SQL query | What is the average attendance for the date of april 4? | SELECT AVG Attendance FROM table WHERE Date = april 4 |
Translate the following into a SQL query | Which opponent has april 2 as the date? | SELECT Opponent FROM table WHERE Date = april 2 |
Translate the following into a SQL query | What is the Remark of Airline of Dutch Antilles Express? | SELECT Remarks FROM table WHERE Airline = dutch antilles express |
Translate the following into a SQL query | What Category has a Year that's smaller than 2006, has Result of Nominated, and a Title of Cold Feet? | SELECT Category FROM table WHERE Year < 2006 AND Result = nominated AND Title = cold feet |
Translate the following into a SQL query | What is recorded as the lowest Year that has the Title of Cold Feet? | SELECT MIN Year FROM table WHERE Title = cold feet |
Translate the following into a SQL query | What Category has a Result of Nominated, Year of 2006, and the Title of Pierrepoint? | SELECT Category FROM table WHERE Result = nominated AND Year = 2006 AND Title = pierrepoint |
Translate the following into a SQL query | What Title is listed for the Year of 1999? | SELECT Title FROM table WHERE Year = 1999 |
Translate the following into a SQL query | What is the total number of Year for the Title of The Queen, has an Award of British Academy Film Award, and has a Result of Won? | SELECT COUNT Year FROM table WHERE Title = the queen AND Award = british academy film award AND Result = won |
Translate the following into a SQL query | What was the date of the game against Northwestern? | SELECT Date FROM table WHERE Opponent = northwestern |
Translate the following into a SQL query | Who was the opponent when the city was Louisville? | SELECT Opponent FROM table WHERE City = louisville |
Translate the following into a SQL query | What was the score of the game against Minnesota? | SELECT Score FROM table WHERE Opponent = minnesota |
Translate the following into a SQL query | On what date was a friendly competition and a result of 3โ0? | SELECT Date FROM table WHERE Competition = friendly AND Result = 3โ0 |
Translate the following into a SQL query | When was the score 1โ0, and the result 4โ0? | SELECT Date FROM table WHERE Score = 1โ0 AND Result = 4โ0 |
Translate the following into a SQL query | What was the result at dakar , senegal, on 3 september 2011, and with a Score of 2โ0? | SELECT Result FROM table WHERE Venue = dakar , senegal AND Date = 3 september 2011 AND Score = 2โ0 |
Translate the following into a SQL query | Which time has a Rank larger than 3, and a Name of andrey kapralov? | SELECT Time FROM table WHERE Rank > 3 AND Name = andrey kapralov |
Translate the following into a SQL query | Which Nationality has a Name of igor koleda? | SELECT Nationality FROM table WHERE Name = igor koleda |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.