answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT MAX(appearances) FROM table_24807406_1 WHERE starts = 18
CREATE TABLE table_24807406_1 (appearances INTEGER, starts VARCHAR)
What is the appearance maximum if the starts is 18?
SELECT name FROM table_2482547_5 WHERE average = "15.89"
CREATE TABLE table_2482547_5 (name VARCHAR, average VARCHAR)
What are the names of all the players with an average of 15.89?
SELECT MAX(wickets_taken) FROM table_2482547_5 WHERE name = "Bill Lockwood"
CREATE TABLE table_2482547_5 (wickets_taken INTEGER, name VARCHAR)
What's the maximum wickets taken by players named Bill Lockwood?
SELECT team_s_ FROM table_2482547_5 WHERE average = "15.89"
CREATE TABLE table_2482547_5 (team_s_ VARCHAR, average VARCHAR)
What are all the teams with an average of 15.89?
SELECT name FROM table_2482547_5 WHERE balls_bowled = 4969
CREATE TABLE table_2482547_5 (name VARCHAR, balls_bowled VARCHAR)
Who are all the players who've bowled more than 4969 balls?
SELECT average FROM table_2482547_5 WHERE wickets_taken = 212
CREATE TABLE table_2482547_5 (average VARCHAR, wickets_taken VARCHAR)
What are the averages for games with 212 wickets taken?
SELECT turbine_manufacturer FROM table_24837750_1 WHERE county = "Wheatland"
CREATE TABLE table_24837750_1 (turbine_manufacturer VARCHAR, county VARCHAR)
Who was the turbine manufacturer for the Wheatland county?
SELECT COUNT(turbine_manufacturer) FROM table_24837750_1 WHERE installed_capacity__mw_ = "189"
CREATE TABLE table_24837750_1 (turbine_manufacturer VARCHAR, installed_capacity__mw_ VARCHAR)
How many turbine manufacturers installed a capacity of 189 MW?
SELECT installed_capacity__mw_ FROM table_24837750_1 WHERE county = "Wheatland"
CREATE TABLE table_24837750_1 (installed_capacity__mw_ VARCHAR, county VARCHAR)
How much capacity was installed in Wheatland?
SELECT turbine_manufacturer FROM table_24837750_1 WHERE date_in_service = "2005"
CREATE TABLE table_24837750_1 (turbine_manufacturer VARCHAR, date_in_service VARCHAR)
Who was the turbine manufacturer of the wind farm that started service on 2005?
SELECT date_in_service FROM table_24837750_1 WHERE installed_capacity__mw_ = "135"
CREATE TABLE table_24837750_1 (date_in_service VARCHAR, installed_capacity__mw_ VARCHAR)
When did this wind farm started service with a capacity of 135 MW?
SELECT date_in_service FROM table_24837750_1 WHERE county = "Musselshell"
CREATE TABLE table_24837750_1 (date_in_service VARCHAR, county VARCHAR)
When did the wind farm in Musselshell started service?
SELECT MAX(attendance) FROM table_24814477_2 WHERE game_site = "Rheinstadion"
CREATE TABLE table_24814477_2 (attendance INTEGER, game_site VARCHAR)
What was the largest attendance at the Rheinstadion?
SELECT week FROM table_24814477_2 WHERE opponent = "Amsterdam Admirals"
CREATE TABLE table_24814477_2 (week VARCHAR, opponent VARCHAR)
What week did the Galaxy play the Amsterdam Admirals?
SELECT opponent FROM table_24814477_2 WHERE week = 8
CREATE TABLE table_24814477_2 (opponent VARCHAR, week VARCHAR)
Who was the opponent in Week 8?
SELECT class_a_winner FROM table_24852622_1 WHERE class_c_winner = "David Haynes"
CREATE TABLE table_24852622_1 (class_a_winner VARCHAR, class_c_winner VARCHAR)
Who was the Class A winner when the Class C winner was David Haynes?
SELECT class_c_winner FROM table_24852622_1 WHERE round = "8"
CREATE TABLE table_24852622_1 (class_c_winner VARCHAR, round VARCHAR)
Who was the Class C winner in round 8?
SELECT class_d_winner FROM table_24852622_1 WHERE round = "6"
CREATE TABLE table_24852622_1 (class_d_winner VARCHAR, round VARCHAR)
Who was the Class D winner in round 6?
SELECT circuit FROM table_24852622_1 WHERE round = "2"
CREATE TABLE table_24852622_1 (circuit VARCHAR, round VARCHAR)
What was the circuit in round 2?
SELECT round FROM table_24853015_1 WHERE class_d_winner = "Roy Salvadori" AND class_b_winner = "Alan Hutcheson"
CREATE TABLE table_24853015_1 (round VARCHAR, class_d_winner VARCHAR, class_b_winner VARCHAR)
In which round did Roy Salvadori won Class D and Alan Hutcheson won Class B?
SELECT date FROM table_24853015_1 WHERE class_b_winner = "Alan Hutcheson" AND round = 1
CREATE TABLE table_24853015_1 (date VARCHAR, class_b_winner VARCHAR, round VARCHAR)
When did Alan Hutcheson won Class B on round 1?
SELECT field_goals FROM table_24850487_5 WHERE player = "Stacey Thomas"
CREATE TABLE table_24850487_5 (field_goals VARCHAR, player VARCHAR)
How many field goals did Stacey Thomas have?
SELECT MAX(assists) FROM table_24850487_5 WHERE rebounds = 121
CREATE TABLE table_24850487_5 (assists INTEGER, rebounds VARCHAR)
How many assists did the player who had 121 rebounds have?
SELECT MIN(field_goals) FROM table_24850487_5 WHERE blocks = 8
CREATE TABLE table_24850487_5 (field_goals INTEGER, blocks VARCHAR)
How many field goals did the player who had 8 blocks have?
SELECT MIN(assists) FROM table_24850487_5 WHERE minutes = 863
CREATE TABLE table_24850487_5 (assists INTEGER, minutes VARCHAR)
How many assists did the player who had 863 minutes have?
SELECT blocks FROM table_24850487_5 WHERE rebounds = 59
CREATE TABLE table_24850487_5 (blocks VARCHAR, rebounds VARCHAR)
How many blocks did the player who had 59 rebounds have?
SELECT opponent FROM table_24852001_2 WHERE attendance = 16115
CREATE TABLE table_24852001_2 (opponent VARCHAR, attendance VARCHAR)
Who were the opponents that had an attendance of exactly 16115?
SELECT team_record FROM table_24852001_2 WHERE opponent = "Frankfurt Galaxy"
CREATE TABLE table_24852001_2 (team_record VARCHAR, opponent VARCHAR)
What was the team record after the Frankfurt Galaxy matchup?
SELECT game_site FROM table_24852001_2 WHERE opponent = "Frankfurt Galaxy"
CREATE TABLE table_24852001_2 (game_site VARCHAR, opponent VARCHAR)
What was the game site for the matchup against the Frankfurt Galaxy?
SELECT COUNT(results) FROM table_24865763_2 WHERE circuit = "Algarve" AND gt1_winning_team = "No. 50 Larbre Compétition"
CREATE TABLE table_24865763_2 (results VARCHAR, circuit VARCHAR, gt1_winning_team VARCHAR)
How many results did the GT1 Winning Team No. 50 Larbre Compétition on the Algarve circuit?
SELECT COUNT(lmp2_winning_team) FROM table_24865763_2 WHERE gt1_winning_team = "Gabriele Gardel Patrice Goueslard Fernando Rees" AND circuit = "Algarve"
CREATE TABLE table_24865763_2 (lmp2_winning_team VARCHAR, gt1_winning_team VARCHAR, circuit VARCHAR)
How many winning teams are there on LMP2 if Gabriele Gardel Patrice Goueslard Fernando Rees was the GT1 Winning Team on the Algarve circuit?
SELECT gt2_winning_team FROM table_24865763_2 WHERE lmp1_winning_team = "Greg Mansell Leo Mansell"
CREATE TABLE table_24865763_2 (gt2_winning_team VARCHAR, lmp1_winning_team VARCHAR)
Who was the GT2 Winning Team if Greg Mansell Leo Mansell was the LMP1 Winning Team?
SELECT MAX(rnd) FROM table_24865763_2 WHERE gt2_winning_team = "Marc Lieb Richard Lietz"
CREATE TABLE table_24865763_2 (rnd INTEGER, gt2_winning_team VARCHAR)
What was the maximum round where Marc Lieb Richard Lietz was on the GT2 Winning Team?
SELECT COUNT(lmp1_winning_team) FROM table_24865763_2 WHERE rnd = 4 AND lmp2_winning_team = "No. 42 Strakka Racing"
CREATE TABLE table_24865763_2 (lmp1_winning_team VARCHAR, rnd VARCHAR, lmp2_winning_team VARCHAR)
How many won the LMP1 on round 4 if No. 42 Strakka Racing was the LMP2 Winning Team?
SELECT rnd FROM table_24865763_2 WHERE lmp2_winning_team = "Mike Newton Thomas Erdos Ben Collins"
CREATE TABLE table_24865763_2 (rnd VARCHAR, lmp2_winning_team VARCHAR)
In what round did Mike Newton Thomas Erdos Ben Collins won the LMP2?
SELECT MIN(blocks) FROM table_24856332_4 WHERE player = "Tye'sha Fluker"
CREATE TABLE table_24856332_4 (blocks INTEGER, player VARCHAR)
How many blocks did tye'sha fluker have?
SELECT MAX(steals) FROM table_24856332_4 WHERE minutes = 324
CREATE TABLE table_24856332_4 (steals INTEGER, minutes VARCHAR)
What is the highest number of steals for a player with 324 minutes?
SELECT MIN(minutes) FROM table_24856332_4 WHERE steals = 47
CREATE TABLE table_24856332_4 (minutes INTEGER, steals VARCHAR)
What is the lowest number of minutes for a player with 47 steals?
SELECT mixed_doubles FROM table_2486023_1 WHERE year = 1991
CREATE TABLE table_2486023_1 (mixed_doubles VARCHAR, year VARCHAR)
Who played Mixed Doubles in 1991?
SELECT home_team FROM table_24887326_8 WHERE away_team = "Plymouth Argyle"
CREATE TABLE table_24887326_8 (home_team VARCHAR, away_team VARCHAR)
Who was the home team who played plymouth argyle?
SELECT score_1 FROM table_24887326_8 WHERE away_team = "Norwich City"
CREATE TABLE table_24887326_8 (score_1 VARCHAR, away_team VARCHAR)
What was the score when the away team was norwich city?
SELECT away_team FROM table_24887326_8 WHERE home_team = "Coventry City"
CREATE TABLE table_24887326_8 (away_team VARCHAR, home_team VARCHAR)
Who played as the away team when coventry city was the home team?
SELECT final_score FROM table_24882796_2 WHERE opponent = "Frankfurt Galaxy"
CREATE TABLE table_24882796_2 (final_score VARCHAR, opponent VARCHAR)
What is the final score when they played Frankfurt Galaxy?
SELECT away_team FROM table_24887326_6 WHERE tie_no = 11
CREATE TABLE table_24887326_6 (away_team VARCHAR, tie_no VARCHAR)
Who is the away team for tie no 11?
SELECT away_team FROM table_24887326_6 WHERE tie_no = 15
CREATE TABLE table_24887326_6 (away_team VARCHAR, tie_no VARCHAR)
Who is the away team for tie no 15?
SELECT MAX(tie_no) FROM table_24887326_6 WHERE attendance = 19129
CREATE TABLE table_24887326_6 (tie_no INTEGER, attendance VARCHAR)
What is the highest tie that had 19129 attendance?
SELECT tie_no FROM table_24887326_6 WHERE home_team = "Stoke City"
CREATE TABLE table_24887326_6 (tie_no VARCHAR, home_team VARCHAR)
What is the tie when the home team is Stoke City?
SELECT tie_no FROM table_24887326_6 WHERE home_team = "Orient"
CREATE TABLE table_24887326_6 (tie_no VARCHAR, home_team VARCHAR)
What tie has Orient as the home team?
SELECT COUNT(date) FROM table_24887326_6 WHERE tie_no = 12
CREATE TABLE table_24887326_6 (date VARCHAR, tie_no VARCHAR)
How many dates are there for tie number 12?
SELECT COUNT(equipment) FROM table_24898185_4 WHERE points = 556
CREATE TABLE table_24898185_4 (equipment VARCHAR, points VARCHAR)
When 556 is the amount of points how much equipment is there?
SELECT championship FROM table_24901152_4 WHERE score = "6–4, 5–7, 6–2"
CREATE TABLE table_24901152_4 (championship VARCHAR, score VARCHAR)
Which championship was the score 6–4, 5–7, 6–2?
SELECT opponents FROM table_24901152_4 WHERE championship = "Rome"
CREATE TABLE table_24901152_4 (opponents VARCHAR, championship VARCHAR)
Who were the opponents in the Rome championship?
SELECT MAX(minutes) FROM table_24908692_5 WHERE field_goals = 70
CREATE TABLE table_24908692_5 (minutes INTEGER, field_goals VARCHAR)
What is the maximum number of minutes associated with exactly 70 field goals?
SELECT MIN(field_goals) FROM table_24908692_5 WHERE assists = 84
CREATE TABLE table_24908692_5 (field_goals INTEGER, assists VARCHAR)
What is the minimum number of field goals associated with exactly 84 assists?
SELECT steals FROM table_24908692_5 WHERE player = "Tamika Williams"
CREATE TABLE table_24908692_5 (steals VARCHAR, player VARCHAR)
How many steals did Tamika Williams have?
SELECT COUNT(steals) FROM table_24906653_5 WHERE blocks = 1
CREATE TABLE table_24906653_5 (steals VARCHAR, blocks VARCHAR)
List the number of takeaways with 1 rejection.
SELECT COUNT(field_goals) FROM table_24906653_5 WHERE player = "Tonya Edwards"
CREATE TABLE table_24906653_5 (field_goals VARCHAR, player VARCHAR)
How many long range shots did tonya edwards make.
SELECT COUNT(field_goals) FROM table_24906653_5 WHERE points = 171
CREATE TABLE table_24906653_5 (field_goals VARCHAR, points VARCHAR)
List the number of long range shors where the score is 171.
SELECT amiga_demo FROM table_2490289_1 WHERE pc_demo = "Tribes ( Pulse & Melon Dezign)"
CREATE TABLE table_2490289_1 (amiga_demo VARCHAR, pc_demo VARCHAR)
Who won best amiga demo when tribes ( pulse & melon dezign) won best pc demo?
SELECT amiga_demo FROM table_2490289_1 WHERE pc_demo = "Alto Knallo (Free Electric Band)"
CREATE TABLE table_2490289_1 (amiga_demo VARCHAR, pc_demo VARCHAR)
What won best amiga demo when alto knallo (free electric band) won best pc demo?
SELECT pc_intro FROM table_2490289_1 WHERE amiga_demo = "My Kingdom (Haujobb & Scoopex)"
CREATE TABLE table_2490289_1 (pc_intro VARCHAR, amiga_demo VARCHAR)
What won best pc intro when my kingdom (haujobb & scoopex) won best amiga demo?
SELECT pc_intro FROM table_2490289_1 WHERE amiga_intro = "4k0 (Polka Brothers)"
CREATE TABLE table_2490289_1 (pc_intro VARCHAR, amiga_intro VARCHAR)
What won est pc intro when 4k0 (polka brothers) won best amiga intro?
SELECT pc_demo FROM table_2490289_1 WHERE c64_demo = "Tower Power (Camelot)"
CREATE TABLE table_2490289_1 (pc_demo VARCHAR, c64_demo VARCHAR)
What won best pc demo when tower power (camelot) won best c64 demo?
SELECT year FROM table_2490289_1 WHERE pc_intro = "FR-08: The Product ( Farbrausch )"
CREATE TABLE table_2490289_1 (year VARCHAR, pc_intro VARCHAR)
What year did fr-08: the product ( farbrausch ) win best pc intro?
SELECT title FROM table_24910737_1 WHERE us_viewers__millions_ = "8.16"
CREATE TABLE table_24910737_1 (title VARCHAR, us_viewers__millions_ VARCHAR)
What is the episode title that had a US viewership of 8.16?
SELECT written_by FROM table_24910737_1 WHERE us_viewers__millions_ = "7.14"
CREATE TABLE table_24910737_1 (written_by VARCHAR, us_viewers__millions_ VARCHAR)
Who wrote the episodes that had a viewership of 7.14?
SELECT COUNT(episode) FROM table_24910733_2 WHERE rating = "8.2"
CREATE TABLE table_24910733_2 (episode VARCHAR, rating VARCHAR)
How many episodes received rating of 8.2?
SELECT COUNT(share) FROM table_24910733_2 WHERE air_date = "October 17, 2007"
CREATE TABLE table_24910733_2 (share VARCHAR, air_date VARCHAR)
How many share figures are there for the episode that aired on October 17, 2007?
SELECT COUNT(episode) FROM table_24910733_2 WHERE air_date = "October 17, 2007"
CREATE TABLE table_24910733_2 (episode VARCHAR, air_date VARCHAR)
How many episodes aired on October 17, 2007?
SELECT COUNT(timeslot__est_) FROM table_24910733_2 WHERE rating = "5.7"
CREATE TABLE table_24910733_2 (timeslot__est_ VARCHAR, rating VARCHAR)
How many timeslots received a rating of 5.7?
SELECT COUNT(written_by) FROM table_24910733_1 WHERE us_viewers__millions_ = "11.21"
CREATE TABLE table_24910733_1 (written_by VARCHAR, us_viewers__millions_ VARCHAR)
How many writers are listed when the U.S viewers are 11.21 million?
SELECT directed_by FROM table_24910733_1 WHERE us_viewers__millions_ = "8.44"
CREATE TABLE table_24910733_1 (directed_by VARCHAR, us_viewers__millions_ VARCHAR)
Who is the director when there is 8.44 million viewers?
SELECT directed_by FROM table_24910733_1 WHERE written_by = "Andrea Newman"
CREATE TABLE table_24910733_1 (directed_by VARCHAR, written_by VARCHAR)
Who is the director when the writter is Andrea Newman?
SELECT title FROM table_24910733_1 WHERE written_by = "Emily Halpern"
CREATE TABLE table_24910733_1 (title VARCHAR, written_by VARCHAR)
What is the title when the writer is Emily Halpern?
SELECT directed_by FROM table_24910733_1 WHERE us_viewers__millions_ = "11.21"
CREATE TABLE table_24910733_1 (directed_by VARCHAR, us_viewers__millions_ VARCHAR)
Who is the director when there is 11.21 million viewers?
SELECT COUNT(title) FROM table_24910733_1 WHERE us_viewers__millions_ = "8.44"
CREATE TABLE table_24910733_1 (title VARCHAR, us_viewers__millions_ VARCHAR)
How many titles are listed with 8.44 million viewers?
SELECT COUNT(field_goals) FROM table_24915964_4 WHERE points = 597
CREATE TABLE table_24915964_4 (field_goals VARCHAR, points VARCHAR)
How many field goals had 597 points?
SELECT MIN(minutes) FROM table_24915964_4 WHERE player = "Sue Bird"
CREATE TABLE table_24915964_4 (minutes INTEGER, player VARCHAR)
How many minutes were played by Sue Bird?
SELECT MAX(rebounds) FROM table_24913533_4 WHERE steals = 35
CREATE TABLE table_24913533_4 (rebounds INTEGER, steals VARCHAR)
What is the maximum number of rebounds for players having exactly 35 steals?
SELECT steals FROM table_24913533_4 WHERE blocks = 3
CREATE TABLE table_24913533_4 (steals VARCHAR, blocks VARCHAR)
What are the numbers of steals associated with players having exactly 3 blocks?
SELECT COUNT(rebounds) FROM table_24913533_4 WHERE points = 18
CREATE TABLE table_24913533_4 (rebounds VARCHAR, points VARCHAR)
How many numbers of rebounds are associated with exactly 18 points?
SELECT MAX(assists) FROM table_24913533_4 WHERE player = "Anastasia Kostaki"
CREATE TABLE table_24913533_4 (assists INTEGER, player VARCHAR)
What is the maximum number of assists for players named Anastasia Kostaki?
SELECT MAX(steals) FROM table_24912693_4 WHERE player = "Tiffani Johnson"
CREATE TABLE table_24912693_4 (steals INTEGER, player VARCHAR)
What is Tiffani Johnson's maximum steals?
SELECT player FROM table_24912693_4 WHERE blocks = 17
CREATE TABLE table_24912693_4 (player VARCHAR, blocks VARCHAR)
Which player has 17 blocks?
SELECT MIN(field_goals) FROM table_24912693_4 WHERE rebounds = 84
CREATE TABLE table_24912693_4 (field_goals INTEGER, rebounds VARCHAR)
How many field goals does the player with 84 rebounds have?
SELECT blocks FROM table_24912693_4 WHERE minutes = 893
CREATE TABLE table_24912693_4 (blocks VARCHAR, minutes VARCHAR)
How many blocks does the player who played 893 minutes have?
SELECT points FROM table_24912693_4 WHERE steals = 2
CREATE TABLE table_24912693_4 (points VARCHAR, steals VARCHAR)
How many points does the player with 2 steals have?
SELECT MAX(number) FROM table_24924576_2
CREATE TABLE table_24924576_2 (number INTEGER)
Name the most number
SELECT titles FROM table_24924576_2 WHERE result = "TKO 11/12"
CREATE TABLE table_24924576_2 (titles VARCHAR, result VARCHAR)
Name the titles for tko 11/12
SELECT venue FROM table_24919137_2 WHERE result_margin = "WON by 70"
CREATE TABLE table_24919137_2 (venue VARCHAR, result_margin VARCHAR)
Where was the game played when the result/margin was won by 70?
SELECT result_margin FROM table_24919137_2 WHERE broadcaster = "Fox Sports 1" AND venue = "MCG"
CREATE TABLE table_24919137_2 (result_margin VARCHAR, broadcaster VARCHAR, venue VARCHAR)
What is the result/margin when fox sports 1 broadcast the game played at mcg?
SELECT broadcaster FROM table_24919137_2 WHERE opposition = "Melbourne"
CREATE TABLE table_24919137_2 (broadcaster VARCHAR, opposition VARCHAR)
Which network broadcast the game when the Western Bulldogs played melbourne?
SELECT venue FROM table_24919137_2 WHERE score = "14.16 (100)-12.12 (84)"
CREATE TABLE table_24919137_2 (venue VARCHAR, score VARCHAR)
Where was the game played when the score was 14.16 (100)-12.12 (84)?
SELECT ladder_position FROM table_24919137_2 WHERE score = "15.9 (99)–14.6 (90)"
CREATE TABLE table_24919137_2 (ladder_position VARCHAR, score VARCHAR)
What was the ladder position when the score was 15.9 (99)–14.6 (90)?
SELECT date FROM table_24919137_2 WHERE ladder_position = "8th" AND opposition = "Hawthorn"
CREATE TABLE table_24919137_2 (date VARCHAR, ladder_position VARCHAR, opposition VARCHAR)
On what date was the game played when the Western Bulldogs were in 8th ladder position and hawthorn was the opposing team?
SELECT school FROM table_24935743_2 WHERE nickname = "Panthers"
CREATE TABLE table_24935743_2 (school VARCHAR, nickname VARCHAR)
What school is nicknamed the panthers?
SELECT location FROM table_24935743_2 WHERE school = "Jeromesville"
CREATE TABLE table_24935743_2 (location VARCHAR, school VARCHAR)
What school is in Jeromesville?
SELECT previous_school FROM table_24925945_3 WHERE height = "ft7in (m)"
CREATE TABLE table_24925945_3 (previous_school VARCHAR, height VARCHAR)
What was the previous school of the ft7in (m) tall player?
SELECT previous_school FROM table_24925945_3 WHERE _number = 22
CREATE TABLE table_24925945_3 (previous_school VARCHAR, _number VARCHAR)
What was the previous school of #22?
SELECT title FROM table_24938621_2 WHERE production_code = "3X5402"
CREATE TABLE table_24938621_2 (title VARCHAR, production_code VARCHAR)
What is the title of the episode with production code 3x5402?