training_input
stringlengths
118
1.06k
###context:CREATE TABLE table_24781886_2 (production_code INTEGER, viewers VARCHAR) ###human: When 6.66 is the amount of viewers what is the lowest production code? ###assistant: SELECT MIN(production_code) FROM table_24781886_2 WHERE viewers = "6.66"
###context:CREATE TABLE table_24781886_2 (_number INTEGER, viewers VARCHAR) ###human: When 7.55 is the amount of viewers what is the lowest number? ###assistant: SELECT MIN(_number) FROM table_24781886_2 WHERE viewers = "7.55"
###context:CREATE TABLE table_24778847_2 (new_democratic VARCHAR, date_of_polling VARCHAR) ###human: How many figures are given for the New Democratic for the polling range May 11–31, 2010? ###assistant: SELECT COUNT(new_democratic) FROM table_24778847_2 WHERE date_of_polling = "May 11–31, 2010"
###context:CREATE TABLE table_24778847_2 (link VARCHAR, date_of_polling VARCHAR) ###human: What format is the link for the polling data for February 10–28, 2011? ###assistant: SELECT link FROM table_24778847_2 WHERE date_of_polling = "February 10–28, 2011"
###context:CREATE TABLE table_24781886_3 (title VARCHAR, _number VARCHAR) ###human: When 9 is the number what is the title? ###assistant: SELECT title FROM table_24781886_3 WHERE _number = 9
###context:CREATE TABLE table_24781886_3 (total INTEGER, _number VARCHAR) ###human: When 3 is the number what is the highest total? ###assistant: SELECT MAX(total) FROM table_24781886_3 WHERE _number = 3
###context:CREATE TABLE table_24781886_3 (air_date VARCHAR, viewers VARCHAR) ###human: When 7.08 is the amount of viewers what is the air date? ###assistant: SELECT air_date FROM table_24781886_3 WHERE viewers = "7.08"
###context:CREATE TABLE table_24781886_3 (director VARCHAR, viewers VARCHAR) ###human: When 7.08 is the amount of viewers how many directors are there? ###assistant: SELECT COUNT(director) FROM table_24781886_3 WHERE viewers = "7.08"
###context:CREATE TABLE table_24798489_2 (location VARCHAR, original_airdate VARCHAR) ###human: What location did the episode that aired originally on August 26, 2009 take place at? ###assistant: SELECT location FROM table_24798489_2 WHERE original_airdate = "August 26, 2009"
###context:CREATE TABLE table_24798489_2 (original_airdate VARCHAR, location VARCHAR) ###human: How many dates originally aired episodes located in Philadelphia, pennsylvania? ###assistant: SELECT COUNT(original_airdate) FROM table_24798489_2 WHERE location = "Philadelphia, Pennsylvania"
###context:CREATE TABLE table_24798489_2 (challenge VARCHAR, episode_number VARCHAR) ###human: What was the challenge for episode 28? ###assistant: SELECT challenge FROM table_24798489_2 WHERE episode_number = 28
###context:CREATE TABLE table_24798489_2 (original_airdate VARCHAR, episode_number VARCHAR) ###human: How many original air dates were there for episode 22? ###assistant: SELECT COUNT(original_airdate) FROM table_24798489_2 WHERE episode_number = 22
###context:CREATE TABLE table_24807406_3 (goals INTEGER) ###human: What was the lowest goals ever achieved? ###assistant: SELECT MIN(goals) FROM table_24807406_3
###context:CREATE TABLE table_24807774_1 (afghan VARCHAR, arabic VARCHAR) ###human: how many arabic scottish is afghan ###assistant: SELECT afghan FROM table_24807774_1 WHERE arabic = "Scottish"
###context:CREATE TABLE table_24807774_1 (cook_islands VARCHAR, bosnian VARCHAR) ###human: how many bosnian in cook islands is macedonian ###assistant: SELECT COUNT(cook_islands) FROM table_24807774_1 WHERE bosnian = "Macedonian"
###context:CREATE TABLE table_24807774_1 (colombian VARCHAR, bangladeshi VARCHAR) ###human: how many colombia in bangladesh is serbian ###assistant: SELECT colombian FROM table_24807774_1 WHERE bangladeshi = "Serbian"
###context:CREATE TABLE table_24807774_1 (arabic VARCHAR, colombian VARCHAR) ###human: how many arabic in colobians is finnish ###assistant: SELECT arabic FROM table_24807774_1 WHERE colombian = "Finnish"
###context:CREATE TABLE table_24807774_1 (bosnian VARCHAR, cook_islands VARCHAR) ###human: how many bosnian in cook islands is sri lankan ###assistant: SELECT bosnian FROM table_24807774_1 WHERE cook_islands = "Sri Lankan"
###context:CREATE TABLE table_24807774_1 (afghan VARCHAR, bangladeshi VARCHAR) ###human: how many afghan in banglash is hungarian ###assistant: SELECT afghan FROM table_24807774_1 WHERE bangladeshi = "Hungarian"
###context:CREATE TABLE table_24807406_1 (name VARCHAR, position VARCHAR, appearances VARCHAR) ###human: What is the name if the appearance is 2 and the position is FW? ###assistant: SELECT name FROM table_24807406_1 WHERE position = "FW" AND appearances = 2
###context:CREATE TABLE table_24807406_1 (assists VARCHAR, minutes VARCHAR) ###human: What is the assists total number if the minutes is 1? ###assistant: SELECT COUNT(assists) FROM table_24807406_1 WHERE minutes = 1
###context:CREATE TABLE table_24807406_1 (appearances INTEGER, starts VARCHAR) ###human: What is the appearance maximum if the starts is 18? ###assistant: SELECT MAX(appearances) FROM table_24807406_1 WHERE starts = 18
###context:CREATE TABLE table_2482547_5 (name VARCHAR, average VARCHAR) ###human: What are the names of all the players with an average of 15.89? ###assistant: SELECT name FROM table_2482547_5 WHERE average = "15.89"
###context:CREATE TABLE table_2482547_5 (wickets_taken INTEGER, name VARCHAR) ###human: What's the maximum wickets taken by players named Bill Lockwood? ###assistant: SELECT MAX(wickets_taken) FROM table_2482547_5 WHERE name = "Bill Lockwood"
###context:CREATE TABLE table_2482547_5 (team_s_ VARCHAR, average VARCHAR) ###human: What are all the teams with an average of 15.89? ###assistant: SELECT team_s_ FROM table_2482547_5 WHERE average = "15.89"
###context:CREATE TABLE table_2482547_5 (name VARCHAR, balls_bowled VARCHAR) ###human: Who are all the players who've bowled more than 4969 balls? ###assistant: SELECT name FROM table_2482547_5 WHERE balls_bowled = 4969
###context:CREATE TABLE table_2482547_5 (average VARCHAR, wickets_taken VARCHAR) ###human: What are the averages for games with 212 wickets taken? ###assistant: SELECT average FROM table_2482547_5 WHERE wickets_taken = 212
###context:CREATE TABLE table_24837750_1 (turbine_manufacturer VARCHAR, county VARCHAR) ###human: Who was the turbine manufacturer for the Wheatland county? ###assistant: SELECT turbine_manufacturer FROM table_24837750_1 WHERE county = "Wheatland"
###context:CREATE TABLE table_24837750_1 (turbine_manufacturer VARCHAR, installed_capacity__mw_ VARCHAR) ###human: How many turbine manufacturers installed a capacity of 189 MW? ###assistant: SELECT COUNT(turbine_manufacturer) FROM table_24837750_1 WHERE installed_capacity__mw_ = "189"
###context:CREATE TABLE table_24837750_1 (installed_capacity__mw_ VARCHAR, county VARCHAR) ###human: How much capacity was installed in Wheatland? ###assistant: SELECT installed_capacity__mw_ FROM table_24837750_1 WHERE county = "Wheatland"
###context:CREATE TABLE table_24837750_1 (turbine_manufacturer VARCHAR, date_in_service VARCHAR) ###human: Who was the turbine manufacturer of the wind farm that started service on 2005? ###assistant: SELECT turbine_manufacturer FROM table_24837750_1 WHERE date_in_service = "2005"
###context:CREATE TABLE table_24837750_1 (date_in_service VARCHAR, installed_capacity__mw_ VARCHAR) ###human: When did this wind farm started service with a capacity of 135 MW? ###assistant: SELECT date_in_service FROM table_24837750_1 WHERE installed_capacity__mw_ = "135"
###context:CREATE TABLE table_24837750_1 (date_in_service VARCHAR, county VARCHAR) ###human: When did the wind farm in Musselshell started service? ###assistant: SELECT date_in_service FROM table_24837750_1 WHERE county = "Musselshell"
###context:CREATE TABLE table_24814477_2 (attendance INTEGER, game_site VARCHAR) ###human: What was the largest attendance at the Rheinstadion? ###assistant: SELECT MAX(attendance) FROM table_24814477_2 WHERE game_site = "Rheinstadion"
###context:CREATE TABLE table_24814477_2 (week VARCHAR, opponent VARCHAR) ###human: What week did the Galaxy play the Amsterdam Admirals? ###assistant: SELECT week FROM table_24814477_2 WHERE opponent = "Amsterdam Admirals"
###context:CREATE TABLE table_24814477_2 (opponent VARCHAR, week VARCHAR) ###human: Who was the opponent in Week 8? ###assistant: SELECT opponent FROM table_24814477_2 WHERE week = 8
###context:CREATE TABLE table_24852622_1 (class_a_winner VARCHAR, class_c_winner VARCHAR) ###human: Who was the Class A winner when the Class C winner was David Haynes? ###assistant: SELECT class_a_winner FROM table_24852622_1 WHERE class_c_winner = "David Haynes"
###context:CREATE TABLE table_24852622_1 (class_c_winner VARCHAR, round VARCHAR) ###human: Who was the Class C winner in round 8? ###assistant: SELECT class_c_winner FROM table_24852622_1 WHERE round = "8"
###context:CREATE TABLE table_24852622_1 (class_d_winner VARCHAR, round VARCHAR) ###human: Who was the Class D winner in round 6? ###assistant: SELECT class_d_winner FROM table_24852622_1 WHERE round = "6"
###context:CREATE TABLE table_24852622_1 (circuit VARCHAR, round VARCHAR) ###human: What was the circuit in round 2? ###assistant: SELECT circuit FROM table_24852622_1 WHERE round = "2"
###context:CREATE TABLE table_24853015_1 (round VARCHAR, class_d_winner VARCHAR, class_b_winner VARCHAR) ###human: In which round did Roy Salvadori won Class D and Alan Hutcheson won Class B? ###assistant: SELECT round FROM table_24853015_1 WHERE class_d_winner = "Roy Salvadori" AND class_b_winner = "Alan Hutch...
###context:CREATE TABLE table_24853015_1 (date VARCHAR, class_b_winner VARCHAR, round VARCHAR) ###human: When did Alan Hutcheson won Class B on round 1? ###assistant: SELECT date FROM table_24853015_1 WHERE class_b_winner = "Alan Hutcheson" AND round = 1
###context:CREATE TABLE table_24850487_5 (field_goals VARCHAR, player VARCHAR) ###human: How many field goals did Stacey Thomas have? ###assistant: SELECT field_goals FROM table_24850487_5 WHERE player = "Stacey Thomas"
###context:CREATE TABLE table_24850487_5 (assists INTEGER, rebounds VARCHAR) ###human: How many assists did the player who had 121 rebounds have? ###assistant: SELECT MAX(assists) FROM table_24850487_5 WHERE rebounds = 121
###context:CREATE TABLE table_24850487_5 (field_goals INTEGER, blocks VARCHAR) ###human: How many field goals did the player who had 8 blocks have? ###assistant: SELECT MIN(field_goals) FROM table_24850487_5 WHERE blocks = 8
###context:CREATE TABLE table_24850487_5 (assists INTEGER, minutes VARCHAR) ###human: How many assists did the player who had 863 minutes have? ###assistant: SELECT MIN(assists) FROM table_24850487_5 WHERE minutes = 863
###context:CREATE TABLE table_24850487_5 (blocks VARCHAR, rebounds VARCHAR) ###human: How many blocks did the player who had 59 rebounds have? ###assistant: SELECT blocks FROM table_24850487_5 WHERE rebounds = 59
###context:CREATE TABLE table_24852001_2 (opponent VARCHAR, attendance VARCHAR) ###human: Who were the opponents that had an attendance of exactly 16115? ###assistant: SELECT opponent FROM table_24852001_2 WHERE attendance = 16115
###context:CREATE TABLE table_24852001_2 (team_record VARCHAR, opponent VARCHAR) ###human: What was the team record after the Frankfurt Galaxy matchup? ###assistant: SELECT team_record FROM table_24852001_2 WHERE opponent = "Frankfurt Galaxy"
###context:CREATE TABLE table_24852001_2 (game_site VARCHAR, opponent VARCHAR) ###human: What was the game site for the matchup against the Frankfurt Galaxy? ###assistant: SELECT game_site FROM table_24852001_2 WHERE opponent = "Frankfurt Galaxy"
###context:CREATE TABLE table_24865763_2 (results VARCHAR, circuit VARCHAR, gt1_winning_team VARCHAR) ###human: How many results did the GT1 Winning Team No. 50 Larbre Compétition on the Algarve circuit? ###assistant: SELECT COUNT(results) FROM table_24865763_2 WHERE circuit = "Algarve" AND gt1_winning_team = "...
###context:CREATE TABLE table_24865763_2 (lmp2_winning_team VARCHAR, gt1_winning_team VARCHAR, circuit VARCHAR) ###human: How many winning teams are there on LMP2 if Gabriele Gardel Patrice Goueslard Fernando Rees was the GT1 Winning Team on the Algarve circuit? ###assistant: SELECT COUNT(lmp2_winning_team) FRO...
###context:CREATE TABLE table_24865763_2 (gt2_winning_team VARCHAR, lmp1_winning_team VARCHAR) ###human: Who was the GT2 Winning Team if Greg Mansell Leo Mansell was the LMP1 Winning Team? ###assistant: SELECT gt2_winning_team FROM table_24865763_2 WHERE lmp1_winning_team = "Greg Mansell Leo Mansell"
###context:CREATE TABLE table_24865763_2 (rnd INTEGER, gt2_winning_team VARCHAR) ###human: What was the maximum round where Marc Lieb Richard Lietz was on the GT2 Winning Team? ###assistant: SELECT MAX(rnd) FROM table_24865763_2 WHERE gt2_winning_team = "Marc Lieb Richard Lietz"
###context:CREATE TABLE table_24865763_2 (lmp1_winning_team VARCHAR, rnd VARCHAR, lmp2_winning_team VARCHAR) ###human: How many won the LMP1 on round 4 if No. 42 Strakka Racing was the LMP2 Winning Team? ###assistant: SELECT COUNT(lmp1_winning_team) FROM table_24865763_2 WHERE rnd = 4 AND lmp2_winning_team = "N...
###context:CREATE TABLE table_24865763_2 (rnd VARCHAR, lmp2_winning_team VARCHAR) ###human: In what round did Mike Newton Thomas Erdos Ben Collins won the LMP2? ###assistant: SELECT rnd FROM table_24865763_2 WHERE lmp2_winning_team = "Mike Newton Thomas Erdos Ben Collins"
###context:CREATE TABLE table_24856332_4 (blocks INTEGER, player VARCHAR) ###human: How many blocks did tye'sha fluker have? ###assistant: SELECT MIN(blocks) FROM table_24856332_4 WHERE player = "Tye'sha Fluker"
###context:CREATE TABLE table_24856332_4 (steals INTEGER, minutes VARCHAR) ###human: What is the highest number of steals for a player with 324 minutes? ###assistant: SELECT MAX(steals) FROM table_24856332_4 WHERE minutes = 324
###context:CREATE TABLE table_24856332_4 (minutes INTEGER, steals VARCHAR) ###human: What is the lowest number of minutes for a player with 47 steals? ###assistant: SELECT MIN(minutes) FROM table_24856332_4 WHERE steals = 47
###context:CREATE TABLE table_2486023_1 (mixed_doubles VARCHAR, year VARCHAR) ###human: Who played Mixed Doubles in 1991? ###assistant: SELECT mixed_doubles FROM table_2486023_1 WHERE year = 1991
###context:CREATE TABLE table_24887326_8 (home_team VARCHAR, away_team VARCHAR) ###human: Who was the home team who played plymouth argyle? ###assistant: SELECT home_team FROM table_24887326_8 WHERE away_team = "Plymouth Argyle"
###context:CREATE TABLE table_24887326_8 (score_1 VARCHAR, away_team VARCHAR) ###human: What was the score when the away team was norwich city? ###assistant: SELECT score_1 FROM table_24887326_8 WHERE away_team = "Norwich City"
###context:CREATE TABLE table_24887326_8 (away_team VARCHAR, home_team VARCHAR) ###human: Who played as the away team when coventry city was the home team? ###assistant: SELECT away_team FROM table_24887326_8 WHERE home_team = "Coventry City"
###context:CREATE TABLE table_24882796_2 (final_score VARCHAR, opponent VARCHAR) ###human: What is the final score when they played Frankfurt Galaxy? ###assistant: SELECT final_score FROM table_24882796_2 WHERE opponent = "Frankfurt Galaxy"
###context:CREATE TABLE table_24887326_6 (away_team VARCHAR, tie_no VARCHAR) ###human: Who is the away team for tie no 11? ###assistant: SELECT away_team FROM table_24887326_6 WHERE tie_no = 11
###context:CREATE TABLE table_24887326_6 (away_team VARCHAR, tie_no VARCHAR) ###human: Who is the away team for tie no 15? ###assistant: SELECT away_team FROM table_24887326_6 WHERE tie_no = 15
###context:CREATE TABLE table_24887326_6 (tie_no INTEGER, attendance VARCHAR) ###human: What is the highest tie that had 19129 attendance? ###assistant: SELECT MAX(tie_no) FROM table_24887326_6 WHERE attendance = 19129
###context:CREATE TABLE table_24887326_6 (tie_no VARCHAR, home_team VARCHAR) ###human: What is the tie when the home team is Stoke City? ###assistant: SELECT tie_no FROM table_24887326_6 WHERE home_team = "Stoke City"
###context:CREATE TABLE table_24887326_6 (tie_no VARCHAR, home_team VARCHAR) ###human: What tie has Orient as the home team? ###assistant: SELECT tie_no FROM table_24887326_6 WHERE home_team = "Orient"
###context:CREATE TABLE table_24887326_6 (date VARCHAR, tie_no VARCHAR) ###human: How many dates are there for tie number 12? ###assistant: SELECT COUNT(date) FROM table_24887326_6 WHERE tie_no = 12
###context:CREATE TABLE table_24898185_4 (equipment VARCHAR, points VARCHAR) ###human: When 556 is the amount of points how much equipment is there? ###assistant: SELECT COUNT(equipment) FROM table_24898185_4 WHERE points = 556
###context:CREATE TABLE table_24901152_4 (championship VARCHAR, score VARCHAR) ###human: Which championship was the score 6–4, 5–7, 6–2? ###assistant: SELECT championship FROM table_24901152_4 WHERE score = "6–4, 5–7, 6–2"
###context:CREATE TABLE table_24901152_4 (opponents VARCHAR, championship VARCHAR) ###human: Who were the opponents in the Rome championship? ###assistant: SELECT opponents FROM table_24901152_4 WHERE championship = "Rome"
###context:CREATE TABLE table_24908692_5 (minutes INTEGER, field_goals VARCHAR) ###human: What is the maximum number of minutes associated with exactly 70 field goals? ###assistant: SELECT MAX(minutes) FROM table_24908692_5 WHERE field_goals = 70
###context:CREATE TABLE table_24908692_5 (field_goals INTEGER, assists VARCHAR) ###human: What is the minimum number of field goals associated with exactly 84 assists? ###assistant: SELECT MIN(field_goals) FROM table_24908692_5 WHERE assists = 84
###context:CREATE TABLE table_24908692_5 (steals VARCHAR, player VARCHAR) ###human: How many steals did Tamika Williams have? ###assistant: SELECT steals FROM table_24908692_5 WHERE player = "Tamika Williams"
###context:CREATE TABLE table_24906653_5 (steals VARCHAR, blocks VARCHAR) ###human: List the number of takeaways with 1 rejection. ###assistant: SELECT COUNT(steals) FROM table_24906653_5 WHERE blocks = 1
###context:CREATE TABLE table_24906653_5 (field_goals VARCHAR, player VARCHAR) ###human: How many long range shots did tonya edwards make. ###assistant: SELECT COUNT(field_goals) FROM table_24906653_5 WHERE player = "Tonya Edwards"
###context:CREATE TABLE table_24906653_5 (field_goals VARCHAR, points VARCHAR) ###human: List the number of long range shors where the score is 171. ###assistant: SELECT COUNT(field_goals) FROM table_24906653_5 WHERE points = 171
###context:CREATE TABLE table_2490289_1 (amiga_demo VARCHAR, pc_demo VARCHAR) ###human: Who won best amiga demo when tribes ( pulse & melon dezign) won best pc demo? ###assistant: SELECT amiga_demo FROM table_2490289_1 WHERE pc_demo = "Tribes ( Pulse & Melon Dezign)"
###context:CREATE TABLE table_2490289_1 (amiga_demo VARCHAR, pc_demo VARCHAR) ###human: What won best amiga demo when alto knallo (free electric band) won best pc demo? ###assistant: SELECT amiga_demo FROM table_2490289_1 WHERE pc_demo = "Alto Knallo (Free Electric Band)"
###context:CREATE TABLE table_2490289_1 (pc_intro VARCHAR, amiga_demo VARCHAR) ###human: What won best pc intro when my kingdom (haujobb & scoopex) won best amiga demo? ###assistant: SELECT pc_intro FROM table_2490289_1 WHERE amiga_demo = "My Kingdom (Haujobb & Scoopex)"
###context:CREATE TABLE table_2490289_1 (pc_intro VARCHAR, amiga_intro VARCHAR) ###human: What won est pc intro when 4k0 (polka brothers) won best amiga intro? ###assistant: SELECT pc_intro FROM table_2490289_1 WHERE amiga_intro = "4k0 (Polka Brothers)"
###context:CREATE TABLE table_2490289_1 (pc_demo VARCHAR, c64_demo VARCHAR) ###human: What won best pc demo when tower power (camelot) won best c64 demo? ###assistant: SELECT pc_demo FROM table_2490289_1 WHERE c64_demo = "Tower Power (Camelot)"
###context:CREATE TABLE table_2490289_1 (year VARCHAR, pc_intro VARCHAR) ###human: What year did fr-08: the product ( farbrausch ) win best pc intro? ###assistant: SELECT year FROM table_2490289_1 WHERE pc_intro = "FR-08: The Product ( Farbrausch )"
###context:CREATE TABLE table_24910737_1 (title VARCHAR, us_viewers__millions_ VARCHAR) ###human: What is the episode title that had a US viewership of 8.16? ###assistant: SELECT title FROM table_24910737_1 WHERE us_viewers__millions_ = "8.16"
###context:CREATE TABLE table_24910737_1 (written_by VARCHAR, us_viewers__millions_ VARCHAR) ###human: Who wrote the episodes that had a viewership of 7.14? ###assistant: SELECT written_by FROM table_24910737_1 WHERE us_viewers__millions_ = "7.14"
###context:CREATE TABLE table_24910733_2 (episode VARCHAR, rating VARCHAR) ###human: How many episodes received rating of 8.2? ###assistant: SELECT COUNT(episode) FROM table_24910733_2 WHERE rating = "8.2"
###context:CREATE TABLE table_24910733_2 (share VARCHAR, air_date VARCHAR) ###human: How many share figures are there for the episode that aired on October 17, 2007? ###assistant: SELECT COUNT(share) FROM table_24910733_2 WHERE air_date = "October 17, 2007"
###context:CREATE TABLE table_24910733_2 (episode VARCHAR, air_date VARCHAR) ###human: How many episodes aired on October 17, 2007? ###assistant: SELECT COUNT(episode) FROM table_24910733_2 WHERE air_date = "October 17, 2007"
###context:CREATE TABLE table_24910733_2 (timeslot__est_ VARCHAR, rating VARCHAR) ###human: How many timeslots received a rating of 5.7? ###assistant: SELECT COUNT(timeslot__est_) FROM table_24910733_2 WHERE rating = "5.7"
###context:CREATE TABLE table_24910733_1 (written_by VARCHAR, us_viewers__millions_ VARCHAR) ###human: How many writers are listed when the U.S viewers are 11.21 million? ###assistant: SELECT COUNT(written_by) FROM table_24910733_1 WHERE us_viewers__millions_ = "11.21"
###context:CREATE TABLE table_24910733_1 (directed_by VARCHAR, us_viewers__millions_ VARCHAR) ###human: Who is the director when there is 8.44 million viewers? ###assistant: SELECT directed_by FROM table_24910733_1 WHERE us_viewers__millions_ = "8.44"
###context:CREATE TABLE table_24910733_1 (directed_by VARCHAR, written_by VARCHAR) ###human: Who is the director when the writter is Andrea Newman? ###assistant: SELECT directed_by FROM table_24910733_1 WHERE written_by = "Andrea Newman"
###context:CREATE TABLE table_24910733_1 (title VARCHAR, written_by VARCHAR) ###human: What is the title when the writer is Emily Halpern? ###assistant: SELECT title FROM table_24910733_1 WHERE written_by = "Emily Halpern"
###context:CREATE TABLE table_24910733_1 (directed_by VARCHAR, us_viewers__millions_ VARCHAR) ###human: Who is the director when there is 11.21 million viewers? ###assistant: SELECT directed_by FROM table_24910733_1 WHERE us_viewers__millions_ = "11.21"
###context:CREATE TABLE table_24910733_1 (title VARCHAR, us_viewers__millions_ VARCHAR) ###human: How many titles are listed with 8.44 million viewers? ###assistant: SELECT COUNT(title) FROM table_24910733_1 WHERE us_viewers__millions_ = "8.44"
###context:CREATE TABLE table_24915964_4 (field_goals VARCHAR, points VARCHAR) ###human: How many field goals had 597 points? ###assistant: SELECT COUNT(field_goals) FROM table_24915964_4 WHERE points = 597
###context:CREATE TABLE table_24915964_4 (minutes INTEGER, player VARCHAR) ###human: How many minutes were played by Sue Bird? ###assistant: SELECT MIN(minutes) FROM table_24915964_4 WHERE player = "Sue Bird"
###context:CREATE TABLE table_24913533_4 (rebounds INTEGER, steals VARCHAR) ###human: What is the maximum number of rebounds for players having exactly 35 steals? ###assistant: SELECT MAX(rebounds) FROM table_24913533_4 WHERE steals = 35