instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: What is the production code of the episode directed by David Solomon?
The relevant table was constructed using the following SQL : CREATE TABLE table_21304155_1 (production_code VARCHAR, directed_by VARCHAR)
SELECT production_code FROM table_21304155_1 WHERE directed_by = "David Solomon"
Write a SQL query that answers the following question: Who wrote the episode with the production code of BN103?
The relevant table was constructed using the following SQL : CREATE TABLE table_21304155_1 (written_by VARCHAR, production_code VARCHAR)
SELECT written_by FROM table_21304155_1 WHERE production_code = "BN103"
Write a SQL query that answers the following question: What was the original air date of the episode that had 4.08 million U.S. viewers?
The relevant table was constructed using the following SQL : CREATE TABLE table_21304155_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR)
SELECT original_air_date FROM table_21304155_1 WHERE us_viewers__millions_ = "4.08"
Write a SQL query that answers the following question: List all the locations where net capacity is 950?
The relevant table was constructed using the following SQL : CREATE TABLE table_213088_1 (location_chernobyl_1_chernobyl_2_chernobyl_3_chernobyl_4_chernobyl_5_ignalina_1_ignalina_2_ignalina_3_kursk_1_kursk_2_kursk_3_kursk_4_kursk_5_kursk_6_leningrad_1_leningrad_2_leningrad_3_leningrad_4_smolensk_1_smolensk_2_smolensk_3_smolensk_4_directorate_for_construction_of_kostoma_npp__for_kostroma_1_and_2__table_31_technology_and_soviet_energy_availability___november_1981___ntis_order__numberpb82_133455__for_ignalina_4_ VARCHAR, net_capacity__mw_ VARCHAR)
SELECT location_chernobyl_1_chernobyl_2_chernobyl_3_chernobyl_4_chernobyl_5_ignalina_1_ignalina_2_ignalina_3_kursk_1_kursk_2_kursk_3_kursk_4_kursk_5_kursk_6_leningrad_1_leningrad_2_leningrad_3_leningrad_4_smolensk_1_smolensk_2_smolensk_3_smolensk_4_directorate_for_construction_of_kostoma_npp__for_kostroma_1_and_2__table_31_technology_and_soviet_energy_availability___november_1981___ntis_order__numberpb82_133455__for_ignalina_4_ FROM table_213088_1 WHERE net_capacity__mw_ = 950
Write a SQL query that answers the following question: List all the locations with a RBMK-1000 reactor.
The relevant table was constructed using the following SQL : CREATE TABLE table_213088_1 (location_chernobyl_1_chernobyl_2_chernobyl_3_chernobyl_4_chernobyl_5_ignalina_1_ignalina_2_ignalina_3_kursk_1_kursk_2_kursk_3_kursk_4_kursk_5_kursk_6_leningrad_1_leningrad_2_leningrad_3_leningrad_4_smolensk_1_smolensk_2_smolensk_3_smolensk_4_directorate_for_construction_of_kostoma_npp__for_kostroma_1_and_2__table_31_technology_and_soviet_energy_availability___november_1981___ntis_order__numberpb82_133455__for_ignalina_4_ VARCHAR, reactor_type VARCHAR)
SELECT location_chernobyl_1_chernobyl_2_chernobyl_3_chernobyl_4_chernobyl_5_ignalina_1_ignalina_2_ignalina_3_kursk_1_kursk_2_kursk_3_kursk_4_kursk_5_kursk_6_leningrad_1_leningrad_2_leningrad_3_leningrad_4_smolensk_1_smolensk_2_smolensk_3_smolensk_4_directorate_for_construction_of_kostoma_npp__for_kostroma_1_and_2__table_31_technology_and_soviet_energy_availability___november_1981___ntis_order__numberpb82_133455__for_ignalina_4_ FROM table_213088_1 WHERE reactor_type = "RBMK-1000"
Write a SQL query that answers the following question: What is the gross capacity where the net capacity is 1380?
The relevant table was constructed using the following SQL : CREATE TABLE table_213088_1 (gross_capacity__mw_ INTEGER, net_capacity__mw_ VARCHAR)
SELECT MIN(gross_capacity__mw_) FROM table_213088_1 WHERE net_capacity__mw_ = 1380
Write a SQL query that answers the following question: when was the premiere when a 3.3 millions of North American watched the episode whose writer was Rob Wright?
The relevant table was constructed using the following SQL : CREATE TABLE table_21313498_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR, written_by VARCHAR)
SELECT original_air_date FROM table_21313498_1 WHERE us_viewers__millions_ = "3.3" AND written_by = "Rob Wright"
Write a SQL query that answers the following question: what is the name of the episode which the production code is 62015-08-162
The relevant table was constructed using the following SQL : CREATE TABLE table_21313498_1 (title VARCHAR, production_code VARCHAR)
SELECT title FROM table_21313498_1 WHERE production_code = "62015-08-162"
Write a SQL query that answers the following question: in the number of episode in season is 11, who was the writer?
The relevant table was constructed using the following SQL : CREATE TABLE table_21313498_1 (written_by VARCHAR, no_in_season VARCHAR)
SELECT written_by FROM table_21313498_1 WHERE no_in_season = 11
Write a SQL query that answers the following question: How many episodes had the us viewers (millions) figure of 5.0?
The relevant table was constructed using the following SQL : CREATE TABLE table_21312959_1 (no_in_season VARCHAR, us_viewers__millions_ VARCHAR)
SELECT COUNT(no_in_season) FROM table_21312959_1 WHERE us_viewers__millions_ = "5.0"
Write a SQL query that answers the following question: Who are the writers for the episode number in series 129?
The relevant table was constructed using the following SQL : CREATE TABLE table_21312959_1 (written_by VARCHAR, no_in_series VARCHAR)
SELECT written_by FROM table_21312959_1 WHERE no_in_series = 129
Write a SQL query that answers the following question: What is the latest episode in the season directed by Chris Long?
The relevant table was constructed using the following SQL : CREATE TABLE table_21312845_1 (no_in_season INTEGER, directed_by VARCHAR)
SELECT MAX(no_in_season) FROM table_21312845_1 WHERE directed_by = "Chris Long"
Write a SQL query that answers the following question: Who wrote the episodes directed by David Straiton?
The relevant table was constructed using the following SQL : CREATE TABLE table_21312845_1 (written_by VARCHAR, directed_by VARCHAR)
SELECT written_by FROM table_21312845_1 WHERE directed_by = "David Straiton"
Write a SQL query that answers the following question: Who directed the episode with a production code greater than 4301103.585233785 that was written by Curtis Kheel?
The relevant table was constructed using the following SQL : CREATE TABLE table_21312845_1 (directed_by VARCHAR, production_code VARCHAR, written_by VARCHAR)
SELECT directed_by FROM table_21312845_1 WHERE production_code > 4301103.585233785 AND written_by = "Curtis Kheel"
Write a SQL query that answers the following question: How many results were there on 19/06/2009?
The relevant table was constructed using the following SQL : CREATE TABLE table_21311525_1 (result VARCHAR, date VARCHAR)
SELECT COUNT(result) FROM table_21311525_1 WHERE date = "19/06/2009"
Write a SQL query that answers the following question: What is the round number for the date 19/06/2009?
The relevant table was constructed using the following SQL : CREATE TABLE table_21311525_1 (round VARCHAR, date VARCHAR)
SELECT round FROM table_21311525_1 WHERE date = "19/06/2009"
Write a SQL query that answers the following question: What is the round number for the venue of Stade de la Méditerranée?
The relevant table was constructed using the following SQL : CREATE TABLE table_21311525_1 (round VARCHAR, venue VARCHAR)
SELECT round FROM table_21311525_1 WHERE venue = "Stade de la Méditerranée"
Write a SQL query that answers the following question: What was the score when the date was 17/07/2009?
The relevant table was constructed using the following SQL : CREATE TABLE table_21311525_1 (score VARCHAR, date VARCHAR)
SELECT score FROM table_21311525_1 WHERE date = "17/07/2009"
Write a SQL query that answers the following question: What is Marc Parenteau's position?
The relevant table was constructed using the following SQL : CREATE TABLE table_21321804_5 (position VARCHAR, player VARCHAR)
SELECT position FROM table_21321804_5 WHERE player = "Marc Parenteau"
Write a SQL query that answers the following question: What is the smallest pick number for McGill?
The relevant table was constructed using the following SQL : CREATE TABLE table_21321804_5 (pick__number INTEGER, college VARCHAR)
SELECT MIN(pick__number) FROM table_21321804_5 WHERE college = "McGill"
Write a SQL query that answers the following question: Derik Fury plays for which college?
The relevant table was constructed using the following SQL : CREATE TABLE table_21321804_5 (college VARCHAR, player VARCHAR)
SELECT college FROM table_21321804_5 WHERE player = "Derik Fury"
Write a SQL query that answers the following question: David Kasouf plays for how many colleges?
The relevant table was constructed using the following SQL : CREATE TABLE table_21321804_5 (college VARCHAR, player VARCHAR)
SELECT COUNT(college) FROM table_21321804_5 WHERE player = "David Kasouf"
Write a SQL query that answers the following question: What position was drafted by the Hamilton Tiger-Cats?
The relevant table was constructed using the following SQL : CREATE TABLE table_21321804_5 (position VARCHAR, cfl_team VARCHAR)
SELECT position FROM table_21321804_5 WHERE cfl_team = "Hamilton Tiger-Cats"
Write a SQL query that answers the following question: Who won when Jamie Green had the best lap?
The relevant table was constructed using the following SQL : CREATE TABLE table_21321935_2 (winning_driver VARCHAR, fastest_lap VARCHAR)
SELECT winning_driver FROM table_21321935_2 WHERE fastest_lap = "Jamie Green"
Write a SQL query that answers the following question: Who had the fasted lap in motorsport arena oschersleben?
The relevant table was constructed using the following SQL : CREATE TABLE table_21321935_2 (fastest_lap VARCHAR, circuit VARCHAR)
SELECT fastest_lap FROM table_21321935_2 WHERE circuit = "Motorsport Arena Oschersleben"
Write a SQL query that answers the following question: When did Oliver Jarvis have pole position?
The relevant table was constructed using the following SQL : CREATE TABLE table_21321935_2 (date VARCHAR, pole_position VARCHAR)
SELECT date FROM table_21321935_2 WHERE pole_position = "Oliver Jarvis"
Write a SQL query that answers the following question: What college did the player for the Hamilton Tiger-Cats go to?
The relevant table was constructed using the following SQL : CREATE TABLE table_21321804_3 (college VARCHAR, cfl_team VARCHAR)
SELECT college FROM table_21321804_3 WHERE cfl_team = "Hamilton Tiger-Cats"
Write a SQL query that answers the following question: How many players are at the DT position?
The relevant table was constructed using the following SQL : CREATE TABLE table_21321804_3 (player VARCHAR, position VARCHAR)
SELECT COUNT(player) FROM table_21321804_3 WHERE position = "DT"
Write a SQL query that answers the following question: What team does the player who went to Nebraska play for?
The relevant table was constructed using the following SQL : CREATE TABLE table_21321804_3 (cfl_team VARCHAR, college VARCHAR)
SELECT cfl_team FROM table_21321804_3 WHERE college = "Nebraska"
Write a SQL query that answers the following question: What is the highest number any of the players were picked at?
The relevant table was constructed using the following SQL : CREATE TABLE table_21321804_3 (pick__number INTEGER)
SELECT MAX(pick__number) FROM table_21321804_3
Write a SQL query that answers the following question: Which player plays for the Winnipeg Blue Bombers?
The relevant table was constructed using the following SQL : CREATE TABLE table_21321804_3 (player VARCHAR, cfl_team VARCHAR)
SELECT player FROM table_21321804_3 WHERE cfl_team = "Winnipeg Blue Bombers"
Write a SQL query that answers the following question: What is the pick # for player wes lysack?
The relevant table was constructed using the following SQL : CREATE TABLE table_21321804_1 (pick__number VARCHAR, player VARCHAR)
SELECT pick__number FROM table_21321804_1 WHERE player = "Wes Lysack"
Write a SQL query that answers the following question: How many clf teams have a pick # of 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_21321804_1 (cfl_team VARCHAR, pick__number VARCHAR)
SELECT COUNT(cfl_team) FROM table_21321804_1 WHERE pick__number = 5
Write a SQL query that answers the following question: How many total positions are there for utah college?
The relevant table was constructed using the following SQL : CREATE TABLE table_21321804_1 (position VARCHAR, college VARCHAR)
SELECT COUNT(position) FROM table_21321804_1 WHERE college = "Utah"
Write a SQL query that answers the following question: Which cfl team is manitoba college?
The relevant table was constructed using the following SQL : CREATE TABLE table_21321804_1 (cfl_team VARCHAR, college VARCHAR)
SELECT cfl_team FROM table_21321804_1 WHERE college = "Manitoba"
Write a SQL query that answers the following question: Which position is cfl team edmonton eskimos for weber state college?
The relevant table was constructed using the following SQL : CREATE TABLE table_21321804_1 (position VARCHAR, cfl_team VARCHAR, college VARCHAR)
SELECT position FROM table_21321804_1 WHERE cfl_team = "Edmonton Eskimos" AND college = "Weber State"
Write a SQL query that answers the following question: What is the pick # for player wes lysack?
The relevant table was constructed using the following SQL : CREATE TABLE table_21321804_1 (pick__number INTEGER, player VARCHAR)
SELECT MAX(pick__number) FROM table_21321804_1 WHERE player = "Wes Lysack"
Write a SQL query that answers the following question: How many stages of the rally took 14:33.9 for the leader to finish?
The relevant table was constructed using the following SQL : CREATE TABLE table_21326205_2 (length VARCHAR, time VARCHAR)
SELECT COUNT(length) FROM table_21326205_2 WHERE time = "14:33.9"
Write a SQL query that answers the following question: In which special stage named Tempo 2 was Sébastien Loeb the leader?
The relevant table was constructed using the following SQL : CREATE TABLE table_21326205_2 (stage VARCHAR, rally_leader VARCHAR, name VARCHAR)
SELECT stage FROM table_21326205_2 WHERE rally_leader = "Sébastien Loeb" AND name = "Tempo 2"
Write a SQL query that answers the following question: Which ralliers won the stages that were at 18:54 GMT?
The relevant table was constructed using the following SQL : CREATE TABLE table_21326205_2 (winner VARCHAR, time__gmt_ VARCHAR)
SELECT winner FROM table_21326205_2 WHERE time__gmt_ = "18:54"
Write a SQL query that answers the following question: How many locations have #12 Michigan State as the big ten team?
The relevant table was constructed using the following SQL : CREATE TABLE table_21330550_2 (location VARCHAR, big_ten_team VARCHAR)
SELECT COUNT(location) FROM table_21330550_2 WHERE big_ten_team = "#12 Michigan State"
Write a SQL query that answers the following question: Who is the winner when bigten (2-1) is the challenge leader?
The relevant table was constructed using the following SQL : CREATE TABLE table_21330550_2 (winner VARCHAR, challenge_leader VARCHAR)
SELECT winner FROM table_21330550_2 WHERE challenge_leader = "BigTen (2-1)"
Write a SQL query that answers the following question: Who is the winner in the location of ljvm coliseum • winston-salem, nc?
The relevant table was constructed using the following SQL : CREATE TABLE table_21330550_2 (winner VARCHAR, location VARCHAR)
SELECT winner FROM table_21330550_2 WHERE location = "LJVM Coliseum • Winston-Salem, NC"
Write a SQL query that answers the following question: What time was the acc team #17 wake forest?
The relevant table was constructed using the following SQL : CREATE TABLE table_21330550_2 (time VARCHAR, acc_team VARCHAR)
SELECT time FROM table_21330550_2 WHERE acc_team = "#17 Wake Forest"
Write a SQL query that answers the following question: Which location has a time of 9:30pm?
The relevant table was constructed using the following SQL : CREATE TABLE table_21330550_2 (location VARCHAR, time VARCHAR)
SELECT location FROM table_21330550_2 WHERE time = "9:30PM"
Write a SQL query that answers the following question: How many dates have a big ten team of #10 purdue?
The relevant table was constructed using the following SQL : CREATE TABLE table_21330550_2 (date VARCHAR, big_ten_team VARCHAR)
SELECT COUNT(date) FROM table_21330550_2 WHERE big_ten_team = "#10 Purdue"
Write a SQL query that answers the following question: Name the contestant for villa hermosa
The relevant table was constructed using the following SQL : CREATE TABLE table_21346767_3 (contestant VARCHAR, hometown VARCHAR)
SELECT contestant FROM table_21346767_3 WHERE hometown = "Villa Hermosa"
Write a SQL query that answers the following question: Name the least age for cibao central and santo domingo
The relevant table was constructed using the following SQL : CREATE TABLE table_21346767_3 (age INTEGER, geographical_regions VARCHAR, hometown VARCHAR)
SELECT MIN(age) FROM table_21346767_3 WHERE geographical_regions = "Cibao Central" AND hometown = "Santo Domingo"
Write a SQL query that answers the following question: How many different results of the population count in 2001 are there for the census division whose population in 1996 is 880859?
The relevant table was constructed using the following SQL : CREATE TABLE table_2134521_1 (pop__2001_ VARCHAR, pop__1996_ VARCHAR)
SELECT COUNT(pop__2001_) FROM table_2134521_1 WHERE pop__1996_ = 880859
Write a SQL query that answers the following question: How many people lived in the census division with an area of 15767.99 km2 in 1996?
The relevant table was constructed using the following SQL : CREATE TABLE table_2134521_1 (pop__1996_ VARCHAR, area__km²_ VARCHAR)
SELECT pop__1996_ FROM table_2134521_1 WHERE area__km²_ = "15767.99"
Write a SQL query that answers the following question: What is the largest population count in any of the census divisions in 2006?
The relevant table was constructed using the following SQL : CREATE TABLE table_2134521_1 (pop__2006_ INTEGER)
SELECT MAX(pop__2006_) FROM table_2134521_1
Write a SQL query that answers the following question: How many people lived in the census division spread out on 9909.31 km2 in 1996?
The relevant table was constructed using the following SQL : CREATE TABLE table_2134521_1 (pop__1996_ VARCHAR, area__km²_ VARCHAR)
SELECT pop__1996_ FROM table_2134521_1 WHERE area__km²_ = "9909.31"
Write a SQL query that answers the following question: What is the result of the qf round?
The relevant table was constructed using the following SQL : CREATE TABLE table_21350934_2 (result VARCHAR, round VARCHAR)
SELECT result FROM table_21350934_2 WHERE round = "QF"
Write a SQL query that answers the following question: Which venue has bradford bulls as the opponent on the date of 06/09/2009?
The relevant table was constructed using the following SQL : CREATE TABLE table_21350934_2 (venue VARCHAR, opponent VARCHAR, date VARCHAR)
SELECT venue FROM table_21350934_2 WHERE opponent = "Bradford Bulls" AND date = "06/09/2009"
Write a SQL query that answers the following question: Who is the opponent when the attendance is n/a?
The relevant table was constructed using the following SQL : CREATE TABLE table_21350934_2 (opponent VARCHAR, attendance VARCHAR)
SELECT opponent FROM table_21350934_2 WHERE attendance = "N/A"
Write a SQL query that answers the following question: What is the venue that has 34-18 as the score?
The relevant table was constructed using the following SQL : CREATE TABLE table_21350934_2 (venue VARCHAR, score VARCHAR)
SELECT venue FROM table_21350934_2 WHERE score = "34-18"
Write a SQL query that answers the following question: How many results have 14,381 as the attendance?
The relevant table was constructed using the following SQL : CREATE TABLE table_21350934_2 (result VARCHAR, attendance VARCHAR)
SELECT COUNT(result) FROM table_21350934_2 WHERE attendance = "14,381"
Write a SQL query that answers the following question: How many rounds have 6,150 as attendance?
The relevant table was constructed using the following SQL : CREATE TABLE table_21350934_2 (round VARCHAR, attendance VARCHAR)
SELECT round FROM table_21350934_2 WHERE attendance = "6,150"
Write a SQL query that answers the following question: How many opponents did they play on 17/05/2009?
The relevant table was constructed using the following SQL : CREATE TABLE table_21378160_2 (opponent VARCHAR, date VARCHAR)
SELECT COUNT(opponent) FROM table_21378160_2 WHERE date = "17/05/2009"
Write a SQL query that answers the following question: What was the score of round 3?
The relevant table was constructed using the following SQL : CREATE TABLE table_21378160_2 (score VARCHAR, round VARCHAR)
SELECT score FROM table_21378160_2 WHERE round = "3"
Write a SQL query that answers the following question: Name the artist for 7 points
The relevant table was constructed using the following SQL : CREATE TABLE table_21378339_5 (artist VARCHAR, televote_points VARCHAR)
SELECT COUNT(artist) FROM table_21378339_5 WHERE televote_points = 7
Write a SQL query that answers the following question: Name the number of artists for panel points being 5
The relevant table was constructed using the following SQL : CREATE TABLE table_21378339_5 (artist VARCHAR, panel_points VARCHAR)
SELECT COUNT(artist) FROM table_21378339_5 WHERE panel_points = 5
Write a SQL query that answers the following question: Name the total number of televote points for cry on my shoulders
The relevant table was constructed using the following SQL : CREATE TABLE table_21378339_5 (televote_points VARCHAR, song VARCHAR)
SELECT COUNT(televote_points) FROM table_21378339_5 WHERE song = "Cry on my shoulders"
Write a SQL query that answers the following question: Name the score for rebeka dremelj
The relevant table was constructed using the following SQL : CREATE TABLE table_21378339_5 (score VARCHAR, artist VARCHAR)
SELECT score FROM table_21378339_5 WHERE artist = "Rebeka Dremelj"
Write a SQL query that answers the following question: Name the artist for 1595 televotes
The relevant table was constructed using the following SQL : CREATE TABLE table_21378339_5 (artist VARCHAR, televotes VARCHAR)
SELECT artist FROM table_21378339_5 WHERE televotes = 1595
Write a SQL query that answers the following question: What was the result of the match on grass in 1955?
The relevant table was constructed using the following SQL : CREATE TABLE table_2139023_2 (outcome VARCHAR, surface VARCHAR, year VARCHAR)
SELECT outcome FROM table_2139023_2 WHERE surface = "Grass" AND year = 1955
Write a SQL query that answers the following question: What was the result of the Australian Championships?
The relevant table was constructed using the following SQL : CREATE TABLE table_2139023_2 (outcome VARCHAR, championship VARCHAR)
SELECT outcome FROM table_2139023_2 WHERE championship = "Australian championships"
Write a SQL query that answers the following question: What is the number of external links with a coach named Katie Kansas?
The relevant table was constructed using the following SQL : CREATE TABLE table_2140071_13 (external_link VARCHAR, coach VARCHAR)
SELECT COUNT(external_link) FROM table_2140071_13 WHERE coach = "Katie Kansas"
Write a SQL query that answers the following question: What is the minimum number of seasons?
The relevant table was constructed using the following SQL : CREATE TABLE table_2140071_13 (season INTEGER)
SELECT MIN(season) FROM table_2140071_13
Write a SQL query that answers the following question: What is the episode summary for episode 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_2140071_13 (episode VARCHAR)
SELECT episode AS Summary FROM table_2140071_13 WHERE episode = 5
Write a SQL query that answers the following question: What is the summary for the episode with a coach named Rebecca Star?
The relevant table was constructed using the following SQL : CREATE TABLE table_2140071_13 (episode VARCHAR, coach VARCHAR)
SELECT episode AS Summary FROM table_2140071_13 WHERE coach = "Rebecca Star"
Write a SQL query that answers the following question: Name the episode with maritza reveron
The relevant table was constructed using the following SQL : CREATE TABLE table_2140071_10 (episode VARCHAR, coach VARCHAR)
SELECT episode FROM table_2140071_10 WHERE coach = "Maritza Reveron"
Write a SQL query that answers the following question: Name the season for august 16, 2010
The relevant table was constructed using the following SQL : CREATE TABLE table_2140071_10 (season VARCHAR, premier_date VARCHAR)
SELECT season FROM table_2140071_10 WHERE premier_date = "August 16, 2010"
Write a SQL query that answers the following question: Name the number of episode summary for jesse csincsak
The relevant table was constructed using the following SQL : CREATE TABLE table_2140071_10 (episode VARCHAR, coach VARCHAR)
SELECT COUNT(episode) AS Summary FROM table_2140071_10 WHERE coach = "Jesse Csincsak"
Write a SQL query that answers the following question: Name the coach for may 20, 2010
The relevant table was constructed using the following SQL : CREATE TABLE table_2140071_10 (coach VARCHAR, premier_date VARCHAR)
SELECT coach FROM table_2140071_10 WHERE premier_date = "May 20, 2010"
Write a SQL query that answers the following question: Name the team for june 20
The relevant table was constructed using the following SQL : CREATE TABLE table_2139390_2 (team VARCHAR, date VARCHAR)
SELECT team FROM table_2139390_2 WHERE date = "June 20"
Write a SQL query that answers the following question: Name the race time for 2002
The relevant table was constructed using the following SQL : CREATE TABLE table_2139390_2 (race_time VARCHAR, year VARCHAR)
SELECT race_time FROM table_2139390_2 WHERE year = 2002
Write a SQL query that answers the following question: How many seasons have a premier date of January 6, 2005?
The relevant table was constructed using the following SQL : CREATE TABLE table_2140071_5 (season VARCHAR, premier_date VARCHAR)
SELECT COUNT(season) FROM table_2140071_5 WHERE premier_date = "January 6, 2005"
Write a SQL query that answers the following question: What is the last season?
The relevant table was constructed using the following SQL : CREATE TABLE table_2140071_5 (season INTEGER)
SELECT MAX(season) FROM table_2140071_5
Write a SQL query that answers the following question: What date did the episode, with John O'Connell as the coach, premier?
The relevant table was constructed using the following SQL : CREATE TABLE table_2140071_5 (premier_date VARCHAR, coach VARCHAR)
SELECT premier_date FROM table_2140071_5 WHERE coach = "John O'Connell"
Write a SQL query that answers the following question: Name the result for total attendance-regular season
The relevant table was constructed using the following SQL : CREATE TABLE table_21436373_11 (result_games VARCHAR, type_of_record VARCHAR)
SELECT result_games FROM table_21436373_11 WHERE type_of_record = "Total attendance-Regular season"
Write a SQL query that answers the following question: Name the result/games for 52521
The relevant table was constructed using the following SQL : CREATE TABLE table_21436373_11 (result_games VARCHAR, attendance VARCHAR)
SELECT result_games FROM table_21436373_11 WHERE attendance = 52521
Write a SQL query that answers the following question: Name the result/games for 54530
The relevant table was constructed using the following SQL : CREATE TABLE table_21436373_11 (result_games VARCHAR, attendance VARCHAR)
SELECT result_games FROM table_21436373_11 WHERE attendance = 54530
Write a SQL query that answers the following question: Name the stadium for regular season game
The relevant table was constructed using the following SQL : CREATE TABLE table_21436373_11 (stadium VARCHAR, type_of_record VARCHAR)
SELECT stadium FROM table_21436373_11 WHERE type_of_record = "Regular season game"
Write a SQL query that answers the following question: Name the result/games for 54741
The relevant table was constructed using the following SQL : CREATE TABLE table_21436373_11 (result_games VARCHAR, attendance VARCHAR)
SELECT result_games FROM table_21436373_11 WHERE attendance = 54741
Write a SQL query that answers the following question: give the 1st leg score against ilisiakos
The relevant table was constructed using the following SQL : CREATE TABLE table_21434618_1 (team__number2 VARCHAR)
SELECT 1 AS st_leg FROM table_21434618_1 WHERE team__number2 = "Ilisiakos"
Write a SQL query that answers the following question: which team #1 played again chalkida
The relevant table was constructed using the following SQL : CREATE TABLE table_21434618_1 (team__number1 VARCHAR, team__number2 VARCHAR)
SELECT team__number1 FROM table_21434618_1 WHERE team__number2 = "Chalkida"
Write a SQL query that answers the following question: which team#2 played against poseidon neoi porroi
The relevant table was constructed using the following SQL : CREATE TABLE table_21434618_1 (team__number2 VARCHAR, team__number1 VARCHAR)
SELECT team__number2 FROM table_21434618_1 WHERE team__number1 = "Poseidon Neoi Porroi"
Write a SQL query that answers the following question: When was the pre-season game record achieved?
The relevant table was constructed using the following SQL : CREATE TABLE table_21436373_10 (date_year VARCHAR, type_of_record VARCHAR)
SELECT date_year FROM table_21436373_10 WHERE type_of_record = "Pre-season game"
Write a SQL query that answers the following question: What is the maximal number of people that attended any of these games?
The relevant table was constructed using the following SQL : CREATE TABLE table_21436373_10 (attendance INTEGER)
SELECT MAX(attendance) FROM table_21436373_10
Write a SQL query that answers the following question: what is the attendance in 2011 records
The relevant table was constructed using the following SQL : CREATE TABLE table_21436373_12 (attendance VARCHAR, date_year VARCHAR)
SELECT attendance FROM table_21436373_12 WHERE date_year = "2011"
Write a SQL query that answers the following question: what type of record was made where result/games is 10 games (29,606 avg.)
The relevant table was constructed using the following SQL : CREATE TABLE table_21436373_12 (type_of_record VARCHAR, result_games VARCHAR)
SELECT type_of_record FROM table_21436373_12 WHERE result_games = "10 games (29,606 avg.)"
Write a SQL query that answers the following question: where was the total attendance-regular season record made
The relevant table was constructed using the following SQL : CREATE TABLE table_21436373_12 (stadium VARCHAR, type_of_record VARCHAR)
SELECT stadium FROM table_21436373_12 WHERE type_of_record = "Total attendance-Regular season"
Write a SQL query that answers the following question: where was sun 09/12/93 record made
The relevant table was constructed using the following SQL : CREATE TABLE table_21436373_12 (stadium VARCHAR, date_year VARCHAR)
SELECT stadium FROM table_21436373_12 WHERE date_year = "Sun 09/12/93"
Write a SQL query that answers the following question: how many records had result/games: 10 games (29,606 avg.)
The relevant table was constructed using the following SQL : CREATE TABLE table_21436373_12 (type_of_record VARCHAR, result_games VARCHAR)
SELECT COUNT(type_of_record) FROM table_21436373_12 WHERE result_games = "10 games (29,606 avg.)"
Write a SQL query that answers the following question: what is the highest attendance for a total attendance-regular season record
The relevant table was constructed using the following SQL : CREATE TABLE table_21436373_12 (attendance INTEGER, type_of_record VARCHAR)
SELECT MAX(attendance) FROM table_21436373_12 WHERE type_of_record = "Total attendance-Regular season"
Write a SQL query that answers the following question: When 2005 is the date/year how many measurements of attendance are there?
The relevant table was constructed using the following SQL : CREATE TABLE table_21436373_7 (attendance VARCHAR, date_year VARCHAR)
SELECT COUNT(attendance) FROM table_21436373_7 WHERE date_year = "2005"
Write a SQL query that answers the following question: When 27585 is the attendance what are the results of the games?
The relevant table was constructed using the following SQL : CREATE TABLE table_21436373_7 (result_games VARCHAR, attendance VARCHAR)
SELECT result_games FROM table_21436373_7 WHERE attendance = 27585
Write a SQL query that answers the following question: When 9 games (28,002 avg.) is the results of the games what is the date/year?
The relevant table was constructed using the following SQL : CREATE TABLE table_21436373_7 (date_year VARCHAR, result_games VARCHAR)
SELECT date_year FROM table_21436373_7 WHERE result_games = "9 games (28,002 avg.)"
Write a SQL query that answers the following question: When 255627 is the attendance what is the stadium?
The relevant table was constructed using the following SQL : CREATE TABLE table_21436373_7 (stadium VARCHAR, attendance VARCHAR)
SELECT stadium FROM table_21436373_7 WHERE attendance = 255627