messages
stringlengths 104
584
|
---|
<s>[INST] Translate the following into a SQL query:
Which section has a level of Tier 3, is in the 6th position, and is in the 1937-38 season?
SQL:[/INST]SELECT Section FROM table WHERE Level = tier 3 AND Position = 6th AND Season = 1937-38</s> |
<s>[INST] Translate the following into a SQL query:
Which section is in the 6th position?
SQL:[/INST]SELECT Section FROM table WHERE Position = 6th</s> |
<s>[INST] Translate the following into a SQL query:
Name the attendance with date of june 11
SQL:[/INST]SELECT Attendance FROM table WHERE Date = june 11</s> |
<s>[INST] Translate the following into a SQL query:
Which partnership has a run number of 27?
SQL:[/INST]SELECT Partnerships FROM table WHERE Runs = 27</s> |
<s>[INST] Translate the following into a SQL query:
What venue did the parntership of shoaib malik / misbah-ul-haq occur?
SQL:[/INST]SELECT Venue FROM table WHERE Partnerships = shoaib malik / misbah-ul-haq</s> |
<s>[INST] Translate the following into a SQL query:
What venue did the partnership of herschelle gibbs / justin kemp happen?
SQL:[/INST]SELECT Venue FROM table WHERE Partnerships = herschelle gibbs / justin kemp</s> |
<s>[INST] Translate the following into a SQL query:
What is the number Played that has 310 Points for?
SQL:[/INST]SELECT Played FROM table WHERE Points for = 310</s> |
<s>[INST] Translate the following into a SQL query:
What Losing bonus has a Points against of 588?
SQL:[/INST]SELECT Losing bonus FROM table WHERE Points against = 588</s> |
<s>[INST] Translate the following into a SQL query:
What Tries against has a Losing bonus of 7?
SQL:[/INST]SELECT Tries against FROM table WHERE Losing bonus = 7</s> |
<s>[INST] Translate the following into a SQL query:
What Try bonus has a Points against of 488?
SQL:[/INST]SELECT Try bonus FROM table WHERE Points against = 488</s> |
<s>[INST] Translate the following into a SQL query:
What Points for has a Try bonus of 140?
SQL:[/INST]SELECT Points for FROM table WHERE Try bonus = 140</s> |
<s>[INST] Translate the following into a SQL query:
What Drawn has a Tries against of 0?
SQL:[/INST]SELECT Drawn FROM table WHERE Tries against = 0</s> |
<s>[INST] Translate the following into a SQL query:
What is the days held the champion with a reign larger than 3 and 1 defense has?
SQL:[/INST]SELECT Days held FROM table WHERE Reign > 3 AND Defenses = 1</s> |
<s>[INST] Translate the following into a SQL query:
What is the days held the champion with a reign larger than 3 and less than 1 defense has?
SQL:[/INST]SELECT Days held FROM table WHERE Reign > 3 AND Defenses < 1</s> |
<s>[INST] Translate the following into a SQL query:
What is the average defenses a champion with 404 days held and a reign larger than 1 has?
SQL:[/INST]SELECT AVG Defenses FROM table WHERE Days held = 404 AND Reign > 1</s> |
<s>[INST] Translate the following into a SQL query:
What is the lowest defense a champion with 345 days held has?
SQL:[/INST]SELECT MIN Defenses FROM table WHERE Days held = 345</s> |
<s>[INST] Translate the following into a SQL query:
On what date was there a record of 76-72?
SQL:[/INST]SELECT Date FROM table WHERE Record = 76-72</s> |
<s>[INST] Translate the following into a SQL query:
What was the attendance that had a loss of Ponson (1-5)?
SQL:[/INST]SELECT Attendance FROM table WHERE Loss = ponson (1-5)</s> |
<s>[INST] Translate the following into a SQL query:
On which day was there a record of 36-39?
SQL:[/INST]SELECT Date FROM table WHERE Record = 36-39</s> |
<s>[INST] Translate the following into a SQL query:
On what day was the record 30-31?
SQL:[/INST]SELECT Date FROM table WHERE Record = 30-31</s> |
<s>[INST] Translate the following into a SQL query:
Who was the opponent at the game that had a loss of Leonard (7β8)?
SQL:[/INST]SELECT Opponent FROM table WHERE Loss = leonard (7β8)</s> |
<s>[INST] Translate the following into a SQL query:
What was the score of the game when the record was 18β43?
SQL:[/INST]SELECT Score FROM table WHERE Record = 18β43</s> |
<s>[INST] Translate the following into a SQL query:
What was the score of the game against the Royals when the record was 24β52?
SQL:[/INST]SELECT Score FROM table WHERE Opponent = royals AND Record = 24β52</s> |
<s>[INST] Translate the following into a SQL query:
What was the score of the game when the record was 22β46?
SQL:[/INST]SELECT Score FROM table WHERE Record = 22β46</s> |
<s>[INST] Translate the following into a SQL query:
What is the real name of the person whose primary military specialty is shock paratrooper?
SQL:[/INST]SELECT Real Name FROM table WHERE Primary military speciality = shock paratrooper</s> |
<s>[INST] Translate the following into a SQL query:
What is the birthplace of Pete Sanderson?
SQL:[/INST]SELECT Birthplace FROM table WHERE Real Name = pete sanderson</s> |
<s>[INST] Translate the following into a SQL query:
What role did Jean-Luc Bouvier serve?
SQL:[/INST]SELECT Function (figure) FROM table WHERE Real Name = jean-luc bouvier</s> |
<s>[INST] Translate the following into a SQL query:
What is the real name of the person who is a pilot of the silent attack kayak?
SQL:[/INST]SELECT Real Name FROM table WHERE Function (figure) = pilot of the silent attack kayak</s> |
<s>[INST] Translate the following into a SQL query:
What is the code name of the person born in Liverpool?
SQL:[/INST]SELECT Code Name FROM table WHERE Birthplace = liverpool</s> |
<s>[INST] Translate the following into a SQL query:
What is the names for the medalist in the sport of canoeing?
SQL:[/INST]SELECT Name FROM table WHERE Sport = canoeing</s> |
<s>[INST] Translate the following into a SQL query:
What games had the women's half middleweight event?
SQL:[/INST]SELECT Games FROM table WHERE Event = women's half middleweight</s> |
<s>[INST] Translate the following into a SQL query:
Who received the bronze medal in the 2000 Sydney games?
SQL:[/INST]SELECT Name FROM table WHERE Medal = bronze AND Games = 2000 sydney</s> |
<s>[INST] Translate the following into a SQL query:
How many people attended when opponent was twins?
SQL:[/INST]SELECT COUNT Attendance FROM table WHERE Opponent = twins</s> |
<s>[INST] Translate the following into a SQL query:
Which date has a Record of 41-46?
SQL:[/INST]SELECT Date FROM table WHERE Record = 41-46</s> |
<s>[INST] Translate the following into a SQL query:
Which score has a Record of 48-55?
SQL:[/INST]SELECT Score FROM table WHERE Record = 48-55</s> |
<s>[INST] Translate the following into a SQL query:
Which score has a Record of 44-49?
SQL:[/INST]SELECT Score FROM table WHERE Record = 44-49</s> |
<s>[INST] Translate the following into a SQL query:
Which score has an Attendance larger than 16,571, and a Loss of mcdowell (0-1)?
SQL:[/INST]SELECT Score FROM table WHERE Attendance > 16,571 AND Loss = mcdowell (0-1)</s> |
<s>[INST] Translate the following into a SQL query:
Which score has an Opponent of white sox, and a Record of 2-0?
SQL:[/INST]SELECT Score FROM table WHERE Opponent = white sox AND Record = 2-0</s> |
<s>[INST] Translate the following into a SQL query:
How many votes did candice sjostrom receive?
SQL:[/INST]SELECT AVG Popular Votes FROM table WHERE Candidate = candice sjostrom</s> |
<s>[INST] Translate the following into a SQL query:
What percentage did chris wright receive?
SQL:[/INST]SELECT Percentage FROM table WHERE Candidate = chris wright</s> |
<s>[INST] Translate the following into a SQL query:
How many votes for the candidate after 1992, 1.59% of the vote, and the office of us representative 4?
SQL:[/INST]SELECT AVG Popular Votes FROM table WHERE Office = us representative 4 AND Percentage = 1.59% AND Year > 1992</s> |
<s>[INST] Translate the following into a SQL query:
What years did J. Smith Young serve as a Representative?
SQL:[/INST]SELECT Years FROM table WHERE Representative = j. smith young</s> |
<s>[INST] Translate the following into a SQL query:
Which party did Thomas L. Young belong to?
SQL:[/INST]SELECT Party FROM table WHERE Representative = thomas l. young</s> |
<s>[INST] Translate the following into a SQL query:
What is the lowest total amount of medals from countries with 0 gold medals, more than 2 bronze medals, and more than 1 silver medal?
SQL:[/INST]SELECT MIN Total FROM table WHERE Gold = 0 AND Bronze > 2 AND Silver > 1</s> |
<s>[INST] Translate the following into a SQL query:
What is the total number of silver medals for countries of rank 14, with less than 1 total medals?
SQL:[/INST]SELECT SUM Silver FROM table WHERE Rank = 14 AND Total < 1</s> |
<s>[INST] Translate the following into a SQL query:
How many tackles for the player with over 0 fumble recovries and 0 forced fumbles?
SQL:[/INST]SELECT COUNT Total FROM table WHERE Fumble rec > 0 AND Fumble force = 0</s> |
<s>[INST] Translate the following into a SQL query:
How many forced fumbles for jim laney with under 2 solo tackles?
SQL:[/INST]SELECT COUNT Fumble force FROM table WHERE Solo < 2 AND Player = jim laney</s> |
<s>[INST] Translate the following into a SQL query:
What is the high total for players with over 15 solo tackles?
SQL:[/INST]SELECT MAX Total FROM table WHERE Solo > 15</s> |
<s>[INST] Translate the following into a SQL query:
How many fumble recoveries for scott gajos with 0 forced fubmles, 0 sacks, and under 2 solo tackles?
SQL:[/INST]SELECT SUM Fumble rec FROM table WHERE Sacks = 0 AND Fumble force = 0 AND Player = scott gajos AND Solo < 2</s> |
<s>[INST] Translate the following into a SQL query:
Who is the Opponent playing at 20:00 GMT at Camp Nou?
SQL:[/INST]SELECT Opponent FROM table WHERE Time = 20:00 gmt AND Ground = camp nou</s> |
<s>[INST] Translate the following into a SQL query:
What time was the match played with a score of 3-2?
SQL:[/INST]SELECT Time FROM table WHERE Score = 3-2</s> |
<s>[INST] Translate the following into a SQL query:
On which ground did the team play Aston Villa?
SQL:[/INST]SELECT Ground FROM table WHERE Opponent = aston villa</s> |
<s>[INST] Translate the following into a SQL query:
What kind of competition was it at San Siro at 18:30 GMT?
SQL:[/INST]SELECT Competition FROM table WHERE Ground = san siro AND Time = 18:30 gmt</s> |
<s>[INST] Translate the following into a SQL query:
What is the total number of decile for the redwood school locality?
SQL:[/INST]SELECT COUNT Decile FROM table WHERE Name = redwood school</s> |
<s>[INST] Translate the following into a SQL query:
Which report includes a Circuit of Tripoli?
SQL:[/INST]SELECT Report FROM table WHERE Circuit = tripoli</s> |