training_input
stringlengths
118
1.06k
###context:CREATE TABLE table_name_90 (Leading VARCHAR, score VARCHAR) ###human: Who was the Leading Scorer in the Game with a Score of 96-87? ###assistant: SELECT Leading AS scorer FROM table_name_90 WHERE score = "96-87"
###context:CREATE TABLE table_name_98 (country VARCHAR, label VARCHAR, format VARCHAR) ###human: What Country with a MC Format has a ATCO Records Label? ###assistant: SELECT country FROM table_name_98 WHERE label = "atco records" AND format = "mc"
###context:CREATE TABLE table_name_22 (team VARCHAR, location_attendance VARCHAR) ###human: What team has a location and attendance at the Seattle Center Coliseum 12,591? ###assistant: SELECT team FROM table_name_22 WHERE location_attendance = "seattle center coliseum 12,591"
###context:CREATE TABLE table_name_76 (team__number2 VARCHAR) ###human: What is 1st Leg, when Team #2 is "Emelec"? ###assistant: SELECT 1 AS st_leg FROM table_name_76 WHERE team__number2 = "emelec"
###context:CREATE TABLE table_name_58 (team__number1 VARCHAR) ###human: What is 1st Leg, when Team #1 is "San Lorenzo"? ###assistant: SELECT 1 AS st_leg FROM table_name_58 WHERE team__number1 = "san lorenzo"
###context:CREATE TABLE table_name_67 (muzzle_energy VARCHAR, bullet_weight VARCHAR, max_pressure VARCHAR) ###human: What is the muzzle energy with grains (g) bullet weight and a max pressure of 35,000 psi? ###assistant: SELECT muzzle_energy FROM table_name_67 WHERE bullet_weight = "grains (g)" AND max_pressure = "35,000 psi"
###context:CREATE TABLE table_name_98 (bullet_weight VARCHAR, max_pressure VARCHAR) ###human: What is the bullet weight with a 12,000 cup max pressure? ###assistant: SELECT bullet_weight FROM table_name_98 WHERE max_pressure = "12,000 cup"
###context:CREATE TABLE table_name_99 (max_pressure VARCHAR, muzzle_energy VARCHAR) ###human: What is the max pressure for the 468ft•lbf (634 j) muzzle energy? ###assistant: SELECT max_pressure FROM table_name_99 WHERE muzzle_energy = "468ft•lbf (634 j)"
###context:CREATE TABLE table_name_60 (muzzle_velocity VARCHAR, muzzle_energy VARCHAR) ###human: What is the muzzle velocity for the muzzle energy 351ft•lbf (476 j)? ###assistant: SELECT muzzle_velocity FROM table_name_60 WHERE muzzle_energy = "351ft•lbf (476 j)"
###context:CREATE TABLE table_name_32 (muzzle_velocity VARCHAR, cartridge VARCHAR) ###human: What is the muzzle velocity for the .38 long colt cartridge? ###assistant: SELECT muzzle_velocity FROM table_name_32 WHERE cartridge = ".38 long colt"
###context:CREATE TABLE table_name_40 (muzzle_energy VARCHAR, max_pressure VARCHAR) ###human: What is the muzzle energy with 40,000 psi max pressure? ###assistant: SELECT muzzle_energy FROM table_name_40 WHERE max_pressure = "40,000 psi"
###context:CREATE TABLE table_name_23 (country VARCHAR, place VARCHAR, score VARCHAR) ###human: What is the home country of the player who placed t5 and had a score of 69-71=140? ###assistant: SELECT country FROM table_name_23 WHERE place = "t5" AND score = 69 - 71 = 140
###context:CREATE TABLE table_name_78 (place VARCHAR, score VARCHAR) ###human: What was the place for the player whose final score was 71-69=140? ###assistant: SELECT place FROM table_name_78 WHERE score = 71 - 69 = 140
###context:CREATE TABLE table_name_26 (to_par VARCHAR, score VARCHAR) ###human: What was the To par for the player whose final score was 67-71=138? ###assistant: SELECT to_par FROM table_name_26 WHERE score = 67 - 71 = 138
###context:CREATE TABLE table_name_96 (to_par VARCHAR, place VARCHAR, player VARCHAR) ###human: What was Nolan Henke's To par when he placed in t3? ###assistant: SELECT to_par FROM table_name_96 WHERE place = "t3" AND player = "nolan henke"
###context:CREATE TABLE table_name_61 (meaning VARCHAR, pīnyīn VARCHAR) ###human: WHAT IS THE MEANING WITH Pīnyīn of chē? ###assistant: SELECT meaning FROM table_name_61 WHERE pīnyīn = "chē"
###context:CREATE TABLE table_name_81 (radical__variants_ VARCHAR, pīnyīn VARCHAR, stroke_count VARCHAR) ###human: WHAT IS THE RADICAL WITH gǔ, AND STROKE COUNT OF 7? ###assistant: SELECT radical__variants_ FROM table_name_81 WHERE pīnyīn = "gǔ" AND stroke_count = 7
###context:CREATE TABLE table_name_57 (stroke_count VARCHAR, radical__variants_ VARCHAR, frequency VARCHAR) ###human: WHAT IS THE STROKE COUNT WITH RADICAL OF 生, FRQUENCY SMALLER THAN 22? ###assistant: SELECT COUNT(stroke_count) FROM table_name_57 WHERE radical__variants_ = "生" AND frequency < 22
###context:CREATE TABLE table_name_88 (stroke_count INTEGER, radical__variants_ VARCHAR, frequency VARCHAR) ###human: WHAT IS THE STROKE COUNT WITH RADICAL 皿 FREQUENCY SMALLER THAN 129? ###assistant: SELECT AVG(stroke_count) FROM table_name_88 WHERE radical__variants_ = "皿" AND frequency < 129
###context:CREATE TABLE table_name_33 (flagship VARCHAR, host_s_ VARCHAR) ###human: What is the Flagship of the Show Hosted by Rover (Shane French)? ###assistant: SELECT flagship FROM table_name_33 WHERE host_s_ = "rover (shane french)"
###context:CREATE TABLE table_name_78 (host_s_ VARCHAR, market VARCHAR) ###human: What is the Host of the Show with a Market of New York? ###assistant: SELECT host_s_ FROM table_name_78 WHERE market = "new york"
###context:CREATE TABLE table_name_74 (iheartradio VARCHAR, show VARCHAR) ###human: What is the iHeartRadio of the Bronson and Christine Show? ###assistant: SELECT iheartradio FROM table_name_74 WHERE show = "bronson and christine"
###context:CREATE TABLE table_name_99 (to_par VARCHAR, player VARCHAR) ###human: What is the to total number of par with laurie ayton? ###assistant: SELECT COUNT(to_par) FROM table_name_99 WHERE player = "laurie ayton"
###context:CREATE TABLE table_name_43 (place VARCHAR, player VARCHAR) ###human: Where is bobby jones (a)? ###assistant: SELECT place FROM table_name_43 WHERE player = "bobby jones (a)"
###context:CREATE TABLE table_name_38 (top_5 VARCHAR, year VARCHAR, wins VARCHAR) ###human: Can you tell me the total number of Top 5 that has the Year smaller than 2009, and the Wins larger than 0? ###assistant: SELECT COUNT(top_5) FROM table_name_38 WHERE year < 2009 AND wins > 0
###context:CREATE TABLE table_name_19 (wins VARCHAR, starts VARCHAR, top_5 VARCHAR) ###human: Can you tell me the Wins that has the Starts larger than 1, and the Top 5 of 3? ###assistant: SELECT wins FROM table_name_19 WHERE starts > 1 AND top_5 = 3
###context:CREATE TABLE table_name_37 (starts INTEGER, winnings VARCHAR, wins VARCHAR) ###human: Can you tell me the sum of Starts that the Winnings of $139,774, and the Wins smaller than 0? ###assistant: SELECT SUM(starts) FROM table_name_37 WHERE winnings = "$139,774" AND wins < 0
###context:CREATE TABLE table_name_53 (affiliation VARCHAR, nickname VARCHAR) ###human: Who is affiliated with the nickname Ramblers? ###assistant: SELECT affiliation FROM table_name_53 WHERE nickname = "ramblers"
###context:CREATE TABLE table_name_61 (opponent VARCHAR, score VARCHAR) ###human: Who was the Opponent in the match with a Score of 6–3, 6–4? ###assistant: SELECT opponent FROM table_name_61 WHERE score = "6–3, 6–4"
###context:CREATE TABLE table_name_78 (surface VARCHAR, opponent VARCHAR) ###human: On what Surface was the match against Malek Jaziri played? ###assistant: SELECT surface FROM table_name_78 WHERE opponent = "malek jaziri"
###context:CREATE TABLE table_name_27 (year_s__won VARCHAR, player VARCHAR, to_par VARCHAR) ###human: What is the total number of Year(s) Won, when Player is Ed Furgol, and when To Par is greater than 12? ###assistant: SELECT COUNT(year_s__won) FROM table_name_27 WHERE player = "ed furgol" AND to_par > 12
###context:CREATE TABLE table_name_91 (year_s__won VARCHAR, player VARCHAR) ###human: What is Year(s) Won, when Player is Arnold Palmer? ###assistant: SELECT year_s__won FROM table_name_91 WHERE player = "arnold palmer"
###context:CREATE TABLE table_name_99 (total INTEGER, year_s__won INTEGER) ###human: What is Highest Total, when Year(s) Won is before 1959? ###assistant: SELECT MAX(total) FROM table_name_99 WHERE year_s__won < 1959
###context:CREATE TABLE table_name_42 (player VARCHAR, year_s__won VARCHAR, to_par VARCHAR) ###human: What is Player, when Year(s) Won is before 1961, and when To Par is 6? ###assistant: SELECT player FROM table_name_42 WHERE year_s__won < 1961 AND to_par = 6
###context:CREATE TABLE table_name_33 (finish VARCHAR, to_par VARCHAR, year_s__won VARCHAR) ###human: What is Finish, when To Par is greater than 6, and when Year(s) Won is before 1961? ###assistant: SELECT finish FROM table_name_33 WHERE to_par > 6 AND year_s__won < 1961
###context:CREATE TABLE table_name_71 (to_par VARCHAR, country VARCHAR) ###human: What is Top Par, when Country is Sweden? ###assistant: SELECT to_par FROM table_name_71 WHERE country = "sweden"
###context:CREATE TABLE table_name_35 (money___ INTEGER, to_par VARCHAR, player VARCHAR) ###human: What is the highest Money ($), when Top Par is E, and when Player is Ernie Els? ###assistant: SELECT MAX(money___) AS $__ FROM table_name_35 WHERE to_par = "e" AND player = "ernie els"
###context:CREATE TABLE table_name_43 (money___ INTEGER, score VARCHAR) ###human: What is the sum of Money ($), when Score is 70-71-70-69=280? ###assistant: SELECT SUM(money___) AS $__ FROM table_name_43 WHERE score = 70 - 71 - 70 - 69 = 280
###context:CREATE TABLE table_name_35 (high_assists VARCHAR, high_points VARCHAR) ###human: What was the high assist when the high point was Eric Gordon (21)? ###assistant: SELECT high_assists FROM table_name_35 WHERE high_points = "eric gordon (21)"
###context:CREATE TABLE table_name_95 (date VARCHAR, high_assists VARCHAR) ###human: What day was the high assist Mike Taylor (5)? ###assistant: SELECT date FROM table_name_95 WHERE high_assists = "mike taylor (5)"
###context:CREATE TABLE table_name_63 (record VARCHAR, high_rebounds VARCHAR) ###human: What was the record when the high rebound was Deandre Jordan (11)? ###assistant: SELECT record FROM table_name_63 WHERE high_rebounds = "deandre jordan (11)"
###context:CREATE TABLE table_name_34 (away_team VARCHAR, home_team VARCHAR) ###human: What was the away team when the home was st kilda? ###assistant: SELECT away_team FROM table_name_34 WHERE home_team = "st kilda"
###context:CREATE TABLE table_name_40 (away_team VARCHAR, date VARCHAR) ###human: Who was the away team on sunday, 13 february? ###assistant: SELECT away_team FROM table_name_40 WHERE date = "sunday, 13 february"
###context:CREATE TABLE table_name_56 (week VARCHAR, date VARCHAR) ###human: Which Week has a Date of december 3, 2001? ###assistant: SELECT week FROM table_name_56 WHERE date = "december 3, 2001"
###context:CREATE TABLE table_name_86 (week VARCHAR, opponent VARCHAR) ###human: Which Week has a Opponent of tennessee titans? ###assistant: SELECT week FROM table_name_86 WHERE opponent = "tennessee titans"
###context:CREATE TABLE table_name_37 (year_s__won VARCHAR, total VARCHAR) ###human: What are the years won with a total of 282? ###assistant: SELECT year_s__won FROM table_name_37 WHERE total = 282
###context:CREATE TABLE table_name_35 (date VARCHAR, against VARCHAR) ###human: What was the date when the against was 3? ###assistant: SELECT date FROM table_name_35 WHERE against = 3
###context:CREATE TABLE table_name_24 (against VARCHAR, opposing_team VARCHAR) ###human: What was the Against when the Opposing Team was sheffield wednesday? ###assistant: SELECT against FROM table_name_24 WHERE opposing_team = "sheffield wednesday"
###context:CREATE TABLE table_name_83 (round VARCHAR, venue VARCHAR, date VARCHAR) ###human: Which round was played in the H Venue on 29 january 1949? ###assistant: SELECT round FROM table_name_83 WHERE venue = "h" AND date = "29 january 1949"
###context:CREATE TABLE table_name_59 (against VARCHAR, venue VARCHAR, date VARCHAR) ###human: What is the total number of Against that were played in the H Venue on 26 february 1949? ###assistant: SELECT COUNT(against) FROM table_name_59 WHERE venue = "h" AND date = "26 february 1949"
###context:CREATE TABLE table_name_52 (round VARCHAR, against VARCHAR, date VARCHAR) ###human: What was the round for 29 January 1949, when the against was 1? ###assistant: SELECT round FROM table_name_52 WHERE against = 1 AND date = "29 january 1949"
###context:CREATE TABLE table_name_85 (result VARCHAR, attendance VARCHAR) ###human: What is the Result when the Attendance is 1,634? ###assistant: SELECT result FROM table_name_85 WHERE attendance = "1,634"
###context:CREATE TABLE table_name_47 (date VARCHAR, man_of_the_match VARCHAR) ###human: On what date was Stuart Potts the Man of the Match? ###assistant: SELECT date FROM table_name_47 WHERE man_of_the_match = "stuart potts"
###context:CREATE TABLE table_name_1 (opponent VARCHAR, man_of_the_match VARCHAR) ###human: Who was the Opponent when Terry Miles was the Man of the Match? ###assistant: SELECT opponent FROM table_name_1 WHERE man_of_the_match = "terry miles"
###context:CREATE TABLE table_name_97 (result VARCHAR, date VARCHAR) ###human: What was the Result of the game dated 21st? ###assistant: SELECT result FROM table_name_97 WHERE date = "21st"
###context:CREATE TABLE table_name_52 (venue VARCHAR, date VARCHAR) ###human: Which Venue is listed under the Date of 21st? ###assistant: SELECT venue FROM table_name_52 WHERE date = "21st"
###context:CREATE TABLE table_name_82 (result VARCHAR, date VARCHAR) ###human: What was the Result on the Date of 25th? ###assistant: SELECT result FROM table_name_82 WHERE date = "25th"
###context:CREATE TABLE table_name_23 (rank__number VARCHAR, opponent_number VARCHAR) ###human: What was the rank when the opponent was Wisconsin (played at Wisconsin)? ###assistant: SELECT rank__number FROM table_name_23 WHERE opponent_number = "at wisconsin"
###context:CREATE TABLE table_name_14 (result VARCHAR, opponent_number VARCHAR) ###human: What was the result when they played at Michigan State? ###assistant: SELECT result FROM table_name_14 WHERE opponent_number = "at michigan state"
###context:CREATE TABLE table_name_1 (opponent_number VARCHAR, result VARCHAR) ###human: Who was the opponent when the result was w24-7? ###assistant: SELECT opponent_number FROM table_name_1 WHERE result = "w24-7"
###context:CREATE TABLE table_name_57 (attendance VARCHAR, opponent_number VARCHAR) ###human: How many were in attendance when they played vs. 12 Stanford? ###assistant: SELECT attendance FROM table_name_57 WHERE opponent_number = "vs. 12 stanford"
###context:CREATE TABLE table_name_12 (big__ INTEGER, total VARCHAR, micro__10ha_ VARCHAR, department VARCHAR) ###human: Which Big (>500ha) has a Micro (10ha) larger than 940, and a Department of potosí, and a Total smaller than 16,240? ###assistant: SELECT MAX(big__) > 500 AS ha_ FROM table_name_12 WHERE micro__10ha_ > 940 AND department = "potosí" AND total < 16 OFFSET 240
###context:CREATE TABLE table_name_9 (fumb_yds INTEGER, fumb_f VARCHAR, int_lg VARCHAR) ###human: Which Fumb Yds has a Fumb F. of 0, and a Int LG smaller than 0? ###assistant: SELECT MAX(fumb_yds) FROM table_name_9 WHERE fumb_f = 0 AND int_lg < 0
###context:CREATE TABLE table_name_72 (fumb_td INTEGER, int_td VARCHAR, fumb_f VARCHAR) ###human: Which Fumb TD has an Int TD of 1, and a Fumb F. smaller than 1? ###assistant: SELECT MIN(fumb_td) FROM table_name_72 WHERE int_td = 1 AND fumb_f < 1
###context:CREATE TABLE table_name_53 (name VARCHAR, country VARCHAR) ###human: What is the name of the person whose country is West Indies. ###assistant: SELECT name FROM table_name_53 WHERE country = "west indies"
###context:CREATE TABLE table_name_81 (date_of_birth VARCHAR, name VARCHAR) ###human: What is the Pananmal Punjabi's date of birth? ###assistant: SELECT date_of_birth FROM table_name_81 WHERE name = "pananmal punjabi"
###context:CREATE TABLE table_name_81 (winner VARCHAR, year INTEGER) ###human: Who was the winner after 2011? ###assistant: SELECT winner FROM table_name_81 WHERE year > 2011
###context:CREATE TABLE table_name_79 (year INTEGER, winner VARCHAR) ###human: What was the lowest year for TCU? ###assistant: SELECT MIN(year) FROM table_name_79 WHERE winner = "tcu"
###context:CREATE TABLE table_name_30 (score VARCHAR, player VARCHAR) ###human: What is the score of player bill rogers? ###assistant: SELECT score FROM table_name_30 WHERE player = "bill rogers"
###context:CREATE TABLE table_name_70 (country VARCHAR, place VARCHAR, score VARCHAR) ###human: What is the country with a t7 place and a 69-68-72=209 score? ###assistant: SELECT country FROM table_name_70 WHERE place = "t7" AND score = 69 - 68 - 72 = 209
###context:CREATE TABLE table_name_60 (place VARCHAR, player VARCHAR) ###human: What is the place of player jim thorpe? ###assistant: SELECT place FROM table_name_60 WHERE player = "jim thorpe"
###context:CREATE TABLE table_name_41 (place VARCHAR, player VARCHAR) ###human: What is the place of player chi-chi rodríguez? ###assistant: SELECT place FROM table_name_41 WHERE player = "chi-chi rodríguez"
###context:CREATE TABLE table_name_23 (player VARCHAR, score VARCHAR) ###human: Who is the player with a 69-68-71=208 score? ###assistant: SELECT player FROM table_name_23 WHERE score = 69 - 68 - 71 = 208
###context:CREATE TABLE table_name_94 (state VARCHAR, title VARCHAR, royal_house VARCHAR) ###human: What state had a title of duke for the royal house of ji? ###assistant: SELECT state FROM table_name_94 WHERE title = "duke" AND royal_house = "ji"
###context:CREATE TABLE table_name_21 (state VARCHAR, royal_house VARCHAR, name VARCHAR) ###human: What state had the name of wu for the royal house of ji? ###assistant: SELECT state FROM table_name_21 WHERE royal_house = "ji" AND name = "wu"
###context:CREATE TABLE table_name_96 (name VARCHAR, title VARCHAR, royal_house VARCHAR) ###human: What was the name listed for the royal house of jiang and a title of duke? ###assistant: SELECT name FROM table_name_96 WHERE title = "duke" AND royal_house = "jiang"
###context:CREATE TABLE table_name_22 (name VARCHAR, state VARCHAR) ###human: What was the name when the state was wey? ###assistant: SELECT name FROM table_name_22 WHERE state = "wey"
###context:CREATE TABLE table_name_29 (title VARCHAR, state VARCHAR) ###human: What was the title for the state of qin? ###assistant: SELECT title FROM table_name_29 WHERE state = "qin"
###context:CREATE TABLE table_name_8 (state VARCHAR, name VARCHAR) ###human: What was the state that had the vassal name of li? ###assistant: SELECT state FROM table_name_8 WHERE name = "li"
###context:CREATE TABLE table_name_90 (location VARCHAR, time VARCHAR) ###human: Where was the match held that lasted 3:24? ###assistant: SELECT location FROM table_name_90 WHERE time = "3:24"
###context:CREATE TABLE table_name_86 (res VARCHAR, opponent VARCHAR) ###human: The match against Mark Hunt had what result? ###assistant: SELECT res FROM table_name_86 WHERE opponent = "mark hunt"
###context:CREATE TABLE table_name_70 (opponent VARCHAR, event VARCHAR) ###human: Who was the match against at the PRIDE 31 event? ###assistant: SELECT opponent FROM table_name_70 WHERE event = "pride 31"
###context:CREATE TABLE table_name_43 (record VARCHAR, round VARCHAR, method VARCHAR) ###human: The match that went 1 round, and had a method of submission (rear-naked choke) had what record? ###assistant: SELECT record FROM table_name_43 WHERE round = 1 AND method = "submission (rear-naked choke)"
###context:CREATE TABLE table_name_56 (player VARCHAR, place VARCHAR) ###human: Who is the player with a t7 place? ###assistant: SELECT player FROM table_name_56 WHERE place = "t7"
###context:CREATE TABLE table_name_96 (money___ INTEGER, player VARCHAR) ###human: What is the lowest amount of money player jim colbert has? ###assistant: SELECT MIN(money___) AS $__ FROM table_name_96 WHERE player = "jim colbert"
###context:CREATE TABLE table_name_41 (enrollment INTEGER, institution VARCHAR) ###human: What is the average Enrollment of Dickinson College? ###assistant: SELECT AVG(enrollment) FROM table_name_41 WHERE institution = "dickinson college"
###context:CREATE TABLE table_name_88 (institution VARCHAR, nickname VARCHAR) ###human: Which institution has a nickname of Blue Hens? ###assistant: SELECT institution FROM table_name_88 WHERE nickname = "blue hens"
###context:CREATE TABLE table_name_65 (nickname VARCHAR, established VARCHAR) ###human: What is the nickname of the college established in 1773? ###assistant: SELECT nickname FROM table_name_65 WHERE established = 1773
###context:CREATE TABLE table_name_69 (time VARCHAR, round VARCHAR, opponent VARCHAR) ###human: What was the time of round 2 against Taylor Mccorriston? ###assistant: SELECT time FROM table_name_69 WHERE round = "2" AND opponent = "taylor mccorriston"
###context:CREATE TABLE table_name_58 (high_assists VARCHAR, team VARCHAR) ###human: Who had the high assists against San Antonio? ###assistant: SELECT high_assists FROM table_name_58 WHERE team = "san antonio"
###context:CREATE TABLE table_name_63 (game INTEGER, team VARCHAR) ###human: What was the number of the game against Charlotte? ###assistant: SELECT SUM(game) FROM table_name_63 WHERE team = "charlotte"
###context:CREATE TABLE table_name_25 (money___ INTEGER, score VARCHAR) ###human: Which Money has a Score of 70-68-73-68=279? ###assistant: SELECT MIN(money___) AS $__ FROM table_name_25 WHERE score = 70 - 68 - 73 - 68 = 279
###context:CREATE TABLE table_name_94 (score VARCHAR, to_par VARCHAR, player VARCHAR) ###human: Which Score has a To par of +1, and a Player of masashi ozaki? ###assistant: SELECT score FROM table_name_94 WHERE to_par = "+1" AND player = "masashi ozaki"
###context:CREATE TABLE table_name_23 (money___ INTEGER, country VARCHAR, place VARCHAR) ###human: Which money has a Country of united states, and a Place of t6? ###assistant: SELECT AVG(money___) AS $__ FROM table_name_23 WHERE country = "united states" AND place = "t6"
###context:CREATE TABLE table_name_86 (Id VARCHAR) ###human: What is the 2004 value for the 2009 Grand slam tournaments? ###assistant: SELECT 2004 FROM table_name_86 WHERE 2009 = "grand slam tournaments"
###context:CREATE TABLE table_name_31 (tournament VARCHAR) ###human: What tournament has a 2008 value of A, q1 in 2005, and 1r in 2004? ###assistant: SELECT tournament FROM table_name_31 WHERE 2008 = "a" AND 2005 = "q1" AND 2004 = "1r"
###context:CREATE TABLE table_name_37 (Id VARCHAR) ###human: What is the 2005 value for the 2010 grand slam tournaments? ###assistant: SELECT 2005 FROM table_name_37 WHERE 2010 = "grand slam tournaments"
###context:CREATE TABLE table_name_87 (Id VARCHAR) ###human: What is the 2003 value for the 2008 grand slam tournaments? ###assistant: SELECT 2003 FROM table_name_87 WHERE 2008 = "grand slam tournaments"
###context:CREATE TABLE table_name_48 (Id VARCHAR) ###human: What is the 2005 value with a q2 in 2011, a q1 in 2012, and 1r in 2003? ###assistant: SELECT 2005 FROM table_name_48 WHERE 2011 = "q2" AND 2012 = "q1" AND 2003 = "1r"
###context:CREATE TABLE table_name_96 (Id VARCHAR) ###human: What is the 2009 value for the 2003 grand slam tournaments? ###assistant: SELECT 2009 FROM table_name_96 WHERE 2003 = "grand slam tournaments"