instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: Who won the season for which Brendan Lynch is the runner-up?
The relevant table was constructed using the following SQL : CREATE TABLE table_28962227_1 (winner VARCHAR, runners_up VARCHAR)
SELECT winner FROM table_28962227_1 WHERE runners_up = "Brendan Lynch"
Write a SQL query that answers the following question: What is the pick # when the new jersey devils is the nhl team?
The relevant table was constructed using the following SQL : CREATE TABLE table_2897457_3 (pick__number VARCHAR, nhl_team VARCHAR)
SELECT pick__number FROM table_2897457_3 WHERE nhl_team = "New Jersey Devils"
Write a SQL query that answers the following question: Which college/junior/team has defence as the position with canada as the nationality and the pick # is less than 61.0?
The relevant table was constructed using the following SQL : CREATE TABLE table_2897457_3 (college_junior_club_team VARCHAR, pick__number VARCHAR, position VARCHAR, nationality VARCHAR)
SELECT college_junior_club_team FROM table_2897457_3 WHERE position = "Defence" AND nationality = "Canada" AND pick__number < 61.0
Write a SQL query that answers the following question: Which nhl team has kris draper as the player?
The relevant table was constructed using the following SQL : CREATE TABLE table_2897457_3 (nhl_team VARCHAR, player VARCHAR)
SELECT nhl_team FROM table_2897457_3 WHERE player = "Kris Draper"
Write a SQL query that answers the following question: Which position has new Jersey Devils as the nhl team?
The relevant table was constructed using the following SQL : CREATE TABLE table_2897457_3 (position VARCHAR, nhl_team VARCHAR)
SELECT position FROM table_2897457_3 WHERE nhl_team = "New Jersey Devils"
Write a SQL query that answers the following question: Which college/junior/club team has jim mathieson as the player?
The relevant table was constructed using the following SQL : CREATE TABLE table_2897457_3 (college_junior_club_team VARCHAR, player VARCHAR)
SELECT college_junior_club_team FROM table_2897457_3 WHERE player = "Jim Mathieson"
Write a SQL query that answers the following question: What is the production code of the episode with series #8?
The relevant table was constructed using the following SQL : CREATE TABLE table_28967275_2 (production_code VARCHAR, series__number VARCHAR)
SELECT production_code FROM table_28967275_2 WHERE series__number = 8
Write a SQL query that answers the following question: What is the title of the episode with series number 14?
The relevant table was constructed using the following SQL : CREATE TABLE table_28967275_2 (episode_title VARCHAR, series__number VARCHAR)
SELECT episode_title FROM table_28967275_2 WHERE series__number = 14
Write a SQL query that answers the following question: What is the original airdate of episode #31?
The relevant table was constructed using the following SQL : CREATE TABLE table_28967275_2 (original_air_date VARCHAR, episode__number VARCHAR)
SELECT original_air_date FROM table_28967275_2 WHERE episode__number = 31
Write a SQL query that answers the following question: Who was drafted to the Vancouver Canucks?
The relevant table was constructed using the following SQL : CREATE TABLE table_2897457_8 (player VARCHAR, nhl_team VARCHAR)
SELECT player FROM table_2897457_8 WHERE nhl_team = "Vancouver Canucks"
Write a SQL query that answers the following question: How many figures are provided for the team when the position drafted is center?
The relevant table was constructed using the following SQL : CREATE TABLE table_2897457_8 (nhl_team VARCHAR, position VARCHAR)
SELECT COUNT(nhl_team) FROM table_2897457_8 WHERE position = "Center"
Write a SQL query that answers the following question: What was the pick number when Paul Krake was selected?
The relevant table was constructed using the following SQL : CREATE TABLE table_2897457_8 (pick__number INTEGER, player VARCHAR)
SELECT MIN(pick__number) FROM table_2897457_8 WHERE player = "Paul Krake"
Write a SQL query that answers the following question: What pick number did the New York Rangers have?
The relevant table was constructed using the following SQL : CREATE TABLE table_2897457_8 (pick__number VARCHAR, nhl_team VARCHAR)
SELECT pick__number FROM table_2897457_8 WHERE nhl_team = "New York Rangers"
Write a SQL query that answers the following question: What pick number was the Boston Bruins selection for defence?
The relevant table was constructed using the following SQL : CREATE TABLE table_2897457_8 (pick__number VARCHAR, position VARCHAR, nhl_team VARCHAR)
SELECT pick__number FROM table_2897457_8 WHERE position = "Defence" AND nhl_team = "Boston Bruins"
Write a SQL query that answers the following question: Which player is pick 64?
The relevant table was constructed using the following SQL : CREATE TABLE table_2897457_4 (player VARCHAR, pick__number VARCHAR)
SELECT player FROM table_2897457_4 WHERE pick__number = 64
Write a SQL query that answers the following question: Which player is the centre for the Detroit Red Wings?
The relevant table was constructed using the following SQL : CREATE TABLE table_2897457_4 (player VARCHAR, position VARCHAR, nhl_team VARCHAR)
SELECT player FROM table_2897457_4 WHERE position = "Centre" AND nhl_team = "Detroit Red Wings"
Write a SQL query that answers the following question: How many positions drafted for the Minnesota North Stars?
The relevant table was constructed using the following SQL : CREATE TABLE table_2897457_4 (position VARCHAR, nhl_team VARCHAR)
SELECT COUNT(position) FROM table_2897457_4 WHERE nhl_team = "Minnesota North Stars"
Write a SQL query that answers the following question: What position did Roseau High School (USHS-MN) play?
The relevant table was constructed using the following SQL : CREATE TABLE table_2897457_7 (position VARCHAR, college_junior_club_team VARCHAR)
SELECT position FROM table_2897457_7 WHERE college_junior_club_team = "Roseau High School (USHS-MN)"
Write a SQL query that answers the following question: What are Scott Zygulski's pick numbers?
The relevant table was constructed using the following SQL : CREATE TABLE table_2897457_7 (pick__number VARCHAR, player VARCHAR)
SELECT pick__number FROM table_2897457_7 WHERE player = "Scott Zygulski"
Write a SQL query that answers the following question: Which country is pick# 136 from?
The relevant table was constructed using the following SQL : CREATE TABLE table_2897457_7 (nationality VARCHAR, pick__number VARCHAR)
SELECT nationality FROM table_2897457_7 WHERE pick__number = 136
Write a SQL query that answers the following question: How many nationalities does Alex Nikolic come from?
The relevant table was constructed using the following SQL : CREATE TABLE table_2897457_7 (nationality VARCHAR, player VARCHAR)
SELECT COUNT(nationality) FROM table_2897457_7 WHERE player = "Alex Nikolic"
Write a SQL query that answers the following question: How many NHL teams have a pick number of 128?
The relevant table was constructed using the following SQL : CREATE TABLE table_2897457_7 (nhl_team VARCHAR, pick__number VARCHAR)
SELECT COUNT(nhl_team) FROM table_2897457_7 WHERE pick__number = 128
Write a SQL query that answers the following question: Name the opponents for anabel medina garrigues
The relevant table was constructed using the following SQL : CREATE TABLE table_28979895_4 (opponents VARCHAR, partner VARCHAR)
SELECT COUNT(opponents) FROM table_28979895_4 WHERE partner = "Anabel Medina Garrigues"
Write a SQL query that answers the following question: Name the parter for w/o
The relevant table was constructed using the following SQL : CREATE TABLE table_28979895_4 (partner VARCHAR, score VARCHAR)
SELECT partner FROM table_28979895_4 WHERE score = "w/o"
Write a SQL query that answers the following question: Which of the networks originate in Xalapa?
The relevant table was constructed using the following SQL : CREATE TABLE table_2899987_2 (network VARCHAR, origin VARCHAR)
SELECT network FROM table_2899987_2 WHERE origin = "Xalapa"
Write a SQL query that answers the following question: What are all the programs on the Soy Guerrero network?
The relevant table was constructed using the following SQL : CREATE TABLE table_2899987_2 (programming VARCHAR, network VARCHAR)
SELECT programming FROM table_2899987_2 WHERE network = "Soy Guerrero"
Write a SQL query that answers the following question: Which owners originate in Mexico City?
The relevant table was constructed using the following SQL : CREATE TABLE table_2899987_2 (owner VARCHAR, origin VARCHAR)
SELECT owner FROM table_2899987_2 WHERE origin = "Mexico City"
Write a SQL query that answers the following question: Which network serves the Guerrero region
The relevant table was constructed using the following SQL : CREATE TABLE table_2899987_2 (network VARCHAR, region VARCHAR)
SELECT network FROM table_2899987_2 WHERE region = "Guerrero"
Write a SQL query that answers the following question: Which regions are owned by estado de tabasco?
The relevant table was constructed using the following SQL : CREATE TABLE table_2899987_2 (region VARCHAR, owner VARCHAR)
SELECT region FROM table_2899987_2 WHERE owner = "Estado de Tabasco"
Write a SQL query that answers the following question: What subdivision names (RU) have a code of by-hr?
The relevant table was constructed using the following SQL : CREATE TABLE table_290017_1 (subdivision_name___ru____bgn_pcgn_ VARCHAR, code VARCHAR)
SELECT subdivision_name___ru____bgn_pcgn_ FROM table_290017_1 WHERE code = "BY-HR"
Write a SQL query that answers the following question: What cods have a subdivision name (RU) of Grodnenskaya Oblast'?
The relevant table was constructed using the following SQL : CREATE TABLE table_290017_1 (code VARCHAR, subdivision_name___ru____bgn_pcgn_ VARCHAR)
SELECT code FROM table_290017_1 WHERE subdivision_name___ru____bgn_pcgn_ = "Grodnenskaya oblast'"
Write a SQL query that answers the following question: What are the subdivision names (RU) where the subdivision name (BE) is Hrodzenskaya Voblasts'?
The relevant table was constructed using the following SQL : CREATE TABLE table_290017_1 (subdivision_name___ru____gost_ VARCHAR, subdivision_name___be____bgn_pcgn_ VARCHAR)
SELECT subdivision_name___ru____gost_ FROM table_290017_1 WHERE subdivision_name___be____bgn_pcgn_ = "Hrodzenskaya voblasts'"
Write a SQL query that answers the following question: What is the subdivision name (BE) where subdivision name (RU) (BGN) is Grodnenskaya Oblast'?
The relevant table was constructed using the following SQL : CREATE TABLE table_290017_1 (subdivision_name___be____bgn_pcgn_ VARCHAR, subdivision_name___ru____bgn_pcgn_ VARCHAR)
SELECT subdivision_name___be____bgn_pcgn_ FROM table_290017_1 WHERE subdivision_name___ru____bgn_pcgn_ = "Grodnenskaya oblast'"
Write a SQL query that answers the following question: Which codes have subdivision names (BE) (BGN) of Homyel'skaya Voblasts'?
The relevant table was constructed using the following SQL : CREATE TABLE table_290017_1 (code VARCHAR, subdivision_name___be____bgn_pcgn_ VARCHAR)
SELECT code FROM table_290017_1 WHERE subdivision_name___be____bgn_pcgn_ = "Homyel'skaya voblasts'"
Write a SQL query that answers the following question: Name the into service for dh1
The relevant table was constructed using the following SQL : CREATE TABLE table_29002641_1 (into_service VARCHAR, number VARCHAR)
SELECT into_service FROM table_29002641_1 WHERE number = "DH1"
Write a SQL query that answers the following question: Name the into service for dh2
The relevant table was constructed using the following SQL : CREATE TABLE table_29002641_1 (into_service VARCHAR, number VARCHAR)
SELECT into_service FROM table_29002641_1 WHERE number = "DH2"
Write a SQL query that answers the following question: Name the most serial number for feb 1994
The relevant table was constructed using the following SQL : CREATE TABLE table_29002641_1 (Serial INTEGER, scrapped VARCHAR)
SELECT MAX(Serial) AS number FROM table_29002641_1 WHERE scrapped = "Feb 1994"
Write a SQL query that answers the following question: Name the number for 2004 scapped
The relevant table was constructed using the following SQL : CREATE TABLE table_29002641_1 (number VARCHAR, scrapped VARCHAR)
SELECT number FROM table_29002641_1 WHERE scrapped = "2004"
Write a SQL query that answers the following question: How many month names are there for the tenth numbered month?
The relevant table was constructed using the following SQL : CREATE TABLE table_28985631_1 (month_name VARCHAR, numbered_month VARCHAR)
SELECT COUNT(month_name) FROM table_28985631_1 WHERE numbered_month = "Tenth"
Write a SQL query that answers the following question: What is the defective year for the eighth numbered month?
The relevant table was constructed using the following SQL : CREATE TABLE table_28985631_1 (defective_year VARCHAR, numbered_month VARCHAR)
SELECT defective_year FROM table_28985631_1 WHERE numbered_month = "Eighth"
Write a SQL query that answers the following question: What is the month sequence for the month name of av?
The relevant table was constructed using the following SQL : CREATE TABLE table_28985631_1 (month_sequence INTEGER, month_name VARCHAR)
SELECT MIN(month_sequence) FROM table_28985631_1 WHERE month_name = "Av"
Write a SQL query that answers the following question: What is the defective year for the regular year of 29 days and month sequence of 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_28985631_1 (defective_year INTEGER, regular_year VARCHAR, month_sequence VARCHAR)
SELECT MAX(defective_year) FROM table_28985631_1 WHERE regular_year = "29 days" AND month_sequence = 2
Write a SQL query that answers the following question: When 4.5 is the rating (18-49) what is the air date?
The relevant table was constructed using the following SQL : CREATE TABLE table_28980706_4 (first_air_date VARCHAR, rating__18_49_ VARCHAR)
SELECT first_air_date FROM table_28980706_4 WHERE rating__18_49_ = "4.5"
Write a SQL query that answers the following question: When 13 is the share (18-49) what is the rank (timeslot)?
The relevant table was constructed using the following SQL : CREATE TABLE table_28980706_4 (rank__timeslot_ VARCHAR, share__18_49_ VARCHAR)
SELECT rank__timeslot_ FROM table_28980706_4 WHERE share__18_49_ = 13
Write a SQL query that answers the following question: When 11 is the episode what is the air date?
The relevant table was constructed using the following SQL : CREATE TABLE table_28980706_4 (first_air_date VARCHAR, episode VARCHAR)
SELECT first_air_date FROM table_28980706_4 WHERE episode = 11
Write a SQL query that answers the following question: When there are 10.02 million viewers what is the rating (18-49)?
The relevant table was constructed using the following SQL : CREATE TABLE table_28980706_4 (rating__18_49_ VARCHAR, viewers__millions_ VARCHAR)
SELECT rating__18_49_ FROM table_28980706_4 WHERE viewers__millions_ = "10.02"
Write a SQL query that answers the following question: When there are 9.28 million viewers what is the share (18-49)?
The relevant table was constructed using the following SQL : CREATE TABLE table_28980706_4 (share__18_49_ VARCHAR, viewers__millions_ VARCHAR)
SELECT share__18_49_ FROM table_28980706_4 WHERE viewers__millions_ = "9.28"
Write a SQL query that answers the following question: When 4 is the episode what is the air date?
The relevant table was constructed using the following SQL : CREATE TABLE table_28980706_4 (first_air_date VARCHAR, episode VARCHAR)
SELECT first_air_date FROM table_28980706_4 WHERE episode = 4
Write a SQL query that answers the following question: How many different results were there for the scores 6–7 (2–7) , 6–2, 7–6 (7–3)?
The relevant table was constructed using the following SQL : CREATE TABLE table_29026564_9 (result VARCHAR, score VARCHAR)
SELECT COUNT(result) FROM table_29026564_9 WHERE score = "6–7 (2–7) , 6–2, 7–6 (7–3)"
Write a SQL query that answers the following question: Who was the writer for episode 3?
The relevant table was constructed using the following SQL : CREATE TABLE table_29039942_1 (writer VARCHAR, episode VARCHAR)
SELECT writer FROM table_29039942_1 WHERE episode = 3
Write a SQL query that answers the following question: What was the original airdate for the episode written by daisuke habara and directed by akimitsu sasaki
The relevant table was constructed using the following SQL : CREATE TABLE table_29039942_1 (original_airdate VARCHAR, writer VARCHAR, director VARCHAR)
SELECT original_airdate FROM table_29039942_1 WHERE writer = "Daisuke Habara" AND director = "Akimitsu Sasaki"
Write a SQL query that answers the following question: What episode did tomoyuki furumaya
The relevant table was constructed using the following SQL : CREATE TABLE table_29039942_1 (title VARCHAR, director VARCHAR)
SELECT title FROM table_29039942_1 WHERE director = "Tomoyuki Furumaya"
Write a SQL query that answers the following question: What is the earliest round where collingswood lost by 36 points?
The relevant table was constructed using the following SQL : CREATE TABLE table_29033869_3 (round INTEGER, result__includes_margin_ VARCHAR)
SELECT MIN(round) FROM table_29033869_3 WHERE result__includes_margin_ = "Lost by 36 points"
Write a SQL query that answers the following question: What was the score on saturday, 26 june 7:10pm?
The relevant table was constructed using the following SQL : CREATE TABLE table_29033869_3 (score__collingwoods_score_is_in_bold_ VARCHAR, date VARCHAR)
SELECT score__collingwoods_score_is_in_bold_ FROM table_29033869_3 WHERE date = "Saturday, 26 June 7:10pm"
Write a SQL query that answers the following question: What is the round number of the round against melbourne on saturday, 4 april 2:10pm?
The relevant table was constructed using the following SQL : CREATE TABLE table_29033869_3 (round INTEGER, opponent VARCHAR, date VARCHAR)
SELECT MIN(round) FROM table_29033869_3 WHERE opponent = "Melbourne" AND date = "Saturday, 4 April 2:10pm"
Write a SQL query that answers the following question: Which venue did collingsworth play essendon in when they had the 3rd position on the ladder?
The relevant table was constructed using the following SQL : CREATE TABLE table_29033869_3 (venue VARCHAR, opponent VARCHAR, position_on_ladder VARCHAR)
SELECT venue FROM table_29033869_3 WHERE opponent = "Essendon" AND position_on_ladder = "3rd"
Write a SQL query that answers the following question: Was the round where they were in 6th at home or away?
The relevant table was constructed using the following SQL : CREATE TABLE table_29033869_3 (home_away VARCHAR, position_on_ladder VARCHAR)
SELECT home_away FROM table_29033869_3 WHERE position_on_ladder = "6th"
Write a SQL query that answers the following question: What was the previous school for the forward with a height of ft5in (m)?
The relevant table was constructed using the following SQL : CREATE TABLE table_29050051_3 (previous_school VARCHAR, height VARCHAR, position VARCHAR)
SELECT previous_school FROM table_29050051_3 WHERE height = "ft5in (m)" AND position = "Forward"
Write a SQL query that answers the following question: What is the lowest listed number for a player?
The relevant table was constructed using the following SQL : CREATE TABLE table_29050051_3 (_number INTEGER)
SELECT MIN(_number) FROM table_29050051_3
Write a SQL query that answers the following question: Who previously attended south kent school / brentwood hs?
The relevant table was constructed using the following SQL : CREATE TABLE table_29050051_3 (name VARCHAR, previous_school VARCHAR)
SELECT name FROM table_29050051_3 WHERE previous_school = "South Kent School / Brentwood HS"
Write a SQL query that answers the following question: What is the highest number a guard from brophy college prep wore?
The relevant table was constructed using the following SQL : CREATE TABLE table_29050051_3 (_number INTEGER, position VARCHAR, previous_school VARCHAR)
SELECT MAX(_number) FROM table_29050051_3 WHERE position = "Guard" AND previous_school = "Brophy College Prep"
Write a SQL query that answers the following question: How many directed by entries have UK viewership over 6.16 million?
The relevant table was constructed using the following SQL : CREATE TABLE table_29063233_1 (directed_by VARCHAR, uk_viewers__million_ VARCHAR)
SELECT COUNT(directed_by) FROM table_29063233_1 WHERE uk_viewers__million_ = "6.16"
Write a SQL query that answers the following question: Who directed the episode with a UK viewership of exactly 5.77 million?
The relevant table was constructed using the following SQL : CREATE TABLE table_29063233_1 (directed_by VARCHAR, uk_viewers__million_ VARCHAR)
SELECT directed_by FROM table_29063233_1 WHERE uk_viewers__million_ = "5.77"
Write a SQL query that answers the following question: What was the airdate of the episode with a UK viewership of 6.02 million?
The relevant table was constructed using the following SQL : CREATE TABLE table_29063233_1 (original_air_date VARCHAR, uk_viewers__million_ VARCHAR)
SELECT original_air_date FROM table_29063233_1 WHERE uk_viewers__million_ = "6.02"
Write a SQL query that answers the following question: Who directed the episode with UK viewership of 6.09 million?
The relevant table was constructed using the following SQL : CREATE TABLE table_29063233_1 (directed_by VARCHAR, uk_viewers__million_ VARCHAR)
SELECT directed_by FROM table_29063233_1 WHERE uk_viewers__million_ = "6.09"
Write a SQL query that answers the following question: Name the general classification for mauricio soler
The relevant table was constructed using the following SQL : CREATE TABLE table_29077342_19 (general_classification VARCHAR, winner VARCHAR)
SELECT general_classification FROM table_29077342_19 WHERE winner = "Mauricio Soler"
Write a SQL query that answers the following question: Name the general classification for steven kruijswijk
The relevant table was constructed using the following SQL : CREATE TABLE table_29077342_19 (general_classification VARCHAR, winner VARCHAR)
SELECT general_classification FROM table_29077342_19 WHERE winner = "Steven Kruijswijk"
Write a SQL query that answers the following question: Name the points classification for levi leipheimer
The relevant table was constructed using the following SQL : CREATE TABLE table_29077342_19 (points_classification VARCHAR, general_classification VARCHAR)
SELECT points_classification FROM table_29077342_19 WHERE general_classification = "Levi Leipheimer"
Write a SQL query that answers the following question: Name the mountains classification for rabobank and damiano cunego
The relevant table was constructed using the following SQL : CREATE TABLE table_29077342_19 (mountains_classification VARCHAR, team_classification VARCHAR, general_classification VARCHAR)
SELECT mountains_classification FROM table_29077342_19 WHERE team_classification = "Rabobank" AND general_classification = "Damiano Cunego"
Write a SQL query that answers the following question: Name the team classification for thomas de gendt
The relevant table was constructed using the following SQL : CREATE TABLE table_29077342_19 (team_classification VARCHAR, winner VARCHAR)
SELECT team_classification FROM table_29077342_19 WHERE winner = "Thomas De Gendt"
Write a SQL query that answers the following question: What is listed in built for when the original number is 24d?
The relevant table was constructed using the following SQL : CREATE TABLE table_29071587_1 (built_for VARCHAR, original_no VARCHAR)
SELECT built_for FROM table_29071587_1 WHERE original_no = "24D"
Write a SQL query that answers the following question: What is the season # when ther are 5.3 million U.S viewers?
The relevant table was constructed using the following SQL : CREATE TABLE table_29102612_1 (season__number INTEGER, us_viewers__millions_ VARCHAR)
SELECT MAX(season__number) FROM table_29102612_1 WHERE us_viewers__millions_ = "5.3"
Write a SQL query that answers the following question: What are the titles of episodes written by Eric Trueheart?
The relevant table was constructed using the following SQL : CREATE TABLE table_29087004_3 (title VARCHAR, written_by VARCHAR)
SELECT title FROM table_29087004_3 WHERE written_by = "Eric Trueheart"
Write a SQL query that answers the following question: Who were the writers of episode/s first aired in the US on June 9, 2012?
The relevant table was constructed using the following SQL : CREATE TABLE table_29087004_3 (written_by VARCHAR, united_states_original_airdate VARCHAR)
SELECT written_by FROM table_29087004_3 WHERE united_states_original_airdate = "June 9, 2012"
Write a SQL query that answers the following question: Who were the writers of the episodes directed by Greg Sullivan and which first aired on July 21, 2012?
The relevant table was constructed using the following SQL : CREATE TABLE table_29087004_3 (written_by VARCHAR, directed_by VARCHAR, united_states_original_airdate VARCHAR)
SELECT written_by FROM table_29087004_3 WHERE directed_by = "Greg Sullivan" AND united_states_original_airdate = "July 21, 2012"
Write a SQL query that answers the following question: Which episode/s were written by Evan Gore?
The relevant table was constructed using the following SQL : CREATE TABLE table_29087004_3 (series__number VARCHAR, written_by VARCHAR)
SELECT series__number FROM table_29087004_3 WHERE written_by = "Evan Gore"
Write a SQL query that answers the following question: Which team was the away team when home team was essendon?
The relevant table was constructed using the following SQL : CREATE TABLE table_29090919_1 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_29090919_1 WHERE home_team = "Essendon"
Write a SQL query that answers the following question: How many scores were there for the home team when the away team was fitzroy?
The relevant table was constructed using the following SQL : CREATE TABLE table_29090919_1 (home_team VARCHAR, away_team VARCHAR)
SELECT COUNT(home_team) AS score FROM table_29090919_1 WHERE away_team = "Fitzroy"
Write a SQL query that answers the following question: Which team was the away team when the home team was north melbourne?
The relevant table was constructed using the following SQL : CREATE TABLE table_29090919_1 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_29090919_1 WHERE home_team = "North Melbourne"
Write a SQL query that answers the following question: What is the date of the game when the home team is melbourne?
The relevant table was constructed using the following SQL : CREATE TABLE table_29090919_1 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_29090919_1 WHERE home_team = "Melbourne"
Write a SQL query that answers the following question: Name the singer for 1.45m
The relevant table was constructed using the following SQL : CREATE TABLE table_29135051_2 (singer_s_ VARCHAR, ratings VARCHAR)
SELECT singer_s_ FROM table_29135051_2 WHERE ratings = "1.45m"
Write a SQL query that answers the following question: Name the singer for joe wilkinson
The relevant table was constructed using the following SQL : CREATE TABLE table_29135051_2 (singer_s_ VARCHAR, comedian VARCHAR)
SELECT singer_s_ FROM table_29135051_2 WHERE comedian = "Joe Wilkinson"
Write a SQL query that answers the following question: Name the singer for bruce forsyth
The relevant table was constructed using the following SQL : CREATE TABLE table_29135051_2 (singer_s_ VARCHAR, guest_s_ VARCHAR)
SELECT singer_s_ FROM table_29135051_2 WHERE guest_s_ = "Bruce Forsyth"
Write a SQL query that answers the following question: Name the number of ratings for bruce forsyth
The relevant table was constructed using the following SQL : CREATE TABLE table_29135051_2 (ratings VARCHAR, guest_s_ VARCHAR)
SELECT COUNT(ratings) FROM table_29135051_2 WHERE guest_s_ = "Bruce Forsyth"
Write a SQL query that answers the following question: Name the guest for 1.64m ratings
The relevant table was constructed using the following SQL : CREATE TABLE table_29135051_2 (guest_s_ VARCHAR, ratings VARCHAR)
SELECT guest_s_ FROM table_29135051_2 WHERE ratings = "1.64m"
Write a SQL query that answers the following question: What was the constructor in the Belgian Grand Prix round?
The relevant table was constructed using the following SQL : CREATE TABLE table_2911781_3 (constructor VARCHAR, grand_prix VARCHAR)
SELECT constructor FROM table_2911781_3 WHERE grand_prix = "Belgian grand_prix"
Write a SQL query that answers the following question: Who had the fastest lap in round 15?
The relevant table was constructed using the following SQL : CREATE TABLE table_2911781_3 (fastest_lap VARCHAR, rd VARCHAR)
SELECT fastest_lap FROM table_2911781_3 WHERE rd = 15
Write a SQL query that answers the following question: When was the home team Essendon?
The relevant table was constructed using the following SQL : CREATE TABLE table_29126507_1 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_29126507_1 WHERE home_team = "Essendon"
Write a SQL query that answers the following question: When Richmond played as the away team, what was the ground?
The relevant table was constructed using the following SQL : CREATE TABLE table_29126507_1 (ground VARCHAR, away_team VARCHAR)
SELECT ground FROM table_29126507_1 WHERE away_team = "Richmond"
Write a SQL query that answers the following question: When did Fitzroy play as the home team?
The relevant table was constructed using the following SQL : CREATE TABLE table_29126507_1 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_29126507_1 WHERE home_team = "Fitzroy"
Write a SQL query that answers the following question: what was the result on 01x06
The relevant table was constructed using the following SQL : CREATE TABLE table_29141354_1 (scores VARCHAR, episode VARCHAR)
SELECT scores FROM table_29141354_1 WHERE episode = "01x06"
Write a SQL query that answers the following question: what was the size when tom daley appeared
The relevant table was constructed using the following SQL : CREATE TABLE table_29141354_1 (episode VARCHAR, jamie_and_johns_guest VARCHAR)
SELECT episode FROM table_29141354_1 WHERE jamie_and_johns_guest = "Tom Daley"
Write a SQL query that answers the following question: How many scores had an episode of 03x06?
The relevant table was constructed using the following SQL : CREATE TABLE table_29141354_3 (scores VARCHAR, episode VARCHAR)
SELECT COUNT(scores) FROM table_29141354_3 WHERE episode = "03x06"
Write a SQL query that answers the following question: When id the episode broadcast with Mark Webber as Jamie and John's guest?
The relevant table was constructed using the following SQL : CREATE TABLE table_29141354_4 (first_broadcast VARCHAR, jamie_and_johns_guest VARCHAR)
SELECT first_broadcast FROM table_29141354_4 WHERE jamie_and_johns_guest = "Mark Webber"
Write a SQL query that answers the following question: What date did the episode with Andy Murray as Jamie and John's guest first broadcast?
The relevant table was constructed using the following SQL : CREATE TABLE table_29141354_4 (first_broadcast VARCHAR, jamie_and_johns_guest VARCHAR)
SELECT first_broadcast FROM table_29141354_4 WHERE jamie_and_johns_guest = "Andy Murray"
Write a SQL query that answers the following question: How many items are listed under 'andrew and georgies guest lee mack replaced andrew flint as team captain for one week' for episode 04x04?
The relevant table was constructed using the following SQL : CREATE TABLE table_29141354_4 (_episode_2 VARCHAR, andrew_and_georgies_guest_lee_mack_replaced_andrew_flintoff_as_team_captain_for_one_week_in_series_4 VARCHAR, episode VARCHAR)
SELECT COUNT(andrew_and_georgies_guest_lee_mack_replaced_andrew_flintoff_as_team_captain_for_one_week_in_series_4), _episode_2 FROM table_29141354_4 WHERE episode = "04x04"
Write a SQL query that answers the following question: who guest starred on the episode with a 1.44m rating
The relevant table was constructed using the following SQL : CREATE TABLE table_29135051_3 (guest_s_ VARCHAR, ratings VARCHAR)
SELECT guest_s_ FROM table_29135051_3 WHERE ratings = "1.44m"
Write a SQL query that answers the following question: when was the episode on which barbara windsor and heston blumenthal guest starred broadcasted
The relevant table was constructed using the following SQL : CREATE TABLE table_29135051_3 (broadcast_date VARCHAR, guest_s_ VARCHAR)
SELECT broadcast_date FROM table_29135051_3 WHERE guest_s_ = "Barbara Windsor and Heston Blumenthal"
Write a SQL query that answers the following question: how many broadcaste dates features the overtones
The relevant table was constructed using the following SQL : CREATE TABLE table_29135051_3 (broadcast_date VARCHAR, singer_s_ VARCHAR)
SELECT COUNT(broadcast_date) FROM table_29135051_3 WHERE singer_s_ = "The Overtones"
Write a SQL query that answers the following question: how many guest stars did the episode that was broadcasted 11september2012 have
The relevant table was constructed using the following SQL : CREATE TABLE table_29135051_3 (guest_s_ VARCHAR, broadcast_date VARCHAR)
SELECT COUNT(guest_s_) FROM table_29135051_3 WHERE broadcast_date = "11September2012"