instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
Who made the decisions in the game whose first star was V. Lecavalier?
SELECT Decision FROM table WHERE First Star = V. Lecavalier
Translate the following into a SQL query
What was the final score the game where the Thrashers over-all record went to 22-16-6?
SELECT Score FROM table WHERE Record = 22-16-6
Translate the following into a SQL query
Who got the decision in the game, when the final score was 1-7?
SELECT Decision FROM table WHERE Score = 1-7
Translate the following into a SQL query
What date was M. Grabovski the first start of the game?
SELECT Date FROM table WHERE First Star = M. Grabovski
Translate the following into a SQL query
What was the record for the game where the opponent was the Carolina Hurricanes?
SELECT Record FROM table WHERE Opponent = Carolina Hurricanes
Translate the following into a SQL query
On which date was the record of 27-28-11 set?
SELECT Date FROM table WHERE Record = 27-28-11
Translate the following into a SQL query
Who made the decision on the game where the record was 29-28-12?
SELECT Decision FROM table WHERE Record = 29-28-12
Translate the following into a SQL query
Who made the decision on the game where the record was 27-28-11?
SELECT Decision FROM table WHERE Record = 27-28-11
Translate the following into a SQL query
Name the score for game 5
SELECT Score FROM table WHERE Game = 5
Translate the following into a SQL query
Name the most points for 1-3-1 record
SELECT MAX Points FROM table WHERE Record = 1-3-1
Translate the following into a SQL query
Name the record for prudential center - 12,880
SELECT Record FROM table WHERE Location/Attendance = Prudential Center - 12,880
Translate the following into a SQL query
Name the number of record for hp pavilion - 17,562
SELECT COUNT Record FROM table WHERE Location/Attendance = HP Pavilion - 17,562
Translate the following into a SQL query
On how many days in October was the score 6-1?
SELECT COUNT October FROM table WHERE Score = 6-1
Translate the following into a SQL query
What is the location and what was the attendance on those days when the score was 3-5-1?
SELECT Location/Attendance FROM table WHERE Record = 3-5-1
Translate the following into a SQL query
How many times was the sabres record 2-5-1?
SELECT COUNT Location/Attendance FROM table WHERE Record = 2-5-1
Translate the following into a SQL query
What was the location and attendance for game 41?
SELECT Location/Attendance FROM table WHERE Game = 41
Translate the following into a SQL query
On what day of January was the record 10-29-2?
SELECT MAX January FROM table WHERE Record = 10-29-2
Translate the following into a SQL query
What are the most points scored in a game where the score was 1-2?
SELECT MAX Points FROM table WHERE Score = 1-2
Translate the following into a SQL query
On what day in January was the record 15-29-3?
SELECT MAX January FROM table WHERE Record = 15-29-3
Translate the following into a SQL query
Against what team did the Islanders have a 5-18-5 record?
SELECT Opponent FROM table WHERE Record = 5-18-5
Translate the following into a SQL query
Against what opponent did the game end 5-4?
SELECT Opponent FROM table WHERE Score = 5-4
Translate the following into a SQL query
How many games were played against a team with a 9-19-6 record against the Islanders?
SELECT COUNT December FROM table WHERE Record = 9-19-6
Translate the following into a SQL query
How many games did they play on october 9?
SELECT COUNT Opponent FROM table WHERE October = 9
Translate the following into a SQL query
What is the lowest number of points for game 32?
SELECT MIN Points FROM table WHERE Game = 32
Translate the following into a SQL query
What is the location and attendance total from the game on December 1?
SELECT Location/Attendance FROM table WHERE December = 1
Translate the following into a SQL query
Who directed the episode with 899000 viewers?
SELECT Directed by FROM table WHERE Viewers = 899000
Translate the following into a SQL query
What is the smallest numbered episode in the series listed?
SELECT MIN # FROM table
Translate the following into a SQL query
How many people watched episode number 13?
SELECT Viewers FROM table WHERE # = 13
Translate the following into a SQL query
What episode number in the season was written by Greg nelson and directed by Keith samples?
SELECT No. FROM table WHERE Written by = Greg Nelson AND Directed by = Keith Samples
Translate the following into a SQL query
What is the title of the episode with production code 102?
SELECT Title FROM table WHERE Prod. code = 102
Translate the following into a SQL query
What is the original air date of # 6?
SELECT Original airdate FROM table WHERE # = 6
Translate the following into a SQL query
What is the original air date of the episode with 908000 viewers?
SELECT Original airdate FROM table WHERE Viewers = 908000
Translate the following into a SQL query
How many season premieres had 15.27 million viewers?
SELECT COUNT Season premiere FROM table WHERE Viewers (in millions) = 15.27
Translate the following into a SQL query
When was the season finale that ranked 20th?
SELECT Season finale FROM table WHERE Rank = 20th
Translate the following into a SQL query
What tv season year had 14.54 million viewers?
SELECT TV season FROM table WHERE Viewers (in millions) = 14.54
Translate the following into a SQL query
What season premiere date had a finale on may 22, 2007?
SELECT Season premiere FROM table WHERE Season finale = May 22, 2007
Translate the following into a SQL query
What episode number had 14.41 million viewers?
SELECT MAX Episodes FROM table WHERE Viewers (in millions) = 14.41
Translate the following into a SQL query
What is the minimum rnd at Laguna Seca?
SELECT MIN Rnd FROM table WHERE Circuit = Laguna Seca
Translate the following into a SQL query
Name the gt 2.0 winning team for sports 2.0 winning team for #16 trans ocean motors for castle rock
SELECT COUNT GT 2.0 Winning Team FROM table WHERE Sports 2.0 Winning Team = #16 Trans Ocean Motors AND Circuit = Castle Rock
Translate the following into a SQL query
Name the rnd for hap sharp
SELECT MIN Rnd FROM table WHERE Sports +2.0 Winning Team = Hap Sharp
Translate the following into a SQL query
Name the results for #23 lotus
SELECT COUNT Results FROM table WHERE Sports 2.0 Winning Team = #23 Lotus
Translate the following into a SQL query
Name the sports 2.0 winning team for hap sharp and castle rock
SELECT Sports 2.0 Winning Team FROM table WHERE Sports +2.0 Winning Team = Hap Sharp AND Circuit = Castle Rock
Translate the following into a SQL query
Name results for herb wetanson
SELECT Results FROM table WHERE GT 2.0 Winning Team = Herb Wetanson
Translate the following into a SQL query
What was the province if the electorate was Collingwood?
SELECT Province FROM table WHERE Electorate = Collingwood
Translate the following into a SQL query
What was the province with an election date of 5 cannot handle non-empty timestamp argument! 1861?
SELECT Province FROM table WHERE Election date = 5 Cannot handle non-empty timestamp argument! 1861
Translate the following into a SQL query
Name the races for final placing being 5th
SELECT Races FROM table WHERE Final Placing = 5th
Translate the following into a SQL query
Name the post poles for 4 podiums
SELECT MAX Poles FROM table WHERE Podiums = 4
Translate the following into a SQL query
What was the result for Barreto when his song choice was "Olhar 43"?
SELECT Result FROM table WHERE Song Choice = "Olhar 43"
Translate the following into a SQL query
What was Barreto's song choice when the theme was samba?
SELECT Song Choice FROM table WHERE Theme = Samba
Translate the following into a SQL query
What was Barreto's song choice where the original artist was Patricia Marx?
SELECT Song Choice FROM table WHERE Original Artist = Patricia Marx
Translate the following into a SQL query
In which week # was the original artist of Barreto's song choice was Leila Pinheiro?
SELECT Week # FROM table WHERE Original Artist = Leila Pinheiro
Translate the following into a SQL query
Who is the original artist of "Γ‰ Preciso Saber Viver"?
SELECT Original Artist FROM table WHERE Song Choice = "Γ‰ Preciso Saber Viver"
Translate the following into a SQL query
When did the earliest tournament happened?
SELECT MIN Year FROM table
Translate the following into a SQL query
Who was Petrova's partner where she scored 6–2, 3–6, 6–7 (7-9)?
SELECT Partner FROM table WHERE Score = 6–2, 3–6, 6–7 (7-9)
Translate the following into a SQL query
Who were Petrova's opponents with Vania King?
SELECT Opponents FROM table WHERE Partner = Vania King
Translate the following into a SQL query
How many episodes titled "Blue in the face" were directed by Sean McNamara?
SELECT COUNT Series # FROM table WHERE Directed by = Sean McNamara AND Title = "Blue in the Face"
Translate the following into a SQL query
Who wrote the episode with the production code 211?
SELECT Written by FROM table WHERE Prod. code = 211
Translate the following into a SQL query
What is the maximum production code of the episode directed by Sean McNamara?
SELECT MAX Prod. code FROM table WHERE Directed by = Sean McNamara
Translate the following into a SQL query
How many audition city's are there with an episode air date of June 24, 2010?
SELECT COUNT Audition City FROM table WHERE Episode Air Date = June 24, 2010
Translate the following into a SQL query
List all episode air dates that auditioned at Nego Quirido Sambadrome?
SELECT Episode Air Date FROM table WHERE Audition Venue = Nego Quirido Sambadrome
Translate the following into a SQL query
List all episode air dates where Luiza Possi was the guest fourth judge?
SELECT Episode Air Date FROM table WHERE Guest Fourth Judge = Luiza Possi
Translate the following into a SQL query
How many episode air dates are there for auditioning city Rio De Janeiro?
SELECT COUNT Episode Air Date FROM table WHERE Audition City = Rio de Janeiro
Translate the following into a SQL query
List all episode air dates whose audition venues were Nego Quirido Sambadrome?
SELECT Episode Air Date FROM table WHERE Audition Venue = Nego Quirido Sambadrome
Translate the following into a SQL query
Where was the audition venue where Peninha was the guest fourth judge?
SELECT Audition Venue FROM table WHERE Guest Fourth Judge = Peninha
Translate the following into a SQL query
Which song was picked that was originally performed by Marisa Monte?
SELECT Song Choice FROM table WHERE Original Artist = Marisa Monte
Translate the following into a SQL query
Who was the original artist of the song choice "Sozinho"?
SELECT Original Artist FROM table WHERE Song Choice = "Sozinho"
Translate the following into a SQL query
What was the result of the performance of the song by Caetano Veloso?
SELECT Result FROM table WHERE Original Artist = Caetano Veloso
Translate the following into a SQL query
What was the order # of the theme Male Singers?
SELECT Order # FROM table WHERE Theme = Male Singers
Translate the following into a SQL query
What was the theme when original artist Rosana's song was performed?
SELECT Theme FROM table WHERE Original Artist = Rosana
Translate the following into a SQL query
How many different weeks are there in order number 4 that were judge's choice?
SELECT COUNT Week # FROM table WHERE Theme = Judge's Choice AND Order # = 4
Translate the following into a SQL query
What Marisa Monte song choice was song during top 5?
SELECT Song Choice FROM table WHERE Week # = Top 5 AND Original Artist = Marisa Monte
Translate the following into a SQL query
Who was the original artist of the Top 12 Men theme?
SELECT Original Artist FROM table WHERE Theme = Top 12 Men
Translate the following into a SQL query
What was the result of the Top 12 Men theme?
SELECT Result FROM table WHERE Theme = Top 12 Men
Translate the following into a SQL query
What week number was the result bottom 3?
SELECT Week # FROM table WHERE Result = Bottom 3
Translate the following into a SQL query
How many points per game did he have when he had 1.5 assists per game?
SELECT Points per game FROM table WHERE Assists per game = 1.5
Translate the following into a SQL query
How many rebounds per game did he have at the 2006 fiba world championship?
SELECT Rebounds per game FROM table WHERE Tournament = 2006 FIBA World Championship
Translate the following into a SQL query
How many rebounds per game did he have at the 2003 eurobasket?
SELECT Rebounds per game FROM table WHERE Tournament = 2003 EuroBasket
Translate the following into a SQL query
How many assists per game did he have when he had 6.8 points per game?
SELECT Assists per game FROM table WHERE Points per game = 6.8
Translate the following into a SQL query
which is the production code when the number of the episode in series is 87?
SELECT Prod. code FROM table WHERE No. in series = 87
Translate the following into a SQL query
how many directors had the episode called "magic unmasked"?
SELECT COUNT Directed by FROM table WHERE Title = "Magic Unmasked"
Translate the following into a SQL query
what is the number of the episode in the series whose production code is 405?
SELECT No. in series FROM table WHERE Prod. code = 405
Translate the following into a SQL query
when was the premiere of the episode whose production code is 415?
SELECT Original U.S. air date FROM table WHERE Prod. code = 415
Translate the following into a SQL query
who were the writers in the episode whose production code was 411?
SELECT Written by FROM table WHERE Prod. code = 411
Translate the following into a SQL query
who were the director of the episode whose number in the season is 17?
SELECT Directed by FROM table WHERE No. in season = 17
Translate the following into a SQL query
Name the currency for negotiable debt being 1300
SELECT Currency FROM table WHERE Negotiable debt at mid-2005 ( US dollar bn equivalent) = 1300
Translate the following into a SQL query
Name the country that has the yen
SELECT Country FROM table WHERE Currency = Yen
Translate the following into a SQL query
Name the number of countries that have the us dollar
SELECT COUNT Country FROM table WHERE Currency = US dollar
Translate the following into a SQL query
Name the country for the us dollar
SELECT Country FROM table WHERE Currency = US dollar
Translate the following into a SQL query
How many teams have a head coach named mahdi ali?
SELECT COUNT Team FROM table WHERE Head Coach = Mahdi Ali
Translate the following into a SQL query
How many captains have the kitmaker as n/a?
SELECT COUNT Captain FROM table WHERE Kitmaker = N/A
Translate the following into a SQL query
How many kitmaker correspond to team ittihad kalba?
SELECT COUNT Kitmaker FROM table WHERE Team = Ittihad Kalba
Translate the following into a SQL query
What is the name of the captain when teh shirt sponsor is n/a?
SELECT Captain FROM table WHERE Shirt sponsor = N/A
Translate the following into a SQL query
How many captains when the shirt sponsor is toshiba?
SELECT COUNT Captain FROM table WHERE Shirt sponsor = Toshiba
Translate the following into a SQL query
Who is the chairman when teh captain is fawzi bashir?
SELECT Chairman FROM table WHERE Captain = Fawzi Bashir
Translate the following into a SQL query
Which season had f/laps is 0 and races is 2?
SELECT Season FROM table WHERE F/Laps = 0 AND Races = 2
Translate the following into a SQL query
How many entries are there for points for the 6th position?
SELECT COUNT Points FROM table WHERE Position = 6th
Translate the following into a SQL query
How many season are shown for the 2nd position?
SELECT COUNT Season FROM table WHERE Position = 2nd
Translate the following into a SQL query
What are the wins for the 7th position?
SELECT Wins FROM table WHERE Position = 7th
Translate the following into a SQL query
What is the position for the austria formel 3 cup series?
SELECT Position FROM table WHERE Series = Austria Formel 3 Cup
Translate the following into a SQL query
How many different PPI does the model with ppcm of 87 have?
SELECT COUNT PPI (pixels per inch ) FROM table WHERE ppcm (pixels per cm ) = 87