instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | Who was nominated for best supporting actor in the movie Going My Way? | SELECT Actor/Actress FROM table WHERE Film title used in nomination = Going My Way AND Category = Best Supporting Actor |
Translate the following into a SQL query | When in 2003 to 2004 the January team is 5.7 what is it through 2001 through 2002? | SELECT 2001/02 FROM table WHERE 2003/04 = 5.7 |
Translate the following into a SQL query | When through 2005 to 2006 it is 5.4 what team is it? | SELECT Term Abroad FROM table WHERE 2005/06 = 5.4 |
Translate the following into a SQL query | When through 2006 to 2007 the duration of one quarter is 3.4 what is it through 2007 to 2008? | SELECT 2007/08 FROM table WHERE 2006/07 = 3.4 |
Translate the following into a SQL query | When through 2005 to 2006 the duration of the academic year is 5.3 what is it through 2000 to 2001? | SELECT 2000/01 FROM table WHERE 2005/06 = 5.3 |
Translate the following into a SQL query | When through 2001 to 2002 the duration is 0.5 what is the term abroad? | SELECT Term Abroad FROM table WHERE 2001/02 = 0.5 |
Translate the following into a SQL query | Name the series number that aired on november 11, 1996 | SELECT Series # FROM table WHERE Original air date = November 11, 1996 |
Translate the following into a SQL query | Who wrote the episode originally aired on September 29, 1999? | SELECT Written by FROM table WHERE Original air date = September 29, 1999 |
Translate the following into a SQL query | What is the name of the episode originally aired on September 29, 1999? | SELECT Title FROM table WHERE Original air date = September 29, 1999 |
Translate the following into a SQL query | What is the production code number for episode named "chilly scenes of winter golf"? | SELECT MIN Prod. code FROM table WHERE Title = "Chilly Scenes of Winter Golf" |
Translate the following into a SQL query | How many percentages were recorded under 2006 when in 2001 was 14.6%? | SELECT COUNT 2006 (%) FROM table WHERE 2001 (%) = 14.6 |
Translate the following into a SQL query | What is the ethnic group that in 2001 had 117,513? | SELECT Ethnic Group FROM table WHERE 2001 (people) = 117,513 |
Translate the following into a SQL query | How many numbers were recorded under 2001 when 2006 was 18.9? | SELECT COUNT 2001 (%) FROM table WHERE 2006 (%) = 18.9 |
Translate the following into a SQL query | What was the percentage in 2006 when in 2001 was 66.9 %? | SELECT 2006 (%) FROM table WHERE 2001 (%) = 66.9 |
Translate the following into a SQL query | If the rings is 58.975, what is the number for the horizontal bar? | SELECT Horizontal Bar FROM table WHERE Rings = 58.975 |
Translate the following into a SQL query | How many positions was the United States in? | SELECT COUNT Position FROM table WHERE Country = United States |
Translate the following into a SQL query | If the rings are 60.500, what is the parallel bars number? | SELECT Parallel Bars FROM table WHERE Rings = 60.500 |
Translate the following into a SQL query | If the rings number is 60.000, what is the number for the vault? | SELECT COUNT Vault FROM table WHERE Rings = 60.000 |
Translate the following into a SQL query | If the parallel bars numbers is 61.500, what is the total number for the flood? | SELECT COUNT Floor FROM table WHERE Parallel Bars = 61.500 |
Translate the following into a SQL query | When united kingdom is the country what is the most recent date? | SELECT Most recent date FROM table WHERE Country = United Kingdom |
Translate the following into a SQL query | When 3 is the rank what is the highest combo? | SELECT MAX Combo FROM table WHERE Rank = 3 |
Translate the following into a SQL query | When 12 is the rank who is the most recent cyclist? | SELECT Most recent cyclist FROM table WHERE Rank = 12 |
Translate the following into a SQL query | When 155 is the jersey what is the highest amount of different holders? | SELECT MAX Different holders FROM table WHERE Jerseys = 155 |
Translate the following into a SQL query | Name the upper index kcal/nm3 for 62.47 | SELECT Upper index Kcal/ Nm 3 FROM table WHERE Lower index MJ/ Nm 3 = 62.47 |
Translate the following into a SQL query | Name the fuel gas for upper index mj/nm3 for 92.32 | SELECT Fuel gas FROM table WHERE Upper index MJ/ Nm 3 = 92.32 |
Translate the following into a SQL query | Name the lower index kcal/ nm3 for 61.32 | SELECT Lower index Kcal/ Nm 3 FROM table WHERE Upper index MJ/ Nm 3 = 61.32 |
Translate the following into a SQL query | What is the Quarterback rating of the player who got a comp percentage of 62.0? | SELECT QB Rating FROM table WHERE Comp % = 62.0 |
Translate the following into a SQL query | What is the rank of the player who got 58179 in yardage? | SELECT Rank FROM table WHERE Yardage = 58179 |
Translate the following into a SQL query | In which league would you find the player with a comp percentage of 54.0? | SELECT Leagues FROM table WHERE Comp % = 54.0 |
Translate the following into a SQL query | Which nation is where rider phillip dutton from? | SELECT Nation FROM table WHERE Rider = Phillip Dutton |
Translate the following into a SQL query | Which nation is where the horse parkmore ed is? | SELECT Nation FROM table WHERE Horse = Parkmore Ed |
Translate the following into a SQL query | How many total team penalties are there when cross country penalties is 30.40? | SELECT Total Team Penalties FROM table WHERE Cross Country Penalties = 30.40 |
Translate the following into a SQL query | Who is the rider where the horse is galan de sauvagere? | SELECT Rider FROM table WHERE Horse = Galan De Sauvagere |
Translate the following into a SQL query | How many penalties are there when Eric Vigeanel is the rider? | SELECT COUNT Total Penalties FROM table WHERE Rider = Eric Vigeanel |
Translate the following into a SQL query | What record label corresponds to the single "I can't stay"? | SELECT Record label FROM table WHERE Single = I Can't Stay |
Translate the following into a SQL query | What format for the release that had 2000 copies? | SELECT Format FROM table WHERE Other details = 2000 copies |
Translate the following into a SQL query | What single(s) released in 2008 and had 4000 copies? | SELECT Single FROM table WHERE Date = 2008 AND Other details = 4000 copies |
Translate the following into a SQL query | What were the "other details" (number released) for "is my love will follow me"? | SELECT Other details FROM table WHERE Single = My Love Will Follow Me |
Translate the following into a SQL query | What year was "moped girls" released? | SELECT Date FROM table WHERE Single = Moped Girls |
Translate the following into a SQL query | What were the "other details" (number released) for "is my love will follow me"? | SELECT Other details FROM table WHERE Single = My Love Will Follow Me |
Translate the following into a SQL query | Name the least amount of losses for 23 points | SELECT MIN Losses FROM table WHERE Points = 23 |
Translate the following into a SQL query | Name the most wins for sport colombia | SELECT MAX Wins FROM table WHERE Team = Sport Colombia |
Translate the following into a SQL query | Namr the total number of played for 5 losses | SELECT COUNT Played FROM table WHERE Losses = 5 |
Translate the following into a SQL query | Name the wins for draws pk is 3/0 | SELECT Wins FROM table WHERE Draws P.K. Wins / P.K. Losses = 3/0 |
Translate the following into a SQL query | What is scored with the position of 6? | SELECT MIN Scored FROM table WHERE Position = 6 |
Translate the following into a SQL query | How many losses are there for team tembetary? | SELECT Losses FROM table WHERE Team = Tembetary |
Translate the following into a SQL query | How many wins have 24 points? | SELECT Wins FROM table WHERE Points = 24 |
Translate the following into a SQL query | How many wins? | SELECT MAX Wins FROM table |
Translate the following into a SQL query | What is the original air date of the episode directed by Ian Barry and written by Philip Dalkin? | SELECT Original air date FROM table WHERE Directed by = Ian Barry AND Written by = Philip Dalkin |
Translate the following into a SQL query | What is the show episode number of the episode that reached 1.215 millions views? | SELECT MIN Series episode FROM table WHERE Viewers (millions) = 1.215 |
Translate the following into a SQL query | Who directed the episode written by Matt Ford? | SELECT Directed by FROM table WHERE Written by = Matt Ford |
Translate the following into a SQL query | How many times was team 1 the wykeham wonderers? | SELECT COUNT Players left after Round 1 FROM table WHERE Team 1 = Wykeham Wonderers |
Translate the following into a SQL query | What is the original air date that had the wykeham wonderers as team 1? | SELECT Air date FROM table WHERE Team 1 = Wykeham Wonderers |
Translate the following into a SQL query | Who was team 1 when the chalkheads were team 2? | SELECT Team 1 FROM table WHERE Team 2 = Chalkheads |
Translate the following into a SQL query | What is the title of the production code 1acx09? | SELECT Title FROM table WHERE Production code = 1ACX09 |
Translate the following into a SQL query | How many series were directed by Rob Renzetti? | SELECT COUNT No. in series FROM table WHERE Directed by = Rob Renzetti |
Translate the following into a SQL query | Who wrote the series number 14? | SELECT Written by FROM table WHERE No. in series = 14 |
Translate the following into a SQL query | Did this driver have any winnings the season he had 32 starts | SELECT COUNT Winnings FROM table WHERE Starts = 32 |
Translate the following into a SQL query | How many wins in the season he finished 33rd | SELECT Winnings FROM table WHERE Position = 33rd |
Translate the following into a SQL query | What is the lowest number of top 10 finishes | SELECT MIN Top 10 FROM table |
Translate the following into a SQL query | How many poles in the year 2000 | SELECT MAX Poles FROM table WHERE Year = 2000 |
Translate the following into a SQL query | What is the average finish for winnings of $1,400? | SELECT Avg. Finish FROM table WHERE Winnings = $1,400 |
Translate the following into a SQL query | What is the maximum starts that result in an average finish of 16.5? | SELECT MAX Starts FROM table WHERE Avg. Finish = 16.5 |
Translate the following into a SQL query | How many starts were there when the winnings are $690,321? | SELECT MIN Starts FROM table WHERE Winnings = $690,321 |
Translate the following into a SQL query | If Safari is 3.76%, what is the other Mozilla amount? | SELECT Other Mozilla FROM table WHERE Safari = 3.76% |
Translate the following into a SQL query | If Firefox is 30.45%, what is the other Mozilla amount? | SELECT Other Mozilla FROM table WHERE Firefox = 30.45% |
Translate the following into a SQL query | If Internet Explorer is 47.22%, what is the Safari total? | SELECT Safari FROM table WHERE Internet Explorer = 47.22% |
Translate the following into a SQL query | For period September 2009, what is the other Mozilla total number? | SELECT COUNT Other Mozilla FROM table WHERE Period = September 2009 |
Translate the following into a SQL query | Name the total number of production code by david richardson and todd holland | SELECT COUNT Production code FROM table WHERE Written by = David Richardson AND Directed by = Todd Holland |
Translate the following into a SQL query | Name the total number of series for march 19, 2000 | SELECT COUNT No. in series FROM table WHERE Original air date = March 19, 2000 |
Translate the following into a SQL query | What is the production code for episode "surgery"? | SELECT Production code FROM table WHERE Title = "Surgery" |
Translate the following into a SQL query | What episode number in the series originally aired on February 25, 2001? | SELECT No. in series FROM table WHERE Original air date = February 25, 2001 |
Translate the following into a SQL query | What is the name of the episode with the production code of 06-00-218? | SELECT Title FROM table WHERE Production code = 06-00-218 |
Translate the following into a SQL query | What is the production code for episode 26 in the series? | SELECT Production code FROM table WHERE No. in series = 26 |
Translate the following into a SQL query | What is the production code for episode 6 in the season? | SELECT Production code FROM table WHERE No. in season = 6 |
Translate the following into a SQL query | what is the title no in season 2? | SELECT Title FROM table WHERE No. in season = 2 |
Translate the following into a SQL query | What date did Micky Adams vacate his position? | SELECT Date of vacancy FROM table WHERE Outgoing manager = Micky Adams |
Translate the following into a SQL query | Which vacancy happened on 4 November 2008? | SELECT Position in table FROM table WHERE Date of vacancy = 4 November 2008 |
Translate the following into a SQL query | How many times did Keith Downing depart a position? | SELECT COUNT Position in table FROM table WHERE Outgoing manager = Keith Downing |
Translate the following into a SQL query | Which team appointed a person on 23 December 2008? | SELECT Team FROM table WHERE Date of appointment = 23 December 2008 |
Translate the following into a SQL query | What date did the Milton Keynes Dons appoint? | SELECT Date of appointment FROM table WHERE Team = Milton Keynes Dons |
Translate the following into a SQL query | Which vacancy occurred on 16 February 2009? | SELECT Position in table FROM table WHERE Date of vacancy = 16 February 2009 |
Translate the following into a SQL query | What is title of episode 06-02-407? | SELECT Title FROM table WHERE Production code = 06-02-407 |
Translate the following into a SQL query | What is title of episode 06-02-406? | SELECT Title FROM table WHERE Production code = 06-02-406 |
Translate the following into a SQL query | What is title of episode aired on March 2, 2003? | SELECT Title FROM table WHERE Original air date = March 2, 2003 |
Translate the following into a SQL query | Who wrote episode 74? | SELECT Written by FROM table WHERE No. in series = 74 |
Translate the following into a SQL query | Who wrote "Academic Octathalon"? | SELECT Written by FROM table WHERE Title = "Academic Octathalon" |
Translate the following into a SQL query | Which position in the table is the team watford? | SELECT Position in table FROM table WHERE Team = Watford |
Translate the following into a SQL query | Name the number of number in series for production code of 06-04-621 | SELECT COUNT No. in series FROM table WHERE Production code = 06-04-621 |
Translate the following into a SQL query | Name the total number of written by for original air date for may 8, 2005 | SELECT COUNT Written by FROM table WHERE Original air date = May 8, 2005 |
Translate the following into a SQL query | What was the place and how many people attended the game on July 11? | SELECT Location/Attendance FROM table WHERE Date = July 11 |
Translate the following into a SQL query | Who had the most assist and how many on July 26? | SELECT High assists FROM table WHERE Date = July 26 |
Translate the following into a SQL query | Who had the high assist in the game where the record is 13-11? | SELECT High assists FROM table WHERE Record = 13-11 |
Translate the following into a SQL query | At what date did the 23rd manager vacate the position? | SELECT Date of vacancy FROM table WHERE Position in table = 23rd |
Translate the following into a SQL query | What was the date of appointment for the manager that replaced Simon Davies? | SELECT Date of appointment FROM table WHERE Outgoing manager = Simon Davies |
Translate the following into a SQL query | What was the date of appointment for the manager of the 23rd team? | SELECT Date of appointment FROM table WHERE Position in table = 23rd |
Translate the following into a SQL query | How many categories for, replaced by, exist when the outgoing manager is Alan Buckley? | SELECT COUNT Replaced by FROM table WHERE Outgoing manager = Alan Buckley |
Translate the following into a SQL query | Which driver starts 3? | SELECT Driver FROM table WHERE Starts = 3 |
Translate the following into a SQL query | How many podiums for the driver with 18 stage wins? | SELECT COUNT Podiums FROM table WHERE Stage wins = 18 |
Translate the following into a SQL query | What is the highest pos for a driver with 1 podium? | SELECT MAX Pos FROM table WHERE Podiums = 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.