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