instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
How many figures are there for Rank 07-11 when the world ranking is 4?
SELECT COUNT RANK 07-11 FROM table WHERE WORLD RANKING = 4
Translate the following into a SQL query
How many figures are given for pubs 2011 in Chennai?
SELECT COUNT PUBS 2011 FROM table WHERE LOCATION = Chennai
Translate the following into a SQL query
Name the number location of georgia perimeter college
SELECT COUNT Location FROM table WHERE Institution = Georgia Perimeter College
Translate the following into a SQL query
Name the location for chattahoochee technical college
SELECT Location FROM table WHERE Institution = Chattahoochee Technical College
Translate the following into a SQL query
Name the location for abraham baldwin agricultural college
SELECT Location FROM table WHERE Institution = Abraham Baldwin Agricultural College
Translate the following into a SQL query
Name the total number of nicknames for andrew college
SELECT COUNT Nickname FROM table WHERE Institution = Andrew College
Translate the following into a SQL query
Name the most enrollment when nickname is hawks
SELECT MAX Enrollment FROM table WHERE Nickname = Hawks
Translate the following into a SQL query
WHAT WAS THE SURFACE MADE OF WHEN THE OPPONENT WAS GEORGE KHRIKADZE?
SELECT Surface FROM table WHERE Opponent = George Khrikadze
Translate the following into a SQL query
WHAT WERE ALL OF THE RESULTS WHEN THEY PLAYED AGAINST LITHUANIA AND THE SURFACE WAS MADE OF CLAY?
SELECT Result FROM table WHERE Surface = Clay AND Against = Lithuania
Translate the following into a SQL query
Name the republican steve sauerberg where dates administered september 15-september 18, 2008
SELECT Republican: Steve Sauerberg FROM table WHERE Dates administered = September 15-September 18, 2008
Translate the following into a SQL query
Name the republican steve sauerberg for august 12, 2008
SELECT Republican: Steve Sauerberg FROM table WHERE Dates administered = August 12, 2008
Translate the following into a SQL query
Name the poll source for july 12, 2008
SELECT Poll Source FROM table WHERE Dates administered = July 12, 2008
Translate the following into a SQL query
Name the republican steve sauerberg for august 12, 2008
SELECT Republican: Steve Sauerberg FROM table WHERE Dates administered = August 12, 2008
Translate the following into a SQL query
Name the republican steve sauerberg for august 12, 2008
SELECT Republican: Steve Sauerberg FROM table WHERE Dates administered = August 12, 2008
Translate the following into a SQL query
When the lead margin was 35, what were the Democrat: Vivian Davis Figures?
SELECT Democrat: Vivian Davis Figures FROM table WHERE Lead Margin = 35
Translate the following into a SQL query
On June 30, 2008 who what was the Republican: Jeff Sessions percentage?
SELECT Republican: Jeff Sessions FROM table WHERE Dates administered = June 30, 2008
Translate the following into a SQL query
On November 14, 2007, how many different Republican: Jeff Sessions are there?
SELECT COUNT Republican: Jeff Sessions FROM table WHERE Dates administered = November 14, 2007
Translate the following into a SQL query
On November 14, 2007, what are the Democrat: Vivian Davis Figures percentages?
SELECT Democrat: Vivian Davis Figures FROM table WHERE Dates administered = November 14, 2007
Translate the following into a SQL query
On July 31, 2008, what are the Democrat: Vivian Davis Figures percentages?
SELECT Democrat: Vivian Davis Figures FROM table WHERE Dates administered = July 31, 2008
Translate the following into a SQL query
What was Mark Begich polling on October 6, 2008?
SELECT Democrat: Mark Begich FROM table WHERE Dates administered = October 6, 2008
Translate the following into a SQL query
When the poll source is research 2000/daily kos, what is the total number of dates administered?
SELECT COUNT Dates administered FROM table WHERE Poll Source = Research 2000/Daily Kos
Translate the following into a SQL query
On July 17, 2008, what was the total number of lead maragin?
SELECT COUNT Lead Maragin FROM table WHERE Dates administered = July 17, 2008
Translate the following into a SQL query
What clubs had 608 points against?
SELECT Club FROM table WHERE Points against = 608
Translate the following into a SQL query
How many games played for the team with 48 points?
SELECT Played FROM table WHERE Points = 48
Translate the following into a SQL query
How many games played for the team with 686 points against?
SELECT Played FROM table WHERE Points against = 686
Translate the following into a SQL query
What clubs recorded 748 points to the good?
SELECT Club FROM table WHERE Points for = 748
Translate the following into a SQL query
How many teams had 632 points against?
SELECT COUNT Points for FROM table WHERE Points against = 632
Translate the following into a SQL query
How many games drawn for the team that lost 11 and had 748 points?
SELECT Drawn FROM table WHERE Lost = 11 AND Points for = 748
Translate the following into a SQL query
How many times did Public Policy Polling under Republican: Jack Hoogendyk?
SELECT COUNT Republican: Jack Hoogendyk FROM table WHERE Poll Source = Public Policy Polling
Translate the following into a SQL query
What poll source had an administered date on July 10, 2008?
SELECT Poll Source FROM table WHERE Dates administered = July 10, 2008
Translate the following into a SQL query
What was the smallest lead margin when the source of polls came from Strategic Vision and Democrat Carl Levin had 57%?
SELECT MIN Lead Margin FROM table WHERE Poll Source = Strategic Vision AND Democrat: Carl Levin = 57%
Translate the following into a SQL query
What was the poll source when Democrat Carl Levin had 54% and the lead margin was 28?
SELECT Poll Source FROM table WHERE Democrat: Carl Levin = 54% AND Lead Margin = 28
Translate the following into a SQL query
How many dates were recorder administered when poll were sourced from Strategic Vision and the Republican Jack Hoogendyk had 29%?
SELECT COUNT Dates administered FROM table WHERE Poll Source = Strategic Vision AND Republican: Jack Hoogendyk = 29%
Translate the following into a SQL query
What is the latitude when the diameter is 184.0?
SELECT Latitude FROM table WHERE Diameter = 184.0
Translate the following into a SQL query
How many longitudes have a diameter of 224.0?
SELECT COUNT Longitude FROM table WHERE Diameter = 224.0
Translate the following into a SQL query
What is the namesake of the feature found at 189.5w longitude?
SELECT Namesake FROM table WHERE Longitude = 189.5W
Translate the following into a SQL query
When the longitude is 147.1w what is the namesake of the feature?
SELECT Namesake FROM table WHERE Longitude = 147.1W
Translate the following into a SQL query
How many longitudes have a latitude of 9.9n?
SELECT COUNT Longitude FROM table WHERE Latitude = 9.9N
Translate the following into a SQL query
What is the maximum points against when team's points are 10?
SELECT MAX Points against FROM table WHERE Pts = 10
Translate the following into a SQL query
What are the tries against when they played against Bridgend?
SELECT MAX Tries against FROM table WHERE Team = Bridgend
Translate the following into a SQL query
What is the smallest number of tries for in a game?
SELECT MIN Tries for FROM table
Translate the following into a SQL query
Philae Sulcus has a latitude of what?
SELECT Latitude FROM table WHERE Name = Philae Sulcus
Translate the following into a SQL query
Name the opponent for 12 may 2008
SELECT Opponent FROM table WHERE Date = 12 May 2008
Translate the following into a SQL query
how many points scored by sportivo luqueño
SELECT COUNT Points FROM table WHERE Team = Sportivo Luqueño
Translate the following into a SQL query
For team Atlético Nacional, what were the points?
SELECT Points FROM table WHERE Team #2 = Atlético Nacional
Translate the following into a SQL query
If team two is San Lorenzo, how many were on team one?
SELECT COUNT Team #1 FROM table WHERE Team #2 = San Lorenzo
Translate the following into a SQL query
If team two is Lanús, what was the total number of points?
SELECT COUNT Points FROM table WHERE Team #2 = Lanús
Translate the following into a SQL query
What is the name origin of Nike Fossae?
SELECT Name origin FROM table WHERE Name = Nike Fossae
Translate the following into a SQL query
Which name is at latitude 10.0s?
SELECT Name FROM table WHERE Latitude = 10.0S
Translate the following into a SQL query
At what latitude can the name origin of yuzut-arkh fossae be found?
SELECT Latitude FROM table WHERE Name = Yuzut-Arkh Fossae
Translate the following into a SQL query
At what latitude can the name origin of naijok fossae be found?
SELECT Latitude FROM table WHERE Name = Naijok Fossae
Translate the following into a SQL query
At what latitude can you find the diameter (km) of 500.0?
SELECT Latitude FROM table WHERE Diameter (km) = 500.0
Translate the following into a SQL query
How many numbers are listed under diameter with a lattitude of 5.0n?
SELECT COUNT Diameter (km) FROM table WHERE Latitude = 5.0N
Translate the following into a SQL query
What is the name origin with a diameter of 220.0 kilometers?
SELECT Name origin FROM table WHERE Diameter (km) = 220.0
Translate the following into a SQL query
What is the name of feature with a longitude 246.0e?
SELECT Name FROM table WHERE Longitude = 246.0E
Translate the following into a SQL query
What is every name origin with the name Ovda Fluctus?
SELECT Name origin FROM table WHERE Name = Ovda Fluctus
Translate the following into a SQL query
What is the highest year named for the name Tie Fluctus?
SELECT MAX Year named FROM table WHERE Name = Tie Fluctus
Translate the following into a SQL query
What is every year named for the latitude of 66.5N?
SELECT Year named FROM table WHERE Latitude = 66.5N
Translate the following into a SQL query
What is every name for longitude of 152.0E?
SELECT Name FROM table WHERE Longitude = 152.0E
Translate the following into a SQL query
What is the diameter of the feature with longitude 8.0e?
SELECT Diameter (km) FROM table WHERE Longitude = 8.0E
Translate the following into a SQL query
What feature is at latitude 23.9S?
SELECT Name FROM table WHERE Latitude = 23.9S
Translate the following into a SQL query
When was the most recently named feature named?
SELECT MAX Year named FROM table
Translate the following into a SQL query
Name the diameter for likho , east slavic deity of bad fate.
SELECT Diameter (km) FROM table WHERE Name origin = Likho , East Slavic deity of bad fate.
Translate the following into a SQL query
Name the name of 36.0n
SELECT Name FROM table WHERE Latitude = 36.0N
Translate the following into a SQL query
Name the latitude of laima tessera
SELECT Latitude FROM table WHERE Name = Laima Tessera
Translate the following into a SQL query
Name the name origin for 54.0e
SELECT Name origin FROM table WHERE Longitude = 54.0E
Translate the following into a SQL query
Name the total number of year named for athena , greek goddess of wisdom .
SELECT COUNT Year named FROM table WHERE Name origin = Athena , Greek goddess of wisdom .
Translate the following into a SQL query
Grechukha Tholi has what longitude?
SELECT Longitude FROM table WHERE Name = Grechukha Tholi
Translate the following into a SQL query
Where is longitude 202.9e?
SELECT Name FROM table WHERE Longitude = 202.9E
Translate the following into a SQL query
How many schools are named otafuku tholi?
SELECT COUNT Year named FROM table WHERE Name = Otafuku Tholi
Translate the following into a SQL query
What year was Norterma Tholus created?
SELECT MAX Year named FROM table WHERE Name = Norterma Tholus
Translate the following into a SQL query
What was Great Britain's Round 1 score?
SELECT Round1 FROM table WHERE Team = Great Britain
Translate the following into a SQL query
What was team Toshiba's round 4 score?
SELECT MIN Round4 FROM table WHERE Team = Team Toshiba
Translate the following into a SQL query
What was the highest score for round 2?
SELECT MAX Round2 FROM table
Translate the following into a SQL query
What was the round 5 score if the team's total points where 212?
SELECT Round5 FROM table WHERE Total Points = 212
Translate the following into a SQL query
What is the score for round 2 for team Toshiba?
SELECT COUNT Round2 FROM table WHERE Team = Team Toshiba
Translate the following into a SQL query
At the longitude of 355.0e, what is the name origin?
SELECT Name origin FROM table WHERE Longitude = 355.0E
Translate the following into a SQL query
What is the name origin of Morrigan Linea?
SELECT Name origin FROM table WHERE Name = Morrigan Linea
Translate the following into a SQL query
How many years have a longitude measure of 20.0e?
SELECT COUNT Year named FROM table WHERE Longitude = 20.0E
Translate the following into a SQL query
At a longitude of 293.0e, what is the diameter, in km?
SELECT Diameter (km) FROM table WHERE Longitude = 293.0E
Translate the following into a SQL query
What is the release date of the bonus interview with Peter Purves?
SELECT release date FROM table WHERE Notes = Bonus interview with Peter Purves
Translate the following into a SQL query
Which narrator has the bonus interview with Frazer Hines?
SELECT Narrator FROM table WHERE Notes = Bonus interview with Frazer Hines
Translate the following into a SQL query
What is the release date for Destiny of the Daleks?
SELECT release date FROM table WHERE Title = Destiny of the Daleks
Translate the following into a SQL query
What are the profits of Wells Fargo (in billions)?
SELECT Profits (billion $) FROM table WHERE Company = Wells Fargo
Translate the following into a SQL query
What is the ranking of BNP Paribas?
SELECT MIN Rank FROM table WHERE Company = BNP Paribas
Translate the following into a SQL query
Where are the headquarters of the company whose sales were 69.2 billion?
SELECT Headquarters FROM table WHERE Sales (billion $) = 69.2
Translate the following into a SQL query
What are the assets (in billions) of the company headquartered in China and whose profits are 21.2 billion?
SELECT Assets (billion $) FROM table WHERE Headquarters = China AND Profits (billion $) = 21.2
Translate the following into a SQL query
What are the profits (in billions) of the company with a market value of 172.9 billion?
SELECT Profits (billion $) FROM table WHERE Market Value (billion $) = 172.9
Translate the following into a SQL query
What are the profits (in billions) where the assets are 192.8 billion?
SELECT Profits (billion $) FROM table WHERE Assets (billion $) = 192.8
Translate the following into a SQL query
Name the total number of index weighting % at 17 january 2013 for bouygues
SELECT COUNT Index weighting (%) at 17 January 2013 FROM table WHERE Company = Bouygues
Translate the following into a SQL query
Name the icb sector for ai
SELECT ICB Sector FROM table WHERE Ticker symbol = AI
Translate the following into a SQL query
Name the company where index weighting % is 11.96
SELECT Company FROM table WHERE Index weighting (%) at 17 January 2013 = 11.96
Translate the following into a SQL query
Name the index weighting % for 17 januaary 2013 for rno
SELECT Index weighting (%) at 17 January 2013 FROM table WHERE Ticker symbol = RNO
Translate the following into a SQL query
How many headquarters are there listed for HSBC?
SELECT COUNT Headquarters FROM table WHERE Company = HSBC
Translate the following into a SQL query
What is the market value in billions when the assets totaled 1,380.88?
SELECT Market Value (billion $) FROM table WHERE Assets (billion $) = 1,380.88
Translate the following into a SQL query
What is the highest rank of a company in the oil and gas industry headquartered in Netherlands?
SELECT MAX Rank FROM table WHERE Industry = Oil and gas AND Headquarters = Netherlands
Translate the following into a SQL query
What is the lowest rank of a company with 248.44 billions of dollars in assets?
SELECT MIN Rank FROM table WHERE Assets (billion $) = 248.44
Translate the following into a SQL query
In what industry was the company that had 89.16 billions of dollars in sales?
SELECT Industry FROM table WHERE Sales (billion $) = 89.16
Translate the following into a SQL query
Name the number of rank for 9.52 profits
SELECT COUNT Rank FROM table WHERE Profits (billion $) = 9.52
Translate the following into a SQL query
Name the country for 188.77 market value
SELECT Country FROM table WHERE Market Value (billion $) = 188.77