instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | Who played in the 1990 Broadway after Tom Halloran played the character in the 1955 Broadcast? | SELECT 1990 Broadway FROM table WHERE 1955 broadcast = Tom Halloran |
Translate the following into a SQL query | What character did Drake English play in the 1998 Broadway? | SELECT Character FROM table WHERE 1998 Broadway = Drake English |
Translate the following into a SQL query | What date was BBC One total viewing greater then 11616996.338225884? | SELECT Broadcast date FROM table WHERE BBC One total viewing > 11616996.338225884 |
Translate the following into a SQL query | How many years did BBC One rank 20th? | SELECT COUNT Year FROM table WHERE BBC One Rank = 20th |
Translate the following into a SQL query | What year was the BBC two total viewing 7,530,000? | SELECT MIN Year FROM table WHERE BBC Two total viewing = 7,530,000 |
Translate the following into a SQL query | how many ↓ function / genus → with escherichia being espd | SELECT COUNT ↓ Function / Genus → FROM table WHERE Escherichia = EspD |
Translate the following into a SQL query | what's the salmonella with escherichia being espd | SELECT Salmonella FROM table WHERE Escherichia = EspD |
Translate the following into a SQL query | what's the ↓ function / genus → with shigella being spa32 | SELECT ↓ Function / Genus → FROM table WHERE Shigella = Spa32 |
Translate the following into a SQL query | what's the salmonella with shigella being ipgc | SELECT Salmonella FROM table WHERE Shigella = IpgC |
Translate the following into a SQL query | what's the salmonella with escherichia being sepb (escn) | SELECT Salmonella FROM table WHERE Escherichia = SepB (EscN) |
Translate the following into a SQL query | what's the shigella with yersinia being yscp | SELECT Shigella FROM table WHERE Yersinia = YscP |
Translate the following into a SQL query | How many original titles did Marriage Italian-Style have? | SELECT COUNT Original title FROM table WHERE Film title used in nomination = Marriage Italian-Style |
Translate the following into a SQL query | What year was a movie with the original title La Leggenda del Santo Bevitore submitted? | SELECT Year (Ceremony) FROM table WHERE Original title = La leggenda del santo bevitore |
Translate the following into a SQL query | what's the camp with estimated deaths of 600,000 | SELECT Camp FROM table WHERE Estimated deaths = 600,000 |
Translate the following into a SQL query | what's the operational period with camp sajmište | SELECT Operational FROM table WHERE Camp = Sajmište |
Translate the following into a SQL query | what's the estimated deaths with operational period of 17 march 1942 – end of june 1943 | SELECT Estimated deaths FROM table WHERE Operational = 17 March 1942 – end of June 1943 |
Translate the following into a SQL query | what's the current country of location with operational period of summer of 1941 to 28 june 1944 | SELECT Current country of location FROM table WHERE Operational = Summer of 1941 to 28 June 1944 |
Translate the following into a SQL query | what's the occupied territory with estimated deaths of 600,000 | SELECT Occupied territory FROM table WHERE Estimated deaths = 600,000 |
Translate the following into a SQL query | what's the occupied territory with operational period of may 1940 – january 1945 | SELECT Occupied territory FROM table WHERE Operational = May 1940 – January 1945 |
Translate the following into a SQL query | Which overall pick was traded to the Cleveland Browns? | SELECT Overall FROM table WHERE College = Traded to the Cleveland Browns |
Translate the following into a SQL query | Overall pick 240 was a pick in which round? | SELECT Round FROM table WHERE Overall = 240 |
Translate the following into a SQL query | Which overall pick number went to college at Youngstown State? | SELECT MIN Overall FROM table WHERE College = Youngstown State |
Translate the following into a SQL query | What position is played by pick 255 overall? | SELECT Position FROM table WHERE Overall = 255 |
Translate the following into a SQL query | Which player was chosen in round 17? | SELECT Player name FROM table WHERE Round = 17 |
Translate the following into a SQL query | The record of 7-3 had the largest attendance of what? | SELECT MAX Attendance FROM table WHERE Record = 7-3 |
Translate the following into a SQL query | The record of 9-4 was against which opponent? | SELECT Opponent FROM table WHERE Record = 9-4 |
Translate the following into a SQL query | The game number of 8 had a record of what? | SELECT Record FROM table WHERE Game = 8 |
Translate the following into a SQL query | What round was Steve Stonebreaker drafted? | SELECT MAX Round FROM table WHERE Player name = Steve Stonebreaker |
Translate the following into a SQL query | Who was the top picki n the draft? | SELECT MIN Choice FROM table |
Translate the following into a SQL query | What round was Bill Hill drafted? | SELECT Choice FROM table WHERE Player name = Bill Hill |
Translate the following into a SQL query | What was the name of the quarterback drafted? | SELECT Player name FROM table WHERE Position = Quarterback |
Translate the following into a SQL query | Where is the college where Keith Hartwig plays? | SELECT College FROM table WHERE Player name = Keith Hartwig |
Translate the following into a SQL query | What is the name of the linebacker at Illinois college? | SELECT Player name FROM table WHERE Position = Linebacker AND College = Illinois |
Translate the following into a SQL query | What is the greatest round of overall 83? | SELECT MAX Round FROM table WHERE Overall = 83 |
Translate the following into a SQL query | Which round did Tommy Kramer play in> | SELECT Round FROM table WHERE Player name = Tommy Kramer |
Translate the following into a SQL query | What is Rice's collage score? | SELECT Overall FROM table WHERE College = Rice |
Translate the following into a SQL query | Where does the defensive back position appear first? | SELECT MIN Round FROM table WHERE Position = Defensive Back |
Translate the following into a SQL query | What is Bruce Cerone overall? | SELECT MIN Overall FROM table WHERE Player name = Bruce Cerone |
Translate the following into a SQL query | Which player went to Emporia State? | SELECT Player name FROM table WHERE College = Emporia State |
Translate the following into a SQL query | What is the highest choice? | SELECT MAX Choice FROM table |
Translate the following into a SQL query | What college did Bill Cappleman go to? | SELECT College FROM table WHERE Player name = Bill Cappleman |
Translate the following into a SQL query | For the headstamp id of h2, what was the color of the bullet tip? | SELECT Bullet Tip Color FROM table WHERE Headstamp ID = H2 |
Translate the following into a SQL query | For the functional type of light ball, what were the other features? | SELECT Other Features FROM table WHERE Functional Type = Light Ball |
Translate the following into a SQL query | How many primers annulus colors were there when the color of the bullet tip was white? | SELECT COUNT Primer Annulus Color FROM table WHERE Bullet Tip Color = White |
Translate the following into a SQL query | How many bullet tips colors had other features of a blue band on case base? | SELECT COUNT Bullet Tip Color FROM table WHERE Other Features = Blue band on case base |
Translate the following into a SQL query | How many touchdowns were scored in the year with a completion percentage of 56.0? | SELECT MIN Touchdowns FROM table WHERE Completion % = 56.0 |
Translate the following into a SQL query | What number of completions are recorded for the year with 12 games started? | SELECT Completions FROM table WHERE Games started = 12 |
Translate the following into a SQL query | How many years were there with 348 attempts? | SELECT COUNT Yards FROM table WHERE Attempts = 348 |
Translate the following into a SQL query | How many characters is by Babs Rubenstein? | SELECT COUNT London FROM table WHERE US Tour = Babs Rubenstein |
Translate the following into a SQL query | Which person is in the tronto/broadway and has a uk tour of n/a | SELECT Toronto / Broadway FROM table WHERE UK Tour = n/a |
Translate the following into a SQL query | How many people play Frank in London? | SELECT COUNT London FROM table WHERE Character = Frank |
Translate the following into a SQL query | Who was Class AAA during the school year of 2000-01? | SELECT Class AAA FROM table WHERE School Year = 2000-01 |
Translate the following into a SQL query | Who was Class AAA during the same year that Class A was (tie) Apple Springs/Texline? | SELECT Class AAA FROM table WHERE Class A = (tie) Apple Springs/Texline |
Translate the following into a SQL query | Who was Class AAAAA during the school year of 1995-96? | SELECT Class AAAAA FROM table WHERE School Year = 1995-96 |
Translate the following into a SQL query | Who was Class AAA during the same year that Class AAAAA was Brownsville Pace? | SELECT Class AAA FROM table WHERE Class AAAAA = Brownsville Pace |
Translate the following into a SQL query | What was the total number of Class AAA during the same year that Class AAA was White Oak? | SELECT COUNT Class AA FROM table WHERE Class AAA = White Oak |
Translate the following into a SQL query | How many records are listed on Friday, May 25? | SELECT COUNT Team record FROM table WHERE Date = Friday, May 25 |
Translate the following into a SQL query | How many opponents were played on Saturday, June 9? | SELECT COUNT Opponent FROM table WHERE Date = Saturday, June 9 |
Translate the following into a SQL query | In what week was the first game played at the Commerzbank-Arena? | SELECT MIN Week FROM table WHERE Game site = Commerzbank-Arena |
Translate the following into a SQL query | What was the original air date of an episode set in 1544? | SELECT Original air date FROM table WHERE Setting = 1544 |
Translate the following into a SQL query | How many settings where there for episode 29 of the season? | SELECT COUNT Setting FROM table WHERE No. in series = 29 |
Translate the following into a SQL query | Who wrote the episode that was set in winter 1541/february 13, 1542? | SELECT Written by FROM table WHERE Setting = Winter 1541/February 13, 1542 |
Translate the following into a SQL query | What episode number of the season was "The Northern Uprising"? | SELECT No. in season FROM table WHERE Title = "The Northern Uprising" |
Translate the following into a SQL query | What is the name of the track that lasts 5:30? | SELECT Track title FROM table WHERE Duration = 5:30 |
Translate the following into a SQL query | What is the album namethat has the track title Sweetness 甜甜的 (tián tián de)? | SELECT Album name FROM table WHERE Track title = Sweetness 甜甜的 (Tián tián de) |
Translate the following into a SQL query | What is the duration of the song where the major instrument is the piano and the date is 2004-02-03? | SELECT Duration FROM table WHERE Major instrument(s) = Piano AND Date = 2004-02-03 |
Translate the following into a SQL query | What is the total number of lyricist where the lyrics theme is romance and the song lasts 3:50? | SELECT COUNT Lyricist FROM table WHERE Lyrics theme/style = Romance AND Duration = 3:50 |
Translate the following into a SQL query | What is the major instrument of the song that lasts 4:32? | SELECT Major instrument(s) FROM table WHERE Duration = 4:32 |
Translate the following into a SQL query | What is the total number of music genre/style in which the lyrics are a detective story? | SELECT COUNT Music genre/style FROM table WHERE Lyrics theme/style = Detective story |
Translate the following into a SQL query | What is the playoffs for the usl pro select league? | SELECT Playoffs FROM table WHERE League = USL Pro Select League |
Translate the following into a SQL query | What is the number of the division for the 1st round? | SELECT COUNT Division FROM table WHERE Open Cup = 1st Round |
Translate the following into a SQL query | What was the team where series is formula renault 2.0 nec? | SELECT Team FROM table WHERE Series = Formula Renault 2.0 NEC |
Translate the following into a SQL query | What is the total number of poles for arden international? | SELECT COUNT Poles FROM table WHERE Team = Arden International |
Translate the following into a SQL query | What is the number of wins for gp2 series for racing engineering? | SELECT COUNT Wins FROM table WHERE Series = GP2 Series AND Team = Racing Engineering |
Translate the following into a SQL query | What is the number of podiums for season 2010 for campionato italiano superstars. | SELECT COUNT Podiums FROM table WHERE Season = 2010 AND Series = Campionato Italiano Superstars |
Translate the following into a SQL query | What is the podium for 144 points? | SELECT Podiums FROM table WHERE Points = 144 |
Translate the following into a SQL query | How many writers had an US air date of september 25, 1993? | SELECT COUNT Writer FROM table WHERE US air date = September 25, 1993 |
Translate the following into a SQL query | How many villians were in No. 25? | SELECT COUNT Villains FROM table WHERE No. = 25 |
Translate the following into a SQL query | what being the maximum year where regular season is 4th, northwest | SELECT MAX Year FROM table WHERE Regular Season = 4th, Northwest |
Translate the following into a SQL query | what is the total number of playoffs where regular season is 6th, southwest | SELECT COUNT Playoffs FROM table WHERE Regular Season = 6th, Southwest |
Translate the following into a SQL query | what is the maximum division | SELECT MAX Division FROM table |
Translate the following into a SQL query | what's the league where regular season is 2nd, northwest | SELECT League FROM table WHERE Regular Season = 2nd, Northwest |
Translate the following into a SQL query | what are all the regular season where year is 2011 | SELECT Regular Season FROM table WHERE Year = 2011 |
Translate the following into a SQL query | How many titles have the number 11 | SELECT COUNT Title FROM table WHERE # = 11 |
Translate the following into a SQL query | How many have Mrs. briar as a villain | SELECT COUNT No. FROM table WHERE Villains = Mrs. Briar |
Translate the following into a SQL query | how many have the number 8 | SELECT COUNT No. FROM table WHERE # = 8 |
Translate the following into a SQL query | How many have the title "the tale of the room for rent" | SELECT COUNT # FROM table WHERE Title = "The Tale of the Room for Rent" |
Translate the following into a SQL query | What is the name of the episode told by Kiki and directed by Will Dixon? | SELECT Title FROM table WHERE Storyteller = Kiki AND Director = Will Dixon |
Translate the following into a SQL query | Who is the storyteller in the episode called "The Tale of the Jagged Sign"? | SELECT Storyteller FROM table WHERE Title = "The Tale of the Jagged Sign" |
Translate the following into a SQL query | Who wrote Episode #3? | SELECT Writer FROM table WHERE # = 3 |
Translate the following into a SQL query | Who are the villains in the episode titled "The Tale of the Forever Game"? | SELECT Villains FROM table WHERE Title = "The Tale of The Forever Game" |
Translate the following into a SQL query | How many villains appeared in the episode titled "The Tale of the Virtual Pets"? | SELECT COUNT Villains FROM table WHERE Title = "The Tale of The Virtual Pets" |
Translate the following into a SQL query | Who are the villains in the episodes where Megan is the storyteller and Lorette LeBlanc is the director? | SELECT Villains FROM table WHERE Storyteller = Megan AND Director = Lorette LeBlanc |
Translate the following into a SQL query | What is the largest # for an episode that was written by Allison Lea Bingeman? | SELECT MAX # FROM table WHERE Writer = Allison Lea Bingeman |
Translate the following into a SQL query | Name the species when petal width is 2.0 and petal length is 4.9 | SELECT Species FROM table WHERE Petal width = 2.0 AND Petal length = 4.9 |
Translate the following into a SQL query | Name the sepal width for i.virginica with petal length of 5.1 | SELECT Sepal width FROM table WHERE Species = I.virginica AND Petal length = 5.1 |
Translate the following into a SQL query | Name the number of species with sepal width of 3.4 and sepal length of 5.4 | SELECT COUNT Species FROM table WHERE Sepal width = 3.4 AND Sepal length = 5.4 |
Translate the following into a SQL query | Name the sepal length for sepal width of 2.8 and petal length of 5.1 | SELECT Sepal length FROM table WHERE Sepal width = 2.8 AND Petal length = 5.1 |
Translate the following into a SQL query | Name the sepal width when sepal length is 6.5 and petal width is 2.2 | SELECT Sepal width FROM table WHERE Sepal length = 6.5 AND Petal width = 2.2 |
Translate the following into a SQL query | Name the sepal lengh when sepal width is 2.9 and petal width 1.3 | SELECT Sepal length FROM table WHERE Sepal width = 2.9 AND Petal width = 1.3 |