instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | What was Menato Boffa's grid? | SELECT Grid FROM table WHERE Driver = menato boffa |
Translate the following into a SQL query | What is the Time/Retired value for Ludovico Scarfiotti? | SELECT Time/Retired FROM table WHERE Driver = ludovico scarfiotti |
Translate the following into a SQL query | Who was Albino Buticchi's constructor? | SELECT Constructor FROM table WHERE Driver = albino buticchi |
Translate the following into a SQL query | Who was the driver for Rovero Campello? | SELECT Driver FROM table WHERE Entrant = rovero campello |
Translate the following into a SQL query | What is the score of player jay haas? | SELECT Score FROM table WHERE Player = jay haas |
Translate the following into a SQL query | What is the to par of the player with more than $4,100 and a score of 69-67-72-70=278? | SELECT To par FROM table WHERE Money ( $ ) > 4,100 AND Score = 69-67-72-70=278 |
Translate the following into a SQL query | Who is the player with a +3 to par and a 72-68-71-72=283 score? | SELECT Player FROM table WHERE To par = +3 AND Score = 72-68-71-72=283 |
Translate the following into a SQL query | What country has a 74-72-71-67=284 score? | SELECT Country FROM table WHERE Score = 74-72-71-67=284 |
Translate the following into a SQL query | What is the lowest Bike No, when Driver / Passenger is Joris Hendrickx / Kaspars Liepins, and when Position is less than 4? | SELECT MIN Bike No FROM table WHERE Driver / Passenger = joris hendrickx / kaspars liepins AND Position < 4 |
Translate the following into a SQL query | What is the average Position, when Bike No is greater than 8, and when Points is less than 240? | SELECT AVG Position FROM table WHERE Bike No > 8 AND Points < 240 |
Translate the following into a SQL query | What is the lowest Postion, when Bike No is greater than 10, when Driver / Passenger is Nicky Pulinx / Ondrej Cermak, and when Points is greater than 244? | SELECT MIN Position FROM table WHERE Bike No > 10 AND Driver / Passenger = nicky pulinx / ondrej cermak AND Points > 244 |
Translate the following into a SQL query | What is the highest Points, when Position is less than 4, when Equipment is Zabel - VMC, and when Bike No is less than 1? | SELECT MAX Points FROM table WHERE Position < 4 AND Equipment = zabel - vmc AND Bike No < 1 |
Translate the following into a SQL query | What is the average Bike No, when Driver / Passenger is Joris Hendrickx / Kaspars Liepins, and when Position is greater than 4? | SELECT AVG Bike No FROM table WHERE Driver / Passenger = joris hendrickx / kaspars liepins AND Position > 4 |
Translate the following into a SQL query | What is the type of electronic with the Gamecube Platform? | SELECT Type FROM table WHERE Platform = gamecube |
Translate the following into a SQL query | On what type of surface did they play on 13 February 1994? | SELECT Surface FROM table WHERE Date = 13 february 1994 |
Translate the following into a SQL query | In which tournament was Silke Meier the opponent in the final? | SELECT Tournament FROM table WHERE Opponent in the final = silke meier |
Translate the following into a SQL query | Which venue has a scoreof 2–0? | SELECT Venue FROM table WHERE Score = 2–0 |
Translate the following into a SQL query | WHAT IS THE SCORE WITH THE TEAM OF INDIANA? | SELECT Score FROM table WHERE Team = indiana |
Translate the following into a SQL query | WHAT IS THE TEAM WITH ATTENDANCE AT TARGET CENTER 11,921? | SELECT Team FROM table WHERE Location Attendance = target center 11,921 |
Translate the following into a SQL query | What was the attendance on 10/29/1932? | SELECT Attendance FROM table WHERE Date = 10/29/1932 |
Translate the following into a SQL query | What was the Attendance on December 21, 1986 before Week 16? | SELECT SUM Attendance FROM table WHERE Date = december 21, 1986 AND Week < 16 |
Translate the following into a SQL query | In what Week was the Attendance 43,430? | SELECT MAX Week FROM table WHERE Attendance = 43,430 |
Translate the following into a SQL query | What was the Result of the game on December 14, 1986 after Week 11? | SELECT Result FROM table WHERE Week > 11 AND Date = december 14, 1986 |
Translate the following into a SQL query | What team did they play when the series was 1-1? | SELECT Team FROM table WHERE Series = 1-1 |
Translate the following into a SQL query | What were the high points on May 12? | SELECT High points FROM table WHERE Date = may 12 |
Translate the following into a SQL query | What was the team they played when the series was 2-1? | SELECT Team FROM table WHERE Series = 2-1 |
Translate the following into a SQL query | who is the opponent on february 8, 1990? | SELECT Opponent FROM table WHERE Date = february 8, 1990 |
Translate the following into a SQL query | who is the opponent when the streak is won 9 on april 13, 1990? | SELECT Opponent FROM table WHERE Streak = won 9 AND Date = april 13, 1990 |
Translate the following into a SQL query | What is the total number of # Of Prefectural Votes, when # Of Seats Won is greater than 69, and when Leader is Yasuhiro Nakasone? | SELECT COUNT # of Prefectural votes FROM table WHERE # of seats won > 69 AND Leader = yasuhiro nakasone |
Translate the following into a SQL query | What is the average # Of National Votes, when the Election is before 1992, when the % Of Prefectural Vote is 39.5%, when Leader is Takeo Fukuda, and when # Of Seats Won is greater than 63? | SELECT AVG # of National votes FROM table WHERE Election < 1992 AND % of Prefectural vote = 39.5% AND Leader = takeo fukuda AND # of seats won > 63 |
Translate the following into a SQL query | What is the average Election, when % Of Prefectural Vote is 38.57%, and when # Of Prefectural Votes is greater than 21,114,727? | SELECT AVG Election FROM table WHERE % of Prefectural vote = 38.57% AND # of Prefectural votes > 21,114,727 |
Translate the following into a SQL query | What is the average Election, when % Of Nation Vote is 45.23%, and when # Of Prefectural Votes is less than 14,961,199? | SELECT AVG Election FROM table WHERE % of National vote = 45.23% AND # of Prefectural votes < 14,961,199 |
Translate the following into a SQL query | What is the total number of # Of Prefectural Votes, when % Of Prefectural Vote is 48.4%, and when # Of Seats Won is greater than 61? | SELECT COUNT # of Prefectural votes FROM table WHERE % of Prefectural vote = 48.4% AND # of seats won > 61 |
Translate the following into a SQL query | What was the resolution of the fight against steve schneider? | SELECT Res. FROM table WHERE Opponent = steve schneider |
Translate the following into a SQL query | What was the resolution of the fight when matt grice had a record of 2-0? | SELECT Res. FROM table WHERE Record = 2-0 |
Translate the following into a SQL query | What was the record when matt grice fought dennis bermudez with a time of 5:00? | SELECT Record FROM table WHERE Time = 5:00 AND Opponent = dennis bermudez |
Translate the following into a SQL query | What was the outcome of the match against Juan Ignacio Chela? | SELECT Outcome FROM table WHERE Opponent = juan ignacio chela |
Translate the following into a SQL query | What is the 250 cc with a year bigger than 1984? | SELECT 250 cc FROM table WHERE Year > 1984 |
Translate the following into a SQL query | What is the report for a 250 cc of sito pons, and a 500 cc of wayne gardner? | SELECT Report FROM table WHERE 250 cc = sito pons AND 500 cc = wayne gardner |
Translate the following into a SQL query | What is the 500 cc with a 250 cc of freddie spencer? | SELECT 500 cc FROM table WHERE 250 cc = freddie spencer |
Translate the following into a SQL query | What track has a 250 cc of sito pons? | SELECT Track FROM table WHERE 250 cc = sito pons |
Translate the following into a SQL query | How much did Jerry Barber score to come in at T9? | SELECT Score FROM table WHERE Place = t9 AND Player = jerry barber |
Translate the following into a SQL query | What place did Jerry Barber of the United States come in at? | SELECT Place FROM table WHERE Country = united states AND Player = jerry barber |
Translate the following into a SQL query | What score did Ed Furgol get to come in at T6? | SELECT Score FROM table WHERE Place = t6 AND Player = ed furgol |
Translate the following into a SQL query | What score did Ted Kroll get to come in at T2? | SELECT Score FROM table WHERE Place = t2 AND Player = ted kroll |
Translate the following into a SQL query | Where is Fred Haas from? | SELECT Country FROM table WHERE Player = fred haas |
Translate the following into a SQL query | Where is Fred Haas from? | SELECT Country FROM table WHERE Player = fred haas |
Translate the following into a SQL query | What is Position, when School/Club Team is McMaster? | SELECT Position FROM table WHERE School/Club Team = mcmaster |
Translate the following into a SQL query | What is the lowest Round, when Pick is 9 (via Hamilton)? | SELECT MIN Round FROM table WHERE Pick = 9 (via hamilton) |
Translate the following into a SQL query | What is Pick, when Position is OL, and when Round is less than 6? | SELECT Pick FROM table WHERE Position = ol AND Round < 6 |
Translate the following into a SQL query | What is School/Club Team, when Pick is 9 (via Hamilton)? | SELECT School/Club Team FROM table WHERE Pick = 9 (via hamilton) |
Translate the following into a SQL query | What is the Result of the game with an Attendance of 55,353? | SELECT Result FROM table WHERE Attendance = 55,353 |
Translate the following into a SQL query | In what Week was the Attendance 39,923? | SELECT SUM Week FROM table WHERE Attendance = 39,923 |
Translate the following into a SQL query | What was the Result of the game after Week 9 with an Attendance of 69,714? | SELECT Result FROM table WHERE Week > 9 AND Attendance = 69,714 |
Translate the following into a SQL query | What Week falls on September 4, 1994? | SELECT AVG Week FROM table WHERE Date = september 4, 1994 |
Translate the following into a SQL query | What is Pos., when Player is "Nigel De Jong"? | SELECT Pos. FROM table WHERE Player = nigel de jong |
Translate the following into a SQL query | What is From Club, when Player is "Robinho"? | SELECT From club FROM table WHERE Player = robinho |
Translate the following into a SQL query | What is Pos., when From Club is "CSKA Moscow"? | SELECT Pos. FROM table WHERE From club = cska moscow |
Translate the following into a SQL query | What is Pos., when From Club is "Chelsea", and when Date is "30 July 2008"? | SELECT Pos. FROM table WHERE From club = chelsea AND Date = 30 july 2008 |
Translate the following into a SQL query | What is the team 2 for the match with a team 1 of Panathinaikos? | SELECT Team 2 FROM table WHERE Team 1 = panathinaikos |
Translate the following into a SQL query | What was the first leg score for the match with a team 1 of Panathinaikos? | SELECT 1st leg FROM table WHERE Team 1 = panathinaikos |
Translate the following into a SQL query | What is the 2nd leg score for the match with a team 2 of Werder Bremen? | SELECT 2nd leg FROM table WHERE Team 2 = werder bremen |
Translate the following into a SQL query | Who is the kitmaker for Fc Augsburg? | SELECT Kitmaker FROM table WHERE Team = fc augsburg |
Translate the following into a SQL query | Who is the head coach of the team, whose shirt sponsor is karstadt quelle versicherungen? | SELECT Head coach FROM table WHERE Shirt sponsor = karstadt quelle versicherungen |
Translate the following into a SQL query | Who is the kitmaker for the team that Uwe Rapolder is the head coach of. | SELECT Kitmaker FROM table WHERE Head coach = uwe rapolder |
Translate the following into a SQL query | Who is the team captain of the team that Lübzer is the shirt sponsor for? | SELECT Team captain FROM table WHERE Shirt sponsor = lübzer |
Translate the following into a SQL query | Who is the shirt sponsor of the team Andreas Wolf is the captain of? | SELECT Shirt sponsor FROM table WHERE Team captain = andreas wolf |
Translate the following into a SQL query | Who is the shirt sponsor for the team Daniel Thioune captains? | SELECT Shirt sponsor FROM table WHERE Team captain = daniel thioune |
Translate the following into a SQL query | What was the date of the game number 22? | SELECT Date FROM table WHERE Game = 22 |
Translate the following into a SQL query | What is the Director from Paramount with a Film with a Gross of $128,152,301? | SELECT Director FROM table WHERE Studio = paramount AND Gross = $128,152,301 |
Translate the following into a SQL query | What is the Studio of the Rank 10 Film? | SELECT Studio FROM table WHERE Rank = 10 |
Translate the following into a SQL query | What is the source of the poll that had Republican: Dino Rossi at 46%, Democrat: Christine Gregoire at 50%, and the lead margin was larger than 3? | SELECT Source FROM table WHERE Republican: Dino Rossi = 46% AND Lead Margin > 3 AND Democrat: Christine Gregoire = 50% |
Translate the following into a SQL query | What was the percentage for Republican: Dino Rossi when Democrat: Christine Gregoire polled at 53.7% and the lead margin was larger than 7? | SELECT Republican: Dino Rossi FROM table WHERE Lead Margin > 7 AND Democrat: Christine Gregoire = 53.7% |
Translate the following into a SQL query | What is the release date of the album written by Ford, Phil Phil Ford under BBC Audio? | SELECT release date FROM table WHERE Company = bbc audio AND Writer = ford, phil phil ford |
Translate the following into a SQL query | What is the release date of the album written by Goss, James James Goss under Audiogo? | SELECT release date FROM table WHERE Writer = goss, james james goss AND Company = audiogo |
Translate the following into a SQL query | Who is the company that released the album on 2008-09-18 18 September 2008? | SELECT Company FROM table WHERE release date = 2008-09-18 18 september 2008 |
Translate the following into a SQL query | Notre-Dame-De-Lourdes has what average area km 2? | SELECT AVG Area km 2 FROM table WHERE Official Name = notre-dame-de-lourdes |
Translate the following into a SQL query | Saint-Jacques has what as the area km 2? | SELECT Area km 2 FROM table WHERE Official Name = saint-jacques |
Translate the following into a SQL query | With an area km 2 of 343.95 what is the official name? | SELECT Official Name FROM table WHERE Area km 2 = 343.95 |
Translate the following into a SQL query | Saint-Basile has what status? | SELECT Status FROM table WHERE Official Name = saint-basile |
Translate the following into a SQL query | What circuit has qualifying as the session? | SELECT Circuit FROM table WHERE Session = qualifying |
Translate the following into a SQL query | The 1997 Japanese Formula 3 Championship is part of what circuit? | SELECT Circuit FROM table WHERE Event = 1997 japanese formula 3 championship |
Translate the following into a SQL query | The Fall Nationals has what sessions? | SELECT Session FROM table WHERE Event = fall nationals |
Translate the following into a SQL query | The 1977 Japanese Grand Prix in the open wheel discipline has what session? | SELECT Session FROM table WHERE Discipline = open wheel AND Event = 1977 japanese grand prix |
Translate the following into a SQL query | What circuit has a race for the session, and open wheel as the discipline, and the 1977 Japanese Grand Prix as the event? | SELECT Circuit FROM table WHERE Session = race AND Discipline = open wheel AND Event = 1977 japanese grand prix |
Translate the following into a SQL query | For what cause is Touring Car Racing the discipline? | SELECT Cause FROM table WHERE Discipline = touring car racing |
Translate the following into a SQL query | What player scored 70-73-69-72=284? | SELECT Player FROM table WHERE Score = 70-73-69-72=284 |
Translate the following into a SQL query | What is the lowest amount of money that Craig Stadler won? | SELECT MIN Money ( $ ) FROM table WHERE Player = craig stadler |
Translate the following into a SQL query | What country is David Graham from? | SELECT Country FROM table WHERE Player = david graham |
Translate the following into a SQL query | What is the total amount of money that the United States one with a To par of –2? | SELECT COUNT Money ( $ ) FROM table WHERE Country = united states AND To par = –2 |
Translate the following into a SQL query | What score did Jack Nicklaus have when he placed t6? | SELECT Score FROM table WHERE Place = t6 AND Player = jack nicklaus |
Translate the following into a SQL query | How much money has a to par of E? | SELECT COUNT Money ( $ ) FROM table WHERE To par = e |
Translate the following into a SQL query | What was the location on October 16? | SELECT Location FROM table WHERE Date = october 16 |
Translate the following into a SQL query | Who was the winner when the result was 56-0 before 1935? | SELECT Winner FROM table WHERE Year < 1935 AND Result = 56-0 |
Translate the following into a SQL query | Who was the winner in philadelphia municipal stadium in 1939? | SELECT Winner FROM table WHERE Location = philadelphia municipal stadium AND Year = 1939 |
Translate the following into a SQL query | What was the earliest year that the result 21-17? | SELECT MIN Year FROM table WHERE Result = 21-17 |
Translate the following into a SQL query | What was the location after 1934 that Philadelphia Eagles lost on October 15? | SELECT Location FROM table WHERE Year > 1934 AND Loser = philadelphia eagles AND Date = october 15 |
Translate the following into a SQL query | When did chang myon (장면) leave office? | SELECT Left office FROM table WHERE Romanized (Hangul) = chang myon (장면) |
Translate the following into a SQL query | When did the vice president with a vice over 6 take office? | SELECT Took office FROM table WHERE Vice > 6 |
Translate the following into a SQL query | What province in Tumbes has less than 11 districts and a UBIGEO of 2401? | SELECT Province FROM table WHERE Districts < 11 AND Region = tumbes AND UBIGEO = 2401 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.