messages
stringlengths 104
584
|
---|
<s>[INST] Translate the following into a SQL query:
Which province has a gdp of 38355€ million euros?
SQL:[/INST]SELECT Province FROM table WHERE GDP (2003, PPS in mil. € ) = 38355</s> |
<s>[INST] Translate the following into a SQL query:
What is the population estimate for the place that gad a 18496€ million euro gdp?
SQL:[/INST]SELECT Population (2004 estimate) FROM table WHERE GDP (2003, PPS in mil. € ) = 18496</s> |
<s>[INST] Translate the following into a SQL query:
What is the title when original air date is may15,2008?
SQL:[/INST]SELECT Title FROM table WHERE Original air date = May15,2008</s> |
<s>[INST] Translate the following into a SQL query:
What is the highest no. in season?
SQL:[/INST]SELECT MAX No. in season FROM table</s> |
<s>[INST] Translate the following into a SQL query:
Who directed the episode where u.s. viewers (million) is 12.90?
SQL:[/INST]SELECT Directed by FROM table WHERE U.S. viewers (million) = 12.90</s> |
<s>[INST] Translate the following into a SQL query:
How many episodes aired in Region 2 beginning May 26, 2008?
SQL:[/INST]SELECT MIN # of Ep FROM table WHERE Region 2 = May 26, 2008</s> |
<s>[INST] Translate the following into a SQL query:
What date did the DVD for season six come out in region 2?
SQL:[/INST]SELECT Region 2 FROM table WHERE DVD Name = Season Six</s> |
<s>[INST] Translate the following into a SQL query:
What is the least amount of season epidsodes?
SQL:[/INST]SELECT MIN # of Ep FROM table</s> |
<s>[INST] Translate the following into a SQL query:
What DVD season/name for region 2 was released August 22, 2010?
SQL:[/INST]SELECT DVD Name FROM table WHERE Region 2 = August 22, 2010</s> |
<s>[INST] Translate the following into a SQL query:
How many points for 2005?
SQL:[/INST]SELECT COUNT Points FROM table WHERE Season = 2005</s> |
<s>[INST] Translate the following into a SQL query:
what is the score for the dams?
SQL:[/INST]SELECT Points FROM table WHERE Team Name = DAMS</s> |
<s>[INST] Translate the following into a SQL query:
how many positions in 2009?
SQL:[/INST]SELECT COUNT Position FROM table WHERE Season = 2009</s> |
<s>[INST] Translate the following into a SQL query:
what is the least number of poles?
SQL:[/INST]SELECT MIN Poles FROM table</s> |
<s>[INST] Translate the following into a SQL query:
Which series with 62 points?
SQL:[/INST]SELECT Series FROM table WHERE Points = 62</s> |
<s>[INST] Translate the following into a SQL query:
What is the total for 10th position?
SQL:[/INST]SELECT COUNT Points FROM table WHERE Position = 10th</s> |
<s>[INST] Translate the following into a SQL query:
how many reports of races took place on october 16?
SQL:[/INST]SELECT COUNT Report FROM table WHERE Date = October 16</s> |
<s>[INST] Translate the following into a SQL query:
what is the name of the report that lists the race name as long beach grand prix?
SQL:[/INST]SELECT Report FROM table WHERE Race Name = Long Beach Grand Prix</s> |
<s>[INST] Translate the following into a SQL query:
what is the report called where the circuit took place at the nazareth speedway?
SQL:[/INST]SELECT Report FROM table WHERE Circuit = Nazareth Speedway</s> |
<s>[INST] Translate the following into a SQL query:
what is the name of the race where newman/haas racing is the winning team and rick mears is at the pole position?
SQL:[/INST]SELECT Race Name FROM table WHERE Winning team = Newman/Haas Racing AND Pole position = Rick Mears</s> |
<s>[INST] Translate the following into a SQL query:
meadowlands sports complex is the circuit at which city/location?
SQL:[/INST]SELECT City/Location FROM table WHERE Circuit = Meadowlands Sports Complex</s> |
<s>[INST] Translate the following into a SQL query:
What is the literacy rate for groups that grew 103.1% between 1991 and 2001?
SQL:[/INST]SELECT Literacy (%) FROM table WHERE Growth (1991–2001) = 103.1%</s> |
<s>[INST] Translate the following into a SQL query:
What is the lowest sex ratio in rural areas?
SQL:[/INST]SELECT MIN Sex ratio (rural) FROM table</s> |
<s>[INST] Translate the following into a SQL query:
What is the lowest child sex ratio in groups where employment is 31.3%?
SQL:[/INST]SELECT MIN Sex ratio (child) FROM table WHERE Work participation (%) = 31.3%</s> |
<s>[INST] Translate the following into a SQL query:
What is the population percentage of the group where the rural sex ratio is 953?
SQL:[/INST]SELECT Population % FROM table WHERE Sex ratio (rural) = 953</s> |
<s>[INST] Translate the following into a SQL query:
What is the original air date for the title "felonious monk"?
SQL:[/INST]SELECT Original air date FROM table WHERE Title = "Felonious Monk"</s> |
<s>[INST] Translate the following into a SQL query:
What is the title of the episode directed by Peter Markle and written by Jerry Stahl?
SQL:[/INST]SELECT Title FROM table WHERE Directed by = Peter Markle AND Written by = Jerry Stahl</s> |
<s>[INST] Translate the following into a SQL query:
How many episodes were titled "identity crisis"?
SQL:[/INST]SELECT COUNT Directed by FROM table WHERE Title = "Identity Crisis"</s> |
<s>[INST] Translate the following into a SQL query:
Who does the lap-by-lap in 2011?
SQL:[/INST]SELECT Lap-by-lap FROM table WHERE Year = 2011</s> |
<s>[INST] Translate the following into a SQL query:
Which network has Marty Reid as host and lap-by-lap broadcaster?
SQL:[/INST]SELECT Network FROM table WHERE Lap-by-lap = Marty Reid AND Host = Marty Reid</s> |
<s>[INST] Translate the following into a SQL query:
How many pre-race analysis occur when Allen Bestwick does the lap-by-lap?
SQL:[/INST]SELECT COUNT Pre-race analyst FROM table WHERE Lap-by-lap = Allen Bestwick</s> |
<s>[INST] Translate the following into a SQL query:
What's the highest season number of an episode in the series?
SQL:[/INST]SELECT MAX No. in season FROM table</s> |
<s>[INST] Translate the following into a SQL query:
When did the episode titled "Lucky Strike" air for the first time?
SQL:[/INST]SELECT Original air date FROM table WHERE Title = "Lucky Strike"</s> |
<s>[INST] Translate the following into a SQL query:
Who was the writer of the episode titled "One Hit Wonder"?
SQL:[/INST]SELECT Written by FROM table WHERE Title = "One Hit Wonder"</s> |
<s>[INST] Translate the following into a SQL query:
What's the date of the first airing of the episode with series number 63?
SQL:[/INST]SELECT Original air date FROM table WHERE No. in series = 63</s> |
<s>[INST] Translate the following into a SQL query:
How many titles got a viewership of 26.53 million?
SQL:[/INST]SELECT COUNT Title FROM table WHERE U.S. viewers (millions) = 26.53</s> |
<s>[INST] Translate the following into a SQL query:
How many viewers tuned into the show directed by Matt Earl Beesley?
SQL:[/INST]SELECT U.S. viewers (millions) FROM table WHERE Directed by = Matt Earl Beesley</s> |
<s>[INST] Translate the following into a SQL query:
Who wrote episode 94?
SQL:[/INST]SELECT Written by FROM table WHERE No. in series = 94</s> |
<s>[INST] Translate the following into a SQL query:
Which episode was the number in the season where the number in the season is 10?
SQL:[/INST]SELECT No. in series FROM table WHERE No. in season = 10</s> |
<s>[INST] Translate the following into a SQL query:
How many episodes were in the season that had the epiosde of "crow's feet"?
SQL:[/INST]SELECT No. in season FROM table WHERE Title = "Crow's Feet"</s> |
<s>[INST] Translate the following into a SQL query:
When did the 113 episode air?
SQL:[/INST]SELECT Original air date FROM table WHERE No. in series = 113</s> |
<s>[INST] Translate the following into a SQL query:
How many titles were there for the 113 episode?
SQL:[/INST]SELECT COUNT Title FROM table WHERE No. in series = 113</s> |
<s>[INST] Translate the following into a SQL query:
What is the number in the season that Marlene Meyer wrote and 20.49 million people watched?
SQL:[/INST]SELECT MAX No. in season FROM table WHERE Written by = Marlene Meyer AND U.S. viewers (millions) = 20.49</s> |
<s>[INST] Translate the following into a SQL query:
When did the no. 23 show originally air?
SQL:[/INST]SELECT Original air date FROM table WHERE No. in season = 23</s> |
<s>[INST] Translate the following into a SQL query:
Which circuits had a race on October 4?
SQL:[/INST]SELECT Circuit FROM table WHERE Date = October 4</s> |
<s>[INST] Translate the following into a SQL query:
In which reports does Michael Andretti have the pole position and Galles-Kraco Racing is the winning team?
SQL:[/INST]SELECT Report FROM table WHERE Pole position = Michael Andretti AND Winning team = Galles-Kraco Racing</s> |
<s>[INST] Translate the following into a SQL query:
How many rounds were there of the Bosch Spark Plug Grand Prix?
SQL:[/INST]SELECT COUNT Rnd FROM table WHERE Race Name = Bosch Spark Plug Grand Prix</s> |
<s>[INST] Translate the following into a SQL query:
Which rounds were held on August 9?
SQL:[/INST]SELECT Rnd FROM table WHERE Date = August 9</s> |
<s>[INST] Translate the following into a SQL query:
On how many dates did the Michigan International Speedway hold a round?
SQL:[/INST]SELECT COUNT Date FROM table WHERE Circuit = Michigan International Speedway</s> |
<s>[INST] Translate the following into a SQL query:
Name the total number of bids of the sun belt conference
SQL:[/INST]SELECT COUNT # of Bids FROM table WHERE Conference = Sun Belt</s> |
<s>[INST] Translate the following into a SQL query:
Name the round of 32 in conference usa
SQL:[/INST]SELECT Round of 32 FROM table WHERE Conference = Conference USA</s> |
<s>[INST] Translate the following into a SQL query:
What is the record when round of 32 is 0 and metro atlantic conference?
SQL:[/INST]SELECT Record FROM table WHERE Round of 32 = 0 AND Conference = Metro Atlantic</s> |
<s>[INST] Translate the following into a SQL query:
What is the number of bids with elite eight larger than 1.0
SQL:[/INST]SELECT COUNT # of Bids FROM table WHERE Elite Eight > 1.0</s> |
<s>[INST] Translate the following into a SQL query:
Who directed the episode with production code 7aff03?
SQL:[/INST]SELECT Directed by FROM table WHERE Production code = 7AFF03</s> |
<s>[INST] Translate the following into a SQL query:
What is the title of the episode wtih 10.34 million U.S viewers?
SQL:[/INST]SELECT Title FROM table WHERE U.S. viewers (millions) = 10.34</s> |
<s>[INST] Translate the following into a SQL query:
What place is the team that completed 6 races?
SQL:[/INST]SELECT Position FROM table WHERE Races = 6</s> |
<s>[INST] Translate the following into a SQL query:
how much did the british formula three called "fortec motorsport" score?
SQL:[/INST]SELECT Points FROM table WHERE Series = British Formula Three AND Team Name = Fortec Motorsport</s> |
<s>[INST] Translate the following into a SQL query:
how many races were in 2009 with 0 wins?
SQL:[/INST]SELECT Races FROM table WHERE Season = 2009 AND Wins = 0</s> |
<s>[INST] Translate the following into a SQL query:
What years did art grand prix compete?
SQL:[/INST]SELECT Season FROM table WHERE Team Name = ART Grand Prix</s> |
<s>[INST] Translate the following into a SQL query:
What year had a score of 9?
SQL:[/INST]SELECT Season FROM table WHERE Points = 9</s> |
<s>[INST] Translate the following into a SQL query:
what is the greatest number of wins by japanese formula three?
SQL:[/INST]SELECT MAX Wins FROM table WHERE Series = Japanese Formula Three</s> |
<s>[INST] Translate the following into a SQL query:
Who took test #4?
SQL:[/INST]SELECT Test-taker FROM table WHERE # = 4</s> |
<s>[INST] Translate the following into a SQL query:
What episode aired on 18 April 2007?
SQL:[/INST]SELECT MIN # FROM table WHERE Air Date = 18 April 2007</s> |
<s>[INST] Translate the following into a SQL query:
Who had the challenge of night driving?
SQL:[/INST]SELECT Test-taker FROM table WHERE Challenge = Night Driving</s> |
<s>[INST] Translate the following into a SQL query:
How many directors were there for the film Course Completed?
SQL:[/INST]SELECT COUNT Director FROM table WHERE Film title used in nomination = Course Completed</s> |
<s>[INST] Translate the following into a SQL query:
Who directed El Nido?
SQL:[/INST]SELECT Director FROM table WHERE Original title = El nido</s> |
<s>[INST] Translate the following into a SQL query:
Who directed Dulcinea?
SQL:[/INST]SELECT Director FROM table WHERE Original title = Dulcinea</s> |
<s>[INST] Translate the following into a SQL query:
What are the slovenian names of the villages that had 65.9% of slovenes in 1951?
SQL:[/INST]SELECT Village (Slovenian) FROM table WHERE Percent of Slovenes 1951 = 65.9%</s> |
<s>[INST] Translate the following into a SQL query:
What are the slovenian names of the villages that had 16.7% of slovenes in 1991?
SQL:[/INST]SELECT Village (Slovenian) FROM table WHERE Percent of Slovenes 1991 = 16.7%</s> |
<s>[INST] Translate the following into a SQL query:
How many villages had 21.7% of slovenes in 1991?
SQL:[/INST]SELECT COUNT Village (German) FROM table WHERE Percent of Slovenes 1991 = 21.7%</s> |
<s>[INST] Translate the following into a SQL query:
what percent of slovenes did the village called čahorče in slovenian have in 1991?
SQL:[/INST]SELECT Percent of Slovenes 1991 FROM table WHERE Village (Slovenian) = Čahorče</s> |
<s>[INST] Translate the following into a SQL query:
What is the slovenian name for the village that in german is known as st.margarethen?
SQL:[/INST]SELECT Village (Slovenian) FROM table WHERE Village (German) = St.Margarethen</s> |
<s>[INST] Translate the following into a SQL query:
For games on December 20, how many points did the scoring leaders get?
SQL:[/INST]SELECT High points FROM table WHERE Date = December 20</s> |
<s>[INST] Translate the following into a SQL query:
Who was the scoring leader and how many points did he get in games on December 23?
SQL:[/INST]SELECT High points FROM table WHERE Date = December 23</s> |
<s>[INST] Translate the following into a SQL query:
What is the pick # for the position de?
SQL:[/INST]SELECT Pick # FROM table WHERE Position = DE</s> |
<s>[INST] Translate the following into a SQL query:
Which player went to college at Saint Mary's?
SQL:[/INST]SELECT Player FROM table WHERE College = Saint Mary's</s> |
<s>[INST] Translate the following into a SQL query:
What is the position for the player with cfl team Winnipeg blue bombers?
SQL:[/INST]SELECT Position FROM table WHERE CFL Team = Winnipeg Blue Bombers</s> |
<s>[INST] Translate the following into a SQL query:
Which player went to college at Laval?
SQL:[/INST]SELECT Player FROM table WHERE College = Laval</s> |
<s>[INST] Translate the following into a SQL query:
What was the college for the player with the cfl team of Edmonton Eskimos (via calgary)?
SQL:[/INST]SELECT College FROM table WHERE CFL Team = Edmonton Eskimos (via Calgary)</s> |
<s>[INST] Translate the following into a SQL query:
What's the team of the player from St. Francis Xavier College?
SQL:[/INST]SELECT CFL Team FROM table WHERE College = St. Francis Xavier</s> |
<s>[INST] Translate the following into a SQL query:
What player is on the Montreal Alouettes CFl team?
SQL:[/INST]SELECT Player FROM table WHERE CFL Team = Montreal Alouettes</s> |
<s>[INST] Translate the following into a SQL query:
What's the pick number of the player from Toronto Argonauts?
SQL:[/INST]SELECT MIN Pick # FROM table WHERE CFL Team = Toronto Argonauts</s> |
<s>[INST] Translate the following into a SQL query:
What's the pick number of the player whose position is CB?
SQL:[/INST]SELECT Pick # FROM table WHERE Position = CB</s> |
<s>[INST] Translate the following into a SQL query:
What's the pick number of the player from New Mexico?
SQL:[/INST]SELECT MAX Pick # FROM table WHERE College = New Mexico</s> |
<s>[INST] Translate the following into a SQL query:
What player went to Ohio State College?
SQL:[/INST]SELECT Player FROM table WHERE College = Ohio State</s> |
<s>[INST] Translate the following into a SQL query:
What is the minimum introduced value for the Departmental region?
SQL:[/INST]SELECT MIN Introduced FROM table WHERE Region = Departmental</s> |
<s>[INST] Translate the following into a SQL query:
What is the smallest introduced value?
SQL:[/INST]SELECT MIN Introduced FROM table</s> |
<s>[INST] Translate the following into a SQL query:
Which CFL Teams drafted an OL in 2006?
SQL:[/INST]SELECT CFL Team FROM table WHERE Position = OL</s> |
<s>[INST] Translate the following into a SQL query:
Which college is aligned to the Saskatchewan Roughriders?
SQL:[/INST]SELECT College FROM table WHERE CFL Team = Saskatchewan Roughriders</s> |
<s>[INST] Translate the following into a SQL query:
What Position did the Hamilton Tiger-Cats (via Ottawa) pick in the 2006 Draft.
SQL:[/INST]SELECT Position FROM table WHERE CFL Team = Hamilton Tiger-Cats (via Ottawa)</s> |
<s>[INST] Translate the following into a SQL query:
What is the earliest pick listed in the table.
SQL:[/INST]SELECT MIN Pick # FROM table</s> |
<s>[INST] Translate the following into a SQL query:
What episode number had production code e4423?
SQL:[/INST]SELECT MAX No. in season FROM table WHERE Production code = E4423</s> |
<s>[INST] Translate the following into a SQL query:
What's the latest episode in a season where the U.S. viewers totaled 14.37 million?
SQL:[/INST]SELECT MAX No. in season FROM table WHERE U.S. viewers (millions) = 14.37</s> |
<s>[INST] Translate the following into a SQL query:
Who directed the episode "Escape"?
SQL:[/INST]SELECT Directed by FROM table WHERE Title = "Escape"</s> |
<s>[INST] Translate the following into a SQL query:
How many seasons is the season finale on May 26, 2010?
SQL:[/INST]SELECT COUNT Season FROM table WHERE Season finale = May 26, 2010</s> |
<s>[INST] Translate the following into a SQL query:
What episodes are there where the season premier is September 23, 2009?
SQL:[/INST]SELECT Episodes FROM table WHERE Season premiere = September 23, 2009</s> |
<s>[INST] Translate the following into a SQL query:
What is the season finale for season 4?
SQL:[/INST]SELECT Season finale FROM table WHERE Season = 4</s> |
<s>[INST] Translate the following into a SQL query:
How many season premiers have a rank of #21?
SQL:[/INST]SELECT Season premiere FROM table WHERE Rank = #21</s> |
<s>[INST] Translate the following into a SQL query:
What are the seasons where September 26, 2007 is the season premier?
SQL:[/INST]SELECT TV season FROM table WHERE Season premiere = September 26, 2007</s> |
<s>[INST] Translate the following into a SQL query:
What max processor has a maximum memory of 256 gb?
SQL:[/INST]SELECT Max processors FROM table WHERE Max memory = 256 GB</s> |
<s>[INST] Translate the following into a SQL query:
What is the max memory of the t5120 model?
SQL:[/INST]SELECT Max memory FROM table WHERE Model = T5120</s> |