instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What is the Result with a Venue that is filbert street?
SELECT Result FROM table WHERE Venue = filbert street
Translate the following into a SQL query
When did the Texans play BYE?
SELECT Date FROM table WHERE Opponent = bye
Translate the following into a SQL query
Who did the Texans play when there were 70,724 people in attendance?
SELECT Opponent FROM table WHERE Attendance = 70,724
Translate the following into a SQL query
Who has the status of jr synonym of protosialis casca?
SELECT Novelty FROM table WHERE Status = jr synonym of protosialis casca
Translate the following into a SQL query
Which writer is named mongolbittacus?
SELECT Authors FROM table WHERE Name = mongolbittacus
Translate the following into a SQL query
What is the score of the game that had 359 people in attendance?
SELECT Score FROM table WHERE Attendance = 359
Translate the following into a SQL query
What is the home team of the game that ended with a score of 0-1?
SELECT Home Team FROM table WHERE Score = 0-1
Translate the following into a SQL query
How many people attended Match No. 31?
SELECT Attendance FROM table WHERE Match No. = 31
Translate the following into a SQL query
Who is the Home Team for Match No. 23?
SELECT Home Team FROM table WHERE Match No. = 23
Translate the following into a SQL query
What is the score of the game with 1,125 people in attendance?
SELECT Score FROM table WHERE Attendance = 1,125
Translate the following into a SQL query
What is the Country with a Launched that is april 3, 1990?
SELECT Country FROM table WHERE Launched = april 3, 1990
Translate the following into a SQL query
What is the Launched from a Country that is spain?
SELECT Launched FROM table WHERE Country = spain
Translate the following into a SQL query
What is the lowest order with a Minister that is joe hockey?
SELECT MIN Order FROM table WHERE Minister = joe hockey
Translate the following into a SQL query
Which Years in Orlando has a Nationality of united states, and a Player of doug overton?
SELECT Years in Orlando FROM table WHERE Nationality = united states AND Player = doug overton
Translate the following into a SQL query
Which Years in Orlando has a Nationality of united states, a Position of center, and a Player of jawann oldham?
SELECT Years in Orlando FROM table WHERE Nationality = united states AND Position = center AND Player = jawann oldham
Translate the following into a SQL query
Which Years in Orlando has a Player of bo outlaw?
SELECT Years in Orlando FROM table WHERE Player = bo outlaw
Translate the following into a SQL query
Which Years in Orlando has a School/Club Team of seattle?
SELECT Years in Orlando FROM table WHERE School/Club Team = seattle
Translate the following into a SQL query
Which Nationality has a Position of center, and a Years in Orlando of 2010–2012?
SELECT Nationality FROM table WHERE Position = center AND Years in Orlando = 2010–2012
Translate the following into a SQL query
Which Nationality has a School/Club Team of seattle?
SELECT Nationality FROM table WHERE School/Club Team = seattle
Translate the following into a SQL query
When did they play at Candlestick Park?
SELECT Date FROM table WHERE Game Site = candlestick park
Translate the following into a SQL query
What is the average number of top-10s for events under 57 and 0 top-5s?
SELECT AVG Top-10 FROM table WHERE Events < 57 AND Top-5 < 0
Translate the following into a SQL query
What is the average number of top-10s for events with more than 12 cuts made and 0 wins?
SELECT AVG Top-10 FROM table WHERE Cuts made > 12 AND Wins < 0
Translate the following into a SQL query
What is the average number of top-25s for events with less than 2 top-10s?
SELECT AVG Top-25 FROM table WHERE Top-10 < 2
Translate the following into a SQL query
Which Works number has a Builder of canadian engine & machinery company, and a Number smaller than 3?
SELECT Works number FROM table WHERE Builder = canadian engine & machinery company AND Number < 3
Translate the following into a SQL query
Which Works number has a Builder of avonside engine company, and a Type of 4-6-0, and a Number smaller than 12, and a Date of december 1871?
SELECT Works number FROM table WHERE Builder = avonside engine company AND Type = 4-6-0 AND Number < 12 AND Date = december 1871
Translate the following into a SQL query
Which Type has a Builder of avonside engine company, and a Number of 9?
SELECT Type FROM table WHERE Builder = avonside engine company AND Number = 9
Translate the following into a SQL query
Which Date has a Type of 4-6-0, and a Number larger than 11?
SELECT Date FROM table WHERE Type = 4-6-0 AND Number > 11
Translate the following into a SQL query
Which Builder has a Date of early 1871?
SELECT Builder FROM table WHERE Date = early 1871
Translate the following into a SQL query
What ist he Home with a Score that is 42-64?
SELECT Home FROM table WHERE Score = 42-64
Translate the following into a SQL query
What is the Home with a Time that is 12:00?
SELECT Home FROM table WHERE Time = 12:00
Translate the following into a SQL query
What is the Ground with a Score that is 49-80?
SELECT Ground FROM table WHERE Score = 49-80
Translate the following into a SQL query
What's the smallest March when the record is 22-12-6?
SELECT MIN March FROM table WHERE Record = 22-12-6
Translate the following into a SQL query
Which record's march was 26?
SELECT Record FROM table WHERE March = 26
Translate the following into a SQL query
What is the Lost with a Losing Bonus that is 4?
SELECT Lost FROM table WHERE Losing Bonus = 4
Translate the following into a SQL query
What is the Points with a Tries For that is 21?
SELECT Points FROM table WHERE Tries For = 21
Translate the following into a SQL query
What is the Lost with a Try Bonus that is try bonus?
SELECT Lost FROM table WHERE Try Bonus = try bonus
Translate the following into a SQL query
What is the highest Total for the rank 12, and gold less than 0?
SELECT MAX Total FROM table WHERE Rank = 12 AND Gold < 0
Translate the following into a SQL query
What is the total number of Total when the Silver is less than 2, and a Bronze is less than 0?
SELECT COUNT Total FROM table WHERE Silver < 2 AND Bronze < 0
Translate the following into a SQL query
What is the nickname of the team that has the colors blue and gold?
SELECT Nickname FROM table WHERE Colors = blue and gold
Translate the following into a SQL query
What is the nickname of the team that has the colors black and gold?
SELECT Nickname FROM table WHERE Colors = black and gold
Translate the following into a SQL query
What is the nickname of the team in division 2?
SELECT Nickname FROM table WHERE Division = division 2
Translate the following into a SQL query
What is the class of the Middletown High School team that is in the DSHA league?
SELECT Class FROM table WHERE League = dsha AND School = middletown high school
Translate the following into a SQL query
What school is the team from that has the colors blue and gold?
SELECT School FROM table WHERE Colors = blue and gold
Translate the following into a SQL query
What are the colors for the division 2 team with the nickname, the seahawks?
SELECT Colors FROM table WHERE Division = division 2 AND Nickname = seahawks
Translate the following into a SQL query
Who's the Centerfold model with a Pictorials of adrianne curry, girls of tuscany?
SELECT Centerfold model FROM table WHERE Pictorials = adrianne curry, girls of tuscany
Translate the following into a SQL query
Which Date has a 20 Questions of jason lee?
SELECT Date FROM table WHERE 20 Questions = jason lee
Translate the following into a SQL query
Which Interview subject has a Pictorials of vida guerra?
SELECT Interview subject FROM table WHERE Pictorials = vida guerra
Translate the following into a SQL query
Which Date has a Pictorials of mercedes mcnab, girls of hawaiian tropic?
SELECT Date FROM table WHERE Pictorials = mercedes mcnab, girls of hawaiian tropic
Translate the following into a SQL query
Which Pictorials has a 20 Questions of eva longoria?
SELECT Pictorials FROM table WHERE 20 Questions = eva longoria
Translate the following into a SQL query
Which Interview subject has a Centerfold model of athena lundberg?
SELECT Interview subject FROM table WHERE Centerfold model = athena lundberg
Translate the following into a SQL query
What is the total number of votes from the Labour Party?
SELECT COUNT Votes FROM table WHERE Party = labour
Translate the following into a SQL query
Which party has less than 11,484 votes?
SELECT Party FROM table WHERE Votes < 11,484
Translate the following into a SQL query
How many numbers had Brandon Dean as a name?
SELECT SUM Number FROM table WHERE Name = brandon dean
Translate the following into a SQL query
What is the singular for the Meaning of night?
SELECT singular FROM table WHERE meaning = night
Translate the following into a SQL query
What is the plural for the Meaning of night?
SELECT plural FROM table WHERE meaning = night
Translate the following into a SQL query
What is the plural if the singular is nyaqot?
SELECT plural FROM table WHERE singular = nyaqot
Translate the following into a SQL query
What is the plural if the meaning is python and the plural gender is n?
SELECT plural FROM table WHERE plural gender = n AND meaning = python
Translate the following into a SQL query
What is the plural if the singular is awu?
SELECT plural FROM table WHERE singular = awu
Translate the following into a SQL query
What is the singular if the plural is xweer(a)du?
SELECT singular FROM table WHERE plural = xweer(a)du
Translate the following into a SQL query
What is the Total againsts for the Sant'Anna team with a position number greater than 10?
SELECT COUNT Against FROM table WHERE Team = sant'anna AND Position > 10
Translate the following into a SQL query
What is the total number of games played with 3 losses, 1 or more drawns and 10 or fewer points?
SELECT SUM Played FROM table WHERE Lost = 3 AND Drawn > 1 AND Points < 10
Translate the following into a SQL query
What is the average lost of games played of more than 9?
SELECT AVG Lost FROM table WHERE Played > 9
Translate the following into a SQL query
What is the lowest number of bronze medals for Great Britain with more than 2 medals total?
SELECT MIN Bronze FROM table WHERE Nation = great britain AND Total > 2
Translate the following into a SQL query
What is the lowest wins the club with a position of 4 and less than 4 losses has?
SELECT MIN Wins FROM table WHERE Position = 4 AND Loses < 4
Translate the following into a SQL query
What is the sum of the points of club nevėžis-2 kėdainiai, which has more than 35 goals conceded?
SELECT SUM Points FROM table WHERE Club = nevėžis-2 kėdainiai AND Goals conceded > 35
Translate the following into a SQL query
What is the total number of games played of the team with 4 wins and a position less than 9?
SELECT COUNT Games played FROM table WHERE Wins = 4 AND Position < 9
Translate the following into a SQL query
What is the highest number of wins of the team with a position less than 1?
SELECT MAX Wins FROM table WHERE Position < 1
Translate the following into a SQL query
What is the total losses against 1412, and 10 wins, but draws less than 0?
SELECT SUM Losses FROM table WHERE Against > 1412 AND Wins = 10 AND Draws < 0
Translate the following into a SQL query
What is the highest draw against 2161?
SELECT MAX Draws FROM table WHERE Against > 2161
Translate the following into a SQL query
What is the total number of losses against 1412, and Byes less than 2?
SELECT COUNT Losses FROM table WHERE Against = 1412 AND Byes < 2
Translate the following into a SQL query
What is the lowest wins with less than 2 Byes?
SELECT MIN Wins FROM table WHERE Byes < 2
Translate the following into a SQL query
What is the highest score with 0 wins and more than 2 Byes?
SELECT MAX Against FROM table WHERE Wins = 0 AND Byes > 2
Translate the following into a SQL query
What is the sum of wins against the smaller score 1148?
SELECT SUM Wins FROM table WHERE Against < 1148
Translate the following into a SQL query
Who had a rank larger than 7, less than 305 goals, and 418 matches?
SELECT Name FROM table WHERE Rank > 7 AND Goals < 305 AND Matches = 418
Translate the following into a SQL query
How many goals ranked 6?
SELECT COUNT Goals FROM table WHERE Rank = 6
Translate the following into a SQL query
How many matches had 360 goals?
SELECT Matches FROM table WHERE Goals = 360
Translate the following into a SQL query
What is the Nominee from the Category that is best costume design?
SELECT Nominee FROM table WHERE Category = best costume design
Translate the following into a SQL query
Which Total has a Bronze larger than 12, and a Silver larger than 772, and a Country of thailand?
SELECT SUM Total FROM table WHERE Bronze > 12 AND Silver > 772 AND Country = thailand
Translate the following into a SQL query
Which Gold has a Total of 2998, and a Bronze smaller than 1191?
SELECT AVG Gold FROM table WHERE Total = 2998 AND Bronze < 1191
Translate the following into a SQL query
Which Bronze has a Country of malaysia, and a Total smaller than 2644?
SELECT SUM Bronze FROM table WHERE Country = malaysia AND Total < 2644
Translate the following into a SQL query
Which Silver has a Bronze smaller than 618, and a Country of laos?
SELECT Silver FROM table WHERE Bronze < 618 AND Country = laos
Translate the following into a SQL query
What is the Score with a Team that is @ portland?
SELECT Score FROM table WHERE Team = @ portland
Translate the following into a SQL query
What is the High points with a Date that is january 20?
SELECT High points FROM table WHERE Date = january 20
Translate the following into a SQL query
Who was the home team that the Clippers played?
SELECT Home FROM table WHERE Visitor = clippers
Translate the following into a SQL query
What's the record of the game where Lebron James (16) was the leading scorer?
SELECT Record FROM table WHERE Leading scorer = lebron james (16)
Translate the following into a SQL query
When the venue was A and the date was 2 january 2008, what was the average attendance?
SELECT AVG Attendance FROM table WHERE Venue = a AND Date = 2 january 2008
Translate the following into a SQL query
On 10 November 2007, what was the venue?
SELECT Venue FROM table WHERE Date = 10 november 2007
Translate the following into a SQL query
On what date was the opponent Ayr United, the result 1–0, and the attendance more than 668?
SELECT Date FROM table WHERE Result = 1–0 AND Attendance > 668 AND Opponent = ayr united
Translate the following into a SQL query
When the opponent was Brechin City and the attendance was 656, what was the Result?
SELECT Result FROM table WHERE Opponent = brechin city AND Attendance = 656
Translate the following into a SQL query
On 1 september 2007, at the Venue A, what was the average attendance?
SELECT AVG Attendance FROM table WHERE Venue = a AND Date = 1 september 2007
Translate the following into a SQL query
Which Score has a Country of england, and a Year larger than 1971?
SELECT Score FROM table WHERE Country = england AND Year > 1971
Translate the following into a SQL query
What is Scotland's winner?
SELECT Winner FROM table WHERE Country = scotland
Translate the following into a SQL query
What time was the game in week 2?
SELECT Time FROM table WHERE Week = 2
Translate the following into a SQL query
What was the score of the game on September 14, 2008?
SELECT Result FROM table WHERE Date = september 14, 2008
Translate the following into a SQL query
What was the final score of the game on November 23, 2008?
SELECT Result FROM table WHERE Date = november 23, 2008
Translate the following into a SQL query
Which species has a Voges-Proskauer reading of negative and an indole reading of negative?
SELECT Species FROM table WHERE Voges-Proskauer = negative AND Indole = negative
Translate the following into a SQL query
What is the Voges-Proskauer reading for proteus mirabilis?
SELECT Voges-Proskauer FROM table WHERE Species = proteus mirabilis
Translate the following into a SQL query
What is the methyl red reading for the species that tests positive for indole?
SELECT Methyl Red FROM table WHERE Indole = positive
Translate the following into a SQL query
What is the methyl red reading for proteus mirabilis?
SELECT Methyl Red FROM table WHERE Species = proteus mirabilis
Translate the following into a SQL query
What is the highest silver medals for Russia with more than 5 bronze medals?
SELECT MAX Silver FROM table WHERE Nation = russia AND Bronze > 5