instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | what's the date of birth with # being 2 | SELECT Date of birth FROM table WHERE # = 2 |
Translate the following into a SQL query | how many end of term with age at inauguration being 64-066 64years, 66days | SELECT COUNT End of term FROM table WHERE Age at inauguration = 64-066 64years, 66days |
Translate the following into a SQL query | Who was the winning pitcher on june 25? | SELECT Winning Pitcher FROM table WHERE Date = June 25 |
Translate the following into a SQL query | How many games were on May 20? | SELECT COUNT Attendance FROM table WHERE Date = May 20 |
Translate the following into a SQL query | Who is the losing pitcher when the winning pitcher is roy oswalt? | SELECT Losing Pitcher FROM table WHERE Winning Pitcher = Roy Oswalt |
Translate the following into a SQL query | Who is the winning pitcher when attendance is 38109? | SELECT Winning Pitcher FROM table WHERE Attendance = 38109 |
Translate the following into a SQL query | How many NHL teams does Terry French play for? | SELECT COUNT NHL team FROM table WHERE Player = Terry French |
Translate the following into a SQL query | Who's the player for the New York Rangers? | SELECT Player FROM table WHERE NHL team = New York Rangers |
Translate the following into a SQL query | How many positions do the players of Chicago Black Hawks play in? | SELECT COUNT Position FROM table WHERE NHL team = Chicago Black Hawks |
Translate the following into a SQL query | What is the nationality of the player from Buffalo Sabres? | SELECT Nationality FROM table WHERE NHL team = Buffalo Sabres |
Translate the following into a SQL query | What position does the player from Peterborough Petes (OHA) play on? | SELECT Position FROM table WHERE College/junior/club team = Peterborough Petes (OHA) |
Translate the following into a SQL query | What's Dave Fortier's pick number? | SELECT COUNT Pick # FROM table WHERE Player = Dave Fortier |
Translate the following into a SQL query | What team does George Hulme play for? | SELECT College/junior/club team FROM table WHERE Player = George Hulme |
Translate the following into a SQL query | What position does Neil Komadoski play? | SELECT Position FROM table WHERE Player = Neil Komadoski |
Translate the following into a SQL query | where is team player mike mcniven played for? | SELECT College/junior/club team FROM table WHERE Player = Mike McNiven |
Translate the following into a SQL query | what college has nhl team chicago black hawks? | SELECT College/junior/club team FROM table WHERE NHL team = Chicago Black Hawks |
Translate the following into a SQL query | what is the college that has the nhl chicago black hawks? | SELECT College/junior/club team FROM table WHERE NHL team = Chicago Black Hawks |
Translate the following into a SQL query | who is the player with the nationality of canada and pick # is 65? | SELECT Player FROM table WHERE Nationality = Canada AND Pick # = 65 |
Translate the following into a SQL query | How many teams did Bob Peppler play for? | SELECT COUNT NHL team FROM table WHERE Player = Bob Peppler |
Translate the following into a SQL query | What is the position listed for the team the Philadelphia Flyers? | SELECT Position FROM table WHERE NHL team = Philadelphia Flyers |
Translate the following into a SQL query | How many nationalities are listed for the player Glen Irwin? | SELECT COUNT Nationality FROM table WHERE Player = Glen Irwin |
Translate the following into a SQL query | Which players have the position of centre and play for the nhl team new york rangers | SELECT Player FROM table WHERE Position = Centre AND NHL team = New York Rangers |
Translate the following into a SQL query | Which nhl team has a college/junior/club team named university of notre dame (ncaa) | SELECT NHL team FROM table WHERE College/junior/club team = University of Notre Dame (NCAA) |
Translate the following into a SQL query | what are all the position where player is al simmons | SELECT Position FROM table WHERE Player = Al Simmons |
Translate the following into a SQL query | What nationality is pick # 89 | SELECT Nationality FROM table WHERE Pick # = 89 |
Translate the following into a SQL query | Which college/junior/club teams nationality is canada and nhl team is minnesota north stars | SELECT College/junior/club team FROM table WHERE Nationality = Canada AND NHL team = Minnesota North Stars |
Translate the following into a SQL query | what is the total number of pick # where nhl team is philadelphia flyers | SELECT COUNT Pick # FROM table WHERE NHL team = Philadelphia Flyers |
Translate the following into a SQL query | What is the nationality of the player from the Detroit Red Wings? | SELECT Nationality FROM table WHERE NHL team = Detroit Red Wings |
Translate the following into a SQL query | What position does Jim Johnston play? | SELECT Position FROM table WHERE Player = Jim Johnston |
Translate the following into a SQL query | Which team does Pierre Duguay play for? | SELECT NHL team FROM table WHERE Player = Pierre Duguay |
Translate the following into a SQL query | What country does the goaltender come from? | SELECT Nationality FROM table WHERE Position = Goaltender |
Translate the following into a SQL query | who is the writer where viewers is 5.16m | SELECT Writer FROM table WHERE Viewers = 5.16m |
Translate the following into a SQL query | who is the writer for episode "episode 7" | SELECT Writer FROM table WHERE Episode = "Episode 7" |
Translate the following into a SQL query | For which league is the open cup the quarter finals | SELECT League FROM table WHERE Open Cup = Quarter Finals |
Translate the following into a SQL query | What open cups where played in 2002 | SELECT Open Cup FROM table WHERE Year = 2002 |
Translate the following into a SQL query | What leagues includes division 3 | SELECT League FROM table WHERE Division = 3 |
Translate the following into a SQL query | What was the result of the playoffs when the regular season was 7th, southeast | SELECT Playoffs FROM table WHERE Regular Season = 7th, Southeast |
Translate the following into a SQL query | What's the original air date of the episode with production code 2T6719? | SELECT Original air date FROM table WHERE Production code = 2T6719 |
Translate the following into a SQL query | Who's the writer of the episode see by 12.13 million US viewers? | SELECT Written by FROM table WHERE U.S. viewers (millions) = 12.13 |
Translate the following into a SQL query | What's the total number of episodes with production code 2T6705? | SELECT COUNT Title FROM table WHERE Production code = 2T6705 |
Translate the following into a SQL query | What's the total number of directors who've directed episodes seen by 11.34 million US viewers? | SELECT COUNT Directed by FROM table WHERE U.S. viewers (millions) = 11.34 |
Translate the following into a SQL query | What's the production code of the episode seen by 11.64 million US viewers? | SELECT Production code FROM table WHERE U.S. viewers (millions) = 11.64 |
Translate the following into a SQL query | What is the season where the winner is norway and the winner women is russia? | SELECT Season FROM table WHERE Winner = Norway AND Winner Women = Russia |
Translate the following into a SQL query | What is the winner women and third is italy and runner-up is finland? | SELECT Winner Women FROM table WHERE Third = Italy AND Runner-up = Finland |
Translate the following into a SQL query | What is the number of runner up when the winner of women is norway and third is sweden? | SELECT COUNT Runner-up FROM table WHERE Winner Women = Norway AND Third = Sweden |
Translate the following into a SQL query | what's the report with fastest lap being felipe massa and winning driver being jenson button | SELECT Report FROM table WHERE Fastest lap = Felipe Massa AND Winning driver = Jenson Button |
Translate the following into a SQL query | what's the grand prix with winning driver being jenson button | SELECT Grand Prix FROM table WHERE Winning driver = Jenson Button |
Translate the following into a SQL query | who is the the pole position with grand prix being italian grand prix | SELECT Pole position FROM table WHERE Grand Prix = Italian Grand Prix |
Translate the following into a SQL query | who is the the fastest lap with grand prix being european grand prix | SELECT Fastest lap FROM table WHERE Grand Prix = European Grand Prix |
Translate the following into a SQL query | How many viewers, in millions, were for the episode directed by Tawnia McKiernan? | SELECT U.S. viewers (millions) FROM table WHERE Directed by = Tawnia McKiernan |
Translate the following into a SQL query | How many episodes were written only by William N. Fordes? | SELECT COUNT Series # FROM table WHERE Written by = William N. Fordes |
Translate the following into a SQL query | How many U.S Viewers, in millions, were for series # 26? | SELECT U.S. viewers (millions) FROM table WHERE Series # = 26 |
Translate the following into a SQL query | What is the third year course in science? | SELECT Third Year FROM table WHERE Subjects = Science |
Translate the following into a SQL query | What is the second year class following pag-unawa? | SELECT Second Year FROM table WHERE First Year = Pag-unawa |
Translate the following into a SQL query | How many classes are taken in the third year when pag-unawa was taken in the first year? | SELECT COUNT Third Year FROM table WHERE First Year = Pag-unawa |
Translate the following into a SQL query | What is the first year course in the program where geometry is taken in the third year? | SELECT First Year FROM table WHERE Third Year = Geometry |
Translate the following into a SQL query | What is the second year course in the program where physics is taken in the fourth year? | SELECT Second Year FROM table WHERE Fourth Year = Physics |
Translate the following into a SQL query | Who won the womens singles event the year that Jonas Lyduch won? | SELECT Womens singles FROM table WHERE Mens singles = Jonas Lyduch |
Translate the following into a SQL query | Who won the mens doubles the year Alison Humby won the womens singles? | SELECT Mens doubles FROM table WHERE Womens singles = Alison Humby |
Translate the following into a SQL query | What are all the .308 Winchester cartridge types with 38 for the 300 m group (mm) | SELECT .308 Winchester cartridge type FROM table WHERE 300 m group (mm) = 38 |
Translate the following into a SQL query | For which 100 m group ( moa ) is the 300 m group ( moa ) 0.63 | SELECT 100 m group ( MOA ) FROM table WHERE 300 m group ( MOA ) = 0.63 |
Translate the following into a SQL query | What are all the 300 m group (mm) with a .308 winchester cartridge type of ruag swiss p target 168 gr hp-bt | SELECT 300 m group (mm) FROM table WHERE .308 Winchester cartridge type = RUAG Swiss P Target 168 gr HP-BT |
Translate the following into a SQL query | For which .308 winchester cartridge type is the 300 m group ( moa ) 0.51 | SELECT .308 Winchester cartridge type FROM table WHERE 300 m group ( MOA ) = 0.51 |
Translate the following into a SQL query | For which 300 m group ( moa ) is the 300 m group (mm) 45 | SELECT 300 m group ( MOA ) FROM table WHERE 300 m group (mm) = 45 |
Translate the following into a SQL query | What are all the 100 m group (mm) with a .308 winchester cartridge type of .300 winchester magnum cartridge type | SELECT 100 m group (mm) FROM table WHERE .308 Winchester cartridge type = .300 Winchester Magnum cartridge type |
Translate the following into a SQL query | How many years did Peter Mikkelsen win the Mens Singles? | SELECT COUNT Year FROM table WHERE Mens singles = Peter Mikkelsen |
Translate the following into a SQL query | Who won the Men's Doubles when Karina de Wit won the Women's Singles? | SELECT Mens doubles FROM table WHERE Womens singles = Karina de Wit |
Translate the following into a SQL query | How many Mixed Doubles won when Oliver Pongratz won the Men's Singles? | SELECT COUNT Mixed doubles FROM table WHERE Mens singles = Oliver Pongratz |
Translate the following into a SQL query | Who won the Men's Doubles when Guo Xin won the Women's Singles? | SELECT Mens doubles FROM table WHERE Womens singles = Guo Xin |
Translate the following into a SQL query | Which college did Dennis Byrd come from? | SELECT College FROM table WHERE Player = Dennis Byrd |
Translate the following into a SQL query | Bob Johnson plays for which AFL team? | SELECT AFL Team FROM table WHERE Player = Bob Johnson |
Translate the following into a SQL query | What position does the Cincinnati Bengals' player have? | SELECT Position FROM table WHERE AFL Team = Cincinnati Bengals |
Translate the following into a SQL query | What position does Syracuse's player have? | SELECT Position FROM table WHERE College = Syracuse |
Translate the following into a SQL query | What college did the Cincinnati Bengals' player come from? | SELECT College FROM table WHERE AFL Team = Cincinnati Bengals |
Translate the following into a SQL query | What is the pinyin for explaining music? | SELECT Pinyin FROM table WHERE Translation = Explaining Music |
Translate the following into a SQL query | How many subjects have the pinyin shixun? | SELECT COUNT Subject FROM table WHERE Pinyin = Shixun |
Translate the following into a SQL query | What is the pinyin for explaining beasts? | SELECT Pinyin FROM table WHERE Translation = Explaining Beasts |
Translate the following into a SQL query | How many pinyin transaltions are available for the chinese phrase 釋蟲? | SELECT COUNT Pinyin FROM table WHERE Chinese = 釋蟲 |
Translate the following into a SQL query | What chapter number is Shiqiu? | SELECT MIN Chapter FROM table WHERE Pinyin = Shiqiu |
Translate the following into a SQL query | How many mens doubles when womens doubles is catrine bengtsson margit borg? | SELECT COUNT Mens doubles FROM table WHERE Womens doubles = Catrine Bengtsson Margit Borg |
Translate the following into a SQL query | Who is the mens doubles when womens doubles is anastasia chervyakova romina gabdullina? | SELECT Mens doubles FROM table WHERE Womens doubles = Anastasia Chervyakova Romina Gabdullina |
Translate the following into a SQL query | Who is themens doubles when the mens singles is flemming delfs? | SELECT Mens doubles FROM table WHERE Mens singles = Flemming Delfs |
Translate the following into a SQL query | Who was the womens doubles when the mixed doubles is jacco arends selena piek? | SELECT Womens doubles FROM table WHERE Mixed doubles = Jacco Arends Selena Piek |
Translate the following into a SQL query | Who was the mens doubles when womens singles is mette sørensen? | SELECT Mens doubles FROM table WHERE Womens singles = Mette Sørensen |
Translate the following into a SQL query | Who is the Motogp winnder for the Catalunya Circuit? | SELECT MotoGP winner FROM table WHERE Circuit = Catalunya |
Translate the following into a SQL query | Who is the 125cc winnder for the Phillip Island circuit? | SELECT 125cc winner FROM table WHERE Circuit = Phillip Island |
Translate the following into a SQL query | What is the date of the German Grand Prix? | SELECT Date FROM table WHERE Grand Prix = German Grand Prix |
Translate the following into a SQL query | What circuit was on the date 4 May? | SELECT Circuit FROM table WHERE Date = 4 May |
Translate the following into a SQL query | Name the number of mens doubles for 2004/2005 | SELECT COUNT Mens doubles FROM table WHERE Season = 2004/2005 |
Translate the following into a SQL query | Name the total number for mens single for 2002/2003 | SELECT COUNT Mens singles FROM table WHERE Season = 2002/2003 |
Translate the following into a SQL query | Name the mens singles for 1944/1945 | SELECT Mens singles FROM table WHERE Season = 1944/1945 |
Translate the following into a SQL query | How many times was pernell whitaker an opponent? | SELECT COUNT Date FROM table WHERE Opponent = Pernell Whitaker |
Translate the following into a SQL query | How many times was iran barkley an opponent? | SELECT Number FROM table WHERE Opponent = Iran Barkley |
Translate the following into a SQL query | Who was the opponent when the result was ud 12/12 and date was 1993-05-22? | SELECT Opponent FROM table WHERE Result = UD 12/12 AND Date = 1993-05-22 |
Translate the following into a SQL query | How many opponents fought on 1982-12-03? | SELECT COUNT Opponent FROM table WHERE Date = 1982-12-03 |
Translate the following into a SQL query | What is the name of the title winner in the ring light heavyweight (175) division? | SELECT Name FROM table WHERE Titles = The Ring Light heavyweight (175) |
Translate the following into a SQL query | How many trains call at Castor, Overton, Peterborough East and are operated by LNWR? | SELECT COUNT Arrival FROM table WHERE Operator = LNWR AND Calling at = Castor, Overton, Peterborough East |
Translate the following into a SQL query | Who won the mens singles in 2009? | SELECT Mens singles FROM table WHERE Year = 2009 |
Translate the following into a SQL query | What are the the University of Richmond's school colors? | SELECT Colors FROM table WHERE Institution = University of Richmond |
Translate the following into a SQL query | What are the school colors of the University of New Hampshire? | SELECT Colors FROM table WHERE Institution = University of New Hampshire |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.