instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What was the final in the game that boris diaw (34) scored the most points?
SELECT Score FROM table WHERE High points = Boris Diaw (34)
Translate the following into a SQL query
What is the figure for December 28 for ang tanging ina mo (last na 'to!)?
SELECT December 28 FROM table WHERE Movies = Ang Tanging Ina Mo (Last na 'To!)
Translate the following into a SQL query
What is the figure for December 27 for ang tanging ina mo (last na 'to!)?
SELECT December 27 FROM table WHERE Movies = Ang Tanging Ina Mo (Last na 'To!)
Translate the following into a SQL query
How many figures are provided for December 28 for Rosario?
SELECT COUNT December 28 FROM table WHERE Movies = Rosario
Translate the following into a SQL query
What is the figure for December 25 for the film that totalled p15.3 million for December 25-28 total?
SELECT December 25 FROM table WHERE December 25-28 total = P15.3 million
Translate the following into a SQL query
What film earmed p3.2 million on December 25?
SELECT Movies FROM table WHERE December 25 = P3.2 million
Translate the following into a SQL query
What was the Friday June 3 practice time of the rider who did 20' 50.45 108.623mph on Thursday, June 2?
SELECT Fri 3 June FROM table WHERE Thurs 2 June = 20' 50.45 108.623mph
Translate the following into a SQL query
What's the Wednesday, June 1 practice time for the rider that did 21' 05.87 107.300mph on Thursday, June 2?
SELECT Wed 1 June FROM table WHERE Thurs 2 June = 21' 05.87 107.300mph
Translate the following into a SQL query
How many people wrote episode 9 in the season that was directed by Ernest Dickerson?
SELECT COUNT Written by FROM table WHERE Directed by = Ernest Dickerson AND No. in season = 9
Translate the following into a SQL query
Who wrote the episode that was directed by Milan Cheylov?
SELECT Written by FROM table WHERE Directed by = Milan Cheylov
Translate the following into a SQL query
How many episodes in the season had the title, "first blood"?
SELECT COUNT No. in season FROM table WHERE Title = "First Blood"
Translate the following into a SQL query
Who was the EP winning team when the CP winning team was Dave Clark and the GM winning team was Stuart Northrup?
SELECT EP Winning Team FROM table WHERE CP Winning Team = Dave Clark AND GM Winning Team = Stuart Northrup
Translate the following into a SQL query
Who was the CM winning team when the FM winning team was #17 Elva - Ford?
SELECT CM Winning Team FROM table WHERE FM Winning Team = #17 Elva - Ford
Translate the following into a SQL query
Who the GM winning team when the EP winning team was #37 Porsche?
SELECT GM Winning Team FROM table WHERE EP Winning Team = #37 Porsche
Translate the following into a SQL query
Who was the EP winning team when the FM winning team was Brabham - Ford and the HM winning team was Osca?
SELECT EP Winning Team FROM table WHERE FM Winning Team = Brabham - Ford AND HM Winning Team = Osca
Translate the following into a SQL query
Who was the HP winning team when the EP winning team was Hans Zereis and the GM winning team was Charles Gibson?
SELECT HP Winning Team FROM table WHERE EP Winning Team = Hans Zereis AND GM Winning Team = Charles Gibson
Translate the following into a SQL query
what was the name of the team opponent to elfsborg
SELECT Team FROM table WHERE Opponent = Elfsborg
Translate the following into a SQL query
what is the score in the 1st leg where the contest and round was in europa league play off round
SELECT COUNT 1st leg score* FROM table WHERE Contest and round = Europa League Play Off Round
Translate the following into a SQL query
what is the name of the team which aggregate score is l 1–2
SELECT Team FROM table WHERE Aggregate score = L 1–2
Translate the following into a SQL query
what is the aggregate score for the europa league play off round contest and round
SELECT Aggregate score FROM table WHERE Contest and round = Europa League Play Off Round
Translate the following into a SQL query
How many dollars is listed under Sydney when the distance is 10km?
SELECT Sydney FROM table WHERE Distance = 10km
Translate the following into a SQL query
How many distance places have brisbane at $3.80?
SELECT COUNT Distance FROM table WHERE Brisbane = $3.80
Translate the following into a SQL query
How many listings under Melbourne has a distance at 15km?
SELECT COUNT Melbourne FROM table WHERE Distance = 15km
Translate the following into a SQL query
What is the distance when brisbane is $4.80?
SELECT Distance FROM table WHERE Brisbane = $4.80
Translate the following into a SQL query
What is the distance when brisbane is $5.20?
SELECT Distance FROM table WHERE Brisbane = $5.20
Translate the following into a SQL query
How many scores did Helen Sildna give when Iiris Vesik gave a 3?
SELECT COUNT Helen Sildna FROM table WHERE Iiris Vesik = 3
Translate the following into a SQL query
What is the maximum points received when Peeter Vähl gave a 9?
SELECT MIN Points FROM table WHERE Peeter Vähi = 9
Translate the following into a SQL query
Who is the manager for the fc inter club?
SELECT Manager FROM table WHERE Club = FC Inter
Translate the following into a SQL query
Which club is at the location of kuopio?
SELECT Club FROM table WHERE Location = Kuopio
Translate the following into a SQL query
How many stadiums have haka as the club?
SELECT COUNT Stadium FROM table WHERE Club = Haka
Translate the following into a SQL query
Who is the artist 2 on the setlist where the artist 1 is Sparfunk & D-Code?
SELECT Artist 2 FROM table WHERE Artist 1 = Sparfunk & D-Code
Translate the following into a SQL query
Who is the mix artist for the closing party setlist where artist 1 is Dillinja and Skibadee?
SELECT Mix artist FROM table WHERE Setlist = Closing Party AND Artist 1 = Dillinja and Skibadee
Translate the following into a SQL query
Who is the artist 1 on the setlist where the song 1 title is "Bounce (Remix)"?
SELECT Artist 1 FROM table WHERE Song 1 title = "Bounce (Remix)"
Translate the following into a SQL query
On how many different dates was the episode written by Charlie Day aired for the first time?
SELECT COUNT Original air date FROM table WHERE Written by = Charlie Day
Translate the following into a SQL query
Who are the writers of the episode with production code IP02009?
SELECT Written by FROM table WHERE Production code = IP02009
Translate the following into a SQL query
Who are the writers of the episode titled "Mac Bangs Dennis' Mom"?
SELECT Written by FROM table WHERE Title = "Mac Bangs Dennis' Mom"
Translate the following into a SQL query
How many different titles does the episode with production code IP02003 have?
SELECT COUNT Title FROM table WHERE Production code = IP02003
Translate the following into a SQL query
Who wrote the episode with a production code of ip03007?
SELECT Written by FROM table WHERE Production code = IP03007
Translate the following into a SQL query
What is the name of episode number 29 in the series?
SELECT Title FROM table WHERE No. in series = 29
Translate the following into a SQL query
Who wrote the episode with ip03012 as the production code?
SELECT Written by FROM table WHERE Production code = IP03012
Translate the following into a SQL query
Who directed the episode with production code ip03010?
SELECT Directed by FROM table WHERE Production code = IP03010
Translate the following into a SQL query
What is the least amount in each season?
SELECT MIN No. in season FROM table
Translate the following into a SQL query
What is the least number in a season?
SELECT MIN No. in season FROM table
Translate the following into a SQL query
Who directed an episode with 1.19 million?
SELECT Directed by FROM table WHERE U.S. viewers (million) = 1.19
Translate the following into a SQL query
At what location was the March 17 race held?
SELECT Location FROM table WHERE Date = March 17
Translate the following into a SQL query
What location did Zach Veach have the fastest lap?
SELECT Location FROM table WHERE Fastest lap = Zach Veach
Translate the following into a SQL query
Where was the race with Luke Ellery as fastest lap and Wayne Boyd as winning driver?
SELECT Location FROM table WHERE Fastest lap = Luke Ellery AND Winning driver = Wayne Boyd
Translate the following into a SQL query
When 318676 is the population of 2010 and 1st class is the income classification what is the area in kilometers squared?
SELECT Area (km²) FROM table WHERE Income Classification = 1st Class AND Population (2010) = 318676
Translate the following into a SQL query
When itogon, benguet is the city/municipality and 1st class is the income classification how many measurements of population in 2010?
SELECT COUNT Population (2010) FROM table WHERE Income Classification = 1st Class AND City/Municipality = Itogon, Benguet
Translate the following into a SQL query
When 82.74 is the area in kilometers squared what is the pop.density (per km2)?
SELECT Pop. density (per km²) FROM table WHERE Area (km²) = 82.74
Translate the following into a SQL query
When 106 is the area in kilometers squared what is the city/municipality?
SELECT City/Municipality FROM table WHERE Area (km²) = 106
Translate the following into a SQL query
How many episodes have the production code ip04004?
SELECT COUNT Title FROM table WHERE Production code = IP04004
Translate the following into a SQL query
What season number is the episode "The Gang Cracks The Liberty Bell"?
SELECT MIN No. in season FROM table WHERE Title = "The Gang Cracks the Liberty Bell"
Translate the following into a SQL query
How many people wrote "Paddy's Pub: The Worst Bar in Philadelphia"?
SELECT COUNT Written by FROM table WHERE Title = "Paddy's Pub: The Worst Bar in Philadelphia"
Translate the following into a SQL query
Who wrote episode number 11?
SELECT Written by FROM table WHERE No. in season = 11
Translate the following into a SQL query
Who wrote the episode "The Gang Gets Extreme: Home Makeover Edition"?
SELECT Written by FROM table WHERE Title = "The Gang Gets Extreme: Home Makeover Edition"
Translate the following into a SQL query
Who was the challenger when guillaume brahimi was the iron chef?
SELECT Challenger FROM table WHERE Iron Chef = Guillaume Brahimi
Translate the following into a SQL query
Who was the iron chef when herb Faust was the challenger?
SELECT Iron Chef FROM table WHERE Challenger = Herb Faust
Translate the following into a SQL query
What date did the episode air when guy grossi won?
SELECT Airdate FROM table WHERE Winner = Guy Grossi
Translate the following into a SQL query
In the 2010 revival, who played the character that was played by Morgan Albrecht in the New Zealand 2012 production?
SELECT Revival Cast, 2010 FROM table WHERE New Zealand Cast, 2012 = Morgan Albrecht
Translate the following into a SQL query
In the 2012 production in Wales, who played the character that Owen Little played in Australia?
SELECT Wales Cast, 2012 FROM table WHERE Australian Cast, 2012 = Owen Little
Translate the following into a SQL query
Who played Lily Cahill in the Australian 2012 production?
SELECT Australian Cast, 2012 FROM table WHERE Character = Lily Cahill
Translate the following into a SQL query
In the 2012 Wales production, who played the character that Clementine Mills played in Australia?
SELECT Wales Cast, 2012 FROM table WHERE Australian Cast, 2012 = Clementine Mills
Translate the following into a SQL query
In the original cast, who played the character portrayed by Edward Franklin in the revival?
SELECT Original Cast, 2009 FROM table WHERE Revival Cast, 2010 = Edward Franklin
Translate the following into a SQL query
In the original cast, who played the character portrayed by Christopher Harris in Wales?
SELECT Original Cast, 2009 FROM table WHERE Wales Cast, 2012 = Christopher Harris
Translate the following into a SQL query
which tournament was the champion nick saviano florin segărceanu 6–3, 6–4?
SELECT Tournament FROM table WHERE Champion = Nick Saviano Florin Segărceanu 6–3, 6–4
Translate the following into a SQL query
Which tournament was runner-up paul annacone eric korita?
SELECT Tournament FROM table WHERE Runner-up = Paul Annacone Eric Korita
Translate the following into a SQL query
Who were the semifinalists when sammy giammalva was runner-up?
SELECT Semifinalists FROM table WHERE Runner-up = Sammy Giammalva
Translate the following into a SQL query
which tournament was the champion pat cash 4–6, 6–4, 6–3?
SELECT Tournament FROM table WHERE Champion = Pat Cash 4–6, 6–4, 6–3
Translate the following into a SQL query
Which tournament was on the week of 24 october and champion is matt doyle 1–6, 6–1, 6–2?
SELECT Tournament FROM table WHERE Week of = 24 October AND Champion = Matt Doyle 1–6, 6–1, 6–2
Translate the following into a SQL query
How many runner ups were there for the cologne , germany carpet – $75,000 – s32/d16 when the champion was matt doyle 1–6, 6–1, 6–2?
SELECT COUNT Runner-up FROM table WHERE Tournament = Cologne , Germany Carpet – $75,000 – S32/D16 AND Champion = Matt Doyle 1–6, 6–1, 6–2
Translate the following into a SQL query
which train number departs pune at 13:00
SELECT Train Number FROM table WHERE Departure Pune = 13:00
Translate the following into a SQL query
which train number arrives in lonavla at 17:45
SELECT Train Number FROM table WHERE Arrival Lonavla = 17:45
Translate the following into a SQL query
which train name arrives in lonavla at 17:45
SELECT Train Name FROM table WHERE Arrival Lonavla = 17:45
Translate the following into a SQL query
how many trains run daily to lonavla and arrive at 12:25
SELECT COUNT Train Number FROM table WHERE Frequency = Daily AND Arrival Lonavla = 12:25
Translate the following into a SQL query
how many trains have the number 99808
SELECT COUNT Train Name FROM table WHERE Train Number = 99808
Translate the following into a SQL query
what time does the train that arrives in lonavla at 22:22 depart pune
SELECT Departure Pune FROM table WHERE Arrival Lonavla = 22:22
Translate the following into a SQL query
Who became the champion for the 1984 Grand Prix where Marty Davis was the runner-up?
SELECT Champion FROM table WHERE Runner-up = Marty Davis
Translate the following into a SQL query
Who were the quarter-finalists in the event where the champion was Terry Moor 3-6, 7-6, 6-2?
SELECT Quarterfinalists FROM table WHERE Champion = Terry Moor 3-6, 7-6, 6-2
Translate the following into a SQL query
Who was the champion in the tournament where Scott Davis Chris Dunk was the runner up?
SELECT Champion FROM table WHERE Runner-up = Scott Davis Chris Dunk
Translate the following into a SQL query
Who were the semifinalists in the tournament where Mats Wilander 7-6, 6-3 was declared the champion?
SELECT Semifinalists FROM table WHERE Champion = Mats Wilander 7-6, 6-3
Translate the following into a SQL query
How many years saw 3 hurricanes wherein the strongest storm was level three?
SELECT COUNT Year FROM table WHERE Number of hurricanes = 3 AND Strongest storm = Three
Translate the following into a SQL query
What is the largest overall number of major hurricanes?
SELECT MAX Number of major hurricanes FROM table
Translate the following into a SQL query
When the death is none what is the number of major hurricanes?
SELECT COUNT Number of major hurricanes FROM table WHERE Deaths = None
Translate the following into a SQL query
What is the lowest overall number of hurricanes?
SELECT MIN Number of hurricanes FROM table
Translate the following into a SQL query
What country offered a prize of 66400 US dollars?
SELECT Country FROM table WHERE Prize Money (USD) = 66400
Translate the following into a SQL query
What country does the player named Mark Cox play for?
SELECT Country FROM table WHERE Name = Mark Cox
Translate the following into a SQL query
How many deaths did the eyar with exactly 6 hurricanes have?
SELECT COUNT Deaths FROM table WHERE Number of hurricanes = 6
Translate the following into a SQL query
What is the maximum number of tropical storms in the year that had exactly 34 deaths?
SELECT MAX Number of tropical storms FROM table WHERE Deaths = 34
Translate the following into a SQL query
How many deaths did the year with 10 hurricanes and exactly 1 major hurricane have?
SELECT Deaths FROM table WHERE Number of hurricanes = 10 AND Number of major hurricanes = 1
Translate the following into a SQL query
Name the number of episodes that jim barnes wrote for 1.82 million viewers
SELECT COUNT No. FROM table WHERE Written by = Jim Barnes AND U.S. viewers (million) = 1.82
Translate the following into a SQL query
Name the least number for production code 3x6266
SELECT MIN No. FROM table WHERE Production code = 3X6266
Translate the following into a SQL query
How many characters does Maurice Dean Wint play in the movie Cube?
SELECT COUNT Status FROM table WHERE Played by = Maurice Dean Wint
Translate the following into a SQL query
What is Joan Leaven's occupation?
SELECT Occupation FROM table WHERE Name = Joan Leaven
Translate the following into a SQL query
What gender is Quentin?
SELECT Gender FROM table WHERE Name = Quentin
Translate the following into a SQL query
Who played the mathematics student?
SELECT Played by FROM table WHERE Occupation = Mathematics Student
Translate the following into a SQL query
How many prisons is Joan Leaven connected with?
SELECT COUNT Prison connection FROM table WHERE Name = Joan Leaven
Translate the following into a SQL query
What is aggressive rider Richie Porte's team classifaction?
SELECT Team Classification FROM table WHERE Aggressive Rider = Richie Porte
Translate the following into a SQL query
Thomas de Gendt performed on what stage as aggressive rider?
SELECT MAX Stage FROM table WHERE Aggressive Rider = Thomas De Gendt
Translate the following into a SQL query
Where Luke Durbridge is the aggressive rider who is listed as the young rider classification?
SELECT Young Rider Classification FROM table WHERE Aggressive Rider = Luke Durbridge