instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What order year has a 30 Length (ft.) and 05.505 model?
SELECT Order Year FROM table WHERE Length (ft.) = 30 AND Model = 05.505
Translate the following into a SQL query
What builder has a 2001-02 order year?
SELECT Builder FROM table WHERE Order Year = 2001-02
Translate the following into a SQL query
What is the order year of obi builder and 05.505 model that is 30 feet long?
SELECT Order Year FROM table WHERE Builder = obi AND Length (ft.) = 30 AND Model = 05.505
Translate the following into a SQL query
What is the career of player serhiy konovalov, who has less than 1 pct.?
SELECT Career FROM table WHERE Pct. < 1 AND Player = serhiy konovalov
Translate the following into a SQL query
What is the career of player andriy husyn?
SELECT Career FROM table WHERE Player = andriy husyn
Translate the following into a SQL query
What is the earliest year that has fewer than 3852.1 cows and 3900.1 working horses?
SELECT MIN Year FROM table WHERE Working Horses = 3900.1 AND Cows < 3852.1
Translate the following into a SQL query
What is the number of bulls that has oxen larger than 113.8, and a sheep and goats larger than 4533.4, and a cows smaller than 3987, and a total horses larger than 5056.5?
SELECT Bulls FROM table WHERE Oxen > 113.8 AND Sheep and Goats > 4533.4 AND Cows < 3987 AND Total Horses > 5056.5
Translate the following into a SQL query
How many years had fewer than 2089.2 pigs?
SELECT COUNT Year FROM table WHERE Pigs < 2089.2
Translate the following into a SQL query
What was the lowest total number of horses that has a total cattle smaller than 6274.1, and a oxen smaller than 156.5, and a bulls of 40.0, and fewer than 3377 cows?
SELECT MIN Total Horses FROM table WHERE Total Cattle < 6274.1 AND Oxen < 156.5 AND Bulls = 40.0 AND Cows < 3377
Translate the following into a SQL query
What is the lowest number of sheep and goats after 1931, with fewer than 2518 cows and more than 2604.8 horses?
SELECT MIN Sheep and Goats FROM table WHERE Year > 1931 AND Cows < 2518 AND Total Horses > 2604.8
Translate the following into a SQL query
For the game ending with a record of 31-43-2, what was the decision?
SELECT Decision FROM table WHERE Record = 31-43-2
Translate the following into a SQL query
For the game that ended with a record of 28-35-1, what was the decision?
SELECT Decision FROM table WHERE Record = 28-35-1
Translate the following into a SQL query
WHAT IS THE HIGHEST ATTENDANCE FOR THE PHOENIX COYOTES?
SELECT MAX Attendance FROM table WHERE Opponent = phoenix coyotes
Translate the following into a SQL query
WHAT IS THE DECISION FOR NOVEMBER 28?
SELECT Decision FROM table WHERE Date = november 28
Translate the following into a SQL query
what is the mission when the location is rome?
SELECT Mission FROM table WHERE Location = rome
Translate the following into a SQL query
what is the mission when the head of mission is pedro blandino?
SELECT Mission FROM table WHERE Head of Mission = pedro blandino
Translate the following into a SQL query
what is the location when the type is embassy and the head of mission is josé manuel castillo?
SELECT Location FROM table WHERE Type = embassy AND Head of Mission = josé manuel castillo
Translate the following into a SQL query
what is the location when the type is embassy and the mission is panama?
SELECT Location FROM table WHERE Type = embassy AND Mission = panama
Translate the following into a SQL query
what is the mission when the location is brasilia?
SELECT Mission FROM table WHERE Location = brasilia
Translate the following into a SQL query
what is the type when the position is ambassador and the location is rabat?
SELECT Type FROM table WHERE Position = ambassador AND Location = rabat
Translate the following into a SQL query
How many wins when the pct, is .848?
SELECT Wins FROM table WHERE Pct. = .848
Translate the following into a SQL query
Which season had 34 losses?
SELECT Season FROM table WHERE Losses = 34
Translate the following into a SQL query
What was the finish in the playoffs season?
SELECT Finish FROM table WHERE Season = playoffs
Translate the following into a SQL query
What is the number of wins in the playoffs league?
SELECT Wins FROM table WHERE League = playoffs
Translate the following into a SQL query
What is the league with 0 losses?
SELECT League FROM table WHERE Losses = 0
Translate the following into a SQL query
In what place is the player with a score of 72-66-75=213?
SELECT Place FROM table WHERE Score = 72-66-75=213
Translate the following into a SQL query
From what country is the player with a score of 68-71-76=215?
SELECT Country FROM table WHERE Score = 68-71-76=215
Translate the following into a SQL query
Which player has a score of 68-69-73=210
SELECT Player FROM table WHERE Score = 68-69-73=210
Translate the following into a SQL query
Who has a finish of t66?
SELECT Player FROM table WHERE Finish = t66
Translate the following into a SQL query
What is Wayne Grady's total?
SELECT SUM Total FROM table WHERE Player = wayne grady
Translate the following into a SQL query
What percent did GRÜNE get in Tyrol where RETTÖ got 0.6%?
SELECT GRÜNE FROM table WHERE RETTÖ = 0.6% AND State = tyrol
Translate the following into a SQL query
What percent did RETTÖ get in the state where LINKE got 0.1%, and FRITZ got 1.3%?
SELECT RETTÖ FROM table WHERE LINKE = 0.1% AND FRITZ = 1.3%
Translate the following into a SQL query
What percent did GRÜNE get in the state where FRITZ got 1.3%?
SELECT GRÜNE FROM table WHERE FRITZ = 1.3%
Translate the following into a SQL query
What percent did LINKE get in Tyrol?
SELECT LINKE FROM table WHERE State = tyrol
Translate the following into a SQL query
What percent did STARK get in upper austria?
SELECT STARK FROM table WHERE State = upper austria
Translate the following into a SQL query
What's the lowest against on 27/03/1971?
SELECT MIN Against FROM table WHERE Date = 27/03/1971
Translate the following into a SQL query
What venue has an against over 14, an opposing team of scotland, and a status of five nations?
SELECT Venue FROM table WHERE Against > 14 AND Opposing Teams = scotland AND Status = five nations
Translate the following into a SQL query
What is the T4 Place Player with a Score of 71-74-66=211?
SELECT Player FROM table WHERE Place = t4 AND Score = 71-74-66=211
Translate the following into a SQL query
With a To par of –1, what is Player Henrik Stenson's Score?
SELECT Score FROM table WHERE To par = –1 AND Player = henrik stenson
Translate the following into a SQL query
What is the To par of the Player with a Score of 73-67-68=208?
SELECT To par FROM table WHERE Score = 73-67-68=208
Translate the following into a SQL query
WHAT IS THE PM THAT HAS NO BLOGS, NO XML Forms Management and workflow, NO SEARCH, AND NO SOCIAL SOFTWARE?
SELECT Project Management FROM table WHERE Blogs = no AND XML Forms Management and workflow = no AND Enterprise search = no AND Social software = no
Translate the following into a SQL query
WHAT CHARTING HAS NO BLOGS OR DISCUSSION?
SELECT Charting FROM table WHERE Blogs = no AND Discussion = no
Translate the following into a SQL query
WHAT IS THE SOCIAL SOFTWARE WITH NO DISCUSSION, NO TIME TRACKING, AND NO CHARTING?
SELECT Social software FROM table WHERE Discussion = no AND Time Tracking = no AND Charting = no
Translate the following into a SQL query
WHAT IS THE BOOKMARKING, TAGGING, RATING AND COMMENTS WITH NO LIST MANAGEMENT, NO CHARTING, NO WEB PUBLISHING, OF MICROSOFT EXCHANGE SERVER?
SELECT Bookmarking, Tagging, Rating and Comments FROM table WHERE List Management = no AND Charting = no AND Web publishing = no AND Name = microsoft exchange server
Translate the following into a SQL query
What is Constellation, when Date Sent is "September 4, 2001", and when Distance ( ly ) is less than 57.4?
SELECT Constellation FROM table WHERE Date sent = september 4, 2001 AND Distance ( ly ) < 57.4
Translate the following into a SQL query
What is Date, when Constellation is "Delphinus"?
SELECT Date sent FROM table WHERE Constellation = delphinus
Translate the following into a SQL query
What is the total number of Distance ( ly ), when Constellation is "Draco"?
SELECT COUNT Distance ( ly ) FROM table WHERE Constellation = draco
Translate the following into a SQL query
What is Date Sent, when Signal Power ( kW ) is less than 126, when Arrival Date is "January 2059", and when HD Designation is "HD193664"?
SELECT Date sent FROM table WHERE Signal power ( kW ) < 126 AND Arrival date = january 2059 AND HD designation = hd193664
Translate the following into a SQL query
What is Constellation, when HD Designation is "HD197076"?
SELECT Constellation FROM table WHERE HD designation = hd197076
Translate the following into a SQL query
What date was the match against leonardo tavares with a score of 6–4, 6–4?
SELECT Date FROM table WHERE Score = 6–4, 6–4 AND Opponent = leonardo tavares
Translate the following into a SQL query
What date was the match against adrián menéndez-maceiras?
SELECT Date FROM table WHERE Opponent = adrián menéndez-maceiras
Translate the following into a SQL query
What is the highest number of wins for Quambatook when Against is less than 1129?
SELECT MAX Wins FROM table WHERE Golden Rivers = quambatook AND Against < 1129
Translate the following into a SQL query
What is the total number of draws when there are fewer than 3 wins?
SELECT COUNT Draws FROM table WHERE Wins < 3
Translate the following into a SQL query
What is the total number of draws for Wakool when there are more than 11 losses and fewer than 4 wins?
SELECT COUNT Draws FROM table WHERE Losses > 11 AND Wins < 4 AND Golden Rivers = wakool
Translate the following into a SQL query
Which Country has a Score of 69-74=143?
SELECT Country FROM table WHERE Score = 69-74=143
Translate the following into a SQL query
Which Player has a To Par smaller than 5, and a Score of 70-72=142?
SELECT Player FROM table WHERE To Par < 5 AND Score = 70-72=142
Translate the following into a SQL query
What was Frank Moore's score?
SELECT Score FROM table WHERE Player = frank moore
Translate the following into a SQL query
What was the score of the game that home team birmingham city played?
SELECT Score FROM table WHERE Home team = birmingham city
Translate the following into a SQL query
What date was the game when away team northampton town played?
SELECT Date FROM table WHERE Away team = northampton town
Translate the following into a SQL query
Who was the team who played home team woking?
SELECT Away team FROM table WHERE Home team = woking
Translate the following into a SQL query
What is the home for the league 3rd liga (iii)?
SELECT Home FROM table WHERE League = 3rd liga (iii)
Translate the following into a SQL query
What is the home for league 3rd liga, and an away of 4-0?
SELECT Home FROM table WHERE League = 3rd liga AND Away = 4-0
Translate the following into a SQL query
What is the home for the away of 4-0?
SELECT Home FROM table WHERE Away = 4-0
Translate the following into a SQL query
What season has a league 3rd liga, and away of 1-0?
SELECT Season FROM table WHERE League = 3rd liga AND Away = 1-0
Translate the following into a SQL query
What is the home with a league 3rd liga, and an away of 4-0?
SELECT Home FROM table WHERE League = 3rd liga AND Away = 4-0
Translate the following into a SQL query
What team has a season of 2009-10?
SELECT Teams FROM table WHERE Season = 2009-10
Translate the following into a SQL query
What is the highest Goals Against, when Points is greater than 25, when Club is "SD Indautxu", and when Position is greater than 3?
SELECT MAX Goals against FROM table WHERE Points > 25 AND Club = sd indautxu AND Position > 3
Translate the following into a SQL query
What is the total number of Wins, when Draws is less than 2?
SELECT COUNT Wins FROM table WHERE Draws < 2
Translate the following into a SQL query
What is the average Wins, when Played is less than 30?
SELECT AVG Wins FROM table WHERE Played < 30
Translate the following into a SQL query
What is the total number of Wins, when Draws is less than 5, when Goals is greater than 49, and when Played is greater than 30?
SELECT COUNT Wins FROM table WHERE Draws < 5 AND Goals against > 49 AND Played > 30
Translate the following into a SQL query
What is the lowest Goal Difference, when Position is "7", and when Played is greater than 30?
SELECT MIN Goal Difference FROM table WHERE Position = 7 AND Played > 30
Translate the following into a SQL query
What is the week 3, prior to the when the week 4 was Laura Nicole?
SELECT Week 4 FROM table WHERE Week 3 = laura nicole
Translate the following into a SQL query
What was the week 2 prior to the when Miranda Jordan was the week 4?
SELECT Week 2 FROM table WHERE Week 4 = miranda jordan
Translate the following into a SQL query
What was the week 2 prior to the when Brittany Alyse was week 3?
SELECT Week 2 FROM table WHERE Week 3 = brittany alyse
Translate the following into a SQL query
What is the week 5 after Dani Dior as week 1?
SELECT Week 5 FROM table WHERE Week 1 = dani dior
Translate the following into a SQL query
What was the week 2 before Lara Leverence was week 3?
SELECT Week 2 FROM table WHERE Week 3 = lara leverence
Translate the following into a SQL query
What is the total number of bronzes that is less than 1 in total?
SELECT COUNT Bronze FROM table WHERE Total < 1
Translate the following into a SQL query
What is the total number of bronze that has less than 2 gold, and more than 1 silver?
SELECT COUNT Bronze FROM table WHERE Gold < 2 AND Silver > 1
Translate the following into a SQL query
What is the lowest rank with less than 1 gold, 0 silver, 1 bronze, and a total less than 1?
SELECT MIN Rank FROM table WHERE Gold < 1 AND Silver = 0 AND Bronze = 1 AND Total < 1
Translate the following into a SQL query
What is the average bronze for less than 0 gold?
SELECT AVG Bronze FROM table WHERE Gold < 0
Translate the following into a SQL query
What is the total number for less than 8 bronze, the Netherlands nation, and is ranked less than 16?
SELECT COUNT Total FROM table WHERE Bronze < 8 AND Nation = netherlands AND Rank < 16
Translate the following into a SQL query
What California city has an active status and a greek designation of established colony?
SELECT City FROM table WHERE Status = active AND U.S. State/District = california AND Greek Designation = established colony
Translate the following into a SQL query
What's the greek designation of the new york chapter with a charter date of april 23, 2005?
SELECT Greek Designation FROM table WHERE U.S. State/District = new york AND Charter Date = april 23, 2005
Translate the following into a SQL query
What collegiate institution has an active status and a charter date of march 30, 2002?
SELECT Collegiate Institution FROM table WHERE Status = active AND Charter Date = march 30, 2002
Translate the following into a SQL query
What's the greek designation of the city riverside?
SELECT Greek Designation FROM table WHERE City = riverside
Translate the following into a SQL query
What city has a charter date of november 24, 1999?
SELECT City FROM table WHERE Charter Date = november 24, 1999
Translate the following into a SQL query
What state or district has a charter date of april 17, 2011?
SELECT U.S. State/District FROM table WHERE Charter Date = april 17, 2011
Translate the following into a SQL query
What is the smallest all around when the total is 19.85 and the hoop is less than 9.85?
SELECT MIN All Around FROM table WHERE Total = 19.85 AND Hoop < 9.85
Translate the following into a SQL query
What is the average hoop when the all around is less than 9.7?
SELECT AVG Hoop FROM table WHERE All Around < 9.7
Translate the following into a SQL query
What is Per Capita Income, when Population is greater than 9,563, and when Median Family Income is "$49,310"?
SELECT Per capita income FROM table WHERE Population > 9,563 AND Median family income = $49,310
Translate the following into a SQL query
What is Median Family Income, when Median Household Income is "$50,717"?
SELECT Median family income FROM table WHERE Median household income = $50,717
Translate the following into a SQL query
What is the highest Number of Households, when Per Capita Income is "$25,557", and when Population is less than "22,330"?
SELECT MAX Number of households FROM table WHERE Per capita income = $25,557 AND Population < 22,330
Translate the following into a SQL query
What is the lowest Population, when Per Capita Income is "$16,330"?
SELECT MIN Population FROM table WHERE Per capita income = $16,330
Translate the following into a SQL query
What is the highest Population, when Per Capita Income is "$17,168", and when Number of Households is greater than 3,287?
SELECT MAX Population FROM table WHERE Per capita income = $17,168 AND Number of households > 3,287
Translate the following into a SQL query
What is Place, when Score is "70-68=138", and when Player is "Andrew Magee"?
SELECT Place FROM table WHERE Score = 70-68=138 AND Player = andrew magee
Translate the following into a SQL query
What is To par, when Place is "T5", and when Score is "70-68=138"?
SELECT To par FROM table WHERE Place = t5 AND Score = 70-68=138
Translate the following into a SQL query
What is Score, when Place is "T5", when Country is "United States", and when Player is "Davis Love III"?
SELECT Score FROM table WHERE Place = t5 AND Country = united states AND Player = davis love iii
Translate the following into a SQL query
What is Player, when Country is "United States", when Place is "T10", and when Score is "68-71=139"?
SELECT Player FROM table WHERE Country = united states AND Place = t10 AND Score = 68-71=139
Translate the following into a SQL query
What is Score, when Player is "Vijay Singh"?
SELECT Score FROM table WHERE Player = vijay singh
Translate the following into a SQL query
Which Player has a To par of –2, and a Country of wales?
SELECT Player FROM table WHERE To par = –2 AND Country = wales