instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
Who was the driver in 1986?
SELECT Driver FROM table WHERE Year = 1986
Translate the following into a SQL query
When was an average speed of 81.388 mph recorded?
SELECT Date FROM table WHERE Average Speed (mph) = 81.388
Translate the following into a SQL query
Who was the manufacturer in 1990?
SELECT Manufacturer FROM table WHERE Year = 1990
Translate the following into a SQL query
Who was the manufacturer in the year when the race lasted 2:30:28?
SELECT Manufacturer FROM table WHERE Race Time = 2:30:28
Translate the following into a SQL query
What team competed in 2003?
SELECT Team FROM table WHERE Year = 2003
Translate the following into a SQL query
How long in miles (km) was the race that lasted 3:07:53?
SELECT Miles (km) FROM table WHERE Race Time = 3:07:53
Translate the following into a SQL query
Name the race name for june 6
SELECT Race Name FROM table WHERE Date = June 6
Translate the following into a SQL query
Name the location for trenton 300
SELECT Location FROM table WHERE Race Name = Trenton 300
Translate the following into a SQL query
Name the race name for rnd being 11
SELECT Race Name FROM table WHERE Rnd = 11
Translate the following into a SQL query
What length was won by Roger McCluskey?
SELECT Length FROM table WHERE Winning Driver = Roger McCluskey
Translate the following into a SQL query
What rounds did Phoenix International Raceway host?
SELECT Rnd FROM table WHERE Track = Phoenix International Raceway
Translate the following into a SQL query
What are the lengths hosted by Pocono International Raceway?
SELECT Length FROM table WHERE Track = Pocono International Raceway
Translate the following into a SQL query
What lengths did Phoenix International Raceway host?
SELECT Length FROM table WHERE Track = Phoenix International Raceway
Translate the following into a SQL query
Name the location attendance for score being l 83–118 (ot)
SELECT Location Attendance FROM table WHERE Score = L 83–118 (OT)
Translate the following into a SQL query
Name the high assists for december 9
SELECT High assists FROM table WHERE Date = December 9
Translate the following into a SQL query
What is the total number of winners when the team classification leader was Kelme-Costa Blanca and the combativity award was won by Jacky Durand?
SELECT COUNT Winner FROM table WHERE Team classification = Kelme-Costa Blanca AND Combativity award = Jacky Durand
Translate the following into a SQL query
Who was the general classification leader when the young rider classification leader was Salvatore Commesso and the winner was Erik Dekker?
SELECT General classification FROM table WHERE Young rider classification = Salvatore Commesso AND Winner = Erik Dekker
Translate the following into a SQL query
What is the total number of team classifications when the young rider classification leader was Salvatore Commesso and the combativity award winner was Jacky Durand?
SELECT COUNT Team classification FROM table WHERE Young rider classification = Salvatore Commesso AND Combativity award = Jacky Durand
Translate the following into a SQL query
In what round did Al Unser win at Wisconsin State Fair Park Speedway?
SELECT MIN Rnd FROM table WHERE Winning Driver = Al Unser AND Track = Wisconsin State Fair Park Speedway
Translate the following into a SQL query
How many races are in College Station, Texas and won by Johnny Rutherford?
SELECT COUNT Race Name FROM table WHERE Location = College Station, Texas AND Winning Driver = Johnny Rutherford
Translate the following into a SQL query
What was the name of the race that Al Unser had the pole position?
SELECT Race Name FROM table WHERE Pole Position = Al Unser
Translate the following into a SQL query
What is the name of the track for the International 500 mile Sweepstakes race?
SELECT Track FROM table WHERE Race Name = International 500 Mile Sweepstakes
Translate the following into a SQL query
Which locations did Gordon Johncock hold the pole position?
SELECT Location FROM table WHERE Pole Position = Gordon Johncock
Translate the following into a SQL query
What classifications does Fish Rap live! has?
SELECT Classification FROM table WHERE Title = Fish Rap Live!
Translate the following into a SQL query
How many races took place on October 1?
SELECT COUNT Race Name FROM table WHERE Date = October 1
Translate the following into a SQL query
How many types of tracks are there on the Phoenix International raceway?
SELECT COUNT Type FROM table WHERE Track = Phoenix International Raceway
Translate the following into a SQL query
Daily Empress Indy Silverstone took place on which round?
SELECT MAX Rnd FROM table WHERE Race Name = Daily Empress Indy Silverstone
Translate the following into a SQL query
How many races took place on the Indianapolis Motor Speedway track?
SELECT COUNT Race Name FROM table WHERE Track = Indianapolis Motor Speedway
Translate the following into a SQL query
What driver achieved a 3:50:12 race time?
SELECT Driver FROM table WHERE Race Time = 3:50:12
Translate the following into a SQL query
Can you tell me the manufacturer behind Race Hill Farm Team?
SELECT Manufacturer FROM table WHERE Team = Race Hill Farm Team
Translate the following into a SQL query
How many laps have a 3:34:26 race time?
SELECT COUNT Laps FROM table WHERE Race Time = 3:34:26
Translate the following into a SQL query
What's the average mph of 1964?
SELECT Average Speed (mph) FROM table WHERE Year = 1964
Translate the following into a SQL query
Whose is the manufacturer for team Ranier-Lundy?
SELECT Manufacturer FROM table WHERE Team = Ranier-Lundy
Translate the following into a SQL query
In what year was the average speed 92.68?
SELECT Year FROM table WHERE Average Speed (mph) = 92.68
Translate the following into a SQL query
How many years was Pontiac the manufacturer for Joe Gibbs Racing?
SELECT COUNT Year FROM table WHERE Team = Joe Gibbs Racing AND Manufacturer = Pontiac
Translate the following into a SQL query
What is the date for the race that had the time of 2:43:19?
SELECT Date FROM table WHERE Race Time = 2:43:19
Translate the following into a SQL query
How many average speeds are listed in the year 2003?
SELECT COUNT Average Speed (mph) FROM table WHERE Year = 2003
Translate the following into a SQL query
What team had a race time of 2:53:57?
SELECT Team FROM table WHERE Race Time = 2:53:57
Translate the following into a SQL query
Name the sprint classification being alejandro valverde
SELECT Sprint Classification FROM table WHERE Winner = Alejandro Valverde
Translate the following into a SQL query
Name the stage for no award
SELECT Stage FROM table WHERE Mountains Classification = no award
Translate the following into a SQL query
Name the total number of stage for lloyd mondory
SELECT COUNT Stage FROM table WHERE Mountains Classification = Lloyd Mondory
Translate the following into a SQL query
Name the most stage for alejandro valverde and astana greg henderson
SELECT MAX Stage FROM table WHERE General Classification = Alejandro Valverde AND Team Classification = Astana AND Winner = Greg Henderson
Translate the following into a SQL query
When the Border Conference was held, who was the tournament winner?
SELECT Tournament Winner FROM table WHERE Conference = Border Conference
Translate the following into a SQL query
When Princeton was the regular season winner, who was the tournament winner?
SELECT Tournament Winner FROM table WHERE Regular Season Winner = Princeton
Translate the following into a SQL query
When Wyoming won the regular season, who was the conference player of the year?
SELECT Conference Player of the Year FROM table WHERE Regular Season Winner = Wyoming
Translate the following into a SQL query
How long has Mel Daniels been playing?
SELECT Experience FROM table WHERE Name = Mel Daniels
Translate the following into a SQL query
What position did the player from San Jose State play?
SELECT Position FROM table WHERE College = San Jose State
Translate the following into a SQL query
What was the number of the player that was 6-6?
SELECT Number FROM table WHERE Height = 6-6
Translate the following into a SQL query
If the song choice is Coba and the order number is 10, what is the result?
SELECT Result FROM table WHERE Order # = 10 AND Song choice = Coba
Translate the following into a SQL query
What is the result if Coba is the song choice?
SELECT Result FROM table WHERE Song choice = Coba
Translate the following into a SQL query
If Coba is the song choice, what is the order number?
SELECT Order # FROM table WHERE Song choice = Coba
Translate the following into a SQL query
If Crazy In Love is the song choice, what is the theme?
SELECT Theme FROM table WHERE Song choice = Crazy In Love
Translate the following into a SQL query
For week number of the top 40, what was the results?
SELECT Result FROM table WHERE Week # = Top 40
Translate the following into a SQL query
For week of top 9, what were the results?
SELECT Result FROM table WHERE Week # = Top 9
Translate the following into a SQL query
The city of Birmingham is what type of location?
SELECT Type FROM table WHERE City = Birmingham
Translate the following into a SQL query
Leeds City Council is the local authority for what type of location?
SELECT Type FROM table WHERE Local authority = Leeds City Council
Translate the following into a SQL query
Tyne and Wear County has what total membership for their metropolitan area?
SELECT Metropolitan area FROM table WHERE County = Tyne and Wear
Translate the following into a SQL query
What is the total membership for the metropolitan area in the city of Manchester?
SELECT MAX Metropolitan area FROM table WHERE City = Manchester
Translate the following into a SQL query
Who was the runner-up (a) if K. P. Ramalingam won the election?
SELECT Runner-up a FROM table WHERE Winner = K. P. Ramalingam
Translate the following into a SQL query
When 1 (5) is the races what is the team name?
SELECT Team name FROM table WHERE Races = 1 (5)
Translate the following into a SQL query
When 19th is the position what is the highest amount of poles?
SELECT MAX Poles FROM table WHERE Pos. = 19th
Translate the following into a SQL query
When 86 is the amount of points what is the position?
SELECT Pos. FROM table WHERE Points = 86
Translate the following into a SQL query
Name the most margin for nco party and p. ramachandran won
SELECT MAX Margin FROM table WHERE Party = NCO AND Winner = P. Ramachandran
Translate the following into a SQL query
Name the party a for m. s. k. sathiyendran runner up
SELECT Party a FROM table WHERE Runner-up a = M. S. K. Sathiyendran
Translate the following into a SQL query
Name the party a for sriperumbudur
SELECT Party a FROM table WHERE Constituency = Sriperumbudur
Translate the following into a SQL query
Name the total number of runner up a for perambalur
SELECT COUNT Runner-up a FROM table WHERE Constituency = Perambalur
Translate the following into a SQL query
Name the constituency for 175130
SELECT Constituency FROM table WHERE Margin = 175130
Translate the following into a SQL query
How many margins have a winner of S. Singaravadivel?
SELECT COUNT Margin FROM table WHERE Winner = S. Singaravadivel
Translate the following into a SQL query
How many winners have a runner-up of A. Karthikeyan?
SELECT COUNT Winner FROM table WHERE Runner-up a = A. Karthikeyan
Translate the following into a SQL query
What is every party with a winner of P. Chidambaram?
SELECT Party a FROM table WHERE Winner = P. Chidambaram
Translate the following into a SQL query
What is every party A with a constituency of Tiruchendur?
SELECT Party a FROM table WHERE Constituency = Tiruchendur
Translate the following into a SQL query
Who is the constituency when the runner-up was d. Venugopal?
SELECT Constituency FROM table WHERE Runner-up a = D. Venugopal
Translate the following into a SQL query
What is the party where the constituency is 10. Tindivanam?
SELECT Party FROM table WHERE Constituency = 10. Tindivanam
Translate the following into a SQL query
What is the party when the constituency is 1. Chennai North?
SELECT Party FROM table WHERE Constituency = 1. Chennai North
Translate the following into a SQL query
How many margin results are listed in the election that was won by L. Adaikalaraj C and the party was the Indian national congress?
SELECT COUNT Margin FROM table WHERE Party = Indian National Congress AND Winner = L. Adaikalaraj c
Translate the following into a SQL query
What is the margin when k. balathandayutham is the winner?
SELECT MAX Margin FROM table WHERE Winner = K. Balathandayutham
Translate the following into a SQL query
What is the margin when periyakulam is the constituency?
SELECT Margin FROM table WHERE Constituency = Periyakulam
Translate the following into a SQL query
Who had the pole position in the August 15, 1981 race?
SELECT Pole Position FROM table WHERE Date = August 15, 1981
Translate the following into a SQL query
Which track was used on September 12, 1981?
SELECT Track FROM table WHERE Date = September 12, 1981
Translate the following into a SQL query
Name the park and ride for university of washington
SELECT Park and ride? FROM table WHERE City/Neighborhood = University of Washington
Translate the following into a SQL query
Name the extension for university of washington
SELECT Extension FROM table WHERE City/Neighborhood = University of Washington
Translate the following into a SQL query
Name the least projected opening
SELECT MIN Projected opening FROM table
Translate the following into a SQL query
Name the transit connections for capitol hill u
SELECT Transit Connections FROM table WHERE Station = Capitol Hill U
Translate the following into a SQL query
Name the park and ride for roosevelt u
SELECT Park and ride? FROM table WHERE Station = Roosevelt U
Translate the following into a SQL query
How many park and rides are proposed for Overlake Village?
SELECT COUNT Park and ride? FROM table WHERE Station = Overlake Village
Translate the following into a SQL query
How many neighborhoods have a station proposed at a Hospital?
SELECT COUNT City/Neighborhood FROM table WHERE Station = Hospital
Translate the following into a SQL query
What are all the City/Neighborhoods whose extension is East Link and proposed parking lot status is yes and whose proposed station is Overlake transit Center?
SELECT City/Neighborhood FROM table WHERE Extension = East Link AND Park and ride? = Yes AND Station = Overlake Transit Center
Translate the following into a SQL query
What is the funded by st2 status of the Redondo/Star Lake station?
SELECT Funded by ST2 ? FROM table WHERE Station = Redondo/Star Lake
Translate the following into a SQL query
What are the transit connections from Pioneer Square U?
SELECT Transit Connections FROM table WHERE Station = Pioneer Square U
Translate the following into a SQL query
What's the transit connection in Columbia City, Seattle?
SELECT Transit Connections FROM table WHERE City/Neighborhood = Columbia City, Seattle
Translate the following into a SQL query
For small patent type of protections, what type of PCT route is available?
SELECT PCT route available FROM table WHERE Type of Protection = small patent
Translate the following into a SQL query
In Tonga, what is the conversion from patent application?
SELECT Conversion from Patent Application FROM table WHERE Country = Tonga
Translate the following into a SQL query
For short patent type of protections, what type of PCT route is available?
SELECT PCT route available FROM table WHERE Type of Protection = short patent
Translate the following into a SQL query
In Tangier Zone, what is the PCT route availibility?
SELECT PCT route available FROM table WHERE Country = Tangier Zone
Translate the following into a SQL query
When the PCT route available is yes and the maximum term is 10 years, what are the available conversions from patent applications?
SELECT Conversion from Patent Application FROM table WHERE Maximum Term = 10 years AND PCT route available = Yes
Translate the following into a SQL query
What was the result against the team which the Cowboys have a 6-2 record against?
SELECT Result FROM table WHERE Record = 6-2
Translate the following into a SQL query
What is the fewest points opponents have scored when the Cowboys score 36?
SELECT MIN Opponents FROM table WHERE Cowboys points = 36
Translate the following into a SQL query
How many opponents have a 1-0 record against the Cowboys?
SELECT Opponents FROM table WHERE Record = 1-0
Translate the following into a SQL query
What game was held against a team with a 6-3 record against the Cowboys?
SELECT Game FROM table WHERE Record = 6-3
Translate the following into a SQL query
How many names have a country of civ?
SELECT COUNT Name FROM table WHERE Country = CIV