instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | what is the name of the episode whose writers were jeff astrof & matt goldman? | SELECT Title FROM table WHERE Written by = Jeff Astrof & Matt Goldman |
Translate the following into a SQL query | who were the writers of the episode that had 5.56 millions of north american viewers? | SELECT Written by FROM table WHERE U.S. viewers (millions) = 5.56 |
Translate the following into a SQL query | what is the name of the episode whose writers were jeff astrof & matt goldman? | SELECT Title FROM table WHERE Written by = Jeff Astrof & Matt Goldman |
Translate the following into a SQL query | What is the average for the player with 313 runs? | SELECT Average FROM table WHERE Runs = 313 |
Translate the following into a SQL query | How few runs does the 97.00 average have? | SELECT MIN Runs FROM table WHERE Average = 97.00 |
Translate the following into a SQL query | What is the minimum number of 50s scored? | SELECT MIN 50s FROM table |
Translate the following into a SQL query | How many 4wi were recorded by the player with an economy of 4.17? | SELECT 4wi FROM table WHERE Economy = 4.17 |
Translate the following into a SQL query | What is the fewest number of wickets recorded? | SELECT MIN Wickets FROM table |
Translate the following into a SQL query | What was the BBI for the bowler whose average is 24.50? | SELECT BBI FROM table WHERE Average = 24.50 |
Translate the following into a SQL query | What is the least amount of wickets? | SELECT MIN Wickets FROM table |
Translate the following into a SQL query | What is the least amount of matches? | SELECT MIN Matches FROM table |
Translate the following into a SQL query | How many players had 12 wickets? | SELECT COUNT Player FROM table WHERE Wickets = 12 |
Translate the following into a SQL query | How many innings for the player with an average of 30.03? | SELECT MIN Innings FROM table WHERE Average = 30.03 |
Translate the following into a SQL query | What is the average for the player with BBM 5/85? | SELECT Average FROM table WHERE BBM = 5/85 |
Translate the following into a SQL query | What is the lowest episode number that had 4.03 million viewers? | SELECT MIN Episode # FROM table WHERE Viewers (millions) = 4.03 |
Translate the following into a SQL query | How many million viewers watched episodes prior to episode 2.0? | SELECT Viewers (millions) FROM table WHERE Episode # < 2.0 |
Translate the following into a SQL query | What was the original air-date that had 4.77 million viewers? | SELECT Originalairdate FROM table WHERE Viewers (millions) = 4.77 |
Translate the following into a SQL query | Who directed the episode with 6.37 million viewers? | SELECT Directed by FROM table WHERE Viewers (millions) = 6.37 |
Translate the following into a SQL query | What is the release date of catalogue number DW023? | SELECT MAX Release date FROM table WHERE Catalogue number = DW023 |
Translate the following into a SQL query | What is the release date of "New Worlds for Old"? | SELECT Release date FROM table WHERE Release title = New Worlds For Old |
Translate the following into a SQL query | What is the catalogue number for "Waves in the Air"? | SELECT Catalogue number FROM table WHERE Release title = Waves In The Air |
Translate the following into a SQL query | What is the catalogue number for release dates of exactly 2005 and released by The Clear Spots? | SELECT Catalogue number FROM table WHERE Release date = 2005 AND Artist = The Clear Spots |
Translate the following into a SQL query | Which artist had a release title of HH? | SELECT Artist FROM table WHERE Release title = HH |
Translate the following into a SQL query | What was the name of the album released by Heavy Winged? | SELECT Release title FROM table WHERE Artist = Heavy Winged |
Translate the following into a SQL query | Who was the dual television commentator in 1990? | SELECT Dual Television commentator FROM table WHERE Year(s) = 1990 |
Translate the following into a SQL query | Who made the comments for radio broadcast when Jan Gabrielsson made them for television broadcast? | SELECT Radio commentator FROM table WHERE Television commentator = Jan Gabrielsson |
Translate the following into a SQL query | Name the total number of moto2 winners for laguna seca | SELECT COUNT Moto2 winner FROM table WHERE Circuit = Laguna Seca |
Translate the following into a SQL query | Name the circuit for hertz british grand prix | SELECT Circuit FROM table WHERE Grand Prix = Hertz British Grand Prix |
Translate the following into a SQL query | Name the number of rounds for brno | SELECT COUNT Round FROM table WHERE Circuit = Brno |
Translate the following into a SQL query | Name the motogp winner for 6 may | SELECT MotoGP winner FROM table WHERE Date = 6 May |
Translate the following into a SQL query | when was the episode titled "cracked" originally aired? | SELECT Original air date FROM table WHERE Title = "Cracked" |
Translate the following into a SQL query | Name the b winning car for #88 team mitsubishi 88 mitsubishi starion | SELECT B Winning Car FROM table WHERE A Winning Car = #88 Team Mitsubishi 88 Mitsubishi Starion |
Translate the following into a SQL query | Name the gt winning car for #88 team mitsubishi 88 mitsubishi starion | SELECT GT Winning Car FROM table WHERE A Winning Car = #88 Team Mitsubishi 88 Mitsubishi Starion |
Translate the following into a SQL query | Name the ss winning car for road atlanta and #35 quantum engineering #35 honda crx-si | SELECT SS Winning Car FROM table WHERE Circuit = Road Atlanta AND B Winning Car = #35 Quantum Engineering #35 Honda CRX-Si |
Translate the following into a SQL query | Name the total number of rnd for kim baker, bobby archer, tommy archer | SELECT COUNT Rnd FROM table WHERE SS Winning Car = Kim Baker, Bobby Archer, Tommy Archer |
Translate the following into a SQL query | Name the total number of b winning car and bobby archer, tommy archer | SELECT COUNT B Winning Car FROM table WHERE SS Winning Car = Bobby Archer, Tommy Archer |
Translate the following into a SQL query | How many institutes have the team name Spartans? | SELECT COUNT Institution FROM table WHERE Team Name = Spartans |
Translate the following into a SQL query | How many states were there when there was an enrollment of 2789? | SELECT COUNT State FROM table WHERE Enrollment = 2789 |
Translate the following into a SQL query | What kind of institute is in Indiana? | SELECT Affiliation FROM table WHERE State = Indiana |
Translate the following into a SQL query | How many people enrolled for the institute with the Pioneers? | SELECT MIN Enrollment FROM table WHERE Team Name = Pioneers |
Translate the following into a SQL query | What team is in the city of Rock Island? | SELECT Team Name FROM table WHERE City = Rock Island |
Translate the following into a SQL query | What is the name of the episode written by alison cross? | SELECT Title FROM table WHERE Written by = Alison Cross |
Translate the following into a SQL query | How many viewers watched the episode "the beast in me"? | SELECT U.S. viewers (in millions) FROM table WHERE Title = "The Beast in Me" |
Translate the following into a SQL query | How many people wrote the "the beast in me"? | SELECT COUNT Written by FROM table WHERE Title = "The Beast in Me" |
Translate the following into a SQL query | Who directed the episode written by karina csolty | SELECT Directed by FROM table WHERE Written by = Karina Csolty |
Translate the following into a SQL query | What is the name of the episode written by karina csolty? | SELECT Title FROM table WHERE Written by = Karina Csolty |
Translate the following into a SQL query | Who directed the episode whose production code is 2m5901? | SELECT Directed by FROM table WHERE Production = 2M5901 |
Translate the following into a SQL query | What is the first air date of the episode titled "Cuts like a knife"? | SELECT Original air date FROM table WHERE Title = "Cuts Like a Knife" |
Translate the following into a SQL query | How many viewers in millions were there for episode 4 of this season? | SELECT COUNT U.S. viewers (in millions) FROM table WHERE No. in season = 4 |
Translate the following into a SQL query | What is the production code for the episode titled "Love the way you lie"? | SELECT Production FROM table WHERE Title = "Love the Way You Lie" |
Translate the following into a SQL query | Name the total number of rank for percentage change yoy 13.1% | SELECT COUNT National Rank FROM table WHERE Percentage Change YOY = 13.1% |
Translate the following into a SQL query | Name the percentage change yoy for presbyterian college | SELECT Percentage Change YOY FROM table WHERE Institution = Presbyterian College |
Translate the following into a SQL query | Name the national rank for medical university of south carolina | SELECT National Rank FROM table WHERE Institution = Medical University of South Carolina |
Translate the following into a SQL query | What is the lowest numbered episode in the series? | SELECT MIN No. in series FROM table |
Translate the following into a SQL query | What numbered episode in the series is "remember me"? | SELECT MIN No. in series FROM table WHERE Title = "Remember Me" |
Translate the following into a SQL query | How many episodes were written by david j. north & janet tamaro? | SELECT COUNT Original air date FROM table WHERE Written by = David J. North & Janet Tamaro |
Translate the following into a SQL query | What are the original air dates for episodes directed by fred toye? | SELECT Original air date FROM table WHERE Directed by = Fred Toye |
Translate the following into a SQL query | What was the aggregate score for Montauban? | SELECT Aggregate score FROM table WHERE Proceed to Quarter-final = Montauban |
Translate the following into a SQL query | Who proceeded to the quarter finals with a points margin of 21? | SELECT Proceed to Quarter-final FROM table WHERE Points margin = 21 |
Translate the following into a SQL query | What were the match points when Bordeaux-Bègles was eliminated from competition? | SELECT Match points FROM table WHERE Eliminated from competition = Bordeaux-Bègles |
Translate the following into a SQL query | How many viewers saw the episode written by kevin biegel & bill lawrence? | SELECT U.S. viewers (in million) FROM table WHERE Written by = Kevin Biegel & Bill Lawrence |
Translate the following into a SQL query | What was the episode number veiwed by 7.43 million viewers? | SELECT MAX Series episode FROM table WHERE U.S. viewers (in million) = 7.43 |
Translate the following into a SQL query | What was the title of the episode viewed by 5.03 million viewers? | SELECT Title FROM table WHERE U.S. viewers (in million) = 5.03 |
Translate the following into a SQL query | What was the episode number for the episode viewed by 5.68 million viewers? | SELECT Season episode FROM table WHERE U.S. viewers (in million) = 5.68 |
Translate the following into a SQL query | What is the episode number with a title "baby's a rock 'n' roller"? | SELECT MIN Series episode FROM table WHERE Title = "Baby's a Rock 'N' Roller" |
Translate the following into a SQL query | How many times is the new entries this round is none? | SELECT COUNT Number of fixtures FROM table WHERE New entries this round = none |
Translate the following into a SQL query | What is the prize money when the clubs is 392 → 276? | SELECT Prize money FROM table WHERE Clubs = 392 → 276 |
Translate the following into a SQL query | What is the lowest number of fixtures? | SELECT MIN Number of fixtures FROM table |
Translate the following into a SQL query | What is the main date when the round is third round qualifying? | SELECT Main date FROM table WHERE Round = Third Round Qualifying |
Translate the following into a SQL query | What is the round when the prize money is £7,500? | SELECT Round FROM table WHERE Prize money = £7,500 |
Translate the following into a SQL query | What number in series was the episode written by Eric Gilliland? | SELECT MAX No. in series FROM table WHERE Written by = Eric Gilliland |
Translate the following into a SQL query | how many total number of points margin when brive is the winners | SELECT COUNT Points margin FROM table WHERE Winners = Brive |
Translate the following into a SQL query | how many match points did gran parma lost | SELECT Match points FROM table WHERE Losers = Gran Parma |
Translate the following into a SQL query | how many match points rotherham lose | SELECT Match points FROM table WHERE Losers = Rotherham |
Translate the following into a SQL query | When brive is the proceed to quarter final how many were eliminated from competition? | SELECT COUNT Eliminated from competition FROM table WHERE Proceed to Quarter-final = Brive |
Translate the following into a SQL query | When london irish was eliminated from competition who proceeded to quarter final? | SELECT Proceed to Quarter-final FROM table WHERE Eliminated from competition = London Irish |
Translate the following into a SQL query | When brive proceeded to quarter final what were the match points? | SELECT Match points FROM table WHERE Proceed to Quarter-final = Brive |
Translate the following into a SQL query | When london irish was eliminated from competition who proceeded to quarter final? | SELECT Proceed to Quarter-final FROM table WHERE Eliminated from competition = London Irish |
Translate the following into a SQL query | What is the production code of the episode written by Jeff Filgo? | SELECT MAX Production code FROM table WHERE Written by = Jeff Filgo |
Translate the following into a SQL query | Who wrote the episode titled "Red's Birthday"? | SELECT Written by FROM table WHERE Title = "Red's Birthday" |
Translate the following into a SQL query | What is the production code of the episode titled "Halloween"? | SELECT MIN Production code FROM table WHERE Title = "Halloween" |
Translate the following into a SQL query | Name the original air date for bryan moore & chris peterson | SELECT Original air date FROM table WHERE Written by = Bryan Moore & Chris Peterson |
Translate the following into a SQL query | Name the least production code for bryan moore & chris peterson | SELECT MIN Production code FROM table WHERE Written by = Bryan Moore & Chris Peterson |
Translate the following into a SQL query | Name who directed the episode "babe i'm gonna leave you" | SELECT Directed by FROM table WHERE Title = "Babe I'm Gonna Leave You" |
Translate the following into a SQL query | Name the total number in season for "the battle of evermore" | SELECT COUNT No. in season FROM table WHERE Title = "The Battle of Evermore" |
Translate the following into a SQL query | How many dates did the episode with a production code of 804 originally air on? | SELECT COUNT Original air date FROM table WHERE Production code = 804 |
Translate the following into a SQL query | What is the original air date for "killer queen"? | SELECT Original air date FROM table WHERE Title = "Killer Queen" |
Translate the following into a SQL query | Who directed episode 2 of the season? | SELECT Directed by FROM table WHERE No. in season = 2 |
Translate the following into a SQL query | Who wrote "bohemian rhapsody"? | SELECT Written by FROM table WHERE Title = "Bohemian Rhapsody" |
Translate the following into a SQL query | What dat did episode 195 in the series originally air? | SELECT Original air date FROM table WHERE No. in series = 195 |
Translate the following into a SQL query | What is the name of episode 5 in the season? | SELECT Title FROM table WHERE No. in season = 5 |
Translate the following into a SQL query | Who wrote "it's only rock and roll"? | SELECT Written by FROM table WHERE Title = "It's Only Rock and Roll" |
Translate the following into a SQL query | What is the title of episode 155 in the series? | SELECT Title FROM table WHERE No. in series = 155 |
Translate the following into a SQL query | What is the last year a sponsorship ended? | SELECT MAX Sponsorship Ended FROM table |
Translate the following into a SQL query | How many countries played in the city of ljungskile? | SELECT COUNT Country FROM table WHERE City = Ljungskile |
Translate the following into a SQL query | What cities are in sweden on this list? | SELECT City FROM table WHERE Country = Sweden |
Translate the following into a SQL query | What country is new orleans in? | SELECT Country FROM table WHERE City = New Orleans |
Translate the following into a SQL query | What country are the new orleans shell shockers from? | SELECT Country FROM table WHERE Sponsored name = New Orleans Shell Shockers |
Translate the following into a SQL query | What is the arrangement for bets3ab 3alia nafsy? | SELECT Arrangement FROM table WHERE Title = Bets3ab 3alia Nafsy |
Translate the following into a SQL query | Who was the composer of ain shams? | SELECT Composer FROM table WHERE Title = Ain Shams |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.