instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What is the season year where the rank is 39?
SELECT TV season FROM table WHERE Rank = 39
Translate the following into a SQL query
What is the number of season premieres were 10.17 people watched?
SELECT COUNT Season premiere FROM table WHERE Viewers (millions) = 10.17
Translate the following into a SQL query
What is the year of the season that was 12?
SELECT TV season FROM table WHERE Season = 12
Translate the following into a SQL query
In 2012 what was the average finish?
SELECT Avg. Finish FROM table WHERE Year = 2012
Translate the following into a SQL query
How many wins happened in 1983?
SELECT MIN Wins FROM table WHERE Year = 1983
Translate the following into a SQL query
How many top tens had an average start of 29.4?
SELECT COUNT Top 10 FROM table WHERE Avg. Start = 29.4
Translate the following into a SQL query
How many poles had an average finish of 19.1?
SELECT MAX Poles FROM table WHERE Avg. Finish = 19.1
Translate the following into a SQL query
How many starts did Hendrick motorsports have?
SELECT MIN Starts FROM table WHERE Team(s) = Hendrick Motorsports
Translate the following into a SQL query
NHL players are all centre in Florida panthers.
SELECT Player FROM table WHERE Position = Centre AND NHL team = Florida Panthers
Translate the following into a SQL query
NHL team player San Jose Sharks is United States nationally.
SELECT Player FROM table WHERE NHL team = San Jose Sharks AND Nationality = United States
Translate the following into a SQL query
All players are position mark polak.
SELECT Position FROM table WHERE Player = Mark Polak
Translate the following into a SQL query
Position in nhl team centre are all smaller pick than 243.0
SELECT NHL team FROM table WHERE Position = Centre AND Pick < 243.0
Translate the following into a SQL query
What college/junior/club teams do the players from the St. Louis Blues come from?
SELECT College/junior/club team FROM table WHERE NHL team = St. Louis Blues
Translate the following into a SQL query
What teams do the players from TPS (Finland) play for?
SELECT NHL team FROM table WHERE College/junior/club team = TPS (Finland)
Translate the following into a SQL query
What high school team did Doug Nolan play for?
SELECT College/junior/club team FROM table WHERE Player = Doug Nolan
Translate the following into a SQL query
What club team is Per Gustafsson play for?
SELECT College/junior/club team FROM table WHERE Player = Per Gustafsson
Translate the following into a SQL query
What is the nationality of Shayne Wright?
SELECT Nationality FROM table WHERE Player = Shayne Wright
Translate the following into a SQL query
How many votes did Southern England cast whilst Northern Ireland cast 3?
SELECT Southern England FROM table WHERE Northern Ireland = 3
Translate the following into a SQL query
What was the lowest number of votes Scotland cast?
SELECT MIN Scotland FROM table
Translate the following into a SQL query
What is the total number of votes if Scotland cast 35?
SELECT COUNT Scotland FROM table WHERE Total = 35
Translate the following into a SQL query
How many votes did Northern Ireland cast if the total was 35?
SELECT Northern Ireland FROM table WHERE Total = 35
Translate the following into a SQL query
How many votes did Wales cast when Northern England cast 6?
SELECT MIN Wales FROM table WHERE Northern England = 6
Translate the following into a SQL query
What teams had 9 in the top 5 and 1 wins?
SELECT Team(s) FROM table WHERE Top 5 = 9 AND Wins = 1
Translate the following into a SQL query
What teams did the player vadim sharifijanov play for?
SELECT College/junior/club team FROM table WHERE Player = Vadim Sharifijanov
Translate the following into a SQL query
What positions do the hartford whalers nhl team have?
SELECT Position FROM table WHERE NHL team = Hartford Whalers
Translate the following into a SQL query
What is the smallest pick for the player, brett lindros?
SELECT MIN Pick FROM table WHERE Player = Brett Lindros
Translate the following into a SQL query
What positions does the college/junior/club team, molot perm (russia) have?
SELECT Position FROM table WHERE College/junior/club team = Molot Perm (Russia)
Translate the following into a SQL query
The nhl team new york islanders is what nationality?
SELECT Nationality FROM table WHERE NHL team = New York Islanders
Translate the following into a SQL query
What is the name of the vacator for district Louisiana 1st?
SELECT Vacator FROM table WHERE District = Louisiana 1st
Translate the following into a SQL query
What is the notion when the crystal structure is tetragonal and the formula is bi 2 sr 2 cacu 2 o 8
SELECT Notation FROM table WHERE Crystal structure = Tetragonal AND Formula = Bi 2 Sr 2 CaCu 2 O 8
Translate the following into a SQL query
How many times is the formula tl 2 ba 2 cuo 6?
SELECT No. of Cu-O planes in unit cell FROM table WHERE Formula = Tl 2 Ba 2 CuO 6
Translate the following into a SQL query
What is the crystal structure for the formula yba 2 cu 3 o 7?
SELECT Crystal structure FROM table WHERE Formula = YBa 2 Cu 3 O 7
Translate the following into a SQL query
What is the number for t c (k) when the notation is tl-2212?
SELECT COUNT T c (K) FROM table WHERE Notation = Tl-2212
Translate the following into a SQL query
How many 2010 estimations have been done in the city of Cremona?
SELECT COUNT 2010 Est. FROM table WHERE City = Cremona
Translate the following into a SQL query
What's the 2001 census of the region of Abruzzo where the 1871 census is bigger than 51092.0?
SELECT MIN 2001 Census FROM table WHERE Region = Abruzzo AND 1981 Census > 51092.0
Translate the following into a SQL query
What's the 1991 census of the city of Carpi?
SELECT MAX 1991 Census FROM table WHERE City = Carpi
Translate the following into a SQL query
How many 2001 censuses are there on number 13?
SELECT COUNT 2001 Census FROM table WHERE # = 13
Translate the following into a SQL query
What's the 1981 census of Livorno?
SELECT 1981 Census FROM table WHERE City = Livorno
Translate the following into a SQL query
Which NHL team has player Mike Loach?
SELECT NHL team FROM table WHERE Player = Mike Loach
Translate the following into a SQL query
What is the NHL team that has Peter Strom?
SELECT NHL team FROM table WHERE Player = Peter Strom
Translate the following into a SQL query
What team is Keith Mccambridge on?
SELECT College/junior/club team FROM table WHERE Player = Keith McCambridge
Translate the following into a SQL query
How many nationalities are the pick 193?
SELECT COUNT Nationality FROM table WHERE Pick = 193
Translate the following into a SQL query
Who was the succesor that was formally installed on November 8, 1978?
SELECT Successor FROM table WHERE Date of successors formal installation = November 8, 1978
Translate the following into a SQL query
How many songs received a 10 from Goodman and were rated by Tonioli?
SELECT COUNT Tonioli FROM table WHERE Goodman = 10
Translate the following into a SQL query
What score did Goodman give to all songs with safe results, which received a 7 from Horwood and have a total score of 31?
SELECT Goodman FROM table WHERE Total = 31 AND Horwood = 7 AND Result = Safe
Translate the following into a SQL query
What score did Dixon give to the song "samba / young hearts run free", which was in second place?
SELECT Dixon FROM table WHERE Dance/song = Samba / Young Hearts Run Free AND Result = Second place
Translate the following into a SQL query
How many scores did Goodman give to "samba / young hearts run free", which was in second place?
SELECT COUNT Goodman FROM table WHERE Result = Second place AND Dance/song = Samba / Young Hearts Run Free
Translate the following into a SQL query
What year was number 7 built?
SELECT Year Built FROM table WHERE No. Built = 7
Translate the following into a SQL query
What is we two when the case/suffix is loc.?
SELECT we two FROM table WHERE Case/Suffix = loc.
Translate the following into a SQL query
What is them two (the two) when we two is ngalbelpa?
SELECT them two (the two) FROM table WHERE we two = ngalbelpa
Translate the following into a SQL query
What is them two (the two) when you and i is ngœbalngu?
SELECT them two (the two) FROM table WHERE you and I = ngœbalngu
Translate the following into a SQL query
What is who-two where you and i is ngœban?
SELECT who-two FROM table WHERE you and I = ngœban
Translate the following into a SQL query
What is we two where you two is ngipen?
SELECT we two FROM table WHERE you two = ngipen
Translate the following into a SQL query
What is who-two when you two is ngipelngu?
SELECT who-two FROM table WHERE you two = ngipelngu
Translate the following into a SQL query
what's the points with driver  mark martin
SELECT Points FROM table WHERE Driver = Mark Martin
Translate the following into a SQL query
what's the points with driver  rusty wallace
SELECT Points FROM table WHERE Driver = Rusty Wallace
Translate the following into a SQL query
what's the total number of position with driver  robby gordon
SELECT COUNT Position FROM table WHERE Driver = Robby Gordon
Translate the following into a SQL query
what's the maximum position with winnings  $50,000
SELECT MAX Position FROM table WHERE Winnings = $50,000
Translate the following into a SQL query
What actor was nominted for an award in the film Anastasiya Slutskaya?
SELECT Actors Name FROM table WHERE Film Name = Anastasiya Slutskaya
Translate the following into a SQL query
What was the film Falling up nominated for?
SELECT Nomination FROM table WHERE Film Name = Falling Up
Translate the following into a SQL query
What is the name of the actress that was nominated for best actress in a leading role in the film Chopin: Desire for love?
SELECT Actors Name FROM table WHERE Film Name = Chopin: Desire for Love AND Nomination = Best Actress in a Leading Role
Translate the following into a SQL query
What is the name of the actress that was nominated for best actress in a leading role in the film Chopin: Desire for love?
SELECT Actors Name FROM table WHERE Film Name = Chopin: Desire for Love AND Nomination = Best Actress in a Leading Role
Translate the following into a SQL query
Which films does the actor Alla Sergiyko star in?
SELECT Film Name FROM table WHERE Actors Name = Alla Sergiyko
Translate the following into a SQL query
Which nominations was the film 27 Stolen Kisses nominated for?
SELECT Nomination FROM table WHERE Film Name = 27 Stolen Kisses
Translate the following into a SQL query
Which actor from Serbia was nominated for best actor in a supporting role?
SELECT Actors Name FROM table WHERE Nomination = Best Actor in a Supporting Role AND Country = Serbia
Translate the following into a SQL query
Vsevolod Shilovskiy is from what country?
SELECT Country FROM table WHERE Actors Name = Vsevolod Shilovskiy
Translate the following into a SQL query
Which nominations are connected to the film Totalitarian Romance?
SELECT Nomination FROM table WHERE Film Name = Totalitarian Romance
Translate the following into a SQL query
Srdjan Dragojevic worked on a film which earned what nomination?
SELECT Nomination FROM table WHERE Director = Srdjan Dragojevic
Translate the following into a SQL query
Which actors are from Ukraine?
SELECT Actors Name FROM table WHERE Country = Ukraine
Translate the following into a SQL query
What was the film that vadim ilyenko directed?
SELECT Film Name FROM table WHERE Director = Vadim Ilyenko
Translate the following into a SQL query
What was the actors name that vadim ilyenko directed?
SELECT Actors Name FROM table WHERE Director = Vadim Ilyenko
Translate the following into a SQL query
What was the actors name for fuchzhou and nomination was best non-professional actor?
SELECT Actors Name FROM table WHERE Film Name = Fuchzhou AND Nomination = Best Non-Professional Actor
Translate the following into a SQL query
What film did michaylo ilyenko make with best actor in a supporting role?
SELECT Film Name FROM table WHERE Director = Michaylo Ilyenko AND Nomination = Best Actor in a Supporting Role
Translate the following into a SQL query
What was the actor's name for best debut?
SELECT Actors Name FROM table WHERE Nomination = Best Debut
Translate the following into a SQL query
What was the number of nominations for natalia raskokoha?
SELECT COUNT Nomination FROM table WHERE Actors Name = Natalia Raskokoha
Translate the following into a SQL query
What is the highest value of Total Goals?
SELECT MAX Total Goals FROM table
Translate the following into a SQL query
When FA Cup Apps is 9 what is the smallest number of FA Cup Goals?
SELECT MIN FA Cup Goals FROM table WHERE FA Cup Apps = 9
Translate the following into a SQL query
What is the smallest number of Total Goals?
SELECT MIN Total Goals FROM table
Translate the following into a SQL query
What circuit was the race where Hideki Mutoh had the fastest lap?
SELECT Circuit FROM table WHERE Fastest Lap = Hideki Mutoh
Translate the following into a SQL query
what is the minimum production code with title "foreign exchange problem / turn about"
SELECT MIN Production code FROM table WHERE Title = "Foreign Exchange Problem / Turn About"
Translate the following into a SQL query
what is the episode # for title "the yindianapolis 500 / personality problem"
SELECT Episode # FROM table WHERE Title = "The Yindianapolis 500 / Personality Problem"
Translate the following into a SQL query
what is the episode # for production code 227
SELECT Episode # FROM table WHERE Production code = 227
Translate the following into a SQL query
who directed the movie written by is sib ventress / aydrea ten bosch
SELECT Directed by FROM table WHERE Written by = Sib Ventress / Aydrea ten Bosch
Translate the following into a SQL query
what is the production code with title "skirting the issue / moon over my yinnie"
SELECT Production code FROM table WHERE Title = "Skirting the Issue / Moon Over my Yinnie"
Translate the following into a SQL query
Whatis the number of total goals maximum?
SELECT MAX Total Goals FROM table
Translate the following into a SQL query
HOW MANY TEMPERATURE INTERVALS ARE POSSIBLE TO USE WITH ACRYL?
SELECT COUNT Temp (°C) FROM table WHERE Adhesive Type = Acryl
Translate the following into a SQL query
How many matches where played with Jim Pugh?
SELECT COUNT Opponents FROM table WHERE Partner = Jim Pugh
Translate the following into a SQL query
What is the score with partner Jim Pugh?
SELECT Score FROM table WHERE Partner = Jim Pugh
Translate the following into a SQL query
How many matched scored 3–6, 7–6(5), 6–3?
SELECT COUNT Surface FROM table WHERE Score = 3–6, 7–6(5), 6–3
Translate the following into a SQL query
What is the score of the match with partner Jim Pugh?
SELECT Score FROM table WHERE Partner = Jim Pugh
Translate the following into a SQL query
What year was the championship in Wimbledon (2)?
SELECT Year FROM table WHERE Championship = Wimbledon (2)
Translate the following into a SQL query
What is the score of the match with opponents Gretchen Magers Kelly Jones?
SELECT Score FROM table WHERE Opponents = Gretchen Magers Kelly Jones
Translate the following into a SQL query
How many birthdays does Earl Hanley Beshlin have?
SELECT COUNT Date of birth FROM table WHERE Representative = Earl Hanley Beshlin
Translate the following into a SQL query
Which politican party has a birthday of November 10, 1880
SELECT Party FROM table WHERE Date of birth = November 10, 1880
Translate the following into a SQL query
Which representative has a birthday of January 31, 1866?
SELECT Representative FROM table WHERE Date of birth = January 31, 1866
Translate the following into a SQL query
What is the Singles W-L for the players named Laurynas Grigelis?
SELECT Singles W–L FROM table WHERE Player = Laurynas Grigelis
Translate the following into a SQL query
What is the Current singles ranking for the player named Mantas Bugailiškis?
SELECT Current singles ranking FROM table WHERE Player = Mantas Bugailiškis
Translate the following into a SQL query
How many playerd Mrs. Darling in the 1999 Broadway?
SELECT COUNT 1999 Broadway FROM table WHERE Character = Mrs. Darling
Translate the following into a SQL query
Who played Peter Pan in the 1990 Broadway?
SELECT 1990 Broadway FROM table WHERE Character = Peter Pan
Translate the following into a SQL query
Who played in the 1991 Broadway before Barbara McCulloh played the part in the 1999 Broadway?
SELECT 1991 Broadway FROM table WHERE 1999 Broadway = Barbara McCulloh