instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What order has the title Deacon of SS. Cosma E Damiano?
SELECT Order FROM table WHERE Title = deacon of ss. cosma e damiano
Translate the following into a SQL query
What is # Eng., when Outside Diameter, Main Passenger Deck is "inches (m)", and when Maximum Metric MTOW is "231.3 tons"?
SELECT # Eng. FROM table WHERE Outside Diameter, main passenger deck = inches (m) AND Maximum Metric MTOW = 231.3 tons
Translate the following into a SQL query
What is 2009, when 2008 is "A", when 2011 is "A", and when Tournament is "Paris Masters"?
SELECT 2009 FROM table WHERE 2008 = a AND 2011 = a AND Tournament = paris masters
Translate the following into a SQL query
What is 2008, when 2009 is "A", and when Tournament is "Madrid Masters"?
SELECT 2008 FROM table WHERE 2009 = a AND Tournament = madrid masters
Translate the following into a SQL query
What is Tournament, when 2012 is "A", when 2011 is "A", and when 2008 is "A"?
SELECT Tournament FROM table WHERE 2012 = a AND 2011 = a AND 2008 = a
Translate the following into a SQL query
What is 2009, when 2011 is "Q2"?
SELECT 2009 FROM table WHERE 2011 = q2
Translate the following into a SQL query
What is 2011, when Tournament is "Year-End Ranking"?
SELECT 2011 FROM table WHERE Tournament = year-end ranking
Translate the following into a SQL query
What was Mark O'Meara's total?
SELECT Total FROM table WHERE Player = mark o'meara
Translate the following into a SQL query
What year did Tom Watson win?
SELECT Year(s) won FROM table WHERE Player = tom watson
Translate the following into a SQL query
Who was the 1st member elected in 1511/12?
SELECT 1st member FROM table WHERE Elected = 1511/12
Translate the following into a SQL query
Who was the 1st member of the parliament that was dissolved 23 february 1510?
SELECT 1st member FROM table WHERE Dissolved = 23 february 1510
Translate the following into a SQL query
When was the parliament that was elected in 1509/10, and had an unknown second member, dissolved?
SELECT Dissolved FROM table WHERE 2nd member = unknown AND Elected = 1509/10
Translate the following into a SQL query
Who was the 1st member that was elected in 1541/42?
SELECT 1st member FROM table WHERE Elected = 1541/42
Translate the following into a SQL query
Who was the 2nd member of the parliament that was assembled on 3 november 1529?
SELECT 2nd member FROM table WHERE Assembled = 3 november 1529
Translate the following into a SQL query
Who was the 2nd member of the parliament that was assembled on 3 november 1529?
SELECT 2nd member FROM table WHERE Assembled = 3 november 1529
Translate the following into a SQL query
What date was the competition of the Emerging Nations Tournament and a result of Scotland 34-9 Russia?
SELECT Date FROM table WHERE Competition = emerging nations tournament AND Result = scotland 34-9 russia
Translate the following into a SQL query
What number was manufactured 1 in 1841?
SELECT Number(s) FROM table WHERE Quantity = 1 AND Year(s) of Manufacture = 1841
Translate the following into a SQL query
What is the quantity of class B V?
SELECT Quantity FROM table WHERE Class = b v
Translate the following into a SQL query
What number corresponds to the quantity of 24?
SELECT Number(s) FROM table WHERE Quantity = 24
Translate the following into a SQL query
What is Tim Wollthan's Date of Birth?
SELECT Date of Birth FROM table WHERE Name = tim wollthan
Translate the following into a SQL query
What D Player with a Height of m (ft 4in) is in the Spandau 04 Club?
SELECT Name FROM table WHERE Club = spandau 04 AND Height = m (ft 4in) AND Pos. = d
Translate the following into a SQL query
What is the Club of the Player with a Date of Birth of 1979-01-29?
SELECT Club FROM table WHERE Date of Birth = 1979-01-29
Translate the following into a SQL query
What is the Weight of the Spandau 04 Player with a Height of m (ft 5in)?
SELECT Weight FROM table WHERE Club = spandau 04 AND Height = m (ft 5in)
Translate the following into a SQL query
What is Spandau 04 Player Jens Pohlmann's Pos.?
SELECT Pos. FROM table WHERE Club = spandau 04 AND Name = jens pohlmann
Translate the following into a SQL query
Which play is from Ireland?
SELECT Player FROM table WHERE Country = ireland
Translate the following into a SQL query
Which country is Howard Clark from?
SELECT Country FROM table WHERE Player = howard clark
Translate the following into a SQL query
What is the most silver medals won among nations that won more than 40 medals total, less than 25 of them being gold, and more than 15 of them being bronze?
SELECT MAX Silver FROM table WHERE Total > 40 AND Gold < 25 AND Bronze > 15
Translate the following into a SQL query
Of the 1978 winners, who had finish totals smaller than 292?
SELECT Finish FROM table WHERE Total < 292 AND Year(s) won = 1978
Translate the following into a SQL query
What were the finishes by David Graham with totals lower than 292?
SELECT Finish FROM table WHERE Total = 292 AND Player = david graham
Translate the following into a SQL query
What is Australia´s finish?
SELECT Finish FROM table WHERE Country = australia
Translate the following into a SQL query
What is the name of the church that is located in florø?
SELECT Church Name FROM table WHERE Location of the Church = florø
Translate the following into a SQL query
What is the name of the church that is located in eikefjord?
SELECT Church Name FROM table WHERE Location of the Church = eikefjord
Translate the following into a SQL query
In which Parish (Prestegjeld) is the church called Stavang Kyrkje?
SELECT Parish (Prestegjeld) FROM table WHERE Church Name = stavang kyrkje
Translate the following into a SQL query
What is the Sub-Parish (Sokn) that was built in 1957 in the location of Stavang?
SELECT Sub-Parish (Sokn) FROM table WHERE Year Built = 1957 AND Location of the Church = stavang
Translate the following into a SQL query
In what year was the church located in florø built?
SELECT Year Built FROM table WHERE Location of the Church = florø
Translate the following into a SQL query
Which Parish (Prestegjeld) was built in 1907?
SELECT Parish (Prestegjeld) FROM table WHERE Year Built = 1907
Translate the following into a SQL query
What's the height in feet of Mount Queen Bess with a height in metres less than 3298 and a prominence in feet of more than 7,126?
SELECT MAX Height (feet) FROM table WHERE Prominence (feet) > 7,126 AND Mountain/Peak = mount queen bess AND Height (metres) < 3298
Translate the following into a SQL query
What's the total number of prominence in metres when the prominence is 7,356 ft and less than 2692 metres in height?
SELECT COUNT Prominence (metres) FROM table WHERE Prominence (feet) = 7,356 AND Height (metres) < 2692
Translate the following into a SQL query
What's the total number of prominence in metres of Otter Mountain with a height of less than 2692 metres and taller than 11,663 ft?
SELECT COUNT Prominence (metres) FROM table WHERE Height (feet) > 11,663 AND Mountain/Peak = otter mountain AND Height (metres) < 2692
Translate the following into a SQL query
What's the average year that sara orlesky and farhan lalji are the sideline reporters?
SELECT AVG Year FROM table WHERE Sideline reporters = sara orlesky and farhan lalji
Translate the following into a SQL query
What was the attendance on september 29?
SELECT MAX Attendance FROM table WHERE Date = september 29
Translate the following into a SQL query
What was the attendance on september 8?
SELECT AVG Attendance FROM table WHERE Date = september 8
Translate the following into a SQL query
Which Week has a Result of l 10–30, and an Attendance larger than 57,312?
SELECT AVG Week FROM table WHERE Result = l 10–30 AND Attendance > 57,312
Translate the following into a SQL query
What is Date, when Tie no is "3"?
SELECT Date FROM table WHERE Tie no = 3
Translate the following into a SQL query
What is Date, when Away Team is "Brentford"?
SELECT Date FROM table WHERE Away team = brentford
Translate the following into a SQL query
What is Date, when Home Team is "Everton"?
SELECT Date FROM table WHERE Home team = everton
Translate the following into a SQL query
What is Away Team, when Home Team is "West Ham United"?
SELECT Away team FROM table WHERE Home team = west ham united
Translate the following into a SQL query
What is Venue, when Balls is "148"?
SELECT Venue FROM table WHERE Balls = 148
Translate the following into a SQL query
What is Name, when Score is "101"?
SELECT Name FROM table WHERE Score = 101
Translate the following into a SQL query
What is Date, when Venue is "Taunton", and when Name is "SC Ganguly"?
SELECT Date FROM table WHERE Venue = taunton AND Name = sc ganguly
Translate the following into a SQL query
What is Balls, when Venue is "Bristol", and when Score is "104*"?
SELECT Balls FROM table WHERE Venue = bristol AND Score = 104*
Translate the following into a SQL query
What is the number of silver when bronze is less than 0?
SELECT COUNT Silver FROM table WHERE Bronze < 0
Translate the following into a SQL query
What is the gold when silver is less than 1, rank is 12, and total is less than 3?
SELECT MAX Gold FROM table WHERE Silver < 1 AND Rank = 12 AND Total < 3
Translate the following into a SQL query
What shows for gold when the rank is less than 3, and silver less than 1?
SELECT SUM Gold FROM table WHERE Rank < 3 AND Silver < 1
Translate the following into a SQL query
What is the total when gold is 1, and rank is more than 4, and bronze is 0?
SELECT COUNT Total FROM table WHERE Gold = 1 AND Rank > 4 AND Bronze = 0
Translate the following into a SQL query
What shows for bronze when silver is 1, rank is smaller than 4, and gold is larger than 1?
SELECT SUM Bronze FROM table WHERE Silver = 1 AND Rank < 4 AND Gold > 1
Translate the following into a SQL query
What is the gold when silver is 1, rank is larger than 3, total is smaller than 2, bronze is smaller than 0?
SELECT SUM Gold FROM table WHERE Silver = 1 AND Rank > 3 AND Total < 2 AND Bronze < 0
Translate the following into a SQL query
What player is from France?
SELECT Player FROM table WHERE Country = france
Translate the following into a SQL query
What place is S.K. Ho in?
SELECT Place FROM table WHERE Player = s.k. ho
Translate the following into a SQL query
What player is from Scotland and has a score of 74-70=144?
SELECT Player FROM table WHERE Score = 74-70=144 AND Country = scotland
Translate the following into a SQL query
Which player is from South Africa?
SELECT Player FROM table WHERE Country = south africa
Translate the following into a SQL query
What country is the player with a score of 72-72=144 from?
SELECT Country FROM table WHERE Score = 72-72=144
Translate the following into a SQL query
Which Geelong DFL has 8 losses and more than 4 wins?
SELECT Geelong DFL FROM table WHERE Wins > 4 AND Losses = 8
Translate the following into a SQL query
What number of examines after 2005 has a pass percentage of 78.35% with less than 297 students?
SELECT COUNT Number of Examinees FROM table WHERE Year > 2005 AND Pass Percentage = 78.35% AND Number of Passed Students < 297
Translate the following into a SQL query
Which venue was founded after 1967 and had the league North American Soccer League?
SELECT Venue FROM table WHERE Founded > 1967 AND League = north american soccer league
Translate the following into a SQL query
Which venue was fouded before 2000 for basketball?
SELECT Venue FROM table WHERE Founded < 2000 AND Sport = basketball
Translate the following into a SQL query
Which club had football at Mitchel Athletic Field?
SELECT Club FROM table WHERE Sport = football AND Venue = mitchel athletic field
Translate the following into a SQL query
Which club was founded in 1962?
SELECT Club FROM table WHERE Founded = 1962
Translate the following into a SQL query
What is the total sum of the player from the United States who won in 1986?
SELECT SUM Total FROM table WHERE Country = united states AND Year(s) won = 1986
Translate the following into a SQL query
What year did the player with a total less than 300 and a to par of 9 have a win?
SELECT Year(s) won FROM table WHERE Total < 300 AND To par = 9
Translate the following into a SQL query
What is total number of the to par of player john mahaffey, who has a total less than 298?
SELECT COUNT To par FROM table WHERE Player = john mahaffey AND Total < 298
Translate the following into a SQL query
What is the sum of the total of the player who won in 1979?
SELECT SUM Total FROM table WHERE Year(s) won = 1979
Translate the following into a SQL query
What is the country of the player who has a total larger than 300?
SELECT Country FROM table WHERE Total > 300
Translate the following into a SQL query
What is the Shropshire Senior Cup when points are greater than 78 and FA Cup is pre?
SELECT Shropshire Senior Cup FROM table WHERE Points > 78 AND FA Cup = pre
Translate the following into a SQL query
What season had 78 points?
SELECT Season FROM table WHERE Points = 78
Translate the following into a SQL query
For the match against Arema Malang that ended in a draw, what was the final score?
SELECT Score FROM table WHERE Result = draw AND Opponent = arema malang
Translate the following into a SQL query
What was the final score for the match held on April 11, 2007?
SELECT Score FROM table WHERE Date = april 11, 2007
Translate the following into a SQL query
What was the location for the match held on April 11, 2007, which ended with a score of 0-0?
SELECT Venue FROM table WHERE Score = 0-0 AND Date = april 11, 2007
Translate the following into a SQL query
What was the location for the match held on March 7, 2007, which ended with a score of 0-0?
SELECT Venue FROM table WHERE Score = 0-0 AND Date = march 7, 2007
Translate the following into a SQL query
What is on at 12:30pm when Local Programs are on at 8am?
SELECT 12:30 pm FROM table WHERE 8:00 am = local programs
Translate the following into a SQL query
What is on at 1:30 if Pinky and the Brain is on a 4:00pm?
SELECT 1:30 pm FROM table WHERE 4:00 pm = pinky and the brain
Translate the following into a SQL query
What is the 12:30 program of Good Morning America is on at 8:00am?
SELECT 12:30 pm FROM table WHERE 8:00 am = good morning america
Translate the following into a SQL query
What is on at 8am if The Young and the Restless is on at 12:30?
SELECT 8:00 am FROM table WHERE 12:30 pm = the young and the restless
Translate the following into a SQL query
What is on at 3:00pm if Port Charles is on at 12:30?
SELECT 3:00 pm FROM table WHERE 12:30 pm = port charles
Translate the following into a SQL query
Amritpur has what constituency number?
SELECT Constituency number FROM table WHERE Name = amritpur
Translate the following into a SQL query
With the number of electorates (2009) greater than 272,902, and 192 as the constituency number, what is the reserved for (SC / ST /None)?
SELECT Reserved for ( SC / ST /None) FROM table WHERE Number of electorates (2009) > 272,902 AND Constituency number = 192
Translate the following into a SQL query
Kaimganj has what reserved for (SC / ST /None)?
SELECT Reserved for ( SC / ST /None) FROM table WHERE Name = kaimganj
Translate the following into a SQL query
Which country is bob tway from?
SELECT Country FROM table WHERE Player = bob tway
Translate the following into a SQL query
Which country won in 1986?
SELECT Country FROM table WHERE Year(s) won = 1986
Translate the following into a SQL query
What is Fiji's lowest total?
SELECT MIN Total FROM table WHERE Country = fiji
Translate the following into a SQL query
What is the date with the local name, дан државности србије, dan državnosti srbije, and what is February 15, 2012?
SELECT Date FROM table WHERE Local Name = дан државности србије, dan državnosti srbije AND 2012 Date = february 15
Translate the following into a SQL query
What is the local name for January 7, 2013?
SELECT Local Name FROM table WHERE 2013 Date = january 7
Translate the following into a SQL query
What was on January 7, 2012?
SELECT Date FROM table WHERE 2012 Date = january 7
Translate the following into a SQL query
What Country had a Player with a Score of 72-66-72=210?
SELECT Country FROM table WHERE Score = 72-66-72=210
Translate the following into a SQL query
What is the Place of the Player with a To par of –6?
SELECT Place FROM table WHERE To par = –6
Translate the following into a SQL query
What is the Place of the Player with a Score of 68-73-76=217?
SELECT Place FROM table WHERE Score = 68-73-76=217
Translate the following into a SQL query
What is Justin Leonard's To par?
SELECT To par FROM table WHERE Player = justin leonard
Translate the following into a SQL query
What is the architecture version of Model 1b?
SELECT Architecture version FROM table WHERE Model = 1b
Translate the following into a SQL query
What is the name of the architecture version of the MIPS-III 64-bit, and model 2b?
SELECT Name / Generation FROM table WHERE Architecture version = mips-iii 64-bit AND Model = 2b
Translate the following into a SQL query
What is the event with a 2:08 time?
SELECT Event FROM table WHERE Time = 2:08