instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What's the value of 1 USD in Paraguay?
SELECT 1 USD = FROM table WHERE Country = Paraguay
Translate the following into a SQL query
What's the value of 1 Euro in the country where the value of 1 USD is 483.050 of the local currency?
SELECT 1 Euro = FROM table WHERE 1 USD = = 483.050
Translate the following into a SQL query
What's the name of the central bank in the country where Colombian Peso (cop) is the local currency?
SELECT Central bank FROM table WHERE Currency = Colombian peso (COP)
Translate the following into a SQL query
What's the name of the country where 1 USD equals 1.71577 of the local currency.
SELECT Country FROM table WHERE 1 USD = = 1.71577
Translate the following into a SQL query
what's the minimum production code written by jay sommers & dick chevillat and al schwartz
SELECT MIN Production code FROM table WHERE Written by = Jay Sommers & Dick Chevillat and Al Schwartz
Translate the following into a SQL query
what's the total number of title for production code 39
SELECT COUNT Title FROM table WHERE Production code = 39
Translate the following into a SQL query
Who wrote the episode 14 in series?
SELECT Written by FROM table WHERE No. in series = 14
Translate the following into a SQL query
Who directed the episode with production code 28?
SELECT Directed by FROM table WHERE Production code = 28
Translate the following into a SQL query
What is the original air date for the episode "a pig in a poke"?
SELECT Original air date FROM table WHERE Title = "A Pig in a Poke"
Translate the following into a SQL query
How many episodes were titled "a pig in a poke"?
SELECT COUNT Written by FROM table WHERE Title = "A Pig in a Poke"
Translate the following into a SQL query
Who wrote the episode titled "the wedding anniversary"?
SELECT Written by FROM table WHERE Title = "The Wedding Anniversary"
Translate the following into a SQL query
What's the title of the episode with a season number 25?
SELECT Title FROM table WHERE No. in season = 25
Translate the following into a SQL query
What's the title of the episode with a production code 136?
SELECT Title FROM table WHERE Production code = 136
Translate the following into a SQL query
What is the original air date for "Oliver's Jaded Past"?
SELECT Original air date FROM table WHERE Title = "Oliver's Jaded Past"
Translate the following into a SQL query
What episode was written by Bobby Bell and Bill Lee?
SELECT MAX No. in season FROM table WHERE Written by = Bobby Bell and Bill Lee
Translate the following into a SQL query
How many women doubles teams competed in the same year as when Jamie van Hooijdonk competed in men singles?
SELECT COUNT Womens doubles FROM table WHERE Mens singles = Jamie van Hooijdonk
Translate the following into a SQL query
what is the maximum number of hull numbers?
SELECT MAX Hull Numbers FROM table
Translate the following into a SQL query
who is the class where note is reportedly still active as of 2012?
SELECT Class FROM table WHERE Note = Reportedly still active as of 2012
Translate the following into a SQL query
what is the maximum number of hull nunbers where ship name is kri yos sudarso?
SELECT MAX Hull Numbers FROM table WHERE Ship Name = KRI Yos Sudarso
Translate the following into a SQL query
What titles were fought for on 1997-04-12?
SELECT Titles FROM table WHERE Date = 1997-04-12
Translate the following into a SQL query
What is the date of the match for the lineal super lightweight (140)?
SELECT Date FROM table WHERE Titles = Lineal Super lightweight (140)
Translate the following into a SQL query
What is the date of the match for the wbc flyweight (112) title?
SELECT Date FROM table WHERE Titles = WBC Flyweight (112)
Translate the following into a SQL query
Who's the leader in the young rider classification in stage 12?
SELECT Young rider classification FROM table WHERE Stage = 12
Translate the following into a SQL query
Who's leading in the general classification in stage 1a?
SELECT General classification FROM table WHERE Stage = 1a
Translate the following into a SQL query
How many leaders are there in the intergiro classification in stage 20?
SELECT COUNT Intergiro classification FROM table WHERE Stage = 20
Translate the following into a SQL query
What's the leader team in the Trofeo Fast Team in stage 20?
SELECT Trofeo Fast Team FROM table WHERE Stage = 20
Translate the following into a SQL query
Who's the winner in stage 1a, where the leader in the young rider classification is Francesco Casagrande?
SELECT Winner FROM table WHERE Young rider classification = Francesco Casagrande AND Stage = 1a
Translate the following into a SQL query
Who's the leader in the general classification in stage 1a?
SELECT General classification FROM table WHERE Stage = 1a
Translate the following into a SQL query
Name the general classification of stage 15
SELECT COUNT General classification FROM table WHERE Stage = 15
Translate the following into a SQL query
Name the trofeo fast team of stage 2
SELECT Trofeo Fast Team FROM table WHERE Stage = 2
Translate the following into a SQL query
Name the young rider classification with laudelino cubino
SELECT Young rider classification FROM table WHERE Winner = Laudelino Cubino
Translate the following into a SQL query
Name the total number of trofeo fast team of stage 16
SELECT COUNT Trofeo Fast Team FROM table WHERE Stage = 16
Translate the following into a SQL query
What kind of bleeding does aspirin cause?
SELECT Bleeding time FROM table WHERE Condition = Aspirin
Translate the following into a SQL query
How in prothrombin affected by glanzmann's thrombasthenia.
SELECT Prothrombin time FROM table WHERE Condition = Glanzmann's thrombasthenia
Translate the following into a SQL query
How long does thromboplastin last when prothrombin is unaffected?
SELECT Partial thromboplastin time FROM table WHERE Bleeding time = Unaffected AND Prothrombin time = Unaffected
Translate the following into a SQL query
Is uremia affect prothrombin?
SELECT Prothrombin time FROM table WHERE Condition = Uremia
Translate the following into a SQL query
Is prothrombin time long when thromboplastin is prolonged?
SELECT Prothrombin time FROM table WHERE Bleeding time = Prolonged AND Partial thromboplastin time = Prolonged
Translate the following into a SQL query
How many live births were there in 2006 in South Yorkshire (met county)?
SELECT Live births 2006 FROM table WHERE County = South Yorkshire (Met County)
Translate the following into a SQL query
How many TFR were there in 2006 when the GFR was 53.8?
SELECT TFR 2006 FROM table WHERE GFR 2006 = 53.8
Translate the following into a SQL query
How many times was the GFR 2006 equal to 53.2?
SELECT COUNT Whites as % of Pop. FROM table WHERE GFR 2006 = 53.2
Translate the following into a SQL query
How many mens doubles took place in 1970/1971?
SELECT COUNT Mens doubles FROM table WHERE Season = 1970/1971
Translate the following into a SQL query
Where were the Womens Doubles in the 1951/1952 season and who won?
SELECT Womens doubles FROM table WHERE Season = 1951/1952
Translate the following into a SQL query
Who was the womens singles winnerwhen the mens doubles were stefan karlsson claes nordin , bk aura gbk?
SELECT Womens singles FROM table WHERE Mens doubles = Stefan Karlsson Claes Nordin , BK Aura GBK
Translate the following into a SQL query
Who were the winners of mens doubles in the 1986/1987 season held?
SELECT Mens doubles FROM table WHERE Season = 1986/1987
Translate the following into a SQL query
Who won the Mens Singles when the Mixed doubles went to Stellan Mohlin Kerstin Ståhl , Aik?
SELECT Mens singles FROM table WHERE Mixed doubles = Stellan Mohlin Kerstin Ståhl , AIK
Translate the following into a SQL query
Who won the womens singles in the 1958/1959 season?
SELECT Womens singles FROM table WHERE Season = 1958/1959
Translate the following into a SQL query
What county is in isolation of 29?
SELECT County FROM table WHERE Isolation (km) = 29
Translate the following into a SQL query
What is the county with an elevation of 1262?
SELECT County FROM table WHERE Elevation (m) = 1262
Translate the following into a SQL query
Name the rank where the municipality is sunndal?
SELECT Rank FROM table WHERE Municipality = Sunndal
Translate the following into a SQL query
Name the county with the peak being indre russetind?
SELECT County FROM table WHERE Peak = Indre Russetind
Translate the following into a SQL query
What is the number of rank of peak fresvikbreen?
SELECT COUNT Rank FROM table WHERE Peak = Fresvikbreen
Translate the following into a SQL query
Who won the mens singles when sayaka sato won the womens singles?
SELECT Mens singles FROM table WHERE Womens singles = Sayaka Sato
Translate the following into a SQL query
When did Chetan Anand win his first men's single?
SELECT MIN Year FROM table WHERE Mens singles = Chetan Anand
Translate the following into a SQL query
How many times did Niels Christian Kaldau win the men's single and Pi Hongyan win the women's single in the same year?
SELECT COUNT Year FROM table WHERE Mens singles = Niels Christian Kaldau AND Womens singles = Pi Hongyan
Translate the following into a SQL query
Who won the men's double when Chou Tien-Chen won the men's single?
SELECT Mens doubles FROM table WHERE Mens singles = Chou Tien-chen
Translate the following into a SQL query
What team was promoted in the Serbian League East in the same season when Kolubara was promoted in the Serbian League Belgrade?
SELECT Serbian League East FROM table WHERE Serbian League Belgrade = Kolubara
Translate the following into a SQL query
what's the series with reverse being swimming
SELECT Series FROM table WHERE Reverse = Swimming
Translate the following into a SQL query
what's the alloy with series being ii series
SELECT Alloy FROM table WHERE Series = II series
Translate the following into a SQL query
what's the denomination with year being 2008 and reverse being football
SELECT Denomination FROM table WHERE Year = 2008 AND Reverse = Football
Translate the following into a SQL query
how many reverse with series being iii series
SELECT COUNT Reverse FROM table WHERE Series = III series
Translate the following into a SQL query
How many times did kingfisher east bengal fc win?
SELECT MIN Winners FROM table WHERE Nation = Kingfisher East Bengal FC
Translate the following into a SQL query
How many times did bec tero sasana win?
SELECT MAX Winners FROM table WHERE Nation = BEC Tero Sasana
Translate the following into a SQL query
Nigeria competed on July2, 1999.
SELECT Date FROM table WHERE Nation = Nigeria
Translate the following into a SQL query
Nigeria had the fastest time once.
SELECT COUNT Fastest time (s) FROM table WHERE Nation = Nigeria
Translate the following into a SQL query
how many runners-up with nation being india
SELECT COUNT Runners-up FROM table WHERE Nation = India
Translate the following into a SQL query
what's the runners-up with nation being malaysia
SELECT Runners-up FROM table WHERE Nation = Malaysia
Translate the following into a SQL query
how many winners with # being 4
SELECT COUNT Winners FROM table WHERE # = 4
Translate the following into a SQL query
how many maximum winners
SELECT MAX Winners FROM table
Translate the following into a SQL query
how many winners from vietnam
SELECT Winners FROM table WHERE Nation = Vietnam
Translate the following into a SQL query
What was the total of arlenes vote when craig voted for brian and karen?
SELECT COUNT Arlenes vote FROM table WHERE Craigs vote = Brian and Karen
Translate the following into a SQL query
What is the max week where kate and anton are eliminated?
SELECT MAX Week FROM table WHERE Eliminated = Kate and Anton
Translate the following into a SQL query
What is the number eliminated when kelly and brendan are safe?
SELECT COUNT Eliminated FROM table WHERE Safe = Kelly and Brendan
Translate the following into a SQL query
Who is safe if John and Nicole are eliminated?
SELECT Safe FROM table WHERE Eliminated = John and Nicole
Translate the following into a SQL query
What is the total number of brunos vote when willie and erin are eliminated?
SELECT COUNT Brunos vote FROM table WHERE Eliminated = Willie and Erin
Translate the following into a SQL query
How many goals were scored by the player who played 17 matches?
SELECT Goals FROM table WHERE Matches = 17
Translate the following into a SQL query
What is the name of the player who played in 2009 only?
SELECT Player name FROM table WHERE Period = 2009
Translate the following into a SQL query
How many goals have been scored by Tiago Gomes?
SELECT Goals FROM table WHERE Player name = Tiago Gomes
Translate the following into a SQL query
Which athlete is from Mexico City?
SELECT Athlete FROM table WHERE Location = Mexico City
Translate the following into a SQL query
What is the athlete from Edwardsville?
SELECT Athlete FROM table WHERE Location = Edwardsville
Translate the following into a SQL query
What was the wind on 21 june 1976?
SELECT Wind (m/s) FROM table WHERE Date = 21 June 1976
Translate the following into a SQL query
What is the number of locations with the fastest times of 11.13?
SELECT COUNT Location FROM table WHERE Fastest time (s) = 11.13
Translate the following into a SQL query
What's the title of the episode with a broadcast order s04 e01?
SELECT Title FROM table WHERE Broadcast Order = S04 E01
Translate the following into a SQL query
What's the number of episodes with a broadcast order s04 e07?
SELECT COUNT Number in series FROM table WHERE Broadcast Order = S04 E07
Translate the following into a SQL query
what's the total number of episodes with a US air date of january 15, 2005?
SELECT COUNT Production Code FROM table WHERE U.S. Air Date = January 15, 2005
Translate the following into a SQL query
What's the series number of the episode titled "The Quest"?
SELECT MAX Number in series FROM table WHERE Title = "The Quest"
Translate the following into a SQL query
What's the original air date of the episode with a broadcast order s04 e01?
SELECT U.S. Air Date FROM table WHERE Broadcast Order = S04 E01
Translate the following into a SQL query
What's the series number of the episode with a broadcast order s04 e07?
SELECT MAX Number in series FROM table WHERE Broadcast Order = S04 E07
Translate the following into a SQL query
Which police force serves a population of 17000?
SELECT Police force FROM table WHERE Population = 17000
Translate the following into a SQL query
When total costs (2005) are $700,116, what is the cost per capita?
SELECT Cost per capita FROM table WHERE Total costs (2005) = $700,116
Translate the following into a SQL query
What is the cost per capita in the Courtenay municipality?
SELECT Cost per capita FROM table WHERE Municipality = Courtenay
Translate the following into a SQL query
Which crime rate per 1,000 people is associated with a cost per capita of $152?
SELECT MAX Crime rate per 1,000 people FROM table WHERE Cost per capita = $152
Translate the following into a SQL query
If the number of police officers is 94, what is the lowest population number?
SELECT MIN Population FROM table WHERE Police officers = 94
Translate the following into a SQL query
What is the value of total costs (2005) in the Coldstream municipality?
SELECT Total costs (2005) FROM table WHERE Municipality = Coldstream
Translate the following into a SQL query
What is the interview score for the state of Virginia?
SELECT Interview FROM table WHERE State = Virginia
Translate the following into a SQL query
How much is the average score for New York state?
SELECT Average FROM table WHERE State = New York
Translate the following into a SQL query
Which interview score corresponds with the evening gown score of 8.977?
SELECT Interview FROM table WHERE Evening Gown = 8.977
Translate the following into a SQL query
What is the preliminary score associated with the interview score of 8.488?
SELECT COUNT Preliminaries FROM table WHERE Interview = 8.488
Translate the following into a SQL query
What swimsuit score did the state of Virginia contestant achieve?
SELECT COUNT Swimsuit FROM table WHERE State = Virginia
Translate the following into a SQL query
Which interview score belongs to the state of Nevada contestant?
SELECT Interview FROM table WHERE State = Nevada
Translate the following into a SQL query
For the competition Mithras Cup 2nd Rd (2nd Leg), what is the date and time?
SELECT Date and Time FROM table WHERE Competition = Mithras Cup 2nd Rd (2nd Leg)