instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | What was the date of appointment for the manager replacing Kadir Özcan? | SELECT Date of appointment FROM table WHERE Outgoing manager = Kadir Özcan |
Translate the following into a SQL query | Which manager was appointed on 08.06.2010? | SELECT Replaced by FROM table WHERE Date of appointment = 08.06.2010 |
Translate the following into a SQL query | Who replaced the previous manager of Altay? | SELECT Replaced by FROM table WHERE Team = Altay |
Translate the following into a SQL query | What was date of appointment for Ergün Penbe? | SELECT Date of appointment FROM table WHERE Replaced by = Ergün Penbe |
Translate the following into a SQL query | What is the overall total for the Omaha Nighthawks? | SELECT MIN Overall Total FROM table WHERE Team = Omaha Nighthawks |
Translate the following into a SQL query | Which team has the home average of 18125? | SELECT Team FROM table WHERE Home Avg = 18125 |
Translate the following into a SQL query | What was the highest home total? | SELECT MAX Home Total FROM table |
Translate the following into a SQL query | How many games had an average of 12796? | SELECT COUNT Overall Gms FROM table WHERE Overall Avg = 12796 |
Translate the following into a SQL query | Who was the stage winner of the letua cycling team on stage 2? | SELECT Stage winner FROM table WHERE Team classification = LeTua Cycling Team AND Stage = 2 |
Translate the following into a SQL query | Who is listed under points classification when the stage winner is malcolm lange? | SELECT Points classification FROM table WHERE Stage winner = Malcolm Lange |
Translate the following into a SQL query | Which mountains classification is listed under stage 3? | SELECT Mountains classification FROM table WHERE Stage = 3 |
Translate the following into a SQL query | Who was listed under the general classification when the stage winner was suhardi hassan? | SELECT General classification FROM table WHERE Stage winner = Suhardi Hassan |
Translate the following into a SQL query | what is the greatest stage number in which suhardi hassan is the stage winner? | SELECT MAX Stage FROM table WHERE Stage winner = Suhardi Hassan |
Translate the following into a SQL query | Who is listed under general classification on stage 4? | SELECT General classification FROM table WHERE Stage = 4 |
Translate the following into a SQL query | Who wrote the episodes with 7.70 u.s. viewers (million) ? | SELECT Written by FROM table WHERE U.S. viewers (million) = 7.70 |
Translate the following into a SQL query | What original air date has 5.85 u.s. viewers (million)? | SELECT Original air date FROM table WHERE U.S. viewers (million) = 5.85 |
Translate the following into a SQL query | What's the title in the number 10 in the season? | SELECT Title FROM table WHERE No. in season = 10 |
Translate the following into a SQL query | If the position in table is 10th, and the manner of departure was resigned, what was the date of vacancy? | SELECT Date of vacancy FROM table WHERE Manner of departure = Resigned AND Position in table = 10th |
Translate the following into a SQL query | If the incoming head coach is Carlos Azenha, what is the date of vacancy? | SELECT Date of vacancy FROM table WHERE Incoming head coach = Carlos Azenha |
Translate the following into a SQL query | If the team is união de leiria, what is the date of appointment? | SELECT Date of appointment FROM table WHERE Team = União de Leiria |
Translate the following into a SQL query | What is 2003 when 1999 is 2.1? | SELECT 2003 FROM table WHERE 1999 = 2.1 |
Translate the following into a SQL query | What is 2010 when 2003 is 5.6? | SELECT 2010 FROM table WHERE 2003 = 5.6 |
Translate the following into a SQL query | What is the greek national account when 1997 is 6.1? | SELECT Greek national account FROM table WHERE 1997 = 6.1 |
Translate the following into a SQL query | What is 1995 when 20011 is 45.8? | SELECT 1995 FROM table WHERE 2001 1 = 45.8 |
Translate the following into a SQL query | What is 2006 when 1997 is 6.8? | SELECT 2006 FROM table WHERE 1997 = 6.8 |
Translate the following into a SQL query | What is 2002 when 2009 is 54.0? | SELECT 2002 FROM table WHERE 2009 = 54.0 |
Translate the following into a SQL query | If the NFL team is the Houston Oilers and the position is DT, who is the Pro team? | SELECT Pro Team FROM table WHERE Position = DT AND NFL Team = Houston Oilers |
Translate the following into a SQL query | How many different players does the Washington Redskins have? | SELECT COUNT Player FROM table WHERE NFL Team = Washington Redskins |
Translate the following into a SQL query | If the college is Vanderbilt, what is the position? | SELECT Position FROM table WHERE College = Vanderbilt |
Translate the following into a SQL query | If the proteam is Jacksonville bulls, what is the position? | SELECT Position FROM table WHERE Pro Team = Jacksonville Bulls |
Translate the following into a SQL query | If the college is SMU, what is the position? | SELECT Position FROM table WHERE College = SMU |
Translate the following into a SQL query | Who wrote the episode with the production code of 3t7255? | SELECT Written by FROM table WHERE Production code = 3T7255 |
Translate the following into a SQL query | How many U.S. viewers (million) watched the episode directed by Allison Liddi-Brown? | SELECT U.S. viewers (million) FROM table WHERE Directed by = Allison Liddi-Brown |
Translate the following into a SQL query | What is the total number of production code listings of episodes written by Matthew Lau? | SELECT COUNT Production code FROM table WHERE Written by = Matthew Lau |
Translate the following into a SQL query | What was the prize pool in New Orleans? | SELECT Total Prize Pool FROM table WHERE Location = New Orleans |
Translate the following into a SQL query | How many prizes were available in the competition where 696 people entered? | SELECT COUNT Winners Prize FROM table WHERE Entrants = 696 |
Translate the following into a SQL query | Name the accession number for rhodopseudomonas palustris | SELECT Accession number FROM table WHERE Genus/Species = Rhodopseudomonas palustris |
Translate the following into a SQL query | Name the genus/species of accession number bx897699.1 | SELECT Genus/Species FROM table WHERE Accession number = BX897699.1 |
Translate the following into a SQL query | Name the accession number for sequence similarity being 54 | SELECT Accession number FROM table WHERE Sequence similarity = 54 |
Translate the following into a SQL query | Name the gene name for methylobacterium nodulans | SELECT Gene Name FROM table WHERE Genus/Species = Methylobacterium nodulans |
Translate the following into a SQL query | Name the gene name for accession number bx897700.1 | SELECT Gene Name FROM table WHERE Accession number = BX897700.1 |
Translate the following into a SQL query | What was the minimum % funded of the project that was closed on 2012-05-18? | SELECT MIN % funded FROM table WHERE Closing date = 2012-05-18 |
Translate the following into a SQL query | What was the maximum total USD collected by Pebble Technology? | SELECT MAX Total USD FROM table WHERE Creator = Pebble Technology |
Translate the following into a SQL query | What was the category of the project name Mighty No. 9? | SELECT Category FROM table WHERE Project name = Mighty No. 9 |
Translate the following into a SQL query | Project Name Pebble: E-Paper Watch for Iphone and Android was ranked how many times? | SELECT COUNT Rank FROM table WHERE Project name = Pebble: E-Paper Watch for iPhone and Android |
Translate the following into a SQL query | How many league apps did the player with 11 team goals have? | SELECT League apps FROM table WHERE Total goals = 11 |
Translate the following into a SQL query | What is the lowest number of total goals for a player with 6 league goals? | SELECT MIN Total goals FROM table WHERE League goals = 6 |
Translate the following into a SQL query | What is the lowest number of fa cup goals by a player? | SELECT MIN FA Cup goals FROM table |
Translate the following into a SQL query | Who wrote the episode that aired on September 26, 2010? | SELECT Written by FROM table WHERE Original air date = September 26, 2010 |
Translate the following into a SQL query | How many radio stations were built in Asia? | SELECT Asia FROM table WHERE Programs = Radio Stations |
Translate the following into a SQL query | How many program data on Asia was written if the organization launched 14 programs iin the Americas? | SELECT COUNT Asia FROM table WHERE Americas = 14 |
Translate the following into a SQL query | How many times did Australasia received a program if the Americas received 115 program? | SELECT COUNT Australasia FROM table WHERE Americas = 115 |
Translate the following into a SQL query | What is every episode number for the series number 3? | SELECT Episode No. Episode No. refers to the episodes number in the overall series, whereas Series No. refers to the episodes number in this particular series. FROM table WHERE Series No. = 3 |
Translate the following into a SQL query | What is every episode with Barry Purchese as the writer? | SELECT Episode FROM table WHERE Writer = Barry Purchese |
Translate the following into a SQL query | Name the episod for number 64 | SELECT Episode FROM table WHERE Episode No. Episode No. refers to the episodes number in the overall series, whereas Series No. refers to the episodes number in this particular series. = 64 |
Translate the following into a SQL query | Name the number of episodes for sam snape | SELECT COUNT Episode FROM table WHERE Writer = Sam Snape |
Translate the following into a SQL query | What was the aspect ratio if the vertical pixel is 480 and pixel aspect ratio is 1:1? | SELECT Aspect ratio FROM table WHERE Vertical = 480 AND Pixel aspect ratio = 1:1 |
Translate the following into a SQL query | What was the minimum vertical measurement if the aspect ratio is 16:9 and scanning is interlaced? | SELECT MIN Vertical FROM table WHERE Aspect ratio = 16:9 AND Scanning = interlaced |
Translate the following into a SQL query | What was the maximum vertical measurement if the horizon measurement is 640? | SELECT MAX Vertical FROM table WHERE Horizontal = 640 |
Translate the following into a SQL query | Name the outgoing manager for mutual consent and position 16th | SELECT Outgoing manager FROM table WHERE Manner of departure = Mutual consent AND Position in table = 16th |
Translate the following into a SQL query | Name the replaced by for slaven belupo | SELECT Replaced by FROM table WHERE Team = Slaven Belupo |
Translate the following into a SQL query | Name the number of outgoing manager for rijeka | SELECT COUNT Outgoing manager FROM table WHERE Team = Rijeka |
Translate the following into a SQL query | Name the least horizontal for smpte 259m three quarters | SELECT MIN Horizontal FROM table WHERE Pixel aspect ratio = SMPTE 259M three quarters |
Translate the following into a SQL query | Name the aspect ratio for smpte 259m and interlaced scanning | SELECT Aspect ratio FROM table WHERE Pixel aspect ratio = SMPTE 259M AND Scanning = interlaced |
Translate the following into a SQL query | What were the ratings for "episode 6"? | SELECT Ratings FROM table WHERE Title = "Episode 6" |
Translate the following into a SQL query | What date did the episode that was written by Fintan Ryan originally air? | SELECT Originalairdate FROM table WHERE Written by = Fintan Ryan |
Translate the following into a SQL query | What date did the epiode that had 1.37 million as the rating originally air? | SELECT Originalairdate FROM table WHERE Ratings = 1.37 Million |
Translate the following into a SQL query | What is the title of the episode no. 16 by season? | SELECT Title FROM table WHERE No. in season = 16 |
Translate the following into a SQL query | How many times did an episode with a production code of 12003 was aired? | SELECT COUNT Original air date FROM table WHERE Production code = 12003 |
Translate the following into a SQL query | Name the color analyst for terry bowden and 17.2 | SELECT Color analyst(s) FROM table WHERE Studio analyst(s) = Terry Bowden AND TV Rating = 17.2 |
Translate the following into a SQL query | Name the number of bowl for lee corso, gene chizik and chip kelly | SELECT COUNT Bowl FROM table WHERE Studio analyst(s) = Lee Corso, Gene Chizik and Chip Kelly |
Translate the following into a SQL query | Name the studio analysts for espn with erin andrews and tom rinaldi | SELECT Studio analyst(s) FROM table WHERE Network(s) = ESPN AND Sideline reporter(s) = Erin Andrews and Tom Rinaldi |
Translate the following into a SQL query | What is the highest series number with 9.17 million US viewers? | SELECT MAX No. in Series FROM table WHERE U.S. viewers (millions) = 9.17 |
Translate the following into a SQL query | name the podiums for start of 22 | SELECT Podiums FROM table WHERE Starts = 22 |
Translate the following into a SQL query | Name the number of poles for fastest laps being 6 | SELECT COUNT Poles FROM table WHERE Fastest Laps = 6 |
Translate the following into a SQL query | Name the least podiums for 2009 | SELECT MIN Podiums FROM table WHERE Season = 2009 |
Translate the following into a SQL query | Name the starts for 2009 | SELECT Starts FROM table WHERE Season = 2009 |
Translate the following into a SQL query | Name the most starts for 6 wins | SELECT MAX Starts FROM table WHERE Wins = 6 |
Translate the following into a SQL query | How many matches were wickets 16? | SELECT COUNT Matches FROM table WHERE Wickets = 16 |
Translate the following into a SQL query | What is the lowest wickets? | SELECT MIN Wickets FROM table |
Translate the following into a SQL query | What is the 4wi when the economy is 7.82? | SELECT 4wi FROM table WHERE Economy = 7.82 |
Translate the following into a SQL query | Who is the player when the bbi is 5/27? | SELECT Player FROM table WHERE BBI = 5/27 |
Translate the following into a SQL query | What is the team when the economy is 5.73? | SELECT Team FROM table WHERE Economy = 5.73 |
Translate the following into a SQL query | When Denizli was the province, what was the total number of valid votes? | SELECT COUNT Valid votes FROM table WHERE Province = Denizli |
Translate the following into a SQL query | When 54.86% of people votes yes, howe many votes were invalid? | SELECT Invalid votes FROM table WHERE Yes (%) = 54.86 |
Translate the following into a SQL query | How many registered voters were there when 36.32% of people voted yes? | SELECT MIN Registered voters FROM table WHERE Yes (%) = 36.32 |
Translate the following into a SQL query | What province had a turnout of 54.09%? | SELECT Province FROM table WHERE Turnout (%) = 54.09 |
Translate the following into a SQL query | How many people voted yes when the percentage of yeses was 95.17? | SELECT MAX Yes FROM table WHERE Yes (%) = 95.17 |
Translate the following into a SQL query | What was the turnout percentage when the percentage of people that voted no was 36.51? | SELECT Turnout (%) FROM table WHERE No (%) = 36.51 |
Translate the following into a SQL query | What is the model number for the order part numbered tmrm75dam22gg? | SELECT Model Number FROM table WHERE Order Part Number = TMRM75DAM22GG |
Translate the following into a SQL query | What is the oder part number for the model with 10x mult. 1? | SELECT Order Part Number FROM table WHERE Mult. 1 = 10x |
Translate the following into a SQL query | How much ht does the model with 10x mult. 1 have? | SELECT HT FROM table WHERE Mult. 1 = 10x |
Translate the following into a SQL query | What's the ht for the model released on June 4, 2008? | SELECT HT FROM table WHERE Release date = June 4, 2008 |
Translate the following into a SQL query | How many pole position achieved 0 points from Mexico? | SELECT COUNT Poles FROM table WHERE Points = 0 AND Nation = Mexico |
Translate the following into a SQL query | Name the vcore for multi 11x | SELECT V Core FROM table WHERE Mult. 1 = 11x |
Translate the following into a SQL query | Name the number of v core for model number mobile athlon 64 3000+ | SELECT COUNT V Core FROM table WHERE Model Number = Mobile Athlon 64 3000+ |
Translate the following into a SQL query | Name the total number of points for for played | SELECT COUNT Points for FROM table WHERE Played = Played |
Translate the following into a SQL query | Name the total number of points for 46 tries for | SELECT COUNT Points FROM table WHERE Tries for = 46 |
Translate the following into a SQL query | Name the total number of club for lost being 16 | SELECT COUNT Club FROM table WHERE Lost = 16 |
Translate the following into a SQL query | Name the drawn for lost being 5 and tries for 89 | SELECT Drawn FROM table WHERE Lost = 5 AND Tries for = 89 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.