answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT MAX(series_episode) FROM table_27987623_1 WHERE us_viewers__in_million_ = "7.43"
CREATE TABLE table_27987623_1 (series_episode INTEGER, us_viewers__in_million_ VARCHAR)
What was the episode number veiwed by 7.43 million viewers?
SELECT title FROM table_27987623_1 WHERE us_viewers__in_million_ = "5.03"
CREATE TABLE table_27987623_1 (title VARCHAR, us_viewers__in_million_ VARCHAR)
What was the title of the episode viewed by 5.03 million viewers?
SELECT season_episode FROM table_27987623_1 WHERE us_viewers__in_million_ = "5.68"
CREATE TABLE table_27987623_1 (season_episode VARCHAR, us_viewers__in_million_ VARCHAR)
What was the episode number for the episode viewed by 5.68 million viewers?
SELECT COUNT(number_of_fixtures) FROM table_27973624_1 WHERE new_entries_this_round = "none"
CREATE TABLE table_27973624_1 (number_of_fixtures VARCHAR, new_entries_this_round VARCHAR)
How many times is the new entries this round is none?
SELECT prize_money FROM table_27973624_1 WHERE clubs = "392 → 276"
CREATE TABLE table_27973624_1 (prize_money VARCHAR, clubs VARCHAR)
What is the prize money when the clubs is 392 → 276?
SELECT MIN(number_of_fixtures) FROM table_27973624_1
CREATE TABLE table_27973624_1 (number_of_fixtures INTEGER)
What is the lowest number of fixtures?
SELECT main_date FROM table_27973624_1 WHERE round = "Third round Qualifying"
CREATE TABLE table_27973624_1 (main_date VARCHAR, round VARCHAR)
What is the main date when the round is third round qualifying?
SELECT round FROM table_27973624_1 WHERE prize_money = "£7,500"
CREATE TABLE table_27973624_1 (round VARCHAR, prize_money VARCHAR)
What is the round when the prize money is £7,500?
SELECT MAX(no_in_series) FROM table_27987768_1 WHERE written_by = "Eric Gilliland"
CREATE TABLE table_27987768_1 (no_in_series INTEGER, written_by VARCHAR)
What number in series was the episode written by Eric Gilliland?
SELECT COUNT(points_margin) FROM table_27987767_2 WHERE winners = "Brive"
CREATE TABLE table_27987767_2 (points_margin VARCHAR, winners VARCHAR)
how many total number of points margin when brive is the winners
SELECT match_points FROM table_27987767_2 WHERE losers = "Gran Parma"
CREATE TABLE table_27987767_2 (match_points VARCHAR, losers VARCHAR)
how many match points did gran parma lost
SELECT match_points FROM table_27987767_2 WHERE losers = "Rotherham"
CREATE TABLE table_27987767_2 (match_points VARCHAR, losers VARCHAR)
how many match points rotherham lose
SELECT COUNT(eliminated_from_competition) FROM table_27987767_3 WHERE proceed_to_quarter_final = "Brive"
CREATE TABLE table_27987767_3 (eliminated_from_competition VARCHAR, proceed_to_quarter_final VARCHAR)
When brive is the proceed to quarter final how many were eliminated from competition?
SELECT proceed_to_quarter_final FROM table_27987767_3 WHERE eliminated_from_competition = "London Irish"
CREATE TABLE table_27987767_3 (proceed_to_quarter_final VARCHAR, eliminated_from_competition VARCHAR)
When london irish was eliminated from competition who proceeded to quarter final?
SELECT match_points FROM table_27987767_3 WHERE proceed_to_quarter_final = "Brive"
CREATE TABLE table_27987767_3 (match_points VARCHAR, proceed_to_quarter_final VARCHAR)
When brive proceeded to quarter final what were the match points?
SELECT MAX(production_code) FROM table_27988281_1 WHERE written_by = "Jeff Filgo"
CREATE TABLE table_27988281_1 (production_code INTEGER, written_by VARCHAR)
What is the production code of the episode written by Jeff Filgo?
SELECT original_air_date FROM table_27988408_1 WHERE written_by = "Bryan Moore & Chris Peterson"
CREATE TABLE table_27988408_1 (original_air_date VARCHAR, written_by VARCHAR)
Name the original air date for bryan moore & chris peterson
SELECT MIN(production_code) FROM table_27988408_1 WHERE written_by = "Bryan Moore & Chris Peterson"
CREATE TABLE table_27988408_1 (production_code INTEGER, written_by VARCHAR)
Name the least production code for bryan moore & chris peterson
SELECT COUNT(original_air_date) FROM table_27988559_1 WHERE production_code = 804
CREATE TABLE table_27988559_1 (original_air_date VARCHAR, production_code VARCHAR)
How many dates did the episode with a production code of 804 originally air on?
SELECT directed_by FROM table_27988559_1 WHERE no_in_season = 2
CREATE TABLE table_27988559_1 (directed_by VARCHAR, no_in_season VARCHAR)
Who directed episode 2 of the season?
SELECT original_air_date FROM table_27988559_1 WHERE no_in_series = 195
CREATE TABLE table_27988559_1 (original_air_date VARCHAR, no_in_series VARCHAR)
What dat did episode 195 in the series originally air?
SELECT title FROM table_27988540_1 WHERE no_in_season = 5
CREATE TABLE table_27988540_1 (title VARCHAR, no_in_season VARCHAR)
What is the name of episode 5 in the season?
SELECT title FROM table_27988540_1 WHERE no_in_series = 155
CREATE TABLE table_27988540_1 (title VARCHAR, no_in_series VARCHAR)
What is the title of episode 155 in the series?
SELECT MAX(sponsorship) AS Ended FROM table_28005160_2
CREATE TABLE table_28005160_2 (sponsorship INTEGER)
What is the last year a sponsorship ended?
SELECT COUNT(country) FROM table_28005160_2 WHERE city = "Ljungskile"
CREATE TABLE table_28005160_2 (country VARCHAR, city VARCHAR)
How many countries played in the city of ljungskile?
SELECT city FROM table_28005160_2 WHERE country = "Sweden"
CREATE TABLE table_28005160_2 (city VARCHAR, country VARCHAR)
What cities are in sweden on this list?
SELECT country FROM table_28005160_2 WHERE city = "New Orleans"
CREATE TABLE table_28005160_2 (country VARCHAR, city VARCHAR)
What country is new orleans in?
SELECT country FROM table_28005160_2 WHERE sponsored_name = "New Orleans Shell Shockers"
CREATE TABLE table_28005160_2 (country VARCHAR, sponsored_name VARCHAR)
What country are the new orleans shell shockers from?
SELECT arrangement FROM table_28005100_1 WHERE title = "Bets3ab 3alia Nafsy"
CREATE TABLE table_28005100_1 (arrangement VARCHAR, title VARCHAR)
What is the arrangement for bets3ab 3alia nafsy?
SELECT composer FROM table_28005100_1 WHERE title = "Ain Shams"
CREATE TABLE table_28005100_1 (composer VARCHAR, title VARCHAR)
Who was the composer of ain shams?
SELECT COUNT(no) FROM table_28005100_1 WHERE title = "Kam Wa7ed Fina"
CREATE TABLE table_28005100_1 (no VARCHAR, title VARCHAR)
How many numbers are there for kam wa7ed fina?
SELECT composer FROM table_28005100_1 WHERE title = "Te3rafy"
CREATE TABLE table_28005100_1 (composer VARCHAR, title VARCHAR)
Who was the composer of te3rafy?
SELECT COUNT(sound_engineer) FROM table_28005100_1 WHERE title = "Law Hakon '3er Leek"
CREATE TABLE table_28005100_1 (sound_engineer VARCHAR, title VARCHAR)
How many sound engineers were there for law hakon '3er leek?
SELECT no FROM table_28005100_1 WHERE lyricist = "Ahmed Metwally"
CREATE TABLE table_28005100_1 (no VARCHAR, lyricist VARCHAR)
Which number was the lyricist ahmed metwally?
SELECT site_stadium FROM table_28001186_8 WHERE score = "11-4"
CREATE TABLE table_28001186_8 (site_stadium VARCHAR, score VARCHAR)
What was the site of the game that had an 11-4 score?
SELECT ncaat_record FROM table_28001186_8 WHERE date = "June 26"
CREATE TABLE table_28001186_8 (ncaat_record VARCHAR, date VARCHAR)
What was the NCAA Tournament record after the June 26 game?
SELECT save FROM table_28001186_8 WHERE loss = "Duke (3-2)"
CREATE TABLE table_28001186_8 (save VARCHAR, loss VARCHAR)
Who had the save in the game in which Duke (3-2) took the loss?
SELECT COUNT(event_date) FROM table_28003469_1 WHERE event_details = "Women's Sabre"
CREATE TABLE table_28003469_1 (event_date VARCHAR, event_details VARCHAR)
How many event dates occurred when event details were women's sabre?
SELECT approx_duration FROM table_28003469_1 WHERE event_details = "Women's Foil"
CREATE TABLE table_28003469_1 (approx_duration VARCHAR, event_details VARCHAR)
What is every value for approximate duration when event details is women's foil?
SELECT event_date FROM table_28003469_1 WHERE event_day = "Sunday" AND starting_time = "9:30 am"
CREATE TABLE table_28003469_1 (event_date VARCHAR, event_day VARCHAR, starting_time VARCHAR)
What is every event date on Sunday with a starting time of 9:30 am?
SELECT COUNT(viewers) FROM table_27994983_8 WHERE draw = 2
CREATE TABLE table_27994983_8 (viewers VARCHAR, draw VARCHAR)
How many items appear in the viewers column when the draw is 2?
SELECT MAX(viewers) FROM table_27994983_8 WHERE draw = 3
CREATE TABLE table_27994983_8 (viewers INTEGER, draw VARCHAR)
How many viewers are the when the draw is 3?
SELECT MAX(juries) FROM table_27994983_8 WHERE draw = 3
CREATE TABLE table_27994983_8 (juries INTEGER, draw VARCHAR)
How many juries are there when the draw is 3?
SELECT MAX(juries) FROM table_27994983_8 WHERE artist = "Brolle"
CREATE TABLE table_27994983_8 (juries INTEGER, artist VARCHAR)
How many juries are there for Brolle?
SELECT former_county FROM table_2801185_2 WHERE district = "Great Grimsby"
CREATE TABLE table_2801185_2 (former_county VARCHAR, district VARCHAR)
What are the former counties of the Great Grimsby district?
SELECT COUNT(status) FROM table_2801185_2 WHERE district = "Durham"
CREATE TABLE table_2801185_2 (status VARCHAR, district VARCHAR)
How many statuses are there for the Durham district?
SELECT status FROM table_2801185_2 WHERE successor = "Wiltshire"
CREATE TABLE table_2801185_2 (status VARCHAR, successor VARCHAR)
What are the statuses of the districts whose successor is Wiltshire?
SELECT MAX(sdlp) FROM table_28005809_2 WHERE council = "Belfast"
CREATE TABLE table_28005809_2 (sdlp INTEGER, council VARCHAR)
What is the SDLP of Belfast?
SELECT MIN(alliance) FROM table_28005809_2 WHERE total = 25
CREATE TABLE table_28005809_2 (alliance INTEGER, total VARCHAR)
What is the smallest Alliance where the total is 25?
SELECT written_by FROM table_28019988_2 WHERE us_viewers__million_ = "2.93"
CREATE TABLE table_28019988_2 (written_by VARCHAR, us_viewers__million_ VARCHAR)
Who wrote the episode that 2.93 million viewers?
SELECT MAX(series__number) FROM table_28019988_2 WHERE production_code = "BDF101"
CREATE TABLE table_28019988_2 (series__number INTEGER, production_code VARCHAR)
What series number is the episode with production code bdf101?
SELECT series__number FROM table_28019988_2 WHERE production_code = "BDF109"
CREATE TABLE table_28019988_2 (series__number VARCHAR, production_code VARCHAR)
What is the series number for the episode with production code bdf109?
SELECT directed_by FROM table_28027307_1 WHERE production_code = "6AKY11"
CREATE TABLE table_28027307_1 (directed_by VARCHAR, production_code VARCHAR)
Who directed the episode with the production code of 6AKY11?
SELECT us_viewers__millions_ FROM table_28027307_1 WHERE production_code = "6AKY07"
CREATE TABLE table_28027307_1 (us_viewers__millions_ VARCHAR, production_code VARCHAR)
How many millions of U.S. viewers watched the episode with the production code of 6AKY07?
SELECT MIN(no_in_series) FROM table_28027307_1 WHERE us_viewers__millions_ = "10.96"
CREATE TABLE table_28027307_1 (no_in_series INTEGER, us_viewers__millions_ VARCHAR)
What number episode in the series was watched by 10.96 million U.S. viewers?
SELECT dance_song FROM table_2803106_1 WHERE total = "31"
CREATE TABLE table_2803106_1 (dance_song VARCHAR, total VARCHAR)
What dance had a score total of 31?
SELECT result FROM table_2803106_1 WHERE tonioli = "8" AND horwood = "6"
CREATE TABLE table_2803106_1 (result VARCHAR, tonioli VARCHAR, horwood VARCHAR)
What was the result for the dance that tonioli's scored an 8 and horwood scored a 6?
SELECT COUNT(total) FROM table_2803106_1 WHERE tonioli = "9" AND horwood = "6"
CREATE TABLE table_2803106_1 (total VARCHAR, tonioli VARCHAR, horwood VARCHAR)
How many times did tonioli score a 9 when horwood scored a 6?
SELECT tonioli FROM table_2803106_1 WHERE week__number = 11 AND dixon = "8"
CREATE TABLE table_2803106_1 (tonioli VARCHAR, week__number VARCHAR, dixon VARCHAR)
On week 11 when Dixon scored an 8, what was tonioli's score?
SELECT winners_from_previous_round FROM table_28039032_1 WHERE round = "Semi finals"
CREATE TABLE table_28039032_1 (winners_from_previous_round VARCHAR, round VARCHAR)
How many winners from previous round were there in the semi finals?
SELECT round FROM table_28039032_1 WHERE winners_from_previous_round = "32"
CREATE TABLE table_28039032_1 (round VARCHAR, winners_from_previous_round VARCHAR)
What was the round that had 32 winners from previous round?
SELECT clubs_remaining FROM table_28039032_1 WHERE round = "Preliminary round"
CREATE TABLE table_28039032_1 (clubs_remaining VARCHAR, round VARCHAR)
How many clubs were remaining in the preliminary round?
SELECT round FROM table_28039032_1 WHERE winners_from_previous_round = "16"
CREATE TABLE table_28039032_1 (round VARCHAR, winners_from_previous_round VARCHAR)
What was the round when there were 16 winners from the previous round?
SELECT clubs_involved FROM table_28039032_1 WHERE round = "Second round"
CREATE TABLE table_28039032_1 (clubs_involved VARCHAR, round VARCHAR)
How many clubs were involved in the second round?
SELECT town FROM table_2803662_3 WHERE tournament = "Grand Prix De SAR La Princesse Lalla Meryem"
CREATE TABLE table_2803662_3 (town VARCHAR, tournament VARCHAR)
When grand prix de sar la princesse lalla meryem is the tournament what is the town?
SELECT type FROM table_2803662_3 WHERE town = "Stuttgart"
CREATE TABLE table_2803662_3 (type VARCHAR, town VARCHAR)
When stuttgart is the town what is the type?
SELECT driver FROM table_28046929_2 WHERE entrant = "Belgian VW Club" AND co_driver = "Frédéric Miclotte"
CREATE TABLE table_28046929_2 (driver VARCHAR, entrant VARCHAR, co_driver VARCHAR)
who is the person that is part of the belgian vw club that works with frédéric miclotte
SELECT car FROM table_28046929_2 WHERE driver = "Mark Higgins"
CREATE TABLE table_28046929_2 (car VARCHAR, driver VARCHAR)
what is the type of vehicle driven by mark higgins
SELECT entrant FROM table_28046929_2 WHERE co_driver = "Zdeněk Hrůza"
CREATE TABLE table_28046929_2 (entrant VARCHAR, co_driver VARCHAR)
what is the entry where the other person is zdeněk hrůza
SELECT driver FROM table_28046929_2 WHERE co_driver = "Paulo Babo"
CREATE TABLE table_28046929_2 (driver VARCHAR, co_driver VARCHAR)
who is the other person where the assistant is paulo babo
SELECT driver FROM table_28046929_2 WHERE entrant = "Peugeot Sport Polska"
CREATE TABLE table_28046929_2 (driver VARCHAR, entrant VARCHAR)
what are all the people where the entries is peugeot sport polska
SELECT written_by FROM table_28037619_2 WHERE us_viewers__million_ = "6.05"
CREATE TABLE table_28037619_2 (written_by VARCHAR, us_viewers__million_ VARCHAR)
Who wrote the episode that had 6.05 million U.s. viewers?
SELECT COUNT(production_code) FROM table_28037619_2 WHERE us_viewers__million_ = "4.36"
CREATE TABLE table_28037619_2 (production_code VARCHAR, us_viewers__million_ VARCHAR)
How many production codes are there for the episode that had 4.36 million u.s. viewers?
SELECT COUNT(written_by) FROM table_28037619_2 WHERE us_viewers__million_ = "7.26"
CREATE TABLE table_28037619_2 (written_by VARCHAR, us_viewers__million_ VARCHAR)
How many people wrote the episode that had 7.26 million u.s. viewers?
SELECT us_viewers__million_ FROM table_28037619_2 WHERE directed_by = "Roger Young" AND written_by = "Debra J. Fisher"
CREATE TABLE table_28037619_2 (us_viewers__million_ VARCHAR, directed_by VARCHAR, written_by VARCHAR)
How many million u.s. viewers saw the episode that was directed by roger young and written by debra j. fisher?
SELECT title FROM table_28037619_2 WHERE written_by = "David Matthews"
CREATE TABLE table_28037619_2 (title VARCHAR, written_by VARCHAR)
What is the name of the episode written by David Matthews?
SELECT colors FROM table_28051859_3 WHERE school = "Hudson"
CREATE TABLE table_28051859_3 (colors VARCHAR, school VARCHAR)
What are the colors of the Hudson school?
SELECT tenure FROM table_28051859_3 WHERE school = "Field"
CREATE TABLE table_28051859_3 (tenure VARCHAR, school VARCHAR)
When were the members tenured in the Field school?
SELECT COUNT(pick__number) FROM table_28059992_1 WHERE cfl_team = "Toronto Argonauts"
CREATE TABLE table_28059992_1 (pick__number VARCHAR, cfl_team VARCHAR)
How many pick# for CFL team of Toronto Argonauts?
SELECT cfl_team FROM table_28059992_1 WHERE college = "Calgary"
CREATE TABLE table_28059992_1 (cfl_team VARCHAR, college VARCHAR)
What is every CFL team from the Calgary college?
SELECT position FROM table_28059992_1 WHERE cfl_team = "Edmonton"
CREATE TABLE table_28059992_1 (position VARCHAR, cfl_team VARCHAR)
What is every position for the CFL Edmonton?
SELECT cfl_team FROM table_28059992_1 WHERE pick__number = 1
CREATE TABLE table_28059992_1 (cfl_team VARCHAR, pick__number VARCHAR)
What is every CFL team with pick#1?
SELECT cfl_team FROM table_28059992_1 WHERE player = "Mark Farraway"
CREATE TABLE table_28059992_1 (cfl_team VARCHAR, player VARCHAR)
What is every CFL team with the player Mark Farraway?
SELECT MIN(pick__number) FROM table_28059992_5 WHERE player = "Andy Brereton"
CREATE TABLE table_28059992_5 (pick__number INTEGER, player VARCHAR)
What draft pick number was Andy Brereton?
SELECT pick__number FROM table_28059992_5 WHERE cfl_team = "Edmonton"
CREATE TABLE table_28059992_5 (pick__number VARCHAR, cfl_team VARCHAR)
What pick number was the player that was picked by Edmonton?
SELECT position FROM table_28059992_5 WHERE cfl_team = "Saskatchewan"
CREATE TABLE table_28059992_5 (position VARCHAR, cfl_team VARCHAR)
What position did the draft pick going to saskatchewan play?
SELECT MAX(pick__number) FROM table_28059992_5
CREATE TABLE table_28059992_5 (pick__number INTEGER)
What is the highest numbered draft pick?
SELECT cfl_team FROM table_28059992_5 WHERE college = "York"
CREATE TABLE table_28059992_5 (cfl_team VARCHAR, college VARCHAR)
What CFL team got the player from york?
SELECT COUNT(position) FROM table_28059992_5 WHERE player = "Trent Bagnail"
CREATE TABLE table_28059992_5 (position VARCHAR, player VARCHAR)
How many positions does Trent Bagnail play?
SELECT position FROM table_28059992_6 WHERE cfl_team = "Edmonton"
CREATE TABLE table_28059992_6 (position VARCHAR, cfl_team VARCHAR)
What position was the player who was drafted by Edmonton?
SELECT college FROM table_28059992_6 WHERE position = "RB"
CREATE TABLE table_28059992_6 (college VARCHAR, position VARCHAR)
What college did the player whose position was RB go to?
SELECT college FROM table_28059992_6 WHERE player = "Francis Bellefroid"
CREATE TABLE table_28059992_6 (college VARCHAR, player VARCHAR)
What college did Francis Bellefroid go to?
SELECT player FROM table_28059992_6 WHERE cfl_team = "Winnipeg"
CREATE TABLE table_28059992_6 (player VARCHAR, cfl_team VARCHAR)
Which player was drafted by Winnipeg?
SELECT college FROM table_28059992_6 WHERE cfl_team = "Calgary"
CREATE TABLE table_28059992_6 (college VARCHAR, cfl_team VARCHAR)
What college did the player who was drafted by Calgary go to?
SELECT height FROM table_28062822_3 WHERE represent = 1
CREATE TABLE table_28062822_3 (height VARCHAR, represent VARCHAR)
What was the height of representative #1?
SELECT contestant FROM table_28062822_3 WHERE sponsor = "Yogurt Vita Slim"
CREATE TABLE table_28062822_3 (contestant VARCHAR, sponsor VARCHAR)
Which contestant was sponsored by Yogurt Vita Slim?
SELECT height FROM table_28062822_3 WHERE represent = 6
CREATE TABLE table_28062822_3 (height VARCHAR, represent VARCHAR)
What was the height of representative #6?
SELECT COUNT(written_by) FROM table_28081876_4 WHERE directed_by = "Rob Schrab"
CREATE TABLE table_28081876_4 (written_by VARCHAR, directed_by VARCHAR)
how many people wrote the episode directed by rob schrab?
SELECT title FROM table_28081876_4 WHERE production_code = 201
CREATE TABLE table_28081876_4 (title VARCHAR, production_code VARCHAR)
name the title of the episode with production code 201
SELECT written_by FROM table_28081876_6 WHERE original_air_date = "August 10, 2012"
CREATE TABLE table_28081876_6 (written_by VARCHAR, original_air_date VARCHAR)
Who were the authors of the episode first broadcast on August 10, 2012?