instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: When 102 mpg-e (33kw-hrs/100mi) is the epa rated combined fuel economy what is the vehicle type?
The relevant table was constructed using the following SQL : CREATE TABLE table_24620684_2 (vehicle VARCHAR, epa_rated_combined_fuel_economy VARCHAR)
SELECT vehicle FROM table_24620684_2 WHERE epa_rated_combined_fuel_economy = "102 mpg-e (33kW-hrs/100mi)"
Write a SQL query that answers the following question: When 100 g/mi (62 g/km) is the clean electric grid california (san francisco) how many vehicles are there?
The relevant table was constructed using the following SQL : CREATE TABLE table_24620684_2 (vehicle VARCHAR, clean_electric_grid_california__san_francisco_ VARCHAR)
SELECT COUNT(vehicle) FROM table_24620684_2 WHERE clean_electric_grid_california__san_francisco_ = "100 g/mi (62 g/km)"
Write a SQL query that answers the following question: When 380 g/mi (236 g/km) is the dirty electric grid rocky mountains (denver) what is the u.s national average electric mix?
The relevant table was constructed using the following SQL : CREATE TABLE table_24620684_2 (us_national_average_electric_mix VARCHAR, dirty_electric_grid_rocky_mountains__denver_ VARCHAR)
SELECT us_national_average_electric_mix FROM table_24620684_2 WHERE dirty_electric_grid_rocky_mountains__denver_ = "380 g/mi (236 g/km)"
Write a SQL query that answers the following question: When bmw activee is the vehicle type what is the u.s national average electric mix?
The relevant table was constructed using the following SQL : CREATE TABLE table_24620684_2 (us_national_average_electric_mix VARCHAR, vehicle VARCHAR)
SELECT us_national_average_electric_mix FROM table_24620684_2 WHERE vehicle = "BMW ActiveE"
Write a SQL query that answers the following question: When 87 mpg-e (39kw-hrs/100mi) is the epa rated combined fuel economy how many operating modes are there?
The relevant table was constructed using the following SQL : CREATE TABLE table_24620684_2 (operating_mode VARCHAR, epa_rated_combined_fuel_economy VARCHAR)
SELECT COUNT(operating_mode) FROM table_24620684_2 WHERE epa_rated_combined_fuel_economy = "87 mpg-e (39kW-hrs/100mi)"
Write a SQL query that answers the following question: Name the opponents for 6–2, 3–6, 6–3
The relevant table was constructed using the following SQL : CREATE TABLE table_24638867_6 (opponents VARCHAR, score VARCHAR)
SELECT opponents FROM table_24638867_6 WHERE score = "6–2, 3–6, 6–3"
Write a SQL query that answers the following question: Name the championship for outcome being winner for 7–5, 4–6, 6–1
The relevant table was constructed using the following SQL : CREATE TABLE table_24638867_6 (championship VARCHAR, outcome VARCHAR, score VARCHAR)
SELECT championship FROM table_24638867_6 WHERE outcome = "Winner" AND score = "7–5, 4–6, 6–1"
Write a SQL query that answers the following question: Name the score for winner and julie halard-decugis ai sugiyama
The relevant table was constructed using the following SQL : CREATE TABLE table_24638867_6 (score VARCHAR, outcome VARCHAR, opponents VARCHAR)
SELECT score FROM table_24638867_6 WHERE outcome = "Winner" AND opponents = "Julie Halard-Decugis Ai Sugiyama"
Write a SQL query that answers the following question: Name the championship for hard surface 7–5, 6–4
The relevant table was constructed using the following SQL : CREATE TABLE table_24638867_6 (championship VARCHAR, score VARCHAR, surface VARCHAR)
SELECT championship FROM table_24638867_6 WHERE score = "7–5, 6–4" AND surface = "Hard"
Write a SQL query that answers the following question: Name the surface for nathalie tauziat
The relevant table was constructed using the following SQL : CREATE TABLE table_24638867_6 (surface VARCHAR, partner VARCHAR)
SELECT surface FROM table_24638867_6 WHERE partner = "Nathalie Tauziat"
Write a SQL query that answers the following question: Name the most year for money list rank is 74
The relevant table was constructed using the following SQL : CREATE TABLE table_24642706_1 (year INTEGER, money_list_rank VARCHAR)
SELECT MAX(year) FROM table_24642706_1 WHERE money_list_rank = 74
Write a SQL query that answers the following question: Name the team for avg start being 20.5
The relevant table was constructed using the following SQL : CREATE TABLE table_2463383_2 (team_s_ VARCHAR, avg_start VARCHAR)
SELECT team_s_ FROM table_2463383_2 WHERE avg_start = "20.5"
Write a SQL query that answers the following question: Name the team for wins being 0 and top 5 is 0 and poles is 0 and avg start is 37.0
The relevant table was constructed using the following SQL : CREATE TABLE table_2463383_2 (team_s_ VARCHAR, avg_start VARCHAR, poles VARCHAR, wins VARCHAR, top_5 VARCHAR)
SELECT team_s_ FROM table_2463383_2 WHERE wins = 0 AND top_5 = 0 AND poles = 0 AND avg_start = "37.0"
Write a SQL query that answers the following question: Name the winnings for 23rd position
The relevant table was constructed using the following SQL : CREATE TABLE table_2463383_2 (winnings VARCHAR, position VARCHAR)
SELECT winnings FROM table_2463383_2 WHERE position = "23rd"
Write a SQL query that answers the following question: Name the winnings for 2004
The relevant table was constructed using the following SQL : CREATE TABLE table_2463383_2 (winnings VARCHAR, year VARCHAR)
SELECT winnings FROM table_2463383_2 WHERE year = 2004
Write a SQL query that answers the following question: Name the total number of top 10 for avg start being 37.3
The relevant table was constructed using the following SQL : CREATE TABLE table_2463383_2 (top_10 VARCHAR, avg_start VARCHAR)
SELECT COUNT(top_10) FROM table_2463383_2 WHERE avg_start = "37.3"
Write a SQL query that answers the following question: What was the method of elimination in the chamber with a time of 24:02?
The relevant table was constructed using the following SQL : CREATE TABLE table_24628683_2 (method_of_elimination VARCHAR, time VARCHAR)
SELECT method_of_elimination FROM table_24628683_2 WHERE time = "24:02"
Write a SQL query that answers the following question: How many wrestlers are recorded for the chamber that's method of elimination was pinned after being hit by a lead pipe?
The relevant table was constructed using the following SQL : CREATE TABLE table_24628683_2 (wrestler VARCHAR, method_of_elimination VARCHAR)
SELECT COUNT(wrestler) FROM table_24628683_2 WHERE method_of_elimination = "Pinned after being hit by a lead pipe"
Write a SQL query that answers the following question: What was the method of elimination for Kofi Kingston/
The relevant table was constructed using the following SQL : CREATE TABLE table_24628683_2 (method_of_elimination VARCHAR, wrestler VARCHAR)
SELECT method_of_elimination FROM table_24628683_2 WHERE wrestler = "Kofi Kingston"
Write a SQL query that answers the following question: What championships were played on clay and the opponent was virginia ruano pascual paola suΓ‘rez?
The relevant table was constructed using the following SQL : CREATE TABLE table_24638867_4 (championship VARCHAR, surface VARCHAR, opponent VARCHAR)
SELECT championship FROM table_24638867_4 WHERE surface = "Clay" AND opponent = "Virginia Ruano Pascual Paola SuΓ‘rez"
Write a SQL query that answers the following question: What championships had a match where Natasha Zvereva played as partner?
The relevant table was constructed using the following SQL : CREATE TABLE table_24638867_4 (championship VARCHAR, partner VARCHAR)
SELECT championship FROM table_24638867_4 WHERE partner = "Natasha Zvereva"
Write a SQL query that answers the following question: What day did episode number 4 air originally?
The relevant table was constructed using the following SQL : CREATE TABLE table_24648983_1 (original_air_date VARCHAR, β„– VARCHAR)
SELECT original_air_date FROM table_24648983_1 WHERE β„– = 4
Write a SQL query that answers the following question: Who wrote the episode with 8.61 million U.S. viewers?
The relevant table was constructed using the following SQL : CREATE TABLE table_24648983_1 (written_by VARCHAR, us_viewers__million_ VARCHAR)
SELECT written_by FROM table_24648983_1 WHERE us_viewers__million_ = "8.61"
Write a SQL query that answers the following question: What date did the episode with 8.61 million U.S. viewers originally air?
The relevant table was constructed using the following SQL : CREATE TABLE table_24648983_1 (original_air_date VARCHAR, us_viewers__million_ VARCHAR)
SELECT original_air_date FROM table_24648983_1 WHERE us_viewers__million_ = "8.61"
Write a SQL query that answers the following question: What is the name of the episode that had 9.89 million U.S. viewers?
The relevant table was constructed using the following SQL : CREATE TABLE table_24648983_1 (title VARCHAR, us_viewers__million_ VARCHAR)
SELECT title FROM table_24648983_1 WHERE us_viewers__million_ = "9.89"
Write a SQL query that answers the following question: What is the value for model if processor is Kentsfield and brand name is Xeon?
The relevant table was constructed using the following SQL : CREATE TABLE table_2467150_2 (model__list_ VARCHAR, processor VARCHAR, brand_name VARCHAR)
SELECT model__list_ FROM table_2467150_2 WHERE processor = "Kentsfield" AND brand_name = "Xeon"
Write a SQL query that answers the following question: What is every value for TDP if model is x53xx?
The relevant table was constructed using the following SQL : CREATE TABLE table_2467150_2 (tdp VARCHAR, model__list_ VARCHAR)
SELECT tdp FROM table_2467150_2 WHERE model__list_ = "X53xx"
Write a SQL query that answers the following question: What is every value for cores if TDP is 17 W?
The relevant table was constructed using the following SQL : CREATE TABLE table_2467150_2 (cores VARCHAR, tdp VARCHAR)
SELECT cores FROM table_2467150_2 WHERE tdp = "17 W"
Write a SQL query that answers the following question: What is the production code for the episode written by J. H. Wyman & Jeff Pinkner?
The relevant table was constructed using the following SQL : CREATE TABLE table_24649082_1 (production_code VARCHAR, written_by VARCHAR)
SELECT production_code FROM table_24649082_1 WHERE written_by = "J. H. Wyman & Jeff Pinkner"
Write a SQL query that answers the following question: What is the title of the episode directed by Charles Beeson?
The relevant table was constructed using the following SQL : CREATE TABLE table_24649082_1 (title VARCHAR, directed_by VARCHAR)
SELECT title FROM table_24649082_1 WHERE directed_by = "Charles Beeson"
Write a SQL query that answers the following question: How many original air dates for the episode written by David H. Goodman & Andrew Kreisberg?
The relevant table was constructed using the following SQL : CREATE TABLE table_24649082_1 (original_air_date VARCHAR, written_by VARCHAR)
SELECT COUNT(original_air_date) FROM table_24649082_1 WHERE written_by = "David H. Goodman & Andrew Kreisberg"
Write a SQL query that answers the following question: What is the most recent episode number written by Matthew Pitts?
The relevant table was constructed using the following SQL : CREATE TABLE table_24649082_1 (_number INTEGER, written_by VARCHAR)
SELECT MAX(_number) FROM table_24649082_1 WHERE written_by = "Matthew Pitts"
Write a SQL query that answers the following question: How many records for number of viewers is listed for episode number 8?
The relevant table was constructed using the following SQL : CREATE TABLE table_24689168_5 (viewers__millions_ VARCHAR, episode VARCHAR)
SELECT COUNT(viewers__millions_) FROM table_24689168_5 WHERE episode = 8
Write a SQL query that answers the following question: What was the 18 to 49 rating when 9.50 million watched?
The relevant table was constructed using the following SQL : CREATE TABLE table_24689168_5 (rating__18_49_ VARCHAR, viewers__millions_ VARCHAR)
SELECT rating__18_49_ FROM table_24689168_5 WHERE viewers__millions_ = "9.50"
Write a SQL query that answers the following question: what episode number had 11.73 million viewers?
The relevant table was constructed using the following SQL : CREATE TABLE table_24689168_5 (episode VARCHAR, viewers__millions_ VARCHAR)
SELECT episode FROM table_24689168_5 WHERE viewers__millions_ = "11.73"
Write a SQL query that answers the following question: How many episodes had 11.47 million viewers?
The relevant table was constructed using the following SQL : CREATE TABLE table_24689168_5 (episode VARCHAR, viewers__millions_ VARCHAR)
SELECT COUNT(episode) FROM table_24689168_5 WHERE viewers__millions_ = "11.47"
Write a SQL query that answers the following question: Who wrote the episode that originally aired April 29, 1994?
The relevant table was constructed using the following SQL : CREATE TABLE table_2468961_4 (written_by VARCHAR, original_air_date VARCHAR)
SELECT written_by FROM table_2468961_4 WHERE original_air_date = "April 29, 1994"
Write a SQL query that answers the following question: What was the production code for the episode that debuted October 1, 1993?
The relevant table was constructed using the following SQL : CREATE TABLE table_2468961_4 (production_code INTEGER, original_air_date VARCHAR)
SELECT MAX(production_code) FROM table_2468961_4 WHERE original_air_date = "October 1, 1993"
Write a SQL query that answers the following question: What was the title of series number 56?
The relevant table was constructed using the following SQL : CREATE TABLE table_2468961_4 (title VARCHAR, no_in_series VARCHAR)
SELECT title FROM table_2468961_4 WHERE no_in_series = 56
Write a SQL query that answers the following question: What was the title of the episode written by Julia Newton in series 48?
The relevant table was constructed using the following SQL : CREATE TABLE table_2468961_4 (title VARCHAR, written_by VARCHAR, no_in_series VARCHAR)
SELECT title FROM table_2468961_4 WHERE written_by = "Julia Newton" AND no_in_series = 48
Write a SQL query that answers the following question: What is the callsign that has a station type of relay and a channel number of TV-2?
The relevant table was constructed using the following SQL : CREATE TABLE table_24673888_1 (callsign VARCHAR, station_type VARCHAR, ch__number VARCHAR)
SELECT callsign FROM table_24673888_1 WHERE station_type = "Relay" AND ch__number = "TV-2"
Write a SQL query that answers the following question: What is the station type of DWZM-TV?
The relevant table was constructed using the following SQL : CREATE TABLE table_24673888_1 (station_type VARCHAR, callsign VARCHAR)
SELECT station_type FROM table_24673888_1 WHERE callsign = "DWZM-TV"
Write a SQL query that answers the following question: What is the power in kilowatts of TV-12?
The relevant table was constructed using the following SQL : CREATE TABLE table_24673888_1 (power_kw VARCHAR, ch__number VARCHAR)
SELECT power_kw FROM table_24673888_1 WHERE ch__number = "TV-12"
Write a SQL query that answers the following question: What is the power in KW of the transmitter situated in Borongan?
The relevant table was constructed using the following SQL : CREATE TABLE table_24673888_1 (power_kw VARCHAR, location__transmitter_site_ VARCHAR)
SELECT power_kw FROM table_24673888_1 WHERE location__transmitter_site_ = "Borongan"
Write a SQL query that answers the following question: What is the channel number that has a branding of PTV 4 Laoag?
The relevant table was constructed using the following SQL : CREATE TABLE table_24673888_1 (ch__number VARCHAR, branding VARCHAR)
SELECT ch__number FROM table_24673888_1 WHERE branding = "PTV 4 Laoag"
Write a SQL query that answers the following question: What is the power in KW that has a station type of relay and a callsign of DXCL-TV?
The relevant table was constructed using the following SQL : CREATE TABLE table_24673888_1 (power_kw VARCHAR, station_type VARCHAR, callsign VARCHAR)
SELECT power_kw FROM table_24673888_1 WHERE station_type = "Relay" AND callsign = "DXCL-TV"
Write a SQL query that answers the following question: When 15 is the number in season what is the highest number in series?
The relevant table was constructed using the following SQL : CREATE TABLE table_2468961_7 (no_in_series INTEGER, no_in_season VARCHAR)
SELECT MAX(no_in_series) FROM table_2468961_7 WHERE no_in_season = 15
Write a SQL query that answers the following question: When 123 is the number in series who is the director?
The relevant table was constructed using the following SQL : CREATE TABLE table_2468961_7 (directed_by VARCHAR, no_in_series VARCHAR)
SELECT directed_by FROM table_2468961_7 WHERE no_in_series = 123
Write a SQL query that answers the following question: When 120 is the number in series who is the writer?
The relevant table was constructed using the following SQL : CREATE TABLE table_2468961_7 (written_by VARCHAR, no_in_series VARCHAR)
SELECT written_by FROM table_2468961_7 WHERE no_in_series = 120
Write a SQL query that answers the following question: When 137 is the number in series what is the production code?
The relevant table was constructed using the following SQL : CREATE TABLE table_2468961_7 (production_code VARCHAR, no_in_series VARCHAR)
SELECT production_code FROM table_2468961_7 WHERE no_in_series = 137
Write a SQL query that answers the following question: How many victors where there in the War of 1730–1736 , first stage?
The relevant table was constructed using the following SQL : CREATE TABLE table_24706337_1 (victor VARCHAR, name_of_the_war VARCHAR)
SELECT COUNT(victor) FROM table_24706337_1 WHERE name_of_the_war = "War of 1730–1736 , first stage"
Write a SQL query that answers the following question: Who was the Ottoman Sultan where the treaty at the end of the war was the Treaty of Constantinople (1590)?
The relevant table was constructed using the following SQL : CREATE TABLE table_24706337_1 (ottoman_sultan VARCHAR, treaty_at_the_end_of_the_war VARCHAR)
SELECT ottoman_sultan FROM table_24706337_1 WHERE treaty_at_the_end_of_the_war = "Treaty of Constantinople (1590)"
Write a SQL query that answers the following question: What is the name of the war where the Ottoman sultan was Selim I?
The relevant table was constructed using the following SQL : CREATE TABLE table_24706337_1 (name_of_the_war VARCHAR, ottoman_sultan VARCHAR)
SELECT name_of_the_war FROM table_24706337_1 WHERE ottoman_sultan = "Selim I"
Write a SQL query that answers the following question: When 102 is the number in series who is the director?
The relevant table was constructed using the following SQL : CREATE TABLE table_2468961_6 (directed_by VARCHAR, no_in_series VARCHAR)
SELECT directed_by FROM table_2468961_6 WHERE no_in_series = 102
Write a SQL query that answers the following question: Name who wrote the episode directed by patrick duffy airing on november 7, 1997
The relevant table was constructed using the following SQL : CREATE TABLE table_2468961_8 (written_by VARCHAR, directed_by VARCHAR, original_air_date VARCHAR)
SELECT written_by FROM table_2468961_8 WHERE directed_by = "Patrick Duffy" AND original_air_date = "November 7, 1997"
Write a SQL query that answers the following question: What is the last year total for the team with a lowest of 23578?
The relevant table was constructed using the following SQL : CREATE TABLE table_2472711_31 (last_year INTEGER, lowest VARCHAR)
SELECT MAX(last_year) FROM table_2472711_31 WHERE lowest = 23578
Write a SQL query that answers the following question: How many highest figures for the team with lowest of 16415?
The relevant table was constructed using the following SQL : CREATE TABLE table_2472711_31 (highest VARCHAR, lowest VARCHAR)
SELECT COUNT(highest) FROM table_2472711_31 WHERE lowest = 16415
Write a SQL query that answers the following question: Which team has an up/down of + 3479?
The relevant table was constructed using the following SQL : CREATE TABLE table_2472711_31 (team VARCHAR, up_down VARCHAR)
SELECT team FROM table_2472711_31 WHERE up_down = "+ 3479"
Write a SQL query that answers the following question: What is the average of the team where the total is 243017?
The relevant table was constructed using the following SQL : CREATE TABLE table_2472711_31 (average VARCHAR, total VARCHAR)
SELECT average FROM table_2472711_31 WHERE total = 243017
Write a SQL query that answers the following question: How many episodes had celebrity guest stars Frank Skinner and Lee Mack?
The relevant table was constructed using the following SQL : CREATE TABLE table_24725951_1 (episode VARCHAR, celebrities VARCHAR)
SELECT COUNT(episode) FROM table_24725951_1 WHERE celebrities = "Frank Skinner and Lee Mack"
Write a SQL query that answers the following question: List episode directed and produced by Karen Selway?
The relevant table was constructed using the following SQL : CREATE TABLE table_24725951_1 (episode VARCHAR, directed_and_produced_by VARCHAR)
SELECT episode FROM table_24725951_1 WHERE directed_and_produced_by = "Karen Selway"
Write a SQL query that answers the following question: Which episode had celebrities Nick Hewer and Saira Khan in them?
The relevant table was constructed using the following SQL : CREATE TABLE table_24725951_1 (episode VARCHAR, celebrities VARCHAR)
SELECT episode FROM table_24725951_1 WHERE celebrities = "Nick Hewer and Saira Khan"
Write a SQL query that answers the following question: List the director and producer when Nick Hewer and Saira Khan were starring.
The relevant table was constructed using the following SQL : CREATE TABLE table_24725951_1 (directed_and_produced_by VARCHAR, celebrities VARCHAR)
SELECT directed_and_produced_by FROM table_24725951_1 WHERE celebrities = "Nick Hewer and Saira Khan"
Write a SQL query that answers the following question: List directors and producers when the celebrities involved were Bill Turnbull and Louise Minchin.
The relevant table was constructed using the following SQL : CREATE TABLE table_24725951_1 (directed_and_produced_by VARCHAR, celebrities VARCHAR)
SELECT directed_and_produced_by FROM table_24725951_1 WHERE celebrities = "Bill Turnbull and Louise Minchin"
Write a SQL query that answers the following question: whe, co2 is 206g/km, what is the torque?
The relevant table was constructed using the following SQL : CREATE TABLE table_24729_2 (torque VARCHAR, co2 VARCHAR)
SELECT torque FROM table_24729_2 WHERE co2 = "206g/km"
Write a SQL query that answers the following question: when co2 is 192g/km, what is the power?
The relevant table was constructed using the following SQL : CREATE TABLE table_24729_2 (power VARCHAR, co2 VARCHAR)
SELECT power FROM table_24729_2 WHERE co2 = "192g/km"
Write a SQL query that answers the following question: What is the circuit of round 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_24732149_2 (circuit VARCHAR, round VARCHAR)
SELECT circuit FROM table_24732149_2 WHERE round = 5
Write a SQL query that answers the following question: What date did Mike Rockenfeller have the fastest lap?
The relevant table was constructed using the following SQL : CREATE TABLE table_24732149_2 (date VARCHAR, fastest_lap VARCHAR)
SELECT date FROM table_24732149_2 WHERE fastest_lap = "Mike Rockenfeller"
Write a SQL query that answers the following question: How many points for the driver who raced in seasons 2006 – 2007 , 2009?
The relevant table was constructed using the following SQL : CREATE TABLE table_24735155_1 (points VARCHAR, seasons VARCHAR)
SELECT points FROM table_24735155_1 WHERE seasons = "2006 – 2007 , 2009"
Write a SQL query that answers the following question: What's the name of the competition where the nationality is Brazil and the voting percentage is n/a?
The relevant table was constructed using the following SQL : CREATE TABLE table_24765815_2 (competition VARCHAR, vote_percentage VARCHAR, nationality VARCHAR)
SELECT competition FROM table_24765815_2 WHERE vote_percentage = "N/A" AND nationality = "Brazil"
Write a SQL query that answers the following question: What's the player's name whose nationality and team are Netherlands?
The relevant table was constructed using the following SQL : CREATE TABLE table_24765815_2 (player VARCHAR, nationality VARCHAR, team VARCHAR)
SELECT player FROM table_24765815_2 WHERE nationality = "Netherlands" AND team = "Netherlands"
Write a SQL query that answers the following question: What was the score for the game in which Samir Nasri played?
The relevant table was constructed using the following SQL : CREATE TABLE table_24765815_2 (score VARCHAR, player VARCHAR)
SELECT score FROM table_24765815_2 WHERE player = "Samir Nasri"
Write a SQL query that answers the following question: Who is the player that played in the UEFA Euro 2012 qualifying Group A competition?
The relevant table was constructed using the following SQL : CREATE TABLE table_24765815_2 (player VARCHAR, competition VARCHAR)
SELECT player FROM table_24765815_2 WHERE competition = "UEFA Euro 2012 qualifying Group A"
Write a SQL query that answers the following question: What is the ranking of the UEFA Euro 2012 qualifying Group A competition?
The relevant table was constructed using the following SQL : CREATE TABLE table_24765815_2 (rank VARCHAR, competition VARCHAR)
SELECT rank FROM table_24765815_2 WHERE competition = "UEFA Euro 2012 qualifying Group A"
Write a SQL query that answers the following question: Name the production for alpina model being b10 4,6
The relevant table was constructed using the following SQL : CREATE TABLE table_2477085_1 (production VARCHAR, alpina_model VARCHAR)
SELECT production FROM table_2477085_1 WHERE alpina_model = "B10 4,6"
Write a SQL query that answers the following question: How many final score datas are there on Sunday, May 12?
The relevant table was constructed using the following SQL : CREATE TABLE table_24776075_2 (final_score VARCHAR, date VARCHAR)
SELECT COUNT(final_score) FROM table_24776075_2 WHERE date = "Sunday, May 12"
Write a SQL query that answers the following question: The game on Saturday, May 25 took place on which week?
The relevant table was constructed using the following SQL : CREATE TABLE table_24776075_2 (week INTEGER, date VARCHAR)
SELECT MIN(week) FROM table_24776075_2 WHERE date = "Saturday, May 25"
Write a SQL query that answers the following question: What was the final score on Saturday, May 25?
The relevant table was constructed using the following SQL : CREATE TABLE table_24776075_2 (final_score VARCHAR, date VARCHAR)
SELECT final_score FROM table_24776075_2 WHERE date = "Saturday, May 25"
Write a SQL query that answers the following question: When 10 is the number who is the writer?
The relevant table was constructed using the following SQL : CREATE TABLE table_24781886_2 (writer_s_ VARCHAR, _number VARCHAR)
SELECT writer_s_ FROM table_24781886_2 WHERE _number = 10
Write a SQL query that answers the following question: When 6.66 is the amount of viewers what is the lowest production code?
The relevant table was constructed using the following SQL : CREATE TABLE table_24781886_2 (production_code INTEGER, viewers VARCHAR)
SELECT MIN(production_code) FROM table_24781886_2 WHERE viewers = "6.66"
Write a SQL query that answers the following question: When 7.55 is the amount of viewers what is the lowest number?
The relevant table was constructed using the following SQL : CREATE TABLE table_24781886_2 (_number INTEGER, viewers VARCHAR)
SELECT MIN(_number) FROM table_24781886_2 WHERE viewers = "7.55"
Write a SQL query that answers the following question: How many figures are given for the New Democratic for the polling range May 11–31, 2010?
The relevant table was constructed using the following SQL : CREATE TABLE table_24778847_2 (new_democratic VARCHAR, date_of_polling VARCHAR)
SELECT COUNT(new_democratic) FROM table_24778847_2 WHERE date_of_polling = "May 11–31, 2010"
Write a SQL query that answers the following question: What format is the link for the polling data for February 10–28, 2011?
The relevant table was constructed using the following SQL : CREATE TABLE table_24778847_2 (link VARCHAR, date_of_polling VARCHAR)
SELECT link FROM table_24778847_2 WHERE date_of_polling = "February 10–28, 2011"
Write a SQL query that answers the following question: When 9 is the number what is the title?
The relevant table was constructed using the following SQL : CREATE TABLE table_24781886_3 (title VARCHAR, _number VARCHAR)
SELECT title FROM table_24781886_3 WHERE _number = 9
Write a SQL query that answers the following question: When 3 is the number what is the highest total?
The relevant table was constructed using the following SQL : CREATE TABLE table_24781886_3 (total INTEGER, _number VARCHAR)
SELECT MAX(total) FROM table_24781886_3 WHERE _number = 3
Write a SQL query that answers the following question: When 7.08 is the amount of viewers what is the air date?
The relevant table was constructed using the following SQL : CREATE TABLE table_24781886_3 (air_date VARCHAR, viewers VARCHAR)
SELECT air_date FROM table_24781886_3 WHERE viewers = "7.08"
Write a SQL query that answers the following question: When 7.08 is the amount of viewers how many directors are there?
The relevant table was constructed using the following SQL : CREATE TABLE table_24781886_3 (director VARCHAR, viewers VARCHAR)
SELECT COUNT(director) FROM table_24781886_3 WHERE viewers = "7.08"
Write a SQL query that answers the following question: What location did the episode that aired originally on August 26, 2009 take place at?
The relevant table was constructed using the following SQL : CREATE TABLE table_24798489_2 (location VARCHAR, original_airdate VARCHAR)
SELECT location FROM table_24798489_2 WHERE original_airdate = "August 26, 2009"
Write a SQL query that answers the following question: How many dates originally aired episodes located in Philadelphia, pennsylvania?
The relevant table was constructed using the following SQL : CREATE TABLE table_24798489_2 (original_airdate VARCHAR, location VARCHAR)
SELECT COUNT(original_airdate) FROM table_24798489_2 WHERE location = "Philadelphia, Pennsylvania"
Write a SQL query that answers the following question: What was the challenge for episode 28?
The relevant table was constructed using the following SQL : CREATE TABLE table_24798489_2 (challenge VARCHAR, episode_number VARCHAR)
SELECT challenge FROM table_24798489_2 WHERE episode_number = 28
Write a SQL query that answers the following question: How many original air dates were there for episode 22?
The relevant table was constructed using the following SQL : CREATE TABLE table_24798489_2 (original_airdate VARCHAR, episode_number VARCHAR)
SELECT COUNT(original_airdate) FROM table_24798489_2 WHERE episode_number = 22
Write a SQL query that answers the following question: What was the lowest goals ever achieved?
The relevant table was constructed using the following SQL : CREATE TABLE table_24807406_3 (goals INTEGER)
SELECT MIN(goals) FROM table_24807406_3
Write a SQL query that answers the following question: how many arabic scottish is afghan
The relevant table was constructed using the following SQL : CREATE TABLE table_24807774_1 (afghan VARCHAR, arabic VARCHAR)
SELECT afghan FROM table_24807774_1 WHERE arabic = "Scottish"
Write a SQL query that answers the following question: how many bosnian in cook islands is macedonian
The relevant table was constructed using the following SQL : CREATE TABLE table_24807774_1 (cook_islands VARCHAR, bosnian VARCHAR)
SELECT COUNT(cook_islands) FROM table_24807774_1 WHERE bosnian = "Macedonian"
Write a SQL query that answers the following question: how many colombia in bangladesh is serbian
The relevant table was constructed using the following SQL : CREATE TABLE table_24807774_1 (colombian VARCHAR, bangladeshi VARCHAR)
SELECT colombian FROM table_24807774_1 WHERE bangladeshi = "Serbian"
Write a SQL query that answers the following question: how many arabic in colobians is finnish
The relevant table was constructed using the following SQL : CREATE TABLE table_24807774_1 (arabic VARCHAR, colombian VARCHAR)
SELECT arabic FROM table_24807774_1 WHERE colombian = "Finnish"
Write a SQL query that answers the following question: how many bosnian in cook islands is sri lankan
The relevant table was constructed using the following SQL : CREATE TABLE table_24807774_1 (bosnian VARCHAR, cook_islands VARCHAR)
SELECT bosnian FROM table_24807774_1 WHERE cook_islands = "Sri Lankan"
Write a SQL query that answers the following question: how many afghan in banglash is hungarian
The relevant table was constructed using the following SQL : CREATE TABLE table_24807774_1 (afghan VARCHAR, bangladeshi VARCHAR)
SELECT afghan FROM table_24807774_1 WHERE bangladeshi = "Hungarian"
Write a SQL query that answers the following question: What is the name if the appearance is 2 and the position is FW?
The relevant table was constructed using the following SQL : CREATE TABLE table_24807406_1 (name VARCHAR, position VARCHAR, appearances VARCHAR)
SELECT name FROM table_24807406_1 WHERE position = "FW" AND appearances = 2
Write a SQL query that answers the following question: What is the assists total number if the minutes is 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_24807406_1 (assists VARCHAR, minutes VARCHAR)
SELECT COUNT(assists) FROM table_24807406_1 WHERE minutes = 1