instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | What was the first broadcast date of the episode in which Sean's team is made up of Peter Serafinowicz and Johnny Vegas? | SELECT First broadcast FROM table WHERE Seans team = Peter Serafinowicz and Johnny Vegas |
Translate the following into a SQL query | In how many episodes was Dave's team made up of David Walliams and Louis Walsh? | SELECT COUNT Episode FROM table WHERE Daves team = David Walliams and Louis Walsh |
Translate the following into a SQL query | Which episode has boy george and lee mack on dave's team? | SELECT Episode FROM table WHERE Daves team = Boy George and Lee Mack |
Translate the following into a SQL query | How many daves team entries are there on 27 october 2006? | SELECT COUNT Daves team FROM table WHERE First broadcast = 27 October 2006 |
Translate the following into a SQL query | Which episode has ulrika jonsson and michael mcintyre on sean's team? | SELECT Episode FROM table WHERE Seans team = Ulrika Jonsson and Michael McIntyre |
Translate the following into a SQL query | What was the score in the episode with john barrowman and vic reeves on sean's team? | SELECT Scores FROM table WHERE Seans team = John Barrowman and Vic Reeves |
Translate the following into a SQL query | What was the first broadcast date of episode 4x03? | SELECT First broadcast FROM table WHERE Episode = 4x03 |
Translate the following into a SQL query | Name the first broadcast for trisha goddard and glenn wool | SELECT First broadcast FROM table WHERE Jasons team = Trisha Goddard and Glenn Wool |
Translate the following into a SQL query | Name the number of scores for 5x06 | SELECT COUNT Scores FROM table WHERE Episode = 5x06 |
Translate the following into a SQL query | Name the first broadcast for tina malone and joe wilkinson | SELECT First broadcast FROM table WHERE Seans team = Tina Malone and Joe Wilkinson |
Translate the following into a SQL query | Name the number of jons team for 15x10 | SELECT COUNT Jons team FROM table WHERE Episode = 15x10 |
Translate the following into a SQL query | Name the scores for chris ramsey and carol vorderman | SELECT Scores FROM table WHERE Seans team = Chris Ramsey and Carol Vorderman |
Translate the following into a SQL query | Name the total number of jons team for 15x07 | SELECT COUNT Jons team FROM table WHERE Episode = 15x07 |
Translate the following into a SQL query | Name all of Jason's teams that appeared on episode 6x02? | SELECT Jasons team FROM table WHERE Episode = 6x02 |
Translate the following into a SQL query | In how many episodes were Vanessa Feltz and Lee Mack the team for Sean? | SELECT COUNT Episode FROM table WHERE Seans team = Vanessa Feltz and Lee Mack |
Translate the following into a SQL query | Name the episode(s) that featured Duncan James and Johnny Vegas as Jason's team. | SELECT Episode FROM table WHERE Jasons team = Duncan James and Johnny Vegas |
Translate the following into a SQL query | What round does Duncan Tappy drive in? | SELECT MAX SF Round FROM table WHERE Driver = Duncan Tappy |
Translate the following into a SQL query | How many racing points did England get? | SELECT MAX Race Total(pts) FROM table WHERE Country = England |
Translate the following into a SQL query | How many are the Race 2 points when Race 1 was 12? | SELECT Race 2(pts) FROM table WHERE Race 1(pts) = 12 |
Translate the following into a SQL query | How many millions of people in the US saw the episode number 226? | SELECT U.S. viewers (millions) FROM table WHERE No. = 226 |
Translate the following into a SQL query | What is the highest episode number? | SELECT MAX No. FROM table |
Translate the following into a SQL query | Who was performer 1 in the episode number 7 where Heather Anne Campbell was performer 2? | SELECT Performer 1 FROM table WHERE Performer 2 = Heather Anne Campbell AND # = 7 |
Translate the following into a SQL query | What's the number of the episode seen by 2.99 millions of people in the US, where performer 2 was Heather Anne Campbell? | SELECT MIN # FROM table WHERE Performer 2 = Heather Anne Campbell AND U.S. viewers (millions) = 2.99 |
Translate the following into a SQL query | Name the episode for vic reeves and claudia winkleman | SELECT Episode FROM table WHERE Seans team = Vic Reeves and Claudia Winkleman |
Translate the following into a SQL query | Name the number of scores for episode 7x05 | SELECT COUNT Scores FROM table WHERE Episode = 7x05 |
Translate the following into a SQL query | Name the seans team being 13 november 2008 | SELECT Seans team FROM table WHERE First broadcast = 13 November 2008 |
Translate the following into a SQL query | Name the total number of seans team being 7x04 | SELECT COUNT Seans team FROM table WHERE Episode = 7x04 |
Translate the following into a SQL query | Name the total number of scores for 7x10 | SELECT COUNT Scores FROM table WHERE Episode = 7x10 |
Translate the following into a SQL query | How many dates have a total points for race of 180? | SELECT COUNT Date FROM table WHERE Race Total(pts) = 180 |
Translate the following into a SQL query | What is every points value for race 1 if the total race points is 180? | SELECT Race 1(pts) FROM table WHERE Race Total(pts) = 180 |
Translate the following into a SQL query | What is the lowest number of total race points for the country of Belgium? | SELECT MIN Race Total(pts) FROM table WHERE Country = Belgium |
Translate the following into a SQL query | Who is every driver for the location of Estoril Circuit? | SELECT Driver FROM table WHERE Location = Estoril Circuit |
Translate the following into a SQL query | What is the highest value for SF round for the country of England? | SELECT MAX SF Round FROM table WHERE Country = England |
Translate the following into a SQL query | What is the surface for the year 2001? | SELECT Surface FROM table WHERE Year = 2001 |
Translate the following into a SQL query | What was the score on October 29? | SELECT Score FROM table WHERE Date = October 29 |
Translate the following into a SQL query | How many opponents were there with the record of 3-2-2? | SELECT COUNT Opponent FROM table WHERE Record = 3-2-2 |
Translate the following into a SQL query | What was the record on October 17? | SELECT Record FROM table WHERE Date = October 17 |
Translate the following into a SQL query | What date did they play agains the New York Rangers? | SELECT Date FROM table WHERE Opponent = New York Rangers |
Translate the following into a SQL query | How many points were there scored on October 27? | SELECT MAX Points FROM table WHERE Date = October 27 |
Translate the following into a SQL query | How many different scores are there for the game with 10-3-4 record? | SELECT COUNT Score FROM table WHERE Record = 10-3-4 |
Translate the following into a SQL query | When was the game with 13-5-6 record played? | SELECT Date FROM table WHERE Record = 13-5-6 |
Translate the following into a SQL query | What's the minimal number of points scored in any game? | SELECT MIN Points FROM table |
Translate the following into a SQL query | How many different games against Florida Panthers were played in Verizon Center? | SELECT COUNT Game FROM table WHERE Opponent = Florida Panthers AND Location = Verizon Center |
Translate the following into a SQL query | What was the record in the November 7 game? | SELECT Record FROM table WHERE Date = November 7 |
Translate the following into a SQL query | How many times was there a record of 49-15-11? | SELECT COUNT Attendance FROM table WHERE Record = 49-15-11 |
Translate the following into a SQL query | How many scores had a date of March 6? | SELECT COUNT Score FROM table WHERE Date = March 6 |
Translate the following into a SQL query | If the date is 7-21-2006, who was the opponent? | SELECT Opponent FROM table WHERE Date = 7-21-2006 |
Translate the following into a SQL query | If the opponent is Kristian Pless, who was it against? | SELECT Against FROM table WHERE Opponent = Kristian Pless |
Translate the following into a SQL query | Who is the winning team when max busnelli is the winning driver? | SELECT Winning Team FROM table WHERE Winning Driver = Max Busnelli |
Translate the following into a SQL query | In which location is aci vallelunga circuit? | SELECT Location FROM table WHERE Circuit = ACI Vallelunga Circuit |
Translate the following into a SQL query | Who held the pole position in misano world circuit? | SELECT Pole Position FROM table WHERE Circuit = Misano World Circuit |
Translate the following into a SQL query | List the results for all games which involved the detroit red wings. | SELECT Score FROM table WHERE Opponent = Detroit Red Wings |
Translate the following into a SQL query | Calculate the highest points where the win,loss, tie ratio is 28-12-6 | SELECT MAX Points FROM table WHERE Record = 28-12-6 |
Translate the following into a SQL query | what are the previous performance details for games involving the montreal canadiens? | SELECT Record FROM table WHERE Opponent = Montreal Canadiens |
Translate the following into a SQL query | Which years did Michigan state university come in third place? | SELECT Year FROM table WHERE Third Place = Michigan State University |
Translate the following into a SQL query | Who were the champions in years where michigan technological university was in third place? | SELECT Champion FROM table WHERE Third Place = Michigan Technological University |
Translate the following into a SQL query | What was the host city in years where the host school was école de technologie supérieure? | SELECT Host City FROM table WHERE Host School = École de technologie supérieure |
Translate the following into a SQL query | Who came in second place when the champion was south dakota school of mines & technology? | SELECT Second Place FROM table WHERE Champion = South Dakota School of Mines & Technology |
Translate the following into a SQL query | If the average is 45.65, what is the total number of innings? | SELECT COUNT Innings FROM table WHERE Average = 45.65 |
Translate the following into a SQL query | What is the name of the player if the innings is 82? | SELECT Player FROM table WHERE Innings = 82 |
Translate the following into a SQL query | If the innings is 68, what is the average? | SELECT Average FROM table WHERE Innings = 68 |
Translate the following into a SQL query | If the runs is 5028, what is the matches maximum? | SELECT MAX Matches FROM table WHERE Runs = 5028 |
Translate the following into a SQL query | Name the least dismissals for sammy carter | SELECT MIN Dismissals FROM table WHERE Player = Sammy Carter |
Translate the following into a SQL query | Name the number of dismissals for adam gilchrist | SELECT COUNT Dismissals FROM table WHERE Player = Adam Gilchrist |
Translate the following into a SQL query | Name the least dismissals for 4 rank | SELECT MAX Dismissals FROM table WHERE Rank = 4 |
Translate the following into a SQL query | How many top 10 finishes did Ken Bouchard get in the year he won $17,695? | SELECT Top 10 FROM table WHERE Winnings = $17,695 |
Translate the following into a SQL query | What year did Ken Bouchard finish in 78th place? | SELECT Year FROM table WHERE Position = 78th |
Translate the following into a SQL query | How many seasons did Ken Bouchard finish in 38th place? | SELECT COUNT Year FROM table WHERE Position = 38th |
Translate the following into a SQL query | What is the greatest number of wins Ken Bouchard had in a season? | SELECT MIN Wins FROM table |
Translate the following into a SQL query | How many races in 2012 season have 0 podiums? | SELECT COUNT Races FROM table WHERE Season = 2012 AND Podiums = 0 |
Translate the following into a SQL query | How many seasons have motopark team? | SELECT COUNT Season FROM table WHERE Team = Motopark |
Translate the following into a SQL query | Which team has nc position for 2010 season? | SELECT Team FROM table WHERE Position = NC AND Season = 2010 |
Translate the following into a SQL query | How many points have a series of british formula renault 2.0 winter cup and f/laps of 0? | SELECT Points FROM table WHERE Series = British Formula Renault 2.0 Winter Cup AND F/Laps = 0 |
Translate the following into a SQL query | If the amount of rebounds is 0, what is the maximum minutes? | SELECT MAX Minutes FROM table WHERE Rebounds = 0 |
Translate the following into a SQL query | What is the points total number if the assists is 7? | SELECT COUNT Points FROM table WHERE Assists = 7 |
Translate the following into a SQL query | If the field goals is 26, what are the players names? | SELECT Player FROM table WHERE Field Goals = 26 |
Translate the following into a SQL query | If the player is Jasmine Wynne, what is the minimum number of steals? | SELECT MIN Steals FROM table WHERE Player = Jasmine Wynne |
Translate the following into a SQL query | What is the blocks total number if the points is 4? | SELECT COUNT Blocks FROM table WHERE Points = 4 |
Translate the following into a SQL query | How many steals did jasmine wynne have? | SELECT Steals FROM table WHERE Player = Jasmine Wynne |
Translate the following into a SQL query | How many games did janae stokes play? | SELECT MAX Games Played FROM table WHERE Player = Janae Stokes |
Translate the following into a SQL query | How many rebounds did crystal ayers have? | SELECT COUNT Rebounds FROM table WHERE Player = Crystal Ayers |
Translate the following into a SQL query | What was the Orangemen record during game 3? | SELECT Record FROM table WHERE Game = 3 |
Translate the following into a SQL query | What was the record for the Orangemen when they played against Army? | SELECT Record FROM table WHERE Opponent = Army |
Translate the following into a SQL query | How many points did the Orangemen score in game 1? | SELECT MAX Orangemen points FROM table WHERE Game = 1 |
Translate the following into a SQL query | Who did the Orangemen play against when their record was 5-1? | SELECT Opponent FROM table WHERE Record = 5-1 |
Translate the following into a SQL query | Name the location for 2007 | SELECT Location FROM table WHERE Year = 2007 |
Translate the following into a SQL query | Display the lowest score for candidate Mir-Hossein Mousavi when candidate Mohsen Rezaee scored 44809 votes | SELECT MIN Mir-Hossein Mousavi FROM table WHERE Mohsen Rezaee = 44809 |
Translate the following into a SQL query | What is the highest score for candidate Mohsen Rezaee when candidate mir-hossein mousavi scored 837858 votes? | SELECT MAX Mohsen Rezaee FROM table WHERE Mir-Hossein Mousavi = 837858 |
Translate the following into a SQL query | List all the total scores for the election which had 3072 invalid votes | SELECT Total votes FROM table WHERE Spoiled ballots = 3072 |
Translate the following into a SQL query | What was the highest score of candidate mir-hossein mousavi in the location known as azarbaijan, west? | SELECT MAX Mir-Hossein Mousavi FROM table WHERE Province = Azarbaijan, West |
Translate the following into a SQL query | List all the results for mahmoud ahmadinejad when candidate mir-hossein mousavi obtained 218481 votes. | SELECT Mahmoud Ahmadinejad FROM table WHERE Mir-Hossein Mousavi = 218481 |
Translate the following into a SQL query | What was the highest number of votes for mir-hossein mousavi when the number of invalid votes is 5683 | SELECT MAX Mir-Hossein Mousavi FROM table WHERE Spoiled ballots = 5683 |
Translate the following into a SQL query | Name surface for 8 round | SELECT Surface FROM table WHERE Round = 8 |
Translate the following into a SQL query | Name the rally base for 5 round | SELECT Rally Base FROM table WHERE Round = 5 |
Translate the following into a SQL query | Name the rally base for rallye de france alsace | SELECT Rally Base FROM table WHERE Rally Name = Rallye de France Alsace |
Translate the following into a SQL query | What is the lowest position for a driver with 2 points? | SELECT MAX Pos FROM table WHERE Points = 2 |
Translate the following into a SQL query | What driver(s) had over 65 stag wins? | SELECT Driver FROM table WHERE Stage wins = 65 |
Translate the following into a SQL query | What is the power stage wins total number if the wins is 10? | SELECT COUNT Power stage wins FROM table WHERE Wins = 10 |
Translate the following into a SQL query | If finishes is 10, what is the POS minimum? | SELECT MIN Pos FROM table WHERE Finishes = 10 |
Translate the following into a SQL query | What is the finishes maximum number? | SELECT MAX Finishes FROM table |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.