instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query
|
How did the game number 50 end?
|
SELECT Score FROM table WHERE Game = 50
|
Translate the following into a SQL query
|
How many different high assists results are there for the game played on February 24?
|
SELECT COUNT High assists FROM table WHERE Date = February 24
|
Translate the following into a SQL query
|
Who did the most high assists during the game played on February 6?
|
SELECT High assists FROM table WHERE Date = February 6
|
Translate the following into a SQL query
|
Where was game number 55 played?
|
SELECT Location Attendance FROM table WHERE Game = 55
|
Translate the following into a SQL query
|
What date was game 78 played on?
|
SELECT Date FROM table WHERE Game = 78
|
Translate the following into a SQL query
|
What is the final score of the game on April 9?
|
SELECT Score FROM table WHERE Date = April 9
|
Translate the following into a SQL query
|
Who scored the high points in game 78?
|
SELECT High points FROM table WHERE Game = 78
|
Translate the following into a SQL query
|
What is the score when the game is bigger than 29.0?
|
SELECT Score FROM table WHERE Game > 29.0
|
Translate the following into a SQL query
|
When rashard lewis (24) has the highest amount of points who is the team?
|
SELECT Team FROM table WHERE High points = Rashard Lewis (24)
|
Translate the following into a SQL query
|
When vince carter (24) has the highest points how many teams are there?
|
SELECT COUNT Team FROM table WHERE High points = Vince Carter (24)
|
Translate the following into a SQL query
|
In which championship did John Newcombe play against Ken Rosewall in the final match?
|
SELECT Championship FROM table WHERE Opponent in the final = Ken Rosewall
|
Translate the following into a SQL query
|
What were the scores of the Wimbledon final matches where Newcombe was the runner-up?
|
SELECT Score in the final FROM table WHERE Outcome = Runner-up AND Championship = Wimbledon
|
Translate the following into a SQL query
|
On what year did Newcombe first face Clark Graebner in a final match?
|
SELECT MIN Year FROM table WHERE Opponent in the final = Clark Graebner
|
Translate the following into a SQL query
|
What was the outcome for Newcombe in the matches he played against Jan Kodeš?
|
SELECT Outcome FROM table WHERE Opponent in the final = Jan Kodeš
|
Translate the following into a SQL query
|
How many writers were there in the episode directed by Charles Haid?
|
SELECT COUNT Written by FROM table WHERE Directed by = Charles Haid
|
Translate the following into a SQL query
|
What was the original air date of "Hothead"?
|
SELECT Original air date FROM table WHERE Title = "Hothead"
|
Translate the following into a SQL query
|
What was the title of the episode written by Mark Goffman?
|
SELECT Title FROM table WHERE Written by = Mark Goffman
|
Translate the following into a SQL query
|
How many original air dates did episode 12 have?h
|
SELECT COUNT Original air date FROM table WHERE Episode # = 12
|
Translate the following into a SQL query
|
How many millions of viewers watched the episode directed by Christine Moore?
|
SELECT Viewers (in millions) FROM table WHERE Directed by = Christine Moore
|
Translate the following into a SQL query
|
Name the number of date for w 107–97 (ot)
|
SELECT COUNT Date FROM table WHERE Score = W 107–97 (OT)
|
Translate the following into a SQL query
|
Name the date for 17-32
|
SELECT Date FROM table WHERE Record = 17-32
|
Translate the following into a SQL query
|
Name the high rebounds for 17-33
|
SELECT High rebounds FROM table WHERE Record = 17-33
|
Translate the following into a SQL query
|
Name the team for 19-34
|
SELECT Team FROM table WHERE Record = 19-34
|
Translate the following into a SQL query
|
How many models have maximum power output is 162kw (220 ps) at 6,300 rpm?
|
SELECT COUNT Model FROM table WHERE Max. power output = 162kW (220 PS) at 6,300 rpm
|
Translate the following into a SQL query
|
List the model with that can accelerate from 0-62 MPH in 9.2 seconds.
|
SELECT Model FROM table WHERE 0–100km/h,s 0-62mph,s = 9.2
|
Translate the following into a SQL query
|
List the amount of carbon emissions for models that go from 0-62 MPH in 8.5 seconds.
|
SELECT CO 2 emissions FROM table WHERE 0–100km/h,s 0-62mph,s = 8.5
|
Translate the following into a SQL query
|
List the highest power output level for models that go from 0-62 MPH in 8.5 seconds.
|
SELECT Max. power output FROM table WHERE 0–100km/h,s 0-62mph,s = 8.5
|
Translate the following into a SQL query
|
List the max power produced for model 2.0 ts with peak of n·m (lb·ft) at 3,500 rpm.
|
SELECT Max. power output FROM table WHERE Model = 2.0 TS AND Peak torque = N·m (lb·ft) at 3,500 rpm
|
Translate the following into a SQL query
|
Who had the highest points during the game with a record of 2-7?
|
SELECT High points FROM table WHERE Record = 2-7
|
Translate the following into a SQL query
|
What team did the Wizards play against when their record was 2-5?
|
SELECT Team FROM table WHERE Record = 2-5
|
Translate the following into a SQL query
|
Who tied in the highest point scorer when playing against Phoenix?
|
SELECT High points FROM table WHERE Team = Phoenix
|
Translate the following into a SQL query
|
Which season used production code "am10"?
|
SELECT COUNT Season # FROM table WHERE Production code = AM10
|
Translate the following into a SQL query
|
When did Jeremy Kagan's episode first air?
|
SELECT Original air date FROM table WHERE Directed by = Jeremy Kagan
|
Translate the following into a SQL query
|
What seasons in series 7 did David E. Kelley write ?
|
SELECT COUNT Season # FROM table WHERE Written by = David E. Kelley AND Series # = 7
|
Translate the following into a SQL query
|
Name the total number of date for score being l 106–116 (ot)
|
SELECT COUNT Date FROM table WHERE Score = L 106–116 (OT)
|
Translate the following into a SQL query
|
Name the record for charlotte
|
SELECT Record FROM table WHERE Team = Charlotte
|
Translate the following into a SQL query
|
Name the most game for w 113–96 (ot)
|
SELECT MAX Game FROM table WHERE Score = W 113–96 (OT)
|
Translate the following into a SQL query
|
What was the score when the record was 22-53?
|
SELECT Score FROM table WHERE Record = 22-53
|
Translate the following into a SQL query
|
What was the score when the record was 22-53?
|
SELECT Score FROM table WHERE Record = 22-53
|
Translate the following into a SQL query
|
What was the record when they played golden state?
|
SELECT Record FROM table WHERE Team = Golden State
|
Translate the following into a SQL query
|
How many percentages (2006) are there for the population whose mother tongue is French?
|
SELECT COUNT Percentage (2006) FROM table WHERE Mother Tongue = French
|
Translate the following into a SQL query
|
What was the minimum population in 2011?
|
SELECT MIN Population (2011) FROM table
|
Translate the following into a SQL query
|
What was the percentage in 2006 whose natives is Polish?
|
SELECT Percentage (2006) FROM table WHERE Mother Tongue = Polish
|
Translate the following into a SQL query
|
Name the location attendance for dirk nowitzki , caron butler (17)
|
SELECT Location Attendance FROM table WHERE High points = Dirk Nowitzki , Caron Butler (17)
|
Translate the following into a SQL query
|
Name the location attendance for 4 game
|
SELECT Location Attendance FROM table WHERE Game = 4
|
Translate the following into a SQL query
|
Name the date for l 89–92 (ot)
|
SELECT Date FROM table WHERE Score = L 89–92 (OT)
|
Translate the following into a SQL query
|
Name the high assists for 1-2 series
|
SELECT High assists FROM table WHERE Series = 1-2
|
Translate the following into a SQL query
|
Name the high rebounds for american airlines center 20,557
|
SELECT High rebounds FROM table WHERE Location Attendance = American Airlines Center 20,557
|
Translate the following into a SQL query
|
Name the score for december 27
|
SELECT COUNT Score FROM table WHERE Date = December 27
|
Translate the following into a SQL query
|
Name the total number of high points for pepsi center 19,756
|
SELECT COUNT High points FROM table WHERE Location Attendance = Pepsi Center 19,756
|
Translate the following into a SQL query
|
Name the opponent in the final for 3–6, 1–6
|
SELECT Opponent in the final FROM table WHERE Score in the final = 3–6, 1–6
|
Translate the following into a SQL query
|
Name the year for guillermo cañas
|
SELECT Year FROM table WHERE Opponent in the final = Guillermo Cañas
|
Translate the following into a SQL query
|
What was the score for the game against Houston?
|
SELECT Score FROM table WHERE Team = Houston
|
Translate the following into a SQL query
|
Name the number of records for 30 game
|
SELECT COUNT Record FROM table WHERE Game = 30
|
Translate the following into a SQL query
|
Name the team for december 19
|
SELECT Team FROM table WHERE Date = December 19
|
Translate the following into a SQL query
|
What location and how many people were in attendance where the record was 9-4 for the season?
|
SELECT Location Attendance FROM table WHERE Record = 9-4
|
Translate the following into a SQL query
|
How scored the most points where the record is 3-0 for the season?
|
SELECT High points FROM table WHERE Record = 3-0
|
Translate the following into a SQL query
|
When chauncey billups (7) has the highest amount of assists what is the score?
|
SELECT Score FROM table WHERE High assists = Chauncey Billups (7)
|
Translate the following into a SQL query
|
When j.r. smith (26) has the highest amount of points what is the score?
|
SELECT Score FROM table WHERE High points = J.R. Smith (26)
|
Translate the following into a SQL query
|
When the clippers are the team how many games are there?
|
SELECT COUNT Game FROM table WHERE Team = Clippers
|
Translate the following into a SQL query
|
When aaron afflalo (9) has the highest amount of rebounds what is the score?
|
SELECT Score FROM table WHERE High rebounds = Aaron Afflalo (9)
|
Translate the following into a SQL query
|
When chauncey billups (4) has the highest amount of assists who has the highest amount of points?
|
SELECT High points FROM table WHERE High assists = Chauncey Billups (4)
|
Translate the following into a SQL query
|
When carmelo anthony (39) has the highest amount of points where is the location and what is the attendance?
|
SELECT Location Attendance FROM table WHERE High points = Carmelo Anthony (39)
|
Translate the following into a SQL query
|
When carmelo anthony (42) has the highest amount of points how many measurements of highest rebounds are there?
|
SELECT COUNT High rebounds FROM table WHERE High points = Carmelo Anthony (42)
|
Translate the following into a SQL query
|
Name the record for l 106–116 (ot)
|
SELECT Record FROM table WHERE Score = L 106–116 (OT)
|
Translate the following into a SQL query
|
Name the high points for the staples center 18,997
|
SELECT High points FROM table WHERE Location Attendance = Staples Center 18,997
|
Translate the following into a SQL query
|
What was the date of the game when the record was 27-14?
|
SELECT Date FROM table WHERE Record = 27-14
|
Translate the following into a SQL query
|
Who had the most points in the game where the score was w 97–92 (ot)?
|
SELECT High points FROM table WHERE Score = W 97–92 (OT)
|
Translate the following into a SQL query
|
What was the record when the timberwolves were played?
|
SELECT Record FROM table WHERE Team = Timberwolves
|
Translate the following into a SQL query
|
How many players has the highest points in the game against the Heat?
|
SELECT COUNT High points FROM table WHERE Team = Heat
|
Translate the following into a SQL query
|
Who tied for highest rebounds in game 29?
|
SELECT High rebounds FROM table WHERE Game = 29
|
Translate the following into a SQL query
|
Where was game number 5 played?
|
SELECT Location Attendance FROM table WHERE Game = 5
|
Translate the following into a SQL query
|
Who had the highest rebounds in game 2?
|
SELECT High rebounds FROM table WHERE Game = 2
|
Translate the following into a SQL query
|
What date was the series 0-2?
|
SELECT Date FROM table WHERE Series = 0-2
|
Translate the following into a SQL query
|
Which series were played on April 18?
|
SELECT Series FROM table WHERE Date = April 18
|
Translate the following into a SQL query
|
What series had high rebounds with Marcus Camby (11)?
|
SELECT Series FROM table WHERE High rebounds = Marcus Camby (11)
|
Translate the following into a SQL query
|
What was the series where the game was 5?
|
SELECT Series FROM table WHERE Game = 5
|
Translate the following into a SQL query
|
What is the score when high points were Andre Miller (31)?
|
SELECT Score FROM table WHERE High points = Andre Miller (31)
|
Translate the following into a SQL query
|
What is the score in game 3?
|
SELECT Score FROM table WHERE Game = 3
|
Translate the following into a SQL query
|
When marcus camby (15) has the highest amount of rebounds who has the highest amount of assists?
|
SELECT High assists FROM table WHERE High rebounds = Marcus Camby (15)
|
Translate the following into a SQL query
|
When 48-30 is the record who has the highest amount of points?
|
SELECT High points FROM table WHERE Record = 48-30
|
Translate the following into a SQL query
|
When 78 is the game and brandon roy (6) has the highest amount of assists how many locations/attendances are there?
|
SELECT COUNT Location Attendance FROM table WHERE High assists = Brandon Roy (6) AND Game = 78
|
Translate the following into a SQL query
|
When marcus camby (15) has the highest amount of rebounds what is the date?
|
SELECT Date FROM table WHERE High rebounds = Marcus Camby (15)
|
Translate the following into a SQL query
|
When did the Portland Trail Blazers play against Cleveland?
|
SELECT Date FROM table WHERE Team = Cleveland
|
Translate the following into a SQL query
|
What is the highest series number of the episode "The New Day"?
|
SELECT MAX Series # FROM table WHERE Title = "The New Day"
|
Translate the following into a SQL query
|
How many episodes were directed by Sarah Pia Anderson?
|
SELECT COUNT Title FROM table WHERE Directed by = Sarah Pia Anderson
|
Translate the following into a SQL query
|
List all season numbers with production codes of 5m21.
|
SELECT Season # FROM table WHERE Production code = 5M21
|
Translate the following into a SQL query
|
Who directed the episode "Woman"?
|
SELECT Directed by FROM table WHERE Title = "Woman"
|
Translate the following into a SQL query
|
How many episodes had a series number of 95?
|
SELECT COUNT Title FROM table WHERE Series # = 95
|
Translate the following into a SQL query
|
Name the total number of season for production code 3m17
|
SELECT COUNT Season # FROM table WHERE Production code = 3M17
|
Translate the following into a SQL query
|
Name the directed by season # 2
|
SELECT Directed by FROM table WHERE Season # = 2
|
Translate the following into a SQL query
|
Name the directed by for "blue christmas"
|
SELECT Directed by FROM table WHERE Title = "Blue Christmas"
|
Translate the following into a SQL query
|
Name least series number for writers david e. kelley & jill goldsmith
|
SELECT MIN Series # FROM table WHERE Written by = David E. Kelley & Jill Goldsmith
|
Translate the following into a SQL query
|
How many episodes are numbered 12x03?
|
SELECT COUNT First broadcast FROM table WHERE Episode = 12x03
|
Translate the following into a SQL query
|
Who was on Jon's team when Sean's team had Matthew Crosby and Kimberly Wyatt?
|
SELECT Jons team FROM table WHERE Seans team = Matthew Crosby and Kimberly Wyatt
|
Translate the following into a SQL query
|
What was the episode that had Jack Dee and Stacey Solomon on Sean's team?
|
SELECT Episode FROM table WHERE Seans team = Jack Dee and Stacey Solomon
|
Translate the following into a SQL query
|
What was the score in the episode that had Louie Spence and Joe Wilkinson on Sean's team?
|
SELECT Scores FROM table WHERE Seans team = Louie Spence and Joe Wilkinson
|
Translate the following into a SQL query
|
What was the score on the episode that had Russell Kane and Louise Redknapp on Sean's team?
|
SELECT Scores FROM table WHERE Seans team = Russell Kane and Louise Redknapp
|
Translate the following into a SQL query
|
In which episode is Sean's team made up of Krishnan Guru-Murthy and Vic Reeves?
|
SELECT Episode FROM table WHERE Seans team = Krishnan Guru-Murthy and Vic Reeves
|
Translate the following into a SQL query
|
What is the first broadcast date of the episode in which Dave's team is made up of Dave Johns and Sally Lindsay?
|
SELECT First broadcast FROM table WHERE Daves team = Dave Johns and Sally Lindsay
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.