instruction
stringclasses 1
value | input
stringlengths 12
244
| output
stringlengths 22
468
|
---|---|---|
Translate the following into a SQL query | How many years had a total earnings amount of 2254598? | SELECT COUNT Year FROM table WHERE Earnings ($) = 2254598 |
Translate the following into a SQL query | What is the latest year that data is available for? | SELECT MAX Year FROM table |
Translate the following into a SQL query | What is the score in the final in the year 1994? | SELECT Score in the final FROM table WHERE Year = 1994 |
Translate the following into a SQL query | Who is the championship for the year of 1993? | SELECT Championship FROM table WHERE Year = 1993 |
Translate the following into a SQL query | Who is the opponent in the final when frankfurt is championship and the year is less than 1993.0? | SELECT Opponent in the final FROM table WHERE Championship = Frankfurt AND Year < 1993.0 |
Translate the following into a SQL query | In what year was his money list rank 3? | SELECT MIN Year FROM table WHERE Money list rank = 3 |
Translate the following into a SQL query | What was his money list rank in 2001? | SELECT MIN Money list rank FROM table WHERE Year = 2001 |
Translate the following into a SQL query | How many atp wins did he have when his money list rank was 4? | SELECT MAX ATP wins FROM table WHERE Money list rank = 4 |
Translate the following into a SQL query | What is the maximum total wins he had for any year? | SELECT MAX Total wins FROM table |
Translate the following into a SQL query | What district is Samuel A. Bridges ( D ) assigned to as a successor? | SELECT District FROM table WHERE Successor = Samuel A. Bridges ( D ) |
Translate the following into a SQL query | what was the reason Richard K. Meade ( d ) became a successor? | SELECT Reason for change FROM table WHERE Successor = Richard K. Meade ( D ) |
Translate the following into a SQL query | Who is the successor for massachusetts 8th? | SELECT Successor FROM table WHERE District = Massachusetts 8th |
Translate the following into a SQL query | Name the opponent for 11-1 | SELECT Opponent FROM table WHERE Record = 11-1 |
Translate the following into a SQL query | Name the record for kentucky | SELECT Record FROM table WHERE Opponent = Kentucky |
Translate the following into a SQL query | Who is the opponent in the match with final score 3β6, 4β6, 7β5, 4β6? | SELECT Opponent in the final FROM table WHERE Score in the final = 3β6, 4β6, 7β5, 4β6 |
Translate the following into a SQL query | What was the outcome of the match with score 4β6, 3β6, 2β6? | SELECT Outcome FROM table WHERE Score in the final = 4β6, 3β6, 2β6 |
Translate the following into a SQL query | What is the most recent year where the final score is 4β6, 3β6, 6β4, 5β7? | SELECT MAX Year FROM table WHERE Score in the final = 4β6, 3β6, 6β4, 5β7 |
Translate the following into a SQL query | What championship had a final score of 6β4, 6β2, 6β2? | SELECT Championship FROM table WHERE Score in the final = 6β4, 6β2, 6β2 |
Translate the following into a SQL query | If the year is 2007, what is the top ten? | SELECT Top 10s FROM table WHERE Year = 2007 |
Translate the following into a SQL query | What is the possible maximum money list rank? | SELECT MAX Money list rank FROM table |
Translate the following into a SQL query | If the scoring average is 72.46, what is the best finish? | SELECT Best finish FROM table WHERE Scoring average = 72.46 |
Translate the following into a SQL query | Name the result for wesley moodie | SELECT Result FROM table WHERE Opponent = Wesley Moodie |
Translate the following into a SQL query | Name the surface against monaco | SELECT Surface FROM table WHERE Against = Monaco |
Translate the following into a SQL query | Name the result for alexander shvec | SELECT Result FROM table WHERE Opponent = Alexander Shvec |
Translate the following into a SQL query | Name the opponent for 3β6, 4β6, 6β1, 6β7 (7β9) | SELECT Opponent FROM table WHERE Result = 3β6, 4β6, 6β1, 6β7 (7β9) |
Translate the following into a SQL query | Name the annual rainfail for 2002 population being 493984 | SELECT Average annual rainfall (mm) FROM table WHERE Population (2002 census data) = 493984 |
Translate the following into a SQL query | Name the most population 2002 | SELECT MAX Population (2002 census data) FROM table |
Translate the following into a SQL query | Name the total water resources m3 for rainfall being 650 | SELECT COUNT Per capita average annual renewable water resources m 3 FROM table WHERE Average annual rainfall (mm) = 650 |
Translate the following into a SQL query | What were the carpet w-l in 1993? | SELECT Carpet WβL FROM table WHERE Year = 1993 |
Translate the following into a SQL query | What is the amount of US open runner-up score? | SELECT COUNT Score in final FROM table WHERE Championship = US Open AND Outcome = Runner-up |
Translate the following into a SQL query | What is the year where the runner-up outcome was at its basic minimum? | SELECT MIN Year FROM table WHERE Outcome = Runner-up |
Translate the following into a SQL query | How many championships have there been with Steffi Graf? | SELECT Championship FROM table WHERE Opponent in final = Steffi Graf |
Translate the following into a SQL query | How many opponents have wimbledon (2) as the championship? | SELECT COUNT Opponents FROM table WHERE Championship = Wimbledon (2) |
Translate the following into a SQL query | What is the surface when the us open is the championship in the year 1979? | SELECT Surface FROM table WHERE Championship = US Open AND Year = 1979 |
Translate the following into a SQL query | What is the game number that was on November 27? | SELECT # FROM table WHERE Date = November 27 |
Translate the following into a SQL query | What was the score when the team was @ New Jersey? | SELECT Score FROM table WHERE Team = @ New Jersey |
Translate the following into a SQL query | How many high rebound catagories are listed for game number 5? | SELECT COUNT High Rebounds FROM table WHERE # = 5 |
Translate the following into a SQL query | Who were the opponents when the record was 11-2? | SELECT Opponent FROM table WHERE Record = 11-2 |
Translate the following into a SQL query | What were the records when the opponents had 50 points? | SELECT Record FROM table WHERE Opp. Points = 50 |
Translate the following into a SQL query | What are the terps points for the nov. 25/05 game? | SELECT Terps Points FROM table WHERE Date = Nov. 25/05 |
Translate the following into a SQL query | Where were games played when the record was 9-1? | SELECT Location FROM table WHERE Record = 9-1 |
Translate the following into a SQL query | What is the highest number of terps points in games where the opponent made 53 points? | SELECT MAX Terps Points FROM table WHERE Opp. Points = 53 |
Translate the following into a SQL query | Where was the game on jan. 16/06 played? | SELECT Location FROM table WHERE Date = Jan. 16/06 |
Translate the following into a SQL query | Name the high points for 21-45 record | SELECT COUNT High Points FROM table WHERE Record = 21-45 |
Translate the following into a SQL query | Name the visitor for march 23 | SELECT Visitor FROM table WHERE Date = March 23 |
Translate the following into a SQL query | Name the high rebounds for td garden 18,624 | SELECT High Rebounds FROM table WHERE Arena Attendance = TD Garden 18,624 |
Translate the following into a SQL query | Name the record for march 16 | SELECT Record FROM table WHERE Date = March 16 |
Translate the following into a SQL query | Name the total number for score l 110-112 | SELECT COUNT # FROM table WHERE Score = L 110-112 |
Translate the following into a SQL query | Name the team for w 125-115 score | SELECT Team FROM table WHERE Score = W 125-115 |
Translate the following into a SQL query | Name the high assists for american airlines center 19,585 | SELECT High Assists FROM table WHERE Location Attendance = American Airlines Center 19,585 |
Translate the following into a SQL query | Who has the high points when 3-2 is the series? | SELECT High points FROM table WHERE Series = 3-2 |
Translate the following into a SQL query | Who has the high assists when 0-1 is the series? | SELECT High assists FROM table WHERE Series = 0-1 |
Translate the following into a SQL query | How many high rebounds are in series 3-3? | SELECT COUNT High rebounds FROM table WHERE Series = 3-3 |
Translate the following into a SQL query | How many games are on the date of April 30? | SELECT MIN Game FROM table WHERE Date = April 30 |
Translate the following into a SQL query | Who did the high points in the game played on December 18? | SELECT High points FROM table WHERE Date = December 18 |
Translate the following into a SQL query | Who did the high points in the game played on December 2? | SELECT High points FROM table WHERE Date = December 2 |
Translate the following into a SQL query | What's the record of the game in which Carlos Delfino (17) did the most high points? | SELECT Record FROM table WHERE High points = Carlos Delfino (17) |
Translate the following into a SQL query | Who did the high rebounds in the game in which Brandon Jennings (8) did the high assists? | SELECT High rebounds FROM table WHERE High assists = Brandon Jennings (8) |
Translate the following into a SQL query | Which player has 18-50 .360 field goals? | SELECT Player FROM table WHERE Field Goals = 18-50 .360 |
Translate the following into a SQL query | What is the most assists for points 129-3.9? | SELECT MAX Assists FROM table WHERE Points = 129-3.9 |
Translate the following into a SQL query | Which player has 18-50 .360 field goals? | SELECT Player FROM table WHERE Field Goals = 18-50 .360 |
Translate the following into a SQL query | Name the date for irish points being 89 | SELECT Date FROM table WHERE Irish Points = 89 |
Translate the following into a SQL query | Name the number of location for 22-1 | SELECT COUNT Location FROM table WHERE Record = 22-1 |
Translate the following into a SQL query | Name the opponent for 2-27-10 | SELECT Opponent FROM table WHERE Date = 2-27-10 |
Translate the following into a SQL query | Name the max irish points for eastern michigan | SELECT MAX Irish Points FROM table WHERE Opponent = Eastern Michigan |
Translate the following into a SQL query | Name the irish points for 23-1 record | SELECT Irish Points FROM table WHERE Record = 23-1 |
Translate the following into a SQL query | Name the number of high rebounds for l 92β96 (ot) | SELECT COUNT High rebounds FROM table WHERE Score = L 92β96 (OT) |
Translate the following into a SQL query | what ist he date of game 29? | SELECT Date FROM table WHERE Game = 29 |
Translate the following into a SQL query | what is the location attendance for game 27? | SELECT Location Attendance FROM table WHERE Game = 27 |
Translate the following into a SQL query | what is the total number of high rebounds for minnesota? | SELECT COUNT High rebounds FROM table WHERE Team = Minnesota |
Translate the following into a SQL query | What were the high rebounds on April 4? | SELECT High rebounds FROM table WHERE Date = April 4 |
Translate the following into a SQL query | What was the score when the game was 80? | SELECT Score FROM table WHERE Game = 80 |
Translate the following into a SQL query | What date was the record 11-67? | SELECT Date FROM table WHERE Record = 11-67 |
Translate the following into a SQL query | How many high rebounds were there on April 7? | SELECT COUNT High rebounds FROM table WHERE Date = April 7 |
Translate the following into a SQL query | What was the high points when rebounds were Terrence Williams (8)? | SELECT High points FROM table WHERE High rebounds = Terrence Williams (8) |
Translate the following into a SQL query | When the record was 2-29 who had the most assists? | SELECT High assists FROM table WHERE Record = 2-29 |
Translate the following into a SQL query | When we played Houston who had the most points? | SELECT High points FROM table WHERE Team = Houston |
Translate the following into a SQL query | Name the number of high points for ford center | SELECT COUNT High points FROM table WHERE Location Attendance = Ford Center |
Translate the following into a SQL query | Name the high rebounds for american airlines center | SELECT High rebounds FROM table WHERE Location Attendance = American Airlines Center |
Translate the following into a SQL query | Name the record for l 90β100 (ot) | SELECT Record FROM table WHERE Score = L 90β100 (OT) |
Translate the following into a SQL query | Name the location attendance for l 83β106 (ot) | SELECT Location Attendance FROM table WHERE Score = L 83β106 (OT) |
Translate the following into a SQL query | Name the score for 49-31 | SELECT Score FROM table WHERE Record = 49-31 |
Translate the following into a SQL query | Name the location attendance for minnesota | SELECT Location Attendance FROM table WHERE Team = Minnesota |
Translate the following into a SQL query | What location had a record of 20-12, and how many people attended? | SELECT Location Attendance FROM table WHERE Record = 20-12 |
Translate the following into a SQL query | What was the total score for january 18? | SELECT COUNT Score FROM table WHERE Date = January 18 |
Translate the following into a SQL query | Where was game 41 held, and how many people attended? | SELECT Location Attendance FROM table WHERE Game = 41 |
Translate the following into a SQL query | What was the date for the record 23-13? | SELECT Date FROM table WHERE Record = 23-13 |
Translate the following into a SQL query | What was the high point for January 20? | SELECT High points FROM table WHERE Date = January 20 |
Translate the following into a SQL query | What was the location and how many attended when Golden State played? | SELECT Location Attendance FROM table WHERE Team = Golden State |
Translate the following into a SQL query | What is the highest game number where the team was Cleveland? | SELECT MAX Game FROM table WHERE Team = Cleveland |
Translate the following into a SQL query | What is the highest numbered nightly rank for any episode? | SELECT MAX Nightly rank FROM table |
Translate the following into a SQL query | How many attended on december 2? | SELECT COUNT Location Attendance FROM table WHERE Date = December 2 |
Translate the following into a SQL query | Who was he opponent on december 11? | SELECT Team FROM table WHERE Date = December 11 |
Translate the following into a SQL query | What was the score against houston? | SELECT Score FROM table WHERE Team = Houston |
Translate the following into a SQL query | when did the @ indiana game take place? | SELECT Date FROM table WHERE Team = @ Indiana |
Translate the following into a SQL query | Name the score for madison square garden 18,828 | SELECT Score FROM table WHERE Location Attendance = Madison Square Garden 18,828 |
Translate the following into a SQL query | Name the number of date for dallas | SELECT COUNT Date FROM table WHERE Team = Dallas |
Translate the following into a SQL query | Name the high assists for january 15 | SELECT High assists FROM table WHERE Date = January 15 |
Translate the following into a SQL query | What is the name of the episode that aired originally on November 10, 1998? | SELECT Title FROM table WHERE Original air date = November 10, 1998 |
Translate the following into a SQL query | What episode number in the series originally aired on April 27, 1999? | SELECT MAX No. in series FROM table WHERE Original air date = April 27, 1999 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.