instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
How many production codes have the title "the better man"?
SELECT COUNT Production code FROM table WHERE Title = "The Better Man"
Translate the following into a SQL query
Who directed the episode that aired on July 29, 2011?
SELECT Directed by FROM table WHERE U.S. air date = July 29, 2011
Translate the following into a SQL query
How many air dates where directed by jim donovan?
SELECT COUNT U.S. air date FROM table WHERE Directed by = Jim Donovan
Translate the following into a SQL query
What is the smallest number?
SELECT MIN # FROM table
Translate the following into a SQL query
Which air dates have 1.229 canadian viewers (millions)?
SELECT U.S. air date FROM table WHERE Canadian viewers (million) = 1.229
Translate the following into a SQL query
In what district is the city listed in Serial number 9?
SELECT COUNT District FROM table WHERE Serial No. = 9
Translate the following into a SQL query
What is the area of the city in the Sargodha district?
SELECT COUNT City Area(km 2 ) FROM table WHERE District = Sargodha District
Translate the following into a SQL query
What is the smallest city area?
SELECT MIN City Area(km 2 ) FROM table
Translate the following into a SQL query
If Di Drew is the director, what was the original air date for episode A Whole Lot to Lose?
SELECT Original air date FROM table WHERE Directed by = Di Drew
Translate the following into a SQL query
What is the population (2010 census) if s barangay is 51?
SELECT COUNT Population (2010 census) FROM table WHERE s Barangay = 51
Translate the following into a SQL query
What is the population (2010 census) if the area is 66.11?
SELECT MIN Population (2010 census) FROM table WHERE Area ( has .) = 66.11
Translate the following into a SQL query
How many entered the match with a time of 14:42?
SELECT Entered FROM table WHERE Time = 14:42
Translate the following into a SQL query
What was the time for the match with Cena?
SELECT Time FROM table WHERE Wrestler = Cena
Translate the following into a SQL query
What was the time of the match where Chris Jericho eliminated the wrestler?
SELECT Time FROM table WHERE Eliminated by = Chris Jericho
Translate the following into a SQL query
What are all the stations with a license in Cincinnati?
SELECT Station FROM table WHERE City of license /Market = Cincinnati
Translate the following into a SQL query
What station is affiliated with kmgh-tv?
SELECT Affiliation FROM table WHERE Station = KMGH-TV
Translate the following into a SQL query
How many stations have been owned since wfts-tv?
SELECT Owned Since FROM table WHERE Station = WFTS-TV
Translate the following into a SQL query
What city of license/market has the channel of 41?
SELECT City of license /Market FROM table WHERE Channel ( TV / RF ) = 41
Translate the following into a SQL query
What is the minimum stations owned since kero-tv?
SELECT MIN Owned Since FROM table WHERE Station = KERO-TV
Translate the following into a SQL query
What is the lyric fm for rnag 93.2?
SELECT Lyric FM (MHz) FROM table WHERE RnaG (MHz) = 93.2
Translate the following into a SQL query
What are the 2fm's for erp 16?
SELECT 2FM (MHz) FROM table WHERE ERP (kW) = 16
Translate the following into a SQL query
What is the rnag for kippure transmitter?
SELECT RnaG (MHz) FROM table WHERE Transmitter = Kippure
Translate the following into a SQL query
What is the rnag for lyric fm 98.7?
SELECT RnaG (MHz) FROM table WHERE Lyric FM (MHz) = 98.7
Translate the following into a SQL query
What is the 2fm for rnag 94.4?
SELECT 2FM (MHz) FROM table WHERE RnaG (MHz) = 94.4
Translate the following into a SQL query
How many reasons were given when A. Willis Robertson (D) resigned?
SELECT COUNT Reason for change FROM table WHERE Vacator = A. Willis Robertson (D)
Translate the following into a SQL query
Who vacated his post when his successor was formally installed on May 11, 1966?
SELECT Vacator FROM table WHERE Date of successors formal installation = May 11, 1966
Translate the following into a SQL query
What was the state (class) where the new successor was formally installed on May 11, 1966?
SELECT State (class) FROM table WHERE Date of successors formal installation = May 11, 1966
Translate the following into a SQL query
When abba is the artist what is the album?
SELECT Album FROM table WHERE Artist = ABBA
Translate the following into a SQL query
When 35 is the number what is the album?
SELECT Album FROM table WHERE No. = 35
Translate the following into a SQL query
When bat out of hell is the album what is the lowest number?
SELECT MIN No. FROM table WHERE Album = Bat Out of Hell
Translate the following into a SQL query
When cannot handle non-empty timestamp argument! 2007 is released what is the no.?
SELECT No. FROM table WHERE Released = Cannot handle non-empty timestamp argument! 2007
Translate the following into a SQL query
Which district did Ralph Harvey (r) vacated when he resigned?
SELECT District FROM table WHERE Vacator = Ralph Harvey (R)
Translate the following into a SQL query
Who did Walter B. Jones, Sr. (d) succeeded in office?
SELECT Vacator FROM table WHERE Successor = Walter B. Jones, Sr. (D)
Translate the following into a SQL query
What number episode in the series was titled "Never the Bride"?
SELECT No. in series FROM table WHERE Title = "Never the Bride"
Translate the following into a SQL query
Who wrote the episode titled "Trojan Horst"?
SELECT Written by FROM table WHERE Title = "Trojan Horst"
Translate the following into a SQL query
What was the title of the episode directed by John T. Kretchmer?
SELECT Title FROM table WHERE Directed by = John T. Kretchmer
Translate the following into a SQL query
How many seasons were directed by Bryan Spicer?
SELECT MIN No. in season FROM table WHERE Directed by = Bryan Spicer
Translate the following into a SQL query
What is the title of series 23?
SELECT Title FROM table WHERE No. in series = 23
Translate the following into a SQL query
When did the title "training video" originally air?
SELECT Original air date FROM table WHERE Title = "Training Video"
Translate the following into a SQL query
Who directed season 1?
SELECT Directed by FROM table WHERE No. in season = 1
Translate the following into a SQL query
What is the title when u.s. viewers (millions) is 3.97?
SELECT Title FROM table WHERE U.S. viewers (in millions) = 3.97
Translate the following into a SQL query
how many people commentated where broadcaster is orf
SELECT COUNT Commentator FROM table WHERE Broadcaster = ORF
Translate the following into a SQL query
list the spokespersons where voting order is 9
SELECT Spokespersons FROM table WHERE Voting order = 9
Translate the following into a SQL query
which countries were commentated on by gordana bonetti
SELECT Country FROM table WHERE Commentator = Gordana Bonetti
Translate the following into a SQL query
wich spokesperson talked on luxembourg
SELECT Spokespersons FROM table WHERE Country = Luxembourg
Translate the following into a SQL query
who was the commentator when spokesperson was claude darget
SELECT Commentator FROM table WHERE Spokespersons = Claude Darget
Translate the following into a SQL query
List all institutions with a team name of the Cardinals.
SELECT Institution FROM table WHERE Team Nickname = Cardinals
Translate the following into a SQL query
List the total number of institutions founded in Rock Island, Illinois.
SELECT COUNT Founded FROM table WHERE Location = Rock Island, Illinois
Translate the following into a SQL query
How many viewers in millions watched the episode 23:55 minutes long?
SELECT Viewers (in millions) FROM table WHERE Run time = 23:55
Translate the following into a SQL query
What is the broadcast date of the 16mm t/r episode?
SELECT Broadcast date FROM table WHERE Archive = 16mm t/r
Translate the following into a SQL query
How many viewers watched the 16mm t/r episode?
SELECT Viewers (in millions) FROM table WHERE Archive = 16mm t/r
Translate the following into a SQL query
state el canal de las estrellas where october 20, 2008 stat is june 5, 2009
SELECT El Canal de las Estrellas FROM table WHERE October 20, 2008 = June 5, 2009
Translate the following into a SQL query
state el canal de las estrellas where mañana es para siempre is impreuna pentru totdeauna
SELECT El Canal de las Estrellas FROM table WHERE Mañana es para siempre = Impreuna pentru totdeauna
Translate the following into a SQL query
what is the june 14, 2009 stat where october 20, 2008 stat is november 15, 2010
SELECT June 14, 2009 FROM table WHERE October 20, 2008 = November 15, 2010
Translate the following into a SQL query
what is the mexico stat where mañana es para siempre is love never dies
SELECT Mexico FROM table WHERE Mañana es para siempre = Love Never Dies
Translate the following into a SQL query
state el canal de las estrellas where october 20, 2008 stat is june 5, 2009
SELECT El Canal de las Estrellas FROM table WHERE October 20, 2008 = June 5, 2009
Translate the following into a SQL query
what is the october 20, 2008 stat where mexico stat is romania
SELECT October 20, 2008 FROM table WHERE Mexico = Romania
Translate the following into a SQL query
Name the other for chironius multiventris septentrionalis
SELECT Other FROM table WHERE Species = Chironius multiventris septentrionalis
Translate the following into a SQL query
Name the trinidad for yellow-bellied puffing snake
SELECT Trinidad FROM table WHERE Common name = Yellow-bellied puffing snake
Translate the following into a SQL query
Name the bocas for chironius multiventris septentrionalis
SELECT Bocas Is. FROM table WHERE Species = Chironius multiventris septentrionalis
Translate the following into a SQL query
Name the trindad for yellow-bellied puffing snake
SELECT Trinidad FROM table WHERE Common name = Yellow-bellied puffing snake
Translate the following into a SQL query
Name the common name for chironius multiventris septentrionalis
SELECT Common name FROM table WHERE Species = Chironius multiventris septentrionalis
Translate the following into a SQL query
What contestant was premiered on July 25?
SELECT Contestant Name FROM table WHERE Date Premiered (2009) = July 25
Translate the following into a SQL query
What's the Air Force - Navy score in the 2018 season?
SELECT Air Force – Navy score FROM table WHERE Season = 2018
Translate the following into a SQL query
What was the Air Force - Navy score in the 1983 season?
SELECT Air Force – Navy score FROM table WHERE Season = 1983
Translate the following into a SQL query
How many different season have an Army - Navy score of 10 dec. 2016 at Baltimore, MD (M&T Bank Stadium)?
SELECT COUNT Season FROM table WHERE Army – Navy score = 10 Dec. 2016 at Baltimore, MD (M&T Bank Stadium)
Translate the following into a SQL query
In the first episode of Garfield titled Robodie II, what is the title of the U.S. Acres Episode?
SELECT U.S. Acres Episode FROM table WHERE Garfield Episode 1 = Robodie II
Translate the following into a SQL query
What is the title of the first episode of Garfield that is followed by the second episode of Garfield titled Mamma Manicotti?
SELECT Garfield Episode 1 FROM table WHERE Garfield Episode 2 = Mamma Manicotti
Translate the following into a SQL query
What is the name of the US Acres episode following the Garfield episode titled Robodie II?
SELECT U.S. Acres Episode FROM table WHERE Garfield Episode 1 = Robodie II
Translate the following into a SQL query
what is the 2nd garfield episode for garfield episode 1 twice told tale
SELECT Garfield Episode 2 FROM table WHERE Garfield Episode 1 = Twice Told Tale
Translate the following into a SQL query
what is the 2nd garfield episode where u.s. acres episode is the orson awards
SELECT Garfield Episode 1 FROM table WHERE U.S. Acres Episode = The Orson Awards
Translate the following into a SQL query
how many 2nd episodes for u.s. acres episode the orson awards
SELECT COUNT Garfield Episode 2 FROM table WHERE U.S. Acres Episode = The Orson Awards
Translate the following into a SQL query
what is the original airdate for garfield episode 2 the wise man
SELECT Original Airdate FROM table WHERE Garfield Episode 2 = The Wise Man
Translate the following into a SQL query
what is the 2nd garfield episode where u.s. acres episode is the bunny rabbits is coming!
SELECT Garfield Episode 2 FROM table WHERE U.S. Acres Episode = The Bunny Rabbits is Coming!
Translate the following into a SQL query
which episode had garfield episode 1 ship shape
SELECT Episode FROM table WHERE Garfield Episode 1 = Ship Shape
Translate the following into a SQL query
Which Garfield episode 2 has Garfield episode 1 as the first annual Garfield watchers test?
SELECT Garfield Episode 2 FROM table WHERE Garfield Episode 1 = The First Annual Garfield Watchers Test
Translate the following into a SQL query
What is the original air date of the u.s. acres episode who done it?
SELECT Original Airdate FROM table WHERE U.S. Acres Episode = Who Done It?
Translate the following into a SQL query
Which episode in Garfield episode 1 is the worst pizza in the history of mankind?
SELECT Episode FROM table WHERE Garfield Episode 1 = The Worst Pizza in the History of Mankind
Translate the following into a SQL query
How many original airdates is Garfield episode 1 is cute for loot?
SELECT COUNT Original Airdate FROM table WHERE Garfield Episode 1 = Cute for Loot
Translate the following into a SQL query
Which u.s.acres episode has "show 79" as the episode?
SELECT U.S. Acres Episode FROM table WHERE Episode = "Show 79"
Translate the following into a SQL query
How many u.s. episodes have Garfield episode 2 the picnic panic?
SELECT COUNT U.S. Acres Episode FROM table WHERE Garfield Episode 2 = The Picnic Panic
Translate the following into a SQL query
what is the garfield episode where us acres episode is banana nose?
SELECT Garfield Episode 2 FROM table WHERE U.S. Acres Episode = Banana Nose
Translate the following into a SQL query
what is the original airdate for shell shocked sheldon?
SELECT Original Airdate FROM table WHERE U.S. Acres Episode = Shell Shocked Sheldon
Translate the following into a SQL query
What is episode 2 for Robodie?
SELECT Garfield Episode 2 FROM table WHERE Garfield Episode 1 = Robodie
Translate the following into a SQL query
What are the episodes for "Crime and Nourishment"?
SELECT Episode FROM table WHERE Garfield Episode 2 = Crime and Nourishment
Translate the following into a SQL query
What is the garfield episode 2 when episode 1 is "change of mind"?
SELECT Garfield Episode 2 FROM table WHERE Garfield Episode 1 = Change Of Mind
Translate the following into a SQL query
What is the title of garfield episode 2 when "the horror hostess (part 1)" is episode 1?
SELECT Garfield Episode 2 FROM table WHERE Garfield Episode 1 = The Horror Hostess (Part 1)
Translate the following into a SQL query
What is the name of episode 2 for garfield when episode 1 is "suburban jungle"?
SELECT Garfield Episode 2 FROM table WHERE Garfield Episode 1 = Suburban Jungle
Translate the following into a SQL query
What is episode 2 of garfield when episode 1 is "the horror hostess (part 1)"?
SELECT Garfield Episode 2 FROM table WHERE Garfield Episode 1 = The Horror Hostess (Part 1)
Translate the following into a SQL query
Name the tourism receipts 2003 for tourism competitiveness 3.26
SELECT COUNT Tourism receipts (2003) (as % of exports) FROM table WHERE Tourism competitiveness (2011) (TTCI) = 3.26
Translate the following into a SQL query
Name the tourism receipts 2003 for colombia
SELECT Tourism receipts (2003) (as % of GDP) FROM table WHERE Country = Colombia
Translate the following into a SQL query
Name the total number of tourism receipts 2011 where tourism receipts 2003 13.5
SELECT COUNT Tourism receipts (2011) (US$ per capita) FROM table WHERE Tourism receipts (2003) (as % of GDP) = 13.5
Translate the following into a SQL query
When classic hits 102.1 cjcy is the branding who is the owner?
SELECT Owner FROM table WHERE Branding = Classic Hits 102.1 CJCY
Translate the following into a SQL query
When hot adult contemporary is the format what is the call sign?
SELECT Call sign FROM table WHERE Format = hot adult contemporary
Translate the following into a SQL query
When vista radio is the owner how many call signs are there?
SELECT COUNT Call sign FROM table WHERE Owner = Vista Radio
Translate the following into a SQL query
When fm 97.3 is the frequency how many formats are there?
SELECT COUNT Format FROM table WHERE Frequency = FM 97.3
Translate the following into a SQL query
When vista radio is the owner what is the frequency?
SELECT Frequency FROM table WHERE Owner = Vista Radio
Translate the following into a SQL query
Name the team for 5 september 2008 for date of vacancy for 30 august 2008
SELECT Team FROM table WHERE Date of appointment = 5 September 2008 AND Date of vacancy = 30 August 2008
Translate the following into a SQL query
Name the date of vacancy for daniel uberti
SELECT Date of vacancy FROM table WHERE Outgoing manager = Daniel Uberti
Translate the following into a SQL query
Name the manner of departure for date of vacancy 25 august 2008
SELECT Manner of departure FROM table WHERE Date of vacancy = 25 August 2008