instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
How many times is a score for stolen ends recorded for France?
SELECT COUNT Stolen Ends FROM table WHERE Country = France
Translate the following into a SQL query
How many ends were lost by the country whose points for (PF) was 87?
SELECT MAX Ends Lost FROM table WHERE PF = 87
Translate the following into a SQL query
What is the 25 to 29 maximum if 30 to 34 is 1357?
SELECT MIN 25 to 29 FROM table WHERE 30 to 34 = 1357
Translate the following into a SQL query
If 70+ is 2554, what is the 25 to 29 amount?
SELECT 25 to 29 FROM table WHERE 70+ = 2554
Translate the following into a SQL query
How many seasons was Dave Reid treasurer?
SELECT COUNT Season FROM table WHERE Treasurer = Dave Reid
Translate the following into a SQL query
When was Jonny Leadbeater President?
SELECT Season FROM table WHERE President = Jonny Leadbeater
Translate the following into a SQL query
Who was the skip with 14 stolen ends?
SELECT Skip FROM table WHERE Stolen Ends = 14
Translate the following into a SQL query
What is the fewest number of losses?
SELECT MIN L FROM table
Translate the following into a SQL query
What are the shot percentages for teams that played in switzerland?
SELECT Shot % FROM table WHERE Locale = Switzerland
Translate the following into a SQL query
What is the lowest number of losses for teams that lost 52 ends?
SELECT MIN L FROM table WHERE Ends Lost = 52
Translate the following into a SQL query
When 1509 is the c/w 15+ how many results of 15 to 17 are there?
SELECT COUNT 15 to 17 FROM table WHERE C/W 15+ = 1509
Translate the following into a SQL query
When 2275 is 70+ how many results of 40 to 44 are there?
SELECT COUNT 40 to 44 FROM table WHERE 70+ = 2275
Translate the following into a SQL query
When pskov is oblast\age what is the result of 18 to 19?
SELECT 18 to 19 FROM table WHERE Oblast\Age = Pskov
Translate the following into a SQL query
When 2073 is 65 to 69 how many results of 25 to 29 are there?
SELECT COUNT 25 to 29 FROM table WHERE 65 to 69 = 2073
Translate the following into a SQL query
When 2054 is the result of 50 to 54 what is the oblast\age?
SELECT Oblast\Age FROM table WHERE 50 to 54 = 2054
Translate the following into a SQL query
When voronezh is the oblast\age what is the lowest result of 65 to 69?
SELECT MIN 65 to 69 FROM table WHERE Oblast\Age = Voronezh
Translate the following into a SQL query
what is the number for 65-69 where 50-54 is 1571?
SELECT 65 to 69 FROM table WHERE 50 to 54 = 1571
Translate the following into a SQL query
what is the minimum of 60 -64?
SELECT MIN 60 to 64 FROM table
Translate the following into a SQL query
what is the maximum 18 to 19 and 30-34 is 1203?
SELECT MAX 18 to 19 FROM table WHERE 30 to 34 = 1203
Translate the following into a SQL query
what is the maximum 65-69 and 35-39 is 1606?
SELECT MAX 65 to 69 FROM table WHERE 35 to 39 = 1606
Translate the following into a SQL query
What province has the Chinese translation 重庆?
SELECT COUNT Province FROM table WHERE Chinese = 重庆
Translate the following into a SQL query
What is the total administrative population of Shanghai?
SELECT COUNT Administrative Population (2010) FROM table WHERE City = Shanghai
Translate the following into a SQL query
What is the maximum administrative population of the city with Chinese translation 昆明?
SELECT MAX Administrative Population (2010) FROM table WHERE Chinese = 昆明
Translate the following into a SQL query
What is the total urban population of the city with the pinyin translation chángchūn?
SELECT COUNT Urban Population (2010) FROM table WHERE Pinyin = Chángchūn
Translate the following into a SQL query
What player was on the Grizzlies from 2009-2013?
SELECT Player FROM table WHERE Years for Grizzlies = 2009-2013
Translate the following into a SQL query
What nationality is the player who went to school at South Florida?
SELECT Nationality FROM table WHERE School/Club Team = South Florida
Translate the following into a SQL query
What position is the player who was on the Grizzlies from 1995-1996?
SELECT Position FROM table WHERE Years for Grizzlies = 1995-1996
Translate the following into a SQL query
How may players played for the Grizzlies from 2000-2002?
SELECT COUNT No. FROM table WHERE Years for Grizzlies = 2000-2002
Translate the following into a SQL query
Name the miles for june 7
SELECT Miles (km) FROM table WHERE Date = June 7
Translate the following into a SQL query
Name the driver for race time being 2:34:21
SELECT Driver FROM table WHERE Race time = 2:34:21
Translate the following into a SQL query
Name the driver for june 23 and team of penske racing
SELECT Driver FROM table WHERE Date = June 23 AND Team = Penske Racing
Translate the following into a SQL query
Who was the director for the episode in season #50?
SELECT Directed by FROM table WHERE Series # = 50
Translate the following into a SQL query
How many directors were there in total for the episode with series #62?
SELECT COUNT Directed by FROM table WHERE Series # = 62
Translate the following into a SQL query
What season was the episode titled "Harlequin" in?
SELECT MAX Season # FROM table WHERE Title = "Harlequin"
Translate the following into a SQL query
What are the nationalities of players who attended duke?
SELECT COUNT Nationality FROM table WHERE School/Club Team = Duke
Translate the following into a SQL query
How many nationalities does athlete Casey Jacobsen have?
SELECT COUNT Nationality FROM table WHERE Player = Casey Jacobsen
Translate the following into a SQL query
Who are the players that have attended Stanford?
SELECT Player FROM table WHERE School/Club Team = Stanford
Translate the following into a SQL query
How many athletes play the position of guard?
SELECT COUNT Player FROM table WHERE Position = Guard
Translate the following into a SQL query
During what years did athletes who attended school in Minnesota play for the Grizzlies?
SELECT Years for Grizzlies FROM table WHERE School/Club Team = Minnesota
Translate the following into a SQL query
How many players went to depaul?
SELECT COUNT Player FROM table WHERE School/Club Team = DePaul
Translate the following into a SQL query
What school did the player who was with the grizzles in 2011 attend?
SELECT School/Club Team FROM table WHERE Years for Grizzlies = 2011
Translate the following into a SQL query
What players attended missouri?
SELECT Player FROM table WHERE School/Club Team = Missouri
Translate the following into a SQL query
What position(s) does the player from seton hall play?
SELECT Position FROM table WHERE School/Club Team = Seton Hall
Translate the following into a SQL query
What number does the player who was with the grizzles in 1999 wear?
SELECT MIN No. FROM table WHERE Years for Grizzlies = 1999
Translate the following into a SQL query
What players play guard?
SELECT Player FROM table WHERE Position = Guard
Translate the following into a SQL query
What position(s) do players from bowling green play?
SELECT Position FROM table WHERE School/Club Team = Bowling Green
Translate the following into a SQL query
Name the most losses for leslie mann
SELECT MAX Losses FROM table WHERE Manager = Leslie Mann
Translate the following into a SQL query
who is the vacator whre the district is new jersey 2nd?
SELECT Vacator FROM table WHERE District = New Jersey 2nd
Translate the following into a SQL query
what is the date the successor seated because the person died august 17, 1954?
SELECT Date successor seated FROM table WHERE Reason for change = Died August 17, 1954
Translate the following into a SQL query
who was the successor for district ohio 15th?
SELECT Successor FROM table WHERE District = Ohio 15th
Translate the following into a SQL query
what is the total number for reason for change is district michigan 3rd?
SELECT COUNT Reason for change FROM table WHERE District = Michigan 3rd
Translate the following into a SQL query
What day did ARchie Roberts die?
SELECT Date of death FROM table WHERE Player = Archie Roberts
Translate the following into a SQL query
What location had a VFL Game number of 9?
SELECT Location FROM table WHERE VFL Games = 9
Translate the following into a SQL query
How many VFL games were located off Goodenough Island Milne Bay?
SELECT VFL Games FROM table WHERE Location = off Goodenough Island Milne Bay
Translate the following into a SQL query
Name the 3rd stage for parameter of thrust
SELECT 3rd stage FROM table WHERE Parameter = Thrust
Translate the following into a SQL query
Name the parameter for 2.67 m
SELECT Parameter FROM table WHERE 1st stage = 2.67 m
Translate the following into a SQL query
Name the paarameter for 1.0 m 3rd stage
SELECT Parameter FROM table WHERE 3rd stage = 1.0 m
Translate the following into a SQL query
Name the 1st stage for parameter being diameter
SELECT 1st stage FROM table WHERE Parameter = Diameter
Translate the following into a SQL query
How many episodes have the title "the world of who"?
SELECT COUNT Episode # FROM table WHERE Episode title = "The World of Who"
Translate the following into a SQL query
What episode number is the episode "bringing back the doctor"?
SELECT Episode # FROM table WHERE Episode title = "Bringing Back the Doctor"
Translate the following into a SQL query
What is the episode number for the episode "a new dimension"?
SELECT Episode # FROM table WHERE Episode title = "A New Dimension"
Translate the following into a SQL query
Which archbishop was ordained as bishop November 30, 1925?
SELECT Archbishop FROM table WHERE Ordained Bishop = November 30, 1925
Translate the following into a SQL query
What is the death date of the archbishop who was ordained as bishop April 26, 1927?
SELECT Died FROM table WHERE Ordained Bishop = April 26, 1927
Translate the following into a SQL query
How many appointed archbishops were ordained as priests on December 20, 1959
SELECT COUNT Appointed Archbishop FROM table WHERE Ordained Priest = December 20, 1959
Translate the following into a SQL query
What date was the person ordained as a priest in December 1838 ordained as a bishop?
SELECT Ordained Bishop FROM table WHERE Ordained Priest = December 1838
Translate the following into a SQL query
When was the archbishop who vacated the throne on August 18, 1885 ordained as a priest?
SELECT Ordained Priest FROM table WHERE Vacated throne = August 18, 1885
Translate the following into a SQL query
How many players Bowled 4/125?
SELECT COUNT Player FROM table WHERE Best Bowling = 4/125
Translate the following into a SQL query
What number of wickets were there when the average was 22.66?
SELECT MAX Wickets FROM table WHERE Average = 22.66
Translate the following into a SQL query
How many wickets were there when average was 22.66?
SELECT Wickets FROM table WHERE Average = 22.66
Translate the following into a SQL query
What was the best bowling score when the average was 23.33?
SELECT Best Bowling FROM table WHERE Average = 23.33
Translate the following into a SQL query
How many matches had 11 wickets?
SELECT MAX Matches FROM table WHERE Wickets = 11
Translate the following into a SQL query
How many wickets did Alec bedser have?
SELECT MAX Wickets FROM table WHERE Player = Alec Bedser
Translate the following into a SQL query
Who picked dimitri tsoumpas?
SELECT CFL Team FROM table WHERE Player = Dimitri Tsoumpas
Translate the following into a SQL query
What position did the winnipeg blue bombers draft?
SELECT Position FROM table WHERE CFL Team = Winnipeg Blue Bombers
Translate the following into a SQL query
Where did Brendon Labatte get picked?
SELECT MIN Pick # FROM table WHERE Player = Brendon LaBatte
Translate the following into a SQL query
Who picked a player from Weber State?
SELECT CFL Team FROM table WHERE College = Weber State
Translate the following into a SQL query
What position was taken out of Louisiana-Lafayette?
SELECT Position FROM table WHERE College = Louisiana-Lafayette
Translate the following into a SQL query
Name the college for calgary stampeders
SELECT College FROM table WHERE CFL Team = Calgary Stampeders
Translate the following into a SQL query
Name the most pick number for cfl team being edmonton eskimos
SELECT MAX Pick # FROM table WHERE CFL Team = Edmonton Eskimos
Translate the following into a SQL query
How many days are associated with production code 210?
SELECT COUNT Original airdate FROM table WHERE Production code = 210
Translate the following into a SQL query
How many titles have a production code of 211?
SELECT COUNT Title FROM table WHERE Production code = 211
Translate the following into a SQL query
How many seasons have a production code of 204?
SELECT COUNT No. in season FROM table WHERE Production code = 204
Translate the following into a SQL query
What title was written by Matt Wayne?
SELECT Title FROM table WHERE Written by = Matt Wayne
Translate the following into a SQL query
What is the series episode number of the episode with production code 303?
SELECT No. in series FROM table WHERE Production code = 303
Translate the following into a SQL query
What is the production code for episode 15 in season 3?
SELECT Production code FROM table WHERE No. in season = 15
Translate the following into a SQL query
Who directed episode 12 in season 3?
SELECT Directed by FROM table WHERE No. in season = 12
Translate the following into a SQL query
How many tree species are listed when the total plant species is 258?
SELECT Tree species FROM table WHERE Total plant species = 258
Translate the following into a SQL query
How many tree species are there when the total plant species is 113?
SELECT COUNT Tree species FROM table WHERE Total plant species = 113
Translate the following into a SQL query
What is the size of Itwara central forest reserve?
SELECT MIN Size in km² FROM table WHERE Central Forest Reserve = Itwara
Translate the following into a SQL query
How many tree species are in the kitechura reserve?
SELECT Tree species FROM table WHERE Central Forest Reserve = Kitechura
Translate the following into a SQL query
What episode titles have 17.93 million U.S. viewers?
SELECT Title FROM table WHERE U.S. viewers (millions) = 17.93
Translate the following into a SQL query
What episode titles have 20.94 million U.S. viewers?
SELECT Title FROM table WHERE U.S. viewers (millions) = 20.94
Translate the following into a SQL query
In what seasons did Kate Woods direct Without A Trace?
SELECT Season # FROM table WHERE Directed by = Kate Woods
Translate the following into a SQL query
Who wrote Season 8?
SELECT Written by FROM table WHERE Season # = 8
Translate the following into a SQL query
When did the country that produced 1,213,000 (21st) bbl/day join Opec?
SELECT Joined OPEC FROM table WHERE Production ( bbl /day) = 1,213,000 (21st)
Translate the following into a SQL query
What was the minimum area in square kilometers that produced 3,200,000 (12th) bbl/day?
SELECT MIN Area (km²) FROM table WHERE Production ( bbl /day) = 3,200,000 (12th)
Translate the following into a SQL query
What is the highest poplulation in July 2012 in the country with an area of 2149690 square kilometers?
SELECT MAX Population (July 2012) FROM table WHERE Area (km²) = 2149690
Translate the following into a SQL query
Which regions had a production (bbl/day) of 1,213,000 (21st)?
SELECT Region FROM table WHERE Production ( bbl /day) = 1,213,000 (21st)
Translate the following into a SQL query
Which country had a production (bbl/day) of 2,494,000 (10th)?
SELECT Country FROM table WHERE Production ( bbl /day) = 2,494,000 (10th)
Translate the following into a SQL query
What are all the approved treatments for the target CD30?
SELECT Approved treatment(s) FROM table WHERE Target = CD30