instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
Which Incumbent has a First elected larger than 1884?
SELECT Incumbent FROM table WHERE First elected > 1884
Translate the following into a SQL query
What is the English title with a Director named ang lee?
SELECT English title FROM table WHERE Director = ang lee
Translate the following into a SQL query
What is the Original title with a Country that is canada?
SELECT Original title FROM table WHERE Country = canada
Translate the following into a SQL query
Which Architecture and modelling has a Unit test of no, and a Projects templates of limited?
SELECT Architecture and modelling FROM table WHERE Unit test = no AND Projects templates = limited
Translate the following into a SQL query
which MSDN integration has a Load testing of no, and a Test impact analysis of no?
SELECT MSDN integration FROM table WHERE Load testing = no AND Test impact analysis = no
Translate the following into a SQL query
Which Unit test has a MSDN integration of full, and a Projects templates of yes?
SELECT Unit test FROM table WHERE MSDN integration = full AND Projects templates = yes
Translate the following into a SQL query
Which Intelli Trace has a No Extension and Windows Phone development of no?
SELECT IntelliTrace FROM table WHERE Extensions = no AND Windows Phone development = no
Translate the following into a SQL query
Which Projects template has an IntelliTrace of no, and a Windows Phone development of yes, and a Test impact analysis of no?
SELECT Projects templates FROM table WHERE IntelliTrace = no AND Windows Phone development = yes AND Test impact analysis = no
Translate the following into a SQL query
Which MSDN integration has a IntelliTrace of yes?
SELECT MSDN integration FROM table WHERE IntelliTrace = yes
Translate the following into a SQL query
During what Years of Operation was the location prospect 33 prospect ave?
SELECT Years of Operation FROM table WHERE Location = prospect 33 prospect ave
Translate the following into a SQL query
What is the location of the ivy club?
SELECT Location FROM table WHERE Name = the ivy club
Translate the following into a SQL query
What is the Sign-in/Bicker at wash50 on washington rd?
SELECT Sign-in/Bicker FROM table WHERE Location = wash50 on washington rd
Translate the following into a SQL query
When was the Clubhouse built with a Sign-in/Bicker of bicker, and Named cannon club?
SELECT Year Clubhouse Constructed FROM table WHERE Sign-in/Bicker = bicker AND Name = cannon club
Translate the following into a SQL query
Which Sign-in/Bicker is at of wash50 on washington rd?
SELECT Sign-in/Bicker FROM table WHERE Location = wash50 on washington rd
Translate the following into a SQL query
Which Historical Photos were taken at prospect 43 prospect ave?
SELECT Historical Photos FROM table WHERE Location = prospect 43 prospect ave
Translate the following into a SQL query
What is the 1st leg of team 1 Lyon?
SELECT 1st leg FROM table WHERE Team 1 = lyon
Translate the following into a SQL query
What is the 1st leg of team 1 Liverpool?
SELECT 1st leg FROM table WHERE Team 1 = liverpool
Translate the following into a SQL query
How many events resulted in a top-25 less than 2?
SELECT COUNT Events FROM table WHERE Top-25 < 2
Translate the following into a SQL query
What is the smallest number of wins for a top-25 value greater than 5 and more than 38 cuts?
SELECT MIN Wins FROM table WHERE Top-25 > 5 AND Cuts made > 38
Translate the following into a SQL query
How many bronze medals did Chinese Taipei win with less than 0 gold?
SELECT COUNT Bronze FROM table WHERE Nation = chinese taipei AND Gold < 0
Translate the following into a SQL query
How many silver medals had a rank of 3 with bronze larger than 0?
SELECT COUNT Silver FROM table WHERE Rank = 3 AND Bronze > 0
Translate the following into a SQL query
How many silver medals does China have?
SELECT COUNT Silver FROM table WHERE Nation = china
Translate the following into a SQL query
Which Position has Losses of 11, and a Played larger than 22?
SELECT SUM Position FROM table WHERE Losses = 11 AND Played > 22
Translate the following into a SQL query
How many Wins have a Scored smaller than 24, and a Conceded larger than 25, and Draws larger than 5, and a Position smaller than 9?
SELECT COUNT Wins FROM table WHERE Scored < 24 AND Conceded > 25 AND Draws > 5 AND Position < 9
Translate the following into a SQL query
How many Points has a Position of 8?
SELECT AVG Points FROM table WHERE Position = 8
Translate the following into a SQL query
How many Wins has a Scored of 27 and Draws smaller than 5?
SELECT COUNT Wins FROM table WHERE Scored = 27 AND Draws < 5
Translate the following into a SQL query
Which Position has Draws smaller than 7 and a Played larger than 22?
SELECT AVG Position FROM table WHERE Draws < 7 AND Played > 22
Translate the following into a SQL query
Which Played has a Scored larger than 25 and a Position of 1, and Draws smaller than 5?
SELECT MAX Played FROM table WHERE Scored > 25 AND Position = 1 AND Draws < 5
Translate the following into a SQL query
When was the player with 51 caps from a Club/province of clermont born?
SELECT Date of Birth (Age) FROM table WHERE Caps = 51 AND Club/province = clermont
Translate the following into a SQL query
How many Episode Counts have an Actor of liz carr?
SELECT COUNT Episode Count FROM table WHERE Actor = liz carr
Translate the following into a SQL query
Which Years have a Character of dr trevor stewart?
SELECT Years FROM table WHERE Character = dr trevor stewart
Translate the following into a SQL query
Which Series has an Actor of tom ward?
SELECT Series FROM table WHERE Actor = tom ward
Translate the following into a SQL query
How many picks involved the player Joe Germanese?
SELECT SUM Pick # FROM table WHERE Player = joe germanese
Translate the following into a SQL query
Which player's pick number was 25?
SELECT Player FROM table WHERE Pick # = 25
Translate the following into a SQL query
What team did the Montreal Canadiens visit when the record was 0-3?
SELECT Home FROM table WHERE Visitor = montreal canadiens AND Record = 0-3
Translate the following into a SQL query
What was the score on April 23?
SELECT Score FROM table WHERE Date = april 23
Translate the following into a SQL query
What team did the Chicago Black Hawks visit on April 20?
SELECT Home FROM table WHERE Visitor = chicago black hawks AND Date = april 20
Translate the following into a SQL query
How many Games have a Drawn larger than 0, and a Lost of 1?
SELECT COUNT Games FROM table WHERE Drawn > 0 AND Lost = 1
Translate the following into a SQL query
Which Points have a Drawn larger than 0, and a Lost larger than 1?
SELECT AVG Points FROM table WHERE Drawn > 0 AND Lost > 1
Translate the following into a SQL query
Which Drawn has a Lost larger than 0, and Points smaller than 11, and Games smaller than 7?
SELECT AVG Drawn FROM table WHERE Lost > 0 AND Points < 11 AND Games < 7
Translate the following into a SQL query
What is the percentage of the liberal party with less than 25 percent of seats?
SELECT COUNT Percentage FROM table WHERE Party = liberal AND Percent of seats < 25
Translate the following into a SQL query
Which party won less than 21 seats, has 0 percent of seats, and 69757 votes cast?
SELECT Party FROM table WHERE Seats won < 21 AND Percent of seats = 0 AND Votes cast = 69757
Translate the following into a SQL query
Can you tell me the Date that has the Game of 2?
SELECT Date FROM table WHERE Game = 2
Translate the following into a SQL query
When the date is July 8, and the score is 8-12, who is the opponent?
SELECT Opponent FROM table WHERE Date = july 8 AND Score = 8-12
Translate the following into a SQL query
When the Loss is Johnson (4-12), what is the date?
SELECT Date FROM table WHERE Loss = johnson (4-12)
Translate the following into a SQL query
What date is associated with the Loss of Farrell (6-13)?
SELECT Date FROM table WHERE Loss = farrell (6-13)
Translate the following into a SQL query
Which opponent has the score of 0-3?
SELECT Opponent FROM table WHERE Score = 0-3
Translate the following into a SQL query
What is the Total of kyrgyzstan with a Silver smaller than 0?
SELECT AVG Total FROM table WHERE Nation = kyrgyzstan AND Silver < 0
Translate the following into a SQL query
What is the Total that has a number of Nation and a Gold smaller than 16?
SELECT MIN Total FROM table WHERE Nation = total AND Gold < 16
Translate the following into a SQL query
Which Rank has a Silver larger than 1 and a Total larger than 13?
SELECT Rank FROM table WHERE Silver > 1 AND Total > 13
Translate the following into a SQL query
How many Silvers that have a Rank of 2?
SELECT COUNT Silver FROM table WHERE Rank = 2
Translate the following into a SQL query
What was the previous conference for the school that joined in 2000 with a millers mascot?
SELECT Previous Conference FROM table WHERE Year Joined = 2000 AND Mascot = millers
Translate the following into a SQL query
What is the name of the college that is from a round greater than 3 with Gillis Wilson playing?
SELECT College FROM table WHERE Round > 3 AND Player = gillis wilson
Translate the following into a SQL query
What is average round of Auburn College?
SELECT AVG Round FROM table WHERE College = auburn
Translate the following into a SQL query
Which Top 10 is the lowest one that has Winnings of $405,300, and an Avg Start smaller than 30?
SELECT MIN Top 10 FROM table WHERE Winnings = $405,300 AND Avg. Start < 30
Translate the following into a SQL query
How many Wins have a Top 5 smaller than 0?
SELECT SUM Wins FROM table WHERE Top 5 < 0
Translate the following into a SQL query
Which Top 10 has a Top 5 larger than 1, and a Year of 2003, and Poles larger than 0?
SELECT AVG Top 10 FROM table WHERE Top 5 > 1 AND Year = 2003 AND Poles > 0
Translate the following into a SQL query
How many Top 10s have Wins larger than 0, and Poles larger than 0?
SELECT COUNT Top 10 FROM table WHERE Wins > 0 AND Poles > 0
Translate the following into a SQL query
What is the Established date of the Ontario Provincial Junior A Hockey League with more than 1 Championship?
SELECT COUNT Established FROM table WHERE League = ontario provincial junior a hockey AND Championships > 1
Translate the following into a SQL query
What Venue has more than 1 Championship and was Established after 1957?
SELECT Venue FROM table WHERE Championships = 1 AND Established > 1957
Translate the following into a SQL query
With less than 1 Championship, what es the Established date of the Niagara Rugby Union League?
SELECT SUM Established FROM table WHERE Championships < 1 AND League = niagara rugby union
Translate the following into a SQL query
What is the Established date of the Brian Timmis Stadium?
SELECT COUNT Established FROM table WHERE Venue = brian timmis stadium
Translate the following into a SQL query
What is the junior type with an intake of 60 and a DCSF number less than 3386 with the smallest Ofsted number?
SELECT MIN Ofsted number FROM table WHERE Intake = 60 AND Type = junior AND DCSF number < 3386
Translate the following into a SQL query
Which Record has a Game smaller than 19, and Points smaller than 19, and a Score of 4–6?
SELECT Record FROM table WHERE Game < 19 AND Points < 19 AND Score = 4–6
Translate the following into a SQL query
How many games have a Record of 7–6–3, and Points smaller than 17?
SELECT COUNT Game FROM table WHERE Record = 7–6–3 AND Points < 17
Translate the following into a SQL query
Which Points have an Opponent of vancouver canucks, and a November smaller than 11?
SELECT AVG Points FROM table WHERE Opponent = vancouver canucks AND November < 11
Translate the following into a SQL query
which Record is on March of 12
SELECT Record FROM table WHERE March = 12
Translate the following into a SQL query
What is the number of March that has 25-10-9 record and a Game more than 44?
SELECT COUNT March FROM table WHERE Record = 25-10-9 AND Game > 44
Translate the following into a SQL query
Which Game has a Record of 27-11-10?
SELECT AVG Game FROM table WHERE Record = 27-11-10
Translate the following into a SQL query
What is the Speed when Construction begun in 2010, and an Expected start of revenue services of 2015?
SELECT Speed FROM table WHERE Construction begun = 2010 AND Expected start of revenue services = 2015
Translate the following into a SQL query
What is the length when the expected start of revenue is more than 2017?
SELECT Length FROM table WHERE Expected start of revenue services > 2017
Translate the following into a SQL query
What was the undecided with Roy Barnes at 47%?
SELECT Undecided FROM table WHERE Roy Barnes = 47%
Translate the following into a SQL query
What is the DuBose Porter with Roy Barnes at 54%?
SELECT DuBose Porter FROM table WHERE Roy Barnes = 54%
Translate the following into a SQL query
What series episode has deli meats under segment B?
SELECT Series Ep. FROM table WHERE Segment B = deli meats
Translate the following into a SQL query
Which After 1 year has an After 3 years of 80%?
SELECT After 1 year FROM table WHERE After 3 years = 80%
Translate the following into a SQL query
What position does Alexei Lazarenko have?
SELECT Position FROM table WHERE Player = alexei lazarenko
Translate the following into a SQL query
What college did Jamie Butt go to?
SELECT College/Junior/Club Team (League) FROM table WHERE Player = jamie butt
Translate the following into a SQL query
What school did Alexander Korobolin go to?
SELECT College/Junior/Club Team (League) FROM table WHERE Player = alexander korobolin
Translate the following into a SQL query
Who has a round less than 9 and a position of G?
SELECT Player FROM table WHERE Position = g AND Round < 9
Translate the following into a SQL query
Name the sum of cuts with wins less than 2, top-25 more than 7 and top-10 less than 2
SELECT SUM Cuts made FROM table WHERE Wins < 2 AND Top-25 > 7 AND Top-10 < 2
Translate the following into a SQL query
What was the score that led to an 11-16 record?
SELECT Score FROM table WHERE Record = 11-16
Translate the following into a SQL query
Who took the loss on May 20?
SELECT Loss FROM table WHERE Date = may 20
Translate the following into a SQL query
What was the attendance of the game that lasted 3:55?
SELECT Att. FROM table WHERE Time = 3:55
Translate the following into a SQL query
What was the date of the game in which Holt (4-4) took the loss?
SELECT Date FROM table WHERE Loss = holt (4-4)
Translate the following into a SQL query
What was the date when the pitcher was Jason Marquis and the length was 410'?
SELECT Date FROM table WHERE Pitcher = jason marquis AND Length = 410'
Translate the following into a SQL query
What number home run was in the 8th inning and went 410'?
SELECT Number FROM table WHERE Inning = 8th AND Length = 410'
Translate the following into a SQL query
Which Max 1-min wind mph (km/h) that has Dates active on september22– september28?
SELECT Max 1-min wind mph (km/h) FROM table WHERE Dates active = september22– september28
Translate the following into a SQL query
Which Min press has none Death and seven Storm names?
SELECT Min. press. ( mbar ) FROM table WHERE Deaths = none AND Storm name = seven
Translate the following into a SQL query
What is the cost of 972 Min Press caused 52 death?
SELECT Damage (millions USD ) FROM table WHERE Min. press. ( mbar ) = 972 AND Deaths = 52
Translate the following into a SQL query
What is the active Date that has a 65 (100) Max 1-min wind?
SELECT Dates active FROM table WHERE Max 1-min wind mph (km/h) = 65 (100)
Translate the following into a SQL query
What is the Class AA with a Class AAAA of Sulphur Springs and Duncanville as the class AAAAA?
SELECT Class AA FROM table WHERE Class AAAA = sulphur springs AND Class AAAAA = duncanville
Translate the following into a SQL query
What is the Class AA in the 2010-11 school year with a class AAA of Giddings?
SELECT Class AA FROM table WHERE Class AAA = giddings AND School Year = 2010-11
Translate the following into a SQL query
What is the Class AA of the school year 2009-10 with a class AAA of Giddings?
SELECT Class AA FROM table WHERE Class AAA = giddings AND School Year = 2009-10
Translate the following into a SQL query
What is the class AAAAA of the school year 1993-94 with a class AAA of Mont Belvieu Barbers Hill?
SELECT Class AAAAA FROM table WHERE Class AAA = mont belvieu barbers hill AND School Year = 1993-94
Translate the following into a SQL query
What is the school year with a class AA of Rosebud-Lott, a class AAAAA of Duncanville, and a class AAA of Mont Belvieu Barbers Hill?
SELECT School Year FROM table WHERE Class AA = rosebud-lott AND Class AAAAA = duncanville AND Class AAA = mont belvieu barbers hill
Translate the following into a SQL query
What is the class AAA of the 1993-94 school year with a class AAAAA of Duncanville?
SELECT Class AAA FROM table WHERE Class AAAAA = duncanville AND School Year = 1993-94
Translate the following into a SQL query
Who was the visiting team on May 7?
SELECT Visitor FROM table WHERE Date = may 7
Translate the following into a SQL query
what year has 13,426,901 passengers and more than 10,726,551 international passengers?
SELECT SUM Year FROM table WHERE Total passengers = 13,426,901 AND International passengers > 10,726,551
Translate the following into a SQL query
what total number of passengers is domestic and larger than 2,803,907 and a year after 1999?
SELECT COUNT Total passengers FROM table WHERE Domestic passengers = 2,803,907 AND Year > 1999
Translate the following into a SQL query
Who had a Qualifying 2 time over 58.669 for Team Australia?
SELECT Name FROM table WHERE Qual 2 > 58.669 AND Team = team australia