training_input
stringlengths
118
1.06k
###context:CREATE TABLE table_22839669_1 (championship VARCHAR, score_in_the_final VARCHAR) ###human: What championship had a final score of 6–4, 6–2, 6–2? ###assistant: SELECT championship FROM table_22839669_1 WHERE score_in_the_final = "6–4, 6–2, 6–2"
###context:CREATE TABLE table_22838521_3 (top_10s VARCHAR, year VARCHAR) ###human: If the year is 2007, what is the top ten? ###assistant: SELECT top_10s FROM table_22838521_3 WHERE year = 2007
###context:CREATE TABLE table_22838521_3 (money_list_rank INTEGER) ###human: What is the possible maximum money list rank? ###assistant: SELECT MAX(money_list_rank) FROM table_22838521_3
###context:CREATE TABLE table_22838521_3 (best_finish VARCHAR, scoring_average VARCHAR) ###human: If the scoring average is 72.46, what is the best finish? ###assistant: SELECT best_finish FROM table_22838521_3 WHERE scoring_average = "72.46"
###context:CREATE TABLE table_22853654_9 (result VARCHAR, opponent VARCHAR) ###human: Name the result for wesley moodie ###assistant: SELECT result FROM table_22853654_9 WHERE opponent = "Wesley Moodie"
###context:CREATE TABLE table_22853654_9 (surface VARCHAR, against VARCHAR) ###human: Name the surface against monaco ###assistant: SELECT surface FROM table_22853654_9 WHERE against = "Monaco"
###context:CREATE TABLE table_22853654_9 (result VARCHAR, opponent VARCHAR) ###human: Name the result for alexander shvec ###assistant: SELECT result FROM table_22853654_9 WHERE opponent = "Alexander Shvec"
###context:CREATE TABLE table_22853654_9 (opponent VARCHAR, result VARCHAR) ###human: Name the opponent for 3–6, 4–6, 6–1, 6–7 (7–9) ###assistant: SELECT opponent FROM table_22853654_9 WHERE result = "3–6, 4–6, 6–1, 6–7 (7–9)"
###context:CREATE TABLE table_22854436_1 (average_annual_rainfall__mm_ VARCHAR, population__2002_census_data_ VARCHAR) ###human: Name the annual rainfail for 2002 population being 493984 ###assistant: SELECT average_annual_rainfall__mm_ FROM table_22854436_1 WHERE population__2002_census_data_ = 493984
###context:CREATE TABLE table_22854436_1 (population__2002_census_data_ INTEGER) ###human: Name the most population 2002 ###assistant: SELECT MAX(population__2002_census_data_) FROM table_22854436_1
###context:CREATE TABLE table_22854436_1 (per_capita_average_annual_renewable_water_resources_m_3 VARCHAR, average_annual_rainfall__mm_ VARCHAR) ###human: Name the total water resources m3 for rainfall being 650 ###assistant: SELECT COUNT(per_capita_average_annual_renewable_water_resources_m_3) FROM table_22854...
###context:CREATE TABLE table_22860698_8 (carpet_w_l VARCHAR, year VARCHAR) ###human: What were the carpet w-l in 1993? ###assistant: SELECT carpet_w_l FROM table_22860698_8 WHERE year = 1993
###context:CREATE TABLE table_22858557_1 (score_in_final VARCHAR, championship VARCHAR, outcome VARCHAR) ###human: What is the amount of US open runner-up score? ###assistant: SELECT COUNT(score_in_final) FROM table_22858557_1 WHERE championship = "US Open" AND outcome = "Runner-up"
###context:CREATE TABLE table_22858557_1 (year INTEGER, outcome VARCHAR) ###human: What is the year where the runner-up outcome was at its basic minimum? ###assistant: SELECT MIN(year) FROM table_22858557_1 WHERE outcome = "Runner-up"
###context:CREATE TABLE table_22858557_1 (championship VARCHAR, opponent_in_final VARCHAR) ###human: How many championships have there been with Steffi Graf? ###assistant: SELECT championship FROM table_22858557_1 WHERE opponent_in_final = "Steffi Graf"
###context:CREATE TABLE table_22860698_2 (opponents VARCHAR, championship VARCHAR) ###human: How many opponents have wimbledon (2) as the championship? ###assistant: SELECT COUNT(opponents) FROM table_22860698_2 WHERE championship = "Wimbledon (2)"
###context:CREATE TABLE table_22860698_2 (surface VARCHAR, championship VARCHAR, year VARCHAR) ###human: What is the surface when the us open is the championship in the year 1979? ###assistant: SELECT surface FROM table_22860698_2 WHERE championship = "US Open" AND year = 1979
###context:CREATE TABLE table_22871239_5 (_number VARCHAR, date VARCHAR) ###human: What is the game number that was on November 27? ###assistant: SELECT _number FROM table_22871239_5 WHERE date = "November 27"
###context:CREATE TABLE table_22871239_5 (score VARCHAR, team VARCHAR) ###human: What was the score when the team was @ New Jersey? ###assistant: SELECT score FROM table_22871239_5 WHERE team = "@ New Jersey"
###context:CREATE TABLE table_22871239_5 (high_rebounds VARCHAR, _number VARCHAR) ###human: How many high rebound catagories are listed for game number 5? ###assistant: SELECT COUNT(high_rebounds) FROM table_22871239_5 WHERE _number = 5
###context:CREATE TABLE table_22862203_2 (opponent VARCHAR, record VARCHAR) ###human: Who were the opponents when the record was 11-2? ###assistant: SELECT opponent FROM table_22862203_2 WHERE record = "11-2"
###context:CREATE TABLE table_22862203_2 (record VARCHAR, opp_points VARCHAR) ###human: What were the records when the opponents had 50 points? ###assistant: SELECT record FROM table_22862203_2 WHERE opp_points = 50
###context:CREATE TABLE table_22862203_2 (terps_points VARCHAR, date VARCHAR) ###human: What are the terps points for the nov. 25/05 game? ###assistant: SELECT terps_points FROM table_22862203_2 WHERE date = "Nov. 25/05"
###context:CREATE TABLE table_22862203_2 (location VARCHAR, record VARCHAR) ###human: Where were games played when the record was 9-1? ###assistant: SELECT location FROM table_22862203_2 WHERE record = "9-1"
###context:CREATE TABLE table_22862203_2 (terps_points INTEGER, opp_points VARCHAR) ###human: What is the highest number of terps points in games where the opponent made 53 points? ###assistant: SELECT MAX(terps_points) FROM table_22862203_2 WHERE opp_points = 53
###context:CREATE TABLE table_22862203_2 (location VARCHAR, date VARCHAR) ###human: Where was the game on jan. 16/06 played? ###assistant: SELECT location FROM table_22862203_2 WHERE date = "Jan. 16/06"
###context:CREATE TABLE table_22871239_9 (high_points VARCHAR, record VARCHAR) ###human: Name the high points for 21-45 record ###assistant: SELECT COUNT(high_points) FROM table_22871239_9 WHERE record = "21-45"
###context:CREATE TABLE table_22871239_9 (visitor VARCHAR, date VARCHAR) ###human: Name the visitor for march 23 ###assistant: SELECT visitor FROM table_22871239_9 WHERE date = "March 23"
###context:CREATE TABLE table_22871239_9 (high_rebounds VARCHAR, arena_attendance VARCHAR) ###human: Name the high rebounds for td garden 18,624 ###assistant: SELECT high_rebounds FROM table_22871239_9 WHERE arena_attendance = "TD Garden 18,624"
###context:CREATE TABLE table_22871239_9 (record VARCHAR, date VARCHAR) ###human: Name the record for march 16 ###assistant: SELECT record FROM table_22871239_9 WHERE date = "March 16"
###context:CREATE TABLE table_22871239_8 (_number VARCHAR, score VARCHAR) ###human: Name the total number for score l 110-112 ###assistant: SELECT COUNT(_number) FROM table_22871239_8 WHERE score = "L 110-112"
###context:CREATE TABLE table_22871239_8 (team VARCHAR, score VARCHAR) ###human: Name the team for w 125-115 score ###assistant: SELECT team FROM table_22871239_8 WHERE score = "W 125-115"
###context:CREATE TABLE table_22871239_8 (high_assists VARCHAR, location_attendance VARCHAR) ###human: Name the high assists for american airlines center 19,585 ###assistant: SELECT high_assists FROM table_22871239_8 WHERE location_attendance = "American Airlines Center 19,585"
###context:CREATE TABLE table_22871316_11 (high_points VARCHAR, series VARCHAR) ###human: Who has the high points when 3-2 is the series? ###assistant: SELECT high_points FROM table_22871316_11 WHERE series = "3-2"
###context:CREATE TABLE table_22871316_11 (high_assists VARCHAR, series VARCHAR) ###human: Who has the high assists when 0-1 is the series? ###assistant: SELECT high_assists FROM table_22871316_11 WHERE series = "0-1"
###context:CREATE TABLE table_22871316_11 (high_rebounds VARCHAR, series VARCHAR) ###human: How many high rebounds are in series 3-3? ###assistant: SELECT COUNT(high_rebounds) FROM table_22871316_11 WHERE series = "3-3"
###context:CREATE TABLE table_22871316_11 (game INTEGER, date VARCHAR) ###human: How many games are on the date of April 30? ###assistant: SELECT MIN(game) FROM table_22871316_11 WHERE date = "April 30"
###context:CREATE TABLE table_22871316_6 (high_points VARCHAR, date VARCHAR) ###human: Who did the high points in the game played on December 18? ###assistant: SELECT high_points FROM table_22871316_6 WHERE date = "December 18"
###context:CREATE TABLE table_22871316_6 (high_points VARCHAR, date VARCHAR) ###human: Who did the high points in the game played on December 2? ###assistant: SELECT high_points FROM table_22871316_6 WHERE date = "December 2"
###context:CREATE TABLE table_22871316_6 (record VARCHAR, high_points VARCHAR) ###human: What's the record of the game in which Carlos Delfino (17) did the most high points? ###assistant: SELECT record FROM table_22871316_6 WHERE high_points = "Carlos Delfino (17)"
###context:CREATE TABLE table_22871316_6 (high_rebounds VARCHAR, high_assists VARCHAR) ###human: Who did the high rebounds in the game in which Brandon Jennings (8) did the high assists? ###assistant: SELECT high_rebounds FROM table_22871316_6 WHERE high_assists = "Brandon Jennings (8)"
###context:CREATE TABLE table_22875514_3 (player VARCHAR, field_goals VARCHAR) ###human: Which player has 18-50 .360 field goals? ###assistant: SELECT player FROM table_22875514_3 WHERE field_goals = "18-50 .360"
###context:CREATE TABLE table_22875514_3 (assists INTEGER, points VARCHAR) ###human: What is the most assists for points 129-3.9? ###assistant: SELECT MAX(assists) FROM table_22875514_3 WHERE points = "129-3.9"
###context:CREATE TABLE table_22875369_3 (date VARCHAR, irish_points VARCHAR) ###human: Name the date for irish points being 89 ###assistant: SELECT date FROM table_22875369_3 WHERE irish_points = 89
###context:CREATE TABLE table_22875369_3 (location VARCHAR, record VARCHAR) ###human: Name the number of location for 22-1 ###assistant: SELECT COUNT(location) FROM table_22875369_3 WHERE record = "22-1"
###context:CREATE TABLE table_22875369_3 (opponent VARCHAR, date VARCHAR) ###human: Name the opponent for 2-27-10 ###assistant: SELECT opponent FROM table_22875369_3 WHERE date = "2-27-10"
###context:CREATE TABLE table_22875369_3 (irish_points INTEGER, opponent VARCHAR) ###human: Name the max irish points for eastern michigan ###assistant: SELECT MAX(irish_points) FROM table_22875369_3 WHERE opponent = "Eastern Michigan"
###context:CREATE TABLE table_22875369_3 (irish_points VARCHAR, record VARCHAR) ###human: Name the irish points for 23-1 record ###assistant: SELECT irish_points FROM table_22875369_3 WHERE record = "23-1"
###context:CREATE TABLE table_22879262_14 (high_rebounds VARCHAR, score VARCHAR) ###human: Name the number of high rebounds for l 92–96 (ot) ###assistant: SELECT COUNT(high_rebounds) FROM table_22879262_14 WHERE score = "L 92–96 (OT)"
###context:CREATE TABLE table_22879262_7 (date VARCHAR, game VARCHAR) ###human: what ist he date of game 29? ###assistant: SELECT date FROM table_22879262_7 WHERE game = 29
###context:CREATE TABLE table_22879262_7 (location_attendance VARCHAR, game VARCHAR) ###human: what is the location attendance for game 27? ###assistant: SELECT location_attendance FROM table_22879262_7 WHERE game = 27
###context:CREATE TABLE table_22879262_7 (high_rebounds VARCHAR, team VARCHAR) ###human: what is the total number of high rebounds for minnesota? ###assistant: SELECT COUNT(high_rebounds) FROM table_22879262_7 WHERE team = "Minnesota"
###context:CREATE TABLE table_22879323_10 (high_rebounds VARCHAR, date VARCHAR) ###human: What were the high rebounds on April 4? ###assistant: SELECT high_rebounds FROM table_22879323_10 WHERE date = "April 4"
###context:CREATE TABLE table_22879323_10 (score VARCHAR, game VARCHAR) ###human: What was the score when the game was 80? ###assistant: SELECT score FROM table_22879323_10 WHERE game = 80
###context:CREATE TABLE table_22879323_10 (date VARCHAR, record VARCHAR) ###human: What date was the record 11-67? ###assistant: SELECT date FROM table_22879323_10 WHERE record = "11-67"
###context:CREATE TABLE table_22879323_10 (high_rebounds VARCHAR, date VARCHAR) ###human: How many high rebounds were there on April 7? ###assistant: SELECT COUNT(high_rebounds) FROM table_22879323_10 WHERE date = "April 7"
###context:CREATE TABLE table_22879323_10 (high_points VARCHAR, high_rebounds VARCHAR) ###human: What was the high points when rebounds were Terrence Williams (8)? ###assistant: SELECT high_points FROM table_22879323_10 WHERE high_rebounds = "Terrence Williams (8)"
###context:CREATE TABLE table_22879323_6 (high_assists VARCHAR, record VARCHAR) ###human: When the record was 2-29 who had the most assists? ###assistant: SELECT high_assists FROM table_22879323_6 WHERE record = "2-29"
###context:CREATE TABLE table_22879323_6 (high_points VARCHAR, team VARCHAR) ###human: When we played Houston who had the most points? ###assistant: SELECT high_points FROM table_22879323_6 WHERE team = "Houston"
###context:CREATE TABLE table_22879323_9 (high_points VARCHAR, location_attendance VARCHAR) ###human: Name the number of high points for ford center ###assistant: SELECT COUNT(high_points) FROM table_22879323_9 WHERE location_attendance = "Ford Center"
###context:CREATE TABLE table_22879323_9 (high_rebounds VARCHAR, location_attendance VARCHAR) ###human: Name the high rebounds for american airlines center ###assistant: SELECT high_rebounds FROM table_22879323_9 WHERE location_attendance = "American Airlines Center"
###context:CREATE TABLE table_22879323_9 (record VARCHAR, score VARCHAR) ###human: Name the record for l 90–100 (ot) ###assistant: SELECT record FROM table_22879323_9 WHERE score = "L 90–100 (OT)"
###context:CREATE TABLE table_22879323_9 (location_attendance VARCHAR, score VARCHAR) ###human: Name the location attendance for l 83–106 (ot) ###assistant: SELECT location_attendance FROM table_22879323_9 WHERE score = "L 83–106 (OT)"
###context:CREATE TABLE table_22883210_10 (score VARCHAR, record VARCHAR) ###human: Name the score for 49-31 ###assistant: SELECT score FROM table_22883210_10 WHERE record = "49-31"
###context:CREATE TABLE table_22883210_10 (location_attendance VARCHAR, team VARCHAR) ###human: Name the location attendance for minnesota ###assistant: SELECT location_attendance FROM table_22883210_10 WHERE team = "Minnesota"
###context:CREATE TABLE table_22883210_7 (location_attendance VARCHAR, record VARCHAR) ###human: What location had a record of 20-12, and how many people attended? ###assistant: SELECT location_attendance FROM table_22883210_7 WHERE record = "20-12"
###context:CREATE TABLE table_22883210_7 (score VARCHAR, date VARCHAR) ###human: What was the total score for january 18? ###assistant: SELECT COUNT(score) FROM table_22883210_7 WHERE date = "January 18"
###context:CREATE TABLE table_22883210_7 (location_attendance VARCHAR, game VARCHAR) ###human: Where was game 41 held, and how many people attended? ###assistant: SELECT location_attendance FROM table_22883210_7 WHERE game = 41
###context:CREATE TABLE table_22883210_7 (date VARCHAR, record VARCHAR) ###human: What was the date for the record 23-13? ###assistant: SELECT date FROM table_22883210_7 WHERE record = "23-13"
###context:CREATE TABLE table_22883210_7 (high_points VARCHAR, date VARCHAR) ###human: What was the high point for January 20? ###assistant: SELECT high_points FROM table_22883210_7 WHERE date = "January 20"
###context:CREATE TABLE table_22883210_9 (location_attendance VARCHAR, team VARCHAR) ###human: What was the location and how many attended when Golden State played? ###assistant: SELECT location_attendance FROM table_22883210_9 WHERE team = "Golden State"
###context:CREATE TABLE table_22883210_9 (game INTEGER, team VARCHAR) ###human: What is the highest game number where the team was Cleveland? ###assistant: SELECT MAX(game) FROM table_22883210_9 WHERE team = "Cleveland"
###context:CREATE TABLE table_22892217_4 (nightly_rank INTEGER) ###human: What is the highest numbered nightly rank for any episode? ###assistant: SELECT MAX(nightly_rank) FROM table_22892217_4
###context:CREATE TABLE table_22893781_5 (location_attendance VARCHAR, date VARCHAR) ###human: How many attended on december 2? ###assistant: SELECT COUNT(location_attendance) FROM table_22893781_5 WHERE date = "December 2"
###context:CREATE TABLE table_22893781_5 (team VARCHAR, date VARCHAR) ###human: Who was he opponent on december 11? ###assistant: SELECT team FROM table_22893781_5 WHERE date = "December 11"
###context:CREATE TABLE table_22893781_5 (score VARCHAR, team VARCHAR) ###human: What was the score against houston? ###assistant: SELECT score FROM table_22893781_5 WHERE team = "Houston"
###context:CREATE TABLE table_22893781_7 (date VARCHAR, team VARCHAR) ###human: when did the @ indiana game take place? ###assistant: SELECT date FROM table_22893781_7 WHERE team = "@ Indiana"
###context:CREATE TABLE table_22893781_6 (score VARCHAR, location_attendance VARCHAR) ###human: Name the score for madison square garden 18,828 ###assistant: SELECT score FROM table_22893781_6 WHERE location_attendance = "Madison Square Garden 18,828"
###context:CREATE TABLE table_22893781_6 (date VARCHAR, team VARCHAR) ###human: Name the number of date for dallas ###assistant: SELECT COUNT(date) FROM table_22893781_6 WHERE team = "Dallas"
###context:CREATE TABLE table_22893781_6 (high_assists VARCHAR, date VARCHAR) ###human: Name the high assists for january 15 ###assistant: SELECT high_assists FROM table_22893781_6 WHERE date = "January 15"
###context:CREATE TABLE table_228973_5 (title VARCHAR, original_air_date VARCHAR) ###human: What is the name of the episode that aired originally on November 10, 1998? ###assistant: SELECT title FROM table_228973_5 WHERE original_air_date = "November 10, 1998"
###context:CREATE TABLE table_228973_5 (no_in_series INTEGER, original_air_date VARCHAR) ###human: What episode number in the series originally aired on April 27, 1999? ###assistant: SELECT MAX(no_in_series) FROM table_228973_5 WHERE original_air_date = "April 27, 1999"
###context:CREATE TABLE table_228973_5 (written_by VARCHAR, no_in_series VARCHAR) ###human: How many people wrote episode 68 in the series? ###assistant: SELECT COUNT(written_by) FROM table_228973_5 WHERE no_in_series = 68
###context:CREATE TABLE table_228973_5 (directed_by VARCHAR, original_air_date VARCHAR) ###human: Who directed the episode that originally aired on February 16, 1999? ###assistant: SELECT directed_by FROM table_228973_5 WHERE original_air_date = "February 16, 1999"
###context:CREATE TABLE table_228973_11 (no_in_season VARCHAR, original_air_date VARCHAR) ###human: The episode which originally aired on February 11, 2005 had which episode # of the season? ###assistant: SELECT no_in_season FROM table_228973_11 WHERE original_air_date = "February 11, 2005"
###context:CREATE TABLE table_228973_11 (written_by VARCHAR, original_air_date VARCHAR) ###human: The episode which originally aired on December 17, 2004 was written by whom? ###assistant: SELECT written_by FROM table_228973_11 WHERE original_air_date = "December 17, 2004"
###context:CREATE TABLE table_228973_11 (no_in_series VARCHAR, directed_by VARCHAR) ###human: David James Elliott directed which episode number within the series? ###assistant: SELECT no_in_series FROM table_228973_11 WHERE directed_by = "David James Elliott"
###context:CREATE TABLE table_228973_11 (directed_by VARCHAR, original_air_date VARCHAR) ###human: Who directed the episode which originally aired February 4, 2005? ###assistant: SELECT directed_by FROM table_228973_11 WHERE original_air_date = "February 4, 2005"
###context:CREATE TABLE table_228973_3 (no_in_season VARCHAR, original_air_date VARCHAR) ###human: which is the number of the season episode whose premiere was in january 3, 1997? ###assistant: SELECT COUNT(no_in_season) FROM table_228973_3 WHERE original_air_date = "January 3, 1997"
###context:CREATE TABLE table_228973_3 (no_in_season VARCHAR, written_by VARCHAR, directed_by VARCHAR) ###human: which is the number of the season episode whose writer is R. Scott Gemmill and the Director is Ray Austin? ###assistant: SELECT no_in_season FROM table_228973_3 WHERE written_by = "R. Scott Gemmill" ...
###context:CREATE TABLE table_228973_3 (title VARCHAR, no_in_series VARCHAR) ###human: what is the name of the episode whose number of the series episode was 31? ###assistant: SELECT title FROM table_228973_3 WHERE no_in_series = 31
###context:CREATE TABLE table_228973_7 (written_by VARCHAR, no_in_series VARCHAR) ###human: When 129 is the number in the series who is the writer? ###assistant: SELECT written_by FROM table_228973_7 WHERE no_in_series = 129
###context:CREATE TABLE table_2289806_1 (prod__number INTEGER, episode__number VARCHAR) ###human: How many product # have episode 1? ###assistant: SELECT MAX(prod__number) FROM table_2289806_1 WHERE episode__number = 1
###context:CREATE TABLE table_22903426_1 (windows_builders VARCHAR, name VARCHAR) ###human: Name the windows builders for apache gump ###assistant: SELECT windows_builders FROM table_22903426_1 WHERE name = "Apache Gump"
###context:CREATE TABLE table_22903426_1 (scm_system VARCHAR, windows_builders VARCHAR) ###human: Name the number of scm system for nant, visual studio ###assistant: SELECT COUNT(scm_system) FROM table_22903426_1 WHERE windows_builders = "NAnt, Visual Studio"
###context:CREATE TABLE table_22903426_1 (other_builders VARCHAR, windows_builders VARCHAR) ###human: Name the number of other builders for nant, visual studio ###assistant: SELECT COUNT(other_builders) FROM table_22903426_1 WHERE windows_builders = "NAnt, Visual Studio"
###context:CREATE TABLE table_2290097_4 (Id VARCHAR) ###human: What is the minimum for 2nd runner-up? ###assistant: SELECT MIN(2 AS nd_runner_up) FROM table_2290097_4
###context:CREATE TABLE table_228973_9 (title VARCHAR, original_air_date VARCHAR) ###human: If the original air date is February 4, 2003, what is the episode title? ###assistant: SELECT title FROM table_228973_9 WHERE original_air_date = "February 4, 2003"
###context:CREATE TABLE table_228973_9 (no_in_series VARCHAR, original_air_date VARCHAR) ###human: If the original air date is April 1, 2003, what number in the series is this episode? ###assistant: SELECT no_in_series FROM table_228973_9 WHERE original_air_date = "April 1, 2003"
###context:CREATE TABLE table_228973_9 (no_in_series INTEGER, directed_by VARCHAR) ###human: What is the maximum number in the series for the episode directed by Harvey S. Laidman? ###assistant: SELECT MAX(no_in_series) FROM table_228973_9 WHERE directed_by = "Harvey S. Laidman"