instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | What was the challenge for episode 28? | SELECT Challenge FROM table WHERE Episode Number = 28 |
Translate the following into a SQL query | How many original air dates were there for episode 22? | SELECT COUNT Original Airdate FROM table WHERE Episode Number = 22 |
Translate the following into a SQL query | What was the lowest goals ever achieved? | SELECT MIN Goals FROM table |
Translate the following into a SQL query | how many arabic scottish is afghan | SELECT Afghan FROM table WHERE Arabic = Scottish |
Translate the following into a SQL query | how many bosnian in cook islands is macedonian | SELECT COUNT Cook Islands FROM table WHERE Bosnian = Macedonian |
Translate the following into a SQL query | how many colombia in bangladesh is serbian | SELECT Colombian FROM table WHERE Bangladeshi = Serbian |
Translate the following into a SQL query | how many arabic in colobians is finnish | SELECT Arabic FROM table WHERE Colombian = Finnish |
Translate the following into a SQL query | how many bosnian in cook islands is sri lankan | SELECT Bosnian FROM table WHERE Cook Islands = Sri Lankan |
Translate the following into a SQL query | how many afghan in banglash is hungarian | SELECT Afghan FROM table WHERE Bangladeshi = Hungarian |
Translate the following into a SQL query | What is the name if the appearance is 2 and the position is FW? | SELECT Name FROM table WHERE Position = FW AND Appearances = 2 |
Translate the following into a SQL query | What is the assists total number if the minutes is 1? | SELECT COUNT Assists FROM table WHERE Minutes = 1 |
Translate the following into a SQL query | What is the appearance maximum if the starts is 18? | SELECT MAX Appearances FROM table WHERE Starts = 18 |
Translate the following into a SQL query | What are the names of all the players with an average of 15.89? | SELECT Name FROM table WHERE Average = 15.89 |
Translate the following into a SQL query | What's the maximum wickets taken by players named Bill Lockwood? | SELECT MAX Wickets taken FROM table WHERE Name = Bill Lockwood |
Translate the following into a SQL query | What are all the teams with an average of 15.89? | SELECT Team(s) FROM table WHERE Average = 15.89 |
Translate the following into a SQL query | Who are all the players who've bowled more than 4969 balls? | SELECT Name FROM table WHERE Balls bowled = 4969 |
Translate the following into a SQL query | What are the averages for games with 212 wickets taken? | SELECT Average FROM table WHERE Wickets taken = 212 |
Translate the following into a SQL query | Who was the turbine manufacturer for the Wheatland county? | SELECT Turbine Manufacturer FROM table WHERE County = Wheatland |
Translate the following into a SQL query | How many turbine manufacturers installed a capacity of 189 MW? | SELECT COUNT Turbine Manufacturer FROM table WHERE Installed capacity (MW) = 189 |
Translate the following into a SQL query | How much capacity was installed in Wheatland? | SELECT Installed capacity (MW) FROM table WHERE County = Wheatland |
Translate the following into a SQL query | Who was the turbine manufacturer of the wind farm that started service on 2005? | SELECT Turbine Manufacturer FROM table WHERE Date in Service = 2005 |
Translate the following into a SQL query | When did this wind farm started service with a capacity of 135 MW? | SELECT Date in Service FROM table WHERE Installed capacity (MW) = 135 |
Translate the following into a SQL query | When did the wind farm in Musselshell started service? | SELECT Date in Service FROM table WHERE County = Musselshell |
Translate the following into a SQL query | What was the largest attendance at the Rheinstadion? | SELECT MAX Attendance FROM table WHERE Game site = Rheinstadion |
Translate the following into a SQL query | What week did the Galaxy play the Amsterdam Admirals? | SELECT Week FROM table WHERE Opponent = Amsterdam Admirals |
Translate the following into a SQL query | Who was the opponent in Week 8? | SELECT Opponent FROM table WHERE Week = 8 |
Translate the following into a SQL query | Who was the Class A winner when the Class C winner was David Haynes? | SELECT Class A Winner FROM table WHERE Class C Winner = David Haynes |
Translate the following into a SQL query | Who was the Class C winner in round 8? | SELECT Class C Winner FROM table WHERE Round = 8 |
Translate the following into a SQL query | Who was the Class D winner in round 6? | SELECT Class D Winner FROM table WHERE Round = 6 |
Translate the following into a SQL query | What was the circuit in round 2? | SELECT Circuit FROM table WHERE Round = 2 |
Translate the following into a SQL query | In which round did Roy Salvadori won Class D and Alan Hutcheson won Class B? | SELECT Round FROM table WHERE Class D Winner = Roy Salvadori AND Class B Winner = Alan Hutcheson |
Translate the following into a SQL query | When did Alan Hutcheson won Class B on round 1? | SELECT Date FROM table WHERE Class B Winner = Alan Hutcheson AND Round = 1 |
Translate the following into a SQL query | How many field goals did Stacey Thomas have? | SELECT Field Goals FROM table WHERE Player = Stacey Thomas |
Translate the following into a SQL query | How many assists did the player who had 121 rebounds have? | SELECT MAX Assists FROM table WHERE Rebounds = 121 |
Translate the following into a SQL query | How many field goals did the player who had 8 blocks have? | SELECT MIN Field Goals FROM table WHERE Blocks = 8 |
Translate the following into a SQL query | How many assists did the player who had 863 minutes have? | SELECT MIN Assists FROM table WHERE Minutes = 863 |
Translate the following into a SQL query | How many blocks did the player who had 59 rebounds have? | SELECT Blocks FROM table WHERE Rebounds = 59 |
Translate the following into a SQL query | Who were the opponents that had an attendance of exactly 16115? | SELECT Opponent FROM table WHERE Attendance = 16115 |
Translate the following into a SQL query | What was the team record after the Frankfurt Galaxy matchup? | SELECT Team record FROM table WHERE Opponent = Frankfurt Galaxy |
Translate the following into a SQL query | What was the game site for the matchup against the Frankfurt Galaxy? | SELECT Game site FROM table WHERE Opponent = Frankfurt Galaxy |
Translate the following into a SQL query | How many results did the GT1 Winning Team No. 50 Larbre Compétition on the Algarve circuit? | SELECT COUNT Results FROM table WHERE Circuit = Algarve AND GT1 Winning Team = No. 50 Larbre Compétition |
Translate the following into a SQL query | How many winning teams are there on LMP2 if Gabriele Gardel Patrice Goueslard Fernando Rees was the GT1 Winning Team on the Algarve circuit? | SELECT COUNT LMP2 Winning Team FROM table WHERE GT1 Winning Team = Gabriele Gardel Patrice Goueslard Fernando Rees AND Circuit = Algarve |
Translate the following into a SQL query | Who was the GT2 Winning Team if Greg Mansell Leo Mansell was the LMP1 Winning Team? | SELECT GT2 Winning Team FROM table WHERE LMP1 Winning Team = Greg Mansell Leo Mansell |
Translate the following into a SQL query | What was the maximum round where Marc Lieb Richard Lietz was on the GT2 Winning Team? | SELECT MAX Rnd. FROM table WHERE GT2 Winning Team = Marc Lieb Richard Lietz |
Translate the following into a SQL query | How many won the LMP1 on round 4 if No. 42 Strakka Racing was the LMP2 Winning Team? | SELECT COUNT LMP1 Winning Team FROM table WHERE Rnd. = 4 AND LMP2 Winning Team = No. 42 Strakka Racing |
Translate the following into a SQL query | In what round did Mike Newton Thomas Erdos Ben Collins won the LMP2? | SELECT Rnd. FROM table WHERE LMP2 Winning Team = Mike Newton Thomas Erdos Ben Collins |
Translate the following into a SQL query | How many blocks did tye'sha fluker have? | SELECT MIN Blocks FROM table WHERE Player = Tye'sha Fluker |
Translate the following into a SQL query | What is the highest number of steals for a player with 324 minutes? | SELECT MAX Steals FROM table WHERE Minutes = 324 |
Translate the following into a SQL query | What is the lowest number of minutes for a player with 47 steals? | SELECT MIN Minutes FROM table WHERE Steals = 47 |
Translate the following into a SQL query | Who played Mixed Doubles in 1991? | SELECT Mixed doubles FROM table WHERE Year = 1991 |
Translate the following into a SQL query | Who was the home team who played plymouth argyle? | SELECT Home team FROM table WHERE Away team = Plymouth Argyle |
Translate the following into a SQL query | What was the score when the away team was norwich city? | SELECT Score 1 FROM table WHERE Away team = Norwich City |
Translate the following into a SQL query | Who played as the away team when coventry city was the home team? | SELECT Away team FROM table WHERE Home team = Coventry City |
Translate the following into a SQL query | What is the final score when they played Frankfurt Galaxy? | SELECT Final score FROM table WHERE Opponent = Frankfurt Galaxy |
Translate the following into a SQL query | Who is the away team for tie no 11? | SELECT Away team FROM table WHERE Tie no = 11 |
Translate the following into a SQL query | Who is the away team for tie no 15? | SELECT Away team FROM table WHERE Tie no = 15 |
Translate the following into a SQL query | What is the highest tie that had 19129 attendance? | SELECT MAX Tie no FROM table WHERE Attendance = 19129 |
Translate the following into a SQL query | What is the tie when the home team is Stoke City? | SELECT Tie no FROM table WHERE Home team = Stoke City |
Translate the following into a SQL query | What tie has Orient as the home team? | SELECT Tie no FROM table WHERE Home team = Orient |
Translate the following into a SQL query | How many dates are there for tie number 12? | SELECT COUNT Date FROM table WHERE Tie no = 12 |
Translate the following into a SQL query | When 556 is the amount of points how much equipment is there? | SELECT COUNT Equipment FROM table WHERE Points = 556 |
Translate the following into a SQL query | Which championship was the score 6–4, 5–7, 6–2? | SELECT Championship FROM table WHERE Score = 6–4, 5–7, 6–2 |
Translate the following into a SQL query | Who were the opponents in the Rome championship? | SELECT Opponents FROM table WHERE Championship = Rome |
Translate the following into a SQL query | What is the maximum number of minutes associated with exactly 70 field goals? | SELECT MAX Minutes FROM table WHERE Field Goals = 70 |
Translate the following into a SQL query | What is the minimum number of field goals associated with exactly 84 assists? | SELECT MIN Field Goals FROM table WHERE Assists = 84 |
Translate the following into a SQL query | How many steals did Tamika Williams have? | SELECT Steals FROM table WHERE Player = Tamika Williams |
Translate the following into a SQL query | List the number of takeaways with 1 rejection. | SELECT COUNT Steals FROM table WHERE Blocks = 1 |
Translate the following into a SQL query | How many long range shots did tonya edwards make. | SELECT COUNT Field Goals FROM table WHERE Player = Tonya Edwards |
Translate the following into a SQL query | List the number of long range shors where the score is 171. | SELECT COUNT Field Goals FROM table WHERE Points = 171 |
Translate the following into a SQL query | Who won best amiga demo when tribes ( pulse & melon dezign) won best pc demo? | SELECT Amiga demo FROM table WHERE PC demo = Tribes ( Pulse & Melon Dezign) |
Translate the following into a SQL query | What won best amiga demo when alto knallo (free electric band) won best pc demo? | SELECT Amiga demo FROM table WHERE PC demo = Alto Knallo (Free Electric Band) |
Translate the following into a SQL query | What won best pc intro when my kingdom (haujobb & scoopex) won best amiga demo? | SELECT PC intro FROM table WHERE Amiga demo = My Kingdom (Haujobb & Scoopex) |
Translate the following into a SQL query | What won est pc intro when 4k0 (polka brothers) won best amiga intro? | SELECT PC intro FROM table WHERE Amiga intro = 4k0 (Polka Brothers) |
Translate the following into a SQL query | What won best pc demo when tower power (camelot) won best c64 demo? | SELECT PC demo FROM table WHERE C64 demo = Tower Power (Camelot) |
Translate the following into a SQL query | What year did fr-08: the product ( farbrausch ) win best pc intro? | SELECT Year FROM table WHERE PC intro = FR-08: The Product ( Farbrausch ) |
Translate the following into a SQL query | What is the episode title that had a US viewership of 8.16? | SELECT Title FROM table WHERE U.S. viewers (millions) = 8.16 |
Translate the following into a SQL query | What is the number in the series written by Steve Blackman and had a title of "Worlds Apart"? | SELECT No. in series FROM table WHERE Written by = Steve Blackman AND Title = "Worlds Apart" |
Translate the following into a SQL query | What is the number in the series that was titled "Past Tense"? | SELECT No. in series FROM table WHERE Title = "Past Tense" |
Translate the following into a SQL query | Who wrote the episodes that had a viewership of 7.14? | SELECT Written by FROM table WHERE U.S. viewers (millions) = 7.14 |
Translate the following into a SQL query | What is the timeslot for the episode "In which Addison finds the magic"? | SELECT Timeslot (EST) FROM table WHERE Episode = "In Which Addison Finds the Magic" |
Translate the following into a SQL query | How many episodes received rating of 8.2? | SELECT COUNT Episode FROM table WHERE Rating = 8.2 |
Translate the following into a SQL query | What is the rating for the episode "in which cooper finds a port in his storm"? | SELECT Rating FROM table WHERE Episode = "In Which Cooper Finds a Port In His Storm" |
Translate the following into a SQL query | How many share figures are there for the episode that aired on October 17, 2007? | SELECT COUNT Share FROM table WHERE Air Date = October 17, 2007 |
Translate the following into a SQL query | How many episodes aired on October 17, 2007? | SELECT COUNT Episode FROM table WHERE Air Date = October 17, 2007 |
Translate the following into a SQL query | How many timeslots received a rating of 5.7? | SELECT COUNT Timeslot (EST) FROM table WHERE Rating = 5.7 |
Translate the following into a SQL query | How many writers are listed when the U.S viewers are 11.21 million? | SELECT COUNT Written by FROM table WHERE U.S. viewers (millions) = 11.21 |
Translate the following into a SQL query | Who is the director when there is 8.44 million viewers? | SELECT Directed by FROM table WHERE U.S. viewers (millions) = 8.44 |
Translate the following into a SQL query | Who is the director when the writter is Andrea Newman? | SELECT Directed by FROM table WHERE Written by = Andrea Newman |
Translate the following into a SQL query | What is the title when the writer is Emily Halpern? | SELECT Title FROM table WHERE Written by = Emily Halpern |
Translate the following into a SQL query | Who is the director when there is 11.21 million viewers? | SELECT Directed by FROM table WHERE U.S. viewers (millions) = 11.21 |
Translate the following into a SQL query | How many titles are listed with 8.44 million viewers? | SELECT COUNT Title FROM table WHERE U.S. viewers (millions) = 8.44 |
Translate the following into a SQL query | On what date does the episode called "triangles" air | SELECT Air Date FROM table WHERE Episode = "Triangles" |
Translate the following into a SQL query | When the episode called "the parent trap" airs, what is the weekly rank | SELECT COUNT Weekly Rank (#) FROM table WHERE Episode = "The Parent Trap" |
Translate the following into a SQL query | What is the share value of the episode "sins of the father" | SELECT MAX Share FROM table WHERE Episode = "Sins of the Father" |
Translate the following into a SQL query | How many millions of viewers watched the episode "blowups" | SELECT Viewers (m) FROM table WHERE Episode = "Blowups" |
Translate the following into a SQL query | How many field goals had 597 points? | SELECT COUNT Field Goals FROM table WHERE Points = 597 |
Translate the following into a SQL query | How many minutes were played by Sue Bird? | SELECT MIN Minutes FROM table WHERE Player = Sue Bird |
Translate the following into a SQL query | What is the maximum number of rebounds for players having exactly 35 steals? | SELECT MAX Rebounds FROM table WHERE Steals = 35 |
Translate the following into a SQL query | What are the numbers of steals associated with players having exactly 3 blocks? | SELECT Steals FROM table WHERE Blocks = 3 |
Translate the following into a SQL query | How many numbers of rebounds are associated with exactly 18 points? | SELECT COUNT Rebounds FROM table WHERE Points = 18 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.