instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | How many U.S. viewers in millions watched the episode titled "The Truth About Dads and Moms"? | SELECT COUNT U.S. viewers (million) FROM table WHERE Title = "The Truth About Dads and Moms" |
Translate the following into a SQL query | What is the life expectancy of men with an IMR of 64? | SELECT Life expectancy males FROM table WHERE IMR* = 64 |
Translate the following into a SQL query | How many live births per year do people with a life expectancy of 65.1 have? | SELECT Live births per year FROM table WHERE Life expectancy total = 65.1 |
Translate the following into a SQL query | What period was there a 22.7 NC? | SELECT Period FROM table WHERE NC* = 22.7 |
Translate the following into a SQL query | What is the natural change per year for the 7.2 CDR group? | SELECT Natural change per year FROM table WHERE CDR* = 7.2 |
Translate the following into a SQL query | What is the natural change per year for the 34 IMR group? | SELECT Natural change per year FROM table WHERE IMR* = 34 |
Translate the following into a SQL query | What period was the life expectancy at 62.4? | SELECT Period FROM table WHERE Life expectancy total = 62.4 |
Translate the following into a SQL query | Who is the artiest when the number one single is "elle"? | SELECT Artist FROM table WHERE Number-one single(s) = "Elle" |
Translate the following into a SQL query | In what year is australia/oceania listed? | SELECT COUNT Year FROM table WHERE Continent = Australia/Oceania |
Translate the following into a SQL query | what was the elevation in september 2009? | SELECT Elevation m FROM table WHERE Year = September 2009 |
Translate the following into a SQL query | what is the continent in which the country russia is listed? | SELECT Continent FROM table WHERE Country = Russia |
Translate the following into a SQL query | what was the lowest elevation in april 2006? | SELECT MIN Elevation ft FROM table WHERE Year = April 2006 |
Translate the following into a SQL query | what is elevation of tanzania? | SELECT COUNT Elevation ft FROM table WHERE Country = Tanzania |
Translate the following into a SQL query | what is the elevation of south america? | SELECT Elevation ft FROM table WHERE Continent = South America |
Translate the following into a SQL query | List the season above 241.0 that was handled by brad tanenbaum. | SELECT No. in season FROM table WHERE Directed by = Brad Tanenbaum AND No. in series > 241.0 |
Translate the following into a SQL query | List the series number with the espide called "shock waves". | SELECT No. in series FROM table WHERE Title = "Shock Waves" |
Translate the following into a SQL query | List the 1st air date for season 12. | SELECT Original air date FROM table WHERE No. in season = 12 |
Translate the following into a SQL query | List the series number for season 12. | SELECT COUNT No. in series FROM table WHERE No. in season = 12 |
Translate the following into a SQL query | How many years was the country Belgium? | SELECT COUNT Year FROM table WHERE Country = Belgium |
Translate the following into a SQL query | What number-one single is performed by artist Pep's? | SELECT Number-one single(s) FROM table WHERE Artist = Pep's |
Translate the following into a SQL query | Where were the auditions held in the episode that aired on january 27, 2011? | SELECT Audition city FROM table WHERE Episode air date = January 27, 2011 |
Translate the following into a SQL query | In how many different audition cities were the Bridgestone arena auditions held? | SELECT COUNT Audition city FROM table WHERE Audition venue = Bridgestone Arena |
Translate the following into a SQL query | When was the callback audition date for the audition city from the episode aired on February 2, 2011? | SELECT Callback audition date FROM table WHERE Episode air date = February 2, 2011 |
Translate the following into a SQL query | When were the callback auditions at Hilton Riverside Hotel held? | SELECT Callback audition date FROM table WHERE Callback venue = Hilton Riverside Hotel |
Translate the following into a SQL query | What was the callback venue for the audition city in the episode aired on January 20, 2011? | SELECT Callback venue FROM table WHERE Episode air date = January 20, 2011 |
Translate the following into a SQL query | When were the callback auditions for the audition city in the episode aired on February 9, 2011? | SELECT Callback audition date FROM table WHERE Episode air date = February 9, 2011 |
Translate the following into a SQL query | How many episodes did Eve Weston write? | SELECT COUNT No. in series FROM table WHERE Written by = Eve Weston |
Translate the following into a SQL query | How many millions of US viewers watched the episode written by Jack Sanderson? | SELECT U.S. viewers (millions) FROM table WHERE Written by = Jack Sanderson |
Translate the following into a SQL query | What is the series episode number of "Taxi Dance"? | SELECT MIN No. in series FROM table WHERE Title = "Taxi Dance" |
Translate the following into a SQL query | Name who wrote the production code 322 | SELECT Written by FROM table WHERE Prod. code = 322 |
Translate the following into a SQL query | What is the television network with the television channel of Astro Pelangi & Astro Bintang? | SELECT Television network FROM table WHERE Television channel = Astro Pelangi & Astro Bintang |
Translate the following into a SQL query | What was the status of the series that was run by tv channel Mediacorp tv12 Suria? | SELECT Status FROM table WHERE Television channel = MediaCorp TV12 Suria |
Translate the following into a SQL query | What was the world rank by QS in 2013 for the University of Otago? | SELECT World Rank by QS , 2013 FROM table WHERE Members = University of Otago |
Translate the following into a SQL query | What was the world rank by ARWU in 2013 of university whose world rank by QS in 2013 was 90th? | SELECT World Rank by ARWU , 2013 FROM table WHERE World Rank by QS , 2013 = 90th |
Translate the following into a SQL query | What was the world rank by ARWU in 2013 of the University of Tübingen? | SELECT World Rank by ARWU , 2013 FROM table WHERE Members = University of Tübingen |
Translate the following into a SQL query | What was the world rank by THE-WUR in 2013 of the university whose world rank by QS in 2013 was 113th? | SELECT World Rank by THE-WUR , 2013 FROM table WHERE World Rank by QS , 2013 = 113th |
Translate the following into a SQL query | What is the production number for the episode called "Random on Purpose"? | SELECT Prod. No. FROM table WHERE Title = "Random on Purpose" |
Translate the following into a SQL query | How many episodes have 18.73 million viewers? | SELECT COUNT No. in series FROM table WHERE Viewers (millions) = 18.73 |
Translate the following into a SQL query | What was the result of the election for georgia's 3rd district? | SELECT Result FROM table WHERE District = Georgia's 3rd |
Translate the following into a SQL query | Who was the incumbent from georgia's 8th district? | SELECT Incumbent FROM table WHERE District = Georgia's 8th |
Translate the following into a SQL query | What was the result of the election with incumbent bob barr? | SELECT Result FROM table WHERE Incumbent = Bob Barr |
Translate the following into a SQL query | What was the result of the election with incumbent john lewis? | SELECT Result FROM table WHERE Incumbent = John Lewis |
Translate the following into a SQL query | Who was the incumbent for the election in 1978? | SELECT Incumbent FROM table WHERE Elected = 1978 |
Translate the following into a SQL query | Who are the judges in the Netherlands for the season airing 28 November 2011 – 24 December 2011? | SELECT Judges FROM table WHERE Country = Netherlands AND Air dates = 28 November 2011 – 24 December 2011 |
Translate the following into a SQL query | What is the version aired on SBS 6 called? | SELECT Name FROM table WHERE Network = SBS 6 |
Translate the following into a SQL query | What are the air dates of the show in ABS-CBN? | SELECT Air dates FROM table WHERE Network = ABS-CBN |
Translate the following into a SQL query | Who is the host on the series aired on 18 January 2012? | SELECT Host(s) FROM table WHERE Air dates = 18 January 2012 |
Translate the following into a SQL query | What is the name of the series with the unknown host? | SELECT Name FROM table WHERE Host(s) = unknown |
Translate the following into a SQL query | What is every value for points per game if passing yards per game is 179.6? | SELECT Points per Game FROM table WHERE Passing Yards per Game = 179.6 |
Translate the following into a SQL query | What is every value for sacks if interceptions is 19? | SELECT Sacks FROM table WHERE Interceptions = 19 |
Translate the following into a SQL query | What is every value for passing yards per game if rushing yards per game is 113.6? | SELECT Passing Yards per Game FROM table WHERE Rushing Yards per Game = 113.6 |
Translate the following into a SQL query | What is every value for rushing yards per game if sacks if 25? | SELECT Rushing Yards per Game FROM table WHERE Sacks = 25 |
Translate the following into a SQL query | What is every value for rushing yards per game if the season is 1984? | SELECT Rushing Yards per Game FROM table WHERE Season = 1984 |
Translate the following into a SQL query | How many seasons have a sacks of 39? | SELECT COUNT Season FROM table WHERE Sacks = 39 |
Translate the following into a SQL query | Name the average for rank of 3 | SELECT Average FROM table WHERE Rank by average = 3 |
Translate the following into a SQL query | Name the total points for 2 | SELECT Total points FROM table WHERE Place = 2 |
Translate the following into a SQL query | What is the decision when the opponents are atlanta thrashers? | SELECT Decision FROM table WHERE Opponent = Atlanta Thrashers |
Translate the following into a SQL query | How many game entries are there when the points are 57? | SELECT COUNT Game FROM table WHERE Points = 57 |
Translate the following into a SQL query | What is the smallest año? | SELECT MIN Año FROM table |
Translate the following into a SQL query | How many premio are there when "Artist of the Year" was the categoria? | SELECT COUNT Premio FROM table WHERE Categoría = Artist of the Year |
Translate the following into a SQL query | What was the resultado when E.E.U.U was the country? | SELECT Resultado FROM table WHERE Country = E.E.U.U |
Translate the following into a SQL query | What was the categoria when E.E.U.U was the country? | SELECT Categoría FROM table WHERE Country = E.E.U.U |
Translate the following into a SQL query | When the año was 2012, who was the county? | SELECT Country FROM table WHERE Año = 2012 |
Translate the following into a SQL query | Name who wrote the episode by lawrence trilling | SELECT Written by FROM table WHERE Directed by = Lawrence Trilling |
Translate the following into a SQL query | Name the air date for alex taub | SELECT Original air date FROM table WHERE Written by = Alex Taub |
Translate the following into a SQL query | How many games were numbered 69? | SELECT COUNT Opponent FROM table WHERE Game = 69 |
Translate the following into a SQL query | How many times did they play the pittsburgh penguins? | SELECT COUNT March FROM table WHERE Opponent = Pittsburgh Penguins |
Translate the following into a SQL query | What is the earliest quarterfinal week when the genre is dancing and the act is 32? | SELECT MIN Qtr. Final (Week) FROM table WHERE Genre = Dancing AND Age(s) = 32 |
Translate the following into a SQL query | What is the quarterfinal week for Austin Anderson? | SELECT MIN Qtr. Final (Week) FROM table WHERE Name/Name of Act = Austin Anderson |
Translate the following into a SQL query | What is the genre for the group with ages 29-30? | SELECT Genre FROM table WHERE Age(s) = 29-30 |
Translate the following into a SQL query | What is the age of the act who is a rapper? | SELECT Age(s) FROM table WHERE Act = Rapper |
Translate the following into a SQL query | What is the hometown of Plutonic? | SELECT Hometown FROM table WHERE Name/Name of Act = PLUtonic |
Translate the following into a SQL query | How many semi-final weeks are there for acts from Pittsburgh, Pennsylvania? | SELECT COUNT Semi Final (Week) FROM table WHERE Hometown = Pittsburgh, Pennsylvania |
Translate the following into a SQL query | What was the margin of victory for the event in lake forest, illinois? | SELECT Margin of victory FROM table WHERE Location = Lake Forest, Illinois |
Translate the following into a SQL query | What was zach johnson's score to par? | SELECT To par FROM table WHERE Player = Zach Johnson |
Translate the following into a SQL query | What was the winning score at bellerive country club? | SELECT Score FROM table WHERE Course = Bellerive Country Club |
Translate the following into a SQL query | How many courses are located in carmel, indiana? | SELECT COUNT Course FROM table WHERE Location = Carmel, Indiana |
Translate the following into a SQL query | How many status figures does James Finch have? | SELECT COUNT Status FROM table WHERE Entrant = James Finch |
Translate the following into a SQL query | What is the car make for Sterling Marlin? | SELECT Car Make FROM table WHERE Driver = Sterling Marlin |
Translate the following into a SQL query | What is the finish position for cars by Pontiac driven by Bobby Hamilton? | SELECT Pos FROM table WHERE Car Make = Pontiac AND Driver = Bobby Hamilton |
Translate the following into a SQL query | who are the participants that wear clothing in 33-23-36 | SELECT Contestant FROM table WHERE Sizes = 33-23-36 |
Translate the following into a SQL query | what is the oldest and lives in veraguas | SELECT MAX Age FROM table WHERE Hometown = Veraguas |
Translate the following into a SQL query | where is the participant marelissa him from | SELECT Hometown FROM table WHERE Contestant = Marelissa Him |
Translate the following into a SQL query | which company has a person that can wear clothing in 33-23-36 | SELECT Agency FROM table WHERE Sizes = 33-23-36 |
Translate the following into a SQL query | how tall is someone who is able to wear 33-24-35 | SELECT Height FROM table WHERE Sizes = 33-24-35 |
Translate the following into a SQL query | If the best winning average is 7.3-71, what are the total points? | SELECT MIN Total points FROM table WHERE Best Winning Average = 7.3-71 |
Translate the following into a SQL query | if the best run was 138, what is the amount of games lost? | SELECT Games Lost FROM table WHERE Best Run = 138 |
Translate the following into a SQL query | If the games won are 5, what is the best winning average? | SELECT Best Winning Average FROM table WHERE Games Won = 5 |
Translate the following into a SQL query | If the player is William Jakes, what are the total points? | SELECT MIN Total points FROM table WHERE Players = William Jakes |
Translate the following into a SQL query | If the grand average is 12.76-202, who is the player? | SELECT Players FROM table WHERE Grand Average = 12.76-202 |
Translate the following into a SQL query | How many players had a best winning average of 20? | SELECT COUNT Games Won FROM table WHERE Best Winning Average = 20 |
Translate the following into a SQL query | What was the October 22 record? | SELECT Record FROM table WHERE Date = October 22 |
Translate the following into a SQL query | What was the 6-4 score's maximum attendance? | SELECT MAX Attendance FROM table WHERE Score = 6-4 |
Translate the following into a SQL query | What was the score for game #1? | SELECT Score FROM table WHERE Game = 1 |
Translate the following into a SQL query | What was the record for the October 16 game? | SELECT Record FROM table WHERE Date = October 16 |
Translate the following into a SQL query | What was the record in the game whose first star was J. Oduya? | SELECT Record FROM table WHERE First Star = J. Oduya |
Translate the following into a SQL query | What was the score of the game whose first star was O. Pavelec? | SELECT Score FROM table WHERE First Star = O. Pavelec |
Translate the following into a SQL query | Who made the decision in the game played on December 26? | SELECT Decision FROM table WHERE Date = December 26 |
Translate the following into a SQL query | Where was the game seen by 10056 people played? | SELECT Location FROM table WHERE Attendance = 10056 |
Translate the following into a SQL query | Who was the first star of the game with record of 17-11-5? | SELECT First Star FROM table WHERE Record = 17-11-5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.