instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What is Place, when Weapon is "35mm/Small arms fire"?
SELECT Place FROM table WHERE Weapon = 35mm/small arms fire
Translate the following into a SQL query
What is Pilot, when Weapon is "35mm fire", and when Date is "4 May 1982"?
SELECT Pilot FROM table WHERE Weapon = 35mm fire AND Date = 4 may 1982
Translate the following into a SQL query
Where is the player from that has a Jersey Number(s) greater than 0 in the year 2003?
SELECT From FROM table WHERE Jersey Number(s) > 0 AND Years = 2003
Translate the following into a SQL query
Who is the player with a Jersey Number(s) greater than 30?
SELECT Player FROM table WHERE Jersey Number(s) > 30
Translate the following into a SQL query
What is the Years of the player with Jersey Number(s) of 44?
SELECT Years FROM table WHERE Jersey Number(s) = 44
Translate the following into a SQL query
What was the population in North Jeolla?
SELECT Population (2010) FROM table WHERE Province = north jeolla
Translate the following into a SQL query
What's Korean for 南楊州 Hanja?
SELECT Korean FROM table WHERE Hanja = 南楊州
Translate the following into a SQL query
What's the Korean word for Pohang?
SELECT Korean FROM table WHERE City = pohang
Translate the following into a SQL query
What's the team nickname of the private/catholic school whose enrollment is larger than 3,490?
SELECT Team Nickname FROM table WHERE Affiliation = private/catholic AND Enrollment > 3,490
Translate the following into a SQL query
What's the total enrollment of public schools located in Buffalo, New York that were founded after 1846?
SELECT SUM Enrollment FROM table WHERE Location = buffalo, new york AND Affiliation = public AND Founded > 1846
Translate the following into a SQL query
What year did Bangkok University and Chunnam Dragons have a score of 0-0?
SELECT SUM Season FROM table WHERE Team 1 = bangkok university AND Score = 0-0 AND Team 2 = chunnam dragons
Translate the following into a SQL query
What is the transfer window for Christian Nerlinger?
SELECT Transfer window FROM table WHERE Name = christian nerlinger
Translate the following into a SQL query
What is the name for the end of contract because they're moving to Falkirk?
SELECT Name FROM table WHERE Type = end of contract AND Moving to = falkirk
Translate the following into a SQL query
What type of transfer window is winter in Ita?
SELECT Type FROM table WHERE Transfer window = winter AND Nat. = ita
Translate the following into a SQL query
What is the type of loan and the transfer fee loan?
SELECT Nat. FROM table WHERE Type = loan AND Transfer fee = loan
Translate the following into a SQL query
On what date did a streak start on November 14?
SELECT Streak FROM table WHERE Date = november 14
Translate the following into a SQL query
What was the score of game 36?
SELECT Score FROM table WHERE Game = 36
Translate the following into a SQL query
Where was the third bridge over panama canal?
SELECT Location FROM table WHERE Name = third bridge over panama canal
Translate the following into a SQL query
Name the Comp which has a Name of smith?
SELECT Comp FROM table WHERE Name = smith
Translate the following into a SQL query
Name the sum of Comp which has a Yds/game smaller than 209.5,brytus Name, and a Rating smaller than 100?
SELECT SUM Comp FROM table WHERE Yds/game < 209.5 AND Name = brytus AND Rating < 100
Translate the following into a SQL query
Name the highest Comp which has a Yds/game larger than 0, bostick, and a Rating smaller than 91.77?
SELECT MAX Comp FROM table WHERE Yds/game > 0 AND Name = bostick AND Rating < 91.77
Translate the following into a SQL query
Can you tell me the sum of Score that has the Place of t5, and the Country of united states, and the Player of jeff maggert?
SELECT SUM Score FROM table WHERE Place = t5 AND Country = united states AND Player = jeff maggert
Translate the following into a SQL query
Which event had a decision method?
SELECT Event FROM table WHERE Method = decision
Translate the following into a SQL query
Where was the method of tko?
SELECT Location FROM table WHERE Method = tko
Translate the following into a SQL query
What is the time of kenya, which is ranked 2?
SELECT Time FROM table WHERE Nation = kenya AND Rank = 2
Translate the following into a SQL query
What race is on 26 June 2011?
SELECT Race FROM table WHERE Date = 26 june 2011
Translate the following into a SQL query
What is the time of the peachtree road race in kenya?
SELECT Time FROM table WHERE Nation = kenya AND Race = peachtree road race
Translate the following into a SQL query
What is the score of team chicago?
SELECT Score FROM table WHERE Team = chicago
Translate the following into a SQL query
What is the record of team utah?
SELECT Record FROM table WHERE Team = utah
Translate the following into a SQL query
What is the location and attendance of game 63?
SELECT Location Attendance FROM table WHERE Game = 63
Translate the following into a SQL query
What is the nationality of the person who played small forward?
SELECT Nationality FROM table WHERE Position = small forward
Translate the following into a SQL query
What position did Rich Manning play?
SELECT Position FROM table WHERE Player = rich manning
Translate the following into a SQL query
What position did the player who was with the grizzlies from 2007-2009 play?
SELECT Position FROM table WHERE Years for Grizzlies = 2007-2009
Translate the following into a SQL query
Who is the player in the 2008 draft with a pick greater than 5?
SELECT Player FROM table WHERE Draft = 2008 AND Pick > 5
Translate the following into a SQL query
What is the total pick number of the player from a round greater than 1, a draft before 2002, and with the college/high school/club of western kentucky?
SELECT COUNT Pick FROM table WHERE Round > 1 AND Draft < 2002 AND College/High School/Club = western kentucky
Translate the following into a SQL query
What is the lowest draft number with a 48 pick?
SELECT MIN Draft FROM table WHERE Pick = 48
Translate the following into a SQL query
Which Name has a AAFC Team of los angeles dons, and a Position of fb, and a College of oklahoma a&m?
SELECT Name FROM table WHERE AAFC Team = los angeles dons AND Position = fb AND College = oklahoma a&m
Translate the following into a SQL query
Which Round has a College of tulsa, and a Pick larger than 61?
SELECT AVG Round FROM table WHERE College = tulsa AND Pick > 61
Translate the following into a SQL query
Which Position has a Round smaller than 5, and a Pick of 5?
SELECT Position FROM table WHERE Round < 5 AND Pick = 5
Translate the following into a SQL query
Which College has a Name of hardy brown?
SELECT College FROM table WHERE Name = hardy brown
Translate the following into a SQL query
Who was the winner for Peter Jackson Racing at Mallala Motor Sport Park?
SELECT Winner FROM table WHERE Team = peter jackson racing AND Circuit = mallala motor sport park
Translate the following into a SQL query
What city had a series of atcc round 1?
SELECT City / State FROM table WHERE Series = atcc round 1
Translate the following into a SQL query
Who was the winner for ASTC round 8?
SELECT Winner FROM table WHERE Series = astc round 8
Translate the following into a SQL query
Which Nationality has a College/Junior/Club Team (League) of swift current broncos (wchl)?
SELECT Nationality FROM table WHERE College/Junior/Club Team (League) = swift current broncos (wchl)
Translate the following into a SQL query
Which Round has a College/Junior/Club Team (League) of hamilton red wings (oha), and a Position of rw?
SELECT AVG Round FROM table WHERE College/Junior/Club Team (League) = hamilton red wings (oha) AND Position = rw
Translate the following into a SQL query
Which Round has a Position of lw, and a College/Junior/Club Team (League) of swift current broncos (wchl)?
SELECT AVG Round FROM table WHERE Position = lw AND College/Junior/Club Team (League) = swift current broncos (wchl)
Translate the following into a SQL query
What is round 10's nationality?
SELECT Nationality FROM table WHERE Round = 10
Translate the following into a SQL query
Which driver was in 8 rounds with a chassis of dallara f306?
SELECT Driver FROM table WHERE Chassis = dallara f306 AND Rounds = 8
Translate the following into a SQL query
How many rounds did Nil Montserrat drive in?
SELECT Rounds FROM table WHERE Driver = nil montserrat
Translate the following into a SQL query
How many rounds did germán sánchez drive in where the chassis was dallara f308?
SELECT Rounds FROM table WHERE Chassis = dallara f308 AND Driver = germán sánchez
Translate the following into a SQL query
What is the chassis for Augusto Scalbi on Team RP Motorsport?
SELECT Chassis FROM table WHERE Team = rp motorsport AND Driver = augusto scalbi
Translate the following into a SQL query
In what Week was the Result W 24-17?
SELECT MAX Week FROM table WHERE Result = w 24-17
Translate the following into a SQL query
What was the Week number on November 20, 1977?
SELECT SUM Week FROM table WHERE Date = november 20, 1977
Translate the following into a SQL query
Who played hte home team when the score was 2:1?
SELECT Home FROM table WHERE Score = 2:1
Translate the following into a SQL query
Who was the home team when real juventud was the away team when there were more than 1189 in attendance?
SELECT Home FROM table WHERE Attendance > 1189 AND Away = real juventud
Translate the following into a SQL query
What was the average attendance when marathon was the away team?
SELECT AVG Attendance FROM table WHERE Away = marathon
Translate the following into a SQL query
Who was the home team when the score was 0:1?
SELECT Home FROM table WHERE Score = 0:1
Translate the following into a SQL query
How much are General Electric's profits who have assets (billion $) under 2,355.83 and a market value (billion $) larger than 169.65?
SELECT AVG Profits (billion $) FROM table WHERE Assets (billion $) < 2,355.83 AND Company = general electric AND Market Value (billion $) > 169.65
Translate the following into a SQL query
Which company in the oil and gas industry has assets (billion $) under 235.45, sales (billion $) larger than 159.29 and brings in profits (billion $) of 19.28?
SELECT Company FROM table WHERE Assets (billion $) < 235.45 AND Sales (billion $) > 159.29 AND Industry = oil and gas AND Profits (billion $) = 19.28
Translate the following into a SQL query
How many profits is the company that is headquartered in the USA, in the banking industry, and has sales (billion $) less than 98.64 bringing in?
SELECT SUM Profits (billion $) FROM table WHERE Headquarters = usa AND Industry = banking AND Sales (billion $) < 98.64
Translate the following into a SQL query
What test had 49,608 students?
SELECT Test FROM table WHERE Number of Students = 49,608
Translate the following into a SQL query
What was the Tie no when the Home team was Ramsgate?
SELECT Tie no FROM table WHERE Home team = ramsgate
Translate the following into a SQL query
What was the Tie no when the Home team was carshalton athletic?
SELECT Tie no FROM table WHERE Home team = carshalton athletic
Translate the following into a SQL query
Who was the away team when the home team was Ramsgate?
SELECT Away team FROM table WHERE Home team = ramsgate
Translate the following into a SQL query
What was the home team when the Tie no was 60?
SELECT Home team FROM table WHERE Tie no = 60
Translate the following into a SQL query
What was the Tie no when the Home team was wealdstone?
SELECT Tie no FROM table WHERE Home team = wealdstone
Translate the following into a SQL query
Which format has january 21, 2002 as the date?
SELECT Format FROM table WHERE Date = january 21, 2002
Translate the following into a SQL query
What format has France as the region, with Universal Licensing Music (ulm) as the label?
SELECT Format FROM table WHERE Region = france AND Label = universal licensing music (ulm)
Translate the following into a SQL query
What label has the netherlands as the region, and magik muzik 802-1 as the catalog?
SELECT Label FROM table WHERE Region = netherlands AND Catalog = magik muzik 802-1
Translate the following into a SQL query
What name has a 2008 club of Venelle?
SELECT Name FROM table WHERE 2008 club = venelle
Translate the following into a SQL query
What is the name of the person with a 2008 club of Nc Bejaia?
SELECT Name FROM table WHERE 2008 club = nc bejaia
Translate the following into a SQL query
What is the record at 3:00?
SELECT Record FROM table WHERE Time = 3:00
Translate the following into a SQL query
What opponent used the Ko method, and a 6-0 record?
SELECT Opponent FROM table WHERE Method = ko AND Record = 6-0
Translate the following into a SQL query
What is the home team with an 8.7 (55) away team score?
SELECT Home team FROM table WHERE Away team score = 8.7 (55)
Translate the following into a SQL query
What is the average crowd of the 13.9 (87) Home Team Score?
SELECT AVG Crowd FROM table WHERE Home team score = 13.9 (87)
Translate the following into a SQL query
What is the ground of the game where the home team was Adelaide?
SELECT Ground FROM table WHERE Home team = adelaide
Translate the following into a SQL query
What is Home team of the game with an 9.8 (62) away team score?
SELECT Home team FROM table WHERE Away team score = 9.8 (62)
Translate the following into a SQL query
What is Manufacturer, when Quantity Made is 2, and when Year Made is 1884?
SELECT Manufacturer FROM table WHERE Quantity made = 2 AND Year made = 1884
Translate the following into a SQL query
What is Quantity Made, when Manufacturer is "Baldwin"?
SELECT Quantity made FROM table WHERE Manufacturer = baldwin
Translate the following into a SQL query
What is Wheel Arrangement, when Manufacturer is "Baldwin", and when Quantity Made is 12?
SELECT Wheel arrangement FROM table WHERE Manufacturer = baldwin AND Quantity made = 12
Translate the following into a SQL query
What is Quantity Made, when Year Made is "4-4-0 — oooo — american"?
SELECT Quantity made FROM table WHERE Year made = 4-4-0 — oooo — american
Translate the following into a SQL query
What is Wheel Arrangement, when Quantity Made is 44?
SELECT Wheel arrangement FROM table WHERE Quantity made = 44
Translate the following into a SQL query
What is Quantitiy Made, when Quantity Preserved is "4-4-0 — oooo — american"?
SELECT Quantity made FROM table WHERE Quantity preserved = 4-4-0 — oooo — american
Translate the following into a SQL query
What's the highest game found when the record is 2-1?
SELECT MAX Game FROM table WHERE Record = 2-1
Translate the following into a SQL query
What was the game date when the opponent was Houston?
SELECT Date FROM table WHERE Opponent = houston
Translate the following into a SQL query
Can you tell me the highest Season that has the Home Team of chonburi, and the Away Team of melbourne victory?
SELECT MAX Season FROM table WHERE Home Team = chonburi AND Away Team = melbourne victory
Translate the following into a SQL query
Can you tell me the Season that has the Score of 1-0?
SELECT Season FROM table WHERE Score = 1-0
Translate the following into a SQL query
WHAT IS THE LOWEST $50-1/2 OZ COIN WITH A 1997 YEAR AND $25-1/4 OZ LARGER THAN $27,100?
SELECT MIN $50 – 1/2 oz. FROM table WHERE Year = 1997 AND $25 – 1/4 oz. > 27,100
Translate the following into a SQL query
WHAT IS THE LOWEST $25-1/4 OZ COIN WITH A $10-1/10 OZ OF $70,250?
SELECT MIN $25 – 1/4 oz. FROM table WHERE $10 – 1/10 oz. = 70,250
Translate the following into a SQL query
What is the model number for the GPU and 320 mhz?
SELECT Model number FROM table WHERE GPU frequency = 320 mhz
Translate the following into a SQL query
What is the socket of the model atom e680t?
SELECT Socket FROM table WHERE Model number = atom e680t
Translate the following into a SQL query
What is the memory for ct80618005844ab?
SELECT Memory FROM table WHERE Part number(s) = ct80618005844ab
Translate the following into a SQL query
Which Average Cards a game has a Season of 1997/1998, and a Games larger than 38?
SELECT MAX Average Cards a game FROM table WHERE Season = 1997/1998 AND Games > 38
Translate the following into a SQL query
Which Red Cards has a Season of 1998/1999, and a Games larger than 41?
SELECT MIN Red Cards FROM table WHERE Season = 1998/1999 AND Games > 41
Translate the following into a SQL query
Which Games has a Season of 2003/2004, and a Red Cards smaller than 5?
SELECT AVG Games FROM table WHERE Season = 2003/2004 AND Red Cards < 5
Translate the following into a SQL query
Which Average Cards a game has a Season of 2004/2005, and a Red Cards larger than 3?
SELECT MIN Average Cards a game FROM table WHERE Season = 2004/2005 AND Red Cards > 3
Translate the following into a SQL query
Which Yellow Cards has a Season of 1999/2000?
SELECT AVG Yellow Cards FROM table WHERE Season = 1999/2000
Translate the following into a SQL query
Which Goals have Ends of 30 june 2010, and Since larger than 2007?
SELECT Goals FROM table WHERE Ends = 30 june 2010 AND Since > 2007
Translate the following into a SQL query
Which Name has Ends of 30 june 2010, and a Nation of eng, and Since larger than 2007?
SELECT Name FROM table WHERE Ends = 30 june 2010 AND Nat. = eng AND Since > 2007
Translate the following into a SQL query
What was Bryan Clay's react time?
SELECT MIN React FROM table WHERE Name = bryan clay