instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
For what platform does Mindark publish?
SELECT Platform FROM table WHERE Publisher = mindark
Translate the following into a SQL query
What publisher does Paleo Entertainment develop for?
SELECT Publisher FROM table WHERE Developer = paleo entertainment
Translate the following into a SQL query
Who was the developer for Vigilance?
SELECT Developer FROM table WHERE Title = vigilance
Translate the following into a SQL query
Which player's home town is Swift Current, AB?
SELECT Player FROM table WHERE Home Town = swift current, ab
Translate the following into a SQL query
Which position does number 23 play?
SELECT Position FROM table WHERE Number = 23
Translate the following into a SQL query
Which number plays the skaters position?
SELECT Number FROM table WHERE Position = skaters
Translate the following into a SQL query
How much does number 26 weigh?
SELECT Weight FROM table WHERE Number = 26
Translate the following into a SQL query
Which family has a Name of humpback whale?
SELECT Family FROM table WHERE Name = humpback whale
Translate the following into a SQL query
Which name has a Red List larger than 0, and a Species/Authority of balaenoptera acutorostrata lacépède, 1804?
SELECT Name FROM table WHERE Red List > 0 AND Species/Authority = balaenoptera acutorostrata lacépède, 1804
Translate the following into a SQL query
Which Species/Authority has a Name of true's beaked whale?
SELECT Species/Authority FROM table WHERE Name = true's beaked whale
Translate the following into a SQL query
What engine has 2 points?
SELECT Engine(s) FROM table WHERE Points = 2
Translate the following into a SQL query
What tyres are associated with a year after 1974 and 5 points?
SELECT Tyres FROM table WHERE Year > 1974 AND Points = 5
Translate the following into a SQL query
What is the engine(s) on the car before 1978 with ensign n177 chassis?
SELECT Engine(s) FROM table WHERE Chassis = ensign n177 AND Year < 1978
Translate the following into a SQL query
What tyres have 1 point and an ensign n177 chassis?
SELECT Tyres FROM table WHERE Points = 1 AND Chassis = ensign n177
Translate the following into a SQL query
Before 1987, what is the Entrant with bmw straight-4 (t/c) as Engine and a great than 2 Pts?
SELECT Entrant FROM table WHERE Year < 1987 AND Engine = bmw straight-4 (t/c) AND Pts. > 2
Translate the following into a SQL query
What did Ku Hyo-Jin rank?
SELECT COUNT Rank FROM table WHERE Name = ku hyo-jin
Translate the following into a SQL query
What was the rank of the person who swam in Lane 7 with a time of 2:25.86?
SELECT SUM Rank FROM table WHERE Time = 2:25.86 AND Lane < 7
Translate the following into a SQL query
Which Laid down has a Ship of fearless?
SELECT Laid down FROM table WHERE Ship = fearless
Translate the following into a SQL query
Which ship has a Pennant number of h.69?
SELECT Ship FROM table WHERE Pennant number = h.69
Translate the following into a SQL query
Which Launched has Commissioned 6 june 1935?
SELECT Launched FROM table WHERE Commissioned = 6 june 1935
Translate the following into a SQL query
What launch has a Ship of fearless?
SELECT Launched FROM table WHERE Ship = fearless
Translate the following into a SQL query
Which commission was launched 28 june 1934, and has a Pennant number of h.78?
SELECT Commissioned FROM table WHERE Launched = 28 june 1934 AND Pennant number = h.78
Translate the following into a SQL query
Which year has a Round of 17?
SELECT Year FROM table WHERE Round = 17
Translate the following into a SQL query
Which opponent has a Club of essendon, and a Score of 13.4.82?
SELECT Opponent FROM table WHERE Club = essendon AND Score = 13.4.82
Translate the following into a SQL query
Which opponent has a Score of 15.4.94?
SELECT Opponent FROM table WHERE Score = 15.4.94
Translate the following into a SQL query
Which opponent has a Round of 12?
SELECT Opponent FROM table WHERE Round = 12
Translate the following into a SQL query
Which Quarter has a Round of 17?
SELECT Quarter FROM table WHERE Round = 17
Translate the following into a SQL query
When was moray firth built?
SELECT Whenbuilt FROM table WHERE Name = moray firth
Translate the following into a SQL query
Name the withdrawn for charles dickens
SELECT Withdrawn FROM table WHERE Name = charles dickens
Translate the following into a SQL query
Which loss has an Attendance larger than 20,841, and a Date of july 9?
SELECT Loss FROM table WHERE Attendance > 20,841 AND Date = july 9
Translate the following into a SQL query
Which opponent has a Date of july 27?
SELECT Opponent FROM table WHERE Date = july 27
Translate the following into a SQL query
What Venue held the World Race Walking Cup tourney before 2008?
SELECT Venue FROM table WHERE Year < 2008 AND Tournament = world race walking cup
Translate the following into a SQL query
What tournement was held in Helsinki, Finland in 2005?
SELECT Event FROM table WHERE Venue = helsinki, finland
Translate the following into a SQL query
What Venue held the Olympic games in 2012?
SELECT Venue FROM table WHERE Tournament = olympic games AND Year = 2012
Translate the following into a SQL query
What's the website for the yamagata international documentary film festival?
SELECT Website FROM table WHERE Name = yamagata international documentary film festival
Translate the following into a SQL query
How did Johnnie Parsons finish when his qualifying time was 135.328?
SELECT Rank FROM table WHERE Qual = 135.328
Translate the following into a SQL query
What was Johnnie Parsons rank when he completed over 200 laps?
SELECT Rank FROM table WHERE Laps > 200
Translate the following into a SQL query
What is the value for Podiums when the value for Wins is 2, and when the Season is 2008?
SELECT Podiums FROM table WHERE Wins = 2 AND Season = 2008
Translate the following into a SQL query
What is the value for Position, when the Series is the Macau Grand Prix, and when the Season is before 2007?
SELECT Position FROM table WHERE Series = macau grand prix AND Season < 2007
Translate the following into a SQL query
What is the value for Wins when the Position is 7th?
SELECT Wins FROM table WHERE Position = 7th
Translate the following into a SQL query
What is the Series, when the Season is after 2008, when the value for Podiums is 3, and when the Position is 8th?
SELECT Series FROM table WHERE Season > 2008 AND Podiums = 3 AND Position = 8th
Translate the following into a SQL query
What is the value for Podiums, when the Season is after 2008, and when the Series is GP2 Asia Series?
SELECT Podiums FROM table WHERE Season > 2008 AND Series = gp2 asia series
Translate the following into a SQL query
What is the value for Wins, when the Series is GP2 Series, and when the Season is before 2009?
SELECT Wins FROM table WHERE Series = gp2 series AND Season < 2009
Translate the following into a SQL query
What was the loss of the game against the Indians when the record was 15-15?
SELECT Loss FROM table WHERE Opponent = indians AND Record = 15-15
Translate the following into a SQL query
What is the total attendance for games when the record was 23-23?
SELECT COUNT Attendance FROM table WHERE Record = 23-23
Translate the following into a SQL query
What is the total number of points for the conference division, a league position of 9th, and a lost result less than 13?
SELECT COUNT Points FROM table WHERE Division = conference AND League Pos = 9th AND Lost < 13
Translate the following into a SQL query
What is the drawn result with a league position of 15th and a lost result that is more than 17?
SELECT SUM Drawn FROM table WHERE League Pos = 15th AND Lost > 17
Translate the following into a SQL query
Name the 2014 which has a 2003-04 of did not participate and a 2005 of did not participate
SELECT 2014 FROM table WHERE 2003– 04 = did not participate AND 2005 = did not participate
Translate the following into a SQL query
Name the competition of 2010 of dnp
SELECT Competition FROM table WHERE 2010 = dnp
Translate the following into a SQL query
Name the 1999-2000 for 1993-94 of did not participate
SELECT 1999– 2000 FROM table WHERE 1993– 94 = did not participate
Translate the following into a SQL query
Name the 2005 when 2001-02 is sf
SELECT 2005 FROM table WHERE 2001– 02 = sf
Translate the following into a SQL query
Name the 2012 which has 2000-01 of 1st
SELECT 2012 FROM table WHERE 2000– 01 = 1st
Translate the following into a SQL query
Name the score for columbus visitor
SELECT Score FROM table WHERE Visitor = columbus
Translate the following into a SQL query
Name the least attendance with visitor of edmonton
SELECT MIN Attendance FROM table WHERE Visitor = edmonton
Translate the following into a SQL query
What is the lowest numbered lane of Sue Rolph with a rank under 5?
SELECT MIN Lane FROM table WHERE Name = sue rolph AND Rank < 5
Translate the following into a SQL query
What is the lane number of the swimmer with a time of 55.69?
SELECT Lane FROM table WHERE Time = 55.69
Translate the following into a SQL query
What is the lowest number of league cups with 4 championships?
SELECT MIN League Cup FROM table WHERE Championship = 4
Translate the following into a SQL query
What is the highest value for FA cups, that has a total of 0 4, with less than 4 championships?
SELECT MAX FA Cup FROM table WHERE Total = 0 4 AND Championship < 4
Translate the following into a SQL query
How many FA cups were there without any league cups, but a total of 0 2?
SELECT MIN FA Cup FROM table WHERE Total = 0 2 AND League Cup < 0
Translate the following into a SQL query
Who is Pick #41?
SELECT Player FROM table WHERE Pick # = 41
Translate the following into a SQL query
Which player was Pick #40?
SELECT Player FROM table WHERE Pick # = 40
Translate the following into a SQL query
Which team picked Dave Bonter?
SELECT NHL team FROM table WHERE Player = dave bonter
Translate the following into a SQL query
Which team picked the player from the Toronto Marlboros (OHA) as Pick #32?
SELECT NHL team FROM table WHERE College/junior/club team = toronto marlboros (oha) AND Pick # = 32
Translate the following into a SQL query
Name the most games for eredivisie when jurrie koolhof is manager when goals are less than 10
SELECT MAX Games FROM table WHERE League = eredivisie AND Manager = jurrie koolhof AND Goals < 10
Translate the following into a SQL query
Name the least rank when games are more than 34 and the season is 2009-10
SELECT MIN Rank FROM table WHERE Games > 34 AND Season = 2009-10
Translate the following into a SQL query
Name the least point for mv agusta and rank of 13th for wins less than 0
SELECT MIN Points FROM table WHERE Team = mv agusta AND Rank = 13th AND Wins < 0
Translate the following into a SQL query
Name the rank for wins of 0 and points of 2
SELECT Rank FROM table WHERE Wins = 0 AND Points = 2
Translate the following into a SQL query
Name the total number of points with year less than 1955 and rank of 5th with wins less than 0
SELECT COUNT Points FROM table WHERE Year < 1955 AND Rank = 5th AND Wins < 0
Translate the following into a SQL query
What is the total decile in the area of Normanby with a roller smaller than 157?
SELECT SUM Decile FROM table WHERE Area = normanby AND Roll < 157
Translate the following into a SQL query
What Authority has a decile greater than 5, with a roll of 170?
SELECT Authority FROM table WHERE Decile > 5 AND Roll = 170
Translate the following into a SQL query
What is the average goals against average for those playing more than 78 games?
SELECT AVG Goals against average FROM table WHERE Games played > 78
Translate the following into a SQL query
Who played over 46 games and allowed less than 195 goals?
SELECT Player FROM table WHERE Games played > 46 AND Goals allowed < 195
Translate the following into a SQL query
Who played 44 games who averaged over 2.07 goals against?
SELECT Player FROM table WHERE Goals against average > 2.07 AND Games played = 44
Translate the following into a SQL query
Name how ashtagrama lyers say it for engal veetil, engal agathil
SELECT How Ashtagrama Iyers say it FROM table WHERE Pure Tamil = engal veetil, engal agathil
Translate the following into a SQL query
Name the english meaning for engey poringo
SELECT English Meaning FROM table WHERE How other Tamils say it = engey poringo
Translate the following into a SQL query
Name how other lyers say enga ullale
SELECT How other Iyers say it FROM table WHERE How Ashtagrama Iyers say it = enga ullale
Translate the following into a SQL query
Name the pure tamil for enga athilae
SELECT Pure Tamil FROM table WHERE How other Iyers say it = enga athilae
Translate the following into a SQL query
What company built the ship named excellent in 1998?
SELECT Company FROM table WHERE Built = 1998 AND Ship = excellent
Translate the following into a SQL query
What's the total built by the United Kingdom and holds 1,300 passengers?
SELECT COUNT Built FROM table WHERE Registry = united kingdom AND Passengers = 1,300
Translate the following into a SQL query
Name the visiting team for stadium of ralph wilson stadium
SELECT Visiting Team FROM table WHERE Stadium = ralph wilson stadium
Translate the following into a SQL query
Name the date for visiting team of denver broncos
SELECT Date FROM table WHERE Visiting Team = denver broncos
Translate the following into a SQL query
Name the stadium with host team of san diego chargers and final score of 23-45
SELECT Stadium FROM table WHERE Host Team = san diego chargers AND Final Score = 23-45
Translate the following into a SQL query
Name the stadium with final score of 20-10
SELECT Stadium FROM table WHERE Final Score = 20-10
Translate the following into a SQL query
Name the date with visiting team of philadelphia eagles
SELECT Date FROM table WHERE Visiting Team = philadelphia eagles
Translate the following into a SQL query
Name the host team for january 1 (2006)
SELECT Host Team FROM table WHERE Date = january 1 (2006)
Translate the following into a SQL query
What team belongs to Delmar?
SELECT Team FROM table WHERE School = delmar
Translate the following into a SQL query
What was Laurel's division record?
SELECT Division Record FROM table WHERE School = laurel
Translate the following into a SQL query
What is the rank of airport with a (IATA/ICAO) of bcm/lrbc code and an amount of 240,735 in 2010?
SELECT MIN Rank FROM table WHERE Code (IATA/ICAO) = bcm/lrbc AND 2010 > 240,735
Translate the following into a SQL query
What is the average for the year 2008 of the team that in 2010 had an average of 240,735 with rank lower than 5?
SELECT AVG 2008 FROM table WHERE 2010 = 240,735 AND Rank < 5
Translate the following into a SQL query
What is the average in 2010 of the team with a code of (IATA/ICAO) or cra/lrcv?
SELECT 2010 FROM table WHERE Code (IATA/ICAO) = cra/lrcv
Translate the following into a SQL query
Which state has 67% Republicans and a ratio of 24/12 of Republicans to Democrats?
SELECT State ranked in partisan order FROM table WHERE Percentage Republicans = 67% AND Republican/ Democratic = 24/12
Translate the following into a SQL query
What state is 25% Democrats has a ratio of 6/2 of Republicans to Democrats?
SELECT State ranked in partisan order FROM table WHERE Percentage Democrats = 25% AND Republican/ Democratic = 6/2
Translate the following into a SQL query
What is the ratio of Republicans to Democrats in South Carolina?
SELECT Republican/ Democratic FROM table WHERE State ranked in partisan order = south carolina
Translate the following into a SQL query
What is the Republican seat plurality of the state with a ratio of 12/4 Republicans to Democrats?
SELECT Republican seat plurality FROM table WHERE Republican/ Democratic = 12/4
Translate the following into a SQL query
What is the Republican seat plurality of North Carolina?
SELECT Republican seat plurality FROM table WHERE State ranked in partisan order = north carolina
Translate the following into a SQL query
What is the highest score in round 4 and total of 284 in a year more recent than 1998?
SELECT MAX Round 4 FROM table WHERE Score = 284 AND Year > 1998
Translate the following into a SQL query
What is the maximum ¥ for a round 2 score of 65 and a round 4 score smaller than 67?
SELECT MAX Money (¥) FROM table WHERE Round 2 = 65 AND Round 4 < 67
Translate the following into a SQL query
What is the earliest year when the Dunlop Phoenix Tournament was played with a round 4 score larger than 72?
SELECT MIN Year FROM table WHERE Tournament = dunlop phoenix tournament AND Round 4 > 72
Translate the following into a SQL query
What is the lowest round with a place of t15 in a year earlier than 1998?
SELECT MIN Round 1 FROM table WHERE Place = t15 AND Year < 1998
Translate the following into a SQL query
Where was the BRDC International Trophy with driver Emerson Fittipaldi held?
SELECT Venue FROM table WHERE Driver = emerson fittipaldi AND Event = brdc international trophy