instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What is the height for the 2008 club Arona?
SELECT Height FROM table WHERE 2008 club = arona
Translate the following into a SQL query
Who was the 2008 club Apure?
SELECT Name FROM table WHERE 2008 club = apure
Translate the following into a SQL query
Which spike has a 2008 club Karava?
SELECT Spike FROM table WHERE 2008 club = karava
Translate the following into a SQL query
What's the date of the circuit Winton Motor Raceway?
SELECT Date FROM table WHERE Circuit = winton motor raceway
Translate the following into a SQL query
What's the city/state of Hidden Valley Raceway?
SELECT City / State FROM table WHERE Circuit = hidden valley raceway
Translate the following into a SQL query
What's the date of Bahrain International Circuit?
SELECT Date FROM table WHERE Circuit = bahrain international circuit
Translate the following into a SQL query
What's the circuit that had an event cancelled?
SELECT Circuit FROM table WHERE Winner = event cancelled
Translate the following into a SQL query
what is the distance for ridge?
SELECT Distance FROM table WHERE Feature = ridge
Translate the following into a SQL query
what is the latitude when the distance is 42.5km?
SELECT Latitude FROM table WHERE Distance = 42.5km
Translate the following into a SQL query
what is the feature named bird ridge?
SELECT Feature FROM table WHERE Name = bird ridge
Translate the following into a SQL query
what is the distance for mjåkollen?
SELECT Distance FROM table WHERE Name = mjåkollen
Translate the following into a SQL query
what is the distance for bearing 297°?
SELECT Distance FROM table WHERE Bearing = 297°
Translate the following into a SQL query
What platform has a year of 2007?
SELECT Platform(s) FROM table WHERE Year = 2007
Translate the following into a SQL query
Which game was released in 2011?
SELECT Game FROM table WHERE Year = 2011
Translate the following into a SQL query
What platform came out before 2009 with the game wii sports?
SELECT Platform(s) FROM table WHERE Year < 2009 AND Game = wii sports
Translate the following into a SQL query
What nationality has a lane less than 6, with 1 as the rank?
SELECT Nationality FROM table WHERE Lane < 6 AND Rank = 1
Translate the following into a SQL query
What time has a lane less than 5, with Poland as the nationality?
SELECT Time FROM table WHERE Lane < 5 AND Nationality = poland
Translate the following into a SQL query
How many lanes have 1:53.70 as the time?
SELECT COUNT Lane FROM table WHERE Time = 1:53.70
Translate the following into a SQL query
How many ranks have chen yin as the name, with a lane greater than 8?
SELECT SUM Rank FROM table WHERE Name = chen yin AND Lane > 8
Translate the following into a SQL query
What nationality has 1:55.35 as the time?
SELECT Nationality FROM table WHERE Time = 1:55.35
Translate the following into a SQL query
How many lanes have a rank greater than 8?
SELECT SUM Lane FROM table WHERE Rank > 8
Translate the following into a SQL query
Where in Sweden is the home of the Swedish team?
SELECT Home FROM table WHERE Country = sweden
Translate the following into a SQL query
Who is third to Xu Xiaoming at second?
SELECT Third FROM table WHERE Second = xu xiaoming
Translate the following into a SQL query
Who is the lead for the team from Saskatoon, Saskatchewan?
SELECT Lead FROM table WHERE Home = saskatoon, saskatchewan
Translate the following into a SQL query
Who is second on the team with Euan Byers at lead?
SELECT Second FROM table WHERE Lead = euan byers
Translate the following into a SQL query
Who is the third on the team from Madison, Wisconsin that has Craig Brown as skip?
SELECT Third FROM table WHERE Home = madison, wisconsin AND Skip = craig brown
Translate the following into a SQL query
On which date was the opponent the Chicago Bears?
SELECT Date FROM table WHERE Opponent = chicago bears
Translate the following into a SQL query
Which week was on october 30, 1983?
SELECT SUM Week FROM table WHERE Date = october 30, 1983
Translate the following into a SQL query
What is the Mascot for the team from leo that had a Previous Conference value of independent?
SELECT Mascot FROM table WHERE Previous Conference = independent AND Location = leo
Translate the following into a SQL query
What School had 3a/2a as the value for IHSAA Class/ Football Class?
SELECT School FROM table WHERE IHSAA Class/ Football Class = 3a/2a
Translate the following into a SQL query
How many July 1, 2013 projections have a Rank of 27?
SELECT COUNT July 1, 2013 projection FROM table WHERE Rank = 27
Translate the following into a SQL query
What is the format for the one which has a call sign of cite-fm-1?
SELECT Format FROM table WHERE Call sign = cite-fm-1
Translate the following into a SQL query
What'd the total Dolphin points when there was an attendance of 52,860?
SELECT COUNT Dolphins points FROM table WHERE Attendance = 52,860
Translate the following into a SQL query
What's the most in attendance when the Dolphins points were less than 24 and, they played the New England Patriots?
SELECT MAX Attendance FROM table WHERE Dolphins points < 24 AND Opponent = new england patriots
Translate the following into a SQL query
Which district had SC reserved and 169 Constituents?
SELECT District FROM table WHERE Reserved for ( SC / ST /None) = sc AND Constituency number = 169
Translate the following into a SQL query
What was reserved in the district that has 169 constituents?
SELECT Reserved for ( SC / ST /None) FROM table WHERE Constituency number = 169
Translate the following into a SQL query
What is 1995 Grand Slam Tournament if 1997 is LQ and 1989 is 1R?
SELECT 1995 FROM table WHERE 1997 = lq AND 1989 = 1r
Translate the following into a SQL query
What is 1996 Grand Slam Tournament if 1994 is LQ and 1992 is 3R?
SELECT 1996 FROM table WHERE 1994 = lq AND 1992 = 3r
Translate the following into a SQL query
What is 1994 Grand Slam Tournament if 1993 is also grand slam tournaments?
SELECT 1994 FROM table WHERE 1993 = grand slam tournaments
Translate the following into a SQL query
What is 1995 Grand Slam Tournament if 1990 is LQ?
SELECT 1995 FROM table WHERE 1990 = lq
Translate the following into a SQL query
What is 1995 Grand Slam Tournament if 1996 is also grand slam tournaments?
SELECT 1990 FROM table WHERE 1996 = grand slam tournaments
Translate the following into a SQL query
What is 1987 Grand Slam Tournament if 1989 is also grand slam tournaments?
SELECT 1987 FROM table WHERE 1989 = grand slam tournaments
Translate the following into a SQL query
How many people attended the home game against the New York Jets?
SELECT SUM Attendance FROM table WHERE Opponent = new york jets
Translate the following into a SQL query
How many people attended the September 14, 1968 game?
SELECT COUNT Attendance FROM table WHERE Date = september 14, 1968
Translate the following into a SQL query
Who is the director of the production number 9368?
SELECT Director FROM table WHERE Production Number = 9368
Translate the following into a SQL query
What is the title with chuck jones as the director and the production number 9537?
SELECT Title FROM table WHERE Director = chuck jones AND Production Number = 9537
Translate the following into a SQL query
What is the release date of the mm series, which has the title tom thumb in trouble?
SELECT Release date FROM table WHERE Series = mm AND Title = tom thumb in trouble
Translate the following into a SQL query
What is the release date of the mm series which has the title confederate honey?
SELECT Release date FROM table WHERE Series = mm AND Title = confederate honey
Translate the following into a SQL query
What is the start of the Team of Andretti Green Racing with a finish higher than 3 in a year before 2007?
SELECT AVG Start FROM table WHERE Team = andretti green racing AND Finish > 3 AND Year < 2007
Translate the following into a SQL query
What is the lowest start in a year after 2008?
SELECT MIN Start FROM table WHERE Year > 2008
Translate the following into a SQL query
What finish has a start smaller than 25?
SELECT Finish FROM table WHERE Start < 25
Translate the following into a SQL query
Where did the team of Rahal Letterman in 2006 start?
SELECT COUNT Start FROM table WHERE Team = rahal letterman AND Year = 2006
Translate the following into a SQL query
What year did Team of Andretti Green Racing have a finish smaller than 8 with a Dallara chassis?
SELECT Year FROM table WHERE Chassis = dallara AND Team = andretti green racing AND Finish < 8
Translate the following into a SQL query
What director has 2004-03-31 as the release date, with daffy (as duck dodgers) as the character?
SELECT Director FROM table WHERE Release date = 2004-03-31 AND Characters = daffy (as duck dodgers)
Translate the following into a SQL query
What title has daffy (as duck dodgers) as the character?
SELECT Title FROM table WHERE Characters = daffy (as duck dodgers)
Translate the following into a SQL query
What series has dan povenmire as the director, with museum scream as the title?
SELECT Series FROM table WHERE Director = dan povenmire AND Title = museum scream
Translate the following into a SQL query
What was the highest number of 2009 electorates for Raisen when the consituency number was 142?
SELECT MAX Number of electorates (2009) FROM table WHERE District = raisen AND Constituency number = 142
Translate the following into a SQL query
How much Population density (per km²) has a Name of total northern villages, and a Population (2006) larger than 11414?
SELECT COUNT Population density (per km²) FROM table WHERE Name = total northern villages AND Population (2006) > 11414
Translate the following into a SQL query
Which Population density (per km²) has a Change (%) larger than 4.9, and a Land area (km²) smaller than 15.59, and a Population (2011) larger than 790?
SELECT MAX Population density (per km²) FROM table WHERE Change (%) > 4.9 AND Land area (km²) < 15.59 AND Population (2011) > 790
Translate the following into a SQL query
How much Population (2011) has a Land area (km²) larger than 15.69, and a Population density (per km²) larger than 57.3?
SELECT SUM Population (2011) FROM table WHERE Land area (km²) > 15.69 AND Population density (per km²) > 57.3
Translate the following into a SQL query
Which Land area (km²) has a Population density (per km²) larger than 112.6, and a Population (2006) larger than 785, and a Name of pinehouse?
SELECT MAX Land area (km²) FROM table WHERE Population density (per km²) > 112.6 AND Population (2006) > 785 AND Name = pinehouse
Translate the following into a SQL query
With a number of 30, what would be listed for previous number(s)?
SELECT Previous Number(s) FROM table WHERE Number = 30
Translate the following into a SQL query
With a previous number of 68165, what is the oldest converted date?
SELECT MAX Converted FROM table WHERE Previous Number(s) = 68165
Translate the following into a SQL query
With a converted less than 1966 and a number of 32 (2nd), what is the largest number listed for withdrawn?
SELECT MAX Withdrawn FROM table WHERE Number = 32 (2nd) AND Converted < 1966
Translate the following into a SQL query
What is the average when the matches are 11?
SELECT Average FROM table WHERE Matches = 11
Translate the following into a SQL query
What is the overs when the matches are 10?
SELECT Overs FROM table WHERE Matches = 10
Translate the following into a SQL query
Which Car # has a Driver of ryan newman, and a Position larger than 10?
SELECT MIN Car # FROM table WHERE Driver = ryan newman AND Pos. > 10
Translate the following into a SQL query
Which Car # has a Team of hendrick motorsports, and a Driver of mark martin, and a Position larger than 4?
SELECT AVG Car # FROM table WHERE Team = hendrick motorsports AND Driver = mark martin AND Pos. > 4
Translate the following into a SQL query
Which time has a local/networked value of Local, ad frequency of every 20 minutes, and news frequency of n/a after 7PM news?
SELECT Time FROM table WHERE Local/Networked = local AND Ad Freq = 20 minutes AND News Freq = n/a after 7pm news
Translate the following into a SQL query
Which time has a news frequency of 1 hour and show name of Best Mix Overnight?
SELECT Time FROM table WHERE News Freq = 1 hour AND Show Name = best mix overnight
Translate the following into a SQL query
What is the ad frequency for the show named Health Matters?
SELECT Ad Freq FROM table WHERE Show Name = health matters
Translate the following into a SQL query
What is the news frequency for the show Locker Room?
SELECT News Freq FROM table WHERE Show Name = locker room
Translate the following into a SQL query
What is the local/networked value for the show with an ad frequency of N/A?
SELECT Local/Networked FROM table WHERE Ad Freq = n/a
Translate the following into a SQL query
When france had a rank larger than 2, what was their time?
SELECT Time FROM table WHERE Rank > 2 AND Country = france
Translate the following into a SQL query
What was the time for the country of kazakhstan?
SELECT Time FROM table WHERE Country = kazakhstan
Translate the following into a SQL query
What athletes represented the country of germany?
SELECT Athletes FROM table WHERE Country = germany
Translate the following into a SQL query
What was the rank for the finish time of 1:42.054?
SELECT AVG Rank FROM table WHERE Time = 1:42.054
Translate the following into a SQL query
Which country had a rank smaller than 7 and a time of 1:43.189?
SELECT Country FROM table WHERE Rank < 7 AND Time = 1:43.189
Translate the following into a SQL query
what is the club when the runners-up is 1 and the last final won is 1999?
SELECT Club FROM table WHERE Runners-up = 1 AND Last final won = 1999
Translate the following into a SQL query
what is the last final won when runners-up is 1 and club is rijeka?
SELECT Last final won FROM table WHERE Runners-up = 1 AND Club = rijeka
Translate the following into a SQL query
How many times is runners-up less than 0?
SELECT COUNT Winners FROM table WHERE Runners-up < 0
Translate the following into a SQL query
How many games have a Result of 4–0, and an Attendance larger than 12,256?
SELECT COUNT Game FROM table WHERE Result = 4–0 AND Attendance > 12,256
Translate the following into a SQL query
Which Result has a Game larger than 6, and an Attendance larger than 12,782, and a Date of 5 december 1987?
SELECT Result FROM table WHERE Game > 6 AND Attendance > 12,782 AND Date = 5 december 1987
Translate the following into a SQL query
Which Result has a Venue of away, and a Game smaller than 43, and an Opponent of bournemouth?
SELECT Result FROM table WHERE Venue = away AND Game < 43 AND Opponent = bournemouth
Translate the following into a SQL query
Which Result has a Venue of home, and a Date of 3 october 1987?
SELECT Result FROM table WHERE Venue = home AND Date = 3 october 1987
Translate the following into a SQL query
What is the score of 1993?
SELECT Score FROM table WHERE Year = 1993
Translate the following into a SQL query
What is the Name when the runner-up was Sania Mirza Elena Vesnina?
SELECT Name FROM table WHERE Runner-up = sania mirza elena vesnina
Translate the following into a SQL query
What is the name with a Score of 6–3, 6–3?
SELECT Name FROM table WHERE Score = 6–3, 6–3
Translate the following into a SQL query
What was the location in 2009?
SELECT Location FROM table WHERE Year = 2009
Translate the following into a SQL query
What's the railway number of a D(rebuild) class?
SELECT Railway number(s) FROM table WHERE Class = d(rebuild)
Translate the following into a SQL query
What the least quantity having a T2A class?
SELECT MIN Quantity rebuilt FROM table WHERE Class = t2a
Translate the following into a SQL query
Which lane did the swimmer who had a Reaction time of 0.185 and a time of 20.9 swim in?
SELECT SUM Lane FROM table WHERE React = 0.185 AND Time < 20.9
Translate the following into a SQL query
What was the 200-metre time for the swimmer from Slovenia in lane 9?
SELECT COUNT Time FROM table WHERE Nationality = slovenia AND Lane < 9
Translate the following into a SQL query
Who was the swimmer from Dominica who had a time of 21.2 and swam in lane 7?
SELECT Athlete FROM table WHERE Time < 21.2 AND Lane < 7 AND Nationality = dominica
Translate the following into a SQL query
What player had a pick higher than 53, and a position of defensive tackle?
SELECT Player FROM table WHERE Pick > 53 AND Position = defensive tackle
Translate the following into a SQL query
What team is Jim Garcia category:Articles with Hcards on?
SELECT Team FROM table WHERE Player = jim garcia category:articles with hcards
Translate the following into a SQL query
Who is the pick from the Purdue College?
SELECT Pick FROM table WHERE College = purdue
Translate the following into a SQL query
What shows for Marcin Dołęga ( POL )when the world record shows olympic record, and a Snatch of total?
SELECT Marcin Dołęga ( POL ) FROM table WHERE World record = olympic record AND Snatch = total
Translate the following into a SQL query
What is the snatch when Marcin Dołęga ( POL ) was 430kg?
SELECT Snatch FROM table WHERE Marcin Dołęga ( POL ) = 430kg
Translate the following into a SQL query
What shows for Władysławowo, Poland when the world record was clean & jerk?
SELECT Władysławowo , Poland FROM table WHERE World record = clean & jerk