instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What is the launch date for the sattelite with a nssdc id of 1960-009a?
SELECT Launch date (UTC) FROM table WHERE NSSDC ID = 1960-009A
Translate the following into a SQL query
What is the decay for the sattelite with an id that is 1990-081c?
SELECT Decay FROM table WHERE NSSDC ID = 1990-081C
Translate the following into a SQL query
How many song titles belong to the artist Ratt?
SELECT COUNT Song Title FROM table WHERE Artist = Ratt
Translate the following into a SQL query
What is every original game for the artist Lynyrd Skynyrd?
SELECT Original Game FROM table WHERE Artist = Lynyrd Skynyrd
Translate the following into a SQL query
What is every song title for the rock genre and Guitar Hero as original game and the artist is Queens of the Stone Age?
SELECT Song Title FROM table WHERE Genre = Rock AND Original Game = Guitar Hero AND Artist = Queens of the Stone Age
Translate the following into a SQL query
What is every song title for 2007?
SELECT Song Title FROM table WHERE Year = 2007
Translate the following into a SQL query
What was Lambert's song choice in the top 13?
SELECT Song choice FROM table WHERE Week # = Top 13
Translate the following into a SQL query
What order did Lambert perform in the top 11?
SELECT Order # FROM table WHERE Week # = Top 11
Translate the following into a SQL query
What week was themed disco?
SELECT Week # FROM table WHERE Theme = Disco
Translate the following into a SQL query
What week #(s featured sara bareilles as the original artist?
SELECT Week # FROM table WHERE Original artist = Sara Bareilles
Translate the following into a SQL query
What week # featured first solo as the theme?
SELECT Week # FROM table WHERE Theme = First Solo
Translate the following into a SQL query
How many weeks featured duffy as the original artist?
SELECT COUNT Theme FROM table WHERE Original artist = Duffy
Translate the following into a SQL query
Who was the originally artist when Jasmine Murray was selected?
SELECT Original artist FROM table WHERE Result = Selected
Translate the following into a SQL query
With theme the Year They Were Born, what is the song of choice?
SELECT Song choice FROM table WHERE Theme = Year They Were Born
Translate the following into a SQL query
With order number 7 and the theme is Motown, who were the original artists?
SELECT Original artist FROM table WHERE Order # = 7 AND Theme = Motown
Translate the following into a SQL query
With an original artist names Bette Midler, what is the order number?
SELECT COUNT Order # FROM table WHERE Original artist = Bette Midler
Translate the following into a SQL query
With original artist of Tina Turner, what is the week number?
SELECT Week # FROM table WHERE Original artist = Tina Turner
Translate the following into a SQL query
Who is the original artist with a theme of N/A?
SELECT Original artist FROM table WHERE Theme = N/A
Translate the following into a SQL query
Name the team for june 16 jeff gordon
SELECT Team FROM table WHERE Date = June 16 AND Driver = Jeff Gordon
Translate the following into a SQL query
Name the driver for 200 laps 1997
SELECT Driver FROM table WHERE Laps = 200 AND Year = 1997
Translate the following into a SQL query
Name the team for ricky rudd
SELECT Team FROM table WHERE Driver = Ricky Rudd
Translate the following into a SQL query
What is the rank when RR2 has 4 points?
SELECT Ranking FROM table WHERE RR2 Pts. = 4
Translate the following into a SQL query
How many points does Swedish America's Cup Challenge have for rr1?
SELECT COUNT RR1 Pts. FROM table WHERE Team name = Swedish America's Cup Challenge
Translate the following into a SQL query
Who was the senior US senator in the state whose governor was D. Patrick?
SELECT Senior U.S. Senator FROM table WHERE Governor = D. Patrick
Translate the following into a SQL query
What's the lower house majority in the state whose Senior senator is J. Shaheen?
SELECT Lower House Majority FROM table WHERE Senior U.S. Senator = J. Shaheen
Translate the following into a SQL query
Who is every name for time(cet) of 09:58?
SELECT Name FROM table WHERE Time (CET) = 09:58
Translate the following into a SQL query
What is every time(cet) for the name of Lillehammer 2?
SELECT Time (CET) FROM table WHERE Name = Lillehammer 2
Translate the following into a SQL query
Who is every name for time(cet) of 09:03?
SELECT Name FROM table WHERE Time (CET) = 09:03
Translate the following into a SQL query
Which days have a stage of ss11?
SELECT Day FROM table WHERE Stage = SS11
Translate the following into a SQL query
What is every time(cet) for a time of 5:04.8?
SELECT Time (CET) FROM table WHERE Time = 5:04.8
Translate the following into a SQL query
How many calibers require the type LB/RN?
SELECT COUNT Caliber FROM table WHERE Type = LB/RN
Translate the following into a SQL query
Type FJ/RN/SC is associated with what class?
SELECT Class FROM table WHERE Type = FJ/RN/SC
Translate the following into a SQL query
What type of glazing will stop a .44 magnum?
SELECT Type FROM table WHERE Caliber = .44 Magnum
Translate the following into a SQL query
What is the fewest shots a glazing can handle?
SELECT MIN Shots FROM table
Translate the following into a SQL query
What range does type FJ/PB/SCP work at?
SELECT Range (m) FROM table WHERE Type = FJ/PB/SCP
Translate the following into a SQL query
Name the drivetrain for 2ur-fse
SELECT Drivetrain FROM table WHERE Engine code = 2UR-FSE
Translate the following into a SQL query
Name the regions for usf45
SELECT Region(s) FROM table WHERE Chassis code = USF45
Translate the following into a SQL query
Name the model number for usf46
SELECT Model no. FROM table WHERE Chassis code = USF46
Translate the following into a SQL query
Name the drivetrain for 1ur-fse for usf41
SELECT Drivetrain FROM table WHERE Engine code = 1UR-FSE AND Chassis code = USF41
Translate the following into a SQL query
For the area which was 9.1 in October 2010, what is the figure for October 2012?
SELECT October 2012 FROM table WHERE October 2010 = 9.1
Translate the following into a SQL query
Where is the rate 5.7 in October 2010?
SELECT Employment Area FROM table WHERE October 2010 = 5.7
Translate the following into a SQL query
Name the original air date for 9.16 viewers
SELECT Original air date FROM table WHERE U.S. viewers (million) = 9.16
Translate the following into a SQL query
Name the total number of production code for episode by steve cohen & andrew dettman
SELECT COUNT Production code FROM table WHERE Written by = Steve Cohen & Andrew Dettman
Translate the following into a SQL query
What is the population in millions for 2011 where the HDI for 2011 is 0.453 (low)?
SELECT Population (millions, 2011) FROM table WHERE HDI (2011) = 0.453 (low)
Translate the following into a SQL query
What is the population in millions for 2011 where the GDP (nominal) (billions USD) is 4?
SELECT Population (millions, 2011) FROM table WHERE GDP (nominal) (billions USD) = 4
Translate the following into a SQL query
What is the HDI for 2011 in Tunisia?
SELECT HDI (2011) FROM table WHERE Country = Tunisia
Translate the following into a SQL query
What is the area (km2) where the population in millions for 2011 is 37.1?
SELECT Area (km²) FROM table WHERE Population (millions, 2011) = 37.1
Translate the following into a SQL query
What is the GDP (PPP) (USD, per capita) for Algeria?
SELECT MIN GDP (PPP) (USD, per capita) FROM table WHERE Country = Algeria
Translate the following into a SQL query
What is the GDP (nominal) (billions USD) where the population in millions for 2011 is 3.4?
SELECT GDP (nominal) (billions USD) FROM table WHERE Population (millions, 2011) = 3.4
Translate the following into a SQL query
Name the number of cab size for 4 medium tanker
SELECT COUNT Cab size FROM table WHERE Category = 4 Medium tanker
Translate the following into a SQL query
Name the category for cab size crew and super tanker
SELECT Category FROM table WHERE Cab size = Crew AND Sub-category = Super tanker
Translate the following into a SQL query
Name the capacity for single cab size 2 medium tanker
SELECT Capacity (litres) FROM table WHERE Cab size = Single AND Category = 2 Medium tanker
Translate the following into a SQL query
What school is in Brechin?
SELECT External link FROM table WHERE Location = Brechin
Translate the following into a SQL query
How many kids go to Brechin High School?
SELECT MAX Roll FROM table WHERE School = Brechin High School
Translate the following into a SQL query
What year did Negro American League join?
SELECT MIN Began in St. Louis FROM table WHERE League = Negro American League
Translate the following into a SQL query
What year did the team who played at the Scottrade Center leave the city?
SELECT MIN Left St. Louis FROM table WHERE Venue = Scottrade Center
Translate the following into a SQL query
How may championships were won by the team that started in 1950?
SELECT Championships in St. Louis FROM table WHERE Began in St. Louis = 1950
Translate the following into a SQL query
How many championships were won for arena football?
SELECT Championships in St. Louis FROM table WHERE Sport = Arena Football
Translate the following into a SQL query
When samai amari is the asian rider classification how many asian team classifications are there?
SELECT COUNT Asian team classification FROM table WHERE Asian rider classification = Samai Amari
Translate the following into a SQL query
When 4 is the stage who is the general classification?
SELECT General classification FROM table WHERE Stage = 4
Translate the following into a SQL query
What is the number in season for the episode written by Chris Mitchell and Erik Wiese?
SELECT No. in season FROM table WHERE Written by = Chris Mitchell and Erik Wiese
Translate the following into a SQL query
What is the title for episode number in series of 28?
SELECT Title FROM table WHERE No. in series = 28
Translate the following into a SQL query
Who directed the episode titled "Jack and the Zombies"?
SELECT Directed by FROM table WHERE Title = "Jack and the Zombies"
Translate the following into a SQL query
How many titles were written by Don Shank and Genndy Tartakovsky?
SELECT COUNT Title FROM table WHERE Written by = Don Shank and Genndy Tartakovsky
Translate the following into a SQL query
When 3rd, sedgemoor division 1 is the ladies 1st xi what is the mens 3rd xi?
SELECT Mens 3rd XI FROM table WHERE Ladies 1st XI = 3rd, Sedgemoor Division 1
Translate the following into a SQL query
When 10th, south west district 1 is the mens 2nd xi what is the ladies 1st xi?
SELECT Ladies 1st XI FROM table WHERE Mens 2nd XI = 10th, South West District 1
Translate the following into a SQL query
When 5th, south western district 2 is the mens 2nd xi what is the season?
SELECT Season FROM table WHERE Mens 2nd XI = 5th, South Western District 2
Translate the following into a SQL query
When 6th, south division 2 is the mens 1st xi what is the mens 2nd xi?
SELECT Mens 2nd XI FROM table WHERE Mens 1st XI = 6th, South Division 2
Translate the following into a SQL query
Which stage has kourdali as the name?
SELECT Stage FROM table WHERE Name = Kourdali
Translate the following into a SQL query
Which stage has 15:17 as time?
SELECT Stage FROM table WHERE Time (EET) = 15:17
Translate the following into a SQL query
What is the time when time is 10:46?
SELECT Time FROM table WHERE Time (EET) = 10:46
Translate the following into a SQL query
What is the time when ss12 is stage?
SELECT Time FROM table WHERE Stage = SS12
Translate the following into a SQL query
Name the state class for resigned november 3, 1964
SELECT State (class) FROM table WHERE Reason for change = Resigned November 3, 1964
Translate the following into a SQL query
How many champions are shown for the runner-up of stefan edberg?
SELECT COUNT Champion FROM table WHERE Runner-up = Stefan Edberg
Translate the following into a SQL query
What week was stefan edberg anders järryd was semifinalist and champion is john mcenroe 7–6, 6–3?
SELECT Week of FROM table WHERE Semifinalists = Stefan Edberg Anders Järryd AND Champion = John McEnroe 7–6, 6–3
Translate the following into a SQL query
Who is the runner up for the champion of john mcenroe 6–2, 6–3?
SELECT Runner-up FROM table WHERE Champion = John McEnroe 6–2, 6–3
Translate the following into a SQL query
Who were the quarterfinalists for the runner-ups of mike de palmer gary donnelly?
SELECT Quarterfinalists FROM table WHERE Runner-up = Mike De Palmer Gary Donnelly
Translate the following into a SQL query
Who are the quarterfinalists for runner-up jimmy connors?
SELECT Quarterfinalists FROM table WHERE Runner-up = Jimmy Connors
Translate the following into a SQL query
How many weeks are shown for the champion of john mcenroe 6–2, 6–3?
SELECT COUNT Week of FROM table WHERE Champion = John McEnroe 6–2, 6–3
Translate the following into a SQL query
What is every reason for change for the date of successors installation is March 16, 1960?
SELECT Reason for change FROM table WHERE Date of successors formal installation = March 16, 1960
Translate the following into a SQL query
Who is every vacator if date of successors formal installation is August 8, 1960?
SELECT Vacator FROM table WHERE Date of successors formal installation = August 8, 1960
Translate the following into a SQL query
Who is every successor for the Washington 3rd District?
SELECT Successor FROM table WHERE District = Washington 3rd
Translate the following into a SQL query
What is every reason for change for the Washington 3rd District?
SELECT Reason for change FROM table WHERE District = Washington 3rd
Translate the following into a SQL query
Who is every vacator with reason for change as resigned December 31, 1959?
SELECT Vacator FROM table WHERE Reason for change = Resigned December 31, 1959
Translate the following into a SQL query
In what district was the successor seated August 31, 1943?
SELECT District FROM table WHERE Date successor seated = August 31, 1943
Translate the following into a SQL query
Who was the successor for the reason for change being "died January 16, 1944?
SELECT Successor FROM table WHERE Reason for change = Died January 16, 1944
Translate the following into a SQL query
Who was the successor in New York 11th district?
SELECT Successor FROM table WHERE District = New York 11th
Translate the following into a SQL query
On what date was James P. Buchanan (d)'s successor seated?
SELECT Date successor seated FROM table WHERE Vacator = James P. Buchanan (D)
Translate the following into a SQL query
How many people vacated to successor Dave E. Satterfield, Jr. (d)?
SELECT COUNT Vacator FROM table WHERE Successor = Dave E. Satterfield, Jr. (D)
Translate the following into a SQL query
Why did Robert L. Bacon (r) vacate?
SELECT Reason for change FROM table WHERE Vacator = Robert L. Bacon (R)
Translate the following into a SQL query
Makio Inoue dubbed on which character?
SELECT Character FROM table WHERE Original Japanese = Makio Inoue
Translate the following into a SQL query
Who was the cast on the English (Manga UK) version if Kō Nishimura acted on the original Japanese?
SELECT English ( Manga UK ) FROM table WHERE Original Japanese = Kō Nishimura
Translate the following into a SQL query
Who was the original Japanese cast if Sean Barrett acted on the English (Manga UK) version?
SELECT Original Japanese FROM table WHERE English ( Manga UK ) = Sean Barrett
Translate the following into a SQL query
Name the district for reason for change being died july 4, 1939
SELECT District FROM table WHERE Reason for change = Died July 4, 1939
Translate the following into a SQL query
Name the number of reason for change on may 11, 1939
SELECT COUNT Reason for change FROM table WHERE Date successor seated = May 11, 1939
Translate the following into a SQL query
What were the time and speed for the rider ranked in 12 on Wed, June 3?
SELECT Wed 3 June FROM table WHERE Rank = 12
Translate the following into a SQL query
What is the series number for the Golden Frog?
SELECT Series # FROM table WHERE Title = The Golden Frog
Translate the following into a SQL query
Who is the artist for strip numbers 3932-4031a?
SELECT Artist FROM table WHERE Strip numbers = 3932-4031A
Translate the following into a SQL query
who got the first position when Ehime Shimanami got the third position?
SELECT Champions FROM table WHERE Third place = Ehime Shimanami
Translate the following into a SQL query
who got the third position when laranja kyoto got the second position?
SELECT Third place FROM table WHERE Runners-up = Laranja Kyoto