instruction
stringclasses
1 value
input
stringlengths
12
244
output
stringlengths
22
468
Translate the following into a SQL query
What is the score of the game that 33,531 people went too?
SELECT Score FROM table WHERE Attendance = 33,531
Translate the following into a SQL query
What is the date of the game with 38,062 people in attendance?
SELECT Date FROM table WHERE Attendance = 38,062
Translate the following into a SQL query
What is Brendan Locke's College/Junior/Club Team (League)?
SELECT College/Junior/Club Team (League) FROM table WHERE Player = brendan locke
Translate the following into a SQL query
What League's Round is Sup and Position is Right Wing?
SELECT College/Junior/Club Team (League) FROM table WHERE Position = right wing AND Round = sup
Translate the following into a SQL query
In what Round is the Position Goaltender?
SELECT Round FROM table WHERE Position = goaltender
Translate the following into a SQL query
In what League is Left Wing Yanick Dupre?
SELECT College/Junior/Club Team (League) FROM table WHERE Position = left wing AND Player = yanick dupre
Translate the following into a SQL query
In what League in Round 6 is the Position Right Wing?
SELECT College/Junior/Club Team (League) FROM table WHERE Position = right wing AND Round = 6
Translate the following into a SQL query
In what Round is John Parco a Center?
SELECT Round FROM table WHERE Position = center AND Player = john parco
Translate the following into a SQL query
Which team had 15 draws?
SELECT Team FROM table WHERE Draws = 15
Translate the following into a SQL query
Which season had 16 losses for the Hampshire team?
SELECT Season FROM table WHERE Losses = 16 AND Team = hampshire
Translate the following into a SQL query
Which season had 0 wins and 5 losses for the Surrey team?
SELECT Season FROM table WHERE Wins = 0 AND Losses = 5 AND Team = surrey
Translate the following into a SQL query
Which season had 10 draws?
SELECT Season FROM table WHERE Draws = 10
Translate the following into a SQL query
How many draws did Durham have?
SELECT Draws FROM table WHERE Team = durham
Translate the following into a SQL query
How many wins happened with 8 draws?
SELECT Wins FROM table WHERE Draws = 8
Translate the following into a SQL query
What was the grid of Jenson Button?
SELECT Grid FROM table WHERE Driver = jenson button
Translate the following into a SQL query
Who was the constructor of the car that went 56 laps and had a grid of 15?
SELECT Constructor FROM table WHERE Laps = 56 AND Grid = 15
Translate the following into a SQL query
Who was the contstructor of the car having a grid of 20?
SELECT Constructor FROM table WHERE Grid = 20
Translate the following into a SQL query
What was the time of the car having a constructor of Renault, which went 40 laps?
SELECT Time/Retired FROM table WHERE Constructor = renault AND Laps = 40
Translate the following into a SQL query
Who constructed the car that had a grid of 6?
SELECT Constructor FROM table WHERE Grid = 6
Translate the following into a SQL query
Can you tell me the sum of Podiums that has the Season of 2006, and the Races larger than 16?
SELECT SUM Podiums FROM table WHERE Season = 2006 AND Races > 16
Translate the following into a SQL query
Can you tell me the sum of FLap that has the Pole larger than 0, and the Podiums of 6?
SELECT SUM FLap FROM table WHERE Pole > 0 AND Podiums = 6
Translate the following into a SQL query
Name the home with record of 33-18-9
SELECT Home FROM table WHERE Record = 33-18-9
Translate the following into a SQL query
Name the score for detroit home and record of 33-18-9
SELECT Score FROM table WHERE Home = detroit AND Record = 33-18-9
Translate the following into a SQL query
Name the score for toronto visitor and record of 29-17-8
SELECT Score FROM table WHERE Visitor = toronto AND Record = 29-17-8
Translate the following into a SQL query
Name the home for detroit visitor and date of february 29
SELECT Home FROM table WHERE Visitor = detroit AND Date = february 29
Translate the following into a SQL query
Which Music has a Record label of moviebox/ speed records / music waves?
SELECT Music FROM table WHERE Record label = moviebox/ speed records / music waves
Translate the following into a SQL query
Which Year is the highest one that has a Record label of supertone melodies?
SELECT MAX Year FROM table WHERE Record label = supertone melodies
Translate the following into a SQL query
Which Record label has an Album of tera roop?
SELECT Record label FROM table WHERE Album = tera roop
Translate the following into a SQL query
Which Record label has an Album of rambo?
SELECT Record label FROM table WHERE Album = rambo
Translate the following into a SQL query
Which Info has an Album of romeo?
SELECT Info FROM table WHERE Album = romeo
Translate the following into a SQL query
What was the average attendance when the record was 58–49?
SELECT AVG Attendance FROM table WHERE Record = 58–49
Translate the following into a SQL query
What was the attendance when the score was 8–7?
SELECT SUM Attendance FROM table WHERE Score = 8–7
Translate the following into a SQL query
What was the attendance for july 18?
SELECT COUNT Attendance FROM table WHERE Date = july 18
Translate the following into a SQL query
How many strokes to par when the score is 1 up?
SELECT To par FROM table WHERE Score = 1 up
Translate the following into a SQL query
Name the series for game 5
SELECT Series FROM table WHERE Game = game 5
Translate the following into a SQL query
Name the site for game of game 2
SELECT Site FROM table WHERE Game = game 2
Translate the following into a SQL query
Name the site with game of game 6
SELECT Site FROM table WHERE Game = game 6
Translate the following into a SQL query
Name the series with game of game 6
SELECT Series FROM table WHERE Game = game 6
Translate the following into a SQL query
What is the location attendance from Dwyane Wade (27) high points?
SELECT Location Attendance FROM table WHERE High points = dwyane wade (27)
Translate the following into a SQL query
What was the high assists from a high points of dorell wright (20)?
SELECT High assists FROM table WHERE High points = dorell wright (20)
Translate the following into a SQL query
What was the high rebounds from the date of April 14?
SELECT High rebounds FROM table WHERE Date = april 14
Translate the following into a SQL query
For the year 1975, what is Propulsion, with a Number (quantity ordered) of 4756-4788 (33 buses)?
SELECT Fuel Propulsion FROM table WHERE Year = 1975 AND Numbers (Quantity Ordered) = 4756-4788 (33 buses)
Translate the following into a SQL query
What is the make and model that retires in 2004, and has a numbers (quantity ordered) of 961-967 (7 buses)?
SELECT Make/ Model FROM table WHERE Year Retired = 2004 AND Numbers (Quantity Ordered) = 961-967 (7 buses)
Translate the following into a SQL query
What year was the diesel fuel propulsion, with a length of 40', and numbers (quanity ordered) of 3701-3729 (29 buses), retired?
SELECT Year Retired FROM table WHERE Fuel Propulsion = diesel AND Length = 40' AND Numbers (Quantity Ordered) = 3701-3729 (29 buses)
Translate the following into a SQL query
What is the location attendance of the game with a 27-22 record?
SELECT Location Attendance FROM table WHERE Record = 27-22
Translate the following into a SQL query
What is the location attendance of the game on February 25?
SELECT Location Attendance FROM table WHERE Date = february 25
Translate the following into a SQL query
What's the largest Fall 08 number when fall 09 is less than 82, fall 06 is 5, and fall 05 is less than 3?
SELECT MAX Fall 08 FROM table WHERE Fall 09 < 82 AND Fall 06 = 5 AND Fall 05 < 3
Translate the following into a SQL query
What is the mean Fall 09 number where fall 05 is less than 3?
SELECT AVG Fall 09 FROM table WHERE Fall 05 < 3
Translate the following into a SQL query
What is the sum amount of fall 05 when fall 08 is more than 5, fall 06 is more than 7, the state is Maryland, and fall 09 is more than 471?
SELECT COUNT Fall 05 FROM table WHERE Fall 08 > 5 AND Fall 06 > 7 AND States = maryland AND Fall 09 > 471
Translate the following into a SQL query
What's the smallest fall 05 number when fall 09 is less than 14 and fall 08 is more than 5?
SELECT MIN Fall 05 FROM table WHERE Fall 09 < 14 AND Fall 08 > 5
Translate the following into a SQL query
What is in the notes for men's speed skating?
SELECT Notes FROM table WHERE Time = men's speed skating
Translate the following into a SQL query
What's the date when the location is Berlin?
SELECT Date FROM table WHERE Location = berlin
Translate the following into a SQL query
What's the location for men's speed skating?
SELECT Location FROM table WHERE Distance = men's speed skating
Translate the following into a SQL query
What's the location when the notes area is notes?
SELECT Location FROM table WHERE Notes = notes
Translate the following into a SQL query
What is the notes left for Berlin?
SELECT Notes FROM table WHERE Location = berlin
Translate the following into a SQL query
Which is located in Angola and entered service in 1988?
SELECT Name FROM table WHERE Location = angola AND Entered service = 1988
Translate the following into a SQL query
What type entered service in 2000?
SELECT Type FROM table WHERE Entered service = 2000
Translate the following into a SQL query
What is the water depth of Sedco 702, located in Nigeria?
SELECT Water depth FROM table WHERE Location = nigeria AND Name = sedco 702
Translate the following into a SQL query
Which is located in Nigeria?
SELECT Name FROM table WHERE Location = nigeria
Translate the following into a SQL query
Which type entered service in 1976/1997 and is located in Brazil?
SELECT Type FROM table WHERE Location = brazil AND Entered service = 1976/1997
Translate the following into a SQL query
Where is Transocean Richardson, a semi entered into service in 1988?
SELECT Location FROM table WHERE Type = semi AND Entered service = 1988 AND Name = transocean richardson
Translate the following into a SQL query
What is the total number of Yds/Att where Net Yds was 1818, and Rank was larger than 1?
SELECT COUNT Yds/Att FROM table WHERE Net Yds = 1818 AND Rank > 1
Translate the following into a SQL query
What is the lowest Rank when Attempts was 319, and the Year was larger than 2000?
SELECT MIN Rank FROM table WHERE Attempts = 319 AND Year > 2000
Translate the following into a SQL query
What is the total number of Attempts when Rank was larger than 4, and Net Yds was smaller than 1674?
SELECT COUNT Attempts FROM table WHERE Rank > 4 AND Net Yds < 1674
Translate the following into a SQL query
What is the new conference for the Gauchos team?
SELECT New Conference FROM table WHERE Team Nickname = gauchos
Translate the following into a SQL query
What is the new classification for La Mirada, California?
SELECT New Classification FROM table WHERE Location = la mirada, california
Translate the following into a SQL query
What is the tenure for the Tritons team?
SELECT Tenure FROM table WHERE Team Nickname = tritons
Translate the following into a SQL query
Which opponent was present on March 28?
SELECT Opponent FROM table WHERE March = 28
Translate the following into a SQL query
What is the mean game number when the points scored were more than 99?
SELECT AVG Game FROM table WHERE Points > 99
Translate the following into a SQL query
Who is the opponent in game 7?
SELECT Opponent FROM table WHERE Game = 7
Translate the following into a SQL query
What day in December was the game before game 11 with a record of 7-2-2?
SELECT SUM December FROM table WHERE Record = 7-2-2 AND Game < 11
Translate the following into a SQL query
What is the day in December of the game against the Boston Bruins?
SELECT COUNT December FROM table WHERE Opponent = boston bruins
Translate the following into a SQL query
What is the average day in December of the game with a 8-2-3 record?
SELECT AVG December FROM table WHERE Record = 8-2-3
Translate the following into a SQL query
How many seats have a quantity over 45?
SELECT SUM Seats FROM table WHERE Quantity > 45
Translate the following into a SQL query
Which owner has 84 seats?
SELECT Owner FROM table WHERE Seats = 84
Translate the following into a SQL query
Which deliver has 16 and a standing more than 128?
SELECT Delivery FROM table WHERE Quantity = 16 AND Standing > 128
Translate the following into a SQL query
What is the host city that has Alicia Keys listed as a host?
SELECT Host city FROM table WHERE Hosts = alicia keys
Translate the following into a SQL query
What is the host city of the Singapore Indoor Stadium venue and a Valentine's Day theme?
SELECT Host city FROM table WHERE Venue = singapore indoor stadium AND Theme = valentine's day
Translate the following into a SQL query
What year will Bangkok be the host city and Alicia Keys host?
SELECT Year FROM table WHERE Host city = bangkok AND Hosts = alicia keys
Translate the following into a SQL query
Who are the hosts from the event with a theme of codehunters and the host city of Bangkok?
SELECT Hosts FROM table WHERE Host city = bangkok AND Theme = codehunters
Translate the following into a SQL query
Who are the hosts for the 2004 event?
SELECT Hosts FROM table WHERE Year = 2004
Translate the following into a SQL query
What date has a margin of victory of 1 stroke over Greg Kraft?
SELECT Date FROM table WHERE Margin of victory = 1 stroke AND Runner(s)-up = greg kraft
Translate the following into a SQL query
What was the margin of victory over Steve Rintoul?
SELECT Margin of victory FROM table WHERE Runner(s)-up = steve rintoul
Translate the following into a SQL query
What was the margin of victory over Brad Faxon?
SELECT Margin of victory FROM table WHERE Runner(s)-up = brad faxon
Translate the following into a SQL query
What years show Model of 2.0 tdi (cr) dpf?
SELECT Years FROM table WHERE Model = 2.0 tdi (cr) dpf
Translate the following into a SQL query
What is the power for model 2.0 tdi (cr) dpf, and a Years of 2010–2011?
SELECT Power FROM table WHERE Model = 2.0 tdi (cr) dpf AND Years = 2010–2011
Translate the following into a SQL query
What is the torque for Model of 2.0 bitdi (cr) dpf, in 2010–?
SELECT Torque FROM table WHERE Model = 2.0 bitdi (cr) dpf AND Years = 2010–
Translate the following into a SQL query
What is the engine for model 2.0 bitdi (cr) dpf, with a Torque of n·m (lb·ft) @ 1500–2000 rpm?
SELECT Engine FROM table WHERE Model = 2.0 bitdi (cr) dpf AND Torque = n·m (lb·ft) @ 1500–2000 rpm
Translate the following into a SQL query
What is the Court Rank of Son of Norihiro's Lineage?
SELECT Court Rank FROM table WHERE Lineage = son of norihiro
Translate the following into a SQL query
Name the 1811 for 1801 of 1801
SELECT 1811 FROM table WHERE 1801 = 1801
Translate the following into a SQL query
Name the 1861 with 1851 of 5291
SELECT 1861 FROM table WHERE 1851 = 5291
Translate the following into a SQL query
Name the 1901 with 1851 of 1961
SELECT 1901 FROM table WHERE 1851 = 1961
Translate the following into a SQL query
Name the 1821 with 1811 of 1921
SELECT 1821 FROM table WHERE 1811 = 1921
Translate the following into a SQL query
Name the 1821 with 1861 of 3733
SELECT 1821 FROM table WHERE 1861 = 3733
Translate the following into a SQL query
What's the sum of Code with a Population that's larger than 1,752, a Most Spoken Language of Xhosa, a Place of Bontrug, and an Area (KM 2) that's larger than 2.33?
SELECT COUNT Code FROM table WHERE Population > 1,752 AND Most spoken language = xhosa AND Place = bontrug AND Area (km 2 ) > 2.33
Translate the following into a SQL query
What's the sum of the Area (KM 2) that's got a Population that's smaller than 90?
SELECT COUNT Area (km 2 ) FROM table WHERE Population < 90
Translate the following into a SQL query
What's the lowest Code that's got a Most Spoke Language of Xhosa, a Place of Addo Elephant National Park, and an Area (KM 2) that's smaller than 1.08?
SELECT MIN Code FROM table WHERE Most spoken language = xhosa AND Place = addo elephant national park AND Area (km 2 ) < 1.08
Translate the following into a SQL query
What is the score at game 31?
SELECT Score FROM table WHERE Game = 31
Translate the following into a SQL query
What is the Grid for Rider Ruben Xaus?
SELECT MIN Grid FROM table WHERE Rider = ruben xaus
Translate the following into a SQL query
What was the number of Laps with a Grid of more than 3 and Time of 39:24.967?
SELECT MIN Laps FROM table WHERE Grid > 3 AND Time = 39:24.967