instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: when was the episode guest starring michael mcintyre and alex james 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_ = "Michael McIntyre and Alex James"
Write a SQL query that answers the following question: which episode did sarah millican and grayson perry appear in
The relevant table was constructed using the following SQL : CREATE TABLE table_29135051_3 (episode INTEGER, guest_s_ VARCHAR)
SELECT MIN(episode) FROM table_29135051_3 WHERE guest_s_ = "Sarah Millican and Grayson Perry"
Write a SQL query that answers the following question: When were episodes first broadcast with jessica ennis as andrew and jacks guest?
The relevant table was constructed using the following SQL : CREATE TABLE table_29141354_5 (first_broadcast VARCHAR, andrew_and_jacks_guest VARCHAR)
SELECT first_broadcast FROM table_29141354_5 WHERE andrew_and_jacks_guest = "Jessica Ennis"
Write a SQL query that answers the following question: Who directed the episode that is written by Eli Attie and production code is 2t5018?
The relevant table was constructed using the following SQL : CREATE TABLE table_29152820_1 (directed_by VARCHAR, written_by VARCHAR, production_code VARCHAR)
SELECT directed_by FROM table_29152820_1 WHERE written_by = "Eli Attie" AND production_code = "2T5018"
Write a SQL query that answers the following question: How many episodes are 122 in the series?
The relevant table was constructed using the following SQL : CREATE TABLE table_29152820_1 (no_in_season VARCHAR, no_in_series VARCHAR)
SELECT COUNT(no_in_season) FROM table_29152820_1 WHERE no_in_series = 122
Write a SQL query that answers the following question: What was the score for the episode with Matt Smith as Andrew and Jack's guest?
The relevant table was constructed using the following SQL : CREATE TABLE table_29141354_7 (scores VARCHAR, andrew_and_jacks_guest VARCHAR)
SELECT scores FROM table_29141354_7 WHERE andrew_and_jacks_guest = "Matt Smith"
Write a SQL query that answers the following question: When was the episode with Amy Williams as Andrew and Jack's guest broadcast?
The relevant table was constructed using the following SQL : CREATE TABLE table_29141354_7 (first_broadcast VARCHAR, andrew_and_jacks_guest VARCHAR)
SELECT first_broadcast FROM table_29141354_7 WHERE andrew_and_jacks_guest = "Amy Williams"
Write a SQL query that answers the following question: What is the last episode in the season that had 3.91 million viewers in the US?
The relevant table was constructed using the following SQL : CREATE TABLE table_29154676_1 (season_no INTEGER, us_viewers__millions_ VARCHAR)
SELECT MIN(season_no) FROM table_29154676_1 WHERE us_viewers__millions_ = "3.91"
Write a SQL query that answers the following question: How many episodes were written by Warren Leight?
The relevant table was constructed using the following SQL : CREATE TABLE table_29154676_1 (season_no VARCHAR, written_by VARCHAR)
SELECT COUNT(season_no) FROM table_29154676_1 WHERE written_by = "Warren Leight"
Write a SQL query that answers the following question: How many championships were there where the score was 4–6, 7–6 (7–5) , [5–10]?
The relevant table was constructed using the following SQL : CREATE TABLE table_29163303_4 (championship VARCHAR, score VARCHAR)
SELECT COUNT(championship) FROM table_29163303_4 WHERE score = "4–6, 7–6 (7–5) , [5–10]"
Write a SQL query that answers the following question: On what surface was it the year when the score was 6–1, 4–6, [12–10]?
The relevant table was constructed using the following SQL : CREATE TABLE table_29163303_4 (surface VARCHAR, score VARCHAR)
SELECT surface FROM table_29163303_4 WHERE score = "6–1, 4–6, [12–10]"
Write a SQL query that answers the following question: How many times has the score been 6–4, 3–6, [11–13]?
The relevant table was constructed using the following SQL : CREATE TABLE table_29163303_4 (opponent VARCHAR, score VARCHAR)
SELECT COUNT(opponent) FROM table_29163303_4 WHERE score = "6–4, 3–6, [11–13]"
Write a SQL query that answers the following question: Who are the outgoing head coaches whose manner of departure is Gardening Leave 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_29171931_3 (outgoing_head_coach VARCHAR, manner_of_departure VARCHAR)
SELECT outgoing_head_coach FROM table_29171931_3 WHERE manner_of_departure = "Gardening leave 1"
Write a SQL query that answers the following question: Who was the incoming head coach after Wan Jamak Wan Hassan quit the coaching job?
The relevant table was constructed using the following SQL : CREATE TABLE table_29171931_3 (incoming_head_coach VARCHAR, outgoing_head_coach VARCHAR)
SELECT incoming_head_coach FROM table_29171931_3 WHERE outgoing_head_coach = "Wan Jamak Wan Hassan"
Write a SQL query that answers the following question: Who had the fastest lap in round 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_29162856_1 (fastest_lap VARCHAR, round VARCHAR)
SELECT fastest_lap FROM table_29162856_1 WHERE round = 1
Write a SQL query that answers the following question: Who had the pole position when matt davies had the fastest lap?
The relevant table was constructed using the following SQL : CREATE TABLE table_29162856_1 (pole_position VARCHAR, fastest_lap VARCHAR)
SELECT pole_position FROM table_29162856_1 WHERE fastest_lap = "Matt Davies"
Write a SQL query that answers the following question: Who had the pole position(s) when rob guiver won and kyle ryde had the fastest lap?
The relevant table was constructed using the following SQL : CREATE TABLE table_29162856_1 (pole_position VARCHAR, winning_rider VARCHAR, fastest_lap VARCHAR)
SELECT pole_position FROM table_29162856_1 WHERE winning_rider = "Rob Guiver" AND fastest_lap = "Kyle Ryde"
Write a SQL query that answers the following question: What is the earliest year in which the result is championship US Open (2)?
The relevant table was constructed using the following SQL : CREATE TABLE table_29163303_2 (year INTEGER, championship VARCHAR)
SELECT MIN(year) FROM table_29163303_2 WHERE championship = "US Open (2)"
Write a SQL query that answers the following question: Who was Bob Bryan's partner in the Championship where the result is US Open (2)?
The relevant table was constructed using the following SQL : CREATE TABLE table_29163303_2 (partner VARCHAR, championship VARCHAR)
SELECT partner FROM table_29163303_2 WHERE championship = "US Open (2)"
Write a SQL query that answers the following question: What are the results of those matches where the championship is French Open?
The relevant table was constructed using the following SQL : CREATE TABLE table_29163303_2 (score VARCHAR, championship VARCHAR)
SELECT score FROM table_29163303_2 WHERE championship = "French Open"
Write a SQL query that answers the following question: on how many days did the episode written by harold hayes jr. & craig s. phillips originally air
The relevant table was constructed using the following SQL : CREATE TABLE table_29196086_4 (original_air_date VARCHAR, written_by VARCHAR)
SELECT COUNT(original_air_date) FROM table_29196086_4 WHERE written_by = "Harold Hayes Jr. & Craig S. Phillips"
Write a SQL query that answers the following question: how many episodes originally aired january19,2013
The relevant table was constructed using the following SQL : CREATE TABLE table_29196086_4 (no_in_series VARCHAR, original_air_date VARCHAR)
SELECT COUNT(no_in_series) FROM table_29196086_4 WHERE original_air_date = "January19,2013"
Write a SQL query that answers the following question: which episode of the season aired on october20,2012
The relevant table was constructed using the following SQL : CREATE TABLE table_29196086_4 (no_in_season INTEGER, original_air_date VARCHAR)
SELECT MAX(no_in_season) FROM table_29196086_4 WHERE original_air_date = "October20,2012"
Write a SQL query that answers the following question: Which team was the opponent in game 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_29181479_3 (team VARCHAR, game VARCHAR)
SELECT team FROM table_29181479_3 WHERE game = 5
Write a SQL query that answers the following question: Lis the series for game 5.
The relevant table was constructed using the following SQL : CREATE TABLE table_29181479_5 (series VARCHAR, game VARCHAR)
SELECT series FROM table_29181479_5 WHERE game = 5
Write a SQL query that answers the following question: What was the final in the game that boris diaw (34) scored the most points?
The relevant table was constructed using the following SQL : CREATE TABLE table_29181479_5 (score VARCHAR, high_points VARCHAR)
SELECT score FROM table_29181479_5 WHERE high_points = "Boris Diaw (34)"
Write a SQL query that answers the following question: What is the figure for December 28 for ang tanging ina mo (last na 'to!)?
The relevant table was constructed using the following SQL : CREATE TABLE table_29217650_1 (december_28 VARCHAR, movies VARCHAR)
SELECT december_28 FROM table_29217650_1 WHERE movies = "Ang Tanging Ina Mo (Last na 'To!)"
Write a SQL query that answers the following question: What is the figure for December 27 for ang tanging ina mo (last na 'to!)?
The relevant table was constructed using the following SQL : CREATE TABLE table_29217650_1 (december_27 VARCHAR, movies VARCHAR)
SELECT december_27 FROM table_29217650_1 WHERE movies = "Ang Tanging Ina Mo (Last na 'To!)"
Write a SQL query that answers the following question: How many figures are provided for December 28 for Rosario?
The relevant table was constructed using the following SQL : CREATE TABLE table_29217650_1 (december_28 VARCHAR, movies VARCHAR)
SELECT COUNT(december_28) FROM table_29217650_1 WHERE movies = "Rosario"
Write a SQL query that answers the following question: What film earmed p3.2 million on December 25?
The relevant table was constructed using the following SQL : CREATE TABLE table_29217650_1 (movies VARCHAR, december_25 VARCHAR)
SELECT movies FROM table_29217650_1 WHERE december_25 = "P3.2 million"
Write a SQL query that answers the following question: What was the Friday June 3 practice time of the rider who did 20' 50.45 108.623mph on Thursday, June 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_29218221_3 (fri_3_june VARCHAR, thurs_2_june VARCHAR)
SELECT fri_3_june FROM table_29218221_3 WHERE thurs_2_june = "20' 50.45 108.623mph"
Write a SQL query that answers the following question: What's the Wednesday, June 1 practice time for the rider that did 21' 05.87 107.300mph on Thursday, June 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_29218221_3 (wed_1_june VARCHAR, thurs_2_june VARCHAR)
SELECT wed_1_june FROM table_29218221_3 WHERE thurs_2_june = "21' 05.87 107.300mph"
Write a SQL query that answers the following question: How many people wrote episode 9 in the season that was directed by Ernest Dickerson?
The relevant table was constructed using the following SQL : CREATE TABLE table_29219286_1 (written_by VARCHAR, directed_by VARCHAR, no_in_season VARCHAR)
SELECT COUNT(written_by) FROM table_29219286_1 WHERE directed_by = "Ernest Dickerson" AND no_in_season = 9
Write a SQL query that answers the following question: Who wrote the episode that was directed by Milan Cheylov?
The relevant table was constructed using the following SQL : CREATE TABLE table_29219286_1 (written_by VARCHAR, directed_by VARCHAR)
SELECT written_by FROM table_29219286_1 WHERE directed_by = "Milan Cheylov"
Write a SQL query that answers the following question: Who was the EP winning team when the CP winning team was Dave Clark and the GM winning team was Stuart Northrup?
The relevant table was constructed using the following SQL : CREATE TABLE table_29225103_2 (ep_winning_team VARCHAR, cp_winning_team VARCHAR, gm_winning_team VARCHAR)
SELECT ep_winning_team FROM table_29225103_2 WHERE cp_winning_team = "Dave Clark" AND gm_winning_team = "Stuart Northrup"
Write a SQL query that answers the following question: Who was the CM winning team when the FM winning team was #17 Elva - Ford?
The relevant table was constructed using the following SQL : CREATE TABLE table_29225103_2 (cm_winning_team VARCHAR, fm_winning_team VARCHAR)
SELECT cm_winning_team FROM table_29225103_2 WHERE fm_winning_team = "#17 Elva - Ford"
Write a SQL query that answers the following question: Who the GM winning team when the EP winning team was #37 Porsche?
The relevant table was constructed using the following SQL : CREATE TABLE table_29225103_2 (gm_winning_team VARCHAR, ep_winning_team VARCHAR)
SELECT gm_winning_team FROM table_29225103_2 WHERE ep_winning_team = "#37 Porsche"
Write a SQL query that answers the following question: Who was the EP winning team when the FM winning team was Brabham - Ford and the HM winning team was Osca?
The relevant table was constructed using the following SQL : CREATE TABLE table_29225103_2 (ep_winning_team VARCHAR, fm_winning_team VARCHAR, hm_winning_team VARCHAR)
SELECT ep_winning_team FROM table_29225103_2 WHERE fm_winning_team = "Brabham - Ford" AND hm_winning_team = "Osca"
Write a SQL query that answers the following question: Who was the HP winning team when the EP winning team was Hans Zereis and the GM winning team was Charles Gibson?
The relevant table was constructed using the following SQL : CREATE TABLE table_29225103_2 (hp_winning_team VARCHAR, ep_winning_team VARCHAR, gm_winning_team VARCHAR)
SELECT hp_winning_team FROM table_29225103_2 WHERE ep_winning_team = "Hans Zereis" AND gm_winning_team = "Charles Gibson"
Write a SQL query that answers the following question: what was the name of the team opponent to elfsborg
The relevant table was constructed using the following SQL : CREATE TABLE table_29261823_10 (team VARCHAR, opponent VARCHAR)
SELECT team FROM table_29261823_10 WHERE opponent = "Elfsborg"
Write a SQL query that answers the following question: what is the name of the team which aggregate score is l 1–2
The relevant table was constructed using the following SQL : CREATE TABLE table_29261823_10 (team VARCHAR, aggregate_score VARCHAR)
SELECT team FROM table_29261823_10 WHERE aggregate_score = "L 1–2"
Write a SQL query that answers the following question: what is the aggregate score for the europa league play off round contest and round
The relevant table was constructed using the following SQL : CREATE TABLE table_29261823_10 (aggregate_score VARCHAR, contest_and_round VARCHAR)
SELECT aggregate_score FROM table_29261823_10 WHERE contest_and_round = "Europa League Play Off Round"
Write a SQL query that answers the following question: How many dollars is listed under Sydney when the distance is 10km?
The relevant table was constructed using the following SQL : CREATE TABLE table_2923917_4 (sydney VARCHAR, distance VARCHAR)
SELECT sydney FROM table_2923917_4 WHERE distance = "10km"
Write a SQL query that answers the following question: How many distance places have brisbane at $3.80?
The relevant table was constructed using the following SQL : CREATE TABLE table_2923917_4 (distance VARCHAR, brisbane VARCHAR)
SELECT COUNT(distance) FROM table_2923917_4 WHERE brisbane = "$3.80"
Write a SQL query that answers the following question: How many listings under Melbourne has a distance at 15km?
The relevant table was constructed using the following SQL : CREATE TABLE table_2923917_4 (melbourne VARCHAR, distance VARCHAR)
SELECT COUNT(melbourne) FROM table_2923917_4 WHERE distance = "15km"
Write a SQL query that answers the following question: What is the distance when brisbane is $4.80?
The relevant table was constructed using the following SQL : CREATE TABLE table_2923917_4 (distance VARCHAR, brisbane VARCHAR)
SELECT distance FROM table_2923917_4 WHERE brisbane = "$4.80"
Write a SQL query that answers the following question: What is the distance when brisbane is $5.20?
The relevant table was constructed using the following SQL : CREATE TABLE table_2923917_4 (distance VARCHAR, brisbane VARCHAR)
SELECT distance FROM table_2923917_4 WHERE brisbane = "$5.20"
Write a SQL query that answers the following question: How many scores did Helen Sildna give when Iiris Vesik gave a 3?
The relevant table was constructed using the following SQL : CREATE TABLE table_29261215_4 (helen_sildna VARCHAR, iiris_vesik VARCHAR)
SELECT COUNT(helen_sildna) FROM table_29261215_4 WHERE iiris_vesik = 3
Write a SQL query that answers the following question: What is the maximum points received when Peeter Vähl gave a 9?
The relevant table was constructed using the following SQL : CREATE TABLE table_29261215_4 (points INTEGER, peeter_vähi VARCHAR)
SELECT MIN(points) FROM table_29261215_4 WHERE peeter_vähi = 9
Write a SQL query that answers the following question: Who is the manager for the fc inter club?
The relevant table was constructed using the following SQL : CREATE TABLE table_29250534_1 (manager VARCHAR, club VARCHAR)
SELECT manager FROM table_29250534_1 WHERE club = "FC Inter"
Write a SQL query that answers the following question: Which club is at the location of kuopio?
The relevant table was constructed using the following SQL : CREATE TABLE table_29250534_1 (club VARCHAR, location VARCHAR)
SELECT club FROM table_29250534_1 WHERE location = "Kuopio"
Write a SQL query that answers the following question: How many stadiums have haka as the club?
The relevant table was constructed using the following SQL : CREATE TABLE table_29250534_1 (stadium VARCHAR, club VARCHAR)
SELECT COUNT(stadium) FROM table_29250534_1 WHERE club = "Haka"
Write a SQL query that answers the following question: Who is the artist 2 on the setlist where the artist 1 is Sparfunk & D-Code?
The relevant table was constructed using the following SQL : CREATE TABLE table_29264319_1 (artist_2 VARCHAR, artist_1 VARCHAR)
SELECT artist_2 FROM table_29264319_1 WHERE artist_1 = "Sparfunk & D-Code"
Write a SQL query that answers the following question: Who is the mix artist for the closing party setlist where artist 1 is Dillinja and Skibadee?
The relevant table was constructed using the following SQL : CREATE TABLE table_29264319_1 (mix_artist VARCHAR, setlist VARCHAR, artist_1 VARCHAR)
SELECT mix_artist FROM table_29264319_1 WHERE setlist = "Closing Party" AND artist_1 = "Dillinja and Skibadee"
Write a SQL query that answers the following question: On how many different dates was the episode written by Charlie Day aired for the first time?
The relevant table was constructed using the following SQL : CREATE TABLE table_29273115_1 (original_air_date VARCHAR, written_by VARCHAR)
SELECT COUNT(original_air_date) FROM table_29273115_1 WHERE written_by = "Charlie Day"
Write a SQL query that answers the following question: Who are the writers of the episode with production code IP02009?
The relevant table was constructed using the following SQL : CREATE TABLE table_29273115_1 (written_by VARCHAR, production_code VARCHAR)
SELECT written_by FROM table_29273115_1 WHERE production_code = "IP02009"
Write a SQL query that answers the following question: How many different titles does the episode with production code IP02003 have?
The relevant table was constructed using the following SQL : CREATE TABLE table_29273115_1 (title VARCHAR, production_code VARCHAR)
SELECT COUNT(title) FROM table_29273115_1 WHERE production_code = "IP02003"
Write a SQL query that answers the following question: Who wrote the episode with a production code of ip03007?
The relevant table was constructed using the following SQL : CREATE TABLE table_29273182_1 (written_by VARCHAR, production_code VARCHAR)
SELECT written_by FROM table_29273182_1 WHERE production_code = "IP03007"
Write a SQL query that answers the following question: What is the name of episode number 29 in the series?
The relevant table was constructed using the following SQL : CREATE TABLE table_29273182_1 (title VARCHAR, no_in_series VARCHAR)
SELECT title FROM table_29273182_1 WHERE no_in_series = 29
Write a SQL query that answers the following question: Who wrote the episode with ip03012 as the production code?
The relevant table was constructed using the following SQL : CREATE TABLE table_29273182_1 (written_by VARCHAR, production_code VARCHAR)
SELECT written_by FROM table_29273182_1 WHERE production_code = "IP03012"
Write a SQL query that answers the following question: Who directed the episode with production code ip03010?
The relevant table was constructed using the following SQL : CREATE TABLE table_29273182_1 (directed_by VARCHAR, production_code VARCHAR)
SELECT directed_by FROM table_29273182_1 WHERE production_code = "IP03010"
Write a SQL query that answers the following question: What is the least amount in each season?
The relevant table was constructed using the following SQL : CREATE TABLE table_29273390_1 (no_in_season INTEGER)
SELECT MIN(no_in_season) FROM table_29273390_1
Write a SQL query that answers the following question: Who directed an episode with 1.19 million?
The relevant table was constructed using the following SQL : CREATE TABLE table_29273390_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR)
SELECT directed_by FROM table_29273390_1 WHERE us_viewers__million_ = "1.19"
Write a SQL query that answers the following question: At what location was the March 17 race held?
The relevant table was constructed using the following SQL : CREATE TABLE table_29285076_2 (location VARCHAR, date VARCHAR)
SELECT location FROM table_29285076_2 WHERE date = "March 17"
Write a SQL query that answers the following question: What location did Zach Veach have the fastest lap?
The relevant table was constructed using the following SQL : CREATE TABLE table_29285076_2 (location VARCHAR, fastest_lap VARCHAR)
SELECT location FROM table_29285076_2 WHERE fastest_lap = "Zach Veach"
Write a SQL query that answers the following question: Where was the race with Luke Ellery as fastest lap and Wayne Boyd as winning driver?
The relevant table was constructed using the following SQL : CREATE TABLE table_29285076_2 (location VARCHAR, fastest_lap VARCHAR, winning_driver VARCHAR)
SELECT location FROM table_29285076_2 WHERE fastest_lap = "Luke Ellery" AND winning_driver = "Wayne Boyd"
Write a SQL query that answers the following question: When 318676 is the population of 2010 and 1st class is the income classification what is the area in kilometers squared?
The relevant table was constructed using the following SQL : CREATE TABLE table_29289372_1 (area__km²_ VARCHAR, income_classification VARCHAR, population__2010_ VARCHAR)
SELECT area__km²_ FROM table_29289372_1 WHERE income_classification = "1st Class" AND population__2010_ = 318676
Write a SQL query that answers the following question: When itogon, benguet is the city/municipality and 1st class is the income classification how many measurements of population in 2010?
The relevant table was constructed using the following SQL : CREATE TABLE table_29289372_1 (population__2010_ VARCHAR, income_classification VARCHAR, city_municipality VARCHAR)
SELECT COUNT(population__2010_) FROM table_29289372_1 WHERE income_classification = "1st Class" AND city_municipality = "Itogon, Benguet"
Write a SQL query that answers the following question: When 82.74 is the area in kilometers squared what is the pop.density (per km2)?
The relevant table was constructed using the following SQL : CREATE TABLE table_29289372_1 (pop_density__per_km²_ VARCHAR, area__km²_ VARCHAR)
SELECT pop_density__per_km²_ FROM table_29289372_1 WHERE area__km²_ = "82.74"
Write a SQL query that answers the following question: When 106 is the area in kilometers squared what is the city/municipality?
The relevant table was constructed using the following SQL : CREATE TABLE table_29289372_1 (city_municipality VARCHAR, area__km²_ VARCHAR)
SELECT city_municipality FROM table_29289372_1 WHERE area__km²_ = "106"
Write a SQL query that answers the following question: How many episodes have the production code ip04004?
The relevant table was constructed using the following SQL : CREATE TABLE table_29273243_1 (title VARCHAR, production_code VARCHAR)
SELECT COUNT(title) FROM table_29273243_1 WHERE production_code = "IP04004"
Write a SQL query that answers the following question: Who wrote episode number 11?
The relevant table was constructed using the following SQL : CREATE TABLE table_29273243_1 (written_by VARCHAR, no_in_season VARCHAR)
SELECT written_by FROM table_29273243_1 WHERE no_in_season = 11
Write a SQL query that answers the following question: Who was the challenger when guillaume brahimi was the iron chef?
The relevant table was constructed using the following SQL : CREATE TABLE table_29281529_2 (challenger VARCHAR, iron_chef VARCHAR)
SELECT challenger FROM table_29281529_2 WHERE iron_chef = "Guillaume Brahimi"
Write a SQL query that answers the following question: Who was the iron chef when herb Faust was the challenger?
The relevant table was constructed using the following SQL : CREATE TABLE table_29281529_2 (iron_chef VARCHAR, challenger VARCHAR)
SELECT iron_chef FROM table_29281529_2 WHERE challenger = "Herb Faust"
Write a SQL query that answers the following question: What date did the episode air when guy grossi won?
The relevant table was constructed using the following SQL : CREATE TABLE table_29281529_2 (airdate VARCHAR, winner VARCHAR)
SELECT airdate FROM table_29281529_2 WHERE winner = "Guy Grossi"
Write a SQL query that answers the following question: Who played Lily Cahill in the Australian 2012 production?
The relevant table was constructed using the following SQL : CREATE TABLE table_29289213_1 (australian_cast VARCHAR, _2012 VARCHAR, character VARCHAR)
SELECT australian_cast, _2012 FROM table_29289213_1 WHERE character = "Lily Cahill"
Write a SQL query that answers the following question: which tournament was the champion nick saviano florin segărceanu 6–3, 6–4?
The relevant table was constructed using the following SQL : CREATE TABLE table_29296103_10 (tournament VARCHAR, champion VARCHAR)
SELECT tournament FROM table_29296103_10 WHERE champion = "Nick Saviano Florin Segărceanu 6–3, 6–4"
Write a SQL query that answers the following question: Which tournament was runner-up paul annacone eric korita?
The relevant table was constructed using the following SQL : CREATE TABLE table_29296103_10 (tournament VARCHAR, runner_up VARCHAR)
SELECT tournament FROM table_29296103_10 WHERE runner_up = "Paul Annacone Eric Korita"
Write a SQL query that answers the following question: Who were the semifinalists when sammy giammalva was runner-up?
The relevant table was constructed using the following SQL : CREATE TABLE table_29296103_10 (semifinalists VARCHAR, runner_up VARCHAR)
SELECT semifinalists FROM table_29296103_10 WHERE runner_up = "Sammy Giammalva"
Write a SQL query that answers the following question: which tournament was the champion pat cash 4–6, 6–4, 6–3?
The relevant table was constructed using the following SQL : CREATE TABLE table_29296103_10 (tournament VARCHAR, champion VARCHAR)
SELECT tournament FROM table_29296103_10 WHERE champion = "Pat Cash 4–6, 6–4, 6–3"
Write a SQL query that answers the following question: Which tournament was on the week of 24 october and champion is matt doyle 1–6, 6–1, 6–2?
The relevant table was constructed using the following SQL : CREATE TABLE table_29296103_10 (tournament VARCHAR, week_of VARCHAR, champion VARCHAR)
SELECT tournament FROM table_29296103_10 WHERE week_of = "24 October" AND champion = "Matt Doyle 1–6, 6–1, 6–2"
Write a SQL query that answers the following question: How many runner ups were there for the cologne , germany carpet – $75,000 – s32/d16 when the champion was matt doyle 1–6, 6–1, 6–2?
The relevant table was constructed using the following SQL : CREATE TABLE table_29296103_10 (runner_up VARCHAR, tournament VARCHAR, champion VARCHAR)
SELECT COUNT(runner_up) FROM table_29296103_10 WHERE tournament = "Cologne , Germany Carpet – $75,000 – S32/D16" AND champion = "Matt Doyle 1–6, 6–1, 6–2"
Write a SQL query that answers the following question: which train number departs pune at 13:00
The relevant table was constructed using the following SQL : CREATE TABLE table_29301050_1 (train_number VARCHAR, departure_pune VARCHAR)
SELECT train_number FROM table_29301050_1 WHERE departure_pune = "13:00"
Write a SQL query that answers the following question: which train number arrives in lonavla at 17:45
The relevant table was constructed using the following SQL : CREATE TABLE table_29301050_1 (train_number VARCHAR, arrival_lonavla VARCHAR)
SELECT train_number FROM table_29301050_1 WHERE arrival_lonavla = "17:45"
Write a SQL query that answers the following question: which train name arrives in lonavla at 17:45
The relevant table was constructed using the following SQL : CREATE TABLE table_29301050_1 (train_name VARCHAR, arrival_lonavla VARCHAR)
SELECT train_name FROM table_29301050_1 WHERE arrival_lonavla = "17:45"
Write a SQL query that answers the following question: how many trains run daily to lonavla and arrive at 12:25
The relevant table was constructed using the following SQL : CREATE TABLE table_29301050_1 (train_number VARCHAR, frequency VARCHAR, arrival_lonavla VARCHAR)
SELECT COUNT(train_number) FROM table_29301050_1 WHERE frequency = "Daily" AND arrival_lonavla = "12:25"
Write a SQL query that answers the following question: how many trains have the number 99808
The relevant table was constructed using the following SQL : CREATE TABLE table_29301050_1 (train_name VARCHAR, train_number VARCHAR)
SELECT COUNT(train_name) FROM table_29301050_1 WHERE train_number = 99808
Write a SQL query that answers the following question: what time does the train that arrives in lonavla at 22:22 depart pune
The relevant table was constructed using the following SQL : CREATE TABLE table_29301050_1 (departure_pune VARCHAR, arrival_lonavla VARCHAR)
SELECT departure_pune FROM table_29301050_1 WHERE arrival_lonavla = "22:22"
Write a SQL query that answers the following question: Who became the champion for the 1984 Grand Prix where Marty Davis was the runner-up?
The relevant table was constructed using the following SQL : CREATE TABLE table_29295463_9 (champion VARCHAR, runner_up VARCHAR)
SELECT champion FROM table_29295463_9 WHERE runner_up = "Marty Davis"
Write a SQL query that answers the following question: Who were the quarter-finalists in the event where the champion was Terry Moor 3-6, 7-6, 6-2?
The relevant table was constructed using the following SQL : CREATE TABLE table_29295463_9 (quarterfinalists VARCHAR, champion VARCHAR)
SELECT quarterfinalists FROM table_29295463_9 WHERE champion = "Terry Moor 3-6, 7-6, 6-2"
Write a SQL query that answers the following question: Who was the champion in the tournament where Scott Davis Chris Dunk was the runner up?
The relevant table was constructed using the following SQL : CREATE TABLE table_29295463_9 (champion VARCHAR, runner_up VARCHAR)
SELECT champion FROM table_29295463_9 WHERE runner_up = "Scott Davis Chris Dunk"
Write a SQL query that answers the following question: Who were the semifinalists in the tournament where Mats Wilander 7-6, 6-3 was declared the champion?
The relevant table was constructed using the following SQL : CREATE TABLE table_29295463_9 (semifinalists VARCHAR, champion VARCHAR)
SELECT semifinalists FROM table_29295463_9 WHERE champion = "Mats Wilander 7-6, 6-3"
Write a SQL query that answers the following question: How many years saw 3 hurricanes wherein the strongest storm was level three?
The relevant table was constructed using the following SQL : CREATE TABLE table_2930244_2 (year VARCHAR, number_of_hurricanes VARCHAR, strongest_storm VARCHAR)
SELECT COUNT(year) FROM table_2930244_2 WHERE number_of_hurricanes = 3 AND strongest_storm = "Three"
Write a SQL query that answers the following question: What is the largest overall number of major hurricanes?
The relevant table was constructed using the following SQL : CREATE TABLE table_2930244_3 (number_of_major_hurricanes INTEGER)
SELECT MAX(number_of_major_hurricanes) FROM table_2930244_3
Write a SQL query that answers the following question: When the death is none what is the number of major hurricanes?
The relevant table was constructed using the following SQL : CREATE TABLE table_2930244_3 (number_of_major_hurricanes VARCHAR, deaths VARCHAR)
SELECT COUNT(number_of_major_hurricanes) FROM table_2930244_3 WHERE deaths = "None"
Write a SQL query that answers the following question: What is the lowest overall number of hurricanes?
The relevant table was constructed using the following SQL : CREATE TABLE table_2930244_3 (number_of_hurricanes INTEGER)
SELECT MIN(number_of_hurricanes) FROM table_2930244_3
Write a SQL query that answers the following question: What country offered a prize of 66400 US dollars?
The relevant table was constructed using the following SQL : CREATE TABLE table_29302711_13 (country VARCHAR, prize_money__usd_ VARCHAR)
SELECT country FROM table_29302711_13 WHERE prize_money__usd_ = 66400
Write a SQL query that answers the following question: What country does the player named Mark Cox play for?
The relevant table was constructed using the following SQL : CREATE TABLE table_29302711_13 (country VARCHAR, name VARCHAR)
SELECT country FROM table_29302711_13 WHERE name = "Mark Cox"
Write a SQL query that answers the following question: How many deaths did the eyar with exactly 6 hurricanes have?
The relevant table was constructed using the following SQL : CREATE TABLE table_2930244_4 (deaths VARCHAR, number_of_hurricanes VARCHAR)
SELECT COUNT(deaths) FROM table_2930244_4 WHERE number_of_hurricanes = 6
Write a SQL query that answers the following question: What is the maximum number of tropical storms in the year that had exactly 34 deaths?
The relevant table was constructed using the following SQL : CREATE TABLE table_2930244_4 (number_of_tropical_storms INTEGER, deaths VARCHAR)
SELECT MAX(number_of_tropical_storms) FROM table_2930244_4 WHERE deaths = "34"