instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
When 2008 t is the original number what is the lowest year?
SELECT MIN Year FROM table WHERE Original number = 2008 T
Translate the following into a SQL query
When "virgen de gracia" is the name what is the date of withdrawn?
SELECT Withdrawn FROM table WHERE Name = "Virgen de Gracia"
Translate the following into a SQL query
When 9/07/1999 is the date of withdrawn what is the original number?
SELECT Original number FROM table WHERE Withdrawn = 9/07/1999
Translate the following into a SQL query
WHO WAS THE STAGE WINNER IN THE STAGE WHERE MICHAEL ALBASINI WON THE METAS VOLANTES CLASSIFICATION?
SELECT Stage (Winner) FROM table WHERE Metas Volantes Classification = Michael Albasini
Translate the following into a SQL query
Who got the mountains classification when Michael Albasini won the stage?
SELECT Mountains Classification FROM table WHERE Metas Volantes Classification = Michael Albasini
Translate the following into a SQL query
How many people were present at the July 10 game?
SELECT Attendance FROM table WHERE Date = July 10
Translate the following into a SQL query
What was the final score of the game played on July 10?
SELECT Final Score FROM table WHERE Date = July 10
Translate the following into a SQL query
What's the record achieved in the gamed played at BC Place Stadium?
SELECT Record FROM table WHERE Location = BC Place Stadium
Translate the following into a SQL query
During what week was the July 10 game played?
SELECT Week FROM table WHERE Date = July 10
Translate the following into a SQL query
When was the game on Taylor Field played?
SELECT Date FROM table WHERE Location = Taylor Field
Translate the following into a SQL query
Who placed fourth when the winner was Greg Hancock?
SELECT 4th placed FROM table WHERE Winner = Greg Hancock
Translate the following into a SQL query
Who was the runner-up on September 11?
SELECT Runner-up FROM table WHERE Date = September 11
Translate the following into a SQL query
How many rounds were on July 10?
SELECT COUNT Round FROM table WHERE Date = July 10
Translate the following into a SQL query
Name the number of years for 18.5
SELECT COUNT Year FROM table WHERE Avg. Finish = 18.5
Translate the following into a SQL query
Name the max top 5 for avg finish being 27.6
SELECT MAX Top 5 FROM table WHERE Avg. Finish = 27.6
Translate the following into a SQL query
Name the number of wins for 30 starts
SELECT COUNT Wins FROM table WHERE Starts = 30
Translate the following into a SQL query
Name the year for donlavey racing bill davis racing
SELECT Year FROM table WHERE Team(s) = Donlavey Racing Bill Davis Racing
Translate the following into a SQL query
Name the starts for 23.7
SELECT Starts FROM table WHERE Avg. Start = 23.7
Translate the following into a SQL query
Name the position for 23.7 avg start
SELECT COUNT Position FROM table WHERE Avg. Start = 23.7
Translate the following into a SQL query
What is the car number for the Chevrolet Monte Carlo that Teresa Earnhardt owns and Paul Menard is her driver?
SELECT MIN # FROM table WHERE Car(s) = Chevrolet Monte Carlo AND Listed Owner(s) = Teresa Earnhardt AND Driver(s) = Paul Menard
Translate the following into a SQL query
What type of car does Jeff Fuller drive?
SELECT Car(s) FROM table WHERE Driver(s) = Jeff Fuller
Translate the following into a SQL query
How many cars does Gregg Mixon own?
SELECT COUNT Car(s) FROM table WHERE Listed Owner(s) = Gregg Mixon
Translate the following into a SQL query
Who is Wayne Day's crew chief?
SELECT Crew Chief FROM table WHERE Listed Owner(s) = Wayne Day
Translate the following into a SQL query
What number is on the car that Geoffrey Bodine drives?
SELECT MIN # FROM table WHERE Driver(s) = Geoffrey Bodine
Translate the following into a SQL query
What episode number in the season is episode 24 in the series?
SELECT No. in season FROM table WHERE No. in series = 24
Translate the following into a SQL query
How many episodes in the season were directed by Jeremy Podeswa?
SELECT COUNT No. in season FROM table WHERE Directed by = Jeremy Podeswa
Translate the following into a SQL query
What is the name of the episode directed by Miguel Arteta?
SELECT Title FROM table WHERE Directed by = Miguel Arteta
Translate the following into a SQL query
How many episodes in the series were directed by Alan Taylor?
SELECT COUNT No. in series FROM table WHERE Directed by = Alan Taylor
Translate the following into a SQL query
How many different teams had an average start of 12.9?
SELECT COUNT Team(s) FROM table WHERE Avg. Start = 12.9
Translate the following into a SQL query
How high was the amount of winnings (in $) in the year with 15 starts?
SELECT Winnings FROM table WHERE Starts = 15
Translate the following into a SQL query
How many different amounts of winnings were there for the year when the team had an average finish of 17.4?
SELECT COUNT Winnings FROM table WHERE Avg. Finish = 17.4
Translate the following into a SQL query
What was the top 5 in the year with an average finish of 8.2?
SELECT MIN Top 5 FROM table WHERE Avg. Finish = 8.2
Translate the following into a SQL query
What was the position of the team with an average finish of 21.5?
SELECT Position FROM table WHERE Avg. Finish = 21.5
Translate the following into a SQL query
How many years was the position 97th?
SELECT COUNT Year FROM table WHERE Position = 97th
Translate the following into a SQL query
How many wins when the average start is 29.0?
SELECT COUNT Wins FROM table WHERE Avg. Start = 29.0
Translate the following into a SQL query
What is the average finish when winnings equals $71,200?
SELECT Avg. Finish FROM table WHERE Winnings = $71,200
Translate the following into a SQL query
What year did the winnings equal $281,945?
SELECT Year FROM table WHERE Winnings = $281,945
Translate the following into a SQL query
What are the top 5 average finishes equalling 40.3?
SELECT Top 5 FROM table WHERE Avg. Finish = 40.3
Translate the following into a SQL query
Who wrote episode 31 in the series?
SELECT Written by FROM table WHERE No. in series = 31
Translate the following into a SQL query
What was the date that the episode with a production code of 213 was originally aired?
SELECT Original U.S. air date FROM table WHERE Prod. code = 213
Translate the following into a SQL query
Who was playing when the score was 5–7, 6–7 (4–7)?
SELECT Opponents FROM table WHERE Score = 5–7, 6–7 (4–7)
Translate the following into a SQL query
Who was playing when the score was 5–7, 5–7?
SELECT Opponents FROM table WHERE Score = 5–7, 5–7
Translate the following into a SQL query
How many partners were there when the score was 7–6 (7–4) , 6–3?
SELECT COUNT Partner FROM table WHERE Score = 7–6 (7–4) , 6–3
Translate the following into a SQL query
What was their record when they played the stampeders?
SELECT Record FROM table WHERE Opponent = Stampeders
Translate the following into a SQL query
What was their record in week 11?
SELECT Record FROM table WHERE Week = 11
Translate the following into a SQL query
Name the least wins
SELECT MIN Wins FROM table
Translate the following into a SQL query
Name the avg start for avg finish of 18.3
SELECT Avg. Start FROM table WHERE Avg. Finish = 18.3
Translate the following into a SQL query
Name the year for #16 roush racing for poles less than smaller 1.0
SELECT Year FROM table WHERE Team(s) = #16 Roush Racing AND Poles < 1.0
Translate the following into a SQL query
Name the transmission for ps (kw; hp) @4500-6000
SELECT Transmission FROM table WHERE Power@rpm = PS (kW; hp) @4500-6000
Translate the following into a SQL query
Name the 0–100km/h acceleration for ps (kw; hp) @5400
SELECT 0–100km/h acceleration FROM table WHERE Power@rpm = PS (kW; hp) @5400
Translate the following into a SQL query
Name the listen owners for repairone
SELECT Listed Owner(s) FROM table WHERE Primary Sponsor(s) = RepairOne
Translate the following into a SQL query
Name the trucks for scott neal
SELECT Truck(s) FROM table WHERE Crew Chief = Scott Neal
Translate the following into a SQL query
Name the listed owners for brevak racing
SELECT Listed Owner(s) FROM table WHERE Team = Brevak Racing
Translate the following into a SQL query
Name the crew chief for ricky craven
SELECT Crew Chief FROM table WHERE Driver(s) = Ricky Craven
Translate the following into a SQL query
Name the drivers for superchips
SELECT Driver(s) FROM table WHERE Primary Sponsor(s) = Superchips
Translate the following into a SQL query
When was Viva Cuba submitted?
SELECT Year (Ceremony) FROM table WHERE Spanish title = Viva Cuba
Translate the following into a SQL query
Name the name for 15 yield
SELECT Name or Number FROM table WHERE Yield (megatons) = 15
Translate the following into a SQL query
What is the rank of the company known for retailing?
SELECT COUNT State Rank by Revenue FROM table WHERE Known for = Retailing
Translate the following into a SQL query
What is the rank for Murphy Oil?
SELECT State Rank by Revenue FROM table WHERE Company Name = Murphy Oil
Translate the following into a SQL query
Where is the company with estimated revenue of 33.3 billion headquartered?
SELECT Headquarters City FROM table WHERE Revenue ($billions) 2012 estimate = 33.3
Translate the following into a SQL query
What is the national rank of Windstream?
SELECT MIN National Rank FROM table WHERE Company Name = Windstream
Translate the following into a SQL query
What is the state rank of the company with 6.8 billion in revenue?
SELECT State Rank by Revenue FROM table WHERE Revenue ($billions) 2012 estimate = 6.8
Translate the following into a SQL query
Name the entrant for benedicto campos
SELECT Entrant FROM table WHERE Driver = Benedicto Campos
Translate the following into a SQL query
Name the number for automóvil club argentino for juan manuel fangio
SELECT No FROM table WHERE Entrant = Automóvil Club Argentino AND Driver = Juan Manuel Fangio
Translate the following into a SQL query
Name the most number for automóvil club argentino for benedicto campos
SELECT MAX No FROM table WHERE Entrant = Automóvil Club Argentino AND Driver = Benedicto Campos
Translate the following into a SQL query
Name the driver for talbot l6
SELECT Driver FROM table WHERE Engine = Talbot L6
Translate the following into a SQL query
Name the constructor for alberto ascari
SELECT Constructor FROM table WHERE Driver = Alberto Ascari
Translate the following into a SQL query
Name the chassis for alta
SELECT Chassis FROM table WHERE Constructor = Alta
Translate the following into a SQL query
The Maserati 4cl's minimum no was?
SELECT MIN No FROM table WHERE Chassis = Maserati 4CL
Translate the following into a SQL query
How many entrants was yves giraud-cabantous?
SELECT COUNT Entrant FROM table WHERE Driver = Yves Giraud-Cabantous
Translate the following into a SQL query
What chasis did the maserati l6s have?
SELECT Chassis FROM table WHERE Engine = Maserati L6s
Translate the following into a SQL query
How many drivers did Bob Gerard Racing have?
SELECT COUNT Driver FROM table WHERE Entrant = Bob Gerard Racing
Translate the following into a SQL query
For the team with 7 points, how many points were scored against this season?
SELECT COUNT Pts Agst FROM table WHERE Points = 7
Translate the following into a SQL query
What is the maximum number of points scored against?
SELECT MAX Pts Agst FROM table
Translate the following into a SQL query
What is Chesterfield Spires average?
SELECT Average FROM table WHERE Club = Chesterfield Spires
Translate the following into a SQL query
What is the total number of January (°C) temperatures when the July (°C) temperatures were 22/13?
SELECT COUNT January (°C) FROM table WHERE July (°C) = 22/13
Translate the following into a SQL query
What is the total number of January (°C) temperatures when the July (°C) temperatures were 23/15?
SELECT COUNT January (°C) FROM table WHERE July (°C) = 23/15
Translate the following into a SQL query
In what location were the January (°F) temperatures 30/17?
SELECT Location FROM table WHERE January (°F) = 30/17
Translate the following into a SQL query
What were the July (°C) temperatures when the July (°F) temperatures were 71/55?
SELECT July (°C) FROM table WHERE July (°F) = 71/55
Translate the following into a SQL query
What were the January (°F) temperatures in the Corner Brook location?
SELECT January (°F) FROM table WHERE Location = Corner Brook
Translate the following into a SQL query
Name the most points agst
SELECT MAX Pts Agst FROM table
Translate the following into a SQL query
Name the least lost
SELECT MIN Lost FROM table
Translate the following into a SQL query
who are the writers of the episode that had 3.07 millions of North American spectators?
SELECT Written by FROM table WHERE U.S. viewers (million) = 3.07
Translate the following into a SQL query
what is the biggest series episode number whose production code is 2t7211?
SELECT MAX No. FROM table WHERE Production code = 2T7211
Translate the following into a SQL query
what is the smallest series episode number whose production code is 2t7211?
SELECT MIN No. FROM table WHERE Production code = 2T7211
Translate the following into a SQL query
when was the premiere of the episode where the amount of North American spectators was 1.76 millions?
SELECT Original air date FROM table WHERE U.S. viewers (million) = 1.76
Translate the following into a SQL query
how many maximum series number have 2apx05 prod. code.
SELECT MAX Series # FROM table WHERE Prod. code = 2APX05
Translate the following into a SQL query
What are all the title directed by reginald hudlin
SELECT COUNT Title FROM table WHERE Directed by = Reginald Hudlin
Translate the following into a SQL query
reginald hudlin directed how many written by.
SELECT Written by FROM table WHERE Directed by = Reginald Hudlin
Translate the following into a SQL query
Who wore the episode with the production code of 1apx11?
SELECT Written by FROM table WHERE Prod. code = 1APX11
Translate the following into a SQL query
Who wrote the episode titled "heroes"?
SELECT Written by FROM table WHERE Title = "Heroes"
Translate the following into a SQL query
If the rank is 11, what is the total amount?
SELECT Total FROM table WHERE Rank = 11
Translate the following into a SQL query
If the school is Central Colleges of the Philippines CCP Bobcats, what is the stunts number?
SELECT Stunts FROM table WHERE School = Central Colleges of the Philippines CCP Bobcats
Translate the following into a SQL query
What is the 07 points minimum if the 08 points is 50?
SELECT MIN 07 Pts FROM table WHERE 08 Pts = 50
Translate the following into a SQL query
If the POS is 3, what is the 08 points?
SELECT 08 Pts FROM table WHERE Pos = 3
Translate the following into a SQL query
If the team is Rubio ñú, what is the 08 points?
SELECT 08 Pts FROM table WHERE Team = Rubio Ñú
Translate the following into a SQL query
If the average is 1.2803, what is the total points maximum?
SELECT MAX Total Pts FROM table WHERE Avg = 1.2803
Translate the following into a SQL query
If the POS is 4, what is the total PLD?
SELECT Total Pld FROM table WHERE Pos = 4
Translate the following into a SQL query
What is the team name when 243 is the total?
SELECT Team Name FROM table WHERE Total = 243
Translate the following into a SQL query
Which team names have 44.5 for tumbling?
SELECT Team Name FROM table WHERE Tumbling = 44.5