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