messages
stringlengths 104
584
|
---|
<s>[INST] Translate the following into a SQL query:
When did Final Score of 31-7 happen?
SQL:[/INST]SELECT Date FROM table WHERE Final Score = 31-7</s> |
<s>[INST] Translate the following into a SQL query:
What was the score of the Blue Jays game when their record was 75-68 and the attendance was larger than 33,736?
SQL:[/INST]SELECT Score FROM table WHERE Attendance > 33,736 AND Record = 75-68</s> |
<s>[INST] Translate the following into a SQL query:
Which Tournament in 2010 also has Grand Slam tournaments in 2011
SQL:[/INST]SELECT 2010 FROM table WHERE 2011 = grand slam tournaments</s> |
<s>[INST] Translate the following into a SQL query:
What was the average attendance when the New York Mets were opponents with a record of 51-33?
SQL:[/INST]SELECT AVG Attendance FROM table WHERE Opponent = new york mets AND Record = 51-33</s> |
<s>[INST] Translate the following into a SQL query:
What visiting team played on October 18?
SQL:[/INST]SELECT Visiting Team FROM table WHERE Date = october 18</s> |
<s>[INST] Translate the following into a SQL query:
What visiting team played at 3com park on October 7?
SQL:[/INST]SELECT Visiting Team FROM table WHERE Stadium = 3com park AND Date = october 7</s> |
<s>[INST] Translate the following into a SQL query:
Which host team won on a final scoreline of 13-10?
SQL:[/INST]SELECT Host Team FROM table WHERE Final Score = 13-10</s> |
<s>[INST] Translate the following into a SQL query:
In what stadium did a game result in a final scoreline reading 27-34?
SQL:[/INST]SELECT Stadium FROM table WHERE Final Score = 27-34</s> |
<s>[INST] Translate the following into a SQL query:
In the game in which the Jacksonville Jaguars were hosts, what was the name of the visiting team?
SQL:[/INST]SELECT Visiting Team FROM table WHERE Host Team = jacksonville jaguars</s> |
<s>[INST] Translate the following into a SQL query:
Which visiting team wound up with a final score of 18-40?
SQL:[/INST]SELECT Visiting Team FROM table WHERE Final Score = 18-40</s> |
<s>[INST] Translate the following into a SQL query:
Name the sum of attendacne for 16 weeks
SQL:[/INST]SELECT SUM Attendance FROM table WHERE Week = 16</s> |
<s>[INST] Translate the following into a SQL query:
Name the result for week less than 7 and game sites of los angeles memorial coliseum
SQL:[/INST]SELECT Result FROM table WHERE Week < 7 AND Game site = los angeles memorial coliseum</s> |
<s>[INST] Translate the following into a SQL query:
Name the result for week 7
SQL:[/INST]SELECT Result FROM table WHERE Week = 7</s> |
<s>[INST] Translate the following into a SQL query:
How many yards lost by the player with more gained than 51 and average/g of 3.6?
SQL:[/INST]SELECT COUNT Loss FROM table WHERE Avg/G = 3.6 AND Gain > 51</s> |
<s>[INST] Translate the following into a SQL query:
What are the gains for the player with average of 26.8 and lost yard fewer than 13?
SQL:[/INST]SELECT SUM Gain FROM table WHERE Avg/G = 26.8 AND Loss < 13</s> |
<s>[INST] Translate the following into a SQL query:
When did Mathieu play against Flavio Cipolla?
SQL:[/INST]SELECT Date FROM table WHERE Opponent in the Final = flavio cipolla</s> |
<s>[INST] Translate the following into a SQL query:
Which tournament had a final score of 6–3, 6–2?
SQL:[/INST]SELECT Tournament FROM table WHERE Score in the Final = 6–3, 6–2</s> |
<s>[INST] Translate the following into a SQL query:
On which surface did Mathieu play against Antonio Veić?
SQL:[/INST]SELECT Surface FROM table WHERE Opponent in the Final = antonio veić</s> |
<s>[INST] Translate the following into a SQL query:
When did Mathieu play against Antonio Veić?
SQL:[/INST]SELECT Date FROM table WHERE Opponent in the Final = antonio veić</s> |
<s>[INST] Translate the following into a SQL query:
When did Mathieu play against Andrey Golubev?
SQL:[/INST]SELECT Date FROM table WHERE Opponent in the Final = andrey golubev</s> |
<s>[INST] Translate the following into a SQL query:
What opened with a drop height of 272feet?
SQL:[/INST]SELECT Opened FROM table WHERE Drop height* = 272feet</s> |
<s>[INST] Translate the following into a SQL query:
What was the speed of 200feet Giant Drop attraction?
SQL:[/INST]SELECT Speed FROM table WHERE Model = giant drop AND Drop height* = 200feet</s> |
<s>[INST] Translate the following into a SQL query:
What park opened in 1999?
SQL:[/INST]SELECT Park FROM table WHERE Opened = 1999</s> |
<s>[INST] Translate the following into a SQL query:
Name the record for detroit and decision of denis
SQL:[/INST]SELECT Record FROM table WHERE Home = detroit AND Decision = denis</s> |
<s>[INST] Translate the following into a SQL query:
Name the average attendance with dallas visitor
SQL:[/INST]SELECT AVG Attendance FROM table WHERE Visitor = dallas</s> |
<s>[INST] Translate the following into a SQL query:
How close to par was Tom Kite when he played?
SQL:[/INST]SELECT To par FROM table WHERE Player = tom kite</s> |
<s>[INST] Translate the following into a SQL query:
Which of the countries showed a score of 71-72=143?
SQL:[/INST]SELECT Country FROM table WHERE Score = 71-72=143</s> |
<s>[INST] Translate the following into a SQL query:
Which country watch Tom Watson at t9 score 72-72=144?
SQL:[/INST]SELECT Country FROM table WHERE Place = t9 AND Score = 72-72=144 AND Player = tom watson</s> |
<s>[INST] Translate the following into a SQL query:
What was the final score when the player was an e to par?
SQL:[/INST]SELECT Score FROM table WHERE To par = e</s> |
<s>[INST] Translate the following into a SQL query:
What is the name of the team that has 307 attempts?
SQL:[/INST]SELECT Team FROM table WHERE Attempts = 307</s> |
<s>[INST] Translate the following into a SQL query:
What is the name of the team that has 1,317 attempts?
SQL:[/INST]SELECT Team FROM table WHERE Attempts = 1,317</s> |
<s>[INST] Translate the following into a SQL query:
What year was 2,242 yards achieved?
SQL:[/INST]SELECT Year FROM table WHERE Yards = 2,242</s> |
<s>[INST] Translate the following into a SQL query:
Which team has a 59.8% completion rate?
SQL:[/INST]SELECT Team FROM table WHERE Completion % = 59.8%</s> |
<s>[INST] Translate the following into a SQL query:
Which year has has a Engine of maserati straight-6?
SQL:[/INST]SELECT COUNT Year FROM table WHERE Engine = maserati straight-6</s> |
<s>[INST] Translate the following into a SQL query:
What is the Point of Chassis of Lancia d50 in 1954
SQL:[/INST]SELECT Points FROM table WHERE Chassis = lancia d50 AND Year = 1954</s> |
<s>[INST] Translate the following into a SQL query:
What is on at 8:00 before the 9:00 showing of Chuck?
SQL:[/INST]SELECT 8:00 FROM table WHERE 9:00 = chuck</s> |
<s>[INST] Translate the following into a SQL query:
What show comes on at 9:00 on the channel that shows the Insider at 7:00?
SQL:[/INST]SELECT 9:00 FROM table WHERE 7:00 = the insider</s> |
<s>[INST] Translate the following into a SQL query:
On the channel with The Biggest loser at 8:00, what's on at 7:30?
SQL:[/INST]SELECT 7:30 FROM table WHERE 8:00 = the biggest loser</s> |
<s>[INST] Translate the following into a SQL query:
What's on at 7:30 before the 9:00 showing of the Tudors?
SQL:[/INST]SELECT 7:30 FROM table WHERE 9:00 = the tudors</s> |
<s>[INST] Translate the following into a SQL query:
If Gossip Girl is on at 7:30, what shows at 9:00?
SQL:[/INST]SELECT 9:00 FROM table WHERE 7:30 = gossip girl</s> |
<s>[INST] Translate the following into a SQL query:
What is the match total for a score over 299 and under 412 innings?
SQL:[/INST]SELECT SUM Matches FROM table WHERE High Score = 299 AND Innings < 412</s> |
<s>[INST] Translate the following into a SQL query:
What is the high run total associated with a high score of 385 and under 407 innings?
SQL:[/INST]SELECT MAX Runs FROM table WHERE High Score = 385 AND Innings < 407</s> |
<s>[INST] Translate the following into a SQL query:
Which 2nd leg has a 1st leg of 1-1 and is Team 1 djoliba ac?
SQL:[/INST]SELECT 2nd leg FROM table WHERE 1st leg = 1-1 AND Team 1 = djoliba ac</s> |
<s>[INST] Translate the following into a SQL query:
What Team 1 has union douala as Team 2?
SQL:[/INST]SELECT Team 1 FROM table WHERE Team 2 = union douala</s> |
<s>[INST] Translate the following into a SQL query:
What was the score of the game that had a loss of Cerutti (0-1)?
SQL:[/INST]SELECT Score FROM table WHERE Loss = cerutti (0-1)</s> |
<s>[INST] Translate the following into a SQL query:
Who was the opponent at the game that had a record of 93-54?
SQL:[/INST]SELECT Opponent FROM table WHERE Record = 93-54</s> |
<s>[INST] Translate the following into a SQL query:
What was the score to par for 156 strokes?
SQL:[/INST]SELECT COUNT To par FROM table WHERE Total > 156</s> |
<s>[INST] Translate the following into a SQL query:
How many strokes for arnold palmer with a to par of greater than 9?
SQL:[/INST]SELECT AVG Total FROM table WHERE To par > 9 AND Player = arnold palmer</s> |
<s>[INST] Translate the following into a SQL query:
What was the score to par in 1960?
SQL:[/INST]SELECT To par FROM table WHERE Year(s) won = 1960</s> |
<s>[INST] Translate the following into a SQL query:
What is the earliest first game for a rugby team that has 7 lost games and 0 draws?
SQL:[/INST]SELECT MIN First game FROM table WHERE Lost = 7 AND Drawn < 0</s> |
<s>[INST] Translate the following into a SQL query:
How many games were played by a team that won 0.00% of their games and 0 draws?
SQL:[/INST]SELECT SUM Played FROM table WHERE Percentage = 0.00% AND Drawn < 0</s> |
<s>[INST] Translate the following into a SQL query:
Name the matches for the first match being 30 march 1997
SQL:[/INST]SELECT Matches FROM table WHERE 1st Match = 30 march 1997</s> |
<s>[INST] Translate the following into a SQL query:
Name the 1st match for brisbane bears
SQL:[/INST]SELECT 1st Match FROM table WHERE Team = brisbane bears</s> |
<s>[INST] Translate the following into a SQL query:
Name the lost for matches of 1 928
SQL:[/INST]SELECT Lost FROM table WHERE Matches = 1 928</s> |
<s>[INST] Translate the following into a SQL query:
Name the lost for % won of 55.37
SQL:[/INST]SELECT Lost FROM table WHERE % Won = 55.37</s> |
<s>[INST] Translate the following into a SQL query:
Name the matches for gold coast
SQL:[/INST]SELECT Matches FROM table WHERE Team = gold coast</s> |
<s>[INST] Translate the following into a SQL query:
Name the lost for % won of 55.37
SQL:[/INST]SELECT Lost FROM table WHERE % Won = 55.37</s> |
<s>[INST] Translate the following into a SQL query:
What is the year when cable was 4.6%?
SQL:[/INST]SELECT Year FROM table WHERE Cable = 4.6%</s> |
<s>[INST] Translate the following into a SQL query:
What is the other for 2012?
SQL:[/INST]SELECT Other FROM table WHERE Year = 2012</s> |
<s>[INST] Translate the following into a SQL query:
What is the xDSL for the other of 0.6% and FTTx of 35.4%?
SQL:[/INST]SELECT xDSL FROM table WHERE Other = 0.6% AND FTTx = 35.4%</s> |
<s>[INST] Translate the following into a SQL query:
What is the other for a 78.2% xDSL?
SQL:[/INST]SELECT Other FROM table WHERE xDSL = 78.2%</s> |
<s>[INST] Translate the following into a SQL query:
What is the xDSL in 2010 when the other was 0.6%?
SQL:[/INST]SELECT xDSL FROM table WHERE Other = 0.6% AND Year = 2010</s> |
<s>[INST] Translate the following into a SQL query:
Which date has a Result of won, and a Score of 1-0?
SQL:[/INST]SELECT Date FROM table WHERE Result = won AND Score = 1-0</s> |
<s>[INST] Translate the following into a SQL query:
Which result has a Date of november 2, 2007?
SQL:[/INST]SELECT Result FROM table WHERE Date = november 2, 2007</s> |
<s>[INST] Translate the following into a SQL query:
Which Competition has a Score of 2-0?
SQL:[/INST]SELECT Competition FROM table WHERE Score = 2-0</s> |
<s>[INST] Translate the following into a SQL query:
Which Venue has a Date of january 9, 2011?
SQL:[/INST]SELECT Venue FROM table WHERE Date = january 9, 2011</s> |
<s>[INST] Translate the following into a SQL query:
What is the termination of mission date of the representative with a presentation of credentials date on July 4, 1898?
SQL:[/INST]SELECT Termination of Mission FROM table WHERE Presentation of Credentials = july 4, 1898</s> |
<s>[INST] Translate the following into a SQL query:
What is the presentation of credentials date of raúl h. castro, who has a title of ambassador extraordinary and plenipotentiary?
SQL:[/INST]SELECT Presentation of Credentials FROM table WHERE Title = ambassador extraordinary and plenipotentiary AND Representative = raúl h. castro</s> |
<s>[INST] Translate the following into a SQL query:
Who is the representative with a presentation of credentials date on February 23, 1854?
SQL:[/INST]SELECT Representative FROM table WHERE Presentation of Credentials = february 23, 1854</s> |
<s>[INST] Translate the following into a SQL query:
What is the title of the representative appointed by James K. Polk?
SQL:[/INST]SELECT Title FROM table WHERE Appointed by = james k. polk</s> |
<s>[INST] Translate the following into a SQL query:
What is the termination of mission date of the representative appointed by Franklin Pierce with a title of chargé d'affaires?
SQL:[/INST]SELECT Termination of Mission FROM table WHERE Appointed by = franklin pierce AND Title = chargé d'affaires</s> |
<s>[INST] Translate the following into a SQL query:
What is the Stadium held on november 29?
SQL:[/INST]SELECT Stadium FROM table WHERE Date = november 29</s> |
<s>[INST] Translate the following into a SQL query:
Who is the Visiting team on december 20?
SQL:[/INST]SELECT Visiting team FROM table WHERE Date = december 20</s> |
<s>[INST] Translate the following into a SQL query:
Which Stadium has a Visiting team of pittsburgh steelers?
SQL:[/INST]SELECT Stadium FROM table WHERE Visiting team = pittsburgh steelers</s> |
<s>[INST] Translate the following into a SQL query:
Who is the Host team that has a chicago bears as a visiting team?
SQL:[/INST]SELECT Host team FROM table WHERE Visiting team = chicago bears</s> |
<s>[INST] Translate the following into a SQL query:
What is the Final score on november 22?
SQL:[/INST]SELECT Final score FROM table WHERE Date = november 22</s> |
<s>[INST] Translate the following into a SQL query:
What is the Host team that has indianapolis colts as a Visiting team?
SQL:[/INST]SELECT Host team FROM table WHERE Visiting team = indianapolis colts</s> |
<s>[INST] Translate the following into a SQL query:
Who won when np cooper av cooke was runner up?
SQL:[/INST]SELECT Winners FROM table WHERE Runners-up = np cooper av cooke</s> |
<s>[INST] Translate the following into a SQL query:
What was the record of the match that had a time of 1:44?
SQL:[/INST]SELECT Record FROM table WHERE Time = 1:44</s> |
<s>[INST] Translate the following into a SQL query:
Who was the opponent at GCM – D.O.G. 4?
SQL:[/INST]SELECT Opponent FROM table WHERE Event = gcm – d.o.g. 4</s> |
<s>[INST] Translate the following into a SQL query:
What was the location of the match that ended before round 2, against Hikaru Sato?
SQL:[/INST]SELECT Location FROM table WHERE Round < 2 AND Opponent = hikaru sato</s> |
<s>[INST] Translate the following into a SQL query:
What was the Company or Product name where Entrepreneurs Geoff and Colette Bell requested £75,000?
SQL:[/INST]SELECT Company or product name FROM table WHERE Money requested (£) = 75,000 AND Entrepreneur(s) = geoff and colette bell</s> |
<s>[INST] Translate the following into a SQL query:
Which Investing Dragon(s) belong to Episode 9 with the Entrepreneur Ashley Sayed?
SQL:[/INST]SELECT Investing Dragon(s) FROM table WHERE Episode = episode 9 AND Entrepreneur(s) = ashley sayed</s> |
<s>[INST] Translate the following into a SQL query:
What Episode did Entrepreneur(s) Luke Booth and Christopher Eves take part?
SQL:[/INST]SELECT Episode FROM table WHERE Entrepreneur(s) = luke booth and christopher eves</s> |
<s>[INST] Translate the following into a SQL query:
Which Company or Product name requested £70,000 on Episode 11?
SQL:[/INST]SELECT Company or product name FROM table WHERE Episode = episode 11 AND Money requested (£) = 70,000</s> |
<s>[INST] Translate the following into a SQL query:
What is the year in which Yong Yudianto won the men's singles?
SQL:[/INST]SELECT MIN Year FROM table WHERE Men's singles = yong yudianto</s> |
<s>[INST] Translate the following into a SQL query:
Who won the men's singles in 1999?
SQL:[/INST]SELECT Men's singles FROM table WHERE Year = 1999</s> |
<s>[INST] Translate the following into a SQL query:
What is stephen arigbabu's height?
SQL:[/INST]SELECT MIN Height FROM table WHERE Player = stephen arigbabu</s> |
<s>[INST] Translate the following into a SQL query:
For all games with los angeles as visitor, what is the highest attendance of all?
SQL:[/INST]SELECT MAX Attendance FROM table WHERE Visitor = los angeles</s> |
<s>[INST] Translate the following into a SQL query:
For all games with calgary as home, what is the average number of attendees?
SQL:[/INST]SELECT AVG Attendance FROM table WHERE Home = calgary</s> |
<s>[INST] Translate the following into a SQL query:
Who is no. 5 when Lena Claudisabel is no. 1 and Lena Sylvie is no. 2?
SQL:[/INST]SELECT No.5 FROM table WHERE No.1 = lena claudisabel AND No.2 = lena sylvie</s> |
<s>[INST] Translate the following into a SQL query:
Who is no.3 when Claudio Sylvie is no.1?
SQL:[/INST]SELECT No.3 FROM table WHERE No.1 = claudio sylvie</s> |
<s>[INST] Translate the following into a SQL query:
What was the score of the game when the record was 18-20?
SQL:[/INST]SELECT Score FROM table WHERE Record = 18-20</s> |
<s>[INST] Translate the following into a SQL query:
What Men's double held together with Women's singles of camilla martin?
SQL:[/INST]SELECT Men's doubles FROM table WHERE Women's singles = camilla martin</s> |
<s>[INST] Translate the following into a SQL query:
Who played in the Mixed Doubles when Zhu Lin played in the Women's Singles?
SQL:[/INST]SELECT Mixed doubles FROM table WHERE Women's singles = zhu lin</s> |
<s>[INST] Translate the following into a SQL query:
Who was on the Men's Doubles Team in 2002?
SQL:[/INST]SELECT Men's doubles FROM table WHERE Year = 2002</s> |
<s>[INST] Translate the following into a SQL query:
Which year did Aya Ohori play in the Women's Singles?
SQL:[/INST]SELECT Year FROM table WHERE Women's singles = aya ohori</s> |
<s>[INST] Translate the following into a SQL query:
Who was the Partner for Flavio Cipolla Simone Vagnozzi Opponents in the final?
SQL:[/INST]SELECT Partner FROM table WHERE Opponents in the final = flavio cipolla simone vagnozzi</s> |
<s>[INST] Translate the following into a SQL query:
Who were the Opponents in the final that played on a carpet (i) Surface?
SQL:[/INST]SELECT Opponents in the final FROM table WHERE Surface = carpet (i)</s> |
<s>[INST] Translate the following into a SQL query:
Played on Clay Surface, what was the Score of the Dortmund Tournament?
SQL:[/INST]SELECT Score in the final FROM table WHERE Surface = clay AND Tournament = dortmund</s> |